cdn.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533
  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/ka/_lib/formatDistance.js
  13. var formatDistanceLocale = {
  14. lessThanXSeconds: {
  15. past: "{{count}} \u10EC\u10D0\u10DB\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10EC\u10D8\u10DC",
  16. present: "{{count}} \u10EC\u10D0\u10DB\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8",
  17. future: "{{count}} \u10EC\u10D0\u10DB\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10E8\u10D8"
  18. },
  19. xSeconds: {
  20. past: "{{count}} \u10EC\u10D0\u10DB\u10D8\u10E1 \u10EC\u10D8\u10DC",
  21. present: "{{count}} \u10EC\u10D0\u10DB\u10D8",
  22. future: "{{count}} \u10EC\u10D0\u10DB\u10E8\u10D8"
  23. },
  24. halfAMinute: {
  25. past: "\u10DC\u10D0\u10EE\u10D4\u10D5\u10D0\u10E0\u10D8 \u10EC\u10E3\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
  26. present: "\u10DC\u10D0\u10EE\u10D4\u10D5\u10D0\u10E0\u10D8 \u10EC\u10E3\u10D7\u10D8",
  27. future: "\u10DC\u10D0\u10EE\u10D4\u10D5\u10D0\u10E0\u10D8 \u10EC\u10E3\u10D7\u10E8\u10D8"
  28. },
  29. lessThanXMinutes: {
  30. past: "{{count}} \u10EC\u10E3\u10D7\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10EC\u10D8\u10DC",
  31. present: "{{count}} \u10EC\u10E3\u10D7\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8",
  32. future: "{{count}} \u10EC\u10E3\u10D7\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10E8\u10D8"
  33. },
  34. xMinutes: {
  35. past: "{{count}} \u10EC\u10E3\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
  36. present: "{{count}} \u10EC\u10E3\u10D7\u10D8",
  37. future: "{{count}} \u10EC\u10E3\u10D7\u10E8\u10D8"
  38. },
  39. aboutXHours: {
  40. past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10E1\u10D0\u10D0\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
  41. present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10E1\u10D0\u10D0\u10D7\u10D8",
  42. future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10E1\u10D0\u10D0\u10D7\u10E8\u10D8"
  43. },
  44. xHours: {
  45. past: "{{count}} \u10E1\u10D0\u10D0\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
  46. present: "{{count}} \u10E1\u10D0\u10D0\u10D7\u10D8",
  47. future: "{{count}} \u10E1\u10D0\u10D0\u10D7\u10E8\u10D8"
  48. },
  49. xDays: {
  50. past: "{{count}} \u10D3\u10E6\u10D8\u10E1 \u10EC\u10D8\u10DC",
  51. present: "{{count}} \u10D3\u10E6\u10D4",
  52. future: "{{count}} \u10D3\u10E6\u10D4\u10E8\u10D8"
  53. },
  54. aboutXWeeks: {
  55. past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E1 \u10EC\u10D8\u10DC",
  56. present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D9\u10D5\u10D8\u10E0\u10D0",
  57. future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E8\u10D8"
  58. },
  59. xWeeks: {
  60. past: "{{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E1 \u10D9\u10D5\u10D8\u10E0\u10D0",
  61. present: "{{count}} \u10D9\u10D5\u10D8\u10E0\u10D0",
  62. future: "{{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E8\u10D8"
  63. },
  64. aboutXMonths: {
  65. past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D7\u10D5\u10D8\u10E1 \u10EC\u10D8\u10DC",
  66. present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D7\u10D5\u10D4",
  67. future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D7\u10D5\u10D4\u10E8\u10D8"
  68. },
  69. xMonths: {
  70. past: "{{count}} \u10D7\u10D5\u10D8\u10E1 \u10EC\u10D8\u10DC",
  71. present: "{{count}} \u10D7\u10D5\u10D4",
  72. future: "{{count}} \u10D7\u10D5\u10D4\u10E8\u10D8"
  73. },
  74. aboutXYears: {
  75. past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10EC\u10DA\u10D8\u10E1 \u10EC\u10D8\u10DC",
  76. present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10EC\u10D4\u10DA\u10D8",
  77. future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10EC\u10D4\u10DA\u10E8\u10D8"
  78. },
  79. xYears: {
  80. past: "{{count}} \u10EC\u10DA\u10D8\u10E1 \u10EC\u10D8\u10DC",
  81. present: "{{count}} \u10EC\u10D4\u10DA\u10D8",
  82. future: "{{count}} \u10EC\u10D4\u10DA\u10E8\u10D8"
  83. },
  84. overXYears: {
  85. past: "{{count}} \u10EC\u10D4\u10DA\u10D6\u10D4 \u10DB\u10D4\u10E2\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10EC\u10D8\u10DC",
  86. present: "{{count}} \u10EC\u10D4\u10DA\u10D6\u10D4 \u10DB\u10D4\u10E2\u10D8",
  87. future: "{{count}} \u10EC\u10D4\u10DA\u10D6\u10D4 \u10DB\u10D4\u10E2\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10E8\u10D4\u10DB\u10D3\u10D4\u10D2"
  88. },
  89. almostXYears: {
  90. past: "\u10D7\u10D8\u10D7\u10E5\u10DB\u10D8\u10E1 {{count}} \u10EC\u10DA\u10D8\u10E1 \u10EC\u10D8\u10DC",
  91. present: "\u10D7\u10D8\u10D7\u10E5\u10DB\u10D8\u10E1 {{count}} \u10EC\u10D4\u10DA\u10D8",
  92. future: "\u10D7\u10D8\u10D7\u10E5\u10DB\u10D8\u10E1 {{count}} \u10EC\u10D4\u10DA\u10E8\u10D8"
  93. }
  94. };
  95. var formatDistance = function formatDistance(token, count, options) {
  96. var result;
  97. var tokenValue = formatDistanceLocale[token];
  98. if (typeof tokenValue === "string") {
  99. result = tokenValue;
  100. } else if (options !== null && options !== void 0 && options.addSuffix && options.comparison && options.comparison > 0) {
  101. result = tokenValue.future.replace("{{count}}", String(count));
  102. } else if (options !== null && options !== void 0 && options.addSuffix) {
  103. result = tokenValue.past.replace("{{count}}", String(count));
  104. } else {
  105. result = tokenValue.present.replace("{{count}}", String(count));
  106. }
  107. return result;
  108. };
  109. // lib/locale/_lib/buildFormatLongFn.js
  110. function buildFormatLongFn(args) {
  111. return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  112. var width = options.width ? String(options.width) : args.defaultWidth;
  113. var format = args.formats[width] || args.formats[args.defaultWidth];
  114. return format;
  115. };
  116. }
  117. // lib/locale/ka/_lib/formatLong.js
  118. var dateFormats = {
  119. full: "EEEE, do MMMM, y",
  120. long: "do, MMMM, y",
  121. medium: "d, MMM, y",
  122. short: "dd/MM/yyyy"
  123. };
  124. var timeFormats = {
  125. full: "h:mm:ss a zzzz",
  126. long: "h:mm:ss a z",
  127. medium: "h:mm:ss a",
  128. short: "h:mm a"
  129. };
  130. var dateTimeFormats = {
  131. full: "{{date}} {{time}}'-\u10D6\u10D4'",
  132. long: "{{date}} {{time}}'-\u10D6\u10D4'",
  133. medium: "{{date}}, {{time}}",
  134. short: "{{date}}, {{time}}"
  135. };
  136. var formatLong = {
  137. date: buildFormatLongFn({
  138. formats: dateFormats,
  139. defaultWidth: "full"
  140. }),
  141. time: buildFormatLongFn({
  142. formats: timeFormats,
  143. defaultWidth: "full"
  144. }),
  145. dateTime: buildFormatLongFn({
  146. formats: dateTimeFormats,
  147. defaultWidth: "full"
  148. })
  149. };
  150. // lib/locale/ka/_lib/formatRelative.js
  151. var formatRelativeLocale = {
  152. lastWeek: "'\u10EC\u10D8\u10DC\u10D0' eeee p'-\u10D6\u10D4'",
  153. yesterday: "'\u10D2\u10E3\u10E8\u10D8\u10DC' p'-\u10D6\u10D4'",
  154. today: "'\u10D3\u10E6\u10D4\u10E1' p'-\u10D6\u10D4'",
  155. tomorrow: "'\u10EE\u10D5\u10D0\u10DA' p'-\u10D6\u10D4'",
  156. nextWeek: "'\u10E8\u10D4\u10DB\u10D3\u10D4\u10D2\u10D8' eeee p'-\u10D6\u10D4'",
  157. other: "P"
  158. };
  159. var formatRelative = function formatRelative(token, _date, _baseDate, _options) {return formatRelativeLocale[token];};
  160. // lib/locale/_lib/buildLocalizeFn.js
  161. function buildLocalizeFn(args) {
  162. return function (value, options) {
  163. var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
  164. var valuesArray;
  165. if (context === "formatting" && args.formattingValues) {
  166. var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
  167. var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
  168. valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
  169. } else {
  170. var _defaultWidth = args.defaultWidth;
  171. var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
  172. valuesArray = args.values[_width] || args.values[_defaultWidth];
  173. }
  174. var index = args.argumentCallback ? args.argumentCallback(value) : value;
  175. return valuesArray[index];
  176. };
  177. }
  178. // lib/locale/ka/_lib/localize.js
  179. var eraValues = {
  180. narrow: ["\u10E9.\u10EC-\u10DB\u10D3\u10D4", "\u10E9.\u10EC"],
  181. abbreviated: ["\u10E9\u10D5.\u10EC-\u10DB\u10D3\u10D4", "\u10E9\u10D5.\u10EC"],
  182. wide: ["\u10E9\u10D5\u10D4\u10DC\u10E1 \u10EC\u10D4\u10DA\u10D7\u10D0\u10E6\u10E0\u10D8\u10EA\u10EE\u10D5\u10D0\u10DB\u10D3\u10D4", "\u10E9\u10D5\u10D4\u10DC\u10D8 \u10EC\u10D4\u10DA\u10D7\u10D0\u10E6\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8\u10D7"]
  183. };
  184. var quarterValues = {
  185. narrow: ["1", "2", "3", "4"],
  186. abbreviated: ["1-\u10DA\u10D8 \u10D9\u10D5", "2-\u10D4 \u10D9\u10D5", "3-\u10D4 \u10D9\u10D5", "4-\u10D4 \u10D9\u10D5"],
  187. wide: ["1-\u10DA\u10D8 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8", "2-\u10D4 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8", "3-\u10D4 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8", "4-\u10D4 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8"]
  188. };
  189. var monthValues = {
  190. narrow: [
  191. "\u10D8\u10D0",
  192. "\u10D7\u10D4",
  193. "\u10DB\u10D0",
  194. "\u10D0\u10DE",
  195. "\u10DB\u10E1",
  196. "\u10D5\u10DC",
  197. "\u10D5\u10DA",
  198. "\u10D0\u10D2",
  199. "\u10E1\u10D4",
  200. "\u10DD\u10E5",
  201. "\u10DC\u10DD",
  202. "\u10D3\u10D4"],
  203. abbreviated: [
  204. "\u10D8\u10D0\u10DC",
  205. "\u10D7\u10D4\u10D1",
  206. "\u10DB\u10D0\u10E0",
  207. "\u10D0\u10DE\u10E0",
  208. "\u10DB\u10D0\u10D8",
  209. "\u10D8\u10D5\u10DC",
  210. "\u10D8\u10D5\u10DA",
  211. "\u10D0\u10D2\u10D5",
  212. "\u10E1\u10D4\u10E5",
  213. "\u10DD\u10E5\u10E2",
  214. "\u10DC\u10DD\u10D4",
  215. "\u10D3\u10D4\u10D9"],
  216. wide: [
  217. "\u10D8\u10D0\u10DC\u10D5\u10D0\u10E0\u10D8",
  218. "\u10D7\u10D4\u10D1\u10D4\u10E0\u10D5\u10D0\u10DA\u10D8",
  219. "\u10DB\u10D0\u10E0\u10E2\u10D8",
  220. "\u10D0\u10DE\u10E0\u10D8\u10DA\u10D8",
  221. "\u10DB\u10D0\u10D8\u10E1\u10D8",
  222. "\u10D8\u10D5\u10DC\u10D8\u10E1\u10D8",
  223. "\u10D8\u10D5\u10DA\u10D8\u10E1\u10D8",
  224. "\u10D0\u10D2\u10D5\u10D8\u10E1\u10E2\u10DD",
  225. "\u10E1\u10D4\u10E5\u10E2\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8",
  226. "\u10DD\u10E5\u10E2\u10DD\u10DB\u10D1\u10D4\u10E0\u10D8",
  227. "\u10DC\u10DD\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8",
  228. "\u10D3\u10D4\u10D9\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8"]
  229. };
  230. var dayValues = {
  231. narrow: ["\u10D9\u10D5", "\u10DD\u10E0", "\u10E1\u10D0", "\u10DD\u10D7", "\u10EE\u10E3", "\u10DE\u10D0", "\u10E8\u10D0"],
  232. short: ["\u10D9\u10D5\u10D8", "\u10DD\u10E0\u10E8", "\u10E1\u10D0\u10DB", "\u10DD\u10D7\u10EE", "\u10EE\u10E3\u10D7", "\u10DE\u10D0\u10E0", "\u10E8\u10D0\u10D1"],
  233. abbreviated: ["\u10D9\u10D5\u10D8", "\u10DD\u10E0\u10E8", "\u10E1\u10D0\u10DB", "\u10DD\u10D7\u10EE", "\u10EE\u10E3\u10D7", "\u10DE\u10D0\u10E0", "\u10E8\u10D0\u10D1"],
  234. wide: [
  235. "\u10D9\u10D5\u10D8\u10E0\u10D0",
  236. "\u10DD\u10E0\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
  237. "\u10E1\u10D0\u10DB\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
  238. "\u10DD\u10D7\u10EE\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
  239. "\u10EE\u10E3\u10D7\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
  240. "\u10DE\u10D0\u10E0\u10D0\u10E1\u10D9\u10D4\u10D5\u10D8",
  241. "\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8"]
  242. };
  243. var dayPeriodValues = {
  244. narrow: {
  245. am: "a",
  246. pm: "p",
  247. midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D4",
  248. noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4",
  249. morning: "\u10D3\u10D8\u10DA\u10D0",
  250. afternoon: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
  251. evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
  252. night: "\u10E6\u10D0\u10DB\u10D4"
  253. },
  254. abbreviated: {
  255. am: "AM",
  256. pm: "PM",
  257. midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D4",
  258. noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4",
  259. morning: "\u10D3\u10D8\u10DA\u10D0",
  260. afternoon: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
  261. evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
  262. night: "\u10E6\u10D0\u10DB\u10D4"
  263. },
  264. wide: {
  265. am: "a.m.",
  266. pm: "p.m.",
  267. midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D4",
  268. noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4",
  269. morning: "\u10D3\u10D8\u10DA\u10D0",
  270. afternoon: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
  271. evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
  272. night: "\u10E6\u10D0\u10DB\u10D4"
  273. }
  274. };
  275. var formattingDayPeriodValues = {
  276. narrow: {
  277. am: "a",
  278. pm: "p",
  279. midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D8\u10D7",
  280. noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D8\u10E1\u10D0\u10E1",
  281. morning: "\u10D3\u10D8\u10DA\u10D8\u10D7",
  282. afternoon: "\u10DC\u10D0\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4\u10D5\u10E1",
  283. evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD\u10E1",
  284. night: "\u10E6\u10D0\u10DB\u10D8\u10D7"
  285. },
  286. abbreviated: {
  287. am: "AM",
  288. pm: "PM",
  289. midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D8\u10D7",
  290. noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D8\u10E1\u10D0\u10E1",
  291. morning: "\u10D3\u10D8\u10DA\u10D8\u10D7",
  292. afternoon: "\u10DC\u10D0\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4\u10D5\u10E1",
  293. evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD\u10E1",
  294. night: "\u10E6\u10D0\u10DB\u10D8\u10D7"
  295. },
  296. wide: {
  297. am: "a.m.",
  298. pm: "p.m.",
  299. midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D8\u10D7",
  300. noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D8\u10E1\u10D0\u10E1",
  301. morning: "\u10D3\u10D8\u10DA\u10D8\u10D7",
  302. afternoon: "\u10DC\u10D0\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4\u10D5\u10E1",
  303. evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD\u10E1",
  304. night: "\u10E6\u10D0\u10DB\u10D8\u10D7"
  305. }
  306. };
  307. var ordinalNumber = function ordinalNumber(dirtyNumber) {
  308. var number = Number(dirtyNumber);
  309. if (number === 1) {
  310. return number + "-\u10DA\u10D8";
  311. }
  312. return number + "-\u10D4";
  313. };
  314. var localize = {
  315. ordinalNumber: ordinalNumber,
  316. era: buildLocalizeFn({
  317. values: eraValues,
  318. defaultWidth: "wide"
  319. }),
  320. quarter: buildLocalizeFn({
  321. values: quarterValues,
  322. defaultWidth: "wide",
  323. argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
  324. }),
  325. month: buildLocalizeFn({
  326. values: monthValues,
  327. defaultWidth: "wide"
  328. }),
  329. day: buildLocalizeFn({
  330. values: dayValues,
  331. defaultWidth: "wide"
  332. }),
  333. dayPeriod: buildLocalizeFn({
  334. values: dayPeriodValues,
  335. defaultWidth: "wide",
  336. formattingValues: formattingDayPeriodValues,
  337. defaultFormattingWidth: "wide"
  338. })
  339. };
  340. // lib/locale/_lib/buildMatchFn.js
  341. function buildMatchFn(args) {
  342. return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  343. var width = options.width;
  344. var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
  345. var matchResult = string.match(matchPattern);
  346. if (!matchResult) {
  347. return null;
  348. }
  349. var matchedString = matchResult[0];
  350. var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
  351. var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
  352. var value;
  353. value = args.valueCallback ? args.valueCallback(key) : key;
  354. value = options.valueCallback ? options.valueCallback(value) : value;
  355. var rest = string.slice(matchedString.length);
  356. return { value: value, rest: rest };
  357. };
  358. }
  359. function findKey(object, predicate) {
  360. for (var key in object) {
  361. if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
  362. return key;
  363. }
  364. }
  365. return;
  366. }
  367. function findIndex(array, predicate) {
  368. for (var key = 0; key < array.length; key++) {
  369. if (predicate(array[key])) {
  370. return key;
  371. }
  372. }
  373. return;
  374. }
  375. // lib/locale/_lib/buildMatchPatternFn.js
  376. function buildMatchPatternFn(args) {
  377. return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  378. var matchResult = string.match(args.matchPattern);
  379. if (!matchResult)
  380. return null;
  381. var matchedString = matchResult[0];
  382. var parseResult = string.match(args.parsePattern);
  383. if (!parseResult)
  384. return null;
  385. var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
  386. value = options.valueCallback ? options.valueCallback(value) : value;
  387. var rest = string.slice(matchedString.length);
  388. return { value: value, rest: rest };
  389. };
  390. }
  391. // lib/locale/ka/_lib/match.js
  392. var matchOrdinalNumberPattern = /^(\d+)(-ლი|-ე)?/i;
  393. var parseOrdinalNumberPattern = /\d+/i;
  394. var matchEraPatterns = {
  395. narrow: /^(ჩვ?\.წ)/i,
  396. abbreviated: /^(ჩვ?\.წ)/i,
  397. wide: /^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i
  398. };
  399. var parseEraPatterns = {
  400. any: [
  401. /^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i,
  402. /^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i]
  403. };
  404. var matchQuarterPatterns = {
  405. narrow: /^[1234]/i,
  406. abbreviated: /^[1234]-(ლი|ე)? კვ/i,
  407. wide: /^[1234]-(ლი|ე)? კვარტალი/i
  408. };
  409. var parseQuarterPatterns = {
  410. any: [/1/i, /2/i, /3/i, /4/i]
  411. };
  412. var matchMonthPatterns = {
  413. any: /^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i
  414. };
  415. var parseMonthPatterns = {
  416. any: [
  417. /^ია/i,
  418. /^თ/i,
  419. /^მარ/i,
  420. /^აპ/i,
  421. /^მაი/i,
  422. /^ი?ვნ/i,
  423. /^ი?ვლ/i,
  424. /^აგ/i,
  425. /^ს/i,
  426. /^ო/i,
  427. /^ნ/i,
  428. /^დ/i]
  429. };
  430. var matchDayPatterns = {
  431. narrow: /^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,
  432. short: /^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,
  433. wide: /^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i
  434. };
  435. var parseDayPatterns = {
  436. any: [/^კვ/i, /^ორ/i, /^სა/i, /^ოთ/i, /^ხუ/i, /^პა/i, /^შა/i]
  437. };
  438. var matchDayPeriodPatterns = {
  439. any: /^([ap]\.?\s?m\.?|შუაღ|დილ)/i
  440. };
  441. var parseDayPeriodPatterns = {
  442. any: {
  443. am: /^a/i,
  444. pm: /^p/i,
  445. midnight: /^შუაღ/i,
  446. noon: /^შუადღ/i,
  447. morning: /^დილ/i,
  448. afternoon: /ნაშუადღევს/i,
  449. evening: /საღამო/i,
  450. night: /ღამ/i
  451. }
  452. };
  453. var match = {
  454. ordinalNumber: buildMatchPatternFn({
  455. matchPattern: matchOrdinalNumberPattern,
  456. parsePattern: parseOrdinalNumberPattern,
  457. valueCallback: function valueCallback(value) {return parseInt(value, 10);}
  458. }),
  459. era: buildMatchFn({
  460. matchPatterns: matchEraPatterns,
  461. defaultMatchWidth: "wide",
  462. parsePatterns: parseEraPatterns,
  463. defaultParseWidth: "any"
  464. }),
  465. quarter: buildMatchFn({
  466. matchPatterns: matchQuarterPatterns,
  467. defaultMatchWidth: "wide",
  468. parsePatterns: parseQuarterPatterns,
  469. defaultParseWidth: "any",
  470. valueCallback: function valueCallback(index) {return index + 1;}
  471. }),
  472. month: buildMatchFn({
  473. matchPatterns: matchMonthPatterns,
  474. defaultMatchWidth: "any",
  475. parsePatterns: parseMonthPatterns,
  476. defaultParseWidth: "any"
  477. }),
  478. day: buildMatchFn({
  479. matchPatterns: matchDayPatterns,
  480. defaultMatchWidth: "wide",
  481. parsePatterns: parseDayPatterns,
  482. defaultParseWidth: "any"
  483. }),
  484. dayPeriod: buildMatchFn({
  485. matchPatterns: matchDayPeriodPatterns,
  486. defaultMatchWidth: "any",
  487. parsePatterns: parseDayPeriodPatterns,
  488. defaultParseWidth: "any"
  489. })
  490. };
  491. // lib/locale/ka.js
  492. var ka = {
  493. code: "ka",
  494. formatDistance: formatDistance,
  495. formatLong: formatLong,
  496. formatRelative: formatRelative,
  497. localize: localize,
  498. match: match,
  499. options: {
  500. weekStartsOn: 1,
  501. firstWeekContainsDate: 1
  502. }
  503. };
  504. // lib/locale/ka/cdn.js
  505. window.dateFns = _objectSpread(_objectSpread({},
  506. window.dateFns), {}, {
  507. locale: _objectSpread(_objectSpread({}, (_window$dateFns =
  508. window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
  509. ka: ka }) });
  510. //# debugId=DD292831071FD68764756E2164756E21
  511. //# sourceMappingURL=cdn.js.map
  512. })();