"use strict";(self.webpackChunkhacs_frontend=self.webpackChunkhacs_frontend||[]).push([[1969],{51969:function(o,r,e){e.r(r);var t,a,n,i,c,l=e(64599),s=e(35806),d=e(71008),h=e(62193),u=e(2816),v=e(27927),p=(e(81027),e(72606),e(66360)),b=e(29818);e(12037),e(55922),e(77477),(0,v.A)([(0,b.EM)("hass-error-screen")],(function(o,r){var e=function(r){function e(){var r;(0,d.A)(this,e);for(var t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];return r=(0,h.A)(this,e,[].concat(a)),o(r),r}return(0,u.A)(e,r),(0,s.A)(e)}(r);return{F:e,d:[{kind:"field",decorators:[(0,b.MZ)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,b.MZ)({type:Boolean})],key:"toolbar",value:function(){return!0}},{kind:"field",decorators:[(0,b.MZ)({type:Boolean})],key:"rootnav",value:function(){return!1}},{kind:"field",decorators:[(0,b.MZ)({type:Boolean})],key:"narrow",value:function(){return!1}},{kind:"field",decorators:[(0,b.MZ)()],key:"error",value:void 0},{kind:"method",key:"render",value:function(){var o,r;return(0,p.qy)(t||(t=(0,l.A)([" ",' <div class="content"> <ha-alert alert-type="error">','</ha-alert> <slot> <mwc-button @click="','"> '," </mwc-button> </slot> </div> "])),this.toolbar?(0,p.qy)(a||(a=(0,l.A)(['<div class="toolbar"> '," </div>"])),this.rootnav||null!==(o=history.state)&&void 0!==o&&o.root?(0,p.qy)(n||(n=(0,l.A)([' <ha-menu-button .hass="','" .narrow="','"></ha-menu-button> '])),this.hass,this.narrow):(0,p.qy)(i||(i=(0,l.A)([' <ha-icon-button-arrow-prev .hass="','" @click="','"></ha-icon-button-arrow-prev> '])),this.hass,this._handleBack)):"",this.error,this._handleBack,null===(r=this.hass)||void 0===r?void 0:r.localize("ui.common.back"))}},{kind:"method",key:"_handleBack",value:function(){history.back()}},{kind:"get",static:!0,key:"styles",value:function(){return[(0,p.AH)(c||(c=(0,l.A)([":host{display:block;height:100%;background-color:var(--primary-background-color)}.toolbar{display:flex;align-items:center;font-size:20px;height:var(--header-height);padding:8px 12px;pointer-events:none;background-color:var(--app-header-background-color);font-weight:400;color:var(--app-header-text-color,#fff);border-bottom:var(--app-header-border-bottom,none);box-sizing:border-box}@media (max-width:599px){.toolbar{padding:4px}}ha-icon-button-arrow-prev{pointer-events:auto}.content{color:var(--primary-text-color);height:calc(100% - var(--header-height));display:flex;padding:16px;align-items:center;justify-content:center;flex-direction:column;box-sizing:border-box}a{color:var(--primary-color)}ha-alert{margin-bottom:16px}"])))]}}]}}),p.WF)}}]);
//# sourceMappingURL=1969.odpQAR7e0_4.js.map