(self.webpackJsonp=self.webpackJsonp||[]).push([[115],{825:function(n,e,t){"use strict";t.r(e);t(239),t(162),t(119);var o=t(4),r=t(32);t(165),t(106),t(338);function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function i(){var n=function(n,e){e||(e=n.slice(0));return Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}(['\n      <style include="iron-flex ha-style">\n        .content {\n          padding-bottom: 32px;\n        }\n\n        .border {\n          margin: 32px auto 0;\n          border-bottom: 1px solid rgba(0, 0, 0, 0.12);\n          max-width: 1040px;\n        }\n        .narrow .border {\n          max-width: 640px;\n        }\n        .card-actions {\n          display: flex;\n        }\n        .center-container {\n          @apply --layout-vertical;\n          @apply --layout-center-center;\n          height: 70px;\n        }\n      </style>\n\n      <hass-subpage header="Konfiguracja bramki AIS dom">\n        <div class$="[[computeClasses(isWide)]]">\n          <ha-config-section is-wide="[[isWide]]">\n            <span slot="header">Wyłączenie bramki</span>\n            <span slot="introduction"\n              >W tej sekcji możesz zrestartować lub całkowicie wyłączyć bramkę\n            </span>\n            <ha-card header="Restart lub wyłączenie">\n              <div class="card-content">\n                W tej sekcji możesz zrestartować lub całkowicie wyłączyć bramkę\n              </div>\n              <div class="card-actions warning">\n                <div>\n                  <paper-icon-button\n                    class="user-button"\n                    icon="hass:refresh"\n                  ></paper-icon-button>\n                  <ha-call-service-button\n                    class="warning"\n                    hass="[[hass]]"\n                    domain="script"\n                    service="ais_restart_system"\n                    >Uruchom ponownie\n                  </ha-call-service-button>\n                </div>\n                <div>\n                  <paper-icon-button\n                    class="user-button"\n                    icon="hass:stop"\n                  ></paper-icon-button>\n                  <ha-call-service-button\n                    class="warning"\n                    hass="[[hass]]"\n                    domain="script"\n                    service="ais_stop_system"\n                    >Wyłącz\n                  </ha-call-service-button>\n                </div>\n              </div>\n            </ha-card>\n          </ha-config-section>\n        </div>\n      </hass-subpage>\n    ']);return i=function(){return n},n}function c(n,e){for(var t=0;t<e.length;t++){var o=e[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}function s(n,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function u(n){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function p(n,e){return(p=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}var l=function(n){function e(){return function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),s(this,u(e).apply(this,arguments))}var t,a,l;return function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&p(n,e)}(e,r["a"]),t=e,l=[{key:"template",get:function(){return Object(o.a)(i())}},{key:"properties",get:function(){return{hass:Object,isWide:Boolean,showAdvanced:Boolean}}}],(a=[{key:"computeClasses",value:function(n){return n?"content":"content narrow"}}])&&c(t.prototype,a),l&&c(t,l),e}();customElements.define("ha-config-ais-dom-config-power",l)}}]);
//# sourceMappingURL=chunk.07b6bd2dc197df44987b.js.map