"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[34876],{37911:function(t,i,n){n.r(i);var e,o,s=n(28430),a=n(57567),r=n(25979),c=n(12463),f=n(16472),l=(n(16280),n(15697)),h=n(57527),d=n(51209),g=(n(34159),function(t){function i(){return(0,a.A)(this,i),(0,f.A)(this,i,arguments)}return(0,c.A)(i,t),(0,r.A)(i,[{key:"setConfig",value:function(t){if(!t||!t.name||!t.text)throw new Error("Name and text required");this._config=t}},{key:"render",value:function(){return this._config?(0,h.qy)(e||(e=(0,s.A)([" <ha-icon .icon=",'></ha-icon> <div class="name" .title=',">",'</div> <div class="text" .title=',">","</div> "])),this._config.icon,this._config.name,this._config.name,this._config.text,this._config.text):h.s6}}])}(h.WF));g.styles=(0,h.AH)(o||(o=(0,s.A)([":host{align-items:center;display:flex}ha-icon{color:var(--state-icon-color);padding:8px}div{white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.name{margin-left:16px;margin-inline-start:16px;margin-inline-end:initial}.text{text-align:var(--float-end)}"]))),(0,l.Cg)([(0,d.wk)()],g.prototype,"_config",void 0),g=(0,l.Cg)([(0,d.EM)("hui-text-row")],g)}}]);
//# sourceMappingURL=34876.2512adea3bedfd69.js.map