shaders 2.5.88 → 2.5.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/ConicGradient-BXXizzIs.js +92 -0
- package/dist/core/{Crescent-DnFexzlT.js → Crescent-DPxGWdPH.js} +1 -1
- package/dist/core/{Cross-rsVMygBv.js → Cross-CDyzf8TT.js} +1 -1
- package/dist/core/{Crystal-z-2qqfhQ.js → Crystal-DSuN8TNY.js} +1 -1
- package/dist/core/DiamondGradient-TsOxHjg_.js +123 -0
- package/dist/core/DropShadow-_VJqd8du.js +131 -0
- package/dist/core/{Ellipse-CJFK20Xl.js → Ellipse-BvlGDQyZ.js} +1 -1
- package/dist/core/{Emboss-DWXpvlZO.js → Emboss-CF-BN_CQ.js} +1 -1
- package/dist/core/{Flower-BST3LQVi.js → Flower-ByQNUJyZ.js} +1 -1
- package/dist/core/{Glass-BDHs6Enu.js → Glass-BGy9jsiS.js} +1 -1
- package/dist/core/{Grid-CV2iJqlk.js → Grid-Dweeo8b2.js} +32 -6
- package/dist/core/HexGrid-KxwCqF1D.js +85 -0
- package/dist/core/MultiPointGradient-BcjurHeM.js +181 -0
- package/dist/core/{Neon-gsfaMvGq.js → Neon-CRC16G0F.js} +1 -1
- package/dist/core/{Polygon-BeqB8MSz.js → Polygon-2V8po0Ba.js} +1 -1
- package/dist/core/RadialGradient-niSnNlOF.js +123 -0
- package/dist/core/{Ring-DJl9JUMR.js → Ring-BiKv_lr2.js} +1 -1
- package/dist/core/{RoundedRect--rHP7xW4.js → RoundedRect-BjOTRXb0.js} +1 -1
- package/dist/core/Solarize-B0aT_8tE.js +47 -0
- package/dist/core/{Star-CxI_taxd.js → Star-DJnks6B5.js} +1 -1
- package/dist/core/{Trapezoid-D7qg9Gc5.js → Trapezoid-CoK8i1IS.js} +1 -1
- package/dist/core/Truchet-Bz6ETvSS.js +100 -0
- package/dist/core/{Vesica-p8oNtcOH.js → Vesica-BELYZ5M8.js} +1 -1
- package/dist/core/{VideoTexture-ChFw0jKS.js → VideoTexture-C90aUnt4.js} +1 -1
- package/dist/core/Vignette-B94FMFBz.js +84 -0
- package/dist/core/Voronoi-DPWvdZ05.js +152 -0
- package/dist/core/Weave-DzZv1-19.js +95 -0
- package/dist/core/{WebcamTexture-CF1nwkNG.js → WebcamTexture-7SK_C_Xf.js} +1 -1
- package/dist/core/index.js +91 -81
- package/dist/core/registry.js +91 -81
- package/dist/core/shaderRegistry-DICjiu4V.js +242 -0
- package/dist/core/shaderRegistry.d.ts.map +1 -1
- package/dist/core/shaders/CRTScreen/index.js +1 -1
- package/dist/core/shaders/ConicGradient/index.d.ts +48 -0
- package/dist/core/shaders/ConicGradient/index.d.ts.map +1 -0
- package/dist/core/shaders/ConicGradient/index.js +4 -0
- package/dist/core/shaders/ContourLines/index.js +1 -1
- package/dist/core/shaders/Crescent/index.js +2 -2
- package/dist/core/shaders/Cross/index.js +2 -2
- package/dist/core/shaders/Crystal/index.js +2 -2
- package/dist/core/shaders/CursorRipples/index.js +1 -1
- package/dist/core/shaders/CursorTrail/index.js +1 -1
- package/dist/core/shaders/DiamondGradient/index.d.ts +60 -0
- package/dist/core/shaders/DiamondGradient/index.d.ts.map +1 -0
- package/dist/core/shaders/DiamondGradient/index.js +4 -0
- package/dist/core/shaders/DiffuseBlur/index.js +1 -1
- package/dist/core/shaders/Dither/index.js +1 -1
- package/dist/core/shaders/DotGrid/index.js +1 -1
- package/dist/core/shaders/DropShadow/index.d.ts +39 -0
- package/dist/core/shaders/DropShadow/index.d.ts.map +1 -0
- package/dist/core/shaders/DropShadow/index.js +4 -0
- package/dist/core/shaders/Duotone/index.js +1 -1
- package/dist/core/shaders/Ellipse/index.js +2 -2
- package/dist/core/shaders/Emboss/index.js +2 -2
- package/dist/core/shaders/FallingLines/index.js +1 -1
- package/dist/core/shaders/FilmGrain/index.js +1 -1
- package/dist/core/shaders/FloatingParticles/index.js +1 -1
- package/dist/core/shaders/FlowField/index.js +1 -1
- package/dist/core/shaders/Flower/index.js +2 -2
- package/dist/core/shaders/FlowingGradient/index.js +1 -1
- package/dist/core/shaders/Form3D/index.js +1 -1
- package/dist/core/shaders/Glass/index.js +2 -2
- package/dist/core/shaders/GlassTiles/index.js +1 -1
- package/dist/core/shaders/Glitch/index.js +1 -1
- package/dist/core/shaders/Glow/index.js +1 -1
- package/dist/core/shaders/Godrays/index.js +1 -1
- package/dist/core/shaders/Grayscale/index.js +1 -1
- package/dist/core/shaders/Grid/index.d.ts +6 -0
- package/dist/core/shaders/Grid/index.d.ts.map +1 -1
- package/dist/core/shaders/Grid/index.js +1 -1
- package/dist/core/shaders/GridDistortion/index.js +1 -1
- package/dist/core/shaders/Group/index.js +1 -1
- package/dist/core/shaders/Halftone/index.js +1 -1
- package/dist/core/shaders/HexGrid/index.d.ts +41 -0
- package/dist/core/shaders/HexGrid/index.d.ts.map +1 -0
- package/dist/core/shaders/HexGrid/index.js +4 -0
- package/dist/core/shaders/HueShift/index.js +1 -1
- package/dist/core/shaders/ImageTexture/index.js +1 -1
- package/dist/core/shaders/Invert/index.js +1 -1
- package/dist/core/shaders/Kaleidoscope/index.js +1 -1
- package/dist/core/shaders/LensFlare/index.js +1 -1
- package/dist/core/shaders/LinearBlur/index.js +1 -1
- package/dist/core/shaders/LinearGradient/index.js +1 -1
- package/dist/core/shaders/Liquify/index.js +1 -1
- package/dist/core/shaders/Mirror/index.js +1 -1
- package/dist/core/shaders/MultiPointGradient/index.d.ts +84 -0
- package/dist/core/shaders/MultiPointGradient/index.d.ts.map +1 -0
- package/dist/core/shaders/MultiPointGradient/index.js +3 -0
- package/dist/core/shaders/Neon/index.js +2 -2
- package/dist/core/shaders/Paper/index.js +1 -1
- package/dist/core/shaders/Perspective/index.js +1 -1
- package/dist/core/shaders/Pixelate/index.js +1 -1
- package/dist/core/shaders/Plasma/index.js +1 -1
- package/dist/core/shaders/PolarCoordinates/index.js +1 -1
- package/dist/core/shaders/Polygon/index.js +2 -2
- package/dist/core/shaders/Posterize/index.js +1 -1
- package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
- package/dist/core/shaders/RadialGradient/index.d.ts +18 -0
- package/dist/core/shaders/RadialGradient/index.d.ts.map +1 -1
- package/dist/core/shaders/RadialGradient/index.js +1 -1
- package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
- package/dist/core/shaders/Ring/index.js +2 -2
- package/dist/core/shaders/Ripples/index.js +1 -1
- package/dist/core/shaders/RoundedRect/index.js +2 -2
- package/dist/core/shaders/Saturation/index.js +1 -1
- package/dist/core/shaders/Sharpness/index.js +1 -1
- package/dist/core/shaders/Shatter/index.js +1 -1
- package/dist/core/shaders/SimplexNoise/index.js +1 -1
- package/dist/core/shaders/SineWave/index.js +1 -1
- package/dist/core/shaders/Solarize/index.d.ts +19 -0
- package/dist/core/shaders/Solarize/index.d.ts.map +1 -0
- package/dist/core/shaders/Solarize/index.js +2 -0
- package/dist/core/shaders/SolidColor/index.js +1 -1
- package/dist/core/shaders/Spherize/index.js +1 -1
- package/dist/core/shaders/Spiral/index.js +1 -1
- package/dist/core/shaders/Star/index.js +2 -2
- package/dist/core/shaders/Strands/index.js +1 -1
- package/dist/core/shaders/Stretch/index.js +1 -1
- package/dist/core/shaders/Stripes/index.js +1 -1
- package/dist/core/shaders/StudioBackground/index.js +1 -1
- package/dist/core/shaders/Swirl/index.js +1 -1
- package/dist/core/shaders/TiltShift/index.js +1 -1
- package/dist/core/shaders/Tint/index.js +1 -1
- package/dist/core/shaders/Trapezoid/index.js +2 -2
- package/dist/core/shaders/Tritone/index.js +1 -1
- package/dist/core/shaders/Truchet/index.d.ts +47 -0
- package/dist/core/shaders/Truchet/index.d.ts.map +1 -0
- package/dist/core/shaders/Truchet/index.js +4 -0
- package/dist/core/shaders/Twirl/index.js +1 -1
- package/dist/core/shaders/Vesica/index.js +2 -2
- package/dist/core/shaders/Vibrance/index.js +1 -1
- package/dist/core/shaders/VideoTexture/index.js +2 -2
- package/dist/core/shaders/Vignette/index.d.ts +40 -0
- package/dist/core/shaders/Vignette/index.d.ts.map +1 -0
- package/dist/core/shaders/Vignette/index.js +3 -0
- package/dist/core/shaders/Voronoi/index.d.ts +67 -0
- package/dist/core/shaders/Voronoi/index.d.ts.map +1 -0
- package/dist/core/shaders/Voronoi/index.js +5 -0
- package/dist/core/shaders/WaveDistortion/index.js +1 -1
- package/dist/core/shaders/Weave/index.d.ts +40 -0
- package/dist/core/shaders/Weave/index.d.ts.map +1 -0
- package/dist/core/shaders/Weave/index.js +3 -0
- package/dist/core/shaders/WebcamTexture/index.js +2 -2
- package/dist/core/shaders/ZoomBlur/index.js +1 -1
- package/dist/js/createShader.js +1 -1
- package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/js/utils/generatePresetCode.js +141 -1
- package/dist/react/ConicGradient.js +181 -0
- package/dist/react/DiamondGradient.js +181 -0
- package/dist/react/DropShadow.js +181 -0
- package/dist/react/HexGrid.js +181 -0
- package/dist/react/MultiPointGradient.js +181 -0
- package/dist/react/Preview.js +10 -0
- package/dist/react/Shader.js +1 -1
- package/dist/react/Solarize.js +181 -0
- package/dist/react/Truchet.js +181 -0
- package/dist/react/Vignette.js +181 -0
- package/dist/react/Voronoi.js +181 -0
- package/dist/react/Weave.js +181 -0
- package/dist/react/components/ConicGradient.d.ts +35 -0
- package/dist/react/components/ConicGradient.d.ts.map +1 -0
- package/dist/react/components/DiamondGradient.d.ts +37 -0
- package/dist/react/components/DiamondGradient.d.ts.map +1 -0
- package/dist/react/components/DropShadow.d.ts +36 -0
- package/dist/react/components/DropShadow.d.ts.map +1 -0
- package/dist/react/components/Grid.d.ts +2 -1
- package/dist/react/components/Grid.d.ts.map +1 -1
- package/dist/react/components/HexGrid.d.ts +34 -0
- package/dist/react/components/HexGrid.d.ts.map +1 -0
- package/dist/react/components/MultiPointGradient.d.ts +38 -0
- package/dist/react/components/MultiPointGradient.d.ts.map +1 -0
- package/dist/react/components/RadialGradient.d.ts +4 -1
- package/dist/react/components/RadialGradient.d.ts.map +1 -1
- package/dist/react/components/Solarize.d.ts +34 -0
- package/dist/react/components/Solarize.d.ts.map +1 -0
- package/dist/react/components/Truchet.d.ts +35 -0
- package/dist/react/components/Truchet.d.ts.map +1 -0
- package/dist/react/components/Vignette.d.ts +36 -0
- package/dist/react/components/Vignette.d.ts.map +1 -0
- package/dist/react/components/Voronoi.d.ts +36 -0
- package/dist/react/components/Voronoi.d.ts.map +1 -0
- package/dist/react/components/Weave.d.ts +35 -0
- package/dist/react/components/Weave.d.ts.map +1 -0
- package/dist/react/engine/Preview.d.ts.map +1 -1
- package/dist/react/index.d.ts +10 -0
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +11 -1
- package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/react/utils/generatePresetCode.js +141 -1
- package/dist/registry.js +2315 -267
- package/dist/solid/components/ConicGradient.d.ts +32 -0
- package/dist/solid/components/ConicGradient.d.ts.map +1 -0
- package/dist/solid/components/ConicGradient.js +183 -0
- package/dist/solid/components/DiamondGradient.d.ts +34 -0
- package/dist/solid/components/DiamondGradient.d.ts.map +1 -0
- package/dist/solid/components/DiamondGradient.js +183 -0
- package/dist/solid/components/DropShadow.d.ts +33 -0
- package/dist/solid/components/DropShadow.d.ts.map +1 -0
- package/dist/solid/components/DropShadow.js +183 -0
- package/dist/solid/components/Grid.d.ts +2 -1
- package/dist/solid/components/Grid.d.ts.map +1 -1
- package/dist/solid/components/HexGrid.d.ts +31 -0
- package/dist/solid/components/HexGrid.d.ts.map +1 -0
- package/dist/solid/components/HexGrid.js +183 -0
- package/dist/solid/components/MultiPointGradient.d.ts +35 -0
- package/dist/solid/components/MultiPointGradient.d.ts.map +1 -0
- package/dist/solid/components/MultiPointGradient.js +183 -0
- package/dist/solid/components/RadialGradient.d.ts +4 -1
- package/dist/solid/components/RadialGradient.d.ts.map +1 -1
- package/dist/solid/components/Solarize.d.ts +31 -0
- package/dist/solid/components/Solarize.d.ts.map +1 -0
- package/dist/solid/components/Solarize.js +183 -0
- package/dist/solid/components/Truchet.d.ts +32 -0
- package/dist/solid/components/Truchet.d.ts.map +1 -0
- package/dist/solid/components/Truchet.js +183 -0
- package/dist/solid/components/Vignette.d.ts +33 -0
- package/dist/solid/components/Vignette.d.ts.map +1 -0
- package/dist/solid/components/Vignette.js +183 -0
- package/dist/solid/components/Voronoi.d.ts +33 -0
- package/dist/solid/components/Voronoi.d.ts.map +1 -0
- package/dist/solid/components/Voronoi.js +183 -0
- package/dist/solid/components/Weave.d.ts +32 -0
- package/dist/solid/components/Weave.d.ts.map +1 -0
- package/dist/solid/components/Weave.js +183 -0
- package/dist/solid/engine/Preview.d.ts.map +1 -1
- package/dist/solid/engine/Preview.js +200 -180
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/solid/index.d.ts +10 -0
- package/dist/solid/index.d.ts.map +1 -1
- package/dist/solid/index.js +178 -158
- package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/solid/utils/generatePresetCode.js +141 -1
- package/dist/svelte/components/ConicGradient.svelte.d.ts +22 -0
- package/dist/svelte/components/DiamondGradient.svelte.d.ts +24 -0
- package/dist/svelte/components/DropShadow.svelte.d.ts +23 -0
- package/dist/svelte/components/Grid.svelte.d.ts +1 -0
- package/dist/svelte/components/HexGrid.svelte.d.ts +21 -0
- package/dist/svelte/components/MultiPointGradient.svelte.d.ts +25 -0
- package/dist/svelte/components/RadialGradient.svelte.d.ts +3 -0
- package/dist/svelte/components/Solarize.svelte.d.ts +21 -0
- package/dist/svelte/components/Truchet.svelte.d.ts +22 -0
- package/dist/svelte/components/Vignette.svelte.d.ts +23 -0
- package/dist/svelte/components/Voronoi.svelte.d.ts +23 -0
- package/dist/svelte/components/Weave.svelte.d.ts +22 -0
- package/dist/svelte/{generatePresetCode-BzFhasGi.js → generatePresetCode-C7KnCLnD.js} +141 -1
- package/dist/svelte/index.d.ts +10 -0
- package/dist/svelte/index.js +1810 -340
- package/dist/svelte/source/components/ConicGradient.svelte +289 -0
- package/dist/svelte/source/components/DiamondGradient.svelte +291 -0
- package/dist/svelte/source/components/DropShadow.svelte +290 -0
- package/dist/svelte/source/components/Grid.svelte +1 -0
- package/dist/svelte/source/components/HexGrid.svelte +288 -0
- package/dist/svelte/source/components/MultiPointGradient.svelte +292 -0
- package/dist/svelte/source/components/RadialGradient.svelte +3 -0
- package/dist/svelte/source/components/Solarize.svelte +288 -0
- package/dist/svelte/source/components/Truchet.svelte +289 -0
- package/dist/svelte/source/components/Vignette.svelte +290 -0
- package/dist/svelte/source/components/Voronoi.svelte +290 -0
- package/dist/svelte/source/components/Weave.svelte +289 -0
- package/dist/svelte/source/engine/Preview.svelte +20 -0
- package/dist/svelte/source/index.js +10 -0
- package/dist/svelte/utils/generatePresetCode.js +1 -1
- package/dist/vue/ConicGradient.js +3 -0
- package/dist/vue/ConicGradient.vue_vue_type_script_setup_true_lang.js +171 -0
- package/dist/vue/DiamondGradient.js +3 -0
- package/dist/vue/DiamondGradient.vue_vue_type_script_setup_true_lang.js +173 -0
- package/dist/vue/DropShadow.js +3 -0
- package/dist/vue/DropShadow.vue_vue_type_script_setup_true_lang.js +170 -0
- package/dist/vue/Grid.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/vue/HexGrid.js +3 -0
- package/dist/vue/HexGrid.vue_vue_type_script_setup_true_lang.js +170 -0
- package/dist/vue/MultiPointGradient.js +3 -0
- package/dist/vue/MultiPointGradient.vue_vue_type_script_setup_true_lang.js +176 -0
- package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +20 -0
- package/dist/vue/RadialGradient.vue_vue_type_script_setup_true_lang.js +3 -0
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/vue/Solarize.js +3 -0
- package/dist/vue/Solarize.vue_vue_type_script_setup_true_lang.js +167 -0
- package/dist/vue/Truchet.js +3 -0
- package/dist/vue/Truchet.vue_vue_type_script_setup_true_lang.js +171 -0
- package/dist/vue/Vignette.js +3 -0
- package/dist/vue/Vignette.vue_vue_type_script_setup_true_lang.js +170 -0
- package/dist/vue/Voronoi.js +3 -0
- package/dist/vue/Voronoi.vue_vue_type_script_setup_true_lang.js +174 -0
- package/dist/vue/Weave.js +3 -0
- package/dist/vue/Weave.vue_vue_type_script_setup_true_lang.js +170 -0
- package/dist/vue/components/ConicGradient.vue.d.ts +57 -0
- package/dist/vue/components/ConicGradient.vue.d.ts.map +1 -0
- package/dist/vue/components/DiamondGradient.vue.d.ts +59 -0
- package/dist/vue/components/DiamondGradient.vue.d.ts.map +1 -0
- package/dist/vue/components/DropShadow.vue.d.ts +58 -0
- package/dist/vue/components/DropShadow.vue.d.ts.map +1 -0
- package/dist/vue/components/Grid.vue.d.ts +1 -0
- package/dist/vue/components/Grid.vue.d.ts.map +1 -1
- package/dist/vue/components/HexGrid.vue.d.ts +56 -0
- package/dist/vue/components/HexGrid.vue.d.ts.map +1 -0
- package/dist/vue/components/MultiPointGradient.vue.d.ts +60 -0
- package/dist/vue/components/MultiPointGradient.vue.d.ts.map +1 -0
- package/dist/vue/components/RadialGradient.vue.d.ts +3 -0
- package/dist/vue/components/RadialGradient.vue.d.ts.map +1 -1
- package/dist/vue/components/Solarize.vue.d.ts +56 -0
- package/dist/vue/components/Solarize.vue.d.ts.map +1 -0
- package/dist/vue/components/Truchet.vue.d.ts +57 -0
- package/dist/vue/components/Truchet.vue.d.ts.map +1 -0
- package/dist/vue/components/Vignette.vue.d.ts +58 -0
- package/dist/vue/components/Vignette.vue.d.ts.map +1 -0
- package/dist/vue/components/Voronoi.vue.d.ts +58 -0
- package/dist/vue/components/Voronoi.vue.d.ts.map +1 -0
- package/dist/vue/components/Weave.vue.d.ts +57 -0
- package/dist/vue/components/Weave.vue.d.ts.map +1 -0
- package/dist/vue/index.d.ts +10 -0
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +11 -1
- package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
- package/dist/vue/utils/generatePresetCode.js +141 -1
- package/package.json +106 -1
- package/dist/core/RadialGradient-BMmhr2qB.js +0 -75
- package/dist/core/shaderRegistry-Cq1lFKDh.js +0 -222
- /package/dist/core/{CRTScreen-BZ-sAmPZ.js → CRTScreen-DolQEkb1.js} +0 -0
- /package/dist/core/{ContourLines-yEb5IJ1Y.js → ContourLines-C0XSJEkE.js} +0 -0
- /package/dist/core/{CursorRipples-CkVMs3DF.js → CursorRipples-n_xEDr10.js} +0 -0
- /package/dist/core/{CursorTrail-1D7ymT9O.js → CursorTrail-Dm2pOh9x.js} +0 -0
- /package/dist/core/{DiffuseBlur-BAq1jHVB.js → DiffuseBlur-BqIV4JLM.js} +0 -0
- /package/dist/core/{Dither-U_UFB8oZ.js → Dither-D_YF6z03.js} +0 -0
- /package/dist/core/{DotGrid-BzAsAVrt.js → DotGrid-Cv_aCN_c.js} +0 -0
- /package/dist/core/{Duotone-CuIRHH_k.js → Duotone-Db9kfzCs.js} +0 -0
- /package/dist/core/{FallingLines-BQzBwOy0.js → FallingLines-CTa8zuvs.js} +0 -0
- /package/dist/core/{FilmGrain-Birzz05_.js → FilmGrain-SrB3ZXIg.js} +0 -0
- /package/dist/core/{FloatingParticles-shoqY6fm.js → FloatingParticles-BVUK6GlL.js} +0 -0
- /package/dist/core/{FlowField-CJdtd3Za.js → FlowField-CF95xOBc.js} +0 -0
- /package/dist/core/{FlowingGradient-Dsuqf7Yn.js → FlowingGradient-DhOce4wJ.js} +0 -0
- /package/dist/core/{Form3D-Czd8VBcU.js → Form3D-CcBdpCQr.js} +0 -0
- /package/dist/core/{GlassTiles-CQFngHS9.js → GlassTiles-LsfUL0JT.js} +0 -0
- /package/dist/core/{Glitch-q3H4XH_K.js → Glitch-DuQ-dtyM.js} +0 -0
- /package/dist/core/{Glow-BltxRvyM.js → Glow-CsiZkj9_.js} +0 -0
- /package/dist/core/{Godrays-YxezlRHu.js → Godrays-CoSL15CM.js} +0 -0
- /package/dist/core/{Grayscale-D_RwmAV3.js → Grayscale-BrwJ4_uW.js} +0 -0
- /package/dist/core/{GridDistortion-JCuvWcoV.js → GridDistortion-DIarsmKa.js} +0 -0
- /package/dist/core/{Group-CeA8FtS3.js → Group-Cc3_0QdC.js} +0 -0
- /package/dist/core/{Halftone-4oL_AA-D.js → Halftone-nfr7eNaT.js} +0 -0
- /package/dist/core/{HueShift-7Gv8BV4v.js → HueShift-kNK2rEVM.js} +0 -0
- /package/dist/core/{ImageTexture-BaVcRld1.js → ImageTexture-acllbA1z.js} +0 -0
- /package/dist/core/{Invert-D_jzp4D9.js → Invert-CMnUhHo2.js} +0 -0
- /package/dist/core/{Kaleidoscope-Baz9Fu8k.js → Kaleidoscope-CgnidMrq.js} +0 -0
- /package/dist/core/{LensFlare-Dyv84bAb.js → LensFlare-CkCTGuKS.js} +0 -0
- /package/dist/core/{LinearBlur-ZGWbzIt4.js → LinearBlur-ByirUCm_.js} +0 -0
- /package/dist/core/{LinearGradient-CZGPiyHq.js → LinearGradient-B2ErQXPL.js} +0 -0
- /package/dist/core/{Liquify-DrWLq2Kz.js → Liquify-BTyJAOmV.js} +0 -0
- /package/dist/core/{Mirror-C5LuGm-w.js → Mirror-CAW37Y13.js} +0 -0
- /package/dist/core/{Paper-BVuYd7u4.js → Paper-Dkh14pIW.js} +0 -0
- /package/dist/core/{Perspective-CqV-lhEE.js → Perspective-CyG4fNaI.js} +0 -0
- /package/dist/core/{Pixelate-DrG7QsBR.js → Pixelate-DkD_q_Ma.js} +0 -0
- /package/dist/core/{Plasma-BvaqpPiL.js → Plasma-Cuv1eJhl.js} +0 -0
- /package/dist/core/{PolarCoordinates-CiNUC56M.js → PolarCoordinates-iQB2vg0q.js} +0 -0
- /package/dist/core/{Posterize-CGEUVRt_.js → Posterize-Bnf3EUfk.js} +0 -0
- /package/dist/core/{ProgressiveBlur-jEam9zrU.js → ProgressiveBlur-Bc_dXikb.js} +0 -0
- /package/dist/core/{RectangularCoordinates-Cj-d2ol3.js → RectangularCoordinates-DbQ25OTz.js} +0 -0
- /package/dist/core/{Ripples-r12S7WG7.js → Ripples-Daco0GPY.js} +0 -0
- /package/dist/core/{Saturation-BAORnZso.js → Saturation-BNWZN-nJ.js} +0 -0
- /package/dist/core/{Sharpness-CFzYBYlL.js → Sharpness-tRNM2arG.js} +0 -0
- /package/dist/core/{Shatter-avsezFDy.js → Shatter-Cyq_lBjn.js} +0 -0
- /package/dist/core/{SimplexNoise-BjoeAe6H.js → SimplexNoise-DSvDs4b7.js} +0 -0
- /package/dist/core/{SineWave-B-2YxAht.js → SineWave-Beim8Xoe.js} +0 -0
- /package/dist/core/{SolidColor-2o0vQu86.js → SolidColor-kt6ayyXz.js} +0 -0
- /package/dist/core/{Spherize-DKJKva6y.js → Spherize-u6gO2hh2.js} +0 -0
- /package/dist/core/{Spiral-Dzsm_AJG.js → Spiral-DRpE_jsz.js} +0 -0
- /package/dist/core/{Strands-42wUIQMv.js → Strands-BqCaitMb.js} +0 -0
- /package/dist/core/{Stretch-BVPICFxU.js → Stretch-TztFP3F2.js} +0 -0
- /package/dist/core/{Stripes-DpWPzhd5.js → Stripes-UYWf5Cmn.js} +0 -0
- /package/dist/core/{StudioBackground-CxOYZ28g.js → StudioBackground-CvKGt77W.js} +0 -0
- /package/dist/core/{Swirl-CaQpQWY2.js → Swirl-YCWu5OJE.js} +0 -0
- /package/dist/core/{TiltShift-yJYvxA1V.js → TiltShift-DKibnYzM.js} +0 -0
- /package/dist/core/{Tint-BR2yMhfB.js → Tint-aVYSCIlD.js} +0 -0
- /package/dist/core/{Tritone-PTTYWr_w.js → Tritone-Cn0ugwld.js} +0 -0
- /package/dist/core/{Twirl-CE2yzv3_.js → Twirl-Dk8y9GcM.js} +0 -0
- /package/dist/core/{Vibrance-CljpZu_J.js → Vibrance-Cdx5A_q2.js} +0 -0
- /package/dist/core/{WaveDistortion-BSt0JJbk.js → WaveDistortion-C7mIgJok.js} +0 -0
- /package/dist/core/{ZoomBlur-CAeswzf5.js → ZoomBlur-DUcqnggc.js} +0 -0
- /package/dist/core/{browser-CWKHEzb9.js → browser-CpS3EEFG.js} +0 -0
- /package/dist/core/{sdf-CZRX0uur.js → sdf-Bux00UoZ.js} +0 -0
package/dist/svelte/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as generatePresetCode } from "./generatePresetCode-
|
|
1
|
+
import { n as generatePresetCode } from "./generatePresetCode-C7KnCLnD.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";
|
|
@@ -19,86 +19,96 @@ import { componentDefinition as componentDefinition$11 } from "../core/shaders/C
|
|
|
19
19
|
import { componentDefinition as componentDefinition$12 } from "../core/shaders/ChromaticAberration/index.js";
|
|
20
20
|
import { componentDefinition as componentDefinition$13 } from "../core/shaders/Circle/index.js";
|
|
21
21
|
import { componentDefinition as componentDefinition$14 } from "../core/shaders/ConcentricSpin/index.js";
|
|
22
|
-
import { componentDefinition as componentDefinition$15 } from "../core/shaders/
|
|
23
|
-
import { componentDefinition as componentDefinition$16 } from "../core/shaders/
|
|
24
|
-
import { componentDefinition as componentDefinition$17 } from "../core/shaders/
|
|
25
|
-
import { componentDefinition as componentDefinition$18 } from "../core/shaders/
|
|
26
|
-
import { componentDefinition as componentDefinition$19 } from "../core/shaders/
|
|
27
|
-
import { componentDefinition as componentDefinition$20 } from "../core/shaders/
|
|
28
|
-
import { componentDefinition as componentDefinition$21 } from "../core/shaders/
|
|
29
|
-
import { componentDefinition as componentDefinition$22 } from "../core/shaders/
|
|
30
|
-
import { componentDefinition as componentDefinition$23 } from "../core/shaders/
|
|
31
|
-
import { componentDefinition as componentDefinition$24 } from "../core/shaders/
|
|
32
|
-
import { componentDefinition as componentDefinition$25 } from "../core/shaders/
|
|
33
|
-
import { componentDefinition as componentDefinition$26 } from "../core/shaders/
|
|
34
|
-
import { componentDefinition as componentDefinition$27 } from "../core/shaders/
|
|
35
|
-
import { componentDefinition as componentDefinition$28 } from "../core/shaders/
|
|
36
|
-
import { componentDefinition as componentDefinition$29 } from "../core/shaders/
|
|
37
|
-
import { componentDefinition as componentDefinition$30 } from "../core/shaders/
|
|
38
|
-
import { componentDefinition as componentDefinition$31 } from "../core/shaders/
|
|
39
|
-
import { componentDefinition as componentDefinition$32 } from "../core/shaders/
|
|
40
|
-
import { componentDefinition as componentDefinition$33 } from "../core/shaders/
|
|
41
|
-
import { componentDefinition as componentDefinition$34 } from "../core/shaders/
|
|
42
|
-
import { componentDefinition as componentDefinition$35 } from "../core/shaders/
|
|
43
|
-
import { componentDefinition as componentDefinition$36 } from "../core/shaders/
|
|
44
|
-
import { componentDefinition as componentDefinition$37 } from "../core/shaders/
|
|
45
|
-
import { componentDefinition as componentDefinition$38 } from "../core/shaders/
|
|
46
|
-
import { componentDefinition as componentDefinition$39 } from "../core/shaders/
|
|
47
|
-
import { componentDefinition as componentDefinition$40 } from "../core/shaders/
|
|
48
|
-
import { componentDefinition as componentDefinition$41 } from "../core/shaders/
|
|
49
|
-
import { componentDefinition as componentDefinition$42 } from "../core/shaders/
|
|
50
|
-
import { componentDefinition as componentDefinition$43 } from "../core/shaders/
|
|
51
|
-
import { componentDefinition as componentDefinition$44 } from "../core/shaders/
|
|
52
|
-
import { componentDefinition as componentDefinition$45 } from "../core/shaders/
|
|
53
|
-
import { componentDefinition as componentDefinition$46 } from "../core/shaders/
|
|
54
|
-
import { componentDefinition as componentDefinition$47 } from "../core/shaders/
|
|
55
|
-
import { componentDefinition as componentDefinition$48 } from "../core/shaders/
|
|
56
|
-
import { componentDefinition as componentDefinition$49 } from "../core/shaders/
|
|
57
|
-
import { componentDefinition as componentDefinition$50 } from "../core/shaders/
|
|
58
|
-
import { componentDefinition as componentDefinition$51 } from "../core/shaders/
|
|
59
|
-
import { componentDefinition as componentDefinition$52 } from "../core/shaders/
|
|
60
|
-
import { componentDefinition as componentDefinition$53 } from "../core/shaders/
|
|
61
|
-
import { componentDefinition as componentDefinition$54 } from "../core/shaders/
|
|
62
|
-
import { componentDefinition as componentDefinition$55 } from "../core/shaders/
|
|
63
|
-
import { componentDefinition as componentDefinition$56 } from "../core/shaders/
|
|
64
|
-
import { componentDefinition as componentDefinition$57 } from "../core/shaders/
|
|
65
|
-
import { componentDefinition as componentDefinition$58 } from "../core/shaders/
|
|
66
|
-
import { componentDefinition as componentDefinition$59 } from "../core/shaders/
|
|
67
|
-
import { componentDefinition as componentDefinition$60 } from "../core/shaders/
|
|
68
|
-
import { componentDefinition as componentDefinition$61 } from "../core/shaders/
|
|
69
|
-
import { componentDefinition as componentDefinition$62 } from "../core/shaders/
|
|
70
|
-
import { componentDefinition as componentDefinition$63 } from "../core/shaders/
|
|
71
|
-
import { componentDefinition as componentDefinition$64 } from "../core/shaders/
|
|
72
|
-
import { componentDefinition as componentDefinition$65 } from "../core/shaders/
|
|
73
|
-
import { componentDefinition as componentDefinition$66 } from "../core/shaders/
|
|
74
|
-
import { componentDefinition as componentDefinition$67 } from "../core/shaders/
|
|
75
|
-
import { componentDefinition as componentDefinition$68 } from "../core/shaders/
|
|
76
|
-
import { componentDefinition as componentDefinition$69 } from "../core/shaders/
|
|
77
|
-
import { componentDefinition as componentDefinition$70 } from "../core/shaders/
|
|
78
|
-
import { componentDefinition as componentDefinition$71 } from "../core/shaders/
|
|
79
|
-
import { componentDefinition as componentDefinition$72 } from "../core/shaders/
|
|
80
|
-
import { componentDefinition as componentDefinition$73 } from "../core/shaders/
|
|
81
|
-
import { componentDefinition as componentDefinition$74 } from "../core/shaders/
|
|
82
|
-
import { componentDefinition as componentDefinition$75 } from "../core/shaders/
|
|
83
|
-
import { componentDefinition as componentDefinition$76 } from "../core/shaders/
|
|
84
|
-
import { componentDefinition as componentDefinition$77 } from "../core/shaders/
|
|
85
|
-
import { componentDefinition as componentDefinition$78 } from "../core/shaders/
|
|
86
|
-
import { componentDefinition as componentDefinition$79 } from "../core/shaders/
|
|
87
|
-
import { componentDefinition as componentDefinition$80 } from "../core/shaders/
|
|
88
|
-
import { componentDefinition as componentDefinition$81 } from "../core/shaders/
|
|
89
|
-
import { componentDefinition as componentDefinition$82 } from "../core/shaders/
|
|
90
|
-
import { componentDefinition as componentDefinition$83 } from "../core/shaders/
|
|
91
|
-
import { componentDefinition as componentDefinition$84 } from "../core/shaders/
|
|
92
|
-
import { componentDefinition as componentDefinition$85 } from "../core/shaders/
|
|
93
|
-
import { componentDefinition as componentDefinition$86 } from "../core/shaders/
|
|
94
|
-
import { componentDefinition as componentDefinition$87 } from "../core/shaders/
|
|
95
|
-
import { componentDefinition as componentDefinition$88 } from "../core/shaders/
|
|
96
|
-
import { componentDefinition as componentDefinition$89 } from "../core/shaders/
|
|
97
|
-
import { componentDefinition as componentDefinition$90 } from "../core/shaders/
|
|
98
|
-
import { componentDefinition as componentDefinition$91 } from "../core/shaders/
|
|
22
|
+
import { componentDefinition as componentDefinition$15 } from "../core/shaders/ConicGradient/index.js";
|
|
23
|
+
import { componentDefinition as componentDefinition$16 } from "../core/shaders/ContourLines/index.js";
|
|
24
|
+
import { componentDefinition as componentDefinition$17 } from "../core/shaders/Crescent/index.js";
|
|
25
|
+
import { componentDefinition as componentDefinition$18 } from "../core/shaders/Cross/index.js";
|
|
26
|
+
import { componentDefinition as componentDefinition$19 } from "../core/shaders/Crystal/index.js";
|
|
27
|
+
import { componentDefinition as componentDefinition$20 } from "../core/shaders/CursorRipples/index.js";
|
|
28
|
+
import { componentDefinition as componentDefinition$21 } from "../core/shaders/CursorTrail/index.js";
|
|
29
|
+
import { componentDefinition as componentDefinition$22 } from "../core/shaders/DiamondGradient/index.js";
|
|
30
|
+
import { componentDefinition as componentDefinition$23 } from "../core/shaders/DiffuseBlur/index.js";
|
|
31
|
+
import { componentDefinition as componentDefinition$24 } from "../core/shaders/Dither/index.js";
|
|
32
|
+
import { componentDefinition as componentDefinition$25 } from "../core/shaders/DotGrid/index.js";
|
|
33
|
+
import { componentDefinition as componentDefinition$26 } from "../core/shaders/DropShadow/index.js";
|
|
34
|
+
import { componentDefinition as componentDefinition$27 } from "../core/shaders/Duotone/index.js";
|
|
35
|
+
import { componentDefinition as componentDefinition$28 } from "../core/shaders/Ellipse/index.js";
|
|
36
|
+
import { componentDefinition as componentDefinition$29 } from "../core/shaders/Emboss/index.js";
|
|
37
|
+
import { componentDefinition as componentDefinition$30 } from "../core/shaders/FallingLines/index.js";
|
|
38
|
+
import { componentDefinition as componentDefinition$31 } from "../core/shaders/FilmGrain/index.js";
|
|
39
|
+
import { componentDefinition as componentDefinition$32 } from "../core/shaders/FloatingParticles/index.js";
|
|
40
|
+
import { componentDefinition as componentDefinition$33 } from "../core/shaders/FlowField/index.js";
|
|
41
|
+
import { componentDefinition as componentDefinition$34 } from "../core/shaders/Flower/index.js";
|
|
42
|
+
import { componentDefinition as componentDefinition$35 } from "../core/shaders/FlowingGradient/index.js";
|
|
43
|
+
import { componentDefinition as componentDefinition$36 } from "../core/shaders/Form3D/index.js";
|
|
44
|
+
import { componentDefinition as componentDefinition$37 } from "../core/shaders/Glass/index.js";
|
|
45
|
+
import { componentDefinition as componentDefinition$38 } from "../core/shaders/GlassTiles/index.js";
|
|
46
|
+
import { componentDefinition as componentDefinition$39 } from "../core/shaders/Glitch/index.js";
|
|
47
|
+
import { componentDefinition as componentDefinition$40 } from "../core/shaders/Glow/index.js";
|
|
48
|
+
import { componentDefinition as componentDefinition$41 } from "../core/shaders/Godrays/index.js";
|
|
49
|
+
import { componentDefinition as componentDefinition$42 } from "../core/shaders/Grayscale/index.js";
|
|
50
|
+
import { componentDefinition as componentDefinition$43 } from "../core/shaders/Grid/index.js";
|
|
51
|
+
import { componentDefinition as componentDefinition$44 } from "../core/shaders/GridDistortion/index.js";
|
|
52
|
+
import { componentDefinition as componentDefinition$45 } from "../core/shaders/Group/index.js";
|
|
53
|
+
import { componentDefinition as componentDefinition$46 } from "../core/shaders/Halftone/index.js";
|
|
54
|
+
import { componentDefinition as componentDefinition$47 } from "../core/shaders/HexGrid/index.js";
|
|
55
|
+
import { componentDefinition as componentDefinition$48 } from "../core/shaders/HueShift/index.js";
|
|
56
|
+
import { componentDefinition as componentDefinition$49 } from "../core/shaders/ImageTexture/index.js";
|
|
57
|
+
import { componentDefinition as componentDefinition$50 } from "../core/shaders/Invert/index.js";
|
|
58
|
+
import { componentDefinition as componentDefinition$51 } from "../core/shaders/Kaleidoscope/index.js";
|
|
59
|
+
import { componentDefinition as componentDefinition$52 } from "../core/shaders/LensFlare/index.js";
|
|
60
|
+
import { componentDefinition as componentDefinition$53 } from "../core/shaders/LinearBlur/index.js";
|
|
61
|
+
import { componentDefinition as componentDefinition$54 } from "../core/shaders/LinearGradient/index.js";
|
|
62
|
+
import { componentDefinition as componentDefinition$55 } from "../core/shaders/Liquify/index.js";
|
|
63
|
+
import { componentDefinition as componentDefinition$56 } from "../core/shaders/Mirror/index.js";
|
|
64
|
+
import { componentDefinition as componentDefinition$57 } from "../core/shaders/MultiPointGradient/index.js";
|
|
65
|
+
import { componentDefinition as componentDefinition$58 } from "../core/shaders/Neon/index.js";
|
|
66
|
+
import { componentDefinition as componentDefinition$59 } from "../core/shaders/Paper/index.js";
|
|
67
|
+
import { componentDefinition as componentDefinition$60 } from "../core/shaders/Perspective/index.js";
|
|
68
|
+
import { componentDefinition as componentDefinition$61 } from "../core/shaders/Pixelate/index.js";
|
|
69
|
+
import { componentDefinition as componentDefinition$62 } from "../core/shaders/Plasma/index.js";
|
|
70
|
+
import { componentDefinition as componentDefinition$63 } from "../core/shaders/PolarCoordinates/index.js";
|
|
71
|
+
import { componentDefinition as componentDefinition$64 } from "../core/shaders/Polygon/index.js";
|
|
72
|
+
import { componentDefinition as componentDefinition$65 } from "../core/shaders/Posterize/index.js";
|
|
73
|
+
import { componentDefinition as componentDefinition$66 } from "../core/shaders/ProgressiveBlur/index.js";
|
|
74
|
+
import { componentDefinition as componentDefinition$67 } from "../core/shaders/RadialGradient/index.js";
|
|
75
|
+
import { componentDefinition as componentDefinition$68 } from "../core/shaders/RectangularCoordinates/index.js";
|
|
76
|
+
import { componentDefinition as componentDefinition$69 } from "../core/shaders/Ring/index.js";
|
|
77
|
+
import { componentDefinition as componentDefinition$70 } from "../core/shaders/Ripples/index.js";
|
|
78
|
+
import { componentDefinition as componentDefinition$71 } from "../core/shaders/RoundedRect/index.js";
|
|
79
|
+
import { componentDefinition as componentDefinition$72 } from "../core/shaders/Saturation/index.js";
|
|
80
|
+
import { componentDefinition as componentDefinition$73 } from "../core/shaders/Sharpness/index.js";
|
|
81
|
+
import { componentDefinition as componentDefinition$74 } from "../core/shaders/Shatter/index.js";
|
|
82
|
+
import { componentDefinition as componentDefinition$75 } from "../core/shaders/SimplexNoise/index.js";
|
|
83
|
+
import { componentDefinition as componentDefinition$76 } from "../core/shaders/SineWave/index.js";
|
|
84
|
+
import { componentDefinition as componentDefinition$77 } from "../core/shaders/Solarize/index.js";
|
|
85
|
+
import { componentDefinition as componentDefinition$78 } from "../core/shaders/SolidColor/index.js";
|
|
86
|
+
import { componentDefinition as componentDefinition$79 } from "../core/shaders/Spherize/index.js";
|
|
87
|
+
import { componentDefinition as componentDefinition$80 } from "../core/shaders/Spiral/index.js";
|
|
88
|
+
import { componentDefinition as componentDefinition$81 } from "../core/shaders/Star/index.js";
|
|
89
|
+
import { componentDefinition as componentDefinition$82 } from "../core/shaders/Strands/index.js";
|
|
90
|
+
import { componentDefinition as componentDefinition$83 } from "../core/shaders/Stretch/index.js";
|
|
91
|
+
import { componentDefinition as componentDefinition$84 } from "../core/shaders/Stripes/index.js";
|
|
92
|
+
import { componentDefinition as componentDefinition$85 } from "../core/shaders/StudioBackground/index.js";
|
|
93
|
+
import { componentDefinition as componentDefinition$86 } from "../core/shaders/Swirl/index.js";
|
|
94
|
+
import { componentDefinition as componentDefinition$87 } from "../core/shaders/TiltShift/index.js";
|
|
95
|
+
import { componentDefinition as componentDefinition$88 } from "../core/shaders/Tint/index.js";
|
|
96
|
+
import { componentDefinition as componentDefinition$89 } from "../core/shaders/Trapezoid/index.js";
|
|
97
|
+
import { componentDefinition as componentDefinition$90 } from "../core/shaders/Tritone/index.js";
|
|
98
|
+
import { componentDefinition as componentDefinition$91 } from "../core/shaders/Truchet/index.js";
|
|
99
|
+
import { componentDefinition as componentDefinition$92 } from "../core/shaders/Twirl/index.js";
|
|
100
|
+
import { componentDefinition as componentDefinition$93 } from "../core/shaders/Vesica/index.js";
|
|
101
|
+
import { componentDefinition as componentDefinition$94 } from "../core/shaders/Vibrance/index.js";
|
|
102
|
+
import { componentDefinition as componentDefinition$95 } from "../core/shaders/VideoTexture/index.js";
|
|
103
|
+
import { componentDefinition as componentDefinition$96 } from "../core/shaders/Vignette/index.js";
|
|
104
|
+
import { componentDefinition as componentDefinition$97 } from "../core/shaders/Voronoi/index.js";
|
|
105
|
+
import { componentDefinition as componentDefinition$98 } from "../core/shaders/WaveDistortion/index.js";
|
|
106
|
+
import { componentDefinition as componentDefinition$99 } from "../core/shaders/Weave/index.js";
|
|
107
|
+
import { componentDefinition as componentDefinition$100 } from "../core/shaders/WebcamTexture/index.js";
|
|
108
|
+
import { componentDefinition as componentDefinition$101 } from "../core/shaders/ZoomBlur/index.js";
|
|
99
109
|
import { vec4 } from "three/tsl";
|
|
100
110
|
import { isExternalUser, shouldCollectTelemetry, startTelemetry } from "../core/telemetry/index.js";
|
|
101
|
-
var root$
|
|
111
|
+
var root$102 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
102
112
|
function AngularBlur($$anchor, $$props) {
|
|
103
113
|
$.push($$props, true);
|
|
104
114
|
function isPropDriver(value) {
|
|
@@ -234,7 +244,7 @@ function AngularBlur($$anchor, $$props) {
|
|
|
234
244
|
$.set(isRegistered, false);
|
|
235
245
|
parentRegister(instanceId, null, null, null, null);
|
|
236
246
|
});
|
|
237
|
-
var span = root$
|
|
247
|
+
var span = root$102();
|
|
238
248
|
var node = $.child(span);
|
|
239
249
|
children?.(node);
|
|
240
250
|
$.reset(span);
|
|
@@ -243,7 +253,7 @@ function AngularBlur($$anchor, $$props) {
|
|
|
243
253
|
$.append($$anchor, span);
|
|
244
254
|
$.pop();
|
|
245
255
|
}
|
|
246
|
-
var root$
|
|
256
|
+
var root$101 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
247
257
|
function Ascii($$anchor, $$props) {
|
|
248
258
|
$.push($$props, true);
|
|
249
259
|
function isPropDriver(value) {
|
|
@@ -379,7 +389,7 @@ function Ascii($$anchor, $$props) {
|
|
|
379
389
|
$.set(isRegistered, false);
|
|
380
390
|
parentRegister(instanceId, null, null, null, null);
|
|
381
391
|
});
|
|
382
|
-
var span = root$
|
|
392
|
+
var span = root$101();
|
|
383
393
|
var node = $.child(span);
|
|
384
394
|
children?.(node);
|
|
385
395
|
$.reset(span);
|
|
@@ -388,7 +398,7 @@ function Ascii($$anchor, $$props) {
|
|
|
388
398
|
$.append($$anchor, span);
|
|
389
399
|
$.pop();
|
|
390
400
|
}
|
|
391
|
-
var root$
|
|
401
|
+
var root$100 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
392
402
|
function Aurora($$anchor, $$props) {
|
|
393
403
|
$.push($$props, true);
|
|
394
404
|
function isPropDriver(value) {
|
|
@@ -524,7 +534,7 @@ function Aurora($$anchor, $$props) {
|
|
|
524
534
|
$.set(isRegistered, false);
|
|
525
535
|
parentRegister(instanceId, null, null, null, null);
|
|
526
536
|
});
|
|
527
|
-
var span = root$
|
|
537
|
+
var span = root$100();
|
|
528
538
|
var node = $.child(span);
|
|
529
539
|
children?.(node);
|
|
530
540
|
$.reset(span);
|
|
@@ -533,7 +543,7 @@ function Aurora($$anchor, $$props) {
|
|
|
533
543
|
$.append($$anchor, span);
|
|
534
544
|
$.pop();
|
|
535
545
|
}
|
|
536
|
-
var root$
|
|
546
|
+
var root$99 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
537
547
|
function Beam($$anchor, $$props) {
|
|
538
548
|
$.push($$props, true);
|
|
539
549
|
function isPropDriver(value) {
|
|
@@ -669,7 +679,7 @@ function Beam($$anchor, $$props) {
|
|
|
669
679
|
$.set(isRegistered, false);
|
|
670
680
|
parentRegister(instanceId, null, null, null, null);
|
|
671
681
|
});
|
|
672
|
-
var span = root$
|
|
682
|
+
var span = root$99();
|
|
673
683
|
var node = $.child(span);
|
|
674
684
|
children?.(node);
|
|
675
685
|
$.reset(span);
|
|
@@ -678,7 +688,7 @@ function Beam($$anchor, $$props) {
|
|
|
678
688
|
$.append($$anchor, span);
|
|
679
689
|
$.pop();
|
|
680
690
|
}
|
|
681
|
-
var root$
|
|
691
|
+
var root$98 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
682
692
|
function Blob($$anchor, $$props) {
|
|
683
693
|
$.push($$props, true);
|
|
684
694
|
function isPropDriver(value) {
|
|
@@ -814,7 +824,7 @@ function Blob($$anchor, $$props) {
|
|
|
814
824
|
$.set(isRegistered, false);
|
|
815
825
|
parentRegister(instanceId, null, null, null, null);
|
|
816
826
|
});
|
|
817
|
-
var span = root$
|
|
827
|
+
var span = root$98();
|
|
818
828
|
var node = $.child(span);
|
|
819
829
|
children?.(node);
|
|
820
830
|
$.reset(span);
|
|
@@ -823,7 +833,7 @@ function Blob($$anchor, $$props) {
|
|
|
823
833
|
$.append($$anchor, span);
|
|
824
834
|
$.pop();
|
|
825
835
|
}
|
|
826
|
-
var root$
|
|
836
|
+
var root$97 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
827
837
|
function Blur($$anchor, $$props) {
|
|
828
838
|
$.push($$props, true);
|
|
829
839
|
function isPropDriver(value) {
|
|
@@ -959,7 +969,7 @@ function Blur($$anchor, $$props) {
|
|
|
959
969
|
$.set(isRegistered, false);
|
|
960
970
|
parentRegister(instanceId, null, null, null, null);
|
|
961
971
|
});
|
|
962
|
-
var span = root$
|
|
972
|
+
var span = root$97();
|
|
963
973
|
var node = $.child(span);
|
|
964
974
|
children?.(node);
|
|
965
975
|
$.reset(span);
|
|
@@ -968,7 +978,7 @@ function Blur($$anchor, $$props) {
|
|
|
968
978
|
$.append($$anchor, span);
|
|
969
979
|
$.pop();
|
|
970
980
|
}
|
|
971
|
-
var root$
|
|
981
|
+
var root$96 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
972
982
|
function BrightnessContrast($$anchor, $$props) {
|
|
973
983
|
$.push($$props, true);
|
|
974
984
|
function isPropDriver(value) {
|
|
@@ -1104,7 +1114,7 @@ function BrightnessContrast($$anchor, $$props) {
|
|
|
1104
1114
|
$.set(isRegistered, false);
|
|
1105
1115
|
parentRegister(instanceId, null, null, null, null);
|
|
1106
1116
|
});
|
|
1107
|
-
var span = root$
|
|
1117
|
+
var span = root$96();
|
|
1108
1118
|
var node = $.child(span);
|
|
1109
1119
|
children?.(node);
|
|
1110
1120
|
$.reset(span);
|
|
@@ -1113,7 +1123,7 @@ function BrightnessContrast($$anchor, $$props) {
|
|
|
1113
1123
|
$.append($$anchor, span);
|
|
1114
1124
|
$.pop();
|
|
1115
1125
|
}
|
|
1116
|
-
var root$
|
|
1126
|
+
var root$95 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
1117
1127
|
function Bulge($$anchor, $$props) {
|
|
1118
1128
|
$.push($$props, true);
|
|
1119
1129
|
function isPropDriver(value) {
|
|
@@ -1249,7 +1259,7 @@ function Bulge($$anchor, $$props) {
|
|
|
1249
1259
|
$.set(isRegistered, false);
|
|
1250
1260
|
parentRegister(instanceId, null, null, null, null);
|
|
1251
1261
|
});
|
|
1252
|
-
var span = root$
|
|
1262
|
+
var span = root$95();
|
|
1253
1263
|
var node = $.child(span);
|
|
1254
1264
|
children?.(node);
|
|
1255
1265
|
$.reset(span);
|
|
@@ -1258,7 +1268,7 @@ function Bulge($$anchor, $$props) {
|
|
|
1258
1268
|
$.append($$anchor, span);
|
|
1259
1269
|
$.pop();
|
|
1260
1270
|
}
|
|
1261
|
-
var root$
|
|
1271
|
+
var root$94 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
1262
1272
|
function CRTScreen($$anchor, $$props) {
|
|
1263
1273
|
$.push($$props, true);
|
|
1264
1274
|
function isPropDriver(value) {
|
|
@@ -1394,7 +1404,7 @@ function CRTScreen($$anchor, $$props) {
|
|
|
1394
1404
|
$.set(isRegistered, false);
|
|
1395
1405
|
parentRegister(instanceId, null, null, null, null);
|
|
1396
1406
|
});
|
|
1397
|
-
var span = root$
|
|
1407
|
+
var span = root$94();
|
|
1398
1408
|
var node = $.child(span);
|
|
1399
1409
|
children?.(node);
|
|
1400
1410
|
$.reset(span);
|
|
@@ -1403,7 +1413,7 @@ function CRTScreen($$anchor, $$props) {
|
|
|
1403
1413
|
$.append($$anchor, span);
|
|
1404
1414
|
$.pop();
|
|
1405
1415
|
}
|
|
1406
|
-
var root$
|
|
1416
|
+
var root$93 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
1407
1417
|
function ChannelBlur($$anchor, $$props) {
|
|
1408
1418
|
$.push($$props, true);
|
|
1409
1419
|
function isPropDriver(value) {
|
|
@@ -1539,7 +1549,7 @@ function ChannelBlur($$anchor, $$props) {
|
|
|
1539
1549
|
$.set(isRegistered, false);
|
|
1540
1550
|
parentRegister(instanceId, null, null, null, null);
|
|
1541
1551
|
});
|
|
1542
|
-
var span = root$
|
|
1552
|
+
var span = root$93();
|
|
1543
1553
|
var node = $.child(span);
|
|
1544
1554
|
children?.(node);
|
|
1545
1555
|
$.reset(span);
|
|
@@ -1548,7 +1558,7 @@ function ChannelBlur($$anchor, $$props) {
|
|
|
1548
1558
|
$.append($$anchor, span);
|
|
1549
1559
|
$.pop();
|
|
1550
1560
|
}
|
|
1551
|
-
var root$
|
|
1561
|
+
var root$92 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
1552
1562
|
function Checkerboard($$anchor, $$props) {
|
|
1553
1563
|
$.push($$props, true);
|
|
1554
1564
|
function isPropDriver(value) {
|
|
@@ -1684,7 +1694,7 @@ function Checkerboard($$anchor, $$props) {
|
|
|
1684
1694
|
$.set(isRegistered, false);
|
|
1685
1695
|
parentRegister(instanceId, null, null, null, null);
|
|
1686
1696
|
});
|
|
1687
|
-
var span = root$
|
|
1697
|
+
var span = root$92();
|
|
1688
1698
|
var node = $.child(span);
|
|
1689
1699
|
children?.(node);
|
|
1690
1700
|
$.reset(span);
|
|
@@ -1693,7 +1703,7 @@ function Checkerboard($$anchor, $$props) {
|
|
|
1693
1703
|
$.append($$anchor, span);
|
|
1694
1704
|
$.pop();
|
|
1695
1705
|
}
|
|
1696
|
-
var root$
|
|
1706
|
+
var root$91 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
1697
1707
|
function ChromaFlow($$anchor, $$props) {
|
|
1698
1708
|
$.push($$props, true);
|
|
1699
1709
|
function isPropDriver(value) {
|
|
@@ -1829,7 +1839,7 @@ function ChromaFlow($$anchor, $$props) {
|
|
|
1829
1839
|
$.set(isRegistered, false);
|
|
1830
1840
|
parentRegister(instanceId, null, null, null, null);
|
|
1831
1841
|
});
|
|
1832
|
-
var span = root$
|
|
1842
|
+
var span = root$91();
|
|
1833
1843
|
var node = $.child(span);
|
|
1834
1844
|
children?.(node);
|
|
1835
1845
|
$.reset(span);
|
|
@@ -1838,7 +1848,7 @@ function ChromaFlow($$anchor, $$props) {
|
|
|
1838
1848
|
$.append($$anchor, span);
|
|
1839
1849
|
$.pop();
|
|
1840
1850
|
}
|
|
1841
|
-
var root$
|
|
1851
|
+
var root$90 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
1842
1852
|
function ChromaticAberration($$anchor, $$props) {
|
|
1843
1853
|
$.push($$props, true);
|
|
1844
1854
|
function isPropDriver(value) {
|
|
@@ -1974,7 +1984,7 @@ function ChromaticAberration($$anchor, $$props) {
|
|
|
1974
1984
|
$.set(isRegistered, false);
|
|
1975
1985
|
parentRegister(instanceId, null, null, null, null);
|
|
1976
1986
|
});
|
|
1977
|
-
var span = root$
|
|
1987
|
+
var span = root$90();
|
|
1978
1988
|
var node = $.child(span);
|
|
1979
1989
|
children?.(node);
|
|
1980
1990
|
$.reset(span);
|
|
@@ -1983,7 +1993,7 @@ function ChromaticAberration($$anchor, $$props) {
|
|
|
1983
1993
|
$.append($$anchor, span);
|
|
1984
1994
|
$.pop();
|
|
1985
1995
|
}
|
|
1986
|
-
var root$
|
|
1996
|
+
var root$89 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
1987
1997
|
function Circle($$anchor, $$props) {
|
|
1988
1998
|
$.push($$props, true);
|
|
1989
1999
|
function isPropDriver(value) {
|
|
@@ -2119,7 +2129,7 @@ function Circle($$anchor, $$props) {
|
|
|
2119
2129
|
$.set(isRegistered, false);
|
|
2120
2130
|
parentRegister(instanceId, null, null, null, null);
|
|
2121
2131
|
});
|
|
2122
|
-
var span = root$
|
|
2132
|
+
var span = root$89();
|
|
2123
2133
|
var node = $.child(span);
|
|
2124
2134
|
children?.(node);
|
|
2125
2135
|
$.reset(span);
|
|
@@ -2128,7 +2138,7 @@ function Circle($$anchor, $$props) {
|
|
|
2128
2138
|
$.append($$anchor, span);
|
|
2129
2139
|
$.pop();
|
|
2130
2140
|
}
|
|
2131
|
-
var root$
|
|
2141
|
+
var root$88 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
2132
2142
|
function ConcentricSpin($$anchor, $$props) {
|
|
2133
2143
|
$.push($$props, true);
|
|
2134
2144
|
function isPropDriver(value) {
|
|
@@ -2264,7 +2274,7 @@ function ConcentricSpin($$anchor, $$props) {
|
|
|
2264
2274
|
$.set(isRegistered, false);
|
|
2265
2275
|
parentRegister(instanceId, null, null, null, null);
|
|
2266
2276
|
});
|
|
2267
|
-
var span = root$
|
|
2277
|
+
var span = root$88();
|
|
2268
2278
|
var node = $.child(span);
|
|
2269
2279
|
children?.(node);
|
|
2270
2280
|
$.reset(span);
|
|
@@ -2273,8 +2283,8 @@ function ConcentricSpin($$anchor, $$props) {
|
|
|
2273
2283
|
$.append($$anchor, span);
|
|
2274
2284
|
$.pop();
|
|
2275
2285
|
}
|
|
2276
|
-
var root$
|
|
2277
|
-
function
|
|
2286
|
+
var root$87 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
2287
|
+
function ConicGradient($$anchor, $$props) {
|
|
2278
2288
|
$.push($$props, true);
|
|
2279
2289
|
function isPropDriver(value) {
|
|
2280
2290
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -2409,7 +2419,7 @@ function ContourLines($$anchor, $$props) {
|
|
|
2409
2419
|
$.set(isRegistered, false);
|
|
2410
2420
|
parentRegister(instanceId, null, null, null, null);
|
|
2411
2421
|
});
|
|
2412
|
-
var span = root$
|
|
2422
|
+
var span = root$87();
|
|
2413
2423
|
var node = $.child(span);
|
|
2414
2424
|
children?.(node);
|
|
2415
2425
|
$.reset(span);
|
|
@@ -2418,8 +2428,8 @@ function ContourLines($$anchor, $$props) {
|
|
|
2418
2428
|
$.append($$anchor, span);
|
|
2419
2429
|
$.pop();
|
|
2420
2430
|
}
|
|
2421
|
-
var root$
|
|
2422
|
-
function
|
|
2431
|
+
var root$86 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
2432
|
+
function ContourLines($$anchor, $$props) {
|
|
2423
2433
|
$.push($$props, true);
|
|
2424
2434
|
function isPropDriver(value) {
|
|
2425
2435
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -2554,7 +2564,7 @@ function Crescent($$anchor, $$props) {
|
|
|
2554
2564
|
$.set(isRegistered, false);
|
|
2555
2565
|
parentRegister(instanceId, null, null, null, null);
|
|
2556
2566
|
});
|
|
2557
|
-
var span = root$
|
|
2567
|
+
var span = root$86();
|
|
2558
2568
|
var node = $.child(span);
|
|
2559
2569
|
children?.(node);
|
|
2560
2570
|
$.reset(span);
|
|
@@ -2563,8 +2573,8 @@ function Crescent($$anchor, $$props) {
|
|
|
2563
2573
|
$.append($$anchor, span);
|
|
2564
2574
|
$.pop();
|
|
2565
2575
|
}
|
|
2566
|
-
var root$
|
|
2567
|
-
function
|
|
2576
|
+
var root$85 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
2577
|
+
function Crescent($$anchor, $$props) {
|
|
2568
2578
|
$.push($$props, true);
|
|
2569
2579
|
function isPropDriver(value) {
|
|
2570
2580
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -2699,7 +2709,7 @@ function Cross($$anchor, $$props) {
|
|
|
2699
2709
|
$.set(isRegistered, false);
|
|
2700
2710
|
parentRegister(instanceId, null, null, null, null);
|
|
2701
2711
|
});
|
|
2702
|
-
var span = root$
|
|
2712
|
+
var span = root$85();
|
|
2703
2713
|
var node = $.child(span);
|
|
2704
2714
|
children?.(node);
|
|
2705
2715
|
$.reset(span);
|
|
@@ -2708,8 +2718,8 @@ function Cross($$anchor, $$props) {
|
|
|
2708
2718
|
$.append($$anchor, span);
|
|
2709
2719
|
$.pop();
|
|
2710
2720
|
}
|
|
2711
|
-
var root$
|
|
2712
|
-
function
|
|
2721
|
+
var root$84 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
2722
|
+
function Cross($$anchor, $$props) {
|
|
2713
2723
|
$.push($$props, true);
|
|
2714
2724
|
function isPropDriver(value) {
|
|
2715
2725
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -2844,7 +2854,7 @@ function Crystal($$anchor, $$props) {
|
|
|
2844
2854
|
$.set(isRegistered, false);
|
|
2845
2855
|
parentRegister(instanceId, null, null, null, null);
|
|
2846
2856
|
});
|
|
2847
|
-
var span = root$
|
|
2857
|
+
var span = root$84();
|
|
2848
2858
|
var node = $.child(span);
|
|
2849
2859
|
children?.(node);
|
|
2850
2860
|
$.reset(span);
|
|
@@ -2853,8 +2863,8 @@ function Crystal($$anchor, $$props) {
|
|
|
2853
2863
|
$.append($$anchor, span);
|
|
2854
2864
|
$.pop();
|
|
2855
2865
|
}
|
|
2856
|
-
var root$
|
|
2857
|
-
function
|
|
2866
|
+
var root$83 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
2867
|
+
function Crystal($$anchor, $$props) {
|
|
2858
2868
|
$.push($$props, true);
|
|
2859
2869
|
function isPropDriver(value) {
|
|
2860
2870
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -2989,7 +2999,7 @@ function CursorRipples($$anchor, $$props) {
|
|
|
2989
2999
|
$.set(isRegistered, false);
|
|
2990
3000
|
parentRegister(instanceId, null, null, null, null);
|
|
2991
3001
|
});
|
|
2992
|
-
var span = root$
|
|
3002
|
+
var span = root$83();
|
|
2993
3003
|
var node = $.child(span);
|
|
2994
3004
|
children?.(node);
|
|
2995
3005
|
$.reset(span);
|
|
@@ -2998,8 +3008,8 @@ function CursorRipples($$anchor, $$props) {
|
|
|
2998
3008
|
$.append($$anchor, span);
|
|
2999
3009
|
$.pop();
|
|
3000
3010
|
}
|
|
3001
|
-
var root$
|
|
3002
|
-
function
|
|
3011
|
+
var root$82 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
3012
|
+
function CursorRipples($$anchor, $$props) {
|
|
3003
3013
|
$.push($$props, true);
|
|
3004
3014
|
function isPropDriver(value) {
|
|
3005
3015
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -3134,7 +3144,7 @@ function CursorTrail($$anchor, $$props) {
|
|
|
3134
3144
|
$.set(isRegistered, false);
|
|
3135
3145
|
parentRegister(instanceId, null, null, null, null);
|
|
3136
3146
|
});
|
|
3137
|
-
var span = root$
|
|
3147
|
+
var span = root$82();
|
|
3138
3148
|
var node = $.child(span);
|
|
3139
3149
|
children?.(node);
|
|
3140
3150
|
$.reset(span);
|
|
@@ -3143,8 +3153,8 @@ function CursorTrail($$anchor, $$props) {
|
|
|
3143
3153
|
$.append($$anchor, span);
|
|
3144
3154
|
$.pop();
|
|
3145
3155
|
}
|
|
3146
|
-
var root$
|
|
3147
|
-
function
|
|
3156
|
+
var root$81 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
3157
|
+
function CursorTrail($$anchor, $$props) {
|
|
3148
3158
|
$.push($$props, true);
|
|
3149
3159
|
function isPropDriver(value) {
|
|
3150
3160
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -3279,7 +3289,7 @@ function DiffuseBlur($$anchor, $$props) {
|
|
|
3279
3289
|
$.set(isRegistered, false);
|
|
3280
3290
|
parentRegister(instanceId, null, null, null, null);
|
|
3281
3291
|
});
|
|
3282
|
-
var span = root$
|
|
3292
|
+
var span = root$81();
|
|
3283
3293
|
var node = $.child(span);
|
|
3284
3294
|
children?.(node);
|
|
3285
3295
|
$.reset(span);
|
|
@@ -3288,8 +3298,8 @@ function DiffuseBlur($$anchor, $$props) {
|
|
|
3288
3298
|
$.append($$anchor, span);
|
|
3289
3299
|
$.pop();
|
|
3290
3300
|
}
|
|
3291
|
-
var root$
|
|
3292
|
-
function
|
|
3301
|
+
var root$80 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
3302
|
+
function DiamondGradient($$anchor, $$props) {
|
|
3293
3303
|
$.push($$props, true);
|
|
3294
3304
|
function isPropDriver(value) {
|
|
3295
3305
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -3424,7 +3434,7 @@ function Dither($$anchor, $$props) {
|
|
|
3424
3434
|
$.set(isRegistered, false);
|
|
3425
3435
|
parentRegister(instanceId, null, null, null, null);
|
|
3426
3436
|
});
|
|
3427
|
-
var span = root$
|
|
3437
|
+
var span = root$80();
|
|
3428
3438
|
var node = $.child(span);
|
|
3429
3439
|
children?.(node);
|
|
3430
3440
|
$.reset(span);
|
|
@@ -3433,8 +3443,8 @@ function Dither($$anchor, $$props) {
|
|
|
3433
3443
|
$.append($$anchor, span);
|
|
3434
3444
|
$.pop();
|
|
3435
3445
|
}
|
|
3436
|
-
var root$
|
|
3437
|
-
function
|
|
3446
|
+
var root$79 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
3447
|
+
function DiffuseBlur($$anchor, $$props) {
|
|
3438
3448
|
$.push($$props, true);
|
|
3439
3449
|
function isPropDriver(value) {
|
|
3440
3450
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -3569,7 +3579,7 @@ function DotGrid($$anchor, $$props) {
|
|
|
3569
3579
|
$.set(isRegistered, false);
|
|
3570
3580
|
parentRegister(instanceId, null, null, null, null);
|
|
3571
3581
|
});
|
|
3572
|
-
var span = root$
|
|
3582
|
+
var span = root$79();
|
|
3573
3583
|
var node = $.child(span);
|
|
3574
3584
|
children?.(node);
|
|
3575
3585
|
$.reset(span);
|
|
@@ -3578,8 +3588,8 @@ function DotGrid($$anchor, $$props) {
|
|
|
3578
3588
|
$.append($$anchor, span);
|
|
3579
3589
|
$.pop();
|
|
3580
3590
|
}
|
|
3581
|
-
var root$
|
|
3582
|
-
function
|
|
3591
|
+
var root$78 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
3592
|
+
function Dither($$anchor, $$props) {
|
|
3583
3593
|
$.push($$props, true);
|
|
3584
3594
|
function isPropDriver(value) {
|
|
3585
3595
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -3714,7 +3724,7 @@ function Duotone($$anchor, $$props) {
|
|
|
3714
3724
|
$.set(isRegistered, false);
|
|
3715
3725
|
parentRegister(instanceId, null, null, null, null);
|
|
3716
3726
|
});
|
|
3717
|
-
var span = root$
|
|
3727
|
+
var span = root$78();
|
|
3718
3728
|
var node = $.child(span);
|
|
3719
3729
|
children?.(node);
|
|
3720
3730
|
$.reset(span);
|
|
@@ -3723,8 +3733,8 @@ function Duotone($$anchor, $$props) {
|
|
|
3723
3733
|
$.append($$anchor, span);
|
|
3724
3734
|
$.pop();
|
|
3725
3735
|
}
|
|
3726
|
-
var root$
|
|
3727
|
-
function
|
|
3736
|
+
var root$77 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
3737
|
+
function DotGrid($$anchor, $$props) {
|
|
3728
3738
|
$.push($$props, true);
|
|
3729
3739
|
function isPropDriver(value) {
|
|
3730
3740
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -3859,7 +3869,7 @@ function Ellipse($$anchor, $$props) {
|
|
|
3859
3869
|
$.set(isRegistered, false);
|
|
3860
3870
|
parentRegister(instanceId, null, null, null, null);
|
|
3861
3871
|
});
|
|
3862
|
-
var span = root$
|
|
3872
|
+
var span = root$77();
|
|
3863
3873
|
var node = $.child(span);
|
|
3864
3874
|
children?.(node);
|
|
3865
3875
|
$.reset(span);
|
|
@@ -3868,8 +3878,8 @@ function Ellipse($$anchor, $$props) {
|
|
|
3868
3878
|
$.append($$anchor, span);
|
|
3869
3879
|
$.pop();
|
|
3870
3880
|
}
|
|
3871
|
-
var root$
|
|
3872
|
-
function
|
|
3881
|
+
var root$76 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
3882
|
+
function DropShadow($$anchor, $$props) {
|
|
3873
3883
|
$.push($$props, true);
|
|
3874
3884
|
function isPropDriver(value) {
|
|
3875
3885
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -4004,7 +4014,7 @@ function Emboss($$anchor, $$props) {
|
|
|
4004
4014
|
$.set(isRegistered, false);
|
|
4005
4015
|
parentRegister(instanceId, null, null, null, null);
|
|
4006
4016
|
});
|
|
4007
|
-
var span = root$
|
|
4017
|
+
var span = root$76();
|
|
4008
4018
|
var node = $.child(span);
|
|
4009
4019
|
children?.(node);
|
|
4010
4020
|
$.reset(span);
|
|
@@ -4013,8 +4023,8 @@ function Emboss($$anchor, $$props) {
|
|
|
4013
4023
|
$.append($$anchor, span);
|
|
4014
4024
|
$.pop();
|
|
4015
4025
|
}
|
|
4016
|
-
var root$
|
|
4017
|
-
function
|
|
4026
|
+
var root$75 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
4027
|
+
function Duotone($$anchor, $$props) {
|
|
4018
4028
|
$.push($$props, true);
|
|
4019
4029
|
function isPropDriver(value) {
|
|
4020
4030
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -4149,7 +4159,7 @@ function FallingLines($$anchor, $$props) {
|
|
|
4149
4159
|
$.set(isRegistered, false);
|
|
4150
4160
|
parentRegister(instanceId, null, null, null, null);
|
|
4151
4161
|
});
|
|
4152
|
-
var span = root$
|
|
4162
|
+
var span = root$75();
|
|
4153
4163
|
var node = $.child(span);
|
|
4154
4164
|
children?.(node);
|
|
4155
4165
|
$.reset(span);
|
|
@@ -4158,8 +4168,8 @@ function FallingLines($$anchor, $$props) {
|
|
|
4158
4168
|
$.append($$anchor, span);
|
|
4159
4169
|
$.pop();
|
|
4160
4170
|
}
|
|
4161
|
-
var root$
|
|
4162
|
-
function
|
|
4171
|
+
var root$74 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
4172
|
+
function Ellipse($$anchor, $$props) {
|
|
4163
4173
|
$.push($$props, true);
|
|
4164
4174
|
function isPropDriver(value) {
|
|
4165
4175
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -4294,7 +4304,7 @@ function FilmGrain($$anchor, $$props) {
|
|
|
4294
4304
|
$.set(isRegistered, false);
|
|
4295
4305
|
parentRegister(instanceId, null, null, null, null);
|
|
4296
4306
|
});
|
|
4297
|
-
var span = root$
|
|
4307
|
+
var span = root$74();
|
|
4298
4308
|
var node = $.child(span);
|
|
4299
4309
|
children?.(node);
|
|
4300
4310
|
$.reset(span);
|
|
@@ -4303,8 +4313,8 @@ function FilmGrain($$anchor, $$props) {
|
|
|
4303
4313
|
$.append($$anchor, span);
|
|
4304
4314
|
$.pop();
|
|
4305
4315
|
}
|
|
4306
|
-
var root$
|
|
4307
|
-
function
|
|
4316
|
+
var root$73 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
4317
|
+
function Emboss($$anchor, $$props) {
|
|
4308
4318
|
$.push($$props, true);
|
|
4309
4319
|
function isPropDriver(value) {
|
|
4310
4320
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -4439,7 +4449,7 @@ function FloatingParticles($$anchor, $$props) {
|
|
|
4439
4449
|
$.set(isRegistered, false);
|
|
4440
4450
|
parentRegister(instanceId, null, null, null, null);
|
|
4441
4451
|
});
|
|
4442
|
-
var span = root$
|
|
4452
|
+
var span = root$73();
|
|
4443
4453
|
var node = $.child(span);
|
|
4444
4454
|
children?.(node);
|
|
4445
4455
|
$.reset(span);
|
|
@@ -4448,8 +4458,8 @@ function FloatingParticles($$anchor, $$props) {
|
|
|
4448
4458
|
$.append($$anchor, span);
|
|
4449
4459
|
$.pop();
|
|
4450
4460
|
}
|
|
4451
|
-
var root$
|
|
4452
|
-
function
|
|
4461
|
+
var root$72 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
4462
|
+
function FallingLines($$anchor, $$props) {
|
|
4453
4463
|
$.push($$props, true);
|
|
4454
4464
|
function isPropDriver(value) {
|
|
4455
4465
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -4584,7 +4594,7 @@ function FlowField($$anchor, $$props) {
|
|
|
4584
4594
|
$.set(isRegistered, false);
|
|
4585
4595
|
parentRegister(instanceId, null, null, null, null);
|
|
4586
4596
|
});
|
|
4587
|
-
var span = root$
|
|
4597
|
+
var span = root$72();
|
|
4588
4598
|
var node = $.child(span);
|
|
4589
4599
|
children?.(node);
|
|
4590
4600
|
$.reset(span);
|
|
@@ -4593,8 +4603,8 @@ function FlowField($$anchor, $$props) {
|
|
|
4593
4603
|
$.append($$anchor, span);
|
|
4594
4604
|
$.pop();
|
|
4595
4605
|
}
|
|
4596
|
-
var root$
|
|
4597
|
-
function
|
|
4606
|
+
var root$71 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
4607
|
+
function FilmGrain($$anchor, $$props) {
|
|
4598
4608
|
$.push($$props, true);
|
|
4599
4609
|
function isPropDriver(value) {
|
|
4600
4610
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -4729,7 +4739,7 @@ function Flower($$anchor, $$props) {
|
|
|
4729
4739
|
$.set(isRegistered, false);
|
|
4730
4740
|
parentRegister(instanceId, null, null, null, null);
|
|
4731
4741
|
});
|
|
4732
|
-
var span = root$
|
|
4742
|
+
var span = root$71();
|
|
4733
4743
|
var node = $.child(span);
|
|
4734
4744
|
children?.(node);
|
|
4735
4745
|
$.reset(span);
|
|
@@ -4738,8 +4748,8 @@ function Flower($$anchor, $$props) {
|
|
|
4738
4748
|
$.append($$anchor, span);
|
|
4739
4749
|
$.pop();
|
|
4740
4750
|
}
|
|
4741
|
-
var root$
|
|
4742
|
-
function
|
|
4751
|
+
var root$70 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
4752
|
+
function FloatingParticles($$anchor, $$props) {
|
|
4743
4753
|
$.push($$props, true);
|
|
4744
4754
|
function isPropDriver(value) {
|
|
4745
4755
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -4874,7 +4884,7 @@ function FlowingGradient($$anchor, $$props) {
|
|
|
4874
4884
|
$.set(isRegistered, false);
|
|
4875
4885
|
parentRegister(instanceId, null, null, null, null);
|
|
4876
4886
|
});
|
|
4877
|
-
var span = root$
|
|
4887
|
+
var span = root$70();
|
|
4878
4888
|
var node = $.child(span);
|
|
4879
4889
|
children?.(node);
|
|
4880
4890
|
$.reset(span);
|
|
@@ -4883,8 +4893,8 @@ function FlowingGradient($$anchor, $$props) {
|
|
|
4883
4893
|
$.append($$anchor, span);
|
|
4884
4894
|
$.pop();
|
|
4885
4895
|
}
|
|
4886
|
-
var root$
|
|
4887
|
-
function
|
|
4896
|
+
var root$69 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
4897
|
+
function FlowField($$anchor, $$props) {
|
|
4888
4898
|
$.push($$props, true);
|
|
4889
4899
|
function isPropDriver(value) {
|
|
4890
4900
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -5019,7 +5029,7 @@ function Form3D($$anchor, $$props) {
|
|
|
5019
5029
|
$.set(isRegistered, false);
|
|
5020
5030
|
parentRegister(instanceId, null, null, null, null);
|
|
5021
5031
|
});
|
|
5022
|
-
var span = root$
|
|
5032
|
+
var span = root$69();
|
|
5023
5033
|
var node = $.child(span);
|
|
5024
5034
|
children?.(node);
|
|
5025
5035
|
$.reset(span);
|
|
@@ -5028,8 +5038,8 @@ function Form3D($$anchor, $$props) {
|
|
|
5028
5038
|
$.append($$anchor, span);
|
|
5029
5039
|
$.pop();
|
|
5030
5040
|
}
|
|
5031
|
-
var root$
|
|
5032
|
-
function
|
|
5041
|
+
var root$68 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
5042
|
+
function Flower($$anchor, $$props) {
|
|
5033
5043
|
$.push($$props, true);
|
|
5034
5044
|
function isPropDriver(value) {
|
|
5035
5045
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -5164,7 +5174,7 @@ function Glass($$anchor, $$props) {
|
|
|
5164
5174
|
$.set(isRegistered, false);
|
|
5165
5175
|
parentRegister(instanceId, null, null, null, null);
|
|
5166
5176
|
});
|
|
5167
|
-
var span = root$
|
|
5177
|
+
var span = root$68();
|
|
5168
5178
|
var node = $.child(span);
|
|
5169
5179
|
children?.(node);
|
|
5170
5180
|
$.reset(span);
|
|
@@ -5173,8 +5183,8 @@ function Glass($$anchor, $$props) {
|
|
|
5173
5183
|
$.append($$anchor, span);
|
|
5174
5184
|
$.pop();
|
|
5175
5185
|
}
|
|
5176
|
-
var root$
|
|
5177
|
-
function
|
|
5186
|
+
var root$67 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
5187
|
+
function FlowingGradient($$anchor, $$props) {
|
|
5178
5188
|
$.push($$props, true);
|
|
5179
5189
|
function isPropDriver(value) {
|
|
5180
5190
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -5309,7 +5319,7 @@ function GlassTiles($$anchor, $$props) {
|
|
|
5309
5319
|
$.set(isRegistered, false);
|
|
5310
5320
|
parentRegister(instanceId, null, null, null, null);
|
|
5311
5321
|
});
|
|
5312
|
-
var span = root$
|
|
5322
|
+
var span = root$67();
|
|
5313
5323
|
var node = $.child(span);
|
|
5314
5324
|
children?.(node);
|
|
5315
5325
|
$.reset(span);
|
|
@@ -5318,8 +5328,8 @@ function GlassTiles($$anchor, $$props) {
|
|
|
5318
5328
|
$.append($$anchor, span);
|
|
5319
5329
|
$.pop();
|
|
5320
5330
|
}
|
|
5321
|
-
var root$
|
|
5322
|
-
function
|
|
5331
|
+
var root$66 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
5332
|
+
function Form3D($$anchor, $$props) {
|
|
5323
5333
|
$.push($$props, true);
|
|
5324
5334
|
function isPropDriver(value) {
|
|
5325
5335
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -5454,7 +5464,7 @@ function Glitch($$anchor, $$props) {
|
|
|
5454
5464
|
$.set(isRegistered, false);
|
|
5455
5465
|
parentRegister(instanceId, null, null, null, null);
|
|
5456
5466
|
});
|
|
5457
|
-
var span = root$
|
|
5467
|
+
var span = root$66();
|
|
5458
5468
|
var node = $.child(span);
|
|
5459
5469
|
children?.(node);
|
|
5460
5470
|
$.reset(span);
|
|
@@ -5463,8 +5473,8 @@ function Glitch($$anchor, $$props) {
|
|
|
5463
5473
|
$.append($$anchor, span);
|
|
5464
5474
|
$.pop();
|
|
5465
5475
|
}
|
|
5466
|
-
var root$
|
|
5467
|
-
function
|
|
5476
|
+
var root$65 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
5477
|
+
function Glass($$anchor, $$props) {
|
|
5468
5478
|
$.push($$props, true);
|
|
5469
5479
|
function isPropDriver(value) {
|
|
5470
5480
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -5599,7 +5609,7 @@ function Glow($$anchor, $$props) {
|
|
|
5599
5609
|
$.set(isRegistered, false);
|
|
5600
5610
|
parentRegister(instanceId, null, null, null, null);
|
|
5601
5611
|
});
|
|
5602
|
-
var span = root$
|
|
5612
|
+
var span = root$65();
|
|
5603
5613
|
var node = $.child(span);
|
|
5604
5614
|
children?.(node);
|
|
5605
5615
|
$.reset(span);
|
|
@@ -5608,8 +5618,8 @@ function Glow($$anchor, $$props) {
|
|
|
5608
5618
|
$.append($$anchor, span);
|
|
5609
5619
|
$.pop();
|
|
5610
5620
|
}
|
|
5611
|
-
var root$
|
|
5612
|
-
function
|
|
5621
|
+
var root$64 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
5622
|
+
function GlassTiles($$anchor, $$props) {
|
|
5613
5623
|
$.push($$props, true);
|
|
5614
5624
|
function isPropDriver(value) {
|
|
5615
5625
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -5744,7 +5754,7 @@ function Godrays($$anchor, $$props) {
|
|
|
5744
5754
|
$.set(isRegistered, false);
|
|
5745
5755
|
parentRegister(instanceId, null, null, null, null);
|
|
5746
5756
|
});
|
|
5747
|
-
var span = root$
|
|
5757
|
+
var span = root$64();
|
|
5748
5758
|
var node = $.child(span);
|
|
5749
5759
|
children?.(node);
|
|
5750
5760
|
$.reset(span);
|
|
@@ -5753,8 +5763,8 @@ function Godrays($$anchor, $$props) {
|
|
|
5753
5763
|
$.append($$anchor, span);
|
|
5754
5764
|
$.pop();
|
|
5755
5765
|
}
|
|
5756
|
-
var root$
|
|
5757
|
-
function
|
|
5766
|
+
var root$63 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
5767
|
+
function Glitch($$anchor, $$props) {
|
|
5758
5768
|
$.push($$props, true);
|
|
5759
5769
|
function isPropDriver(value) {
|
|
5760
5770
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -5889,7 +5899,7 @@ function Grayscale($$anchor, $$props) {
|
|
|
5889
5899
|
$.set(isRegistered, false);
|
|
5890
5900
|
parentRegister(instanceId, null, null, null, null);
|
|
5891
5901
|
});
|
|
5892
|
-
var span = root$
|
|
5902
|
+
var span = root$63();
|
|
5893
5903
|
var node = $.child(span);
|
|
5894
5904
|
children?.(node);
|
|
5895
5905
|
$.reset(span);
|
|
@@ -5898,8 +5908,8 @@ function Grayscale($$anchor, $$props) {
|
|
|
5898
5908
|
$.append($$anchor, span);
|
|
5899
5909
|
$.pop();
|
|
5900
5910
|
}
|
|
5901
|
-
var root$
|
|
5902
|
-
function
|
|
5911
|
+
var root$62 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
5912
|
+
function Glow($$anchor, $$props) {
|
|
5903
5913
|
$.push($$props, true);
|
|
5904
5914
|
function isPropDriver(value) {
|
|
5905
5915
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -6034,7 +6044,7 @@ function Grid($$anchor, $$props) {
|
|
|
6034
6044
|
$.set(isRegistered, false);
|
|
6035
6045
|
parentRegister(instanceId, null, null, null, null);
|
|
6036
6046
|
});
|
|
6037
|
-
var span = root$
|
|
6047
|
+
var span = root$62();
|
|
6038
6048
|
var node = $.child(span);
|
|
6039
6049
|
children?.(node);
|
|
6040
6050
|
$.reset(span);
|
|
@@ -6043,8 +6053,8 @@ function Grid($$anchor, $$props) {
|
|
|
6043
6053
|
$.append($$anchor, span);
|
|
6044
6054
|
$.pop();
|
|
6045
6055
|
}
|
|
6046
|
-
var root$
|
|
6047
|
-
function
|
|
6056
|
+
var root$61 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
6057
|
+
function Godrays($$anchor, $$props) {
|
|
6048
6058
|
$.push($$props, true);
|
|
6049
6059
|
function isPropDriver(value) {
|
|
6050
6060
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -6179,7 +6189,7 @@ function GridDistortion($$anchor, $$props) {
|
|
|
6179
6189
|
$.set(isRegistered, false);
|
|
6180
6190
|
parentRegister(instanceId, null, null, null, null);
|
|
6181
6191
|
});
|
|
6182
|
-
var span = root$
|
|
6192
|
+
var span = root$61();
|
|
6183
6193
|
var node = $.child(span);
|
|
6184
6194
|
children?.(node);
|
|
6185
6195
|
$.reset(span);
|
|
@@ -6188,8 +6198,8 @@ function GridDistortion($$anchor, $$props) {
|
|
|
6188
6198
|
$.append($$anchor, span);
|
|
6189
6199
|
$.pop();
|
|
6190
6200
|
}
|
|
6191
|
-
var root$
|
|
6192
|
-
function
|
|
6201
|
+
var root$60 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
6202
|
+
function Grayscale($$anchor, $$props) {
|
|
6193
6203
|
$.push($$props, true);
|
|
6194
6204
|
function isPropDriver(value) {
|
|
6195
6205
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -6324,7 +6334,7 @@ function Group($$anchor, $$props) {
|
|
|
6324
6334
|
$.set(isRegistered, false);
|
|
6325
6335
|
parentRegister(instanceId, null, null, null, null);
|
|
6326
6336
|
});
|
|
6327
|
-
var span = root$
|
|
6337
|
+
var span = root$60();
|
|
6328
6338
|
var node = $.child(span);
|
|
6329
6339
|
children?.(node);
|
|
6330
6340
|
$.reset(span);
|
|
@@ -6333,8 +6343,8 @@ function Group($$anchor, $$props) {
|
|
|
6333
6343
|
$.append($$anchor, span);
|
|
6334
6344
|
$.pop();
|
|
6335
6345
|
}
|
|
6336
|
-
var root$
|
|
6337
|
-
function
|
|
6346
|
+
var root$59 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
6347
|
+
function Grid($$anchor, $$props) {
|
|
6338
6348
|
$.push($$props, true);
|
|
6339
6349
|
function isPropDriver(value) {
|
|
6340
6350
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -6469,7 +6479,7 @@ function Halftone($$anchor, $$props) {
|
|
|
6469
6479
|
$.set(isRegistered, false);
|
|
6470
6480
|
parentRegister(instanceId, null, null, null, null);
|
|
6471
6481
|
});
|
|
6472
|
-
var span = root$
|
|
6482
|
+
var span = root$59();
|
|
6473
6483
|
var node = $.child(span);
|
|
6474
6484
|
children?.(node);
|
|
6475
6485
|
$.reset(span);
|
|
@@ -6478,8 +6488,8 @@ function Halftone($$anchor, $$props) {
|
|
|
6478
6488
|
$.append($$anchor, span);
|
|
6479
6489
|
$.pop();
|
|
6480
6490
|
}
|
|
6481
|
-
var root$
|
|
6482
|
-
function
|
|
6491
|
+
var root$58 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
6492
|
+
function GridDistortion($$anchor, $$props) {
|
|
6483
6493
|
$.push($$props, true);
|
|
6484
6494
|
function isPropDriver(value) {
|
|
6485
6495
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -6614,7 +6624,7 @@ function HueShift($$anchor, $$props) {
|
|
|
6614
6624
|
$.set(isRegistered, false);
|
|
6615
6625
|
parentRegister(instanceId, null, null, null, null);
|
|
6616
6626
|
});
|
|
6617
|
-
var span = root$
|
|
6627
|
+
var span = root$58();
|
|
6618
6628
|
var node = $.child(span);
|
|
6619
6629
|
children?.(node);
|
|
6620
6630
|
$.reset(span);
|
|
@@ -6623,8 +6633,8 @@ function HueShift($$anchor, $$props) {
|
|
|
6623
6633
|
$.append($$anchor, span);
|
|
6624
6634
|
$.pop();
|
|
6625
6635
|
}
|
|
6626
|
-
var root$
|
|
6627
|
-
function
|
|
6636
|
+
var root$57 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
6637
|
+
function Group($$anchor, $$props) {
|
|
6628
6638
|
$.push($$props, true);
|
|
6629
6639
|
function isPropDriver(value) {
|
|
6630
6640
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -6759,7 +6769,7 @@ function ImageTexture($$anchor, $$props) {
|
|
|
6759
6769
|
$.set(isRegistered, false);
|
|
6760
6770
|
parentRegister(instanceId, null, null, null, null);
|
|
6761
6771
|
});
|
|
6762
|
-
var span = root$
|
|
6772
|
+
var span = root$57();
|
|
6763
6773
|
var node = $.child(span);
|
|
6764
6774
|
children?.(node);
|
|
6765
6775
|
$.reset(span);
|
|
@@ -6768,8 +6778,8 @@ function ImageTexture($$anchor, $$props) {
|
|
|
6768
6778
|
$.append($$anchor, span);
|
|
6769
6779
|
$.pop();
|
|
6770
6780
|
}
|
|
6771
|
-
var root$
|
|
6772
|
-
function
|
|
6781
|
+
var root$56 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
6782
|
+
function Halftone($$anchor, $$props) {
|
|
6773
6783
|
$.push($$props, true);
|
|
6774
6784
|
function isPropDriver(value) {
|
|
6775
6785
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -6904,7 +6914,7 @@ function Invert($$anchor, $$props) {
|
|
|
6904
6914
|
$.set(isRegistered, false);
|
|
6905
6915
|
parentRegister(instanceId, null, null, null, null);
|
|
6906
6916
|
});
|
|
6907
|
-
var span = root$
|
|
6917
|
+
var span = root$56();
|
|
6908
6918
|
var node = $.child(span);
|
|
6909
6919
|
children?.(node);
|
|
6910
6920
|
$.reset(span);
|
|
@@ -6913,8 +6923,8 @@ function Invert($$anchor, $$props) {
|
|
|
6913
6923
|
$.append($$anchor, span);
|
|
6914
6924
|
$.pop();
|
|
6915
6925
|
}
|
|
6916
|
-
var root$
|
|
6917
|
-
function
|
|
6926
|
+
var root$55 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
6927
|
+
function HexGrid($$anchor, $$props) {
|
|
6918
6928
|
$.push($$props, true);
|
|
6919
6929
|
function isPropDriver(value) {
|
|
6920
6930
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -7049,7 +7059,7 @@ function Kaleidoscope($$anchor, $$props) {
|
|
|
7049
7059
|
$.set(isRegistered, false);
|
|
7050
7060
|
parentRegister(instanceId, null, null, null, null);
|
|
7051
7061
|
});
|
|
7052
|
-
var span = root$
|
|
7062
|
+
var span = root$55();
|
|
7053
7063
|
var node = $.child(span);
|
|
7054
7064
|
children?.(node);
|
|
7055
7065
|
$.reset(span);
|
|
@@ -7058,8 +7068,8 @@ function Kaleidoscope($$anchor, $$props) {
|
|
|
7058
7068
|
$.append($$anchor, span);
|
|
7059
7069
|
$.pop();
|
|
7060
7070
|
}
|
|
7061
|
-
var root$
|
|
7062
|
-
function
|
|
7071
|
+
var root$54 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
7072
|
+
function HueShift($$anchor, $$props) {
|
|
7063
7073
|
$.push($$props, true);
|
|
7064
7074
|
function isPropDriver(value) {
|
|
7065
7075
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -7194,7 +7204,7 @@ function LensFlare($$anchor, $$props) {
|
|
|
7194
7204
|
$.set(isRegistered, false);
|
|
7195
7205
|
parentRegister(instanceId, null, null, null, null);
|
|
7196
7206
|
});
|
|
7197
|
-
var span = root$
|
|
7207
|
+
var span = root$54();
|
|
7198
7208
|
var node = $.child(span);
|
|
7199
7209
|
children?.(node);
|
|
7200
7210
|
$.reset(span);
|
|
@@ -7203,8 +7213,8 @@ function LensFlare($$anchor, $$props) {
|
|
|
7203
7213
|
$.append($$anchor, span);
|
|
7204
7214
|
$.pop();
|
|
7205
7215
|
}
|
|
7206
|
-
var root$
|
|
7207
|
-
function
|
|
7216
|
+
var root$53 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
7217
|
+
function ImageTexture($$anchor, $$props) {
|
|
7208
7218
|
$.push($$props, true);
|
|
7209
7219
|
function isPropDriver(value) {
|
|
7210
7220
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -7339,7 +7349,7 @@ function LinearBlur($$anchor, $$props) {
|
|
|
7339
7349
|
$.set(isRegistered, false);
|
|
7340
7350
|
parentRegister(instanceId, null, null, null, null);
|
|
7341
7351
|
});
|
|
7342
|
-
var span = root$
|
|
7352
|
+
var span = root$53();
|
|
7343
7353
|
var node = $.child(span);
|
|
7344
7354
|
children?.(node);
|
|
7345
7355
|
$.reset(span);
|
|
@@ -7348,8 +7358,8 @@ function LinearBlur($$anchor, $$props) {
|
|
|
7348
7358
|
$.append($$anchor, span);
|
|
7349
7359
|
$.pop();
|
|
7350
7360
|
}
|
|
7351
|
-
var root$
|
|
7352
|
-
function
|
|
7361
|
+
var root$52 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
7362
|
+
function Invert($$anchor, $$props) {
|
|
7353
7363
|
$.push($$props, true);
|
|
7354
7364
|
function isPropDriver(value) {
|
|
7355
7365
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -7484,7 +7494,7 @@ function LinearGradient($$anchor, $$props) {
|
|
|
7484
7494
|
$.set(isRegistered, false);
|
|
7485
7495
|
parentRegister(instanceId, null, null, null, null);
|
|
7486
7496
|
});
|
|
7487
|
-
var span = root$
|
|
7497
|
+
var span = root$52();
|
|
7488
7498
|
var node = $.child(span);
|
|
7489
7499
|
children?.(node);
|
|
7490
7500
|
$.reset(span);
|
|
@@ -7493,8 +7503,8 @@ function LinearGradient($$anchor, $$props) {
|
|
|
7493
7503
|
$.append($$anchor, span);
|
|
7494
7504
|
$.pop();
|
|
7495
7505
|
}
|
|
7496
|
-
var root$
|
|
7497
|
-
function
|
|
7506
|
+
var root$51 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
7507
|
+
function Kaleidoscope($$anchor, $$props) {
|
|
7498
7508
|
$.push($$props, true);
|
|
7499
7509
|
function isPropDriver(value) {
|
|
7500
7510
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -7629,7 +7639,7 @@ function Liquify($$anchor, $$props) {
|
|
|
7629
7639
|
$.set(isRegistered, false);
|
|
7630
7640
|
parentRegister(instanceId, null, null, null, null);
|
|
7631
7641
|
});
|
|
7632
|
-
var span = root$
|
|
7642
|
+
var span = root$51();
|
|
7633
7643
|
var node = $.child(span);
|
|
7634
7644
|
children?.(node);
|
|
7635
7645
|
$.reset(span);
|
|
@@ -7638,8 +7648,8 @@ function Liquify($$anchor, $$props) {
|
|
|
7638
7648
|
$.append($$anchor, span);
|
|
7639
7649
|
$.pop();
|
|
7640
7650
|
}
|
|
7641
|
-
var root$
|
|
7642
|
-
function
|
|
7651
|
+
var root$50 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
7652
|
+
function LensFlare($$anchor, $$props) {
|
|
7643
7653
|
$.push($$props, true);
|
|
7644
7654
|
function isPropDriver(value) {
|
|
7645
7655
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -7774,7 +7784,7 @@ function Mirror($$anchor, $$props) {
|
|
|
7774
7784
|
$.set(isRegistered, false);
|
|
7775
7785
|
parentRegister(instanceId, null, null, null, null);
|
|
7776
7786
|
});
|
|
7777
|
-
var span = root$
|
|
7787
|
+
var span = root$50();
|
|
7778
7788
|
var node = $.child(span);
|
|
7779
7789
|
children?.(node);
|
|
7780
7790
|
$.reset(span);
|
|
@@ -7783,8 +7793,8 @@ function Mirror($$anchor, $$props) {
|
|
|
7783
7793
|
$.append($$anchor, span);
|
|
7784
7794
|
$.pop();
|
|
7785
7795
|
}
|
|
7786
|
-
var root$
|
|
7787
|
-
function
|
|
7796
|
+
var root$49 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
7797
|
+
function LinearBlur($$anchor, $$props) {
|
|
7788
7798
|
$.push($$props, true);
|
|
7789
7799
|
function isPropDriver(value) {
|
|
7790
7800
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -7919,7 +7929,7 @@ function Neon($$anchor, $$props) {
|
|
|
7919
7929
|
$.set(isRegistered, false);
|
|
7920
7930
|
parentRegister(instanceId, null, null, null, null);
|
|
7921
7931
|
});
|
|
7922
|
-
var span = root$
|
|
7932
|
+
var span = root$49();
|
|
7923
7933
|
var node = $.child(span);
|
|
7924
7934
|
children?.(node);
|
|
7925
7935
|
$.reset(span);
|
|
@@ -7928,8 +7938,8 @@ function Neon($$anchor, $$props) {
|
|
|
7928
7938
|
$.append($$anchor, span);
|
|
7929
7939
|
$.pop();
|
|
7930
7940
|
}
|
|
7931
|
-
var root$
|
|
7932
|
-
function
|
|
7941
|
+
var root$48 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
7942
|
+
function LinearGradient($$anchor, $$props) {
|
|
7933
7943
|
$.push($$props, true);
|
|
7934
7944
|
function isPropDriver(value) {
|
|
7935
7945
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -8064,7 +8074,7 @@ function Paper($$anchor, $$props) {
|
|
|
8064
8074
|
$.set(isRegistered, false);
|
|
8065
8075
|
parentRegister(instanceId, null, null, null, null);
|
|
8066
8076
|
});
|
|
8067
|
-
var span = root$
|
|
8077
|
+
var span = root$48();
|
|
8068
8078
|
var node = $.child(span);
|
|
8069
8079
|
children?.(node);
|
|
8070
8080
|
$.reset(span);
|
|
@@ -8073,8 +8083,8 @@ function Paper($$anchor, $$props) {
|
|
|
8073
8083
|
$.append($$anchor, span);
|
|
8074
8084
|
$.pop();
|
|
8075
8085
|
}
|
|
8076
|
-
var root$
|
|
8077
|
-
function
|
|
8086
|
+
var root$47 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
8087
|
+
function Liquify($$anchor, $$props) {
|
|
8078
8088
|
$.push($$props, true);
|
|
8079
8089
|
function isPropDriver(value) {
|
|
8080
8090
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -8209,7 +8219,7 @@ function Perspective($$anchor, $$props) {
|
|
|
8209
8219
|
$.set(isRegistered, false);
|
|
8210
8220
|
parentRegister(instanceId, null, null, null, null);
|
|
8211
8221
|
});
|
|
8212
|
-
var span = root$
|
|
8222
|
+
var span = root$47();
|
|
8213
8223
|
var node = $.child(span);
|
|
8214
8224
|
children?.(node);
|
|
8215
8225
|
$.reset(span);
|
|
@@ -8218,8 +8228,8 @@ function Perspective($$anchor, $$props) {
|
|
|
8218
8228
|
$.append($$anchor, span);
|
|
8219
8229
|
$.pop();
|
|
8220
8230
|
}
|
|
8221
|
-
var root$
|
|
8222
|
-
function
|
|
8231
|
+
var root$46 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
8232
|
+
function Mirror($$anchor, $$props) {
|
|
8223
8233
|
$.push($$props, true);
|
|
8224
8234
|
function isPropDriver(value) {
|
|
8225
8235
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -8354,7 +8364,7 @@ function Pixelate($$anchor, $$props) {
|
|
|
8354
8364
|
$.set(isRegistered, false);
|
|
8355
8365
|
parentRegister(instanceId, null, null, null, null);
|
|
8356
8366
|
});
|
|
8357
|
-
var span = root$
|
|
8367
|
+
var span = root$46();
|
|
8358
8368
|
var node = $.child(span);
|
|
8359
8369
|
children?.(node);
|
|
8360
8370
|
$.reset(span);
|
|
@@ -8363,8 +8373,8 @@ function Pixelate($$anchor, $$props) {
|
|
|
8363
8373
|
$.append($$anchor, span);
|
|
8364
8374
|
$.pop();
|
|
8365
8375
|
}
|
|
8366
|
-
var root$
|
|
8367
|
-
function
|
|
8376
|
+
var root$45 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
8377
|
+
function MultiPointGradient($$anchor, $$props) {
|
|
8368
8378
|
$.push($$props, true);
|
|
8369
8379
|
function isPropDriver(value) {
|
|
8370
8380
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -8499,7 +8509,7 @@ function Plasma($$anchor, $$props) {
|
|
|
8499
8509
|
$.set(isRegistered, false);
|
|
8500
8510
|
parentRegister(instanceId, null, null, null, null);
|
|
8501
8511
|
});
|
|
8502
|
-
var span = root$
|
|
8512
|
+
var span = root$45();
|
|
8503
8513
|
var node = $.child(span);
|
|
8504
8514
|
children?.(node);
|
|
8505
8515
|
$.reset(span);
|
|
@@ -8508,8 +8518,8 @@ function Plasma($$anchor, $$props) {
|
|
|
8508
8518
|
$.append($$anchor, span);
|
|
8509
8519
|
$.pop();
|
|
8510
8520
|
}
|
|
8511
|
-
var root$
|
|
8512
|
-
function
|
|
8521
|
+
var root$44 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
8522
|
+
function Neon($$anchor, $$props) {
|
|
8513
8523
|
$.push($$props, true);
|
|
8514
8524
|
function isPropDriver(value) {
|
|
8515
8525
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -8644,7 +8654,7 @@ function PolarCoordinates($$anchor, $$props) {
|
|
|
8644
8654
|
$.set(isRegistered, false);
|
|
8645
8655
|
parentRegister(instanceId, null, null, null, null);
|
|
8646
8656
|
});
|
|
8647
|
-
var span = root$
|
|
8657
|
+
var span = root$44();
|
|
8648
8658
|
var node = $.child(span);
|
|
8649
8659
|
children?.(node);
|
|
8650
8660
|
$.reset(span);
|
|
@@ -8653,8 +8663,8 @@ function PolarCoordinates($$anchor, $$props) {
|
|
|
8653
8663
|
$.append($$anchor, span);
|
|
8654
8664
|
$.pop();
|
|
8655
8665
|
}
|
|
8656
|
-
var root$
|
|
8657
|
-
function
|
|
8666
|
+
var root$43 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
8667
|
+
function Paper($$anchor, $$props) {
|
|
8658
8668
|
$.push($$props, true);
|
|
8659
8669
|
function isPropDriver(value) {
|
|
8660
8670
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -8789,7 +8799,7 @@ function Polygon($$anchor, $$props) {
|
|
|
8789
8799
|
$.set(isRegistered, false);
|
|
8790
8800
|
parentRegister(instanceId, null, null, null, null);
|
|
8791
8801
|
});
|
|
8792
|
-
var span = root$
|
|
8802
|
+
var span = root$43();
|
|
8793
8803
|
var node = $.child(span);
|
|
8794
8804
|
children?.(node);
|
|
8795
8805
|
$.reset(span);
|
|
@@ -8798,8 +8808,8 @@ function Polygon($$anchor, $$props) {
|
|
|
8798
8808
|
$.append($$anchor, span);
|
|
8799
8809
|
$.pop();
|
|
8800
8810
|
}
|
|
8801
|
-
var root$
|
|
8802
|
-
function
|
|
8811
|
+
var root$42 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
8812
|
+
function Perspective($$anchor, $$props) {
|
|
8803
8813
|
$.push($$props, true);
|
|
8804
8814
|
function isPropDriver(value) {
|
|
8805
8815
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -8934,7 +8944,7 @@ function Posterize($$anchor, $$props) {
|
|
|
8934
8944
|
$.set(isRegistered, false);
|
|
8935
8945
|
parentRegister(instanceId, null, null, null, null);
|
|
8936
8946
|
});
|
|
8937
|
-
var span = root$
|
|
8947
|
+
var span = root$42();
|
|
8938
8948
|
var node = $.child(span);
|
|
8939
8949
|
children?.(node);
|
|
8940
8950
|
$.reset(span);
|
|
@@ -8943,8 +8953,8 @@ function Posterize($$anchor, $$props) {
|
|
|
8943
8953
|
$.append($$anchor, span);
|
|
8944
8954
|
$.pop();
|
|
8945
8955
|
}
|
|
8946
|
-
var root$
|
|
8947
|
-
function
|
|
8956
|
+
var root$41 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
8957
|
+
function Pixelate($$anchor, $$props) {
|
|
8948
8958
|
$.push($$props, true);
|
|
8949
8959
|
function isPropDriver(value) {
|
|
8950
8960
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -9079,7 +9089,7 @@ function ProgressiveBlur($$anchor, $$props) {
|
|
|
9079
9089
|
$.set(isRegistered, false);
|
|
9080
9090
|
parentRegister(instanceId, null, null, null, null);
|
|
9081
9091
|
});
|
|
9082
|
-
var span = root$
|
|
9092
|
+
var span = root$41();
|
|
9083
9093
|
var node = $.child(span);
|
|
9084
9094
|
children?.(node);
|
|
9085
9095
|
$.reset(span);
|
|
@@ -9088,8 +9098,8 @@ function ProgressiveBlur($$anchor, $$props) {
|
|
|
9088
9098
|
$.append($$anchor, span);
|
|
9089
9099
|
$.pop();
|
|
9090
9100
|
}
|
|
9091
|
-
var root$
|
|
9092
|
-
function
|
|
9101
|
+
var root$40 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
9102
|
+
function Plasma($$anchor, $$props) {
|
|
9093
9103
|
$.push($$props, true);
|
|
9094
9104
|
function isPropDriver(value) {
|
|
9095
9105
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -9224,7 +9234,7 @@ function RadialGradient($$anchor, $$props) {
|
|
|
9224
9234
|
$.set(isRegistered, false);
|
|
9225
9235
|
parentRegister(instanceId, null, null, null, null);
|
|
9226
9236
|
});
|
|
9227
|
-
var span = root$
|
|
9237
|
+
var span = root$40();
|
|
9228
9238
|
var node = $.child(span);
|
|
9229
9239
|
children?.(node);
|
|
9230
9240
|
$.reset(span);
|
|
@@ -9233,8 +9243,8 @@ function RadialGradient($$anchor, $$props) {
|
|
|
9233
9243
|
$.append($$anchor, span);
|
|
9234
9244
|
$.pop();
|
|
9235
9245
|
}
|
|
9236
|
-
var root$
|
|
9237
|
-
function
|
|
9246
|
+
var root$39 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
9247
|
+
function PolarCoordinates($$anchor, $$props) {
|
|
9238
9248
|
$.push($$props, true);
|
|
9239
9249
|
function isPropDriver(value) {
|
|
9240
9250
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -9369,7 +9379,7 @@ function RectangularCoordinates($$anchor, $$props) {
|
|
|
9369
9379
|
$.set(isRegistered, false);
|
|
9370
9380
|
parentRegister(instanceId, null, null, null, null);
|
|
9371
9381
|
});
|
|
9372
|
-
var span = root$
|
|
9382
|
+
var span = root$39();
|
|
9373
9383
|
var node = $.child(span);
|
|
9374
9384
|
children?.(node);
|
|
9375
9385
|
$.reset(span);
|
|
@@ -9378,8 +9388,8 @@ function RectangularCoordinates($$anchor, $$props) {
|
|
|
9378
9388
|
$.append($$anchor, span);
|
|
9379
9389
|
$.pop();
|
|
9380
9390
|
}
|
|
9381
|
-
var root$
|
|
9382
|
-
function
|
|
9391
|
+
var root$38 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
9392
|
+
function Polygon($$anchor, $$props) {
|
|
9383
9393
|
$.push($$props, true);
|
|
9384
9394
|
function isPropDriver(value) {
|
|
9385
9395
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -9514,7 +9524,7 @@ function Ring($$anchor, $$props) {
|
|
|
9514
9524
|
$.set(isRegistered, false);
|
|
9515
9525
|
parentRegister(instanceId, null, null, null, null);
|
|
9516
9526
|
});
|
|
9517
|
-
var span = root$
|
|
9527
|
+
var span = root$38();
|
|
9518
9528
|
var node = $.child(span);
|
|
9519
9529
|
children?.(node);
|
|
9520
9530
|
$.reset(span);
|
|
@@ -9523,8 +9533,8 @@ function Ring($$anchor, $$props) {
|
|
|
9523
9533
|
$.append($$anchor, span);
|
|
9524
9534
|
$.pop();
|
|
9525
9535
|
}
|
|
9526
|
-
var root$
|
|
9527
|
-
function
|
|
9536
|
+
var root$37 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
9537
|
+
function Posterize($$anchor, $$props) {
|
|
9528
9538
|
$.push($$props, true);
|
|
9529
9539
|
function isPropDriver(value) {
|
|
9530
9540
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -9659,7 +9669,7 @@ function Ripples($$anchor, $$props) {
|
|
|
9659
9669
|
$.set(isRegistered, false);
|
|
9660
9670
|
parentRegister(instanceId, null, null, null, null);
|
|
9661
9671
|
});
|
|
9662
|
-
var span = root$
|
|
9672
|
+
var span = root$37();
|
|
9663
9673
|
var node = $.child(span);
|
|
9664
9674
|
children?.(node);
|
|
9665
9675
|
$.reset(span);
|
|
@@ -9668,8 +9678,8 @@ function Ripples($$anchor, $$props) {
|
|
|
9668
9678
|
$.append($$anchor, span);
|
|
9669
9679
|
$.pop();
|
|
9670
9680
|
}
|
|
9671
|
-
var root$
|
|
9672
|
-
function
|
|
9681
|
+
var root$36 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
9682
|
+
function ProgressiveBlur($$anchor, $$props) {
|
|
9673
9683
|
$.push($$props, true);
|
|
9674
9684
|
function isPropDriver(value) {
|
|
9675
9685
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -9804,7 +9814,7 @@ function RoundedRect($$anchor, $$props) {
|
|
|
9804
9814
|
$.set(isRegistered, false);
|
|
9805
9815
|
parentRegister(instanceId, null, null, null, null);
|
|
9806
9816
|
});
|
|
9807
|
-
var span = root$
|
|
9817
|
+
var span = root$36();
|
|
9808
9818
|
var node = $.child(span);
|
|
9809
9819
|
children?.(node);
|
|
9810
9820
|
$.reset(span);
|
|
@@ -9813,8 +9823,8 @@ function RoundedRect($$anchor, $$props) {
|
|
|
9813
9823
|
$.append($$anchor, span);
|
|
9814
9824
|
$.pop();
|
|
9815
9825
|
}
|
|
9816
|
-
var root$
|
|
9817
|
-
function
|
|
9826
|
+
var root$35 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
9827
|
+
function RadialGradient($$anchor, $$props) {
|
|
9818
9828
|
$.push($$props, true);
|
|
9819
9829
|
function isPropDriver(value) {
|
|
9820
9830
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -9949,7 +9959,7 @@ function Saturation($$anchor, $$props) {
|
|
|
9949
9959
|
$.set(isRegistered, false);
|
|
9950
9960
|
parentRegister(instanceId, null, null, null, null);
|
|
9951
9961
|
});
|
|
9952
|
-
var span = root$
|
|
9962
|
+
var span = root$35();
|
|
9953
9963
|
var node = $.child(span);
|
|
9954
9964
|
children?.(node);
|
|
9955
9965
|
$.reset(span);
|
|
@@ -9958,8 +9968,8 @@ function Saturation($$anchor, $$props) {
|
|
|
9958
9968
|
$.append($$anchor, span);
|
|
9959
9969
|
$.pop();
|
|
9960
9970
|
}
|
|
9961
|
-
var root$
|
|
9962
|
-
function
|
|
9971
|
+
var root$34 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
9972
|
+
function RectangularCoordinates($$anchor, $$props) {
|
|
9963
9973
|
$.push($$props, true);
|
|
9964
9974
|
function isPropDriver(value) {
|
|
9965
9975
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -10094,7 +10104,7 @@ function Sharpness($$anchor, $$props) {
|
|
|
10094
10104
|
$.set(isRegistered, false);
|
|
10095
10105
|
parentRegister(instanceId, null, null, null, null);
|
|
10096
10106
|
});
|
|
10097
|
-
var span = root$
|
|
10107
|
+
var span = root$34();
|
|
10098
10108
|
var node = $.child(span);
|
|
10099
10109
|
children?.(node);
|
|
10100
10110
|
$.reset(span);
|
|
@@ -10103,8 +10113,8 @@ function Sharpness($$anchor, $$props) {
|
|
|
10103
10113
|
$.append($$anchor, span);
|
|
10104
10114
|
$.pop();
|
|
10105
10115
|
}
|
|
10106
|
-
var root$
|
|
10107
|
-
function
|
|
10116
|
+
var root$33 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
10117
|
+
function Ring($$anchor, $$props) {
|
|
10108
10118
|
$.push($$props, true);
|
|
10109
10119
|
function isPropDriver(value) {
|
|
10110
10120
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -10239,7 +10249,7 @@ function Shatter($$anchor, $$props) {
|
|
|
10239
10249
|
$.set(isRegistered, false);
|
|
10240
10250
|
parentRegister(instanceId, null, null, null, null);
|
|
10241
10251
|
});
|
|
10242
|
-
var span = root$
|
|
10252
|
+
var span = root$33();
|
|
10243
10253
|
var node = $.child(span);
|
|
10244
10254
|
children?.(node);
|
|
10245
10255
|
$.reset(span);
|
|
@@ -10248,8 +10258,8 @@ function Shatter($$anchor, $$props) {
|
|
|
10248
10258
|
$.append($$anchor, span);
|
|
10249
10259
|
$.pop();
|
|
10250
10260
|
}
|
|
10251
|
-
var root$
|
|
10252
|
-
function
|
|
10261
|
+
var root$32 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
10262
|
+
function Ripples($$anchor, $$props) {
|
|
10253
10263
|
$.push($$props, true);
|
|
10254
10264
|
function isPropDriver(value) {
|
|
10255
10265
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -10384,7 +10394,7 @@ function SimplexNoise($$anchor, $$props) {
|
|
|
10384
10394
|
$.set(isRegistered, false);
|
|
10385
10395
|
parentRegister(instanceId, null, null, null, null);
|
|
10386
10396
|
});
|
|
10387
|
-
var span = root$
|
|
10397
|
+
var span = root$32();
|
|
10388
10398
|
var node = $.child(span);
|
|
10389
10399
|
children?.(node);
|
|
10390
10400
|
$.reset(span);
|
|
@@ -10393,8 +10403,8 @@ function SimplexNoise($$anchor, $$props) {
|
|
|
10393
10403
|
$.append($$anchor, span);
|
|
10394
10404
|
$.pop();
|
|
10395
10405
|
}
|
|
10396
|
-
var root$
|
|
10397
|
-
function
|
|
10406
|
+
var root$31 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
10407
|
+
function RoundedRect($$anchor, $$props) {
|
|
10398
10408
|
$.push($$props, true);
|
|
10399
10409
|
function isPropDriver(value) {
|
|
10400
10410
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -10529,7 +10539,7 @@ function SineWave($$anchor, $$props) {
|
|
|
10529
10539
|
$.set(isRegistered, false);
|
|
10530
10540
|
parentRegister(instanceId, null, null, null, null);
|
|
10531
10541
|
});
|
|
10532
|
-
var span = root$
|
|
10542
|
+
var span = root$31();
|
|
10533
10543
|
var node = $.child(span);
|
|
10534
10544
|
children?.(node);
|
|
10535
10545
|
$.reset(span);
|
|
@@ -10538,8 +10548,8 @@ function SineWave($$anchor, $$props) {
|
|
|
10538
10548
|
$.append($$anchor, span);
|
|
10539
10549
|
$.pop();
|
|
10540
10550
|
}
|
|
10541
|
-
var root$
|
|
10542
|
-
function
|
|
10551
|
+
var root$30 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
10552
|
+
function Saturation($$anchor, $$props) {
|
|
10543
10553
|
$.push($$props, true);
|
|
10544
10554
|
function isPropDriver(value) {
|
|
10545
10555
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -10674,7 +10684,7 @@ function SolidColor($$anchor, $$props) {
|
|
|
10674
10684
|
$.set(isRegistered, false);
|
|
10675
10685
|
parentRegister(instanceId, null, null, null, null);
|
|
10676
10686
|
});
|
|
10677
|
-
var span = root$
|
|
10687
|
+
var span = root$30();
|
|
10678
10688
|
var node = $.child(span);
|
|
10679
10689
|
children?.(node);
|
|
10680
10690
|
$.reset(span);
|
|
@@ -10683,8 +10693,8 @@ function SolidColor($$anchor, $$props) {
|
|
|
10683
10693
|
$.append($$anchor, span);
|
|
10684
10694
|
$.pop();
|
|
10685
10695
|
}
|
|
10686
|
-
var root$
|
|
10687
|
-
function
|
|
10696
|
+
var root$29 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
10697
|
+
function Sharpness($$anchor, $$props) {
|
|
10688
10698
|
$.push($$props, true);
|
|
10689
10699
|
function isPropDriver(value) {
|
|
10690
10700
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -10819,7 +10829,7 @@ function Spherize($$anchor, $$props) {
|
|
|
10819
10829
|
$.set(isRegistered, false);
|
|
10820
10830
|
parentRegister(instanceId, null, null, null, null);
|
|
10821
10831
|
});
|
|
10822
|
-
var span = root$
|
|
10832
|
+
var span = root$29();
|
|
10823
10833
|
var node = $.child(span);
|
|
10824
10834
|
children?.(node);
|
|
10825
10835
|
$.reset(span);
|
|
@@ -10828,8 +10838,8 @@ function Spherize($$anchor, $$props) {
|
|
|
10828
10838
|
$.append($$anchor, span);
|
|
10829
10839
|
$.pop();
|
|
10830
10840
|
}
|
|
10831
|
-
var root$
|
|
10832
|
-
function
|
|
10841
|
+
var root$28 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
10842
|
+
function Shatter($$anchor, $$props) {
|
|
10833
10843
|
$.push($$props, true);
|
|
10834
10844
|
function isPropDriver(value) {
|
|
10835
10845
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -10964,7 +10974,7 @@ function Spiral($$anchor, $$props) {
|
|
|
10964
10974
|
$.set(isRegistered, false);
|
|
10965
10975
|
parentRegister(instanceId, null, null, null, null);
|
|
10966
10976
|
});
|
|
10967
|
-
var span = root$
|
|
10977
|
+
var span = root$28();
|
|
10968
10978
|
var node = $.child(span);
|
|
10969
10979
|
children?.(node);
|
|
10970
10980
|
$.reset(span);
|
|
@@ -10973,8 +10983,8 @@ function Spiral($$anchor, $$props) {
|
|
|
10973
10983
|
$.append($$anchor, span);
|
|
10974
10984
|
$.pop();
|
|
10975
10985
|
}
|
|
10976
|
-
var root$
|
|
10977
|
-
function
|
|
10986
|
+
var root$27 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
10987
|
+
function SimplexNoise($$anchor, $$props) {
|
|
10978
10988
|
$.push($$props, true);
|
|
10979
10989
|
function isPropDriver(value) {
|
|
10980
10990
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -11109,7 +11119,7 @@ function Star($$anchor, $$props) {
|
|
|
11109
11119
|
$.set(isRegistered, false);
|
|
11110
11120
|
parentRegister(instanceId, null, null, null, null);
|
|
11111
11121
|
});
|
|
11112
|
-
var span = root$
|
|
11122
|
+
var span = root$27();
|
|
11113
11123
|
var node = $.child(span);
|
|
11114
11124
|
children?.(node);
|
|
11115
11125
|
$.reset(span);
|
|
@@ -11118,8 +11128,8 @@ function Star($$anchor, $$props) {
|
|
|
11118
11128
|
$.append($$anchor, span);
|
|
11119
11129
|
$.pop();
|
|
11120
11130
|
}
|
|
11121
|
-
var root$
|
|
11122
|
-
function
|
|
11131
|
+
var root$26 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
11132
|
+
function SineWave($$anchor, $$props) {
|
|
11123
11133
|
$.push($$props, true);
|
|
11124
11134
|
function isPropDriver(value) {
|
|
11125
11135
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -11254,7 +11264,7 @@ function Strands($$anchor, $$props) {
|
|
|
11254
11264
|
$.set(isRegistered, false);
|
|
11255
11265
|
parentRegister(instanceId, null, null, null, null);
|
|
11256
11266
|
});
|
|
11257
|
-
var span = root$
|
|
11267
|
+
var span = root$26();
|
|
11258
11268
|
var node = $.child(span);
|
|
11259
11269
|
children?.(node);
|
|
11260
11270
|
$.reset(span);
|
|
@@ -11263,8 +11273,8 @@ function Strands($$anchor, $$props) {
|
|
|
11263
11273
|
$.append($$anchor, span);
|
|
11264
11274
|
$.pop();
|
|
11265
11275
|
}
|
|
11266
|
-
var root$
|
|
11267
|
-
function
|
|
11276
|
+
var root$25 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
11277
|
+
function Solarize($$anchor, $$props) {
|
|
11268
11278
|
$.push($$props, true);
|
|
11269
11279
|
function isPropDriver(value) {
|
|
11270
11280
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -11399,7 +11409,7 @@ function Stretch($$anchor, $$props) {
|
|
|
11399
11409
|
$.set(isRegistered, false);
|
|
11400
11410
|
parentRegister(instanceId, null, null, null, null);
|
|
11401
11411
|
});
|
|
11402
|
-
var span = root$
|
|
11412
|
+
var span = root$25();
|
|
11403
11413
|
var node = $.child(span);
|
|
11404
11414
|
children?.(node);
|
|
11405
11415
|
$.reset(span);
|
|
@@ -11408,8 +11418,8 @@ function Stretch($$anchor, $$props) {
|
|
|
11408
11418
|
$.append($$anchor, span);
|
|
11409
11419
|
$.pop();
|
|
11410
11420
|
}
|
|
11411
|
-
var root$
|
|
11412
|
-
function
|
|
11421
|
+
var root$24 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
11422
|
+
function SolidColor($$anchor, $$props) {
|
|
11413
11423
|
$.push($$props, true);
|
|
11414
11424
|
function isPropDriver(value) {
|
|
11415
11425
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -11544,7 +11554,7 @@ function Stripes($$anchor, $$props) {
|
|
|
11544
11554
|
$.set(isRegistered, false);
|
|
11545
11555
|
parentRegister(instanceId, null, null, null, null);
|
|
11546
11556
|
});
|
|
11547
|
-
var span = root$
|
|
11557
|
+
var span = root$24();
|
|
11548
11558
|
var node = $.child(span);
|
|
11549
11559
|
children?.(node);
|
|
11550
11560
|
$.reset(span);
|
|
@@ -11553,8 +11563,8 @@ function Stripes($$anchor, $$props) {
|
|
|
11553
11563
|
$.append($$anchor, span);
|
|
11554
11564
|
$.pop();
|
|
11555
11565
|
}
|
|
11556
|
-
var root$
|
|
11557
|
-
function
|
|
11566
|
+
var root$23 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
11567
|
+
function Spherize($$anchor, $$props) {
|
|
11558
11568
|
$.push($$props, true);
|
|
11559
11569
|
function isPropDriver(value) {
|
|
11560
11570
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -11689,7 +11699,7 @@ function StudioBackground($$anchor, $$props) {
|
|
|
11689
11699
|
$.set(isRegistered, false);
|
|
11690
11700
|
parentRegister(instanceId, null, null, null, null);
|
|
11691
11701
|
});
|
|
11692
|
-
var span = root$
|
|
11702
|
+
var span = root$23();
|
|
11693
11703
|
var node = $.child(span);
|
|
11694
11704
|
children?.(node);
|
|
11695
11705
|
$.reset(span);
|
|
@@ -11698,8 +11708,8 @@ function StudioBackground($$anchor, $$props) {
|
|
|
11698
11708
|
$.append($$anchor, span);
|
|
11699
11709
|
$.pop();
|
|
11700
11710
|
}
|
|
11701
|
-
var root$
|
|
11702
|
-
function
|
|
11711
|
+
var root$22 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
11712
|
+
function Spiral($$anchor, $$props) {
|
|
11703
11713
|
$.push($$props, true);
|
|
11704
11714
|
function isPropDriver(value) {
|
|
11705
11715
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -11834,7 +11844,7 @@ function Swirl($$anchor, $$props) {
|
|
|
11834
11844
|
$.set(isRegistered, false);
|
|
11835
11845
|
parentRegister(instanceId, null, null, null, null);
|
|
11836
11846
|
});
|
|
11837
|
-
var span = root$
|
|
11847
|
+
var span = root$22();
|
|
11838
11848
|
var node = $.child(span);
|
|
11839
11849
|
children?.(node);
|
|
11840
11850
|
$.reset(span);
|
|
@@ -11843,8 +11853,8 @@ function Swirl($$anchor, $$props) {
|
|
|
11843
11853
|
$.append($$anchor, span);
|
|
11844
11854
|
$.pop();
|
|
11845
11855
|
}
|
|
11846
|
-
var root$
|
|
11847
|
-
function
|
|
11856
|
+
var root$21 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
11857
|
+
function Star($$anchor, $$props) {
|
|
11848
11858
|
$.push($$props, true);
|
|
11849
11859
|
function isPropDriver(value) {
|
|
11850
11860
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -11979,7 +11989,7 @@ function TiltShift($$anchor, $$props) {
|
|
|
11979
11989
|
$.set(isRegistered, false);
|
|
11980
11990
|
parentRegister(instanceId, null, null, null, null);
|
|
11981
11991
|
});
|
|
11982
|
-
var span = root$
|
|
11992
|
+
var span = root$21();
|
|
11983
11993
|
var node = $.child(span);
|
|
11984
11994
|
children?.(node);
|
|
11985
11995
|
$.reset(span);
|
|
@@ -11988,8 +11998,8 @@ function TiltShift($$anchor, $$props) {
|
|
|
11988
11998
|
$.append($$anchor, span);
|
|
11989
11999
|
$.pop();
|
|
11990
12000
|
}
|
|
11991
|
-
var root$
|
|
11992
|
-
function
|
|
12001
|
+
var root$20 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
12002
|
+
function Strands($$anchor, $$props) {
|
|
11993
12003
|
$.push($$props, true);
|
|
11994
12004
|
function isPropDriver(value) {
|
|
11995
12005
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -12124,7 +12134,7 @@ function Tint($$anchor, $$props) {
|
|
|
12124
12134
|
$.set(isRegistered, false);
|
|
12125
12135
|
parentRegister(instanceId, null, null, null, null);
|
|
12126
12136
|
});
|
|
12127
|
-
var span = root$
|
|
12137
|
+
var span = root$20();
|
|
12128
12138
|
var node = $.child(span);
|
|
12129
12139
|
children?.(node);
|
|
12130
12140
|
$.reset(span);
|
|
@@ -12133,8 +12143,8 @@ function Tint($$anchor, $$props) {
|
|
|
12133
12143
|
$.append($$anchor, span);
|
|
12134
12144
|
$.pop();
|
|
12135
12145
|
}
|
|
12136
|
-
var root$
|
|
12137
|
-
function
|
|
12146
|
+
var root$19 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
12147
|
+
function Stretch($$anchor, $$props) {
|
|
12138
12148
|
$.push($$props, true);
|
|
12139
12149
|
function isPropDriver(value) {
|
|
12140
12150
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -12269,7 +12279,7 @@ function Trapezoid($$anchor, $$props) {
|
|
|
12269
12279
|
$.set(isRegistered, false);
|
|
12270
12280
|
parentRegister(instanceId, null, null, null, null);
|
|
12271
12281
|
});
|
|
12272
|
-
var span = root$
|
|
12282
|
+
var span = root$19();
|
|
12273
12283
|
var node = $.child(span);
|
|
12274
12284
|
children?.(node);
|
|
12275
12285
|
$.reset(span);
|
|
@@ -12278,8 +12288,8 @@ function Trapezoid($$anchor, $$props) {
|
|
|
12278
12288
|
$.append($$anchor, span);
|
|
12279
12289
|
$.pop();
|
|
12280
12290
|
}
|
|
12281
|
-
var root$
|
|
12282
|
-
function
|
|
12291
|
+
var root$18 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
12292
|
+
function Stripes($$anchor, $$props) {
|
|
12283
12293
|
$.push($$props, true);
|
|
12284
12294
|
function isPropDriver(value) {
|
|
12285
12295
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -12414,7 +12424,7 @@ function Tritone($$anchor, $$props) {
|
|
|
12414
12424
|
$.set(isRegistered, false);
|
|
12415
12425
|
parentRegister(instanceId, null, null, null, null);
|
|
12416
12426
|
});
|
|
12417
|
-
var span = root$
|
|
12427
|
+
var span = root$18();
|
|
12418
12428
|
var node = $.child(span);
|
|
12419
12429
|
children?.(node);
|
|
12420
12430
|
$.reset(span);
|
|
@@ -12423,8 +12433,8 @@ function Tritone($$anchor, $$props) {
|
|
|
12423
12433
|
$.append($$anchor, span);
|
|
12424
12434
|
$.pop();
|
|
12425
12435
|
}
|
|
12426
|
-
var root$
|
|
12427
|
-
function
|
|
12436
|
+
var root$17 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
12437
|
+
function StudioBackground($$anchor, $$props) {
|
|
12428
12438
|
$.push($$props, true);
|
|
12429
12439
|
function isPropDriver(value) {
|
|
12430
12440
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -12559,7 +12569,7 @@ function Twirl($$anchor, $$props) {
|
|
|
12559
12569
|
$.set(isRegistered, false);
|
|
12560
12570
|
parentRegister(instanceId, null, null, null, null);
|
|
12561
12571
|
});
|
|
12562
|
-
var span = root$
|
|
12572
|
+
var span = root$17();
|
|
12563
12573
|
var node = $.child(span);
|
|
12564
12574
|
children?.(node);
|
|
12565
12575
|
$.reset(span);
|
|
@@ -12568,8 +12578,8 @@ function Twirl($$anchor, $$props) {
|
|
|
12568
12578
|
$.append($$anchor, span);
|
|
12569
12579
|
$.pop();
|
|
12570
12580
|
}
|
|
12571
|
-
var root$
|
|
12572
|
-
function
|
|
12581
|
+
var root$16 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
12582
|
+
function Swirl($$anchor, $$props) {
|
|
12573
12583
|
$.push($$props, true);
|
|
12574
12584
|
function isPropDriver(value) {
|
|
12575
12585
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -12704,7 +12714,7 @@ function Vesica($$anchor, $$props) {
|
|
|
12704
12714
|
$.set(isRegistered, false);
|
|
12705
12715
|
parentRegister(instanceId, null, null, null, null);
|
|
12706
12716
|
});
|
|
12707
|
-
var span = root$
|
|
12717
|
+
var span = root$16();
|
|
12708
12718
|
var node = $.child(span);
|
|
12709
12719
|
children?.(node);
|
|
12710
12720
|
$.reset(span);
|
|
@@ -12713,8 +12723,8 @@ function Vesica($$anchor, $$props) {
|
|
|
12713
12723
|
$.append($$anchor, span);
|
|
12714
12724
|
$.pop();
|
|
12715
12725
|
}
|
|
12716
|
-
var root$
|
|
12717
|
-
function
|
|
12726
|
+
var root$15 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
12727
|
+
function TiltShift($$anchor, $$props) {
|
|
12718
12728
|
$.push($$props, true);
|
|
12719
12729
|
function isPropDriver(value) {
|
|
12720
12730
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -12849,7 +12859,7 @@ function Vibrance($$anchor, $$props) {
|
|
|
12849
12859
|
$.set(isRegistered, false);
|
|
12850
12860
|
parentRegister(instanceId, null, null, null, null);
|
|
12851
12861
|
});
|
|
12852
|
-
var span = root$
|
|
12862
|
+
var span = root$15();
|
|
12853
12863
|
var node = $.child(span);
|
|
12854
12864
|
children?.(node);
|
|
12855
12865
|
$.reset(span);
|
|
@@ -12858,8 +12868,8 @@ function Vibrance($$anchor, $$props) {
|
|
|
12858
12868
|
$.append($$anchor, span);
|
|
12859
12869
|
$.pop();
|
|
12860
12870
|
}
|
|
12861
|
-
var root$
|
|
12862
|
-
function
|
|
12871
|
+
var root$14 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
12872
|
+
function Tint($$anchor, $$props) {
|
|
12863
12873
|
$.push($$props, true);
|
|
12864
12874
|
function isPropDriver(value) {
|
|
12865
12875
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -12994,7 +13004,7 @@ function VideoTexture($$anchor, $$props) {
|
|
|
12994
13004
|
$.set(isRegistered, false);
|
|
12995
13005
|
parentRegister(instanceId, null, null, null, null);
|
|
12996
13006
|
});
|
|
12997
|
-
var span = root$
|
|
13007
|
+
var span = root$14();
|
|
12998
13008
|
var node = $.child(span);
|
|
12999
13009
|
children?.(node);
|
|
13000
13010
|
$.reset(span);
|
|
@@ -13003,8 +13013,8 @@ function VideoTexture($$anchor, $$props) {
|
|
|
13003
13013
|
$.append($$anchor, span);
|
|
13004
13014
|
$.pop();
|
|
13005
13015
|
}
|
|
13006
|
-
var root$
|
|
13007
|
-
function
|
|
13016
|
+
var root$13 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
13017
|
+
function Trapezoid($$anchor, $$props) {
|
|
13008
13018
|
$.push($$props, true);
|
|
13009
13019
|
function isPropDriver(value) {
|
|
13010
13020
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -13139,7 +13149,7 @@ function WaveDistortion($$anchor, $$props) {
|
|
|
13139
13149
|
$.set(isRegistered, false);
|
|
13140
13150
|
parentRegister(instanceId, null, null, null, null);
|
|
13141
13151
|
});
|
|
13142
|
-
var span = root$
|
|
13152
|
+
var span = root$13();
|
|
13143
13153
|
var node = $.child(span);
|
|
13144
13154
|
children?.(node);
|
|
13145
13155
|
$.reset(span);
|
|
@@ -13148,8 +13158,8 @@ function WaveDistortion($$anchor, $$props) {
|
|
|
13148
13158
|
$.append($$anchor, span);
|
|
13149
13159
|
$.pop();
|
|
13150
13160
|
}
|
|
13151
|
-
var root$
|
|
13152
|
-
function
|
|
13161
|
+
var root$12 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
13162
|
+
function Tritone($$anchor, $$props) {
|
|
13153
13163
|
$.push($$props, true);
|
|
13154
13164
|
function isPropDriver(value) {
|
|
13155
13165
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -13284,7 +13294,7 @@ function WebcamTexture($$anchor, $$props) {
|
|
|
13284
13294
|
$.set(isRegistered, false);
|
|
13285
13295
|
parentRegister(instanceId, null, null, null, null);
|
|
13286
13296
|
});
|
|
13287
|
-
var span = root$
|
|
13297
|
+
var span = root$12();
|
|
13288
13298
|
var node = $.child(span);
|
|
13289
13299
|
children?.(node);
|
|
13290
13300
|
$.reset(span);
|
|
@@ -13293,8 +13303,8 @@ function WebcamTexture($$anchor, $$props) {
|
|
|
13293
13303
|
$.append($$anchor, span);
|
|
13294
13304
|
$.pop();
|
|
13295
13305
|
}
|
|
13296
|
-
var root$
|
|
13297
|
-
function
|
|
13306
|
+
var root$11 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
13307
|
+
function Truchet($$anchor, $$props) {
|
|
13298
13308
|
$.push($$props, true);
|
|
13299
13309
|
function isPropDriver(value) {
|
|
13300
13310
|
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
@@ -13429,6 +13439,1456 @@ function ZoomBlur($$anchor, $$props) {
|
|
|
13429
13439
|
$.set(isRegistered, false);
|
|
13430
13440
|
parentRegister(instanceId, null, null, null, null);
|
|
13431
13441
|
});
|
|
13442
|
+
var span = root$11();
|
|
13443
|
+
var node = $.child(span);
|
|
13444
|
+
children?.(node);
|
|
13445
|
+
$.reset(span);
|
|
13446
|
+
$.bind_this(span, ($$value) => orderMarker = $$value, () => orderMarker);
|
|
13447
|
+
$.template_effect(() => $.set_attribute(span, "data-shader-id", instanceId));
|
|
13448
|
+
$.append($$anchor, span);
|
|
13449
|
+
$.pop();
|
|
13450
|
+
}
|
|
13451
|
+
var root$10 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
13452
|
+
function Twirl($$anchor, $$props) {
|
|
13453
|
+
$.push($$props, true);
|
|
13454
|
+
function isPropDriver(value) {
|
|
13455
|
+
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
13456
|
+
}
|
|
13457
|
+
const DEFAULT_TRANSFORM = {
|
|
13458
|
+
offsetX: 0,
|
|
13459
|
+
offsetY: 0,
|
|
13460
|
+
rotation: 0,
|
|
13461
|
+
scale: 1,
|
|
13462
|
+
anchorX: .5,
|
|
13463
|
+
anchorY: .5,
|
|
13464
|
+
edges: "transparent"
|
|
13465
|
+
};
|
|
13466
|
+
const componentDefaults = {
|
|
13467
|
+
blendMode: "normal",
|
|
13468
|
+
visible: true,
|
|
13469
|
+
...Object.entries(componentDefinition$92.props).reduce((acc, [key, config]) => {
|
|
13470
|
+
acc[key] = config.default;
|
|
13471
|
+
return acc;
|
|
13472
|
+
}, {})
|
|
13473
|
+
};
|
|
13474
|
+
const props = $.rest_props($$props, [
|
|
13475
|
+
"$$slots",
|
|
13476
|
+
"$$events",
|
|
13477
|
+
"$$legacy"
|
|
13478
|
+
]);
|
|
13479
|
+
const blendMode = $.derived(() => $$props.blendMode ?? componentDefaults.blendMode);
|
|
13480
|
+
const opacity = $.derived(() => $$props.opacity);
|
|
13481
|
+
const visible = $.derived(() => $$props.visible ?? componentDefaults.visible);
|
|
13482
|
+
const id = $.derived(() => $$props.id);
|
|
13483
|
+
const maskSource = $.derived(() => $$props.maskSource);
|
|
13484
|
+
const maskType = $.derived(() => $$props.maskType);
|
|
13485
|
+
const renderOrder = $.derived(() => $$props.renderOrder);
|
|
13486
|
+
const { children } = props;
|
|
13487
|
+
const mapsFromProps = $.derived(() => {
|
|
13488
|
+
const maps = {};
|
|
13489
|
+
for (const key of Object.keys(componentDefinition$92.props)) {
|
|
13490
|
+
const val = props[key];
|
|
13491
|
+
if (isPropDriver(val)) maps[key] = val;
|
|
13492
|
+
}
|
|
13493
|
+
return Object.keys(maps).length > 0 ? maps : void 0;
|
|
13494
|
+
});
|
|
13495
|
+
const effectiveTransform = $.derived(() => ({
|
|
13496
|
+
...DEFAULT_TRANSFORM,
|
|
13497
|
+
...$$props.transform
|
|
13498
|
+
}));
|
|
13499
|
+
const parentId = getContext("shaderParentId");
|
|
13500
|
+
if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
13501
|
+
const instanceId = ($.get(id) ? $.get(id).replace(/[^a-zA-Z0-9_]/g, "_") : null) || Math.random().toString(36).substring(2, 10);
|
|
13502
|
+
setContext("shaderParentId", instanceId);
|
|
13503
|
+
const shaderReadyProps = $.derived(() => {
|
|
13504
|
+
let baseProps = { ...componentDefaults };
|
|
13505
|
+
for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
|
|
13506
|
+
const propValue = props[key];
|
|
13507
|
+
if (isPropDriver(propValue)) continue;
|
|
13508
|
+
const defaultValue = componentDefaults[key];
|
|
13509
|
+
if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
|
|
13510
|
+
}
|
|
13511
|
+
return baseProps;
|
|
13512
|
+
});
|
|
13513
|
+
const shaderColorSpace = getContext("shaderColorSpace");
|
|
13514
|
+
if (shaderColorSpace) setColorSpaceMode(shaderColorSpace());
|
|
13515
|
+
const uniforms = createUniformsMap(componentDefinition$92, $.get(shaderReadyProps), instanceId);
|
|
13516
|
+
const parentRegister = getContext("shaderNodeRegister");
|
|
13517
|
+
if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
13518
|
+
const parentUniformUpdate = getContext("shaderUniformUpdate");
|
|
13519
|
+
if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
|
|
13520
|
+
const parentMetadataUpdate = getContext("shaderMetadataUpdate");
|
|
13521
|
+
if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
|
|
13522
|
+
let orderMarker;
|
|
13523
|
+
let detectedRenderOrder = void 0;
|
|
13524
|
+
let isRegistered = $.state(false);
|
|
13525
|
+
Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
|
|
13526
|
+
$.user_effect(() => {
|
|
13527
|
+
if (!$.get(isRegistered)) return;
|
|
13528
|
+
if (uniform && uniform.value !== void 0) {
|
|
13529
|
+
const newValue = props[propName];
|
|
13530
|
+
if (newValue !== void 0 && !isPropDriver(newValue)) parentUniformUpdate(instanceId, propName, newValue);
|
|
13531
|
+
}
|
|
13532
|
+
});
|
|
13533
|
+
});
|
|
13534
|
+
$.user_effect(() => {
|
|
13535
|
+
if (!$.get(isRegistered)) return;
|
|
13536
|
+
parentMetadataUpdate(instanceId, {
|
|
13537
|
+
blendMode: $.get(blendMode),
|
|
13538
|
+
opacity: $.get(opacity),
|
|
13539
|
+
visible: $.get(visible) === false ? false : true,
|
|
13540
|
+
id: $.get(id),
|
|
13541
|
+
mask: $.get(maskSource) ? {
|
|
13542
|
+
source: $.get(maskSource),
|
|
13543
|
+
type: $.get(maskType) || "alpha"
|
|
13544
|
+
} : void 0,
|
|
13545
|
+
maps: $.get(mapsFromProps),
|
|
13546
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
13547
|
+
transform: $.get(effectiveTransform)
|
|
13548
|
+
});
|
|
13549
|
+
});
|
|
13550
|
+
onMount(() => {
|
|
13551
|
+
if (componentDefinition$92 && typeof componentDefinition$92.fragmentNode === "function") {
|
|
13552
|
+
parentRegister(instanceId, componentDefinition$92.fragmentNode, parentId, {
|
|
13553
|
+
blendMode: $.get(blendMode),
|
|
13554
|
+
opacity: $.get(opacity),
|
|
13555
|
+
visible: $.get(visible) !== false ? true : false,
|
|
13556
|
+
id: $.get(id),
|
|
13557
|
+
mask: $.get(maskSource) ? {
|
|
13558
|
+
source: $.get(maskSource),
|
|
13559
|
+
type: $.get(maskType) || "alpha"
|
|
13560
|
+
} : void 0,
|
|
13561
|
+
maps: $.get(mapsFromProps),
|
|
13562
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
13563
|
+
transform: $.get(effectiveTransform)
|
|
13564
|
+
}, uniforms, componentDefinition$92);
|
|
13565
|
+
$.set(isRegistered, true);
|
|
13566
|
+
if ($.get(renderOrder) === void 0 && orderMarker) {
|
|
13567
|
+
const parent = orderMarker.parentElement;
|
|
13568
|
+
if (parent) {
|
|
13569
|
+
const siblings = parent.querySelectorAll(":scope > [data-shader-id]");
|
|
13570
|
+
const position = Array.from(siblings).indexOf(orderMarker);
|
|
13571
|
+
if (position >= 0) {
|
|
13572
|
+
detectedRenderOrder = position;
|
|
13573
|
+
parentMetadataUpdate(instanceId, { renderOrder: position });
|
|
13574
|
+
}
|
|
13575
|
+
}
|
|
13576
|
+
}
|
|
13577
|
+
} else console.error("componentDefinition.fragmentNode is not a function:", {
|
|
13578
|
+
componentDefinition: componentDefinition$92,
|
|
13579
|
+
fragmentNode: componentDefinition$92?.fragmentNode,
|
|
13580
|
+
type: typeof componentDefinition$92?.fragmentNode
|
|
13581
|
+
});
|
|
13582
|
+
});
|
|
13583
|
+
onDestroy(() => {
|
|
13584
|
+
$.set(isRegistered, false);
|
|
13585
|
+
parentRegister(instanceId, null, null, null, null);
|
|
13586
|
+
});
|
|
13587
|
+
var span = root$10();
|
|
13588
|
+
var node = $.child(span);
|
|
13589
|
+
children?.(node);
|
|
13590
|
+
$.reset(span);
|
|
13591
|
+
$.bind_this(span, ($$value) => orderMarker = $$value, () => orderMarker);
|
|
13592
|
+
$.template_effect(() => $.set_attribute(span, "data-shader-id", instanceId));
|
|
13593
|
+
$.append($$anchor, span);
|
|
13594
|
+
$.pop();
|
|
13595
|
+
}
|
|
13596
|
+
var root$9 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
13597
|
+
function Vesica($$anchor, $$props) {
|
|
13598
|
+
$.push($$props, true);
|
|
13599
|
+
function isPropDriver(value) {
|
|
13600
|
+
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
13601
|
+
}
|
|
13602
|
+
const DEFAULT_TRANSFORM = {
|
|
13603
|
+
offsetX: 0,
|
|
13604
|
+
offsetY: 0,
|
|
13605
|
+
rotation: 0,
|
|
13606
|
+
scale: 1,
|
|
13607
|
+
anchorX: .5,
|
|
13608
|
+
anchorY: .5,
|
|
13609
|
+
edges: "transparent"
|
|
13610
|
+
};
|
|
13611
|
+
const componentDefaults = {
|
|
13612
|
+
blendMode: "normal",
|
|
13613
|
+
visible: true,
|
|
13614
|
+
...Object.entries(componentDefinition$93.props).reduce((acc, [key, config]) => {
|
|
13615
|
+
acc[key] = config.default;
|
|
13616
|
+
return acc;
|
|
13617
|
+
}, {})
|
|
13618
|
+
};
|
|
13619
|
+
const props = $.rest_props($$props, [
|
|
13620
|
+
"$$slots",
|
|
13621
|
+
"$$events",
|
|
13622
|
+
"$$legacy"
|
|
13623
|
+
]);
|
|
13624
|
+
const blendMode = $.derived(() => $$props.blendMode ?? componentDefaults.blendMode);
|
|
13625
|
+
const opacity = $.derived(() => $$props.opacity);
|
|
13626
|
+
const visible = $.derived(() => $$props.visible ?? componentDefaults.visible);
|
|
13627
|
+
const id = $.derived(() => $$props.id);
|
|
13628
|
+
const maskSource = $.derived(() => $$props.maskSource);
|
|
13629
|
+
const maskType = $.derived(() => $$props.maskType);
|
|
13630
|
+
const renderOrder = $.derived(() => $$props.renderOrder);
|
|
13631
|
+
const { children } = props;
|
|
13632
|
+
const mapsFromProps = $.derived(() => {
|
|
13633
|
+
const maps = {};
|
|
13634
|
+
for (const key of Object.keys(componentDefinition$93.props)) {
|
|
13635
|
+
const val = props[key];
|
|
13636
|
+
if (isPropDriver(val)) maps[key] = val;
|
|
13637
|
+
}
|
|
13638
|
+
return Object.keys(maps).length > 0 ? maps : void 0;
|
|
13639
|
+
});
|
|
13640
|
+
const effectiveTransform = $.derived(() => ({
|
|
13641
|
+
...DEFAULT_TRANSFORM,
|
|
13642
|
+
...$$props.transform
|
|
13643
|
+
}));
|
|
13644
|
+
const parentId = getContext("shaderParentId");
|
|
13645
|
+
if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
13646
|
+
const instanceId = ($.get(id) ? $.get(id).replace(/[^a-zA-Z0-9_]/g, "_") : null) || Math.random().toString(36).substring(2, 10);
|
|
13647
|
+
setContext("shaderParentId", instanceId);
|
|
13648
|
+
const shaderReadyProps = $.derived(() => {
|
|
13649
|
+
let baseProps = { ...componentDefaults };
|
|
13650
|
+
for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
|
|
13651
|
+
const propValue = props[key];
|
|
13652
|
+
if (isPropDriver(propValue)) continue;
|
|
13653
|
+
const defaultValue = componentDefaults[key];
|
|
13654
|
+
if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
|
|
13655
|
+
}
|
|
13656
|
+
return baseProps;
|
|
13657
|
+
});
|
|
13658
|
+
const shaderColorSpace = getContext("shaderColorSpace");
|
|
13659
|
+
if (shaderColorSpace) setColorSpaceMode(shaderColorSpace());
|
|
13660
|
+
const uniforms = createUniformsMap(componentDefinition$93, $.get(shaderReadyProps), instanceId);
|
|
13661
|
+
const parentRegister = getContext("shaderNodeRegister");
|
|
13662
|
+
if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
13663
|
+
const parentUniformUpdate = getContext("shaderUniformUpdate");
|
|
13664
|
+
if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
|
|
13665
|
+
const parentMetadataUpdate = getContext("shaderMetadataUpdate");
|
|
13666
|
+
if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
|
|
13667
|
+
let orderMarker;
|
|
13668
|
+
let detectedRenderOrder = void 0;
|
|
13669
|
+
let isRegistered = $.state(false);
|
|
13670
|
+
Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
|
|
13671
|
+
$.user_effect(() => {
|
|
13672
|
+
if (!$.get(isRegistered)) return;
|
|
13673
|
+
if (uniform && uniform.value !== void 0) {
|
|
13674
|
+
const newValue = props[propName];
|
|
13675
|
+
if (newValue !== void 0 && !isPropDriver(newValue)) parentUniformUpdate(instanceId, propName, newValue);
|
|
13676
|
+
}
|
|
13677
|
+
});
|
|
13678
|
+
});
|
|
13679
|
+
$.user_effect(() => {
|
|
13680
|
+
if (!$.get(isRegistered)) return;
|
|
13681
|
+
parentMetadataUpdate(instanceId, {
|
|
13682
|
+
blendMode: $.get(blendMode),
|
|
13683
|
+
opacity: $.get(opacity),
|
|
13684
|
+
visible: $.get(visible) === false ? false : true,
|
|
13685
|
+
id: $.get(id),
|
|
13686
|
+
mask: $.get(maskSource) ? {
|
|
13687
|
+
source: $.get(maskSource),
|
|
13688
|
+
type: $.get(maskType) || "alpha"
|
|
13689
|
+
} : void 0,
|
|
13690
|
+
maps: $.get(mapsFromProps),
|
|
13691
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
13692
|
+
transform: $.get(effectiveTransform)
|
|
13693
|
+
});
|
|
13694
|
+
});
|
|
13695
|
+
onMount(() => {
|
|
13696
|
+
if (componentDefinition$93 && typeof componentDefinition$93.fragmentNode === "function") {
|
|
13697
|
+
parentRegister(instanceId, componentDefinition$93.fragmentNode, parentId, {
|
|
13698
|
+
blendMode: $.get(blendMode),
|
|
13699
|
+
opacity: $.get(opacity),
|
|
13700
|
+
visible: $.get(visible) !== false ? true : false,
|
|
13701
|
+
id: $.get(id),
|
|
13702
|
+
mask: $.get(maskSource) ? {
|
|
13703
|
+
source: $.get(maskSource),
|
|
13704
|
+
type: $.get(maskType) || "alpha"
|
|
13705
|
+
} : void 0,
|
|
13706
|
+
maps: $.get(mapsFromProps),
|
|
13707
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
13708
|
+
transform: $.get(effectiveTransform)
|
|
13709
|
+
}, uniforms, componentDefinition$93);
|
|
13710
|
+
$.set(isRegistered, true);
|
|
13711
|
+
if ($.get(renderOrder) === void 0 && orderMarker) {
|
|
13712
|
+
const parent = orderMarker.parentElement;
|
|
13713
|
+
if (parent) {
|
|
13714
|
+
const siblings = parent.querySelectorAll(":scope > [data-shader-id]");
|
|
13715
|
+
const position = Array.from(siblings).indexOf(orderMarker);
|
|
13716
|
+
if (position >= 0) {
|
|
13717
|
+
detectedRenderOrder = position;
|
|
13718
|
+
parentMetadataUpdate(instanceId, { renderOrder: position });
|
|
13719
|
+
}
|
|
13720
|
+
}
|
|
13721
|
+
}
|
|
13722
|
+
} else console.error("componentDefinition.fragmentNode is not a function:", {
|
|
13723
|
+
componentDefinition: componentDefinition$93,
|
|
13724
|
+
fragmentNode: componentDefinition$93?.fragmentNode,
|
|
13725
|
+
type: typeof componentDefinition$93?.fragmentNode
|
|
13726
|
+
});
|
|
13727
|
+
});
|
|
13728
|
+
onDestroy(() => {
|
|
13729
|
+
$.set(isRegistered, false);
|
|
13730
|
+
parentRegister(instanceId, null, null, null, null);
|
|
13731
|
+
});
|
|
13732
|
+
var span = root$9();
|
|
13733
|
+
var node = $.child(span);
|
|
13734
|
+
children?.(node);
|
|
13735
|
+
$.reset(span);
|
|
13736
|
+
$.bind_this(span, ($$value) => orderMarker = $$value, () => orderMarker);
|
|
13737
|
+
$.template_effect(() => $.set_attribute(span, "data-shader-id", instanceId));
|
|
13738
|
+
$.append($$anchor, span);
|
|
13739
|
+
$.pop();
|
|
13740
|
+
}
|
|
13741
|
+
var root$8 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
13742
|
+
function Vibrance($$anchor, $$props) {
|
|
13743
|
+
$.push($$props, true);
|
|
13744
|
+
function isPropDriver(value) {
|
|
13745
|
+
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
13746
|
+
}
|
|
13747
|
+
const DEFAULT_TRANSFORM = {
|
|
13748
|
+
offsetX: 0,
|
|
13749
|
+
offsetY: 0,
|
|
13750
|
+
rotation: 0,
|
|
13751
|
+
scale: 1,
|
|
13752
|
+
anchorX: .5,
|
|
13753
|
+
anchorY: .5,
|
|
13754
|
+
edges: "transparent"
|
|
13755
|
+
};
|
|
13756
|
+
const componentDefaults = {
|
|
13757
|
+
blendMode: "normal",
|
|
13758
|
+
visible: true,
|
|
13759
|
+
...Object.entries(componentDefinition$94.props).reduce((acc, [key, config]) => {
|
|
13760
|
+
acc[key] = config.default;
|
|
13761
|
+
return acc;
|
|
13762
|
+
}, {})
|
|
13763
|
+
};
|
|
13764
|
+
const props = $.rest_props($$props, [
|
|
13765
|
+
"$$slots",
|
|
13766
|
+
"$$events",
|
|
13767
|
+
"$$legacy"
|
|
13768
|
+
]);
|
|
13769
|
+
const blendMode = $.derived(() => $$props.blendMode ?? componentDefaults.blendMode);
|
|
13770
|
+
const opacity = $.derived(() => $$props.opacity);
|
|
13771
|
+
const visible = $.derived(() => $$props.visible ?? componentDefaults.visible);
|
|
13772
|
+
const id = $.derived(() => $$props.id);
|
|
13773
|
+
const maskSource = $.derived(() => $$props.maskSource);
|
|
13774
|
+
const maskType = $.derived(() => $$props.maskType);
|
|
13775
|
+
const renderOrder = $.derived(() => $$props.renderOrder);
|
|
13776
|
+
const { children } = props;
|
|
13777
|
+
const mapsFromProps = $.derived(() => {
|
|
13778
|
+
const maps = {};
|
|
13779
|
+
for (const key of Object.keys(componentDefinition$94.props)) {
|
|
13780
|
+
const val = props[key];
|
|
13781
|
+
if (isPropDriver(val)) maps[key] = val;
|
|
13782
|
+
}
|
|
13783
|
+
return Object.keys(maps).length > 0 ? maps : void 0;
|
|
13784
|
+
});
|
|
13785
|
+
const effectiveTransform = $.derived(() => ({
|
|
13786
|
+
...DEFAULT_TRANSFORM,
|
|
13787
|
+
...$$props.transform
|
|
13788
|
+
}));
|
|
13789
|
+
const parentId = getContext("shaderParentId");
|
|
13790
|
+
if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
13791
|
+
const instanceId = ($.get(id) ? $.get(id).replace(/[^a-zA-Z0-9_]/g, "_") : null) || Math.random().toString(36).substring(2, 10);
|
|
13792
|
+
setContext("shaderParentId", instanceId);
|
|
13793
|
+
const shaderReadyProps = $.derived(() => {
|
|
13794
|
+
let baseProps = { ...componentDefaults };
|
|
13795
|
+
for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
|
|
13796
|
+
const propValue = props[key];
|
|
13797
|
+
if (isPropDriver(propValue)) continue;
|
|
13798
|
+
const defaultValue = componentDefaults[key];
|
|
13799
|
+
if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
|
|
13800
|
+
}
|
|
13801
|
+
return baseProps;
|
|
13802
|
+
});
|
|
13803
|
+
const shaderColorSpace = getContext("shaderColorSpace");
|
|
13804
|
+
if (shaderColorSpace) setColorSpaceMode(shaderColorSpace());
|
|
13805
|
+
const uniforms = createUniformsMap(componentDefinition$94, $.get(shaderReadyProps), instanceId);
|
|
13806
|
+
const parentRegister = getContext("shaderNodeRegister");
|
|
13807
|
+
if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
13808
|
+
const parentUniformUpdate = getContext("shaderUniformUpdate");
|
|
13809
|
+
if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
|
|
13810
|
+
const parentMetadataUpdate = getContext("shaderMetadataUpdate");
|
|
13811
|
+
if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
|
|
13812
|
+
let orderMarker;
|
|
13813
|
+
let detectedRenderOrder = void 0;
|
|
13814
|
+
let isRegistered = $.state(false);
|
|
13815
|
+
Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
|
|
13816
|
+
$.user_effect(() => {
|
|
13817
|
+
if (!$.get(isRegistered)) return;
|
|
13818
|
+
if (uniform && uniform.value !== void 0) {
|
|
13819
|
+
const newValue = props[propName];
|
|
13820
|
+
if (newValue !== void 0 && !isPropDriver(newValue)) parentUniformUpdate(instanceId, propName, newValue);
|
|
13821
|
+
}
|
|
13822
|
+
});
|
|
13823
|
+
});
|
|
13824
|
+
$.user_effect(() => {
|
|
13825
|
+
if (!$.get(isRegistered)) return;
|
|
13826
|
+
parentMetadataUpdate(instanceId, {
|
|
13827
|
+
blendMode: $.get(blendMode),
|
|
13828
|
+
opacity: $.get(opacity),
|
|
13829
|
+
visible: $.get(visible) === false ? false : true,
|
|
13830
|
+
id: $.get(id),
|
|
13831
|
+
mask: $.get(maskSource) ? {
|
|
13832
|
+
source: $.get(maskSource),
|
|
13833
|
+
type: $.get(maskType) || "alpha"
|
|
13834
|
+
} : void 0,
|
|
13835
|
+
maps: $.get(mapsFromProps),
|
|
13836
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
13837
|
+
transform: $.get(effectiveTransform)
|
|
13838
|
+
});
|
|
13839
|
+
});
|
|
13840
|
+
onMount(() => {
|
|
13841
|
+
if (componentDefinition$94 && typeof componentDefinition$94.fragmentNode === "function") {
|
|
13842
|
+
parentRegister(instanceId, componentDefinition$94.fragmentNode, parentId, {
|
|
13843
|
+
blendMode: $.get(blendMode),
|
|
13844
|
+
opacity: $.get(opacity),
|
|
13845
|
+
visible: $.get(visible) !== false ? true : false,
|
|
13846
|
+
id: $.get(id),
|
|
13847
|
+
mask: $.get(maskSource) ? {
|
|
13848
|
+
source: $.get(maskSource),
|
|
13849
|
+
type: $.get(maskType) || "alpha"
|
|
13850
|
+
} : void 0,
|
|
13851
|
+
maps: $.get(mapsFromProps),
|
|
13852
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
13853
|
+
transform: $.get(effectiveTransform)
|
|
13854
|
+
}, uniforms, componentDefinition$94);
|
|
13855
|
+
$.set(isRegistered, true);
|
|
13856
|
+
if ($.get(renderOrder) === void 0 && orderMarker) {
|
|
13857
|
+
const parent = orderMarker.parentElement;
|
|
13858
|
+
if (parent) {
|
|
13859
|
+
const siblings = parent.querySelectorAll(":scope > [data-shader-id]");
|
|
13860
|
+
const position = Array.from(siblings).indexOf(orderMarker);
|
|
13861
|
+
if (position >= 0) {
|
|
13862
|
+
detectedRenderOrder = position;
|
|
13863
|
+
parentMetadataUpdate(instanceId, { renderOrder: position });
|
|
13864
|
+
}
|
|
13865
|
+
}
|
|
13866
|
+
}
|
|
13867
|
+
} else console.error("componentDefinition.fragmentNode is not a function:", {
|
|
13868
|
+
componentDefinition: componentDefinition$94,
|
|
13869
|
+
fragmentNode: componentDefinition$94?.fragmentNode,
|
|
13870
|
+
type: typeof componentDefinition$94?.fragmentNode
|
|
13871
|
+
});
|
|
13872
|
+
});
|
|
13873
|
+
onDestroy(() => {
|
|
13874
|
+
$.set(isRegistered, false);
|
|
13875
|
+
parentRegister(instanceId, null, null, null, null);
|
|
13876
|
+
});
|
|
13877
|
+
var span = root$8();
|
|
13878
|
+
var node = $.child(span);
|
|
13879
|
+
children?.(node);
|
|
13880
|
+
$.reset(span);
|
|
13881
|
+
$.bind_this(span, ($$value) => orderMarker = $$value, () => orderMarker);
|
|
13882
|
+
$.template_effect(() => $.set_attribute(span, "data-shader-id", instanceId));
|
|
13883
|
+
$.append($$anchor, span);
|
|
13884
|
+
$.pop();
|
|
13885
|
+
}
|
|
13886
|
+
var root$7 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
13887
|
+
function VideoTexture($$anchor, $$props) {
|
|
13888
|
+
$.push($$props, true);
|
|
13889
|
+
function isPropDriver(value) {
|
|
13890
|
+
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
13891
|
+
}
|
|
13892
|
+
const DEFAULT_TRANSFORM = {
|
|
13893
|
+
offsetX: 0,
|
|
13894
|
+
offsetY: 0,
|
|
13895
|
+
rotation: 0,
|
|
13896
|
+
scale: 1,
|
|
13897
|
+
anchorX: .5,
|
|
13898
|
+
anchorY: .5,
|
|
13899
|
+
edges: "transparent"
|
|
13900
|
+
};
|
|
13901
|
+
const componentDefaults = {
|
|
13902
|
+
blendMode: "normal",
|
|
13903
|
+
visible: true,
|
|
13904
|
+
...Object.entries(componentDefinition$95.props).reduce((acc, [key, config]) => {
|
|
13905
|
+
acc[key] = config.default;
|
|
13906
|
+
return acc;
|
|
13907
|
+
}, {})
|
|
13908
|
+
};
|
|
13909
|
+
const props = $.rest_props($$props, [
|
|
13910
|
+
"$$slots",
|
|
13911
|
+
"$$events",
|
|
13912
|
+
"$$legacy"
|
|
13913
|
+
]);
|
|
13914
|
+
const blendMode = $.derived(() => $$props.blendMode ?? componentDefaults.blendMode);
|
|
13915
|
+
const opacity = $.derived(() => $$props.opacity);
|
|
13916
|
+
const visible = $.derived(() => $$props.visible ?? componentDefaults.visible);
|
|
13917
|
+
const id = $.derived(() => $$props.id);
|
|
13918
|
+
const maskSource = $.derived(() => $$props.maskSource);
|
|
13919
|
+
const maskType = $.derived(() => $$props.maskType);
|
|
13920
|
+
const renderOrder = $.derived(() => $$props.renderOrder);
|
|
13921
|
+
const { children } = props;
|
|
13922
|
+
const mapsFromProps = $.derived(() => {
|
|
13923
|
+
const maps = {};
|
|
13924
|
+
for (const key of Object.keys(componentDefinition$95.props)) {
|
|
13925
|
+
const val = props[key];
|
|
13926
|
+
if (isPropDriver(val)) maps[key] = val;
|
|
13927
|
+
}
|
|
13928
|
+
return Object.keys(maps).length > 0 ? maps : void 0;
|
|
13929
|
+
});
|
|
13930
|
+
const effectiveTransform = $.derived(() => ({
|
|
13931
|
+
...DEFAULT_TRANSFORM,
|
|
13932
|
+
...$$props.transform
|
|
13933
|
+
}));
|
|
13934
|
+
const parentId = getContext("shaderParentId");
|
|
13935
|
+
if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
13936
|
+
const instanceId = ($.get(id) ? $.get(id).replace(/[^a-zA-Z0-9_]/g, "_") : null) || Math.random().toString(36).substring(2, 10);
|
|
13937
|
+
setContext("shaderParentId", instanceId);
|
|
13938
|
+
const shaderReadyProps = $.derived(() => {
|
|
13939
|
+
let baseProps = { ...componentDefaults };
|
|
13940
|
+
for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
|
|
13941
|
+
const propValue = props[key];
|
|
13942
|
+
if (isPropDriver(propValue)) continue;
|
|
13943
|
+
const defaultValue = componentDefaults[key];
|
|
13944
|
+
if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
|
|
13945
|
+
}
|
|
13946
|
+
return baseProps;
|
|
13947
|
+
});
|
|
13948
|
+
const shaderColorSpace = getContext("shaderColorSpace");
|
|
13949
|
+
if (shaderColorSpace) setColorSpaceMode(shaderColorSpace());
|
|
13950
|
+
const uniforms = createUniformsMap(componentDefinition$95, $.get(shaderReadyProps), instanceId);
|
|
13951
|
+
const parentRegister = getContext("shaderNodeRegister");
|
|
13952
|
+
if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
13953
|
+
const parentUniformUpdate = getContext("shaderUniformUpdate");
|
|
13954
|
+
if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
|
|
13955
|
+
const parentMetadataUpdate = getContext("shaderMetadataUpdate");
|
|
13956
|
+
if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
|
|
13957
|
+
let orderMarker;
|
|
13958
|
+
let detectedRenderOrder = void 0;
|
|
13959
|
+
let isRegistered = $.state(false);
|
|
13960
|
+
Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
|
|
13961
|
+
$.user_effect(() => {
|
|
13962
|
+
if (!$.get(isRegistered)) return;
|
|
13963
|
+
if (uniform && uniform.value !== void 0) {
|
|
13964
|
+
const newValue = props[propName];
|
|
13965
|
+
if (newValue !== void 0 && !isPropDriver(newValue)) parentUniformUpdate(instanceId, propName, newValue);
|
|
13966
|
+
}
|
|
13967
|
+
});
|
|
13968
|
+
});
|
|
13969
|
+
$.user_effect(() => {
|
|
13970
|
+
if (!$.get(isRegistered)) return;
|
|
13971
|
+
parentMetadataUpdate(instanceId, {
|
|
13972
|
+
blendMode: $.get(blendMode),
|
|
13973
|
+
opacity: $.get(opacity),
|
|
13974
|
+
visible: $.get(visible) === false ? false : true,
|
|
13975
|
+
id: $.get(id),
|
|
13976
|
+
mask: $.get(maskSource) ? {
|
|
13977
|
+
source: $.get(maskSource),
|
|
13978
|
+
type: $.get(maskType) || "alpha"
|
|
13979
|
+
} : void 0,
|
|
13980
|
+
maps: $.get(mapsFromProps),
|
|
13981
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
13982
|
+
transform: $.get(effectiveTransform)
|
|
13983
|
+
});
|
|
13984
|
+
});
|
|
13985
|
+
onMount(() => {
|
|
13986
|
+
if (componentDefinition$95 && typeof componentDefinition$95.fragmentNode === "function") {
|
|
13987
|
+
parentRegister(instanceId, componentDefinition$95.fragmentNode, parentId, {
|
|
13988
|
+
blendMode: $.get(blendMode),
|
|
13989
|
+
opacity: $.get(opacity),
|
|
13990
|
+
visible: $.get(visible) !== false ? true : false,
|
|
13991
|
+
id: $.get(id),
|
|
13992
|
+
mask: $.get(maskSource) ? {
|
|
13993
|
+
source: $.get(maskSource),
|
|
13994
|
+
type: $.get(maskType) || "alpha"
|
|
13995
|
+
} : void 0,
|
|
13996
|
+
maps: $.get(mapsFromProps),
|
|
13997
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
13998
|
+
transform: $.get(effectiveTransform)
|
|
13999
|
+
}, uniforms, componentDefinition$95);
|
|
14000
|
+
$.set(isRegistered, true);
|
|
14001
|
+
if ($.get(renderOrder) === void 0 && orderMarker) {
|
|
14002
|
+
const parent = orderMarker.parentElement;
|
|
14003
|
+
if (parent) {
|
|
14004
|
+
const siblings = parent.querySelectorAll(":scope > [data-shader-id]");
|
|
14005
|
+
const position = Array.from(siblings).indexOf(orderMarker);
|
|
14006
|
+
if (position >= 0) {
|
|
14007
|
+
detectedRenderOrder = position;
|
|
14008
|
+
parentMetadataUpdate(instanceId, { renderOrder: position });
|
|
14009
|
+
}
|
|
14010
|
+
}
|
|
14011
|
+
}
|
|
14012
|
+
} else console.error("componentDefinition.fragmentNode is not a function:", {
|
|
14013
|
+
componentDefinition: componentDefinition$95,
|
|
14014
|
+
fragmentNode: componentDefinition$95?.fragmentNode,
|
|
14015
|
+
type: typeof componentDefinition$95?.fragmentNode
|
|
14016
|
+
});
|
|
14017
|
+
});
|
|
14018
|
+
onDestroy(() => {
|
|
14019
|
+
$.set(isRegistered, false);
|
|
14020
|
+
parentRegister(instanceId, null, null, null, null);
|
|
14021
|
+
});
|
|
14022
|
+
var span = root$7();
|
|
14023
|
+
var node = $.child(span);
|
|
14024
|
+
children?.(node);
|
|
14025
|
+
$.reset(span);
|
|
14026
|
+
$.bind_this(span, ($$value) => orderMarker = $$value, () => orderMarker);
|
|
14027
|
+
$.template_effect(() => $.set_attribute(span, "data-shader-id", instanceId));
|
|
14028
|
+
$.append($$anchor, span);
|
|
14029
|
+
$.pop();
|
|
14030
|
+
}
|
|
14031
|
+
var root$6 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
14032
|
+
function Vignette($$anchor, $$props) {
|
|
14033
|
+
$.push($$props, true);
|
|
14034
|
+
function isPropDriver(value) {
|
|
14035
|
+
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
14036
|
+
}
|
|
14037
|
+
const DEFAULT_TRANSFORM = {
|
|
14038
|
+
offsetX: 0,
|
|
14039
|
+
offsetY: 0,
|
|
14040
|
+
rotation: 0,
|
|
14041
|
+
scale: 1,
|
|
14042
|
+
anchorX: .5,
|
|
14043
|
+
anchorY: .5,
|
|
14044
|
+
edges: "transparent"
|
|
14045
|
+
};
|
|
14046
|
+
const componentDefaults = {
|
|
14047
|
+
blendMode: "normal",
|
|
14048
|
+
visible: true,
|
|
14049
|
+
...Object.entries(componentDefinition$96.props).reduce((acc, [key, config]) => {
|
|
14050
|
+
acc[key] = config.default;
|
|
14051
|
+
return acc;
|
|
14052
|
+
}, {})
|
|
14053
|
+
};
|
|
14054
|
+
const props = $.rest_props($$props, [
|
|
14055
|
+
"$$slots",
|
|
14056
|
+
"$$events",
|
|
14057
|
+
"$$legacy"
|
|
14058
|
+
]);
|
|
14059
|
+
const blendMode = $.derived(() => $$props.blendMode ?? componentDefaults.blendMode);
|
|
14060
|
+
const opacity = $.derived(() => $$props.opacity);
|
|
14061
|
+
const visible = $.derived(() => $$props.visible ?? componentDefaults.visible);
|
|
14062
|
+
const id = $.derived(() => $$props.id);
|
|
14063
|
+
const maskSource = $.derived(() => $$props.maskSource);
|
|
14064
|
+
const maskType = $.derived(() => $$props.maskType);
|
|
14065
|
+
const renderOrder = $.derived(() => $$props.renderOrder);
|
|
14066
|
+
const { children } = props;
|
|
14067
|
+
const mapsFromProps = $.derived(() => {
|
|
14068
|
+
const maps = {};
|
|
14069
|
+
for (const key of Object.keys(componentDefinition$96.props)) {
|
|
14070
|
+
const val = props[key];
|
|
14071
|
+
if (isPropDriver(val)) maps[key] = val;
|
|
14072
|
+
}
|
|
14073
|
+
return Object.keys(maps).length > 0 ? maps : void 0;
|
|
14074
|
+
});
|
|
14075
|
+
const effectiveTransform = $.derived(() => ({
|
|
14076
|
+
...DEFAULT_TRANSFORM,
|
|
14077
|
+
...$$props.transform
|
|
14078
|
+
}));
|
|
14079
|
+
const parentId = getContext("shaderParentId");
|
|
14080
|
+
if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14081
|
+
const instanceId = ($.get(id) ? $.get(id).replace(/[^a-zA-Z0-9_]/g, "_") : null) || Math.random().toString(36).substring(2, 10);
|
|
14082
|
+
setContext("shaderParentId", instanceId);
|
|
14083
|
+
const shaderReadyProps = $.derived(() => {
|
|
14084
|
+
let baseProps = { ...componentDefaults };
|
|
14085
|
+
for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
|
|
14086
|
+
const propValue = props[key];
|
|
14087
|
+
if (isPropDriver(propValue)) continue;
|
|
14088
|
+
const defaultValue = componentDefaults[key];
|
|
14089
|
+
if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
|
|
14090
|
+
}
|
|
14091
|
+
return baseProps;
|
|
14092
|
+
});
|
|
14093
|
+
const shaderColorSpace = getContext("shaderColorSpace");
|
|
14094
|
+
if (shaderColorSpace) setColorSpaceMode(shaderColorSpace());
|
|
14095
|
+
const uniforms = createUniformsMap(componentDefinition$96, $.get(shaderReadyProps), instanceId);
|
|
14096
|
+
const parentRegister = getContext("shaderNodeRegister");
|
|
14097
|
+
if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14098
|
+
const parentUniformUpdate = getContext("shaderUniformUpdate");
|
|
14099
|
+
if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
|
|
14100
|
+
const parentMetadataUpdate = getContext("shaderMetadataUpdate");
|
|
14101
|
+
if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
|
|
14102
|
+
let orderMarker;
|
|
14103
|
+
let detectedRenderOrder = void 0;
|
|
14104
|
+
let isRegistered = $.state(false);
|
|
14105
|
+
Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
|
|
14106
|
+
$.user_effect(() => {
|
|
14107
|
+
if (!$.get(isRegistered)) return;
|
|
14108
|
+
if (uniform && uniform.value !== void 0) {
|
|
14109
|
+
const newValue = props[propName];
|
|
14110
|
+
if (newValue !== void 0 && !isPropDriver(newValue)) parentUniformUpdate(instanceId, propName, newValue);
|
|
14111
|
+
}
|
|
14112
|
+
});
|
|
14113
|
+
});
|
|
14114
|
+
$.user_effect(() => {
|
|
14115
|
+
if (!$.get(isRegistered)) return;
|
|
14116
|
+
parentMetadataUpdate(instanceId, {
|
|
14117
|
+
blendMode: $.get(blendMode),
|
|
14118
|
+
opacity: $.get(opacity),
|
|
14119
|
+
visible: $.get(visible) === false ? false : true,
|
|
14120
|
+
id: $.get(id),
|
|
14121
|
+
mask: $.get(maskSource) ? {
|
|
14122
|
+
source: $.get(maskSource),
|
|
14123
|
+
type: $.get(maskType) || "alpha"
|
|
14124
|
+
} : void 0,
|
|
14125
|
+
maps: $.get(mapsFromProps),
|
|
14126
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14127
|
+
transform: $.get(effectiveTransform)
|
|
14128
|
+
});
|
|
14129
|
+
});
|
|
14130
|
+
onMount(() => {
|
|
14131
|
+
if (componentDefinition$96 && typeof componentDefinition$96.fragmentNode === "function") {
|
|
14132
|
+
parentRegister(instanceId, componentDefinition$96.fragmentNode, parentId, {
|
|
14133
|
+
blendMode: $.get(blendMode),
|
|
14134
|
+
opacity: $.get(opacity),
|
|
14135
|
+
visible: $.get(visible) !== false ? true : false,
|
|
14136
|
+
id: $.get(id),
|
|
14137
|
+
mask: $.get(maskSource) ? {
|
|
14138
|
+
source: $.get(maskSource),
|
|
14139
|
+
type: $.get(maskType) || "alpha"
|
|
14140
|
+
} : void 0,
|
|
14141
|
+
maps: $.get(mapsFromProps),
|
|
14142
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14143
|
+
transform: $.get(effectiveTransform)
|
|
14144
|
+
}, uniforms, componentDefinition$96);
|
|
14145
|
+
$.set(isRegistered, true);
|
|
14146
|
+
if ($.get(renderOrder) === void 0 && orderMarker) {
|
|
14147
|
+
const parent = orderMarker.parentElement;
|
|
14148
|
+
if (parent) {
|
|
14149
|
+
const siblings = parent.querySelectorAll(":scope > [data-shader-id]");
|
|
14150
|
+
const position = Array.from(siblings).indexOf(orderMarker);
|
|
14151
|
+
if (position >= 0) {
|
|
14152
|
+
detectedRenderOrder = position;
|
|
14153
|
+
parentMetadataUpdate(instanceId, { renderOrder: position });
|
|
14154
|
+
}
|
|
14155
|
+
}
|
|
14156
|
+
}
|
|
14157
|
+
} else console.error("componentDefinition.fragmentNode is not a function:", {
|
|
14158
|
+
componentDefinition: componentDefinition$96,
|
|
14159
|
+
fragmentNode: componentDefinition$96?.fragmentNode,
|
|
14160
|
+
type: typeof componentDefinition$96?.fragmentNode
|
|
14161
|
+
});
|
|
14162
|
+
});
|
|
14163
|
+
onDestroy(() => {
|
|
14164
|
+
$.set(isRegistered, false);
|
|
14165
|
+
parentRegister(instanceId, null, null, null, null);
|
|
14166
|
+
});
|
|
14167
|
+
var span = root$6();
|
|
14168
|
+
var node = $.child(span);
|
|
14169
|
+
children?.(node);
|
|
14170
|
+
$.reset(span);
|
|
14171
|
+
$.bind_this(span, ($$value) => orderMarker = $$value, () => orderMarker);
|
|
14172
|
+
$.template_effect(() => $.set_attribute(span, "data-shader-id", instanceId));
|
|
14173
|
+
$.append($$anchor, span);
|
|
14174
|
+
$.pop();
|
|
14175
|
+
}
|
|
14176
|
+
var root$5 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
14177
|
+
function Voronoi($$anchor, $$props) {
|
|
14178
|
+
$.push($$props, true);
|
|
14179
|
+
function isPropDriver(value) {
|
|
14180
|
+
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
14181
|
+
}
|
|
14182
|
+
const DEFAULT_TRANSFORM = {
|
|
14183
|
+
offsetX: 0,
|
|
14184
|
+
offsetY: 0,
|
|
14185
|
+
rotation: 0,
|
|
14186
|
+
scale: 1,
|
|
14187
|
+
anchorX: .5,
|
|
14188
|
+
anchorY: .5,
|
|
14189
|
+
edges: "transparent"
|
|
14190
|
+
};
|
|
14191
|
+
const componentDefaults = {
|
|
14192
|
+
blendMode: "normal",
|
|
14193
|
+
visible: true,
|
|
14194
|
+
...Object.entries(componentDefinition$97.props).reduce((acc, [key, config]) => {
|
|
14195
|
+
acc[key] = config.default;
|
|
14196
|
+
return acc;
|
|
14197
|
+
}, {})
|
|
14198
|
+
};
|
|
14199
|
+
const props = $.rest_props($$props, [
|
|
14200
|
+
"$$slots",
|
|
14201
|
+
"$$events",
|
|
14202
|
+
"$$legacy"
|
|
14203
|
+
]);
|
|
14204
|
+
const blendMode = $.derived(() => $$props.blendMode ?? componentDefaults.blendMode);
|
|
14205
|
+
const opacity = $.derived(() => $$props.opacity);
|
|
14206
|
+
const visible = $.derived(() => $$props.visible ?? componentDefaults.visible);
|
|
14207
|
+
const id = $.derived(() => $$props.id);
|
|
14208
|
+
const maskSource = $.derived(() => $$props.maskSource);
|
|
14209
|
+
const maskType = $.derived(() => $$props.maskType);
|
|
14210
|
+
const renderOrder = $.derived(() => $$props.renderOrder);
|
|
14211
|
+
const { children } = props;
|
|
14212
|
+
const mapsFromProps = $.derived(() => {
|
|
14213
|
+
const maps = {};
|
|
14214
|
+
for (const key of Object.keys(componentDefinition$97.props)) {
|
|
14215
|
+
const val = props[key];
|
|
14216
|
+
if (isPropDriver(val)) maps[key] = val;
|
|
14217
|
+
}
|
|
14218
|
+
return Object.keys(maps).length > 0 ? maps : void 0;
|
|
14219
|
+
});
|
|
14220
|
+
const effectiveTransform = $.derived(() => ({
|
|
14221
|
+
...DEFAULT_TRANSFORM,
|
|
14222
|
+
...$$props.transform
|
|
14223
|
+
}));
|
|
14224
|
+
const parentId = getContext("shaderParentId");
|
|
14225
|
+
if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14226
|
+
const instanceId = ($.get(id) ? $.get(id).replace(/[^a-zA-Z0-9_]/g, "_") : null) || Math.random().toString(36).substring(2, 10);
|
|
14227
|
+
setContext("shaderParentId", instanceId);
|
|
14228
|
+
const shaderReadyProps = $.derived(() => {
|
|
14229
|
+
let baseProps = { ...componentDefaults };
|
|
14230
|
+
for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
|
|
14231
|
+
const propValue = props[key];
|
|
14232
|
+
if (isPropDriver(propValue)) continue;
|
|
14233
|
+
const defaultValue = componentDefaults[key];
|
|
14234
|
+
if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
|
|
14235
|
+
}
|
|
14236
|
+
return baseProps;
|
|
14237
|
+
});
|
|
14238
|
+
const shaderColorSpace = getContext("shaderColorSpace");
|
|
14239
|
+
if (shaderColorSpace) setColorSpaceMode(shaderColorSpace());
|
|
14240
|
+
const uniforms = createUniformsMap(componentDefinition$97, $.get(shaderReadyProps), instanceId);
|
|
14241
|
+
const parentRegister = getContext("shaderNodeRegister");
|
|
14242
|
+
if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14243
|
+
const parentUniformUpdate = getContext("shaderUniformUpdate");
|
|
14244
|
+
if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
|
|
14245
|
+
const parentMetadataUpdate = getContext("shaderMetadataUpdate");
|
|
14246
|
+
if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
|
|
14247
|
+
let orderMarker;
|
|
14248
|
+
let detectedRenderOrder = void 0;
|
|
14249
|
+
let isRegistered = $.state(false);
|
|
14250
|
+
Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
|
|
14251
|
+
$.user_effect(() => {
|
|
14252
|
+
if (!$.get(isRegistered)) return;
|
|
14253
|
+
if (uniform && uniform.value !== void 0) {
|
|
14254
|
+
const newValue = props[propName];
|
|
14255
|
+
if (newValue !== void 0 && !isPropDriver(newValue)) parentUniformUpdate(instanceId, propName, newValue);
|
|
14256
|
+
}
|
|
14257
|
+
});
|
|
14258
|
+
});
|
|
14259
|
+
$.user_effect(() => {
|
|
14260
|
+
if (!$.get(isRegistered)) return;
|
|
14261
|
+
parentMetadataUpdate(instanceId, {
|
|
14262
|
+
blendMode: $.get(blendMode),
|
|
14263
|
+
opacity: $.get(opacity),
|
|
14264
|
+
visible: $.get(visible) === false ? false : true,
|
|
14265
|
+
id: $.get(id),
|
|
14266
|
+
mask: $.get(maskSource) ? {
|
|
14267
|
+
source: $.get(maskSource),
|
|
14268
|
+
type: $.get(maskType) || "alpha"
|
|
14269
|
+
} : void 0,
|
|
14270
|
+
maps: $.get(mapsFromProps),
|
|
14271
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14272
|
+
transform: $.get(effectiveTransform)
|
|
14273
|
+
});
|
|
14274
|
+
});
|
|
14275
|
+
onMount(() => {
|
|
14276
|
+
if (componentDefinition$97 && typeof componentDefinition$97.fragmentNode === "function") {
|
|
14277
|
+
parentRegister(instanceId, componentDefinition$97.fragmentNode, parentId, {
|
|
14278
|
+
blendMode: $.get(blendMode),
|
|
14279
|
+
opacity: $.get(opacity),
|
|
14280
|
+
visible: $.get(visible) !== false ? true : false,
|
|
14281
|
+
id: $.get(id),
|
|
14282
|
+
mask: $.get(maskSource) ? {
|
|
14283
|
+
source: $.get(maskSource),
|
|
14284
|
+
type: $.get(maskType) || "alpha"
|
|
14285
|
+
} : void 0,
|
|
14286
|
+
maps: $.get(mapsFromProps),
|
|
14287
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14288
|
+
transform: $.get(effectiveTransform)
|
|
14289
|
+
}, uniforms, componentDefinition$97);
|
|
14290
|
+
$.set(isRegistered, true);
|
|
14291
|
+
if ($.get(renderOrder) === void 0 && orderMarker) {
|
|
14292
|
+
const parent = orderMarker.parentElement;
|
|
14293
|
+
if (parent) {
|
|
14294
|
+
const siblings = parent.querySelectorAll(":scope > [data-shader-id]");
|
|
14295
|
+
const position = Array.from(siblings).indexOf(orderMarker);
|
|
14296
|
+
if (position >= 0) {
|
|
14297
|
+
detectedRenderOrder = position;
|
|
14298
|
+
parentMetadataUpdate(instanceId, { renderOrder: position });
|
|
14299
|
+
}
|
|
14300
|
+
}
|
|
14301
|
+
}
|
|
14302
|
+
} else console.error("componentDefinition.fragmentNode is not a function:", {
|
|
14303
|
+
componentDefinition: componentDefinition$97,
|
|
14304
|
+
fragmentNode: componentDefinition$97?.fragmentNode,
|
|
14305
|
+
type: typeof componentDefinition$97?.fragmentNode
|
|
14306
|
+
});
|
|
14307
|
+
});
|
|
14308
|
+
onDestroy(() => {
|
|
14309
|
+
$.set(isRegistered, false);
|
|
14310
|
+
parentRegister(instanceId, null, null, null, null);
|
|
14311
|
+
});
|
|
14312
|
+
var span = root$5();
|
|
14313
|
+
var node = $.child(span);
|
|
14314
|
+
children?.(node);
|
|
14315
|
+
$.reset(span);
|
|
14316
|
+
$.bind_this(span, ($$value) => orderMarker = $$value, () => orderMarker);
|
|
14317
|
+
$.template_effect(() => $.set_attribute(span, "data-shader-id", instanceId));
|
|
14318
|
+
$.append($$anchor, span);
|
|
14319
|
+
$.pop();
|
|
14320
|
+
}
|
|
14321
|
+
var root$4 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
14322
|
+
function WaveDistortion($$anchor, $$props) {
|
|
14323
|
+
$.push($$props, true);
|
|
14324
|
+
function isPropDriver(value) {
|
|
14325
|
+
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
14326
|
+
}
|
|
14327
|
+
const DEFAULT_TRANSFORM = {
|
|
14328
|
+
offsetX: 0,
|
|
14329
|
+
offsetY: 0,
|
|
14330
|
+
rotation: 0,
|
|
14331
|
+
scale: 1,
|
|
14332
|
+
anchorX: .5,
|
|
14333
|
+
anchorY: .5,
|
|
14334
|
+
edges: "transparent"
|
|
14335
|
+
};
|
|
14336
|
+
const componentDefaults = {
|
|
14337
|
+
blendMode: "normal",
|
|
14338
|
+
visible: true,
|
|
14339
|
+
...Object.entries(componentDefinition$98.props).reduce((acc, [key, config]) => {
|
|
14340
|
+
acc[key] = config.default;
|
|
14341
|
+
return acc;
|
|
14342
|
+
}, {})
|
|
14343
|
+
};
|
|
14344
|
+
const props = $.rest_props($$props, [
|
|
14345
|
+
"$$slots",
|
|
14346
|
+
"$$events",
|
|
14347
|
+
"$$legacy"
|
|
14348
|
+
]);
|
|
14349
|
+
const blendMode = $.derived(() => $$props.blendMode ?? componentDefaults.blendMode);
|
|
14350
|
+
const opacity = $.derived(() => $$props.opacity);
|
|
14351
|
+
const visible = $.derived(() => $$props.visible ?? componentDefaults.visible);
|
|
14352
|
+
const id = $.derived(() => $$props.id);
|
|
14353
|
+
const maskSource = $.derived(() => $$props.maskSource);
|
|
14354
|
+
const maskType = $.derived(() => $$props.maskType);
|
|
14355
|
+
const renderOrder = $.derived(() => $$props.renderOrder);
|
|
14356
|
+
const { children } = props;
|
|
14357
|
+
const mapsFromProps = $.derived(() => {
|
|
14358
|
+
const maps = {};
|
|
14359
|
+
for (const key of Object.keys(componentDefinition$98.props)) {
|
|
14360
|
+
const val = props[key];
|
|
14361
|
+
if (isPropDriver(val)) maps[key] = val;
|
|
14362
|
+
}
|
|
14363
|
+
return Object.keys(maps).length > 0 ? maps : void 0;
|
|
14364
|
+
});
|
|
14365
|
+
const effectiveTransform = $.derived(() => ({
|
|
14366
|
+
...DEFAULT_TRANSFORM,
|
|
14367
|
+
...$$props.transform
|
|
14368
|
+
}));
|
|
14369
|
+
const parentId = getContext("shaderParentId");
|
|
14370
|
+
if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14371
|
+
const instanceId = ($.get(id) ? $.get(id).replace(/[^a-zA-Z0-9_]/g, "_") : null) || Math.random().toString(36).substring(2, 10);
|
|
14372
|
+
setContext("shaderParentId", instanceId);
|
|
14373
|
+
const shaderReadyProps = $.derived(() => {
|
|
14374
|
+
let baseProps = { ...componentDefaults };
|
|
14375
|
+
for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
|
|
14376
|
+
const propValue = props[key];
|
|
14377
|
+
if (isPropDriver(propValue)) continue;
|
|
14378
|
+
const defaultValue = componentDefaults[key];
|
|
14379
|
+
if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
|
|
14380
|
+
}
|
|
14381
|
+
return baseProps;
|
|
14382
|
+
});
|
|
14383
|
+
const shaderColorSpace = getContext("shaderColorSpace");
|
|
14384
|
+
if (shaderColorSpace) setColorSpaceMode(shaderColorSpace());
|
|
14385
|
+
const uniforms = createUniformsMap(componentDefinition$98, $.get(shaderReadyProps), instanceId);
|
|
14386
|
+
const parentRegister = getContext("shaderNodeRegister");
|
|
14387
|
+
if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14388
|
+
const parentUniformUpdate = getContext("shaderUniformUpdate");
|
|
14389
|
+
if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
|
|
14390
|
+
const parentMetadataUpdate = getContext("shaderMetadataUpdate");
|
|
14391
|
+
if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
|
|
14392
|
+
let orderMarker;
|
|
14393
|
+
let detectedRenderOrder = void 0;
|
|
14394
|
+
let isRegistered = $.state(false);
|
|
14395
|
+
Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
|
|
14396
|
+
$.user_effect(() => {
|
|
14397
|
+
if (!$.get(isRegistered)) return;
|
|
14398
|
+
if (uniform && uniform.value !== void 0) {
|
|
14399
|
+
const newValue = props[propName];
|
|
14400
|
+
if (newValue !== void 0 && !isPropDriver(newValue)) parentUniformUpdate(instanceId, propName, newValue);
|
|
14401
|
+
}
|
|
14402
|
+
});
|
|
14403
|
+
});
|
|
14404
|
+
$.user_effect(() => {
|
|
14405
|
+
if (!$.get(isRegistered)) return;
|
|
14406
|
+
parentMetadataUpdate(instanceId, {
|
|
14407
|
+
blendMode: $.get(blendMode),
|
|
14408
|
+
opacity: $.get(opacity),
|
|
14409
|
+
visible: $.get(visible) === false ? false : true,
|
|
14410
|
+
id: $.get(id),
|
|
14411
|
+
mask: $.get(maskSource) ? {
|
|
14412
|
+
source: $.get(maskSource),
|
|
14413
|
+
type: $.get(maskType) || "alpha"
|
|
14414
|
+
} : void 0,
|
|
14415
|
+
maps: $.get(mapsFromProps),
|
|
14416
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14417
|
+
transform: $.get(effectiveTransform)
|
|
14418
|
+
});
|
|
14419
|
+
});
|
|
14420
|
+
onMount(() => {
|
|
14421
|
+
if (componentDefinition$98 && typeof componentDefinition$98.fragmentNode === "function") {
|
|
14422
|
+
parentRegister(instanceId, componentDefinition$98.fragmentNode, parentId, {
|
|
14423
|
+
blendMode: $.get(blendMode),
|
|
14424
|
+
opacity: $.get(opacity),
|
|
14425
|
+
visible: $.get(visible) !== false ? true : false,
|
|
14426
|
+
id: $.get(id),
|
|
14427
|
+
mask: $.get(maskSource) ? {
|
|
14428
|
+
source: $.get(maskSource),
|
|
14429
|
+
type: $.get(maskType) || "alpha"
|
|
14430
|
+
} : void 0,
|
|
14431
|
+
maps: $.get(mapsFromProps),
|
|
14432
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14433
|
+
transform: $.get(effectiveTransform)
|
|
14434
|
+
}, uniforms, componentDefinition$98);
|
|
14435
|
+
$.set(isRegistered, true);
|
|
14436
|
+
if ($.get(renderOrder) === void 0 && orderMarker) {
|
|
14437
|
+
const parent = orderMarker.parentElement;
|
|
14438
|
+
if (parent) {
|
|
14439
|
+
const siblings = parent.querySelectorAll(":scope > [data-shader-id]");
|
|
14440
|
+
const position = Array.from(siblings).indexOf(orderMarker);
|
|
14441
|
+
if (position >= 0) {
|
|
14442
|
+
detectedRenderOrder = position;
|
|
14443
|
+
parentMetadataUpdate(instanceId, { renderOrder: position });
|
|
14444
|
+
}
|
|
14445
|
+
}
|
|
14446
|
+
}
|
|
14447
|
+
} else console.error("componentDefinition.fragmentNode is not a function:", {
|
|
14448
|
+
componentDefinition: componentDefinition$98,
|
|
14449
|
+
fragmentNode: componentDefinition$98?.fragmentNode,
|
|
14450
|
+
type: typeof componentDefinition$98?.fragmentNode
|
|
14451
|
+
});
|
|
14452
|
+
});
|
|
14453
|
+
onDestroy(() => {
|
|
14454
|
+
$.set(isRegistered, false);
|
|
14455
|
+
parentRegister(instanceId, null, null, null, null);
|
|
14456
|
+
});
|
|
14457
|
+
var span = root$4();
|
|
14458
|
+
var node = $.child(span);
|
|
14459
|
+
children?.(node);
|
|
14460
|
+
$.reset(span);
|
|
14461
|
+
$.bind_this(span, ($$value) => orderMarker = $$value, () => orderMarker);
|
|
14462
|
+
$.template_effect(() => $.set_attribute(span, "data-shader-id", instanceId));
|
|
14463
|
+
$.append($$anchor, span);
|
|
14464
|
+
$.pop();
|
|
14465
|
+
}
|
|
14466
|
+
var root$3 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
14467
|
+
function Weave($$anchor, $$props) {
|
|
14468
|
+
$.push($$props, true);
|
|
14469
|
+
function isPropDriver(value) {
|
|
14470
|
+
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
14471
|
+
}
|
|
14472
|
+
const DEFAULT_TRANSFORM = {
|
|
14473
|
+
offsetX: 0,
|
|
14474
|
+
offsetY: 0,
|
|
14475
|
+
rotation: 0,
|
|
14476
|
+
scale: 1,
|
|
14477
|
+
anchorX: .5,
|
|
14478
|
+
anchorY: .5,
|
|
14479
|
+
edges: "transparent"
|
|
14480
|
+
};
|
|
14481
|
+
const componentDefaults = {
|
|
14482
|
+
blendMode: "normal",
|
|
14483
|
+
visible: true,
|
|
14484
|
+
...Object.entries(componentDefinition$99.props).reduce((acc, [key, config]) => {
|
|
14485
|
+
acc[key] = config.default;
|
|
14486
|
+
return acc;
|
|
14487
|
+
}, {})
|
|
14488
|
+
};
|
|
14489
|
+
const props = $.rest_props($$props, [
|
|
14490
|
+
"$$slots",
|
|
14491
|
+
"$$events",
|
|
14492
|
+
"$$legacy"
|
|
14493
|
+
]);
|
|
14494
|
+
const blendMode = $.derived(() => $$props.blendMode ?? componentDefaults.blendMode);
|
|
14495
|
+
const opacity = $.derived(() => $$props.opacity);
|
|
14496
|
+
const visible = $.derived(() => $$props.visible ?? componentDefaults.visible);
|
|
14497
|
+
const id = $.derived(() => $$props.id);
|
|
14498
|
+
const maskSource = $.derived(() => $$props.maskSource);
|
|
14499
|
+
const maskType = $.derived(() => $$props.maskType);
|
|
14500
|
+
const renderOrder = $.derived(() => $$props.renderOrder);
|
|
14501
|
+
const { children } = props;
|
|
14502
|
+
const mapsFromProps = $.derived(() => {
|
|
14503
|
+
const maps = {};
|
|
14504
|
+
for (const key of Object.keys(componentDefinition$99.props)) {
|
|
14505
|
+
const val = props[key];
|
|
14506
|
+
if (isPropDriver(val)) maps[key] = val;
|
|
14507
|
+
}
|
|
14508
|
+
return Object.keys(maps).length > 0 ? maps : void 0;
|
|
14509
|
+
});
|
|
14510
|
+
const effectiveTransform = $.derived(() => ({
|
|
14511
|
+
...DEFAULT_TRANSFORM,
|
|
14512
|
+
...$$props.transform
|
|
14513
|
+
}));
|
|
14514
|
+
const parentId = getContext("shaderParentId");
|
|
14515
|
+
if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14516
|
+
const instanceId = ($.get(id) ? $.get(id).replace(/[^a-zA-Z0-9_]/g, "_") : null) || Math.random().toString(36).substring(2, 10);
|
|
14517
|
+
setContext("shaderParentId", instanceId);
|
|
14518
|
+
const shaderReadyProps = $.derived(() => {
|
|
14519
|
+
let baseProps = { ...componentDefaults };
|
|
14520
|
+
for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
|
|
14521
|
+
const propValue = props[key];
|
|
14522
|
+
if (isPropDriver(propValue)) continue;
|
|
14523
|
+
const defaultValue = componentDefaults[key];
|
|
14524
|
+
if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
|
|
14525
|
+
}
|
|
14526
|
+
return baseProps;
|
|
14527
|
+
});
|
|
14528
|
+
const shaderColorSpace = getContext("shaderColorSpace");
|
|
14529
|
+
if (shaderColorSpace) setColorSpaceMode(shaderColorSpace());
|
|
14530
|
+
const uniforms = createUniformsMap(componentDefinition$99, $.get(shaderReadyProps), instanceId);
|
|
14531
|
+
const parentRegister = getContext("shaderNodeRegister");
|
|
14532
|
+
if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14533
|
+
const parentUniformUpdate = getContext("shaderUniformUpdate");
|
|
14534
|
+
if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
|
|
14535
|
+
const parentMetadataUpdate = getContext("shaderMetadataUpdate");
|
|
14536
|
+
if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
|
|
14537
|
+
let orderMarker;
|
|
14538
|
+
let detectedRenderOrder = void 0;
|
|
14539
|
+
let isRegistered = $.state(false);
|
|
14540
|
+
Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
|
|
14541
|
+
$.user_effect(() => {
|
|
14542
|
+
if (!$.get(isRegistered)) return;
|
|
14543
|
+
if (uniform && uniform.value !== void 0) {
|
|
14544
|
+
const newValue = props[propName];
|
|
14545
|
+
if (newValue !== void 0 && !isPropDriver(newValue)) parentUniformUpdate(instanceId, propName, newValue);
|
|
14546
|
+
}
|
|
14547
|
+
});
|
|
14548
|
+
});
|
|
14549
|
+
$.user_effect(() => {
|
|
14550
|
+
if (!$.get(isRegistered)) return;
|
|
14551
|
+
parentMetadataUpdate(instanceId, {
|
|
14552
|
+
blendMode: $.get(blendMode),
|
|
14553
|
+
opacity: $.get(opacity),
|
|
14554
|
+
visible: $.get(visible) === false ? false : true,
|
|
14555
|
+
id: $.get(id),
|
|
14556
|
+
mask: $.get(maskSource) ? {
|
|
14557
|
+
source: $.get(maskSource),
|
|
14558
|
+
type: $.get(maskType) || "alpha"
|
|
14559
|
+
} : void 0,
|
|
14560
|
+
maps: $.get(mapsFromProps),
|
|
14561
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14562
|
+
transform: $.get(effectiveTransform)
|
|
14563
|
+
});
|
|
14564
|
+
});
|
|
14565
|
+
onMount(() => {
|
|
14566
|
+
if (componentDefinition$99 && typeof componentDefinition$99.fragmentNode === "function") {
|
|
14567
|
+
parentRegister(instanceId, componentDefinition$99.fragmentNode, parentId, {
|
|
14568
|
+
blendMode: $.get(blendMode),
|
|
14569
|
+
opacity: $.get(opacity),
|
|
14570
|
+
visible: $.get(visible) !== false ? true : false,
|
|
14571
|
+
id: $.get(id),
|
|
14572
|
+
mask: $.get(maskSource) ? {
|
|
14573
|
+
source: $.get(maskSource),
|
|
14574
|
+
type: $.get(maskType) || "alpha"
|
|
14575
|
+
} : void 0,
|
|
14576
|
+
maps: $.get(mapsFromProps),
|
|
14577
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14578
|
+
transform: $.get(effectiveTransform)
|
|
14579
|
+
}, uniforms, componentDefinition$99);
|
|
14580
|
+
$.set(isRegistered, true);
|
|
14581
|
+
if ($.get(renderOrder) === void 0 && orderMarker) {
|
|
14582
|
+
const parent = orderMarker.parentElement;
|
|
14583
|
+
if (parent) {
|
|
14584
|
+
const siblings = parent.querySelectorAll(":scope > [data-shader-id]");
|
|
14585
|
+
const position = Array.from(siblings).indexOf(orderMarker);
|
|
14586
|
+
if (position >= 0) {
|
|
14587
|
+
detectedRenderOrder = position;
|
|
14588
|
+
parentMetadataUpdate(instanceId, { renderOrder: position });
|
|
14589
|
+
}
|
|
14590
|
+
}
|
|
14591
|
+
}
|
|
14592
|
+
} else console.error("componentDefinition.fragmentNode is not a function:", {
|
|
14593
|
+
componentDefinition: componentDefinition$99,
|
|
14594
|
+
fragmentNode: componentDefinition$99?.fragmentNode,
|
|
14595
|
+
type: typeof componentDefinition$99?.fragmentNode
|
|
14596
|
+
});
|
|
14597
|
+
});
|
|
14598
|
+
onDestroy(() => {
|
|
14599
|
+
$.set(isRegistered, false);
|
|
14600
|
+
parentRegister(instanceId, null, null, null, null);
|
|
14601
|
+
});
|
|
14602
|
+
var span = root$3();
|
|
14603
|
+
var node = $.child(span);
|
|
14604
|
+
children?.(node);
|
|
14605
|
+
$.reset(span);
|
|
14606
|
+
$.bind_this(span, ($$value) => orderMarker = $$value, () => orderMarker);
|
|
14607
|
+
$.template_effect(() => $.set_attribute(span, "data-shader-id", instanceId));
|
|
14608
|
+
$.append($$anchor, span);
|
|
14609
|
+
$.pop();
|
|
14610
|
+
}
|
|
14611
|
+
var root$2 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
14612
|
+
function WebcamTexture($$anchor, $$props) {
|
|
14613
|
+
$.push($$props, true);
|
|
14614
|
+
function isPropDriver(value) {
|
|
14615
|
+
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
14616
|
+
}
|
|
14617
|
+
const DEFAULT_TRANSFORM = {
|
|
14618
|
+
offsetX: 0,
|
|
14619
|
+
offsetY: 0,
|
|
14620
|
+
rotation: 0,
|
|
14621
|
+
scale: 1,
|
|
14622
|
+
anchorX: .5,
|
|
14623
|
+
anchorY: .5,
|
|
14624
|
+
edges: "transparent"
|
|
14625
|
+
};
|
|
14626
|
+
const componentDefaults = {
|
|
14627
|
+
blendMode: "normal",
|
|
14628
|
+
visible: true,
|
|
14629
|
+
...Object.entries(componentDefinition$100.props).reduce((acc, [key, config]) => {
|
|
14630
|
+
acc[key] = config.default;
|
|
14631
|
+
return acc;
|
|
14632
|
+
}, {})
|
|
14633
|
+
};
|
|
14634
|
+
const props = $.rest_props($$props, [
|
|
14635
|
+
"$$slots",
|
|
14636
|
+
"$$events",
|
|
14637
|
+
"$$legacy"
|
|
14638
|
+
]);
|
|
14639
|
+
const blendMode = $.derived(() => $$props.blendMode ?? componentDefaults.blendMode);
|
|
14640
|
+
const opacity = $.derived(() => $$props.opacity);
|
|
14641
|
+
const visible = $.derived(() => $$props.visible ?? componentDefaults.visible);
|
|
14642
|
+
const id = $.derived(() => $$props.id);
|
|
14643
|
+
const maskSource = $.derived(() => $$props.maskSource);
|
|
14644
|
+
const maskType = $.derived(() => $$props.maskType);
|
|
14645
|
+
const renderOrder = $.derived(() => $$props.renderOrder);
|
|
14646
|
+
const { children } = props;
|
|
14647
|
+
const mapsFromProps = $.derived(() => {
|
|
14648
|
+
const maps = {};
|
|
14649
|
+
for (const key of Object.keys(componentDefinition$100.props)) {
|
|
14650
|
+
const val = props[key];
|
|
14651
|
+
if (isPropDriver(val)) maps[key] = val;
|
|
14652
|
+
}
|
|
14653
|
+
return Object.keys(maps).length > 0 ? maps : void 0;
|
|
14654
|
+
});
|
|
14655
|
+
const effectiveTransform = $.derived(() => ({
|
|
14656
|
+
...DEFAULT_TRANSFORM,
|
|
14657
|
+
...$$props.transform
|
|
14658
|
+
}));
|
|
14659
|
+
const parentId = getContext("shaderParentId");
|
|
14660
|
+
if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14661
|
+
const instanceId = ($.get(id) ? $.get(id).replace(/[^a-zA-Z0-9_]/g, "_") : null) || Math.random().toString(36).substring(2, 10);
|
|
14662
|
+
setContext("shaderParentId", instanceId);
|
|
14663
|
+
const shaderReadyProps = $.derived(() => {
|
|
14664
|
+
let baseProps = { ...componentDefaults };
|
|
14665
|
+
for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
|
|
14666
|
+
const propValue = props[key];
|
|
14667
|
+
if (isPropDriver(propValue)) continue;
|
|
14668
|
+
const defaultValue = componentDefaults[key];
|
|
14669
|
+
if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
|
|
14670
|
+
}
|
|
14671
|
+
return baseProps;
|
|
14672
|
+
});
|
|
14673
|
+
const shaderColorSpace = getContext("shaderColorSpace");
|
|
14674
|
+
if (shaderColorSpace) setColorSpaceMode(shaderColorSpace());
|
|
14675
|
+
const uniforms = createUniformsMap(componentDefinition$100, $.get(shaderReadyProps), instanceId);
|
|
14676
|
+
const parentRegister = getContext("shaderNodeRegister");
|
|
14677
|
+
if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14678
|
+
const parentUniformUpdate = getContext("shaderUniformUpdate");
|
|
14679
|
+
if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
|
|
14680
|
+
const parentMetadataUpdate = getContext("shaderMetadataUpdate");
|
|
14681
|
+
if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
|
|
14682
|
+
let orderMarker;
|
|
14683
|
+
let detectedRenderOrder = void 0;
|
|
14684
|
+
let isRegistered = $.state(false);
|
|
14685
|
+
Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
|
|
14686
|
+
$.user_effect(() => {
|
|
14687
|
+
if (!$.get(isRegistered)) return;
|
|
14688
|
+
if (uniform && uniform.value !== void 0) {
|
|
14689
|
+
const newValue = props[propName];
|
|
14690
|
+
if (newValue !== void 0 && !isPropDriver(newValue)) parentUniformUpdate(instanceId, propName, newValue);
|
|
14691
|
+
}
|
|
14692
|
+
});
|
|
14693
|
+
});
|
|
14694
|
+
$.user_effect(() => {
|
|
14695
|
+
if (!$.get(isRegistered)) return;
|
|
14696
|
+
parentMetadataUpdate(instanceId, {
|
|
14697
|
+
blendMode: $.get(blendMode),
|
|
14698
|
+
opacity: $.get(opacity),
|
|
14699
|
+
visible: $.get(visible) === false ? false : true,
|
|
14700
|
+
id: $.get(id),
|
|
14701
|
+
mask: $.get(maskSource) ? {
|
|
14702
|
+
source: $.get(maskSource),
|
|
14703
|
+
type: $.get(maskType) || "alpha"
|
|
14704
|
+
} : void 0,
|
|
14705
|
+
maps: $.get(mapsFromProps),
|
|
14706
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14707
|
+
transform: $.get(effectiveTransform)
|
|
14708
|
+
});
|
|
14709
|
+
});
|
|
14710
|
+
onMount(() => {
|
|
14711
|
+
if (componentDefinition$100 && typeof componentDefinition$100.fragmentNode === "function") {
|
|
14712
|
+
parentRegister(instanceId, componentDefinition$100.fragmentNode, parentId, {
|
|
14713
|
+
blendMode: $.get(blendMode),
|
|
14714
|
+
opacity: $.get(opacity),
|
|
14715
|
+
visible: $.get(visible) !== false ? true : false,
|
|
14716
|
+
id: $.get(id),
|
|
14717
|
+
mask: $.get(maskSource) ? {
|
|
14718
|
+
source: $.get(maskSource),
|
|
14719
|
+
type: $.get(maskType) || "alpha"
|
|
14720
|
+
} : void 0,
|
|
14721
|
+
maps: $.get(mapsFromProps),
|
|
14722
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14723
|
+
transform: $.get(effectiveTransform)
|
|
14724
|
+
}, uniforms, componentDefinition$100);
|
|
14725
|
+
$.set(isRegistered, true);
|
|
14726
|
+
if ($.get(renderOrder) === void 0 && orderMarker) {
|
|
14727
|
+
const parent = orderMarker.parentElement;
|
|
14728
|
+
if (parent) {
|
|
14729
|
+
const siblings = parent.querySelectorAll(":scope > [data-shader-id]");
|
|
14730
|
+
const position = Array.from(siblings).indexOf(orderMarker);
|
|
14731
|
+
if (position >= 0) {
|
|
14732
|
+
detectedRenderOrder = position;
|
|
14733
|
+
parentMetadataUpdate(instanceId, { renderOrder: position });
|
|
14734
|
+
}
|
|
14735
|
+
}
|
|
14736
|
+
}
|
|
14737
|
+
} else console.error("componentDefinition.fragmentNode is not a function:", {
|
|
14738
|
+
componentDefinition: componentDefinition$100,
|
|
14739
|
+
fragmentNode: componentDefinition$100?.fragmentNode,
|
|
14740
|
+
type: typeof componentDefinition$100?.fragmentNode
|
|
14741
|
+
});
|
|
14742
|
+
});
|
|
14743
|
+
onDestroy(() => {
|
|
14744
|
+
$.set(isRegistered, false);
|
|
14745
|
+
parentRegister(instanceId, null, null, null, null);
|
|
14746
|
+
});
|
|
14747
|
+
var span = root$2();
|
|
14748
|
+
var node = $.child(span);
|
|
14749
|
+
children?.(node);
|
|
14750
|
+
$.reset(span);
|
|
14751
|
+
$.bind_this(span, ($$value) => orderMarker = $$value, () => orderMarker);
|
|
14752
|
+
$.template_effect(() => $.set_attribute(span, "data-shader-id", instanceId));
|
|
14753
|
+
$.append($$anchor, span);
|
|
14754
|
+
$.pop();
|
|
14755
|
+
}
|
|
14756
|
+
var root$1 = $.from_html(`<span style="display:contents"><!></span>`);
|
|
14757
|
+
function ZoomBlur($$anchor, $$props) {
|
|
14758
|
+
$.push($$props, true);
|
|
14759
|
+
function isPropDriver(value) {
|
|
14760
|
+
return typeof value === "object" && value !== null && "type" in value && (value.type === "map" || value.type === "mouse" || value.type === "mouse-position" || value.type === "auto-animate");
|
|
14761
|
+
}
|
|
14762
|
+
const DEFAULT_TRANSFORM = {
|
|
14763
|
+
offsetX: 0,
|
|
14764
|
+
offsetY: 0,
|
|
14765
|
+
rotation: 0,
|
|
14766
|
+
scale: 1,
|
|
14767
|
+
anchorX: .5,
|
|
14768
|
+
anchorY: .5,
|
|
14769
|
+
edges: "transparent"
|
|
14770
|
+
};
|
|
14771
|
+
const componentDefaults = {
|
|
14772
|
+
blendMode: "normal",
|
|
14773
|
+
visible: true,
|
|
14774
|
+
...Object.entries(componentDefinition$101.props).reduce((acc, [key, config]) => {
|
|
14775
|
+
acc[key] = config.default;
|
|
14776
|
+
return acc;
|
|
14777
|
+
}, {})
|
|
14778
|
+
};
|
|
14779
|
+
const props = $.rest_props($$props, [
|
|
14780
|
+
"$$slots",
|
|
14781
|
+
"$$events",
|
|
14782
|
+
"$$legacy"
|
|
14783
|
+
]);
|
|
14784
|
+
const blendMode = $.derived(() => $$props.blendMode ?? componentDefaults.blendMode);
|
|
14785
|
+
const opacity = $.derived(() => $$props.opacity);
|
|
14786
|
+
const visible = $.derived(() => $$props.visible ?? componentDefaults.visible);
|
|
14787
|
+
const id = $.derived(() => $$props.id);
|
|
14788
|
+
const maskSource = $.derived(() => $$props.maskSource);
|
|
14789
|
+
const maskType = $.derived(() => $$props.maskType);
|
|
14790
|
+
const renderOrder = $.derived(() => $$props.renderOrder);
|
|
14791
|
+
const { children } = props;
|
|
14792
|
+
const mapsFromProps = $.derived(() => {
|
|
14793
|
+
const maps = {};
|
|
14794
|
+
for (const key of Object.keys(componentDefinition$101.props)) {
|
|
14795
|
+
const val = props[key];
|
|
14796
|
+
if (isPropDriver(val)) maps[key] = val;
|
|
14797
|
+
}
|
|
14798
|
+
return Object.keys(maps).length > 0 ? maps : void 0;
|
|
14799
|
+
});
|
|
14800
|
+
const effectiveTransform = $.derived(() => ({
|
|
14801
|
+
...DEFAULT_TRANSFORM,
|
|
14802
|
+
...$$props.transform
|
|
14803
|
+
}));
|
|
14804
|
+
const parentId = getContext("shaderParentId");
|
|
14805
|
+
if (parentId === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14806
|
+
const instanceId = ($.get(id) ? $.get(id).replace(/[^a-zA-Z0-9_]/g, "_") : null) || Math.random().toString(36).substring(2, 10);
|
|
14807
|
+
setContext("shaderParentId", instanceId);
|
|
14808
|
+
const shaderReadyProps = $.derived(() => {
|
|
14809
|
+
let baseProps = { ...componentDefaults };
|
|
14810
|
+
for (const key in props) if (key !== "blendMode" && key !== "opacity" && key !== "visible" && key !== "id" && key !== "maskSource" && key !== "maskType" && key !== "renderOrder" && key !== "transform" && key !== "children") {
|
|
14811
|
+
const propValue = props[key];
|
|
14812
|
+
if (isPropDriver(propValue)) continue;
|
|
14813
|
+
const defaultValue = componentDefaults[key];
|
|
14814
|
+
if (propValue !== void 0 && propValue !== defaultValue) baseProps[key] = propValue;
|
|
14815
|
+
}
|
|
14816
|
+
return baseProps;
|
|
14817
|
+
});
|
|
14818
|
+
const shaderColorSpace = getContext("shaderColorSpace");
|
|
14819
|
+
if (shaderColorSpace) setColorSpaceMode(shaderColorSpace());
|
|
14820
|
+
const uniforms = createUniformsMap(componentDefinition$101, $.get(shaderReadyProps), instanceId);
|
|
14821
|
+
const parentRegister = getContext("shaderNodeRegister");
|
|
14822
|
+
if (parentRegister === void 0) throw new Error("Shader components must be used inside an <Shader> component or another shader component");
|
|
14823
|
+
const parentUniformUpdate = getContext("shaderUniformUpdate");
|
|
14824
|
+
if (parentUniformUpdate === void 0) throw new Error("Shader components require shaderUniformUpdate from parent");
|
|
14825
|
+
const parentMetadataUpdate = getContext("shaderMetadataUpdate");
|
|
14826
|
+
if (parentMetadataUpdate === void 0) throw new Error("Shader components require shaderMetadataUpdate from parent");
|
|
14827
|
+
let orderMarker;
|
|
14828
|
+
let detectedRenderOrder = void 0;
|
|
14829
|
+
let isRegistered = $.state(false);
|
|
14830
|
+
Object.entries(uniforms).forEach(([propName, { uniform, transform }]) => {
|
|
14831
|
+
$.user_effect(() => {
|
|
14832
|
+
if (!$.get(isRegistered)) return;
|
|
14833
|
+
if (uniform && uniform.value !== void 0) {
|
|
14834
|
+
const newValue = props[propName];
|
|
14835
|
+
if (newValue !== void 0 && !isPropDriver(newValue)) parentUniformUpdate(instanceId, propName, newValue);
|
|
14836
|
+
}
|
|
14837
|
+
});
|
|
14838
|
+
});
|
|
14839
|
+
$.user_effect(() => {
|
|
14840
|
+
if (!$.get(isRegistered)) return;
|
|
14841
|
+
parentMetadataUpdate(instanceId, {
|
|
14842
|
+
blendMode: $.get(blendMode),
|
|
14843
|
+
opacity: $.get(opacity),
|
|
14844
|
+
visible: $.get(visible) === false ? false : true,
|
|
14845
|
+
id: $.get(id),
|
|
14846
|
+
mask: $.get(maskSource) ? {
|
|
14847
|
+
source: $.get(maskSource),
|
|
14848
|
+
type: $.get(maskType) || "alpha"
|
|
14849
|
+
} : void 0,
|
|
14850
|
+
maps: $.get(mapsFromProps),
|
|
14851
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14852
|
+
transform: $.get(effectiveTransform)
|
|
14853
|
+
});
|
|
14854
|
+
});
|
|
14855
|
+
onMount(() => {
|
|
14856
|
+
if (componentDefinition$101 && typeof componentDefinition$101.fragmentNode === "function") {
|
|
14857
|
+
parentRegister(instanceId, componentDefinition$101.fragmentNode, parentId, {
|
|
14858
|
+
blendMode: $.get(blendMode),
|
|
14859
|
+
opacity: $.get(opacity),
|
|
14860
|
+
visible: $.get(visible) !== false ? true : false,
|
|
14861
|
+
id: $.get(id),
|
|
14862
|
+
mask: $.get(maskSource) ? {
|
|
14863
|
+
source: $.get(maskSource),
|
|
14864
|
+
type: $.get(maskType) || "alpha"
|
|
14865
|
+
} : void 0,
|
|
14866
|
+
maps: $.get(mapsFromProps),
|
|
14867
|
+
renderOrder: $.get(renderOrder) ?? detectedRenderOrder,
|
|
14868
|
+
transform: $.get(effectiveTransform)
|
|
14869
|
+
}, uniforms, componentDefinition$101);
|
|
14870
|
+
$.set(isRegistered, true);
|
|
14871
|
+
if ($.get(renderOrder) === void 0 && orderMarker) {
|
|
14872
|
+
const parent = orderMarker.parentElement;
|
|
14873
|
+
if (parent) {
|
|
14874
|
+
const siblings = parent.querySelectorAll(":scope > [data-shader-id]");
|
|
14875
|
+
const position = Array.from(siblings).indexOf(orderMarker);
|
|
14876
|
+
if (position >= 0) {
|
|
14877
|
+
detectedRenderOrder = position;
|
|
14878
|
+
parentMetadataUpdate(instanceId, { renderOrder: position });
|
|
14879
|
+
}
|
|
14880
|
+
}
|
|
14881
|
+
}
|
|
14882
|
+
} else console.error("componentDefinition.fragmentNode is not a function:", {
|
|
14883
|
+
componentDefinition: componentDefinition$101,
|
|
14884
|
+
fragmentNode: componentDefinition$101?.fragmentNode,
|
|
14885
|
+
type: typeof componentDefinition$101?.fragmentNode
|
|
14886
|
+
});
|
|
14887
|
+
});
|
|
14888
|
+
onDestroy(() => {
|
|
14889
|
+
$.set(isRegistered, false);
|
|
14890
|
+
parentRegister(instanceId, null, null, null, null);
|
|
14891
|
+
});
|
|
13432
14892
|
var span = root$1();
|
|
13433
14893
|
var node = $.child(span);
|
|
13434
14894
|
children?.(node);
|
|
@@ -13481,7 +14941,7 @@ function Shader($$anchor, $$props) {
|
|
|
13481
14941
|
const checkRendering = () => {
|
|
13482
14942
|
if (!rendererInstance) return;
|
|
13483
14943
|
if (rendererInstance.getPerformanceStats().fps > 0) {
|
|
13484
|
-
telemetryCollector = startTelemetry(rendererInstance, "2.5.
|
|
14944
|
+
telemetryCollector = startTelemetry(rendererInstance, "2.5.89", disableTelemetry(), isPreview());
|
|
13485
14945
|
if (telemetryCollector) telemetryCollector.start();
|
|
13486
14946
|
telemetryStartTimeout = null;
|
|
13487
14947
|
} else telemetryStartTimeout = window.setTimeout(checkRendering, 500);
|
|
@@ -13678,15 +15138,18 @@ function Preview($$anchor, $$props) {
|
|
|
13678
15138
|
ChromaticAberration,
|
|
13679
15139
|
Circle,
|
|
13680
15140
|
ConcentricSpin,
|
|
15141
|
+
ConicGradient,
|
|
13681
15142
|
ContourLines,
|
|
13682
15143
|
Crescent,
|
|
13683
15144
|
Cross,
|
|
13684
15145
|
Crystal,
|
|
13685
15146
|
CursorRipples,
|
|
13686
15147
|
CursorTrail,
|
|
15148
|
+
DiamondGradient,
|
|
13687
15149
|
DiffuseBlur,
|
|
13688
15150
|
Dither,
|
|
13689
15151
|
DotGrid,
|
|
15152
|
+
DropShadow,
|
|
13690
15153
|
Duotone,
|
|
13691
15154
|
Ellipse,
|
|
13692
15155
|
Emboss,
|
|
@@ -13707,6 +15170,7 @@ function Preview($$anchor, $$props) {
|
|
|
13707
15170
|
GridDistortion,
|
|
13708
15171
|
Group,
|
|
13709
15172
|
Halftone,
|
|
15173
|
+
HexGrid,
|
|
13710
15174
|
HueShift,
|
|
13711
15175
|
ImageTexture,
|
|
13712
15176
|
Invert,
|
|
@@ -13716,6 +15180,7 @@ function Preview($$anchor, $$props) {
|
|
|
13716
15180
|
LinearGradient,
|
|
13717
15181
|
Liquify,
|
|
13718
15182
|
Mirror,
|
|
15183
|
+
MultiPointGradient,
|
|
13719
15184
|
Neon,
|
|
13720
15185
|
Paper,
|
|
13721
15186
|
Perspective,
|
|
@@ -13735,6 +15200,7 @@ function Preview($$anchor, $$props) {
|
|
|
13735
15200
|
Shatter,
|
|
13736
15201
|
SimplexNoise,
|
|
13737
15202
|
SineWave,
|
|
15203
|
+
Solarize,
|
|
13738
15204
|
SolidColor,
|
|
13739
15205
|
Spherize,
|
|
13740
15206
|
Spiral,
|
|
@@ -13748,11 +15214,15 @@ function Preview($$anchor, $$props) {
|
|
|
13748
15214
|
Tint,
|
|
13749
15215
|
Trapezoid,
|
|
13750
15216
|
Tritone,
|
|
15217
|
+
Truchet,
|
|
13751
15218
|
Twirl,
|
|
13752
15219
|
Vesica,
|
|
13753
15220
|
Vibrance,
|
|
13754
15221
|
VideoTexture,
|
|
15222
|
+
Vignette,
|
|
15223
|
+
Voronoi,
|
|
13755
15224
|
WaveDistortion,
|
|
15225
|
+
Weave,
|
|
13756
15226
|
WebcamTexture,
|
|
13757
15227
|
ZoomBlur
|
|
13758
15228
|
};
|
|
@@ -13905,4 +15375,4 @@ function Preview($$anchor, $$props) {
|
|
|
13905
15375
|
$.append($$anchor, fragment);
|
|
13906
15376
|
$.pop();
|
|
13907
15377
|
}
|
|
13908
|
-
export { AngularBlur, Ascii, Aurora, Beam, Blob, Blur, BrightnessContrast, Bulge, CRTScreen, ChannelBlur, Checkerboard, ChromaFlow, ChromaticAberration, Circle, ConcentricSpin, ContourLines, Crescent, Cross, Crystal, CursorRipples, CursorTrail, DiffuseBlur, Dither, DotGrid, Duotone, Ellipse, Emboss, FallingLines, FilmGrain, FloatingParticles, FlowField, Flower, FlowingGradient, Form3D, Glass, GlassTiles, Glitch, Glow, Godrays, Grayscale, Grid, GridDistortion, Group, Halftone, HueShift, ImageTexture, Invert, Kaleidoscope, LensFlare, LinearBlur, LinearGradient, Liquify, Mirror, Neon, Paper, Perspective, Pixelate, Plasma, PolarCoordinates, Polygon, Posterize, Preview, ProgressiveBlur, RadialGradient, RectangularCoordinates, Ring, Ripples, RoundedRect, Saturation, Shader, Sharpness, Shatter, SimplexNoise, SineWave, SolidColor, Spherize, Spiral, Star, Strands, Stretch, Stripes, StudioBackground, Swirl, TiltShift, Tint, Trapezoid, Tritone, Twirl, Vesica, Vibrance, VideoTexture, WaveDistortion, WebcamTexture, ZoomBlur, generatePresetCode };
|
|
15378
|
+
export { AngularBlur, Ascii, Aurora, Beam, Blob, Blur, BrightnessContrast, Bulge, CRTScreen, ChannelBlur, Checkerboard, ChromaFlow, ChromaticAberration, Circle, ConcentricSpin, ConicGradient, ContourLines, Crescent, Cross, Crystal, CursorRipples, CursorTrail, DiamondGradient, DiffuseBlur, Dither, DotGrid, DropShadow, Duotone, Ellipse, Emboss, FallingLines, FilmGrain, FloatingParticles, FlowField, Flower, FlowingGradient, Form3D, Glass, GlassTiles, Glitch, Glow, Godrays, Grayscale, Grid, GridDistortion, Group, Halftone, HexGrid, HueShift, ImageTexture, Invert, Kaleidoscope, LensFlare, LinearBlur, LinearGradient, Liquify, Mirror, MultiPointGradient, Neon, Paper, Perspective, Pixelate, Plasma, PolarCoordinates, Polygon, Posterize, Preview, ProgressiveBlur, RadialGradient, RectangularCoordinates, Ring, Ripples, RoundedRect, Saturation, Shader, Sharpness, Shatter, SimplexNoise, SineWave, Solarize, SolidColor, Spherize, Spiral, Star, Strands, Stretch, Stripes, StudioBackground, Swirl, TiltShift, Tint, Trapezoid, Tritone, Truchet, Twirl, Vesica, Vibrance, VideoTexture, Vignette, Voronoi, WaveDistortion, Weave, WebcamTexture, ZoomBlur, generatePresetCode };
|