"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["77254"],{62501:function(t,o,e){e.a(t,async function(t,a){try{e.r(o),e.d(o,{HaIconButtonToggle:function(){return p}});e(62953);var r=e(40445),n=e(96196),s=e(77845),i=e(26300),c=t([i]);i=(c.then?(await c)():c)[0];let l,b=t=>t;class p extends i.HaIconButton{constructor(...t){super(...t),this.selected=!1}}p.styles=[i.HaIconButton.styles,(0,n.AH)(l||(l=b`:host{position:relative}ha-button::part(base){position:relative;transition:color 180ms ease-in-out}ha-button::part(base)::before{opacity:0;transition:opacity 180ms ease-in-out;background-color:var(--primary-text-color);border-radius:var(--ha-border-radius-2xl);height:40px;width:40px;content:"";position:absolute;top:-10px;left:-10px;bottom:-10px;right:-10px;margin:auto;box-sizing:border-box}:host([border-only]) ha-button::part(base)::before{background-color:transparent;border:2px solid var(--primary-text-color)}:host([selected]) ha-button::after{opacity:0}:host([selected]) ha-button::part(base){color:var(--primary-background-color);background-color:unset}:host([selected]:not([disabled])) ha-button::part(base)::before{opacity:1}::slotted(*){display:block}`))],(0,r.Cg)([(0,s.MZ)({type:Boolean,reflect:!0})],p.prototype,"selected",void 0),p=(0,r.Cg)([(0,s.EM)("ha-icon-button-toggle")],p),a()}catch(l){a(l)}})}}]);
//# sourceMappingURL=77254.7bea747957e32a02.js.map