@baloise/ds-core 19.5.0 → 19.6.0

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 (237) hide show
  1. package/components/bal-accordion.js +1 -1
  2. package/components/bal-carousel-item.js +1 -1
  3. package/components/bal-data-value.js +4 -2
  4. package/components/bal-date-calendar2.js +1 -1
  5. package/components/bal-date.js +1 -1
  6. package/components/bal-dropdown.js +1 -1
  7. package/components/bal-field-hint.js +25 -2
  8. package/components/bal-field-message.js +7 -2
  9. package/components/bal-field.js +1 -1
  10. package/components/bal-file-upload.js +3 -3
  11. package/components/bal-form.js +1 -1
  12. package/components/bal-icon2.js +1 -1
  13. package/components/bal-modal.js +1 -1
  14. package/components/bal-nav-meta-bar2.js +1 -1
  15. package/components/bal-nav.js +2 -2
  16. package/components/bal-navbar-brand.js +1 -1
  17. package/components/bal-number-input.js +30 -13
  18. package/components/bal-option-list.js +1 -1
  19. package/components/bal-pagination.js +1 -1
  20. package/components/bal-popup2.js +8 -2
  21. package/components/bal-segment.js +2 -1
  22. package/components/bal-select2.js +1 -1
  23. package/components/bal-tabs2.js +2 -2
  24. package/components/bal-toast.controller.js +127 -0
  25. package/components/focus.decorator.js +1 -1
  26. package/components/form-input.js +1 -1
  27. package/components/helpers.js +1 -1
  28. package/components/index.js +6 -127
  29. package/components/mutation.decorator.js +1 -1
  30. package/components/tokens.esm.js +1 -1
  31. package/components/visibility.decorator.js +1 -1
  32. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  33. package/dist/baloise-design-system/index.esm.js +1 -1
  34. package/dist/baloise-design-system/{p-b3c4bb46d3.entry.js → p-0a4ac49e02.entry.js} +1 -1
  35. package/dist/baloise-design-system/p-0cf4c25729.system.entry.js +1 -0
  36. package/dist/baloise-design-system/{p-53d4b7058b.entry.js → p-0ea9ab068b.entry.js} +1 -1
  37. package/dist/baloise-design-system/p-0f6bb8caa3.system.entry.js +1 -0
  38. package/dist/baloise-design-system/{p-05171f8822.system.entry.js → p-10c062442e.system.entry.js} +1 -1
  39. package/dist/baloise-design-system/p-18454aabec.entry.js +1 -0
  40. package/dist/baloise-design-system/{p-64ef8c714d.entry.js → p-1857577c70.entry.js} +1 -1
  41. package/dist/baloise-design-system/p-1e9c5546fc.system.entry.js +1 -0
  42. package/dist/baloise-design-system/p-255dd40d49.entry.js +1 -0
  43. package/dist/baloise-design-system/{p-1e16b6160b.entry.js → p-327c84b06b.entry.js} +1 -1
  44. package/dist/baloise-design-system/{p-32f4c6a2a2.entry.js → p-3641978d62.entry.js} +1 -1
  45. package/dist/baloise-design-system/{p-3595a9493d.entry.js → p-5465e8ac55.entry.js} +1 -1
  46. package/dist/baloise-design-system/{p-b8b00da091.entry.js → p-5567a745f4.entry.js} +1 -1
  47. package/dist/baloise-design-system/{p-8b02d1f691.system.entry.js → p-59390868c1.system.entry.js} +1 -1
  48. package/dist/baloise-design-system/p-60c78f3752.entry.js +1 -0
  49. package/dist/baloise-design-system/p-6242e41d53.system.entry.js +1 -0
  50. package/dist/baloise-design-system/{p-e45196d720.system.entry.js → p-7405a37a9a.system.entry.js} +1 -1
  51. package/dist/baloise-design-system/{p-2f840ebc0e.system.entry.js → p-804bbad7f2.system.entry.js} +1 -1
  52. package/dist/baloise-design-system/p-8a0dbc8717.system.entry.js +1 -0
  53. package/dist/baloise-design-system/p-8ae0044332.entry.js +1 -0
  54. package/dist/baloise-design-system/{p-8f16b577ed.system.entry.js → p-8bc0af1a02.system.entry.js} +1 -1
  55. package/dist/baloise-design-system/p-8c9f806358.system.entry.js +1 -0
  56. package/dist/baloise-design-system/{p-063fe43bad.entry.js → p-93a741aa6b.entry.js} +1 -1
  57. package/dist/baloise-design-system/p-94610ff5fd.system.entry.js +1 -0
  58. package/dist/baloise-design-system/{p-7eebcf67e2.entry.js → p-9a16bde9ad.entry.js} +1 -1
  59. package/dist/baloise-design-system/p-9d4ddca8b1.entry.js +1 -0
  60. package/dist/baloise-design-system/{p-450ed0e3a8.system.entry.js → p-9fe93f520f.system.entry.js} +1 -1
  61. package/dist/baloise-design-system/{p-D-wn3VCz.system.js → p-B6AwgiDg.system.js} +1 -1
  62. package/dist/baloise-design-system/{p-D7joM2A_.js → p-BXW6ULlI.js} +1 -1
  63. package/dist/baloise-design-system/p-BZQXDr-g.js +1 -0
  64. package/dist/baloise-design-system/p-Bas5fYcv.system.js +1 -1
  65. package/dist/baloise-design-system/p-BtpJmRB8.js +1 -1
  66. package/dist/baloise-design-system/{p-C2O6xJy8.js → p-Bwanpq90.js} +1 -1
  67. package/dist/baloise-design-system/p-CLs4UZCO.js +1 -0
  68. package/dist/baloise-design-system/p-CMlYDQJS.system.js +1 -0
  69. package/dist/baloise-design-system/{p-nmPiAskM.js → p-CTBN6DaX.js} +1 -1
  70. package/dist/baloise-design-system/p-ChlfBLwb.system.js +1 -0
  71. package/dist/baloise-design-system/p-CpKZoBAF.js +1 -0
  72. package/dist/baloise-design-system/{p-DACM2A18.system.js → p-DGPZrO0x.system.js} +1 -1
  73. package/dist/baloise-design-system/p-DJQ7cTKs.system.js +1 -0
  74. package/dist/baloise-design-system/p-Dd2hz_QL.system.js +1 -1
  75. package/dist/baloise-design-system/{p-BQFHQM2n.system.js → p-K4LP7N6U.system.js} +1 -1
  76. package/dist/baloise-design-system/p-ZO510gkN.system.js +1 -0
  77. package/dist/baloise-design-system/p-a9b6129706.entry.js +1 -0
  78. package/dist/baloise-design-system/p-b2af8a3657.system.entry.js +1 -0
  79. package/dist/baloise-design-system/{p-11e1bb87d5.system.entry.js → p-b2cd8c8099.system.entry.js} +1 -1
  80. package/dist/baloise-design-system/p-c63fbd713d.entry.js +1 -0
  81. package/dist/baloise-design-system/{p-589719130f.system.entry.js → p-cd61656b64.system.entry.js} +1 -1
  82. package/dist/baloise-design-system/{p-fa57c17fd2.system.entry.js → p-cf2493f296.system.entry.js} +1 -1
  83. package/dist/baloise-design-system/{p-bcbfc5cf1a.entry.js → p-d1eb2cfb34.entry.js} +1 -1
  84. package/dist/baloise-design-system/{p-154031cfcd.entry.js → p-dba1172156.entry.js} +1 -1
  85. package/dist/baloise-design-system/{p-b20a5928a7.system.entry.js → p-df817b1f49.system.entry.js} +1 -1
  86. package/dist/baloise-design-system/p-e071742801.entry.js +1 -0
  87. package/dist/baloise-design-system/p-e105c174ba.entry.js +1 -0
  88. package/dist/baloise-design-system/p-e9bcbaa911.system.entry.js +1 -0
  89. package/dist/baloise-design-system/p-f0299bfaa0.system.entry.js +1 -0
  90. package/dist/cjs/bal-carousel_2.cjs.entry.js +4 -4
  91. package/dist/cjs/bal-data_4.cjs.entry.js +4 -2
  92. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +5 -4
  93. package/dist/cjs/bal-date.cjs.entry.js +3 -2
  94. package/dist/cjs/bal-date.i18n-DJlY99as.js +66 -0
  95. package/dist/cjs/bal-field_5.cjs.entry.js +28 -3
  96. package/dist/cjs/bal-file-upload.cjs.entry.js +3 -3
  97. package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
  98. package/dist/cjs/bal-icon.cjs.entry.js +1 -1
  99. package/dist/cjs/bal-list_8.cjs.entry.js +4 -4
  100. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  101. package/dist/cjs/bal-nav_8.cjs.entry.js +6 -6
  102. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  103. package/dist/cjs/bal-number-input.cjs.entry.js +28 -12
  104. package/dist/cjs/bal-pagination.cjs.entry.js +4 -4
  105. package/dist/cjs/bal-popup.cjs.entry.js +8 -2
  106. package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
  107. package/dist/cjs/bal-segment_2.cjs.entry.js +7 -6
  108. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  109. package/dist/cjs/bal-steps.cjs.entry.js +3 -3
  110. package/dist/cjs/bal-tab-item_2.cjs.entry.js +5 -5
  111. package/dist/cjs/baloise-design-system.cjs.js +1 -1
  112. package/dist/cjs/{breakpoints.decorator-BSEpzMB7.js → breakpoints.decorator-Cz7bHPb8.js} +1 -1
  113. package/dist/cjs/{breakpoints.subject-DsbiTElZ.js → breakpoints.subject-BvbPa-gl.js} +1 -1
  114. package/dist/cjs/{date-DffviXAX.js → date-z_vUhJKX.js} +0 -64
  115. package/dist/cjs/index-wO-C-tKN.js +1 -1
  116. package/dist/cjs/index.cjs.js +7 -6
  117. package/dist/cjs/loader.cjs.js +1 -1
  118. package/dist/cjs/{tokens.esm-DDxoq3-N.js → tokens.esm-G_2YKM-0.js} +1 -1
  119. package/dist/cjs/{window-resize.decorator-lVS3Mcus.js → window-resize.decorator-KhRfwqd-.js} +1 -1
  120. package/dist/cjs/{window-resize.subject-BT9wsOzd.js → window-resize.subject-avwpF9vX.js} +1 -1
  121. package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +4 -2
  122. package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +43 -1
  123. package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +26 -2
  124. package/dist/collection/components/bal-file-upload/components/file-list.js +1 -2
  125. package/dist/collection/components/bal-icon/bal-icon.js +1 -1
  126. package/dist/collection/components/bal-input/bal-input.js +1 -1
  127. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.css +1 -1
  128. package/dist/collection/components/bal-nav/bal-nav.css +1 -1
  129. package/dist/collection/components/bal-number-input/bal-number-input.js +40 -11
  130. package/dist/collection/components/bal-number-input/bal-number-input.utils.js +11 -4
  131. package/dist/collection/components/bal-pagination/bal-pagination.js +1 -1
  132. package/dist/collection/components/bal-popup/bal-popup.css +1 -1
  133. package/dist/collection/components/bal-popup/bal-popup.js +1 -1
  134. package/dist/collection/components/bal-popup/variants/fullscreen-variant.renderer.js +6 -0
  135. package/dist/collection/components/bal-segment/bal-segment.js +2 -1
  136. package/dist/collection/components/bal-tabs/bal-tabs.css +1 -1
  137. package/dist/collection/utils/constants/version.constant.js +1 -1
  138. package/dist/esm/bal-carousel_2.entry.js +4 -4
  139. package/dist/esm/bal-data_4.entry.js +4 -2
  140. package/dist/esm/bal-date-calendar_2.entry.js +2 -1
  141. package/dist/esm/bal-date.entry.js +2 -1
  142. package/dist/esm/bal-date.i18n-CLs4UZCO.js +64 -0
  143. package/dist/esm/bal-field_5.entry.js +28 -3
  144. package/dist/esm/bal-file-upload.entry.js +3 -3
  145. package/dist/esm/bal-hint_5.entry.js +3 -3
  146. package/dist/esm/bal-icon.entry.js +1 -1
  147. package/dist/esm/bal-list_8.entry.js +4 -4
  148. package/dist/esm/bal-logo.entry.js +3 -3
  149. package/dist/esm/bal-nav_8.entry.js +6 -6
  150. package/dist/esm/bal-navbar_5.entry.js +3 -3
  151. package/dist/esm/bal-number-input.entry.js +28 -12
  152. package/dist/esm/bal-pagination.entry.js +4 -4
  153. package/dist/esm/bal-popup.entry.js +8 -2
  154. package/dist/esm/bal-progress-bar.entry.js +5 -5
  155. package/dist/esm/bal-segment_2.entry.js +7 -6
  156. package/dist/esm/bal-shape.entry.js +1 -1
  157. package/dist/esm/bal-steps.entry.js +3 -3
  158. package/dist/esm/bal-tab-item_2.entry.js +5 -5
  159. package/dist/esm/baloise-design-system.js +1 -1
  160. package/dist/esm/{breakpoints.decorator-DcuiF9pJ.js → breakpoints.decorator-B5g2J7uh.js} +1 -1
  161. package/dist/esm/{breakpoints.subject-DtMFg17t.js → breakpoints.subject-BUhfnNwa.js} +1 -1
  162. package/dist/esm/{date-DPdjnaiY.js → date-B_izjCbq.js} +1 -64
  163. package/dist/esm/index-BtpJmRB8.js +1 -1
  164. package/dist/esm/index.js +6 -5
  165. package/dist/esm/loader.js +1 -1
  166. package/dist/esm/{tokens.esm-ChltR09F.js → tokens.esm-Dal-cGiQ.js} +1 -1
  167. package/dist/esm/{window-resize.decorator-WtdUPOFx.js → window-resize.decorator-DpazCyu9.js} +1 -1
  168. package/dist/esm/{window-resize.subject-B5jZTc22.js → window-resize.subject-nsxIxT5E.js} +1 -1
  169. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  170. package/dist/esm-es5/bal-data_4.entry.js +1 -1
  171. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  172. package/dist/esm-es5/bal-date.entry.js +1 -1
  173. package/dist/esm-es5/bal-date.i18n-CLs4UZCO.js +1 -0
  174. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  175. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  176. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  177. package/dist/esm-es5/bal-icon.entry.js +1 -1
  178. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  179. package/dist/esm-es5/bal-logo.entry.js +1 -1
  180. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  181. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  182. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  183. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  184. package/dist/esm-es5/bal-popup.entry.js +1 -1
  185. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  186. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  187. package/dist/esm-es5/bal-shape.entry.js +1 -1
  188. package/dist/esm-es5/bal-steps.entry.js +1 -1
  189. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  190. package/dist/esm-es5/baloise-design-system.js +1 -1
  191. package/dist/esm-es5/{breakpoints.decorator-DcuiF9pJ.js → breakpoints.decorator-B5g2J7uh.js} +1 -1
  192. package/dist/esm-es5/{breakpoints.subject-DtMFg17t.js → breakpoints.subject-BUhfnNwa.js} +1 -1
  193. package/dist/esm-es5/date-B_izjCbq.js +1 -0
  194. package/dist/esm-es5/index-BtpJmRB8.js +1 -1
  195. package/dist/esm-es5/index.js +1 -1
  196. package/dist/esm-es5/loader.js +1 -1
  197. package/dist/esm-es5/{window-resize.decorator-WtdUPOFx.js → window-resize.decorator-DpazCyu9.js} +1 -1
  198. package/dist/esm-es5/{window-resize.subject-B5jZTc22.js → window-resize.subject-nsxIxT5E.js} +1 -1
  199. package/dist/html.html-data.json +12 -9
  200. package/dist/types/components/bal-field/bal-field-hint/bal-field-hint.d.ts +7 -0
  201. package/dist/types/components/bal-field/bal-field-message/bal-field-message.d.ts +4 -0
  202. package/dist/types/components/bal-input/bal-input.interfaces.d.ts +1 -1
  203. package/dist/types/components/bal-number-input/bal-number-input.d.ts +5 -1
  204. package/dist/types/components/bal-number-input/bal-number-input.utils.d.ts +2 -1
  205. package/dist/types/components/bal-popup/bal-popup.d.ts +1 -0
  206. package/dist/types/components/bal-popup/variants/fullscreen-variant.renderer.d.ts +1 -1
  207. package/dist/types/components/bal-popup/variants/variant.interfaces.d.ts +1 -0
  208. package/dist/types/components.d.ts +30 -0
  209. package/package.json +6 -6
  210. package/dist/baloise-design-system/p-0afcf25d8f.entry.js +0 -1
  211. package/dist/baloise-design-system/p-0f612d8105.system.entry.js +0 -1
  212. package/dist/baloise-design-system/p-2f3ad8c189.entry.js +0 -1
  213. package/dist/baloise-design-system/p-4807818445.entry.js +0 -1
  214. package/dist/baloise-design-system/p-4bfdc5247d.entry.js +0 -1
  215. package/dist/baloise-design-system/p-4d426915e6.entry.js +0 -1
  216. package/dist/baloise-design-system/p-7cb62ca6a6.system.entry.js +0 -1
  217. package/dist/baloise-design-system/p-83ac26dc7f.entry.js +0 -1
  218. package/dist/baloise-design-system/p-86306babc7.system.entry.js +0 -1
  219. package/dist/baloise-design-system/p-88f0b18133.system.entry.js +0 -1
  220. package/dist/baloise-design-system/p-8f77305828.system.entry.js +0 -1
  221. package/dist/baloise-design-system/p-B7YifDeX.js +0 -1
  222. package/dist/baloise-design-system/p-BvXsXhJM.system.js +0 -1
  223. package/dist/baloise-design-system/p-Ch2Qwzxg.system.js +0 -1
  224. package/dist/baloise-design-system/p-Ds9xIIWo.js +0 -1
  225. package/dist/baloise-design-system/p-af26087fec.entry.js +0 -1
  226. package/dist/baloise-design-system/p-b2e5bd0a60.entry.js +0 -1
  227. package/dist/baloise-design-system/p-c72cb42e12.system.entry.js +0 -1
  228. package/dist/baloise-design-system/p-d4733ba7cd.system.entry.js +0 -1
  229. package/dist/baloise-design-system/p-d8462e585c.system.entry.js +0 -1
  230. package/dist/baloise-design-system/p-df3a2e3c86.entry.js +0 -1
  231. package/dist/baloise-design-system/p-dsS1PhhG.system.js +0 -1
  232. package/dist/baloise-design-system/p-e2c4571fb2.system.entry.js +0 -1
  233. package/dist/baloise-design-system/p-e6f77338c1.system.entry.js +0 -1
  234. package/dist/esm-es5/date-DPdjnaiY.js +0 -1
  235. /package/dist/baloise-design-system/{p-ChltR09F.js → p-Dal-cGiQ.js} +0 -0
  236. /package/dist/baloise-design-system/{p-CwtPviPa.system.js → p-meHsyXfE.system.js} +0 -0
  237. /package/dist/esm-es5/{tokens.esm-ChltR09F.js → tokens.esm-Dal-cGiQ.js} +0 -0
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(n,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))e[r]=n[r]};return e(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(n,r);function t(){this.constructor=n}n.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var n,r=1,t=arguments.length;r<t;r++){n=arguments[r];for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i))e[i]=n[i]}return e};return __assign.apply(this,arguments)};var __rest=this&&this.__rest||function(e,n){var r={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0)r[t]=e[t];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i<t.length;i++){if(n.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(e,t[i]))r[t[i]]=e[t[i]]}return r};var __spreadArray=this&&this.__spreadArray||function(e,n,r){if(r||arguments.length===2)for(var t=0,i=n.length,u;t<i;t++){if(u||!(t in n)){if(!u)u=Array.prototype.slice.call(n,0,t);u[t]=n[t]}}return e.concat(u||Array.prototype.slice.call(n))};System.register(["./p-Bas5fYcv.system.js"],(function(e){"use strict";var n;return{setters:[function(e){n=e.n}],execute:function(){e("d",hi);var r=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(Error);var t=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid DateTime: ".concat(n.toMessage()))||this}return n}(r);var i=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Interval: ".concat(n.toMessage()))||this}return n}(r);var u=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid Duration: ".concat(n.toMessage()))||this}return n}(r);var a=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(r);var s=function(e){__extends(n,e);function n(n){return e.call(this,"Invalid unit ".concat(n))||this}return n}(r);var o=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}return n}(r);var f=function(e){__extends(n,e);function n(){return e.call(this,"Zone is an abstract class")||this}return n}(r);var c="numeric",l="short",h="long";var v={year:c,month:c,day:c};var d={year:c,month:l,day:c};var m={year:c,month:l,day:c,weekday:l};var b={year:c,month:h,day:c};var g={year:c,month:h,day:c,weekday:h};var y={hour:c,minute:c};var w={hour:c,minute:c,second:c};var _={hour:c,minute:c,second:c,timeZoneName:l};var O={hour:c,minute:c,second:c,timeZoneName:h};var j={hour:c,minute:c,hourCycle:"h23"};var M={hour:c,minute:c,second:c,hourCycle:"h23"};var p={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:l};var N={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:h};var k={year:c,month:c,day:c,hour:c,minute:c};var T={year:c,month:c,day:c,hour:c,minute:c,second:c};var E={year:c,month:l,day:c,hour:c,minute:c};var S={year:c,month:l,day:c,hour:c,minute:c,second:c};var D={year:c,month:l,day:c,weekday:l,hour:c,minute:c};var I={year:c,month:h,day:c,hour:c,minute:c,timeZoneName:l};var x={year:c,month:h,day:c,hour:c,minute:c,second:c,timeZoneName:l};var A={year:c,month:h,day:c,weekday:h,hour:c,minute:c,timeZoneName:h};var Z={year:c,month:h,day:c,weekday:h,hour:c,minute:c,second:c,timeZoneName:h};var L=function(){function e(){}Object.defineProperty(e.prototype,"type",{get:function(){throw new f},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"name",{get:function(){throw new f},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ianaName",{get:function(){return this.name},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isUniversal",{get:function(){throw new f},enumerable:false,configurable:true});e.prototype.offsetName=function(e,n){throw new f};e.prototype.formatOffset=function(e,n){throw new f};e.prototype.offset=function(e){throw new f};e.prototype.equals=function(e){throw new f};Object.defineProperty(e.prototype,"isValid",{get:function(){throw new f},enumerable:false,configurable:true});return e}();var W=null;var C=function(e){__extends(n,e);function n(){return e!==null&&e.apply(this,arguments)||this}Object.defineProperty(n,"instance",{get:function(){if(W===null){W=new n}return W},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"type",{get:function(){return"system"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(e,n){var r=n.format,t=n.locale;return gn(e,r,t)};n.prototype.formatOffset=function(e,n){return On(this.offset(e),n)};n.prototype.offset=function(e){return-new Date(e).getTimezoneOffset()};n.prototype.equals=function(e){return e.type==="system"};Object.defineProperty(n.prototype,"isValid",{get:function(){return true},enumerable:false,configurable:true});return n}(L);var H={};function F(e){if(!H[e]){H[e]=new Intl.DateTimeFormat("en-US",{hour12:false,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})}return H[e]}var q={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function U(e,n){var r=e.format(n).replace(/\u200E/g,""),t=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),i=t[1],u=t[2],a=t[3],s=t[4],o=t[5],f=t[6],c=t[7];return[a,i,u,s,o,f,c]}function z(e,n){var r=e.formatToParts(n);var t=[];for(var i=0;i<r.length;i++){var u=r[i],a=u.type,s=u.value;var o=q[a];if(a==="era"){t[o]=s}else if(!Ge(o)){t[o]=parseInt(s,10)}}return t}var J={};var G=function(e){__extends(n,e);function n(r){var t=e.call(this)||this;t.zoneName=r;t.valid=n.isValidZone(r);return t}n.create=function(e){if(!J[e]){J[e]=new n(e)}return J[e]};n.resetCache=function(){J={};H={}};n.isValidSpecifier=function(e){return this.isValidZone(e)};n.isValidZone=function(e){if(!e){return false}try{new Intl.DateTimeFormat("en-US",{timeZone:e}).format();return true}catch(e){return false}};Object.defineProperty(n.prototype,"type",{get:function(){return"iana"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(e,n){var r=n.format,t=n.locale;return gn(e,r,t,this.name)};n.prototype.formatOffset=function(e,n){return On(this.offset(e),n)};n.prototype.offset=function(e){var n=new Date(e);if(isNaN(n))return NaN;var r=F(this.name);var t=r.formatToParts?z(r,n):U(r,n),i=t[0],u=t[1],a=t[2],s=t[3],o=t[4],f=t[5],c=t[6];if(s==="BC"){i=-Math.abs(i)+1}var l=o===24?0:o;var h=vn({year:i,month:u,day:a,hour:l,minute:f,second:c,millisecond:0});var v=+n;var d=v%1e3;v-=d>=0?d:1e3+d;return(h-v)/(60*1e3)};n.prototype.equals=function(e){return e.type==="iana"&&e.name===this.name};Object.defineProperty(n.prototype,"isValid",{get:function(){return this.valid},enumerable:false,configurable:true});return n}(L);var R={};function Y(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=R[r];if(!t){t=new Intl.ListFormat(e,n);R[r]=t}return t}var $={};function P(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=$[r];if(!t){t=new Intl.DateTimeFormat(e,n);$[r]=t}return t}var V={};function B(e,n){if(n===void 0){n={}}var r=JSON.stringify([e,n]);var t=V[r];if(!t){t=new Intl.NumberFormat(e,n);V[r]=t}return t}var K={};function Q(e,n){if(n===void 0){n={}}var r=n.base,t=__rest(n,["base"]);var i=JSON.stringify([e,t]);var u=K[i];if(!u){u=new Intl.RelativeTimeFormat(e,n);K[i]=u}return u}var X=null;function ee(){if(X){return X}else{X=(new Intl.DateTimeFormat).resolvedOptions().locale;return X}}var ne={};function re(e){var n=ne[e];if(!n){var r=new Intl.Locale(e);n="getWeekInfo"in r?r.getWeekInfo():r.weekInfo;ne[e]=n}return n}function te(e){var n=e.indexOf("-x-");if(n!==-1){e=e.substring(0,n)}var r=e.indexOf("-u-");if(r===-1){return[e]}else{var t=void 0;var i=void 0;try{t=P(e).resolvedOptions();i=e}catch(n){var u=e.substring(0,r);t=P(u).resolvedOptions();i=u}var a=t.numberingSystem,s=t.calendar;return[i,a,s]}}function ie(e,n,r){if(r||n){if(!e.includes("-u-")){e+="-u"}if(r){e+="-ca-".concat(r)}if(n){e+="-nu-".concat(n)}return e}else{return e}}function ue(e){var n=[];for(var r=1;r<=12;r++){var t=ci.utc(2009,r,1);n.push(e(t))}return n}function ae(e){var n=[];for(var r=1;r<=7;r++){var t=ci.utc(2016,11,13+r);n.push(e(t))}return n}function se(e,n,r,t){var i=e.listingMode();if(i==="error"){return null}else if(i==="en"){return r(n)}else{return t(n)}}function oe(e){if(e.numberingSystem&&e.numberingSystem!=="latn"){return false}else{return e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}}var fe=function(){function e(e,n,r){this.padTo=r.padTo||0;this.floor=r.floor||false;var t=r.padTo,i=r.floor,u=__rest(r,["padTo","floor"]);if(!n||Object.keys(u).length>0){var a=__assign({useGrouping:false},r);if(r.padTo>0)a.minimumIntegerDigits=r.padTo;this.inf=B(e,a)}}e.prototype.format=function(e){if(this.inf){var n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{var n=this.floor?Math.floor(e):fn(e,3);return un(n,this.padTo)}};return e}();var ce=function(){function e(e,n,r){this.opts=r;this.originalZone=undefined;var t=undefined;if(this.opts.timeZone){this.dt=e}else if(e.zone.type==="fixed"){var i=-1*(e.offset/60);var u=i>=0?"Etc/GMT+".concat(i):"Etc/GMT".concat(i);if(e.offset!==0&&G.create(u).valid){t=u;this.dt=e}else{t="UTC";this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}}else if(e.zone.type==="system"){this.dt=e}else if(e.zone.type==="iana"){this.dt=e;t=e.zone.name}else{t="UTC";this.dt=e.setZone("UTC").plus({minutes:e.offset});this.originalZone=e.zone}var a=__assign({},this.opts);a.timeZone=a.timeZone||t;this.dtf=P(n,a)}e.prototype.format=function(){if(this.originalZone){return this.formatToParts().map((function(e){var n=e.value;return n})).join("")}return this.dtf.format(this.dt.toJSDate())};e.prototype.formatToParts=function(){var e=this;var n=this.dtf.formatToParts(this.dt.toJSDate());if(this.originalZone){return n.map((function(n){if(n.type==="timeZoneName"){var r=e.originalZone.offsetName(e.dt.ts,{locale:e.dt.locale,format:e.opts.timeZoneName});return __assign(__assign({},n),{value:r})}else{return n}}))}return n};e.prototype.resolvedOptions=function(){return this.dtf.resolvedOptions()};return e}();var le=function(){function e(e,n,r){this.opts=__assign({style:"long"},r);if(!n&&Ve()){this.rtf=Q(e,r)}}e.prototype.format=function(e,n){if(this.rtf){return this.rtf.format(e,n)}else{return qn(n,e,this.opts.numeric,this.opts.style!=="long")}};e.prototype.formatToParts=function(e,n){if(this.rtf){return this.rtf.formatToParts(e,n)}else{return[]}};return e}();var he={firstDay:1,minimalDays:4,weekend:[6,7]};var ve=function(){function e(e,n,r,t,i){var u=te(e),a=u[0],s=u[1],o=u[2];this.locale=a;this.numberingSystem=n||s||null;this.outputCalendar=r||o||null;this.weekSettings=t;this.intl=ie(this.locale,this.numberingSystem,this.outputCalendar);this.weekdaysCache={format:{},standalone:{}};this.monthsCache={format:{},standalone:{}};this.meridiemCache=null;this.eraCache={};this.specifiedLocale=i;this.fastNumbersCached=null}e.fromOpts=function(n){return e.create(n.locale,n.numberingSystem,n.outputCalendar,n.weekSettings,n.defaultToEN)};e.create=function(n,r,t,i,u){if(u===void 0){u=false}var a=n||ke.defaultLocale;var s=a||(u?"en-US":ee());var o=r||ke.defaultNumberingSystem;var f=t||ke.defaultOutputCalendar;var c=nn(i)||ke.defaultWeekSettings;return new e(s,o,f,c,a)};e.resetCache=function(){X=null;$={};V={};K={}};e.fromObject=function(n){var r=n===void 0?{}:n,t=r.locale,i=r.numberingSystem,u=r.outputCalendar,a=r.weekSettings;return e.create(t,i,u,a)};Object.defineProperty(e.prototype,"fastNumbers",{get:function(){if(this.fastNumbersCached==null){this.fastNumbersCached=oe(this)}return this.fastNumbersCached},enumerable:false,configurable:true});e.prototype.listingMode=function(){var e=this.isEnglish();var n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"};e.prototype.clone=function(n){if(!n||Object.getOwnPropertyNames(n).length===0){return this}else{return e.create(n.locale||this.specifiedLocale,n.numberingSystem||this.numberingSystem,n.outputCalendar||this.outputCalendar,nn(n.weekSettings)||this.weekSettings,n.defaultToEN||false)}};e.prototype.redefaultToEN=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:true}))};e.prototype.redefaultToSystem=function(e){if(e===void 0){e={}}return this.clone(__assign(__assign({},e),{defaultToEN:false}))};e.prototype.months=function(e,n){var r=this;if(n===void 0){n=false}return se(this,e,kn,(function(){var t=n?{month:e,day:"numeric"}:{month:e},i=n?"format":"standalone";if(!r.monthsCache[i][e]){r.monthsCache[i][e]=ue((function(e){return r.extract(e,t,"month")}))}return r.monthsCache[i][e]}))};e.prototype.weekdays=function(e,n){var r=this;if(n===void 0){n=false}return se(this,e,Dn,(function(){var t=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=n?"format":"standalone";if(!r.weekdaysCache[i][e]){r.weekdaysCache[i][e]=ae((function(e){return r.extract(e,t,"weekday")}))}return r.weekdaysCache[i][e]}))};e.prototype.meridiems=function(){var e=this;return se(this,undefined,(function(){return In}),(function(){if(!e.meridiemCache){var n={hour:"numeric",hourCycle:"h12"};e.meridiemCache=[ci.utc(2016,11,13,9),ci.utc(2016,11,13,19)].map((function(r){return e.extract(r,n,"dayperiod")}))}return e.meridiemCache}))};e.prototype.eras=function(e){var n=this;return se(this,e,Ln,(function(){var r={era:e};if(!n.eraCache[e]){n.eraCache[e]=[ci.utc(-40,1,1),ci.utc(2017,1,1)].map((function(e){return n.extract(e,r,"era")}))}return n.eraCache[e]}))};e.prototype.extract=function(e,n,r){var t=this.dtFormatter(e,n),i=t.formatToParts(),u=i.find((function(e){return e.type.toLowerCase()===r}));return u?u.value:null};e.prototype.numberFormatter=function(e){if(e===void 0){e={}}return new fe(this.intl,e.forceSimple||this.fastNumbers,e)};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return new ce(e,this.intl,n)};e.prototype.relFormatter=function(e){if(e===void 0){e={}}return new le(this.intl,this.isEnglish(),e)};e.prototype.listFormatter=function(e){if(e===void 0){e={}}return Y(this.intl,e)};e.prototype.isEnglish=function(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")};e.prototype.getWeekSettings=function(){if(this.weekSettings){return this.weekSettings}else if(!Be()){return he}else{return re(this.locale)}};e.prototype.getStartOfWeek=function(){return this.getWeekSettings().firstDay};e.prototype.getMinDaysInFirstWeek=function(){return this.getWeekSettings().minimalDays};e.prototype.getWeekendDays=function(){return this.getWeekSettings().weekend};e.prototype.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar};return e}();var de=null;var me=function(e){__extends(n,e);function n(n){var r=e.call(this)||this;r.fixed=n;return r}Object.defineProperty(n,"utcInstance",{get:function(){if(de===null){de=new n(0)}return de},enumerable:false,configurable:true});n.instance=function(e){return e===0?n.utcInstance:new n(e)};n.parseSpecifier=function(e){if(e){var r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r){return new n(yn(r[1],r[2]))}}return null};Object.defineProperty(n.prototype,"type",{get:function(){return"fixed"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.fixed===0?"UTC":"UTC".concat(On(this.fixed,"narrow"))},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"ianaName",{get:function(){if(this.fixed===0){return"Etc/UTC"}else{return"Etc/GMT".concat(On(-this.fixed,"narrow"))}},enumerable:false,configurable:true});n.prototype.offsetName=function(){return this.name};n.prototype.formatOffset=function(e,n){return On(this.fixed,n)};Object.defineProperty(n.prototype,"isUniversal",{get:function(){return true},enumerable:false,configurable:true});n.prototype.offset=function(){return this.fixed};n.prototype.equals=function(e){return e.type==="fixed"&&e.fixed===this.fixed};Object.defineProperty(n.prototype,"isValid",{get:function(){return true},enumerable:false,configurable:true});return n}(L);var be=function(e){__extends(n,e);function n(n){var r=e.call(this)||this;r.zoneName=n;return r}Object.defineProperty(n.prototype,"type",{get:function(){return"invalid"},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"name",{get:function(){return this.zoneName},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"isUniversal",{get:function(){return false},enumerable:false,configurable:true});n.prototype.offsetName=function(){return null};n.prototype.formatOffset=function(){return""};n.prototype.offset=function(){return NaN};n.prototype.equals=function(){return false};Object.defineProperty(n.prototype,"isValid",{get:function(){return false},enumerable:false,configurable:true});return n}(L);function ge(e,n){if(Ge(e)||e===null){return n}else if(e instanceof L){return e}else if($e(e)){var r=e.toLowerCase();if(r==="default")return n;else if(r==="local"||r==="system")return C.instance;else if(r==="utc"||r==="gmt")return me.utcInstance;else return me.parseSpecifier(r)||G.create(e)}else if(Re(e)){return me.instance(e)}else if(typeof e==="object"&&"offset"in e&&typeof e.offset==="function"){return e}else{return new be(e)}}var ye=function(){return Date.now()},we="system",_e=null,Oe=null,je=null,Me=60,pe,Ne=null;var ke=function(){function e(){}Object.defineProperty(e,"now",{get:function(){return ye},set:function(e){ye=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultZone",{get:function(){return ge(we,C.instance)},set:function(e){we=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultLocale",{get:function(){return _e},set:function(e){_e=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultNumberingSystem",{get:function(){return Oe},set:function(e){Oe=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultOutputCalendar",{get:function(){return je},set:function(e){je=e},enumerable:false,configurable:true});Object.defineProperty(e,"defaultWeekSettings",{get:function(){return Ne},set:function(e){Ne=nn(e)},enumerable:false,configurable:true});Object.defineProperty(e,"twoDigitCutoffYear",{get:function(){return Me},set:function(e){Me=e%100},enumerable:false,configurable:true});Object.defineProperty(e,"throwOnInvalid",{get:function(){return pe},set:function(e){pe=e},enumerable:false,configurable:true});e.resetCaches=function(){ve.resetCache();G.resetCache()};return e}();var Te=function(){function e(e,n){this.reason=e;this.explanation=n}e.prototype.toMessage=function(){if(this.explanation){return"".concat(this.reason,": ").concat(this.explanation)}else{return this.reason}};return e}();var Ee=[0,31,59,90,120,151,181,212,243,273,304,334],Se=[0,31,60,91,121,152,182,213,244,274,305,335];function De(e,n){return new Te("unit out of range","you specified ".concat(n," (of type ").concat(typeof n,") as a ").concat(e,", which is invalid"))}function Ie(e,n,r){var t=new Date(Date.UTC(e,n-1,r));if(e<100&&e>=0){t.setUTCFullYear(t.getUTCFullYear()-1900)}var i=t.getUTCDay();return i===0?7:i}function xe(e,n,r){return r+(cn(e)?Se:Ee)[n-1]}function Ae(e,n){var r=cn(e)?Se:Ee,t=r.findIndex((function(e){return e<n})),i=n-r[t];return{month:t+1,day:i}}function Ze(e,n){return(e-n+7)%7+1}function Le(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=e.year,i=e.month,u=e.day,a=xe(t,i,u),s=Ze(Ie(t,i,u),r);var o=Math.floor((a-s+14-n)/7),f;if(o<1){f=t-1;o=mn(f,n,r)}else if(o>mn(t,n,r)){f=t+1;o=1}else{f=t}return __assign({weekYear:f,weekNumber:o,weekday:s},jn(e))}function We(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=e.weekYear,i=e.weekNumber,u=e.weekday,a=Ze(Ie(t,1,n),r),s=ln(t);var o=i*7+u-a-7+n,f;if(o<1){f=t-1;o+=ln(f)}else if(o>s){f=t+1;o-=ln(t)}else{f=t}var c=Ae(f,o),l=c.month,h=c.day;return __assign({year:f,month:l,day:h},jn(e))}function Ce(e){var n=e.year,r=e.month,t=e.day;var i=xe(n,r,t);return __assign({year:n,ordinal:i},jn(e))}function He(e){var n=e.year,r=e.ordinal;var t=Ae(n,r),i=t.month,u=t.day;return __assign({year:n,month:i,day:u},jn(e))}function Fe(e,n){var r=!Ge(e.localWeekday)||!Ge(e.localWeekNumber)||!Ge(e.localWeekYear);if(r){var t=!Ge(e.weekday)||!Ge(e.weekNumber)||!Ge(e.weekYear);if(t){throw new a("Cannot mix locale-based week fields with ISO-based week fields")}if(!Ge(e.localWeekday))e.weekday=e.localWeekday;if(!Ge(e.localWeekNumber))e.weekNumber=e.localWeekNumber;if(!Ge(e.localWeekYear))e.weekYear=e.localWeekYear;delete e.localWeekday;delete e.localWeekNumber;delete e.localWeekYear;return{minDaysInFirstWeek:n.getMinDaysInFirstWeek(),startOfWeek:n.getStartOfWeek()}}else{return{minDaysInFirstWeek:4,startOfWeek:1}}}function qe(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=Ye(e.weekYear),i=rn(e.weekNumber,1,mn(e.weekYear,n,r)),u=rn(e.weekday,1,7);if(!t){return De("weekYear",e.weekYear)}else if(!i){return De("week",e.weekNumber)}else if(!u){return De("weekday",e.weekday)}else return false}function Ue(e){var n=Ye(e.year),r=rn(e.ordinal,1,ln(e.year));if(!n){return De("year",e.year)}else if(!r){return De("ordinal",e.ordinal)}else return false}function ze(e){var n=Ye(e.year),r=rn(e.month,1,12),t=rn(e.day,1,hn(e.year,e.month));if(!n){return De("year",e.year)}else if(!r){return De("month",e.month)}else if(!t){return De("day",e.day)}else return false}function Je(e){var n=e.hour,r=e.minute,t=e.second,i=e.millisecond;var u=rn(n,0,23)||n===24&&r===0&&t===0&&i===0,a=rn(r,0,59),s=rn(t,0,59),o=rn(i,0,999);if(!u){return De("hour",n)}else if(!a){return De("minute",r)}else if(!s){return De("second",t)}else if(!o){return De("millisecond",i)}else return false}function Ge(e){return typeof e==="undefined"}function Re(e){return typeof e==="number"}function Ye(e){return typeof e==="number"&&e%1===0}function $e(e){return typeof e==="string"}function Pe(e){return Object.prototype.toString.call(e)==="[object Date]"}function Ve(){try{return typeof Intl!=="undefined"&&!!Intl.RelativeTimeFormat}catch(e){return false}}function Be(){try{return typeof Intl!=="undefined"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return false}}function Ke(e){return Array.isArray(e)?e:[e]}function Qe(e,n,r){if(e.length===0){return undefined}return e.reduce((function(e,t){var i=[n(t),t];if(!e){return i}else if(r(e[0],i[0])===e[0]){return e}else{return i}}),null)[1]}function Xe(e,n){return n.reduce((function(n,r){n[r]=e[r];return n}),{})}function en(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function nn(e){if(e==null){return null}else if(typeof e!=="object"){throw new o("Week settings must be an object")}else{if(!rn(e.firstDay,1,7)||!rn(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some((function(e){return!rn(e,1,7)}))){throw new o("Invalid week settings")}return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}}function rn(e,n,r){return Ye(e)&&e>=n&&e<=r}function tn(e,n){return e-n*Math.floor(e/n)}function un(e,n){if(n===void 0){n=2}var r=e<0;var t;if(r){t="-"+(""+-e).padStart(n,"0")}else{t=(""+e).padStart(n,"0")}return t}function an(e){if(Ge(e)||e===null||e===""){return undefined}else{return parseInt(e,10)}}function sn(e){if(Ge(e)||e===null||e===""){return undefined}else{return parseFloat(e)}}function on(e){if(Ge(e)||e===null||e===""){return undefined}else{var n=parseFloat("0."+e)*1e3;return Math.floor(n)}}function fn(e,n,r){if(r===void 0){r=false}var t=Math.pow(10,n),i=r?Math.trunc:Math.round;return i(e*t)/t}function cn(e){return e%4===0&&(e%100!==0||e%400===0)}function ln(e){return cn(e)?366:365}function hn(e,n){var r=tn(n-1,12)+1,t=e+(n-r)/12;if(r===2){return cn(t)?29:28}else{return[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}}function vn(e){var n=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);if(e.year<100&&e.year>=0){n=new Date(n);n.setUTCFullYear(e.year,e.month-1,e.day)}return+n}function dn(e,n,r){var t=Ze(Ie(e,1,n),r);return-t+n-1}function mn(e,n,r){if(n===void 0){n=4}if(r===void 0){r=1}var t=dn(e,n,r);var i=dn(e+1,n,r);return(ln(e)-t+i)/7}function bn(e){if(e>99){return e}else return e>ke.twoDigitCutoffYear?1900+e:2e3+e}function gn(e,n,r,t){if(t===void 0){t=null}var i=new Date(e),u={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};if(t){u.timeZone=t}var a=__assign({timeZoneName:n},u);var s=new Intl.DateTimeFormat(r,a).formatToParts(i).find((function(e){return e.type.toLowerCase()==="timezonename"}));return s?s.value:null}function yn(e,n){var r=parseInt(e,10);if(Number.isNaN(r)){r=0}var t=parseInt(n,10)||0,i=r<0||Object.is(r,-0)?-t:t;return r*60+i}function wn(e){var n=Number(e);if(typeof e==="boolean"||e===""||Number.isNaN(n))throw new o("Invalid unit value ".concat(e));return n}function _n(e,n){var r={};for(var t in e){if(en(e,t)){var i=e[t];if(i===undefined||i===null)continue;r[n(t)]=wn(i)}}return r}function On(e,n){var r=Math.trunc(Math.abs(e/60)),t=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(n){case"short":return"".concat(i).concat(un(r,2),":").concat(un(t,2));case"narrow":return"".concat(i).concat(r).concat(t>0?":".concat(t):"");case"techie":return"".concat(i).concat(un(r,2)).concat(un(t,2));default:throw new RangeError("Value format ".concat(n," is out of range for property format"))}}function jn(e){return Xe(e,["hour","minute","second","millisecond"])}var Mn=["January","February","March","April","May","June","July","August","September","October","November","December"];var pn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var Nn=["J","F","M","A","M","J","J","A","S","O","N","D"];function kn(e){switch(e){case"narrow":return __spreadArray([],Nn,true);case"short":return __spreadArray([],pn,true);case"long":return __spreadArray([],Mn,true);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Tn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"];var En=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];var Sn=["M","T","W","T","F","S","S"];function Dn(e){switch(e){case"narrow":return __spreadArray([],Sn,true);case"short":return __spreadArray([],En,true);case"long":return __spreadArray([],Tn,true);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var In=["AM","PM"];var xn=["Before Christ","Anno Domini"];var An=["BC","AD"];var Zn=["B","A"];function Ln(e){switch(e){case"narrow":return __spreadArray([],Zn,true);case"short":return __spreadArray([],An,true);case"long":return __spreadArray([],xn,true);default:return null}}function Wn(e){return In[e.hour<12?0:1]}function Cn(e,n){return Dn(n)[e.weekday-1]}function Hn(e,n){return kn(n)[e.month-1]}function Fn(e,n){return Ln(n)[e.year<0?0:1]}function qn(e,n,r,t){if(r===void 0){r="always"}if(t===void 0){t=false}var i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]};var u=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&u){var a=e==="days";switch(n){case 1:return a?"tomorrow":"next ".concat(i[e][0]);case-1:return a?"yesterday":"last ".concat(i[e][0]);case 0:return a?"today":"this ".concat(i[e][0])}}var s=Object.is(n,-0)||n<0,o=Math.abs(n),f=o===1,c=i[e],l=t?f?c[1]:c[2]||c[1]:f?i[e][0]:e;return s?"".concat(o," ").concat(l," ago"):"in ".concat(o," ").concat(l)}function Un(e,n){var r="";for(var t=0,i=e;t<i.length;t++){var u=i[t];if(u.literal){r+=u.val}else{r+=n(u.val)}}return r}var zn={D:v,DD:d,DDD:b,DDDD:g,t:y,tt:w,ttt:_,tttt:O,T:j,TT:M,TTT:p,TTTT:N,f:k,ff:E,fff:I,ffff:A,F:T,FF:S,FFF:x,FFFF:Z};var Jn=function(){function e(e,n){this.opts=n;this.loc=e;this.systemLoc=null}e.create=function(n,r){if(r===void 0){r={}}return new e(n,r)};e.parseFormat=function(e){var n=null,r="",t=false;var i=[];for(var u=0;u<e.length;u++){var a=e.charAt(u);if(a==="'"){if(r.length>0){i.push({literal:t||/^\s+$/.test(r),val:r})}n=null;r="";t=!t}else if(t){r+=a}else if(a===n){r+=a}else{if(r.length>0){i.push({literal:/^\s+$/.test(r),val:r})}r=a;n=a}}if(r.length>0){i.push({literal:t||/^\s+$/.test(r),val:r})}return i};e.macroTokenToFormatOpts=function(e){return zn[e]};e.prototype.formatWithSystemDefault=function(e,n){if(this.systemLoc===null){this.systemLoc=this.loc.redefaultToSystem()}var r=this.systemLoc.dtFormatter(e,__assign(__assign({},this.opts),n));return r.format()};e.prototype.dtFormatter=function(e,n){if(n===void 0){n={}}return this.loc.dtFormatter(e,__assign(__assign({},this.opts),n))};e.prototype.formatDateTime=function(e,n){return this.dtFormatter(e,n).format()};e.prototype.formatDateTimeParts=function(e,n){return this.dtFormatter(e,n).formatToParts()};e.prototype.formatInterval=function(e,n){var r=this.dtFormatter(e.start,n);return r.dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())};e.prototype.resolvedOptions=function(e,n){return this.dtFormatter(e,n).resolvedOptions()};e.prototype.num=function(e,n){if(n===void 0){n=0}if(this.opts.forceSimple){return un(e,n)}var r=__assign({},this.opts);if(n>0){r.padTo=n}return this.loc.numberFormatter(r).format(e)};e.prototype.formatDateTimeFromString=function(n,r){var t=this;var i=this.loc.listingMode()==="en",u=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=function(e,r){return t.loc.extract(n,e,r)},s=function(e){if(n.isOffsetFixed&&n.offset===0&&e.allowZ){return"Z"}return n.isValid?n.zone.formatOffset(n.ts,e.format):""},o=function(){return i?Wn(n):a({hour:"numeric",hourCycle:"h12"},"dayperiod")},f=function(e,r){return i?Hn(n,e):a(r?{month:e}:{month:e,day:"numeric"},"month")},c=function(e,r){return i?Cn(n,e):a(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},l=function(r){var i=e.macroTokenToFormatOpts(r);if(i){return t.formatWithSystemDefault(n,i)}else{return r}},h=function(e){return i?Fn(n,e):a({era:e},"era")},v=function(e){switch(e){case"S":return t.num(n.millisecond);case"u":case"SSS":return t.num(n.millisecond,3);case"s":return t.num(n.second);case"ss":return t.num(n.second,2);case"uu":return t.num(Math.floor(n.millisecond/10),2);case"uuu":return t.num(Math.floor(n.millisecond/100));case"m":return t.num(n.minute);case"mm":return t.num(n.minute,2);case"h":return t.num(n.hour%12===0?12:n.hour%12);case"hh":return t.num(n.hour%12===0?12:n.hour%12,2);case"H":return t.num(n.hour);case"HH":return t.num(n.hour,2);case"Z":return s({format:"narrow",allowZ:t.opts.allowZ});case"ZZ":return s({format:"short",allowZ:t.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:t.opts.allowZ});case"ZZZZ":return n.zone.offsetName(n.ts,{format:"short",locale:t.loc.locale});case"ZZZZZ":return n.zone.offsetName(n.ts,{format:"long",locale:t.loc.locale});case"z":return n.zoneName;case"a":return o();case"d":return u?a({day:"numeric"},"day"):t.num(n.day);case"dd":return u?a({day:"2-digit"},"day"):t.num(n.day,2);case"c":return t.num(n.weekday);case"ccc":return c("short",true);case"cccc":return c("long",true);case"ccccc":return c("narrow",true);case"E":return t.num(n.weekday);case"EEE":return c("short",false);case"EEEE":return c("long",false);case"EEEEE":return c("narrow",false);case"L":return u?a({month:"numeric",day:"numeric"},"month"):t.num(n.month);case"LL":return u?a({month:"2-digit",day:"numeric"},"month"):t.num(n.month,2);case"LLL":return f("short",true);case"LLLL":return f("long",true);case"LLLLL":return f("narrow",true);case"M":return u?a({month:"numeric"},"month"):t.num(n.month);case"MM":return u?a({month:"2-digit"},"month"):t.num(n.month,2);case"MMM":return f("short",false);case"MMMM":return f("long",false);case"MMMMM":return f("narrow",false);case"y":return u?a({year:"numeric"},"year"):t.num(n.year);case"yy":return u?a({year:"2-digit"},"year"):t.num(n.year.toString().slice(-2),2);case"yyyy":return u?a({year:"numeric"},"year"):t.num(n.year,4);case"yyyyyy":return u?a({year:"numeric"},"year"):t.num(n.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return t.num(n.weekYear.toString().slice(-2),2);case"kkkk":return t.num(n.weekYear,4);case"W":return t.num(n.weekNumber);case"WW":return t.num(n.weekNumber,2);case"n":return t.num(n.localWeekNumber);case"nn":return t.num(n.localWeekNumber,2);case"ii":return t.num(n.localWeekYear.toString().slice(-2),2);case"iiii":return t.num(n.localWeekYear,4);case"o":return t.num(n.ordinal);case"ooo":return t.num(n.ordinal,3);case"q":return t.num(n.quarter);case"qq":return t.num(n.quarter,2);case"X":return t.num(Math.floor(n.ts/1e3));case"x":return t.num(n.ts);default:return l(e)}};return Un(e.parseFormat(r),v)};e.prototype.formatDurationFromString=function(n,r){var t=this;var i=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},u=function(e){return function(n){var r=i(n);if(r){return t.num(e.get(r),n.length)}else{return n}}},a=e.parseFormat(r),s=a.reduce((function(e,n){var r=n.literal,t=n.val;return r?e:e.concat(t)}),[]),o=n.shiftTo.apply(n,s.map(i).filter((function(e){return e})));return Un(a,u(o))};return e}();var Gn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Rn(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}var r=e.reduce((function(e,n){return e+n.source}),"");return RegExp("^".concat(r,"$"))}function Yn(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n){return e.reduce((function(e,r){var t=e[0],i=e[1],u=e[2];var a=r(n,u),s=a[0],o=a[1],f=a[2];return[__assign(__assign({},t),s),o||i,f]}),[{},null,1]).slice(0,2)}}function $n(e){var n=[];for(var r=1;r<arguments.length;r++){n[r-1]=arguments[r]}if(e==null){return[null,null]}for(var t=0,i=n;t<i.length;t++){var u=i[t],a=u[0],s=u[1];var o=a.exec(e);if(o){return s(o)}}return[null,null]}function Pn(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}return function(n,r){var t={};var i;for(i=0;i<e.length;i++){t[e[i]]=an(n[r+i])}return[t,null,r+i]}}var Vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/;var Bn="(?:".concat(Vn.source,"?(?:\\[(").concat(Gn.source,")\\])?)?");var Kn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/;var Qn=RegExp("".concat(Kn.source).concat(Bn));var Xn=RegExp("(?:T".concat(Qn.source,")?"));var er=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/;var nr=/(\d{4})-?W(\d\d)(?:-?(\d))?/;var rr=/(\d{4})-?(\d{3})/;var tr=Pn("weekYear","weekNumber","weekDay");var ir=Pn("year","ordinal");var ur=/(\d{4})-(\d\d)-(\d\d)/;var ar=RegExp("".concat(Kn.source," ?(?:").concat(Vn.source,"|(").concat(Gn.source,"))?"));var sr=RegExp("(?: ".concat(ar.source,")?"));function or(e,n,r){var t=e[n];return Ge(t)?r:an(t)}function fr(e,n){var r={year:or(e,n),month:or(e,n+1,1),day:or(e,n+2,1)};return[r,null,n+3]}function cr(e,n){var r={hours:or(e,n,0),minutes:or(e,n+1,0),seconds:or(e,n+2,0),milliseconds:on(e[n+3])};return[r,null,n+4]}function lr(e,n){var r=!e[n]&&!e[n+1],t=yn(e[n+1],e[n+2]),i=r?null:me.instance(t);return[{},i,n+3]}function hr(e,n){var r=e[n]?G.create(e[n]):null;return[{},r,n+1]}var vr=RegExp("^T?".concat(Kn.source,"$"));var dr=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function mr(e){var n=e[0],r=e[1],t=e[2],i=e[3],u=e[4],a=e[5],s=e[6],o=e[7],f=e[8];var c=n[0]==="-";var l=o&&o[0]==="-";var h=function(e,n){if(n===void 0){n=false}return e!==undefined&&(n||e&&c)?-e:e};return[{years:h(sn(r)),months:h(sn(t)),weeks:h(sn(i)),days:h(sn(u)),hours:h(sn(a)),minutes:h(sn(s)),seconds:h(sn(o),o==="-0"),milliseconds:h(on(f),l)}]}var br={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function gr(e,n,r,t,i,u,a){var s={year:n.length===2?bn(an(n)):an(n),month:pn.indexOf(r)+1,day:an(t),hour:an(i),minute:an(u)};if(a)s.second=an(a);if(e){s.weekday=e.length>3?Tn.indexOf(e)+1:En.indexOf(e)+1}return s}var yr=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function wr(e){var n=e[1],r=e[2],t=e[3],i=e[4],u=e[5],a=e[6],s=e[7],o=e[8],f=e[9],c=e[10],l=e[11],h=gr(n,i,t,r,u,a,s);var v;if(o){v=br[o]}else if(f){v=0}else{v=yn(c,l)}return[h,new me(v)]}function _r(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var Or=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,jr=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Mr=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function pr(e){var n=e[1],r=e[2],t=e[3],i=e[4],u=e[5],a=e[6],s=e[7],o=gr(n,i,t,r,u,a,s);return[o,me.utcInstance]}function Nr(e){var n=e[1],r=e[2],t=e[3],i=e[4],u=e[5],a=e[6],s=e[7],o=gr(n,s,r,t,i,u,a);return[o,me.utcInstance]}var kr=Rn(er,Xn);var Tr=Rn(nr,Xn);var Er=Rn(rr,Xn);var Sr=Rn(Qn);var Dr=Yn(fr,cr,lr,hr);var Ir=Yn(tr,cr,lr,hr);var xr=Yn(ir,cr,lr,hr);var Ar=Yn(cr,lr,hr);function Zr(e){return $n(e,[kr,Dr],[Tr,Ir],[Er,xr],[Sr,Ar])}function Lr(e){return $n(_r(e),[yr,wr])}function Wr(e){return $n(e,[Or,pr],[jr,pr],[Mr,Nr])}function Cr(e){return $n(e,[dr,mr])}var Hr=Yn(cr);function Fr(e){return $n(e,[vr,Hr])}var qr=Rn(ur,sr);var Ur=Rn(ar);var zr=Yn(cr,lr,hr);function Jr(e){return $n(e,[qr,Dr],[Ur,zr])}var Gr="Invalid Duration";var Rr={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Yr=__assign({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},Rr),$r=146097/400,Pr=146097/4800,Vr=__assign({years:{quarters:4,months:12,weeks:$r/7,days:$r,hours:$r*24,minutes:$r*24*60,seconds:$r*24*60*60,milliseconds:$r*24*60*60*1e3},quarters:{months:3,weeks:$r/28,days:$r/4,hours:$r*24/4,minutes:$r*24*60/4,seconds:$r*24*60*60/4,milliseconds:$r*24*60*60*1e3/4},months:{weeks:Pr/7,days:Pr,hours:Pr*24,minutes:Pr*24*60,seconds:Pr*24*60*60,milliseconds:Pr*24*60*60*1e3}},Rr);var Br=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"];var Kr=Br.slice(0).reverse();function Qr(e,n,r){if(r===void 0){r=false}var t={values:r?n.values:__assign(__assign({},e.values),n.values||{}),loc:e.loc.clone(n.loc),conversionAccuracy:n.conversionAccuracy||e.conversionAccuracy,matrix:n.matrix||e.matrix};return new rt(t)}function Xr(e,n){var r;var t=(r=n.milliseconds)!==null&&r!==void 0?r:0;for(var i=0,u=Kr.slice(1);i<u.length;i++){var a=u[i];if(n[a]){t+=n[a]*e[a]["milliseconds"]}}return t}function et(e,n){var r=Xr(e,n)<0?-1:1;Br.reduceRight((function(t,i){if(!Ge(n[i])){if(t){var u=n[t]*r;var a=e[i][t];var s=Math.floor(u/a);n[i]+=s*r;n[t]-=s*a*r}return i}else{return t}}),null);Br.reduce((function(r,t){if(!Ge(n[t])){if(r){var i=n[r]%1;n[r]-=i;n[t]+=i*e[r][t]}return t}else{return r}}),null)}function nt(e){var n={};for(var r=0,t=Object.entries(e);r<t.length;r++){var i=t[r],u=i[0],a=i[1];if(a!==0){n[u]=a}}return n}var rt=function(){function e(e){var n=e.conversionAccuracy==="longterm"||false;var r=n?Vr:Yr;if(e.matrix){r=e.matrix}this.values=e.values;this.loc=e.loc||ve.create();this.conversionAccuracy=n?"longterm":"casual";this.invalid=e.invalid||null;this.matrix=r;this.isLuxonDuration=true}e.fromMillis=function(n,r){return e.fromObject({milliseconds:n},r)};e.fromObject=function(n,r){if(r===void 0){r={}}if(n==null||typeof n!=="object"){throw new o("Duration.fromObject: argument expected to be an object, got ".concat(n===null?"null":typeof n))}return new e({values:_n(n,e.normalizeUnit),loc:ve.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})};e.fromDurationLike=function(n){if(Re(n)){return e.fromMillis(n)}else if(e.isDuration(n)){return n}else if(typeof n==="object"){return e.fromObject(n)}else{throw new o("Unknown duration argument ".concat(n," of type ").concat(typeof n))}};e.fromISO=function(n,r){var t=Cr(n)[0];if(t){return e.fromObject(t,r)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};e.fromISOTime=function(n,r){var t=Fr(n)[0];if(t){return e.fromObject(t,r)}else{return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))}};e.invalid=function(n,r){if(r===void 0){r=null}if(!n){throw new o("need to specify a reason the Duration is invalid")}var t=n instanceof Te?n:new Te(n,r);if(ke.throwOnInvalid){throw new u(t)}else{return new e({invalid:t})}};e.normalizeUnit=function(e){var n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!n)throw new s(e);return n};e.isDuration=function(e){return e&&e.isLuxonDuration||false};Object.defineProperty(e.prototype,"locale",{get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});e.prototype.toFormat=function(e,n){if(n===void 0){n={}}var r=__assign(__assign({},n),{floor:n.round!==false&&n.floor!==false});return this.isValid?Jn.create(this.loc,r).formatDurationFromString(this,e):Gr};e.prototype.toHuman=function(e){var n=this;if(e===void 0){e={}}if(!this.isValid)return Gr;var r=Br.map((function(r){var t=n.values[r];if(Ge(t)){return null}return n.loc.numberFormatter(__assign(__assign({style:"unit",unitDisplay:"long"},e),{unit:r.slice(0,-1)})).format(t)})).filter((function(e){return e}));return this.loc.listFormatter(__assign({type:"conjunction",style:e.listStyle||"narrow"},e)).format(r)};e.prototype.toObject=function(){if(!this.isValid)return{};return __assign({},this.values)};e.prototype.toISO=function(){if(!this.isValid)return null;var e="P";if(this.years!==0)e+=this.years+"Y";if(this.months!==0||this.quarters!==0)e+=this.months+this.quarters*3+"M";if(this.weeks!==0)e+=this.weeks+"W";if(this.days!==0)e+=this.days+"D";if(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)e+="T";if(this.hours!==0)e+=this.hours+"H";if(this.minutes!==0)e+=this.minutes+"M";if(this.seconds!==0||this.milliseconds!==0)e+=fn(this.seconds+this.milliseconds/1e3,3)+"S";if(e==="P")e+="T0S";return e};e.prototype.toISOTime=function(e){if(e===void 0){e={}}if(!this.isValid)return null;var n=this.toMillis();if(n<0||n>=864e5)return null;e=__assign(__assign({suppressMilliseconds:false,suppressSeconds:false,includePrefix:false,format:"extended"},e),{includeOffset:false});var r=ci.fromMillis(n,{zone:"UTC"});return r.toISOTime(e)};e.prototype.toJSON=function(){return this.toISO()};e.prototype.toString=function(){return this.toISO()};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Duration { values: ".concat(JSON.stringify(this.values)," }")}else{return"Duration { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.toMillis=function(){if(!this.isValid)return NaN;return Xr(this.matrix,this.values)};e.prototype.valueOf=function(){return this.toMillis()};e.prototype.plus=function(n){if(!this.isValid)return this;var r=e.fromDurationLike(n),t={};for(var i=0,u=Br;i<u.length;i++){var a=u[i];if(en(r.values,a)||en(this.values,a)){t[a]=r.get(a)+this.get(a)}}return Qr(this,{values:t},true)};e.prototype.minus=function(n){if(!this.isValid)return this;var r=e.fromDurationLike(n);return this.plus(r.negate())};e.prototype.mapUnits=function(e){if(!this.isValid)return this;var n={};for(var r=0,t=Object.keys(this.values);r<t.length;r++){var i=t[r];n[i]=wn(e(this.values[i],i))}return Qr(this,{values:n},true)};e.prototype.get=function(n){return this[e.normalizeUnit(n)]};e.prototype.set=function(n){if(!this.isValid)return this;var r=__assign(__assign({},this.values),_n(n,e.normalizeUnit));return Qr(this,{values:r})};e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,r=n.locale,t=n.numberingSystem,i=n.conversionAccuracy,u=n.matrix;var a=this.loc.clone({locale:r,numberingSystem:t});var s={loc:a,matrix:u,conversionAccuracy:i};return Qr(this,s)};e.prototype.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN};e.prototype.normalize=function(){if(!this.isValid)return this;var e=this.toObject();et(this.matrix,e);return Qr(this,{values:e},true)};e.prototype.rescale=function(){if(!this.isValid)return this;var e=nt(this.normalize().shiftToAll().toObject());return Qr(this,{values:e},true)};e.prototype.shiftTo=function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}if(!this.isValid)return this;if(n.length===0){return this}n=n.map((function(n){return e.normalizeUnit(n)}));var t={},i={},u=this.toObject();var a;for(var s=0,o=Br;s<o.length;s++){var f=o[s];if(n.indexOf(f)>=0){a=f;var c=0;for(var l in i){c+=this.matrix[l][f]*i[l];i[l]=0}if(Re(u[f])){c+=u[f]}var h=Math.trunc(c);t[f]=h;i[f]=(c*1e3-h*1e3)/1e3}else if(Re(u[f])){i[f]=u[f]}}for(var v in i){if(i[v]!==0){t[a]+=v===a?i[v]:i[v]/this.matrix[a][v]}}et(this.matrix,t);return Qr(this,{values:t},true)};e.prototype.shiftToAll=function(){if(!this.isValid)return this;return this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds")};e.prototype.negate=function(){if(!this.isValid)return this;var e={};for(var n=0,r=Object.keys(this.values);n<r.length;n++){var t=r[n];e[t]=this.values[t]===0?0:-this.values[t]}return Qr(this,{values:e},true)};Object.defineProperty(e.prototype,"years",{get:function(){return this.isValid?this.values.years||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarters",{get:function(){return this.isValid?this.values.quarters||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"months",{get:function(){return this.isValid?this.values.months||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeks",{get:function(){return this.isValid?this.values.weeks||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"days",{get:function(){return this.isValid?this.values.days||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hours",{get:function(){return this.isValid?this.values.hours||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minutes",{get:function(){return this.isValid?this.values.minutes||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"seconds",{get:function(){return this.isValid?this.values.seconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"milliseconds",{get:function(){return this.isValid?this.values.milliseconds||0:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}if(!this.loc.equals(e.loc)){return false}function n(e,n){if(e===undefined||e===0)return n===undefined||n===0;return e===n}for(var r=0,t=Br;r<t.length;r++){var i=t[r];if(!n(this.values[i],e.values[i])){return false}}return true};return e}();var tt="Invalid Interval";function it(e,n){if(!e||!e.isValid){return ut.invalid("missing or invalid start")}else if(!n||!n.isValid){return ut.invalid("missing or invalid end")}else if(n<e){return ut.invalid("end before start","The end of an interval must be after its start, but you had start=".concat(e.toISO()," and end=").concat(n.toISO()))}else{return null}}var ut=function(){function e(e){this.s=e.start;this.e=e.end;this.invalid=e.invalid||null;this.isLuxonInterval=true}e.invalid=function(n,r){if(r===void 0){r=null}if(!n){throw new o("need to specify a reason the Interval is invalid")}var t=n instanceof Te?n:new Te(n,r);if(ke.throwOnInvalid){throw new i(t)}else{return new e({invalid:t})}};e.fromDateTimes=function(n,r){var t=li(n),i=li(r);var u=it(t,i);if(u==null){return new e({start:t,end:i})}else{return u}};e.after=function(n,r){var t=rt.fromDurationLike(r),i=li(n);return e.fromDateTimes(i,i.plus(t))};e.before=function(n,r){var t=rt.fromDurationLike(r),i=li(n);return e.fromDateTimes(i.minus(t),i)};e.fromISO=function(n,r){var t=(n||"").split("/",2),i=t[0],u=t[1];if(i&&u){var a=void 0,s=void 0;try{a=ci.fromISO(i,r);s=a.isValid}catch(u){s=false}var o=void 0,f=void 0;try{o=ci.fromISO(u,r);f=o.isValid}catch(u){f=false}if(s&&f){return e.fromDateTimes(a,o)}if(s){var c=rt.fromISO(u,r);if(c.isValid){return e.after(a,c)}}else if(f){var c=rt.fromISO(i,r);if(c.isValid){return e.before(o,c)}}}return e.invalid("unparsable",'the input "'.concat(n,"\" can't be parsed as ISO 8601"))};e.isInterval=function(e){return e&&e.isLuxonInterval||false};Object.defineProperty(e.prototype,"start",{get:function(){return this.isValid?this.s:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"end",{get:function(){return this.isValid?this.e:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalidReason===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});e.prototype.length=function(e){if(e===void 0){e="milliseconds"}return this.isValid?this.toDuration.apply(this,[e]).get(e):NaN};e.prototype.count=function(e,n){if(e===void 0){e="milliseconds"}if(!this.isValid)return NaN;var r=this.start.startOf(e,n);var t;if(n===null||n===void 0?void 0:n.useLocaleWeeks){t=this.end.reconfigure({locale:r.locale})}else{t=this.end}t=t.startOf(e,n);return Math.floor(t.diff(r,e).get(e))+(t.valueOf()!==this.end.valueOf())};e.prototype.hasSame=function(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):false};e.prototype.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()};e.prototype.isAfter=function(e){if(!this.isValid)return false;return this.s>e};e.prototype.isBefore=function(e){if(!this.isValid)return false;return this.e<=e};e.prototype.contains=function(e){if(!this.isValid)return false;return this.s<=e&&this.e>e};e.prototype.set=function(n){var r=n===void 0?{}:n,t=r.start,i=r.end;if(!this.isValid)return this;return e.fromDateTimes(t||this.s,i||this.e)};e.prototype.splitAt=function(){var n=this;var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}if(!this.isValid)return[];var i=r.map(li).filter((function(e){return n.contains(e)})).sort((function(e,n){return e.toMillis()-n.toMillis()})),u=[];var a=this.s,s=0;while(a<this.e){var o=i[s]||this.e,f=+o>+this.e?this.e:o;u.push(e.fromDateTimes(a,f));a=f;s+=1}return u};e.prototype.splitBy=function(n){var r=rt.fromDurationLike(n);if(!this.isValid||!r.isValid||r.as("milliseconds")===0){return[]}var t=this.s,i=1,u;var a=[];while(t<this.e){var s=this.start.plus(r.mapUnits((function(e){return e*i})));u=+s>+this.e?this.e:s;a.push(e.fromDateTimes(t,u));t=u;i+=1}return a};e.prototype.divideEqually=function(e){if(!this.isValid)return[];return this.splitBy(this.length()/e).slice(0,e)};e.prototype.overlaps=function(e){return this.e>e.s&&this.s<e.e};e.prototype.abutsStart=function(e){if(!this.isValid)return false;return+this.e===+e.s};e.prototype.abutsEnd=function(e){if(!this.isValid)return false;return+e.e===+this.s};e.prototype.engulfs=function(e){if(!this.isValid)return false;return this.s<=e.s&&this.e>=e.e};e.prototype.equals=function(e){if(!this.isValid||!e.isValid){return false}return this.s.equals(e.s)&&this.e.equals(e.e)};e.prototype.intersection=function(n){if(!this.isValid)return this;var r=this.s>n.s?this.s:n.s,t=this.e<n.e?this.e:n.e;if(r>=t){return null}else{return e.fromDateTimes(r,t)}};e.prototype.union=function(n){if(!this.isValid)return this;var r=this.s<n.s?this.s:n.s,t=this.e>n.e?this.e:n.e;return e.fromDateTimes(r,t)};e.merge=function(e){var n=e.sort((function(e,n){return e.s-n.s})).reduce((function(e,n){var r=e[0],t=e[1];if(!t){return[r,n]}else if(t.overlaps(n)||t.abutsStart(n)){return[r,t.union(n)]}else{return[r.concat([t]),n]}}),[[],null]),r=n[0],t=n[1];if(t){r.push(t)}return r};e.xor=function(n){var r;var t=null,i=0;var u=[],a=n.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),s=(r=Array.prototype).concat.apply(r,a),o=s.sort((function(e,n){return e.time-n.time}));for(var f=0,c=o;f<c.length;f++){var l=c[f];i+=l.type==="s"?1:-1;if(i===1){t=l.time}else{if(t&&+t!==+l.time){u.push(e.fromDateTimes(t,l.time))}t=null}}return e.merge(u)};e.prototype.difference=function(){var n=this;var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}return e.xor([this].concat(r)).map((function(e){return n.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))};e.prototype.toString=function(){if(!this.isValid)return tt;return"[".concat(this.s.toISO()," – ").concat(this.e.toISO(),")")};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"Interval { start: ".concat(this.s.toISO(),", end: ").concat(this.e.toISO()," }")}else{return"Interval { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.toLocaleString=function(e,n){if(e===void 0){e=v}if(n===void 0){n={}}return this.isValid?Jn.create(this.s.loc.clone(n),e).formatInterval(this):tt};e.prototype.toISO=function(e){if(!this.isValid)return tt;return"".concat(this.s.toISO(e),"/").concat(this.e.toISO(e))};e.prototype.toISODate=function(){if(!this.isValid)return tt;return"".concat(this.s.toISODate(),"/").concat(this.e.toISODate())};e.prototype.toISOTime=function(e){if(!this.isValid)return tt;return"".concat(this.s.toISOTime(e),"/").concat(this.e.toISOTime(e))};e.prototype.toFormat=function(e,n){var r=n===void 0?{}:n,t=r.separator,i=t===void 0?" – ":t;if(!this.isValid)return tt;return"".concat(this.s.toFormat(e)).concat(i).concat(this.e.toFormat(e))};e.prototype.toDuration=function(e,n){if(!this.isValid){return rt.invalid(this.invalidReason)}return this.e.diff(this.s,e,n)};e.prototype.mapEndpoints=function(n){return e.fromDateTimes(n(this.s),n(this.e))};return e}();var at=function(){function e(){}e.hasDST=function(e){if(e===void 0){e=ke.defaultZone}var n=ci.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset};e.isValidIANAZone=function(e){return G.isValidZone(e)};e.normalizeZone=function(e){return ge(e,ke.defaultZone)};e.getStartOfWeek=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r,i=n.locObj,u=i===void 0?null:i;return(u||ve.create(t)).getStartOfWeek()};e.getMinimumDaysInFirstWeek=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r,i=n.locObj,u=i===void 0?null:i;return(u||ve.create(t)).getMinDaysInFirstWeek()};e.getWeekendWeekdays=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r,i=n.locObj,u=i===void 0?null:i;return(u||ve.create(t)).getWeekendDays().slice()};e.months=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s,f=r.outputCalendar,c=f===void 0?"gregory":f;return(o||ve.create(i,a,c)).months(e)};e.monthsFormat=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s,f=r.outputCalendar,c=f===void 0?"gregory":f;return(o||ve.create(i,a,c)).months(e,true)};e.weekdays=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s;return(o||ve.create(i,a,null)).weekdays(e)};e.weekdaysFormat=function(e,n){if(e===void 0){e="long"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=r.locObj,o=s===void 0?null:s;return(o||ve.create(i,a,null)).weekdays(e,true)};e.meridiems=function(e){var n=e===void 0?{}:e,r=n.locale,t=r===void 0?null:r;return ve.create(t).meridiems()};e.eras=function(e,n){if(e===void 0){e="short"}var r=n===void 0?{}:n,t=r.locale,i=t===void 0?null:t;return ve.create(i,null,"gregory").eras(e)};e.features=function(){return{relative:Ve(),localeWeek:Be()}};return e}();function st(e,n){var r=function(e){return e.toUTC(0,{keepLocalTime:true}).startOf("day").valueOf()},t=r(n)-r(e);return Math.floor(rt.fromMillis(t).as("days"))}function ot(e,n,r){var t=[["years",function(e,n){return n.year-e.year}],["quarters",function(e,n){return n.quarter-e.quarter+(n.year-e.year)*4}],["months",function(e,n){return n.month-e.month+(n.year-e.year)*12}],["weeks",function(e,n){var r=st(e,n);return(r-r%7)/7}],["days",st]];var i={};var u=e;var a,s;for(var o=0,f=t;o<f.length;o++){var c=f[o],l=c[0],h=c[1];if(r.indexOf(l)>=0){a=l;i[l]=h(e,n);s=u.plus(i);if(s>n){i[l]--;e=u.plus(i);if(e>n){s=e;i[l]--;e=u.plus(i)}}else{e=s}}}return[e,i,s,a]}function ft(e,n,r,t){var i,u;var a=ot(e,n,r),s=a[0],o=a[1],f=a[2],c=a[3];var l=n-s;var h=r.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(h.length===0){if(f<n){f=s.plus((i={},i[c]=1,i))}if(f!==s){o[c]=(o[c]||0)+l/(f-s)}}var v=rt.fromObject(o,t);if(h.length>0){return(u=rt.fromMillis(l,t)).shiftTo.apply(u,h).plus(v)}else{return v}}var ct={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"};var lt={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]};var ht=ct.hanidec.replace(/[\[|\]]/g,"").split("");function vt(e){var n=parseInt(e,10);if(isNaN(n)){n="";for(var r=0;r<e.length;r++){var t=e.charCodeAt(r);if(e[r].search(ct.hanidec)!==-1){n+=ht.indexOf(e[r])}else{for(var i in lt){var u=lt[i],a=u[0],s=u[1];if(t>=a&&t<=s){n+=t-a}}}}return parseInt(n,10)}else{return n}}function dt(e,n){var r=e.numberingSystem;if(n===void 0){n=""}return new RegExp("".concat(ct[r||"latn"]).concat(n))}var mt="missing Intl.DateTimeFormat.formatToParts support";function bt(e,n){if(n===void 0){n=function(e){return e}}return{regex:e,deser:function(e){var r=e[0];return n(vt(r))}}}var gt=String.fromCharCode(160);var yt="[ ".concat(gt,"]");var wt=new RegExp(yt,"g");function _t(e){return e.replace(/\./g,"\\.?").replace(wt,yt)}function Ot(e){return e.replace(/\./g,"").replace(wt," ").toLowerCase()}function jt(e,n){if(e===null){return null}else{return{regex:RegExp(e.map(_t).join("|")),deser:function(r){var t=r[0];return e.findIndex((function(e){return Ot(t)===Ot(e)}))+n}}}}function Mt(e,n){return{regex:e,deser:function(e){var n=e[1],r=e[2];return yn(n,r)},groups:n}}function pt(e){return{regex:e,deser:function(e){var n=e[0];return n}}}function Nt(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function kt(e,n){var r=dt(n),t=dt(n,"{2}"),i=dt(n,"{3}"),u=dt(n,"{4}"),a=dt(n,"{6}"),s=dt(n,"{1,2}"),o=dt(n,"{1,3}"),f=dt(n,"{1,6}"),c=dt(n,"{1,9}"),l=dt(n,"{2,4}"),h=dt(n,"{4,6}"),v=function(e){return{regex:RegExp(Nt(e.val)),deser:function(e){var n=e[0];return n},literal:true}},d=function(d){if(e.literal){return v(d)}switch(d.val){case"G":return jt(n.eras("short"),0);case"GG":return jt(n.eras("long"),0);case"y":return bt(f);case"yy":return bt(l,bn);case"yyyy":return bt(u);case"yyyyy":return bt(h);case"yyyyyy":return bt(a);case"M":return bt(s);case"MM":return bt(t);case"MMM":return jt(n.months("short",true),1);case"MMMM":return jt(n.months("long",true),1);case"L":return bt(s);case"LL":return bt(t);case"LLL":return jt(n.months("short",false),1);case"LLLL":return jt(n.months("long",false),1);case"d":return bt(s);case"dd":return bt(t);case"o":return bt(o);case"ooo":return bt(i);case"HH":return bt(t);case"H":return bt(s);case"hh":return bt(t);case"h":return bt(s);case"mm":return bt(t);case"m":return bt(s);case"q":return bt(s);case"qq":return bt(t);case"s":return bt(s);case"ss":return bt(t);case"S":return bt(o);case"SSS":return bt(i);case"u":return pt(c);case"uu":return pt(s);case"uuu":return bt(r);case"a":return jt(n.meridiems(),0);case"kkkk":return bt(u);case"kk":return bt(l,bn);case"W":return bt(s);case"WW":return bt(t);case"E":case"c":return bt(r);case"EEE":return jt(n.weekdays("short",false),1);case"EEEE":return jt(n.weekdays("long",false),1);case"ccc":return jt(n.weekdays("short",true),1);case"cccc":return jt(n.weekdays("long",true),1);case"Z":case"ZZ":return Mt(new RegExp("([+-]".concat(s.source,")(?::(").concat(t.source,"))?")),2);case"ZZZ":return Mt(new RegExp("([+-]".concat(s.source,")(").concat(t.source,")?")),2);case"z":return pt(/[a-z_+-/]{1,256}?/i);case" ":return pt(/[^\S\n\r]/);default:return v(d)}};var m=d(e)||{invalidReason:mt};m.token=e;return m}var Tt={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Et(e,n,r){var t=e.type,i=e.value;if(t==="literal"){var u=/^\s+$/.test(i);return{literal:!u,val:u?" ":i}}var a=n[t];var s=t;if(t==="hour"){if(n.hour12!=null){s=n.hour12?"hour12":"hour24"}else if(n.hourCycle!=null){if(n.hourCycle==="h11"||n.hourCycle==="h12"){s="hour12"}else{s="hour24"}}else{s=r.hour12?"hour12":"hour24"}}var o=Tt[s];if(typeof o==="object"){o=o[a]}if(o){return{literal:false,val:o}}return undefined}function St(e){var n=e.map((function(e){return e.regex})).reduce((function(e,n){return"".concat(e,"(").concat(n.source,")")}),"");return["^".concat(n,"$"),e]}function Dt(e,n,r){var t=e.match(n);if(t){var i={};var u=1;for(var a in r){if(en(r,a)){var s=r[a],o=s.groups?s.groups+1:1;if(!s.literal&&s.token){i[s.token.val[0]]=s.deser(t.slice(u,u+o))}u+=o}}return[t,i]}else{return[t,{}]}}function It(e){var n=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};var r=null;var t;if(!Ge(e.z)){r=G.create(e.z)}if(!Ge(e.Z)){if(!r){r=new me(e.Z)}t=e.Z}if(!Ge(e.q)){e.M=(e.q-1)*3+1}if(!Ge(e.h)){if(e.h<12&&e.a===1){e.h+=12}else if(e.h===12&&e.a===0){e.h=0}}if(e.G===0&&e.y){e.y=-e.y}if(!Ge(e.u)){e.S=on(e.u)}var i=Object.keys(e).reduce((function(r,t){var i=n(t);if(i){r[i]=e[t]}return r}),{});return[i,r,t]}var xt=null;function At(){if(!xt){xt=ci.fromMillis(1555555555555)}return xt}function Zt(e,n){if(e.literal){return e}var r=Jn.macroTokenToFormatOpts(e.val);var t=Ht(r,n);if(t==null||t.includes(undefined)){return e}return t}function Lt(e,n){var r;return(r=Array.prototype).concat.apply(r,e.map((function(e){return Zt(e,n)})))}function Wt(e,n,r){var t=Lt(Jn.parseFormat(r),e),i=t.map((function(n){return kt(n,e)})),u=i.find((function(e){return e.invalidReason}));if(u){return{input:n,tokens:t,invalidReason:u.invalidReason}}else{var s=St(i),o=s[0],f=s[1],c=RegExp(o,"i"),l=Dt(n,c,f),h=l[0],v=l[1],d=v?It(v):[null,null,undefined],m=d[0],b=d[1],g=d[2];if(en(v,"a")&&en(v,"H")){throw new a("Can't include meridiem when specifying 24-hour format")}return{input:n,tokens:t,regex:c,rawMatches:h,matches:v,result:m,zone:b,specificOffset:g}}}function Ct(e,n,r){var t=Wt(e,n,r),i=t.result,u=t.zone,a=t.specificOffset,s=t.invalidReason;return[i,u,a,s]}function Ht(e,n){if(!e){return null}var r=Jn.create(n,e);var t=r.dtFormatter(At());var i=t.formatToParts();var u=t.resolvedOptions();return i.map((function(n){return Et(n,e,u)}))}var Ft="Invalid DateTime";var qt=864e13;function Ut(e){return new Te("unsupported zone",'the zone "'.concat(e.name,'" is not supported'))}function zt(e){if(e.weekData===null){e.weekData=Le(e.c)}return e.weekData}function Jt(e){if(e.localWeekData===null){e.localWeekData=Le(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())}return e.localWeekData}function Gt(e,n){var r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new ci(__assign(__assign(__assign({},r),n),{old:r}))}function Rt(e,n,r){var t=e-n*60*1e3;var i=r.offset(t);if(n===i){return[t,n]}t-=(i-n)*60*1e3;var u=r.offset(t);if(i===u){return[t,i]}return[e-Math.min(i,u)*60*1e3,Math.max(i,u)]}function Yt(e,n){e+=n*60*1e3;var r=new Date(e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function $t(e,n,r){return Rt(vn(e),n,r)}function Pt(e,n){var r=e.o,t=e.c.year+Math.trunc(n.years),i=e.c.month+Math.trunc(n.months)+Math.trunc(n.quarters)*3,u=__assign(__assign({},e.c),{year:t,month:i,day:Math.min(e.c.day,hn(t,i))+Math.trunc(n.days)+Math.trunc(n.weeks)*7}),a=rt.fromObject({years:n.years-Math.trunc(n.years),quarters:n.quarters-Math.trunc(n.quarters),months:n.months-Math.trunc(n.months),weeks:n.weeks-Math.trunc(n.weeks),days:n.days-Math.trunc(n.days),hours:n.hours,minutes:n.minutes,seconds:n.seconds,milliseconds:n.milliseconds}).as("milliseconds"),s=vn(u);var o=Rt(s,r,e.zone),f=o[0],c=o[1];if(a!==0){f+=a;c=e.zone.offset(f)}return{ts:f,o:c}}function Vt(e,n,r,t,i,u){var a=r.setZone,s=r.zone;if(e&&Object.keys(e).length!==0||n){var o=n||s,f=ci.fromObject(e,__assign(__assign({},r),{zone:o,specificOffset:u}));return a?f:f.setZone(s)}else{return ci.invalid(new Te("unparsable",'the input "'.concat(i,"\" can't be parsed as ").concat(t)))}}function Bt(e,n,r){if(r===void 0){r=true}return e.isValid?Jn.create(ve.create("en-US"),{allowZ:r,forceSimple:true}).formatDateTimeFromString(e,n):null}function Kt(e,n){var r=e.c.year>9999||e.c.year<0;var t="";if(r&&e.c.year>=0)t+="+";t+=un(e.c.year,r?6:4);if(n){t+="-";t+=un(e.c.month);t+="-";t+=un(e.c.day)}else{t+=un(e.c.month);t+=un(e.c.day)}return t}function Qt(e,n,r,t,i,u){var a=un(e.c.hour);if(n){a+=":";a+=un(e.c.minute);if(e.c.millisecond!==0||e.c.second!==0||!r){a+=":"}}else{a+=un(e.c.minute)}if(e.c.millisecond!==0||e.c.second!==0||!r){a+=un(e.c.second);if(e.c.millisecond!==0||!t){a+=".";a+=un(e.c.millisecond,3)}}if(i){if(e.isOffsetFixed&&e.offset===0&&!u){a+="Z"}else if(e.o<0){a+="-";a+=un(Math.trunc(-e.o/60));a+=":";a+=un(Math.trunc(-e.o%60))}else{a+="+";a+=un(Math.trunc(e.o/60));a+=":";a+=un(Math.trunc(e.o%60))}}if(u){a+="["+e.zone.ianaName+"]"}return a}var Xt={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},ei={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ni={ordinal:1,hour:0,minute:0,second:0,millisecond:0};var ri=["year","month","day","hour","minute","second","millisecond"],ti=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ii=["year","ordinal","hour","minute","second","millisecond"];function ui(e){var n={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!n)throw new s(e);return n}function ai(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return ui(e)}}function si(e,n){var r;var t=ge(n.zone,ke.defaultZone),i=ve.fromObject(n),u=ke.now();var a,s;if(!Ge(e.year)){for(var o=0,f=ri;o<f.length;o++){var c=f[o];if(Ge(e[c])){e[c]=Xt[c]}}var l=ze(e)||Je(e);if(l){return ci.invalid(l)}var h=t.offset(u);r=$t(e,h,t),a=r[0],s=r[1]}else{a=u}return new ci({ts:a,zone:t,loc:i,o:s})}function oi(e,n,r){var t=Ge(r.round)?true:r.round,i=function(e,i){e=fn(e,t||r.calendary?0:2,true);var u=n.loc.clone(r).relFormatter(r);return u.format(e,i)},u=function(t){if(r.calendary){if(!n.hasSame(e,t)){return n.startOf(t).diff(e.startOf(t),t).get(t)}else return 0}else{return n.diff(e,t).get(t)}};if(r.unit){return i(u(r.unit),r.unit)}for(var a=0,s=r.units;a<s.length;a++){var o=s[a];var f=u(o);if(Math.abs(f)>=1){return i(f,o)}}return i(e>n?-0:0,r.units[r.units.length-1])}function fi(e){var n={},r;if(e.length>0&&typeof e[e.length-1]==="object"){n=e[e.length-1];r=Array.from(e).slice(0,e.length-1)}else{r=Array.from(e)}return[n,r]}var ci=function(){function e(e){var n;var r=e.zone||ke.defaultZone;var t=e.invalid||(Number.isNaN(e.ts)?new Te("invalid input"):null)||(!r.isValid?Ut(r):null);this.ts=Ge(e.ts)?ke.now():e.ts;var i=null,u=null;if(!t){var a=e.old&&e.old.ts===this.ts&&e.old.zone.equals(r);if(a){n=[e.old.c,e.old.o],i=n[0],u=n[1]}else{var s=r.offset(this.ts);i=Yt(this.ts,s);t=Number.isNaN(i.year)?new Te("invalid input"):null;i=t?null:i;u=t?null:s}}this._zone=r;this.loc=e.loc||ve.create();this.invalid=t;this.weekData=null;this.localWeekData=null;this.c=i;this.o=u;this.isLuxonDateTime=true}e.now=function(){return new e({})};e.local=function(){var e=fi(arguments),n=e[0],r=e[1],t=r[0],i=r[1],u=r[2],a=r[3],s=r[4],o=r[5],f=r[6];return si({year:t,month:i,day:u,hour:a,minute:s,second:o,millisecond:f},n)};e.utc=function(){var e=fi(arguments),n=e[0],r=e[1],t=r[0],i=r[1],u=r[2],a=r[3],s=r[4],o=r[5],f=r[6];n.zone=me.utcInstance;return si({year:t,month:i,day:u,hour:a,minute:s,second:o,millisecond:f},n)};e.fromJSDate=function(n,r){if(r===void 0){r={}}var t=Pe(n)?n.valueOf():NaN;if(Number.isNaN(t)){return e.invalid("invalid input")}var i=ge(r.zone,ke.defaultZone);if(!i.isValid){return e.invalid(Ut(i))}return new e({ts:t,zone:i,loc:ve.fromObject(r)})};e.fromMillis=function(n,r){if(r===void 0){r={}}if(!Re(n)){throw new o("fromMillis requires a numerical input, but received a ".concat(typeof n," with value ").concat(n))}else if(n<-864e13||n>qt){return e.invalid("Timestamp out of range")}else{return new e({ts:n,zone:ge(r.zone,ke.defaultZone),loc:ve.fromObject(r)})}};e.fromSeconds=function(n,r){if(r===void 0){r={}}if(!Re(n)){throw new o("fromSeconds requires a numerical input")}else{return new e({ts:n*1e3,zone:ge(r.zone,ke.defaultZone),loc:ve.fromObject(r)})}};e.fromObject=function(n,r){if(r===void 0){r={}}n=n||{};var t=ge(r.zone,ke.defaultZone);if(!t.isValid){return e.invalid(Ut(t))}var i=ve.fromObject(r);var u=_n(n,ai);var s=Fe(u,i),o=s.minDaysInFirstWeek,f=s.startOfWeek;var c=ke.now(),l=!Ge(r.specificOffset)?r.specificOffset:t.offset(c),h=!Ge(u.ordinal),v=!Ge(u.year),d=!Ge(u.month)||!Ge(u.day),m=v||d,b=u.weekYear||u.weekNumber;if((m||h)&&b){throw new a("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(d&&h){throw new a("Can't mix ordinal dates with month/day")}var g=b||u.weekday&&!m;var y,w,_=Yt(c,l);if(g){y=ti;w=ei;_=Le(_,o,f)}else if(h){y=ii;w=ni;_=Ce(_)}else{y=ri;w=Xt}var O=false;for(var j=0,M=y;j<M.length;j++){var p=M[j];var N=u[p];if(!Ge(N)){O=true}else if(O){u[p]=w[p]}else{u[p]=_[p]}}var k=g?qe(u,o,f):h?Ue(u):ze(u),T=k||Je(u);if(T){return e.invalid(T)}var E=g?We(u,o,f):h?He(u):u,S=$t(E,l,t),D=S[0],I=S[1],x=new e({ts:D,zone:t,o:I,loc:i});if(u.weekday&&m&&n.weekday!==x.weekday){return e.invalid("mismatched weekday","you can't specify both a weekday of ".concat(u.weekday," and a date of ").concat(x.toISO()))}return x};e.fromISO=function(e,n){if(n===void 0){n={}}var r=Zr(e),t=r[0],i=r[1];return Vt(t,i,n,"ISO 8601",e)};e.fromRFC2822=function(e,n){if(n===void 0){n={}}var r=Lr(e),t=r[0],i=r[1];return Vt(t,i,n,"RFC 2822",e)};e.fromHTTP=function(e,n){if(n===void 0){n={}}var r=Wr(e),t=r[0],i=r[1];return Vt(t,i,n,"HTTP",n)};e.fromFormat=function(n,r,t){if(t===void 0){t={}}if(Ge(n)||Ge(r)){throw new o("fromFormat requires an input string and a format")}var i=t.locale,u=i===void 0?null:i,a=t.numberingSystem,s=a===void 0?null:a,f=ve.fromOpts({locale:u,numberingSystem:s,defaultToEN:true}),c=Ct(f,n,r),l=c[0],h=c[1],v=c[2],d=c[3];if(d){return e.invalid(d)}else{return Vt(l,h,t,"format ".concat(r),n,v)}};e.fromString=function(n,r,t){if(t===void 0){t={}}return e.fromFormat(n,r,t)};e.fromSQL=function(e,n){if(n===void 0){n={}}var r=Jr(e),t=r[0],i=r[1];return Vt(t,i,n,"SQL",e)};e.invalid=function(n,r){if(r===void 0){r=null}if(!n){throw new o("need to specify a reason the DateTime is invalid")}var i=n instanceof Te?n:new Te(n,r);if(ke.throwOnInvalid){throw new t(i)}else{return new e({invalid:i})}};e.isDateTime=function(e){return e&&e.isLuxonDateTime||false};e.parseFormatForOpts=function(e,n){if(n===void 0){n={}}var r=Ht(e,ve.fromObject(n));return!r?null:r.map((function(e){return e?e.val:null})).join("")};e.expandFormat=function(e,n){if(n===void 0){n={}}var r=Lt(Jn.parseFormat(e),ve.fromObject(n));return r.map((function(e){return e.val})).join("")};e.prototype.get=function(e){return this[e]};Object.defineProperty(e.prototype,"isValid",{get:function(){return this.invalid===null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidReason",{get:function(){return this.invalid?this.invalid.reason:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"invalidExplanation",{get:function(){return this.invalid?this.invalid.explanation:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"locale",{get:function(){return this.isValid?this.loc.locale:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"numberingSystem",{get:function(){return this.isValid?this.loc.numberingSystem:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"outputCalendar",{get:function(){return this.isValid?this.loc.outputCalendar:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"zoneName",{get:function(){return this.isValid?this.zone.name:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"year",{get:function(){return this.isValid?this.c.year:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"quarter",{get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"month",{get:function(){return this.isValid?this.c.month:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"day",{get:function(){return this.isValid?this.c.day:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"hour",{get:function(){return this.isValid?this.c.hour:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"minute",{get:function(){return this.isValid?this.c.minute:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"second",{get:function(){return this.isValid?this.c.second:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"millisecond",{get:function(){return this.isValid?this.c.millisecond:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekYear",{get:function(){return this.isValid?zt(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekNumber",{get:function(){return this.isValid?zt(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekday",{get:function(){return this.isValid?zt(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isWeekend",{get:function(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekday",{get:function(){return this.isValid?Jt(this).weekday:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekNumber",{get:function(){return this.isValid?Jt(this).weekNumber:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"localWeekYear",{get:function(){return this.isValid?Jt(this).weekYear:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"ordinal",{get:function(){return this.isValid?Ce(this.c).ordinal:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthShort",{get:function(){return this.isValid?at.months("short",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"monthLong",{get:function(){return this.isValid?at.months("long",{locObj:this.loc})[this.month-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayShort",{get:function(){return this.isValid?at.weekdays("short",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weekdayLong",{get:function(){return this.isValid?at.weekdays("long",{locObj:this.loc})[this.weekday-1]:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offset",{get:function(){return this.isValid?+this.o:NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameShort",{get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"short",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"offsetNameLong",{get:function(){if(this.isValid){return this.zone.offsetName(this.ts,{format:"long",locale:this.locale})}else{return null}},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isOffsetFixed",{get:function(){return this.isValid?this.zone.isUniversal:null},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isInDST",{get:function(){if(this.isOffsetFixed){return false}else{return this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}},enumerable:false,configurable:true});e.prototype.getPossibleOffsets=function(){if(!this.isValid||this.isOffsetFixed){return[this]}var e=864e5;var n=6e4;var r=vn(this.c);var t=this.zone.offset(r-e);var i=this.zone.offset(r+e);var u=this.zone.offset(r-t*n);var a=this.zone.offset(r-i*n);if(u===a){return[this]}var s=r-u*n;var o=r-a*n;var f=Yt(s,u);var c=Yt(o,a);if(f.hour===c.hour&&f.minute===c.minute&&f.second===c.second&&f.millisecond===c.millisecond){return[Gt(this,{ts:s}),Gt(this,{ts:o})]}return[this]};Object.defineProperty(e.prototype,"isInLeapYear",{get:function(){return cn(this.year)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInMonth",{get:function(){return hn(this.year,this.month)},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"daysInYear",{get:function(){return this.isValid?ln(this.year):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInWeekYear",{get:function(){return this.isValid?mn(this.weekYear):NaN},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"weeksInLocalWeekYear",{get:function(){return this.isValid?mn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN},enumerable:false,configurable:true});e.prototype.resolvedLocaleOptions=function(e){if(e===void 0){e={}}var n=Jn.create(this.loc.clone(e),e).resolvedOptions(this),r=n.locale,t=n.numberingSystem,i=n.calendar;return{locale:r,numberingSystem:t,outputCalendar:i}};e.prototype.toUTC=function(e,n){if(e===void 0){e=0}if(n===void 0){n={}}return this.setZone(me.instance(e),n)};e.prototype.toLocal=function(){return this.setZone(ke.defaultZone)};e.prototype.setZone=function(n,r){var t=r===void 0?{}:r,i=t.keepLocalTime,u=i===void 0?false:i,a=t.keepCalendarTime,s=a===void 0?false:a;n=ge(n,ke.defaultZone);if(n.equals(this.zone)){return this}else if(!n.isValid){return e.invalid(Ut(n))}else{var o=this.ts;if(u||s){var f=n.offset(this.ts);var c=this.toObject();o=$t(c,f,n)[0]}return Gt(this,{ts:o,zone:n})}};e.prototype.reconfigure=function(e){var n=e===void 0?{}:e,r=n.locale,t=n.numberingSystem,i=n.outputCalendar;var u=this.loc.clone({locale:r,numberingSystem:t,outputCalendar:i});return Gt(this,{loc:u})};e.prototype.setLocale=function(e){return this.reconfigure({locale:e})};e.prototype.set=function(e){if(!this.isValid)return this;var n=_n(e,ai);var r=Fe(n,this.loc),t=r.minDaysInFirstWeek,i=r.startOfWeek;var u=!Ge(n.weekYear)||!Ge(n.weekNumber)||!Ge(n.weekday),s=!Ge(n.ordinal),o=!Ge(n.year),f=!Ge(n.month)||!Ge(n.day),c=o||f,l=n.weekYear||n.weekNumber;if((c||s)&&l){throw new a("Can't mix weekYear/weekNumber units with year/month/day or ordinals")}if(f&&s){throw new a("Can't mix ordinal dates with month/day")}var h;if(u){h=We(__assign(__assign({},Le(this.c,t,i)),n),t,i)}else if(!Ge(n.ordinal)){h=He(__assign(__assign({},Ce(this.c)),n))}else{h=__assign(__assign({},this.toObject()),n);if(Ge(n.day)){h.day=Math.min(hn(h.year,h.month),h.day)}}var v=$t(h,this.o,this.zone),d=v[0],m=v[1];return Gt(this,{ts:d,o:m})};e.prototype.plus=function(e){if(!this.isValid)return this;var n=rt.fromDurationLike(e);return Gt(this,Pt(this,n))};e.prototype.minus=function(e){if(!this.isValid)return this;var n=rt.fromDurationLike(e).negate();return Gt(this,Pt(this,n))};e.prototype.startOf=function(e,n){var r=n===void 0?{}:n,t=r.useLocaleWeeks,i=t===void 0?false:t;if(!this.isValid)return this;var u={},a=rt.normalizeUnit(e);switch(a){case"years":u.month=1;case"quarters":case"months":u.day=1;case"weeks":case"days":u.hour=0;case"hours":u.minute=0;case"minutes":u.second=0;case"seconds":u.millisecond=0;break}if(a==="weeks"){if(i){var s=this.loc.getStartOfWeek();var o=this.weekday;if(o<s){u.weekNumber=this.weekNumber-1}u.weekday=s}else{u.weekday=1}}if(a==="quarters"){var f=Math.ceil(this.month/3);u.month=(f-1)*3+1}return this.set(u)};e.prototype.endOf=function(e,n){var r;return this.isValid?this.plus((r={},r[e]=1,r)).startOf(e,n).minus(1):this};e.prototype.toFormat=function(e,n){if(n===void 0){n={}}return this.isValid?Jn.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):Ft};e.prototype.toLocaleString=function(e,n){if(e===void 0){e=v}if(n===void 0){n={}}return this.isValid?Jn.create(this.loc.clone(n),e).formatDateTime(this):Ft};e.prototype.toLocaleParts=function(e){if(e===void 0){e={}}return this.isValid?Jn.create(this.loc.clone(e),e).formatDateTimeParts(this):[]};e.prototype.toISO=function(e){var n=e===void 0?{}:e,r=n.format,t=r===void 0?"extended":r,i=n.suppressSeconds,u=i===void 0?false:i,a=n.suppressMilliseconds,s=a===void 0?false:a,o=n.includeOffset,f=o===void 0?true:o,c=n.extendedZone,l=c===void 0?false:c;if(!this.isValid){return null}var h=t==="extended";var v=Kt(this,h);v+="T";v+=Qt(this,h,u,s,f,l);return v};e.prototype.toISODate=function(e){var n=e===void 0?{}:e,r=n.format,t=r===void 0?"extended":r;if(!this.isValid){return null}return Kt(this,t==="extended")};e.prototype.toISOWeekDate=function(){return Bt(this,"kkkk-'W'WW-c")};e.prototype.toISOTime=function(e){var n=e===void 0?{}:e,r=n.suppressMilliseconds,t=r===void 0?false:r,i=n.suppressSeconds,u=i===void 0?false:i,a=n.includeOffset,s=a===void 0?true:a,o=n.includePrefix,f=o===void 0?false:o,c=n.extendedZone,l=c===void 0?false:c,h=n.format,v=h===void 0?"extended":h;if(!this.isValid){return null}var d=f?"T":"";return d+Qt(this,v==="extended",u,t,s,l)};e.prototype.toRFC2822=function(){return Bt(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",false)};e.prototype.toHTTP=function(){return Bt(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")};e.prototype.toSQLDate=function(){if(!this.isValid){return null}return Kt(this,true)};e.prototype.toSQLTime=function(e){var n=e===void 0?{}:e,r=n.includeOffset,t=r===void 0?true:r,i=n.includeZone,u=i===void 0?false:i,a=n.includeOffsetSpace,s=a===void 0?true:a;var o="HH:mm:ss.SSS";if(u||t){if(s){o+=" "}if(u){o+="z"}else if(t){o+="ZZ"}}return Bt(this,o,true)};e.prototype.toSQL=function(e){if(e===void 0){e={}}if(!this.isValid){return null}return"".concat(this.toSQLDate()," ").concat(this.toSQLTime(e))};e.prototype.toString=function(){return this.isValid?this.toISO():Ft};e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){if(this.isValid){return"DateTime { ts: ".concat(this.toISO(),", zone: ").concat(this.zone.name,", locale: ").concat(this.locale," }")}else{return"DateTime { Invalid, reason: ".concat(this.invalidReason," }")}};e.prototype.valueOf=function(){return this.toMillis()};e.prototype.toMillis=function(){return this.isValid?this.ts:NaN};e.prototype.toSeconds=function(){return this.isValid?this.ts/1e3:NaN};e.prototype.toUnixInteger=function(){return this.isValid?Math.floor(this.ts/1e3):NaN};e.prototype.toJSON=function(){return this.toISO()};e.prototype.toBSON=function(){return this.toJSDate()};e.prototype.toObject=function(e){if(e===void 0){e={}}if(!this.isValid)return{};var n=__assign({},this.c);if(e.includeConfig){n.outputCalendar=this.outputCalendar;n.numberingSystem=this.loc.numberingSystem;n.locale=this.loc.locale}return n};e.prototype.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)};e.prototype.diff=function(e,n,r){if(n===void 0){n="milliseconds"}if(r===void 0){r={}}if(!this.isValid||!e.isValid){return rt.invalid("created by diffing an invalid DateTime")}var t=__assign({locale:this.locale,numberingSystem:this.numberingSystem},r);var i=Ke(n).map(rt.normalizeUnit),u=e.valueOf()>this.valueOf(),a=u?this:e,s=u?e:this,o=ft(a,s,i,t);return u?o.negate():o};e.prototype.diffNow=function(n,r){if(n===void 0){n="milliseconds"}if(r===void 0){r={}}return this.diff(e.now(),n,r)};e.prototype.until=function(e){return this.isValid?ut.fromDateTimes(this,e):this};e.prototype.hasSame=function(e,n,r){if(!this.isValid)return false;var t=e.valueOf();var i=this.setZone(e.zone,{keepLocalTime:true});return i.startOf(n,r)<=t&&t<=i.endOf(n,r)};e.prototype.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)};e.prototype.toRelative=function(n){if(n===void 0){n={}}if(!this.isValid)return null;var r=n.base||e.fromObject({},{zone:this.zone}),t=n.padding?this<r?-n.padding:n.padding:0;var i=["years","months","days","hours","minutes","seconds"];var u=n.unit;if(Array.isArray(n.unit)){i=n.unit;u=undefined}return oi(r,this.plus(t),__assign(__assign({},n),{numeric:"always",units:i,unit:u}))};e.prototype.toRelativeCalendar=function(n){if(n===void 0){n={}}if(!this.isValid)return null;return oi(n.base||e.fromObject({},{zone:this.zone}),this,__assign(__assign({},n),{numeric:"auto",units:["years","months","days"],calendary:true}))};e.min=function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}if(!n.every(e.isDateTime)){throw new o("min requires all arguments be DateTimes")}return Qe(n,(function(e){return e.valueOf()}),Math.min)};e.max=function(){var n=[];for(var r=0;r<arguments.length;r++){n[r]=arguments[r]}if(!n.every(e.isDateTime)){throw new o("max requires all arguments be DateTimes")}return Qe(n,(function(e){return e.valueOf()}),Math.max)};e.fromFormatExplain=function(e,n,r){if(r===void 0){r={}}var t=r.locale,i=t===void 0?null:t,u=r.numberingSystem,a=u===void 0?null:u,s=ve.fromOpts({locale:i,numberingSystem:a,defaultToEN:true});return Wt(s,e,n)};e.fromStringExplain=function(n,r,t){if(t===void 0){t={}}return e.fromFormatExplain(n,r,t)};Object.defineProperty(e,"DATE_SHORT",{get:function(){return v},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED",{get:function(){return d},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_MED_WITH_WEEKDAY",{get:function(){return m},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_FULL",{get:function(){return b},enumerable:false,configurable:true});Object.defineProperty(e,"DATE_HUGE",{get:function(){return g},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_SIMPLE",{get:function(){return y},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SECONDS",{get:function(){return w},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_SHORT_OFFSET",{get:function(){return _},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_WITH_LONG_OFFSET",{get:function(){return O},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_SIMPLE",{get:function(){return j},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SECONDS",{get:function(){return M},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_SHORT_OFFSET",{get:function(){return p},enumerable:false,configurable:true});Object.defineProperty(e,"TIME_24_WITH_LONG_OFFSET",{get:function(){return N},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT",{get:function(){return k},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_SHORT_WITH_SECONDS",{get:function(){return T},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED",{get:function(){return E},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_SECONDS",{get:function(){return S},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_MED_WITH_WEEKDAY",{get:function(){return D},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL",{get:function(){return I},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_FULL_WITH_SECONDS",{get:function(){return x},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE",{get:function(){return A},enumerable:false,configurable:true});Object.defineProperty(e,"DATETIME_HUGE_WITH_SECONDS",{get:function(){return Z},enumerable:false,configurable:true});return e}();function li(e){if(ci.isDateTime(e)){return e}else if(e&&e.valueOf&&Re(e.valueOf())){return ci.fromJSDate(e)}else if(e&&typeof e==="object"){return ci.fromObject(e)}else{throw new o("Unknown datetime argument: ".concat(e,", of type ").concat(typeof e))}}function hi(e){if(e===void 0){e="de-CH"}return new Intl.DateTimeFormat(vi(e)).format(new Date).replace(/\p{Number}/gu,"").charAt(0)}function vi(e){if(e===void 0){e="de-CH"}var n=e.split("-"),r=n[1];if(r==="CH"){return"fr-CH"}if(r==="BE"){return"fr-BE"}if(r==="LU"){return"fr-LU"}return e}var di=function(){function e(e){this.dt=e}e.setTwoDigitCutoffYear=function(e){if(e===void 0){e=10}ke.twoDigitCutoffYear=(new Date).getFullYear()%100+e};e.fromAnyFormat=function(r){var t=r.replace(/[0-9]/g,"").charAt(0);var i=n();var u=(i===null||i===void 0?void 0:i.locale)||"de-CH";var a=r.split(t);var s=a.length;if(s===2){var o=(new Date).getFullYear();return new e(ci.fromFormat("".concat(a[0]).concat(t).concat(a[1]).concat(t).concat(o),"d".concat(t,"M").concat(t,"yy"),{locale:u}))}if(s===3){if(a[2].length===1){return new e(ci.fromFormat("".concat(a[0]).concat(t).concat(a[1]).concat(t).concat(2e3+parseInt(a[2],10)),"d".concat(t,"M").concat(t,"yy"),{locale:u}))}else if(a[2]===""){var o=(new Date).getFullYear();return new e(ci.fromFormat("".concat(a[0]).concat(t).concat(a[1]).concat(t).concat(o),"d".concat(t,"M").concat(t,"yy"),{locale:u}))}}return new e(ci.fromFormat(r,"d".concat(t,"M").concat(t,"yy"),{locale:u}))};e.fromISO=function(n){return new e(ci.fromISO(n||""))};e.infoMonths=function(e){var r=e===void 0?{}:e,t=r.format,i=r.locale;var u=n();return at.months(t||"long",{locale:i||(u===null||u===void 0?void 0:u.locale)||"de-CH"})};e.infoWeekdays=function(e){var r=e===void 0?{}:e,t=r.format,i=r.locale;var u=n();var a=at.weekdays(t,{locale:i||(u===null||u===void 0?void 0:u.locale)||"de-CH"});return a};Object.defineProperty(e.prototype,"isValid",{get:function(){return this.dt.isValid},enumerable:false,configurable:true});e.prototype.toISO=function(){if(this.isValid){return this.dt.toISO()}return""};e.prototype.toISODate=function(){if(this.isValid){return this.dt.toISODate()}return""};e.prototype.toFormat=function(){if(this.isValid){var e=n();var r=(e===null||e===void 0?void 0:e.locale)||"de-CH";var t=hi(r);return this.dt.toFormat("dd".concat(t,"MM").concat(t,"yyyy"))}return""};e.prototype.isBefore=function(e){var n=ci.fromISO(e||"");if(n.isValid){return this.dt<n}return false};e.prototype.isBeforeOrEqual=function(e){var n=ci.fromISO(e||"");if(n.isValid){return this.dt<=n}return false};e.prototype.isAfter=function(e){var n=ci.fromISO(e||"");if(n.isValid){return this.dt>n}return false};e.prototype.isAfterOrEqual=function(e){var n=ci.fromISO(e||"");if(n.isValid){return this.dt>=n}return false};Object.defineProperty(e.prototype,"month",{get:function(){if(this.isValid){return this.dt.month}return undefined},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"year",{get:function(){if(this.isValid){return this.dt.year}return undefined},enumerable:false,configurable:true});return e}();e("B",di);di.setTwoDigitCutoffYear()}}}));
@@ -0,0 +1 @@
1
+ import{n as t}from"./p-BtpJmRB8.js";class e extends Error{}class n extends e{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class r extends e{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class s extends e{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class i extends e{}class u extends e{constructor(t){super(`Invalid unit ${t}`)}}class o extends e{}class a extends e{constructor(){super("Zone is an abstract class")}}const c="numeric",h="short",l="long",d={year:c,month:c,day:c},m={year:c,month:h,day:c},f={year:c,month:h,day:c,weekday:h},y={year:c,month:l,day:c},g={year:c,month:l,day:c,weekday:l},w={hour:c,minute:c},p={hour:c,minute:c,second:c},S={hour:c,minute:c,second:c,timeZoneName:h},k={hour:c,minute:c,second:c,timeZoneName:l},M={hour:c,minute:c,hourCycle:"h23"},T={hour:c,minute:c,second:c,hourCycle:"h23"},N={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:h},b={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:l},$={year:c,month:c,day:c,hour:c,minute:c},E={year:c,month:c,day:c,hour:c,minute:c,second:c},v={year:c,month:h,day:c,hour:c,minute:c},D={year:c,month:h,day:c,hour:c,minute:c,second:c},I={year:c,month:h,day:c,weekday:h,hour:c,minute:c},O={year:c,month:l,day:c,hour:c,minute:c,timeZoneName:h},x={year:c,month:l,day:c,hour:c,minute:c,second:c,timeZoneName:h},F={year:c,month:l,day:c,weekday:l,hour:c,minute:c,timeZoneName:l},W={year:c,month:l,day:c,weekday:l,hour:c,minute:c,second:c,timeZoneName:l};class Z{get type(){throw new a}get name(){throw new a}get ianaName(){return this.name}get isUniversal(){throw new a}offsetName(t,e){throw new a}formatOffset(t,e){throw new a}offset(t){throw new a}equals(t){throw new a}get isValid(){throw new a}}let L=null;class C extends Z{static get instance(){return null===L&&(L=new C),L}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return Bt(t,e,n)}formatOffset(t,e){return Xt(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let A={};const _={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let H={};class q extends Z{static create(t){return H[t]||(H[t]=new q(t)),H[t]}static resetCache(){H={},A={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=q.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return Bt(t,e,n,this.name)}formatOffset(t,e){return Xt(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const n=(A[r=this.name]||(A[r]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),A[r]);var r;let[s,i,u,o,a,c,h]=n.formatToParts?function(t,e){const n=t.formatToParts(e),r=[];for(let t=0;t<n.length;t++){const{type:e,value:s}=n[t],i=_[e];"era"===e?r[i]=s:Dt(i)||(r[i]=parseInt(s,10))}return r}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,u,o,a,c,h]=r;return[u,s,i,o,a,c,h]}(n,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const d=l%1e3;return l-=d>=0?d:1e3+d,(Rt({year:s,month:i,day:u,hour:24===a?0:a,minute:c,second:h,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let j={},U={};function z(t,e={}){const n=JSON.stringify([t,e]);let r=U[n];return r||(r=new Intl.DateTimeFormat(t,e),U[n]=r),r}let J={},R={},G=null,Y={};function P(t,e,n,r){const s=t.listingMode();return"error"===s?null:"en"===s?n(e):r(e)}class B{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:r,floor:s,...i}=n;if(!e||Object.keys(i).length>0){const e={useGrouping:!1,...n};n.padTo>0&&(e.minimumIntegerDigits=n.padTo),this.inf=function(t,e={}){const n=JSON.stringify([t,e]);let r=J[n];return r||(r=new Intl.NumberFormat(t,e),J[n]=r),r}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return At(this.floor?Math.floor(t):jt(t,3),this.padTo)}}class V{constructor(t,e,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,n=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&q.create(n).valid?(r=n,this.dt=t):(r="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,r=t.zone.name):(r="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||r,this.dtf=z(e,s)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Q{constructor(t,e,n){this.opts={style:"long",...n},!e&&xt()&&(this.rtf=function(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=R[s];return i||(i=new Intl.RelativeTimeFormat(t,e),R[s]=i),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&i){const n="days"===t;switch(e){case 1:return n?"tomorrow":`next ${s[t][0]}`;case-1:return n?"yesterday":`last ${s[t][0]}`;case 0:return n?"today":`this ${s[t][0]}`}}const u=Object.is(e,-0)||e<0,o=Math.abs(e),a=1===o,c=s[t],h=r?a?c[1]:c[2]||c[1]:a?s[t][0]:t;return u?`${o} ${h} ago`:`in ${o} ${h}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const K={firstDay:1,minimalDays:4,weekend:[6,7]};class X{static fromOpts(t){return X.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,n,r,s=!1){const i=t||dt.defaultLocale,u=i||(s?"en-US":G||(G=(new Intl.DateTimeFormat).resolvedOptions().locale,G)),o=e||dt.defaultNumberingSystem,a=n||dt.defaultOutputCalendar,c=Lt(r)||dt.defaultWeekSettings;return new X(u,o,a,c,i)}static resetCache(){G=null,U={},J={},R={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:n,weekSettings:r}={}){return X.create(t,e,n,r)}constructor(t,e,n,r,s){const[i,u,o]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(-1===n)return[t];{let e,r;try{e=z(t).resolvedOptions(),r=t}catch(s){const i=t.substring(0,n);e=z(i).resolvedOptions(),r=i}const{numberingSystem:s,calendar:i}=e;return[r,s,i]}}(t);this.locale=i,this.numberingSystem=e||u||null,this.outputCalendar=n||o||null,this.weekSettings=r,this.intl=function(t,e,n){return n||e?(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?X.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Lt(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return P(this,t,se,(()=>{const n=e?{month:t,day:"numeric"}:{month:t},r=e?"format":"standalone";return this.monthsCache[r][t]||(this.monthsCache[r][t]=function(t){const e=[];for(let n=1;n<=12;n++){const r=ir.utc(2009,n,1);e.push(t(r))}return e}((t=>this.extract(t,n,"month")))),this.monthsCache[r][t]}))}weekdays(t,e=!1){return P(this,t,ae,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},r=e?"format":"standalone";return this.weekdaysCache[r][t]||(this.weekdaysCache[r][t]=function(t){const e=[];for(let n=1;n<=7;n++){const r=ir.utc(2016,11,13+n);e.push(t(r))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[r][t]}))}meridiems(){return P(this,void 0,(()=>ce),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ir.utc(2016,11,13,9),ir.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return P(this,t,me,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ir.utc(-40,1,1),ir.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const r=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return r?r.value:null}numberFormatter(t={}){return new B(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new V(t,this.intl,e)}relFormatter(t={}){return new Q(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let r=j[n];return r||(r=new Intl.ListFormat(t,e),j[n]=r),r}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ft()?function(t){let e=Y[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,Y[t]=e}return e}(this.locale):K}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let tt=null;class et extends Z{static get utcInstance(){return null===tt&&(tt=new et(0)),tt}static instance(t){return 0===t?et.utcInstance:new et(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new et(Vt(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Xt(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Xt(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Xt(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class nt extends Z{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function rt(t,e){if(Dt(t)||null===t)return e;if(t instanceof Z)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?C.instance:"utc"===n||"gmt"===n?et.utcInstance:et.parseSpecifier(n)||q.create(t)}return It(t)?et.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new nt(t)}let st,it=()=>Date.now(),ut="system",ot=null,at=null,ct=null,ht=60,lt=null;class dt{static get now(){return it}static set now(t){it=t}static set defaultZone(t){ut=t}static get defaultZone(){return rt(ut,C.instance)}static get defaultLocale(){return ot}static set defaultLocale(t){ot=t}static get defaultNumberingSystem(){return at}static set defaultNumberingSystem(t){at=t}static get defaultOutputCalendar(){return ct}static set defaultOutputCalendar(t){ct=t}static get defaultWeekSettings(){return lt}static set defaultWeekSettings(t){lt=Lt(t)}static get twoDigitCutoffYear(){return ht}static set twoDigitCutoffYear(t){ht=t%100}static get throwOnInvalid(){return st}static set throwOnInvalid(t){st=t}static resetCaches(){X.resetCache(),q.resetCache()}}class mt{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ft=[0,31,59,90,120,151,181,212,243,273,304,334],yt=[0,31,60,91,121,152,182,213,244,274,305,335];function gt(t,e){return new mt("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function wt(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return 0===s?7:s}function pt(t,e,n){return n+(Ut(t)?yt:ft)[e-1]}function St(t,e){const n=Ut(t)?yt:ft,r=n.findIndex((t=>t<e));return{month:r+1,day:e-n[r]}}function kt(t,e){return(t-e+7)%7+1}function Mt(t,e=4,n=1){const{year:r,month:s,day:i}=t,u=pt(r,s,i),o=kt(wt(r,s,i),n);let a,c=Math.floor((u-o+14-e)/7);return c<1?(a=r-1,c=Yt(a,e,n)):c>Yt(r,e,n)?(a=r+1,c=1):a=r,{weekYear:a,weekNumber:c,weekday:o,...te(t)}}function Tt(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,u=kt(wt(r,1,e),n),o=zt(r);let a,c=7*s+i-u-7+e;c<1?(a=r-1,c+=zt(a)):c>o?(a=r+1,c-=zt(r)):a=r;const{month:h,day:l}=St(a,c);return{year:a,month:h,day:l,...te(t)}}function Nt(t){const{year:e,month:n,day:r}=t;return{year:e,ordinal:pt(e,n,r),...te(t)}}function bt(t){const{year:e,ordinal:n}=t,{month:r,day:s}=St(e,n);return{year:e,month:r,day:s,...te(t)}}function $t(t,e){if(!Dt(t.localWeekday)||!Dt(t.localWeekNumber)||!Dt(t.localWeekYear)){if(!Dt(t.weekday)||!Dt(t.weekNumber)||!Dt(t.weekYear))throw new i("Cannot mix locale-based week fields with ISO-based week fields");return Dt(t.localWeekday)||(t.weekday=t.localWeekday),Dt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dt(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Et(t){const e=Ot(t.year),n=Ct(t.month,1,12),r=Ct(t.day,1,Jt(t.year,t.month));return e?n?!r&&gt("day",t.day):gt("month",t.month):gt("year",t.year)}function vt(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=Ct(e,0,23)||24===e&&0===n&&0===r&&0===s,u=Ct(n,0,59),o=Ct(r,0,59),a=Ct(s,0,999);return i?u?o?!a&&gt("millisecond",s):gt("second",r):gt("minute",n):gt("hour",e)}function Dt(t){return void 0===t}function It(t){return"number"==typeof t}function Ot(t){return"number"==typeof t&&t%1==0}function xt(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ft(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Wt(t,e,n){if(0!==t.length)return t.reduce(((t,r)=>{const s=[e(r),r];return t&&n(t[0],s[0])===t[0]?t:s}),null)[1]}function Zt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Lt(t){if(null==t)return null;if("object"!=typeof t)throw new o("Week settings must be an object");if(!Ct(t.firstDay,1,7)||!Ct(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Ct(t,1,7))))throw new o("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ct(t,e,n){return Ot(t)&&t>=e&&t<=n}function At(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function _t(t){return Dt(t)||null===t||""===t?void 0:parseInt(t,10)}function Ht(t){return Dt(t)||null===t||""===t?void 0:parseFloat(t)}function qt(t){if(!Dt(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function jt(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function Ut(t){return t%4==0&&(t%100!=0||t%400==0)}function zt(t){return Ut(t)?366:365}function Jt(t,e){const n=(r=e-1)-12*Math.floor(r/12)+1;var r;return 2===n?Ut(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Rt(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gt(t,e,n){return-kt(wt(t,1,e),n)+e-1}function Yt(t,e=4,n=1){const r=Gt(t,e,n),s=Gt(t+1,e,n);return(zt(t)-r+s)/7}function Pt(t){return t>99?t:t>dt.twoDigitCutoffYear?1900+t:2e3+t}function Bt(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const u={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,u).formatToParts(s).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function Vt(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function Qt(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new o(`Invalid unit value ${t}`);return e}function Kt(t,e){const n={};for(const r in t)if(Zt(t,r)){const s=t[r];if(null==s)continue;n[e(r)]=Qt(s)}return n}function Xt(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${At(n,2)}:${At(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${At(n,2)}${At(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function te(t){return function(t){return["hour","minute","second","millisecond"].reduce(((e,n)=>(e[n]=t[n],e)),{})}(t)}const ee=["January","February","March","April","May","June","July","August","September","October","November","December"],ne=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],re=["J","F","M","A","M","J","J","A","S","O","N","D"];function se(t){switch(t){case"narrow":return[...re];case"short":return[...ne];case"long":return[...ee];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ie=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ue=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],oe=["M","T","W","T","F","S","S"];function ae(t){switch(t){case"narrow":return[...oe];case"short":return[...ue];case"long":return[...ie];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ce=["AM","PM"],he=["Before Christ","Anno Domini"],le=["BC","AD"],de=["B","A"];function me(t){switch(t){case"narrow":return[...de];case"short":return[...le];case"long":return[...he];default:return null}}function fe(t,e){let n="";for(const r of t)n+=r.literal?r.val:e(r.val);return n}const ye={D:d,DD:m,DDD:y,DDDD:g,t:w,tt:p,ttt:S,tttt:k,T:M,TT:T,TTT:N,TTTT:b,f:$,ff:v,fff:O,ffff:F,F:E,FF:D,FFF:x,FFFF:W};class ge{static create(t,e={}){return new ge(t,e)}static parseFormat(t){let e=null,n="",r=!1;const s=[];for(let i=0;i<t.length;i++){const u=t.charAt(i);"'"===u?(n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),e=null,n="",r=!r):r||u===e?n+=u:(n.length>0&&s.push({literal:/^\s+$/.test(n),val:n}),n=u,e=u)}return n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),s}static macroTokenToFormatOpts(t){return ye[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return At(t,e);const n={...this.opts};return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,n)=>this.loc.extract(t,e,n),i=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",u=(e,r)=>n?function(t,e){return se(e)[t.month-1]}(t,e):s(r?{month:e}:{month:e,day:"numeric"},"month"),o=(e,r)=>n?function(t,e){return ae(e)[t.weekday-1]}(t,e):s(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),a=e=>{const n=ge.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},c=e=>n?function(t,e){return me(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return fe(ge.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return n?function(t){return ce[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return r?s({day:"numeric"},"day"):this.num(t.day);case"dd":return r?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return r?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return r?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return r?s({month:"numeric"},"month"):this.num(t.month);case"MM":return r?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return r?s({year:"numeric"},"year"):this.num(t.year);case"yy":return r?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return r?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return r?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return a(e)}}))}formatDurationFromString(t,e){const n=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},r=ge.parseFormat(e),s=r.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]);return fe(r,(t=>e=>{const r=n(e);return r?this.num(t.get(r),e.length):e})(t.shiftTo(...s.map(n).filter((t=>t)))))}}const we=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function pe(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Se(...t){return e=>t.reduce((([t,n,r],s)=>{const[i,u,o]=s(e,r);return[{...t,...i},u||n,o]}),[{},null,1]).slice(0,2)}function ke(t,...e){if(null==t)return[null,null];for(const[n,r]of e){const e=n.exec(t);if(e)return r(e)}return[null,null]}function Me(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=_t(e[n+s]);return[r,null,n+s]}}const Te=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ne=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,be=RegExp(`${Ne.source}(?:${Te.source}?(?:\\[(${we.source})\\])?)?`),$e=RegExp(`(?:T${be.source})?`),Ee=Me("weekYear","weekNumber","weekDay"),ve=Me("year","ordinal"),De=RegExp(`${Ne.source} ?(?:${Te.source}|(${we.source}))?`),Ie=RegExp(`(?: ${De.source})?`);function Oe(t,e,n){const r=t[e];return Dt(r)?n:_t(r)}function xe(t,e){return[{hours:Oe(t,e,0),minutes:Oe(t,e+1,0),seconds:Oe(t,e+2,0),milliseconds:qt(t[e+3])},null,e+4]}function Fe(t,e){const n=!t[e]&&!t[e+1],r=Vt(t[e+1],t[e+2]);return[{},n?null:et.instance(r),e+3]}function We(t,e){return[{},t[e]?q.create(t[e]):null,e+1]}const Ze=RegExp(`^T?${Ne.source}$`),Le=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ce(t){const[e,n,r,s,i,u,o,a,c]=t,h="-"===e[0],l=a&&"-"===a[0],d=(t,e=!1)=>void 0!==t&&(e||t&&h)?-t:t;return[{years:d(Ht(n)),months:d(Ht(r)),weeks:d(Ht(s)),days:d(Ht(i)),hours:d(Ht(u)),minutes:d(Ht(o)),seconds:d(Ht(a),"-0"===a),milliseconds:d(qt(c),l)}]}const Ae={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _e(t,e,n,r,s,i,u){const o={year:2===e.length?Pt(_t(e)):_t(e),month:ne.indexOf(n)+1,day:_t(r),hour:_t(s),minute:_t(i)};return u&&(o.second=_t(u)),t&&(o.weekday=t.length>3?ie.indexOf(t)+1:ue.indexOf(t)+1),o}const He=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qe(t){const[,e,n,r,s,i,u,o,a,c,h,l]=t,d=_e(e,s,r,n,i,u,o);let m;return m=a?Ae[a]:c?0:Vt(h,l),[d,new et(m)]}const je=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ue=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ze=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Je(t){const[,e,n,r,s,i,u,o]=t;return[_e(e,s,r,n,i,u,o),et.utcInstance]}function Re(t){const[,e,n,r,s,i,u,o]=t;return[_e(e,o,n,r,s,i,u),et.utcInstance]}const Ge=pe(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,$e),Ye=pe(/(\d{4})-?W(\d\d)(?:-?(\d))?/,$e),Pe=pe(/(\d{4})-?(\d{3})/,$e),Be=pe(be),Ve=Se((function(t,e){return[{year:Oe(t,e),month:Oe(t,e+1,1),day:Oe(t,e+2,1)},null,e+3]}),xe,Fe,We),Qe=Se(Ee,xe,Fe,We),Ke=Se(ve,xe,Fe,We),Xe=Se(xe,Fe,We),tn=Se(xe),en=pe(/(\d{4})-(\d\d)-(\d\d)/,Ie),nn=pe(De),rn=Se(xe,Fe,We),sn="Invalid Duration",un={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},on={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...un},an={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...un},cn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],hn=cn.slice(0).reverse();function ln(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new fn(r)}function dn(t,e){let n=e.milliseconds??0;for(const r of hn.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function mn(t,e){const n=dn(t,e)<0?-1:1;cn.reduceRight(((r,s)=>{if(Dt(e[s]))return r;if(r){const i=t[s][r],u=Math.floor(e[r]*n/i);e[s]+=u*n,e[r]-=u*i*n}return s}),null),cn.reduce(((n,r)=>{if(Dt(e[r]))return n;if(n){const s=e[n]%1;e[n]-=s,e[r]+=s*t[n][r]}return r}),null)}class fn{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?an:on;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||X.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return fn.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new o("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new fn({values:Kt(t,fn.normalizeUnit),loc:X.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(It(t))return fn.fromMillis(t);if(fn.isDuration(t))return t;if("object"==typeof t)return fn.fromObject(t);throw new o(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return ke(t,[Le,Ce])}(t);return n?fn.fromObject(n,e):fn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return ke(t,[Ze,tn])}(t);return n?fn.fromObject(n,e):fn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new o("need to specify a reason the Duration is invalid");const n=t instanceof mt?t:new mt(t,e);if(dt.throwOnInvalid)throw new s(n);return new fn({invalid:n})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new u(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const n={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ge.create(this.loc,n).formatDurationFromString(this,t):sn}toHuman(t={}){if(!this.isValid)return sn;const e=cn.map((e=>{const n=this.values[e];return Dt(n)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(n)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=jt(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();return e<0||e>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},ir.fromMillis(e,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?dn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=fn.fromDurationLike(t),n={};for(const t of cn)(Zt(e.values,t)||Zt(this.values,t))&&(n[t]=e.get(t)+this.get(t));return ln(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=fn.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=Qt(t(this.values[n],n));return ln(this,{values:e},!0)}get(t){return this[fn.normalizeUnit(t)]}set(t){return this.isValid?ln(this,{values:{...this.values,...Kt(t,fn.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:r}={}){return ln(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:r,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return mn(this.matrix,t),ln(this,{values:t},!0)}rescale(){return this.isValid?ln(this,{values:function(t){const e={};for(const[n,r]of Object.entries(t))0!==r&&(e[n]=r);return e}(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>fn.normalizeUnit(t)));const e={},n={},r=this.toObject();let s;for(const i of cn)if(t.indexOf(i)>=0){s=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;It(r[i])&&(t+=r[i]);const u=Math.trunc(t);e[i]=u,n[i]=(1e3*t-1e3*u)/1e3}else It(r[i])&&(n[i]=r[i]);for(const t in n)0!==n[t]&&(e[s]+=t===s?n[t]:n[t]/this.matrix[s][t]);return mn(this.matrix,e),ln(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ln(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const r of cn)if(n=t.values[r],!(void 0===(e=this.values[r])||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const yn="Invalid Interval";class gn{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new o("need to specify a reason the Interval is invalid");const n=t instanceof mt?t:new mt(t,e);if(dt.throwOnInvalid)throw new r(n);return new gn({invalid:n})}static fromDateTimes(t,e){const n=ur(t),r=ur(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?gn.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:gn.invalid("missing or invalid end"):gn.invalid("missing or invalid start")}(n,r);return null==s?new gn({start:n,end:r}):s}static after(t,e){const n=fn.fromDurationLike(e),r=ur(t);return gn.fromDateTimes(r,r.plus(n))}static before(t,e){const n=fn.fromDurationLike(e),r=ur(t);return gn.fromDateTimes(r.minus(n),r)}static fromISO(t,e){const[n,r]=(t||"").split("/",2);if(n&&r){let t,s,i,u;try{t=ir.fromISO(n,e),s=t.isValid}catch(r){s=!1}try{i=ir.fromISO(r,e),u=i.isValid}catch(r){u=!1}if(s&&u)return gn.fromDateTimes(t,i);if(s){const n=fn.fromISO(r,e);if(n.isValid)return gn.after(t,n)}else if(u){const t=fn.fromISO(n,e);if(t.isValid)return gn.before(i,t)}}return gn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const n=this.start.startOf(t,e);let r;return r=e?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(t,e),Math.floor(r.diff(n,t).get(t))+(r.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:e}={}){return this.isValid?gn.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(ur).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),n=[];let{s:r}=this,s=0;for(;r<this.e;){const t=e[s]||this.e,i=+t>+this.e?this.e:t;n.push(gn.fromDateTimes(r,i)),r=i,s+=1}return n}splitBy(t){const e=fn.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s:r}=this,s=1;const i=[];for(;r<this.e;){const t=this.start.plus(e.mapUnits((t=>t*s)));n=+t>+this.e?this.e:t,i.push(gn.fromDateTimes(r,n)),r=n,s+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e}equals(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return e>=n?null:gn.fromDateTimes(e,n)}union(t){return this.isValid?gn.fromDateTimes(this.s<t.s?this.s:t.s,this.e>t.e?this.e:t.e):this}static merge(t){const[e,n]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],n)=>e?e.overlaps(n)||e.abutsStart(n)?[t,e.union(n)]:[t.concat([e]),n]:[t,n]),[[],null]);return n&&e.push(n),e}static xor(t){let e=null,n=0;const r=[],s=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...s).sort(((t,e)=>t.time-e.time));for(const t of i)n+="s"===t.type?1:-1,1===n?e=t.time:(e&&+e!=+t.time&&r.push(gn.fromDateTimes(e,t.time)),e=null);return gn.merge(r)}difference(...t){return gn.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:yn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=d,e={}){return this.isValid?ge.create(this.s.loc.clone(e),t).formatInterval(this):yn}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:yn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:yn}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:yn}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:yn}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):fn.invalid(this.invalidReason)}mapEndpoints(t){return gn.fromDateTimes(t(this.s),t(this.e))}}class wn{static hasDST(t=dt.defaultZone){const e=ir.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return q.isValidZone(t)}static normalizeZone(t){return rt(t,dt.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||X.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||X.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||X.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||X.create(e,n,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||X.create(e,n,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||X.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||X.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return X.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return X.create(e,null,"gregory").eras(t)}static features(){return{relative:xt(),localeWeek:Ft()}}}function pn(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(fn.fromMillis(r).as("days"))}const Sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},kn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Mn=Sn.hanidec.replace(/[\[|\]]/g,"").split("");function Tn({numberingSystem:t},e=""){return new RegExp(`${Sn[t||"latn"]}${e}`)}function Nn(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(-1!==t[n].search(Sn.hanidec))e+=Mn.indexOf(t[n]);else for(const t in kn){const[n,s]=kn[t];r>=n&&r<=s&&(e+=r-n)}}return parseInt(e,10)}return e}(t))}}const bn=`[ ${String.fromCharCode(160)}]`,$n=new RegExp(bn,"g");function En(t){return t.replace(/\./g,"\\.?").replace($n,bn)}function vn(t){return t.replace(/\./g,"").replace($n," ").toLowerCase()}function Dn(t,e){return null===t?null:{regex:RegExp(t.map(En).join("|")),deser:([n])=>t.findIndex((t=>vn(n)===vn(t)))+e}}function In(t,e){return{regex:t,deser:([,t,e])=>Vt(t,e),groups:e}}function On(t){return{regex:t,deser:([t])=>t}}const xn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Fn=null;function Wn(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=Ln(ge.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}function Zn(t,e,n){const r=Wn(ge.parseFormat(n),t),s=r.map((e=>function(t,e){const n=Tn(e),r=Tn(e,"{2}"),s=Tn(e,"{3}"),i=Tn(e,"{4}"),u=Tn(e,"{6}"),o=Tn(e,"{1,2}"),a=Tn(e,"{1,3}"),c=Tn(e,"{1,6}"),h=Tn(e,"{1,9}"),l=Tn(e,"{2,4}"),d=Tn(e,"{4,6}"),m=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},f=(f=>{if(t.literal)return m(f);switch(f.val){case"G":return Dn(e.eras("short"),0);case"GG":return Dn(e.eras("long"),0);case"y":return Nn(c);case"yy":case"kk":return Nn(l,Pt);case"yyyy":case"kkkk":return Nn(i);case"yyyyy":return Nn(d);case"yyyyyy":return Nn(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Nn(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Nn(r);case"MMM":return Dn(e.months("short",!0),1);case"MMMM":return Dn(e.months("long",!0),1);case"LLL":return Dn(e.months("short",!1),1);case"LLLL":return Dn(e.months("long",!1),1);case"o":case"S":return Nn(a);case"ooo":case"SSS":return Nn(s);case"u":return On(h);case"uu":return On(o);case"uuu":case"E":case"c":return Nn(n);case"a":return Dn(e.meridiems(),0);case"EEE":return Dn(e.weekdays("short",!1),1);case"EEEE":return Dn(e.weekdays("long",!1),1);case"ccc":return Dn(e.weekdays("short",!0),1);case"cccc":return Dn(e.weekdays("long",!0),1);case"Z":case"ZZ":return In(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return In(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return On(/[a-z_+-/]{1,256}?/i);case" ":return On(/[^\S\n\r]/);default:return m(f)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=t,f}(e,t))),u=s.find((t=>t.invalidReason));if(u)return{input:e,tokens:r,invalidReason:u.invalidReason};{const[t,n]=function(t){return[`^${t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"")}$`,t]}(s),u=RegExp(t,"i"),[o,a]=function(t,e,n){const r=t.match(e);if(r){const t={};let e=1;for(const s in n)if(Zt(n,s)){const i=n[s],u=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(r.slice(e,e+u))),e+=u}return[r,t]}return[r,{}]}(e,u,n),[c,h,l]=a?function(t){let e,n=null;return Dt(t.z)||(n=q.create(t.z)),Dt(t.Z)||(n||(n=new et(t.Z)),e=t.Z),Dt(t.q)||(t.M=3*(t.q-1)+1),Dt(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Dt(t.u)||(t.S=qt(t.u)),[Object.keys(t).reduce(((e,n)=>{const r=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(e[r]=t[n]),e}),{}),n,e]}(a):[null,null,void 0];if(Zt(a,"a")&&Zt(a,"H"))throw new i("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:u,rawMatches:o,matches:a,result:c,zone:h,specificOffset:l}}}function Ln(t,e){if(!t)return null;const n=ge.create(e,t).dtFormatter((Fn||(Fn=ir.fromMillis(1555555555555)),Fn)),r=n.formatToParts(),s=n.resolvedOptions();return r.map((e=>function(t,e,n){const{type:r,value:s}=t;if("literal"===r){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}let i=r;"hour"===r&&(i=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let u=xn[i];if("object"==typeof u&&(u=u[e[r]]),u)return{literal:!1,val:u}}(e,t,s)))}const Cn="Invalid DateTime";function An(t){return new mt("unsupported zone",`the zone "${t.name}" is not supported`)}function _n(t){return null===t.weekData&&(t.weekData=Mt(t.c)),t.weekData}function Hn(t){return null===t.localWeekData&&(t.localWeekData=Mt(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qn(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ir({...n,...e,old:n})}function jn(t,e,n){let r=t-60*e*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=60*(s-e)*1e3;const i=n.offset(r);return s===i?[r,s]:[t-60*Math.min(s,i)*1e3,Math.max(s,i)]}function Un(t,e){const n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function zn(t,e,n){return jn(Rt(t),e,n)}function Jn(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:r,month:s,day:Math.min(t.c.day,Jt(r,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},u=fn.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=Rt(i);let[a,c]=jn(o,n,t.zone);return 0!==u&&(a+=u,c=t.zone.offset(a)),{ts:a,o:c}}function Rn(t,e,n,r,s,i){const{setZone:u,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const r=e||o,s=ir.fromObject(t,{...n,zone:r,specificOffset:i});return u?s:s.setZone(o)}return ir.invalid(new mt("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Gn(t,e,n=!0){return t.isValid?ge.create(X.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Yn(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=At(t.c.year,n?6:4),e?(r+="-",r+=At(t.c.month),r+="-",r+=At(t.c.day)):(r+=At(t.c.month),r+=At(t.c.day)),r}function Pn(t,e,n,r,s,i){let u=At(t.c.hour);return e?(u+=":",u+=At(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=":")):u+=At(t.c.minute),0===t.c.millisecond&&0===t.c.second&&n||(u+=At(t.c.second),0===t.c.millisecond&&r||(u+=".",u+=At(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!i?u+="Z":t.o<0?(u+="-",u+=At(Math.trunc(-t.o/60)),u+=":",u+=At(Math.trunc(-t.o%60))):(u+="+",u+=At(Math.trunc(t.o/60)),u+=":",u+=At(Math.trunc(t.o%60)))),i&&(u+="["+t.zone.ianaName+"]"),u}const Bn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Vn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Qn={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Kn=["year","month","day","hour","minute","second","millisecond"],Xn=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],tr=["year","ordinal","hour","minute","second","millisecond"];function er(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new u(t);return e}(t)}}function nr(t,e){const n=rt(e.zone,dt.defaultZone),r=X.fromObject(e),s=dt.now();let i,u;if(Dt(t.year))i=s;else{for(const e of Kn)Dt(t[e])&&(t[e]=Bn[e]);const e=Et(t)||vt(t);if(e)return ir.invalid(e);const r=n.offset(s);[i,u]=zn(t,r,n)}return new ir({ts:i,zone:n,loc:r,o:u})}function rr(t,e,n){const r=!!Dt(n.round)||n.round,s=(t,s)=>(t=jt(t,r||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(t,s)),i=r=>n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r);if(n.unit)return s(i(n.unit),n.unit);for(const t of n.units){const e=i(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,n.units[n.units.length-1])}function sr(t){let e,n={};return t.length>0&&"object"==typeof t[t.length-1]?(n=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[n,e]}class ir{constructor(t){const e=t.zone||dt.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new mt("invalid input"):null)||(e.isValid?null:An(e));this.ts=Dt(t.ts)?dt.now():t.ts;let r=null,s=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[r,s]=[t.old.c,t.old.o];else{const t=e.offset(this.ts);r=Un(this.ts,t),n=Number.isNaN(r.year)?new mt("invalid input"):null,r=n?null:r,s=n?null:t}this._zone=e,this.loc=t.loc||X.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new ir({})}static local(){const[t,e]=sr(arguments),[n,r,s,i,u,o,a]=e;return nr({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static utc(){const[t,e]=sr(arguments),[n,r,s,i,u,o,a]=e;return t.zone=et.utcInstance,nr({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static fromJSDate(t,e={}){const n="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(n))return ir.invalid("invalid input");const r=rt(e.zone,dt.defaultZone);return r.isValid?new ir({ts:n,zone:r,loc:X.fromObject(e)}):ir.invalid(An(r))}static fromMillis(t,e={}){if(It(t))return t<-864e13||t>864e13?ir.invalid("Timestamp out of range"):new ir({ts:t,zone:rt(e.zone,dt.defaultZone),loc:X.fromObject(e)});throw new o(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(It(t))return new ir({ts:1e3*t,zone:rt(e.zone,dt.defaultZone),loc:X.fromObject(e)});throw new o("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=rt(e.zone,dt.defaultZone);if(!n.isValid)return ir.invalid(An(n));const r=X.fromObject(e),s=Kt(t,er),{minDaysInFirstWeek:u,startOfWeek:o}=$t(s,r),a=dt.now(),c=Dt(e.specificOffset)?n.offset(a):e.specificOffset,h=!Dt(s.ordinal),l=!Dt(s.year),d=!Dt(s.month)||!Dt(s.day),m=l||d,f=s.weekYear||s.weekNumber;if((m||h)&&f)throw new i("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&h)throw new i("Can't mix ordinal dates with month/day");const y=f||s.weekday&&!m;let g,w,p=Un(a,c);y?(g=Xn,w=Vn,p=Mt(p,u,o)):h?(g=tr,w=Qn,p=Nt(p)):(g=Kn,w=Bn);let S=!1;for(const t of g)Dt(s[t])?s[t]=S?w[t]:p[t]:S=!0;const k=y?function(t,e=4,n=1){const r=Ot(t.weekYear),s=Ct(t.weekNumber,1,Yt(t.weekYear,e,n)),i=Ct(t.weekday,1,7);return r?s?!i&&gt("weekday",t.weekday):gt("week",t.weekNumber):gt("weekYear",t.weekYear)}(s,u,o):h?function(t){const e=Ot(t.year),n=Ct(t.ordinal,1,zt(t.year));return e?!n&&gt("ordinal",t.ordinal):gt("year",t.year)}(s):Et(s),M=k||vt(s);if(M)return ir.invalid(M);const T=y?Tt(s,u,o):h?bt(s):s,[N,b]=zn(T,c,n),$=new ir({ts:N,zone:n,o:b,loc:r});return s.weekday&&m&&t.weekday!==$.weekday?ir.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${$.toISO()}`):$}static fromISO(t,e={}){const[n,r]=function(t){return ke(t,[Ge,Ve],[Ye,Qe],[Pe,Ke],[Be,Xe])}(t);return Rn(n,r,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,r]=function(t){return ke(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[He,qe])}(t);return Rn(n,r,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,r]=function(t){return ke(t,[je,Je],[Ue,Je],[ze,Re])}(t);return Rn(n,r,e,"HTTP",e)}static fromFormat(t,e,n={}){if(Dt(t)||Dt(e))throw new o("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=n,i=X.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[u,a,c,h]=function(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:u}=Zn(t,e,n);return[r,s,i,u]}(i,t,e);return h?ir.invalid(h):Rn(u,a,n,`format ${e}`,t,c)}static fromString(t,e,n={}){return ir.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,r]=function(t){return ke(t,[en,Ve],[nn,rn])}(t);return Rn(n,r,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new o("need to specify a reason the DateTime is invalid");const r=t instanceof mt?t:new mt(t,e);if(dt.throwOnInvalid)throw new n(r);return new ir({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=Ln(t,X.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Wn(ge.parseFormat(t),X.fromObject(e)).map((t=>t.val)).join("")}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?_n(this).weekYear:NaN}get weekNumber(){return this.isValid?_n(this).weekNumber:NaN}get weekday(){return this.isValid?_n(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hn(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hn(this).weekYear:NaN}get ordinal(){return this.isValid?Nt(this.c).ordinal:NaN}get monthShort(){return this.isValid?wn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?wn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?wn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?wn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,n=Rt(this.c),r=this.zone.offset(n-t),s=this.zone.offset(n+t),i=this.zone.offset(n-r*e),u=this.zone.offset(n-s*e);if(i===u)return[this];const o=n-i*e,a=n-u*e,c=Un(o,i),h=Un(a,u);return c.hour===h.hour&&c.minute===h.minute&&c.second===h.second&&c.millisecond===h.millisecond?[qn(this,{ts:o}),qn(this,{ts:a})]:[this]}get isInLeapYear(){return Ut(this.year)}get daysInMonth(){return Jt(this.year,this.month)}get daysInYear(){return this.isValid?zt(this.year):NaN}get weeksInWeekYear(){return this.isValid?Yt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Yt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:r}=ge.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:r}}toUTC(t=0,e={}){return this.setZone(et.instance(t),e)}toLocal(){return this.setZone(dt.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=rt(t,dt.defaultZone)).equals(this.zone))return this;if(t.isValid){let r=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[r]=zn(n,e,t)}return qn(this,{ts:r,zone:t})}return ir.invalid(An(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return qn(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:n})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=Kt(t,er),{minDaysInFirstWeek:n,startOfWeek:r}=$t(e,this.loc),s=!Dt(e.weekYear)||!Dt(e.weekNumber)||!Dt(e.weekday),u=!Dt(e.ordinal),o=!Dt(e.year),a=!Dt(e.month)||!Dt(e.day);if((o||a||u)&&(e.weekYear||e.weekNumber))throw new i("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&u)throw new i("Can't mix ordinal dates with month/day");let c;s?c=Tt({...Mt(this.c,n,r),...e},n,r):Dt(e.ordinal)?(c={...this.toObject(),...e},Dt(e.day)&&(c.day=Math.min(Jt(c.year,c.month),c.day))):c=bt({...Nt(this.c),...e});const[h,l]=zn(c,this.o,this.zone);return qn(this,{ts:h,o:l})}plus(t){return this.isValid?qn(this,Jn(this,fn.fromDurationLike(t))):this}minus(t){return this.isValid?qn(this,Jn(this,fn.fromDurationLike(t).negate())):this}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const n={},r=fn.normalizeUnit(t);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===r)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(n.weekNumber=this.weekNumber-1),n.weekday=t}else n.weekday=1;if("quarters"===r){const t=Math.ceil(this.month/3);n.month=3*(t-1)+1}return this.set(n)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ge.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Cn}toLocaleString(t=d,e={}){return this.isValid?ge.create(this.loc.clone(e),t).formatDateTime(this):Cn}toLocaleParts(t={}){return this.isValid?ge.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i="extended"===t;let u=Yn(this,i);return u+="T",u+=Pn(this,i,e,n,r,s),u}toISODate({format:t="extended"}={}){return this.isValid?Yn(this,"extended"===t):null}toISOWeekDate(){return Gn(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(r?"T":"")+Pn(this,"extended"===i,e,t,n,s):null}toRFC2822(){return Gn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Gn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Yn(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(e||t)&&(n&&(r+=" "),e?r+="z":t&&(r+="ZZ")),Gn(this,r,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Cn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",n={}){if(!this.isValid||!t.isValid)return fn.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...n},s=(o=e,Array.isArray(o)?o:[o]).map(fn.normalizeUnit),i=t.valueOf()>this.valueOf(),u=function(t,e,n,r){let[s,i,u,o]=function(t,e,n){const r=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const n=pn(t,e);return(n-n%7)/7}],["days",pn]],s={},i=t;let u,o;for(const[a,c]of r)n.indexOf(a)>=0&&(u=a,s[a]=c(t,e),o=i.plus(s),o>e?(s[a]--,(t=i.plus(s))>e&&(o=t,s[a]--,t=i.plus(s))):t=o);return[t,s,o,u]}(t,e,n);const a=e-s,c=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===c.length&&(u<e&&(u=s.plus({[o]:1})),u!==s&&(i[o]=(i[o]||0)+a/(u-s)));const h=fn.fromObject(i,r);return c.length>0?fn.fromMillis(a,r).shiftTo(...c).plus(h):h}(i?this:t,i?t:this,s,r);var o;return i?u.negate():u}diffNow(t="milliseconds",e={}){return this.diff(ir.now(),t,e)}until(t){return this.isValid?gn.fromDateTimes(this,t):this}hasSame(t,e,n){if(!this.isValid)return!1;const r=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,n)<=r&&r<=s.endOf(e,n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||ir.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let r=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(r=t.unit,s=void 0),rr(e,this.plus(n),{...t,numeric:"always",units:r,unit:s})}toRelativeCalendar(t={}){return this.isValid?rr(t.base||ir.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ir.isDateTime))throw new o("min requires all arguments be DateTimes");return Wt(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ir.isDateTime))throw new o("max requires all arguments be DateTimes");return Wt(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:r=null,numberingSystem:s=null}=n;return Zn(X.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return ir.fromFormatExplain(t,e,n)}static get DATE_SHORT(){return d}static get DATE_MED(){return m}static get DATE_MED_WITH_WEEKDAY(){return f}static get DATE_FULL(){return y}static get DATE_HUGE(){return g}static get TIME_SIMPLE(){return w}static get TIME_WITH_SECONDS(){return p}static get TIME_WITH_SHORT_OFFSET(){return S}static get TIME_WITH_LONG_OFFSET(){return k}static get TIME_24_SIMPLE(){return M}static get TIME_24_WITH_SECONDS(){return T}static get TIME_24_WITH_SHORT_OFFSET(){return N}static get TIME_24_WITH_LONG_OFFSET(){return b}static get DATETIME_SHORT(){return $}static get DATETIME_SHORT_WITH_SECONDS(){return E}static get DATETIME_MED(){return v}static get DATETIME_MED_WITH_SECONDS(){return D}static get DATETIME_MED_WITH_WEEKDAY(){return I}static get DATETIME_FULL(){return O}static get DATETIME_FULL_WITH_SECONDS(){return x}static get DATETIME_HUGE(){return F}static get DATETIME_HUGE_WITH_SECONDS(){return W}}function ur(t){if(ir.isDateTime(t))return t;if(t&&t.valueOf&&It(t.valueOf()))return ir.fromJSDate(t);if(t&&"object"==typeof t)return ir.fromObject(t);throw new o(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function or(t="de-CH"){return new Intl.DateTimeFormat(function(t="de-CH"){const[,e]=t.split("-");return"CH"===e?"fr-CH":"BE"===e?"fr-BE":"LU"===e?"fr-LU":t}(t)).format(new Date).replace(/\p{Number}/gu,"").charAt(0)}class ar{static setTwoDigitCutoffYear(t=10){dt.twoDigitCutoffYear=(new Date).getFullYear()%100+t}static fromAnyFormat(e){const n=e.replace(/[0-9]/g,"").charAt(0),r=t(),s=(null==r?void 0:r.locale)||"de-CH",i=e.split(n),u=i.length;if(2===u){const t=(new Date).getFullYear();return new ar(ir.fromFormat(`${i[0]}${n}${i[1]}${n}${t}`,`d${n}M${n}yy`,{locale:s}))}if(3===u){if(1===i[2].length)return new ar(ir.fromFormat(`${i[0]}${n}${i[1]}${n}${2e3+parseInt(i[2],10)}`,`d${n}M${n}yy`,{locale:s}));if(""===i[2]){const t=(new Date).getFullYear();return new ar(ir.fromFormat(`${i[0]}${n}${i[1]}${n}${t}`,`d${n}M${n}yy`,{locale:s}))}}return new ar(ir.fromFormat(e,`d${n}M${n}yy`,{locale:s}))}static fromISO(t){return new ar(ir.fromISO(t||""))}static infoMonths({format:e,locale:n}={}){const r=t();return wn.months(e||"long",{locale:n||(null==r?void 0:r.locale)||"de-CH"})}static infoWeekdays({format:e,locale:n}={}){const r=t();return wn.weekdays(e,{locale:n||(null==r?void 0:r.locale)||"de-CH"})}constructor(t){this.dt=t}get isValid(){return this.dt.isValid}toISO(){return this.isValid?this.dt.toISO():""}toISODate(){return this.isValid?this.dt.toISODate():""}toFormat(){if(this.isValid){const e=t(),n=or((null==e?void 0:e.locale)||"de-CH");return this.dt.toFormat(`dd${n}MM${n}yyyy`)}return""}isBefore(t){const e=ir.fromISO(t||"");return!!e.isValid&&this.dt<e}isBeforeOrEqual(t){const e=ir.fromISO(t||"");return!!e.isValid&&this.dt<=e}isAfter(t){const e=ir.fromISO(t||"");return!!e.isValid&&this.dt>e}isAfterOrEqual(t){const e=ir.fromISO(t||"");return!!e.isValid&&this.dt>=e}get month(){if(this.isValid)return this.dt.month}get year(){if(this.isValid)return this.dt.year}}ar.setTwoDigitCutoffYear();export{ar as B,or as d}
@@ -1 +1 @@
1
- System.register(["./p-BQFHQM2n.system.js"],(function(t){"use strict";var n;return{setters:[function(t){n=t.a}],execute:function(){t("L",u);function u(){return function(t,u,e){var i=t.connectedCallback,r=t.disconnectedCallback;t.connectedCallback=function(){n.attach(this);return i&&i.call(this)};t.disconnectedCallback=function(){n.detach(this);return r&&r.call(this)}}}}}}));
1
+ System.register(["./p-K4LP7N6U.system.js"],(function(t){"use strict";var n;return{setters:[function(t){n=t.a}],execute:function(){t("L",u);function u(){return function(t,u,e){var i=t.connectedCallback,r=t.disconnectedCallback;t.connectedCallback=function(){n.attach(this);return i&&i.call(this)};t.disconnectedCallback=function(){n.detach(this);return r&&r.call(this)}}}}}}));
@@ -0,0 +1 @@
1
+ System.register(["./p-B6AwgiDg.system.js"],(function(t){"use strict";var i;return{setters:[function(t){i=t.B}],execute:function(){t("L",n);function n(){return function(t,n,s){var e=t.connectedCallback,u=t.disconnectedCallback;t.connectedCallback=function(){if(!this._balWindowResizeSubject){this._balWindowResizeSubject=new i;this._balWindowResizeSubject.attach(this)}return e&&e.call(this)};t.disconnectedCallback=function(){if(this._balWindowResizeSubject){this._balWindowResizeSubject.detach();this._balWindowResizeSubject=undefined}return u&&u.call(this)}}}}}}));