cdn.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612
  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/te/_lib/formatDistance.js
  13. var formatDistanceLocale = {
  14. lessThanXSeconds: {
  15. standalone: {
  16. one: "\u0C38\u0C46\u0C15\u0C28\u0C41 \u0C15\u0C28\u0C4D\u0C28\u0C3E \u0C24\u0C15\u0C4D\u0C15\u0C41\u0C35",
  17. other: "{{count}} \u0C38\u0C46\u0C15\u0C28\u0C4D\u0C32 \u0C15\u0C28\u0C4D\u0C28\u0C3E \u0C24\u0C15\u0C4D\u0C15\u0C41\u0C35"
  18. },
  19. withPreposition: {
  20. one: "\u0C38\u0C46\u0C15\u0C28\u0C41",
  21. other: "{{count}} \u0C38\u0C46\u0C15\u0C28\u0C4D\u0C32"
  22. }
  23. },
  24. xSeconds: {
  25. standalone: {
  26. one: "\u0C12\u0C15 \u0C38\u0C46\u0C15\u0C28\u0C41",
  27. other: "{{count}} \u0C38\u0C46\u0C15\u0C28\u0C4D\u0C32"
  28. },
  29. withPreposition: {
  30. one: "\u0C12\u0C15 \u0C38\u0C46\u0C15\u0C28\u0C41",
  31. other: "{{count}} \u0C38\u0C46\u0C15\u0C28\u0C4D\u0C32"
  32. }
  33. },
  34. halfAMinute: {
  35. standalone: "\u0C05\u0C30 \u0C28\u0C3F\u0C2E\u0C3F\u0C37\u0C02",
  36. withPreposition: "\u0C05\u0C30 \u0C28\u0C3F\u0C2E\u0C3F\u0C37\u0C02"
  37. },
  38. lessThanXMinutes: {
  39. standalone: {
  40. one: "\u0C12\u0C15 \u0C28\u0C3F\u0C2E\u0C3F\u0C37\u0C02 \u0C15\u0C28\u0C4D\u0C28\u0C3E \u0C24\u0C15\u0C4D\u0C15\u0C41\u0C35",
  41. other: "{{count}} \u0C28\u0C3F\u0C2E\u0C3F\u0C37\u0C3E\u0C32 \u0C15\u0C28\u0C4D\u0C28\u0C3E \u0C24\u0C15\u0C4D\u0C15\u0C41\u0C35"
  42. },
  43. withPreposition: {
  44. one: "\u0C12\u0C15 \u0C28\u0C3F\u0C2E\u0C3F\u0C37\u0C02",
  45. other: "{{count}} \u0C28\u0C3F\u0C2E\u0C3F\u0C37\u0C3E\u0C32"
  46. }
  47. },
  48. xMinutes: {
  49. standalone: {
  50. one: "\u0C12\u0C15 \u0C28\u0C3F\u0C2E\u0C3F\u0C37\u0C02",
  51. other: "{{count}} \u0C28\u0C3F\u0C2E\u0C3F\u0C37\u0C3E\u0C32\u0C41"
  52. },
  53. withPreposition: {
  54. one: "\u0C12\u0C15 \u0C28\u0C3F\u0C2E\u0C3F\u0C37\u0C02",
  55. other: "{{count}} \u0C28\u0C3F\u0C2E\u0C3F\u0C37\u0C3E\u0C32"
  56. }
  57. },
  58. aboutXHours: {
  59. standalone: {
  60. one: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 \u0C12\u0C15 \u0C17\u0C02\u0C1F",
  61. other: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 {{count}} \u0C17\u0C02\u0C1F\u0C32\u0C41"
  62. },
  63. withPreposition: {
  64. one: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 \u0C12\u0C15 \u0C17\u0C02\u0C1F",
  65. other: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 {{count}} \u0C17\u0C02\u0C1F\u0C32"
  66. }
  67. },
  68. xHours: {
  69. standalone: {
  70. one: "\u0C12\u0C15 \u0C17\u0C02\u0C1F",
  71. other: "{{count}} \u0C17\u0C02\u0C1F\u0C32\u0C41"
  72. },
  73. withPreposition: {
  74. one: "\u0C12\u0C15 \u0C17\u0C02\u0C1F",
  75. other: "{{count}} \u0C17\u0C02\u0C1F\u0C32"
  76. }
  77. },
  78. xDays: {
  79. standalone: {
  80. one: "\u0C12\u0C15 \u0C30\u0C4B\u0C1C\u0C41",
  81. other: "{{count}} \u0C30\u0C4B\u0C1C\u0C41\u0C32\u0C41"
  82. },
  83. withPreposition: {
  84. one: "\u0C12\u0C15 \u0C30\u0C4B\u0C1C\u0C41",
  85. other: "{{count}} \u0C30\u0C4B\u0C1C\u0C41\u0C32"
  86. }
  87. },
  88. aboutXWeeks: {
  89. standalone: {
  90. one: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 \u0C12\u0C15 \u0C35\u0C3E\u0C30\u0C02",
  91. other: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 {{count}} \u0C35\u0C3E\u0C30\u0C3E\u0C32\u0C41"
  92. },
  93. withPreposition: {
  94. one: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 \u0C12\u0C15 \u0C35\u0C3E\u0C30\u0C02",
  95. other: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 {{count}} \u0C35\u0C3E\u0C30\u0C3E\u0C32\u0C32"
  96. }
  97. },
  98. xWeeks: {
  99. standalone: {
  100. one: "\u0C12\u0C15 \u0C35\u0C3E\u0C30\u0C02",
  101. other: "{{count}} \u0C35\u0C3E\u0C30\u0C3E\u0C32\u0C41"
  102. },
  103. withPreposition: {
  104. one: "\u0C12\u0C15 \u0C35\u0C3E\u0C30\u0C02",
  105. other: "{{count}} \u0C35\u0C3E\u0C30\u0C3E\u0C32\u0C32"
  106. }
  107. },
  108. aboutXMonths: {
  109. standalone: {
  110. one: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 \u0C12\u0C15 \u0C28\u0C46\u0C32",
  111. other: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 {{count}} \u0C28\u0C46\u0C32\u0C32\u0C41"
  112. },
  113. withPreposition: {
  114. one: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 \u0C12\u0C15 \u0C28\u0C46\u0C32",
  115. other: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 {{count}} \u0C28\u0C46\u0C32\u0C32"
  116. }
  117. },
  118. xMonths: {
  119. standalone: {
  120. one: "\u0C12\u0C15 \u0C28\u0C46\u0C32",
  121. other: "{{count}} \u0C28\u0C46\u0C32\u0C32\u0C41"
  122. },
  123. withPreposition: {
  124. one: "\u0C12\u0C15 \u0C28\u0C46\u0C32",
  125. other: "{{count}} \u0C28\u0C46\u0C32\u0C32"
  126. }
  127. },
  128. aboutXYears: {
  129. standalone: {
  130. one: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 \u0C12\u0C15 \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C02",
  131. other: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 {{count}} \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C3E\u0C32\u0C41"
  132. },
  133. withPreposition: {
  134. one: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 \u0C12\u0C15 \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C02",
  135. other: "\u0C38\u0C41\u0C2E\u0C3E\u0C30\u0C41 {{count}} \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C3E\u0C32"
  136. }
  137. },
  138. xYears: {
  139. standalone: {
  140. one: "\u0C12\u0C15 \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C02",
  141. other: "{{count}} \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C3E\u0C32\u0C41"
  142. },
  143. withPreposition: {
  144. one: "\u0C12\u0C15 \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C02",
  145. other: "{{count}} \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C3E\u0C32"
  146. }
  147. },
  148. overXYears: {
  149. standalone: {
  150. one: "\u0C12\u0C15 \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C02 \u0C2A\u0C48\u0C17\u0C3E",
  151. other: "{{count}} \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C3E\u0C32\u0C15\u0C41 \u0C2A\u0C48\u0C17\u0C3E"
  152. },
  153. withPreposition: {
  154. one: "\u0C12\u0C15 \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C02",
  155. other: "{{count}} \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C3E\u0C32"
  156. }
  157. },
  158. almostXYears: {
  159. standalone: {
  160. one: "\u0C26\u0C3E\u0C26\u0C3E\u0C2A\u0C41 \u0C12\u0C15 \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C02",
  161. other: "\u0C26\u0C3E\u0C26\u0C3E\u0C2A\u0C41 {{count}} \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C3E\u0C32\u0C41"
  162. },
  163. withPreposition: {
  164. one: "\u0C26\u0C3E\u0C26\u0C3E\u0C2A\u0C41 \u0C12\u0C15 \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C02",
  165. other: "\u0C26\u0C3E\u0C26\u0C3E\u0C2A\u0C41 {{count}} \u0C38\u0C02\u0C35\u0C24\u0C4D\u0C38\u0C30\u0C3E\u0C32"
  166. }
  167. }
  168. };
  169. var formatDistance = function formatDistance(token, count, options) {
  170. var result;
  171. var tokenValue = options !== null && options !== void 0 && options.addSuffix ? formatDistanceLocale[token].withPreposition : formatDistanceLocale[token].standalone;
  172. if (typeof tokenValue === "string") {
  173. result = tokenValue;
  174. } else if (count === 1) {
  175. result = tokenValue.one;
  176. } else {
  177. result = tokenValue.other.replace("{{count}}", String(count));
  178. }
  179. if (options !== null && options !== void 0 && options.addSuffix) {
  180. if (options.comparison && options.comparison > 0) {
  181. return result + "\u0C32\u0C4B";
  182. } else {
  183. return result + " \u0C15\u0C4D\u0C30\u0C3F\u0C24\u0C02";
  184. }
  185. }
  186. return result;
  187. };
  188. // lib/locale/_lib/buildFormatLongFn.js
  189. function buildFormatLongFn(args) {
  190. return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  191. var width = options.width ? String(options.width) : args.defaultWidth;
  192. var format = args.formats[width] || args.formats[args.defaultWidth];
  193. return format;
  194. };
  195. }
  196. // lib/locale/te/_lib/formatLong.js
  197. var dateFormats = {
  198. full: "d, MMMM y, EEEE",
  199. long: "d MMMM, y",
  200. medium: "d MMM, y",
  201. short: "dd-MM-yy"
  202. };
  203. var timeFormats = {
  204. full: "h:mm:ss a zzzz",
  205. long: "h:mm:ss a z",
  206. medium: "h:mm:ss a",
  207. short: "h:mm a"
  208. };
  209. var dateTimeFormats = {
  210. full: "{{date}} {{time}}'\u0C15\u0C3F'",
  211. long: "{{date}} {{time}}'\u0C15\u0C3F'",
  212. medium: "{{date}} {{time}}",
  213. short: "{{date}} {{time}}"
  214. };
  215. var formatLong = {
  216. date: buildFormatLongFn({
  217. formats: dateFormats,
  218. defaultWidth: "full"
  219. }),
  220. time: buildFormatLongFn({
  221. formats: timeFormats,
  222. defaultWidth: "full"
  223. }),
  224. dateTime: buildFormatLongFn({
  225. formats: dateTimeFormats,
  226. defaultWidth: "full"
  227. })
  228. };
  229. // lib/locale/te/_lib/formatRelative.js
  230. var formatRelativeLocale = {
  231. lastWeek: "'\u0C17\u0C24' eeee p",
  232. yesterday: "'\u0C28\u0C3F\u0C28\u0C4D\u0C28' p",
  233. today: "'\u0C08 \u0C30\u0C4B\u0C1C\u0C41' p",
  234. tomorrow: "'\u0C30\u0C47\u0C2A\u0C41' p",
  235. nextWeek: "'\u0C24\u0C26\u0C41\u0C2A\u0C30\u0C3F' eeee p",
  236. other: "P"
  237. };
  238. var formatRelative = function formatRelative(token, _date, _baseDate, _options) {return formatRelativeLocale[token];};
  239. // lib/locale/_lib/buildLocalizeFn.js
  240. function buildLocalizeFn(args) {
  241. return function (value, options) {
  242. var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
  243. var valuesArray;
  244. if (context === "formatting" && args.formattingValues) {
  245. var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
  246. var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
  247. valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
  248. } else {
  249. var _defaultWidth = args.defaultWidth;
  250. var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
  251. valuesArray = args.values[_width] || args.values[_defaultWidth];
  252. }
  253. var index = args.argumentCallback ? args.argumentCallback(value) : value;
  254. return valuesArray[index];
  255. };
  256. }
  257. // lib/locale/te/_lib/localize.js
  258. var eraValues = {
  259. narrow: ["\u0C15\u0C4D\u0C30\u0C40.\u0C2A\u0C42.", "\u0C15\u0C4D\u0C30\u0C40.\u0C36."],
  260. abbreviated: ["\u0C15\u0C4D\u0C30\u0C40.\u0C2A\u0C42.", "\u0C15\u0C4D\u0C30\u0C40.\u0C36."],
  261. wide: ["\u0C15\u0C4D\u0C30\u0C40\u0C38\u0C4D\u0C24\u0C41 \u0C2A\u0C42\u0C30\u0C4D\u0C35\u0C02", "\u0C15\u0C4D\u0C30\u0C40\u0C38\u0C4D\u0C24\u0C41\u0C36\u0C15\u0C02"]
  262. };
  263. var quarterValues = {
  264. narrow: ["1", "2", "3", "4"],
  265. abbreviated: ["\u0C24\u0C4D\u0C30\u0C481", "\u0C24\u0C4D\u0C30\u0C482", "\u0C24\u0C4D\u0C30\u0C483", "\u0C24\u0C4D\u0C30\u0C484"],
  266. wide: ["1\u0C35 \u0C24\u0C4D\u0C30\u0C48\u0C2E\u0C3E\u0C38\u0C3F\u0C15\u0C02", "2\u0C35 \u0C24\u0C4D\u0C30\u0C48\u0C2E\u0C3E\u0C38\u0C3F\u0C15\u0C02", "3\u0C35 \u0C24\u0C4D\u0C30\u0C48\u0C2E\u0C3E\u0C38\u0C3F\u0C15\u0C02", "4\u0C35 \u0C24\u0C4D\u0C30\u0C48\u0C2E\u0C3E\u0C38\u0C3F\u0C15\u0C02"]
  267. };
  268. var monthValues = {
  269. narrow: ["\u0C1C", "\u0C2B\u0C3F", "\u0C2E\u0C3E", "\u0C0F", "\u0C2E\u0C47", "\u0C1C\u0C42", "\u0C1C\u0C41", "\u0C06", "\u0C38\u0C46", "\u0C05", "\u0C28", "\u0C21\u0C3F"],
  270. abbreviated: [
  271. "\u0C1C\u0C28",
  272. "\u0C2B\u0C3F\u0C2C\u0C4D\u0C30",
  273. "\u0C2E\u0C3E\u0C30\u0C4D\u0C1A\u0C3F",
  274. "\u0C0F\u0C2A\u0C4D\u0C30\u0C3F",
  275. "\u0C2E\u0C47",
  276. "\u0C1C\u0C42\u0C28\u0C4D",
  277. "\u0C1C\u0C41\u0C32\u0C48",
  278. "\u0C06\u0C17",
  279. "\u0C38\u0C46\u0C2A\u0C4D\u0C1F\u0C46\u0C02",
  280. "\u0C05\u0C15\u0C4D\u0C1F\u0C4B",
  281. "\u0C28\u0C35\u0C02",
  282. "\u0C21\u0C3F\u0C38\u0C46\u0C02"],
  283. wide: [
  284. "\u0C1C\u0C28\u0C35\u0C30\u0C3F",
  285. "\u0C2B\u0C3F\u0C2C\u0C4D\u0C30\u0C35\u0C30\u0C3F",
  286. "\u0C2E\u0C3E\u0C30\u0C4D\u0C1A\u0C3F",
  287. "\u0C0F\u0C2A\u0C4D\u0C30\u0C3F\u0C32\u0C4D",
  288. "\u0C2E\u0C47",
  289. "\u0C1C\u0C42\u0C28\u0C4D",
  290. "\u0C1C\u0C41\u0C32\u0C48",
  291. "\u0C06\u0C17\u0C38\u0C4D\u0C1F\u0C41",
  292. "\u0C38\u0C46\u0C2A\u0C4D\u0C1F\u0C46\u0C02\u0C2C\u0C30\u0C4D",
  293. "\u0C05\u0C15\u0C4D\u0C1F\u0C4B\u0C2C\u0C30\u0C4D",
  294. "\u0C28\u0C35\u0C02\u0C2C\u0C30\u0C4D",
  295. "\u0C21\u0C3F\u0C38\u0C46\u0C02\u0C2C\u0C30\u0C4D"]
  296. };
  297. var dayValues = {
  298. narrow: ["\u0C06", "\u0C38\u0C4B", "\u0C2E", "\u0C2C\u0C41", "\u0C17\u0C41", "\u0C36\u0C41", "\u0C36"],
  299. short: ["\u0C06\u0C26\u0C3F", "\u0C38\u0C4B\u0C2E", "\u0C2E\u0C02\u0C17\u0C33", "\u0C2C\u0C41\u0C27", "\u0C17\u0C41\u0C30\u0C41", "\u0C36\u0C41\u0C15\u0C4D\u0C30", "\u0C36\u0C28\u0C3F"],
  300. abbreviated: ["\u0C06\u0C26\u0C3F", "\u0C38\u0C4B\u0C2E", "\u0C2E\u0C02\u0C17\u0C33", "\u0C2C\u0C41\u0C27", "\u0C17\u0C41\u0C30\u0C41", "\u0C36\u0C41\u0C15\u0C4D\u0C30", "\u0C36\u0C28\u0C3F"],
  301. wide: [
  302. "\u0C06\u0C26\u0C3F\u0C35\u0C3E\u0C30\u0C02",
  303. "\u0C38\u0C4B\u0C2E\u0C35\u0C3E\u0C30\u0C02",
  304. "\u0C2E\u0C02\u0C17\u0C33\u0C35\u0C3E\u0C30\u0C02",
  305. "\u0C2C\u0C41\u0C27\u0C35\u0C3E\u0C30\u0C02",
  306. "\u0C17\u0C41\u0C30\u0C41\u0C35\u0C3E\u0C30\u0C02",
  307. "\u0C36\u0C41\u0C15\u0C4D\u0C30\u0C35\u0C3E\u0C30\u0C02",
  308. "\u0C36\u0C28\u0C3F\u0C35\u0C3E\u0C30\u0C02"]
  309. };
  310. var dayPeriodValues = {
  311. narrow: {
  312. am: "\u0C2A\u0C42\u0C30\u0C4D\u0C35\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  313. pm: "\u0C05\u0C2A\u0C30\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  314. midnight: "\u0C05\u0C30\u0C4D\u0C27\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F",
  315. noon: "\u0C2E\u0C3F\u0C1F\u0C4D\u0C1F\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  316. morning: "\u0C09\u0C26\u0C2F\u0C02",
  317. afternoon: "\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  318. evening: "\u0C38\u0C3E\u0C2F\u0C02\u0C24\u0C4D\u0C30\u0C02",
  319. night: "\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F"
  320. },
  321. abbreviated: {
  322. am: "\u0C2A\u0C42\u0C30\u0C4D\u0C35\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  323. pm: "\u0C05\u0C2A\u0C30\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  324. midnight: "\u0C05\u0C30\u0C4D\u0C27\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F",
  325. noon: "\u0C2E\u0C3F\u0C1F\u0C4D\u0C1F\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  326. morning: "\u0C09\u0C26\u0C2F\u0C02",
  327. afternoon: "\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  328. evening: "\u0C38\u0C3E\u0C2F\u0C02\u0C24\u0C4D\u0C30\u0C02",
  329. night: "\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F"
  330. },
  331. wide: {
  332. am: "\u0C2A\u0C42\u0C30\u0C4D\u0C35\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  333. pm: "\u0C05\u0C2A\u0C30\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  334. midnight: "\u0C05\u0C30\u0C4D\u0C27\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F",
  335. noon: "\u0C2E\u0C3F\u0C1F\u0C4D\u0C1F\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  336. morning: "\u0C09\u0C26\u0C2F\u0C02",
  337. afternoon: "\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  338. evening: "\u0C38\u0C3E\u0C2F\u0C02\u0C24\u0C4D\u0C30\u0C02",
  339. night: "\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F"
  340. }
  341. };
  342. var formattingDayPeriodValues = {
  343. narrow: {
  344. am: "\u0C2A\u0C42\u0C30\u0C4D\u0C35\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  345. pm: "\u0C05\u0C2A\u0C30\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  346. midnight: "\u0C05\u0C30\u0C4D\u0C27\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F",
  347. noon: "\u0C2E\u0C3F\u0C1F\u0C4D\u0C1F\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  348. morning: "\u0C09\u0C26\u0C2F\u0C02",
  349. afternoon: "\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  350. evening: "\u0C38\u0C3E\u0C2F\u0C02\u0C24\u0C4D\u0C30\u0C02",
  351. night: "\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F"
  352. },
  353. abbreviated: {
  354. am: "\u0C2A\u0C42\u0C30\u0C4D\u0C35\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  355. pm: "\u0C05\u0C2A\u0C30\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  356. midnight: "\u0C05\u0C30\u0C4D\u0C27\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F",
  357. noon: "\u0C2E\u0C3F\u0C1F\u0C4D\u0C1F\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  358. morning: "\u0C09\u0C26\u0C2F\u0C02",
  359. afternoon: "\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  360. evening: "\u0C38\u0C3E\u0C2F\u0C02\u0C24\u0C4D\u0C30\u0C02",
  361. night: "\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F"
  362. },
  363. wide: {
  364. am: "\u0C2A\u0C42\u0C30\u0C4D\u0C35\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  365. pm: "\u0C05\u0C2A\u0C30\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  366. midnight: "\u0C05\u0C30\u0C4D\u0C27\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F",
  367. noon: "\u0C2E\u0C3F\u0C1F\u0C4D\u0C1F\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  368. morning: "\u0C09\u0C26\u0C2F\u0C02",
  369. afternoon: "\u0C2E\u0C27\u0C4D\u0C2F\u0C3E\u0C39\u0C4D\u0C28\u0C02",
  370. evening: "\u0C38\u0C3E\u0C2F\u0C02\u0C24\u0C4D\u0C30\u0C02",
  371. night: "\u0C30\u0C3E\u0C24\u0C4D\u0C30\u0C3F"
  372. }
  373. };
  374. var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
  375. var number = Number(dirtyNumber);
  376. return number + "\u0C35";
  377. };
  378. var localize = {
  379. ordinalNumber: ordinalNumber,
  380. era: buildLocalizeFn({
  381. values: eraValues,
  382. defaultWidth: "wide"
  383. }),
  384. quarter: buildLocalizeFn({
  385. values: quarterValues,
  386. defaultWidth: "wide",
  387. argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
  388. }),
  389. month: buildLocalizeFn({
  390. values: monthValues,
  391. defaultWidth: "wide"
  392. }),
  393. day: buildLocalizeFn({
  394. values: dayValues,
  395. defaultWidth: "wide"
  396. }),
  397. dayPeriod: buildLocalizeFn({
  398. values: dayPeriodValues,
  399. defaultWidth: "wide",
  400. formattingValues: formattingDayPeriodValues,
  401. defaultFormattingWidth: "wide"
  402. })
  403. };
  404. // lib/locale/_lib/buildMatchFn.js
  405. function buildMatchFn(args) {
  406. return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  407. var width = options.width;
  408. var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
  409. var matchResult = string.match(matchPattern);
  410. if (!matchResult) {
  411. return null;
  412. }
  413. var matchedString = matchResult[0];
  414. var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
  415. var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
  416. var value;
  417. value = args.valueCallback ? args.valueCallback(key) : key;
  418. value = options.valueCallback ? options.valueCallback(value) : value;
  419. var rest = string.slice(matchedString.length);
  420. return { value: value, rest: rest };
  421. };
  422. }
  423. function findKey(object, predicate) {
  424. for (var key in object) {
  425. if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
  426. return key;
  427. }
  428. }
  429. return;
  430. }
  431. function findIndex(array, predicate) {
  432. for (var key = 0; key < array.length; key++) {
  433. if (predicate(array[key])) {
  434. return key;
  435. }
  436. }
  437. return;
  438. }
  439. // lib/locale/_lib/buildMatchPatternFn.js
  440. function buildMatchPatternFn(args) {
  441. return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
  442. var matchResult = string.match(args.matchPattern);
  443. if (!matchResult)
  444. return null;
  445. var matchedString = matchResult[0];
  446. var parseResult = string.match(args.parsePattern);
  447. if (!parseResult)
  448. return null;
  449. var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
  450. value = options.valueCallback ? options.valueCallback(value) : value;
  451. var rest = string.slice(matchedString.length);
  452. return { value: value, rest: rest };
  453. };
  454. }
  455. // lib/locale/te/_lib/match.js
  456. var matchOrdinalNumberPattern = /^(\d+)(వ)?/i;
  457. var parseOrdinalNumberPattern = /\d+/i;
  458. var matchEraPatterns = {
  459. narrow: /^(క్రీ\.పూ\.|క్రీ\.శ\.)/i,
  460. abbreviated: /^(క్రీ\.?\s?పూ\.?|ప్ర\.?\s?శ\.?\s?పూ\.?|క్రీ\.?\s?శ\.?|సా\.?\s?శ\.?)/i,
  461. wide: /^(క్రీస్తు పూర్వం|ప్రస్తుత శకానికి పూర్వం|క్రీస్తు శకం|ప్రస్తుత శకం)/i
  462. };
  463. var parseEraPatterns = {
  464. any: [/^(పూ|శ)/i, /^సా/i]
  465. };
  466. var matchQuarterPatterns = {
  467. narrow: /^[1234]/i,
  468. abbreviated: /^త్రై[1234]/i,
  469. wide: /^[1234](వ)? త్రైమాసికం/i
  470. };
  471. var parseQuarterPatterns = {
  472. any: [/1/i, /2/i, /3/i, /4/i]
  473. };
  474. var matchMonthPatterns = {
  475. narrow: /^(జూ|జు|జ|ఫి|మా|ఏ|మే|ఆ|సె|అ|న|డి)/i,
  476. abbreviated: /^(జన|ఫిబ్ర|మార్చి|ఏప్రి|మే|జూన్|జులై|ఆగ|సెప్|అక్టో|నవ|డిసె)/i,
  477. wide: /^(జనవరి|ఫిబ్రవరి|మార్చి|ఏప్రిల్|మే|జూన్|జులై|ఆగస్టు|సెప్టెంబర్|అక్టోబర్|నవంబర్|డిసెంబర్)/i
  478. };
  479. var parseMonthPatterns = {
  480. narrow: [
  481. /^జ/i,
  482. /^ఫి/i,
  483. /^మా/i,
  484. /^ఏ/i,
  485. /^మే/i,
  486. /^జూ/i,
  487. /^జు/i,
  488. /^ఆ/i,
  489. /^సె/i,
  490. /^అ/i,
  491. /^న/i,
  492. /^డి/i],
  493. any: [
  494. /^జన/i,
  495. /^ఫి/i,
  496. /^మా/i,
  497. /^ఏ/i,
  498. /^మే/i,
  499. /^జూన్/i,
  500. /^జులై/i,
  501. /^ఆగ/i,
  502. /^సె/i,
  503. /^అ/i,
  504. /^న/i,
  505. /^డి/i]
  506. };
  507. var matchDayPatterns = {
  508. narrow: /^(ఆ|సో|మ|బు|గు|శు|శ)/i,
  509. short: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,
  510. abbreviated: /^(ఆది|సోమ|మం|బుధ|గురు|శుక్ర|శని)/i,
  511. wide: /^(ఆదివారం|సోమవారం|మంగళవారం|బుధవారం|గురువారం|శుక్రవారం|శనివారం)/i
  512. };
  513. var parseDayPatterns = {
  514. narrow: [/^ఆ/i, /^సో/i, /^మ/i, /^బు/i, /^గు/i, /^శు/i, /^శ/i],
  515. any: [/^ఆది/i, /^సోమ/i, /^మం/i, /^బుధ/i, /^గురు/i, /^శుక్ర/i, /^శని/i]
  516. };
  517. var matchDayPeriodPatterns = {
  518. narrow: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i,
  519. any: /^(పూర్వాహ్నం|అపరాహ్నం|అర్ధరాత్రి|మిట్టమధ్యాహ్నం|ఉదయం|మధ్యాహ్నం|సాయంత్రం|రాత్రి)/i
  520. };
  521. var parseDayPeriodPatterns = {
  522. any: {
  523. am: /^పూర్వాహ్నం/i,
  524. pm: /^అపరాహ్నం/i,
  525. midnight: /^అర్ధ/i,
  526. noon: /^మిట్ట/i,
  527. morning: /ఉదయం/i,
  528. afternoon: /మధ్యాహ్నం/i,
  529. evening: /సాయంత్రం/i,
  530. night: /రాత్రి/i
  531. }
  532. };
  533. var match = {
  534. ordinalNumber: buildMatchPatternFn({
  535. matchPattern: matchOrdinalNumberPattern,
  536. parsePattern: parseOrdinalNumberPattern,
  537. valueCallback: function valueCallback(value) {return parseInt(value, 10);}
  538. }),
  539. era: buildMatchFn({
  540. matchPatterns: matchEraPatterns,
  541. defaultMatchWidth: "wide",
  542. parsePatterns: parseEraPatterns,
  543. defaultParseWidth: "any"
  544. }),
  545. quarter: buildMatchFn({
  546. matchPatterns: matchQuarterPatterns,
  547. defaultMatchWidth: "wide",
  548. parsePatterns: parseQuarterPatterns,
  549. defaultParseWidth: "any",
  550. valueCallback: function valueCallback(index) {return index + 1;}
  551. }),
  552. month: buildMatchFn({
  553. matchPatterns: matchMonthPatterns,
  554. defaultMatchWidth: "wide",
  555. parsePatterns: parseMonthPatterns,
  556. defaultParseWidth: "any"
  557. }),
  558. day: buildMatchFn({
  559. matchPatterns: matchDayPatterns,
  560. defaultMatchWidth: "wide",
  561. parsePatterns: parseDayPatterns,
  562. defaultParseWidth: "any"
  563. }),
  564. dayPeriod: buildMatchFn({
  565. matchPatterns: matchDayPeriodPatterns,
  566. defaultMatchWidth: "any",
  567. parsePatterns: parseDayPeriodPatterns,
  568. defaultParseWidth: "any"
  569. })
  570. };
  571. // lib/locale/te.js
  572. var te = {
  573. code: "te",
  574. formatDistance: formatDistance,
  575. formatLong: formatLong,
  576. formatRelative: formatRelative,
  577. localize: localize,
  578. match: match,
  579. options: {
  580. weekStartsOn: 0,
  581. firstWeekContainsDate: 1
  582. }
  583. };
  584. // lib/locale/te/cdn.js
  585. window.dateFns = _objectSpread(_objectSpread({},
  586. window.dateFns), {}, {
  587. locale: _objectSpread(_objectSpread({}, (_window$dateFns =
  588. window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
  589. te: te }) });
  590. //# debugId=46A0E1872EF5A16F64756E2164756E21
  591. //# sourceMappingURL=cdn.js.map
  592. })();