shaders 2.2.32 → 2.2.34
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/BrightnessContrast-CaErceqR.js +43 -0
- package/dist/core/index.js +120 -107
- package/dist/core/renderer.d.ts +1 -0
- package/dist/core/renderer.d.ts.map +1 -1
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/BrightnessContrast/index.d.ts +21 -0
- package/dist/core/shaders/BrightnessContrast/index.d.ts.map +1 -0
- package/dist/core/shaders/BrightnessContrast/index.js +2 -0
- package/dist/core/shaders/Bulge/index.js +1 -1
- package/dist/core/shaders/CRTScreen/index.js +1 -1
- package/dist/core/shaders/ChannelBlur/index.js +1 -1
- package/dist/core/shaders/Checkerboard/index.js +1 -1
- package/dist/core/shaders/ChromaFlow/index.js +1 -1
- package/dist/core/shaders/ChromaticAberration/index.js +1 -1
- package/dist/core/shaders/Circle/index.js +1 -1
- package/dist/core/shaders/CursorTrail/index.js +1 -1
- package/dist/core/shaders/DiffuseBlur/index.js +1 -1
- package/dist/core/shaders/Dither/index.js +1 -1
- package/dist/core/shaders/DotGrid/index.js +1 -1
- package/dist/core/shaders/Duotone/index.js +1 -1
- package/dist/core/shaders/FilmGrain/index.js +1 -1
- package/dist/core/shaders/FloatingParticles/index.js +1 -1
- package/dist/core/shaders/GlassTiles/index.js +1 -1
- package/dist/core/shaders/Glow/index.js +1 -1
- package/dist/core/shaders/Godrays/index.js +1 -1
- package/dist/core/shaders/Grayscale/index.js +1 -1
- package/dist/core/shaders/Grid/index.js +1 -1
- package/dist/core/shaders/GridDistortion/index.js +1 -1
- package/dist/core/shaders/Group/index.js +1 -1
- package/dist/core/shaders/Halftone/index.js +1 -1
- package/dist/core/shaders/HueShift/index.js +1 -1
- package/dist/core/shaders/ImageTexture/index.js +1 -1
- package/dist/core/shaders/Invert/index.js +1 -1
- package/dist/core/shaders/LinearBlur/index.js +1 -1
- package/dist/core/shaders/LinearGradient/index.js +1 -1
- package/dist/core/shaders/Liquify/index.js +1 -1
- package/dist/core/shaders/Pixelate/index.js +1 -1
- package/dist/core/shaders/PolarCoordinates/index.js +1 -1
- package/dist/core/shaders/Posterize/index.js +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
- package/dist/core/shaders/RadialGradient/index.js +1 -1
- package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
- package/dist/core/shaders/Ripples/index.js +1 -1
- package/dist/core/shaders/Saturation/index.js +1 -1
- package/dist/core/shaders/SimplexNoise/index.js +1 -1
- package/dist/core/shaders/SineWave/index.js +1 -1
- package/dist/core/shaders/SolidColor/index.js +1 -1
- package/dist/core/shaders/Spherize/index.js +1 -1
- package/dist/core/shaders/Spiral/index.js +1 -1
- package/dist/core/shaders/Strands/index.js +1 -1
- package/dist/core/shaders/Stretch/index.js +1 -1
- package/dist/core/shaders/Swirl/index.js +1 -1
- package/dist/core/shaders/TiltShift/index.js +1 -1
- package/dist/core/shaders/Tritone/index.js +1 -1
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/react/components/BrightnessContrast.d.ts +31 -0
- package/dist/react/components/BrightnessContrast.d.ts.map +1 -0
- package/dist/react/{generatePresetCode-Ci4D5lDy.js → generatePresetCode-CwTRhENe.js} +7 -0
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +528 -389
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +1 -1
- package/dist/registry.js +61 -0
- package/dist/solid/components/BrightnessContrast.d.ts +28 -0
- package/dist/solid/components/BrightnessContrast.d.ts.map +1 -0
- package/dist/solid/index.d.ts +1 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +471 -330
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +7 -0
- package/dist/svelte/components/BrightnessContrast.svelte.d.ts +19 -0
- package/dist/svelte/{generatePresetCode-hILbcEw8.js → generatePresetCode-Qh7jlXV3.js} +7 -0
- package/dist/svelte/index.d.ts +1 -0
- package/dist/svelte/index.js +213 -102
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/components/BrightnessContrast.vue.d.ts +57 -0
- package/dist/vue/components/BrightnessContrast.vue.d.ts.map +1 -0
- package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
- package/dist/vue/{generatePresetCode-DfkHaBG4.js → generatePresetCode-Bf-TQPvI.js} +7 -0
- package/dist/vue/index.d.ts +1 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +493 -369
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +1 -1
- package/package.json +9 -1
- /package/dist/core/{Bulge-C8-_hIFp.js → Bulge-BVcWo6On.js} +0 -0
- /package/dist/core/{CRTScreen-DLy8Rig6.js → CRTScreen-CcAYeqoI.js} +0 -0
- /package/dist/core/{ChannelBlur-BPOGOQXl.js → ChannelBlur-CQoP7Igg.js} +0 -0
- /package/dist/core/{Checkerboard-D_H3XYbF.js → Checkerboard-D_hGvoO7.js} +0 -0
- /package/dist/core/{ChromaFlow-DhzC_8Ne.js → ChromaFlow-DizYQSgf.js} +0 -0
- /package/dist/core/{ChromaticAberration-hi7WGiVk.js → ChromaticAberration-Bk_DMYJm.js} +0 -0
- /package/dist/core/{Circle-DI0gXpyD.js → Circle-BlVzkeyl.js} +0 -0
- /package/dist/core/{CursorTrail-B9EQ9FsP.js → CursorTrail-CxXWV7KH.js} +0 -0
- /package/dist/core/{DiffuseBlur-Cg7AsB3W.js → DiffuseBlur-BTSRl65K.js} +0 -0
- /package/dist/core/{Dither-Bb5rLGEI.js → Dither-C1KyBYuE.js} +0 -0
- /package/dist/core/{DotGrid-B2DXsjFE.js → DotGrid-ll8XCA0p.js} +0 -0
- /package/dist/core/{Duotone-CRwhugbV.js → Duotone-d2gQJr4M.js} +0 -0
- /package/dist/core/{FilmGrain-CY4ZO9UI.js → FilmGrain-3h6TIe1T.js} +0 -0
- /package/dist/core/{FloatingParticles-BduIDXKd.js → FloatingParticles-B6KvHecR.js} +0 -0
- /package/dist/core/{GlassTiles-BaAwsNxl.js → GlassTiles-DqT67iqr.js} +0 -0
- /package/dist/core/{Glow-D0boDIAW.js → Glow-BYNKuw0E.js} +0 -0
- /package/dist/core/{Godrays-ChqiT2zn.js → Godrays-iMO6X606.js} +0 -0
- /package/dist/core/{Grayscale-Bi-XBvO_.js → Grayscale-BH3tLDGN.js} +0 -0
- /package/dist/core/{Grid-DazyiX15.js → Grid-CdslWvoH.js} +0 -0
- /package/dist/core/{GridDistortion-CYQUwuXw.js → GridDistortion-D-iiGELF.js} +0 -0
- /package/dist/core/{Group-C0AknFDS.js → Group-ByGv48Lm.js} +0 -0
- /package/dist/core/{Halftone-Ddrldk6b.js → Halftone-CV0aFuRG.js} +0 -0
- /package/dist/core/{HueShift-DvOpzM7W.js → HueShift-DQ2WgImx.js} +0 -0
- /package/dist/core/{ImageTexture-D0xwHmkW.js → ImageTexture-DKFb8ze3.js} +0 -0
- /package/dist/core/{Invert-Bmjbp6g6.js → Invert-w9duGaUu.js} +0 -0
- /package/dist/core/{LinearBlur-cYfqaOhb.js → LinearBlur-CTXjolzL.js} +0 -0
- /package/dist/core/{LinearGradient-B6ySxWpU.js → LinearGradient-CZo6e7r8.js} +0 -0
- /package/dist/core/{Liquify-yoKWSK0F.js → Liquify-BbfDBMNZ.js} +0 -0
- /package/dist/core/{Pixelate-BmE_Zryn.js → Pixelate-C5Rx1dBp.js} +0 -0
- /package/dist/core/{PolarCoordinates-PLyS00-P.js → PolarCoordinates-CIh5ef8m.js} +0 -0
- /package/dist/core/{Posterize-DIjjPS72.js → Posterize-Byy0Ek0l.js} +0 -0
- /package/dist/core/{ProgressiveBlur-XD4ivmMn.js → ProgressiveBlur-Bzz24_y-.js} +0 -0
- /package/dist/core/{RadialGradient-pwKyDUBu.js → RadialGradient-Ci1dU-1K.js} +0 -0
- /package/dist/core/{RectangularCoordinates-Dq2JrmOX.js → RectangularCoordinates-tVGG7WOJ.js} +0 -0
- /package/dist/core/{Ripples-Ot1rx8kL.js → Ripples-BCGSt5HD.js} +0 -0
- /package/dist/core/{Saturation-J0nI4hmh.js → Saturation-DWR1Nruu.js} +0 -0
- /package/dist/core/{SimplexNoise-BfilWh05.js → SimplexNoise-CAtknQS7.js} +0 -0
- /package/dist/core/{SineWave-DRqL-jda.js → SineWave-CHtV6kB4.js} +0 -0
- /package/dist/core/{SolidColor-B62ZBRlK.js → SolidColor-CSSquNVW.js} +0 -0
- /package/dist/core/{Spherize-DDP0_5VP.js → Spherize-BJby0xSU.js} +0 -0
- /package/dist/core/{Spiral-Cx7Z8gLc.js → Spiral-CpB3-tFZ.js} +0 -0
- /package/dist/core/{Strands-C9FBVtDe.js → Strands-C2KWiJc8.js} +0 -0
- /package/dist/core/{Stretch-BCpOO3q6.js → Stretch-Chpzutao.js} +0 -0
- /package/dist/core/{Swirl-BfD35doJ.js → Swirl-qbMypv_R.js} +0 -0
- /package/dist/core/{TiltShift-CvKqM1xk.js → TiltShift-D0qyWoe3.js} +0 -0
- /package/dist/core/{Tritone-BeEJj4U0.js → Tritone-DzeueG1F.js} +0 -0
- /package/dist/core/{Twirl-EJ3aS_lo.js → Twirl-B2Ic0WGq.js} +0 -0
- /package/dist/core/{Vibrance-BI5q7_Wt.js → Vibrance-BAGXelBi.js} +0 -0
- /package/dist/core/{WaveDistortion-BOWBSWEU.js → WaveDistortion-DYFl_8vA.js} +0 -0
- /package/dist/core/{ZoomBlur-gB0BxldE.js → ZoomBlur-CXpRNRJA.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-CwTRhENe.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";
|
|
@@ -9,56 +9,57 @@ import { componentDefinition as componentDefinition$1 } from "../core/shaders/As
|
|
|
9
9
|
import { componentDefinition as componentDefinition$2 } from "../core/shaders/Beam/index.js";
|
|
10
10
|
import { componentDefinition as componentDefinition$3 } from "../core/shaders/Blob/index.js";
|
|
11
11
|
import { componentDefinition as componentDefinition$4 } from "../core/shaders/Blur/index.js";
|
|
12
|
-
import { componentDefinition as componentDefinition$5 } from "../core/shaders/
|
|
13
|
-
import { componentDefinition as componentDefinition$6 } from "../core/shaders/
|
|
14
|
-
import { componentDefinition as componentDefinition$7 } from "../core/shaders/
|
|
15
|
-
import { componentDefinition as componentDefinition$8 } from "../core/shaders/
|
|
16
|
-
import { componentDefinition as componentDefinition$9 } from "../core/shaders/
|
|
17
|
-
import { componentDefinition as componentDefinition$10 } from "../core/shaders/
|
|
18
|
-
import { componentDefinition as componentDefinition$11 } from "../core/shaders/
|
|
19
|
-
import { componentDefinition as componentDefinition$12 } from "../core/shaders/
|
|
20
|
-
import { componentDefinition as componentDefinition$13 } from "../core/shaders/
|
|
21
|
-
import { componentDefinition as componentDefinition$14 } from "../core/shaders/
|
|
22
|
-
import { componentDefinition as componentDefinition$15 } from "../core/shaders/
|
|
23
|
-
import { componentDefinition as componentDefinition$16 } from "../core/shaders/
|
|
24
|
-
import { componentDefinition as componentDefinition$17 } from "../core/shaders/
|
|
25
|
-
import { componentDefinition as componentDefinition$18 } from "../core/shaders/
|
|
26
|
-
import { componentDefinition as componentDefinition$19 } from "../core/shaders/
|
|
27
|
-
import { componentDefinition as componentDefinition$20 } from "../core/shaders/
|
|
28
|
-
import { componentDefinition as componentDefinition$21 } from "../core/shaders/
|
|
29
|
-
import { componentDefinition as componentDefinition$22 } from "../core/shaders/
|
|
30
|
-
import { componentDefinition as componentDefinition$23 } from "../core/shaders/
|
|
31
|
-
import { componentDefinition as componentDefinition$24 } from "../core/shaders/
|
|
32
|
-
import { componentDefinition as componentDefinition$25 } from "../core/shaders/
|
|
33
|
-
import { componentDefinition as componentDefinition$26 } from "../core/shaders/
|
|
34
|
-
import { componentDefinition as componentDefinition$27 } from "../core/shaders/
|
|
35
|
-
import { componentDefinition as componentDefinition$28 } from "../core/shaders/
|
|
36
|
-
import { componentDefinition as componentDefinition$29 } from "../core/shaders/
|
|
37
|
-
import { componentDefinition as componentDefinition$30 } from "../core/shaders/
|
|
38
|
-
import { componentDefinition as componentDefinition$31 } from "../core/shaders/
|
|
39
|
-
import { componentDefinition as componentDefinition$32 } from "../core/shaders/
|
|
40
|
-
import { componentDefinition as componentDefinition$33 } from "../core/shaders/
|
|
41
|
-
import { componentDefinition as componentDefinition$34 } from "../core/shaders/
|
|
42
|
-
import { componentDefinition as componentDefinition$35 } from "../core/shaders/
|
|
43
|
-
import { componentDefinition as componentDefinition$36 } from "../core/shaders/
|
|
44
|
-
import { componentDefinition as componentDefinition$37 } from "../core/shaders/
|
|
45
|
-
import { componentDefinition as componentDefinition$38 } from "../core/shaders/
|
|
46
|
-
import { componentDefinition as componentDefinition$39 } from "../core/shaders/
|
|
47
|
-
import { componentDefinition as componentDefinition$40 } from "../core/shaders/
|
|
48
|
-
import { componentDefinition as componentDefinition$41 } from "../core/shaders/
|
|
49
|
-
import { componentDefinition as componentDefinition$42 } from "../core/shaders/
|
|
50
|
-
import { componentDefinition as componentDefinition$43 } from "../core/shaders/
|
|
51
|
-
import { componentDefinition as componentDefinition$44 } from "../core/shaders/
|
|
52
|
-
import { componentDefinition as componentDefinition$45 } from "../core/shaders/
|
|
53
|
-
import { componentDefinition as componentDefinition$46 } from "../core/shaders/
|
|
54
|
-
import { componentDefinition as componentDefinition$47 } from "../core/shaders/
|
|
55
|
-
import { componentDefinition as componentDefinition$48 } from "../core/shaders/
|
|
56
|
-
import { componentDefinition as componentDefinition$49 } from "../core/shaders/
|
|
57
|
-
import { componentDefinition as componentDefinition$50 } from "../core/shaders/
|
|
58
|
-
import { componentDefinition as componentDefinition$51 } from "../core/shaders/
|
|
59
|
-
import { componentDefinition as componentDefinition$52 } from "../core/shaders/
|
|
60
|
-
import { componentDefinition as componentDefinition$53 } from "../core/shaders/
|
|
61
|
-
import { componentDefinition as componentDefinition$54 } from "../core/shaders/
|
|
12
|
+
import { componentDefinition as componentDefinition$5 } from "../core/shaders/BrightnessContrast/index.js";
|
|
13
|
+
import { componentDefinition as componentDefinition$6 } from "../core/shaders/Bulge/index.js";
|
|
14
|
+
import { componentDefinition as componentDefinition$7 } from "../core/shaders/CRTScreen/index.js";
|
|
15
|
+
import { componentDefinition as componentDefinition$8 } from "../core/shaders/ChannelBlur/index.js";
|
|
16
|
+
import { componentDefinition as componentDefinition$9 } from "../core/shaders/Checkerboard/index.js";
|
|
17
|
+
import { componentDefinition as componentDefinition$10 } from "../core/shaders/ChromaFlow/index.js";
|
|
18
|
+
import { componentDefinition as componentDefinition$11 } from "../core/shaders/ChromaticAberration/index.js";
|
|
19
|
+
import { componentDefinition as componentDefinition$12 } from "../core/shaders/Circle/index.js";
|
|
20
|
+
import { componentDefinition as componentDefinition$13 } from "../core/shaders/CursorTrail/index.js";
|
|
21
|
+
import { componentDefinition as componentDefinition$14 } from "../core/shaders/DiffuseBlur/index.js";
|
|
22
|
+
import { componentDefinition as componentDefinition$15 } from "../core/shaders/Dither/index.js";
|
|
23
|
+
import { componentDefinition as componentDefinition$16 } from "../core/shaders/DotGrid/index.js";
|
|
24
|
+
import { componentDefinition as componentDefinition$17 } from "../core/shaders/Duotone/index.js";
|
|
25
|
+
import { componentDefinition as componentDefinition$18 } from "../core/shaders/FilmGrain/index.js";
|
|
26
|
+
import { componentDefinition as componentDefinition$19 } from "../core/shaders/FloatingParticles/index.js";
|
|
27
|
+
import { componentDefinition as componentDefinition$20 } from "../core/shaders/GlassTiles/index.js";
|
|
28
|
+
import { componentDefinition as componentDefinition$21 } from "../core/shaders/Glow/index.js";
|
|
29
|
+
import { componentDefinition as componentDefinition$22 } from "../core/shaders/Godrays/index.js";
|
|
30
|
+
import { componentDefinition as componentDefinition$23 } from "../core/shaders/Grayscale/index.js";
|
|
31
|
+
import { componentDefinition as componentDefinition$24 } from "../core/shaders/Grid/index.js";
|
|
32
|
+
import { componentDefinition as componentDefinition$25 } from "../core/shaders/GridDistortion/index.js";
|
|
33
|
+
import { componentDefinition as componentDefinition$26 } from "../core/shaders/Group/index.js";
|
|
34
|
+
import { componentDefinition as componentDefinition$27 } from "../core/shaders/Halftone/index.js";
|
|
35
|
+
import { componentDefinition as componentDefinition$28 } from "../core/shaders/HueShift/index.js";
|
|
36
|
+
import { componentDefinition as componentDefinition$29 } from "../core/shaders/ImageTexture/index.js";
|
|
37
|
+
import { componentDefinition as componentDefinition$30 } from "../core/shaders/Invert/index.js";
|
|
38
|
+
import { componentDefinition as componentDefinition$31 } from "../core/shaders/LinearBlur/index.js";
|
|
39
|
+
import { componentDefinition as componentDefinition$32 } from "../core/shaders/LinearGradient/index.js";
|
|
40
|
+
import { componentDefinition as componentDefinition$33 } from "../core/shaders/Liquify/index.js";
|
|
41
|
+
import { componentDefinition as componentDefinition$34 } from "../core/shaders/Pixelate/index.js";
|
|
42
|
+
import { componentDefinition as componentDefinition$35 } from "../core/shaders/PolarCoordinates/index.js";
|
|
43
|
+
import { componentDefinition as componentDefinition$36 } from "../core/shaders/Posterize/index.js";
|
|
44
|
+
import { componentDefinition as componentDefinition$37 } from "../core/shaders/ProgressiveBlur/index.js";
|
|
45
|
+
import { componentDefinition as componentDefinition$38 } from "../core/shaders/RadialGradient/index.js";
|
|
46
|
+
import { componentDefinition as componentDefinition$39 } from "../core/shaders/RectangularCoordinates/index.js";
|
|
47
|
+
import { componentDefinition as componentDefinition$40 } from "../core/shaders/Ripples/index.js";
|
|
48
|
+
import { componentDefinition as componentDefinition$41 } from "../core/shaders/Saturation/index.js";
|
|
49
|
+
import { componentDefinition as componentDefinition$42 } from "../core/shaders/SimplexNoise/index.js";
|
|
50
|
+
import { componentDefinition as componentDefinition$43 } from "../core/shaders/SineWave/index.js";
|
|
51
|
+
import { componentDefinition as componentDefinition$44 } from "../core/shaders/SolidColor/index.js";
|
|
52
|
+
import { componentDefinition as componentDefinition$45 } from "../core/shaders/Spherize/index.js";
|
|
53
|
+
import { componentDefinition as componentDefinition$46 } from "../core/shaders/Spiral/index.js";
|
|
54
|
+
import { componentDefinition as componentDefinition$47 } from "../core/shaders/Strands/index.js";
|
|
55
|
+
import { componentDefinition as componentDefinition$48 } from "../core/shaders/Stretch/index.js";
|
|
56
|
+
import { componentDefinition as componentDefinition$49 } from "../core/shaders/Swirl/index.js";
|
|
57
|
+
import { componentDefinition as componentDefinition$50 } from "../core/shaders/TiltShift/index.js";
|
|
58
|
+
import { componentDefinition as componentDefinition$51 } from "../core/shaders/Tritone/index.js";
|
|
59
|
+
import { componentDefinition as componentDefinition$52 } from "../core/shaders/Twirl/index.js";
|
|
60
|
+
import { componentDefinition as componentDefinition$53 } from "../core/shaders/Vibrance/index.js";
|
|
61
|
+
import { componentDefinition as componentDefinition$54 } from "../core/shaders/WaveDistortion/index.js";
|
|
62
|
+
import { componentDefinition as componentDefinition$55 } from "../core/shaders/ZoomBlur/index.js";
|
|
62
63
|
const OmbreContext = createContext(null);
|
|
63
64
|
const Shader = ({ children, hideNotice = false, style = {}, className = "",...rest }) => {
|
|
64
65
|
const containerRef = useRef(null);
|
|
@@ -68,7 +69,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
68
69
|
if (rendererRef.current === null) rendererRef.current = shaderRenderer();
|
|
69
70
|
const telemetryCollectorRef = useRef(null);
|
|
70
71
|
const nodeRegister = useMemo(() => {
|
|
71
|
-
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$
|
|
72
|
+
return (id, fragmentNodeFunc, parentId, metadata, uniforms = null, componentDefinition$56 = null) => {
|
|
72
73
|
if (fragmentNodeFunc === null) {
|
|
73
74
|
try {
|
|
74
75
|
rendererRef.current.removeNode(id);
|
|
@@ -78,7 +79,7 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
78
79
|
return;
|
|
79
80
|
}
|
|
80
81
|
try {
|
|
81
|
-
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$
|
|
82
|
+
rendererRef.current.registerNode(id, fragmentNodeFunc, parentId, metadata, uniforms, componentDefinition$56);
|
|
82
83
|
} catch (err) {
|
|
83
84
|
console.error("Error registering node:", err, {
|
|
84
85
|
id,
|
|
@@ -219,8 +220,146 @@ const Shader = ({ children, hideNotice = false, style = {}, className = "",...re
|
|
|
219
220
|
});
|
|
220
221
|
};
|
|
221
222
|
var Shader_default = Shader;
|
|
222
|
-
function computeEffectiveProps$
|
|
223
|
-
let baseProps = { ...defaultProps$
|
|
223
|
+
function computeEffectiveProps$55(props, defaultProps$56) {
|
|
224
|
+
let baseProps = { ...defaultProps$56 };
|
|
225
|
+
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
226
|
+
return baseProps;
|
|
227
|
+
}
|
|
228
|
+
var DEFAULT_TRANSFORM$55 = {
|
|
229
|
+
offsetX: 0,
|
|
230
|
+
offsetY: 0,
|
|
231
|
+
rotation: 0,
|
|
232
|
+
scale: 1,
|
|
233
|
+
anchorX: .5,
|
|
234
|
+
anchorY: .5,
|
|
235
|
+
edges: "transparent"
|
|
236
|
+
};
|
|
237
|
+
var defaultProps$55 = {
|
|
238
|
+
blendMode: "normal",
|
|
239
|
+
renderOrder: 0,
|
|
240
|
+
visible: true
|
|
241
|
+
};
|
|
242
|
+
try {
|
|
243
|
+
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
244
|
+
const propConfig = config;
|
|
245
|
+
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$55[key] = propConfig.default;
|
|
246
|
+
});
|
|
247
|
+
} catch (e) {
|
|
248
|
+
console.warn("Error extracting default props:", e);
|
|
249
|
+
}
|
|
250
|
+
const OmbreComponent$55 = (props) => {
|
|
251
|
+
const context = useContext(OmbreContext);
|
|
252
|
+
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
253
|
+
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
254
|
+
const instanceId = useMemo(() => {
|
|
255
|
+
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
256
|
+
}, [props.id]);
|
|
257
|
+
const effectiveProps = useMemo(() => {
|
|
258
|
+
return computeEffectiveProps$55(props, defaultProps$55);
|
|
259
|
+
}, [props]);
|
|
260
|
+
const effectiveTransform = useMemo(() => ({
|
|
261
|
+
...DEFAULT_TRANSFORM$55,
|
|
262
|
+
...props.transform
|
|
263
|
+
}), [props.transform]);
|
|
264
|
+
const uniformsRef = useRef(null);
|
|
265
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
266
|
+
const childContextValue = useMemo(() => {
|
|
267
|
+
return {
|
|
268
|
+
...context,
|
|
269
|
+
ombreParentId: instanceId
|
|
270
|
+
};
|
|
271
|
+
}, [context, instanceId]);
|
|
272
|
+
useEffect(() => {
|
|
273
|
+
if (!uniformsRef.current) return;
|
|
274
|
+
try {
|
|
275
|
+
const metadata = {
|
|
276
|
+
blendMode: props.blendMode || "normal",
|
|
277
|
+
opacity: props.opacity,
|
|
278
|
+
visible: props.visible === false ? false : true,
|
|
279
|
+
id: props.id,
|
|
280
|
+
mask: props.maskSource ? {
|
|
281
|
+
source: props.maskSource,
|
|
282
|
+
type: props.maskType || "alpha"
|
|
283
|
+
} : void 0,
|
|
284
|
+
renderOrder: props.renderOrder || 0,
|
|
285
|
+
transform: effectiveTransform
|
|
286
|
+
};
|
|
287
|
+
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
288
|
+
return () => {
|
|
289
|
+
parentRegister(instanceId, null, null, null, null);
|
|
290
|
+
};
|
|
291
|
+
} catch (error) {
|
|
292
|
+
console.error("Error registering shader node:", error);
|
|
293
|
+
return () => {};
|
|
294
|
+
}
|
|
295
|
+
}, [
|
|
296
|
+
instanceId,
|
|
297
|
+
parentId,
|
|
298
|
+
parentRegister
|
|
299
|
+
]);
|
|
300
|
+
const prevPropsRef = useRef({});
|
|
301
|
+
useEffect(() => {
|
|
302
|
+
if (!uniformsRef.current) return;
|
|
303
|
+
try {
|
|
304
|
+
Object.entries(uniformsRef.current).forEach(([propName, uniformData]) => {
|
|
305
|
+
if (!uniformData || typeof uniformData !== "object") return;
|
|
306
|
+
const { uniform, transform } = uniformData;
|
|
307
|
+
if (uniform?.value !== void 0 && propName in effectiveProps) {
|
|
308
|
+
const newValue = effectiveProps[propName];
|
|
309
|
+
if (newValue !== prevPropsRef.current[propName]) {
|
|
310
|
+
parentUniformUpdate(instanceId, propName, newValue);
|
|
311
|
+
prevPropsRef.current[propName] = newValue;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
} catch (error) {
|
|
316
|
+
console.error("Error updating uniforms:", error);
|
|
317
|
+
}
|
|
318
|
+
}, [
|
|
319
|
+
effectiveProps,
|
|
320
|
+
instanceId,
|
|
321
|
+
parentUniformUpdate
|
|
322
|
+
]);
|
|
323
|
+
useEffect(() => {
|
|
324
|
+
try {
|
|
325
|
+
parentMetadataUpdate(instanceId, {
|
|
326
|
+
blendMode: props.blendMode || "normal",
|
|
327
|
+
opacity: props.opacity,
|
|
328
|
+
visible: props.visible === false ? false : true,
|
|
329
|
+
id: props.id,
|
|
330
|
+
mask: props.maskSource ? {
|
|
331
|
+
source: props.maskSource,
|
|
332
|
+
type: props.maskType || "alpha"
|
|
333
|
+
} : void 0,
|
|
334
|
+
renderOrder: props.renderOrder || 0,
|
|
335
|
+
transform: effectiveTransform
|
|
336
|
+
});
|
|
337
|
+
} catch (error) {
|
|
338
|
+
console.error("Error updating metadata:", error);
|
|
339
|
+
}
|
|
340
|
+
}, [
|
|
341
|
+
props.blendMode,
|
|
342
|
+
props.opacity,
|
|
343
|
+
props.visible,
|
|
344
|
+
props.maskSource,
|
|
345
|
+
props.maskType,
|
|
346
|
+
props.renderOrder,
|
|
347
|
+
props.id,
|
|
348
|
+
effectiveTransform,
|
|
349
|
+
instanceId,
|
|
350
|
+
parentMetadataUpdate
|
|
351
|
+
]);
|
|
352
|
+
if (props.ref && typeof props.ref === "function") try {
|
|
353
|
+
props.ref(null);
|
|
354
|
+
} catch (e) {}
|
|
355
|
+
return /* @__PURE__ */ jsx(OmbreContext.Provider, {
|
|
356
|
+
value: childContextValue,
|
|
357
|
+
children: props.children
|
|
358
|
+
});
|
|
359
|
+
};
|
|
360
|
+
var AngularBlur_default = OmbreComponent$55;
|
|
361
|
+
function computeEffectiveProps$54(props, defaultProps$56) {
|
|
362
|
+
let baseProps = { ...defaultProps$56 };
|
|
224
363
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
225
364
|
return baseProps;
|
|
226
365
|
}
|
|
@@ -239,7 +378,7 @@ var defaultProps$54 = {
|
|
|
239
378
|
visible: true
|
|
240
379
|
};
|
|
241
380
|
try {
|
|
242
|
-
if (componentDefinition && componentDefinition.props) Object.entries(componentDefinition.props).forEach(([key, config]) => {
|
|
381
|
+
if (componentDefinition$1 && componentDefinition$1.props) Object.entries(componentDefinition$1.props).forEach(([key, config]) => {
|
|
243
382
|
const propConfig = config;
|
|
244
383
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$54[key] = propConfig.default;
|
|
245
384
|
});
|
|
@@ -251,7 +390,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
251
390
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
252
391
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
253
392
|
const instanceId = useMemo(() => {
|
|
254
|
-
return props.id || `${componentDefinition.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
393
|
+
return props.id || `${componentDefinition$1.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
255
394
|
}, [props.id]);
|
|
256
395
|
const effectiveProps = useMemo(() => {
|
|
257
396
|
return computeEffectiveProps$54(props, defaultProps$54);
|
|
@@ -261,7 +400,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
261
400
|
...props.transform
|
|
262
401
|
}), [props.transform]);
|
|
263
402
|
const uniformsRef = useRef(null);
|
|
264
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition, effectiveProps, instanceId);
|
|
403
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$1, effectiveProps, instanceId);
|
|
265
404
|
const childContextValue = useMemo(() => {
|
|
266
405
|
return {
|
|
267
406
|
...context,
|
|
@@ -283,7 +422,7 @@ const OmbreComponent$54 = (props) => {
|
|
|
283
422
|
renderOrder: props.renderOrder || 0,
|
|
284
423
|
transform: effectiveTransform
|
|
285
424
|
};
|
|
286
|
-
parentRegister(instanceId, componentDefinition.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition);
|
|
425
|
+
parentRegister(instanceId, componentDefinition$1.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$1);
|
|
287
426
|
return () => {
|
|
288
427
|
parentRegister(instanceId, null, null, null, null);
|
|
289
428
|
};
|
|
@@ -356,9 +495,9 @@ const OmbreComponent$54 = (props) => {
|
|
|
356
495
|
children: props.children
|
|
357
496
|
});
|
|
358
497
|
};
|
|
359
|
-
var
|
|
360
|
-
function computeEffectiveProps$53(props, defaultProps$
|
|
361
|
-
let baseProps = { ...defaultProps$
|
|
498
|
+
var Ascii_default = OmbreComponent$54;
|
|
499
|
+
function computeEffectiveProps$53(props, defaultProps$56) {
|
|
500
|
+
let baseProps = { ...defaultProps$56 };
|
|
362
501
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
363
502
|
return baseProps;
|
|
364
503
|
}
|
|
@@ -377,7 +516,7 @@ var defaultProps$53 = {
|
|
|
377
516
|
visible: true
|
|
378
517
|
};
|
|
379
518
|
try {
|
|
380
|
-
if (componentDefinition$
|
|
519
|
+
if (componentDefinition$2 && componentDefinition$2.props) Object.entries(componentDefinition$2.props).forEach(([key, config]) => {
|
|
381
520
|
const propConfig = config;
|
|
382
521
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$53[key] = propConfig.default;
|
|
383
522
|
});
|
|
@@ -389,7 +528,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
389
528
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
390
529
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
391
530
|
const instanceId = useMemo(() => {
|
|
392
|
-
return props.id || `${componentDefinition$
|
|
531
|
+
return props.id || `${componentDefinition$2.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
393
532
|
}, [props.id]);
|
|
394
533
|
const effectiveProps = useMemo(() => {
|
|
395
534
|
return computeEffectiveProps$53(props, defaultProps$53);
|
|
@@ -399,7 +538,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
399
538
|
...props.transform
|
|
400
539
|
}), [props.transform]);
|
|
401
540
|
const uniformsRef = useRef(null);
|
|
402
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
541
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$2, effectiveProps, instanceId);
|
|
403
542
|
const childContextValue = useMemo(() => {
|
|
404
543
|
return {
|
|
405
544
|
...context,
|
|
@@ -421,7 +560,7 @@ const OmbreComponent$53 = (props) => {
|
|
|
421
560
|
renderOrder: props.renderOrder || 0,
|
|
422
561
|
transform: effectiveTransform
|
|
423
562
|
};
|
|
424
|
-
parentRegister(instanceId, componentDefinition$
|
|
563
|
+
parentRegister(instanceId, componentDefinition$2.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$2);
|
|
425
564
|
return () => {
|
|
426
565
|
parentRegister(instanceId, null, null, null, null);
|
|
427
566
|
};
|
|
@@ -494,9 +633,9 @@ const OmbreComponent$53 = (props) => {
|
|
|
494
633
|
children: props.children
|
|
495
634
|
});
|
|
496
635
|
};
|
|
497
|
-
var
|
|
498
|
-
function computeEffectiveProps$52(props, defaultProps$
|
|
499
|
-
let baseProps = { ...defaultProps$
|
|
636
|
+
var Beam_default = OmbreComponent$53;
|
|
637
|
+
function computeEffectiveProps$52(props, defaultProps$56) {
|
|
638
|
+
let baseProps = { ...defaultProps$56 };
|
|
500
639
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
501
640
|
return baseProps;
|
|
502
641
|
}
|
|
@@ -515,7 +654,7 @@ var defaultProps$52 = {
|
|
|
515
654
|
visible: true
|
|
516
655
|
};
|
|
517
656
|
try {
|
|
518
|
-
if (componentDefinition$
|
|
657
|
+
if (componentDefinition$3 && componentDefinition$3.props) Object.entries(componentDefinition$3.props).forEach(([key, config]) => {
|
|
519
658
|
const propConfig = config;
|
|
520
659
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$52[key] = propConfig.default;
|
|
521
660
|
});
|
|
@@ -527,7 +666,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
527
666
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
528
667
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
529
668
|
const instanceId = useMemo(() => {
|
|
530
|
-
return props.id || `${componentDefinition$
|
|
669
|
+
return props.id || `${componentDefinition$3.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
531
670
|
}, [props.id]);
|
|
532
671
|
const effectiveProps = useMemo(() => {
|
|
533
672
|
return computeEffectiveProps$52(props, defaultProps$52);
|
|
@@ -537,7 +676,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
537
676
|
...props.transform
|
|
538
677
|
}), [props.transform]);
|
|
539
678
|
const uniformsRef = useRef(null);
|
|
540
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
679
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$3, effectiveProps, instanceId);
|
|
541
680
|
const childContextValue = useMemo(() => {
|
|
542
681
|
return {
|
|
543
682
|
...context,
|
|
@@ -559,7 +698,7 @@ const OmbreComponent$52 = (props) => {
|
|
|
559
698
|
renderOrder: props.renderOrder || 0,
|
|
560
699
|
transform: effectiveTransform
|
|
561
700
|
};
|
|
562
|
-
parentRegister(instanceId, componentDefinition$
|
|
701
|
+
parentRegister(instanceId, componentDefinition$3.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$3);
|
|
563
702
|
return () => {
|
|
564
703
|
parentRegister(instanceId, null, null, null, null);
|
|
565
704
|
};
|
|
@@ -632,9 +771,9 @@ const OmbreComponent$52 = (props) => {
|
|
|
632
771
|
children: props.children
|
|
633
772
|
});
|
|
634
773
|
};
|
|
635
|
-
var
|
|
636
|
-
function computeEffectiveProps$51(props, defaultProps$
|
|
637
|
-
let baseProps = { ...defaultProps$
|
|
774
|
+
var Blob_default = OmbreComponent$52;
|
|
775
|
+
function computeEffectiveProps$51(props, defaultProps$56) {
|
|
776
|
+
let baseProps = { ...defaultProps$56 };
|
|
638
777
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
639
778
|
return baseProps;
|
|
640
779
|
}
|
|
@@ -653,7 +792,7 @@ var defaultProps$51 = {
|
|
|
653
792
|
visible: true
|
|
654
793
|
};
|
|
655
794
|
try {
|
|
656
|
-
if (componentDefinition$
|
|
795
|
+
if (componentDefinition$4 && componentDefinition$4.props) Object.entries(componentDefinition$4.props).forEach(([key, config]) => {
|
|
657
796
|
const propConfig = config;
|
|
658
797
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$51[key] = propConfig.default;
|
|
659
798
|
});
|
|
@@ -665,7 +804,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
665
804
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
666
805
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
667
806
|
const instanceId = useMemo(() => {
|
|
668
|
-
return props.id || `${componentDefinition$
|
|
807
|
+
return props.id || `${componentDefinition$4.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
669
808
|
}, [props.id]);
|
|
670
809
|
const effectiveProps = useMemo(() => {
|
|
671
810
|
return computeEffectiveProps$51(props, defaultProps$51);
|
|
@@ -675,7 +814,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
675
814
|
...props.transform
|
|
676
815
|
}), [props.transform]);
|
|
677
816
|
const uniformsRef = useRef(null);
|
|
678
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
817
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$4, effectiveProps, instanceId);
|
|
679
818
|
const childContextValue = useMemo(() => {
|
|
680
819
|
return {
|
|
681
820
|
...context,
|
|
@@ -697,7 +836,7 @@ const OmbreComponent$51 = (props) => {
|
|
|
697
836
|
renderOrder: props.renderOrder || 0,
|
|
698
837
|
transform: effectiveTransform
|
|
699
838
|
};
|
|
700
|
-
parentRegister(instanceId, componentDefinition$
|
|
839
|
+
parentRegister(instanceId, componentDefinition$4.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$4);
|
|
701
840
|
return () => {
|
|
702
841
|
parentRegister(instanceId, null, null, null, null);
|
|
703
842
|
};
|
|
@@ -770,9 +909,9 @@ const OmbreComponent$51 = (props) => {
|
|
|
770
909
|
children: props.children
|
|
771
910
|
});
|
|
772
911
|
};
|
|
773
|
-
var
|
|
774
|
-
function computeEffectiveProps$50(props, defaultProps$
|
|
775
|
-
let baseProps = { ...defaultProps$
|
|
912
|
+
var Blur_default = OmbreComponent$51;
|
|
913
|
+
function computeEffectiveProps$50(props, defaultProps$56) {
|
|
914
|
+
let baseProps = { ...defaultProps$56 };
|
|
776
915
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
777
916
|
return baseProps;
|
|
778
917
|
}
|
|
@@ -791,7 +930,7 @@ var defaultProps$50 = {
|
|
|
791
930
|
visible: true
|
|
792
931
|
};
|
|
793
932
|
try {
|
|
794
|
-
if (componentDefinition$
|
|
933
|
+
if (componentDefinition$5 && componentDefinition$5.props) Object.entries(componentDefinition$5.props).forEach(([key, config]) => {
|
|
795
934
|
const propConfig = config;
|
|
796
935
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$50[key] = propConfig.default;
|
|
797
936
|
});
|
|
@@ -803,7 +942,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
803
942
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
804
943
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
805
944
|
const instanceId = useMemo(() => {
|
|
806
|
-
return props.id || `${componentDefinition$
|
|
945
|
+
return props.id || `${componentDefinition$5.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
807
946
|
}, [props.id]);
|
|
808
947
|
const effectiveProps = useMemo(() => {
|
|
809
948
|
return computeEffectiveProps$50(props, defaultProps$50);
|
|
@@ -813,7 +952,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
813
952
|
...props.transform
|
|
814
953
|
}), [props.transform]);
|
|
815
954
|
const uniformsRef = useRef(null);
|
|
816
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
955
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$5, effectiveProps, instanceId);
|
|
817
956
|
const childContextValue = useMemo(() => {
|
|
818
957
|
return {
|
|
819
958
|
...context,
|
|
@@ -835,7 +974,7 @@ const OmbreComponent$50 = (props) => {
|
|
|
835
974
|
renderOrder: props.renderOrder || 0,
|
|
836
975
|
transform: effectiveTransform
|
|
837
976
|
};
|
|
838
|
-
parentRegister(instanceId, componentDefinition$
|
|
977
|
+
parentRegister(instanceId, componentDefinition$5.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$5);
|
|
839
978
|
return () => {
|
|
840
979
|
parentRegister(instanceId, null, null, null, null);
|
|
841
980
|
};
|
|
@@ -908,9 +1047,9 @@ const OmbreComponent$50 = (props) => {
|
|
|
908
1047
|
children: props.children
|
|
909
1048
|
});
|
|
910
1049
|
};
|
|
911
|
-
var
|
|
912
|
-
function computeEffectiveProps$49(props, defaultProps$
|
|
913
|
-
let baseProps = { ...defaultProps$
|
|
1050
|
+
var BrightnessContrast_default = OmbreComponent$50;
|
|
1051
|
+
function computeEffectiveProps$49(props, defaultProps$56) {
|
|
1052
|
+
let baseProps = { ...defaultProps$56 };
|
|
914
1053
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
915
1054
|
return baseProps;
|
|
916
1055
|
}
|
|
@@ -929,7 +1068,7 @@ var defaultProps$49 = {
|
|
|
929
1068
|
visible: true
|
|
930
1069
|
};
|
|
931
1070
|
try {
|
|
932
|
-
if (componentDefinition$
|
|
1071
|
+
if (componentDefinition$6 && componentDefinition$6.props) Object.entries(componentDefinition$6.props).forEach(([key, config]) => {
|
|
933
1072
|
const propConfig = config;
|
|
934
1073
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$49[key] = propConfig.default;
|
|
935
1074
|
});
|
|
@@ -941,7 +1080,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
941
1080
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
942
1081
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
943
1082
|
const instanceId = useMemo(() => {
|
|
944
|
-
return props.id || `${componentDefinition$
|
|
1083
|
+
return props.id || `${componentDefinition$6.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
945
1084
|
}, [props.id]);
|
|
946
1085
|
const effectiveProps = useMemo(() => {
|
|
947
1086
|
return computeEffectiveProps$49(props, defaultProps$49);
|
|
@@ -951,7 +1090,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
951
1090
|
...props.transform
|
|
952
1091
|
}), [props.transform]);
|
|
953
1092
|
const uniformsRef = useRef(null);
|
|
954
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1093
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$6, effectiveProps, instanceId);
|
|
955
1094
|
const childContextValue = useMemo(() => {
|
|
956
1095
|
return {
|
|
957
1096
|
...context,
|
|
@@ -973,7 +1112,7 @@ const OmbreComponent$49 = (props) => {
|
|
|
973
1112
|
renderOrder: props.renderOrder || 0,
|
|
974
1113
|
transform: effectiveTransform
|
|
975
1114
|
};
|
|
976
|
-
parentRegister(instanceId, componentDefinition$
|
|
1115
|
+
parentRegister(instanceId, componentDefinition$6.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$6);
|
|
977
1116
|
return () => {
|
|
978
1117
|
parentRegister(instanceId, null, null, null, null);
|
|
979
1118
|
};
|
|
@@ -1047,8 +1186,8 @@ const OmbreComponent$49 = (props) => {
|
|
|
1047
1186
|
});
|
|
1048
1187
|
};
|
|
1049
1188
|
var Bulge_default = OmbreComponent$49;
|
|
1050
|
-
function computeEffectiveProps$48(props, defaultProps$
|
|
1051
|
-
let baseProps = { ...defaultProps$
|
|
1189
|
+
function computeEffectiveProps$48(props, defaultProps$56) {
|
|
1190
|
+
let baseProps = { ...defaultProps$56 };
|
|
1052
1191
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1053
1192
|
return baseProps;
|
|
1054
1193
|
}
|
|
@@ -1067,7 +1206,7 @@ var defaultProps$48 = {
|
|
|
1067
1206
|
visible: true
|
|
1068
1207
|
};
|
|
1069
1208
|
try {
|
|
1070
|
-
if (componentDefinition$
|
|
1209
|
+
if (componentDefinition$7 && componentDefinition$7.props) Object.entries(componentDefinition$7.props).forEach(([key, config]) => {
|
|
1071
1210
|
const propConfig = config;
|
|
1072
1211
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$48[key] = propConfig.default;
|
|
1073
1212
|
});
|
|
@@ -1079,7 +1218,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1079
1218
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1080
1219
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1081
1220
|
const instanceId = useMemo(() => {
|
|
1082
|
-
return props.id || `${componentDefinition$
|
|
1221
|
+
return props.id || `${componentDefinition$7.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1083
1222
|
}, [props.id]);
|
|
1084
1223
|
const effectiveProps = useMemo(() => {
|
|
1085
1224
|
return computeEffectiveProps$48(props, defaultProps$48);
|
|
@@ -1089,7 +1228,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1089
1228
|
...props.transform
|
|
1090
1229
|
}), [props.transform]);
|
|
1091
1230
|
const uniformsRef = useRef(null);
|
|
1092
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1231
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$7, effectiveProps, instanceId);
|
|
1093
1232
|
const childContextValue = useMemo(() => {
|
|
1094
1233
|
return {
|
|
1095
1234
|
...context,
|
|
@@ -1111,7 +1250,7 @@ const OmbreComponent$48 = (props) => {
|
|
|
1111
1250
|
renderOrder: props.renderOrder || 0,
|
|
1112
1251
|
transform: effectiveTransform
|
|
1113
1252
|
};
|
|
1114
|
-
parentRegister(instanceId, componentDefinition$
|
|
1253
|
+
parentRegister(instanceId, componentDefinition$7.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$7);
|
|
1115
1254
|
return () => {
|
|
1116
1255
|
parentRegister(instanceId, null, null, null, null);
|
|
1117
1256
|
};
|
|
@@ -1185,8 +1324,8 @@ const OmbreComponent$48 = (props) => {
|
|
|
1185
1324
|
});
|
|
1186
1325
|
};
|
|
1187
1326
|
var CRTScreen_default = OmbreComponent$48;
|
|
1188
|
-
function computeEffectiveProps$47(props, defaultProps$
|
|
1189
|
-
let baseProps = { ...defaultProps$
|
|
1327
|
+
function computeEffectiveProps$47(props, defaultProps$56) {
|
|
1328
|
+
let baseProps = { ...defaultProps$56 };
|
|
1190
1329
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1191
1330
|
return baseProps;
|
|
1192
1331
|
}
|
|
@@ -1205,7 +1344,7 @@ var defaultProps$47 = {
|
|
|
1205
1344
|
visible: true
|
|
1206
1345
|
};
|
|
1207
1346
|
try {
|
|
1208
|
-
if (componentDefinition$
|
|
1347
|
+
if (componentDefinition$8 && componentDefinition$8.props) Object.entries(componentDefinition$8.props).forEach(([key, config]) => {
|
|
1209
1348
|
const propConfig = config;
|
|
1210
1349
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$47[key] = propConfig.default;
|
|
1211
1350
|
});
|
|
@@ -1217,7 +1356,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1217
1356
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1218
1357
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1219
1358
|
const instanceId = useMemo(() => {
|
|
1220
|
-
return props.id || `${componentDefinition$
|
|
1359
|
+
return props.id || `${componentDefinition$8.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1221
1360
|
}, [props.id]);
|
|
1222
1361
|
const effectiveProps = useMemo(() => {
|
|
1223
1362
|
return computeEffectiveProps$47(props, defaultProps$47);
|
|
@@ -1227,7 +1366,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1227
1366
|
...props.transform
|
|
1228
1367
|
}), [props.transform]);
|
|
1229
1368
|
const uniformsRef = useRef(null);
|
|
1230
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1369
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$8, effectiveProps, instanceId);
|
|
1231
1370
|
const childContextValue = useMemo(() => {
|
|
1232
1371
|
return {
|
|
1233
1372
|
...context,
|
|
@@ -1249,7 +1388,7 @@ const OmbreComponent$47 = (props) => {
|
|
|
1249
1388
|
renderOrder: props.renderOrder || 0,
|
|
1250
1389
|
transform: effectiveTransform
|
|
1251
1390
|
};
|
|
1252
|
-
parentRegister(instanceId, componentDefinition$
|
|
1391
|
+
parentRegister(instanceId, componentDefinition$8.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$8);
|
|
1253
1392
|
return () => {
|
|
1254
1393
|
parentRegister(instanceId, null, null, null, null);
|
|
1255
1394
|
};
|
|
@@ -1323,8 +1462,8 @@ const OmbreComponent$47 = (props) => {
|
|
|
1323
1462
|
});
|
|
1324
1463
|
};
|
|
1325
1464
|
var ChannelBlur_default = OmbreComponent$47;
|
|
1326
|
-
function computeEffectiveProps$46(props, defaultProps$
|
|
1327
|
-
let baseProps = { ...defaultProps$
|
|
1465
|
+
function computeEffectiveProps$46(props, defaultProps$56) {
|
|
1466
|
+
let baseProps = { ...defaultProps$56 };
|
|
1328
1467
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1329
1468
|
return baseProps;
|
|
1330
1469
|
}
|
|
@@ -1343,7 +1482,7 @@ var defaultProps$46 = {
|
|
|
1343
1482
|
visible: true
|
|
1344
1483
|
};
|
|
1345
1484
|
try {
|
|
1346
|
-
if (componentDefinition$
|
|
1485
|
+
if (componentDefinition$9 && componentDefinition$9.props) Object.entries(componentDefinition$9.props).forEach(([key, config]) => {
|
|
1347
1486
|
const propConfig = config;
|
|
1348
1487
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$46[key] = propConfig.default;
|
|
1349
1488
|
});
|
|
@@ -1355,7 +1494,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1355
1494
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1356
1495
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1357
1496
|
const instanceId = useMemo(() => {
|
|
1358
|
-
return props.id || `${componentDefinition$
|
|
1497
|
+
return props.id || `${componentDefinition$9.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1359
1498
|
}, [props.id]);
|
|
1360
1499
|
const effectiveProps = useMemo(() => {
|
|
1361
1500
|
return computeEffectiveProps$46(props, defaultProps$46);
|
|
@@ -1365,7 +1504,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1365
1504
|
...props.transform
|
|
1366
1505
|
}), [props.transform]);
|
|
1367
1506
|
const uniformsRef = useRef(null);
|
|
1368
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1507
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$9, effectiveProps, instanceId);
|
|
1369
1508
|
const childContextValue = useMemo(() => {
|
|
1370
1509
|
return {
|
|
1371
1510
|
...context,
|
|
@@ -1387,7 +1526,7 @@ const OmbreComponent$46 = (props) => {
|
|
|
1387
1526
|
renderOrder: props.renderOrder || 0,
|
|
1388
1527
|
transform: effectiveTransform
|
|
1389
1528
|
};
|
|
1390
|
-
parentRegister(instanceId, componentDefinition$
|
|
1529
|
+
parentRegister(instanceId, componentDefinition$9.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$9);
|
|
1391
1530
|
return () => {
|
|
1392
1531
|
parentRegister(instanceId, null, null, null, null);
|
|
1393
1532
|
};
|
|
@@ -1461,8 +1600,8 @@ const OmbreComponent$46 = (props) => {
|
|
|
1461
1600
|
});
|
|
1462
1601
|
};
|
|
1463
1602
|
var Checkerboard_default = OmbreComponent$46;
|
|
1464
|
-
function computeEffectiveProps$45(props, defaultProps$
|
|
1465
|
-
let baseProps = { ...defaultProps$
|
|
1603
|
+
function computeEffectiveProps$45(props, defaultProps$56) {
|
|
1604
|
+
let baseProps = { ...defaultProps$56 };
|
|
1466
1605
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1467
1606
|
return baseProps;
|
|
1468
1607
|
}
|
|
@@ -1481,7 +1620,7 @@ var defaultProps$45 = {
|
|
|
1481
1620
|
visible: true
|
|
1482
1621
|
};
|
|
1483
1622
|
try {
|
|
1484
|
-
if (componentDefinition$
|
|
1623
|
+
if (componentDefinition$10 && componentDefinition$10.props) Object.entries(componentDefinition$10.props).forEach(([key, config]) => {
|
|
1485
1624
|
const propConfig = config;
|
|
1486
1625
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$45[key] = propConfig.default;
|
|
1487
1626
|
});
|
|
@@ -1493,7 +1632,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1493
1632
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1494
1633
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1495
1634
|
const instanceId = useMemo(() => {
|
|
1496
|
-
return props.id || `${componentDefinition$
|
|
1635
|
+
return props.id || `${componentDefinition$10.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1497
1636
|
}, [props.id]);
|
|
1498
1637
|
const effectiveProps = useMemo(() => {
|
|
1499
1638
|
return computeEffectiveProps$45(props, defaultProps$45);
|
|
@@ -1503,7 +1642,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1503
1642
|
...props.transform
|
|
1504
1643
|
}), [props.transform]);
|
|
1505
1644
|
const uniformsRef = useRef(null);
|
|
1506
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1645
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$10, effectiveProps, instanceId);
|
|
1507
1646
|
const childContextValue = useMemo(() => {
|
|
1508
1647
|
return {
|
|
1509
1648
|
...context,
|
|
@@ -1525,7 +1664,7 @@ const OmbreComponent$45 = (props) => {
|
|
|
1525
1664
|
renderOrder: props.renderOrder || 0,
|
|
1526
1665
|
transform: effectiveTransform
|
|
1527
1666
|
};
|
|
1528
|
-
parentRegister(instanceId, componentDefinition$
|
|
1667
|
+
parentRegister(instanceId, componentDefinition$10.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$10);
|
|
1529
1668
|
return () => {
|
|
1530
1669
|
parentRegister(instanceId, null, null, null, null);
|
|
1531
1670
|
};
|
|
@@ -1599,8 +1738,8 @@ const OmbreComponent$45 = (props) => {
|
|
|
1599
1738
|
});
|
|
1600
1739
|
};
|
|
1601
1740
|
var ChromaFlow_default = OmbreComponent$45;
|
|
1602
|
-
function computeEffectiveProps$44(props, defaultProps$
|
|
1603
|
-
let baseProps = { ...defaultProps$
|
|
1741
|
+
function computeEffectiveProps$44(props, defaultProps$56) {
|
|
1742
|
+
let baseProps = { ...defaultProps$56 };
|
|
1604
1743
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1605
1744
|
return baseProps;
|
|
1606
1745
|
}
|
|
@@ -1619,7 +1758,7 @@ var defaultProps$44 = {
|
|
|
1619
1758
|
visible: true
|
|
1620
1759
|
};
|
|
1621
1760
|
try {
|
|
1622
|
-
if (componentDefinition$
|
|
1761
|
+
if (componentDefinition$11 && componentDefinition$11.props) Object.entries(componentDefinition$11.props).forEach(([key, config]) => {
|
|
1623
1762
|
const propConfig = config;
|
|
1624
1763
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$44[key] = propConfig.default;
|
|
1625
1764
|
});
|
|
@@ -1631,7 +1770,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
1631
1770
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1632
1771
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1633
1772
|
const instanceId = useMemo(() => {
|
|
1634
|
-
return props.id || `${componentDefinition$
|
|
1773
|
+
return props.id || `${componentDefinition$11.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1635
1774
|
}, [props.id]);
|
|
1636
1775
|
const effectiveProps = useMemo(() => {
|
|
1637
1776
|
return computeEffectiveProps$44(props, defaultProps$44);
|
|
@@ -1641,7 +1780,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
1641
1780
|
...props.transform
|
|
1642
1781
|
}), [props.transform]);
|
|
1643
1782
|
const uniformsRef = useRef(null);
|
|
1644
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1783
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$11, effectiveProps, instanceId);
|
|
1645
1784
|
const childContextValue = useMemo(() => {
|
|
1646
1785
|
return {
|
|
1647
1786
|
...context,
|
|
@@ -1663,7 +1802,7 @@ const OmbreComponent$44 = (props) => {
|
|
|
1663
1802
|
renderOrder: props.renderOrder || 0,
|
|
1664
1803
|
transform: effectiveTransform
|
|
1665
1804
|
};
|
|
1666
|
-
parentRegister(instanceId, componentDefinition$
|
|
1805
|
+
parentRegister(instanceId, componentDefinition$11.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$11);
|
|
1667
1806
|
return () => {
|
|
1668
1807
|
parentRegister(instanceId, null, null, null, null);
|
|
1669
1808
|
};
|
|
@@ -1737,8 +1876,8 @@ const OmbreComponent$44 = (props) => {
|
|
|
1737
1876
|
});
|
|
1738
1877
|
};
|
|
1739
1878
|
var ChromaticAberration_default = OmbreComponent$44;
|
|
1740
|
-
function computeEffectiveProps$43(props, defaultProps$
|
|
1741
|
-
let baseProps = { ...defaultProps$
|
|
1879
|
+
function computeEffectiveProps$43(props, defaultProps$56) {
|
|
1880
|
+
let baseProps = { ...defaultProps$56 };
|
|
1742
1881
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1743
1882
|
return baseProps;
|
|
1744
1883
|
}
|
|
@@ -1757,7 +1896,7 @@ var defaultProps$43 = {
|
|
|
1757
1896
|
visible: true
|
|
1758
1897
|
};
|
|
1759
1898
|
try {
|
|
1760
|
-
if (componentDefinition$
|
|
1899
|
+
if (componentDefinition$12 && componentDefinition$12.props) Object.entries(componentDefinition$12.props).forEach(([key, config]) => {
|
|
1761
1900
|
const propConfig = config;
|
|
1762
1901
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$43[key] = propConfig.default;
|
|
1763
1902
|
});
|
|
@@ -1769,7 +1908,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
1769
1908
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1770
1909
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1771
1910
|
const instanceId = useMemo(() => {
|
|
1772
|
-
return props.id || `${componentDefinition$
|
|
1911
|
+
return props.id || `${componentDefinition$12.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1773
1912
|
}, [props.id]);
|
|
1774
1913
|
const effectiveProps = useMemo(() => {
|
|
1775
1914
|
return computeEffectiveProps$43(props, defaultProps$43);
|
|
@@ -1779,7 +1918,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
1779
1918
|
...props.transform
|
|
1780
1919
|
}), [props.transform]);
|
|
1781
1920
|
const uniformsRef = useRef(null);
|
|
1782
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
1921
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$12, effectiveProps, instanceId);
|
|
1783
1922
|
const childContextValue = useMemo(() => {
|
|
1784
1923
|
return {
|
|
1785
1924
|
...context,
|
|
@@ -1801,7 +1940,7 @@ const OmbreComponent$43 = (props) => {
|
|
|
1801
1940
|
renderOrder: props.renderOrder || 0,
|
|
1802
1941
|
transform: effectiveTransform
|
|
1803
1942
|
};
|
|
1804
|
-
parentRegister(instanceId, componentDefinition$
|
|
1943
|
+
parentRegister(instanceId, componentDefinition$12.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$12);
|
|
1805
1944
|
return () => {
|
|
1806
1945
|
parentRegister(instanceId, null, null, null, null);
|
|
1807
1946
|
};
|
|
@@ -1875,8 +2014,8 @@ const OmbreComponent$43 = (props) => {
|
|
|
1875
2014
|
});
|
|
1876
2015
|
};
|
|
1877
2016
|
var Circle_default = OmbreComponent$43;
|
|
1878
|
-
function computeEffectiveProps$42(props, defaultProps$
|
|
1879
|
-
let baseProps = { ...defaultProps$
|
|
2017
|
+
function computeEffectiveProps$42(props, defaultProps$56) {
|
|
2018
|
+
let baseProps = { ...defaultProps$56 };
|
|
1880
2019
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
1881
2020
|
return baseProps;
|
|
1882
2021
|
}
|
|
@@ -1895,7 +2034,7 @@ var defaultProps$42 = {
|
|
|
1895
2034
|
visible: true
|
|
1896
2035
|
};
|
|
1897
2036
|
try {
|
|
1898
|
-
if (componentDefinition$
|
|
2037
|
+
if (componentDefinition$13 && componentDefinition$13.props) Object.entries(componentDefinition$13.props).forEach(([key, config]) => {
|
|
1899
2038
|
const propConfig = config;
|
|
1900
2039
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$42[key] = propConfig.default;
|
|
1901
2040
|
});
|
|
@@ -1907,7 +2046,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
1907
2046
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
1908
2047
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
1909
2048
|
const instanceId = useMemo(() => {
|
|
1910
|
-
return props.id || `${componentDefinition$
|
|
2049
|
+
return props.id || `${componentDefinition$13.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
1911
2050
|
}, [props.id]);
|
|
1912
2051
|
const effectiveProps = useMemo(() => {
|
|
1913
2052
|
return computeEffectiveProps$42(props, defaultProps$42);
|
|
@@ -1917,7 +2056,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
1917
2056
|
...props.transform
|
|
1918
2057
|
}), [props.transform]);
|
|
1919
2058
|
const uniformsRef = useRef(null);
|
|
1920
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2059
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$13, effectiveProps, instanceId);
|
|
1921
2060
|
const childContextValue = useMemo(() => {
|
|
1922
2061
|
return {
|
|
1923
2062
|
...context,
|
|
@@ -1939,7 +2078,7 @@ const OmbreComponent$42 = (props) => {
|
|
|
1939
2078
|
renderOrder: props.renderOrder || 0,
|
|
1940
2079
|
transform: effectiveTransform
|
|
1941
2080
|
};
|
|
1942
|
-
parentRegister(instanceId, componentDefinition$
|
|
2081
|
+
parentRegister(instanceId, componentDefinition$13.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$13);
|
|
1943
2082
|
return () => {
|
|
1944
2083
|
parentRegister(instanceId, null, null, null, null);
|
|
1945
2084
|
};
|
|
@@ -2013,8 +2152,8 @@ const OmbreComponent$42 = (props) => {
|
|
|
2013
2152
|
});
|
|
2014
2153
|
};
|
|
2015
2154
|
var CursorTrail_default = OmbreComponent$42;
|
|
2016
|
-
function computeEffectiveProps$41(props, defaultProps$
|
|
2017
|
-
let baseProps = { ...defaultProps$
|
|
2155
|
+
function computeEffectiveProps$41(props, defaultProps$56) {
|
|
2156
|
+
let baseProps = { ...defaultProps$56 };
|
|
2018
2157
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2019
2158
|
return baseProps;
|
|
2020
2159
|
}
|
|
@@ -2033,7 +2172,7 @@ var defaultProps$41 = {
|
|
|
2033
2172
|
visible: true
|
|
2034
2173
|
};
|
|
2035
2174
|
try {
|
|
2036
|
-
if (componentDefinition$
|
|
2175
|
+
if (componentDefinition$14 && componentDefinition$14.props) Object.entries(componentDefinition$14.props).forEach(([key, config]) => {
|
|
2037
2176
|
const propConfig = config;
|
|
2038
2177
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$41[key] = propConfig.default;
|
|
2039
2178
|
});
|
|
@@ -2045,7 +2184,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2045
2184
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2046
2185
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2047
2186
|
const instanceId = useMemo(() => {
|
|
2048
|
-
return props.id || `${componentDefinition$
|
|
2187
|
+
return props.id || `${componentDefinition$14.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2049
2188
|
}, [props.id]);
|
|
2050
2189
|
const effectiveProps = useMemo(() => {
|
|
2051
2190
|
return computeEffectiveProps$41(props, defaultProps$41);
|
|
@@ -2055,7 +2194,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2055
2194
|
...props.transform
|
|
2056
2195
|
}), [props.transform]);
|
|
2057
2196
|
const uniformsRef = useRef(null);
|
|
2058
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2197
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$14, effectiveProps, instanceId);
|
|
2059
2198
|
const childContextValue = useMemo(() => {
|
|
2060
2199
|
return {
|
|
2061
2200
|
...context,
|
|
@@ -2077,7 +2216,7 @@ const OmbreComponent$41 = (props) => {
|
|
|
2077
2216
|
renderOrder: props.renderOrder || 0,
|
|
2078
2217
|
transform: effectiveTransform
|
|
2079
2218
|
};
|
|
2080
|
-
parentRegister(instanceId, componentDefinition$
|
|
2219
|
+
parentRegister(instanceId, componentDefinition$14.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$14);
|
|
2081
2220
|
return () => {
|
|
2082
2221
|
parentRegister(instanceId, null, null, null, null);
|
|
2083
2222
|
};
|
|
@@ -2151,8 +2290,8 @@ const OmbreComponent$41 = (props) => {
|
|
|
2151
2290
|
});
|
|
2152
2291
|
};
|
|
2153
2292
|
var DiffuseBlur_default = OmbreComponent$41;
|
|
2154
|
-
function computeEffectiveProps$40(props, defaultProps$
|
|
2155
|
-
let baseProps = { ...defaultProps$
|
|
2293
|
+
function computeEffectiveProps$40(props, defaultProps$56) {
|
|
2294
|
+
let baseProps = { ...defaultProps$56 };
|
|
2156
2295
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2157
2296
|
return baseProps;
|
|
2158
2297
|
}
|
|
@@ -2171,7 +2310,7 @@ var defaultProps$40 = {
|
|
|
2171
2310
|
visible: true
|
|
2172
2311
|
};
|
|
2173
2312
|
try {
|
|
2174
|
-
if (componentDefinition$
|
|
2313
|
+
if (componentDefinition$15 && componentDefinition$15.props) Object.entries(componentDefinition$15.props).forEach(([key, config]) => {
|
|
2175
2314
|
const propConfig = config;
|
|
2176
2315
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$40[key] = propConfig.default;
|
|
2177
2316
|
});
|
|
@@ -2183,7 +2322,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2183
2322
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2184
2323
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2185
2324
|
const instanceId = useMemo(() => {
|
|
2186
|
-
return props.id || `${componentDefinition$
|
|
2325
|
+
return props.id || `${componentDefinition$15.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2187
2326
|
}, [props.id]);
|
|
2188
2327
|
const effectiveProps = useMemo(() => {
|
|
2189
2328
|
return computeEffectiveProps$40(props, defaultProps$40);
|
|
@@ -2193,7 +2332,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2193
2332
|
...props.transform
|
|
2194
2333
|
}), [props.transform]);
|
|
2195
2334
|
const uniformsRef = useRef(null);
|
|
2196
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2335
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$15, effectiveProps, instanceId);
|
|
2197
2336
|
const childContextValue = useMemo(() => {
|
|
2198
2337
|
return {
|
|
2199
2338
|
...context,
|
|
@@ -2215,7 +2354,7 @@ const OmbreComponent$40 = (props) => {
|
|
|
2215
2354
|
renderOrder: props.renderOrder || 0,
|
|
2216
2355
|
transform: effectiveTransform
|
|
2217
2356
|
};
|
|
2218
|
-
parentRegister(instanceId, componentDefinition$
|
|
2357
|
+
parentRegister(instanceId, componentDefinition$15.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$15);
|
|
2219
2358
|
return () => {
|
|
2220
2359
|
parentRegister(instanceId, null, null, null, null);
|
|
2221
2360
|
};
|
|
@@ -2289,8 +2428,8 @@ const OmbreComponent$40 = (props) => {
|
|
|
2289
2428
|
});
|
|
2290
2429
|
};
|
|
2291
2430
|
var Dither_default = OmbreComponent$40;
|
|
2292
|
-
function computeEffectiveProps$39(props, defaultProps$
|
|
2293
|
-
let baseProps = { ...defaultProps$
|
|
2431
|
+
function computeEffectiveProps$39(props, defaultProps$56) {
|
|
2432
|
+
let baseProps = { ...defaultProps$56 };
|
|
2294
2433
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2295
2434
|
return baseProps;
|
|
2296
2435
|
}
|
|
@@ -2309,7 +2448,7 @@ var defaultProps$39 = {
|
|
|
2309
2448
|
visible: true
|
|
2310
2449
|
};
|
|
2311
2450
|
try {
|
|
2312
|
-
if (componentDefinition$
|
|
2451
|
+
if (componentDefinition$16 && componentDefinition$16.props) Object.entries(componentDefinition$16.props).forEach(([key, config]) => {
|
|
2313
2452
|
const propConfig = config;
|
|
2314
2453
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$39[key] = propConfig.default;
|
|
2315
2454
|
});
|
|
@@ -2321,7 +2460,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2321
2460
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2322
2461
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2323
2462
|
const instanceId = useMemo(() => {
|
|
2324
|
-
return props.id || `${componentDefinition$
|
|
2463
|
+
return props.id || `${componentDefinition$16.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2325
2464
|
}, [props.id]);
|
|
2326
2465
|
const effectiveProps = useMemo(() => {
|
|
2327
2466
|
return computeEffectiveProps$39(props, defaultProps$39);
|
|
@@ -2331,7 +2470,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2331
2470
|
...props.transform
|
|
2332
2471
|
}), [props.transform]);
|
|
2333
2472
|
const uniformsRef = useRef(null);
|
|
2334
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2473
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$16, effectiveProps, instanceId);
|
|
2335
2474
|
const childContextValue = useMemo(() => {
|
|
2336
2475
|
return {
|
|
2337
2476
|
...context,
|
|
@@ -2353,7 +2492,7 @@ const OmbreComponent$39 = (props) => {
|
|
|
2353
2492
|
renderOrder: props.renderOrder || 0,
|
|
2354
2493
|
transform: effectiveTransform
|
|
2355
2494
|
};
|
|
2356
|
-
parentRegister(instanceId, componentDefinition$
|
|
2495
|
+
parentRegister(instanceId, componentDefinition$16.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$16);
|
|
2357
2496
|
return () => {
|
|
2358
2497
|
parentRegister(instanceId, null, null, null, null);
|
|
2359
2498
|
};
|
|
@@ -2427,8 +2566,8 @@ const OmbreComponent$39 = (props) => {
|
|
|
2427
2566
|
});
|
|
2428
2567
|
};
|
|
2429
2568
|
var DotGrid_default = OmbreComponent$39;
|
|
2430
|
-
function computeEffectiveProps$38(props, defaultProps$
|
|
2431
|
-
let baseProps = { ...defaultProps$
|
|
2569
|
+
function computeEffectiveProps$38(props, defaultProps$56) {
|
|
2570
|
+
let baseProps = { ...defaultProps$56 };
|
|
2432
2571
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2433
2572
|
return baseProps;
|
|
2434
2573
|
}
|
|
@@ -2447,7 +2586,7 @@ var defaultProps$38 = {
|
|
|
2447
2586
|
visible: true
|
|
2448
2587
|
};
|
|
2449
2588
|
try {
|
|
2450
|
-
if (componentDefinition$
|
|
2589
|
+
if (componentDefinition$17 && componentDefinition$17.props) Object.entries(componentDefinition$17.props).forEach(([key, config]) => {
|
|
2451
2590
|
const propConfig = config;
|
|
2452
2591
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$38[key] = propConfig.default;
|
|
2453
2592
|
});
|
|
@@ -2459,7 +2598,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2459
2598
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2460
2599
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2461
2600
|
const instanceId = useMemo(() => {
|
|
2462
|
-
return props.id || `${componentDefinition$
|
|
2601
|
+
return props.id || `${componentDefinition$17.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2463
2602
|
}, [props.id]);
|
|
2464
2603
|
const effectiveProps = useMemo(() => {
|
|
2465
2604
|
return computeEffectiveProps$38(props, defaultProps$38);
|
|
@@ -2469,7 +2608,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2469
2608
|
...props.transform
|
|
2470
2609
|
}), [props.transform]);
|
|
2471
2610
|
const uniformsRef = useRef(null);
|
|
2472
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2611
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$17, effectiveProps, instanceId);
|
|
2473
2612
|
const childContextValue = useMemo(() => {
|
|
2474
2613
|
return {
|
|
2475
2614
|
...context,
|
|
@@ -2491,7 +2630,7 @@ const OmbreComponent$38 = (props) => {
|
|
|
2491
2630
|
renderOrder: props.renderOrder || 0,
|
|
2492
2631
|
transform: effectiveTransform
|
|
2493
2632
|
};
|
|
2494
|
-
parentRegister(instanceId, componentDefinition$
|
|
2633
|
+
parentRegister(instanceId, componentDefinition$17.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$17);
|
|
2495
2634
|
return () => {
|
|
2496
2635
|
parentRegister(instanceId, null, null, null, null);
|
|
2497
2636
|
};
|
|
@@ -2565,8 +2704,8 @@ const OmbreComponent$38 = (props) => {
|
|
|
2565
2704
|
});
|
|
2566
2705
|
};
|
|
2567
2706
|
var Duotone_default = OmbreComponent$38;
|
|
2568
|
-
function computeEffectiveProps$37(props, defaultProps$
|
|
2569
|
-
let baseProps = { ...defaultProps$
|
|
2707
|
+
function computeEffectiveProps$37(props, defaultProps$56) {
|
|
2708
|
+
let baseProps = { ...defaultProps$56 };
|
|
2570
2709
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2571
2710
|
return baseProps;
|
|
2572
2711
|
}
|
|
@@ -2585,7 +2724,7 @@ var defaultProps$37 = {
|
|
|
2585
2724
|
visible: true
|
|
2586
2725
|
};
|
|
2587
2726
|
try {
|
|
2588
|
-
if (componentDefinition$
|
|
2727
|
+
if (componentDefinition$18 && componentDefinition$18.props) Object.entries(componentDefinition$18.props).forEach(([key, config]) => {
|
|
2589
2728
|
const propConfig = config;
|
|
2590
2729
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$37[key] = propConfig.default;
|
|
2591
2730
|
});
|
|
@@ -2597,7 +2736,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
2597
2736
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2598
2737
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2599
2738
|
const instanceId = useMemo(() => {
|
|
2600
|
-
return props.id || `${componentDefinition$
|
|
2739
|
+
return props.id || `${componentDefinition$18.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2601
2740
|
}, [props.id]);
|
|
2602
2741
|
const effectiveProps = useMemo(() => {
|
|
2603
2742
|
return computeEffectiveProps$37(props, defaultProps$37);
|
|
@@ -2607,7 +2746,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
2607
2746
|
...props.transform
|
|
2608
2747
|
}), [props.transform]);
|
|
2609
2748
|
const uniformsRef = useRef(null);
|
|
2610
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2749
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$18, effectiveProps, instanceId);
|
|
2611
2750
|
const childContextValue = useMemo(() => {
|
|
2612
2751
|
return {
|
|
2613
2752
|
...context,
|
|
@@ -2629,7 +2768,7 @@ const OmbreComponent$37 = (props) => {
|
|
|
2629
2768
|
renderOrder: props.renderOrder || 0,
|
|
2630
2769
|
transform: effectiveTransform
|
|
2631
2770
|
};
|
|
2632
|
-
parentRegister(instanceId, componentDefinition$
|
|
2771
|
+
parentRegister(instanceId, componentDefinition$18.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$18);
|
|
2633
2772
|
return () => {
|
|
2634
2773
|
parentRegister(instanceId, null, null, null, null);
|
|
2635
2774
|
};
|
|
@@ -2703,8 +2842,8 @@ const OmbreComponent$37 = (props) => {
|
|
|
2703
2842
|
});
|
|
2704
2843
|
};
|
|
2705
2844
|
var FilmGrain_default = OmbreComponent$37;
|
|
2706
|
-
function computeEffectiveProps$36(props, defaultProps$
|
|
2707
|
-
let baseProps = { ...defaultProps$
|
|
2845
|
+
function computeEffectiveProps$36(props, defaultProps$56) {
|
|
2846
|
+
let baseProps = { ...defaultProps$56 };
|
|
2708
2847
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2709
2848
|
return baseProps;
|
|
2710
2849
|
}
|
|
@@ -2723,7 +2862,7 @@ var defaultProps$36 = {
|
|
|
2723
2862
|
visible: true
|
|
2724
2863
|
};
|
|
2725
2864
|
try {
|
|
2726
|
-
if (componentDefinition$
|
|
2865
|
+
if (componentDefinition$19 && componentDefinition$19.props) Object.entries(componentDefinition$19.props).forEach(([key, config]) => {
|
|
2727
2866
|
const propConfig = config;
|
|
2728
2867
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$36[key] = propConfig.default;
|
|
2729
2868
|
});
|
|
@@ -2735,7 +2874,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
2735
2874
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2736
2875
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2737
2876
|
const instanceId = useMemo(() => {
|
|
2738
|
-
return props.id || `${componentDefinition$
|
|
2877
|
+
return props.id || `${componentDefinition$19.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2739
2878
|
}, [props.id]);
|
|
2740
2879
|
const effectiveProps = useMemo(() => {
|
|
2741
2880
|
return computeEffectiveProps$36(props, defaultProps$36);
|
|
@@ -2745,7 +2884,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
2745
2884
|
...props.transform
|
|
2746
2885
|
}), [props.transform]);
|
|
2747
2886
|
const uniformsRef = useRef(null);
|
|
2748
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
2887
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$19, effectiveProps, instanceId);
|
|
2749
2888
|
const childContextValue = useMemo(() => {
|
|
2750
2889
|
return {
|
|
2751
2890
|
...context,
|
|
@@ -2767,7 +2906,7 @@ const OmbreComponent$36 = (props) => {
|
|
|
2767
2906
|
renderOrder: props.renderOrder || 0,
|
|
2768
2907
|
transform: effectiveTransform
|
|
2769
2908
|
};
|
|
2770
|
-
parentRegister(instanceId, componentDefinition$
|
|
2909
|
+
parentRegister(instanceId, componentDefinition$19.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$19);
|
|
2771
2910
|
return () => {
|
|
2772
2911
|
parentRegister(instanceId, null, null, null, null);
|
|
2773
2912
|
};
|
|
@@ -2841,8 +2980,8 @@ const OmbreComponent$36 = (props) => {
|
|
|
2841
2980
|
});
|
|
2842
2981
|
};
|
|
2843
2982
|
var FloatingParticles_default = OmbreComponent$36;
|
|
2844
|
-
function computeEffectiveProps$35(props, defaultProps$
|
|
2845
|
-
let baseProps = { ...defaultProps$
|
|
2983
|
+
function computeEffectiveProps$35(props, defaultProps$56) {
|
|
2984
|
+
let baseProps = { ...defaultProps$56 };
|
|
2846
2985
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2847
2986
|
return baseProps;
|
|
2848
2987
|
}
|
|
@@ -2861,7 +3000,7 @@ var defaultProps$35 = {
|
|
|
2861
3000
|
visible: true
|
|
2862
3001
|
};
|
|
2863
3002
|
try {
|
|
2864
|
-
if (componentDefinition$
|
|
3003
|
+
if (componentDefinition$20 && componentDefinition$20.props) Object.entries(componentDefinition$20.props).forEach(([key, config]) => {
|
|
2865
3004
|
const propConfig = config;
|
|
2866
3005
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$35[key] = propConfig.default;
|
|
2867
3006
|
});
|
|
@@ -2873,7 +3012,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
2873
3012
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
2874
3013
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
2875
3014
|
const instanceId = useMemo(() => {
|
|
2876
|
-
return props.id || `${componentDefinition$
|
|
3015
|
+
return props.id || `${componentDefinition$20.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
2877
3016
|
}, [props.id]);
|
|
2878
3017
|
const effectiveProps = useMemo(() => {
|
|
2879
3018
|
return computeEffectiveProps$35(props, defaultProps$35);
|
|
@@ -2883,7 +3022,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
2883
3022
|
...props.transform
|
|
2884
3023
|
}), [props.transform]);
|
|
2885
3024
|
const uniformsRef = useRef(null);
|
|
2886
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3025
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$20, effectiveProps, instanceId);
|
|
2887
3026
|
const childContextValue = useMemo(() => {
|
|
2888
3027
|
return {
|
|
2889
3028
|
...context,
|
|
@@ -2905,7 +3044,7 @@ const OmbreComponent$35 = (props) => {
|
|
|
2905
3044
|
renderOrder: props.renderOrder || 0,
|
|
2906
3045
|
transform: effectiveTransform
|
|
2907
3046
|
};
|
|
2908
|
-
parentRegister(instanceId, componentDefinition$
|
|
3047
|
+
parentRegister(instanceId, componentDefinition$20.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$20);
|
|
2909
3048
|
return () => {
|
|
2910
3049
|
parentRegister(instanceId, null, null, null, null);
|
|
2911
3050
|
};
|
|
@@ -2979,8 +3118,8 @@ const OmbreComponent$35 = (props) => {
|
|
|
2979
3118
|
});
|
|
2980
3119
|
};
|
|
2981
3120
|
var GlassTiles_default = OmbreComponent$35;
|
|
2982
|
-
function computeEffectiveProps$34(props, defaultProps$
|
|
2983
|
-
let baseProps = { ...defaultProps$
|
|
3121
|
+
function computeEffectiveProps$34(props, defaultProps$56) {
|
|
3122
|
+
let baseProps = { ...defaultProps$56 };
|
|
2984
3123
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
2985
3124
|
return baseProps;
|
|
2986
3125
|
}
|
|
@@ -2999,7 +3138,7 @@ var defaultProps$34 = {
|
|
|
2999
3138
|
visible: true
|
|
3000
3139
|
};
|
|
3001
3140
|
try {
|
|
3002
|
-
if (componentDefinition$
|
|
3141
|
+
if (componentDefinition$21 && componentDefinition$21.props) Object.entries(componentDefinition$21.props).forEach(([key, config]) => {
|
|
3003
3142
|
const propConfig = config;
|
|
3004
3143
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$34[key] = propConfig.default;
|
|
3005
3144
|
});
|
|
@@ -3011,7 +3150,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3011
3150
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3012
3151
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3013
3152
|
const instanceId = useMemo(() => {
|
|
3014
|
-
return props.id || `${componentDefinition$
|
|
3153
|
+
return props.id || `${componentDefinition$21.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3015
3154
|
}, [props.id]);
|
|
3016
3155
|
const effectiveProps = useMemo(() => {
|
|
3017
3156
|
return computeEffectiveProps$34(props, defaultProps$34);
|
|
@@ -3021,7 +3160,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3021
3160
|
...props.transform
|
|
3022
3161
|
}), [props.transform]);
|
|
3023
3162
|
const uniformsRef = useRef(null);
|
|
3024
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3163
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$21, effectiveProps, instanceId);
|
|
3025
3164
|
const childContextValue = useMemo(() => {
|
|
3026
3165
|
return {
|
|
3027
3166
|
...context,
|
|
@@ -3043,7 +3182,7 @@ const OmbreComponent$34 = (props) => {
|
|
|
3043
3182
|
renderOrder: props.renderOrder || 0,
|
|
3044
3183
|
transform: effectiveTransform
|
|
3045
3184
|
};
|
|
3046
|
-
parentRegister(instanceId, componentDefinition$
|
|
3185
|
+
parentRegister(instanceId, componentDefinition$21.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$21);
|
|
3047
3186
|
return () => {
|
|
3048
3187
|
parentRegister(instanceId, null, null, null, null);
|
|
3049
3188
|
};
|
|
@@ -3117,8 +3256,8 @@ const OmbreComponent$34 = (props) => {
|
|
|
3117
3256
|
});
|
|
3118
3257
|
};
|
|
3119
3258
|
var Glow_default = OmbreComponent$34;
|
|
3120
|
-
function computeEffectiveProps$33(props, defaultProps$
|
|
3121
|
-
let baseProps = { ...defaultProps$
|
|
3259
|
+
function computeEffectiveProps$33(props, defaultProps$56) {
|
|
3260
|
+
let baseProps = { ...defaultProps$56 };
|
|
3122
3261
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3123
3262
|
return baseProps;
|
|
3124
3263
|
}
|
|
@@ -3137,7 +3276,7 @@ var defaultProps$33 = {
|
|
|
3137
3276
|
visible: true
|
|
3138
3277
|
};
|
|
3139
3278
|
try {
|
|
3140
|
-
if (componentDefinition$
|
|
3279
|
+
if (componentDefinition$22 && componentDefinition$22.props) Object.entries(componentDefinition$22.props).forEach(([key, config]) => {
|
|
3141
3280
|
const propConfig = config;
|
|
3142
3281
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$33[key] = propConfig.default;
|
|
3143
3282
|
});
|
|
@@ -3149,7 +3288,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3149
3288
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3150
3289
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3151
3290
|
const instanceId = useMemo(() => {
|
|
3152
|
-
return props.id || `${componentDefinition$
|
|
3291
|
+
return props.id || `${componentDefinition$22.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3153
3292
|
}, [props.id]);
|
|
3154
3293
|
const effectiveProps = useMemo(() => {
|
|
3155
3294
|
return computeEffectiveProps$33(props, defaultProps$33);
|
|
@@ -3159,7 +3298,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3159
3298
|
...props.transform
|
|
3160
3299
|
}), [props.transform]);
|
|
3161
3300
|
const uniformsRef = useRef(null);
|
|
3162
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3301
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$22, effectiveProps, instanceId);
|
|
3163
3302
|
const childContextValue = useMemo(() => {
|
|
3164
3303
|
return {
|
|
3165
3304
|
...context,
|
|
@@ -3181,7 +3320,7 @@ const OmbreComponent$33 = (props) => {
|
|
|
3181
3320
|
renderOrder: props.renderOrder || 0,
|
|
3182
3321
|
transform: effectiveTransform
|
|
3183
3322
|
};
|
|
3184
|
-
parentRegister(instanceId, componentDefinition$
|
|
3323
|
+
parentRegister(instanceId, componentDefinition$22.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$22);
|
|
3185
3324
|
return () => {
|
|
3186
3325
|
parentRegister(instanceId, null, null, null, null);
|
|
3187
3326
|
};
|
|
@@ -3255,8 +3394,8 @@ const OmbreComponent$33 = (props) => {
|
|
|
3255
3394
|
});
|
|
3256
3395
|
};
|
|
3257
3396
|
var Godrays_default = OmbreComponent$33;
|
|
3258
|
-
function computeEffectiveProps$32(props, defaultProps$
|
|
3259
|
-
let baseProps = { ...defaultProps$
|
|
3397
|
+
function computeEffectiveProps$32(props, defaultProps$56) {
|
|
3398
|
+
let baseProps = { ...defaultProps$56 };
|
|
3260
3399
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3261
3400
|
return baseProps;
|
|
3262
3401
|
}
|
|
@@ -3275,7 +3414,7 @@ var defaultProps$32 = {
|
|
|
3275
3414
|
visible: true
|
|
3276
3415
|
};
|
|
3277
3416
|
try {
|
|
3278
|
-
if (componentDefinition$
|
|
3417
|
+
if (componentDefinition$23 && componentDefinition$23.props) Object.entries(componentDefinition$23.props).forEach(([key, config]) => {
|
|
3279
3418
|
const propConfig = config;
|
|
3280
3419
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$32[key] = propConfig.default;
|
|
3281
3420
|
});
|
|
@@ -3287,7 +3426,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3287
3426
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3288
3427
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3289
3428
|
const instanceId = useMemo(() => {
|
|
3290
|
-
return props.id || `${componentDefinition$
|
|
3429
|
+
return props.id || `${componentDefinition$23.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3291
3430
|
}, [props.id]);
|
|
3292
3431
|
const effectiveProps = useMemo(() => {
|
|
3293
3432
|
return computeEffectiveProps$32(props, defaultProps$32);
|
|
@@ -3297,7 +3436,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3297
3436
|
...props.transform
|
|
3298
3437
|
}), [props.transform]);
|
|
3299
3438
|
const uniformsRef = useRef(null);
|
|
3300
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3439
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$23, effectiveProps, instanceId);
|
|
3301
3440
|
const childContextValue = useMemo(() => {
|
|
3302
3441
|
return {
|
|
3303
3442
|
...context,
|
|
@@ -3319,7 +3458,7 @@ const OmbreComponent$32 = (props) => {
|
|
|
3319
3458
|
renderOrder: props.renderOrder || 0,
|
|
3320
3459
|
transform: effectiveTransform
|
|
3321
3460
|
};
|
|
3322
|
-
parentRegister(instanceId, componentDefinition$
|
|
3461
|
+
parentRegister(instanceId, componentDefinition$23.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$23);
|
|
3323
3462
|
return () => {
|
|
3324
3463
|
parentRegister(instanceId, null, null, null, null);
|
|
3325
3464
|
};
|
|
@@ -3393,8 +3532,8 @@ const OmbreComponent$32 = (props) => {
|
|
|
3393
3532
|
});
|
|
3394
3533
|
};
|
|
3395
3534
|
var Grayscale_default = OmbreComponent$32;
|
|
3396
|
-
function computeEffectiveProps$31(props, defaultProps$
|
|
3397
|
-
let baseProps = { ...defaultProps$
|
|
3535
|
+
function computeEffectiveProps$31(props, defaultProps$56) {
|
|
3536
|
+
let baseProps = { ...defaultProps$56 };
|
|
3398
3537
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3399
3538
|
return baseProps;
|
|
3400
3539
|
}
|
|
@@ -3413,7 +3552,7 @@ var defaultProps$31 = {
|
|
|
3413
3552
|
visible: true
|
|
3414
3553
|
};
|
|
3415
3554
|
try {
|
|
3416
|
-
if (componentDefinition$
|
|
3555
|
+
if (componentDefinition$24 && componentDefinition$24.props) Object.entries(componentDefinition$24.props).forEach(([key, config]) => {
|
|
3417
3556
|
const propConfig = config;
|
|
3418
3557
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$31[key] = propConfig.default;
|
|
3419
3558
|
});
|
|
@@ -3425,7 +3564,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3425
3564
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3426
3565
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3427
3566
|
const instanceId = useMemo(() => {
|
|
3428
|
-
return props.id || `${componentDefinition$
|
|
3567
|
+
return props.id || `${componentDefinition$24.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3429
3568
|
}, [props.id]);
|
|
3430
3569
|
const effectiveProps = useMemo(() => {
|
|
3431
3570
|
return computeEffectiveProps$31(props, defaultProps$31);
|
|
@@ -3435,7 +3574,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3435
3574
|
...props.transform
|
|
3436
3575
|
}), [props.transform]);
|
|
3437
3576
|
const uniformsRef = useRef(null);
|
|
3438
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3577
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$24, effectiveProps, instanceId);
|
|
3439
3578
|
const childContextValue = useMemo(() => {
|
|
3440
3579
|
return {
|
|
3441
3580
|
...context,
|
|
@@ -3457,7 +3596,7 @@ const OmbreComponent$31 = (props) => {
|
|
|
3457
3596
|
renderOrder: props.renderOrder || 0,
|
|
3458
3597
|
transform: effectiveTransform
|
|
3459
3598
|
};
|
|
3460
|
-
parentRegister(instanceId, componentDefinition$
|
|
3599
|
+
parentRegister(instanceId, componentDefinition$24.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$24);
|
|
3461
3600
|
return () => {
|
|
3462
3601
|
parentRegister(instanceId, null, null, null, null);
|
|
3463
3602
|
};
|
|
@@ -3531,8 +3670,8 @@ const OmbreComponent$31 = (props) => {
|
|
|
3531
3670
|
});
|
|
3532
3671
|
};
|
|
3533
3672
|
var Grid_default = OmbreComponent$31;
|
|
3534
|
-
function computeEffectiveProps$30(props, defaultProps$
|
|
3535
|
-
let baseProps = { ...defaultProps$
|
|
3673
|
+
function computeEffectiveProps$30(props, defaultProps$56) {
|
|
3674
|
+
let baseProps = { ...defaultProps$56 };
|
|
3536
3675
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3537
3676
|
return baseProps;
|
|
3538
3677
|
}
|
|
@@ -3551,7 +3690,7 @@ var defaultProps$30 = {
|
|
|
3551
3690
|
visible: true
|
|
3552
3691
|
};
|
|
3553
3692
|
try {
|
|
3554
|
-
if (componentDefinition$
|
|
3693
|
+
if (componentDefinition$25 && componentDefinition$25.props) Object.entries(componentDefinition$25.props).forEach(([key, config]) => {
|
|
3555
3694
|
const propConfig = config;
|
|
3556
3695
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$30[key] = propConfig.default;
|
|
3557
3696
|
});
|
|
@@ -3563,7 +3702,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
3563
3702
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3564
3703
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3565
3704
|
const instanceId = useMemo(() => {
|
|
3566
|
-
return props.id || `${componentDefinition$
|
|
3705
|
+
return props.id || `${componentDefinition$25.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3567
3706
|
}, [props.id]);
|
|
3568
3707
|
const effectiveProps = useMemo(() => {
|
|
3569
3708
|
return computeEffectiveProps$30(props, defaultProps$30);
|
|
@@ -3573,7 +3712,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
3573
3712
|
...props.transform
|
|
3574
3713
|
}), [props.transform]);
|
|
3575
3714
|
const uniformsRef = useRef(null);
|
|
3576
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3715
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$25, effectiveProps, instanceId);
|
|
3577
3716
|
const childContextValue = useMemo(() => {
|
|
3578
3717
|
return {
|
|
3579
3718
|
...context,
|
|
@@ -3595,7 +3734,7 @@ const OmbreComponent$30 = (props) => {
|
|
|
3595
3734
|
renderOrder: props.renderOrder || 0,
|
|
3596
3735
|
transform: effectiveTransform
|
|
3597
3736
|
};
|
|
3598
|
-
parentRegister(instanceId, componentDefinition$
|
|
3737
|
+
parentRegister(instanceId, componentDefinition$25.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$25);
|
|
3599
3738
|
return () => {
|
|
3600
3739
|
parentRegister(instanceId, null, null, null, null);
|
|
3601
3740
|
};
|
|
@@ -3669,8 +3808,8 @@ const OmbreComponent$30 = (props) => {
|
|
|
3669
3808
|
});
|
|
3670
3809
|
};
|
|
3671
3810
|
var GridDistortion_default = OmbreComponent$30;
|
|
3672
|
-
function computeEffectiveProps$29(props, defaultProps$
|
|
3673
|
-
let baseProps = { ...defaultProps$
|
|
3811
|
+
function computeEffectiveProps$29(props, defaultProps$56) {
|
|
3812
|
+
let baseProps = { ...defaultProps$56 };
|
|
3674
3813
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3675
3814
|
return baseProps;
|
|
3676
3815
|
}
|
|
@@ -3689,7 +3828,7 @@ var defaultProps$29 = {
|
|
|
3689
3828
|
visible: true
|
|
3690
3829
|
};
|
|
3691
3830
|
try {
|
|
3692
|
-
if (componentDefinition$
|
|
3831
|
+
if (componentDefinition$26 && componentDefinition$26.props) Object.entries(componentDefinition$26.props).forEach(([key, config]) => {
|
|
3693
3832
|
const propConfig = config;
|
|
3694
3833
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$29[key] = propConfig.default;
|
|
3695
3834
|
});
|
|
@@ -3701,7 +3840,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
3701
3840
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3702
3841
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3703
3842
|
const instanceId = useMemo(() => {
|
|
3704
|
-
return props.id || `${componentDefinition$
|
|
3843
|
+
return props.id || `${componentDefinition$26.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3705
3844
|
}, [props.id]);
|
|
3706
3845
|
const effectiveProps = useMemo(() => {
|
|
3707
3846
|
return computeEffectiveProps$29(props, defaultProps$29);
|
|
@@ -3711,7 +3850,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
3711
3850
|
...props.transform
|
|
3712
3851
|
}), [props.transform]);
|
|
3713
3852
|
const uniformsRef = useRef(null);
|
|
3714
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3853
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$26, effectiveProps, instanceId);
|
|
3715
3854
|
const childContextValue = useMemo(() => {
|
|
3716
3855
|
return {
|
|
3717
3856
|
...context,
|
|
@@ -3733,7 +3872,7 @@ const OmbreComponent$29 = (props) => {
|
|
|
3733
3872
|
renderOrder: props.renderOrder || 0,
|
|
3734
3873
|
transform: effectiveTransform
|
|
3735
3874
|
};
|
|
3736
|
-
parentRegister(instanceId, componentDefinition$
|
|
3875
|
+
parentRegister(instanceId, componentDefinition$26.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$26);
|
|
3737
3876
|
return () => {
|
|
3738
3877
|
parentRegister(instanceId, null, null, null, null);
|
|
3739
3878
|
};
|
|
@@ -3807,8 +3946,8 @@ const OmbreComponent$29 = (props) => {
|
|
|
3807
3946
|
});
|
|
3808
3947
|
};
|
|
3809
3948
|
var Group_default = OmbreComponent$29;
|
|
3810
|
-
function computeEffectiveProps$28(props, defaultProps$
|
|
3811
|
-
let baseProps = { ...defaultProps$
|
|
3949
|
+
function computeEffectiveProps$28(props, defaultProps$56) {
|
|
3950
|
+
let baseProps = { ...defaultProps$56 };
|
|
3812
3951
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3813
3952
|
return baseProps;
|
|
3814
3953
|
}
|
|
@@ -3827,7 +3966,7 @@ var defaultProps$28 = {
|
|
|
3827
3966
|
visible: true
|
|
3828
3967
|
};
|
|
3829
3968
|
try {
|
|
3830
|
-
if (componentDefinition$
|
|
3969
|
+
if (componentDefinition$27 && componentDefinition$27.props) Object.entries(componentDefinition$27.props).forEach(([key, config]) => {
|
|
3831
3970
|
const propConfig = config;
|
|
3832
3971
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$28[key] = propConfig.default;
|
|
3833
3972
|
});
|
|
@@ -3839,7 +3978,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
3839
3978
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3840
3979
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3841
3980
|
const instanceId = useMemo(() => {
|
|
3842
|
-
return props.id || `${componentDefinition$
|
|
3981
|
+
return props.id || `${componentDefinition$27.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3843
3982
|
}, [props.id]);
|
|
3844
3983
|
const effectiveProps = useMemo(() => {
|
|
3845
3984
|
return computeEffectiveProps$28(props, defaultProps$28);
|
|
@@ -3849,7 +3988,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
3849
3988
|
...props.transform
|
|
3850
3989
|
}), [props.transform]);
|
|
3851
3990
|
const uniformsRef = useRef(null);
|
|
3852
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
3991
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$27, effectiveProps, instanceId);
|
|
3853
3992
|
const childContextValue = useMemo(() => {
|
|
3854
3993
|
return {
|
|
3855
3994
|
...context,
|
|
@@ -3871,7 +4010,7 @@ const OmbreComponent$28 = (props) => {
|
|
|
3871
4010
|
renderOrder: props.renderOrder || 0,
|
|
3872
4011
|
transform: effectiveTransform
|
|
3873
4012
|
};
|
|
3874
|
-
parentRegister(instanceId, componentDefinition$
|
|
4013
|
+
parentRegister(instanceId, componentDefinition$27.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$27);
|
|
3875
4014
|
return () => {
|
|
3876
4015
|
parentRegister(instanceId, null, null, null, null);
|
|
3877
4016
|
};
|
|
@@ -3945,8 +4084,8 @@ const OmbreComponent$28 = (props) => {
|
|
|
3945
4084
|
});
|
|
3946
4085
|
};
|
|
3947
4086
|
var Halftone_default = OmbreComponent$28;
|
|
3948
|
-
function computeEffectiveProps$27(props, defaultProps$
|
|
3949
|
-
let baseProps = { ...defaultProps$
|
|
4087
|
+
function computeEffectiveProps$27(props, defaultProps$56) {
|
|
4088
|
+
let baseProps = { ...defaultProps$56 };
|
|
3950
4089
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
3951
4090
|
return baseProps;
|
|
3952
4091
|
}
|
|
@@ -3965,7 +4104,7 @@ var defaultProps$27 = {
|
|
|
3965
4104
|
visible: true
|
|
3966
4105
|
};
|
|
3967
4106
|
try {
|
|
3968
|
-
if (componentDefinition$
|
|
4107
|
+
if (componentDefinition$28 && componentDefinition$28.props) Object.entries(componentDefinition$28.props).forEach(([key, config]) => {
|
|
3969
4108
|
const propConfig = config;
|
|
3970
4109
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$27[key] = propConfig.default;
|
|
3971
4110
|
});
|
|
@@ -3977,7 +4116,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
3977
4116
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
3978
4117
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
3979
4118
|
const instanceId = useMemo(() => {
|
|
3980
|
-
return props.id || `${componentDefinition$
|
|
4119
|
+
return props.id || `${componentDefinition$28.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
3981
4120
|
}, [props.id]);
|
|
3982
4121
|
const effectiveProps = useMemo(() => {
|
|
3983
4122
|
return computeEffectiveProps$27(props, defaultProps$27);
|
|
@@ -3987,7 +4126,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
3987
4126
|
...props.transform
|
|
3988
4127
|
}), [props.transform]);
|
|
3989
4128
|
const uniformsRef = useRef(null);
|
|
3990
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4129
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$28, effectiveProps, instanceId);
|
|
3991
4130
|
const childContextValue = useMemo(() => {
|
|
3992
4131
|
return {
|
|
3993
4132
|
...context,
|
|
@@ -4009,7 +4148,7 @@ const OmbreComponent$27 = (props) => {
|
|
|
4009
4148
|
renderOrder: props.renderOrder || 0,
|
|
4010
4149
|
transform: effectiveTransform
|
|
4011
4150
|
};
|
|
4012
|
-
parentRegister(instanceId, componentDefinition$
|
|
4151
|
+
parentRegister(instanceId, componentDefinition$28.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$28);
|
|
4013
4152
|
return () => {
|
|
4014
4153
|
parentRegister(instanceId, null, null, null, null);
|
|
4015
4154
|
};
|
|
@@ -4083,8 +4222,8 @@ const OmbreComponent$27 = (props) => {
|
|
|
4083
4222
|
});
|
|
4084
4223
|
};
|
|
4085
4224
|
var HueShift_default = OmbreComponent$27;
|
|
4086
|
-
function computeEffectiveProps$26(props, defaultProps$
|
|
4087
|
-
let baseProps = { ...defaultProps$
|
|
4225
|
+
function computeEffectiveProps$26(props, defaultProps$56) {
|
|
4226
|
+
let baseProps = { ...defaultProps$56 };
|
|
4088
4227
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4089
4228
|
return baseProps;
|
|
4090
4229
|
}
|
|
@@ -4103,7 +4242,7 @@ var defaultProps$26 = {
|
|
|
4103
4242
|
visible: true
|
|
4104
4243
|
};
|
|
4105
4244
|
try {
|
|
4106
|
-
if (componentDefinition$
|
|
4245
|
+
if (componentDefinition$29 && componentDefinition$29.props) Object.entries(componentDefinition$29.props).forEach(([key, config]) => {
|
|
4107
4246
|
const propConfig = config;
|
|
4108
4247
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$26[key] = propConfig.default;
|
|
4109
4248
|
});
|
|
@@ -4115,7 +4254,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4115
4254
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4116
4255
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4117
4256
|
const instanceId = useMemo(() => {
|
|
4118
|
-
return props.id || `${componentDefinition$
|
|
4257
|
+
return props.id || `${componentDefinition$29.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4119
4258
|
}, [props.id]);
|
|
4120
4259
|
const effectiveProps = useMemo(() => {
|
|
4121
4260
|
return computeEffectiveProps$26(props, defaultProps$26);
|
|
@@ -4125,7 +4264,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4125
4264
|
...props.transform
|
|
4126
4265
|
}), [props.transform]);
|
|
4127
4266
|
const uniformsRef = useRef(null);
|
|
4128
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4267
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$29, effectiveProps, instanceId);
|
|
4129
4268
|
const childContextValue = useMemo(() => {
|
|
4130
4269
|
return {
|
|
4131
4270
|
...context,
|
|
@@ -4147,7 +4286,7 @@ const OmbreComponent$26 = (props) => {
|
|
|
4147
4286
|
renderOrder: props.renderOrder || 0,
|
|
4148
4287
|
transform: effectiveTransform
|
|
4149
4288
|
};
|
|
4150
|
-
parentRegister(instanceId, componentDefinition$
|
|
4289
|
+
parentRegister(instanceId, componentDefinition$29.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$29);
|
|
4151
4290
|
return () => {
|
|
4152
4291
|
parentRegister(instanceId, null, null, null, null);
|
|
4153
4292
|
};
|
|
@@ -4221,8 +4360,8 @@ const OmbreComponent$26 = (props) => {
|
|
|
4221
4360
|
});
|
|
4222
4361
|
};
|
|
4223
4362
|
var ImageTexture_default = OmbreComponent$26;
|
|
4224
|
-
function computeEffectiveProps$25(props, defaultProps$
|
|
4225
|
-
let baseProps = { ...defaultProps$
|
|
4363
|
+
function computeEffectiveProps$25(props, defaultProps$56) {
|
|
4364
|
+
let baseProps = { ...defaultProps$56 };
|
|
4226
4365
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4227
4366
|
return baseProps;
|
|
4228
4367
|
}
|
|
@@ -4241,7 +4380,7 @@ var defaultProps$25 = {
|
|
|
4241
4380
|
visible: true
|
|
4242
4381
|
};
|
|
4243
4382
|
try {
|
|
4244
|
-
if (componentDefinition$
|
|
4383
|
+
if (componentDefinition$30 && componentDefinition$30.props) Object.entries(componentDefinition$30.props).forEach(([key, config]) => {
|
|
4245
4384
|
const propConfig = config;
|
|
4246
4385
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$25[key] = propConfig.default;
|
|
4247
4386
|
});
|
|
@@ -4253,7 +4392,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4253
4392
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4254
4393
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4255
4394
|
const instanceId = useMemo(() => {
|
|
4256
|
-
return props.id || `${componentDefinition$
|
|
4395
|
+
return props.id || `${componentDefinition$30.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4257
4396
|
}, [props.id]);
|
|
4258
4397
|
const effectiveProps = useMemo(() => {
|
|
4259
4398
|
return computeEffectiveProps$25(props, defaultProps$25);
|
|
@@ -4263,7 +4402,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4263
4402
|
...props.transform
|
|
4264
4403
|
}), [props.transform]);
|
|
4265
4404
|
const uniformsRef = useRef(null);
|
|
4266
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4405
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$30, effectiveProps, instanceId);
|
|
4267
4406
|
const childContextValue = useMemo(() => {
|
|
4268
4407
|
return {
|
|
4269
4408
|
...context,
|
|
@@ -4285,7 +4424,7 @@ const OmbreComponent$25 = (props) => {
|
|
|
4285
4424
|
renderOrder: props.renderOrder || 0,
|
|
4286
4425
|
transform: effectiveTransform
|
|
4287
4426
|
};
|
|
4288
|
-
parentRegister(instanceId, componentDefinition$
|
|
4427
|
+
parentRegister(instanceId, componentDefinition$30.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$30);
|
|
4289
4428
|
return () => {
|
|
4290
4429
|
parentRegister(instanceId, null, null, null, null);
|
|
4291
4430
|
};
|
|
@@ -4359,8 +4498,8 @@ const OmbreComponent$25 = (props) => {
|
|
|
4359
4498
|
});
|
|
4360
4499
|
};
|
|
4361
4500
|
var Invert_default = OmbreComponent$25;
|
|
4362
|
-
function computeEffectiveProps$24(props, defaultProps$
|
|
4363
|
-
let baseProps = { ...defaultProps$
|
|
4501
|
+
function computeEffectiveProps$24(props, defaultProps$56) {
|
|
4502
|
+
let baseProps = { ...defaultProps$56 };
|
|
4364
4503
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4365
4504
|
return baseProps;
|
|
4366
4505
|
}
|
|
@@ -4379,7 +4518,7 @@ var defaultProps$24 = {
|
|
|
4379
4518
|
visible: true
|
|
4380
4519
|
};
|
|
4381
4520
|
try {
|
|
4382
|
-
if (componentDefinition$
|
|
4521
|
+
if (componentDefinition$31 && componentDefinition$31.props) Object.entries(componentDefinition$31.props).forEach(([key, config]) => {
|
|
4383
4522
|
const propConfig = config;
|
|
4384
4523
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$24[key] = propConfig.default;
|
|
4385
4524
|
});
|
|
@@ -4391,7 +4530,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4391
4530
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4392
4531
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4393
4532
|
const instanceId = useMemo(() => {
|
|
4394
|
-
return props.id || `${componentDefinition$
|
|
4533
|
+
return props.id || `${componentDefinition$31.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4395
4534
|
}, [props.id]);
|
|
4396
4535
|
const effectiveProps = useMemo(() => {
|
|
4397
4536
|
return computeEffectiveProps$24(props, defaultProps$24);
|
|
@@ -4401,7 +4540,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4401
4540
|
...props.transform
|
|
4402
4541
|
}), [props.transform]);
|
|
4403
4542
|
const uniformsRef = useRef(null);
|
|
4404
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4543
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$31, effectiveProps, instanceId);
|
|
4405
4544
|
const childContextValue = useMemo(() => {
|
|
4406
4545
|
return {
|
|
4407
4546
|
...context,
|
|
@@ -4423,7 +4562,7 @@ const OmbreComponent$24 = (props) => {
|
|
|
4423
4562
|
renderOrder: props.renderOrder || 0,
|
|
4424
4563
|
transform: effectiveTransform
|
|
4425
4564
|
};
|
|
4426
|
-
parentRegister(instanceId, componentDefinition$
|
|
4565
|
+
parentRegister(instanceId, componentDefinition$31.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$31);
|
|
4427
4566
|
return () => {
|
|
4428
4567
|
parentRegister(instanceId, null, null, null, null);
|
|
4429
4568
|
};
|
|
@@ -4497,8 +4636,8 @@ const OmbreComponent$24 = (props) => {
|
|
|
4497
4636
|
});
|
|
4498
4637
|
};
|
|
4499
4638
|
var LinearBlur_default = OmbreComponent$24;
|
|
4500
|
-
function computeEffectiveProps$23(props, defaultProps$
|
|
4501
|
-
let baseProps = { ...defaultProps$
|
|
4639
|
+
function computeEffectiveProps$23(props, defaultProps$56) {
|
|
4640
|
+
let baseProps = { ...defaultProps$56 };
|
|
4502
4641
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4503
4642
|
return baseProps;
|
|
4504
4643
|
}
|
|
@@ -4517,7 +4656,7 @@ var defaultProps$23 = {
|
|
|
4517
4656
|
visible: true
|
|
4518
4657
|
};
|
|
4519
4658
|
try {
|
|
4520
|
-
if (componentDefinition$
|
|
4659
|
+
if (componentDefinition$32 && componentDefinition$32.props) Object.entries(componentDefinition$32.props).forEach(([key, config]) => {
|
|
4521
4660
|
const propConfig = config;
|
|
4522
4661
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$23[key] = propConfig.default;
|
|
4523
4662
|
});
|
|
@@ -4529,7 +4668,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4529
4668
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4530
4669
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4531
4670
|
const instanceId = useMemo(() => {
|
|
4532
|
-
return props.id || `${componentDefinition$
|
|
4671
|
+
return props.id || `${componentDefinition$32.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4533
4672
|
}, [props.id]);
|
|
4534
4673
|
const effectiveProps = useMemo(() => {
|
|
4535
4674
|
return computeEffectiveProps$23(props, defaultProps$23);
|
|
@@ -4539,7 +4678,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4539
4678
|
...props.transform
|
|
4540
4679
|
}), [props.transform]);
|
|
4541
4680
|
const uniformsRef = useRef(null);
|
|
4542
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4681
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$32, effectiveProps, instanceId);
|
|
4543
4682
|
const childContextValue = useMemo(() => {
|
|
4544
4683
|
return {
|
|
4545
4684
|
...context,
|
|
@@ -4561,7 +4700,7 @@ const OmbreComponent$23 = (props) => {
|
|
|
4561
4700
|
renderOrder: props.renderOrder || 0,
|
|
4562
4701
|
transform: effectiveTransform
|
|
4563
4702
|
};
|
|
4564
|
-
parentRegister(instanceId, componentDefinition$
|
|
4703
|
+
parentRegister(instanceId, componentDefinition$32.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$32);
|
|
4565
4704
|
return () => {
|
|
4566
4705
|
parentRegister(instanceId, null, null, null, null);
|
|
4567
4706
|
};
|
|
@@ -4635,8 +4774,8 @@ const OmbreComponent$23 = (props) => {
|
|
|
4635
4774
|
});
|
|
4636
4775
|
};
|
|
4637
4776
|
var LinearGradient_default = OmbreComponent$23;
|
|
4638
|
-
function computeEffectiveProps$22(props, defaultProps$
|
|
4639
|
-
let baseProps = { ...defaultProps$
|
|
4777
|
+
function computeEffectiveProps$22(props, defaultProps$56) {
|
|
4778
|
+
let baseProps = { ...defaultProps$56 };
|
|
4640
4779
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4641
4780
|
return baseProps;
|
|
4642
4781
|
}
|
|
@@ -4655,7 +4794,7 @@ var defaultProps$22 = {
|
|
|
4655
4794
|
visible: true
|
|
4656
4795
|
};
|
|
4657
4796
|
try {
|
|
4658
|
-
if (componentDefinition$
|
|
4797
|
+
if (componentDefinition$33 && componentDefinition$33.props) Object.entries(componentDefinition$33.props).forEach(([key, config]) => {
|
|
4659
4798
|
const propConfig = config;
|
|
4660
4799
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$22[key] = propConfig.default;
|
|
4661
4800
|
});
|
|
@@ -4667,7 +4806,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
4667
4806
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4668
4807
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4669
4808
|
const instanceId = useMemo(() => {
|
|
4670
|
-
return props.id || `${componentDefinition$
|
|
4809
|
+
return props.id || `${componentDefinition$33.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4671
4810
|
}, [props.id]);
|
|
4672
4811
|
const effectiveProps = useMemo(() => {
|
|
4673
4812
|
return computeEffectiveProps$22(props, defaultProps$22);
|
|
@@ -4677,7 +4816,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
4677
4816
|
...props.transform
|
|
4678
4817
|
}), [props.transform]);
|
|
4679
4818
|
const uniformsRef = useRef(null);
|
|
4680
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4819
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$33, effectiveProps, instanceId);
|
|
4681
4820
|
const childContextValue = useMemo(() => {
|
|
4682
4821
|
return {
|
|
4683
4822
|
...context,
|
|
@@ -4699,7 +4838,7 @@ const OmbreComponent$22 = (props) => {
|
|
|
4699
4838
|
renderOrder: props.renderOrder || 0,
|
|
4700
4839
|
transform: effectiveTransform
|
|
4701
4840
|
};
|
|
4702
|
-
parentRegister(instanceId, componentDefinition$
|
|
4841
|
+
parentRegister(instanceId, componentDefinition$33.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$33);
|
|
4703
4842
|
return () => {
|
|
4704
4843
|
parentRegister(instanceId, null, null, null, null);
|
|
4705
4844
|
};
|
|
@@ -4773,8 +4912,8 @@ const OmbreComponent$22 = (props) => {
|
|
|
4773
4912
|
});
|
|
4774
4913
|
};
|
|
4775
4914
|
var Liquify_default = OmbreComponent$22;
|
|
4776
|
-
function computeEffectiveProps$21(props, defaultProps$
|
|
4777
|
-
let baseProps = { ...defaultProps$
|
|
4915
|
+
function computeEffectiveProps$21(props, defaultProps$56) {
|
|
4916
|
+
let baseProps = { ...defaultProps$56 };
|
|
4778
4917
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4779
4918
|
return baseProps;
|
|
4780
4919
|
}
|
|
@@ -4793,7 +4932,7 @@ var defaultProps$21 = {
|
|
|
4793
4932
|
visible: true
|
|
4794
4933
|
};
|
|
4795
4934
|
try {
|
|
4796
|
-
if (componentDefinition$
|
|
4935
|
+
if (componentDefinition$34 && componentDefinition$34.props) Object.entries(componentDefinition$34.props).forEach(([key, config]) => {
|
|
4797
4936
|
const propConfig = config;
|
|
4798
4937
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$21[key] = propConfig.default;
|
|
4799
4938
|
});
|
|
@@ -4805,7 +4944,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
4805
4944
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4806
4945
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4807
4946
|
const instanceId = useMemo(() => {
|
|
4808
|
-
return props.id || `${componentDefinition$
|
|
4947
|
+
return props.id || `${componentDefinition$34.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4809
4948
|
}, [props.id]);
|
|
4810
4949
|
const effectiveProps = useMemo(() => {
|
|
4811
4950
|
return computeEffectiveProps$21(props, defaultProps$21);
|
|
@@ -4815,7 +4954,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
4815
4954
|
...props.transform
|
|
4816
4955
|
}), [props.transform]);
|
|
4817
4956
|
const uniformsRef = useRef(null);
|
|
4818
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
4957
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$34, effectiveProps, instanceId);
|
|
4819
4958
|
const childContextValue = useMemo(() => {
|
|
4820
4959
|
return {
|
|
4821
4960
|
...context,
|
|
@@ -4837,7 +4976,7 @@ const OmbreComponent$21 = (props) => {
|
|
|
4837
4976
|
renderOrder: props.renderOrder || 0,
|
|
4838
4977
|
transform: effectiveTransform
|
|
4839
4978
|
};
|
|
4840
|
-
parentRegister(instanceId, componentDefinition$
|
|
4979
|
+
parentRegister(instanceId, componentDefinition$34.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$34);
|
|
4841
4980
|
return () => {
|
|
4842
4981
|
parentRegister(instanceId, null, null, null, null);
|
|
4843
4982
|
};
|
|
@@ -4911,8 +5050,8 @@ const OmbreComponent$21 = (props) => {
|
|
|
4911
5050
|
});
|
|
4912
5051
|
};
|
|
4913
5052
|
var Pixelate_default = OmbreComponent$21;
|
|
4914
|
-
function computeEffectiveProps$20(props, defaultProps$
|
|
4915
|
-
let baseProps = { ...defaultProps$
|
|
5053
|
+
function computeEffectiveProps$20(props, defaultProps$56) {
|
|
5054
|
+
let baseProps = { ...defaultProps$56 };
|
|
4916
5055
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
4917
5056
|
return baseProps;
|
|
4918
5057
|
}
|
|
@@ -4931,7 +5070,7 @@ var defaultProps$20 = {
|
|
|
4931
5070
|
visible: true
|
|
4932
5071
|
};
|
|
4933
5072
|
try {
|
|
4934
|
-
if (componentDefinition$
|
|
5073
|
+
if (componentDefinition$35 && componentDefinition$35.props) Object.entries(componentDefinition$35.props).forEach(([key, config]) => {
|
|
4935
5074
|
const propConfig = config;
|
|
4936
5075
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$20[key] = propConfig.default;
|
|
4937
5076
|
});
|
|
@@ -4943,7 +5082,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
4943
5082
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
4944
5083
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
4945
5084
|
const instanceId = useMemo(() => {
|
|
4946
|
-
return props.id || `${componentDefinition$
|
|
5085
|
+
return props.id || `${componentDefinition$35.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
4947
5086
|
}, [props.id]);
|
|
4948
5087
|
const effectiveProps = useMemo(() => {
|
|
4949
5088
|
return computeEffectiveProps$20(props, defaultProps$20);
|
|
@@ -4953,7 +5092,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
4953
5092
|
...props.transform
|
|
4954
5093
|
}), [props.transform]);
|
|
4955
5094
|
const uniformsRef = useRef(null);
|
|
4956
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5095
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$35, effectiveProps, instanceId);
|
|
4957
5096
|
const childContextValue = useMemo(() => {
|
|
4958
5097
|
return {
|
|
4959
5098
|
...context,
|
|
@@ -4975,7 +5114,7 @@ const OmbreComponent$20 = (props) => {
|
|
|
4975
5114
|
renderOrder: props.renderOrder || 0,
|
|
4976
5115
|
transform: effectiveTransform
|
|
4977
5116
|
};
|
|
4978
|
-
parentRegister(instanceId, componentDefinition$
|
|
5117
|
+
parentRegister(instanceId, componentDefinition$35.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$35);
|
|
4979
5118
|
return () => {
|
|
4980
5119
|
parentRegister(instanceId, null, null, null, null);
|
|
4981
5120
|
};
|
|
@@ -5049,8 +5188,8 @@ const OmbreComponent$20 = (props) => {
|
|
|
5049
5188
|
});
|
|
5050
5189
|
};
|
|
5051
5190
|
var PolarCoordinates_default = OmbreComponent$20;
|
|
5052
|
-
function computeEffectiveProps$19(props, defaultProps$
|
|
5053
|
-
let baseProps = { ...defaultProps$
|
|
5191
|
+
function computeEffectiveProps$19(props, defaultProps$56) {
|
|
5192
|
+
let baseProps = { ...defaultProps$56 };
|
|
5054
5193
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5055
5194
|
return baseProps;
|
|
5056
5195
|
}
|
|
@@ -5069,7 +5208,7 @@ var defaultProps$19 = {
|
|
|
5069
5208
|
visible: true
|
|
5070
5209
|
};
|
|
5071
5210
|
try {
|
|
5072
|
-
if (componentDefinition$
|
|
5211
|
+
if (componentDefinition$36 && componentDefinition$36.props) Object.entries(componentDefinition$36.props).forEach(([key, config]) => {
|
|
5073
5212
|
const propConfig = config;
|
|
5074
5213
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$19[key] = propConfig.default;
|
|
5075
5214
|
});
|
|
@@ -5081,7 +5220,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5081
5220
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5082
5221
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5083
5222
|
const instanceId = useMemo(() => {
|
|
5084
|
-
return props.id || `${componentDefinition$
|
|
5223
|
+
return props.id || `${componentDefinition$36.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5085
5224
|
}, [props.id]);
|
|
5086
5225
|
const effectiveProps = useMemo(() => {
|
|
5087
5226
|
return computeEffectiveProps$19(props, defaultProps$19);
|
|
@@ -5091,7 +5230,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5091
5230
|
...props.transform
|
|
5092
5231
|
}), [props.transform]);
|
|
5093
5232
|
const uniformsRef = useRef(null);
|
|
5094
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5233
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$36, effectiveProps, instanceId);
|
|
5095
5234
|
const childContextValue = useMemo(() => {
|
|
5096
5235
|
return {
|
|
5097
5236
|
...context,
|
|
@@ -5113,7 +5252,7 @@ const OmbreComponent$19 = (props) => {
|
|
|
5113
5252
|
renderOrder: props.renderOrder || 0,
|
|
5114
5253
|
transform: effectiveTransform
|
|
5115
5254
|
};
|
|
5116
|
-
parentRegister(instanceId, componentDefinition$
|
|
5255
|
+
parentRegister(instanceId, componentDefinition$36.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$36);
|
|
5117
5256
|
return () => {
|
|
5118
5257
|
parentRegister(instanceId, null, null, null, null);
|
|
5119
5258
|
};
|
|
@@ -5187,8 +5326,8 @@ const OmbreComponent$19 = (props) => {
|
|
|
5187
5326
|
});
|
|
5188
5327
|
};
|
|
5189
5328
|
var Posterize_default = OmbreComponent$19;
|
|
5190
|
-
function computeEffectiveProps$18(props, defaultProps$
|
|
5191
|
-
let baseProps = { ...defaultProps$
|
|
5329
|
+
function computeEffectiveProps$18(props, defaultProps$56) {
|
|
5330
|
+
let baseProps = { ...defaultProps$56 };
|
|
5192
5331
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5193
5332
|
return baseProps;
|
|
5194
5333
|
}
|
|
@@ -5207,7 +5346,7 @@ var defaultProps$18 = {
|
|
|
5207
5346
|
visible: true
|
|
5208
5347
|
};
|
|
5209
5348
|
try {
|
|
5210
|
-
if (componentDefinition$
|
|
5349
|
+
if (componentDefinition$37 && componentDefinition$37.props) Object.entries(componentDefinition$37.props).forEach(([key, config]) => {
|
|
5211
5350
|
const propConfig = config;
|
|
5212
5351
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$18[key] = propConfig.default;
|
|
5213
5352
|
});
|
|
@@ -5219,7 +5358,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5219
5358
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5220
5359
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5221
5360
|
const instanceId = useMemo(() => {
|
|
5222
|
-
return props.id || `${componentDefinition$
|
|
5361
|
+
return props.id || `${componentDefinition$37.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5223
5362
|
}, [props.id]);
|
|
5224
5363
|
const effectiveProps = useMemo(() => {
|
|
5225
5364
|
return computeEffectiveProps$18(props, defaultProps$18);
|
|
@@ -5229,7 +5368,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5229
5368
|
...props.transform
|
|
5230
5369
|
}), [props.transform]);
|
|
5231
5370
|
const uniformsRef = useRef(null);
|
|
5232
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5371
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$37, effectiveProps, instanceId);
|
|
5233
5372
|
const childContextValue = useMemo(() => {
|
|
5234
5373
|
return {
|
|
5235
5374
|
...context,
|
|
@@ -5251,7 +5390,7 @@ const OmbreComponent$18 = (props) => {
|
|
|
5251
5390
|
renderOrder: props.renderOrder || 0,
|
|
5252
5391
|
transform: effectiveTransform
|
|
5253
5392
|
};
|
|
5254
|
-
parentRegister(instanceId, componentDefinition$
|
|
5393
|
+
parentRegister(instanceId, componentDefinition$37.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$37);
|
|
5255
5394
|
return () => {
|
|
5256
5395
|
parentRegister(instanceId, null, null, null, null);
|
|
5257
5396
|
};
|
|
@@ -5325,8 +5464,8 @@ const OmbreComponent$18 = (props) => {
|
|
|
5325
5464
|
});
|
|
5326
5465
|
};
|
|
5327
5466
|
var ProgressiveBlur_default = OmbreComponent$18;
|
|
5328
|
-
function computeEffectiveProps$17(props, defaultProps$
|
|
5329
|
-
let baseProps = { ...defaultProps$
|
|
5467
|
+
function computeEffectiveProps$17(props, defaultProps$56) {
|
|
5468
|
+
let baseProps = { ...defaultProps$56 };
|
|
5330
5469
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5331
5470
|
return baseProps;
|
|
5332
5471
|
}
|
|
@@ -5345,7 +5484,7 @@ var defaultProps$17 = {
|
|
|
5345
5484
|
visible: true
|
|
5346
5485
|
};
|
|
5347
5486
|
try {
|
|
5348
|
-
if (componentDefinition$
|
|
5487
|
+
if (componentDefinition$38 && componentDefinition$38.props) Object.entries(componentDefinition$38.props).forEach(([key, config]) => {
|
|
5349
5488
|
const propConfig = config;
|
|
5350
5489
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$17[key] = propConfig.default;
|
|
5351
5490
|
});
|
|
@@ -5357,7 +5496,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5357
5496
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5358
5497
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5359
5498
|
const instanceId = useMemo(() => {
|
|
5360
|
-
return props.id || `${componentDefinition$
|
|
5499
|
+
return props.id || `${componentDefinition$38.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5361
5500
|
}, [props.id]);
|
|
5362
5501
|
const effectiveProps = useMemo(() => {
|
|
5363
5502
|
return computeEffectiveProps$17(props, defaultProps$17);
|
|
@@ -5367,7 +5506,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5367
5506
|
...props.transform
|
|
5368
5507
|
}), [props.transform]);
|
|
5369
5508
|
const uniformsRef = useRef(null);
|
|
5370
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5509
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$38, effectiveProps, instanceId);
|
|
5371
5510
|
const childContextValue = useMemo(() => {
|
|
5372
5511
|
return {
|
|
5373
5512
|
...context,
|
|
@@ -5389,7 +5528,7 @@ const OmbreComponent$17 = (props) => {
|
|
|
5389
5528
|
renderOrder: props.renderOrder || 0,
|
|
5390
5529
|
transform: effectiveTransform
|
|
5391
5530
|
};
|
|
5392
|
-
parentRegister(instanceId, componentDefinition$
|
|
5531
|
+
parentRegister(instanceId, componentDefinition$38.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$38);
|
|
5393
5532
|
return () => {
|
|
5394
5533
|
parentRegister(instanceId, null, null, null, null);
|
|
5395
5534
|
};
|
|
@@ -5463,8 +5602,8 @@ const OmbreComponent$17 = (props) => {
|
|
|
5463
5602
|
});
|
|
5464
5603
|
};
|
|
5465
5604
|
var RadialGradient_default = OmbreComponent$17;
|
|
5466
|
-
function computeEffectiveProps$16(props, defaultProps$
|
|
5467
|
-
let baseProps = { ...defaultProps$
|
|
5605
|
+
function computeEffectiveProps$16(props, defaultProps$56) {
|
|
5606
|
+
let baseProps = { ...defaultProps$56 };
|
|
5468
5607
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5469
5608
|
return baseProps;
|
|
5470
5609
|
}
|
|
@@ -5483,7 +5622,7 @@ var defaultProps$16 = {
|
|
|
5483
5622
|
visible: true
|
|
5484
5623
|
};
|
|
5485
5624
|
try {
|
|
5486
|
-
if (componentDefinition$
|
|
5625
|
+
if (componentDefinition$39 && componentDefinition$39.props) Object.entries(componentDefinition$39.props).forEach(([key, config]) => {
|
|
5487
5626
|
const propConfig = config;
|
|
5488
5627
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$16[key] = propConfig.default;
|
|
5489
5628
|
});
|
|
@@ -5495,7 +5634,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5495
5634
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5496
5635
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5497
5636
|
const instanceId = useMemo(() => {
|
|
5498
|
-
return props.id || `${componentDefinition$
|
|
5637
|
+
return props.id || `${componentDefinition$39.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5499
5638
|
}, [props.id]);
|
|
5500
5639
|
const effectiveProps = useMemo(() => {
|
|
5501
5640
|
return computeEffectiveProps$16(props, defaultProps$16);
|
|
@@ -5505,7 +5644,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5505
5644
|
...props.transform
|
|
5506
5645
|
}), [props.transform]);
|
|
5507
5646
|
const uniformsRef = useRef(null);
|
|
5508
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5647
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$39, effectiveProps, instanceId);
|
|
5509
5648
|
const childContextValue = useMemo(() => {
|
|
5510
5649
|
return {
|
|
5511
5650
|
...context,
|
|
@@ -5527,7 +5666,7 @@ const OmbreComponent$16 = (props) => {
|
|
|
5527
5666
|
renderOrder: props.renderOrder || 0,
|
|
5528
5667
|
transform: effectiveTransform
|
|
5529
5668
|
};
|
|
5530
|
-
parentRegister(instanceId, componentDefinition$
|
|
5669
|
+
parentRegister(instanceId, componentDefinition$39.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$39);
|
|
5531
5670
|
return () => {
|
|
5532
5671
|
parentRegister(instanceId, null, null, null, null);
|
|
5533
5672
|
};
|
|
@@ -5601,8 +5740,8 @@ const OmbreComponent$16 = (props) => {
|
|
|
5601
5740
|
});
|
|
5602
5741
|
};
|
|
5603
5742
|
var RectangularCoordinates_default = OmbreComponent$16;
|
|
5604
|
-
function computeEffectiveProps$15(props, defaultProps$
|
|
5605
|
-
let baseProps = { ...defaultProps$
|
|
5743
|
+
function computeEffectiveProps$15(props, defaultProps$56) {
|
|
5744
|
+
let baseProps = { ...defaultProps$56 };
|
|
5606
5745
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5607
5746
|
return baseProps;
|
|
5608
5747
|
}
|
|
@@ -5621,7 +5760,7 @@ var defaultProps$15 = {
|
|
|
5621
5760
|
visible: true
|
|
5622
5761
|
};
|
|
5623
5762
|
try {
|
|
5624
|
-
if (componentDefinition$
|
|
5763
|
+
if (componentDefinition$40 && componentDefinition$40.props) Object.entries(componentDefinition$40.props).forEach(([key, config]) => {
|
|
5625
5764
|
const propConfig = config;
|
|
5626
5765
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$15[key] = propConfig.default;
|
|
5627
5766
|
});
|
|
@@ -5633,7 +5772,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
5633
5772
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5634
5773
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5635
5774
|
const instanceId = useMemo(() => {
|
|
5636
|
-
return props.id || `${componentDefinition$
|
|
5775
|
+
return props.id || `${componentDefinition$40.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5637
5776
|
}, [props.id]);
|
|
5638
5777
|
const effectiveProps = useMemo(() => {
|
|
5639
5778
|
return computeEffectiveProps$15(props, defaultProps$15);
|
|
@@ -5643,7 +5782,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
5643
5782
|
...props.transform
|
|
5644
5783
|
}), [props.transform]);
|
|
5645
5784
|
const uniformsRef = useRef(null);
|
|
5646
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5785
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$40, effectiveProps, instanceId);
|
|
5647
5786
|
const childContextValue = useMemo(() => {
|
|
5648
5787
|
return {
|
|
5649
5788
|
...context,
|
|
@@ -5665,7 +5804,7 @@ const OmbreComponent$15 = (props) => {
|
|
|
5665
5804
|
renderOrder: props.renderOrder || 0,
|
|
5666
5805
|
transform: effectiveTransform
|
|
5667
5806
|
};
|
|
5668
|
-
parentRegister(instanceId, componentDefinition$
|
|
5807
|
+
parentRegister(instanceId, componentDefinition$40.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$40);
|
|
5669
5808
|
return () => {
|
|
5670
5809
|
parentRegister(instanceId, null, null, null, null);
|
|
5671
5810
|
};
|
|
@@ -5739,8 +5878,8 @@ const OmbreComponent$15 = (props) => {
|
|
|
5739
5878
|
});
|
|
5740
5879
|
};
|
|
5741
5880
|
var Ripples_default = OmbreComponent$15;
|
|
5742
|
-
function computeEffectiveProps$14(props, defaultProps$
|
|
5743
|
-
let baseProps = { ...defaultProps$
|
|
5881
|
+
function computeEffectiveProps$14(props, defaultProps$56) {
|
|
5882
|
+
let baseProps = { ...defaultProps$56 };
|
|
5744
5883
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5745
5884
|
return baseProps;
|
|
5746
5885
|
}
|
|
@@ -5759,7 +5898,7 @@ var defaultProps$14 = {
|
|
|
5759
5898
|
visible: true
|
|
5760
5899
|
};
|
|
5761
5900
|
try {
|
|
5762
|
-
if (componentDefinition$
|
|
5901
|
+
if (componentDefinition$41 && componentDefinition$41.props) Object.entries(componentDefinition$41.props).forEach(([key, config]) => {
|
|
5763
5902
|
const propConfig = config;
|
|
5764
5903
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$14[key] = propConfig.default;
|
|
5765
5904
|
});
|
|
@@ -5771,7 +5910,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
5771
5910
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5772
5911
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5773
5912
|
const instanceId = useMemo(() => {
|
|
5774
|
-
return props.id || `${componentDefinition$
|
|
5913
|
+
return props.id || `${componentDefinition$41.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5775
5914
|
}, [props.id]);
|
|
5776
5915
|
const effectiveProps = useMemo(() => {
|
|
5777
5916
|
return computeEffectiveProps$14(props, defaultProps$14);
|
|
@@ -5781,7 +5920,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
5781
5920
|
...props.transform
|
|
5782
5921
|
}), [props.transform]);
|
|
5783
5922
|
const uniformsRef = useRef(null);
|
|
5784
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
5923
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$41, effectiveProps, instanceId);
|
|
5785
5924
|
const childContextValue = useMemo(() => {
|
|
5786
5925
|
return {
|
|
5787
5926
|
...context,
|
|
@@ -5803,7 +5942,7 @@ const OmbreComponent$14 = (props) => {
|
|
|
5803
5942
|
renderOrder: props.renderOrder || 0,
|
|
5804
5943
|
transform: effectiveTransform
|
|
5805
5944
|
};
|
|
5806
|
-
parentRegister(instanceId, componentDefinition$
|
|
5945
|
+
parentRegister(instanceId, componentDefinition$41.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$41);
|
|
5807
5946
|
return () => {
|
|
5808
5947
|
parentRegister(instanceId, null, null, null, null);
|
|
5809
5948
|
};
|
|
@@ -5877,8 +6016,8 @@ const OmbreComponent$14 = (props) => {
|
|
|
5877
6016
|
});
|
|
5878
6017
|
};
|
|
5879
6018
|
var Saturation_default = OmbreComponent$14;
|
|
5880
|
-
function computeEffectiveProps$13(props, defaultProps$
|
|
5881
|
-
let baseProps = { ...defaultProps$
|
|
6019
|
+
function computeEffectiveProps$13(props, defaultProps$56) {
|
|
6020
|
+
let baseProps = { ...defaultProps$56 };
|
|
5882
6021
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
5883
6022
|
return baseProps;
|
|
5884
6023
|
}
|
|
@@ -5897,7 +6036,7 @@ var defaultProps$13 = {
|
|
|
5897
6036
|
visible: true
|
|
5898
6037
|
};
|
|
5899
6038
|
try {
|
|
5900
|
-
if (componentDefinition$
|
|
6039
|
+
if (componentDefinition$42 && componentDefinition$42.props) Object.entries(componentDefinition$42.props).forEach(([key, config]) => {
|
|
5901
6040
|
const propConfig = config;
|
|
5902
6041
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$13[key] = propConfig.default;
|
|
5903
6042
|
});
|
|
@@ -5909,7 +6048,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
5909
6048
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
5910
6049
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
5911
6050
|
const instanceId = useMemo(() => {
|
|
5912
|
-
return props.id || `${componentDefinition$
|
|
6051
|
+
return props.id || `${componentDefinition$42.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
5913
6052
|
}, [props.id]);
|
|
5914
6053
|
const effectiveProps = useMemo(() => {
|
|
5915
6054
|
return computeEffectiveProps$13(props, defaultProps$13);
|
|
@@ -5919,7 +6058,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
5919
6058
|
...props.transform
|
|
5920
6059
|
}), [props.transform]);
|
|
5921
6060
|
const uniformsRef = useRef(null);
|
|
5922
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6061
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$42, effectiveProps, instanceId);
|
|
5923
6062
|
const childContextValue = useMemo(() => {
|
|
5924
6063
|
return {
|
|
5925
6064
|
...context,
|
|
@@ -5941,7 +6080,7 @@ const OmbreComponent$13 = (props) => {
|
|
|
5941
6080
|
renderOrder: props.renderOrder || 0,
|
|
5942
6081
|
transform: effectiveTransform
|
|
5943
6082
|
};
|
|
5944
|
-
parentRegister(instanceId, componentDefinition$
|
|
6083
|
+
parentRegister(instanceId, componentDefinition$42.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$42);
|
|
5945
6084
|
return () => {
|
|
5946
6085
|
parentRegister(instanceId, null, null, null, null);
|
|
5947
6086
|
};
|
|
@@ -6015,8 +6154,8 @@ const OmbreComponent$13 = (props) => {
|
|
|
6015
6154
|
});
|
|
6016
6155
|
};
|
|
6017
6156
|
var SimplexNoise_default = OmbreComponent$13;
|
|
6018
|
-
function computeEffectiveProps$12(props, defaultProps$
|
|
6019
|
-
let baseProps = { ...defaultProps$
|
|
6157
|
+
function computeEffectiveProps$12(props, defaultProps$56) {
|
|
6158
|
+
let baseProps = { ...defaultProps$56 };
|
|
6020
6159
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6021
6160
|
return baseProps;
|
|
6022
6161
|
}
|
|
@@ -6035,7 +6174,7 @@ var defaultProps$12 = {
|
|
|
6035
6174
|
visible: true
|
|
6036
6175
|
};
|
|
6037
6176
|
try {
|
|
6038
|
-
if (componentDefinition$
|
|
6177
|
+
if (componentDefinition$43 && componentDefinition$43.props) Object.entries(componentDefinition$43.props).forEach(([key, config]) => {
|
|
6039
6178
|
const propConfig = config;
|
|
6040
6179
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$12[key] = propConfig.default;
|
|
6041
6180
|
});
|
|
@@ -6047,7 +6186,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6047
6186
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6048
6187
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6049
6188
|
const instanceId = useMemo(() => {
|
|
6050
|
-
return props.id || `${componentDefinition$
|
|
6189
|
+
return props.id || `${componentDefinition$43.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6051
6190
|
}, [props.id]);
|
|
6052
6191
|
const effectiveProps = useMemo(() => {
|
|
6053
6192
|
return computeEffectiveProps$12(props, defaultProps$12);
|
|
@@ -6057,7 +6196,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6057
6196
|
...props.transform
|
|
6058
6197
|
}), [props.transform]);
|
|
6059
6198
|
const uniformsRef = useRef(null);
|
|
6060
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6199
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$43, effectiveProps, instanceId);
|
|
6061
6200
|
const childContextValue = useMemo(() => {
|
|
6062
6201
|
return {
|
|
6063
6202
|
...context,
|
|
@@ -6079,7 +6218,7 @@ const OmbreComponent$12 = (props) => {
|
|
|
6079
6218
|
renderOrder: props.renderOrder || 0,
|
|
6080
6219
|
transform: effectiveTransform
|
|
6081
6220
|
};
|
|
6082
|
-
parentRegister(instanceId, componentDefinition$
|
|
6221
|
+
parentRegister(instanceId, componentDefinition$43.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$43);
|
|
6083
6222
|
return () => {
|
|
6084
6223
|
parentRegister(instanceId, null, null, null, null);
|
|
6085
6224
|
};
|
|
@@ -6153,8 +6292,8 @@ const OmbreComponent$12 = (props) => {
|
|
|
6153
6292
|
});
|
|
6154
6293
|
};
|
|
6155
6294
|
var SineWave_default = OmbreComponent$12;
|
|
6156
|
-
function computeEffectiveProps$11(props, defaultProps$
|
|
6157
|
-
let baseProps = { ...defaultProps$
|
|
6295
|
+
function computeEffectiveProps$11(props, defaultProps$56) {
|
|
6296
|
+
let baseProps = { ...defaultProps$56 };
|
|
6158
6297
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6159
6298
|
return baseProps;
|
|
6160
6299
|
}
|
|
@@ -6173,7 +6312,7 @@ var defaultProps$11 = {
|
|
|
6173
6312
|
visible: true
|
|
6174
6313
|
};
|
|
6175
6314
|
try {
|
|
6176
|
-
if (componentDefinition$
|
|
6315
|
+
if (componentDefinition$44 && componentDefinition$44.props) Object.entries(componentDefinition$44.props).forEach(([key, config]) => {
|
|
6177
6316
|
const propConfig = config;
|
|
6178
6317
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$11[key] = propConfig.default;
|
|
6179
6318
|
});
|
|
@@ -6185,7 +6324,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6185
6324
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6186
6325
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6187
6326
|
const instanceId = useMemo(() => {
|
|
6188
|
-
return props.id || `${componentDefinition$
|
|
6327
|
+
return props.id || `${componentDefinition$44.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6189
6328
|
}, [props.id]);
|
|
6190
6329
|
const effectiveProps = useMemo(() => {
|
|
6191
6330
|
return computeEffectiveProps$11(props, defaultProps$11);
|
|
@@ -6195,7 +6334,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6195
6334
|
...props.transform
|
|
6196
6335
|
}), [props.transform]);
|
|
6197
6336
|
const uniformsRef = useRef(null);
|
|
6198
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6337
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$44, effectiveProps, instanceId);
|
|
6199
6338
|
const childContextValue = useMemo(() => {
|
|
6200
6339
|
return {
|
|
6201
6340
|
...context,
|
|
@@ -6217,7 +6356,7 @@ const OmbreComponent$11 = (props) => {
|
|
|
6217
6356
|
renderOrder: props.renderOrder || 0,
|
|
6218
6357
|
transform: effectiveTransform
|
|
6219
6358
|
};
|
|
6220
|
-
parentRegister(instanceId, componentDefinition$
|
|
6359
|
+
parentRegister(instanceId, componentDefinition$44.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$44);
|
|
6221
6360
|
return () => {
|
|
6222
6361
|
parentRegister(instanceId, null, null, null, null);
|
|
6223
6362
|
};
|
|
@@ -6291,8 +6430,8 @@ const OmbreComponent$11 = (props) => {
|
|
|
6291
6430
|
});
|
|
6292
6431
|
};
|
|
6293
6432
|
var SolidColor_default = OmbreComponent$11;
|
|
6294
|
-
function computeEffectiveProps$10(props, defaultProps$
|
|
6295
|
-
let baseProps = { ...defaultProps$
|
|
6433
|
+
function computeEffectiveProps$10(props, defaultProps$56) {
|
|
6434
|
+
let baseProps = { ...defaultProps$56 };
|
|
6296
6435
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6297
6436
|
return baseProps;
|
|
6298
6437
|
}
|
|
@@ -6311,7 +6450,7 @@ var defaultProps$10 = {
|
|
|
6311
6450
|
visible: true
|
|
6312
6451
|
};
|
|
6313
6452
|
try {
|
|
6314
|
-
if (componentDefinition$
|
|
6453
|
+
if (componentDefinition$45 && componentDefinition$45.props) Object.entries(componentDefinition$45.props).forEach(([key, config]) => {
|
|
6315
6454
|
const propConfig = config;
|
|
6316
6455
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$10[key] = propConfig.default;
|
|
6317
6456
|
});
|
|
@@ -6323,7 +6462,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6323
6462
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6324
6463
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6325
6464
|
const instanceId = useMemo(() => {
|
|
6326
|
-
return props.id || `${componentDefinition$
|
|
6465
|
+
return props.id || `${componentDefinition$45.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6327
6466
|
}, [props.id]);
|
|
6328
6467
|
const effectiveProps = useMemo(() => {
|
|
6329
6468
|
return computeEffectiveProps$10(props, defaultProps$10);
|
|
@@ -6333,7 +6472,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6333
6472
|
...props.transform
|
|
6334
6473
|
}), [props.transform]);
|
|
6335
6474
|
const uniformsRef = useRef(null);
|
|
6336
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6475
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$45, effectiveProps, instanceId);
|
|
6337
6476
|
const childContextValue = useMemo(() => {
|
|
6338
6477
|
return {
|
|
6339
6478
|
...context,
|
|
@@ -6355,7 +6494,7 @@ const OmbreComponent$10 = (props) => {
|
|
|
6355
6494
|
renderOrder: props.renderOrder || 0,
|
|
6356
6495
|
transform: effectiveTransform
|
|
6357
6496
|
};
|
|
6358
|
-
parentRegister(instanceId, componentDefinition$
|
|
6497
|
+
parentRegister(instanceId, componentDefinition$45.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$45);
|
|
6359
6498
|
return () => {
|
|
6360
6499
|
parentRegister(instanceId, null, null, null, null);
|
|
6361
6500
|
};
|
|
@@ -6429,8 +6568,8 @@ const OmbreComponent$10 = (props) => {
|
|
|
6429
6568
|
});
|
|
6430
6569
|
};
|
|
6431
6570
|
var Spherize_default = OmbreComponent$10;
|
|
6432
|
-
function computeEffectiveProps$9(props, defaultProps$
|
|
6433
|
-
let baseProps = { ...defaultProps$
|
|
6571
|
+
function computeEffectiveProps$9(props, defaultProps$56) {
|
|
6572
|
+
let baseProps = { ...defaultProps$56 };
|
|
6434
6573
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6435
6574
|
return baseProps;
|
|
6436
6575
|
}
|
|
@@ -6449,7 +6588,7 @@ var defaultProps$9 = {
|
|
|
6449
6588
|
visible: true
|
|
6450
6589
|
};
|
|
6451
6590
|
try {
|
|
6452
|
-
if (componentDefinition$
|
|
6591
|
+
if (componentDefinition$46 && componentDefinition$46.props) Object.entries(componentDefinition$46.props).forEach(([key, config]) => {
|
|
6453
6592
|
const propConfig = config;
|
|
6454
6593
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$9[key] = propConfig.default;
|
|
6455
6594
|
});
|
|
@@ -6461,7 +6600,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6461
6600
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6462
6601
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6463
6602
|
const instanceId = useMemo(() => {
|
|
6464
|
-
return props.id || `${componentDefinition$
|
|
6603
|
+
return props.id || `${componentDefinition$46.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6465
6604
|
}, [props.id]);
|
|
6466
6605
|
const effectiveProps = useMemo(() => {
|
|
6467
6606
|
return computeEffectiveProps$9(props, defaultProps$9);
|
|
@@ -6471,7 +6610,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6471
6610
|
...props.transform
|
|
6472
6611
|
}), [props.transform]);
|
|
6473
6612
|
const uniformsRef = useRef(null);
|
|
6474
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6613
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$46, effectiveProps, instanceId);
|
|
6475
6614
|
const childContextValue = useMemo(() => {
|
|
6476
6615
|
return {
|
|
6477
6616
|
...context,
|
|
@@ -6493,7 +6632,7 @@ const OmbreComponent$9 = (props) => {
|
|
|
6493
6632
|
renderOrder: props.renderOrder || 0,
|
|
6494
6633
|
transform: effectiveTransform
|
|
6495
6634
|
};
|
|
6496
|
-
parentRegister(instanceId, componentDefinition$
|
|
6635
|
+
parentRegister(instanceId, componentDefinition$46.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$46);
|
|
6497
6636
|
return () => {
|
|
6498
6637
|
parentRegister(instanceId, null, null, null, null);
|
|
6499
6638
|
};
|
|
@@ -6567,8 +6706,8 @@ const OmbreComponent$9 = (props) => {
|
|
|
6567
6706
|
});
|
|
6568
6707
|
};
|
|
6569
6708
|
var Spiral_default = OmbreComponent$9;
|
|
6570
|
-
function computeEffectiveProps$8(props, defaultProps$
|
|
6571
|
-
let baseProps = { ...defaultProps$
|
|
6709
|
+
function computeEffectiveProps$8(props, defaultProps$56) {
|
|
6710
|
+
let baseProps = { ...defaultProps$56 };
|
|
6572
6711
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6573
6712
|
return baseProps;
|
|
6574
6713
|
}
|
|
@@ -6587,7 +6726,7 @@ var defaultProps$8 = {
|
|
|
6587
6726
|
visible: true
|
|
6588
6727
|
};
|
|
6589
6728
|
try {
|
|
6590
|
-
if (componentDefinition$
|
|
6729
|
+
if (componentDefinition$47 && componentDefinition$47.props) Object.entries(componentDefinition$47.props).forEach(([key, config]) => {
|
|
6591
6730
|
const propConfig = config;
|
|
6592
6731
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$8[key] = propConfig.default;
|
|
6593
6732
|
});
|
|
@@ -6599,7 +6738,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
6599
6738
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6600
6739
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6601
6740
|
const instanceId = useMemo(() => {
|
|
6602
|
-
return props.id || `${componentDefinition$
|
|
6741
|
+
return props.id || `${componentDefinition$47.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6603
6742
|
}, [props.id]);
|
|
6604
6743
|
const effectiveProps = useMemo(() => {
|
|
6605
6744
|
return computeEffectiveProps$8(props, defaultProps$8);
|
|
@@ -6609,7 +6748,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
6609
6748
|
...props.transform
|
|
6610
6749
|
}), [props.transform]);
|
|
6611
6750
|
const uniformsRef = useRef(null);
|
|
6612
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6751
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$47, effectiveProps, instanceId);
|
|
6613
6752
|
const childContextValue = useMemo(() => {
|
|
6614
6753
|
return {
|
|
6615
6754
|
...context,
|
|
@@ -6631,7 +6770,7 @@ const OmbreComponent$8 = (props) => {
|
|
|
6631
6770
|
renderOrder: props.renderOrder || 0,
|
|
6632
6771
|
transform: effectiveTransform
|
|
6633
6772
|
};
|
|
6634
|
-
parentRegister(instanceId, componentDefinition$
|
|
6773
|
+
parentRegister(instanceId, componentDefinition$47.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$47);
|
|
6635
6774
|
return () => {
|
|
6636
6775
|
parentRegister(instanceId, null, null, null, null);
|
|
6637
6776
|
};
|
|
@@ -6705,8 +6844,8 @@ const OmbreComponent$8 = (props) => {
|
|
|
6705
6844
|
});
|
|
6706
6845
|
};
|
|
6707
6846
|
var Strands_default = OmbreComponent$8;
|
|
6708
|
-
function computeEffectiveProps$7(props, defaultProps$
|
|
6709
|
-
let baseProps = { ...defaultProps$
|
|
6847
|
+
function computeEffectiveProps$7(props, defaultProps$56) {
|
|
6848
|
+
let baseProps = { ...defaultProps$56 };
|
|
6710
6849
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6711
6850
|
return baseProps;
|
|
6712
6851
|
}
|
|
@@ -6725,7 +6864,7 @@ var defaultProps$7 = {
|
|
|
6725
6864
|
visible: true
|
|
6726
6865
|
};
|
|
6727
6866
|
try {
|
|
6728
|
-
if (componentDefinition$
|
|
6867
|
+
if (componentDefinition$48 && componentDefinition$48.props) Object.entries(componentDefinition$48.props).forEach(([key, config]) => {
|
|
6729
6868
|
const propConfig = config;
|
|
6730
6869
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$7[key] = propConfig.default;
|
|
6731
6870
|
});
|
|
@@ -6737,7 +6876,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
6737
6876
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6738
6877
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6739
6878
|
const instanceId = useMemo(() => {
|
|
6740
|
-
return props.id || `${componentDefinition$
|
|
6879
|
+
return props.id || `${componentDefinition$48.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6741
6880
|
}, [props.id]);
|
|
6742
6881
|
const effectiveProps = useMemo(() => {
|
|
6743
6882
|
return computeEffectiveProps$7(props, defaultProps$7);
|
|
@@ -6747,7 +6886,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
6747
6886
|
...props.transform
|
|
6748
6887
|
}), [props.transform]);
|
|
6749
6888
|
const uniformsRef = useRef(null);
|
|
6750
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
6889
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$48, effectiveProps, instanceId);
|
|
6751
6890
|
const childContextValue = useMemo(() => {
|
|
6752
6891
|
return {
|
|
6753
6892
|
...context,
|
|
@@ -6769,7 +6908,7 @@ const OmbreComponent$7 = (props) => {
|
|
|
6769
6908
|
renderOrder: props.renderOrder || 0,
|
|
6770
6909
|
transform: effectiveTransform
|
|
6771
6910
|
};
|
|
6772
|
-
parentRegister(instanceId, componentDefinition$
|
|
6911
|
+
parentRegister(instanceId, componentDefinition$48.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$48);
|
|
6773
6912
|
return () => {
|
|
6774
6913
|
parentRegister(instanceId, null, null, null, null);
|
|
6775
6914
|
};
|
|
@@ -6843,8 +6982,8 @@ const OmbreComponent$7 = (props) => {
|
|
|
6843
6982
|
});
|
|
6844
6983
|
};
|
|
6845
6984
|
var Stretch_default = OmbreComponent$7;
|
|
6846
|
-
function computeEffectiveProps$6(props, defaultProps$
|
|
6847
|
-
let baseProps = { ...defaultProps$
|
|
6985
|
+
function computeEffectiveProps$6(props, defaultProps$56) {
|
|
6986
|
+
let baseProps = { ...defaultProps$56 };
|
|
6848
6987
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6849
6988
|
return baseProps;
|
|
6850
6989
|
}
|
|
@@ -6863,7 +7002,7 @@ var defaultProps$6 = {
|
|
|
6863
7002
|
visible: true
|
|
6864
7003
|
};
|
|
6865
7004
|
try {
|
|
6866
|
-
if (componentDefinition$
|
|
7005
|
+
if (componentDefinition$49 && componentDefinition$49.props) Object.entries(componentDefinition$49.props).forEach(([key, config]) => {
|
|
6867
7006
|
const propConfig = config;
|
|
6868
7007
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$6[key] = propConfig.default;
|
|
6869
7008
|
});
|
|
@@ -6875,7 +7014,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
6875
7014
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
6876
7015
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
6877
7016
|
const instanceId = useMemo(() => {
|
|
6878
|
-
return props.id || `${componentDefinition$
|
|
7017
|
+
return props.id || `${componentDefinition$49.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
6879
7018
|
}, [props.id]);
|
|
6880
7019
|
const effectiveProps = useMemo(() => {
|
|
6881
7020
|
return computeEffectiveProps$6(props, defaultProps$6);
|
|
@@ -6885,7 +7024,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
6885
7024
|
...props.transform
|
|
6886
7025
|
}), [props.transform]);
|
|
6887
7026
|
const uniformsRef = useRef(null);
|
|
6888
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7027
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$49, effectiveProps, instanceId);
|
|
6889
7028
|
const childContextValue = useMemo(() => {
|
|
6890
7029
|
return {
|
|
6891
7030
|
...context,
|
|
@@ -6907,7 +7046,7 @@ const OmbreComponent$6 = (props) => {
|
|
|
6907
7046
|
renderOrder: props.renderOrder || 0,
|
|
6908
7047
|
transform: effectiveTransform
|
|
6909
7048
|
};
|
|
6910
|
-
parentRegister(instanceId, componentDefinition$
|
|
7049
|
+
parentRegister(instanceId, componentDefinition$49.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$49);
|
|
6911
7050
|
return () => {
|
|
6912
7051
|
parentRegister(instanceId, null, null, null, null);
|
|
6913
7052
|
};
|
|
@@ -6981,8 +7120,8 @@ const OmbreComponent$6 = (props) => {
|
|
|
6981
7120
|
});
|
|
6982
7121
|
};
|
|
6983
7122
|
var Swirl_default = OmbreComponent$6;
|
|
6984
|
-
function computeEffectiveProps$5(props, defaultProps$
|
|
6985
|
-
let baseProps = { ...defaultProps$
|
|
7123
|
+
function computeEffectiveProps$5(props, defaultProps$56) {
|
|
7124
|
+
let baseProps = { ...defaultProps$56 };
|
|
6986
7125
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
6987
7126
|
return baseProps;
|
|
6988
7127
|
}
|
|
@@ -7001,7 +7140,7 @@ var defaultProps$5 = {
|
|
|
7001
7140
|
visible: true
|
|
7002
7141
|
};
|
|
7003
7142
|
try {
|
|
7004
|
-
if (componentDefinition$
|
|
7143
|
+
if (componentDefinition$50 && componentDefinition$50.props) Object.entries(componentDefinition$50.props).forEach(([key, config]) => {
|
|
7005
7144
|
const propConfig = config;
|
|
7006
7145
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$5[key] = propConfig.default;
|
|
7007
7146
|
});
|
|
@@ -7013,7 +7152,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7013
7152
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7014
7153
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7015
7154
|
const instanceId = useMemo(() => {
|
|
7016
|
-
return props.id || `${componentDefinition$
|
|
7155
|
+
return props.id || `${componentDefinition$50.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7017
7156
|
}, [props.id]);
|
|
7018
7157
|
const effectiveProps = useMemo(() => {
|
|
7019
7158
|
return computeEffectiveProps$5(props, defaultProps$5);
|
|
@@ -7023,7 +7162,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7023
7162
|
...props.transform
|
|
7024
7163
|
}), [props.transform]);
|
|
7025
7164
|
const uniformsRef = useRef(null);
|
|
7026
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7165
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$50, effectiveProps, instanceId);
|
|
7027
7166
|
const childContextValue = useMemo(() => {
|
|
7028
7167
|
return {
|
|
7029
7168
|
...context,
|
|
@@ -7045,7 +7184,7 @@ const OmbreComponent$5 = (props) => {
|
|
|
7045
7184
|
renderOrder: props.renderOrder || 0,
|
|
7046
7185
|
transform: effectiveTransform
|
|
7047
7186
|
};
|
|
7048
|
-
parentRegister(instanceId, componentDefinition$
|
|
7187
|
+
parentRegister(instanceId, componentDefinition$50.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$50);
|
|
7049
7188
|
return () => {
|
|
7050
7189
|
parentRegister(instanceId, null, null, null, null);
|
|
7051
7190
|
};
|
|
@@ -7119,8 +7258,8 @@ const OmbreComponent$5 = (props) => {
|
|
|
7119
7258
|
});
|
|
7120
7259
|
};
|
|
7121
7260
|
var TiltShift_default = OmbreComponent$5;
|
|
7122
|
-
function computeEffectiveProps$4(props, defaultProps$
|
|
7123
|
-
let baseProps = { ...defaultProps$
|
|
7261
|
+
function computeEffectiveProps$4(props, defaultProps$56) {
|
|
7262
|
+
let baseProps = { ...defaultProps$56 };
|
|
7124
7263
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7125
7264
|
return baseProps;
|
|
7126
7265
|
}
|
|
@@ -7139,7 +7278,7 @@ var defaultProps$4 = {
|
|
|
7139
7278
|
visible: true
|
|
7140
7279
|
};
|
|
7141
7280
|
try {
|
|
7142
|
-
if (componentDefinition$
|
|
7281
|
+
if (componentDefinition$51 && componentDefinition$51.props) Object.entries(componentDefinition$51.props).forEach(([key, config]) => {
|
|
7143
7282
|
const propConfig = config;
|
|
7144
7283
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$4[key] = propConfig.default;
|
|
7145
7284
|
});
|
|
@@ -7151,7 +7290,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7151
7290
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7152
7291
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7153
7292
|
const instanceId = useMemo(() => {
|
|
7154
|
-
return props.id || `${componentDefinition$
|
|
7293
|
+
return props.id || `${componentDefinition$51.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7155
7294
|
}, [props.id]);
|
|
7156
7295
|
const effectiveProps = useMemo(() => {
|
|
7157
7296
|
return computeEffectiveProps$4(props, defaultProps$4);
|
|
@@ -7161,7 +7300,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7161
7300
|
...props.transform
|
|
7162
7301
|
}), [props.transform]);
|
|
7163
7302
|
const uniformsRef = useRef(null);
|
|
7164
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7303
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$51, effectiveProps, instanceId);
|
|
7165
7304
|
const childContextValue = useMemo(() => {
|
|
7166
7305
|
return {
|
|
7167
7306
|
...context,
|
|
@@ -7183,7 +7322,7 @@ const OmbreComponent$4 = (props) => {
|
|
|
7183
7322
|
renderOrder: props.renderOrder || 0,
|
|
7184
7323
|
transform: effectiveTransform
|
|
7185
7324
|
};
|
|
7186
|
-
parentRegister(instanceId, componentDefinition$
|
|
7325
|
+
parentRegister(instanceId, componentDefinition$51.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$51);
|
|
7187
7326
|
return () => {
|
|
7188
7327
|
parentRegister(instanceId, null, null, null, null);
|
|
7189
7328
|
};
|
|
@@ -7257,8 +7396,8 @@ const OmbreComponent$4 = (props) => {
|
|
|
7257
7396
|
});
|
|
7258
7397
|
};
|
|
7259
7398
|
var Tritone_default = OmbreComponent$4;
|
|
7260
|
-
function computeEffectiveProps$3(props, defaultProps$
|
|
7261
|
-
let baseProps = { ...defaultProps$
|
|
7399
|
+
function computeEffectiveProps$3(props, defaultProps$56) {
|
|
7400
|
+
let baseProps = { ...defaultProps$56 };
|
|
7262
7401
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7263
7402
|
return baseProps;
|
|
7264
7403
|
}
|
|
@@ -7277,7 +7416,7 @@ var defaultProps$3 = {
|
|
|
7277
7416
|
visible: true
|
|
7278
7417
|
};
|
|
7279
7418
|
try {
|
|
7280
|
-
if (componentDefinition$
|
|
7419
|
+
if (componentDefinition$52 && componentDefinition$52.props) Object.entries(componentDefinition$52.props).forEach(([key, config]) => {
|
|
7281
7420
|
const propConfig = config;
|
|
7282
7421
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$3[key] = propConfig.default;
|
|
7283
7422
|
});
|
|
@@ -7289,7 +7428,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7289
7428
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7290
7429
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7291
7430
|
const instanceId = useMemo(() => {
|
|
7292
|
-
return props.id || `${componentDefinition$
|
|
7431
|
+
return props.id || `${componentDefinition$52.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7293
7432
|
}, [props.id]);
|
|
7294
7433
|
const effectiveProps = useMemo(() => {
|
|
7295
7434
|
return computeEffectiveProps$3(props, defaultProps$3);
|
|
@@ -7299,7 +7438,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7299
7438
|
...props.transform
|
|
7300
7439
|
}), [props.transform]);
|
|
7301
7440
|
const uniformsRef = useRef(null);
|
|
7302
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7441
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$52, effectiveProps, instanceId);
|
|
7303
7442
|
const childContextValue = useMemo(() => {
|
|
7304
7443
|
return {
|
|
7305
7444
|
...context,
|
|
@@ -7321,7 +7460,7 @@ const OmbreComponent$3 = (props) => {
|
|
|
7321
7460
|
renderOrder: props.renderOrder || 0,
|
|
7322
7461
|
transform: effectiveTransform
|
|
7323
7462
|
};
|
|
7324
|
-
parentRegister(instanceId, componentDefinition$
|
|
7463
|
+
parentRegister(instanceId, componentDefinition$52.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$52);
|
|
7325
7464
|
return () => {
|
|
7326
7465
|
parentRegister(instanceId, null, null, null, null);
|
|
7327
7466
|
};
|
|
@@ -7395,8 +7534,8 @@ const OmbreComponent$3 = (props) => {
|
|
|
7395
7534
|
});
|
|
7396
7535
|
};
|
|
7397
7536
|
var Twirl_default = OmbreComponent$3;
|
|
7398
|
-
function computeEffectiveProps$2(props, defaultProps$
|
|
7399
|
-
let baseProps = { ...defaultProps$
|
|
7537
|
+
function computeEffectiveProps$2(props, defaultProps$56) {
|
|
7538
|
+
let baseProps = { ...defaultProps$56 };
|
|
7400
7539
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7401
7540
|
return baseProps;
|
|
7402
7541
|
}
|
|
@@ -7415,7 +7554,7 @@ var defaultProps$2 = {
|
|
|
7415
7554
|
visible: true
|
|
7416
7555
|
};
|
|
7417
7556
|
try {
|
|
7418
|
-
if (componentDefinition$
|
|
7557
|
+
if (componentDefinition$53 && componentDefinition$53.props) Object.entries(componentDefinition$53.props).forEach(([key, config]) => {
|
|
7419
7558
|
const propConfig = config;
|
|
7420
7559
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$2[key] = propConfig.default;
|
|
7421
7560
|
});
|
|
@@ -7427,7 +7566,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7427
7566
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7428
7567
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7429
7568
|
const instanceId = useMemo(() => {
|
|
7430
|
-
return props.id || `${componentDefinition$
|
|
7569
|
+
return props.id || `${componentDefinition$53.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7431
7570
|
}, [props.id]);
|
|
7432
7571
|
const effectiveProps = useMemo(() => {
|
|
7433
7572
|
return computeEffectiveProps$2(props, defaultProps$2);
|
|
@@ -7437,7 +7576,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7437
7576
|
...props.transform
|
|
7438
7577
|
}), [props.transform]);
|
|
7439
7578
|
const uniformsRef = useRef(null);
|
|
7440
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7579
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$53, effectiveProps, instanceId);
|
|
7441
7580
|
const childContextValue = useMemo(() => {
|
|
7442
7581
|
return {
|
|
7443
7582
|
...context,
|
|
@@ -7459,7 +7598,7 @@ const OmbreComponent$2 = (props) => {
|
|
|
7459
7598
|
renderOrder: props.renderOrder || 0,
|
|
7460
7599
|
transform: effectiveTransform
|
|
7461
7600
|
};
|
|
7462
|
-
parentRegister(instanceId, componentDefinition$
|
|
7601
|
+
parentRegister(instanceId, componentDefinition$53.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$53);
|
|
7463
7602
|
return () => {
|
|
7464
7603
|
parentRegister(instanceId, null, null, null, null);
|
|
7465
7604
|
};
|
|
@@ -7533,8 +7672,8 @@ const OmbreComponent$2 = (props) => {
|
|
|
7533
7672
|
});
|
|
7534
7673
|
};
|
|
7535
7674
|
var Vibrance_default = OmbreComponent$2;
|
|
7536
|
-
function computeEffectiveProps$1(props, defaultProps$
|
|
7537
|
-
let baseProps = { ...defaultProps$
|
|
7675
|
+
function computeEffectiveProps$1(props, defaultProps$56) {
|
|
7676
|
+
let baseProps = { ...defaultProps$56 };
|
|
7538
7677
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7539
7678
|
return baseProps;
|
|
7540
7679
|
}
|
|
@@ -7553,7 +7692,7 @@ var defaultProps$1 = {
|
|
|
7553
7692
|
visible: true
|
|
7554
7693
|
};
|
|
7555
7694
|
try {
|
|
7556
|
-
if (componentDefinition$
|
|
7695
|
+
if (componentDefinition$54 && componentDefinition$54.props) Object.entries(componentDefinition$54.props).forEach(([key, config]) => {
|
|
7557
7696
|
const propConfig = config;
|
|
7558
7697
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps$1[key] = propConfig.default;
|
|
7559
7698
|
});
|
|
@@ -7565,7 +7704,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
7565
7704
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7566
7705
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7567
7706
|
const instanceId = useMemo(() => {
|
|
7568
|
-
return props.id || `${componentDefinition$
|
|
7707
|
+
return props.id || `${componentDefinition$54.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7569
7708
|
}, [props.id]);
|
|
7570
7709
|
const effectiveProps = useMemo(() => {
|
|
7571
7710
|
return computeEffectiveProps$1(props, defaultProps$1);
|
|
@@ -7575,7 +7714,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
7575
7714
|
...props.transform
|
|
7576
7715
|
}), [props.transform]);
|
|
7577
7716
|
const uniformsRef = useRef(null);
|
|
7578
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7717
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$54, effectiveProps, instanceId);
|
|
7579
7718
|
const childContextValue = useMemo(() => {
|
|
7580
7719
|
return {
|
|
7581
7720
|
...context,
|
|
@@ -7597,7 +7736,7 @@ const OmbreComponent$1 = (props) => {
|
|
|
7597
7736
|
renderOrder: props.renderOrder || 0,
|
|
7598
7737
|
transform: effectiveTransform
|
|
7599
7738
|
};
|
|
7600
|
-
parentRegister(instanceId, componentDefinition$
|
|
7739
|
+
parentRegister(instanceId, componentDefinition$54.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$54);
|
|
7601
7740
|
return () => {
|
|
7602
7741
|
parentRegister(instanceId, null, null, null, null);
|
|
7603
7742
|
};
|
|
@@ -7671,8 +7810,8 @@ const OmbreComponent$1 = (props) => {
|
|
|
7671
7810
|
});
|
|
7672
7811
|
};
|
|
7673
7812
|
var WaveDistortion_default = OmbreComponent$1;
|
|
7674
|
-
function computeEffectiveProps(props, defaultProps$
|
|
7675
|
-
let baseProps = { ...defaultProps$
|
|
7813
|
+
function computeEffectiveProps(props, defaultProps$56) {
|
|
7814
|
+
let baseProps = { ...defaultProps$56 };
|
|
7676
7815
|
for (const [key, value] of Object.entries(props)) if (key !== "children" && key !== "ref" && value !== void 0) baseProps[key] = value;
|
|
7677
7816
|
return baseProps;
|
|
7678
7817
|
}
|
|
@@ -7691,7 +7830,7 @@ var defaultProps = {
|
|
|
7691
7830
|
visible: true
|
|
7692
7831
|
};
|
|
7693
7832
|
try {
|
|
7694
|
-
if (componentDefinition$
|
|
7833
|
+
if (componentDefinition$55 && componentDefinition$55.props) Object.entries(componentDefinition$55.props).forEach(([key, config]) => {
|
|
7695
7834
|
const propConfig = config;
|
|
7696
7835
|
if (propConfig && typeof propConfig === "object" && "default" in propConfig) defaultProps[key] = propConfig.default;
|
|
7697
7836
|
});
|
|
@@ -7703,7 +7842,7 @@ const OmbreComponent = (props) => {
|
|
|
7703
7842
|
if (!context) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
7704
7843
|
const { ombreParentId: parentId, ombreNodeRegister: parentRegister, ombreUniformUpdate: parentUniformUpdate, ombreMetadataUpdate: parentMetadataUpdate } = context;
|
|
7705
7844
|
const instanceId = useMemo(() => {
|
|
7706
|
-
return props.id || `${componentDefinition$
|
|
7845
|
+
return props.id || `${componentDefinition$55.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
|
|
7707
7846
|
}, [props.id]);
|
|
7708
7847
|
const effectiveProps = useMemo(() => {
|
|
7709
7848
|
return computeEffectiveProps(props, defaultProps);
|
|
@@ -7713,7 +7852,7 @@ const OmbreComponent = (props) => {
|
|
|
7713
7852
|
...props.transform
|
|
7714
7853
|
}), [props.transform]);
|
|
7715
7854
|
const uniformsRef = useRef(null);
|
|
7716
|
-
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$
|
|
7855
|
+
if (uniformsRef.current === null) uniformsRef.current = createUniformsMap(componentDefinition$55, effectiveProps, instanceId);
|
|
7717
7856
|
const childContextValue = useMemo(() => {
|
|
7718
7857
|
return {
|
|
7719
7858
|
...context,
|
|
@@ -7735,7 +7874,7 @@ const OmbreComponent = (props) => {
|
|
|
7735
7874
|
renderOrder: props.renderOrder || 0,
|
|
7736
7875
|
transform: effectiveTransform
|
|
7737
7876
|
};
|
|
7738
|
-
parentRegister(instanceId, componentDefinition$
|
|
7877
|
+
parentRegister(instanceId, componentDefinition$55.fragmentNode, parentId, metadata, uniformsRef.current, componentDefinition$55);
|
|
7739
7878
|
return () => {
|
|
7740
7879
|
parentRegister(instanceId, null, null, null, null);
|
|
7741
7880
|
};
|
|
@@ -7809,4 +7948,4 @@ const OmbreComponent = (props) => {
|
|
|
7809
7948
|
});
|
|
7810
7949
|
};
|
|
7811
7950
|
var ZoomBlur_default = OmbreComponent;
|
|
7812
|
-
export { AngularBlur_default as AngularBlur, Ascii_default as Ascii, Beam_default as Beam, Blob_default as Blob, Blur_default as Blur, Bulge_default as Bulge, CRTScreen_default as CRTScreen, ChannelBlur_default as ChannelBlur, Checkerboard_default as Checkerboard, ChromaFlow_default as ChromaFlow, ChromaticAberration_default as ChromaticAberration, Circle_default as Circle, CursorTrail_default as CursorTrail, DiffuseBlur_default as DiffuseBlur, Dither_default as Dither, DotGrid_default as DotGrid, Duotone_default as Duotone, FilmGrain_default as FilmGrain, FloatingParticles_default as FloatingParticles, GlassTiles_default as GlassTiles, Glow_default as Glow, Godrays_default as Godrays, Grayscale_default as Grayscale, Grid_default as Grid, GridDistortion_default as GridDistortion, Group_default as Group, Halftone_default as Halftone, HueShift_default as HueShift, ImageTexture_default as ImageTexture, Invert_default as Invert, LinearBlur_default as LinearBlur, LinearGradient_default as LinearGradient, Liquify_default as Liquify, Pixelate_default as Pixelate, PolarCoordinates_default as PolarCoordinates, Posterize_default as Posterize, ProgressiveBlur_default as ProgressiveBlur, RadialGradient_default as RadialGradient, RectangularCoordinates_default as RectangularCoordinates, Ripples_default as Ripples, Saturation_default as Saturation, Shader_default as Shader, SimplexNoise_default as SimplexNoise, SineWave_default as SineWave, SolidColor_default as SolidColor, Spherize_default as Spherize, Spiral_default as Spiral, Strands_default as Strands, Stretch_default as Stretch, Swirl_default as Swirl, TiltShift_default as TiltShift, Tritone_default as Tritone, Twirl_default as Twirl, Vibrance_default as Vibrance, WaveDistortion_default as WaveDistortion, ZoomBlur_default as ZoomBlur, generatePresetCode };
|
|
7951
|
+
export { AngularBlur_default as AngularBlur, Ascii_default as Ascii, Beam_default as Beam, Blob_default as Blob, Blur_default as Blur, BrightnessContrast_default as BrightnessContrast, Bulge_default as Bulge, CRTScreen_default as CRTScreen, ChannelBlur_default as ChannelBlur, Checkerboard_default as Checkerboard, ChromaFlow_default as ChromaFlow, ChromaticAberration_default as ChromaticAberration, Circle_default as Circle, CursorTrail_default as CursorTrail, DiffuseBlur_default as DiffuseBlur, Dither_default as Dither, DotGrid_default as DotGrid, Duotone_default as Duotone, FilmGrain_default as FilmGrain, FloatingParticles_default as FloatingParticles, GlassTiles_default as GlassTiles, Glow_default as Glow, Godrays_default as Godrays, Grayscale_default as Grayscale, Grid_default as Grid, GridDistortion_default as GridDistortion, Group_default as Group, Halftone_default as Halftone, HueShift_default as HueShift, ImageTexture_default as ImageTexture, Invert_default as Invert, LinearBlur_default as LinearBlur, LinearGradient_default as LinearGradient, Liquify_default as Liquify, Pixelate_default as Pixelate, PolarCoordinates_default as PolarCoordinates, Posterize_default as Posterize, ProgressiveBlur_default as ProgressiveBlur, RadialGradient_default as RadialGradient, RectangularCoordinates_default as RectangularCoordinates, Ripples_default as Ripples, Saturation_default as Saturation, Shader_default as Shader, SimplexNoise_default as SimplexNoise, SineWave_default as SineWave, SolidColor_default as SolidColor, Spherize_default as Spherize, Spiral_default as Spiral, Strands_default as Strands, Stretch_default as Stretch, Swirl_default as Swirl, TiltShift_default as TiltShift, Tritone_default as Tritone, Twirl_default as Twirl, Vibrance_default as Vibrance, WaveDistortion_default as WaveDistortion, ZoomBlur_default as ZoomBlur, generatePresetCode };
|