export const __rspack_esm_id=37756;export const __rspack_esm_ids=[37756];export const __webpack_modules__={74583(t,i,e){e.a(t,async function(t,s){try{e.r(i);var o=e(15697),r=e(358),a=e(57527),n=e(79224),l=e(10277),c=e(67259),d=e(1461),_=e(80189),v=t([d,l]);[d,l]=v.then?(await v)():v;class u extends a.WF{render(){if(!this._i18n||!this.stateObj)return a.s6;const t=new Date(this.stateObj.attributes.next_rising),i=new Date(this.stateObj.attributes.next_setting),e=t>i?["set","ris"]:["ris","set"];return a.qy` <hr/> ${e.map(e=>a.qy` <div class="row"> <div class="key"> <span>${"ris"===e?this._i18n.localize("ui.dialogs.more_info_control.sun.rising"):this._i18n.localize("ui.dialogs.more_info_control.sun.setting")}</span> <ha-relative-time .datetime=${"ris"===e?t:i}></ha-relative-time> </div> <div class="value"> ${(0,l.fU)("ris"===e?t:i,this._i18n.locale,this._config)} </div> </div> `)} <div class="row"> <div class="key"> ${this._i18n.localize("ui.dialogs.more_info_control.sun.elevation")} </div> <div class="value"> ${this._formatters.formatEntityAttributeValue(this.stateObj,"elevation")} </div> </div> <div class="row"> <div class="key"> ${this._i18n.localize("ui.dialogs.more_info_control.sun.azimuth")} </div> <div class="value"> ${this._formatters.formatEntityAttributeValue(this.stateObj,"azimuth")} </div> </div> `}}u.styles=a.AH`.row{flex-direction:row;justify-content:space-between;margin:0;display:flex}ha-relative-time{white-space:nowrap;display:inline-block}hr{border-color:var(--divider-color);margin:var(--ha-space-4) 0;border-bottom:none}`,(0,o.Cg)([(0,n.MZ)({attribute:!1})],u.prototype,"stateObj",void 0),(0,o.Cg)([(0,n.wk)(),(0,r.Fg)({context:_.D5,subscribe:!0})],u.prototype,"_i18n",void 0),(0,o.Cg)([(0,n.wk)(),(0,r.Fg)({context:_.p0,subscribe:!0})],u.prototype,"_formatters",void 0),(0,o.Cg)([(0,n.wk)(),(0,r.Fg)({context:_.WF,subscribe:!0}),(0,c.p)({transformer:({config:t})=>t})],u.prototype,"_config",void 0),u=(0,o.Cg)([(0,n.EM)("more-info-sun")],u),s()}catch(t){s(t)}})}};
//# sourceMappingURL=37756.735ea727aa875238.js.map