"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["31581"],{31756:function(a,e,o){o.a(a,async function(a,i){try{o.r(e),o.d(e,{DialogNewOverview:function(){return w}});o(62953);var s=o(40445),t=o(96196),l=o(77845),n=o(1087),r=o(18350),h=(o(93444),o(72554)),c=o(14503),d=a([r,h]);[r,h]=d.then?(await d)():d;let p,g,v,_=a=>a;class w extends t.WF{showDialog(a){this._params=a,this._open=!0}closeDialog(){return this._open=!1,!0}_dialogClosed(){this._params&&this._params.dismiss(),this._params=void 0,(0,n.r)(this,"dialog-closed",{dialog:this.localName})}render(){return this._params?(0,t.qy)(p||(p=_` <ha-dialog .hass="${0}" .open="${0}" .headerTitle="${0}" prevent-scrim-close @closed="${0}"> <div class="content"> <p> ${0} </p> <h3> ${0} </h3> <ul> <li> <strong> ${0} </strong> - ${0} </li> <li> <strong> ${0} </strong> - ${0} </li> </ul> <h3> ${0} </h3> <p> ${0} </p> </div> <ha-dialog-footer slot="footer"> <ha-button slot="primaryAction" @click="${0}"> ${0} </ha-button> </ha-dialog-footer> </ha-dialog> `),this.hass,this._open,this.hass.localize("ui.panel.home.new_overview_dialog.title"),this._dialogClosed,this.hass.localize("ui.panel.home.new_overview_dialog.description"),this.hass.localize("ui.panel.home.new_overview_dialog.whats_new"),this.hass.localize("ui.panel.home.new_overview_dialog.automatic_organization"),this.hass.localize("ui.panel.home.new_overview_dialog.automatic_organization_description"),this.hass.localize("ui.panel.home.new_overview_dialog.favorites"),this.hass.localize("ui.panel.home.new_overview_dialog.favorites_description"),this.hass.localize("ui.panel.home.new_overview_dialog.existing_dashboards"),this.hass.localize("ui.panel.home.new_overview_dialog.existing_dashboards_description",{dashboard_settings:(0,t.qy)(g||(g=_`<a href="/config/lovelace/dashboards" @click="${0}">${0}</a>`),this.closeDialog,this.hass.localize("ui.panel.home.new_overview_dialog.dashboard_settings"))}),this.closeDialog,this.hass.localize("ui.panel.home.new_overview_dialog.ok_understood")):t.s6}constructor(...a){super(...a),this._open=!1}}w.styles=[c.nA,(0,t.AH)(v||(v=_`ha-dialog{--dialog-content-padding:var(--ha-space-6)}.content{line-height:var(--ha-line-height-normal)}p{margin:0 0 var(--ha-space-4) 0;color:var(--secondary-text-color)}h3{margin:var(--ha-space-4) 0 var(--ha-space-2) 0;font-size:var(--ha-font-size-l);font-weight:var(--ha-font-weight-medium)}ul{margin:0 0 var(--ha-space-4) 0;padding-left:var(--ha-space-6);color:var(--secondary-text-color)}li{margin-bottom:var(--ha-space-2)}li strong{color:var(--primary-text-color)}`))],(0,s.Cg)([(0,l.MZ)({attribute:!1})],w.prototype,"hass",void 0),(0,s.Cg)([(0,l.wk)()],w.prototype,"_params",void 0),(0,s.Cg)([(0,l.wk)()],w.prototype,"_open",void 0),w=(0,s.Cg)([(0,l.EM)("dialog-new-overview")],w),i()}catch(p){i(p)}})}}]);
//# sourceMappingURL=31581.f58fb4a266a2540b.js.map