@paperless/core 0.1.0-alpha.437 → 0.1.0-alpha.439

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 (378) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{paperless/p-e3f29ba8.entry.js → build/p-0410ec1e.entry.js} +2 -2
  3. package/dist/{paperless/p-756c06ec.entry.js → build/p-1d6b036c.entry.js} +2 -2
  4. package/dist/build/{p-58b52568.entry.js → p-1f55126f.entry.js} +2 -2
  5. package/dist/build/{p-b7b1de31.entry.js → p-322be6d8.entry.js} +2 -2
  6. package/dist/build/{p-5d118f66.entry.js → p-33b6520e.entry.js} +2 -2
  7. package/dist/build/{p-f07793f6.entry.js → p-3bd4c1c1.entry.js} +2 -2
  8. package/dist/build/{p-a3fcf8b6.entry.js → p-3d458d5a.entry.js} +2 -2
  9. package/dist/build/{p-0cb97c5e.entry.js → p-47e461b7.entry.js} +2 -2
  10. package/dist/build/{p-b13a0ee4.entry.js → p-49104ffe.entry.js} +2 -2
  11. package/dist/{paperless/p-a2bd1a79.entry.js → build/p-4939be3e.entry.js} +2 -2
  12. package/dist/{paperless/p-ac7b48ff.entry.js → build/p-4b99a4fe.entry.js} +2 -2
  13. package/dist/build/{p-464569dc.entry.js → p-5e5f3eaa.entry.js} +2 -2
  14. package/dist/build/{p-ea824ef3.entry.js → p-688264c9.entry.js} +2 -2
  15. package/dist/build/{p-d012d066.entry.js → p-6a7584cc.entry.js} +2 -2
  16. package/dist/build/p-6ccf5cdd.js +3 -0
  17. package/dist/build/p-6ccf5cdd.js.map +1 -0
  18. package/dist/build/{p-ebc2ae62.entry.js → p-733a0d79.entry.js} +2 -2
  19. package/dist/{paperless/p-ef2eee59.entry.js → build/p-7b16e066.entry.js} +2 -2
  20. package/dist/build/{p-45dfd940.entry.js → p-7e26a901.entry.js} +2 -2
  21. package/dist/build/{p-cccc37c0.entry.js → p-81a99f72.entry.js} +2 -2
  22. package/dist/{paperless/p-6f82a1e7.entry.js → build/p-8569fa3c.entry.js} +2 -2
  23. package/dist/{paperless/p-c87da93e.entry.js → build/p-86b47461.entry.js} +2 -2
  24. package/dist/build/p-89f5e9c9.entry.js +2 -0
  25. package/dist/build/p-89f5e9c9.entry.js.map +1 -0
  26. package/dist/build/{p-1b5292a3.entry.js → p-8f453ef2.entry.js} +2 -2
  27. package/dist/{paperless/p-57411b2b.entry.js → build/p-a0790d7b.entry.js} +2 -2
  28. package/dist/build/{p-31afbb45.entry.js → p-a233bac3.entry.js} +2 -2
  29. package/dist/{paperless/p-5a31cb9e.entry.js → build/p-a751f1a4.entry.js} +2 -2
  30. package/dist/build/p-ae248aef.js +2 -0
  31. package/dist/build/p-ae248aef.js.map +1 -0
  32. package/dist/build/{p-3d8b5cc4.entry.js → p-af38f227.entry.js} +2 -2
  33. package/dist/{paperless/p-93fb216c.entry.js → build/p-af92e53c.entry.js} +2 -2
  34. package/dist/build/{p-7b94bc6a.entry.js → p-b5b591c7.entry.js} +2 -2
  35. package/dist/{paperless/p-78948e08.entry.js → build/p-b62e6ab2.entry.js} +2 -2
  36. package/dist/{paperless/p-5236b565.entry.js → build/p-c6d9e720.entry.js} +2 -2
  37. package/dist/{paperless/p-f34ed23f.entry.js → build/p-c942022f.entry.js} +2 -2
  38. package/dist/build/p-c942022f.entry.js.map +1 -0
  39. package/dist/build/{p-ebd4ba56.entry.js → p-ca2abe98.entry.js} +2 -2
  40. package/dist/build/{p-b0eeab26.entry.js → p-cfd0a2bb.entry.js} +2 -2
  41. package/dist/build/{p-10ad607e.entry.js → p-e8a815d7.entry.js} +2 -2
  42. package/dist/build/{p-036a82fc.entry.js → p-e9dc7598.entry.js} +2 -2
  43. package/dist/build/p-e9dc7598.entry.js.map +1 -0
  44. package/dist/build/{p-e0d7a4ee.entry.js → p-efdeae92.entry.js} +2 -2
  45. package/dist/{paperless/p-8fb43cc7.entry.js → build/p-f215bf8c.entry.js} +2 -2
  46. package/dist/build/{p-c6ef7b79.entry.js → p-f3207ec2.entry.js} +2 -2
  47. package/dist/build/{p-0a3f2fe8.entry.js → p-f429073e.entry.js} +2 -2
  48. package/dist/build/{p-dc01e9eb.entry.js → p-f59afce6.entry.js} +2 -2
  49. package/dist/{paperless/p-471be252.entry.js → build/p-f695dc3c.entry.js} +2 -2
  50. package/dist/build/{p-78ce77d2.entry.js → p-f9aaa75c.entry.js} +2 -2
  51. package/dist/build/p-fef32402.js +2 -0
  52. package/dist/{cjs/floating-ui.dom.esm-4cb215a4.js.map → build/p-fef32402.js.map} +1 -1
  53. package/dist/build/paperless.css +1 -1
  54. package/dist/build/paperless.esm.js +1 -1
  55. package/dist/build/paperless.esm.js.map +1 -1
  56. package/dist/cjs/{floating-ui.dom.esm-4cb215a4.js → floating-ui.dom.esm-62336770.js} +19 -9
  57. package/dist/cjs/floating-ui.dom.esm-62336770.js.map +1 -0
  58. package/dist/cjs/{index-040ec3f9.js → index-b59a0544.js} +65 -224
  59. package/dist/cjs/index-b59a0544.js.map +1 -0
  60. package/dist/cjs/{index-13ea09e0.js → index-dfc4dfec.js} +82 -34
  61. package/dist/cjs/index-dfc4dfec.js.map +1 -0
  62. package/dist/cjs/loader.cjs.js +2 -2
  63. package/dist/cjs/loader.cjs.js.map +1 -1
  64. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  65. package/dist/cjs/p-attachment.cjs.entry.js +2 -2
  66. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  67. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  68. package/dist/cjs/p-backdrop.cjs.entry.js +1 -1
  69. package/dist/cjs/p-button_3.cjs.entry.js +1 -1
  70. package/dist/cjs/p-calendar.cjs.entry.js +9 -28
  71. package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
  72. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  73. package/dist/cjs/p-card-container.cjs.entry.js +1 -1
  74. package/dist/cjs/p-card-header.cjs.entry.js +1 -1
  75. package/dist/cjs/p-content-slider.cjs.entry.js +1 -1
  76. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  77. package/dist/cjs/p-datepicker.cjs.entry.js +435 -1476
  78. package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
  79. package/dist/cjs/p-divider.cjs.entry.js +1 -1
  80. package/dist/cjs/p-drawer-body_3.cjs.entry.js +1 -1
  81. package/dist/cjs/p-drawer.cjs.entry.js +1 -1
  82. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +2 -2
  83. package/dist/cjs/p-dropdown_2.cjs.entry.js +3 -3
  84. package/dist/cjs/p-helper_3.cjs.entry.js +3 -3
  85. package/dist/cjs/p-illustration_6.cjs.entry.js +1 -1
  86. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  87. package/dist/cjs/p-label_3.cjs.entry.js +1 -1
  88. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  89. package/dist/cjs/p-modal-body_4.cjs.entry.js +1 -1
  90. package/dist/cjs/p-modal.cjs.entry.js +1 -1
  91. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  92. package/dist/cjs/p-navigation-item.cjs.entry.js +1 -1
  93. package/dist/cjs/p-page-size-select_3.cjs.entry.js +1 -1
  94. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  95. package/dist/cjs/p-select.cjs.entry.js +1 -1
  96. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  97. package/dist/cjs/p-status.cjs.entry.js +1 -1
  98. package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
  99. package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
  100. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  101. package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
  102. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  103. package/dist/cjs/p-table-column.cjs.entry.js +1 -1
  104. package/dist/cjs/p-table.cjs.entry.js +1 -1
  105. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  106. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  107. package/dist/cjs/p-tooltip.cjs.entry.js +6 -4
  108. package/dist/cjs/p-tooltip.cjs.entry.js.map +1 -1
  109. package/dist/cjs/paperless.cjs.js +2 -2
  110. package/dist/cjs/paperless.cjs.js.map +1 -1
  111. package/dist/collection/collection-manifest.json +1 -1
  112. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
  113. package/dist/collection/components/atoms/button/button.component.css +1 -1
  114. package/dist/collection/components/atoms/divider/divider.component.css +1 -1
  115. package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -1
  116. package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -1
  117. package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -1
  118. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
  119. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  120. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  121. package/dist/collection/components/atoms/icon/icon.component.css +1 -1
  122. package/dist/collection/components/atoms/label/label.component.css +1 -1
  123. package/dist/collection/components/atoms/loader/loader.component.css +1 -1
  124. package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
  125. package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
  126. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -1
  127. package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -1
  128. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
  129. package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -1
  130. package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
  131. package/dist/collection/components/atoms/table-container/table-container.component.css +1 -1
  132. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
  133. package/dist/collection/components/atoms/tooltip/tooltip.component.js +3 -1
  134. package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -1
  135. package/dist/collection/components/molecules/attachment/attachment.component.css +1 -1
  136. package/dist/collection/components/molecules/calendar/calendar.component.css +1 -1
  137. package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
  138. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  139. package/dist/collection/components/molecules/input-group/input-group.component.css +1 -1
  140. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
  141. package/dist/collection/components/molecules/profile/profile.component.css +1 -1
  142. package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -1
  143. package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -1
  144. package/dist/collection/components/molecules/table-header/table-header.component.css +1 -1
  145. package/dist/collection/components/molecules/table-row/table-row.component.css +1 -1
  146. package/dist/collection/components/organisms/drawer/drawer.component.css +1 -1
  147. package/dist/collection/components/organisms/table/table.component.css +1 -1
  148. package/dist/components/calendar.component.js +71 -250
  149. package/dist/components/calendar.component.js.map +1 -1
  150. package/dist/components/dropdown-menu-container.component.js +1 -1
  151. package/dist/components/dropdown.component.js +1 -1
  152. package/dist/components/floating-ui.dom.esm.js +18 -8
  153. package/dist/components/floating-ui.dom.esm.js.map +1 -1
  154. package/dist/components/helper.component.js +1 -1
  155. package/dist/components/input-group.component.js +1 -1
  156. package/dist/components/p-attachment.js +1 -1
  157. package/dist/components/p-datepicker.js +433 -1474
  158. package/dist/components/p-datepicker.js.map +1 -1
  159. package/dist/components/tooltip.component.js +4 -2
  160. package/dist/components/tooltip.component.js.map +1 -1
  161. package/dist/esm/{floating-ui.dom.esm-82b72251.js → floating-ui.dom.esm-314a52b2.js} +19 -9
  162. package/dist/esm/floating-ui.dom.esm-314a52b2.js.map +1 -0
  163. package/dist/esm/{index-94339e77.js → index-2c1bdb40.js} +82 -34
  164. package/dist/esm/index-2c1bdb40.js.map +1 -0
  165. package/dist/esm/{index-340e085c.js → index-934ac6da.js} +65 -225
  166. package/dist/esm/index-934ac6da.js.map +1 -0
  167. package/dist/esm/loader.js +3 -3
  168. package/dist/esm/loader.js.map +1 -1
  169. package/dist/esm/p-accordion.entry.js +1 -1
  170. package/dist/esm/p-attachment.entry.js +2 -2
  171. package/dist/esm/p-avatar-group.entry.js +1 -1
  172. package/dist/esm/p-avatar.entry.js +1 -1
  173. package/dist/esm/p-backdrop.entry.js +1 -1
  174. package/dist/esm/p-button_3.entry.js +1 -1
  175. package/dist/esm/p-calendar.entry.js +9 -28
  176. package/dist/esm/p-calendar.entry.js.map +1 -1
  177. package/dist/esm/p-card-body.entry.js +1 -1
  178. package/dist/esm/p-card-container.entry.js +1 -1
  179. package/dist/esm/p-card-header.entry.js +1 -1
  180. package/dist/esm/p-content-slider.entry.js +1 -1
  181. package/dist/esm/p-counter.entry.js +1 -1
  182. package/dist/esm/p-datepicker.entry.js +434 -1475
  183. package/dist/esm/p-datepicker.entry.js.map +1 -1
  184. package/dist/esm/p-divider.entry.js +1 -1
  185. package/dist/esm/p-drawer-body_3.entry.js +1 -1
  186. package/dist/esm/p-drawer.entry.js +1 -1
  187. package/dist/esm/p-dropdown-menu-container.entry.js +2 -2
  188. package/dist/esm/p-dropdown_2.entry.js +3 -3
  189. package/dist/esm/p-helper_3.entry.js +3 -3
  190. package/dist/esm/p-illustration_6.entry.js +1 -1
  191. package/dist/esm/p-info-panel.entry.js +1 -1
  192. package/dist/esm/p-label_3.entry.js +1 -1
  193. package/dist/esm/p-layout.entry.js +1 -1
  194. package/dist/esm/p-modal-body_4.entry.js +1 -1
  195. package/dist/esm/p-modal.entry.js +1 -1
  196. package/dist/esm/p-navbar.entry.js +1 -1
  197. package/dist/esm/p-navigation-item.entry.js +1 -1
  198. package/dist/esm/p-page-size-select_3.entry.js +1 -1
  199. package/dist/esm/p-profile.entry.js +1 -1
  200. package/dist/esm/p-select.entry.js +1 -1
  201. package/dist/esm/p-slider-indicator.entry.js +1 -1
  202. package/dist/esm/p-status.entry.js +1 -1
  203. package/dist/esm/p-stepper-item.entry.js +1 -1
  204. package/dist/esm/p-stepper-line.entry.js +1 -1
  205. package/dist/esm/p-stepper.entry.js +1 -1
  206. package/dist/esm/p-tab-group.entry.js +1 -1
  207. package/dist/esm/p-tab-item.entry.js +1 -1
  208. package/dist/esm/p-table-column.entry.js +1 -1
  209. package/dist/esm/p-table.entry.js +1 -1
  210. package/dist/esm/p-toast-container.entry.js +1 -1
  211. package/dist/esm/p-toast.entry.js +1 -1
  212. package/dist/esm/p-tooltip.entry.js +6 -4
  213. package/dist/esm/p-tooltip.entry.js.map +1 -1
  214. package/dist/esm/paperless.js +3 -3
  215. package/dist/esm/paperless.js.map +1 -1
  216. package/dist/index.html +1 -1
  217. package/dist/{build/p-e3f29ba8.entry.js → paperless/p-0410ec1e.entry.js} +2 -2
  218. package/dist/{build/p-756c06ec.entry.js → paperless/p-1d6b036c.entry.js} +2 -2
  219. package/dist/paperless/{p-58b52568.entry.js → p-1f55126f.entry.js} +2 -2
  220. package/dist/paperless/{p-b7b1de31.entry.js → p-322be6d8.entry.js} +2 -2
  221. package/dist/paperless/{p-5d118f66.entry.js → p-33b6520e.entry.js} +2 -2
  222. package/dist/paperless/{p-f07793f6.entry.js → p-3bd4c1c1.entry.js} +2 -2
  223. package/dist/paperless/{p-a3fcf8b6.entry.js → p-3d458d5a.entry.js} +2 -2
  224. package/dist/paperless/{p-0cb97c5e.entry.js → p-47e461b7.entry.js} +2 -2
  225. package/dist/paperless/{p-b13a0ee4.entry.js → p-49104ffe.entry.js} +2 -2
  226. package/dist/{build/p-a2bd1a79.entry.js → paperless/p-4939be3e.entry.js} +2 -2
  227. package/dist/{build/p-ac7b48ff.entry.js → paperless/p-4b99a4fe.entry.js} +2 -2
  228. package/dist/paperless/{p-464569dc.entry.js → p-5e5f3eaa.entry.js} +2 -2
  229. package/dist/paperless/{p-ea824ef3.entry.js → p-688264c9.entry.js} +2 -2
  230. package/dist/paperless/{p-d012d066.entry.js → p-6a7584cc.entry.js} +2 -2
  231. package/dist/paperless/p-6ccf5cdd.js +3 -0
  232. package/dist/paperless/p-6ccf5cdd.js.map +1 -0
  233. package/dist/paperless/{p-ebc2ae62.entry.js → p-733a0d79.entry.js} +2 -2
  234. package/dist/{build/p-ef2eee59.entry.js → paperless/p-7b16e066.entry.js} +2 -2
  235. package/dist/paperless/{p-45dfd940.entry.js → p-7e26a901.entry.js} +2 -2
  236. package/dist/paperless/{p-cccc37c0.entry.js → p-81a99f72.entry.js} +2 -2
  237. package/dist/{build/p-6f82a1e7.entry.js → paperless/p-8569fa3c.entry.js} +2 -2
  238. package/dist/{build/p-c87da93e.entry.js → paperless/p-86b47461.entry.js} +2 -2
  239. package/dist/paperless/p-89f5e9c9.entry.js +2 -0
  240. package/dist/paperless/p-89f5e9c9.entry.js.map +1 -0
  241. package/dist/paperless/{p-1b5292a3.entry.js → p-8f453ef2.entry.js} +2 -2
  242. package/dist/{build/p-57411b2b.entry.js → paperless/p-a0790d7b.entry.js} +2 -2
  243. package/dist/paperless/{p-31afbb45.entry.js → p-a233bac3.entry.js} +2 -2
  244. package/dist/{build/p-5a31cb9e.entry.js → paperless/p-a751f1a4.entry.js} +2 -2
  245. package/dist/paperless/p-ae248aef.js +2 -0
  246. package/dist/paperless/p-ae248aef.js.map +1 -0
  247. package/dist/paperless/{p-3d8b5cc4.entry.js → p-af38f227.entry.js} +2 -2
  248. package/dist/{build/p-93fb216c.entry.js → paperless/p-af92e53c.entry.js} +2 -2
  249. package/dist/paperless/{p-7b94bc6a.entry.js → p-b5b591c7.entry.js} +2 -2
  250. package/dist/{build/p-78948e08.entry.js → paperless/p-b62e6ab2.entry.js} +2 -2
  251. package/dist/{build/p-5236b565.entry.js → paperless/p-c6d9e720.entry.js} +2 -2
  252. package/dist/{build/p-f34ed23f.entry.js → paperless/p-c942022f.entry.js} +2 -2
  253. package/dist/paperless/p-c942022f.entry.js.map +1 -0
  254. package/dist/paperless/{p-ebd4ba56.entry.js → p-ca2abe98.entry.js} +2 -2
  255. package/dist/paperless/{p-b0eeab26.entry.js → p-cfd0a2bb.entry.js} +2 -2
  256. package/dist/paperless/{p-10ad607e.entry.js → p-e8a815d7.entry.js} +2 -2
  257. package/dist/paperless/{p-036a82fc.entry.js → p-e9dc7598.entry.js} +2 -2
  258. package/dist/paperless/p-e9dc7598.entry.js.map +1 -0
  259. package/dist/paperless/{p-e0d7a4ee.entry.js → p-efdeae92.entry.js} +2 -2
  260. package/dist/{build/p-8fb43cc7.entry.js → paperless/p-f215bf8c.entry.js} +2 -2
  261. package/dist/paperless/{p-c6ef7b79.entry.js → p-f3207ec2.entry.js} +2 -2
  262. package/dist/paperless/{p-0a3f2fe8.entry.js → p-f429073e.entry.js} +2 -2
  263. package/dist/paperless/{p-dc01e9eb.entry.js → p-f59afce6.entry.js} +2 -2
  264. package/dist/{build/p-471be252.entry.js → paperless/p-f695dc3c.entry.js} +2 -2
  265. package/dist/paperless/{p-78ce77d2.entry.js → p-f9aaa75c.entry.js} +2 -2
  266. package/dist/paperless/p-fef32402.js +2 -0
  267. package/dist/paperless/p-fef32402.js.map +1 -0
  268. package/dist/paperless/paperless.css +1 -1
  269. package/dist/paperless/paperless.esm.js +1 -1
  270. package/dist/paperless/paperless.esm.js.map +1 -1
  271. package/dist/sw.js +1 -1
  272. package/dist/sw.js.map +1 -1
  273. package/dist/types/stencil-public-runtime.d.ts +1 -0
  274. package/hydrate/index.js +583 -1785
  275. package/package.json +6 -6
  276. package/dist/build/p-036a82fc.entry.js.map +0 -1
  277. package/dist/build/p-07c853db.entry.js +0 -2
  278. package/dist/build/p-07c853db.entry.js.map +0 -1
  279. package/dist/build/p-ac1af618.js +0 -3
  280. package/dist/build/p-ac1af618.js.map +0 -1
  281. package/dist/build/p-b273ac6d.js +0 -2
  282. package/dist/build/p-b273ac6d.js.map +0 -1
  283. package/dist/build/p-e621e34c.js +0 -2
  284. package/dist/build/p-e621e34c.js.map +0 -1
  285. package/dist/build/p-f34ed23f.entry.js.map +0 -1
  286. package/dist/cjs/index-040ec3f9.js.map +0 -1
  287. package/dist/cjs/index-13ea09e0.js.map +0 -1
  288. package/dist/esm/floating-ui.dom.esm-82b72251.js.map +0 -1
  289. package/dist/esm/index-340e085c.js.map +0 -1
  290. package/dist/esm/index-94339e77.js.map +0 -1
  291. package/dist/paperless/p-036a82fc.entry.js.map +0 -1
  292. package/dist/paperless/p-07c853db.entry.js +0 -2
  293. package/dist/paperless/p-07c853db.entry.js.map +0 -1
  294. package/dist/paperless/p-ac1af618.js +0 -3
  295. package/dist/paperless/p-ac1af618.js.map +0 -1
  296. package/dist/paperless/p-b273ac6d.js +0 -2
  297. package/dist/paperless/p-b273ac6d.js.map +0 -1
  298. package/dist/paperless/p-e621e34c.js +0 -2
  299. package/dist/paperless/p-e621e34c.js.map +0 -1
  300. package/dist/paperless/p-f34ed23f.entry.js.map +0 -1
  301. /package/dist/build/{p-e3f29ba8.entry.js.map → p-0410ec1e.entry.js.map} +0 -0
  302. /package/dist/build/{p-756c06ec.entry.js.map → p-1d6b036c.entry.js.map} +0 -0
  303. /package/dist/build/{p-58b52568.entry.js.map → p-1f55126f.entry.js.map} +0 -0
  304. /package/dist/build/{p-b7b1de31.entry.js.map → p-322be6d8.entry.js.map} +0 -0
  305. /package/dist/build/{p-5d118f66.entry.js.map → p-33b6520e.entry.js.map} +0 -0
  306. /package/dist/build/{p-f07793f6.entry.js.map → p-3bd4c1c1.entry.js.map} +0 -0
  307. /package/dist/build/{p-a3fcf8b6.entry.js.map → p-3d458d5a.entry.js.map} +0 -0
  308. /package/dist/build/{p-0cb97c5e.entry.js.map → p-47e461b7.entry.js.map} +0 -0
  309. /package/dist/build/{p-b13a0ee4.entry.js.map → p-49104ffe.entry.js.map} +0 -0
  310. /package/dist/build/{p-a2bd1a79.entry.js.map → p-4939be3e.entry.js.map} +0 -0
  311. /package/dist/build/{p-ac7b48ff.entry.js.map → p-4b99a4fe.entry.js.map} +0 -0
  312. /package/dist/build/{p-464569dc.entry.js.map → p-5e5f3eaa.entry.js.map} +0 -0
  313. /package/dist/build/{p-ea824ef3.entry.js.map → p-688264c9.entry.js.map} +0 -0
  314. /package/dist/build/{p-d012d066.entry.js.map → p-6a7584cc.entry.js.map} +0 -0
  315. /package/dist/build/{p-ebc2ae62.entry.js.map → p-733a0d79.entry.js.map} +0 -0
  316. /package/dist/build/{p-ef2eee59.entry.js.map → p-7b16e066.entry.js.map} +0 -0
  317. /package/dist/build/{p-45dfd940.entry.js.map → p-7e26a901.entry.js.map} +0 -0
  318. /package/dist/build/{p-cccc37c0.entry.js.map → p-81a99f72.entry.js.map} +0 -0
  319. /package/dist/build/{p-6f82a1e7.entry.js.map → p-8569fa3c.entry.js.map} +0 -0
  320. /package/dist/build/{p-c87da93e.entry.js.map → p-86b47461.entry.js.map} +0 -0
  321. /package/dist/build/{p-1b5292a3.entry.js.map → p-8f453ef2.entry.js.map} +0 -0
  322. /package/dist/build/{p-57411b2b.entry.js.map → p-a0790d7b.entry.js.map} +0 -0
  323. /package/dist/build/{p-31afbb45.entry.js.map → p-a233bac3.entry.js.map} +0 -0
  324. /package/dist/build/{p-5a31cb9e.entry.js.map → p-a751f1a4.entry.js.map} +0 -0
  325. /package/dist/build/{p-3d8b5cc4.entry.js.map → p-af38f227.entry.js.map} +0 -0
  326. /package/dist/build/{p-93fb216c.entry.js.map → p-af92e53c.entry.js.map} +0 -0
  327. /package/dist/build/{p-7b94bc6a.entry.js.map → p-b5b591c7.entry.js.map} +0 -0
  328. /package/dist/build/{p-78948e08.entry.js.map → p-b62e6ab2.entry.js.map} +0 -0
  329. /package/dist/build/{p-5236b565.entry.js.map → p-c6d9e720.entry.js.map} +0 -0
  330. /package/dist/build/{p-ebd4ba56.entry.js.map → p-ca2abe98.entry.js.map} +0 -0
  331. /package/dist/build/{p-b0eeab26.entry.js.map → p-cfd0a2bb.entry.js.map} +0 -0
  332. /package/dist/build/{p-10ad607e.entry.js.map → p-e8a815d7.entry.js.map} +0 -0
  333. /package/dist/build/{p-e0d7a4ee.entry.js.map → p-efdeae92.entry.js.map} +0 -0
  334. /package/dist/build/{p-8fb43cc7.entry.js.map → p-f215bf8c.entry.js.map} +0 -0
  335. /package/dist/build/{p-c6ef7b79.entry.js.map → p-f3207ec2.entry.js.map} +0 -0
  336. /package/dist/build/{p-0a3f2fe8.entry.js.map → p-f429073e.entry.js.map} +0 -0
  337. /package/dist/build/{p-dc01e9eb.entry.js.map → p-f59afce6.entry.js.map} +0 -0
  338. /package/dist/build/{p-471be252.entry.js.map → p-f695dc3c.entry.js.map} +0 -0
  339. /package/dist/build/{p-78ce77d2.entry.js.map → p-f9aaa75c.entry.js.map} +0 -0
  340. /package/dist/paperless/{p-e3f29ba8.entry.js.map → p-0410ec1e.entry.js.map} +0 -0
  341. /package/dist/paperless/{p-756c06ec.entry.js.map → p-1d6b036c.entry.js.map} +0 -0
  342. /package/dist/paperless/{p-58b52568.entry.js.map → p-1f55126f.entry.js.map} +0 -0
  343. /package/dist/paperless/{p-b7b1de31.entry.js.map → p-322be6d8.entry.js.map} +0 -0
  344. /package/dist/paperless/{p-5d118f66.entry.js.map → p-33b6520e.entry.js.map} +0 -0
  345. /package/dist/paperless/{p-f07793f6.entry.js.map → p-3bd4c1c1.entry.js.map} +0 -0
  346. /package/dist/paperless/{p-a3fcf8b6.entry.js.map → p-3d458d5a.entry.js.map} +0 -0
  347. /package/dist/paperless/{p-0cb97c5e.entry.js.map → p-47e461b7.entry.js.map} +0 -0
  348. /package/dist/paperless/{p-b13a0ee4.entry.js.map → p-49104ffe.entry.js.map} +0 -0
  349. /package/dist/paperless/{p-a2bd1a79.entry.js.map → p-4939be3e.entry.js.map} +0 -0
  350. /package/dist/paperless/{p-ac7b48ff.entry.js.map → p-4b99a4fe.entry.js.map} +0 -0
  351. /package/dist/paperless/{p-464569dc.entry.js.map → p-5e5f3eaa.entry.js.map} +0 -0
  352. /package/dist/paperless/{p-ea824ef3.entry.js.map → p-688264c9.entry.js.map} +0 -0
  353. /package/dist/paperless/{p-d012d066.entry.js.map → p-6a7584cc.entry.js.map} +0 -0
  354. /package/dist/paperless/{p-ebc2ae62.entry.js.map → p-733a0d79.entry.js.map} +0 -0
  355. /package/dist/paperless/{p-ef2eee59.entry.js.map → p-7b16e066.entry.js.map} +0 -0
  356. /package/dist/paperless/{p-45dfd940.entry.js.map → p-7e26a901.entry.js.map} +0 -0
  357. /package/dist/paperless/{p-cccc37c0.entry.js.map → p-81a99f72.entry.js.map} +0 -0
  358. /package/dist/paperless/{p-6f82a1e7.entry.js.map → p-8569fa3c.entry.js.map} +0 -0
  359. /package/dist/paperless/{p-c87da93e.entry.js.map → p-86b47461.entry.js.map} +0 -0
  360. /package/dist/paperless/{p-1b5292a3.entry.js.map → p-8f453ef2.entry.js.map} +0 -0
  361. /package/dist/paperless/{p-57411b2b.entry.js.map → p-a0790d7b.entry.js.map} +0 -0
  362. /package/dist/paperless/{p-31afbb45.entry.js.map → p-a233bac3.entry.js.map} +0 -0
  363. /package/dist/paperless/{p-5a31cb9e.entry.js.map → p-a751f1a4.entry.js.map} +0 -0
  364. /package/dist/paperless/{p-3d8b5cc4.entry.js.map → p-af38f227.entry.js.map} +0 -0
  365. /package/dist/paperless/{p-93fb216c.entry.js.map → p-af92e53c.entry.js.map} +0 -0
  366. /package/dist/paperless/{p-7b94bc6a.entry.js.map → p-b5b591c7.entry.js.map} +0 -0
  367. /package/dist/paperless/{p-78948e08.entry.js.map → p-b62e6ab2.entry.js.map} +0 -0
  368. /package/dist/paperless/{p-5236b565.entry.js.map → p-c6d9e720.entry.js.map} +0 -0
  369. /package/dist/paperless/{p-ebd4ba56.entry.js.map → p-ca2abe98.entry.js.map} +0 -0
  370. /package/dist/paperless/{p-b0eeab26.entry.js.map → p-cfd0a2bb.entry.js.map} +0 -0
  371. /package/dist/paperless/{p-10ad607e.entry.js.map → p-e8a815d7.entry.js.map} +0 -0
  372. /package/dist/paperless/{p-e0d7a4ee.entry.js.map → p-efdeae92.entry.js.map} +0 -0
  373. /package/dist/paperless/{p-8fb43cc7.entry.js.map → p-f215bf8c.entry.js.map} +0 -0
  374. /package/dist/paperless/{p-c6ef7b79.entry.js.map → p-f3207ec2.entry.js.map} +0 -0
  375. /package/dist/paperless/{p-0a3f2fe8.entry.js.map → p-f429073e.entry.js.map} +0 -0
  376. /package/dist/paperless/{p-dc01e9eb.entry.js.map → p-f59afce6.entry.js.map} +0 -0
  377. /package/dist/paperless/{p-471be252.entry.js.map → p-f695dc3c.entry.js.map} +0 -0
  378. /package/dist/paperless/{p-78ce77d2.entry.js.map → p-f9aaa75c.entry.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { c as childOf } from './child-of.js';
3
- import { g as getUTCWeekYear, s as startOfUTCWeek, a as startOfUTCISOWeek, r as requiredArgs, t as toDate, b as getUTCWeek, c as toInteger, e as getUTCISOWeek, f as getDefaultOptions, l as longFormatters, h as subMilliseconds, i as getTimezoneOffsetInMilliseconds, j as locale, k as isProtectedWeekYearToken, m as throwProtectedError, n as isProtectedDayOfYearToken, o as format, p as isValid, q as isBefore, u as isAfter, v as startOfDay, w as isSameDay, d as defineCustomElement$9 } from './calendar.component.js';
3
+ import { _ as _typeof, g as getUTCWeekYear, s as startOfUTCWeek, a as startOfUTCISOWeek, r as requiredArgs, t as toDate, b as getUTCWeek, c as toInteger, e as getUTCISOWeek, f as getDefaultOptions, l as longFormatters, h as subMilliseconds, i as getTimezoneOffsetInMilliseconds, j as locale, k as isProtectedWeekYearToken, m as throwProtectedError, n as isProtectedDayOfYearToken, o as format, p as isValid, q as isBefore, u as isAfter, v as startOfDay, w as isSameDay, d as defineCustomElement$9 } from './calendar.component.js';
4
4
  import { d as defineCustomElement$8 } from './dropdown.component.js';
5
5
  import { d as defineCustomElement$7 } from './dropdown-menu-container.component.js';
6
6
  import { d as defineCustomElement$6 } from './helper.component.js';
@@ -17,6 +17,7 @@ import { d as defineCustomElement$2 } from './tooltip.component.js';
17
17
  * @type {number}
18
18
  * @default
19
19
  */
20
+
20
21
  /**
21
22
  * Milliseconds in 1 minute
22
23
  *
@@ -25,8 +26,8 @@ import { d as defineCustomElement$2 } from './tooltip.component.js';
25
26
  * @type {number}
26
27
  * @default
27
28
  */
28
-
29
29
  var millisecondsInMinute = 60000;
30
+
30
31
  /**
31
32
  * Milliseconds in 1 hour
32
33
  *
@@ -35,8 +36,8 @@ var millisecondsInMinute = 60000;
35
36
  * @type {number}
36
37
  * @default
37
38
  */
38
-
39
39
  var millisecondsInHour = 3600000;
40
+
40
41
  /**
41
42
  * Milliseconds in 1 second
42
43
  *
@@ -45,88 +46,249 @@ var millisecondsInHour = 3600000;
45
46
  * @type {number}
46
47
  * @default
47
48
  */
48
-
49
49
  var millisecondsInSecond = 1000;
50
50
 
51
51
  function assign(target, object) {
52
52
  if (target == null) {
53
53
  throw new TypeError('assign requires that input parameter not be null or undefined');
54
54
  }
55
-
56
55
  for (var property in object) {
57
56
  if (Object.prototype.hasOwnProperty.call(object, property)) {
58
57
  target[property] = object[property];
59
58
  }
60
59
  }
61
-
62
60
  return target;
63
61
  }
64
62
 
65
- function _typeof$w(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$w = function _typeof(obj) { return typeof obj; }; } else { _typeof$w = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$w(obj); }
63
+ function _arrayLikeToArray(arr, len) {
64
+ if (len == null || len > arr.length) len = arr.length;
65
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
66
+ return arr2;
67
+ }
66
68
 
67
- function _inherits$v(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$v(subClass, superClass); }
69
+ function _unsupportedIterableToArray(o, minLen) {
70
+ if (!o) return;
71
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
72
+ var n = Object.prototype.toString.call(o).slice(8, -1);
73
+ if (n === "Object" && o.constructor) n = o.constructor.name;
74
+ if (n === "Map" || n === "Set") return Array.from(o);
75
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
76
+ }
68
77
 
69
- function _setPrototypeOf$v(o, p) { _setPrototypeOf$v = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$v(o, p); }
78
+ function _createForOfIteratorHelper(o, allowArrayLike) {
79
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
80
+ if (!it) {
81
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
82
+ if (it) o = it;
83
+ var i = 0;
84
+ var F = function F() {};
85
+ return {
86
+ s: F,
87
+ n: function n() {
88
+ if (i >= o.length) return {
89
+ done: true
90
+ };
91
+ return {
92
+ done: false,
93
+ value: o[i++]
94
+ };
95
+ },
96
+ e: function e(_e) {
97
+ throw _e;
98
+ },
99
+ f: F
100
+ };
101
+ }
102
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
103
+ }
104
+ var normalCompletion = true,
105
+ didErr = false,
106
+ err;
107
+ return {
108
+ s: function s() {
109
+ it = it.call(o);
110
+ },
111
+ n: function n() {
112
+ var step = it.next();
113
+ normalCompletion = step.done;
114
+ return step;
115
+ },
116
+ e: function e(_e2) {
117
+ didErr = true;
118
+ err = _e2;
119
+ },
120
+ f: function f() {
121
+ try {
122
+ if (!normalCompletion && it["return"] != null) it["return"]();
123
+ } finally {
124
+ if (didErr) throw err;
125
+ }
126
+ }
127
+ };
128
+ }
129
+
130
+ function _assertThisInitialized(self) {
131
+ if (self === void 0) {
132
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
133
+ }
134
+ return self;
135
+ }
136
+
137
+ function _setPrototypeOf(o, p) {
138
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
139
+ o.__proto__ = p;
140
+ return o;
141
+ };
142
+ return _setPrototypeOf(o, p);
143
+ }
70
144
 
71
- function _createSuper$v(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$v(); return function _createSuperInternal() { var Super = _getPrototypeOf$v(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$v(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$v(this, result); }; }
145
+ function _inherits(subClass, superClass) {
146
+ if (typeof superClass !== "function" && superClass !== null) {
147
+ throw new TypeError("Super expression must either be null or a function");
148
+ }
149
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
150
+ constructor: {
151
+ value: subClass,
152
+ writable: true,
153
+ configurable: true
154
+ }
155
+ });
156
+ Object.defineProperty(subClass, "prototype", {
157
+ writable: false
158
+ });
159
+ if (superClass) _setPrototypeOf(subClass, superClass);
160
+ }
72
161
 
73
- function _possibleConstructorReturn$v(self, call) { if (call && (_typeof$w(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$v(self); }
162
+ function _getPrototypeOf(o) {
163
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
164
+ return o.__proto__ || Object.getPrototypeOf(o);
165
+ };
166
+ return _getPrototypeOf(o);
167
+ }
74
168
 
75
- function _assertThisInitialized$v(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
169
+ function _isNativeReflectConstruct() {
170
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
171
+ if (Reflect.construct.sham) return false;
172
+ if (typeof Proxy === "function") return true;
173
+ try {
174
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
175
+ return true;
176
+ } catch (e) {
177
+ return false;
178
+ }
179
+ }
76
180
 
77
- function _isNativeReflectConstruct$v() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
181
+ function _possibleConstructorReturn(self, call) {
182
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
183
+ return call;
184
+ } else if (call !== void 0) {
185
+ throw new TypeError("Derived constructors may only return object or undefined");
186
+ }
187
+ return _assertThisInitialized(self);
188
+ }
78
189
 
79
- function _getPrototypeOf$v(o) { _getPrototypeOf$v = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$v(o); }
190
+ function _createSuper(Derived) {
191
+ var hasNativeReflectConstruct = _isNativeReflectConstruct();
192
+ return function _createSuperInternal() {
193
+ var Super = _getPrototypeOf(Derived),
194
+ result;
195
+ if (hasNativeReflectConstruct) {
196
+ var NewTarget = _getPrototypeOf(this).constructor;
197
+ result = Reflect.construct(Super, arguments, NewTarget);
198
+ } else {
199
+ result = Super.apply(this, arguments);
200
+ }
201
+ return _possibleConstructorReturn(this, result);
202
+ };
203
+ }
80
204
 
81
- function _classCallCheck$w(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
205
+ function _classCallCheck(instance, Constructor) {
206
+ if (!(instance instanceof Constructor)) {
207
+ throw new TypeError("Cannot call a class as a function");
208
+ }
209
+ }
82
210
 
83
- function _defineProperties$w(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
211
+ function _toPrimitive(input, hint) {
212
+ if (_typeof(input) !== "object" || input === null) return input;
213
+ var prim = input[Symbol.toPrimitive];
214
+ if (prim !== undefined) {
215
+ var res = prim.call(input, hint || "default");
216
+ if (_typeof(res) !== "object") return res;
217
+ throw new TypeError("@@toPrimitive must return a primitive value.");
218
+ }
219
+ return (hint === "string" ? String : Number)(input);
220
+ }
84
221
 
85
- function _createClass$w(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$w(Constructor.prototype, protoProps); if (staticProps) _defineProperties$w(Constructor, staticProps); return Constructor; }
222
+ function _toPropertyKey(arg) {
223
+ var key = _toPrimitive(arg, "string");
224
+ return _typeof(key) === "symbol" ? key : String(key);
225
+ }
86
226
 
87
- function _defineProperty$v(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
227
+ function _defineProperties(target, props) {
228
+ for (var i = 0; i < props.length; i++) {
229
+ var descriptor = props[i];
230
+ descriptor.enumerable = descriptor.enumerable || false;
231
+ descriptor.configurable = true;
232
+ if ("value" in descriptor) descriptor.writable = true;
233
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
234
+ }
235
+ }
236
+ function _createClass(Constructor, protoProps, staticProps) {
237
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
238
+ if (staticProps) _defineProperties(Constructor, staticProps);
239
+ Object.defineProperty(Constructor, "prototype", {
240
+ writable: false
241
+ });
242
+ return Constructor;
243
+ }
244
+
245
+ function _defineProperty(obj, key, value) {
246
+ key = _toPropertyKey(key);
247
+ if (key in obj) {
248
+ Object.defineProperty(obj, key, {
249
+ value: value,
250
+ enumerable: true,
251
+ configurable: true,
252
+ writable: true
253
+ });
254
+ } else {
255
+ obj[key] = value;
256
+ }
257
+ return obj;
258
+ }
88
259
 
89
260
  var TIMEZONE_UNIT_PRIORITY = 10;
90
261
  var Setter = /*#__PURE__*/function () {
91
262
  function Setter() {
92
- _classCallCheck$w(this, Setter);
93
-
94
- _defineProperty$v(this, "subPriority", 0);
263
+ _classCallCheck(this, Setter);
264
+ _defineProperty(this, "priority", void 0);
265
+ _defineProperty(this, "subPriority", 0);
95
266
  }
96
-
97
- _createClass$w(Setter, [{
267
+ _createClass(Setter, [{
98
268
  key: "validate",
99
269
  value: function validate(_utcDate, _options) {
100
270
  return true;
101
271
  }
102
272
  }]);
103
-
104
273
  return Setter;
105
274
  }();
106
275
  var ValueSetter = /*#__PURE__*/function (_Setter) {
107
- _inherits$v(ValueSetter, _Setter);
108
-
109
- var _super = _createSuper$v(ValueSetter);
110
-
276
+ _inherits(ValueSetter, _Setter);
277
+ var _super = _createSuper(ValueSetter);
111
278
  function ValueSetter(value, validateValue, setValue, priority, subPriority) {
112
279
  var _this;
113
-
114
- _classCallCheck$w(this, ValueSetter);
115
-
280
+ _classCallCheck(this, ValueSetter);
116
281
  _this = _super.call(this);
117
282
  _this.value = value;
118
283
  _this.validateValue = validateValue;
119
284
  _this.setValue = setValue;
120
285
  _this.priority = priority;
121
-
122
286
  if (subPriority) {
123
287
  _this.subPriority = subPriority;
124
288
  }
125
-
126
289
  return _this;
127
290
  }
128
-
129
- _createClass$w(ValueSetter, [{
291
+ _createClass(ValueSetter, [{
130
292
  key: "validate",
131
293
  value: function validate(utcDate, options) {
132
294
  return this.validateValue(utcDate, this.value, options);
@@ -137,68 +299,51 @@ var ValueSetter = /*#__PURE__*/function (_Setter) {
137
299
  return this.setValue(utcDate, flags, this.value, options);
138
300
  }
139
301
  }]);
140
-
141
302
  return ValueSetter;
142
303
  }(Setter);
143
304
  var DateToSystemTimezoneSetter = /*#__PURE__*/function (_Setter2) {
144
- _inherits$v(DateToSystemTimezoneSetter, _Setter2);
145
-
146
- var _super2 = _createSuper$v(DateToSystemTimezoneSetter);
147
-
305
+ _inherits(DateToSystemTimezoneSetter, _Setter2);
306
+ var _super2 = _createSuper(DateToSystemTimezoneSetter);
148
307
  function DateToSystemTimezoneSetter() {
149
308
  var _this2;
150
-
151
- _classCallCheck$w(this, DateToSystemTimezoneSetter);
152
-
309
+ _classCallCheck(this, DateToSystemTimezoneSetter);
153
310
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
154
311
  args[_key] = arguments[_key];
155
312
  }
156
-
157
313
  _this2 = _super2.call.apply(_super2, [this].concat(args));
158
-
159
- _defineProperty$v(_assertThisInitialized$v(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
160
-
161
- _defineProperty$v(_assertThisInitialized$v(_this2), "subPriority", -1);
162
-
314
+ _defineProperty(_assertThisInitialized(_this2), "priority", TIMEZONE_UNIT_PRIORITY);
315
+ _defineProperty(_assertThisInitialized(_this2), "subPriority", -1);
163
316
  return _this2;
164
317
  }
165
-
166
- _createClass$w(DateToSystemTimezoneSetter, [{
318
+ _createClass(DateToSystemTimezoneSetter, [{
167
319
  key: "set",
168
320
  value: function set(date, flags) {
169
321
  if (flags.timestampIsSet) {
170
322
  return date;
171
323
  }
172
-
173
324
  var convertedDate = new Date(0);
174
325
  convertedDate.setFullYear(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());
175
326
  convertedDate.setHours(date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds());
176
327
  return convertedDate;
177
328
  }
178
329
  }]);
179
-
180
330
  return DateToSystemTimezoneSetter;
181
331
  }(Setter);
182
332
 
183
- function _classCallCheck$v(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
184
-
185
- function _defineProperties$v(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
186
-
187
- function _createClass$v(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$v(Constructor.prototype, protoProps); if (staticProps) _defineProperties$v(Constructor, staticProps); return Constructor; }
188
333
  var Parser = /*#__PURE__*/function () {
189
334
  function Parser() {
190
- _classCallCheck$v(this, Parser);
335
+ _classCallCheck(this, Parser);
336
+ _defineProperty(this, "incompatibleTokens", void 0);
337
+ _defineProperty(this, "priority", void 0);
338
+ _defineProperty(this, "subPriority", void 0);
191
339
  }
192
-
193
- _createClass$v(Parser, [{
340
+ _createClass(Parser, [{
194
341
  key: "run",
195
342
  value: function run(dateString, token, match, options) {
196
343
  var result = this.parse(dateString, token, match, options);
197
-
198
344
  if (!result) {
199
345
  return null;
200
346
  }
201
-
202
347
  return {
203
348
  setter: new ValueSetter(result.value, this.validate, this.set, this.priority, this.subPriority),
204
349
  rest: result.rest
@@ -210,57 +355,24 @@ var Parser = /*#__PURE__*/function () {
210
355
  return true;
211
356
  }
212
357
  }]);
213
-
214
358
  return Parser;
215
359
  }();
216
360
 
217
- function _typeof$v(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$v = function _typeof(obj) { return typeof obj; }; } else { _typeof$v = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$v(obj); }
218
-
219
- function _classCallCheck$u(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
220
-
221
- function _defineProperties$u(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
222
-
223
- function _createClass$u(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$u(Constructor.prototype, protoProps); if (staticProps) _defineProperties$u(Constructor, staticProps); return Constructor; }
224
-
225
- function _inherits$u(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$u(subClass, superClass); }
226
-
227
- function _setPrototypeOf$u(o, p) { _setPrototypeOf$u = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$u(o, p); }
228
-
229
- function _createSuper$u(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$u(); return function _createSuperInternal() { var Super = _getPrototypeOf$u(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$u(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$u(this, result); }; }
230
-
231
- function _possibleConstructorReturn$u(self, call) { if (call && (_typeof$v(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$u(self); }
232
-
233
- function _assertThisInitialized$u(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
234
-
235
- function _isNativeReflectConstruct$u() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
236
-
237
- function _getPrototypeOf$u(o) { _getPrototypeOf$u = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$u(o); }
238
-
239
- function _defineProperty$u(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
240
361
  var EraParser = /*#__PURE__*/function (_Parser) {
241
- _inherits$u(EraParser, _Parser);
242
-
243
- var _super = _createSuper$u(EraParser);
244
-
362
+ _inherits(EraParser, _Parser);
363
+ var _super = _createSuper(EraParser);
245
364
  function EraParser() {
246
365
  var _this;
247
-
248
- _classCallCheck$u(this, EraParser);
249
-
366
+ _classCallCheck(this, EraParser);
250
367
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
251
368
  args[_key] = arguments[_key];
252
369
  }
253
-
254
370
  _this = _super.call.apply(_super, [this].concat(args));
255
-
256
- _defineProperty$u(_assertThisInitialized$u(_this), "priority", 140);
257
-
258
- _defineProperty$u(_assertThisInitialized$u(_this), "incompatibleTokens", ['R', 'u', 't', 'T']);
259
-
371
+ _defineProperty(_assertThisInitialized(_this), "priority", 140);
372
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['R', 'u', 't', 'T']);
260
373
  return _this;
261
374
  }
262
-
263
- _createClass$u(EraParser, [{
375
+ _createClass(EraParser, [{
264
376
  key: "parse",
265
377
  value: function parse(dateString, token, match) {
266
378
  switch (token) {
@@ -274,13 +386,11 @@ var EraParser = /*#__PURE__*/function (_Parser) {
274
386
  width: 'narrow'
275
387
  });
276
388
  // A, B
277
-
278
389
  case 'GGGGG':
279
390
  return match.era(dateString, {
280
391
  width: 'narrow'
281
392
  });
282
393
  // Anno Domini, Before Christ
283
-
284
394
  case 'GGGG':
285
395
  default:
286
396
  return match.era(dateString, {
@@ -301,7 +411,6 @@ var EraParser = /*#__PURE__*/function (_Parser) {
301
411
  return date;
302
412
  }
303
413
  }]);
304
-
305
414
  return EraParser;
306
415
  }(Parser);
307
416
 
@@ -326,6 +435,7 @@ var numericPatterns = {
326
435
  // 0 to 59
327
436
  second: /^[0-5]?\d/,
328
437
  // 0 to 59
438
+
329
439
  singleDigit: /^\d/,
330
440
  // 0 to 9
331
441
  twoDigits: /^\d{1,2}/,
@@ -334,6 +444,7 @@ var numericPatterns = {
334
444
  // 0 to 999
335
445
  fourDigits: /^\d{1,4}/,
336
446
  // 0 to 9999
447
+
337
448
  anyDigitsSigned: /^-?\d+/,
338
449
  singleDigitSigned: /^-?\d/,
339
450
  // 0 to 9, -0 to -9
@@ -342,8 +453,8 @@ var numericPatterns = {
342
453
  threeDigitsSigned: /^-?\d{1,3}/,
343
454
  // 0 to 999, -0 to -999
344
455
  fourDigitsSigned: /^-?\d{1,4}/ // 0 to 9999, -0 to -9999
345
-
346
456
  };
457
+
347
458
  var timezonePatterns = {
348
459
  basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
349
460
  basic: /^([+-])(\d{2})(\d{2})|Z/,
@@ -356,7 +467,6 @@ function mapValue(parseFnResult, mapFn) {
356
467
  if (!parseFnResult) {
357
468
  return parseFnResult;
358
469
  }
359
-
360
470
  return {
361
471
  value: mapFn(parseFnResult.value),
362
472
  rest: parseFnResult.rest
@@ -364,11 +474,9 @@ function mapValue(parseFnResult, mapFn) {
364
474
  }
365
475
  function parseNumericPattern(pattern, dateString) {
366
476
  var matchResult = dateString.match(pattern);
367
-
368
477
  if (!matchResult) {
369
478
  return null;
370
479
  }
371
-
372
480
  return {
373
481
  value: parseInt(matchResult[0], 10),
374
482
  rest: dateString.slice(matchResult[0].length)
@@ -376,19 +484,17 @@ function parseNumericPattern(pattern, dateString) {
376
484
  }
377
485
  function parseTimezonePattern(pattern, dateString) {
378
486
  var matchResult = dateString.match(pattern);
379
-
380
487
  if (!matchResult) {
381
488
  return null;
382
- } // Input is 'Z'
383
-
489
+ }
384
490
 
491
+ // Input is 'Z'
385
492
  if (matchResult[0] === 'Z') {
386
493
  return {
387
494
  value: 0,
388
495
  rest: dateString.slice(1)
389
496
  };
390
497
  }
391
-
392
498
  var sign = matchResult[1] === '+' ? 1 : -1;
393
499
  var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;
394
500
  var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;
@@ -405,16 +511,12 @@ function parseNDigits(n, dateString) {
405
511
  switch (n) {
406
512
  case 1:
407
513
  return parseNumericPattern(numericPatterns.singleDigit, dateString);
408
-
409
514
  case 2:
410
515
  return parseNumericPattern(numericPatterns.twoDigits, dateString);
411
-
412
516
  case 3:
413
517
  return parseNumericPattern(numericPatterns.threeDigits, dateString);
414
-
415
518
  case 4:
416
519
  return parseNumericPattern(numericPatterns.fourDigits, dateString);
417
-
418
520
  default:
419
521
  return parseNumericPattern(new RegExp('^\\d{1,' + n + '}'), dateString);
420
522
  }
@@ -423,16 +525,12 @@ function parseNDigitsSigned(n, dateString) {
423
525
  switch (n) {
424
526
  case 1:
425
527
  return parseNumericPattern(numericPatterns.singleDigitSigned, dateString);
426
-
427
528
  case 2:
428
529
  return parseNumericPattern(numericPatterns.twoDigitsSigned, dateString);
429
-
430
530
  case 3:
431
531
  return parseNumericPattern(numericPatterns.threeDigitsSigned, dateString);
432
-
433
532
  case 4:
434
533
  return parseNumericPattern(numericPatterns.fourDigitsSigned, dateString);
435
-
436
534
  default:
437
535
  return parseNumericPattern(new RegExp('^-?\\d{1,' + n + '}'), dateString);
438
536
  }
@@ -441,15 +539,12 @@ function dayPeriodEnumToHours(dayPeriod) {
441
539
  switch (dayPeriod) {
442
540
  case 'morning':
443
541
  return 4;
444
-
445
542
  case 'evening':
446
543
  return 17;
447
-
448
544
  case 'pm':
449
545
  case 'noon':
450
546
  case 'afternoon':
451
547
  return 12;
452
-
453
548
  case 'am':
454
549
  case 'midnight':
455
550
  case 'night':
@@ -458,14 +553,13 @@ function dayPeriodEnumToHours(dayPeriod) {
458
553
  }
459
554
  }
460
555
  function normalizeTwoDigitYear(twoDigitYear, currentYear) {
461
- var isCommonEra = currentYear > 0; // Absolute number of the current year:
556
+ var isCommonEra = currentYear > 0;
557
+ // Absolute number of the current year:
462
558
  // 1 -> 1 AC
463
559
  // 0 -> 1 BC
464
560
  // -1 -> 2 BC
465
-
466
561
  var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;
467
562
  var result;
468
-
469
563
  if (absCurrentYear <= 50) {
470
564
  result = twoDigitYear || 100;
471
565
  } else {
@@ -474,36 +568,12 @@ function normalizeTwoDigitYear(twoDigitYear, currentYear) {
474
568
  var isPreviousCentury = twoDigitYear >= rangeEnd % 100;
475
569
  result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);
476
570
  }
477
-
478
571
  return isCommonEra ? result : 1 - result;
479
572
  }
480
573
  function isLeapYearIndex(year) {
481
574
  return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
482
575
  }
483
576
 
484
- function _typeof$u(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$u = function _typeof(obj) { return typeof obj; }; } else { _typeof$u = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$u(obj); }
485
-
486
- function _classCallCheck$t(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
487
-
488
- function _defineProperties$t(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
489
-
490
- function _createClass$t(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$t(Constructor.prototype, protoProps); if (staticProps) _defineProperties$t(Constructor, staticProps); return Constructor; }
491
-
492
- function _inherits$t(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$t(subClass, superClass); }
493
-
494
- function _setPrototypeOf$t(o, p) { _setPrototypeOf$t = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$t(o, p); }
495
-
496
- function _createSuper$t(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$t(); return function _createSuperInternal() { var Super = _getPrototypeOf$t(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$t(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$t(this, result); }; }
497
-
498
- function _possibleConstructorReturn$t(self, call) { if (call && (_typeof$u(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$t(self); }
499
-
500
- function _assertThisInitialized$t(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
501
-
502
- function _isNativeReflectConstruct$t() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
503
-
504
- function _getPrototypeOf$t(o) { _getPrototypeOf$t = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$t(o); }
505
-
506
- function _defineProperty$t(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
507
577
  // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns
508
578
  // | Year | y | yy | yyy | yyyy | yyyyy |
509
579
  // |----------|-------|----|-------|-------|-------|
@@ -513,29 +583,20 @@ function _defineProperty$t(obj, key, value) { if (key in obj) { Object.definePro
513
583
  // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
514
584
  // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
515
585
  var YearParser = /*#__PURE__*/function (_Parser) {
516
- _inherits$t(YearParser, _Parser);
517
-
518
- var _super = _createSuper$t(YearParser);
519
-
586
+ _inherits(YearParser, _Parser);
587
+ var _super = _createSuper(YearParser);
520
588
  function YearParser() {
521
589
  var _this;
522
-
523
- _classCallCheck$t(this, YearParser);
524
-
590
+ _classCallCheck(this, YearParser);
525
591
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
526
592
  args[_key] = arguments[_key];
527
593
  }
528
-
529
594
  _this = _super.call.apply(_super, [this].concat(args));
530
-
531
- _defineProperty$t(_assertThisInitialized$t(_this), "priority", 130);
532
-
533
- _defineProperty$t(_assertThisInitialized$t(_this), "incompatibleTokens", ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']);
534
-
595
+ _defineProperty(_assertThisInitialized(_this), "priority", 130);
596
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']);
535
597
  return _this;
536
598
  }
537
-
538
- _createClass$t(YearParser, [{
599
+ _createClass(YearParser, [{
539
600
  key: "parse",
540
601
  value: function parse(dateString, token, match) {
541
602
  var valueCallback = function valueCallback(year) {
@@ -544,16 +605,13 @@ var YearParser = /*#__PURE__*/function (_Parser) {
544
605
  isTwoDigitYear: token === 'yy'
545
606
  };
546
607
  };
547
-
548
608
  switch (token) {
549
609
  case 'y':
550
610
  return mapValue(parseNDigits(4, dateString), valueCallback);
551
-
552
611
  case 'yo':
553
612
  return mapValue(match.ordinalNumber(dateString, {
554
613
  unit: 'year'
555
614
  }), valueCallback);
556
-
557
615
  default:
558
616
  return mapValue(parseNDigits(token.length, dateString), valueCallback);
559
617
  }
@@ -567,72 +625,37 @@ var YearParser = /*#__PURE__*/function (_Parser) {
567
625
  key: "set",
568
626
  value: function set(date, flags, value) {
569
627
  var currentYear = date.getUTCFullYear();
570
-
571
628
  if (value.isTwoDigitYear) {
572
629
  var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
573
630
  date.setUTCFullYear(normalizedTwoDigitYear, 0, 1);
574
631
  date.setUTCHours(0, 0, 0, 0);
575
632
  return date;
576
633
  }
577
-
578
634
  var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;
579
635
  date.setUTCFullYear(year, 0, 1);
580
636
  date.setUTCHours(0, 0, 0, 0);
581
637
  return date;
582
638
  }
583
639
  }]);
584
-
585
640
  return YearParser;
586
641
  }(Parser);
587
642
 
588
- function _typeof$t(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$t = function _typeof(obj) { return typeof obj; }; } else { _typeof$t = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$t(obj); }
589
-
590
- function _classCallCheck$s(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
591
-
592
- function _defineProperties$s(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
593
-
594
- function _createClass$s(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$s(Constructor.prototype, protoProps); if (staticProps) _defineProperties$s(Constructor, staticProps); return Constructor; }
595
-
596
- function _inherits$s(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$s(subClass, superClass); }
597
-
598
- function _setPrototypeOf$s(o, p) { _setPrototypeOf$s = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$s(o, p); }
599
-
600
- function _createSuper$s(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$s(); return function _createSuperInternal() { var Super = _getPrototypeOf$s(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$s(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$s(this, result); }; }
601
-
602
- function _possibleConstructorReturn$s(self, call) { if (call && (_typeof$t(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$s(self); }
603
-
604
- function _assertThisInitialized$s(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
605
-
606
- function _isNativeReflectConstruct$s() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
607
-
608
- function _getPrototypeOf$s(o) { _getPrototypeOf$s = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$s(o); }
609
-
610
- function _defineProperty$s(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
611
643
  // Local week-numbering year
612
644
  var LocalWeekYearParser = /*#__PURE__*/function (_Parser) {
613
- _inherits$s(LocalWeekYearParser, _Parser);
614
-
615
- var _super = _createSuper$s(LocalWeekYearParser);
616
-
645
+ _inherits(LocalWeekYearParser, _Parser);
646
+ var _super = _createSuper(LocalWeekYearParser);
617
647
  function LocalWeekYearParser() {
618
648
  var _this;
619
-
620
- _classCallCheck$s(this, LocalWeekYearParser);
621
-
649
+ _classCallCheck(this, LocalWeekYearParser);
622
650
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
623
651
  args[_key] = arguments[_key];
624
652
  }
625
-
626
653
  _this = _super.call.apply(_super, [this].concat(args));
627
-
628
- _defineProperty$s(_assertThisInitialized$s(_this), "priority", 130);
629
-
630
- _defineProperty$s(_assertThisInitialized$s(_this), "incompatibleTokens", ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']);
631
-
654
+ _defineProperty(_assertThisInitialized(_this), "priority", 130);
655
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']);
632
656
  return _this;
633
657
  }
634
-
635
- _createClass$s(LocalWeekYearParser, [{
658
+ _createClass(LocalWeekYearParser, [{
636
659
  key: "parse",
637
660
  value: function parse(dateString, token, match) {
638
661
  var valueCallback = function valueCallback(year) {
@@ -641,16 +664,13 @@ var LocalWeekYearParser = /*#__PURE__*/function (_Parser) {
641
664
  isTwoDigitYear: token === 'YY'
642
665
  };
643
666
  };
644
-
645
667
  switch (token) {
646
668
  case 'Y':
647
669
  return mapValue(parseNDigits(4, dateString), valueCallback);
648
-
649
670
  case 'Yo':
650
671
  return mapValue(match.ordinalNumber(dateString, {
651
672
  unit: 'year'
652
673
  }), valueCallback);
653
-
654
674
  default:
655
675
  return mapValue(parseNDigits(token.length, dateString), valueCallback);
656
676
  }
@@ -664,78 +684,41 @@ var LocalWeekYearParser = /*#__PURE__*/function (_Parser) {
664
684
  key: "set",
665
685
  value: function set(date, flags, value, options) {
666
686
  var currentYear = getUTCWeekYear(date, options);
667
-
668
687
  if (value.isTwoDigitYear) {
669
688
  var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
670
689
  date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);
671
690
  date.setUTCHours(0, 0, 0, 0);
672
691
  return startOfUTCWeek(date, options);
673
692
  }
674
-
675
693
  var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;
676
694
  date.setUTCFullYear(year, 0, options.firstWeekContainsDate);
677
695
  date.setUTCHours(0, 0, 0, 0);
678
696
  return startOfUTCWeek(date, options);
679
697
  }
680
698
  }]);
681
-
682
699
  return LocalWeekYearParser;
683
700
  }(Parser);
684
701
 
685
- function _typeof$s(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$s = function _typeof(obj) { return typeof obj; }; } else { _typeof$s = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$s(obj); }
686
-
687
- function _classCallCheck$r(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
688
-
689
- function _defineProperties$r(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
690
-
691
- function _createClass$r(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$r(Constructor.prototype, protoProps); if (staticProps) _defineProperties$r(Constructor, staticProps); return Constructor; }
692
-
693
- function _inherits$r(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$r(subClass, superClass); }
694
-
695
- function _setPrototypeOf$r(o, p) { _setPrototypeOf$r = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$r(o, p); }
696
-
697
- function _createSuper$r(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$r(); return function _createSuperInternal() { var Super = _getPrototypeOf$r(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$r(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$r(this, result); }; }
698
-
699
- function _possibleConstructorReturn$r(self, call) { if (call && (_typeof$s(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$r(self); }
700
-
701
- function _assertThisInitialized$r(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
702
-
703
- function _isNativeReflectConstruct$r() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
704
-
705
- function _getPrototypeOf$r(o) { _getPrototypeOf$r = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$r(o); }
706
-
707
- function _defineProperty$r(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
708
-
709
702
  var ISOWeekYearParser = /*#__PURE__*/function (_Parser) {
710
- _inherits$r(ISOWeekYearParser, _Parser);
711
-
712
- var _super = _createSuper$r(ISOWeekYearParser);
713
-
703
+ _inherits(ISOWeekYearParser, _Parser);
704
+ var _super = _createSuper(ISOWeekYearParser);
714
705
  function ISOWeekYearParser() {
715
706
  var _this;
716
-
717
- _classCallCheck$r(this, ISOWeekYearParser);
718
-
707
+ _classCallCheck(this, ISOWeekYearParser);
719
708
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
720
709
  args[_key] = arguments[_key];
721
710
  }
722
-
723
711
  _this = _super.call.apply(_super, [this].concat(args));
724
-
725
- _defineProperty$r(_assertThisInitialized$r(_this), "priority", 130);
726
-
727
- _defineProperty$r(_assertThisInitialized$r(_this), "incompatibleTokens", ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']);
728
-
712
+ _defineProperty(_assertThisInitialized(_this), "priority", 130);
713
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']);
729
714
  return _this;
730
715
  }
731
-
732
- _createClass$r(ISOWeekYearParser, [{
716
+ _createClass(ISOWeekYearParser, [{
733
717
  key: "parse",
734
718
  value: function parse(dateString, token) {
735
719
  if (token === 'R') {
736
720
  return parseNDigitsSigned(4, dateString);
737
721
  }
738
-
739
722
  return parseNDigitsSigned(token.length, dateString);
740
723
  }
741
724
  }, {
@@ -747,63 +730,29 @@ var ISOWeekYearParser = /*#__PURE__*/function (_Parser) {
747
730
  return startOfUTCISOWeek(firstWeekOfYear);
748
731
  }
749
732
  }]);
750
-
751
733
  return ISOWeekYearParser;
752
734
  }(Parser);
753
735
 
754
- function _typeof$r(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$r = function _typeof(obj) { return typeof obj; }; } else { _typeof$r = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$r(obj); }
755
-
756
- function _classCallCheck$q(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
757
-
758
- function _defineProperties$q(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
759
-
760
- function _createClass$q(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$q(Constructor.prototype, protoProps); if (staticProps) _defineProperties$q(Constructor, staticProps); return Constructor; }
761
-
762
- function _inherits$q(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$q(subClass, superClass); }
763
-
764
- function _setPrototypeOf$q(o, p) { _setPrototypeOf$q = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$q(o, p); }
765
-
766
- function _createSuper$q(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$q(); return function _createSuperInternal() { var Super = _getPrototypeOf$q(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$q(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$q(this, result); }; }
767
-
768
- function _possibleConstructorReturn$q(self, call) { if (call && (_typeof$r(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$q(self); }
769
-
770
- function _assertThisInitialized$q(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
771
-
772
- function _isNativeReflectConstruct$q() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
773
-
774
- function _getPrototypeOf$q(o) { _getPrototypeOf$q = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$q(o); }
775
-
776
- function _defineProperty$q(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
777
736
  var ExtendedYearParser = /*#__PURE__*/function (_Parser) {
778
- _inherits$q(ExtendedYearParser, _Parser);
779
-
780
- var _super = _createSuper$q(ExtendedYearParser);
781
-
737
+ _inherits(ExtendedYearParser, _Parser);
738
+ var _super = _createSuper(ExtendedYearParser);
782
739
  function ExtendedYearParser() {
783
740
  var _this;
784
-
785
- _classCallCheck$q(this, ExtendedYearParser);
786
-
741
+ _classCallCheck(this, ExtendedYearParser);
787
742
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
788
743
  args[_key] = arguments[_key];
789
744
  }
790
-
791
745
  _this = _super.call.apply(_super, [this].concat(args));
792
-
793
- _defineProperty$q(_assertThisInitialized$q(_this), "priority", 130);
794
-
795
- _defineProperty$q(_assertThisInitialized$q(_this), "incompatibleTokens", ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']);
796
-
746
+ _defineProperty(_assertThisInitialized(_this), "priority", 130);
747
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']);
797
748
  return _this;
798
749
  }
799
-
800
- _createClass$q(ExtendedYearParser, [{
750
+ _createClass(ExtendedYearParser, [{
801
751
  key: "parse",
802
752
  value: function parse(dateString, token) {
803
753
  if (token === 'u') {
804
754
  return parseNDigitsSigned(4, dateString);
805
755
  }
806
-
807
756
  return parseNDigitsSigned(token.length, dateString);
808
757
  }
809
758
  }, {
@@ -814,57 +763,24 @@ var ExtendedYearParser = /*#__PURE__*/function (_Parser) {
814
763
  return date;
815
764
  }
816
765
  }]);
817
-
818
766
  return ExtendedYearParser;
819
767
  }(Parser);
820
768
 
821
- function _typeof$q(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$q = function _typeof(obj) { return typeof obj; }; } else { _typeof$q = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$q(obj); }
822
-
823
- function _classCallCheck$p(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
824
-
825
- function _defineProperties$p(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
826
-
827
- function _createClass$p(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$p(Constructor.prototype, protoProps); if (staticProps) _defineProperties$p(Constructor, staticProps); return Constructor; }
828
-
829
- function _inherits$p(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$p(subClass, superClass); }
830
-
831
- function _setPrototypeOf$p(o, p) { _setPrototypeOf$p = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$p(o, p); }
832
-
833
- function _createSuper$p(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$p(); return function _createSuperInternal() { var Super = _getPrototypeOf$p(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$p(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$p(this, result); }; }
834
-
835
- function _possibleConstructorReturn$p(self, call) { if (call && (_typeof$q(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$p(self); }
836
-
837
- function _assertThisInitialized$p(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
838
-
839
- function _isNativeReflectConstruct$p() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
840
-
841
- function _getPrototypeOf$p(o) { _getPrototypeOf$p = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$p(o); }
842
-
843
- function _defineProperty$p(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
844
769
  var QuarterParser = /*#__PURE__*/function (_Parser) {
845
- _inherits$p(QuarterParser, _Parser);
846
-
847
- var _super = _createSuper$p(QuarterParser);
848
-
770
+ _inherits(QuarterParser, _Parser);
771
+ var _super = _createSuper(QuarterParser);
849
772
  function QuarterParser() {
850
773
  var _this;
851
-
852
- _classCallCheck$p(this, QuarterParser);
853
-
774
+ _classCallCheck(this, QuarterParser);
854
775
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
855
776
  args[_key] = arguments[_key];
856
777
  }
857
-
858
778
  _this = _super.call.apply(_super, [this].concat(args));
859
-
860
- _defineProperty$p(_assertThisInitialized$p(_this), "priority", 120);
861
-
862
- _defineProperty$p(_assertThisInitialized$p(_this), "incompatibleTokens", ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']);
863
-
779
+ _defineProperty(_assertThisInitialized(_this), "priority", 120);
780
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']);
864
781
  return _this;
865
782
  }
866
-
867
- _createClass$p(QuarterParser, [{
783
+ _createClass(QuarterParser, [{
868
784
  key: "parse",
869
785
  value: function parse(dateString, token, match) {
870
786
  switch (token) {
@@ -874,13 +790,11 @@ var QuarterParser = /*#__PURE__*/function (_Parser) {
874
790
  // 01, 02, 03, 04
875
791
  return parseNDigits(token.length, dateString);
876
792
  // 1st, 2nd, 3rd, 4th
877
-
878
793
  case 'Qo':
879
794
  return match.ordinalNumber(dateString, {
880
795
  unit: 'quarter'
881
796
  });
882
797
  // Q1, Q2, Q3, Q4
883
-
884
798
  case 'QQQ':
885
799
  return match.quarter(dateString, {
886
800
  width: 'abbreviated',
@@ -890,14 +804,12 @@ var QuarterParser = /*#__PURE__*/function (_Parser) {
890
804
  context: 'formatting'
891
805
  });
892
806
  // 1, 2, 3, 4 (narrow quarter; could be not numerical)
893
-
894
807
  case 'QQQQQ':
895
808
  return match.quarter(dateString, {
896
809
  width: 'narrow',
897
810
  context: 'formatting'
898
811
  });
899
812
  // 1st quarter, 2nd quarter, ...
900
-
901
813
  case 'QQQQ':
902
814
  default:
903
815
  return match.quarter(dateString, {
@@ -925,57 +837,24 @@ var QuarterParser = /*#__PURE__*/function (_Parser) {
925
837
  return date;
926
838
  }
927
839
  }]);
928
-
929
840
  return QuarterParser;
930
841
  }(Parser);
931
842
 
932
- function _typeof$p(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$p = function _typeof(obj) { return typeof obj; }; } else { _typeof$p = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$p(obj); }
933
-
934
- function _classCallCheck$o(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
935
-
936
- function _defineProperties$o(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
937
-
938
- function _createClass$o(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$o(Constructor.prototype, protoProps); if (staticProps) _defineProperties$o(Constructor, staticProps); return Constructor; }
939
-
940
- function _inherits$o(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$o(subClass, superClass); }
941
-
942
- function _setPrototypeOf$o(o, p) { _setPrototypeOf$o = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$o(o, p); }
943
-
944
- function _createSuper$o(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$o(); return function _createSuperInternal() { var Super = _getPrototypeOf$o(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$o(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$o(this, result); }; }
945
-
946
- function _possibleConstructorReturn$o(self, call) { if (call && (_typeof$p(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$o(self); }
947
-
948
- function _assertThisInitialized$o(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
949
-
950
- function _isNativeReflectConstruct$o() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
951
-
952
- function _getPrototypeOf$o(o) { _getPrototypeOf$o = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$o(o); }
953
-
954
- function _defineProperty$o(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
955
843
  var StandAloneQuarterParser = /*#__PURE__*/function (_Parser) {
956
- _inherits$o(StandAloneQuarterParser, _Parser);
957
-
958
- var _super = _createSuper$o(StandAloneQuarterParser);
959
-
844
+ _inherits(StandAloneQuarterParser, _Parser);
845
+ var _super = _createSuper(StandAloneQuarterParser);
960
846
  function StandAloneQuarterParser() {
961
847
  var _this;
962
-
963
- _classCallCheck$o(this, StandAloneQuarterParser);
964
-
848
+ _classCallCheck(this, StandAloneQuarterParser);
965
849
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
966
850
  args[_key] = arguments[_key];
967
851
  }
968
-
969
852
  _this = _super.call.apply(_super, [this].concat(args));
970
-
971
- _defineProperty$o(_assertThisInitialized$o(_this), "priority", 120);
972
-
973
- _defineProperty$o(_assertThisInitialized$o(_this), "incompatibleTokens", ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']);
974
-
853
+ _defineProperty(_assertThisInitialized(_this), "priority", 120);
854
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']);
975
855
  return _this;
976
856
  }
977
-
978
- _createClass$o(StandAloneQuarterParser, [{
857
+ _createClass(StandAloneQuarterParser, [{
979
858
  key: "parse",
980
859
  value: function parse(dateString, token, match) {
981
860
  switch (token) {
@@ -985,13 +864,11 @@ var StandAloneQuarterParser = /*#__PURE__*/function (_Parser) {
985
864
  // 01, 02, 03, 04
986
865
  return parseNDigits(token.length, dateString);
987
866
  // 1st, 2nd, 3rd, 4th
988
-
989
867
  case 'qo':
990
868
  return match.ordinalNumber(dateString, {
991
869
  unit: 'quarter'
992
870
  });
993
871
  // Q1, Q2, Q3, Q4
994
-
995
872
  case 'qqq':
996
873
  return match.quarter(dateString, {
997
874
  width: 'abbreviated',
@@ -1001,14 +878,12 @@ var StandAloneQuarterParser = /*#__PURE__*/function (_Parser) {
1001
878
  context: 'standalone'
1002
879
  });
1003
880
  // 1, 2, 3, 4 (narrow quarter; could be not numerical)
1004
-
1005
881
  case 'qqqqq':
1006
882
  return match.quarter(dateString, {
1007
883
  width: 'narrow',
1008
884
  context: 'standalone'
1009
885
  });
1010
886
  // 1st quarter, 2nd quarter, ...
1011
-
1012
887
  case 'qqqq':
1013
888
  default:
1014
889
  return match.quarter(dateString, {
@@ -1036,79 +911,42 @@ var StandAloneQuarterParser = /*#__PURE__*/function (_Parser) {
1036
911
  return date;
1037
912
  }
1038
913
  }]);
1039
-
1040
914
  return StandAloneQuarterParser;
1041
915
  }(Parser);
1042
916
 
1043
- function _typeof$o(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$o = function _typeof(obj) { return typeof obj; }; } else { _typeof$o = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$o(obj); }
1044
-
1045
- function _classCallCheck$n(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1046
-
1047
- function _defineProperties$n(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1048
-
1049
- function _createClass$n(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$n(Constructor.prototype, protoProps); if (staticProps) _defineProperties$n(Constructor, staticProps); return Constructor; }
1050
-
1051
- function _inherits$n(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$n(subClass, superClass); }
1052
-
1053
- function _setPrototypeOf$n(o, p) { _setPrototypeOf$n = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$n(o, p); }
1054
-
1055
- function _createSuper$n(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$n(); return function _createSuperInternal() { var Super = _getPrototypeOf$n(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$n(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$n(this, result); }; }
1056
-
1057
- function _possibleConstructorReturn$n(self, call) { if (call && (_typeof$o(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$n(self); }
1058
-
1059
- function _assertThisInitialized$n(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1060
-
1061
- function _isNativeReflectConstruct$n() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1062
-
1063
- function _getPrototypeOf$n(o) { _getPrototypeOf$n = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$n(o); }
1064
-
1065
- function _defineProperty$n(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1066
917
  var MonthParser = /*#__PURE__*/function (_Parser) {
1067
- _inherits$n(MonthParser, _Parser);
1068
-
1069
- var _super = _createSuper$n(MonthParser);
1070
-
918
+ _inherits(MonthParser, _Parser);
919
+ var _super = _createSuper(MonthParser);
1071
920
  function MonthParser() {
1072
921
  var _this;
1073
-
1074
- _classCallCheck$n(this, MonthParser);
1075
-
922
+ _classCallCheck(this, MonthParser);
1076
923
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1077
924
  args[_key] = arguments[_key];
1078
925
  }
1079
-
1080
926
  _this = _super.call.apply(_super, [this].concat(args));
1081
-
1082
- _defineProperty$n(_assertThisInitialized$n(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
1083
-
1084
- _defineProperty$n(_assertThisInitialized$n(_this), "priority", 110);
1085
-
927
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
928
+ _defineProperty(_assertThisInitialized(_this), "priority", 110);
1086
929
  return _this;
1087
930
  }
1088
-
1089
- _createClass$n(MonthParser, [{
931
+ _createClass(MonthParser, [{
1090
932
  key: "parse",
1091
933
  value: function parse(dateString, token, match) {
1092
934
  var valueCallback = function valueCallback(value) {
1093
935
  return value - 1;
1094
936
  };
1095
-
1096
937
  switch (token) {
1097
938
  // 1, 2, ..., 12
1098
939
  case 'M':
1099
940
  return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback);
1100
941
  // 01, 02, ..., 12
1101
-
1102
942
  case 'MM':
1103
943
  return mapValue(parseNDigits(2, dateString), valueCallback);
1104
944
  // 1st, 2nd, ..., 12th
1105
-
1106
945
  case 'Mo':
1107
946
  return mapValue(match.ordinalNumber(dateString, {
1108
947
  unit: 'month'
1109
948
  }), valueCallback);
1110
949
  // Jan, Feb, ..., Dec
1111
-
1112
950
  case 'MMM':
1113
951
  return match.month(dateString, {
1114
952
  width: 'abbreviated',
@@ -1118,14 +956,12 @@ var MonthParser = /*#__PURE__*/function (_Parser) {
1118
956
  context: 'formatting'
1119
957
  });
1120
958
  // J, F, ..., D
1121
-
1122
959
  case 'MMMMM':
1123
960
  return match.month(dateString, {
1124
961
  width: 'narrow',
1125
962
  context: 'formatting'
1126
963
  });
1127
964
  // January, February, ..., December
1128
-
1129
965
  case 'MMMM':
1130
966
  default:
1131
967
  return match.month(dateString, {
@@ -1153,79 +989,42 @@ var MonthParser = /*#__PURE__*/function (_Parser) {
1153
989
  return date;
1154
990
  }
1155
991
  }]);
1156
-
1157
992
  return MonthParser;
1158
993
  }(Parser);
1159
994
 
1160
- function _typeof$n(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$n = function _typeof(obj) { return typeof obj; }; } else { _typeof$n = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$n(obj); }
1161
-
1162
- function _classCallCheck$m(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1163
-
1164
- function _defineProperties$m(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1165
-
1166
- function _createClass$m(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$m(Constructor.prototype, protoProps); if (staticProps) _defineProperties$m(Constructor, staticProps); return Constructor; }
1167
-
1168
- function _inherits$m(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$m(subClass, superClass); }
1169
-
1170
- function _setPrototypeOf$m(o, p) { _setPrototypeOf$m = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$m(o, p); }
1171
-
1172
- function _createSuper$m(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$m(); return function _createSuperInternal() { var Super = _getPrototypeOf$m(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$m(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$m(this, result); }; }
1173
-
1174
- function _possibleConstructorReturn$m(self, call) { if (call && (_typeof$n(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$m(self); }
1175
-
1176
- function _assertThisInitialized$m(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1177
-
1178
- function _isNativeReflectConstruct$m() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1179
-
1180
- function _getPrototypeOf$m(o) { _getPrototypeOf$m = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$m(o); }
1181
-
1182
- function _defineProperty$m(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1183
995
  var StandAloneMonthParser = /*#__PURE__*/function (_Parser) {
1184
- _inherits$m(StandAloneMonthParser, _Parser);
1185
-
1186
- var _super = _createSuper$m(StandAloneMonthParser);
1187
-
996
+ _inherits(StandAloneMonthParser, _Parser);
997
+ var _super = _createSuper(StandAloneMonthParser);
1188
998
  function StandAloneMonthParser() {
1189
999
  var _this;
1190
-
1191
- _classCallCheck$m(this, StandAloneMonthParser);
1192
-
1000
+ _classCallCheck(this, StandAloneMonthParser);
1193
1001
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1194
1002
  args[_key] = arguments[_key];
1195
1003
  }
1196
-
1197
1004
  _this = _super.call.apply(_super, [this].concat(args));
1198
-
1199
- _defineProperty$m(_assertThisInitialized$m(_this), "priority", 110);
1200
-
1201
- _defineProperty$m(_assertThisInitialized$m(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
1202
-
1005
+ _defineProperty(_assertThisInitialized(_this), "priority", 110);
1006
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
1203
1007
  return _this;
1204
1008
  }
1205
-
1206
- _createClass$m(StandAloneMonthParser, [{
1009
+ _createClass(StandAloneMonthParser, [{
1207
1010
  key: "parse",
1208
1011
  value: function parse(dateString, token, match) {
1209
1012
  var valueCallback = function valueCallback(value) {
1210
1013
  return value - 1;
1211
1014
  };
1212
-
1213
1015
  switch (token) {
1214
1016
  // 1, 2, ..., 12
1215
1017
  case 'L':
1216
1018
  return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback);
1217
1019
  // 01, 02, ..., 12
1218
-
1219
1020
  case 'LL':
1220
1021
  return mapValue(parseNDigits(2, dateString), valueCallback);
1221
1022
  // 1st, 2nd, ..., 12th
1222
-
1223
1023
  case 'Lo':
1224
1024
  return mapValue(match.ordinalNumber(dateString, {
1225
1025
  unit: 'month'
1226
1026
  }), valueCallback);
1227
1027
  // Jan, Feb, ..., Dec
1228
-
1229
1028
  case 'LLL':
1230
1029
  return match.month(dateString, {
1231
1030
  width: 'abbreviated',
@@ -1235,14 +1034,12 @@ var StandAloneMonthParser = /*#__PURE__*/function (_Parser) {
1235
1034
  context: 'standalone'
1236
1035
  });
1237
1036
  // J, F, ..., D
1238
-
1239
1037
  case 'LLLLL':
1240
1038
  return match.month(dateString, {
1241
1039
  width: 'narrow',
1242
1040
  context: 'standalone'
1243
1041
  });
1244
1042
  // January, February, ..., December
1245
-
1246
1043
  case 'LLLL':
1247
1044
  default:
1248
1045
  return match.month(dateString, {
@@ -1270,7 +1067,6 @@ var StandAloneMonthParser = /*#__PURE__*/function (_Parser) {
1270
1067
  return date;
1271
1068
  }
1272
1069
  }]);
1273
-
1274
1070
  return StandAloneMonthParser;
1275
1071
  }(Parser);
1276
1072
 
@@ -1283,65 +1079,30 @@ function setUTCWeek(dirtyDate, dirtyWeek, options) {
1283
1079
  return date;
1284
1080
  }
1285
1081
 
1286
- function _typeof$m(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$m = function _typeof(obj) { return typeof obj; }; } else { _typeof$m = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$m(obj); }
1287
-
1288
- function _classCallCheck$l(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1289
-
1290
- function _defineProperties$l(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1291
-
1292
- function _createClass$l(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$l(Constructor.prototype, protoProps); if (staticProps) _defineProperties$l(Constructor, staticProps); return Constructor; }
1293
-
1294
- function _inherits$l(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$l(subClass, superClass); }
1295
-
1296
- function _setPrototypeOf$l(o, p) { _setPrototypeOf$l = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$l(o, p); }
1297
-
1298
- function _createSuper$l(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$l(); return function _createSuperInternal() { var Super = _getPrototypeOf$l(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$l(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$l(this, result); }; }
1299
-
1300
- function _possibleConstructorReturn$l(self, call) { if (call && (_typeof$m(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$l(self); }
1301
-
1302
- function _assertThisInitialized$l(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1303
-
1304
- function _isNativeReflectConstruct$l() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1305
-
1306
- function _getPrototypeOf$l(o) { _getPrototypeOf$l = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$l(o); }
1307
-
1308
- function _defineProperty$l(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1309
-
1310
1082
  var LocalWeekParser = /*#__PURE__*/function (_Parser) {
1311
- _inherits$l(LocalWeekParser, _Parser);
1312
-
1313
- var _super = _createSuper$l(LocalWeekParser);
1314
-
1083
+ _inherits(LocalWeekParser, _Parser);
1084
+ var _super = _createSuper(LocalWeekParser);
1315
1085
  function LocalWeekParser() {
1316
1086
  var _this;
1317
-
1318
- _classCallCheck$l(this, LocalWeekParser);
1319
-
1087
+ _classCallCheck(this, LocalWeekParser);
1320
1088
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1321
1089
  args[_key] = arguments[_key];
1322
1090
  }
1323
-
1324
1091
  _this = _super.call.apply(_super, [this].concat(args));
1325
-
1326
- _defineProperty$l(_assertThisInitialized$l(_this), "priority", 100);
1327
-
1328
- _defineProperty$l(_assertThisInitialized$l(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']);
1329
-
1092
+ _defineProperty(_assertThisInitialized(_this), "priority", 100);
1093
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']);
1330
1094
  return _this;
1331
1095
  }
1332
-
1333
- _createClass$l(LocalWeekParser, [{
1096
+ _createClass(LocalWeekParser, [{
1334
1097
  key: "parse",
1335
1098
  value: function parse(dateString, token, match) {
1336
1099
  switch (token) {
1337
1100
  case 'w':
1338
1101
  return parseNumericPattern(numericPatterns.week, dateString);
1339
-
1340
1102
  case 'wo':
1341
1103
  return match.ordinalNumber(dateString, {
1342
1104
  unit: 'week'
1343
1105
  });
1344
-
1345
1106
  default:
1346
1107
  return parseNDigits(token.length, dateString);
1347
1108
  }
@@ -1357,7 +1118,6 @@ var LocalWeekParser = /*#__PURE__*/function (_Parser) {
1357
1118
  return startOfUTCWeek(setUTCWeek(date, value, options), options);
1358
1119
  }
1359
1120
  }]);
1360
-
1361
1121
  return LocalWeekParser;
1362
1122
  }(Parser);
1363
1123
 
@@ -1370,65 +1130,30 @@ function setUTCISOWeek(dirtyDate, dirtyISOWeek) {
1370
1130
  return date;
1371
1131
  }
1372
1132
 
1373
- function _typeof$l(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$l = function _typeof(obj) { return typeof obj; }; } else { _typeof$l = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$l(obj); }
1374
-
1375
- function _classCallCheck$k(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1376
-
1377
- function _defineProperties$k(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1378
-
1379
- function _createClass$k(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$k(Constructor.prototype, protoProps); if (staticProps) _defineProperties$k(Constructor, staticProps); return Constructor; }
1380
-
1381
- function _inherits$k(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$k(subClass, superClass); }
1382
-
1383
- function _setPrototypeOf$k(o, p) { _setPrototypeOf$k = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$k(o, p); }
1384
-
1385
- function _createSuper$k(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$k(); return function _createSuperInternal() { var Super = _getPrototypeOf$k(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$k(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$k(this, result); }; }
1386
-
1387
- function _possibleConstructorReturn$k(self, call) { if (call && (_typeof$l(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$k(self); }
1388
-
1389
- function _assertThisInitialized$k(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1390
-
1391
- function _isNativeReflectConstruct$k() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1392
-
1393
- function _getPrototypeOf$k(o) { _getPrototypeOf$k = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$k(o); }
1394
-
1395
- function _defineProperty$k(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1396
-
1397
1133
  var ISOWeekParser = /*#__PURE__*/function (_Parser) {
1398
- _inherits$k(ISOWeekParser, _Parser);
1399
-
1400
- var _super = _createSuper$k(ISOWeekParser);
1401
-
1134
+ _inherits(ISOWeekParser, _Parser);
1135
+ var _super = _createSuper(ISOWeekParser);
1402
1136
  function ISOWeekParser() {
1403
1137
  var _this;
1404
-
1405
- _classCallCheck$k(this, ISOWeekParser);
1406
-
1138
+ _classCallCheck(this, ISOWeekParser);
1407
1139
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1408
1140
  args[_key] = arguments[_key];
1409
1141
  }
1410
-
1411
1142
  _this = _super.call.apply(_super, [this].concat(args));
1412
-
1413
- _defineProperty$k(_assertThisInitialized$k(_this), "priority", 100);
1414
-
1415
- _defineProperty$k(_assertThisInitialized$k(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']);
1416
-
1143
+ _defineProperty(_assertThisInitialized(_this), "priority", 100);
1144
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']);
1417
1145
  return _this;
1418
1146
  }
1419
-
1420
- _createClass$k(ISOWeekParser, [{
1147
+ _createClass(ISOWeekParser, [{
1421
1148
  key: "parse",
1422
1149
  value: function parse(dateString, token, match) {
1423
1150
  switch (token) {
1424
1151
  case 'I':
1425
1152
  return parseNumericPattern(numericPatterns.week, dateString);
1426
-
1427
1153
  case 'Io':
1428
1154
  return match.ordinalNumber(dateString, {
1429
1155
  unit: 'week'
1430
1156
  });
1431
-
1432
1157
  default:
1433
1158
  return parseNDigits(token.length, dateString);
1434
1159
  }
@@ -1444,73 +1169,38 @@ var ISOWeekParser = /*#__PURE__*/function (_Parser) {
1444
1169
  return startOfUTCISOWeek(setUTCISOWeek(date, value));
1445
1170
  }
1446
1171
  }]);
1447
-
1448
1172
  return ISOWeekParser;
1449
1173
  }(Parser);
1450
1174
 
1451
- function _typeof$k(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$k = function _typeof(obj) { return typeof obj; }; } else { _typeof$k = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$k(obj); }
1452
-
1453
- function _classCallCheck$j(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1454
-
1455
- function _defineProperties$j(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1456
-
1457
- function _createClass$j(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$j(Constructor.prototype, protoProps); if (staticProps) _defineProperties$j(Constructor, staticProps); return Constructor; }
1458
-
1459
- function _inherits$j(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$j(subClass, superClass); }
1460
-
1461
- function _setPrototypeOf$j(o, p) { _setPrototypeOf$j = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$j(o, p); }
1462
-
1463
- function _createSuper$j(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$j(); return function _createSuperInternal() { var Super = _getPrototypeOf$j(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$j(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$j(this, result); }; }
1464
-
1465
- function _possibleConstructorReturn$j(self, call) { if (call && (_typeof$k(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$j(self); }
1466
-
1467
- function _assertThisInitialized$j(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1468
-
1469
- function _isNativeReflectConstruct$j() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1470
-
1471
- function _getPrototypeOf$j(o) { _getPrototypeOf$j = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$j(o); }
1472
-
1473
- function _defineProperty$j(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1474
1175
  var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
1475
- var DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; // Day of the month
1176
+ var DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
1476
1177
 
1178
+ // Day of the month
1477
1179
  var DateParser = /*#__PURE__*/function (_Parser) {
1478
- _inherits$j(DateParser, _Parser);
1479
-
1480
- var _super = _createSuper$j(DateParser);
1481
-
1180
+ _inherits(DateParser, _Parser);
1181
+ var _super = _createSuper(DateParser);
1482
1182
  function DateParser() {
1483
1183
  var _this;
1484
-
1485
- _classCallCheck$j(this, DateParser);
1486
-
1184
+ _classCallCheck(this, DateParser);
1487
1185
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1488
1186
  args[_key] = arguments[_key];
1489
1187
  }
1490
-
1491
1188
  _this = _super.call.apply(_super, [this].concat(args));
1492
-
1493
- _defineProperty$j(_assertThisInitialized$j(_this), "priority", 90);
1494
-
1495
- _defineProperty$j(_assertThisInitialized$j(_this), "subPriority", 1);
1496
-
1497
- _defineProperty$j(_assertThisInitialized$j(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
1498
-
1189
+ _defineProperty(_assertThisInitialized(_this), "priority", 90);
1190
+ _defineProperty(_assertThisInitialized(_this), "subPriority", 1);
1191
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']);
1499
1192
  return _this;
1500
1193
  }
1501
-
1502
- _createClass$j(DateParser, [{
1194
+ _createClass(DateParser, [{
1503
1195
  key: "parse",
1504
1196
  value: function parse(dateString, token, match) {
1505
1197
  switch (token) {
1506
1198
  case 'd':
1507
1199
  return parseNumericPattern(numericPatterns.date, dateString);
1508
-
1509
1200
  case 'do':
1510
1201
  return match.ordinalNumber(dateString, {
1511
1202
  unit: 'date'
1512
1203
  });
1513
-
1514
1204
  default:
1515
1205
  return parseNDigits(token.length, dateString);
1516
1206
  }
@@ -1521,7 +1211,6 @@ var DateParser = /*#__PURE__*/function (_Parser) {
1521
1211
  var year = date.getUTCFullYear();
1522
1212
  var isLeapYear = isLeapYearIndex(year);
1523
1213
  var month = date.getUTCMonth();
1524
-
1525
1214
  if (isLeapYear) {
1526
1215
  return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];
1527
1216
  } else {
@@ -1536,71 +1225,35 @@ var DateParser = /*#__PURE__*/function (_Parser) {
1536
1225
  return date;
1537
1226
  }
1538
1227
  }]);
1539
-
1540
1228
  return DateParser;
1541
1229
  }(Parser);
1542
1230
 
1543
- function _typeof$j(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$j = function _typeof(obj) { return typeof obj; }; } else { _typeof$j = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$j(obj); }
1544
-
1545
- function _classCallCheck$i(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1546
-
1547
- function _defineProperties$i(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1548
-
1549
- function _createClass$i(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$i(Constructor.prototype, protoProps); if (staticProps) _defineProperties$i(Constructor, staticProps); return Constructor; }
1550
-
1551
- function _inherits$i(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$i(subClass, superClass); }
1552
-
1553
- function _setPrototypeOf$i(o, p) { _setPrototypeOf$i = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$i(o, p); }
1554
-
1555
- function _createSuper$i(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$i(); return function _createSuperInternal() { var Super = _getPrototypeOf$i(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$i(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$i(this, result); }; }
1556
-
1557
- function _possibleConstructorReturn$i(self, call) { if (call && (_typeof$j(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$i(self); }
1558
-
1559
- function _assertThisInitialized$i(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1560
-
1561
- function _isNativeReflectConstruct$i() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1562
-
1563
- function _getPrototypeOf$i(o) { _getPrototypeOf$i = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$i(o); }
1564
-
1565
- function _defineProperty$i(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1566
1231
  var DayOfYearParser = /*#__PURE__*/function (_Parser) {
1567
- _inherits$i(DayOfYearParser, _Parser);
1568
-
1569
- var _super = _createSuper$i(DayOfYearParser);
1570
-
1232
+ _inherits(DayOfYearParser, _Parser);
1233
+ var _super = _createSuper(DayOfYearParser);
1571
1234
  function DayOfYearParser() {
1572
1235
  var _this;
1573
-
1574
- _classCallCheck$i(this, DayOfYearParser);
1575
-
1236
+ _classCallCheck(this, DayOfYearParser);
1576
1237
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1577
1238
  args[_key] = arguments[_key];
1578
1239
  }
1579
-
1580
1240
  _this = _super.call.apply(_super, [this].concat(args));
1581
-
1582
- _defineProperty$i(_assertThisInitialized$i(_this), "priority", 90);
1583
-
1584
- _defineProperty$i(_assertThisInitialized$i(_this), "subpriority", 1);
1585
-
1586
- _defineProperty$i(_assertThisInitialized$i(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']);
1587
-
1241
+ _defineProperty(_assertThisInitialized(_this), "priority", 90);
1242
+ _defineProperty(_assertThisInitialized(_this), "subpriority", 1);
1243
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']);
1588
1244
  return _this;
1589
1245
  }
1590
-
1591
- _createClass$i(DayOfYearParser, [{
1246
+ _createClass(DayOfYearParser, [{
1592
1247
  key: "parse",
1593
1248
  value: function parse(dateString, token, match) {
1594
1249
  switch (token) {
1595
1250
  case 'D':
1596
1251
  case 'DD':
1597
1252
  return parseNumericPattern(numericPatterns.dayOfYear, dateString);
1598
-
1599
1253
  case 'Do':
1600
1254
  return match.ordinalNumber(dateString, {
1601
1255
  unit: 'date'
1602
1256
  });
1603
-
1604
1257
  default:
1605
1258
  return parseNDigits(token.length, dateString);
1606
1259
  }
@@ -1610,7 +1263,6 @@ var DayOfYearParser = /*#__PURE__*/function (_Parser) {
1610
1263
  value: function validate(date, value) {
1611
1264
  var year = date.getUTCFullYear();
1612
1265
  var isLeapYear = isLeapYearIndex(year);
1613
-
1614
1266
  if (isLeapYear) {
1615
1267
  return value >= 1 && value <= 366;
1616
1268
  } else {
@@ -1625,21 +1277,19 @@ var DayOfYearParser = /*#__PURE__*/function (_Parser) {
1625
1277
  return date;
1626
1278
  }
1627
1279
  }]);
1628
-
1629
1280
  return DayOfYearParser;
1630
1281
  }(Parser);
1631
1282
 
1632
1283
  function setUTCDay(dirtyDate, dirtyDay, options) {
1633
1284
  var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
1634
-
1635
1285
  requiredArgs(2, arguments);
1636
1286
  var defaultOptions = getDefaultOptions();
1637
- var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
1287
+ var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0);
1638
1288
 
1289
+ // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
1639
1290
  if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
1640
1291
  throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
1641
1292
  }
1642
-
1643
1293
  var date = toDate(dirtyDate);
1644
1294
  var day = toInteger(dirtyDay);
1645
1295
  var currentDay = date.getUTCDay();
@@ -1650,54 +1300,21 @@ function setUTCDay(dirtyDate, dirtyDay, options) {
1650
1300
  return date;
1651
1301
  }
1652
1302
 
1653
- function _typeof$i(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$i = function _typeof(obj) { return typeof obj; }; } else { _typeof$i = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$i(obj); }
1654
-
1655
- function _classCallCheck$h(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1656
-
1657
- function _defineProperties$h(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1658
-
1659
- function _createClass$h(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$h(Constructor.prototype, protoProps); if (staticProps) _defineProperties$h(Constructor, staticProps); return Constructor; }
1660
-
1661
- function _inherits$h(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$h(subClass, superClass); }
1662
-
1663
- function _setPrototypeOf$h(o, p) { _setPrototypeOf$h = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$h(o, p); }
1664
-
1665
- function _createSuper$h(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$h(); return function _createSuperInternal() { var Super = _getPrototypeOf$h(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$h(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$h(this, result); }; }
1666
-
1667
- function _possibleConstructorReturn$h(self, call) { if (call && (_typeof$i(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$h(self); }
1668
-
1669
- function _assertThisInitialized$h(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1670
-
1671
- function _isNativeReflectConstruct$h() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1672
-
1673
- function _getPrototypeOf$h(o) { _getPrototypeOf$h = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$h(o); }
1674
-
1675
- function _defineProperty$h(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1676
-
1677
1303
  var DayParser = /*#__PURE__*/function (_Parser) {
1678
- _inherits$h(DayParser, _Parser);
1679
-
1680
- var _super = _createSuper$h(DayParser);
1681
-
1304
+ _inherits(DayParser, _Parser);
1305
+ var _super = _createSuper(DayParser);
1682
1306
  function DayParser() {
1683
1307
  var _this;
1684
-
1685
- _classCallCheck$h(this, DayParser);
1686
-
1308
+ _classCallCheck(this, DayParser);
1687
1309
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1688
1310
  args[_key] = arguments[_key];
1689
1311
  }
1690
-
1691
1312
  _this = _super.call.apply(_super, [this].concat(args));
1692
-
1693
- _defineProperty$h(_assertThisInitialized$h(_this), "priority", 90);
1694
-
1695
- _defineProperty$h(_assertThisInitialized$h(_this), "incompatibleTokens", ['D', 'i', 'e', 'c', 't', 'T']);
1696
-
1313
+ _defineProperty(_assertThisInitialized(_this), "priority", 90);
1314
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['D', 'i', 'e', 'c', 't', 'T']);
1697
1315
  return _this;
1698
1316
  }
1699
-
1700
- _createClass$h(DayParser, [{
1317
+ _createClass(DayParser, [{
1701
1318
  key: "parse",
1702
1319
  value: function parse(dateString, token, match) {
1703
1320
  switch (token) {
@@ -1716,14 +1333,12 @@ var DayParser = /*#__PURE__*/function (_Parser) {
1716
1333
  context: 'formatting'
1717
1334
  });
1718
1335
  // T
1719
-
1720
1336
  case 'EEEEE':
1721
1337
  return match.day(dateString, {
1722
1338
  width: 'narrow',
1723
1339
  context: 'formatting'
1724
1340
  });
1725
1341
  // Tu
1726
-
1727
1342
  case 'EEEEEE':
1728
1343
  return match.day(dateString, {
1729
1344
  width: 'short',
@@ -1733,7 +1348,6 @@ var DayParser = /*#__PURE__*/function (_Parser) {
1733
1348
  context: 'formatting'
1734
1349
  });
1735
1350
  // Tuesday
1736
-
1737
1351
  case 'EEEE':
1738
1352
  default:
1739
1353
  return match.day(dateString, {
@@ -1764,65 +1378,30 @@ var DayParser = /*#__PURE__*/function (_Parser) {
1764
1378
  return date;
1765
1379
  }
1766
1380
  }]);
1767
-
1768
1381
  return DayParser;
1769
1382
  }(Parser);
1770
1383
 
1771
- function _typeof$h(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$h = function _typeof(obj) { return typeof obj; }; } else { _typeof$h = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$h(obj); }
1772
-
1773
- function _classCallCheck$g(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1774
-
1775
- function _defineProperties$g(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1776
-
1777
- function _createClass$g(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$g(Constructor.prototype, protoProps); if (staticProps) _defineProperties$g(Constructor, staticProps); return Constructor; }
1778
-
1779
- function _inherits$g(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$g(subClass, superClass); }
1780
-
1781
- function _setPrototypeOf$g(o, p) { _setPrototypeOf$g = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$g(o, p); }
1782
-
1783
- function _createSuper$g(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$g(); return function _createSuperInternal() { var Super = _getPrototypeOf$g(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$g(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$g(this, result); }; }
1784
-
1785
- function _possibleConstructorReturn$g(self, call) { if (call && (_typeof$h(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$g(self); }
1786
-
1787
- function _assertThisInitialized$g(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1788
-
1789
- function _isNativeReflectConstruct$g() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1790
-
1791
- function _getPrototypeOf$g(o) { _getPrototypeOf$g = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$g(o); }
1792
-
1793
- function _defineProperty$g(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1794
-
1795
1384
  var LocalDayParser = /*#__PURE__*/function (_Parser) {
1796
- _inherits$g(LocalDayParser, _Parser);
1797
-
1798
- var _super = _createSuper$g(LocalDayParser);
1799
-
1385
+ _inherits(LocalDayParser, _Parser);
1386
+ var _super = _createSuper(LocalDayParser);
1800
1387
  function LocalDayParser() {
1801
1388
  var _this;
1802
-
1803
- _classCallCheck$g(this, LocalDayParser);
1804
-
1389
+ _classCallCheck(this, LocalDayParser);
1805
1390
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1806
1391
  args[_key] = arguments[_key];
1807
1392
  }
1808
-
1809
1393
  _this = _super.call.apply(_super, [this].concat(args));
1810
-
1811
- _defineProperty$g(_assertThisInitialized$g(_this), "priority", 90);
1812
-
1813
- _defineProperty$g(_assertThisInitialized$g(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']);
1814
-
1394
+ _defineProperty(_assertThisInitialized(_this), "priority", 90);
1395
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']);
1815
1396
  return _this;
1816
1397
  }
1817
-
1818
- _createClass$g(LocalDayParser, [{
1398
+ _createClass(LocalDayParser, [{
1819
1399
  key: "parse",
1820
1400
  value: function parse(dateString, token, match, options) {
1821
1401
  var valueCallback = function valueCallback(value) {
1822
1402
  var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
1823
1403
  return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
1824
1404
  };
1825
-
1826
1405
  switch (token) {
1827
1406
  // 3
1828
1407
  case 'e':
@@ -1830,13 +1409,11 @@ var LocalDayParser = /*#__PURE__*/function (_Parser) {
1830
1409
  // 03
1831
1410
  return mapValue(parseNDigits(token.length, dateString), valueCallback);
1832
1411
  // 3rd
1833
-
1834
1412
  case 'eo':
1835
1413
  return mapValue(match.ordinalNumber(dateString, {
1836
1414
  unit: 'day'
1837
1415
  }), valueCallback);
1838
1416
  // Tue
1839
-
1840
1417
  case 'eee':
1841
1418
  return match.day(dateString, {
1842
1419
  width: 'abbreviated',
@@ -1849,14 +1426,12 @@ var LocalDayParser = /*#__PURE__*/function (_Parser) {
1849
1426
  context: 'formatting'
1850
1427
  });
1851
1428
  // T
1852
-
1853
1429
  case 'eeeee':
1854
1430
  return match.day(dateString, {
1855
1431
  width: 'narrow',
1856
1432
  context: 'formatting'
1857
1433
  });
1858
1434
  // Tu
1859
-
1860
1435
  case 'eeeeee':
1861
1436
  return match.day(dateString, {
1862
1437
  width: 'short',
@@ -1866,7 +1441,6 @@ var LocalDayParser = /*#__PURE__*/function (_Parser) {
1866
1441
  context: 'formatting'
1867
1442
  });
1868
1443
  // Tuesday
1869
-
1870
1444
  case 'eeee':
1871
1445
  default:
1872
1446
  return match.day(dateString, {
@@ -1897,65 +1471,30 @@ var LocalDayParser = /*#__PURE__*/function (_Parser) {
1897
1471
  return date;
1898
1472
  }
1899
1473
  }]);
1900
-
1901
1474
  return LocalDayParser;
1902
1475
  }(Parser);
1903
1476
 
1904
- function _typeof$g(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$g = function _typeof(obj) { return typeof obj; }; } else { _typeof$g = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$g(obj); }
1905
-
1906
- function _classCallCheck$f(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1907
-
1908
- function _defineProperties$f(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1909
-
1910
- function _createClass$f(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$f(Constructor.prototype, protoProps); if (staticProps) _defineProperties$f(Constructor, staticProps); return Constructor; }
1911
-
1912
- function _inherits$f(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$f(subClass, superClass); }
1913
-
1914
- function _setPrototypeOf$f(o, p) { _setPrototypeOf$f = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$f(o, p); }
1915
-
1916
- function _createSuper$f(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$f(); return function _createSuperInternal() { var Super = _getPrototypeOf$f(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$f(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$f(this, result); }; }
1917
-
1918
- function _possibleConstructorReturn$f(self, call) { if (call && (_typeof$g(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$f(self); }
1919
-
1920
- function _assertThisInitialized$f(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
1921
-
1922
- function _isNativeReflectConstruct$f() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1923
-
1924
- function _getPrototypeOf$f(o) { _getPrototypeOf$f = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$f(o); }
1925
-
1926
- function _defineProperty$f(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1927
-
1928
1477
  var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) {
1929
- _inherits$f(StandAloneLocalDayParser, _Parser);
1930
-
1931
- var _super = _createSuper$f(StandAloneLocalDayParser);
1932
-
1478
+ _inherits(StandAloneLocalDayParser, _Parser);
1479
+ var _super = _createSuper(StandAloneLocalDayParser);
1933
1480
  function StandAloneLocalDayParser() {
1934
1481
  var _this;
1935
-
1936
- _classCallCheck$f(this, StandAloneLocalDayParser);
1937
-
1482
+ _classCallCheck(this, StandAloneLocalDayParser);
1938
1483
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1939
1484
  args[_key] = arguments[_key];
1940
1485
  }
1941
-
1942
1486
  _this = _super.call.apply(_super, [this].concat(args));
1943
-
1944
- _defineProperty$f(_assertThisInitialized$f(_this), "priority", 90);
1945
-
1946
- _defineProperty$f(_assertThisInitialized$f(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']);
1947
-
1487
+ _defineProperty(_assertThisInitialized(_this), "priority", 90);
1488
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']);
1948
1489
  return _this;
1949
1490
  }
1950
-
1951
- _createClass$f(StandAloneLocalDayParser, [{
1491
+ _createClass(StandAloneLocalDayParser, [{
1952
1492
  key: "parse",
1953
1493
  value: function parse(dateString, token, match, options) {
1954
1494
  var valueCallback = function valueCallback(value) {
1955
1495
  var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
1956
1496
  return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
1957
1497
  };
1958
-
1959
1498
  switch (token) {
1960
1499
  // 3
1961
1500
  case 'c':
@@ -1963,13 +1502,11 @@ var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) {
1963
1502
  // 03
1964
1503
  return mapValue(parseNDigits(token.length, dateString), valueCallback);
1965
1504
  // 3rd
1966
-
1967
1505
  case 'co':
1968
1506
  return mapValue(match.ordinalNumber(dateString, {
1969
1507
  unit: 'day'
1970
1508
  }), valueCallback);
1971
1509
  // Tue
1972
-
1973
1510
  case 'ccc':
1974
1511
  return match.day(dateString, {
1975
1512
  width: 'abbreviated',
@@ -1982,14 +1519,12 @@ var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) {
1982
1519
  context: 'standalone'
1983
1520
  });
1984
1521
  // T
1985
-
1986
1522
  case 'ccccc':
1987
1523
  return match.day(dateString, {
1988
1524
  width: 'narrow',
1989
1525
  context: 'standalone'
1990
1526
  });
1991
1527
  // Tu
1992
-
1993
1528
  case 'cccccc':
1994
1529
  return match.day(dateString, {
1995
1530
  width: 'short',
@@ -1999,7 +1534,6 @@ var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) {
1999
1534
  context: 'standalone'
2000
1535
  });
2001
1536
  // Tuesday
2002
-
2003
1537
  case 'cccc':
2004
1538
  default:
2005
1539
  return match.day(dateString, {
@@ -2030,18 +1564,15 @@ var StandAloneLocalDayParser = /*#__PURE__*/function (_Parser) {
2030
1564
  return date;
2031
1565
  }
2032
1566
  }]);
2033
-
2034
1567
  return StandAloneLocalDayParser;
2035
1568
  }(Parser);
2036
1569
 
2037
1570
  function setUTCISODay(dirtyDate, dirtyDay) {
2038
1571
  requiredArgs(2, arguments);
2039
1572
  var day = toInteger(dirtyDay);
2040
-
2041
1573
  if (day % 7 === 0) {
2042
1574
  day = day - 7;
2043
1575
  }
2044
-
2045
1576
  var weekStartsOn = 1;
2046
1577
  var date = toDate(dirtyDate);
2047
1578
  var currentDay = date.getUTCDay();
@@ -2052,64 +1583,29 @@ function setUTCISODay(dirtyDate, dirtyDay) {
2052
1583
  return date;
2053
1584
  }
2054
1585
 
2055
- function _typeof$f(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$f = function _typeof(obj) { return typeof obj; }; } else { _typeof$f = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$f(obj); }
2056
-
2057
- function _classCallCheck$e(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2058
-
2059
- function _defineProperties$e(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2060
-
2061
- function _createClass$e(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$e(Constructor.prototype, protoProps); if (staticProps) _defineProperties$e(Constructor, staticProps); return Constructor; }
2062
-
2063
- function _inherits$e(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$e(subClass, superClass); }
2064
-
2065
- function _setPrototypeOf$e(o, p) { _setPrototypeOf$e = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$e(o, p); }
2066
-
2067
- function _createSuper$e(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$e(); return function _createSuperInternal() { var Super = _getPrototypeOf$e(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$e(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$e(this, result); }; }
2068
-
2069
- function _possibleConstructorReturn$e(self, call) { if (call && (_typeof$f(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$e(self); }
2070
-
2071
- function _assertThisInitialized$e(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2072
-
2073
- function _isNativeReflectConstruct$e() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2074
-
2075
- function _getPrototypeOf$e(o) { _getPrototypeOf$e = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$e(o); }
2076
-
2077
- function _defineProperty$e(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2078
-
2079
1586
  var ISODayParser = /*#__PURE__*/function (_Parser) {
2080
- _inherits$e(ISODayParser, _Parser);
2081
-
2082
- var _super = _createSuper$e(ISODayParser);
2083
-
1587
+ _inherits(ISODayParser, _Parser);
1588
+ var _super = _createSuper(ISODayParser);
2084
1589
  function ISODayParser() {
2085
1590
  var _this;
2086
-
2087
- _classCallCheck$e(this, ISODayParser);
2088
-
1591
+ _classCallCheck(this, ISODayParser);
2089
1592
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2090
1593
  args[_key] = arguments[_key];
2091
1594
  }
2092
-
2093
1595
  _this = _super.call.apply(_super, [this].concat(args));
2094
-
2095
- _defineProperty$e(_assertThisInitialized$e(_this), "priority", 90);
2096
-
2097
- _defineProperty$e(_assertThisInitialized$e(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']);
2098
-
1596
+ _defineProperty(_assertThisInitialized(_this), "priority", 90);
1597
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']);
2099
1598
  return _this;
2100
1599
  }
2101
-
2102
- _createClass$e(ISODayParser, [{
1600
+ _createClass(ISODayParser, [{
2103
1601
  key: "parse",
2104
1602
  value: function parse(dateString, token, match) {
2105
1603
  var valueCallback = function valueCallback(value) {
2106
1604
  if (value === 0) {
2107
1605
  return 7;
2108
1606
  }
2109
-
2110
1607
  return value;
2111
1608
  };
2112
-
2113
1609
  switch (token) {
2114
1610
  // 2
2115
1611
  case 'i':
@@ -2117,13 +1613,11 @@ var ISODayParser = /*#__PURE__*/function (_Parser) {
2117
1613
  // 02
2118
1614
  return parseNDigits(token.length, dateString);
2119
1615
  // 2nd
2120
-
2121
1616
  case 'io':
2122
1617
  return match.ordinalNumber(dateString, {
2123
1618
  unit: 'day'
2124
1619
  });
2125
1620
  // Tue
2126
-
2127
1621
  case 'iii':
2128
1622
  return mapValue(match.day(dateString, {
2129
1623
  width: 'abbreviated',
@@ -2136,14 +1630,12 @@ var ISODayParser = /*#__PURE__*/function (_Parser) {
2136
1630
  context: 'formatting'
2137
1631
  }), valueCallback);
2138
1632
  // T
2139
-
2140
1633
  case 'iiiii':
2141
1634
  return mapValue(match.day(dateString, {
2142
1635
  width: 'narrow',
2143
1636
  context: 'formatting'
2144
1637
  }), valueCallback);
2145
1638
  // Tu
2146
-
2147
1639
  case 'iiiiii':
2148
1640
  return mapValue(match.day(dateString, {
2149
1641
  width: 'short',
@@ -2153,7 +1645,6 @@ var ISODayParser = /*#__PURE__*/function (_Parser) {
2153
1645
  context: 'formatting'
2154
1646
  }), valueCallback);
2155
1647
  // Tuesday
2156
-
2157
1648
  case 'iiii':
2158
1649
  default:
2159
1650
  return mapValue(match.day(dateString, {
@@ -2184,57 +1675,24 @@ var ISODayParser = /*#__PURE__*/function (_Parser) {
2184
1675
  return date;
2185
1676
  }
2186
1677
  }]);
2187
-
2188
1678
  return ISODayParser;
2189
1679
  }(Parser);
2190
1680
 
2191
- function _typeof$e(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$e = function _typeof(obj) { return typeof obj; }; } else { _typeof$e = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$e(obj); }
2192
-
2193
- function _classCallCheck$d(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2194
-
2195
- function _defineProperties$d(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2196
-
2197
- function _createClass$d(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$d(Constructor.prototype, protoProps); if (staticProps) _defineProperties$d(Constructor, staticProps); return Constructor; }
2198
-
2199
- function _inherits$d(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$d(subClass, superClass); }
2200
-
2201
- function _setPrototypeOf$d(o, p) { _setPrototypeOf$d = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$d(o, p); }
2202
-
2203
- function _createSuper$d(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$d(); return function _createSuperInternal() { var Super = _getPrototypeOf$d(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$d(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$d(this, result); }; }
2204
-
2205
- function _possibleConstructorReturn$d(self, call) { if (call && (_typeof$e(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$d(self); }
2206
-
2207
- function _assertThisInitialized$d(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2208
-
2209
- function _isNativeReflectConstruct$d() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2210
-
2211
- function _getPrototypeOf$d(o) { _getPrototypeOf$d = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$d(o); }
2212
-
2213
- function _defineProperty$d(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2214
1681
  var AMPMParser = /*#__PURE__*/function (_Parser) {
2215
- _inherits$d(AMPMParser, _Parser);
2216
-
2217
- var _super = _createSuper$d(AMPMParser);
2218
-
1682
+ _inherits(AMPMParser, _Parser);
1683
+ var _super = _createSuper(AMPMParser);
2219
1684
  function AMPMParser() {
2220
1685
  var _this;
2221
-
2222
- _classCallCheck$d(this, AMPMParser);
2223
-
1686
+ _classCallCheck(this, AMPMParser);
2224
1687
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2225
1688
  args[_key] = arguments[_key];
2226
1689
  }
2227
-
2228
1690
  _this = _super.call.apply(_super, [this].concat(args));
2229
-
2230
- _defineProperty$d(_assertThisInitialized$d(_this), "priority", 80);
2231
-
2232
- _defineProperty$d(_assertThisInitialized$d(_this), "incompatibleTokens", ['b', 'B', 'H', 'k', 't', 'T']);
2233
-
1691
+ _defineProperty(_assertThisInitialized(_this), "priority", 80);
1692
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['b', 'B', 'H', 'k', 't', 'T']);
2234
1693
  return _this;
2235
1694
  }
2236
-
2237
- _createClass$d(AMPMParser, [{
1695
+ _createClass(AMPMParser, [{
2238
1696
  key: "parse",
2239
1697
  value: function parse(dateString, token, match) {
2240
1698
  switch (token) {
@@ -2248,13 +1706,11 @@ var AMPMParser = /*#__PURE__*/function (_Parser) {
2248
1706
  width: 'narrow',
2249
1707
  context: 'formatting'
2250
1708
  });
2251
-
2252
1709
  case 'aaaaa':
2253
1710
  return match.dayPeriod(dateString, {
2254
1711
  width: 'narrow',
2255
1712
  context: 'formatting'
2256
1713
  });
2257
-
2258
1714
  case 'aaaa':
2259
1715
  default:
2260
1716
  return match.dayPeriod(dateString, {
@@ -2276,57 +1732,24 @@ var AMPMParser = /*#__PURE__*/function (_Parser) {
2276
1732
  return date;
2277
1733
  }
2278
1734
  }]);
2279
-
2280
1735
  return AMPMParser;
2281
1736
  }(Parser);
2282
1737
 
2283
- function _typeof$d(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$d = function _typeof(obj) { return typeof obj; }; } else { _typeof$d = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$d(obj); }
2284
-
2285
- function _classCallCheck$c(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2286
-
2287
- function _defineProperties$c(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2288
-
2289
- function _createClass$c(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$c(Constructor.prototype, protoProps); if (staticProps) _defineProperties$c(Constructor, staticProps); return Constructor; }
2290
-
2291
- function _inherits$c(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$c(subClass, superClass); }
2292
-
2293
- function _setPrototypeOf$c(o, p) { _setPrototypeOf$c = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$c(o, p); }
2294
-
2295
- function _createSuper$c(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$c(); return function _createSuperInternal() { var Super = _getPrototypeOf$c(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$c(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$c(this, result); }; }
2296
-
2297
- function _possibleConstructorReturn$c(self, call) { if (call && (_typeof$d(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$c(self); }
2298
-
2299
- function _assertThisInitialized$c(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2300
-
2301
- function _isNativeReflectConstruct$c() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2302
-
2303
- function _getPrototypeOf$c(o) { _getPrototypeOf$c = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$c(o); }
2304
-
2305
- function _defineProperty$c(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2306
1738
  var AMPMMidnightParser = /*#__PURE__*/function (_Parser) {
2307
- _inherits$c(AMPMMidnightParser, _Parser);
2308
-
2309
- var _super = _createSuper$c(AMPMMidnightParser);
2310
-
1739
+ _inherits(AMPMMidnightParser, _Parser);
1740
+ var _super = _createSuper(AMPMMidnightParser);
2311
1741
  function AMPMMidnightParser() {
2312
1742
  var _this;
2313
-
2314
- _classCallCheck$c(this, AMPMMidnightParser);
2315
-
1743
+ _classCallCheck(this, AMPMMidnightParser);
2316
1744
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2317
1745
  args[_key] = arguments[_key];
2318
1746
  }
2319
-
2320
1747
  _this = _super.call.apply(_super, [this].concat(args));
2321
-
2322
- _defineProperty$c(_assertThisInitialized$c(_this), "priority", 80);
2323
-
2324
- _defineProperty$c(_assertThisInitialized$c(_this), "incompatibleTokens", ['a', 'B', 'H', 'k', 't', 'T']);
2325
-
1748
+ _defineProperty(_assertThisInitialized(_this), "priority", 80);
1749
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['a', 'B', 'H', 'k', 't', 'T']);
2326
1750
  return _this;
2327
1751
  }
2328
-
2329
- _createClass$c(AMPMMidnightParser, [{
1752
+ _createClass(AMPMMidnightParser, [{
2330
1753
  key: "parse",
2331
1754
  value: function parse(dateString, token, match) {
2332
1755
  switch (token) {
@@ -2340,13 +1763,11 @@ var AMPMMidnightParser = /*#__PURE__*/function (_Parser) {
2340
1763
  width: 'narrow',
2341
1764
  context: 'formatting'
2342
1765
  });
2343
-
2344
1766
  case 'bbbbb':
2345
1767
  return match.dayPeriod(dateString, {
2346
1768
  width: 'narrow',
2347
1769
  context: 'formatting'
2348
1770
  });
2349
-
2350
1771
  case 'bbbb':
2351
1772
  default:
2352
1773
  return match.dayPeriod(dateString, {
@@ -2368,58 +1789,24 @@ var AMPMMidnightParser = /*#__PURE__*/function (_Parser) {
2368
1789
  return date;
2369
1790
  }
2370
1791
  }]);
2371
-
2372
1792
  return AMPMMidnightParser;
2373
1793
  }(Parser);
2374
1794
 
2375
- function _typeof$c(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$c = function _typeof(obj) { return typeof obj; }; } else { _typeof$c = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$c(obj); }
2376
-
2377
- function _classCallCheck$b(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2378
-
2379
- function _defineProperties$b(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2380
-
2381
- function _createClass$b(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$b(Constructor.prototype, protoProps); if (staticProps) _defineProperties$b(Constructor, staticProps); return Constructor; }
2382
-
2383
- function _inherits$b(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$b(subClass, superClass); }
2384
-
2385
- function _setPrototypeOf$b(o, p) { _setPrototypeOf$b = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$b(o, p); }
2386
-
2387
- function _createSuper$b(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$b(); return function _createSuperInternal() { var Super = _getPrototypeOf$b(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$b(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$b(this, result); }; }
2388
-
2389
- function _possibleConstructorReturn$b(self, call) { if (call && (_typeof$c(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$b(self); }
2390
-
2391
- function _assertThisInitialized$b(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2392
-
2393
- function _isNativeReflectConstruct$b() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2394
-
2395
- function _getPrototypeOf$b(o) { _getPrototypeOf$b = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$b(o); }
2396
-
2397
- function _defineProperty$b(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2398
-
2399
1795
  var DayPeriodParser = /*#__PURE__*/function (_Parser) {
2400
- _inherits$b(DayPeriodParser, _Parser);
2401
-
2402
- var _super = _createSuper$b(DayPeriodParser);
2403
-
1796
+ _inherits(DayPeriodParser, _Parser);
1797
+ var _super = _createSuper(DayPeriodParser);
2404
1798
  function DayPeriodParser() {
2405
1799
  var _this;
2406
-
2407
- _classCallCheck$b(this, DayPeriodParser);
2408
-
1800
+ _classCallCheck(this, DayPeriodParser);
2409
1801
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2410
1802
  args[_key] = arguments[_key];
2411
1803
  }
2412
-
2413
1804
  _this = _super.call.apply(_super, [this].concat(args));
2414
-
2415
- _defineProperty$b(_assertThisInitialized$b(_this), "priority", 80);
2416
-
2417
- _defineProperty$b(_assertThisInitialized$b(_this), "incompatibleTokens", ['a', 'b', 't', 'T']);
2418
-
1805
+ _defineProperty(_assertThisInitialized(_this), "priority", 80);
1806
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['a', 'b', 't', 'T']);
2419
1807
  return _this;
2420
1808
  }
2421
-
2422
- _createClass$b(DayPeriodParser, [{
1809
+ _createClass(DayPeriodParser, [{
2423
1810
  key: "parse",
2424
1811
  value: function parse(dateString, token, match) {
2425
1812
  switch (token) {
@@ -2433,13 +1820,11 @@ var DayPeriodParser = /*#__PURE__*/function (_Parser) {
2433
1820
  width: 'narrow',
2434
1821
  context: 'formatting'
2435
1822
  });
2436
-
2437
1823
  case 'BBBBB':
2438
1824
  return match.dayPeriod(dateString, {
2439
1825
  width: 'narrow',
2440
1826
  context: 'formatting'
2441
1827
  });
2442
-
2443
1828
  case 'BBBB':
2444
1829
  default:
2445
1830
  return match.dayPeriod(dateString, {
@@ -2461,68 +1846,33 @@ var DayPeriodParser = /*#__PURE__*/function (_Parser) {
2461
1846
  return date;
2462
1847
  }
2463
1848
  }]);
2464
-
2465
1849
  return DayPeriodParser;
2466
1850
  }(Parser);
2467
1851
 
2468
- function _typeof$b(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$b = function _typeof(obj) { return typeof obj; }; } else { _typeof$b = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$b(obj); }
2469
-
2470
- function _classCallCheck$a(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2471
-
2472
- function _defineProperties$a(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2473
-
2474
- function _createClass$a(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$a(Constructor.prototype, protoProps); if (staticProps) _defineProperties$a(Constructor, staticProps); return Constructor; }
2475
-
2476
- function _inherits$a(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$a(subClass, superClass); }
2477
-
2478
- function _setPrototypeOf$a(o, p) { _setPrototypeOf$a = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$a(o, p); }
2479
-
2480
- function _createSuper$a(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$a(); return function _createSuperInternal() { var Super = _getPrototypeOf$a(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$a(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$a(this, result); }; }
2481
-
2482
- function _possibleConstructorReturn$a(self, call) { if (call && (_typeof$b(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$a(self); }
2483
-
2484
- function _assertThisInitialized$a(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2485
-
2486
- function _isNativeReflectConstruct$a() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2487
-
2488
- function _getPrototypeOf$a(o) { _getPrototypeOf$a = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$a(o); }
2489
-
2490
- function _defineProperty$a(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2491
1852
  var Hour1to12Parser = /*#__PURE__*/function (_Parser) {
2492
- _inherits$a(Hour1to12Parser, _Parser);
2493
-
2494
- var _super = _createSuper$a(Hour1to12Parser);
2495
-
1853
+ _inherits(Hour1to12Parser, _Parser);
1854
+ var _super = _createSuper(Hour1to12Parser);
2496
1855
  function Hour1to12Parser() {
2497
1856
  var _this;
2498
-
2499
- _classCallCheck$a(this, Hour1to12Parser);
2500
-
1857
+ _classCallCheck(this, Hour1to12Parser);
2501
1858
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2502
1859
  args[_key] = arguments[_key];
2503
1860
  }
2504
-
2505
1861
  _this = _super.call.apply(_super, [this].concat(args));
2506
-
2507
- _defineProperty$a(_assertThisInitialized$a(_this), "priority", 70);
2508
-
2509
- _defineProperty$a(_assertThisInitialized$a(_this), "incompatibleTokens", ['H', 'K', 'k', 't', 'T']);
2510
-
1862
+ _defineProperty(_assertThisInitialized(_this), "priority", 70);
1863
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['H', 'K', 'k', 't', 'T']);
2511
1864
  return _this;
2512
1865
  }
2513
-
2514
- _createClass$a(Hour1to12Parser, [{
1866
+ _createClass(Hour1to12Parser, [{
2515
1867
  key: "parse",
2516
1868
  value: function parse(dateString, token, match) {
2517
1869
  switch (token) {
2518
1870
  case 'h':
2519
1871
  return parseNumericPattern(numericPatterns.hour12h, dateString);
2520
-
2521
1872
  case 'ho':
2522
1873
  return match.ordinalNumber(dateString, {
2523
1874
  unit: 'hour'
2524
1875
  });
2525
-
2526
1876
  default:
2527
1877
  return parseNDigits(token.length, dateString);
2528
1878
  }
@@ -2536,7 +1886,6 @@ var Hour1to12Parser = /*#__PURE__*/function (_Parser) {
2536
1886
  key: "set",
2537
1887
  value: function set(date, _flags, value) {
2538
1888
  var isPM = date.getUTCHours() >= 12;
2539
-
2540
1889
  if (isPM && value < 12) {
2541
1890
  date.setUTCHours(value + 12, 0, 0, 0);
2542
1891
  } else if (!isPM && value === 12) {
@@ -2544,72 +1893,36 @@ var Hour1to12Parser = /*#__PURE__*/function (_Parser) {
2544
1893
  } else {
2545
1894
  date.setUTCHours(value, 0, 0, 0);
2546
1895
  }
2547
-
2548
1896
  return date;
2549
1897
  }
2550
1898
  }]);
2551
-
2552
1899
  return Hour1to12Parser;
2553
1900
  }(Parser);
2554
1901
 
2555
- function _typeof$a(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$a = function _typeof(obj) { return typeof obj; }; } else { _typeof$a = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$a(obj); }
2556
-
2557
- function _classCallCheck$9(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2558
-
2559
- function _defineProperties$9(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2560
-
2561
- function _createClass$9(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$9(Constructor.prototype, protoProps); if (staticProps) _defineProperties$9(Constructor, staticProps); return Constructor; }
2562
-
2563
- function _inherits$9(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$9(subClass, superClass); }
2564
-
2565
- function _setPrototypeOf$9(o, p) { _setPrototypeOf$9 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$9(o, p); }
2566
-
2567
- function _createSuper$9(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$9(); return function _createSuperInternal() { var Super = _getPrototypeOf$9(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$9(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$9(this, result); }; }
2568
-
2569
- function _possibleConstructorReturn$9(self, call) { if (call && (_typeof$a(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$9(self); }
2570
-
2571
- function _assertThisInitialized$9(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2572
-
2573
- function _isNativeReflectConstruct$9() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2574
-
2575
- function _getPrototypeOf$9(o) { _getPrototypeOf$9 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$9(o); }
2576
-
2577
- function _defineProperty$9(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2578
1902
  var Hour0to23Parser = /*#__PURE__*/function (_Parser) {
2579
- _inherits$9(Hour0to23Parser, _Parser);
2580
-
2581
- var _super = _createSuper$9(Hour0to23Parser);
2582
-
1903
+ _inherits(Hour0to23Parser, _Parser);
1904
+ var _super = _createSuper(Hour0to23Parser);
2583
1905
  function Hour0to23Parser() {
2584
1906
  var _this;
2585
-
2586
- _classCallCheck$9(this, Hour0to23Parser);
2587
-
1907
+ _classCallCheck(this, Hour0to23Parser);
2588
1908
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2589
1909
  args[_key] = arguments[_key];
2590
1910
  }
2591
-
2592
1911
  _this = _super.call.apply(_super, [this].concat(args));
2593
-
2594
- _defineProperty$9(_assertThisInitialized$9(_this), "priority", 70);
2595
-
2596
- _defineProperty$9(_assertThisInitialized$9(_this), "incompatibleTokens", ['a', 'b', 'h', 'K', 'k', 't', 'T']);
2597
-
1912
+ _defineProperty(_assertThisInitialized(_this), "priority", 70);
1913
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['a', 'b', 'h', 'K', 'k', 't', 'T']);
2598
1914
  return _this;
2599
1915
  }
2600
-
2601
- _createClass$9(Hour0to23Parser, [{
1916
+ _createClass(Hour0to23Parser, [{
2602
1917
  key: "parse",
2603
1918
  value: function parse(dateString, token, match) {
2604
1919
  switch (token) {
2605
1920
  case 'H':
2606
1921
  return parseNumericPattern(numericPatterns.hour23h, dateString);
2607
-
2608
1922
  case 'Ho':
2609
1923
  return match.ordinalNumber(dateString, {
2610
1924
  unit: 'hour'
2611
1925
  });
2612
-
2613
1926
  default:
2614
1927
  return parseNDigits(token.length, dateString);
2615
1928
  }
@@ -2620,74 +1933,39 @@ var Hour0to23Parser = /*#__PURE__*/function (_Parser) {
2620
1933
  return value >= 0 && value <= 23;
2621
1934
  }
2622
1935
  }, {
2623
- key: "set",
2624
- value: function set(date, _flags, value) {
2625
- date.setUTCHours(value, 0, 0, 0);
2626
- return date;
2627
- }
2628
- }]);
2629
-
2630
- return Hour0to23Parser;
2631
- }(Parser);
2632
-
2633
- function _typeof$9(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$9 = function _typeof(obj) { return typeof obj; }; } else { _typeof$9 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$9(obj); }
2634
-
2635
- function _classCallCheck$8(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2636
-
2637
- function _defineProperties$8(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2638
-
2639
- function _createClass$8(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$8(Constructor.prototype, protoProps); if (staticProps) _defineProperties$8(Constructor, staticProps); return Constructor; }
2640
-
2641
- function _inherits$8(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$8(subClass, superClass); }
2642
-
2643
- function _setPrototypeOf$8(o, p) { _setPrototypeOf$8 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$8(o, p); }
2644
-
2645
- function _createSuper$8(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$8(); return function _createSuperInternal() { var Super = _getPrototypeOf$8(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$8(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$8(this, result); }; }
2646
-
2647
- function _possibleConstructorReturn$8(self, call) { if (call && (_typeof$9(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$8(self); }
2648
-
2649
- function _assertThisInitialized$8(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2650
-
2651
- function _isNativeReflectConstruct$8() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2652
-
2653
- function _getPrototypeOf$8(o) { _getPrototypeOf$8 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$8(o); }
1936
+ key: "set",
1937
+ value: function set(date, _flags, value) {
1938
+ date.setUTCHours(value, 0, 0, 0);
1939
+ return date;
1940
+ }
1941
+ }]);
1942
+ return Hour0to23Parser;
1943
+ }(Parser);
2654
1944
 
2655
- function _defineProperty$8(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2656
1945
  var Hour0To11Parser = /*#__PURE__*/function (_Parser) {
2657
- _inherits$8(Hour0To11Parser, _Parser);
2658
-
2659
- var _super = _createSuper$8(Hour0To11Parser);
2660
-
1946
+ _inherits(Hour0To11Parser, _Parser);
1947
+ var _super = _createSuper(Hour0To11Parser);
2661
1948
  function Hour0To11Parser() {
2662
1949
  var _this;
2663
-
2664
- _classCallCheck$8(this, Hour0To11Parser);
2665
-
1950
+ _classCallCheck(this, Hour0To11Parser);
2666
1951
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2667
1952
  args[_key] = arguments[_key];
2668
1953
  }
2669
-
2670
1954
  _this = _super.call.apply(_super, [this].concat(args));
2671
-
2672
- _defineProperty$8(_assertThisInitialized$8(_this), "priority", 70);
2673
-
2674
- _defineProperty$8(_assertThisInitialized$8(_this), "incompatibleTokens", ['h', 'H', 'k', 't', 'T']);
2675
-
1955
+ _defineProperty(_assertThisInitialized(_this), "priority", 70);
1956
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['h', 'H', 'k', 't', 'T']);
2676
1957
  return _this;
2677
1958
  }
2678
-
2679
- _createClass$8(Hour0To11Parser, [{
1959
+ _createClass(Hour0To11Parser, [{
2680
1960
  key: "parse",
2681
1961
  value: function parse(dateString, token, match) {
2682
1962
  switch (token) {
2683
1963
  case 'K':
2684
1964
  return parseNumericPattern(numericPatterns.hour11h, dateString);
2685
-
2686
1965
  case 'Ko':
2687
1966
  return match.ordinalNumber(dateString, {
2688
1967
  unit: 'hour'
2689
1968
  });
2690
-
2691
1969
  default:
2692
1970
  return parseNDigits(token.length, dateString);
2693
1971
  }
@@ -2701,78 +1979,41 @@ var Hour0To11Parser = /*#__PURE__*/function (_Parser) {
2701
1979
  key: "set",
2702
1980
  value: function set(date, _flags, value) {
2703
1981
  var isPM = date.getUTCHours() >= 12;
2704
-
2705
1982
  if (isPM && value < 12) {
2706
1983
  date.setUTCHours(value + 12, 0, 0, 0);
2707
1984
  } else {
2708
1985
  date.setUTCHours(value, 0, 0, 0);
2709
1986
  }
2710
-
2711
1987
  return date;
2712
1988
  }
2713
1989
  }]);
2714
-
2715
1990
  return Hour0To11Parser;
2716
1991
  }(Parser);
2717
1992
 
2718
- function _typeof$8(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$8 = function _typeof(obj) { return typeof obj; }; } else { _typeof$8 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$8(obj); }
2719
-
2720
- function _classCallCheck$7(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2721
-
2722
- function _defineProperties$7(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2723
-
2724
- function _createClass$7(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$7(Constructor.prototype, protoProps); if (staticProps) _defineProperties$7(Constructor, staticProps); return Constructor; }
2725
-
2726
- function _inherits$7(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$7(subClass, superClass); }
2727
-
2728
- function _setPrototypeOf$7(o, p) { _setPrototypeOf$7 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$7(o, p); }
2729
-
2730
- function _createSuper$7(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$7(); return function _createSuperInternal() { var Super = _getPrototypeOf$7(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$7(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$7(this, result); }; }
2731
-
2732
- function _possibleConstructorReturn$7(self, call) { if (call && (_typeof$8(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$7(self); }
2733
-
2734
- function _assertThisInitialized$7(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2735
-
2736
- function _isNativeReflectConstruct$7() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2737
-
2738
- function _getPrototypeOf$7(o) { _getPrototypeOf$7 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$7(o); }
2739
-
2740
- function _defineProperty$7(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2741
1993
  var Hour1To24Parser = /*#__PURE__*/function (_Parser) {
2742
- _inherits$7(Hour1To24Parser, _Parser);
2743
-
2744
- var _super = _createSuper$7(Hour1To24Parser);
2745
-
1994
+ _inherits(Hour1To24Parser, _Parser);
1995
+ var _super = _createSuper(Hour1To24Parser);
2746
1996
  function Hour1To24Parser() {
2747
1997
  var _this;
2748
-
2749
- _classCallCheck$7(this, Hour1To24Parser);
2750
-
1998
+ _classCallCheck(this, Hour1To24Parser);
2751
1999
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2752
2000
  args[_key] = arguments[_key];
2753
2001
  }
2754
-
2755
2002
  _this = _super.call.apply(_super, [this].concat(args));
2756
-
2757
- _defineProperty$7(_assertThisInitialized$7(_this), "priority", 70);
2758
-
2759
- _defineProperty$7(_assertThisInitialized$7(_this), "incompatibleTokens", ['a', 'b', 'h', 'H', 'K', 't', 'T']);
2760
-
2003
+ _defineProperty(_assertThisInitialized(_this), "priority", 70);
2004
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['a', 'b', 'h', 'H', 'K', 't', 'T']);
2761
2005
  return _this;
2762
2006
  }
2763
-
2764
- _createClass$7(Hour1To24Parser, [{
2007
+ _createClass(Hour1To24Parser, [{
2765
2008
  key: "parse",
2766
2009
  value: function parse(dateString, token, match) {
2767
2010
  switch (token) {
2768
2011
  case 'k':
2769
2012
  return parseNumericPattern(numericPatterns.hour24h, dateString);
2770
-
2771
2013
  case 'ko':
2772
2014
  return match.ordinalNumber(dateString, {
2773
2015
  unit: 'hour'
2774
2016
  });
2775
-
2776
2017
  default:
2777
2018
  return parseNDigits(token.length, dateString);
2778
2019
  }
@@ -2790,68 +2031,33 @@ var Hour1To24Parser = /*#__PURE__*/function (_Parser) {
2790
2031
  return date;
2791
2032
  }
2792
2033
  }]);
2793
-
2794
2034
  return Hour1To24Parser;
2795
2035
  }(Parser);
2796
2036
 
2797
- function _typeof$7(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$7 = function _typeof(obj) { return typeof obj; }; } else { _typeof$7 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$7(obj); }
2798
-
2799
- function _classCallCheck$6(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2800
-
2801
- function _defineProperties$6(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2802
-
2803
- function _createClass$6(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$6(Constructor.prototype, protoProps); if (staticProps) _defineProperties$6(Constructor, staticProps); return Constructor; }
2804
-
2805
- function _inherits$6(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$6(subClass, superClass); }
2806
-
2807
- function _setPrototypeOf$6(o, p) { _setPrototypeOf$6 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$6(o, p); }
2808
-
2809
- function _createSuper$6(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$6(); return function _createSuperInternal() { var Super = _getPrototypeOf$6(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$6(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$6(this, result); }; }
2810
-
2811
- function _possibleConstructorReturn$6(self, call) { if (call && (_typeof$7(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$6(self); }
2812
-
2813
- function _assertThisInitialized$6(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2814
-
2815
- function _isNativeReflectConstruct$6() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2816
-
2817
- function _getPrototypeOf$6(o) { _getPrototypeOf$6 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$6(o); }
2818
-
2819
- function _defineProperty$6(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2820
2037
  var MinuteParser = /*#__PURE__*/function (_Parser) {
2821
- _inherits$6(MinuteParser, _Parser);
2822
-
2823
- var _super = _createSuper$6(MinuteParser);
2824
-
2038
+ _inherits(MinuteParser, _Parser);
2039
+ var _super = _createSuper(MinuteParser);
2825
2040
  function MinuteParser() {
2826
2041
  var _this;
2827
-
2828
- _classCallCheck$6(this, MinuteParser);
2829
-
2042
+ _classCallCheck(this, MinuteParser);
2830
2043
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2831
2044
  args[_key] = arguments[_key];
2832
2045
  }
2833
-
2834
2046
  _this = _super.call.apply(_super, [this].concat(args));
2835
-
2836
- _defineProperty$6(_assertThisInitialized$6(_this), "priority", 60);
2837
-
2838
- _defineProperty$6(_assertThisInitialized$6(_this), "incompatibleTokens", ['t', 'T']);
2839
-
2047
+ _defineProperty(_assertThisInitialized(_this), "priority", 60);
2048
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['t', 'T']);
2840
2049
  return _this;
2841
2050
  }
2842
-
2843
- _createClass$6(MinuteParser, [{
2051
+ _createClass(MinuteParser, [{
2844
2052
  key: "parse",
2845
2053
  value: function parse(dateString, token, match) {
2846
2054
  switch (token) {
2847
2055
  case 'm':
2848
2056
  return parseNumericPattern(numericPatterns.minute, dateString);
2849
-
2850
2057
  case 'mo':
2851
2058
  return match.ordinalNumber(dateString, {
2852
2059
  unit: 'minute'
2853
2060
  });
2854
-
2855
2061
  default:
2856
2062
  return parseNDigits(token.length, dateString);
2857
2063
  }
@@ -2868,68 +2074,33 @@ var MinuteParser = /*#__PURE__*/function (_Parser) {
2868
2074
  return date;
2869
2075
  }
2870
2076
  }]);
2871
-
2872
2077
  return MinuteParser;
2873
2078
  }(Parser);
2874
2079
 
2875
- function _typeof$6(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$6 = function _typeof(obj) { return typeof obj; }; } else { _typeof$6 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$6(obj); }
2876
-
2877
- function _classCallCheck$5(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2878
-
2879
- function _defineProperties$5(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2880
-
2881
- function _createClass$5(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$5(Constructor.prototype, protoProps); if (staticProps) _defineProperties$5(Constructor, staticProps); return Constructor; }
2882
-
2883
- function _inherits$5(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$5(subClass, superClass); }
2884
-
2885
- function _setPrototypeOf$5(o, p) { _setPrototypeOf$5 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$5(o, p); }
2886
-
2887
- function _createSuper$5(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$5(); return function _createSuperInternal() { var Super = _getPrototypeOf$5(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$5(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$5(this, result); }; }
2888
-
2889
- function _possibleConstructorReturn$5(self, call) { if (call && (_typeof$6(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$5(self); }
2890
-
2891
- function _assertThisInitialized$5(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2892
-
2893
- function _isNativeReflectConstruct$5() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2894
-
2895
- function _getPrototypeOf$5(o) { _getPrototypeOf$5 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$5(o); }
2896
-
2897
- function _defineProperty$5(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2898
2080
  var SecondParser = /*#__PURE__*/function (_Parser) {
2899
- _inherits$5(SecondParser, _Parser);
2900
-
2901
- var _super = _createSuper$5(SecondParser);
2902
-
2081
+ _inherits(SecondParser, _Parser);
2082
+ var _super = _createSuper(SecondParser);
2903
2083
  function SecondParser() {
2904
2084
  var _this;
2905
-
2906
- _classCallCheck$5(this, SecondParser);
2907
-
2085
+ _classCallCheck(this, SecondParser);
2908
2086
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2909
2087
  args[_key] = arguments[_key];
2910
2088
  }
2911
-
2912
2089
  _this = _super.call.apply(_super, [this].concat(args));
2913
-
2914
- _defineProperty$5(_assertThisInitialized$5(_this), "priority", 50);
2915
-
2916
- _defineProperty$5(_assertThisInitialized$5(_this), "incompatibleTokens", ['t', 'T']);
2917
-
2090
+ _defineProperty(_assertThisInitialized(_this), "priority", 50);
2091
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['t', 'T']);
2918
2092
  return _this;
2919
2093
  }
2920
-
2921
- _createClass$5(SecondParser, [{
2094
+ _createClass(SecondParser, [{
2922
2095
  key: "parse",
2923
2096
  value: function parse(dateString, token, match) {
2924
2097
  switch (token) {
2925
2098
  case 's':
2926
2099
  return parseNumericPattern(numericPatterns.second, dateString);
2927
-
2928
2100
  case 'so':
2929
2101
  return match.ordinalNumber(dateString, {
2930
2102
  unit: 'second'
2931
2103
  });
2932
-
2933
2104
  default:
2934
2105
  return parseNDigits(token.length, dateString);
2935
2106
  }
@@ -2946,63 +2117,29 @@ var SecondParser = /*#__PURE__*/function (_Parser) {
2946
2117
  return date;
2947
2118
  }
2948
2119
  }]);
2949
-
2950
2120
  return SecondParser;
2951
2121
  }(Parser);
2952
2122
 
2953
- function _typeof$5(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$5 = function _typeof(obj) { return typeof obj; }; } else { _typeof$5 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$5(obj); }
2954
-
2955
- function _classCallCheck$4(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
2956
-
2957
- function _defineProperties$4(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
2958
-
2959
- function _createClass$4(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$4(Constructor.prototype, protoProps); if (staticProps) _defineProperties$4(Constructor, staticProps); return Constructor; }
2960
-
2961
- function _inherits$4(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$4(subClass, superClass); }
2962
-
2963
- function _setPrototypeOf$4(o, p) { _setPrototypeOf$4 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$4(o, p); }
2964
-
2965
- function _createSuper$4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$4(); return function _createSuperInternal() { var Super = _getPrototypeOf$4(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$4(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$4(this, result); }; }
2966
-
2967
- function _possibleConstructorReturn$4(self, call) { if (call && (_typeof$5(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$4(self); }
2968
-
2969
- function _assertThisInitialized$4(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2970
-
2971
- function _isNativeReflectConstruct$4() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
2972
-
2973
- function _getPrototypeOf$4(o) { _getPrototypeOf$4 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$4(o); }
2974
-
2975
- function _defineProperty$4(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2976
2123
  var FractionOfSecondParser = /*#__PURE__*/function (_Parser) {
2977
- _inherits$4(FractionOfSecondParser, _Parser);
2978
-
2979
- var _super = _createSuper$4(FractionOfSecondParser);
2980
-
2124
+ _inherits(FractionOfSecondParser, _Parser);
2125
+ var _super = _createSuper(FractionOfSecondParser);
2981
2126
  function FractionOfSecondParser() {
2982
2127
  var _this;
2983
-
2984
- _classCallCheck$4(this, FractionOfSecondParser);
2985
-
2128
+ _classCallCheck(this, FractionOfSecondParser);
2986
2129
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
2987
2130
  args[_key] = arguments[_key];
2988
2131
  }
2989
-
2990
2132
  _this = _super.call.apply(_super, [this].concat(args));
2991
-
2992
- _defineProperty$4(_assertThisInitialized$4(_this), "priority", 30);
2993
-
2994
- _defineProperty$4(_assertThisInitialized$4(_this), "incompatibleTokens", ['t', 'T']);
2995
-
2133
+ _defineProperty(_assertThisInitialized(_this), "priority", 30);
2134
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['t', 'T']);
2996
2135
  return _this;
2997
2136
  }
2998
-
2999
- _createClass$4(FractionOfSecondParser, [{
2137
+ _createClass(FractionOfSecondParser, [{
3000
2138
  key: "parse",
3001
2139
  value: function parse(dateString, token) {
3002
2140
  var valueCallback = function valueCallback(value) {
3003
2141
  return Math.floor(value * Math.pow(10, -token.length + 3));
3004
2142
  };
3005
-
3006
2143
  return mapValue(parseNDigits(token.length, dateString), valueCallback);
3007
2144
  }
3008
2145
  }, {
@@ -3012,73 +2149,35 @@ var FractionOfSecondParser = /*#__PURE__*/function (_Parser) {
3012
2149
  return date;
3013
2150
  }
3014
2151
  }]);
3015
-
3016
2152
  return FractionOfSecondParser;
3017
2153
  }(Parser);
3018
2154
 
3019
- function _typeof$4(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$4 = function _typeof(obj) { return typeof obj; }; } else { _typeof$4 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$4(obj); }
3020
-
3021
- function _classCallCheck$3(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3022
-
3023
- function _defineProperties$3(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
3024
-
3025
- function _createClass$3(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$3(Constructor.prototype, protoProps); if (staticProps) _defineProperties$3(Constructor, staticProps); return Constructor; }
3026
-
3027
- function _inherits$3(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$3(subClass, superClass); }
3028
-
3029
- function _setPrototypeOf$3(o, p) { _setPrototypeOf$3 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$3(o, p); }
3030
-
3031
- function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf$3(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$3(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$3(this, result); }; }
3032
-
3033
- function _possibleConstructorReturn$3(self, call) { if (call && (_typeof$4(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$3(self); }
3034
-
3035
- function _assertThisInitialized$3(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3036
-
3037
- function _isNativeReflectConstruct$3() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
3038
-
3039
- function _getPrototypeOf$3(o) { _getPrototypeOf$3 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$3(o); }
3040
-
3041
- function _defineProperty$3(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3042
-
3043
2155
  var ISOTimezoneWithZParser = /*#__PURE__*/function (_Parser) {
3044
- _inherits$3(ISOTimezoneWithZParser, _Parser);
3045
-
3046
- var _super = _createSuper$3(ISOTimezoneWithZParser);
3047
-
2156
+ _inherits(ISOTimezoneWithZParser, _Parser);
2157
+ var _super = _createSuper(ISOTimezoneWithZParser);
3048
2158
  function ISOTimezoneWithZParser() {
3049
2159
  var _this;
3050
-
3051
- _classCallCheck$3(this, ISOTimezoneWithZParser);
3052
-
2160
+ _classCallCheck(this, ISOTimezoneWithZParser);
3053
2161
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
3054
2162
  args[_key] = arguments[_key];
3055
2163
  }
3056
-
3057
2164
  _this = _super.call.apply(_super, [this].concat(args));
3058
-
3059
- _defineProperty$3(_assertThisInitialized$3(_this), "priority", 10);
3060
-
3061
- _defineProperty$3(_assertThisInitialized$3(_this), "incompatibleTokens", ['t', 'T', 'x']);
3062
-
2165
+ _defineProperty(_assertThisInitialized(_this), "priority", 10);
2166
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['t', 'T', 'x']);
3063
2167
  return _this;
3064
2168
  }
3065
-
3066
- _createClass$3(ISOTimezoneWithZParser, [{
2169
+ _createClass(ISOTimezoneWithZParser, [{
3067
2170
  key: "parse",
3068
2171
  value: function parse(dateString, token) {
3069
2172
  switch (token) {
3070
2173
  case 'X':
3071
2174
  return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString);
3072
-
3073
2175
  case 'XX':
3074
2176
  return parseTimezonePattern(timezonePatterns.basic, dateString);
3075
-
3076
2177
  case 'XXXX':
3077
2178
  return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString);
3078
-
3079
2179
  case 'XXXXX':
3080
2180
  return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString);
3081
-
3082
2181
  case 'XXX':
3083
2182
  default:
3084
2183
  return parseTimezonePattern(timezonePatterns.extended, dateString);
@@ -3090,77 +2189,38 @@ var ISOTimezoneWithZParser = /*#__PURE__*/function (_Parser) {
3090
2189
  if (flags.timestampIsSet) {
3091
2190
  return date;
3092
2191
  }
3093
-
3094
2192
  return new Date(date.getTime() - value);
3095
2193
  }
3096
2194
  }]);
3097
-
3098
2195
  return ISOTimezoneWithZParser;
3099
2196
  }(Parser);
3100
2197
 
3101
- function _typeof$3(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$3 = function _typeof(obj) { return typeof obj; }; } else { _typeof$3 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$3(obj); }
3102
-
3103
- function _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3104
-
3105
- function _defineProperties$2(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
3106
-
3107
- function _createClass$2(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$2(Constructor.prototype, protoProps); if (staticProps) _defineProperties$2(Constructor, staticProps); return Constructor; }
3108
-
3109
- function _inherits$2(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$2(subClass, superClass); }
3110
-
3111
- function _setPrototypeOf$2(o, p) { _setPrototypeOf$2 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$2(o, p); }
3112
-
3113
- function _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf$2(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$2(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$2(this, result); }; }
3114
-
3115
- function _possibleConstructorReturn$2(self, call) { if (call && (_typeof$3(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$2(self); }
3116
-
3117
- function _assertThisInitialized$2(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3118
-
3119
- function _isNativeReflectConstruct$2() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
3120
-
3121
- function _getPrototypeOf$2(o) { _getPrototypeOf$2 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$2(o); }
3122
-
3123
- function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3124
-
3125
2198
  var ISOTimezoneParser = /*#__PURE__*/function (_Parser) {
3126
- _inherits$2(ISOTimezoneParser, _Parser);
3127
-
3128
- var _super = _createSuper$2(ISOTimezoneParser);
3129
-
2199
+ _inherits(ISOTimezoneParser, _Parser);
2200
+ var _super = _createSuper(ISOTimezoneParser);
3130
2201
  function ISOTimezoneParser() {
3131
2202
  var _this;
3132
-
3133
- _classCallCheck$2(this, ISOTimezoneParser);
3134
-
2203
+ _classCallCheck(this, ISOTimezoneParser);
3135
2204
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
3136
2205
  args[_key] = arguments[_key];
3137
2206
  }
3138
-
3139
2207
  _this = _super.call.apply(_super, [this].concat(args));
3140
-
3141
- _defineProperty$2(_assertThisInitialized$2(_this), "priority", 10);
3142
-
3143
- _defineProperty$2(_assertThisInitialized$2(_this), "incompatibleTokens", ['t', 'T', 'X']);
3144
-
2208
+ _defineProperty(_assertThisInitialized(_this), "priority", 10);
2209
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", ['t', 'T', 'X']);
3145
2210
  return _this;
3146
2211
  }
3147
-
3148
- _createClass$2(ISOTimezoneParser, [{
2212
+ _createClass(ISOTimezoneParser, [{
3149
2213
  key: "parse",
3150
2214
  value: function parse(dateString, token) {
3151
2215
  switch (token) {
3152
2216
  case 'x':
3153
2217
  return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString);
3154
-
3155
2218
  case 'xx':
3156
2219
  return parseTimezonePattern(timezonePatterns.basic, dateString);
3157
-
3158
2220
  case 'xxxx':
3159
2221
  return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString);
3160
-
3161
2222
  case 'xxxxx':
3162
2223
  return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString);
3163
-
3164
2224
  case 'xxx':
3165
2225
  default:
3166
2226
  return parseTimezonePattern(timezonePatterns.extended, dateString);
@@ -3172,61 +2232,27 @@ var ISOTimezoneParser = /*#__PURE__*/function (_Parser) {
3172
2232
  if (flags.timestampIsSet) {
3173
2233
  return date;
3174
2234
  }
3175
-
3176
2235
  return new Date(date.getTime() - value);
3177
2236
  }
3178
2237
  }]);
3179
-
3180
2238
  return ISOTimezoneParser;
3181
2239
  }(Parser);
3182
2240
 
3183
- function _typeof$2(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$2 = function _typeof(obj) { return typeof obj; }; } else { _typeof$2 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$2(obj); }
3184
-
3185
- function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3186
-
3187
- function _defineProperties$1(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
3188
-
3189
- function _createClass$1(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); if (staticProps) _defineProperties$1(Constructor, staticProps); return Constructor; }
3190
-
3191
- function _inherits$1(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf$1(subClass, superClass); }
3192
-
3193
- function _setPrototypeOf$1(o, p) { _setPrototypeOf$1 = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$1(o, p); }
3194
-
3195
- function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf$1(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$1(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$1(this, result); }; }
3196
-
3197
- function _possibleConstructorReturn$1(self, call) { if (call && (_typeof$2(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized$1(self); }
3198
-
3199
- function _assertThisInitialized$1(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3200
-
3201
- function _isNativeReflectConstruct$1() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
3202
-
3203
- function _getPrototypeOf$1(o) { _getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$1(o); }
3204
-
3205
- function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3206
2241
  var TimestampSecondsParser = /*#__PURE__*/function (_Parser) {
3207
- _inherits$1(TimestampSecondsParser, _Parser);
3208
-
3209
- var _super = _createSuper$1(TimestampSecondsParser);
3210
-
2242
+ _inherits(TimestampSecondsParser, _Parser);
2243
+ var _super = _createSuper(TimestampSecondsParser);
3211
2244
  function TimestampSecondsParser() {
3212
2245
  var _this;
3213
-
3214
- _classCallCheck$1(this, TimestampSecondsParser);
3215
-
2246
+ _classCallCheck(this, TimestampSecondsParser);
3216
2247
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
3217
2248
  args[_key] = arguments[_key];
3218
2249
  }
3219
-
3220
2250
  _this = _super.call.apply(_super, [this].concat(args));
3221
-
3222
- _defineProperty$1(_assertThisInitialized$1(_this), "priority", 40);
3223
-
3224
- _defineProperty$1(_assertThisInitialized$1(_this), "incompatibleTokens", '*');
3225
-
2251
+ _defineProperty(_assertThisInitialized(_this), "priority", 40);
2252
+ _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", '*');
3226
2253
  return _this;
3227
2254
  }
3228
-
3229
- _createClass$1(TimestampSecondsParser, [{
2255
+ _createClass(TimestampSecondsParser, [{
3230
2256
  key: "parse",
3231
2257
  value: function parse(dateString) {
3232
2258
  return parseAnyDigitsSigned(dateString);
@@ -3239,56 +2265,23 @@ var TimestampSecondsParser = /*#__PURE__*/function (_Parser) {
3239
2265
  }];
3240
2266
  }
3241
2267
  }]);
3242
-
3243
2268
  return TimestampSecondsParser;
3244
2269
  }(Parser);
3245
2270
 
3246
- function _typeof$1(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof$1 = function _typeof(obj) { return typeof obj; }; } else { _typeof$1 = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof$1(obj); }
3247
-
3248
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3249
-
3250
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
3251
-
3252
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
3253
-
3254
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
3255
-
3256
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
3257
-
3258
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
3259
-
3260
- function _possibleConstructorReturn(self, call) { if (call && (_typeof$1(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
3261
-
3262
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
3263
-
3264
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
3265
-
3266
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
3267
-
3268
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3269
2271
  var TimestampMillisecondsParser = /*#__PURE__*/function (_Parser) {
3270
2272
  _inherits(TimestampMillisecondsParser, _Parser);
3271
-
3272
2273
  var _super = _createSuper(TimestampMillisecondsParser);
3273
-
3274
2274
  function TimestampMillisecondsParser() {
3275
2275
  var _this;
3276
-
3277
2276
  _classCallCheck(this, TimestampMillisecondsParser);
3278
-
3279
2277
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
3280
2278
  args[_key] = arguments[_key];
3281
2279
  }
3282
-
3283
2280
  _this = _super.call.apply(_super, [this].concat(args));
3284
-
3285
2281
  _defineProperty(_assertThisInitialized(_this), "priority", 20);
3286
-
3287
2282
  _defineProperty(_assertThisInitialized(_this), "incompatibleTokens", '*');
3288
-
3289
2283
  return _this;
3290
2284
  }
3291
-
3292
2285
  _createClass(TimestampMillisecondsParser, [{
3293
2286
  key: "parse",
3294
2287
  value: function parse(dateString) {
@@ -3302,7 +2295,6 @@ var TimestampMillisecondsParser = /*#__PURE__*/function (_Parser) {
3302
2295
  }];
3303
2296
  }
3304
2297
  }]);
3305
-
3306
2298
  return TimestampMillisecondsParser;
3307
2299
  }(Parser);
3308
2300
 
@@ -3349,7 +2341,6 @@ var TimestampMillisecondsParser = /*#__PURE__*/function (_Parser) {
3349
2341
  * `Y` is supposed to be used in conjunction with `w` and `e`
3350
2342
  * for week-numbering date specific to the locale.
3351
2343
  */
3352
-
3353
2344
  var parsers = {
3354
2345
  G: new EraParser(),
3355
2346
  y: new YearParser(),
@@ -3384,13 +2375,6 @@ var parsers = {
3384
2375
  T: new TimestampMillisecondsParser()
3385
2376
  };
3386
2377
 
3387
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3388
-
3389
- function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
3390
-
3391
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
3392
-
3393
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
3394
2378
  // - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
3395
2379
  // (one of the certain letters followed by `o`)
3396
2380
  // - (\w)\1* matches any sequences of the same letter
@@ -3401,15 +2385,16 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
3401
2385
  // If there is no matching single quote
3402
2386
  // then the sequence will continue until the end of the string.
3403
2387
  // - . matches any single character unmatched by previous parts of the RegExps
2388
+ var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;
3404
2389
 
3405
- var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also
2390
+ // This RegExp catches symbols escaped by quotes, and also
3406
2391
  // sequences of symbols P, p, and the combinations like `PPPPPPPppppp`
3407
-
3408
2392
  var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
3409
2393
  var escapedStringRegExp = /^'([^]*?)'?$/;
3410
2394
  var doubleQuoteRegExp = /''/g;
3411
2395
  var notWhitespaceRegExp = /\S/;
3412
2396
  var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
2397
+
3413
2398
  /**
3414
2399
  * @name parse
3415
2400
  * @category Common Helpers
@@ -3711,32 +2696,28 @@ var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
3711
2696
  * })
3712
2697
  * //=> Sun Feb 28 2010 00:00:00
3713
2698
  */
3714
-
3715
2699
  function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options) {
3716
2700
  var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _options$locale2, _options$locale2$opti, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _options$locale3, _options$locale3$opti, _defaultOptions$local3, _defaultOptions$local4;
3717
-
3718
2701
  requiredArgs(3, arguments);
3719
2702
  var dateString = String(dirtyDateString);
3720
2703
  var formatString = String(dirtyFormatString);
3721
2704
  var defaultOptions = getDefaultOptions();
3722
2705
  var locale$1 = (_ref = (_options$locale = options === null || options === void 0 ? void 0 : options.locale) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : locale;
3723
-
3724
2706
  if (!locale$1.match) {
3725
2707
  throw new RangeError('locale must contain match property');
3726
2708
  }
2709
+ var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1);
3727
2710
 
3728
- var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale2 = options.locale) === null || _options$locale2 === void 0 ? void 0 : (_options$locale2$opti = _options$locale2.options) === null || _options$locale2$opti === void 0 ? void 0 : _options$locale2$opti.firstWeekContainsDate) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
3729
-
2711
+ // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
3730
2712
  if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
3731
2713
  throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
3732
2714
  }
2715
+ var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0);
3733
2716
 
3734
- var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale3 = options.locale) === null || _options$locale3 === void 0 ? void 0 : (_options$locale3$opti = _options$locale3.options) === null || _options$locale3$opti === void 0 ? void 0 : _options$locale3$opti.weekStartsOn) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
3735
-
2717
+ // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
3736
2718
  if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
3737
2719
  throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
3738
2720
  }
3739
-
3740
2721
  if (formatString === '') {
3741
2722
  if (dateString === '') {
3742
2723
  return toDate(dirtyReferenceDate);
@@ -3744,86 +2725,73 @@ function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options)
3744
2725
  return new Date(NaN);
3745
2726
  }
3746
2727
  }
3747
-
3748
2728
  var subFnOptions = {
3749
2729
  firstWeekContainsDate: firstWeekContainsDate,
3750
2730
  weekStartsOn: weekStartsOn,
3751
2731
  locale: locale$1
3752
- }; // If timezone isn't specified, it will be set to the system timezone
2732
+ };
3753
2733
 
2734
+ // If timezone isn't specified, it will be set to the system timezone
3754
2735
  var setters = [new DateToSystemTimezoneSetter()];
3755
2736
  var tokens = formatString.match(longFormattingTokensRegExp).map(function (substring) {
3756
2737
  var firstCharacter = substring[0];
3757
-
3758
2738
  if (firstCharacter in longFormatters) {
3759
2739
  var longFormatter = longFormatters[firstCharacter];
3760
2740
  return longFormatter(substring, locale$1.formatLong);
3761
2741
  }
3762
-
3763
2742
  return substring;
3764
2743
  }).join('').match(formattingTokensRegExp);
3765
2744
  var usedTokens = [];
3766
-
3767
2745
  var _iterator = _createForOfIteratorHelper(tokens),
3768
- _step;
3769
-
2746
+ _step;
3770
2747
  try {
3771
2748
  var _loop = function _loop() {
3772
2749
  var token = _step.value;
3773
-
3774
2750
  if (!(options !== null && options !== void 0 && options.useAdditionalWeekYearTokens) && isProtectedWeekYearToken(token)) {
3775
2751
  throwProtectedError(token, formatString, dirtyDateString);
3776
2752
  }
3777
-
3778
2753
  if (!(options !== null && options !== void 0 && options.useAdditionalDayOfYearTokens) && isProtectedDayOfYearToken(token)) {
3779
2754
  throwProtectedError(token, formatString, dirtyDateString);
3780
2755
  }
3781
-
3782
2756
  var firstCharacter = token[0];
3783
2757
  var parser = parsers[firstCharacter];
3784
-
3785
2758
  if (parser) {
3786
2759
  var incompatibleTokens = parser.incompatibleTokens;
3787
-
3788
2760
  if (Array.isArray(incompatibleTokens)) {
3789
2761
  var incompatibleToken = usedTokens.find(function (usedToken) {
3790
2762
  return incompatibleTokens.includes(usedToken.token) || usedToken.token === firstCharacter;
3791
2763
  });
3792
-
3793
2764
  if (incompatibleToken) {
3794
2765
  throw new RangeError("The format string mustn't contain `".concat(incompatibleToken.fullToken, "` and `").concat(token, "` at the same time"));
3795
2766
  }
3796
2767
  } else if (parser.incompatibleTokens === '*' && usedTokens.length > 0) {
3797
2768
  throw new RangeError("The format string mustn't contain `".concat(token, "` and any other token at the same time"));
3798
2769
  }
3799
-
3800
2770
  usedTokens.push({
3801
2771
  token: firstCharacter,
3802
2772
  fullToken: token
3803
2773
  });
3804
2774
  var parseResult = parser.run(dateString, token, locale$1.match, subFnOptions);
3805
-
3806
2775
  if (!parseResult) {
3807
2776
  return {
3808
2777
  v: new Date(NaN)
3809
2778
  };
3810
2779
  }
3811
-
3812
2780
  setters.push(parseResult.setter);
3813
2781
  dateString = parseResult.rest;
3814
2782
  } else {
3815
2783
  if (firstCharacter.match(unescapedLatinCharacterRegExp)) {
3816
2784
  throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');
3817
- } // Replace two single quote characters with one single quote character
3818
-
2785
+ }
3819
2786
 
2787
+ // Replace two single quote characters with one single quote character
3820
2788
  if (token === "''") {
3821
2789
  token = "'";
3822
2790
  } else if (firstCharacter === "'") {
3823
2791
  token = cleanEscapedString(token);
3824
- } // Cut token from string, or, if string doesn't match the token, return Invalid Date
3825
-
2792
+ }
3826
2793
 
2794
+ // Cut token from string, or, if string doesn't match the token, return Invalid Date
3827
2795
  if (dateString.indexOf(token) === 0) {
3828
2796
  dateString = dateString.slice(token.length);
3829
2797
  } else {
@@ -3833,23 +2801,20 @@ function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options)
3833
2801
  }
3834
2802
  }
3835
2803
  };
3836
-
3837
2804
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
3838
2805
  var _ret = _loop();
3839
-
3840
2806
  if (_typeof(_ret) === "object") return _ret.v;
3841
- } // Check if the remaining input contains something other than whitespace
2807
+ }
3842
2808
 
2809
+ // Check if the remaining input contains something other than whitespace
3843
2810
  } catch (err) {
3844
2811
  _iterator.e(err);
3845
2812
  } finally {
3846
2813
  _iterator.f();
3847
2814
  }
3848
-
3849
2815
  if (dateString.length > 0 && notWhitespaceRegExp.test(dateString)) {
3850
2816
  return new Date(NaN);
3851
2817
  }
3852
-
3853
2818
  var uniquePrioritySetters = setters.map(function (setter) {
3854
2819
  return setter.priority;
3855
2820
  }).sort(function (a, b) {
@@ -3866,31 +2831,27 @@ function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options)
3866
2831
  return setterArray[0];
3867
2832
  });
3868
2833
  var date = toDate(dirtyReferenceDate);
3869
-
3870
2834
  if (isNaN(date.getTime())) {
3871
2835
  return new Date(NaN);
3872
- } // Convert the date in system timezone to the same date in UTC+00:00 timezone.
3873
-
2836
+ }
3874
2837
 
2838
+ // Convert the date in system timezone to the same date in UTC+00:00 timezone.
3875
2839
  var utcDate = subMilliseconds(date, getTimezoneOffsetInMilliseconds(date));
3876
2840
  var flags = {};
3877
-
3878
2841
  var _iterator2 = _createForOfIteratorHelper(uniquePrioritySetters),
3879
- _step2;
3880
-
2842
+ _step2;
3881
2843
  try {
3882
2844
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
3883
2845
  var setter = _step2.value;
3884
-
3885
2846
  if (!setter.validate(utcDate, subFnOptions)) {
3886
2847
  return new Date(NaN);
3887
2848
  }
3888
-
3889
- var result = setter.set(utcDate, flags, subFnOptions); // Result is tuple (date, flags)
3890
-
2849
+ var result = setter.set(utcDate, flags, subFnOptions);
2850
+ // Result is tuple (date, flags)
3891
2851
  if (Array.isArray(result)) {
3892
2852
  utcDate = result[0];
3893
- assign(flags, result[1]); // Result is date
2853
+ assign(flags, result[1]);
2854
+ // Result is date
3894
2855
  } else {
3895
2856
  utcDate = result;
3896
2857
  }
@@ -3900,15 +2861,13 @@ function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, options)
3900
2861
  } finally {
3901
2862
  _iterator2.f();
3902
2863
  }
3903
-
3904
2864
  return utcDate;
3905
2865
  }
3906
-
3907
2866
  function cleanEscapedString(input) {
3908
2867
  return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
3909
2868
  }
3910
2869
 
3911
- const datepickerComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.absolute{position:absolute!important}.col-start-1{grid-column-start:1!important}.col-start-2{grid-column-start:2!important}.col-start-3{grid-column-start:3!important}.col-start-4{grid-column-start:4!important}.col-start-5{grid-column-start:5!important}.col-start-6{grid-column-start:6!important}.col-start-7{grid-column-start:7!important}.ml-1{margin-left:.25rem!important}.ml-2{margin-left:.5rem!important}.flex{display:flex!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-0,.-rotate-135{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-315{--tw-rotate:-315deg!important}.-rotate-315,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-90,.rotate-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-0{--tw-rotate:0deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-270{--tw-rotate:270deg!important}.rotate-270,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-315{--tw-rotate:315deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-pointer{cursor:pointer!important}.items-end{align-items:flex-end!important}.justify-between{justify-content:space-between!important}.rounded-bl-none{border-bottom-left-radius:0!important}.rounded-br-none{border-bottom-right-radius:0!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr-none{border-top-right-radius:0!important}.border-l-0{border-left-width:0!important}.border-r-0{border-right-width:0!important}.pl-0{padding-left:0!important}.pr-0{padding-right:0!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-xxs{font-size:.6875rem!important}.text-negative{color:rgb(185 30 40/var(--tw-text-opacity))!important}.text-negative,.text-negative-light{--tw-text-opacity:1!important}.text-negative-light{color:rgb(255 204 211/var(--tw-text-opacity))!important}.blur{--tw-blur:blur(8px)!important}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column}:host input.read-only{text-overflow:ellipsis}.-rotate-0,.-rotate-135,.-rotate-180,.-rotate-225,.-rotate-25,.-rotate-270,.-rotate-315,.-rotate-45,.-rotate-90,.rotate-0,.rotate-135,.rotate-180,.rotate-225,.rotate-25,.rotate-270,.rotate-315,.rotate-45,.rotate-90,.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.hover\\:text-negative:hover{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";
2870
+ const datepickerComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.absolute{position:absolute!important}.col-start-1{grid-column-start:1!important}.col-start-2{grid-column-start:2!important}.col-start-3{grid-column-start:3!important}.col-start-4{grid-column-start:4!important}.col-start-5{grid-column-start:5!important}.col-start-6{grid-column-start:6!important}.col-start-7{grid-column-start:7!important}.ml-1{margin-left:.25rem!important}.ml-2{margin-left:.5rem!important}.flex{display:flex!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-0,.-rotate-135{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-315{--tw-rotate:-315deg!important}.-rotate-315,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-90,.rotate-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-0{--tw-rotate:0deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-270{--tw-rotate:270deg!important}.rotate-270,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-315{--tw-rotate:315deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-pointer{cursor:pointer!important}.items-end{align-items:flex-end!important}.justify-between{justify-content:space-between!important}.rounded-bl-none{border-bottom-left-radius:0!important}.rounded-br-none{border-bottom-right-radius:0!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr-none{border-top-right-radius:0!important}.border-l-0{border-left-width:0!important}.border-r-0{border-right-width:0!important}.pl-0{padding-left:0!important}.pr-0{padding-right:0!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-xxs{font-size:.6875rem!important}.text-negative{color:rgb(185 30 40/var(--tw-text-opacity))!important}.text-negative,.text-negative-light{--tw-text-opacity:1!important}.text-negative-light{color:rgb(255 204 211/var(--tw-text-opacity))!important}.blur{--tw-blur:blur(8px)!important}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column}:host input.read-only{text-overflow:ellipsis}.hover\\:text-negative:hover{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.-rotate-0,.-rotate-135,.-rotate-180,.-rotate-225,.-rotate-25,.-rotate-270,.-rotate-315,.-rotate-45,.-rotate-90,.rotate-0,.rotate-135,.rotate-180,.rotate-225,.rotate-25,.rotate-270,.rotate-315,.rotate-45,.rotate-90,.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";
3912
2871
 
3913
2872
  const Datepicker = /*@__PURE__*/ proxyCustomElement(class Datepicker extends HTMLElement {
3914
2873
  constructor() {