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A8B,CAC7B,KACA,MAED,mBAAoB,CACnB,KACA,KACA,MAED,uBAAwB,CACvB,KACA,KACA,MAED,0BAA2B,CAC1B,IACA,KACA,KAED,2BAA4B,CAC3B,KACA,KACA,MAED,mBAAoB,CACnB,KACA,KACA,MAED,mBAAoB,CACnB,KACA,MAED,kBAAmB,CAClB,KACA,MAED,qBAAsB,CACrB,MAED,gBAAiB,CAChB,KACA,KACA,KACA,MAED,mBAAoB,CACnB,KACA,KACA,KACA,KACA,MAED,gBAAiB,CAChB,KACA,KACA,KACA,KACA,MAED,uBAAwB,CACvB,KACA,KACA,KACA,KACA,KACA,MAED,mBAAoB,CACnB,KACA,KACA,KACA,KACA,KACA,MAED,yBAA0B,CACzB,KACA,KACA,KACA,KACA,KACA,MAED,mBAAoB,CACnB,KACA,KACA,KACA,KACA,KACA,MAED,gBAAiB,CAChB,KACA,KACA,KACA,MAED,mBAAoB,CACnB,KACA,KACA,KACA,KACA,MAED,wBAAyB,CACxB,KACA,KACA,KACA,MAED,uBAAwB,CACvB,KACA,KACA,KACA,KACA,MAED,mBAAoB,CACnB,KACA,KACA,KACA,MAED,mBAAoB,CACnB,MAED,gBAAiB,CAChB,IACA,KAED,kBAAmB,CAClB,KACA,KACA,KACA,MAED,cAAe,CACd,KACA,KACA,MAED,oBAAqB,CACpB,KACA,KACA,MAED,sBAAuB,CACtB,KACA,MAED,qBAAsB,CACrB,KACA,KACA,KACA,MAED,gBAAiB,CAChB,KACA,KACA,KACA,KACA,MAED,oBAAqB,CACpB,KACA,KACA,KACA,KACA,OAGF,SAAS4X,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAE/X,EAAK6X,GAC9B,OAAOnS,QAAQkC,UAAUG,MAAK,WAC7B,IAAIhQ,EAAI,IAAIigB,MAAM,uBAAyBH,EAAM,KAEjD,MADA9f,EAAEc,KAAO,mBACHd,CACP,IAGD,IAAIkgB,EAAMjY,EAAI6X,GAAMzkB,EAAK6kB,EAAI,GAC7B,OAAOvS,QAAQC,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W,IAAI,CACrE,IAAIilB,KAAYuF,EACZ9F,EAAoBC,EAAE6F,EAAavF,KACrCP,EAAoBlM,EAAEyM,GAAYuF,EAAYvF,IAGhD,GAAGwF,EAAS,IAAIlF,EAASkF,EAAQ/F,EAClC,CAEA,IADG6F,GAA4BA,EAA2BvnB,GACrD6H,EAAI2a,EAAShf,OAAQqE,IACzBoc,EAAUzB,EAAS3a,GAChB6Z,EAAoBC,EAAEqF,EAAiB/C,IAAY+C,EAAgB/C,IACrE+C,EAAgB/C,GAAS,KAE1B+C,EAAgB/C,GAAW,EAE5B,OAAOvC,EAAoBY,EAAEC,EAC9B,EAEIoF,EAAqBriB,KAAK,yBAA2BA,KAAK,0BAA4B,GAC1FqiB,EAAmB9Y,QAAQyY,EAAqBjnB,KAAK,KAAM,IAC3DsnB,EAAmB7lB,KAAOwlB,EAAqBjnB,KAAK,KAAMsnB,EAAmB7lB,KAAKzB,KAAKsnB,G,ICpFvF,IAAIC,EAAsBlG,EAAoBY,OAAE/f,EAAW,CAAC,OAAO,WAAa,OAAOmf,EAAoB,KAAO,IAClHkG,EAAsBlG,EAAoBY,EAAEsF,E","sources":["webpack://platypush/./src/bus.js","webpack://platypush/./src/App.vue","webpack://platypush/./src/components/Notifications.vue","webpack://platypush/./src/components/Notification.vue","webpack://platypush/./src/components/Notification.vue?deb2","webpack://platypush/./src/components/Notifications.vue?e79f","webpack://platypush/./src/Events.vue","webpack://platypush/./src/Events.vue?0562","webpack://platypush/./src/components/VoiceAssistant.vue","webpack://platypush/./src/components/VoiceAssistant.vue?e102","webpack://platypush/./src/components/Ntfy.vue","webpack://platypush/./src/components/Ntfy.vue?4660","webpack://platypush/./src/components/Pushbullet.vue","webpack://platypush/./src/components/Pushbullet.vue?a5f8","webpack://platypush/./src/App.vue?7ccd","webpack://platypush/./src/views/Dashboard.vue","webpack://platypush/./src/components/widgets/Row.vue","webpack://platypush/./src/components/widgets/Row.vue?bc29","webpack://platypush/./src/components/widgets/Widget.vue","webpack://platypush/./src/components/widgets/Widget.vue?043c","webpack://platypush/./src/views/Dashboard.vue?040e","webpack://platypush/./src/views/NotFound.vue","webpack://platypush/./src/views/NotFound.vue?0aab","webpack://platypush/./src/views/Login.vue","webpack://platypush/./src/views/Login.vue?240b","webpack://platypush/./src/views/Register.vue","webpack://platypush/./src/views/Register.vue?157d","webpack://platypush/./src/views/Panel.vue","webpack://platypush/./src/components/Nav.vue","webpack://platypush/./src/components/Nav.vue?1f44","webpack://platypush/./src/views/Panel.vue?792f","webpack://platypush/./src/views/Plugin.vue","webpack://platypush/./src/views/Plugin.vue?41f6","webpack://platypush/./src/router/index.js","webpack://platypush/./src/registerServiceWorker.js","webpack://platypush/./src/main.js","webpack://platypush/./src/utils/Api.vue","webpack://platypush/./src/utils/Api.vue?331a","webpack://platypush/./src/utils/Clipboard.vue","webpack://platypush/./src/utils/Clipboard.vue?9589","webpack://platypush/./src/utils/Cookies.vue","webpack://platypush/./src/utils/Cookies.vue?0832","webpack://platypush/./src/utils/DateTime.vue","webpack://platypush/./src/utils/DateTime.vue?3df3","webpack://platypush/./src/utils/Events.vue","webpack://platypush/./src/utils/Events.vue?ad6c","webpack://platypush/./src/utils/Extensions.vue","webpack://platypush/./src/utils/Extensions.vue?43c9","webpack://platypush/./src/utils/Notification.vue","webpack://platypush/./src/utils/Notification.vue?b668","webpack://platypush/./src/utils/Screen.vue","webpack://platypush/./src/utils/Screen.vue?714e","webpack://platypush/./src/utils/Text.vue","webpack://platypush/./src/utils/Text.vue?61b3","webpack://platypush/./src/utils/Types.vue","webpack://platypush/./src/utils/Types.vue?2b41","webpack://platypush/./src/utils/Url.vue","webpack://platypush/./src/utils/Url.vue?5bd8","webpack://platypush/./src/Utils.vue","webpack://platypush/./src/Utils.vue?83c2","webpack://platypush/./src/components/Loading.vue","webpack://platypush/./src/components/Loading.vue?1ccf","webpack://platypush/./src/components/Modal.vue","webpack://platypush/./src/components/Modal.vue?db1b","webpack://platypush/./src/components/elements/ConfirmDialog.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue?f384","webpack://platypush/./src/components/elements/Dropdown.vue","webpack://platypush/./src/components/elements/Dropdown.vue?e934","webpack://platypush/./src/components/elements/DropdownItem.vue","webpack://platypush/./src/components/elements/DropdownItem.vue?d591","webpack://platypush/./src/components/elements/Icon.vue","webpack://platypush/./src/components/elements/Icon.vue?fdba","webpack://platypush/./src/components/elements/Tab.vue","webpack://platypush/./src/components/elements/Tab.vue?4544","webpack://platypush/./src/components/elements/Tabs.vue","webpack://platypush/./src/components/elements/Tabs.vue?2d79","webpack://platypush/./src/components/panels/Extensions/Index.vue","webpack://platypush/./src/components/panels/Extensions/Extension.vue","webpack://platypush/./src/components/panels/Extensions/Config.vue","webpack://platypush/./src/components/elements/CopyButton.vue","webpack://platypush/./src/components/elements/CopyButton.vue?0778","webpack://platypush/./src/components/panels/Extensions/Config.vue?f0c1","webpack://platypush/./src/components/panels/Extensions/Doc.vue","webpack://platypush/./src/components/panels/Extensions/Doc.vue?b066","webpack://platypush/./src/components/panels/Extensions/Install.vue","webpack://platypush/./src/components/panels/Extensions/Install.vue?ceca","webpack://platypush/./src/components/panels/Extensions/Extension.vue?4949","webpack://platypush/./src/components/panels/Extensions/Index.vue?7d84","webpack://platypush/./src/components/panels/Settings/Index.vue","webpack://platypush/./src/components/panels/Settings/Token.vue","webpack://platypush/./src/components/panels/Settings/Token.vue?4a12","webpack://platypush/./src/components/panels/Settings/Users.vue","webpack://platypush/./src/components/elements/FloatingButton.vue","webpack://platypush/./src/components/elements/FloatingButton.vue?d72c","webpack://platypush/./src/components/panels/Settings/Users.vue?407b","webpack://platypush/./src/components/panels/Settings/Index.vue?0df9","webpack://platypush/./src/components/panels/ lazy ^\\.\\/.*\\/Index$ namespace object","webpack://platypush/./src/components/widgets/ lazy ^\\.\\/.*\\/Index$ namespace object","webpack://platypush/webpack/bootstrap","webpack://platypush/webpack/runtime/chunk loaded","webpack://platypush/webpack/runtime/compat get default export","webpack://platypush/webpack/runtime/create fake namespace object","webpack://platypush/webpack/runtime/define property getters","webpack://platypush/webpack/runtime/ensure chunk","webpack://platypush/webpack/runtime/get javascript chunk filename","webpack://platypush/webpack/runtime/get mini-css chunk filename","webpack://platypush/webpack/runtime/global","webpack://platypush/webpack/runtime/hasOwnProperty shorthand","webpack://platypush/webpack/runtime/load script","webpack://platypush/webpack/runtime/make namespace object","webpack://platypush/webpack/runtime/publicPath","webpack://platypush/webpack/runtime/css loading","webpack://platypush/webpack/runtime/jsonp chunk loading","webpack://platypush/webpack/startup"],"sourcesContent":["import mitt from 'mitt'\n\nconst bus = mitt()\n\nbus.publishEntity = (entity) => {\n bus.emit('entity-update', entity)\n}\n\nbus.onEntity = (callback) => {\n bus.on('entity-update', callback)\n}\n\nbus.publishNotification = (notification) => {\n bus.emit('notification-create', notification)\n}\n\nbus.onNotification = (callback) => {\n bus.on('notification-create', callback)\n}\n\nexport { bus }\n","<template>\n <Events ref=\"events\" v-if=\"hasWebsocket\" />\n <Notifications ref=\"notifications\" />\n <VoiceAssistant ref=\"voice-assistant\" v-if=\"hasAssistant\" />\n <Pushbullet ref=\"pushbullet\" v-if=\"hasPushbullet\" />\n <Ntfy ref=\"ntfy\" v-if=\"hasNtfy\" />\n <ConfirmDialog ref=\"pwaDialog\" @input=\"installPWA\">\n Would you like to install this application locally?\n </ConfirmDialog>\n\n <router-view />\n</template>\n\n<script>\nimport ConfirmDialog from \"@/components/elements/ConfirmDialog\";\nimport Notifications from \"@/components/Notifications\";\nimport Utils from \"@/Utils\";\nimport Events from \"@/Events\";\nimport VoiceAssistant from \"@/components/VoiceAssistant\";\nimport { bus } from \"@/bus\";\nimport Ntfy from \"@/components/Ntfy\";\nimport Pushbullet from \"@/components/Pushbullet\";\n\nexport default {\n name: 'App',\n mixins: [Utils],\n components: {\n ConfirmDialog, Pushbullet, Ntfy, Notifications, Events, VoiceAssistant\n },\n\n data() {\n return {\n config: {},\n userAuthenticated: false,\n pwaInstallEvent: null,\n }\n },\n\n computed: {\n hasWebsocket() {\n return this.userAuthenticated &&\n 'backend.http' in this.config\n },\n\n hasAssistant() {\n return this.hasWebsocket\n },\n\n hasPushbullet() {\n return this.hasWebsocket && (\n 'pushbullet' in this.config ||\n 'backend.pushbullet' in this.config\n )\n },\n\n hasNtfy() {\n return this.hasWebsocket && 'ntfy' in this.config\n },\n },\n\n methods: {\n onNotification(notification) {\n this.$refs.notifications.create(notification)\n },\n\n async initConfig() {\n this.config = await this.request('config.get', {}, 60000, false)\n this.userAuthenticated = true\n },\n\n installPWA() {\n if (this.pwaInstallEvent)\n this.pwaInstallEvent.prompt()\n\n this.$refs.pwaDialog.close()\n }\n },\n\n created() {\n this.initConfig()\n },\n\n beforeMount() {\n if (this.getCookie('pwa-dialog-shown')?.length)\n return\n\n window.addEventListener('beforeinstallprompt', (e) => {\n e.preventDefault()\n this.pwaInstallEvent = e\n this.$refs.pwaDialog.show()\n\n this.setCookie('pwa-dialog-shown', '1', {\n expires: new Date(new Date().getTime() + 365 * 24 * 60 * 60 * 1000)\n })\n })\n },\n\n mounted() {\n bus.onNotification(this.onNotification)\n },\n}\n</script>\n\n<!--suppress CssUnusedSymbol -->\n<style lang=\"scss\">\n$fa-font-path: \"~@fortawesome/fontawesome-free/webfonts\";\n@import \"~@fortawesome/fontawesome-free/scss/fontawesome\";\n@import \"~@fortawesome/fontawesome-free/scss/solid\"; // fas\n@import \"~@fortawesome/fontawesome-free/scss/regular\"; // far\n@import \"~@fortawesome/fontawesome-free/scss/brands\"; // fab\n\nhtml, body {\n width: 100%;\n height: 100%;\n margin: 0;\n overflow: auto;\n}\n\n#app {\n font-family: BlinkMacSystemFont,-apple-system,Avenir,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Helvetica,Verdana,Arial,sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n width: 100%;\n height: 100%;\n color: #2c3e50;\n}\n</style>\n","<template>\n <div class=\"notifications\">\n <Notification v-for=\"(notification, id, index) in notifications\"\n :key=\"index\"\n :id=\"id\"\n :text=\"notification.text\"\n :html=\"notification.html\"\n :title=\"notification.title\"\n :link=\"notification.link\"\n :image=\"notification.image\"\n :warning=\"notification.warning\"\n :error=\"notification.error\"\n @clicked=\"destroy\">\n </Notification>\n </div>\n</template>\n\n<script>\nimport Notification from \"@/components/Notification\";\n\nexport default {\n name: \"Notifications\",\n components: {Notification},\n props: {\n duration: {\n // Default notification duration in milliseconds\n type: Number,\n default: 10000,\n }\n },\n\n data: function() {\n return {\n index: 0,\n notifications: {},\n timeouts: {},\n };\n },\n\n methods: {\n create: function(args) {\n const id = this.index++;\n this.notifications[id] = args;\n\n if (args.duration == null) {\n args.duration = this.duration;\n }\n\n const duration = args.duration ? parseInt(args.duration) : 0;\n if (duration) {\n this.timeouts[id] = setTimeout(this.destroy.bind(null, id), duration);\n }\n },\n\n destroy: function(id) {\n delete this.notifications[id];\n delete this.timeouts[id];\n },\n },\n}\n</script>\n\n<style scoped>\n.notifications {\n position: fixed;\n bottom: 0;\n right: 0;\n width: 25em;\n z-index: 1000;\n}\n</style>","<template>\n <div class=\"notification fade-in\" :class=\"{warning: warning, error: error}\" @click=\"clicked\">\n <div class=\"title\" v-if=\"title\" v-text=\"title\"></div>\n <div class=\"body\">\n <div class=\"image col-3\" v-if=\"image || warning || error\">\n <div class=\"row\">\n <img :src=\"image.src\" v-if=\"image && image.src\" alt=\"\">\n <i :class=\"['fa', 'fa-' + image.icon]\" :style=\"image.color ? '--color: ' + image.color : ''\"\n v-else-if=\"image && image.icon\"></i>\n <i :class=\"image.iconClass\" :style=\"image.color ? '--color: ' + image.color : ''\"\n v-else-if=\"image && image.iconClass\"></i>\n <i class=\"fa fa-exclamation\" v-else-if=\"warning\"></i>\n <i class=\"fa fa-times\" v-else-if=\"error\"></i>\n </div>\n </div>\n <div class=\"text col-9\" v-if=\"text && !!image\" v-text=\"text\"></div>\n <div class=\"text col-9\" v-if=\"html && !!image\" v-html=\"html\"></div>\n <div class=\"text row horizontal-center\" v-if=\"text && !image\" v-text=\"text\"></div>\n <div class=\"text row horizontal-center\" v-if=\"html && !image\" v-html=\"html\"></div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Notification\",\n props: ['id','text','html','title','image','link','error','warning'],\n\n methods: {\n clicked() {\n if (this.link) {\n window.open(this.link, '_blank');\n }\n\n this.$emit('clicked', this.id);\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.notification {\n background: $notification-bg;\n border: $notification-border;\n border-radius: 1em;\n margin-bottom: 0.25em !important;\n margin-right: 0.1em;\n padding: 0.5em;\n cursor: pointer;\n\n &:hover {\n background: $notification-hover-bg;\n &.warning { background: $notification-warning-hover-bg; }\n &.error { background: $notification-error-hover-bg; }\n }\n\n &.warning {\n background: $notification-warning-bg;\n border: $notification-warning-border;\n .image { --color: $notification-warning-icon-color; }\n }\n\n &.error {\n background: $notification-error-bg;\n border: $notification-error-border;\n .image { --color: $notification-error-icon-color; }\n }\n\n .title {\n color: $notification-title-fg;\n font-size: 1.25em;\n font-weight: normal;\n margin: 0.25em 0;\n padding: 0;\n letter-spacing: 0.07em;\n }\n\n .body {\n @extend .vertical-center;\n height: 6em;\n overflow: hidden;\n padding-bottom: 0.1em;\n letter-spacing: 0.05em;\n }\n\n .image {\n height: 100%;\n text-align: center;\n --color: $notification-icon-color;\n\n .row {\n @extend .vertical-center;\n @extend .horizontal-center;\n width: 100%;\n height: 100%;\n\n .fa {\n font-size: 2.5em;\n color: var(--color);\n }\n\n img {\n width: 80%;\n height: 80%;\n }\n }\n }\n}\n</style>","import { render } from \"./Notification.vue?vue&type=template&id=7646705e&scoped=true\"\nimport script from \"./Notification.vue?vue&type=script&lang=js\"\nexport * from \"./Notification.vue?vue&type=script&lang=js\"\n\nimport \"./Notification.vue?vue&type=style&index=0&id=7646705e&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7646705e\"]])\n\nexport default __exports__","import { render } from \"./Notifications.vue?vue&type=template&id=6dc8bebc&scoped=true\"\nimport script from \"./Notifications.vue?vue&type=script&lang=js\"\nexport * from \"./Notifications.vue?vue&type=script&lang=js\"\n\nimport \"./Notifications.vue?vue&type=style&index=0&id=6dc8bebc&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6dc8bebc\"]])\n\nexport default __exports__","<template>\n <div/>\n</template>\n\n<script>\nimport { bus } from \"@/bus\";\n\nexport default {\n name: \"Events\",\n\n data() {\n return {\n ws: null,\n initialized: false,\n pending: false,\n opened: false,\n timeout: null,\n reconnectMsecs: 1000,\n minReconnectMsecs: 1000,\n maxReconnectMsecs: 30000,\n handlers: {},\n handlerNameToEventTypes: {},\n }\n },\n\n methods: {\n onWebsocketTimeout() {\n console.log('Websocket reconnection timed out, retrying')\n this.reconnectMsecs = Math.min(this.reconnectMsecs * 2, this.maxReconnectMsecs)\n this.pending = false\n if (this.ws)\n this.ws.close()\n\n this.onClose()\n },\n\n onMessage(event) {\n const handlers = []\n event = event.data\n\n if (typeof event === 'string') {\n try {\n event = JSON.parse(event)\n } catch (e) {\n console.warn('Received invalid non-JSON event')\n console.warn(event)\n }\n }\n\n console.debug(event)\n if (event.type !== 'event') {\n // Discard non-event messages\n return\n }\n\n if (null in this.handlers) { // lgtm [js/implicit-operand-conversion]\n handlers.push(this.handlers[null]) // lgtm [js/implicit-operand-conversion]\n }\n\n if (event.args.type in this.handlers) {\n handlers.push(...Object.values(this.handlers[event.args.type]))\n }\n\n for (let handler of handlers) {\n if (!handler)\n continue\n\n if (handler instanceof Array)\n handler = handler[0]\n else if (handler instanceof Object && !(handler instanceof Function))\n handler = Object.values(handler)[0]\n\n handler(event.args)\n }\n },\n\n onOpen() {\n if (this.opened) {\n console.log(\"There's already an opened websocket connection, closing the newly opened one\")\n if (this.ws) {\n this.ws.onclose = () => {}\n this.ws.close()\n }\n }\n\n console.log('Websocket connection successful')\n this.opened = true\n this.reconnectMsecs = this.minReconnectMsecs\n\n if (this.pending) {\n this.pending = false\n }\n\n if (this.timeout) {\n clearTimeout(this.timeout)\n this.timeout = undefined\n }\n },\n\n onError(error) {\n console.error('Websocket error')\n console.error(error)\n },\n\n onClose(event) {\n if (event) {\n console.log(\n `Websocket closed - code: ${event.code} - reason: ${event.reason}. ` +\n `Retrying in ${this.reconnectMsecs / 1000}s`\n )\n }\n\n this.opened = false\n\n if (!this.pending) {\n this.pending = true\n this.init()\n }\n },\n\n init() {\n try {\n const protocol = location.protocol === 'https:' ? 'wss' : 'ws'\n const url = `${protocol}://${location.host}/ws/events`\n this.ws = new WebSocket(url)\n } catch (err) {\n console.error('Websocket initialization error')\n console.error(err)\n return\n }\n\n this.pending = true\n this.timeout = setTimeout(this.onWebsocketTimeout, this.reconnectMsecs)\n this.ws.onmessage = this.onMessage\n this.ws.onopen = this.onOpen\n this.ws.onerror = this.onError\n this.ws.onclose = this.onClose\n this.initialized = true\n },\n\n subscribe(msg) {\n const handler = msg.handler\n const events = msg.events.length ? msg.events : [null]\n const handlerName = msg.handlerName\n\n for (const event of events) {\n if (!(event in this.handlers)) {\n this.handlers[event] = {}\n }\n\n if (!(handlerName in this.handlerNameToEventTypes)) {\n this.handlerNameToEventTypes[handlerName] = events\n }\n\n this.handlers[event][handlerName] = handler\n }\n\n return () => {\n this.unsubscribe(handlerName)\n }\n },\n\n unsubscribe(handlerName) {\n const events = this.handlerNameToEventTypes[handlerName]\n if (!events)\n return\n\n for (const event of events) {\n if (!this.handlers[event]?.[handlerName])\n continue\n\n delete this.handlers[event][handlerName]\n if (!Object.keys(this.handlers[event]).length)\n delete this.handlers[event]\n }\n\n delete this.handlerNameToEventTypes[handlerName]\n },\n },\n\n created() {\n bus.on('subscribe', this.subscribe)\n bus.on('unsubscribe', this.unsubscribe)\n this.init()\n },\n}\n</script>\n","import { render } from \"./Events.vue?vue&type=template&id=6a0e6afd\"\nimport script from \"./Events.vue?vue&type=script&lang=js\"\nexport * from \"./Events.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <div class=\"assistant-modal\">\n <Modal ref=\"assistantModal\">\n <div class=\"icon\">\n <i class=\"fa fa-bell\" v-if=\"state.alerting\"></i>\n <i class=\"fa fa-volume-up\" v-else-if=\"state.responding\"></i>\n <i class=\"fa fa-comment-dots\" v-else-if=\"state.speechRecognized\"></i>\n <i class=\"fa fa-microphone\" v-else></i>\n </div>\n\n <div class=\"text\">\n <div class=\"listening\" v-if=\"state.listening\">\n <span>Assistant listening</span>\n </div>\n <div class=\"speech-recognized\" v-else-if=\"state.speechRecognized\">\n <span v-text=\"phrase\"></span>\n </div>\n <div class=\"responding\" v-else-if=\"state.responding\">\n <span v-text=\"responseText\"></span>\n </div>\n </div>\n </Modal>\n </div>\n</template>\n\n<script>\nimport Modal from \"@/components/Modal\";\nimport Utils from \"@/Utils\";\n\nexport default {\n name: \"VoiceAssistant\",\n components: {Modal},\n mixins: [Utils],\n\n data() {\n return {\n responseText: '',\n phrase: '',\n hideTimeout: undefined,\n\n state: {\n listening: false,\n speechRecognized: false,\n responding: false,\n alerting: false,\n },\n };\n },\n\n methods: {\n reset() {\n this.state.listening = false\n this.state.speechRecognized = false\n this.state.responding = false\n this.state.alerting = false\n this.phrase = ''\n this.responseText = ''\n },\n\n conversationStart() {\n this.reset()\n this.state.listening = true\n this.$refs.assistantModal.show()\n\n if (this.hideTimeout) {\n clearTimeout(this.hideTimeout)\n this.hideTimeout = undefined\n }\n },\n\n conversationEnd() {\n const self = this\n\n this.hideTimeout = setTimeout(() => {\n this.reset()\n self.$refs.assistantModal.close()\n self.hideTimeout = undefined\n }, 4000)\n },\n\n speechRecognized(event) {\n this.reset()\n this.state.speechRecognized = true\n this.phrase = event.phrase\n this.$refs.assistantModal.show()\n },\n\n response(event) {\n this.reset()\n this.state.responding = true\n this.responseText = event.response_text\n this.$refs.assistantModal.show()\n },\n\n alertOn() {\n this.reset()\n this.state.alerting = true\n this.$refs.assistantModal.show()\n },\n\n alertOff() {\n this.reset()\n this.state.alerting = false\n this.$refs.assistantModal.close()\n },\n\n registerHandlers() {\n this.subscribe(this.conversationStart, null, 'platypush.message.event.assistant.ConversationStartEvent')\n this.subscribe(this.alertOn, null, 'platypush.message.event.assistant.AlertStartedEvent')\n this.subscribe(this.alertOff, null, 'platypush.message.event.assistant.AlertEndEvent')\n this.subscribe(this.speechRecognized, null, 'platypush.message.event.assistant.SpeechRecognizedEvent')\n this.subscribe(this.response, null, 'platypush.message.event.assistant.ResponseEvent')\n this.subscribe(this.conversationEnd, null,\n 'platypush.message.event.assistant.ConversationEndEvent',\n 'platypush.message.event.assistant.NoResponseEvent',\n 'platypush.message.event.assistant.ConversationTimeoutEvent')\n },\n },\n\n mounted() {\n this.registerHandlers()\n },\n}\n</script>\n\n<style lang=\"scss\">\n$icon-color: #7e8;\n$icon-border: 1px solid #ccc;\n$icon-shadow: 2px 2px 2px #ccc;\n\n.assistant-modal {\n .modal {\n .body {\n width: 50vw;\n height: 50vh;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n text-align: center;\n\n .icon {\n font-size: 3em;\n color: $icon-color;\n box-shadow: $icon-shadow;\n border: $icon-border;\n border-radius: 3em;\n padding: 1em;\n }\n\n .text {\n margin-top: 2.5em;\n }\n }\n }\n}\n</style>\n","import { render } from \"./VoiceAssistant.vue?vue&type=template&id=3f009270\"\nimport script from \"./VoiceAssistant.vue?vue&type=script&lang=js\"\nexport * from \"./VoiceAssistant.vue?vue&type=script&lang=js\"\n\nimport \"./VoiceAssistant.vue?vue&type=style&index=0&id=3f009270&lang=scss\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <div />\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\nexport default {\n name: \"Ntfy\",\n mixins: [Utils],\n\n methods: {\n onMessage(event) {\n this.notify({\n title: event.title,\n text: event.message,\n image: {\n icon: 'bell',\n },\n })\n },\n },\n\n mounted() {\n this.subscribe(this.onMessage, null, 'platypush.message.event.ntfy.NotificationEvent')\n },\n}\n</script>\n","import { render } from \"./Ntfy.vue?vue&type=template&id=1c4a4708\"\nimport script from \"./Ntfy.vue?vue&type=script&lang=js\"\nexport * from \"./Ntfy.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <div />\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\nexport default {\n name: \"Pushbullet\",\n mixins: [Utils],\n\n methods: {\n onMessage(event) {\n if (event.push_type === 'mirror') {\n this.notify({\n title: event.title,\n text: event.body,\n image: {\n src: event.icon ? 'data:image/png;base64, ' + event.icon : undefined,\n icon: event.icon ? undefined : 'bell',\n },\n });\n }\n },\n },\n\n mounted() {\n this.subscribe(this.onMessage, null, 'platypush.message.event.pushbullet.PushbulletEvent')\n },\n}\n</script>\n","import { render } from \"./Pushbullet.vue?vue&type=template&id=bf9869d4\"\nimport script from \"./Pushbullet.vue?vue&type=script&lang=js\"\nexport * from \"./Pushbullet.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./App.vue?vue&type=template&id=56afd0b4\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=56afd0b4&lang=scss\"\n\nimport exportComponent from \"../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <Loading v-if=\"loading\" />\n\n <div id=\"dashboard\" class=\"col-12\" :class=\"classes\" :style=\"style\">\n <Row v-for=\"(row, i) in rows\" :key=\"i\" :class=\"row.class\" :style=\"row.style\">\n <keep-alive v-for=\"(widget, j) in row.widgets\" :key=\"j\">\n <Widget :style=\"widget.style\" :class=\"widget.class\">\n <component :is=\"widget.component\" v-bind=\"getWidgetProps(widget)\" />\n </Widget>\n </keep-alive>\n </Row>\n </div>\n</template>\n\n<script>\nimport { defineAsyncComponent, shallowRef } from 'vue'\nimport Utils from '@/Utils'\nimport Loading from \"@/components/Loading\";\nimport Row from \"@/components/widgets/Row\";\nimport Widget from \"@/components/widgets/Widget\";\n\nexport default {\n name: 'Dashboard',\n mixins: [Utils],\n components: {Widget, Loading, Row},\n props: {\n // Refresh interval in seconds.\n refreshSeconds: {\n type: Number,\n required: false,\n default: 0,\n },\n },\n\n data() {\n return {\n rows: [],\n loading: false,\n style: undefined,\n class: undefined,\n }\n },\n\n computed: {\n classes() {\n return this.class\n },\n },\n\n methods: {\n getWidgetProps(widget) {\n const props = {...widget.props}\n if (props.class)\n delete props.class\n\n return props\n },\n\n parseTemplate(name, tmpl) {\n const node = new DOMParser().parseFromString(tmpl, 'text/xml').childNodes[0]\n const self = this\n this.style = node.attributes.style?.nodeValue\n this.class = node.attributes.class?.nodeValue\n\n this.rows = [...node.getElementsByTagName('Row')].map((row) => {\n return {\n style: row.attributes.style?.nodeValue,\n class: row.attributes.class?.nodeValue,\n widgets: [...row.children].map((el) => {\n const component = shallowRef(\n defineAsyncComponent(\n () => import(`@/components/widgets/${el.nodeName}/Index`)\n )\n )\n\n const style = el.attributes.style?.nodeValue\n const classes = el.attributes.class?.nodeValue\n const attrs = [...el.attributes].reduce((obj, node) => {\n if (node.nodeName !== 'style') {\n obj[node.nodeName] = node.nodeValue\n }\n\n return obj\n }, {\n content: el.innerHTML,\n })\n\n const widget = {\n component: component,\n style: style,\n class: classes,\n props: attrs || {},\n }\n\n self.$options.components[el.nodeName] = component\n return widget\n })\n }\n })\n\n this.loading = false\n },\n\n async refreshDashboard() {\n this.loading = true\n this.widgets = []\n const name = this.$route.params.name\n const template = (await this.request('config.get_dashboard', { name: name }))\n\n if (!template) {\n this.notifyError(`Dashboard ${name} not found`)\n }\n\n this.parseTemplate(name, template)\n },\n },\n\n mounted() {\n this.refreshDashboard()\n if (this.refreshSeconds) {\n const self = this\n setInterval(() => {\n self.refreshDashboard()\n }, parseInt((this.refreshSeconds*1000).toFixed(0)))\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"~lato-font/scss/public-api\";\n$lato-font-path: \"~lato-font/fonts\";\n\n@include lato-include-font('medium');\n\n#dashboard {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 1em 1em 0 1em;\n background: $dashboard-bg;\n background-size: cover;\n font-family: Lato, proxima-nova, Helvetica Neue, Arial, sans-serif;\n\n .blurred {\n filter: blur(0.075em);\n }\n}\n</style>\n\n<style>\nhtml {\n overflow: auto !important;\n}\n</style>\n","<template>\n <div class=\"row\" :class=\"classes\" :style=\"style\">\n <slot />\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Row\",\n props: {\n // Class override\n class: {\n type: String,\n required: false,\n default: '',\n },\n\n // Style override\n style: {\n type: String,\n required: false,\n default: '',\n },\n },\n\n computed: {\n classes() {\n return this.class\n },\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.row {\n width: 100%;\n height: 49%;\n\n &:not(:last-child) {\n margin-bottom: 1%;\n }\n}\n</style>\n","import { render } from \"./Row.vue?vue&type=template&id=1b4663f2&scoped=true\"\nimport script from \"./Row.vue?vue&type=script&lang=js\"\nexport * from \"./Row.vue?vue&type=script&lang=js\"\n\nimport \"./Row.vue?vue&type=style&index=0&id=1b4663f2&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-1b4663f2\"]])\n\nexport default __exports__","<template>\n <div :style=\"style\" :class=\"classes\">\n <slot />\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Widget\",\n props: {\n // Widget style override\n style: {\n type: String,\n required: false,\n default: '',\n },\n\n // Widget class override\n class: {\n type: String,\n required: false,\n default: '',\n },\n },\n\n computed: {\n classes() {\n return (this.class?.length ? this.class.split(' ') : ['col-3']).concat(['widget', 'column'])\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.widget {\n height: calc(100% - 1em);\n background: $background-color;\n border-radius: 5px;\n display: flex;\n justify-content: center;\n align-content: center;\n position: relative;\n overflow: hidden;\n box-shadow: 0 3px 3px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);\n}\n</style>\n","import { render } from \"./Widget.vue?vue&type=template&id=5df52982&scoped=true\"\nimport script from \"./Widget.vue?vue&type=script&lang=js\"\nexport * from \"./Widget.vue?vue&type=script&lang=js\"\n\nimport \"./Widget.vue?vue&type=style&index=0&id=5df52982&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5df52982\"]])\n\nexport default __exports__","import { render } from \"./Dashboard.vue?vue&type=template&id=54e0248a&scoped=true\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=js\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=js\"\n\nimport \"./Dashboard.vue?vue&type=style&index=0&id=54e0248a&lang=scss&scoped=true\"\nimport \"./Dashboard.vue?vue&type=style&index=1&id=54e0248a&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-54e0248a\"]])\n\nexport default __exports__","<template>\n <h1>Object not found</h1>\n</template>\n\n<script>\nexport default {\n name: \"NotFound\"\n}\n</script>\n\n","import { render } from \"./NotFound.vue?vue&type=template&id=49501f4d\"\nimport script from \"./NotFound.vue?vue&type=script&lang=js\"\nexport * from \"./NotFound.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <div class=\"login-container\">\n <form class=\"login\" method=\"POST\">\n <div class=\"header\">\n <span class=\"logo\">\n <img src=\"/logo.svg\" alt=\"logo\" />\n </span>\n <span class=\"text\">Platypush</span>\n </div>\n\n <div class=\"row\">\n <label>\n <input type=\"text\" name=\"username\" placeholder=\"Username\">\n </label>\n </div>\n\n <div class=\"row\">\n <label>\n <input type=\"password\" name=\"password\" placeholder=\"Password\">\n </label>\n </div>\n\n <div class=\"row\" v-if=\"_register\">\n <label>\n <input type=\"password\" name=\"confirm_password\" placeholder=\"Confirm password\">\n </label>\n </div>\n\n <div class=\"row buttons\">\n <input type=\"submit\" class=\"btn btn-primary\" :value=\"_register ? 'Register' : 'Login'\">\n </div>\n\n <div class=\"row pull-right\">\n <label class=\"checkbox\">\n <input type=\"checkbox\" name=\"remember\">&nbsp;\n Keep me logged in on this device &nbsp;\n </label>\n </div>\n </form>\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\nexport default {\n name: \"Login\",\n mixins: [Utils],\n props: {\n // Set to true for a registration form, false for a login form\n register: {\n type: Boolean,\n required: false,\n default: false,\n },\n },\n\n computed: {\n _register() {\n return this.parseBoolean(this.register)\n },\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\nbody {\n width: 100vw;\n height: 100vh;\n margin: 0;\n}\n\n.login-container {\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: $default-bg-6;\n}\n\n.header {\n font-size: 1.2em;\n margin-bottom: 2em;\n display: flex;\n justify-content: center;\n align-items: center;\n\n .logo {\n width: 3em;\n height: 3em;\n display: inline-flex;\n background-size: cover;\n }\n\n .text {\n font-family: Poppins, sans-serif;\n margin-left: .5em;\n }\n}\n\nform {\n display: flex;\n flex-direction: column;\n padding: 4em;\n border: $default-border-3;\n border-radius: 3em;\n box-shadow: 2px 2px 3px 3px $border-color-2;\n background: $background-color;\n\n .row {\n margin: 0.5em 0;\n }\n\n input[type=text],\n input[type=password] {\n width: 100%;\n }\n\n input[type=submit],\n input[type=password] {\n border-radius: 1em;\n }\n\n input[type=password] {\n padding: .25em .5em;\n }\n\n .checkbox {\n display: flex;\n font-size: 0.8em;\n }\n\n .buttons {\n text-align: center;\n\n input[type=submit] {\n padding: .5em .75em;\n }\n }\n}\n\na {\n color: $default-link-fg;\n}\n</style>\n","import { render } from \"./Login.vue?vue&type=template&id=af0b14d0&scoped=true\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\n\nimport \"./Login.vue?vue&type=style&index=0&id=af0b14d0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-af0b14d0\"]])\n\nexport default __exports__","<template>\n <Login :register=\"true\" />\n</template>\n\n<script>\nimport Login from \"@/views/Login\";\n\nexport default {\n name: \"Register\",\n mixins: [Login],\n components: {Login},\n props: {\n register: {\n type: Boolean,\n required: false,\n default: true,\n },\n },\n}\n</script>\n","import { render } from \"./Register.vue?vue&type=template&id=1244b238\"\nimport script from \"./Register.vue?vue&type=script&lang=js\"\nexport * from \"./Register.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <main>\n <Loading v-if=\"loading\" />\n <Nav :panels=\"components\"\n :selected-panel=\"selectedPanel\"\n :selected-config-panel=\"selectedConfigPanel\"\n :hostname=\"hostname\"\n @select=\"selectedPanel = $event\"\n @select-config=\"selectedConfigPanel = $event\"\n v-else\n />\n\n <div class=\"canvas\" v-if=\"selectedPanel === 'settings'\">\n <div class=\"panel\">\n <Settings :selected-panel=\"selectedConfigPanel\" />\n </div>\n </div>\n\n <div class=\"canvas\" v-else-if=\"selectedPanel === 'extensions'\">\n <div class=\"panel\">\n <Extensions />\n </div>\n </div>\n\n <div class=\"canvas\" v-else>\n <div class=\"panel\" :class=\"{hidden: name !== selectedPanel}\" v-for=\"(panel, name) in components\" :key=\"name\">\n <component :is=\"panel.component\" :config=\"panel.config\" :plugin-name=\"name\" v-if=\"name === selectedPanel\" />\n </div>\n </div>\n </main>\n</template>\n\n<script>\nimport { defineAsyncComponent, shallowRef } from \"vue\";\nimport Utils from '@/Utils'\nimport Loading from \"@/components/Loading\";\nimport Nav from \"@/components/Nav\";\nimport Extensions from \"@/components/panels/Extensions/Index\";\nimport Settings from \"@/components/panels/Settings/Index\";\n\nexport default {\n name: 'Panel',\n mixins: [Utils],\n components: {Extensions, Settings, Nav, Loading},\n\n data() {\n return {\n loading: false,\n plugins: {},\n backends: {},\n procedures: {},\n components: {},\n hostname: undefined,\n selectedPanel: undefined,\n selectedConfigPanel: 'users',\n }\n },\n\n methods: {\n initSelectedPanel() {\n const match = this.$route.hash.match('#?([a-zA-Z0-9.]+)[?]?(.*)')\n const plugin = match ? match[1] : 'entities'\n if (plugin?.length)\n this.selectedPanel = plugin\n },\n\n initPanels() {\n const self = this\n this.components = {}\n\n Object.entries(this.plugins).forEach(async ([name, plugin]) => {\n const componentName = name.split('.').map((token) => token[0].toUpperCase() + token.slice(1)).join('')\n let comp = null\n try {\n comp = await import(`@/components/panels/${componentName}/Index`)\n } catch (e) {\n return\n }\n\n const component = shallowRef(defineAsyncComponent(async () => { return comp }))\n self.$options.components[name] = component\n self.components[name] = {\n component: component,\n pluginName: name,\n config: plugin,\n }\n })\n },\n\n async parseConfig() {\n [this.plugins, this.backends, this.procedures, this.hostname] =\n await Promise.all([\n this.request('config.get_plugins'),\n this.request('config.get_backends'),\n this.request('config.get_procedures'),\n this.request('config.get_device_id'),\n ])\n\n this.initializeDefaultViews()\n },\n\n initializeDefaultViews() {\n this.plugins.entities = {}\n this.plugins.execute = {}\n },\n },\n\n async mounted() {\n this.loading = true\n\n try {\n await this.parseConfig()\n this.initPanels()\n this.initSelectedPanel()\n this.$watch('$route.hash', this.initSelectedPanel)\n } finally {\n this.loading = false\n }\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\nmain {\n height: 100%;\n display: flex;\n\n @include until($tablet) {\n flex-direction: column;\n }\n\n .canvas {\n display: flex;\n flex-grow: 100;\n background: $menu-panel-bg;\n overflow: auto;\n\n .panel {\n width: 100%;\n height: 100%;\n display: flex;\n margin: 0 !important;\n box-shadow: none !important;\n overflow: auto;\n }\n }\n}\n</style>\n\n<style>\nhtml {\n overflow: auto !important;\n}\n</style>\n","<template>\n <nav :class=\"{collapsed: collapsed}\">\n <div class=\"toggler\" @click=\"collapsed = !collapsed\">\n <i class=\"fas fa-bars\" />\n <span class=\"hostname\" v-if=\"hostname\" v-text=\"hostname\" />\n </div>\n\n <ul class=\"plugins\" v-if=\"selectedPanel === 'settings'\">\n <li class=\"entry\" title=\"Home\" @click=\"onItemClick('entities')\">\n <a href=\"/#\">\n <i class=\"fas fa-home\" />\n <span class=\"name\" v-if=\"!collapsed\">Home</span>\n </a>\n </li>\n\n <li v-for=\"config, name in configSections\" :key=\"name\" class=\"entry\"\n :class=\"{selected: name === selectedConfigPanel}\"\n :title=\"config.name\" @click=\"$emit('select-config', name)\">\n <a href=\"/#settings\">\n <span class=\"icon\">\n <i :class=\"config.icon['class']\" v-if=\"config.icon?.['class']\" />\n <img :src=\"config.icon?.imgUrl\" v-else-if=\"config.icon?.imgUrl\" alt=\"name\"/>\n <i class=\"fas fa-puzzle-piece\" v-else />\n </span>\n <span class=\"name\" v-if=\"!collapsed\" v-text=\"config.name\" />\n </a>\n </li>\n </ul>\n\n <ul class=\"plugins\" v-else>\n <li v-for=\"name in panelNames\" :key=\"name\" class=\"entry\" :class=\"{selected: name === selectedPanel}\"\n :title=\"name\" @click=\"onItemClick(name)\">\n <a :href=\"`/#${name}`\">\n <span class=\"icon\">\n <i :class=\"icons[name].class\" v-if=\"icons[name]?.class\" />\n <img :src=\"icons[name].imgUrl\" v-else-if=\"icons[name]?.imgUrl\" alt=\"name\"/>\n <i class=\"fas fa-puzzle-piece\" v-else />\n </span>\n <span class=\"name\" v-if=\"!collapsed\" v-text=\"displayName(name)\" />\n </a>\n </li>\n </ul>\n\n <ul class=\"footer\">\n <li :class=\"{selected: selectedPanel === 'extensions'}\" title=\"Extensions\" @click=\"onItemClick('extensions')\">\n <a href=\"/#extensions\">\n <span class=\"icon\">\n <i class=\"fa fa-puzzle-piece\" />\n </span>\n <span class=\"name\" v-if=\"!collapsed\">Extensions</span>\n </a>\n </li>\n\n <li :class=\"{selected: selectedPanel === 'settings'}\" title=\"Settings\" @click=\"onItemClick('settings')\">\n <a href=\"/#settings\">\n <span class=\"icon\">\n <i class=\"fa fa-cog\" />\n </span>\n <span class=\"name\" v-if=\"!collapsed\">Settings</span>\n </a>\n </li>\n\n <li title=\"Logout\" @click=\"onItemClick('logout')\">\n <a href=\"/logout\">\n <span class=\"icon\">\n <i class=\"fas fa-sign-out-alt\" />\n </span>\n <span class=\"name\" v-if=\"!collapsed\">Logout</span>\n </a>\n </li>\n </ul>\n </nav>\n</template>\n\n<script>\nimport icons from '@/assets/icons.json'\nimport Utils from \"@/Utils\";\nimport configSections from '@/components/panels/Settings/sections.json';\n\nexport default {\n name: \"Nav\",\n emits: ['select', 'select-config'],\n mixins: [Utils],\n props: {\n panels: {\n type: Object,\n required: true,\n },\n\n selectedPanel: {\n type: String,\n },\n\n selectedConfigPanel: {\n type: String,\n },\n\n hostname: {\n type: String,\n },\n },\n\n computed: {\n panelNames() {\n const prepend = (names, name) => {\n const idx = panelNames.indexOf(name)\n if (idx >= 0)\n names = [name].concat((names.slice(0, idx).concat(names.slice(idx+1))))\n\n return names\n }\n\n let panelNames = Object.keys(this.panels).sort()\n panelNames = prepend(panelNames, 'execute')\n panelNames = prepend(panelNames, 'entities')\n return panelNames\n },\n\n collapsedDefault() {\n if (this.isMobile() || this.isTablet())\n return true\n return false\n },\n },\n\n methods: {\n onItemClick(name) {\n this.$emit('select', name)\n this.collapsed = this.isMobile() ? true : this.collapsedDefault\n },\n\n displayName(name) {\n if (name === 'entities')\n return 'Home'\n if (name === 'execute')\n return 'Execute'\n\n return name\n },\n },\n\n data() {\n return {\n collapsed: true,\n icons: icons,\n host: null,\n configSections: configSections,\n }\n },\n\n mounted() {\n this.collapsed = this.collapsedDefault\n },\n}\n</script>\n\n<!--suppress SassScssResolvedByNameOnly -->\n<style lang=\"scss\" scoped>\n$toggler-height: 2em;\n$footer-collapsed-height: 7.5em;\n$footer-expanded-height: 11em;\n\nnav {\n @media screen and (max-width: #{$tablet - 1px}) {\n width: 100%;\n height: 100vh;\n background: $nav-bg;\n color: $nav-fg;\n box-shadow: $nav-box-shadow-main;\n\n &.collapsed {\n box-shadow: 1px 1px 1px 1px $default-shadow-color;\n margin-bottom: 2px;\n z-index: 1;\n }\n\n &:not(.collapsed) {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 5;\n }\n }\n\n @media screen and (min-width: $tablet) {\n width: calc(16em - 2vw);\n min-width: calc(16em - 2vw);\n height: 100%;\n overflow: auto;\n background: $nav-bg;\n color: $nav-fg;\n box-shadow: $nav-box-shadow-main;\n z-index: 1;\n }\n\n @media screen and (min-width: $desktop) {\n width: 20em;\n min-width: 20em;\n }\n\n li {\n border-bottom: $nav-entry-border;\n cursor: pointer;\n list-style: none;\n\n a {\n display: block;\n color: $nav-fg;\n padding: 1em 0.5em;\n text-decoration: none;\n\n &:hover {\n color: $nav-fg;\n }\n }\n\n &.selected {\n background: $nav-entry-selected-bg;\n border: 1px solid rgba(0, 0, 0, 0);\n }\n\n &:hover {\n background: $nav-entry-hover-bg;\n border: 1px solid rgba(0, 0, 0, 0);\n }\n\n .name {\n margin-left: 0.5em;\n }\n\n .icon {\n margin-right: 0.5em;\n }\n }\n\n .toggler {\n width: 100%;\n height: $toggler-height;\n background: $nav-toggler-bg;\n display: flex;\n font-size: 1.5em;\n cursor: pointer;\n padding: 0.4em;\n align-items: center;\n box-shadow: $nav-toggler-shadow;\n }\n\n .hostname {\n font-size: 0.7em;\n margin-top: -0.2em;\n\n @media screen and (min-width: $tablet) {\n margin-left: 1em;\n }\n\n @media screen and (max-width: #{$tablet - 1px}) {\n text-align: right;\n margin-right: 0.25em;\n flex-grow: 1;\n }\n }\n\n .plugins {\n height: calc(100% - #{$toggler-height} - #{$footer-expanded-height} - 1.5em);\n overflow: auto;\n }\n\n .footer {\n height: calc($footer-expanded-height + 0.4em);\n background: $nav-footer-bg;\n padding: 0;\n margin: 0;\n\n li:last-child {\n border: 0;\n }\n }\n\n ul {\n li {\n .icon {\n margin-right: 0;\n\n & img, i {\n width: 1.5em;\n height: 1.5em;\n }\n }\n }\n }\n\n &.collapsed {\n display: flex;\n flex-direction: column;\n\n @media screen and (min-width: $tablet) {\n width: 2.5em;\n min-width: 2.5em;\n max-width: 2.5em;\n background: $nav-collapsed-bg;\n color: $nav-collapsed-fg;\n box-shadow: $nav-box-shadow-collapsed;\n\n .hostname {\n display: none;\n }\n }\n\n @media screen and (max-width: #{$tablet - 1px}) {\n height: auto;\n }\n\n a {\n color: $nav-collapsed-fg;\n padding: 0.25em 0;\n &:hover {\n color: $nav-collapsed-fg;\n }\n }\n\n .toggler {\n height: $toggler-height;\n text-align: center;\n box-shadow: none;\n background: $nav-toggler-collapsed-bg;\n\n @media screen and (max-width: #{$tablet - 1px}) {\n background: $nav-toggler-collapsed-mobile-bg;\n color: $nav-toggler-collapsed-mobile-fg;\n }\n }\n\n .footer {\n height: $footer-collapsed-height;\n background: none;\n padding: 0;\n margin-bottom: .5em;\n box-shadow: none;\n }\n\n @media screen and (max-width: #{$tablet - 1px}) {\n .footer {\n display: none;\n }\n }\n\n ul {\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: calc(100% - #{$toggler-height} - #{$footer-collapsed-height});\n overflow: hidden;\n\n &.plugins {\n @media screen and (min-width: $tablet) and (max-width: #{$desktop - 1px}) {\n margin: 2em 0;\n }\n }\n\n &:hover {\n overflow: auto;\n }\n\n li {\n border: none;\n padding: 0;\n text-align: center;\n\n &.selected,\n &:hover {\n border-radius: 1em;\n margin: 0 0.2em;\n }\n\n &.selected {\n background: $nav-entry-collapsed-selected-bg;\n }\n\n &:hover {\n background: $nav-entry-collapsed-hover-bg;\n }\n\n .icon {\n margin-right: 0;\n }\n\n @media screen and (max-width: #{$tablet - 1px}) {\n display: none;\n }\n }\n }\n }\n}\n</style>\n","import { render } from \"./Nav.vue?vue&type=template&id=e52e3372&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=e52e3372&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e52e3372\"]])\n\nexport default __exports__","import { render } from \"./Panel.vue?vue&type=template&id=563b4477&scoped=true\"\nimport script from \"./Panel.vue?vue&type=script&lang=js\"\nexport * from \"./Panel.vue?vue&type=script&lang=js\"\n\nimport \"./Panel.vue?vue&type=style&index=0&id=563b4477&lang=scss&scoped=true\"\nimport \"./Panel.vue?vue&type=style&index=1&id=563b4477&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-563b4477\"]])\n\nexport default __exports__","<template>\n <main>\n <Loading v-if=\"loading\" />\n <div class=\"canvas\" v-else>\n <component :is=\"component\" :config=\"config\" :plugin-name=\"pluginName\" />\n </div>\n </main>\n</template>\n\n<script>\nimport { defineAsyncComponent, shallowRef } from \"vue\";\nimport Utils from '@/Utils'\nimport Loading from \"@/components/Loading\";\nimport Nav from \"@/components/Nav\";\nimport Settings from \"@/components/panels/Settings/Index\";\n\nexport default {\n name: 'Panel',\n mixins: [Utils],\n components: {Settings, Nav, Loading},\n\n data() {\n return {\n loading: false,\n config: {},\n plugins: {},\n backends: {},\n procedures: {},\n component: undefined,\n hostname: undefined,\n selectedPanel: undefined,\n }\n },\n\n computed: {\n pluginName() {\n return this.$route.params.plugin\n },\n },\n\n methods: {\n async initPanel() {\n const componentName = this.pluginName.split('.').map((token) => token[0].toUpperCase() + token.slice(1)).join('')\n let comp = null\n\n try {\n comp = await import(`@/components/panels/${componentName}/Index`)\n } catch (e) {\n console.error(e)\n this.notify({\n error: true,\n title: `Cannot load plugin ${this.pluginName}`,\n text: e.toString(),\n })\n\n return\n }\n\n this.component = shallowRef(defineAsyncComponent(async () => { return comp }))\n this.$options.components[componentName] = this.component\n },\n\n async initConfig() {\n const config = await this.request('config.get')\n this.config = config[this.pluginName] || {}\n this.hostname = await this.request('config.get_device_id')\n },\n },\n\n async mounted() {\n this.loading = true\n\n try {\n await this.initConfig()\n await this.initPanel()\n } finally {\n this.loading = false\n }\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\nmain {\n height: 100%;\n display: flex;\n\n @media screen and (max-width: $tablet) {\n flex-direction: column;\n }\n\n .canvas {\n display: flex;\n flex-grow: 100;\n background: $menu-panel-bg;\n overflow: auto;\n\n .panel {\n width: 100%;\n height: 100%;\n display: flex;\n margin: 0 !important;\n box-shadow: none !important;\n overflow: auto;\n }\n }\n}\n</style>\n\n<style>\nhtml {\n overflow: auto !important;\n}\n</style>\n","import { render } from \"./Plugin.vue?vue&type=template&id=e339182c&scoped=true\"\nimport script from \"./Plugin.vue?vue&type=script&lang=js\"\nexport * from \"./Plugin.vue?vue&type=script&lang=js\"\n\nimport \"./Plugin.vue?vue&type=style&index=0&id=e339182c&lang=scss&scoped=true\"\nimport \"./Plugin.vue?vue&type=style&index=1&id=e339182c&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e339182c\"]])\n\nexport default __exports__","import { createWebHistory, createRouter } from \"vue-router\";\nimport Dashboard from \"@/views/Dashboard.vue\";\nimport NotFound from \"@/views/NotFound\";\nimport Login from \"@/views/Login\";\nimport Register from \"@/views/Register\";\nimport Panel from \"@/views/Panel\";\nimport Plugin from \"@/views/Plugin\";\n\nconst routes = [\n {\n path: \"/\",\n name: \"Panel\",\n component: Panel,\n },\n\n {\n path: \"/dashboard/:name\",\n name: \"Dashboard\",\n component: Dashboard,\n },\n\n {\n path: \"/plugin/:plugin\",\n name: \"Plugin\",\n component: Plugin,\n },\n\n {\n path: \"/login\",\n name: \"Login\",\n component: Login,\n },\n\n {\n path: \"/register\",\n name: \"Register\",\n component: Register,\n },\n\n {\n path: \"/:catchAll(.*)\",\n component: NotFound,\n },\n];\n\nconst router = createRouter({\n history: createWebHistory(),\n routes,\n});\n\nexport default router;\n","/* eslint-disable no-console */\n\nimport { register } from 'register-service-worker'\n\nif (process.env.NODE_ENV === 'production') {\n register(`${process.env.BASE_URL}service-worker.js`, {\n ready () {\n console.log(\n 'App is being served from cache by a service worker.\\n' +\n 'For more details, visit https://goo.gl/AFskqB'\n )\n },\n registered () {\n console.log('Service worker has been registered.')\n },\n cached () {\n console.log('Content has been cached for offline use.')\n },\n updatefound () {\n console.log('New content is downloading.')\n },\n updated () {\n console.log('New content is available; please refresh.')\n },\n offline () {\n console.log('No internet connection found. App is running in offline mode.')\n },\n error (error) {\n console.error('Error during service worker registration:', error)\n }\n })\n}\n","import { createApp } from 'vue'\nimport App from '@/App.vue'\nimport router from '@/router'\nimport './registerServiceWorker'\n\nconst app = createApp(App)\napp.config.globalProperties._config = window.config\napp.use(router).mount('#app')\n","<script>\nimport axios from 'axios'\n\nexport default {\n name: \"Api\",\n methods: {\n execute(request, timeout=60000, showError=true) {\n const opts = {};\n\n if (!('target' in request) || !request['target']) {\n request['target'] = 'localhost'\n }\n\n if (!('type' in request) || !request['type']) {\n request['type'] = 'request'\n }\n\n if (timeout) {\n opts.timeout = timeout\n }\n\n return new Promise((resolve, reject) => {\n axios.post('/execute', request, opts)\n .then((response) => {\n response = response.data.response\n if (!response.errors?.length) {\n resolve(response.output);\n } else {\n const error = response.errors?.[0] || response\n this.notify({\n text: error,\n error: true,\n })\n\n reject(error)\n }\n })\n .catch((error) => {\n // No users present -> redirect to the registration page\n if (\n error?.response?.data?.code === 412 &&\n window.location.href.indexOf('/register') < 0\n ) {\n window.location.href = '/register?redirect=' + window.location.href\n return\n }\n\n // Unauthorized -> redirect to the login page\n if (\n error?.response?.data?.code === 401 &&\n window.location.href.indexOf('/login') < 0\n ) {\n window.location.href = '/login?redirect=' + window.location.href\n return\n }\n\n console.log(error)\n if (showError)\n this.notify({\n text: error,\n error: true,\n })\n\n reject(error)\n })\n })\n },\n\n request(action, args={}, timeout=60000, showError=true) {\n return this.execute({\n type: 'request',\n action: action,\n args: args,\n }, timeout, showError);\n }\n },\n}\n</script>\n\n","import script from \"./Api.vue?vue&type=script&lang=js\"\nexport * from \"./Api.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<script>\nexport default {\n name: \"Clipboard\",\n methods: {\n async copyToClipboard(text) {\n await navigator.clipboard.writeText(text)\n this.notify({\n text: 'Copied to the clipboard',\n image: {\n icon: 'clipboard',\n },\n })\n },\n },\n}\n</script>\n\n","import script from \"./Clipboard.vue?vue&type=script&lang=js\"\nexport * from \"./Clipboard.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<script>\nexport default {\n name: \"Cookies\",\n methods: {\n getCookies() {\n return document.cookie.split(/;\\s*/).reduce((obj, item) => {\n const [k, v] = item.split('=')\n obj[k] = v\n return obj\n }, {})\n },\n\n getCookie(name) {\n return this.getCookies()[name]\n },\n\n setCookie(name, value, opts) {\n document.cookie = (\n `${name}=${value}; path=${opts?.path || '/'}` + (\n opts?.expires ? `; expires=${opts?.expires.toISOString()}` : ''\n )\n )\n },\n\n deleteCookie(name) {\n document.cookie = (\n `${name}=; expires=1970-01-01T00:00:00Z`\n )\n },\n }\n}\n</script>\n","import script from \"./Cookies.vue?vue&type=script&lang=js\"\nexport * from \"./Cookies.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<script>\nexport default {\n name: \"DateTime\",\n methods: {\n formatDate(date, year=false) {\n if (typeof date === 'string')\n date = new Date(Date.parse(date))\n\n return date.toDateString().substring(0, year ? 15 : 10)\n },\n\n formatTime(date, seconds=true) {\n if (typeof date === 'string')\n date = new Date(Date.parse(date))\n\n return date.toTimeString().substring(0, seconds ? 8 : 5)\n },\n\n formatDateTime(date, year=false, seconds=true) {\n if (typeof date === 'string')\n date = new Date(Date.parse(date))\n\n return `${this.formatDate(date, year)}, ${this.formatTime(date, seconds)}`\n },\n },\n}\n</script>\n","import script from \"./DateTime.vue?vue&type=script&lang=js\"\nexport * from \"./DateTime.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<script>\nimport { bus } from \"@/bus\";\n\nexport default {\n name: \"Events\",\n computed: {\n _eventsReady() {\n return this.$root.$refs.events?.initialized\n },\n },\n\n methods: {\n subscribe(handler, handlerName, ...events) {\n const subFunc = () => {\n bus.emit('subscribe', {\n events: events,\n handler: handler,\n handlerName: handlerName || this.generateId(),\n })\n }\n\n if (this._eventsReady) {\n subFunc()\n return\n }\n\n const self = this\n const unwatch = this.$watch( () => self._eventsReady, (newVal) => {\n if (newVal) {\n subFunc()\n unwatch()\n }\n })\n\n return unwatch\n },\n\n unsubscribe(handlerName) {\n bus.emit('unsubscribe', handlerName)\n },\n\n generateId() {\n return btoa([...Array(11).keys()].map(() => String.fromCharCode(Math.round(Math.random() * 255))))\n },\n }\n}\n</script>\n","import script from \"./Events.vue?vue&type=script&lang=js\"\nexport * from \"./Events.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<script>\nexport default {\n name: \"Extensions\",\n methods: {\n pluginDisplayName(name) {\n const words = name.split('.')\n words.forEach((word, idx) => {\n words[idx] = word.charAt(0).toUpperCase() + word.slice(1)\n })\n\n if (words.length > 1)\n words[0] = `[${words[0]}]`\n\n return words.join(' ')\n },\n }\n}\n</script>\n","import script from \"./Extensions.vue?vue&type=script&lang=js\"\nexport * from \"./Extensions.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<script>\nimport { bus } from \"@/bus\";\n\nexport default {\n name: \"Notification\",\n methods: {\n notify(notification) {\n bus.publishNotification(notification)\n },\n\n notifyWarning(msg) {\n this.notify({\n text: msg,\n warning: true,\n })\n },\n\n notifyError(msg) {\n this.notify({\n text: msg,\n error: true,\n })\n\n throw msg\n },\n }\n}\n</script>\n","import script from \"./Notification.vue?vue&type=script&lang=js\"\nexport * from \"./Notification.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<script>\nexport default {\n name: \"Screen\",\n methods: {\n isMobile() {\n return window.matchMedia(\"only screen and (max-width: 768px)\").matches\n },\n\n isTablet() {\n return (\n !this.isMobile() &&\n window.matchMedia(\"only screen and (max-width: 1023px)\").matches\n )\n },\n\n isDesktop() {\n return window.matchMedia(\"only screen and (min-width: 1024px)\").matches\n },\n },\n}\n</script>\n","import script from \"./Screen.vue?vue&type=script&lang=js\"\nexport * from \"./Screen.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<script>\nexport default {\n name: \"Text\",\n methods: {\n capitalize(text) {\n if (!text?.length)\n return text\n\n return text.charAt(0).toUpperCase() + text.slice(1)\n },\n\n prettify(text) {\n return text.split('_').map((t) => this.capitalize(t)).join(' ')\n },\n\n indent(text, spaces = 2) {\n return text.split('\\n').map((t) => `${' '.repeat(spaces)}${t}`).join('\\n')\n },\n },\n}\n</script>\n","import script from \"./Text.vue?vue&type=script&lang=js\"\nexport * from \"./Text.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<script>\nexport default {\n name: \"Types\",\n methods: {\n parseBoolean(value) {\n if (typeof value === 'string') {\n value = value.toLowerCase()\n if (value === 'true')\n return true\n if (value === 'false')\n return false\n\n return !!parseInt(value)\n }\n\n return !!value\n },\n\n convertSize(value) {\n if (typeof value === 'string')\n value = parseInt(value)\n\n let unit = null\n const units = ['B', 'KB', 'MB', 'GB', 'TB']\n\n units.forEach((u, i) => {\n if (value <= 1024 && unit == null) {\n unit = u\n } else if (value > 1024) {\n if (i === units.length-1) {\n unit = u\n } else {\n value = value/1024\n }\n }\n })\n\n return `${value.toFixed(2)} ${unit}`\n },\n\n convertTime(time) {\n const t = {}\n const ret = []\n\n time = parseFloat(time); // Normalize strings\n t.d = Math.round(time/86400)\n t.h = Math.round(time/3600 - t.d*24)\n t.m = Math.round(time/60 - (t.d*24 + t.h*60))\n t.s = Math.round(time - (t.d*24 + t.h*3600 + t.m*60), 1)\n\n if (parseInt(t.d)) {\n let d = t.d + ' day'\n if (t.d > 1) {\n d += 's'\n }\n ret.push(d)\n }\n\n if (parseInt(t.h)) {\n let h = t.h + ' hour'\n if (t.h > 1) {\n h += 's'\n }\n ret.push(h)\n }\n\n if (parseInt(t.m)) {\n let m = t.m + ' minute'\n if (t.m > 1) {\n m += 's'\n }\n ret.push(m)\n }\n\n let s = t.s + ' second'\n if (t.s > 1) {\n s += 's'\n }\n ret.push(s)\n\n return ret.join(' ')\n },\n\n objectsEqual(a, b) {\n if (typeof(a) !== 'object' || typeof(b) !== 'object')\n return false\n\n if (a == null || b == null) {\n return a == null && b == null\n }\n\n for (const p of Object.keys(a || {})) {\n switch(typeof(a[p])) {\n case 'object':\n if (!this.objectsEqual(a[p], b[p]))\n return false\n break\n\n case 'function':\n if (a[p].toString() != b[p]?.toString())\n return false\n break\n\n default:\n if (a[p] != b[p])\n return false\n break\n }\n }\n\n for (const p of Object.keys(b || {}))\n if (a[p] == null && b[p] != null)\n return false\n\n return true\n },\n },\n}\n</script>\n","import script from \"./Types.vue?vue&type=script&lang=js\"\nexport * from \"./Types.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<script>\nexport default {\n name: \"Url\",\n methods: {\n parseUrlFragment() {\n return window.location.href.replace(/.*#(\\w+)[?;]?.*/, '$1')\n },\n\n getUrlArgs() {\n return window.location.href\n .replace(/.*#/, '')\n .replace(/.*\\?/, '')\n .split(/[&;]/)\n .reduce((acc, obj) => {\n const tokens = obj.split('=')\n acc[tokens[0]] = tokens[1]\n return acc\n }, {})\n },\n\n setUrlArgs(args) {\n window.location.href = (\n `/#${this.parseUrlFragment()}?${this.fragmentFromArgs(args)}`\n )\n },\n\n fragmentFromArgs(args) {\n return Object.entries(args)\n .map(\n ([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`\n )\n .join('&')\n },\n },\n}\n</script>\n\n","import script from \"./Url.vue?vue&type=script&lang=js\"\nexport * from \"./Url.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<script>\nimport Api from \"@/utils/Api\";\nimport Clipboard from \"@/utils/Clipboard\";\nimport Cookies from \"@/utils/Cookies\";\nimport DateTime from \"@/utils/DateTime\";\nimport Events from \"@/utils/Events\";\nimport Extensions from \"@/utils/Extensions\";\nimport Notification from \"@/utils/Notification\";\nimport Screen from \"@/utils/Screen\";\nimport Text from \"@/utils/Text\";\nimport Types from \"@/utils/Types\";\nimport Url from \"@/utils/Url\";\n\nexport default {\n name: \"Utils\",\n mixins: [\n Api,\n Clipboard,\n Cookies,\n DateTime,\n Events,\n Notification,\n Extensions,\n Screen,\n Text,\n Types,\n Url,\n ],\n}\n</script>\n","import script from \"./Utils.vue?vue&type=script&lang=js\"\nexport * from \"./Utils.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","<template>\n <div class=\"loading\">\n <div class=\"icon\">\n <div v-for=\"n in 4\" :key=\"n\" />\n </div>\n </div>\n</template>\n\n<style lang=\"scss\" scoped>\n.loading {\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 3em;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: $loading-bg;\n opacity: 0.5;\n}\n\n.icon {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n\n div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #fff;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n\n &:nth-child(1) {\n left: 8px;\n animation: lds-ellipsis1 0.6s infinite;\n }\n\n &:nth-child(2) {\n left: 8px;\n animation: lds-ellipsis2 0.6s infinite;\n }\n\n &:nth-child(3) {\n left: 32px;\n animation: lds-ellipsis2 0.6s infinite;\n }\n\n &:nth-child(4) {\n left: 56px;\n animation: lds-ellipsis3 0.6s infinite;\n }\n }\n}\n\n@keyframes lds-ellipsis1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes lds-ellipsis3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n}\n\n@keyframes lds-ellipsis2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n}\n</style>","import { render } from \"./Loading.vue?vue&type=template&id=4d9c871b&scoped=true\"\nconst script = {}\n\nimport \"./Loading.vue?vue&type=style&index=0&id=4d9c871b&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4d9c871b\"]])\n\nexport default __exports__","<template>\n <div class=\"modal-container fade-in\" :id=\"id\" :class=\"{hidden: !isVisible}\"\n :style=\"{'--z-index': zIndex}\" @click=\"close\">\n <div class=\"modal\" :class=\"$attrs.class\">\n <div class=\"content\" :style=\"{'--width': width, '--height': height}\" @click=\"$event.stopPropagation()\">\n <div class=\"header\" v-if=\"title\">\n <div class=\"title\" v-text=\"title\" v-if=\"title\" />\n <button title=\"Close\" alt=\"Close\" @click=\"close\">\n <i class=\"fas fa-xmark\" />\n </button>\n </div>\n <div class=\"body\">\n <slot @modal-close=\"close\" />\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Modal\",\n emits: ['close', 'open'],\n props: {\n // Modal ID\n id: {\n type: String,\n },\n\n // Modal title\n title: {\n type: String,\n },\n\n // Modal width\n width: {\n type: [Number, String],\n },\n\n // Modal height\n height: {\n type: [Number, String],\n },\n\n // Modal initial visibility value\n visible: {\n type: Boolean,\n default: false,\n },\n\n // Modal timeout in seconds\n timeout: {\n type: [Number, String],\n },\n\n // Modal z-index level\n level: {\n type: Number,\n default: 1,\n },\n },\n\n data() {\n return {\n timeoutId: undefined,\n prevVisible: this.visible,\n isVisible: this.visible,\n }\n },\n\n computed: {\n zIndex() {\n return 500 + this.level\n },\n },\n\n methods: {\n close() {\n this.prevVisible = this.isVisible\n this.isVisible = false\n },\n\n hide() {\n this.close()\n },\n\n show() {\n this.prevVisible = this.isVisible\n this.isVisible = true\n },\n\n toggle() {\n if (this.isVisible)\n this.close()\n else\n this.show()\n },\n\n onKeyUp(event) {\n event.stopPropagation()\n if (event.key === 'Escape') {\n this.close()\n }\n },\n },\n\n mounted() {\n const self = this\n const visibleHndl = (visible) => {\n if (!visible)\n self.$emit('close')\n else\n self.$emit('open')\n\n self.isVisible = visible\n }\n\n document.body.addEventListener('keyup', this.onKeyUp)\n this.$watch(() => this.visible, visibleHndl)\n this.$watch(() => this.isVisible, visibleHndl)\n },\n\n unmounted() {\n document.body.removeEventListener('keyup', this.onKeyUp)\n },\n\n updated() {\n this.prevVisible = this.isVisible\n if (this.isVisible) {\n // Make sure that a newly opened or visible+updated modal always comes to the front\n let maxZIndex = parseInt(getComputedStyle(this.$el).zIndex)\n let outermostModals = []\n\n for (const modal of document.querySelectorAll('.modal-container:not(.hidden)')) {\n const zIndex = parseInt(getComputedStyle(modal).zIndex)\n\n if (zIndex > maxZIndex) {\n maxZIndex = zIndex\n outermostModals = [modal]\n } else if (zIndex === maxZIndex) {\n outermostModals.push(modal)\n }\n }\n\n if (outermostModals.indexOf(this.$el) < 0 || outermostModals.length > 1) {\n this.$el.style.zIndex = maxZIndex+1\n }\n }\n\n if (this.isVisible && this.timeout && !this.timeoutId) {\n const handler = (self) => {\n return () => {\n // self.modalClose()\n self.close()\n self.timeoutId = undefined\n }\n }\n\n this.timeoutId = setTimeout(handler(this), 0+this.timeout)\n }\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n$icon-size: 1.5em;\n$icon-margin: 0.5em;\n\n.modal-container {\n position: fixed;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: var(--z-index);\n background: rgba(10,10,10,0.9);\n\n .modal {\n display: flex;\n\n .content {\n --width: auto;\n --height: auto;\n width: var(--width);\n height: var(--height);\n border-radius: 0.5em;\n background: $modal-body-bg;\n }\n\n .header {\n display: flex;\n position: relative;\n border-bottom: $modal-header-border;\n border-radius: 0.5em 0.5em 0 0;\n padding: 0.5em;\n text-align: center;\n justify-content: center;\n align-items: center;\n background: $modal-header-bg;\n text-transform: uppercase;\n\n button {\n width: $icon-size;\n height: $icon-size;\n position: absolute;\n right: 0;\n margin: auto $icon-margin;\n padding: 0;\n border: 0;\n background: transparent;\n\n &:hover {\n color: $default-hover-fg;\n }\n }\n }\n\n .body {\n max-height: 75vh;\n overflow: auto;\n padding: 2em;\n }\n }\n}\n</style>\n","import { render } from \"./Modal.vue?vue&type=template&id=18f9fdba&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=18f9fdba&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-18f9fdba\"]])\n\nexport default __exports__","<template>\n <Modal ref=\"modal\" :title=\"title\">\n <div class=\"dialog-content\">\n <slot />\n </div>\n\n <form class=\"buttons\" @submit.prevent=\"onConfirm\">\n <button type=\"submit\" class=\"ok-btn\" @click=\"onConfirm\" @touch=\"onConfirm\">\n <i class=\"fas fa-check\" /> &nbsp; {{ confirmText }}\n </button>\n <button type=\"button\" class=\"cancel-btn\" @click=\"close\" @touch=\"close\">\n <i class=\"fas fa-xmark\" /> &nbsp; {{ cancelText }}\n </button>\n </form>\n </Modal>\n</template>\n\n<script>\nimport Modal from \"@/components/Modal\";\n\nexport default {\n emits: ['input', 'click', 'touch'],\n components: {Modal},\n props: {\n title: {\n type: String,\n },\n\n confirmText: {\n type: String,\n default: \"OK\",\n },\n\n cancelText: {\n type: String,\n default: \"Cancel\",\n },\n },\n\n methods: {\n onConfirm() {\n this.$emit('input')\n this.close()\n },\n\n show() {\n this.$refs.modal.show()\n },\n\n close() {\n this.$refs.modal.hide()\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n:deep(.modal) {\n .dialog-content {\n padding: 1em;\n }\n\n .body {\n padding: 1.5em;\n }\n\n .buttons {\n display: flex;\n flex-direction: row;\n justify-content: right;\n margin-bottom: 1em;\n border: 0;\n border-radius: 0;\n\n button {\n margin-right: 1em;\n padding: 0.5em 1em;\n border: 1px solid $border-color-2;\n border-radius: 1em;\n\n &:hover {\n background: $hover-bg;\n }\n }\n }\n}\n</style>\n","import { render } from \"./ConfirmDialog.vue?vue&type=template&id=db648f4c&scoped=true\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\n\nimport \"./ConfirmDialog.vue?vue&type=style&index=0&id=db648f4c&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-db648f4c\"]])\n\nexport default __exports__","<template>\n <div class=\"dropdown-container\" ref=\"container\">\n <button :title=\"title\" ref=\"button\" @click.stop=\"toggle($event)\">\n <i class=\"icon\" :class=\"iconClass\" v-if=\"iconClass\" />\n <span class=\"text\" v-text=\"text\" v-if=\"text\" />\n </button>\n\n <div class=\"dropdown fade-in\" :id=\"id\" :class=\"{hidden: !visible}\" ref=\"dropdown\">\n <slot />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Dropdown\",\n emits: ['click'],\n props: {\n id: {\n type: String,\n },\n\n items: {\n type: Array,\n default: () => [],\n },\n\n iconClass: {\n default: 'fa fa-ellipsis-h',\n },\n\n text: {\n type: String,\n },\n\n title: {\n type: String,\n },\n\n keepOpenOnItemClick: {\n type: Boolean,\n default: false,\n },\n },\n\n data() {\n return {\n visible: false,\n }\n },\n\n methods: {\n documentClickHndl(event) {\n if (!this.visible)\n return\n\n let element = event.target\n while (element) {\n if (!this.$refs.dropdown)\n break\n if (element === this.$refs.dropdown.element)\n return\n\n element = element.parentElement\n }\n\n this.close()\n },\n\n close() {\n this.visible = false\n document.removeEventListener('click', this.documentClickHndl)\n },\n\n open() {\n document.addEventListener('click', this.documentClickHndl)\n this.visible = true\n\n setTimeout(() => {\n const element = this.$refs.dropdown\n element.style.left = 0\n element.style.top = parseFloat(getComputedStyle(this.$refs.button).height) + 'px'\n\n if (element.getBoundingClientRect().left > window.innerWidth/2)\n element.style.left = (-element.clientWidth + parseFloat(getComputedStyle(this.$refs.button).width)) + 'px'\n\n if (element.getBoundingClientRect().top > window.innerHeight/2)\n element.style.top = (-element.clientHeight + parseFloat(getComputedStyle(this.$refs.button).height)) + 'px'\n }, 10)\n },\n\n toggle(event) {\n event.stopPropagation()\n this.$emit('click')\n this.visible ? this.close() : this.open()\n },\n\n onKeyUp(event) {\n event.stopPropagation()\n if (event.key === 'Escape') {\n this.close()\n }\n },\n },\n\n mounted() {\n document.body.addEventListener('keyup', this.onKeyUp)\n },\n\n unmounted() {\n document.body.removeEventListener('keyup', this.onKeyUp)\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.dropdown-container {\n position: relative;\n display: inline-flex;\n flex-direction: column;\n\n button {\n background: $default-bg-2;\n border: 0;\n padding: 0.5em;\n\n &:hover {\n color: $default-hover-fg;\n }\n }\n\n .dropdown {\n position: absolute;\n width: max-content;\n background: $dropdown-bg;\n border-radius: .25em;\n border: $default-border-3;\n box-shadow: $dropdown-shadow;\n display: flex;\n flex-direction: column;\n z-index: 1;\n }\n}\n\n:deep(.dropdown-container) {\n button {\n width: 100%;\n height: 100%;\n color: $default-fg-2;\n background: $dropdown-bg;\n border: 0;\n padding: 0.75em 0.5em;\n text-align: left;\n letter-spacing: 0.01em;\n\n &:hover {\n background: $hover-bg;\n color: $default-fg-2;\n }\n\n .text {\n padding-left: 0.25em;\n }\n }\n}\n\n</style>\n","import { render } from \"./Dropdown.vue?vue&type=template&id=5b964c03&scoped=true\"\nimport script from \"./Dropdown.vue?vue&type=script&lang=js\"\nexport * from \"./Dropdown.vue?vue&type=script&lang=js\"\n\nimport \"./Dropdown.vue?vue&type=style&index=0&id=5b964c03&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5b964c03\"]])\n\nexport default __exports__","<template>\n <div class=\"row item\" :class=\"itemClass\" @click=\"clicked\">\n <div class=\"col-2 icon\" v-if=\"iconClass?.length || iconUrl?.length\">\n <Icon :class=\"iconClass\" :url=\"iconUrl\" />\n </div>\n <div class=\"text\" :class=\"{'col-10': iconClass != null}\" v-text=\"text\" />\n </div>\n</template>\n\n<script>\nimport Icon from \"@/components/elements/Icon\";\n\nexport default {\n name: \"DropdownItem\",\n components: {Icon},\n props: {\n iconClass: {\n type: String,\n },\n\n iconUrl: {\n type: String,\n },\n\n text: {\n type: String,\n },\n\n disabled: {\n type: Boolean,\n default: false,\n },\n\n itemClass: {}\n },\n\n methods: {\n clicked(event) {\n if (this.disabled)\n return false\n\n this.$parent.$emit('click', event)\n if (!this.$parent.keepOpenOnItemClick)\n this.$parent.visible = false\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.item {\n display: flex;\n padding: 0.75em 0.5em;\n cursor: pointer;\n align-items: center;\n color: $default-fg-2;\n border: 0;\n box-shadow: none;\n\n &:hover {\n background: $hover-bg;\n }\n\n &.selected {\n font-weight: bold;\n }\n\n &.disabled {\n color: $dropdown-disabled-color;\n cursor: initial;\n }\n\n .text {\n text-align: left;\n margin-left: 0.5em;\n }\n\n .icon {\n width: 1.5em;\n display: inline-flex;\n align-items: center;\n }\n\n :deep(.icon-container) {\n width: 2em;\n display: inline-flex;\n align-items: center;\n\n .icon {\n margin: 0 1.5em 0 .5em;\n }\n }\n}\n</style>\n","import { render } from \"./DropdownItem.vue?vue&type=template&id=29ddda9f&scoped=true\"\nimport script from \"./DropdownItem.vue?vue&type=script&lang=js\"\nexport * from \"./DropdownItem.vue?vue&type=script&lang=js\"\n\nimport \"./DropdownItem.vue?vue&type=style&index=0&id=29ddda9f&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-29ddda9f\"]])\n\nexport default __exports__","<template>\n <div class=\"icon-container\">\n <img class=\"icon\" :src=\"url\" :alt=\"alt\" v-if=\"url?.length\">\n <i class=\"icon\" :class=\"className\" :style=\"{color: color}\"\n v-else-if=\"className?.length\" />\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n class: {\n type: String,\n },\n url: {\n type: String,\n },\n color: {\n type: String,\n default: '',\n },\n alt: {\n type: String,\n default: '',\n },\n },\n\n computed: {\n className() {\n return this.class\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.icon-container {\n display: inline-flex;\n width: $icon-container-size;\n justify-content: center;\n text-align: center;\n\n .icon {\n width: 1em;\n height: 1em;\n }\n}\n</style>\n","import { render } from \"./Icon.vue?vue&type=template&id=706a3bd1&scoped=true\"\nimport script from \"./Icon.vue?vue&type=script&lang=js\"\nexport * from \"./Icon.vue?vue&type=script&lang=js\"\n\nimport \"./Icon.vue?vue&type=style&index=0&id=706a3bd1&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-706a3bd1\"]])\n\nexport default __exports__","<template>\n <div class=\"tab\" :class=\"selected ? 'selected' : ''\" @click=\"$emit('input')\">\n <span class=\"icon\" v-if=\"iconClass?.length || iconUrl?.length\">\n <Icon :class=\"iconClass\" :url=\"iconUrl\" />\n </span> &nbsp;\n <slot />\n </div>\n</template>\n\n<script>\nimport Icon from \"@/components/elements/Icon\";\n\nexport default {\n name: \"Tab\",\n components: {Icon},\n emits: ['input'],\n props: {\n selected: {\n type: Boolean,\n default: false,\n },\n\n iconClass: {\n type: String,\n },\n\n iconUrl: {\n type: String,\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.tab {\n background: $tab-bg;\n display: flex;\n padding: 1em;\n align-items: center;\n border-right: $default-border-2;\n cursor: pointer;\n\n @include until($tablet) {\n flex-grow: 1;\n justify-content: center;\n }\n\n &.selected {\n background: $selected-bg;\n font-weight: bold;\n }\n\n &:hover {\n background: $hover-bg;\n }\n\n :deep(.icon-container) {\n width: 1.5em;\n }\n}\n</style>\n","import { render } from \"./Tab.vue?vue&type=template&id=9dc3b3b6&scoped=true\"\nimport script from \"./Tab.vue?vue&type=script&lang=js\"\nexport * from \"./Tab.vue?vue&type=script&lang=js\"\n\nimport \"./Tab.vue?vue&type=style&index=0&id=9dc3b3b6&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9dc3b3b6\"]])\n\nexport default __exports__","<template>\n <div class=\"tabs\">\n <slot />\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Tabs\",\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.tabs {\n background: $tabs-bg;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n margin-top: 0.2em;\n margin-bottom: 0.2em;\n box-shadow: $border-shadow-bottom;\n}\n</style>\n","import { render } from \"./Tabs.vue?vue&type=template&id=f4300bb0&scoped=true\"\nimport script from \"./Tabs.vue?vue&type=script&lang=js\"\nexport * from \"./Tabs.vue?vue&type=script&lang=js\"\n\nimport \"./Tabs.vue?vue&type=style&index=0&id=f4300bb0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f4300bb0\"]])\n\nexport default __exports__","<template>\n <div class=\"row plugin extensions-container\">\n <Loading v-if=\"loading\" />\n\n <header>\n <div class=\"filter-container\">\n <input type=\"text\"\n ref=\"filter\"\n placeholder=\"Extension name\"\n v-model=\"filter\"\n :disabled=\"loading\" />\n </div>\n </header>\n\n <main>\n <div class=\"items\">\n <div class=\"extension-container\" v-for=\"name in extensionNames\" :key=\"name\">\n <div class=\"extension\" v-if=\"matchesFilter(name)\">\n <div class=\"item name\"\n :class=\"{selected: name === selectedExtension}\"\n :data-name=\"name\"\n @click=\"onInput(name, false)\"\n v-text=\"extensions[name].name\" />\n\n <div class=\"extension-body-container until tablet\"\n v-if=\"selectedExtension && name === selectedExtension\">\n <Extension :extension=\"extensions[selectedExtension]\"\n :config-file=\"configFile\" />\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"extension-body-container from desktop\"\n v-if=\"selectedExtension\">\n <Extension :extension=\"extensions[selectedExtension]\"\n :config-file=\"configFile\" />\n </div>\n </main>\n </div>\n</template>\n\n<script>\nimport Loading from \"@/components/Loading\"\nimport Utils from \"@/Utils\"\nimport Extension from \"./Extension\"\nimport { bus } from \"@/bus\"\n\nexport default {\n name: \"Extensions\",\n mixins: [Utils],\n components: {\n Extension,\n Loading,\n },\n\n data() {\n return {\n loading: false,\n plugins: {},\n backends: {},\n filter: '',\n selectedExtension: null,\n configFile: null,\n }\n },\n\n computed: {\n extensions() {\n const extensions = {}\n\n Object.entries(this.plugins).forEach(([name, plugin]) => {\n extensions[name] = {\n ...plugin,\n name: name,\n }\n })\n\n Object.entries(this.backends).forEach(([name, backend]) => {\n name = `backend.${name}`\n extensions[name] = {\n ...backend,\n name: name,\n }\n })\n\n return extensions\n },\n\n extensionNames() {\n return Object.keys(this.extensions).sort()\n },\n },\n\n methods: {\n onInput(input, setFilter = true, setUrlArgs = true) {\n if (setFilter) {\n this.filter = input\n }\n\n const name = input?.toLowerCase()?.trim()\n if (name?.length && this.extensions[name]) {\n this.selectedExtension = name\n if (setUrlArgs)\n this.setUrlArgs({extension: name})\n\n const el = this.$el.querySelector(`.extensions-container .item[data-name=\"${name}\"]`)\n if (el)\n el.scrollIntoView({behavior: 'smooth'})\n } else {\n this.selectedExtension = null\n if (setUrlArgs)\n this.setUrlArgs({})\n }\n },\n\n matchesFilter(extension) {\n if (!this.filter) {\n return true\n }\n\n return extension.includes(this.filter.toLowerCase())\n },\n\n async loadExtensions() {\n this.loading = true\n\n try {\n [this.plugins, this.backends] =\n await Promise.all([\n this.request('inspect.get_all_plugins'),\n this.request('inspect.get_all_backends'),\n ])\n } finally {\n this.loading = false\n }\n\n this.loadExtensionFromUrl()\n this.$watch('$route.hash', () => this.loadExtensionFromUrl())\n },\n\n async loadConfigFile() {\n this.configFile = await this.request('config.get_config_file')\n },\n\n loadExtensionFromUrl() {\n const extension = this.getUrlArgs().extension\n if (extension)\n this.$nextTick(() => this.onInput(extension, false, false))\n },\n },\n\n mounted() {\n this.loadConfigFile()\n this.loadExtensions()\n bus.on('update:extension', (ext) => this.onInput(ext, false))\n this.$nextTick(() => this.$refs.filter.focus())\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"src/style/items\";\n@import \"../Execute/common\";\n\n$header-height: 3.25em;\n\n.extensions-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n margin-top: .15em;\n\n header {\n height: $header-height;\n padding: 0.5em;\n margin-bottom: 2px;\n box-shadow: $border-shadow-bottom;\n\n .filter-container {\n width: 100%;\n\n input {\n width: 100%;\n }\n }\n }\n\n main {\n height: calc(100% - #{$header-height} - 0.25em);\n min-height: calc(100% - #{$header-height} - 0.25em);\n background: $background-color;\n display: flex;\n flex-direction: row;\n }\n\n .items {\n height: 100%;\n flex-grow: 1;\n overflow: auto;\n border-bottom: $default-border-2;\n }\n\n .extension-container {\n .extension {\n display: flex;\n flex-direction: column;\n\n .name {\n padding: 1em;\n\n &.selected {\n font-weight: bold;\n }\n }\n }\n }\n\n .extension-body-container.desktop {\n width: 70%;\n height: 100%;\n min-height: 100%;\n border-left: $default-border-2;\n border-bottom: $default-border-2;\n\n :deep(article) {\n height: 100%;\n overflow: auto;\n }\n }\n}\n</style>\n","<template>\n <div class=\"extension\">\n <header>\n <Tabs>\n <Tab :selected=\"selectedTab === 'doc'\" icon-class=\"fas fa-book\"\n @input=\"selectedTab = 'doc'\">\n <span class=\"from tablet\">Documentation</span>\n </Tab>\n\n <Tab :selected=\"selectedTab === 'install'\" icon-class=\"fas fa-download\"\n @input=\"selectedTab = 'install'\">\n <span class=\"from tablet\">Install</span>\n </Tab>\n\n <Tab :selected=\"selectedTab === 'config'\" icon-class=\"fas fa-square-check\"\n @input=\"selectedTab = 'config'\">\n <span class=\"from tablet\">Configuration</span>\n </Tab>\n </Tabs>\n </header>\n\n <div class=\"extension-body\">\n <Doc v-if=\"selectedTab === 'doc'\" :extension=\"extension\" />\n <Config v-else-if=\"selectedTab === 'config'\"\n :extension=\"extension\"\n :config-file=\"configFile\" />\n <Install v-else-if=\"selectedTab === 'install'\" :extension=\"extension\" />\n </div>\n </div>\n</template>\n\n<script>\nimport Tab from \"@/components/elements/Tab\"\nimport Tabs from \"@/components/elements/Tabs\"\nimport Config from \"./Config\"\nimport Doc from \"./Doc\"\nimport Install from \"./Install\"\n\nexport default {\n name: \"Extension\",\n components: {\n Config,\n Doc,\n Install,\n Tab,\n Tabs,\n },\n\n props: {\n extension: {\n type: Object,\n required: true,\n },\n\n configFile: {\n type: String,\n },\n },\n\n data() {\n return {\n selectedTab: 'doc',\n }\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"src/style/items\";\n\n$header-height: 3.6em;\n\n.extension {\n width: 100%;\n height: 100%;\n background: $background-color;\n display: flex;\n flex-direction: column;\n border-top: 1px solid $border-color-1;\n box-shadow: $border-shadow-bottom;\n\n header {\n height: $header-height;\n\n :deep(.tabs) {\n margin: 0;\n }\n }\n\n .extension-body {\n height: calc(100% - #{$header-height});\n display: flex;\n flex-direction: column;\n overflow: auto;\n\n :deep(section) {\n height: calc(100% - #{$header-height});\n }\n }\n}\n</style>\n","<template>\n <div class=\"config-container\" ref=\"root\">\n <CopyButton :text=\"extension.config_snippet\" />\n <pre><code class=\"config-snippet\" v-html=\"highlightedConfigSnippet\" /></pre>\n </div>\n</template>\n\n<script>\nimport 'highlight.js/lib/common'\nimport 'highlight.js/styles/stackoverflow-dark.min.css'\nimport hljs from \"highlight.js\"\nimport CopyButton from \"@/components/elements/CopyButton\"\nimport Utils from \"@/Utils\";\n\nexport default {\n name: \"Extension\",\n mixins: [Utils],\n components: {\n CopyButton,\n },\n\n props: {\n extension: {\n type: Object,\n required: true,\n },\n\n configFile: {\n type: String,\n },\n },\n\n computed: {\n highlightedConfigSnippet() {\n return hljs.highlight(\n 'yaml',\n `# Add this configuration template to ${this.configFile}\\n` +\n this.extension.config_snippet,\n ).value.trim()\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common.scss\";\n\n.config-container {\n width: 100%;\n height: 100%;\n position: relative;\n display: flex;\n}\n</style>\n","<template>\n <button class=\"copy-button\"\n ref=\"copyButton\"\n title=\"Copy to clipboard\"\n @click=\"copy\"\n @input=\"copy\">\n <i class=\"fas fa-clipboard\" />\n </button>\n</template>\n\n<script>\nimport Utils from \"@/Utils\"\n\nexport default {\n name: \"CopyButton\",\n emits: ['input', 'click'],\n mixins: [Utils],\n props: {\n text: {\n type: String,\n },\n },\n\n methods: {\n async copy(event) {\n if (this.text?.length)\n await this.copyToClipboard(this.text)\n\n this.$emit(event.type, event)\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.copy-button {\n position: absolute;\n top: 0;\n right: 0.5em;\n margin: 0;\n padding: 0 !important;\n background: none;\n color: $code-dark-fg;\n border: none;\n padding: 0.5em;\n font-size: 1.5em;\n cursor: pointer;\n z-index: 1;\n}\n</style>\n","import { render } from \"./CopyButton.vue?vue&type=template&id=6be1edc1&scoped=true\"\nimport script from \"./CopyButton.vue?vue&type=script&lang=js\"\nexport * from \"./CopyButton.vue?vue&type=script&lang=js\"\n\nimport \"./CopyButton.vue?vue&type=style&index=0&id=6be1edc1&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6be1edc1\"]])\n\nexport default __exports__","import { render } from \"./Config.vue?vue&type=template&id=18718917&scoped=true\"\nimport script from \"./Config.vue?vue&type=script&lang=js\"\nexport * from \"./Config.vue?vue&type=script&lang=js\"\n\nimport \"./Config.vue?vue&type=style&index=0&id=18718917&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-18718917\"]])\n\nexport default __exports__","<template>\n <section class=\"doc\">\n <header>\n <h2>\n <a class=\"title\" :href=\"extension.doc_url\" target=\"_blank\">\n <i class=\"icon fas fa-book\" />\n {{ extension.name }}\n </a>\n </h2>\n </header>\n\n <article v-if=\"doc\" @click=\"onDocClick\">\n <div class=\"doc-content\" v-html=\"doc\" />\n\n <div class=\"actions\" v-if=\"Object.keys(extension.actions || {}).length > 0\">\n <h3>\n <i class=\"icon fas fa-play\" /> &nbsp;\n Actions\n </h3>\n\n <ul>\n <li class=\"action\" v-for=\"actionName in actionNames\" :key=\"actionName\">\n <a :href=\"`/#execute?action=${extension.name}.${actionName}`\">\n {{ extension.name }}.{{ actionName }}\n </a>\n </li>\n </ul>\n </div>\n\n <div class=\"events\" v-if=\"Object.keys(extension.events || {}).length > 0\">\n <h3>\n <i class=\"icon fas fa-flag\" /> &nbsp;\n Events\n </h3>\n\n <ul>\n <li class=\"event\" v-for=\"eventName in eventNames\" :key=\"eventName\">\n <a :href=\"extension.events[eventName].doc_url\" target=\"_blank\">\n {{ eventName }}\n </a>\n </li>\n </ul>\n </div>\n </article>\n </section>\n</template>\n\n<script>\nimport Utils from \"@/Utils\"\nimport { bus } from \"@/bus\";\n\nexport default {\n name: \"Doc\",\n mixins: [Utils],\n props: {\n extension: {\n type: Object,\n required: true,\n },\n },\n\n data() {\n return {\n doc: null,\n localPageRegex: new RegExp('^/?#.*$'),\n }\n },\n\n computed: {\n actionNames() {\n return Object.keys(this.extension.actions).sort()\n },\n\n eventNames() {\n return Object.keys(this.extension.events).sort()\n },\n },\n\n methods: {\n async parseDoc() {\n if (!this.extension.doc?.length)\n return null\n\n return await this.request(\n 'utils.rst_to_html',\n {text: this.extension.doc}\n )\n },\n\n refreshDoc() {\n this.parseDoc().then(doc => this.doc = doc)\n },\n\n // Intercept links to the documentation and replace them with\n // in-app connections, or opens them in a new tab if they\n // don't point to an internal documentation page.\n onDocClick(event) {\n if (event.target.tagName.toLowerCase() !== 'a')\n return true\n\n event.preventDefault()\n const href = event.target.getAttribute('href')\n if (!href)\n return true\n\n if (href.match(this.localPageRegex)) {\n window.location.href = href\n return true\n }\n\n const match = href.match(/^https:\\/\\/docs\\.platypush\\.tech\\/platypush\\/(plugins|backend)\\/([\\w.]+)\\.html#?.*$/)\n if (!match) {\n event.preventDefault()\n window.open(href, '_blank')\n return true\n }\n\n let [type, name] = match.slice(1)\n if (type === 'backend')\n name = `backend.${name}`\n\n bus.emit('update:extension', name)\n event.preventDefault()\n },\n },\n\n mounted() {\n this.refreshDoc()\n this.$watch('extension.doc', this.refreshDoc)\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n$header-height: 3em;\n\nsection {\n height: 100%;\n\n header {\n height: $header-height;\n padding: 0.5em;\n border-bottom: 1px solid $border-color-2;\n\n h2 {\n margin: 0;\n padding: 0;\n font-size: 1.25em;\n }\n }\n\n article {\n height: calc(100% - #{$header-height});\n padding: 0.5em;\n overflow: auto;\n\n :deep(ul) {\n margin-left: 1em;\n\n li {\n list-style: disc;\n }\n }\n }\n\n .actions, .events {\n padding: 0.5em;\n overflow: auto;\n\n h3 {\n width: calc(100% - 1em);\n margin: 0 -0.5em;\n padding: 0 0.5em;\n font-size: 1.25em;\n opacity: 0.85;\n border-bottom: 1px solid $border-color-1;\n }\n\n ul {\n display: flex;\n flex-direction: column;\n margin: 0;\n\n li {\n width: 100%;\n display: block;\n margin: 0.5em 0;\n list-style: none;\n\n a {\n width: 100%;\n display: block;\n }\n }\n }\n\n pre {\n margin: 0;\n }\n }\n}\n</style>\n","import { render } from \"./Doc.vue?vue&type=template&id=5aac2322&scoped=true\"\nimport script from \"./Doc.vue?vue&type=script&lang=js\"\nexport * from \"./Doc.vue?vue&type=script&lang=js\"\n\nimport \"./Doc.vue?vue&type=style&index=0&id=5aac2322&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-5aac2322\"]])\n\nexport default __exports__","<template>\n <div class=\"install-container\">\n <section class=\"top\">\n <header>\n <h2>Dependencies</h2>\n </header>\n\n <div class=\"body\">\n <div class=\"container install-cmd-container\">\n <CopyButton :text=\"installCmd\" />\n <pre><code v-html=\"highlightedInstallCmd\" /></pre>\n </div>\n\n <div class=\"buttons install-btn\" v-if=\"installCmd?.length\">\n <button type=\"button\"\n class=\"btn btn-default\"\n :disabled=\"installRunning\"\n @click=\"installExtension\">\n <i class=\"fas fa-download\" /> Install\n </button>\n </div>\n </div>\n </section>\n\n <section class=\"bottom\" v-if=\"installRunning || installOutput\">\n <header>\n <h2>Output</h2>\n </header>\n\n <div class=\"body\">\n <div class=\"container install-output\" ref=\"installOutput\">\n <CopyButton :text=\"installOutput\" />\n <pre><code v-text=\"installOutput\" /><div\n class=\"loading-container\"\n v-if=\"installRunning\">\n <Loading />\n </div></pre>\n </div>\n </div>\n </section>\n </div>\n</template>\n\n<script>\nimport 'highlight.js/lib/common'\nimport 'highlight.js/styles/stackoverflow-dark.min.css'\nimport hljs from \"highlight.js\"\nimport CopyButton from \"@/components/elements/CopyButton\"\nimport Loading from \"@/components/Loading\"\nimport Utils from \"@/Utils\"\n\nexport default {\n name: \"Install\",\n mixins: [Utils],\n emit: ['install-start', 'install-end'],\n components: {\n CopyButton,\n Loading,\n },\n\n props: {\n extension: {\n type: Object,\n required: true,\n },\n },\n\n data() {\n return {\n installRunning: false,\n installOutput: null,\n pendingCommands: 0,\n error: null,\n }\n },\n\n computed: {\n installCmd() {\n const cmd = this.extension.deps.install_cmd.join('\\n').trim()\n return cmd?.length ? cmd : null\n },\n\n highlightedInstallCmd() {\n return (\n this.installCmd ?\n hljs.highlight(\n 'bash',\n this.extension.deps.install_cmd\n .map((cmd) => `$ ${cmd}`)\n .join('\\n')\n .trim()\n ).value :\n '# No extra installation steps required'\n )\n },\n },\n\n methods: {\n wsProcess(path) {\n try {\n const protocol = window.location.protocol === 'https:' ? 'wss' : 'ws'\n const url = `${protocol}://${location.host}${path}`\n const ws = new WebSocket(url)\n\n ws.onmessage = this.onMessage\n ws.onerror = this.onError\n ws.onclose = this.onClose\n } catch (err) {\n this.notify({\n error: true,\n title: `Websocket initialization error`,\n text: err.toString(),\n })\n\n console.error('Websocket initialization error')\n console.error(err)\n this.error = err\n this.installRunning = false\n }\n },\n\n onMessage(msg) {\n if (!this.installOutput)\n this.installOutput = ''\n\n this.installOutput += msg.data\n },\n\n onClose() {\n this.installRunning = false\n this.$emit('install-end', this.extension)\n if (!this.error)\n this.notify({\n title: `Extension installed`,\n html: `Extension <b>${this.extension.name}</b> installed successfully`,\n image: {\n iconClass: 'fas fa-check',\n },\n })\n },\n\n onError(error) {\n this.notify({\n error: true,\n title: `Websocket error`,\n text: error.toString(),\n })\n\n console.error('Websocket error')\n console.error(error)\n this.error = error\n this.installRunning = false\n },\n\n installExtension() {\n this.error = null\n this.installRunning = true\n this.installOutput = ''\n this.$emit('install-start', this.extension)\n\n const cmd = (this.extension.deps.install_cmd || []).join(';\\n')\n this.request('shell.exec', {\n cmd: cmd,\n ws: true,\n }).then((output) => {\n this.wsProcess(output.ws_path)\n }).catch((err) => {\n this.error = err\n this.installRunning = false\n this.$emit('install-end', this.extension)\n })\n },\n },\n\n mounted() {\n this.$watch('installOutput', () => {\n this.$nextTick(() => {\n this.$refs.installOutput.focus()\n this.$refs.installOutput.scrollTop = this.$refs.installOutput.scrollHeight\n })\n })\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common.scss\";\n\n$header-height: 3.5em;\n\n.install-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n section {\n &.top {\n height: 33.3333% !important;\n }\n\n &.bottom {\n height: 66.6666% !important;\n }\n\n header {\n height: $header-height;\n padding-left: 0.5em;\n border-top: 1px solid $border-color-1;\n border-bottom: 1px solid $border-color-1;\n }\n\n .body {\n height: calc(100% - #{$header-height});\n display: flex;\n flex-direction: column;\n padding: 1em;\n }\n\n h2 {\n font-size: 1.3em;\n opacity: 0.9;\n }\n }\n\n .container {\n width: 100%;\n height: 100%;\n position: relative;\n display: flex;\n flex-direction: column;\n }\n\n pre {\n height: 100%;\n position: relative;\n border-radius: 1em;\n }\n\n .install-btn {\n width: 100%;\n margin-top: 1em;\n display: flex;\n justify-content: right;\n\n button {\n border-radius: 0.5em;\n margin-right: 0.5em;\n }\n }\n\n .loading-container {\n width: 100%;\n position: relative;\n\n :deep(.loading) {\n background: none;\n }\n }\n}\n</style>\n","import { render } from \"./Install.vue?vue&type=template&id=33ff047b&scoped=true\"\nimport script from \"./Install.vue?vue&type=script&lang=js\"\nexport * from \"./Install.vue?vue&type=script&lang=js\"\n\nimport \"./Install.vue?vue&type=style&index=0&id=33ff047b&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-33ff047b\"]])\n\nexport default __exports__","import { render } from \"./Extension.vue?vue&type=template&id=9ae919ac&scoped=true\"\nimport script from \"./Extension.vue?vue&type=script&lang=js\"\nexport * from \"./Extension.vue?vue&type=script&lang=js\"\n\nimport \"./Extension.vue?vue&type=style&index=0&id=9ae919ac&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9ae919ac\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=555362d7&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=555362d7&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-555362d7\"]])\n\nexport default __exports__","<template>\n <div class=\"settings-container\">\n <main>\n <Users :session-token=\"sessionToken\" :current-user=\"currentUser\"\n v-if=\"selectedPanel === 'users' && currentUser\" />\n <Token :session-token=\"sessionToken\" :current-user=\"currentUser\"\n v-else-if=\"selectedPanel === 'tokens' && currentUser\" />\n </main>\n </div>\n</template>\n\n<script>\nimport Token from \"@/components/panels/Settings/Token\";\nimport Users from \"@/components/panels/Settings/Users\";\nimport Utils from \"@/Utils\";\n\nexport default {\n name: \"Settings\",\n components: {Users, Token},\n mixins: [Utils],\n\n props: {\n selectedPanel: {\n type: String,\n },\n },\n\n data() {\n return {\n currentUser: null,\n sessionToken: null,\n }\n },\n\n methods: {\n async refresh() {\n this.sessionToken = this.getCookies()['session_token']\n this.currentUser = await this.request('user.get_user_by_session', {session_token: this.sessionToken})\n }\n },\n\n mounted() {\n this.refresh()\n }\n}\n</script>\n\n<style lang=\"scss\">\n$header-height: 3em;\n\n.settings-container {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n\n header {\n width: 100%;\n height: $header-height;\n display: flex;\n background: $background-color;\n box-shadow: $border-shadow-bottom;\n padding: .5em;\n\n select {\n width: 100%;\n }\n\n button {\n padding-top: .25em;\n }\n }\n\n main {\n height: calc(100% - #{$header-height});\n overflow: auto;\n }\n\n button {\n background: none;\n border: none;\n\n &:hover {\n border: none;\n color: $default-hover-fg;\n }\n }\n\n form {\n padding: 0;\n border: none;\n border-radius: 0;\n box-shadow: none;\n\n input {\n margin-bottom: 1em;\n }\n }\n\n input[type=password] {\n border-radius: 1em;\n }\n}\n</style>\n","<template>\n <div class=\"token-container\">\n <Loading v-if=\"loading\" />\n\n <Modal ref=\"tokenModal\">\n <div class=\"token-container\">\n <label>\n This is your generated token. Treat it carefully and do not share it with untrusted parties.<br/>\n Also, make sure to save it - it WILL NOT be displayed again.\n </label>\n\n <textarea class=\"token\" v-text=\"token\" @focus=\"onTokenSelect\" />\n </div>\n </Modal>\n\n <Modal ref=\"sessionTokenModal\">\n <div class=\"token-container\">\n <label>\n This is your current session token.\n It will be invalidated once you log out of the current session.\n </label>\n\n <textarea class=\"token\" v-text=\"sessionToken\" @focus=\"onTokenSelect\" />\n </div>\n </Modal>\n\n <div class=\"body\">\n <div class=\"description\">\n <p>\n Platypush provides two types of tokens:\n\n <ul>\n <li>\n <b>JWT tokens</b> are bearer-only, and they contain encrypted\n authentication information.<br/>\n They can be used as permanent or time-based tokens to\n authenticate with the Platypush API.\n </li>\n\n <li>\n <b>Session tokens</b> are randomly generated tokens stored on the\n application database. A session token generated in this session\n will expire when you log out of it.\n </li>\n </ul>\n </p>\n\n <p>Generate a JWT authentication token that can be used for API calls to the <code>/execute</code> endpoint.</p><br/>\n <p>You can include the token in your requests in any of the following ways:</p>\n\n <ul>\n <li>Specify it on the <code>Authorization: Bearer</code> header;</li>\n <li>Specify it on the <code>X-Token</code> header;</li>\n <li>\n Specify it as a URL parameter: <code>http://site:8008/execute?token=...</code>\n for a JWT token and <code>...?session_token=...</code> for a\n session token;\n </li>\n <li>Specify it on the body of your JSON request:\n <code>{\"type\":\"request\", \"action\", \"...\", \"token\":\"...\"}</code> for\n a JWT token, or <code>\"session_token\"</code> for a session token.\n </li>\n </ul>\n\n <p>Confirm your credentials in order to generate a new JWT token.</p>\n <p>\n <i>Show session token</i> will instead show the token cookie associated\n to the current session.\n </p>\n </div>\n\n <div class=\"form-container\">\n <form @submit.prevent=\"generateToken\" ref=\"generateTokenForm\">\n <label>\n <span>Username</span>\n <span>\n <input type=\"text\" name=\"username\" :value=\"currentUser.username\" disabled>\n </span>\n </label>\n\n <label>\n <span>Confirm password</span>\n <span>\n <input type=\"password\" name=\"password\">\n </span>\n </label>\n\n <label>\n <span>Token validity in days</span>\n <span>\n <input type=\"text\" name=\"validityDays\">\n </span>\n <span class=\"note\">\n Decimal values are also supported - e.g. <i>0.5</i> means half a\n day (12 hours). An empty or zero value means that the token has\n no expiry date.\n </span>\n </label>\n\n <label>\n <input type=\"submit\" class=\"btn btn-primary\" value=\"Generate JWT token\">\n </label>\n\n <label>\n <input type=\"button\" class=\"btn btn-default\" value=\"Show session token\"\n @click.stop=\"$refs.sessionTokenModal.show()\">\n </label>\n </form>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport axios from \"axios\";\nimport Loading from \"@/components/Loading\";\nimport Utils from \"@/Utils\";\nimport Modal from \"@/components/Modal\";\n\nexport default {\n name: \"Token\",\n components: {Modal, Loading},\n mixins: [Utils],\n\n props: {\n currentUser: {\n type: Object,\n required: true,\n },\n\n sessionToken: {\n type: String,\n required: true,\n },\n },\n\n data() {\n return {\n loading: false,\n token: null,\n }\n },\n\n methods: {\n async generateToken(event) {\n const username = this.currentUser.username\n const password = event.target.password.value\n let validityDays = event.target.validityDays?.length ? parseInt(event.target.validityDays.value) : 0\n if (!validityDays)\n validityDays = null\n\n this.loading = true\n try {\n this.token = (await axios.post('/auth', {\n username: username,\n password: password,\n expiry_days: validityDays,\n })).data.token\n\n if (this.token?.length)\n this.$refs.tokenModal.show()\n } catch (e) {\n console.error(e.toString())\n this.notify({\n text: e.toString(),\n error: true,\n })\n } finally {\n this.loading = false\n }\n },\n\n onTokenSelect(event) {\n event.target.select()\n document.execCommand('copy')\n\n this.notify({\n text: 'Token copied to clipboard',\n image: {\n iconClass: 'fa fa-check',\n }\n })\n },\n }\n}\n</script>\n\n<style lang=\"scss\">\n.token-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n margin-top: .15em;\n\n label {\n width: 100%;\n }\n\n .body {\n background: $background-color;\n display: flex;\n\n .description {\n text-align: left;\n padding: 1em;\n }\n }\n\n ul {\n margin: 1em .5em;\n\n li {\n list-style: initial;\n }\n }\n\n .form-container {\n display: flex;\n }\n\n form {\n max-width: 250pt;\n\n .note {\n display: block;\n font-size: .75em;\n margin: -.75em 0 2em 0;\n }\n\n span {\n input {\n width: 100%;\n }\n }\n }\n\n input[type=password] {\n border-radius: 1em;\n }\n\n .modal {\n .content {\n width: 90%;\n }\n\n .body {\n margin-top: 0;\n }\n }\n\n .token-container {\n label {\n display: flex;\n flex-direction: column;\n\n span {\n display: block;\n width: 100%;\n }\n }\n\n textarea {\n width: 100%;\n height: 10em;\n margin-top: 1em;\n border-radius: 1em;\n border: none;\n background: $active-glow-bg-1;\n padding: 1em;\n }\n }\n\n .btn {\n border-radius: 1em;\n }\n}\n\n@media screen and (max-width: calc(#{$desktop} - 1px)) {\n .token-container {\n .body {\n flex-direction: column;\n }\n }\n\n .form-container {\n justify-content: center;\n box-shadow: $border-shadow-top;\n margin-top: -1em;\n padding-top: 1em;\n }\n}\n\n@media screen and (min-width: $desktop) {\n .token-container {\n justify-content: center;\n align-items: center;\n\n .description {\n width: 50%;\n }\n\n .form-container {\n width: 50%;\n justify-content: right;\n padding: 1em;\n\n label {\n text-align: left;\n }\n }\n\n .body {\n max-width: 650pt;\n flex-direction: row;\n justify-content: left;\n margin-top: 1.5em;\n border-radius: 1em;\n border: $default-border-2;\n }\n }\n}\n</style>\n","import { render } from \"./Token.vue?vue&type=template&id=2d3c7d78\"\nimport script from \"./Token.vue?vue&type=script&lang=js\"\nexport * from \"./Token.vue?vue&type=script&lang=js\"\n\nimport \"./Token.vue?vue&type=style&index=0&id=2d3c7d78&lang=scss\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","<template>\n <Loading v-if=\"loading\" />\n\n <Modal ref=\"addUserModal\" title=\"Add User\">\n <form action=\"#\" method=\"POST\" ref=\"addUserForm\" @submit=\"createUser\">\n <label>\n <input type=\"text\" name=\"username\" placeholder=\"Username\" :disabled=\"commandRunning\">\n </label>\n <label>\n <input type=\"password\" name=\"password\" placeholder=\"Password\" :disabled=\"commandRunning\">\n </label>\n <label>\n <input type=\"password\" name=\"confirm_password\" placeholder=\"Confirm password\" :disabled=\"commandRunning\">\n </label>\n <label>\n <input type=\"submit\" class=\"btn btn-primary\" value=\"Create User\" :disabled=\"commandRunning\">\n </label>\n </form>\n </Modal>\n\n <Modal ref=\"changePasswordModal\" title=\"Change Password\">\n <form action=\"#\" method=\"POST\" ref=\"changePasswordForm\" @submit=\"changePassword\">\n <label>\n <input type=\"text\" name=\"username\" placeholder=\"Username\" :value=\"selectedUser\" disabled=\"disabled\">\n </label>\n <label>\n <input type=\"password\" name=\"password\" placeholder=\"Current password\" :disabled=\"commandRunning\">\n </label>\n <label>\n <input type=\"password\" name=\"new_password\" placeholder=\"New password\" :disabled=\"commandRunning\">\n </label>\n <label>\n <input type=\"password\" name=\"confirm_new_password\" placeholder=\"Confirm new password\" :disabled=\"commandRunning\">\n </label>\n <label>\n <input type=\"submit\" class=\"btn btn-primary\" value=\"Change Password\" :disabled=\"commandRunning\">\n </label>\n </form>\n </modal>\n\n <div class=\"body\">\n <ul class=\"users-list\">\n <li v-for=\"user in users\" :key=\"user.user_id\" class=\"item user\" @click=\"selectedUser = user.username\">\n <div class=\"name col-8\" v-text=\"user.username\" />\n <div class=\"actions pull-right col-4\">\n <Dropdown title=\"User Actions\" icon-class=\"fa fa-ellipsis\">\n <DropdownItem text=\"Change Password\" :disabled=\"commandRunning\" icon-class=\"fa fa-key\"\n @click=\"showChangePasswordModal(user)\" />\n <DropdownItem text=\"Delete User\" :disabled=\"commandRunning\" icon-class=\"fa fa-trash\"\n @click=\"$refs.deleteUserDialog.show()\" />\n </Dropdown>\n </div>\n </li>\n </ul>\n\n <FloatingButton icon-class=\"fa fa-plus\" text=\"Add User\" @click=\"showAddUserModal\" />\n\n <ConfirmDialog ref=\"deleteUserDialog\" @input=\"deleteUser(selectedUser)\">\n Are you sure that you want to remove the user {{ selectedUser }}?\n </ConfirmDialog>\n </div>\n</template>\n\n<script>\nimport ConfirmDialog from \"@/components/elements/ConfirmDialog\";\nimport Dropdown from \"@/components/elements/Dropdown\";\nimport Modal from \"@/components/Modal\";\nimport Loading from \"@/components/Loading\";\nimport Utils from \"@/Utils\";\nimport DropdownItem from \"@/components/elements/DropdownItem\";\nimport FloatingButton from \"@/components/elements/FloatingButton\";\n\nexport default {\n name: \"Users\",\n components: {ConfirmDialog, Dropdown, DropdownItem, FloatingButton, Loading, Modal},\n mixins: [Utils],\n\n props: {\n sessionToken: {\n type: String,\n required: true,\n },\n\n currentUser: {\n type: Object,\n required: true,\n }\n },\n\n data() {\n return {\n users: [],\n commandRunning: false,\n loading: false,\n selectedUser: null,\n }\n },\n\n methods: {\n async refresh() {\n this.loading = true\n try {\n this.users = await this.request('user.get_users')\n } finally {\n this.loading = false\n }\n },\n\n async createUser(event) {\n event.preventDefault()\n\n const form = [...this.$refs.addUserForm.querySelectorAll('input[name]')].reduce((map, input) => {\n map[input.name] = input.value\n return map\n }, {})\n\n if (form.password !== form.confirm_password) {\n this.notify({\n title: 'Unable to create user',\n text: 'Please check that the passwords match',\n error: true,\n image: {\n iconClass: 'fas fa-times',\n },\n })\n\n return\n }\n\n this.commandRunning = true\n try {\n await this.request('user.create_user', {\n username: form.username,\n password: form.password,\n session_token: this.sessionToken,\n })\n } finally {\n this.commandRunning = false\n }\n\n this.notify({\n text: 'User ' + form.username + ' created',\n image: {\n iconClass: 'fas fa-check',\n },\n })\n\n this.$refs.addUserModal.close()\n await this.refresh()\n },\n\n async changePassword(event) {\n event.preventDefault()\n\n const form = [...this.$refs.changePasswordForm.querySelectorAll('input[name]')].reduce((map, input) => {\n map[input.name] = input.value\n return map\n }, {})\n\n if (form.new_password !== form.confirm_new_password) {\n this.notify({\n title: 'Unable to update password',\n text: 'Please check that the passwords match',\n error: true,\n image: {\n iconClass: 'fas fa-times',\n },\n })\n\n return\n }\n\n this.commandRunning = true\n let success = false\n\n try {\n success = await this.request('user.update_password', {\n username: form.username,\n old_password: form.password,\n new_password: form.new_password,\n })\n } finally {\n this.commandRunning = false\n }\n\n if (success) {\n this.$refs.changePasswordModal.close()\n this.notify({\n text: 'Password successfully updated',\n image: {\n iconClass: 'fas fa-check',\n },\n })\n } else {\n this.notify({\n title: 'Unable to update password',\n text: 'The current password is incorrect',\n error: true,\n image: {\n iconClass: 'fas fa-times',\n },\n })\n }\n },\n\n async deleteUser(user) {\n this.commandRunning = true\n try {\n await this.request('user.delete_user', {\n username: user,\n session_token: this.sessionToken,\n })\n } finally {\n this.commandRunning = false\n }\n\n this.notify({\n text: `User ${user} removed`,\n image: {\n iconClass: 'fas fa-check',\n },\n })\n\n this.selectedUser = null\n await this.refresh()\n },\n\n showAddUserModal() {\n this.$refs.addUserModal.show()\n this.$nextTick(() => {\n this.$refs.addUserForm.reset()\n this.$refs.addUserForm.username.focus()\n })\n },\n\n showChangePasswordModal(user) {\n this.$refs.changePasswordModal.show()\n this.$nextTick(() => {\n this.$refs.changePasswordForm.password.focus()\n this.selectedUser = user.username\n })\n },\n },\n\n mounted() {\n this.refresh()\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.settings-container {\n .body {\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n }\n\n .modal {\n .body {\n height: auto;\n }\n }\n\n form {\n label {\n display: block;\n text-align: center;\n }\n }\n\n .users-list {\n background: $background-color;\n margin-top: .15em;\n height: max-content;\n\n .user {\n display: flex;\n align-items: center;\n padding: .75em;\n\n &:not(:last-child) {\n box-shadow: $border-shadow-bottom;\n }\n\n &:hover {\n background: $hover-bg;\n }\n\n .actions {\n display: inline-flex;\n justify-content: right;\n\n button {\n background: none !important;\n width: min-content;\n }\n }\n }\n }\n\n @media screen and (max-width: $desktop) {\n .users-list {\n width: 100%;\n }\n }\n\n @media screen and (min-width: $desktop) {\n .users-list {\n min-width: 400pt;\n max-width: 600pt;\n margin-top: 1em;\n border-radius: 1em;\n box-shadow: $border-shadow-bottom;\n\n .user {\n border-radius: 0;\n\n &:first-child {\n border-top-left-radius: 1em;\n border-top-right-radius: 1em;\n }\n\n &:last-child {\n border-bottom-left-radius: 1em;\n border-bottom-right-radius: 1em;\n }\n }\n }\n }\n}\n\n:deep(.dropdown-container) {\n button {\n background: none !important;\n }\n}\n\n:deep(.modal) {\n .btn {\n border-radius: 1em;\n }\n}\n</style>\n","<template>\n <div class=\"floating-btn\" :class=\"className\">\n <button type=\"button\" class=\"btn btn-primary\" :title=\"title\" @click=\"$emit('click', $event)\">\n <Icon :class=\"iconClass\" :url=\"iconUrl\" />\n </button>\n </div>\n</template>\n\n<script>\nimport Icon from \"@/components/elements/Icon\";\n\nexport default {\n name: \"FloatingButton\",\n components: {Icon},\n emits: [\"click\"],\n\n props: {\n iconClass: {\n type: String,\n },\n iconUrl: {\n type: String,\n },\n class: {\n type: String,\n },\n title: {\n type: String,\n },\n },\n\n computed: {\n className() {\n return this.class\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.floating-btn {\n position: fixed;\n bottom: 0;\n right: 0;\n margin: auto 1em 1em auto;\n\n button {\n background: $active-glow-bg-2 !important;\n color: $selected-fg !important;\n width: 4em;\n height: 4em;\n border-radius: 2em;\n border: none !important;\n padding: 0;\n box-shadow: $border-shadow-bottom-right;\n\n &:hover {\n background: $hover-bg-2 !important;\n color: $hover-fg !important;\n }\n }\n\n :deep(button) {\n .icon-container {\n width: 4em;\n\n .icon {\n margin: auto;\n }\n }\n }\n}\n</style>\n","import { render } from \"./FloatingButton.vue?vue&type=template&id=133e57f8&scoped=true\"\nimport script from \"./FloatingButton.vue?vue&type=script&lang=js\"\nexport * from \"./FloatingButton.vue?vue&type=script&lang=js\"\n\nimport \"./FloatingButton.vue?vue&type=style&index=0&id=133e57f8&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-133e57f8\"]])\n\nexport default __exports__","import { render } from \"./Users.vue?vue&type=template&id=510035f2&scoped=true\"\nimport script from \"./Users.vue?vue&type=script&lang=js\"\nexport * from \"./Users.vue?vue&type=script&lang=js\"\n\nimport \"./Users.vue?vue&type=style&index=0&id=510035f2&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-510035f2\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=abaea204\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=abaea204&lang=scss\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","var map = {\n\t\"./Camera/Index\": [\n\t\t5324,\n\t\t8039,\n\t\t5324\n\t],\n\t\"./CameraAndroidIpcam/Index\": [\n\t\t5794,\n\t\t5794\n\t],\n\t\"./CameraCv/Index\": [\n\t\t6148,\n\t\t8039,\n\t\t6148\n\t],\n\t\"./CameraFfmpeg/Index\": [\n\t\t9334,\n\t\t8039,\n\t\t9334\n\t],\n\t\"./CameraGstreamer/Index\": [\n\t\t813,\n\t\t8039,\n\t\t813\n\t],\n\t\"./CameraIrMlx90640/Index\": [\n\t\t7381,\n\t\t8039,\n\t\t7381\n\t],\n\t\"./CameraPi/Index\": [\n\t\t5214,\n\t\t8039,\n\t\t8895\n\t],\n\t\"./Entities/Index\": [\n\t\t7572,\n\t\t4558\n\t],\n\t\"./Execute/Index\": [\n\t\t7673,\n\t\t7673\n\t],\n\t\"./Extensions/Index\": [\n\t\t9774\n\t],\n\t\"./Light/Index\": [\n\t\t7184,\n\t\t2471,\n\t\t5040,\n\t\t7184\n\t],\n\t\"./LightHue/Index\": [\n\t\t2976,\n\t\t2471,\n\t\t5040,\n\t\t7184,\n\t\t2976\n\t],\n\t\"./Media/Index\": [\n\t\t1880,\n\t\t2471,\n\t\t3694,\n\t\t6079,\n\t\t1880\n\t],\n\t\"./MediaMplayer/Index\": [\n\t\t3518,\n\t\t2471,\n\t\t3694,\n\t\t6079,\n\t\t1880,\n\t\t3518\n\t],\n\t\"./MediaMpv/Index\": [\n\t\t4765,\n\t\t2471,\n\t\t3694,\n\t\t6079,\n\t\t1880,\n\t\t4765\n\t],\n\t\"./MediaOmxplayer/Index\": [\n\t\t7819,\n\t\t2471,\n\t\t3694,\n\t\t6079,\n\t\t1880,\n\t\t7819\n\t],\n\t\"./MediaVlc/Index\": [\n\t\t2614,\n\t\t2471,\n\t\t3694,\n\t\t6079,\n\t\t1880,\n\t\t2614\n\t],\n\t\"./Music/Index\": [\n\t\t2986,\n\t\t2471,\n\t\t3694,\n\t\t2986\n\t],\n\t\"./MusicMpd/Index\": [\n\t\t1309,\n\t\t2471,\n\t\t3694,\n\t\t2986,\n\t\t1309\n\t],\n\t\"./MusicSnapcast/Index\": [\n\t\t6215,\n\t\t2471,\n\t\t5040,\n\t\t6215\n\t],\n\t\"./MusicSpotify/Index\": [\n\t\t2068,\n\t\t2471,\n\t\t3694,\n\t\t2986,\n\t\t2068\n\t],\n\t\"./Rtorrent/Index\": [\n\t\t2183,\n\t\t6079,\n\t\t7968,\n\t\t2183\n\t],\n\t\"./Settings/Index\": [\n\t\t2431\n\t],\n\t\"./Sound/Index\": [\n\t\t746,\n\t\t746\n\t],\n\t\"./Torrent/Index\": [\n\t\t8784,\n\t\t6079,\n\t\t7968,\n\t\t8784\n\t],\n\t\"./Tts/Index\": [\n\t\t3732,\n\t\t8069,\n\t\t3732\n\t],\n\t\"./TtsGoogle/Index\": [\n\t\t7605,\n\t\t8069,\n\t\t2853\n\t],\n\t\"./TvSamsungWs/Index\": [\n\t\t4589,\n\t\t4589\n\t],\n\t\"./ZigbeeMqtt/Index\": [\n\t\t1259,\n\t\t2471,\n\t\t5040,\n\t\t1259\n\t],\n\t\"./Zwave/Index\": [\n\t\t2732,\n\t\t2471,\n\t\t5040,\n\t\t7880,\n\t\t2732\n\t],\n\t\"./ZwaveMqtt/Index\": [\n\t\t1088,\n\t\t2471,\n\t\t5040,\n\t\t7880,\n\t\t1088\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 3379;\nmodule.exports = webpackAsyncContext;","var map = {\n\t\"./Calendar/Index\": [\n\t\t5638,\n\t\t5638\n\t],\n\t\"./Camera/Index\": [\n\t\t446,\n\t\t446\n\t],\n\t\"./Component/Index\": [\n\t\t1449,\n\t\t2471,\n\t\t5040,\n\t\t1449\n\t],\n\t\"./DateTime/Index\": [\n\t\t4619,\n\t\t1391,\n\t\t4619\n\t],\n\t\"./DateTimeWeather/Index\": [\n\t\t9962,\n\t\t3594,\n\t\t1391,\n\t\t9962\n\t],\n\t\"./ImageCarousel/Index\": [\n\t\t306,\n\t\t3594,\n\t\t1391,\n\t\t306\n\t],\n\t\"./Music/Index\": [\n\t\t311,\n\t\t311\n\t],\n\t\"./Plugin/Index\": [\n\t\t8179,\n\t\t8179\n\t],\n\t\"./RssNews/Index\": [\n\t\t6523,\n\t\t6523\n\t],\n\t\"./Weather/Index\": [\n\t\t3594,\n\t\t3594\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 6725;\nmodule.exports = webpackAsyncContext;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"static/js/\" + chunkId + \".\" + {\"65\":\"ae7df477\",\"169\":\"ebdd7044\",\"306\":\"65920e65\",\"311\":\"f32aa7b9\",\"446\":\"453dede2\",\"729\":\"1b92c9f7\",\"746\":\"d8626378\",\"813\":\"1233574d\",\"984\":\"ae424e7e\",\"1088\":\"811c36c9\",\"1259\":\"8f7841ac\",\"1309\":\"cacee3b4\",\"1391\":\"a76844c2\",\"1449\":\"a86588b4\",\"1880\":\"4857825d\",\"2068\":\"1e2b0aef\",\"2183\":\"0851f006\",\"2217\":\"6b927594\",\"2460\":\"567e73f6\",\"2471\":\"da49c64a\",\"2614\":\"2ff0e60d\",\"2732\":\"a3a54d65\",\"2853\":\"7e8d1c01\",\"2893\":\"519a1554\",\"2976\":\"bbbc8952\",\"2986\":\"1b52d857\",\"3368\":\"cb04738a\",\"3369\":\"c099f8d0\",\"3518\":\"39ec56c6\",\"3559\":\"df95d103\",\"3594\":\"16b738d2\",\"3694\":\"9ca4ff97\",\"3732\":\"c52fd2ec\",\"3798\":\"fcfdd0e0\",\"3826\":\"cc264dd1\",\"3835\":\"11129165\",\"4558\":\"6d3226ce\",\"4589\":\"f7212e88\",\"4619\":\"2b7e4216\",\"4765\":\"2dd16216\",\"5040\":\"f02b705d\",\"5207\":\"7f241e21\",\"5324\":\"f88d40e4\",\"5329\":\"444a9cf1\",\"5638\":\"7b12f2d2\",\"5794\":\"9859b34c\",\"6079\":\"b020e16c\",\"6148\":\"671128aa\",\"6215\":\"d25b80c1\",\"6324\":\"c3f621ef\",\"6362\":\"95da0eb4\",\"6523\":\"bef9dd6e\",\"6561\":\"fc5ef77b\",\"7184\":\"eba2f522\",\"7381\":\"3cf1c534\",\"7523\":\"367c2045\",\"7590\":\"6cda174b\",\"7673\":\"2a807543\",\"7819\":\"c2a2e948\",\"7880\":\"86d9a9db\",\"7968\":\"a0ff4311\",\"8039\":\"951792f1\",\"8069\":\"51c1e8b1\",\"8179\":\"7d8455aa\",\"8391\":\"119357c7\",\"8621\":\"0aa03df1\",\"8769\":\"5ea5c0cb\",\"8784\":\"458e26a1\",\"8825\":\"b660e217\",\"8895\":\"b0fc9568\",\"9334\":\"218a8dd3\",\"9962\":\"8fc631e7\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"static/css/\" + chunkId + \".\" + {\"65\":\"65fe087a\",\"169\":\"18c97596\",\"306\":\"919e2cb6\",\"311\":\"ce3daf0e\",\"446\":\"ac7021e0\",\"729\":\"d9e08bd0\",\"746\":\"36a26270\",\"984\":\"7571e216\",\"1259\":\"28135e7d\",\"1391\":\"cb558276\",\"1449\":\"64ebf9cc\",\"1880\":\"d35c9ea0\",\"2217\":\"664973a5\",\"2460\":\"c44d2954\",\"2471\":\"750151be\",\"2893\":\"7780abf3\",\"2976\":\"5cb4fa57\",\"2986\":\"3d6a6efd\",\"3368\":\"771f452b\",\"3369\":\"56bab933\",\"3559\":\"5e597f7f\",\"3594\":\"eefea329\",\"3694\":\"ae679692\",\"3798\":\"6a1b7cf0\",\"3826\":\"fbeeb43c\",\"3835\":\"fbe4d9b1\",\"4558\":\"962ee5e3\",\"4589\":\"e78ef44e\",\"5040\":\"a5bd22c4\",\"5207\":\"d95cde39\",\"5329\":\"32a328a7\",\"5638\":\"089f217d\",\"5794\":\"82cc8a21\",\"6079\":\"bfe15119\",\"6215\":\"a48cbf18\",\"6324\":\"157a52a9\",\"6523\":\"d4d5365a\",\"6561\":\"f0cece07\",\"7184\":\"e666172f\",\"7523\":\"a18b735e\",\"7590\":\"727bfece\",\"7673\":\"ce56995a\",\"7880\":\"5e6febf3\",\"7968\":\"1d0824b1\",\"8039\":\"eeeae3a7\",\"8069\":\"5ef4c270\",\"8179\":\"2fdb982c\",\"8391\":\"3ecab78d\",\"8621\":\"a58665a4\",\"8769\":\"294a7607\",\"8825\":\"d5cc7895\",\"9962\":\"68c87814\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","var inProgress = {};\nvar dataWebpackPrefix = \"platypush:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/\";","if (typeof document === \"undefined\") return;\nvar createStylesheet = function(chunkId, fullhref, oldTag, resolve, reject) {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = function(event) {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tif (linkTag.parentNode) linkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tif (oldTag) {\n\t\toldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);\n\t} else {\n\t\tdocument.head.appendChild(linkTag);\n\t}\n\treturn linkTag;\n};\nvar findStylesheet = function(href, fullhref) {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = function(chunkId) {\n\treturn new Promise(function(resolve, reject) {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, null, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t2143: 0\n};\n\n__webpack_require__.f.miniCss = function(chunkId, promises) {\n\tvar cssChunks = {\"65\":1,\"169\":1,\"306\":1,\"311\":1,\"446\":1,\"729\":1,\"746\":1,\"984\":1,\"1259\":1,\"1391\":1,\"1449\":1,\"1880\":1,\"2217\":1,\"2460\":1,\"2471\":1,\"2893\":1,\"2976\":1,\"2986\":1,\"3368\":1,\"3369\":1,\"3559\":1,\"3594\":1,\"3694\":1,\"3798\":1,\"3826\":1,\"3835\":1,\"4558\":1,\"4589\":1,\"5040\":1,\"5207\":1,\"5329\":1,\"5638\":1,\"5794\":1,\"6079\":1,\"6215\":1,\"6324\":1,\"6523\":1,\"6561\":1,\"7184\":1,\"7523\":1,\"7590\":1,\"7673\":1,\"7880\":1,\"7968\":1,\"8039\":1,\"8069\":1,\"8179\":1,\"8391\":1,\"8621\":1,\"8769\":1,\"8825\":1,\"9962\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(function() {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, function(e) {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t2143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(!/^(80[36]9|(139|247|656)1|3826|5040|6079)$/.test(chunkId)) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkplatypush\"] = self[\"webpackChunkplatypush\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [4998], function() { return __webpack_require__(4896); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["bus","mitt","publishEntity","entity","emit","onEntity","callback","on","publishNotification","notification","onNotification","$options","hasWebsocket","_createBlock","_component_Events","ref","_createVNode","_component_Notifications","hasAssistant","_component_VoiceAssistant","hasPushbullet","_component_Pushbullet","hasNtfy","_component_Ntfy","_component_ConfirmDialog","onInput","installPWA","_component_router_view","class","_createElementBlock","_hoisted_1","_Fragment","_renderList","_ctx","notifications","id","index","_component_Notification","key","text","html","title","link","image","warning","error","onClicked","destroy","_normalizeClass","$props","onClick","_cache","args","clicked","_toDisplayString","_createElementVNode","_hoisted_2","_hoisted_3","_hoisted_4","src","alt","icon","style","_normalizeStyle","color","iconClass","_hoisted_6","_hoisted_7","innerHTML","name","props","methods","this","window","open","$emit","__exports__","components","Notification","duration","type","Number","default","data","timeouts","create","parseInt","setTimeout","bind","ws","initialized","pending","opened","timeout","reconnectMsecs","minReconnectMsecs","maxReconnectMsecs","handlers","handlerNameToEventTypes","onWebsocketTimeout","console","log","Math","min","close","onClose","onMessage","event","JSON","parse","e","warn","debug","push","Object","values","handler","Array","Function","onOpen","onclose","clearTimeout","undefined","onError","code","reason","init","protocol","location","url","host","WebSocket","err","onmessage","onopen","onerror","subscribe","msg","events","length","handlerName","unsubscribe","keys","created","_hoisted_9","_component_Modal","$data","state","alerting","responding","speechRecognized","_hoisted_5","listening","_hoisted_8","_hoisted_10","_hoisted_11","phrase","_hoisted_13","responseText","Modal","mixins","Utils","hideTimeout","reset","conversationStart","$refs","assistantModal","show","conversationEnd","self","response","response_text","alertOn","alertOff","registerHandlers","mounted","notify","message","push_type","body","ConfirmDialog","Pushbullet","Ntfy","Notifications","Events","VoiceAssistant","config","userAuthenticated","pwaInstallEvent","computed","initConfig","request","prompt","pwaDialog","beforeMount","getCookie","addEventListener","preventDefault","setCookie","expires","Date","getTime","render","loading","_component_Loading","classes","rows","row","i","_component_Row","widgets","widget","j","_KeepAlive","_component_Widget","_resolveDynamicComponent","component","_normalizeProps","_guardReactiveProps","getWidgetProps","_renderSlot","$slots","String","required","split","concat","Widget","Loading","Row","refreshSeconds","parseTemplate","tmpl","node","DOMParser","parseFromString","childNodes","attributes","nodeValue","getElementsByTagName","map","children","el","shallowRef","defineAsyncComponent","nodeName","attrs","reduce","obj","content","refreshDashboard","$route","params","template","notifyError","setInterval","toFixed","method","placeholder","_register","value","register","Boolean","parseBoolean","_component_Login","Login","_component_Nav","panels","selectedPanel","selectedConfigPanel","hostname","onSelect","$event","onSelectConfig","_component_Settings","_component_Extensions","panel","hidden","href","collapsed","onItemClick","configSections","selected","imgUrl","panelNames","_hoisted_16","icons","_hoisted_18","displayName","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","emits","prepend","names","idx","indexOf","slice","sort","collapsedDefault","isMobile","isTablet","Extensions","Settings","Nav","plugins","backends","procedures","initSelectedPanel","match","hash","plugin","initPanels","entries","forEach","async","componentName","token","toUpperCase","join","comp","pluginName","parseConfig","Promise","all","initializeDefaultViews","entities","execute","$watch","initPanel","toString","routes","path","Panel","Dashboard","Plugin","Register","NotFound","router","createRouter","history","createWebHistory","ready","registered","cached","updatefound","updated","offline","app","createApp","App","globalProperties","_config","use","mount","showError","opts","resolve","reject","axios","then","errors","output","catch","action","copyToClipboard","navigator","clipboard","writeText","getCookies","document","cookie","item","k","v","toISOString","deleteCookie","formatDate","date","year","toDateString","substring","formatTime","seconds","toTimeString","formatDateTime","_eventsReady","$root","subFunc","generateId","unwatch","newVal","btoa","fromCharCode","round","random","pluginDisplayName","words","word","charAt","notifyWarning","matchMedia","matches","isDesktop","capitalize","prettify","t","indent","spaces","repeat","toLowerCase","convertSize","unit","units","u","convertTime","time","ret","parseFloat","d","h","m","s","objectsEqual","a","b","p","parseUrlFragment","replace","getUrlArgs","acc","tokens","setUrlArgs","fragmentFromArgs","encodeURIComponent","Api","Clipboard","Cookies","DateTime","Screen","Text","Types","Url","n","script","isVisible","zIndex","$attrs","width","height","stopPropagation","onModalClose","visible","level","timeoutId","prevVisible","hide","toggle","onKeyUp","visibleHndl","unmounted","removeEventListener","maxZIndex","getComputedStyle","$el","outermostModals","modal","querySelectorAll","onSubmit","_withModifiers","onConfirm","onTouch","confirmText","cancelText","items","keepOpenOnItemClick","documentClickHndl","element","target","dropdown","parentElement","left","top","button","getBoundingClientRect","innerWidth","clientWidth","innerHeight","clientHeight","itemClass","iconUrl","_component_Icon","Icon","disabled","$parent","className","filter","extensionNames","matchesFilter","selectedExtension","extensions","_component_Extension","extension","configFile","_component_Tabs","_component_Tab","selectedTab","_component_Doc","_component_Config","_component_Install","_component_CopyButton","config_snippet","highlightedConfigSnippet","copy","CopyButton","hljs","highlight","trim","doc_url","doc","onDocClick","actions","actionNames","actionName","eventNames","eventName","localPageRegex","RegExp","parseDoc","refreshDoc","tagName","getAttribute","installCmd","highlightedInstallCmd","installRunning","installExtension","installOutput","_hoisted_12","_hoisted_15","pendingCommands","cmd","deps","install_cmd","wsProcess","ws_path","$nextTick","focus","scrollTop","scrollHeight","Config","Doc","Install","Tab","Tabs","Extension","backend","input","setFilter","querySelector","scrollIntoView","behavior","includes","loadExtensions","loadExtensionFromUrl","loadConfigFile","ext","currentUser","_component_Users","sessionToken","_component_Token","onFocus","onTokenSelect","generateToken","username","_hoisted_14","sessionTokenModal","password","validityDays","expiry_days","tokenModal","select","execCommand","createUser","commandRunning","changePassword","selectedUser","users","user","user_id","_component_Dropdown","_component_DropdownItem","showChangePasswordModal","deleteUserDialog","_component_FloatingButton","showAddUserModal","deleteUser","Dropdown","DropdownItem","FloatingButton","refresh","form","addUserForm","confirm_password","session_token","addUserModal","changePasswordForm","new_password","confirm_new_password","success","old_password","changePasswordModal","Users","Token","webpackAsyncContext","req","__webpack_require__","o","Error","ids","module","exports","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","call","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","every","splice","r","getter","__esModule","leafPrototypes","getProto","getPrototypeOf","__proto__","mode","ns","def","current","getOwnPropertyNames","definition","defineProperty","enumerable","get","f","chunkId","promises","miniCssF","g","globalThis","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","done","needAttach","scripts","createElement","charset","nc","setAttribute","onScriptComplete","prev","onload","doneFns","parentNode","removeChild","head","appendChild","Symbol","toStringTag","createStylesheet","fullhref","oldTag","linkTag","rel","onLinkComplete","errorType","realHref","insertBefore","nextSibling","findStylesheet","existingLinkTags","tag","dataHref","existingStyleTags","loadStylesheet","installedCssChunks","miniCss","cssChunks","installedChunks","installedChunkData","test","promise","loadingEnded","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","__webpack_exports__"],"sourceRoot":""}