"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["95421"],{3980:function(t,i,e){e.r(i);e(16280);var n=e(40445),o=e(96196),s=e(77845);e(88945);let a,r,c=t=>t;class l extends o.WF{setConfig(t){if(!t||!t.name||!t.text)throw new Error("Name and text required");this._config=t}render(){return this._config?(0,o.qy)(a||(a=c` <ha-icon .icon="${0}"></ha-icon> <div class="name" .title="${0}">${0}</div> <div class="text" .title="${0}">${0}</div> `),this._config.icon,this._config.name,this._config.name,this._config.text,this._config.text):o.s6}}l.styles=(0,o.AH)(r||(r=c`:host{display:flex;align-items:center}ha-icon{padding:8px;color:var(--state-icon-color)}div{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.name{margin-left:16px;margin-inline-start:16px;margin-inline-end:initial}.text{text-align:var(--float-end)}`)),(0,n.Cg)([(0,s.wk)()],l.prototype,"_config",void 0),l=(0,n.Cg)([(0,s.EM)("hui-text-row")],l)}}]);
//# sourceMappingURL=95421.51440d69fa8de8ca.js.map