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