cdn.js 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643
  1. (() => {
  2. var _window$dateFns;function _typeof(o) {"@babel/helpers - typeof";return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(obj, key, value) {key = _toPropertyKey(key);if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toPropertyKey(t) {var i = _toPrimitive(t, "string");return "symbol" == _typeof(i) ? i : String(i);}function _toPrimitive(t, r) {if ("object" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || "default");if ("object" != _typeof(i)) return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string" === r ? String : Number)(t);}var __defProp = Object.defineProperty;
  3. var __export = function __export(target, all) {
  4. for (var name in all)
  5. __defProp(target, name, {
  6. get: all[name],
  7. enumerable: true,
  8. configurable: true,
  9. set: function set(newValue) {return all[name] = function () {return newValue;};}
  10. });
  11. };
  12. // lib/locale/lb/_lib/formatDistance.js
  13. function isFinalNNeeded(nextWords) {
  14. var firstLetter = nextWords.charAt(0).toLowerCase();
  15. if (VOWELS.indexOf(firstLetter) != -1 || EXCEPTION_CONSONANTS.indexOf(firstLetter) != -1) {
  16. return true;
  17. }
  18. var firstWord = nextWords.split(" ")[0];
  19. var number = parseInt(firstWord);
  20. if (!isNaN(number) && DIGITS_SPOKEN_N_NEEDED.indexOf(number % 10) != -1 && FIRST_TWO_DIGITS_SPOKEN_NO_N_NEEDED.indexOf(parseInt(firstWord.substring(0, 2))) == -1) {
  21. return true;
  22. }
  23. return false;
  24. }
  25. var formatDistanceLocale = {
  26. lessThanXSeconds: {
  27. standalone: {
  28. one: "manner w\xE9i eng Sekonn",
  29. other: "manner w\xE9i {{count}} Sekonnen"
  30. },
  31. withPreposition: {
  32. one: "manner w\xE9i enger Sekonn",
  33. other: "manner w\xE9i {{count}} Sekonnen"
  34. }
  35. },
  36. xSeconds: {
  37. standalone: {
  38. one: "eng Sekonn",
  39. other: "{{count}} Sekonnen"
  40. },
  41. withPreposition: {
  42. one: "enger Sekonn",
  43. other: "{{count}} Sekonnen"
  44. }
  45. },
  46. halfAMinute: {
  47. standalone: "eng hallef Minutt",
  48. withPreposition: "enger hallwer Minutt"
  49. },
  50. lessThanXMinutes: {
  51. standalone: {
  52. one: "manner w\xE9i eng Minutt",
  53. other: "manner w\xE9i {{count}} Minutten"
  54. },
  55. withPreposition: {
  56. one: "manner w\xE9i enger Minutt",
  57. other: "manner w\xE9i {{count}} Minutten"
  58. }
  59. },
  60. xMinutes: {
  61. standalone: {
  62. one: "eng Minutt",
  63. other: "{{count}} Minutten"
  64. },
  65. withPreposition: {
  66. one: "enger Minutt",
  67. other: "{{count}} Minutten"
  68. }
  69. },
  70. aboutXHours: {
  71. standalone: {
  72. one: "ongef\xE9ier eng Stonn",
  73. other: "ongef\xE9ier {{count}} Stonnen"
  74. },
  75. withPreposition: {
  76. one: "ongef\xE9ier enger Stonn",
  77. other: "ongef\xE9ier {{count}} Stonnen"
  78. }
  79. },
  80. xHours: {
  81. standalone: {
  82. one: "eng Stonn",
  83. other: "{{count}} Stonnen"
  84. },
  85. withPreposition: {
  86. one: "enger Stonn",
  87. other: "{{count}} Stonnen"
  88. }
  89. },
  90. xDays: {
  91. standalone: {
  92. one: "een Dag",
  93. other: "{{count}} Deeg"
  94. },
  95. withPreposition: {
  96. one: "engem Dag",
  97. other: "{{count}} Deeg"
  98. }
  99. },
  100. aboutXWeeks: {
  101. standalone: {
  102. one: "ongef\xE9ier eng Woch",
  103. other: "ongef\xE9ier {{count}} Wochen"
  104. },
  105. withPreposition: {
  106. one: "ongef\xE9ier enger Woche",
  107. other: "ongef\xE9ier {{count}} Wochen"
  108. }
  109. },
  110. xWeeks: {
  111. standalone: {
  112. one: "eng Woch",
  113. other: "{{count}} Wochen"
  114. },
  115. withPreposition: {
  116. one: "enger Woch",
  117. other: "{{count}} Wochen"
  118. }
  119. },
  120. aboutXMonths: {
  121. standalone: {
  122. one: "ongef\xE9ier ee Mount",
  123. other: "ongef\xE9ier {{count}} M\xE9int"
  124. },
  125. withPreposition: {
  126. one: "ongef\xE9ier engem Mount",
  127. other: "ongef\xE9ier {{count}} M\xE9int"
  128. }
  129. },
  130. xMonths: {
  131. standalone: {
  132. one: "ee Mount",
  133. other: "{{count}} M\xE9int"
  134. },
  135. withPreposition: {
  136. one: "engem Mount",
  137. other: "{{count}} M\xE9int"
  138. }
  139. },
  140. aboutXYears: {
  141. standalone: {
  142. one: "ongef\xE9ier ee Joer",
  143. other: "ongef\xE9ier {{count}} Joer"
  144. },
  145. withPreposition: {
  146. one: "ongef\xE9ier engem Joer",
  147. other: "ongef\xE9ier {{count}} Joer"
  148. }
  149. },
  150. xYears: {
  151. standalone: {
  152. one: "ee Joer",
  153. other: "{{count}} Joer"
  154. },
  155. withPreposition: {
  156. one: "engem Joer",
  157. other: "{{count}} Joer"
  158. }
  159. },
  160. overXYears: {
  161. standalone: {
  162. one: "m\xE9i w\xE9i ee Joer",
  163. other: "m\xE9i w\xE9i {{count}} Joer"
  164. },
  165. withPreposition: {
  166. one: "m\xE9i w\xE9i engem Joer",
  167. other: "m\xE9i w\xE9i {{count}} Joer"
  168. }
  169. },
  170. almostXYears: {
  171. standalone: {
  172. one: "bal ee Joer",
  173. other: "bal {{count}} Joer"
  174. },
  175. withPreposition: {
  176. one: "bal engem Joer",
  177. other: "bal {{count}} Joer"
  178. }
  179. }
  180. };
  181. var EXCEPTION_CONSONANTS = ["d", "h", "n", "t", "z"];
  182. var VOWELS = ["a,", "e", "i", "o", "u"];
  183. var DIGITS_SPOKEN_N_NEEDED = [0, 1, 2, 3, 8, 9];
  184. var FIRST_TWO_DIGITS_SPOKEN_NO_N_NEEDED = [40, 50, 60, 70];
  185. var formatDistance = function formatDistance(token, count, options) {
  186. var result;
  187. var tokenValue = formatDistanceLocale[token];
  188. var usageGroup = options !== null && options !== void 0 && options.addSuffix ? tokenValue.withPreposition : tokenValue.standalone;
  189. if (typeof usageGroup === "string") {
  190. result = usageGroup;
  191. } else if (count === 1) {
  192. result = usageGroup.one;
  193. } else {
  194. result = usageGroup.other.replace("{{count}}", String(count));
  195. }
  196. if (options !== null && options !== void 0 && options.addSuffix) {
  197. if (options.comparison && options.comparison > 0) {
  198. return "a" + (isFinalNNeeded(result) ? "n" : "") + " " + result;
  199. } else {
  200. return "viru" + (isFinalNNeeded(result) ? "n" : "") + " " + result;
  201. }
  202. }
  203. return result;
  204. };
  205. // lib/locale/_lib/buildFormatLongFn.js
  206. function buildFormatLongFn(args) {
  207. return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  208. var width = options.width ? String(options.width) : args.defaultWidth;
  209. var format = args.formats[width] || args.formats[args.defaultWidth];
  210. return format;
  211. };
  212. }
  213. // lib/locale/lb/_lib/formatLong.js
  214. var dateFormats = {
  215. full: "EEEE, do MMMM y",
  216. long: "do MMMM y",
  217. medium: "do MMM y",
  218. short: "dd.MM.yy"
  219. };
  220. var timeFormats = {
  221. full: "HH:mm:ss zzzz",
  222. long: "HH:mm:ss z",
  223. medium: "HH:mm:ss",
  224. short: "HH:mm"
  225. };
  226. var dateTimeFormats = {
  227. full: "{{date}} 'um' {{time}}",
  228. long: "{{date}} 'um' {{time}}",
  229. medium: "{{date}} {{time}}",
  230. short: "{{date}} {{time}}"
  231. };
  232. var formatLong = {
  233. date: buildFormatLongFn({
  234. formats: dateFormats,
  235. defaultWidth: "full"
  236. }),
  237. time: buildFormatLongFn({
  238. formats: timeFormats,
  239. defaultWidth: "full"
  240. }),
  241. dateTime: buildFormatLongFn({
  242. formats: dateTimeFormats,
  243. defaultWidth: "full"
  244. })
  245. };
  246. // lib/locale/lb/_lib/formatRelative.js
  247. var formatRelativeLocale = {
  248. lastWeek: function lastWeek(date) {
  249. var day = date.getDay();
  250. var result = "'l\xE4schte";
  251. if (day === 2 || day === 4) {
  252. result += "n";
  253. }
  254. result += "' eeee 'um' p";
  255. return result;
  256. },
  257. yesterday: "'g\xEBschter um' p",
  258. today: "'haut um' p",
  259. tomorrow: "'moien um' p",
  260. nextWeek: "eeee 'um' p",
  261. other: "P"
  262. };
  263. var formatRelative = function formatRelative(token, date, _baseDate, _options) {
  264. var format = formatRelativeLocale[token];
  265. if (typeof format === "function") {
  266. return format(date);
  267. }
  268. return format;
  269. };
  270. // lib/locale/_lib/buildLocalizeFn.js
  271. function buildLocalizeFn(args) {
  272. return function (value, options) {
  273. var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
  274. var valuesArray;
  275. if (context === "formatting" && args.formattingValues) {
  276. var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
  277. var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
  278. valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
  279. } else {
  280. var _defaultWidth = args.defaultWidth;
  281. var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
  282. valuesArray = args.values[_width] || args.values[_defaultWidth];
  283. }
  284. var index = args.argumentCallback ? args.argumentCallback(value) : value;
  285. return valuesArray[index];
  286. };
  287. }
  288. // lib/locale/lb/_lib/localize.js
  289. var eraValues = {
  290. narrow: ["v.Chr.", "n.Chr."],
  291. abbreviated: ["v.Chr.", "n.Chr."],
  292. wide: ["viru Christus", "no Christus"]
  293. };
  294. var quarterValues = {
  295. narrow: ["1", "2", "3", "4"],
  296. abbreviated: ["Q1", "Q2", "Q3", "Q4"],
  297. wide: ["1. Quartal", "2. Quartal", "3. Quartal", "4. Quartal"]
  298. };
  299. var monthValues = {
  300. narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
  301. abbreviated: [
  302. "Jan",
  303. "Feb",
  304. "M\xE4e",
  305. "Abr",
  306. "Mee",
  307. "Jun",
  308. "Jul",
  309. "Aug",
  310. "Sep",
  311. "Okt",
  312. "Nov",
  313. "Dez"],
  314. wide: [
  315. "Januar",
  316. "Februar",
  317. "M\xE4erz",
  318. "Abr\xEBll",
  319. "Mee",
  320. "Juni",
  321. "Juli",
  322. "August",
  323. "September",
  324. "Oktober",
  325. "November",
  326. "Dezember"]
  327. };
  328. var dayValues = {
  329. narrow: ["S", "M", "D", "M", "D", "F", "S"],
  330. short: ["So", "M\xE9", "D\xEB", "M\xEB", "Do", "Fr", "Sa"],
  331. abbreviated: ["So.", "M\xE9.", "D\xEB.", "M\xEB.", "Do.", "Fr.", "Sa."],
  332. wide: [
  333. "Sonndeg",
  334. "M\xE9indeg",
  335. "D\xEBnschdeg",
  336. "M\xEBttwoch",
  337. "Donneschdeg",
  338. "Freideg",
  339. "Samschdeg"]
  340. };
  341. var dayPeriodValues = {
  342. narrow: {
  343. am: "mo.",
  344. pm: "nom\xEB.",
  345. midnight: "M\xEBtternuecht",
  346. noon: "M\xEBtteg",
  347. morning: "Moien",
  348. afternoon: "Nom\xEBtteg",
  349. evening: "Owend",
  350. night: "Nuecht"
  351. },
  352. abbreviated: {
  353. am: "moies",
  354. pm: "nom\xEBttes",
  355. midnight: "M\xEBtternuecht",
  356. noon: "M\xEBtteg",
  357. morning: "Moien",
  358. afternoon: "Nom\xEBtteg",
  359. evening: "Owend",
  360. night: "Nuecht"
  361. },
  362. wide: {
  363. am: "moies",
  364. pm: "nom\xEBttes",
  365. midnight: "M\xEBtternuecht",
  366. noon: "M\xEBtteg",
  367. morning: "Moien",
  368. afternoon: "Nom\xEBtteg",
  369. evening: "Owend",
  370. night: "Nuecht"
  371. }
  372. };
  373. var formattingDayPeriodValues = {
  374. narrow: {
  375. am: "mo.",
  376. pm: "nom.",
  377. midnight: "M\xEBtternuecht",
  378. noon: "m\xEBttes",
  379. morning: "moies",
  380. afternoon: "nom\xEBttes",
  381. evening: "owes",
  382. night: "nuets"
  383. },
  384. abbreviated: {
  385. am: "moies",
  386. pm: "nom\xEBttes",
  387. midnight: "M\xEBtternuecht",
  388. noon: "m\xEBttes",
  389. morning: "moies",
  390. afternoon: "nom\xEBttes",
  391. evening: "owes",
  392. night: "nuets"
  393. },
  394. wide: {
  395. am: "moies",
  396. pm: "nom\xEBttes",
  397. midnight: "M\xEBtternuecht",
  398. noon: "m\xEBttes",
  399. morning: "moies",
  400. afternoon: "nom\xEBttes",
  401. evening: "owes",
  402. night: "nuets"
  403. }
  404. };
  405. var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
  406. var number = Number(dirtyNumber);
  407. return number + ".";
  408. };
  409. var localize = {
  410. ordinalNumber: ordinalNumber,
  411. era: buildLocalizeFn({
  412. values: eraValues,
  413. defaultWidth: "wide"
  414. }),
  415. quarter: buildLocalizeFn({
  416. values: quarterValues,
  417. defaultWidth: "wide",
  418. argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
  419. }),
  420. month: buildLocalizeFn({
  421. values: monthValues,
  422. defaultWidth: "wide"
  423. }),
  424. day: buildLocalizeFn({
  425. values: dayValues,
  426. defaultWidth: "wide"
  427. }),
  428. dayPeriod: buildLocalizeFn({
  429. values: dayPeriodValues,
  430. defaultWidth: "wide",
  431. formattingValues: formattingDayPeriodValues,
  432. defaultFormattingWidth: "wide"
  433. })
  434. };
  435. // lib/locale/_lib/buildMatchFn.js
  436. function buildMatchFn(args) {
  437. return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  438. var width = options.width;
  439. var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
  440. var matchResult = string.match(matchPattern);
  441. if (!matchResult) {
  442. return null;
  443. }
  444. var matchedString = matchResult[0];
  445. var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
  446. var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
  447. var value;
  448. value = args.valueCallback ? args.valueCallback(key) : key;
  449. value = options.valueCallback ? options.valueCallback(value) : value;
  450. var rest = string.slice(matchedString.length);
  451. return { value: value, rest: rest };
  452. };
  453. }
  454. function findKey(object, predicate) {
  455. for (var key in object) {
  456. if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
  457. return key;
  458. }
  459. }
  460. return;
  461. }
  462. function findIndex(array, predicate) {
  463. for (var key = 0; key < array.length; key++) {
  464. if (predicate(array[key])) {
  465. return key;
  466. }
  467. }
  468. return;
  469. }
  470. // lib/locale/_lib/buildMatchPatternFn.js
  471. function buildMatchPatternFn(args) {
  472. return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  473. var matchResult = string.match(args.matchPattern);
  474. if (!matchResult)
  475. return null;
  476. var matchedString = matchResult[0];
  477. var parseResult = string.match(args.parsePattern);
  478. if (!parseResult)
  479. return null;
  480. var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
  481. value = options.valueCallback ? options.valueCallback(value) : value;
  482. var rest = string.slice(matchedString.length);
  483. return { value: value, rest: rest };
  484. };
  485. }
  486. // lib/locale/lb/_lib/match.js
  487. var matchOrdinalNumberPattern = /^(\d+)(\.)?/i;
  488. var parseOrdinalNumberPattern = /\d+/i;
  489. var matchEraPatterns = {
  490. narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
  491. abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
  492. wide: /^(viru Christus|virun eiser Zäitrechnung|no Christus|eiser Zäitrechnung)/i
  493. };
  494. var parseEraPatterns = {
  495. any: [/^v/i, /^n/i]
  496. };
  497. var matchQuarterPatterns = {
  498. narrow: /^[1234]/i,
  499. abbreviated: /^q[1234]/i,
  500. wide: /^[1234](\.)? Quartal/i
  501. };
  502. var parseQuarterPatterns = {
  503. any: [/1/i, /2/i, /3/i, /4/i]
  504. };
  505. var matchMonthPatterns = {
  506. narrow: /^[jfmasond]/i,
  507. abbreviated: /^(jan|feb|mäe|abr|mee|jun|jul|aug|sep|okt|nov|dez)/i,
  508. wide: /^(januar|februar|mäerz|abrëll|mee|juni|juli|august|september|oktober|november|dezember)/i
  509. };
  510. var parseMonthPatterns = {
  511. narrow: [
  512. /^j/i,
  513. /^f/i,
  514. /^m/i,
  515. /^a/i,
  516. /^m/i,
  517. /^j/i,
  518. /^j/i,
  519. /^a/i,
  520. /^s/i,
  521. /^o/i,
  522. /^n/i,
  523. /^d/i],
  524. any: [
  525. /^ja/i,
  526. /^f/i,
  527. /^mä/i,
  528. /^ab/i,
  529. /^me/i,
  530. /^jun/i,
  531. /^jul/i,
  532. /^au/i,
  533. /^s/i,
  534. /^o/i,
  535. /^n/i,
  536. /^d/i]
  537. };
  538. var matchDayPatterns = {
  539. narrow: /^[smdf]/i,
  540. short: /^(so|mé|dë|më|do|fr|sa)/i,
  541. abbreviated: /^(son?|méi?|dën?|mët?|don?|fre?|sam?)\.?/i,
  542. wide: /^(sonndeg|méindeg|dënschdeg|mëttwoch|donneschdeg|freideg|samschdeg)/i
  543. };
  544. var parseDayPatterns = {
  545. any: [/^so/i, /^mé/i, /^dë/i, /^më/i, /^do/i, /^f/i, /^sa/i]
  546. };
  547. var matchDayPeriodPatterns = {
  548. narrow: /^(mo\.?|nomë\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i,
  549. abbreviated: /^(moi\.?|nomët\.?|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i,
  550. wide: /^(moies|nomëttes|Mëtternuecht|mëttes|moies|nomëttes|owes|nuets)/i
  551. };
  552. var parseDayPeriodPatterns = {
  553. any: {
  554. am: /^m/i,
  555. pm: /^n/i,
  556. midnight: /^Mëtter/i,
  557. noon: /^mëttes/i,
  558. morning: /moies/i,
  559. afternoon: /nomëttes/i,
  560. evening: /owes/i,
  561. night: /nuets/i
  562. }
  563. };
  564. var match = {
  565. ordinalNumber: buildMatchPatternFn({
  566. matchPattern: matchOrdinalNumberPattern,
  567. parsePattern: parseOrdinalNumberPattern,
  568. valueCallback: function valueCallback(value) {return parseInt(value, 10);}
  569. }),
  570. era: buildMatchFn({
  571. matchPatterns: matchEraPatterns,
  572. defaultMatchWidth: "wide",
  573. parsePatterns: parseEraPatterns,
  574. defaultParseWidth: "any"
  575. }),
  576. quarter: buildMatchFn({
  577. matchPatterns: matchQuarterPatterns,
  578. defaultMatchWidth: "wide",
  579. parsePatterns: parseQuarterPatterns,
  580. defaultParseWidth: "any",
  581. valueCallback: function valueCallback(index) {return index + 1;}
  582. }),
  583. month: buildMatchFn({
  584. matchPatterns: matchMonthPatterns,
  585. defaultMatchWidth: "wide",
  586. parsePatterns: parseMonthPatterns,
  587. defaultParseWidth: "any"
  588. }),
  589. day: buildMatchFn({
  590. matchPatterns: matchDayPatterns,
  591. defaultMatchWidth: "wide",
  592. parsePatterns: parseDayPatterns,
  593. defaultParseWidth: "any"
  594. }),
  595. dayPeriod: buildMatchFn({
  596. matchPatterns: matchDayPeriodPatterns,
  597. defaultMatchWidth: "wide",
  598. parsePatterns: parseDayPeriodPatterns,
  599. defaultParseWidth: "any"
  600. })
  601. };
  602. // lib/locale/lb.js
  603. var lb = {
  604. code: "lb",
  605. formatDistance: formatDistance,
  606. formatLong: formatLong,
  607. formatRelative: formatRelative,
  608. localize: localize,
  609. match: match,
  610. options: {
  611. weekStartsOn: 1,
  612. firstWeekContainsDate: 4
  613. }
  614. };
  615. // lib/locale/lb/cdn.js
  616. window.dateFns = _objectSpread(_objectSpread({},
  617. window.dateFns), {}, {
  618. locale: _objectSpread(_objectSpread({}, (_window$dateFns =
  619. window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
  620. lb: lb }) });
  621. //# debugId=033CECD668028B5D64756E2164756E21
  622. //# sourceMappingURL=cdn.js.map
  623. })();