@medipass/utils 12.0.0 → 12.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (712) hide show
  1. package/dist/_virtual/rolldown_runtime.js +1 -29
  2. package/dist/build-validation-schema.d.ts +17 -18
  3. package/dist/build-validation-schema.js +26 -32
  4. package/dist/build-validation-schema.js.map +1 -1
  5. package/dist/datetime.js +3 -3
  6. package/dist/documents/workflow-state-formatted.d.ts +4 -4
  7. package/dist/documents/workflow-state-formatted.js +5 -7
  8. package/dist/documents/workflow-state-formatted.js.map +1 -1
  9. package/dist/funders.js +2 -4
  10. package/dist/funders.js.map +1 -1
  11. package/dist/get-env.js +5 -9
  12. package/dist/get-env.js.map +1 -1
  13. package/dist/get-select-options.js +7 -9
  14. package/dist/get-select-options.js.map +1 -1
  15. package/dist/google-addresses.js +4 -7
  16. package/dist/google-addresses.js.map +1 -1
  17. package/dist/masked.js +4 -7
  18. package/dist/masked.js.map +1 -1
  19. package/dist/products.js +4 -6
  20. package/dist/products.js.map +1 -1
  21. package/dist/redux-actions.js +2 -4
  22. package/dist/redux-actions.js.map +1 -1
  23. package/dist/redux-reducer.js +4 -7
  24. package/dist/redux-reducer.js.map +1 -1
  25. package/dist/sanitise-url.js +2 -4
  26. package/dist/sanitise-url.js.map +1 -1
  27. package/dist/sentry.js +15 -21
  28. package/dist/sentry.js.map +1 -1
  29. package/dist/service-items.js +18 -22
  30. package/dist/service-items.js.map +1 -1
  31. package/dist/transaction-status-helpers.js +2 -4
  32. package/dist/transaction-status-helpers.js.map +1 -1
  33. package/dist/transaction-status.js +7 -9
  34. package/dist/transaction-status.js.map +1 -1
  35. package/dist/validate-form.js +11 -14
  36. package/dist/validate-form.js.map +1 -1
  37. package/dist/validate.js +9 -14
  38. package/dist/validate.js.map +1 -1
  39. package/dist/workflow-state-formatted.d.ts +3 -3
  40. package/dist/workflow-state-formatted.js +4 -6
  41. package/dist/workflow-state-formatted.js.map +1 -1
  42. package/package.json +10 -7
  43. package/dist/node_modules/@sentry/browser/esm/backend.js +0 -59
  44. package/dist/node_modules/@sentry/browser/esm/backend.js.map +0 -1
  45. package/dist/node_modules/@sentry/browser/esm/client.js +0 -75
  46. package/dist/node_modules/@sentry/browser/esm/client.js.map +0 -1
  47. package/dist/node_modules/@sentry/browser/esm/eventbuilder.js +0 -48
  48. package/dist/node_modules/@sentry/browser/esm/eventbuilder.js.map +0 -1
  49. package/dist/node_modules/@sentry/browser/esm/helpers.js +0 -94
  50. package/dist/node_modules/@sentry/browser/esm/helpers.js.map +0 -1
  51. package/dist/node_modules/@sentry/browser/esm/index.js +0 -59
  52. package/dist/node_modules/@sentry/browser/esm/index.js.map +0 -1
  53. package/dist/node_modules/@sentry/browser/esm/integrations/breadcrumbs.js +0 -218
  54. package/dist/node_modules/@sentry/browser/esm/integrations/breadcrumbs.js.map +0 -1
  55. package/dist/node_modules/@sentry/browser/esm/integrations/globalhandlers.js +0 -166
  56. package/dist/node_modules/@sentry/browser/esm/integrations/globalhandlers.js.map +0 -1
  57. package/dist/node_modules/@sentry/browser/esm/integrations/index.js +0 -19
  58. package/dist/node_modules/@sentry/browser/esm/integrations/index.js.map +0 -1
  59. package/dist/node_modules/@sentry/browser/esm/integrations/linkederrors.js +0 -62
  60. package/dist/node_modules/@sentry/browser/esm/integrations/linkederrors.js.map +0 -1
  61. package/dist/node_modules/@sentry/browser/esm/integrations/trycatch.js +0 -172
  62. package/dist/node_modules/@sentry/browser/esm/integrations/trycatch.js.map +0 -1
  63. package/dist/node_modules/@sentry/browser/esm/integrations/useragent.js +0 -41
  64. package/dist/node_modules/@sentry/browser/esm/integrations/useragent.js.map +0 -1
  65. package/dist/node_modules/@sentry/browser/esm/parsers.js +0 -65
  66. package/dist/node_modules/@sentry/browser/esm/parsers.js.map +0 -1
  67. package/dist/node_modules/@sentry/browser/esm/sdk.js +0 -157
  68. package/dist/node_modules/@sentry/browser/esm/sdk.js.map +0 -1
  69. package/dist/node_modules/@sentry/browser/esm/tracekit.js +0 -146
  70. package/dist/node_modules/@sentry/browser/esm/tracekit.js.map +0 -1
  71. package/dist/node_modules/@sentry/browser/esm/transports/base.js +0 -31
  72. package/dist/node_modules/@sentry/browser/esm/transports/base.js.map +0 -1
  73. package/dist/node_modules/@sentry/browser/esm/transports/fetch.js +0 -57
  74. package/dist/node_modules/@sentry/browser/esm/transports/fetch.js.map +0 -1
  75. package/dist/node_modules/@sentry/browser/esm/transports/index.js +0 -15
  76. package/dist/node_modules/@sentry/browser/esm/transports/index.js.map +0 -1
  77. package/dist/node_modules/@sentry/browser/esm/transports/xhr.js +0 -54
  78. package/dist/node_modules/@sentry/browser/esm/transports/xhr.js.map +0 -1
  79. package/dist/node_modules/@sentry/browser/esm/version.js +0 -7
  80. package/dist/node_modules/@sentry/browser/esm/version.js.map +0 -1
  81. package/dist/node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js +0 -65
  82. package/dist/node_modules/@sentry/browser/node_modules/tslib/tslib.es6.js.map +0 -1
  83. package/dist/node_modules/@sentry/core/esm/api.js +0 -75
  84. package/dist/node_modules/@sentry/core/esm/api.js.map +0 -1
  85. package/dist/node_modules/@sentry/core/esm/basebackend.js +0 -54
  86. package/dist/node_modules/@sentry/core/esm/basebackend.js.map +0 -1
  87. package/dist/node_modules/@sentry/core/esm/baseclient.js +0 -331
  88. package/dist/node_modules/@sentry/core/esm/baseclient.js.map +0 -1
  89. package/dist/node_modules/@sentry/core/esm/integration.js +0 -65
  90. package/dist/node_modules/@sentry/core/esm/integration.js.map +0 -1
  91. package/dist/node_modules/@sentry/core/esm/integrations/functiontostring.js +0 -32
  92. package/dist/node_modules/@sentry/core/esm/integrations/functiontostring.js.map +0 -1
  93. package/dist/node_modules/@sentry/core/esm/integrations/inboundfilters.js +0 -143
  94. package/dist/node_modules/@sentry/core/esm/integrations/inboundfilters.js.map +0 -1
  95. package/dist/node_modules/@sentry/core/esm/integrations/index.js +0 -13
  96. package/dist/node_modules/@sentry/core/esm/integrations/index.js.map +0 -1
  97. package/dist/node_modules/@sentry/core/esm/sdk.js +0 -19
  98. package/dist/node_modules/@sentry/core/esm/sdk.js.map +0 -1
  99. package/dist/node_modules/@sentry/core/esm/transports/noop.js +0 -28
  100. package/dist/node_modules/@sentry/core/esm/transports/noop.js.map +0 -1
  101. package/dist/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js +0 -36
  102. package/dist/node_modules/@sentry/core/node_modules/tslib/tslib.es6.js.map +0 -1
  103. package/dist/node_modules/@sentry/hub/esm/hub.js +0 -383
  104. package/dist/node_modules/@sentry/hub/esm/hub.js.map +0 -1
  105. package/dist/node_modules/@sentry/hub/esm/scope.js +0 -271
  106. package/dist/node_modules/@sentry/hub/esm/scope.js.map +0 -1
  107. package/dist/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js +0 -36
  108. package/dist/node_modules/@sentry/hub/node_modules/tslib/tslib.es6.js.map +0 -1
  109. package/dist/node_modules/@sentry/minimal/esm/index.js +0 -146
  110. package/dist/node_modules/@sentry/minimal/esm/index.js.map +0 -1
  111. package/dist/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js +0 -26
  112. package/dist/node_modules/@sentry/minimal/node_modules/tslib/tslib.es6.js.map +0 -1
  113. package/dist/node_modules/@sentry/types/esm/severity.js +0 -45
  114. package/dist/node_modules/@sentry/types/esm/severity.js.map +0 -1
  115. package/dist/node_modules/@sentry/types/esm/status.js +0 -37
  116. package/dist/node_modules/@sentry/types/esm/status.js.map +0 -1
  117. package/dist/node_modules/@sentry/utils/esm/dsn.js +0 -82
  118. package/dist/node_modules/@sentry/utils/esm/dsn.js.map +0 -1
  119. package/dist/node_modules/@sentry/utils/esm/error.js +0 -21
  120. package/dist/node_modules/@sentry/utils/esm/error.js.map +0 -1
  121. package/dist/node_modules/@sentry/utils/esm/instrument.js +0 -336
  122. package/dist/node_modules/@sentry/utils/esm/instrument.js.map +0 -1
  123. package/dist/node_modules/@sentry/utils/esm/is.js +0 -142
  124. package/dist/node_modules/@sentry/utils/esm/is.js.map +0 -1
  125. package/dist/node_modules/@sentry/utils/esm/logger.js +0 -55
  126. package/dist/node_modules/@sentry/utils/esm/logger.js.map +0 -1
  127. package/dist/node_modules/@sentry/utils/esm/memo.js +0 -40
  128. package/dist/node_modules/@sentry/utils/esm/memo.js.map +0 -1
  129. package/dist/node_modules/@sentry/utils/esm/misc.js +0 -250
  130. package/dist/node_modules/@sentry/utils/esm/misc.js.map +0 -1
  131. package/dist/node_modules/@sentry/utils/esm/object.js +0 -190
  132. package/dist/node_modules/@sentry/utils/esm/object.js.map +0 -1
  133. package/dist/node_modules/@sentry/utils/esm/polyfill.js +0 -20
  134. package/dist/node_modules/@sentry/utils/esm/polyfill.js.map +0 -1
  135. package/dist/node_modules/@sentry/utils/esm/promisebuffer.js +0 -75
  136. package/dist/node_modules/@sentry/utils/esm/promisebuffer.js.map +0 -1
  137. package/dist/node_modules/@sentry/utils/esm/string.js +0 -48
  138. package/dist/node_modules/@sentry/utils/esm/string.js.map +0 -1
  139. package/dist/node_modules/@sentry/utils/esm/supports.js +0 -84
  140. package/dist/node_modules/@sentry/utils/esm/supports.js.map +0 -1
  141. package/dist/node_modules/@sentry/utils/esm/syncpromise.js +0 -171
  142. package/dist/node_modules/@sentry/utils/esm/syncpromise.js.map +0 -1
  143. package/dist/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js +0 -73
  144. package/dist/node_modules/@sentry/utils/node_modules/tslib/tslib.es6.js.map +0 -1
  145. package/dist/node_modules/escape-html/index.js +0 -68
  146. package/dist/node_modules/escape-html/index.js.map +0 -1
  147. package/dist/node_modules/globalthis/implementation.browser.js +0 -14
  148. package/dist/node_modules/globalthis/implementation.browser.js.map +0 -1
  149. package/dist/node_modules/globalthis/polyfill.js +0 -17
  150. package/dist/node_modules/globalthis/polyfill.js.map +0 -1
  151. package/dist/node_modules/google-libphonenumber/dist/libphonenumber.js +0 -84028
  152. package/dist/node_modules/google-libphonenumber/dist/libphonenumber.js.map +0 -1
  153. package/dist/node_modules/lodash/_DataView.js +0 -15
  154. package/dist/node_modules/lodash/_DataView.js.map +0 -1
  155. package/dist/node_modules/lodash/_Hash.js +0 -38
  156. package/dist/node_modules/lodash/_Hash.js.map +0 -1
  157. package/dist/node_modules/lodash/_ListCache.js +0 -38
  158. package/dist/node_modules/lodash/_ListCache.js.map +0 -1
  159. package/dist/node_modules/lodash/_Map.js +0 -15
  160. package/dist/node_modules/lodash/_Map.js.map +0 -1
  161. package/dist/node_modules/lodash/_MapCache.js +0 -38
  162. package/dist/node_modules/lodash/_MapCache.js.map +0 -1
  163. package/dist/node_modules/lodash/_Promise.js +0 -15
  164. package/dist/node_modules/lodash/_Promise.js.map +0 -1
  165. package/dist/node_modules/lodash/_Set.js +0 -15
  166. package/dist/node_modules/lodash/_Set.js.map +0 -1
  167. package/dist/node_modules/lodash/_SetCache.js +0 -31
  168. package/dist/node_modules/lodash/_SetCache.js.map +0 -1
  169. package/dist/node_modules/lodash/_Stack.js +0 -34
  170. package/dist/node_modules/lodash/_Stack.js.map +0 -1
  171. package/dist/node_modules/lodash/_Symbol.js +0 -15
  172. package/dist/node_modules/lodash/_Symbol.js.map +0 -1
  173. package/dist/node_modules/lodash/_Uint8Array.js +0 -15
  174. package/dist/node_modules/lodash/_Uint8Array.js.map +0 -1
  175. package/dist/node_modules/lodash/_WeakMap.js +0 -15
  176. package/dist/node_modules/lodash/_WeakMap.js.map +0 -1
  177. package/dist/node_modules/lodash/_apply.js +0 -31
  178. package/dist/node_modules/lodash/_apply.js.map +0 -1
  179. package/dist/node_modules/lodash/_arrayEach.js +0 -26
  180. package/dist/node_modules/lodash/_arrayEach.js.map +0 -1
  181. package/dist/node_modules/lodash/_arrayFilter.js +0 -29
  182. package/dist/node_modules/lodash/_arrayFilter.js.map +0 -1
  183. package/dist/node_modules/lodash/_arrayIncludes.js +0 -26
  184. package/dist/node_modules/lodash/_arrayIncludes.js.map +0 -1
  185. package/dist/node_modules/lodash/_arrayIncludesWith.js +0 -26
  186. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +0 -1
  187. package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -34
  188. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +0 -1
  189. package/dist/node_modules/lodash/_arrayMap.js +0 -26
  190. package/dist/node_modules/lodash/_arrayMap.js.map +0 -1
  191. package/dist/node_modules/lodash/_arrayPush.js +0 -25
  192. package/dist/node_modules/lodash/_arrayPush.js.map +0 -1
  193. package/dist/node_modules/lodash/_arrayReduce.js +0 -30
  194. package/dist/node_modules/lodash/_arrayReduce.js.map +0 -1
  195. package/dist/node_modules/lodash/_arraySome.js +0 -27
  196. package/dist/node_modules/lodash/_arraySome.js.map +0 -1
  197. package/dist/node_modules/lodash/_asciiToArray.js +0 -22
  198. package/dist/node_modules/lodash/_asciiToArray.js.map +0 -1
  199. package/dist/node_modules/lodash/_asciiWords.js +0 -24
  200. package/dist/node_modules/lodash/_asciiWords.js.map +0 -1
  201. package/dist/node_modules/lodash/_assignValue.js +0 -31
  202. package/dist/node_modules/lodash/_assignValue.js.map +0 -1
  203. package/dist/node_modules/lodash/_assocIndexOf.js +0 -27
  204. package/dist/node_modules/lodash/_assocIndexOf.js.map +0 -1
  205. package/dist/node_modules/lodash/_baseAssignValue.js +0 -32
  206. package/dist/node_modules/lodash/_baseAssignValue.js.map +0 -1
  207. package/dist/node_modules/lodash/_baseDifference.js +0 -55
  208. package/dist/node_modules/lodash/_baseDifference.js.map +0 -1
  209. package/dist/node_modules/lodash/_baseEach.js +0 -24
  210. package/dist/node_modules/lodash/_baseEach.js.map +0 -1
  211. package/dist/node_modules/lodash/_baseFindIndex.js +0 -28
  212. package/dist/node_modules/lodash/_baseFindIndex.js.map +0 -1
  213. package/dist/node_modules/lodash/_baseFlatten.js +0 -38
  214. package/dist/node_modules/lodash/_baseFlatten.js.map +0 -1
  215. package/dist/node_modules/lodash/_baseFor.js +0 -25
  216. package/dist/node_modules/lodash/_baseFor.js.map +0 -1
  217. package/dist/node_modules/lodash/_baseForOwn.js +0 -26
  218. package/dist/node_modules/lodash/_baseForOwn.js.map +0 -1
  219. package/dist/node_modules/lodash/_baseGet.js +0 -29
  220. package/dist/node_modules/lodash/_baseGet.js.map +0 -1
  221. package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -30
  222. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +0 -1
  223. package/dist/node_modules/lodash/_baseGetTag.js +0 -31
  224. package/dist/node_modules/lodash/_baseGetTag.js.map +0 -1
  225. package/dist/node_modules/lodash/_baseHas.js +0 -25
  226. package/dist/node_modules/lodash/_baseHas.js.map +0 -1
  227. package/dist/node_modules/lodash/_baseHasIn.js +0 -23
  228. package/dist/node_modules/lodash/_baseHasIn.js.map +0 -1
  229. package/dist/node_modules/lodash/_baseIndexOf.js +0 -28
  230. package/dist/node_modules/lodash/_baseIndexOf.js.map +0 -1
  231. package/dist/node_modules/lodash/_baseIsArguments.js +0 -27
  232. package/dist/node_modules/lodash/_baseIsArguments.js.map +0 -1
  233. package/dist/node_modules/lodash/_baseIsEqual.js +0 -34
  234. package/dist/node_modules/lodash/_baseIsEqual.js.map +0 -1
  235. package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -67
  236. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +0 -1
  237. package/dist/node_modules/lodash/_baseIsMatch.js +0 -48
  238. package/dist/node_modules/lodash/_baseIsMatch.js.map +0 -1
  239. package/dist/node_modules/lodash/_baseIsNaN.js +0 -22
  240. package/dist/node_modules/lodash/_baseIsNaN.js.map +0 -1
  241. package/dist/node_modules/lodash/_baseIsNative.js +0 -44
  242. package/dist/node_modules/lodash/_baseIsNative.js.map +0 -1
  243. package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -33
  244. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +0 -1
  245. package/dist/node_modules/lodash/_baseIteratee.js +0 -31
  246. package/dist/node_modules/lodash/_baseIteratee.js.map +0 -1
  247. package/dist/node_modules/lodash/_baseKeys.js +0 -30
  248. package/dist/node_modules/lodash/_baseKeys.js.map +0 -1
  249. package/dist/node_modules/lodash/_baseKeysIn.js +0 -31
  250. package/dist/node_modules/lodash/_baseKeysIn.js.map +0 -1
  251. package/dist/node_modules/lodash/_baseMatches.js +0 -30
  252. package/dist/node_modules/lodash/_baseMatches.js.map +0 -1
  253. package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -37
  254. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +0 -1
  255. package/dist/node_modules/lodash/_basePick.js +0 -29
  256. package/dist/node_modules/lodash/_basePick.js.map +0 -1
  257. package/dist/node_modules/lodash/_basePickBy.js +0 -33
  258. package/dist/node_modules/lodash/_basePickBy.js.map +0 -1
  259. package/dist/node_modules/lodash/_baseProperty.js +0 -24
  260. package/dist/node_modules/lodash/_baseProperty.js.map +0 -1
  261. package/dist/node_modules/lodash/_basePropertyDeep.js +0 -26
  262. package/dist/node_modules/lodash/_basePropertyDeep.js.map +0 -1
  263. package/dist/node_modules/lodash/_basePropertyOf.js +0 -24
  264. package/dist/node_modules/lodash/_basePropertyOf.js.map +0 -1
  265. package/dist/node_modules/lodash/_baseRepeat.js +0 -33
  266. package/dist/node_modules/lodash/_baseRepeat.js.map +0 -1
  267. package/dist/node_modules/lodash/_baseRest.js +0 -27
  268. package/dist/node_modules/lodash/_baseRest.js.map +0 -1
  269. package/dist/node_modules/lodash/_baseSet.js +0 -45
  270. package/dist/node_modules/lodash/_baseSet.js.map +0 -1
  271. package/dist/node_modules/lodash/_baseSetToString.js +0 -32
  272. package/dist/node_modules/lodash/_baseSetToString.js.map +0 -1
  273. package/dist/node_modules/lodash/_baseSlice.js +0 -32
  274. package/dist/node_modules/lodash/_baseSlice.js.map +0 -1
  275. package/dist/node_modules/lodash/_baseTimes.js +0 -26
  276. package/dist/node_modules/lodash/_baseTimes.js.map +0 -1
  277. package/dist/node_modules/lodash/_baseToString.js +0 -36
  278. package/dist/node_modules/lodash/_baseToString.js.map +0 -1
  279. package/dist/node_modules/lodash/_baseTrim.js +0 -26
  280. package/dist/node_modules/lodash/_baseTrim.js.map +0 -1
  281. package/dist/node_modules/lodash/_baseUnary.js +0 -24
  282. package/dist/node_modules/lodash/_baseUnary.js.map +0 -1
  283. package/dist/node_modules/lodash/_cacheHas.js +0 -23
  284. package/dist/node_modules/lodash/_cacheHas.js.map +0 -1
  285. package/dist/node_modules/lodash/_castFunction.js +0 -24
  286. package/dist/node_modules/lodash/_castFunction.js.map +0 -1
  287. package/dist/node_modules/lodash/_castPath.js +0 -29
  288. package/dist/node_modules/lodash/_castPath.js.map +0 -1
  289. package/dist/node_modules/lodash/_castSlice.js +0 -28
  290. package/dist/node_modules/lodash/_castSlice.js.map +0 -1
  291. package/dist/node_modules/lodash/_coreJsData.js +0 -15
  292. package/dist/node_modules/lodash/_coreJsData.js.map +0 -1
  293. package/dist/node_modules/lodash/_createBaseEach.js +0 -31
  294. package/dist/node_modules/lodash/_createBaseEach.js.map +0 -1
  295. package/dist/node_modules/lodash/_createBaseFor.js +0 -29
  296. package/dist/node_modules/lodash/_createBaseFor.js.map +0 -1
  297. package/dist/node_modules/lodash/_createCaseFirst.js +0 -33
  298. package/dist/node_modules/lodash/_createCaseFirst.js.map +0 -1
  299. package/dist/node_modules/lodash/_createCompounder.js +0 -30
  300. package/dist/node_modules/lodash/_createCompounder.js.map +0 -1
  301. package/dist/node_modules/lodash/_deburrLetter.js +0 -213
  302. package/dist/node_modules/lodash/_deburrLetter.js.map +0 -1
  303. package/dist/node_modules/lodash/_defineProperty.js +0 -21
  304. package/dist/node_modules/lodash/_defineProperty.js.map +0 -1
  305. package/dist/node_modules/lodash/_equalArrays.js +0 -64
  306. package/dist/node_modules/lodash/_equalArrays.js.map +0 -1
  307. package/dist/node_modules/lodash/_equalByTag.js +0 -74
  308. package/dist/node_modules/lodash/_equalByTag.js.map +0 -1
  309. package/dist/node_modules/lodash/_equalObjects.js +0 -64
  310. package/dist/node_modules/lodash/_equalObjects.js.map +0 -1
  311. package/dist/node_modules/lodash/_flatRest.js +0 -26
  312. package/dist/node_modules/lodash/_flatRest.js.map +0 -1
  313. package/dist/node_modules/lodash/_freeGlobal.js +0 -14
  314. package/dist/node_modules/lodash/_freeGlobal.js.map +0 -1
  315. package/dist/node_modules/lodash/_getAllKeys.js +0 -26
  316. package/dist/node_modules/lodash/_getAllKeys.js.map +0 -1
  317. package/dist/node_modules/lodash/_getAllKeysIn.js +0 -27
  318. package/dist/node_modules/lodash/_getAllKeysIn.js.map +0 -1
  319. package/dist/node_modules/lodash/_getMapData.js +0 -26
  320. package/dist/node_modules/lodash/_getMapData.js.map +0 -1
  321. package/dist/node_modules/lodash/_getMatchData.js +0 -34
  322. package/dist/node_modules/lodash/_getMatchData.js.map +0 -1
  323. package/dist/node_modules/lodash/_getNative.js +0 -27
  324. package/dist/node_modules/lodash/_getNative.js.map +0 -1
  325. package/dist/node_modules/lodash/_getPrototype.js +0 -15
  326. package/dist/node_modules/lodash/_getPrototype.js.map +0 -1
  327. package/dist/node_modules/lodash/_getRawTag.js +0 -44
  328. package/dist/node_modules/lodash/_getRawTag.js.map +0 -1
  329. package/dist/node_modules/lodash/_getSymbols.js +0 -32
  330. package/dist/node_modules/lodash/_getSymbols.js.map +0 -1
  331. package/dist/node_modules/lodash/_getSymbolsIn.js +0 -32
  332. package/dist/node_modules/lodash/_getSymbolsIn.js.map +0 -1
  333. package/dist/node_modules/lodash/_getTag.js +0 -44
  334. package/dist/node_modules/lodash/_getTag.js.map +0 -1
  335. package/dist/node_modules/lodash/_getValue.js +0 -23
  336. package/dist/node_modules/lodash/_getValue.js.map +0 -1
  337. package/dist/node_modules/lodash/_hasPath.js +0 -40
  338. package/dist/node_modules/lodash/_hasPath.js.map +0 -1
  339. package/dist/node_modules/lodash/_hasUnicode.js +0 -24
  340. package/dist/node_modules/lodash/_hasUnicode.js.map +0 -1
  341. package/dist/node_modules/lodash/_hasUnicodeWord.js +0 -24
  342. package/dist/node_modules/lodash/_hasUnicodeWord.js.map +0 -1
  343. package/dist/node_modules/lodash/_hashClear.js +0 -25
  344. package/dist/node_modules/lodash/_hashClear.js.map +0 -1
  345. package/dist/node_modules/lodash/_hashDelete.js +0 -27
  346. package/dist/node_modules/lodash/_hashDelete.js.map +0 -1
  347. package/dist/node_modules/lodash/_hashGet.js +0 -35
  348. package/dist/node_modules/lodash/_hashGet.js.map +0 -1
  349. package/dist/node_modules/lodash/_hashHas.js +0 -29
  350. package/dist/node_modules/lodash/_hashHas.js.map +0 -1
  351. package/dist/node_modules/lodash/_hashSet.js +0 -32
  352. package/dist/node_modules/lodash/_hashSet.js.map +0 -1
  353. package/dist/node_modules/lodash/_isFlattenable.js +0 -28
  354. package/dist/node_modules/lodash/_isFlattenable.js.map +0 -1
  355. package/dist/node_modules/lodash/_isIndex.js +0 -29
  356. package/dist/node_modules/lodash/_isIndex.js.map +0 -1
  357. package/dist/node_modules/lodash/_isIterateeCall.js +0 -33
  358. package/dist/node_modules/lodash/_isIterateeCall.js.map +0 -1
  359. package/dist/node_modules/lodash/_isKey.js +0 -31
  360. package/dist/node_modules/lodash/_isKey.js.map +0 -1
  361. package/dist/node_modules/lodash/_isKeyable.js +0 -23
  362. package/dist/node_modules/lodash/_isKeyable.js.map +0 -1
  363. package/dist/node_modules/lodash/_isMasked.js +0 -29
  364. package/dist/node_modules/lodash/_isMasked.js.map +0 -1
  365. package/dist/node_modules/lodash/_isPrototype.js +0 -25
  366. package/dist/node_modules/lodash/_isPrototype.js.map +0 -1
  367. package/dist/node_modules/lodash/_isStrictComparable.js +0 -25
  368. package/dist/node_modules/lodash/_isStrictComparable.js.map +0 -1
  369. package/dist/node_modules/lodash/_listCacheClear.js +0 -23
  370. package/dist/node_modules/lodash/_listCacheClear.js.map +0 -1
  371. package/dist/node_modules/lodash/_listCacheDelete.js +0 -33
  372. package/dist/node_modules/lodash/_listCacheDelete.js.map +0 -1
  373. package/dist/node_modules/lodash/_listCacheGet.js +0 -27
  374. package/dist/node_modules/lodash/_listCacheGet.js.map +0 -1
  375. package/dist/node_modules/lodash/_listCacheHas.js +0 -26
  376. package/dist/node_modules/lodash/_listCacheHas.js.map +0 -1
  377. package/dist/node_modules/lodash/_listCacheSet.js +0 -32
  378. package/dist/node_modules/lodash/_listCacheSet.js.map +0 -1
  379. package/dist/node_modules/lodash/_mapCacheClear.js +0 -31
  380. package/dist/node_modules/lodash/_mapCacheClear.js.map +0 -1
  381. package/dist/node_modules/lodash/_mapCacheDelete.js +0 -28
  382. package/dist/node_modules/lodash/_mapCacheDelete.js.map +0 -1
  383. package/dist/node_modules/lodash/_mapCacheGet.js +0 -26
  384. package/dist/node_modules/lodash/_mapCacheGet.js.map +0 -1
  385. package/dist/node_modules/lodash/_mapCacheHas.js +0 -26
  386. package/dist/node_modules/lodash/_mapCacheHas.js.map +0 -1
  387. package/dist/node_modules/lodash/_mapCacheSet.js +0 -30
  388. package/dist/node_modules/lodash/_mapCacheSet.js.map +0 -1
  389. package/dist/node_modules/lodash/_mapToArray.js +0 -26
  390. package/dist/node_modules/lodash/_mapToArray.js.map +0 -1
  391. package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -27
  392. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +0 -1
  393. package/dist/node_modules/lodash/_memoizeCapped.js +0 -32
  394. package/dist/node_modules/lodash/_memoizeCapped.js.map +0 -1
  395. package/dist/node_modules/lodash/_nativeCreate.js +0 -14
  396. package/dist/node_modules/lodash/_nativeCreate.js.map +0 -1
  397. package/dist/node_modules/lodash/_nativeKeys.js +0 -14
  398. package/dist/node_modules/lodash/_nativeKeys.js.map +0 -1
  399. package/dist/node_modules/lodash/_nativeKeysIn.js +0 -26
  400. package/dist/node_modules/lodash/_nativeKeysIn.js.map +0 -1
  401. package/dist/node_modules/lodash/_nodeUtil.js +0 -28
  402. package/dist/node_modules/lodash/_nodeUtil.js.map +0 -1
  403. package/dist/node_modules/lodash/_objectToString.js +0 -28
  404. package/dist/node_modules/lodash/_objectToString.js.map +0 -1
  405. package/dist/node_modules/lodash/_overArg.js +0 -25
  406. package/dist/node_modules/lodash/_overArg.js.map +0 -1
  407. package/dist/node_modules/lodash/_overRest.js +0 -36
  408. package/dist/node_modules/lodash/_overRest.js.map +0 -1
  409. package/dist/node_modules/lodash/_root.js +0 -18
  410. package/dist/node_modules/lodash/_root.js.map +0 -1
  411. package/dist/node_modules/lodash/_setCacheAdd.js +0 -28
  412. package/dist/node_modules/lodash/_setCacheAdd.js.map +0 -1
  413. package/dist/node_modules/lodash/_setCacheHas.js +0 -24
  414. package/dist/node_modules/lodash/_setCacheHas.js.map +0 -1
  415. package/dist/node_modules/lodash/_setToArray.js +0 -26
  416. package/dist/node_modules/lodash/_setToArray.js.map +0 -1
  417. package/dist/node_modules/lodash/_setToString.js +0 -24
  418. package/dist/node_modules/lodash/_setToString.js.map +0 -1
  419. package/dist/node_modules/lodash/_shortOut.js +0 -35
  420. package/dist/node_modules/lodash/_shortOut.js.map +0 -1
  421. package/dist/node_modules/lodash/_stackClear.js +0 -25
  422. package/dist/node_modules/lodash/_stackClear.js.map +0 -1
  423. package/dist/node_modules/lodash/_stackDelete.js +0 -26
  424. package/dist/node_modules/lodash/_stackDelete.js.map +0 -1
  425. package/dist/node_modules/lodash/_stackGet.js +0 -24
  426. package/dist/node_modules/lodash/_stackGet.js.map +0 -1
  427. package/dist/node_modules/lodash/_stackHas.js +0 -24
  428. package/dist/node_modules/lodash/_stackHas.js.map +0 -1
  429. package/dist/node_modules/lodash/_stackSet.js +0 -43
  430. package/dist/node_modules/lodash/_stackSet.js.map +0 -1
  431. package/dist/node_modules/lodash/_strictIndexOf.js +0 -27
  432. package/dist/node_modules/lodash/_strictIndexOf.js.map +0 -1
  433. package/dist/node_modules/lodash/_stringToArray.js +0 -26
  434. package/dist/node_modules/lodash/_stringToArray.js.map +0 -1
  435. package/dist/node_modules/lodash/_stringToPath.js +0 -33
  436. package/dist/node_modules/lodash/_stringToPath.js.map +0 -1
  437. package/dist/node_modules/lodash/_toKey.js +0 -28
  438. package/dist/node_modules/lodash/_toKey.js.map +0 -1
  439. package/dist/node_modules/lodash/_toSource.js +0 -32
  440. package/dist/node_modules/lodash/_toSource.js.map +0 -1
  441. package/dist/node_modules/lodash/_trimmedEndIndex.js +0 -27
  442. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +0 -1
  443. package/dist/node_modules/lodash/_unicodeToArray.js +0 -40
  444. package/dist/node_modules/lodash/_unicodeToArray.js.map +0 -1
  445. package/dist/node_modules/lodash/_unicodeWords.js +0 -55
  446. package/dist/node_modules/lodash/_unicodeWords.js.map +0 -1
  447. package/dist/node_modules/lodash/camelCase.js +0 -39
  448. package/dist/node_modules/lodash/camelCase.js.map +0 -1
  449. package/dist/node_modules/lodash/capitalize.js +0 -33
  450. package/dist/node_modules/lodash/capitalize.js.map +0 -1
  451. package/dist/node_modules/lodash/constant.js +0 -36
  452. package/dist/node_modules/lodash/constant.js.map +0 -1
  453. package/dist/node_modules/lodash/deburr.js +0 -44
  454. package/dist/node_modules/lodash/deburr.js.map +0 -1
  455. package/dist/node_modules/lodash/difference.js +0 -41
  456. package/dist/node_modules/lodash/difference.js.map +0 -1
  457. package/dist/node_modules/lodash/eq.js +0 -47
  458. package/dist/node_modules/lodash/eq.js.map +0 -1
  459. package/dist/node_modules/lodash/flatten.js +0 -31
  460. package/dist/node_modules/lodash/flatten.js.map +0 -1
  461. package/dist/node_modules/lodash/forEach.js +0 -50
  462. package/dist/node_modules/lodash/forEach.js.map +0 -1
  463. package/dist/node_modules/lodash/forOwn.js +0 -46
  464. package/dist/node_modules/lodash/forOwn.js.map +0 -1
  465. package/dist/node_modules/lodash/get.js +0 -43
  466. package/dist/node_modules/lodash/get.js.map +0 -1
  467. package/dist/node_modules/lodash/has.js +0 -45
  468. package/dist/node_modules/lodash/has.js.map +0 -1
  469. package/dist/node_modules/lodash/hasIn.js +0 -44
  470. package/dist/node_modules/lodash/hasIn.js.map +0 -1
  471. package/dist/node_modules/lodash/identity.js +0 -31
  472. package/dist/node_modules/lodash/identity.js.map +0 -1
  473. package/dist/node_modules/lodash/isArguments.js +0 -44
  474. package/dist/node_modules/lodash/isArguments.js.map +0 -1
  475. package/dist/node_modules/lodash/isArray.js +0 -36
  476. package/dist/node_modules/lodash/isArray.js.map +0 -1
  477. package/dist/node_modules/lodash/isArrayLike.js +0 -43
  478. package/dist/node_modules/lodash/isArrayLike.js.map +0 -1
  479. package/dist/node_modules/lodash/isArrayLikeObject.js +0 -43
  480. package/dist/node_modules/lodash/isArrayLikeObject.js.map +0 -1
  481. package/dist/node_modules/lodash/isBuffer.js +0 -39
  482. package/dist/node_modules/lodash/isBuffer.js.map +0 -1
  483. package/dist/node_modules/lodash/isEmpty.js +0 -67
  484. package/dist/node_modules/lodash/isEmpty.js.map +0 -1
  485. package/dist/node_modules/lodash/isFunction.js +0 -39
  486. package/dist/node_modules/lodash/isFunction.js.map +0 -1
  487. package/dist/node_modules/lodash/isLength.js +0 -43
  488. package/dist/node_modules/lodash/isLength.js.map +0 -1
  489. package/dist/node_modules/lodash/isObject.js +0 -41
  490. package/dist/node_modules/lodash/isObject.js.map +0 -1
  491. package/dist/node_modules/lodash/isObjectLike.js +0 -39
  492. package/dist/node_modules/lodash/isObjectLike.js.map +0 -1
  493. package/dist/node_modules/lodash/isSymbol.js +0 -37
  494. package/dist/node_modules/lodash/isSymbol.js.map +0 -1
  495. package/dist/node_modules/lodash/isTypedArray.js +0 -35
  496. package/dist/node_modules/lodash/isTypedArray.js.map +0 -1
  497. package/dist/node_modules/lodash/keys.js +0 -47
  498. package/dist/node_modules/lodash/keys.js.map +0 -1
  499. package/dist/node_modules/lodash/keysIn.js +0 -42
  500. package/dist/node_modules/lodash/keysIn.js.map +0 -1
  501. package/dist/node_modules/lodash/mapKeys.js +0 -45
  502. package/dist/node_modules/lodash/mapKeys.js.map +0 -1
  503. package/dist/node_modules/lodash/mapValues.js +0 -52
  504. package/dist/node_modules/lodash/mapValues.js.map +0 -1
  505. package/dist/node_modules/lodash/memoize.js +0 -73
  506. package/dist/node_modules/lodash/memoize.js.map +0 -1
  507. package/dist/node_modules/lodash/negate.js +0 -47
  508. package/dist/node_modules/lodash/negate.js.map +0 -1
  509. package/dist/node_modules/lodash/omitBy.js +0 -39
  510. package/dist/node_modules/lodash/omitBy.js.map +0 -1
  511. package/dist/node_modules/lodash/pick.js +0 -35
  512. package/dist/node_modules/lodash/pick.js.map +0 -1
  513. package/dist/node_modules/lodash/pickBy.js +0 -45
  514. package/dist/node_modules/lodash/pickBy.js.map +0 -1
  515. package/dist/node_modules/lodash/property.js +0 -42
  516. package/dist/node_modules/lodash/property.js.map +0 -1
  517. package/dist/node_modules/lodash/repeat.js +0 -44
  518. package/dist/node_modules/lodash/repeat.js.map +0 -1
  519. package/dist/node_modules/lodash/set.js +0 -45
  520. package/dist/node_modules/lodash/set.js.map +0 -1
  521. package/dist/node_modules/lodash/snakeCase.js +0 -37
  522. package/dist/node_modules/lodash/snakeCase.js.map +0 -1
  523. package/dist/node_modules/lodash/stubArray.js +0 -33
  524. package/dist/node_modules/lodash/stubArray.js.map +0 -1
  525. package/dist/node_modules/lodash/stubFalse.js +0 -28
  526. package/dist/node_modules/lodash/stubFalse.js.map +0 -1
  527. package/dist/node_modules/lodash/toFinite.js +0 -45
  528. package/dist/node_modules/lodash/toFinite.js.map +0 -1
  529. package/dist/node_modules/lodash/toInteger.js +0 -44
  530. package/dist/node_modules/lodash/toInteger.js.map +0 -1
  531. package/dist/node_modules/lodash/toNumber.js +0 -61
  532. package/dist/node_modules/lodash/toNumber.js.map +0 -1
  533. package/dist/node_modules/lodash/toString.js +0 -38
  534. package/dist/node_modules/lodash/toString.js.map +0 -1
  535. package/dist/node_modules/lodash/upperFirst.js +0 -31
  536. package/dist/node_modules/lodash/upperFirst.js.map +0 -1
  537. package/dist/node_modules/lodash/words.js +0 -42
  538. package/dist/node_modules/lodash/words.js.map +0 -1
  539. package/dist/node_modules/nanoclone/src/index.js +0 -38
  540. package/dist/node_modules/nanoclone/src/index.js.map +0 -1
  541. package/dist/node_modules/payment/lib/index.js +0 -565
  542. package/dist/node_modules/payment/lib/index.js.map +0 -1
  543. package/dist/node_modules/property-expr/index.js +0 -100
  544. package/dist/node_modules/property-expr/index.js.map +0 -1
  545. package/dist/node_modules/qj/lib/index.js +0 -175
  546. package/dist/node_modules/qj/lib/index.js.map +0 -1
  547. package/dist/node_modules/redux-sentry-middleware/dist/index.umd.js +0 -86
  548. package/dist/node_modules/redux-sentry-middleware/dist/index.umd.js.map +0 -1
  549. package/dist/node_modules/toposort/index.js +0 -78
  550. package/dist/node_modules/toposort/index.js.map +0 -1
  551. package/dist/node_modules/yup/es/Condition.d.ts +0 -23
  552. package/dist/node_modules/yup/es/Condition.js +0 -40
  553. package/dist/node_modules/yup/es/Condition.js.map +0 -1
  554. package/dist/node_modules/yup/es/Lazy.d.ts +0 -29
  555. package/dist/node_modules/yup/es/Lazy.js +0 -49
  556. package/dist/node_modules/yup/es/Lazy.js.map +0 -1
  557. package/dist/node_modules/yup/es/Reference.d.ts +0 -36
  558. package/dist/node_modules/yup/es/Reference.js +0 -61
  559. package/dist/node_modules/yup/es/Reference.js.map +0 -1
  560. package/dist/node_modules/yup/es/ValidationError.d.ts +0 -16
  561. package/dist/node_modules/yup/es/ValidationError.js +0 -48
  562. package/dist/node_modules/yup/es/ValidationError.js.map +0 -1
  563. package/dist/node_modules/yup/es/array.js +0 -181
  564. package/dist/node_modules/yup/es/array.js.map +0 -1
  565. package/dist/node_modules/yup/es/boolean.js +0 -53
  566. package/dist/node_modules/yup/es/boolean.js.map +0 -1
  567. package/dist/node_modules/yup/es/date.js +0 -67
  568. package/dist/node_modules/yup/es/date.js.map +0 -1
  569. package/dist/node_modules/yup/es/index.js +0 -52
  570. package/dist/node_modules/yup/es/index.js.map +0 -1
  571. package/dist/node_modules/yup/es/locale.js +0 -61
  572. package/dist/node_modules/yup/es/locale.js.map +0 -1
  573. package/dist/node_modules/yup/es/mixed.js +0 -13
  574. package/dist/node_modules/yup/es/mixed.js.map +0 -1
  575. package/dist/node_modules/yup/es/number.js +0 -108
  576. package/dist/node_modules/yup/es/number.js.map +0 -1
  577. package/dist/node_modules/yup/es/object.d.ts +0 -48
  578. package/dist/node_modules/yup/es/object.js +0 -266
  579. package/dist/node_modules/yup/es/object.js.map +0 -1
  580. package/dist/node_modules/yup/es/schema.d.ts +0 -148
  581. package/dist/node_modules/yup/es/schema.js +0 -407
  582. package/dist/node_modules/yup/es/schema.js.map +0 -1
  583. package/dist/node_modules/yup/es/setLocale.js +0 -14
  584. package/dist/node_modules/yup/es/setLocale.js.map +0 -1
  585. package/dist/node_modules/yup/es/string.js +0 -132
  586. package/dist/node_modules/yup/es/string.js.map +0 -1
  587. package/dist/node_modules/yup/es/types.d.ts +0 -56
  588. package/dist/node_modules/yup/es/util/ReferenceSet.d.ts +0 -19
  589. package/dist/node_modules/yup/es/util/ReferenceSet.js +0 -51
  590. package/dist/node_modules/yup/es/util/ReferenceSet.js.map +0 -1
  591. package/dist/node_modules/yup/es/util/createValidation.d.ts +0 -43
  592. package/dist/node_modules/yup/es/util/createValidation.js +0 -96
  593. package/dist/node_modules/yup/es/util/createValidation.js.map +0 -1
  594. package/dist/node_modules/yup/es/util/isAbsent.js +0 -6
  595. package/dist/node_modules/yup/es/util/isAbsent.js.map +0 -1
  596. package/dist/node_modules/yup/es/util/isSchema.js +0 -6
  597. package/dist/node_modules/yup/es/util/isSchema.js.map +0 -1
  598. package/dist/node_modules/yup/es/util/isodate.js +0 -39
  599. package/dist/node_modules/yup/es/util/isodate.js.map +0 -1
  600. package/dist/node_modules/yup/es/util/printValue.js +0 -36
  601. package/dist/node_modules/yup/es/util/printValue.js.map +0 -1
  602. package/dist/node_modules/yup/es/util/reach.js +0 -47
  603. package/dist/node_modules/yup/es/util/reach.js.map +0 -1
  604. package/dist/node_modules/yup/es/util/runTests.js +0 -48
  605. package/dist/node_modules/yup/es/util/runTests.js.map +0 -1
  606. package/dist/node_modules/yup/es/util/sortByKeyOrder.js +0 -21
  607. package/dist/node_modules/yup/es/util/sortByKeyOrder.js.map +0 -1
  608. package/dist/node_modules/yup/es/util/sortFields.js +0 -31
  609. package/dist/node_modules/yup/es/util/sortFields.js.map +0 -1
  610. package/dist/node_modules/yup/es/util/toArray.js +0 -8
  611. package/dist/node_modules/yup/es/util/toArray.js.map +0 -1
  612. package/dist/node_modules/yup/es/util/types.d.ts +0 -11
  613. package/dist/node_modules/yup/lib/Condition.d.ts +0 -23
  614. package/dist/node_modules/yup/lib/Lazy.d.ts +0 -29
  615. package/dist/node_modules/yup/lib/Reference.d.ts +0 -36
  616. package/dist/node_modules/yup/lib/ValidationError.d.ts +0 -16
  617. package/dist/node_modules/yup/lib/locale.d.ts +0 -18
  618. package/dist/node_modules/yup/lib/object.d.ts +0 -13
  619. package/dist/node_modules/yup/lib/schema.d.ts +0 -141
  620. package/dist/node_modules/yup/lib/string.d.ts +0 -74
  621. package/dist/node_modules/yup/lib/types.d.ts +0 -54
  622. package/dist/node_modules/yup/lib/util/ReferenceSet.d.ts +0 -19
  623. package/dist/node_modules/yup/lib/util/createValidation.d.ts +0 -43
  624. package/dist/node_modules/yup/lib/util/types.d.ts +0 -12
  625. package/dist/packages/utils/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js +0 -11
  626. package/dist/packages/utils/node_modules/date-fns/esm/_lib/addLeadingZeros/index.js.map +0 -1
  627. package/dist/packages/utils/node_modules/date-fns/esm/_lib/assign/index.js +0 -11
  628. package/dist/packages/utils/node_modules/date-fns/esm/_lib/assign/index.js.map +0 -1
  629. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/formatters/index.js +0 -437
  630. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/formatters/index.js.map +0 -1
  631. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js +0 -50
  632. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/lightFormatters/index.js.map +0 -1
  633. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/longFormatters/index.js +0 -51
  634. package/dist/packages/utils/node_modules/date-fns/esm/_lib/format/longFormatters/index.js.map +0 -1
  635. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +0 -27
  636. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.js.map +0 -1
  637. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js +0 -18
  638. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.js.map +0 -1
  639. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js +0 -17
  640. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.js.map +0 -1
  641. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js +0 -25
  642. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.js.map +0 -1
  643. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeek/index.js +0 -17
  644. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeek/index.js.map +0 -1
  645. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js +0 -32
  646. package/dist/packages/utils/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.js.map +0 -1
  647. package/dist/packages/utils/node_modules/date-fns/esm/_lib/protectedTokens/index.js +0 -19
  648. package/dist/packages/utils/node_modules/date-fns/esm/_lib/protectedTokens/index.js.map +0 -1
  649. package/dist/packages/utils/node_modules/date-fns/esm/_lib/requiredArgs/index.js +0 -8
  650. package/dist/packages/utils/node_modules/date-fns/esm/_lib/requiredArgs/index.js.map +0 -1
  651. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCDay/index.js +0 -24
  652. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCDay/index.js.map +0 -1
  653. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISODay/index.js +0 -20
  654. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISODay/index.js.map +0 -1
  655. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js +0 -18
  656. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCISOWeek/index.js.map +0 -1
  657. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCWeek/index.js +0 -18
  658. package/dist/packages/utils/node_modules/date-fns/esm/_lib/setUTCWeek/index.js.map +0 -1
  659. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js +0 -18
  660. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.js.map +0 -1
  661. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js +0 -17
  662. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.js.map +0 -1
  663. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js +0 -24
  664. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.js.map +0 -1
  665. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js +0 -23
  666. package/dist/packages/utils/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.js.map +0 -1
  667. package/dist/packages/utils/node_modules/date-fns/esm/_lib/toInteger/index.js +0 -11
  668. package/dist/packages/utils/node_modules/date-fns/esm/_lib/toInteger/index.js.map +0 -1
  669. package/dist/packages/utils/node_modules/date-fns/esm/addMilliseconds/index.js +0 -37
  670. package/dist/packages/utils/node_modules/date-fns/esm/addMilliseconds/index.js.map +0 -1
  671. package/dist/packages/utils/node_modules/date-fns/esm/format/index.js +0 -378
  672. package/dist/packages/utils/node_modules/date-fns/esm/format/index.js.map +0 -1
  673. package/dist/packages/utils/node_modules/date-fns/esm/getMinutes/index.js +0 -33
  674. package/dist/packages/utils/node_modules/date-fns/esm/getMinutes/index.js.map +0 -1
  675. package/dist/packages/utils/node_modules/date-fns/esm/isBefore/index.js +0 -36
  676. package/dist/packages/utils/node_modules/date-fns/esm/isBefore/index.js.map +0 -1
  677. package/dist/packages/utils/node_modules/date-fns/esm/isFuture/index.js +0 -37
  678. package/dist/packages/utils/node_modules/date-fns/esm/isFuture/index.js.map +0 -1
  679. package/dist/packages/utils/node_modules/date-fns/esm/isValid/index.js +0 -70
  680. package/dist/packages/utils/node_modules/date-fns/esm/isValid/index.js.map +0 -1
  681. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js +0 -12
  682. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.js.map +0 -1
  683. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js +0 -23
  684. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.js.map +0 -1
  685. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js +0 -36
  686. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.js.map +0 -1
  687. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js +0 -22
  688. package/dist/packages/utils/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.js.map +0 -1
  689. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js +0 -78
  690. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.js.map +0 -1
  691. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js +0 -37
  692. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.js.map +0 -1
  693. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js +0 -16
  694. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.js.map +0 -1
  695. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js +0 -217
  696. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.js.map +0 -1
  697. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js +0 -133
  698. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/_lib/match/index.js.map +0 -1
  699. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/index.js +0 -33
  700. package/dist/packages/utils/node_modules/date-fns/esm/locale/en-US/index.js.map +0 -1
  701. package/dist/packages/utils/node_modules/date-fns/esm/parse/_lib/parsers/index.js +0 -1346
  702. package/dist/packages/utils/node_modules/date-fns/esm/parse/_lib/parsers/index.js.map +0 -1
  703. package/dist/packages/utils/node_modules/date-fns/esm/parse/index.js +0 -461
  704. package/dist/packages/utils/node_modules/date-fns/esm/parse/index.js.map +0 -1
  705. package/dist/packages/utils/node_modules/date-fns/esm/setMinutes/index.js +0 -38
  706. package/dist/packages/utils/node_modules/date-fns/esm/setMinutes/index.js.map +0 -1
  707. package/dist/packages/utils/node_modules/date-fns/esm/startOfMinute/index.js +0 -36
  708. package/dist/packages/utils/node_modules/date-fns/esm/startOfMinute/index.js.map +0 -1
  709. package/dist/packages/utils/node_modules/date-fns/esm/subMilliseconds/index.js +0 -35
  710. package/dist/packages/utils/node_modules/date-fns/esm/subMilliseconds/index.js.map +0 -1
  711. package/dist/packages/utils/node_modules/date-fns/esm/toDate/index.js +0 -50
  712. package/dist/packages/utils/node_modules/date-fns/esm/toDate/index.js.map +0 -1
@@ -1,1346 +0,0 @@
1
- import startOfUTCISOWeek from "../../../_lib/startOfUTCISOWeek/index.js";
2
- import startOfUTCWeek from "../../../_lib/startOfUTCWeek/index.js";
3
- import getUTCWeekYear from "../../../_lib/getUTCWeekYear/index.js";
4
- import setUTCDay from "../../../_lib/setUTCDay/index.js";
5
- import setUTCISODay from "../../../_lib/setUTCISODay/index.js";
6
- import setUTCISOWeek from "../../../_lib/setUTCISOWeek/index.js";
7
- import setUTCWeek from "../../../_lib/setUTCWeek/index.js";
8
-
9
- //#region node_modules/date-fns/esm/parse/_lib/parsers/index.js
10
- var MILLISECONDS_IN_HOUR = 36e5;
11
- var MILLISECONDS_IN_MINUTE = 6e4;
12
- var MILLISECONDS_IN_SECOND = 1e3;
13
- var numericPatterns = {
14
- month: /^(1[0-2]|0?\d)/,
15
- date: /^(3[0-1]|[0-2]?\d)/,
16
- dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
17
- week: /^(5[0-3]|[0-4]?\d)/,
18
- hour23h: /^(2[0-3]|[0-1]?\d)/,
19
- hour24h: /^(2[0-4]|[0-1]?\d)/,
20
- hour11h: /^(1[0-1]|0?\d)/,
21
- hour12h: /^(1[0-2]|0?\d)/,
22
- minute: /^[0-5]?\d/,
23
- second: /^[0-5]?\d/,
24
- singleDigit: /^\d/,
25
- twoDigits: /^\d{1,2}/,
26
- threeDigits: /^\d{1,3}/,
27
- fourDigits: /^\d{1,4}/,
28
- anyDigitsSigned: /^-?\d+/,
29
- singleDigitSigned: /^-?\d/,
30
- twoDigitsSigned: /^-?\d{1,2}/,
31
- threeDigitsSigned: /^-?\d{1,3}/,
32
- fourDigitsSigned: /^-?\d{1,4}/
33
- };
34
- var timezonePatterns = {
35
- basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
36
- basic: /^([+-])(\d{2})(\d{2})|Z/,
37
- basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
38
- extended: /^([+-])(\d{2}):(\d{2})|Z/,
39
- extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
40
- };
41
- function parseNumericPattern(pattern, string, valueCallback) {
42
- var matchResult = string.match(pattern);
43
- if (!matchResult) return null;
44
- var value = parseInt(matchResult[0], 10);
45
- return {
46
- value: valueCallback ? valueCallback(value) : value,
47
- rest: string.slice(matchResult[0].length)
48
- };
49
- }
50
- function parseTimezonePattern(pattern, string) {
51
- var matchResult = string.match(pattern);
52
- if (!matchResult) return null;
53
- if (matchResult[0] === "Z") return {
54
- value: 0,
55
- rest: string.slice(1)
56
- };
57
- var sign = matchResult[1] === "+" ? 1 : -1;
58
- var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;
59
- var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;
60
- var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;
61
- return {
62
- value: sign * (hours * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * MILLISECONDS_IN_SECOND),
63
- rest: string.slice(matchResult[0].length)
64
- };
65
- }
66
- function parseAnyDigitsSigned(string, valueCallback) {
67
- return parseNumericPattern(numericPatterns.anyDigitsSigned, string, valueCallback);
68
- }
69
- function parseNDigits(n, string, valueCallback) {
70
- switch (n) {
71
- case 1: return parseNumericPattern(numericPatterns.singleDigit, string, valueCallback);
72
- case 2: return parseNumericPattern(numericPatterns.twoDigits, string, valueCallback);
73
- case 3: return parseNumericPattern(numericPatterns.threeDigits, string, valueCallback);
74
- case 4: return parseNumericPattern(numericPatterns.fourDigits, string, valueCallback);
75
- default: return parseNumericPattern(/* @__PURE__ */ new RegExp("^\\d{1," + n + "}"), string, valueCallback);
76
- }
77
- }
78
- function parseNDigitsSigned(n, string, valueCallback) {
79
- switch (n) {
80
- case 1: return parseNumericPattern(numericPatterns.singleDigitSigned, string, valueCallback);
81
- case 2: return parseNumericPattern(numericPatterns.twoDigitsSigned, string, valueCallback);
82
- case 3: return parseNumericPattern(numericPatterns.threeDigitsSigned, string, valueCallback);
83
- case 4: return parseNumericPattern(numericPatterns.fourDigitsSigned, string, valueCallback);
84
- default: return parseNumericPattern(/* @__PURE__ */ new RegExp("^-?\\d{1," + n + "}"), string, valueCallback);
85
- }
86
- }
87
- function dayPeriodEnumToHours(enumValue) {
88
- switch (enumValue) {
89
- case "morning": return 4;
90
- case "evening": return 17;
91
- case "pm":
92
- case "noon":
93
- case "afternoon": return 12;
94
- case "am":
95
- case "midnight":
96
- case "night":
97
- default: return 0;
98
- }
99
- }
100
- function normalizeTwoDigitYear(twoDigitYear, currentYear) {
101
- var isCommonEra = currentYear > 0;
102
- var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;
103
- var result;
104
- if (absCurrentYear <= 50) result = twoDigitYear || 100;
105
- else {
106
- var rangeEnd = absCurrentYear + 50;
107
- var rangeEndCentury = Math.floor(rangeEnd / 100) * 100;
108
- var isPreviousCentury = twoDigitYear >= rangeEnd % 100;
109
- result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);
110
- }
111
- return isCommonEra ? result : 1 - result;
112
- }
113
- var DAYS_IN_MONTH = [
114
- 31,
115
- 28,
116
- 31,
117
- 30,
118
- 31,
119
- 30,
120
- 31,
121
- 31,
122
- 30,
123
- 31,
124
- 30,
125
- 31
126
- ];
127
- var DAYS_IN_MONTH_LEAP_YEAR = [
128
- 31,
129
- 29,
130
- 31,
131
- 30,
132
- 31,
133
- 30,
134
- 31,
135
- 31,
136
- 30,
137
- 31,
138
- 30,
139
- 31
140
- ];
141
- function isLeapYearIndex(year) {
142
- return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
143
- }
144
- var parsers = {
145
- G: {
146
- priority: 140,
147
- parse: function(string, token, match, _options) {
148
- switch (token) {
149
- case "G":
150
- case "GG":
151
- case "GGG": return match.era(string, { width: "abbreviated" }) || match.era(string, { width: "narrow" });
152
- case "GGGGG": return match.era(string, { width: "narrow" });
153
- case "GGGG":
154
- default: return match.era(string, { width: "wide" }) || match.era(string, { width: "abbreviated" }) || match.era(string, { width: "narrow" });
155
- }
156
- },
157
- set: function(date, flags, value, _options) {
158
- flags.era = value;
159
- date.setUTCFullYear(value, 0, 1);
160
- date.setUTCHours(0, 0, 0, 0);
161
- return date;
162
- },
163
- incompatibleTokens: [
164
- "R",
165
- "u",
166
- "t",
167
- "T"
168
- ]
169
- },
170
- y: {
171
- priority: 130,
172
- parse: function(string, token, match, _options) {
173
- var valueCallback = function(year) {
174
- return {
175
- year,
176
- isTwoDigitYear: token === "yy"
177
- };
178
- };
179
- switch (token) {
180
- case "y": return parseNDigits(4, string, valueCallback);
181
- case "yo": return match.ordinalNumber(string, {
182
- unit: "year",
183
- valueCallback
184
- });
185
- default: return parseNDigits(token.length, string, valueCallback);
186
- }
187
- },
188
- validate: function(_date, value, _options) {
189
- return value.isTwoDigitYear || value.year > 0;
190
- },
191
- set: function(date, flags, value, _options) {
192
- var currentYear = date.getUTCFullYear();
193
- if (value.isTwoDigitYear) {
194
- var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
195
- date.setUTCFullYear(normalizedTwoDigitYear, 0, 1);
196
- date.setUTCHours(0, 0, 0, 0);
197
- return date;
198
- }
199
- var year = !("era" in flags) || flags.era === 1 ? value.year : 1 - value.year;
200
- date.setUTCFullYear(year, 0, 1);
201
- date.setUTCHours(0, 0, 0, 0);
202
- return date;
203
- },
204
- incompatibleTokens: [
205
- "Y",
206
- "R",
207
- "u",
208
- "w",
209
- "I",
210
- "i",
211
- "e",
212
- "c",
213
- "t",
214
- "T"
215
- ]
216
- },
217
- Y: {
218
- priority: 130,
219
- parse: function(string, token, match, _options) {
220
- var valueCallback = function(year) {
221
- return {
222
- year,
223
- isTwoDigitYear: token === "YY"
224
- };
225
- };
226
- switch (token) {
227
- case "Y": return parseNDigits(4, string, valueCallback);
228
- case "Yo": return match.ordinalNumber(string, {
229
- unit: "year",
230
- valueCallback
231
- });
232
- default: return parseNDigits(token.length, string, valueCallback);
233
- }
234
- },
235
- validate: function(_date, value, _options) {
236
- return value.isTwoDigitYear || value.year > 0;
237
- },
238
- set: function(date, flags, value, options) {
239
- var currentYear = getUTCWeekYear(date, options);
240
- if (value.isTwoDigitYear) {
241
- var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
242
- date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);
243
- date.setUTCHours(0, 0, 0, 0);
244
- return startOfUTCWeek(date, options);
245
- }
246
- var year = !("era" in flags) || flags.era === 1 ? value.year : 1 - value.year;
247
- date.setUTCFullYear(year, 0, options.firstWeekContainsDate);
248
- date.setUTCHours(0, 0, 0, 0);
249
- return startOfUTCWeek(date, options);
250
- },
251
- incompatibleTokens: [
252
- "y",
253
- "R",
254
- "u",
255
- "Q",
256
- "q",
257
- "M",
258
- "L",
259
- "I",
260
- "d",
261
- "D",
262
- "i",
263
- "t",
264
- "T"
265
- ]
266
- },
267
- R: {
268
- priority: 130,
269
- parse: function(string, token, _match, _options) {
270
- if (token === "R") return parseNDigitsSigned(4, string);
271
- return parseNDigitsSigned(token.length, string);
272
- },
273
- set: function(_date, _flags, value, _options) {
274
- var firstWeekOfYear = /* @__PURE__ */ new Date(0);
275
- firstWeekOfYear.setUTCFullYear(value, 0, 4);
276
- firstWeekOfYear.setUTCHours(0, 0, 0, 0);
277
- return startOfUTCISOWeek(firstWeekOfYear);
278
- },
279
- incompatibleTokens: [
280
- "G",
281
- "y",
282
- "Y",
283
- "u",
284
- "Q",
285
- "q",
286
- "M",
287
- "L",
288
- "w",
289
- "d",
290
- "D",
291
- "e",
292
- "c",
293
- "t",
294
- "T"
295
- ]
296
- },
297
- u: {
298
- priority: 130,
299
- parse: function(string, token, _match, _options) {
300
- if (token === "u") return parseNDigitsSigned(4, string);
301
- return parseNDigitsSigned(token.length, string);
302
- },
303
- set: function(date, _flags, value, _options) {
304
- date.setUTCFullYear(value, 0, 1);
305
- date.setUTCHours(0, 0, 0, 0);
306
- return date;
307
- },
308
- incompatibleTokens: [
309
- "G",
310
- "y",
311
- "Y",
312
- "R",
313
- "w",
314
- "I",
315
- "i",
316
- "e",
317
- "c",
318
- "t",
319
- "T"
320
- ]
321
- },
322
- Q: {
323
- priority: 120,
324
- parse: function(string, token, match, _options) {
325
- switch (token) {
326
- case "Q":
327
- case "QQ": return parseNDigits(token.length, string);
328
- case "Qo": return match.ordinalNumber(string, { unit: "quarter" });
329
- case "QQQ": return match.quarter(string, {
330
- width: "abbreviated",
331
- context: "formatting"
332
- }) || match.quarter(string, {
333
- width: "narrow",
334
- context: "formatting"
335
- });
336
- case "QQQQQ": return match.quarter(string, {
337
- width: "narrow",
338
- context: "formatting"
339
- });
340
- case "QQQQ":
341
- default: return match.quarter(string, {
342
- width: "wide",
343
- context: "formatting"
344
- }) || match.quarter(string, {
345
- width: "abbreviated",
346
- context: "formatting"
347
- }) || match.quarter(string, {
348
- width: "narrow",
349
- context: "formatting"
350
- });
351
- }
352
- },
353
- validate: function(_date, value, _options) {
354
- return value >= 1 && value <= 4;
355
- },
356
- set: function(date, _flags, value, _options) {
357
- date.setUTCMonth((value - 1) * 3, 1);
358
- date.setUTCHours(0, 0, 0, 0);
359
- return date;
360
- },
361
- incompatibleTokens: [
362
- "Y",
363
- "R",
364
- "q",
365
- "M",
366
- "L",
367
- "w",
368
- "I",
369
- "d",
370
- "D",
371
- "i",
372
- "e",
373
- "c",
374
- "t",
375
- "T"
376
- ]
377
- },
378
- q: {
379
- priority: 120,
380
- parse: function(string, token, match, _options) {
381
- switch (token) {
382
- case "q":
383
- case "qq": return parseNDigits(token.length, string);
384
- case "qo": return match.ordinalNumber(string, { unit: "quarter" });
385
- case "qqq": return match.quarter(string, {
386
- width: "abbreviated",
387
- context: "standalone"
388
- }) || match.quarter(string, {
389
- width: "narrow",
390
- context: "standalone"
391
- });
392
- case "qqqqq": return match.quarter(string, {
393
- width: "narrow",
394
- context: "standalone"
395
- });
396
- case "qqqq":
397
- default: return match.quarter(string, {
398
- width: "wide",
399
- context: "standalone"
400
- }) || match.quarter(string, {
401
- width: "abbreviated",
402
- context: "standalone"
403
- }) || match.quarter(string, {
404
- width: "narrow",
405
- context: "standalone"
406
- });
407
- }
408
- },
409
- validate: function(_date, value, _options) {
410
- return value >= 1 && value <= 4;
411
- },
412
- set: function(date, _flags, value, _options) {
413
- date.setUTCMonth((value - 1) * 3, 1);
414
- date.setUTCHours(0, 0, 0, 0);
415
- return date;
416
- },
417
- incompatibleTokens: [
418
- "Y",
419
- "R",
420
- "Q",
421
- "M",
422
- "L",
423
- "w",
424
- "I",
425
- "d",
426
- "D",
427
- "i",
428
- "e",
429
- "c",
430
- "t",
431
- "T"
432
- ]
433
- },
434
- M: {
435
- priority: 110,
436
- parse: function(string, token, match, _options) {
437
- var valueCallback = function(value) {
438
- return value - 1;
439
- };
440
- switch (token) {
441
- case "M": return parseNumericPattern(numericPatterns.month, string, valueCallback);
442
- case "MM": return parseNDigits(2, string, valueCallback);
443
- case "Mo": return match.ordinalNumber(string, {
444
- unit: "month",
445
- valueCallback
446
- });
447
- case "MMM": return match.month(string, {
448
- width: "abbreviated",
449
- context: "formatting"
450
- }) || match.month(string, {
451
- width: "narrow",
452
- context: "formatting"
453
- });
454
- case "MMMMM": return match.month(string, {
455
- width: "narrow",
456
- context: "formatting"
457
- });
458
- case "MMMM":
459
- default: return match.month(string, {
460
- width: "wide",
461
- context: "formatting"
462
- }) || match.month(string, {
463
- width: "abbreviated",
464
- context: "formatting"
465
- }) || match.month(string, {
466
- width: "narrow",
467
- context: "formatting"
468
- });
469
- }
470
- },
471
- validate: function(_date, value, _options) {
472
- return value >= 0 && value <= 11;
473
- },
474
- set: function(date, _flags, value, _options) {
475
- date.setUTCMonth(value, 1);
476
- date.setUTCHours(0, 0, 0, 0);
477
- return date;
478
- },
479
- incompatibleTokens: [
480
- "Y",
481
- "R",
482
- "q",
483
- "Q",
484
- "L",
485
- "w",
486
- "I",
487
- "D",
488
- "i",
489
- "e",
490
- "c",
491
- "t",
492
- "T"
493
- ]
494
- },
495
- L: {
496
- priority: 110,
497
- parse: function(string, token, match, _options) {
498
- var valueCallback = function(value) {
499
- return value - 1;
500
- };
501
- switch (token) {
502
- case "L": return parseNumericPattern(numericPatterns.month, string, valueCallback);
503
- case "LL": return parseNDigits(2, string, valueCallback);
504
- case "Lo": return match.ordinalNumber(string, {
505
- unit: "month",
506
- valueCallback
507
- });
508
- case "LLL": return match.month(string, {
509
- width: "abbreviated",
510
- context: "standalone"
511
- }) || match.month(string, {
512
- width: "narrow",
513
- context: "standalone"
514
- });
515
- case "LLLLL": return match.month(string, {
516
- width: "narrow",
517
- context: "standalone"
518
- });
519
- case "LLLL":
520
- default: return match.month(string, {
521
- width: "wide",
522
- context: "standalone"
523
- }) || match.month(string, {
524
- width: "abbreviated",
525
- context: "standalone"
526
- }) || match.month(string, {
527
- width: "narrow",
528
- context: "standalone"
529
- });
530
- }
531
- },
532
- validate: function(_date, value, _options) {
533
- return value >= 0 && value <= 11;
534
- },
535
- set: function(date, _flags, value, _options) {
536
- date.setUTCMonth(value, 1);
537
- date.setUTCHours(0, 0, 0, 0);
538
- return date;
539
- },
540
- incompatibleTokens: [
541
- "Y",
542
- "R",
543
- "q",
544
- "Q",
545
- "M",
546
- "w",
547
- "I",
548
- "D",
549
- "i",
550
- "e",
551
- "c",
552
- "t",
553
- "T"
554
- ]
555
- },
556
- w: {
557
- priority: 100,
558
- parse: function(string, token, match, _options) {
559
- switch (token) {
560
- case "w": return parseNumericPattern(numericPatterns.week, string);
561
- case "wo": return match.ordinalNumber(string, { unit: "week" });
562
- default: return parseNDigits(token.length, string);
563
- }
564
- },
565
- validate: function(_date, value, _options) {
566
- return value >= 1 && value <= 53;
567
- },
568
- set: function(date, _flags, value, options) {
569
- return startOfUTCWeek(setUTCWeek(date, value, options), options);
570
- },
571
- incompatibleTokens: [
572
- "y",
573
- "R",
574
- "u",
575
- "q",
576
- "Q",
577
- "M",
578
- "L",
579
- "I",
580
- "d",
581
- "D",
582
- "i",
583
- "t",
584
- "T"
585
- ]
586
- },
587
- I: {
588
- priority: 100,
589
- parse: function(string, token, match, _options) {
590
- switch (token) {
591
- case "I": return parseNumericPattern(numericPatterns.week, string);
592
- case "Io": return match.ordinalNumber(string, { unit: "week" });
593
- default: return parseNDigits(token.length, string);
594
- }
595
- },
596
- validate: function(_date, value, _options) {
597
- return value >= 1 && value <= 53;
598
- },
599
- set: function(date, _flags, value, options) {
600
- return startOfUTCISOWeek(setUTCISOWeek(date, value, options), options);
601
- },
602
- incompatibleTokens: [
603
- "y",
604
- "Y",
605
- "u",
606
- "q",
607
- "Q",
608
- "M",
609
- "L",
610
- "w",
611
- "d",
612
- "D",
613
- "e",
614
- "c",
615
- "t",
616
- "T"
617
- ]
618
- },
619
- d: {
620
- priority: 90,
621
- subPriority: 1,
622
- parse: function(string, token, match, _options) {
623
- switch (token) {
624
- case "d": return parseNumericPattern(numericPatterns.date, string);
625
- case "do": return match.ordinalNumber(string, { unit: "date" });
626
- default: return parseNDigits(token.length, string);
627
- }
628
- },
629
- validate: function(date, value, _options) {
630
- var isLeapYear = isLeapYearIndex(date.getUTCFullYear());
631
- var month = date.getUTCMonth();
632
- if (isLeapYear) return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];
633
- else return value >= 1 && value <= DAYS_IN_MONTH[month];
634
- },
635
- set: function(date, _flags, value, _options) {
636
- date.setUTCDate(value);
637
- date.setUTCHours(0, 0, 0, 0);
638
- return date;
639
- },
640
- incompatibleTokens: [
641
- "Y",
642
- "R",
643
- "q",
644
- "Q",
645
- "w",
646
- "I",
647
- "D",
648
- "i",
649
- "e",
650
- "c",
651
- "t",
652
- "T"
653
- ]
654
- },
655
- D: {
656
- priority: 90,
657
- subPriority: 1,
658
- parse: function(string, token, match, _options) {
659
- switch (token) {
660
- case "D":
661
- case "DD": return parseNumericPattern(numericPatterns.dayOfYear, string);
662
- case "Do": return match.ordinalNumber(string, { unit: "date" });
663
- default: return parseNDigits(token.length, string);
664
- }
665
- },
666
- validate: function(date, value, _options) {
667
- if (isLeapYearIndex(date.getUTCFullYear())) return value >= 1 && value <= 366;
668
- else return value >= 1 && value <= 365;
669
- },
670
- set: function(date, _flags, value, _options) {
671
- date.setUTCMonth(0, value);
672
- date.setUTCHours(0, 0, 0, 0);
673
- return date;
674
- },
675
- incompatibleTokens: [
676
- "Y",
677
- "R",
678
- "q",
679
- "Q",
680
- "M",
681
- "L",
682
- "w",
683
- "I",
684
- "d",
685
- "E",
686
- "i",
687
- "e",
688
- "c",
689
- "t",
690
- "T"
691
- ]
692
- },
693
- E: {
694
- priority: 90,
695
- parse: function(string, token, match, _options) {
696
- switch (token) {
697
- case "E":
698
- case "EE":
699
- case "EEE": return match.day(string, {
700
- width: "abbreviated",
701
- context: "formatting"
702
- }) || match.day(string, {
703
- width: "short",
704
- context: "formatting"
705
- }) || match.day(string, {
706
- width: "narrow",
707
- context: "formatting"
708
- });
709
- case "EEEEE": return match.day(string, {
710
- width: "narrow",
711
- context: "formatting"
712
- });
713
- case "EEEEEE": return match.day(string, {
714
- width: "short",
715
- context: "formatting"
716
- }) || match.day(string, {
717
- width: "narrow",
718
- context: "formatting"
719
- });
720
- case "EEEE":
721
- default: return match.day(string, {
722
- width: "wide",
723
- context: "formatting"
724
- }) || match.day(string, {
725
- width: "abbreviated",
726
- context: "formatting"
727
- }) || match.day(string, {
728
- width: "short",
729
- context: "formatting"
730
- }) || match.day(string, {
731
- width: "narrow",
732
- context: "formatting"
733
- });
734
- }
735
- },
736
- validate: function(_date, value, _options) {
737
- return value >= 0 && value <= 6;
738
- },
739
- set: function(date, _flags, value, options) {
740
- date = setUTCDay(date, value, options);
741
- date.setUTCHours(0, 0, 0, 0);
742
- return date;
743
- },
744
- incompatibleTokens: [
745
- "D",
746
- "i",
747
- "e",
748
- "c",
749
- "t",
750
- "T"
751
- ]
752
- },
753
- e: {
754
- priority: 90,
755
- parse: function(string, token, match, options) {
756
- var valueCallback = function(value) {
757
- var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
758
- return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
759
- };
760
- switch (token) {
761
- case "e":
762
- case "ee": return parseNDigits(token.length, string, valueCallback);
763
- case "eo": return match.ordinalNumber(string, {
764
- unit: "day",
765
- valueCallback
766
- });
767
- case "eee": return match.day(string, {
768
- width: "abbreviated",
769
- context: "formatting"
770
- }) || match.day(string, {
771
- width: "short",
772
- context: "formatting"
773
- }) || match.day(string, {
774
- width: "narrow",
775
- context: "formatting"
776
- });
777
- case "eeeee": return match.day(string, {
778
- width: "narrow",
779
- context: "formatting"
780
- });
781
- case "eeeeee": return match.day(string, {
782
- width: "short",
783
- context: "formatting"
784
- }) || match.day(string, {
785
- width: "narrow",
786
- context: "formatting"
787
- });
788
- case "eeee":
789
- default: return match.day(string, {
790
- width: "wide",
791
- context: "formatting"
792
- }) || match.day(string, {
793
- width: "abbreviated",
794
- context: "formatting"
795
- }) || match.day(string, {
796
- width: "short",
797
- context: "formatting"
798
- }) || match.day(string, {
799
- width: "narrow",
800
- context: "formatting"
801
- });
802
- }
803
- },
804
- validate: function(_date, value, _options) {
805
- return value >= 0 && value <= 6;
806
- },
807
- set: function(date, _flags, value, options) {
808
- date = setUTCDay(date, value, options);
809
- date.setUTCHours(0, 0, 0, 0);
810
- return date;
811
- },
812
- incompatibleTokens: [
813
- "y",
814
- "R",
815
- "u",
816
- "q",
817
- "Q",
818
- "M",
819
- "L",
820
- "I",
821
- "d",
822
- "D",
823
- "E",
824
- "i",
825
- "c",
826
- "t",
827
- "T"
828
- ]
829
- },
830
- c: {
831
- priority: 90,
832
- parse: function(string, token, match, options) {
833
- var valueCallback = function(value) {
834
- var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
835
- return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
836
- };
837
- switch (token) {
838
- case "c":
839
- case "cc": return parseNDigits(token.length, string, valueCallback);
840
- case "co": return match.ordinalNumber(string, {
841
- unit: "day",
842
- valueCallback
843
- });
844
- case "ccc": return match.day(string, {
845
- width: "abbreviated",
846
- context: "standalone"
847
- }) || match.day(string, {
848
- width: "short",
849
- context: "standalone"
850
- }) || match.day(string, {
851
- width: "narrow",
852
- context: "standalone"
853
- });
854
- case "ccccc": return match.day(string, {
855
- width: "narrow",
856
- context: "standalone"
857
- });
858
- case "cccccc": return match.day(string, {
859
- width: "short",
860
- context: "standalone"
861
- }) || match.day(string, {
862
- width: "narrow",
863
- context: "standalone"
864
- });
865
- case "cccc":
866
- default: return match.day(string, {
867
- width: "wide",
868
- context: "standalone"
869
- }) || match.day(string, {
870
- width: "abbreviated",
871
- context: "standalone"
872
- }) || match.day(string, {
873
- width: "short",
874
- context: "standalone"
875
- }) || match.day(string, {
876
- width: "narrow",
877
- context: "standalone"
878
- });
879
- }
880
- },
881
- validate: function(_date, value, _options) {
882
- return value >= 0 && value <= 6;
883
- },
884
- set: function(date, _flags, value, options) {
885
- date = setUTCDay(date, value, options);
886
- date.setUTCHours(0, 0, 0, 0);
887
- return date;
888
- },
889
- incompatibleTokens: [
890
- "y",
891
- "R",
892
- "u",
893
- "q",
894
- "Q",
895
- "M",
896
- "L",
897
- "I",
898
- "d",
899
- "D",
900
- "E",
901
- "i",
902
- "e",
903
- "t",
904
- "T"
905
- ]
906
- },
907
- i: {
908
- priority: 90,
909
- parse: function(string, token, match, _options) {
910
- var valueCallback = function(value) {
911
- if (value === 0) return 7;
912
- return value;
913
- };
914
- switch (token) {
915
- case "i":
916
- case "ii": return parseNDigits(token.length, string);
917
- case "io": return match.ordinalNumber(string, { unit: "day" });
918
- case "iii": return match.day(string, {
919
- width: "abbreviated",
920
- context: "formatting",
921
- valueCallback
922
- }) || match.day(string, {
923
- width: "short",
924
- context: "formatting",
925
- valueCallback
926
- }) || match.day(string, {
927
- width: "narrow",
928
- context: "formatting",
929
- valueCallback
930
- });
931
- case "iiiii": return match.day(string, {
932
- width: "narrow",
933
- context: "formatting",
934
- valueCallback
935
- });
936
- case "iiiiii": return match.day(string, {
937
- width: "short",
938
- context: "formatting",
939
- valueCallback
940
- }) || match.day(string, {
941
- width: "narrow",
942
- context: "formatting",
943
- valueCallback
944
- });
945
- case "iiii":
946
- default: return match.day(string, {
947
- width: "wide",
948
- context: "formatting",
949
- valueCallback
950
- }) || match.day(string, {
951
- width: "abbreviated",
952
- context: "formatting",
953
- valueCallback
954
- }) || match.day(string, {
955
- width: "short",
956
- context: "formatting",
957
- valueCallback
958
- }) || match.day(string, {
959
- width: "narrow",
960
- context: "formatting",
961
- valueCallback
962
- });
963
- }
964
- },
965
- validate: function(_date, value, _options) {
966
- return value >= 1 && value <= 7;
967
- },
968
- set: function(date, _flags, value, options) {
969
- date = setUTCISODay(date, value, options);
970
- date.setUTCHours(0, 0, 0, 0);
971
- return date;
972
- },
973
- incompatibleTokens: [
974
- "y",
975
- "Y",
976
- "u",
977
- "q",
978
- "Q",
979
- "M",
980
- "L",
981
- "w",
982
- "d",
983
- "D",
984
- "E",
985
- "e",
986
- "c",
987
- "t",
988
- "T"
989
- ]
990
- },
991
- a: {
992
- priority: 80,
993
- parse: function(string, token, match, _options) {
994
- switch (token) {
995
- case "a":
996
- case "aa":
997
- case "aaa": return match.dayPeriod(string, {
998
- width: "abbreviated",
999
- context: "formatting"
1000
- }) || match.dayPeriod(string, {
1001
- width: "narrow",
1002
- context: "formatting"
1003
- });
1004
- case "aaaaa": return match.dayPeriod(string, {
1005
- width: "narrow",
1006
- context: "formatting"
1007
- });
1008
- case "aaaa":
1009
- default: return match.dayPeriod(string, {
1010
- width: "wide",
1011
- context: "formatting"
1012
- }) || match.dayPeriod(string, {
1013
- width: "abbreviated",
1014
- context: "formatting"
1015
- }) || match.dayPeriod(string, {
1016
- width: "narrow",
1017
- context: "formatting"
1018
- });
1019
- }
1020
- },
1021
- set: function(date, _flags, value, _options) {
1022
- date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
1023
- return date;
1024
- },
1025
- incompatibleTokens: [
1026
- "b",
1027
- "B",
1028
- "H",
1029
- "K",
1030
- "k",
1031
- "t",
1032
- "T"
1033
- ]
1034
- },
1035
- b: {
1036
- priority: 80,
1037
- parse: function(string, token, match, _options) {
1038
- switch (token) {
1039
- case "b":
1040
- case "bb":
1041
- case "bbb": return match.dayPeriod(string, {
1042
- width: "abbreviated",
1043
- context: "formatting"
1044
- }) || match.dayPeriod(string, {
1045
- width: "narrow",
1046
- context: "formatting"
1047
- });
1048
- case "bbbbb": return match.dayPeriod(string, {
1049
- width: "narrow",
1050
- context: "formatting"
1051
- });
1052
- case "bbbb":
1053
- default: return match.dayPeriod(string, {
1054
- width: "wide",
1055
- context: "formatting"
1056
- }) || match.dayPeriod(string, {
1057
- width: "abbreviated",
1058
- context: "formatting"
1059
- }) || match.dayPeriod(string, {
1060
- width: "narrow",
1061
- context: "formatting"
1062
- });
1063
- }
1064
- },
1065
- set: function(date, _flags, value, _options) {
1066
- date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
1067
- return date;
1068
- },
1069
- incompatibleTokens: [
1070
- "a",
1071
- "B",
1072
- "H",
1073
- "K",
1074
- "k",
1075
- "t",
1076
- "T"
1077
- ]
1078
- },
1079
- B: {
1080
- priority: 80,
1081
- parse: function(string, token, match, _options) {
1082
- switch (token) {
1083
- case "B":
1084
- case "BB":
1085
- case "BBB": return match.dayPeriod(string, {
1086
- width: "abbreviated",
1087
- context: "formatting"
1088
- }) || match.dayPeriod(string, {
1089
- width: "narrow",
1090
- context: "formatting"
1091
- });
1092
- case "BBBBB": return match.dayPeriod(string, {
1093
- width: "narrow",
1094
- context: "formatting"
1095
- });
1096
- case "BBBB":
1097
- default: return match.dayPeriod(string, {
1098
- width: "wide",
1099
- context: "formatting"
1100
- }) || match.dayPeriod(string, {
1101
- width: "abbreviated",
1102
- context: "formatting"
1103
- }) || match.dayPeriod(string, {
1104
- width: "narrow",
1105
- context: "formatting"
1106
- });
1107
- }
1108
- },
1109
- set: function(date, _flags, value, _options) {
1110
- date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
1111
- return date;
1112
- },
1113
- incompatibleTokens: [
1114
- "a",
1115
- "b",
1116
- "t",
1117
- "T"
1118
- ]
1119
- },
1120
- h: {
1121
- priority: 70,
1122
- parse: function(string, token, match, _options) {
1123
- switch (token) {
1124
- case "h": return parseNumericPattern(numericPatterns.hour12h, string);
1125
- case "ho": return match.ordinalNumber(string, { unit: "hour" });
1126
- default: return parseNDigits(token.length, string);
1127
- }
1128
- },
1129
- validate: function(_date, value, _options) {
1130
- return value >= 1 && value <= 12;
1131
- },
1132
- set: function(date, _flags, value, _options) {
1133
- var isPM = date.getUTCHours() >= 12;
1134
- if (isPM && value < 12) date.setUTCHours(value + 12, 0, 0, 0);
1135
- else if (!isPM && value === 12) date.setUTCHours(0, 0, 0, 0);
1136
- else date.setUTCHours(value, 0, 0, 0);
1137
- return date;
1138
- },
1139
- incompatibleTokens: [
1140
- "H",
1141
- "K",
1142
- "k",
1143
- "t",
1144
- "T"
1145
- ]
1146
- },
1147
- H: {
1148
- priority: 70,
1149
- parse: function(string, token, match, _options) {
1150
- switch (token) {
1151
- case "H": return parseNumericPattern(numericPatterns.hour23h, string);
1152
- case "Ho": return match.ordinalNumber(string, { unit: "hour" });
1153
- default: return parseNDigits(token.length, string);
1154
- }
1155
- },
1156
- validate: function(_date, value, _options) {
1157
- return value >= 0 && value <= 23;
1158
- },
1159
- set: function(date, _flags, value, _options) {
1160
- date.setUTCHours(value, 0, 0, 0);
1161
- return date;
1162
- },
1163
- incompatibleTokens: [
1164
- "a",
1165
- "b",
1166
- "h",
1167
- "K",
1168
- "k",
1169
- "t",
1170
- "T"
1171
- ]
1172
- },
1173
- K: {
1174
- priority: 70,
1175
- parse: function(string, token, match, _options) {
1176
- switch (token) {
1177
- case "K": return parseNumericPattern(numericPatterns.hour11h, string);
1178
- case "Ko": return match.ordinalNumber(string, { unit: "hour" });
1179
- default: return parseNDigits(token.length, string);
1180
- }
1181
- },
1182
- validate: function(_date, value, _options) {
1183
- return value >= 0 && value <= 11;
1184
- },
1185
- set: function(date, _flags, value, _options) {
1186
- if (date.getUTCHours() >= 12 && value < 12) date.setUTCHours(value + 12, 0, 0, 0);
1187
- else date.setUTCHours(value, 0, 0, 0);
1188
- return date;
1189
- },
1190
- incompatibleTokens: [
1191
- "a",
1192
- "b",
1193
- "h",
1194
- "H",
1195
- "k",
1196
- "t",
1197
- "T"
1198
- ]
1199
- },
1200
- k: {
1201
- priority: 70,
1202
- parse: function(string, token, match, _options) {
1203
- switch (token) {
1204
- case "k": return parseNumericPattern(numericPatterns.hour24h, string);
1205
- case "ko": return match.ordinalNumber(string, { unit: "hour" });
1206
- default: return parseNDigits(token.length, string);
1207
- }
1208
- },
1209
- validate: function(_date, value, _options) {
1210
- return value >= 1 && value <= 24;
1211
- },
1212
- set: function(date, _flags, value, _options) {
1213
- var hours = value <= 24 ? value % 24 : value;
1214
- date.setUTCHours(hours, 0, 0, 0);
1215
- return date;
1216
- },
1217
- incompatibleTokens: [
1218
- "a",
1219
- "b",
1220
- "h",
1221
- "H",
1222
- "K",
1223
- "t",
1224
- "T"
1225
- ]
1226
- },
1227
- m: {
1228
- priority: 60,
1229
- parse: function(string, token, match, _options) {
1230
- switch (token) {
1231
- case "m": return parseNumericPattern(numericPatterns.minute, string);
1232
- case "mo": return match.ordinalNumber(string, { unit: "minute" });
1233
- default: return parseNDigits(token.length, string);
1234
- }
1235
- },
1236
- validate: function(_date, value, _options) {
1237
- return value >= 0 && value <= 59;
1238
- },
1239
- set: function(date, _flags, value, _options) {
1240
- date.setUTCMinutes(value, 0, 0);
1241
- return date;
1242
- },
1243
- incompatibleTokens: ["t", "T"]
1244
- },
1245
- s: {
1246
- priority: 50,
1247
- parse: function(string, token, match, _options) {
1248
- switch (token) {
1249
- case "s": return parseNumericPattern(numericPatterns.second, string);
1250
- case "so": return match.ordinalNumber(string, { unit: "second" });
1251
- default: return parseNDigits(token.length, string);
1252
- }
1253
- },
1254
- validate: function(_date, value, _options) {
1255
- return value >= 0 && value <= 59;
1256
- },
1257
- set: function(date, _flags, value, _options) {
1258
- date.setUTCSeconds(value, 0);
1259
- return date;
1260
- },
1261
- incompatibleTokens: ["t", "T"]
1262
- },
1263
- S: {
1264
- priority: 30,
1265
- parse: function(string, token, _match, _options) {
1266
- var valueCallback = function(value) {
1267
- return Math.floor(value * Math.pow(10, -token.length + 3));
1268
- };
1269
- return parseNDigits(token.length, string, valueCallback);
1270
- },
1271
- set: function(date, _flags, value, _options) {
1272
- date.setUTCMilliseconds(value);
1273
- return date;
1274
- },
1275
- incompatibleTokens: ["t", "T"]
1276
- },
1277
- X: {
1278
- priority: 10,
1279
- parse: function(string, token, _match, _options) {
1280
- switch (token) {
1281
- case "X": return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);
1282
- case "XX": return parseTimezonePattern(timezonePatterns.basic, string);
1283
- case "XXXX": return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);
1284
- case "XXXXX": return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);
1285
- case "XXX":
1286
- default: return parseTimezonePattern(timezonePatterns.extended, string);
1287
- }
1288
- },
1289
- set: function(date, flags, value, _options) {
1290
- if (flags.timestampIsSet) return date;
1291
- return new Date(date.getTime() - value);
1292
- },
1293
- incompatibleTokens: [
1294
- "t",
1295
- "T",
1296
- "x"
1297
- ]
1298
- },
1299
- x: {
1300
- priority: 10,
1301
- parse: function(string, token, _match, _options) {
1302
- switch (token) {
1303
- case "x": return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);
1304
- case "xx": return parseTimezonePattern(timezonePatterns.basic, string);
1305
- case "xxxx": return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);
1306
- case "xxxxx": return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);
1307
- case "xxx":
1308
- default: return parseTimezonePattern(timezonePatterns.extended, string);
1309
- }
1310
- },
1311
- set: function(date, flags, value, _options) {
1312
- if (flags.timestampIsSet) return date;
1313
- return new Date(date.getTime() - value);
1314
- },
1315
- incompatibleTokens: [
1316
- "t",
1317
- "T",
1318
- "X"
1319
- ]
1320
- },
1321
- t: {
1322
- priority: 40,
1323
- parse: function(string, _token, _match, _options) {
1324
- return parseAnyDigitsSigned(string);
1325
- },
1326
- set: function(_date, _flags, value, _options) {
1327
- return [/* @__PURE__ */ new Date(value * 1e3), { timestampIsSet: true }];
1328
- },
1329
- incompatibleTokens: "*"
1330
- },
1331
- T: {
1332
- priority: 20,
1333
- parse: function(string, _token, _match, _options) {
1334
- return parseAnyDigitsSigned(string);
1335
- },
1336
- set: function(_date, _flags, value, _options) {
1337
- return [new Date(value), { timestampIsSet: true }];
1338
- },
1339
- incompatibleTokens: "*"
1340
- }
1341
- };
1342
- var parsers_default = parsers;
1343
-
1344
- //#endregion
1345
- export { parsers_default as default };
1346
- //# sourceMappingURL=index.js.map