shaders 2.2.22 → 2.2.24

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 (143) hide show
  1. package/dist/core/Beam-BAKql1AP.js +116 -0
  2. package/dist/core/{ColorAdjustment-CKwpE_4M.js → ColorAdjustment-FeXXpypd.js} +1 -1
  3. package/dist/core/{Godrays-BBCtZxbv.js → Godrays-DjLVuZa4.js} +1 -1
  4. package/dist/core/{Grayscale-CAEFLteL.js → Grayscale-BbsdDa_X.js} +1 -1
  5. package/dist/core/{HueShift-CyxzPcJV.js → HueShift-B_qE9c08.js} +1 -1
  6. package/dist/core/{Posterize-DhZkMaC7.js → Posterize-ggKIJlmm.js} +1 -1
  7. package/dist/core/{Saturation-Dup81Pnq.js → Saturation-Dl3gCWuZ.js} +1 -1
  8. package/dist/core/{Vibrance-C182fbSw.js → Vibrance-C2FRlLkK.js} +1 -1
  9. package/dist/core/index.js +271 -269
  10. package/dist/core/shaderRegistry.d.ts.map +1 -1
  11. package/dist/core/shaders/Beam/index.d.ts +71 -0
  12. package/dist/core/shaders/Beam/index.d.ts.map +1 -0
  13. package/dist/core/shaders/Beam/index.js +8 -0
  14. package/dist/core/shaders/Blob/index.js +1 -1
  15. package/dist/core/shaders/Blur/index.js +1 -1
  16. package/dist/core/shaders/Bulge/index.js +1 -1
  17. package/dist/core/shaders/CRTScreen/index.js +1 -1
  18. package/dist/core/shaders/ChannelBlur/index.js +1 -1
  19. package/dist/core/shaders/Checkerboard/index.js +1 -1
  20. package/dist/core/shaders/ChromaFlow/index.js +1 -1
  21. package/dist/core/shaders/ChromaticAberration/index.js +1 -1
  22. package/dist/core/shaders/Circle/index.js +1 -1
  23. package/dist/core/shaders/CursorTrail/index.js +1 -1
  24. package/dist/core/shaders/DiffuseBlur/index.js +1 -1
  25. package/dist/core/shaders/Dither/index.js +1 -1
  26. package/dist/core/shaders/DotGrid/index.js +1 -1
  27. package/dist/core/shaders/Duotone/index.js +1 -1
  28. package/dist/core/shaders/FilmGrain/index.js +1 -1
  29. package/dist/core/shaders/FloatingParticles/index.js +1 -1
  30. package/dist/core/shaders/GlassTiles/index.js +1 -1
  31. package/dist/core/shaders/Glow/index.js +1 -1
  32. package/dist/core/shaders/Godrays/index.d.ts.map +1 -1
  33. package/dist/core/shaders/Godrays/index.js +1 -1
  34. package/dist/core/shaders/Grayscale/index.js +3 -3
  35. package/dist/core/shaders/Grid/index.js +1 -1
  36. package/dist/core/shaders/GridDistortion/index.js +1 -1
  37. package/dist/core/shaders/Group/index.js +1 -1
  38. package/dist/core/shaders/Halftone/index.js +1 -1
  39. package/dist/core/shaders/HueShift/index.js +3 -3
  40. package/dist/core/shaders/ImageTexture/index.js +1 -1
  41. package/dist/core/shaders/Invert/index.js +1 -1
  42. package/dist/core/shaders/LinearBlur/index.js +1 -1
  43. package/dist/core/shaders/LinearGradient/index.js +1 -1
  44. package/dist/core/shaders/Liquify/index.js +1 -1
  45. package/dist/core/shaders/Pixelate/index.js +1 -1
  46. package/dist/core/shaders/PolarCoordinates/index.js +1 -1
  47. package/dist/core/shaders/Posterize/index.js +2 -2
  48. package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
  49. package/dist/core/shaders/RadialGradient/index.js +1 -1
  50. package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
  51. package/dist/core/shaders/Ripples/index.js +1 -1
  52. package/dist/core/shaders/Saturation/index.js +3 -3
  53. package/dist/core/shaders/SimplexNoise/index.js +1 -1
  54. package/dist/core/shaders/SineWave/index.js +1 -1
  55. package/dist/core/shaders/SolidColor/index.js +1 -1
  56. package/dist/core/shaders/Spherize/index.js +1 -1
  57. package/dist/core/shaders/Spiral/index.js +1 -1
  58. package/dist/core/shaders/Strands/index.js +1 -1
  59. package/dist/core/shaders/Stretch/index.js +1 -1
  60. package/dist/core/shaders/Swirl/index.js +1 -1
  61. package/dist/core/shaders/TiltShift/index.js +1 -1
  62. package/dist/core/shaders/Tritone/index.js +1 -1
  63. package/dist/core/shaders/Twirl/index.js +1 -1
  64. package/dist/core/shaders/Vibrance/index.js +3 -3
  65. package/dist/core/shaders/WaveDistortion/index.js +1 -1
  66. package/dist/core/shaders/ZoomBlur/index.js +1 -1
  67. package/dist/react/components/Beam.d.ts +31 -0
  68. package/dist/react/components/Beam.d.ts.map +1 -0
  69. package/dist/{svelte/generatePresetCode-DaS7jkcT.js → react/generatePresetCode-CVj6IV8Y.js} +35 -15
  70. package/dist/react/index.d.ts +1 -0
  71. package/dist/react/index.d.ts.map +1 -1
  72. package/dist/react/index.js +10926 -10695
  73. package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
  74. package/dist/react/utils/generatePresetCode.js +1 -1
  75. package/dist/registry.js +224 -0
  76. package/dist/solid/components/Beam.d.ts +28 -0
  77. package/dist/solid/components/Beam.d.ts.map +1 -0
  78. package/dist/solid/index.d.ts +1 -0
  79. package/dist/solid/index.d.ts.map +1 -1
  80. package/dist/solid/index.js +10559 -10335
  81. package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
  82. package/dist/solid/utils/generatePresetCode.js +32 -12
  83. package/dist/svelte/components/Beam.svelte.d.ts +19 -0
  84. package/dist/{react/generatePresetCode-DaS7jkcT.js → svelte/generatePresetCode-CVj6IV8Y.js} +35 -15
  85. package/dist/svelte/index.d.ts +1 -0
  86. package/dist/svelte/index.js +10929 -10739
  87. package/dist/svelte/utils/generatePresetCode.js +1 -1
  88. package/dist/vue/components/Beam.vue.d.ts +57 -0
  89. package/dist/vue/components/Beam.vue.d.ts.map +1 -0
  90. package/dist/vue/{generatePresetCode-Cd1B-Y9j.js → generatePresetCode-DCaIsDhE.js} +20 -0
  91. package/dist/vue/index.d.ts +1 -0
  92. package/dist/vue/index.d.ts.map +1 -1
  93. package/dist/vue/index.js +10415 -10201
  94. package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
  95. package/dist/vue/utils/generatePresetCode.js +1 -1
  96. package/package.json +9 -1
  97. /package/dist/core/{Blob-BlQ_1T_8.js → Blob-CVSxhHJG.js} +0 -0
  98. /package/dist/core/{Blur-421AjWLH.js → Blur-C1TTBHCX.js} +0 -0
  99. /package/dist/core/{Bulge-CZRVoR6C.js → Bulge-DV8tX-cw.js} +0 -0
  100. /package/dist/core/{CRTScreen-C_U9g_IR.js → CRTScreen-VTJQoOeq.js} +0 -0
  101. /package/dist/core/{ChannelBlur-5pzcB6Zv.js → ChannelBlur-BLZ9kBNA.js} +0 -0
  102. /package/dist/core/{Checkerboard-CrQkqXhD.js → Checkerboard-DQ4Df3vm.js} +0 -0
  103. /package/dist/core/{ChromaFlow-CNrQdL8f.js → ChromaFlow-BggN1_Av.js} +0 -0
  104. /package/dist/core/{ChromaticAberration-D9H7O17Y.js → ChromaticAberration-DlTaHNcp.js} +0 -0
  105. /package/dist/core/{Circle-DnLaDn8V.js → Circle-B9ObWlq5.js} +0 -0
  106. /package/dist/core/{CursorTrail-NY6n97VG.js → CursorTrail-C7QdUj8O.js} +0 -0
  107. /package/dist/core/{DiffuseBlur-C_n01ABk.js → DiffuseBlur-Mx6LBsqz.js} +0 -0
  108. /package/dist/core/{Dither-4s-c4zh4.js → Dither-CeIdV_9C.js} +0 -0
  109. /package/dist/core/{DotGrid-BYl8XdMi.js → DotGrid-D6xUvYrt.js} +0 -0
  110. /package/dist/core/{Duotone-DbewOoB4.js → Duotone-C2Pqt2gR.js} +0 -0
  111. /package/dist/core/{FilmGrain-zA_-knOw.js → FilmGrain-CJ9n_fgk.js} +0 -0
  112. /package/dist/core/{FloatingParticles-BhVnqMsE.js → FloatingParticles-iGtMs44K.js} +0 -0
  113. /package/dist/core/{GlassTiles-CFI57glh.js → GlassTiles-D_lVyag2.js} +0 -0
  114. /package/dist/core/{Glow-CQgl3IoS.js → Glow-B0jj-6OC.js} +0 -0
  115. /package/dist/core/{Grid-DlM-rVbZ.js → Grid-ByjU-_ua.js} +0 -0
  116. /package/dist/core/{GridDistortion-ZOZphSAT.js → GridDistortion-C_eIlhkW.js} +0 -0
  117. /package/dist/core/{Group-BQAs3RiH.js → Group-CyaDLGpI.js} +0 -0
  118. /package/dist/core/{Halftone-ci4ga-_J.js → Halftone-BvuAe_k-.js} +0 -0
  119. /package/dist/core/{ImageTexture-CdAGsPuH.js → ImageTexture-h00TFC1l.js} +0 -0
  120. /package/dist/core/{Invert-iPsiIqNZ.js → Invert-BEDDB0sm.js} +0 -0
  121. /package/dist/core/{LinearBlur-BEaaoIk-.js → LinearBlur-CLKxuyeT.js} +0 -0
  122. /package/dist/core/{LinearGradient-DR_7RxLX.js → LinearGradient-BPo8TX_M.js} +0 -0
  123. /package/dist/core/{Liquify-Bi02_ugh.js → Liquify-DGkfeixZ.js} +0 -0
  124. /package/dist/core/{Pixelate-CSsdT1rr.js → Pixelate-Bzy_7LnJ.js} +0 -0
  125. /package/dist/core/{PolarCoordinates-D626ml58.js → PolarCoordinates-BUumPeTv.js} +0 -0
  126. /package/dist/core/{ProgressiveBlur-CGtCfLF8.js → ProgressiveBlur-D6_6T7SS.js} +0 -0
  127. /package/dist/core/{RadialGradient-C0_WzmbH.js → RadialGradient-DEY9fRqa.js} +0 -0
  128. /package/dist/core/{RectangularCoordinates-DfXw7fhI.js → RectangularCoordinates-CZ-cFrCh.js} +0 -0
  129. /package/dist/core/{Ripples-DkemN3eh.js → Ripples-BwNlcsnV.js} +0 -0
  130. /package/dist/core/{SimplexNoise-BYEiCjDj.js → SimplexNoise-BhE_WyGt.js} +0 -0
  131. /package/dist/core/{SineWave-C6MRPtsy.js → SineWave-Db_Y0Mcv.js} +0 -0
  132. /package/dist/core/{SolidColor-BZHRczgb.js → SolidColor-CerOp4EQ.js} +0 -0
  133. /package/dist/core/{Spherize-DOAnDx2l.js → Spherize-Dh8E5XwG.js} +0 -0
  134. /package/dist/core/{Spiral-BMjnWXh1.js → Spiral-BvygQEfP.js} +0 -0
  135. /package/dist/core/{Strands-BOVsuJLe.js → Strands-maaPn4On.js} +0 -0
  136. /package/dist/core/{Stretch-D6bHc6yp.js → Stretch-CnA0-nSz.js} +0 -0
  137. /package/dist/core/{Swirl-BFoc0ImG.js → Swirl-CQBUahTB.js} +0 -0
  138. /package/dist/core/{TSLBase-BFMvTOak.js → TSLBase-Bt7Z4hv_.js} +0 -0
  139. /package/dist/core/{TiltShift-BiNvvhzj.js → TiltShift-qFj0oFzN.js} +0 -0
  140. /package/dist/core/{Tritone-gdx2AA0m.js → Tritone-AiixmTg8.js} +0 -0
  141. /package/dist/core/{Twirl-BsV8YbqC.js → Twirl-ooHQcV89.js} +0 -0
  142. /package/dist/core/{WaveDistortion-CmaS2zDB.js → WaveDistortion-CN8MjKlm.js} +0 -0
  143. /package/dist/core/{ZoomBlur-DLf5xQ16.js → ZoomBlur-CxWGx8PH.js} +0 -0
@@ -1,219 +1,220 @@
1
1
  import { B as Nn, C as Vn, E as R, F as He, I as qn, L as Pn, M as S, N as ye, O as le, P as ln, R as Xn, T as Se, V as Yn, _ as l, b as W, c as In, d as j, g as Me, h as We, i as Hn, j as N, k as G, l as bn, m as je, n as y, o as Wn, s as jn, t as Qn, w as vn, x as de, z as Jn } from "./three.tsl-Btj1hLsf.js";
2
2
  import { n as re, t as he } from "./edges-CDzKsauJ.js";
3
- import { t as Qr } from "./time-DbRMw6Jm.js";
3
+ import { t as Jr } from "./time-DbRMw6Jm.js";
4
4
  import "./transformations-CsrIJXh-.js";
5
5
  import { n as Zn } from "./AngularBlur-ClvtyURQ.js";
6
6
  import { n as Kn } from "./Ascii-BT0-K_vw.js";
7
7
  import "./colorMixing--dhzx0ch.js";
8
- import { n as et } from "./Blob-BlQ_1T_8.js";
9
- import { n as nt } from "./Blur-421AjWLH.js";
10
- import { n as tt } from "./Bulge-CZRVoR6C.js";
11
- import { n as rt } from "./ChannelBlur-5pzcB6Zv.js";
12
- import { n as ot } from "./Checkerboard-CrQkqXhD.js";
13
- import { n as it } from "./ChromaFlow-CNrQdL8f.js";
14
- import { n as at } from "./ChromaticAberration-D9H7O17Y.js";
15
- import { n as st } from "./Circle-DnLaDn8V.js";
16
- import { n as lt } from "./CRTScreen-C_U9g_IR.js";
17
- import { n as ct } from "./CursorTrail-NY6n97VG.js";
18
- import { n as ft } from "./DiffuseBlur-C_n01ABk.js";
19
- import { n as ut } from "./Dither-4s-c4zh4.js";
20
- import { n as mt } from "./DotGrid-BYl8XdMi.js";
21
- import { n as dt } from "./Duotone-DbewOoB4.js";
22
- import { n as ht } from "./FilmGrain-zA_-knOw.js";
23
- import { n as pt } from "./FloatingParticles-BhVnqMsE.js";
24
- import { n as gt } from "./GlassTiles-CFI57glh.js";
25
- import { n as bt } from "./Glow-CQgl3IoS.js";
26
- import { n as vt } from "./Godrays-BBCtZxbv.js";
27
- import "./TSLBase-BFMvTOak.js";
28
- import "./ColorAdjustment-CKwpE_4M.js";
29
- import { n as Ct } from "./Grayscale-CAEFLteL.js";
30
- import { n as Rt } from "./Grid-DlM-rVbZ.js";
31
- import { n as kt } from "./GridDistortion-ZOZphSAT.js";
32
- import { n as Tt } from "./Group-BQAs3RiH.js";
33
- import { n as yt } from "./Halftone-ci4ga-_J.js";
34
- import { n as wt } from "./HueShift-CyxzPcJV.js";
35
- import { n as Ut } from "./ImageTexture-CdAGsPuH.js";
36
- import { n as St } from "./Invert-iPsiIqNZ.js";
37
- import { n as Mt } from "./LinearBlur-BEaaoIk-.js";
38
- import { n as xt } from "./LinearGradient-DR_7RxLX.js";
39
- import { n as At } from "./Liquify-Bi02_ugh.js";
40
- import { n as zt } from "./Pixelate-CSsdT1rr.js";
41
- import { n as Dt } from "./PolarCoordinates-D626ml58.js";
42
- import { n as Et } from "./Posterize-DhZkMaC7.js";
43
- import { n as Ft } from "./ProgressiveBlur-CGtCfLF8.js";
44
- import { n as $t } from "./RadialGradient-C0_WzmbH.js";
45
- import { n as Ot } from "./RectangularCoordinates-DfXw7fhI.js";
46
- import { n as Bt } from "./Ripples-DkemN3eh.js";
47
- import { n as _t } from "./Saturation-Dup81Pnq.js";
48
- import { n as Lt } from "./SimplexNoise-BYEiCjDj.js";
49
- import { n as Gt } from "./SineWave-C6MRPtsy.js";
50
- import { n as Nt } from "./SolidColor-BZHRczgb.js";
51
- import { n as Vt } from "./Spherize-DOAnDx2l.js";
52
- import { n as qt } from "./Spiral-BMjnWXh1.js";
53
- import { n as Pt } from "./Strands-BOVsuJLe.js";
54
- import { n as Xt } from "./Stretch-D6bHc6yp.js";
55
- import { n as Yt } from "./Swirl-BFoc0ImG.js";
56
- import { n as It } from "./TiltShift-BiNvvhzj.js";
57
- import { n as Ht } from "./Tritone-gdx2AA0m.js";
58
- import { n as Wt } from "./Twirl-BsV8YbqC.js";
59
- import { n as jt } from "./Vibrance-C182fbSw.js";
60
- import { n as Qt } from "./WaveDistortion-CmaS2zDB.js";
61
- import { n as Jt } from "./ZoomBlur-DLf5xQ16.js";
62
- import { WebGLRenderer as Zt } from "three";
63
- function Kt(e, n, s = 1) {
8
+ import { n as et } from "./Beam-BAKql1AP.js";
9
+ import { n as nt } from "./Blob-CVSxhHJG.js";
10
+ import { n as tt } from "./Blur-C1TTBHCX.js";
11
+ import { n as rt } from "./Bulge-DV8tX-cw.js";
12
+ import { n as ot } from "./ChannelBlur-BLZ9kBNA.js";
13
+ import { n as it } from "./Checkerboard-DQ4Df3vm.js";
14
+ import { n as at } from "./ChromaFlow-BggN1_Av.js";
15
+ import { n as st } from "./ChromaticAberration-DlTaHNcp.js";
16
+ import { n as lt } from "./Circle-B9ObWlq5.js";
17
+ import { n as ct } from "./CRTScreen-VTJQoOeq.js";
18
+ import { n as ft } from "./CursorTrail-C7QdUj8O.js";
19
+ import { n as ut } from "./DiffuseBlur-Mx6LBsqz.js";
20
+ import { n as mt } from "./Dither-CeIdV_9C.js";
21
+ import { n as dt } from "./DotGrid-D6xUvYrt.js";
22
+ import { n as ht } from "./Duotone-C2Pqt2gR.js";
23
+ import { n as pt } from "./FilmGrain-CJ9n_fgk.js";
24
+ import { n as gt } from "./FloatingParticles-iGtMs44K.js";
25
+ import { n as bt } from "./GlassTiles-D_lVyag2.js";
26
+ import { n as vt } from "./Glow-B0jj-6OC.js";
27
+ import { n as Ct } from "./Godrays-DjLVuZa4.js";
28
+ import "./TSLBase-Bt7Z4hv_.js";
29
+ import "./ColorAdjustment-FeXXpypd.js";
30
+ import { n as Rt } from "./Grayscale-BbsdDa_X.js";
31
+ import { n as kt } from "./Grid-ByjU-_ua.js";
32
+ import { n as Tt } from "./GridDistortion-C_eIlhkW.js";
33
+ import { n as yt } from "./Group-CyaDLGpI.js";
34
+ import { n as wt } from "./Halftone-BvuAe_k-.js";
35
+ import { n as Ut } from "./HueShift-B_qE9c08.js";
36
+ import { n as St } from "./ImageTexture-h00TFC1l.js";
37
+ import { n as Mt } from "./Invert-BEDDB0sm.js";
38
+ import { n as xt } from "./LinearBlur-CLKxuyeT.js";
39
+ import { n as At } from "./LinearGradient-BPo8TX_M.js";
40
+ import { n as Dt } from "./Liquify-DGkfeixZ.js";
41
+ import { n as zt } from "./Pixelate-Bzy_7LnJ.js";
42
+ import { n as Et } from "./PolarCoordinates-BUumPeTv.js";
43
+ import { n as Ft } from "./Posterize-ggKIJlmm.js";
44
+ import { n as $t } from "./ProgressiveBlur-D6_6T7SS.js";
45
+ import { n as Ot } from "./RadialGradient-DEY9fRqa.js";
46
+ import { n as Bt } from "./RectangularCoordinates-CZ-cFrCh.js";
47
+ import { n as _t } from "./Ripples-BwNlcsnV.js";
48
+ import { n as Lt } from "./Saturation-Dl3gCWuZ.js";
49
+ import { n as Gt } from "./SimplexNoise-BhE_WyGt.js";
50
+ import { n as Nt } from "./SineWave-Db_Y0Mcv.js";
51
+ import { n as Vt } from "./SolidColor-CerOp4EQ.js";
52
+ import { n as qt } from "./Spherize-Dh8E5XwG.js";
53
+ import { n as Pt } from "./Spiral-BvygQEfP.js";
54
+ import { n as Xt } from "./Strands-maaPn4On.js";
55
+ import { n as Yt } from "./Stretch-CnA0-nSz.js";
56
+ import { n as It } from "./Swirl-CQBUahTB.js";
57
+ import { n as Ht } from "./TiltShift-qFj0oFzN.js";
58
+ import { n as Wt } from "./Tritone-AiixmTg8.js";
59
+ import { n as jt } from "./Twirl-ooHQcV89.js";
60
+ import { n as Qt } from "./Vibrance-C2FRlLkK.js";
61
+ import { n as Jt } from "./WaveDistortion-CN8MjKlm.js";
62
+ import { n as Zt } from "./ZoomBlur-CxWGx8PH.js";
63
+ import { WebGLRenderer as Kt } from "three";
64
+ function er(e, n, s = 1) {
64
65
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
65
66
  return S(y(l(n.rgb, t), l(e.rgb, l(e.a, R(1, t)))), u);
66
67
  }
67
- var cn = (e) => N(e.x.mul(1.2249401).sub(e.y.mul(0.2249404)).sub(e.z.mul(0)), e.x.mul(-0.0420569).add(e.y.mul(1.0420571)).add(e.z.mul(0)), e.x.mul(-0.0196376).sub(e.y.mul(0.0786361)).add(e.z.mul(1.0982735))), er = (e) => N(e.x.mul(0.8224621).add(e.y.mul(0.177538)).add(e.z.mul(0)), e.x.mul(0.0331941).add(e.y.mul(0.9668058)).add(e.z.mul(0)), e.x.mul(0.0170826).add(e.y.mul(0.0723974)).add(e.z.mul(0.9105199))), fn = (e) => {
68
+ var cn = (e) => N(e.x.mul(1.2249401).sub(e.y.mul(0.2249404)).sub(e.z.mul(0)), e.x.mul(-0.0420569).add(e.y.mul(1.0420571)).add(e.z.mul(0)), e.x.mul(-0.0196376).sub(e.y.mul(0.0786361)).add(e.z.mul(1.0982735))), nr = (e) => N(e.x.mul(0.8224621).add(e.y.mul(0.177538)).add(e.z.mul(0)), e.x.mul(0.0331941).add(e.y.mul(0.9668058)).add(e.z.mul(0)), e.x.mul(0.0170826).add(e.y.mul(0.0723974)).add(e.z.mul(0.9105199))), fn = (e) => {
68
69
  const n = e.x, s = e.y, t = e.z, u = n.mul(0.4122214708).add(s.mul(0.5363325363)).add(t.mul(0.0514459929)), p = n.mul(0.2119034982).add(s.mul(0.6806995451).add(t.mul(0.1073969566))), h = n.mul(0.0883024619).add(s.mul(0.2817188376)).add(t.mul(0.6299787005)), d = W(u, j(1 / 3)), k = W(p, j(1 / 3)), U = W(h, j(1 / 3));
69
70
  return N(d.mul(0.2104542553).add(k.mul(0.793617785)).sub(U.mul(0.0040720468)), d.mul(1.9779984951).sub(k.mul(2.428592205)).add(U.mul(0.4505937099)), d.mul(0.0259040371).add(k.mul(0.7827717662)).sub(U.mul(0.808675766)));
70
- }, nr = (e) => {
71
+ }, tr = (e) => {
71
72
  const n = e.x, s = e.y, t = e.z, u = n.add(s.mul(0.3963377774)).add(t.mul(0.2158037573)), p = n.sub(s.mul(0.1055613458)).sub(t.mul(0.0638541728)), h = n.sub(s.mul(0.0894841775)).sub(t.mul(1.291485548)), d = W(u, j(3)), k = W(p, j(3)), U = W(h, j(3));
72
73
  return N(d.mul(4.0767416621).sub(k.mul(3.3077115913)).add(U.mul(0.2309699292)), d.mul(-1.2684380046).add(k.mul(2.6097574011)).sub(U.mul(0.3413193965)), d.mul(-0.0041960863).sub(k.mul(0.7034186147)).add(U.mul(1.707614701)));
73
74
  }, un = (e) => {
74
75
  const n = e.x, s = e.y, t = e.z;
75
76
  return N(n, vn(s.mul(s).add(t.mul(t))), Hn(t, s));
76
- }, tr = (e) => {
77
+ }, rr = (e) => {
77
78
  const n = e.x, s = e.y, t = e.z;
78
79
  return N(n, s.mul(jn(t)), s.mul(Vn(t)));
79
80
  };
80
- function rr(e, n, s = 1) {
81
+ function or(e, n, s = 1) {
81
82
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t))), p = cn(N(e.r, e.g, e.b)), h = cn(N(n.r, n.g, n.b)), d = fn(p), k = fn(h), U = un(d);
82
- return S(er(nr(tr(y(l(un(k), t), l(U, l(e.a, R(1, t))))))), u);
83
+ return S(nr(tr(rr(y(l(un(k), t), l(U, l(e.a, R(1, t))))))), u);
83
84
  }
84
- var mn = (e) => N(e.x.mul(1.2249401).sub(e.y.mul(0.2249404)).sub(e.z.mul(0)), e.x.mul(-0.0420569).add(e.y.mul(1.0420571)).add(e.z.mul(0)), e.x.mul(-0.0196376).sub(e.y.mul(0.0786361)).add(e.z.mul(1.0982735))), or = (e) => N(e.x.mul(0.8224621).add(e.y.mul(0.177538)).add(e.z.mul(0)), e.x.mul(0.0331941).add(e.y.mul(0.9668058)).add(e.z.mul(0)), e.x.mul(0.0170826).add(e.y.mul(0.0723974)).add(e.z.mul(0.9105199))), dn = (e) => {
85
+ var mn = (e) => N(e.x.mul(1.2249401).sub(e.y.mul(0.2249404)).sub(e.z.mul(0)), e.x.mul(-0.0420569).add(e.y.mul(1.0420571)).add(e.z.mul(0)), e.x.mul(-0.0196376).sub(e.y.mul(0.0786361)).add(e.z.mul(1.0982735))), ir = (e) => N(e.x.mul(0.8224621).add(e.y.mul(0.177538)).add(e.z.mul(0)), e.x.mul(0.0331941).add(e.y.mul(0.9668058)).add(e.z.mul(0)), e.x.mul(0.0170826).add(e.y.mul(0.0723974)).add(e.z.mul(0.9105199))), dn = (e) => {
85
86
  const n = e.x, s = e.y, t = e.z, u = n.mul(0.4122214708).add(s.mul(0.5363325363)).add(t.mul(0.0514459929)), p = n.mul(0.2119034982).add(s.mul(0.6806995451).add(t.mul(0.1073969566))), h = n.mul(0.0883024619).add(s.mul(0.2817188376)).add(t.mul(0.6299787005)), d = W(u, j(1 / 3)), k = W(p, j(1 / 3)), U = W(h, j(1 / 3));
86
87
  return N(d.mul(0.2104542553).add(k.mul(0.793617785)).sub(U.mul(0.0040720468)), d.mul(1.9779984951).sub(k.mul(2.428592205)).add(U.mul(0.4505937099)), d.mul(0.0259040371).add(k.mul(0.7827717662)).sub(U.mul(0.808675766)));
87
- }, ir = (e) => {
88
+ }, ar = (e) => {
88
89
  const n = e.x, s = e.y, t = e.z, u = n.add(s.mul(0.3963377774)).add(t.mul(0.2158037573)), p = n.sub(s.mul(0.1055613458)).sub(t.mul(0.0638541728)), h = n.sub(s.mul(0.0894841775)).sub(t.mul(1.291485548)), d = W(u, j(3)), k = W(p, j(3)), U = W(h, j(3));
89
90
  return N(d.mul(4.0767416621).sub(k.mul(3.3077115913)).add(U.mul(0.2309699292)), d.mul(-1.2684380046).add(k.mul(2.6097574011)).sub(U.mul(0.3413193965)), d.mul(-0.0041960863).sub(k.mul(0.7034186147)).add(U.mul(1.707614701)));
90
91
  };
91
- function ar(e, n, s = 1) {
92
+ function sr(e, n, s = 1) {
92
93
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t))), p = mn(N(e.r, e.g, e.b)), h = mn(N(n.r, n.g, n.b)), d = dn(p);
93
- return S(or(ir(y(l(dn(h), t), l(d, l(e.a, R(1, t)))))), u);
94
+ return S(ir(ar(y(l(dn(h), t), l(d, l(e.a, R(1, t)))))), u);
94
95
  }
95
- function sr(e, n, s = 1) {
96
+ function lr(e, n, s = 1) {
96
97
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
97
98
  return S(y(l(l(e.rgb, n.rgb), t), l(e.rgb, l(e.a, R(1, t)))), u);
98
99
  }
99
- function lr(e, n, s = 1) {
100
+ function cr(e, n, s = 1) {
100
101
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
101
102
  return S(y(l(R(1, l(R(1, e.rgb), R(1, n.rgb))), t), l(e.rgb, l(e.a, R(1, t)))), u);
102
103
  }
103
- function cr(e, n, s = 1) {
104
+ function fr(e, n, s = 1) {
104
105
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
105
106
  return S(y(l(We(y(e.rgb, n.rgb), 1), t), l(e.rgb, l(e.a, R(1, t)))), u);
106
107
  }
107
- function fr(e, n, s = 1) {
108
+ function ur(e, n, s = 1) {
108
109
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
109
110
  return S(y(l(Me(l(2, l(e.rgb, n.rgb)), R(1, l(2, l(R(1, e.rgb), R(1, n.rgb)))), Se(0.5, e.rgb)), t), l(e.rgb, l(e.a, R(1, t)))), u);
110
111
  }
111
- function ur(e, n, s = 1) {
112
+ function mr(e, n, s = 1) {
112
113
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
113
114
  return S(y(l(Qn(R(e.rgb, n.rgb)), t), l(e.rgb, l(e.a, R(1, t)))), u);
114
115
  }
115
- function mr(e, n, s = 1) {
116
+ function dr(e, n, s = 1) {
116
117
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
117
118
  return S(y(l(Me(e.rgb, We(In(e.rgb, R(1, n.rgb)), 1), Se(1e-3, R(1, n.rgb))), t), l(e.rgb, l(e.a, R(1, t)))), u);
118
119
  }
119
- function dr(e, n, s = 1) {
120
+ function hr(e, n, s = 1) {
120
121
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
121
122
  return S(y(l(R(y(e.rgb, n.rgb), l(2, l(e.rgb, n.rgb))), t), l(e.rgb, l(e.a, R(1, t)))), u);
122
123
  }
123
124
  function oe(e) {
124
125
  return y(y(l(e.r, 0.2126), l(e.g, 0.7152)), l(e.b, 0.0722));
125
126
  }
126
- function hr(e, n, s = 1) {
127
+ function pr(e, n, s = 1) {
127
128
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t))), p = R(oe(e.rgb), oe(n.rgb));
128
129
  return S(y(l(y(n.rgb, p), t), l(e.rgb, l(e.a, R(1, t)))), u);
129
130
  }
130
- function pr(e, n, s = 1) {
131
+ function gr(e, n, s = 1) {
131
132
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t))), p = oe(e.rgb), h = oe(n.rgb).div(y(p, 1e-4));
132
133
  return S(y(l(l(e.rgb, h), t), l(e.rgb, l(e.a, R(1, t)))), u);
133
134
  }
134
- function gr(e, n, s = 1) {
135
+ function br(e, n, s = 1) {
135
136
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
136
137
  return S(y(l(We(e.rgb, n.rgb), t), l(e.rgb, l(e.a, R(1, t)))), u);
137
138
  }
138
- function br(e, n, s = 1) {
139
+ function vr(e, n, s = 1) {
139
140
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
140
141
  return S(y(l(je(e.rgb, n.rgb), t), l(e.rgb, l(e.a, R(1, t)))), u);
141
142
  }
142
- function vr(e, n, s = 1) {
143
+ function Cr(e, n, s = 1) {
143
144
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
144
145
  return S(y(l(Me(S(0, 0, 0, 1).rgb, je(R(1, R(1, e.rgb).div(y(n.rgb, 1e-4))), 0), Se(1e-4, n.rgb)), t), l(e.rgb, l(e.a, R(1, t)))), u);
145
146
  }
146
- function Cr(e, n, s = 1) {
147
+ function Rr(e, n, s = 1) {
147
148
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
148
149
  return S(y(l(je(y(y(e.rgb, n.rgb), -1), 0), t), l(e.rgb, l(e.a, R(1, t)))), u);
149
150
  }
150
- function Rr(e, n, s = 1) {
151
+ function kr(e, n, s = 1) {
151
152
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t))), p = y(l(2, l(e.rgb, n.rgb)), l(l(e.rgb, e.rgb), R(1, l(2, n.rgb)))), h = vn(e.rgb);
152
153
  return S(y(l(Me(p, y(l(2, l(e.rgb, R(1, n.rgb))), l(h, R(l(2, n.rgb), 1))), Se(0.5, n.rgb)), t), l(e.rgb, l(e.a, R(1, t)))), u);
153
154
  }
154
- function kr(e, n, s = 1) {
155
+ function Tr(e, n, s = 1) {
155
156
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t)));
156
157
  return S(y(l(Me(l(2, l(e.rgb, n.rgb)), R(1, l(2, l(R(1, e.rgb), R(1, n.rgb)))), Se(0.5, n.rgb)), t), l(e.rgb, l(e.a, R(1, t)))), u);
157
158
  }
158
- function Tr(e, n, s = 1) {
159
+ function yr(e, n, s = 1) {
159
160
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t))), p = oe(e.rgb), h = oe(n.rgb), d = e.rgb.sub(p), k = n.rgb.sub(h), U = d.length();
160
161
  return S(y(l(y(l(k.normalize(), U), p), t), l(e.rgb, l(e.a, R(1, t)))), u);
161
162
  }
162
- function yr(e, n, s = 1) {
163
+ function wr(e, n, s = 1) {
163
164
  const t = l(n.a, s), u = y(t, l(e.a, R(1, t))), p = oe(e.rgb), h = oe(n.rgb), d = e.rgb.sub(p), k = n.rgb.sub(h);
164
165
  return S(y(l(y(l(d.normalize(), k.length()), p), t), l(e.rgb, l(e.a, R(1, t)))), u);
165
166
  }
166
167
  var hn = {
167
- normal: Kt,
168
- "normal-oklch": rr,
169
- "normal-oklab": ar,
170
- multiply: sr,
171
- screen: lr,
172
- linearDodge: cr,
173
- overlay: fr,
174
- difference: ur,
175
- colorDodge: mr,
176
- exclusion: dr,
177
- color: hr,
178
- luminosity: pr,
179
- darken: gr,
180
- lighten: br,
181
- colorBurn: vr,
182
- linearBurn: Cr,
183
- softLight: Rr,
184
- hardLight: kr,
185
- hue: Tr,
186
- saturation: yr
168
+ normal: er,
169
+ "normal-oklch": or,
170
+ "normal-oklab": sr,
171
+ multiply: lr,
172
+ screen: cr,
173
+ linearDodge: fr,
174
+ overlay: ur,
175
+ difference: mr,
176
+ colorDodge: dr,
177
+ exclusion: hr,
178
+ color: pr,
179
+ luminosity: gr,
180
+ darken: br,
181
+ lighten: vr,
182
+ colorBurn: Cr,
183
+ linearBurn: Rr,
184
+ softLight: kr,
185
+ hardLight: Tr,
186
+ hue: yr,
187
+ saturation: wr
187
188
  };
188
189
  function H(e, n, s = "normal", t = 1) {
189
190
  return (hn[s] || hn.normal)(e, n, t);
190
191
  }
191
- function wr(e, n) {
192
+ function Ur(e, n) {
192
193
  const s = l(e.a, n.a);
193
194
  return S(e.rgb, s);
194
195
  }
195
- function Ur(e, n) {
196
+ function Sr(e, n) {
196
197
  const s = R(1, n.a), t = l(e.a, s);
197
198
  return S(e.rgb, t);
198
199
  }
199
- function Sr(e, n) {
200
+ function Mr(e, n) {
200
201
  const s = N(0.2126, 0.7152, 0.0722), t = bn(n.rgb, s), u = l(e.a, t);
201
202
  return S(e.rgb, u);
202
203
  }
203
- function Mr(e, n) {
204
+ function xr(e, n) {
204
205
  const s = N(0.2126, 0.7152, 0.0722), t = R(1, bn(n.rgb, s)), u = l(e.a, t);
205
206
  return S(e.rgb, u);
206
207
  }
207
208
  var pn = {
208
- alpha: wr,
209
- alphaInverted: Ur,
210
- luminance: Sr,
211
- luminanceInverted: Mr
209
+ alpha: Ur,
210
+ alphaInverted: Sr,
211
+ luminance: Mr,
212
+ luminanceInverted: xr
212
213
  };
213
- function xr(e, n, s = "alpha") {
214
+ function Ar(e, n, s = "alpha") {
214
215
  return (pn[s] || pn.alpha)(e, n);
215
216
  }
216
- var Ar = class {
217
+ var Dr = class {
217
218
  frameTimesMs = [];
218
219
  maxSamples = 60;
219
220
  targetFrameTime = 16.67;
@@ -347,7 +348,7 @@ var Ar = class {
347
348
  * Gets current performance statistics
348
349
  */
349
350
  getStats(e) {
350
- const n = this.frameTimesMs.length, s = this.frameIntervals.length > 0 ? 1e3 / (this.frameIntervals.reduce((D, E) => D + E, 0) / this.frameIntervals.length) : 0, t = n > 0 ? this.frameTimesMs.reduce((D, E) => D + E, 0) / n : 0, u = n > 0 ? Math.min(...this.frameTimesMs) : 0, p = n > 0 ? Math.max(...this.frameTimesMs) : 0, h = this.calculateP99(this.frameTimesMs), d = this.calculateStdDev(this.frameTimesMs), k = this.totalFrameCount > 0 ? this.jankFrameCount / this.totalFrameCount * 100 : 0, U = performance.memory, B = U ? U.usedJSHeapSize / (1024 * 1024) : null, O = this.calculateMemoryGrowthRate(), Q = t > 0 ? t / this.targetFrameTime * 100 : 0, V = e?.render?.calls ?? null, q = e?.programs?.length ?? null, ce = e?.memory?.textures ?? null, ie = this.calculateIntensityScore();
351
+ const n = this.frameTimesMs.length, s = this.frameIntervals.length > 0 ? 1e3 / (this.frameIntervals.reduce((z, E) => z + E, 0) / this.frameIntervals.length) : 0, t = n > 0 ? this.frameTimesMs.reduce((z, E) => z + E, 0) / n : 0, u = n > 0 ? Math.min(...this.frameTimesMs) : 0, p = n > 0 ? Math.max(...this.frameTimesMs) : 0, h = this.calculateP99(this.frameTimesMs), d = this.calculateStdDev(this.frameTimesMs), k = this.totalFrameCount > 0 ? this.jankFrameCount / this.totalFrameCount * 100 : 0, U = performance.memory, B = U ? U.usedJSHeapSize / (1024 * 1024) : null, O = this.calculateMemoryGrowthRate(), Q = t > 0 ? t / this.targetFrameTime * 100 : 0, V = e?.render?.calls ?? null, q = e?.programs?.length ?? null, ce = e?.memory?.textures ?? null, ie = this.calculateIntensityScore();
351
352
  return {
352
353
  fps: Math.round(s),
353
354
  avgFrameTime: Math.round(t * 100) / 100,
@@ -379,13 +380,13 @@ var Ar = class {
379
380
  reset() {
380
381
  this.frameTimesMs = [], this.frameIntervals = [], this.lastFrameTimestamp = 0, this.jankFrameCount = 0, this.totalFrameCount = 0, this.memorySnapshots = [], this.lastCpuTime = null, this.lastGpuTime = null;
381
382
  }
382
- }, { vec2: we, cos: zr, sin: Dr, float: Er, PI: Fr } = le;
383
+ }, { vec2: we, cos: zr, sin: Er, float: Fr, PI: $r } = le;
383
384
  const ne = (e) => e ? e.offsetX !== 0 || e.offsetY !== 0 || e.rotation !== 0 || e.scale !== 1 || e.anchorX !== 0.5 || e.anchorY !== 0.5 : !1, Ue = (e, n, s, t, u, p, h, d) => {
384
- const k = t.mul(Fr).div(Er(180)), U = zr(k), B = Dr(k), O = we(p, h), Q = e.sub(O).div(u), V = we(Q.x.mul(d), Q.y), q = we(V.x.mul(U).sub(V.y.mul(B)), V.x.mul(B).add(V.y.mul(U)));
385
+ const k = t.mul($r).div(Fr(180)), U = zr(k), B = Er(k), O = we(p, h), Q = e.sub(O).div(u), V = we(Q.x.mul(d), Q.y), q = we(V.x.mul(U).sub(V.y.mul(B)), V.x.mul(B).add(V.y.mul(U)));
385
386
  return we(q.x.div(d), q.y).sub(we(n, s)).add(O);
386
387
  };
387
- var { uniform: $r } = le;
388
- function ri(e, n, s) {
388
+ var { uniform: Or } = le;
389
+ function ii(e, n, s) {
389
390
  const t = {};
390
391
  return Object.entries(e.props).forEach(([u, p]) => {
391
392
  const h = n[u];
@@ -404,20 +405,20 @@ function ri(e, n, s) {
404
405
  default: p.default,
405
406
  hasTransform: !!p.transform
406
407
  }), d = 0);
407
- const k = $r(d).setName(`${u}_${s}`);
408
+ const k = Or(d).setName(`${u}_${s}`);
408
409
  typeof d == "string" && k.value === null && (k.value = d), t[u] = {
409
410
  uniform: k,
410
411
  transform: p.transform || void 0
411
412
  };
412
413
  }), t;
413
414
  }
414
- function Or(e, n) {
415
+ function Br(e, n) {
415
416
  if (e?.transform) {
416
417
  const s = e.transform(n), t = s?.data ?? s;
417
418
  e.uniform.value = t;
418
419
  } else e.uniform.value = n;
419
420
  }
420
- var gn = !1, Br = /* @__PURE__ */ (() => {
421
+ var gn = !1, _r = /* @__PURE__ */ (() => {
421
422
  let e = 0;
422
423
  const n = /* @__PURE__ */ new Set(), s = (h) => {
423
424
  n.forEach((d) => {
@@ -457,7 +458,7 @@ var gn = !1, Br = /* @__PURE__ */ (() => {
457
458
  n.delete(h), e--, e === 0 && (window.removeEventListener("mousemove", s), window.removeEventListener("touchmove", t), window.removeEventListener("mouseup", u), window.removeEventListener("touchend", p));
458
459
  };
459
460
  } };
460
- })(), _r = () => {
461
+ })(), Lr = () => {
461
462
  try {
462
463
  {
463
464
  const { MODE: e, DEV: n } = {
@@ -475,24 +476,24 @@ var gn = !1, Br = /* @__PURE__ */ (() => {
475
476
  return !1;
476
477
  }
477
478
  };
478
- function oi() {
479
+ function ai() {
479
480
  let e = null, n, s, t, u, p;
480
481
  const h = {
481
482
  nodes: /* @__PURE__ */ new Map(),
482
483
  rootId: null,
483
484
  idToNodeId: /* @__PURE__ */ new Map()
484
485
  }, d = /* @__PURE__ */ new Map();
485
- let k = null, U = null, B = null, O = !1, Q = !1, V = !1, q = null, ce = !1, ie = !0, D = 0, E = 0, pe = 0, Qe = !1, xe = 0.5, Ae = 0.5, ae = !1, ze = !1, De = null, ge = null, se = !1;
486
- const te = new Ar();
486
+ let k = null, U = null, B = null, O = !1, Q = !1, V = !1, q = null, ce = !1, ie = !0, z = 0, E = 0, pe = 0, Qe = !1, xe = 0.5, Ae = 0.5, ae = !1, De = !1, ze = null, ge = null, se = !1;
487
+ const te = new Dr();
487
488
  let K = [], Ge = !1, Ee = [], fe = null, Fe = [], ue = null, Je = /* @__PURE__ */ new Set(), Ze = /* @__PURE__ */ new Set(), Ne = 0, be = /* @__PURE__ */ new Set(), Ve = /* @__PURE__ */ new Set(), ve = null, $e = !1;
488
489
  const Cn = (i, r) => {
489
- i <= 0 || r <= 0 || i === D && r === E || (ve = {
490
+ i <= 0 || r <= 0 || i === z && r === E || (ve = {
490
491
  width: i,
491
492
  height: r
492
493
  }, $e || ($e = !0, requestAnimationFrame(() => {
493
494
  if ($e = !1, !ve) return;
494
495
  const { width: o, height: f } = ve;
495
- ve = null, D = o, E = f, V || (V = !0), n.setSize(o, f, !1);
496
+ ve = null, z = o, E = f, V || (V = !0), n.setSize(o, f, !1);
496
497
  const c = o / f, b = 2, v = b * c;
497
498
  s.left = -v / 2, s.right = v / 2, s.top = b / 2, s.bottom = -b / 2, s.updateProjectionMatrix(), u.scale.set(v, b, 1), h.nodes.forEach((m) => {
498
499
  m.transformUniforms?.aspectRatio && (m.transformUniforms.aspectRatio.value = c), m.resizeCallbacks.forEach((M) => {
@@ -501,13 +502,13 @@ function oi() {
501
502
  width: o,
502
503
  height: f
503
504
  });
504
- } catch (z) {
505
- console.error("Error in resize callback:", z);
505
+ } catch (D) {
506
+ console.error("Error in resize callback:", D);
506
507
  }
507
508
  });
508
509
  }), Z().catch(console.warn);
509
510
  })));
510
- }, Rn = () => O && !!n && !!t && !!s && !!p && D > 0 && E > 0, kn = (i) => {
511
+ }, Rn = () => O && !!n && !!t && !!s && !!p && z > 0 && E > 0, kn = (i) => {
511
512
  if (!n || !s || !u) return;
512
513
  const r = i[0];
513
514
  if (!r) return;
@@ -539,14 +540,14 @@ function oi() {
539
540
  };
540
541
  let me = !1;
541
542
  const Re = () => {
542
- if (!(!h.rootId || !p || ze) && h.nodes.get(h.rootId)) {
543
- if (D === 0 || E === 0) {
543
+ if (!(!h.rootId || !p || De) && h.nodes.get(h.rootId)) {
544
+ if (z === 0 || E === 0) {
544
545
  me || (me = !0, requestAnimationFrame(() => {
545
- me = !1, D > 0 && E > 0 && Re();
546
+ me = !1, z > 0 && E > 0 && Re();
546
547
  }));
547
548
  return;
548
549
  }
549
- ze = !0;
550
+ De = !0;
550
551
  try {
551
552
  Ve = new Set(be), be.clear();
552
553
  const i = /* @__PURE__ */ new Set();
@@ -569,7 +570,7 @@ function oi() {
569
570
  } catch (i) {
570
571
  console.error("Error composing shader tree:", i);
571
572
  } finally {
572
- ze = !1;
573
+ De = !1;
573
574
  }
574
575
  Z().catch(console.warn);
575
576
  }
@@ -594,10 +595,10 @@ function oi() {
594
595
  const m = new Set(f);
595
596
  m.add(o);
596
597
  const M = I(v, m);
597
- let z = M;
598
- c && (z = Ce(M).sample(c));
598
+ let D = M;
599
+ c && (D = Ce(M).sample(c));
599
600
  const T = r.metadata.mask.type || "alpha";
600
- return xr(i, z, T);
601
+ return Ar(i, D, T);
601
602
  }, ee = (i, r) => {
602
603
  if (!r.metadata.transform || !r.transformUniforms || !ne(r.metadata.transform) && !r.transformRTTActive) return i;
603
604
  const o = Ce(i), f = Ue(de, r.transformUniforms.offsetX, r.transformUniforms.offsetY, r.transformUniforms.rotation, r.transformUniforms.scale, r.transformUniforms.anchorX, r.transformUniforms.anchorY, r.transformUniforms.aspectRatio);
@@ -677,7 +678,7 @@ function oi() {
677
678
  onResize: w,
678
679
  canvas: e,
679
680
  dimensions: {
680
- width: D,
681
+ width: z,
681
682
  height: E
682
683
  },
683
684
  renderer: n
@@ -687,7 +688,7 @@ function oi() {
687
688
  b.cleanupCallbacks.push(g);
688
689
  }, M = (g) => {
689
690
  b.beforeRenderCallbacks.push(g);
690
- }, z = (g) => {
691
+ }, D = (g) => {
691
692
  b.afterRenderCallbacks.push(g);
692
693
  }, T = (g) => {
693
694
  b.resizeCallbacks.push(g);
@@ -705,11 +706,11 @@ function oi() {
705
706
  uvContext: v,
706
707
  onCleanup: m,
707
708
  onBeforeRender: M,
708
- onAfterRender: z,
709
+ onAfterRender: D,
709
710
  onResize: T,
710
711
  canvas: e,
711
712
  dimensions: {
712
- width: D,
713
+ width: z,
713
714
  height: E
714
715
  },
715
716
  renderer: n
@@ -722,14 +723,14 @@ function oi() {
722
723
  let c;
723
724
  if (f) c = I(f.id, r, o);
724
725
  else {
725
- const z = i[i.length - 1];
726
- if (P(z.id).length === 0) return S(0, 0, 0, 0);
727
- c = I(z.id, r, o);
726
+ const D = i[i.length - 1];
727
+ if (P(D.id).length === 0) return S(0, 0, 0, 0);
728
+ c = I(D.id, r, o);
728
729
  }
729
730
  const b = Ce(c);
730
731
  let v = de;
731
- for (let z = i.length - 1; z >= 0; z--) {
732
- const T = i[z];
732
+ for (let D = i.length - 1; D >= 0; D--) {
733
+ const T = i[D];
733
734
  T.uvTransformFunc && (v = T.uvTransformFunc({
734
735
  uv: v,
735
736
  uniforms: T.uniforms,
@@ -795,18 +796,18 @@ function oi() {
795
796
  console.error("Cleanup error:", a);
796
797
  }
797
798
  }), m.cleanupCallbacks = [], m.beforeRenderCallbacks = [], m.afterRenderCallbacks = [], m.resizeCallbacks = [];
798
- const M = (g) => m.cleanupCallbacks.push(g), z = (g) => m.beforeRenderCallbacks.push(g), T = (g) => m.afterRenderCallbacks.push(g), C = (g) => m.resizeCallbacks.push(g);
799
+ const M = (g) => m.cleanupCallbacks.push(g), D = (g) => m.beforeRenderCallbacks.push(g), T = (g) => m.afterRenderCallbacks.push(g), C = (g) => m.resizeCallbacks.push(g);
799
800
  m.fragmentNodeFunc({
800
801
  uniforms: m.uniforms ?? {},
801
802
  childNode: void 0,
802
803
  uvContext: void 0,
803
804
  onCleanup: M,
804
- onBeforeRender: z,
805
+ onBeforeRender: D,
805
806
  onAfterRender: T,
806
807
  onResize: C,
807
808
  canvas: e,
808
809
  dimensions: {
809
- width: D,
810
+ width: z,
810
811
  height: E
811
812
  },
812
813
  renderer: n
@@ -818,7 +819,7 @@ function oi() {
818
819
  if (m.metadata.visible === !1) continue;
819
820
  const M = m.metadata.opacity ?? 1;
820
821
  m.opacityUniform.value = M, o && o.add(m.id);
821
- const z = P(m.id).length > 0;
822
+ const D = P(m.id).length > 0;
822
823
  let T;
823
824
  const C = f.find((g) => g.index === v);
824
825
  if (C) {
@@ -850,7 +851,7 @@ function oi() {
850
851
  onResize: w,
851
852
  canvas: e,
852
853
  dimensions: {
853
- width: D,
854
+ width: z,
854
855
  height: E
855
856
  },
856
857
  renderer: n
@@ -862,7 +863,7 @@ function oi() {
862
863
  T = J(_, m, m.id, r, a);
863
864
  } else {
864
865
  if (c.find((g) => g.index === v)) continue;
865
- if (z) {
866
+ if (D) {
866
867
  if (ke(m)) T = Be(m.id, r, o);
867
868
  else if (X(m)) {
868
869
  const a = Oe(m.id);
@@ -903,18 +904,18 @@ function oi() {
903
904
  onResize: Y,
904
905
  canvas: e,
905
906
  dimensions: {
906
- width: D,
907
+ width: z,
907
908
  height: E
908
909
  },
909
910
  renderer: n
910
911
  }), m), m, m.id, r);
911
912
  }
912
913
  }
913
- m.requiresChild && m.metadata.blendMode === "normal" && !z ? b = H(S(0, 0, 0, 0), T, "normal", m.opacityUniform) : b === void 0 ? b = H(S(1, 1, 1, 0), T, m.metadata.blendMode, m.opacityUniform) : b = H(b, T, m.metadata.blendMode, m.opacityUniform);
914
+ m.requiresChild && m.metadata.blendMode === "normal" && !D ? b = H(S(0, 0, 0, 0), T, "normal", m.opacityUniform) : b === void 0 ? b = H(S(1, 1, 1, 0), T, m.metadata.blendMode, m.opacityUniform) : b = H(b, T, m.metadata.blendMode, m.opacityUniform);
914
915
  }
915
916
  return b ?? S(0, 0, 0, 0);
916
917
  }, I = (i, r = /* @__PURE__ */ new Set(), o, f = !1) => {
917
- if (D === 0 || E === 0) return S(0, 0, 0, 0);
918
+ if (z === 0 || E === 0) return S(0, 0, 0, 0);
918
919
  const c = h.nodes.get(i);
919
920
  if (!c) return S(0, 0, 0, 0);
920
921
  const b = (T) => {
@@ -925,8 +926,8 @@ function oi() {
925
926
  c.afterRenderCallbacks.push(T);
926
927
  }, M = (T) => {
927
928
  c.resizeCallbacks.push(T);
928
- }, z = P(i);
929
- if (z.length === 0)
929
+ }, D = P(i);
930
+ if (D.length === 0)
930
931
  return c.cleanupCallbacks.forEach((T) => {
931
932
  try {
932
933
  T();
@@ -942,13 +943,13 @@ function oi() {
942
943
  onResize: M,
943
944
  canvas: e,
944
945
  dimensions: {
945
- width: D,
946
+ width: z,
946
947
  height: E
947
948
  },
948
949
  renderer: n
949
950
  }), c), c, i, r);
950
951
  {
951
- const T = [...z].sort((C, g) => C.metadata.renderOrder - g.metadata.renderOrder);
952
+ const T = [...D].sort((C, g) => C.metadata.renderOrder - g.metadata.renderOrder);
952
953
  if (c.parentId === null) {
953
954
  if (!f && Xe(T)) return J(ee(Ye(T, r, o), c), c, i, r);
954
955
  let C;
@@ -999,7 +1000,7 @@ function oi() {
999
1000
  onResize: $,
1000
1001
  canvas: e,
1001
1002
  dimensions: {
1002
- width: D,
1003
+ width: z,
1003
1004
  height: E
1004
1005
  },
1005
1006
  renderer: n
@@ -1023,7 +1024,7 @@ function oi() {
1023
1024
  onResize: M,
1024
1025
  canvas: e,
1025
1026
  dimensions: {
1026
- width: D,
1027
+ width: z,
1027
1028
  height: E
1028
1029
  },
1029
1030
  renderer: n
@@ -1040,7 +1041,7 @@ function oi() {
1040
1041
  onResize: M,
1041
1042
  canvas: e,
1042
1043
  dimensions: {
1043
- width: D,
1044
+ width: z,
1044
1045
  height: E
1045
1046
  },
1046
1047
  renderer: n
@@ -1088,7 +1089,7 @@ function oi() {
1088
1089
  onResize: $,
1089
1090
  canvas: e,
1090
1091
  dimensions: {
1091
- width: D,
1092
+ width: z,
1092
1093
  height: E
1093
1094
  },
1094
1095
  renderer: n
@@ -1112,7 +1113,7 @@ function oi() {
1112
1113
  onResize: M,
1113
1114
  canvas: e,
1114
1115
  dimensions: {
1115
- width: D,
1116
+ width: z,
1116
1117
  height: E
1117
1118
  },
1118
1119
  renderer: n
@@ -1163,7 +1164,7 @@ function oi() {
1163
1164
  const m = G(f?.opacity !== void 0 ? f.opacity : 1);
1164
1165
  let M;
1165
1166
  if (f?.transform) {
1166
- const C = D / Math.max(1, E);
1167
+ const C = z / Math.max(1, E);
1167
1168
  M = {
1168
1169
  offsetX: G(f.transform.offsetX),
1169
1170
  offsetY: G(f.transform.offsetY),
@@ -1175,7 +1176,7 @@ function oi() {
1175
1176
  aspectRatio: G(C)
1176
1177
  };
1177
1178
  }
1178
- const z = {
1179
+ const D = {
1179
1180
  id: i,
1180
1181
  componentName: b?.name || "Unknown",
1181
1182
  fragmentNodeFunc: r,
@@ -1202,18 +1203,18 @@ function oi() {
1202
1203
  uvTransformFunc: b?.uvTransformNode,
1203
1204
  acceptsUVContext: b?.acceptsUVContext || !1
1204
1205
  };
1205
- h.nodes.set(i, z), o === null && (h.rootId = i);
1206
+ h.nodes.set(i, D), o === null && (h.rootId = i);
1206
1207
  const T = d.get(o) || /* @__PURE__ */ new Set();
1207
- T.add(i), d.set(o, T), p && O && D > 0 && E > 0 ? (Ee.includes(i) || Ee.push(i), fe === null && (fe = requestAnimationFrame(() => {
1208
+ T.add(i), d.set(o, T), p && O && z > 0 && E > 0 ? (Ee.includes(i) || Ee.push(i), fe === null && (fe = requestAnimationFrame(() => {
1208
1209
  fe = null, Ee = [], Re();
1209
1210
  }))) : p && O && (me || (me = !0, requestAnimationFrame(() => {
1210
- me = !1, D > 0 && E > 0 && Re();
1211
+ me = !1, z > 0 && E > 0 && Re();
1211
1212
  })));
1212
1213
  }, Sn = (i, r, o) => {
1213
1214
  const f = h.nodes.get(i);
1214
1215
  if (!f || !f.uniforms) return;
1215
1216
  const c = f.uniforms[r];
1216
- !c || !c.uniform || (c.transform ? Or(c, o) : c.uniform.value = o, Z());
1217
+ !c || !c.uniform || (c.transform ? Br(c, o) : c.uniform.value = o, Z());
1217
1218
  }, Mn = (i, r) => {
1218
1219
  const o = h.nodes.get(i);
1219
1220
  if (!o) return;
@@ -1223,7 +1224,7 @@ function oi() {
1223
1224
  if (o.metadata.visible !== c && (o.metadata.visible = c, f = !0), r.id !== void 0 && o.metadata.id !== r.id && (o.metadata.id = r.id, f = !0), r.mask !== void 0 && (o.metadata.mask?.source !== r.mask?.source || o.metadata.mask?.type !== r.mask?.type) && (o.metadata.mask = r.mask, f = !0), r.transform !== void 0) {
1224
1225
  const b = o.metadata.transform ? ne(o.metadata.transform) : !1, v = ne(r.transform);
1225
1226
  if (o.metadata.transform = r.transform, !o.transformUniforms && r.transform) {
1226
- const m = D / Math.max(1, E);
1227
+ const m = z / Math.max(1, E);
1227
1228
  o.transformUniforms = {
1228
1229
  offsetX: G(r.transform.offsetX),
1229
1230
  offsetY: G(r.transform.offsetY),
@@ -1264,7 +1265,7 @@ function oi() {
1264
1265
  },
1265
1266
  pointerActive: ae,
1266
1267
  dimensions: {
1267
- width: D,
1268
+ width: z,
1268
1269
  height: E
1269
1270
  }
1270
1271
  };
@@ -1282,7 +1283,7 @@ function oi() {
1282
1283
  },
1283
1284
  pointerActive: ae,
1284
1285
  dimensions: {
1285
- width: D,
1286
+ width: z,
1286
1287
  height: E
1287
1288
  }
1288
1289
  };
@@ -1299,7 +1300,7 @@ function oi() {
1299
1300
  const c = Math.min(o, 0.1);
1300
1301
  pe = r, se && performance.mark("shader-cpu-start"), xn(c);
1301
1302
  try {
1302
- if (ze) return;
1303
+ if (De) return;
1303
1304
  if (se && performance.mark("shader-gpu-start"), n.render(t, s), An(c), se) {
1304
1305
  if (performance.mark("shader-gpu-end"), n instanceof He) try {
1305
1306
  const b = n.backend;
@@ -1333,11 +1334,11 @@ function oi() {
1333
1334
  } catch (b) {
1334
1335
  console.error("Render frame error:", b);
1335
1336
  }
1336
- }, zn = () => {
1337
+ }, Dn = () => {
1337
1338
  const i = Math.max(0, h.nodes.size - 1), r = Ne;
1338
1339
  te.updateNodeCounts(i, r);
1339
- }, Dn = () => {
1340
- zn();
1340
+ }, zn = () => {
1341
+ Dn();
1341
1342
  const i = n?.info;
1342
1343
  return te.getStats(i);
1343
1344
  }, nn = () => {
@@ -1381,7 +1382,7 @@ function oi() {
1381
1382
  se = r, Q = !0, q = new AbortController();
1382
1383
  const o = q;
1383
1384
  try {
1384
- if (e = i, t = new Yn(), t.background = null, s = new Xn(-1, 1, 1, -1, 0.1, 10), s.position.z = 1, s.lookAt(0, 0, 0), De = Br.register({
1385
+ if (e = i, t = new Yn(), t.background = null, s = new Xn(-1, 1, 1, -1, 0.1, 10), s.position.z = 1, s.lookAt(0, 0, 0), ze = _r.register({
1385
1386
  onMouseMove: En,
1386
1387
  onTouchMove: Fn,
1387
1388
  onMouseUp: $n,
@@ -1390,19 +1391,19 @@ function oi() {
1390
1391
  sn();
1391
1392
  }, window.addEventListener("beforeunload", ge), o.signal.aborted) return;
1392
1393
  try {
1393
- const z = {
1394
+ const D = {
1394
1395
  canvas: i,
1395
1396
  antialias: !0,
1396
1397
  alpha: !0,
1397
1398
  depth: !1,
1398
1399
  powerPreference: "high-performance"
1399
1400
  };
1400
- if (se && (z.forceWebGL = !1, z.requiredFeatures = ["timestamp-query"]), n = new He(z), await n.init(), o.signal.aborted) return;
1401
- } catch (z) {
1401
+ if (se && (D.forceWebGL = !1, D.requiredFeatures = ["timestamp-query"]), n = new He(D), await n.init(), o.signal.aborted) return;
1402
+ } catch (D) {
1402
1403
  if (o.signal.aborted) return;
1403
- console.warn("[Shaders] WebGPU initialization failed, falling back to WebGL:", z);
1404
+ console.warn("[Shaders] WebGPU initialization failed, falling back to WebGL:", D);
1404
1405
  try {
1405
- if (n = new Zt({
1406
+ if (n = new Kt({
1406
1407
  canvas: i,
1407
1408
  antialias: !0,
1408
1409
  alpha: !0,
@@ -1427,8 +1428,8 @@ function oi() {
1427
1428
  ce = c.width > 0 && c.height > 0 && c.top < window.innerHeight && c.bottom > 0 && c.left < window.innerWidth && c.right > 0, ie = !0;
1428
1429
  const { width: b, height: v } = i.getBoundingClientRect(), m = Math.round(b), M = Math.round(v);
1429
1430
  if (m > 0 && M > 0) {
1430
- D = m, E = M, V = !0, n.setSize(m, M, !1);
1431
- const z = m / M, T = 2, C = T * z;
1431
+ z = m, E = M, V = !0, n.setSize(m, M, !1);
1432
+ const D = m / M, T = 2, C = T * D;
1432
1433
  s.left = -C / 2, s.right = C / 2, s.top = T / 2, s.bottom = -T / 2, s.updateProjectionMatrix(), u.scale.set(C, T, 1), await Z();
1433
1434
  } else V = !1;
1434
1435
  ie && nn(), o.signal.aborted || (O = !0, Ge = !0, Bn());
@@ -1438,9 +1439,9 @@ function oi() {
1438
1439
  Q = !1, q === o && (q = null);
1439
1440
  }
1440
1441
  }, Ln = () => {
1441
- !_r() || gn || (console.warn("Shaders is running in development mode. Please purchase a license at https://shaders.com to use it in production."), gn = !0);
1442
+ !Lr() || gn || (console.warn("Shaders is running in development mode. Please purchase a license at https://shaders.com to use it in production."), gn = !0);
1442
1443
  }, sn = () => {
1443
- if (q && q.abort(), U && (U.disconnect(), U = null), B && (B.disconnect(), B = null), De && (De(), De = null), e && (e.removeEventListener("mousedown", on), e.removeEventListener("touchstart", an)), ge && (window.removeEventListener("beforeunload", ge), ge = null), tn(), Ke(), be.forEach((i) => {
1444
+ if (q && q.abort(), U && (U.disconnect(), U = null), B && (B.disconnect(), B = null), ze && (ze(), ze = null), e && (e.removeEventListener("mousedown", on), e.removeEventListener("touchstart", an)), ge && (window.removeEventListener("beforeunload", ge), ge = null), tn(), Ke(), be.forEach((i) => {
1444
1445
  try {
1445
1446
  i?.renderTarget?.dispose && i.renderTarget.dispose();
1446
1447
  } catch {
@@ -1460,7 +1461,7 @@ function oi() {
1460
1461
  n.dispose();
1461
1462
  } catch {
1462
1463
  }
1463
- e = null, n = null, s = null, t = null, u = null, p = null, O = !1, Q = !1, V = !1, q = null, D = 0, E = 0, ce = !1, ie = !0, xe = 0.5, Ae = 0.5, ae = !1;
1464
+ e = null, n = null, s = null, t = null, u = null, p = null, O = !1, Q = !1, V = !1, q = null, z = 0, E = 0, ce = !1, ie = !0, xe = 0.5, Ae = 0.5, ae = !1;
1464
1465
  };
1465
1466
  return {
1466
1467
  initialize: _n,
@@ -1473,7 +1474,7 @@ function oi() {
1473
1474
  isInitialized: () => O,
1474
1475
  startAnimation: nn,
1475
1476
  stopAnimation: tn,
1476
- getPerformanceStats: Dn,
1477
+ getPerformanceStats: zn,
1477
1478
  getNodeRegistry: () => ({ nodes: new Map(h.nodes) }),
1478
1479
  getRendererType: () => n ? n instanceof He ? "webgpu" : "webgl" : null,
1479
1480
  __testing: {
@@ -1495,7 +1496,7 @@ function oi() {
1495
1496
  }
1496
1497
  };
1497
1498
  }
1498
- function ii(e) {
1499
+ function si(e) {
1499
1500
  const n = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), t = {
1500
1501
  processingOrder: [],
1501
1502
  maskSources: /* @__PURE__ */ new Map(),
@@ -1508,9 +1509,9 @@ function ii(e) {
1508
1509
  const p = u.mask.source.startsWith("#") ? u.mask.source.substring(1) : u.mask.source, h = n.get(p);
1509
1510
  h ? (s.has(u.id) || s.set(u.id, []), s.get(u.id)?.push(h), t.maskSources.set(u.id, h)) : console.warn(`Mask source "${p}" not found for node "${u.id}"`);
1510
1511
  }
1511
- }), t.processingOrder = Lr(s, t.circularDependencies), t;
1512
+ }), t.processingOrder = Gr(s, t.circularDependencies), t;
1512
1513
  }
1513
- function Lr(e, n) {
1514
+ function Gr(e, n) {
1514
1515
  const s = [], t = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Set();
1515
1516
  function p(d, k = []) {
1516
1517
  if (t.has(d)) return;
@@ -1529,76 +1530,77 @@ function Lr(e, n) {
1529
1530
  for (const d of h) !t.has(d) && !e.has(d) && s.push(d);
1530
1531
  return s.reverse();
1531
1532
  }
1532
- var { vec2: Gr, fract: Nr, sin: Vr, dot: qr } = le;
1533
- const Pr = (e) => Nr(Vr(qr(e, Gr(12.12345, 78.12345))).mul(40000.12345)), ai = (e = 0.03) => (n) => Pr(n).mul(e).mul(0.10012345);
1534
- var { vec2: Xr } = le;
1535
- const si = (e = Xr(0), n = 0.02, s = 1, t = 1) => {
1533
+ var { vec2: Nr, fract: Vr, sin: qr, dot: Pr } = le;
1534
+ const Xr = (e) => Vr(qr(Pr(e, Nr(12.12345, 78.12345))).mul(40000.12345)), li = (e = 0.03) => (n) => Xr(n).mul(e).mul(0.10012345);
1535
+ var { vec2: Yr } = le;
1536
+ const ci = (e = Yr(0), n = 0.02, s = 1, t = 1) => {
1536
1537
  const { vec2: u, sin: p, cos: h, time: d } = le, k = t * 1.618033988749895, U = t * 2.718281828459045, B = (Math.sin(t) + 2) * 5, O = (Math.cos(t) + 2) * 5, Q = u(p(e.x.mul(s).mul(B).add(d.mul(0.1)).add(k)), h(e.y.mul(s).mul(B).add(d.mul(0.1)).add(U))), V = u(p(e.y.mul(s).mul(O).add(d.mul(0.05)).add(U)), h(e.x.mul(s).mul(O).add(d.mul(0.05)).add(k))), q = Q.add(V).mul(n);
1537
1538
  return e.add(q);
1538
- }, li = (e, n, s = 0.6, t = 0.3, u = 1) => {
1539
+ }, fi = (e, n, s = 0.6, t = 0.3, u = 1) => {
1539
1540
  const { max: p, smoothstep: h, vec4: d } = le, k = p(p(e.r, e.g), e.b), U = h(s, s + t, k).mul(u).mul(1);
1540
1541
  return d(e.rgb.add(n.rgb.mul(U)), e.a);
1541
- }, ci = (e = {}) => {
1542
+ }, ui = (e = {}) => {
1542
1543
  const { inset: n = 0.4, softness: s = 0.5, offsetX: t = 0, offsetY: u = 0 } = e, { float: p, smoothstep: h, uv: d } = le, k = d(), U = k.x.sub(0.5).sub(p(t)).mul(2), B = k.y.sub(0.5).add(p(u)).mul(2), O = U.mul(U).add(B.mul(B)).sqrt();
1543
1544
  return p(1).sub(h(p(1).sub(p(n)), p(1).sub(p(n)).add(p(s)), O.mul(p(1).add(p(s)))));
1544
1545
  };
1545
- var Yr = () => {
1546
+ var Ir = () => {
1546
1547
  const e = {};
1547
1548
  return Object.entries({
1548
1549
  AngularBlur: Zn,
1549
1550
  Ascii: Kn,
1550
- Blob: et,
1551
- Blur: nt,
1552
- Bulge: tt,
1553
- ChannelBlur: rt,
1554
- Checkerboard: ot,
1555
- ChromaFlow: it,
1556
- ChromaticAberration: at,
1557
- Circle: st,
1558
- CRTScreen: lt,
1559
- CursorTrail: ct,
1560
- DiffuseBlur: ft,
1561
- Dither: ut,
1562
- DotGrid: mt,
1563
- Duotone: dt,
1564
- FilmGrain: ht,
1565
- FloatingParticles: pt,
1566
- GlassTiles: gt,
1567
- Glow: bt,
1568
- Godrays: vt,
1569
- Grayscale: Ct,
1570
- Grid: Rt,
1571
- GridDistortion: kt,
1572
- Group: Tt,
1573
- Halftone: yt,
1574
- HueShift: wt,
1575
- ImageTexture: Ut,
1576
- Invert: St,
1577
- LinearBlur: Mt,
1578
- LinearGradient: xt,
1579
- Liquify: At,
1551
+ Beam: et,
1552
+ Blob: nt,
1553
+ Blur: tt,
1554
+ Bulge: rt,
1555
+ ChannelBlur: ot,
1556
+ Checkerboard: it,
1557
+ ChromaFlow: at,
1558
+ ChromaticAberration: st,
1559
+ Circle: lt,
1560
+ CRTScreen: ct,
1561
+ CursorTrail: ft,
1562
+ DiffuseBlur: ut,
1563
+ Dither: mt,
1564
+ DotGrid: dt,
1565
+ Duotone: ht,
1566
+ FilmGrain: pt,
1567
+ FloatingParticles: gt,
1568
+ GlassTiles: bt,
1569
+ Glow: vt,
1570
+ Godrays: Ct,
1571
+ Grayscale: Rt,
1572
+ Grid: kt,
1573
+ GridDistortion: Tt,
1574
+ Group: yt,
1575
+ Halftone: wt,
1576
+ HueShift: Ut,
1577
+ ImageTexture: St,
1578
+ Invert: Mt,
1579
+ LinearBlur: xt,
1580
+ LinearGradient: At,
1581
+ Liquify: Dt,
1580
1582
  Pixelate: zt,
1581
- PolarCoordinates: Dt,
1582
- Posterize: Et,
1583
- ProgressiveBlur: Ft,
1584
- RadialGradient: $t,
1585
- RectangularCoordinates: Ot,
1586
- Ripples: Bt,
1587
- Saturation: _t,
1588
- SimplexNoise: Lt,
1589
- SineWave: Gt,
1590
- SolidColor: Nt,
1591
- Spherize: Vt,
1592
- Spiral: qt,
1593
- Strands: Pt,
1594
- Stretch: Xt,
1595
- Swirl: Yt,
1596
- TiltShift: It,
1597
- Tritone: Ht,
1598
- Twirl: Wt,
1599
- Vibrance: jt,
1600
- WaveDistortion: Qt,
1601
- ZoomBlur: Jt
1583
+ PolarCoordinates: Et,
1584
+ Posterize: Ft,
1585
+ ProgressiveBlur: $t,
1586
+ RadialGradient: Ot,
1587
+ RectangularCoordinates: Bt,
1588
+ Ripples: _t,
1589
+ Saturation: Lt,
1590
+ SimplexNoise: Gt,
1591
+ SineWave: Nt,
1592
+ SolidColor: Vt,
1593
+ Spherize: qt,
1594
+ Spiral: Pt,
1595
+ Strands: Xt,
1596
+ Stretch: Yt,
1597
+ Swirl: It,
1598
+ TiltShift: Ht,
1599
+ Tritone: Wt,
1600
+ Twirl: jt,
1601
+ Vibrance: Qt,
1602
+ WaveDistortion: Jt,
1603
+ ZoomBlur: Zt
1602
1604
  }).forEach(([s, t]) => {
1603
1605
  const u = {};
1604
1606
  t.props && Object.entries(t.props).forEach(([p, h]) => {
@@ -1616,33 +1618,33 @@ var Yr = () => {
1616
1618
  };
1617
1619
  }), e;
1618
1620
  };
1619
- const Le = Yr();
1620
- function fi() {
1621
+ const Le = Ir();
1622
+ function mi() {
1621
1623
  return Object.values(Le);
1622
1624
  }
1623
- function ui(e) {
1625
+ function di(e) {
1624
1626
  return Le[e];
1625
1627
  }
1626
- function mi(e) {
1628
+ function hi(e) {
1627
1629
  return Object.values(Le).filter((n) => n.category === e);
1628
1630
  }
1629
- function di() {
1631
+ function pi() {
1630
1632
  const e = new Set(Object.values(Le).map((n) => n.category));
1631
1633
  return Array.from(e).sort();
1632
1634
  }
1633
1635
  export {
1634
- Qr as createAnimatedTime,
1635
- ri as createUniformsMap,
1636
- si as distort,
1637
- ci as edgeMask,
1638
- fi as getAllShaders,
1639
- ui as getShaderByName,
1640
- di as getShaderCategories,
1641
- mi as getShadersByCategory,
1642
- li as glow,
1643
- ai as grain,
1644
- ii as resolveMaskDependencies,
1636
+ Jr as createAnimatedTime,
1637
+ ii as createUniformsMap,
1638
+ ci as distort,
1639
+ ui as edgeMask,
1640
+ mi as getAllShaders,
1641
+ di as getShaderByName,
1642
+ pi as getShaderCategories,
1643
+ hi as getShadersByCategory,
1644
+ fi as glow,
1645
+ li as grain,
1646
+ si as resolveMaskDependencies,
1645
1647
  Le as shaderRegistry,
1646
- oi as shaderRenderer,
1647
- Or as updateUniformValue
1648
+ ai as shaderRenderer,
1649
+ Br as updateUniformValue
1648
1650
  };