1 | {"version":3,"file":"cdn.js","names":["__defProp","Object","defineProperty","__export","target","all","name","get","enumerable","configurable","set","newValue","exports_lib","yearsToQuarters","yearsToMonths","yearsToDays","weeksToDays","transpose","toDate","subYears","subWeeks","subSeconds","subQuarters","subMonths","subMinutes","subMilliseconds","subISOWeekYears","subHours","subDays","subBusinessDays","sub","startOfYesterday","startOfYear","startOfWeekYear","startOfWeek","startOfTomorrow","startOfToday","startOfSecond","startOfQuarter","startOfMonth","startOfMinute","startOfISOWeekYear","startOfISOWeek","startOfHour","startOfDecade","startOfDay","setYear","setWeekYear","setWeek","setSeconds","setQuarter","setMonth","setMinutes","setMilliseconds","setISOWeekYear","setISOWeek","setISODay","setHours","setDefaultOptions","setDefaultOptions2","setDayOfYear","setDay","setDate","secondsToMinutes","secondsToMilliseconds","secondsToHours","roundToNearestMinutes","roundToNearestHours","quartersToYears","quartersToMonths","previousWednesday","previousTuesday","previousThursday","previousSunday","previousSaturday","previousMonday","previousFriday","previousDay","parsers","parseJSON","parseISO","parse","nextWednesday","nextTuesday","nextThursday","nextSunday","nextSaturday","nextMonday","nextFriday","nextDay","monthsToYears","monthsToQuarters","minutesToSeconds","minutesToMilliseconds","minutesToHours","min","millisecondsToSeconds","millisecondsToMinutes","millisecondsToHours","milliseconds","max","longFormatters","lightFormatters","lightFormat","lastDayOfYear","lastDayOfWeek","lastDayOfQuarter","lastDayOfMonth","lastDayOfISOWeekYear","lastDayOfISOWeek","lastDayOfDecade","isYesterday","isWithinInterval","isWeekend","isWednesday","isValid","isTuesday","isTomorrow","isToday","isThursday","isThisYear","isThisWeek","isThisSecond","isThisQuarter","isThisMonth","isThisMinute","isThisISOWeek","isThisHour","isSunday","isSaturday","isSameYear","isSameWeek","isSameSecond","isSameQuarter","isSameMonth","isSameMinute","isSameISOWeekYear","isSameISOWeek","isSameHour","isSameDay","isPast","isMonday","isMatch","isLeapYear","isLastDayOfMonth","isFuture","isFriday","isFirstDayOfMonth","isExists","isEqual","isDate","isBefore","isAfter","intlFormatDistance","intlFormat","intervalToDuration","interval","hoursToSeconds","hoursToMinutes","hoursToMilliseconds","getYear","getWeeksInMonth","getWeekYear","getWeekOfMonth","getWeek","getUnixTime","getTime","getSeconds","getQuarter","getOverlappingDaysInIntervals","getMonth","getMinutes","getMilliseconds","getISOWeeksInYear","getISOWeekYear","getISOWeek","getISODay","getHours","getDefaultOptions","getDefaultOptions2","getDecade","getDaysInYear","getDaysInMonth","getDayOfYear","getDay","getDate","fromUnixTime","formatters","formatRelative","formatRelative3","formatRFC7231","formatRFC3339","formatISODuration","formatISO9075","formatISO","formatDuration","formatDistanceToNowStrict","formatDistanceToNow","formatDistanceStrict","formatDistance","formatDistance3","formatDate","format","endOfYesterday","endOfYear","endOfWeek","endOfTomorrow","endOfToday","endOfSecond","endOfQuarter","endOfMonth","endOfMinute","endOfISOWeekYear","endOfISOWeek","endOfHour","endOfDecade","endOfDay","eachYearOfInterval","eachWeekendOfYear","eachWeekendOfMonth","eachWeekendOfInterval","eachWeekOfInterval","eachQuarterOfInterval","eachMonthOfInterval","eachMinuteOfInterval","eachHourOfInterval","eachDayOfInterval","differenceInYears","differenceInWeeks","differenceInSeconds","differenceInQuarters","differenceInMonths","differenceInMinutes","differenceInMilliseconds","differenceInISOWeekYears","differenceInHours","differenceInDays","differenceInCalendarYears","differenceInCalendarWeeks","differenceInCalendarQuarters","differenceInCalendarMonths","differenceInCalendarISOWeeks","differenceInCalendarISOWeekYears","differenceInCalendarDays","differenceInBusinessDays","daysToWeeks","constructNow","constructFrom","compareDesc","compareAsc","closestTo","closestIndexTo","clamp","areIntervalsOverlapping","addYears","addWeeks","addSeconds","addQuarters","addMonths","addMinutes","addMilliseconds","addISOWeekYears","addHours","addDays","addBusinessDays","add","daysInWeek","daysInYear","maxTime","Math","pow","minTime","millisecondsInWeek","millisecondsInDay","millisecondsInMinute","millisecondsInHour","millisecondsInSecond","minutesInYear","minutesInMonth","minutesInDay","minutesInHour","monthsInQuarter","monthsInYear","quartersInYear","secondsInHour","secondsInMinute","secondsInDay","secondsInWeek","secondsInYear","secondsInMonth","secondsInQuarter","constructFromSymbol","Symbol","for","date","value","_typeof","Date","constructor","argument","context","amount","options","_date","in","isNaN","NaN","dayOfMonth","endOfDesiredMonth","daysInMonth","setFullYear","getFullYear","duration","_duration$years","years","_duration$months","months","_duration$weeks","weeks","_duration$days","days","_duration$hours","hours","_duration$minutes","minutes","_duration$seconds","seconds","dateWithMonths","dateWithDays","minutesToAdd","secondsToAdd","msToAdd","day","startedOnWeekend","sign","fullWeeks","trunc","restDays","abs","defaultOptions","newOptions","_ref","_ref2","_ref3","_options$weekStartsOn","_options$locale","_defaultOptions3$loca","defaultOptions3","weekStartsOn","locale","diff","_objectSpread","year","fourthOfJanuaryOfNextYear","startOfNextYear","fourthOfJanuaryOfThisYear","startOfThisYear","getTimezoneOffsetInMilliseconds","utcDate","UTC","setUTCFullYear","normalizeDates","_len","arguments","length","dates","Array","_key","normalize","bind","find","map","laterDate","earlierDate","_normalizeDates","_normalizeDates2","_slicedToArray","laterDate_","earlierDate_","laterStartOfDay","earlierStartOfDay","laterTimestamp","earlierTimestamp","round","fourthOfJanuary","weekYear","setTime","intervalLeft","intervalRight","_sort","start","end","sort","a","b","_sort2","leftStartTime","leftEndTime","_sort3","_sort4","rightStartTime","rightEndTime","inclusive","result","forEach","date_","_normalizeDates3","_normalizeDates4","dateToCompare","timeToCompare","minDistance","index","distance","_normalizeDates5","apply","concat","_toConsumableArray","_normalizeDates6","_toArray","dateToCompare_","dates_","slice","undefined","dateLeft","dateRight","now","_normalizeDates7","_normalizeDates8","dateLeft_","dateRight_","prototype","toString","call","_normalizeDates9","_normalizeDates10","movingDate","_normalizeDates11","_normalizeDates12","_normalizeDates13","_normalizeDates14","startOfISOWeekLeft","startOfISOWeekRight","timestampLeft","timestampRight","_normalizeDates15","_normalizeDates16","yearsDiff","monthsDiff","quarter","_normalizeDates17","_normalizeDates18","quartersDiff","_normalizeDates19","_normalizeDates20","laterStartOfWeek","earlierStartOfWeek","_normalizeDates21","_normalizeDates22","_normalizeDates23","_normalizeDates24","compareLocalAsc","difference","isLastDayNotFull","Number","getRoundingMethod","method","number","_normalizeDates25","_normalizeDates26","roundingMethod","_normalizeDates27","_normalizeDates28","adjustedDate","isLastISOWeekYearNotFull","month","_normalizeDates29","_normalizeDates30","workingLaterDate","isLastMonthNotFull","_normalizeDates31","_normalizeDates32","partial","normalizeInterval","_normalizeDates33","_normalizeDates34","_options$step","_normalizeInterval","reversed","endTime","step","push","reverse","_options$step2","_normalizeInterval2","_options$step3","_normalizeInterval3","_options$step4","_normalizeInterval4","currentMonth","_options$step5","_normalizeInterval5","_options$step6","_normalizeInterval6","startDateWeek","endDateWeek","currentDate","_normalizeInterval7","dateInterval","weekends","_options$step7","_normalizeInterval8","decade","floor","_ref4","_ref5","_ref6","_options$weekStartsOn2","_options$locale2","_defaultOptions4$loca","defaultOptions4","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","token","count","tokenValue","replace","addSuffix","comparison","buildFormatLongFn","args","width","String","defaultWidth","formats","dateFormats","full","long","medium","short","timeFormats","dateTimeFormats","formatLong","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","_baseDate","_options","buildLocalizeFn","valuesArray","formattingValues","defaultFormattingWidth","values","argumentCallback","eraValues","narrow","abbreviated","wide","quarterValues","monthValues","dayValues","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","formattingDayPeriodValues","ordinalNumber","dirtyNumber","rem100","localize","era","dayPeriod","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","isArray","findIndex","pattern","test","findKey","valueCallback","rest","object","predicate","hasOwnProperty","array","buildMatchPatternFn","parseResult","parsePattern","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","any","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","parseInt","enUS","code","firstWeekContainsDate","dayOfYear","_ref7","_ref8","_ref9","_options$firstWeekCon","_options$locale3","_defaultOptions5$loca","defaultOptions5","firstWeekOfNextYear","firstWeekOfThisYear","_ref10","_ref11","_ref12","_options$firstWeekCon2","_options$locale4","_defaultOptions6$loca","defaultOptions6","firstWeek","addLeadingZeros","targetLength","output","padStart","y","signedYear","M","d","dayPeriodEnumValue","toUpperCase","h","H","m","s","S","numberOfDigits","fractionalSeconds","formatTimezoneShort","offset","delimiter","absOffset","formatTimezoneWithOptionalMinutes","formatTimezone","dayPeriodEnum","G","localize3","unit","Y","signedWeekYear","twoDigitYear","R","isoWeekYear","u","Q","ceil","q","L","w","week","I","isoWeek","D","E","dayOfWeek","e","localDayOfWeek","c","i","isoDayOfWeek","toLowerCase","B","K","k","X","_localize","timezoneOffset","getTimezoneOffset","x","O","z","t","timestamp","T","dateLongFormatter","formatLong3","timeLongFormatter","dateTimeLongFormatter","datePattern","timePattern","dateTimeFormat","p","P","isProtectedDayOfYearToken","dayOfYearTokenRE","isProtectedWeekYearToken","weekYearTokenRE","warnOrThrowProtectedError","input","_message","message","console","warn","throwTokens","includes","RangeError","subject","formatStr","_ref13","_options$locale5","_ref14","_ref15","_ref16","_options$firstWeekCon3","_options$locale6","_defaultOptions7$loca","_ref17","_ref18","_ref19","_options$weekStartsOn3","_options$locale7","_defaultOptions7$loca2","defaultOptions7","originalDate","parts","longFormattingTokensRegExp","substring","firstCharacter","longFormatter","join","formattingTokensRegExp","isToken","cleanEscapedString","unescapedLatinCharacterRegExp","preprocessor","formatterOptions","part","useAdditionalWeekYearTokens","useAdditionalDayOfYearTokens","formatter","matched","escapedStringRegExp","doubleQuoteRegExp","_ref20","_options$locale8","defaultOptions8","minutesInAlmostTwoDays","localizeOptions","assign","_normalizeDates35","_normalizeDates36","offsetInSeconds","includeSeconds","nearestMonth","monthsSinceStartOfYear","_ref21","_options$locale9","_options$roundingMeth","defaultOptions9","_normalizeDates37","_normalizeDates38","dstNormalizedMinutes","defaultUnit","roundedMinutes","_ref22","_options$locale10","_options$format","_options$zero","_options$delimiter","defaultOptions10","format2","defaultFormat","zero","reduce","acc","_options$format2","_options$representati","representation","tzOffset","dateDelimiter","timeDelimiter","absoluteOffset","hourOffset","minuteOffset","hour","minute","second","separator","_options$format3","_options$representati2","_duration$years2","_duration$months2","_duration$days2","_duration$hours2","_duration$minutes2","_duration$seconds2","_options$fractionDigi","fractionDigits","fractionalSecond","dayName","getUTCDay","getUTCDate","monthName","getUTCMonth","getUTCFullYear","getUTCHours","getUTCMinutes","getUTCSeconds","baseDate","_ref23","_options$locale11","_ref24","_ref25","_ref26","_options$weekStartsOn4","_options$locale12","_defaultOptions11$loc","_normalizeDates39","_normalizeDates40","baseDate_","defaultOptions11","unixTime","monthIndex","thisYear","nextYear","_sort5","_sort6","leftStart","leftEnd","_sort7","_sort8","rightStart","rightEnd","isOverlapping","overlapLeft","left","overlapRight","right","_ref27","_ref28","_ref29","_options$weekStartsOn5","_options$locale13","_defaultOptions13$loc","defaultOptions13","currentDayOfMonth","startWeekDay","lastDayOfFirstWeek","remainingDaysAfterFirstWeek","contextDate","_normalizeDates41","_normalizeDates42","_start","_end","TypeError","assertPositive","interval2","_normalizeInterval9","remainingMonths","months2","remainingDays","days2","remainingHours","remainingMinutes","remainingSeconds","formatOrLocale","localeOptions","_localeOptions","formatOptions","isFormatOptions","Intl","DateTimeFormat","opts","_normalizeDates43","_normalizeDates44","diffInSeconds","rtf","RelativeTimeFormat","numeric","leftDate","rightDate","isConstructor","_constructor$prototyp","TIMEZONE_UNIT_PRIORITY","Setter","_classCallCheck","_defineProperty","_createClass","validate","_utcDate","ValueSetter","_Setter2","_inherits","validateValue","setValue","priority","subPriority","_this","_callSuper","flags","DateTimezoneSetter","_Setter3","reference","_this2","_assertThisInitialized","timestampIsSet","Parser","run","dateString","match3","setter","_value","EraParser","_Parser","_this3","_len2","_key2","numericPatterns","hour23h","hour24h","hour11h","hour12h","singleDigit","twoDigits","threeDigits","fourDigits","anyDigitsSigned","singleDigitSigned","twoDigitsSigned","threeDigitsSigned","fourDigitsSigned","timezonePatterns","basicOptionalMinutes","basic","basicOptionalSeconds","extended","extendedOptionalSeconds","mapValue","parseFnResult","mapFn","parseNumericPattern","parseTimezonePattern","parseAnyDigitsSigned","parseNDigits","n","RegExp","parseNDigitsSigned","dayPeriodEnumToHours","normalizeTwoDigitYear","currentYear","isCommonEra","absCurrentYear","rangeEnd","rangeEndCentury","isPreviousCentury","isLeapYearIndex","YearParser","_Parser2","_this4","_len3","_key3","isTwoDigitYear","normalizedTwoDigitYear","LocalWeekYearParser","_Parser3","_this5","_len4","_key4","ISOWeekYearParser","_Parser4","_this6","_len5","_key5","_flags","firstWeekOfYear","ExtendedYearParser","_Parser5","_this7","_len6","_key6","QuarterParser","_Parser6","_this8","_len7","_key7","StandAloneQuarterParser","_Parser7","_this9","_len8","_key8","MonthParser","_Parser8","_this10","_len9","_key9","StandAloneMonthParser","_Parser9","_this11","_len10","_key10","LocalWeekParser","_Parser10","_this12","_len11","_key11","ISOWeekParser","_Parser11","_this13","_len12","_key12","DAYS_IN_MONTH","DAYS_IN_MONTH_LEAP_YEAR","DateParser","_Parser12","_this14","_len13","_key13","isLeapYear3","DayOfYearParser","_Parser13","_this15","_len14","_key14","_ref30","_ref31","_ref32","_options$weekStartsOn6","_options$locale14","_defaultOptions14$loc","defaultOptions14","currentDay","remainder","dayIndex","delta","DayParser","_Parser14","_this16","_len15","_key15","LocalDayParser","_Parser15","_this17","_len16","_key16","wholeWeekDays","StandAloneLocalDayParser","_Parser16","_this18","_len17","_key17","ISODayParser","_Parser17","_this19","_len18","_key18","AMPMParser","_Parser18","_this20","_len19","_key19","AMPMMidnightParser","_Parser19","_this21","_len20","_key20","DayPeriodParser","_Parser20","_this22","_len21","_key21","Hour1to12Parser","_Parser21","_this23","_len22","_key22","isPM","Hour0to23Parser","_Parser22","_this24","_len23","_key23","Hour0To11Parser","_Parser23","_this25","_len24","_key24","Hour1To24Parser","_Parser24","_this26","_len25","_key25","MinuteParser","_Parser25","_this27","_len26","_key26","SecondParser","_Parser26","_this28","_len27","_key27","FractionOfSecondParser","_Parser27","_this29","_len28","_key28","ISOTimezoneWithZParser","_Parser28","_this30","_len29","_key29","ISOTimezoneParser","_Parser29","_this31","_len30","_key30","TimestampSecondsParser","_Parser30","_this32","_len31","_key31","TimestampMillisecondsParser","_Parser31","_this33","_len32","_key32","dateStr","referenceDate","_ref33","_options$locale15","_ref34","_ref35","_ref36","_options$firstWeekCon4","_options$locale16","_defaultOptions14$loc2","_ref37","_ref38","_ref39","_options$weekStartsOn7","_options$locale17","_defaultOptions14$loc3","invalidDate","subFnOptions","setters","tokens","longFormattingTokensRegExp2","formattingTokensRegExp2","usedTokens","_iterator","_createForOfIteratorHelper","_step","_loop","parser","incompatibleTokens","incompatibleToken","usedToken","fullToken","v","unescapedLatinCharacterRegExp2","cleanEscapedString2","indexOf","_ret","done","err","f","notWhitespaceRegExp","uniquePrioritySetters","filter","setterArray","_iterator2","_step2","escapedStringRegExp2","doubleQuoteRegExp2","_normalizeDates45","_normalizeDates46","_normalizeDates47","_normalizeDates48","_normalizeDates49","_normalizeDates50","_normalizeDates51","_normalizeDates52","_normalizeDates53","_normalizeDates54","_normalizeDates55","_normalizeDates56","_sort9","_sort10","startTime","_ref40","_ref41","_ref42","_options$weekStartsOn8","_options$locale18","_defaultOptions15$loc","defaultOptions15","formattingTokensRegExp3","cleanEscapedString3","unescapedLatinCharacterRegExp3","matches","escapedStringRegExp3","doubleQuoteRegExp3","_ref43","totalDays","totalSeconds","milliseconds2","quarters","_options$additionalDi","additionalDigits","dateStrings","splitDateString","parseYearResult","parseYear","parseDate","restDateString","parseTime","timezone","parseTimezone","tmpDate","getUTCMilliseconds","split","patterns","dateTimeDelimiter","timeString","timeZoneDelimiter","substr","exec","regex","captures","century","dateRegex","isWeekDate","parseDateUnit","validateWeekDate","dayOfISOWeekYear","validateDate","validateDayOfYearDate","timeRegex","parseTimeUnit","validateTime","parseFloat","timezoneString","timezoneRegex","validateTimezone","fourthOfJanuaryDay","setUTCDate","isLeapYearIndex2","daysInMonths","_year","_hours","_options$nearestTo","_options$roundingMeth2","nearestTo","fractionalMinutes","fractionalMilliseconds","roundedHours","_options$nearestTo2","_options$roundingMeth3","midMonth","defaultOptions16","property","oldQuarter","_ref44","_ref45","_ref46","_options$firstWeekCon5","_options$locale19","_defaultOptions17$loc","defaultOptions17","_duration$years3","_duration$months3","_duration$weeks2","_duration$days3","_duration$hours3","_duration$minutes3","_duration$seconds3","withoutMonths","withoutDays","minutesToSub","secondsToSub","msToSub","window","dateFns"],"sources":["cdn.js"],"sourcesContent":["var __defProp = Object.defineProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, {\n get: all[name],\n enumerable: true,\n configurable: true,\n set: (newValue) => all[name] = () => newValue\n });\n};\n\n// lib/index.js\nvar exports_lib = {};\n__export(exports_lib, {\n yearsToQuarters: () => yearsToQuarters,\n yearsToMonths: () => yearsToMonths,\n yearsToDays: () => yearsToDays,\n weeksToDays: () => weeksToDays,\n transpose: () => transpose,\n toDate: () => toDate,\n subYears: () => subYears,\n subWeeks: () => subWeeks,\n subSeconds: () => subSeconds,\n subQuarters: () => subQuarters,\n subMonths: () => subMonths,\n subMinutes: () => subMinutes,\n subMilliseconds: () => subMilliseconds,\n subISOWeekYears: () => subISOWeekYears,\n subHours: () => subHours,\n subDays: () => subDays,\n subBusinessDays: () => subBusinessDays,\n sub: () => sub,\n startOfYesterday: () => startOfYesterday,\n startOfYear: () => startOfYear,\n startOfWeekYear: () => startOfWeekYear,\n startOfWeek: () => startOfWeek,\n startOfTomorrow: () => startOfTomorrow,\n startOfToday: () => startOfToday,\n startOfSecond: () => startOfSecond,\n startOfQuarter: () => startOfQuarter,\n startOfMonth: () => startOfMonth,\n startOfMinute: () => startOfMinute,\n startOfISOWeekYear: () => startOfISOWeekYear,\n startOfISOWeek: () => startOfISOWeek,\n startOfHour: () => startOfHour,\n startOfDecade: () => startOfDecade,\n startOfDay: () => startOfDay,\n setYear: () => setYear,\n setWeekYear: () => setWeekYear,\n setWeek: () => setWeek,\n setSeconds: () => setSeconds,\n setQuarter: () => setQuarter,\n setMonth: () => setMonth,\n setMinutes: () => setMinutes,\n setMilliseconds: () => setMilliseconds,\n setISOWeekYear: () => setISOWeekYear,\n setISOWeek: () => setISOWeek,\n setISODay: () => setISODay,\n setHours: () => setHours,\n setDefaultOptions: () => setDefaultOptions2,\n setDayOfYear: () => setDayOfYear,\n setDay: () => setDay,\n setDate: () => setDate,\n set: () => set,\n secondsToMinutes: () => secondsToMinutes,\n secondsToMilliseconds: () => secondsToMilliseconds,\n secondsToHours: () => secondsToHours,\n roundToNearestMinutes: () => roundToNearestMinutes,\n roundToNearestHours: () => roundToNearestHours,\n quartersToYears: () => quartersToYears,\n quartersToMonths: () => quartersToMonths,\n previousWednesday: () => previousWednesday,\n previousTuesday: () => previousTuesday,\n previousThursday: () => previousThursday,\n previousSunday: () => previousSunday,\n previousSaturday: () => previousSaturday,\n previousMonday: () => previousMonday,\n previousFriday: () => previousFriday,\n previousDay: () => previousDay,\n parsers: () => parsers,\n parseJSON: () => parseJSON,\n parseISO: () => parseISO,\n parse: () => parse,\n nextWednesday: () => nextWednesday,\n nextTuesday: () => nextTuesday,\n nextThursday: () => nextThursday,\n nextSunday: () => nextSunday,\n nextSaturday: () => nextSaturday,\n nextMonday: () => nextMonday,\n nextFriday: () => nextFriday,\n nextDay: () => nextDay,\n monthsToYears: () => monthsToYears,\n monthsToQuarters: () => monthsToQuarters,\n minutesToSeconds: () => minutesToSeconds,\n minutesToMilliseconds: () => minutesToMilliseconds,\n minutesToHours: () => minutesToHours,\n min: () => min,\n millisecondsToSeconds: () => millisecondsToSeconds,\n millisecondsToMinutes: () => millisecondsToMinutes,\n millisecondsToHours: () => millisecondsToHours,\n milliseconds: () => milliseconds,\n max: () => max,\n longFormatters: () => longFormatters,\n lightFormatters: () => lightFormatters,\n lightFormat: () => lightFormat,\n lastDayOfYear: () => lastDayOfYear,\n lastDayOfWeek: () => lastDayOfWeek,\n lastDayOfQuarter: () => lastDayOfQuarter,\n lastDayOfMonth: () => lastDayOfMonth,\n lastDayOfISOWeekYear: () => lastDayOfISOWeekYear,\n lastDayOfISOWeek: () => lastDayOfISOWeek,\n lastDayOfDecade: () => lastDayOfDecade,\n isYesterday: () => isYesterday,\n isWithinInterval: () => isWithinInterval,\n isWeekend: () => isWeekend,\n isWednesday: () => isWednesday,\n isValid: () => isValid,\n isTuesday: () => isTuesday,\n isTomorrow: () => isTomorrow,\n isToday: () => isToday,\n isThursday: () => isThursday,\n isThisYear: () => isThisYear,\n isThisWeek: () => isThisWeek,\n isThisSecond: () => isThisSecond,\n isThisQuarter: () => isThisQuarter,\n isThisMonth: () => isThisMonth,\n isThisMinute: () => isThisMinute,\n isThisISOWeek: () => isThisISOWeek,\n isThisHour: () => isThisHour,\n isSunday: () => isSunday,\n isSaturday: () => isSaturday,\n isSameYear: () => isSameYear,\n isSameWeek: () => isSameWeek,\n isSameSecond: () => isSameSecond,\n isSameQuarter: () => isSameQuarter,\n isSameMonth: () => isSameMonth,\n isSameMinute: () => isSameMinute,\n isSameISOWeekYear: () => isSameISOWeekYear,\n isSameISOWeek: () => isSameISOWeek,\n isSameHour: () => isSameHour,\n isSameDay: () => isSameDay,\n isPast: () => isPast,\n isMonday: () => isMonday,\n isMatch: () => isMatch,\n isLeapYear: () => isLeapYear,\n isLastDayOfMonth: () => isLastDayOfMonth,\n isFuture: () => isFuture,\n isFriday: () => isFriday,\n isFirstDayOfMonth: () => isFirstDayOfMonth,\n isExists: () => isExists,\n isEqual: () => isEqual,\n isDate: () => isDate,\n isBefore: () => isBefore,\n isAfter: () => isAfter,\n intlFormatDistance: () => intlFormatDistance,\n intlFormat: () => intlFormat,\n intervalToDuration: () => intervalToDuration,\n interval: () => interval,\n hoursToSeconds: () => hoursToSeconds,\n hoursToMinutes: () => hoursToMinutes,\n hoursToMilliseconds: () => hoursToMilliseconds,\n getYear: () => getYear,\n getWeeksInMonth: () => getWeeksInMonth,\n getWeekYear: () => getWeekYear,\n getWeekOfMonth: () => getWeekOfMonth,\n getWeek: () => getWeek,\n getUnixTime: () => getUnixTime,\n getTime: () => getTime,\n getSeconds: () => getSeconds,\n getQuarter: () => getQuarter,\n getOverlappingDaysInIntervals: () => getOverlappingDaysInIntervals,\n getMonth: () => getMonth,\n getMinutes: () => getMinutes,\n getMilliseconds: () => getMilliseconds,\n getISOWeeksInYear: () => getISOWeeksInYear,\n getISOWeekYear: () => getISOWeekYear,\n getISOWeek: () => getISOWeek,\n getISODay: () => getISODay,\n getHours: () => getHours,\n getDefaultOptions: () => getDefaultOptions2,\n getDecade: () => getDecade,\n getDaysInYear: () => getDaysInYear,\n getDaysInMonth: () => getDaysInMonth,\n getDayOfYear: () => getDayOfYear,\n getDay: () => getDay,\n getDate: () => getDate,\n fromUnixTime: () => fromUnixTime,\n formatters: () => formatters,\n formatRelative: () => formatRelative3,\n formatRFC7231: () => formatRFC7231,\n formatRFC3339: () => formatRFC3339,\n formatISODuration: () => formatISODuration,\n formatISO9075: () => formatISO9075,\n formatISO: () => formatISO,\n formatDuration: () => formatDuration,\n formatDistanceToNowStrict: () => formatDistanceToNowStrict,\n formatDistanceToNow: () => formatDistanceToNow,\n formatDistanceStrict: () => formatDistanceStrict,\n formatDistance: () => formatDistance3,\n formatDate: () => format,\n format: () => format,\n endOfYesterday: () => endOfYesterday,\n endOfYear: () => endOfYear,\n endOfWeek: () => endOfWeek,\n endOfTomorrow: () => endOfTomorrow,\n endOfToday: () => endOfToday,\n endOfSecond: () => endOfSecond,\n endOfQuarter: () => endOfQuarter,\n endOfMonth: () => endOfMonth,\n endOfMinute: () => endOfMinute,\n endOfISOWeekYear: () => endOfISOWeekYear,\n endOfISOWeek: () => endOfISOWeek,\n endOfHour: () => endOfHour,\n endOfDecade: () => endOfDecade,\n endOfDay: () => endOfDay,\n eachYearOfInterval: () => eachYearOfInterval,\n eachWeekendOfYear: () => eachWeekendOfYear,\n eachWeekendOfMonth: () => eachWeekendOfMonth,\n eachWeekendOfInterval: () => eachWeekendOfInterval,\n eachWeekOfInterval: () => eachWeekOfInterval,\n eachQuarterOfInterval: () => eachQuarterOfInterval,\n eachMonthOfInterval: () => eachMonthOfInterval,\n eachMinuteOfInterval: () => eachMinuteOfInterval,\n eachHourOfInterval: () => eachHourOfInterval,\n eachDayOfInterval: () => eachDayOfInterval,\n differenceInYears: () => differenceInYears,\n differenceInWeeks: () => differenceInWeeks,\n differenceInSeconds: () => differenceInSeconds,\n differenceInQuarters: () => differenceInQuarters,\n differenceInMonths: () => differenceInMonths,\n differenceInMinutes: () => differenceInMinutes,\n differenceInMilliseconds: () => differenceInMilliseconds,\n differenceInISOWeekYears: () => differenceInISOWeekYears,\n differenceInHours: () => differenceInHours,\n differenceInDays: () => differenceInDays,\n differenceInCalendarYears: () => differenceInCalendarYears,\n differenceInCalendarWeeks: () => differenceInCalendarWeeks,\n differenceInCalendarQuarters: () => differenceInCalendarQuarters,\n differenceInCalendarMonths: () => differenceInCalendarMonths,\n differenceInCalendarISOWeeks: () => differenceInCalendarISOWeeks,\n differenceInCalendarISOWeekYears: () => differenceInCalendarISOWeekYears,\n differenceInCalendarDays: () => differenceInCalendarDays,\n differenceInBusinessDays: () => differenceInBusinessDays,\n daysToWeeks: () => daysToWeeks,\n constructNow: () => constructNow,\n constructFrom: () => constructFrom,\n compareDesc: () => compareDesc,\n compareAsc: () => compareAsc,\n closestTo: () => closestTo,\n closestIndexTo: () => closestIndexTo,\n clamp: () => clamp,\n areIntervalsOverlapping: () => areIntervalsOverlapping,\n addYears: () => addYears,\n addWeeks: () => addWeeks,\n addSeconds: () => addSeconds,\n addQuarters: () => addQuarters,\n addMonths: () => addMonths,\n addMinutes: () => addMinutes,\n addMilliseconds: () => addMilliseconds,\n addISOWeekYears: () => addISOWeekYears,\n addHours: () => addHours,\n addDays: () => addDays,\n addBusinessDays: () => addBusinessDays,\n add: () => add\n});\n\n// lib/constants.js\nvar daysInWeek = 7;\nvar daysInYear = 365.2425;\nvar maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\nvar minTime = -maxTime;\nvar millisecondsInWeek = 604800000;\nvar millisecondsInDay = 86400000;\nvar millisecondsInMinute = 60000;\nvar millisecondsInHour = 3600000;\nvar millisecondsInSecond = 1000;\nvar minutesInYear = 525600;\nvar minutesInMonth = 43200;\nvar minutesInDay = 1440;\nvar minutesInHour = 60;\nvar monthsInQuarter = 3;\nvar monthsInYear = 12;\nvar quartersInYear = 4;\nvar secondsInHour = 3600;\nvar secondsInMinute = 60;\nvar secondsInDay = secondsInHour * 24;\nvar secondsInWeek = secondsInDay * 7;\nvar secondsInYear = secondsInDay * daysInYear;\nvar secondsInMonth = secondsInYear / 12;\nvar secondsInQuarter = secondsInMonth * 3;\nvar constructFromSymbol = Symbol.for(\"constructDateFrom\");\n\n// lib/constructFrom.js\nfunction constructFrom(date, value) {\n if (typeof date === \"function\")\n return date(value);\n if (date && typeof date === \"object\" && constructFromSymbol in date)\n return date[constructFromSymbol](value);\n if (date instanceof Date)\n return new date.constructor(value);\n return new Date(value);\n}\n\n// lib/toDate.js\nfunction toDate(argument, context) {\n return constructFrom(context || argument, argument);\n}\n\n// lib/addDays.js\nfunction addDays(date, amount, options) {\n const _date = toDate(date, options?.in);\n if (isNaN(amount))\n return constructFrom(options?.in || date, NaN);\n if (!amount)\n return _date;\n _date.setDate(_date.getDate() + amount);\n return _date;\n}\n\n// lib/addMonths.js\nfunction addMonths(date, amount, options) {\n const _date = toDate(date, options?.in);\n if (isNaN(amount))\n return constructFrom(options?.in || date, NaN);\n if (!amount) {\n return _date;\n }\n const dayOfMonth = _date.getDate();\n const endOfDesiredMonth = constructFrom(options?.in || date, _date.getTime());\n endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);\n const daysInMonth = endOfDesiredMonth.getDate();\n if (dayOfMonth >= daysInMonth) {\n return endOfDesiredMonth;\n } else {\n _date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth);\n return _date;\n }\n}\n\n// lib/add.js\nfunction add(date, duration, options) {\n const {\n years = 0,\n months = 0,\n weeks = 0,\n days = 0,\n hours = 0,\n minutes = 0,\n seconds = 0\n } = duration;\n const _date = toDate(date, options?.in);\n const dateWithMonths = months || years ? addMonths(_date, months + years * 12) : _date;\n const dateWithDays = days || weeks ? addDays(dateWithMonths, days + weeks * 7) : dateWithMonths;\n const minutesToAdd = minutes + hours * 60;\n const secondsToAdd = seconds + minutesToAdd * 60;\n const msToAdd = secondsToAdd * 1000;\n return constructFrom(options?.in || date, +dateWithDays + msToAdd);\n}\n// lib/isSaturday.js\nfunction isSaturday(date, options) {\n return toDate(date, options?.in).getDay() === 6;\n}\n\n// lib/isSunday.js\nfunction isSunday(date, options) {\n return toDate(date, options?.in).getDay() === 0;\n}\n\n// lib/isWeekend.js\nfunction isWeekend(date, options) {\n const day = toDate(date, options?.in).getDay();\n return day === 0 || day === 6;\n}\n\n// lib/addBusinessDays.js\nfunction addBusinessDays(date, amount, options) {\n const _date = toDate(date, options?.in);\n const startedOnWeekend = isWeekend(_date, options);\n if (isNaN(amount))\n return constructFrom(options?.in, NaN);\n const hours = _date.getHours();\n const sign = amount < 0 ? -1 : 1;\n const fullWeeks = Math.trunc(amount / 5);\n _date.setDate(_date.getDate() + fullWeeks * 7);\n let restDays = Math.abs(amount % 5);\n while (restDays > 0) {\n _date.setDate(_date.getDate() + sign);\n if (!isWeekend(_date, options))\n restDays -= 1;\n }\n if (startedOnWeekend && isWeekend(_date, options) && amount !== 0) {\n if (isSaturday(_date, options))\n _date.setDate(_date.getDate() + (sign < 0 ? 2 : -1));\n if (isSunday(_date, options))\n _date.setDate(_date.getDate() + (sign < 0 ? 1 : -2));\n }\n _date.setHours(hours);\n return _date;\n}\n// lib/addMilliseconds.js\nfunction addMilliseconds(date, amount, options) {\n return constructFrom(options?.in || date, +toDate(date) + amount);\n}\n\n// lib/addHours.js\nfunction addHours(date, amount, options) {\n return addMilliseconds(date, amount * millisecondsInHour, options);\n}\n// lib/_lib/defaultOptions.js\nfunction getDefaultOptions() {\n return defaultOptions;\n}\nfunction setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n}\nvar defaultOptions = {};\n\n// lib/startOfWeek.js\nfunction startOfWeek(date, options) {\n const defaultOptions3 = getDefaultOptions();\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions3.weekStartsOn ?? defaultOptions3.locale?.options?.weekStartsOn ?? 0;\n const _date = toDate(date, options?.in);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n _date.setDate(_date.getDate() - diff);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// lib/startOfISOWeek.js\nfunction startOfISOWeek(date, options) {\n return startOfWeek(date, { ...options, weekStartsOn: 1 });\n}\n\n// lib/getISOWeekYear.js\nfunction getISOWeekYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n const fourthOfJanuaryOfNextYear = constructFrom(_date, 0);\n fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);\n const fourthOfJanuaryOfThisYear = constructFrom(_date, 0);\n fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);\n if (_date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (_date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// lib/_lib/getTimezoneOffsetInMilliseconds.js\nfunction getTimezoneOffsetInMilliseconds(date) {\n const _date = toDate(date);\n const utcDate = new Date(Date.UTC(_date.getFullYear(), _date.getMonth(), _date.getDate(), _date.getHours(), _date.getMinutes(), _date.getSeconds(), _date.getMilliseconds()));\n utcDate.setUTCFullYear(_date.getFullYear());\n return +date - +utcDate;\n}\n\n// lib/_lib/normalizeDates.js\nfunction normalizeDates(context, ...dates) {\n const normalize = constructFrom.bind(null, context || dates.find((date) => typeof date === \"object\"));\n return dates.map(normalize);\n}\n\n// lib/startOfDay.js\nfunction startOfDay(date, options) {\n const _date = toDate(date, options?.in);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// lib/differenceInCalendarDays.js\nfunction differenceInCalendarDays(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n const laterStartOfDay = startOfDay(laterDate_);\n const earlierStartOfDay = startOfDay(earlierDate_);\n const laterTimestamp = +laterStartOfDay - getTimezoneOffsetInMilliseconds(laterStartOfDay);\n const earlierTimestamp = +earlierStartOfDay - getTimezoneOffsetInMilliseconds(earlierStartOfDay);\n return Math.round((laterTimestamp - earlierTimestamp) / millisecondsInDay);\n}\n\n// lib/startOfISOWeekYear.js\nfunction startOfISOWeekYear(date, options) {\n const year = getISOWeekYear(date, options);\n const fourthOfJanuary = constructFrom(options?.in || date, 0);\n fourthOfJanuary.setFullYear(year, 0, 4);\n fourthOfJanuary.setHours(0, 0, 0, 0);\n return startOfISOWeek(fourthOfJanuary);\n}\n\n// lib/setISOWeekYear.js\nfunction setISOWeekYear(date, weekYear, options) {\n let _date = toDate(date, options?.in);\n const diff = differenceInCalendarDays(_date, startOfISOWeekYear(_date, options));\n const fourthOfJanuary = constructFrom(options?.in || date, 0);\n fourthOfJanuary.setFullYear(weekYear, 0, 4);\n fourthOfJanuary.setHours(0, 0, 0, 0);\n _date = startOfISOWeekYear(fourthOfJanuary);\n _date.setDate(_date.getDate() + diff);\n return _date;\n}\n\n// lib/addISOWeekYears.js\nfunction addISOWeekYears(date, amount, options) {\n return setISOWeekYear(date, getISOWeekYear(date, options) + amount, options);\n}\n// lib/addMinutes.js\nfunction addMinutes(date, amount, options) {\n const _date = toDate(date, options?.in);\n _date.setTime(_date.getTime() + amount * millisecondsInMinute);\n return _date;\n}\n// lib/addQuarters.js\nfunction addQuarters(date, amount, options) {\n return addMonths(date, amount * 3, options);\n}\n// lib/addSeconds.js\nfunction addSeconds(date, amount, options) {\n return addMilliseconds(date, amount * 1000, options);\n}\n// lib/addWeeks.js\nfunction addWeeks(date, amount, options) {\n return addDays(date, amount * 7, options);\n}\n// lib/addYears.js\nfunction addYears(date, amount, options) {\n return addMonths(date, amount * 12, options);\n}\n// lib/areIntervalsOverlapping.js\nfunction areIntervalsOverlapping(intervalLeft, intervalRight, options) {\n const [leftStartTime, leftEndTime] = [\n +toDate(intervalLeft.start, options?.in),\n +toDate(intervalLeft.end, options?.in)\n ].sort((a, b) => a - b);\n const [rightStartTime, rightEndTime] = [\n +toDate(intervalRight.start, options?.in),\n +toDate(intervalRight.end, options?.in)\n ].sort((a, b) => a - b);\n if (options?.inclusive)\n return leftStartTime <= rightEndTime && rightStartTime <= leftEndTime;\n return leftStartTime < rightEndTime && rightStartTime < leftEndTime;\n}\n// lib/max.js\nfunction max(dates, options) {\n let result;\n let context = options?.in;\n dates.forEach((date) => {\n if (!context && typeof date === \"object\")\n context = constructFrom.bind(null, date);\n const date_ = toDate(date, context);\n if (!result || result < date_ || isNaN(+date_))\n result = date_;\n });\n return constructFrom(context, result || NaN);\n}\n\n// lib/min.js\nfunction min(dates, options) {\n let result;\n let context = options?.in;\n dates.forEach((date) => {\n if (!context && typeof date === \"object\")\n context = constructFrom.bind(null, date);\n const date_ = toDate(date, context);\n if (!result || result > date_ || isNaN(+date_))\n result = date_;\n });\n return constructFrom(context, result || NaN);\n}\n\n// lib/clamp.js\nfunction clamp(date, interval, options) {\n const [date_, start, end] = normalizeDates(options?.in, date, interval.start, interval.end);\n return min([max([date_, start], options), end], options);\n}\n// lib/closestIndexTo.js\nfunction closestIndexTo(dateToCompare, dates) {\n const timeToCompare = +toDate(dateToCompare);\n if (isNaN(timeToCompare))\n return NaN;\n let result;\n let minDistance;\n dates.forEach((date, index) => {\n const date_ = toDate(date);\n if (isNaN(+date_)) {\n result = NaN;\n minDistance = NaN;\n return;\n }\n const distance = Math.abs(timeToCompare - +date_);\n if (result == null || distance < minDistance) {\n result = index;\n minDistance = distance;\n }\n });\n return result;\n}\n// lib/closestTo.js\nfunction closestTo(dateToCompare, dates, options) {\n const [dateToCompare_, ...dates_] = normalizeDates(options?.in, dateToCompare, ...dates);\n const index = closestIndexTo(dateToCompare_, dates_);\n if (typeof index === \"number\" && isNaN(index))\n return constructFrom(dateToCompare_, NaN);\n if (index !== undefined)\n return dates_[index];\n}\n// lib/compareAsc.js\nfunction compareAsc(dateLeft, dateRight) {\n const diff = +toDate(dateLeft) - +toDate(dateRight);\n if (diff < 0)\n return -1;\n else if (diff > 0)\n return 1;\n return diff;\n}\n// lib/compareDesc.js\nfunction compareDesc(dateLeft, dateRight) {\n const diff = +toDate(dateLeft) - +toDate(dateRight);\n if (diff > 0)\n return -1;\n else if (diff < 0)\n return 1;\n return diff;\n}\n// lib/constructNow.js\nfunction constructNow(date) {\n return constructFrom(date, Date.now());\n}\n// lib/daysToWeeks.js\nfunction daysToWeeks(days) {\n const result = Math.trunc(days / daysInWeek);\n return result === 0 ? 0 : result;\n}\n// lib/isSameDay.js\nfunction isSameDay(laterDate, earlierDate, options) {\n const [dateLeft_, dateRight_] = normalizeDates(options?.in, laterDate, earlierDate);\n return +startOfDay(dateLeft_) === +startOfDay(dateRight_);\n}\n\n// lib/isDate.js\nfunction isDate(value) {\n return value instanceof Date || typeof value === \"object\" && Object.prototype.toString.call(value) === \"[object Date]\";\n}\n\n// lib/isValid.js\nfunction isValid(date) {\n return !(!isDate(date) && typeof date !== \"number\" || isNaN(+toDate(date)));\n}\n\n// lib/differenceInBusinessDays.js\nfunction differenceInBusinessDays(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n if (!isValid(laterDate_) || !isValid(earlierDate_))\n return NaN;\n const diff = differenceInCalendarDays(laterDate_, earlierDate_);\n const sign = diff < 0 ? -1 : 1;\n const weeks = Math.trunc(diff / 7);\n let result = weeks * 5;\n let movingDate = addDays(earlierDate_, weeks * 7);\n while (!isSameDay(laterDate_, movingDate)) {\n result += isWeekend(movingDate, options) ? 0 : sign;\n movingDate = addDays(movingDate, sign);\n }\n return result === 0 ? 0 : result;\n}\n// lib/differenceInCalendarISOWeekYears.js\nfunction differenceInCalendarISOWeekYears(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n return getISOWeekYear(laterDate_, options) - getISOWeekYear(earlierDate_, options);\n}\n// lib/differenceInCalendarISOWeeks.js\nfunction differenceInCalendarISOWeeks(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n const startOfISOWeekLeft = startOfISOWeek(laterDate_);\n const startOfISOWeekRight = startOfISOWeek(earlierDate_);\n const timestampLeft = +startOfISOWeekLeft - getTimezoneOffsetInMilliseconds(startOfISOWeekLeft);\n const timestampRight = +startOfISOWeekRight - getTimezoneOffsetInMilliseconds(startOfISOWeekRight);\n return Math.round((timestampLeft - timestampRight) / millisecondsInWeek);\n}\n// lib/differenceInCalendarMonths.js\nfunction differenceInCalendarMonths(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n const yearsDiff = laterDate_.getFullYear() - earlierDate_.getFullYear();\n const monthsDiff = laterDate_.getMonth() - earlierDate_.getMonth();\n return yearsDiff * 12 + monthsDiff;\n}\n// lib/getQuarter.js\nfunction getQuarter(date, options) {\n const _date = toDate(date, options?.in);\n const quarter = Math.trunc(_date.getMonth() / 3) + 1;\n return quarter;\n}\n\n// lib/differenceInCalendarQuarters.js\nfunction differenceInCalendarQuarters(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n const yearsDiff = laterDate_.getFullYear() - earlierDate_.getFullYear();\n const quartersDiff = getQuarter(laterDate_) - getQuarter(earlierDate_);\n return yearsDiff * 4 + quartersDiff;\n}\n// lib/differenceInCalendarWeeks.js\nfunction differenceInCalendarWeeks(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n const laterStartOfWeek = startOfWeek(laterDate_, options);\n const earlierStartOfWeek = startOfWeek(earlierDate_, options);\n const laterTimestamp = +laterStartOfWeek - getTimezoneOffsetInMilliseconds(laterStartOfWeek);\n const earlierTimestamp = +earlierStartOfWeek - getTimezoneOffsetInMilliseconds(earlierStartOfWeek);\n return Math.round((laterTimestamp - earlierTimestamp) / millisecondsInWeek);\n}\n// lib/differenceInCalendarYears.js\nfunction differenceInCalendarYears(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n return laterDate_.getFullYear() - earlierDate_.getFullYear();\n}\n// lib/differenceInDays.js\nfunction differenceInDays(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n const sign = compareLocalAsc(laterDate_, earlierDate_);\n const difference = Math.abs(differenceInCalendarDays(laterDate_, earlierDate_));\n laterDate_.setDate(laterDate_.getDate() - sign * difference);\n const isLastDayNotFull = Number(compareLocalAsc(laterDate_, earlierDate_) === -sign);\n const result = sign * (difference - isLastDayNotFull);\n return result === 0 ? 0 : result;\n}\nfunction compareLocalAsc(laterDate, earlierDate) {\n const diff = laterDate.getFullYear() - earlierDate.getFullYear() || laterDate.getMonth() - earlierDate.getMonth() || laterDate.getDate() - earlierDate.getDate() || laterDate.getHours() - earlierDate.getHours() || laterDate.getMinutes() - earlierDate.getMinutes() || laterDate.getSeconds() - earlierDate.getSeconds() || laterDate.getMilliseconds() - earlierDate.getMilliseconds();\n if (diff < 0)\n return -1;\n if (diff > 0)\n return 1;\n return diff;\n}\n// lib/_lib/getRoundingMethod.js\nfunction getRoundingMethod(method) {\n return (number) => {\n const round = method ? Math[method] : Math.trunc;\n const result = round(number);\n return result === 0 ? 0 : result;\n };\n}\n\n// lib/differenceInHours.js\nfunction differenceInHours(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n const diff = (+laterDate_ - +earlierDate_) / millisecondsInHour;\n return getRoundingMethod(options?.roundingMethod)(diff);\n}\n// lib/subISOWeekYears.js\nfunction subISOWeekYears(date, amount, options) {\n return addISOWeekYears(date, -amount, options);\n}\n\n// lib/differenceInISOWeekYears.js\nfunction differenceInISOWeekYears(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n const sign = compareAsc(laterDate_, earlierDate_);\n const diff = Math.abs(differenceInCalendarISOWeekYears(laterDate_, earlierDate_, options));\n const adjustedDate = subISOWeekYears(laterDate_, sign * diff, options);\n const isLastISOWeekYearNotFull = Number(compareAsc(adjustedDate, earlierDate_) === -sign);\n const result = sign * (diff - isLastISOWeekYearNotFull);\n return result === 0 ? 0 : result;\n}\n// lib/differenceInMilliseconds.js\nfunction differenceInMilliseconds(laterDate, earlierDate) {\n return +toDate(laterDate) - +toDate(earlierDate);\n}\n// lib/differenceInMinutes.js\nfunction differenceInMinutes(dateLeft, dateRight, options) {\n const diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInMinute;\n return getRoundingMethod(options?.roundingMethod)(diff);\n}\n// lib/endOfDay.js\nfunction endOfDay(date, options) {\n const _date = toDate(date, options?.in);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// lib/endOfMonth.js\nfunction endOfMonth(date, options) {\n const _date = toDate(date, options?.in);\n const month = _date.getMonth();\n _date.setFullYear(_date.getFullYear(), month + 1, 0);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// lib/isLastDayOfMonth.js\nfunction isLastDayOfMonth(date, options) {\n const _date = toDate(date, options?.in);\n return +endOfDay(_date, options) === +endOfMonth(_date, options);\n}\n\n// lib/differenceInMonths.js\nfunction differenceInMonths(laterDate, earlierDate, options) {\n const [laterDate_, workingLaterDate, earlierDate_] = normalizeDates(options?.in, laterDate, laterDate, earlierDate);\n const sign = compareAsc(workingLaterDate, earlierDate_);\n const difference = Math.abs(differenceInCalendarMonths(workingLaterDate, earlierDate_));\n if (difference < 1)\n return 0;\n if (workingLaterDate.getMonth() === 1 && workingLaterDate.getDate() > 27)\n workingLaterDate.setDate(30);\n workingLaterDate.setMonth(workingLaterDate.getMonth() - sign * difference);\n let isLastMonthNotFull = compareAsc(workingLaterDate, earlierDate_) === -sign;\n if (isLastDayOfMonth(laterDate_) && difference === 1 && compareAsc(laterDate_, earlierDate_) === 1) {\n isLastMonthNotFull = false;\n }\n const result = sign * (difference - +isLastMonthNotFull);\n return result === 0 ? 0 : result;\n}\n// lib/differenceInQuarters.js\nfunction differenceInQuarters(laterDate, earlierDate, options) {\n const diff = differenceInMonths(laterDate, earlierDate, options) / 3;\n return getRoundingMethod(options?.roundingMethod)(diff);\n}\n// lib/differenceInSeconds.js\nfunction differenceInSeconds(laterDate, earlierDate, options) {\n const diff = differenceInMilliseconds(laterDate, earlierDate) / 1000;\n return getRoundingMethod(options?.roundingMethod)(diff);\n}\n// lib/differenceInWeeks.js\nfunction differenceInWeeks(laterDate, earlierDate, options) {\n const diff = differenceInDays(laterDate, earlierDate, options) / 7;\n return getRoundingMethod(options?.roundingMethod)(diff);\n}\n// lib/differenceInYears.js\nfunction differenceInYears(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n const sign = compareAsc(laterDate_, earlierDate_);\n const diff = Math.abs(differenceInCalendarYears(laterDate_, earlierDate_));\n laterDate_.setFullYear(1584);\n earlierDate_.setFullYear(1584);\n const partial = compareAsc(laterDate_, earlierDate_) === -sign;\n const result = sign * (diff - +partial);\n return result === 0 ? 0 : result;\n}\n// lib/_lib/normalizeInterval.js\nfunction normalizeInterval(context, interval) {\n const [start, end] = normalizeDates(context, interval.start, interval.end);\n return { start, end };\n}\n\n// lib/eachDayOfInterval.js\nfunction eachDayOfInterval(interval, options) {\n const { start, end } = normalizeInterval(options?.in, interval);\n let reversed = +start > +end;\n const endTime = reversed ? +start : +end;\n const date = reversed ? end : start;\n date.setHours(0, 0, 0, 0);\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+date <= endTime) {\n dates.push(constructFrom(start, date));\n date.setDate(date.getDate() + step);\n date.setHours(0, 0, 0, 0);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/eachHourOfInterval.js\nfunction eachHourOfInterval(interval, options) {\n const { start, end } = normalizeInterval(options?.in, interval);\n let reversed = +start > +end;\n const endTime = reversed ? +start : +end;\n const date = reversed ? end : start;\n date.setMinutes(0, 0, 0);\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+date <= endTime) {\n dates.push(constructFrom(start, date));\n date.setHours(date.getHours() + step);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/eachMinuteOfInterval.js\nfunction eachMinuteOfInterval(interval, options) {\n const { start, end } = normalizeInterval(options?.in, interval);\n start.setSeconds(0, 0);\n let reversed = +start > +end;\n const endTime = reversed ? +start : +end;\n let date = reversed ? end : start;\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+date <= endTime) {\n dates.push(constructFrom(start, date));\n date = addMinutes(date, step);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/eachMonthOfInterval.js\nfunction eachMonthOfInterval(interval, options) {\n const { start, end } = normalizeInterval(options?.in, interval);\n let reversed = +start > +end;\n const endTime = reversed ? +start : +end;\n const date = reversed ? end : start;\n date.setHours(0, 0, 0, 0);\n date.setDate(1);\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+date <= endTime) {\n dates.push(constructFrom(start, date));\n date.setMonth(date.getMonth() + step);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/startOfQuarter.js\nfunction startOfQuarter(date, options) {\n const _date = toDate(date, options?.in);\n const currentMonth = _date.getMonth();\n const month = currentMonth - currentMonth % 3;\n _date.setMonth(month, 1);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// lib/eachQuarterOfInterval.js\nfunction eachQuarterOfInterval(interval, options) {\n const { start, end } = normalizeInterval(options?.in, interval);\n let reversed = +start > +end;\n const endTime = reversed ? +startOfQuarter(start) : +startOfQuarter(end);\n let date = reversed ? startOfQuarter(end) : startOfQuarter(start);\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+date <= endTime) {\n dates.push(constructFrom(start, date));\n date = addQuarters(date, step);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/eachWeekOfInterval.js\nfunction eachWeekOfInterval(interval, options) {\n const { start, end } = normalizeInterval(options?.in, interval);\n let reversed = +start > +end;\n const startDateWeek = reversed ? startOfWeek(end, options) : startOfWeek(start, options);\n const endDateWeek = reversed ? startOfWeek(start, options) : startOfWeek(end, options);\n startDateWeek.setHours(15);\n endDateWeek.setHours(15);\n const endTime = +endDateWeek.getTime();\n let currentDate = startDateWeek;\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+currentDate <= endTime) {\n currentDate.setHours(0);\n dates.push(constructFrom(start, currentDate));\n currentDate = addWeeks(currentDate, step);\n currentDate.setHours(15);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/eachWeekendOfInterval.js\nfunction eachWeekendOfInterval(interval, options) {\n const { start, end } = normalizeInterval(options?.in, interval);\n const dateInterval = eachDayOfInterval({ start, end }, options);\n const weekends = [];\n let index = 0;\n while (index < dateInterval.length) {\n const date = dateInterval[index++];\n if (isWeekend(date))\n weekends.push(constructFrom(start, date));\n }\n return weekends;\n}\n// lib/startOfMonth.js\nfunction startOfMonth(date, options) {\n const _date = toDate(date, options?.in);\n _date.setDate(1);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// lib/eachWeekendOfMonth.js\nfunction eachWeekendOfMonth(date, options) {\n const start = startOfMonth(date, options);\n const end = endOfMonth(date, options);\n return eachWeekendOfInterval({ start, end }, options);\n}\n// lib/endOfYear.js\nfunction endOfYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n _date.setFullYear(year + 1, 0, 0);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// lib/startOfYear.js\nfunction startOfYear(date, options) {\n const date_ = toDate(date, options?.in);\n date_.setFullYear(date_.getFullYear(), 0, 1);\n date_.setHours(0, 0, 0, 0);\n return date_;\n}\n\n// lib/eachWeekendOfYear.js\nfunction eachWeekendOfYear(date, options) {\n const start = startOfYear(date, options);\n const end = endOfYear(date, options);\n return eachWeekendOfInterval({ start, end }, options);\n}\n// lib/eachYearOfInterval.js\nfunction eachYearOfInterval(interval, options) {\n const { start, end } = normalizeInterval(options?.in, interval);\n let reversed = +start > +end;\n const endTime = reversed ? +start : +end;\n const date = reversed ? end : start;\n date.setHours(0, 0, 0, 0);\n date.setMonth(0, 1);\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+date <= endTime) {\n dates.push(constructFrom(start, date));\n date.setFullYear(date.getFullYear() + step);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/endOfDecade.js\nfunction endOfDecade(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n const decade = 9 + Math.floor(year / 10) * 10;\n _date.setFullYear(decade, 11, 31);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n// lib/endOfHour.js\nfunction endOfHour(date, options) {\n const _date = toDate(date, options?.in);\n _date.setMinutes(59, 59, 999);\n return _date;\n}\n// lib/endOfWeek.js\nfunction endOfWeek(date, options) {\n const defaultOptions4 = getDefaultOptions();\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions4.weekStartsOn ?? defaultOptions4.locale?.options?.weekStartsOn ?? 0;\n const _date = toDate(date, options?.in);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn);\n _date.setDate(_date.getDate() + diff);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// lib/endOfISOWeek.js\nfunction endOfISOWeek(date, options) {\n return endOfWeek(date, { ...options, weekStartsOn: 1 });\n}\n// lib/endOfISOWeekYear.js\nfunction endOfISOWeekYear(date, options) {\n const year = getISOWeekYear(date, options);\n const fourthOfJanuaryOfNextYear = constructFrom(options?.in || date, 0);\n fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);\n const _date = startOfISOWeek(fourthOfJanuaryOfNextYear, options);\n _date.setMilliseconds(_date.getMilliseconds() - 1);\n return _date;\n}\n// lib/endOfMinute.js\nfunction endOfMinute(date, options) {\n const _date = toDate(date, options?.in);\n _date.setSeconds(59, 999);\n return _date;\n}\n// lib/endOfQuarter.js\nfunction endOfQuarter(date, options) {\n const _date = toDate(date, options?.in);\n const currentMonth = _date.getMonth();\n const month = currentMonth - currentMonth % 3 + 3;\n _date.setMonth(month, 0);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n// lib/endOfSecond.js\nfunction endOfSecond(date, options) {\n const _date = toDate(date, options?.in);\n _date.setMilliseconds(999);\n return _date;\n}\n// lib/endOfToday.js\nfunction endOfToday(options) {\n return endOfDay(Date.now(), options);\n}\n// lib/endOfTomorrow.js\nfunction endOfTomorrow(options) {\n const now = constructNow(options?.in);\n const year = now.getFullYear();\n const month = now.getMonth();\n const day = now.getDate();\n const date = constructNow(options?.in);\n date.setFullYear(year, month, day + 1);\n date.setHours(23, 59, 59, 999);\n return options?.in ? options.in(date) : date;\n}\n// lib/endOfYesterday.js\nfunction endOfYesterday(options) {\n const now = constructNow(options?.in);\n const date = constructFrom(options?.in, 0);\n date.setFullYear(now.getFullYear(), now.getMonth(), now.getDate() - 1);\n date.setHours(23, 59, 59, 999);\n return date;\n}\n// lib/locale/en-US/_lib/formatDistance.js\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"less than a second\",\n other: \"less than {{count}} seconds\"\n },\n xSeconds: {\n one: \"1 second\",\n other: \"{{count}} seconds\"\n },\n halfAMinute: \"half a minute\",\n lessThanXMinutes: {\n one: \"less than a minute\",\n other: \"less than {{count}} minutes\"\n },\n xMinutes: {\n one: \"1 minute\",\n other: \"{{count}} minutes\"\n },\n aboutXHours: {\n one: \"about 1 hour\",\n other: \"about {{count}} hours\"\n },\n xHours: {\n one: \"1 hour\",\n other: \"{{count}} hours\"\n },\n xDays: {\n one: \"1 day\",\n other: \"{{count}} days\"\n },\n aboutXWeeks: {\n one: \"about 1 week\",\n other: \"about {{count}} weeks\"\n },\n xWeeks: {\n one: \"1 week\",\n other: \"{{count}} weeks\"\n },\n aboutXMonths: {\n one: \"about 1 month\",\n other: \"about {{count}} months\"\n },\n xMonths: {\n one: \"1 month\",\n other: \"{{count}} months\"\n },\n aboutXYears: {\n one: \"about 1 year\",\n other: \"about {{count}} years\"\n },\n xYears: {\n one: \"1 year\",\n other: \"{{count}} years\"\n },\n overXYears: {\n one: \"over 1 year\",\n other: \"over {{count}} years\"\n },\n almostXYears: {\n one: \"almost 1 year\",\n other: \"almost {{count}} years\"\n }\n};\nvar formatDistance = (token, count, options) => {\n let result;\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", count.toString());\n }\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"in \" + result;\n } else {\n return result + \" ago\";\n }\n }\n return result;\n};\n\n// lib/locale/_lib/buildFormatLongFn.js\nfunction buildFormatLongFn(args) {\n return (options = {}) => {\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n\n// lib/locale/en-US/_lib/formatLong.js\nvar dateFormats = {\n full: \"EEEE, MMMM do, y\",\n long: \"MMMM do, y\",\n medium: \"MMM d, y\",\n short: \"MM/dd/yyyy\"\n};\nvar timeFormats = {\n full: \"h:mm:ss a zzzz\",\n long: \"h:mm:ss a z\",\n medium: \"h:mm:ss a\",\n short: \"h:mm a\"\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\"\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\"\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\"\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\"\n })\n};\n\n// lib/locale/en-US/_lib/formatRelative.js\nvar formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: \"P\"\n};\nvar formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];\n\n// lib/locale/_lib/buildLocalizeFn.js\nfunction buildLocalizeFn(args) {\n return (value, options) => {\n const context = options?.context ? String(options.context) : \"standalone\";\n let valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n const width = options?.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n const defaultWidth = args.defaultWidth;\n const width = options?.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[width] || args.values[defaultWidth];\n }\n const index = args.argumentCallback ? args.argumentCallback(value) : value;\n return valuesArray[index];\n };\n}\n\n// lib/locale/en-US/_lib/localize.js\nvar eraValues = {\n narrow: [\"B\", \"A\"],\n abbreviated: [\"BC\", \"AD\"],\n wide: [\"Before Christ\", \"Anno Domini\"]\n};\nvar quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n wide: [\"1st quarter\", \"2nd quarter\", \"3rd quarter\", \"4th quarter\"]\n};\nvar monthValues = {\n narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n abbreviated: [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\"\n ],\n wide: [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n ]\n};\nvar dayValues = {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"],\n abbreviated: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n wide: [\n \"Sunday\",\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\"\n ]\n};\nvar dayPeriodValues = {\n narrow: {\n am: \"a\",\n pm: \"p\",\n midnight: \"mi\",\n noon: \"n\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\"\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\"\n },\n wide: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\"\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: \"a\",\n pm: \"p\",\n midnight: \"mi\",\n noon: \"n\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\"\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\"\n },\n wide: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\"\n }\n};\nvar ordinalNumber = (dirtyNumber, _options) => {\n const number = Number(dirtyNumber);\n const rem100 = number % 100;\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + \"st\";\n case 2:\n return number + \"nd\";\n case 3:\n return number + \"rd\";\n }\n }\n return number + \"th\";\n};\nvar localize = {\n ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\"\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\"\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\"\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\"\n })\n};\n\n// lib/locale/_lib/buildMatchFn.js\nfunction buildMatchFn(args) {\n return (string, options = {}) => {\n const width = options.width;\n const matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n const matchResult = string.match(matchPattern);\n if (!matchResult) {\n return null;\n }\n const matchedString = matchResult[0];\n const parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n const key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString)) : findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n let value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n const rest = string.slice(matchedString.length);\n return { value, rest };\n };\n}\nfunction findKey(object, predicate) {\n for (const key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {\n return key;\n }\n }\n return;\n}\nfunction findIndex(array, predicate) {\n for (let key = 0;key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return;\n}\n\n// lib/locale/_lib/buildMatchPatternFn.js\nfunction buildMatchPatternFn(args) {\n return (string, options = {}) => {\n const matchResult = string.match(args.matchPattern);\n if (!matchResult)\n return null;\n const matchedString = matchResult[0];\n const parseResult = string.match(args.parsePattern);\n if (!parseResult)\n return null;\n let value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n const rest = string.slice(matchedString.length);\n return { value, rest };\n };\n}\n\n// lib/locale/en-US/_lib/match.js\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [\n /^j/i,\n /^f/i,\n /^m/i,\n /^a/i,\n /^m/i,\n /^j/i,\n /^j/i,\n /^a/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i\n ],\n any: [\n /^ja/i,\n /^f/i,\n /^mar/i,\n /^ap/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^au/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i\n ]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value, 10)\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\"\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\"\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\"\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\"\n })\n};\n\n// lib/locale/en-US.js\nvar enUS = {\n code: \"en-US\",\n formatDistance,\n formatLong,\n formatRelative,\n localize,\n match,\n options: {\n weekStartsOn: 0,\n firstWeekContainsDate: 1\n }\n};\n// lib/getDayOfYear.js\nfunction getDayOfYear(date, options) {\n const _date = toDate(date, options?.in);\n const diff = differenceInCalendarDays(_date, startOfYear(_date));\n const dayOfYear = diff + 1;\n return dayOfYear;\n}\n\n// lib/getISOWeek.js\nfunction getISOWeek(date, options) {\n const _date = toDate(date, options?.in);\n const diff = +startOfISOWeek(_date) - +startOfISOWeekYear(_date);\n return Math.round(diff / millisecondsInWeek) + 1;\n}\n\n// lib/getWeekYear.js\nfunction getWeekYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n const defaultOptions5 = getDefaultOptions();\n const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions5.firstWeekContainsDate ?? defaultOptions5.locale?.options?.firstWeekContainsDate ?? 1;\n const firstWeekOfNextYear = constructFrom(options?.in || date, 0);\n firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfWeek(firstWeekOfNextYear, options);\n const firstWeekOfThisYear = constructFrom(options?.in || date, 0);\n firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfWeek(firstWeekOfThisYear, options);\n if (+_date >= +startOfNextYear) {\n return year + 1;\n } else if (+_date >= +startOfThisYear) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// lib/startOfWeekYear.js\nfunction startOfWeekYear(date, options) {\n const defaultOptions6 = getDefaultOptions();\n const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions6.firstWeekContainsDate ?? defaultOptions6.locale?.options?.firstWeekContainsDate ?? 1;\n const year = getWeekYear(date, options);\n const firstWeek = constructFrom(options?.in || date, 0);\n firstWeek.setFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setHours(0, 0, 0, 0);\n const _date = startOfWeek(firstWeek, options);\n return _date;\n}\n\n// lib/getWeek.js\nfunction getWeek(date, options) {\n const _date = toDate(date, options?.in);\n const diff = +startOfWeek(_date, options) - +startOfWeekYear(_date, options);\n return Math.round(diff / millisecondsInWeek) + 1;\n}\n\n// lib/_lib/addLeadingZeros.js\nfunction addLeadingZeros(number, targetLength) {\n const sign = number < 0 ? \"-\" : \"\";\n const output = Math.abs(number).toString().padStart(targetLength, \"0\");\n return sign + output;\n}\n\n// lib/_lib/format/lightFormatters.js\nvar lightFormatters = {\n y(date, token) {\n const signedYear = date.getFullYear();\n const year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === \"yy\" ? year % 100 : year, token.length);\n },\n M(date, token) {\n const month = date.getMonth();\n return token === \"M\" ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n d(date, token) {\n return addLeadingZeros(date.getDate(), token.length);\n },\n a(date, token) {\n const dayPeriodEnumValue = date.getHours() / 12 >= 1 ? \"pm\" : \"am\";\n switch (token) {\n case \"a\":\n case \"aa\":\n return dayPeriodEnumValue.toUpperCase();\n case \"aaa\":\n return dayPeriodEnumValue;\n case \"aaaaa\":\n return dayPeriodEnumValue[0];\n case \"aaaa\":\n default:\n return dayPeriodEnumValue === \"am\" ? \"a.m.\" : \"p.m.\";\n }\n },\n h(date, token) {\n return addLeadingZeros(date.getHours() % 12 || 12, token.length);\n },\n H(date, token) {\n return addLeadingZeros(date.getHours(), token.length);\n },\n m(date, token) {\n return addLeadingZeros(date.getMinutes(), token.length);\n },\n s(date, token) {\n return addLeadingZeros(date.getSeconds(), token.length);\n },\n S(date, token) {\n const numberOfDigits = token.length;\n const milliseconds = date.getMilliseconds();\n const fractionalSeconds = Math.trunc(milliseconds * Math.pow(10, numberOfDigits - 3));\n return addLeadingZeros(fractionalSeconds, token.length);\n }\n};\n\n// lib/_lib/format/formatters.js\nfunction formatTimezoneShort(offset, delimiter = \"\") {\n const sign = offset > 0 ? \"-\" : \"+\";\n const absOffset = Math.abs(offset);\n const hours = Math.trunc(absOffset / 60);\n const minutes = absOffset % 60;\n if (minutes === 0) {\n return sign + String(hours);\n }\n return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n}\nfunction formatTimezoneWithOptionalMinutes(offset, delimiter) {\n if (offset % 60 === 0) {\n const sign = offset > 0 ? \"-\" : \"+\";\n return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n }\n return formatTimezone(offset, delimiter);\n}\nfunction formatTimezone(offset, delimiter = \"\") {\n const sign = offset > 0 ? \"-\" : \"+\";\n const absOffset = Math.abs(offset);\n const hours = addLeadingZeros(Math.trunc(absOffset / 60), 2);\n const minutes = addLeadingZeros(absOffset % 60, 2);\n return sign + hours + delimiter + minutes;\n}\nvar dayPeriodEnum = {\n am: \"am\",\n pm: \"pm\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\"\n};\nvar formatters = {\n G: function(date, token, localize3) {\n const era = date.getFullYear() > 0 ? 1 : 0;\n switch (token) {\n case \"G\":\n case \"GG\":\n case \"GGG\":\n return localize3.era(era, { width: \"abbreviated\" });\n case \"GGGGG\":\n return localize3.era(era, { width: \"narrow\" });\n case \"GGGG\":\n default:\n return localize3.era(era, { width: \"wide\" });\n }\n },\n y: function(date, token, localize3) {\n if (token === \"yo\") {\n const signedYear = date.getFullYear();\n const year = signedYear > 0 ? signedYear : 1 - signedYear;\n return localize3.ordinalNumber(year, { unit: \"year\" });\n }\n return lightFormatters.y(date, token);\n },\n Y: function(date, token, localize3, options) {\n const signedWeekYear = getWeekYear(date, options);\n const weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear;\n if (token === \"YY\") {\n const twoDigitYear = weekYear % 100;\n return addLeadingZeros(twoDigitYear, 2);\n }\n if (token === \"Yo\") {\n return localize3.ordinalNumber(weekYear, { unit: \"year\" });\n }\n return addLeadingZeros(weekYear, token.length);\n },\n R: function(date, token) {\n const isoWeekYear = getISOWeekYear(date);\n return addLeadingZeros(isoWeekYear, token.length);\n },\n u: function(date, token) {\n const year = date.getFullYear();\n return addLeadingZeros(year, token.length);\n },\n Q: function(date, token, localize3) {\n const quarter = Math.ceil((date.getMonth() + 1) / 3);\n switch (token) {\n case \"Q\":\n return String(quarter);\n case \"QQ\":\n return addLeadingZeros(quarter, 2);\n case \"Qo\":\n return localize3.ordinalNumber(quarter, { unit: \"quarter\" });\n case \"QQQ\":\n return localize3.quarter(quarter, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"QQQQQ\":\n return localize3.quarter(quarter, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"QQQQ\":\n default:\n return localize3.quarter(quarter, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n q: function(date, token, localize3) {\n const quarter = Math.ceil((date.getMonth() + 1) / 3);\n switch (token) {\n case \"q\":\n return String(quarter);\n case \"qq\":\n return addLeadingZeros(quarter, 2);\n case \"qo\":\n return localize3.ordinalNumber(quarter, { unit: \"quarter\" });\n case \"qqq\":\n return localize3.quarter(quarter, {\n width: \"abbreviated\",\n context: \"standalone\"\n });\n case \"qqqqq\":\n return localize3.quarter(quarter, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"qqqq\":\n default:\n return localize3.quarter(quarter, {\n width: \"wide\",\n context: \"standalone\"\n });\n }\n },\n M: function(date, token, localize3) {\n const month = date.getMonth();\n switch (token) {\n case \"M\":\n case \"MM\":\n return lightFormatters.M(date, token);\n case \"Mo\":\n return localize3.ordinalNumber(month + 1, { unit: \"month\" });\n case \"MMM\":\n return localize3.month(month, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"MMMMM\":\n return localize3.month(month, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"MMMM\":\n default:\n return localize3.month(month, { width: \"wide\", context: \"formatting\" });\n }\n },\n L: function(date, token, localize3) {\n const month = date.getMonth();\n switch (token) {\n case \"L\":\n return String(month + 1);\n case \"LL\":\n return addLeadingZeros(month + 1, 2);\n case \"Lo\":\n return localize3.ordinalNumber(month + 1, { unit: \"month\" });\n case \"LLL\":\n return localize3.month(month, {\n width: \"abbreviated\",\n context: \"standalone\"\n });\n case \"LLLLL\":\n return localize3.month(month, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"LLLL\":\n default:\n return localize3.month(month, { width: \"wide\", context: \"standalone\" });\n }\n },\n w: function(date, token, localize3, options) {\n const week = getWeek(date, options);\n if (token === \"wo\") {\n return localize3.ordinalNumber(week, { unit: \"week\" });\n }\n return addLeadingZeros(week, token.length);\n },\n I: function(date, token, localize3) {\n const isoWeek = getISOWeek(date);\n if (token === \"Io\") {\n return localize3.ordinalNumber(isoWeek, { unit: \"week\" });\n }\n return addLeadingZeros(isoWeek, token.length);\n },\n d: function(date, token, localize3) {\n if (token === \"do\") {\n return localize3.ordinalNumber(date.getDate(), { unit: \"date\" });\n }\n return lightFormatters.d(date, token);\n },\n D: function(date, token, localize3) {\n const dayOfYear = getDayOfYear(date);\n if (token === \"Do\") {\n return localize3.ordinalNumber(dayOfYear, { unit: \"dayOfYear\" });\n }\n return addLeadingZeros(dayOfYear, token.length);\n },\n E: function(date, token, localize3) {\n const dayOfWeek = date.getDay();\n switch (token) {\n case \"E\":\n case \"EE\":\n case \"EEE\":\n return localize3.day(dayOfWeek, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"EEEEE\":\n return localize3.day(dayOfWeek, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"EEEEEE\":\n return localize3.day(dayOfWeek, {\n width: \"short\",\n context: \"formatting\"\n });\n case \"EEEE\":\n default:\n return localize3.day(dayOfWeek, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n e: function(date, token, localize3, options) {\n const dayOfWeek = date.getDay();\n const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n switch (token) {\n case \"e\":\n return String(localDayOfWeek);\n case \"ee\":\n return addLeadingZeros(localDayOfWeek, 2);\n case \"eo\":\n return localize3.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n case \"eee\":\n return localize3.day(dayOfWeek, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"eeeee\":\n return localize3.day(dayOfWeek, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"eeeeee\":\n return localize3.day(dayOfWeek, {\n width: \"short\",\n context: \"formatting\"\n });\n case \"eeee\":\n default:\n return localize3.day(dayOfWeek, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n c: function(date, token, localize3, options) {\n const dayOfWeek = date.getDay();\n const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n switch (token) {\n case \"c\":\n return String(localDayOfWeek);\n case \"cc\":\n return addLeadingZeros(localDayOfWeek, token.length);\n case \"co\":\n return localize3.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n case \"ccc\":\n return localize3.day(dayOfWeek, {\n width: \"abbreviated\",\n context: \"standalone\"\n });\n case \"ccccc\":\n return localize3.day(dayOfWeek, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"cccccc\":\n return localize3.day(dayOfWeek, {\n width: \"short\",\n context: \"standalone\"\n });\n case \"cccc\":\n default:\n return localize3.day(dayOfWeek, {\n width: \"wide\",\n context: \"standalone\"\n });\n }\n },\n i: function(date, token, localize3) {\n const dayOfWeek = date.getDay();\n const isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n switch (token) {\n case \"i\":\n return String(isoDayOfWeek);\n case \"ii\":\n return addLeadingZeros(isoDayOfWeek, token.length);\n case \"io\":\n return localize3.ordinalNumber(isoDayOfWeek, { unit: \"day\" });\n case \"iii\":\n return localize3.day(dayOfWeek, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"iiiii\":\n return localize3.day(dayOfWeek, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"iiiiii\":\n return localize3.day(dayOfWeek, {\n width: \"short\",\n context: \"formatting\"\n });\n case \"iiii\":\n default:\n return localize3.day(dayOfWeek, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n a: function(date, token, localize3) {\n const hours = date.getHours();\n const dayPeriodEnumValue = hours / 12 >= 1 ? \"pm\" : \"am\";\n switch (token) {\n case \"a\":\n case \"aa\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"aaa\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\"\n }).toLowerCase();\n case \"aaaaa\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"aaaa\":\n default:\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n b: function(date, token, localize3) {\n const hours = date.getHours();\n let dayPeriodEnumValue;\n if (hours === 12) {\n dayPeriodEnumValue = dayPeriodEnum.noon;\n } else if (hours === 0) {\n dayPeriodEnumValue = dayPeriodEnum.midnight;\n } else {\n dayPeriodEnumValue = hours / 12 >= 1 ? \"pm\" : \"am\";\n }\n switch (token) {\n case \"b\":\n case \"bb\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"bbb\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\"\n }).toLowerCase();\n case \"bbbbb\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"bbbb\":\n default:\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n B: function(date, token, localize3) {\n const hours = date.getHours();\n let dayPeriodEnumValue;\n if (hours >= 17) {\n dayPeriodEnumValue = dayPeriodEnum.evening;\n } else if (hours >= 12) {\n dayPeriodEnumValue = dayPeriodEnum.afternoon;\n } else if (hours >= 4) {\n dayPeriodEnumValue = dayPeriodEnum.morning;\n } else {\n dayPeriodEnumValue = dayPeriodEnum.night;\n }\n switch (token) {\n case \"B\":\n case \"BB\":\n case \"BBB\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"BBBBB\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"BBBB\":\n default:\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n h: function(date, token, localize3) {\n if (token === \"ho\") {\n let hours = date.getHours() % 12;\n if (hours === 0)\n hours = 12;\n return localize3.ordinalNumber(hours, { unit: \"hour\" });\n }\n return lightFormatters.h(date, token);\n },\n H: function(date, token, localize3) {\n if (token === \"Ho\") {\n return localize3.ordinalNumber(date.getHours(), { unit: \"hour\" });\n }\n return lightFormatters.H(date, token);\n },\n K: function(date, token, localize3) {\n const hours = date.getHours() % 12;\n if (token === \"Ko\") {\n return localize3.ordinalNumber(hours, { unit: \"hour\" });\n }\n return addLeadingZeros(hours, token.length);\n },\n k: function(date, token, localize3) {\n let hours = date.getHours();\n if (hours === 0)\n hours = 24;\n if (token === \"ko\") {\n return localize3.ordinalNumber(hours, { unit: \"hour\" });\n }\n return addLeadingZeros(hours, token.length);\n },\n m: function(date, token, localize3) {\n if (token === \"mo\") {\n return localize3.ordinalNumber(date.getMinutes(), { unit: \"minute\" });\n }\n return lightFormatters.m(date, token);\n },\n s: function(date, token, localize3) {\n if (token === \"so\") {\n return localize3.ordinalNumber(date.getSeconds(), { unit: \"second\" });\n }\n return lightFormatters.s(date, token);\n },\n S: function(date, token) {\n return lightFormatters.S(date, token);\n },\n X: function(date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n if (timezoneOffset === 0) {\n return \"Z\";\n }\n switch (token) {\n case \"X\":\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n case \"XXXX\":\n case \"XX\":\n return formatTimezone(timezoneOffset);\n case \"XXXXX\":\n case \"XXX\":\n default:\n return formatTimezone(timezoneOffset, \":\");\n }\n },\n x: function(date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n switch (token) {\n case \"x\":\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n case \"xxxx\":\n case \"xx\":\n return formatTimezone(timezoneOffset);\n case \"xxxxx\":\n case \"xxx\":\n default:\n return formatTimezone(timezoneOffset, \":\");\n }\n },\n O: function(date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n switch (token) {\n case \"O\":\n case \"OO\":\n case \"OOO\":\n return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n case \"OOOO\":\n default:\n return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n }\n },\n z: function(date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n switch (token) {\n case \"z\":\n case \"zz\":\n case \"zzz\":\n return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n case \"zzzz\":\n default:\n return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n }\n },\n t: function(date, token, _localize) {\n const timestamp = Math.trunc(+date / 1000);\n return addLeadingZeros(timestamp, token.length);\n },\n T: function(date, token, _localize) {\n return addLeadingZeros(+date, token.length);\n }\n};\n\n// lib/_lib/format/longFormatters.js\nvar dateLongFormatter = (pattern, formatLong3) => {\n switch (pattern) {\n case \"P\":\n return formatLong3.date({ width: \"short\" });\n case \"PP\":\n return formatLong3.date({ width: \"medium\" });\n case \"PPP\":\n return formatLong3.date({ width: \"long\" });\n case \"PPPP\":\n default:\n return formatLong3.date({ width: \"full\" });\n }\n};\nvar timeLongFormatter = (pattern, formatLong3) => {\n switch (pattern) {\n case \"p\":\n return formatLong3.time({ width: \"short\" });\n case \"pp\":\n return formatLong3.time({ width: \"medium\" });\n case \"ppp\":\n return formatLong3.time({ width: \"long\" });\n case \"pppp\":\n default:\n return formatLong3.time({ width: \"full\" });\n }\n};\nvar dateTimeLongFormatter = (pattern, formatLong3) => {\n const matchResult = pattern.match(/(P+)(p+)?/) || [];\n const datePattern = matchResult[1];\n const timePattern = matchResult[2];\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong3);\n }\n let dateTimeFormat;\n switch (datePattern) {\n case \"P\":\n dateTimeFormat = formatLong3.dateTime({ width: \"short\" });\n break;\n case \"PP\":\n dateTimeFormat = formatLong3.dateTime({ width: \"medium\" });\n break;\n case \"PPP\":\n dateTimeFormat = formatLong3.dateTime({ width: \"long\" });\n break;\n case \"PPPP\":\n default:\n dateTimeFormat = formatLong3.dateTime({ width: \"full\" });\n break;\n }\n return dateTimeFormat.replace(\"{{date}}\", dateLongFormatter(datePattern, formatLong3)).replace(\"{{time}}\", timeLongFormatter(timePattern, formatLong3));\n};\nvar longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter\n};\n\n// lib/_lib/protectedTokens.js\nfunction isProtectedDayOfYearToken(token) {\n return dayOfYearTokenRE.test(token);\n}\nfunction isProtectedWeekYearToken(token) {\n return weekYearTokenRE.test(token);\n}\nfunction warnOrThrowProtectedError(token, format, input) {\n const _message = message(token, format, input);\n console.warn(_message);\n if (throwTokens.includes(token))\n throw new RangeError(_message);\n}\nfunction message(token, format, input) {\n const subject = token[0] === \"Y\" ? \"years\" : \"days of the month\";\n return `Use \\`${token.toLowerCase()}\\` instead of \\`${token}\\` (in \\`${format}\\`) for formatting ${subject} to the input \\`${input}\\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;\n}\nvar dayOfYearTokenRE = /^D+$/;\nvar weekYearTokenRE = /^Y+$/;\nvar throwTokens = [\"D\", \"DD\", \"YY\", \"YYYY\"];\n\n// lib/format.js\nfunction format(date, formatStr, options) {\n const defaultOptions7 = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions7.locale ?? enUS;\n const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions7.firstWeekContainsDate ?? defaultOptions7.locale?.options?.firstWeekContainsDate ?? 1;\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions7.weekStartsOn ?? defaultOptions7.locale?.options?.weekStartsOn ?? 0;\n const originalDate = toDate(date, options?.in);\n if (!isValid(originalDate)) {\n throw new RangeError(\"Invalid time value\");\n }\n let parts = formatStr.match(longFormattingTokensRegExp).map((substring) => {\n const firstCharacter = substring[0];\n if (firstCharacter === \"p\" || firstCharacter === \"P\") {\n const longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong);\n }\n return substring;\n }).join(\"\").match(formattingTokensRegExp).map((substring) => {\n if (substring === \"''\") {\n return { isToken: false, value: \"'\" };\n }\n const firstCharacter = substring[0];\n if (firstCharacter === \"'\") {\n return { isToken: false, value: cleanEscapedString(substring) };\n }\n if (formatters[firstCharacter]) {\n return { isToken: true, value: substring };\n }\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError(\"Format string contains an unescaped latin alphabet character `\" + firstCharacter + \"`\");\n }\n return { isToken: false, value: substring };\n });\n if (locale.localize.preprocessor) {\n parts = locale.localize.preprocessor(originalDate, parts);\n }\n const formatterOptions = {\n firstWeekContainsDate,\n weekStartsOn,\n locale\n };\n return parts.map((part) => {\n if (!part.isToken)\n return part.value;\n const token = part.value;\n if (!options?.useAdditionalWeekYearTokens && isProtectedWeekYearToken(token) || !options?.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(token)) {\n warnOrThrowProtectedError(token, formatStr, String(date));\n }\n const formatter = formatters[token[0]];\n return formatter(originalDate, token, locale.localize, formatterOptions);\n }).join(\"\");\n}\nfunction cleanEscapedString(input) {\n const matched = input.match(escapedStringRegExp);\n if (!matched) {\n return input;\n }\n return matched[1].replace(doubleQuoteRegExp, \"'\");\n}\nvar formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\nvar longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp = /''/g;\nvar unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n// lib/formatDistance.js\nfunction formatDistance3(laterDate, earlierDate, options) {\n const defaultOptions8 = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions8.locale ?? enUS;\n const minutesInAlmostTwoDays = 2520;\n const comparison = compareAsc(laterDate, earlierDate);\n if (isNaN(comparison))\n throw new RangeError(\"Invalid time value\");\n const localizeOptions = Object.assign({}, options, {\n addSuffix: options?.addSuffix,\n comparison\n });\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, ...comparison > 0 ? [earlierDate, laterDate] : [laterDate, earlierDate]);\n const seconds = differenceInSeconds(earlierDate_, laterDate_);\n const offsetInSeconds = (getTimezoneOffsetInMilliseconds(earlierDate_) - getTimezoneOffsetInMilliseconds(laterDate_)) / 1000;\n const minutes = Math.round((seconds - offsetInSeconds) / 60);\n let months;\n if (minutes < 2) {\n if (options?.includeSeconds) {\n if (seconds < 5) {\n return locale.formatDistance(\"lessThanXSeconds\", 5, localizeOptions);\n } else if (seconds < 10) {\n return locale.formatDistance(\"lessThanXSeconds\", 10, localizeOptions);\n } else if (seconds < 20) {\n return locale.formatDistance(\"lessThanXSeconds\", 20, localizeOptions);\n } else if (seconds < 40) {\n return locale.formatDistance(\"halfAMinute\", 0, localizeOptions);\n } else if (seconds < 60) {\n return locale.formatDistance(\"lessThanXMinutes\", 1, localizeOptions);\n } else {\n return locale.formatDistance(\"xMinutes\", 1, localizeOptions);\n }\n } else {\n if (minutes === 0) {\n return locale.formatDistance(\"lessThanXMinutes\", 1, localizeOptions);\n } else {\n return locale.formatDistance(\"xMinutes\", minutes, localizeOptions);\n }\n }\n } else if (minutes < 45) {\n return locale.formatDistance(\"xMinutes\", minutes, localizeOptions);\n } else if (minutes < 90) {\n return locale.formatDistance(\"aboutXHours\", 1, localizeOptions);\n } else if (minutes < minutesInDay) {\n const hours = Math.round(minutes / 60);\n return locale.formatDistance(\"aboutXHours\", hours, localizeOptions);\n } else if (minutes < minutesInAlmostTwoDays) {\n return locale.formatDistance(\"xDays\", 1, localizeOptions);\n } else if (minutes < minutesInMonth) {\n const days = Math.round(minutes / minutesInDay);\n return locale.formatDistance(\"xDays\", days, localizeOptions);\n } else if (minutes < minutesInMonth * 2) {\n months = Math.round(minutes / minutesInMonth);\n return locale.formatDistance(\"aboutXMonths\", months, localizeOptions);\n }\n months = differenceInMonths(earlierDate_, laterDate_);\n if (months < 12) {\n const nearestMonth = Math.round(minutes / minutesInMonth);\n return locale.formatDistance(\"xMonths\", nearestMonth, localizeOptions);\n } else {\n const monthsSinceStartOfYear = months % 12;\n const years = Math.trunc(months / 12);\n if (monthsSinceStartOfYear < 3) {\n return locale.formatDistance(\"aboutXYears\", years, localizeOptions);\n } else if (monthsSinceStartOfYear < 9) {\n return locale.formatDistance(\"overXYears\", years, localizeOptions);\n } else {\n return locale.formatDistance(\"almostXYears\", years + 1, localizeOptions);\n }\n }\n}\n// lib/formatDistanceStrict.js\nfunction formatDistanceStrict(laterDate, earlierDate, options) {\n const defaultOptions9 = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions9.locale ?? enUS;\n const comparison = compareAsc(laterDate, earlierDate);\n if (isNaN(comparison)) {\n throw new RangeError(\"Invalid time value\");\n }\n const localizeOptions = Object.assign({}, options, {\n addSuffix: options?.addSuffix,\n comparison\n });\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, ...comparison > 0 ? [earlierDate, laterDate] : [laterDate, earlierDate]);\n const roundingMethod = getRoundingMethod(options?.roundingMethod ?? \"round\");\n const milliseconds = earlierDate_.getTime() - laterDate_.getTime();\n const minutes = milliseconds / millisecondsInMinute;\n const timezoneOffset = getTimezoneOffsetInMilliseconds(earlierDate_) - getTimezoneOffsetInMilliseconds(laterDate_);\n const dstNormalizedMinutes = (milliseconds - timezoneOffset) / millisecondsInMinute;\n const defaultUnit = options?.unit;\n let unit;\n if (!defaultUnit) {\n if (minutes < 1) {\n unit = \"second\";\n } else if (minutes < 60) {\n unit = \"minute\";\n } else if (minutes < minutesInDay) {\n unit = \"hour\";\n } else if (dstNormalizedMinutes < minutesInMonth) {\n unit = \"day\";\n } else if (dstNormalizedMinutes < minutesInYear) {\n unit = \"month\";\n } else {\n unit = \"year\";\n }\n } else {\n unit = defaultUnit;\n }\n if (unit === \"second\") {\n const seconds = roundingMethod(milliseconds / 1000);\n return locale.formatDistance(\"xSeconds\", seconds, localizeOptions);\n } else if (unit === \"minute\") {\n const roundedMinutes = roundingMethod(minutes);\n return locale.formatDistance(\"xMinutes\", roundedMinutes, localizeOptions);\n } else if (unit === \"hour\") {\n const hours = roundingMethod(minutes / 60);\n return locale.formatDistance(\"xHours\", hours, localizeOptions);\n } else if (unit === \"day\") {\n const days = roundingMethod(dstNormalizedMinutes / minutesInDay);\n return locale.formatDistance(\"xDays\", days, localizeOptions);\n } else if (unit === \"month\") {\n const months = roundingMethod(dstNormalizedMinutes / minutesInMonth);\n return months === 12 && defaultUnit !== \"month\" ? locale.formatDistance(\"xYears\", 1, localizeOptions) : locale.formatDistance(\"xMonths\", months, localizeOptions);\n } else {\n const years = roundingMethod(dstNormalizedMinutes / minutesInYear);\n return locale.formatDistance(\"xYears\", years, localizeOptions);\n }\n}\n// lib/formatDistanceToNow.js\nfunction formatDistanceToNow(date, options) {\n return formatDistance3(date, constructNow(date), options);\n}\n// lib/formatDistanceToNowStrict.js\nfunction formatDistanceToNowStrict(date, options) {\n return formatDistanceStrict(date, constructNow(date), options);\n}\n// lib/formatDuration.js\nfunction formatDuration(duration, options) {\n const defaultOptions10 = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions10.locale ?? enUS;\n const format2 = options?.format ?? defaultFormat;\n const zero = options?.zero ?? false;\n const delimiter = options?.delimiter ?? \" \";\n if (!locale.formatDistance) {\n return \"\";\n }\n const result = format2.reduce((acc, unit) => {\n const token = `x${unit.replace(/(^.)/, (m) => m.toUpperCase())}`;\n const value = duration[unit];\n if (value !== undefined && (zero || duration[unit])) {\n return acc.concat(locale.formatDistance(token, value));\n }\n return acc;\n }, []).join(delimiter);\n return result;\n}\nvar defaultFormat = [\n \"years\",\n \"months\",\n \"weeks\",\n \"days\",\n \"hours\",\n \"minutes\",\n \"seconds\"\n];\n// lib/formatISO.js\nfunction formatISO(date, options) {\n const date_ = toDate(date, options?.in);\n if (isNaN(+date_)) {\n throw new RangeError(\"Invalid time value\");\n }\n const format2 = options?.format ?? \"extended\";\n const representation = options?.representation ?? \"complete\";\n let result = \"\";\n let tzOffset = \"\";\n const dateDelimiter = format2 === \"extended\" ? \"-\" : \"\";\n const timeDelimiter = format2 === \"extended\" ? \":\" : \"\";\n if (representation !== \"time\") {\n const day = addLeadingZeros(date_.getDate(), 2);\n const month = addLeadingZeros(date_.getMonth() + 1, 2);\n const year = addLeadingZeros(date_.getFullYear(), 4);\n result = `${year}${dateDelimiter}${month}${dateDelimiter}${day}`;\n }\n if (representation !== \"date\") {\n const offset = date_.getTimezoneOffset();\n if (offset !== 0) {\n const absoluteOffset = Math.abs(offset);\n const hourOffset = addLeadingZeros(Math.trunc(absoluteOffset / 60), 2);\n const minuteOffset = addLeadingZeros(absoluteOffset % 60, 2);\n const sign = offset < 0 ? \"+\" : \"-\";\n tzOffset = `${sign}${hourOffset}:${minuteOffset}`;\n } else {\n tzOffset = \"Z\";\n }\n const hour = addLeadingZeros(date_.getHours(), 2);\n const minute = addLeadingZeros(date_.getMinutes(), 2);\n const second = addLeadingZeros(date_.getSeconds(), 2);\n const separator = result === \"\" ? \"\" : \"T\";\n const time = [hour, minute, second].join(timeDelimiter);\n result = `${result}${separator}${time}${tzOffset}`;\n }\n return result;\n}\n// lib/formatISO9075.js\nfunction formatISO9075(date, options) {\n const date_ = toDate(date, options?.in);\n if (!isValid(date_)) {\n throw new RangeError(\"Invalid time value\");\n }\n const format2 = options?.format ?? \"extended\";\n const representation = options?.representation ?? \"complete\";\n let result = \"\";\n const dateDelimiter = format2 === \"extended\" ? \"-\" : \"\";\n const timeDelimiter = format2 === \"extended\" ? \":\" : \"\";\n if (representation !== \"time\") {\n const day = addLeadingZeros(date_.getDate(), 2);\n const month = addLeadingZeros(date_.getMonth() + 1, 2);\n const year = addLeadingZeros(date_.getFullYear(), 4);\n result = `${year}${dateDelimiter}${month}${dateDelimiter}${day}`;\n }\n if (representation !== \"date\") {\n const hour = addLeadingZeros(date_.getHours(), 2);\n const minute = addLeadingZeros(date_.getMinutes(), 2);\n const second = addLeadingZeros(date_.getSeconds(), 2);\n const separator = result === \"\" ? \"\" : \" \";\n result = `${result}${separator}${hour}${timeDelimiter}${minute}${timeDelimiter}${second}`;\n }\n return result;\n}\n// lib/formatISODuration.js\nfunction formatISODuration(duration) {\n const {\n years = 0,\n months = 0,\n days = 0,\n hours = 0,\n minutes = 0,\n seconds = 0\n } = duration;\n return `P${years}Y${months}M${days}DT${hours}H${minutes}M${seconds}S`;\n}\n// lib/formatRFC3339.js\nfunction formatRFC3339(date, options) {\n const date_ = toDate(date, options?.in);\n if (!isValid(date_)) {\n throw new RangeError(\"Invalid time value\");\n }\n const fractionDigits = options?.fractionDigits ?? 0;\n const day = addLeadingZeros(date_.getDate(), 2);\n const month = addLeadingZeros(date_.getMonth() + 1, 2);\n const year = date_.getFullYear();\n const hour = addLeadingZeros(date_.getHours(), 2);\n const minute = addLeadingZeros(date_.getMinutes(), 2);\n const second = addLeadingZeros(date_.getSeconds(), 2);\n let fractionalSecond = \"\";\n if (fractionDigits > 0) {\n const milliseconds = date_.getMilliseconds();\n const fractionalSeconds = Math.trunc(milliseconds * Math.pow(10, fractionDigits - 3));\n fractionalSecond = \".\" + addLeadingZeros(fractionalSeconds, fractionDigits);\n }\n let offset = \"\";\n const tzOffset = date_.getTimezoneOffset();\n if (tzOffset !== 0) {\n const absoluteOffset = Math.abs(tzOffset);\n const hourOffset = addLeadingZeros(Math.trunc(absoluteOffset / 60), 2);\n const minuteOffset = addLeadingZeros(absoluteOffset % 60, 2);\n const sign = tzOffset < 0 ? \"+\" : \"-\";\n offset = `${sign}${hourOffset}:${minuteOffset}`;\n } else {\n offset = \"Z\";\n }\n return `${year}-${month}-${day}T${hour}:${minute}:${second}${fractionalSecond}${offset}`;\n}\n// lib/formatRFC7231.js\nfunction formatRFC7231(date) {\n const _date = toDate(date);\n if (!isValid(_date)) {\n throw new RangeError(\"Invalid time value\");\n }\n const dayName = days[_date.getUTCDay()];\n const dayOfMonth = addLeadingZeros(_date.getUTCDate(), 2);\n const monthName = months[_date.getUTCMonth()];\n const year = _date.getUTCFullYear();\n const hour = addLeadingZeros(_date.getUTCHours(), 2);\n const minute = addLeadingZeros(_date.getUTCMinutes(), 2);\n const second = addLeadingZeros(_date.getUTCSeconds(), 2);\n return `${dayName}, ${dayOfMonth} ${monthName} ${year} ${hour}:${minute}:${second} GMT`;\n}\nvar days = [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"];\nvar months = [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\"\n];\n// lib/formatRelative.js\nfunction formatRelative3(date, baseDate, options) {\n const [date_, baseDate_] = normalizeDates(options?.in, date, baseDate);\n const defaultOptions11 = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions11.locale ?? enUS;\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions11.weekStartsOn ?? defaultOptions11.locale?.options?.weekStartsOn ?? 0;\n const diff = differenceInCalendarDays(date_, baseDate_);\n if (isNaN(diff)) {\n throw new RangeError(\"Invalid time value\");\n }\n let token;\n if (diff < -6) {\n token = \"other\";\n } else if (diff < -1) {\n token = \"lastWeek\";\n } else if (diff < 0) {\n token = \"yesterday\";\n } else if (diff < 1) {\n token = \"today\";\n } else if (diff < 2) {\n token = \"tomorrow\";\n } else if (diff < 7) {\n token = \"nextWeek\";\n } else {\n token = \"other\";\n }\n const formatStr = locale.formatRelative(token, date_, baseDate_, {\n locale,\n weekStartsOn\n });\n return format(date_, formatStr, { locale, weekStartsOn });\n}\n// lib/fromUnixTime.js\nfunction fromUnixTime(unixTime, options) {\n return toDate(unixTime * 1000, options?.in);\n}\n// lib/getDate.js\nfunction getDate(date, options) {\n return toDate(date, options?.in).getDate();\n}\n// lib/getDay.js\nfunction getDay(date, options) {\n return toDate(date, options?.in).getDay();\n}\n// lib/getDaysInMonth.js\nfunction getDaysInMonth(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n const monthIndex = _date.getMonth();\n const lastDayOfMonth = constructFrom(_date, 0);\n lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);\n lastDayOfMonth.setHours(0, 0, 0, 0);\n return lastDayOfMonth.getDate();\n}\n// lib/isLeapYear.js\nfunction isLeapYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\n\n// lib/getDaysInYear.js\nfunction getDaysInYear(date, options) {\n const _date = toDate(date, options?.in);\n if (Number.isNaN(+_date))\n return NaN;\n return isLeapYear(_date) ? 366 : 365;\n}\n// lib/getDecade.js\nfunction getDecade(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n const decade = Math.floor(year / 10) * 10;\n return decade;\n}\n// lib/getDefaultOptions.js\nfunction getDefaultOptions2() {\n return Object.assign({}, getDefaultOptions());\n}\n// lib/getHours.js\nfunction getHours(date, options) {\n return toDate(date, options?.in).getHours();\n}\n// lib/getISODay.js\nfunction getISODay(date, options) {\n const day = toDate(date, options?.in).getDay();\n return day === 0 ? 7 : day;\n}\n// lib/getISOWeeksInYear.js\nfunction getISOWeeksInYear(date, options) {\n const thisYear = startOfISOWeekYear(date, options);\n const nextYear = startOfISOWeekYear(addWeeks(thisYear, 60));\n const diff = +nextYear - +thisYear;\n return Math.round(diff / millisecondsInWeek);\n}\n// lib/getMilliseconds.js\nfunction getMilliseconds(date) {\n return toDate(date).getMilliseconds();\n}\n// lib/getMinutes.js\nfunction getMinutes(date, options) {\n return toDate(date, options?.in).getMinutes();\n}\n// lib/getMonth.js\nfunction getMonth(date, options) {\n return toDate(date, options?.in).getMonth();\n}\n// lib/getOverlappingDaysInIntervals.js\nfunction getOverlappingDaysInIntervals(intervalLeft, intervalRight) {\n const [leftStart, leftEnd] = [\n +toDate(intervalLeft.start),\n +toDate(intervalLeft.end)\n ].sort((a, b) => a - b);\n const [rightStart, rightEnd] = [\n +toDate(intervalRight.start),\n +toDate(intervalRight.end)\n ].sort((a, b) => a - b);\n const isOverlapping = leftStart < rightEnd && rightStart < leftEnd;\n if (!isOverlapping)\n return 0;\n const overlapLeft = rightStart < leftStart ? leftStart : rightStart;\n const left = overlapLeft - getTimezoneOffsetInMilliseconds(overlapLeft);\n const overlapRight = rightEnd > leftEnd ? leftEnd : rightEnd;\n const right = overlapRight - getTimezoneOffsetInMilliseconds(overlapRight);\n return Math.ceil((right - left) / millisecondsInDay);\n}\n// lib/getSeconds.js\nfunction getSeconds(date) {\n return toDate(date).getSeconds();\n}\n// lib/getTime.js\nfunction getTime(date) {\n return +toDate(date);\n}\n// lib/getUnixTime.js\nfunction getUnixTime(date) {\n return Math.trunc(+toDate(date) / 1000);\n}\n// lib/getWeekOfMonth.js\nfunction getWeekOfMonth(date, options) {\n const defaultOptions13 = getDefaultOptions();\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions13.weekStartsOn ?? defaultOptions13.locale?.options?.weekStartsOn ?? 0;\n const currentDayOfMonth = getDate(toDate(date, options?.in));\n if (isNaN(currentDayOfMonth))\n return NaN;\n const startWeekDay = getDay(startOfMonth(date, options));\n let lastDayOfFirstWeek = weekStartsOn - startWeekDay;\n if (lastDayOfFirstWeek <= 0)\n lastDayOfFirstWeek += 7;\n const remainingDaysAfterFirstWeek = currentDayOfMonth - lastDayOfFirstWeek;\n return Math.ceil(remainingDaysAfterFirstWeek / 7) + 1;\n}\n// lib/lastDayOfMonth.js\nfunction lastDayOfMonth(date, options) {\n const _date = toDate(date, options?.in);\n const month = _date.getMonth();\n _date.setFullYear(_date.getFullYear(), month + 1, 0);\n _date.setHours(0, 0, 0, 0);\n return toDate(_date, options?.in);\n}\n\n// lib/getWeeksInMonth.js\nfunction getWeeksInMonth(date, options) {\n const contextDate = toDate(date, options?.in);\n return differenceInCalendarWeeks(lastDayOfMonth(contextDate, options), startOfMonth(contextDate, options), options) + 1;\n}\n// lib/getYear.js\nfunction getYear(date, options) {\n return toDate(date, options?.in).getFullYear();\n}\n// lib/hoursToMilliseconds.js\nfunction hoursToMilliseconds(hours) {\n return Math.trunc(hours * millisecondsInHour);\n}\n// lib/hoursToMinutes.js\nfunction hoursToMinutes(hours) {\n return Math.trunc(hours * minutesInHour);\n}\n// lib/hoursToSeconds.js\nfunction hoursToSeconds(hours) {\n return Math.trunc(hours * secondsInHour);\n}\n// lib/interval.js\nfunction interval(start, end, options) {\n const [_start, _end] = normalizeDates(options?.in, start, end);\n if (isNaN(+_start))\n throw new TypeError(\"Start date is invalid\");\n if (isNaN(+_end))\n throw new TypeError(\"End date is invalid\");\n if (options?.assertPositive && +_start > +_end)\n throw new TypeError(\"End date must be after start date\");\n return { start: _start, end: _end };\n}\n// lib/intervalToDuration.js\nfunction intervalToDuration(interval2, options) {\n const { start, end } = normalizeInterval(options?.in, interval2);\n const duration = {};\n const years = differenceInYears(end, start);\n if (years)\n duration.years = years;\n const remainingMonths = add(start, { years: duration.years });\n const months2 = differenceInMonths(end, remainingMonths);\n if (months2)\n duration.months = months2;\n const remainingDays = add(remainingMonths, { months: duration.months });\n const days2 = differenceInDays(end, remainingDays);\n if (days2)\n duration.days = days2;\n const remainingHours = add(remainingDays, { days: duration.days });\n const hours = differenceInHours(end, remainingHours);\n if (hours)\n duration.hours = hours;\n const remainingMinutes = add(remainingHours, { hours: duration.hours });\n const minutes = differenceInMinutes(end, remainingMinutes);\n if (minutes)\n duration.minutes = minutes;\n const remainingSeconds = add(remainingMinutes, { minutes: duration.minutes });\n const seconds = differenceInSeconds(end, remainingSeconds);\n if (seconds)\n duration.seconds = seconds;\n return duration;\n}\n// lib/intlFormat.js\nfunction intlFormat(date, formatOrLocale, localeOptions) {\n let formatOptions;\n if (isFormatOptions(formatOrLocale)) {\n formatOptions = formatOrLocale;\n } else {\n localeOptions = formatOrLocale;\n }\n return new Intl.DateTimeFormat(localeOptions?.locale, formatOptions).format(toDate(date));\n}\nfunction isFormatOptions(opts) {\n return opts !== undefined && !(\"locale\" in opts);\n}\n// lib/intlFormatDistance.js\nfunction intlFormatDistance(laterDate, earlierDate, options) {\n let value = 0;\n let unit;\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n if (!options?.unit) {\n const diffInSeconds = differenceInSeconds(laterDate_, earlierDate_);\n if (Math.abs(diffInSeconds) < secondsInMinute) {\n value = differenceInSeconds(laterDate_, earlierDate_);\n unit = \"second\";\n } else if (Math.abs(diffInSeconds) < secondsInHour) {\n value = differenceInMinutes(laterDate_, earlierDate_);\n unit = \"minute\";\n } else if (Math.abs(diffInSeconds) < secondsInDay && Math.abs(differenceInCalendarDays(laterDate_, earlierDate_)) < 1) {\n value = differenceInHours(laterDate_, earlierDate_);\n unit = \"hour\";\n } else if (Math.abs(diffInSeconds) < secondsInWeek && (value = differenceInCalendarDays(laterDate_, earlierDate_)) && Math.abs(value) < 7) {\n unit = \"day\";\n } else if (Math.abs(diffInSeconds) < secondsInMonth) {\n value = differenceInCalendarWeeks(laterDate_, earlierDate_);\n unit = \"week\";\n } else if (Math.abs(diffInSeconds) < secondsInQuarter) {\n value = differenceInCalendarMonths(laterDate_, earlierDate_);\n unit = \"month\";\n } else if (Math.abs(diffInSeconds) < secondsInYear) {\n if (differenceInCalendarQuarters(laterDate_, earlierDate_) < 4) {\n value = differenceInCalendarQuarters(laterDate_, earlierDate_);\n unit = \"quarter\";\n } else {\n value = differenceInCalendarYears(laterDate_, earlierDate_);\n unit = \"year\";\n }\n } else {\n value = differenceInCalendarYears(laterDate_, earlierDate_);\n unit = \"year\";\n }\n } else {\n unit = options?.unit;\n if (unit === \"second\") {\n value = differenceInSeconds(laterDate_, earlierDate_);\n } else if (unit === \"minute\") {\n value = differenceInMinutes(laterDate_, earlierDate_);\n } else if (unit === \"hour\") {\n value = differenceInHours(laterDate_, earlierDate_);\n } else if (unit === \"day\") {\n value = differenceInCalendarDays(laterDate_, earlierDate_);\n } else if (unit === \"week\") {\n value = differenceInCalendarWeeks(laterDate_, earlierDate_);\n } else if (unit === \"month\") {\n value = differenceInCalendarMonths(laterDate_, earlierDate_);\n } else if (unit === \"quarter\") {\n value = differenceInCalendarQuarters(laterDate_, earlierDate_);\n } else if (unit === \"year\") {\n value = differenceInCalendarYears(laterDate_, earlierDate_);\n }\n }\n const rtf = new Intl.RelativeTimeFormat(options?.locale, {\n numeric: \"auto\",\n ...options\n });\n return rtf.format(value, unit);\n}\n// lib/isAfter.js\nfunction isAfter(date, dateToCompare) {\n return +toDate(date) > +toDate(dateToCompare);\n}\n// lib/isBefore.js\nfunction isBefore(date, dateToCompare) {\n return +toDate(date) < +toDate(dateToCompare);\n}\n// lib/isEqual.js\nfunction isEqual(leftDate, rightDate) {\n return +toDate(leftDate) === +toDate(rightDate);\n}\n// lib/isExists.js\nfunction isExists(year, month, day) {\n const date = new Date(year, month, day);\n return date.getFullYear() === year && date.getMonth() === month && date.getDate() === day;\n}\n// lib/isFirstDayOfMonth.js\nfunction isFirstDayOfMonth(date, options) {\n return toDate(date, options?.in).getDate() === 1;\n}\n// lib/isFriday.js\nfunction isFriday(date, options) {\n return toDate(date, options?.in).getDay() === 5;\n}\n// lib/isFuture.js\nfunction isFuture(date) {\n return +toDate(date) > Date.now();\n}\n// lib/transpose.js\nfunction transpose(date, constructor) {\n const date_ = isConstructor(constructor) ? new constructor(0) : constructFrom(constructor, 0);\n date_.setFullYear(date.getFullYear(), date.getMonth(), date.getDate());\n date_.setHours(date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());\n return date_;\n}\nfunction isConstructor(constructor) {\n return typeof constructor === \"function\" && constructor.prototype?.constructor === constructor;\n}\n\n// lib/parse/_lib/Setter.js\nvar TIMEZONE_UNIT_PRIORITY = 10;\n\nclass Setter {\n subPriority = 0;\n validate(_utcDate, _options) {\n return true;\n }\n}\n\nclass ValueSetter extends Setter {\n constructor(value, validateValue, setValue, priority, subPriority) {\n super();\n this.value = value;\n this.validateValue = validateValue;\n this.setValue = setValue;\n this.priority = priority;\n if (subPriority) {\n this.subPriority = subPriority;\n }\n }\n validate(date, options) {\n return this.validateValue(date, this.value, options);\n }\n set(date, flags, options) {\n return this.setValue(date, flags, this.value, options);\n }\n}\n\nclass DateTimezoneSetter extends Setter {\n priority = TIMEZONE_UNIT_PRIORITY;\n subPriority = -1;\n constructor(context, reference) {\n super();\n this.context = context || ((date) => constructFrom(reference, date));\n }\n set(date, flags) {\n if (flags.timestampIsSet)\n return date;\n return constructFrom(date, transpose(date, this.context));\n }\n}\n\n// lib/parse/_lib/Parser.js\nclass Parser {\n run(dateString, token, match3, options) {\n const result = this.parse(dateString, token, match3, options);\n if (!result) {\n return null;\n }\n return {\n setter: new ValueSetter(result.value, this.validate, this.set, this.priority, this.subPriority),\n rest: result.rest\n };\n }\n validate(_utcDate, _value, _options) {\n return true;\n }\n}\n\n// lib/parse/_lib/parsers/EraParser.js\nclass EraParser extends Parser {\n priority = 140;\n parse(dateString, token, match3) {\n switch (token) {\n case \"G\":\n case \"GG\":\n case \"GGG\":\n return match3.era(dateString, { width: \"abbreviated\" }) || match3.era(dateString, { width: \"narrow\" });\n case \"GGGGG\":\n return match3.era(dateString, { width: \"narrow\" });\n case \"GGGG\":\n default:\n return match3.era(dateString, { width: \"wide\" }) || match3.era(dateString, { width: \"abbreviated\" }) || match3.era(dateString, { width: \"narrow\" });\n }\n }\n set(date, flags, value) {\n flags.era = value;\n date.setFullYear(value, 0, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"R\", \"u\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/constants.js\nvar numericPatterns = {\n month: /^(1[0-2]|0?\\d)/,\n date: /^(3[0-1]|[0-2]?\\d)/,\n dayOfYear: /^(36[0-6]|3[0-5]\\d|[0-2]?\\d?\\d)/,\n week: /^(5[0-3]|[0-4]?\\d)/,\n hour23h: /^(2[0-3]|[0-1]?\\d)/,\n hour24h: /^(2[0-4]|[0-1]?\\d)/,\n hour11h: /^(1[0-1]|0?\\d)/,\n hour12h: /^(1[0-2]|0?\\d)/,\n minute: /^[0-5]?\\d/,\n second: /^[0-5]?\\d/,\n singleDigit: /^\\d/,\n twoDigits: /^\\d{1,2}/,\n threeDigits: /^\\d{1,3}/,\n fourDigits: /^\\d{1,4}/,\n anyDigitsSigned: /^-?\\d+/,\n singleDigitSigned: /^-?\\d/,\n twoDigitsSigned: /^-?\\d{1,2}/,\n threeDigitsSigned: /^-?\\d{1,3}/,\n fourDigitsSigned: /^-?\\d{1,4}/\n};\nvar timezonePatterns = {\n basicOptionalMinutes: /^([+-])(\\d{2})(\\d{2})?|Z/,\n basic: /^([+-])(\\d{2})(\\d{2})|Z/,\n basicOptionalSeconds: /^([+-])(\\d{2})(\\d{2})((\\d{2}))?|Z/,\n extended: /^([+-])(\\d{2}):(\\d{2})|Z/,\n extendedOptionalSeconds: /^([+-])(\\d{2}):(\\d{2})(:(\\d{2}))?|Z/\n};\n\n// lib/parse/_lib/utils.js\nfunction mapValue(parseFnResult, mapFn) {\n if (!parseFnResult) {\n return parseFnResult;\n }\n return {\n value: mapFn(parseFnResult.value),\n rest: parseFnResult.rest\n };\n}\nfunction parseNumericPattern(pattern, dateString) {\n const matchResult = dateString.match(pattern);\n if (!matchResult) {\n return null;\n }\n return {\n value: parseInt(matchResult[0], 10),\n rest: dateString.slice(matchResult[0].length)\n };\n}\nfunction parseTimezonePattern(pattern, dateString) {\n const matchResult = dateString.match(pattern);\n if (!matchResult) {\n return null;\n }\n if (matchResult[0] === \"Z\") {\n return {\n value: 0,\n rest: dateString.slice(1)\n };\n }\n const sign = matchResult[1] === \"+\" ? 1 : -1;\n const hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;\n const minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;\n const seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;\n return {\n value: sign * (hours * millisecondsInHour + minutes * millisecondsInMinute + seconds * millisecondsInSecond),\n rest: dateString.slice(matchResult[0].length)\n };\n}\nfunction parseAnyDigitsSigned(dateString) {\n return parseNumericPattern(numericPatterns.anyDigitsSigned, dateString);\n}\nfunction parseNDigits(n, dateString) {\n switch (n) {\n case 1:\n return parseNumericPattern(numericPatterns.singleDigit, dateString);\n case 2:\n return parseNumericPattern(numericPatterns.twoDigits, dateString);\n case 3:\n return parseNumericPattern(numericPatterns.threeDigits, dateString);\n case 4:\n return parseNumericPattern(numericPatterns.fourDigits, dateString);\n default:\n return parseNumericPattern(new RegExp(\"^\\\\d{1,\" + n + \"}\"), dateString);\n }\n}\nfunction parseNDigitsSigned(n, dateString) {\n switch (n) {\n case 1:\n return parseNumericPattern(numericPatterns.singleDigitSigned, dateString);\n case 2:\n return parseNumericPattern(numericPatterns.twoDigitsSigned, dateString);\n case 3:\n return parseNumericPattern(numericPatterns.threeDigitsSigned, dateString);\n case 4:\n return parseNumericPattern(numericPatterns.fourDigitsSigned, dateString);\n default:\n return parseNumericPattern(new RegExp(\"^-?\\\\d{1,\" + n + \"}\"), dateString);\n }\n}\nfunction dayPeriodEnumToHours(dayPeriod) {\n switch (dayPeriod) {\n case \"morning\":\n return 4;\n case \"evening\":\n return 17;\n case \"pm\":\n case \"noon\":\n case \"afternoon\":\n return 12;\n case \"am\":\n case \"midnight\":\n case \"night\":\n default:\n return 0;\n }\n}\nfunction normalizeTwoDigitYear(twoDigitYear, currentYear) {\n const isCommonEra = currentYear > 0;\n const absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;\n let result;\n if (absCurrentYear <= 50) {\n result = twoDigitYear || 100;\n } else {\n const rangeEnd = absCurrentYear + 50;\n const rangeEndCentury = Math.trunc(rangeEnd / 100) * 100;\n const isPreviousCentury = twoDigitYear >= rangeEnd % 100;\n result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);\n }\n return isCommonEra ? result : 1 - result;\n}\nfunction isLeapYearIndex(year) {\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\n\n// lib/parse/_lib/parsers/YearParser.js\nclass YearParser extends Parser {\n priority = 130;\n incompatibleTokens = [\"Y\", \"R\", \"u\", \"w\", \"I\", \"i\", \"e\", \"c\", \"t\", \"T\"];\n parse(dateString, token, match3) {\n const valueCallback = (year) => ({\n year,\n isTwoDigitYear: token === \"yy\"\n });\n switch (token) {\n case \"y\":\n return mapValue(parseNDigits(4, dateString), valueCallback);\n case \"yo\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"year\"\n }), valueCallback);\n default:\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n }\n }\n validate(_date, value) {\n return value.isTwoDigitYear || value.year > 0;\n }\n set(date, flags, value) {\n const currentYear = date.getFullYear();\n if (value.isTwoDigitYear) {\n const normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);\n date.setFullYear(normalizedTwoDigitYear, 0, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n const year = !(\"era\" in flags) || flags.era === 1 ? value.year : 1 - value.year;\n date.setFullYear(year, 0, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n}\n\n// lib/parse/_lib/parsers/LocalWeekYearParser.js\nclass LocalWeekYearParser extends Parser {\n priority = 130;\n parse(dateString, token, match3) {\n const valueCallback = (year) => ({\n year,\n isTwoDigitYear: token === \"YY\"\n });\n switch (token) {\n case \"Y\":\n return mapValue(parseNDigits(4, dateString), valueCallback);\n case \"Yo\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"year\"\n }), valueCallback);\n default:\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n }\n }\n validate(_date, value) {\n return value.isTwoDigitYear || value.year > 0;\n }\n set(date, flags, value, options) {\n const currentYear = getWeekYear(date, options);\n if (value.isTwoDigitYear) {\n const normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);\n date.setFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);\n date.setHours(0, 0, 0, 0);\n return startOfWeek(date, options);\n }\n const year = !(\"era\" in flags) || flags.era === 1 ? value.year : 1 - value.year;\n date.setFullYear(year, 0, options.firstWeekContainsDate);\n date.setHours(0, 0, 0, 0);\n return startOfWeek(date, options);\n }\n incompatibleTokens = [\n \"y\",\n \"R\",\n \"u\",\n \"Q\",\n \"q\",\n \"M\",\n \"L\",\n \"I\",\n \"d\",\n \"D\",\n \"i\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/ISOWeekYearParser.js\nclass ISOWeekYearParser extends Parser {\n priority = 130;\n parse(dateString, token) {\n if (token === \"R\") {\n return parseNDigitsSigned(4, dateString);\n }\n return parseNDigitsSigned(token.length, dateString);\n }\n set(date, _flags, value) {\n const firstWeekOfYear = constructFrom(date, 0);\n firstWeekOfYear.setFullYear(value, 0, 4);\n firstWeekOfYear.setHours(0, 0, 0, 0);\n return startOfISOWeek(firstWeekOfYear);\n }\n incompatibleTokens = [\n \"G\",\n \"y\",\n \"Y\",\n \"u\",\n \"Q\",\n \"q\",\n \"M\",\n \"L\",\n \"w\",\n \"d\",\n \"D\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/ExtendedYearParser.js\nclass ExtendedYearParser extends Parser {\n priority = 130;\n parse(dateString, token) {\n if (token === \"u\") {\n return parseNDigitsSigned(4, dateString);\n }\n return parseNDigitsSigned(token.length, dateString);\n }\n set(date, _flags, value) {\n date.setFullYear(value, 0, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"G\", \"y\", \"Y\", \"R\", \"w\", \"I\", \"i\", \"e\", \"c\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/QuarterParser.js\nclass QuarterParser extends Parser {\n priority = 120;\n parse(dateString, token, match3) {\n switch (token) {\n case \"Q\":\n case \"QQ\":\n return parseNDigits(token.length, dateString);\n case \"Qo\":\n return match3.ordinalNumber(dateString, { unit: \"quarter\" });\n case \"QQQ\":\n return match3.quarter(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.quarter(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"QQQQQ\":\n return match3.quarter(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"QQQQ\":\n default:\n return match3.quarter(dateString, {\n width: \"wide\",\n context: \"formatting\"\n }) || match3.quarter(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.quarter(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 4;\n }\n set(date, _flags, value) {\n date.setMonth((value - 1) * 3, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"q\",\n \"M\",\n \"L\",\n \"w\",\n \"I\",\n \"d\",\n \"D\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/StandAloneQuarterParser.js\nclass StandAloneQuarterParser extends Parser {\n priority = 120;\n parse(dateString, token, match3) {\n switch (token) {\n case \"q\":\n case \"qq\":\n return parseNDigits(token.length, dateString);\n case \"qo\":\n return match3.ordinalNumber(dateString, { unit: \"quarter\" });\n case \"qqq\":\n return match3.quarter(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.quarter(dateString, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"qqqqq\":\n return match3.quarter(dateString, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"qqqq\":\n default:\n return match3.quarter(dateString, {\n width: \"wide\",\n context: \"standalone\"\n }) || match3.quarter(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.quarter(dateString, {\n width: \"narrow\",\n context: \"standalone\"\n });\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 4;\n }\n set(date, _flags, value) {\n date.setMonth((value - 1) * 3, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"Q\",\n \"M\",\n \"L\",\n \"w\",\n \"I\",\n \"d\",\n \"D\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/MonthParser.js\nclass MonthParser extends Parser {\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"q\",\n \"Q\",\n \"L\",\n \"w\",\n \"I\",\n \"D\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n priority = 110;\n parse(dateString, token, match3) {\n const valueCallback = (value) => value - 1;\n switch (token) {\n case \"M\":\n return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback);\n case \"MM\":\n return mapValue(parseNDigits(2, dateString), valueCallback);\n case \"Mo\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"month\"\n }), valueCallback);\n case \"MMM\":\n return match3.month(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.month(dateString, { width: \"narrow\", context: \"formatting\" });\n case \"MMMMM\":\n return match3.month(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"MMMM\":\n default:\n return match3.month(dateString, { width: \"wide\", context: \"formatting\" }) || match3.month(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.month(dateString, { width: \"narrow\", context: \"formatting\" });\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 11;\n }\n set(date, _flags, value) {\n date.setMonth(value, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n}\n\n// lib/parse/_lib/parsers/StandAloneMonthParser.js\nclass StandAloneMonthParser extends Parser {\n priority = 110;\n parse(dateString, token, match3) {\n const valueCallback = (value) => value - 1;\n switch (token) {\n case \"L\":\n return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback);\n case \"LL\":\n return mapValue(parseNDigits(2, dateString), valueCallback);\n case \"Lo\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"month\"\n }), valueCallback);\n case \"LLL\":\n return match3.month(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.month(dateString, { width: \"narrow\", context: \"standalone\" });\n case \"LLLLL\":\n return match3.month(dateString, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"LLLL\":\n default:\n return match3.month(dateString, { width: \"wide\", context: \"standalone\" }) || match3.month(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.month(dateString, { width: \"narrow\", context: \"standalone\" });\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 11;\n }\n set(date, _flags, value) {\n date.setMonth(value, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"q\",\n \"Q\",\n \"M\",\n \"w\",\n \"I\",\n \"D\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/setWeek.js\nfunction setWeek(date, week, options) {\n const date_ = toDate(date, options?.in);\n const diff = getWeek(date_, options) - week;\n date_.setDate(date_.getDate() - diff * 7);\n return toDate(date_, options?.in);\n}\n\n// lib/parse/_lib/parsers/LocalWeekParser.js\nclass LocalWeekParser extends Parser {\n priority = 100;\n parse(dateString, token, match3) {\n switch (token) {\n case \"w\":\n return parseNumericPattern(numericPatterns.week, dateString);\n case \"wo\":\n return match3.ordinalNumber(dateString, { unit: \"week\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 53;\n }\n set(date, _flags, value, options) {\n return startOfWeek(setWeek(date, value, options), options);\n }\n incompatibleTokens = [\n \"y\",\n \"R\",\n \"u\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"I\",\n \"d\",\n \"D\",\n \"i\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/setISOWeek.js\nfunction setISOWeek(date, week, options) {\n const _date = toDate(date, options?.in);\n const diff = getISOWeek(_date, options) - week;\n _date.setDate(_date.getDate() - diff * 7);\n return _date;\n}\n\n// lib/parse/_lib/parsers/ISOWeekParser.js\nclass ISOWeekParser extends Parser {\n priority = 100;\n parse(dateString, token, match3) {\n switch (token) {\n case \"I\":\n return parseNumericPattern(numericPatterns.week, dateString);\n case \"Io\":\n return match3.ordinalNumber(dateString, { unit: \"week\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 53;\n }\n set(date, _flags, value) {\n return startOfISOWeek(setISOWeek(date, value));\n }\n incompatibleTokens = [\n \"y\",\n \"Y\",\n \"u\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"w\",\n \"d\",\n \"D\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/DateParser.js\nvar DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nvar DAYS_IN_MONTH_LEAP_YEAR = [\n 31,\n 29,\n 31,\n 30,\n 31,\n 30,\n 31,\n 31,\n 30,\n 31,\n 30,\n 31\n];\n\nclass DateParser extends Parser {\n priority = 90;\n subPriority = 1;\n parse(dateString, token, match3) {\n switch (token) {\n case \"d\":\n return parseNumericPattern(numericPatterns.date, dateString);\n case \"do\":\n return match3.ordinalNumber(dateString, { unit: \"date\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(date, value) {\n const year = date.getFullYear();\n const isLeapYear3 = isLeapYearIndex(year);\n const month = date.getMonth();\n if (isLeapYear3) {\n return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];\n } else {\n return value >= 1 && value <= DAYS_IN_MONTH[month];\n }\n }\n set(date, _flags, value) {\n date.setDate(value);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"q\",\n \"Q\",\n \"w\",\n \"I\",\n \"D\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/DayOfYearParser.js\nclass DayOfYearParser extends Parser {\n priority = 90;\n subpriority = 1;\n parse(dateString, token, match3) {\n switch (token) {\n case \"D\":\n case \"DD\":\n return parseNumericPattern(numericPatterns.dayOfYear, dateString);\n case \"Do\":\n return match3.ordinalNumber(dateString, { unit: \"date\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(date, value) {\n const year = date.getFullYear();\n const isLeapYear3 = isLeapYearIndex(year);\n if (isLeapYear3) {\n return value >= 1 && value <= 366;\n } else {\n return value >= 1 && value <= 365;\n }\n }\n set(date, _flags, value) {\n date.setMonth(0, value);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"w\",\n \"I\",\n \"d\",\n \"E\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/setDay.js\nfunction setDay(date, day, options) {\n const defaultOptions14 = getDefaultOptions();\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions14.weekStartsOn ?? defaultOptions14.locale?.options?.weekStartsOn ?? 0;\n const date_ = toDate(date, options?.in);\n const currentDay = date_.getDay();\n const remainder = day % 7;\n const dayIndex = (remainder + 7) % 7;\n const delta = 7 - weekStartsOn;\n const diff = day < 0 || day > 6 ? day - (currentDay + delta) % 7 : (dayIndex + delta) % 7 - (currentDay + delta) % 7;\n return addDays(date_, diff, options);\n}\n\n// lib/parse/_lib/parsers/DayParser.js\nclass DayParser extends Parser {\n priority = 90;\n parse(dateString, token, match3) {\n switch (token) {\n case \"E\":\n case \"EE\":\n case \"EEE\":\n return match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n case \"EEEEE\":\n return match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"EEEEEE\":\n return match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n case \"EEEE\":\n default:\n return match3.day(dateString, { width: \"wide\", context: \"formatting\" }) || match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 6;\n }\n set(date, _flags, value, options) {\n date = setDay(date, value, options);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"D\", \"i\", \"e\", \"c\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/LocalDayParser.js\nclass LocalDayParser extends Parser {\n priority = 90;\n parse(dateString, token, match3, options) {\n const valueCallback = (value) => {\n const wholeWeekDays = Math.floor((value - 1) / 7) * 7;\n return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;\n };\n switch (token) {\n case \"e\":\n case \"ee\":\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n case \"eo\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"day\"\n }), valueCallback);\n case \"eee\":\n return match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n case \"eeeee\":\n return match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"eeeeee\":\n return match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n case \"eeee\":\n default:\n return match3.day(dateString, { width: \"wide\", context: \"formatting\" }) || match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 6;\n }\n set(date, _flags, value, options) {\n date = setDay(date, value, options);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"y\",\n \"R\",\n \"u\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"I\",\n \"d\",\n \"D\",\n \"E\",\n \"i\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/StandAloneLocalDayParser.js\nclass StandAloneLocalDayParser extends Parser {\n priority = 90;\n parse(dateString, token, match3, options) {\n const valueCallback = (value) => {\n const wholeWeekDays = Math.floor((value - 1) / 7) * 7;\n return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;\n };\n switch (token) {\n case \"c\":\n case \"cc\":\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n case \"co\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"day\"\n }), valueCallback);\n case \"ccc\":\n return match3.day(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.day(dateString, { width: \"short\", context: \"standalone\" }) || match3.day(dateString, { width: \"narrow\", context: \"standalone\" });\n case \"ccccc\":\n return match3.day(dateString, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"cccccc\":\n return match3.day(dateString, { width: \"short\", context: \"standalone\" }) || match3.day(dateString, { width: \"narrow\", context: \"standalone\" });\n case \"cccc\":\n default:\n return match3.day(dateString, { width: \"wide\", context: \"standalone\" }) || match3.day(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.day(dateString, { width: \"short\", context: \"standalone\" }) || match3.day(dateString, { width: \"narrow\", context: \"standalone\" });\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 6;\n }\n set(date, _flags, value, options) {\n date = setDay(date, value, options);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"y\",\n \"R\",\n \"u\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"I\",\n \"d\",\n \"D\",\n \"E\",\n \"i\",\n \"e\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/setISODay.js\nfunction setISODay(date, day, options) {\n const date_ = toDate(date, options?.in);\n const currentDay = getISODay(date_, options);\n const diff = day - currentDay;\n return addDays(date_, diff, options);\n}\n\n// lib/parse/_lib/parsers/ISODayParser.js\nclass ISODayParser extends Parser {\n priority = 90;\n parse(dateString, token, match3) {\n const valueCallback = (value) => {\n if (value === 0) {\n return 7;\n }\n return value;\n };\n switch (token) {\n case \"i\":\n case \"ii\":\n return parseNDigits(token.length, dateString);\n case \"io\":\n return match3.ordinalNumber(dateString, { unit: \"day\" });\n case \"iii\":\n return mapValue(match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"short\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n }), valueCallback);\n case \"iiiii\":\n return mapValue(match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n }), valueCallback);\n case \"iiiiii\":\n return mapValue(match3.day(dateString, {\n width: \"short\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n }), valueCallback);\n case \"iiii\":\n default:\n return mapValue(match3.day(dateString, {\n width: \"wide\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"short\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n }), valueCallback);\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 7;\n }\n set(date, _flags, value) {\n date = setISODay(date, value);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"y\",\n \"Y\",\n \"u\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"w\",\n \"d\",\n \"D\",\n \"E\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/AMPMParser.js\nclass AMPMParser extends Parser {\n priority = 80;\n parse(dateString, token, match3) {\n switch (token) {\n case \"a\":\n case \"aa\":\n case \"aaa\":\n return match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"aaaaa\":\n return match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"aaaa\":\n default:\n return match3.dayPeriod(dateString, {\n width: \"wide\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n }\n }\n set(date, _flags, value) {\n date.setHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"b\", \"B\", \"H\", \"k\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/AMPMMidnightParser.js\nclass AMPMMidnightParser extends Parser {\n priority = 80;\n parse(dateString, token, match3) {\n switch (token) {\n case \"b\":\n case \"bb\":\n case \"bbb\":\n return match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"bbbbb\":\n return match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"bbbb\":\n default:\n return match3.dayPeriod(dateString, {\n width: \"wide\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n }\n }\n set(date, _flags, value) {\n date.setHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"a\", \"B\", \"H\", \"k\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/DayPeriodParser.js\nclass DayPeriodParser extends Parser {\n priority = 80;\n parse(dateString, token, match3) {\n switch (token) {\n case \"B\":\n case \"BB\":\n case \"BBB\":\n return match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"BBBBB\":\n return match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"BBBB\":\n default:\n return match3.dayPeriod(dateString, {\n width: \"wide\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n }\n }\n set(date, _flags, value) {\n date.setHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"a\", \"b\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/Hour1to12Parser.js\nclass Hour1to12Parser extends Parser {\n priority = 70;\n parse(dateString, token, match3) {\n switch (token) {\n case \"h\":\n return parseNumericPattern(numericPatterns.hour12h, dateString);\n case \"ho\":\n return match3.ordinalNumber(dateString, { unit: \"hour\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 12;\n }\n set(date, _flags, value) {\n const isPM = date.getHours() >= 12;\n if (isPM && value < 12) {\n date.setHours(value + 12, 0, 0, 0);\n } else if (!isPM && value === 12) {\n date.setHours(0, 0, 0, 0);\n } else {\n date.setHours(value, 0, 0, 0);\n }\n return date;\n }\n incompatibleTokens = [\"H\", \"K\", \"k\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/Hour0to23Parser.js\nclass Hour0to23Parser extends Parser {\n priority = 70;\n parse(dateString, token, match3) {\n switch (token) {\n case \"H\":\n return parseNumericPattern(numericPatterns.hour23h, dateString);\n case \"Ho\":\n return match3.ordinalNumber(dateString, { unit: \"hour\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 23;\n }\n set(date, _flags, value) {\n date.setHours(value, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"a\", \"b\", \"h\", \"K\", \"k\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/Hour0To11Parser.js\nclass Hour0To11Parser extends Parser {\n priority = 70;\n parse(dateString, token, match3) {\n switch (token) {\n case \"K\":\n return parseNumericPattern(numericPatterns.hour11h, dateString);\n case \"Ko\":\n return match3.ordinalNumber(dateString, { unit: \"hour\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 11;\n }\n set(date, _flags, value) {\n const isPM = date.getHours() >= 12;\n if (isPM && value < 12) {\n date.setHours(value + 12, 0, 0, 0);\n } else {\n date.setHours(value, 0, 0, 0);\n }\n return date;\n }\n incompatibleTokens = [\"h\", \"H\", \"k\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/Hour1To24Parser.js\nclass Hour1To24Parser extends Parser {\n priority = 70;\n parse(dateString, token, match3) {\n switch (token) {\n case \"k\":\n return parseNumericPattern(numericPatterns.hour24h, dateString);\n case \"ko\":\n return match3.ordinalNumber(dateString, { unit: \"hour\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 24;\n }\n set(date, _flags, value) {\n const hours = value <= 24 ? value % 24 : value;\n date.setHours(hours, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"a\", \"b\", \"h\", \"H\", \"K\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/MinuteParser.js\nclass MinuteParser extends Parser {\n priority = 60;\n parse(dateString, token, match3) {\n switch (token) {\n case \"m\":\n return parseNumericPattern(numericPatterns.minute, dateString);\n case \"mo\":\n return match3.ordinalNumber(dateString, { unit: \"minute\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 59;\n }\n set(date, _flags, value) {\n date.setMinutes(value, 0, 0);\n return date;\n }\n incompatibleTokens = [\"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/SecondParser.js\nclass SecondParser extends Parser {\n priority = 50;\n parse(dateString, token, match3) {\n switch (token) {\n case \"s\":\n return parseNumericPattern(numericPatterns.second, dateString);\n case \"so\":\n return match3.ordinalNumber(dateString, { unit: \"second\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 59;\n }\n set(date, _flags, value) {\n date.setSeconds(value, 0);\n return date;\n }\n incompatibleTokens = [\"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/FractionOfSecondParser.js\nclass FractionOfSecondParser extends Parser {\n priority = 30;\n parse(dateString, token) {\n const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n }\n set(date, _flags, value) {\n date.setMilliseconds(value);\n return date;\n }\n incompatibleTokens = [\"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/ISOTimezoneWithZParser.js\nclass ISOTimezoneWithZParser extends Parser {\n priority = 10;\n parse(dateString, token) {\n switch (token) {\n case \"X\":\n return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString);\n case \"XX\":\n return parseTimezonePattern(timezonePatterns.basic, dateString);\n case \"XXXX\":\n return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString);\n case \"XXXXX\":\n return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString);\n case \"XXX\":\n default:\n return parseTimezonePattern(timezonePatterns.extended, dateString);\n }\n }\n set(date, flags, value) {\n if (flags.timestampIsSet)\n return date;\n return constructFrom(date, date.getTime() - getTimezoneOffsetInMilliseconds(date) - value);\n }\n incompatibleTokens = [\"t\", \"T\", \"x\"];\n}\n\n// lib/parse/_lib/parsers/ISOTimezoneParser.js\nclass ISOTimezoneParser extends Parser {\n priority = 10;\n parse(dateString, token) {\n switch (token) {\n case \"x\":\n return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString);\n case \"xx\":\n return parseTimezonePattern(timezonePatterns.basic, dateString);\n case \"xxxx\":\n return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString);\n case \"xxxxx\":\n return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString);\n case \"xxx\":\n default:\n return parseTimezonePattern(timezonePatterns.extended, dateString);\n }\n }\n set(date, flags, value) {\n if (flags.timestampIsSet)\n return date;\n return constructFrom(date, date.getTime() - getTimezoneOffsetInMilliseconds(date) - value);\n }\n incompatibleTokens = [\"t\", \"T\", \"X\"];\n}\n\n// lib/parse/_lib/parsers/TimestampSecondsParser.js\nclass TimestampSecondsParser extends Parser {\n priority = 40;\n parse(dateString) {\n return parseAnyDigitsSigned(dateString);\n }\n set(date, _flags, value) {\n return [constructFrom(date, value * 1000), { timestampIsSet: true }];\n }\n incompatibleTokens = \"*\";\n}\n\n// lib/parse/_lib/parsers/TimestampMillisecondsParser.js\nclass TimestampMillisecondsParser extends Parser {\n priority = 20;\n parse(dateString) {\n return parseAnyDigitsSigned(dateString);\n }\n set(date, _flags, value) {\n return [constructFrom(date, value), { timestampIsSet: true }];\n }\n incompatibleTokens = \"*\";\n}\n\n// lib/parse/_lib/parsers.js\nvar parsers = {\n G: new EraParser,\n y: new YearParser,\n Y: new LocalWeekYearParser,\n R: new ISOWeekYearParser,\n u: new ExtendedYearParser,\n Q: new QuarterParser,\n q: new StandAloneQuarterParser,\n M: new MonthParser,\n L: new StandAloneMonthParser,\n w: new LocalWeekParser,\n I: new ISOWeekParser,\n d: new DateParser,\n D: new DayOfYearParser,\n E: new DayParser,\n e: new LocalDayParser,\n c: new StandAloneLocalDayParser,\n i: new ISODayParser,\n a: new AMPMParser,\n b: new AMPMMidnightParser,\n B: new DayPeriodParser,\n h: new Hour1to12Parser,\n H: new Hour0to23Parser,\n K: new Hour0To11Parser,\n k: new Hour1To24Parser,\n m: new MinuteParser,\n s: new SecondParser,\n S: new FractionOfSecondParser,\n X: new ISOTimezoneWithZParser,\n x: new ISOTimezoneParser,\n t: new TimestampSecondsParser,\n T: new TimestampMillisecondsParser\n};\n\n// lib/parse.js\nfunction parse(dateStr, formatStr, referenceDate, options) {\n const invalidDate = () => constructFrom(options?.in || referenceDate, NaN);\n const defaultOptions14 = getDefaultOptions2();\n const locale = options?.locale ?? defaultOptions14.locale ?? enUS;\n const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions14.firstWeekContainsDate ?? defaultOptions14.locale?.options?.firstWeekContainsDate ?? 1;\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions14.weekStartsOn ?? defaultOptions14.locale?.options?.weekStartsOn ?? 0;\n if (!formatStr)\n return dateStr ? invalidDate() : toDate(referenceDate, options?.in);\n const subFnOptions = {\n firstWeekContainsDate,\n weekStartsOn,\n locale\n };\n const setters = [new DateTimezoneSetter(options?.in, referenceDate)];\n const tokens = formatStr.match(longFormattingTokensRegExp2).map((substring) => {\n const firstCharacter = substring[0];\n if (firstCharacter in longFormatters) {\n const longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong);\n }\n return substring;\n }).join(\"\").match(formattingTokensRegExp2);\n const usedTokens = [];\n for (let token of tokens) {\n if (!options?.useAdditionalWeekYearTokens && isProtectedWeekYearToken(token)) {\n warnOrThrowProtectedError(token, formatStr, dateStr);\n }\n if (!options?.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(token)) {\n warnOrThrowProtectedError(token, formatStr, dateStr);\n }\n const firstCharacter = token[0];\n const parser = parsers[firstCharacter];\n if (parser) {\n const { incompatibleTokens } = parser;\n if (Array.isArray(incompatibleTokens)) {\n const incompatibleToken = usedTokens.find((usedToken) => incompatibleTokens.includes(usedToken.token) || usedToken.token === firstCharacter);\n if (incompatibleToken) {\n throw new RangeError(`The format string mustn't contain \\`${incompatibleToken.fullToken}\\` and \\`${token}\\` at the same time`);\n }\n } else if (parser.incompatibleTokens === \"*\" && usedTokens.length > 0) {\n throw new RangeError(`The format string mustn't contain \\`${token}\\` and any other token at the same time`);\n }\n usedTokens.push({ token: firstCharacter, fullToken: token });\n const parseResult = parser.run(dateStr, token, locale.match, subFnOptions);\n if (!parseResult) {\n return invalidDate();\n }\n setters.push(parseResult.setter);\n dateStr = parseResult.rest;\n } else {\n if (firstCharacter.match(unescapedLatinCharacterRegExp2)) {\n throw new RangeError(\"Format string contains an unescaped latin alphabet character `\" + firstCharacter + \"`\");\n }\n if (token === \"''\") {\n token = \"'\";\n } else if (firstCharacter === \"'\") {\n token = cleanEscapedString2(token);\n }\n if (dateStr.indexOf(token) === 0) {\n dateStr = dateStr.slice(token.length);\n } else {\n return invalidDate();\n }\n }\n }\n if (dateStr.length > 0 && notWhitespaceRegExp.test(dateStr)) {\n return invalidDate();\n }\n const uniquePrioritySetters = setters.map((setter) => setter.priority).sort((a, b) => b - a).filter((priority, index, array) => array.indexOf(priority) === index).map((priority) => setters.filter((setter) => setter.priority === priority).sort((a, b) => b.subPriority - a.subPriority)).map((setterArray) => setterArray[0]);\n let date = toDate(referenceDate, options?.in);\n if (isNaN(+date))\n return invalidDate();\n const flags = {};\n for (const setter of uniquePrioritySetters) {\n if (!setter.validate(date, subFnOptions)) {\n return invalidDate();\n }\n const result = setter.set(date, flags, subFnOptions);\n if (Array.isArray(result)) {\n date = result[0];\n Object.assign(flags, result[1]);\n } else {\n date = result;\n }\n }\n return date;\n}\nfunction cleanEscapedString2(input) {\n return input.match(escapedStringRegExp2)[1].replace(doubleQuoteRegExp2, \"'\");\n}\nvar formattingTokensRegExp2 = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\nvar longFormattingTokensRegExp2 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp2 = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp2 = /''/g;\nvar notWhitespaceRegExp = /\\S/;\nvar unescapedLatinCharacterRegExp2 = /[a-zA-Z]/;\n\n// lib/isMatch.js\nfunction isMatch(dateStr, formatStr, options) {\n return isValid(parse(dateStr, formatStr, new Date, options));\n}\n// lib/isMonday.js\nfunction isMonday(date, options) {\n return toDate(date, options?.in).getDay() === 1;\n}\n// lib/isPast.js\nfunction isPast(date) {\n return +toDate(date) < Date.now();\n}\n// lib/startOfHour.js\nfunction startOfHour(date, options) {\n const _date = toDate(date, options?.in);\n _date.setMinutes(0, 0, 0);\n return _date;\n}\n\n// lib/isSameHour.js\nfunction isSameHour(dateLeft, dateRight, options) {\n const [dateLeft_, dateRight_] = normalizeDates(options?.in, dateLeft, dateRight);\n return +startOfHour(dateLeft_) === +startOfHour(dateRight_);\n}\n// lib/isSameWeek.js\nfunction isSameWeek(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n return +startOfWeek(laterDate_, options) === +startOfWeek(earlierDate_, options);\n}\n\n// lib/isSameISOWeek.js\nfunction isSameISOWeek(laterDate, earlierDate, options) {\n return isSameWeek(laterDate, earlierDate, { ...options, weekStartsOn: 1 });\n}\n// lib/isSameISOWeekYear.js\nfunction isSameISOWeekYear(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n return +startOfISOWeekYear(laterDate_) === +startOfISOWeekYear(earlierDate_);\n}\n// lib/startOfMinute.js\nfunction startOfMinute(date, options) {\n const date_ = toDate(date, options?.in);\n date_.setSeconds(0, 0);\n return date_;\n}\n\n// lib/isSameMinute.js\nfunction isSameMinute(laterDate, earlierDate) {\n return +startOfMinute(laterDate) === +startOfMinute(earlierDate);\n}\n// lib/isSameMonth.js\nfunction isSameMonth(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n return laterDate_.getFullYear() === earlierDate_.getFullYear() && laterDate_.getMonth() === earlierDate_.getMonth();\n}\n// lib/isSameQuarter.js\nfunction isSameQuarter(laterDate, earlierDate, options) {\n const [dateLeft_, dateRight_] = normalizeDates(options?.in, laterDate, earlierDate);\n return +startOfQuarter(dateLeft_) === +startOfQuarter(dateRight_);\n}\n// lib/startOfSecond.js\nfunction startOfSecond(date, options) {\n const date_ = toDate(date, options?.in);\n date_.setMilliseconds(0);\n return date_;\n}\n\n// lib/isSameSecond.js\nfunction isSameSecond(laterDate, earlierDate) {\n return +startOfSecond(laterDate) === +startOfSecond(earlierDate);\n}\n// lib/isSameYear.js\nfunction isSameYear(laterDate, earlierDate, options) {\n const [laterDate_, earlierDate_] = normalizeDates(options?.in, laterDate, earlierDate);\n return laterDate_.getFullYear() === earlierDate_.getFullYear();\n}\n// lib/isThisHour.js\nfunction isThisHour(date, options) {\n return isSameHour(toDate(date, options?.in), constructNow(options?.in || date));\n}\n// lib/isThisISOWeek.js\nfunction isThisISOWeek(date, options) {\n return isSameISOWeek(constructFrom(options?.in || date, date), constructNow(options?.in || date));\n}\n// lib/isThisMinute.js\nfunction isThisMinute(date) {\n return isSameMinute(date, constructNow(date));\n}\n// lib/isThisMonth.js\nfunction isThisMonth(date, options) {\n return isSameMonth(constructFrom(options?.in || date, date), constructNow(options?.in || date));\n}\n// lib/isThisQuarter.js\nfunction isThisQuarter(date, options) {\n return isSameQuarter(constructFrom(options?.in || date, date), constructNow(options?.in || date));\n}\n// lib/isThisSecond.js\nfunction isThisSecond(date) {\n return isSameSecond(date, constructNow(date));\n}\n// lib/isThisWeek.js\nfunction isThisWeek(date, options) {\n return isSameWeek(constructFrom(options?.in || date, date), constructNow(options?.in || date), options);\n}\n// lib/isThisYear.js\nfunction isThisYear(date, options) {\n return isSameYear(constructFrom(options?.in || date, date), constructNow(options?.in || date));\n}\n// lib/isThursday.js\nfunction isThursday(date, options) {\n return toDate(date, options?.in).getDay() === 4;\n}\n// lib/isToday.js\nfunction isToday(date, options) {\n return isSameDay(constructFrom(options?.in || date, date), constructNow(options?.in || date));\n}\n// lib/isTomorrow.js\nfunction isTomorrow(date, options) {\n return isSameDay(date, addDays(constructNow(options?.in || date), 1), options);\n}\n// lib/isTuesday.js\nfunction isTuesday(date, options) {\n return toDate(date, options?.in).getDay() === 2;\n}\n// lib/isWednesday.js\nfunction isWednesday(date, options) {\n return toDate(date, options?.in).getDay() === 3;\n}\n// lib/isWithinInterval.js\nfunction isWithinInterval(date, interval2, options) {\n const time = +toDate(date, options?.in);\n const [startTime, endTime] = [\n +toDate(interval2.start, options?.in),\n +toDate(interval2.end, options?.in)\n ].sort((a, b) => a - b);\n return time >= startTime && time <= endTime;\n}\n// lib/subDays.js\nfunction subDays(date, amount, options) {\n return addDays(date, -amount, options);\n}\n\n// lib/isYesterday.js\nfunction isYesterday(date, options) {\n return isSameDay(constructFrom(options?.in || date, date), subDays(constructNow(options?.in || date), 1));\n}\n// lib/lastDayOfDecade.js\nfunction lastDayOfDecade(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n const decade = 9 + Math.floor(year / 10) * 10;\n _date.setFullYear(decade + 1, 0, 0);\n _date.setHours(0, 0, 0, 0);\n return toDate(_date, options?.in);\n}\n// lib/lastDayOfWeek.js\nfunction lastDayOfWeek(date, options) {\n const defaultOptions15 = getDefaultOptions();\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions15.weekStartsOn ?? defaultOptions15.locale?.options?.weekStartsOn ?? 0;\n const _date = toDate(date, options?.in);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn);\n _date.setHours(0, 0, 0, 0);\n _date.setDate(_date.getDate() + diff);\n return _date;\n}\n\n// lib/lastDayOfISOWeek.js\nfunction lastDayOfISOWeek(date, options) {\n return lastDayOfWeek(date, { ...options, weekStartsOn: 1 });\n}\n// lib/lastDayOfISOWeekYear.js\nfunction lastDayOfISOWeekYear(date, options) {\n const year = getISOWeekYear(date, options);\n const fourthOfJanuary = constructFrom(options?.in || date, 0);\n fourthOfJanuary.setFullYear(year + 1, 0, 4);\n fourthOfJanuary.setHours(0, 0, 0, 0);\n const date_ = startOfISOWeek(fourthOfJanuary, options);\n date_.setDate(date_.getDate() - 1);\n return date_;\n}\n// lib/lastDayOfQuarter.js\nfunction lastDayOfQuarter(date, options) {\n const date_ = toDate(date, options?.in);\n const currentMonth = date_.getMonth();\n const month = currentMonth - currentMonth % 3 + 3;\n date_.setMonth(month, 0);\n date_.setHours(0, 0, 0, 0);\n return date_;\n}\n// lib/lastDayOfYear.js\nfunction lastDayOfYear(date, options) {\n const date_ = toDate(date, options?.in);\n const year = date_.getFullYear();\n date_.setFullYear(year + 1, 0, 0);\n date_.setHours(0, 0, 0, 0);\n return date_;\n}\n// lib/lightFormat.js\nfunction lightFormat(date, formatStr) {\n const date_ = toDate(date);\n if (!isValid(date_)) {\n throw new RangeError(\"Invalid time value\");\n }\n const tokens = formatStr.match(formattingTokensRegExp3);\n if (!tokens)\n return \"\";\n const result = tokens.map((substring) => {\n if (substring === \"''\") {\n return \"'\";\n }\n const firstCharacter = substring[0];\n if (firstCharacter === \"'\") {\n return cleanEscapedString3(substring);\n }\n const formatter = lightFormatters[firstCharacter];\n if (formatter) {\n return formatter(date_, substring);\n }\n if (firstCharacter.match(unescapedLatinCharacterRegExp3)) {\n throw new RangeError(\"Format string contains an unescaped latin alphabet character `\" + firstCharacter + \"`\");\n }\n return substring;\n }).join(\"\");\n return result;\n}\nfunction cleanEscapedString3(input) {\n const matches = input.match(escapedStringRegExp3);\n if (!matches)\n return input;\n return matches[1].replace(doubleQuoteRegExp3, \"'\");\n}\nvar formattingTokensRegExp3 = /(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp3 = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp3 = /''/g;\nvar unescapedLatinCharacterRegExp3 = /[a-zA-Z]/;\n// lib/milliseconds.js\nfunction milliseconds({\n years,\n months: months2,\n weeks,\n days: days2,\n hours,\n minutes,\n seconds\n}) {\n let totalDays = 0;\n if (years)\n totalDays += years * daysInYear;\n if (months2)\n totalDays += months2 * (daysInYear / 12);\n if (weeks)\n totalDays += weeks * 7;\n if (days2)\n totalDays += days2;\n let totalSeconds = totalDays * 24 * 60 * 60;\n if (hours)\n totalSeconds += hours * 60 * 60;\n if (minutes)\n totalSeconds += minutes * 60;\n if (seconds)\n totalSeconds += seconds;\n return Math.trunc(totalSeconds * 1000);\n}\n// lib/millisecondsToHours.js\nfunction millisecondsToHours(milliseconds2) {\n const hours = milliseconds2 / millisecondsInHour;\n return Math.trunc(hours);\n}\n// lib/millisecondsToMinutes.js\nfunction millisecondsToMinutes(milliseconds2) {\n const minutes = milliseconds2 / millisecondsInMinute;\n return Math.trunc(minutes);\n}\n// lib/millisecondsToSeconds.js\nfunction millisecondsToSeconds(milliseconds2) {\n const seconds = milliseconds2 / millisecondsInSecond;\n return Math.trunc(seconds);\n}\n// lib/minutesToHours.js\nfunction minutesToHours(minutes) {\n const hours = minutes / minutesInHour;\n return Math.trunc(hours);\n}\n// lib/minutesToMilliseconds.js\nfunction minutesToMilliseconds(minutes) {\n return Math.trunc(minutes * millisecondsInMinute);\n}\n// lib/minutesToSeconds.js\nfunction minutesToSeconds(minutes) {\n return Math.trunc(minutes * secondsInMinute);\n}\n// lib/monthsToQuarters.js\nfunction monthsToQuarters(months2) {\n const quarters = months2 / monthsInQuarter;\n return Math.trunc(quarters);\n}\n// lib/monthsToYears.js\nfunction monthsToYears(months2) {\n const years = months2 / monthsInYear;\n return Math.trunc(years);\n}\n// lib/nextDay.js\nfunction nextDay(date, day, options) {\n let delta = day - getDay(date, options);\n if (delta <= 0)\n delta += 7;\n return addDays(date, delta, options);\n}\n// lib/nextFriday.js\nfunction nextFriday(date, options) {\n return nextDay(date, 5, options);\n}\n// lib/nextMonday.js\nfunction nextMonday(date, options) {\n return nextDay(date, 1, options);\n}\n// lib/nextSaturday.js\nfunction nextSaturday(date, options) {\n return nextDay(date, 6, options);\n}\n// lib/nextSunday.js\nfunction nextSunday(date, options) {\n return nextDay(date, 0, options);\n}\n// lib/nextThursday.js\nfunction nextThursday(date, options) {\n return nextDay(date, 4, options);\n}\n// lib/nextTuesday.js\nfunction nextTuesday(date, options) {\n return nextDay(date, 2, options);\n}\n// lib/nextWednesday.js\nfunction nextWednesday(date, options) {\n return nextDay(date, 3, options);\n}\n// lib/parseISO.js\nfunction parseISO(argument, options) {\n const invalidDate = () => constructFrom(options?.in, NaN);\n const additionalDigits = options?.additionalDigits ?? 2;\n const dateStrings = splitDateString(argument);\n let date;\n if (dateStrings.date) {\n const parseYearResult = parseYear(dateStrings.date, additionalDigits);\n date = parseDate(parseYearResult.restDateString, parseYearResult.year);\n }\n if (!date || isNaN(+date))\n return invalidDate();\n const timestamp = +date;\n let time = 0;\n let offset;\n if (dateStrings.time) {\n time = parseTime(dateStrings.time);\n if (isNaN(time))\n return invalidDate();\n }\n if (dateStrings.timezone) {\n offset = parseTimezone(dateStrings.timezone);\n if (isNaN(offset))\n return invalidDate();\n } else {\n const tmpDate = new Date(timestamp + time);\n const result = toDate(0, options?.in);\n result.setFullYear(tmpDate.getUTCFullYear(), tmpDate.getUTCMonth(), tmpDate.getUTCDate());\n result.setHours(tmpDate.getUTCHours(), tmpDate.getUTCMinutes(), tmpDate.getUTCSeconds(), tmpDate.getUTCMilliseconds());\n return result;\n }\n return toDate(timestamp + time + offset, options?.in);\n}\nfunction splitDateString(dateString) {\n const dateStrings = {};\n const array = dateString.split(patterns.dateTimeDelimiter);\n let timeString;\n if (array.length > 2) {\n return dateStrings;\n }\n if (/:/.test(array[0])) {\n timeString = array[0];\n } else {\n dateStrings.date = array[0];\n timeString = array[1];\n if (patterns.timeZoneDelimiter.test(dateStrings.date)) {\n dateStrings.date = dateString.split(patterns.timeZoneDelimiter)[0];\n timeString = dateString.substr(dateStrings.date.length, dateString.length);\n }\n }\n if (timeString) {\n const token = patterns.timezone.exec(timeString);\n if (token) {\n dateStrings.time = timeString.replace(token[1], \"\");\n dateStrings.timezone = token[1];\n } else {\n dateStrings.time = timeString;\n }\n }\n return dateStrings;\n}\nfunction parseYear(dateString, additionalDigits) {\n const regex = new RegExp(\"^(?:(\\\\d{4}|[+-]\\\\d{\" + (4 + additionalDigits) + \"})|(\\\\d{2}|[+-]\\\\d{\" + (2 + additionalDigits) + \"})$)\");\n const captures = dateString.match(regex);\n if (!captures)\n return { year: NaN, restDateString: \"\" };\n const year = captures[1] ? parseInt(captures[1]) : null;\n const century = captures[2] ? parseInt(captures[2]) : null;\n return {\n year: century === null ? year : century * 100,\n restDateString: dateString.slice((captures[1] || captures[2]).length)\n };\n}\nfunction parseDate(dateString, year) {\n if (year === null)\n return new Date(NaN);\n const captures = dateString.match(dateRegex);\n if (!captures)\n return new Date(NaN);\n const isWeekDate = !!captures[4];\n const dayOfYear = parseDateUnit(captures[1]);\n const month = parseDateUnit(captures[2]) - 1;\n const day = parseDateUnit(captures[3]);\n const week = parseDateUnit(captures[4]);\n const dayOfWeek = parseDateUnit(captures[5]) - 1;\n if (isWeekDate) {\n if (!validateWeekDate(year, week, dayOfWeek)) {\n return new Date(NaN);\n }\n return dayOfISOWeekYear(year, week, dayOfWeek);\n } else {\n const date = new Date(0);\n if (!validateDate(year, month, day) || !validateDayOfYearDate(year, dayOfYear)) {\n return new Date(NaN);\n }\n date.setUTCFullYear(year, month, Math.max(dayOfYear, day));\n return date;\n }\n}\nfunction parseDateUnit(value) {\n return value ? parseInt(value) : 1;\n}\nfunction parseTime(timeString) {\n const captures = timeString.match(timeRegex);\n if (!captures)\n return NaN;\n const hours = parseTimeUnit(captures[1]);\n const minutes = parseTimeUnit(captures[2]);\n const seconds = parseTimeUnit(captures[3]);\n if (!validateTime(hours, minutes, seconds)) {\n return NaN;\n }\n return hours * millisecondsInHour + minutes * millisecondsInMinute + seconds * 1000;\n}\nfunction parseTimeUnit(value) {\n return value && parseFloat(value.replace(\",\", \".\")) || 0;\n}\nfunction parseTimezone(timezoneString) {\n if (timezoneString === \"Z\")\n return 0;\n const captures = timezoneString.match(timezoneRegex);\n if (!captures)\n return 0;\n const sign = captures[1] === \"+\" ? -1 : 1;\n const hours = parseInt(captures[2]);\n const minutes = captures[3] && parseInt(captures[3]) || 0;\n if (!validateTimezone(hours, minutes)) {\n return NaN;\n }\n return sign * (hours * millisecondsInHour + minutes * millisecondsInMinute);\n}\nfunction dayOfISOWeekYear(isoWeekYear, week, day) {\n const date = new Date(0);\n date.setUTCFullYear(isoWeekYear, 0, 4);\n const fourthOfJanuaryDay = date.getUTCDay() || 7;\n const diff = (week - 1) * 7 + day + 1 - fourthOfJanuaryDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n}\nfunction isLeapYearIndex2(year) {\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\nfunction validateDate(year, month, date) {\n return month >= 0 && month <= 11 && date >= 1 && date <= (daysInMonths[month] || (isLeapYearIndex2(year) ? 29 : 28));\n}\nfunction validateDayOfYearDate(year, dayOfYear) {\n return dayOfYear >= 1 && dayOfYear <= (isLeapYearIndex2(year) ? 366 : 365);\n}\nfunction validateWeekDate(_year, week, day) {\n return week >= 1 && week <= 53 && day >= 0 && day <= 6;\n}\nfunction validateTime(hours, minutes, seconds) {\n if (hours === 24) {\n return minutes === 0 && seconds === 0;\n }\n return seconds >= 0 && seconds < 60 && minutes >= 0 && minutes < 60 && hours >= 0 && hours < 25;\n}\nfunction validateTimezone(_hours, minutes) {\n return minutes >= 0 && minutes <= 59;\n}\nvar patterns = {\n dateTimeDelimiter: /[T ]/,\n timeZoneDelimiter: /[Z ]/i,\n timezone: /([Z+-].*)$/\n};\nvar dateRegex = /^-?(?:(\\d{3})|(\\d{2})(?:-?(\\d{2}))?|W(\\d{2})(?:-?(\\d{1}))?|)$/;\nvar timeRegex = /^(\\d{2}(?:[.,]\\d*)?)(?::?(\\d{2}(?:[.,]\\d*)?))?(?::?(\\d{2}(?:[.,]\\d*)?))?$/;\nvar timezoneRegex = /^([+-])(\\d{2})(?::?(\\d{2}))?$/;\nvar daysInMonths = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\n// lib/parseJSON.js\nfunction parseJSON(dateStr, options) {\n const parts = dateStr.match(/(\\d{4})-(\\d{2})-(\\d{2})[T ](\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d{0,7}))?(?:Z|(.)(\\d{2}):?(\\d{2})?)?/);\n if (!parts)\n return toDate(NaN, options?.in);\n return toDate(Date.UTC(+parts[1], +parts[2] - 1, +parts[3], +parts[4] - (+parts[9] || 0) * (parts[8] == \"-\" ? -1 : 1), +parts[5] - (+parts[10] || 0) * (parts[8] == \"-\" ? -1 : 1), +parts[6], +((parts[7] || \"0\") + \"00\").substring(0, 3)), options?.in);\n}\n// lib/previousDay.js\nfunction previousDay(date, day, options) {\n let delta = getDay(date, options) - day;\n if (delta <= 0)\n delta += 7;\n return subDays(date, delta, options);\n}\n// lib/previousFriday.js\nfunction previousFriday(date, options) {\n return previousDay(date, 5, options);\n}\n// lib/previousMonday.js\nfunction previousMonday(date, options) {\n return previousDay(date, 1, options);\n}\n// lib/previousSaturday.js\nfunction previousSaturday(date, options) {\n return previousDay(date, 6, options);\n}\n// lib/previousSunday.js\nfunction previousSunday(date, options) {\n return previousDay(date, 0, options);\n}\n// lib/previousThursday.js\nfunction previousThursday(date, options) {\n return previousDay(date, 4, options);\n}\n// lib/previousTuesday.js\nfunction previousTuesday(date, options) {\n return previousDay(date, 2, options);\n}\n// lib/previousWednesday.js\nfunction previousWednesday(date, options) {\n return previousDay(date, 3, options);\n}\n// lib/quartersToMonths.js\nfunction quartersToMonths(quarters) {\n return Math.trunc(quarters * monthsInQuarter);\n}\n// lib/quartersToYears.js\nfunction quartersToYears(quarters) {\n const years = quarters / quartersInYear;\n return Math.trunc(years);\n}\n// lib/roundToNearestHours.js\nfunction roundToNearestHours(date, options) {\n const nearestTo = options?.nearestTo ?? 1;\n if (nearestTo < 1 || nearestTo > 12)\n return constructFrom(options?.in || date, NaN);\n const date_ = toDate(date, options?.in);\n const fractionalMinutes = date_.getMinutes() / 60;\n const fractionalSeconds = date_.getSeconds() / 60 / 60;\n const fractionalMilliseconds = date_.getMilliseconds() / 1000 / 60 / 60;\n const hours = date_.getHours() + fractionalMinutes + fractionalSeconds + fractionalMilliseconds;\n const method = options?.roundingMethod ?? \"round\";\n const roundingMethod = getRoundingMethod(method);\n const roundedHours = roundingMethod(hours / nearestTo) * nearestTo;\n date_.setHours(roundedHours, 0, 0, 0);\n return date_;\n}\n// lib/roundToNearestMinutes.js\nfunction roundToNearestMinutes(date, options) {\n const nearestTo = options?.nearestTo ?? 1;\n if (nearestTo < 1 || nearestTo > 30)\n return constructFrom(date, NaN);\n const date_ = toDate(date, options?.in);\n const fractionalSeconds = date_.getSeconds() / 60;\n const fractionalMilliseconds = date_.getMilliseconds() / 1000 / 60;\n const minutes = date_.getMinutes() + fractionalSeconds + fractionalMilliseconds;\n const method = options?.roundingMethod ?? \"round\";\n const roundingMethod = getRoundingMethod(method);\n const roundedMinutes = roundingMethod(minutes / nearestTo) * nearestTo;\n date_.setMinutes(roundedMinutes, 0, 0);\n return date_;\n}\n// lib/secondsToHours.js\nfunction secondsToHours(seconds) {\n const hours = seconds / secondsInHour;\n return Math.trunc(hours);\n}\n// lib/secondsToMilliseconds.js\nfunction secondsToMilliseconds(seconds) {\n return seconds * millisecondsInSecond;\n}\n// lib/secondsToMinutes.js\nfunction secondsToMinutes(seconds) {\n const minutes = seconds / secondsInMinute;\n return Math.trunc(minutes);\n}\n// lib/setMonth.js\nfunction setMonth(date, month, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n const day = _date.getDate();\n const midMonth = constructFrom(options?.in || date, 0);\n midMonth.setFullYear(year, month, 15);\n midMonth.setHours(0, 0, 0, 0);\n const daysInMonth = getDaysInMonth(midMonth);\n _date.setMonth(month, Math.min(day, daysInMonth));\n return _date;\n}\n\n// lib/set.js\nfunction set(date, values, options) {\n let _date = toDate(date, options?.in);\n if (isNaN(+_date))\n return constructFrom(options?.in || date, NaN);\n if (values.year != null)\n _date.setFullYear(values.year);\n if (values.month != null)\n _date = setMonth(_date, values.month);\n if (values.date != null)\n _date.setDate(values.date);\n if (values.hours != null)\n _date.setHours(values.hours);\n if (values.minutes != null)\n _date.setMinutes(values.minutes);\n if (values.seconds != null)\n _date.setSeconds(values.seconds);\n if (values.milliseconds != null)\n _date.setMilliseconds(values.milliseconds);\n return _date;\n}\n// lib/setDate.js\nfunction setDate(date, dayOfMonth, options) {\n const _date = toDate(date, options?.in);\n _date.setDate(dayOfMonth);\n return _date;\n}\n// lib/setDayOfYear.js\nfunction setDayOfYear(date, dayOfYear, options) {\n const date_ = toDate(date, options?.in);\n date_.setMonth(0);\n date_.setDate(dayOfYear);\n return date_;\n}\n// lib/setDefaultOptions.js\nfunction setDefaultOptions2(options) {\n const result = {};\n const defaultOptions16 = getDefaultOptions();\n for (const property in defaultOptions16) {\n if (Object.prototype.hasOwnProperty.call(defaultOptions16, property)) {\n result[property] = defaultOptions16[property];\n }\n }\n for (const property in options) {\n if (Object.prototype.hasOwnProperty.call(options, property)) {\n if (options[property] === undefined) {\n delete result[property];\n } else {\n result[property] = options[property];\n }\n }\n }\n setDefaultOptions(result);\n}\n// lib/setHours.js\nfunction setHours(date, hours, options) {\n const _date = toDate(date, options?.in);\n _date.setHours(hours);\n return _date;\n}\n// lib/setMilliseconds.js\nfunction setMilliseconds(date, milliseconds2, options) {\n const _date = toDate(date, options?.in);\n _date.setMilliseconds(milliseconds2);\n return _date;\n}\n// lib/setMinutes.js\nfunction setMinutes(date, minutes, options) {\n const date_ = toDate(date, options?.in);\n date_.setMinutes(minutes);\n return date_;\n}\n// lib/setQuarter.js\nfunction setQuarter(date, quarter, options) {\n const date_ = toDate(date, options?.in);\n const oldQuarter = Math.trunc(date_.getMonth() / 3) + 1;\n const diff = quarter - oldQuarter;\n return setMonth(date_, date_.getMonth() + diff * 3);\n}\n// lib/setSeconds.js\nfunction setSeconds(date, seconds, options) {\n const _date = toDate(date, options?.in);\n _date.setSeconds(seconds);\n return _date;\n}\n// lib/setWeekYear.js\nfunction setWeekYear(date, weekYear, options) {\n const defaultOptions17 = getDefaultOptions();\n const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions17.firstWeekContainsDate ?? defaultOptions17.locale?.options?.firstWeekContainsDate ?? 1;\n const diff = differenceInCalendarDays(toDate(date, options?.in), startOfWeekYear(date, options), options);\n const firstWeek = constructFrom(options?.in || date, 0);\n firstWeek.setFullYear(weekYear, 0, firstWeekContainsDate);\n firstWeek.setHours(0, 0, 0, 0);\n const date_ = startOfWeekYear(firstWeek, options);\n date_.setDate(date_.getDate() + diff);\n return date_;\n}\n// lib/setYear.js\nfunction setYear(date, year, options) {\n const date_ = toDate(date, options?.in);\n if (isNaN(+date_))\n return constructFrom(options?.in || date, NaN);\n date_.setFullYear(year);\n return date_;\n}\n// lib/startOfDecade.js\nfunction startOfDecade(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n const decade = Math.floor(year / 10) * 10;\n _date.setFullYear(decade, 0, 1);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n// lib/startOfToday.js\nfunction startOfToday(options) {\n return startOfDay(Date.now(), options);\n}\n// lib/startOfTomorrow.js\nfunction startOfTomorrow(options) {\n const now = constructNow(options?.in);\n const year = now.getFullYear();\n const month = now.getMonth();\n const day = now.getDate();\n const date = constructFrom(options?.in, 0);\n date.setFullYear(year, month, day + 1);\n date.setHours(0, 0, 0, 0);\n return date;\n}\n// lib/startOfYesterday.js\nfunction startOfYesterday(options) {\n const now = constructNow(options?.in);\n const year = now.getFullYear();\n const month = now.getMonth();\n const day = now.getDate();\n const date = constructNow(options?.in);\n date.setFullYear(year, month, day - 1);\n date.setHours(0, 0, 0, 0);\n return date;\n}\n// lib/subMonths.js\nfunction subMonths(date, amount, options) {\n return addMonths(date, -amount, options);\n}\n\n// lib/sub.js\nfunction sub(date, duration, options) {\n const {\n years = 0,\n months: months2 = 0,\n weeks = 0,\n days: days2 = 0,\n hours = 0,\n minutes = 0,\n seconds = 0\n } = duration;\n const withoutMonths = subMonths(date, months2 + years * 12, options);\n const withoutDays = subDays(withoutMonths, days2 + weeks * 7, options);\n const minutesToSub = minutes + hours * 60;\n const secondsToSub = seconds + minutesToSub * 60;\n const msToSub = secondsToSub * 1000;\n return constructFrom(options?.in || date, +withoutDays - msToSub);\n}\n// lib/subBusinessDays.js\nfunction subBusinessDays(date, amount, options) {\n return addBusinessDays(date, -amount, options);\n}\n// lib/subHours.js\nfunction subHours(date, amount, options) {\n return addHours(date, -amount, options);\n}\n// lib/subMilliseconds.js\nfunction subMilliseconds(date, amount, options) {\n return addMilliseconds(date, -amount, options);\n}\n// lib/subMinutes.js\nfunction subMinutes(date, amount, options) {\n return addMinutes(date, -amount, options);\n}\n// lib/subQuarters.js\nfunction subQuarters(date, amount, options) {\n return addQuarters(date, -amount, options);\n}\n// lib/subSeconds.js\nfunction subSeconds(date, amount, options) {\n return addSeconds(date, -amount, options);\n}\n// lib/subWeeks.js\nfunction subWeeks(date, amount, options) {\n return addWeeks(date, -amount, options);\n}\n// lib/subYears.js\nfunction subYears(date, amount, options) {\n return addYears(date, -amount, options);\n}\n// lib/weeksToDays.js\nfunction weeksToDays(weeks) {\n return Math.trunc(weeks * daysInWeek);\n}\n// lib/yearsToDays.js\nfunction yearsToDays(years) {\n return Math.trunc(years * daysInYear);\n}\n// lib/yearsToMonths.js\nfunction yearsToMonths(years) {\n return Math.trunc(years * monthsInYear);\n}\n// lib/yearsToQuarters.js\nfunction yearsToQuarters(years) {\n return Math.trunc(years * quartersInYear);\n}\n// lib/cdn.js\nwindow.dateFns = {\n ...window.dateFns,\n ...exports_lib\n};\n\n//# debugId=C576AA8F71413BF164756E2164756E21\n"],"mappings":"goOAAA,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,MAAM,EAAEC,GAAG,EAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG;EAClBL,SAAS,CAACI,MAAM,EAAEE,IAAI,EAAE;IACtBC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IACdE,UAAU,EAAE,IAAI;IAChBC,YAAY,EAAE,IAAI;IAClBC,GAAG,EAAE,SAAAA,IAACC,QAAQ,UAAKN,GAAG,CAACC,IAAI,CAAC,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