@malloy-publisher/server 0.0.137 → 0.0.139

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 (294) hide show
  1. package/dist/app/api-doc.yaml +92 -11
  2. package/dist/app/assets/HomePage-CQQtnhcv.js +1 -0
  3. package/dist/app/assets/{MainPage-gzYdjQav.js → MainPage-Me4a98WA.js} +1 -1
  4. package/dist/app/assets/{ModelPage-CUAaN3rL.js → ModelPage-B_VzcPz-.js} +1 -1
  5. package/dist/app/assets/{PackagePage-DcWkgxZq.js → PackagePage-BWJwQ0O9.js} +1 -1
  6. package/dist/app/assets/{ProjectPage-Bpgs1NvH.js → ProjectPage-CeX3CJ-3.js} +1 -1
  7. package/dist/app/assets/RouteError-Cewq7gMv.js +1 -0
  8. package/dist/app/assets/{WorkbookPage-B2aMRJtD.js → WorkbookPage-DXH5UPpT.js} +1 -1
  9. package/dist/app/assets/index-C3oq1gR3.js +465 -0
  10. package/dist/app/assets/{index-D0zwjcl_.js → index-DHv0ZYf4.js} +1 -1
  11. package/dist/app/assets/{index-CKzqCaQl.js → index-Dj2cZUxB.js} +1 -1
  12. package/dist/app/assets/{index.umd-bQQqKuZo.js → index.umd-BgVp8VMZ.js} +1 -1
  13. package/dist/app/index.html +1 -1
  14. package/dist/server.js +134 -25
  15. package/package.json +1 -1
  16. package/src/controller/model.controller.ts +27 -2
  17. package/src/mcp/resources/notebook_resource.ts +3 -3
  18. package/src/server.ts +48 -7
  19. package/src/service/model.ts +154 -41
  20. package/dist/app/assets/HomePage-Dy1B_c_L.js +0 -1
  21. package/dist/app/assets/RouteError-Cd7ol6pR.js +0 -1
  22. package/dist/app/assets/abap-BmBUA35e.es-DsBKuouk.js +0 -1
  23. package/dist/app/assets/actionscript-3-zFUbzQa9.es-D_z4Izcz.js +0 -1
  24. package/dist/app/assets/ada-CBvPkFpZ.es-727ZlQH0.js +0 -1
  25. package/dist/app/assets/andromeeda-uXNdzNpk.es-C3khCPGq.js +0 -1
  26. package/dist/app/assets/angular-html-D3aW1y6T.es-CRu3QO-y.js +0 -1
  27. package/dist/app/assets/angular-ts-Jud40GrY.es-ZQeME4ih.js +0 -1
  28. package/dist/app/assets/apache-CVNlsSDc.es-Dn00JSTd.js +0 -1
  29. package/dist/app/assets/apex-DFk3KRB1.es-COJ4H7py.js +0 -1
  30. package/dist/app/assets/apl-pE3PRTDr.es-CQSepgku.js +0 -1
  31. package/dist/app/assets/applescript-CYMR_y0g.es-Bu5BbsvL.js +0 -1
  32. package/dist/app/assets/ara-4QmU5e04.es-7O62HKoU.js +0 -1
  33. package/dist/app/assets/asciidoc-v_1bjgUg.es-BPT9niGB.js +0 -1
  34. package/dist/app/assets/asm-RC0Yh-NZ.es-Dhn9LcZ4.js +0 -1
  35. package/dist/app/assets/astro-Be6fybGX.es-fPsVT2Pm.js +0 -1
  36. package/dist/app/assets/aurora-x-BwoVEUWZ.es-D-2ljcwZ.js +0 -1
  37. package/dist/app/assets/awk-gPH8MVMW.es-eg146-Ew.js +0 -1
  38. package/dist/app/assets/ayu-dark-CxPZkpb2.es-Cv9koXgw.js +0 -1
  39. package/dist/app/assets/ballerina-kvLnRU_e.es-Du268qiB.js +0 -1
  40. package/dist/app/assets/bat-BHYy44sT.es-fje9CFhw.js +0 -1
  41. package/dist/app/assets/beancount-D-MADTs_.es-BwXTMy5W.js +0 -1
  42. package/dist/app/assets/berry-Ci9U0o4h.es-3xVqZejG.js +0 -1
  43. package/dist/app/assets/bibtex-CX618D15.es-xW4inM5L.js +0 -1
  44. package/dist/app/assets/bicep-iuYiPopT.es-DHo0CJ0O.js +0 -1
  45. package/dist/app/assets/blade-DmXp5Zcz.es-D3zQbxlG.js +0 -1
  46. package/dist/app/assets/bsl-NPX_d-bb.es-CKrxbqO6.js +0 -1
  47. package/dist/app/assets/c-DASdrs7p.es-C3t2pwGQ.js +0 -1
  48. package/dist/app/assets/cadence-BDALQi26.es-DNquZEk8.js +0 -1
  49. package/dist/app/assets/cairo-17kO8-kb.es-N2Uzg40c.js +0 -1
  50. package/dist/app/assets/catppuccin-frappe-BrTOiad2.es-CD_QflpE.js +0 -1
  51. package/dist/app/assets/catppuccin-latte-D-dc_R4m.es-DRW-0cLl.js +0 -1
  52. package/dist/app/assets/catppuccin-macchiato-DN4jOp0G.es-C-_shW-Y.js +0 -1
  53. package/dist/app/assets/catppuccin-mocha-B8yCE3-3.es-LGGdnPYs.js +0 -1
  54. package/dist/app/assets/clarity-CNgV2Ths.es-BHOwM8T6.js +0 -1
  55. package/dist/app/assets/clojure-CsKKFGwv.es-DxSadP1t.js +0 -1
  56. package/dist/app/assets/cmake-Dr-A3iJx.es-DbXoA79R.js +0 -1
  57. package/dist/app/assets/cobol-BzcJm6ie.es-BWBq31KV.js +0 -1
  58. package/dist/app/assets/codeowners-Bt9yU6NX.es-Bp6g37R7.js +0 -1
  59. package/dist/app/assets/codeql-DBNTqJi1.es-sacFqUAJ.js +0 -1
  60. package/dist/app/assets/coffee-q2iaxUnQ.es-B85jwlP6.js +0 -1
  61. package/dist/app/assets/common-lisp-r7ZEOG7T.es-C7gG9l05.js +0 -1
  62. package/dist/app/assets/coq-CB6Pv_W9.es-Dsg_Bt_b.js +0 -1
  63. package/dist/app/assets/cpp-CPQtoCcU.es-D1V2BO11.js +0 -1
  64. package/dist/app/assets/crystal-BY_Cg265.es-H3j-N6XT.js +0 -1
  65. package/dist/app/assets/csharp-CYWRhZ2R.es-D9R-vmeu.js +0 -1
  66. package/dist/app/assets/css-D1aVdRIU.es-BPhBrDlE.js +0 -1
  67. package/dist/app/assets/csv-DvCncUGQ.es-C-TU5hQ_.js +0 -1
  68. package/dist/app/assets/cue-BXMrmvay.es-DtFQj3wx.js +0 -1
  69. package/dist/app/assets/cypher-DTm5zNR1.es-m2LEI-9-.js +0 -1
  70. package/dist/app/assets/d-D6ZXmn3l.es-BoXegm-a.js +0 -1
  71. package/dist/app/assets/dark-plus-pUHDTVV0.es-C3mMm8J8.js +0 -1
  72. package/dist/app/assets/dart-Dz59Is3F.es-B9wLZaAG.js +0 -1
  73. package/dist/app/assets/dax-DTVGzydb.es-ClGRhx96.js +0 -1
  74. package/dist/app/assets/desktop-Db9vb-dl.es-DEIpsLCJ.js +0 -1
  75. package/dist/app/assets/diff-XmNrvgM1.es-BgYniUM_.js +0 -1
  76. package/dist/app/assets/docker-DWH2onkn.es-COcR7UxN.js +0 -1
  77. package/dist/app/assets/dotenv-4337wvzu.es-BjQB5zDj.js +0 -1
  78. package/dist/app/assets/dracula-BtZx2Kac.es-BzJJZx-M.js +0 -1
  79. package/dist/app/assets/dracula-soft-BKa-aqBv.es-BXkSAIEj.js +0 -1
  80. package/dist/app/assets/dream-maker-CvvfrJSx.es-C-nORZOA.js +0 -1
  81. package/dist/app/assets/edge-DI6_BHKG.es-CysQ3joS.js +0 -1
  82. package/dist/app/assets/elixir-ic9y5jcd.es-BhdVfZIc.js +0 -1
  83. package/dist/app/assets/elm-DxnUqUaW.es-BM2_y8XT.js +0 -1
  84. package/dist/app/assets/emacs-lisp-BAefI874.es-BX77sIaO.js +0 -1
  85. package/dist/app/assets/erb-Cbj2YePa.es-DRu4t7o3.js +0 -1
  86. package/dist/app/assets/erlang-CmIiwF3I.es-B-DoSBHF.js +0 -1
  87. package/dist/app/assets/everforest-dark-DMCBqXCK.es-BgDCqdQA.js +0 -1
  88. package/dist/app/assets/everforest-light-BbXl82Em.es-C8M2exoo.js +0 -1
  89. package/dist/app/assets/fennel-DNqkz9pE.es-bCA53EVm.js +0 -1
  90. package/dist/app/assets/fish-DIm72t2T.es-w-ucz2PV.js +0 -1
  91. package/dist/app/assets/fluent-BapTxJsC.es-Dayu4EKP.js +0 -1
  92. package/dist/app/assets/fortran-fixed-form-DECY15PY.es-DU-ZL2d9.js +0 -1
  93. package/dist/app/assets/fortran-free-form-CNDsBFUj.es-DKXYxT9g.js +0 -1
  94. package/dist/app/assets/fsharp-D2ZqviWP.es-BxlBxsP5.js +0 -1
  95. package/dist/app/assets/gdresource-RIsK8sku.es-B20oF6eU.js +0 -1
  96. package/dist/app/assets/gdscript-D7aheHm-.es-DfxzS6Rs.js +0 -1
  97. package/dist/app/assets/gdshader-BGJEsM2Z.es-SKMF96pI.js +0 -1
  98. package/dist/app/assets/genie-C9gPjc6J.es-ajMbGru0.js +0 -1
  99. package/dist/app/assets/gherkin-bka1Exbx.es--30QC5Em.js +0 -1
  100. package/dist/app/assets/git-commit-BRJ1E4Bx.es-BbGpbqw6.js +0 -1
  101. package/dist/app/assets/git-rebase-C3X7aMpn.es-BtbFLN_-.js +0 -1
  102. package/dist/app/assets/github-dark-DenFmJkN.es-DHJKELXO.js +0 -1
  103. package/dist/app/assets/github-dark-default-BJPUVz4H.es-Cuk6v7N8.js +0 -1
  104. package/dist/app/assets/github-dark-dimmed-DUshB20C.es-DH5Ifo-i.js +0 -1
  105. package/dist/app/assets/github-dark-high-contrast-D3aGCnF8.es-E3gJ1_iC.js +0 -1
  106. package/dist/app/assets/github-light-JYsPkUQd.es-DAi9KRSo.js +0 -1
  107. package/dist/app/assets/github-light-default-D99KPAby.es-D7oLnXFd.js +0 -1
  108. package/dist/app/assets/github-light-high-contrast-BbmZE-Mp.es-BfjtVDDH.js +0 -1
  109. package/dist/app/assets/gleam-B4k9YFGD.es-B430Bg39.js +0 -1
  110. package/dist/app/assets/glimmer-js-C4MQf3Na.es-BEVrinj1.js +0 -1
  111. package/dist/app/assets/glimmer-ts-CoYpqZrZ.es-BREYyOZ9.js +0 -1
  112. package/dist/app/assets/glsl-BYTq1Tfl.es-ELtdM8O0.js +0 -1
  113. package/dist/app/assets/gnuplot-DnWoRZt-.es-CM8KxXT1.js +0 -1
  114. package/dist/app/assets/go-BErP6iv1.es-B1SYOhNW.js +0 -1
  115. package/dist/app/assets/graphql-g3nHRc0M.es-DSxiSR3X.js +0 -1
  116. package/dist/app/assets/groovy-IWs5-NIO.es-DkBy-JyN.js +0 -1
  117. package/dist/app/assets/hack-wPAsyujS.es-BZgRSYeF.js +0 -1
  118. package/dist/app/assets/haml-4TJ757dz.es-DgP9dPqU.js +0 -1
  119. package/dist/app/assets/handlebars-7GDLw__F.es-9gasINI1.js +0 -1
  120. package/dist/app/assets/haskell-CtlGos0K.es-BILxekzW.js +0 -1
  121. package/dist/app/assets/haxe-CZZ33vZw.es-C5wWYbrZ.js +0 -1
  122. package/dist/app/assets/hcl-6hOg9WP4.es-HzYwdGDm.js +0 -1
  123. package/dist/app/assets/hjson-CgwED-oz.es-T-Tgc4AT.js +0 -1
  124. package/dist/app/assets/hlsl-3-lv4gi7.es-ifBTmRxC.js +0 -1
  125. package/dist/app/assets/houston-BDYrDoDW.es-DnULxvSX.js +0 -1
  126. package/dist/app/assets/html-PSPajZka.es-BayZgXUb.js +0 -1
  127. package/dist/app/assets/html-derivative-Brb3b4aI.es-BOeRDW72.js +0 -1
  128. package/dist/app/assets/http-CWBcr-Ch.es-BydQIEc3.js +0 -1
  129. package/dist/app/assets/hxml-DLduiIv3.es-KtyOMmRZ.js +0 -1
  130. package/dist/app/assets/hy-C2xHhR6I.es-BMj5Y0dO.js +0 -1
  131. package/dist/app/assets/imba-BEYqRZzB.es-CMdLgtbc.js +0 -1
  132. package/dist/app/assets/index-CpcugJHa.js +0 -447
  133. package/dist/app/assets/ini-BUcvsX-U.es-BjABl1g7.js +0 -1
  134. package/dist/app/assets/java-B7odJ7Ap.es-xI-RfyKK.js +0 -1
  135. package/dist/app/assets/javascript-fa8UlHZE.es-ySlJ1b_l.js +0 -1
  136. package/dist/app/assets/jinja-DKLHYjK0.es-Bc5vrI9a.js +0 -1
  137. package/dist/app/assets/jison-CzPfUIvM.es-FIbl5Mke.js +0 -1
  138. package/dist/app/assets/json-71t8ZF9g.es-BQoSv7ci.js +0 -1
  139. package/dist/app/assets/json5-Z7F6rA6a.es-w8dY5SsB.js +0 -1
  140. package/dist/app/assets/jsonc-Dphhs4m2.es-TU54ms6u.js +0 -1
  141. package/dist/app/assets/jsonl-D9jj92Gg.es-DREVFZK8.js +0 -1
  142. package/dist/app/assets/jsonnet-DEQ7IUoJ.es-BfivnA6A.js +0 -1
  143. package/dist/app/assets/jssm-j74e88UX.es-P4WzXJd0.js +0 -1
  144. package/dist/app/assets/jsx-Bkesy5tT.es-BAng5TT0.js +0 -1
  145. package/dist/app/assets/julia-B_r6juN7.es-UTBdB3hN.js +0 -1
  146. package/dist/app/assets/kanagawa-dragon-CiKur4Hl.es-CkXjmgJE.js +0 -1
  147. package/dist/app/assets/kanagawa-lotus-BKu-smKu.es-CfQXZHmo.js +0 -1
  148. package/dist/app/assets/kanagawa-wave-CQwozSzG.es-DWedfzmr.js +0 -1
  149. package/dist/app/assets/kotlin-DCgZY7Ii.es-B5lbUyaz.js +0 -1
  150. package/dist/app/assets/kusto-Cw029H-v.es-mebxcVVE.js +0 -1
  151. package/dist/app/assets/laserwave-6a00oqik.es-DUszq2jm.js +0 -1
  152. package/dist/app/assets/latex-GxBxlqbc.es-BIcleNUg.js +0 -1
  153. package/dist/app/assets/lean-CYSet4vs.es-XBlWyCtg.js +0 -1
  154. package/dist/app/assets/less-DQA4v-Nm.es-BfCpw3nA.js +0 -1
  155. package/dist/app/assets/light-plus-CZuVqSLX.es-B7mTdjB0.js +0 -1
  156. package/dist/app/assets/liquid-BxBkR-z5.es-BPU8qCnT.js +0 -1
  157. package/dist/app/assets/log-D2eRfqDn.es-Cc5clBb7.js +0 -1
  158. package/dist/app/assets/logo-QEAtGWZ9.es-IuBKFhSY.js +0 -1
  159. package/dist/app/assets/lua-DeXVjwzF.es-Dr4fCD2G.js +0 -1
  160. package/dist/app/assets/luau-BjYGiqID.es-Du5NY7AG.js +0 -1
  161. package/dist/app/assets/make-BjuHP00g.es-Bvotw-X0.js +0 -1
  162. package/dist/app/assets/markdown-B6guhLWd.es-UIAJJxZW.js +0 -1
  163. package/dist/app/assets/marko-DwPYPpB3.es-DWcUhJ8-.js +0 -1
  164. package/dist/app/assets/material-theme-D6KBX41T.es-D5KoaKCx.js +0 -1
  165. package/dist/app/assets/material-theme-darker-CkRroheE.es-BfHTSMKl.js +0 -1
  166. package/dist/app/assets/material-theme-lighter-BUBw43Yz.es-B0m2ddpp.js +0 -1
  167. package/dist/app/assets/material-theme-ocean-ClGX14Ja.es-CyktbL80.js +0 -1
  168. package/dist/app/assets/material-theme-palenight-C1RVm8K1.es-Csfq5Kiy.js +0 -1
  169. package/dist/app/assets/matlab-BpQlIJiw.es-D9-PGadD.js +0 -1
  170. package/dist/app/assets/mdc-X4YjkufV.es-CkjSLJEI.js +0 -1
  171. package/dist/app/assets/mdx-DIoECIFU.es-sdHcTMYB.js +0 -1
  172. package/dist/app/assets/mermaid-BZ7WHNIe.es-Ci6OQyBP.js +0 -1
  173. package/dist/app/assets/min-dark-C7ak0t6c.es-CafNBF8u.js +0 -1
  174. package/dist/app/assets/min-light-CKFxVcPp.es-CTRr51gU.js +0 -1
  175. package/dist/app/assets/mipsasm-DusDYkFc.es-BC5c_5Pe.js +0 -1
  176. package/dist/app/assets/mojo-CY9jaezJ.es-Tz6hzZYG.js +0 -1
  177. package/dist/app/assets/monokai-C1KBYcO0.es-D4h5O-jR.js +0 -1
  178. package/dist/app/assets/move-ChphFumd.es-DB_GagMm.js +0 -1
  179. package/dist/app/assets/narrat-Dz4d7OmN.es-DLbgOhZU.js +0 -1
  180. package/dist/app/assets/nextflow-DW0Yq9a2.es-B0XVJmRM.js +0 -1
  181. package/dist/app/assets/nginx-ChI-VqNT.es-DWZcbbz-.js +0 -1
  182. package/dist/app/assets/night-owl-Bm2rzalh.es-C39BiMTA.js +0 -1
  183. package/dist/app/assets/nim-BiJA-5u7.es-znXiz4wV.js +0 -1
  184. package/dist/app/assets/nix-Cg5uV_xg.es-shcSOmrb.js +0 -1
  185. package/dist/app/assets/nord-CC5OiUXg.es-Ddv68eIx.js +0 -1
  186. package/dist/app/assets/nushell-BfRnzRWn.es-D4Tzg5kh.js +0 -1
  187. package/dist/app/assets/objective-c-BGg9R27G.es-Deuh7S70.js +0 -1
  188. package/dist/app/assets/objective-cpp-CJ3y3V_5.es-BUEGK8hf.js +0 -1
  189. package/dist/app/assets/ocaml-BZLsfx_o.es-BNioltXt.js +0 -1
  190. package/dist/app/assets/one-dark-pro-D7-kP8fv.es-GBQ2dnAY.js +0 -1
  191. package/dist/app/assets/one-light-D9sNaUtq.es-PoHY5YXO.js +0 -1
  192. package/dist/app/assets/pascal-l2bqd7Dz.es-JqZropPD.js +0 -1
  193. package/dist/app/assets/perl-CkXYjL3t.es-BGcPZ9HO.js +0 -1
  194. package/dist/app/assets/php-q40Yjh5d.es-BkXnuPYP.js +0 -1
  195. package/dist/app/assets/plastic-CSTz3KZp.es-3e1v2bzS.js +0 -1
  196. package/dist/app/assets/plsql-oVq_K_wH.es-LKU2TuZ1.js +0 -1
  197. package/dist/app/assets/po-5jaeIyVd.es-BFLt1xDp.js +0 -1
  198. package/dist/app/assets/poimandres-C-VADXHD.es-CS3Unz2-.js +0 -1
  199. package/dist/app/assets/polar-wcLp8ci7.es-DKykz6zU.js +0 -1
  200. package/dist/app/assets/postcss-BZ3MNRIJ.es-B3ZDOciz.js +0 -1
  201. package/dist/app/assets/powerquery-CgRa2XRw.es-CSHBycmS.js +0 -1
  202. package/dist/app/assets/powershell-Diwyv8Eh.es-BIEUsx6d.js +0 -1
  203. package/dist/app/assets/prisma-COL_v1x4.es-B48N-Iqd.js +0 -1
  204. package/dist/app/assets/prolog-CuvJOxqT.es-BY-TUvya.js +0 -1
  205. package/dist/app/assets/proto-o9HLmF90.es-zocC4JxJ.js +0 -1
  206. package/dist/app/assets/pug-Br4hpvIv.es-DSNbVJpq.js +0 -1
  207. package/dist/app/assets/puppet-wpGOnQp5.es-Cza_XSSt.js +0 -1
  208. package/dist/app/assets/purescript-B_1NgE2N.es-Bg-kzb6g.js +0 -1
  209. package/dist/app/assets/python-xYxLFJY-.es-DhUJRlN_.js +0 -1
  210. package/dist/app/assets/qml-D5gi21kK.es-DPPvKkcg.js +0 -1
  211. package/dist/app/assets/qmldir-BInDYbpo.es-C8lEn-DE.js +0 -1
  212. package/dist/app/assets/qss-D-h4NdUG.es-DhMKtDLN.js +0 -1
  213. package/dist/app/assets/r-F-9I-ITZ.es-CwjWoCRV.js +0 -1
  214. package/dist/app/assets/racket-BoD1TBFT.es-CzouJOBO.js +0 -1
  215. package/dist/app/assets/raku-IaYcw19m.es-B1bQXN8T.js +0 -1
  216. package/dist/app/assets/razor-Bt_t1YJb.es-CZnAzo4o.js +0 -1
  217. package/dist/app/assets/red-7y8PH7HH.es-bN70gL4F.js +0 -1
  218. package/dist/app/assets/reg-CMUdAgIP.es-5LuOXUq_.js +0 -1
  219. package/dist/app/assets/regexp-GiFkbxS-.es-DWJ3fJO_.js +0 -1
  220. package/dist/app/assets/rel-BaRn3QX7.es-DJlmqQ1C.js +0 -1
  221. package/dist/app/assets/riscv-B9V3SsvW.es-QhoSD0DR.js +0 -1
  222. package/dist/app/assets/rose-pine-DhT-HZE9.es-CmCqftbK.js +0 -1
  223. package/dist/app/assets/rose-pine-dawn-DiCjL2i4.es-Ds-gbosJ.js +0 -1
  224. package/dist/app/assets/rose-pine-moon-BNmGHlcn.es-CjDtw9vr.js +0 -1
  225. package/dist/app/assets/rst-BmKw97ch.es-CR4pK9fb.js +0 -1
  226. package/dist/app/assets/ruby-cs7BSa_9.es-CPbNUT0O.js +0 -1
  227. package/dist/app/assets/rust-Pc7DCsZD.es-Be6lgOlo.js +0 -1
  228. package/dist/app/assets/sas-DgvHx4mL.es-CucEgNpN.js +0 -1
  229. package/dist/app/assets/sass-iCyS6eP9.es-BJ4Li9vH.js +0 -1
  230. package/dist/app/assets/scala-Cly-fENF.es-DQVVAn-B.js +0 -1
  231. package/dist/app/assets/scheme-Zi24oEYu.es-BJGe-b2p.js +0 -1
  232. package/dist/app/assets/scss-B_hSZppj.es-BurBaP11.js +0 -1
  233. package/dist/app/assets/sdbl-BBamrXFL.es-BLhTXw86.js +0 -1
  234. package/dist/app/assets/shaderlab-U9mqcu_f.es-BbQCwWDD.js +0 -1
  235. package/dist/app/assets/shellscript-Dn0-btNd.es-atvbtKCR.js +0 -1
  236. package/dist/app/assets/shellsession-LvXGClmj.es-BA33EWkN.js +0 -1
  237. package/dist/app/assets/slack-dark-i7wN4OET.es-BthQWCQV.js +0 -1
  238. package/dist/app/assets/slack-ochin-ndHf0LoP.es-DqwNpetd.js +0 -1
  239. package/dist/app/assets/smalltalk-Cns31tKw.es-DkLiglaE.js +0 -1
  240. package/dist/app/assets/snazzy-light-BlSJXAu4.es-Bw305WKR.js +0 -1
  241. package/dist/app/assets/solarized-dark-UTmkh7lw.es-DXbdFlpD.js +0 -1
  242. package/dist/app/assets/solarized-light-BheCkDPT.es-L9t79GZl.js +0 -1
  243. package/dist/app/assets/solidity-BG_k8fA_.es-C1w2a3ep.js +0 -1
  244. package/dist/app/assets/soy-C0yEn39K.es-BwliuvcW.js +0 -1
  245. package/dist/app/assets/sparql-CuZaxpno.es-DA2vjzn9.js +0 -1
  246. package/dist/app/assets/splunk-CTqDjQdo.es-Cf8iN4DR.js +0 -1
  247. package/dist/app/assets/sql-DCkt643-.es-COK4E0Yg.js +0 -1
  248. package/dist/app/assets/ssh-config-DHHGll-v.es-BknIz3MU.js +0 -1
  249. package/dist/app/assets/stata-Dv81f34z.es-CMwo8ydZ.js +0 -1
  250. package/dist/app/assets/stylus-n_9f0QQ5.es-BeQkCIfX.js +0 -1
  251. package/dist/app/assets/svelte-SoJd35Jr.es-CClskEeK.js +0 -1
  252. package/dist/app/assets/swift-BAWqNR8A.es-BSxZ-RaX.js +0 -1
  253. package/dist/app/assets/synthwave-84-NU3C_KFZ.es-CbfX1IO0.js +0 -1
  254. package/dist/app/assets/system-verilog-Cui-g-ut.es-C7L56vO4.js +0 -1
  255. package/dist/app/assets/systemd-CsKYQIQK.es-CUnW07Te.js +0 -1
  256. package/dist/app/assets/talonscript-D2dGh8FO.es-C1XDQQGZ.js +0 -1
  257. package/dist/app/assets/tasl-D3W8HMV6.es-CQjiPCtT.js +0 -1
  258. package/dist/app/assets/tcl-2y0Fuc4S.es-DQ1-QYvQ.js +0 -1
  259. package/dist/app/assets/templ-C7he2afp.es-DoaZGgQ7.js +0 -1
  260. package/dist/app/assets/terraform-BGW6Oerf.es-BbSNqyBO.js +0 -1
  261. package/dist/app/assets/tex-B0y3cEZp.es-sNFHINbC.js +0 -1
  262. package/dist/app/assets/tokyo-night-LhP3hHhi.es-DBQeEorK.js +0 -1
  263. package/dist/app/assets/toml-CQSfOn0e.es-CB2ApiWb.js +0 -1
  264. package/dist/app/assets/ts-tags-C5-4VQhf.es-BAFqzONk.js +0 -1
  265. package/dist/app/assets/tsv-BtvSkaG0.es-B_m7g4N7.js +0 -1
  266. package/dist/app/assets/tsx-DiGsgWT8.es-B6W0miNI.js +0 -1
  267. package/dist/app/assets/turtle-BJ2wmjPc.es-BMR_PYu6.js +0 -1
  268. package/dist/app/assets/twig-OmkATFdv.es-Bjz-OhEW.js +0 -1
  269. package/dist/app/assets/typescript-buWNZFwO.es-Dj6nwHGl.js +0 -1
  270. package/dist/app/assets/typespec-bLbdsxJL.es-BpWG_bgh.js +0 -1
  271. package/dist/app/assets/typst-Y9_SmXTs.es-BVUVsWT6.js +0 -1
  272. package/dist/app/assets/v-wa8Orrdd.es-CAQ2eGtk.js +0 -1
  273. package/dist/app/assets/vala-DRdriFr_.es-BFOHcciG.js +0 -1
  274. package/dist/app/assets/vb-E2_-jk4M.es-CdO5JTpU.js +0 -1
  275. package/dist/app/assets/verilog-B1iBoR5_.es-CJaU5se_.js +0 -1
  276. package/dist/app/assets/vesper-CJsaOsSM.es-BEBZ7ncR.js +0 -1
  277. package/dist/app/assets/vhdl-CRVaAhXk.es-DYoNaHQp.js +0 -1
  278. package/dist/app/assets/viml-B-zWOd7Z.es-m4uW47V2.js +0 -1
  279. package/dist/app/assets/vitesse-black-BoGvW84i.es-Bkuqu6BP.js +0 -1
  280. package/dist/app/assets/vitesse-dark-Cym-eLtO.es-D0r3Knsf.js +0 -1
  281. package/dist/app/assets/vitesse-light-CcmG315c.es-CVO1_9PV.js +0 -1
  282. package/dist/app/assets/vue-DCwwWMGI.es-Ctq8hiPI.js +0 -1
  283. package/dist/app/assets/vue-html-sRE_Ny23.es-By6muIb_.js +0 -1
  284. package/dist/app/assets/vyper-DWutKXpa.es-nyqBNV6O.js +0 -1
  285. package/dist/app/assets/wasm-Bv5f0gKv.es-C6j12Q_x.js +0 -1
  286. package/dist/app/assets/wenyan-BMYnfus1.es-7A4Fjokl.js +0 -1
  287. package/dist/app/assets/wgsl-DnPoPGDU.es-CB0Krxn9.js +0 -1
  288. package/dist/app/assets/wikitext-CntM04PE.es-DCE3LsBG.js +0 -1
  289. package/dist/app/assets/wolfram-Ws5qPlX9.es-C3FkfJm5.js +0 -1
  290. package/dist/app/assets/xml-Ch1q_kJp.es-af2B2Zxm.js +0 -1
  291. package/dist/app/assets/xsl-DyL8yqXw.es-DIeMqyL3.js +0 -1
  292. package/dist/app/assets/yaml-Bbg74JKr.es-CVw76BM1.js +0 -1
  293. package/dist/app/assets/zenscript-C0RKE4nU.es-HnGAYVZD.js +0 -1
  294. package/dist/app/assets/zig-D6SXBGNm.es-BVz_zdnA.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as I0,W as Mp}from"./index-CpcugJHa.js";function qp(a,d){for(var y=0;y<d.length;y++){const m=d[y];if(typeof m!="string"&&!Array.isArray(m)){for(const h in m)if(h!=="default"&&!(h in a)){const u=Object.getOwnPropertyDescriptor(m,h);u&&Object.defineProperty(a,h,u.get?u:{enumerable:!0,get:()=>m[h]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var Cr={},ct={},Xe={},Ma;function pe(){if(Ma)return Xe;Ma=1;/*!
1
+ import{U as I0,V as Mp}from"./index-C3oq1gR3.js";function qp(a,d){for(var y=0;y<d.length;y++){const m=d[y];if(typeof m!="string"&&!Array.isArray(m)){for(const h in m)if(h!=="default"&&!(h in a)){const u=Object.getOwnPropertyDescriptor(m,h);u&&Object.defineProperty(a,h,u.get?u:{enumerable:!0,get:()=>m[h]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var Cr={},ct={},Xe={},Ma;function pe(){if(Ma)return Xe;Ma=1;/*!
2
2
  * Copyright 2016 The ANTLR Project. All rights reserved.
3
3
  * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
4
4
  */Object.defineProperty(Xe,"__esModule",{value:!0}),Xe.SuppressWarnings=Xe.Override=Xe.Nullable=Xe.NotNull=void 0;function a(h,u,r){}Xe.NotNull=a;function d(h,u,r){}Xe.Nullable=d;function y(h,u,r){}Xe.Override=y;function m(h){return(u,r,o)=>{}}return Xe.SuppressWarnings=m,Xe}var qa;function jp(){if(qa)return ct;qa=1;/*!
@@ -1,4 +1,4 @@
1
- import{K as gL,r as T,j as R,L as Mt,R as YR,Q as KR,U as as}from"./index-CpcugJHa.js";import{r as Jl,a as by,b as Ry,c as Xl,d as Zl,e as Ty,f as wy,g as Dy,h as Ly,j as Fy,k as Oy,l as Ny,m as Iy,n as ky,o as e0,p as t0,q as r0,s as n0,t as JR,u as yL,v as it}from"./index-D0zwjcl_.js";import{a as E1}from"./index.umd-bQQqKuZo.js";var oo={},ug={},hr={},lg={},pC;function Ke(){return pC||(pC=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TD=e.ValueType=void 0,e.exprHasKids=t,e.exprHasE=r,e.exprIsLeaf=i,e.isAsymmetricExpr=a,e.mkTemporal=c,e.isRawCast=x,e.isFilterExprType=u,e.isParameterType=f,e.paramHasValue=d,e.expressionIsScalar=m,e.expressionIsAggregate=h,e.expressionIsUngroupedAggregate=p,e.expressionInvolvesAggregate=l,e.expressionIsCalculation=_,e.expressionIsAnalytic=E,e.isExpressionTypeLEQ=v,e.maxExpressionType=A,e.maxOfExpressionTypes=C,e.hasExpression=S,e.isTemporalType=w,e.isAtomicFieldType=D,e.canOrderBy=O,e.isCastType=N,e.fieldIsIntrinsic=I,e.mkFieldDef=M,e.mkArrayDef=P,e.isRepeatedRecordFunctionParam=H,e.isRepeatedRecord=q,e.isRecordOrRepeatedRecord=F,e.isBasicArray=V,e.isMatrixOperation=Y,e.isJoinable=de,e.isJoined=G,e.isJoinedSource=J,e.isDateUnit=te,e.isTimestampUnit=se,e.isExtractUnit=X,e.refIsStructDef=ae,e.segmentHasErrors=Ce,e.structHasErrors=he,e.isReduceSegment=j,e.isPartialSegment=Z,e.isProjectSegment=xe,e.isQuerySegment=ie,e.isSamplingRows=Se,e.isSamplingPercent=De,e.isSamplingEnable=be,e.isRawSegment=Te,e.isIndexSegment=Ie,e.bareFieldUsage=Qe,e.isSegmentSQL=Je,e.sourceBase=Ze,e.isSourceDef=tt,e.isBaseTable=dt,e.isLiteral=Wt,e.mergeEvalSpaces=cr,e.isBasicAtomic=Nt,e.getIdentifier=xr,e.isTurtle=Nr,e.isAtomic=Qt,e.isValueString=dr,e.isValueNumber=br,e.isValueBoolean=vr,e.isValueTimestamp=fr,e.isValueDate=oe,e.mergeUniqueKeyRequirement=fe;function t(z){return"kids"in z}function r(z){return"e"in z}function i(z){return!(t(z)||r(z))}function a(z){return z.node==="aggregate"&&["sum","avg","count","distinct"].includes(z.function)}function o(z){return z.node!=="arrayLiteral"&&z.node!=="recordLiteral"}function c(z,ge){if(!("typeDef"in z)){const Fe=typeof ge=="string"?{type:ge}:ge;if(o(z))return{...z,typeDef:{...Fe}}}return z}function x(z){return"dstSQLType"in z}function u(z){return["string","number","boolean","date","timestamp"].includes(z)}function f(z){return["string","number","boolean","date","timestamp","filter expression","error"].includes(z)}function d(z){return z.value!==null}function m(z){return z===void 0||z==="scalar"}function h(z){return z==="aggregate"||z==="ungrouped_aggregate"}function p(z){return z==="ungrouped_aggregate"}function l(z){return z==="aggregate"||z==="ungrouped_aggregate"||z==="aggregate_analytic"}function _(z){return z==="aggregate"||z==="scalar_analytic"||z==="aggregate_analytic"||z==="ungrouped_aggregate"}function E(z){return z==="aggregate_analytic"||z==="scalar_analytic"}function y(z){return{scalar:0,aggregate:1,ungrouped_aggregate:2,scalar_analytic:2,aggregate_analytic:3}[z]}function v(z,ge){return z===ge||y(z)<y(ge)}function A(z,ge){let Fe="scalar";return(z==="aggregate"||ge==="aggregate")&&(Fe="aggregate"),(z==="ungrouped_aggregate"||ge==="ungrouped_aggregate")&&(Fe="ungrouped_aggregate"),(z==="scalar_analytic"||ge==="scalar_analytic")&&(Fe="scalar_analytic"),(z==="aggregate_analytic"||ge==="aggregate_analytic")&&(Fe="aggregate_analytic"),(z==="scalar_analytic"&&ge==="aggregate"||z==="aggregate"&&ge==="scalar_analytic")&&(Fe="aggregate_analytic"),Fe}function C(z){return z.reduce(A,"scalar")}function S(z){return"e"in z&&z.e!==void 0}function w(z){return z==="date"||z==="timestamp"}function D(z){return["string","number","date","timestamp","boolean","json","sql native","record","array","error"].includes(z)}function O(z){return["string","number","date","boolean","date","timestamp"].includes(z)}function N(z){return["string","number","date","timestamp","boolean","json"].includes(z)}function I(z){return D(z.type)&&!S(z)}function M(z,ge){if(V(z))return P(z.elementTypeDef,ge);if(q(z)){const{type:ke,fields:He,elementTypeDef:ot}=z;return{type:ke,fields:He,elementTypeDef:ot,join:"many",name:ge}}if(z.type==="record"){const{type:ke,fields:He}=z;return{type:ke,fields:He,join:"one",name:ge}}const Fe={name:ge,type:z.type};switch(z.type){case"sql native":return{...Fe,rawType:z.rawType};case"number":{const ke=z.numberType;return ke?{...Fe,numberType:ke}:Fe}case"date":{const ke=z.timeframe;return ke?{name:ge,type:"date",timeframe:ke}:Fe}case"timestamp":{const ke=z.timeframe;return ke?{name:ge,type:"timestamp",timeframe:ke}:Fe}}return Fe}function P(z,ge){if(z.type==="record")return{type:"array",join:"many",name:ge,elementTypeDef:{type:"record_element"},fields:z.fields};const Fe=M(z,"value");return{type:"array",join:"many",name:ge,elementTypeDef:z,fields:[Fe,{...Fe,name:"each",e:{node:"field",path:["value"]}}]}}function H(z){return z.type==="array"&&z.elementTypeDef.type==="record_element"}function q(z){return z.type==="array"&&z.elementTypeDef.type==="record_element"}function F(z){return z.type==="record"||z.type==="array"&&"elementTypeDef"in z&&z.elementTypeDef.type==="record_element"}function V(z){return z.type==="array"&&z.elementTypeDef.type!=="record_element"}function Y(z){return["left","right","full","inner"].includes(z)}function de(z){return["composite","table","sql_select","query_source","array","record"].includes(z.type)}function G(z){return"join"in z}function J(z){return tt(z)&&G(z)}function te(z){return["day","week","month","quarter","year"].includes(z)}function se(z){return te(z)||["hour","minute","second"].includes(z)}function X(z){return se(z)||z==="day_of_week"||z==="day_of_year"}var ce;(function(z){z.Date="date",z.Timestamp="timestamp",z.Number="number",z.String="string"})(ce||(e.ValueType=ce={}));function ae(z){return typeof z!="string"}function Ce(z){return!!((z.type==="reduce"||z.type==="project"||z.type==="partial")&&(z.extendSource&&z.extendSource.some(ge=>ge.type==="error")||z.queryFields.some(ge=>ge.type==="error")))}function he(z){return z.fields.some(ge=>ge.type==="error")}function j(z){return z.type==="reduce"}function Z(z){return z.type==="partial"}function xe(z){return z.type==="project"}function ie(z){return xe(z)||j(z)}function Se(z){return z.rows!==void 0}function De(z){return z.percent!==void 0}function be(z){return z.enable!==void 0}function Te(z){return z.type==="raw"}function Ie(z){return z.type==="index"}function Qe(z){return z.uniqueKeyRequirement===void 0&&z.analyticFunctionUse===void 0}function Je(z){return"sql"in z}function Ze(z){return{...z}}function tt(z){return z.type==="table"||z.type==="sql_select"||z.type==="query_source"||z.type==="query_result"||z.type==="finalize"||z.type==="nest_source"||z.type==="composite"}function dt(z){return J(z)?!1:!!tt(z)}function Wt(z){return z==="literal"}function cr(...z){return z.length<=1&&z.every(ge=>ge==="literal")?"literal":z.every(ge=>ge==="constant"||ge==="literal")?"constant":z.every(ge=>ge==="output"||ge==="constant"||ge==="literal")?"output":"input"}function Nt(z){return z.type==="string"||w(z.type)||z.type==="number"||z.type==="boolean"||z.type==="json"||z.type==="sql native"||z.type==="error"}function xr(z){return z.as!==void 0?z.as:z.name}function Nr(z){return z.type==="turtle"}function Qt(z){return D(z.type)}function dr(z,ge){return ge.type==="string"}function br(z,ge){return ge.type==="number"}function vr(z,ge){return ge.type==="boolean"}function fr(z,ge){return ge.type==="timestamp"}function oe(z,ge){return ge.type==="date"}e.TD={isAtomic(z){return z!==void 0&&D(z.type)},isBasicAtomic(z){return z!==void 0&&Nt({type:z.type})},isString:z=>z?.type==="string",isNumber:z=>z?.type==="number",isBoolean:z=>z?.type==="boolean",isJSON:z=>z?.type==="json",isSQL:z=>z?.type==="sql native",isDate:z=>z?.type==="date",isTimestamp:z=>z?.type==="timestamp",isTemporal(z){var ge;const Fe=(ge=z?.type)!==null&&ge!==void 0?ge:"";return w(Fe)},isError:z=>z?.type==="error",eq(z,ge){if(z===void 0||ge===void 0)return!1;function Fe(ke,He){const ot={};for(const nt of ke.fields||[])if(nt.name)ot[nt.name]=nt;else return!1;for(const nt of He.fields||[])if(!e.TD.eq(ot[nt.name],nt))return!1;return!0}return z.type==="array"&&ge.type==="array"?z.elementTypeDef.type!==ge.elementTypeDef.type?!1:z.elementTypeDef.type!=="record_element"&&ge.elementTypeDef.type!=="record_element"?e.TD.eq(z.elementTypeDef,ge.elementTypeDef):e.TD.isAtomic(z)&&e.TD.isAtomic(ge)&&Fe(z,ge):z.type==="record"&&ge.type==="record"?e.TD.isAtomic(z)&&e.TD.isAtomic(ge)&&Fe(z,ge):z.type==="sql native"&&ge.type==="sql native"?z.rawType!==void 0&&z.rawType===ge.rawType:z.type===ge.type}};function fe(z,ge){return z?ge?{isCount:z.isCount||ge.isCount}:z:ge}})(lg)),lg}var hC;function Qs(){if(hC)return hr;hC=1,Object.defineProperty(hr,"__esModule",{value:!0}),hr.arg=t,hr.spread=r,hr.sql=i,hr.constant=a,hr.output=o,hr.literal=c,hr.variadicParam=x,hr.param=u,hr.makeParam=f,hr.maxScalar=d,hr.maxAggregate=m,hr.anyExprType=h,hr.maxUngroupedAggregate=p,hr.maxAnalytic=l,hr.minScalar=_,hr.minAggregate=E,hr.minAnalytic=y,hr.overload=v,hr.expandBlueprintMap=se,hr.expandOverrideMapFromBase=ae,hr.def=he;const e=Ke();function t(j){return{node:"function_parameter",name:j}}function r(j,Z=void 0,xe=void 0){return{node:"spread",e:j,prefix:Z,suffix:xe}}function i(j,...Z){const xe={node:"genericSQLExpr",kids:{args:[]},src:[]},ie=[...Z];let Se="";for(const De of j){Se+=De;const be=ie.shift();be!==void 0&&(typeof be=="string"?Se+=be:(xe.src.push(Se),xe.kids.args.push(be),Se=""))}return Se.length>0&&xe.src.push(Se),xe}function a(j){return{...j,evalSpace:"constant"}}function o(j){return{...j,evalSpace:"output"}}function c(j){return{...j,evalSpace:"literal"}}function x(j,...Z){return{name:j,isVariadic:!0,allowedTypes:Z}}function u(j,...Z){return{name:j,isVariadic:!1,allowedTypes:Z}}function f(j,...Z){return{param:u(j,...Z),arg:t(j)}}function d(j){return{...j,expressionType:"scalar",evalSpace:"input"}}function m(j){return{...j,expressionType:"aggregate",evalSpace:"input"}}function h(j){return{...j,expressionType:void 0,evalSpace:"input"}}function p(j){return{...j,expressionType:"ungrouped_aggregate",evalSpace:"input"}}function l(j){return{...j,expressionType:"aggregate_analytic",evalSpace:"input"}}function _(j){return{...j,expressionType:"scalar",evalSpace:"input"}}function E(j){return{...j,expressionType:"aggregate",evalSpace:"input"}}function y(j){return{...j,expressionType:"scalar_analytic",evalSpace:"input"}}function v(j,Z,xe,ie){return{returnType:j,params:Z,e:xe,needsWindowOrderBy:ie?.needsWindowOrderBy,between:ie?.between,isSymmetric:ie?.isSymmetric,supportsOrderBy:ie?.supportsOrderBy,defaultOrderByArgIndex:ie?.defaultOrderByArgIndex,supportsLimit:ie?.supportsLimit}}function A(j,Z=!0,xe=!0){if(!Z&&j==="any")throw new Error("Return type cannot include any");if(typeof j=="string")return{type:j};if("array"in j){const ie=Z?A(j.array,!0):A(j.array,!1);return ie.type==="record"?{type:"array",elementTypeDef:{type:"record_element"},fields:ie.fields}:{type:"array",elementTypeDef:ie}}else if("record"in j){const ie=[];for(const[Se,De]of Object.entries(j.record)){const be=Z?A(De,!0):A(De,!1);e.TD.isAtomic(be)&&ie.push((0,e.mkFieldDef)(be,Se))}return{type:"record",fields:ie}}else if("generic"in j){if(!xe)throw new Error("Cannot use generic");return{type:"generic",generic:j.generic}}else if("sql_native"in j)return{type:"sql native",rawType:j.sql_native};throw new Error("Cannot figure out type")}function C(j){if(j==="any")throw new Error("Cannot return any type");if(typeof j=="string")return _({type:j});if("array"in j)return h(A(j,!1));if("record"in j)return h(A(j,!1));if("generic"in j)return _(A(j,!1));if("literal"in j)return c(_(A(j.literal,!1)));if("constant"in j)return a(_(A(j.constant,!1)));if("dimension"in j)return _(A(j.dimension,!1));if("measure"in j)return E(A(j.measure,!1));if("sql_native"in j)return h({type:"sql native",rawType:j.sql_native});if("calculation"in j)return y(A(j.calculation,!1));throw new Error("Invalid function blueprint")}function S(j){return typeof j=="string"||"array"in j||"record"in j||"generic"in j||"literal"in j||"constant"in j||"dimension"in j||"measure"in j||"calculation"in j||"sql_native"in j}function w(j){return S(j)?[j]:Array.isArray(j)?j:S(j.variadic)?[j.variadic]:j.variadic}function D(j){if(typeof j=="string")return h({type:j});if("generic"in j)return h(A(j));if("literal"in j)return c(d(A(j.literal)));if("constant"in j)return a(d(A(j.constant)));if("dimension"in j)return d(A(j.dimension));if("measure"in j)return m(A(j.measure));if("array"in j)return h(A(j,!1));if("record"in j)return h(A(j,!1));if("sql_native"in j)return h({type:"sql native",rawType:j.sql_native});if("calculation"in j)return l(A(j.calculation));throw new Error("Invalid function blueprint")}function O(j){return j.map(Z=>D(Z))}function N(j){return typeof j!="string"&&"variadic"in j}function I(j,Z){return{name:j,allowedTypes:O(w(Z)),isVariadic:N(Z)}}function M(j){return Object.entries(j).map(xe=>I(xe[0],xe[1]))}function P(j){const Z=[],xe=[];let ie=j;for(;ie.length>0;){const De=ie.indexOf("${");if(De===-1){Z.push(ie);break}const be=ie.slice(0,De);ie=ie.slice(De);const Te=ie.indexOf("}");if(Te===-1){Z.push(be+ie);break}const Ie=ie.slice(2,Te);ie=ie.slice(Te+1);const Qe=Ie.startsWith("..."),Je=Ie.endsWith(":"),Ze=Qe?Ie.slice(3):Je?Ie.slice(0,-1):Ie,tt={node:"function_parameter",name:Ze};Z.push(be),Qe?xe.push({node:"spread",e:tt,prefix:"",suffix:""}):Je&&Ze==="order_by"?xe.push({node:"aggregate_order_by"}):Je&&Ze==="limit"?xe.push({node:"aggregate_limit"}):xe.push(tt)}return{node:"genericSQLExpr",kids:{args:xe},src:Z}}function H(j,Z){return N(Z)?{node:"spread",e:{node:"function_parameter",name:j},prefix:"",suffix:""}:{node:"function_parameter",name:j}}function q(j,Z){const xe=Object.entries(Z.takes),ie=xe.length>0?xe.length-1:0;return{node:"genericSQLExpr",kids:{args:xe.map(Se=>H(Se[0],Se[1]))},src:[`${j}(`,...Array(ie).fill(","),")"]}}function F(j){return"sql"in j.impl?P(j.impl.sql):"expr"in j.impl?j.impl.expr:q(j.impl.function,j)}function V(j){return{e:F(j),between:j.impl.between,needsWindowOrderBy:j.impl.needsWindowOrderBy,defaultOrderByArgIndex:j.impl.defaultOrderByArgIndex}}function Y(j){if(j!==void 0)return Object.entries(j).map(([Z,xe])=>({name:Z,acceptibleTypes:xe.map(ie=>A(ie,!0,!1))}))}function de(j){return{returnType:C(j.returns),params:M(j.takes),isSymmetric:j.isSymmetric,supportsOrderBy:j.supportsOrderBy,supportsLimit:j.supportsLimit,genericTypes:Y(j.generic),...V(j)}}function G(j){return"takes"in j&&"returns"in j&&"impl"in j}function J(j){return"function"in j||"sql"in j||"expr"in j}function te(j){return G(j)?[de(j)]:Object.values(j).flatMap(Z=>de(Z))}function se(j){const Z={};for(const xe in j)Z[xe]=te(j[xe]);return Z}function X(j,Z){return[de({...j,impl:Z})]}function ce(j,Z,xe){if(J(xe)){if(!G(Z))throw new Error(`Malformed function override: ${j}. Attempt to override multiple overloads with a single overload (missing: ${Object.keys(Z)})`);return X(Z,xe)}else{if(G(Z))throw new Error(`Malformed function override: ${j}. Attempt to override a single overload with multiple overloads (extraneous: ${Object.keys(xe)})`);return Object.entries(xe).flatMap(([ie,Se])=>{const De=Z[ie];if(De===void 0)throw new Error(`Malformed function override: ${j}. No overload named ${ie}`);return X(De,Se)})}}function ae(j,Z){const xe={};for(const ie in Z){if(!(ie in j))throw new Error(`Malformed function override: ${ie}. No such function in Malloy standard`);xe[ie]=ce(ie,j[ie],Z[ie])}return xe}function*Ce(j){if(typeof j!="string"){if("generic"in j)yield j;else if("record"in j)for(const Z of Object.values(j.record))yield*Ce(Z);else for(const Z of["array","literal","measure","dimension","measure","constant","cacluation"])if(Z in j){yield*Ce(j[Z]);return}}}function he(j,Z,xe,ie={}){let Se=!1;const De={};for(const Te of Object.values(Z))for(const Ie of Ce(Te))De[Ie.generic]=["any"],Se=!0;Se&&ie.generic===void 0&&(ie.generic=De);const be={takes:Z,returns:xe,impl:{function:j.toUpperCase()},...ie};return{[j]:be}}return hr}var cg={},mC;function _u(){return mC||(mC=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Dialect=e.dayIndex=void 0,e.inDays=i,e.qtz=a;const t=Ke(),r=["microsecond","millisecond","second","minute","hour","day","week","month","quarter","year"];e.dayIndex=r.indexOf("day");function i(c){return r.indexOf(c)>=e.dayIndex}function a(c){const x=c.queryTimezone;if(!(x===void 0||x===c.systemTimezone))return x}class o{constructor(){this.cantPartitionWindowFunctionsOnExpressions=!1,this.supportsPipelinesInViews=!0,this.supportsArraysInData=!0,this.readsNestedData=!0,this.orderByClause="ordinal",this.nullMatchesFunctionSignature=!0,this.supportsSelectReplace=!0,this.supportsComplexFilteredSources=!0,this.supportsTempTables=!0,this.hasModOperator=!0,this.supportsLeftJoinUnnest=!0,this.supportsCountApprox=!1,this.supportsHyperLogLog=!1,this.supportsFullJoin=!0,this.nestedArrays=!0,this.compoundObjectInSchema=!0,this.booleanType="supported",this.likeEscape=!0}sqlFinalStage(x,u){throw new Error("Dialect has no final Stage but called Anyway")}sqlDateToString(x){return this.castToString(`DATE(${x})`)}sqlLiteralNumber(x){return x}ignoreInProject(x){return!1}exprToSQL(x,u){switch(u.node){case"now":return this.sqlNowExpr();case"timeDiff":return this.sqlMeasureTimeExpr(u);case"delta":return this.sqlAlterTimeExpr(u);case"trunc":return this.sqlTruncExpr(x,u);case"extract":return this.sqlTimeExtractExpr(x,u);case"cast":return this.sqlCast(x,u);case"regexpMatch":return this.sqlRegexpMatch(u);case"/":return this.divisionIsInteger?`${u.kids.left.sql}*1.0/${u.kids.right.sql}`:void 0;case"%":return this.hasModOperator?void 0:`MOD(${u.kids.left.sql},${u.kids.right.sql})`;case"timeLiteral":return this.sqlLiteralTime(x,u);case"stringLiteral":return this.sqlLiteralString(u.literal);case"numberLiteral":return this.sqlLiteralNumber(u.literal);case"regexpLiteral":return this.sqlLiteralRegexp(u.literal);case"recordLiteral":return this.sqlLiteralRecord(u);case"arrayLiteral":return this.sqlLiteralArray(u)}}sqlSumDistinct(x,u,f){return"sqlSumDistinct called but not implemented"}sqlAggDistinct(x,u,f){return"sqlAggDistinct called but not implemented"}sqlSampleTable(x,u){if(u!==void 0)throw new Error(`Sampling is not supported on dialect ${this.name}.`);return x}sqlOrderBy(x,u){return`ORDER BY ${x.join(",")}`}sqlTzStr(x){return`"${x.queryTimezone}"`}sqlMakeUnnestKey(x,u){return this.concat(x,"'x'",u)}sqlStringAggDistinct(x,u,f){const d="__STRING_AGG_KS__",m="__STRING_AGG_KE__";return`REGEXP_REPLACE(
1
+ import{G as gL,a as T,j as R,H as Mt,R as YR,L as KR,N as as}from"./index-C3oq1gR3.js";import{r as Jl,a as by,b as Ry,c as Xl,d as Zl,e as Ty,f as wy,g as Dy,h as Ly,j as Fy,k as Oy,l as Ny,m as Iy,n as ky,o as e0,p as t0,q as r0,s as n0,t as JR,u as yL,v as it}from"./index-DHv0ZYf4.js";import{a as E1}from"./index.umd-BgVp8VMZ.js";var oo={},ug={},hr={},lg={},pC;function Ke(){return pC||(pC=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.TD=e.ValueType=void 0,e.exprHasKids=t,e.exprHasE=r,e.exprIsLeaf=i,e.isAsymmetricExpr=a,e.mkTemporal=c,e.isRawCast=x,e.isFilterExprType=u,e.isParameterType=f,e.paramHasValue=d,e.expressionIsScalar=m,e.expressionIsAggregate=h,e.expressionIsUngroupedAggregate=p,e.expressionInvolvesAggregate=l,e.expressionIsCalculation=_,e.expressionIsAnalytic=E,e.isExpressionTypeLEQ=v,e.maxExpressionType=A,e.maxOfExpressionTypes=C,e.hasExpression=S,e.isTemporalType=w,e.isAtomicFieldType=D,e.canOrderBy=O,e.isCastType=N,e.fieldIsIntrinsic=I,e.mkFieldDef=M,e.mkArrayDef=P,e.isRepeatedRecordFunctionParam=H,e.isRepeatedRecord=q,e.isRecordOrRepeatedRecord=F,e.isBasicArray=V,e.isMatrixOperation=Y,e.isJoinable=de,e.isJoined=G,e.isJoinedSource=J,e.isDateUnit=te,e.isTimestampUnit=se,e.isExtractUnit=X,e.refIsStructDef=ae,e.segmentHasErrors=Ce,e.structHasErrors=he,e.isReduceSegment=j,e.isPartialSegment=Z,e.isProjectSegment=xe,e.isQuerySegment=ie,e.isSamplingRows=Se,e.isSamplingPercent=De,e.isSamplingEnable=be,e.isRawSegment=Te,e.isIndexSegment=Ie,e.bareFieldUsage=Qe,e.isSegmentSQL=Je,e.sourceBase=Ze,e.isSourceDef=tt,e.isBaseTable=dt,e.isLiteral=Wt,e.mergeEvalSpaces=cr,e.isBasicAtomic=Nt,e.getIdentifier=xr,e.isTurtle=Nr,e.isAtomic=Qt,e.isValueString=dr,e.isValueNumber=br,e.isValueBoolean=vr,e.isValueTimestamp=fr,e.isValueDate=oe,e.mergeUniqueKeyRequirement=fe;function t(z){return"kids"in z}function r(z){return"e"in z}function i(z){return!(t(z)||r(z))}function a(z){return z.node==="aggregate"&&["sum","avg","count","distinct"].includes(z.function)}function o(z){return z.node!=="arrayLiteral"&&z.node!=="recordLiteral"}function c(z,ge){if(!("typeDef"in z)){const Fe=typeof ge=="string"?{type:ge}:ge;if(o(z))return{...z,typeDef:{...Fe}}}return z}function x(z){return"dstSQLType"in z}function u(z){return["string","number","boolean","date","timestamp"].includes(z)}function f(z){return["string","number","boolean","date","timestamp","filter expression","error"].includes(z)}function d(z){return z.value!==null}function m(z){return z===void 0||z==="scalar"}function h(z){return z==="aggregate"||z==="ungrouped_aggregate"}function p(z){return z==="ungrouped_aggregate"}function l(z){return z==="aggregate"||z==="ungrouped_aggregate"||z==="aggregate_analytic"}function _(z){return z==="aggregate"||z==="scalar_analytic"||z==="aggregate_analytic"||z==="ungrouped_aggregate"}function E(z){return z==="aggregate_analytic"||z==="scalar_analytic"}function y(z){return{scalar:0,aggregate:1,ungrouped_aggregate:2,scalar_analytic:2,aggregate_analytic:3}[z]}function v(z,ge){return z===ge||y(z)<y(ge)}function A(z,ge){let Fe="scalar";return(z==="aggregate"||ge==="aggregate")&&(Fe="aggregate"),(z==="ungrouped_aggregate"||ge==="ungrouped_aggregate")&&(Fe="ungrouped_aggregate"),(z==="scalar_analytic"||ge==="scalar_analytic")&&(Fe="scalar_analytic"),(z==="aggregate_analytic"||ge==="aggregate_analytic")&&(Fe="aggregate_analytic"),(z==="scalar_analytic"&&ge==="aggregate"||z==="aggregate"&&ge==="scalar_analytic")&&(Fe="aggregate_analytic"),Fe}function C(z){return z.reduce(A,"scalar")}function S(z){return"e"in z&&z.e!==void 0}function w(z){return z==="date"||z==="timestamp"}function D(z){return["string","number","date","timestamp","boolean","json","sql native","record","array","error"].includes(z)}function O(z){return["string","number","date","boolean","date","timestamp"].includes(z)}function N(z){return["string","number","date","timestamp","boolean","json"].includes(z)}function I(z){return D(z.type)&&!S(z)}function M(z,ge){if(V(z))return P(z.elementTypeDef,ge);if(q(z)){const{type:ke,fields:He,elementTypeDef:ot}=z;return{type:ke,fields:He,elementTypeDef:ot,join:"many",name:ge}}if(z.type==="record"){const{type:ke,fields:He}=z;return{type:ke,fields:He,join:"one",name:ge}}const Fe={name:ge,type:z.type};switch(z.type){case"sql native":return{...Fe,rawType:z.rawType};case"number":{const ke=z.numberType;return ke?{...Fe,numberType:ke}:Fe}case"date":{const ke=z.timeframe;return ke?{name:ge,type:"date",timeframe:ke}:Fe}case"timestamp":{const ke=z.timeframe;return ke?{name:ge,type:"timestamp",timeframe:ke}:Fe}}return Fe}function P(z,ge){if(z.type==="record")return{type:"array",join:"many",name:ge,elementTypeDef:{type:"record_element"},fields:z.fields};const Fe=M(z,"value");return{type:"array",join:"many",name:ge,elementTypeDef:z,fields:[Fe,{...Fe,name:"each",e:{node:"field",path:["value"]}}]}}function H(z){return z.type==="array"&&z.elementTypeDef.type==="record_element"}function q(z){return z.type==="array"&&z.elementTypeDef.type==="record_element"}function F(z){return z.type==="record"||z.type==="array"&&"elementTypeDef"in z&&z.elementTypeDef.type==="record_element"}function V(z){return z.type==="array"&&z.elementTypeDef.type!=="record_element"}function Y(z){return["left","right","full","inner"].includes(z)}function de(z){return["composite","table","sql_select","query_source","array","record"].includes(z.type)}function G(z){return"join"in z}function J(z){return tt(z)&&G(z)}function te(z){return["day","week","month","quarter","year"].includes(z)}function se(z){return te(z)||["hour","minute","second"].includes(z)}function X(z){return se(z)||z==="day_of_week"||z==="day_of_year"}var ce;(function(z){z.Date="date",z.Timestamp="timestamp",z.Number="number",z.String="string"})(ce||(e.ValueType=ce={}));function ae(z){return typeof z!="string"}function Ce(z){return!!((z.type==="reduce"||z.type==="project"||z.type==="partial")&&(z.extendSource&&z.extendSource.some(ge=>ge.type==="error")||z.queryFields.some(ge=>ge.type==="error")))}function he(z){return z.fields.some(ge=>ge.type==="error")}function j(z){return z.type==="reduce"}function Z(z){return z.type==="partial"}function xe(z){return z.type==="project"}function ie(z){return xe(z)||j(z)}function Se(z){return z.rows!==void 0}function De(z){return z.percent!==void 0}function be(z){return z.enable!==void 0}function Te(z){return z.type==="raw"}function Ie(z){return z.type==="index"}function Qe(z){return z.uniqueKeyRequirement===void 0&&z.analyticFunctionUse===void 0}function Je(z){return"sql"in z}function Ze(z){return{...z}}function tt(z){return z.type==="table"||z.type==="sql_select"||z.type==="query_source"||z.type==="query_result"||z.type==="finalize"||z.type==="nest_source"||z.type==="composite"}function dt(z){return J(z)?!1:!!tt(z)}function Wt(z){return z==="literal"}function cr(...z){return z.length<=1&&z.every(ge=>ge==="literal")?"literal":z.every(ge=>ge==="constant"||ge==="literal")?"constant":z.every(ge=>ge==="output"||ge==="constant"||ge==="literal")?"output":"input"}function Nt(z){return z.type==="string"||w(z.type)||z.type==="number"||z.type==="boolean"||z.type==="json"||z.type==="sql native"||z.type==="error"}function xr(z){return z.as!==void 0?z.as:z.name}function Nr(z){return z.type==="turtle"}function Qt(z){return D(z.type)}function dr(z,ge){return ge.type==="string"}function br(z,ge){return ge.type==="number"}function vr(z,ge){return ge.type==="boolean"}function fr(z,ge){return ge.type==="timestamp"}function oe(z,ge){return ge.type==="date"}e.TD={isAtomic(z){return z!==void 0&&D(z.type)},isBasicAtomic(z){return z!==void 0&&Nt({type:z.type})},isString:z=>z?.type==="string",isNumber:z=>z?.type==="number",isBoolean:z=>z?.type==="boolean",isJSON:z=>z?.type==="json",isSQL:z=>z?.type==="sql native",isDate:z=>z?.type==="date",isTimestamp:z=>z?.type==="timestamp",isTemporal(z){var ge;const Fe=(ge=z?.type)!==null&&ge!==void 0?ge:"";return w(Fe)},isError:z=>z?.type==="error",eq(z,ge){if(z===void 0||ge===void 0)return!1;function Fe(ke,He){const ot={};for(const nt of ke.fields||[])if(nt.name)ot[nt.name]=nt;else return!1;for(const nt of He.fields||[])if(!e.TD.eq(ot[nt.name],nt))return!1;return!0}return z.type==="array"&&ge.type==="array"?z.elementTypeDef.type!==ge.elementTypeDef.type?!1:z.elementTypeDef.type!=="record_element"&&ge.elementTypeDef.type!=="record_element"?e.TD.eq(z.elementTypeDef,ge.elementTypeDef):e.TD.isAtomic(z)&&e.TD.isAtomic(ge)&&Fe(z,ge):z.type==="record"&&ge.type==="record"?e.TD.isAtomic(z)&&e.TD.isAtomic(ge)&&Fe(z,ge):z.type==="sql native"&&ge.type==="sql native"?z.rawType!==void 0&&z.rawType===ge.rawType:z.type===ge.type}};function fe(z,ge){return z?ge?{isCount:z.isCount||ge.isCount}:z:ge}})(lg)),lg}var hC;function Qs(){if(hC)return hr;hC=1,Object.defineProperty(hr,"__esModule",{value:!0}),hr.arg=t,hr.spread=r,hr.sql=i,hr.constant=a,hr.output=o,hr.literal=c,hr.variadicParam=x,hr.param=u,hr.makeParam=f,hr.maxScalar=d,hr.maxAggregate=m,hr.anyExprType=h,hr.maxUngroupedAggregate=p,hr.maxAnalytic=l,hr.minScalar=_,hr.minAggregate=E,hr.minAnalytic=y,hr.overload=v,hr.expandBlueprintMap=se,hr.expandOverrideMapFromBase=ae,hr.def=he;const e=Ke();function t(j){return{node:"function_parameter",name:j}}function r(j,Z=void 0,xe=void 0){return{node:"spread",e:j,prefix:Z,suffix:xe}}function i(j,...Z){const xe={node:"genericSQLExpr",kids:{args:[]},src:[]},ie=[...Z];let Se="";for(const De of j){Se+=De;const be=ie.shift();be!==void 0&&(typeof be=="string"?Se+=be:(xe.src.push(Se),xe.kids.args.push(be),Se=""))}return Se.length>0&&xe.src.push(Se),xe}function a(j){return{...j,evalSpace:"constant"}}function o(j){return{...j,evalSpace:"output"}}function c(j){return{...j,evalSpace:"literal"}}function x(j,...Z){return{name:j,isVariadic:!0,allowedTypes:Z}}function u(j,...Z){return{name:j,isVariadic:!1,allowedTypes:Z}}function f(j,...Z){return{param:u(j,...Z),arg:t(j)}}function d(j){return{...j,expressionType:"scalar",evalSpace:"input"}}function m(j){return{...j,expressionType:"aggregate",evalSpace:"input"}}function h(j){return{...j,expressionType:void 0,evalSpace:"input"}}function p(j){return{...j,expressionType:"ungrouped_aggregate",evalSpace:"input"}}function l(j){return{...j,expressionType:"aggregate_analytic",evalSpace:"input"}}function _(j){return{...j,expressionType:"scalar",evalSpace:"input"}}function E(j){return{...j,expressionType:"aggregate",evalSpace:"input"}}function y(j){return{...j,expressionType:"scalar_analytic",evalSpace:"input"}}function v(j,Z,xe,ie){return{returnType:j,params:Z,e:xe,needsWindowOrderBy:ie?.needsWindowOrderBy,between:ie?.between,isSymmetric:ie?.isSymmetric,supportsOrderBy:ie?.supportsOrderBy,defaultOrderByArgIndex:ie?.defaultOrderByArgIndex,supportsLimit:ie?.supportsLimit}}function A(j,Z=!0,xe=!0){if(!Z&&j==="any")throw new Error("Return type cannot include any");if(typeof j=="string")return{type:j};if("array"in j){const ie=Z?A(j.array,!0):A(j.array,!1);return ie.type==="record"?{type:"array",elementTypeDef:{type:"record_element"},fields:ie.fields}:{type:"array",elementTypeDef:ie}}else if("record"in j){const ie=[];for(const[Se,De]of Object.entries(j.record)){const be=Z?A(De,!0):A(De,!1);e.TD.isAtomic(be)&&ie.push((0,e.mkFieldDef)(be,Se))}return{type:"record",fields:ie}}else if("generic"in j){if(!xe)throw new Error("Cannot use generic");return{type:"generic",generic:j.generic}}else if("sql_native"in j)return{type:"sql native",rawType:j.sql_native};throw new Error("Cannot figure out type")}function C(j){if(j==="any")throw new Error("Cannot return any type");if(typeof j=="string")return _({type:j});if("array"in j)return h(A(j,!1));if("record"in j)return h(A(j,!1));if("generic"in j)return _(A(j,!1));if("literal"in j)return c(_(A(j.literal,!1)));if("constant"in j)return a(_(A(j.constant,!1)));if("dimension"in j)return _(A(j.dimension,!1));if("measure"in j)return E(A(j.measure,!1));if("sql_native"in j)return h({type:"sql native",rawType:j.sql_native});if("calculation"in j)return y(A(j.calculation,!1));throw new Error("Invalid function blueprint")}function S(j){return typeof j=="string"||"array"in j||"record"in j||"generic"in j||"literal"in j||"constant"in j||"dimension"in j||"measure"in j||"calculation"in j||"sql_native"in j}function w(j){return S(j)?[j]:Array.isArray(j)?j:S(j.variadic)?[j.variadic]:j.variadic}function D(j){if(typeof j=="string")return h({type:j});if("generic"in j)return h(A(j));if("literal"in j)return c(d(A(j.literal)));if("constant"in j)return a(d(A(j.constant)));if("dimension"in j)return d(A(j.dimension));if("measure"in j)return m(A(j.measure));if("array"in j)return h(A(j,!1));if("record"in j)return h(A(j,!1));if("sql_native"in j)return h({type:"sql native",rawType:j.sql_native});if("calculation"in j)return l(A(j.calculation));throw new Error("Invalid function blueprint")}function O(j){return j.map(Z=>D(Z))}function N(j){return typeof j!="string"&&"variadic"in j}function I(j,Z){return{name:j,allowedTypes:O(w(Z)),isVariadic:N(Z)}}function M(j){return Object.entries(j).map(xe=>I(xe[0],xe[1]))}function P(j){const Z=[],xe=[];let ie=j;for(;ie.length>0;){const De=ie.indexOf("${");if(De===-1){Z.push(ie);break}const be=ie.slice(0,De);ie=ie.slice(De);const Te=ie.indexOf("}");if(Te===-1){Z.push(be+ie);break}const Ie=ie.slice(2,Te);ie=ie.slice(Te+1);const Qe=Ie.startsWith("..."),Je=Ie.endsWith(":"),Ze=Qe?Ie.slice(3):Je?Ie.slice(0,-1):Ie,tt={node:"function_parameter",name:Ze};Z.push(be),Qe?xe.push({node:"spread",e:tt,prefix:"",suffix:""}):Je&&Ze==="order_by"?xe.push({node:"aggregate_order_by"}):Je&&Ze==="limit"?xe.push({node:"aggregate_limit"}):xe.push(tt)}return{node:"genericSQLExpr",kids:{args:xe},src:Z}}function H(j,Z){return N(Z)?{node:"spread",e:{node:"function_parameter",name:j},prefix:"",suffix:""}:{node:"function_parameter",name:j}}function q(j,Z){const xe=Object.entries(Z.takes),ie=xe.length>0?xe.length-1:0;return{node:"genericSQLExpr",kids:{args:xe.map(Se=>H(Se[0],Se[1]))},src:[`${j}(`,...Array(ie).fill(","),")"]}}function F(j){return"sql"in j.impl?P(j.impl.sql):"expr"in j.impl?j.impl.expr:q(j.impl.function,j)}function V(j){return{e:F(j),between:j.impl.between,needsWindowOrderBy:j.impl.needsWindowOrderBy,defaultOrderByArgIndex:j.impl.defaultOrderByArgIndex}}function Y(j){if(j!==void 0)return Object.entries(j).map(([Z,xe])=>({name:Z,acceptibleTypes:xe.map(ie=>A(ie,!0,!1))}))}function de(j){return{returnType:C(j.returns),params:M(j.takes),isSymmetric:j.isSymmetric,supportsOrderBy:j.supportsOrderBy,supportsLimit:j.supportsLimit,genericTypes:Y(j.generic),...V(j)}}function G(j){return"takes"in j&&"returns"in j&&"impl"in j}function J(j){return"function"in j||"sql"in j||"expr"in j}function te(j){return G(j)?[de(j)]:Object.values(j).flatMap(Z=>de(Z))}function se(j){const Z={};for(const xe in j)Z[xe]=te(j[xe]);return Z}function X(j,Z){return[de({...j,impl:Z})]}function ce(j,Z,xe){if(J(xe)){if(!G(Z))throw new Error(`Malformed function override: ${j}. Attempt to override multiple overloads with a single overload (missing: ${Object.keys(Z)})`);return X(Z,xe)}else{if(G(Z))throw new Error(`Malformed function override: ${j}. Attempt to override a single overload with multiple overloads (extraneous: ${Object.keys(xe)})`);return Object.entries(xe).flatMap(([ie,Se])=>{const De=Z[ie];if(De===void 0)throw new Error(`Malformed function override: ${j}. No overload named ${ie}`);return X(De,Se)})}}function ae(j,Z){const xe={};for(const ie in Z){if(!(ie in j))throw new Error(`Malformed function override: ${ie}. No such function in Malloy standard`);xe[ie]=ce(ie,j[ie],Z[ie])}return xe}function*Ce(j){if(typeof j!="string"){if("generic"in j)yield j;else if("record"in j)for(const Z of Object.values(j.record))yield*Ce(Z);else for(const Z of["array","literal","measure","dimension","measure","constant","cacluation"])if(Z in j){yield*Ce(j[Z]);return}}}function he(j,Z,xe,ie={}){let Se=!1;const De={};for(const Te of Object.values(Z))for(const Ie of Ce(Te))De[Ie.generic]=["any"],Se=!0;Se&&ie.generic===void 0&&(ie.generic=De);const be={takes:Z,returns:xe,impl:{function:j.toUpperCase()},...ie};return{[j]:be}}return hr}var cg={},mC;function _u(){return mC||(mC=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Dialect=e.dayIndex=void 0,e.inDays=i,e.qtz=a;const t=Ke(),r=["microsecond","millisecond","second","minute","hour","day","week","month","quarter","year"];e.dayIndex=r.indexOf("day");function i(c){return r.indexOf(c)>=e.dayIndex}function a(c){const x=c.queryTimezone;if(!(x===void 0||x===c.systemTimezone))return x}class o{constructor(){this.cantPartitionWindowFunctionsOnExpressions=!1,this.supportsPipelinesInViews=!0,this.supportsArraysInData=!0,this.readsNestedData=!0,this.orderByClause="ordinal",this.nullMatchesFunctionSignature=!0,this.supportsSelectReplace=!0,this.supportsComplexFilteredSources=!0,this.supportsTempTables=!0,this.hasModOperator=!0,this.supportsLeftJoinUnnest=!0,this.supportsCountApprox=!1,this.supportsHyperLogLog=!1,this.supportsFullJoin=!0,this.nestedArrays=!0,this.compoundObjectInSchema=!0,this.booleanType="supported",this.likeEscape=!0}sqlFinalStage(x,u){throw new Error("Dialect has no final Stage but called Anyway")}sqlDateToString(x){return this.castToString(`DATE(${x})`)}sqlLiteralNumber(x){return x}ignoreInProject(x){return!1}exprToSQL(x,u){switch(u.node){case"now":return this.sqlNowExpr();case"timeDiff":return this.sqlMeasureTimeExpr(u);case"delta":return this.sqlAlterTimeExpr(u);case"trunc":return this.sqlTruncExpr(x,u);case"extract":return this.sqlTimeExtractExpr(x,u);case"cast":return this.sqlCast(x,u);case"regexpMatch":return this.sqlRegexpMatch(u);case"/":return this.divisionIsInteger?`${u.kids.left.sql}*1.0/${u.kids.right.sql}`:void 0;case"%":return this.hasModOperator?void 0:`MOD(${u.kids.left.sql},${u.kids.right.sql})`;case"timeLiteral":return this.sqlLiteralTime(x,u);case"stringLiteral":return this.sqlLiteralString(u.literal);case"numberLiteral":return this.sqlLiteralNumber(u.literal);case"regexpLiteral":return this.sqlLiteralRegexp(u.literal);case"recordLiteral":return this.sqlLiteralRecord(u);case"arrayLiteral":return this.sqlLiteralArray(u)}}sqlSumDistinct(x,u,f){return"sqlSumDistinct called but not implemented"}sqlAggDistinct(x,u,f){return"sqlAggDistinct called but not implemented"}sqlSampleTable(x,u){if(u!==void 0)throw new Error(`Sampling is not supported on dialect ${this.name}.`);return x}sqlOrderBy(x,u){return`ORDER BY ${x.join(",")}`}sqlTzStr(x){return`"${x.queryTimezone}"`}sqlMakeUnnestKey(x,u){return this.concat(x,"'x'",u)}sqlStringAggDistinct(x,u,f){const d="__STRING_AGG_KS__",m="__STRING_AGG_KE__";return`REGEXP_REPLACE(
2
2
  STRING_AGG(DISTINCT ${`concat('${d}', ${x}, '${m}', ${u})`}${f.length>0?","+f:""}),
3
3
  '${d}.*?${m}',
4
4
  ''
@@ -1,4 +1,4 @@
1
- import{V as Iye}from"./index-CpcugJHa.js";function xSt(IS,kS){for(var rn=0;rn<kS.length;rn++){const qt=kS[rn];if(typeof qt!="string"&&!Array.isArray(qt)){for(const bu in qt)if(bu!=="default"&&!(bu in IS)){const Em=Object.getOwnPropertyDescriptor(qt,bu);Em&&Object.defineProperty(IS,bu,Em.get?Em:{enumerable:!0,get:()=>qt[bu]})}}}return Object.freeze(Object.defineProperty(IS,Symbol.toStringTag,{value:"Module"}))}var OS={exports:{}},ESt=OS.exports,kye;function bSt(){return kye||(kye=1,(function(IS,kS){(function(rn,qt){qt(kS)})(ESt,function(rn){class qt{constructor(){this.tagOptionExtractors={}}addExtractor(e,...r){for(const i in r)this.tagOptionExtractors[r[i]]=e}activates(e){return!1}isValidMatch(e){return!0}matches(e){return e.renderer===this.rendererName}parseTagParameters(e){const r={};for(const i in this.tagOptionExtractors){const s=e.tag(i);s&&this.tagOptionExtractors[i](r,s)}return r}}function bu(t){if(t.isArray())return t.values.map(e=>bu(e));if(t.isBoolean()||t.isNumber()||t.isString()||t.isNull())return t.value;if(t.isTime())return t.value.toISOString();if(t.isJSON())try{return JSON.parse(t.value)}catch{return t.value}else if(t.isRecord()){const e={};for(const r of t.columns)e[r.field.name]=bu(r);return e}return null}class Em{constructor(e){this.document=e}async render(e){const r=this.document.createElement("pre");return r.appendChild(this.document.createTextNode(JSON.stringify(bu(e),void 0,2))),r}}const c5=class extends qt{create(e,r,i,s,o){return new Em(e)}get rendererName(){return"json"}};c5.instance=new c5;let qye=c5;class Qye{constructor(e,r,i){this.document=e,this.options=r,this.tagged=i}}class MS extends Qye{constructor(){super(...arguments),this.childRenderers={}}get defaultStylesForChildren(){return this.childrenStyleDefaults}static make(e,r,i,s,o){return new e(r,s,o)}}var R=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Iye<"u"?Iye:typeof self<"u"?self:{};function FS(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function tq(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(r,i,s.get?s:{enumerable:!0,get:function(){return t[i]}})}),r}function zye(t,e,r,i){var s=-1,o=t==null?0:t.length;for(i&&o&&(r=t[++s]);++s<o;)r=e(r,t[s],s,t);return r}var Hye=zye;function Gye(t){return function(e){return t?.[e]}}var Wye=Gye,Vye=Wye,Yye={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Kye=Vye(Yye),Jye=Kye,Xye=typeof R=="object"&&R&&R.Object===Object&&R,Zye=Xye,eve=Zye,tve=typeof self=="object"&&self&&self.Object===Object&&self,rve=eve||tve||Function("return this")(),nve=rve,ive=nve,sve=ive.Symbol,d5=sve;function ove(t,e){for(var r=-1,i=t==null?0:t.length,s=Array(i);++r<i;)s[r]=e(t[r],r,t);return s}var ave=ove,lve=Array.isArray,uve=lve,rq=d5,nq=Object.prototype,cve=nq.hasOwnProperty,dve=nq.toString,ty=rq?rq.toStringTag:void 0;function fve(t){var e=cve.call(t,ty),r=t[ty];try{t[ty]=void 0;var i=!0}catch{}var s=dve.call(t);return i&&(e?t[ty]=r:delete t[ty]),s}var pve=fve,hve=Object.prototype,mve=hve.toString;function gve(t){return mve.call(t)}var yve=gve,iq=d5,vve=pve,xve=yve,Eve="[object Null]",bve="[object Undefined]",sq=iq?iq.toStringTag:void 0;function Sve(t){return t==null?t===void 0?bve:Eve:sq&&sq in Object(t)?vve(t):xve(t)}var _ve=Sve;function Tve(t){return t!=null&&typeof t=="object"}var Ave=Tve,Rve=_ve,Ove=Ave,wve="[object Symbol]";function Cve(t){return typeof t=="symbol"||Ove(t)&&Rve(t)==wve}var Nve=Cve,oq=d5,Dve=ave,Lve=uve,Ive=Nve,aq=oq?oq.prototype:void 0,lq=aq?aq.toString:void 0;function uq(t){if(typeof t=="string")return t;if(Lve(t))return Dve(t,uq)+"";if(Ive(t))return lq?lq.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var kve=uq,Mve=kve;function Fve(t){return t==null?"":Mve(t)}var f5=Fve,Pve=Jye,$ve=f5,jve=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Uve="\\u0300-\\u036f",Bve="\\ufe20-\\ufe2f",qve="\\u20d0-\\u20ff",Qve=Uve+Bve+qve,zve="["+Qve+"]",Hve=RegExp(zve,"g");function Gve(t){return t=$ve(t),t&&t.replace(jve,Pve).replace(Hve,"")}var Wve=Gve,Vve=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Yve(t){return t.match(Vve)||[]}var Kve=Yve,Jve=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Xve(t){return Jve.test(t)}var Zve=Xve,cq="\\ud800-\\udfff",exe="\\u0300-\\u036f",txe="\\ufe20-\\ufe2f",rxe="\\u20d0-\\u20ff",nxe=exe+txe+rxe,dq="\\u2700-\\u27bf",fq="a-z\\xdf-\\xf6\\xf8-\\xff",ixe="\\xac\\xb1\\xd7\\xf7",sxe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",oxe="\\u2000-\\u206f",axe=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pq="A-Z\\xc0-\\xd6\\xd8-\\xde",lxe="\\ufe0e\\ufe0f",hq=ixe+sxe+oxe+axe,mq="['’]",gq="["+hq+"]",uxe="["+nxe+"]",yq="\\d+",cxe="["+dq+"]",vq="["+fq+"]",xq="[^"+cq+hq+yq+dq+fq+pq+"]",dxe="\\ud83c[\\udffb-\\udfff]",fxe="(?:"+uxe+"|"+dxe+")",pxe="[^"+cq+"]",Eq="(?:\\ud83c[\\udde6-\\uddff]){2}",bq="[\\ud800-\\udbff][\\udc00-\\udfff]",bm="["+pq+"]",hxe="\\u200d",Sq="(?:"+vq+"|"+xq+")",mxe="(?:"+bm+"|"+xq+")",_q="(?:"+mq+"(?:d|ll|m|re|s|t|ve))?",Tq="(?:"+mq+"(?:D|LL|M|RE|S|T|VE))?",Aq=fxe+"?",Rq="["+lxe+"]?",gxe="(?:"+hxe+"(?:"+[pxe,Eq,bq].join("|")+")"+Rq+Aq+")*",yxe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",vxe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xxe=Rq+Aq+gxe,Exe="(?:"+[cxe,Eq,bq].join("|")+")"+xxe,bxe=RegExp([bm+"?"+vq+"+"+_q+"(?="+[gq,bm,"$"].join("|")+")",mxe+"+"+Tq+"(?="+[gq,bm+Sq,"$"].join("|")+")",bm+"?"+Sq+"+"+_q,bm+"+"+Tq,vxe,yxe,yq,Exe].join("|"),"g");function Sxe(t){return t.match(bxe)||[]}var _xe=Sxe,Txe=Kve,Axe=Zve,Rxe=f5,Oxe=_xe;function wxe(t,e,r){return t=Rxe(t),e=r?void 0:e,e===void 0?Axe(t)?Oxe(t):Txe(t):t.match(e)||[]}var Cxe=wxe,Nxe=Hye,Dxe=Wve,Lxe=Cxe,Ixe="['’]",kxe=RegExp(Ixe,"g");function Mxe(t){return function(e){return Nxe(Lxe(Dxe(e).replace(kxe,"")),t,"")}}var Fxe=Mxe;function Pxe(t,e,r){var i=-1,s=t.length;e<0&&(e=-e>s?0:s+e),r=r>s?s:r,r<0&&(r+=s),s=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(s);++i<s;)o[i]=t[i+e];return o}var $xe=Pxe,jxe=$xe;function Uxe(t,e,r){var i=t.length;return r=r===void 0?i:r,!e&&r>=i?t:jxe(t,e,r)}var Bxe=Uxe,qxe="\\ud800-\\udfff",Qxe="\\u0300-\\u036f",zxe="\\ufe20-\\ufe2f",Hxe="\\u20d0-\\u20ff",Gxe=Qxe+zxe+Hxe,Wxe="\\ufe0e\\ufe0f",Vxe="\\u200d",Yxe=RegExp("["+Vxe+qxe+Gxe+Wxe+"]");function Kxe(t){return Yxe.test(t)}var Oq=Kxe;function Jxe(t){return t.split("")}var Xxe=Jxe,wq="\\ud800-\\udfff",Zxe="\\u0300-\\u036f",eEe="\\ufe20-\\ufe2f",tEe="\\u20d0-\\u20ff",rEe=Zxe+eEe+tEe,nEe="\\ufe0e\\ufe0f",iEe="["+wq+"]",p5="["+rEe+"]",h5="\\ud83c[\\udffb-\\udfff]",sEe="(?:"+p5+"|"+h5+")",Cq="[^"+wq+"]",Nq="(?:\\ud83c[\\udde6-\\uddff]){2}",Dq="[\\ud800-\\udbff][\\udc00-\\udfff]",oEe="\\u200d",Lq=sEe+"?",Iq="["+nEe+"]?",aEe="(?:"+oEe+"(?:"+[Cq,Nq,Dq].join("|")+")"+Iq+Lq+")*",lEe=Iq+Lq+aEe,uEe="(?:"+[Cq+p5+"?",p5,Nq,Dq,iEe].join("|")+")",cEe=RegExp(h5+"(?="+h5+")|"+uEe+lEe,"g");function dEe(t){return t.match(cEe)||[]}var fEe=dEe,pEe=Xxe,hEe=Oq,mEe=fEe;function gEe(t){return hEe(t)?mEe(t):pEe(t)}var yEe=gEe,vEe=Bxe,xEe=Oq,EEe=yEe,bEe=f5;function SEe(t){return function(e){e=bEe(e);var r=xEe(e)?EEe(e):void 0,i=r?r[0]:e.charAt(0),s=r?vEe(r,1).join(""):e.slice(1);return i[t]()+s}}var _Ee=SEe,TEe=_Ee,AEe=TEe("toUpperCase"),REe=AEe,OEe=Fxe,wEe=REe,CEe=OEe(function(t,e,r){return t+(r?" ":"")+wEe(e)}),NEe=CEe;const DEe=FS(NEe);class Qf extends Error{}class LEe extends Qf{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class IEe extends Qf{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class kEe extends Qf{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class ry extends Qf{}class kq extends Qf{constructor(e){super(`Invalid unit ${e}`)}}class ao extends Qf{}class Hc extends Qf{constructor(){super("Zone is an abstract class")}}const ze="numeric",Yo="short",Is="long",m5={year:ze,month:ze,day:ze},Mq={year:ze,month:Yo,day:ze},MEe={year:ze,month:Yo,day:ze,weekday:Yo},Fq={year:ze,month:Is,day:ze},Pq={year:ze,month:Is,day:ze,weekday:Is},$q={hour:ze,minute:ze},jq={hour:ze,minute:ze,second:ze},Uq={hour:ze,minute:ze,second:ze,timeZoneName:Yo},Bq={hour:ze,minute:ze,second:ze,timeZoneName:Is},qq={hour:ze,minute:ze,hourCycle:"h23"},Qq={hour:ze,minute:ze,second:ze,hourCycle:"h23"},zq={hour:ze,minute:ze,second:ze,hourCycle:"h23",timeZoneName:Yo},Hq={hour:ze,minute:ze,second:ze,hourCycle:"h23",timeZoneName:Is},Gq={year:ze,month:ze,day:ze,hour:ze,minute:ze},Wq={year:ze,month:ze,day:ze,hour:ze,minute:ze,second:ze},Vq={year:ze,month:Yo,day:ze,hour:ze,minute:ze},Yq={year:ze,month:Yo,day:ze,hour:ze,minute:ze,second:ze},FEe={year:ze,month:Yo,day:ze,weekday:Yo,hour:ze,minute:ze},Kq={year:ze,month:Is,day:ze,hour:ze,minute:ze,timeZoneName:Yo},Jq={year:ze,month:Is,day:ze,hour:ze,minute:ze,second:ze,timeZoneName:Yo},Xq={year:ze,month:Is,day:ze,weekday:Is,hour:ze,minute:ze,timeZoneName:Is},Zq={year:ze,month:Is,day:ze,weekday:Is,hour:ze,minute:ze,second:ze,timeZoneName:Is};function It(t){return typeof t>"u"}function zf(t){return typeof t=="number"}function PS(t){return typeof t=="number"&&t%1===0}function PEe(t){return typeof t=="string"}function $Ee(t){return Object.prototype.toString.call(t)==="[object Date]"}function eQ(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function jEe(t){return Array.isArray(t)?t:[t]}function tQ(t,e,r){if(t.length!==0)return t.reduce((i,s)=>{const o=[e(s),s];return i&&r(i[0],o[0])===i[0]?i:o},null)[1]}function UEe(t,e){return e.reduce((r,i)=>(r[i]=t[i],r),{})}function Sm(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Su(t,e,r){return PS(t)&&t>=e&&t<=r}function BEe(t,e){return t-e*Math.floor(t/e)}function nn(t,e=2){const r=t<0;let i;return r?i="-"+(""+-t).padStart(e,"0"):i=(""+t).padStart(e,"0"),i}function Gc(t){if(!(It(t)||t===null||t===""))return parseInt(t,10)}function Hf(t){if(!(It(t)||t===null||t===""))return parseFloat(t)}function g5(t){if(!(It(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function y5(t,e,r=!1){const i=10**e;return(r?Math.trunc:Math.round)(t*i)/i}function ny(t){return t%4===0&&(t%100!==0||t%400===0)}function iy(t){return ny(t)?366:365}function $S(t,e){const r=BEe(e-1,12)+1,i=t+(e-r)/12;return r===2?ny(i)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function v5(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(e.getUTCFullYear()-1900)),+e}function jS(t){const e=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,r=t-1,i=(r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400))%7;return e===4||i===3?53:52}function x5(t){return t>99?t:t>60?1900+t:2e3+t}function rQ(t,e,r,i=null){const s=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(o.timeZone=i);const a={timeZoneName:e,...o},l=new Intl.DateTimeFormat(r,a).formatToParts(s).find(u=>u.type.toLowerCase()==="timezonename");return l?l.value:null}function US(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);const i=parseInt(e,10)||0,s=r<0||Object.is(r,-0)?-i:i;return r*60+s}function nQ(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new ao(`Invalid unit value ${t}`);return e}function BS(t,e){const r={};for(const i in t)if(Sm(t,i)){const s=t[i];if(s==null)continue;r[e(i)]=nQ(s)}return r}function sy(t,e){const r=Math.trunc(Math.abs(t/60)),i=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${nn(r,2)}:${nn(i,2)}`;case"narrow":return`${s}${r}${i>0?`:${i}`:""}`;case"techie":return`${s}${nn(r,2)}${nn(i,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function qS(t){return UEe(t,["hour","minute","second","millisecond"])}const iQ=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/,qEe=["January","February","March","April","May","June","July","August","September","October","November","December"],sQ=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],QEe=["J","F","M","A","M","J","J","A","S","O","N","D"];function oQ(t){switch(t){case"narrow":return[...QEe];case"short":return[...sQ];case"long":return[...qEe];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 aQ=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],lQ=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],zEe=["M","T","W","T","F","S","S"];function uQ(t){switch(t){case"narrow":return[...zEe];case"short":return[...lQ];case"long":return[...aQ];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const cQ=["AM","PM"],HEe=["Before Christ","Anno Domini"],GEe=["BC","AD"],WEe=["B","A"];function dQ(t){switch(t){case"narrow":return[...WEe];case"short":return[...GEe];case"long":return[...HEe];default:return null}}function VEe(t){return cQ[t.hour<12?0:1]}function YEe(t,e){return uQ(e)[t.weekday-1]}function KEe(t,e){return oQ(e)[t.month-1]}function JEe(t,e){return dQ(e)[t.year<0?0:1]}function XEe(t,e,r="always",i=!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."]},o=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&o){const f=t==="days";switch(e){case 1:return f?"tomorrow":`next ${s[t][0]}`;case-1:return f?"yesterday":`last ${s[t][0]}`;case 0:return f?"today":`this ${s[t][0]}`}}const a=Object.is(e,-0)||e<0,l=Math.abs(e),u=l===1,c=s[t],d=i?u?c[1]:c[2]||c[1]:u?s[t][0]:t;return a?`${l} ${d} ago`:`in ${l} ${d}`}function fQ(t,e){let r="";for(const i of t)i.literal?r+=i.val:r+=e(i.val);return r}const ZEe={D:m5,DD:Mq,DDD:Fq,DDDD:Pq,t:$q,tt:jq,ttt:Uq,tttt:Bq,T:qq,TT:Qq,TTT:zq,TTTT:Hq,f:Gq,ff:Vq,fff:Kq,ffff:Xq,F:Wq,FF:Yq,FFF:Jq,FFFF:Zq};class as{static create(e,r={}){return new as(e,r)}static parseFormat(e){let r=null,i="",s=!1;const o=[];for(let a=0;a<e.length;a++){const l=e.charAt(a);l==="'"?(i.length>0&&o.push({literal:s,val:i}),r=null,i="",s=!s):s||l===r?i+=l:(i.length>0&&o.push({literal:!1,val:i}),i=l,r=l)}return i.length>0&&o.push({literal:s,val:i}),o}static macroTokenToFormatOpts(e){return ZEe[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}formatDateTime(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r}).format()}formatDateTimeParts(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r}).formatToParts()}resolvedOptions(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r}).resolvedOptions()}num(e,r=0){if(this.opts.forceSimple)return nn(e,r);const i={...this.opts};return r>0&&(i.padTo=r),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,r){const i=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(m,g)=>this.loc.extract(e,m,g),a=m=>e.isOffsetFixed&&e.offset===0&&m.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,m.format):"",l=()=>i?VEe(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(m,g)=>i?KEe(e,m):o(g?{month:m}:{month:m,day:"numeric"},"month"),c=(m,g)=>i?YEe(e,m):o(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),d=m=>{const g=as.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},f=m=>i?JEe(e,m):o({era:m},"era"),p=m=>{switch(m){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return l();case"d":return s?o({day:"numeric"},"day"):this.num(e.day);case"dd":return s?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return s?o({month:"numeric"},"month"):this.num(e.month);case"MM":return s?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return s?o({year:"numeric"},"year"):this.num(e.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(m)}};return fQ(as.parseFormat(r),p)}formatDurationFromString(e,r){const i=u=>{switch(u[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}},s=u=>c=>{const d=i(c);return d?this.num(u.get(d),c.length):c},o=as.parseFormat(r),a=o.reduce((u,{literal:c,val:d})=>c?u:u.concat(d),[]),l=e.shiftTo(...a.map(i).filter(u=>u));return fQ(o,s(l))}}class Ko{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}let _m=class{get type(){throw new Hc}get name(){throw new Hc}get ianaName(){return this.name}get isUniversal(){throw new Hc}offsetName(t,e){throw new Hc}formatOffset(t,e){throw new Hc}offset(t){throw new Hc}equals(t){throw new Hc}get isValid(){throw new Hc}},E5=null;class QS extends _m{static get instance(){return E5===null&&(E5=new QS),E5}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:i}){return rQ(e,r,i)}formatOffset(e,r){return sy(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let zS={};function ebe(t){return zS[t]||(zS[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),zS[t]}const tbe={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function rbe(t,e){const r=t.format(e).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,s,o,a,l,u,c,d]=i;return[a,s,o,l,u,c,d]}function nbe(t,e){const r=t.formatToParts(e),i=[];for(let s=0;s<r.length;s++){const{type:o,value:a}=r[s],l=tbe[o];o==="era"?i[l]=a:It(l)||(i[l]=parseInt(a,10))}return i}let HS={};class Za extends _m{static create(e){return HS[e]||(HS[e]=new Za(e)),HS[e]}static resetCache(){HS={},zS={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Za.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:i}){return rQ(e,r,i,this.name)}formatOffset(e,r){return sy(this.offset(e),r)}offset(e){const r=new Date(e);if(isNaN(r))return NaN;const i=ebe(this.name);let[s,o,a,l,u,c,d]=i.formatToParts?nbe(i,r):rbe(i,r);l==="BC"&&(s=-Math.abs(s)+1);const f=v5({year:s,month:o,day:a,hour:u===24?0:u,minute:c,second:d,millisecond:0});let p=+r;const m=p%1e3;return p-=m>=0?m:1e3+m,(f-p)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let b5=null;class ni extends _m{static get utcInstance(){return b5===null&&(b5=new ni(0)),b5}static instance(e){return e===0?ni.utcInstance:new ni(e)}static parseSpecifier(e){if(e){const r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new ni(US(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${sy(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${sy(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return sy(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class pQ extends _m{constructor(e){super(),this.zoneName=e}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 Wc(t,e){if(It(t)||t===null)return e;if(t instanceof _m)return t;if(PEe(t)){const r=t.toLowerCase();return r==="local"||r==="system"?e:r==="utc"||r==="gmt"?ni.utcInstance:ni.parseSpecifier(r)||Za.create(t)}else return zf(t)?ni.instance(t):typeof t=="object"&&t.offset&&typeof t.offset=="number"?t:new pQ(t)}let hQ=()=>Date.now(),mQ="system",gQ=null,yQ=null,vQ=null,xQ;class sn{static get now(){return hQ}static set now(e){hQ=e}static set defaultZone(e){mQ=e}static get defaultZone(){return Wc(mQ,QS.instance)}static get defaultLocale(){return gQ}static set defaultLocale(e){gQ=e}static get defaultNumberingSystem(){return yQ}static set defaultNumberingSystem(e){yQ=e}static get defaultOutputCalendar(){return vQ}static set defaultOutputCalendar(e){vQ=e}static get throwOnInvalid(){return xQ}static set throwOnInvalid(e){xQ=e}static resetCaches(){Dr.resetCache(),Za.resetCache()}}let EQ={};function ibe(t,e={}){const r=JSON.stringify([t,e]);let i=EQ[r];return i||(i=new Intl.ListFormat(t,e),EQ[r]=i),i}let S5={};function _5(t,e={}){const r=JSON.stringify([t,e]);let i=S5[r];return i||(i=new Intl.DateTimeFormat(t,e),S5[r]=i),i}let T5={};function sbe(t,e={}){const r=JSON.stringify([t,e]);let i=T5[r];return i||(i=new Intl.NumberFormat(t,e),T5[r]=i),i}let A5={};function obe(t,e={}){const{base:r,...i}=e,s=JSON.stringify([t,i]);let o=A5[s];return o||(o=new Intl.RelativeTimeFormat(t,e),A5[s]=o),o}let GS=null;function abe(){return GS||(GS=new Intl.DateTimeFormat().resolvedOptions().locale,GS)}function lbe(t){const e=t.indexOf("-u-");if(e===-1)return[t];{let r;const i=t.substring(0,e);try{r=_5(t).resolvedOptions()}catch{r=_5(i).resolvedOptions()}const{numberingSystem:s,calendar:o}=r;return[i,s,o]}}function ube(t,e,r){return(r||e)&&(t+="-u",r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function cbe(t){const e=[];for(let r=1;r<=12;r++){const i=mt.utc(2016,r,1);e.push(t(i))}return e}function dbe(t){const e=[];for(let r=1;r<=7;r++){const i=mt.utc(2016,11,13+r);e.push(t(i))}return e}function WS(t,e,r,i,s){const o=t.listingMode(r);return o==="error"?null:o==="en"?i(e):s(e)}function fbe(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class pbe{constructor(e,r,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:o,...a}=i;if(!r||Object.keys(a).length>0){const l={useGrouping:!1,...i};i.padTo>0&&(l.minimumIntegerDigits=i.padTo),this.inf=sbe(e,l)}}format(e){if(this.inf){const r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{const r=this.floor?Math.floor(e):y5(e,3);return nn(r,this.padTo)}}}class hbe{constructor(e,r,i){this.opts=i;let s;if(e.zone.isUniversal){const a=-1*(e.offset/60),l=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;e.offset!==0&&Za.create(l).valid?(s=l,this.dt=e):(s="UTC",i.timeZoneName?this.dt=e:this.dt=e.offset===0?e:mt.fromMillis(e.ts+e.offset*60*1e3))}else e.zone.type==="system"?this.dt=e:(this.dt=e,s=e.zone.name);const o={...this.opts};s&&(o.timeZone=s),this.dtf=_5(r,o)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}}class mbe{constructor(e,r,i){this.opts={style:"long",...i},!r&&eQ()&&(this.rtf=obe(e,i))}format(e,r){return this.rtf?this.rtf.format(e,r):XEe(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}}class Dr{static fromOpts(e){return Dr.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)}static create(e,r,i,s=!1){const o=e||sn.defaultLocale,a=o||(s?"en-US":abe()),l=r||sn.defaultNumberingSystem,u=i||sn.defaultOutputCalendar;return new Dr(a,l,u,o)}static resetCache(){GS=null,S5={},T5={},A5={}}static fromObject({locale:e,numberingSystem:r,outputCalendar:i}={}){return Dr.create(e,r,i)}constructor(e,r,i,s){const[o,a,l]=lbe(e);this.locale=o,this.numberingSystem=r||a||null,this.outputCalendar=i||l||null,this.intl=ube(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(){return this.fastNumbersCached==null&&(this.fastNumbersCached=fbe(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:Dr.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1,i=!0){return WS(this,e,i,oQ,()=>{const s=r?{month:e,day:"numeric"}:{month:e},o=r?"format":"standalone";return this.monthsCache[o][e]||(this.monthsCache[o][e]=cbe(a=>this.extract(a,s,"month"))),this.monthsCache[o][e]})}weekdays(e,r=!1,i=!0){return WS(this,e,i,uQ,()=>{const s=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},o=r?"format":"standalone";return this.weekdaysCache[o][e]||(this.weekdaysCache[o][e]=dbe(a=>this.extract(a,s,"weekday"))),this.weekdaysCache[o][e]})}meridiems(e=!0){return WS(this,void 0,e,()=>cQ,()=>{if(!this.meridiemCache){const r={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[mt.utc(2016,11,13,9),mt.utc(2016,11,13,19)].map(i=>this.extract(i,r,"dayperiod"))}return this.meridiemCache})}eras(e,r=!0){return WS(this,e,r,dQ,()=>{const i={era:e};return this.eraCache[e]||(this.eraCache[e]=[mt.utc(-40,1,1),mt.utc(2017,1,1)].map(s=>this.extract(s,i,"era"))),this.eraCache[e]})}extract(e,r,i){const s=this.dtFormatter(e,r),o=s.formatToParts(),a=o.find(l=>l.type.toLowerCase()===i);return a?a.value:null}numberFormatter(e={}){return new pbe(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new hbe(e,this.intl,r)}relFormatter(e={}){return new mbe(this.intl,this.isEnglish(),e)}listFormatter(e={}){return ibe(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}function Tm(...t){const e=t.reduce((r,i)=>r+i.source,"");return RegExp(`^${e}$`)}function Am(...t){return e=>t.reduce(([r,i,s],o)=>{const[a,l,u]=o(e,s);return[{...r,...a},l||i,u]},[{},null,1]).slice(0,2)}function Rm(t,...e){if(t==null)return[null,null];for(const[r,i]of e){const s=r.exec(t);if(s)return i(s)}return[null,null]}function bQ(...t){return(e,r)=>{const i={};let s;for(s=0;s<t.length;s++)i[t[s]]=Gc(e[r+s]);return[i,null,r+s]}}const SQ=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gbe=`(?:${SQ.source}?(?:\\[(${iQ.source})\\])?)?`,R5=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_Q=RegExp(`${R5.source}${gbe}`),O5=RegExp(`(?:T${_Q.source})?`),ybe=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,vbe=/(\d{4})-?W(\d\d)(?:-?(\d))?/,xbe=/(\d{4})-?(\d{3})/,Ebe=bQ("weekYear","weekNumber","weekDay"),bbe=bQ("year","ordinal"),Sbe=/(\d{4})-(\d\d)-(\d\d)/,TQ=RegExp(`${R5.source} ?(?:${SQ.source}|(${iQ.source}))?`),_be=RegExp(`(?: ${TQ.source})?`);function Om(t,e,r){const i=t[e];return It(i)?r:Gc(i)}function Tbe(t,e){return[{year:Om(t,e),month:Om(t,e+1,1),day:Om(t,e+2,1)},null,e+3]}function wm(t,e){return[{hours:Om(t,e,0),minutes:Om(t,e+1,0),seconds:Om(t,e+2,0),milliseconds:g5(t[e+3])},null,e+4]}function oy(t,e){const r=!t[e]&&!t[e+1],i=US(t[e+1],t[e+2]),s=r?null:ni.instance(i);return[{},s,e+3]}function ay(t,e){const r=t[e]?Za.create(t[e]):null;return[{},r,e+1]}const Abe=RegExp(`^T?${R5.source}$`),Rbe=/^-?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 Obe(t){const[e,r,i,s,o,a,l,u,c]=t,d=e[0]==="-",f=u&&u[0]==="-",p=(m,g=!1)=>m!==void 0&&(g||m&&d)?-m:m;return[{years:p(Hf(r)),months:p(Hf(i)),weeks:p(Hf(s)),days:p(Hf(o)),hours:p(Hf(a)),minutes:p(Hf(l)),seconds:p(Hf(u),u==="-0"),milliseconds:p(g5(c),f)}]}const wbe={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function w5(t,e,r,i,s,o,a){const l={year:e.length===2?x5(Gc(e)):Gc(e),month:sQ.indexOf(r)+1,day:Gc(i),hour:Gc(s),minute:Gc(o)};return a&&(l.second=Gc(a)),t&&(l.weekday=t.length>3?aQ.indexOf(t)+1:lQ.indexOf(t)+1),l}const Cbe=/^(?:(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 Nbe(t){const[,e,r,i,s,o,a,l,u,c,d,f]=t,p=w5(e,s,i,r,o,a,l);let m;return u?m=wbe[u]:c?m=0:m=US(d,f),[p,new ni(m)]}function Dbe(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Lbe=/^(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$/,Ibe=/^(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$/,kbe=/^(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 AQ(t){const[,e,r,i,s,o,a,l]=t;return[w5(e,s,i,r,o,a,l),ni.utcInstance]}function Mbe(t){const[,e,r,i,s,o,a,l]=t;return[w5(e,l,r,i,s,o,a),ni.utcInstance]}const Fbe=Tm(ybe,O5),Pbe=Tm(vbe,O5),$be=Tm(xbe,O5),jbe=Tm(_Q),RQ=Am(Tbe,wm,oy,ay),Ube=Am(Ebe,wm,oy,ay),Bbe=Am(bbe,wm,oy,ay),qbe=Am(wm,oy,ay);function Qbe(t){return Rm(t,[Fbe,RQ],[Pbe,Ube],[$be,Bbe],[jbe,qbe])}function zbe(t){return Rm(Dbe(t),[Cbe,Nbe])}function Hbe(t){return Rm(t,[Lbe,AQ],[Ibe,AQ],[kbe,Mbe])}function Gbe(t){return Rm(t,[Rbe,Obe])}const Wbe=Am(wm);function Vbe(t){return Rm(t,[Abe,Wbe])}const Ybe=Tm(Sbe,_be),Kbe=Tm(TQ),Jbe=Am(wm,oy,ay);function Xbe(t){return Rm(t,[Ybe,RQ],[Kbe,Jbe])}const Zbe="Invalid Duration",OQ={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},e2e={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:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...OQ},lo=146097/400,Cm=146097/4800,t2e={years:{quarters:4,months:12,weeks:lo/7,days:lo,hours:lo*24,minutes:lo*24*60,seconds:lo*24*60*60,milliseconds:lo*24*60*60*1e3},quarters:{months:3,weeks:lo/28,days:lo/4,hours:lo*24/4,minutes:lo*24*60/4,seconds:lo*24*60*60/4,milliseconds:lo*24*60*60*1e3/4},months:{weeks:Cm/7,days:Cm,hours:Cm*24,minutes:Cm*24*60,seconds:Cm*24*60*60,milliseconds:Cm*24*60*60*1e3},...OQ},Gf=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],r2e=Gf.slice(0).reverse();function Wf(t,e,r=!1){const i={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy};return new kt(i)}function n2e(t){return t<0?Math.floor(t):Math.ceil(t)}function wQ(t,e,r,i,s){const o=t[s][r],a=e[r]/o,l=Math.sign(a)===Math.sign(i[s]),u=!l&&i[s]!==0&&Math.abs(a)<=1?n2e(a):Math.trunc(a);i[s]+=u,e[r]-=u*o}function i2e(t,e){r2e.reduce((r,i)=>It(e[i])?r:(r&&wQ(t,e,r,e,i),i),null)}class kt{constructor(e){const r=e.conversionAccuracy==="longterm"||!1;this.values=e.values,this.loc=e.loc||Dr.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r?t2e:e2e,this.isLuxonDuration=!0}static fromMillis(e,r){return kt.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new ao(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new kt({values:BS(e,kt.normalizeUnit),loc:Dr.fromObject(r),conversionAccuracy:r.conversionAccuracy})}static fromDurationLike(e){if(zf(e))return kt.fromMillis(e);if(kt.isDuration(e))return e;if(typeof e=="object")return kt.fromObject(e);throw new ao(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){const[i]=Gbe(e);return i?kt.fromObject(i,r):kt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){const[i]=Vbe(e);return i?kt.fromObject(i,r):kt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new ao("need to specify a reason the Duration is invalid");const i=e instanceof Ko?e:new Ko(e,r);if(sn.throwOnInvalid)throw new kEe(i);return new kt({invalid:i})}static normalizeUnit(e){const r={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()];if(!r)throw new kq(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){const i={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?as.create(this.loc,i).formatDurationFromString(this,e):Zbe}toHuman(e={}){const r=Gf.map(i=>{const s=this.values[i];return It(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(s)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=y5(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const r=this.toMillis();if(r<0||r>=864e5)return null;e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e};const i=this.shiftTo("hours","minutes","seconds","milliseconds");let s=e.format==="basic"?"hhmm":"hh:mm";(!e.suppressSeconds||i.seconds!==0||i.milliseconds!==0)&&(s+=e.format==="basic"?"ss":":ss",(!e.suppressMilliseconds||i.milliseconds!==0)&&(s+=".SSS"));let o=i.toFormat(s);return e.includePrefix&&(o="T"+o),o}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const r=kt.fromDurationLike(e),i={};for(const s of Gf)(Sm(r.values,s)||Sm(this.values,s))&&(i[s]=r.get(s)+this.get(s));return Wf(this,{values:i},!0)}minus(e){if(!this.isValid)return this;const r=kt.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;const r={};for(const i of Object.keys(this.values))r[i]=nQ(e(this.values[i],i));return Wf(this,{values:r},!0)}get(e){return this[kt.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const r={...this.values,...BS(e,kt.normalizeUnit)};return Wf(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:i}={}){const s=this.loc.clone({locale:e,numberingSystem:r}),o={loc:s};return i&&(o.conversionAccuracy=i),Wf(this,o)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return i2e(this.matrix,e),Wf(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(a=>kt.normalizeUnit(a));const r={},i={},s=this.toObject();let o;for(const a of Gf)if(e.indexOf(a)>=0){o=a;let l=0;for(const c in i)l+=this.matrix[c][a]*i[c],i[c]=0;zf(s[a])&&(l+=s[a]);const u=Math.trunc(l);r[a]=u,i[a]=(l*1e3-u*1e3)/1e3;for(const c in s)Gf.indexOf(c)>Gf.indexOf(a)&&wQ(this.matrix,s,c,r,a)}else zf(s[a])&&(i[a]=s[a]);for(const a in i)i[a]!==0&&(r[o]+=a===o?i[a]:i[a]/this.matrix[o][a]);return Wf(this,{values:r},!0).normalize()}negate(){if(!this.isValid)return this;const e={};for(const r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return Wf(this,{values:e},!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 this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(i,s){return i===void 0||i===0?s===void 0||s===0:i===s}for(const i of Gf)if(!r(this.values[i],e.values[i]))return!1;return!0}}const ly="Invalid Interval";function s2e(t,e){return!t||!t.isValid?uy.invalid("missing or invalid start"):!e||!e.isValid?uy.invalid("missing or invalid end"):e<t?uy.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}let uy=class zn{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new ao("need to specify a reason the Interval is invalid");const i=e instanceof Ko?e:new Ko(e,r);if(sn.throwOnInvalid)throw new IEe(i);return new zn({invalid:i})}static fromDateTimes(e,r){const i=py(e),s=py(r);return s2e(i,s)??new zn({start:i,end:s})}static after(e,r){const i=kt.fromDurationLike(r),s=py(e);return zn.fromDateTimes(s,s.plus(i))}static before(e,r){const i=kt.fromDurationLike(r),s=py(e);return zn.fromDateTimes(s.minus(i),s)}static fromISO(e,r){const[i,s]=(e||"").split("/",2);if(i&&s){let o,a;try{o=mt.fromISO(i,r),a=o.isValid}catch{a=!1}let l,u;try{l=mt.fromISO(s,r),u=l.isValid}catch{u=!1}if(a&&u)return zn.fromDateTimes(o,l);if(a){const c=kt.fromISO(s,r);if(c.isValid)return zn.after(o,c)}else if(u){const c=kt.fromISO(i,r);if(c.isValid)return zn.before(l,c)}}return zn.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds"){if(!this.isValid)return NaN;const r=this.start.startOf(e),i=this.end.startOf(e);return Math.floor(i.diff(r,e).get(e))+1}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?zn.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];const r=e.map(py).filter(a=>this.contains(a)).sort(),i=[];let{s}=this,o=0;for(;s<this.e;){const a=r[o]||this.e,l=+a>+this.e?this.e:a;i.push(zn.fromDateTimes(s,l)),s=l,o+=1}return i}splitBy(e){const r=kt.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:i}=this,s=1,o;const a=[];for(;i<this.e;){const l=this.start.plus(r.mapUnits(u=>u*s));o=+l>+this.e?this.e:l,a.push(zn.fromDateTimes(i,o)),i=o,s+=1}return a}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const r=this.s>e.s?this.s:e.s,i=this.e<e.e?this.e:e.e;return r>=i?null:zn.fromDateTimes(r,i)}union(e){if(!this.isValid)return this;const r=this.s<e.s?this.s:e.s,i=this.e>e.e?this.e:e.e;return zn.fromDateTimes(r,i)}static merge(e){const[r,i]=e.sort((s,o)=>s.s-o.s).reduce(([s,o],a)=>o?o.overlaps(a)||o.abutsStart(a)?[s,o.union(a)]:[s.concat([o]),a]:[s,a],[[],null]);return i&&r.push(i),r}static xor(e){let r=null,i=0;const s=[],o=e.map(u=>[{time:u.s,type:"s"},{time:u.e,type:"e"}]),a=Array.prototype.concat(...o),l=a.sort((u,c)=>u.time-c.time);for(const u of l)i+=u.type==="s"?1:-1,i===1?r=u.time:(r&&+r!=+u.time&&s.push(zn.fromDateTimes(r,u.time)),r=null);return zn.merge(s)}difference(...e){return zn.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:ly}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:ly}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ly}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:ly}toFormat(e,{separator:r=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:ly}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):kt.invalid(this.invalidReason)}mapEndpoints(e){return zn.fromDateTimes(e(this.s),e(this.e))}},cy=class{static hasDST(t=sn.defaultZone){const e=mt.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Za.isValidZone(t)}static normalizeZone(t){return Wc(t,sn.defaultZone)}static months(t="long",{locale:e=null,numberingSystem:r=null,locObj:i=null,outputCalendar:s="gregory"}={}){return(i||Dr.create(e,r,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:i=null,outputCalendar:s="gregory"}={}){return(i||Dr.create(e,r,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:r=null,locObj:i=null}={}){return(i||Dr.create(e,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:i=null}={}){return(i||Dr.create(e,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Dr.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Dr.create(e,null,"gregory").eras(t)}static features(){return{relative:eQ()}}};function CQ(t,e){const r=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=r(e)-r(t);return Math.floor(kt.fromMillis(i).as("days"))}function o2e(t,e,r){const i=[["years",(l,u)=>u.year-l.year],["quarters",(l,u)=>u.quarter-l.quarter],["months",(l,u)=>u.month-l.month+(u.year-l.year)*12],["weeks",(l,u)=>{const c=CQ(l,u);return(c-c%7)/7}],["days",CQ]],s={};let o,a;for(const[l,u]of i)if(r.indexOf(l)>=0){o=l;let c=u(t,e);a=t.plus({[l]:c}),a>e?(t=t.plus({[l]:c-1}),c-=1):t=a,s[l]=c}return[t,s,a,o]}function a2e(t,e,r,i){let[s,o,a,l]=o2e(t,e,r);const u=e-s,c=r.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);c.length===0&&(a<e&&(a=s.plus({[l]:1})),a!==s&&(o[l]=(o[l]||0)+u/(a-s)));const d=kt.fromObject(o,i);return c.length>0?kt.fromMillis(u,i).shiftTo(...c).plus(d):d}const C5={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},NQ={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]},l2e=C5.hanidec.replace(/[\[|\]]/g,"").split("");function u2e(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){const i=t.charCodeAt(r);if(t[r].search(C5.hanidec)!==-1)e+=l2e.indexOf(t[r]);else for(const s in NQ){const[o,a]=NQ[s];i>=o&&i<=a&&(e+=i-o)}}return parseInt(e,10)}else return e}function Jo({numberingSystem:t},e=""){return new RegExp(`${C5[t||"latn"]}${e}`)}const c2e="missing Intl.DateTimeFormat.formatToParts support";function Yt(t,e=r=>r){return{regex:t,deser:([r])=>e(u2e(r))}}const DQ="[  ]",LQ=new RegExp(DQ,"g");function d2e(t){return t.replace(/\./g,"\\.?").replace(LQ,DQ)}function IQ(t){return t.replace(/\./g,"").replace(LQ," ").toLowerCase()}function Xo(t,e){return t===null?null:{regex:RegExp(t.map(d2e).join("|")),deser:([r])=>t.findIndex(i=>IQ(r)===IQ(i))+e}}function kQ(t,e){return{regex:t,deser:([,r,i])=>US(r,i),groups:e}}function N5(t){return{regex:t,deser:([e])=>e}}function f2e(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function p2e(t,e){const r=Jo(e),i=Jo(e,"{2}"),s=Jo(e,"{3}"),o=Jo(e,"{4}"),a=Jo(e,"{6}"),l=Jo(e,"{1,2}"),u=Jo(e,"{1,3}"),c=Jo(e,"{1,6}"),d=Jo(e,"{1,9}"),f=Jo(e,"{2,4}"),p=Jo(e,"{4,6}"),m=y=>({regex:RegExp(f2e(y.val)),deser:([v])=>v,literal:!0}),g=(y=>{if(t.literal)return m(y);switch(y.val){case"G":return Xo(e.eras("short",!1),0);case"GG":return Xo(e.eras("long",!1),0);case"y":return Yt(c);case"yy":return Yt(f,x5);case"yyyy":return Yt(o);case"yyyyy":return Yt(p);case"yyyyyy":return Yt(a);case"M":return Yt(l);case"MM":return Yt(i);case"MMM":return Xo(e.months("short",!0,!1),1);case"MMMM":return Xo(e.months("long",!0,!1),1);case"L":return Yt(l);case"LL":return Yt(i);case"LLL":return Xo(e.months("short",!1,!1),1);case"LLLL":return Xo(e.months("long",!1,!1),1);case"d":return Yt(l);case"dd":return Yt(i);case"o":return Yt(u);case"ooo":return Yt(s);case"HH":return Yt(i);case"H":return Yt(l);case"hh":return Yt(i);case"h":return Yt(l);case"mm":return Yt(i);case"m":return Yt(l);case"q":return Yt(l);case"qq":return Yt(i);case"s":return Yt(l);case"ss":return Yt(i);case"S":return Yt(u);case"SSS":return Yt(s);case"u":return N5(d);case"uu":return N5(l);case"uuu":return Yt(r);case"a":return Xo(e.meridiems(),0);case"kkkk":return Yt(o);case"kk":return Yt(f,x5);case"W":return Yt(l);case"WW":return Yt(i);case"E":case"c":return Yt(r);case"EEE":return Xo(e.weekdays("short",!1,!1),1);case"EEEE":return Xo(e.weekdays("long",!1,!1),1);case"ccc":return Xo(e.weekdays("short",!0,!1),1);case"cccc":return Xo(e.weekdays("long",!0,!1),1);case"Z":case"ZZ":return kQ(new RegExp(`([+-]${l.source})(?::(${i.source}))?`),2);case"ZZZ":return kQ(new RegExp(`([+-]${l.source})(${i.source})?`),2);case"z":return N5(/[a-z_+-/]{1,256}?/i);default:return m(y)}})(t)||{invalidReason:c2e};return g.token=t,g}const h2e={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",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};function m2e(t,e,r){const{type:i,value:s}=t;if(i==="literal")return{literal:!0,val:s};const o=r[i];let a=h2e[i];if(typeof a=="object"&&(a=a[o]),a)return{literal:!1,val:a}}function g2e(t){return[`^${t.map(e=>e.regex).reduce((e,r)=>`${e}(${r.source})`,"")}$`,t]}function y2e(t,e,r){const i=t.match(e);if(i){const s={};let o=1;for(const a in r)if(Sm(r,a)){const l=r[a],u=l.groups?l.groups+1:1;!l.literal&&l.token&&(s[l.token.val[0]]=l.deser(i.slice(o,o+u))),o+=u}return[i,s]}else return[i,{}]}function v2e(t){const e=s=>{switch(s){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}};let r=null,i;return It(t.z)||(r=Za.create(t.z)),It(t.Z)||(r||(r=new ni(t.Z)),i=t.Z),It(t.q)||(t.M=(t.q-1)*3+1),It(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),It(t.u)||(t.S=g5(t.u)),[Object.keys(t).reduce((s,o)=>{const a=e(o);return a&&(s[a]=t[o]),s},{}),r,i]}let D5=null;function x2e(){return D5||(D5=mt.fromMillis(1555555555555)),D5}function E2e(t,e){if(t.literal)return t;const r=as.macroTokenToFormatOpts(t.val);if(!r)return t;const i=as.create(e,r).formatDateTimeParts(x2e()).map(s=>m2e(s,e,r));return i.includes(void 0)?t:i}function b2e(t,e){return Array.prototype.concat(...t.map(r=>E2e(r,e)))}function MQ(t,e,r){const i=b2e(as.parseFormat(r),t),s=i.map(a=>p2e(a,t)),o=s.find(a=>a.invalidReason);if(o)return{input:e,tokens:i,invalidReason:o.invalidReason};{const[a,l]=g2e(s),u=RegExp(a,"i"),[c,d]=y2e(e,u,l),[f,p,m]=d?v2e(d):[null,null,void 0];if(Sm(d,"a")&&Sm(d,"H"))throw new ry("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:i,regex:u,rawMatches:c,matches:d,result:f,zone:p,specificOffset:m}}}function S2e(t,e,r){const{result:i,zone:s,specificOffset:o,invalidReason:a}=MQ(t,e,r);return[i,s,o,a]}const FQ=[0,31,59,90,120,151,181,212,243,273,304,334],PQ=[0,31,60,91,121,152,182,213,244,274,305,335];function uo(t,e){return new Ko("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function $Q(t,e,r){const i=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&i.setUTCFullYear(i.getUTCFullYear()-1900);const s=i.getUTCDay();return s===0?7:s}function jQ(t,e,r){return r+(ny(t)?PQ:FQ)[e-1]}function UQ(t,e){const r=ny(t)?PQ:FQ,i=r.findIndex(o=>o<e),s=e-r[i];return{month:i+1,day:s}}function L5(t){const{year:e,month:r,day:i}=t,s=jQ(e,r,i),o=$Q(e,r,i);let a=Math.floor((s-o+10)/7),l;return a<1?(l=e-1,a=jS(l)):a>jS(e)?(l=e+1,a=1):l=e,{weekYear:l,weekNumber:a,weekday:o,...qS(t)}}function BQ(t){const{weekYear:e,weekNumber:r,weekday:i}=t,s=$Q(e,1,4),o=iy(e);let a=r*7+i-s-3,l;a<1?(l=e-1,a+=iy(l)):a>o?(l=e+1,a-=iy(e)):l=e;const{month:u,day:c}=UQ(l,a);return{year:l,month:u,day:c,...qS(t)}}function I5(t){const{year:e,month:r,day:i}=t,s=jQ(e,r,i);return{year:e,ordinal:s,...qS(t)}}function qQ(t){const{year:e,ordinal:r}=t,{month:i,day:s}=UQ(e,r);return{year:e,month:i,day:s,...qS(t)}}function _2e(t){const e=PS(t.weekYear),r=Su(t.weekNumber,1,jS(t.weekYear)),i=Su(t.weekday,1,7);return e?r?i?!1:uo("weekday",t.weekday):uo("week",t.week):uo("weekYear",t.weekYear)}function T2e(t){const e=PS(t.year),r=Su(t.ordinal,1,iy(t.year));return e?r?!1:uo("ordinal",t.ordinal):uo("year",t.year)}function QQ(t){const e=PS(t.year),r=Su(t.month,1,12),i=Su(t.day,1,$S(t.year,t.month));return e?r?i?!1:uo("day",t.day):uo("month",t.month):uo("year",t.year)}function zQ(t){const{hour:e,minute:r,second:i,millisecond:s}=t,o=Su(e,0,23)||e===24&&r===0&&i===0&&s===0,a=Su(r,0,59),l=Su(i,0,59),u=Su(s,0,999);return o?a?l?u?!1:uo("millisecond",s):uo("second",i):uo("minute",r):uo("hour",e)}const k5="Invalid DateTime",HQ=864e13;function VS(t){return new Ko("unsupported zone",`the zone "${t.name}" is not supported`)}function M5(t){return t.weekData===null&&(t.weekData=L5(t.c)),t.weekData}function dy(t,e){const r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new mt({...r,...e,old:r})}function GQ(t,e,r){let i=t-e*60*1e3;const s=r.offset(i);if(e===s)return[i,e];i-=(s-e)*60*1e3;const o=r.offset(i);return s===o?[i,s]:[t-Math.min(s,o)*60*1e3,Math.max(s,o)]}function WQ(t,e){t+=e*60*1e3;const r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function YS(t,e,r){return GQ(v5(t),e,r)}function VQ(t,e){const r=t.o,i=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,o={...t.c,year:i,month:s,day:Math.min(t.c.day,$S(i,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},a=kt.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"),l=v5(o);let[u,c]=GQ(l,r,t.zone);return a!==0&&(u+=a,c=t.zone.offset(u)),{ts:u,o:c}}function fy(t,e,r,i,s,o){const{setZone:a,zone:l}=r;if(t&&Object.keys(t).length!==0){const u=e||l,c=mt.fromObject(t,{...r,zone:u,specificOffset:o});return a?c:c.setZone(l)}else return mt.invalid(new Ko("unparsable",`the input "${s}" can't be parsed as ${i}`))}function KS(t,e,r=!0){return t.isValid?as.create(Dr.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function F5(t,e){const r=t.c.year>9999||t.c.year<0;let i="";return r&&t.c.year>=0&&(i+="+"),i+=nn(t.c.year,r?6:4),e?(i+="-",i+=nn(t.c.month),i+="-",i+=nn(t.c.day)):(i+=nn(t.c.month),i+=nn(t.c.day)),i}function YQ(t,e,r,i,s,o){let a=nn(t.c.hour);return e?(a+=":",a+=nn(t.c.minute),(t.c.second!==0||!r)&&(a+=":")):a+=nn(t.c.minute),(t.c.second!==0||!r)&&(a+=nn(t.c.second),(t.c.millisecond!==0||!i)&&(a+=".",a+=nn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&t.offset===0&&!o?a+="Z":t.o<0?(a+="-",a+=nn(Math.trunc(-t.o/60)),a+=":",a+=nn(Math.trunc(-t.o%60))):(a+="+",a+=nn(Math.trunc(t.o/60)),a+=":",a+=nn(Math.trunc(t.o%60)))),o&&(a+="["+t.zone.ianaName+"]"),a}const KQ={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},A2e={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},R2e={ordinal:1,hour:0,minute:0,second:0,millisecond:0},JQ=["year","month","day","hour","minute","second","millisecond"],O2e=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],w2e=["year","ordinal","hour","minute","second","millisecond"];function XQ(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 kq(t);return e}function ZQ(t,e){const r=Wc(e.zone,sn.defaultZone),i=Dr.fromObject(e),s=sn.now();let o,a;if(It(t.year))o=s;else{for(const c of JQ)It(t[c])&&(t[c]=KQ[c]);const l=QQ(t)||zQ(t);if(l)return mt.invalid(l);const u=r.offset(s);[o,a]=YS(t,u,r)}return new mt({ts:o,zone:r,loc:i,o:a})}function ez(t,e,r){const i=It(r.round)?!0:r.round,s=(a,l)=>(a=y5(a,i||r.calendary?0:2,!0),e.loc.clone(r).relFormatter(r).format(a,l)),o=a=>r.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(r.unit)return s(o(r.unit),r.unit);for(const a of r.units){const l=o(a);if(Math.abs(l)>=1)return s(l,a)}return s(t>e?-0:0,r.units[r.units.length-1])}function tz(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}class mt{constructor(e){const r=e.zone||sn.defaultZone;let i=e.invalid||(Number.isNaN(e.ts)?new Ko("invalid input"):null)||(r.isValid?null:VS(r));this.ts=It(e.ts)?sn.now():e.ts;let s=null,o=null;if(!i)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[s,o]=[e.old.c,e.old.o];else{const a=r.offset(this.ts);s=WQ(this.ts,a),i=Number.isNaN(s.year)?new Ko("invalid input"):null,s=i?null:s,o=i?null:a}this._zone=r,this.loc=e.loc||Dr.create(),this.invalid=i,this.weekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new mt({})}static local(){const[e,r]=tz(arguments),[i,s,o,a,l,u,c]=r;return ZQ({year:i,month:s,day:o,hour:a,minute:l,second:u,millisecond:c},e)}static utc(){const[e,r]=tz(arguments),[i,s,o,a,l,u,c]=r;return e.zone=ni.utcInstance,ZQ({year:i,month:s,day:o,hour:a,minute:l,second:u,millisecond:c},e)}static fromJSDate(e,r={}){const i=$Ee(e)?e.valueOf():NaN;if(Number.isNaN(i))return mt.invalid("invalid input");const s=Wc(r.zone,sn.defaultZone);return s.isValid?new mt({ts:i,zone:s,loc:Dr.fromObject(r)}):mt.invalid(VS(s))}static fromMillis(e,r={}){if(zf(e))return e<-HQ||e>HQ?mt.invalid("Timestamp out of range"):new mt({ts:e,zone:Wc(r.zone,sn.defaultZone),loc:Dr.fromObject(r)});throw new ao(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(zf(e))return new mt({ts:e*1e3,zone:Wc(r.zone,sn.defaultZone),loc:Dr.fromObject(r)});throw new ao("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};const i=Wc(r.zone,sn.defaultZone);if(!i.isValid)return mt.invalid(VS(i));const s=sn.now(),o=It(r.specificOffset)?i.offset(s):r.specificOffset,a=BS(e,XQ),l=!It(a.ordinal),u=!It(a.year),c=!It(a.month)||!It(a.day),d=u||c,f=a.weekYear||a.weekNumber,p=Dr.fromObject(r);if((d||l)&&f)throw new ry("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&l)throw new ry("Can't mix ordinal dates with month/day");const m=f||a.weekday&&!d;let g,y,v=WQ(s,o);m?(g=O2e,y=A2e,v=L5(v)):l?(g=w2e,y=R2e,v=I5(v)):(g=JQ,y=KQ);let E=!1;for(const O of g){const w=a[O];It(w)?E?a[O]=y[O]:a[O]=v[O]:E=!0}const x=m?_2e(a):l?T2e(a):QQ(a),b=x||zQ(a);if(b)return mt.invalid(b);const S=m?BQ(a):l?qQ(a):a,[_,A]=YS(S,o,i),T=new mt({ts:_,zone:i,o:A,loc:p});return a.weekday&&d&&e.weekday!==T.weekday?mt.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${T.toISO()}`):T}static fromISO(e,r={}){const[i,s]=Qbe(e);return fy(i,s,r,"ISO 8601",e)}static fromRFC2822(e,r={}){const[i,s]=zbe(e);return fy(i,s,r,"RFC 2822",e)}static fromHTTP(e,r={}){const[i,s]=Hbe(e);return fy(i,s,r,"HTTP",r)}static fromFormat(e,r,i={}){if(It(e)||It(r))throw new ao("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=i,a=Dr.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[l,u,c,d]=S2e(a,e,r);return d?mt.invalid(d):fy(l,u,i,`format ${r}`,e,c)}static fromString(e,r,i={}){return mt.fromFormat(e,r,i)}static fromSQL(e,r={}){const[i,s]=Xbe(e);return fy(i,s,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new ao("need to specify a reason the DateTime is invalid");const i=e instanceof Ko?e:new Ko(e,r);if(sn.throwOnInvalid)throw new LEe(i);return new mt({invalid:i})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}get(e){return this[e]}get isValid(){return this.invalid===null}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?M5(this).weekYear:NaN}get weekNumber(){return this.isValid?M5(this).weekNumber:NaN}get weekday(){return this.isValid?M5(this).weekday:NaN}get ordinal(){return this.isValid?I5(this.c).ordinal:NaN}get monthShort(){return this.isValid?cy.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?cy.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?cy.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?cy.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?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}get isInLeapYear(){return ny(this.year)}get daysInMonth(){return $S(this.year,this.month)}get daysInYear(){return this.isValid?iy(this.year):NaN}get weeksInWeekYear(){return this.isValid?jS(this.weekYear):NaN}resolvedLocaleOptions(e={}){const{locale:r,numberingSystem:i,calendar:s}=as.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:i,outputCalendar:s}}toUTC(e=0,r={}){return this.setZone(ni.instance(e),r)}toLocal(){return this.setZone(sn.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:i=!1}={}){if(e=Wc(e,sn.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(r||i){const o=e.offset(this.ts),a=this.toObject();[s]=YS(a,o,e)}return dy(this,{ts:s,zone:e})}else return mt.invalid(VS(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:i}={}){const s=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:i});return dy(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const r=BS(e,XQ),i=!It(r.weekYear)||!It(r.weekNumber)||!It(r.weekday),s=!It(r.ordinal),o=!It(r.year),a=!It(r.month)||!It(r.day),l=o||a,u=r.weekYear||r.weekNumber;if((l||s)&&u)throw new ry("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new ry("Can't mix ordinal dates with month/day");let c;i?c=BQ({...L5(this.c),...r}):It(r.ordinal)?(c={...this.toObject(),...r},It(r.day)&&(c.day=Math.min($S(c.year,c.month),c.day))):c=qQ({...I5(this.c),...r});const[d,f]=YS(c,this.o,this.zone);return dy(this,{ts:d,o:f})}plus(e){if(!this.isValid)return this;const r=kt.fromDurationLike(e);return dy(this,VQ(this,r))}minus(e){if(!this.isValid)return this;const r=kt.fromDurationLike(e).negate();return dy(this,VQ(this,r))}startOf(e){if(!this.isValid)return this;const r={},i=kt.normalizeUnit(e);switch(i){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(i==="weeks"&&(r.weekday=1),i==="quarters"){const s=Math.ceil(this.month/3);r.month=(s-1)*3+1}return this.set(r)}endOf(e){return this.isValid?this.plus({[e]:1}).startOf(e).minus(1):this}toFormat(e,r={}){return this.isValid?as.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):k5}toLocaleString(e=m5,r={}){return this.isValid?as.create(this.loc.clone(r),e).formatDateTime(this):k5}toLocaleParts(e={}){return this.isValid?as.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const a=e==="extended";let l=F5(this,a);return l+="T",l+=YQ(this,a,r,i,s,o),l}toISODate({format:e="extended"}={}){return this.isValid?F5(this,e==="extended"):null}toISOWeekDate(){return KS(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:o=!1,format:a="extended"}={}){return this.isValid?(s?"T":"")+YQ(this,a==="extended",r,e,i,o):null}toRFC2822(){return KS(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return KS(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?F5(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(r||e)&&(i&&(s+=" "),r?s+="z":e&&(s+="ZZ")),KS(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():k5}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(e={}){if(!this.isValid)return{};const r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",i={}){if(!this.isValid||!e.isValid)return kt.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},o=jEe(r).map(kt.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,u=a?e:this,c=a2e(l,u,o,s);return a?c.negate():c}diffNow(e="milliseconds",r={}){return this.diff(mt.now(),e,r)}until(e){return this.isValid?uy.fromDateTimes(this,e):this}hasSame(e,r){if(!this.isValid)return!1;const i=e.valueOf(),s=this.setZone(e.zone,{keepLocalTime:!0});return s.startOf(r)<=i&&i<=s.endOf(r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const r=e.base||mt.fromObject({},{zone:this.zone}),i=e.padding?this<r?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(s=e.unit,o=void 0),ez(r,this.plus(i),{...e,numeric:"always",units:s,unit:o})}toRelativeCalendar(e={}){return this.isValid?ez(e.base||mt.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(mt.isDateTime))throw new ao("min requires all arguments be DateTimes");return tQ(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(mt.isDateTime))throw new ao("max requires all arguments be DateTimes");return tQ(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,i={}){const{locale:s=null,numberingSystem:o=null}=i,a=Dr.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return MQ(a,e,r)}static fromStringExplain(e,r,i={}){return mt.fromFormatExplain(e,r,i)}static get DATE_SHORT(){return m5}static get DATE_MED(){return Mq}static get DATE_MED_WITH_WEEKDAY(){return MEe}static get DATE_FULL(){return Fq}static get DATE_HUGE(){return Pq}static get TIME_SIMPLE(){return $q}static get TIME_WITH_SECONDS(){return jq}static get TIME_WITH_SHORT_OFFSET(){return Uq}static get TIME_WITH_LONG_OFFSET(){return Bq}static get TIME_24_SIMPLE(){return qq}static get TIME_24_WITH_SECONDS(){return Qq}static get TIME_24_WITH_SHORT_OFFSET(){return zq}static get TIME_24_WITH_LONG_OFFSET(){return Hq}static get DATETIME_SHORT(){return Gq}static get DATETIME_SHORT_WITH_SECONDS(){return Wq}static get DATETIME_MED(){return Vq}static get DATETIME_MED_WITH_SECONDS(){return Yq}static get DATETIME_MED_WITH_WEEKDAY(){return FEe}static get DATETIME_FULL(){return Kq}static get DATETIME_FULL_WITH_SECONDS(){return Jq}static get DATETIME_HUGE(){return Xq}static get DATETIME_HUGE_WITH_SECONDS(){return Zq}}function py(t){if(mt.isDateTime(t))return t;if(t&&t.valueOf&&zf(t.valueOf()))return mt.fromJSDate(t);if(t&&typeof t=="object")return mt.fromObject(t);throw new ao(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const C2e=Object.freeze(Object.defineProperty({__proto__:null,DateTime:mt,Duration:kt,FixedOffsetZone:ni,IANAZone:Za,Info:cy,Interval:uy,InvalidZone:pQ,Settings:sn,SystemZone:QS,VERSION:"2.5.2",Zone:_m},Symbol.toStringTag,{value:"Module"}));function Vc(t,e,r=!1){if(t!==void 0)switch(t){case"ordinal":return{range:["#C2D5EE","#1A73E8"]};case"temporal":case"quantitative":return e?r?{range:["#6BA4EE","#EEA361"]}:{range:["#1A73E8","#E8710A"]}:{range:["#C2D5EE","#1A73E8"]};case"nominal":return r?{range:["#6BA4EE","#66CEDC","#EC72B8","#EEA361","#F9C85B","#AACD85","#B87CED","#ACB0B3"]}:{range:["#1A73E8","#12B5CB","#E52592","#E8710A","#F9AB00","#7CB342","#9334E6","#80868B"]}}}function Er(t,e){return t.toString().padStart(e,"0")}function P5(t,e,r){e||(e="second");let i=!1;switch(e){case"hour":case"minute":case"second":i=!0;break}const s=mt.fromJSDate(t,{zone:i&&r?r:"UTC"});switch(e){case"year":return`${Er(s.year,4)}`;case"quarter":{const o=Er(s.year,4),a=Math.floor(s.month/3)+1;return`${o}-Q${a}`}case"month":{const o=Er(s.year,2),a=Er(s.month,2);return`${o}-${a}`}case"week":{const o=Er(s.year,2),a=Er(s.month,2),l=Er(s.day,2);return`${o}-${a}-${l}-WK`}case"day":{const o=Er(s.year,2),a=Er(s.month,2),l=Er(s.day,2);return`${o}-${a}-${l}`}case"hour":{const o=Er(s.year,2),a=Er(s.month,2),l=Er(s.day,2),u=Er(s.hour,2);return`${o}-${a}-${l} ${u}`}case"minute":{const o=Er(s.year,2),a=Er(s.month,2),l=Er(s.day,2),u=Er(s.hour,2),c=Er(s.minute,2);return`${o}-${a}-${l} ${u}:${c}`}case"second":{const o=Er(s.year,2),a=Er(s.month,2),l=Er(s.day,2),u=Er(s.hour,2),c=Er(s.minute,2),d=Er(s.second,2);return`${o}-${a}-${l} ${u}:${c}:${d}`}default:throw new Error("Unknown timeframe.")}}function N2e(t,e){const r=mt.fromJSDate(t,{zone:e??"UTC"});return new Date(r.year,r.month-1,r.day,r.hour,r.minute,r.second,r.millisecond)}let $5;const D2e=100;async function JS(){const t=Date.now();if(!($5&&t<$5+D2e))return $5=t,new Promise(e=>{setTimeout(e,0)})}function co(t,e){const r=t.createElement("span");return r.classList.add("error"),r.appendChild(t.createTextNode(typeof e=="string"?e:e.message)),r}function hy(t){const e=t.createElement("span");return e.appendChild(t.createTextNode("∅")),e.classList.add("value-null"),e}function rz(t){const e=t.createElement("div");return e.classList.add("drill-icon"),e.innerHTML=`
1
+ import{U as Iye}from"./index-C3oq1gR3.js";function xSt(IS,kS){for(var rn=0;rn<kS.length;rn++){const qt=kS[rn];if(typeof qt!="string"&&!Array.isArray(qt)){for(const bu in qt)if(bu!=="default"&&!(bu in IS)){const Em=Object.getOwnPropertyDescriptor(qt,bu);Em&&Object.defineProperty(IS,bu,Em.get?Em:{enumerable:!0,get:()=>qt[bu]})}}}return Object.freeze(Object.defineProperty(IS,Symbol.toStringTag,{value:"Module"}))}var OS={exports:{}},ESt=OS.exports,kye;function bSt(){return kye||(kye=1,(function(IS,kS){(function(rn,qt){qt(kS)})(ESt,function(rn){class qt{constructor(){this.tagOptionExtractors={}}addExtractor(e,...r){for(const i in r)this.tagOptionExtractors[r[i]]=e}activates(e){return!1}isValidMatch(e){return!0}matches(e){return e.renderer===this.rendererName}parseTagParameters(e){const r={};for(const i in this.tagOptionExtractors){const s=e.tag(i);s&&this.tagOptionExtractors[i](r,s)}return r}}function bu(t){if(t.isArray())return t.values.map(e=>bu(e));if(t.isBoolean()||t.isNumber()||t.isString()||t.isNull())return t.value;if(t.isTime())return t.value.toISOString();if(t.isJSON())try{return JSON.parse(t.value)}catch{return t.value}else if(t.isRecord()){const e={};for(const r of t.columns)e[r.field.name]=bu(r);return e}return null}class Em{constructor(e){this.document=e}async render(e){const r=this.document.createElement("pre");return r.appendChild(this.document.createTextNode(JSON.stringify(bu(e),void 0,2))),r}}const c5=class extends qt{create(e,r,i,s,o){return new Em(e)}get rendererName(){return"json"}};c5.instance=new c5;let qye=c5;class Qye{constructor(e,r,i){this.document=e,this.options=r,this.tagged=i}}class MS extends Qye{constructor(){super(...arguments),this.childRenderers={}}get defaultStylesForChildren(){return this.childrenStyleDefaults}static make(e,r,i,s,o){return new e(r,s,o)}}var R=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Iye<"u"?Iye:typeof self<"u"?self:{};function FS(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function tq(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var s=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(r,i,s.get?s:{enumerable:!0,get:function(){return t[i]}})}),r}function zye(t,e,r,i){var s=-1,o=t==null?0:t.length;for(i&&o&&(r=t[++s]);++s<o;)r=e(r,t[s],s,t);return r}var Hye=zye;function Gye(t){return function(e){return t?.[e]}}var Wye=Gye,Vye=Wye,Yye={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Kye=Vye(Yye),Jye=Kye,Xye=typeof R=="object"&&R&&R.Object===Object&&R,Zye=Xye,eve=Zye,tve=typeof self=="object"&&self&&self.Object===Object&&self,rve=eve||tve||Function("return this")(),nve=rve,ive=nve,sve=ive.Symbol,d5=sve;function ove(t,e){for(var r=-1,i=t==null?0:t.length,s=Array(i);++r<i;)s[r]=e(t[r],r,t);return s}var ave=ove,lve=Array.isArray,uve=lve,rq=d5,nq=Object.prototype,cve=nq.hasOwnProperty,dve=nq.toString,ty=rq?rq.toStringTag:void 0;function fve(t){var e=cve.call(t,ty),r=t[ty];try{t[ty]=void 0;var i=!0}catch{}var s=dve.call(t);return i&&(e?t[ty]=r:delete t[ty]),s}var pve=fve,hve=Object.prototype,mve=hve.toString;function gve(t){return mve.call(t)}var yve=gve,iq=d5,vve=pve,xve=yve,Eve="[object Null]",bve="[object Undefined]",sq=iq?iq.toStringTag:void 0;function Sve(t){return t==null?t===void 0?bve:Eve:sq&&sq in Object(t)?vve(t):xve(t)}var _ve=Sve;function Tve(t){return t!=null&&typeof t=="object"}var Ave=Tve,Rve=_ve,Ove=Ave,wve="[object Symbol]";function Cve(t){return typeof t=="symbol"||Ove(t)&&Rve(t)==wve}var Nve=Cve,oq=d5,Dve=ave,Lve=uve,Ive=Nve,aq=oq?oq.prototype:void 0,lq=aq?aq.toString:void 0;function uq(t){if(typeof t=="string")return t;if(Lve(t))return Dve(t,uq)+"";if(Ive(t))return lq?lq.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var kve=uq,Mve=kve;function Fve(t){return t==null?"":Mve(t)}var f5=Fve,Pve=Jye,$ve=f5,jve=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Uve="\\u0300-\\u036f",Bve="\\ufe20-\\ufe2f",qve="\\u20d0-\\u20ff",Qve=Uve+Bve+qve,zve="["+Qve+"]",Hve=RegExp(zve,"g");function Gve(t){return t=$ve(t),t&&t.replace(jve,Pve).replace(Hve,"")}var Wve=Gve,Vve=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Yve(t){return t.match(Vve)||[]}var Kve=Yve,Jve=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Xve(t){return Jve.test(t)}var Zve=Xve,cq="\\ud800-\\udfff",exe="\\u0300-\\u036f",txe="\\ufe20-\\ufe2f",rxe="\\u20d0-\\u20ff",nxe=exe+txe+rxe,dq="\\u2700-\\u27bf",fq="a-z\\xdf-\\xf6\\xf8-\\xff",ixe="\\xac\\xb1\\xd7\\xf7",sxe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",oxe="\\u2000-\\u206f",axe=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pq="A-Z\\xc0-\\xd6\\xd8-\\xde",lxe="\\ufe0e\\ufe0f",hq=ixe+sxe+oxe+axe,mq="['’]",gq="["+hq+"]",uxe="["+nxe+"]",yq="\\d+",cxe="["+dq+"]",vq="["+fq+"]",xq="[^"+cq+hq+yq+dq+fq+pq+"]",dxe="\\ud83c[\\udffb-\\udfff]",fxe="(?:"+uxe+"|"+dxe+")",pxe="[^"+cq+"]",Eq="(?:\\ud83c[\\udde6-\\uddff]){2}",bq="[\\ud800-\\udbff][\\udc00-\\udfff]",bm="["+pq+"]",hxe="\\u200d",Sq="(?:"+vq+"|"+xq+")",mxe="(?:"+bm+"|"+xq+")",_q="(?:"+mq+"(?:d|ll|m|re|s|t|ve))?",Tq="(?:"+mq+"(?:D|LL|M|RE|S|T|VE))?",Aq=fxe+"?",Rq="["+lxe+"]?",gxe="(?:"+hxe+"(?:"+[pxe,Eq,bq].join("|")+")"+Rq+Aq+")*",yxe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",vxe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xxe=Rq+Aq+gxe,Exe="(?:"+[cxe,Eq,bq].join("|")+")"+xxe,bxe=RegExp([bm+"?"+vq+"+"+_q+"(?="+[gq,bm,"$"].join("|")+")",mxe+"+"+Tq+"(?="+[gq,bm+Sq,"$"].join("|")+")",bm+"?"+Sq+"+"+_q,bm+"+"+Tq,vxe,yxe,yq,Exe].join("|"),"g");function Sxe(t){return t.match(bxe)||[]}var _xe=Sxe,Txe=Kve,Axe=Zve,Rxe=f5,Oxe=_xe;function wxe(t,e,r){return t=Rxe(t),e=r?void 0:e,e===void 0?Axe(t)?Oxe(t):Txe(t):t.match(e)||[]}var Cxe=wxe,Nxe=Hye,Dxe=Wve,Lxe=Cxe,Ixe="['’]",kxe=RegExp(Ixe,"g");function Mxe(t){return function(e){return Nxe(Lxe(Dxe(e).replace(kxe,"")),t,"")}}var Fxe=Mxe;function Pxe(t,e,r){var i=-1,s=t.length;e<0&&(e=-e>s?0:s+e),r=r>s?s:r,r<0&&(r+=s),s=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(s);++i<s;)o[i]=t[i+e];return o}var $xe=Pxe,jxe=$xe;function Uxe(t,e,r){var i=t.length;return r=r===void 0?i:r,!e&&r>=i?t:jxe(t,e,r)}var Bxe=Uxe,qxe="\\ud800-\\udfff",Qxe="\\u0300-\\u036f",zxe="\\ufe20-\\ufe2f",Hxe="\\u20d0-\\u20ff",Gxe=Qxe+zxe+Hxe,Wxe="\\ufe0e\\ufe0f",Vxe="\\u200d",Yxe=RegExp("["+Vxe+qxe+Gxe+Wxe+"]");function Kxe(t){return Yxe.test(t)}var Oq=Kxe;function Jxe(t){return t.split("")}var Xxe=Jxe,wq="\\ud800-\\udfff",Zxe="\\u0300-\\u036f",eEe="\\ufe20-\\ufe2f",tEe="\\u20d0-\\u20ff",rEe=Zxe+eEe+tEe,nEe="\\ufe0e\\ufe0f",iEe="["+wq+"]",p5="["+rEe+"]",h5="\\ud83c[\\udffb-\\udfff]",sEe="(?:"+p5+"|"+h5+")",Cq="[^"+wq+"]",Nq="(?:\\ud83c[\\udde6-\\uddff]){2}",Dq="[\\ud800-\\udbff][\\udc00-\\udfff]",oEe="\\u200d",Lq=sEe+"?",Iq="["+nEe+"]?",aEe="(?:"+oEe+"(?:"+[Cq,Nq,Dq].join("|")+")"+Iq+Lq+")*",lEe=Iq+Lq+aEe,uEe="(?:"+[Cq+p5+"?",p5,Nq,Dq,iEe].join("|")+")",cEe=RegExp(h5+"(?="+h5+")|"+uEe+lEe,"g");function dEe(t){return t.match(cEe)||[]}var fEe=dEe,pEe=Xxe,hEe=Oq,mEe=fEe;function gEe(t){return hEe(t)?mEe(t):pEe(t)}var yEe=gEe,vEe=Bxe,xEe=Oq,EEe=yEe,bEe=f5;function SEe(t){return function(e){e=bEe(e);var r=xEe(e)?EEe(e):void 0,i=r?r[0]:e.charAt(0),s=r?vEe(r,1).join(""):e.slice(1);return i[t]()+s}}var _Ee=SEe,TEe=_Ee,AEe=TEe("toUpperCase"),REe=AEe,OEe=Fxe,wEe=REe,CEe=OEe(function(t,e,r){return t+(r?" ":"")+wEe(e)}),NEe=CEe;const DEe=FS(NEe);class Qf extends Error{}class LEe extends Qf{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class IEe extends Qf{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class kEe extends Qf{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class ry extends Qf{}class kq extends Qf{constructor(e){super(`Invalid unit ${e}`)}}class ao extends Qf{}class Hc extends Qf{constructor(){super("Zone is an abstract class")}}const ze="numeric",Yo="short",Is="long",m5={year:ze,month:ze,day:ze},Mq={year:ze,month:Yo,day:ze},MEe={year:ze,month:Yo,day:ze,weekday:Yo},Fq={year:ze,month:Is,day:ze},Pq={year:ze,month:Is,day:ze,weekday:Is},$q={hour:ze,minute:ze},jq={hour:ze,minute:ze,second:ze},Uq={hour:ze,minute:ze,second:ze,timeZoneName:Yo},Bq={hour:ze,minute:ze,second:ze,timeZoneName:Is},qq={hour:ze,minute:ze,hourCycle:"h23"},Qq={hour:ze,minute:ze,second:ze,hourCycle:"h23"},zq={hour:ze,minute:ze,second:ze,hourCycle:"h23",timeZoneName:Yo},Hq={hour:ze,minute:ze,second:ze,hourCycle:"h23",timeZoneName:Is},Gq={year:ze,month:ze,day:ze,hour:ze,minute:ze},Wq={year:ze,month:ze,day:ze,hour:ze,minute:ze,second:ze},Vq={year:ze,month:Yo,day:ze,hour:ze,minute:ze},Yq={year:ze,month:Yo,day:ze,hour:ze,minute:ze,second:ze},FEe={year:ze,month:Yo,day:ze,weekday:Yo,hour:ze,minute:ze},Kq={year:ze,month:Is,day:ze,hour:ze,minute:ze,timeZoneName:Yo},Jq={year:ze,month:Is,day:ze,hour:ze,minute:ze,second:ze,timeZoneName:Yo},Xq={year:ze,month:Is,day:ze,weekday:Is,hour:ze,minute:ze,timeZoneName:Is},Zq={year:ze,month:Is,day:ze,weekday:Is,hour:ze,minute:ze,second:ze,timeZoneName:Is};function It(t){return typeof t>"u"}function zf(t){return typeof t=="number"}function PS(t){return typeof t=="number"&&t%1===0}function PEe(t){return typeof t=="string"}function $Ee(t){return Object.prototype.toString.call(t)==="[object Date]"}function eQ(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function jEe(t){return Array.isArray(t)?t:[t]}function tQ(t,e,r){if(t.length!==0)return t.reduce((i,s)=>{const o=[e(s),s];return i&&r(i[0],o[0])===i[0]?i:o},null)[1]}function UEe(t,e){return e.reduce((r,i)=>(r[i]=t[i],r),{})}function Sm(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Su(t,e,r){return PS(t)&&t>=e&&t<=r}function BEe(t,e){return t-e*Math.floor(t/e)}function nn(t,e=2){const r=t<0;let i;return r?i="-"+(""+-t).padStart(e,"0"):i=(""+t).padStart(e,"0"),i}function Gc(t){if(!(It(t)||t===null||t===""))return parseInt(t,10)}function Hf(t){if(!(It(t)||t===null||t===""))return parseFloat(t)}function g5(t){if(!(It(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function y5(t,e,r=!1){const i=10**e;return(r?Math.trunc:Math.round)(t*i)/i}function ny(t){return t%4===0&&(t%100!==0||t%400===0)}function iy(t){return ny(t)?366:365}function $S(t,e){const r=BEe(e-1,12)+1,i=t+(e-r)/12;return r===2?ny(i)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function v5(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(e.getUTCFullYear()-1900)),+e}function jS(t){const e=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,r=t-1,i=(r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400))%7;return e===4||i===3?53:52}function x5(t){return t>99?t:t>60?1900+t:2e3+t}function rQ(t,e,r,i=null){const s=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(o.timeZone=i);const a={timeZoneName:e,...o},l=new Intl.DateTimeFormat(r,a).formatToParts(s).find(u=>u.type.toLowerCase()==="timezonename");return l?l.value:null}function US(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);const i=parseInt(e,10)||0,s=r<0||Object.is(r,-0)?-i:i;return r*60+s}function nQ(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new ao(`Invalid unit value ${t}`);return e}function BS(t,e){const r={};for(const i in t)if(Sm(t,i)){const s=t[i];if(s==null)continue;r[e(i)]=nQ(s)}return r}function sy(t,e){const r=Math.trunc(Math.abs(t/60)),i=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${nn(r,2)}:${nn(i,2)}`;case"narrow":return`${s}${r}${i>0?`:${i}`:""}`;case"techie":return`${s}${nn(r,2)}${nn(i,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function qS(t){return UEe(t,["hour","minute","second","millisecond"])}const iQ=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/,qEe=["January","February","March","April","May","June","July","August","September","October","November","December"],sQ=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],QEe=["J","F","M","A","M","J","J","A","S","O","N","D"];function oQ(t){switch(t){case"narrow":return[...QEe];case"short":return[...sQ];case"long":return[...qEe];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 aQ=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],lQ=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],zEe=["M","T","W","T","F","S","S"];function uQ(t){switch(t){case"narrow":return[...zEe];case"short":return[...lQ];case"long":return[...aQ];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const cQ=["AM","PM"],HEe=["Before Christ","Anno Domini"],GEe=["BC","AD"],WEe=["B","A"];function dQ(t){switch(t){case"narrow":return[...WEe];case"short":return[...GEe];case"long":return[...HEe];default:return null}}function VEe(t){return cQ[t.hour<12?0:1]}function YEe(t,e){return uQ(e)[t.weekday-1]}function KEe(t,e){return oQ(e)[t.month-1]}function JEe(t,e){return dQ(e)[t.year<0?0:1]}function XEe(t,e,r="always",i=!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."]},o=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&o){const f=t==="days";switch(e){case 1:return f?"tomorrow":`next ${s[t][0]}`;case-1:return f?"yesterday":`last ${s[t][0]}`;case 0:return f?"today":`this ${s[t][0]}`}}const a=Object.is(e,-0)||e<0,l=Math.abs(e),u=l===1,c=s[t],d=i?u?c[1]:c[2]||c[1]:u?s[t][0]:t;return a?`${l} ${d} ago`:`in ${l} ${d}`}function fQ(t,e){let r="";for(const i of t)i.literal?r+=i.val:r+=e(i.val);return r}const ZEe={D:m5,DD:Mq,DDD:Fq,DDDD:Pq,t:$q,tt:jq,ttt:Uq,tttt:Bq,T:qq,TT:Qq,TTT:zq,TTTT:Hq,f:Gq,ff:Vq,fff:Kq,ffff:Xq,F:Wq,FF:Yq,FFF:Jq,FFFF:Zq};class as{static create(e,r={}){return new as(e,r)}static parseFormat(e){let r=null,i="",s=!1;const o=[];for(let a=0;a<e.length;a++){const l=e.charAt(a);l==="'"?(i.length>0&&o.push({literal:s,val:i}),r=null,i="",s=!s):s||l===r?i+=l:(i.length>0&&o.push({literal:!1,val:i}),i=l,r=l)}return i.length>0&&o.push({literal:s,val:i}),o}static macroTokenToFormatOpts(e){return ZEe[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}formatDateTime(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r}).format()}formatDateTimeParts(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r}).formatToParts()}resolvedOptions(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r}).resolvedOptions()}num(e,r=0){if(this.opts.forceSimple)return nn(e,r);const i={...this.opts};return r>0&&(i.padTo=r),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,r){const i=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(m,g)=>this.loc.extract(e,m,g),a=m=>e.isOffsetFixed&&e.offset===0&&m.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,m.format):"",l=()=>i?VEe(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),u=(m,g)=>i?KEe(e,m):o(g?{month:m}:{month:m,day:"numeric"},"month"),c=(m,g)=>i?YEe(e,m):o(g?{weekday:m}:{weekday:m,month:"long",day:"numeric"},"weekday"),d=m=>{const g=as.macroTokenToFormatOpts(m);return g?this.formatWithSystemDefault(e,g):m},f=m=>i?JEe(e,m):o({era:m},"era"),p=m=>{switch(m){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return l();case"d":return s?o({day:"numeric"},"day"):this.num(e.day);case"dd":return s?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return s?o({month:"numeric"},"month"):this.num(e.month);case"MM":return s?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return s?o({year:"numeric"},"year"):this.num(e.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return d(m)}};return fQ(as.parseFormat(r),p)}formatDurationFromString(e,r){const i=u=>{switch(u[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}},s=u=>c=>{const d=i(c);return d?this.num(u.get(d),c.length):c},o=as.parseFormat(r),a=o.reduce((u,{literal:c,val:d})=>c?u:u.concat(d),[]),l=e.shiftTo(...a.map(i).filter(u=>u));return fQ(o,s(l))}}class Ko{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}let _m=class{get type(){throw new Hc}get name(){throw new Hc}get ianaName(){return this.name}get isUniversal(){throw new Hc}offsetName(t,e){throw new Hc}formatOffset(t,e){throw new Hc}offset(t){throw new Hc}equals(t){throw new Hc}get isValid(){throw new Hc}},E5=null;class QS extends _m{static get instance(){return E5===null&&(E5=new QS),E5}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:i}){return rQ(e,r,i)}formatOffset(e,r){return sy(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let zS={};function ebe(t){return zS[t]||(zS[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),zS[t]}const tbe={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function rbe(t,e){const r=t.format(e).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,s,o,a,l,u,c,d]=i;return[a,s,o,l,u,c,d]}function nbe(t,e){const r=t.formatToParts(e),i=[];for(let s=0;s<r.length;s++){const{type:o,value:a}=r[s],l=tbe[o];o==="era"?i[l]=a:It(l)||(i[l]=parseInt(a,10))}return i}let HS={};class Za extends _m{static create(e){return HS[e]||(HS[e]=new Za(e)),HS[e]}static resetCache(){HS={},zS={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Za.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:i}){return rQ(e,r,i,this.name)}formatOffset(e,r){return sy(this.offset(e),r)}offset(e){const r=new Date(e);if(isNaN(r))return NaN;const i=ebe(this.name);let[s,o,a,l,u,c,d]=i.formatToParts?nbe(i,r):rbe(i,r);l==="BC"&&(s=-Math.abs(s)+1);const f=v5({year:s,month:o,day:a,hour:u===24?0:u,minute:c,second:d,millisecond:0});let p=+r;const m=p%1e3;return p-=m>=0?m:1e3+m,(f-p)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let b5=null;class ni extends _m{static get utcInstance(){return b5===null&&(b5=new ni(0)),b5}static instance(e){return e===0?ni.utcInstance:new ni(e)}static parseSpecifier(e){if(e){const r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new ni(US(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${sy(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${sy(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return sy(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class pQ extends _m{constructor(e){super(),this.zoneName=e}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 Wc(t,e){if(It(t)||t===null)return e;if(t instanceof _m)return t;if(PEe(t)){const r=t.toLowerCase();return r==="local"||r==="system"?e:r==="utc"||r==="gmt"?ni.utcInstance:ni.parseSpecifier(r)||Za.create(t)}else return zf(t)?ni.instance(t):typeof t=="object"&&t.offset&&typeof t.offset=="number"?t:new pQ(t)}let hQ=()=>Date.now(),mQ="system",gQ=null,yQ=null,vQ=null,xQ;class sn{static get now(){return hQ}static set now(e){hQ=e}static set defaultZone(e){mQ=e}static get defaultZone(){return Wc(mQ,QS.instance)}static get defaultLocale(){return gQ}static set defaultLocale(e){gQ=e}static get defaultNumberingSystem(){return yQ}static set defaultNumberingSystem(e){yQ=e}static get defaultOutputCalendar(){return vQ}static set defaultOutputCalendar(e){vQ=e}static get throwOnInvalid(){return xQ}static set throwOnInvalid(e){xQ=e}static resetCaches(){Dr.resetCache(),Za.resetCache()}}let EQ={};function ibe(t,e={}){const r=JSON.stringify([t,e]);let i=EQ[r];return i||(i=new Intl.ListFormat(t,e),EQ[r]=i),i}let S5={};function _5(t,e={}){const r=JSON.stringify([t,e]);let i=S5[r];return i||(i=new Intl.DateTimeFormat(t,e),S5[r]=i),i}let T5={};function sbe(t,e={}){const r=JSON.stringify([t,e]);let i=T5[r];return i||(i=new Intl.NumberFormat(t,e),T5[r]=i),i}let A5={};function obe(t,e={}){const{base:r,...i}=e,s=JSON.stringify([t,i]);let o=A5[s];return o||(o=new Intl.RelativeTimeFormat(t,e),A5[s]=o),o}let GS=null;function abe(){return GS||(GS=new Intl.DateTimeFormat().resolvedOptions().locale,GS)}function lbe(t){const e=t.indexOf("-u-");if(e===-1)return[t];{let r;const i=t.substring(0,e);try{r=_5(t).resolvedOptions()}catch{r=_5(i).resolvedOptions()}const{numberingSystem:s,calendar:o}=r;return[i,s,o]}}function ube(t,e,r){return(r||e)&&(t+="-u",r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function cbe(t){const e=[];for(let r=1;r<=12;r++){const i=mt.utc(2016,r,1);e.push(t(i))}return e}function dbe(t){const e=[];for(let r=1;r<=7;r++){const i=mt.utc(2016,11,13+r);e.push(t(i))}return e}function WS(t,e,r,i,s){const o=t.listingMode(r);return o==="error"?null:o==="en"?i(e):s(e)}function fbe(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class pbe{constructor(e,r,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:o,...a}=i;if(!r||Object.keys(a).length>0){const l={useGrouping:!1,...i};i.padTo>0&&(l.minimumIntegerDigits=i.padTo),this.inf=sbe(e,l)}}format(e){if(this.inf){const r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{const r=this.floor?Math.floor(e):y5(e,3);return nn(r,this.padTo)}}}class hbe{constructor(e,r,i){this.opts=i;let s;if(e.zone.isUniversal){const a=-1*(e.offset/60),l=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;e.offset!==0&&Za.create(l).valid?(s=l,this.dt=e):(s="UTC",i.timeZoneName?this.dt=e:this.dt=e.offset===0?e:mt.fromMillis(e.ts+e.offset*60*1e3))}else e.zone.type==="system"?this.dt=e:(this.dt=e,s=e.zone.name);const o={...this.opts};s&&(o.timeZone=s),this.dtf=_5(r,o)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}}class mbe{constructor(e,r,i){this.opts={style:"long",...i},!r&&eQ()&&(this.rtf=obe(e,i))}format(e,r){return this.rtf?this.rtf.format(e,r):XEe(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}}class Dr{static fromOpts(e){return Dr.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)}static create(e,r,i,s=!1){const o=e||sn.defaultLocale,a=o||(s?"en-US":abe()),l=r||sn.defaultNumberingSystem,u=i||sn.defaultOutputCalendar;return new Dr(a,l,u,o)}static resetCache(){GS=null,S5={},T5={},A5={}}static fromObject({locale:e,numberingSystem:r,outputCalendar:i}={}){return Dr.create(e,r,i)}constructor(e,r,i,s){const[o,a,l]=lbe(e);this.locale=o,this.numberingSystem=r||a||null,this.outputCalendar=i||l||null,this.intl=ube(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(){return this.fastNumbersCached==null&&(this.fastNumbersCached=fbe(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:Dr.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1,i=!0){return WS(this,e,i,oQ,()=>{const s=r?{month:e,day:"numeric"}:{month:e},o=r?"format":"standalone";return this.monthsCache[o][e]||(this.monthsCache[o][e]=cbe(a=>this.extract(a,s,"month"))),this.monthsCache[o][e]})}weekdays(e,r=!1,i=!0){return WS(this,e,i,uQ,()=>{const s=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},o=r?"format":"standalone";return this.weekdaysCache[o][e]||(this.weekdaysCache[o][e]=dbe(a=>this.extract(a,s,"weekday"))),this.weekdaysCache[o][e]})}meridiems(e=!0){return WS(this,void 0,e,()=>cQ,()=>{if(!this.meridiemCache){const r={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[mt.utc(2016,11,13,9),mt.utc(2016,11,13,19)].map(i=>this.extract(i,r,"dayperiod"))}return this.meridiemCache})}eras(e,r=!0){return WS(this,e,r,dQ,()=>{const i={era:e};return this.eraCache[e]||(this.eraCache[e]=[mt.utc(-40,1,1),mt.utc(2017,1,1)].map(s=>this.extract(s,i,"era"))),this.eraCache[e]})}extract(e,r,i){const s=this.dtFormatter(e,r),o=s.formatToParts(),a=o.find(l=>l.type.toLowerCase()===i);return a?a.value:null}numberFormatter(e={}){return new pbe(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new hbe(e,this.intl,r)}relFormatter(e={}){return new mbe(this.intl,this.isEnglish(),e)}listFormatter(e={}){return ibe(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}function Tm(...t){const e=t.reduce((r,i)=>r+i.source,"");return RegExp(`^${e}$`)}function Am(...t){return e=>t.reduce(([r,i,s],o)=>{const[a,l,u]=o(e,s);return[{...r,...a},l||i,u]},[{},null,1]).slice(0,2)}function Rm(t,...e){if(t==null)return[null,null];for(const[r,i]of e){const s=r.exec(t);if(s)return i(s)}return[null,null]}function bQ(...t){return(e,r)=>{const i={};let s;for(s=0;s<t.length;s++)i[t[s]]=Gc(e[r+s]);return[i,null,r+s]}}const SQ=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gbe=`(?:${SQ.source}?(?:\\[(${iQ.source})\\])?)?`,R5=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_Q=RegExp(`${R5.source}${gbe}`),O5=RegExp(`(?:T${_Q.source})?`),ybe=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,vbe=/(\d{4})-?W(\d\d)(?:-?(\d))?/,xbe=/(\d{4})-?(\d{3})/,Ebe=bQ("weekYear","weekNumber","weekDay"),bbe=bQ("year","ordinal"),Sbe=/(\d{4})-(\d\d)-(\d\d)/,TQ=RegExp(`${R5.source} ?(?:${SQ.source}|(${iQ.source}))?`),_be=RegExp(`(?: ${TQ.source})?`);function Om(t,e,r){const i=t[e];return It(i)?r:Gc(i)}function Tbe(t,e){return[{year:Om(t,e),month:Om(t,e+1,1),day:Om(t,e+2,1)},null,e+3]}function wm(t,e){return[{hours:Om(t,e,0),minutes:Om(t,e+1,0),seconds:Om(t,e+2,0),milliseconds:g5(t[e+3])},null,e+4]}function oy(t,e){const r=!t[e]&&!t[e+1],i=US(t[e+1],t[e+2]),s=r?null:ni.instance(i);return[{},s,e+3]}function ay(t,e){const r=t[e]?Za.create(t[e]):null;return[{},r,e+1]}const Abe=RegExp(`^T?${R5.source}$`),Rbe=/^-?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 Obe(t){const[e,r,i,s,o,a,l,u,c]=t,d=e[0]==="-",f=u&&u[0]==="-",p=(m,g=!1)=>m!==void 0&&(g||m&&d)?-m:m;return[{years:p(Hf(r)),months:p(Hf(i)),weeks:p(Hf(s)),days:p(Hf(o)),hours:p(Hf(a)),minutes:p(Hf(l)),seconds:p(Hf(u),u==="-0"),milliseconds:p(g5(c),f)}]}const wbe={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function w5(t,e,r,i,s,o,a){const l={year:e.length===2?x5(Gc(e)):Gc(e),month:sQ.indexOf(r)+1,day:Gc(i),hour:Gc(s),minute:Gc(o)};return a&&(l.second=Gc(a)),t&&(l.weekday=t.length>3?aQ.indexOf(t)+1:lQ.indexOf(t)+1),l}const Cbe=/^(?:(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 Nbe(t){const[,e,r,i,s,o,a,l,u,c,d,f]=t,p=w5(e,s,i,r,o,a,l);let m;return u?m=wbe[u]:c?m=0:m=US(d,f),[p,new ni(m)]}function Dbe(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const Lbe=/^(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$/,Ibe=/^(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$/,kbe=/^(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 AQ(t){const[,e,r,i,s,o,a,l]=t;return[w5(e,s,i,r,o,a,l),ni.utcInstance]}function Mbe(t){const[,e,r,i,s,o,a,l]=t;return[w5(e,l,r,i,s,o,a),ni.utcInstance]}const Fbe=Tm(ybe,O5),Pbe=Tm(vbe,O5),$be=Tm(xbe,O5),jbe=Tm(_Q),RQ=Am(Tbe,wm,oy,ay),Ube=Am(Ebe,wm,oy,ay),Bbe=Am(bbe,wm,oy,ay),qbe=Am(wm,oy,ay);function Qbe(t){return Rm(t,[Fbe,RQ],[Pbe,Ube],[$be,Bbe],[jbe,qbe])}function zbe(t){return Rm(Dbe(t),[Cbe,Nbe])}function Hbe(t){return Rm(t,[Lbe,AQ],[Ibe,AQ],[kbe,Mbe])}function Gbe(t){return Rm(t,[Rbe,Obe])}const Wbe=Am(wm);function Vbe(t){return Rm(t,[Abe,Wbe])}const Ybe=Tm(Sbe,_be),Kbe=Tm(TQ),Jbe=Am(wm,oy,ay);function Xbe(t){return Rm(t,[Ybe,RQ],[Kbe,Jbe])}const Zbe="Invalid Duration",OQ={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},e2e={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:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...OQ},lo=146097/400,Cm=146097/4800,t2e={years:{quarters:4,months:12,weeks:lo/7,days:lo,hours:lo*24,minutes:lo*24*60,seconds:lo*24*60*60,milliseconds:lo*24*60*60*1e3},quarters:{months:3,weeks:lo/28,days:lo/4,hours:lo*24/4,minutes:lo*24*60/4,seconds:lo*24*60*60/4,milliseconds:lo*24*60*60*1e3/4},months:{weeks:Cm/7,days:Cm,hours:Cm*24,minutes:Cm*24*60,seconds:Cm*24*60*60,milliseconds:Cm*24*60*60*1e3},...OQ},Gf=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],r2e=Gf.slice(0).reverse();function Wf(t,e,r=!1){const i={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy};return new kt(i)}function n2e(t){return t<0?Math.floor(t):Math.ceil(t)}function wQ(t,e,r,i,s){const o=t[s][r],a=e[r]/o,l=Math.sign(a)===Math.sign(i[s]),u=!l&&i[s]!==0&&Math.abs(a)<=1?n2e(a):Math.trunc(a);i[s]+=u,e[r]-=u*o}function i2e(t,e){r2e.reduce((r,i)=>It(e[i])?r:(r&&wQ(t,e,r,e,i),i),null)}class kt{constructor(e){const r=e.conversionAccuracy==="longterm"||!1;this.values=e.values,this.loc=e.loc||Dr.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r?t2e:e2e,this.isLuxonDuration=!0}static fromMillis(e,r){return kt.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new ao(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new kt({values:BS(e,kt.normalizeUnit),loc:Dr.fromObject(r),conversionAccuracy:r.conversionAccuracy})}static fromDurationLike(e){if(zf(e))return kt.fromMillis(e);if(kt.isDuration(e))return e;if(typeof e=="object")return kt.fromObject(e);throw new ao(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){const[i]=Gbe(e);return i?kt.fromObject(i,r):kt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){const[i]=Vbe(e);return i?kt.fromObject(i,r):kt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new ao("need to specify a reason the Duration is invalid");const i=e instanceof Ko?e:new Ko(e,r);if(sn.throwOnInvalid)throw new kEe(i);return new kt({invalid:i})}static normalizeUnit(e){const r={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()];if(!r)throw new kq(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){const i={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?as.create(this.loc,i).formatDurationFromString(this,e):Zbe}toHuman(e={}){const r=Gf.map(i=>{const s=this.values[i];return It(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(s)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=y5(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const r=this.toMillis();if(r<0||r>=864e5)return null;e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e};const i=this.shiftTo("hours","minutes","seconds","milliseconds");let s=e.format==="basic"?"hhmm":"hh:mm";(!e.suppressSeconds||i.seconds!==0||i.milliseconds!==0)&&(s+=e.format==="basic"?"ss":":ss",(!e.suppressMilliseconds||i.milliseconds!==0)&&(s+=".SSS"));let o=i.toFormat(s);return e.includePrefix&&(o="T"+o),o}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const r=kt.fromDurationLike(e),i={};for(const s of Gf)(Sm(r.values,s)||Sm(this.values,s))&&(i[s]=r.get(s)+this.get(s));return Wf(this,{values:i},!0)}minus(e){if(!this.isValid)return this;const r=kt.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;const r={};for(const i of Object.keys(this.values))r[i]=nQ(e(this.values[i],i));return Wf(this,{values:r},!0)}get(e){return this[kt.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const r={...this.values,...BS(e,kt.normalizeUnit)};return Wf(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:i}={}){const s=this.loc.clone({locale:e,numberingSystem:r}),o={loc:s};return i&&(o.conversionAccuracy=i),Wf(this,o)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return i2e(this.matrix,e),Wf(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(a=>kt.normalizeUnit(a));const r={},i={},s=this.toObject();let o;for(const a of Gf)if(e.indexOf(a)>=0){o=a;let l=0;for(const c in i)l+=this.matrix[c][a]*i[c],i[c]=0;zf(s[a])&&(l+=s[a]);const u=Math.trunc(l);r[a]=u,i[a]=(l*1e3-u*1e3)/1e3;for(const c in s)Gf.indexOf(c)>Gf.indexOf(a)&&wQ(this.matrix,s,c,r,a)}else zf(s[a])&&(i[a]=s[a]);for(const a in i)i[a]!==0&&(r[o]+=a===o?i[a]:i[a]/this.matrix[o][a]);return Wf(this,{values:r},!0).normalize()}negate(){if(!this.isValid)return this;const e={};for(const r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return Wf(this,{values:e},!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 this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(i,s){return i===void 0||i===0?s===void 0||s===0:i===s}for(const i of Gf)if(!r(this.values[i],e.values[i]))return!1;return!0}}const ly="Invalid Interval";function s2e(t,e){return!t||!t.isValid?uy.invalid("missing or invalid start"):!e||!e.isValid?uy.invalid("missing or invalid end"):e<t?uy.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}let uy=class zn{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new ao("need to specify a reason the Interval is invalid");const i=e instanceof Ko?e:new Ko(e,r);if(sn.throwOnInvalid)throw new IEe(i);return new zn({invalid:i})}static fromDateTimes(e,r){const i=py(e),s=py(r);return s2e(i,s)??new zn({start:i,end:s})}static after(e,r){const i=kt.fromDurationLike(r),s=py(e);return zn.fromDateTimes(s,s.plus(i))}static before(e,r){const i=kt.fromDurationLike(r),s=py(e);return zn.fromDateTimes(s.minus(i),s)}static fromISO(e,r){const[i,s]=(e||"").split("/",2);if(i&&s){let o,a;try{o=mt.fromISO(i,r),a=o.isValid}catch{a=!1}let l,u;try{l=mt.fromISO(s,r),u=l.isValid}catch{u=!1}if(a&&u)return zn.fromDateTimes(o,l);if(a){const c=kt.fromISO(s,r);if(c.isValid)return zn.after(o,c)}else if(u){const c=kt.fromISO(i,r);if(c.isValid)return zn.before(l,c)}}return zn.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds"){if(!this.isValid)return NaN;const r=this.start.startOf(e),i=this.end.startOf(e);return Math.floor(i.diff(r,e).get(e))+1}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?zn.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];const r=e.map(py).filter(a=>this.contains(a)).sort(),i=[];let{s}=this,o=0;for(;s<this.e;){const a=r[o]||this.e,l=+a>+this.e?this.e:a;i.push(zn.fromDateTimes(s,l)),s=l,o+=1}return i}splitBy(e){const r=kt.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:i}=this,s=1,o;const a=[];for(;i<this.e;){const l=this.start.plus(r.mapUnits(u=>u*s));o=+l>+this.e?this.e:l,a.push(zn.fromDateTimes(i,o)),i=o,s+=1}return a}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const r=this.s>e.s?this.s:e.s,i=this.e<e.e?this.e:e.e;return r>=i?null:zn.fromDateTimes(r,i)}union(e){if(!this.isValid)return this;const r=this.s<e.s?this.s:e.s,i=this.e>e.e?this.e:e.e;return zn.fromDateTimes(r,i)}static merge(e){const[r,i]=e.sort((s,o)=>s.s-o.s).reduce(([s,o],a)=>o?o.overlaps(a)||o.abutsStart(a)?[s,o.union(a)]:[s.concat([o]),a]:[s,a],[[],null]);return i&&r.push(i),r}static xor(e){let r=null,i=0;const s=[],o=e.map(u=>[{time:u.s,type:"s"},{time:u.e,type:"e"}]),a=Array.prototype.concat(...o),l=a.sort((u,c)=>u.time-c.time);for(const u of l)i+=u.type==="s"?1:-1,i===1?r=u.time:(r&&+r!=+u.time&&s.push(zn.fromDateTimes(r,u.time)),r=null);return zn.merge(s)}difference(...e){return zn.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:ly}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:ly}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:ly}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:ly}toFormat(e,{separator:r=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:ly}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):kt.invalid(this.invalidReason)}mapEndpoints(e){return zn.fromDateTimes(e(this.s),e(this.e))}},cy=class{static hasDST(t=sn.defaultZone){const e=mt.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Za.isValidZone(t)}static normalizeZone(t){return Wc(t,sn.defaultZone)}static months(t="long",{locale:e=null,numberingSystem:r=null,locObj:i=null,outputCalendar:s="gregory"}={}){return(i||Dr.create(e,r,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:i=null,outputCalendar:s="gregory"}={}){return(i||Dr.create(e,r,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:r=null,locObj:i=null}={}){return(i||Dr.create(e,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:r=null,locObj:i=null}={}){return(i||Dr.create(e,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Dr.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Dr.create(e,null,"gregory").eras(t)}static features(){return{relative:eQ()}}};function CQ(t,e){const r=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=r(e)-r(t);return Math.floor(kt.fromMillis(i).as("days"))}function o2e(t,e,r){const i=[["years",(l,u)=>u.year-l.year],["quarters",(l,u)=>u.quarter-l.quarter],["months",(l,u)=>u.month-l.month+(u.year-l.year)*12],["weeks",(l,u)=>{const c=CQ(l,u);return(c-c%7)/7}],["days",CQ]],s={};let o,a;for(const[l,u]of i)if(r.indexOf(l)>=0){o=l;let c=u(t,e);a=t.plus({[l]:c}),a>e?(t=t.plus({[l]:c-1}),c-=1):t=a,s[l]=c}return[t,s,a,o]}function a2e(t,e,r,i){let[s,o,a,l]=o2e(t,e,r);const u=e-s,c=r.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);c.length===0&&(a<e&&(a=s.plus({[l]:1})),a!==s&&(o[l]=(o[l]||0)+u/(a-s)));const d=kt.fromObject(o,i);return c.length>0?kt.fromMillis(u,i).shiftTo(...c).plus(d):d}const C5={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},NQ={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]},l2e=C5.hanidec.replace(/[\[|\]]/g,"").split("");function u2e(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){const i=t.charCodeAt(r);if(t[r].search(C5.hanidec)!==-1)e+=l2e.indexOf(t[r]);else for(const s in NQ){const[o,a]=NQ[s];i>=o&&i<=a&&(e+=i-o)}}return parseInt(e,10)}else return e}function Jo({numberingSystem:t},e=""){return new RegExp(`${C5[t||"latn"]}${e}`)}const c2e="missing Intl.DateTimeFormat.formatToParts support";function Yt(t,e=r=>r){return{regex:t,deser:([r])=>e(u2e(r))}}const DQ="[  ]",LQ=new RegExp(DQ,"g");function d2e(t){return t.replace(/\./g,"\\.?").replace(LQ,DQ)}function IQ(t){return t.replace(/\./g,"").replace(LQ," ").toLowerCase()}function Xo(t,e){return t===null?null:{regex:RegExp(t.map(d2e).join("|")),deser:([r])=>t.findIndex(i=>IQ(r)===IQ(i))+e}}function kQ(t,e){return{regex:t,deser:([,r,i])=>US(r,i),groups:e}}function N5(t){return{regex:t,deser:([e])=>e}}function f2e(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function p2e(t,e){const r=Jo(e),i=Jo(e,"{2}"),s=Jo(e,"{3}"),o=Jo(e,"{4}"),a=Jo(e,"{6}"),l=Jo(e,"{1,2}"),u=Jo(e,"{1,3}"),c=Jo(e,"{1,6}"),d=Jo(e,"{1,9}"),f=Jo(e,"{2,4}"),p=Jo(e,"{4,6}"),m=y=>({regex:RegExp(f2e(y.val)),deser:([v])=>v,literal:!0}),g=(y=>{if(t.literal)return m(y);switch(y.val){case"G":return Xo(e.eras("short",!1),0);case"GG":return Xo(e.eras("long",!1),0);case"y":return Yt(c);case"yy":return Yt(f,x5);case"yyyy":return Yt(o);case"yyyyy":return Yt(p);case"yyyyyy":return Yt(a);case"M":return Yt(l);case"MM":return Yt(i);case"MMM":return Xo(e.months("short",!0,!1),1);case"MMMM":return Xo(e.months("long",!0,!1),1);case"L":return Yt(l);case"LL":return Yt(i);case"LLL":return Xo(e.months("short",!1,!1),1);case"LLLL":return Xo(e.months("long",!1,!1),1);case"d":return Yt(l);case"dd":return Yt(i);case"o":return Yt(u);case"ooo":return Yt(s);case"HH":return Yt(i);case"H":return Yt(l);case"hh":return Yt(i);case"h":return Yt(l);case"mm":return Yt(i);case"m":return Yt(l);case"q":return Yt(l);case"qq":return Yt(i);case"s":return Yt(l);case"ss":return Yt(i);case"S":return Yt(u);case"SSS":return Yt(s);case"u":return N5(d);case"uu":return N5(l);case"uuu":return Yt(r);case"a":return Xo(e.meridiems(),0);case"kkkk":return Yt(o);case"kk":return Yt(f,x5);case"W":return Yt(l);case"WW":return Yt(i);case"E":case"c":return Yt(r);case"EEE":return Xo(e.weekdays("short",!1,!1),1);case"EEEE":return Xo(e.weekdays("long",!1,!1),1);case"ccc":return Xo(e.weekdays("short",!0,!1),1);case"cccc":return Xo(e.weekdays("long",!0,!1),1);case"Z":case"ZZ":return kQ(new RegExp(`([+-]${l.source})(?::(${i.source}))?`),2);case"ZZZ":return kQ(new RegExp(`([+-]${l.source})(${i.source})?`),2);case"z":return N5(/[a-z_+-/]{1,256}?/i);default:return m(y)}})(t)||{invalidReason:c2e};return g.token=t,g}const h2e={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",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};function m2e(t,e,r){const{type:i,value:s}=t;if(i==="literal")return{literal:!0,val:s};const o=r[i];let a=h2e[i];if(typeof a=="object"&&(a=a[o]),a)return{literal:!1,val:a}}function g2e(t){return[`^${t.map(e=>e.regex).reduce((e,r)=>`${e}(${r.source})`,"")}$`,t]}function y2e(t,e,r){const i=t.match(e);if(i){const s={};let o=1;for(const a in r)if(Sm(r,a)){const l=r[a],u=l.groups?l.groups+1:1;!l.literal&&l.token&&(s[l.token.val[0]]=l.deser(i.slice(o,o+u))),o+=u}return[i,s]}else return[i,{}]}function v2e(t){const e=s=>{switch(s){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}};let r=null,i;return It(t.z)||(r=Za.create(t.z)),It(t.Z)||(r||(r=new ni(t.Z)),i=t.Z),It(t.q)||(t.M=(t.q-1)*3+1),It(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),It(t.u)||(t.S=g5(t.u)),[Object.keys(t).reduce((s,o)=>{const a=e(o);return a&&(s[a]=t[o]),s},{}),r,i]}let D5=null;function x2e(){return D5||(D5=mt.fromMillis(1555555555555)),D5}function E2e(t,e){if(t.literal)return t;const r=as.macroTokenToFormatOpts(t.val);if(!r)return t;const i=as.create(e,r).formatDateTimeParts(x2e()).map(s=>m2e(s,e,r));return i.includes(void 0)?t:i}function b2e(t,e){return Array.prototype.concat(...t.map(r=>E2e(r,e)))}function MQ(t,e,r){const i=b2e(as.parseFormat(r),t),s=i.map(a=>p2e(a,t)),o=s.find(a=>a.invalidReason);if(o)return{input:e,tokens:i,invalidReason:o.invalidReason};{const[a,l]=g2e(s),u=RegExp(a,"i"),[c,d]=y2e(e,u,l),[f,p,m]=d?v2e(d):[null,null,void 0];if(Sm(d,"a")&&Sm(d,"H"))throw new ry("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:i,regex:u,rawMatches:c,matches:d,result:f,zone:p,specificOffset:m}}}function S2e(t,e,r){const{result:i,zone:s,specificOffset:o,invalidReason:a}=MQ(t,e,r);return[i,s,o,a]}const FQ=[0,31,59,90,120,151,181,212,243,273,304,334],PQ=[0,31,60,91,121,152,182,213,244,274,305,335];function uo(t,e){return new Ko("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function $Q(t,e,r){const i=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&i.setUTCFullYear(i.getUTCFullYear()-1900);const s=i.getUTCDay();return s===0?7:s}function jQ(t,e,r){return r+(ny(t)?PQ:FQ)[e-1]}function UQ(t,e){const r=ny(t)?PQ:FQ,i=r.findIndex(o=>o<e),s=e-r[i];return{month:i+1,day:s}}function L5(t){const{year:e,month:r,day:i}=t,s=jQ(e,r,i),o=$Q(e,r,i);let a=Math.floor((s-o+10)/7),l;return a<1?(l=e-1,a=jS(l)):a>jS(e)?(l=e+1,a=1):l=e,{weekYear:l,weekNumber:a,weekday:o,...qS(t)}}function BQ(t){const{weekYear:e,weekNumber:r,weekday:i}=t,s=$Q(e,1,4),o=iy(e);let a=r*7+i-s-3,l;a<1?(l=e-1,a+=iy(l)):a>o?(l=e+1,a-=iy(e)):l=e;const{month:u,day:c}=UQ(l,a);return{year:l,month:u,day:c,...qS(t)}}function I5(t){const{year:e,month:r,day:i}=t,s=jQ(e,r,i);return{year:e,ordinal:s,...qS(t)}}function qQ(t){const{year:e,ordinal:r}=t,{month:i,day:s}=UQ(e,r);return{year:e,month:i,day:s,...qS(t)}}function _2e(t){const e=PS(t.weekYear),r=Su(t.weekNumber,1,jS(t.weekYear)),i=Su(t.weekday,1,7);return e?r?i?!1:uo("weekday",t.weekday):uo("week",t.week):uo("weekYear",t.weekYear)}function T2e(t){const e=PS(t.year),r=Su(t.ordinal,1,iy(t.year));return e?r?!1:uo("ordinal",t.ordinal):uo("year",t.year)}function QQ(t){const e=PS(t.year),r=Su(t.month,1,12),i=Su(t.day,1,$S(t.year,t.month));return e?r?i?!1:uo("day",t.day):uo("month",t.month):uo("year",t.year)}function zQ(t){const{hour:e,minute:r,second:i,millisecond:s}=t,o=Su(e,0,23)||e===24&&r===0&&i===0&&s===0,a=Su(r,0,59),l=Su(i,0,59),u=Su(s,0,999);return o?a?l?u?!1:uo("millisecond",s):uo("second",i):uo("minute",r):uo("hour",e)}const k5="Invalid DateTime",HQ=864e13;function VS(t){return new Ko("unsupported zone",`the zone "${t.name}" is not supported`)}function M5(t){return t.weekData===null&&(t.weekData=L5(t.c)),t.weekData}function dy(t,e){const r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new mt({...r,...e,old:r})}function GQ(t,e,r){let i=t-e*60*1e3;const s=r.offset(i);if(e===s)return[i,e];i-=(s-e)*60*1e3;const o=r.offset(i);return s===o?[i,s]:[t-Math.min(s,o)*60*1e3,Math.max(s,o)]}function WQ(t,e){t+=e*60*1e3;const r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function YS(t,e,r){return GQ(v5(t),e,r)}function VQ(t,e){const r=t.o,i=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,o={...t.c,year:i,month:s,day:Math.min(t.c.day,$S(i,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},a=kt.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"),l=v5(o);let[u,c]=GQ(l,r,t.zone);return a!==0&&(u+=a,c=t.zone.offset(u)),{ts:u,o:c}}function fy(t,e,r,i,s,o){const{setZone:a,zone:l}=r;if(t&&Object.keys(t).length!==0){const u=e||l,c=mt.fromObject(t,{...r,zone:u,specificOffset:o});return a?c:c.setZone(l)}else return mt.invalid(new Ko("unparsable",`the input "${s}" can't be parsed as ${i}`))}function KS(t,e,r=!0){return t.isValid?as.create(Dr.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function F5(t,e){const r=t.c.year>9999||t.c.year<0;let i="";return r&&t.c.year>=0&&(i+="+"),i+=nn(t.c.year,r?6:4),e?(i+="-",i+=nn(t.c.month),i+="-",i+=nn(t.c.day)):(i+=nn(t.c.month),i+=nn(t.c.day)),i}function YQ(t,e,r,i,s,o){let a=nn(t.c.hour);return e?(a+=":",a+=nn(t.c.minute),(t.c.second!==0||!r)&&(a+=":")):a+=nn(t.c.minute),(t.c.second!==0||!r)&&(a+=nn(t.c.second),(t.c.millisecond!==0||!i)&&(a+=".",a+=nn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&t.offset===0&&!o?a+="Z":t.o<0?(a+="-",a+=nn(Math.trunc(-t.o/60)),a+=":",a+=nn(Math.trunc(-t.o%60))):(a+="+",a+=nn(Math.trunc(t.o/60)),a+=":",a+=nn(Math.trunc(t.o%60)))),o&&(a+="["+t.zone.ianaName+"]"),a}const KQ={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},A2e={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},R2e={ordinal:1,hour:0,minute:0,second:0,millisecond:0},JQ=["year","month","day","hour","minute","second","millisecond"],O2e=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],w2e=["year","ordinal","hour","minute","second","millisecond"];function XQ(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 kq(t);return e}function ZQ(t,e){const r=Wc(e.zone,sn.defaultZone),i=Dr.fromObject(e),s=sn.now();let o,a;if(It(t.year))o=s;else{for(const c of JQ)It(t[c])&&(t[c]=KQ[c]);const l=QQ(t)||zQ(t);if(l)return mt.invalid(l);const u=r.offset(s);[o,a]=YS(t,u,r)}return new mt({ts:o,zone:r,loc:i,o:a})}function ez(t,e,r){const i=It(r.round)?!0:r.round,s=(a,l)=>(a=y5(a,i||r.calendary?0:2,!0),e.loc.clone(r).relFormatter(r).format(a,l)),o=a=>r.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(r.unit)return s(o(r.unit),r.unit);for(const a of r.units){const l=o(a);if(Math.abs(l)>=1)return s(l,a)}return s(t>e?-0:0,r.units[r.units.length-1])}function tz(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}class mt{constructor(e){const r=e.zone||sn.defaultZone;let i=e.invalid||(Number.isNaN(e.ts)?new Ko("invalid input"):null)||(r.isValid?null:VS(r));this.ts=It(e.ts)?sn.now():e.ts;let s=null,o=null;if(!i)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[s,o]=[e.old.c,e.old.o];else{const a=r.offset(this.ts);s=WQ(this.ts,a),i=Number.isNaN(s.year)?new Ko("invalid input"):null,s=i?null:s,o=i?null:a}this._zone=r,this.loc=e.loc||Dr.create(),this.invalid=i,this.weekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new mt({})}static local(){const[e,r]=tz(arguments),[i,s,o,a,l,u,c]=r;return ZQ({year:i,month:s,day:o,hour:a,minute:l,second:u,millisecond:c},e)}static utc(){const[e,r]=tz(arguments),[i,s,o,a,l,u,c]=r;return e.zone=ni.utcInstance,ZQ({year:i,month:s,day:o,hour:a,minute:l,second:u,millisecond:c},e)}static fromJSDate(e,r={}){const i=$Ee(e)?e.valueOf():NaN;if(Number.isNaN(i))return mt.invalid("invalid input");const s=Wc(r.zone,sn.defaultZone);return s.isValid?new mt({ts:i,zone:s,loc:Dr.fromObject(r)}):mt.invalid(VS(s))}static fromMillis(e,r={}){if(zf(e))return e<-HQ||e>HQ?mt.invalid("Timestamp out of range"):new mt({ts:e,zone:Wc(r.zone,sn.defaultZone),loc:Dr.fromObject(r)});throw new ao(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(zf(e))return new mt({ts:e*1e3,zone:Wc(r.zone,sn.defaultZone),loc:Dr.fromObject(r)});throw new ao("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};const i=Wc(r.zone,sn.defaultZone);if(!i.isValid)return mt.invalid(VS(i));const s=sn.now(),o=It(r.specificOffset)?i.offset(s):r.specificOffset,a=BS(e,XQ),l=!It(a.ordinal),u=!It(a.year),c=!It(a.month)||!It(a.day),d=u||c,f=a.weekYear||a.weekNumber,p=Dr.fromObject(r);if((d||l)&&f)throw new ry("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&l)throw new ry("Can't mix ordinal dates with month/day");const m=f||a.weekday&&!d;let g,y,v=WQ(s,o);m?(g=O2e,y=A2e,v=L5(v)):l?(g=w2e,y=R2e,v=I5(v)):(g=JQ,y=KQ);let E=!1;for(const O of g){const w=a[O];It(w)?E?a[O]=y[O]:a[O]=v[O]:E=!0}const x=m?_2e(a):l?T2e(a):QQ(a),b=x||zQ(a);if(b)return mt.invalid(b);const S=m?BQ(a):l?qQ(a):a,[_,A]=YS(S,o,i),T=new mt({ts:_,zone:i,o:A,loc:p});return a.weekday&&d&&e.weekday!==T.weekday?mt.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${T.toISO()}`):T}static fromISO(e,r={}){const[i,s]=Qbe(e);return fy(i,s,r,"ISO 8601",e)}static fromRFC2822(e,r={}){const[i,s]=zbe(e);return fy(i,s,r,"RFC 2822",e)}static fromHTTP(e,r={}){const[i,s]=Hbe(e);return fy(i,s,r,"HTTP",r)}static fromFormat(e,r,i={}){if(It(e)||It(r))throw new ao("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=i,a=Dr.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[l,u,c,d]=S2e(a,e,r);return d?mt.invalid(d):fy(l,u,i,`format ${r}`,e,c)}static fromString(e,r,i={}){return mt.fromFormat(e,r,i)}static fromSQL(e,r={}){const[i,s]=Xbe(e);return fy(i,s,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new ao("need to specify a reason the DateTime is invalid");const i=e instanceof Ko?e:new Ko(e,r);if(sn.throwOnInvalid)throw new LEe(i);return new mt({invalid:i})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}get(e){return this[e]}get isValid(){return this.invalid===null}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?M5(this).weekYear:NaN}get weekNumber(){return this.isValid?M5(this).weekNumber:NaN}get weekday(){return this.isValid?M5(this).weekday:NaN}get ordinal(){return this.isValid?I5(this.c).ordinal:NaN}get monthShort(){return this.isValid?cy.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?cy.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?cy.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?cy.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?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}get isInLeapYear(){return ny(this.year)}get daysInMonth(){return $S(this.year,this.month)}get daysInYear(){return this.isValid?iy(this.year):NaN}get weeksInWeekYear(){return this.isValid?jS(this.weekYear):NaN}resolvedLocaleOptions(e={}){const{locale:r,numberingSystem:i,calendar:s}=as.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:i,outputCalendar:s}}toUTC(e=0,r={}){return this.setZone(ni.instance(e),r)}toLocal(){return this.setZone(sn.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:i=!1}={}){if(e=Wc(e,sn.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(r||i){const o=e.offset(this.ts),a=this.toObject();[s]=YS(a,o,e)}return dy(this,{ts:s,zone:e})}else return mt.invalid(VS(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:i}={}){const s=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:i});return dy(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const r=BS(e,XQ),i=!It(r.weekYear)||!It(r.weekNumber)||!It(r.weekday),s=!It(r.ordinal),o=!It(r.year),a=!It(r.month)||!It(r.day),l=o||a,u=r.weekYear||r.weekNumber;if((l||s)&&u)throw new ry("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new ry("Can't mix ordinal dates with month/day");let c;i?c=BQ({...L5(this.c),...r}):It(r.ordinal)?(c={...this.toObject(),...r},It(r.day)&&(c.day=Math.min($S(c.year,c.month),c.day))):c=qQ({...I5(this.c),...r});const[d,f]=YS(c,this.o,this.zone);return dy(this,{ts:d,o:f})}plus(e){if(!this.isValid)return this;const r=kt.fromDurationLike(e);return dy(this,VQ(this,r))}minus(e){if(!this.isValid)return this;const r=kt.fromDurationLike(e).negate();return dy(this,VQ(this,r))}startOf(e){if(!this.isValid)return this;const r={},i=kt.normalizeUnit(e);switch(i){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(i==="weeks"&&(r.weekday=1),i==="quarters"){const s=Math.ceil(this.month/3);r.month=(s-1)*3+1}return this.set(r)}endOf(e){return this.isValid?this.plus({[e]:1}).startOf(e).minus(1):this}toFormat(e,r={}){return this.isValid?as.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):k5}toLocaleString(e=m5,r={}){return this.isValid?as.create(this.loc.clone(r),e).formatDateTime(this):k5}toLocaleParts(e={}){return this.isValid?as.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const a=e==="extended";let l=F5(this,a);return l+="T",l+=YQ(this,a,r,i,s,o),l}toISODate({format:e="extended"}={}){return this.isValid?F5(this,e==="extended"):null}toISOWeekDate(){return KS(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:o=!1,format:a="extended"}={}){return this.isValid?(s?"T":"")+YQ(this,a==="extended",r,e,i,o):null}toRFC2822(){return KS(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return KS(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?F5(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(r||e)&&(i&&(s+=" "),r?s+="z":e&&(s+="ZZ")),KS(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():k5}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(e={}){if(!this.isValid)return{};const r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",i={}){if(!this.isValid||!e.isValid)return kt.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},o=jEe(r).map(kt.normalizeUnit),a=e.valueOf()>this.valueOf(),l=a?this:e,u=a?e:this,c=a2e(l,u,o,s);return a?c.negate():c}diffNow(e="milliseconds",r={}){return this.diff(mt.now(),e,r)}until(e){return this.isValid?uy.fromDateTimes(this,e):this}hasSame(e,r){if(!this.isValid)return!1;const i=e.valueOf(),s=this.setZone(e.zone,{keepLocalTime:!0});return s.startOf(r)<=i&&i<=s.endOf(r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const r=e.base||mt.fromObject({},{zone:this.zone}),i=e.padding?this<r?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(s=e.unit,o=void 0),ez(r,this.plus(i),{...e,numeric:"always",units:s,unit:o})}toRelativeCalendar(e={}){return this.isValid?ez(e.base||mt.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(mt.isDateTime))throw new ao("min requires all arguments be DateTimes");return tQ(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(mt.isDateTime))throw new ao("max requires all arguments be DateTimes");return tQ(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,i={}){const{locale:s=null,numberingSystem:o=null}=i,a=Dr.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return MQ(a,e,r)}static fromStringExplain(e,r,i={}){return mt.fromFormatExplain(e,r,i)}static get DATE_SHORT(){return m5}static get DATE_MED(){return Mq}static get DATE_MED_WITH_WEEKDAY(){return MEe}static get DATE_FULL(){return Fq}static get DATE_HUGE(){return Pq}static get TIME_SIMPLE(){return $q}static get TIME_WITH_SECONDS(){return jq}static get TIME_WITH_SHORT_OFFSET(){return Uq}static get TIME_WITH_LONG_OFFSET(){return Bq}static get TIME_24_SIMPLE(){return qq}static get TIME_24_WITH_SECONDS(){return Qq}static get TIME_24_WITH_SHORT_OFFSET(){return zq}static get TIME_24_WITH_LONG_OFFSET(){return Hq}static get DATETIME_SHORT(){return Gq}static get DATETIME_SHORT_WITH_SECONDS(){return Wq}static get DATETIME_MED(){return Vq}static get DATETIME_MED_WITH_SECONDS(){return Yq}static get DATETIME_MED_WITH_WEEKDAY(){return FEe}static get DATETIME_FULL(){return Kq}static get DATETIME_FULL_WITH_SECONDS(){return Jq}static get DATETIME_HUGE(){return Xq}static get DATETIME_HUGE_WITH_SECONDS(){return Zq}}function py(t){if(mt.isDateTime(t))return t;if(t&&t.valueOf&&zf(t.valueOf()))return mt.fromJSDate(t);if(t&&typeof t=="object")return mt.fromObject(t);throw new ao(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const C2e=Object.freeze(Object.defineProperty({__proto__:null,DateTime:mt,Duration:kt,FixedOffsetZone:ni,IANAZone:Za,Info:cy,Interval:uy,InvalidZone:pQ,Settings:sn,SystemZone:QS,VERSION:"2.5.2",Zone:_m},Symbol.toStringTag,{value:"Module"}));function Vc(t,e,r=!1){if(t!==void 0)switch(t){case"ordinal":return{range:["#C2D5EE","#1A73E8"]};case"temporal":case"quantitative":return e?r?{range:["#6BA4EE","#EEA361"]}:{range:["#1A73E8","#E8710A"]}:{range:["#C2D5EE","#1A73E8"]};case"nominal":return r?{range:["#6BA4EE","#66CEDC","#EC72B8","#EEA361","#F9C85B","#AACD85","#B87CED","#ACB0B3"]}:{range:["#1A73E8","#12B5CB","#E52592","#E8710A","#F9AB00","#7CB342","#9334E6","#80868B"]}}}function Er(t,e){return t.toString().padStart(e,"0")}function P5(t,e,r){e||(e="second");let i=!1;switch(e){case"hour":case"minute":case"second":i=!0;break}const s=mt.fromJSDate(t,{zone:i&&r?r:"UTC"});switch(e){case"year":return`${Er(s.year,4)}`;case"quarter":{const o=Er(s.year,4),a=Math.floor(s.month/3)+1;return`${o}-Q${a}`}case"month":{const o=Er(s.year,2),a=Er(s.month,2);return`${o}-${a}`}case"week":{const o=Er(s.year,2),a=Er(s.month,2),l=Er(s.day,2);return`${o}-${a}-${l}-WK`}case"day":{const o=Er(s.year,2),a=Er(s.month,2),l=Er(s.day,2);return`${o}-${a}-${l}`}case"hour":{const o=Er(s.year,2),a=Er(s.month,2),l=Er(s.day,2),u=Er(s.hour,2);return`${o}-${a}-${l} ${u}`}case"minute":{const o=Er(s.year,2),a=Er(s.month,2),l=Er(s.day,2),u=Er(s.hour,2),c=Er(s.minute,2);return`${o}-${a}-${l} ${u}:${c}`}case"second":{const o=Er(s.year,2),a=Er(s.month,2),l=Er(s.day,2),u=Er(s.hour,2),c=Er(s.minute,2),d=Er(s.second,2);return`${o}-${a}-${l} ${u}:${c}:${d}`}default:throw new Error("Unknown timeframe.")}}function N2e(t,e){const r=mt.fromJSDate(t,{zone:e??"UTC"});return new Date(r.year,r.month-1,r.day,r.hour,r.minute,r.second,r.millisecond)}let $5;const D2e=100;async function JS(){const t=Date.now();if(!($5&&t<$5+D2e))return $5=t,new Promise(e=>{setTimeout(e,0)})}function co(t,e){const r=t.createElement("span");return r.classList.add("error"),r.appendChild(t.createTextNode(typeof e=="string"?e:e.message)),r}function hy(t){const e=t.createElement("span");return e.appendChild(t.createTextNode("∅")),e.classList.add("value-null"),e}function rz(t){const e=t.createElement("div");return e.classList.add("drill-icon"),e.innerHTML=`
2
2
  <style>
3
3
  .drill-icon:hover .copy-circle {
4
4
  fill: #eef7f9;
@@ -12,7 +12,7 @@
12
12
  href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap"
13
13
  />
14
14
  <title>Malloy Publisher</title>
15
- <script type="module" crossorigin src="/assets/index-CpcugJHa.js"></script>
15
+ <script type="module" crossorigin src="/assets/index-C3oq1gR3.js"></script>
16
16
  <link rel="stylesheet" crossorigin href="/assets/index-CMlGQMcl.css">
17
17
  </head>
18
18
  <body>