// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`AudioPlayerView > renders the audio player in default state 1`] = `
<div>
  <div
    aria-label="Audio player"
    class="mx_MediaBody MediaBody-module_mediaBody AudioPlayerView-module_audioPlayer"
    role="region"
    tabindex="0"
  >
    <div
      class="Flex-module_flex"
      style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-2x); --mx-flex-wrap: nowrap;"
    >
      <button
        aria-disabled="false"
        aria-label="Play"
        aria-labelledby="_r_0_"
        class="_icon-button_1215g_8 PlayPauseButton-module_button"
        data-kind="primary"
        role="button"
        style="--cpd-icon-button-size: 32px;"
        tabindex="-1"
      >
        <div
          class="_indicator-icon_147l5_17"
          style="--cpd-icon-button-size: 100%;"
        >
          <svg
            fill="currentColor"
            height="1em"
            viewBox="0 0 24 24"
            width="1em"
            xmlns="http://www.w3.org/2000/svg"
          >
            <path
              d="m8.98 4.677 9.921 5.58c1.36.764 1.36 2.722 0 3.486l-9.92 5.58C7.647 20.073 6 19.11 6 17.58V6.42c0-1.53 1.647-2.493 2.98-1.743"
            />
          </svg>
        </div>
      </button>
      <div
        class="Flex-module_flex AudioPlayerView-module_mediaInfo"
        style="--mx-flex-display: flex; --mx-flex-direction: column; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: 0; --mx-flex-wrap: nowrap;"
      >
        <span
          class="AudioPlayerView-module_mediaName"
          data-testid="audio-player-name"
        >
          Sample Audio
        </span>
        <div
          class="Flex-module_flex AudioPlayerView-module_byline"
          style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-1-5x); --mx-flex-wrap: nowrap;"
        >
          <time
            class="mx_Clock"
            datetime="PT5M"
          >
            05:00
          </time>
          (3.42 KB)
        </div>
      </div>
    </div>
    <div
      class="Flex-module_flex"
      data-testid="audio-player-seek"
      style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-1x); --mx-flex-wrap: nowrap;"
    >
      <input
        aria-label="Audio seek bar"
        class="SeekBar-module_seekBar"
        max="100"
        min="0"
        step="1"
        style="--fillTo: 0.3;"
        tabindex="-1"
        type="range"
        value="30"
      />
      <time
        class="mx_Clock AudioPlayerView-module_clock"
        datetime="PT2M"
        role="timer"
      >
        02:00
      </time>
    </div>
  </div>
</div>
`;

exports[`AudioPlayerView > renders the audio player in error state 1`] = `
<div>
  <div
    aria-label="Audio player"
    class="mx_MediaBody MediaBody-module_mediaBody AudioPlayerView-module_audioPlayer"
    role="region"
    tabindex="0"
  >
    <div
      class="Flex-module_flex"
      style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-2x); --mx-flex-wrap: nowrap;"
    >
      <button
        aria-disabled="false"
        aria-label="Play"
        aria-labelledby="_r_i_"
        class="_icon-button_1215g_8 PlayPauseButton-module_button"
        data-kind="primary"
        role="button"
        style="--cpd-icon-button-size: 32px;"
        tabindex="-1"
      >
        <div
          class="_indicator-icon_147l5_17"
          style="--cpd-icon-button-size: 100%;"
        >
          <svg
            fill="currentColor"
            height="1em"
            viewBox="0 0 24 24"
            width="1em"
            xmlns="http://www.w3.org/2000/svg"
          >
            <path
              d="m8.98 4.677 9.921 5.58c1.36.764 1.36 2.722 0 3.486l-9.92 5.58C7.647 20.073 6 19.11 6 17.58V6.42c0-1.53 1.647-2.493 2.98-1.743"
            />
          </svg>
        </div>
      </button>
      <div
        class="Flex-module_flex AudioPlayerView-module_mediaInfo"
        style="--mx-flex-display: flex; --mx-flex-direction: column; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: 0; --mx-flex-wrap: nowrap;"
      >
        <span
          class="AudioPlayerView-module_mediaName"
          data-testid="audio-player-name"
        >
          Sample Audio
        </span>
        <div
          class="Flex-module_flex AudioPlayerView-module_byline"
          style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-1-5x); --mx-flex-wrap: nowrap;"
        >
          <time
            class="mx_Clock"
            datetime="PT5M"
          >
            05:00
          </time>
          (3.42 KB)
        </div>
      </div>
    </div>
    <div
      class="Flex-module_flex"
      data-testid="audio-player-seek"
      style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-1x); --mx-flex-wrap: nowrap;"
    >
      <input
        aria-label="Audio seek bar"
        class="SeekBar-module_seekBar"
        max="100"
        min="0"
        step="1"
        style="--fillTo: 0.3;"
        tabindex="-1"
        type="range"
        value="30"
      />
      <time
        class="mx_Clock AudioPlayerView-module_clock"
        datetime="PT2M"
        role="timer"
      >
        02:00
      </time>
    </div>
  </div>
  <span
    class="AudioPlayerView-module_error"
  >
    Error downloading audio
  </span>
</div>
`;

exports[`AudioPlayerView > renders the audio player without media name 1`] = `
<div>
  <div
    aria-label="Audio player"
    class="mx_MediaBody MediaBody-module_mediaBody AudioPlayerView-module_audioPlayer"
    role="region"
    tabindex="0"
  >
    <div
      class="Flex-module_flex"
      style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-2x); --mx-flex-wrap: nowrap;"
    >
      <button
        aria-disabled="false"
        aria-label="Play"
        aria-labelledby="_r_6_"
        class="_icon-button_1215g_8 PlayPauseButton-module_button"
        data-kind="primary"
        role="button"
        style="--cpd-icon-button-size: 32px;"
        tabindex="-1"
      >
        <div
          class="_indicator-icon_147l5_17"
          style="--cpd-icon-button-size: 100%;"
        >
          <svg
            fill="currentColor"
            height="1em"
            viewBox="0 0 24 24"
            width="1em"
            xmlns="http://www.w3.org/2000/svg"
          >
            <path
              d="m8.98 4.677 9.921 5.58c1.36.764 1.36 2.722 0 3.486l-9.92 5.58C7.647 20.073 6 19.11 6 17.58V6.42c0-1.53 1.647-2.493 2.98-1.743"
            />
          </svg>
        </div>
      </button>
      <div
        class="Flex-module_flex AudioPlayerView-module_mediaInfo"
        style="--mx-flex-display: flex; --mx-flex-direction: column; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: 0; --mx-flex-wrap: nowrap;"
      >
        <span
          class="AudioPlayerView-module_mediaName"
          data-testid="audio-player-name"
        >
          Unnamed audio
        </span>
        <div
          class="Flex-module_flex AudioPlayerView-module_byline"
          style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-1-5x); --mx-flex-wrap: nowrap;"
        >
          <time
            class="mx_Clock"
            datetime="PT5M"
          >
            05:00
          </time>
          (3.42 KB)
        </div>
      </div>
    </div>
    <div
      class="Flex-module_flex"
      data-testid="audio-player-seek"
      style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-1x); --mx-flex-wrap: nowrap;"
    >
      <input
        aria-label="Audio seek bar"
        class="SeekBar-module_seekBar"
        max="100"
        min="0"
        step="1"
        style="--fillTo: 0.3;"
        tabindex="-1"
        type="range"
        value="30"
      />
      <time
        class="mx_Clock AudioPlayerView-module_clock"
        datetime="PT2M"
        role="timer"
      >
        02:00
      </time>
    </div>
  </div>
</div>
`;

exports[`AudioPlayerView > renders the audio player without size 1`] = `
<div>
  <div
    aria-label="Audio player"
    class="mx_MediaBody MediaBody-module_mediaBody AudioPlayerView-module_audioPlayer"
    role="region"
    tabindex="0"
  >
    <div
      class="Flex-module_flex"
      style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-2x); --mx-flex-wrap: nowrap;"
    >
      <button
        aria-disabled="false"
        aria-label="Play"
        aria-labelledby="_r_c_"
        class="_icon-button_1215g_8 PlayPauseButton-module_button"
        data-kind="primary"
        role="button"
        style="--cpd-icon-button-size: 32px;"
        tabindex="-1"
      >
        <div
          class="_indicator-icon_147l5_17"
          style="--cpd-icon-button-size: 100%;"
        >
          <svg
            fill="currentColor"
            height="1em"
            viewBox="0 0 24 24"
            width="1em"
            xmlns="http://www.w3.org/2000/svg"
          >
            <path
              d="m8.98 4.677 9.921 5.58c1.36.764 1.36 2.722 0 3.486l-9.92 5.58C7.647 20.073 6 19.11 6 17.58V6.42c0-1.53 1.647-2.493 2.98-1.743"
            />
          </svg>
        </div>
      </button>
      <div
        class="Flex-module_flex AudioPlayerView-module_mediaInfo"
        style="--mx-flex-display: flex; --mx-flex-direction: column; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: 0; --mx-flex-wrap: nowrap;"
      >
        <span
          class="AudioPlayerView-module_mediaName"
          data-testid="audio-player-name"
        >
          Sample Audio
        </span>
        <div
          class="Flex-module_flex AudioPlayerView-module_byline"
          style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-1-5x); --mx-flex-wrap: nowrap;"
        >
          <time
            class="mx_Clock"
            datetime="PT5M"
          >
            05:00
          </time>
        </div>
      </div>
    </div>
    <div
      class="Flex-module_flex"
      data-testid="audio-player-seek"
      style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-1x); --mx-flex-wrap: nowrap;"
    >
      <input
        aria-label="Audio seek bar"
        class="SeekBar-module_seekBar"
        max="100"
        min="0"
        step="1"
        style="--fillTo: 0.3;"
        tabindex="-1"
        type="range"
        value="30"
      />
      <time
        class="mx_Clock AudioPlayerView-module_clock"
        datetime="PT2M"
        role="timer"
      >
        02:00
      </time>
    </div>
  </div>
</div>
`;
