UNPKG

iobroker.lovelace

Version:

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

1 lines 2.94 kB
"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[51662],{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 s}});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 s(n,t,e){const[o,s]=(0,r.x)(null==e?void 0:e.in,n,t),l=(0,c.o)(o),a=(0,c.o)(s),f=+l-u(l),d=+a-u(a);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),s=i(r,c),l=Math.abs((0,u.m)(r,c));r.setDate(r.getDate()-s*l);const a=s*(l-Number(i(r,c)===-s));return 0===a?0:a}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,s,l;const a=(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===(s=t.locale)||void 0===s||null===(s=s.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==i?i:a.weekStartsOn)&&void 0!==r?r:null===(l=a.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==e?e:0,d=(0,u.a)(n,null==t?void 0:t.in),g=d.getDay(),v=(g<f?7:0)+g-f;return d.setDate(d.getDate()-v),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)}}}]);