// src/core-events/index.ts
var R = /* @__PURE__ */ ((E) => (E.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", E.CHANNEL_CREATED = "channelCreated", E.CONFIG_ERROR = "co\
nfigError", E.STORY_INDEX_INVALIDATED = "storyIndexInvalidated", E.STORY_SPECIFIED = "storySpecified", E.SET_CONFIG = "setConfig", E.SET_STORIES =
"setStories", E.SET_INDEX = "setIndex", E.SET_CURRENT_STORY = "setCurrentStory", E.CURRENT_STORY_WAS_SET = "currentStoryWasSet", E.FORCE_RE_RENDER =
"forceReRender", E.FORCE_REMOUNT = "forceRemount", E.PRELOAD_ENTRIES = "preloadStories", E.STORY_PREPARED = "storyPrepared", E.DOCS_PREPARED =
"docsPrepared", E.STORY_CHANGED = "storyChanged", E.STORY_UNCHANGED = "storyUnchanged", E.STORY_RENDERED = "storyRendered", E.STORY_FINISHED =
"storyFinished", E.STORY_MISSING = "storyMissing", E.STORY_ERRORED = "storyErrored", E.STORY_THREW_EXCEPTION = "storyThrewException", E.STORY_RENDER_PHASE_CHANGED =
"storyRenderPhaseChanged", E.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", E.UNHANDLED_ERRORS_WHILE_PLAYING = "unhandledErro\
rsWhilePlaying", E.UPDATE_STORY_ARGS = "updateStoryArgs", E.STORY_ARGS_UPDATED = "storyArgsUpdated", E.RESET_STORY_ARGS = "resetStoryArgs", E.
SET_FILTER = "setFilter", E.SET_GLOBALS = "setGlobals", E.UPDATE_GLOBALS = "updateGlobals", E.GLOBALS_UPDATED = "globalsUpdated", E.REGISTER_SUBSCRIPTION =
"registerSubscription", E.PREVIEW_KEYDOWN = "previewKeydown", E.PREVIEW_BUILDER_PROGRESS = "preview_builder_progress", E.SELECT_STORY = "sel\
ectStory", E.STORIES_COLLAPSE_ALL = "storiesCollapseAll", E.STORIES_EXPAND_ALL = "storiesExpandAll", E.DOCS_RENDERED = "docsRendered", E.SHARED_STATE_CHANGED =
"sharedStateChanged", E.SHARED_STATE_SET = "sharedStateSet", E.NAVIGATE_URL = "navigateUrl", E.UPDATE_QUERY_PARAMS = "updateQueryParams", E.
REQUEST_WHATS_NEW_DATA = "requestWhatsNewData", E.RESULT_WHATS_NEW_DATA = "resultWhatsNewData", E.SET_WHATS_NEW_CACHE = "setWhatsNewCache", E.
TOGGLE_WHATS_NEW_NOTIFICATIONS = "toggleWhatsNewNotifications", E.TELEMETRY_ERROR = "telemetryError", E.FILE_COMPONENT_SEARCH_REQUEST = "fil\
eComponentSearchRequest", E.FILE_COMPONENT_SEARCH_RESPONSE = "fileComponentSearchResponse", E.SAVE_STORY_REQUEST = "saveStoryRequest", E.SAVE_STORY_RESPONSE =
"saveStoryResponse", E.ARGTYPES_INFO_REQUEST = "argtypesInfoRequest", E.ARGTYPES_INFO_RESPONSE = "argtypesInfoResponse", E.CREATE_NEW_STORYFILE_REQUEST =
"createNewStoryfileRequest", E.CREATE_NEW_STORYFILE_RESPONSE = "createNewStoryfileResponse", E))(R || {}), S = R, {
  CHANNEL_WS_DISCONNECT: _,
  CHANNEL_CREATED: T,
  CONFIG_ERROR: A,
  CREATE_NEW_STORYFILE_REQUEST: O,
  CREATE_NEW_STORYFILE_RESPONSE: N,
  CURRENT_STORY_WAS_SET: r,
  DOCS_PREPARED: D,
  DOCS_RENDERED: I,
  FILE_COMPONENT_SEARCH_REQUEST: o,
  FILE_COMPONENT_SEARCH_RESPONSE: C,
  FORCE_RE_RENDER: P,
  FORCE_REMOUNT: L,
  GLOBALS_UPDATED: Y,
  NAVIGATE_URL: a,
  PLAY_FUNCTION_THREW_EXCEPTION: U,
  UNHANDLED_ERRORS_WHILE_PLAYING: G,
  PRELOAD_ENTRIES: W,
  PREVIEW_BUILDER_PROGRESS: H,
  PREVIEW_KEYDOWN: d,
  REGISTER_SUBSCRIPTION: t,
  RESET_STORY_ARGS: p,
  SELECT_STORY: i,
  SET_CONFIG: F,
  SET_CURRENT_STORY: l,
  SET_FILTER: e,
  SET_GLOBALS: y,
  SET_INDEX: c,
  SET_STORIES: h,
  SHARED_STATE_CHANGED: f,
  SHARED_STATE_SET: g,
  STORIES_COLLAPSE_ALL: u,
  STORIES_EXPAND_ALL: s,
  STORY_ARGS_UPDATED: x,
  STORY_CHANGED: m,
  STORY_ERRORED: M,
  STORY_INDEX_INVALIDATED: Q,
  STORY_MISSING: V,
  STORY_PREPARED: w,
  STORY_RENDER_PHASE_CHANGED: B,
  STORY_RENDERED: X,
  STORY_FINISHED: b,
  STORY_SPECIFIED: q,
  STORY_THREW_EXCEPTION: K,
  STORY_UNCHANGED: j,
  UPDATE_GLOBALS: k,
  UPDATE_QUERY_PARAMS: z,
  UPDATE_STORY_ARGS: J,
  REQUEST_WHATS_NEW_DATA: Z,
  RESULT_WHATS_NEW_DATA: $,
  SET_WHATS_NEW_CACHE: n,
  TOGGLE_WHATS_NEW_NOTIFICATIONS: v,
  TELEMETRY_ERROR: EE,
  SAVE_STORY_REQUEST: RE,
  SAVE_STORY_RESPONSE: SE,
  ARGTYPES_INFO_REQUEST: _E,
  ARGTYPES_INFO_RESPONSE: TE
} = R;
export {
  _E as ARGTYPES_INFO_REQUEST,
  TE as ARGTYPES_INFO_RESPONSE,
  T as CHANNEL_CREATED,
  _ as CHANNEL_WS_DISCONNECT,
  A as CONFIG_ERROR,
  O as CREATE_NEW_STORYFILE_REQUEST,
  N as CREATE_NEW_STORYFILE_RESPONSE,
  r as CURRENT_STORY_WAS_SET,
  D as DOCS_PREPARED,
  I as DOCS_RENDERED,
  o as FILE_COMPONENT_SEARCH_REQUEST,
  C as FILE_COMPONENT_SEARCH_RESPONSE,
  L as FORCE_REMOUNT,
  P as FORCE_RE_RENDER,
  Y as GLOBALS_UPDATED,
  a as NAVIGATE_URL,
  U as PLAY_FUNCTION_THREW_EXCEPTION,
  W as PRELOAD_ENTRIES,
  H as PREVIEW_BUILDER_PROGRESS,
  d as PREVIEW_KEYDOWN,
  t as REGISTER_SUBSCRIPTION,
  Z as REQUEST_WHATS_NEW_DATA,
  p as RESET_STORY_ARGS,
  $ as RESULT_WHATS_NEW_DATA,
  RE as SAVE_STORY_REQUEST,
  SE as SAVE_STORY_RESPONSE,
  i as SELECT_STORY,
  F as SET_CONFIG,
  l as SET_CURRENT_STORY,
  e as SET_FILTER,
  y as SET_GLOBALS,
  c as SET_INDEX,
  h as SET_STORIES,
  n as SET_WHATS_NEW_CACHE,
  f as SHARED_STATE_CHANGED,
  g as SHARED_STATE_SET,
  u as STORIES_COLLAPSE_ALL,
  s as STORIES_EXPAND_ALL,
  x as STORY_ARGS_UPDATED,
  m as STORY_CHANGED,
  M as STORY_ERRORED,
  b as STORY_FINISHED,
  Q as STORY_INDEX_INVALIDATED,
  V as STORY_MISSING,
  w as STORY_PREPARED,
  X as STORY_RENDERED,
  B as STORY_RENDER_PHASE_CHANGED,
  q as STORY_SPECIFIED,
  K as STORY_THREW_EXCEPTION,
  j as STORY_UNCHANGED,
  EE as TELEMETRY_ERROR,
  v as TOGGLE_WHATS_NEW_NOTIFICATIONS,
  G as UNHANDLED_ERRORS_WHILE_PLAYING,
  k as UPDATE_GLOBALS,
  z as UPDATE_QUERY_PARAMS,
  J as UPDATE_STORY_ARGS,
  S as default
};
