iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
1 lines • 4.12 kB
JavaScript
;(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[92610],{57279:function(n,t,u){u.d(t,{L:function(){return e}});var o=u(77972),r=u(9160);function e(n,t,u){return(0,o.A)(n,t*r.s0,u)}},77972:function(n,t,u){u.d(t,{A:function(){return e}});var o=u(73420),r=u(83504);function e(n,t,u){return(0,o.w)((null==u?void 0:u.in)||n,+(0,r.a)(n)+t)}},81977:function(n,t,u){u.d(t,{P:function(){return e}});var o=u(73420),r=u(83504);function e(n,t,u){const e=(0,r.a)(n,null==u?void 0:u.in);if(isNaN(t))return(0,o.w)((null==u?void 0:u.in)||n,NaN);if(!t)return e;const i=e.getDate(),c=(0,o.w)((null==u?void 0:u.in)||n,e.getTime());c.setMonth(e.getMonth()+t+1,0);return i>=c.getDate()?c:(e.setFullYear(c.getFullYear(),c.getMonth(),i),e)}},95785:function(n,t,u){u.d(t,{z:function(){return r}});var o=u(83504);function r(n,t){const u=+(0,o.a)(n)-+(0,o.a)(t);return u<0?-1:u>0?1:u}},29224:function(n,t,u){u.d(t,{U:function(){return r}});u(62953);var o=u(74816);function r(n,t,u){const[r,e]=(0,o.x)(null==u?void 0:u.in,n,t);return 12*(r.getFullYear()-e.getFullYear())+(r.getMonth()-e.getMonth())}},87950:function(n,t,u){u.d(t,{W:function(){return c}});u(62953);var o=u(74816),r=u(95785),e=u(29224),i=u(31810);function c(n,t,u){const[c,l,a]=(0,o.x)(null==u?void 0:u.in,n,n,t),f=(0,r.z)(l,a),s=Math.abs((0,e.U)(l,a));if(s<1)return 0;1===l.getMonth()&&l.getDate()>27&&l.setDate(30),l.setMonth(l.getMonth()-f*s);let d=(0,r.z)(l,a)===-f;(0,i.c)(c)&&1===s&&1===(0,r.z)(c,a)&&(d=!1);const v=f*(s-+d);return 0===v?0:v}},73983:function(n,t,u){u.d(t,{D:function(){return r}});var o=u(83504);function r(n,t){const u=(0,o.a)(n,null==t?void 0:t.in);return u.setHours(23,59,59,999),u}},36307:function(n,t,u){u.d(t,{p:function(){return r}});var o=u(83504);function r(n,t){const u=(0,o.a)(n,null==t?void 0:t.in),r=u.getMonth();return u.setFullYear(u.getFullYear(),r+1,0),u.setHours(23,59,59,999),u}},15797:function(n,t,u){u.d(t,{j:function(){return r}});var o=u(83504);function r(n,t){const u=(0,o.a)(n,null==t?void 0:t.in),r=u.getMonth(),e=r-r%3+3;return u.setMonth(e,0),u.setHours(23,59,59,999),u}},69137:function(n,t,u){u.d(t,{$:function(){return e}});var o=u(2045),r=u(83504);function e(n,t){var u,e,i,c,l,a;const f=(0,o.q)(),s=null!==(u=null!==(e=null!==(i=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(l=t.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==i?i:f.weekStartsOn)&&void 0!==e?e:null===(a=f.locale)||void 0===a||null===(a=a.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==u?u:0,d=(0,r.a)(n,null==t?void 0:t.in),v=d.getDay(),g=6+(v<s?-7:0)-(v-s);return d.setDate(d.getDate()+g),d.setHours(23,59,59,999),d}},69748:function(n,t,u){u.d(t,{Q:function(){return r}});var o=u(83504);function r(n,t){const u=(0,o.a)(n,null==t?void 0:t.in),r=u.getFullYear();return u.setFullYear(r+1,0,0),u.setHours(23,59,59,999),u}},78016:function(n,t,u){u.d(t,{e:function(){return r}});var o=u(83504);function r(n,t){return 1===(0,o.a)(n,null==t?void 0:t.in).getDate()}},31810:function(n,t,u){u.d(t,{c:function(){return i}});var o=u(73983),r=u(36307),e=u(83504);function i(n,t){const u=(0,e.a)(n,null==t?void 0:t.in);return+(0,o.D)(u,t)===+(0,r.p)(u,t)}},35660:function(n,t,u){u.d(t,{w:function(){return r}});var o=u(83504);function r(n,t){const u=(0,o.a)(n,null==t?void 0:t.in);return u.setDate(1),u.setHours(0,0,0,0),u}},11650:function(n,t,u){u.d(t,{a:function(){return r}});var o=u(83504);function r(n,t){const u=(0,o.a)(n,null==t?void 0:t.in),r=u.getMonth(),e=r-r%3;return u.setMonth(e,1),u.setHours(0,0,0,0),u}},33977:function(n,t,u){u.d(t,{D:function(){return r}});var o=u(83504);function r(n,t){const u=(0,o.a)(n,null==t?void 0:t.in);return u.setFullYear(u.getFullYear(),0,1),u.setHours(0,0,0,0),u}},55144:function(n,t,u){u.d(t,{e:function(){return r}});var o=u(92913);function r(n,t,u){return(0,o.f)(n,-t,u)}},66708:function(n,t,u){u.d(t,{O:function(){return r}});var o=u(57279);function r(n,t,u){return(0,o.L)(n,-t,u)}},21828:function(n,t,u){u.d(t,{a:function(){return r}});var o=u(81977);function r(n,t,u){return(0,o.P)(n,-t,u)}}}]);