From 7c83ffb399fcb89b1e6f0d15279da702ee0209cd Mon Sep 17 00:00:00 2001 From: jemu75 Date: Mon, 19 Apr 2021 15:15:22 +0200 Subject: [PATCH] v3.12.2 --- package-lock.json | 54 ++++---- package.json | 10 +- src/components/TemplPanel.vue | 2 +- src/main2.js | 26 ++++ src/plugins/fhem.js | 2 +- src/plugins/fhem2.js | 126 ++++++++++++++++++ www/fhemapp/css/chunk-72c6e8d8.8d89ed40.css | 1 - www/fhemapp/css/chunk-72c6e8d8.d4bef30a.css | 1 + www/fhemapp/index.html | 2 +- .../js/{app.c1c3dcda.js => app.98f215c6.js} | 2 +- ...a1a8b579.js => chunk-03454508.7c029de7.js} | 0 ...34fde9c6.js => chunk-07709945.536f8338.js} | 0 ...d653075c.js => chunk-085bcd30.fce1ca94.js} | 0 ...272996b6.js => chunk-15fa718e.926bb62e.js} | 0 ...c62e0abf.js => chunk-17d492e6.9e71885b.js} | 0 ...9540c0ef.js => chunk-2c05d556.a1ef12fe.js} | 0 ...79fe9aaf.js => chunk-2d0aa92c.d70b1126.js} | 0 ...e1a64938.js => chunk-2d212bf1.a12af000.js} | 0 www/fhemapp/js/chunk-53c4ff2a.159c7677.js | 1 - www/fhemapp/js/chunk-53c4ff2a.27b9afe6.js | 1 + ...bb22d6b3.js => chunk-b2de1140.5fee925a.js} | 0 ...06abbdcc.js => chunk-d4e16e04.70c63a71.js} | 0 ...753a1989.js => chunk-dc5178fa.213d3242.js} | 2 +- ...69c4474b.js => chunk-dd03e16c.f4db6a88.js} | 0 www/fhemapp/js/chunk-vendors.71a02cd0.js | 30 ----- www/fhemapp/js/chunk-vendors.b9a283db.js | 30 +++++ 26 files changed, 221 insertions(+), 69 deletions(-) create mode 100644 src/main2.js create mode 100644 src/plugins/fhem2.js delete mode 100644 www/fhemapp/css/chunk-72c6e8d8.8d89ed40.css create mode 100644 www/fhemapp/css/chunk-72c6e8d8.d4bef30a.css rename www/fhemapp/js/{app.c1c3dcda.js => app.98f215c6.js} (61%) rename www/fhemapp/js/{chunk-03454508.a1a8b579.js => chunk-03454508.7c029de7.js} (100%) rename www/fhemapp/js/{chunk-07709945.34fde9c6.js => chunk-07709945.536f8338.js} (100%) rename www/fhemapp/js/{chunk-085bcd30.d653075c.js => chunk-085bcd30.fce1ca94.js} (100%) rename www/fhemapp/js/{chunk-15fa718e.272996b6.js => chunk-15fa718e.926bb62e.js} (100%) rename www/fhemapp/js/{chunk-17d492e6.c62e0abf.js => chunk-17d492e6.9e71885b.js} (100%) rename www/fhemapp/js/{chunk-2c05d556.9540c0ef.js => chunk-2c05d556.a1ef12fe.js} (100%) rename www/fhemapp/js/{chunk-2d0aa92c.79fe9aaf.js => chunk-2d0aa92c.d70b1126.js} (100%) rename www/fhemapp/js/{chunk-2d212bf1.e1a64938.js => chunk-2d212bf1.a12af000.js} (100%) delete mode 100644 www/fhemapp/js/chunk-53c4ff2a.159c7677.js create mode 100644 www/fhemapp/js/chunk-53c4ff2a.27b9afe6.js rename www/fhemapp/js/{chunk-b2de1140.bb22d6b3.js => chunk-b2de1140.5fee925a.js} (100%) rename www/fhemapp/js/{chunk-d4e16e04.06abbdcc.js => chunk-d4e16e04.70c63a71.js} (100%) rename www/fhemapp/js/{chunk-dc5178fa.753a1989.js => chunk-dc5178fa.213d3242.js} (77%) rename www/fhemapp/js/{chunk-dd03e16c.69c4474b.js => chunk-dd03e16c.f4db6a88.js} (100%) delete mode 100644 www/fhemapp/js/chunk-vendors.71a02cd0.js create mode 100644 www/fhemapp/js/chunk-vendors.b9a283db.js diff --git a/package-lock.json b/package-lock.json index 09283cfb..fd647f74 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "fhemapp", - "version": "3.11.0", + "version": "3.12.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -3320,9 +3320,9 @@ } }, "apexcharts": { - "version": "3.26.0", - "resolved": "https://registry.npmjs.org/apexcharts/-/apexcharts-3.26.0.tgz", - "integrity": "sha512-zdYHs3k3tgmCn1BpYLj7rhGEndBYF33Pq1+g0ora37xAr+3act5CJrpdXM2jx2boVUyXgavoSp6sa8WpK7RkSA==", + "version": "3.26.1", + "resolved": "https://registry.nlark.com/apexcharts/download/apexcharts-3.26.1.tgz", + "integrity": "sha1-IJTsDP0A7YEp2T5z51AYcW1V71s=", "requires": { "svg.draggable.js": "^2.2.2", "svg.easing.js": "^2.0.0", @@ -4900,9 +4900,9 @@ } }, "core-js": { - "version": "3.9.1", - "resolved": "https://registry.npm.taobao.org/core-js/download/core-js-3.9.1.tgz", - "integrity": "sha1-zsjeWT246yqF/7Db3rMSy25UYK4=" + "version": "3.10.1", + "resolved": "https://registry.npm.taobao.org/core-js/download/core-js-3.10.1.tgz", + "integrity": "sha1-5oOWOXi2gG3MbApKi9SrC9rz8ho=" }, "core-js-compat": { "version": "3.9.1", @@ -10675,8 +10675,8 @@ }, "sass": { "version": "1.32.8", - "resolved": "https://registry.npm.taobao.org/sass/download/sass-1.32.8.tgz?cache=0&sync_timestamp=1613686237261&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsass%2Fdownload%2Fsass-1.32.8.tgz", - "integrity": "sha1-8WqavY3FMK3Yg05QaHiigIwDe9w=", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.32.8.tgz", + "integrity": "sha512-Sl6mIeGpzjIUZqvKnKETfMf0iDAswD9TNlv13A7aAF3XZlRPMq4VvJWBC2N2DXbp94MQVdNSFG6LfF/iOXrPHQ==", "dev": true, "requires": { "chokidar": ">=2.0.0 <4.0.0" @@ -11545,8 +11545,8 @@ }, "svg.draggable.js": { "version": "2.2.2", - "resolved": "https://registry.npmjs.org/svg.draggable.js/-/svg.draggable.js-2.2.2.tgz", - "integrity": "sha512-JzNHBc2fLQMzYCZ90KZHN2ohXL0BQJGQimK1kGk6AvSeibuKcIdDX9Kr0dT9+UJ5O8nYA0RB839Lhvk4CY4MZw==", + "resolved": "https://registry.npm.taobao.org/svg.draggable.js/download/svg.draggable.js-2.2.2.tgz", + "integrity": "sha1-xRSi8UBe+28CY+eVj1to/OUGA7o=", "requires": { "svg.js": "^2.0.1" } @@ -11569,21 +11569,21 @@ }, "svg.js": { "version": "2.7.1", - "resolved": "https://registry.npmjs.org/svg.js/-/svg.js-2.7.1.tgz", - "integrity": "sha512-ycbxpizEQktk3FYvn/8BH+6/EuWXg7ZpQREJvgacqn46gIddG24tNNe4Son6omdXCnSOaApnpZw6MPCBA1dODA==" + "resolved": "https://registry.npm.taobao.org/svg.js/download/svg.js-2.7.1.tgz", + "integrity": "sha1-65d+1HNwAeq4WZSbSjmO4bt5lI0=" }, "svg.pathmorphing.js": { "version": "0.1.3", - "resolved": "https://registry.npmjs.org/svg.pathmorphing.js/-/svg.pathmorphing.js-0.1.3.tgz", - "integrity": "sha512-49HWI9X4XQR/JG1qXkSDV8xViuTLIWm/B/7YuQELV5KMOPtXjiwH4XPJvr/ghEDibmLQ9Oc22dpWpG0vUDDNww==", + "resolved": "https://registry.npm.taobao.org/svg.pathmorphing.js/download/svg.pathmorphing.js-0.1.3.tgz", + "integrity": "sha1-wlcYocx8NuhS7KvDgOdYrAm7K2U=", "requires": { "svg.js": "^2.4.0" } }, "svg.resize.js": { "version": "1.4.3", - "resolved": "https://registry.npmjs.org/svg.resize.js/-/svg.resize.js-1.4.3.tgz", - "integrity": "sha512-9k5sXJuPKp+mVzXNvxz7U0uC9oVMQrrf7cFsETznzUDDm0x8+77dtZkWdMfRlmbkEEYvUn9btKuZ3n41oNA+uw==", + "resolved": "https://registry.npm.taobao.org/svg.resize.js/download/svg.resize.js-1.4.3.tgz", + "integrity": "sha1-iFq9JI4M0gWza5c8S1eLmjbyMzI=", "requires": { "svg.js": "^2.6.5", "svg.select.js": "^2.1.2" @@ -11591,8 +11591,8 @@ "dependencies": { "svg.select.js": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/svg.select.js/-/svg.select.js-2.1.2.tgz", - "integrity": "sha512-tH6ABEyJsAOVAhwcCjF8mw4crjXSI1aa7j2VQR8ZuJ37H2MBUbyeqYr5nEO7sSN3cy9AR9DUwNg0t/962HlDbQ==", + "resolved": "https://registry.npm.taobao.org/svg.select.js/download/svg.select.js-2.1.2.tgz", + "integrity": "sha1-5BzhOxrP9Dp0Qfn4voeiMZyHvnM=", "requires": { "svg.js": "^2.2.5" } @@ -11601,8 +11601,8 @@ }, "svg.select.js": { "version": "3.0.1", - "resolved": "https://registry.npmjs.org/svg.select.js/-/svg.select.js-3.0.1.tgz", - "integrity": "sha512-h5IS/hKkuVCbKSieR9uQCj9w+zLHoPh+ce19bBYyqF53g6mnPB8sAtIbe1s9dh2S2fCmYX2xel1Ln3PJBbK4kw==", + "resolved": "https://registry.npm.taobao.org/svg.select.js/download/svg.select.js-3.0.1.tgz", + "integrity": "sha1-pBmONZ84JXOSJkFfghdqkOpcyRc=", "requires": { "svg.js": "^2.6.5" } @@ -12371,9 +12371,9 @@ "integrity": "sha1-9evU+mvShpQD4pqJau1JBEVskSM=" }, "vue-apexcharts": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/vue-apexcharts/-/vue-apexcharts-1.6.0.tgz", - "integrity": "sha512-sT6tuVTLBwfH3TA7azecDNS/W70bmz14ZJI7aE7QIqcG9I6OywyH7x3hcOeY1v1DxttI8Svc5RuYj4Dd+A5F4g==" + "version": "1.6.1", + "resolved": "https://registry.npm.taobao.org/vue-apexcharts/download/vue-apexcharts-1.6.1.tgz", + "integrity": "sha1-Ibf+u7gcsNE6mP0B77oDAEB7XYY=" }, "vue-cli-plugin-i18n": { "version": "2.1.0", @@ -12767,9 +12767,9 @@ "dev": true }, "vuetify": { - "version": "2.4.8", - "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.4.8.tgz", - "integrity": "sha512-rJYyzSO4Qsm/Q79W4FAUedgIDzUvx2uXzXXQ7OB2z9kAAkVOpTdMFY0CnpBcvlYbXOYy/mJ81/yUCV1ZAvJ3FQ==" + "version": "2.4.9", + "resolved": "https://registry.npm.taobao.org/vuetify/download/vuetify-2.4.9.tgz?cache=0&sync_timestamp=1617230918594&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvuetify%2Fdownload%2Fvuetify-2.4.9.tgz", + "integrity": "sha1-xMz0zz3IHUJtp4kTwy1HqzPt448=" }, "vuetify-loader": { "version": "1.7.2", diff --git a/package.json b/package.json index fa2b70b3..e7f621e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fhemapp", - "version": "3.12.1", + "version": "3.12.2", "private": true, "author": "jemu75", "scripts": { @@ -10,15 +10,15 @@ "i18n:report": "vue-cli-service i18n:report --src \"./src/**/*.?(js|vue)\" --locales \"./src/locales/**/*.json\"" }, "dependencies": { - "apexcharts": "^3.26.0", - "core-js": "^3.9.1", + "apexcharts": "^3.26.1", + "core-js": "^3.10.1", "typeface-roboto": "^1.1.13", "vue": "^2.6.11", - "vue-apexcharts": "^1.6.0", + "vue-apexcharts": "^1.6.1", "vue-i18n": "^8.22.3", "vue-json-pretty": "^1.7.1", "vue-router": "^3.5.1", - "vuetify": "^2.4.8" + "vuetify": "^2.4.9" }, "devDependencies": { "@mdi/font": "^5.9.55", diff --git a/src/components/TemplPanel.vue b/src/components/TemplPanel.vue index f22ce61f..203c1187 100644 --- a/src/components/TemplPanel.vue +++ b/src/components/TemplPanel.vue @@ -324,7 +324,7 @@ menu: data.menu }; - if(data.color != 'success') this.vals.status.color = data.color; + if(listItem.color != 'success' && this.vals.status.color === 'success') this.vals.status.color = listItem.color; if(idx != -1) { this.list.splice(idx, 1, listItem); diff --git a/src/main2.js b/src/main2.js new file mode 100644 index 00000000..a14174ee --- /dev/null +++ b/src/main2.js @@ -0,0 +1,26 @@ +import 'typeface-roboto' +import '@mdi/font/css/materialdesignicons.css' +import Vue from 'vue' +import App from './App.vue' +import router from './router' +import vuetify from './plugins/vuetify' +import fhem from './plugins/fhem' +import VueApexCharts from 'vue-apexcharts' +import i18n from './plugins/i18n' +import fhem2 from './plugins/fhem2' + +Vue.use(fhem2, vuetify, i18n) + +Vue.use(VueApexCharts) +Vue.component('apexchart', VueApexCharts) + +Vue.config.productionTip = false + +Vue.prototype.$fhem = new fhem() + +new Vue({ + vuetify, + router, + i18n, + render: h => h(App) +}).$mount('#app') diff --git a/src/plugins/fhem.js b/src/plugins/fhem.js index 3be6b57e..5310f761 100644 --- a/src/plugins/fhem.js +++ b/src/plugins/fhem.js @@ -368,7 +368,7 @@ export default class Fhem extends EventEmitter { if(defSet.length > 2) { let value = defSet[0].match(/\./) ? defSet[0].split('.') : [ 'Readings', defSet[0], 'Value' ]; - let state = this.getEl(device, ...value); + let state = this.getEl(device, ...value) || this.getEl(device, 'Readings', defSet[0], 'Value'); if(state) { let found = false; diff --git a/src/plugins/fhem2.js b/src/plugins/fhem2.js new file mode 100644 index 00000000..5f115245 --- /dev/null +++ b/src/plugins/fhem2.js @@ -0,0 +1,126 @@ +import EventEmitter from 'events'; + +class Fhem extends EventEmitter { + constructor() { + super(); + + this.app = { + connection: { + location: window.location.protocol + '//' + window.location.hostname, + port: window.location.port, + path: 'fhem' //root path + }, + socket: null, + session: { + connect: false, + csrf: null, + restart: false, + restartCnt: 0, + logList: [], + logLast: {} + }, + options: { + lang: 'de', // default language + debugMode: false, + debugLevel: 2, // 1 = fehler, 2 = status, 3 = requests, 4 = informChannel, 5 = internals + loading: false, + loadCount: 0, + clockInterval: 5000, + clock: null, + date: null, + maxChartPoints: 100, + updateProcess: false, + logRecord: true, + logBuffer: 500, + ignoreFhemRoom: false, + ignoreFhemGroup: false, + ignoreFhemSortby: false, + mobileHeader: false + }, + theme: {}, + templates: [], // only the fallback for v3.1 + componentMap: [], + data: { + roomList: [], + groupList: [], + deviceList: [], + header: '' + } + } + } + + // coreFunction: handle log-messages + log(message) { + let time = new Date().toLocaleTimeString(this.app.options.lang); + let miSecs = new Date().getMilliseconds(); + let result = { + time: time + ':' + ('000' + miSecs).slice(-3), + msg: message.msg || '', + lvl: message.lvl || 5 + } + + if(result.lvl <= this.app.options.debugLevel) { + console.log(result); + } + } + + // coreFunction: to get json-data from a server-file + async getJsonFile(file) { + let header = new Headers(); + header.append('pragma', 'no-cache'); + header.append('cache-control', 'no-cache'); + + let options = { + method: 'GET', + headers: header, + }; + + return await fetch(file, options) + .then((res) => { + let contentType = res.headers.get("content-type") + if(contentType.indexOf("application/json") != -1) { + return res.json() + } else { + throw new Error('No JSON-Data found') + } + }) + .catch((err) => this.log({ lvl: 1, msg: err.message + ' at ' + file })) + } + + // coreFunction: to merge config-data with app-default scheme + async readConfig(file) { + let cfg = await this.getJsonFile(file); + if(cfg) { + for(const item of Object.keys(cfg)) { + if(item in this.app) Object.assign(this.app[item], cfg[item]); + } + this.log({ lvl: 5, msg: 'Read Configuration from ' + file + ' completed.' }); + } + } + + // mainFunction: Initializing FHEM App + async init(vuetify, i18n) { + this.log({ lvl: 2, msg: 'Starting FHEMApp...'}); + await this.readConfig('./cfg/config.json'); + + if(vuetify && this.app.theme) { + vuetify.framework.theme.dark = this.app.theme.dark; + Object.assign(vuetify.framework.theme.themes.light, this.app.theme.themes.light); + Object.assign(vuetify.framework.theme.themes.dark, this.app.theme.themes.dark); + } + + if(i18n && this.app.options.lang) { + i18n.locale = this.app.options.lang; + } + } +} + +export default { + install(Vue, vuetify, i18n) { + + // add an instance method + Vue.prototype.$myMethod = new Fhem; + + Vue.prototype.$myMethod.init(vuetify, i18n); + } +} diff --git a/www/fhemapp/css/chunk-72c6e8d8.8d89ed40.css b/www/fhemapp/css/chunk-72c6e8d8.8d89ed40.css deleted file mode 100644 index 1d7d44ab..00000000 --- a/www/fhemapp/css/chunk-72c6e8d8.8d89ed40.css +++ /dev/null @@ -1 +0,0 @@ -.theme--light.v-data-table tbody tr.v-data-table__selected{background:#f5f5f5}.theme--light.v-data-table .v-row-group__header,.theme--light.v-data-table .v-row-group__summary{background:#eee}.theme--light.v-data-table .v-data-footer{border-top:thin solid rgba(0,0,0,.12)}.theme--light.v-data-table .v-data-table__empty-wrapper{color:rgba(0,0,0,.38)}.theme--dark.v-data-table tbody tr.v-data-table__selected{background:#505050}.theme--dark.v-data-table .v-row-group__header,.theme--dark.v-data-table .v-row-group__summary{background:#616161}.theme--dark.v-data-table .v-data-footer{border-top:thin solid hsla(0,0%,100%,.12)}.theme--dark.v-data-table .v-data-table__empty-wrapper{color:hsla(0,0%,100%,.5)}.v-data-table{border-radius:4px}.v-data-table>.v-data-table__wrapper tbody tr.v-data-table__expanded{border-bottom:0}.v-data-table>.v-data-table__wrapper tbody tr.v-data-table__expanded__content{box-shadow:inset 0 4px 8px -5px rgba(50,50,50,.75),inset 0 -4px 8px -5px rgba(50,50,50,.75)}.v-data-table>.v-data-table__wrapper tbody tr:first-child:hover td:first-child{border-top-left-radius:4px}.v-data-table>.v-data-table__wrapper tbody tr:first-child:hover td:last-child{border-top-right-radius:4px}.v-data-table>.v-data-table__wrapper tbody tr:last-child:hover td:first-child{border-bottom-left-radius:4px}.v-data-table>.v-data-table__wrapper tbody tr:last-child:hover td:last-child{border-bottom-right-radius:4px}.v-data-table>.v-data-table__wrapper .v-data-table__mobile-table-row{display:initial}.v-data-table>.v-data-table__wrapper .v-data-table__mobile-row{height:auto;min-height:48px}.v-data-table__empty-wrapper{text-align:center}.v-data-table__mobile-row{align-items:center;display:flex;justify-content:space-between}.v-data-table__mobile-row__header{font-weight:600}.v-application--is-ltr .v-data-table__mobile-row__header{padding-right:16px}.v-application--is-rtl .v-data-table__mobile-row__header{padding-left:16px}.v-application--is-ltr .v-data-table__mobile-row__cell{text-align:right}.v-application--is-rtl .v-data-table__mobile-row__cell{text-align:left}.v-row-group__header td,.v-row-group__summary td{height:35px}.v-data-table__expand-icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.v-data-table__expand-icon--active{transform:rotate(-180deg)}.v-data-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;font-size:.75rem;padding:0 8px}.v-data-footer .v-btn{color:inherit}.v-application--is-ltr .v-data-footer__icons-before .v-btn:last-child{margin-right:7px}.v-application--is-ltr .v-data-footer__icons-after .v-btn:first-child,.v-application--is-rtl .v-data-footer__icons-before .v-btn:last-child{margin-left:7px}.v-application--is-rtl .v-data-footer__icons-after .v-btn:first-child{margin-right:7px}.v-data-footer__pagination{display:block;text-align:center}.v-application--is-ltr .v-data-footer__pagination{margin:0 32px 0 24px}.v-application--is-rtl .v-data-footer__pagination{margin:0 24px 0 32px}.v-data-footer__select{display:flex;align-items:center;flex:0 0 0;justify-content:flex-end;white-space:nowrap}.v-application--is-ltr .v-data-footer__select{margin-right:14px}.v-application--is-rtl .v-data-footer__select{margin-left:14px}.v-data-footer__select .v-select{flex:0 1 0;padding:0;position:static}.v-application--is-ltr .v-data-footer__select .v-select{margin:13px 0 13px 34px}.v-application--is-rtl .v-data-footer__select .v-select{margin:13px 34px 13px 0}.v-data-footer__select .v-select__selections{flex-wrap:nowrap}.v-data-footer__select .v-select__selections .v-select__selection--comma{font-size:.75rem}.theme--light.v-select .v-select__selections{color:rgba(0,0,0,.87)}.theme--light.v-select.v-input--is-disabled .v-select__selections,.theme--light.v-select .v-select__selection--disabled{color:rgba(0,0,0,.38)}.theme--dark.v-select .v-select__selections,.theme--light.v-select.v-text-field--solo-inverted.v-input--is-focused .v-select__selections{color:#fff}.theme--dark.v-select.v-input--is-disabled .v-select__selections,.theme--dark.v-select .v-select__selection--disabled{color:hsla(0,0%,100%,.5)}.theme--dark.v-select.v-text-field--solo-inverted.v-input--is-focused .v-select__selections{color:rgba(0,0,0,.87)}.v-select{position:relative}.v-select:not(.v-select--is-multi).v-text-field--single-line .v-select__selections{flex-wrap:nowrap}.v-select>.v-input__control>.v-input__slot{cursor:pointer}.v-select .v-chip{flex:0 1 auto;margin:4px}.v-select .v-chip--selected:after{opacity:.22}.v-select .fade-transition-leave-active{position:absolute;left:0}.v-select.v-input--is-dirty ::-moz-placeholder{color:transparent!important}.v-select.v-input--is-dirty :-ms-input-placeholder{color:transparent!important}.v-select.v-input--is-dirty ::placeholder{color:transparent!important}.v-select:not(.v-input--is-dirty):not(.v-input--is-focused) .v-text-field__prefix{line-height:20px;top:7px;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-select.v-text-field--enclosed:not(.v-text-field--single-line):not(.v-text-field--outlined) .v-select__selections{padding-top:20px}.v-select.v-text-field--outlined:not(.v-text-field--single-line) .v-select__selections{padding:8px 0}.v-select.v-text-field--outlined:not(.v-text-field--single-line).v-input--dense .v-select__selections{padding:4px 0}.v-select.v-text-field input{flex:1 1;min-width:0;pointer-events:none;position:relative}.v-select.v-text-field:not(.v-text-field--single-line) input{margin-top:0}.v-select.v-select--is-menu-active .v-input__icon--append .v-icon{transform:rotate(180deg)}.v-select.v-select--chips input{margin:0}.v-select.v-select--chips .v-select__selections{min-height:42px}.v-select.v-select--chips.v-input--dense .v-select__selections{min-height:40px}.v-select.v-select--chips .v-chip--select.v-chip--active:before{opacity:.2}.v-select.v-select--chips.v-select--chips--small .v-select__selections{min-height:26px}.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--box .v-select__selections,.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--enclosed .v-select__selections{min-height:68px}.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--box.v-input--dense .v-select__selections,.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--enclosed.v-input--dense .v-select__selections{min-height:40px}.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--box.v-select--chips--small .v-select__selections,.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--enclosed.v-select--chips--small .v-select__selections{min-height:26px}.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--box.v-select--chips--small.v-input--dense .v-select__selections,.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--enclosed.v-select--chips--small.v-input--dense .v-select__selections{min-height:38px}.v-select.v-text-field--reverse .v-select__selections,.v-select.v-text-field--reverse .v-select__slot{flex-direction:row-reverse}.v-select__selections{align-items:center;display:flex;flex:1 1;flex-wrap:wrap;line-height:18px;max-width:100%;min-width:0}.v-select__selection{max-width:90%}.v-select__selection--comma{margin:7px 4px 7px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-select.v-input--dense .v-select__selection--comma{margin:5px 4px 3px 0}.v-select.v-input--dense .v-chip{margin:0 4px 0 4px}.v-select__slot{position:relative;align-items:center;display:flex;max-width:100%;min-width:0;width:100%}.v-select:not(.v-text-field--single-line):not(.v-text-field--outlined) .v-select__slot>input{align-self:flex-end}.v-simple-checkbox{align-self:center;line-height:normal;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.v-simple-checkbox .v-icon{cursor:pointer}.v-simple-checkbox--disabled{cursor:default}.theme--light.v-subheader{color:rgba(0,0,0,.6)}.theme--dark.v-subheader{color:hsla(0,0%,100%,.7)}.v-subheader{align-items:center;display:flex;height:48px;font-size:.875rem;font-weight:400;padding:0 16px 0 16px}.v-subheader--inset{margin-left:56px}.theme--light.v-data-table .v-data-table-header th.sortable .v-data-table-header__icon{color:rgba(0,0,0,.38)}.theme--light.v-data-table .v-data-table-header th.sortable.active,.theme--light.v-data-table .v-data-table-header th.sortable.active .v-data-table-header__icon,.theme--light.v-data-table .v-data-table-header th.sortable:hover{color:rgba(0,0,0,.87)}.theme--light.v-data-table .v-data-table-header__sort-badge{background-color:rgba(0,0,0,.12);color:rgba(0,0,0,.87)}.theme--dark.v-data-table .v-data-table-header th.sortable .v-data-table-header__icon{color:hsla(0,0%,100%,.5)}.theme--dark.v-data-table .v-data-table-header th.sortable.active,.theme--dark.v-data-table .v-data-table-header th.sortable.active .v-data-table-header__icon,.theme--dark.v-data-table .v-data-table-header th.sortable:hover{color:#fff}.theme--dark.v-data-table .v-data-table-header__sort-badge{background-color:hsla(0,0%,100%,.12);color:#fff}.v-data-table-header th.sortable{pointer-events:auto;cursor:pointer;outline:0}.v-data-table-header th.sortable .v-data-table-header__icon{line-height:.9}.v-data-table-header th.active .v-data-table-header__icon,.v-data-table-header th:hover .v-data-table-header__icon{transform:none;opacity:1}.v-data-table-header th.desc .v-data-table-header__icon{transform:rotate(-180deg)}.v-data-table-header__icon{display:inline-block;opacity:0;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-data-table-header__sort-badge{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:50%;min-width:18px;min-height:18px;height:18px;width:18px}.v-data-table-header-mobile th{height:auto}.v-data-table-header-mobile__wrapper{display:flex}.v-data-table-header-mobile__wrapper .v-select{margin-bottom:8px}.v-data-table-header-mobile__wrapper .v-select .v-chip{height:24px}.v-data-table-header-mobile__wrapper .v-select .v-chip__close.desc .v-icon{transform:rotate(-180deg)}.v-data-table-header-mobile__select{min-width:56px;display:flex;align-items:center;justify-content:center}.theme--light.v-data-table{background-color:#fff;color:rgba(0,0,0,.87)}.theme--light.v-data-table .v-data-table__divider{border-right:thin solid rgba(0,0,0,.12)}.theme--light.v-data-table.v-data-table--fixed-header thead th{background:#fff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.12)}.theme--light.v-data-table>.v-data-table__wrapper>table>thead>tr>th{color:rgba(0,0,0,.6)}.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>td:last-child,.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>td:not(.v-data-table__mobile-row),.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>th:last-child,.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>th:not(.v-data-table__mobile-row),.theme--light.v-data-table>.v-data-table__wrapper>table>thead>tr:last-child>th{border-bottom:thin solid rgba(0,0,0,.12)}.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr.active{background:#f5f5f5}.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr:hover:not(.v-data-table__expanded__content):not(.v-data-table__empty-wrapper){background:#eee}.theme--dark.v-data-table{background-color:#1e1e1e;color:#fff}.theme--dark.v-data-table .v-data-table__divider{border-right:thin solid hsla(0,0%,100%,.12)}.theme--dark.v-data-table.v-data-table--fixed-header thead th{background:#1e1e1e;box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.12)}.theme--dark.v-data-table>.v-data-table__wrapper>table>thead>tr>th{color:hsla(0,0%,100%,.7)}.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>td:last-child,.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>td:not(.v-data-table__mobile-row),.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>th:last-child,.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>th:not(.v-data-table__mobile-row),.theme--dark.v-data-table>.v-data-table__wrapper>table>thead>tr:last-child>th{border-bottom:thin solid hsla(0,0%,100%,.12)}.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr.active{background:#505050}.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr:hover:not(.v-data-table__expanded__content):not(.v-data-table__empty-wrapper){background:#616161}.v-data-table{line-height:1.5;max-width:100%}.v-data-table>.v-data-table__wrapper>table{width:100%;border-spacing:0}.v-data-table>.v-data-table__wrapper>table>tbody>tr>td,.v-data-table>.v-data-table__wrapper>table>tbody>tr>th,.v-data-table>.v-data-table__wrapper>table>tfoot>tr>td,.v-data-table>.v-data-table__wrapper>table>tfoot>tr>th,.v-data-table>.v-data-table__wrapper>table>thead>tr>td,.v-data-table>.v-data-table__wrapper>table>thead>tr>th{padding:0 16px;transition:height .2s cubic-bezier(.4,0,.6,1)}.v-data-table>.v-data-table__wrapper>table>tbody>tr>th,.v-data-table>.v-data-table__wrapper>table>tfoot>tr>th,.v-data-table>.v-data-table__wrapper>table>thead>tr>th{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:.75rem;height:48px}.v-application--is-ltr .v-data-table>.v-data-table__wrapper>table>tbody>tr>th,.v-application--is-ltr .v-data-table>.v-data-table__wrapper>table>tfoot>tr>th,.v-application--is-ltr .v-data-table>.v-data-table__wrapper>table>thead>tr>th{text-align:left}.v-application--is-rtl .v-data-table>.v-data-table__wrapper>table>tbody>tr>th,.v-application--is-rtl .v-data-table>.v-data-table__wrapper>table>tfoot>tr>th,.v-application--is-rtl .v-data-table>.v-data-table__wrapper>table>thead>tr>th{text-align:right}.v-data-table>.v-data-table__wrapper>table>tbody>tr>td,.v-data-table>.v-data-table__wrapper>table>tfoot>tr>td,.v-data-table>.v-data-table__wrapper>table>thead>tr>td{font-size:.875rem;height:48px}.v-data-table__wrapper{overflow-x:auto;overflow-y:hidden}.v-data-table__progress{height:auto!important}.v-data-table__progress th{height:auto!important;border:none!important;padding:0;position:relative}.v-data-table--dense>.v-data-table__wrapper>table>tbody>tr>td,.v-data-table--dense>.v-data-table__wrapper>table>tbody>tr>th,.v-data-table--dense>.v-data-table__wrapper>table>tfoot>tr>td,.v-data-table--dense>.v-data-table__wrapper>table>tfoot>tr>th,.v-data-table--dense>.v-data-table__wrapper>table>thead>tr>td,.v-data-table--dense>.v-data-table__wrapper>table>thead>tr>th{height:32px}.v-data-table--has-top>.v-data-table__wrapper>table>tbody>tr:first-child:hover>td:first-child{border-top-left-radius:0}.v-data-table--has-top>.v-data-table__wrapper>table>tbody>tr:first-child:hover>td:last-child{border-top-right-radius:0}.v-data-table--has-bottom>.v-data-table__wrapper>table>tbody>tr:last-child:hover>td:first-child{border-bottom-left-radius:0}.v-data-table--has-bottom>.v-data-table__wrapper>table>tbody>tr:last-child:hover>td:last-child{border-bottom-right-radius:0}.v-data-table--fixed-header>.v-data-table__wrapper,.v-data-table--fixed-height .v-data-table__wrapper{overflow-y:auto}.v-data-table--fixed-header>.v-data-table__wrapper>table>thead>tr>th{border-bottom:0!important;position:sticky;top:0;z-index:2}.v-data-table--fixed-header>.v-data-table__wrapper>table>thead>tr:nth-child(2)>th{top:48px}.v-application--is-ltr .v-data-table--fixed-header .v-data-footer{margin-right:17px}.v-application--is-rtl .v-data-table--fixed-header .v-data-footer{margin-left:17px}.v-data-table--fixed-header.v-data-table--dense>.v-data-table__wrapper>table>thead>tr:nth-child(2)>th{top:32px} \ No newline at end of file diff --git a/www/fhemapp/css/chunk-72c6e8d8.d4bef30a.css b/www/fhemapp/css/chunk-72c6e8d8.d4bef30a.css new file mode 100644 index 00000000..66046d34 --- /dev/null +++ b/www/fhemapp/css/chunk-72c6e8d8.d4bef30a.css @@ -0,0 +1 @@ +.theme--light.v-data-table tbody tr.v-data-table__selected{background:#f5f5f5}.theme--light.v-data-table .v-row-group__header,.theme--light.v-data-table .v-row-group__summary{background:#eee}.theme--light.v-data-table .v-data-footer{border-top:thin solid rgba(0,0,0,.12)}.theme--light.v-data-table .v-data-table__empty-wrapper{color:rgba(0,0,0,.38)}.theme--dark.v-data-table tbody tr.v-data-table__selected{background:#505050}.theme--dark.v-data-table .v-row-group__header,.theme--dark.v-data-table .v-row-group__summary{background:#616161}.theme--dark.v-data-table .v-data-footer{border-top:thin solid hsla(0,0%,100%,.12)}.theme--dark.v-data-table .v-data-table__empty-wrapper{color:hsla(0,0%,100%,.5)}.v-data-table{border-radius:4px}.v-data-table>.v-data-table__wrapper tbody tr.v-data-table__expanded{border-bottom:0}.v-data-table>.v-data-table__wrapper tbody tr.v-data-table__expanded__content{box-shadow:inset 0 4px 8px -5px rgba(50,50,50,.75),inset 0 -4px 8px -5px rgba(50,50,50,.75)}.v-data-table>.v-data-table__wrapper tbody tr:first-child:hover td:first-child{border-top-left-radius:4px}.v-data-table>.v-data-table__wrapper tbody tr:first-child:hover td:last-child{border-top-right-radius:4px}.v-data-table>.v-data-table__wrapper tbody tr:last-child:hover td:first-child{border-bottom-left-radius:4px}.v-data-table>.v-data-table__wrapper tbody tr:last-child:hover td:last-child{border-bottom-right-radius:4px}.v-data-table>.v-data-table__wrapper .v-data-table__mobile-table-row{display:initial}.v-data-table>.v-data-table__wrapper .v-data-table__mobile-row{height:auto;min-height:48px}.v-data-table__empty-wrapper{text-align:center}.v-data-table__mobile-row{align-items:center;display:flex;justify-content:space-between}.v-data-table__mobile-row__header{font-weight:600}.v-application--is-ltr .v-data-table__mobile-row__header{padding-right:16px}.v-application--is-rtl .v-data-table__mobile-row__header{padding-left:16px}.v-application--is-ltr .v-data-table__mobile-row__cell{text-align:right}.v-application--is-rtl .v-data-table__mobile-row__cell{text-align:left}.v-row-group__header td,.v-row-group__summary td{height:35px}.v-data-table__expand-icon{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.v-data-table__expand-icon--active{transform:rotate(-180deg)}.v-data-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;font-size:.75rem;padding:0 8px}.v-data-footer .v-btn{color:inherit}.v-application--is-ltr .v-data-footer__icons-before .v-btn:last-child{margin-right:7px}.v-application--is-ltr .v-data-footer__icons-after .v-btn:first-child,.v-application--is-rtl .v-data-footer__icons-before .v-btn:last-child{margin-left:7px}.v-application--is-rtl .v-data-footer__icons-after .v-btn:first-child{margin-right:7px}.v-data-footer__pagination{display:block;text-align:center}.v-application--is-ltr .v-data-footer__pagination{margin:0 32px 0 24px}.v-application--is-rtl .v-data-footer__pagination{margin:0 24px 0 32px}.v-data-footer__select{display:flex;align-items:center;flex:0 0 0;justify-content:flex-end;white-space:nowrap}.v-application--is-ltr .v-data-footer__select{margin-right:14px}.v-application--is-rtl .v-data-footer__select{margin-left:14px}.v-data-footer__select .v-select{flex:0 1 0;padding:0;position:static}.v-application--is-ltr .v-data-footer__select .v-select{margin:13px 0 13px 34px}.v-application--is-rtl .v-data-footer__select .v-select{margin:13px 34px 13px 0}.v-data-footer__select .v-select__selections{flex-wrap:nowrap}.v-data-footer__select .v-select__selections .v-select__selection--comma{font-size:.75rem}.theme--light.v-select .v-select__selections{color:rgba(0,0,0,.87);min-height:10px}.theme--light.v-select.v-input--is-disabled .v-select__selections,.theme--light.v-select .v-select__selection--disabled{color:rgba(0,0,0,.38)}.theme--light.v-select.v-text-field--solo-inverted.v-input--is-focused .v-select__selections{color:#fff}.theme--dark.v-select .v-select__selections{color:#fff;min-height:10px}.theme--dark.v-select.v-input--is-disabled .v-select__selections,.theme--dark.v-select .v-select__selection--disabled{color:hsla(0,0%,100%,.5)}.theme--dark.v-select.v-text-field--solo-inverted.v-input--is-focused .v-select__selections{color:rgba(0,0,0,.87)}.v-select{position:relative}.v-select:not(.v-select--is-multi).v-text-field--single-line .v-select__selections{flex-wrap:nowrap}.v-select>.v-input__control>.v-input__slot{cursor:pointer}.v-select .v-chip{flex:0 1 auto;margin:4px}.v-select .v-chip--selected:after{opacity:.22}.v-select .fade-transition-leave-active{position:absolute;left:0}.v-select.v-input--is-dirty ::-moz-placeholder{color:transparent!important}.v-select.v-input--is-dirty :-ms-input-placeholder{color:transparent!important}.v-select.v-input--is-dirty ::placeholder{color:transparent!important}.v-select:not(.v-input--is-dirty):not(.v-input--is-focused) .v-text-field__prefix{line-height:20px;top:7px;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-select.v-text-field--enclosed:not(.v-text-field--single-line):not(.v-text-field--outlined) .v-select__selections{padding-top:20px}.v-select.v-text-field--outlined:not(.v-text-field--single-line) .v-select__selections{padding:8px 0}.v-select.v-text-field--outlined:not(.v-text-field--single-line).v-input--dense .v-select__selections{padding:4px 0}.v-select.v-text-field input{flex:1 1;min-width:0;pointer-events:none;position:relative}.v-select.v-text-field:not(.v-text-field--single-line) input{margin-top:0}.v-select.v-select--is-menu-active .v-input__icon--append .v-icon{transform:rotate(180deg)}.v-select.v-select--chips input{margin:0}.v-select.v-select--chips .v-select__selections{min-height:42px}.v-select.v-select--chips.v-input--dense .v-select__selections{min-height:40px}.v-select.v-select--chips .v-chip--select.v-chip--active:before{opacity:.2}.v-select.v-select--chips.v-select--chips--small .v-select__selections{min-height:26px}.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--box .v-select__selections,.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--enclosed .v-select__selections{min-height:68px}.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--box.v-input--dense .v-select__selections,.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--enclosed.v-input--dense .v-select__selections{min-height:40px}.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--box.v-select--chips--small .v-select__selections,.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--enclosed.v-select--chips--small .v-select__selections{min-height:26px}.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--box.v-select--chips--small.v-input--dense .v-select__selections,.v-select.v-select--chips:not(.v-text-field--single-line).v-text-field--enclosed.v-select--chips--small.v-input--dense .v-select__selections{min-height:38px}.v-select.v-text-field--reverse .v-select__selections,.v-select.v-text-field--reverse .v-select__slot{flex-direction:row-reverse}.v-select__selections{align-items:center;display:flex;flex:1 1;flex-wrap:wrap;line-height:18px;max-width:100%;min-width:0}.v-select__selection{max-width:90%}.v-select__selection--comma{margin:7px 4px 7px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v-select.v-input--dense .v-select__selection--comma{margin:5px 4px 3px 0}.v-select.v-input--dense .v-chip{margin:0 4px 0 4px}.v-select__slot{position:relative;align-items:center;display:flex;max-width:100%;min-width:0;width:100%}.v-select:not(.v-text-field--single-line):not(.v-text-field--outlined) .v-select__slot>input{align-self:flex-end}.v-simple-checkbox{align-self:center;line-height:normal;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.v-simple-checkbox .v-icon{cursor:pointer}.v-simple-checkbox--disabled{cursor:default}.theme--light.v-subheader{color:rgba(0,0,0,.6)}.theme--dark.v-subheader{color:hsla(0,0%,100%,.7)}.v-subheader{align-items:center;display:flex;height:48px;font-size:.875rem;font-weight:400;padding:0 16px 0 16px}.v-subheader--inset{margin-left:56px}.theme--light.v-data-table .v-data-table-header th.sortable .v-data-table-header__icon{color:rgba(0,0,0,.38)}.theme--light.v-data-table .v-data-table-header th.sortable.active,.theme--light.v-data-table .v-data-table-header th.sortable.active .v-data-table-header__icon,.theme--light.v-data-table .v-data-table-header th.sortable:hover{color:rgba(0,0,0,.87)}.theme--light.v-data-table .v-data-table-header__sort-badge{background-color:rgba(0,0,0,.12);color:rgba(0,0,0,.87)}.theme--dark.v-data-table .v-data-table-header th.sortable .v-data-table-header__icon{color:hsla(0,0%,100%,.5)}.theme--dark.v-data-table .v-data-table-header th.sortable.active,.theme--dark.v-data-table .v-data-table-header th.sortable.active .v-data-table-header__icon,.theme--dark.v-data-table .v-data-table-header th.sortable:hover{color:#fff}.theme--dark.v-data-table .v-data-table-header__sort-badge{background-color:hsla(0,0%,100%,.12);color:#fff}.v-data-table-header th.sortable{pointer-events:auto;cursor:pointer;outline:0}.v-data-table-header th.sortable .v-data-table-header__icon{line-height:.9}.v-data-table-header th.active .v-data-table-header__icon,.v-data-table-header th:hover .v-data-table-header__icon{transform:none;opacity:1}.v-data-table-header th.desc .v-data-table-header__icon{transform:rotate(-180deg)}.v-data-table-header__icon{display:inline-block;opacity:0;transition:.3s cubic-bezier(.25,.8,.5,1)}.v-data-table-header__sort-badge{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:50%;min-width:18px;min-height:18px;height:18px;width:18px}.v-data-table-header-mobile th{height:auto}.v-data-table-header-mobile__wrapper{display:flex}.v-data-table-header-mobile__wrapper .v-select{margin-bottom:8px}.v-data-table-header-mobile__wrapper .v-select .v-chip{height:24px}.v-data-table-header-mobile__wrapper .v-select .v-chip__close.desc .v-icon{transform:rotate(-180deg)}.v-data-table-header-mobile__select{min-width:56px;display:flex;align-items:center;justify-content:center}.theme--light.v-data-table{background-color:#fff;color:rgba(0,0,0,.87)}.theme--light.v-data-table .v-data-table__divider{border-right:thin solid rgba(0,0,0,.12)}.theme--light.v-data-table.v-data-table--fixed-header thead th{background:#fff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.12)}.theme--light.v-data-table>.v-data-table__wrapper>table>thead>tr>th{color:rgba(0,0,0,.6)}.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>td:last-child,.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>td:not(.v-data-table__mobile-row),.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>th:last-child,.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>th:not(.v-data-table__mobile-row),.theme--light.v-data-table>.v-data-table__wrapper>table>thead>tr:last-child>th{border-bottom:thin solid rgba(0,0,0,.12)}.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr.active{background:#f5f5f5}.theme--light.v-data-table>.v-data-table__wrapper>table>tbody>tr:hover:not(.v-data-table__expanded__content):not(.v-data-table__empty-wrapper){background:#eee}.theme--dark.v-data-table{background-color:#1e1e1e;color:#fff}.theme--dark.v-data-table .v-data-table__divider{border-right:thin solid hsla(0,0%,100%,.12)}.theme--dark.v-data-table.v-data-table--fixed-header thead th{background:#1e1e1e;box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.12)}.theme--dark.v-data-table>.v-data-table__wrapper>table>thead>tr>th{color:hsla(0,0%,100%,.7)}.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>td:last-child,.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>td:not(.v-data-table__mobile-row),.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>th:last-child,.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr:not(:last-child)>th:not(.v-data-table__mobile-row),.theme--dark.v-data-table>.v-data-table__wrapper>table>thead>tr:last-child>th{border-bottom:thin solid hsla(0,0%,100%,.12)}.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr.active{background:#505050}.theme--dark.v-data-table>.v-data-table__wrapper>table>tbody>tr:hover:not(.v-data-table__expanded__content):not(.v-data-table__empty-wrapper){background:#616161}.v-data-table{line-height:1.5;max-width:100%}.v-data-table>.v-data-table__wrapper>table{width:100%;border-spacing:0}.v-data-table>.v-data-table__wrapper>table>tbody>tr>td,.v-data-table>.v-data-table__wrapper>table>tbody>tr>th,.v-data-table>.v-data-table__wrapper>table>tfoot>tr>td,.v-data-table>.v-data-table__wrapper>table>tfoot>tr>th,.v-data-table>.v-data-table__wrapper>table>thead>tr>td,.v-data-table>.v-data-table__wrapper>table>thead>tr>th{padding:0 16px;transition:height .2s cubic-bezier(.4,0,.6,1)}.v-data-table>.v-data-table__wrapper>table>tbody>tr>th,.v-data-table>.v-data-table__wrapper>table>tfoot>tr>th,.v-data-table>.v-data-table__wrapper>table>thead>tr>th{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-size:.75rem;height:48px}.v-application--is-ltr .v-data-table>.v-data-table__wrapper>table>tbody>tr>th,.v-application--is-ltr .v-data-table>.v-data-table__wrapper>table>tfoot>tr>th,.v-application--is-ltr .v-data-table>.v-data-table__wrapper>table>thead>tr>th{text-align:left}.v-application--is-rtl .v-data-table>.v-data-table__wrapper>table>tbody>tr>th,.v-application--is-rtl .v-data-table>.v-data-table__wrapper>table>tfoot>tr>th,.v-application--is-rtl .v-data-table>.v-data-table__wrapper>table>thead>tr>th{text-align:right}.v-data-table>.v-data-table__wrapper>table>tbody>tr>td,.v-data-table>.v-data-table__wrapper>table>tfoot>tr>td,.v-data-table>.v-data-table__wrapper>table>thead>tr>td{font-size:.875rem;height:48px}.v-data-table__wrapper{overflow-x:auto;overflow-y:hidden}.v-data-table__progress{height:auto!important}.v-data-table__progress th{height:auto!important;border:none!important;padding:0;position:relative}.v-data-table--dense>.v-data-table__wrapper>table>tbody>tr>td,.v-data-table--dense>.v-data-table__wrapper>table>tbody>tr>th,.v-data-table--dense>.v-data-table__wrapper>table>tfoot>tr>td,.v-data-table--dense>.v-data-table__wrapper>table>tfoot>tr>th,.v-data-table--dense>.v-data-table__wrapper>table>thead>tr>td,.v-data-table--dense>.v-data-table__wrapper>table>thead>tr>th{height:32px}.v-data-table--has-top>.v-data-table__wrapper>table>tbody>tr:first-child:hover>td:first-child{border-top-left-radius:0}.v-data-table--has-top>.v-data-table__wrapper>table>tbody>tr:first-child:hover>td:last-child{border-top-right-radius:0}.v-data-table--has-bottom>.v-data-table__wrapper>table>tbody>tr:last-child:hover>td:first-child{border-bottom-left-radius:0}.v-data-table--has-bottom>.v-data-table__wrapper>table>tbody>tr:last-child:hover>td:last-child{border-bottom-right-radius:0}.v-data-table--fixed-header>.v-data-table__wrapper,.v-data-table--fixed-height .v-data-table__wrapper{overflow-y:auto}.v-data-table--fixed-header>.v-data-table__wrapper>table>thead>tr>th{border-bottom:0!important;position:sticky;top:0;z-index:2}.v-data-table--fixed-header>.v-data-table__wrapper>table>thead>tr:nth-child(2)>th{top:48px}.v-application--is-ltr .v-data-table--fixed-header .v-data-footer{margin-right:17px}.v-application--is-rtl .v-data-table--fixed-header .v-data-footer{margin-left:17px}.v-data-table--fixed-header.v-data-table--dense>.v-data-table__wrapper>table>thead>tr:nth-child(2)>th{top:32px} \ No newline at end of file diff --git a/www/fhemapp/index.html b/www/fhemapp/index.html index 947d5839..a3bba716 100644 --- a/www/fhemapp/index.html +++ b/www/fhemapp/index.html @@ -1 +1 @@ -fhemapp
\ No newline at end of file +fhemapp
\ No newline at end of file diff --git a/www/fhemapp/js/app.c1c3dcda.js b/www/fhemapp/js/app.98f215c6.js similarity index 61% rename from www/fhemapp/js/app.c1c3dcda.js rename to www/fhemapp/js/app.98f215c6.js index 20961d21..10dee42c 100644 --- a/www/fhemapp/js/app.c1c3dcda.js +++ b/www/fhemapp/js/app.98f215c6.js @@ -1 +1 @@ -(function(e){function t(t){for(var a,s,o=t[0],c=t[1],p=t[2],u=0,l=[];u0?(this.type=this.msgList[0].type,this.message=this.msgList[0].message,this.meta=this.msgList[0].meta,this.alert=!0):(this.alert=!1,this.type="info",this.message="",this.meta="")}},mounted:function(){var e=this;this.$fhem.on("message",(function(t){var n={type:"warning",message:"no valid message received",meta:""};Object.assign(n,t),e.msgList.unshift(n)}))},methods:{clearMessage:function(){this.msgList.length>0&&this.msgList.splice(0,1)}}}),u=p,l=n("2877"),d=n("6544"),h=n.n(d),f=n("0798"),m=n("8336"),v=n("62ad"),g=n("132d"),b=n("0fd9"),y=Object(l["a"])(u,o,c,!1,null,null,null),k=y.exports;h()(y,{VAlert:f["a"],VBtn:m["a"],VCol:v["a"],VIcon:g["a"],VRow:b["a"]});var O={components:{Broadcaster:k},data:function(){return{drawer:null,appBarColor:"primary",app:{options:{loading:!1,reloadBtn:!1,clock:null,date:null},session:{connect:!1},data:{roomList:[],groupList:[],header:""}},version:"v"+n("9224").version,status:{color:"secondary",icon:"mdi-circle",text:"unbekannt",time:""}}},computed:{showRooms:function(){return this.app.data.roomList.length>0},showGroups:function(){return this.app.data.groupList.length>0}},watch:{"app.session.connect":function(e){this.status.color=e?"success":"error",this.status.text=e?"online":"offline",this.status.time=this.$fhem.getDateTime()}},mounted:function(){var e=this;this.app.session=this.$fhem.app.session,this.app.options=this.$fhem.app.options,this.app.data=this.$fhem.app.data,this.$fhem.on("connect",(function(){return e.loadRoutes()})),this.$fhem.init(),this.loadRoutes(),this.app.options.debugMode&&(this.appBarColor="pink darken-4")},methods:{loadRoutes:function(){this.app.session.connect&&(this.$fhem.getRoutes("room"),this.$fhem.getRoutes("group"))},reload:function(){location.reload(!0)},goTo:function(e){var t=e||"/";this.$router.currentRoute.path!=t&&this.$router.push(t)}}},w=O,j=n("7496"),L=n("40dc"),x=n("5bc1"),C=n("cc20"),R=n("a523"),_=n("ce7e"),S=n("adda"),P=n("8860"),E=n("56b0"),D=n("da13"),A=n("5d23"),F=n("34c3"),N=n("f6c4"),V=n("f774"),T=n("a797"),$=n("490a"),M=n("2fa4"),I=n("3a2f"),B=Object(l["a"])(w,r,i,!1,null,null,null),H=B.exports;h()(B,{VApp:j["a"],VAppBar:L["a"],VAppBarNavIcon:x["a"],VBtn:m["a"],VChip:C["a"],VContainer:R["a"],VDivider:_["a"],VIcon:g["a"],VImg:S["a"],VList:P["a"],VListGroup:E["a"],VListItem:D["a"],VListItemContent:A["a"],VListItemIcon:F["a"],VListItemSubtitle:A["b"],VListItemTitle:A["c"],VMain:N["a"],VNavigationDrawer:V["a"],VOverlay:T["a"],VProgressCircular:$["a"],VSpacer:M["a"],VTooltip:I["a"]});n("3ca3"),n("ddb0");var q=n("8c4f");s["a"].use(q["a"]);var J=[{path:"/",name:"Home",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/system",name:"System",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/dashboard",name:"Dashboard",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/devices/:filter",name:"Devices",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/edit-devices",name:"EditDevice",component:function(){return Promise.all([n.e("chunk-28a3f15f"),n.e("chunk-07709945"),n.e("chunk-72c6e8d8"),n.e("chunk-085bcd30")]).then(n.bind(null,"f87a"))}},{path:"/syslog",name:"Syslog",component:function(){return Promise.all([n.e("chunk-28a3f15f"),n.e("chunk-07709945"),n.e("chunk-72c6e8d8"),n.e("chunk-2c05d556")]).then(n.bind(null,"beee"))}}],U=new q["a"]({mode:"hash",base:"",routes:J}),z=U,G=n("f309"),X=n("0fe0"),W=n.n(X),K=n("fcf4");s["a"].use(G["a"]);var Z={lang:{locales:{de:W.a},current:"de"},theme:{dark:!0,themes:{dark:{primary:K["a"].grey.darken4,secondary:K["a"].grey.darken3,success:K["a"].green.accent2,accent:K["a"].green.accent2},light:{primary:K["a"].grey,secondary:K["a"].grey.lighten3,success:K["a"].green.accent3,accent:K["a"].green.accent3}}}},Q=new G["a"](Z),Y=n("b85c"),ee=n("1da1"),te=n("53ca"),ne=n("d4ec"),ae=n("bee2"),se=n("262e"),re=n("2caf"),ie=(n("96cf"),n("fb6a"),n("1276"),n("ac1f"),n("5319"),n("13d5"),n("159b"),n("466d"),n("d81d"),n("b680"),n("25f0"),n("99af"),n("4d63"),n("b64b"),n("b0c0"),n("07ac"),n("faa1")),oe=n.n(ie),ce=function(e){Object(se["a"])(n,e);var t=Object(re["a"])(n);function n(){var e;return Object(ne["a"])(this,n),e=t.call(this),e.app={connection:{location:window.location.protocol+"//"+window.location.hostname,port:window.location.port,path:"fhem"},socket:null,session:{connect:!1,csrf:null,restart:!1,restartCnt:0,logList:[],logLast:{}},options:{lang:"de",debugMode:!1,debugLevel:3,loading:!1,loadCount:0,clockInterval:5e3,clock:null,date:null,maxChartPoints:100,updateProcess:!1,logRecord:!0,logBuffer:500,ignoreFhemRoom:!1,ignoreFhemGroup:!1,ignoreFhemSortby:!1,mobileHeader:!1},templates:[],componentMap:[],data:{roomList:[],groupList:[],deviceList:[],header:""}},e}return Object(ae["a"])(n,[{key:"loading",set:function(e){e&&this.app.options.loadCount++,!e&&this.app.options.loadCount>0&&this.app.options.loadCount--,this.app.options.loadCount>0&&!this.app.options.loading&&(this.app.options.loading=!0),0===this.app.options.loadCount&&(this.app.options.loading=!1)}},{key:"log",set:function(e){var t={type:"info",timestamp:Date.now(),timeFlag:null,debugLevel:this.app.options.debugLevel,message:"",icon:"",color:""};Object.assign(t,e);var n=new Date(t.timestamp).toLocaleTimeString(this.app.options.lang),a=new Date(t.timestamp).getMilliseconds();t.timeFlag=n+":"+("000"+a).slice(-3),"error"===t.type&&(t.icon="mdi-alert-outline",t.color="error"),"status"===t.type&&(t.icon="mdi-connection",t.color="info"),"request"===t.type&&(t.icon="mdi-send-circle-outline",t.color="success"),"warning"===t.type&&(t.icon="mdi-help-circle-outline",t.color="warning"),"info"===t.type&&(t.icon="mdi-sync",t.color="success"),"intern"===t.type&&(t.icon="mdi-hexagon-multiple-outline",t.color="warning"),this.app.session.logLast=t,"error"===t.type&&this.emit("message",{type:t.type,message:t.message,meta:t.meta}),this.app.options.logRecord&&t.debugLevel<=this.app.options.debugLevel&&(this.app.session.logList.unshift(t),this.app.session.logList.length>this.app.options.logBuffer&&(this.app.session.logList.length=this.app.options.logBuffer))}},{key:"getDate",value:function(e){var t=e?parseInt(e):0;return function(e){return new Date(e.setDate(e.getDate()+t)).toISOString()}(new Date).split("T")[0]}},{key:"getDateTime",value:function(e){var t=e||(new Date).toISOString();return new Date(t.replace(" ","T")).toLocaleString(this.app.options.lang,{dateStyle:"short",timeStyle:"medium"}).replace(",","")}},{key:"getEl",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a0&&e.forEach((function(e){e.param&&e.value&&(r+=r?"&":"?",r+=e.param+"="+encodeURIComponent(e.value))})),n+a+s+r}},{key:"getCsrfToken",value:function(){var e=Object(ee["a"])(regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=new Promise((function(e,t){n.request({},"csrf").then((function(t){return e(t)})).catch((function(e){return t(e)}))})),e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"request",value:function(){var e=Object(ee["a"])(regeneratorRuntime.mark((function e(t,n,s){var r,i=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=new Promise((function(e,r){var o=[];"csrf"!=n&&o.push({param:"fwcsrf",value:i.app.session.csrf}),"json"!==n&&"csrf"!==n||o.push({param:"XHR",value:"1"}),"object"===Object(te["a"])(t)&&(t.length>0?o.push.apply(o,Object(a["a"])(t)):o.push(t)),"string"===typeof t&&o.push({param:"cmd",value:t});var c=i.createURL(o);i.log={type:"request",message:"Request: "+c,debugLevel:3},fetch(c).then((function(t){if(t.ok)if("csrf"===n){var a=t.headers.get("x-fhem-csrftoken");e("object"===Object(te["a"])(s)?Object.assign(s,{data:a}):a)}else"json"===n?t.json().then((function(t){e("object"===Object(te["a"])(s)?Object.assign(s,{data:t}):t)})):t.text().then((function(t){e("object"===Object(te["a"])(s)?Object.assign(s,{data:t}):t)}))})).catch((function(e){r({error:e,request:c})}))})),e.abrupt("return",r);case 2:case"end":return e.stop()}}),e)})));function t(t,n,a){return e.apply(this,arguments)}return t}()},{key:"handleLogData",value:function(e){var t=e.split("\n");t.length>3&&t.splice(-3,3);var n,a=[],s=t.length>this.app.options.maxChartPoints?parseInt(t.length/this.app.options.maxChartPoints):1,r=s,i=0,o=1,c=Object(Y["a"])(t);try{for(c.s();!(n=c.n()).done;){var p=n.value,u=p.split(" "),l=Date.parse(u[0].replace("_","T")),d=parseFloat(u[1]);i+=d,(o>=r||o===t.length)&&(o===t.length&&(s-=r-o),a.push({timestamp:l,value:i/s}),r+=s,i=0),o++}}catch(h){c.e(h)}finally{c.f()}return this.log={type:"intern",message:"handle Chartdata (Lines: "+t.length+")",debugLevel:5},a}},{key:"readLogData",value:function(){var e=Object(ee["a"])(regeneratorRuntime.mark((function e(t){var n,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=new Promise((function(e,n){t.defs&&t.defs.length>0?function(){var s,r=[],i=0,o=Object(Y["a"])(t.defs);try{for(o.s();!(s=o.n()).done;){var c=s.value,p=/\(.*\)/.exec(c),u=p?c.replace(p[0],"_").split(":"):c.split(":"),l="get ";l+=u[0]?u[0]:t.deviceName,l+=t.from?" - - "+t.from:"",l+=t.to?" "+t.to:"",l+=p?" "+p[0].replace(/\(|\)/g,""):" 4:"+u[1],a.log={type:"intern",message:"Loading Chartdata - "+l,debugLevel:5},a.request([{param:"cmd",value:l},{param:"XHR",value:"1"}],"text",{id:i}).then((function(n){r.push({id:n.id,data:a.handleLogData(n.data)}),r.length===t.defs.length&&(Object.assign(t,{data:r}),e(t))})).catch((function(e){a.log={type:"error",message:"Fetch data from FHEM Logfile failed.",meta:e,debugLevel:1},n()})),i++}}catch(d){o.e(d)}finally{o.f()}}():(a.log={type:"error",message:"No Definitions for Chart found.",meta:t,debugLevel:1},n())})),e.abrupt("return",n);case 2:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"checkUpdate",value:function(){var e=Object(ee["a"])(regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=new Promise((function(e,t){n.request([{param:"cmd",value:"update check"},{param:"XHR",value:"1"}]).then((function(t){var n,a=t.split("\n").splice(2),s=0,r=1,i=Object(Y["a"])(a);try{for(i.s();!(n=i.n()).done;){var o=n.value;o.match("UPD")&&!o.match("excluded")&&s++,r===a.length&&e(s>0),r++}}catch(c){i.e(c)}finally{i.f()}})).catch((function(e){n.log={type:"error",message:"FHEM check for Updates failed.",meta:e,debugLevel:1},t(e)}))})),e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getRoutes",value:function(e){var t=this;if(this.app.options.loading=!0,"room"===e||"group"===e){var n=e+"List",a=[];this.app.data[n].splice(0),this.request({param:"cmd",value:"jsonList2 appOptions!= appOptions room group"},"json").then(function(){var n=Object(ee["a"])(regeneratorRuntime.mark((function n(s){var r,i,o,c,p,u,l,d,h,f,m;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:r=1,i=Object(Y["a"])(s.Results),n.prev=2,i.s();case 4:if((o=i.n()).done){n.next=15;break}return c=o.value,n.next=8,t.createOptions(c);case 8:if(p=n.sent,u=p[e],u&&p.template){l=u.split(","),d=Object(Y["a"])(l);try{for(d.s();!(h=d.n()).done;)f=h.value,m="/devices/"+e+"="+f,-1==a.map((function(e){return e.title})).indexOf(f)&&a.push({title:f,route:m})}catch(v){d.e(v)}finally{d.f()}}r===s.Results.length&&(a.sort((function(e,t){return e.title>t.title?1:t.title>e.title?-1:0})),t.app.data[e+"List"]=Object.assign([],a),t.app.options.loading=!1),r++;case 13:n.next=4;break;case 15:n.next=20;break;case 17:n.prev=17,n.t0=n["catch"](2),i.e(n.t0);case 20:return n.prev=20,i.f(),n.finish(20);case 23:case"end":return n.stop()}}),n,null,[[2,17,20,23]])})));return function(e){return n.apply(this,arguments)}}()).catch((function(n){t.log={type:"error",message:"Loading "+e+"s from FHEM failed.",meta:n,debugLevel:1},t.app.options.loading=!1}))}else this.log={type:"error",message:"Creating Routes failed.",meta:e,debugLevel:1},this.app.options.loading=!1}},{key:"replaceVals",value:function(e,t){for(var n=/-?[0-9]/.exec(t),a=[],s=2;s0){var s,r=Object(Y["a"])(t);try{for(r.s();!(s=r.n()).done;){var i=s.value,o=i.split(":");if(o.length>2){var c=o[0].match(/\./)?o[0].split("."):["Readings",o[0],"Value"],p=this.getEl.apply(this,[e].concat(Object(a["a"])(c)));if(p){var u=!1;if(isNaN(parseFloat(o[1])))RegExp(o[1]?o[1]:".").test(p)&&(u=!0);else{var l=/-?[0-9]/.exec(p);-1!=l.index&&parseFloat(p.slice(l.index))>=parseFloat(o[1])&&(u=!0)}if(u){n=this.replaceVals(o,p);break}}}}}catch(d){r.e(d)}finally{r.f()}}return n}},{key:"handleStates",value:function(e,t,n){var s=this.getEl(e,"Options","states")||n;if(s){var r,i=Object(Y["a"])(s);try{for(i.s();!(r=i.n()).done;){var o=r.value,c=o.split(":");if(c[0]){var p=c[0].match(/\./)?c[0].split("."):["Readings",c[0],"Value"],u=this.getEl.apply(this,[e].concat(Object(a["a"])(p)));if(u){var l=!1;if(isNaN(parseFloat(c[1]))?RegExp(c[1]?c[1]:".").test(u)&&(l=!0):parseFloat(u)>=parseFloat(c[1])&&(l=!0),l){var d={};c[2]&&(d.mainState=c[0]===c[2]?u:c[2]),c[3]&&(d.mainLevel=c[0]===c[3]?u:c[3]),c[4]&&(d.mainColor=c[4]),c[5]&&(d.systemIcon=c[5]),Object.assign(t,d);break}}}else this.log={type:"error",message:"Wrong Definition for Device-States.",meta:e,debugLevel:1}}}catch(h){i.e(h)}finally{i.f()}}return t}},{key:"createConnected",value:function(){var e=Object(ee["a"])(regeneratorRuntime.mark((function e(t){var n,a,s,r,i,o=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n={},!("connected"in t.Options)){e.next=12;break}a=Object.keys(t.Options.connected),s=0,r=a;case 4:if(!(st.Options.sortby?1:t.Options.sortby>e.Options.sortby?-1:0})),t.app.data.deviceList=Object.assign([],s),t.app.options.loading=!1),r++;case 29:n.next=5;break;case 31:n.next=36;break;case 33:n.prev=33,n.t0=n["catch"](3),i.e(n.t0);case 36:return n.prev=36,i.f(),n.finish(36);case 39:case"end":return n.stop()}}),n,null,[[3,33,36,39]])})));return function(e){return n.apply(this,arguments)}}()).catch((function(e){t.log={type:"error",message:"Request to FHEM failed.",meta:e,debugLevel:1},t.app.options.loading=!1}))}},{key:"handleData",value:function(e){var t=JSON.parse(e),n=null;if(!t[2].match("0){var n=t.handleData(e);n&&t.app.data.deviceList.forEach((function(e,a){var s=t.app.data.deviceList[a],r=Object.assign({},s);e.Name===n.Name&&("Readings"===n.devicePart&&t.getEl(r,"Readings",n.param,n.paramPart)&&(r.Readings[n.param][n.paramPart]=n.value),"Attributes"===n.devicePart&&t.getEl(r,"Attributes",n.param)&&(r.Attributes[n.param]=n.value),t.app.data.deviceList.splice(a,1,r)),"Connected"in e&&Object.values(e.Connected).forEach((function(s,i){if(s.Name===n.Name){var o=Object.keys(e.Connected)[i];"Readings"===n.devicePart&&t.getEl(r.Connected[o],"Readings",n.param,n.paramPart)&&(r.Connected[o].Readings[n.param][n.paramPart]=n.value),"Attributes"===n.devicePart&&t.getEl(r.Connected[o],"Attributes",n.param)&&(r.Connected[o].Attributes[n.param]=n.value),t.app.data.deviceList.splice(a,1,r)}}))}))}}))}},{key:"connClose",value:function(){var e=this;if(this.app.session.connect=!1,this.app.session.csrf=null,this.app.session.socket=null,!this.app.session.restart){var t=0==this.app.session.restartCnt?1:3e3;this.log={type:"intern",message:"Restart-Sequence is started. (restart counter: "+this.app.session.restartCnt+" - restart on: "+t+" milliseconds)",debugLevel:5},this.app.session.restart=!0,setTimeout((function(){e.app.session.restart=!1,e.app.session.restartCnt++,e.init()}),t),this.log={type:"status",message:"Connection with FHEM was closed. Try to Reconnect in "+t/1e3+" seconds...",debugLevel:2}}}},{key:"connOpen",value:function(){var e=this;this.app.options.loading=!0,this.app.session.restartCnt=0,this.getCsrfToken().then((function(t){e.app.session.csrf=t,e.app.session.connect=!0,e.emit("connect"),e.log={type:"status",message:"Connection with FHEM is opened.",meta:e.session,debugLevel:2},e.app.options.loading=!1})).catch((function(t){e.app.session.csrf=null,e.app.session.connect=!1,e.log={type:"error",message:"Retrieve csrf-Token failed.",meta:t,debugLevel:1}})).finally((function(){return e.app.options.loading=!1}))}},{key:"setClock",value:function(){var e=new Date;this.app.options.clock=e.toLocaleString(this.app.options.lang,{hour:"2-digit",minute:"2-digit"}),this.app.options.date=e.toLocaleString(this.app.options.lang,{weekday:"long",year:"numeric",month:"long",day:"numeric"})}},{key:"init",value:function(){var e=this,t=[{param:"inform",value:"type=status;filter=.*;fmt=JSON"},{param:"XHR",value:"1"}],n=this.createURL(t).replace(/^http/i,"ws");this.app.socket=new WebSocket(n),this.app.socket.onopen=function(){return e.connOpen()},this.app.socket.onmessage=function(t){return e.doUpdate(t)},this.app.socket.onclose=function(){return e.connClose()},this.setClock(),setInterval((function(){return e.setClock()}),this.app.options.clockInterval)}}]),n}(oe.a),pe=n("1321"),ue=n.n(pe),le=n("a925");function de(){var e=n("49f8"),t={};return e.keys().forEach((function(n){var a=n.match(/([A-Za-z0-9-_]+)\./i);if(a&&a.length>1){var s=a[1];t[s]=e(n)}})),t}s["a"].use(le["a"]);var he=new le["a"]({locale:"de",fallbackLocale:"en",messages:de()});s["a"].use(ue.a),s["a"].component("apexchart",ue.a),s["a"].config.productionTip=!1,s["a"].prototype.$fhem=new ce,fetch("./cfg/config.json").then((function(e){return e.json()})).catch((function(e){s["a"].prototype.$fhem.log={type:"error",message:"Loading config.json failed.",meta:e,debugLevel:1}})).then((function(e){var t;e&&(e.connection&&Object.assign(s["a"].prototype.$fhem.app.connection,e.connection),e.options&&Object.assign(s["a"].prototype.$fhem.app.options,e.options),e.custom&&e.custom.length>0&&(t=s["a"].prototype.$fhem.app.templates).push.apply(t,Object(a["a"])(e.custom)),e.theme&&(-1!=e.theme.dark&&Object.assign(Q.framework.theme,{dark:e.theme.dark}),e.theme.themes&&(e.theme.themes.light&&Object.assign(Q.framework.theme.themes.light,e.theme.themes.light),e.theme.themes.dark&&Object.assign(Q.framework.theme.themes.dark,e.theme.themes.dark))));he.locale=s["a"].prototype.$fhem.app.options.lang,s["a"].prototype.$fhem.log={type:"status",message:"Config: "+JSON.stringify(e),debugLevel:2},s["a"].prototype.$fhem.log={type:"status",message:"Connection: "+JSON.stringify(s["a"].prototype.$fhem.app.connection),debugLevel:2},new s["a"]({vuetify:Q,router:z,i18n:he,render:function(e){return e(H)}}).$mount("#app")}))},"6ce2":function(e){e.exports=JSON.parse('{"app":{"navigation":{"home":"Home","group":"Gruppen","room":"Bereiche","dashboard":"Dashboard","system":"System"}}}')},9224:function(e){e.exports=JSON.parse('{"name":"fhemapp","version":"3.12.1","private":true,"author":"jemu75","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","i18n:report":"vue-cli-service i18n:report --src \\"./src/**/*.?(js|vue)\\" --locales \\"./src/locales/**/*.json\\""},"dependencies":{"apexcharts":"^3.26.0","core-js":"^3.9.1","typeface-roboto":"^1.1.13","vue":"^2.6.11","vue-apexcharts":"^1.6.0","vue-i18n":"^8.22.3","vue-json-pretty":"^1.7.1","vue-router":"^3.5.1","vuetify":"^2.4.8"},"devDependencies":{"@mdi/font":"^5.9.55","@vue/cli-plugin-babel":"^4.5.12","@vue/cli-plugin-eslint":"^4.5.12","@vue/cli-plugin-router":"^4.5.12","@vue/cli-service":"^4.5.12","babel-eslint":"^10.1.0","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","sass":"^1.32.8","sass-loader":"^8.0.0","vue-cli-plugin-i18n":"~2.1.0","vue-cli-plugin-vuetify":"~2.0.9","vue-template-compiler":"^2.6.11","vuetify-loader":"^1.7.2"},"bugs":{"url":"https://github.com/jemu75/fhemApp/issues"},"homepage":"https://github.com/jemu75/fhemApp#readme","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jemu75/fhemApp.git"}}')},c274:function(e,t,n){e.exports=n.p+"img/FHEM_Logo.2d0f7a38.png"},edd4:function(e){e.exports=JSON.parse('{"app":{"navigation":{"home":"Home","group":"Groups","room":"Area","dashboard":"Dashboard","system":"System"}}}')}}); \ No newline at end of file +(function(e){function t(t){for(var a,s,o=t[0],c=t[1],p=t[2],u=0,l=[];u0?(this.type=this.msgList[0].type,this.message=this.msgList[0].message,this.meta=this.msgList[0].meta,this.alert=!0):(this.alert=!1,this.type="info",this.message="",this.meta="")}},mounted:function(){var e=this;this.$fhem.on("message",(function(t){var n={type:"warning",message:"no valid message received",meta:""};Object.assign(n,t),e.msgList.unshift(n)}))},methods:{clearMessage:function(){this.msgList.length>0&&this.msgList.splice(0,1)}}}),u=p,l=n("2877"),d=n("6544"),h=n.n(d),f=n("0798"),m=n("8336"),v=n("62ad"),g=n("132d"),b=n("0fd9"),y=Object(l["a"])(u,o,c,!1,null,null,null),k=y.exports;h()(y,{VAlert:f["a"],VBtn:m["a"],VCol:v["a"],VIcon:g["a"],VRow:b["a"]});var O={components:{Broadcaster:k},data:function(){return{drawer:null,appBarColor:"primary",app:{options:{loading:!1,reloadBtn:!1,clock:null,date:null},session:{connect:!1},data:{roomList:[],groupList:[],header:""}},version:"v"+n("9224").version,status:{color:"secondary",icon:"mdi-circle",text:"unbekannt",time:""}}},computed:{showRooms:function(){return this.app.data.roomList.length>0},showGroups:function(){return this.app.data.groupList.length>0}},watch:{"app.session.connect":function(e){this.status.color=e?"success":"error",this.status.text=e?"online":"offline",this.status.time=this.$fhem.getDateTime()}},mounted:function(){var e=this;this.app.session=this.$fhem.app.session,this.app.options=this.$fhem.app.options,this.app.data=this.$fhem.app.data,this.$fhem.on("connect",(function(){return e.loadRoutes()})),this.$fhem.init(),this.loadRoutes(),this.app.options.debugMode&&(this.appBarColor="pink darken-4")},methods:{loadRoutes:function(){this.app.session.connect&&(this.$fhem.getRoutes("room"),this.$fhem.getRoutes("group"))},reload:function(){location.reload(!0)},goTo:function(e){var t=e||"/";this.$router.currentRoute.path!=t&&this.$router.push(t)}}},w=O,j=n("7496"),L=n("40dc"),x=n("5bc1"),C=n("cc20"),R=n("a523"),_=n("ce7e"),S=n("adda"),P=n("8860"),E=n("56b0"),D=n("da13"),A=n("5d23"),F=n("34c3"),N=n("f6c4"),V=n("f774"),T=n("a797"),$=n("490a"),M=n("2fa4"),I=n("3a2f"),B=Object(l["a"])(w,r,i,!1,null,null,null),H=B.exports;h()(B,{VApp:j["a"],VAppBar:L["a"],VAppBarNavIcon:x["a"],VBtn:m["a"],VChip:C["a"],VContainer:R["a"],VDivider:_["a"],VIcon:g["a"],VImg:S["a"],VList:P["a"],VListGroup:E["a"],VListItem:D["a"],VListItemContent:A["a"],VListItemIcon:F["a"],VListItemSubtitle:A["b"],VListItemTitle:A["c"],VMain:N["a"],VNavigationDrawer:V["a"],VOverlay:T["a"],VProgressCircular:$["a"],VSpacer:M["a"],VTooltip:I["a"]});n("3ca3"),n("ddb0");var q=n("8c4f");s["a"].use(q["a"]);var J=[{path:"/",name:"Home",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/system",name:"System",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/dashboard",name:"Dashboard",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/devices/:filter",name:"Devices",component:function(){return n.e("chunk-2d212bf1").then(n.bind(null,"aa72"))}},{path:"/edit-devices",name:"EditDevice",component:function(){return Promise.all([n.e("chunk-28a3f15f"),n.e("chunk-07709945"),n.e("chunk-72c6e8d8"),n.e("chunk-085bcd30")]).then(n.bind(null,"f87a"))}},{path:"/syslog",name:"Syslog",component:function(){return Promise.all([n.e("chunk-28a3f15f"),n.e("chunk-07709945"),n.e("chunk-72c6e8d8"),n.e("chunk-2c05d556")]).then(n.bind(null,"beee"))}}],U=new q["a"]({mode:"hash",base:"",routes:J}),z=U,G=n("f309"),X=n("0fe0"),W=n.n(X),K=n("fcf4");s["a"].use(G["a"]);var Z={lang:{locales:{de:W.a},current:"de"},theme:{dark:!0,themes:{dark:{primary:K["a"].grey.darken4,secondary:K["a"].grey.darken3,success:K["a"].green.accent2,accent:K["a"].green.accent2},light:{primary:K["a"].grey,secondary:K["a"].grey.lighten3,success:K["a"].green.accent3,accent:K["a"].green.accent3}}}},Q=new G["a"](Z),Y=n("b85c"),ee=n("1da1"),te=n("53ca"),ne=n("d4ec"),ae=n("bee2"),se=n("262e"),re=n("2caf"),ie=(n("96cf"),n("fb6a"),n("1276"),n("ac1f"),n("5319"),n("13d5"),n("159b"),n("466d"),n("d81d"),n("b680"),n("25f0"),n("99af"),n("4d63"),n("b64b"),n("b0c0"),n("07ac"),n("faa1")),oe=n.n(ie),ce=function(e){Object(se["a"])(n,e);var t=Object(re["a"])(n);function n(){var e;return Object(ne["a"])(this,n),e=t.call(this),e.app={connection:{location:window.location.protocol+"//"+window.location.hostname,port:window.location.port,path:"fhem"},socket:null,session:{connect:!1,csrf:null,restart:!1,restartCnt:0,logList:[],logLast:{}},options:{lang:"de",debugMode:!1,debugLevel:3,loading:!1,loadCount:0,clockInterval:5e3,clock:null,date:null,maxChartPoints:100,updateProcess:!1,logRecord:!0,logBuffer:500,ignoreFhemRoom:!1,ignoreFhemGroup:!1,ignoreFhemSortby:!1,mobileHeader:!1},templates:[],componentMap:[],data:{roomList:[],groupList:[],deviceList:[],header:""}},e}return Object(ae["a"])(n,[{key:"loading",set:function(e){e&&this.app.options.loadCount++,!e&&this.app.options.loadCount>0&&this.app.options.loadCount--,this.app.options.loadCount>0&&!this.app.options.loading&&(this.app.options.loading=!0),0===this.app.options.loadCount&&(this.app.options.loading=!1)}},{key:"log",set:function(e){var t={type:"info",timestamp:Date.now(),timeFlag:null,debugLevel:this.app.options.debugLevel,message:"",icon:"",color:""};Object.assign(t,e);var n=new Date(t.timestamp).toLocaleTimeString(this.app.options.lang),a=new Date(t.timestamp).getMilliseconds();t.timeFlag=n+":"+("000"+a).slice(-3),"error"===t.type&&(t.icon="mdi-alert-outline",t.color="error"),"status"===t.type&&(t.icon="mdi-connection",t.color="info"),"request"===t.type&&(t.icon="mdi-send-circle-outline",t.color="success"),"warning"===t.type&&(t.icon="mdi-help-circle-outline",t.color="warning"),"info"===t.type&&(t.icon="mdi-sync",t.color="success"),"intern"===t.type&&(t.icon="mdi-hexagon-multiple-outline",t.color="warning"),this.app.session.logLast=t,"error"===t.type&&this.emit("message",{type:t.type,message:t.message,meta:t.meta}),this.app.options.logRecord&&t.debugLevel<=this.app.options.debugLevel&&(this.app.session.logList.unshift(t),this.app.session.logList.length>this.app.options.logBuffer&&(this.app.session.logList.length=this.app.options.logBuffer))}},{key:"getDate",value:function(e){var t=e?parseInt(e):0;return function(e){return new Date(e.setDate(e.getDate()+t)).toISOString()}(new Date).split("T")[0]}},{key:"getDateTime",value:function(e){var t=e||(new Date).toISOString();return new Date(t.replace(" ","T")).toLocaleString(this.app.options.lang,{dateStyle:"short",timeStyle:"medium"}).replace(",","")}},{key:"getEl",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a0&&e.forEach((function(e){e.param&&e.value&&(r+=r?"&":"?",r+=e.param+"="+encodeURIComponent(e.value))})),n+a+s+r}},{key:"getCsrfToken",value:function(){var e=Object(ee["a"])(regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=new Promise((function(e,t){n.request({},"csrf").then((function(t){return e(t)})).catch((function(e){return t(e)}))})),e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"request",value:function(){var e=Object(ee["a"])(regeneratorRuntime.mark((function e(t,n,s){var r,i=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=new Promise((function(e,r){var o=[];"csrf"!=n&&o.push({param:"fwcsrf",value:i.app.session.csrf}),"json"!==n&&"csrf"!==n||o.push({param:"XHR",value:"1"}),"object"===Object(te["a"])(t)&&(t.length>0?o.push.apply(o,Object(a["a"])(t)):o.push(t)),"string"===typeof t&&o.push({param:"cmd",value:t});var c=i.createURL(o);i.log={type:"request",message:"Request: "+c,debugLevel:3},fetch(c).then((function(t){if(t.ok)if("csrf"===n){var a=t.headers.get("x-fhem-csrftoken");e("object"===Object(te["a"])(s)?Object.assign(s,{data:a}):a)}else"json"===n?t.json().then((function(t){e("object"===Object(te["a"])(s)?Object.assign(s,{data:t}):t)})):t.text().then((function(t){e("object"===Object(te["a"])(s)?Object.assign(s,{data:t}):t)}))})).catch((function(e){r({error:e,request:c})}))})),e.abrupt("return",r);case 2:case"end":return e.stop()}}),e)})));function t(t,n,a){return e.apply(this,arguments)}return t}()},{key:"handleLogData",value:function(e){var t=e.split("\n");t.length>3&&t.splice(-3,3);var n,a=[],s=t.length>this.app.options.maxChartPoints?parseInt(t.length/this.app.options.maxChartPoints):1,r=s,i=0,o=1,c=Object(Y["a"])(t);try{for(c.s();!(n=c.n()).done;){var p=n.value,u=p.split(" "),l=Date.parse(u[0].replace("_","T")),d=parseFloat(u[1]);i+=d,(o>=r||o===t.length)&&(o===t.length&&(s-=r-o),a.push({timestamp:l,value:i/s}),r+=s,i=0),o++}}catch(h){c.e(h)}finally{c.f()}return this.log={type:"intern",message:"handle Chartdata (Lines: "+t.length+")",debugLevel:5},a}},{key:"readLogData",value:function(){var e=Object(ee["a"])(regeneratorRuntime.mark((function e(t){var n,a=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=new Promise((function(e,n){t.defs&&t.defs.length>0?function(){var s,r=[],i=0,o=Object(Y["a"])(t.defs);try{for(o.s();!(s=o.n()).done;){var c=s.value,p=/\(.*\)/.exec(c),u=p?c.replace(p[0],"_").split(":"):c.split(":"),l="get ";l+=u[0]?u[0]:t.deviceName,l+=t.from?" - - "+t.from:"",l+=t.to?" "+t.to:"",l+=p?" "+p[0].replace(/\(|\)/g,""):" 4:"+u[1],a.log={type:"intern",message:"Loading Chartdata - "+l,debugLevel:5},a.request([{param:"cmd",value:l},{param:"XHR",value:"1"}],"text",{id:i}).then((function(n){r.push({id:n.id,data:a.handleLogData(n.data)}),r.length===t.defs.length&&(Object.assign(t,{data:r}),e(t))})).catch((function(e){a.log={type:"error",message:"Fetch data from FHEM Logfile failed.",meta:e,debugLevel:1},n()})),i++}}catch(d){o.e(d)}finally{o.f()}}():(a.log={type:"error",message:"No Definitions for Chart found.",meta:t,debugLevel:1},n())})),e.abrupt("return",n);case 2:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"checkUpdate",value:function(){var e=Object(ee["a"])(regeneratorRuntime.mark((function e(){var t,n=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=new Promise((function(e,t){n.request([{param:"cmd",value:"update check"},{param:"XHR",value:"1"}]).then((function(t){var n,a=t.split("\n").splice(2),s=0,r=1,i=Object(Y["a"])(a);try{for(i.s();!(n=i.n()).done;){var o=n.value;o.match("UPD")&&!o.match("excluded")&&s++,r===a.length&&e(s>0),r++}}catch(c){i.e(c)}finally{i.f()}})).catch((function(e){n.log={type:"error",message:"FHEM check for Updates failed.",meta:e,debugLevel:1},t(e)}))})),e.abrupt("return",t);case 2:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getRoutes",value:function(e){var t=this;if(this.app.options.loading=!0,"room"===e||"group"===e){var n=e+"List",a=[];this.app.data[n].splice(0),this.request({param:"cmd",value:"jsonList2 appOptions!= appOptions room group"},"json").then(function(){var n=Object(ee["a"])(regeneratorRuntime.mark((function n(s){var r,i,o,c,p,u,l,d,h,f,m;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:r=1,i=Object(Y["a"])(s.Results),n.prev=2,i.s();case 4:if((o=i.n()).done){n.next=15;break}return c=o.value,n.next=8,t.createOptions(c);case 8:if(p=n.sent,u=p[e],u&&p.template){l=u.split(","),d=Object(Y["a"])(l);try{for(d.s();!(h=d.n()).done;)f=h.value,m="/devices/"+e+"="+f,-1==a.map((function(e){return e.title})).indexOf(f)&&a.push({title:f,route:m})}catch(v){d.e(v)}finally{d.f()}}r===s.Results.length&&(a.sort((function(e,t){return e.title>t.title?1:t.title>e.title?-1:0})),t.app.data[e+"List"]=Object.assign([],a),t.app.options.loading=!1),r++;case 13:n.next=4;break;case 15:n.next=20;break;case 17:n.prev=17,n.t0=n["catch"](2),i.e(n.t0);case 20:return n.prev=20,i.f(),n.finish(20);case 23:case"end":return n.stop()}}),n,null,[[2,17,20,23]])})));return function(e){return n.apply(this,arguments)}}()).catch((function(n){t.log={type:"error",message:"Loading "+e+"s from FHEM failed.",meta:n,debugLevel:1},t.app.options.loading=!1}))}else this.log={type:"error",message:"Creating Routes failed.",meta:e,debugLevel:1},this.app.options.loading=!1}},{key:"replaceVals",value:function(e,t){for(var n=/-?[0-9]/.exec(t),a=[],s=2;s0){var s,r=Object(Y["a"])(t);try{for(r.s();!(s=r.n()).done;){var i=s.value,o=i.split(":");if(o.length>2){var c=o[0].match(/\./)?o[0].split("."):["Readings",o[0],"Value"],p=this.getEl.apply(this,[e].concat(Object(a["a"])(c)))||this.getEl(e,"Readings",o[0],"Value");if(p){var u=!1;if(isNaN(parseFloat(o[1])))RegExp(o[1]?o[1]:".").test(p)&&(u=!0);else{var l=/-?[0-9]/.exec(p);-1!=l.index&&parseFloat(p.slice(l.index))>=parseFloat(o[1])&&(u=!0)}if(u){n=this.replaceVals(o,p);break}}}}}catch(d){r.e(d)}finally{r.f()}}return n}},{key:"handleStates",value:function(e,t,n){var s=this.getEl(e,"Options","states")||n;if(s){var r,i=Object(Y["a"])(s);try{for(i.s();!(r=i.n()).done;){var o=r.value,c=o.split(":");if(c[0]){var p=c[0].match(/\./)?c[0].split("."):["Readings",c[0],"Value"],u=this.getEl.apply(this,[e].concat(Object(a["a"])(p)));if(u){var l=!1;if(isNaN(parseFloat(c[1]))?RegExp(c[1]?c[1]:".").test(u)&&(l=!0):parseFloat(u)>=parseFloat(c[1])&&(l=!0),l){var d={};c[2]&&(d.mainState=c[0]===c[2]?u:c[2]),c[3]&&(d.mainLevel=c[0]===c[3]?u:c[3]),c[4]&&(d.mainColor=c[4]),c[5]&&(d.systemIcon=c[5]),Object.assign(t,d);break}}}else this.log={type:"error",message:"Wrong Definition for Device-States.",meta:e,debugLevel:1}}}catch(h){i.e(h)}finally{i.f()}}return t}},{key:"createConnected",value:function(){var e=Object(ee["a"])(regeneratorRuntime.mark((function e(t){var n,a,s,r,i,o=this;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n={},!("connected"in t.Options)){e.next=12;break}a=Object.keys(t.Options.connected),s=0,r=a;case 4:if(!(st.Options.sortby?1:t.Options.sortby>e.Options.sortby?-1:0})),t.app.data.deviceList=Object.assign([],s),t.app.options.loading=!1),r++;case 29:n.next=5;break;case 31:n.next=36;break;case 33:n.prev=33,n.t0=n["catch"](3),i.e(n.t0);case 36:return n.prev=36,i.f(),n.finish(36);case 39:case"end":return n.stop()}}),n,null,[[3,33,36,39]])})));return function(e){return n.apply(this,arguments)}}()).catch((function(e){t.log={type:"error",message:"Request to FHEM failed.",meta:e,debugLevel:1},t.app.options.loading=!1}))}},{key:"handleData",value:function(e){var t=JSON.parse(e),n=null;if(!t[2].match("0){var n=t.handleData(e);n&&t.app.data.deviceList.forEach((function(e,a){var s=t.app.data.deviceList[a],r=Object.assign({},s);e.Name===n.Name&&("Readings"===n.devicePart&&t.getEl(r,"Readings",n.param,n.paramPart)&&(r.Readings[n.param][n.paramPart]=n.value),"Attributes"===n.devicePart&&t.getEl(r,"Attributes",n.param)&&(r.Attributes[n.param]=n.value),t.app.data.deviceList.splice(a,1,r)),"Connected"in e&&Object.values(e.Connected).forEach((function(s,i){if(s.Name===n.Name){var o=Object.keys(e.Connected)[i];"Readings"===n.devicePart&&t.getEl(r.Connected[o],"Readings",n.param,n.paramPart)&&(r.Connected[o].Readings[n.param][n.paramPart]=n.value),"Attributes"===n.devicePart&&t.getEl(r.Connected[o],"Attributes",n.param)&&(r.Connected[o].Attributes[n.param]=n.value),t.app.data.deviceList.splice(a,1,r)}}))}))}}))}},{key:"connClose",value:function(){var e=this;if(this.app.session.connect=!1,this.app.session.csrf=null,this.app.session.socket=null,!this.app.session.restart){var t=0==this.app.session.restartCnt?1:3e3;this.log={type:"intern",message:"Restart-Sequence is started. (restart counter: "+this.app.session.restartCnt+" - restart on: "+t+" milliseconds)",debugLevel:5},this.app.session.restart=!0,setTimeout((function(){e.app.session.restart=!1,e.app.session.restartCnt++,e.init()}),t),this.log={type:"status",message:"Connection with FHEM was closed. Try to Reconnect in "+t/1e3+" seconds...",debugLevel:2}}}},{key:"connOpen",value:function(){var e=this;this.app.options.loading=!0,this.app.session.restartCnt=0,this.getCsrfToken().then((function(t){e.app.session.csrf=t,e.app.session.connect=!0,e.emit("connect"),e.log={type:"status",message:"Connection with FHEM is opened.",meta:e.session,debugLevel:2},e.app.options.loading=!1})).catch((function(t){e.app.session.csrf=null,e.app.session.connect=!1,e.log={type:"error",message:"Retrieve csrf-Token failed.",meta:t,debugLevel:1}})).finally((function(){return e.app.options.loading=!1}))}},{key:"setClock",value:function(){var e=new Date;this.app.options.clock=e.toLocaleString(this.app.options.lang,{hour:"2-digit",minute:"2-digit"}),this.app.options.date=e.toLocaleString(this.app.options.lang,{weekday:"long",year:"numeric",month:"long",day:"numeric"})}},{key:"init",value:function(){var e=this,t=[{param:"inform",value:"type=status;filter=.*;fmt=JSON"},{param:"XHR",value:"1"}],n=this.createURL(t).replace(/^http/i,"ws");this.app.socket=new WebSocket(n),this.app.socket.onopen=function(){return e.connOpen()},this.app.socket.onmessage=function(t){return e.doUpdate(t)},this.app.socket.onclose=function(){return e.connClose()},this.setClock(),setInterval((function(){return e.setClock()}),this.app.options.clockInterval)}}]),n}(oe.a),pe=n("1321"),ue=n.n(pe),le=n("a925");function de(){var e=n("49f8"),t={};return e.keys().forEach((function(n){var a=n.match(/([A-Za-z0-9-_]+)\./i);if(a&&a.length>1){var s=a[1];t[s]=e(n)}})),t}s["a"].use(le["a"]);var he=new le["a"]({locale:"de",fallbackLocale:"en",messages:de()});s["a"].use(ue.a),s["a"].component("apexchart",ue.a),s["a"].config.productionTip=!1,s["a"].prototype.$fhem=new ce,fetch("./cfg/config.json").then((function(e){return e.json()})).catch((function(e){s["a"].prototype.$fhem.log={type:"error",message:"Loading config.json failed.",meta:e,debugLevel:1}})).then((function(e){var t;e&&(e.connection&&Object.assign(s["a"].prototype.$fhem.app.connection,e.connection),e.options&&Object.assign(s["a"].prototype.$fhem.app.options,e.options),e.custom&&e.custom.length>0&&(t=s["a"].prototype.$fhem.app.templates).push.apply(t,Object(a["a"])(e.custom)),e.theme&&(-1!=e.theme.dark&&Object.assign(Q.framework.theme,{dark:e.theme.dark}),e.theme.themes&&(e.theme.themes.light&&Object.assign(Q.framework.theme.themes.light,e.theme.themes.light),e.theme.themes.dark&&Object.assign(Q.framework.theme.themes.dark,e.theme.themes.dark))));he.locale=s["a"].prototype.$fhem.app.options.lang,s["a"].prototype.$fhem.log={type:"status",message:"Config: "+JSON.stringify(e),debugLevel:2},s["a"].prototype.$fhem.log={type:"status",message:"Connection: "+JSON.stringify(s["a"].prototype.$fhem.app.connection),debugLevel:2},new s["a"]({vuetify:Q,router:z,i18n:he,render:function(e){return e(H)}}).$mount("#app")}))},"6ce2":function(e){e.exports=JSON.parse('{"app":{"navigation":{"home":"Home","group":"Gruppen","room":"Bereiche","dashboard":"Dashboard","system":"System"}}}')},9224:function(e){e.exports=JSON.parse('{"name":"fhemapp","version":"3.12.2","private":true,"author":"jemu75","scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint","i18n:report":"vue-cli-service i18n:report --src \\"./src/**/*.?(js|vue)\\" --locales \\"./src/locales/**/*.json\\""},"dependencies":{"apexcharts":"^3.26.1","core-js":"^3.10.1","typeface-roboto":"^1.1.13","vue":"^2.6.11","vue-apexcharts":"^1.6.1","vue-i18n":"^8.22.3","vue-json-pretty":"^1.7.1","vue-router":"^3.5.1","vuetify":"^2.4.9"},"devDependencies":{"@mdi/font":"^5.9.55","@vue/cli-plugin-babel":"^4.5.12","@vue/cli-plugin-eslint":"^4.5.12","@vue/cli-plugin-router":"^4.5.12","@vue/cli-service":"^4.5.12","babel-eslint":"^10.1.0","eslint":"^6.7.2","eslint-plugin-vue":"^6.2.2","sass":"^1.32.8","sass-loader":"^8.0.0","vue-cli-plugin-i18n":"~2.1.0","vue-cli-plugin-vuetify":"~2.0.9","vue-template-compiler":"^2.6.11","vuetify-loader":"^1.7.2"},"bugs":{"url":"https://github.com/jemu75/fhemApp/issues"},"homepage":"https://github.com/jemu75/fhemApp#readme","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jemu75/fhemApp.git"}}')},c274:function(e,t,n){e.exports=n.p+"img/FHEM_Logo.2d0f7a38.png"},edd4:function(e){e.exports=JSON.parse('{"app":{"navigation":{"home":"Home","group":"Groups","room":"Area","dashboard":"Dashboard","system":"System"}}}')}}); \ No newline at end of file diff --git a/www/fhemapp/js/chunk-03454508.a1a8b579.js b/www/fhemapp/js/chunk-03454508.7c029de7.js similarity index 100% rename from www/fhemapp/js/chunk-03454508.a1a8b579.js rename to www/fhemapp/js/chunk-03454508.7c029de7.js diff --git a/www/fhemapp/js/chunk-07709945.34fde9c6.js b/www/fhemapp/js/chunk-07709945.536f8338.js similarity index 100% rename from www/fhemapp/js/chunk-07709945.34fde9c6.js rename to www/fhemapp/js/chunk-07709945.536f8338.js diff --git a/www/fhemapp/js/chunk-085bcd30.d653075c.js b/www/fhemapp/js/chunk-085bcd30.fce1ca94.js similarity index 100% rename from www/fhemapp/js/chunk-085bcd30.d653075c.js rename to www/fhemapp/js/chunk-085bcd30.fce1ca94.js diff --git a/www/fhemapp/js/chunk-15fa718e.272996b6.js b/www/fhemapp/js/chunk-15fa718e.926bb62e.js similarity index 100% rename from www/fhemapp/js/chunk-15fa718e.272996b6.js rename to www/fhemapp/js/chunk-15fa718e.926bb62e.js diff --git a/www/fhemapp/js/chunk-17d492e6.c62e0abf.js b/www/fhemapp/js/chunk-17d492e6.9e71885b.js similarity index 100% rename from www/fhemapp/js/chunk-17d492e6.c62e0abf.js rename to www/fhemapp/js/chunk-17d492e6.9e71885b.js diff --git a/www/fhemapp/js/chunk-2c05d556.9540c0ef.js b/www/fhemapp/js/chunk-2c05d556.a1ef12fe.js similarity index 100% rename from www/fhemapp/js/chunk-2c05d556.9540c0ef.js rename to www/fhemapp/js/chunk-2c05d556.a1ef12fe.js diff --git a/www/fhemapp/js/chunk-2d0aa92c.79fe9aaf.js b/www/fhemapp/js/chunk-2d0aa92c.d70b1126.js similarity index 100% rename from www/fhemapp/js/chunk-2d0aa92c.79fe9aaf.js rename to www/fhemapp/js/chunk-2d0aa92c.d70b1126.js diff --git a/www/fhemapp/js/chunk-2d212bf1.e1a64938.js b/www/fhemapp/js/chunk-2d212bf1.a12af000.js similarity index 100% rename from www/fhemapp/js/chunk-2d212bf1.e1a64938.js rename to www/fhemapp/js/chunk-2d212bf1.a12af000.js diff --git a/www/fhemapp/js/chunk-53c4ff2a.159c7677.js b/www/fhemapp/js/chunk-53c4ff2a.159c7677.js deleted file mode 100644 index c91966b3..00000000 --- a/www/fhemapp/js/chunk-53c4ff2a.159c7677.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-53c4ff2a"],{"02f0":function(t,e,i){},"0ccb":function(t,e,i){var a=i("50c4"),n=i("1148"),s=i("1d80"),r=Math.ceil,o=function(t){return function(e,i,o){var l,h,c=String(s(e)),u=c.length,d=void 0===o?" ":String(o),p=a(i);return p<=u||""==d?c:(l=p-u,h=n.call(d,r(l/d.length)),h.length>l&&(h=h.slice(0,l)),t?c+h:h+c)}};t.exports={start:o(!1),end:o(!0)}},2102:function(t,e,i){},"2af1":function(t,e,i){var a=i("23e7"),n=i("f748");a({target:"Math",stat:!0},{sign:n})},"4d90":function(t,e,i){"use strict";var a=i("23e7"),n=i("0ccb").start,s=i("9a0c");a({target:"String",proto:!0,forced:s},{padStart:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})},8308:function(t,e,i){},"9a0c":function(t,e,i){var a=i("342f");t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(a)},afd9:function(t,e,i){"use strict";var a=i("5530"),n=(i("a9e3"),i("c7cd"),i("8308"),i("3a66")),s=i("a9ad"),r=i("7560"),o=i("58df"),l=i("80d2");e["a"]=Object(o["a"])(Object(n["a"])("bar",["height","window"]),s["a"],r["a"]).extend({name:"v-system-bar",props:{height:[Number,String],lightsOut:Boolean,window:Boolean},computed:{classes:function(){return Object(a["a"])({"v-system-bar--lights-out":this.lightsOut,"v-system-bar--absolute":this.absolute,"v-system-bar--fixed":!this.absolute&&(this.app||this.fixed),"v-system-bar--window":this.window},this.themeClasses)},computedHeight:function(){return this.height?isNaN(parseInt(this.height))?this.height:parseInt(this.height):this.window?32:24},styles:function(){return{height:Object(l["g"])(this.computedHeight)}}},methods:{updateApplication:function(){return this.$el?this.$el.clientHeight:this.computedHeight}},render:function(t){var e={staticClass:"v-system-bar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),Object(l["s"])(this))}})},b009:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-col",{class:t.setup.size},[i("v-card",{attrs:{dark:this.$vuetify.theme.dark,color:"secondary"}},[i("v-progress-linear",{attrs:{height:"7",value:t.vals.mainLevel,color:t.vals.mainColor,"background-color":"secondary darken-1"}}),i("v-card-title",{staticClass:"text-truncate"},[t._v(" "+t._s(t.vals.title)+" "),i("v-spacer"),i("v-btn",{attrs:{small:"",icon:""},on:{click:t.goTo}},[i("v-icon",{attrs:{small:""}},[t._v(" "+t._s(t.vals.linkIcon)+" ")])],1)],1),i("v-divider"),i("v-card-text",{staticClass:"pa-0"},[t.vals.maxSize?i("v-row",{staticClass:"ma-3",attrs:{align:"center"}},[i("v-col",[i("v-menu",{attrs:{"close-on-content-click":!1,transition:"scale-transition","offset-y":"","max-width":"290px","min-width":"auto"},scopedSlots:t._u([{key:"activator",fn:function(e){var a=e.on,n=e.attrs;return[i("v-text-field",t._g(t._b({attrs:{readonly:"",label:"von","prepend-icon":"mdi-calendar"},model:{value:t.vals.fromLocale,callback:function(e){t.$set(t.vals,"fromLocale",e)},expression:"vals.fromLocale"}},"v-text-field",n,!1),a))]}}],null,!1,3384966413),model:{value:t.vals.fromPicker,callback:function(e){t.$set(t.vals,"fromPicker",e)},expression:"vals.fromPicker"}},[i("v-date-picker",{attrs:{"no-title":""},on:{input:t.loadChartData},model:{value:t.vals.from,callback:function(e){t.$set(t.vals,"from",e)},expression:"vals.from"}})],1)],1),i("v-col",[i("v-menu",{attrs:{"close-on-content-click":!1,transition:"scale-transition","offset-y":"",left:"","max-width":"290px","min-width":"auto"},scopedSlots:t._u([{key:"activator",fn:function(e){var a=e.on,n=e.attrs;return[i("v-text-field",t._g(t._b({attrs:{readonly:"",label:"bis","prepend-icon":"mdi-calendar"},model:{value:t.vals.toLocale,callback:function(e){t.$set(t.vals,"toLocale",e)},expression:"vals.toLocale"}},"v-text-field",n,!1),a))]}}],null,!1,3313857711),model:{value:t.vals.toPicker,callback:function(e){t.$set(t.vals,"toPicker",e)},expression:"vals.toPicker"}},[i("v-date-picker",{attrs:{"no-title":""},on:{input:t.loadChartData},model:{value:t.vals.to,callback:function(e){t.$set(t.vals,"to",e)},expression:"vals.to"}})],1)],1)],1):t._e(),i("apexchart",{attrs:{options:t.chart.options,series:t.chart.series},on:{zoomed:t.afterZoom}})],1),i("v-divider"),i("v-system-bar",{attrs:{color:"secondary darken-1"}},[i("v-icon",[t._v(t._s(t.vals.systemIcon))]),i("v-spacer")],1)],1)],1)},n=[],s=i("b85c"),r=(i("4de4"),i("466d"),i("ac1f"),i("1276"),i("a434"),i("5319"),i("d81d"),i("b680"),{props:{item:{type:Object,default:function(){return{name:"chart"}}}},data:function(){return{name:"chart",setup:{size:"col-12 col-sm-12 col-md-6 col-lg-4",daysAgo:-7,daysTo:1},vals:{title:"",mainLevel:0,mainColor:"success",maxSize:!1,linkIcon:"mdi-arrow-expand",fromPicker:!1,from:"",fromLocale:"",toPicker:!1,to:"",systemIcon:"mdi-chart-bar"},chart:{options:{theme:{mode:"dark"},chart:{type:"line",height:"auto",toolbar:{show:!1}},stroke:{curve:"smooth"},tooltip:{x:{format:"ddd dd.MM.yy HH:mm:ss"}},xaxis:{type:"datetime"},yaxis:[]},series:[]}}},watch:{item:{immediate:!0,deep:!0,handler:function(t){var e=this.$fhem.getEl(t,"Attributes","alias")||t.Name;this.vals.title=this.$fhem.getEl(t,"Options","name")||e}},"vals.from":function(t){this.vals.fromLocale=new Date(t).toLocaleString("de-DE",{dateStyle:"medium"})},"vals.to":function(t){this.vals.toLocale=new Date(t).toLocaleString("de-DE",{dateStyle:"medium"})}},created:function(){this.init()},methods:{init:function(){var t=this.$fhem.getEl(this.item,"Options","setup");t&&Object.assign(this.setup,t),this.setup.lineWidth&&(this.chart.options.stroke.width=this.setup.lineWidth),this.$route.params.filter&&this.$route.params.filter.match("&size=max")&&(this.vals.maxSize=!0,this.setup.size="col-12",this.vals.linkIcon="mdi-arrow-collapse"),this.vals.from=this.$fhem.getDate(this.setup.daysAgo),this.vals.to=this.$fhem.getDate(this.setup.daysTo),this.chart.options.chart.height=window.innerHeight>600&&this.vals.maxSize?parseInt(window.innerHeight-320):"auto",this.chart.options.theme.mode=this.$vuetify.theme.dark?"dark":"light",this.loadChartData()},goTo:function(){this.vals.maxSize?this.$router.go(-1):this.$router.push("/devices/device="+this.item.Name+"&size=max")},afterZoom:function(t,e){var i=e.xaxis;this.vals.from=new Date(i.min).toISOString().split("T")[0],this.vals.to=new Date(i.max).toISOString().split("T")[0],this.loadChartData()},loadChartData:function(){var t=this;if(this.vals.fromPicker=!1,this.vals.toPicker=!1,this.item){this.$fhem.loading=!0;var e={deviceName:this.item.Name,from:this.vals.from,to:this.vals.to,defs:this.item.Options.chartDef};this.$fhem.readLogData(e).then((function(e){if(e.defs.length>0){var i=0,a="",n="";t.chart.options.yaxis.splice(0),t.chart.series.splice(0);var r,o=Object(s["a"])(e.defs);try{var l=function(){var o,l=r.value,h=/\(.*\)/.exec(l),c=h?l.replace(h[0],"_").split(":"):l.split(":"),u=[],d=e.data[e.data.map((function(t){return t.id})).indexOf(i)].data,p=Object(s["a"])(d);try{for(p.s();!(o=p.n()).done;){var m=o.value;u.push([m.timestamp,m.value])}}catch(b){p.e(b)}finally{p.f()}t.chart.series.push({name:c[2],data:u});var f="secondary"===c[4],v=!1;a||f||(a=c[2],v=!0),!n&&f&&(n=c[2],v=!0);var g={seriesName:f?n:a,show:v,opposite:f,labels:{formatter:function(t){var e="";return t&&(e=t.toFixed(1)+c[3]),e}}};t.chart.options.yaxis.push(g),i++};for(o.s();!(r=o.n()).done;)l()}catch(h){o.e(h)}finally{o.f()}}t.chart.options=Object.assign({},t.chart.options),t.$fhem.loading=!1}))}else this.$fhem.emit("message",{type:"error",message:"no valid device defined"})}}}),o=r,l=i("2877"),h=i("6544"),c=i.n(h),u=i("8336"),d=i("b0af"),p=i("99d9"),m=i("62ad"),f=i("5530"),v=(i("a9e3"),i("caad"),i("99af"),i("b0c0"),i("d951"),i("9d26")),g=(i("498a"),i("a9ad")),b=i("58df"),y=i("80d2"),k=Object(b["a"])(g["a"]).extend({methods:{genPickerButton:function(t,e,i){var a=this,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",r=this[t]===e,o=function(i){i.stopPropagation(),a.$emit("update:".concat(Object(y["w"])(t)),e)};return this.$createElement("div",{staticClass:"v-picker__title__btn ".concat(s).trim(),class:{"v-picker__title__btn--active":r,"v-picker__title__btn--readonly":n},on:r||n?void 0:{click:o}},Array.isArray(i)?i:[i])}}}),D=Object(b["a"])(k).extend({name:"v-date-picker-title",props:{date:{type:String,default:""},disabled:Boolean,readonly:Boolean,selectingYear:Boolean,value:{type:String},year:{type:[Number,String],default:""},yearIcon:{type:String}},data:function(){return{isReversing:!1}},computed:{computedTransition:function(){return this.isReversing?"picker-reverse-transition":"picker-transition"}},watch:{value:function(t,e){this.isReversing=t>=0,t=String(t),i=String(i),t.length>e?String(t):(e-=t.length,e>i.length&&(i+=i.repeat(e/i.length)),i.slice(0,e)+String(t))}),M=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return S(t,e,"0")};function O(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{start:0,length:0},a=function(t){var e=t.trim().split(" ")[0].split("-"),i=Object($["a"])(e,3),a=i[0],n=i[1],s=i[2];return[M(a,4),M(n||1),M(s||1)].join("-")};try{var n=new Intl.DateTimeFormat(t||void 0,e);return function(t){return n.format(new Date("".concat(a(t),"T00:00:00+00:00")))}}catch(s){return i.start||i.length?function(t){return a(t).substr(i.start||0,i.length)}:void 0}}var Y=O,E=function(t,e){var i=t.split("-").map(Number),a=Object($["a"])(i,2),n=a[0],s=a[1];return s+e===0?"".concat(n-1,"-12"):s+e===13?"".concat(n+1,"-01"):"".concat(n,"-").concat(M(s+e))},B=Object(b["a"])(g["a"],x,C["a"]).extend({name:"v-date-picker-header",props:{disabled:Boolean,format:Function,min:String,max:String,nextAriaLabel:String,nextIcon:{type:String,default:"$next"},prevAriaLabel:String,prevIcon:{type:String,default:"$prev"},readonly:Boolean,value:{type:[Number,String],required:!0}},data:function(){return{isReversing:!1}},computed:{formatter:function(){return this.format?this.format:String(this.value).split("-")[1]?Y(this.currentLocale,{month:"long",year:"numeric",timeZone:"UTC"},{length:7}):Y(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},watch:{value:function(t,e){this.isReversing=t0?this.nextAriaLabel:this.prevAriaLabel,a=i?this.$vuetify.lang.t(i):void 0,n=this.disabled||t<0&&this.min&&this.calculateChange(t)0&&this.max&&this.calculateChange(t)>this.max;return this.$createElement(w["a"],{attrs:{"aria-label":a},props:{dark:this.dark,disabled:n,icon:!0,light:this.light},on:{click:function(i){i.stopPropagation(),e.$emit("input",e.calculateChange(t))}}},[this.$createElement(v["a"],t<0===!this.$vuetify.rtl?this.prevIcon:this.nextIcon)])},calculateChange:function(t){var e=String(this.value).split("-").map(Number),i=Object($["a"])(e,2),a=i[0],n=i[1];return null==n?"".concat(a+t):E(String(this.value),t)},genHeader:function(){var t=this,e=!this.disabled&&(this.color||"accent"),i=this.$createElement("div",this.setTextColor(e,{key:String(this.value)}),[this.$createElement("button",{attrs:{type:"button"},on:{click:function(){return t.$emit("toggle")}}},[this.$slots.default||this.formatter(String(this.value))])]),a=this.$createElement("transition",{props:{name:this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"}},[i]);return this.$createElement("div",{staticClass:"v-date-picker-header__value",class:{"v-date-picker-header__value--disabled":this.disabled}},[a])}},render:function(){return this.$createElement("div",{staticClass:"v-date-picker-header",class:Object(f["a"])({"v-date-picker-header--disabled":this.disabled},this.themeClasses)},[this.genBtn(-1),this.genHeader(),this.genBtn(1)])}}),A=(i("2af1"),i("4d90"),i("2909")),j=(i("2532"),i("c982"),i("c3f0"));i("13d5"),i("b64b"),i("8a79");function F(t,e,i){return Object.keys(t.$listeners).reduce((function(a,n){return n.endsWith(e)&&(a[n.slice(0,-e.length)]=function(e){return t.$emit(n,i,e)}),a}),{})}function I(t,e){return Object.keys(t.$listeners).reduce((function(i,a){return a.endsWith(e)&&(i[a]=t.$listeners[a]),i}),{})}var _=function(t,e){var i=t.split("-"),a=Object($["a"])(i,3),n=a[0],s=a[1],r=void 0===s?1:s,o=a[2],l=void 0===o?1:o;return"".concat(n,"-").concat(M(r),"-").concat(M(l)).substr(0,{date:10,month:7,year:4}[e])};function P(t,e,i,a){return(!a||a(t))&&(!e||t>=e.substr(0,10))&&(!i||t<=i)}var L=i("d9f7"),V=Object(b["a"])(g["a"],x,C["a"]).extend({directives:{Touch:j["a"]},props:{allowedDates:Function,current:String,disabled:Boolean,format:Function,events:{type:[Array,Function,Object],default:function(){return null}},eventColor:{type:[Array,Function,Object,String],default:function(){return"warning"}},min:String,max:String,range:Boolean,readonly:Boolean,scrollable:Boolean,tableDate:{type:String,required:!0},value:[String,Array]},data:function(){return{isReversing:!1,wheelThrottle:null}},computed:{computedTransition:function(){return this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"},displayedMonth:function(){return Number(this.tableDate.split("-")[1])-1},displayedYear:function(){return Number(this.tableDate.split("-")[0])}},watch:{tableDate:function(t,e){this.isReversing=t4&&void 0!==arguments[4]&&arguments[4],s=P(t,this.min,this.max,this.allowedDates),r=this.isSelected(t)&&s,o=t===this.current,l=r?this.setBackgroundColor:this.setTextColor,h=(r||o)&&(this.color||"accent");return this.$createElement("button",l(h,{staticClass:"v-btn",class:this.genButtonClasses(s&&!n,e,r,o),attrs:{type:"button"},domProps:{disabled:this.disabled||!s||n},on:this.genButtonEvents(t,s,i)}),[this.$createElement("div",{staticClass:"v-btn__content"},[a(t)]),this.genEvents(t)])},getEventColors:function(t){var e,i=function(t){return Array.isArray(t)?t:[t]},a=[];return e=Array.isArray(this.events)?this.events.includes(t):this.events instanceof Function?this.events(t)||!1:this.events&&this.events[t]||!1,e?(a=!0!==e?i(e):"string"===typeof this.eventColor?[this.eventColor]:"function"===typeof this.eventColor?i(this.eventColor(t)):Array.isArray(this.eventColor)?this.eventColor:i(this.eventColor[t]),a.filter((function(t){return t}))):[]},genEvents:function(t){var e=this,i=this.getEventColors(t);return i.length?this.$createElement("div",{staticClass:"v-date-picker-table__events"},i.map((function(t){return e.$createElement("div",e.setBackgroundColor(t))}))):null},isValidScroll:function(t,e){var i=e(t.deltaY),a=1===i.split("-").length?"year":"month";return 0===t.deltaY||t.deltaY<0&&(!this.min||i>=_(this.min,a))||t.deltaY>0&&(!this.max||i<=_(this.max,a))},wheel:function(t,e){this.$emit("update:table-date",e(t.deltaY))},touch:function(t,e){this.$emit("update:table-date",e(t))},genTable:function(t,e,i){var a=this,n=this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("table",{key:this.tableDate},e)]),s={name:"touch",value:{left:function(t){return t.offsetX<-15&&a.touch(1,i)},right:function(t){return t.offsetX>15&&a.touch(-1,i)}}};return this.$createElement("div",{staticClass:t,class:Object(f["a"])({"v-date-picker-table--disabled":this.disabled},this.themeClasses),on:!this.disabled&&this.scrollable?{wheel:function(t){t.preventDefault(),a.isValidScroll(t,i)&&a.wheelThrottle(t,i)}}:void 0,directives:[s]},[n])},isSelected:function(t){if(Array.isArray(this.value)){if(this.range&&2===this.value.length){var e=Object(A["a"])(this.value).sort(),i=Object($["a"])(e,2),a=i[0],n=i[1];return a<=t&&t<=n}return-1!==this.value.indexOf(t)}return t===this.value}}});function N(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return t<100&&t>=0?(e=new Date(Date.UTC(t,i,a)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC(t,i,a)),e}function W(t,e,i){var a=7+e-i,n=(7+N(t,0,a).getUTCDay()-e)%7;return-n+a-1}function H(t,e,i,a){var n=[0,31,59,90,120,151,181,212,243,273,304,334][e];return e>1&&z(t)&&n++,n+i}function R(t,e,i){var a=W(t,e,i),n=W(t+1,e,i),s=z(t)?366:365;return(s-a+n)/7}function U(t,e,i,a,n){var s=W(t,a,n),r=Math.ceil((H(t,e,i,a)-s)/7);return r<1?r+R(t-1,a,n):r>R(t,a,n)?r-R(t,a,n):r}function z(t){return t%4===0&&t%100!==0||t%400===0}var Z=Object(b["a"])(V).extend({name:"v-date-picker-date-table",props:{firstDayOfWeek:{type:[String,Number],default:0},localeFirstDayOfYear:{type:[String,Number],default:0},showAdjacentMonths:Boolean,showWeek:Boolean,weekdayFormat:Function},computed:{formatter:function(){return this.format||Y(this.currentLocale,{day:"numeric",timeZone:"UTC"},{start:8,length:2})},weekdayFormatter:function(){return this.weekdayFormat||Y(this.currentLocale,{weekday:"narrow",timeZone:"UTC"})},weekDays:function(){var t=this,e=parseInt(this.firstDayOfWeek,10);return this.weekdayFormatter?Object(y["h"])(7).map((function(i){return t.weekdayFormatter("2017-01-".concat(e+i+15))})):Object(y["h"])(7).map((function(t){return["S","M","T","W","T","F","S"][(t+e)%7]}))}},methods:{calculateTableDate:function(t){return E(this.tableDate,Math.sign(t||1))},genTHead:function(){var t=this,e=this.weekDays.map((function(e){return t.$createElement("th",e)}));return this.showWeek&&e.unshift(this.$createElement("th")),this.$createElement("thead",this.genTR(e))},weekDaysBeforeFirstDayOfTheMonth:function(){var t=new Date("".concat(this.displayedYear,"-").concat(M(this.displayedMonth+1),"-01T00:00:00+00:00")),e=t.getUTCDay();return(e-parseInt(this.firstDayOfWeek)+7)%7},getWeekNumber:function(t){return U(this.displayedYear,this.displayedMonth,t,parseInt(this.firstDayOfWeek),parseInt(this.localeFirstDayOfYear))},genWeekNumber:function(t){return this.$createElement("td",[this.$createElement("small",{staticClass:"v-date-picker-table--date__week"},String(t).padStart(2,"0"))])},genTBody:function(){var t=[],e=new Date(this.displayedYear,this.displayedMonth+1,0).getDate(),i=[],a=this.weekDaysBeforeFirstDayOfTheMonth();this.showWeek&&i.push(this.genWeekNumber(this.getWeekNumber(1)));var n=this.displayedMonth?this.displayedYear:this.displayedYear-1,s=(this.displayedMonth+11)%12,r=new Date(this.displayedYear,this.displayedMonth,0).getDate(),o=this.showWeek?8:7;while(a--){var l="".concat(n,"-").concat(M(s+1),"-").concat(M(r-a));i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(l,!0,"date",this.formatter,!0)]:[]))}for(a=1;a<=e;a++){var h="".concat(this.displayedYear,"-").concat(M(this.displayedMonth+1),"-").concat(M(a));i.push(this.$createElement("td",[this.genButton(h,!0,"date",this.formatter)])),i.length%o===0&&(t.push(this.genTR(i)),i=[],this.showWeek&&(a=a;n--)t.push(this.genYearItem(n));return t}},render:function(){return this.$createElement("ul",{staticClass:"v-date-picker-years",ref:"years"},this.genYearItems())}})),X=(i("0481"),i("e53c"),i("615b"),i("c995")),G=Object(b["a"])(g["a"],X["a"],C["a"]).extend({name:"v-picker",props:{flat:Boolean,fullWidth:Boolean,landscape:Boolean,noTitle:Boolean,transition:{type:String,default:"fade-transition"},width:{type:[Number,String],default:290}},computed:{computedTitleColor:function(){var t=!this.isDark&&(this.color||"primary");return this.color||t}},methods:{genTitle:function(){return this.$createElement("div",this.setBackgroundColor(this.computedTitleColor,{staticClass:"v-picker__title",class:{"v-picker__title--landscape":this.landscape}}),this.$slots.title)},genBodyTransition:function(){return this.$createElement("transition",{props:{name:this.transition}},this.$slots.default)},genBody:function(){return this.$createElement("div",{staticClass:"v-picker__body",class:Object(f["a"])({"v-picker__body--no-title":this.noTitle},this.themeClasses),style:this.fullWidth?void 0:{width:Object(y["g"])(this.width)}},[this.genBodyTransition()])},genActions:function(){return this.$createElement("div",{staticClass:"v-picker__actions v-card__actions",class:{"v-picker__actions--no-title":this.noTitle}},this.$slots.actions)}},render:function(t){return t("div",{staticClass:"v-picker v-card",class:Object(f["a"])(Object(f["a"])({"v-picker--flat":this.flat,"v-picker--landscape":this.landscape,"v-picker--full-width":this.fullWidth},this.themeClasses),this.elevationClasses)},[this.$slots.title?this.genTitle():null,this.genBody(),this.$slots.actions?this.genActions():null])}}),K=G,Q=Object(b["a"])(g["a"],X["a"],C["a"]).extend({name:"picker",props:{flat:Boolean,fullWidth:Boolean,headerColor:String,landscape:Boolean,noTitle:Boolean,width:{type:[Number,String],default:290}},methods:{genPickerTitle:function(){return null},genPickerBody:function(){return null},genPickerActionsSlot:function(){return this.$scopedSlots.default?this.$scopedSlots.default({save:this.save,cancel:this.cancel}):this.$slots.default},genPicker:function(t){var e=[];if(!this.noTitle){var i=this.genPickerTitle();i&&e.push(i)}var a=this.genPickerBody();return a&&e.push(a),e.push(this.$createElement("template",{slot:"actions"},[this.genPickerActionsSlot()])),this.$createElement(K,{staticClass:t,props:{color:this.headerColor||this.color,dark:this.dark,elevation:this.elevation,flat:this.flat,fullWidth:this.fullWidth,landscape:this.landscape,light:this.light,width:this.width,noTitle:this.noTitle}},e)}}}),tt=(i("53ca"),[0,31,28,31,30,31,30,31,31,30,31,30,31]),et=[0,31,29,31,30,31,30,31,31,30,31,30,31];function it(t,e){return z(t)?et[e]:tt[e]}var at=i("d9bd"),nt=Object(b["a"])(x,Q).extend({name:"v-date-picker",props:{allowedDates:Function,dayFormat:Function,disabled:Boolean,events:{type:[Array,Function,Object],default:function(){return null}},eventColor:{type:[Array,Function,Object,String],default:function(){return"warning"}},firstDayOfWeek:{type:[String,Number],default:0},headerDateFormat:Function,localeFirstDayOfYear:{type:[String,Number],default:0},max:String,min:String,monthFormat:Function,multiple:Boolean,nextIcon:{type:String,default:"$next"},nextMonthAriaLabel:{type:String,default:"$vuetify.datePicker.nextMonthAriaLabel"},nextYearAriaLabel:{type:String,default:"$vuetify.datePicker.nextYearAriaLabel"},pickerDate:String,prevIcon:{type:String,default:"$prev"},prevMonthAriaLabel:{type:String,default:"$vuetify.datePicker.prevMonthAriaLabel"},prevYearAriaLabel:{type:String,default:"$vuetify.datePicker.prevYearAriaLabel"},range:Boolean,reactive:Boolean,readonly:Boolean,scrollable:Boolean,showCurrent:{type:[Boolean,String],default:!0},selectedItemsText:{type:String,default:"$vuetify.datePicker.itemsSelected"},showAdjacentMonths:Boolean,showWeek:Boolean,titleDateFormat:Function,type:{type:String,default:"date",validator:function(t){return["date","month"].includes(t)}},value:[Array,String],weekdayFormat:Function,yearFormat:Function,yearIcon:String},data:function(){var t=this,e=new Date;return{activePicker:this.type.toUpperCase(),inputDay:null,inputMonth:null,inputYear:null,isReversing:!1,now:e,tableDate:function(){if(t.pickerDate)return t.pickerDate;var i=Object(y["H"])(t.value),a=i[i.length-1]||("string"===typeof t.showCurrent?t.showCurrent:"".concat(e.getFullYear(),"-").concat(e.getMonth()+1));return _(a,"date"===t.type?"month":"year")}()}},computed:{multipleValue:function(){return Object(y["H"])(this.value)},isMultiple:function(){return this.multiple||this.range},lastValue:function(){return this.isMultiple?this.multipleValue[this.multipleValue.length-1]:this.value},selectedMonths:function(){return this.value&&"month"!==this.type?this.isMultiple?this.multipleValue.map((function(t){return t.substr(0,7)})):this.value.substr(0,7):this.value},current:function(){return!0===this.showCurrent?_("".concat(this.now.getFullYear(),"-").concat(this.now.getMonth()+1,"-").concat(this.now.getDate()),this.type):this.showCurrent||null},inputDate:function(){return"date"===this.type?"".concat(this.inputYear,"-").concat(M(this.inputMonth+1),"-").concat(M(this.inputDay)):"".concat(this.inputYear,"-").concat(M(this.inputMonth+1))},tableMonth:function(){return Number((this.pickerDate||this.tableDate).split("-")[1])-1},tableYear:function(){return Number((this.pickerDate||this.tableDate).split("-")[0])},minMonth:function(){return this.min?_(this.min,"month"):null},maxMonth:function(){return this.max?_(this.max,"month"):null},minYear:function(){return this.min?_(this.min,"year"):null},maxYear:function(){return this.max?_(this.max,"year"):null},formatters:function(){return{year:this.yearFormat||Y(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4}),titleDate:this.titleDateFormat||(this.isMultiple?this.defaultTitleMultipleDateFormatter:this.defaultTitleDateFormatter)}},defaultTitleMultipleDateFormatter:function(){var t=this;return function(e){return e.length?1===e.length?t.defaultTitleDateFormatter(e[0]):t.$vuetify.lang.t(t.selectedItemsText,e.length):"-"}},defaultTitleDateFormatter:function(){var t={year:{year:"numeric",timeZone:"UTC"},month:{month:"long",timeZone:"UTC"},date:{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}},e=Y(this.currentLocale,t[this.type],{start:0,length:{date:10,month:7,year:4}[this.type]}),i=function(t){return e(t).replace(/([^\d\s])([\d])/g,(function(t,e,i){return"".concat(e," ").concat(i)})).replace(", ",",
")};return this.landscape?i:e}},watch:{tableDate:function(t,e){var i="month"===this.type?"year":"month";this.isReversing=_(t,i)<_(e,i),this.$emit("update:picker-date",t)},pickerDate:function(t){t?this.tableDate=t:this.lastValue&&"date"===this.type?this.tableDate=_(this.lastValue,"month"):this.lastValue&&"month"===this.type&&(this.tableDate=_(this.lastValue,"year"))},value:function(t,e){this.checkMultipleProp(),this.setInputDate(),(this.isMultiple||!this.value||this.pickerDate)&&(!this.isMultiple||!this.multipleValue.length||e&&e.length||this.pickerDate)||(this.tableDate=_(this.inputDate,"month"===this.type?"year":"month"))},type:function(t){if(this.activePicker=t.toUpperCase(),this.value&&this.value.length){var e=this.multipleValue.map((function(e){return _(e,t)})).filter(this.isDateAllowed);this.$emit("input",this.isMultiple?e:e[0])}}},created:function(){this.checkMultipleProp(),this.pickerDate!==this.tableDate&&this.$emit("update:picker-date",this.tableDate),this.setInputDate()},methods:{emitInput:function(t){if(this.range)if(1!==this.multipleValue.length)this.$emit("input",[t]);else{var e=[this.multipleValue[0],t];this.$emit("input",e),this.$emit("change",e)}else{var i=this.multiple?-1===this.multipleValue.indexOf(t)?this.multipleValue.concat([t]):this.multipleValue.filter((function(e){return e!==t})):t;this.$emit("input",i),this.multiple||this.$emit("change",t)}},checkMultipleProp:function(){if(null!=this.value){var t=this.value.constructor.name,e=this.isMultiple?"Array":"String";t!==e&&Object(at["c"])("Value must be ".concat(this.isMultiple?"an":"a"," ").concat(e,", got ").concat(t),this)}},isDateAllowed:function(t){return P(t,this.min,this.max,this.allowedDates)},yearClick:function(t){this.inputYear=t,"month"===this.type?this.tableDate="".concat(t):this.tableDate="".concat(t,"-").concat(M((this.tableMonth||0)+1)),this.activePicker="MONTH",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)},monthClick:function(t){this.inputYear=parseInt(t.split("-")[0],10),this.inputMonth=parseInt(t.split("-")[1],10)-1,"date"===this.type?(this.inputDay&&(this.inputDay=Math.min(this.inputDay,it(this.inputYear,this.inputMonth+1))),this.tableDate=t,this.activePicker="DATE",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)):this.emitInput(this.inputDate)},dateClick:function(t){this.inputYear=parseInt(t.split("-")[0],10),this.inputMonth=parseInt(t.split("-")[1],10)-1,this.inputDay=parseInt(t.split("-")[2],10),this.emitInput(this.inputDate)},genPickerTitle:function(){var t=this;return this.$createElement(D,{props:{date:this.value?this.formatters.titleDate(this.isMultiple?this.multipleValue:this.value):"",disabled:this.disabled,readonly:this.readonly,selectingYear:"YEAR"===this.activePicker,year:this.formatters.year(this.multipleValue.length?"".concat(this.inputYear):this.tableDate),yearIcon:this.yearIcon,value:this.multipleValue[0]},slot:"title",on:{"update:selecting-year":function(e){return t.activePicker=e?"YEAR":t.type.toUpperCase()}}})},genTableHeader:function(){var t=this;return this.$createElement(B,{props:{nextIcon:this.nextIcon,color:this.color,dark:this.dark,disabled:this.disabled,format:this.headerDateFormat,light:this.light,locale:this.locale,min:"DATE"===this.activePicker?this.minMonth:this.minYear,max:"DATE"===this.activePicker?this.maxMonth:this.maxYear,nextAriaLabel:"DATE"===this.activePicker?this.nextMonthAriaLabel:this.nextYearAriaLabel,prevAriaLabel:"DATE"===this.activePicker?this.prevMonthAriaLabel:this.prevYearAriaLabel,prevIcon:this.prevIcon,readonly:this.readonly,value:"DATE"===this.activePicker?"".concat(M(this.tableYear,4),"-").concat(M(this.tableMonth+1)):"".concat(M(this.tableYear,4))},on:{toggle:function(){return t.activePicker="DATE"===t.activePicker?"MONTH":"YEAR"},input:function(e){return t.tableDate=e}}})},genDateTable:function(){var t=this;return this.$createElement(Z,{props:{allowedDates:this.allowedDates,color:this.color,current:this.current,dark:this.dark,disabled:this.disabled,events:this.events,eventColor:this.eventColor,firstDayOfWeek:this.firstDayOfWeek,format:this.dayFormat,light:this.light,locale:this.locale,localeFirstDayOfYear:this.localeFirstDayOfYear,min:this.min,max:this.max,range:this.range,readonly:this.readonly,scrollable:this.scrollable,showAdjacentMonths:this.showAdjacentMonths,showWeek:this.showWeek,tableDate:"".concat(M(this.tableYear,4),"-").concat(M(this.tableMonth+1)),value:this.value,weekdayFormat:this.weekdayFormat},ref:"table",on:Object(f["a"])({input:this.dateClick,"update:table-date":function(e){return t.tableDate=e}},I(this,":date"))})},genMonthTable:function(){var t=this;return this.$createElement(q,{props:{allowedDates:"month"===this.type?this.allowedDates:null,color:this.color,current:this.current?_(this.current,"month"):null,dark:this.dark,disabled:this.disabled,events:"month"===this.type?this.events:null,eventColor:"month"===this.type?this.eventColor:null,format:this.monthFormat,light:this.light,locale:this.locale,min:this.minMonth,max:this.maxMonth,range:this.range,readonly:this.readonly&&"month"===this.type,scrollable:this.scrollable,value:this.selectedMonths,tableDate:"".concat(M(this.tableYear,4))},ref:"table",on:Object(f["a"])({input:this.monthClick,"update:table-date":function(e){return t.tableDate=e}},I(this,":month"))})},genYears:function(){return this.$createElement(J,{props:{color:this.color,format:this.yearFormat,locale:this.locale,min:this.minYear,max:this.maxYear,value:this.tableYear},on:Object(f["a"])({input:this.yearClick},I(this,":year"))})},genPickerBody:function(){var t="YEAR"===this.activePicker?[this.genYears()]:[this.genTableHeader(),"DATE"===this.activePicker?this.genDateTable():this.genMonthTable()];return this.$createElement("div",{key:this.activePicker},t)},setInputDate:function(){if(this.lastValue){var t=this.lastValue.split("-");this.inputYear=parseInt(t[0],10),this.inputMonth=parseInt(t[1],10)-1,"date"===this.type&&(this.inputDay=parseInt(t[2],10))}else this.inputYear=this.inputYear||this.now.getFullYear(),this.inputMonth=null==this.inputMonth?this.inputMonth:this.now.getMonth(),this.inputDay=this.inputDay||this.now.getDate()}},render:function(){return this.genPicker("v-picker--date")}}),st=i("ce7e"),rt=i("132d"),ot=i("e449"),lt=i("8e36"),ht=i("0fd9"),ct=i("2fa4"),ut=i("afd9"),dt=i("8654"),pt=Object(l["a"])(o,a,n,!1,null,null,null);e["default"]=pt.exports;c()(pt,{VBtn:u["a"],VCard:d["a"],VCardText:p["c"],VCardTitle:p["d"],VCol:m["a"],VDatePicker:nt,VDivider:st["a"],VIcon:rt["a"],VMenu:ot["a"],VProgressLinear:lt["a"],VRow:ht["a"],VSpacer:ct["a"],VSystemBar:ut["a"],VTextField:dt["a"]})},c982:function(t,e,i){},d951:function(t,e,i){},e53c:function(t,e,i){}}]); \ No newline at end of file diff --git a/www/fhemapp/js/chunk-53c4ff2a.27b9afe6.js b/www/fhemapp/js/chunk-53c4ff2a.27b9afe6.js new file mode 100644 index 00000000..8a6985f0 --- /dev/null +++ b/www/fhemapp/js/chunk-53c4ff2a.27b9afe6.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-53c4ff2a"],{"02f0":function(t,e,i){},"0ccb":function(t,e,i){var a=i("50c4"),n=i("1148"),s=i("1d80"),r=Math.ceil,o=function(t){return function(e,i,o){var l,h,c=String(s(e)),u=c.length,d=void 0===o?" ":String(o),p=a(i);return p<=u||""==d?c:(l=p-u,h=n.call(d,r(l/d.length)),h.length>l&&(h=h.slice(0,l)),t?c+h:h+c)}};t.exports={start:o(!1),end:o(!0)}},2102:function(t,e,i){},"2af1":function(t,e,i){var a=i("23e7"),n=i("f748");a({target:"Math",stat:!0},{sign:n})},"4d90":function(t,e,i){"use strict";var a=i("23e7"),n=i("0ccb").start,s=i("9a0c");a({target:"String",proto:!0,forced:s},{padStart:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}})},8308:function(t,e,i){},"9a0c":function(t,e,i){var a=i("342f");t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(a)},afd9:function(t,e,i){"use strict";var a=i("5530"),n=(i("a9e3"),i("c7cd"),i("8308"),i("3a66")),s=i("a9ad"),r=i("7560"),o=i("58df"),l=i("80d2");e["a"]=Object(o["a"])(Object(n["a"])("bar",["height","window"]),s["a"],r["a"]).extend({name:"v-system-bar",props:{height:[Number,String],lightsOut:Boolean,window:Boolean},computed:{classes:function(){return Object(a["a"])({"v-system-bar--lights-out":this.lightsOut,"v-system-bar--absolute":this.absolute,"v-system-bar--fixed":!this.absolute&&(this.app||this.fixed),"v-system-bar--window":this.window},this.themeClasses)},computedHeight:function(){return this.height?isNaN(parseInt(this.height))?this.height:parseInt(this.height):this.window?32:24},styles:function(){return{height:Object(l["g"])(this.computedHeight)}}},methods:{updateApplication:function(){return this.$el?this.$el.clientHeight:this.computedHeight}},render:function(t){var e={staticClass:"v-system-bar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,e),Object(l["s"])(this))}})},b009:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-col",{class:t.setup.size},[i("v-card",{attrs:{dark:this.$vuetify.theme.dark,color:"secondary"}},[i("v-progress-linear",{attrs:{height:"7",value:t.vals.mainLevel,color:t.vals.mainColor,"background-color":"secondary darken-1"}}),i("v-card-title",{staticClass:"text-truncate"},[t._v(" "+t._s(t.vals.title)+" "),i("v-spacer"),i("v-btn",{attrs:{small:"",icon:""},on:{click:t.goTo}},[i("v-icon",{attrs:{small:""}},[t._v(" "+t._s(t.vals.linkIcon)+" ")])],1)],1),i("v-divider"),i("v-card-text",{staticClass:"pa-0"},[t.vals.maxSize?i("v-row",{staticClass:"ma-3",attrs:{align:"center"}},[i("v-col",[i("v-menu",{attrs:{"close-on-content-click":!1,transition:"scale-transition","offset-y":"","max-width":"290px","min-width":"auto"},scopedSlots:t._u([{key:"activator",fn:function(e){var a=e.on,n=e.attrs;return[i("v-text-field",t._g(t._b({attrs:{readonly:"",label:"von","prepend-icon":"mdi-calendar"},model:{value:t.vals.fromLocale,callback:function(e){t.$set(t.vals,"fromLocale",e)},expression:"vals.fromLocale"}},"v-text-field",n,!1),a))]}}],null,!1,3384966413),model:{value:t.vals.fromPicker,callback:function(e){t.$set(t.vals,"fromPicker",e)},expression:"vals.fromPicker"}},[i("v-date-picker",{attrs:{"no-title":""},on:{input:t.loadChartData},model:{value:t.vals.from,callback:function(e){t.$set(t.vals,"from",e)},expression:"vals.from"}})],1)],1),i("v-col",[i("v-menu",{attrs:{"close-on-content-click":!1,transition:"scale-transition","offset-y":"",left:"","max-width":"290px","min-width":"auto"},scopedSlots:t._u([{key:"activator",fn:function(e){var a=e.on,n=e.attrs;return[i("v-text-field",t._g(t._b({attrs:{readonly:"",label:"bis","prepend-icon":"mdi-calendar"},model:{value:t.vals.toLocale,callback:function(e){t.$set(t.vals,"toLocale",e)},expression:"vals.toLocale"}},"v-text-field",n,!1),a))]}}],null,!1,3313857711),model:{value:t.vals.toPicker,callback:function(e){t.$set(t.vals,"toPicker",e)},expression:"vals.toPicker"}},[i("v-date-picker",{attrs:{"no-title":""},on:{input:t.loadChartData},model:{value:t.vals.to,callback:function(e){t.$set(t.vals,"to",e)},expression:"vals.to"}})],1)],1)],1):t._e(),i("apexchart",{attrs:{options:t.chart.options,series:t.chart.series},on:{zoomed:t.afterZoom}})],1),i("v-divider"),i("v-system-bar",{attrs:{color:"secondary darken-1"}},[i("v-icon",[t._v(t._s(t.vals.systemIcon))]),i("v-spacer")],1)],1)],1)},n=[],s=i("b85c"),r=(i("4de4"),i("466d"),i("ac1f"),i("1276"),i("a434"),i("5319"),i("d81d"),i("b680"),{props:{item:{type:Object,default:function(){return{name:"chart"}}}},data:function(){return{name:"chart",setup:{size:"col-12 col-sm-12 col-md-6 col-lg-4",daysAgo:-7,daysTo:1},vals:{title:"",mainLevel:0,mainColor:"success",maxSize:!1,linkIcon:"mdi-arrow-expand",fromPicker:!1,from:"",fromLocale:"",toPicker:!1,to:"",systemIcon:"mdi-chart-bar"},chart:{options:{theme:{mode:"dark"},chart:{type:"line",height:"auto",toolbar:{show:!1}},stroke:{curve:"smooth"},tooltip:{x:{format:"ddd dd.MM.yy HH:mm:ss"}},xaxis:{type:"datetime"},yaxis:[]},series:[]}}},watch:{item:{immediate:!0,deep:!0,handler:function(t){var e=this.$fhem.getEl(t,"Attributes","alias")||t.Name;this.vals.title=this.$fhem.getEl(t,"Options","name")||e}},"vals.from":function(t){this.vals.fromLocale=new Date(t).toLocaleString("de-DE",{dateStyle:"medium"})},"vals.to":function(t){this.vals.toLocale=new Date(t).toLocaleString("de-DE",{dateStyle:"medium"})}},created:function(){this.init()},methods:{init:function(){var t=this.$fhem.getEl(this.item,"Options","setup");t&&Object.assign(this.setup,t),this.setup.lineWidth&&(this.chart.options.stroke.width=this.setup.lineWidth),this.$route.params.filter&&this.$route.params.filter.match("&size=max")&&(this.vals.maxSize=!0,this.setup.size="col-12",this.vals.linkIcon="mdi-arrow-collapse"),this.vals.from=this.$fhem.getDate(this.setup.daysAgo),this.vals.to=this.$fhem.getDate(this.setup.daysTo),this.chart.options.chart.height=window.innerHeight>600&&this.vals.maxSize?parseInt(window.innerHeight-320):"auto",this.chart.options.theme.mode=this.$vuetify.theme.dark?"dark":"light",this.loadChartData()},goTo:function(){this.vals.maxSize?this.$router.go(-1):this.$router.push("/devices/device="+this.item.Name+"&size=max")},afterZoom:function(t,e){var i=e.xaxis;this.vals.from=new Date(i.min).toISOString().split("T")[0],this.vals.to=new Date(i.max).toISOString().split("T")[0],this.loadChartData()},loadChartData:function(){var t=this;if(this.vals.fromPicker=!1,this.vals.toPicker=!1,this.item){this.$fhem.loading=!0;var e={deviceName:this.item.Name,from:this.vals.from,to:this.vals.to,defs:this.item.Options.chartDef};this.$fhem.readLogData(e).then((function(e){if(e.defs.length>0){var i=0,a="",n="";t.chart.options.yaxis.splice(0),t.chart.series.splice(0);var r,o=Object(s["a"])(e.defs);try{var l=function(){var o,l=r.value,h=/\(.*\)/.exec(l),c=h?l.replace(h[0],"_").split(":"):l.split(":"),u=[],d=e.data[e.data.map((function(t){return t.id})).indexOf(i)].data,p=Object(s["a"])(d);try{for(p.s();!(o=p.n()).done;){var m=o.value;u.push([m.timestamp,m.value])}}catch(b){p.e(b)}finally{p.f()}t.chart.series.push({name:c[2],data:u});var f="secondary"===c[4],v=!1;a||f||(a=c[2],v=!0),!n&&f&&(n=c[2],v=!0);var g={seriesName:f?n:a,show:v,opposite:f,labels:{formatter:function(t){var e="";return t&&(e=t.toFixed(1)+c[3]),e}}};t.chart.options.yaxis.push(g),i++};for(o.s();!(r=o.n()).done;)l()}catch(h){o.e(h)}finally{o.f()}}t.chart.options=Object.assign({},t.chart.options),t.$fhem.loading=!1}))}else this.$fhem.emit("message",{type:"error",message:"no valid device defined"})}}}),o=r,l=i("2877"),h=i("6544"),c=i.n(h),u=i("8336"),d=i("b0af"),p=i("99d9"),m=i("62ad"),f=i("5530"),v=(i("a9e3"),i("caad"),i("99af"),i("b0c0"),i("d951"),i("9d26")),g=(i("498a"),i("a9ad")),b=i("58df"),y=i("80d2"),k=Object(b["a"])(g["a"]).extend({methods:{genPickerButton:function(t,e,i){var a=this,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",r=this[t]===e,o=function(i){i.stopPropagation(),a.$emit("update:".concat(Object(y["w"])(t)),e)};return this.$createElement("div",{staticClass:"v-picker__title__btn ".concat(s).trim(),class:{"v-picker__title__btn--active":r,"v-picker__title__btn--readonly":n},on:r||n?void 0:{click:o}},Array.isArray(i)?i:[i])}}}),D=Object(b["a"])(k).extend({name:"v-date-picker-title",props:{date:{type:String,default:""},disabled:Boolean,readonly:Boolean,selectingYear:Boolean,value:{type:String},year:{type:[Number,String],default:""},yearIcon:{type:String}},data:function(){return{isReversing:!1}},computed:{computedTransition:function(){return this.isReversing?"picker-reverse-transition":"picker-transition"}},watch:{value:function(t,e){this.isReversing=t>=0,t=String(t),i=String(i),t.length>e?String(t):(e-=t.length,e>i.length&&(i+=i.repeat(e/i.length)),i.slice(0,e)+String(t))}),M=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return S(t,e,"0")};function O(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{start:0,length:0},a=function(t){var e=t.trim().split(" ")[0].split("-"),i=Object(w["a"])(e,3),a=i[0],n=i[1],s=i[2];return[M(a,4),M(n||1),M(s||1)].join("-")};try{var n=new Intl.DateTimeFormat(t||void 0,e);return function(t){return n.format(new Date("".concat(a(t),"T00:00:00+00:00")))}}catch(s){return i.start||i.length?function(t){return a(t).substr(i.start||0,i.length)}:void 0}}var Y=O,E=function(t,e){var i=t.split("-").map(Number),a=Object(w["a"])(i,2),n=a[0],s=a[1];return s+e===0?"".concat(n-1,"-12"):s+e===13?"".concat(n+1,"-01"):"".concat(n,"-").concat(M(s+e))},B=Object(b["a"])(g["a"],x,C["a"]).extend({name:"v-date-picker-header",props:{disabled:Boolean,format:Function,min:String,max:String,nextAriaLabel:String,nextIcon:{type:String,default:"$next"},prevAriaLabel:String,prevIcon:{type:String,default:"$prev"},readonly:Boolean,value:{type:[Number,String],required:!0}},data:function(){return{isReversing:!1}},computed:{formatter:function(){return this.format?this.format:String(this.value).split("-")[1]?Y(this.currentLocale,{month:"long",year:"numeric",timeZone:"UTC"},{length:7}):Y(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4})}},watch:{value:function(t,e){this.isReversing=t0?this.nextAriaLabel:this.prevAriaLabel,a=i?this.$vuetify.lang.t(i):void 0,n=this.disabled||t<0&&this.min&&this.calculateChange(t)0&&this.max&&this.calculateChange(t)>this.max;return this.$createElement($["a"],{attrs:{"aria-label":a},props:{dark:this.dark,disabled:n,icon:!0,light:this.light},on:{click:function(i){i.stopPropagation(),e.$emit("input",e.calculateChange(t))}}},[this.$createElement(v["a"],t<0===!this.$vuetify.rtl?this.prevIcon:this.nextIcon)])},calculateChange:function(t){var e=String(this.value).split("-").map(Number),i=Object(w["a"])(e,2),a=i[0],n=i[1];return null==n?"".concat(a+t):E(String(this.value),t)},genHeader:function(){var t=this,e=!this.disabled&&(this.color||"accent"),i=this.$createElement("div",this.setTextColor(e,{key:String(this.value)}),[this.$createElement("button",{attrs:{type:"button"},on:{click:function(){return t.$emit("toggle")}}},[this.$slots.default||this.formatter(String(this.value))])]),a=this.$createElement("transition",{props:{name:this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"}},[i]);return this.$createElement("div",{staticClass:"v-date-picker-header__value",class:{"v-date-picker-header__value--disabled":this.disabled}},[a])}},render:function(){return this.$createElement("div",{staticClass:"v-date-picker-header",class:Object(f["a"])({"v-date-picker-header--disabled":this.disabled},this.themeClasses)},[this.genBtn(-1),this.genHeader(),this.genBtn(1)])}}),A=(i("2af1"),i("4d90"),i("2909")),j=(i("2532"),i("c982"),i("c3f0"));i("13d5"),i("b64b"),i("8a79");function F(t,e,i){return Object.keys(t.$listeners).reduce((function(a,n){return n.endsWith(e)&&(a[n.slice(0,-e.length)]=function(e){return t.$emit(n,i,e)}),a}),{})}function I(t,e){return Object.keys(t.$listeners).reduce((function(i,a){return a.endsWith(e)&&(i[a]=t.$listeners[a]),i}),{})}var _=function(t,e){var i=t.split("-"),a=Object(w["a"])(i,3),n=a[0],s=a[1],r=void 0===s?1:s,o=a[2],l=void 0===o?1:o;return"".concat(n,"-").concat(M(r),"-").concat(M(l)).substr(0,{date:10,month:7,year:4}[e])};function P(t,e,i,a){return(!a||a(t))&&(!e||t>=e.substr(0,10))&&(!i||t<=i)}var L=i("d9f7"),V=Object(b["a"])(g["a"],x,C["a"]).extend({directives:{Touch:j["a"]},props:{allowedDates:Function,current:String,disabled:Boolean,format:Function,events:{type:[Array,Function,Object],default:function(){return null}},eventColor:{type:[Array,Function,Object,String],default:function(){return"warning"}},min:String,max:String,range:Boolean,readonly:Boolean,scrollable:Boolean,tableDate:{type:String,required:!0},value:[String,Array]},data:function(){return{isReversing:!1,wheelThrottle:null}},computed:{computedTransition:function(){return this.isReversing===!this.$vuetify.rtl?"tab-reverse-transition":"tab-transition"},displayedMonth:function(){return Number(this.tableDate.split("-")[1])-1},displayedYear:function(){return Number(this.tableDate.split("-")[0])}},watch:{tableDate:function(t,e){this.isReversing=t4&&void 0!==arguments[4]&&arguments[4],s=P(t,this.min,this.max,this.allowedDates),r=this.isSelected(t)&&s,o=t===this.current,l=r?this.setBackgroundColor:this.setTextColor,h=(r||o)&&(this.color||"accent");return this.$createElement("button",l(h,{staticClass:"v-btn",class:this.genButtonClasses(s&&!n,e,r,o),attrs:{type:"button"},domProps:{disabled:this.disabled||!s||n},on:this.genButtonEvents(t,s,i)}),[this.$createElement("div",{staticClass:"v-btn__content"},[a(t)]),this.genEvents(t)])},getEventColors:function(t){var e,i=function(t){return Array.isArray(t)?t:[t]},a=[];return e=Array.isArray(this.events)?this.events.includes(t):this.events instanceof Function?this.events(t)||!1:this.events&&this.events[t]||!1,e?(a=!0!==e?i(e):"string"===typeof this.eventColor?[this.eventColor]:"function"===typeof this.eventColor?i(this.eventColor(t)):Array.isArray(this.eventColor)?this.eventColor:i(this.eventColor[t]),a.filter((function(t){return t}))):[]},genEvents:function(t){var e=this,i=this.getEventColors(t);return i.length?this.$createElement("div",{staticClass:"v-date-picker-table__events"},i.map((function(t){return e.$createElement("div",e.setBackgroundColor(t))}))):null},isValidScroll:function(t,e){var i=e(t.deltaY),a=1===i.split("-").length?"year":"month";return 0===t.deltaY||t.deltaY<0&&(!this.min||i>=_(this.min,a))||t.deltaY>0&&(!this.max||i<=_(this.max,a))},wheel:function(t,e){this.$emit("update:table-date",e(t.deltaY))},touch:function(t,e){this.$emit("update:table-date",e(t))},genTable:function(t,e,i){var a=this,n=this.$createElement("transition",{props:{name:this.computedTransition}},[this.$createElement("table",{key:this.tableDate},e)]),s={name:"touch",value:{left:function(t){return t.offsetX<-15&&a.touch(1,i)},right:function(t){return t.offsetX>15&&a.touch(-1,i)}}};return this.$createElement("div",{staticClass:t,class:Object(f["a"])({"v-date-picker-table--disabled":this.disabled},this.themeClasses),on:!this.disabled&&this.scrollable?{wheel:function(t){t.preventDefault(),a.isValidScroll(t,i)&&a.wheelThrottle(t,i)}}:void 0,directives:[s]},[n])},isSelected:function(t){if(Array.isArray(this.value)){if(this.range&&2===this.value.length){var e=Object(A["a"])(this.value).sort(),i=Object(w["a"])(e,2),a=i[0],n=i[1];return a<=t&&t<=n}return-1!==this.value.indexOf(t)}return t===this.value}}});function N(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return t<100&&t>=0?(e=new Date(Date.UTC(t,i,a)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC(t,i,a)),e}function W(t,e,i){var a=7+e-i,n=(7+N(t,0,a).getUTCDay()-e)%7;return-n+a-1}function H(t,e,i,a){var n=[0,31,59,90,120,151,181,212,243,273,304,334][e];return e>1&&z(t)&&n++,n+i}function R(t,e,i){var a=W(t,e,i),n=W(t+1,e,i),s=z(t)?366:365;return(s-a+n)/7}function U(t,e,i,a,n){var s=W(t,a,n),r=Math.ceil((H(t,e,i,a)-s)/7);return r<1?r+R(t-1,a,n):r>R(t,a,n)?r-R(t,a,n):r}function z(t){return t%4===0&&t%100!==0||t%400===0}var Z=Object(b["a"])(V).extend({name:"v-date-picker-date-table",props:{firstDayOfWeek:{type:[String,Number],default:0},localeFirstDayOfYear:{type:[String,Number],default:0},showAdjacentMonths:Boolean,showWeek:Boolean,weekdayFormat:Function},computed:{formatter:function(){return this.format||Y(this.currentLocale,{day:"numeric",timeZone:"UTC"},{start:8,length:2})},weekdayFormatter:function(){return this.weekdayFormat||Y(this.currentLocale,{weekday:"narrow",timeZone:"UTC"})},weekDays:function(){var t=this,e=parseInt(this.firstDayOfWeek,10);return this.weekdayFormatter?Object(y["h"])(7).map((function(i){return t.weekdayFormatter("2017-01-".concat(e+i+15))})):Object(y["h"])(7).map((function(t){return["S","M","T","W","T","F","S"][(t+e)%7]}))}},methods:{calculateTableDate:function(t){return E(this.tableDate,Math.sign(t||1))},genTHead:function(){var t=this,e=this.weekDays.map((function(e){return t.$createElement("th",e)}));return this.showWeek&&e.unshift(this.$createElement("th")),this.$createElement("thead",this.genTR(e))},weekDaysBeforeFirstDayOfTheMonth:function(){var t=new Date("".concat(this.displayedYear,"-").concat(M(this.displayedMonth+1),"-01T00:00:00+00:00")),e=t.getUTCDay();return(e-parseInt(this.firstDayOfWeek)+7)%7},getWeekNumber:function(t){return U(this.displayedYear,this.displayedMonth,t,parseInt(this.firstDayOfWeek),parseInt(this.localeFirstDayOfYear))},genWeekNumber:function(t){return this.$createElement("td",[this.$createElement("small",{staticClass:"v-date-picker-table--date__week"},String(t).padStart(2,"0"))])},genTBody:function(){var t=[],e=new Date(this.displayedYear,this.displayedMonth+1,0).getDate(),i=[],a=this.weekDaysBeforeFirstDayOfTheMonth();this.showWeek&&i.push(this.genWeekNumber(this.getWeekNumber(1)));var n=this.displayedMonth?this.displayedYear:this.displayedYear-1,s=(this.displayedMonth+11)%12,r=new Date(this.displayedYear,this.displayedMonth,0).getDate(),o=this.showWeek?8:7;while(a--){var l="".concat(n,"-").concat(M(s+1),"-").concat(M(r-a));i.push(this.$createElement("td",this.showAdjacentMonths?[this.genButton(l,!0,"date",this.formatter,!0)]:[]))}for(a=1;a<=e;a++){var h="".concat(this.displayedYear,"-").concat(M(this.displayedMonth+1),"-").concat(M(a));i.push(this.$createElement("td",[this.genButton(h,!0,"date",this.formatter)])),i.length%o===0&&(t.push(this.genTR(i)),i=[],this.showWeek&&(a=a;n--)t.push(this.genYearItem(n));return t}},render:function(){return this.$createElement("ul",{staticClass:"v-date-picker-years",ref:"years"},this.genYearItems())}})),X=(i("0481"),i("e53c"),i("615b"),i("c995")),G=Object(b["a"])(g["a"],X["a"],C["a"]).extend({name:"v-picker",props:{flat:Boolean,fullWidth:Boolean,landscape:Boolean,noTitle:Boolean,transition:{type:String,default:"fade-transition"},width:{type:[Number,String],default:290}},computed:{computedTitleColor:function(){var t=!this.isDark&&(this.color||"primary");return this.color||t}},methods:{genTitle:function(){return this.$createElement("div",this.setBackgroundColor(this.computedTitleColor,{staticClass:"v-picker__title",class:{"v-picker__title--landscape":this.landscape}}),this.$slots.title)},genBodyTransition:function(){return this.$createElement("transition",{props:{name:this.transition}},this.$slots.default)},genBody:function(){return this.$createElement("div",{staticClass:"v-picker__body",class:Object(f["a"])({"v-picker__body--no-title":this.noTitle},this.themeClasses),style:this.fullWidth?void 0:{width:Object(y["g"])(this.width)}},[this.genBodyTransition()])},genActions:function(){return this.$createElement("div",{staticClass:"v-picker__actions v-card__actions",class:{"v-picker__actions--no-title":this.noTitle}},this.$slots.actions)}},render:function(t){return t("div",{staticClass:"v-picker v-card",class:Object(f["a"])(Object(f["a"])({"v-picker--flat":this.flat,"v-picker--landscape":this.landscape,"v-picker--full-width":this.fullWidth},this.themeClasses),this.elevationClasses)},[this.$slots.title?this.genTitle():null,this.genBody(),this.$slots.actions?this.genActions():null])}}),K=G,Q=Object(b["a"])(g["a"],X["a"],C["a"]).extend({name:"picker",props:{flat:Boolean,fullWidth:Boolean,headerColor:String,landscape:Boolean,noTitle:Boolean,width:{type:[Number,String],default:290}},methods:{genPickerTitle:function(){return null},genPickerBody:function(){return null},genPickerActionsSlot:function(){return this.$scopedSlots.default?this.$scopedSlots.default({save:this.save,cancel:this.cancel}):this.$slots.default},genPicker:function(t){var e=[];if(!this.noTitle){var i=this.genPickerTitle();i&&e.push(i)}var a=this.genPickerBody();return a&&e.push(a),e.push(this.$createElement("template",{slot:"actions"},[this.genPickerActionsSlot()])),this.$createElement(K,{staticClass:t,props:{color:this.headerColor||this.color,dark:this.dark,elevation:this.elevation,flat:this.flat,fullWidth:this.fullWidth,landscape:this.landscape,light:this.light,width:this.width,noTitle:this.noTitle}},e)}}}),tt=(i("53ca"),[0,31,28,31,30,31,30,31,31,30,31,30,31]),et=[0,31,29,31,30,31,30,31,31,30,31,30,31];function it(t,e){return z(t)?et[e]:tt[e]}var at=i("d9bd"),nt=Object(b["a"])(x,Q).extend({name:"v-date-picker",props:{allowedDates:Function,dayFormat:Function,disabled:Boolean,events:{type:[Array,Function,Object],default:function(){return null}},eventColor:{type:[Array,Function,Object,String],default:function(){return"warning"}},firstDayOfWeek:{type:[String,Number],default:0},headerDateFormat:Function,localeFirstDayOfYear:{type:[String,Number],default:0},max:String,min:String,monthFormat:Function,multiple:Boolean,nextIcon:{type:String,default:"$next"},nextMonthAriaLabel:{type:String,default:"$vuetify.datePicker.nextMonthAriaLabel"},nextYearAriaLabel:{type:String,default:"$vuetify.datePicker.nextYearAriaLabel"},pickerDate:String,prevIcon:{type:String,default:"$prev"},prevMonthAriaLabel:{type:String,default:"$vuetify.datePicker.prevMonthAriaLabel"},prevYearAriaLabel:{type:String,default:"$vuetify.datePicker.prevYearAriaLabel"},range:Boolean,reactive:Boolean,readonly:Boolean,scrollable:Boolean,showCurrent:{type:[Boolean,String],default:!0},selectedItemsText:{type:String,default:"$vuetify.datePicker.itemsSelected"},showAdjacentMonths:Boolean,showWeek:Boolean,titleDateFormat:Function,type:{type:String,default:"date",validator:function(t){return["date","month"].includes(t)}},value:[Array,String],weekdayFormat:Function,yearFormat:Function,yearIcon:String},data:function(){var t=this,e=new Date;return{activePicker:this.type.toUpperCase(),inputDay:null,inputMonth:null,inputYear:null,isReversing:!1,now:e,tableDate:function(){if(t.pickerDate)return t.pickerDate;var i=Object(y["H"])(t.value),a=i[i.length-1]||("string"===typeof t.showCurrent?t.showCurrent:"".concat(e.getFullYear(),"-").concat(e.getMonth()+1));return _(a,"date"===t.type?"month":"year")}()}},computed:{multipleValue:function(){return Object(y["H"])(this.value)},isMultiple:function(){return this.multiple||this.range},lastValue:function(){return this.isMultiple?this.multipleValue[this.multipleValue.length-1]:this.value},selectedMonths:function(){return this.value&&"month"!==this.type?this.isMultiple?this.multipleValue.map((function(t){return t.substr(0,7)})):this.value.substr(0,7):this.value},current:function(){return!0===this.showCurrent?_("".concat(this.now.getFullYear(),"-").concat(this.now.getMonth()+1,"-").concat(this.now.getDate()),this.type):this.showCurrent||null},inputDate:function(){return"date"===this.type?"".concat(this.inputYear,"-").concat(M(this.inputMonth+1),"-").concat(M(this.inputDay)):"".concat(this.inputYear,"-").concat(M(this.inputMonth+1))},tableMonth:function(){return Number((this.pickerDate||this.tableDate).split("-")[1])-1},tableYear:function(){return Number((this.pickerDate||this.tableDate).split("-")[0])},minMonth:function(){return this.min?_(this.min,"month"):null},maxMonth:function(){return this.max?_(this.max,"month"):null},minYear:function(){return this.min?_(this.min,"year"):null},maxYear:function(){return this.max?_(this.max,"year"):null},formatters:function(){return{year:this.yearFormat||Y(this.currentLocale,{year:"numeric",timeZone:"UTC"},{length:4}),titleDate:this.titleDateFormat||(this.isMultiple?this.defaultTitleMultipleDateFormatter:this.defaultTitleDateFormatter)}},defaultTitleMultipleDateFormatter:function(){var t=this;return function(e){return e.length?1===e.length?t.defaultTitleDateFormatter(e[0]):t.$vuetify.lang.t(t.selectedItemsText,e.length):"-"}},defaultTitleDateFormatter:function(){var t={year:{year:"numeric",timeZone:"UTC"},month:{month:"long",timeZone:"UTC"},date:{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"}},e=Y(this.currentLocale,t[this.type],{start:0,length:{date:10,month:7,year:4}[this.type]}),i=function(t){return e(t).replace(/([^\d\s])([\d])/g,(function(t,e,i){return"".concat(e," ").concat(i)})).replace(", ",",
")};return this.landscape?i:e}},watch:{tableDate:function(t,e){var i="month"===this.type?"year":"month";this.isReversing=_(t,i)<_(e,i),this.$emit("update:picker-date",t)},pickerDate:function(t){t?this.tableDate=t:this.lastValue&&"date"===this.type?this.tableDate=_(this.lastValue,"month"):this.lastValue&&"month"===this.type&&(this.tableDate=_(this.lastValue,"year"))},value:function(t,e){this.checkMultipleProp(),this.setInputDate(),(this.isMultiple||!this.value||this.pickerDate)&&(!this.isMultiple||!this.multipleValue.length||e&&e.length||this.pickerDate)||(this.tableDate=_(this.inputDate,"month"===this.type?"year":"month"))},type:function(t){if(this.activePicker=t.toUpperCase(),this.value&&this.value.length){var e=this.multipleValue.map((function(e){return _(e,t)})).filter(this.isDateAllowed);this.$emit("input",this.isMultiple?e:e[0])}}},created:function(){this.checkMultipleProp(),this.pickerDate!==this.tableDate&&this.$emit("update:picker-date",this.tableDate),this.setInputDate()},methods:{emitInput:function(t){if(this.range)if(1!==this.multipleValue.length)this.$emit("input",[t]);else{var e=[this.multipleValue[0],t];this.$emit("input",e),this.$emit("change",e)}else{var i=this.multiple?-1===this.multipleValue.indexOf(t)?this.multipleValue.concat([t]):this.multipleValue.filter((function(e){return e!==t})):t;this.$emit("input",i),this.multiple||this.$emit("change",t)}},checkMultipleProp:function(){if(null!=this.value){var t=this.value.constructor.name,e=this.isMultiple?"Array":"String";t!==e&&Object(at["c"])("Value must be ".concat(this.isMultiple?"an":"a"," ").concat(e,", got ").concat(t),this)}},isDateAllowed:function(t){return P(t,this.min,this.max,this.allowedDates)},yearClick:function(t){this.inputYear=t,"month"===this.type?this.tableDate="".concat(t):this.tableDate="".concat(t,"-").concat(M((this.tableMonth||0)+1)),this.activePicker="MONTH",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)},monthClick:function(t){this.inputYear=parseInt(t.split("-")[0],10),this.inputMonth=parseInt(t.split("-")[1],10)-1,"date"===this.type?(this.inputDay&&(this.inputDay=Math.min(this.inputDay,it(this.inputYear,this.inputMonth+1))),this.tableDate=t,this.activePicker="DATE",this.reactive&&!this.readonly&&!this.isMultiple&&this.isDateAllowed(this.inputDate)&&this.$emit("input",this.inputDate)):this.emitInput(this.inputDate)},dateClick:function(t){this.inputYear=parseInt(t.split("-")[0],10),this.inputMonth=parseInt(t.split("-")[1],10)-1,this.inputDay=parseInt(t.split("-")[2],10),this.emitInput(this.inputDate)},genPickerTitle:function(){var t=this;return this.$createElement(D,{props:{date:this.value?this.formatters.titleDate(this.isMultiple?this.multipleValue:this.value):"",disabled:this.disabled,readonly:this.readonly,selectingYear:"YEAR"===this.activePicker,year:this.formatters.year(this.multipleValue.length?"".concat(this.inputYear):this.tableDate),yearIcon:this.yearIcon,value:this.multipleValue[0]},slot:"title",on:{"update:selecting-year":function(e){return t.activePicker=e?"YEAR":t.type.toUpperCase()}}})},genTableHeader:function(){var t=this;return this.$createElement(B,{props:{nextIcon:this.nextIcon,color:this.color,dark:this.dark,disabled:this.disabled,format:this.headerDateFormat,light:this.light,locale:this.locale,min:"DATE"===this.activePicker?this.minMonth:this.minYear,max:"DATE"===this.activePicker?this.maxMonth:this.maxYear,nextAriaLabel:"DATE"===this.activePicker?this.nextMonthAriaLabel:this.nextYearAriaLabel,prevAriaLabel:"DATE"===this.activePicker?this.prevMonthAriaLabel:this.prevYearAriaLabel,prevIcon:this.prevIcon,readonly:this.readonly,value:"DATE"===this.activePicker?"".concat(M(this.tableYear,4),"-").concat(M(this.tableMonth+1)):"".concat(M(this.tableYear,4))},on:{toggle:function(){return t.activePicker="DATE"===t.activePicker?"MONTH":"YEAR"},input:function(e){return t.tableDate=e}}})},genDateTable:function(){var t=this;return this.$createElement(Z,{props:{allowedDates:this.allowedDates,color:this.color,current:this.current,dark:this.dark,disabled:this.disabled,events:this.events,eventColor:this.eventColor,firstDayOfWeek:this.firstDayOfWeek,format:this.dayFormat,light:this.light,locale:this.locale,localeFirstDayOfYear:this.localeFirstDayOfYear,min:this.min,max:this.max,range:this.range,readonly:this.readonly,scrollable:this.scrollable,showAdjacentMonths:this.showAdjacentMonths,showWeek:this.showWeek,tableDate:"".concat(M(this.tableYear,4),"-").concat(M(this.tableMonth+1)),value:this.value,weekdayFormat:this.weekdayFormat},ref:"table",on:Object(f["a"])({input:this.dateClick,"update:table-date":function(e){return t.tableDate=e}},I(this,":date"))})},genMonthTable:function(){var t=this;return this.$createElement(q,{props:{allowedDates:"month"===this.type?this.allowedDates:null,color:this.color,current:this.current?_(this.current,"month"):null,dark:this.dark,disabled:this.disabled,events:"month"===this.type?this.events:null,eventColor:"month"===this.type?this.eventColor:null,format:this.monthFormat,light:this.light,locale:this.locale,min:this.minMonth,max:this.maxMonth,range:this.range,readonly:this.readonly&&"month"===this.type,scrollable:this.scrollable,value:this.selectedMonths,tableDate:"".concat(M(this.tableYear,4))},ref:"table",on:Object(f["a"])({input:this.monthClick,"update:table-date":function(e){return t.tableDate=e}},I(this,":month"))})},genYears:function(){return this.$createElement(J,{props:{color:this.color,format:this.yearFormat,locale:this.locale,min:this.minYear,max:this.maxYear,value:this.tableYear},on:Object(f["a"])({input:this.yearClick},I(this,":year"))})},genPickerBody:function(){var t="YEAR"===this.activePicker?[this.genYears()]:[this.genTableHeader(),"DATE"===this.activePicker?this.genDateTable():this.genMonthTable()];return this.$createElement("div",{key:this.activePicker},t)},setInputDate:function(){if(this.lastValue){var t=this.lastValue.split("-");this.inputYear=parseInt(t[0],10),this.inputMonth=parseInt(t[1],10)-1,"date"===this.type&&(this.inputDay=parseInt(t[2],10))}else this.inputYear=this.inputYear||this.now.getFullYear(),this.inputMonth=null==this.inputMonth?this.inputMonth:this.now.getMonth(),this.inputDay=this.inputDay||this.now.getDate()}},render:function(){return this.genPicker("v-picker--date")}}),st=i("ce7e"),rt=i("132d"),ot=i("e449"),lt=i("8e36"),ht=i("0fd9"),ct=i("2fa4"),ut=i("afd9"),dt=i("8654"),pt=Object(l["a"])(o,a,n,!1,null,null,null);e["default"]=pt.exports;c()(pt,{VBtn:u["a"],VCard:d["a"],VCardText:p["c"],VCardTitle:p["d"],VCol:m["a"],VDatePicker:nt,VDivider:st["a"],VIcon:rt["a"],VMenu:ot["a"],VProgressLinear:lt["a"],VRow:ht["a"],VSpacer:ct["a"],VSystemBar:ut["a"],VTextField:dt["a"]})},c982:function(t,e,i){},d951:function(t,e,i){},e53c:function(t,e,i){}}]); \ No newline at end of file diff --git a/www/fhemapp/js/chunk-b2de1140.bb22d6b3.js b/www/fhemapp/js/chunk-b2de1140.5fee925a.js similarity index 100% rename from www/fhemapp/js/chunk-b2de1140.bb22d6b3.js rename to www/fhemapp/js/chunk-b2de1140.5fee925a.js diff --git a/www/fhemapp/js/chunk-d4e16e04.06abbdcc.js b/www/fhemapp/js/chunk-d4e16e04.70c63a71.js similarity index 100% rename from www/fhemapp/js/chunk-d4e16e04.06abbdcc.js rename to www/fhemapp/js/chunk-d4e16e04.70c63a71.js diff --git a/www/fhemapp/js/chunk-dc5178fa.753a1989.js b/www/fhemapp/js/chunk-dc5178fa.213d3242.js similarity index 77% rename from www/fhemapp/js/chunk-dc5178fa.753a1989.js rename to www/fhemapp/js/chunk-dc5178fa.213d3242.js index 7186bcd4..e745e384 100644 --- a/www/fhemapp/js/chunk-dc5178fa.753a1989.js +++ b/www/fhemapp/js/chunk-dc5178fa.213d3242.js @@ -1 +1 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dc5178fa"],{"5d11":function(t,s,e){"use strict";e.r(s);var i=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("v-col",{class:t.setup.size},[e("v-card",{attrs:{dark:this.$vuetify.theme.dark,color:"secondary"}},[e("v-progress-linear",{attrs:{height:"7",value:t.getLevel,color:t.vals.status.color,"background-color":"secondary darken-1"}}),e("v-card-title",{staticClass:"text-truncate"},[t._v(" "+t._s(t.vals.title)+" ")]),e("v-divider"),e("v-card-text",{staticClass:"pa-0"},t._l(t.list,(function(s){return e("div",{key:s.Name,attrs:{align:"center"}},[e("v-row",{staticClass:"ma-1",attrs:{dense:"",align:"center"}},[e("v-col",{staticClass:"col-2"},[e("v-progress-circular",{attrs:{value:s.level,color:s.color}})],1),e("v-col",{staticClass:"text-truncate",attrs:{align:"left"}},[e("div",{staticClass:"text-truncate headline"},[t._v(" "+t._s(s.title)+" ")]),e("div",{staticClass:"text-truncate"},[t._v(" "+t._s(s.text)+" ")])]),e("v-col",{staticClass:"col-2",attrs:{align:"center"}},[s.route&&!s.click&&s.icon?e("v-btn",{attrs:{icon:"",link:"",to:s.route}},[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(s.icon)+" ")])],1):t._e(),s.click&&!s.route&&s.icon?e("div",[e("v-btn",{attrs:{icon:""},on:{click:function(e){return t.set(s.device,s.click)}}},[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(s.icon)+" ")])],1)],1):t._e(),s.menu&&!s.route&&!s.click&&s.icon?e("div",[e("v-menu",{attrs:{bottom:"",left:"",transition:"slide-y-transition"},scopedSlots:t._u([{key:"activator",fn:function(i){var a=i.on,n=i.attrs;return[e("v-btn",t._g(t._b({attrs:{icon:""}},"v-btn",n,!1),a),[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(s.icon)+" ")])],1)]}}],null,!0)},[e("v-list",{attrs:{dense:"",color:"secondary lighten-2"}},[e("v-list-item-group",t._l(s.menu,(function(i,a){return e("v-list-item",{key:a,on:{click:function(e){return t.set(s.device,i.cmd)}}},[e("v-list-item-content",[e("v-list-item-title",{staticClass:"text-subtitle-1"},[t._v(" "+t._s(i.name)+" ")])],1)],1)})),1)],1)],1)],1):t._e()],1)],1),e("v-divider")],1)})),0),e("v-system-bar",{attrs:{color:"secondary darken-1"}},[e("v-icon",{staticClass:"ml-0"},[t._v(" "+t._s(t.vals.info.left1Icon)+" ")]),t._v(t._s(t.vals.info.left1Text)+" "),e("v-icon",[t._v(t._s(t.vals.info.left2Icon))]),t._v(t._s(t.vals.info.left2Text)+" "),e("v-spacer"),e("v-icon",[t._v(t._s(t.vals.info.mid1Icon))]),t._v(t._s(t.vals.info.mid1Text)+" "),e("v-icon",{staticClass:"ml-2"},[t._v(" "+t._s(t.vals.info.mid2Icon)+" ")]),t._v(t._s(t.vals.info.mid2Text)+" "),e("v-spacer"),e("v-icon",[t._v(t._s(t.vals.info.right1Icon))]),t._v(t._s(t.vals.info.right1Text)+" "),e("v-icon",{staticClass:"mr-0"},[t._v(" "+t._s(t.vals.info.right2Icon)+" ")]),t._v(t._s(t.vals.info.right2Text)+" ")],1)],1)],1)},a=[],n=e("b85c"),l=(e("466d"),e("ac1f"),e("1276"),e("d81d"),e("b0c0"),e("a434"),{props:{item:{type:Object,default:function(){return{name:"panel"}}}},data:function(){return{name:"panel",setup:{size:"col-12 col-sm-6 col-md-6 col-lg-6",status:{bar:[],error:[]},info:{left1:[],left2:[],mid1:[],mid2:[],right1:[],right2:[]}},vals:{title:"",status:{level:0,color:"",invert:!1},info:{left1Icon:"",left1Text:"",left2Icon:"",left2Text:"",mid1Icon:"",mid1Text:"",mid2Icon:"",mid2Text:"",right1Icon:"",right1Text:"",right2Icon:"",right2Text:""}},list:[]}},computed:{getLevel:function(){return this.vals.status.invert?100-this.vals.status.level:this.vals.status.level}},watch:{item:{immediate:!0,deep:!0,handler:function(t){var s=this.$fhem.getEl(t,"Attributes","alias")||t.Name;this.vals.title=this.$fhem.getEl(t,"Options","name")||s,this.setValues(),this.doList()}},setup:{deep:!0,handler:function(){this.setValues()}}},created:function(){var t=this.$fhem.getEl(this.item,"Options","setup","size"),s=this.$fhem.getEl(this.item,"Options","setup","status"),e=this.$fhem.getEl(this.item,"Options","setup","info");t&&(this.setup.size=t),s&&Object.assign(this.setup.status,s),e&&Object.assign(this.setup.info,e)},methods:{setValues:function(){var t=this.$fhem.handleVals(this.item,this.setup.status.bar),s=this.$fhem.handleVals(this.item,this.setup.status.error),e=this.$fhem.handleVals(this.item,this.setup.info.left1),i=this.$fhem.handleVals(this.item,this.setup.info.left2),a=this.$fhem.handleVals(this.item,this.setup.info.mid1),n=this.$fhem.handleVals(this.item,this.setup.info.mid2),l=this.$fhem.handleVals(this.item,this.setup.info.right1),o=this.$fhem.handleVals(this.item,this.setup.info.right2);this.vals.status.level=t[0]||"100",this.vals.status.color=t[1]||"success",this.vals.status.invert=!!t[2],this.vals.info.left1Icon=e[1]||"",this.vals.info.left1Text=e[0]||"",this.vals.info.left2Icon=i[1]||"",this.vals.info.left2Text=i[0]||"",this.vals.info.mid1Icon=a[1]||"",this.vals.info.mid1Text=a[0]||"",this.vals.info.mid2Icon=n[1]||"",this.vals.info.mid2Text=n[0]||"",this.vals.info.right1Icon=l[1]||"",this.vals.info.right1Text=l[0]||"",this.vals.info.right2Icon=o[1]||"",this.vals.info.right2Text=o[0]||"",s.length>0?(this.vals.status.level=s[0]||"100",this.vals.status.color=s[1]||"error",this.vals.main.text=s[2]||"Fehler",this.isActive=!1):this.isActive=!0},set:function(t,s){var e=s.match("set")?s:"set "+t+" "+s;this.$fhem.request(e)},loadItem:function(t){var s=this.$fhem.getEl(t,"Name")||"",e=this.$fhem.getEl(t,"Attributes","alias")||t.Name,i=this.$fhem.getEl(t,"Options","name")||e,a=this.$fhem.getEl(t,"Options","panel","link")||"",l=this.$fhem.handleVals(t,this.$fhem.getEl(t,"Options","panel","status"))||[],o=this.$fhem.handleVals(t,this.$fhem.getEl(t,"Options","panel","btn"))||[],c=this.$fhem.handleVals(t,this.$fhem.getEl(t,"Options","panel","click"))||[],r=this.$fhem.getEl(t,"Options","panel","menu")||[],h=[];if(r.length>0){var v,u=Object(n["a"])(r);try{for(u.s();!(v=u.n()).done;){var f=v.value,d=f.split(":");2==d.length&&h.push({name:d[0],cmd:d[1]})}}catch(p){u.e(p)}finally{u.f()}}var m={device:s,title:i,text:l[0]||"",level:l[1]||0,color:l[2]||"success",icon:o[0]||"",route:a,click:c[0]||"",menu:h};return m},doList:function(){if(this.item.Connected)for(var t in this.item.Options.connected){var s=this.list.map((function(t){return t.name})).indexOf(t),e=this.loadItem(this.item.Connected[t]),i={name:t,device:e.device,level:e.level,color:e.color,title:e.title,text:e.text,icon:e.icon,route:e.route,click:e.click,menu:e.menu};"success"!=e.color&&(this.vals.status.color=e.color),-1!=s?this.list.splice(s,1,i):this.list.push(i)}}}}),o=l,c=e("2877"),r=e("6544"),h=e.n(r),v=e("8336"),u=e("b0af"),f=e("99d9"),d=e("62ad"),m=e("ce7e"),p=e("132d"),g=e("8860"),_=e("da13"),b=e("5d23"),x=e("1baa"),V=e("e449"),$=e("490a"),I=e("8e36"),k=e("0fd9"),O=e("2fa4"),y=e("afd9"),C=Object(c["a"])(o,i,a,!1,null,null,null);s["default"]=C.exports;h()(C,{VBtn:v["a"],VCard:u["a"],VCardText:f["c"],VCardTitle:f["d"],VCol:d["a"],VDivider:m["a"],VIcon:p["a"],VList:g["a"],VListItem:_["a"],VListItemContent:b["a"],VListItemGroup:x["a"],VListItemTitle:b["c"],VMenu:V["a"],VProgressCircular:$["a"],VProgressLinear:I["a"],VRow:k["a"],VSpacer:O["a"],VSystemBar:y["a"]})},8308:function(t,s,e){},afd9:function(t,s,e){"use strict";var i=e("5530"),a=(e("a9e3"),e("c7cd"),e("8308"),e("3a66")),n=e("a9ad"),l=e("7560"),o=e("58df"),c=e("80d2");s["a"]=Object(o["a"])(Object(a["a"])("bar",["height","window"]),n["a"],l["a"]).extend({name:"v-system-bar",props:{height:[Number,String],lightsOut:Boolean,window:Boolean},computed:{classes:function(){return Object(i["a"])({"v-system-bar--lights-out":this.lightsOut,"v-system-bar--absolute":this.absolute,"v-system-bar--fixed":!this.absolute&&(this.app||this.fixed),"v-system-bar--window":this.window},this.themeClasses)},computedHeight:function(){return this.height?isNaN(parseInt(this.height))?this.height:parseInt(this.height):this.window?32:24},styles:function(){return{height:Object(c["g"])(this.computedHeight)}}},methods:{updateApplication:function(){return this.$el?this.$el.clientHeight:this.computedHeight}},render:function(t){var s={staticClass:"v-system-bar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,s),Object(c["s"])(this))}})}}]); \ No newline at end of file +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dc5178fa"],{"5d11":function(t,s,e){"use strict";e.r(s);var i=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("v-col",{class:t.setup.size},[e("v-card",{attrs:{dark:this.$vuetify.theme.dark,color:"secondary"}},[e("v-progress-linear",{attrs:{height:"7",value:t.getLevel,color:t.vals.status.color,"background-color":"secondary darken-1"}}),e("v-card-title",{staticClass:"text-truncate"},[t._v(" "+t._s(t.vals.title)+" ")]),e("v-divider"),e("v-card-text",{staticClass:"pa-0"},t._l(t.list,(function(s){return e("div",{key:s.Name,attrs:{align:"center"}},[e("v-row",{staticClass:"ma-1",attrs:{dense:"",align:"center"}},[e("v-col",{staticClass:"col-2"},[e("v-progress-circular",{attrs:{value:s.level,color:s.color}})],1),e("v-col",{staticClass:"text-truncate",attrs:{align:"left"}},[e("div",{staticClass:"text-truncate headline"},[t._v(" "+t._s(s.title)+" ")]),e("div",{staticClass:"text-truncate"},[t._v(" "+t._s(s.text)+" ")])]),e("v-col",{staticClass:"col-2",attrs:{align:"center"}},[s.route&&!s.click&&s.icon?e("v-btn",{attrs:{icon:"",link:"",to:s.route}},[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(s.icon)+" ")])],1):t._e(),s.click&&!s.route&&s.icon?e("div",[e("v-btn",{attrs:{icon:""},on:{click:function(e){return t.set(s.device,s.click)}}},[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(s.icon)+" ")])],1)],1):t._e(),s.menu&&!s.route&&!s.click&&s.icon?e("div",[e("v-menu",{attrs:{bottom:"",left:"",transition:"slide-y-transition"},scopedSlots:t._u([{key:"activator",fn:function(i){var a=i.on,n=i.attrs;return[e("v-btn",t._g(t._b({attrs:{icon:""}},"v-btn",n,!1),a),[e("v-icon",{attrs:{large:""}},[t._v(" "+t._s(s.icon)+" ")])],1)]}}],null,!0)},[e("v-list",{attrs:{dense:"",color:"secondary lighten-2"}},[e("v-list-item-group",t._l(s.menu,(function(i,a){return e("v-list-item",{key:a,on:{click:function(e){return t.set(s.device,i.cmd)}}},[e("v-list-item-content",[e("v-list-item-title",{staticClass:"text-subtitle-1"},[t._v(" "+t._s(i.name)+" ")])],1)],1)})),1)],1)],1)],1):t._e()],1)],1),e("v-divider")],1)})),0),e("v-system-bar",{attrs:{color:"secondary darken-1"}},[e("v-icon",{staticClass:"ml-0"},[t._v(" "+t._s(t.vals.info.left1Icon)+" ")]),t._v(t._s(t.vals.info.left1Text)+" "),e("v-icon",[t._v(t._s(t.vals.info.left2Icon))]),t._v(t._s(t.vals.info.left2Text)+" "),e("v-spacer"),e("v-icon",[t._v(t._s(t.vals.info.mid1Icon))]),t._v(t._s(t.vals.info.mid1Text)+" "),e("v-icon",{staticClass:"ml-2"},[t._v(" "+t._s(t.vals.info.mid2Icon)+" ")]),t._v(t._s(t.vals.info.mid2Text)+" "),e("v-spacer"),e("v-icon",[t._v(t._s(t.vals.info.right1Icon))]),t._v(t._s(t.vals.info.right1Text)+" "),e("v-icon",{staticClass:"mr-0"},[t._v(" "+t._s(t.vals.info.right2Icon)+" ")]),t._v(t._s(t.vals.info.right2Text)+" ")],1)],1)],1)},a=[],n=e("b85c"),l=(e("466d"),e("ac1f"),e("1276"),e("d81d"),e("b0c0"),e("a434"),{props:{item:{type:Object,default:function(){return{name:"panel"}}}},data:function(){return{name:"panel",setup:{size:"col-12 col-sm-6 col-md-6 col-lg-6",status:{bar:[],error:[]},info:{left1:[],left2:[],mid1:[],mid2:[],right1:[],right2:[]}},vals:{title:"",status:{level:0,color:"",invert:!1},info:{left1Icon:"",left1Text:"",left2Icon:"",left2Text:"",mid1Icon:"",mid1Text:"",mid2Icon:"",mid2Text:"",right1Icon:"",right1Text:"",right2Icon:"",right2Text:""}},list:[]}},computed:{getLevel:function(){return this.vals.status.invert?100-this.vals.status.level:this.vals.status.level}},watch:{item:{immediate:!0,deep:!0,handler:function(t){var s=this.$fhem.getEl(t,"Attributes","alias")||t.Name;this.vals.title=this.$fhem.getEl(t,"Options","name")||s,this.setValues(),this.doList()}},setup:{deep:!0,handler:function(){this.setValues()}}},created:function(){var t=this.$fhem.getEl(this.item,"Options","setup","size"),s=this.$fhem.getEl(this.item,"Options","setup","status"),e=this.$fhem.getEl(this.item,"Options","setup","info");t&&(this.setup.size=t),s&&Object.assign(this.setup.status,s),e&&Object.assign(this.setup.info,e)},methods:{setValues:function(){var t=this.$fhem.handleVals(this.item,this.setup.status.bar),s=this.$fhem.handleVals(this.item,this.setup.status.error),e=this.$fhem.handleVals(this.item,this.setup.info.left1),i=this.$fhem.handleVals(this.item,this.setup.info.left2),a=this.$fhem.handleVals(this.item,this.setup.info.mid1),n=this.$fhem.handleVals(this.item,this.setup.info.mid2),l=this.$fhem.handleVals(this.item,this.setup.info.right1),o=this.$fhem.handleVals(this.item,this.setup.info.right2);this.vals.status.level=t[0]||"100",this.vals.status.color=t[1]||"success",this.vals.status.invert=!!t[2],this.vals.info.left1Icon=e[1]||"",this.vals.info.left1Text=e[0]||"",this.vals.info.left2Icon=i[1]||"",this.vals.info.left2Text=i[0]||"",this.vals.info.mid1Icon=a[1]||"",this.vals.info.mid1Text=a[0]||"",this.vals.info.mid2Icon=n[1]||"",this.vals.info.mid2Text=n[0]||"",this.vals.info.right1Icon=l[1]||"",this.vals.info.right1Text=l[0]||"",this.vals.info.right2Icon=o[1]||"",this.vals.info.right2Text=o[0]||"",s.length>0?(this.vals.status.level=s[0]||"100",this.vals.status.color=s[1]||"error",this.vals.main.text=s[2]||"Fehler",this.isActive=!1):this.isActive=!0},set:function(t,s){var e=s.match("set")?s:"set "+t+" "+s;this.$fhem.request(e)},loadItem:function(t){var s=this.$fhem.getEl(t,"Name")||"",e=this.$fhem.getEl(t,"Attributes","alias")||t.Name,i=this.$fhem.getEl(t,"Options","name")||e,a=this.$fhem.getEl(t,"Options","panel","link")||"",l=this.$fhem.handleVals(t,this.$fhem.getEl(t,"Options","panel","status"))||[],o=this.$fhem.handleVals(t,this.$fhem.getEl(t,"Options","panel","btn"))||[],c=this.$fhem.handleVals(t,this.$fhem.getEl(t,"Options","panel","click"))||[],r=this.$fhem.getEl(t,"Options","panel","menu")||[],h=[];if(r.length>0){var v,u=Object(n["a"])(r);try{for(u.s();!(v=u.n()).done;){var f=v.value,d=f.split(":");2==d.length&&h.push({name:d[0],cmd:d[1]})}}catch(p){u.e(p)}finally{u.f()}}var m={device:s,title:i,text:l[0]||"",level:l[1]||0,color:l[2]||"success",icon:o[0]||"",route:a,click:c[0]||"",menu:h};return m},doList:function(){if(this.item.Connected)for(var t in this.item.Options.connected){var s=this.list.map((function(t){return t.name})).indexOf(t),e=this.loadItem(this.item.Connected[t]),i={name:t,device:e.device,level:e.level,color:e.color,title:e.title,text:e.text,icon:e.icon,route:e.route,click:e.click,menu:e.menu};"success"!=i.color&&"success"===this.vals.status.color&&(this.vals.status.color=i.color),-1!=s?this.list.splice(s,1,i):this.list.push(i)}}}}),o=l,c=e("2877"),r=e("6544"),h=e.n(r),v=e("8336"),u=e("b0af"),f=e("99d9"),d=e("62ad"),m=e("ce7e"),p=e("132d"),g=e("8860"),_=e("da13"),b=e("5d23"),x=e("1baa"),V=e("e449"),$=e("490a"),I=e("8e36"),k=e("0fd9"),O=e("2fa4"),y=e("afd9"),C=Object(c["a"])(o,i,a,!1,null,null,null);s["default"]=C.exports;h()(C,{VBtn:v["a"],VCard:u["a"],VCardText:f["c"],VCardTitle:f["d"],VCol:d["a"],VDivider:m["a"],VIcon:p["a"],VList:g["a"],VListItem:_["a"],VListItemContent:b["a"],VListItemGroup:x["a"],VListItemTitle:b["c"],VMenu:V["a"],VProgressCircular:$["a"],VProgressLinear:I["a"],VRow:k["a"],VSpacer:O["a"],VSystemBar:y["a"]})},8308:function(t,s,e){},afd9:function(t,s,e){"use strict";var i=e("5530"),a=(e("a9e3"),e("c7cd"),e("8308"),e("3a66")),n=e("a9ad"),l=e("7560"),o=e("58df"),c=e("80d2");s["a"]=Object(o["a"])(Object(a["a"])("bar",["height","window"]),n["a"],l["a"]).extend({name:"v-system-bar",props:{height:[Number,String],lightsOut:Boolean,window:Boolean},computed:{classes:function(){return Object(i["a"])({"v-system-bar--lights-out":this.lightsOut,"v-system-bar--absolute":this.absolute,"v-system-bar--fixed":!this.absolute&&(this.app||this.fixed),"v-system-bar--window":this.window},this.themeClasses)},computedHeight:function(){return this.height?isNaN(parseInt(this.height))?this.height:parseInt(this.height):this.window?32:24},styles:function(){return{height:Object(c["g"])(this.computedHeight)}}},methods:{updateApplication:function(){return this.$el?this.$el.clientHeight:this.computedHeight}},render:function(t){var s={staticClass:"v-system-bar",class:this.classes,style:this.styles,on:this.$listeners};return t("div",this.setBackgroundColor(this.color,s),Object(c["s"])(this))}})}}]); \ No newline at end of file diff --git a/www/fhemapp/js/chunk-dd03e16c.69c4474b.js b/www/fhemapp/js/chunk-dd03e16c.f4db6a88.js similarity index 100% rename from www/fhemapp/js/chunk-dd03e16c.69c4474b.js rename to www/fhemapp/js/chunk-dd03e16c.f4db6a88.js diff --git a/www/fhemapp/js/chunk-vendors.71a02cd0.js b/www/fhemapp/js/chunk-vendors.71a02cd0.js deleted file mode 100644 index b699f970..00000000 --- a/www/fhemapp/js/chunk-vendors.71a02cd0.js +++ /dev/null @@ -1,30 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(t,e,i){var n=i("b622"),a=n("toStringTag"),r={};r[a]="z",t.exports="[object z]"===String(r)},"0366":function(t,e,i){var n=i("1c0b");t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,a){return t.call(e,i,n,a)}}return function(){return t.apply(e,arguments)}}},"0481":function(t,e,i){"use strict";var n=i("23e7"),a=i("a2bf"),r=i("7b0b"),s=i("50c4"),o=i("a691"),l=i("65f0");n({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=r(this),i=s(e.length),n=l(e,0);return n.length=a(n,e,e,i,0,void 0===t?1:o(t)),n}})},"0538":function(t,e,i){"use strict";var n=i("1c0b"),a=i("861d"),r=[].slice,s={},o=function(t,e,i){if(!(e in s)){for(var n=[],a=0;a0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length,n=new Array(i>1?i-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:"top center 0",i=arguments.length>2?arguments[2]:void 0;return{name:t,functional:!0,props:{group:{type:Boolean,default:!1},hideOnLeave:{type:Boolean,default:!1},leaveAbsolute:{type:Boolean,default:!1},mode:{type:String,default:i},origin:{type:String,default:e}},render:function(e,i){var r="transition".concat(i.props.group?"-group":""),s={props:{name:t,mode:i.props.mode},on:{beforeEnter:function(t){t.style.transformOrigin=i.props.origin,t.style.webkitTransformOrigin=i.props.origin}}};return i.props.leaveAbsolute&&(s.on.leave=a(s.on.leave,(function(t){return t.style.position="absolute"}))),i.props.hideOnLeave&&(s.on.leave=a(s.on.leave,(function(t){return t.style.display="none"}))),e(r,Object(n["a"])(i.data,s),i.children)}}}function s(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"in-out";return{name:t,functional:!0,props:{mode:{type:String,default:i}},render:function(i,a){return i("transition",Object(n["a"])(a.data,{props:{name:t},on:e}),a.children)}}}var o=i("ade3"),l=i("80d2"),c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e?"width":"height",n="offset".concat(Object(l["G"])(i));return{beforeEnter:function(t){t._parent=t.parentNode,t._initialStyle=Object(o["a"])({transition:t.style.transition,overflow:t.style.overflow},i,t.style[i])},enter:function(e){var a=e._initialStyle;e.style.setProperty("transition","none","important"),e.style.overflow="hidden";var r="".concat(e[n],"px");e.style[i]="0",e.offsetHeight,e.style.transition=a.transition,t&&e._parent&&e._parent.classList.add(t),requestAnimationFrame((function(){e.style[i]=r}))},afterEnter:r,enterCancelled:r,leave:function(t){t._initialStyle=Object(o["a"])({transition:"",overflow:t.style.overflow},i,t.style[i]),t.style.overflow="hidden",t.style[i]="".concat(t[n],"px"),t.offsetHeight,requestAnimationFrame((function(){return t.style[i]="0"}))},afterLeave:a,leaveCancelled:a};function a(e){t&&e._parent&&e._parent.classList.remove(t),r(e)}function r(t){var e=t._initialStyle[i];t.style.overflow=t._initialStyle.overflow,null!=e&&(t.style[i]=e),delete t._initialStyle}},h=(r("carousel-transition"),r("carousel-reverse-transition"),r("tab-transition"),r("tab-reverse-transition"),r("menu-transition"),r("fab-transition","center center","out-in"),r("dialog-transition"),r("dialog-bottom-transition"),r("dialog-top-transition"),r("fade-transition")),u=r("scale-transition"),d=(r("scroll-x-transition"),r("scroll-x-reverse-transition"),r("scroll-y-transition"),r("scroll-y-reverse-transition"),r("slide-x-transition")),f=(r("slide-x-reverse-transition"),r("slide-y-transition"),r("slide-y-reverse-transition"),s("expand-transition",c())),p=s("expand-x-transition",c("",!0))},"0798":function(t,e,i){"use strict";var n=i("5530"),a=i("ade3"),r=(i("caad"),i("0c18"),i("10d2")),s=i("afdd"),o=i("9d26"),l=i("f2e7"),c=i("7560"),h=i("2b0e"),u=h["a"].extend({name:"transitionable",props:{mode:String,origin:String,transition:String}}),d=i("58df"),f=i("d9bd");e["a"]=Object(d["a"])(r["a"],l["a"],u).extend({name:"v-alert",props:{border:{type:String,validator:function(t){return["top","right","bottom","left"].includes(t)}},closeLabel:{type:String,default:"$vuetify.close"},coloredBorder:Boolean,dense:Boolean,dismissible:Boolean,closeIcon:{type:String,default:"$cancel"},icon:{default:"",type:[Boolean,String],validator:function(t){return"string"===typeof t||!1===t}},outlined:Boolean,prominent:Boolean,text:Boolean,type:{type:String,validator:function(t){return["info","error","success","warning"].includes(t)}},value:{type:Boolean,default:!0}},computed:{__cachedBorder:function(){if(!this.border)return null;var t={staticClass:"v-alert__border",class:Object(a["a"])({},"v-alert__border--".concat(this.border),!0)};return this.coloredBorder&&(t=this.setBackgroundColor(this.computedColor,t),t.class["v-alert__border--has-color"]=!0),this.$createElement("div",t)},__cachedDismissible:function(){var t=this;if(!this.dismissible)return null;var e=this.iconColor;return this.$createElement(s["a"],{staticClass:"v-alert__dismissible",props:{color:e,icon:!0,small:!0},attrs:{"aria-label":this.$vuetify.lang.t(this.closeLabel)},on:{click:function(){return t.isActive=!1}}},[this.$createElement(o["a"],{props:{color:e}},this.closeIcon)])},__cachedIcon:function(){return this.computedIcon?this.$createElement(o["a"],{staticClass:"v-alert__icon",props:{color:this.iconColor}},this.computedIcon):null},classes:function(){var t=Object(n["a"])(Object(n["a"])({},r["a"].options.computed.classes.call(this)),{},{"v-alert--border":Boolean(this.border),"v-alert--dense":this.dense,"v-alert--outlined":this.outlined,"v-alert--prominent":this.prominent,"v-alert--text":this.text});return this.border&&(t["v-alert--border-".concat(this.border)]=!0),t},computedColor:function(){return this.color||this.type},computedIcon:function(){return!1!==this.icon&&("string"===typeof this.icon&&this.icon?this.icon:!!["error","info","success","warning"].includes(this.type)&&"$".concat(this.type))},hasColoredIcon:function(){return this.hasText||Boolean(this.border)&&this.coloredBorder},hasText:function(){return this.text||this.outlined},iconColor:function(){return this.hasColoredIcon?this.computedColor:void 0},isDark:function(){return!(!this.type||this.coloredBorder||this.outlined)||c["a"].options.computed.isDark.call(this)}},created:function(){this.$attrs.hasOwnProperty("outline")&&Object(f["a"])("outline","outlined",this)},methods:{genWrapper:function(){var t=[this.$slots.prepend||this.__cachedIcon,this.genContent(),this.__cachedBorder,this.$slots.append,this.$scopedSlots.close?this.$scopedSlots.close({toggle:this.toggle}):this.__cachedDismissible],e={staticClass:"v-alert__wrapper"};return this.$createElement("div",e,t)},genContent:function(){return this.$createElement("div",{staticClass:"v-alert__content"},this.$slots.default)},genAlert:function(){var t={staticClass:"v-alert",attrs:{role:"alert"},on:this.listeners$,class:this.classes,style:this.styles,directives:[{name:"show",value:this.isActive}]};if(!this.coloredBorder){var e=this.hasText?this.setTextColor:this.setBackgroundColor;t=e(this.computedColor,t)}return this.$createElement("div",t,[this.genWrapper()])},toggle:function(){this.isActive=!this.isActive}},render:function(t){var e=this.genAlert();return this.transition?t("transition",{props:{name:this.transition,origin:this.origin,mode:this.mode}},[e]):e}})},"07ac":function(t,e,i){var n=i("23e7"),a=i("6f53").values;n({target:"Object",stat:!0},{values:function(t){return a(t)}})},"0c18":function(t,e,i){},"0cb2":function(t,e,i){var n=i("7b0b"),a=Math.floor,r="".replace,s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,o=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,i,l,c,h){var u=i+t.length,d=l.length,f=o;return void 0!==c&&(c=n(c),f=s),r.call(h,f,(function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(u);case"<":s=c[r.slice(1,-1)];break;default:var o=+r;if(0===o)return n;if(o>d){var h=a(o/10);return 0===h?n:h<=d?void 0===l[h-1]?r.charAt(1):l[h-1]+r.charAt(1):n}s=l[o-1]}return void 0===s?"":s}))}},"0cfb":function(t,e,i){var n=i("83ab"),a=i("d039"),r=i("cc12");t.exports=!n&&!a((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},"0fd9":function(t,e,i){"use strict";var n=i("ade3"),a=i("5530"),r=(i("13d5"),i("caad"),i("2532"),i("99af"),i("b64b"),i("5319"),i("ac1f"),i("4ec9"),i("d3b7"),i("3ca3"),i("ddb0"),i("159b"),i("4b85"),i("2b0e")),s=i("d9f7"),o=i("80d2"),l=["sm","md","lg","xl"],c=["start","end","center"];function h(t,e){return l.reduce((function(i,n){return i[t+Object(o["G"])(n)]=e(),i}),{})}var u=function(t){return[].concat(c,["baseline","stretch"]).includes(t)},d=h("align",(function(){return{type:String,default:null,validator:u}})),f=function(t){return[].concat(c,["space-between","space-around"]).includes(t)},p=h("justify",(function(){return{type:String,default:null,validator:f}})),g=function(t){return[].concat(c,["space-between","space-around","stretch"]).includes(t)},v=h("alignContent",(function(){return{type:String,default:null,validator:g}})),m={align:Object.keys(d),justify:Object.keys(p),alignContent:Object.keys(v)},b={align:"align",justify:"justify",alignContent:"align-content"};function x(t,e,i){var n=b[t];if(null!=i){if(e){var a=e.replace(t,"");n+="-".concat(a)}return n+="-".concat(i),n.toLowerCase()}}var y=new Map;e["a"]=r["a"].extend({name:"v-row",functional:!0,props:Object(a["a"])(Object(a["a"])(Object(a["a"])({tag:{type:String,default:"div"},dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:u}},d),{},{justify:{type:String,default:null,validator:f}},p),{},{alignContent:{type:String,default:null,validator:g}},v),render:function(t,e){var i=e.props,a=e.data,r=e.children,o="";for(var l in i)o+=String(i[l]);var c=y.get(o);return c||function(){var t,e;for(e in c=[],m)m[e].forEach((function(t){var n=i[t],a=x(e,t,n);a&&c.push(a)}));c.push((t={"no-gutters":i.noGutters,"row--dense":i.dense},Object(n["a"])(t,"align-".concat(i.align),i.align),Object(n["a"])(t,"justify-".concat(i.justify),i.justify),Object(n["a"])(t,"align-content-".concat(i.alignContent),i.alignContent),t)),y.set(o,c)}(),t(i.tag,Object(s["a"])(a,{staticClass:"row",class:c}),r)}})},"0fe0":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={badge:"Abzeichen",close:"Schließen",dataIterator:{noResultsText:"Keine Elemente gefunden",loadingText:"Lade Elemente..."},dataTable:{itemsPerPageText:"Zeilen pro Seite:",ariaLabel:{sortDescending:"Absteigend sortiert.",sortAscending:"Aufsteigend sortiert.",sortNone:"Nicht sortiert.",activateNone:"Aktivieren um Sortierung zu entfernen.",activateDescending:"Aktivieren um absteigend zu sortieren.",activateAscending:"Aktivieren um aufsteigend zu sortieren."},sortBy:"Sortiere nach"},dataFooter:{itemsPerPageText:"Elemente pro Seite:",itemsPerPageAll:"Alle",nextPage:"Nächste Seite",prevPage:"Vorherige Seite",firstPage:"Erste Seite",lastPage:"Letzte Seite",pageText:"{0}-{1} von {2}"},datePicker:{itemsSelected:"{0} ausgewählt",nextMonthAriaLabel:"Nächsten Monat",nextYearAriaLabel:"Nächstes Jahr",prevMonthAriaLabel:"Vorheriger Monat",prevYearAriaLabel:"Vorheriges Jahr"},noDataText:"Keine Daten vorhanden",carousel:{prev:"Vorheriges Bild",next:"Nächstes Bild",ariaLabel:{delimiter:"Element {0} von {1}"}},calendar:{moreEvents:"{0} mehr"},fileInput:{counter:"{0} Dateien",counterSize:"{0} Dateien ({1} gesamt)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{wrapper:"Seitennavigation",next:"Nächste Seite",previous:"Vorherige Seite",page:"Gehe zu Seite {0}",currentPage:"Aktuelle Seite, Seite {0}"}},rating:{ariaLabel:{icon:"Rating {0} of {1}"}}};e.default=n},"10d2":function(t,e,i){"use strict";var n=i("8dd9");e["a"]=n["a"]},1148:function(t,e,i){"use strict";var n=i("a691"),a=i("1d80");t.exports="".repeat||function(t){var e=String(a(this)),i="",r=n(t);if(r<0||r==1/0)throw RangeError("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(i+=e);return i}},1276:function(t,e,i){"use strict";var n=i("d784"),a=i("44e7"),r=i("825a"),s=i("1d80"),o=i("4840"),l=i("8aa5"),c=i("50c4"),h=i("14c3"),u=i("9263"),d=i("d039"),f=[].push,p=Math.min,g=4294967295,v=!d((function(){return!RegExp(g,"y")}));n("split",2,(function(t,e,i){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,i){var n=String(s(this)),r=void 0===i?g:i>>>0;if(0===r)return[];if(void 0===t)return[n];if(!a(t))return e.call(n,t,r);var o,l,c,h=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,v=new RegExp(t.source,d+"g");while(o=u.call(v,n)){if(l=v.lastIndex,l>p&&(h.push(n.slice(p,o.index)),o.length>1&&o.index=r))break;v.lastIndex===o.index&&v.lastIndex++}return p===n.length?!c&&v.test("")||h.push(""):h.push(n.slice(p)),h.length>r?h.slice(0,r):h}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:e.call(this,t,i)}:e,[function(e,i){var a=s(this),r=void 0==e?void 0:e[t];return void 0!==r?r.call(e,a,i):n.call(String(a),e,i)},function(t,a){var s=i(n,t,this,a,n!==e);if(s.done)return s.value;var u=r(t),d=String(this),f=o(u,RegExp),m=u.unicode,b=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(v?"y":"g"),x=new f(v?u:"^(?:"+u.source+")",b),y=void 0===a?g:a>>>0;if(0===y)return[];if(0===d.length)return null===h(x,d)?[d]:[];var w=0,k=0,S=[];while(k4}(function(t){t["xSmall"]="12px",t["small"]="16px",t["default"]="24px",t["medium"]="28px",t["large"]="36px",t["xLarge"]="40px"})(n||(n={}));var p=Object(u["a"])(r["a"],s["a"],o["a"],l["a"]).extend({name:"v-icon",props:{dense:Boolean,disabled:Boolean,left:Boolean,right:Boolean,size:[Number,String],tag:{type:String,required:!1,default:"i"}},computed:{medium:function(){return!1},hasClickListener:function(){return Boolean(this.listeners$.click||this.listeners$["!click"])}},methods:{getIcon:function(){var t="";return this.$slots.default&&(t=this.$slots.default[0].text.trim()),Object(c["C"])(this,t)},getSize:function(){var t={xSmall:this.xSmall,small:this.small,medium:this.medium,large:this.large,xLarge:this.xLarge},e=Object(c["y"])(t).find((function(e){return t[e]}));return e&&n[e]||Object(c["g"])(this.size)},getDefaultData:function(){return{staticClass:"v-icon notranslate",class:{"v-icon--disabled":this.disabled,"v-icon--left":this.left,"v-icon--link":this.hasClickListener,"v-icon--right":this.right,"v-icon--dense":this.dense},attrs:Object(a["a"])({"aria-hidden":!this.hasClickListener,disabled:this.hasClickListener&&this.disabled,type:this.hasClickListener?"button":void 0},this.attrs$),on:this.listeners$}},getSvgWrapperData:function(){var t=this.getSize(),e=Object(a["a"])(Object(a["a"])({},this.getDefaultData()),{},{style:t?{fontSize:t,height:t,width:t}:void 0});return this.applyColors(e),e},applyColors:function(t){t.class=Object(a["a"])(Object(a["a"])({},t.class),this.themeClasses),this.setTextColor(this.color,t)},renderFontIcon:function(t,e){var i=[],n=this.getDefaultData(),a="material-icons",r=t.indexOf("-"),s=r<=-1;s?i.push(t):(a=t.slice(0,r),d(a)&&(a="")),n.class[a]=!0,n.class[t]=!s;var o=this.getSize();return o&&(n.style={fontSize:o}),this.applyColors(n),e(this.hasClickListener?"button":this.tag,n,i)},renderSvgIcon:function(t,e){var i={class:"v-icon__svg",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":!0}},n=this.getSize();return n&&(i.style={fontSize:n,height:n,width:n}),e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e("svg",i,[e("path",{attrs:{d:t}})])])},renderSvgIconComponent:function(t,e){var i={class:{"v-icon__component":!0}},n=this.getSize();n&&(i.style={fontSize:n,height:n,width:n}),this.applyColors(i);var a=t.component;return i.props=t.props,i.nativeOn=i.on,e(this.hasClickListener?"button":"span",this.getSvgWrapperData(),[e(a,i)])}},render:function(t){var e=this.getIcon();return"string"===typeof e?f(e)?this.renderSvgIcon(e,t):this.renderFontIcon(e,t):this.renderSvgIconComponent(e,t)}});e["a"]=h["a"].extend({name:"v-icon",$_wrapperFor:p,functional:!0,render:function(t,e){var i=e.data,n=e.children,a="";return i.domProps&&(a=i.domProps.textContent||i.domProps.innerHTML||a,delete i.domProps.textContent,delete i.domProps.innerHTML),t(p,i,a?[a]:n)}})},"13d5":function(t,e,i){"use strict";var n=i("23e7"),a=i("d58f").left,r=i("a640"),s=i("2d00"),o=i("605d"),l=r("reduce"),c=!o&&s>79&&s<83;n({target:"Array",proto:!0,forced:!l||c},{reduce:function(t){return a(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(t,e,i){var n=i("c6b6"),a=i("9263");t.exports=function(t,e){var i=t.exec;if("function"===typeof i){var r=i.call(t,e);if("object"!==typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return a.call(t,e)}},"159b":function(t,e,i){var n=i("da84"),a=i("fdbc"),r=i("17c2"),s=i("9112");for(var o in a){var l=n[o],c=l&&l.prototype;if(c&&c.forEach!==r)try{s(c,"forEach",r)}catch(h){c.forEach=r}}},"166a":function(t,e,i){},"16b7":function(t,e,i){"use strict";i("a9e3");var n=i("2b0e");e["a"]=n["a"].extend().extend({name:"delayable",props:{openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0}},data:function(){return{openTimeout:void 0,closeTimeout:void 0}},methods:{clearDelay:function(){clearTimeout(this.openTimeout),clearTimeout(this.closeTimeout)},runDelay:function(t,e){var i=this;this.clearDelay();var n=parseInt(this["".concat(t,"Delay")],10);this["".concat(t,"Timeout")]=setTimeout(e||function(){i.isActive={open:!0,close:!1}[t]},n)}}})},"17c2":function(t,e,i){"use strict";var n=i("b727").forEach,a=i("a640"),r=a("forEach");t.exports=r?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},1800:function(t,e,i){"use strict";i("4de4");var n=i("2b0e");e["a"]=n["a"].extend({name:"v-list-item-action",functional:!0,render:function(t,e){var i=e.data,n=e.children,a=void 0===n?[]:n;i.staticClass=i.staticClass?"v-list-item__action ".concat(i.staticClass):"v-list-item__action";var r=a.filter((function(t){return!1===t.isComment&&" "!==t.text}));return r.length>1&&(i.staticClass+=" v-list-item__action--stack"),t("div",i,a)}})},"18a5":function(t,e,i){"use strict";var n=i("23e7"),a=i("857a"),r=i("af03");n({target:"String",proto:!0,forced:r("anchor")},{anchor:function(t){return a(this,"a","name",t)}})},"19aa":function(t,e){t.exports=function(t,e,i){if(!(t instanceof e))throw TypeError("Incorrect "+(i?i+" ":"")+"invocation");return t}},"1abc":function(t,e,i){"use strict";var n=i("a797");e["a"]=n["a"]},"1baa":function(t,e,i){"use strict";var n=i("5530"),a=(i("899c"),i("a9e3"),i("4de4"),i("caad"),i("2532"),i("a434"),i("159b"),i("fb6a"),i("7db0"),i("c740"),i("166a"),i("a452")),r=i("7560"),s=i("58df"),o=i("d9bd"),l=Object(s["a"])(a["a"],r["a"]).extend({name:"base-item-group",props:{activeClass:{type:String,default:"v-item--active"},mandatory:Boolean,max:{type:[Number,String],default:null},multiple:Boolean,tag:{type:String,default:"div"}},data:function(){return{internalLazyValue:void 0!==this.value?this.value:this.multiple?[]:void 0,items:[]}},computed:{classes:function(){return Object(n["a"])({"v-item-group":!0},this.themeClasses)},selectedIndex:function(){return this.selectedItem&&this.items.indexOf(this.selectedItem)||-1},selectedItem:function(){if(!this.multiple)return this.selectedItems[0]},selectedItems:function(){var t=this;return this.items.filter((function(e,i){return t.toggleMethod(t.getValue(e,i))}))},selectedValues:function(){return null==this.internalValue?[]:Array.isArray(this.internalValue)?this.internalValue:[this.internalValue]},toggleMethod:function(){var t=this;if(!this.multiple)return function(e){return t.internalValue===e};var e=this.internalValue;return Array.isArray(e)?function(t){return e.includes(t)}:function(){return!1}}},watch:{internalValue:"updateItemsState",items:"updateItemsState"},created:function(){this.multiple&&!Array.isArray(this.internalValue)&&Object(o["c"])("Model must be bound to an array if the multiple property is true.",this)},methods:{genData:function(){return{class:this.classes}},getValue:function(t,e){return null==t.value||""===t.value?e:t.value},onClick:function(t){this.updateInternalValue(this.getValue(t,this.items.indexOf(t)))},register:function(t){var e=this,i=this.items.push(t)-1;t.$on("change",(function(){return e.onClick(t)})),this.mandatory&&!this.selectedValues.length&&this.updateMandatory(),this.updateItem(t,i)},unregister:function(t){if(!this._isDestroyed){var e=this.items.indexOf(t),i=this.getValue(t,e);this.items.splice(e,1);var n=this.selectedValues.indexOf(i);if(!(n<0)){if(!this.mandatory)return this.updateInternalValue(i);this.multiple&&Array.isArray(this.internalValue)?this.internalValue=this.internalValue.filter((function(t){return t!==i})):this.internalValue=void 0,this.selectedItems.length||this.updateMandatory(!0)}}},updateItem:function(t,e){var i=this.getValue(t,e);t.isActive=this.toggleMethod(i)},updateItemsState:function(){var t=this;this.$nextTick((function(){if(t.mandatory&&!t.selectedItems.length)return t.updateMandatory();t.items.forEach(t.updateItem)}))},updateInternalValue:function(t){this.multiple?this.updateMultiple(t):this.updateSingle(t)},updateMandatory:function(t){if(this.items.length){var e=this.items.slice();t&&e.reverse();var i=e.find((function(t){return!t.disabled}));if(i){var n=this.items.indexOf(i);this.updateInternalValue(this.getValue(i,n))}}},updateMultiple:function(t){var e=Array.isArray(this.internalValue)?this.internalValue:[],i=e.slice(),n=i.findIndex((function(e){return e===t}));this.mandatory&&n>-1&&i.length-1<1||null!=this.max&&n<0&&i.length+1>this.max||(n>-1?i.splice(n,1):i.push(t),this.internalValue=i)},updateSingle:function(t){var e=t===this.internalValue;this.mandatory&&e||(this.internalValue=e?void 0:t)}},render:function(t){return t(this.tag,this.genData(),this.$slots.default)}}),c=(l.extend({name:"v-item-group",provide:function(){return{itemGroup:this}}}),i("a9ad"));e["a"]=Object(s["a"])(l,c["a"]).extend({name:"v-list-item-group",provide:function(){return{isInGroup:!0,listItemGroup:this}},computed:{classes:function(){return Object(n["a"])(Object(n["a"])({},l.options.computed.classes.call(this)),{},{"v-list-item-group":!0})}},methods:{genData:function(){return this.setTextColor(this.color,Object(n["a"])(Object(n["a"])({},l.options.methods.genData.call(this)),{},{attrs:{role:"listbox"}}))}}})},"1be4":function(t,e,i){var n=i("d066");t.exports=n("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,i){var n=i("b622"),a=n("iterator"),r=!1;try{var s=0,o={next:function(){return{done:!!s++}},return:function(){r=!0}};o[a]=function(){return this},Array.from(o,(function(){throw 2}))}catch(l){}t.exports=function(t,e){if(!e&&!r)return!1;var i=!1;try{var n={};n[a]=function(){return{next:function(){return{done:i=!0}}}},t(n)}catch(l){}return i}},"1c87":function(t,e,i){"use strict";var n=i("ade3"),a=i("5530"),r=(i("9911"),i("498a"),i("99af"),i("5319"),i("ac1f"),i("2b0e")),s=i("5607"),o=i("80d2");e["a"]=r["a"].extend({name:"routable",directives:{Ripple:s["a"]},props:{activeClass:String,append:Boolean,disabled:Boolean,exact:{type:Boolean,default:void 0},exactActiveClass:String,link:Boolean,href:[String,Object],to:[String,Object],nuxt:Boolean,replace:Boolean,ripple:{type:[Boolean,Object],default:null},tag:String,target:String},data:function(){return{isActive:!1,proxyClass:""}},computed:{classes:function(){var t={};return this.to||(this.activeClass&&(t[this.activeClass]=this.isActive),this.proxyClass&&(t[this.proxyClass]=this.isActive)),t},computedRipple:function(){var t;return null!=(t=this.ripple)?t:!this.disabled&&this.isClickable},isClickable:function(){return!this.disabled&&Boolean(this.isLink||this.$listeners.click||this.$listeners["!click"]||this.$attrs.tabindex)},isLink:function(){return this.to||this.href||this.link},styles:function(){return{}}},watch:{$route:"onRouteChange"},methods:{click:function(t){this.$emit("click",t)},generateRouteLink:function(){var t,e,i=this.exact,r=(t={attrs:{tabindex:"tabindex"in this.$attrs?this.$attrs.tabindex:void 0},class:this.classes,style:this.styles,props:{},directives:[{name:"ripple",value:this.computedRipple}]},Object(n["a"])(t,this.to?"nativeOn":"on",Object(a["a"])(Object(a["a"])({},this.$listeners),{},{click:this.click})),Object(n["a"])(t,"ref","link"),t);if("undefined"===typeof this.exact&&(i="/"===this.to||this.to===Object(this.to)&&"/"===this.to.path),this.to){var s=this.activeClass,o=this.exactActiveClass||s;this.proxyClass&&(s="".concat(s," ").concat(this.proxyClass).trim(),o="".concat(o," ").concat(this.proxyClass).trim()),e=this.nuxt?"nuxt-link":"router-link",Object.assign(r.props,{to:this.to,exact:i,activeClass:s,exactActiveClass:o,append:this.append,replace:this.replace})}else e=(this.href?"a":this.tag)||"div","a"===e&&this.href&&(r.attrs.href=this.href);return this.target&&(r.attrs.target=this.target),{tag:e,data:r}},onRouteChange:function(){var t=this;if(this.to&&this.$refs.link&&this.$route){var e="".concat(this.activeClass," ").concat(this.proxyClass||"").trim(),i="_vnode.data.class.".concat(e);this.$nextTick((function(){Object(o["p"])(t.$refs.link,i)&&t.toggle()}))}},toggle:function(){}}})},"1cdc":function(t,e,i){var n=i("342f");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1da1":function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));i("d3b7");function n(t,e,i,n,a,r,s){try{var o=t[r](s),l=o.value}catch(c){return void i(c)}o.done?e(l):Promise.resolve(l).then(n,a)}function a(t){return function(){var e=this,i=arguments;return new Promise((function(a,r){var s=t.apply(e,i);function o(t){n(s,a,r,o,l,"next",t)}function l(t){n(s,a,r,o,l,"throw",t)}o(void 0)}))}}},"1dde":function(t,e,i){var n=i("d039"),a=i("b622"),r=i("2d00"),s=a("species");t.exports=function(t){return r>=51||!n((function(){var e=[],i=e.constructor={};return i[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"20f6":function(t,e,i){},"21be":function(t,e,i){"use strict";var n=i("2909"),a=(i("99af"),i("caad"),i("2532"),i("2b0e")),r=i("80d2");e["a"]=a["a"].extend().extend({name:"stackable",data:function(){return{stackElement:null,stackExclude:null,stackMinZIndex:0,isActive:!1}},computed:{activeZIndex:function(){if("undefined"===typeof window)return 0;var t=this.stackElement||this.$refs.content,e=this.isActive?this.getMaxZIndex(this.stackExclude||[t])+2:Object(r["u"])(t);return null==e?e:parseInt(e)}},methods:{getMaxZIndex:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=this.$el,i=[this.stackMinZIndex,Object(r["u"])(e)],a=[].concat(Object(n["a"])(document.getElementsByClassName("v-menu__content--active")),Object(n["a"])(document.getElementsByClassName("v-dialog__content--active"))),s=0;sd;d++)if(p=S(t[d]),p&&p instanceof c)return p;return new c(!1)}h=u.call(t)}g=h.next;while(!(v=g.call(h)).done){try{p=S(v.value)}catch(A){throw l(h),A}if("object"==typeof p&&p&&p instanceof c)return p}return new c(!1)}},"22da":function(t,e,i){"use strict";var n=i("490a");e["a"]=n["a"]},"23cb":function(t,e,i){var n=i("a691"),a=Math.max,r=Math.min;t.exports=function(t,e){var i=n(t);return i<0?a(i+e,0):r(i,e)}},"23e7":function(t,e,i){var n=i("da84"),a=i("06cf").f,r=i("9112"),s=i("6eeb"),o=i("ce4e"),l=i("e893"),c=i("94ca");t.exports=function(t,e){var i,h,u,d,f,p,g=t.target,v=t.global,m=t.stat;if(h=v?n:m?n[g]||o(g,{}):(n[g]||{}).prototype,h)for(u in e){if(f=e[u],t.noTargetGet?(p=a(h,u),d=p&&p.value):d=h[u],i=c(v?u:g+(m?".":"#")+u,t.forced),!i&&void 0!==d){if(typeof f===typeof d)continue;l(f,d)}(t.sham||d&&d.sham)&&r(f,"sham",!0),s(h,u,f,t)}}},"241c":function(t,e,i){var n=i("ca84"),a=i("7839"),r=a.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},"24b2":function(t,e,i){"use strict";i("a9e3");var n=i("80d2"),a=i("2b0e");e["a"]=a["a"].extend({name:"measurable",props:{height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},computed:{measurableStyles:function(){var t={},e=Object(n["g"])(this.height),i=Object(n["g"])(this.minHeight),a=Object(n["g"])(this.minWidth),r=Object(n["g"])(this.maxHeight),s=Object(n["g"])(this.maxWidth),o=Object(n["g"])(this.width);return e&&(t.height=e),i&&(t.minHeight=i),a&&(t.minWidth=a),r&&(t.maxHeight=r),s&&(t.maxWidth=s),o&&(t.width=o),t}}})},2532:function(t,e,i){"use strict";var n=i("23e7"),a=i("5a34"),r=i("1d80"),s=i("ab13");n({target:"String",proto:!0,forced:!s("includes")},{includes:function(t){return!!~String(r(this)).indexOf(a(t),arguments.length>1?arguments[1]:void 0)}})},"25a8":function(t,e,i){},"25f0":function(t,e,i){"use strict";var n=i("6eeb"),a=i("825a"),r=i("d039"),s=i("ad6d"),o="toString",l=RegExp.prototype,c=l[o],h=r((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),u=c.name!=o;(h||u)&&n(RegExp.prototype,o,(function(){var t=a(this),e=String(t.source),i=t.flags,n=String(void 0===i&&t instanceof RegExp&&!("flags"in l)?s.call(t):i);return"/"+e+"/"+n}),{unsafe:!0})},2626:function(t,e,i){"use strict";var n=i("d066"),a=i("9bf2"),r=i("b622"),s=i("83ab"),o=r("species");t.exports=function(t){var e=n(t),i=a.f;s&&e&&!e[o]&&i(e,o,{configurable:!0,get:function(){return this}})}},"262e":function(t,e,i){"use strict";function n(t,e){return n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(t,e)}function a(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}i.d(e,"a",(function(){return a}))},2877:function(t,e,i){"use strict";function n(t,e,i,n,a,r,s,o){var l,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):a&&(l=o?function(){a.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var h=c.render;c.render=function(t,e){return l.call(e),h(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:c}}i.d(e,"a",(function(){return n}))},2909:function(t,e,i){"use strict";i.d(e,"a",(function(){return l}));var n=i("6b75");function a(t){if(Array.isArray(t))return Object(n["a"])(t)}i("a4d3"),i("e01a"),i("d3b7"),i("d28b"),i("3ca3"),i("ddb0"),i("a630");function r(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}var s=i("06c5");function o(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(t){return a(t)||r(t)||Object(s["a"])(t)||o()}},"2a62":function(t,e,i){var n=i("825a");t.exports=function(t){var e=t["return"];if(void 0!==e)return n(e.call(t)).value}},"2b0e":function(t,e,i){"use strict";(function(t){ -/*! - * Vue.js v2.6.12 - * (c) 2014-2020 Evan You - * Released under the MIT License. - */ -var i=Object.freeze({});function n(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function r(t){return!0===t}function s(t){return!1===t}function o(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function l(t){return null!==t&&"object"===typeof t}var c=Object.prototype.toString;function h(t){return"[object Object]"===c.call(t)}function u(t){return"[object RegExp]"===c.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var i=Object.create(null),n=t.split(","),a=0;a-1)return t.splice(i,1)}}var x=Object.prototype.hasOwnProperty;function y(t,e){return x.call(t,e)}function w(t){var e=Object.create(null);return function(i){var n=e[i];return n||(e[i]=t(i))}}var k=/-(\w)/g,S=w((function(t){return t.replace(k,(function(t,e){return e?e.toUpperCase():""}))})),A=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),C=/\B([A-Z])/g,L=w((function(t){return t.replace(C,"-$1").toLowerCase()}));function O(t,e){function i(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}return i._length=t.length,i}function _(t,e){return t.bind(e)}var T=Function.prototype.bind?_:O;function E(t,e){e=e||0;var i=t.length-e,n=new Array(i);while(i--)n[i]=t[i+e];return n}function P(t,e){for(var i in e)t[i]=e[i];return t}function I(t){for(var e={},i=0;i0,it=Q&&Q.indexOf("edge/")>0,nt=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===J),at=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),rt={}.watch,st=!1;if(Z)try{var ot={};Object.defineProperty(ot,"passive",{get:function(){st=!0}}),window.addEventListener("test-passive",null,ot)}catch(ks){}var lt=function(){return void 0===U&&(U=!Z&&!K&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),U},ct=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ht(t){return"function"===typeof t&&/native code/.test(t.toString())}var ut,dt="undefined"!==typeof Symbol&&ht(Symbol)&&"undefined"!==typeof Reflect&&ht(Reflect.ownKeys);ut="undefined"!==typeof Set&&ht(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=M,pt=0,gt=function(){this.id=pt++,this.subs=[]};gt.prototype.addSub=function(t){this.subs.push(t)},gt.prototype.removeSub=function(t){b(this.subs,t)},gt.prototype.depend=function(){gt.target&>.target.addDep(this)},gt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,i=t.length;e-1)if(r&&!y(a,"default"))s=!1;else if(""===s||s===L(t)){var l=te(String,a.type);(l<0||o0&&(s=Oe(s,(e||"")+"_"+i),Le(s[0])&&Le(c)&&(h[l]=kt(c.text+s[0].text),s.shift()),h.push.apply(h,s)):o(s)?Le(c)?h[l]=kt(c.text+s):""!==s&&h.push(kt(s)):Le(s)&&Le(c)?h[l]=kt(c.text+s.text):(r(t._isVList)&&a(s.tag)&&n(s.key)&&a(e)&&(s.key="__vlist"+e+"_"+i+"__"),h.push(s)));return h}function _e(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Te(t){var e=Ee(t.$options.inject,t);e&&(Tt(!1),Object.keys(e).forEach((function(i){zt(t,i,e[i])})),Tt(!0))}function Ee(t,e){if(t){for(var i=Object.create(null),n=dt?Reflect.ownKeys(t):Object.keys(t),a=0;a0,s=t?!!t.$stable:!r,o=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&n&&n!==i&&o===n.$key&&!r&&!n.$hasNormal)return n;for(var l in a={},t)t[l]&&"$"!==l[0]&&(a[l]=ze(e,l,t[l]))}else a={};for(var c in e)c in a||(a[c]=je(e,c));return t&&Object.isExtensible(t)&&(t._normalized=a),$(a,"$stable",s),$(a,"$key",o),$(a,"$hasNormal",r),a}function ze(t,e,i){var n=function(){var t=arguments.length?i.apply(null,arguments):i({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Ce(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return i.proxy&&Object.defineProperty(t,e,{get:n,enumerable:!0,configurable:!0}),n}function je(t,e){return function(){return t[e]}}function Fe(t,e){var i,n,r,s,o;if(Array.isArray(t)||"string"===typeof t)for(i=new Array(t.length),n=0,r=t.length;n1?E(i):i;for(var n=E(arguments,1),a='event handler for "'+t+'"',r=0,s=i.length;rdocument.createEvent("Event").timeStamp&&(Gi=function(){return Ui.now()})}function qi(){var t,e;for(Vi=Gi(),Yi=!0,Di.sort((function(t,e){return t.id-e.id})),Wi=0;WiWi&&Di[i].id>t.id)i--;Di.splice(i+1,0,t)}else Di.push(t);Bi||(Bi=!0,pe(qi))}}var tn=0,en=function(t,e,i,n,a){this.vm=t,a&&(t._watcher=this),t._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=i,this.id=++tn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ut,this.newDepIds=new ut,this.expression="","function"===typeof e?this.getter=e:(this.getter=G(e),this.getter||(this.getter=M)),this.value=this.lazy?void 0:this.get()};en.prototype.get=function(){var t;mt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(ks){if(!this.user)throw ks;ee(ks,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ve(t),bt(),this.cleanupDeps()}return t},en.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},en.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var i=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},en.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Qi(this)},en.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(ks){ee(ks,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},en.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},en.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},en.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var nn={enumerable:!0,configurable:!0,get:M,set:M};function an(t,e,i){nn.get=function(){return this[e][i]},nn.set=function(t){this[e][i]=t},Object.defineProperty(t,i,nn)}function rn(t){t._watchers=[];var e=t.$options;e.props&&sn(t,e.props),e.methods&&pn(t,e.methods),e.data?on(t):Mt(t._data={},!0),e.computed&&hn(t,e.computed),e.watch&&e.watch!==rt&&gn(t,e.watch)}function sn(t,e){var i=t.$options.propsData||{},n=t._props={},a=t.$options._propKeys=[],r=!t.$parent;r||Tt(!1);var s=function(r){a.push(r);var s=Zt(r,e,i,t);zt(n,r,s),r in t||an(t,"_props",r)};for(var o in e)s(o);Tt(!0)}function on(t){var e=t.$options.data;e=t._data="function"===typeof e?ln(e,t):e||{},h(e)||(e={});var i=Object.keys(e),n=t.$options.props,a=(t.$options.methods,i.length);while(a--){var r=i[a];0,n&&y(n,r)||W(r)||an(t,"_data",r)}Mt(e,!0)}function ln(t,e){mt();try{return t.call(e,e)}catch(ks){return ee(ks,e,"data()"),{}}finally{bt()}}var cn={lazy:!0};function hn(t,e){var i=t._computedWatchers=Object.create(null),n=lt();for(var a in e){var r=e[a],s="function"===typeof r?r:r.get;0,n||(i[a]=new en(t,s||M,M,cn)),a in t||un(t,a,r)}}function un(t,e,i){var n=!lt();"function"===typeof i?(nn.get=n?dn(e):fn(i),nn.set=M):(nn.get=i.get?n&&!1!==i.cache?dn(e):fn(i.get):M,nn.set=i.set||M),Object.defineProperty(t,e,nn)}function dn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),gt.target&&e.depend(),e.value}}function fn(t){return function(){return t.call(this,this)}}function pn(t,e){t.$options.props;for(var i in e)t[i]="function"!==typeof e[i]?M:T(e[i],t)}function gn(t,e){for(var i in e){var n=e[i];if(Array.isArray(n))for(var a=0;a-1)return this;var i=E(arguments,1);return i.unshift(this),"function"===typeof t.install?t.install.apply(t,i):"function"===typeof t&&t.apply(null,i),e.push(t),this}}function Cn(t){t.mixin=function(t){return this.options=Ut(this.options,t),this}}function Ln(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var i=this,n=i.cid,a=t._Ctor||(t._Ctor={});if(a[n])return a[n];var r=t.name||i.options.name;var s=function(t){this._init(t)};return s.prototype=Object.create(i.prototype),s.prototype.constructor=s,s.cid=e++,s.options=Ut(i.options,t),s["super"]=i,s.options.props&&On(s),s.options.computed&&_n(s),s.extend=i.extend,s.mixin=i.mixin,s.use=i.use,X.forEach((function(t){s[t]=i[t]})),r&&(s.options.components[r]=s),s.superOptions=i.options,s.extendOptions=t,s.sealedOptions=P({},s.options),a[n]=s,s}}function On(t){var e=t.options.props;for(var i in e)an(t.prototype,"_props",i)}function _n(t){var e=t.options.computed;for(var i in e)un(t.prototype,i,e[i])}function Tn(t){X.forEach((function(e){t[e]=function(t,i){return i?("component"===e&&h(i)&&(i.name=i.name||t,i=this.options._base.extend(i)),"directive"===e&&"function"===typeof i&&(i={bind:i,update:i}),this.options[e+"s"][t]=i,i):this.options[e+"s"][t]}}))}function En(t){return t&&(t.Ctor.options.name||t.tag)}function Pn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!u(t)&&t.test(e)}function In(t,e){var i=t.cache,n=t.keys,a=t._vnode;for(var r in i){var s=i[r];if(s){var o=En(s.componentOptions);o&&!e(o)&&Mn(i,r,n,a)}}}function Mn(t,e,i,n){var a=t[e];!a||n&&a.tag===n.tag||a.componentInstance.$destroy(),t[e]=null,b(i,e)}xn(Sn),mn(Sn),_i(Sn),Ii(Sn),mi(Sn);var zn=[String,RegExp,Array],jn={name:"keep-alive",abstract:!0,props:{include:zn,exclude:zn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Mn(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){In(t,(function(t){return Pn(e,t)}))})),this.$watch("exclude",(function(e){In(t,(function(t){return!Pn(e,t)}))}))},render:function(){var t=this.$slots.default,e=ki(t),i=e&&e.componentOptions;if(i){var n=En(i),a=this,r=a.include,s=a.exclude;if(r&&(!n||!Pn(r,n))||s&&n&&Pn(s,n))return e;var o=this,l=o.cache,c=o.keys,h=null==e.key?i.Ctor.cid+(i.tag?"::"+i.tag:""):e.key;l[h]?(e.componentInstance=l[h].componentInstance,b(c,h),c.push(h)):(l[h]=e,c.push(h),this.max&&c.length>parseInt(this.max)&&Mn(l,c[0],c,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Fn={KeepAlive:jn};function Rn(t){var e={get:function(){return B}};Object.defineProperty(t,"config",e),t.util={warn:ft,extend:P,mergeOptions:Ut,defineReactive:zt},t.set=jt,t.delete=Ft,t.nextTick=pe,t.observable=function(t){return Mt(t),t},t.options=Object.create(null),X.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,P(t.options.components,Fn),An(t),Cn(t),Ln(t),Tn(t)}Rn(Sn),Object.defineProperty(Sn.prototype,"$isServer",{get:lt}),Object.defineProperty(Sn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Sn,"FunctionalRenderContext",{value:Ke}),Sn.version="2.6.12";var Nn=v("style,class"),Dn=v("input,textarea,option,select,progress"),Xn=function(t,e,i){return"value"===i&&Dn(t)&&"button"!==e||"selected"===i&&"option"===t||"checked"===i&&"input"===t||"muted"===i&&"video"===t},Hn=v("contenteditable,draggable,spellcheck"),Bn=v("events,caret,typing,plaintext-only"),Yn=function(t,e){return Un(e)||"false"===e?"false":"contenteditable"===t&&Bn(e)?e:"true"},Wn=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),$n="http://www.w3.org/1999/xlink",Vn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Gn=function(t){return Vn(t)?t.slice(6,t.length):""},Un=function(t){return null==t||!1===t};function qn(t){var e=t.data,i=t,n=t;while(a(n.componentInstance))n=n.componentInstance._vnode,n&&n.data&&(e=Zn(n.data,e));while(a(i=i.parent))i&&i.data&&(e=Zn(e,i.data));return Kn(e.staticClass,e.class)}function Zn(t,e){return{staticClass:Jn(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Kn(t,e){return a(t)||a(e)?Jn(t,Qn(e)):""}function Jn(t,e){return t?e?t+" "+e:t:e||""}function Qn(t){return Array.isArray(t)?ta(t):l(t)?ea(t):"string"===typeof t?t:""}function ta(t){for(var e,i="",n=0,r=t.length;n-1?oa[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:oa[t]=/HTMLUnknownElement/.test(e.toString())}var ca=v("text,number,password,search,email,tel,url");function ha(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function ua(t,e){var i=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&i.setAttribute("multiple","multiple"),i}function da(t,e){return document.createElementNS(ia[t],e)}function fa(t){return document.createTextNode(t)}function pa(t){return document.createComment(t)}function ga(t,e,i){t.insertBefore(e,i)}function va(t,e){t.removeChild(e)}function ma(t,e){t.appendChild(e)}function ba(t){return t.parentNode}function xa(t){return t.nextSibling}function ya(t){return t.tagName}function wa(t,e){t.textContent=e}function ka(t,e){t.setAttribute(e,"")}var Sa=Object.freeze({createElement:ua,createElementNS:da,createTextNode:fa,createComment:pa,insertBefore:ga,removeChild:va,appendChild:ma,parentNode:ba,nextSibling:xa,tagName:ya,setTextContent:wa,setStyleScope:ka}),Aa={create:function(t,e){Ca(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ca(t,!0),Ca(e))},destroy:function(t){Ca(t,!0)}};function Ca(t,e){var i=t.data.ref;if(a(i)){var n=t.context,r=t.componentInstance||t.elm,s=n.$refs;e?Array.isArray(s[i])?b(s[i],r):s[i]===r&&(s[i]=void 0):t.data.refInFor?Array.isArray(s[i])?s[i].indexOf(r)<0&&s[i].push(r):s[i]=[r]:s[i]=r}}var La=new xt("",{},[]),Oa=["create","activate","update","remove","destroy"];function _a(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&Ta(t,e)||r(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function Ta(t,e){if("input"!==t.tag)return!0;var i,n=a(i=t.data)&&a(i=i.attrs)&&i.type,r=a(i=e.data)&&a(i=i.attrs)&&i.type;return n===r||ca(n)&&ca(r)}function Ea(t,e,i){var n,r,s={};for(n=e;n<=i;++n)r=t[n].key,a(r)&&(s[r]=n);return s}function Pa(t){var e,i,s={},l=t.modules,c=t.nodeOps;for(e=0;eg?(u=n(i[b+1])?null:i[b+1].elm,S(t,u,i,p,b,r)):p>b&&C(e,d,g)}function _(t,e,i,n){for(var r=i;r-1?Ba(t,e,i):Wn(e)?Un(i)?t.removeAttribute(e):(i="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,i)):Hn(e)?t.setAttribute(e,Yn(e,i)):Vn(e)?Un(i)?t.removeAttributeNS($n,Gn(e)):t.setAttributeNS($n,e,i):Ba(t,e,i)}function Ba(t,e,i){if(Un(i))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==i&&!t.__ieph){var n=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,i)}}var Ya={create:Xa,update:Xa};function Wa(t,e){var i=e.elm,r=e.data,s=t.data;if(!(n(r.staticClass)&&n(r.class)&&(n(s)||n(s.staticClass)&&n(s.class)))){var o=qn(e),l=i._transitionClasses;a(l)&&(o=Jn(o,Qn(l))),o!==i._prevClass&&(i.setAttribute("class",o),i._prevClass=o)}}var $a,Va={create:Wa,update:Wa},Ga="__r",Ua="__c";function qa(t){if(a(t[Ga])){var e=tt?"change":"input";t[e]=[].concat(t[Ga],t[e]||[]),delete t[Ga]}a(t[Ua])&&(t.change=[].concat(t[Ua],t.change||[]),delete t[Ua])}function Za(t,e,i){var n=$a;return function a(){var r=e.apply(null,arguments);null!==r&&Qa(t,a,i,n)}}var Ka=se&&!(at&&Number(at[1])<=53);function Ja(t,e,i,n){if(Ka){var a=Vi,r=e;e=r._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=a||t.timeStamp<=0||t.target.ownerDocument!==document)return r.apply(this,arguments)}}$a.addEventListener(t,e,st?{capture:i,passive:n}:i)}function Qa(t,e,i,n){(n||$a).removeEventListener(t,e._wrapper||e,i)}function tr(t,e){if(!n(t.data.on)||!n(e.data.on)){var i=e.data.on||{},a=t.data.on||{};$a=e.elm,qa(i),ye(i,a,Ja,Qa,Za,e.context),$a=void 0}}var er,ir={create:tr,update:tr};function nr(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var i,r,s=e.elm,o=t.data.domProps||{},l=e.data.domProps||{};for(i in a(l.__ob__)&&(l=e.data.domProps=P({},l)),o)i in l||(s[i]="");for(i in l){if(r=l[i],"textContent"===i||"innerHTML"===i){if(e.children&&(e.children.length=0),r===o[i])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===i&&"PROGRESS"!==s.tagName){s._value=r;var c=n(r)?"":String(r);ar(s,c)&&(s.value=c)}else if("innerHTML"===i&&aa(s.tagName)&&n(s.innerHTML)){er=er||document.createElement("div"),er.innerHTML=""+r+"";var h=er.firstChild;while(s.firstChild)s.removeChild(s.firstChild);while(h.firstChild)s.appendChild(h.firstChild)}else if(r!==o[i])try{s[i]=r}catch(ks){}}}}function ar(t,e){return!t.composing&&("OPTION"===t.tagName||rr(t,e)||sr(t,e))}function rr(t,e){var i=!0;try{i=document.activeElement!==t}catch(ks){}return i&&t.value!==e}function sr(t,e){var i=t.value,n=t._vModifiers;if(a(n)){if(n.number)return g(i)!==g(e);if(n.trim)return i.trim()!==e.trim()}return i!==e}var or={create:nr,update:nr},lr=w((function(t){var e={},i=/;(?![^(]*\))/g,n=/:(.+)/;return t.split(i).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function cr(t){var e=hr(t.style);return t.staticStyle?P(t.staticStyle,e):e}function hr(t){return Array.isArray(t)?I(t):"string"===typeof t?lr(t):t}function ur(t,e){var i,n={};if(e){var a=t;while(a.componentInstance)a=a.componentInstance._vnode,a&&a.data&&(i=cr(a.data))&&P(n,i)}(i=cr(t.data))&&P(n,i);var r=t;while(r=r.parent)r.data&&(i=cr(r.data))&&P(n,i);return n}var dr,fr=/^--/,pr=/\s*!important$/,gr=function(t,e,i){if(fr.test(e))t.style.setProperty(e,i);else if(pr.test(i))t.style.setProperty(L(e),i.replace(pr,""),"important");else{var n=mr(e);if(Array.isArray(i))for(var a=0,r=i.length;a-1?e.split(yr).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var i=" "+(t.getAttribute("class")||"")+" ";i.indexOf(" "+e+" ")<0&&t.setAttribute("class",(i+e).trim())}}function kr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(yr).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var i=" "+(t.getAttribute("class")||"")+" ",n=" "+e+" ";while(i.indexOf(n)>=0)i=i.replace(n," ");i=i.trim(),i?t.setAttribute("class",i):t.removeAttribute("class")}}function Sr(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&P(e,Ar(t.name||"v")),P(e,t),e}return"string"===typeof t?Ar(t):void 0}}var Ar=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Cr=Z&&!et,Lr="transition",Or="animation",_r="transition",Tr="transitionend",Er="animation",Pr="animationend";Cr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(_r="WebkitTransition",Tr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Er="WebkitAnimation",Pr="webkitAnimationEnd"));var Ir=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Mr(t){Ir((function(){Ir(t)}))}function zr(t,e){var i=t._transitionClasses||(t._transitionClasses=[]);i.indexOf(e)<0&&(i.push(e),wr(t,e))}function jr(t,e){t._transitionClasses&&b(t._transitionClasses,e),kr(t,e)}function Fr(t,e,i){var n=Nr(t,e),a=n.type,r=n.timeout,s=n.propCount;if(!a)return i();var o=a===Lr?Tr:Pr,l=0,c=function(){t.removeEventListener(o,h),i()},h=function(e){e.target===t&&++l>=s&&c()};setTimeout((function(){l0&&(i=Lr,h=s,u=r.length):e===Or?c>0&&(i=Or,h=c,u=l.length):(h=Math.max(s,c),i=h>0?s>c?Lr:Or:null,u=i?i===Lr?r.length:l.length:0);var d=i===Lr&&Rr.test(n[_r+"Property"]);return{type:i,timeout:h,propCount:u,hasTransform:d}}function Dr(t,e){while(t.length1}function $r(t,e){!0!==e.data.show&&Hr(e)}var Vr=Z?{create:$r,activate:$r,remove:function(t,e){!0!==t.data.show?Br(t,e):e()}}:{},Gr=[Ya,Va,ir,or,xr,Vr],Ur=Gr.concat(Da),qr=Pa({nodeOps:Sa,modules:Ur});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ns(t,"input")}));var Zr={inserted:function(t,e,i,n){"select"===i.tag?(n.elm&&!n.elm._vOptions?we(i,"postpatch",(function(){Zr.componentUpdated(t,e,i)})):Kr(t,e,i.context),t._vOptions=[].map.call(t.options,ts)):("textarea"===i.tag||ca(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",es),t.addEventListener("compositionend",is),t.addEventListener("change",is),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,i){if("select"===i.tag){Kr(t,e,i.context);var n=t._vOptions,a=t._vOptions=[].map.call(t.options,ts);if(a.some((function(t,e){return!F(t,n[e])}))){var r=t.multiple?e.value.some((function(t){return Qr(t,a)})):e.value!==e.oldValue&&Qr(e.value,a);r&&ns(t,"change")}}}};function Kr(t,e,i){Jr(t,e,i),(tt||it)&&setTimeout((function(){Jr(t,e,i)}),0)}function Jr(t,e,i){var n=e.value,a=t.multiple;if(!a||Array.isArray(n)){for(var r,s,o=0,l=t.options.length;o-1,s.selected!==r&&(s.selected=r);else if(F(ts(s),n))return void(t.selectedIndex!==o&&(t.selectedIndex=o));a||(t.selectedIndex=-1)}}function Qr(t,e){return e.every((function(e){return!F(e,t)}))}function ts(t){return"_value"in t?t._value:t.value}function es(t){t.target.composing=!0}function is(t){t.target.composing&&(t.target.composing=!1,ns(t.target,"input"))}function ns(t,e){var i=document.createEvent("HTMLEvents");i.initEvent(e,!0,!0),t.dispatchEvent(i)}function as(t){return!t.componentInstance||t.data&&t.data.transition?t:as(t.componentInstance._vnode)}var rs={bind:function(t,e,i){var n=e.value;i=as(i);var a=i.data&&i.data.transition,r=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;n&&a?(i.data.show=!0,Hr(i,(function(){t.style.display=r}))):t.style.display=n?r:"none"},update:function(t,e,i){var n=e.value,a=e.oldValue;if(!n!==!a){i=as(i);var r=i.data&&i.data.transition;r?(i.data.show=!0,n?Hr(i,(function(){t.style.display=t.__vOriginalDisplay})):Br(i,(function(){t.style.display="none"}))):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,e,i,n,a){a||(t.style.display=t.__vOriginalDisplay)}},ss={model:Zr,show:rs},os={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ls(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ls(ki(e.children)):t}function cs(t){var e={},i=t.$options;for(var n in i.propsData)e[n]=t[n];var a=i._parentListeners;for(var r in a)e[S(r)]=a[r];return e}function hs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function us(t){while(t=t.parent)if(t.data.transition)return!0}function ds(t,e){return e.key===t.key&&e.tag===t.tag}var fs=function(t){return t.tag||wi(t)},ps=function(t){return"show"===t.name},gs={name:"transition",props:os,abstract:!0,render:function(t){var e=this,i=this.$slots.default;if(i&&(i=i.filter(fs),i.length)){0;var n=this.mode;0;var a=i[0];if(us(this.$vnode))return a;var r=ls(a);if(!r)return a;if(this._leaving)return hs(t,a);var s="__transition-"+this._uid+"-";r.key=null==r.key?r.isComment?s+"comment":s+r.tag:o(r.key)?0===String(r.key).indexOf(s)?r.key:s+r.key:r.key;var l=(r.data||(r.data={})).transition=cs(this),c=this._vnode,h=ls(c);if(r.data.directives&&r.data.directives.some(ps)&&(r.data.show=!0),h&&h.data&&!ds(r,h)&&!wi(h)&&(!h.componentInstance||!h.componentInstance._vnode.isComment)){var u=h.data.transition=P({},l);if("out-in"===n)return this._leaving=!0,we(u,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),hs(t,a);if("in-out"===n){if(wi(r))return c;var d,f=function(){d()};we(l,"afterEnter",f),we(l,"enterCancelled",f),we(u,"delayLeave",(function(t){d=t}))}}return a}}},vs=P({tag:String,moveClass:String},os);delete vs.mode;var ms={props:vs,beforeMount:function(){var t=this,e=this._update;this._update=function(i,n){var a=Ei(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,a(),e.call(t,i,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",i=Object.create(null),n=this.prevChildren=this.children,a=this.$slots.default||[],r=this.children=[],s=cs(this),o=0;o1?arguments[1]:void 0,e.length)),n=String(t);return h?h.call(e,n,i):e.slice(i,i+n.length)===n}})},"2caf":function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));i("4ae1"),i("3410");function n(t){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(t)}function a(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}var r=i("99de");function s(t){var e=a();return function(){var i,a=n(t);if(e){var s=n(this).constructor;i=Reflect.construct(a,arguments,s)}else i=a.apply(this,arguments);return Object(r["a"])(this,i)}}},"2cf4":function(t,e,i){var n,a,r,s=i("da84"),o=i("d039"),l=i("0366"),c=i("1be4"),h=i("cc12"),u=i("1cdc"),d=i("605d"),f=s.location,p=s.setImmediate,g=s.clearImmediate,v=s.process,m=s.MessageChannel,b=s.Dispatch,x=0,y={},w="onreadystatechange",k=function(t){if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},S=function(t){return function(){k(t)}},A=function(t){k(t.data)},C=function(t){s.postMessage(t+"",f.protocol+"//"+f.host)};p&&g||(p=function(t){var e=[],i=1;while(arguments.length>i)e.push(arguments[i++]);return y[++x]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(x),x},g=function(t){delete y[t]},d?n=function(t){v.nextTick(S(t))}:b&&b.now?n=function(t){b.now(S(t))}:m&&!u?(a=new m,r=a.port2,a.port1.onmessage=A,n=l(r.postMessage,r,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts&&f&&"file:"!==f.protocol&&!o(C)?(n=C,s.addEventListener("message",A,!1)):n=w in h("script")?function(t){c.appendChild(h("script"))[w]=function(){c.removeChild(this),k(t)}}:function(t){setTimeout(S(t),0)}),t.exports={set:p,clear:g}},"2d00":function(t,e,i){var n,a,r=i("da84"),s=i("342f"),o=r.process,l=o&&o.versions,c=l&&l.v8;c?(n=c.split("."),a=n[0]+n[1]):s&&(n=s.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/),n&&(a=n[1]))),t.exports=a&&+a},"2fa4":function(t,e,i){"use strict";i("20f6");var n=i("80d2");e["a"]=Object(n["i"])("spacer","div","v-spacer")},3206:function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return l}));var n=i("ade3"),a=(i("99af"),i("2b0e")),r=i("d9bd");function s(t,e){return function(){return Object(r["c"])("The ".concat(t," component must be used inside a ").concat(e))}}function o(t,e,i){var r=e&&i?{register:s(e,i),unregister:s(e,i)}:null;return a["a"].extend({name:"registrable-inject",inject:Object(n["a"])({},t,{default:r})})}function l(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a["a"].extend({name:"registrable-provide",provide:function(){return Object(n["a"])({},t,e?this:{register:this.register,unregister:this.unregister})}})}},3408:function(t,e,i){},3410:function(t,e,i){var n=i("23e7"),a=i("d039"),r=i("7b0b"),s=i("e163"),o=i("e177"),l=a((function(){s(1)}));n({target:"Object",stat:!0,forced:l,sham:!o},{getPrototypeOf:function(t){return s(r(t))}})},"342f":function(t,e,i){var n=i("d066");t.exports=n("navigator","userAgent")||""},"34c3":function(t,e,i){"use strict";i("498a");var n=i("2b0e");e["a"]=n["a"].extend({name:"v-list-item-icon",functional:!0,render:function(t,e){var i=e.data,n=e.children;return i.staticClass="v-list-item__icon ".concat(i.staticClass||"").trim(),t("div",i,n)}})},"35a1":function(t,e,i){var n=i("f5df"),a=i("3f8c"),r=i("b622"),s=r("iterator");t.exports=function(t){if(void 0!=t)return t[s]||t["@@iterator"]||a[n(t)]}},"36a7":function(t,e,i){},"37e8":function(t,e,i){var n=i("83ab"),a=i("9bf2"),r=i("825a"),s=i("df75");t.exports=n?Object.defineProperties:function(t,e){r(t);var i,n=s(e),o=n.length,l=0;while(o>l)a.f(t,i=n[l++],e[i]);return t}},3835:function(t,e,i){"use strict";function n(t){if(Array.isArray(t))return t}i.d(e,"a",(function(){return o}));i("a4d3"),i("e01a"),i("d3b7"),i("d28b"),i("3ca3"),i("ddb0");function a(t,e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t)){var i=[],n=!0,a=!1,r=void 0;try{for(var s,o=t[Symbol.iterator]();!(n=(s=o.next()).done);n=!0)if(i.push(s.value),e&&i.length===e)break}catch(l){a=!0,r=l}finally{try{n||null==o["return"]||o["return"]()}finally{if(a)throw r}}return i}}var r=i("06c5");function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(t,e){return n(t)||a(t,e)||Object(r["a"])(t,e)||s()}},"38cf":function(t,e,i){var n=i("23e7"),a=i("1148");n({target:"String",proto:!0},{repeat:a})},"3a2f":function(t,e,i){"use strict";var n=i("ade3"),a=(i("a9e3"),i("9734"),i("4ad4")),r=i("a9ad"),s=i("16b7"),o=i("b848"),l=i("75eb"),c=i("f573"),h=i("f2e7"),u=i("80d2"),d=i("d9bd"),f=i("58df");e["a"]=Object(f["a"])(r["a"],s["a"],o["a"],l["a"],c["a"],h["a"]).extend({name:"v-tooltip",props:{closeDelay:{type:[Number,String],default:0},disabled:Boolean,fixed:{type:Boolean,default:!0},openDelay:{type:[Number,String],default:0},openOnHover:{type:Boolean,default:!0},tag:{type:String,default:"span"},transition:String},data:function(){return{calculatedMinWidth:0,closeDependents:!1}},computed:{calculatedLeft:function(){var t=this.dimensions,e=t.activator,i=t.content,n=!this.bottom&&!this.left&&!this.top&&!this.right,a=!1!==this.attach?e.offsetLeft:e.left,r=0;return this.top||this.bottom||n?r=a+e.width/2-i.width/2:(this.left||this.right)&&(r=a+(this.right?e.width:-i.width)+(this.right?10:-10)),this.nudgeLeft&&(r-=parseInt(this.nudgeLeft)),this.nudgeRight&&(r+=parseInt(this.nudgeRight)),"".concat(this.calcXOverflow(r,this.dimensions.content.width),"px")},calculatedTop:function(){var t=this.dimensions,e=t.activator,i=t.content,n=!1!==this.attach?e.offsetTop:e.top,a=0;return this.top||this.bottom?a=n+(this.bottom?e.height:-i.height)+(this.bottom?10:-10):(this.left||this.right)&&(a=n+e.height/2-i.height/2),this.nudgeTop&&(a-=parseInt(this.nudgeTop)),this.nudgeBottom&&(a+=parseInt(this.nudgeBottom)),"".concat(this.calcYOverflow(a+this.pageYOffset),"px")},classes:function(){return{"v-tooltip--top":this.top,"v-tooltip--right":this.right,"v-tooltip--bottom":this.bottom,"v-tooltip--left":this.left,"v-tooltip--attached":""===this.attach||!0===this.attach||"attach"===this.attach}},computedTransition:function(){return this.transition?this.transition:this.isActive?"scale-transition":"fade-transition"},offsetY:function(){return this.top||this.bottom},offsetX:function(){return this.left||this.right},styles:function(){return{left:this.calculatedLeft,maxWidth:Object(u["g"])(this.maxWidth),minWidth:Object(u["g"])(this.minWidth),opacity:this.isActive?.9:0,top:this.calculatedTop,zIndex:this.zIndex||this.activeZIndex}}},beforeMount:function(){var t=this;this.$nextTick((function(){t.value&&t.callActivate()}))},mounted:function(){"v-slot"===Object(u["t"])(this,"activator",!0)&&Object(d["b"])("v-tooltip's activator slot must be bound, try '