UNPKG

node-red-contrib-knx-ultimate

Version:

Control your KNX and KNX Secure intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control, ETS group address importer, KNX AI for diagnosticsand KNX routing between interfaces. Easy to use and highly configurable.

3 lines (2 loc) 13.8 kB
window.FontAwesomeKitConfig = { asyncLoading: { enabled: false }, autoA11y: { enabled: true }, baseUrl: 'https://ka-f.fontawesome.com', baseUrlKit: 'https://kit.fontawesome.com', detectConflictsUntil: null, iconUploads: {}, id: 2836081, license: 'free', method: 'css', minify: { enabled: true }, token: '11f26b4500', v4FontFaceShim: { enabled: true }, v4shim: { enabled: true }, v5FontFaceShim: { enabled: true }, version: '6.4.2' } !(function (t) { typeof define === 'function' && define.amd ? define('kit-loader', t) : t() }(function () { 'use strict'; function t (t, e) { const n = Object.keys(t); if (Object.getOwnPropertySymbols) { let r = Object.getOwnPropertySymbols(t); e && (r = r.filter(function (e) { return Object.getOwnPropertyDescriptor(t, e).enumerable })), n.push.apply(n, r) } return n } function e (e) { for (let n = 1; n < arguments.length; n++) { var o = arguments[n] != null ? arguments[n] : {}; n % 2 ? t(Object(o), !0).forEach(function (t) { r(e, t, o[t]) }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : t(Object(o)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(o, t)) }) } return e } function n (t) { return (n = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function (t) { return typeof t } : function (t) { return t && typeof Symbol === 'function' && t.constructor === Symbol && t !== Symbol.prototype ? 'symbol' : typeof t })(t) } function r (t, e, n) { return (e = (function (t) { const e = (function (t, e) { if (typeof t !== 'object' || t === null) return t; const n = t[Symbol.toPrimitive]; if (void 0 !== n) { const r = n.call(t, e || 'default'); if (typeof r !== 'object') return r; throw new TypeError('@@toPrimitive must return a primitive value.') } return (e === 'string' ? String : Number)(t) }(t, 'string')); return typeof e === 'symbol' ? e : String(e) }(e))) in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t } function o (t, e) { return (function (t) { if (Array.isArray(t)) return t }(t)) || (function (t, e) { let n = t == null ? null : typeof Symbol !== 'undefined' && t[Symbol.iterator] || t['@@iterator']; if (n != null) { let r; let o; let i; let c; const a = []; let u = !0; let f = !1; try { if (i = (n = n.call(t)).next, e === 0) { if (Object(n) !== n) return; u = !1 } else for (; !(u = (r = i.call(n)).done) && (a.push(r.value), a.length !== e); u = !0); } catch (t) { f = !0, o = t } finally { try { if (!u && n.return != null && (c = n.return(), Object(c) !== c)) return } finally { if (f) throw o } } return a } }(t, e)) || (function (t, e) { if (!t) return; if (typeof t === 'string') return i(t, e); let n = Object.prototype.toString.call(t).slice(8, -1); n === 'Object' && t.constructor && (n = t.constructor.name); if (n === 'Map' || n === 'Set') return Array.from(t); if (n === 'Arguments' || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return i(t, e) }(t, e)) || (function () { throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.') }()) } function i (t, e) { (e == null || e > t.length) && (e = t.length); for (var n = 0, r = new Array(e); n < e; n++)r[n] = t[n]; return r } function c (t, e) { const n = e && e.addOn || ''; const r = e && e.baseFilename || t.license + n; const o = e && e.minify ? '.min' : ''; const i = e && e.fileSuffix || t.method; const c = e && e.subdir || t.method; return t.baseUrl + '/releases/' + (t.version === 'latest' ? 'latest' : 'v'.concat(t.version)) + '/' + c + '/' + r + o + '.' + i } function a (t, e) { const n = e || ['fa']; const r = '.' + Array.prototype.join.call(n, ',.'); const o = t.querySelectorAll(r); Array.prototype.forEach.call(o, function (e) { const n = e.getAttribute('title'); e.setAttribute('aria-hidden', 'true'); const r = !e.nextElementSibling || !e.nextElementSibling.classList.contains('sr-only'); if (n && r) { const o = t.createElement('span'); o.innerHTML = n, o.classList.add('sr-only'), e.parentNode.insertBefore(o, e.nextSibling) } }) } let u; const f = function () { }; const s = typeof global !== 'undefined' && void 0 !== global.process && typeof global.process.emit === 'function'; const l = typeof setImmediate === 'undefined' ? setTimeout : setImmediate; let d = []; function h () { for (let t = 0; t < d.length; t++)d[t][0](d[t][1]); d = [], u = !1 } function m (t, e) { d.push([t, e]), u || (u = !0, l(h, 0)) } function p (t) { const e = t.owner; let n = e._state; let r = e._data; const o = t[n]; const i = t.then; if (typeof o === 'function') { n = 'fulfilled'; try { r = o(r) } catch (t) { g(i, t) } } v(i, r) || (n === 'fulfilled' && b(i, r), n === 'rejected' && g(i, r)) } function v (t, e) { let r; try { if (t === e) throw new TypeError('A promises callback cannot return that same promise.'); if (e && (typeof e === 'function' || n(e) === 'object')) { const o = e.then; if (typeof o === 'function') return o.call(e, function (n) { r || (r = !0, e === n ? y(t, n) : b(t, n)) }, function (e) { r || (r = !0, g(t, e)) }), !0 } } catch (e) { return r || g(t, e), !0 } return !1 } function b (t, e) { t !== e && v(t, e) || y(t, e) } function y (t, e) { t._state === 'pending' && (t._state = 'settled', t._data = e, m(A, t)) } function g (t, e) { t._state === 'pending' && (t._state = 'settled', t._data = e, m(S, t)) } function w (t) { t._then = t._then.forEach(p) } function A (t) { t._state = 'fulfilled', w(t) } function S (t) { t._state = 'rejected', w(t), !t._handled && s && global.process.emit('unhandledRejection', t._data, t) } function O (t) { global.process.emit('rejectionHandled', t) } function j (t) { if (typeof t !== 'function') throw new TypeError('Promise resolver ' + t + ' is not a function'); if (this instanceof j == !1) throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function."); this._then = [], (function (t, e) { function n (t) { g(e, t) } try { t(function (t) { b(e, t) }, n) } catch (t) { n(t) } }(t, this)) } j.prototype = { constructor: j, _state: 'pending', _then: null, _data: void 0, _handled: !1, then: function (t, e) { const n = { owner: this, then: new this.constructor(f), fulfilled: t, rejected: e }; return !e && !t || this._handled || (this._handled = !0, this._state === 'rejected' && s && m(O, this)), this._state === 'fulfilled' || this._state === 'rejected' ? m(p, n) : this._then.push(n), n.then }, catch: function (t) { return this.then(null, t) } }, j.all = function (t) { if (!Array.isArray(t)) throw new TypeError('You must pass an array to Promise.all().'); return new j(function (e, n) { const r = []; let o = 0; function i (t) { return o++, function (n) { r[t] = n, --o || e(r) } } for (var c, a = 0; a < t.length; a++)(c = t[a]) && typeof c.then === 'function' ? c.then(i(a), n) : r[a] = c; o || e(r) }) }, j.race = function (t) { if (!Array.isArray(t)) throw new TypeError('You must pass an array to Promise.race().'); return new j(function (e, n) { for (var r, o = 0; o < t.length; o++)(r = t[o]) && typeof r.then === 'function' ? r.then(e, n) : e(r) }) }, j.resolve = function (t) { return t && n(t) === 'object' && t.constructor === j ? t : new j(function (e) { e(t) }) }, j.reject = function (t) { return new j(function (e, n) { n(t) }) }; const E = typeof Promise === 'function' ? Promise : j; function P (t, e) { const n = e.fetch; const r = e.XMLHttpRequest; const o = e.token; let i = t; return o && !(function (t) { return t.indexOf('kit-upload.css') > -1 }(t)) && ('URLSearchParams' in window ? (i = new URL(t)).searchParams.set('token', o) : i = i + '?token=' + encodeURIComponent(o)), i = i.toString(), new E(function (t, e) { if (typeof n === 'function') n(i, { mode: 'cors', cache: 'default' }).then(function (t) { if (t.ok) return t.text(); throw new Error('') }).then(function (e) { t(e) }).catch(e); else if (typeof r === 'function') { const o = new r(); o.addEventListener('loadend', function () { this.responseText ? t(this.responseText) : e(new Error('')) }); ['abort', 'error', 'timeout'].map(function (t) { o.addEventListener(t, function () { e(new Error('')) }) }), o.open('GET', i), o.send() } else { e(new Error('')) } }) } function _ (t, e, n) { let r = t; return [[/(url\("?)\.\.\/\.\.\/\.\./g, function (t, n) { return ''.concat(n).concat(e) }], [/(url\("?)\.\.\/webfonts/g, function (t, r) { return ''.concat(r).concat(e, '/releases/v').concat(n, '/webfonts') }], [/(url\("?)https:\/\/kit-free([^.])*\.fontawesome\.com/g, function (t, n) { return ''.concat(n).concat(e) }]].forEach(function (t) { const e = o(t, 2); const n = e[0]; const i = e[1]; r = r.replace(n, i) }), r } function F (t, n) { const r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : function () { }; var o = n.document || o; const i = a.bind(a, o, ['fa', 'fab', 'fas', 'far', 'fal', 'fad', 'fak']); t.autoA11y.enabled && r(i); const u = t.subsetPath && t.baseUrl + '/' + t.subsetPath; const f = [{ id: 'fa-main', addOn: void 0, url: u }]; if (t.v4shim && t.v4shim.enabled && f.push({ id: 'fa-v4-shims', addOn: '-v4-shims' }), t.v5FontFaceShim && t.v5FontFaceShim.enabled && f.push({ id: 'fa-v5-font-face', addOn: '-v5-font-face' }), t.v4FontFaceShim && t.v4FontFaceShim.enabled && f.push({ id: 'fa-v4-font-face', addOn: '-v4-font-face' }), !u && t.customIconsCssPath) { const s = t.customIconsCssPath.indexOf('kit-upload.css') > -1 ? t.baseUrlKit : t.baseUrl; const l = s + '/' + t.customIconsCssPath; f.push({ id: 'fa-kit-upload', url: l }) } const d = f.map(function (r) { return new E(function (o, i) { const a = r.url || c(t, { addOn: r.addOn, minify: t.minify.enabled }); const u = { id: r.id }; const f = t.subset ? u : e(e(e({}, n), u), {}, { baseUrl: t.baseUrl, version: t.version, id: r.id, contentFilter: function (t, e) { return _(t, e.baseUrl, e.version) } }); P(a, n).then(function (t) { o(C(t, f)) }).catch(i) }) }); return E.all(d) } function C (t, e) { const n = e.contentFilter || function (t, e) { return t }; const r = document.createElement('style'); const o = document.createTextNode(n(t, e)); return r.appendChild(o), r.media = 'all', e.id && r.setAttribute('id', e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && r.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), r } function I (t, n) { n.autoA11y = t.autoA11y.enabled, t.license === 'pro' && (n.autoFetchSvg = !0, n.fetchSvgFrom = t.baseUrl + '/releases/' + (t.version === 'latest' ? 'latest' : 'v'.concat(t.version)) + '/svgs', n.fetchUploadedSvgFrom = t.uploadsUrl); const r = []; return t.v4shim.enabled && r.push(new E(function (r, o) { P(c(t, { addOn: '-v4-shims', minify: t.minify.enabled }), n).then(function (t) { r(U(t, e(e({}, n), {}, { id: 'fa-v4-shims' }))) }).catch(o) })), r.push(new E(function (r, o) { P(t.subsetPath && t.baseUrl + '/' + t.subsetPath || c(t, { minify: t.minify.enabled }), n).then(function (t) { const o = U(t, e(e({}, n), {}, { id: 'fa-main' })); r(function (t, e) { const n = e && void 0 !== e.autoFetchSvg ? e.autoFetchSvg : void 0; const r = e && void 0 !== e.autoA11y ? e.autoA11y : void 0; void 0 !== r && t.setAttribute('data-auto-a11y', r ? 'true' : 'false'); n && (t.setAttributeNode(document.createAttribute('data-auto-fetch-svg')), t.setAttribute('data-fetch-svg-from', e.fetchSvgFrom), t.setAttribute('data-fetch-uploaded-svg-from', e.fetchUploadedSvgFrom)); return t }(o, n)) }).catch(o) })), E.all(r) } function U (t, e) { const n = document.createElement('SCRIPT'); const r = document.createTextNode(t); return n.appendChild(r), n.referrerPolicy = 'strict-origin', e.id && n.setAttribute('id', e.id), e && e.detectingConflicts && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n } function T (t) { let e; const n = []; const r = document; const o = r.documentElement.doScroll; let i = (o ? /^loaded|^c/ : /^loaded|^i|^c/).test(r.readyState); i || r.addEventListener('DOMContentLoaded', e = function () { for (r.removeEventListener('DOMContentLoaded', e), i = 1; e = n.shift();)e() }), i ? setTimeout(t, 0) : n.push(t) } function L (t) { typeof MutationObserver !== 'undefined' && new MutationObserver(t).observe(document, { childList: !0, subtree: !0 }) } try { if (window.FontAwesomeKitConfig) { const k = window.FontAwesomeKitConfig; const x = { detectingConflicts: k.detectConflictsUntil && new Date() <= new Date(k.detectConflictsUntil), detectionIgnoreAttr: 'data-fa-detection-ignore', fetch: window.fetch, token: k.token, XMLHttpRequest: window.XMLHttpRequest, document }; const M = document.currentScript; const N = M ? M.parentElement : document.head; (function () { const t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; const e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; return t.method === 'js' ? I(t, e) : t.method === 'css' ? F(t, e, function (t) { T(t), L(t) }) : void 0 })(k, x).then(function (t) { t.map(function (t) { try { N.insertBefore(t, M ? M.nextSibling : null) } catch (e) { N.appendChild(t) } }), x.detectingConflicts && M && T(function () { M.setAttributeNode(document.createAttribute(x.detectionIgnoreAttr)); const t = (function (t, e) { const n = document.createElement('script'); return e && e.detectionIgnoreAttr && n.setAttributeNode(document.createAttribute(e.detectionIgnoreAttr)), n.src = c(t, { baseFilename: 'conflict-detection', fileSuffix: 'js', subdir: 'js', minify: t.minify.enabled }), n }(k, x)); document.body.appendChild(t) }) }).catch(function (t) { console.error(''.concat('Font Awesome Kit:', ' ').concat(t)) }) } } catch (t) { console.error(''.concat('Font Awesome Kit:', ' ').concat(t)) } }))