1 line
42 KiB
Plaintext
1 line
42 KiB
Plaintext
|
{"version":3,"file":"cdn.js","names":["_window$dateFns","__defProp","Object","defineProperty","__export","target","all","name","get","enumerable","configurable","set","newValue","declensionGroup","scheme","count","one","twoFour","other","declension","time","group","finalText","replace","String","extractPreposition","token","result","filter","preposition","match","RegExp","prefixPreposition","translation","length","suffixPreposition","lowercaseFirstLetter","string","charAt","toLowerCase","slice","formatDistanceLocale","xSeconds","present","past","future","halfAMinute","xMinutes","xHours","xDays","xWeeks","xMonths","xYears","formatDistance","options","key","substring","addSuffix","comparison","buildFormatLongFn","args","arguments","undefined","width","defaultWidth","format","formats","dateFormats","full","long","medium","short","timeFormats","dateTimeFormats","formatLong","date","dateTime","toDate","argument","argStr","prototype","toString","call","Date","_typeof","constructor","NaN","getDefaultOptions","defaultOptions","setDefaultOptions","newOptions","startOfWeek","_ref","_ref2","_ref3","_options$weekStartsOn","_options$locale","_defaultOptions3$loca","defaultOptions3","weekStartsOn","locale","_date","day","getDay","diff","setDate","getDate","setHours","isSameWeek","dateLeft","dateRight","dateLeftStartOfWeek","dateRightStartOfWeek","lastWeek","weekday","accusativeWeekdays","thisWeek","nextWeek","formatRelativeLocale","baseDate","yesterday","today","tomorrow","formatRelative","buildLocalizeFn","value","context","valuesArray","formattingValues","defaultFormattingWidth","values","index","argumentCallback","eraValues","narrow","abbreviated","wide","quarterValues","monthValues","formattingMonthValues","dayValues","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","Number","localize","era","quarter","month","dayPeriod","buildMatchFn","matchPattern","matchPatterns","defaultMatchWidth","matchResult","matchedString","parsePatterns","defaultParseWidth","Array","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","sk","code","firstWeekContainsDate","window","dateFns","_objectSpread"],"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/sk/_lib/formatDistance.mjs\nvar declensionGroup = function(scheme, count) {\n if (count === 1 && scheme.one) {\n return scheme.one;\n }\n if (count >= 2 && count <= 4 && scheme.twoFour) {\n return scheme.twoFour;\n }\n return scheme.other;\n};\nvar declension = function(scheme, count, time) {\n const group = declensionGroup(scheme, count);\n const finalText = group[time];\n return finalText.replace(\"{{count}}\", String(count));\n};\nvar extractPreposition = function(token) {\n const result = [\"lessThan\", \"about\", \"over\", \"almost\"].filter(function(preposition) {\n return !!token.match(new RegExp(\"^\" + preposition));\n });\n return result[0];\n};\nvar prefixPreposition = function(preposition) {\n let translation = \"\";\n if (preposition === \"almost\") {\n translation = \"takmer\";\n }\n if (preposition === \"about\") {\n translation = \"pribli\\u017Ene\";\n }\n return translation.length > 0 ? translation + \" \" : \"\";\n};\nvar suffixPreposition = function(preposition) {\n let translation = \"\";\n if (preposition === \"lessThan\") {\n translation = \"menej ne\\u017E
|