import "../_browser-chunks/chunk-IO47FP3U.js";

// src/core-events/index.ts
var r = /* @__PURE__ */ ((E) => (E.CHANNEL_WS_DISCONNECT = "channelWSDisconnect", E.CHANNEL_CREATED = "channelCreated", E.CONFIG_ERROR = "configError", 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.STORY_HOT_UPDATED = "storyHotUpdated", E.PLAY_FUNCTION_THREW_EXCEPTION = "playFunctionThrewException", E.UNHANDLED_ERRORS_WHILE_PLAYING = "unhandledErrorsWhilePlaying", 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 = "selectStory", 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 = "fileComponentSearchRequest", 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: R,
  CHANNEL_CREATED: o,
  CONFIG_ERROR: _,
  CREATE_NEW_STORYFILE_REQUEST: t,
  CREATE_NEW_STORYFILE_RESPONSE: e,
  CURRENT_STORY_WAS_SET: T,
  DOCS_PREPARED: a,
  DOCS_RENDERED: N,
  FILE_COMPONENT_SEARCH_REQUEST: A,
  FILE_COMPONENT_SEARCH_RESPONSE: s,
  FORCE_RE_RENDER: O,
  FORCE_REMOUNT: i,
  GLOBALS_UPDATED: p,
  NAVIGATE_URL: I,
  PLAY_FUNCTION_THREW_EXCEPTION: D,
  UNHANDLED_ERRORS_WHILE_PLAYING: P,
  PRELOAD_ENTRIES: C,
  PREVIEW_BUILDER_PROGRESS: d,
  PREVIEW_KEYDOWN: l,
  REGISTER_SUBSCRIPTION: n,
  RESET_STORY_ARGS: y,
  SELECT_STORY: L,
  SET_CONFIG: g,
  SET_CURRENT_STORY: Y,
  SET_FILTER: c,
  SET_GLOBALS: U,
  SET_INDEX: W,
  SET_STORIES: u,
  SHARED_STATE_CHANGED: H,
  SHARED_STATE_SET: G,
  STORIES_COLLAPSE_ALL: f,
  STORIES_EXPAND_ALL: F,
  STORY_ARGS_UPDATED: x,
  STORY_CHANGED: m,
  STORY_ERRORED: h,
  STORY_INDEX_INVALIDATED: w,
  STORY_MISSING: b,
  STORY_PREPARED: M,
  STORY_RENDER_PHASE_CHANGED: Q,
  STORY_RENDERED: V,
  STORY_FINISHED: X,
  STORY_SPECIFIED: q,
  STORY_THREW_EXCEPTION: B,
  STORY_UNCHANGED: K,
  STORY_HOT_UPDATED: k,
  UPDATE_GLOBALS: j,
  UPDATE_QUERY_PARAMS: z,
  UPDATE_STORY_ARGS: J,
  REQUEST_WHATS_NEW_DATA: Z,
  RESULT_WHATS_NEW_DATA: $,
  SET_WHATS_NEW_CACHE: v,
  TOGGLE_WHATS_NEW_NOTIFICATIONS: EE,
  TELEMETRY_ERROR: rE,
  SAVE_STORY_REQUEST: SE,
  SAVE_STORY_RESPONSE: RE,
  ARGTYPES_INFO_REQUEST: oE,
  ARGTYPES_INFO_RESPONSE: _E
} = r;
export {
  oE as ARGTYPES_INFO_REQUEST,
  _E as ARGTYPES_INFO_RESPONSE,
  o as CHANNEL_CREATED,
  R as CHANNEL_WS_DISCONNECT,
  _ as CONFIG_ERROR,
  t as CREATE_NEW_STORYFILE_REQUEST,
  e as CREATE_NEW_STORYFILE_RESPONSE,
  T as CURRENT_STORY_WAS_SET,
  a as DOCS_PREPARED,
  N as DOCS_RENDERED,
  A as FILE_COMPONENT_SEARCH_REQUEST,
  s as FILE_COMPONENT_SEARCH_RESPONSE,
  i as FORCE_REMOUNT,
  O as FORCE_RE_RENDER,
  p as GLOBALS_UPDATED,
  I as NAVIGATE_URL,
  D as PLAY_FUNCTION_THREW_EXCEPTION,
  C as PRELOAD_ENTRIES,
  d as PREVIEW_BUILDER_PROGRESS,
  l as PREVIEW_KEYDOWN,
  n as REGISTER_SUBSCRIPTION,
  Z as REQUEST_WHATS_NEW_DATA,
  y as RESET_STORY_ARGS,
  $ as RESULT_WHATS_NEW_DATA,
  SE as SAVE_STORY_REQUEST,
  RE as SAVE_STORY_RESPONSE,
  L as SELECT_STORY,
  g as SET_CONFIG,
  Y as SET_CURRENT_STORY,
  c as SET_FILTER,
  U as SET_GLOBALS,
  W as SET_INDEX,
  u as SET_STORIES,
  v as SET_WHATS_NEW_CACHE,
  H as SHARED_STATE_CHANGED,
  G as SHARED_STATE_SET,
  f as STORIES_COLLAPSE_ALL,
  F as STORIES_EXPAND_ALL,
  x as STORY_ARGS_UPDATED,
  m as STORY_CHANGED,
  h as STORY_ERRORED,
  X as STORY_FINISHED,
  k as STORY_HOT_UPDATED,
  w as STORY_INDEX_INVALIDATED,
  b as STORY_MISSING,
  M as STORY_PREPARED,
  V as STORY_RENDERED,
  Q as STORY_RENDER_PHASE_CHANGED,
  q as STORY_SPECIFIED,
  B as STORY_THREW_EXCEPTION,
  K as STORY_UNCHANGED,
  rE as TELEMETRY_ERROR,
  EE as TOGGLE_WHATS_NEW_NOTIFICATIONS,
  P as UNHANDLED_ERRORS_WHILE_PLAYING,
  j as UPDATE_GLOBALS,
  z as UPDATE_QUERY_PARAMS,
  J as UPDATE_STORY_ARGS,
  S as default
};
