{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "casework-content",
  "title": "Casework content provider",
  "description": "The words Casework blocks show on their own: generic defaults an app overrides from one place without editing block source.",
  "dependencies": [
    "@registrystack/app-runtime@~0.43.0-next.0"
  ],
  "registryDependencies": [
    "@registrystack/lib-content"
  ],
  "files": [
    {
      "path": "casework/casework-content.tsx",
      "content": "import { createContext, useContext, useMemo, type ReactNode } from \"react\";\nimport { MessagesContext, withMessages } from \"@/blocks/lib/content\";\n\n/**\n * The words Casework blocks show on their own: generic defaults an app\n * replaces with its own content through `CaseworkContentProvider`. Kept apart\n * from `BlockContent` (`@/blocks/lib/content`) because these words are only\n * meaningful to a Casework review task; a record or request\n * block never reads them.\n */\nexport interface CaseworkContent {\n  /** Labels for a review task's state or a due state, by its state code. */\n  stateLabels: Readonly<Record<string, string>>;\n  /** Shown for a state code no label is recorded for. */\n  unknownStatus: string;\n  /** \"{name} (you)\": a holder's name when the officer reading the page holds the task. */\n  heldByYou: string;\n  /** A task nobody currently holds. */\n  unclaimed: string;\n  /** Stands in for a request's own reference when Casework could not join one. */\n  unnamedRequest: string;\n  due: string;\n  noDueDate: string;\n  /** A table's column holding what an officer can do from a row. */\n  actionsColumn: string;\n  relativeToday: string;\n  relativeYesterday: string;\n  relativeTomorrow: string;\n  /** `{days}` ago, for a date more than a day in the past. */\n  relativeDaysAgo: string;\n  /** In `{days}` days, for a date more than a day in the future. */\n  relativeInDays: string;\n  /** `{days}` late, for a due date already passed. */\n  whenLate: string;\n  whenToday: string;\n  whenTomorrow: string;\n  /** In `{days}` days, the short form a dense cell uses. */\n  whenInDays: string;\n  whenJustNow: string;\n  /** `{minutes}` minutes ago. */\n  whenMinutesAgo: string;\n  /** `{hours}` hours ago. */\n  whenHoursAgo: string;\n  whenYesterday: string;\n  /** `{days}` days ago, the short form a dense cell uses. */\n  whenDaysAgo: string;\n  waitingJustNow: string;\n  /** `{minutes}` minutes. */\n  waitingMinutes: string;\n  /** `{hours}` hours. */\n  waitingHours: string;\n  /** `{days}` days. */\n  waitingDays: string;\n  /** The heading over what a reviewer sees of a task's subject. */\n  contextHeading: string;\n  /** Shown when a projected source changed after the request was submitted. */\n  contextSourceChanged: string;\n  /** Shown when the subject carries no field to show. */\n  contextEmpty: string;\n  /** Shown when the record behind a BReg subject could not be read. */\n  recordUnavailable: string;\n  /** The task's policy, named for the record: `Review policy {id}, version {version}`. */\n  policyLine: string;\n  /** Closes a dialog or a drawer, read by assistive technology. */\n  close: string;\n  /** The keyboard-shortcuts dialog's title, opened with `?`. */\n  shortcutsTitle: string;\n  /** The keyboard-shortcuts dialog's explanation of when a single key fires. */\n  shortcutsDescription: string;\n  /** The keyboard-shortcuts table's column naming the key. */\n  shortcutKey: string;\n  /** The keyboard-shortcuts table's column naming what the key does. */\n  shortcutDoes: string;\n  /** The modifier key's name on platforms other than the Mac, whose `⌘` is a symbol. */\n  shortcutControl: string;\n  /** The space bar's name in the keyboard-shortcuts table. */\n  shortcutSpace: string;\n  /** \"{modifier} {key}\": a shortcut pressed with the modifier key. */\n  shortcutChord: string;\n  /** Opens the jump palette, read by assistive technology. */\n  goTo: string;\n  /** The jump palette's search field placeholder. */\n  goToPlaceholder: string;\n  /** Shown in the jump palette when nothing matches the typed text. */\n  noMatchingPlace: string;\n  /** Names the jump palette's list of places, for assistive technology. */\n  goToList: string;\n  /** Names the shell's main navigation landmark, for assistive technology. */\n  navMain: string;\n  /** Opens the mobile navigation drawer, read by assistive technology. */\n  navMenu: string;\n  /** Jumps past the header to the page's main content. */\n  skip: string;\n  /** The badge beside the service name marking it as not yet finished. */\n  beta: string;\n  /** Names the sidebar landmark, for assistive technology. */\n  staffName: string;\n  /** Shown under the places list in the sidebar and the mobile drawer. */\n  footerNote: string;\n  /** Shown across the page while the browser reports no connection. */\n  offline: string;\n  /** Signs the officer out, in the account menu. */\n  signOut: string;\n  /** Names the account menu when the session has no display name. */\n  account: string;\n  /** Shown when signing out failed and the officer is still signed in. */\n  signOutFailed: string;\n  /** The place label for the review task queue, where a casework session opens. */\n  navReviews: string;\n  /** The place label for casework setup, shown only to an administrator. */\n  navSetup: string;\n  /** The place label for a supervisor's staffing page. */\n  navStaffing: string;\n  /** The place label for a supervisor's accountability list of every review in their teams. */\n  navTeamReviews: string;\n  /** The place label for the reviews the officer has decided. */\n  navMyDecisions: string;\n  /** The place label for the page saying how review works here. */\n  navHowReviewWorks: string;\n  /** The place label for help, in the staff work shell. */\n  navHelp: string;\n  /** The place label for the register's own records, for a session with a casework profile. */\n  navRecords: string;\n  /** The account menu's switch for single-key shortcuts. */\n  shortcutsSetting: string;\n  /** What the `mod+K` shortcut does, for the shortcuts list. */\n  shortcutGoTo: string;\n  /** What the `?` shortcut does, for the shortcuts list. */\n  shortcutHelp: string;\n\n  // A support reference's copy control\n  /** Copies the support reference to the clipboard, read by assistive technology. */\n  copy: string;\n  copied: string;\n\n  // A short or incomplete page Casework served\n  /** What Casework said about a short or incomplete page (a review list or the staffing directory), by its status code. */\n  caseworkPageStatus: Readonly<Record<string, string>>;\n\n  // UncertainCommand (a write whose outcome Casework has not confirmed)\n  /** Shown while an unconfirmed write is still being checked. */\n  checking: string;\n  withoutAuthority: string;\n  stopWaiting: string;\n  retryForbidden: string;\n  caseworkRefusedTitle: string;\n  unknownTitle: string;\n  /** Resends a staffing write whose outcome is unknown, as the same attempt. */\n  exactRetry: string;\n\n  // Confirm steps\n  /** Cancels the panel's own confirm step. */\n  cancel: string;\n\n  // Unconfirmed (shared by the review panels; UncertainCommand reads its own checking, withoutAuthority, stopWaiting and retryForbidden above)\n  /** Checks an unconfirmed attempt directly, when the command offers it. */\n  check: string;\n\n  // Refusal reasons shared by the review panels\n  heldElsewhere: string;\n  changed: string;\n  gone: string;\n  notAuthorized: string;\n  /** A review stage that excludes its initiator: someone else must take the task. */\n  initiatorExcluded: string;\n  /** A reviewer who already reviewed the stage: someone else must give the approval. */\n  distinctApproverRequired: string;\n  keyReused: string;\n\n  // DecisionPanel\n  decisionHeading: string;\n  outcomeLegend: string;\n  approve: string;\n  reason: string;\n  reasonHint: string;\n  reasonRequired: string;\n  /** The reason the requester will see, when the chosen outcome asks for or allows one. */\n  publicReason: string;\n  publicReasonHint: string;\n  publicReasonRequired: string;\n  chooseOutcome: string;\n  resultHeading: string;\n  /** A declared result field left empty: \"Fill in {field}.\" */\n  resultMissing: string;\n  /** An outcome a plan blocked: \"{outcome} cannot be recorded here...\" */\n  outcomeBlocked: string;\n  record: string;\n  decided: string;\n  /** \"It now waits for the next review stage: {stage}.\": a confirmed decision after which the review moved on. */\n  nextStage: string;\n  /** The same, when the page cannot name the next stage. */\n  nextStageUnnamed: string;\n  /** \"Approving sends it on to the next review stage: {stage}.\": beside the outcomes, where approving leads from a stage one approval settles. */\n  approvesToStage: string;\n  /** The same, when the page cannot name the next stage. */\n  approvesToStageUnnamed: string;\n  /** The same at the policy's last stage, where approving settles the review. */\n  approvesSettles: string;\n  /** A confirmed decision that settled the review as approved. */\n  settledApproved: string;\n  /** A confirmed decision that settled the review as rejected. */\n  settledRejected: string;\n  /** A confirmed decision that sent the request back to be revised. */\n  sentBack: string;\n  decisionUnconfirmed: string;\n  retryDecision: string;\n  decisionUnattributed: string;\n  decisionNotApplied: string;\n  /**\n   * ReviewDecisionPendingNotice: a decision this session sent that Casework\n   * has not confirmed, said on any page but its own task's.\n   */\n  decisionPendingBody: string;\n  /** Leads from that notice to the task, where the same decision can be retried. */\n  resumeDecision: string;\n  requesterNote: string;\n  requesterNoteHint: string;\n  requesterNoteRequired: string;\n  requesterNoteSent: string;\n  requesterNoteNotSent: string;\n  resendRequesterNote: string;\n  requesterNoteUnconfirmed: string;\n  retryRequesterNote: string;\n\n  // DraftPanel\n  draftHeading: string;\n  draftLabel: string;\n  draftHint: string;\n  saveDraft: string;\n  deleteDraft: string;\n  draftSaved: string;\n  draftDeleted: string;\n  draftUnconfirmed: string;\n  draftDeleteUnconfirmed: string;\n  retryDraft: string;\n  retryDraftDelete: string;\n  /** A task read back after a claim, release or draft write that was not applied. */\n  taskNotApplied: string;\n\n  // NotesPanel\n  notesHeading: string;\n  noteLabel: string;\n  audienceLegend: string;\n  audienceReviewers: string;\n  audienceRequester: string;\n  addNote: string;\n  noteAdded: string;\n  noteEmpty: string;\n  noteUnconfirmed: string;\n  retryNote: string;\n  /** Shown when a review record ended before a note could be confirmed. */\n  noteExpired: string;\n  dismiss: string;\n\n  // HistoryPanel\n  historyHeading: string;\n  historyEmpty: string;\n  historyMore: string;\n  historyByYou: string;\n  /** What a review history entry's kind reads as, keyed by Casework's code. */\n  historyKinds: Readonly<Record<string, string>>;\n  /** What an entry whose kind has no words in `historyKinds` reads as. */\n  historyUnknownKind: string;\n  whoDecided: string;\n  /** \"{person}, as {profile}: {decision}\" */\n  accountabilityLine: string;\n  accountabilityUnavailable: string;\n  accountabilityNotFound: string;\n  /** What a failed read of who decided says when the host gave no words of its own. */\n  accountabilityNotRead: string;\n\n  // Unavailable actions and refused handoffs, in the products' own reasons\n  /**\n   * Why a proposal link is unavailable, by the reason BReg's client reports.\n   * A reason with no words here is not named: `unavailableNoReason` stands in.\n   */\n  unavailableReasons: Readonly<Record<string, string>>;\n  /** What to do next, by the recovery the client reports. */\n  unavailableRecoveries: Readonly<Record<string, string>>;\n  unavailableNoReason: string;\n  /** \"{reason} {recovery}\" */\n  unavailableLine: string;\n  /** What an administrator reads when a review handoff was refused. */\n  handoffRefusedAdministrator: string;\n  /** What anyone else reads when a review handoff was refused. */\n  handoffRefusedOther: string;\n\n  // ClocksPanel\n  clocksHeading: string;\n  clocksEmpty: string;\n  /**\n   * \"Deadline {number}\": a deadline's name, by its place in the list, where the\n   * review page names none for its clock id (`howDeadlineNames`). Casework\n   * serves no name for a clock, only its configuration id.\n   */\n  clockName: string;\n  /**\n   * \"{name} ({stage})\": a stage clock's name with the stage it runs for, so the\n   * same deadline in two stages reads apart. `{name}` is the deadline's name or\n   * `clockName` filled; `{stage}` the stage's name on the review page.\n   */\n  clockStageName: string;\n  /** \"{name}: {state}\": a clock with no due time, `{name}` being `clockName` filled. */\n  clockLine: string;\n  /** \"{name}: {state}, due {time}\": a clock with a due time, `{name}` being `clockName` filled. */\n  clockLineDue: string;\n  /** Labels for a review clock's state, by its state code. */\n  clockStates: Readonly<Record<string, string>>;\n\n  // QueueFilterBar, QueueFilterChips, QueueResultCount, QueuePager (blocks/lib/queue-parts)\n  /** Submits a queue's stage filter. */\n  filterApply: string;\n  /** Names the chip a removed filter's own button carries: \"Remove filter: {label}\". */\n  removeFilter: string;\n  /** Clears every applied filter on a queue at once. */\n  clearAllFilters: string;\n  /** \"Showing {start} to {end}\", no total: a cursor list never counts one. */\n  showingRange: string;\n  /** \"{size} per page\", filled once per page-size option. */\n  perPage: string;\n\n  // ErrorSummary\n  /** The heading over a form's validation errors, focused when they first appear. */\n  validationTitle: string;\n\n  // Staffing (shared by every staffing form's own field validation)\n  /** A staffing field left empty. */\n  requiredError: string;\n  actionLabels: Record<\"assign\" | \"delegate\", string>;\n  assignmentHeading: string;\n  assignmentDescription: string;\n  assignmentAction: string;\n  assignmentTarget: string;\n  assignmentReason: string;\n  assignmentReasonHint: string;\n  assignmentConfirmed: string;\n  assignmentUnknown: string;\n  selectTarget: string;\n  targetList: string;\n  noMatchingColleague: string;\n  targetsUnavailable: string;\n  moreTargets: string;\n  /** `{count}` more colleagues were loaded into the list. */\n  moreTargetsLoaded: string;\n  createAbsence: string;\n  editAbsence: string;\n  person: string;\n  cover: string;\n  from: string;\n  until: string;\n  fromDate: string;\n  fromTime: string;\n  untilDate: string;\n  untilTime: string;\n  /** `{zone}`: the device's time zone. */\n  zoneHint: string;\n  /** `{person}`: the person away. */\n  heldWork: string;\n  saveAbsence: string;\n  saveAbsenceChanges: string;\n  absenceConfirmed: string;\n  absenceEnded: string;\n  absenceUnknown: string;\n  confirmEndAbsenceTitle: string;\n  /** `{person}` is covered from `{from}` until `{until}`. */\n  confirmEndAbsenceBody: string;\n  confirmEndAbsence: string;\n  invalidInterval: string;\n  /** The offer, once a cover is saved, to move what the person away (`{person}`) holds in one queue (`{queue}`). */\n  caseloadTitle: string;\n  caseloadHeading: string;\n  caseloadDescription: string;\n  caseloadQueue: string;\n  moveFrom: string;\n  moveTo: string;\n  movementReason: string;\n  /** The person an absence offer named (`{person}`) is not among the colleagues Casework lists for the queue. */\n  caseloadNoMove: string;\n  previewCaseload: string;\n  /** What a preview fenced: how many review tasks (`{count}`), in which queue (`{queue}`), from whom (`{from}`), to whom (`{to}`). */\n  caseloadPreviewSummary: string;\n  /** `{when}`: the moment the preview expires. */\n  caseloadPreviewExpires: string;\n  /** `{from}` holds nothing to move in `{queue}`. */\n  caseloadPreviewNothing: string;\n  /** Casework no longer holds the preview a confirm named. */\n  caseloadPreviewGone: string;\n  /** A colleague a preview named whom the loaded list no longer carries. */\n  caseloadUnlisted: string;\n  /** `{count}`: the review tasks the preview fenced. */\n  confirmCaseload: string;\n  /** Casework's own `{count}`, shown only once it confirmed the move. */\n  caseloadMoved: string;\n  caseloadUnknown: string;\n  unknownStuck: string;\n  stopShowing: string;\n  pendingTitle: string;\n  /** `{count}`: the staffing changes Casework may have recorded. */\n  pendingBody: string;\n  pendingRetry: string;\n  pendingStill: string;\n  pendingRefused: string;\n  pendingRecorded: string;\n  pendingWithoutAuthority: string;\n\n  // Staffing page (the supervisor's caseload moves and absence cover)\n  staffingTitle: string;\n  staffingDescription: string;\n  /** No review task the officer supervises names a queue to move work in. */\n  caseloadNoQueues: string;\n  /** Casework stopped the supervised list early, so a queue may be missing. */\n  caseloadQueuesPartial: string;\n  absencesHeading: string;\n  absencesCaption: string;\n  absencesEmpty: string;\n  /** The page action that opens the absence drawer with nobody chosen. */\n  recordAbsence: string;\n  /** `{person}`: the person away. */\n  editAbsenceOf: string;\n  /** `{person}`: the person away. */\n  endAbsenceOf: string;\n  /** A generic retry button, offered beside a secondary read that failed. */\n  retry: string;\n\n  // Task grants (the agent tasks a review task carries, and their approval)\n  taskHeading: string;\n  /**\n   * The count a closed panel carries is how many tasks it would list, revoked\n   * and expired ones included, so opening it never contradicts the label.\n   * When Casework would not say, the label is the bare words.\n   */\n  taskHeadingCount: string;\n  taskIntro: string;\n  taskRefresh: string;\n  taskReview: string;\n  taskApprove: string;\n  taskRetry: string;\n  taskRevoke: string;\n  taskCancel: string;\n  taskAgent: string;\n  taskIssuer: string;\n  taskClient: string;\n  taskResource: string;\n  taskPurpose: string;\n  taskScopes: string;\n  taskEvidenceAudience: string;\n  taskRequesterTags: string;\n  /** \"{service} / {location}: {actions}\": one scheduling permission a task is bounded by. */\n  taskGrantPermission: string;\n  taskBounds: string;\n  taskSubjects: string;\n  taskDuration: string;\n  taskApproved: string;\n  taskRun: string;\n  taskRunUnavailable: string;\n  taskRevoked: string;\n  taskInvalidated: string;\n  taskExpired: string;\n  taskUntil: string;\n  taskNoTemplates: string;\n  taskNoGrants: string;\n  taskUnavailable: string;\n  taskStale: string;\n  taskUnconfirmed: string;\n  taskRevokeUnconfirmed: string;\n\n  // Setup (the administrator's one-time bootstrap of a team, its staff, its leader and its queue)\n  setupHeading: string;\n  setupHeadingDescription: string;\n  setupExistingTeams: string;\n  setupTeamsCaption: string;\n  setupNoTeams: string;\n  setupTeamColumn: string;\n  setupStaffColumn: string;\n  setupLeadersColumn: string;\n  setupQueuesColumn: string;\n  setupCreateHeading: string;\n  setupTeamName: string;\n  setupTeamNameHint: string;\n  setupTeamNameExample: string;\n  setupStaff: string;\n  setupStaffHint: string;\n  setupStaffExample: string;\n  setupLeader: string;\n  setupLeaderHint: string;\n  setupLeaderExample: string;\n  setupQueue: string;\n  setupQueueHint: string;\n  setupQueueTypedHint: string;\n  setupQueueExample: string;\n  setupContinue: string;\n  setupTeamNameRequired: string;\n  setupTeamNameInvalid: string;\n  setupStaffRequired: string;\n  setupStaffInvalid: string;\n  setupStaffDuplicate: string;\n  setupStaffTooMany: string;\n  setupLeaderRequired: string;\n  setupLeaderInvalid: string;\n  setupQueueRequired: string;\n  setupQueueInvalid: string;\n  setupTeamNameTaken: string;\n  setupCheckTitle: string;\n  setupCheckDescription: string;\n  setupCheckStaff: string;\n  setupCheckLeader: string;\n  setupCheckQueue: string;\n  /** The check step's edit button for the team identifier answer. */\n  setupChangeTeamName: string;\n  /** The check step's edit button for the staff answer. */\n  setupChangeStaff: string;\n  /** The check step's edit button for the supervisor answer. */\n  setupChangeLeader: string;\n  /** The check step's edit button for the queue answer. */\n  setupChangeQueue: string;\n  setupCreate: string;\n  setupCreating: string;\n  setupBack: string;\n  setupDoneTitle: string;\n  setupDoneNext: string;\n  setupDoneQueue: string;\n  setupAnother: string;\n}\n\nexport const caseworkContent: Required<CaseworkContent> = {\n  // A review task's open state, then the due states, as Casework serves\n  // them. The shell's `stateLabels` carries the same words.\n  stateLabels: {\n    open: \"Waiting for review\",\n    \"on-track\": \"On track\",\n    \"at-risk\": \"Due soon\",\n    overdue: \"Overdue\",\n  },\n  unknownStatus: \"Status not available\",\n  heldByYou: \"{name} (you)\",\n  unclaimed: \"Unclaimed\",\n  unnamedRequest: \"Case\",\n  due: \"Due\",\n  noDueDate: \"No due date\",\n  actionsColumn: \"Actions\",\n  relativeToday: \"today\",\n  relativeYesterday: \"yesterday\",\n  relativeTomorrow: \"tomorrow\",\n  relativeDaysAgo: \"{days} days ago\",\n  relativeInDays: \"in {days} days\",\n  whenLate: \"{days}d late\",\n  whenToday: \"today\",\n  whenTomorrow: \"tomorrow\",\n  whenInDays: \"in {days}d\",\n  whenJustNow: \"just now\",\n  whenMinutesAgo: \"{minutes}m ago\",\n  whenHoursAgo: \"{hours}h ago\",\n  whenYesterday: \"yesterday\",\n  whenDaysAgo: \"{days}d ago\",\n  waitingJustNow: \"Just now\",\n  waitingMinutes: \"{minutes, plural, one {# minute} other {# minutes}}\",\n  waitingHours: \"{hours, plural, one {# hour} other {# hours}}\",\n  waitingDays: \"{days, plural, one {# day} other {# days}}\",\n  contextHeading: \"What was submitted\",\n  contextSourceChanged:\n    \"The source record changed after this request was submitted.\",\n  contextEmpty: \"The request carries nothing to show here.\",\n  recordUnavailable: \"The record behind this task could not be read.\",\n  policyLine: \"Review policy {id}, version {version}\",\n  close: \"Close\",\n  shortcutsTitle: \"Keyboard shortcuts\",\n  shortcutsDescription:\n    \"Single keys work while no text field has focus. Switch them off from the account menu.\",\n  shortcutKey: \"Key\",\n  shortcutDoes: \"Does\",\n  shortcutControl: \"Ctrl\",\n  shortcutSpace: \"Space\",\n  shortcutChord: \"{modifier} {key}\",\n  goTo: \"Go to\",\n  goToPlaceholder: \"Search or jump to…\",\n  noMatchingPlace: \"No matching place\",\n  goToList: \"Places\",\n  navMain: \"Main\",\n  navMenu: \"Menu\",\n  skip: \"Skip to main content\",\n  beta: \"BETA\",\n  staffName: \"Staff service\",\n  footerNote: \"Test service. Records and accounts are fictional.\",\n  offline:\n    \"You appear to be offline. Reads and submissions need a connection. Keep this page open to retain unsaved answers.\",\n  signOut: \"Sign out\",\n  account: \"Your account\",\n  signOutFailed: \"Signing out failed. Try again.\",\n  navReviews: \"Your work\",\n  navSetup: \"Set up teams\",\n  navStaffing: \"Staffing\",\n  navTeamReviews: \"Team reviews\",\n  navMyDecisions: \"My decisions\",\n  navHowReviewWorks: \"How review works\",\n  navHelp: \"Help\",\n  navRecords: \"Records\",\n  shortcutsSetting: \"Single-key shortcuts\",\n  shortcutGoTo: \"Go to a place\",\n  shortcutHelp: \"Show keyboard shortcuts\",\n  copy: \"Copy the support reference\",\n  copied: \"Copied to the clipboard.\",\n  caseworkPageStatus: {\n    budget_exhausted:\n      \"Casework stopped before it reached the end, so there may be more than is shown.\",\n    source_unavailable:\n      \"Casework could not reach the service, so some of this may be missing.\",\n  },\n  checking: \"Checking what the service recorded…\",\n  withoutAuthority:\n    \"A send from an earlier session could not be confirmed. Only that session could resend it.\",\n  stopWaiting: \"Stop waiting for this send\",\n  retryForbidden:\n    \"The service refused to resend because you may no longer act on this queue. A supervisor of this queue can check whether it was recorded.\",\n  caseworkRefusedTitle: \"This action could not be completed\",\n  unknownTitle: \"We could not confirm the result\",\n  exactRetry: \"Retry this exact submission\",\n  cancel: \"Cancel\",\n  check: \"Check\",\n  heldElsewhere:\n    \"Another officer holds this task. It has been read again; nothing was changed.\",\n  changed:\n    \"This task changed since you opened it. It has been read again; review it before you act.\",\n  gone: \"This task is no longer awaiting review.\",\n  notAuthorized: \"You may not do this on this task.\",\n  initiatorExcluded:\n    \"You submitted this request, so another reviewer must take it.\",\n  distinctApproverRequired:\n    \"You have already reviewed this stage, so someone else must give this approval.\",\n  keyReused:\n    \"The service refused this send because a different one was already sent under the same attempt. Nothing from this send was recorded.\",\n  decisionHeading: \"Decision\",\n  outcomeLegend: \"Outcome\",\n  approve: \"Approve\",\n  reason: \"Reason\",\n  reasonHint: \"Reviewers see this reason. The requester does not.\",\n  reasonRequired: \"Give a reason for this outcome.\",\n  publicReason: \"Reason the requester will see\",\n  publicReasonHint:\n    \"Write it for the person who submitted the request, on one line.\",\n  publicReasonRequired: \"Give the reason the requester will see.\",\n  chooseOutcome: \"Choose an outcome.\",\n  resultHeading: \"Result\",\n  resultMissing: \"Fill in {field}.\",\n  outcomeBlocked:\n    \"{outcome} cannot be recorded here: the result it needs has a field this page cannot capture.\",\n  record: \"Record decision\",\n  decided: \"Decision recorded.\",\n  nextStage: \"It now waits for the next review stage: {stage}.\",\n  nextStageUnnamed: \"It now waits for the next review stage.\",\n  approvesToStage: \"Approving sends it on to the next review stage: {stage}.\",\n  approvesToStageUnnamed: \"Approving sends it on to the next review stage.\",\n  approvesSettles:\n    \"Approving completes the review and approves the request. The record changes only once the approved request is applied.\",\n  settledApproved:\n    \"The review is complete and the request is approved. The record changes only once the approved request is applied.\",\n  settledRejected: \"The review is complete. The request was rejected.\",\n  sentBack: \"The request was sent back for a revision.\",\n  decisionUnconfirmed:\n    \"The service could not confirm this decision. Retry sends the same decision again. Do not decide again until this is resolved.\",\n  retryDecision: \"Retry the same decision\",\n  decisionUnattributed: \"The task was decided; this send cannot be confirmed.\",\n  decisionNotApplied:\n    \"The task was read back and this decision was not recorded. You can decide again.\",\n  decisionPendingBody:\n    \"Casework could not confirm a decision you recorded on a review task. Retry the same decision from the task before deciding on it again.\",\n  resumeDecision: \"Return to the unconfirmed decision\",\n  requesterNote: \"Note to the requester\",\n  requesterNoteHint:\n    \"The person who submitted the request reads this note. It is sent once the decision is recorded.\",\n  requesterNoteRequired: \"Write the note the requester will read.\",\n  requesterNoteSent: \"Note sent to the requester.\",\n  requesterNoteNotSent:\n    \"The decision was recorded, but the note to the requester was not sent.\",\n  resendRequesterNote: \"Send the note to the requester again\",\n  requesterNoteUnconfirmed:\n    \"The decision was recorded. The service could not confirm the note to the requester. Retry sends the same note again.\",\n  retryRequesterNote: \"Retry the same note to the requester\",\n  draftHeading: \"Your draft (optional)\",\n  draftLabel: \"Private draft\",\n  draftHint: \"Only you see this draft. It is kept with the task.\",\n  saveDraft: \"Save draft\",\n  deleteDraft: \"Delete draft\",\n  draftSaved: \"Draft saved.\",\n  draftDeleted: \"Draft deleted.\",\n  draftUnconfirmed:\n    \"The service could not confirm this draft. Retry sends it again; saving again replaces it.\",\n  draftDeleteUnconfirmed:\n    \"The service could not confirm the draft was deleted. Retry sends the same deletion again.\",\n  retryDraft: \"Retry the same draft\",\n  retryDraftDelete: \"Retry the same deletion\",\n  taskNotApplied:\n    \"The task was read back and this change was not applied. You can try again.\",\n  notesHeading: \"Notes (optional)\",\n  noteLabel: \"Note\",\n  audienceLegend: \"Who the note is for\",\n  audienceReviewers: \"Other reviewers\",\n  audienceRequester: \"The requester\",\n  addNote: \"Add note\",\n  noteAdded: \"Note added.\",\n  noteEmpty: \"Write a note.\",\n  noteUnconfirmed:\n    \"The service could not confirm this note. Retry sends the same note again.\",\n  retryNote: \"Retry the same note\",\n  noteExpired:\n    \"This request's review record has ended, so the note cannot be added and the service cannot say whether it was. Dismiss it to continue.\",\n  dismiss: \"Dismiss\",\n  historyHeading: \"Review history\",\n  historyEmpty: \"Nothing has been recorded on this request yet.\",\n  historyMore: \"Show earlier entries\",\n  historyByYou: \"by you\",\n  historyKinds: {\n    review_created: \"Review opened\",\n    request_created: \"Request received\",\n    review_superseded: \"Replaced by a later submission\",\n    review_cancelled: \"Review cancelled\",\n    review_decided: \"Decided\",\n    review_settled: \"Review closed\",\n    stage_advanced: \"Moved to the next review stage\",\n    task_claimed: \"Claimed\",\n    task_released: \"Released\",\n    task_assigned: \"Assigned\",\n    task_delegated: \"Delegated\",\n    task_draft_saved: \"Draft decision saved\",\n    task_absence_reconciled: \"Reassigned to cover an absence\",\n    clock_reminder: \"Deadline reminder\",\n    clock_step_applied: \"Deadline action taken\",\n    note: \"Note added\",\n    task_grant_approved: \"Agent task approved\",\n    task_grant_revoked: \"Agent task revoked\",\n    task_grant_invalidated: \"Agent task no longer valid\",\n  },\n  historyUnknownKind: \"Update recorded\",\n  unavailableReasons: {\n    \"pending-review\": \"The request is waiting for its review.\",\n    \"review-rejected\": \"The review rejected the request.\",\n    \"review-changes-requested\": \"The review asked for changes.\",\n    \"review-ended\": \"The review has ended.\",\n    \"stale-revision\": \"The request changed after you opened it.\",\n    \"contract-changed\": \"The register's rules changed after the request was made.\",\n    \"dependency-outage\": \"A service the request depends on is not answering.\",\n    \"invalid-input\": \"Something in the request is not accepted.\",\n    \"already-applied\": \"The change has already been applied.\",\n    \"guard-not-satisfied\": \"This action is not available for this record now.\",\n  },\n  unavailableRecoveries: {\n    refresh: \"Open the request again to see its latest state.\",\n    revise: \"Revise the request and send it again.\",\n    retry: \"Try again later.\",\n    \"correct-input\": \"Correct what the request holds and send it again.\",\n    \"receipt-only\": \"Nothing more can be done here; keep the receipt.\",\n  },\n  unavailableNoReason: \"This action is not available.\",\n  unavailableLine: \"{reason} {recovery}\",\n  handoffRefusedAdministrator:\n    \"The review service refused this request. The BReg log names the authority that refused it, the HTTP status and the problem code.\",\n  handoffRefusedOther:\n    \"The review service refused this request. An administrator can find out why in the BReg log.\",\n  whoDecided: \"Show the reviewer's name\",\n  accountabilityLine: \"{person}, as {profile}: {decision}\",\n  accountabilityUnavailable:\n    \"Who decided can only be read by a supervisor of this queue.\",\n  accountabilityNotFound: \"No record of who decided this could be found.\",\n  accountabilityNotRead: \"Who decided this could not be read. Try again.\",\n  clocksHeading: \"Deadlines\",\n  clocksEmpty: \"No deadlines run on this request.\",\n  clockName: \"Deadline {number}\",\n  clockStageName: \"{name} ({stage})\",\n  clockLine: \"{name}: {state}\",\n  clockLineDue: \"{name}: {state}, due {time}\",\n  clockStates: {\n    running: \"open\",\n    completed: \"closed\",\n    cancelled: \"no longer applies\",\n    source_facts_missing: \"cannot be worked out yet\",\n  },\n  filterApply: \"Apply\",\n  removeFilter: \"Remove filter: {label}\",\n  clearAllFilters: \"Clear all filters\",\n  showingRange: \"Showing {start} to {end}\",\n  perPage: \"{size} per page\",\n  validationTitle: \"Check the information you entered\",\n  requiredError: \"Enter a value for this field.\",\n  actionLabels: {\n    assign: \"Assign item\",\n    delegate: \"Delegate item\",\n  },\n  assignmentHeading: \"Assign to a colleague\",\n  assignmentDescription:\n    \"Choose an eligible colleague. The displayed name does not grant authority; Casework checks the selected reference again.\",\n  assignmentAction: \"Assignment action\",\n  assignmentTarget: \"Assign to\",\n  assignmentReason: \"Reason\",\n  assignmentReasonHint: \"This reason is recorded with the assignment.\",\n  assignmentConfirmed: \"The assignment was recorded.\",\n  assignmentUnknown:\n    \"Casework could not confirm the assignment. Retry the same attempt before assigning again.\",\n  selectTarget: \"Search for a colleague\",\n  targetList: \"Matching colleagues\",\n  noMatchingColleague: \"No loaded colleague matches what you typed.\",\n  targetsUnavailable: \"No eligible colleagues are available on this page.\",\n  moreTargets: \"Show more colleagues\",\n  moreTargetsLoaded:\n    \"{count, plural, one {# colleague is now in the list.} other {# colleagues are now in the list.}}\",\n  createAbsence: \"Record an absence\",\n  editAbsence: \"Edit absence\",\n  person: \"Person away\",\n  cover: \"Covered by\",\n  from: \"From\",\n  until: \"Until\",\n  fromDate: \"From date\",\n  fromTime: \"From time\",\n  untilDate: \"Until date\",\n  untilTime: \"Until time\",\n  zoneHint: \"Times are in your time zone ({zone}).\",\n  heldWork:\n    \"New review tasks for {person} go to the cover. Review tasks they already hold stay with them; move them after saving.\",\n  saveAbsence: \"Record\",\n  saveAbsenceChanges: \"Save changes\",\n  absenceConfirmed: \"The absence cover was recorded.\",\n  absenceEnded: \"The absence cover was ended.\",\n  absenceUnknown:\n    \"Casework could not confirm the absence change. Retry the same attempt before making another change.\",\n  confirmEndAbsenceTitle: \"End this absence cover?\",\n  confirmEndAbsenceBody:\n    \"{person} is covered from {from} until {until}. Once the cover ends, new review tasks go to them again.\",\n  confirmEndAbsence: \"End absence cover\",\n  invalidInterval: \"Cover must end after it starts.\",\n  caseloadTitle: \"Move {person}'s review tasks in {queue}\",\n  caseloadHeading: \"Move a caseload\",\n  caseloadDescription:\n    \"Move the review tasks one person holds in a queue to a colleague. Preview the move first: Casework then moves exactly the previewed review tasks, all at once.\",\n  caseloadQueue: \"Queue\",\n  moveFrom: \"From\",\n  moveTo: \"To\",\n  movementReason: \"Reason\",\n  caseloadNoMove:\n    \"Casework does not list {person} in this queue, so their review tasks cannot move here. Choose another queue or person.\",\n  previewCaseload: \"Preview\",\n  caseloadPreviewSummary:\n    \"{count, plural, one {# review task} other {# review tasks}} in {queue} will move from {from} to {to}.\",\n  caseloadPreviewExpires:\n    \"This preview is available until {when}. After that, preview again.\",\n  caseloadPreviewNothing:\n    \"{from} holds no review task in {queue} that can move.\",\n  caseloadPreviewGone: \"This preview is no longer available. Preview it again.\",\n  caseloadUnlisted: \"the chosen colleague\",\n  confirmCaseload:\n    \"Move {count, plural, one {# review task} other {# review tasks}}\",\n  caseloadMoved:\n    \"Casework moved {count, plural, one {# review task} other {# review tasks}}.\",\n  caseloadUnknown:\n    \"Casework could not confirm the move. Retry the same attempt before moving anything else.\",\n  unknownStuck:\n    \"This change can no longer be retried. Check what Casework now shows before making it again.\",\n  stopShowing: \"Stop showing this change\",\n  pendingTitle: \"A staffing change is not confirmed\",\n  pendingBody:\n    \"Casework may have recorded {count, plural, one {# staffing change} other {# staffing changes}}. Retry each as the same attempt before changing staffing again.\",\n  pendingRetry: \"Retry unconfirmed staffing changes\",\n  pendingStill:\n    \"Casework still could not confirm every change. Try again shortly.\",\n  pendingRefused:\n    \"Casework refused at least one unconfirmed staffing change, so it was not made. Check what Casework now shows.\",\n  pendingRecorded: \"Casework recorded the unconfirmed staffing changes.\",\n  pendingWithoutAuthority:\n    \"A staffing change from an earlier session was not confirmed, and it can no longer be retried. Check what Casework now shows before making it again.\",\n\n  staffingTitle: \"Staffing\",\n  staffingDescription:\n    \"Move review tasks between colleagues and record absence cover for the people you supervise.\",\n  caseloadNoQueues:\n    \"No review task you supervise names a queue yet, so there is no caseload to move.\",\n  caseloadQueuesPartial:\n    \"Casework listed only some of the review tasks you supervise, so a queue may be missing.\",\n  absencesHeading: \"Absence cover\",\n  absencesCaption: \"Absence cover for the people you supervise\",\n  absencesEmpty: \"No absence cover is recorded.\",\n  recordAbsence: \"Record absence\",\n  editAbsenceOf: \"Edit absence for {person}\",\n  endAbsenceOf: \"End absence cover for {person}\",\n  retry: \"Retry\",\n\n  taskHeading: \"Agent tasks\",\n  taskHeadingCount: \"Agent tasks ({count})\",\n  taskIntro:\n    \"Review the exact agent, purpose, destination and subject before approving. Each task is limited to the period shown.\",\n  taskRefresh: \"Refresh agent tasks\",\n  taskReview: \"Review {label}\",\n  taskApprove: \"Approve this task\",\n  taskRetry: \"Retry this approval\",\n  taskRevoke: \"Revoke task\",\n  taskCancel: \"Cancel review\",\n  taskAgent: \"Agent\",\n  taskIssuer: \"Agent issuer\",\n  taskClient: \"Registered client\",\n  taskResource: \"Destination\",\n  taskPurpose: \"Purpose\",\n  taskScopes: \"Access scopes\",\n  taskEvidenceAudience: \"Evidence audience\",\n  taskRequesterTags: \"Requester tags\",\n  taskGrantPermission: \"{service} / {location}: {actions}\",\n  taskBounds: \"Allowed work\",\n  taskSubjects: \"Subjects from the current source record\",\n  taskDuration: \"Valid for up to {minutes} minutes\",\n  taskApproved: \"Task approved.\",\n  taskRun: \"Run assistant precheck\",\n  taskRunUnavailable:\n    \"Assistant precheck is unavailable. Refresh the task or try again.\",\n  taskRevoked: \"Task revoked.\",\n  taskInvalidated: \"Revoked or invalidated\",\n  taskExpired: \"Expired\",\n  taskUntil: \"Valid until {time}\",\n  taskNoTemplates: \"No task templates are available for you on this review task.\",\n  taskNoGrants: \"No task grants have been recorded for this review task.\",\n  taskUnavailable: \"Agent tasks could not be loaded. Refresh to check again.\",\n  taskStale:\n    \"This preview is no longer current or available to you. Refresh and review the task again.\",\n  taskUnconfirmed:\n    \"The service could not confirm this approval. Retry uses the same approval reference. Check recorded tasks before starting another approval.\",\n  taskRevokeUnconfirmed:\n    \"The service could not confirm revocation. Refresh to check the task, or retry revocation.\",\n\n  setupHeading: \"Set up teams\",\n  setupHeadingDescription:\n    \"Create a team, name the people in it and choose the queue it works.\",\n  setupExistingTeams: \"Teams already set up\",\n  setupTeamsCaption: \"Teams already set up, one row for each team\",\n  setupNoTeams: \"No teams are set up yet.\",\n  setupTeamColumn: \"Team\",\n  setupStaffColumn: \"Staff\",\n  setupLeadersColumn: \"Supervisors\",\n  setupQueuesColumn: \"Queues\",\n  setupCreateHeading: \"Create a team\",\n  setupTeamName: \"Team identifier\",\n  setupTeamNameHint:\n    \"Choose a short identifier based on the team name, using hyphens instead of spaces. Use 1 to 128 letters A to Z, numbers, hyphens, underscores or full stops.\",\n  setupTeamNameExample: \"\",\n  setupStaff: \"Staff (one sign-in ID per line)\",\n  setupStaffHint:\n    \"A sign-in ID is the subject the identity provider holds for the person, not their display name and not their email address unless the provider uses email as the subject. Read it from the person’s record in the identity provider.\",\n  setupStaffExample: \"\",\n  setupLeader: \"Supervisor (sign-in ID)\",\n  setupLeaderHint:\n    \"In Staffing they record absence cover for the people they supervise and move a person’s review tasks to a colleague. In a review task’s history, they can see who decided it.\",\n  setupLeaderExample: \"\",\n  setupQueue: \"Queue this team works\",\n  setupQueueHint: \"The team sees the review tasks waiting in this queue.\",\n  setupQueueTypedHint:\n    \"The queues could not be read, so type the queue identifier Casework uses.\",\n  setupQueueExample: \"For example: new-requests\",\n  setupContinue: \"Continue\",\n  setupTeamNameRequired: \"Enter a team identifier.\",\n  setupTeamNameInvalid:\n    \"Use 1 to 128 letters A to Z, numbers, hyphens, underscores or full stops for the team identifier. Replace spaces with an allowed character.\",\n  setupStaffRequired: \"Enter at least one sign-in ID for staff.\",\n  setupStaffInvalid:\n    \"Check each staff sign-in ID with your identity provider. Each must be at most 2,048 bytes and contain no control characters.\",\n  setupStaffDuplicate: \"Enter each staff sign-in ID once. Remove the repeated line.\",\n  setupStaffTooMany:\n    \"Enter no more than 100 staff sign-in IDs for this team's initial setup.\",\n  setupLeaderRequired: \"Enter the supervisor’s sign-in ID.\",\n  setupLeaderInvalid:\n    \"Check the supervisor's sign-in ID with your identity provider. It must be at most 2,048 bytes and contain no control characters.\",\n  setupQueueRequired: \"Say which queue this team works.\",\n  setupQueueInvalid: \"Choose a configured queue.\",\n  setupTeamNameTaken:\n    \"A team with identifier {name} is already set up. Use a different identifier.\",\n  setupCheckTitle: \"Check the team before you create it\",\n  setupCheckDescription:\n    \"Nothing is created until you confirm. Go back if a sign-in ID is not exactly as the identity provider holds it.\",\n  setupCheckStaff: \"Staff\",\n  setupCheckLeader: \"Supervisor\",\n  setupCheckQueue: \"Queue\",\n  setupChangeTeamName: \"Change team identifier\",\n  setupChangeStaff: \"Change staff\",\n  setupChangeLeader: \"Change supervisor\",\n  setupChangeQueue: \"Change queue\",\n  setupCreate: \"Create team\",\n  setupCreating: \"Creating team…\",\n  setupBack: \"Back\",\n  setupDoneTitle: \"Team {name} is ready\",\n  setupDoneNext:\n    \"Its staff see this queue’s review tasks in Your work the next time they sign in. They take review tasks from the queue themselves; setting up the team assigns nothing to anyone.\",\n  setupDoneQueue: \"The team works the {queue} queue.\",\n  setupAnother: \"Set up another team\",\n};\n\nconst CaseworkContentContext = createContext<CaseworkContent>(caseworkContent);\n\nexport function CaseworkContentProvider({\n  content,\n  children,\n}: {\n  content: CaseworkContent;\n  children: ReactNode;\n}) {\n  return (\n    <CaseworkContentContext.Provider value={content}>\n      {children}\n    </CaseworkContentContext.Provider>\n  );\n}\n\nexport function useCaseworkContent(): CaseworkContent {\n  const content = useContext(CaseworkContentContext);\n  const messages = useContext(MessagesContext);\n  return useMemo(\n    () => withMessages(\"casework\", content, messages),\n    [content, messages],\n  );\n}\n",
      "type": "registry:block",
      "target": "@components/casework/casework-content.tsx"
    }
  ],
  "type": "registry:block"
}