"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./tslib.es6-CHeFCc6E.js"),t=require("./query-assigned-elements-8EurZY45.js"),p=require("./mwc-checkbox.css-u49MHsHT.js"),m=require("./property-DYTC_2-m.js"),u=require("./query-Dv2F3m_t.js"),k=require("./class-map-DTzB8z-1.js"),_=require("./mwc-list-item.css-Bib8TVz5.js"),d=require("./list-item-LcvIn8Xz.js");/**
 * @license
 * Copyright 2018 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */let l=class extends p.CheckboxBase{};l.styles=[p.styles];l=a.__decorate([t.e("mwc-checkbox")],l);/**
 * @license
 * Copyright 2020 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */class h extends _.ListItemBase{constructor(){super(...arguments),this.left=!1,this.graphic="control"}render(){const s={"mdc-deprecated-list-item__graphic":this.left,"mdc-deprecated-list-item__meta":!this.left},e=this.renderText(),o=this.graphic&&this.graphic!=="control"&&!this.left?this.renderGraphic():t.x``,c=this.hasMeta&&this.left?this.renderMeta():t.x``,i=this.renderRipple();return t.x`
      ${i}
      ${o}
      ${this.left?"":e}
      <span class=${k.o(s)}>
        <mwc-checkbox
            reducedTouchTarget
            tabindex=${this.tabindex}
            .checked=${this.selected}
            ?disabled=${this.disabled}
            @change=${this.onChange}>
        </mwc-checkbox>
      </span>
      ${this.left?e:""}
      ${c}`}async onChange(s){const e=s.target;this.selected===e.checked||(this._skipPropRequest=!0,this.selected=e.checked,await this.updateComplete,this._skipPropRequest=!1)}}a.__decorate([u.i("slot")],h.prototype,"slotElement",void 0);a.__decorate([u.i("mwc-checkbox")],h.prototype,"checkboxElement",void 0);a.__decorate([m.n({type:Boolean})],h.prototype,"left",void 0);a.__decorate([m.n({type:String,reflect:!0})],h.prototype,"graphic",void 0);var C=Object.getOwnPropertyDescriptor,x=(r,s,e,o)=>{for(var c=o>1?void 0:o?C(s,e):s,i=r.length-1,n;i>=0;i--)(n=r[i])&&(c=n(c)||c);return c};exports.CovalentCheckListItem=class extends h{};exports.CovalentCheckListItem.styles=[_.styles,d.styles,t.i`
      ${t.r(d.covalentStyles)}
    `];exports.CovalentCheckListItem=x([t.e("cv-check-list-item")],exports.CovalentCheckListItem);const g=exports.CovalentCheckListItem;exports.default=g;
