1 line
33 KiB
Plaintext
1 line
33 KiB
Plaintext
|
{"version":3,"file":"cdn.js","names":["_window$dateFns","__defProp","Object","defineProperty","__export","target","all","name","get","enumerable","configurable","set","newValue","formatDistanceLocale","lessThanXSeconds","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","count","options","tokenValue","result","replace","toString","addSuffix","comparison","buildFormatLongFn","args","arguments","length","undefined","width","String","defaultWidth","format","formats","dateFormats","full","long","medium","short","timeFormats","dateTimeFormats","formatLong","date","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","other","formatRelative","_date","_baseDate","_options","buildLocalizeFn","value","context","valuesArray","formattingValues","defaultFormattingWidth","values","index","argumentCallback","eraValues","narrow","abbreviated","wide","quarterValues","monthValues","dayValues","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_","number","Number","localize","era","quarter","month","day","dayPeriod","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","Array","isArray","findIndex","pattern","test","findKey","valueCallback","rest","slice","object","predicate","prototype","hasOwnProperty","call","array","buildMatchPatternFn","parseResult","parsePattern","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","any","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","parseInt","km","code","weekStartsOn","firstWeekContainsDate","window","dateFns","_objectSpread","locale"],"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/locale/km/_lib/formatDistance.mjs\nvar formatDistanceLocale = {\n lessThanXSeconds: \"\\u178F\\u17B7\\u1785\\u1787\\u17B6\\u1784 {{count}} \\u179C\\u17B7\\u1793\\u17B6\\u1791\\u17B8\",\n xSeconds: \"{{count}} \\u179C\\u17B7\\u1793\\u17B6\\u1791\\u17B8\",\n halfAMinute: \"\\u1780\\u1793\\u17D2\\u179B\\u17C7\\u1793\\u17B6\\u1791\\u17B8\",\n lessThanXMinutes: \"\\u178F\\u17B7\\u1785\\u1787\\u17B6\\u1784 {{count}} \\u1793\\u17B6\\u1791\\u17B8\",\n xMinutes: \"{{count}} \\u1793\\u17B6\\u1791\\u17B8\",\n aboutXHours: \"\\u1794\\u17D2\\u179A\\u17A0\\u17C2\\u179B {{count}} \\u1798\\u17C9\\u17C4\\u1784\",\n xHours: \"{{count}} \\u1798\\u17C9\\u17C4\\u1784\",\n xDays: \"{{count}} \\u1790\\u17D2\\u1784\\u17C3\",\n aboutXWeeks: \"\\u1794\\u17D2\\u179A\\u17A0\\u17C2\\u179B {{count}} \\u179F\\u1794\\u17D2\\u178F\\u17B6\\u17A0\\u17CD\",\n xWeeks: \"{{count}} \\u179F\\u1794\\u17D2\\u178F\\u17B6\\u17A0\\u17CD\",\n aboutXMonths: \"\\u1794\\u17D2\\u179A\\u17A0\\u17C2\\u179B {{count}} \\u1781\\u17C2\",\n xMonths: \"{{count}} \\u1781\\u17C2\",\n aboutXYears: \"\\u1794\\u17D2\\u179A\\u17A0\\u17C2\\u179B {{count}} \\u1786\\u17D2\\u1793\\u17B6\\u17C6\",\n xYears: \"{{count}} \\u1786\\u17D2\\u1793\\u17B6\\u17C6\",\n overXYears: \"\\u1787\\u17B6\\u1784 {{count}} \\u1786\\u17D2\\u1793\\u17B6\\u17C6\",\n almostXYears: \"\\u1787\\u17B7\\u178F {{count}} \\u1786\\u17D2\\u1793\\u17B6\\u17C6\"\n};\nvar formatDistance = (token, count, options) => {\n const tokenValue = formatDistanceLocale[token];\n let result = tokenValue;\n if (typeof count === \"number\") {\n result = result.replace(\"{{count}}\", count.toString());\n }\n if (options?.addSuffix) {\n if (options.comparison && options.comparis
|