shaders 2.2.32 → 2.2.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/core/BrightnessContrast-CaErceqR.js +43 -0
  2. package/dist/core/index.js +120 -107
  3. package/dist/core/renderer.d.ts +1 -0
  4. package/dist/core/renderer.d.ts.map +1 -1
  5. package/dist/core/shaderRegistry.d.ts.map +1 -1
  6. package/dist/core/shaders/BrightnessContrast/index.d.ts +21 -0
  7. package/dist/core/shaders/BrightnessContrast/index.d.ts.map +1 -0
  8. package/dist/core/shaders/BrightnessContrast/index.js +2 -0
  9. package/dist/core/shaders/Bulge/index.js +1 -1
  10. package/dist/core/shaders/CRTScreen/index.js +1 -1
  11. package/dist/core/shaders/ChannelBlur/index.js +1 -1
  12. package/dist/core/shaders/Checkerboard/index.js +1 -1
  13. package/dist/core/shaders/ChromaFlow/index.js +1 -1
  14. package/dist/core/shaders/ChromaticAberration/index.js +1 -1
  15. package/dist/core/shaders/Circle/index.js +1 -1
  16. package/dist/core/shaders/CursorTrail/index.js +1 -1
  17. package/dist/core/shaders/DiffuseBlur/index.js +1 -1
  18. package/dist/core/shaders/Dither/index.js +1 -1
  19. package/dist/core/shaders/DotGrid/index.js +1 -1
  20. package/dist/core/shaders/Duotone/index.js +1 -1
  21. package/dist/core/shaders/FilmGrain/index.js +1 -1
  22. package/dist/core/shaders/FloatingParticles/index.js +1 -1
  23. package/dist/core/shaders/GlassTiles/index.js +1 -1
  24. package/dist/core/shaders/Glow/index.js +1 -1
  25. package/dist/core/shaders/Godrays/index.js +1 -1
  26. package/dist/core/shaders/Grayscale/index.js +1 -1
  27. package/dist/core/shaders/Grid/index.js +1 -1
  28. package/dist/core/shaders/GridDistortion/index.js +1 -1
  29. package/dist/core/shaders/Group/index.js +1 -1
  30. package/dist/core/shaders/Halftone/index.js +1 -1
  31. package/dist/core/shaders/HueShift/index.js +1 -1
  32. package/dist/core/shaders/ImageTexture/index.js +1 -1
  33. package/dist/core/shaders/Invert/index.js +1 -1
  34. package/dist/core/shaders/LinearBlur/index.js +1 -1
  35. package/dist/core/shaders/LinearGradient/index.js +1 -1
  36. package/dist/core/shaders/Liquify/index.js +1 -1
  37. package/dist/core/shaders/Pixelate/index.js +1 -1
  38. package/dist/core/shaders/PolarCoordinates/index.js +1 -1
  39. package/dist/core/shaders/Posterize/index.js +1 -1
  40. package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
  41. package/dist/core/shaders/RadialGradient/index.js +1 -1
  42. package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
  43. package/dist/core/shaders/Ripples/index.js +1 -1
  44. package/dist/core/shaders/Saturation/index.js +1 -1
  45. package/dist/core/shaders/SimplexNoise/index.js +1 -1
  46. package/dist/core/shaders/SineWave/index.js +1 -1
  47. package/dist/core/shaders/SolidColor/index.js +1 -1
  48. package/dist/core/shaders/Spherize/index.js +1 -1
  49. package/dist/core/shaders/Spiral/index.js +1 -1
  50. package/dist/core/shaders/Strands/index.js +1 -1
  51. package/dist/core/shaders/Stretch/index.js +1 -1
  52. package/dist/core/shaders/Swirl/index.js +1 -1
  53. package/dist/core/shaders/TiltShift/index.js +1 -1
  54. package/dist/core/shaders/Tritone/index.js +1 -1
  55. package/dist/core/shaders/Twirl/index.js +1 -1
  56. package/dist/core/shaders/Vibrance/index.js +1 -1
  57. package/dist/core/shaders/WaveDistortion/index.js +1 -1
  58. package/dist/core/shaders/ZoomBlur/index.js +1 -1
  59. package/dist/react/components/BrightnessContrast.d.ts +31 -0
  60. package/dist/react/components/BrightnessContrast.d.ts.map +1 -0
  61. package/dist/react/{generatePresetCode-Ci4D5lDy.js → generatePresetCode-CwTRhENe.js} +7 -0
  62. package/dist/react/index.d.ts +1 -0
  63. package/dist/react/index.d.ts.map +1 -1
  64. package/dist/react/index.js +528 -389
  65. package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
  66. package/dist/react/utils/generatePresetCode.js +1 -1
  67. package/dist/registry.js +61 -0
  68. package/dist/solid/components/BrightnessContrast.d.ts +28 -0
  69. package/dist/solid/components/BrightnessContrast.d.ts.map +1 -0
  70. package/dist/solid/index.d.ts +1 -0
  71. package/dist/solid/index.d.ts.map +1 -1
  72. package/dist/solid/index.js +471 -330
  73. package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
  74. package/dist/solid/utils/generatePresetCode.js +7 -0
  75. package/dist/svelte/components/BrightnessContrast.svelte.d.ts +19 -0
  76. package/dist/svelte/{generatePresetCode-hILbcEw8.js → generatePresetCode-Qh7jlXV3.js} +7 -0
  77. package/dist/svelte/index.d.ts +1 -0
  78. package/dist/svelte/index.js +213 -102
  79. package/dist/svelte/utils/generatePresetCode.js +1 -1
  80. package/dist/vue/components/BrightnessContrast.vue.d.ts +57 -0
  81. package/dist/vue/components/BrightnessContrast.vue.d.ts.map +1 -0
  82. package/dist/vue/engine/Shader.vue.d.ts.map +1 -1
  83. package/dist/vue/{generatePresetCode-DfkHaBG4.js → generatePresetCode-Bf-TQPvI.js} +7 -0
  84. package/dist/vue/index.d.ts +1 -0
  85. package/dist/vue/index.d.ts.map +1 -1
  86. package/dist/vue/index.js +493 -369
  87. package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
  88. package/dist/vue/utils/generatePresetCode.js +1 -1
  89. package/package.json +9 -1
  90. /package/dist/core/{Bulge-C8-_hIFp.js → Bulge-BVcWo6On.js} +0 -0
  91. /package/dist/core/{CRTScreen-DLy8Rig6.js → CRTScreen-CcAYeqoI.js} +0 -0
  92. /package/dist/core/{ChannelBlur-BPOGOQXl.js → ChannelBlur-CQoP7Igg.js} +0 -0
  93. /package/dist/core/{Checkerboard-D_H3XYbF.js → Checkerboard-D_hGvoO7.js} +0 -0
  94. /package/dist/core/{ChromaFlow-DhzC_8Ne.js → ChromaFlow-DizYQSgf.js} +0 -0
  95. /package/dist/core/{ChromaticAberration-hi7WGiVk.js → ChromaticAberration-Bk_DMYJm.js} +0 -0
  96. /package/dist/core/{Circle-DI0gXpyD.js → Circle-BlVzkeyl.js} +0 -0
  97. /package/dist/core/{CursorTrail-B9EQ9FsP.js → CursorTrail-CxXWV7KH.js} +0 -0
  98. /package/dist/core/{DiffuseBlur-Cg7AsB3W.js → DiffuseBlur-BTSRl65K.js} +0 -0
  99. /package/dist/core/{Dither-Bb5rLGEI.js → Dither-C1KyBYuE.js} +0 -0
  100. /package/dist/core/{DotGrid-B2DXsjFE.js → DotGrid-ll8XCA0p.js} +0 -0
  101. /package/dist/core/{Duotone-CRwhugbV.js → Duotone-d2gQJr4M.js} +0 -0
  102. /package/dist/core/{FilmGrain-CY4ZO9UI.js → FilmGrain-3h6TIe1T.js} +0 -0
  103. /package/dist/core/{FloatingParticles-BduIDXKd.js → FloatingParticles-B6KvHecR.js} +0 -0
  104. /package/dist/core/{GlassTiles-BaAwsNxl.js → GlassTiles-DqT67iqr.js} +0 -0
  105. /package/dist/core/{Glow-D0boDIAW.js → Glow-BYNKuw0E.js} +0 -0
  106. /package/dist/core/{Godrays-ChqiT2zn.js → Godrays-iMO6X606.js} +0 -0
  107. /package/dist/core/{Grayscale-Bi-XBvO_.js → Grayscale-BH3tLDGN.js} +0 -0
  108. /package/dist/core/{Grid-DazyiX15.js → Grid-CdslWvoH.js} +0 -0
  109. /package/dist/core/{GridDistortion-CYQUwuXw.js → GridDistortion-D-iiGELF.js} +0 -0
  110. /package/dist/core/{Group-C0AknFDS.js → Group-ByGv48Lm.js} +0 -0
  111. /package/dist/core/{Halftone-Ddrldk6b.js → Halftone-CV0aFuRG.js} +0 -0
  112. /package/dist/core/{HueShift-DvOpzM7W.js → HueShift-DQ2WgImx.js} +0 -0
  113. /package/dist/core/{ImageTexture-D0xwHmkW.js → ImageTexture-DKFb8ze3.js} +0 -0
  114. /package/dist/core/{Invert-Bmjbp6g6.js → Invert-w9duGaUu.js} +0 -0
  115. /package/dist/core/{LinearBlur-cYfqaOhb.js → LinearBlur-CTXjolzL.js} +0 -0
  116. /package/dist/core/{LinearGradient-B6ySxWpU.js → LinearGradient-CZo6e7r8.js} +0 -0
  117. /package/dist/core/{Liquify-yoKWSK0F.js → Liquify-BbfDBMNZ.js} +0 -0
  118. /package/dist/core/{Pixelate-BmE_Zryn.js → Pixelate-C5Rx1dBp.js} +0 -0
  119. /package/dist/core/{PolarCoordinates-PLyS00-P.js → PolarCoordinates-CIh5ef8m.js} +0 -0
  120. /package/dist/core/{Posterize-DIjjPS72.js → Posterize-Byy0Ek0l.js} +0 -0
  121. /package/dist/core/{ProgressiveBlur-XD4ivmMn.js → ProgressiveBlur-Bzz24_y-.js} +0 -0
  122. /package/dist/core/{RadialGradient-pwKyDUBu.js → RadialGradient-Ci1dU-1K.js} +0 -0
  123. /package/dist/core/{RectangularCoordinates-Dq2JrmOX.js → RectangularCoordinates-tVGG7WOJ.js} +0 -0
  124. /package/dist/core/{Ripples-Ot1rx8kL.js → Ripples-BCGSt5HD.js} +0 -0
  125. /package/dist/core/{Saturation-J0nI4hmh.js → Saturation-DWR1Nruu.js} +0 -0
  126. /package/dist/core/{SimplexNoise-BfilWh05.js → SimplexNoise-CAtknQS7.js} +0 -0
  127. /package/dist/core/{SineWave-DRqL-jda.js → SineWave-CHtV6kB4.js} +0 -0
  128. /package/dist/core/{SolidColor-B62ZBRlK.js → SolidColor-CSSquNVW.js} +0 -0
  129. /package/dist/core/{Spherize-DDP0_5VP.js → Spherize-BJby0xSU.js} +0 -0
  130. /package/dist/core/{Spiral-Cx7Z8gLc.js → Spiral-CpB3-tFZ.js} +0 -0
  131. /package/dist/core/{Strands-C9FBVtDe.js → Strands-C2KWiJc8.js} +0 -0
  132. /package/dist/core/{Stretch-BCpOO3q6.js → Stretch-Chpzutao.js} +0 -0
  133. /package/dist/core/{Swirl-BfD35doJ.js → Swirl-qbMypv_R.js} +0 -0
  134. /package/dist/core/{TiltShift-CvKqM1xk.js → TiltShift-D0qyWoe3.js} +0 -0
  135. /package/dist/core/{Tritone-BeEJj4U0.js → Tritone-DzeueG1F.js} +0 -0
  136. /package/dist/core/{Twirl-EJ3aS_lo.js → Twirl-B2Ic0WGq.js} +0 -0
  137. /package/dist/core/{Vibrance-BI5q7_Wt.js → Vibrance-BAGXelBi.js} +0 -0
  138. /package/dist/core/{WaveDistortion-BOWBSWEU.js → WaveDistortion-DYFl_8vA.js} +0 -0
  139. /package/dist/core/{ZoomBlur-gB0BxldE.js → ZoomBlur-CXpRNRJA.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { n as generatePresetCode } from "./generatePresetCode-hILbcEw8.js";
1
+ import { n as generatePresetCode } from "./generatePresetCode-Qh7jlXV3.js";
2
2
  import "svelte/internal/disclose-version";
3
3
  import * as $ from "svelte/internal/client";
4
4
  import { getContext, onDestroy, onMount, setContext } from "svelte";
@@ -8,56 +8,57 @@ import { componentDefinition as componentDefinition$1 } from "../core/shaders/As
8
8
  import { componentDefinition as componentDefinition$2 } from "../core/shaders/Beam/index.js";
9
9
  import { componentDefinition as componentDefinition$3 } from "../core/shaders/Blob/index.js";
10
10
  import { componentDefinition as componentDefinition$4 } from "../core/shaders/Blur/index.js";
11
- import { componentDefinition as componentDefinition$5 } from "../core/shaders/Bulge/index.js";
12
- import { componentDefinition as componentDefinition$6 } from "../core/shaders/CRTScreen/index.js";
13
- import { componentDefinition as componentDefinition$7 } from "../core/shaders/ChannelBlur/index.js";
14
- import { componentDefinition as componentDefinition$8 } from "../core/shaders/Checkerboard/index.js";
15
- import { componentDefinition as componentDefinition$9 } from "../core/shaders/ChromaFlow/index.js";
16
- import { componentDefinition as componentDefinition$10 } from "../core/shaders/ChromaticAberration/index.js";
17
- import { componentDefinition as componentDefinition$11 } from "../core/shaders/Circle/index.js";
18
- import { componentDefinition as componentDefinition$12 } from "../core/shaders/CursorTrail/index.js";
19
- import { componentDefinition as componentDefinition$13 } from "../core/shaders/DiffuseBlur/index.js";
20
- import { componentDefinition as componentDefinition$14 } from "../core/shaders/Dither/index.js";
21
- import { componentDefinition as componentDefinition$15 } from "../core/shaders/DotGrid/index.js";
22
- import { componentDefinition as componentDefinition$16 } from "../core/shaders/Duotone/index.js";
23
- import { componentDefinition as componentDefinition$17 } from "../core/shaders/FilmGrain/index.js";
24
- import { componentDefinition as componentDefinition$18 } from "../core/shaders/FloatingParticles/index.js";
25
- import { componentDefinition as componentDefinition$19 } from "../core/shaders/GlassTiles/index.js";
26
- import { componentDefinition as componentDefinition$20 } from "../core/shaders/Glow/index.js";
27
- import { componentDefinition as componentDefinition$21 } from "../core/shaders/Godrays/index.js";
28
- import { componentDefinition as componentDefinition$22 } from "../core/shaders/Grayscale/index.js";
29
- import { componentDefinition as componentDefinition$23 } from "../core/shaders/Grid/index.js";
30
- import { componentDefinition as componentDefinition$24 } from "../core/shaders/GridDistortion/index.js";
31
- import { componentDefinition as componentDefinition$25 } from "../core/shaders/Group/index.js";
32
- import { componentDefinition as componentDefinition$26 } from "../core/shaders/Halftone/index.js";
33
- import { componentDefinition as componentDefinition$27 } from "../core/shaders/HueShift/index.js";
34
- import { componentDefinition as componentDefinition$28 } from "../core/shaders/ImageTexture/index.js";
35
- import { componentDefinition as componentDefinition$29 } from "../core/shaders/Invert/index.js";
36
- import { componentDefinition as componentDefinition$30 } from "../core/shaders/LinearBlur/index.js";
37
- import { componentDefinition as componentDefinition$31 } from "../core/shaders/LinearGradient/index.js";
38
- import { componentDefinition as componentDefinition$32 } from "../core/shaders/Liquify/index.js";
39
- import { componentDefinition as componentDefinition$33 } from "../core/shaders/Pixelate/index.js";
40
- import { componentDefinition as componentDefinition$34 } from "../core/shaders/PolarCoordinates/index.js";
41
- import { componentDefinition as componentDefinition$35 } from "../core/shaders/Posterize/index.js";
42
- import { componentDefinition as componentDefinition$36 } from "../core/shaders/ProgressiveBlur/index.js";
43
- import { componentDefinition as componentDefinition$37 } from "../core/shaders/RadialGradient/index.js";
44
- import { componentDefinition as componentDefinition$38 } from "../core/shaders/RectangularCoordinates/index.js";
45
- import { componentDefinition as componentDefinition$39 } from "../core/shaders/Ripples/index.js";
46
- import { componentDefinition as componentDefinition$40 } from "../core/shaders/Saturation/index.js";
47
- import { componentDefinition as componentDefinition$41 } from "../core/shaders/SimplexNoise/index.js";
48
- import { componentDefinition as componentDefinition$42 } from "../core/shaders/SineWave/index.js";
49
- import { componentDefinition as componentDefinition$43 } from "../core/shaders/SolidColor/index.js";
50
- import { componentDefinition as componentDefinition$44 } from "../core/shaders/Spherize/index.js";
51
- import { componentDefinition as componentDefinition$45 } from "../core/shaders/Spiral/index.js";
52
- import { componentDefinition as componentDefinition$46 } from "../core/shaders/Strands/index.js";
53
- import { componentDefinition as componentDefinition$47 } from "../core/shaders/Stretch/index.js";
54
- import { componentDefinition as componentDefinition$48 } from "../core/shaders/Swirl/index.js";
55
- import { componentDefinition as componentDefinition$49 } from "../core/shaders/TiltShift/index.js";
56
- import { componentDefinition as componentDefinition$50 } from "../core/shaders/Tritone/index.js";
57
- import { componentDefinition as componentDefinition$51 } from "../core/shaders/Twirl/index.js";
58
- import { componentDefinition as componentDefinition$52 } from "../core/shaders/Vibrance/index.js";
59
- import { componentDefinition as componentDefinition$53 } from "../core/shaders/WaveDistortion/index.js";
60
- import { componentDefinition as componentDefinition$54 } from "../core/shaders/ZoomBlur/index.js";
11
+ import { componentDefinition as componentDefinition$5 } from "../core/shaders/BrightnessContrast/index.js";
12
+ import { componentDefinition as componentDefinition$6 } from "../core/shaders/Bulge/index.js";
13
+ import { componentDefinition as componentDefinition$7 } from "../core/shaders/CRTScreen/index.js";
14
+ import { componentDefinition as componentDefinition$8 } from "../core/shaders/ChannelBlur/index.js";
15
+ import { componentDefinition as componentDefinition$9 } from "../core/shaders/Checkerboard/index.js";
16
+ import { componentDefinition as componentDefinition$10 } from "../core/shaders/ChromaFlow/index.js";
17
+ import { componentDefinition as componentDefinition$11 } from "../core/shaders/ChromaticAberration/index.js";
18
+ import { componentDefinition as componentDefinition$12 } from "../core/shaders/Circle/index.js";
19
+ import { componentDefinition as componentDefinition$13 } from "../core/shaders/CursorTrail/index.js";
20
+ import { componentDefinition as componentDefinition$14 } from "../core/shaders/DiffuseBlur/index.js";
21
+ import { componentDefinition as componentDefinition$15 } from "../core/shaders/Dither/index.js";
22
+ import { componentDefinition as componentDefinition$16 } from "../core/shaders/DotGrid/index.js";
23
+ import { componentDefinition as componentDefinition$17 } from "../core/shaders/Duotone/index.js";
24
+ import { componentDefinition as componentDefinition$18 } from "../core/shaders/FilmGrain/index.js";
25
+ import { componentDefinition as componentDefinition$19 } from "../core/shaders/FloatingParticles/index.js";
26
+ import { componentDefinition as componentDefinition$20 } from "../core/shaders/GlassTiles/index.js";
27
+ import { componentDefinition as componentDefinition$21 } from "../core/shaders/Glow/index.js";
28
+ import { componentDefinition as componentDefinition$22 } from "../core/shaders/Godrays/index.js";
29
+ import { componentDefinition as componentDefinition$23 } from "../core/shaders/Grayscale/index.js";
30
+ import { componentDefinition as componentDefinition$24 } from "../core/shaders/Grid/index.js";
31
+ import { componentDefinition as componentDefinition$25 } from "../core/shaders/GridDistortion/index.js";
32
+ import { componentDefinition as componentDefinition$26 } from "../core/shaders/Group/index.js";
33
+ import { componentDefinition as componentDefinition$27 } from "../core/shaders/Halftone/index.js";
34
+ import { componentDefinition as componentDefinition$28 } from "../core/shaders/HueShift/index.js";
35
+ import { componentDefinition as componentDefinition$29 } from "../core/shaders/ImageTexture/index.js";
36
+ import { componentDefinition as componentDefinition$30 } from "../core/shaders/Invert/index.js";
37
+ import { componentDefinition as componentDefinition$31 } from "../core/shaders/LinearBlur/index.js";
38
+ import { componentDefinition as componentDefinition$32 } from "../core/shaders/LinearGradient/index.js";
39
+ import { componentDefinition as componentDefinition$33 } from "../core/shaders/Liquify/index.js";
40
+ import { componentDefinition as componentDefinition$34 } from "../core/shaders/Pixelate/index.js";
41
+ import { componentDefinition as componentDefinition$35 } from "../core/shaders/PolarCoordinates/index.js";
42
+ import { componentDefinition as componentDefinition$36 } from "../core/shaders/Posterize/index.js";
43
+ import { componentDefinition as componentDefinition$37 } from "../core/shaders/ProgressiveBlur/index.js";
44
+ import { componentDefinition as componentDefinition$38 } from "../core/shaders/RadialGradient/index.js";
45
+ import { componentDefinition as componentDefinition$39 } from "../core/shaders/RectangularCoordinates/index.js";
46
+ import { componentDefinition as componentDefinition$40 } from "../core/shaders/Ripples/index.js";
47
+ import { componentDefinition as componentDefinition$41 } from "../core/shaders/Saturation/index.js";
48
+ import { componentDefinition as componentDefinition$42 } from "../core/shaders/SimplexNoise/index.js";
49
+ import { componentDefinition as componentDefinition$43 } from "../core/shaders/SineWave/index.js";
50
+ import { componentDefinition as componentDefinition$44 } from "../core/shaders/SolidColor/index.js";
51
+ import { componentDefinition as componentDefinition$45 } from "../core/shaders/Spherize/index.js";
52
+ import { componentDefinition as componentDefinition$46 } from "../core/shaders/Spiral/index.js";
53
+ import { componentDefinition as componentDefinition$47 } from "../core/shaders/Strands/index.js";
54
+ import { componentDefinition as componentDefinition$48 } from "../core/shaders/Stretch/index.js";
55
+ import { componentDefinition as componentDefinition$49 } from "../core/shaders/Swirl/index.js";
56
+ import { componentDefinition as componentDefinition$50 } from "../core/shaders/TiltShift/index.js";
57
+ import { componentDefinition as componentDefinition$51 } from "../core/shaders/Tritone/index.js";
58
+ import { componentDefinition as componentDefinition$52 } from "../core/shaders/Twirl/index.js";
59
+ import { componentDefinition as componentDefinition$53 } from "../core/shaders/Vibrance/index.js";
60
+ import { componentDefinition as componentDefinition$54 } from "../core/shaders/WaveDistortion/index.js";
61
+ import { componentDefinition as componentDefinition$55 } from "../core/shaders/ZoomBlur/index.js";
61
62
  import { vec4 } from "three/tsl";
62
63
  import { TelemetryCollector, isExternalUser, shouldCollectTelemetry } from "../core/telemetry/index.js";
63
64
  function AngularBlur($$anchor, $$props) {
@@ -610,7 +611,7 @@ function Blur($$anchor, $$props) {
610
611
  children?.($$anchor);
611
612
  $.pop();
612
613
  }
613
- function Bulge($$anchor, $$props) {
614
+ function BrightnessContrast($$anchor, $$props) {
614
615
  $.push($$props, true);
615
616
  const DEFAULT_TRANSFORM = {
616
617
  offsetX: 0,
@@ -720,7 +721,7 @@ function Bulge($$anchor, $$props) {
720
721
  children?.($$anchor);
721
722
  $.pop();
722
723
  }
723
- function CRTScreen($$anchor, $$props) {
724
+ function Bulge($$anchor, $$props) {
724
725
  $.push($$props, true);
725
726
  const DEFAULT_TRANSFORM = {
726
727
  offsetX: 0,
@@ -830,7 +831,7 @@ function CRTScreen($$anchor, $$props) {
830
831
  children?.($$anchor);
831
832
  $.pop();
832
833
  }
833
- function ChannelBlur($$anchor, $$props) {
834
+ function CRTScreen($$anchor, $$props) {
834
835
  $.push($$props, true);
835
836
  const DEFAULT_TRANSFORM = {
836
837
  offsetX: 0,
@@ -940,7 +941,7 @@ function ChannelBlur($$anchor, $$props) {
940
941
  children?.($$anchor);
941
942
  $.pop();
942
943
  }
943
- function Checkerboard($$anchor, $$props) {
944
+ function ChannelBlur($$anchor, $$props) {
944
945
  $.push($$props, true);
945
946
  const DEFAULT_TRANSFORM = {
946
947
  offsetX: 0,
@@ -1050,7 +1051,7 @@ function Checkerboard($$anchor, $$props) {
1050
1051
  children?.($$anchor);
1051
1052
  $.pop();
1052
1053
  }
1053
- function ChromaFlow($$anchor, $$props) {
1054
+ function Checkerboard($$anchor, $$props) {
1054
1055
  $.push($$props, true);
1055
1056
  const DEFAULT_TRANSFORM = {
1056
1057
  offsetX: 0,
@@ -1160,7 +1161,7 @@ function ChromaFlow($$anchor, $$props) {
1160
1161
  children?.($$anchor);
1161
1162
  $.pop();
1162
1163
  }
1163
- function ChromaticAberration($$anchor, $$props) {
1164
+ function ChromaFlow($$anchor, $$props) {
1164
1165
  $.push($$props, true);
1165
1166
  const DEFAULT_TRANSFORM = {
1166
1167
  offsetX: 0,
@@ -1270,7 +1271,7 @@ function ChromaticAberration($$anchor, $$props) {
1270
1271
  children?.($$anchor);
1271
1272
  $.pop();
1272
1273
  }
1273
- function Circle($$anchor, $$props) {
1274
+ function ChromaticAberration($$anchor, $$props) {
1274
1275
  $.push($$props, true);
1275
1276
  const DEFAULT_TRANSFORM = {
1276
1277
  offsetX: 0,
@@ -1380,7 +1381,7 @@ function Circle($$anchor, $$props) {
1380
1381
  children?.($$anchor);
1381
1382
  $.pop();
1382
1383
  }
1383
- function CursorTrail($$anchor, $$props) {
1384
+ function Circle($$anchor, $$props) {
1384
1385
  $.push($$props, true);
1385
1386
  const DEFAULT_TRANSFORM = {
1386
1387
  offsetX: 0,
@@ -1490,7 +1491,7 @@ function CursorTrail($$anchor, $$props) {
1490
1491
  children?.($$anchor);
1491
1492
  $.pop();
1492
1493
  }
1493
- function DiffuseBlur($$anchor, $$props) {
1494
+ function CursorTrail($$anchor, $$props) {
1494
1495
  $.push($$props, true);
1495
1496
  const DEFAULT_TRANSFORM = {
1496
1497
  offsetX: 0,
@@ -1600,7 +1601,7 @@ function DiffuseBlur($$anchor, $$props) {
1600
1601
  children?.($$anchor);
1601
1602
  $.pop();
1602
1603
  }
1603
- function Dither($$anchor, $$props) {
1604
+ function DiffuseBlur($$anchor, $$props) {
1604
1605
  $.push($$props, true);
1605
1606
  const DEFAULT_TRANSFORM = {
1606
1607
  offsetX: 0,
@@ -1710,7 +1711,7 @@ function Dither($$anchor, $$props) {
1710
1711
  children?.($$anchor);
1711
1712
  $.pop();
1712
1713
  }
1713
- function DotGrid($$anchor, $$props) {
1714
+ function Dither($$anchor, $$props) {
1714
1715
  $.push($$props, true);
1715
1716
  const DEFAULT_TRANSFORM = {
1716
1717
  offsetX: 0,
@@ -1820,7 +1821,7 @@ function DotGrid($$anchor, $$props) {
1820
1821
  children?.($$anchor);
1821
1822
  $.pop();
1822
1823
  }
1823
- function Duotone($$anchor, $$props) {
1824
+ function DotGrid($$anchor, $$props) {
1824
1825
  $.push($$props, true);
1825
1826
  const DEFAULT_TRANSFORM = {
1826
1827
  offsetX: 0,
@@ -1930,7 +1931,7 @@ function Duotone($$anchor, $$props) {
1930
1931
  children?.($$anchor);
1931
1932
  $.pop();
1932
1933
  }
1933
- function FilmGrain($$anchor, $$props) {
1934
+ function Duotone($$anchor, $$props) {
1934
1935
  $.push($$props, true);
1935
1936
  const DEFAULT_TRANSFORM = {
1936
1937
  offsetX: 0,
@@ -2040,7 +2041,7 @@ function FilmGrain($$anchor, $$props) {
2040
2041
  children?.($$anchor);
2041
2042
  $.pop();
2042
2043
  }
2043
- function FloatingParticles($$anchor, $$props) {
2044
+ function FilmGrain($$anchor, $$props) {
2044
2045
  $.push($$props, true);
2045
2046
  const DEFAULT_TRANSFORM = {
2046
2047
  offsetX: 0,
@@ -2150,7 +2151,7 @@ function FloatingParticles($$anchor, $$props) {
2150
2151
  children?.($$anchor);
2151
2152
  $.pop();
2152
2153
  }
2153
- function GlassTiles($$anchor, $$props) {
2154
+ function FloatingParticles($$anchor, $$props) {
2154
2155
  $.push($$props, true);
2155
2156
  const DEFAULT_TRANSFORM = {
2156
2157
  offsetX: 0,
@@ -2260,7 +2261,7 @@ function GlassTiles($$anchor, $$props) {
2260
2261
  children?.($$anchor);
2261
2262
  $.pop();
2262
2263
  }
2263
- function Glow($$anchor, $$props) {
2264
+ function GlassTiles($$anchor, $$props) {
2264
2265
  $.push($$props, true);
2265
2266
  const DEFAULT_TRANSFORM = {
2266
2267
  offsetX: 0,
@@ -2370,7 +2371,7 @@ function Glow($$anchor, $$props) {
2370
2371
  children?.($$anchor);
2371
2372
  $.pop();
2372
2373
  }
2373
- function Godrays($$anchor, $$props) {
2374
+ function Glow($$anchor, $$props) {
2374
2375
  $.push($$props, true);
2375
2376
  const DEFAULT_TRANSFORM = {
2376
2377
  offsetX: 0,
@@ -2480,7 +2481,7 @@ function Godrays($$anchor, $$props) {
2480
2481
  children?.($$anchor);
2481
2482
  $.pop();
2482
2483
  }
2483
- function Grayscale($$anchor, $$props) {
2484
+ function Godrays($$anchor, $$props) {
2484
2485
  $.push($$props, true);
2485
2486
  const DEFAULT_TRANSFORM = {
2486
2487
  offsetX: 0,
@@ -2590,7 +2591,7 @@ function Grayscale($$anchor, $$props) {
2590
2591
  children?.($$anchor);
2591
2592
  $.pop();
2592
2593
  }
2593
- function Grid($$anchor, $$props) {
2594
+ function Grayscale($$anchor, $$props) {
2594
2595
  $.push($$props, true);
2595
2596
  const DEFAULT_TRANSFORM = {
2596
2597
  offsetX: 0,
@@ -2700,7 +2701,7 @@ function Grid($$anchor, $$props) {
2700
2701
  children?.($$anchor);
2701
2702
  $.pop();
2702
2703
  }
2703
- function GridDistortion($$anchor, $$props) {
2704
+ function Grid($$anchor, $$props) {
2704
2705
  $.push($$props, true);
2705
2706
  const DEFAULT_TRANSFORM = {
2706
2707
  offsetX: 0,
@@ -2810,7 +2811,7 @@ function GridDistortion($$anchor, $$props) {
2810
2811
  children?.($$anchor);
2811
2812
  $.pop();
2812
2813
  }
2813
- function Group($$anchor, $$props) {
2814
+ function GridDistortion($$anchor, $$props) {
2814
2815
  $.push($$props, true);
2815
2816
  const DEFAULT_TRANSFORM = {
2816
2817
  offsetX: 0,
@@ -2920,7 +2921,7 @@ function Group($$anchor, $$props) {
2920
2921
  children?.($$anchor);
2921
2922
  $.pop();
2922
2923
  }
2923
- function Halftone($$anchor, $$props) {
2924
+ function Group($$anchor, $$props) {
2924
2925
  $.push($$props, true);
2925
2926
  const DEFAULT_TRANSFORM = {
2926
2927
  offsetX: 0,
@@ -3030,7 +3031,7 @@ function Halftone($$anchor, $$props) {
3030
3031
  children?.($$anchor);
3031
3032
  $.pop();
3032
3033
  }
3033
- function HueShift($$anchor, $$props) {
3034
+ function Halftone($$anchor, $$props) {
3034
3035
  $.push($$props, true);
3035
3036
  const DEFAULT_TRANSFORM = {
3036
3037
  offsetX: 0,
@@ -3140,7 +3141,7 @@ function HueShift($$anchor, $$props) {
3140
3141
  children?.($$anchor);
3141
3142
  $.pop();
3142
3143
  }
3143
- function ImageTexture($$anchor, $$props) {
3144
+ function HueShift($$anchor, $$props) {
3144
3145
  $.push($$props, true);
3145
3146
  const DEFAULT_TRANSFORM = {
3146
3147
  offsetX: 0,
@@ -3250,7 +3251,7 @@ function ImageTexture($$anchor, $$props) {
3250
3251
  children?.($$anchor);
3251
3252
  $.pop();
3252
3253
  }
3253
- function Invert($$anchor, $$props) {
3254
+ function ImageTexture($$anchor, $$props) {
3254
3255
  $.push($$props, true);
3255
3256
  const DEFAULT_TRANSFORM = {
3256
3257
  offsetX: 0,
@@ -3360,7 +3361,7 @@ function Invert($$anchor, $$props) {
3360
3361
  children?.($$anchor);
3361
3362
  $.pop();
3362
3363
  }
3363
- function LinearBlur($$anchor, $$props) {
3364
+ function Invert($$anchor, $$props) {
3364
3365
  $.push($$props, true);
3365
3366
  const DEFAULT_TRANSFORM = {
3366
3367
  offsetX: 0,
@@ -3470,7 +3471,7 @@ function LinearBlur($$anchor, $$props) {
3470
3471
  children?.($$anchor);
3471
3472
  $.pop();
3472
3473
  }
3473
- function LinearGradient($$anchor, $$props) {
3474
+ function LinearBlur($$anchor, $$props) {
3474
3475
  $.push($$props, true);
3475
3476
  const DEFAULT_TRANSFORM = {
3476
3477
  offsetX: 0,
@@ -3580,7 +3581,7 @@ function LinearGradient($$anchor, $$props) {
3580
3581
  children?.($$anchor);
3581
3582
  $.pop();
3582
3583
  }
3583
- function Liquify($$anchor, $$props) {
3584
+ function LinearGradient($$anchor, $$props) {
3584
3585
  $.push($$props, true);
3585
3586
  const DEFAULT_TRANSFORM = {
3586
3587
  offsetX: 0,
@@ -3690,7 +3691,7 @@ function Liquify($$anchor, $$props) {
3690
3691
  children?.($$anchor);
3691
3692
  $.pop();
3692
3693
  }
3693
- function Pixelate($$anchor, $$props) {
3694
+ function Liquify($$anchor, $$props) {
3694
3695
  $.push($$props, true);
3695
3696
  const DEFAULT_TRANSFORM = {
3696
3697
  offsetX: 0,
@@ -3800,7 +3801,7 @@ function Pixelate($$anchor, $$props) {
3800
3801
  children?.($$anchor);
3801
3802
  $.pop();
3802
3803
  }
3803
- function PolarCoordinates($$anchor, $$props) {
3804
+ function Pixelate($$anchor, $$props) {
3804
3805
  $.push($$props, true);
3805
3806
  const DEFAULT_TRANSFORM = {
3806
3807
  offsetX: 0,
@@ -3910,7 +3911,7 @@ function PolarCoordinates($$anchor, $$props) {
3910
3911
  children?.($$anchor);
3911
3912
  $.pop();
3912
3913
  }
3913
- function Posterize($$anchor, $$props) {
3914
+ function PolarCoordinates($$anchor, $$props) {
3914
3915
  $.push($$props, true);
3915
3916
  const DEFAULT_TRANSFORM = {
3916
3917
  offsetX: 0,
@@ -4020,7 +4021,7 @@ function Posterize($$anchor, $$props) {
4020
4021
  children?.($$anchor);
4021
4022
  $.pop();
4022
4023
  }
4023
- function ProgressiveBlur($$anchor, $$props) {
4024
+ function Posterize($$anchor, $$props) {
4024
4025
  $.push($$props, true);
4025
4026
  const DEFAULT_TRANSFORM = {
4026
4027
  offsetX: 0,
@@ -4130,7 +4131,7 @@ function ProgressiveBlur($$anchor, $$props) {
4130
4131
  children?.($$anchor);
4131
4132
  $.pop();
4132
4133
  }
4133
- function RadialGradient($$anchor, $$props) {
4134
+ function ProgressiveBlur($$anchor, $$props) {
4134
4135
  $.push($$props, true);
4135
4136
  const DEFAULT_TRANSFORM = {
4136
4137
  offsetX: 0,
@@ -4240,7 +4241,7 @@ function RadialGradient($$anchor, $$props) {
4240
4241
  children?.($$anchor);
4241
4242
  $.pop();
4242
4243
  }
4243
- function RectangularCoordinates($$anchor, $$props) {
4244
+ function RadialGradient($$anchor, $$props) {
4244
4245
  $.push($$props, true);
4245
4246
  const DEFAULT_TRANSFORM = {
4246
4247
  offsetX: 0,
@@ -4350,7 +4351,7 @@ function RectangularCoordinates($$anchor, $$props) {
4350
4351
  children?.($$anchor);
4351
4352
  $.pop();
4352
4353
  }
4353
- function Ripples($$anchor, $$props) {
4354
+ function RectangularCoordinates($$anchor, $$props) {
4354
4355
  $.push($$props, true);
4355
4356
  const DEFAULT_TRANSFORM = {
4356
4357
  offsetX: 0,
@@ -4460,7 +4461,7 @@ function Ripples($$anchor, $$props) {
4460
4461
  children?.($$anchor);
4461
4462
  $.pop();
4462
4463
  }
4463
- function Saturation($$anchor, $$props) {
4464
+ function Ripples($$anchor, $$props) {
4464
4465
  $.push($$props, true);
4465
4466
  const DEFAULT_TRANSFORM = {
4466
4467
  offsetX: 0,
@@ -4570,7 +4571,7 @@ function Saturation($$anchor, $$props) {
4570
4571
  children?.($$anchor);
4571
4572
  $.pop();
4572
4573
  }
4573
- function SimplexNoise($$anchor, $$props) {
4574
+ function Saturation($$anchor, $$props) {
4574
4575
  $.push($$props, true);
4575
4576
  const DEFAULT_TRANSFORM = {
4576
4577
  offsetX: 0,
@@ -4680,7 +4681,7 @@ function SimplexNoise($$anchor, $$props) {
4680
4681
  children?.($$anchor);
4681
4682
  $.pop();
4682
4683
  }
4683
- function SineWave($$anchor, $$props) {
4684
+ function SimplexNoise($$anchor, $$props) {
4684
4685
  $.push($$props, true);
4685
4686
  const DEFAULT_TRANSFORM = {
4686
4687
  offsetX: 0,
@@ -4790,7 +4791,7 @@ function SineWave($$anchor, $$props) {
4790
4791
  children?.($$anchor);
4791
4792
  $.pop();
4792
4793
  }
4793
- function SolidColor($$anchor, $$props) {
4794
+ function SineWave($$anchor, $$props) {
4794
4795
  $.push($$props, true);
4795
4796
  const DEFAULT_TRANSFORM = {
4796
4797
  offsetX: 0,
@@ -4900,7 +4901,7 @@ function SolidColor($$anchor, $$props) {
4900
4901
  children?.($$anchor);
4901
4902
  $.pop();
4902
4903
  }
4903
- function Spherize($$anchor, $$props) {
4904
+ function SolidColor($$anchor, $$props) {
4904
4905
  $.push($$props, true);
4905
4906
  const DEFAULT_TRANSFORM = {
4906
4907
  offsetX: 0,
@@ -5010,7 +5011,7 @@ function Spherize($$anchor, $$props) {
5010
5011
  children?.($$anchor);
5011
5012
  $.pop();
5012
5013
  }
5013
- function Spiral($$anchor, $$props) {
5014
+ function Spherize($$anchor, $$props) {
5014
5015
  $.push($$props, true);
5015
5016
  const DEFAULT_TRANSFORM = {
5016
5017
  offsetX: 0,
@@ -5120,7 +5121,7 @@ function Spiral($$anchor, $$props) {
5120
5121
  children?.($$anchor);
5121
5122
  $.pop();
5122
5123
  }
5123
- function Strands($$anchor, $$props) {
5124
+ function Spiral($$anchor, $$props) {
5124
5125
  $.push($$props, true);
5125
5126
  const DEFAULT_TRANSFORM = {
5126
5127
  offsetX: 0,
@@ -5230,7 +5231,7 @@ function Strands($$anchor, $$props) {
5230
5231
  children?.($$anchor);
5231
5232
  $.pop();
5232
5233
  }
5233
- function Stretch($$anchor, $$props) {
5234
+ function Strands($$anchor, $$props) {
5234
5235
  $.push($$props, true);
5235
5236
  const DEFAULT_TRANSFORM = {
5236
5237
  offsetX: 0,
@@ -5340,7 +5341,7 @@ function Stretch($$anchor, $$props) {
5340
5341
  children?.($$anchor);
5341
5342
  $.pop();
5342
5343
  }
5343
- function Swirl($$anchor, $$props) {
5344
+ function Stretch($$anchor, $$props) {
5344
5345
  $.push($$props, true);
5345
5346
  const DEFAULT_TRANSFORM = {
5346
5347
  offsetX: 0,
@@ -5450,7 +5451,7 @@ function Swirl($$anchor, $$props) {
5450
5451
  children?.($$anchor);
5451
5452
  $.pop();
5452
5453
  }
5453
- function TiltShift($$anchor, $$props) {
5454
+ function Swirl($$anchor, $$props) {
5454
5455
  $.push($$props, true);
5455
5456
  const DEFAULT_TRANSFORM = {
5456
5457
  offsetX: 0,
@@ -5560,7 +5561,7 @@ function TiltShift($$anchor, $$props) {
5560
5561
  children?.($$anchor);
5561
5562
  $.pop();
5562
5563
  }
5563
- function Tritone($$anchor, $$props) {
5564
+ function TiltShift($$anchor, $$props) {
5564
5565
  $.push($$props, true);
5565
5566
  const DEFAULT_TRANSFORM = {
5566
5567
  offsetX: 0,
@@ -5670,7 +5671,7 @@ function Tritone($$anchor, $$props) {
5670
5671
  children?.($$anchor);
5671
5672
  $.pop();
5672
5673
  }
5673
- function Twirl($$anchor, $$props) {
5674
+ function Tritone($$anchor, $$props) {
5674
5675
  $.push($$props, true);
5675
5676
  const DEFAULT_TRANSFORM = {
5676
5677
  offsetX: 0,
@@ -5780,7 +5781,7 @@ function Twirl($$anchor, $$props) {
5780
5781
  children?.($$anchor);
5781
5782
  $.pop();
5782
5783
  }
5783
- function Vibrance($$anchor, $$props) {
5784
+ function Twirl($$anchor, $$props) {
5784
5785
  $.push($$props, true);
5785
5786
  const DEFAULT_TRANSFORM = {
5786
5787
  offsetX: 0,
@@ -5890,7 +5891,7 @@ function Vibrance($$anchor, $$props) {
5890
5891
  children?.($$anchor);
5891
5892
  $.pop();
5892
5893
  }
5893
- function WaveDistortion($$anchor, $$props) {
5894
+ function Vibrance($$anchor, $$props) {
5894
5895
  $.push($$props, true);
5895
5896
  const DEFAULT_TRANSFORM = {
5896
5897
  offsetX: 0,
@@ -6000,7 +6001,7 @@ function WaveDistortion($$anchor, $$props) {
6000
6001
  children?.($$anchor);
6001
6002
  $.pop();
6002
6003
  }
6003
- function ZoomBlur($$anchor, $$props) {
6004
+ function WaveDistortion($$anchor, $$props) {
6004
6005
  $.push($$props, true);
6005
6006
  const DEFAULT_TRANSFORM = {
6006
6007
  offsetX: 0,
@@ -6110,6 +6111,116 @@ function ZoomBlur($$anchor, $$props) {
6110
6111
  children?.($$anchor);
6111
6112
  $.pop();
6112
6113
  }
6114
+ function ZoomBlur($$anchor, $$props) {
6115
+ $.push($$props, true);
6116
+ const DEFAULT_TRANSFORM = {
6117
+ offsetX: 0,
6118
+ offsetY: 0,
6119
+ rotation: 0,
6120
+ scale: 1,
6121
+ anchorX: .5,
6122
+ anchorY: .5,
6123
+ edges: "transparent"
6124
+ };
6125
+ const componentDefaults = {
6126
+ blendMode: "normal",
6127
+ renderOrder: 0,
6128
+ visible: true,
6129
+ ...Object.entries(componentDefinition$55.props).reduce((acc, [key, config]) => {
6130
+ acc[key] = config.default;
6131
+ return acc;
6132
+ }, {})
6133
+ };
6134
+ const props = $.rest_props($$props, [
6135
+ "$$slots",
6136
+ "$$events",
6137
+ "$$legacy"
6138
+ ]);
6139
+ const blendMode = $$props.blendMode ?? componentDefaults.blendMode;
6140
+ const opacity = $$props.opacity;
6141
+ const visible = $$props.visible ?? componentDefaults.visible;
6142
+ const id = $$props.id;
6143
+ const maskSource = $$props.maskSource;
6144
+ const maskType = $$props.maskType;
6145
+ const renderOrder = $$props.renderOrder ?? componentDefaults.renderOrder;
6146
+ const { children } = props;
6147
+ const effectiveTransform = $.derived(() => ({
6148
+ ...DEFAULT_TRANSFORM,
6149
+ ...$$props.transform
6150
+ }));
6151
+ const parentId = getContext("shaderParentId");
6152
+ if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
6153
+ const instanceId = id || `${componentDefinition$55.name.toLowerCase()}_${Math.random().toString(36).substring(7)}`;
6154
+ setContext("shaderParentId", instanceId);
6155
+ const shaderReadyProps = $.derived(() => {
6156
+ let baseProps = { ...componentDefaults };
6157
+ for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
6158
+ const propValue = props[key];
6159
+ const defaultValue = componentDefaults[key];
6160
+ if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
6161
+ }
6162
+ return baseProps;
6163
+ });
6164
+ const uniforms = createUniformsMap(componentDefinition$55, $.get(shaderReadyProps), instanceId);
6165
+ const parentRegister = getContext("shaderNodeRegister");
6166
+ if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
6167
+ const parentUniformUpdate = getContext("shaderUniformUpdate");
6168
+ if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
6169
+ const parentMetadataUpdate = getContext("shaderMetadataUpdate");
6170
+ if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
6171
+ let isRegistered = $.state(false);
6172
+ Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
6173
+ $.user_effect(() => {
6174
+ if (!$.get(isRegistered)) return;
6175
+ if (uniform && uniform.value !== void 0) {
6176
+ const newValue = props[propName];
6177
+ if (newValue !== void 0) parentUniformUpdate(instanceId, propName, newValue);
6178
+ }
6179
+ });
6180
+ });
6181
+ $.user_effect(() => {
6182
+ if (!$.get(isRegistered)) return;
6183
+ parentMetadataUpdate(instanceId, {
6184
+ blendMode,
6185
+ opacity,
6186
+ visible: visible === false ? false : true,
6187
+ id,
6188
+ mask: maskSource ? {
6189
+ source: maskSource,
6190
+ type: maskType || "alpha"
6191
+ } : void 0,
6192
+ renderOrder,
6193
+ transform: $.get(effectiveTransform)
6194
+ });
6195
+ });
6196
+ onMount(() => {
6197
+ if (componentDefinition$55 && typeof componentDefinition$55.fragmentNode === "function") {
6198
+ parentRegister(instanceId, componentDefinition$55.fragmentNode, parentId, {
6199
+ blendMode,
6200
+ opacity,
6201
+ visible: visible !== false ? true : false,
6202
+ id,
6203
+ mask: maskSource ? {
6204
+ source: maskSource,
6205
+ type: maskType || "alpha"
6206
+ } : void 0,
6207
+ renderOrder,
6208
+ transform: $.get(effectiveTransform)
6209
+ }, uniforms);
6210
+ $.set(isRegistered, true);
6211
+ } else console.error("componentDefinition.fragmentNode is not a function:", {
6212
+ componentDefinition: componentDefinition$55,
6213
+ fragmentNode: componentDefinition$55?.fragmentNode,
6214
+ type: typeof componentDefinition$55?.fragmentNode
6215
+ });
6216
+ });
6217
+ onDestroy(() => {
6218
+ $.set(isRegistered, false);
6219
+ parentRegister(instanceId, null, null, null, null);
6220
+ });
6221
+ children?.($$anchor);
6222
+ $.pop();
6223
+ }
6113
6224
  var root = $.from_html(`<div><canvas data-renderer="shaders" style="width: 100%; height: 100%; display: block;"></canvas> <!></div>`);
6114
6225
  function Shader($$anchor, $$props) {
6115
6226
  $.push($$props, true);
@@ -6212,4 +6323,4 @@ function Shader($$anchor, $$props) {
6212
6323
  $.append($$anchor, div);
6213
6324
  $.pop();
6214
6325
  }
6215
- export { AngularBlur, Ascii, Beam, Blob, Blur, Bulge, CRTScreen, ChannelBlur, Checkerboard, ChromaFlow, ChromaticAberration, Circle, CursorTrail, DiffuseBlur, Dither, DotGrid, Duotone, FilmGrain, FloatingParticles, GlassTiles, Glow, Godrays, Grayscale, Grid, GridDistortion, Group, Halftone, HueShift, ImageTexture, Invert, LinearBlur, LinearGradient, Liquify, Pixelate, PolarCoordinates, Posterize, ProgressiveBlur, RadialGradient, RectangularCoordinates, Ripples, Saturation, Shader, SimplexNoise, SineWave, SolidColor, Spherize, Spiral, Strands, Stretch, Swirl, TiltShift, Tritone, Twirl, Vibrance, WaveDistortion, ZoomBlur, generatePresetCode };
6326
+ export { AngularBlur, Ascii, Beam, Blob, Blur, BrightnessContrast, Bulge, CRTScreen, ChannelBlur, Checkerboard, ChromaFlow, ChromaticAberration, Circle, CursorTrail, DiffuseBlur, Dither, DotGrid, Duotone, FilmGrain, FloatingParticles, GlassTiles, Glow, Godrays, Grayscale, Grid, GridDistortion, Group, Halftone, HueShift, ImageTexture, Invert, LinearBlur, LinearGradient, Liquify, Pixelate, PolarCoordinates, Posterize, ProgressiveBlur, RadialGradient, RectangularCoordinates, Ripples, Saturation, Shader, SimplexNoise, SineWave, SolidColor, Spherize, Spiral, Strands, Stretch, Swirl, TiltShift, Tritone, Twirl, Vibrance, WaveDistortion, ZoomBlur, generatePresetCode };
@@ -1,2 +1,2 @@
1
- import { n as generatePresetCode, t as availableComponents } from "../generatePresetCode-hILbcEw8.js";
1
+ import { n as generatePresetCode, t as availableComponents } from "../generatePresetCode-Qh7jlXV3.js";
2
2
  export { availableComponents, generatePresetCode };