UNPKG

iobroker.lovelace

Version:

With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI

3 lines 10.9 kB
/*! For license information please see 12205.ae8fe7a04d6c67d4.js.LICENSE.txt */ "use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["12205"],{88977:function(t,n,e){e.d(n,{L:()=>i});e(19134),e(44495),e(32114);const r={en:"US",hi:"IN",deva:"IN",te:"IN",mr:"IN",ta:"IN",gu:"IN",kn:"IN",or:"IN",ml:"IN",pa:"IN",bho:"IN",awa:"IN",as:"IN",mwr:"IN",mai:"IN",mag:"IN",bgc:"IN",hne:"IN",dcc:"IN",bn:"BD",beng:"BD",rkt:"BD",dz:"BT",tibt:"BT",tn:"BW",am:"ET",ethi:"ET",om:"ET",quc:"GT",id:"ID",jv:"ID",su:"ID",mad:"ID",ms_arab:"ID",he:"IL",hebr:"IL",jam:"JM",ja:"JP",jpan:"JP",km:"KH",khmr:"KH",ko:"KR",kore:"KR",lo:"LA",laoo:"LA",mh:"MH",my:"MM",mymr:"MM",mt:"MT",ne:"NP",fil:"PH",ceb:"PH",ilo:"PH",ur:"PK",pa_arab:"PK",lah:"PK",ps:"PK",sd:"PK",skr:"PK",gn:"PY",th:"TH",thai:"TH",tts:"TH",zh_hant:"TW",hant:"TW",sm:"WS",zu:"ZA",sn:"ZW",arq:"DZ",ar:"EG",arab:"EG",arz:"EG",fa:"IR",az_arab:"IR",dv:"MV",thaa:"MV"};const o={AG:0,ATG:0,28:0,AS:0,ASM:0,16:0,BD:0,BGD:0,50:0,BR:0,BRA:0,76:0,BS:0,BHS:0,44:0,BT:0,BTN:0,64:0,BW:0,BWA:0,72:0,BZ:0,BLZ:0,84:0,CA:0,CAN:0,124:0,CO:0,COL:0,170:0,DM:0,DMA:0,212:0,DO:0,DOM:0,214:0,ET:0,ETH:0,231:0,GT:0,GTM:0,320:0,GU:0,GUM:0,316:0,HK:0,HKG:0,344:0,HN:0,HND:0,340:0,ID:0,IDN:0,360:0,IL:0,ISR:0,376:0,IN:0,IND:0,356:0,JM:0,JAM:0,388:0,JP:0,JPN:0,392:0,KE:0,KEN:0,404:0,KH:0,KHM:0,116:0,KR:0,KOR:0,410:0,LA:0,LA0:0,418:0,MH:0,MHL:0,584:0,MM:0,MMR:0,104:0,MO:0,MAC:0,446:0,MT:0,MLT:0,470:0,MX:0,MEX:0,484:0,MZ:0,MOZ:0,508:0,NI:0,NIC:0,558:0,NP:0,NPL:0,524:0,PA:0,PAN:0,591:0,PE:0,PER:0,604:0,PH:0,PHL:0,608:0,PK:0,PAK:0,586:0,PR:0,PRI:0,630:0,PT:0,PRT:0,620:0,PY:0,PRY:0,600:0,SA:0,SAU:0,682:0,SG:0,SGP:0,702:0,SV:0,SLV:0,222:0,TH:0,THA:0,764:0,TT:0,TTO:0,780:0,TW:0,TWN:0,158:0,UM:0,UMI:0,581:0,US:0,USA:0,840:0,VE:0,VEN:0,862:0,VI:0,VIR:0,850:0,WS:0,WSM:0,882:0,YE:0,YEM:0,887:0,ZA:0,ZAF:0,710:0,ZW:0,ZWE:0,716:0,AE:6,ARE:6,784:6,AF:6,AFG:6,4:6,BH:6,BHR:6,48:6,DJ:6,DJI:6,262:6,DZ:6,DZA:6,12:6,EG:6,EGY:6,818:6,IQ:6,IRQ:6,368:6,IR:6,IRN:6,364:6,JO:6,JOR:6,400:6,KW:6,KWT:6,414:6,LY:6,LBY:6,434:6,OM:6,OMN:6,512:6,QA:6,QAT:6,634:6,SD:6,SDN:6,729:6,SY:6,SYR:6,760:6,MV:5,MDV:5,462:5};function i(t){return function(t,n,e){if(t){var r,o=t.toLowerCase().split(/[-_]/),i=o[0],s=i;if(o[1]&&4===o[1].length?(s+="_"+o[1],r=o[2]):r=o[1],r||(r=n[s]||n[i]),r)return function(t,n){var e=n["string"==typeof t?t.toUpperCase():t];return"number"==typeof e?e:1}(r.match(/^\d+$/)?Number(r):r,e)}return 1}(t,r,o)}},30338:function(t,n,e){var r=e(97934),o=e(71998),i=e(4576),s=e(36760);t.exports=function(t,n){n&&"string"==typeof t||o(t);var e=s(t);return i(o(void 0!==e?r(e,t):t))}},63434:function(t,n,e){var r=e(40810),o=e(12360),i=e(13053),s=e(88045),u=e(35709);r({target:"Array",proto:!0},{at:function(t){var n=o(this),e=i(n),r=s(t),u=r>=0?r:e+r;return u<0||u>=e?void 0:n[u]}}),u("at")},60933:function(t,n,e){var r=e(40810),o=e(57877),i=e(63983),s=e(12360),u=e(13053),a=e(47645);r({target:"Array",proto:!0},{flatMap:function(t){var n,e=s(this),r=u(e);return i(t),(n=a(e,0)).length=o(n,e,e,r,0,1,t,arguments.length>1?arguments[1]:void 0),n}})},32126:function(t,n,e){e(35709)("flatMap")},25677:function(t,n,e){var r=e(40810),o=e(97934),i=e(63983),s=e(71998),u=e(4576),a=e(30338),c=e(79995),l=e(14181),h=e(92288),d=c((function(){for(var t,n,e=this.iterator,r=this.mapper;;){if(n=this.inner)try{if(!(t=s(o(n.next,n.iterator))).done)return t.value;this.inner=null}catch(i){l(e,"throw",i)}if(t=s(o(this.next,e)),this.done=!!t.done)return;try{this.inner=a(r(t.value,this.counter++),!1)}catch(i){l(e,"throw",i)}}}));r({target:"Iterator",proto:!0,real:!0,forced:h},{flatMap:function(t){return s(this),i(t),new d(u(this),{mapper:t,inner:null})}})},96829:function(t,n,e){var r=e(40810),o=e(72878),i=e(95011),s=e(88045),u=e(72616),a=e(29660),c=o("".charAt);r({target:"String",proto:!0,forced:a((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(t){var n=u(i(this)),e=n.length,r=s(t),o=r>=0?r:e+r;return o<0||o>=e?void 0:c(n,o)}})},14503:function(t,n,e){e.d(n,{Z:()=>r});e(63721),e(88230),e(52247),e(71695),e(40251),e(47021);function r(t){var n,e,r,i=2;for("undefined"!=typeof Symbol&&(e=Symbol.asyncIterator,r=Symbol.iterator);i--;){if(e&&null!=(n=t[e]))return n.call(t);if(r&&null!=(n=t[r]))return new o(n.call(t));e="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function o(t){function n(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var n=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:n}}))}return o=function(t){this.s=t,this.n=t.next},o.prototype={s:null,n:null,next:function(){return n(this.n.apply(this.s,arguments))},return:function(t){var e=this.s.return;return void 0===e?Promise.resolve({value:t,done:!0}):n(e.apply(this.s,arguments))},throw:function(t){var e=this.s.return;return void 0===e?Promise.reject(t):n(e.apply(this.s,arguments))}},new o(t)}},55428:function(t,n,e){e.d(n,{j:()=>o});let r={};function o(){return r}},34151:function(t,n,e){function r(t){return n=>{const e=(t?Math[t]:Math.trunc)(n);return 0===e?0:e}}e.d(n,{u:()=>r})},18492:function(t,n,e){e.d(n,{d:()=>o});e(9359),e(1331),e(70104);var r=e(53907);function o(t,...n){const e=r.L.bind(null,t||n.find((t=>"object"==typeof t)));return n.map(e)}},76808:function(t,n,e){e.d(n,{I7:()=>u,dP:()=>o,jE:()=>r,vh:()=>s,yJ:()=>i});Math.pow(10,8);const r=6048e5,o=864e5,i=6e4,s=36e5,u=Symbol.for("constructDateFrom")},53907:function(t,n,e){e.d(n,{L:()=>o});var r=e(76808);function o(t,n){return"function"==typeof t?t(n):t&&"object"==typeof t&&r.I7 in t?t[r.I7](n):t instanceof Date?new t.constructor(n):new Date(n)}},78052:function(t,n,e){e.d(n,{w:()=>a});e(71695),e(47021);var r=e(18112);function o(t){const n=(0,r.Q)(t),e=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return e.setUTCFullYear(n.getFullYear()),+t-+e}var i=e(18492),s=e(76808),u=e(7591);function a(t,n,e){const[r,a]=(0,i.d)(null==e?void 0:e.in,t,n),c=(0,u.b)(r),l=(0,u.b)(a),h=+c-o(c),d=+l-o(l);return Math.round((h-d)/s.dP)}},13809:function(t,n,e){e.d(n,{j:()=>i});e(71695),e(47021);var r=e(18492),o=e(78052);function i(t,n,e){const[i,u]=(0,r.d)(null==e?void 0:e.in,t,n),a=s(i,u),c=Math.abs((0,o.w)(i,u));i.setDate(i.getDate()-a*c);const l=a*(c-Number(s(i,u)===-a));return 0===l?0:l}function s(t,n){const e=t.getFullYear()-n.getFullYear()||t.getMonth()-n.getMonth()||t.getDate()-n.getDate()||t.getHours()-n.getHours()||t.getMinutes()-n.getMinutes()||t.getSeconds()-n.getSeconds()||t.getMilliseconds()-n.getMilliseconds();return e<0?-1:e>0?1:e}},7591:function(t,n,e){e.d(n,{b:()=>o});var r=e(18112);function o(t,n){const e=(0,r.Q)(t,null==n?void 0:n.in);return e.setHours(0,0,0,0),e}},29558:function(t,n,e){e.d(n,{z:()=>i});var r=e(55428),o=e(18112);function i(t,n){var e,i,s,u,a,c;const l=(0,r.j)(),h=null!==(e=null!==(i=null!==(s=null!==(u=null==n?void 0:n.weekStartsOn)&&void 0!==u?u:null==n||null===(a=n.locale)||void 0===a||null===(a=a.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==s?s:l.weekStartsOn)&&void 0!==i?i:null===(c=l.locale)||void 0===c||null===(c=c.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==e?e:0,d=(0,o.Q)(t,null==n?void 0:n.in),f=d.getDay(),v=(f<h?7:0)+f-h;return d.setDate(d.getDate()-v),d.setHours(0,0,0,0),d}},18112:function(t,n,e){e.d(n,{Q:()=>o});var r=e(53907);function o(t,n){return(0,r.L)(n||t,t)}},27608:function(t,n,e){e.d(n,{MT:()=>o,RV:()=>r,U2:()=>u,ZH:()=>c,t8:()=>a});e(71695),e(92745),e(9359),e(31526),e(70104),e(40251),e(47021);function r(t){return new Promise(((n,e)=>{t.oncomplete=t.onsuccess=()=>n(t.result),t.onabort=t.onerror=()=>e(t.error)}))}function o(t,n){const e=indexedDB.open(t);e.onupgradeneeded=()=>e.result.createObjectStore(n);const o=r(e);return(t,e)=>o.then((r=>e(r.transaction(n,t).objectStore(n))))}let i;function s(){return i||(i=o("keyval-store","keyval")),i}function u(t,n=s()){return n("readonly",(n=>r(n.get(t))))}function a(t,n,e=s()){return e("readwrite",(e=>(e.put(n,t),r(e.transaction))))}function c(t=s()){return t("readwrite",(t=>(t.clear(),r(t.transaction))))}},1714:function(t,n,e){e.d(n,{sR:()=>h});e(71695),e(92519),e(42179),e(89256),e(24931),e(88463),e(57449),e(19814),e(47021);var r=e(53232),o=e(45779);const i=(t,n)=>{var e,r;const o=t._$AN;if(void 0===o)return!1;for(const s of o)null===(r=(e=s)._$AO)||void 0===r||r.call(e,n,!1),i(s,n);return!0},s=t=>{let n,e;do{if(void 0===(n=t._$AM))break;e=n._$AN,e.delete(t),t=n}while(0===(null==e?void 0:e.size))},u=t=>{for(let n;n=t._$AM;t=n){let e=n._$AN;if(void 0===e)n._$AN=e=new Set;else if(e.has(t))break;e.add(t),l(n)}};function a(t){void 0!==this._$AN?(s(this),this._$AM=t,u(this)):this._$AM=t}function c(t,n=!1,e=0){const r=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(n)if(Array.isArray(r))for(let u=e;u<r.length;u++)i(r[u],!1),s(r[u]);else null!=r&&(i(r,!1),s(r));else i(this,t)}const l=t=>{var n,e,r,i;t.type==o.pX.CHILD&&(null!==(n=(r=t)._$AP)&&void 0!==n||(r._$AP=c),null!==(e=(i=t)._$AQ)&&void 0!==e||(i._$AQ=a))};class h extends o.Xe{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,n,e){super._$AT(t,n,e),u(this),this.isConnected=t._$AU}_$AO(t,n=!0){var e,r;t!==this.isConnected&&(this.isConnected=t,t?null===(e=this.reconnected)||void 0===e||e.call(this):null===(r=this.disconnected)||void 0===r||r.call(this)),n&&(i(this,t),s(this))}setValue(t){if((0,r.OR)(this._$Ct))this._$Ct._$AI(t,this);else{const n=[...this._$Ct._$AH];n[this._$Ci]=t,this._$Ct._$AI(n,this,0)}}disconnected(){}reconnected(){}}},94571:function(t,n,e){e.d(n,{C:()=>d});e(71695),e(9359),e(1331),e(40251),e(47021);var r=e(2841),o=e(53232),i=e(1714);e(14503);class s{constructor(t){this.G=t}disconnect(){this.G=void 0}reconnect(t){this.G=t}deref(){return this.G}}class u{constructor(){this.Y=void 0,this.Z=void 0}get(){return this.Y}pause(){var t;null!==(t=this.Y)&&void 0!==t||(this.Y=new Promise((t=>this.Z=t)))}resume(){var t;null===(t=this.Z)||void 0===t||t.call(this),this.Y=this.Z=void 0}}var a=e(45779);const c=t=>!(0,o.pt)(t)&&"function"==typeof t.then,l=1073741823;class h extends i.sR{constructor(){super(...arguments),this._$C_t=l,this._$Cwt=[],this._$Cq=new s(this),this._$CK=new u}render(...t){var n;return null!==(n=t.find((t=>!c(t))))&&void 0!==n?n:r.Jb}update(t,n){const e=this._$Cwt;let o=e.length;this._$Cwt=n;const i=this._$Cq,s=this._$CK;this.isConnected||this.disconnected();for(let r=0;r<n.length&&!(r>this._$C_t);r++){const t=n[r];if(!c(t))return this._$C_t=r,t;r<o&&t===e[r]||(this._$C_t=l,o=0,Promise.resolve(t).then((async n=>{for(;s.get();)await s.get();const e=i.deref();if(void 0!==e){const r=e._$Cwt.indexOf(t);r>-1&&r<e._$C_t&&(e._$C_t=r,e.setValue(n))}})))}return r.Jb}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}const d=(0,a.XM)(h)}}]); //# sourceMappingURL=12205.ae8fe7a04d6c67d4.js.map