// Copyright 2026 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import { html, repeat } from '//resources/lit/v3_0/lit.rollup.js';
export function getHtml() {
    // clang-format off
    return html `<!--_html_template_start_-->
${repeat(this.keyedStates, (keyedState) => keyedState.key, (keyedState) => html `
      <webui-toolbar-extension
          .state="${keyedState.state}"
          class="${keyedState.animateIn ? 'animate-in' : ''}
                 ${keyedState.exiting ? 'exiting' : ''}"
          data-key="${keyedState.key}">
      </webui-toolbar-extension>
    `)}
${this.keyedStates.length > 0 ? html `
  <toolbar-divider
      class="${this.animateInDivider() ? 'animate-in' : ''}
             ${this.allExiting() ? 'exiting' : ''}">
  </toolbar-divider>
` : ''}
<!--_html_template_end_-->`;
    // clang-format on
}
