code: def get_progressbar_class():
      """Return the default progress bar class."""
  
      def partial_RichProgressBar(*args, **kwargs):
          return RichProgressBar(*args, **kwargs, console=RICH_CONSOLE)
  
      return partial_RichProgressBar
  
imports: from __future__ import annotations
  import logging
  import logging.handlers
  import multiprocessing
  import os
  import queue
  import signal
  import sys
  import threading
  from collections.abc import Iterable
  from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor, as_completed
  from contextlib import suppress
  from typing import Callable, Union
  from rich.console import Console
  from ocrmypdf import Executor, hookimpl
  from ocrmypdf._logging import RichLoggingHandler
  from ocrmypdf._progressbar import RichProgressBar
  from ocrmypdf.exceptions import InputFileError
  from ocrmypdf.helpers import remove_all_log_handlers
label_desc: Use image node_id 6 for calling a global function with example usage: get_progressbar_class() and returns: partial_RichProgressBar, RichProgressBar