iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
2 lines • 5.92 kB
JavaScript
export const __webpack_ids__=["67583"];export const __webpack_modules__={78344:function(r){var t=TypeError;r.exports=function(r){if("string"==typeof r)return r;throw new t("Argument is not a string")}},87265:function(r,t,n){var e=n(61896),o=String,i=TypeError;r.exports=function(r){if(void 0===r||e(r))return r;throw new i(o(r)+" is not an object or undefined")}},87038:function(r,t,n){var e=n(59069),o=TypeError;r.exports=function(r){if("Uint8Array"===e(r))return r;throw new o("Argument is not an Uint8Array")}},15419:function(r){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=t+"+/",e=t+"-_",o=function(r){for(var t={},n=0;n<64;n++)t[r.charAt(n)]=n;return t};r.exports={i2c:n,c2i:o(n),i2cUrl:e,c2iUrl:o(e)}},93474:function(r){var t=TypeError;r.exports=function(r){var n=r&&r.alphabet;if(void 0===n||"base64"===n||"base64url"===n)return n||"base64";throw new t("Incorrect `alphabet` option")}},30338:function(r,t,n){var e=n(97934),o=n(71998),i=n(4576),a=n(36760);r.exports=function(r,t){t&&"string"==typeof r||o(r);var n=a(r);return i(o(void 0!==n?e(n,r):r))}},47057:function(r,t,n){var e=n(1569),o=n(72878),i=n(87265),a=n(78344),f=n(39129),c=n(15419),u=n(93474),s=n(38511),h=c.c2i,l=c.c2iUrl,d=e.SyntaxError,p=e.TypeError,g=o("".charAt),v=function(r,t){for(var n=r.length;t<n;t++){var e=g(r,t);if(" "!==e&&"\t"!==e&&"\n"!==e&&"\f"!==e&&"\r"!==e)break}return t},w=function(r,t,n){var e=r.length;e<4&&(r+=2===e?"AA":"A");var o=(t[g(r,0)]<<18)+(t[g(r,1)]<<12)+(t[g(r,2)]<<6)+t[g(r,3)],i=[o>>16&255,o>>8&255,255&o];if(2===e){if(n&&0!==i[1])throw new d("Extra bits");return[i[0]]}if(3===e){if(n&&0!==i[2])throw new d("Extra bits");return[i[0],i[1]]}return i},b=function(r,t,n){for(var e=t.length,o=0;o<e;o++)r[n+o]=t[o];return n+e};r.exports=function(r,t,n,e){a(r),i(t);var o="base64"===u(t)?h:l,c=t?t.lastChunkHandling:void 0;if(void 0===c&&(c="loose"),"loose"!==c&&"strict"!==c&&"stop-before-partial"!==c)throw new p("Incorrect `lastChunkHandling` option");n&&s(n.buffer);var y=n||[],x=0,A=0,U="",m=0;if(e)for(;;){if((m=v(r,m))===r.length){if(U.length>0){if("stop-before-partial"===c)break;if("loose"!==c)throw new d("Missing padding");if(1===U.length)throw new d("Malformed padding: exactly one additional character");x=b(y,w(U,o,!1),x)}A=r.length;break}var k=g(r,m);if(++m,"="===k){if(U.length<2)throw new d("Padding is too early");if(m=v(r,m),2===U.length){if(m===r.length){if("stop-before-partial"===c)break;throw new d("Malformed padding: only one =")}"="===g(r,m)&&(++m,m=v(r,m))}if(m<r.length)throw new d("Unexpected character after padding");x=b(y,w(U,o,"strict"===c),x),A=r.length;break}if(!f(o,k))throw new d("Unexpected character");var _=e-x;if(1===_&&2===U.length||2===_&&3===U.length)break;if(4===(U+=k).length&&(x=b(y,w(U,o,!1),x),U="",A=m,x===e))break}return{bytes:y,read:A,written:x}}},35303:function(r,t,n){var e=n(1569),o=n(72878),i=e.Uint8Array,a=e.SyntaxError,f=e.parseInt,c=Math.min,u=/[^\da-f]/i,s=o(u.exec),h=o("".slice);r.exports=function(r,t){var n=r.length;if(n%2!=0)throw new a("String should be an even number of characters");for(var e=t?c(t.length,n/2):n/2,o=t||new i(e),l=0,d=0;d<e;){var p=h(r,l,l+=2);if(s(u,p))throw new a("String should only contain hex characters");o[d++]=f(p,16)}return{bytes:o,read:l}}},25677:function(r,t,n){var e=n(40810),o=n(97934),i=n(63983),a=n(71998),f=n(4576),c=n(30338),u=n(79995),s=n(14181),h=n(92288),l=u((function(){for(var r,t,n=this.iterator,e=this.mapper;;){if(t=this.inner)try{if(!(r=a(o(t.next,t.iterator))).done)return r.value;this.inner=null}catch(r){s(n,"throw",r)}if(r=a(o(this.next,n)),this.done=!!r.done)return;try{this.inner=c(e(r.value,this.counter++),!1)}catch(r){s(n,"throw",r)}}}));e({target:"Iterator",proto:!0,real:!0,forced:h},{flatMap:function(r){return a(this),i(r),new l(f(this),{mapper:r,inner:null})}})},21917:function(r,t,n){var e=n(40810),o=n(1569),i=n(47057),a=n(87038);o.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromBase64:function(r){a(this);var t=i(r,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}})},56193:function(r,t,n){var e=n(40810),o=n(1569),i=n(78344),a=n(87038),f=n(38511),c=n(35303);o.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromHex:function(r){a(this),i(r),f(this.buffer);var t=c(r,this).read;return{read:t,written:t/2}}})},25020:function(r,t,n){var e=n(40810),o=n(1569),i=n(72878),a=n(87265),f=n(87038),c=n(38511),u=n(15419),s=n(93474),h=u.i2c,l=u.i2cUrl,d=i("".charAt);o.Uint8Array&&e({target:"Uint8Array",proto:!0},{toBase64:function(){var r=f(this),t=arguments.length?a(arguments[0]):void 0,n="base64"===s(t)?h:l,e=!!t&&!!t.omitPadding;c(this.buffer);for(var o,i="",u=0,p=r.length,g=function(r){return d(n,o>>6*r&63)};u+2<p;u+=3)o=(r[u]<<16)+(r[u+1]<<8)+r[u+2],i+=g(3)+g(2)+g(1)+g(0);return u+2===p?(o=(r[u]<<16)+(r[u+1]<<8),i+=g(3)+g(2)+g(1)+(e?"":"=")):u+1===p&&(o=r[u]<<16,i+=g(3)+g(2)+(e?"":"==")),i}})},86913:function(r,t,n){var e=n(40810),o=n(1569),i=n(72878),a=n(87038),f=n(38511),c=i(1..toString);o.Uint8Array&&e({target:"Uint8Array",proto:!0},{toHex:function(){a(this),f(this.buffer);for(var r="",t=0,n=this.length;t<n;t++){var e=c(this[t],16);r+=1===e.length?"0"+e:e}return r}})},27608:function(r,t,n){n.d(t,{MT:()=>o,RV:()=>e,U2:()=>f,ZH:()=>u,t8:()=>c});n(92745),n(9359),n(31526),n(70104);function e(r){return new Promise(((t,n)=>{r.oncomplete=r.onsuccess=()=>t(r.result),r.onabort=r.onerror=()=>n(r.error)}))}function o(r,t){const n=indexedDB.open(r);n.onupgradeneeded=()=>n.result.createObjectStore(t);const o=e(n);return(r,n)=>o.then((e=>n(e.transaction(t,r).objectStore(t))))}let i;function a(){return i||(i=o("keyval-store","keyval")),i}function f(r,t=a()){return t("readonly",(t=>e(t.get(r))))}function c(r,t,n=a()){return n("readwrite",(n=>(n.put(t,r),e(n.transaction))))}function u(r=a()){return r("readwrite",(r=>(r.clear(),e(r.transaction))))}}};
//# sourceMappingURL=67583.a14ed2a02d1127c7.js.map