motionary 9.7.0 → 9.8.0
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/CHANGELOG.md +16 -0
- package/dist/chunks/{audio-cgWbDkoY.cjs → audio-BpU-A1m1.cjs} +3 -3
- package/dist/chunks/{audio-cgWbDkoY.cjs.map → audio-BpU-A1m1.cjs.map} +1 -1
- package/dist/chunks/{audio-CynhhWDi.js → audio-D95jwlOh.js} +3 -3
- package/dist/chunks/{audio-CynhhWDi.js.map → audio-D95jwlOh.js.map} +1 -1
- package/dist/chunks/{base-CLuqlLfG.js → base-BnRyfuyM.js} +2 -2
- package/dist/chunks/base-BnRyfuyM.js.map +1 -0
- package/dist/chunks/{base-DoRUZBy-.cjs → base-DBheNxJu.cjs} +2 -2
- package/dist/chunks/base-DBheNxJu.cjs.map +1 -0
- package/dist/chunks/{builtins-ClXshqj-.cjs → builtins-CKKZNR95.cjs} +3 -3
- package/dist/chunks/{builtins-ClXshqj-.cjs.map → builtins-CKKZNR95.cjs.map} +1 -1
- package/dist/chunks/{builtins-Bs4smevg.js → builtins-CqIq1zBv.js} +3 -3
- package/dist/chunks/{builtins-Bs4smevg.js.map → builtins-CqIq1zBv.js.map} +1 -1
- package/dist/chunks/{core-O4grKHSa.cjs → core-D74Fz-dL.cjs} +2 -2
- package/dist/chunks/{core-O4grKHSa.cjs.map → core-D74Fz-dL.cjs.map} +1 -1
- package/dist/chunks/{core-CiN5sqxB.js → core-DsGoL9EY.js} +2 -2
- package/dist/chunks/{core-CiN5sqxB.js.map → core-DsGoL9EY.js.map} +1 -1
- package/dist/chunks/{core-CwO835Wm.cjs → core-MQlXZKUG.cjs} +2 -2
- package/dist/chunks/{core-CwO835Wm.cjs.map → core-MQlXZKUG.cjs.map} +1 -1
- package/dist/chunks/{core-C3Taz-ew.js → core-XA2yhn1b.js} +2 -2
- package/dist/chunks/{core-C3Taz-ew.js.map → core-XA2yhn1b.js.map} +1 -1
- package/dist/chunks/{fx-C-XjLOTc.cjs → fx-B_pbhpDp.cjs} +2 -2
- package/dist/chunks/{fx-C-XjLOTc.cjs.map → fx-B_pbhpDp.cjs.map} +1 -1
- package/dist/chunks/{fx-CQv3IxMf.js → fx-CtnrFEg9.js} +2 -2
- package/dist/chunks/{fx-CQv3IxMf.js.map → fx-CtnrFEg9.js.map} +1 -1
- package/dist/chunks/{gpu-CB8frFOD.js → gpu-CDcXiNA8.js} +2 -2
- package/dist/chunks/{gpu-CB8frFOD.js.map → gpu-CDcXiNA8.js.map} +1 -1
- package/dist/chunks/{gpu-CcdA2D2i.cjs → gpu-cUixt7kT.cjs} +2 -2
- package/dist/chunks/{gpu-CcdA2D2i.cjs.map → gpu-cUixt7kT.cjs.map} +1 -1
- package/dist/chunks/{manifest-PJ0h8RS_.js → manifest-D58HXVY-.js} +2 -2
- package/dist/chunks/{manifest-PJ0h8RS_.js.map → manifest-D58HXVY-.js.map} +1 -1
- package/dist/chunks/{manifest-B08-vo9G.cjs → manifest-PaF9B8Vt.cjs} +2 -2
- package/dist/chunks/{manifest-B08-vo9G.cjs.map → manifest-PaF9B8Vt.cjs.map} +1 -1
- package/dist/chunks/{player-YzQGkKaW.js → player-48Zy_NBG.js} +4 -4
- package/dist/chunks/{player-YzQGkKaW.js.map → player-48Zy_NBG.js.map} +1 -1
- package/dist/chunks/{player-C2n17sdH.cjs → player-C4y4jXSv.cjs} +4 -4
- package/dist/chunks/{player-C2n17sdH.cjs.map → player-C4y4jXSv.cjs.map} +1 -1
- package/dist/chunks/{registry-CnO7ZVPK.js → registry-gFJRpPES.js} +2 -2
- package/dist/chunks/{registry-CnO7ZVPK.js.map → registry-gFJRpPES.js.map} +1 -1
- package/dist/chunks/{registry-BVklOepd.cjs → registry-xQZnSqqV.cjs} +2 -2
- package/dist/chunks/{registry-BVklOepd.cjs.map → registry-xQZnSqqV.cjs.map} +1 -1
- package/dist/chunks/{spring-uQMVJTj9.cjs → spring-BlTQD2AV.cjs} +2 -2
- package/dist/chunks/{spring-uQMVJTj9.cjs.map → spring-BlTQD2AV.cjs.map} +1 -1
- package/dist/chunks/{spring-BFKNHmfl.js → spring-CZDNyqWp.js} +2 -2
- package/dist/chunks/{spring-BFKNHmfl.js.map → spring-CZDNyqWp.js.map} +1 -1
- package/dist/chunks/{variants-DagykrKH.cjs → variants-CrDDJoYK.cjs} +2 -2
- package/dist/chunks/{variants-DagykrKH.cjs.map → variants-CrDDJoYK.cjs.map} +1 -1
- package/dist/chunks/{variants-B-zKORvt.js → variants-GU3yIL4F.js} +2 -2
- package/dist/chunks/{variants-B-zKORvt.js.map → variants-GU3yIL4F.js.map} +1 -1
- package/dist/components/a11y.cjs +1 -1
- package/dist/components/a11y.js +2 -2
- package/dist/components/angular.cjs +8 -8
- package/dist/components/angular.js +8 -8
- package/dist/components/background.cjs +2 -2
- package/dist/components/background.js +2 -2
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +1 -1
- package/dist/components/cards.cjs +2 -2
- package/dist/components/cards.js +2 -2
- package/dist/components/click.cjs +3 -3
- package/dist/components/click.js +3 -3
- package/dist/components/depth.cjs +3 -3
- package/dist/components/depth.js +3 -3
- package/dist/components/design.cjs +3 -3
- package/dist/components/design.js +3 -3
- package/dist/components/dsl.cjs +2 -2
- package/dist/components/dsl.js +2 -2
- package/dist/components/effects.cjs +7 -7
- package/dist/components/effects.js +9 -9
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +2 -2
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.js +1 -1
- package/dist/components/fx-3d.cjs +2 -2
- package/dist/components/fx-3d.js +2 -2
- package/dist/components/fx-ai.cjs +2 -2
- package/dist/components/fx-ai.js +2 -2
- package/dist/components/fx-chart.cjs +2 -2
- package/dist/components/fx-chart.js +2 -2
- package/dist/components/fx-cinema.cjs +2 -2
- package/dist/components/fx-cinema.js +2 -2
- package/dist/components/fx-cyber.cjs +2 -2
- package/dist/components/fx-cyber.js +2 -2
- package/dist/components/fx-festival.cjs +2 -2
- package/dist/components/fx-festival.js +2 -2
- package/dist/components/fx-focus.cjs +2 -2
- package/dist/components/fx-focus.js +2 -2
- package/dist/components/fx-form.cjs +2 -2
- package/dist/components/fx-form.js +2 -2
- package/dist/components/fx-game.cjs +2 -2
- package/dist/components/fx-game.js +2 -2
- package/dist/components/fx-genart.cjs +2 -2
- package/dist/components/fx-genart.js +2 -2
- package/dist/components/fx-geo.cjs +2 -2
- package/dist/components/fx-geo.js +2 -2
- package/dist/components/fx-gesture.cjs +2 -2
- package/dist/components/fx-gesture.js +2 -2
- package/dist/components/fx-gpu.cjs +3 -3
- package/dist/components/fx-gpu.js +3 -3
- package/dist/components/fx-light.cjs +2 -2
- package/dist/components/fx-light.js +2 -2
- package/dist/components/fx-lottie.cjs +2 -2
- package/dist/components/fx-lottie.js +2 -2
- package/dist/components/fx-morph.cjs +2 -2
- package/dist/components/fx-morph.js +2 -2
- package/dist/components/fx-music.cjs +3 -3
- package/dist/components/fx-music.js +3 -3
- package/dist/components/fx-organic.cjs +2 -2
- package/dist/components/fx-organic.js +2 -2
- package/dist/components/fx-paper.cjs +2 -2
- package/dist/components/fx-paper.js +2 -2
- package/dist/components/fx-perf.cjs +2 -2
- package/dist/components/fx-perf.js +2 -2
- package/dist/components/fx-physics.cjs +2 -2
- package/dist/components/fx-physics.js +2 -2
- package/dist/components/fx-retro.cjs +2 -2
- package/dist/components/fx-retro.js +2 -2
- package/dist/components/fx-safe.cjs +2 -2
- package/dist/components/fx-safe.js +2 -2
- package/dist/components/fx-shop.cjs +2 -2
- package/dist/components/fx-shop.js +2 -2
- package/dist/components/fx-social.cjs +2 -2
- package/dist/components/fx-social.js +2 -2
- package/dist/components/fx-spatial.cjs +2 -2
- package/dist/components/fx-spatial.js +2 -2
- package/dist/components/fx-surface.cjs +2 -2
- package/dist/components/fx-surface.js +2 -2
- package/dist/components/fx-text.cjs +2 -2
- package/dist/components/fx-text.js +2 -2
- package/dist/components/fx-transitions.cjs +3 -3
- package/dist/components/fx-transitions.js +3 -3
- package/dist/components/fx-video.cjs +2 -2
- package/dist/components/fx-video.js +2 -2
- package/dist/components/fx-weather.cjs +2 -2
- package/dist/components/fx-weather.js +2 -2
- package/dist/components/fx.cjs +5 -5
- package/dist/components/fx.js +6 -6
- package/dist/components/fx2.cjs +5 -5
- package/dist/components/fx2.js +6 -6
- package/dist/components/gesture.cjs +3 -3
- package/dist/components/gesture.js +4 -4
- package/dist/components/interaction.cjs +1 -1
- package/dist/components/interaction.js +1 -1
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/lite.cjs +1 -1
- package/dist/components/lite.cjs.map +1 -1
- package/dist/components/lite.js +1 -1
- package/dist/components/lite.js.map +1 -1
- package/dist/components/marketplace.cjs +3 -3
- package/dist/components/marketplace.js +4 -4
- package/dist/components/native.cjs +148 -0
- package/dist/components/native.cjs.map +1 -0
- package/dist/components/native.d.cts +94 -0
- package/dist/components/native.d.ts +94 -0
- package/dist/components/native.js +142 -0
- package/dist/components/native.js.map +1 -0
- package/dist/components/packs.cjs +1 -1
- package/dist/components/packs.js +1 -1
- package/dist/components/page.cjs +2 -2
- package/dist/components/page.js +3 -3
- package/dist/components/perf.cjs +1 -1
- package/dist/components/perf.js +2 -2
- package/dist/components/physics.cjs +2 -2
- package/dist/components/physics.js +3 -3
- package/dist/components/reveal.cjs +1 -1
- package/dist/components/reveal.js +1 -1
- package/dist/components/solid.cjs +8 -8
- package/dist/components/solid.js +8 -8
- package/dist/components/svelte.cjs +8 -8
- package/dist/components/svelte.js +8 -8
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +1 -1
- package/dist/components/text.cjs +2 -2
- package/dist/components/text.js +2 -2
- package/dist/components/timeline.cjs +2 -2
- package/dist/components/timeline.js +3 -3
- package/dist/components/transitions.cjs +1 -1
- package/dist/components/transitions.js +1 -1
- package/dist/components/ui.cjs +3 -3
- package/dist/components/ui.js +4 -4
- package/dist/components/vue.cjs +8 -8
- package/dist/components/vue.js +8 -8
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +1 -1
- package/dist/components/widgets.cjs +270 -199
- package/dist/components/widgets.cjs.map +1 -1
- package/dist/components/widgets.d.cts +17 -2
- package/dist/components/widgets.d.ts +17 -2
- package/dist/components/widgets.js +270 -200
- package/dist/components/widgets.js.map +1 -1
- package/dist/components.cjs +8 -8
- package/dist/components.js +10 -10
- package/dist/components.umd.js +1 -1
- package/dist/components.umd.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/widgets.umd.js +1 -1
- package/dist/widgets.umd.js.map +1 -1
- package/docs/ROADMAP.md +1 -1
- package/docs/components.md +15 -0
- package/package.json +21 -1
- package/dist/chunks/base-CLuqlLfG.js.map +0 -1
- package/dist/chunks/base-DoRUZBy-.cjs.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var components_dsl = require('./dsl.cjs');
|
|
4
|
-
var core = require('../chunks/core-
|
|
5
|
-
require('../chunks/registry-
|
|
6
|
-
require('../chunks/base-
|
|
4
|
+
var core = require('../chunks/core-MQlXZKUG.cjs');
|
|
5
|
+
require('../chunks/registry-xQZnSqqV.cjs');
|
|
6
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
7
7
|
require('./tokens.cjs');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { serializeMotion, parseMotion } from './dsl.js';
|
|
2
|
-
import { T as TIMELINE_PRESETS } from '../chunks/core-
|
|
3
|
-
import '../chunks/registry-
|
|
4
|
-
import '../chunks/base-
|
|
2
|
+
import { T as TIMELINE_PRESETS } from '../chunks/core-DsGoL9EY.js';
|
|
3
|
+
import '../chunks/registry-gFJRpPES.js';
|
|
4
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
5
5
|
import './tokens.js';
|
|
6
6
|
|
|
7
7
|
/**
|
package/dist/components/dsl.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* `motionary/dsl` (= `motionary/components/dsl`, 9.0) — the declarative
|
package/dist/components/dsl.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { hasEffect, bindEffect, EFFECT_TRIGGERS } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { hasEffect, bindEffect, EFFECT_TRIGGERS } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* `motionary/dsl` (= `motionary/components/dsl`, 9.0) — the declarative
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
var components_fx = require('./fx.cjs');
|
|
4
4
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
|
-
var player = require('../chunks/player-
|
|
5
|
+
var player = require('../chunks/player-C4y4jXSv.cjs');
|
|
6
6
|
var generative = require('../chunks/generative-BHIj-NU0.cjs');
|
|
7
|
-
var audio = require('../chunks/audio-
|
|
8
|
-
var registry = require('../chunks/registry-
|
|
9
|
-
var base = require('../chunks/base-
|
|
7
|
+
var audio = require('../chunks/audio-BpU-A1m1.cjs');
|
|
8
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
9
|
+
var base = require('../chunks/base-DBheNxJu.cjs');
|
|
10
10
|
var components_tokens = require('./tokens.cjs');
|
|
11
|
-
require('../chunks/builtins-
|
|
12
|
-
require('../chunks/core-
|
|
13
|
-
require('../chunks/fx-
|
|
11
|
+
require('../chunks/builtins-CKKZNR95.cjs');
|
|
12
|
+
require('../chunks/core-MQlXZKUG.cjs');
|
|
13
|
+
require('../chunks/fx-B_pbhpDp.cjs');
|
|
14
14
|
|
|
15
15
|
const CARD_FX = [
|
|
16
16
|
{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { registerBuiltinEffects } from './fx.js';
|
|
2
2
|
import { P as PALETTE, o as overlay, a as all, b as origin, s as spawn, r as rand, f as fxLayer } from '../chunks/shared-CkKHWrtJ.js';
|
|
3
|
-
import { d as defineStory, a as definePlayer } from '../chunks/player-
|
|
4
|
-
export { A as ANIMATION_FORMAT, S as STORY_TEMPLATES, c as createPlayer, f as formatCount, n as normalizeAnimation, s as storyProgress } from '../chunks/player-
|
|
3
|
+
import { d as defineStory, a as definePlayer } from '../chunks/player-48Zy_NBG.js';
|
|
4
|
+
export { A as ANIMATION_FORMAT, S as STORY_TEMPLATES, c as createPlayer, f as formatCount, n as normalizeAnimation, s as storyProgress } from '../chunks/player-48Zy_NBG.js';
|
|
5
5
|
import { c as canvasBackground, h as hexRgb, G as GENERATIVE_FX } from '../chunks/generative-2LhxG5BJ.js';
|
|
6
6
|
export { n as noise2 } from '../chunks/generative-2LhxG5BJ.js';
|
|
7
|
-
import { A as AUDIO_FX, d as defineAudio } from '../chunks/audio-
|
|
8
|
-
export { b as bindBeat, c as createBeatDetector, a as disableAudio, e as enableAudio, g as getAudio, o as onBeat } from '../chunks/audio-
|
|
9
|
-
import { playEffect, bindEffect, registerEffects } from '../chunks/registry-
|
|
10
|
-
import { u as defineElement, B as adoptStyles } from '../chunks/base-
|
|
7
|
+
import { A as AUDIO_FX, d as defineAudio } from '../chunks/audio-D95jwlOh.js';
|
|
8
|
+
export { b as bindBeat, c as createBeatDetector, a as disableAudio, e as enableAudio, g as getAudio, o as onBeat } from '../chunks/audio-D95jwlOh.js';
|
|
9
|
+
import { playEffect, bindEffect, registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
10
|
+
import { u as defineElement, B as adoptStyles } from '../chunks/base-BnRyfuyM.js';
|
|
11
11
|
import { applyMotionTokens, motionTokensToVars, mergeMotionTokens } from './tokens.js';
|
|
12
|
-
import '../chunks/builtins-
|
|
13
|
-
import '../chunks/core-
|
|
14
|
-
import '../chunks/fx-
|
|
12
|
+
import '../chunks/builtins-CqIq1zBv.js';
|
|
13
|
+
import '../chunks/core-DsGoL9EY.js';
|
|
14
|
+
import '../chunks/fx-CtnrFEg9.js';
|
|
15
15
|
|
|
16
16
|
const CARD_FX = [
|
|
17
17
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as onClockChange, x as setClock, y as getClock, p as prefersReducedMotion, e as animateWithMotion } from '../chunks/base-
|
|
2
|
-
export { z as trackAnimation } from '../chunks/base-
|
|
1
|
+
import { v as onClockChange, x as setClock, y as getClock, p as prefersReducedMotion, e as animateWithMotion } from '../chunks/base-BnRyfuyM.js';
|
|
2
|
+
export { z as trackAnimation } from '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* `motionary/engine` (= `motionary/components/engine`, 8.0) — the unified
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var base = require('../chunks/base-
|
|
3
|
+
var base = require('../chunks/base-DBheNxJu.cjs');
|
|
4
4
|
|
|
5
5
|
var css$4 = "usa-spinner{--usa-spinner-size:32px;--usa-spinner-color:currentColor;position:relative;display:inline-block;vertical-align:middle;flex:none;width:var(--usa-spinner-size);height:var(--usa-spinner-size);color:var(--usa-spinner-color)}usa-spinner i{position:absolute;display:block}usa-spinner[paused] *,usa-spinner[paused] *::after{animation-play-state:paused !important}usa-spinner svg{width:100%;height:100%;animation:usa-spin 2s linear infinite;overflow:visible}usa-spinner svg circle{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:0.5 100;stroke-dashoffset:0;animation:usa-ring-arc 1.6s ease-in-out infinite}@keyframes usa-spin{to{transform:rotate(360deg)}}@keyframes usa-ring-arc{0%{stroke-dasharray:0.5 100;stroke-dashoffset:0}50%{stroke-dasharray:62 100;stroke-dashoffset:-20}100%{stroke-dasharray:0.5 100;stroke-dashoffset:-99}}usa-spinner[data-kind=\"windows\"] i{inset:0;opacity:0;animation:usa-orbit 5.5s infinite}usa-spinner[data-kind=\"windows\"] i::after{content:\"\";position:absolute;left:50%;top:0;width:12%;height:12%;margin-left:-6%;border-radius:50%;background:currentColor}usa-spinner[data-kind=\"windows\"] i:nth-child(2){animation-delay:240ms;--n:1}usa-spinner[data-kind=\"windows\"] i:nth-child(3){animation-delay:480ms;--n:2}usa-spinner[data-kind=\"windows\"] i:nth-child(4){animation-delay:720ms;--n:3}usa-spinner[data-kind=\"windows\"] i:nth-child(5){animation-delay:960ms;--n:4}@keyframes usa-orbit{0%{transform:rotate(225deg);opacity:1;animation-timing-function:ease-out}7%{transform:rotate(345deg);animation-timing-function:linear}30%{transform:rotate(455deg);animation-timing-function:ease-in-out}39%{transform:rotate(690deg);animation-timing-function:linear}70%{transform:rotate(815deg);opacity:1;animation-timing-function:ease-out}75%{transform:rotate(945deg);animation-timing-function:ease-out}76%,100%{transform:rotate(945deg);opacity:0}}usa-spinner[data-kind=\"ring\"] i{inset:0;border-radius:50%;border:calc(var(--usa-spinner-size) / 9) solid color-mix(in srgb,currentColor 20%,transparent);border-top-color:currentColor;animation:usa-spin 0.8s linear infinite}usa-spinner[data-kind=\"dots\"]{display:inline-flex;align-items:center;justify-content:space-between;height:calc(var(--usa-spinner-size) / 2.5)}usa-spinner[data-kind=\"dots\"] i{position:static;width:22%;aspect-ratio:1;border-radius:50%;background:currentColor;animation:usa-dot 1.2s ease-in-out infinite}usa-spinner[data-kind=\"dots\"] i:nth-child(2){animation-delay:0.15s}usa-spinner[data-kind=\"dots\"] i:nth-child(3){animation-delay:0.3s}@keyframes usa-dot{0%,60%,100%{transform:translateY(0);opacity:0.35}30%{transform:translateY(-70%);opacity:1}}usa-spinner[data-kind=\"pulse\"] i{inset:0;border-radius:50%;background:currentColor;opacity:0;animation:usa-pulse 1.6s cubic-bezier(0.22,1,0.36,1) infinite}usa-spinner[data-kind=\"pulse\"] i:nth-child(2){animation-delay:0.8s}@keyframes usa-pulse{from{transform:scale(0.1);opacity:0.8}to{transform:scale(1);opacity:0}}usa-spinner[data-kind=\"bars\"]{display:inline-flex;align-items:center;justify-content:space-between}usa-spinner[data-kind=\"bars\"] i{position:static;width:16%;height:100%;border-radius:2px;background:currentColor;transform:scaleY(0.35);animation:usa-bar 1s ease-in-out infinite}usa-spinner[data-kind=\"bars\"] i:nth-child(2){animation-delay:0.12s}usa-spinner[data-kind=\"bars\"] i:nth-child(3){animation-delay:0.24s}usa-spinner[data-kind=\"bars\"] i:nth-child(4){animation-delay:0.36s}@keyframes usa-bar{0%,100%{transform:scaleY(0.35)}40%{transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){usa-spinner svg,usa-spinner i,usa-spinner i::after{animation:usa-calm 2.4s ease-in-out infinite !important}usa-spinner[data-kind=\"windows\"] i{transform:rotate(calc(var(--n,0) * 72deg))}usa-spinner svg circle{animation:none;stroke-dasharray:30 100}}@keyframes usa-calm{0%,100%{opacity:1}50%{opacity:0.4}}";
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as defineElement, F as kindOf, D as EASE_OUT, k as clamp, H as FLUENT_DECELERATE, E as EASE_SPRING } from '../chunks/base-
|
|
1
|
+
import { u as defineElement, F as kindOf, D as EASE_OUT, k as clamp, H as FLUENT_DECELERATE, E as EASE_SPRING } from '../chunks/base-BnRyfuyM.js';
|
|
2
2
|
|
|
3
3
|
var css$4 = "usa-spinner{--usa-spinner-size:32px;--usa-spinner-color:currentColor;position:relative;display:inline-block;vertical-align:middle;flex:none;width:var(--usa-spinner-size);height:var(--usa-spinner-size);color:var(--usa-spinner-color)}usa-spinner i{position:absolute;display:block}usa-spinner[paused] *,usa-spinner[paused] *::after{animation-play-state:paused !important}usa-spinner svg{width:100%;height:100%;animation:usa-spin 2s linear infinite;overflow:visible}usa-spinner svg circle{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:0.5 100;stroke-dashoffset:0;animation:usa-ring-arc 1.6s ease-in-out infinite}@keyframes usa-spin{to{transform:rotate(360deg)}}@keyframes usa-ring-arc{0%{stroke-dasharray:0.5 100;stroke-dashoffset:0}50%{stroke-dasharray:62 100;stroke-dashoffset:-20}100%{stroke-dasharray:0.5 100;stroke-dashoffset:-99}}usa-spinner[data-kind=\"windows\"] i{inset:0;opacity:0;animation:usa-orbit 5.5s infinite}usa-spinner[data-kind=\"windows\"] i::after{content:\"\";position:absolute;left:50%;top:0;width:12%;height:12%;margin-left:-6%;border-radius:50%;background:currentColor}usa-spinner[data-kind=\"windows\"] i:nth-child(2){animation-delay:240ms;--n:1}usa-spinner[data-kind=\"windows\"] i:nth-child(3){animation-delay:480ms;--n:2}usa-spinner[data-kind=\"windows\"] i:nth-child(4){animation-delay:720ms;--n:3}usa-spinner[data-kind=\"windows\"] i:nth-child(5){animation-delay:960ms;--n:4}@keyframes usa-orbit{0%{transform:rotate(225deg);opacity:1;animation-timing-function:ease-out}7%{transform:rotate(345deg);animation-timing-function:linear}30%{transform:rotate(455deg);animation-timing-function:ease-in-out}39%{transform:rotate(690deg);animation-timing-function:linear}70%{transform:rotate(815deg);opacity:1;animation-timing-function:ease-out}75%{transform:rotate(945deg);animation-timing-function:ease-out}76%,100%{transform:rotate(945deg);opacity:0}}usa-spinner[data-kind=\"ring\"] i{inset:0;border-radius:50%;border:calc(var(--usa-spinner-size) / 9) solid color-mix(in srgb,currentColor 20%,transparent);border-top-color:currentColor;animation:usa-spin 0.8s linear infinite}usa-spinner[data-kind=\"dots\"]{display:inline-flex;align-items:center;justify-content:space-between;height:calc(var(--usa-spinner-size) / 2.5)}usa-spinner[data-kind=\"dots\"] i{position:static;width:22%;aspect-ratio:1;border-radius:50%;background:currentColor;animation:usa-dot 1.2s ease-in-out infinite}usa-spinner[data-kind=\"dots\"] i:nth-child(2){animation-delay:0.15s}usa-spinner[data-kind=\"dots\"] i:nth-child(3){animation-delay:0.3s}@keyframes usa-dot{0%,60%,100%{transform:translateY(0);opacity:0.35}30%{transform:translateY(-70%);opacity:1}}usa-spinner[data-kind=\"pulse\"] i{inset:0;border-radius:50%;background:currentColor;opacity:0;animation:usa-pulse 1.6s cubic-bezier(0.22,1,0.36,1) infinite}usa-spinner[data-kind=\"pulse\"] i:nth-child(2){animation-delay:0.8s}@keyframes usa-pulse{from{transform:scale(0.1);opacity:0.8}to{transform:scale(1);opacity:0}}usa-spinner[data-kind=\"bars\"]{display:inline-flex;align-items:center;justify-content:space-between}usa-spinner[data-kind=\"bars\"] i{position:static;width:16%;height:100%;border-radius:2px;background:currentColor;transform:scaleY(0.35);animation:usa-bar 1s ease-in-out infinite}usa-spinner[data-kind=\"bars\"] i:nth-child(2){animation-delay:0.12s}usa-spinner[data-kind=\"bars\"] i:nth-child(3){animation-delay:0.24s}usa-spinner[data-kind=\"bars\"] i:nth-child(4){animation-delay:0.36s}@keyframes usa-bar{0%,100%{transform:scaleY(0.35)}40%{transform:scaleY(1)}}@media (prefers-reduced-motion:reduce){usa-spinner svg,usa-spinner i,usa-spinner i::after{animation:usa-calm 2.4s ease-in-out infinite !important}usa-spinner[data-kind=\"windows\"] i{transform:rotate(calc(var(--n,0) * 72deg))}usa-spinner svg circle{animation:none;stroke-dasharray:30 100}}@keyframes usa-calm{0%,100%{opacity:1}50%{opacity:0.4}}";
|
|
4
4
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
5
|
var components_fxLight = require('./fx-light.cjs');
|
|
6
|
-
require('../chunks/base-
|
|
6
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
7
7
|
require('../chunks/generative-BHIj-NU0.cjs');
|
|
8
8
|
|
|
9
9
|
const layers = (el) => {
|
package/dist/components/fx-3d.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
2
|
import { a as all } from '../chunks/shared-CkKHWrtJ.js';
|
|
3
3
|
import { trackPointer } from './fx-light.js';
|
|
4
|
-
import '../chunks/base-
|
|
4
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
5
5
|
import '../chunks/generative-2LhxG5BJ.js';
|
|
6
6
|
|
|
7
7
|
const layers = (el) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Split text into words, keeping the whitespace after each (7.8). */
|
|
7
7
|
function splitWords(text) {
|
package/dist/components/fx-ai.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
/** Split text into words, keeping the whitespace after each (7.8). */
|
|
5
5
|
function splitWords(text) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
|
-
require('../chunks/base-
|
|
5
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
6
6
|
|
|
7
7
|
const fade = (el, ctx) => ctx.animate(el, [{ opacity: 0 }, { opacity: 1 }], { duration: 250 });
|
|
8
8
|
const pick = (el, sel) => Array.from(el.querySelectorAll(sel));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
2
|
import { a as all } from '../chunks/shared-CkKHWrtJ.js';
|
|
3
|
-
import '../chunks/base-
|
|
3
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
4
4
|
|
|
5
5
|
const fade = (el, ctx) => ctx.animate(el, [{ opacity: 0 }, { opacity: 1 }], { duration: 250 });
|
|
6
6
|
const pick = (el, sel) => Array.from(el.querySelectorAll(sel));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
const CAMERA_MOVES = ['dolly-in', 'dolly-out', 'pan-left', 'pan-right', 'tilt-up', 'tilt-down', 'zoom-in', 'zoom-out', 'orbit'];
|
|
7
7
|
/** Transform of camera `move` at progress `p` (0–1, clamped), `strength` 0–2 (9.1). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
const CAMERA_MOVES = ['dolly-in', 'dolly-out', 'pan-left', 'pan-right', 'tilt-up', 'tilt-down', 'zoom-in', 'zoom-out', 'orbit'];
|
|
5
5
|
/** Transform of camera `move` at progress `p` (0–1, clamped), `strength` 0–2 (9.1). */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
const GLYPHS = '01<>/\\[]{}#$%&*+=ABCDEFXYZ';
|
|
7
7
|
/** The `k`-th frame of decoding `text` over `n` frames: resolved prefix + random glyphs (8.4). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
const GLYPHS = '01<>/\\[]{}#$%&*+=ABCDEFXYZ';
|
|
5
5
|
/** The `k`-th frame of decoding `text` over `n` frames: resolved prefix + random glyphs (8.4). */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Evenly spread spark directions with a little jitter (8.1). */
|
|
7
7
|
function sparkVectors(n, radius, seed = 1) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
/** Evenly spread spark directions with a little jitter (8.1). */
|
|
5
5
|
function sparkVectors(n, radius, seed = 1) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
const NS = 'http://www.w3.org/2000/svg';
|
|
7
7
|
function overlay(el, z = 1) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
const NS = 'http://www.w3.org/2000/svg';
|
|
5
5
|
function overlay(el, z = 1) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Decaying sideways shake keyframes (7.7). */
|
|
7
7
|
function shakeFrames(distance = 8, steps = 5) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
/** Decaying sideways shake keyframes (7.7). */
|
|
5
5
|
function shakeFrames(distance = 8, steps = 5) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Ballistic keyframe points for a coin thrown at `deg` with `power` (7.5). */
|
|
7
7
|
function throwPath(deg, power = 120, steps = 6, g = 2.2) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
/** Ballistic keyframe points for a coin thrown at `deg` with `power` (7.5). */
|
|
5
5
|
function throwPath(deg, power = 120, steps = 6, g = 2.2) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
const PALETTES = {
|
|
7
7
|
sunset: ['#ff6b6b', '#feca57', '#ff9ff3', '#5f27cd', '#1dd1a1'],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
const PALETTES = {
|
|
5
5
|
sunset: ['#ff6b6b', '#feca57', '#ff9ff3', '#5f27cd', '#1dd1a1'],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Length of a polyline through `points` (7.6). */
|
|
7
7
|
function routeLength(points) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
/** Length of a polyline through `points` (7.6). */
|
|
5
5
|
function routeLength(points) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Scale factor of a two-finger pinch from start points (a1, a2) to current points (b1, b2) (8.7). */
|
|
7
7
|
function pinchScale(a1, a2, b1, b2) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
/** Scale factor of a two-finger pinch from start points (a1, a2) to current points (b1, b2) (8.7). */
|
|
5
5
|
function pinchScale(a1, a2, b1, b2) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../chunks/registry-
|
|
3
|
+
require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
require('../chunks/generative-BHIj-NU0.cjs');
|
|
5
5
|
require('../chunks/shared-jkgRH-Hx.cjs');
|
|
6
|
-
var components_fxGpu = require('../chunks/gpu-
|
|
7
|
-
require('../chunks/base-
|
|
6
|
+
var components_fxGpu = require('../chunks/gpu-cUixt7kT.cjs');
|
|
7
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import '../chunks/registry-
|
|
1
|
+
import '../chunks/registry-gFJRpPES.js';
|
|
2
2
|
import '../chunks/generative-2LhxG5BJ.js';
|
|
3
3
|
import '../chunks/shared-CkKHWrtJ.js';
|
|
4
|
-
export { G as GPU_FX, r as registerGpuPack } from '../chunks/gpu-
|
|
5
|
-
import '../chunks/base-
|
|
4
|
+
export { G as GPU_FX, r as registerGpuPack } from '../chunks/gpu-CDcXiNA8.js';
|
|
5
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
6
6
|
//# sourceMappingURL=fx-gpu.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
var generative = require('../chunks/generative-BHIj-NU0.cjs');
|
|
5
5
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
6
|
-
require('../chunks/base-
|
|
6
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
7
7
|
|
|
8
8
|
/** Track the pointer over `el` as 0–1 coordinates (`fn(x, y, inside)`); starts at (`x0`, `y0`). Returns a remover. */
|
|
9
9
|
function trackPointer(el, ctx, fn, x0 = 0.3, y0 = 0.25) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
2
|
import { c as canvasBackground, h as hexRgb } from '../chunks/generative-2LhxG5BJ.js';
|
|
3
3
|
import { o as overlay } from '../chunks/shared-CkKHWrtJ.js';
|
|
4
|
-
import '../chunks/base-
|
|
4
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
5
5
|
|
|
6
6
|
/** Track the pointer over `el` as 0–1 coordinates (`fn(x, y, inside)`); starts at (`x0`, `y0`). Returns a remover. */
|
|
7
7
|
function trackPointer(el, ctx, fn, x0 = 0.3, y0 = 0.25) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
const arr = (v) => (Array.isArray(v) ? v.map(Number) : [Number(v)]);
|
|
7
7
|
/** Frames (t) → values for one transform property (static props give one key at t = ip) (9.2). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
const arr = (v) => (Array.isArray(v) ? v.map(Number) : [Number(v)]);
|
|
5
5
|
/** Frames (t) → values for one transform property (static props give one key at t = ip) (9.2). */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
var shared = require('../chunks/shared-jkgRH-Hx.cjs');
|
|
5
|
-
require('../chunks/base-
|
|
5
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
6
6
|
|
|
7
7
|
const NS = 'http://www.w3.org/2000/svg';
|
|
8
8
|
const raf = (f) => (typeof requestAnimationFrame === 'function' ? requestAnimationFrame(f) : 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
2
|
import { a as all } from '../chunks/shared-CkKHWrtJ.js';
|
|
3
|
-
import '../chunks/base-
|
|
3
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
4
4
|
|
|
5
5
|
const NS = 'http://www.w3.org/2000/svg';
|
|
6
6
|
const raf = (f) => (typeof requestAnimationFrame === 'function' ? requestAnimationFrame(f) : 0);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
var generative = require('../chunks/generative-BHIj-NU0.cjs');
|
|
5
|
-
var audio = require('../chunks/audio-
|
|
6
|
-
require('../chunks/base-
|
|
5
|
+
var audio = require('../chunks/audio-BpU-A1m1.cjs');
|
|
6
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
7
7
|
require('../chunks/shared-jkgRH-Hx.cjs');
|
|
8
8
|
|
|
9
9
|
/** A smooth, deterministic fake analyser frame at time `t` (s). */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
2
|
import { c as canvasBackground } from '../chunks/generative-2LhxG5BJ.js';
|
|
3
|
-
import { g as getAudio } from '../chunks/audio-
|
|
4
|
-
import '../chunks/base-
|
|
3
|
+
import { g as getAudio } from '../chunks/audio-D95jwlOh.js';
|
|
4
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
5
5
|
import '../chunks/shared-CkKHWrtJ.js';
|
|
6
6
|
|
|
7
7
|
/** A smooth, deterministic fake analyser frame at time `t` (s). */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** A blob border-radius ("63% 37% 54% 46% / 55% 48% 52% 45%") from a seed (8.3). */
|
|
7
7
|
function blobRadius(seed) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
/** A blob border-radius ("63% 37% 54% 46% / 55% 48% 52% 45%") from a seed (8.3). */
|
|
5
5
|
function blobRadius(seed) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** A deterministic PRNG in [0, 1) from a seed (8.5). */
|
|
7
7
|
function paperRandom(seed) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
/** A deterministic PRNG in [0, 1) from a seed (8.5). */
|
|
5
5
|
function paperRandom(seed) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
4
|
-
var base = require('../chunks/base-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
|
+
var base = require('../chunks/base-DBheNxJu.cjs');
|
|
5
5
|
|
|
6
6
|
/** Run a pure function in a Web Worker; resolves with its (structured-cloneable) result (9.6). */
|
|
7
7
|
function runInWorker(fn, ...args) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
2
|
-
import { o as onFrame } from '../chunks/base-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
|
+
import { o as onFrame } from '../chunks/base-BnRyfuyM.js';
|
|
3
3
|
|
|
4
4
|
/** Run a pure function in a Web Worker; resolves with its (structured-cloneable) result (9.6). */
|
|
5
5
|
function runInWorker(fn, ...args) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var registry = require('../chunks/registry-
|
|
3
|
+
var registry = require('../chunks/registry-xQZnSqqV.cjs');
|
|
4
4
|
var generative = require('../chunks/generative-BHIj-NU0.cjs');
|
|
5
|
-
require('../chunks/base-
|
|
5
|
+
require('../chunks/base-DBheNxJu.cjs');
|
|
6
6
|
require('../chunks/shared-jkgRH-Hx.cjs');
|
|
7
7
|
|
|
8
8
|
/** A minimal Verlet world: points, distance sticks, gravity, damping. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { registerEffects } from '../chunks/registry-
|
|
1
|
+
import { registerEffects } from '../chunks/registry-gFJRpPES.js';
|
|
2
2
|
import { c as canvasBackground } from '../chunks/generative-2LhxG5BJ.js';
|
|
3
|
-
import '../chunks/base-
|
|
3
|
+
import '../chunks/base-BnRyfuyM.js';
|
|
4
4
|
import '../chunks/shared-CkKHWrtJ.js';
|
|
5
5
|
|
|
6
6
|
/** A minimal Verlet world: points, distance sticks, gravity, damping. */
|