import{r as e}from"./lib-MoKmYgcO.js";function t(e,t){switch(e){case`preToolUse`:return t.formatMessage(a.preToolUse);case`permissionRequest`:return t.formatMessage(a.permissionRequest);case`postToolUse`:return t.formatMessage(a.postToolUse);case`preCompact`:return t.formatMessage(a.preCompact);case`postCompact`:return t.formatMessage(a.postCompact);case`sessionStart`:return t.formatMessage(a.sessionStart);case`userPromptSubmit`:return t.formatMessage(a.userPromptSubmit);case`subagentStart`:return t.formatMessage(a.subagentStart);case`subagentStop`:return t.formatMessage(a.subagentStop);case`stop`:return t.formatMessage(a.stop)}}function n(e,t){switch(e){case`preToolUse`:return t.formatMessage(a.preToolUseDescription);case`permissionRequest`:return t.formatMessage(a.permissionRequestDescription);case`postToolUse`:return t.formatMessage(a.postToolUseDescription);case`preCompact`:return t.formatMessage(a.preCompactDescription);case`postCompact`:return t.formatMessage(a.postCompactDescription);case`sessionStart`:return t.formatMessage(a.sessionStartDescription);case`userPromptSubmit`:return t.formatMessage(a.userPromptSubmitDescription);case`subagentStart`:return t.formatMessage(a.subagentStartDescription);case`subagentStop`:return t.formatMessage(a.subagentStopDescription);case`stop`:return t.formatMessage(a.stopDescription)}}function r(e,t){return t.formatMessage(a.fallbackHookTitle,{index:e+1})}function i(e){return e==null?null:e.split(`@`)[0]||null}var a=e({preToolUse:{id:`settings.hooks.event.preToolUse`,defaultMessage:`PreToolUse`,description:`Label for the pre tool use hook event`},permissionRequest:{id:`settings.hooks.event.permissionRequest`,defaultMessage:`PermissionRequest`,description:`Label for the permission request hook event`},postToolUse:{id:`settings.hooks.event.postToolUse`,defaultMessage:`PostToolUse`,description:`Label for the post tool use hook event`},preCompact:{id:`settings.hooks.event.preCompact`,defaultMessage:`PreCompact`,description:`Label for the pre compact hook event`},postCompact:{id:`settings.hooks.event.postCompact`,defaultMessage:`PostCompact`,description:`Label for the post compact hook event`},sessionStart:{id:`settings.hooks.event.sessionStart`,defaultMessage:`SessionStart`,description:`Label for the session start hook event`},userPromptSubmit:{id:`settings.hooks.event.userPromptSubmit`,defaultMessage:`UserPromptSubmit`,description:`Label for the user prompt submit hook event`},subagentStart:{id:`settings.hooks.event.subagentStart`,defaultMessage:`SubagentStart`,description:`Label for the subagent start hook event`},subagentStop:{id:`settings.hooks.event.subagentStop`,defaultMessage:`SubagentStop`,description:`Label for the subagent stop hook event`},stop:{id:`settings.hooks.event.stop`,defaultMessage:`Stop`,description:`Label for the stop hook event`},preToolUseDescription:{id:`settings.hooks.event.preToolUse.description`,defaultMessage:`Before a tool executes`,description:`Description for the pre tool use hook event`},permissionRequestDescription:{id:`settings.hooks.event.permissionRequest.description`,defaultMessage:`When permission is requested`,description:`Description for the permission request hook event`},postToolUseDescription:{id:`settings.hooks.event.postToolUse.description`,defaultMessage:`After a tool executes`,description:`Description for the post tool use hook event`},preCompactDescription:{id:`settings.hooks.event.preCompact.description`,defaultMessage:`Before Codex compacts the conversation`,description:`Description for the pre compact hook event`},postCompactDescription:{id:`settings.hooks.event.postCompact.description`,defaultMessage:`After Codex compacts the conversation`,description:`Description for the post compact hook event`},sessionStartDescription:{id:`settings.hooks.event.sessionStart.description`,defaultMessage:`When a new session starts`,description:`Description for the session start hook event`},userPromptSubmitDescription:{id:`settings.hooks.event.userPromptSubmit.description`,defaultMessage:`When the user submits a prompt`,description:`Description for the user prompt submit hook event`},subagentStartDescription:{id:`settings.hooks.event.subagentStart.description`,defaultMessage:`When a subagent starts`,description:`Description for the subagent start hook event`},subagentStopDescription:{id:`settings.hooks.event.subagentStop.description`,defaultMessage:`When a subagent stops`,description:`Description for the subagent stop hook event`},stopDescription:{id:`settings.hooks.event.stop.description`,defaultMessage:`Right before Codex ends its turn`,description:`Description for the stop hook event`},fallbackHookTitle:{id:`settings.hooks.event.fallbackHookTitle`,defaultMessage:`Hook {index}`,description:`Fallback title for a hook row without a stronger label`}});export{i,t as n,r,n as t};
//# sourceMappingURL=hooks-settings-copy-Bdn_1DLD.js.map