// 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 { hasAllowedInputs } from '//resources/cr_components/composebox/common.js';
import { html, nothing } from '//resources/lit/v3_0/lit.rollup.js';
export function getHtml() {
    // clang-format off
    return html `<!--_html_template_start_-->
<div class="context-menu-container">
  ${this.shouldHideEntrypointButton_() ||
        !hasAllowedInputs(this.inputState_, this.usePecApi_) ? '' : html `
    <cr-composebox-contextual-entrypoint-button id="context"
        class="upload-button"
        .inputState="${this.inputState_}"
        .applyContextButtonBackground="${this.applyContextButtonBackground_}"
        .isOblongShape="${this.isOblongShape_}"
        ?show-suggestion-label="${this.showContextButtonSuggestionLabel_}"
        @context-menu-entrypoint-click="${this.onContextMenuEntrypointClick_}">
    </cr-composebox-contextual-entrypoint-button>
  `}
  ${this.isLensChipShown_ ? html `
    <cr-composebox-lens-search id="lensSearchChip"
        class="upload-button contextual-chip"
        @lens-search-click="${this.onLensSearchClick_}">
    </cr-composebox-lens-search>
  ` : nothing}
</div>
<!--_html_template_end_-->`;
    // clang-format on
}
