"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["52894"],{77972:function(n,t,u){u.d(t,{A:function(){return r}});var o=u(73420),e=u(83504);function r(n,t,u){return(0,o.w)((null==u?void 0:u.in)||n,+(0,e.a)(n)+t)}},81977:function(n,t,u){u.d(t,{P:function(){return r}});var o=u(73420),e=u(83504);function r(n,t,u){const r=(0,e.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 r;const i=r.getDate(),l=(0,o.w)((null==u?void 0:u.in)||n,r.getTime());l.setMonth(r.getMonth()+t+1,0);return i>=l.getDate()?l:(r.setFullYear(l.getFullYear(),l.getMonth(),i),r)}},66465:function(n,t,u){u.d(t,{J:function(){return e}});var o=u(92913);function e(n,t,u){return(0,o.f)(n,7*t,u)}},56434:function(n,t,u){u.d(t,{e:function(){return e}});var o=u(81977);function e(n,t,u){return(0,o.P)(n,12*t,u)}},95785:function(n,t,u){u.d(t,{z:function(){return e}});var o=u(83504);function e(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 e}});u(62953);var o=u(74816);function e(n,t,u){const[e,r]=(0,o.x)(null==u?void 0:u.in,n,t);return 12*(e.getFullYear()-r.getFullYear())+(e.getMonth()-r.getMonth())}},87950:function(n,t,u){u.d(t,{W:function(){return l}});u(62953);var o=u(74816),e=u(95785),r=u(29224),i=u(31810);function l(n,t,u){const[l,c,a]=(0,o.x)(null==u?void 0:u.in,n,n,t),f=(0,e.z)(c,a),s=Math.abs((0,r.U)(c,a));if(s<1)return 0;1===c.getMonth()&&c.getDate()>27&&c.setDate(30),c.setMonth(c.getMonth()-f*s);let d=(0,e.z)(c,a)===-f;(0,i.c)(l)&&1===s&&1===(0,e.z)(l,a)&&(d=!1);const v=f*(s-+d);return 0===v?0:v}},73983:function(n,t,u){u.d(t,{D:function(){return e}});var o=u(83504);function e(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 e}});var o=u(83504);function e(n,t){const u=(0,o.a)(n,null==t?void 0:t.in),e=u.getMonth();return u.setFullYear(u.getFullYear(),e+1,0),u.setHours(23,59,59,999),u}},69137:function(n,t,u){u.d(t,{$:function(){return r}});var o=u(2045),e=u(83504);function r(n,t){var u,r,i,l,c,a;const f=(0,o.q)(),s=null!==(u=null!==(r=null!==(i=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t||null===(c=t.locale)||void 0===c||null===(c=c.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==i?i:f.weekStartsOn)&&void 0!==r?r: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,e.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 e}});var o=u(83504);function e(n,t){const u=(0,o.a)(n,null==t?void 0:t.in),e=u.getFullYear();return u.setFullYear(e+1,0,0),u.setHours(23,59,59,999),u}},78016:function(n,t,u){u.d(t,{e:function(){return e}});var o=u(83504);function e(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),e=u(36307),r=u(83504);function i(n,t){const u=(0,r.a)(n,null==t?void 0:t.in);return+(0,o.D)(u,t)===+(0,e.p)(u,t)}},83309:function(n,t,u){u.d(t,{r:function(){return r}});u(62953);var o=u(74816),e=u(35932);function r(n,t,u){const[r,i]=(0,o.x)(null==u?void 0:u.in,n,t);return+(0,e.o)(r)===+(0,e.o)(i)}}}]);
//# sourceMappingURL=52894.8d76ae8e6fd83ba7.js.map