iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
3 lines • 8.68 kB
JavaScript
/*! For license information please see 1037.f27b295ed2e146fc.js.LICENSE.txt */
export const __webpack_ids__=["1037"];export const __webpack_modules__={88977:function(t,e,n){n.d(e,{L:()=>o});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 i={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 o(t){return function(t,e,n){if(t){var r,i=t.toLowerCase().split(/[-_]/),o=i[0],s=o;if(i[1]&&4===i[1].length?(s+="_"+i[1],r=i[2]):r=i[1],r||(r=e[s]||e[o]),r)return function(t,e){var n=e["string"==typeof t?t.toUpperCase():t];return"number"==typeof n?n:1}(r.match(/^\d+$/)?Number(r):r,n)}return 1}(t,r,i)}},30338:function(t,e,n){var r=n(97934),i=n(71998),o=n(4576),s=n(36760);t.exports=function(t,e){e&&"string"==typeof t||i(t);var n=s(t);return o(i(void 0!==n?r(n,t):t))}},25677:function(t,e,n){var r=n(40810),i=n(97934),o=n(63983),s=n(71998),c=n(4576),a=n(30338),u=n(79995),h=n(14181),d=n(92288),l=u((function(){for(var t,e,n=this.iterator,r=this.mapper;;){if(e=this.inner)try{if(!(t=s(i(e.next,e.iterator))).done)return t.value;this.inner=null}catch(t){h(n,"throw",t)}if(t=s(i(this.next,n)),this.done=!!t.done)return;try{this.inner=a(r(t.value,this.counter++),!1)}catch(t){h(n,"throw",t)}}}));r({target:"Iterator",proto:!0,real:!0,forced:d},{flatMap:function(t){return s(this),o(t),new l(c(this),{mapper:t,inner:null})}})},55428:function(t,e,n){n.d(e,{j:()=>i});let r={};function i(){return r}},34151:function(t,e,n){function r(t){return e=>{const n=(t?Math[t]:Math.trunc)(e);return 0===n?0:n}}n.d(e,{u:()=>r})},18492:function(t,e,n){n.d(e,{d:()=>i});n(9359),n(1331),n(70104);var r=n(53907);function i(t,...e){const n=r.L.bind(null,t||e.find((t=>"object"==typeof t)));return e.map(n)}},76808:function(t,e,n){n.d(e,{I7:()=>c,dP:()=>i,jE:()=>r,vh:()=>s,yJ:()=>o});Math.pow(10,8);const r=6048e5,i=864e5,o=6e4,s=36e5,c=Symbol.for("constructDateFrom")},53907:function(t,e,n){n.d(e,{L:()=>i});var r=n(76808);function i(t,e){return"function"==typeof t?t(e):t&&"object"==typeof t&&r.I7 in t?t[r.I7](e):t instanceof Date?new t.constructor(e):new Date(e)}},78052:function(t,e,n){n.d(e,{w:()=>a});var r=n(18112);function i(t){const e=(0,r.Q)(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}var o=n(18492),s=n(76808),c=n(7591);function a(t,e,n){const[r,a]=(0,o.d)(n?.in,t,e),u=(0,c.b)(r),h=(0,c.b)(a),d=+u-i(u),l=+h-i(h);return Math.round((d-l)/s.dP)}},13809:function(t,e,n){n.d(e,{j:()=>o});var r=n(18492),i=n(78052);function o(t,e,n){const[o,c]=(0,r.d)(n?.in,t,e),a=s(o,c),u=Math.abs((0,i.w)(o,c));o.setDate(o.getDate()-a*u);const h=a*(u-Number(s(o,c)===-a));return 0===h?0:h}function s(t,e){const n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}},7591:function(t,e,n){n.d(e,{b:()=>i});var r=n(18112);function i(t,e){const n=(0,r.Q)(t,e?.in);return n.setHours(0,0,0,0),n}},29558:function(t,e,n){n.d(e,{z:()=>o});var r=n(55428),i=n(18112);function o(t,e){const n=(0,r.j)(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=(0,i.Q)(t,e?.in),c=s.getDay(),a=(c<o?7:0)+c-o;return s.setDate(s.getDate()-a),s.setHours(0,0,0,0),s}},18112:function(t,e,n){n.d(e,{Q:()=>i});var r=n(53907);function i(t,e){return(0,r.L)(e||t,t)}},27608:function(t,e,n){n.d(e,{MT:()=>i,RV:()=>r,U2:()=>c,ZH:()=>u,t8:()=>a});n(92745),n(9359),n(31526),n(70104);function r(t){return new Promise(((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)}))}function i(t,e){const n=indexedDB.open(t);n.onupgradeneeded=()=>n.result.createObjectStore(e);const i=r(n);return(t,n)=>i.then((r=>n(r.transaction(e,t).objectStore(e))))}let o;function s(){return o||(o=i("keyval-store","keyval")),o}function c(t,e=s()){return e("readonly",(e=>r(e.get(t))))}function a(t,e,n=s()){return n("readwrite",(n=>(n.put(e,t),r(n.transaction))))}function u(t=s()){return t("readwrite",(t=>(t.clear(),r(t.transaction))))}},1714:function(t,e,n){n.d(e,{sR:()=>d});n(92519),n(42179),n(89256),n(24931),n(88463),n(57449),n(19814);var r=n(53232),i=n(45779);const o=(t,e)=>{var n,r;const i=t._$AN;if(void 0===i)return!1;for(const t of i)null===(r=(n=t)._$AO)||void 0===r||r.call(n,e,!1),o(t,e);return!0},s=t=>{let e,n;do{if(void 0===(e=t._$AM))break;n=e._$AN,n.delete(t),t=e}while(0===(null==n?void 0:n.size))},c=t=>{for(let e;e=t._$AM;t=e){let n=e._$AN;if(void 0===n)e._$AN=n=new Set;else if(n.has(t))break;n.add(t),h(e)}};function a(t){void 0!==this._$AN?(s(this),this._$AM=t,c(this)):this._$AM=t}function u(t,e=!1,n=0){const r=this._$AH,i=this._$AN;if(void 0!==i&&0!==i.size)if(e)if(Array.isArray(r))for(let t=n;t<r.length;t++)o(r[t],!1),s(r[t]);else null!=r&&(o(r,!1),s(r));else o(this,t)}const h=t=>{var e,n,r,o;t.type==i.pX.CHILD&&(null!==(e=(r=t)._$AP)&&void 0!==e||(r._$AP=u),null!==(n=(o=t)._$AQ)&&void 0!==n||(o._$AQ=a))};class d extends i.Xe{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,n){super._$AT(t,e,n),c(this),this.isConnected=t._$AU}_$AO(t,e=!0){var n,r;t!==this.isConnected&&(this.isConnected=t,t?null===(n=this.reconnected)||void 0===n||n.call(this):null===(r=this.disconnected)||void 0===r||r.call(this)),e&&(o(this,t),s(this))}setValue(t){if((0,r.OR)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}},94571:function(t,e,n){n.d(e,{C:()=>l});n(9359),n(1331);var r=n(2841),i=n(53232),o=n(1714);class s{constructor(t){this.G=t}disconnect(){this.G=void 0}reconnect(t){this.G=t}deref(){return this.G}}class c{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=n(45779);const u=t=>!(0,i.pt)(t)&&"function"==typeof t.then,h=1073741823;class d extends o.sR{constructor(){super(...arguments),this._$C_t=h,this._$Cwt=[],this._$Cq=new s(this),this._$CK=new c}render(...t){var e;return null!==(e=t.find((t=>!u(t))))&&void 0!==e?e:r.Jb}update(t,e){const n=this._$Cwt;let i=n.length;this._$Cwt=e;const o=this._$Cq,s=this._$CK;this.isConnected||this.disconnected();for(let t=0;t<e.length&&!(t>this._$C_t);t++){const r=e[t];if(!u(r))return this._$C_t=t,r;t<i&&r===n[t]||(this._$C_t=h,i=0,Promise.resolve(r).then((async t=>{for(;s.get();)await s.get();const e=o.deref();if(void 0!==e){const n=e._$Cwt.indexOf(r);n>-1&&n<e._$C_t&&(e._$C_t=n,e.setValue(t))}})))}return r.Jb}disconnected(){this._$Cq.disconnect(),this._$CK.pause()}reconnected(){this._$Cq.reconnect(this),this._$CK.resume()}}const l=(0,a.XM)(d)}};
//# sourceMappingURL=1037.f27b295ed2e146fc.js.map