@moku-labs/game 0.15.88 → 0.15.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.
@@ -1,4 +1,4 @@
1
- import { h as StartedPage, r as GameConfig, t as AnyGameApp, u as PageOptions } from "../types-BlXL-VC3.mjs";
1
+ import { h as StartedPage, r as GameConfig, t as AnyGameApp, u as PageOptions } from "../types-Fbq4snuX.mjs";
2
2
 
3
3
  //#region src/app/page.d.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { Wr as PlayerStateProvider } from "../types-w5_A5TPL.mjs";
2
- import { ht as PlatformProvider } from "../index-nK7iVsWx.mjs";
3
- import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-BlXL-VC3.mjs";
1
+ import { Wr as PlayerStateProvider } from "../types--QXvRPXM.mjs";
2
+ import { ht as PlatformProvider } from "../index-B1bdw4B2.mjs";
3
+ import { _ as SystemName, g as SystemModules, v as SystemShellFactory } from "../types-Fbq4snuX.mjs";
4
4
  import { Back, Haptics, KeepAwake, Lifecycle, Store } from "@moku-labs/system";
5
5
 
6
6
  //#region src/app/system.d.ts
package/dist/app.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { zr as Json } from "./types-w5_A5TPL.mjs";
2
- import { q as StringTable } from "./types-BbLjYfGR.mjs";
3
- import { _ as SystemName, a as GameHandle, c as MemoryProvider, d as PlistValue, f as SaveKind, i as GameDefinition, l as PageAgent, m as ScreenSeams, n as GameApp, o as GamePluginConfigs, p as Scenario, r as GameConfig, s as HeadlessSeams, y as WithGameState } from "./types-BlXL-VC3.mjs";
1
+ import { zr as Json } from "./types--QXvRPXM.mjs";
2
+ import { q as StringTable } from "./types-CXbcEveH.mjs";
3
+ import { _ as SystemName, a as GameHandle, c as MemoryProvider, d as PlistValue, f as SaveKind, i as GameDefinition, l as PageAgent, m as ScreenSeams, n as GameApp, o as GamePluginConfigs, p as Scenario, r as GameConfig, s as HeadlessSeams, y as WithGameState } from "./types-Fbq4snuX.mjs";
4
4
  import { AnyPluginInstance } from "@moku-labs/core";
5
5
 
6
6
  //#region src/app/define.d.ts
package/dist/app.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { Ft as audioPlugin, H as platformPlugin, i as screen, m as flattenFeatures, t as createApp, wt as effectsPlugin } from "./src-BTPWdbHH.mjs";
1
+ import { Ft as audioPlugin, H as platformPlugin, i as screen, m as flattenFeatures, t as createApp, wt as effectsPlugin } from "./src-CZSz-mMz.mjs";
2
2
  import { t as memory } from "./memory-CWlqhS7l.mjs";
3
3
  import { n as fakeClock, r as isFakeClock } from "./fake-hnJcJeYf.mjs";
4
4
  //#region src/app/define.ts
package/dist/assets.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { d as Manifest } from "./types-w5_A5TPL.mjs";
1
+ import { d as Manifest } from "./types--QXvRPXM.mjs";
2
2
 
3
3
  //#region src/plugins/assets/scan/cli.d.ts
4
4
  /**
@@ -1,8 +1,8 @@
1
- import { $r as Api, D as DebugSwitches, Jr as Snapshot, Pn as FlowState, Tr as Api$2, Xr as StoreApi, Z as Api$1, di as Time, jn as Bookmark, si as FrameRate, ut as Captured, w as ScenesApi } from "./types-w5_A5TPL.mjs";
2
- import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-CJYudpme.mjs";
3
- import { L as InputApi } from "./types-BbLjYfGR.mjs";
4
- import { t as HeadlessApp } from "./headless-CtRq6Uij.mjs";
5
- import { i as ControlApp, r as Command } from "./types-ehmvA6yu.mjs";
1
+ import { $r as Api, D as DebugSwitches, Jr as Snapshot, Pn as FlowState, Tr as Api$2, Xr as StoreApi, Z as Api$1, di as Time, jn as Bookmark, si as FrameRate, ut as Captured, w as ScenesApi } from "./types--QXvRPXM.mjs";
2
+ import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-CgrPwBjC.mjs";
3
+ import { L as InputApi } from "./types-CXbcEveH.mjs";
4
+ import { t as HeadlessApp } from "./headless-DhNDRVXy.mjs";
5
+ import { i as ControlApp, r as Command } from "./types-CJzm90e_.mjs";
6
6
 
7
7
  //#region src/plugins/flow/doors/commands.d.ts
8
8
  /**
@@ -1,7 +1,7 @@
1
- import { t as HeadlessApp } from "./headless-CtRq6Uij.mjs";
2
- import { a as InputArguments, c as Ran, n as ChoiceInput, r as Command, s as InputSchema, u as ToggleInput } from "./types-ehmvA6yu.mjs";
3
- import { t as commands } from "./commands-C6RMqrY8.mjs";
4
- import { t as defineCommand } from "./define-DE1XcBwC.mjs";
1
+ import { t as HeadlessApp } from "./headless-DhNDRVXy.mjs";
2
+ import { a as InputArguments, c as Ran, n as ChoiceInput, r as Command, s as InputSchema, u as ToggleInput } from "./types-CJzm90e_.mjs";
3
+ import { t as commands } from "./commands-COLf1y-2.mjs";
4
+ import { t as defineCommand } from "./define-CegLUMAK.mjs";
5
5
 
6
6
  //#region src/plugins/flow/doors/dev.d.ts
7
7
  /**
@@ -1,5 +1,5 @@
1
- import { t as HeadlessApp } from "./headless-CtRq6Uij.mjs";
2
- import { l as Source, r as Command, s as InputSchema } from "./types-ehmvA6yu.mjs";
1
+ import { t as HeadlessApp } from "./headless-DhNDRVXy.mjs";
2
+ import { l as Source, r as Command, s as InputSchema } from "./types-CJzm90e_.mjs";
3
3
 
4
4
  //#region src/plugins/flow/doors/define.d.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { Fn as JournalEntry, Kn as Answer, Ln as RouteStep, Pn as FlowState, Qr as RngState, ai as Api, un as Api$1, zr as Json } from "./types-w5_A5TPL.mjs";
1
+ import { Fn as JournalEntry, Kn as Answer, Ln as RouteStep, Pn as FlowState, Qr as RngState, ai as Api, un as Api$1, zr as Json } from "./types--QXvRPXM.mjs";
2
2
 
3
3
  //#region src/plugins/flow/headless.d.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { $r as Api$3, Ar as Api$1, Bn as Descriptor, Br as Root, C as SceneSpec, Cr as SystemFor, Ct as FrameRing, Dn as FeatureDescription, Er as Config$9, F as HudPartValue, G as SpriteOptions, H as ShapeValue, Hn as EffectOptions, J as TransformValue, K as SpriteValue, Kn as Answer, L as NineSliceValue, Lr as Config$5, Mn as DefineNode, Mr as Config$2, Nt as PassKind, On as FeaturePlugin, Or as State$9, Pr as State$2, Q as Config$6, Rn as SceneIdOf, S as SceneDefinition, Sn as defineFlow, Sr as SystemDefinition, St as FrameRecord, T as State$7, Tr as Api$6, Un as GuideOptions, Ur as Patch, Vn as Effect, Vr as State$5, Wn as Hint, Xn as Ease, Xr as StoreApi, Y as sprite, Yn as DescriptionNode, Z as Api$4, Zr as RngApi, _ as AnySceneProjection, _n as State$3, a as Config$1, ai as Api$5, br as QueryTerm, c as LoadBundles, ci as RateChange, dn as BundlesOf, dr as ComponentHandle, ei as Config$4, er as NumericFields, f as ReadyBundles, fn as Config$3, hi as Require, hn as HudKeysOf, ht as ViewportSize, i as BundleSpec, kn as FeatureTree, l as LoadReason, li as State$8, m as Tier, mi as Events$1, mn as GameTypes, mr as ComponentValue, ni as PauseReason, nr as ProjectionSpec, o as DefineBundles, oi as Config$8, p as State$1, pi as Config$10, pn as EmitterIdOf, pr as ComponentType, r as BundleMap, ri as State$4, rr as ReducedMotion, st as State$6, t as Api, ti as Events, tr as ProjectionMotion, u as LoadResult, ui as ThermalReading, un as Api$2, v as Config$7, vn as TextFormatsOf, vr as Mut, w as ScenesApi, wr as TagType, x as LayerMap, xr as ResourceType, y as DefineScene, yn as TextStylesOf, yr as Narrowed, z as OverlayValue, zr as Json } from "./types-w5_A5TPL.mjs";
2
- import { A as GlowValue, B as Target, C as BlurValue, D as FilterComponent, F as AnimPlayerValue, H as HapticKind, I as Config$11, K as defineAnimation, L as FramesValue, M as OutlineValue, N as UniformDeclaration, O as FilterSpec, P as AnimApi, Q as play, R as MotionKeyframe, S as AlphaValue, T as DisplacementValue, U as SfxDescriptor, W as Step, _ as State$12, a as AudioApi, b as EmitterDefinition, c as MusicDescriptor, d as State$11, f as VolumesFor, h as EffectsApi, j as NoiseValue, k as FilterValueOf, l as MusicOptions, lt as OverlayApi, m as Config$13, n as State$13, r as UiApi, s as Config$12, t as Config$14, w as ColorMatrixValue, x as EmitterValue, y as EmitterConfig, z as State$10 } from "./types-CJYudpme.mjs";
3
- import { $ as Style, A as TextFormats, B as Argument, C as Point, E as TextBind, F as defineComponent, G as Part, H as I18nApi, I as Config$16, J as TextKey, K as State$14, L as InputApi, M as TextStyles, N as TextValue, Q as ResolvedStyle, R as State$15, T as TextApi, U as IntlKit, V as Config$15, W as Message, Y as TypedTr, Z as IsFlags, b as Config$17, g as IntrinsicElementsFor, h as defineTokens, j as TextStyleInput, k as TextFormatFunction, s as PopupComponent, tt as WhenFlags, v as BindField, w as State$16, x as CountdownValue, y as BindOptions } from "./types-BbLjYfGR.mjs";
1
+ import { $r as Api$3, Ar as Api$1, Bn as Descriptor, Br as Root, C as SceneSpec, Cr as SystemFor, Ct as FrameRing, Dn as FeatureDescription, Er as Config$9, F as HudPartValue, G as SpriteOptions, H as ShapeValue, Hn as EffectOptions, J as TransformValue, K as SpriteValue, Kn as Answer, L as NineSliceValue, Lr as Config$5, Mn as DefineNode, Mr as Config$2, Nt as PassKind, On as FeaturePlugin, Or as State$9, Pr as State$2, Q as Config$6, Rn as SceneIdOf, S as SceneDefinition, Sn as defineFlow, Sr as SystemDefinition, St as FrameRecord, T as State$7, Tr as Api$6, Un as GuideOptions, Ur as Patch, Vn as Effect, Vr as State$5, Wn as Hint, Xn as Ease, Xr as StoreApi, Y as sprite, Yn as DescriptionNode, Z as Api$4, Zr as RngApi, _ as AnySceneProjection, _n as State$3, a as Config$1, ai as Api$5, br as QueryTerm, c as LoadBundles, ci as RateChange, dn as BundlesOf, dr as ComponentHandle, ei as Config$4, er as NumericFields, f as ReadyBundles, fn as Config$3, hi as Require, hn as HudKeysOf, ht as ViewportSize, i as BundleSpec, kn as FeatureTree, l as LoadReason, li as State$8, m as Tier, mi as Events$1, mn as GameTypes, mr as ComponentValue, ni as PauseReason, nr as ProjectionSpec, o as DefineBundles, oi as Config$8, p as State$1, pi as Config$10, pn as EmitterIdOf, pr as ComponentType, r as BundleMap, ri as State$4, rr as ReducedMotion, st as State$6, t as Api, ti as Events, tr as ProjectionMotion, u as LoadResult, ui as ThermalReading, un as Api$2, v as Config$7, vn as TextFormatsOf, vr as Mut, w as ScenesApi, wr as TagType, x as LayerMap, xr as ResourceType, y as DefineScene, yn as TextStylesOf, yr as Narrowed, z as OverlayValue, zr as Json } from "./types--QXvRPXM.mjs";
2
+ import { A as GlowValue, B as Target, C as BlurValue, D as FilterComponent, F as AnimPlayerValue, H as HapticKind, I as Config$11, K as defineAnimation, L as FramesValue, M as OutlineValue, N as UniformDeclaration, O as FilterSpec, P as AnimApi, Q as play, R as MotionKeyframe, S as AlphaValue, T as DisplacementValue, U as SfxDescriptor, W as Step, _ as State$12, a as AudioApi, b as EmitterDefinition, c as MusicDescriptor, d as State$11, f as VolumesFor, h as EffectsApi, j as NoiseValue, k as FilterValueOf, l as MusicOptions, lt as OverlayApi, m as Config$13, n as State$13, r as UiApi, s as Config$12, t as Config$14, w as ColorMatrixValue, x as EmitterValue, y as EmitterConfig, z as State$10 } from "./types-CgrPwBjC.mjs";
3
+ import { $ as Style, A as TextFormats, B as Argument, C as Point, E as TextBind, F as defineComponent, G as Part, H as I18nApi, I as Config$16, J as TextKey, K as State$14, L as InputApi, M as TextStyles, N as TextValue, Q as ResolvedStyle, R as State$15, T as TextApi, U as IntlKit, V as Config$15, W as Message, Y as TypedTr, Z as IsFlags, b as Config$17, g as IntrinsicElementsFor, h as defineTokens, j as TextStyleInput, k as TextFormatFunction, s as PopupComponent, tt as WhenFlags, v as BindField, w as State$16, x as CountdownValue, y as BindOptions } from "./types-CXbcEveH.mjs";
4
4
  import { Log } from "@moku-labs/common/browser";
5
5
  import { PluginCtx } from "@moku-labs/core";
6
6
 
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as MonitorConfig, $t as PerfThermalLine, At as PERF_GAP_BUCKETS, B as Parent, Bt as PerfDisplay, Cn as exit, Ct as FrameRing, Dt as OverlayEventDetail, E as types_d_exports$13, En as type, Et as MonitorSections, F as HudPartValue, Fr as types_d_exports$3, Ft as PerfCause, Gt as PerfLogLine, Hr as types_d_exports$10, Ht as PerfEventName, I as NineSlice, It as PerfChange, Jt as PerfMeasured, Kt as PerfLongFrameLine, Lt as PerfChangeEntry, M as WhyEntry, Mt as PROBLEM_RULES, N as Display, Nt as PassKind, Ot as OverlayWhat, P as HudPart, Pt as PassRecord, Qt as PerfTelemetryLine, R as Overlay, Rt as PerfCollectorLine, St as FrameRecord, Tn as to, Tt as MONITOR_SECTIONS, U as Sprite, Ut as PerfGapLine, V as Shape, Vt as PerfEventLine, W as SpriteBlend, Wt as PerfHeaderLine, X as AdaptiveScale, Xt as PerfSpikeLine, Y as sprite, Yn as DescriptionNode, Yt as PerfSampleLine, Zt as PerfStartupLine, _t as RetakeWhy, an as ShaderWhat, bn as types_d_exports$6, bt as FrameReadResult, cn as CanvasRestart, dt as MonitorCounts, en as PoolTrimDetail, fi as types_d_exports$15, g as types_d_exports$1, ii as types_d_exports$9, in as ShaderEventDetail, ir as SceneSwitch, jt as PERF_LOG_VERSION, kr as types_d_exports$17, kt as PERF_CAUSES, ln as DEMAND_REASONS, lt as types_d_exports$12, nn as ProblemRule, on as WarmDetail, ot as PoolTrim, q as Transform, qn as AnchorTarget, qr as SaveUnreadableError, qt as PerfMarkLine, rn as SHADER_WHATS, sn as CANVAS_RESTARTS, tn as ProblemEventDetail, vt as WhyLive, wn as slot, wt as LongFrameEntry, xn as contribution, xt as FrameReadout, yt as FrameColumns, z as OverlayValue, zt as PerfCounts } from "./types-w5_A5TPL.mjs";
2
- import { $ as sequence, E as FilterArea, G as HAPTIC_KINDS, H as HapticKind, J as frames, K as defineAnimation, Q as play, V as types_d_exports, X as mark, Y as haptic, Z as parallel, at as stopSfx, ct as wait, et as set, i as types_d_exports$16, it as stagger, nt as spawn, ot as tween, p as types_d_exports$2, q as external, rt as spawned, st as use, tt as sfx, ut as types_d_exports$4, v as types_d_exports$5 } from "./types-CJYudpme.mjs";
3
- import { A as TextFormats, D as TextFormat, F as defineComponent, O as TextFormatAnswer, P as types_d_exports$14, S as FormattedNumber, X as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, k as TextFormatFunction, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions, z as types_d_exports$8 } from "./types-BbLjYfGR.mjs";
4
- import { $ as system, A as Draggable, At as Text, B as Touchable, C as AnimPlayer, Ct as debugPlugin, D as defineBundles, Dt as animPlugin, E as defineScene, Et as assetsPlugin, F as PointerOver, G as Exiting, H as Traced, I as Pressable, J as Order, K as Layer, L as Pressed, M as Held, Mt as defineTextFormats, N as Hovered, Nt as defineTextStyles, O as load, Ot as projection, P as Pointer, Pt as label, Q as resource, R as Swipeable, S as defineMotion, St as effectsPlugin, T as Frames, Tt as audioPlugin, U as PASS_KINDS, V as Traceable, W as frameAt, X as component, Y as Tree, Z as mut, _ as defineStyle, _t as modelPlugin, a as defineEmitter, at as defineFeature, b as messageDuration, bt as i18nPlugin, c as Alpha, ct as uiPlugin, d as Displacement, dt as scenesPlugin, et as tag, f as Glow, ft as rendererPlugin, g as resolve, gt as types_d_exports$11, h as music, ht as PlatformProvider, i as screen, it as schedule, j as DropTarget, jt as bind, k as ready, kt as Countdown, l as Blur, lt as timePlugin, m as Outline, mt as BackResult, n as createPlugin, nt as guide, o as Emitter, ot as flattenFeatures, p as Noise, pt as platformPlugin, q as Now, r as defineGame, rt as hint, s as defineFilter, st as worldPlugin, t as createApp, tt as defineEffect, u as ColorMatrix, ut as textPlugin, v as tr, vt as lifecyclePlugin, w as Animation, wt as clockPlugin, x as cubicBezier, xt as flowPlugin, y as messageArgument, yt as inputPlugin, z as Tappable } from "./index-nK7iVsWx.mjs";
1
+ import { $ as MonitorConfig, $t as PerfThermalLine, At as PERF_GAP_BUCKETS, B as Parent, Bt as PerfDisplay, Cn as exit, Ct as FrameRing, Dt as OverlayEventDetail, E as types_d_exports$13, En as type, Et as MonitorSections, F as HudPartValue, Fr as types_d_exports$3, Ft as PerfCause, Gt as PerfLogLine, Hr as types_d_exports$10, Ht as PerfEventName, I as NineSlice, It as PerfChange, Jt as PerfMeasured, Kt as PerfLongFrameLine, Lt as PerfChangeEntry, M as WhyEntry, Mt as PROBLEM_RULES, N as Display, Nt as PassKind, Ot as OverlayWhat, P as HudPart, Pt as PassRecord, Qt as PerfTelemetryLine, R as Overlay, Rt as PerfCollectorLine, St as FrameRecord, Tn as to, Tt as MONITOR_SECTIONS, U as Sprite, Ut as PerfGapLine, V as Shape, Vt as PerfEventLine, W as SpriteBlend, Wt as PerfHeaderLine, X as AdaptiveScale, Xt as PerfSpikeLine, Y as sprite, Yn as DescriptionNode, Yt as PerfSampleLine, Zt as PerfStartupLine, _t as RetakeWhy, an as ShaderWhat, bn as types_d_exports$6, bt as FrameReadResult, cn as CanvasRestart, dt as MonitorCounts, en as PoolTrimDetail, fi as types_d_exports$15, g as types_d_exports$1, ii as types_d_exports$9, in as ShaderEventDetail, ir as SceneSwitch, jt as PERF_LOG_VERSION, kr as types_d_exports$17, kt as PERF_CAUSES, ln as DEMAND_REASONS, lt as types_d_exports$12, nn as ProblemRule, on as WarmDetail, ot as PoolTrim, q as Transform, qn as AnchorTarget, qr as SaveUnreadableError, qt as PerfMarkLine, rn as SHADER_WHATS, sn as CANVAS_RESTARTS, tn as ProblemEventDetail, vt as WhyLive, wn as slot, wt as LongFrameEntry, xn as contribution, xt as FrameReadout, yt as FrameColumns, z as OverlayValue, zt as PerfCounts } from "./types--QXvRPXM.mjs";
2
+ import { $ as sequence, E as FilterArea, G as HAPTIC_KINDS, H as HapticKind, J as frames, K as defineAnimation, Q as play, V as types_d_exports, X as mark, Y as haptic, Z as parallel, at as stopSfx, ct as wait, et as set, i as types_d_exports$16, it as stagger, nt as spawn, ot as tween, p as types_d_exports$2, q as external, rt as spawned, st as use, tt as sfx, ut as types_d_exports$4, v as types_d_exports$5 } from "./types-CgrPwBjC.mjs";
3
+ import { A as TextFormats, D as TextFormat, F as defineComponent, O as TextFormatAnswer, P as types_d_exports$14, S as FormattedNumber, X as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, k as TextFormatFunction, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions, z as types_d_exports$8 } from "./types-CXbcEveH.mjs";
4
+ import { $ as system, A as Draggable, At as Text, B as Touchable, C as AnimPlayer, Ct as debugPlugin, D as defineBundles, Dt as animPlugin, E as defineScene, Et as assetsPlugin, F as PointerOver, G as Exiting, H as Traced, I as Pressable, J as Order, K as Layer, L as Pressed, M as Held, Mt as defineTextFormats, N as Hovered, Nt as defineTextStyles, O as load, Ot as projection, P as Pointer, Pt as label, Q as resource, R as Swipeable, S as defineMotion, St as effectsPlugin, T as Frames, Tt as audioPlugin, U as PASS_KINDS, V as Traceable, W as frameAt, X as component, Y as Tree, Z as mut, _ as defineStyle, _t as modelPlugin, a as defineEmitter, at as defineFeature, b as messageDuration, bt as i18nPlugin, c as Alpha, ct as uiPlugin, d as Displacement, dt as scenesPlugin, et as tag, f as Glow, ft as rendererPlugin, g as resolve, gt as types_d_exports$11, h as music, ht as PlatformProvider, i as screen, it as schedule, j as DropTarget, jt as bind, k as ready, kt as Countdown, l as Blur, lt as timePlugin, m as Outline, mt as BackResult, n as createPlugin, nt as guide, o as Emitter, ot as flattenFeatures, p as Noise, pt as platformPlugin, q as Now, r as defineGame, rt as hint, s as defineFilter, st as worldPlugin, t as createApp, tt as defineEffect, u as ColorMatrix, ut as textPlugin, v as tr, vt as lifecyclePlugin, w as Animation, wt as clockPlugin, x as cubicBezier, xt as flowPlugin, y as messageArgument, yt as inputPlugin, z as Tappable } from "./index-B1bdw4B2.mjs";
5
5
  export { type AdaptiveScale, Alpha, type AnchorTarget, types_d_exports as Anim, AnimPlayer, Animation, types_d_exports$1 as Assets, types_d_exports$2 as Audio, type BackResult, type BindOptions, Blur, Box, CANVAS_RESTARTS, type CanvasRestart, types_d_exports$3 as Clock, ColorMatrix, Countdown, type CountdownValue, DEMAND_REASONS, types_d_exports$4 as Debug, DebugTrigger, type DescriptionNode, Displacement, Display, Draggable, DropTarget, types_d_exports$5 as Effects, Emitter, Exiting, type FilterArea, types_d_exports$6 as Flow, type FormattedNumber, type FrameColumns, type FrameReadResult, type FrameReadout, type FrameRecord, type FrameRing, Frames, Glow, HAPTIC_KINDS, type HapticKind, Held, Hovered, HudPart, type HudPartValue, types_d_exports$7 as I18n, types_d_exports$8 as Input, Layer, types_d_exports$9 as Lifecycle, LocalWrite, type LongFrameEntry, MONITOR_SECTIONS, types_d_exports$10 as Model, type MonitorConfig, type MonitorCounts, type MonitorSections, NineSlice, Noise, Now, Order, Outline, Overlay, type OverlayEventDetail, type OverlayValue, type OverlayWhat, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, type PassKind, type PassRecord, type PerfCause, type PerfChange, type PerfChangeEntry, type PerfCollectorLine, type PerfCounts, type PerfDisplay, type PerfEventLine, type PerfEventName, type PerfGapLine, type PerfHeaderLine, type PerfLogLine, type PerfLongFrameLine, type PerfMarkLine, type PerfMeasured, type PerfSampleLine, type PerfSpikeLine, type PerfStartupLine, type PerfTelemetryLine, type PerfThermalLine, types_d_exports$11 as Platform, type PlatformProvider, Pointer, PointerOver, type PoolTrim, type PoolTrimDetail, Pressable, Pressed, type ProblemEventDetail, type ProblemRule, types_d_exports$12 as Renderer, type RetakeWhy, SHADER_WHATS, SaveUnreadableError, type SceneSwitch, types_d_exports$13 as Scenes, ScrollState, type ShaderEventDetail, type ShaderWhat, Shape, Sprite, type SpriteBlend, Swipeable, Tappable, Text, type TextFormat, type TextFormatAnswer, type TextFormatFunction, type TextFormats, types_d_exports$14 as TextTypes, types_d_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_d_exports$16 as Ui, type WarmDetail, type WhyEntry, type WhyLive, types_d_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextFormats, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as sfx, $t as worldPlugin, A as types_exports$7, At as Glow, B as defineMotion, Bt as Animation, C as types_exports$14, Ct as messageDuration, D as types_exports$10, Dt as Blur, E as types_exports$11, Et as Alpha, F as types_exports$2, Ft as audioPlugin, G as external, Gt as MONITOR_SECTIONS, H as platformPlugin, Ht as rendererPlugin, I as types_exports$1, It as scenesPlugin, J as mark, Jt as PERF_LOG_VERSION, K as frames, Kt as PERF_CAUSES, L as types_exports, Lt as assetsPlugin, M as types_exports$5, Mt as Outline, N as types_exports$4, Nt as defineFilter, O as types_exports$9, Ot as ColorMatrix, P as types_exports$3, Pt as debugPlugin, Q as set, Qt as DEMAND_REASONS, R as uiPlugin, Rt as animPlugin, S as types_exports$15, St as messageArgument, T as types_exports$12, Tt as Emitter, U as HAPTIC_KINDS, Ut as PASS_KINDS, V as textPlugin, Vt as Frames, W as defineAnimation, Wt as frameAt, X as play, Xt as SHADER_WHATS, Y as parallel, Yt as PROBLEM_RULES, Z as sequence, Zt as CANVAS_RESTARTS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as to, at as use, b as types_exports$17, bt as Traced, c as hint, cn as SaveUnreadableError, ct as Draggable, d as defineScene, dn as clockPlugin, dt as Hovered, en as flowPlugin, et as spawn, f as tr, ft as Pointer, g as music, gt as Swipeable, h as defineEmitter, ht as Pressed, i as screen, in as slot, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as lifecyclePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as contribution, nt as stagger, o as defineEffect, on as type, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as exit, rt as stopSfx, s as guide, sn as modelPlugin, st as inputPlugin, t as createApp, tt as spawned, u as projection, un as timePlugin, ut as Held, v as load, vt as Touchable, w as types_exports$13, wt as effectsPlugin, x as types_exports$16, xt as i18nPlugin, y as ready, yt as Traceable, z as resolve, zt as AnimPlayer } from "./src-BTPWdbHH.mjs";
1
+ import { $ as sfx, $t as worldPlugin, A as types_exports$7, At as Glow, B as defineMotion, Bt as Animation, C as types_exports$14, Ct as messageDuration, D as types_exports$10, Dt as Blur, E as types_exports$11, Et as Alpha, F as types_exports$2, Ft as audioPlugin, G as external, Gt as MONITOR_SECTIONS, H as platformPlugin, Ht as rendererPlugin, I as types_exports$1, It as scenesPlugin, J as mark, Jt as PERF_LOG_VERSION, K as frames, Kt as PERF_CAUSES, L as types_exports, Lt as assetsPlugin, M as types_exports$5, Mt as Outline, N as types_exports$4, Nt as defineFilter, O as types_exports$9, Ot as ColorMatrix, P as types_exports$3, Pt as debugPlugin, Q as set, Qt as DEMAND_REASONS, R as uiPlugin, Rt as animPlugin, S as types_exports$15, St as messageArgument, T as types_exports$12, Tt as Emitter, U as HAPTIC_KINDS, Ut as PASS_KINDS, V as textPlugin, Vt as Frames, W as defineAnimation, Wt as frameAt, X as play, Xt as SHADER_WHATS, Y as parallel, Yt as PROBLEM_RULES, Z as sequence, Zt as CANVAS_RESTARTS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as to, at as use, b as types_exports$17, bt as Traced, c as hint, cn as SaveUnreadableError, ct as Draggable, d as defineScene, dn as clockPlugin, dt as Hovered, en as flowPlugin, et as spawn, f as tr, ft as Pointer, g as music, gt as Swipeable, h as defineEmitter, ht as Pressed, i as screen, in as slot, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as lifecyclePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as contribution, nt as stagger, o as defineEffect, on as type, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as exit, rt as stopSfx, s as guide, sn as modelPlugin, st as inputPlugin, t as createApp, tt as spawned, u as projection, un as timePlugin, ut as Held, v as load, vt as Touchable, w as types_exports$13, wt as effectsPlugin, x as types_exports$16, xt as i18nPlugin, y as ready, yt as Traceable, z as resolve, zt as AnimPlayer } from "./src-CZSz-mMz.mjs";
2
2
  import { $ as Shape, A as Countdown, F as defineTextStyles, I as label, J as HudPart, M as bind, P as defineTextFormats, Q as Parent, S as popup, T as defineStyle, X as Overlay, Y as NineSlice, _ as LocalWrite, at as Exiting, ct as Order, dt as mut, et as Sprite, ft as resource, h as DebugTrigger, ht as tag, it as sprite, j as Text, lt as Tree, ot as Layer, p as Box, pt as system, q as Display, st as Now, tt as Transform, ut as component, w as defineTokens, y as ScrollState } from "./visual-CULAJg6b.mjs";
3
3
  import { t as defineComponent } from "./component-DGg5DqKK.mjs";
4
4
  export { Alpha, types_exports as Anim, AnimPlayer, Animation, types_exports$1 as Assets, types_exports$2 as Audio, Blur, Box, CANVAS_RESTARTS, types_exports$3 as Clock, ColorMatrix, Countdown, DEMAND_REASONS, types_exports$4 as Debug, DebugTrigger, Displacement, Display, Draggable, DropTarget, types_exports$5 as Effects, Emitter, Exiting, types_exports$6 as Flow, Frames, Glow, HAPTIC_KINDS, Held, Hovered, HudPart, types_exports$7 as I18n, types_exports$8 as Input, Layer, types_exports$9 as Lifecycle, LocalWrite, MONITOR_SECTIONS, types_exports$10 as Model, NineSlice, Noise, Now, Order, Outline, Overlay, PASS_KINDS, PERF_CAUSES, PERF_GAP_BUCKETS, PERF_LOG_VERSION, PROBLEM_RULES, Parent, types_exports$11 as Platform, Pointer, PointerOver, Pressable, Pressed, types_exports$12 as Renderer, SHADER_WHATS, SaveUnreadableError, types_exports$13 as Scenes, ScrollState, Shape, Sprite, Swipeable, Tappable, Text, types_exports$14 as TextTypes, types_exports$15 as Time, Touchable, Traceable, Traced, Transform, Tree, types_exports$16 as Ui, types_exports$17 as World, animPlugin, assetsPlugin, audioPlugin, bind, clockPlugin, component, contribution, createApp, createPlugin, cubicBezier, debugPlugin, defineAnimation, defineBundles, defineComponent, defineEffect, defineEmitter, defineFeature, defineFilter, defineGame, defineMotion, defineScene, defineStyle, defineTextFormats, defineTextStyles, defineTokens, effectsPlugin, exit, external, flattenFeatures, flowPlugin, frameAt, frames, guide, haptic, hint, i18nPlugin, inputPlugin, label, lifecyclePlugin, load, mark, messageArgument, messageDuration, modelPlugin, music, mut, parallel, platformPlugin, play, popup, projection, ready, rendererPlugin, resolve, resource, scenesPlugin, schedule, screen, sequence, set, sfx, slot, spawn, spawned, sprite, stagger, stopSfx, system, tag, textPlugin, timePlugin, to, tr, tween, type, uiPlugin, use, wait, worldPlugin };
@@ -1,9 +1,9 @@
1
- import { Dr as Explained, Fn as JournalEntry, Ir as Api, Jr as Snapshot, Nn as FlowGraph, Tr as Api$1, Z as Api$2, _r as FrameDiff, ct as Under, fr as ComponentSchema, ft as RenderStats, gn as Position, gr as EntitySnapshot, h as Usage, t as Api$3 } from "./types-w5_A5TPL.mjs";
2
- import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-CJYudpme.mjs";
3
- import { c as UiNode } from "./types-BbLjYfGR.mjs";
4
- import { t as HeadlessApp } from "./headless-CtRq6Uij.mjs";
5
- import { a as InputArguments, d as WatchApp, f as WatchInput, l as Source, o as InputOf, s as InputSchema, t as CheatEntry } from "./types-ehmvA6yu.mjs";
6
- import { n as defineSource } from "./define-DE1XcBwC.mjs";
1
+ import { Dr as Explained, Fn as JournalEntry, Ir as Api, Jr as Snapshot, Nn as FlowGraph, Tr as Api$1, Z as Api$2, _r as FrameDiff, ct as Under, fr as ComponentSchema, ft as RenderStats, gn as Position, gr as EntitySnapshot, h as Usage, t as Api$3 } from "./types--QXvRPXM.mjs";
2
+ import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-CgrPwBjC.mjs";
3
+ import { c as UiNode } from "./types-CXbcEveH.mjs";
4
+ import { t as HeadlessApp } from "./headless-DhNDRVXy.mjs";
5
+ import { a as InputArguments, d as WatchApp, f as WatchInput, l as Source, o as InputOf, s as InputSchema, t as CheatEntry } from "./types-CJzm90e_.mjs";
6
+ import { n as defineSource } from "./define-CegLUMAK.mjs";
7
7
 
8
8
  //#region src/plugins/flow/doors/read.d.ts
9
9
  /**
@@ -1,2 +1,2 @@
1
- import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-CmRqaHmz.mjs";
1
+ import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-a9AK--Fj.mjs";
2
2
  export { Fragment, type JSX, jsx, jsxDEV, jsxs };
@@ -1,2 +1,2 @@
1
- import { a as jsxs, n as JSX, r as jsx, t as Fragment } from "./runtime-CmRqaHmz.mjs";
1
+ import { a as jsxs, n as JSX, r as jsx, t as Fragment } from "./runtime-a9AK--Fj.mjs";
2
2
  export { Fragment, type JSX, jsx, jsxs };
@@ -1,4 +1,4 @@
1
- import { _ as UiIntrinsicElements, a as JsxChild, t as DescriptionNode } from "./types-BbLjYfGR.mjs";
1
+ import { _ as UiIntrinsicElements, a as JsxChild, t as DescriptionNode } from "./types-CXbcEveH.mjs";
2
2
 
3
3
  //#region src/plugins/ui/jsx/runtime.d.ts
4
4
  /** What the compiler passes as props: the children plus whatever the tag declared. */
@@ -19198,7 +19198,8 @@ const NOW = {
19198
19198
  c: 0,
19199
19199
  d: 1,
19200
19200
  tx: 0,
19201
- ty: 0
19201
+ ty: 0,
19202
+ under: false
19202
19203
  };
19203
19204
  /** What a kept record owes `refresh`: nothing, the filter output, or the pre-pass results and the filter output. */
19204
19205
  const OWED = {
@@ -19269,15 +19270,16 @@ function drawsDirect(stack) {
19269
19270
  * filter with a quad, no inputs, on `"inherit"`, at the canvas resolution, and not drawn direct. An `Alpha` beside it does
19270
19271
  * not fit: stage 3 draws `F(A·x)` in stack order, the mesh would draw `A·F(x)`, and for a body that is not alpha-linear
19271
19272
  * the picture would pop at every entry. A top that blends otherwise never gets here: `pictureWhy` refuses it. A mesh
19272
- * destroyed with a parent around it has nothing left to draw on. Read on `NOW`, once a step; allocates nothing.
19273
+ * destroyed with a parent around it has nothing left to draw on. Allocates nothing.
19273
19274
  *
19274
19275
  * @param kctx - The kept context.
19275
19276
  * @param record - The record.
19277
+ * @param stack - The stack of this frame.
19276
19278
  * @returns True when it fits.
19277
19279
  */
19278
- function shadeFits(kctx, record) {
19279
- if (kctx.host.kind() !== "webgpu" || NOW.enabled !== 1) return false;
19280
- if (NOW.rs !== NOW.r || drawsDirect(NOW)) return false;
19280
+ function shadeFits(kctx, record, stack) {
19281
+ if (kctx.host.kind() !== "webgpu" || stack.enabled !== 1) return false;
19282
+ if (stack.rs !== NOW.r || drawsDirect(stack)) return false;
19281
19283
  const slot = enabledSlot(record.slots);
19282
19284
  const bodyOnQuad = slot?.quad !== void 0 && slot.inputs === void 0;
19283
19285
  const followsCanvas = slot?.filter.resolution === "inherit";
@@ -19393,8 +19395,8 @@ function drawnAnyway(kctx, node) {
19393
19395
  return node.renderable || kctx.sync.hiddenOnlyAmong(kctx.hidden, node, DRAWN_ANYWAY);
19394
19396
  }
19395
19397
  /**
19396
- * Tells whether an ancestor filters a placed record's view: a filter of its own or its kept picture. A placed filter's
19397
- * canvas position would then not be the canvas pixel live.
19398
+ * Tells whether an ancestor filters a placed record's view: a filter of its own or its kept picture. Live, the canvas
19399
+ * position of a placed filter is then relative to that filter's texture.
19398
19400
  *
19399
19401
  * @param kctx - The kept context.
19400
19402
  * @param record - The record.
@@ -19406,23 +19408,27 @@ function filtersPlaced(kctx, record, node) {
19406
19408
  }
19407
19409
  /**
19408
19410
  * Tells whether an ancestor draws what is under it as a picture would: visible, untinted, blending normally, drawn (an
19409
- * overlay's range and a kept ancestor's picture count), and for a placed filter holding no filter (its canvas position
19410
- * would not be the canvas pixel live). Its alpha is not read (F113): the quad hangs in the top's parent and Pixi
19411
- * multiplies it by the ancestors' alpha, while stage 1 renders the top as a root without them. A fading ancestor so
19412
- * draws the picture at `A·F(x)`, live draws `F(A·x)`: the same for an alpha-linear filter, the whole picture faded for
19413
- * one that is not.
19411
+ * overlay's range and a kept ancestor's picture count). For a placed filter it may also hold a filter, noted in
19412
+ * `NOW.under`, while the record fits the mode: a stage 3 picture would hold the wrong place, the record's own body on its
19413
+ * quad reads the canvas place from the world transform, whatever target the ancestor renders into. Its alpha is not read
19414
+ * (F113): the quad hangs in the top's parent and Pixi multiplies it by the ancestors' alpha, while stage 1 renders the
19415
+ * top as a root without them. A fading ancestor so draws the picture at `A·F(x)`, live draws `F(A·x)`: the same for an
19416
+ * alpha-linear filter, the whole picture faded for one that is not.
19414
19417
  *
19415
19418
  * @param kctx - The kept context.
19416
19419
  * @param record - The record.
19417
19420
  * @param node - The ancestor.
19421
+ * @param stack - The stack of this frame.
19418
19422
  * @returns 0 when it does, else the `WHY` it does not.
19419
19423
  */
19420
- function ancestorWhy(kctx, record, node) {
19424
+ function ancestorWhy(kctx, record, node, stack) {
19421
19425
  if (!node.visible) return WHY.ancestorHidden;
19422
19426
  if (node.tint !== WHITE$2) return WHY.ancestorTint;
19423
19427
  if (!plainBlend(node.blendMode)) return WHY.ancestorBlend;
19424
19428
  if (!drawnAnyway(kctx, node)) return WHY.ancestorHidden;
19425
- return filtersPlaced(kctx, record, node) ? WHY.placedUnderFilter : 0;
19429
+ if (!filtersPlaced(kctx, record, node)) return 0;
19430
+ NOW.under = true;
19431
+ return shadeFits(kctx, record, stack) ? 0 : WHY.placedUnderFilter;
19426
19432
  }
19427
19433
  /**
19428
19434
  * Tells whether every ancestor up to the stage draws the view as a picture would (`ancestorWhy`).
@@ -19430,12 +19436,13 @@ function ancestorWhy(kctx, record, node) {
19430
19436
  * @param kctx - The kept context.
19431
19437
  * @param record - The record.
19432
19438
  * @param stage - The stage of the application.
19439
+ * @param stack - The stack of this frame.
19433
19440
  * @returns 0 when they do, else the `WHY` of the first that does not.
19434
19441
  */
19435
- function ancestorsWhy(kctx, record, stage) {
19442
+ function ancestorsWhy(kctx, record, stage, stack) {
19436
19443
  for (let node = record.top.parent; node !== stage; node = node.parent) {
19437
19444
  if (node === null) return WHY.ancestorHidden;
19438
- const why = ancestorWhy(kctx, record, node);
19445
+ const why = ancestorWhy(kctx, record, node, stack);
19439
19446
  if (why !== 0) return why;
19440
19447
  }
19441
19448
  return 0;
@@ -19459,7 +19466,7 @@ function eligible(kctx, record, view, stack) {
19459
19466
  const picture = pictureWhy(record.top, view);
19460
19467
  if (picture !== 0) return picture;
19461
19468
  if (!topDrawn(kctx.sync, view)) return WHY.hidden;
19462
- return ancestorsWhy(kctx, record, stage);
19469
+ return ancestorsWhy(kctx, record, stage, stack);
19463
19470
  }
19464
19471
  /**
19465
19472
  * Tells whether the kept cache may keep anything this frame: switched on and not bypassed.
@@ -19950,7 +19957,7 @@ function renderStages(kctx, pixi, matrices, record, view, now) {
19950
19957
  return ok;
19951
19958
  }
19952
19959
  record.direct = false;
19953
- if (record.shaded && !shadeFits(kctx, record)) leaveShade(record);
19960
+ meshForTake(kctx, pixi, record, ok);
19954
19961
  if (ok && first !== void 0) renderStage2(kctx, pixi, matrices, record, {
19955
19962
  inputs: first.inputs,
19956
19963
  resolution: now.r,
@@ -19964,6 +19971,23 @@ function renderStages(kctx, pixi, matrices, record, view, now) {
19964
19971
  return ok;
19965
19972
  }
19966
19973
  /**
19974
+ * Settles what a take draws through, before its output: a stack that stopped fitting leaves before anything is drawn
19975
+ * for it, and the frame draws a sprite of stage 3. Under a filter there is no sprite to draw, so a picture that rendered
19976
+ * goes on the mesh; the sprite a mesh takes the place of may not exist yet.
19977
+ *
19978
+ * @param kctx - The kept context.
19979
+ * @param pixi - The module that draws.
19980
+ * @param record - The record, its take keys written.
19981
+ * @param ok - Stage 1 rendered.
19982
+ */
19983
+ function meshForTake(kctx, pixi, record, ok) {
19984
+ if (record.shaded && !shadeFits(kctx, record, NOW)) leaveShade(record);
19985
+ const quad = enabledSlot(record.slots)?.quad;
19986
+ if (!ok || !NOW.under || record.shaded || quad === void 0) return;
19987
+ quadDrawing(pixi, record, record.s3 ?? pixi.Texture.EMPTY);
19988
+ enterShade(kctx, pixi, record, quad, NOW);
19989
+ }
19990
+ /**
19967
19991
  * Puts the filters of a live record whose take failed back on its top: it draws live again.
19968
19992
  *
19969
19993
  * @param kctx - The kept context.
@@ -20339,7 +20363,8 @@ function retakeOrGoLive(kctx, pixi, matrices, record, view, why) {
20339
20363
  }
20340
20364
  /**
20341
20365
  * A stage-1 change of a kept record (P4.3): retaken, or after three in a row drawn live and calm, so it stands still
20342
- * for eight frames before the next take.
20366
+ * for eight frames before the next take. Under a filter it is always retaken: live, a body that reads its place reads
20367
+ * another one, and a glow would jump; only a refused take or an eviction goes live there.
20343
20368
  *
20344
20369
  * @param kctx - The kept context.
20345
20370
  * @param pixi - The module that draws.
@@ -20350,7 +20375,7 @@ function retakeOrGoLive(kctx, pixi, matrices, record, view, why) {
20350
20375
  */
20351
20376
  function churn(kctx, pixi, matrices, record, view, why) {
20352
20377
  record.churn += 1;
20353
- if (record.churn < 3) {
20378
+ if (record.churn < 3 || NOW.under) {
20354
20379
  retakeOrGoLive(kctx, pixi, matrices, record, view, why);
20355
20380
  return;
20356
20381
  }
@@ -20631,10 +20656,11 @@ function refresh$1(kctx, pixi, matrices, record, view, hold) {
20631
20656
  * @returns True when the record was taken whole.
20632
20657
  */
20633
20658
  function refreshOutput(kctx, pixi, matrices, record, view, hold) {
20634
- const fits = shadeFits(kctx, record);
20659
+ const fits = shadeFits(kctx, record, NOW);
20635
20660
  const unfit = record.shaded && !fits;
20636
20661
  if (unfit) leaveShade(record);
20637
- const owed = Math.max(stagesOwed(record, hold), unfit ? OWED.output : OWED.none);
20662
+ const unplaced = unfit || NOW.under && !record.shaded;
20663
+ const owed = Math.max(stagesOwed(record, hold), unplaced ? OWED.output : OWED.none);
20638
20664
  if (owed === OWED.none) return leaveAtRest(kctx, pixi, matrices, record, view, hold);
20639
20665
  const chain = owed === OWED.chain;
20640
20666
  const why = refreshWhy(record, chain, hold);
@@ -20644,6 +20670,7 @@ function refreshOutput(kctx, pixi, matrices, record, view, hold) {
20644
20670
  }
20645
20671
  const inputs = firstInputs(record.slots)?.inputs;
20646
20672
  if (inputs === void 0 && record.s2Of !== void 0) releaseInputs(kctx, record);
20673
+ record.direct = false;
20647
20674
  if (!unfit && enterShadeWhenDue(kctx, pixi, record, owed, fits)) {
20648
20675
  redrawShade(kctx, pixi, matrices, record);
20649
20676
  return false;
@@ -20654,7 +20681,6 @@ function refreshOutput(kctx, pixi, matrices, record, view, hold) {
20654
20681
  padding: NOW.P
20655
20682
  });
20656
20683
  noteTake(kctx, record, why);
20657
- record.direct = false;
20658
20684
  renderStage3(kctx, pixi, matrices, record, NOW);
20659
20685
  account(kctx, record);
20660
20686
  if (!chain) kctx.state.refreshesOpen += 1;
@@ -20691,7 +20717,8 @@ function redrawShade(kctx, pixi, matrices, record) {
20691
20717
  /**
20692
20718
  * Counts an output owed by a record on its sprite, and puts the record on its mesh when it is due: stage 3 alone was owed
20693
20719
  * more than `QUAD_AFTER` times without a gap of `CALM_AFTER` frames, and it fits. The gap rule, not a reset on a quiet
20694
- * frame: a tween that writes every second frame reaches the mode. A shaded record counts nothing.
20720
+ * frame: a tween that writes every second frame reaches the mode. Under a filter nothing is counted: it may draw no other
20721
+ * way. A shaded record counts nothing.
20695
20722
  *
20696
20723
  * @param kctx - The kept context.
20697
20724
  * @param pixi - The module that draws.
@@ -20706,9 +20733,7 @@ function enterShadeWhenDue(kctx, pixi, record, owed, fits) {
20706
20733
  record.outputRuns = frame - record.outputAt > 8 ? 1 : record.outputRuns + 1;
20707
20734
  record.outputAt = frame;
20708
20735
  const quad = enabledSlot(record.slots)?.quad;
20709
- const outputAlone = owed === OWED.output;
20710
- const ranLong = record.outputRuns > 2;
20711
- if (!outputAlone || !fits || !ranLong || quad === void 0) return false;
20736
+ if (!(NOW.under || owed === OWED.output && record.outputRuns > 2) || !fits || quad === void 0) return false;
20712
20737
  return enterShade(kctx, pixi, record, quad, NOW);
20713
20738
  }
20714
20739
  /**
@@ -20725,7 +20750,8 @@ function shadedCalm(state, record) {
20725
20750
  * A shaded record that owes nothing and stood `QUAD_CALM` frames goes back to its sprite (F126 stage 2): a resting mesh
20726
20751
  * runs the whole body every frame. Under `limitLeft`, shared with the refining and the settle, it stays shaded in a frame
20727
20752
  * the limit is spent. It counts as a refresh. The pixels do not change, so the pass marks nothing above; a stack whose
20728
- * resolution moved under a held step is taken whole, as `refresh` takes it, and that does change them.
20753
+ * resolution moved under a held step is taken whole, as `refresh` takes it, and that does change them. Under a filter
20754
+ * it stays: its clock starts over, so a calm frame leaves it alone until it comes round again.
20729
20755
  *
20730
20756
  * @param kctx - The kept context.
20731
20757
  * @param pixi - The module that draws.
@@ -20737,6 +20763,7 @@ function shadedCalm(state, record) {
20737
20763
  */
20738
20764
  function leaveAtRest(kctx, pixi, matrices, record, view, hold) {
20739
20765
  const { state } = kctx;
20766
+ if (shadedCalm(state, record) && NOW.under) record.shadedAt = state.frame;
20740
20767
  if (!shadedCalm(state, record) || !limitLeft(kctx)) return false;
20741
20768
  leaveShade(record);
20742
20769
  if (hold && record.key[KEY.rs] !== NOW.rs) {
@@ -20870,6 +20897,7 @@ function stepRecord(kctx, pixi, matrices, record, view) {
20870
20897
  record.idleSeen = false;
20871
20898
  }
20872
20899
  readStack(record.slots, pixi.AlphaFilter, NOW);
20900
+ NOW.under = false;
20873
20901
  const why = eligible(kctx, record, view, NOW);
20874
20902
  if (why === 0) stepEligible(kctx, pixi, matrices, record, view);
20875
20903
  else stepIneligible(kctx, record, view, why);
@@ -21007,6 +21035,8 @@ function bypassRecord(kctx, record, view, live) {
21007
21035
  * logged, every record goes live and every range is owed a render (the policy takes them again). The call site guards
21008
21036
  * it inline, so a production bundle drops this module.
21009
21037
  */
21038
+ /** What the read of the live frame answers when the frame is not compared. */
21039
+ const PLACE_DIFFERS = "place";
21010
21040
  /**
21011
21041
  * Tells whether a kept record's quad stands off its picture's grid: it is moving, drawn scaled to another linear part
21012
21042
  * than at the take (F67), or drawn at another resolution than the canvas after a step (F126), and sampled linearly
@@ -21036,6 +21066,81 @@ function faded(record) {
21036
21066
  return false;
21037
21067
  }
21038
21068
  /**
21069
+ * Where a filter pass starts on one axis, as Pixi works it out (`FilterSystem._calculateFilterBounds`): the bounds cut to
21070
+ * the canvas while the stack clips to it, floored to the pass's grid, then padded. Pure.
21071
+ *
21072
+ * @param start - The bounds' start on the canvas, CSS px.
21073
+ * @param resolution - The pass's resolution.
21074
+ * @param padding - The pass's padding, whole px.
21075
+ * @param clipped - Every enabled filter of the stack has `clipToViewport` on.
21076
+ * @returns The pass's start, CSS px.
21077
+ * @example
21078
+ * ```ts
21079
+ * passStart(-5, 1, 8, true); // -8
21080
+ * ```
21081
+ */
21082
+ function passStart(start, resolution, padding, clipped) {
21083
+ return Math.floor((clipped ? Math.max(start, 0) : start) * resolution) / resolution - padding;
21084
+ }
21085
+ /**
21086
+ * The box a filter pass over a node measures, on the node's own axes: its filter area when it holds one, which replaces
21087
+ * the bounds, else what its subtree draws. Read with every picture live: the tree then holds the views, not their quads,
21088
+ * which stand padded.
21089
+ *
21090
+ * @param pixi - The module that draws.
21091
+ * @param node - The node.
21092
+ * @returns The box.
21093
+ */
21094
+ function passBox(pixi, node) {
21095
+ const area = node.filterArea;
21096
+ if (area === null || area === void 0) return drawnBounds(pixi, node);
21097
+ const { x, y, width, height } = area;
21098
+ return {
21099
+ minX: x,
21100
+ minY: y,
21101
+ maxX: x + width,
21102
+ maxY: y + height
21103
+ };
21104
+ }
21105
+ /**
21106
+ * Tells whether a filter pass over a node starts off the canvas origin.
21107
+ *
21108
+ * @param kctx - The kept context.
21109
+ * @param pixi - The module that draws.
21110
+ * @param node - The node.
21111
+ * @param filters - Its enabled filters.
21112
+ * @returns True when it does.
21113
+ */
21114
+ function passOffOrigin(kctx, pixi, node, filters) {
21115
+ const canvasResolution = kctx.host.resolution();
21116
+ const resolutions = filters.map(({ resolution }) => resolution === "inherit" ? canvasResolution : resolution);
21117
+ const resolution = Math.min(...resolutions);
21118
+ const clipped = filters.every((filter) => filter.clipToViewport);
21119
+ const padding = Math.trunc(filters.reduce((sum, filter) => sum + filter.padding, 0));
21120
+ const { a, b, c, d, tx, ty } = node.getGlobalTransform(new pixi.Matrix(), false);
21121
+ const box = linearBounds(a, b, c, d, passBox(pixi, node));
21122
+ return passStart(tx + box.x0, resolution, padding, clipped) !== 0 || passStart(ty + box.y0, resolution, padding, clipped) !== 0;
21123
+ }
21124
+ /**
21125
+ * Tells whether a shaded placed record hangs under a filter whose pass starts off the canvas origin. Live, its body
21126
+ * reads a place relative to that pass's texture; on the mesh it reads the canvas (spec 23 P8.3). The two differ by that
21127
+ * origin by design, not by a stale picture. Only the closest filter counts: Pixi offsets by that one alone. Read with
21128
+ * every picture live: a kept ancestor's filters are back on its top, and the views are back in the tree.
21129
+ *
21130
+ * @param kctx - The kept context.
21131
+ * @param record - The record, kept.
21132
+ * @returns True when the frame is not compared.
21133
+ */
21134
+ function placeDiffers(kctx, record) {
21135
+ const pixi = kctx.host.pixi();
21136
+ if (!record.shaded || record.category !== "placed" || pixi === void 0) return false;
21137
+ for (let node = record.top.parent; node !== null; node = node.parent) {
21138
+ const filters = node.filters?.filter((filter) => filter.enabled) ?? [];
21139
+ if (filters.length > 0) return passOffOrigin(kctx, pixi, node, filters);
21140
+ }
21141
+ return false;
21142
+ }
21143
+ /**
21039
21144
  * Tells whether the padded picture of a kept record reaches past the canvas edge, where Pixi clips the live filter.
21040
21145
  *
21041
21146
  * @param record - The record, kept.
@@ -21124,9 +21229,9 @@ function logStale(kctx, pixels, records, ranges) {
21124
21229
  }
21125
21230
  /**
21126
21231
  * The pixel leg after a drawn frame: the picture as drawn against the same frame with every picture live. Frames in
21127
- * which a picture moves off its grid, was drawn at another resolution (F126), is translucent itself (F120) or hangs
21128
- * under a translucent ancestor (F113) are skipped and counted; at rest, opaque, under opaque ancestors every picture is
21129
- * compared.
21232
+ * which a picture moves off its grid, was drawn at another resolution (F126), is translucent itself (F120), hangs
21233
+ * under a translucent ancestor (F113) or reads its place under a filter off the canvas origin are skipped and counted;
21234
+ * at rest, opaque, under opaque ancestors every picture is compared.
21130
21235
  *
21131
21236
  * @param kctx - The kept context.
21132
21237
  * @param bypass - Draws every kept record live (true) or as its picture again (false).
@@ -21144,7 +21249,11 @@ function verifyPictures(kctx, bypass, recover) {
21144
21249
  const resolution = host.resolution();
21145
21250
  const drawn = host.pixels(resolution);
21146
21251
  if (drawn === void 0) return;
21147
- const live = drawLive(kctx, bypass, () => host.pixels(resolution));
21252
+ const live = drawLive(kctx, bypass, () => records.some((record) => placeDiffers(kctx, record)) ? PLACE_DIFFERS : host.pixels(resolution));
21253
+ if (live === PLACE_DIFFERS) {
21254
+ state.verifySkipped += 1;
21255
+ return;
21256
+ }
21148
21257
  if (live === void 0 || live.length !== drawn.length) return;
21149
21258
  const screen = host.screen();
21150
21259
  const width = screen === void 0 ? 0 : Math.round(screen.width * resolution);
@@ -27767,8 +27876,11 @@ function renderPassesOf(state, kept) {
27767
27876
  * ends the warm-up of the application: a throw inside Pixi's render leaves its filter stack unbalanced, which no public
27768
27877
  * API rebalances, so another probe would only throw again. A filter handed over with its quad draws a mesh of that
27769
27878
  * program after it, on WebGPU, inside an error scope: a quad program that does not fit its pipeline fails asynchronously,
27770
- * as a blank view with nothing in the logs, and this is the one place such a fault can be seen. The end of a run
27771
- * reaches the monitor through `onWarm`; this file never imports the monitor (LEAD-FIXES-3 O24).
27879
+ * as a blank view with nothing in the logs, and this is the one place such a fault can be seen. A mesh draws onto the
27880
+ * canvas, or inside an outer filter pass or picture, whose target holds no stencil: another pipeline. The texture of the
27881
+ * texture variants cannot make it (a clip gave it a stencil for good), so that draw goes into a second texture no clip
27882
+ * ever draws into, in the frame of the first. The end of a run reaches the monitor through `onWarm`; this file never
27883
+ * imports the monitor (LEAD-FIXES-3 O24).
27772
27884
  */
27773
27885
  /** The side of every probe, in CSS pixels: the smallest thing that still draws a triangle. */
27774
27886
  const PROBE_SIZE = 4;
@@ -27803,6 +27915,8 @@ const TEXTURE_VARIANTS = Object.freeze(["texture", "texture+clip"]);
27803
27915
  const CANVAS_VARIANT = Object.freeze(["canvas"]);
27804
27916
  /** WebGL on a canvas that is not cleared: the one variant that leaves no pixel. */
27805
27917
  const TEXTURE_VARIANT = Object.freeze(["texture"]);
27918
+ /** The second draw of a quad: a target with no stencil, as an outer filter pass or a picture is. */
27919
+ const PLAIN_VARIANT = Object.freeze(["plain"]);
27806
27920
  /**
27807
27921
  * The per-particle properties `effects` uploads every frame: the vertex layout its particle pipeline is keyed by.
27808
27922
  *
@@ -27874,6 +27988,13 @@ function buildObjects(pixi) {
27874
27988
  autoGarbageCollect: false,
27875
27989
  label: "renderer.warm.texture"
27876
27990
  });
27991
+ const plain = pixi.RenderTexture.create({
27992
+ width: PROBE_SIZE,
27993
+ height: PROBE_SIZE,
27994
+ antialias: false,
27995
+ autoGarbageCollect: false,
27996
+ label: "renderer.warm.plain"
27997
+ });
27877
27998
  const holder = new pixi.Container();
27878
27999
  const graphics = new pixi.Graphics().rect(0, 0, PROBE_SIZE, PROBE_SIZE).fill(16777215);
27879
28000
  root.label = "renderer.warm";
@@ -27890,6 +28011,7 @@ function buildObjects(pixi) {
27890
28011
  clip,
27891
28012
  mask,
27892
28013
  target,
28014
+ plain,
27893
28015
  holder,
27894
28016
  list: [],
27895
28017
  sprite: whiteSprite(pixi),
@@ -27959,6 +28081,7 @@ function dropObjects(warm) {
27959
28081
  ];
27960
28082
  for (const node of nodes) node?.destroy({ children: true });
27961
28083
  destroyWhole(objects.target);
28084
+ destroyWhole(objects.plain);
27962
28085
  }
27963
28086
  /**
27964
28087
  * Logs one warning once per key: a probe tree Pixi could not build, or the canvas variants left out.
@@ -28002,8 +28125,8 @@ function enqueue$1(warm, subject, variants) {
28002
28125
  });
28003
28126
  }
28004
28127
  /**
28005
- * Queues the draws of a filter, then the one draw of its quad. A quad program is a WebGPU program: WebGL draws the
28006
- * filter alone.
28128
+ * Queues the draws of a filter, then the two of its quad: one for the canvas, one for a target with no stencil. A quad
28129
+ * program is a WebGPU program: WebGL draws the filter alone.
28007
28130
  *
28008
28131
  * @param sctx - Domain context of the sync module.
28009
28132
  * @param filter - The filter.
@@ -28020,7 +28143,11 @@ function enqueueFilter(sctx, filter, variants) {
28020
28143
  filter,
28021
28144
  quad
28022
28145
  }, once);
28023
- return variants.length + once.length;
28146
+ enqueue$1(warm, {
28147
+ filter,
28148
+ quad
28149
+ }, PLAIN_VARIANT);
28150
+ return variants.length + once.length + PLAIN_VARIANT.length;
28024
28151
  }
28025
28152
  /**
28026
28153
  * Tells whether the renderer can warm anything now: the config asks for draws, a device draws, and no probe threw on
@@ -28317,14 +28444,14 @@ function drawProbe(sctx, pixi, objects, draw) {
28317
28444
  const node = nodeOf$1(pixi, warm, objects, draw.subject);
28318
28445
  if (node === void 0) return true;
28319
28446
  const clipped = draw.variant === "canvas+clip" || draw.variant === "texture+clip";
28320
- const textured = draw.variant === "texture" || draw.variant === "texture+clip";
28447
+ const target = draw.variant === "texture" || draw.variant === "texture+clip" ? objects.target : void 0;
28321
28448
  if (clipped) {
28322
28449
  objects.clip.addChild(node);
28323
28450
  objects.root.addChild(objects.clipFrame);
28324
28451
  } else objects.root.addChild(node);
28325
28452
  const scope = openScope(sctx, draw.subject);
28326
28453
  try {
28327
- sctx.deps.host.renderProbe(objects.root, textured ? objects.target : void 0);
28454
+ sctx.deps.host.renderProbe(objects.root, draw.variant === "plain" ? objects.plain : target);
28328
28455
  return true;
28329
28456
  } catch (error) {
28330
28457
  failWarm(sctx, draw, error);
@@ -28385,10 +28512,31 @@ function objectsOf$1(sctx, pixi) {
28385
28512
  }
28386
28513
  }
28387
28514
  /**
28388
- * Draws up to `renderer.warm` probes before the stage pass of a drawn frame; answers whether it drew any, so the frame
28389
- * is told to `time` as a probed one. A draw is counted only after its own render call ran; a queue that still holds
28390
- * draws asks for the next frame; a probe that threw ends the warm-up there. Allocates nothing while the queue is empty,
28391
- * and nothing but Pixi's own work on a warm frame: the probe tree is made once per device.
28515
+ * Tells whether the next draw of the queue goes with the one before it: a quad's draw into the plain texture.
28516
+ *
28517
+ * @param warm - The warm branch of the sync state.
28518
+ * @returns True when it asks for no frame of its own.
28519
+ */
28520
+ function ridesAlong(warm) {
28521
+ return warm.queue[warm.head]?.variant === "plain";
28522
+ }
28523
+ /**
28524
+ * Tells whether a warm frame draws one more probe: one is queued, and the budget has room or it asks for none.
28525
+ *
28526
+ * @param warm - The warm branch of the sync state.
28527
+ * @param drawn - The draws of this frame so far.
28528
+ * @param budget - `renderer.warm`.
28529
+ * @returns True when it does.
28530
+ */
28531
+ function wantsDraw(warm, drawn, budget) {
28532
+ return warm.head < warm.queue.length && (drawn < budget || ridesAlong(warm));
28533
+ }
28534
+ /**
28535
+ * Draws up to `renderer.warm` probes before the stage pass of a drawn frame, and the plain draw of a quad with the draw
28536
+ * before it; answers whether it drew any, so the frame is told to `time` as a probed one. A draw is counted only after
28537
+ * its own render call ran; a queue that still holds draws asks for the next frame; a probe that threw ends the warm-up
28538
+ * there. Allocates nothing while the queue is empty, and nothing but Pixi's own work on a warm frame: the probe tree is
28539
+ * made once per device.
28392
28540
  *
28393
28541
  * @param sctx - Domain context of the sync module.
28394
28542
  * @returns True when a probe was drawn in this frame.
@@ -28401,7 +28549,7 @@ function warmStep(sctx) {
28401
28549
  if (pixi === void 0 || objects === void 0) return false;
28402
28550
  const budget = sctx.ctx.config.warm;
28403
28551
  let drawn = 0;
28404
- while (drawn < budget && warm.head < warm.queue.length) {
28552
+ while (wantsDraw(warm, drawn, budget)) {
28405
28553
  const draw = warm.queue[warm.head];
28406
28554
  warm.head += 1;
28407
28555
  if (draw === void 0) continue;
@@ -1,7 +1,7 @@
1
- import { An as AnyFlow, Bn as Descriptor, Gn as NodeFx, In as NodeTable, Nr as FakeClock, On as FeaturePlugin, Wn as Hint, jr as ClockSource, zr as Json } from "./types-w5_A5TPL.mjs";
2
- import { t as createApp } from "./index-nK7iVsWx.mjs";
3
- import { b as memory, x as saveOf, y as WithGameState } from "./types-BlXL-VC3.mjs";
4
- import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-CtRq6Uij.mjs";
1
+ import { An as AnyFlow, Bn as Descriptor, Gn as NodeFx, In as NodeTable, Nr as FakeClock, On as FeaturePlugin, Wn as Hint, jr as ClockSource, zr as Json } from "./types--QXvRPXM.mjs";
2
+ import { t as createApp } from "./index-B1bdw4B2.mjs";
3
+ import { b as memory, x as saveOf, y as WithGameState } from "./types-Fbq4snuX.mjs";
4
+ import { a as createHeadless, i as ReproResult, n as HeadlessGame, o as runRepro, r as Repro, s as stepFrames, t as HeadlessApp } from "./headless-DhNDRVXy.mjs";
5
5
  import { AnyPluginInstance } from "@moku-labs/core";
6
6
 
7
7
  //#region src/plugins/clock/fake.d.ts
package/dist/testing.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { m as flattenFeatures, on as type, rn as exit, t as createApp, tn as refuseStart } from "./src-BTPWdbHH.mjs";
1
+ import { m as flattenFeatures, on as type, rn as exit, t as createApp, tn as refuseStart } from "./src-CZSz-mMz.mjs";
2
2
  import { n as saveOf, t as memory } from "./memory-CWlqhS7l.mjs";
3
3
  import { n as fakeClock } from "./fake-hnJcJeYf.mjs";
4
4
  import { i as stepFrames, r as runRepro, t as createHeadless } from "./headless-CCiUwvlp.mjs";
@@ -11613,7 +11613,7 @@ type FiltersApi = {
11613
11613
  * app, `warm: 0`), and `false` when the renderer stops first or a probe's render threw, which ends the warm-up of the
11614
11614
  * application (`renderer:warm-failed`). A filter handed over again on the same device answers `true` at once when its
11615
11615
  * draws were made. The renderer never destroys the filter. On WebGPU a `quad` asks for the pipelines of the filter's body
11616
- * on its mesh too, once, after the filter, so a kept view that later draws through it compiles
11616
+ * on its mesh too, two draws in one frame after the filter, so a kept view that later draws through it compiles
11617
11617
  * nothing in play; each of those draws runs in an error scope, and a program that does not fit logs
11618
11618
  * `renderer:warm-invalid` while the warm-up goes on. WebGL ignores it.
11619
11619
  *
@@ -12348,8 +12348,9 @@ type AreaEntry = {
12348
12348
  */
12349
12349
  type WarmSubject = "sprite" | "sprite-add" | "sprite-screen" | "graphics" | "particles-normal" | "particles-add" | "text" | PixiFilter | WarmQuad;
12350
12350
  /**
12351
- * A filter's body on its quad, as a probe of the warm-up draws it: on WebGPU, once, after the filter, in the first of
12352
- * the device's variants, so a kept view's first frame on its shader compiles nothing.
12351
+ * A filter's body on its quad, as a probe of the warm-up draws it: on WebGPU, after the filter, in the first of the
12352
+ * device's variants and into a target with no stencil, so a kept view's first frame on its shader compiles nothing: on
12353
+ * the canvas, under a filter of an ancestor, or inside an outer picture.
12353
12354
  */
12354
12355
  type WarmQuad = {
12355
12356
  readonly filter: PixiFilter;
@@ -12357,9 +12358,10 @@ type WarmQuad = {
12357
12358
  };
12358
12359
  /**
12359
12360
  * Where a probe draws: straight onto the canvas, or into a texture under a filter of the module's own, each with or
12360
- * without a stencil clip. A WebGPU pipeline is keyed by all four.
12361
+ * without a stencil clip. A WebGPU pipeline is keyed by all four. `"plain"` is a texture no clip ever drew into: the
12362
+ * texture of the texture variants keeps the stencil of its first clip, and a quad needs a target without one.
12361
12363
  */
12362
- type WarmVariant = "canvas" | "canvas+clip" | "texture" | "texture+clip";
12364
+ type WarmVariant = "canvas" | "canvas+clip" | "texture" | "texture+clip" | "plain";
12363
12365
  /**
12364
12366
  * One probe draw: one subject in one variant.
12365
12367
  */
@@ -12382,7 +12384,8 @@ type WarmObjects = {
12382
12384
  * The texture a texture variant is rendered into: the module's own, so the subject is drawn into a texture with no
12383
12385
  * filter around it, and a texture variant never touches the canvas.
12384
12386
  */
12385
- target: PixiRenderTexture; /** A filter subject's container: its `filters` is the draw's filter, during the draw only. */
12387
+ target: PixiRenderTexture; /** The texture of a `"plain"` draw: no stencil, since no clip ever draws into it. */
12388
+ plain: PixiRenderTexture; /** A filter subject's container: its `filters` is the draw's filter, during the draw only. */
12386
12389
  holder: PixiContainer; /** The one-entry list `holder.filters` is set from. */
12387
12390
  list: PixiFilter[];
12388
12391
  sprite: PixiSprite; /** The 4 × 4 white sprite of `sprite`, blending `"add"`: the batch pipeline of an added glow. */
@@ -1,5 +1,5 @@
1
- import { Jr as Snapshot, zr as Json } from "./types-w5_A5TPL.mjs";
2
- import { t as HeadlessApp } from "./headless-CtRq6Uij.mjs";
1
+ import { Jr as Snapshot, zr as Json } from "./types--QXvRPXM.mjs";
2
+ import { t as HeadlessApp } from "./headless-DhNDRVXy.mjs";
3
3
  import { Log } from "@moku-labs/common/browser";
4
4
 
5
5
  //#region src/plugins/flow/doors/types.d.ts
@@ -1,4 +1,4 @@
1
- import { $n as MotionHandle, Ar as Api$5, Bn as Descriptor, J as TransformValue, Jn as ChangeHook, Kn as Answer, Qn as MotionCause, Tr as Api$2, Wn as Hint, Xn as Ease, Z as Api$3, Zn as Motion, ai as Api, cr as AnyComponent, er as NumericFields, hi as Require, hr as Entity, ht as ViewportSize, lr as AnyComponentType, pr as ComponentType, qn as AnchorTarget, rr as ReducedMotion, s as Events$1, sr as ViewHandle, t as Api$4, tr as ProjectionMotion, un as Api$1, ur as AnyComponentValue, wr as TagType, zr as Json } from "./types-w5_A5TPL.mjs";
1
+ import { $n as MotionHandle, Ar as Api$5, Bn as Descriptor, J as TransformValue, Jn as ChangeHook, Kn as Answer, Qn as MotionCause, Tr as Api$2, Wn as Hint, Xn as Ease, Z as Api$3, Zn as Motion, ai as Api, cr as AnyComponent, er as NumericFields, hi as Require, hr as Entity, ht as ViewportSize, lr as AnyComponentType, pr as ComponentType, qn as AnchorTarget, rr as ReducedMotion, s as Events$1, sr as ViewHandle, t as Api$4, tr as ProjectionMotion, un as Api$1, ur as AnyComponentValue, wr as TagType, zr as Json } from "./types--QXvRPXM.mjs";
2
2
  import { Log } from "@moku-labs/common/browser";
3
3
  import { PluginCtx } from "@moku-labs/core";
4
4
  import { Node, Yoga } from "yoga-layout/load";
@@ -1,5 +1,5 @@
1
- import { $n as MotionHandle, A as FilterSlotQuad, Bn as Descriptor, Ir as Api$6, O as FilterSlot, Rr as Events$3, Tr as Api$3, Xn as Ease, Z as Api$4, ai as Api$1, ar as TrackOptions, at as PixiUniformGroup, b as Events$4, cr as AnyComponent, dr as ComponentHandle, er as NumericFields, et as PixiFilter, gt as FilterCache, hi as Require, hr as Entity, it as PixiTexture, j as SyncApi, k as FilterSlotInputs, mi as Events$2, mt as Point, nt as PixiModule, or as TrackSegment, pr as ComponentType, qn as AnchorTarget, rr as ReducedMotion, rt as PixiSprite, s as Events$1, t as Api$5, ti as Events$5, tt as PixiGpuProgram, un as Api$2, ur as AnyComponentValue, zn as TypeTag, zr as Json } from "./types-w5_A5TPL.mjs";
2
- import { H as I18nApi, L as InputApi, T as TextApi, c as UiNode, et as StylesState, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion } from "./types-BbLjYfGR.mjs";
1
+ import { $n as MotionHandle, A as FilterSlotQuad, Bn as Descriptor, Ir as Api$6, O as FilterSlot, Rr as Events$3, Tr as Api$3, Xn as Ease, Z as Api$4, ai as Api$1, ar as TrackOptions, at as PixiUniformGroup, b as Events$4, cr as AnyComponent, dr as ComponentHandle, er as NumericFields, et as PixiFilter, gt as FilterCache, hi as Require, hr as Entity, it as PixiTexture, j as SyncApi, k as FilterSlotInputs, mi as Events$2, mt as Point, nt as PixiModule, or as TrackSegment, pr as ComponentType, qn as AnchorTarget, rr as ReducedMotion, rt as PixiSprite, s as Events$1, t as Api$5, ti as Events$5, tt as PixiGpuProgram, un as Api$2, ur as AnyComponentValue, zn as TypeTag, zr as Json } from "./types--QXvRPXM.mjs";
2
+ import { H as I18nApi, L as InputApi, T as TextApi, c as UiNode, et as StylesState, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion } from "./types-CXbcEveH.mjs";
3
3
  import { Log } from "@moku-labs/common/browser";
4
4
  import { PluginCtx } from "@moku-labs/core";
5
5
 
@@ -1,7 +1,7 @@
1
- import { An as AnyFlow, Gr as ProviderCall, Kr as SaveDoc, Lr as Config, Nr as FakeClock, On as FeaturePlugin, Q as Config$2, Wr as PlayerStateProvider, Yr as SnapshotOf, a as Config$3, d as Manifest, fn as Config$1, jr as ClockSource, n as AssetsIo, nt as PixiModule, pt as Orientation, zn as TypeTag, zr as Json } from "./types-w5_A5TPL.mjs";
2
- import { o as AudioContextLike, s as Config$4 } from "./types-CJYudpme.mjs";
3
- import { H as I18nApi, J as TextKey, q as StringTable } from "./types-BbLjYfGR.mjs";
4
- import { St as effectsPlugin, Tt as audioPlugin, ht as PlatformProvider, i as screen, pt as platformPlugin, t as createApp } from "./index-nK7iVsWx.mjs";
1
+ import { An as AnyFlow, Gr as ProviderCall, Kr as SaveDoc, Lr as Config, Nr as FakeClock, On as FeaturePlugin, Q as Config$2, Wr as PlayerStateProvider, Yr as SnapshotOf, a as Config$3, d as Manifest, fn as Config$1, jr as ClockSource, n as AssetsIo, nt as PixiModule, pt as Orientation, zn as TypeTag, zr as Json } from "./types--QXvRPXM.mjs";
2
+ import { o as AudioContextLike, s as Config$4 } from "./types-CgrPwBjC.mjs";
3
+ import { H as I18nApi, J as TextKey, q as StringTable } from "./types-CXbcEveH.mjs";
4
+ import { St as effectsPlugin, Tt as audioPlugin, ht as PlatformProvider, i as screen, pt as platformPlugin, t as createApp } from "./index-B1bdw4B2.mjs";
5
5
  import { AnyPluginInstance } from "@moku-labs/core";
6
6
 
7
7
  //#region src/plugins/model/store/providers/memory.d.ts
@@ -1,9 +1,9 @@
1
- import { $r as Api$3, Ar as Api$4, Ir as Api$2, Tr as Api$1, Z as Api } from "./types-w5_A5TPL.mjs";
2
- import { P as AnimApi, r as UiApi } from "./types-CJYudpme.mjs";
3
- import { L as InputApi } from "./types-BbLjYfGR.mjs";
4
- import { r as Repro } from "./headless-CtRq6Uij.mjs";
5
- import { i as ControlApp, o as InputOf } from "./types-ehmvA6yu.mjs";
6
- import { t as commands } from "./commands-C6RMqrY8.mjs";
1
+ import { $r as Api$3, Ar as Api$4, Ir as Api$2, Tr as Api$1, Z as Api } from "./types--QXvRPXM.mjs";
2
+ import { P as AnimApi, r as UiApi } from "./types-CgrPwBjC.mjs";
3
+ import { L as InputApi } from "./types-CXbcEveH.mjs";
4
+ import { r as Repro } from "./headless-DhNDRVXy.mjs";
5
+ import { i as ControlApp, o as InputOf } from "./types-CJzm90e_.mjs";
6
+ import { t as commands } from "./commands-COLf1y-2.mjs";
7
7
 
8
8
  //#region src/visual/types.d.ts
9
9
  /** The base commands of the `/control` door, keyed by their short names. */
package/dist/visual.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as VisualApp, c as VisualRenderer, d as VisualStart, f as VisualStep, h as VisualTolerance, i as CheckpointResult, l as VisualReport, m as VisualTestResult, n as runVisualTests, o as VisualOptions, p as VisualTest, r as defineVisualTest, s as VisualPage, t as parseVisualArgv, u as VisualSetup } from "./visual-DvhjRhgP.mjs";
1
+ import { a as VisualApp, c as VisualRenderer, d as VisualStart, f as VisualStep, h as VisualTolerance, i as CheckpointResult, l as VisualReport, m as VisualTestResult, n as runVisualTests, o as VisualOptions, p as VisualTest, r as defineVisualTest, s as VisualPage, t as parseVisualArgv, u as VisualSetup } from "./visual-xduW0Ojp.mjs";
2
2
  export { type CheckpointResult, type VisualApp, type VisualOptions, type VisualPage, type VisualRenderer, type VisualReport, type VisualSetup, type VisualStart, type VisualStep, type VisualTest, type VisualTestResult, type VisualTolerance, defineVisualTest, parseVisualArgv, runVisualTests };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moku-labs/game",
3
- "version": "0.15.88",
3
+ "version": "0.15.89",
4
4
  "description": "2D puzzle game engine on TypeScript and PixiJS, built on @moku-labs/core.",
5
5
  "type": "module",
6
6
  "sideEffects": [