@moku-labs/game 0.15.74 → 0.15.76

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 { m as StartedPage, r as GameConfig, t as AnyGameApp, u as PageOptions } from "../types-Bk0UQUq-.mjs";
1
+ import { m as StartedPage, r as GameConfig, t as AnyGameApp, u as PageOptions } from "../types-UP4-RD_A.mjs";
2
2
 
3
3
  //#region src/app/page.d.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { Fr as PlayerStateProvider } from "../types-D090j5P7.mjs";
2
- import { ht as PlatformProvider } from "../index-D-e-E3NV.mjs";
3
- import { _ as SystemShellFactory, g as SystemName, h as SystemModules } from "../types-Bk0UQUq-.mjs";
1
+ import { Fr as PlayerStateProvider } from "../types-BEDkqJKu.mjs";
2
+ import { ht as PlatformProvider } from "../index-PrAYdg9-.mjs";
3
+ import { _ as SystemShellFactory, g as SystemName, h as SystemModules } from "../types-UP4-RD_A.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 { Ar as Json } from "./types-D090j5P7.mjs";
2
- import { U as StringTable } from "./types-eDu74x6O.mjs";
3
- import { a as GameHandle, c as MemoryProvider, d as SaveKind, f as Scenario, g as SystemName, i as GameDefinition, l as PageAgent, n as GameApp, o as GamePluginConfigs, p as ScreenSeams, r as GameConfig, s as HeadlessSeams, v as WithGameState } from "./types-Bk0UQUq-.mjs";
1
+ import { Ar as Json } from "./types-BEDkqJKu.mjs";
2
+ import { U as StringTable } from "./types-Bkdjj5Fy.mjs";
3
+ import { a as GameHandle, c as MemoryProvider, d as SaveKind, f as Scenario, g as SystemName, i as GameDefinition, l as PageAgent, n as GameApp, o as GamePluginConfigs, p as ScreenSeams, r as GameConfig, s as HeadlessSeams, v as WithGameState } from "./types-UP4-RD_A.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-D36RV9tq.mjs";
1
+ import { Ft as audioPlugin, H as platformPlugin, i as screen, m as flattenFeatures, t as createApp, wt as effectsPlugin } from "./src-CHyBg6X6.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-D090j5P7.mjs";
1
+ import { d as Manifest } from "./types-BEDkqJKu.mjs";
2
2
 
3
3
  //#region src/plugins/assets/scan/cli.d.ts
4
4
  /**
@@ -1,8 +1,8 @@
1
- import { D as DebugSwitches, Qr as FrameRate, Sn as Bookmark, Tn as FlowState, Vr as StoreApi, Wr as Api, Y as Api$1, gr as Api$2, ni as Time, ot as Captured, w as ScenesApi, zr as Snapshot } from "./types-D090j5P7.mjs";
2
- import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-BipKDDAU.mjs";
3
- import { N as InputApi } from "./types-eDu74x6O.mjs";
4
- import { t as HeadlessApp } from "./headless-D3iIdUix.mjs";
5
- import { n as Command, r as ControlApp } from "./types-DU7VUsD9.mjs";
1
+ import { D as DebugSwitches, Qr as FrameRate, Sn as Bookmark, Tn as FlowState, Vr as StoreApi, Wr as Api, Y as Api$1, gr as Api$2, ni as Time, ot as Captured, w as ScenesApi, zr as Snapshot } from "./types-BEDkqJKu.mjs";
2
+ import { P as AnimApi, a as AudioApi, h as EffectsApi, r as UiApi } from "./types-ZI525f5N.mjs";
3
+ import { N as InputApi } from "./types-Bkdjj5Fy.mjs";
4
+ import { t as HeadlessApp } from "./headless-Cgu6ie7C.mjs";
5
+ import { n as Command, r as ControlApp } from "./types-B0HZvmZZ.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-D3iIdUix.mjs";
2
- import { i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-DU7VUsD9.mjs";
3
- import { t as commands } from "./commands-D1tuKnq1.mjs";
4
- import { t as defineCommand } from "./define-C9Xx5ABN.mjs";
1
+ import { t as HeadlessApp } from "./headless-Cgu6ie7C.mjs";
2
+ import { i as InputArguments, n as Command, o as InputSchema, s as Ran } from "./types-B0HZvmZZ.mjs";
3
+ import { t as commands } from "./commands-B4_087j0.mjs";
4
+ import { t as defineCommand } from "./define-CVVpFTAJ.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-D3iIdUix.mjs";
2
- import { c as Source, n as Command, o as InputSchema } from "./types-DU7VUsD9.mjs";
1
+ import { t as HeadlessApp } from "./headless-Cgu6ie7C.mjs";
2
+ import { c as Source, n as Command, o as InputSchema } from "./types-B0HZvmZZ.mjs";
3
3
 
4
4
  //#region src/plugins/flow/doors/define.d.ts
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { Ar as Json, En as JournalEntry, Ln as Answer, On as RouteStep, Tn as FlowState, Ur as RngState, Xr as Api, nn as Api$1 } from "./types-D090j5P7.mjs";
1
+ import { Ar as Json, En as JournalEntry, Ln as Answer, On as RouteStep, Tn as FlowState, Ur as RngState, Xr as Api, nn as Api$1 } from "./types-BEDkqJKu.mjs";
2
2
 
3
3
  //#region src/plugins/flow/headless.d.ts
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { $r as RateChange, Ar as Json, B as ShapeValue, Bn as DescriptionNode, C as SceneSpec, Cn as DefineNode, Cr as Config$2, Dt as PassKind, F as NineSliceValue, Fn as Hint, Gn as NumericFields, Gr as Config$4, Hr as RngApi, Jn as ReducedMotion, Jr as State$4, K as TransformValue, Kn as ProjectionMotion, Kr as Events, L as OverlayValue, Ln as Answer, Mn as Effect, Mr as State$5, N as HudPartValue, Nn as EffectOptions, Or as Config$5, Pn as GuideOptions, Pr as Patch, S as SceneDefinition, T as State$7, Tr as State$2, U as SpriteOptions, Vn as Ease, Vr as StoreApi, W as SpriteValue, Wr as Api$3, X as Config$6, Xr as Api$5, Y as Api$4, Zr as Config$8, _ as AnySceneProjection, _r as Config$9, _t as FrameRing, a as Config$1, ai as Events$1, an as EmitterIdOf, ar as ComponentValue, bn as FeatureTree, c as LoadBundles, dr as QueryTerm, dt as ViewportSize, ei as State$8, f as ReadyBundles, fr as ResourceType, gr as Api$6, gt as FrameRecord, hr as TagType, i as BundleSpec, ii as Config$10, in as Config$3, ir as ComponentType, jn as Descriptor, jr as Root, kn as SceneIdOf, l as LoadReason, ln as State$3, lr as Mut, m as Tier, mr as SystemFor, nn as Api$2, nr as ComponentHandle, o as DefineBundles, oi as Require, on as GameTypes, p as State$1, pn as defineFlow, pr as SystemDefinition, q as sprite, qn as ProjectionSpec, qr as PauseReason, r as BundleMap, rn as BundlesOf, rt as State$6, sn as HudKeysOf, t as Api, ti as ThermalReading, u as LoadResult, un as TextStylesOf, ur as Narrowed, v as Config$7, vn as FeatureDescription, w as ScenesApi, x as LayerMap, xr as Api$1, y as DefineScene, yn as FeaturePlugin, yr as State$9 } from "./types-D090j5P7.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-BipKDDAU.mjs";
3
- import { B as Message, C as State$16, D as TextStyleInput, G as TypedTr, H as State$14, I as Argument, J as ResolvedStyle, L as Config$15, M as Config$16, N as InputApi, O as TextStyles, P as State$15, R as I18nApi, S as Point, T as TextBind, V as Part, W as TextKey, Y as Style, Z as WhenFlags, b as Config$17, g as IntrinsicElementsFor, h as defineTokens, j as defineComponent, k as TextValue, q as IsFlags, s as PopupComponent, v as BindField, w as TextApi, x as CountdownValue, y as BindOptions, z as IntlKit } from "./types-eDu74x6O.mjs";
1
+ import { $r as RateChange, Ar as Json, B as ShapeValue, Bn as DescriptionNode, C as SceneSpec, Cn as DefineNode, Cr as Config$2, Dt as PassKind, F as NineSliceValue, Fn as Hint, Gn as NumericFields, Gr as Config$4, Hr as RngApi, Jn as ReducedMotion, Jr as State$4, K as TransformValue, Kn as ProjectionMotion, Kr as Events, L as OverlayValue, Ln as Answer, Mn as Effect, Mr as State$5, N as HudPartValue, Nn as EffectOptions, Or as Config$5, Pn as GuideOptions, Pr as Patch, S as SceneDefinition, T as State$7, Tr as State$2, U as SpriteOptions, Vn as Ease, Vr as StoreApi, W as SpriteValue, Wr as Api$3, X as Config$6, Xr as Api$5, Y as Api$4, Zr as Config$8, _ as AnySceneProjection, _r as Config$9, _t as FrameRing, a as Config$1, ai as Events$1, an as EmitterIdOf, ar as ComponentValue, bn as FeatureTree, c as LoadBundles, dr as QueryTerm, dt as ViewportSize, ei as State$8, f as ReadyBundles, fr as ResourceType, gr as Api$6, gt as FrameRecord, hr as TagType, i as BundleSpec, ii as Config$10, in as Config$3, ir as ComponentType, jn as Descriptor, jr as Root, kn as SceneIdOf, l as LoadReason, ln as State$3, lr as Mut, m as Tier, mr as SystemFor, nn as Api$2, nr as ComponentHandle, o as DefineBundles, oi as Require, on as GameTypes, p as State$1, pn as defineFlow, pr as SystemDefinition, q as sprite, qn as ProjectionSpec, qr as PauseReason, r as BundleMap, rn as BundlesOf, rt as State$6, sn as HudKeysOf, t as Api, ti as ThermalReading, u as LoadResult, un as TextStylesOf, ur as Narrowed, v as Config$7, vn as FeatureDescription, w as ScenesApi, x as LayerMap, xr as Api$1, y as DefineScene, yn as FeaturePlugin, yr as State$9 } from "./types-BEDkqJKu.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-ZI525f5N.mjs";
3
+ import { B as Message, C as State$16, D as TextStyleInput, G as TypedTr, H as State$14, I as Argument, J as ResolvedStyle, L as Config$15, M as Config$16, N as InputApi, O as TextStyles, P as State$15, R as I18nApi, S as Point, T as TextBind, V as Part, W as TextKey, Y as Style, Z as WhenFlags, b as Config$17, g as IntrinsicElementsFor, h as defineTokens, j as defineComponent, k as TextValue, q as IsFlags, s as PopupComponent, v as BindField, w as TextApi, x as CountdownValue, y as BindOptions, z as IntlKit } from "./types-Bkdjj5Fy.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 { $t as ShaderWhat, At as PerfChange, Bn as DescriptionNode, Bt as PerfLongFrameLine, Ct as PERF_CAUSES, Dt as PassKind, E as types_d_exports$13, Er as types_d_exports$3, Et as PROBLEM_RULES, Ft as PerfEventLine, G as Transform, Gt as PerfStartupLine, H as SpriteBlend, Ht as PerfMeasured, I as Overlay, It as PerfEventName, J as AdaptiveScale, Jt as PoolTrimDetail, Kt as PerfTelemetryLine, L as OverlayValue, Lt as PerfGapLine, M as HudPart, Mt as PerfCollectorLine, N as HudPartValue, Nr as types_d_exports$10, Nt as PerfCounts, Ot as PassRecord, P as NineSlice, Pt as PerfDisplay, Qt as ShaderEventDetail, R as Parent, Rn as AnchorTarget, Rr as SaveUnreadableError, Rt as PerfHeaderLine, St as OverlayWhat, Tt as PERF_LOG_VERSION, Ut as PerfSampleLine, V as Sprite, Vt as PerfMarkLine, Wt as PerfSpikeLine, Xt as ProblemRule, Yn as SceneSwitch, Yr as types_d_exports$9, Yt as ProblemEventDetail, Z as MonitorConfig, Zt as SHADER_WHATS, _n as type, _t as FrameRing, at as types_d_exports$12, br as types_d_exports$17, bt as MonitorSections, dn as types_d_exports$6, en as WarmDetail, fn as contribution, g as types_d_exports$1, gn as to, gt as FrameRecord, hn as slot, ht as FrameReadout, j as Display, jt as PerfChangeEntry, kt as PerfCause, mn as exit, mt as FrameReadResult, nt as PoolTrim, pt as FrameColumns, q as sprite, qt as PerfThermalLine, ri as types_d_exports$15, st as MonitorCounts, tn as DEMAND_REASONS, vt as LongFrameEntry, wt as PERF_GAP_BUCKETS, xt as OverlayEventDetail, yt as MONITOR_SECTIONS, z as Shape, zt as PerfLogLine } from "./types-D090j5P7.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-BipKDDAU.mjs";
3
- import { A as types_d_exports$14, E as TextFormat, F as types_d_exports$8, K as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, j as defineComponent, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions } from "./types-eDu74x6O.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 defineTextStyles, N as Hovered, Nt as label, O as load, Ot as projection, P as Pointer, 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-D-e-E3NV.mjs";
1
+ import { $t as ShaderWhat, At as PerfChange, Bn as DescriptionNode, Bt as PerfLongFrameLine, Ct as PERF_CAUSES, Dt as PassKind, E as types_d_exports$13, Er as types_d_exports$3, Et as PROBLEM_RULES, Ft as PerfEventLine, G as Transform, Gt as PerfStartupLine, H as SpriteBlend, Ht as PerfMeasured, I as Overlay, It as PerfEventName, J as AdaptiveScale, Jt as PoolTrimDetail, Kt as PerfTelemetryLine, L as OverlayValue, Lt as PerfGapLine, M as HudPart, Mt as PerfCollectorLine, N as HudPartValue, Nr as types_d_exports$10, Nt as PerfCounts, Ot as PassRecord, P as NineSlice, Pt as PerfDisplay, Qt as ShaderEventDetail, R as Parent, Rn as AnchorTarget, Rr as SaveUnreadableError, Rt as PerfHeaderLine, St as OverlayWhat, Tt as PERF_LOG_VERSION, Ut as PerfSampleLine, V as Sprite, Vt as PerfMarkLine, Wt as PerfSpikeLine, Xt as ProblemRule, Yn as SceneSwitch, Yr as types_d_exports$9, Yt as ProblemEventDetail, Z as MonitorConfig, Zt as SHADER_WHATS, _n as type, _t as FrameRing, at as types_d_exports$12, br as types_d_exports$17, bt as MonitorSections, dn as types_d_exports$6, en as WarmDetail, fn as contribution, g as types_d_exports$1, gn as to, gt as FrameRecord, hn as slot, ht as FrameReadout, j as Display, jt as PerfChangeEntry, kt as PerfCause, mn as exit, mt as FrameReadResult, nt as PoolTrim, pt as FrameColumns, q as sprite, qt as PerfThermalLine, ri as types_d_exports$15, st as MonitorCounts, tn as DEMAND_REASONS, vt as LongFrameEntry, wt as PERF_GAP_BUCKETS, xt as OverlayEventDetail, yt as MONITOR_SECTIONS, z as Shape, zt as PerfLogLine } from "./types-BEDkqJKu.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-ZI525f5N.mjs";
3
+ import { A as types_d_exports$14, E as TextFormat, F as types_d_exports$8, K as types_d_exports$7, d as DebugTrigger, f as LocalWrite, h as defineTokens, j as defineComponent, m as popup, p as ScrollState, u as Box, x as CountdownValue, y as BindOptions } from "./types-Bkdjj5Fy.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 defineTextStyles, N as Hovered, Nt as label, O as load, Ot as projection, P as Pointer, 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-PrAYdg9-.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, 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 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, 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, 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, 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, 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 flowPlugin, 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 worldPlugin, 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 DEMAND_REASONS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as type, at as use, b as types_exports$17, bt as Traced, c as hint, cn as lifecyclePlugin, ct as Draggable, d as defineScene, dt as Hovered, 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 to, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as timePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as exit, nt as stagger, o as defineEffect, on as modelPlugin, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as slot, rt as stopSfx, s as guide, sn as SaveUnreadableError, st as inputPlugin, t as createApp, tn as contribution, tt as spawned, u as projection, un as clockPlugin, 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-D36RV9tq.mjs";
1
+ import { $ as sfx, $t as flowPlugin, 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 worldPlugin, 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 DEMAND_REASONS, _ as defineBundles, _t as Tappable, a as cubicBezier, an as type, at as use, b as types_exports$17, bt as Traced, c as hint, cn as lifecyclePlugin, ct as Draggable, d as defineScene, dt as Hovered, 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 to, it as tween, j as types_exports$6, jt as Noise, k as types_exports$8, kt as Displacement, l as schedule, ln as timePlugin, lt as DropTarget, m as flattenFeatures, mt as Pressable, n as createPlugin, nn as exit, nt as stagger, o as defineEffect, on as modelPlugin, ot as wait, p as defineFeature, pt as PointerOver, q as haptic, qt as PERF_GAP_BUCKETS, r as defineGame, rn as slot, rt as stopSfx, s as guide, sn as SaveUnreadableError, st as inputPlugin, t as createApp, tn as contribution, tt as spawned, u as projection, un as clockPlugin, 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-CHyBg6X6.mjs";
2
2
  import { $ as Layer, B as Display, C as defineStyle, E as bind, G as Parent, H as NineSlice, J as Transform, K as Shape, O as defineTextStyles, Q as Exiting, S as defineTokens, T as Text, U as Overlay, V as HudPart, Z as sprite, _ as ScrollState, at as resource, b as popup, ct as tag, d as Box, et as Now, h as LocalWrite, it as mut, k as label, nt as Tree, ot as system, p as DebugTrigger, q as Sprite, rt as component, tt as Order, w as Countdown } from "./visual-B7TxMv1J.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, 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, 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 Api, En as JournalEntry, Y as Api$2, cn as Position, cr as FrameDiff, ct as RenderStats, gr as Api$1, h as Usage, it as Under, rr as ComponentSchema, sr as EntitySnapshot, t as Api$3, vr as Explained, wn as FlowGraph, zr as Snapshot } from "./types-D090j5P7.mjs";
2
- import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-BipKDDAU.mjs";
3
- import { c as UiNode } from "./types-eDu74x6O.mjs";
4
- import { t as HeadlessApp } from "./headless-D3iIdUix.mjs";
5
- import { a as InputOf, c as Source, i as InputArguments, l as WatchApp, o as InputSchema, t as CheatEntry, u as WatchInput } from "./types-DU7VUsD9.mjs";
6
- import { n as defineSource } from "./define-C9Xx5ABN.mjs";
1
+ import { Dr as Api, En as JournalEntry, Y as Api$2, cn as Position, cr as FrameDiff, ct as RenderStats, gr as Api$1, h as Usage, it as Under, rr as ComponentSchema, sr as EntitySnapshot, t as Api$3, vr as Explained, wn as FlowGraph, zr as Snapshot } from "./types-BEDkqJKu.mjs";
2
+ import { a as AudioApi, g as EffectsStats, h as EffectsApi, r as UiApi, u as SoundEntry } from "./types-ZI525f5N.mjs";
3
+ import { c as UiNode } from "./types-Bkdjj5Fy.mjs";
4
+ import { t as HeadlessApp } from "./headless-Cgu6ie7C.mjs";
5
+ import { a as InputOf, c as Source, i as InputArguments, l as WatchApp, o as InputSchema, t as CheatEntry, u as WatchInput } from "./types-B0HZvmZZ.mjs";
6
+ import { n as defineSource } from "./define-CVVpFTAJ.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-B8PDY99M.mjs";
1
+ import { a as jsxs, i as jsxDEV, n as JSX, r as jsx, t as Fragment } from "./runtime-CJI4Fdu7.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-B8PDY99M.mjs";
1
+ import { a as jsxs, n as JSX, r as jsx, t as Fragment } from "./runtime-CJI4Fdu7.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-eDu74x6O.mjs";
1
+ import { _ as UiIntrinsicElements, a as JsxChild, t as DescriptionNode } from "./types-Bkdjj5Fy.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. */
@@ -3,7 +3,7 @@ import { r as systemSource, t as memory } from "./memory-CWlqhS7l.mjs";
3
3
  import { a as finishDrafts, i as enableDraftPatches, n as deepFreeze$1, o as openDrafts, r as dropDrafts } from "./drafts-BawpSaVp.mjs";
4
4
  import { _ as compact, c as collectFlows, d as findNode, f as framePath, g as slotNames, h as restlessCapOf, i as servePaused, l as describeGraph, m as isRestCheckpoint, n as captureFrame, o as epochOf, p as graphHash, r as serveCaptures, s as pageNow$1, t as cancelCaptures, v as pushEntry } from "./capture-BtS6_oWr.mjs";
5
5
  import { $ as Layer, A as readStyle, B as Display, D as builtInStyles, F as parentOf$1, G as Parent, H as NineSlice, I as poseUnder, J as Transform, K as Shape, L as rootPointOf, M as applyPose, N as isLeaving, P as localPoseOf, Q as Exiting, R as rootPoseInto, T as Text, U as Overlay, V as HudPart, W as OverlayLevel, X as componentsFor, Y as arcDefaults, _ as ScrollState, a as fitScaleOf, at as resource, c as samePose, ct as tag, d as Box, et as Now, f as Covered, g as Scroll, h as LocalWrite, i as fieldsLeftAlone, j as textFor, l as visualOf$1, m as Escapable, n as CONTENT$1, nt as Tree, o as livePatch, ot as system, p as DebugTrigger, q as Sprite, r as drawnRect, rt as component, s as restValueOf, st as systemsFor, tt as Order, u as visualRectOf, v as UI_OWNER, w as Countdown, x as uiFor, y as UiCounters, z as rootPoseOf } from "./visual-B7TxMv1J.mjs";
6
- import { a as isDev$1 } from "./dev-BNndV-hU.mjs";
6
+ import { a as isDev } from "./dev-BNndV-hU.mjs";
7
7
  import { n as isComponentDefinition } from "./component-DGg5DqKK.mjs";
8
8
  import { n as flatten } from "./flatten-nUX9PpGo.mjs";
9
9
  import { envPlugin, logPlugin } from "@moku-labs/common/browser";
@@ -3422,15 +3422,7 @@ function objectEquals(left, right) {
3422
3422
  * for an answer that arrived while the gate was closed, and the `guide` narrow.
3423
3423
  */
3424
3424
  /**
3425
- * Tells whether the dev log is on: a dev build, `__MOKU_GAME_DEV__` defined true.
3426
- *
3427
- * @returns True in a dev build.
3428
- */
3429
- function isDev() {
3430
- return typeof __MOKU_GAME_DEV__ !== "undefined" && __MOKU_GAME_DEV__;
3431
- }
3432
- /**
3433
- * Logs, in a dev build, an answer a closed gate refused that no gate will take (F122). The payload
3425
+ * Logs, in a dev or agent build, an answer a closed gate refused that no gate will take (F122). The payload
3434
3426
  * is built only when the line is written.
3435
3427
  *
3436
3428
  * @param ctx - Domain context of the flow plugin.
@@ -3438,7 +3430,7 @@ function isDev() {
3438
3430
  * @param reason - Why no gate takes it.
3439
3431
  */
3440
3432
  function dropped(ctx, answer, reason) {
3441
- if (!isDev()) return;
3433
+ if (!(typeof __MOKU_GAME_DEV__ !== "undefined" && __MOKU_GAME_DEV__ || typeof __MOKU_GAME_AGENT__ !== "undefined" && __MOKU_GAME_AGENT__)) return;
3442
3434
  ctx.log.warn("flow:answer-dropped", {
3443
3435
  intent: answer.intent,
3444
3436
  payload: answer.payload,
@@ -16480,7 +16472,14 @@ async function createApplication(ctx, mount, deps) {
16480
16472
  autoDensity: false,
16481
16473
  autoStart: false,
16482
16474
  sharedTicker: false,
16483
- useBackBuffer: wantsBackBuffer(ctx.deps.flow.features.all())
16475
+ useBackBuffer: wantsBackBuffer(ctx.deps.flow.features.all()),
16476
+ eventMode: "none",
16477
+ eventFeatures: {
16478
+ move: false,
16479
+ globalMove: false,
16480
+ click: false,
16481
+ wheel: false
16482
+ }
16484
16483
  };
16485
16484
  await (typeof __MOKU_GAME_AGENT__ !== "undefined" && __MOKU_GAME_AGENT__ ? initTimed(ctx, app, options) : app.init(options));
16486
16485
  state.app = app;
@@ -31931,32 +31930,93 @@ const MAX_DEPTH$6 = 32;
31931
31930
  /** Below this effective alpha a view is treated as not there. */
31932
31931
  const MIN_ALPHA$1 = .01;
31933
31932
  /**
31934
- * Brings a reference point into the local space of an entity: its root pose undone, the pivot
31935
- * added back. The point is posed as a child of the entity, so the pose helpers do the walk.
31933
+ * Takes a walk from the pool of the sync state, or makes one the first time and whenever every
31934
+ * walk is held.
31936
31935
  *
31937
31936
  * @param sctx - Domain context of the sync module.
31938
- * @param entity - The entity whose box is tested.
31939
- * @param x - Reference x.
31940
- * @param y - Reference y.
31941
- * @returns The point in the entity's own space.
31937
+ * @returns The walk.
31942
31938
  */
31943
- function localPoint(sctx, entity, x, y) {
31944
- const local = localPoseOf(sctx.ctx.deps.world.ecs, entity, {
31945
- x,
31946
- y,
31947
- rotation: 0,
31948
- scale: 1,
31949
- pivot: {
31939
+ function takeWalk(sctx) {
31940
+ return sctx.ctx.state.sync.hitWalks.pop() ?? {
31941
+ orders: [],
31942
+ alphas: /* @__PURE__ */ new Float64Array(33),
31943
+ pose: {
31944
+ x: 0,
31945
+ y: 0,
31946
+ rotation: 0,
31947
+ scale: 1,
31948
+ pivot: {
31949
+ x: 0,
31950
+ y: 0
31951
+ }
31952
+ },
31953
+ local: {
31950
31954
  x: 0,
31951
31955
  y: 0
31952
- }
31953
- });
31954
- return {
31955
- x: local.x,
31956
- y: local.y
31956
+ },
31957
+ x: 0,
31958
+ y: 0,
31959
+ accept: void 0,
31960
+ out: void 0,
31961
+ found: void 0
31957
31962
  };
31958
31963
  }
31959
31964
  /**
31965
+ * Gives a walk back to the pool, holding nothing of the caller.
31966
+ *
31967
+ * @param sctx - Domain context of the sync module.
31968
+ * @param walk - The walk.
31969
+ */
31970
+ function releaseWalk(sctx, walk) {
31971
+ walk.accept = void 0;
31972
+ walk.out = void 0;
31973
+ walk.found = void 0;
31974
+ sctx.ctx.state.sync.hitWalks.push(walk);
31975
+ }
31976
+ /**
31977
+ * Brings the reference point of a walk into the local space of an entity: its root pose undone,
31978
+ * the pivot added back. The numbers of `localPoseOf` with the point posed as a child of the entity,
31979
+ * written into the walk's own point.
31980
+ *
31981
+ * @param sctx - Domain context of the sync module.
31982
+ * @param walk - The walk, its point and its scratch.
31983
+ * @param entity - The entity whose box is tested.
31984
+ * @returns The walk's local point.
31985
+ */
31986
+ function localPoint(sctx, walk, entity) {
31987
+ const local = walk.local;
31988
+ if (entity === 0) {
31989
+ local.x = walk.x;
31990
+ local.y = walk.y;
31991
+ return local;
31992
+ }
31993
+ const above = rootPoseInto(sctx.ctx.deps.world.ecs, entity, walk.pose);
31994
+ const scale = above.scale === 0 ? 1 : above.scale;
31995
+ const cos = Math.cos(-above.rotation);
31996
+ const sin = Math.sin(-above.rotation);
31997
+ const dx = walk.x - above.x;
31998
+ const dy = walk.y - above.y;
31999
+ local.x = above.pivot.x + (dx * cos - dy * sin) / scale;
32000
+ local.y = above.pivot.y + (dx * sin + dy * cos) / scale;
32001
+ return local;
32002
+ }
32003
+ /**
32004
+ * Tells whether a local point is inside a rectangle of a given size at the origin. A rectangle
32005
+ * without area holds no point.
32006
+ *
32007
+ * @param width - The width.
32008
+ * @param height - The height.
32009
+ * @param point - The point, in local units.
32010
+ * @returns True when the rectangle holds the point.
32011
+ * @example
32012
+ * ```ts
32013
+ * inSize(100, 100, { x: 100, y: 0 }); // true
32014
+ * ```
32015
+ */
32016
+ function inSize(width, height, point) {
32017
+ return width > 0 && height > 0 && point.x >= 0 && point.x <= width && point.y >= 0 && point.y <= height;
32018
+ }
32019
+ /**
31960
32020
  * Tells whether a local point is inside a hit box. A box without area holds no point: a particle
31961
32021
  * container measures 0 x 0 and is never hit, not even at its origin.
31962
32022
  *
@@ -31972,46 +32032,37 @@ function inBox(box, point) {
31972
32032
  return box.width > 0 && box.height > 0 && point.x >= box.x && point.x <= box.x + box.width && point.y >= box.y && point.y <= box.y + box.height;
31973
32033
  }
31974
32034
  /**
31975
- * The rectangle an entity clips its children to: the box of a `Shape` or a `NineSlice` with
31976
- * `clip: true`.
32035
+ * Tells whether an entity clips its children and the walk's point falls outside the rectangle it
32036
+ * shows: the box of a `Shape` or a `NineSlice` with `clip: true`.
31977
32037
  *
31978
32038
  * @param sctx - Domain context of the sync module.
32039
+ * @param walk - The walk.
31979
32040
  * @param entity - The entity.
31980
- * @returns The box in its local units, or `undefined` when it does not clip.
32041
+ * @returns True when it clips the point away.
31981
32042
  */
31982
- function clipBoxOf(sctx, entity) {
32043
+ function clipsAway(sctx, walk, entity) {
31983
32044
  const ecs = sctx.ctx.deps.world.ecs;
31984
32045
  const shape = ecs.get(entity, Shape);
31985
- if (shape?.clip === true) return {
31986
- x: 0,
31987
- y: 0,
31988
- width: shape.w,
31989
- height: shape.h
31990
- };
32046
+ if (shape?.clip === true) return !inSize(shape.w, shape.h, localPoint(sctx, walk, entity));
31991
32047
  const nine = ecs.get(entity, NineSlice);
31992
- if (nine?.clip === true) return {
31993
- x: 0,
31994
- y: 0,
31995
- width: nine.width,
31996
- height: nine.height
31997
- };
32048
+ if (nine?.clip === true) return !inSize(nine.width, nine.height, localPoint(sctx, walk, entity));
32049
+ return false;
31998
32050
  }
31999
32051
  /**
32000
- * Tells whether a clipping ancestor hides the point: a `Shape` or a `NineSlice` with `clip: true`
32001
- * shows its children only inside its own rectangle, so a point outside it reaches nothing below.
32052
+ * Tells whether a clipping ancestor hides the walk's point: a `Shape` or a `NineSlice` with
32053
+ * `clip: true` shows its children only inside its own rectangle, so a point outside it reaches
32054
+ * nothing below.
32002
32055
  *
32003
32056
  * @param sctx - Domain context of the sync module.
32057
+ * @param walk - The walk.
32004
32058
  * @param entity - The entity being tested.
32005
- * @param x - Reference x.
32006
- * @param y - Reference y.
32007
32059
  * @returns True when the point falls outside a clipping ancestor.
32008
32060
  */
32009
- function clippedOut(sctx, entity, x, y) {
32061
+ function clippedOut(sctx, walk, entity) {
32010
32062
  const ecs = sctx.ctx.deps.world.ecs;
32011
32063
  let current = parentOf$1(ecs, entity);
32012
32064
  for (let depth = 0; depth < MAX_DEPTH$6 && current !== 0; depth += 1) {
32013
- const box = clipBoxOf(sctx, current);
32014
- if (box !== void 0 && !inBox(box, localPoint(sctx, current, x, y))) return true;
32065
+ if (clipsAway(sctx, walk, current)) return true;
32015
32066
  current = parentOf$1(ecs, current);
32016
32067
  }
32017
32068
  return false;
@@ -32049,66 +32100,157 @@ function isShown$1(object, root, off) {
32049
32100
  return effectiveAlpha(object, root, off) > MIN_ALPHA$1;
32050
32101
  }
32051
32102
  /**
32052
- * Collects the children of a container in draw order from the top: by `zIndex` descending, then
32053
- * by insertion descending. The children of a wrapper come before the wrapper's own visual.
32103
+ * How many objects a container is from the root of `sync`, counted as `effectiveAlpha` counts its
32104
+ * steps: itself and every ancestor below the root.
32054
32105
  *
32055
- * @param container - The container to walk.
32056
- * @param out - Where the result is collected.
32057
- * @param depth - How deep the walk already is.
32058
- * @returns The same array.
32106
+ * @param container - The container.
32107
+ * @param root - The root container of `sync`.
32108
+ * @returns The count, or `MAX_DEPTH` when the root is not reached within it.
32059
32109
  */
32060
- function topFirst(container, out, depth = 0) {
32061
- if (depth >= MAX_DEPTH$6) return out;
32062
- const ordered = container.children.toSorted((left, right) => left.zIndex - right.zIndex);
32063
- for (let index = ordered.length - 1; index >= 0; index -= 1) {
32064
- const child = ordered[index];
32065
- if (child === void 0) continue;
32066
- if (child.children.length > 0) topFirst(child, out, depth + 1);
32067
- out.push(child);
32110
+ function stepsToRoot(container, root) {
32111
+ let current = container;
32112
+ for (let steps = 0; steps < MAX_DEPTH$6 && current !== void 0; steps += 1) {
32113
+ if (current === root) return steps;
32114
+ current = current.parent ?? void 0;
32068
32115
  }
32069
- return out;
32116
+ return MAX_DEPTH$6;
32117
+ }
32118
+ /**
32119
+ * Tells whether children stand in `zIndex` order. A depth is read straight off the child and compared at once: a
32120
+ * fractional `zIndex` held in a variable that may also be a fallback number is boxed, once per child.
32121
+ *
32122
+ * @param children - The children.
32123
+ * @returns True when no child has a lower `zIndex` than the one before it.
32124
+ */
32125
+ function inZOrder(children) {
32126
+ for (let index = 1; index < children.length; index += 1) {
32127
+ const before = children[index - 1];
32128
+ const child = children[index];
32129
+ if (before !== void 0 && child !== void 0 && before.zIndex > child.zIndex) return false;
32130
+ }
32131
+ return true;
32070
32132
  }
32071
32133
  /**
32072
- * Walks the views of one layer container whose hit box holds the point, topmost first. A view
32073
- * the player cannot see and a point outside a clipping ancestor are skipped.
32134
+ * Puts one child index into the sorted head of a list: after the last kept child whose `zIndex` is
32135
+ * lower or equal, so equals keep their insertion order.
32136
+ *
32137
+ * @param order - The list; its first `index` entries are sorted.
32138
+ * @param children - The children the indices point into.
32139
+ * @param index - The child to place.
32140
+ */
32141
+ function insertInOrder(order, children, index) {
32142
+ const child = children[index];
32143
+ if (child === void 0) return;
32144
+ let slot = index;
32145
+ for (; slot > 0; slot -= 1) {
32146
+ const before = order[slot - 1];
32147
+ const other = before === void 0 ? void 0 : children[before];
32148
+ if (before === void 0 || other === void 0 || other.zIndex <= child.zIndex) break;
32149
+ order[slot] = before;
32150
+ }
32151
+ order[slot] = index;
32152
+ }
32153
+ /**
32154
+ * The child indices of a container in `zIndex` order, insertion order kept between equals, as a
32155
+ * stable sort gives them; `undefined` when the children already stand so, as Pixi leaves a
32156
+ * sortable container after each render. Written into the walk's list for that depth.
32157
+ *
32158
+ * @param walk - The walk.
32159
+ * @param children - The children.
32160
+ * @param depth - The depth of the walk, which owns one list.
32161
+ * @returns The sorted indices, or `undefined` for the children's own order.
32162
+ */
32163
+ function orderOf(walk, children, depth) {
32164
+ if (inZOrder(children)) return void 0;
32165
+ let order = walk.orders[depth];
32166
+ if (order === void 0) {
32167
+ order = [];
32168
+ walk.orders[depth] = order;
32169
+ }
32170
+ for (let index = 0; index < children.length; index += 1) insertInOrder(order, children, index);
32171
+ return order;
32172
+ }
32173
+ /**
32174
+ * Tests one display object of the walk: its view, whether the player sees it, whether its hit box
32175
+ * holds the point, whether a clipping ancestor hides the point. A hit is accepted or collected.
32074
32176
  *
32075
32177
  * @param sctx - Domain context of the sync module.
32076
- * @param container - The layer container.
32077
- * @param root - The root container of `sync`.
32078
- * @param point - The reference point.
32079
- * @yields {Entity} Every entity hit inside the layer.
32178
+ * @param walk - The walk.
32179
+ * @param object - The display object.
32180
+ * @param depth - Its depth in the walk, whose alpha it draws with.
32181
+ * @returns True when `hitTest` accepted it and the walk ends.
32080
32182
  */
32081
- function* hitsIn(sctx, container, root, point) {
32183
+ function testObject(sctx, walk, object, depth) {
32184
+ if ((walk.alphas[depth] ?? 0) <= MIN_ALPHA$1) return false;
32082
32185
  const state = sctx.ctx.state.sync;
32083
- for (const object of topFirst(container, [])) {
32084
- const entity = state.entityOf.get(object);
32085
- const view = entity === void 0 ? void 0 : state.views.get(entity);
32086
- if (entity === void 0 || view === void 0) continue;
32087
- if (!isShown$1(object, root, state.overlay.offTops)) continue;
32088
- if (!inBox(view.hitBox, localPoint(sctx, entity, point.x, point.y))) continue;
32089
- if (clippedOut(sctx, entity, point.x, point.y)) continue;
32090
- yield entity;
32186
+ const entity = state.entityOf.get(object);
32187
+ const view = entity === void 0 ? void 0 : state.views.get(entity);
32188
+ if (entity === void 0 || view === void 0) return false;
32189
+ if (!inBox(view.hitBox, localPoint(sctx, walk, entity))) return false;
32190
+ if (clippedOut(sctx, walk, entity)) return false;
32191
+ if (walk.out !== void 0) {
32192
+ walk.out.push(entity);
32193
+ return false;
32194
+ }
32195
+ if (walk.accept?.(entity) !== true) return false;
32196
+ walk.found = entity;
32197
+ return true;
32198
+ }
32199
+ /**
32200
+ * Walks the children of a container in draw order from the top: by `zIndex` descending, then by
32201
+ * insertion descending. The children of a wrapper come before the wrapper's own visual. A hidden
32202
+ * object or a HUD part an overlay fades takes its whole subtree out; the alpha is carried down.
32203
+ *
32204
+ * @param sctx - Domain context of the sync module.
32205
+ * @param walk - The walk.
32206
+ * @param container - The container to walk.
32207
+ * @param depth - How deep the walk already is.
32208
+ * @param steps - How many objects the container is from the root.
32209
+ * @returns True when `hitTest` accepted a hit and the walk ends. The container's alpha is the walk's at `depth`.
32210
+ */
32211
+ function walkChildren(sctx, walk, container, depth, steps) {
32212
+ if (depth >= MAX_DEPTH$6 || steps + 1 >= MAX_DEPTH$6) return false;
32213
+ const off = sctx.ctx.state.sync.overlay.offTops;
32214
+ const children = container.children;
32215
+ const order = orderOf(walk, children, depth);
32216
+ const alphas = walk.alphas;
32217
+ const alpha = alphas[depth] ?? 0;
32218
+ for (let index = children.length - 1; index >= 0; index -= 1) {
32219
+ const child = children[order === void 0 ? index : order[index] ?? index];
32220
+ if (child === void 0 || !child.visible || off.has(child)) continue;
32221
+ const shown = alpha * child.alpha;
32222
+ if (shown === 0) continue;
32223
+ alphas[depth + 1] = shown;
32224
+ if (child.children.length > 0 && walkChildren(sctx, walk, child, depth + 1, steps + 1)) return true;
32225
+ if (testObject(sctx, walk, child, depth + 1)) return true;
32091
32226
  }
32227
+ return false;
32092
32228
  }
32093
32229
  /**
32094
- * Walks every view under a reference point, topmost first: the layers from the last one of the
32230
+ * Walks every view under the walk's point, topmost first: the layers from the last one of the
32095
32231
  * scene's list, inside a layer by draw order from the top. Nothing while inert or before the scene
32096
- * declared its layers.
32232
+ * declared its layers. A layer that hangs under no root, or that is hidden, holds no hit.
32097
32233
  *
32098
32234
  * @param sctx - Domain context of the sync module.
32099
- * @param point - The reference point.
32100
- * @yields {Entity} Every entity hit.
32235
+ * @param walk - The walk.
32236
+ * @returns True when `hitTest` accepted a hit.
32101
32237
  */
32102
- function* hitsAt(sctx, point) {
32238
+ function walkLayers(sctx, walk) {
32103
32239
  const state = sctx.ctx.state.sync;
32104
32240
  const root = state.root;
32105
32241
  const list = state.layerList;
32106
- if (root === void 0 || list === void 0) return;
32242
+ if (root === void 0 || list === void 0) return false;
32107
32243
  for (let index = list.length - 1; index >= 0; index -= 1) {
32108
32244
  const name = list[index]?.name;
32109
32245
  const container = name === void 0 ? void 0 : state.layers.get(name)?.container;
32110
- if (container !== void 0) yield* hitsIn(sctx, container, root, point);
32246
+ if (container === void 0) continue;
32247
+ const alpha = effectiveAlpha(container, root, state.overlay.offTops);
32248
+ const steps = stepsToRoot(container, root);
32249
+ if (alpha === 0 || steps >= MAX_DEPTH$6) continue;
32250
+ walk.alphas[0] = alpha;
32251
+ if (walkChildren(sctx, walk, container, 0, steps)) return true;
32111
32252
  }
32253
+ return false;
32112
32254
  }
32113
32255
  /**
32114
32256
  * The topmost entity under a reference point that the caller accepts. The walk stops there.
@@ -32120,10 +32262,15 @@ function* hitsAt(sctx, point) {
32120
32262
  * @returns The entity, or `undefined`.
32121
32263
  */
32122
32264
  function hitTest(sctx, x, y, accept) {
32123
- for (const entity of hitsAt(sctx, {
32124
- x,
32125
- y
32126
- })) if (accept(entity)) return entity;
32265
+ const walk = takeWalk(sctx);
32266
+ walk.x = x;
32267
+ walk.y = y;
32268
+ walk.accept = accept;
32269
+ try {
32270
+ return walkLayers(sctx, walk) ? walk.found : void 0;
32271
+ } finally {
32272
+ releaseWalk(sctx, walk);
32273
+ }
32127
32274
  }
32128
32275
  /**
32129
32276
  * Every entity under a reference point, topmost first.
@@ -32134,10 +32281,17 @@ function hitTest(sctx, x, y, accept) {
32134
32281
  * @returns The entities, a fresh array; empty when nothing is there.
32135
32282
  */
32136
32283
  function hitAll(sctx, x, y) {
32137
- return [...hitsAt(sctx, {
32138
- x,
32139
- y
32140
- })];
32284
+ const walk = takeWalk(sctx);
32285
+ const out = [];
32286
+ walk.x = x;
32287
+ walk.y = y;
32288
+ walk.out = out;
32289
+ try {
32290
+ walkLayers(sctx, walk);
32291
+ return out;
32292
+ } finally {
32293
+ releaseWalk(sctx, walk);
32294
+ }
32141
32295
  }
32142
32296
  //#endregion
32143
32297
  //#region src/plugins/renderer/sync/bounds.ts
@@ -34958,6 +35112,7 @@ function createSyncState(debug) {
34958
35112
  objectHidden: emptyWeakMap$1(),
34959
35113
  viewOfTop: emptyWeakMap$1(),
34960
35114
  overlay: createOverlayState(),
35115
+ hitWalks: [],
34961
35116
  redraws: 0,
34962
35117
  held: emptyMap$6(),
34963
35118
  passesVersion: 0,
@@ -49794,7 +49949,7 @@ function bake(ectx, id) {
49794
49949
  }
49795
49950
  textures.push(texture);
49796
49951
  }
49797
- const baked = bakeEmitter(definition, isDev$1() ? firstSource(ectx, id, keys, textures) : textures);
49952
+ const baked = bakeEmitter(definition, isDev() ? firstSource(ectx, id, keys, textures) : textures);
49798
49953
  state.baked.set(id, baked);
49799
49954
  return baked;
49800
49955
  }
@@ -51667,14 +51822,6 @@ const Pointer = /*#__PURE__*/ resource("Pointer", pointerDefaults);
51667
51822
  //#endregion
51668
51823
  //#region src/plugins/input/lost.ts
51669
51824
  /**
51670
- * Tells whether the dev log is on: a dev build, `__MOKU_GAME_DEV__` defined true.
51671
- *
51672
- * @returns True in a dev build.
51673
- */
51674
- function dev() {
51675
- return typeof __MOKU_GAME_DEV__ !== "undefined" && __MOKU_GAME_DEV__;
51676
- }
51677
- /**
51678
51825
  * Logs a press that wore the press look of a button and will not be a tap. Only a pressed view
51679
51826
  * that carries `Tappable` (or left the world during the press) is told; a press caught by a
51680
51827
  * scroll was the scroll's from its start, and a view without a tap has nothing to lose.
@@ -51683,7 +51830,7 @@ function dev() {
51683
51830
  * @param reason - Why the press is lost.
51684
51831
  */
51685
51832
  function lostPress(ctx, reason) {
51686
- if (!dev()) return;
51833
+ if (!(typeof __MOKU_GAME_DEV__ !== "undefined" && __MOKU_GAME_DEV__ || typeof __MOKU_GAME_AGENT__ !== "undefined" && __MOKU_GAME_AGENT__)) return;
51687
51834
  const { entity, caught, key } = ctx.state;
51688
51835
  if (entity === void 0 || caught) return;
51689
51836
  if (reason !== "view-gone" && !ctx.deps.world.ecs.has(entity, Tappable)) return;
@@ -51694,9 +51841,10 @@ function lostPress(ctx, reason) {
51694
51841
  }
51695
51842
  /**
51696
51843
  * Logs an answer the gate did not take. A closed gate holds it for the next gate, so that is told
51697
- * at debug level only: `flow` warns `flow:answer-dropped` when no gate takes the held answer. Otherwise the line says what
51698
- * the gate said: `no-edge`, the resting node does not list the intent; `refused`, a guide's narrow
51699
- * dropped it and names no `blocked`; `blocked`, it answered the guide's `blocked` in its place.
51844
+ * at debug level only; `flow` warns `flow:answer-dropped` when no gate takes the held answer.
51845
+ * Otherwise the line says what the gate said: `no-edge`, the resting node does not list the
51846
+ * intent; `refused`, a guide's narrow dropped it and names no `blocked`; `blocked`, it answered the
51847
+ * guide's `blocked` in its place.
51700
51848
  *
51701
51849
  * @param ctx - Domain context of the input plugin.
51702
51850
  * @param entity - The view the answer came from.
@@ -51707,7 +51855,7 @@ function lostPress(ctx, reason) {
51707
51855
  * @param blocked - Whether the guide's `blocked` was taken in the answer's place.
51708
51856
  */
51709
51857
  function lostAnswer(ctx, entity, answer, gate, blocked) {
51710
- if (!dev()) return;
51858
+ if (!(typeof __MOKU_GAME_DEV__ !== "undefined" && __MOKU_GAME_DEV__ || typeof __MOKU_GAME_AGENT__ !== "undefined" && __MOKU_GAME_AGENT__)) return;
51711
51859
  const view = ctx.deps.world.projection.keyOf(entity) ?? entity;
51712
51860
  if (!gate.open && !blocked) {
51713
51861
  ctx.log.debug("input: counted, the gate is closed: held for the next gate", {
@@ -51864,8 +52012,8 @@ function notifyTap(ctx, entity) {
51864
52012
  * A press the narrow of a guide drops — another intent, or the allowed intent with another
51865
52013
  * payload (a drop on the wrong cell) — answers the guide's `blocked` instead, once, when the gate
51866
52014
  * is open and the guide names one. A closed gate holds the press as it is and converts nothing.
51867
- * The gate's state is read only for a refused answer, never for an accepted one. A dev build logs
51868
- * the refusal with the view and what the gate said (F122).
52015
+ * The gate's state is read only for a refused answer, never for an accepted one. A dev or agent
52016
+ * build logs the refusal with the view and what the gate said (F122).
51869
52017
  *
51870
52018
  * @param ctx - Domain context of the input plugin.
51871
52019
  * @param entity - The view the answer came from, for the warning.
@@ -54657,7 +54805,7 @@ function playHaptic(ctx, provider, kind) {
54657
54805
  safely(ctx.log, "haptic", () => provider.haptic(kind));
54658
54806
  return;
54659
54807
  }
54660
- if (!isDev$1() || ctx.state.warned.has(kind)) return;
54808
+ if (!isDev() || ctx.state.warned.has(kind)) return;
54661
54809
  ctx.state.warned.add(kind);
54662
54810
  ctx.log.warn("platform: unknown haptic kind", { kind });
54663
54811
  }
@@ -1,7 +1,7 @@
1
- import { Ar as Json, Dn as NodeTable, Fn as Hint, In as NodeFx, Sr as ClockSource, jn as Descriptor, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-D090j5P7.mjs";
2
- import { t as createApp } from "./index-D-e-E3NV.mjs";
3
- import { b as saveOf, v as WithGameState, y as memory } from "./types-Bk0UQUq-.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-D3iIdUix.mjs";
1
+ import { Ar as Json, Dn as NodeTable, Fn as Hint, In as NodeFx, Sr as ClockSource, jn as Descriptor, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-BEDkqJKu.mjs";
2
+ import { t as createApp } from "./index-PrAYdg9-.mjs";
3
+ import { b as saveOf, v as WithGameState, y as memory } from "./types-UP4-RD_A.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-Cgu6ie7C.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 { an as type, en as refuseStart, m as flattenFeatures, nn as exit, t as createApp } from "./src-D36RV9tq.mjs";
1
+ import { an as type, en as refuseStart, m as flattenFeatures, nn as exit, t as createApp } from "./src-CHyBg6X6.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";
@@ -1,5 +1,5 @@
1
- import { Ar as Json, zr as Snapshot } from "./types-D090j5P7.mjs";
2
- import { t as HeadlessApp } from "./headless-D3iIdUix.mjs";
1
+ import { Ar as Json, zr as Snapshot } from "./types-BEDkqJKu.mjs";
2
+ import { t as HeadlessApp } from "./headless-Cgu6ie7C.mjs";
3
3
  import { Log } from "@moku-labs/common/browser";
4
4
 
5
5
  //#region src/plugins/flow/doors/types.d.ts
@@ -12290,6 +12290,22 @@ type HeldViews = {
12290
12290
  version: number; /** The dev check named a building view under the stage in this build: named once. */
12291
12291
  reported: boolean;
12292
12292
  };
12293
+ /** The scratch of one hit test (F118), taken from `SyncState.hitWalks` and given back when it ends. */
12294
+ type HitWalk = {
12295
+ /** Per depth, the child indices of an out-of-order container, sorted by `zIndex`; only ever grown. */orders: number[][];
12296
+ /**
12297
+ * Per depth, the alpha the objects at that depth draw with, their own included. Kept here, not passed: a double
12298
+ * handed to a call that is not inlined is boxed, once per view.
12299
+ */
12300
+ alphas: Float64Array; /** The root pose of the entity whose box is tested, written in place. */
12301
+ pose: TransformValue; /** The reference point brought into an entity's own space, written in place. */
12302
+ local: Point; /** The reference x. */
12303
+ x: number; /** The reference y. */
12304
+ y: number; /** The filter of `hitTest`; `undefined` while `hitAll` collects. */
12305
+ accept: ((entity: Entity) => boolean) | undefined; /** Where `hitAll` collects; `undefined` while `hitTest` looks for one. */
12306
+ out: Entity[] | undefined; /** The entity `hitTest` accepted. */
12307
+ found: Entity | undefined;
12308
+ };
12293
12309
  /**
12294
12310
  * sync module state.
12295
12311
  */
@@ -12357,7 +12373,8 @@ type SyncState = {
12357
12373
  filterOwners: WeakMap<object, Entity>; /** Hidden masks of engine objects that are no view (an overlay's dim, a kept quad). */
12358
12374
  objectHidden: WeakMap<PixiContainer, number>; /** The view whose top (`wrapper ?? object`) a node is, for the hidden masks (O15; skeleton choice, confirmed in LEAD-FIXES-3). */
12359
12375
  viewOfTop: WeakMap<PixiContainer, View>; /** The overlays, their ranges, dims and HUD parts (spec 22). */
12360
- overlay: OverlayState; /** `Graphics` paths drawn since the monitor last took them: shapes, clip masks, outlines (spec 26 R2.3). */
12376
+ overlay: OverlayState; /** Hit test walks no call holds now: one, unless an accept function asked again (F118). */
12377
+ hitWalks: HitWalk[]; /** `Graphics` paths drawn since the monitor last took them: shapes, clip masks, outlines (spec 26 R2.3). */
12361
12378
  redraws: number;
12362
12379
  /**
12363
12380
  * Where the walk of `shown` stopped for the entities whose loops asked (spec 26 R1.7.3), at the `passesVersion` it
@@ -1,4 +1,4 @@
1
- import { $n as AnyComponent, Ar as Json, Fn as Hint, Gn as NumericFields, Hn as Motion, Jn as ReducedMotion, K as TransformValue, Kn as ProjectionMotion, Ln as Answer, Qn as ViewHandle, Rn as AnchorTarget, Un as MotionCause, Vn as Ease, Wn as MotionHandle, Xr as Api, Y as Api$3, dt as ViewportSize, er as AnyComponentType, gr as Api$2, hr as TagType, ir as ComponentType, jn as Descriptor, nn as Api$1, oi as Require, or as Entity, s as Events$1, t as Api$4, tr as AnyComponentValue, xr as Api$5, zn as ChangeHook } from "./types-D090j5P7.mjs";
1
+ import { $n as AnyComponent, Ar as Json, Fn as Hint, Gn as NumericFields, Hn as Motion, Jn as ReducedMotion, K as TransformValue, Kn as ProjectionMotion, Ln as Answer, Qn as ViewHandle, Rn as AnchorTarget, Un as MotionCause, Vn as Ease, Wn as MotionHandle, Xr as Api, Y as Api$3, dt as ViewportSize, er as AnyComponentType, gr as Api$2, hr as TagType, ir as ComponentType, jn as Descriptor, nn as Api$1, oi as Require, or as Entity, s as Events$1, t as Api$4, tr as AnyComponentValue, xr as Api$5, zn as ChangeHook } from "./types-BEDkqJKu.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,7 +1,7 @@
1
- import { $ as PixiModule, An as TypeTag, Ar as Json, Br as SnapshotOf, Fr as PlayerStateProvider, Ir as ProviderCall, Lr as SaveDoc, Or as Config, Sr as ClockSource, X as Config$2, a as Config$3, d as Manifest, in as Config$1, lt as Orientation, n as AssetsIo, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-D090j5P7.mjs";
2
- import { o as AudioContextLike, s as Config$4 } from "./types-BipKDDAU.mjs";
3
- import { R as I18nApi, U as StringTable, W as TextKey } from "./types-eDu74x6O.mjs";
4
- import { St as effectsPlugin, Tt as audioPlugin, ht as PlatformProvider, i as screen, pt as platformPlugin, t as createApp } from "./index-D-e-E3NV.mjs";
1
+ import { $ as PixiModule, An as TypeTag, Ar as Json, Br as SnapshotOf, Fr as PlayerStateProvider, Ir as ProviderCall, Lr as SaveDoc, Or as Config, Sr as ClockSource, X as Config$2, a as Config$3, d as Manifest, in as Config$1, lt as Orientation, n as AssetsIo, wr as FakeClock, xn as AnyFlow, yn as FeaturePlugin } from "./types-BEDkqJKu.mjs";
2
+ import { o as AudioContextLike, s as Config$4 } from "./types-ZI525f5N.mjs";
3
+ import { R as I18nApi, U as StringTable, W as TextKey } from "./types-Bkdjj5Fy.mjs";
4
+ import { St as effectsPlugin, Tt as audioPlugin, ht as PlatformProvider, i as screen, pt as platformPlugin, t as createApp } from "./index-PrAYdg9-.mjs";
5
5
  import { AnyPluginInstance } from "@moku-labs/core";
6
6
 
7
7
  //#region src/plugins/model/store/providers/memory.d.ts
@@ -1,5 +1,5 @@
1
- import { $ as PixiModule, $n as AnyComponent, A as SyncApi, An as TypeTag, Ar as Json, Dr as Api$6, Gn as NumericFields, Jn as ReducedMotion, Kr as Events$5, O as FilterSlot, Q as PixiFilter, Rn as AnchorTarget, Vn as Ease, Wn as MotionHandle, Xn as TrackOptions, Xr as Api$1, Y as Api$4, Zn as TrackSegment, ai as Events$2, b as Events$4, et as PixiSprite, ft as FilterCache, gr as Api$3, ir as ComponentType, jn as Descriptor, k as FilterSlotInputs, kr as Events$3, nn as Api$2, nr as ComponentHandle, oi as Require, or as Entity, s as Events$1, t as Api$5, tr as AnyComponentValue, tt as PixiTexture, ut as Point } from "./types-D090j5P7.mjs";
2
- import { N as InputApi, R as I18nApi, X as StylesState, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, w as TextApi } from "./types-eDu74x6O.mjs";
1
+ import { $ as PixiModule, $n as AnyComponent, A as SyncApi, An as TypeTag, Ar as Json, Dr as Api$6, Gn as NumericFields, Jn as ReducedMotion, Kr as Events$5, O as FilterSlot, Q as PixiFilter, Rn as AnchorTarget, Vn as Ease, Wn as MotionHandle, Xn as TrackOptions, Xr as Api$1, Y as Api$4, Zn as TrackSegment, ai as Events$2, b as Events$4, et as PixiSprite, ft as FilterCache, gr as Api$3, ir as ComponentType, jn as Descriptor, k as FilterSlotInputs, kr as Events$3, nn as Api$2, nr as ComponentHandle, oi as Require, or as Entity, s as Events$1, t as Api$5, tr as AnyComponentValue, tt as PixiTexture, ut as Point } from "./types-BEDkqJKu.mjs";
2
+ import { N as InputApi, R as I18nApi, X as StylesState, c as UiNode, i as Finding, l as LayoutState, n as ElementChange, o as JsxState, r as ElementMotion, w as TextApi } from "./types-Bkdjj5Fy.mjs";
3
3
  import { Log } from "@moku-labs/common/browser";
4
4
  import { PluginCtx } from "@moku-labs/core";
5
5
 
@@ -1,9 +1,9 @@
1
- import { Dr as Api$2, Wr as Api$3, Y as Api, gr as Api$1, xr as Api$4 } from "./types-D090j5P7.mjs";
2
- import { P as AnimApi, r as UiApi } from "./types-BipKDDAU.mjs";
3
- import { N as InputApi } from "./types-eDu74x6O.mjs";
4
- import { r as Repro } from "./headless-D3iIdUix.mjs";
5
- import { a as InputOf, r as ControlApp } from "./types-DU7VUsD9.mjs";
6
- import { t as commands } from "./commands-D1tuKnq1.mjs";
1
+ import { Dr as Api$2, Wr as Api$3, Y as Api, gr as Api$1, xr as Api$4 } from "./types-BEDkqJKu.mjs";
2
+ import { P as AnimApi, r as UiApi } from "./types-ZI525f5N.mjs";
3
+ import { N as InputApi } from "./types-Bkdjj5Fy.mjs";
4
+ import { r as Repro } from "./headless-Cgu6ie7C.mjs";
5
+ import { a as InputOf, r as ControlApp } from "./types-B0HZvmZZ.mjs";
6
+ import { t as commands } from "./commands-B4_087j0.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-44HdrQrw.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-CJUeSL0M.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.74",
3
+ "version": "0.15.76",
4
4
  "description": "2D puzzle game engine on TypeScript and PixiJS, built on @moku-labs/core.",
5
5
  "type": "module",
6
6
  "sideEffects": [