"use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[878,8497],{878(t,n,e){e.d(n,{DY:()=>D,FO:()=>M,J4:()=>f,Mw:()=>i,PD:()=>k,PS:()=>s,SL:()=>v,WB:()=>y,WV:()=>O,XN:()=>p,XY:()=>h,fi:()=>d,gg:()=>m,gq:()=>T,mA:()=>S,mK:()=>u,pp:()=>l,ro:()=>w,tB:()=>a,tF:()=>g,t_:()=>b,tj:()=>c});var r=e(5796);const o=/\//g;function a(){return r.DateTime.local()}function u(t,n){return"Monday"===n?t.startOf("week"):t.startOf("week").minus({days:1})}function i(t){return t.startOf("month")}function l(t){return t.get("day")}function c(t){return t.get("month")}function d(t,n){return t.plus({days:n})}function f(t,n){return t.plus({weeks:n})}function s(t,n){return t.plus({months:n})}function m(t,n){return t.plus({days:0-n})}function y(t,n){return t.plus({weeks:0-n})}function v(t,n){return t.plus({months:0-n})}function p(t){return t.locale}function h(t,n){var e,r;return t?null!==(e=n.setLocale(t).weekdayShort)&&void 0!==e?e:"":null!==(r=n.weekdayShort)&&void 0!==r?r:""}function D(t,n){const e=h(t,n);return e?e.substring(0,1):""}function O(t,n){return t.setLocale(n)}function w(t,n){return t.day===n.day&&t.month===n.month&&t.year===n.year}function g(t,n){return t.month===n.month}function b(t,n){var e,r,o,a,u,i;return(null===(e=n.minDate)||void 0===e?void 0:e.startOf("day"))&&t.startOf("day")<(null===(r=n.minDate)||void 0===r?void 0:r.startOf("day"))||(null===(o=n.maxDate)||void 0===o?void 0:o.startOf("day"))&&t.startOf("day")>(null===(a=n.maxDate)||void 0===a?void 0:a.startOf("day"))||(null===(u=n.filterDate)||void 0===u?void 0:u.call(n,t))||(null===(i=n.filterDate)||void 0===i?void 0:i.call(n,t.toISODate()))||!1}function k(t,n){const e=r.DateTime.fromObject({month:t.month,day:1,year:t.year});return n&&n>=e}function M(t,n){const e=r.DateTime.fromObject({month:t.month,day:t.daysInMonth,year:t.year});return n&&n<=e}function S(t){return r.DateTime.fromISO(null==t?void 0:t.replace(o,"-"))}function T(t=void 0){return r.DateTime.fromObject({year:2025,month:1,day:3}).setLocale(null!=t?t:r.DateTime.local().locale).toFormat("D").replace("2025","yyyy").replace("25","yy").replace("01","MM").replace("1","M").replace("03","dd").replace("3","d")}}}]);