UNPKG

iobroker.lovelace

Version:

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

1 lines 3.18 kB
"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[50891],{31886:function(n,t,e){e.a(n,async function(n,o){try{e.d(t,{BB:function(){return u.B}});e(38744);var u=e(88775),r=e(49232),i=e(78713),c=e(53834),a=e(35204),s=e(5806),l=n([u,r,i,c,a,s]);[u,r,i,c,a,s]=l.then?(await l)():l,o()}catch(f){o(f)}})},2045:function(n,t,e){e.d(t,{q:function(){return u}});let o={};function u(){return o}},6439:function(n,t,e){function o(n){return t=>{const e=(n?Math[n]:Math.trunc)(t);return 0===e?0:e}}e.d(t,{u:function(){return o}})},74816:function(n,t,e){e.d(t,{x:function(){return u}});e(18111),e(20116),e(61701);var o=e(73420);function u(n,...t){const e=o.w.bind(null,n||t.find(n=>"object"==typeof n));return t.map(e)}},9160:function(n,t,e){e.d(t,{_P:function(){return i},my:function(){return o},s0:function(){return r},w4:function(){return u}});Math.pow(10,8);const o=6048e5,u=864e5,r=36e5,i=Symbol.for("constructDateFrom")},73420:function(n,t,e){e.d(t,{w:function(){return u}});var o=e(9160);function u(n,t){return"function"==typeof n?n(t):n&&"object"==typeof n&&o._P in n?n[o._P](t):n instanceof Date?new n.constructor(t):new Date(t)}},465:function(n,t,e){e.d(t,{m:function(){return a}});e(62953);var o=e(83504);function u(n){const t=(0,o.a)(n),e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+n-+e}var r=e(74816),i=e(9160),c=e(35932);function a(n,t,e){const[o,a]=(0,r.x)(null==e?void 0:e.in,n,t),s=(0,c.o)(o),l=(0,c.o)(a),f=+s-u(s),d=+l-u(l);return Math.round((f-d)/i.w4)}},6946:function(n,t,e){e.d(t,{c:function(){return r}});e(62953);var o=e(74816),u=e(465);function r(n,t,e){const[r,c]=(0,o.x)(null==e?void 0:e.in,n,t),a=i(r,c),s=Math.abs((0,u.m)(r,c));r.setDate(r.getDate()-a*s);const l=a*(s-Number(i(r,c)===-a));return 0===l?0:l}function i(n,t){const e=n.getFullYear()-t.getFullYear()||n.getMonth()-t.getMonth()||n.getDate()-t.getDate()||n.getHours()-t.getHours()||n.getMinutes()-t.getMinutes()||n.getSeconds()-t.getSeconds()||n.getMilliseconds()-t.getMilliseconds();return e<0?-1:e>0?1:e}},38684:function(n,t,e){e.d(t,{I:function(){return r}});var o=e(6439),u=e(6946);function r(n,t,e){const r=(0,u.c)(n,t,e)/7;return(0,o.u)(null==e?void 0:e.roundingMethod)(r)}},35932:function(n,t,e){e.d(t,{o:function(){return u}});var o=e(83504);function u(n,t){const e=(0,o.a)(n,null==t?void 0:t.in);return e.setHours(0,0,0,0),e}},52640:function(n,t,e){e.d(t,{k:function(){return r}});var o=e(2045),u=e(83504);function r(n,t){var e,r,i,c,a,s;const l=(0,o.q)(),f=null!==(e=null!==(r=null!==(i=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(a=t.locale)||void 0===a||null===(a=a.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==i?i:l.weekStartsOn)&&void 0!==r?r:null===(s=l.locale)||void 0===s||null===(s=s.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==e?e:0,d=(0,u.a)(n,null==t?void 0:t.in),v=d.getDay(),g=(v<f?7:0)+v-f;return d.setDate(d.getDate()-g),d.setHours(0,0,0,0),d}},83504:function(n,t,e){e.d(t,{a:function(){return u}});var o=e(73420);function u(n,t){return(0,o.w)(t||n,n)}}}]);