ezekiel-cli 5.8.2

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 (854) hide show
  1. package/.editorconfig +24 -0
  2. package/.eslintrc +40 -0
  3. package/.prettierignore +1 -0
  4. package/README.md +139 -0
  5. package/bin/insites-cli-archive.js +35 -0
  6. package/bin/insites-cli-audit.js +5 -0
  7. package/bin/insites-cli-data-clean.js +69 -0
  8. package/bin/insites-cli-data-export.js +111 -0
  9. package/bin/insites-cli-data-import.js +105 -0
  10. package/bin/insites-cli-data.js +15 -0
  11. package/bin/insites-cli-deploy.js +43 -0
  12. package/bin/insites-cli-env-add.js +107 -0
  13. package/bin/insites-cli-env-list.js +22 -0
  14. package/bin/insites-cli-env.js +12 -0
  15. package/bin/insites-cli-gui-serve.js +47 -0
  16. package/bin/insites-cli-gui.js +8 -0
  17. package/bin/insites-cli-init.js +44 -0
  18. package/bin/insites-cli-logs.js +124 -0
  19. package/bin/insites-cli-logsv2-alerts-add.js +34 -0
  20. package/bin/insites-cli-logsv2-alerts-list.js +24 -0
  21. package/bin/insites-cli-logsv2-alerts-trigger.js +25 -0
  22. package/bin/insites-cli-logsv2-alerts.js +11 -0
  23. package/bin/insites-cli-logsv2-reports.js +36 -0
  24. package/bin/insites-cli-logsv2-search.js +40 -0
  25. package/bin/insites-cli-logsv2-searchAround.js +29 -0
  26. package/bin/insites-cli-logsv2.js +11 -0
  27. package/bin/insites-cli-modules-init.js +54 -0
  28. package/bin/insites-cli-modules-list.js +28 -0
  29. package/bin/insites-cli-modules-pull.js +43 -0
  30. package/bin/insites-cli-modules-remove.js +26 -0
  31. package/bin/insites-cli-modules-version.js +60 -0
  32. package/bin/insites-cli-modules.js +13 -0
  33. package/bin/insites-cli-pull.js +42 -0
  34. package/bin/insites-cli-sync.js +30 -0
  35. package/bin/insites-cli.js +53 -0
  36. package/gui/graphql/babel.config.js +21 -0
  37. package/gui/graphql/package-lock.json +4772 -0
  38. package/gui/graphql/package.json +28 -0
  39. package/gui/graphql/public/105.js +7 -0
  40. package/gui/graphql/public/178.js +1 -0
  41. package/gui/graphql/public/198.js +1 -0
  42. package/gui/graphql/public/441.js +4 -0
  43. package/gui/graphql/public/471.js +1 -0
  44. package/gui/graphql/public/480.js +24 -0
  45. package/gui/graphql/public/481.js +1 -0
  46. package/gui/graphql/public/571.js +12 -0
  47. package/gui/graphql/public/573.js +8 -0
  48. package/gui/graphql/public/574.js +1 -0
  49. package/gui/graphql/public/584.js +38 -0
  50. package/gui/graphql/public/588.js +1 -0
  51. package/gui/graphql/public/662.js +8 -0
  52. package/gui/graphql/public/724.js +1 -0
  53. package/gui/graphql/public/739.js +1 -0
  54. package/gui/graphql/public/744.js +1 -0
  55. package/gui/graphql/public/768.js +1 -0
  56. package/gui/graphql/public/79.js +1 -0
  57. package/gui/graphql/public/845.js +2 -0
  58. package/gui/graphql/public/863.js +1 -0
  59. package/gui/graphql/public/896.js +1 -0
  60. package/gui/graphql/public/92.js +2 -0
  61. package/gui/graphql/public/98.js +1 -0
  62. package/gui/graphql/public/980.js +1 -0
  63. package/gui/graphql/public/995.js +1 -0
  64. package/gui/graphql/public/index.html +12 -0
  65. package/gui/graphql/public/main.css +27 -0
  66. package/gui/graphql/public/main.js +2230 -0
  67. package/gui/graphql/public/main.js.LICENSE.txt +39 -0
  68. package/gui/graphql/src/index.jsx +139 -0
  69. package/gui/graphql/webpack.config.js +52 -0
  70. package/gui/liquid/public/index.html +82 -0
  71. package/gui/v1/build/_app/immutable/assets/0.251ef76d.css +1 -0
  72. package/gui/v1/build/_app/immutable/assets/10.ee72ee6d.css +1 -0
  73. package/gui/v1/build/_app/immutable/assets/12.f6879dba.css +1 -0
  74. package/gui/v1/build/_app/immutable/assets/13.bf080bcc.css +1 -0
  75. package/gui/v1/build/_app/immutable/assets/15.0e0670ce.css +1 -0
  76. package/gui/v1/build/_app/immutable/assets/2.4a46c382.css +1 -0
  77. package/gui/v1/build/_app/immutable/assets/4.73dde45b.css +1 -0
  78. package/gui/v1/build/_app/immutable/assets/6.6bcda092.css +1 -0
  79. package/gui/v1/build/_app/immutable/assets/7.c0038863.css +1 -0
  80. package/gui/v1/build/_app/immutable/assets/9.6957ad32.css +1 -0
  81. package/gui/v1/build/_app/immutable/assets/Aside.66c2d12f.css +1 -0
  82. package/gui/v1/build/_app/immutable/assets/JSONTree.507a2dde.css +1 -0
  83. package/gui/v1/build/_app/immutable/assets/JSONTree.79010849.css +1 -0
  84. package/gui/v1/build/_app/immutable/assets/_layout.4a46c382.css +1 -0
  85. package/gui/v1/build/_app/immutable/assets/_layout.6bcda092.css +1 -0
  86. package/gui/v1/build/_app/immutable/assets/_layout.73dde45b.css +1 -0
  87. package/gui/v1/build/_app/immutable/assets/_layout.85c17bd0.css +1 -0
  88. package/gui/v1/build/_app/immutable/assets/_page.0e0670ce.css +1 -0
  89. package/gui/v1/build/_app/immutable/assets/_page.425c1d28.css +1 -0
  90. package/gui/v1/build/_app/immutable/assets/_page.6957ad32.css +1 -0
  91. package/gui/v1/build/_app/immutable/assets/_page.bf080bcc.css +1 -0
  92. package/gui/v1/build/_app/immutable/assets/_page.c0038863.css +1 -0
  93. package/gui/v1/build/_app/immutable/assets/_page.ee72ee6d.css +1 -0
  94. package/gui/v1/build/_app/immutable/chunks/Aside.c28a1ec5.js +1 -0
  95. package/gui/v1/build/_app/immutable/chunks/Icon.1db6668c.js +1 -0
  96. package/gui/v1/build/_app/immutable/chunks/JSONTree.641da795.js +2 -0
  97. package/gui/v1/build/_app/immutable/chunks/backgroundJob.0f2693c5.js +53 -0
  98. package/gui/v1/build/_app/immutable/chunks/graphql.6101590b.js +1 -0
  99. package/gui/v1/build/_app/immutable/chunks/index.50c00146.js +1 -0
  100. package/gui/v1/build/_app/immutable/chunks/index.5744cd58.js +1 -0
  101. package/gui/v1/build/_app/immutable/chunks/index.88325b8f.js +4 -0
  102. package/gui/v1/build/_app/immutable/chunks/index.c35021d1.js +1 -0
  103. package/gui/v1/build/_app/immutable/chunks/singletons.b6d4da89.js +1 -0
  104. package/gui/v1/build/_app/immutable/chunks/state.adc829f2.js +1 -0
  105. package/gui/v1/build/_app/immutable/chunks/stores.71f75302.js +1 -0
  106. package/gui/v1/build/_app/immutable/chunks/table.71e66f99.js +16 -0
  107. package/gui/v1/build/_app/immutable/chunks/tryParseJSON.f125f883.js +1 -0
  108. package/gui/v1/build/_app/immutable/chunks/user.039256f6.js +31 -0
  109. package/gui/v1/build/_app/immutable/entry/app.44548b11.js +1 -0
  110. package/gui/v1/build/_app/immutable/entry/start.4e385061.js +3 -0
  111. package/gui/v1/build/_app/immutable/nodes/0.d27a86c9.js +1 -0
  112. package/gui/v1/build/_app/immutable/nodes/1.532e414a.js +1 -0
  113. package/gui/v1/build/_app/immutable/nodes/10.962850d6.js +26 -0
  114. package/gui/v1/build/_app/immutable/nodes/11.d0e2eb78.js +1 -0
  115. package/gui/v1/build/_app/immutable/nodes/12.6449d2bf.js +74 -0
  116. package/gui/v1/build/_app/immutable/nodes/13.d3883433.js +1 -0
  117. package/gui/v1/build/_app/immutable/nodes/14.b1e09778.js +1 -0
  118. package/gui/v1/build/_app/immutable/nodes/15.af2c20ae.js +1 -0
  119. package/gui/v1/build/_app/immutable/nodes/2.4d90d0b8.js +9 -0
  120. package/gui/v1/build/_app/immutable/nodes/3.06f6ef98.js +1 -0
  121. package/gui/v1/build/_app/immutable/nodes/4.32a26935.js +1 -0
  122. package/gui/v1/build/_app/immutable/nodes/5.06f6ef98.js +1 -0
  123. package/gui/v1/build/_app/immutable/nodes/6.57fec5aa.js +7 -0
  124. package/gui/v1/build/_app/immutable/nodes/7.ae78c23b.js +13 -0
  125. package/gui/v1/build/_app/immutable/nodes/8.f57c5fbf.js +1 -0
  126. package/gui/v1/build/_app/immutable/nodes/9.374909fd.js +1 -0
  127. package/gui/v1/build/_app/version.json +1 -0
  128. package/gui/v1/build/favicon.png +0 -0
  129. package/gui/v1/build/icon/apple-touch-icon-114x114.png +0 -0
  130. package/gui/v1/build/icon/apple-touch-icon-120x120.png +0 -0
  131. package/gui/v1/build/icon/apple-touch-icon-144x144.png +0 -0
  132. package/gui/v1/build/icon/apple-touch-icon-152x152.png +0 -0
  133. package/gui/v1/build/icon/apple-touch-icon-57x57.png +0 -0
  134. package/gui/v1/build/icon/apple-touch-icon-60x60.png +0 -0
  135. package/gui/v1/build/icon/apple-touch-icon-72x72.png +0 -0
  136. package/gui/v1/build/icon/apple-touch-icon-76x76.png +0 -0
  137. package/gui/v1/build/icon/code.txt +20 -0
  138. package/gui/v1/build/icon/favicon-128.png +0 -0
  139. package/gui/v1/build/icon/favicon-16x16.png +0 -0
  140. package/gui/v1/build/icon/favicon-196x196.png +0 -0
  141. package/gui/v1/build/icon/favicon-32x32.png +0 -0
  142. package/gui/v1/build/icon/favicon-96x96.png +0 -0
  143. package/gui/v1/build/icon/favicon.ico +0 -0
  144. package/gui/v1/build/icon/mstile-144x144.png +0 -0
  145. package/gui/v1/build/icon/mstile-150x150.png +0 -0
  146. package/gui/v1/build/icon/mstile-310x150.png +0 -0
  147. package/gui/v1/build/icon/mstile-310x310.png +0 -0
  148. package/gui/v1/build/icon/mstile-70x70.png +0 -0
  149. package/gui/v1/build/index.html +35 -0
  150. package/gui/v1/build/insites-logo-old.png +0 -0
  151. package/gui/v1/build/insites-logo.png +0 -0
  152. package/gui/v1/build/prism.js +8 -0
  153. package/gui/v1/package-lock.json +1616 -0
  154. package/gui/v1/package.json +27 -0
  155. package/gui/v1/playwright.config.js +10 -0
  156. package/gui/v1/pnpm-lock.yaml +992 -0
  157. package/gui/v1/src/app.html +12 -0
  158. package/gui/v1/src/lib/api/backgroundJob.js +124 -0
  159. package/gui/v1/src/lib/api/constant.js +68 -0
  160. package/gui/v1/src/lib/api/graphql.js +57 -0
  161. package/gui/v1/src/lib/api/logs.js +45 -0
  162. package/gui/v1/src/lib/api/record.js +286 -0
  163. package/gui/v1/src/lib/api/table.js +45 -0
  164. package/gui/v1/src/lib/api/user.js +78 -0
  165. package/gui/v1/src/lib/backgroundJob/Delete.svelte +61 -0
  166. package/gui/v1/src/lib/backgroundJob/Retry.svelte +45 -0
  167. package/gui/v1/src/lib/database/Create.svelte +324 -0
  168. package/gui/v1/src/lib/database/Delete.svelte +61 -0
  169. package/gui/v1/src/lib/database/Filters.svelte +155 -0
  170. package/gui/v1/src/lib/database/Sort.svelte +110 -0
  171. package/gui/v1/src/lib/database/Table.svelte +261 -0
  172. package/gui/v1/src/lib/database/Tables.svelte +276 -0
  173. package/gui/v1/src/lib/parseValue.js +51 -0
  174. package/gui/v1/src/lib/relativeTime.js +33 -0
  175. package/gui/v1/src/lib/state.js +190 -0
  176. package/gui/v1/src/lib/tryParseJSON.js +32 -0
  177. package/gui/v1/src/lib/ui/Aside.svelte +176 -0
  178. package/gui/v1/src/lib/ui/Code.svelte +50 -0
  179. package/gui/v1/src/lib/ui/ConnectionIndicator.svelte +133 -0
  180. package/gui/v1/src/lib/ui/Header.svelte +252 -0
  181. package/gui/v1/src/lib/ui/Icon.svelte +55 -0
  182. package/gui/v1/src/lib/ui/JSONTree.svelte +77 -0
  183. package/gui/v1/src/lib/ui/Notifications.svelte +111 -0
  184. package/gui/v1/src/lib/ui/forms/Toggle.svelte +114 -0
  185. package/gui/v1/src/routes/+layout.svelte +25 -0
  186. package/gui/v1/src/routes/+page.svelte +511 -0
  187. package/gui/v1/src/routes/backgroundJobs/+layout.svelte +366 -0
  188. package/gui/v1/src/routes/backgroundJobs/+page.svelte +0 -0
  189. package/gui/v1/src/routes/backgroundJobs/[type]/[id]/+page.svelte +157 -0
  190. package/gui/v1/src/routes/constants/+layout.svelte +1 -0
  191. package/gui/v1/src/routes/constants/+page.svelte +382 -0
  192. package/gui/v1/src/routes/database/+layout.svelte +67 -0
  193. package/gui/v1/src/routes/database/+page.svelte +3 -0
  194. package/gui/v1/src/routes/database/table/[id]/+page.svelte +219 -0
  195. package/gui/v1/src/routes/logs/+layout.svelte +1 -0
  196. package/gui/v1/src/routes/logs/+page.svelte +512 -0
  197. package/gui/v1/src/routes/users/+layout.svelte +252 -0
  198. package/gui/v1/src/routes/users/+page.svelte +4 -0
  199. package/gui/v1/src/routes/users/[id]/+page.svelte +127 -0
  200. package/gui/v1/src/style/button.css +141 -0
  201. package/gui/v1/src/style/code.css +4 -0
  202. package/gui/v1/src/style/config.css +186 -0
  203. package/gui/v1/src/style/forms.css +55 -0
  204. package/gui/v1/src/style/general.css +53 -0
  205. package/gui/v1/src/style/reset.css +75 -0
  206. package/gui/v1/static/favicon.png +0 -0
  207. package/gui/v1/static/icon/apple-touch-icon-114x114.png +0 -0
  208. package/gui/v1/static/icon/apple-touch-icon-120x120.png +0 -0
  209. package/gui/v1/static/icon/apple-touch-icon-144x144.png +0 -0
  210. package/gui/v1/static/icon/apple-touch-icon-152x152.png +0 -0
  211. package/gui/v1/static/icon/apple-touch-icon-57x57.png +0 -0
  212. package/gui/v1/static/icon/apple-touch-icon-60x60.png +0 -0
  213. package/gui/v1/static/icon/apple-touch-icon-72x72.png +0 -0
  214. package/gui/v1/static/icon/apple-touch-icon-76x76.png +0 -0
  215. package/gui/v1/static/icon/code.txt +20 -0
  216. package/gui/v1/static/icon/favicon-128.png +0 -0
  217. package/gui/v1/static/icon/favicon-16x16.png +0 -0
  218. package/gui/v1/static/icon/favicon-196x196.png +0 -0
  219. package/gui/v1/static/icon/favicon-32x32.png +0 -0
  220. package/gui/v1/static/icon/favicon-96x96.png +0 -0
  221. package/gui/v1/static/icon/favicon.ico +0 -0
  222. package/gui/v1/static/icon/mstile-144x144.png +0 -0
  223. package/gui/v1/static/icon/mstile-150x150.png +0 -0
  224. package/gui/v1/static/icon/mstile-310x150.png +0 -0
  225. package/gui/v1/static/icon/mstile-310x310.png +0 -0
  226. package/gui/v1/static/icon/mstile-70x70.png +0 -0
  227. package/gui/v1/static/insites-logo-old.png +0 -0
  228. package/gui/v1/static/insites-logo.png +0 -0
  229. package/gui/v1/static/prism.js +8 -0
  230. package/gui/v1/svelte.config.js +12 -0
  231. package/gui/v1/vite.config.js +9 -0
  232. package/gui/v2/.env.local.sample +1 -0
  233. package/gui/v2/.eslintrc.json +3 -0
  234. package/gui/v2/README.md +36 -0
  235. package/gui/v2/jsconfig.json +7 -0
  236. package/gui/v2/next.config.mjs +8 -0
  237. package/gui/v2/out/404/index.html +1 -0
  238. package/gui/v2/out/404.html +1 -0
  239. package/gui/v2/out/_next/static/chunks/1255.653490595d3fc3e0.js +1 -0
  240. package/gui/v2/out/_next/static/chunks/156-d7f9f402651cf1ce.js +1 -0
  241. package/gui/v2/out/_next/static/chunks/1607-f540467bd5a5afbb.js +1 -0
  242. package/gui/v2/out/_next/static/chunks/1846.1d14172e53de7bd5.js +1 -0
  243. package/gui/v2/out/_next/static/chunks/2380.950327f4432936af.js +1 -0
  244. package/gui/v2/out/_next/static/chunks/2572.bec81f6c42bcb825.js +1 -0
  245. package/gui/v2/out/_next/static/chunks/2650.fe9586a828cdca9d.js +1 -0
  246. package/gui/v2/out/_next/static/chunks/3331.562d592a07589250.js +1 -0
  247. package/gui/v2/out/_next/static/chunks/3510.61b58fad9f502d34.js +1 -0
  248. package/gui/v2/out/_next/static/chunks/363642f4-2accd15316551dfa.js +1 -0
  249. package/gui/v2/out/_next/static/chunks/4704.c49f871da8f25277.js +1 -0
  250. package/gui/v2/out/_next/static/chunks/49448ee7.02b7afe6f73c8f9d.js +1 -0
  251. package/gui/v2/out/_next/static/chunks/4d1bfaba-4c00fd5561f9a075.js +1 -0
  252. package/gui/v2/out/_next/static/chunks/5103.b86a80704c50b2cb.js +1 -0
  253. package/gui/v2/out/_next/static/chunks/5250-f85a6556cdac145c.js +1 -0
  254. package/gui/v2/out/_next/static/chunks/5253.6fc3f7a625a83de9.js +1 -0
  255. package/gui/v2/out/_next/static/chunks/6163.50329d0319b2e55b.js +1 -0
  256. package/gui/v2/out/_next/static/chunks/6262.57b323874390cc1b.js +1 -0
  257. package/gui/v2/out/_next/static/chunks/6442.5e49a9feebedaf1a.js +1 -0
  258. package/gui/v2/out/_next/static/chunks/6711.076ab1f536726d8d.js +1 -0
  259. package/gui/v2/out/_next/static/chunks/6729.9cc7e67fe8be26d8.js +1 -0
  260. package/gui/v2/out/_next/static/chunks/6744.73e5042f769356c2.js +1 -0
  261. package/gui/v2/out/_next/static/chunks/7058.e63b764d613d6d14.js +1 -0
  262. package/gui/v2/out/_next/static/chunks/714.039f29b090afd075.js +1 -0
  263. package/gui/v2/out/_next/static/chunks/720.b5dff7afd9961ccc.js +1 -0
  264. package/gui/v2/out/_next/static/chunks/7283.e2af380e1cb385c4.js +1 -0
  265. package/gui/v2/out/_next/static/chunks/7567.fb1e0ef7389df59d.js +1 -0
  266. package/gui/v2/out/_next/static/chunks/7604.12b8307c002ce3f4.js +1 -0
  267. package/gui/v2/out/_next/static/chunks/7612.f071dccc7f2b0711.js +1 -0
  268. package/gui/v2/out/_next/static/chunks/7737.6191e6708d094927.js +1 -0
  269. package/gui/v2/out/_next/static/chunks/7833.6ff3b0179c6aab2e.js +1 -0
  270. package/gui/v2/out/_next/static/chunks/7934.875b05fd89a8eeae.js +1 -0
  271. package/gui/v2/out/_next/static/chunks/7957.c1f316fb4f52b181.js +1 -0
  272. package/gui/v2/out/_next/static/chunks/7979.1ed8d3011a12e2f1.js +1 -0
  273. package/gui/v2/out/_next/static/chunks/8043.592171badd8f3ea1.js +57 -0
  274. package/gui/v2/out/_next/static/chunks/8047-327e12b999e88629.js +1 -0
  275. package/gui/v2/out/_next/static/chunks/8069-99e6658a6772ea80.js +1 -0
  276. package/gui/v2/out/_next/static/chunks/8414.c85352362d33de3e.js +1 -0
  277. package/gui/v2/out/_next/static/chunks/8700.4409d1a867db1bf3.js +1 -0
  278. package/gui/v2/out/_next/static/chunks/9121.b83f5b8780f6c093.js +1 -0
  279. package/gui/v2/out/_next/static/chunks/9336.17897c831ce187f3.js +1 -0
  280. package/gui/v2/out/_next/static/chunks/9479.f984522cec5ff059.js +1 -0
  281. package/gui/v2/out/_next/static/chunks/9557.471a0e1662abe246.js +1 -0
  282. package/gui/v2/out/_next/static/chunks/989.aa0766c8bb66a392.js +1 -0
  283. package/gui/v2/out/_next/static/chunks/app/background-job/page-0521f8d6e8ec9b55.js +1 -0
  284. package/gui/v2/out/_next/static/chunks/app/constants/page-f1397b414fe2e4c0.js +1 -0
  285. package/gui/v2/out/_next/static/chunks/app/database/layout-c1e28d1ae358bc77.js +1 -0
  286. package/gui/v2/out/_next/static/chunks/app/database/page-d2f667b24c673fbb.js +1 -0
  287. package/gui/v2/out/_next/static/chunks/app/error-3cf235b6b99c469f.js +1 -0
  288. package/gui/v2/out/_next/static/chunks/app/global-error-afc2c2c9b5e82f57.js +1 -0
  289. package/gui/v2/out/_next/static/chunks/app/graphql/page-ae7c858f41b54801.js +1 -0
  290. package/gui/v2/out/_next/static/chunks/app/layout-8194e46834cb4aba.js +1 -0
  291. package/gui/v2/out/_next/static/chunks/app/liquid/page-02caf239e75f472f.js +1 -0
  292. package/gui/v2/out/_next/static/chunks/app/loading-54414b5097331d64.js +1 -0
  293. package/gui/v2/out/_next/static/chunks/app/logs/layout-5f78d72b1b805625.js +1 -0
  294. package/gui/v2/out/_next/static/chunks/app/logs/page-ef7dd2b328d24734.js +1 -0
  295. package/gui/v2/out/_next/static/chunks/app/not-found-33cae8ec5bdcd26f.js +1 -0
  296. package/gui/v2/out/_next/static/chunks/app/page-73b1f8b1f7552d3f.js +1 -0
  297. package/gui/v2/out/_next/static/chunks/app/users/page-2195ac1594366ce4.js +1 -0
  298. package/gui/v2/out/_next/static/chunks/d9670eb5.68da5e9f84dd26cf.js +1 -0
  299. package/gui/v2/out/_next/static/chunks/fd9d1056-0e6b8922e4ebe23a.js +1 -0
  300. package/gui/v2/out/_next/static/chunks/framework-08aa667e5202eed8.js +33 -0
  301. package/gui/v2/out/_next/static/chunks/main-7b334683379129cf.js +1 -0
  302. package/gui/v2/out/_next/static/chunks/main-app-35b90d128e2e05cf.js +1 -0
  303. package/gui/v2/out/_next/static/chunks/pages/_app-57bdff7978360b1c.js +1 -0
  304. package/gui/v2/out/_next/static/chunks/pages/_error-29037c284dd0eec6.js +1 -0
  305. package/gui/v2/out/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js +1 -0
  306. package/gui/v2/out/_next/static/chunks/webpack-d07cc8d61c19af5d.js +1 -0
  307. package/gui/v2/out/_next/static/css/874c6e64ab8446a4.css +6 -0
  308. package/gui/v2/out/_next/static/css/88716ec5fc4aa1e3.css +15 -0
  309. package/gui/v2/out/_next/static/wmD1UwESxpzZj8pfiHFeB/_buildManifest.js +1 -0
  310. package/gui/v2/out/_next/static/wmD1UwESxpzZj8pfiHFeB/_ssgManifest.js +1 -0
  311. package/gui/v2/out/assets/icons/home-bg-job.png +0 -0
  312. package/gui/v2/out/assets/icons/home-constants.png +0 -0
  313. package/gui/v2/out/assets/icons/home-database.png +0 -0
  314. package/gui/v2/out/assets/icons/home-graphql.png +0 -0
  315. package/gui/v2/out/assets/icons/home-info-fill-light.png +0 -0
  316. package/gui/v2/out/assets/icons/home-info-light.png +0 -0
  317. package/gui/v2/out/assets/icons/home-liquid.png +0 -0
  318. package/gui/v2/out/assets/icons/home-logs.png +0 -0
  319. package/gui/v2/out/assets/icons/home-pin-fill-light.png +0 -0
  320. package/gui/v2/out/assets/icons/home-pin-light.png +0 -0
  321. package/gui/v2/out/assets/icons/home-support.png +0 -0
  322. package/gui/v2/out/assets/icons/home-users.png +0 -0
  323. package/gui/v2/out/assets/icons/menu-bg-job-dark.png +0 -0
  324. package/gui/v2/out/assets/icons/menu-bg-job-light.png +0 -0
  325. package/gui/v2/out/assets/icons/menu-console-dark.png +0 -0
  326. package/gui/v2/out/assets/icons/menu-console-light.png +0 -0
  327. package/gui/v2/out/assets/icons/menu-constants-dark.png +0 -0
  328. package/gui/v2/out/assets/icons/menu-constants-light.png +0 -0
  329. package/gui/v2/out/assets/icons/menu-database-dark.png +0 -0
  330. package/gui/v2/out/assets/icons/menu-database-light.png +0 -0
  331. package/gui/v2/out/assets/icons/menu-docs-dark.png +0 -0
  332. package/gui/v2/out/assets/icons/menu-docs-light.png +0 -0
  333. package/gui/v2/out/assets/icons/menu-graphql-dark.png +0 -0
  334. package/gui/v2/out/assets/icons/menu-graphql-light.png +0 -0
  335. package/gui/v2/out/assets/icons/menu-iia-dark.png +0 -0
  336. package/gui/v2/out/assets/icons/menu-iia-light.png +0 -0
  337. package/gui/v2/out/assets/icons/menu-liquid-dark.png +0 -0
  338. package/gui/v2/out/assets/icons/menu-liquid-light.png +0 -0
  339. package/gui/v2/out/assets/icons/menu-logs-dark.png +0 -0
  340. package/gui/v2/out/assets/icons/menu-logs-light.png +0 -0
  341. package/gui/v2/out/assets/icons/menu-support-dark.png +0 -0
  342. package/gui/v2/out/assets/icons/menu-support-light.png +0 -0
  343. package/gui/v2/out/assets/icons/menu-theme-dark.png +0 -0
  344. package/gui/v2/out/assets/icons/menu-theme-light.png +0 -0
  345. package/gui/v2/out/assets/icons/menu-users-dark.png +0 -0
  346. package/gui/v2/out/assets/icons/menu-users-light.png +0 -0
  347. package/gui/v2/out/assets/icons/search-icon-dark.svg +3 -0
  348. package/gui/v2/out/assets/ins-logo-dark.svg +35 -0
  349. package/gui/v2/out/assets/ins-logo-light.svg +35 -0
  350. package/gui/v2/out/background-job/index.html +1 -0
  351. package/gui/v2/out/background-job/index.txt +9 -0
  352. package/gui/v2/out/constants/index.html +1 -0
  353. package/gui/v2/out/constants/index.txt +11 -0
  354. package/gui/v2/out/database/index.html +1 -0
  355. package/gui/v2/out/database/index.txt +13 -0
  356. package/gui/v2/out/favicon.ico +0 -0
  357. package/gui/v2/out/favicon.png +0 -0
  358. package/gui/v2/out/graphql/index.html +1 -0
  359. package/gui/v2/out/graphql/index.txt +11 -0
  360. package/gui/v2/out/index.html +1 -0
  361. package/gui/v2/out/index.txt +11 -0
  362. package/gui/v2/out/liquid/index.html +1 -0
  363. package/gui/v2/out/liquid/index.txt +11 -0
  364. package/gui/v2/out/logs/index.html +1 -0
  365. package/gui/v2/out/logs/index.txt +13 -0
  366. package/gui/v2/out/next.svg +1 -0
  367. package/gui/v2/out/users/index.html +1 -0
  368. package/gui/v2/out/users/index.txt +11 -0
  369. package/gui/v2/out/vercel.svg +1 -0
  370. package/gui/v2/package-lock.json +9575 -0
  371. package/gui/v2/package.json +37 -0
  372. package/gui/v2/postcss.config.js +6 -0
  373. package/gui/v2/public/assets/icons/home-bg-job.png +0 -0
  374. package/gui/v2/public/assets/icons/home-constants.png +0 -0
  375. package/gui/v2/public/assets/icons/home-database.png +0 -0
  376. package/gui/v2/public/assets/icons/home-graphql.png +0 -0
  377. package/gui/v2/public/assets/icons/home-info-fill-light.png +0 -0
  378. package/gui/v2/public/assets/icons/home-info-light.png +0 -0
  379. package/gui/v2/public/assets/icons/home-liquid.png +0 -0
  380. package/gui/v2/public/assets/icons/home-logs.png +0 -0
  381. package/gui/v2/public/assets/icons/home-pin-fill-light.png +0 -0
  382. package/gui/v2/public/assets/icons/home-pin-light.png +0 -0
  383. package/gui/v2/public/assets/icons/home-support.png +0 -0
  384. package/gui/v2/public/assets/icons/home-users.png +0 -0
  385. package/gui/v2/public/assets/icons/menu-bg-job-dark.png +0 -0
  386. package/gui/v2/public/assets/icons/menu-bg-job-light.png +0 -0
  387. package/gui/v2/public/assets/icons/menu-console-dark.png +0 -0
  388. package/gui/v2/public/assets/icons/menu-console-light.png +0 -0
  389. package/gui/v2/public/assets/icons/menu-constants-dark.png +0 -0
  390. package/gui/v2/public/assets/icons/menu-constants-light.png +0 -0
  391. package/gui/v2/public/assets/icons/menu-database-dark.png +0 -0
  392. package/gui/v2/public/assets/icons/menu-database-light.png +0 -0
  393. package/gui/v2/public/assets/icons/menu-docs-dark.png +0 -0
  394. package/gui/v2/public/assets/icons/menu-docs-light.png +0 -0
  395. package/gui/v2/public/assets/icons/menu-graphql-dark.png +0 -0
  396. package/gui/v2/public/assets/icons/menu-graphql-light.png +0 -0
  397. package/gui/v2/public/assets/icons/menu-iia-dark.png +0 -0
  398. package/gui/v2/public/assets/icons/menu-iia-light.png +0 -0
  399. package/gui/v2/public/assets/icons/menu-liquid-dark.png +0 -0
  400. package/gui/v2/public/assets/icons/menu-liquid-light.png +0 -0
  401. package/gui/v2/public/assets/icons/menu-logs-dark.png +0 -0
  402. package/gui/v2/public/assets/icons/menu-logs-light.png +0 -0
  403. package/gui/v2/public/assets/icons/menu-support-dark.png +0 -0
  404. package/gui/v2/public/assets/icons/menu-support-light.png +0 -0
  405. package/gui/v2/public/assets/icons/menu-theme-dark.png +0 -0
  406. package/gui/v2/public/assets/icons/menu-theme-light.png +0 -0
  407. package/gui/v2/public/assets/icons/menu-users-dark.png +0 -0
  408. package/gui/v2/public/assets/icons/menu-users-light.png +0 -0
  409. package/gui/v2/public/assets/icons/search-icon-dark.svg +3 -0
  410. package/gui/v2/public/assets/ins-logo-dark.svg +35 -0
  411. package/gui/v2/public/assets/ins-logo-light.svg +35 -0
  412. package/gui/v2/public/favicon.png +0 -0
  413. package/gui/v2/public/next.svg +1 -0
  414. package/gui/v2/public/vercel.svg +1 -0
  415. package/gui/v2/src/app/background-job/page.js +35 -0
  416. package/gui/v2/src/app/constants/components/Field/Field.css +11 -0
  417. package/gui/v2/src/app/constants/components/Field/Field.js +52 -0
  418. package/gui/v2/src/app/constants/components/Filter.js +50 -0
  419. package/gui/v2/src/app/constants/components/Form/Form.css +3 -0
  420. package/gui/v2/src/app/constants/components/Form/Form.js +41 -0
  421. package/gui/v2/src/app/constants/page.js +40 -0
  422. package/gui/v2/src/app/database/components/Filters/FilterForm.js +70 -0
  423. package/gui/v2/src/app/database/components/Filters/FilterValue.js +68 -0
  424. package/gui/v2/src/app/database/components/Filters/Filters.js +72 -0
  425. package/gui/v2/src/app/database/components/Sidebar.js +46 -0
  426. package/gui/v2/src/app/database/components/Table.js +122 -0
  427. package/gui/v2/src/app/database/context.js +106 -0
  428. package/gui/v2/src/app/database/layout.js +10 -0
  429. package/gui/v2/src/app/database/page.js +31 -0
  430. package/gui/v2/src/app/error.js +25 -0
  431. package/gui/v2/src/app/favicon.ico +0 -0
  432. package/gui/v2/src/app/global-error.js +20 -0
  433. package/gui/v2/src/app/globals.css +30 -0
  434. package/gui/v2/src/app/graphql/graphql.js +71 -0
  435. package/gui/v2/src/app/graphql/page.js +11 -0
  436. package/gui/v2/src/app/layout.js +27 -0
  437. package/gui/v2/src/app/liquid/page.js +68 -0
  438. package/gui/v2/src/app/loading.js +7 -0
  439. package/gui/v2/src/app/logs/components/JsonTree.js +31 -0
  440. package/gui/v2/src/app/logs/components/LogMetadata/LogMetadata.js +61 -0
  441. package/gui/v2/src/app/logs/components/LogRow.js +62 -0
  442. package/gui/v2/src/app/logs/components/PinnedPanel/PinnedPanel.js +46 -0
  443. package/gui/v2/src/app/logs/components/Toolbar/ClearButton.js +10 -0
  444. package/gui/v2/src/app/logs/components/Toolbar/Filter.js +13 -0
  445. package/gui/v2/src/app/logs/components/Toolbar/MetaDataCheckbox.js +11 -0
  446. package/gui/v2/src/app/logs/components/Toolbar/ShowPinnedButton.js +8 -0
  447. package/gui/v2/src/app/logs/components/Toolbar/Toolbar.js +45 -0
  448. package/gui/v2/src/app/logs/context.js +66 -0
  449. package/gui/v2/src/app/logs/layout.js +10 -0
  450. package/gui/v2/src/app/logs/page.js +73 -0
  451. package/gui/v2/src/app/not-found.js +11 -0
  452. package/gui/v2/src/app/page.js +103 -0
  453. package/gui/v2/src/app/providers.js +18 -0
  454. package/gui/v2/src/app/users/components/UserDetails.js +38 -0
  455. package/gui/v2/src/app/users/page.js +121 -0
  456. package/gui/v2/src/components/CodeEditor/CodeEditor.css +12 -0
  457. package/gui/v2/src/components/CodeEditor/CodeEditor.js +76 -0
  458. package/gui/v2/src/components/layout/Header/Header.css +6 -0
  459. package/gui/v2/src/components/layout/Header/Header.js +139 -0
  460. package/gui/v2/src/constants/filters.js +32 -0
  461. package/gui/v2/src/constants/records.js +17 -0
  462. package/gui/v2/src/context/config.js +27 -0
  463. package/gui/v2/src/context/filters.js +22 -0
  464. package/gui/v2/src/context/menu.js +14 -0
  465. package/gui/v2/src/context/theme.js +29 -0
  466. package/gui/v2/src/hooks/config.js +6 -0
  467. package/gui/v2/src/hooks/constants.js +99 -0
  468. package/gui/v2/src/hooks/database.js +44 -0
  469. package/gui/v2/src/hooks/filters.js +30 -0
  470. package/gui/v2/src/hooks/menu.js +19 -0
  471. package/gui/v2/src/hooks/query.js +10 -0
  472. package/gui/v2/src/hooks/queryParams.js +20 -0
  473. package/gui/v2/src/hooks/recordQuery.js +109 -0
  474. package/gui/v2/src/hooks/theme.js +6 -0
  475. package/gui/v2/src/hooks/users.js +63 -0
  476. package/gui/v2/src/reducers/filter.js +28 -0
  477. package/gui/v2/src/reducers/menu.js +125 -0
  478. package/gui/v2/src/reducers/query.js +143 -0
  479. package/gui/v2/src/services/ConfigService.js +7 -0
  480. package/gui/v2/src/services/CoreService.js +68 -0
  481. package/gui/v2/src/services/GraphiQLService.js +14 -0
  482. package/gui/v2/src/services/LiquidService.js +7 -0
  483. package/gui/v2/src/services/LogService.js +7 -0
  484. package/gui/v2/src/services/RecordService.js +27 -0
  485. package/gui/v2/src/styles/app/database.css +10 -0
  486. package/gui/v2/src/styles/app/graphql.css +100 -0
  487. package/gui/v2/src/styles/app/liquid.css +4 -0
  488. package/gui/v2/src/styles/app/users.css +3 -0
  489. package/gui/v2/src/styles/general.css +31 -0
  490. package/gui/v2/src/styles/icons.css +7 -0
  491. package/gui/v2/src/styles/utils.css +103 -0
  492. package/gui/v2/src/styles/variables.css +94 -0
  493. package/gui/v2/tailwind.config.js +18 -0
  494. package/gui/v3/.cta.json +13 -0
  495. package/gui/v3/.cursorrules +7 -0
  496. package/gui/v3/.vscode/settings.json +18 -0
  497. package/gui/v3/README.md +300 -0
  498. package/gui/v3/components.json +21 -0
  499. package/gui/v3/index.html +17 -0
  500. package/gui/v3/out/assets/asn1-EdZsLKOL.js +1 -0
  501. package/gui/v3/out/assets/babel-C9dsZwsK.js +15 -0
  502. package/gui/v3/out/assets/clojure-BMjYHr_A.js +1 -0
  503. package/gui/v3/out/assets/codicon-DCmgc-ay.ttf +0 -0
  504. package/gui/v3/out/assets/constants-BTP7rcyh.js +1 -0
  505. package/gui/v3/out/assets/createLucideIcon-C36JZ1s3.js +21 -0
  506. package/gui/v3/out/assets/css-BnMrqG3P.js +1 -0
  507. package/gui/v3/out/assets/database-DV7gHS2m.js +106 -0
  508. package/gui/v3/out/assets/estree-DZUM3lmb.js +36 -0
  509. package/gui/v3/out/assets/format-Bs4upCOt.js +1 -0
  510. package/gui/v3/out/assets/graphql-7Dzro_xV.js +29 -0
  511. package/gui/v3/out/assets/graphql-Cg7bfA9N.js +6 -0
  512. package/gui/v3/out/assets/graphql-D05RS2Ys.js +29 -0
  513. package/gui/v3/out/assets/graphql-DeSRErpC.css +6 -0
  514. package/gui/v3/out/assets/graphql-Kf_-WQAL.js +335 -0
  515. package/gui/v3/out/assets/graphqlMode-BiZPK6IB.js +2 -0
  516. package/gui/v3/out/assets/icons/home-bg-job.png +0 -0
  517. package/gui/v3/out/assets/icons/home-constants.png +0 -0
  518. package/gui/v3/out/assets/icons/home-database.png +0 -0
  519. package/gui/v3/out/assets/icons/home-graphql.png +0 -0
  520. package/gui/v3/out/assets/icons/home-info-fill-light.png +0 -0
  521. package/gui/v3/out/assets/icons/home-info-light.png +0 -0
  522. package/gui/v3/out/assets/icons/home-liquid.png +0 -0
  523. package/gui/v3/out/assets/icons/home-logs.png +0 -0
  524. package/gui/v3/out/assets/icons/home-pin-fill-light.png +0 -0
  525. package/gui/v3/out/assets/icons/home-pin-light.png +0 -0
  526. package/gui/v3/out/assets/icons/home-support.png +0 -0
  527. package/gui/v3/out/assets/icons/home-users.png +0 -0
  528. package/gui/v3/out/assets/icons/menu-bg-job-dark.png +0 -0
  529. package/gui/v3/out/assets/icons/menu-bg-job-light.png +0 -0
  530. package/gui/v3/out/assets/icons/menu-console-dark.png +0 -0
  531. package/gui/v3/out/assets/icons/menu-console-light.png +0 -0
  532. package/gui/v3/out/assets/icons/menu-constants-dark.png +0 -0
  533. package/gui/v3/out/assets/icons/menu-constants-light.png +0 -0
  534. package/gui/v3/out/assets/icons/menu-database-dark.png +0 -0
  535. package/gui/v3/out/assets/icons/menu-database-light.png +0 -0
  536. package/gui/v3/out/assets/icons/menu-docs-dark.png +0 -0
  537. package/gui/v3/out/assets/icons/menu-docs-light.png +0 -0
  538. package/gui/v3/out/assets/icons/menu-graphql-dark.png +0 -0
  539. package/gui/v3/out/assets/icons/menu-graphql-light.png +0 -0
  540. package/gui/v3/out/assets/icons/menu-iia-dark.png +0 -0
  541. package/gui/v3/out/assets/icons/menu-iia-light.png +0 -0
  542. package/gui/v3/out/assets/icons/menu-liquid-dark.png +0 -0
  543. package/gui/v3/out/assets/icons/menu-liquid-light.png +0 -0
  544. package/gui/v3/out/assets/icons/menu-logs-dark.png +0 -0
  545. package/gui/v3/out/assets/icons/menu-logs-light.png +0 -0
  546. package/gui/v3/out/assets/icons/menu-support-dark.png +0 -0
  547. package/gui/v3/out/assets/icons/menu-support-light.png +0 -0
  548. package/gui/v3/out/assets/icons/menu-theme-dark.png +0 -0
  549. package/gui/v3/out/assets/icons/menu-theme-light.png +0 -0
  550. package/gui/v3/out/assets/icons/menu-users-dark.png +0 -0
  551. package/gui/v3/out/assets/icons/menu-users-light.png +0 -0
  552. package/gui/v3/out/assets/icons/search-icon-dark.svg +3 -0
  553. package/gui/v3/out/assets/index-AQmQqDwZ.js +68 -0
  554. package/gui/v3/out/assets/index-BkuncLX2.js +1 -0
  555. package/gui/v3/out/assets/index-Cf5jXmk6.css +1 -0
  556. package/gui/v3/out/assets/index-CizP5xBC.js +7 -0
  557. package/gui/v3/out/assets/index-DO4-OviR.js +1 -0
  558. package/gui/v3/out/assets/index-DuTWoEAJ.js +1 -0
  559. package/gui/v3/out/assets/index-Fzn1QYI7.js +41 -0
  560. package/gui/v3/out/assets/ins-logo-dark.svg +35 -0
  561. package/gui/v3/out/assets/ins-logo-light.svg +35 -0
  562. package/gui/v3/out/assets/javascript-qCveANmP.js +1 -0
  563. package/gui/v3/out/assets/jsonMode-D3_vpDO9.js +15 -0
  564. package/gui/v3/out/assets/liquid-eqk0BGFR.js +56 -0
  565. package/gui/v3/out/assets/lite-BCVbb_oz.js +2 -0
  566. package/gui/v3/out/assets/logs-DI6Go5dW.js +16 -0
  567. package/gui/v3/out/assets/mllike-CXdrOF99.js +1 -0
  568. package/gui/v3/out/assets/monaco-editor-C4cuflwX.js +722 -0
  569. package/gui/v3/out/assets/monaco-editor-D6kYW_CN.css +1 -0
  570. package/gui/v3/out/assets/mouseTarget-B_KnTiWf.js +9 -0
  571. package/gui/v3/out/assets/objectWithoutPropertiesLoose-Ls7qkcH1.js +1 -0
  572. package/gui/v3/out/assets/pug-DukmZTjD.js +1 -0
  573. package/gui/v3/out/assets/python-BuPzkPfP.js +1 -0
  574. package/gui/v3/out/assets/rpm-CTu-6PCP.js +1 -0
  575. package/gui/v3/out/assets/sql-D0XecflT.js +1 -0
  576. package/gui/v3/out/assets/standalone-BS_cqyLa.js +39 -0
  577. package/gui/v3/out/assets/table-D17Bwjdk.js +6 -0
  578. package/gui/v3/out/assets/toolkit-DToHxdMP.js +1 -0
  579. package/gui/v3/out/assets/ttcn-cfg-B9xdYoR4.js +1 -0
  580. package/gui/v3/out/assets/users-DI3wqkEI.js +1 -0
  581. package/gui/v3/out/favicon.png +0 -0
  582. package/gui/v3/out/index.html +41 -0
  583. package/gui/v3/out/logo192.png +0 -0
  584. package/gui/v3/out/logo512.png +0 -0
  585. package/gui/v3/out/manifest.json +25 -0
  586. package/gui/v3/out/monacoeditorwork/editor.worker.bundle.js +13519 -0
  587. package/gui/v3/out/monacoeditorwork/graphql.worker..bundle.js +32105 -0
  588. package/gui/v3/out/monacoeditorwork/json.worker.bundle.js +21320 -0
  589. package/gui/v3/out/robots.txt +3 -0
  590. package/gui/v3/package-lock.json +7193 -0
  591. package/gui/v3/package.json +69 -0
  592. package/gui/v3/public/assets/icons/home-bg-job.png +0 -0
  593. package/gui/v3/public/assets/icons/home-constants.png +0 -0
  594. package/gui/v3/public/assets/icons/home-database.png +0 -0
  595. package/gui/v3/public/assets/icons/home-graphql.png +0 -0
  596. package/gui/v3/public/assets/icons/home-info-fill-light.png +0 -0
  597. package/gui/v3/public/assets/icons/home-info-light.png +0 -0
  598. package/gui/v3/public/assets/icons/home-liquid.png +0 -0
  599. package/gui/v3/public/assets/icons/home-logs.png +0 -0
  600. package/gui/v3/public/assets/icons/home-pin-fill-light.png +0 -0
  601. package/gui/v3/public/assets/icons/home-pin-light.png +0 -0
  602. package/gui/v3/public/assets/icons/home-support.png +0 -0
  603. package/gui/v3/public/assets/icons/home-users.png +0 -0
  604. package/gui/v3/public/assets/icons/menu-bg-job-dark.png +0 -0
  605. package/gui/v3/public/assets/icons/menu-bg-job-light.png +0 -0
  606. package/gui/v3/public/assets/icons/menu-console-dark.png +0 -0
  607. package/gui/v3/public/assets/icons/menu-console-light.png +0 -0
  608. package/gui/v3/public/assets/icons/menu-constants-dark.png +0 -0
  609. package/gui/v3/public/assets/icons/menu-constants-light.png +0 -0
  610. package/gui/v3/public/assets/icons/menu-database-dark.png +0 -0
  611. package/gui/v3/public/assets/icons/menu-database-light.png +0 -0
  612. package/gui/v3/public/assets/icons/menu-docs-dark.png +0 -0
  613. package/gui/v3/public/assets/icons/menu-docs-light.png +0 -0
  614. package/gui/v3/public/assets/icons/menu-graphql-dark.png +0 -0
  615. package/gui/v3/public/assets/icons/menu-graphql-light.png +0 -0
  616. package/gui/v3/public/assets/icons/menu-iia-dark.png +0 -0
  617. package/gui/v3/public/assets/icons/menu-iia-light.png +0 -0
  618. package/gui/v3/public/assets/icons/menu-liquid-dark.png +0 -0
  619. package/gui/v3/public/assets/icons/menu-liquid-light.png +0 -0
  620. package/gui/v3/public/assets/icons/menu-logs-dark.png +0 -0
  621. package/gui/v3/public/assets/icons/menu-logs-light.png +0 -0
  622. package/gui/v3/public/assets/icons/menu-support-dark.png +0 -0
  623. package/gui/v3/public/assets/icons/menu-support-light.png +0 -0
  624. package/gui/v3/public/assets/icons/menu-theme-dark.png +0 -0
  625. package/gui/v3/public/assets/icons/menu-theme-light.png +0 -0
  626. package/gui/v3/public/assets/icons/menu-users-dark.png +0 -0
  627. package/gui/v3/public/assets/icons/menu-users-light.png +0 -0
  628. package/gui/v3/public/assets/icons/search-icon-dark.svg +3 -0
  629. package/gui/v3/public/assets/ins-logo-dark.svg +35 -0
  630. package/gui/v3/public/assets/ins-logo-light.svg +35 -0
  631. package/gui/v3/public/favicon.png +0 -0
  632. package/gui/v3/public/logo192.png +0 -0
  633. package/gui/v3/public/logo512.png +0 -0
  634. package/gui/v3/public/manifest.json +25 -0
  635. package/gui/v3/public/robots.txt +3 -0
  636. package/gui/v3/src/components/CodeEditor.tsx +100 -0
  637. package/gui/v3/src/components/commons/DatePicker.tsx +93 -0
  638. package/gui/v3/src/components/commons/DateRangeFilter.tsx +76 -0
  639. package/gui/v3/src/components/commons/InputBox.tsx +88 -0
  640. package/gui/v3/src/components/data/DataPagination.tsx +116 -0
  641. package/gui/v3/src/components/data/DataTable.tsx +84 -0
  642. package/gui/v3/src/components/layout/Header.tsx +42 -0
  643. package/gui/v3/src/components/layout/Layout.tsx +15 -0
  644. package/gui/v3/src/components/ui/alert.tsx +66 -0
  645. package/gui/v3/src/components/ui/badge.tsx +48 -0
  646. package/gui/v3/src/components/ui/button.tsx +59 -0
  647. package/gui/v3/src/components/ui/calendar.tsx +211 -0
  648. package/gui/v3/src/components/ui/card.tsx +92 -0
  649. package/gui/v3/src/components/ui/dropdown-menu.tsx +255 -0
  650. package/gui/v3/src/components/ui/hover-card.tsx +42 -0
  651. package/gui/v3/src/components/ui/input.tsx +21 -0
  652. package/gui/v3/src/components/ui/navigation-menu.tsx +168 -0
  653. package/gui/v3/src/components/ui/pagination.tsx +127 -0
  654. package/gui/v3/src/components/ui/popover.tsx +46 -0
  655. package/gui/v3/src/components/ui/resizable.tsx +54 -0
  656. package/gui/v3/src/components/ui/select.tsx +183 -0
  657. package/gui/v3/src/components/ui/separator.tsx +28 -0
  658. package/gui/v3/src/components/ui/sheet.tsx +137 -0
  659. package/gui/v3/src/components/ui/sidebar.tsx +724 -0
  660. package/gui/v3/src/components/ui/skeleton.tsx +13 -0
  661. package/gui/v3/src/components/ui/switch.tsx +29 -0
  662. package/gui/v3/src/components/ui/table.tsx +114 -0
  663. package/gui/v3/src/components/ui/tooltip.tsx +61 -0
  664. package/gui/v3/src/features/config/context.ts +21 -0
  665. package/gui/v3/src/features/config/hooks.ts +11 -0
  666. package/gui/v3/src/features/config/provider.tsx +33 -0
  667. package/gui/v3/src/features/config/services.ts +14 -0
  668. package/gui/v3/src/features/config/type.ts +7 -0
  669. package/gui/v3/src/features/database/components/DatabaseLayout.tsx +44 -0
  670. package/gui/v3/src/features/database/components/DatabaseLoader.tsx +3 -0
  671. package/gui/v3/src/features/database/components/DatabaseNotFound.tsx +6 -0
  672. package/gui/v3/src/features/database/components/DatabaseSidebar.tsx +60 -0
  673. package/gui/v3/src/features/database/components/LoadingIndicator.tsx +3 -0
  674. package/gui/v3/src/features/database/components/RecordsFilter.tsx +89 -0
  675. package/gui/v3/src/features/database/components/RecordsTable.tsx +64 -0
  676. package/gui/v3/src/features/database/components/RecordsViewer.tsx +39 -0
  677. package/gui/v3/src/features/database/graphql/queries.ts +64 -0
  678. package/gui/v3/src/features/database/hooks/useDatabaseColumns.ts +34 -0
  679. package/gui/v3/src/features/database/hooks/useRecords.ts +21 -0
  680. package/gui/v3/src/features/database/hooks/useSelectedTable.ts +14 -0
  681. package/gui/v3/src/features/database/hooks/useTables.ts +18 -0
  682. package/gui/v3/src/features/database/reducers/useRecordsVariable.ts +66 -0
  683. package/gui/v3/src/features/database/schema/records.ts +82 -0
  684. package/gui/v3/src/features/database/schema/tables.ts +51 -0
  685. package/gui/v3/src/features/graphiql/components/GraphiQL.tsx +21 -0
  686. package/gui/v3/src/features/graphiql/style.css +120 -0
  687. package/gui/v3/src/features/liquid/components/LiquidEditor.tsx +95 -0
  688. package/gui/v3/src/features/liquid/service.ts +13 -0
  689. package/gui/v3/src/features/logs/components/LogMessage.tsx +83 -0
  690. package/gui/v3/src/features/logs/components/LogsTable.tsx +121 -0
  691. package/gui/v3/src/features/logs/components/LogsViewer.tsx +30 -0
  692. package/gui/v3/src/features/logs/hooks/useLogs.tsx +59 -0
  693. package/gui/v3/src/features/logs/types/schema.ts +8 -0
  694. package/gui/v3/src/features/menu/components/GuiMenu.tsx +32 -0
  695. package/gui/v3/src/features/menu/components/InsitesMenu.tsx +56 -0
  696. package/gui/v3/src/features/menu/components/TileMenu.tsx +88 -0
  697. package/gui/v3/src/features/menu/constants.ts +99 -0
  698. package/gui/v3/src/features/menu/hooks.ts +11 -0
  699. package/gui/v3/src/features/menu/store.ts +26 -0
  700. package/gui/v3/src/features/menu/types.ts +16 -0
  701. package/gui/v3/src/features/theme/context.tsx +16 -0
  702. package/gui/v3/src/features/theme/hook.tsx +11 -0
  703. package/gui/v3/src/features/theme/provider.tsx +35 -0
  704. package/gui/v3/src/features/theme/store.ts +17 -0
  705. package/gui/v3/src/features/theme/types.ts +1 -0
  706. package/gui/v3/src/features/users/components/Users.tsx +77 -0
  707. package/gui/v3/src/features/users/types.ts +31 -0
  708. package/gui/v3/src/features/users/usernames.ts +45 -0
  709. package/gui/v3/src/hooks/use-mobile.ts +19 -0
  710. package/gui/v3/src/lib/api/constants.ts +1 -0
  711. package/gui/v3/src/lib/api/errors.ts +22 -0
  712. package/gui/v3/src/lib/api/request.ts +57 -0
  713. package/gui/v3/src/lib/api/types.ts +16 -0
  714. package/gui/v3/src/lib/graphql/hooks.ts +27 -0
  715. package/gui/v3/src/lib/graphql/request.ts +31 -0
  716. package/gui/v3/src/lib/graphql/schema/filters.ts +108 -0
  717. package/gui/v3/src/lib/graphql/schema/sorts.ts +10 -0
  718. package/gui/v3/src/lib/graphql/types.ts +29 -0
  719. package/gui/v3/src/lib/providers/entries.ts +21 -0
  720. package/gui/v3/src/lib/providers/index.tsx +10 -0
  721. package/gui/v3/src/lib/providers/queryClient.tsx +16 -0
  722. package/gui/v3/src/lib/providers/types.ts +9 -0
  723. package/gui/v3/src/lib/utils.ts +30 -0
  724. package/gui/v3/src/logo.svg +44 -0
  725. package/gui/v3/src/main.tsx +42 -0
  726. package/gui/v3/src/pages/ConstantPage.tsx +3 -0
  727. package/gui/v3/src/pages/DatabasePage.tsx +31 -0
  728. package/gui/v3/src/pages/GraphqlPage.tsx +9 -0
  729. package/gui/v3/src/pages/HomePage.tsx +36 -0
  730. package/gui/v3/src/pages/LiquidPage.tsx +5 -0
  731. package/gui/v3/src/pages/LogsPage.tsx +10 -0
  732. package/gui/v3/src/pages/Userspage.tsx +5 -0
  733. package/gui/v3/src/reportWebVitals.ts +13 -0
  734. package/gui/v3/src/routeTree.gen.ts +189 -0
  735. package/gui/v3/src/routes/__root.tsx +6 -0
  736. package/gui/v3/src/routes/constants.tsx +7 -0
  737. package/gui/v3/src/routes/database.tsx +6 -0
  738. package/gui/v3/src/routes/graphql.tsx +6 -0
  739. package/gui/v3/src/routes/index.tsx +6 -0
  740. package/gui/v3/src/routes/liquid.tsx +6 -0
  741. package/gui/v3/src/routes/logs.tsx +6 -0
  742. package/gui/v3/src/routes/users.tsx +6 -0
  743. package/gui/v3/src/styles.css +247 -0
  744. package/gui/v3/tsconfig.json +28 -0
  745. package/gui/v3/vite.config.ts +43 -0
  746. package/lib/ServerError.js +122 -0
  747. package/lib/apiRequest.js +15 -0
  748. package/lib/archive.js +126 -0
  749. package/lib/assets/insites-icon.png +0 -0
  750. package/lib/assets/manifest.js +34 -0
  751. package/lib/assets/packAssets.js +53 -0
  752. package/lib/assets.js +56 -0
  753. package/lib/audit/detailed.js +97 -0
  754. package/lib/audit/duplicateFile.js +31 -0
  755. package/lib/audit/extensions.js +53 -0
  756. package/lib/audit/fileName.js +20 -0
  757. package/lib/audit/filters.js +99 -0
  758. package/lib/audit/orphanedIncludes.js +85 -0
  759. package/lib/audit/tags.js +69 -0
  760. package/lib/audit.js +47 -0
  761. package/lib/data/fetchFiles.js +93 -0
  762. package/lib/data/isValidJSON.js +12 -0
  763. package/lib/data/uploadFiles.js +92 -0
  764. package/lib/data/waitForStatus.js +31 -0
  765. package/lib/deploy/directAssetsUploadStrategy.js +57 -0
  766. package/lib/deploy/strategy.js +8 -0
  767. package/lib/directories.js +23 -0
  768. package/lib/downloadFile.js +16 -0
  769. package/lib/duration.js +7 -0
  770. package/lib/files.js +96 -0
  771. package/lib/insites-apig.js +18 -0
  772. package/lib/insites-console.js +24 -0
  773. package/lib/logger/rainbow.js +11 -0
  774. package/lib/logger/simple.js +9 -0
  775. package/lib/logger.js +63 -0
  776. package/lib/logsv2/http.js +40 -0
  777. package/lib/modules.js +129 -0
  778. package/lib/portal.js +52 -0
  779. package/lib/pos-proxy.js +162 -0
  780. package/lib/prepareArchive.js +49 -0
  781. package/lib/presignUrl.js +71 -0
  782. package/lib/proxy.js +75 -0
  783. package/lib/push.js +62 -0
  784. package/lib/s3UploadFile.js +56 -0
  785. package/lib/server.js +123 -0
  786. package/lib/settings.js +42 -0
  787. package/lib/shouldBeSynced.js +89 -0
  788. package/lib/swagger-client.js +287 -0
  789. package/lib/templates.js +52 -0
  790. package/lib/updateNotifier.js +8 -0
  791. package/lib/utils/valid-file-path.js +21 -0
  792. package/lib/validators/directoryEmpty.js +12 -0
  793. package/lib/validators/directoryExists.js +12 -0
  794. package/lib/validators/email.js +8 -0
  795. package/lib/validators/existence.js +9 -0
  796. package/lib/validators/index.js +13 -0
  797. package/lib/validators/url.js +8 -0
  798. package/lib/watch-files-extensions.js +39 -0
  799. package/lib/watch.js +192 -0
  800. package/mock/app.js +45 -0
  801. package/mock/bin/www +91 -0
  802. package/mock/package-lock.json +2287 -0
  803. package/mock/package.json +18 -0
  804. package/mock/public/stylesheets/style.css +8 -0
  805. package/mock/responses/constants.js +39 -0
  806. package/mock/responses/databases.js +3589 -0
  807. package/mock/responses/logs.js +126 -0
  808. package/mock/responses/records.js +443 -0
  809. package/mock/responses/schemas.js +36896 -0
  810. package/mock/responses/users.js +194 -0
  811. package/mock/routes/api.js +53 -0
  812. package/mock/routes/index.js +13 -0
  813. package/mock/routes/users.js +9 -0
  814. package/mock/views/error.jade +6 -0
  815. package/mock/views/index.jade +5 -0
  816. package/mock/views/layout.jade +7 -0
  817. package/package.json +77 -0
  818. package/tests/archive.test.js +33 -0
  819. package/tests/deploy.test.js +26 -0
  820. package/tests/fixtures/archive/default/app/assets/images/insites-logo.svg +55 -0
  821. package/tests/fixtures/archive/default/app/views/pages/hello.liquid +4 -0
  822. package/tests/fixtures/archive/default/modules/testModule/public/views/pages/hello-test-module.liquid +4 -0
  823. package/tests/fixtures/archive/default/modules/testModule/public/views/partials/dir/subdir/foo.liquid +1 -0
  824. package/tests/fixtures/deploy/default/app/assets/images/insites-logo.svg +55 -0
  825. package/tests/fixtures/deploy/default/app/views/pages/index.liquid +6 -0
  826. package/tests/fixtures/deploy/default/app/views/partials/test.liquid +1 -0
  827. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/README.md +22 -0
  828. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/private/api_calls/.keep +0 -0
  829. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/private/assets/.keep +0 -0
  830. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/private/emails/.keep +0 -0
  831. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/private/graphql/.keep +0 -0
  832. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/private/model_schemas/.keep +0 -0
  833. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/private/smses/.keep +0 -0
  834. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/private/translations/.keep +0 -0
  835. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/private/views/layouts/.keep +0 -0
  836. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/private/views/pages/.keep +0 -0
  837. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/private/views/partials/.keep +0 -0
  838. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/api_calls/.keep +0 -0
  839. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/assets/.keep +0 -0
  840. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/emails/.keep +0 -0
  841. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/graphql/.keep +0 -0
  842. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/model_schemas/.keep +0 -0
  843. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/smses/.keep +0 -0
  844. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/translations/.keep +0 -0
  845. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/views/layouts/.keep +0 -0
  846. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/views/pages/.keep +0 -0
  847. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/views/pages/demo.json.liquid +4 -0
  848. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/views/partials/.keep +0 -0
  849. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/views/partials/components/.keep +0 -0
  850. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/views/partials/components/test.html.liquid +1 -0
  851. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/public/views/partials/components/test.liquid +1 -0
  852. package/tests/fixtures/deploy/default/modules/insites-cli-demo-module/template-values.json +7 -0
  853. package/tests/utils/cliPath.js +4 -0
  854. package/tests/utils/exec.js +12 -0
@@ -0,0 +1,57 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8043],{65380:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw TypeError("Invalid attempt to destructure non-iterable instance")},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.defaultValue=_;var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(64090)),s=n(22671);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}function d(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function f(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function h(e){return e.charAt(0).toUpperCase()+e.slice(1)}var m={keyword:"#B11A04",def:"#D2054E",property:"#1F61A0",qualifier:"#1C92A9",attribute:"#8B2BB9",number:"#2882F9",string:"#D64292",builtin:"#D47509",string2:"#0B7FC7",variable:"#397D13",atom:"#CA9800"},v=l.createElement("svg",{width:"12",height:"9"},l.createElement("path",{fill:"#666",d:"M 0 2 L 9 2 L 4.5 7.5 z"})),g=l.createElement("svg",{width:"12",height:"9"},l.createElement("path",{fill:"#666",d:"M 0 0 L 0 9 L 5.5 4.5 z"})),y=l.createElement("svg",{style:{marginRight:"3px",marginLeft:"-3px"},width:"12",height:"12",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0ZM16 16H2V2H16V16ZM14.99 6L13.58 4.58L6.99 11.17L4.41 8.6L2.99 10.01L6.99 14L14.99 6Z",fill:"#666"})),b=l.createElement("svg",{style:{marginRight:"3px",marginLeft:"-3px"},width:"12",height:"12",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.createElement("path",{d:"M16 2V16H2V2H16ZM16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0Z",fill:"#CCC"}));function E(e){return e.checked?e.styleConfig.checkboxChecked:e.styleConfig.checkboxUnchecked}function x(e){var t=e.getFields();if(t.id){var n=["id"];return t.email?n.push("email"):t.name&&n.push("name"),n}if(t.edges)return["edges"];if(t.node)return["node"];if(t.nodes)return["nodes"];var r=[];return(Object.keys(t).forEach(function(e){(0,s.isLeafType)(t[e].type)&&r.push(e)}),r.length)?r.slice(0,2):["__typename"]}function C(e){return(0,s.isNonNullType)(e.type)&&void 0===e.defaultValue}function w(e){for(var t=e;(0,s.isWrappingType)(t);)t=t.ofType;return t}function k(e,t){if("string"!=typeof t&&"VariableDefinition"===t.kind)return t.variable;if((0,s.isScalarType)(e))try{switch(e.name){case"String":return{kind:"StringValue",value:String(e.parseValue(t))};case"Float":return{kind:"FloatValue",value:String(e.parseValue(parseFloat(t)))};case"Int":return{kind:"IntValue",value:String(e.parseValue(parseInt(t,10)))};case"Boolean":try{var n=JSON.parse(t);if("boolean"==typeof n)return{kind:"BooleanValue",value:n};return{kind:"BooleanValue",value:!1}}catch(e){return{kind:"BooleanValue",value:!1}}default:return{kind:"StringValue",value:String(e.parseValue(t))}}}catch(e){return console.error("error coercing arg value",e,t),{kind:"StringValue",value:t}}else try{var r=e.parseValue(t);if(r)return{kind:"EnumValue",value:String(r)};return{kind:"EnumValue",value:e.getValues()[0].name}}catch(t){return{kind:"EnumValue",value:e.getValues()[0].name}}}var S=function(e){function t(){d(this,t);for(var e,n,r,o=arguments.length,a=Array(o),l=0;l<o;l++)a[l]=arguments[l];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._getArgSelection=function(){return r.props.selection.fields.find(function(e){return e.name.value===r.props.arg.name})},r._removeArg=function(){var e=r.props.selection,t=r._getArgSelection();r._previousArgSelection=t,r.props.modifyFields(e.fields.filter(function(e){return e!==t}),!0)},r._addArg=function(){var e=r.props,t=e.selection,n=e.arg,o=e.getDefaultScalarArgValue,i=e.parentField,a=e.makeDefaultArg,l=w(n.type),u=null;if(r._previousArgSelection)u=r._previousArgSelection;else if((0,s.isInputObjectType)(l)){var d=l.getFields();u={kind:"ObjectField",name:{kind:"Name",value:n.name},value:{kind:"ObjectValue",fields:N(o,a,i,Object.keys(d).map(function(e){return d[e]}))}}}else(0,s.isLeafType)(l)&&(u={kind:"ObjectField",name:{kind:"Name",value:n.name},value:o(i,n,l)});if(u)return r.props.modifyFields([].concat(c(t.fields||[]),[u]),!0);console.error("Unable to add arg for argType",l)},r._setArgValue=function(e,t){var n=!1,o=!1,a=!1;try{"VariableDefinition"===e.kind?o=!0:null==e?n=!0:"string"==typeof e.kind&&(a=!0)}catch(e){}var l=r.props.selection,u=r._getArgSelection();if(!u){console.error("missing arg selection when setting arg value");return}var c=w(r.props.arg.type);if(!((0,s.isLeafType)(c)||o||n||a)){console.warn("Unable to handle non leaf types in InputArgView.setArgValue",e);return}var d=void 0;return null==e?d=null:!e.target&&e.kind&&"VariableDefinition"===e.kind?d=e.variable:"string"==typeof e.kind?d=e:e.target&&"string"==typeof e.target.value&&(d=k(c,e.target.value)),r.props.modifyFields((l.fields||[]).map(function(e){return e===u?i({},e,{value:d}):e}),t)},r._modifyChildFields=function(e){return r.props.modifyFields(r.props.selection.fields.map(function(t){return t.name.value===r.props.arg.name?i({},t,{value:{kind:"ObjectValue",fields:e}}):t}),!0)},p(r,n)}return f(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.arg,n=e.parentField,r=this._getArgSelection();return l.createElement(O,{argValue:r?r.value:null,arg:t,parentField:n,addArg:this._addArg,removeArg:this._removeArg,setArgFields:this._modifyChildFields,setArgValue:this._setArgValue,getDefaultScalarArgValue:this.props.getDefaultScalarArgValue,makeDefaultArg:this.props.makeDefaultArg,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig,onCommit:this.props.onCommit,definition:this.props.definition})}}]),t}(l.PureComponent);function _(e){if((0,s.isEnumType)(e))return{kind:"EnumValue",value:e.getValues()[0].name};switch(e.name){case"String":default:return{kind:"StringValue",value:""};case"Float":return{kind:"FloatValue",value:"1.5"};case"Int":return{kind:"IntValue",value:"10"};case"Boolean":return{kind:"BooleanValue",value:!1}}}function T(e,t,n){return _(n)}var A=function(e){function t(){d(this,t);for(var e,n,r,o=arguments.length,a=Array(o),l=0;l<o;l++)a[l]=arguments[l];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._getArgSelection=function(){return(r.props.selection.arguments||[]).find(function(e){return e.name.value===r.props.arg.name})},r._removeArg=function(e){var t=r.props.selection,n=r._getArgSelection();return r._previousArgSelection=n,r.props.modifyArguments((t.arguments||[]).filter(function(e){return e!==n}),e)},r._addArg=function(e){var t=r.props,n=t.selection,o=t.getDefaultScalarArgValue,i=t.makeDefaultArg,a=t.parentField,l=t.arg,u=w(l.type),d=null;if(r._previousArgSelection)d=r._previousArgSelection;else if((0,s.isInputObjectType)(u)){var p=u.getFields();d={kind:"Argument",name:{kind:"Name",value:l.name},value:{kind:"ObjectValue",fields:N(o,i,a,Object.keys(p).map(function(e){return p[e]}))}}}else(0,s.isLeafType)(u)&&(d={kind:"Argument",name:{kind:"Name",value:l.name},value:o(a,l,u)});return d?r.props.modifyArguments([].concat(c(n.arguments||[]),[d]),e):(console.error("Unable to add arg for argType",u),null)},r._setArgValue=function(e,t){var n=!1,o=!1,a=!1;try{"VariableDefinition"===e.kind?o=!0:null==e?n=!0:"string"==typeof e.kind&&(a=!0)}catch(e){}var l=r.props.selection,u=r._getArgSelection();if(!u&&!o){console.error("missing arg selection when setting arg value");return}var c=w(r.props.arg.type);if(!((0,s.isLeafType)(c)||o||n||a)){console.warn("Unable to handle non leaf types in ArgView._setArgValue");return}var d=void 0;return null==e?d=null:e.target&&"string"==typeof e.target.value?d=k(c,e.target.value):e.target||"VariableDefinition"!==e.kind?"string"==typeof e.kind&&(d=e):d=e.variable,r.props.modifyArguments((l.arguments||[]).map(function(e){return e===u?i({},e,{value:d}):e}),t)},r._setArgFields=function(e,t){var n=r.props.selection,o=r._getArgSelection();if(!o){console.error("missing arg selection when setting arg value");return}return r.props.modifyArguments((n.arguments||[]).map(function(t){return t===o?i({},t,{value:{kind:"ObjectValue",fields:e}}):t}),t)},p(r,n)}return f(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.arg,n=e.parentField,r=this._getArgSelection();return l.createElement(O,{argValue:r?r.value:null,arg:t,parentField:n,addArg:this._addArg,removeArg:this._removeArg,setArgFields:this._setArgFields,setArgValue:this._setArgValue,getDefaultScalarArgValue:this.props.getDefaultScalarArgValue,makeDefaultArg:this.props.makeDefaultArg,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig,onCommit:this.props.onCommit,definition:this.props.definition})}}]),t}(l.PureComponent),D=function(e){function t(){d(this,t);for(var e,n,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r._handleChange=function(e){r.props.setArgValue(e,!0)},p(r,n)}return f(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this._ref,t=document.activeElement;!e||!t||t instanceof HTMLTextAreaElement||(e.focus(),e.setSelectionRange(0,e.value.length))}},{key:"render",value:function(){var e=this,t=this.props,n=t.arg,r=t.argValue,o=t.styleConfig,i=w(n.type),a="string"==typeof r.value?r.value:"",s="StringValue"===this.props.argValue.kind?o.colors.string:o.colors.number;return l.createElement("span",{style:{color:s}},"String"===i.name?'"':"",l.createElement("input",{style:{border:"none",borderBottom:"1px solid #888",outline:"none",width:Math.max(1,Math.min(15,a.length))+"ch",color:s},ref:function(t){e._ref=t},type:"text",onChange:this._handleChange,value:a}),"String"===i.name?'"':"")}}]),t}(l.PureComponent),O=function(e){function t(){d(this,t);for(var e,n,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={displayArgActions:!1},p(r,n)}return f(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.argValue,r=t.arg,a=t.styleConfig,u=w(r.type),d=null;if(n){if("Variable"===n.kind)d=l.createElement("span",{style:{color:a.colors.variable}},"$",n.name.value);else if((0,s.isScalarType)(u))d="Boolean"===u.name?l.createElement("select",{style:{color:a.colors.builtin},onChange:this.props.setArgValue,value:"BooleanValue"===n.kind?n.value:void 0},l.createElement("option",{key:"true",value:"true"},"true"),l.createElement("option",{key:"false",value:"false"},"false")):l.createElement(D,{setArgValue:this.props.setArgValue,arg:r,argValue:n,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig});else if((0,s.isEnumType)(u))"EnumValue"===n.kind?d=l.createElement("select",{style:{backgroundColor:"white",color:a.colors.string2},onChange:this.props.setArgValue,value:n.value},u.getValues().map(function(e){return l.createElement("option",{key:e.name,value:e.name},e.name)})):console.error("arg mismatch between arg and selection",u,n);else if((0,s.isInputObjectType)(u)){if("ObjectValue"===n.kind){var p=u.getFields();d=l.createElement("div",{style:{marginLeft:16}},Object.keys(p).sort().map(function(t){return l.createElement(S,{key:t,arg:p[t],parentField:e.props.parentField,selection:n,modifyFields:e.props.setArgFields,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})}))}else console.error("arg mismatch between arg and selection",u,n)}}var f=function(){var t=r.name,a=(e.props.definition.variableDefinitions||[]).filter(function(e){return e.variable.name.value.startsWith(t)}).length,l=void 0;l=a>0?""+t+a:t;var u=r.type.toString(),d={kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:l}},type:(0,s.parseType)(u),directives:[]},p=void 0,f={};if(null!=n){var h=(0,s.visit)(n,{Variable:function(t){var n=t.name.value,r=(e.props.definition.variableDefinitions||[]).find(function(e){return e.variable.name.value===n});if(f[n]=f[n]+1||1,r)return r.defaultValue}}),m="NonNullType"===d.type.kind?i({},d,{type:d.type.type}):d;p=i({},m,{defaultValue:h})}else p=d;var v=Object.entries(f).filter(function(e){var t=o(e,2);return t[0],t[1]<2}).map(function(e){var t=o(e,2),n=t[0];return t[1],n});if(p){var g=e.props.setArgValue(p,!1);if(g){var y=g.definitions.find(function(t){return!!t.operation&&!!t.name&&!!t.name.value&&!!e.props.definition.name&&!!e.props.definition.name.value&&t.name.value===e.props.definition.name.value}),b=[].concat(c(y.variableDefinitions||[]),[p]).filter(function(e){return -1===v.indexOf(e.variable.name.value)}),E=i({},y,{variableDefinitions:b}),x=g.definitions.map(function(e){return y===e?E:e}),C=i({},g,{definitions:x});e.props.onCommit(C)}}},h=function(){if(n&&n.name&&n.name.value){var t=n.name.value,r=(e.props.definition.variableDefinitions||[]).find(function(e){return e.variable.name.value===t});if(r){var o=r.defaultValue,a=e.props.setArgValue(o,{commit:!1});if(a){var l=a.definitions.find(function(t){return t.name.value===e.props.definition.name.value});if(!l)return;var u=0;(0,s.visit)(l,{Variable:function(e){e.name.value===t&&(u+=1)}});var c=l.variableDefinitions||[];u<2&&(c=c.filter(function(e){return e.variable.name.value!==t}));var d=i({},l,{variableDefinitions:c}),p=a.definitions.map(function(e){return l===e?d:e}),f=i({},a,{definitions:p});e.props.onCommit(f)}}}},m=n&&"Variable"===n.kind,v=this.state.displayArgActions?l.createElement("button",{type:"submit",className:"toolbar-button",title:m?"Remove the variable":"Extract the current value into a GraphQL variable",onClick:function(e){e.preventDefault(),e.stopPropagation(),m?h():f()},style:a.styles.actionButtonStyle},l.createElement("span",{style:{color:a.colors.variable}},"$")):null;return l.createElement("div",{style:{cursor:"pointer",minHeight:"16px",WebkitUserSelect:"none",userSelect:"none"},"data-arg-name":r.name,"data-arg-type":u.name,className:"graphiql-explorer-"+r.name},l.createElement("span",{style:{cursor:"pointer"},onClick:function(t){var r=!n;r?e.props.addArg(!0):e.props.removeArg(!0),e.setState({displayArgActions:r})}},(0,s.isInputObjectType)(u)?l.createElement("span",null,n?this.props.styleConfig.arrowOpen:this.props.styleConfig.arrowClosed):l.createElement(E,{checked:!!n,styleConfig:this.props.styleConfig}),l.createElement("span",{style:{color:a.colors.attribute},title:r.description,onMouseEnter:function(){null!=n&&e.setState({displayArgActions:!0})},onMouseLeave:function(){return e.setState({displayArgActions:!1})}},r.name,C(r)?"*":"",": ",v," ")," "),d||l.createElement("span",null)," ")}}]),t}(l.PureComponent),R=function(e){function t(){d(this,t);for(var e,n,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r._addFragment=function(){r.props.modifySelections([].concat(c(r.props.selections),[r._previousSelection||{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:r.props.implementingType.name}},selectionSet:{kind:"SelectionSet",selections:r.props.getDefaultFieldNames(r.props.implementingType).map(function(e){return{kind:"Field",name:{kind:"Name",value:e}}})}}]))},r._removeFragment=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter(function(t){return t!==e}))},r._getSelection=function(){var e=r.props.selections.find(function(e){return"InlineFragment"===e.kind&&e.typeCondition&&r.props.implementingType.name===e.typeCondition.name.value});return e?"InlineFragment"===e.kind?e:void 0:null},r._modifyChildSelections=function(e,t){var n=r._getSelection();return r.props.modifySelections(r.props.selections.map(function(t){return t===n?{directives:t.directives,kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:r.props.implementingType.name}},selectionSet:{kind:"SelectionSet",selections:e}}:t}),t)},p(r,n)}return f(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.implementingType,r=t.schema,o=t.getDefaultFieldNames,i=t.styleConfig,a=this._getSelection(),s=n.getFields(),u=a&&a.selectionSet?a.selectionSet.selections:[];return l.createElement("div",{className:"graphiql-explorer-"+n.name},l.createElement("span",{style:{cursor:"pointer"},onClick:a?this._removeFragment:this._addFragment},l.createElement(E,{checked:!!a,styleConfig:this.props.styleConfig}),l.createElement("span",{style:{color:i.colors.atom}},this.props.implementingType.name)),a?l.createElement("div",{style:{marginLeft:16}},Object.keys(s).sort().map(function(t){return l.createElement(P,{key:t,field:s[t],selections:u,modifySelections:e._modifyChildSelections,schema:r,getDefaultFieldNames:o,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,onCommit:e.props.onCommit,styleConfig:e.props.styleConfig,definition:e.props.definition,availableFragments:e.props.availableFragments})})):null)}}]),t}(l.PureComponent),L=function(e){function t(){d(this,t);for(var e,n,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r._addFragment=function(){r.props.modifySelections([].concat(c(r.props.selections),[r._previousSelection||{kind:"FragmentSpread",name:r.props.fragment.name}]))},r._removeFragment=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter(function(e){return!("FragmentSpread"===e.kind&&e.name.value===r.props.fragment.name.value)}))},r._getSelection=function(){return r.props.selections.find(function(e){return"FragmentSpread"===e.kind&&e.name.value===r.props.fragment.name.value})},p(r,n)}return f(t,e),a(t,[{key:"render",value:function(){var e=this.props.styleConfig,t=this._getSelection();return l.createElement("div",{className:"graphiql-explorer-"+this.props.fragment.name.value},l.createElement("span",{style:{cursor:"pointer"},onClick:t?this._removeFragment:this._addFragment},l.createElement(E,{checked:!!t,styleConfig:this.props.styleConfig}),l.createElement("span",{style:{color:e.colors.def},className:"graphiql-explorer-"+this.props.fragment.name.value},this.props.fragment.name.value)))}}]),t}(l.PureComponent);function N(e,t,n,r){var o=[],i=!0,a=!1,l=void 0;try{for(var u,c=r[Symbol.iterator]();!(i=(u=c.next()).done);i=!0){var d=u.value;if((0,s.isRequiredInputField)(d)||t&&t(n,d)){var p=w(d.type);(0,s.isInputObjectType)(p)?function(){var r=p.getFields();o.push({kind:"ObjectField",name:{kind:"Name",value:d.name},value:{kind:"ObjectValue",fields:N(e,t,n,Object.keys(r).map(function(e){return r[e]}))}})}():(0,s.isLeafType)(p)&&o.push({kind:"ObjectField",name:{kind:"Name",value:d.name},value:e(n,d,p)})}}}catch(e){a=!0,l=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw l}}return o}function M(e,t,n){var r=[],o=!0,i=!1,a=void 0;try{for(var l,u=n.args[Symbol.iterator]();!(o=(l=u.next()).done);o=!0){var c=l.value;if(C(c)||t&&t(n,c)){var d=w(c.type);(0,s.isInputObjectType)(d)?function(){var o=d.getFields();r.push({kind:"Argument",name:{kind:"Name",value:c.name},value:{kind:"ObjectValue",fields:N(e,t,n,Object.keys(o).map(function(e){return o[e]}))}})}():(0,s.isLeafType)(d)&&r.push({kind:"Argument",name:{kind:"Name",value:c.name},value:e(n,c,d)})}}}catch(e){i=!0,a=e}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}return r}var P=function(e){function t(){d(this,t);for(var e,n,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={displayFieldActions:!1},r._addAllFieldsToSelections=function(e){var t=e?Object.keys(e).map(function(e){return{kind:"Field",name:{kind:"Name",value:e},arguments:[]}}):[],n=[].concat(c(r.props.selections.filter(function(e){return"InlineFragment"===e.kind||e.name.value!==r.props.field.name})),[{kind:"Field",name:{kind:"Name",value:r.props.field.name},arguments:M(r.props.getDefaultScalarArgValue,r.props.makeDefaultArg,r.props.field),selectionSet:{kind:"SelectionSet",selections:t}}]);r.props.modifySelections(n)},r._addFieldToSelections=function(e){var t=[].concat(c(r.props.selections),[r._previousSelection||{kind:"Field",name:{kind:"Name",value:r.props.field.name},arguments:M(r.props.getDefaultScalarArgValue,r.props.makeDefaultArg,r.props.field)}]);r.props.modifySelections(t)},r._handleUpdateSelections=function(e){if(r._getSelection()&&!e.altKey)r._removeFieldFromSelections();else{var t=(0,s.getNamedType)(r.props.field.type),n=(0,s.isObjectType)(t)&&t.getFields();n&&e.altKey?r._addAllFieldsToSelections(n):r._addFieldToSelections(n)}},r._removeFieldFromSelections=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter(function(t){return t!==e}))},r._getSelection=function(){var e=r.props.selections.find(function(e){return"Field"===e.kind&&r.props.field.name===e.name.value});return e?"Field"===e.kind?e:void 0:null},r._setArguments=function(e,t){var n=r._getSelection();if(!n){console.error("Missing selection when setting arguments",e);return}return r.props.modifySelections(r.props.selections.map(function(t){return t===n?{alias:n.alias,arguments:e,directives:n.directives,kind:"Field",name:n.name,selectionSet:n.selectionSet}:t}),t)},r._modifyChildSelections=function(e,t){return r.props.modifySelections(r.props.selections.map(function(t){if("Field"===t.kind&&r.props.field.name===t.name.value){if("Field"!==t.kind)throw Error("invalid selection");return{alias:t.alias,arguments:t.arguments,directives:t.directives,kind:"Field",name:t.name,selectionSet:{kind:"SelectionSet",selections:e}}}return t}),t)},p(r,n)}return f(t,e),a(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.field,o=n.schema,a=n.getDefaultFieldNames,u=n.styleConfig,d=this._getSelection(),p=function(e){for(var t=e;(0,s.isWrappingType)(t);)t=t.ofType;return t}(r.type),f=r.args.sort(function(e,t){return e.name.localeCompare(t.name)}),h="graphiql-explorer-node graphiql-explorer-"+r.name;r.isDeprecated&&(h+=" graphiql-explorer-deprecated");var m=(0,s.isObjectType)(p)||(0,s.isInterfaceType)(p)||(0,s.isUnionType)(p)?this.props.availableFragments&&this.props.availableFragments[p.name]:null,v=l.createElement("div",{className:h},l.createElement("span",{title:r.description,style:{cursor:"pointer",display:"inline-flex",alignItems:"center",minHeight:"16px",WebkitUserSelect:"none",userSelect:"none"},"data-field-name":r.name,"data-field-type":p.name,onClick:this._handleUpdateSelections,onMouseEnter:function(){(0,s.isObjectType)(p)&&d&&d.selectionSet&&d.selectionSet.selections.filter(function(e){return"FragmentSpread"!==e.kind}).length>0&&e.setState({displayFieldActions:!0})},onMouseLeave:function(){return e.setState({displayFieldActions:!1})}},(0,s.isObjectType)(p)?l.createElement("span",null,d?this.props.styleConfig.arrowOpen:this.props.styleConfig.arrowClosed):null,(0,s.isObjectType)(p)?null:l.createElement(E,{checked:!!d,styleConfig:this.props.styleConfig}),l.createElement("span",{style:{color:u.colors.property},className:"graphiql-explorer-field-view"},r.name),this.state.displayFieldActions?l.createElement("button",{type:"submit",className:"toolbar-button",title:"Extract selections into a new reusable fragment",onClick:function(t){t.preventDefault(),t.stopPropagation();var n=p.name+"Fragment",r=(m||[]).filter(function(e){return e.name.value.startsWith(n)}).length;r>0&&(n=""+n+r);var o=d&&d.selectionSet?d.selectionSet.selections:[],a=[{kind:"FragmentSpread",name:{kind:"Name",value:n},directives:[]}],l={kind:"FragmentDefinition",name:{kind:"Name",value:n},typeCondition:{kind:"NamedType",name:{kind:"Name",value:p.name}},directives:[],selectionSet:{kind:"SelectionSet",selections:o}},s=e._modifyChildSelections(a,!1);if(s){var u=i({},s,{definitions:[].concat(c(s.definitions),[l])});e.props.onCommit(u)}else console.warn("Unable to complete extractFragment operation")},style:i({},u.styles.actionButtonStyle)},l.createElement("span",null,"…")):null),d&&f.length?l.createElement("div",{style:{marginLeft:16},className:"graphiql-explorer-graphql-arguments"},f.map(function(t){return l.createElement(A,{key:t.name,parentField:r,arg:t,selection:d,modifyArguments:e._setArguments,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})})):null);if(d&&((0,s.isObjectType)(p)||(0,s.isInterfaceType)(p)||(0,s.isUnionType)(p))){var g=(0,s.isUnionType)(p)?{}:p.getFields(),y=d&&d.selectionSet?d.selectionSet.selections:[];return l.createElement("div",{className:"graphiql-explorer-"+r.name},v,l.createElement("div",{style:{marginLeft:16}},m?m.map(function(t){var n=o.getType(t.typeCondition.name.value),r=t.name.value;return n?l.createElement(L,{key:r,fragment:t,selections:y,modifySelections:e._modifyChildSelections,schema:o,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit}):null}):null,Object.keys(g).sort().map(function(n){return l.createElement(t,{key:n,field:g[n],selections:y,modifySelections:e._modifyChildSelections,schema:o,getDefaultFieldNames:a,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition,availableFragments:e.props.availableFragments})}),(0,s.isInterfaceType)(p)||(0,s.isUnionType)(p)?o.getPossibleTypes(p).map(function(t){return l.createElement(R,{key:t.name,implementingType:t,selections:y,modifySelections:e._modifyChildSelections,schema:o,getDefaultFieldNames:a,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})}):null))}return v}}]),t}(l.PureComponent),I={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",variableDefinitions:[],name:{kind:"Name",value:"MyQuery"},directives:[],selectionSet:{kind:"SelectionSet",selections:[]}}]},F=null,V={buttonStyle:{fontSize:"1.2em",padding:"0px",backgroundColor:"white",border:"none",margin:"5px 0px",height:"40px",width:"100%",display:"block",maxWidth:"none"},actionButtonStyle:{padding:"0px",backgroundColor:"white",border:"none",margin:"0px",maxWidth:"none",height:"15px",width:"15px",display:"inline-block",fontSize:"smaller"},explorerActionsStyle:{margin:"4px -8px -8px",paddingLeft:"8px",bottom:"0px",width:"100%",textAlign:"center",background:"none",borderTop:"none",borderBottom:"none"}},j=function(e){function t(){d(this,t);for(var e,n,r,o=arguments.length,a=Array(o),l=0;l<o;l++)a[l]=arguments[l];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={newOperationType:"query",displayTitleActions:!1},r._modifySelections=function(e,t){var n=r.props.definition;0===n.selectionSet.selections.length&&r._previousOperationDef&&(n=r._previousOperationDef);var o=void 0;if("FragmentDefinition"===n.kind)o=i({},n,{selectionSet:i({},n.selectionSet,{selections:e})});else if("OperationDefinition"===n.kind){var a=e.filter(function(e){return!("Field"===e.kind&&"__typename"===e.name.value)});0===a.length&&(a=[{kind:"Field",name:{kind:"Name",value:"__typename ## Placeholder value"}}]),o=i({},n,{selectionSet:i({},n.selectionSet,{selections:a})})}return r.props.onEdit(o,t)},r._onOperationRename=function(e){return r.props.onOperationRename(e.target.value)},r._handlePotentialRun=function(e){e.ctrlKey&&"Enter"===e.key&&"FragmentDefinition"!==r.props.definition.kind&&r.props.onRunOperation(r.props.name)},r._rootViewElId=function(){var e=r.props;return e.operationType+"-"+(e.name||"unknown")},p(r,n)}return f(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this._rootViewElId();this.props.onMount(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.operationType,r=t.definition,o=t.schema,a=t.getDefaultFieldNames,s=t.styleConfig,u=this._rootViewElId(),c=this.props.fields||{},d=r.selectionSet.selections,p=this.props.name||h(n)+" Name";return l.createElement("div",{id:u,tabIndex:"0",onKeyDown:this._handlePotentialRun,style:{borderBottom:this.props.isLast?"none":"1px solid #d6d6d6",marginBottom:"0em",paddingBottom:"1em"}},l.createElement("div",{style:{color:s.colors.keyword,paddingBottom:4},className:"graphiql-operation-title-bar",onMouseEnter:function(){return e.setState({displayTitleActions:!0})},onMouseLeave:function(){return e.setState({displayTitleActions:!1})}},n," ",l.createElement("span",{style:{color:s.colors.def}},l.createElement("input",{style:{color:s.colors.def,border:"none",borderBottom:"1px solid #888",outline:"none",width:Math.max(4,p.length)+"ch"},autoComplete:"false",placeholder:h(n)+" Name",value:this.props.name,onKeyDown:this._handlePotentialRun,onChange:this._onOperationRename})),this.props.onTypeName?l.createElement("span",null,l.createElement("br",null),"on "+this.props.onTypeName):"",this.state.displayTitleActions?l.createElement(l.Fragment,null,l.createElement("button",{type:"submit",className:"toolbar-button",onClick:function(){return e.props.onOperationDestroy()},style:i({},s.styles.actionButtonStyle)},l.createElement("span",null,"✕")),l.createElement("button",{type:"submit",className:"toolbar-button",onClick:function(){return e.props.onOperationClone()},style:i({},s.styles.actionButtonStyle)},l.createElement("span",null,"⎘"))):""),Object.keys(c).sort().map(function(t){return l.createElement(P,{key:t,field:c[t],selections:d,modifySelections:e._modifySelections,schema:o,getDefaultFieldNames:a,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition,availableFragments:e.props.availableFragments})}))}}]),t}(l.PureComponent);function q(){return l.createElement("div",{style:{fontFamily:"sans-serif",display:"flex",flexDirection:"column",alignItems:"center",margin:"1em",marginTop:0,flexGrow:1,justifyContent:"flex-end"}},l.createElement("div",{style:{borderTop:"1px solid #d6d6d6",paddingTop:"1em",width:"100%",textAlign:"center"}},"GraphiQL Explorer by ",l.createElement("a",{href:"https://www.onegraph.com"},"OneGraph")),l.createElement("div",null,"Contribute on"," ",l.createElement("a",{href:"https://github.com/OneGraph/graphiql-explorer"},"GitHub")))}var z=function(e){function t(){d(this,t);for(var e,n,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={newOperationType:"query",operation:null,operationToScrollTo:null},r._resetScroll=function(){var e=r._ref;e&&(e.scrollLeft=0)},r._onEdit=function(e){return r.props.onEdit(e)},r._setAddOperationType=function(e){r.setState({newOperationType:e})},r._handleRootViewMount=function(e){if(r.state.operationToScrollTo&&r.state.operationToScrollTo===e){var t=document.querySelector(".graphiql-explorer-root #"+e);t&&t.scrollIntoView()}},p(r,n)}return f(t,e),a(t,[{key:"componentDidMount",value:function(){this._resetScroll()}},{key:"render",value:function(){var e=this,t=this.props,n=t.schema,o=t.query,a=t.makeDefaultArg;if(!n)return l.createElement("div",{style:{fontFamily:"sans-serif"},className:"error-container"},"No Schema Available");var d={colors:this.props.colors||m,checkboxChecked:this.props.checkboxChecked||y,checkboxUnchecked:this.props.checkboxUnchecked||b,arrowClosed:this.props.arrowClosed||g,arrowOpen:this.props.arrowOpen||v,styles:this.props.styles?i({},V,this.props.styles):V},p=n.getQueryType(),f=n.getMutationType(),E=n.getSubscriptionType();if(!p&&!f&&!E)return l.createElement("div",null,"Missing query type");var C=p&&p.getFields(),w=f&&f.getFields(),k=E&&E.getFields(),S=function(e){if(F&&F[0]===e)return F[1];var t=function(e){try{if(!e.trim())return null;return(0,s.parse)(e,{noLocation:!0})}catch(e){return Error(e)}}(e);return t?t instanceof Error?F?F[1]:I:(F=[e,t],t):I}(o),_=this.props.getDefaultFieldNames||x,A=this.props.getDefaultScalarArgValue||T,D=S.definitions.map(function(e){return"FragmentDefinition"===e.kind?e:"OperationDefinition"===e.kind?e:null}).filter(Boolean),O=0===D.length?I.definitions:D,R=function(e,t){var n=i({},e,{name:null==t||""===t?null:{kind:"Name",value:t,loc:void 0}}),r=S.definitions.map(function(t){return e===t?n:t});return i({},S,{definitions:r})},L=function(t){var n=void 0;n="FragmentDefinition"===t.kind?"fragment":t.operation;var r=(t.name&&t.name.value||"")+"Copy",o=i({},t,{name:{kind:"Name",value:r,loc:void 0}}),a=[].concat(c(S.definitions),[o]);return e.setState({operationToScrollTo:n+"-"+r}),i({},S,{definitions:a})},N=function(e){var t=S.definitions.filter(function(t){return e!==t});return i({},S,{definitions:t})},M=function(t){var n=S.definitions,r=1===S.definitions.length&&S.definitions[0]===I.definitions[0],o=r?[]:n.filter(function(e){return"OperationDefinition"===e.kind&&e.operation===t}),a="My"+h(t)+(0===o.length?"":o.length+1),l={kind:"OperationDefinition",operation:t,name:{kind:"Name",value:a},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename # Placeholder value",loc:null},arguments:[],directives:[],selectionSet:null,loc:null}],loc:null},loc:null},u=r?[l]:[].concat(c(S.definitions),[l]),d=i({},S,{definitions:u});e.setState({operationToScrollTo:t+"-"+a}),e.props.onEdit((0,s.print)(d))},P=[C?l.createElement("option",{key:"query",className:"toolbar-button",style:d.styles.buttonStyle,type:"link",value:"query"},"Query"):null,w?l.createElement("option",{key:"mutation",className:"toolbar-button",style:d.styles.buttonStyle,type:"link",value:"mutation"},"Mutation"):null,k?l.createElement("option",{key:"subscription",className:"toolbar-button",style:d.styles.buttonStyle,type:"link",value:"subscription"},"Subscription"):null].filter(Boolean),z=0===P.length||this.props.hideActions?null:l.createElement("div",{style:{minHeight:"50px",maxHeight:"50px",overflow:"none"}},l.createElement("form",{className:"variable-editor-title graphiql-explorer-actions",style:i({},d.styles.explorerActionsStyle,{display:"flex",flexDirection:"row",alignItems:"center",borderTop:"1px solid rgb(214, 214, 214)"}),onSubmit:function(e){return e.preventDefault()}},l.createElement("span",{style:{display:"inline-block",flexGrow:"0",textAlign:"right"}},"Add new"," "),l.createElement("select",{onChange:function(t){return e._setAddOperationType(t.target.value)},value:this.state.newOperationType,style:{flexGrow:"2"}},P),l.createElement("button",{type:"submit",className:"toolbar-button",onClick:function(){return e.state.newOperationType?M(e.state.newOperationType):null},style:i({},d.styles.buttonStyle,{height:"22px",width:"22px"})},l.createElement("span",null,"+")))),H=this.props.externalFragments&&this.props.externalFragments.reduce(function(e,t){if("FragmentDefinition"===t.kind){var n=t.typeCondition.name.value,r=[].concat(c(e[n]||[]),[t]).sort(function(e,t){return e.name.value.localeCompare(t.name.value)});return i({},e,u({},n,r))}return e},{}),B=O.reduce(function(e,t){if("FragmentDefinition"===t.kind){var n=t.typeCondition.name.value,r=[].concat(c(e[n]||[]),[t]).sort(function(e,t){return e.name.value.localeCompare(t.name.value)});return i({},e,u({},n,r))}return e},{}),U=i({},B,H),Z=this.props.showAttribution?l.createElement(q,null):null;return l.createElement("div",{ref:function(t){e._ref=t},style:{fontSize:12,textOverflow:"ellipsis",whiteSpace:"nowrap",margin:0,padding:8,fontFamily:'Consolas, Inconsolata, "Droid Sans Mono", Monaco, monospace',display:"flex",flexDirection:"column",height:"100%"},className:"graphiql-explorer-root"},l.createElement("div",{style:{flexGrow:"1",overflow:"scroll"}},O.map(function(t,o){var u=t&&t.name&&t.name.value,c="FragmentDefinition"===t.kind?"fragment":t&&t.operation||"query",p="FragmentDefinition"===t.kind&&"NamedType"===t.typeCondition.kind&&n.getType(t.typeCondition.name.value),f=p instanceof s.GraphQLObjectType?p.getFields():null,h="query"===c?C:"mutation"===c?w:"subscription"===c?k:"FragmentDefinition"===t.kind?f:null,m="FragmentDefinition"===t.kind?t.typeCondition.name.value:null,v=function(t){var n=(0,s.print)(t);e.props.onEdit(n)};return l.createElement(j,{key:o,isLast:o===O.length-1,fields:h,operationType:c,name:u,definition:t,onOperationRename:function(n){var r=R(t,n);e.props.onEdit((0,s.print)(r))},onOperationDestroy:function(){var n=N(t);e.props.onEdit((0,s.print)(n))},onOperationClone:function(){var n=L(t);e.props.onEdit((0,s.print)(n))},onTypeName:m,onMount:e._handleRootViewMount,onCommit:v,onEdit:function(e,n){var o=void 0;if(o=(void 0===n?"undefined":r(n))!=="object"||void 0===n.commit||n.commit,!e)return S;var a=i({},S,{definitions:S.definitions.map(function(n){return n===t?e:n})});return o&&v(a),a},schema:n,getDefaultFieldNames:_,getDefaultScalarArgValue:A,makeDefaultArg:a,onRunOperation:function(){e.props.onRunOperation&&e.props.onRunOperation(u)},styleConfig:d,availableFragments:U})}),Z),z)}}]),t}(l.PureComponent);z.defaultProps={getDefaultFieldNames:x,getDefaultScalarArgValue:T};var H=function(e){function t(){d(this,t);for(var e,n,r,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={hasError:!1,error:null,errorInfo:null},p(r,n)}return f(t,e),a(t,[{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0,error:e,errorInfo:t}),console.error("Error in component",e,t)}},{key:"render",value:function(){return this.state.hasError?l.createElement("div",{style:{padding:18,fontFamily:"sans-serif"}},l.createElement("div",null,"Something went wrong"),l.createElement("details",{style:{whiteSpace:"pre-wrap"}},this.state.error?this.state.error.toString():null,l.createElement("br",null),this.state.errorInfo?this.state.errorInfo.componentStack:null)):this.props.children}}]),t}(l.Component),B=function(e){function t(){return d(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),a(t,[{key:"render",value:function(){return l.createElement("div",{className:"docExplorerWrap",style:{height:"100%",width:this.props.width,minWidth:this.props.width,zIndex:7,display:this.props.explorerIsOpen?"flex":"none",flexDirection:"column",overflow:"hidden"}},l.createElement("div",{className:"doc-explorer-title-bar"},l.createElement("div",{className:"doc-explorer-title"},this.props.title),l.createElement("div",{className:"doc-explorer-rhs"},l.createElement("div",{className:"docExplorerHide",onClick:this.props.onToggleExplorer},"✕"))),l.createElement("div",{className:"doc-explorer-contents",style:{padding:"0px",overflowY:"unset"}},l.createElement(H,null,l.createElement(z,this.props))))}}]),t}(l.PureComponent);B.defaultValue=_,B.defaultProps={width:320,title:"Explorer"},t.default=B},93649:function(e,t,n){t.bC=void 0;var r,o=(r=n(65380))&&r.__esModule?r:{default:r};t.bC=o.default,o.default},81441:function(e,t,n){var r=n(89090),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,l,s,u,c,d,p=!1;t||(t={}),a=t.debug||!1;try{if(s=r(),u=document.createRange(),c=document.getSelection(),(d=document.createElement("span")).textContent=e,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(n){if(n.stopPropagation(),t.format){if(n.preventDefault(),void 0===n.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=o[t.format]||o.default;window.clipboardData.setData(r,e)}else n.clipboardData.clearData(),n.clipboardData.setData(t.format,e)}t.onCopy&&(n.preventDefault(),t.onCopy(n.clipboardData))}),document.body.appendChild(d),u.selectNodeContents(d),c.addRange(u),!document.execCommand("copy"))throw Error("copy command was unsuccessful");p=!0}catch(r){a&&console.error("unable to copy using execCommand: ",r),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(r){a&&console.error("unable to copy using clipboardData: ",r),a&&console.error("falling back to prompt"),n="message"in t?t.message:"Copy to clipboard: #{key}, Enter",i=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",l=n.replace(/#{\s*key\s*}/g,i),window.prompt(l,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(u):c.removeAllRanges()),d&&document.body.removeChild(d),s()}return p}},52256:function(e,t,n){n.d(t,{ZP:function(){return s}});var r=n(57101),o=n(64090),i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},l=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};if(16>parseInt(o.version.slice(0,2),10))throw Error("GraphiQL 0.18.0 and after is not compatible with React 15 or below.\nIf you are using a CDN source (jsdelivr, unpkg, etc), follow this example:\nhttps://github.com/graphql/graphiql/blob/master/examples/graphiql-cdn/index.html#L49");function s(e){var t,n=e.dangerouslyAssumeSchemaIsValid,l=e.defaultQuery,s=e.defaultTabs,c=e.externalFragments,d=e.fetcher,p=e.getDefaultFieldNames,f=e.headers,h=e.inputValueDeprecation,m=e.introspectionQueryName,v=e.maxHistoryLength,g=e.onEditOperationName,y=e.onSchemaChange,b=e.onTabChange,E=e.onTogglePluginVisibility,x=e.operationName,C=e.plugins,w=e.query,k=e.response,S=e.schema,_=e.schemaDescription,T=e.shouldPersistHeaders,A=e.storage,D=e.validationRules,O=e.variables,R=e.visiblePlugin,L=e.defaultHeaders,N=a(e,["dangerouslyAssumeSchemaIsValid","defaultQuery","defaultTabs","externalFragments","fetcher","getDefaultFieldNames","headers","inputValueDeprecation","introspectionQueryName","maxHistoryLength","onEditOperationName","onSchemaChange","onTabChange","onTogglePluginVisibility","operationName","plugins","query","response","schema","schemaDescription","shouldPersistHeaders","storage","validationRules","variables","visiblePlugin","defaultHeaders"]);if("function"!=typeof d)throw TypeError("The `GraphiQL` component requires a `fetcher` function to be passed as prop.");return o.createElement(r.j$,{getDefaultFieldNames:p,dangerouslyAssumeSchemaIsValid:n,defaultQuery:l,defaultHeaders:L,defaultTabs:s,externalFragments:c,fetcher:d,headers:f,inputValueDeprecation:h,introspectionQueryName:m,maxHistoryLength:v,onEditOperationName:g,onSchemaChange:y,onTabChange:b,onTogglePluginVisibility:E,plugins:C,visiblePlugin:R,operationName:x,query:w,response:k,schema:S,schemaDescription:_,shouldPersistHeaders:T,storage:A,validationRules:D,variables:O},o.createElement(u,i({showPersistHeadersSettings:!1!==T,disableTabs:null!==(t=N.disableTabs)&&void 0!==t&&t},N)))}function u(e){var t,n,i,a,u=null===(t=e.isHeadersEditorEnabled)||void 0===t||t,c=(0,r._i)({nonNull:!0}),d=(0,r.JB)({nonNull:!0}),f=(0,r.J5)({nonNull:!0}),h=(0,r.bN)(),m=(0,r.gp)(),g=(0,r.Xd)({onCopyQuery:e.onCopyQuery}),y=(0,r.pQ)(),b=(0,r.fE)(),E=(0,r.Fg)(),x=E.theme,C=E.setTheme,w=null===(n=null==m?void 0:m.visiblePlugin)||void 0===n?void 0:n.content,k=(0,r.Xx)({defaultSizeRelation:1/3,direction:"horizontal",initiallyHidden:(null==m?void 0:m.visiblePlugin)?void 0:"first",onHiddenElementChange:function(e){"first"===e&&(null==m||m.setVisiblePlugin(null))},sizeThresholdSecond:200,storageKey:"docExplorerFlex"}),S=(0,r.Xx)({direction:"horizontal",storageKey:"editorFlex"}),_=(0,r.Xx)({defaultSizeRelation:3,direction:"vertical",initiallyHidden:"variables"===e.defaultEditorToolsVisibility||"headers"===e.defaultEditorToolsVisibility?void 0:"boolean"==typeof e.defaultEditorToolsVisibility?e.defaultEditorToolsVisibility?void 0:"second":c.initialVariables||c.initialHeaders?void 0:"second",sizeThresholdSecond:60,storageKey:"secondaryEditorFlex"}),T=l((0,o.useState)(function(){return"variables"===e.defaultEditorToolsVisibility||"headers"===e.defaultEditorToolsVisibility?e.defaultEditorToolsVisibility:!c.initialVariables&&c.initialHeaders&&u?"headers":"variables"}),2),A=T[0],D=T[1],O=l((0,o.useState)(null),2),R=O[0],L=O[1],N=l((0,o.useState)(null),2),M=N[0],P=N[1],I=o.Children.toArray(e.children),F=I.find(function(e){return v(e,s.Logo)})||o.createElement(s.Logo,null),V=I.find(function(e){return v(e,s.Toolbar)})||o.createElement(o.Fragment,null,o.createElement(r.wC,{onClick:b,label:"Prettify query (Shift-Ctrl-P)"},o.createElement(r.Kt,{className:"graphiql-toolbar-icon","aria-hidden":"true"})),o.createElement(r.wC,{onClick:y,label:"Merge fragments into query (Shift-Ctrl-M)"},o.createElement(r.Rn,{className:"graphiql-toolbar-icon","aria-hidden":"true"})),o.createElement(r.wC,{onClick:g,label:"Copy query (Shift-Ctrl-C)"},o.createElement(r.TI,{className:"graphiql-toolbar-icon","aria-hidden":"true"})),(null===(i=e.toolbar)||void 0===i?void 0:i.additionalContent)&&e.toolbar.additionalContent,(null===(a=e.toolbar)||void 0===a?void 0:a.additionalComponent)&&o.createElement(e.toolbar.additionalComponent,null)),j=I.find(function(e){return v(e,s.Footer)}),q=(0,o.useCallback)(function(){"first"===k.hiddenElement&&k.setHiddenElement(null)},[k]),z=(0,o.useCallback)(function(){try{null==h||h.clear(),P("success")}catch(e){P("error")}},[h]),H=(0,o.useCallback)(function(e){c.setShouldPersistHeaders("true"===e.currentTarget.dataset.value)},[c]),B=(0,o.useCallback)(function(e){C(e.currentTarget.dataset.theme||null)},[C]),U=c.addTab,Z=f.introspect,G=c.moveTab,W=(0,o.useCallback)(function(e){L(e.currentTarget.dataset.value)},[]),K=(0,o.useCallback)(function(e){var t=Number(e.currentTarget.dataset.index),n=m.plugins.find(function(e,n){return t===n});n===m.visiblePlugin?(m.setVisiblePlugin(null),k.setHiddenElement("first")):(m.setVisiblePlugin(n),k.setHiddenElement(null))},[m,k]),Q=(0,o.useCallback)(function(e){"second"===_.hiddenElement&&_.setHiddenElement(null),D(e.currentTarget.dataset.name)},[_]),Y=(0,o.useCallback)(function(){_.setHiddenElement("second"===_.hiddenElement?null:"second")},[_]),$=(0,o.useCallback)(function(e){e||L(null)},[]),J=(0,o.useCallback)(function(e){e||(L(null),P(null))},[]),X=o.createElement(r.u,{label:"Add tab"},o.createElement(r.v0,{type:"button",className:"graphiql-tab-add",onClick:U,"aria-label":"Add tab"},o.createElement(r.pO,{"aria-hidden":"true"})));return o.createElement(r.u.Provider,null,o.createElement("div",{"data-testid":"graphiql-container",className:"graphiql-container"},o.createElement("div",{className:"graphiql-sidebar"},o.createElement("div",{className:"graphiql-sidebar-section"},null==m?void 0:m.plugins.map(function(e,t){var n=e===m.visiblePlugin,i="".concat(n?"Hide":"Show"," ").concat(e.title),a=e.icon;return o.createElement(r.u,{key:e.title,label:i},o.createElement(r.v0,{type:"button",className:n?"active":"",onClick:K,"data-index":t,"aria-label":i},o.createElement(a,{"aria-hidden":"true"})))})),o.createElement("div",{className:"graphiql-sidebar-section"},o.createElement(r.u,{label:"Re-fetch GraphQL schema"},o.createElement(r.v0,{type:"button",disabled:f.isFetching,onClick:Z,"aria-label":"Re-fetch GraphQL schema"},o.createElement(r.BG,{className:f.isFetching?"graphiql-spin":"","aria-hidden":"true"}))),o.createElement(r.u,{label:"Open short keys dialog"},o.createElement(r.v0,{type:"button","data-value":"short-keys",onClick:W,"aria-label":"Open short keys dialog"},o.createElement(r.fY,{"aria-hidden":"true"}))),o.createElement(r.u,{label:"Open settings dialog"},o.createElement(r.v0,{type:"button","data-value":"settings",onClick:W,"aria-label":"Open settings dialog"},o.createElement(r.ew,{"aria-hidden":"true"}))))),o.createElement("div",{className:"graphiql-main"},o.createElement("div",{ref:k.firstRef,style:{minWidth:"200px"}},o.createElement("div",{className:"graphiql-plugin"},w?o.createElement(w,null):null)),(null==m?void 0:m.visiblePlugin)&&o.createElement("div",{className:"graphiql-horizontal-drag-bar",ref:k.dragBarRef}),o.createElement("div",{ref:k.secondRef,className:"graphiql-sessions"},o.createElement("div",{className:"graphiql-session-header"},e.disableTabs?null:o.createElement(r.mQ,{values:c.tabs,onReorder:G,"aria-label":"Select active operation"},c.tabs.length>1&&o.createElement(o.Fragment,null,c.tabs.map(function(e,t){return o.createElement(r.OK,{key:e.id,value:e,isActive:t===c.activeTabIndex},o.createElement(r.OK.Button,{"aria-controls":"graphiql-session",id:"graphiql-session-tab-".concat(t),onClick:function(){d.stop(),c.changeTab(t)}},e.title),o.createElement(r.OK.Close,{onClick:function(){c.activeTabIndex===t&&d.stop(),c.closeTab(t)}}))}),X)),o.createElement("div",{className:"graphiql-session-header-right"},1===c.tabs.length&&X,F)),o.createElement("div",{role:"tabpanel",id:"graphiql-session",className:"graphiql-session","aria-labelledby":"graphiql-session-tab-".concat(c.activeTabIndex)},o.createElement("div",{ref:S.firstRef},o.createElement("div",{className:"graphiql-editors".concat(1===c.tabs.length?" full-height":"")},o.createElement("div",{ref:_.firstRef},o.createElement("section",{className:"graphiql-query-editor","aria-label":"Query Editor"},o.createElement(r.WK,{editorTheme:e.editorTheme,keyMap:e.keyMap,onClickReference:q,onCopyQuery:e.onCopyQuery,onEdit:e.onEditQuery,readOnly:e.readOnly}),o.createElement("div",{className:"graphiql-toolbar",role:"toolbar","aria-label":"Editor Commands"},o.createElement(r._8,null),V))),o.createElement("div",{ref:_.dragBarRef},o.createElement("div",{className:"graphiql-editor-tools"},o.createElement(r.v0,{type:"button",className:"variables"===A&&"second"!==_.hiddenElement?"active":"",onClick:Q,"data-name":"variables"},"Variables"),u&&o.createElement(r.v0,{type:"button",className:"headers"===A&&"second"!==_.hiddenElement?"active":"",onClick:Q,"data-name":"headers"},"Headers"),o.createElement(r.u,{label:"second"===_.hiddenElement?"Show editor tools":"Hide editor tools"},o.createElement(r.v0,{type:"button",onClick:Y,"aria-label":"second"===_.hiddenElement?"Show editor tools":"Hide editor tools",className:"graphiql-toggle-editor-tools"},"second"===_.hiddenElement?o.createElement(r.g8,{className:"graphiql-chevron-icon","aria-hidden":"true"}):o.createElement(r.v4,{className:"graphiql-chevron-icon","aria-hidden":"true"}))))),o.createElement("div",{ref:_.secondRef},o.createElement("section",{className:"graphiql-editor-tool","aria-label":"variables"===A?"Variables":"Headers"},o.createElement(r.hF,{editorTheme:e.editorTheme,isHidden:"variables"!==A,keyMap:e.keyMap,onEdit:e.onEditVariables,onClickReference:q,readOnly:e.readOnly}),u&&o.createElement(r.LA,{editorTheme:e.editorTheme,isHidden:"headers"!==A,keyMap:e.keyMap,onEdit:e.onEditHeaders,readOnly:e.readOnly}))))),o.createElement("div",{className:"graphiql-horizontal-drag-bar",ref:S.dragBarRef}),o.createElement("div",{ref:S.secondRef},o.createElement("div",{className:"graphiql-response"},d.isFetching?o.createElement(r.$j,null):null,o.createElement(r.iB,{editorTheme:e.editorTheme,responseTooltip:e.responseTooltip,keyMap:e.keyMap}),j))))),o.createElement(r.Vq,{open:"short-keys"===R,onOpenChange:$},o.createElement("div",{className:"graphiql-dialog-header"},o.createElement(r.Vq.Title,{className:"graphiql-dialog-title"},"Short Keys"),o.createElement(r.Vq.Close,null)),o.createElement("div",{className:"graphiql-dialog-section"},o.createElement(p,{keyMap:e.keyMap||"sublime"}))),o.createElement(r.Vq,{open:"settings"===R,onOpenChange:J},o.createElement("div",{className:"graphiql-dialog-header"},o.createElement(r.Vq.Title,{className:"graphiql-dialog-title"},"Settings"),o.createElement(r.Vq.Close,null)),e.showPersistHeadersSettings?o.createElement("div",{className:"graphiql-dialog-section"},o.createElement("div",null,o.createElement("div",{className:"graphiql-dialog-section-title"},"Persist headers"),o.createElement("div",{className:"graphiql-dialog-section-caption"},"Save headers upon reloading."," ",o.createElement("span",{className:"graphiql-warning-text"},"Only enable if you trust this device."))),o.createElement(r.hE,null,o.createElement(r.zx,{type:"button",id:"enable-persist-headers",className:c.shouldPersistHeaders?"active":"","data-value":"true",onClick:H},"On"),o.createElement(r.zx,{type:"button",id:"disable-persist-headers",className:c.shouldPersistHeaders?"":"active",onClick:H},"Off"))):null,o.createElement("div",{className:"graphiql-dialog-section"},o.createElement("div",null,o.createElement("div",{className:"graphiql-dialog-section-title"},"Theme"),o.createElement("div",{className:"graphiql-dialog-section-caption"},"Adjust how the interface looks like.")),o.createElement(r.hE,null,o.createElement(r.zx,{type:"button",className:null===x?"active":"",onClick:B},"System"),o.createElement(r.zx,{type:"button",className:"light"===x?"active":"","data-theme":"light",onClick:B},"Light"),o.createElement(r.zx,{type:"button",className:"dark"===x?"active":"","data-theme":"dark",onClick:B},"Dark"))),h?o.createElement("div",{className:"graphiql-dialog-section"},o.createElement("div",null,o.createElement("div",{className:"graphiql-dialog-section-title"},"Clear storage"),o.createElement("div",{className:"graphiql-dialog-section-caption"},"Remove all locally stored data and start fresh.")),o.createElement(r.zx,{type:"button",state:M||void 0,disabled:"success"===M,onClick:z},{success:"Cleared data",error:"Failed"}[M]||"Clear data")):null)))}s.Logo=f,s.Toolbar=h,s.Footer=m;var c=0===window.navigator.platform.toLowerCase().indexOf("mac")?"Cmd":"Ctrl",d=Object.entries({"Search in editor":[c,"F"],"Search in documentation":[c,"K"],"Execute query":[c,"Enter"],"Prettify editors":["Ctrl","Shift","P"],"Merge fragments definitions into operation definition":["Ctrl","Shift","M"],"Copy query":["Ctrl","Shift","C"],"Re-fetch schema using introspection":["Ctrl","Shift","R"]});function p(e){var t=e.keyMap;return o.createElement("div",null,o.createElement("table",{className:"graphiql-table"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",null,"Short Key"),o.createElement("th",null,"Function"))),o.createElement("tbody",null,d.map(function(e){var t=l(e,2),n=t[0],r=t[1];return o.createElement("tr",{key:n},o.createElement("td",null,r.map(function(e,t,n){return o.createElement(o.Fragment,{key:e},o.createElement("code",{className:"graphiql-key"},e),t!==n.length-1&&" + ")})),o.createElement("td",null,n))}))),o.createElement("p",null,"The editors use"," ",o.createElement("a",{href:"https://codemirror.net/5/doc/manual.html#keymaps",target:"_blank",rel:"noopener noreferrer"},"CodeMirror Key Maps")," ","that add more short keys. This instance of Graph",o.createElement("em",null,"i"),"QL uses"," ",o.createElement("code",null,t),"."))}function f(e){return o.createElement("div",{className:"graphiql-logo"},e.children||o.createElement("a",{className:"graphiql-logo-link",href:"https://github.com/graphql/graphiql",target:"_blank",rel:"noreferrer"},"Graph",o.createElement("em",null,"i"),"QL"))}function h(e){return o.createElement(o.Fragment,null,e.children)}function m(e){return o.createElement("div",{className:"graphiql-footer"},e.children)}function v(e,t){var n;return null!==(n=null==e?void 0:e.type)&&void 0!==n&&!!n.displayName&&e.type.displayName===t.displayName||e.type===t}f.displayName="GraphiQLLogo",h.displayName="GraphiQLToolbar",m.displayName="GraphiQLFooter"},52511:function(e,t,n){var r=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},o=function(e){return this instanceof o?(this.v=e,this):new o(e)},i=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),a=[];return r={},l("next"),l("throw"),l("return"),r[Symbol.asyncIterator]=function(){return this},r;function l(e){i[e]&&(r[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{var n;(n=i[e](t)).value instanceof o?Promise.resolve(n.value.v).then(u,c):d(a[0][2],n)}catch(e){d(a[0][3],e)}}function u(e){s("next",e)}function c(e){s("throw",e)}function d(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}};Object.defineProperty(t,"__esModule",{value:!0}),t.TerminatedCloseEvent=t.createClient=void 0;let a=n(83811),l=n(2888);!function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)}(n(83811),t),t.createClient=function(e){let t;let{url:r,connectionParams:c,lazy:d=!0,onNonLazyError:p=console.error,lazyCloseTimeout:f=0,keepAlive:h=0,disablePong:m,connectionAckWaitTimeout:v=0,retryAttempts:g=5,retryWait:y=async function(e){let t=1e3;for(let n=0;n<e;n++)t*=2;await new Promise(e=>setTimeout(e,t+Math.floor(2700*Math.random()+300)))},shouldRetry:b=u,isFatalConnectionProblem:E,on:x,webSocketImpl:C,generateID:w=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},jsonMessageReplacer:k,jsonMessageReviver:S}=e;if(C){if(!("function"==typeof C&&"constructor"in C&&"CLOSED"in C&&"CLOSING"in C&&"CONNECTING"in C&&"OPEN"in C))throw Error("Invalid WebSocket implementation provided");t=C}else t="undefined"!=typeof WebSocket?WebSocket:void 0!==n.g?n.g.WebSocket||n.g.MozWebSocket:window.WebSocket||window.MozWebSocket;if(!t)throw Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");let _=t,T=(()=>{let e=(()=>{let e={};return{on:(t,n)=>(e[t]=n,()=>{delete e[t]}),emit(t){var n;"id"in t&&(null===(n=e[t.id])||void 0===n||n.call(e,t))}}})(),t={connecting:(null==x?void 0:x.connecting)?[x.connecting]:[],opened:(null==x?void 0:x.opened)?[x.opened]:[],connected:(null==x?void 0:x.connected)?[x.connected]:[],ping:(null==x?void 0:x.ping)?[x.ping]:[],pong:(null==x?void 0:x.pong)?[x.pong]:[],message:(null==x?void 0:x.message)?[e.emit,x.message]:[e.emit],closed:(null==x?void 0:x.closed)?[x.closed]:[],error:(null==x?void 0:x.error)?[x.error]:[]};return{onMessage:e.on,on(e,n){let r=t[e];return r.push(n),()=>{r.splice(r.indexOf(n),1)}},emit(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(let n of[...t[e]])n(...r)}}})();function A(e){let t=[T.on("error",n=>{t.forEach(e=>e()),e(n)}),T.on("closed",n=>{t.forEach(e=>e()),e(n)})]}let D,O=0,R,L=!1,N=0,M=!1;async function P(){clearTimeout(R);let[e,t]=await (null!=D?D:D=new Promise((e,t)=>(async()=>{let n,o;if(L){if(await y(N),!O)return D=void 0,t({code:1e3,reason:"All Subscriptions Gone"});N++}T.emit("connecting",L);let i=new _("function"==typeof r?await r():r,a.GRAPHQL_TRANSPORT_WS_PROTOCOL);function u(){isFinite(h)&&h>0&&(clearTimeout(o),o=setTimeout(()=>{i.readyState===_.OPEN&&(i.send((0,a.stringifyMessage)({type:a.MessageType.Ping})),T.emit("ping",!1,void 0))},h))}A(e=>{D=void 0,clearTimeout(n),clearTimeout(o),t(e),e instanceof s&&(i.close(4499,"Terminated"),i.onerror=null,i.onclose=null)}),i.onerror=e=>T.emit("error",e),i.onclose=e=>T.emit("closed",e),i.onopen=async()=>{try{T.emit("opened",i);let e="function"==typeof c?await c():c;if(i.readyState!==_.OPEN)return;i.send((0,a.stringifyMessage)(e?{type:a.MessageType.ConnectionInit,payload:e}:{type:a.MessageType.ConnectionInit},k)),isFinite(v)&&v>0&&(n=setTimeout(()=>{i.close(a.CloseCode.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},v)),u()}catch(e){T.emit("error",e),i.close(a.CloseCode.InternalClientError,(0,l.limitCloseReason)(e instanceof Error?e.message:Error(e).message,"Internal client error"))}};let d=!1;i.onmessage=t=>{let{data:r}=t;try{let t=(0,a.parseMessage)(r,S);if(T.emit("message",t),"ping"===t.type||"pong"===t.type){T.emit(t.type,!0,t.payload),"pong"===t.type?u():m||(i.send((0,a.stringifyMessage)(t.payload?{type:a.MessageType.Pong,payload:t.payload}:{type:a.MessageType.Pong})),T.emit("pong",!1,t.payload));return}if(d)return;if(t.type!==a.MessageType.ConnectionAck)throw Error("First message cannot be of type ".concat(t.type));clearTimeout(n),d=!0,T.emit("connected",i,t.payload,L),L=!1,N=0,e([i,new Promise((e,t)=>A(t))])}catch(e){i.onmessage=null,T.emit("error",e),i.close(a.CloseCode.BadResponse,(0,l.limitCloseReason)(e instanceof Error?e.message:Error(e).message,"Bad response"))}}})()));e.readyState===_.CLOSING&&await t;let n=()=>{},o=new Promise(e=>n=e);return[e,n,Promise.race([o.then(()=>{if(!O){let t=()=>e.close(1e3,"Normal Closure");isFinite(f)&&f>0?R=setTimeout(()=>{e.readyState===_.OPEN&&t()},f):t()}}),t])]}function I(e){var t;if(u(e)&&(![1e3,1001,1006,1005,1012,1013,1014].includes(t=e.code)&&t>=1e3&&t<=1999||[a.CloseCode.InternalServerError,a.CloseCode.InternalClientError,a.CloseCode.BadRequest,a.CloseCode.BadResponse,a.CloseCode.Unauthorized,a.CloseCode.SubprotocolNotAcceptable,a.CloseCode.SubscriberAlreadyExists,a.CloseCode.TooManyInitialisationRequests].includes(e.code)))throw e;if(M)return!1;if(u(e)&&1e3===e.code)return O>0;if(!g||N>=g||!b(e)||(null==E?void 0:E(e)))throw e;return L=!0}function F(e,t){let n=w(e),r=!1,o=!1,i=()=>{O--,r=!0};return(async()=>{for(O++;;)try{let[l,s,u]=await P();if(r)return s();let c=T.onMessage(n,e=>{switch(e.type){case a.MessageType.Next:t.next(e.payload);return;case a.MessageType.Error:o=!0,r=!0,t.error(e.payload),i();return;case a.MessageType.Complete:r=!0,i();return}});l.send((0,a.stringifyMessage)({id:n,type:a.MessageType.Subscribe,payload:e},k)),i=()=>{r||l.readyState!==_.OPEN||l.send((0,a.stringifyMessage)({id:n,type:a.MessageType.Complete},k)),O--,r=!0,s()},await u.finally(c);return}catch(e){if(!I(e))return}})().then(()=>{o||t.complete()}).catch(e=>{t.error(e)}),()=>{r||i()}}return d||(async()=>{for(O++;;)try{let[,,e]=await P();await e}catch(e){try{if(!I(e))return}catch(e){return null==p?void 0:p(e)}}})(),{on:T.on,subscribe:F,iterate(e){let t=[],n={done:!1,error:null,resolve:()=>{}},r=F(e,{next(e){t.push(e),n.resolve()},error(e){n.done=!0,n.error=e,n.resolve()},complete(){n.done=!0,n.resolve()}}),a=function(){return i(this,arguments,function*(){for(;;){for(t.length||(yield o(new Promise(e=>n.resolve=e)));t.length;)yield yield o(t.shift());if(n.error)throw n.error;if(n.done)return yield o(void 0)}})}();return a.throw=async e=>(n.done||(n.done=!0,n.error=e,n.resolve()),{done:!0,value:void 0}),a.return=async()=>(r(),{done:!0,value:void 0}),a},async dispose(){if(M=!0,D){let[e]=await D;e.close(1e3,"Normal Closure")}},terminate(){D&&T.emit("closed",new s)}}};class s extends Error{constructor(){super(...arguments),this.name="TerminatedCloseEvent",this.message="4499: Terminated",this.code=4499,this.reason="Terminated",this.wasClean=!1}}function u(e){return(0,l.isObject)(e)&&"code"in e&&"reason"in e}t.TerminatedCloseEvent=s},83811:function(e,t,n){var r,o,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyMessage=t.parseMessage=t.isMessage=t.validateMessage=t.MessageType=t.CloseCode=t.DEPRECATED_GRAPHQL_WS_PROTOCOL=t.GRAPHQL_TRANSPORT_WS_PROTOCOL=void 0;let l=n(2888);function s(e){if(!(0,l.isObject)(e))throw Error("Message is expected to be an object, but got ".concat((0,l.extendedTypeof)(e)));if(!e.type)throw Error("Message is missing the 'type' property");if("string"!=typeof e.type)throw Error("Message is expects the 'type' property to be a string, but got ".concat((0,l.extendedTypeof)(e.type)));switch(e.type){case o.ConnectionInit:case o.ConnectionAck:case o.Ping:case o.Pong:if(null!=e.payload&&!(0,l.isObject)(e.payload))throw Error('"'.concat(e.type,"\" message expects the 'payload' property to be an object or nullish or missing, but got \"").concat(e.payload,'"'));break;case o.Subscribe:if("string"!=typeof e.id)throw Error('"'.concat(e.type,"\" message expects the 'id' property to be a string, but got ").concat((0,l.extendedTypeof)(e.id)));if(!e.id)throw Error('"'.concat(e.type,"\" message requires a non-empty 'id' property"));if(!(0,l.isObject)(e.payload))throw Error('"'.concat(e.type,"\" message expects the 'payload' property to be an object, but got ").concat((0,l.extendedTypeof)(e.payload)));if("string"!=typeof e.payload.query)throw Error('"'.concat(e.type,"\" message payload expects the 'query' property to be a string, but got ").concat((0,l.extendedTypeof)(e.payload.query)));if(null!=e.payload.variables&&!(0,l.isObject)(e.payload.variables))throw Error('"'.concat(e.type,"\" message payload expects the 'variables' property to be a an object or nullish or missing, but got ").concat((0,l.extendedTypeof)(e.payload.variables)));if(null!=e.payload.operationName&&"string"!==(0,l.extendedTypeof)(e.payload.operationName))throw Error('"'.concat(e.type,"\" message payload expects the 'operationName' property to be a string or nullish or missing, but got ").concat((0,l.extendedTypeof)(e.payload.operationName)));if(null!=e.payload.extensions&&!(0,l.isObject)(e.payload.extensions))throw Error('"'.concat(e.type,"\" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ").concat((0,l.extendedTypeof)(e.payload.extensions)));break;case o.Next:if("string"!=typeof e.id)throw Error('"'.concat(e.type,"\" message expects the 'id' property to be a string, but got ").concat((0,l.extendedTypeof)(e.id)));if(!e.id)throw Error('"'.concat(e.type,"\" message requires a non-empty 'id' property"));if(!(0,l.isObject)(e.payload))throw Error('"'.concat(e.type,"\" message expects the 'payload' property to be an object, but got ").concat((0,l.extendedTypeof)(e.payload)));break;case o.Error:if("string"!=typeof e.id)throw Error('"'.concat(e.type,"\" message expects the 'id' property to be a string, but got ").concat((0,l.extendedTypeof)(e.id)));if(!e.id)throw Error('"'.concat(e.type,"\" message requires a non-empty 'id' property"));if(!(0,l.areGraphQLErrors)(e.payload))throw Error('"'.concat(e.type,"\" message expects the 'payload' property to be an array of GraphQL errors, but got ").concat(JSON.stringify(e.payload)));break;case o.Complete:if("string"!=typeof e.id)throw Error('"'.concat(e.type,"\" message expects the 'id' property to be a string, but got ").concat((0,l.extendedTypeof)(e.id)));if(!e.id)throw Error('"'.concat(e.type,"\" message requires a non-empty 'id' property"));break;default:throw Error("Invalid message 'type' property \"".concat(e.type,'"'))}return e}t.GRAPHQL_TRANSPORT_WS_PROTOCOL="graphql-transport-ws",t.DEPRECATED_GRAPHQL_WS_PROTOCOL="graphql-ws",(i=r||(t.CloseCode=r={}))[i.InternalServerError=4500]="InternalServerError",i[i.InternalClientError=4005]="InternalClientError",i[i.BadRequest=4400]="BadRequest",i[i.BadResponse=4004]="BadResponse",i[i.Unauthorized=4401]="Unauthorized",i[i.Forbidden=4403]="Forbidden",i[i.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",i[i.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",i[i.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",i[i.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",i[i.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",(a=o||(t.MessageType=o={})).ConnectionInit="connection_init",a.ConnectionAck="connection_ack",a.Ping="ping",a.Pong="pong",a.Subscribe="subscribe",a.Next="next",a.Error="error",a.Complete="complete",t.validateMessage=s,t.isMessage=function(e){try{return s(e),!0}catch(e){return!1}},t.parseMessage=function(e,t){return s("string"==typeof e?JSON.parse(e,t):e)},t.stringifyMessage=function(e,t){return s(e),JSON.stringify(e,t)}},84712:function(e,t,n){var r=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},o=function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(52511),t),o(n(93620),t),o(n(83811),t)},93620:function(e,t,n){var r=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,o,(t=e[n](t)).done,t.value)})}}};Object.defineProperty(t,"__esModule",{value:!0}),t.handleProtocols=t.makeServer=void 0;let o=n(22671),i=n(83811),a=n(2888);t.makeServer=function(e){let{schema:t,context:n,roots:l,validate:s,execute:u,subscribe:c,connectionInitWaitTimeout:d=3e3,onConnect:p,onDisconnect:f,onClose:h,onSubscribe:m,onOperation:v,onNext:g,onError:y,onComplete:b,jsonMessageReviver:E,jsonMessageReplacer:x}=e;return{opened(e,C){let w={connectionInitReceived:!1,acknowledged:!1,subscriptions:{},extra:C};if(e.protocol!==i.GRAPHQL_TRANSPORT_WS_PROTOCOL)return e.close(i.CloseCode.SubprotocolNotAcceptable,"Subprotocol not acceptable"),async(e,t)=>{await (null==h?void 0:h(w,e,t))};let k=d>0&&isFinite(d)?setTimeout(()=>{w.connectionInitReceived||e.close(i.CloseCode.ConnectionInitialisationTimeout,"Connection initialisation timeout")},d):null;return e.onMessage(async function(d){let f;try{f=(0,i.parseMessage)(d,E)}catch(t){return e.close(i.CloseCode.BadRequest,"Invalid message received")}switch(f.type){case i.MessageType.ConnectionInit:{if(w.connectionInitReceived)return e.close(i.CloseCode.TooManyInitialisationRequests,"Too many initialisation requests");w.connectionInitReceived=!0,(0,a.isObject)(f.payload)&&(w.connectionParams=f.payload);let t=await (null==p?void 0:p(w));if(!1===t)return e.close(i.CloseCode.Forbidden,"Forbidden");w.acknowledged=!0,await e.send((0,i.stringifyMessage)((0,a.isObject)(t)?{type:i.MessageType.ConnectionAck,payload:t}:{type:i.MessageType.ConnectionAck},x));return}case i.MessageType.Ping:if(e.onPing)return await e.onPing(f.payload);await e.send((0,i.stringifyMessage)(f.payload?{type:i.MessageType.Pong,payload:f.payload}:{type:i.MessageType.Pong}));return;case i.MessageType.Pong:return await (null===(_=e.onPong)||void 0===_?void 0:_.call(e,f.payload));case i.MessageType.Subscribe:{if(!w.acknowledged)return e.close(i.CloseCode.Unauthorized,"Unauthorized");let{id:d,payload:p}=f;if(d in w.subscriptions)return e.close(i.CloseCode.SubscriberAlreadyExists,"Subscriber for ".concat(d," already exists"));w.subscriptions[d]=null;let E={next:async(t,n)=>{let r={id:d,type:i.MessageType.Next,payload:t},o=await (null==g?void 0:g(w,r,n,t));o&&(r=Object.assign(Object.assign({},r),{payload:o})),await e.send((0,i.stringifyMessage)(r,x))},error:async t=>{let n={id:d,type:i.MessageType.Error,payload:t},r=await (null==y?void 0:y(w,n,t));r&&(n=Object.assign(Object.assign({},n),{payload:r})),await e.send((0,i.stringifyMessage)(n,x))},complete:async t=>{let n={id:d,type:i.MessageType.Complete};await (null==b?void 0:b(w,n)),t&&await e.send((0,i.stringifyMessage)(n,x))}};try{let e,i;let g=await (null==m?void 0:m(w,f));if(g){if((0,a.areGraphQLErrors)(g))return await E.error(g);if(Array.isArray(g))throw Error("Invalid return value from onSubscribe hook, expected an array of GraphQLError objects");e=g}else{if(!t)throw Error("The GraphQL schema is not provided");let n={operationName:p.operationName,document:(0,o.parse)(p.query),variableValues:p.variables};e=Object.assign(Object.assign({},n),{schema:"function"==typeof t?await t(w,f,n):t});let r=(null!=s?s:o.validate)(e.schema,e.document);if(r.length>0)return await E.error(r)}let y=(0,o.getOperationAST)(e.document,e.operationName);if(!y)return await E.error([new o.GraphQLError("Unable to identify operation")]);"rootValue"in e||(e.rootValue=null==l?void 0:l[y.operation]),"contextValue"in e||(e.contextValue="function"==typeof n?await n(w,f,e):n),i="subscription"===y.operation?await (null!=c?c:o.subscribe)(e):await (null!=u?u:o.execute)(e);let b=await (null==v?void 0:v(w,f,e,i));if(b&&(i=b),(0,a.isAsyncIterable)(i)){if(d in w.subscriptions){w.subscriptions[d]=i;try{for(var h,C,k,S,_,T,A=!0,D=r(i);!(h=(T=await D.next()).done);A=!0)S=T.value,A=!1,await E.next(S,e)}catch(e){C={error:e}}finally{try{!A&&!h&&(k=D.return)&&await k.call(D)}finally{if(C)throw C.error}}}else(0,a.isAsyncGenerator)(i)&&i.return(void 0)}else d in w.subscriptions&&await E.next(i,e);await E.complete(d in w.subscriptions)}finally{delete w.subscriptions[d]}return}case i.MessageType.Complete:{let e=w.subscriptions[f.id];delete w.subscriptions[f.id],(0,a.isAsyncGenerator)(e)&&await e.return(void 0);return}default:throw Error("Unexpected message of type ".concat(f.type," received"))}}),async(e,t)=>{for(let[e,t]of(k&&clearTimeout(k),Object.entries(w.subscriptions)))(0,a.isAsyncGenerator)(t)&&await t.return(void 0),delete w.subscriptions[e];w.acknowledged&&await (null==f?void 0:f(w,e,t)),await (null==h?void 0:h(w,e,t))}}}},t.handleProtocols=function(e){switch(!0){case e instanceof Set&&e.has(i.GRAPHQL_TRANSPORT_WS_PROTOCOL):case Array.isArray(e)&&e.includes(i.GRAPHQL_TRANSPORT_WS_PROTOCOL):case"string"==typeof e&&e.split(",").map(e=>e.trim()).includes(i.GRAPHQL_TRANSPORT_WS_PROTOCOL):return i.GRAPHQL_TRANSPORT_WS_PROTOCOL;default:return!1}}},2888:function(e,t){function n(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function r(e){return"object"===n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.limitCloseReason=t.areGraphQLErrors=t.isAsyncGenerator=t.isAsyncIterable=t.isObject=t.extendedTypeof=void 0,t.extendedTypeof=n,t.isObject=r,t.isAsyncIterable=function(e){return"function"==typeof Object(e)[Symbol.asyncIterator]},t.isAsyncGenerator=function(e){return r(e)&&"function"==typeof Object(e)[Symbol.asyncIterator]&&"function"==typeof e.return},t.areGraphQLErrors=function(e){return Array.isArray(e)&&e.length>0&&e.every(e=>"message"in e)},t.limitCloseReason=function(e,t){return e.length<124?e:t}},49350:function(e,t,n){/*!
2
+ * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
3
+ *
4
+ * Copyright (c) 2014-2017, Jon Schlinkert.
5
+ * Released under the MIT License.
6
+ */var r=n(87564);function o(e){return!0===r(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,n;return!1!==o(e)&&"function"==typeof(t=e.constructor)&&!1!==o(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")}},72675:function(e){/*!
7
+ * is-primitive <https://github.com/jonschlinkert/is-primitive>
8
+ *
9
+ * Copyright (c) 2014-present, Jon Schlinkert.
10
+ * Released under the MIT License.
11
+ */e.exports=function(e){return"object"==typeof e?null===e:"function"!=typeof e}},87564:function(e){/*!
12
+ * isobject <https://github.com/jonschlinkert/isobject>
13
+ *
14
+ * Copyright (c) 2014-2017, Jon Schlinkert.
15
+ * Released under the MIT License.
16
+ */e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},95171:function(e,t,n){function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var l={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},s={"http:":{validate:function(e,t,n){var r=e.slice(t);return(n.re.http||(n.re.http=RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r))?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return(n.re.no_http||(n.re.no_http=RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r))?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return(n.re.mailto||(n.re.mailto=RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r))?r.match(n.re.mailto)[0].length:0}}},u="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function c(){return function(e,t){t.normalize(e)}}function d(e){var t=e.re=n(3147)(e.__opts__),r=e.__tlds__.slice();function l(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(l(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(l(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(l(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(l(t.tpl_host_fuzzy_test),"i");var s=[];function u(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var n,r=e.__schemas__[t];if(null!==r){var a={validate:null,link:null};if(e.__compiled__[t]=a,"[object Object]"===o(r)){"[object RegExp]"===o(r.validate)?a.validate=(n=r.validate,function(e,t){var r=e.slice(t);return n.test(r)?r.match(n)[0].length:0}):i(r.validate)?a.validate=r.validate:u(t,r),i(r.normalize)?a.normalize=r.normalize:r.normalize?u(t,r):a.normalize=c();return}if("[object String]"===o(r)){s.push(t);return}u(t,r)}}),s.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:c()};var d=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+d+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+d+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),e.__index__=-1,e.__text_cache__=""}function p(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function f(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function h(e,t){if(!(this instanceof h))return new h(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||l.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=r({},l,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},s,e),this.__compiled__={},this.__tlds__=u,this.__tlds_replaced__=!1,this.re={},d(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,d(this),this},h.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},h.prototype.test=function(e){var t,n,r,o,i,a,l,s;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((l=this.re.schema_search).lastIndex=0;null!==(t=l.exec(e));)if(o=this.testSchemaAt(e,t[2],l.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(s=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||s<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},h.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(f(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},h.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),d(this),this},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},3147:function(e,t,n){e.exports=function(e){var t={};t.src_Any=n(36476).source,t.src_Cc=n(24911).source,t.src_Z=n(19187).source,t.src_P=n(32729).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+r+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},68580:function(e,t,n){e.exports=n(45869)},66313:function(e,t,n){e.exports=n(81104)},6287:function(e){e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},98655:function(e){var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=RegExp("^(?:"+t+"|"+n+"|<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=RegExp("^(?:"+t+"|"+n+")");e.exports.n=r,e.exports.q=o},6408:function(e,t,n){var r=Object.prototype.hasOwnProperty;function o(e,t){return r.call(e,t)}function i(e){return(!(e>=55296)||!(e<=57343))&&(!(e>=64976)||!(e<=65007))&&(65535&e)!=65535&&(65535&e)!=65534&&(!(e>=0)||!(e<=8))&&11!==e&&(!(e>=14)||!(e<=31))&&(!(e>=127)||!(e<=159))&&!(e>1114111)}function a(e){return e>65535?String.fromCharCode(55296+((e-=65536)>>10),56320+(1023&e)):String.fromCharCode(e)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=RegExp(l.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),u=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,c=n(66313),d=/[&<>"]/,p=/[&<>"]/g,f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return f[e]}var m=/[.?*+^$[\]\\(){}|-]/g,v=n(32729);t.lib={},t.lib.mdurl=n(41525),t.lib.ucmicro=n(99462),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){if(t){if("object"!=typeof t)throw TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e},t.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},t.has=o,t.unescapeMd=function(e){return 0>e.indexOf("\\")?e:e.replace(l,"$1")},t.unescapeAll=function(e){return 0>e.indexOf("\\")&&0>e.indexOf("&")?e:e.replace(s,function(e,t,n){var r;return t||(r=0,o(c,n)?c[n]:35===n.charCodeAt(0)&&u.test(n)&&i(r="x"===n[1].toLowerCase()?parseInt(n.slice(2),16):parseInt(n.slice(1),10))?a(r):e)})},t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=function(e){return d.test(e)?e.replace(p,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return v.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return(e=e.trim().replace(/\s+/g," ")).toLowerCase().toUpperCase()}},20892:function(e,t,n){t.parseLinkLabel=n(75777),t.parseLinkDestination=n(57161),t.parseLinkTitle=n(1913)},57161:function(e,t,n){var r=n(6408).unescapeAll;e.exports=function(e,t,n){var o,i,a=t,l={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n&&10!==(o=e.charCodeAt(t))&&60!==o;){if(62===o){l.pos=t+1,l.str=r(e.slice(a+1,t)),l.ok=!0;break}if(92===o&&t+1<n){t+=2;continue}t++}return l}for(i=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32)&&127!==o;){if(92===o&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2;continue}if(40===o&&++i>32)return l;if(41===o){if(0===i)break;i--}t++}return a===t||0!==i||(l.str=r(e.slice(a,t)),l.lines=0,l.pos=t,l.ok=!0),l}},75777:function(e){e.exports=function(e,t,n){var r,o,i,a,l=-1,s=e.posMax,u=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(93===(i=e.src.charCodeAt(e.pos))&&0==--r){o=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===i){if(a===e.pos-1)r++;else if(n)return e.pos=u,-1}}return o&&(l=e.pos),e.pos=u,l}},1913:function(e,t,n){var r=n(6408).unescapeAll;e.exports=function(e,t,n){var o,i,a=0,l=t,s={ok:!1,pos:0,lines:0,str:""};if(t>=n||34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return s;for(t++,40===i&&(i=41);t<n;){if((o=e.charCodeAt(t))===i){s.pos=t+1,s.lines=a,s.str=r(e.slice(l+1,t)),s.ok=!0;break}if(40===o&&41===i)break;10===o?a++:92===o&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return s}},45869:function(e,t,n){var r=n(6408),o=n(20892),i=n(90831),a=n(39840),l=n(52678),s=n(66130),u=n(95171),c=n(41525),d=n(74e3),p={default:n(26473),zero:n(17163),commonmark:n(67621)},f=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!f.test(t)||!!h.test(t)}var v=["http:","https:","mailto:"];function g(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=d.toASCII(t.hostname)}catch(e){}return c.encode(c.format(t))}function y(e){var t=c.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=d.toUnicode(t.hostname)}catch(e){}return c.decode(c.format(t),c.decode.defaultChars+"%")}function b(e,t){if(!(this instanceof b))return new b(e,t);t||r.isString(e)||(t=e||{},e="default"),this.inline=new s,this.block=new l,this.core=new a,this.renderer=new i,this.linkify=new u,this.validateLink=m,this.normalizeLink=g,this.normalizeLinkText=y,this.utils=r,this.helpers=r.assign({},o),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return r.assign(this.options,e),this},b.prototype.configure=function(e){var t,n=this;if(r.isString(e)&&!(e=p[t=e]))throw Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},b.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return 0>n.indexOf(e)});if(r.length&&!t)throw Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},b.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return 0>n.indexOf(e)});if(r.length&&!t)throw Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!=typeof e)throw Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},52678:function(e,t,n){var r=n(3502),o=[["table",n(80565),["paragraph","reference"]],["code",n(72778)],["fence",n(5842),["paragraph","reference","blockquote","list"]],["blockquote",n(73763),["paragraph","reference","blockquote","list"]],["hr",n(80991),["paragraph","reference","blockquote","list"]],["list",n(80966),["paragraph","reference","blockquote"]],["reference",n(47017)],["html_block",n(89564),["paragraph","reference","blockquote"]],["heading",n(33436),["paragraph","reference","blockquote"]],["lheading",n(26713)],["paragraph",n(96019)]];function i(){this.ruler=new r;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,o=this.ruler.getRules(""),i=o.length,a=t,l=!1,s=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n)&&!(e.sCount[a]<e.blkIndent));){if(e.level>=s){e.line=n;break}for(r=0;r<i&&!o[r](e,a,n,!1);r++);e.tight=!l,e.isEmpty(e.line-1)&&(l=!0),(a=e.line)<n&&e.isEmpty(a)&&(l=!0,a++,e.line=a)}},i.prototype.parse=function(e,t,n,r){var o;e&&(o=new this.State(e,t,n,r),this.tokenize(o,o.line,o.lineMax))},i.prototype.State=n(97082),e.exports=i},39840:function(e,t,n){var r=n(3502),o=[["normalize",n(49371)],["block",n(39447)],["inline",n(95977)],["linkify",n(68991)],["replacements",n(94769)],["smartquotes",n(21082)]];function i(){this.ruler=new r;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}i.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},i.prototype.State=n(99070),e.exports=i},66130:function(e,t,n){var r=n(3502),o=[["text",n(32469)],["newline",n(77175)],["escape",n(52283)],["backticks",n(96696)],["strikethrough",n(27482).w],["emphasis",n(8849).w],["link",n(96245)],["image",n(66833)],["autolink",n(48793)],["html_inline",n(51815)],["entity",n(32798)]],i=[["balance_pairs",n(3628)],["strikethrough",n(27482).g],["emphasis",n(8849).g],["text_collapse",n(60182)]];function a(){var e;for(e=0,this.ruler=new r;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(e=0,this.ruler2=new r;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}a.prototype.skipToken=function(e){var t,n,r=e.pos,o=this.ruler.getRules(""),i=o.length,a=e.md.options.maxNesting,l=e.cache;if(void 0!==l[r]){e.pos=l[r];return}if(e.level<a)for(n=0;n<i&&(e.level++,t=o[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;!t&&e.pos++,l[r]=e.pos},a.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),o=r.length,i=e.posMax,a=e.md.options.maxNesting;e.pos<i;){if(e.level<a)for(n=0;n<o&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=i)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var o,i,a,l=new this.State(e,t,n,r);for(this.tokenize(l),a=(i=this.ruler2.getRules("")).length,o=0;o<a;o++)i[o](l)},a.prototype.State=n(36415),e.exports=a},67621:function(e){e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},26473:function(e){e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},17163:function(e){e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},90831:function(e,t,n){var r=n(6408).assign,o=n(6408).unescapeAll,i=n(6408).escapeHtml,a={};function l(){this.rules=r({},a)}a.code_inline=function(e,t,n,r,o){var a=e[t];return"<code"+o.renderAttrs(a)+">"+i(e[t].content)+"</code>"},a.code_block=function(e,t,n,r,o){var a=e[t];return"<pre"+o.renderAttrs(a)+"><code>"+i(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,n,r,a){var l,s,u,c,d=e[t],p=d.info?o(d.info).trim():"",f="",h="";return(p&&(f=(u=p.split(/(\s+)/g))[0],h=u.slice(2).join("")),0===(l=n.highlight&&n.highlight(d.content,f,h)||i(d.content)).indexOf("<pre"))?l+"\n":p?(s=d.attrIndex("class"),c=d.attrs?d.attrs.slice():[],s<0?c.push(["class",n.langPrefix+f]):(c[s]=c[s].slice(),c[s][1]+=" "+n.langPrefix+f),"<pre><code"+a.renderAttrs({attrs:c})+">"+l+"</code></pre>\n"):"<pre><code"+a.renderAttrs(d)+">"+l+"</code></pre>\n"},a.image=function(e,t,n,r,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return i(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},l.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(t=0,r="",n=e.attrs.length;t<n;t++)r+=" "+i(e.attrs[t][0])+'="'+i(e.attrs[t][1])+'"';return r},l.prototype.renderToken=function(e,t,n){var r,o="",i=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(o+="\n"),o+=(-1===a.nesting?"</":"<")+a.tag+this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(o+=" /"),a.block&&(i=!0,1===a.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden?i=!1:-1===r.nesting&&r.tag===a.tag&&(i=!1))),o+=i?">\n":">")},l.prototype.renderInline=function(e,t,n){for(var r,o="",i=this.rules,a=0,l=e.length;a<l;a++)void 0!==i[r=e[a].type]?o+=i[r](e,a,t,n,this):o+=this.renderToken(e,a,t);return o},l.prototype.renderInlineAsText=function(e,t,n){for(var r="",o=0,i=e.length;o<i;o++)"text"===e[o].type?r+=e[o].content:"image"===e[o].type?r+=this.renderInlineAsText(e[o].children,t,n):"softbreak"===e[o].type&&(r+="\n");return r},l.prototype.render=function(e,t,n){var r,o,i,a="",l=this.rules;for(r=0,o=e.length;r<o;r++)"inline"===(i=e[r].type)?a+=this.renderInline(e[r].children,t,n):void 0!==l[i]?a+=l[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=l},3502:function(e){function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return -1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){0>t.indexOf(e)&&t.push(e)})}),e.__cache__={},t.forEach(function(t){e.__cache__[t]=[],e.__rules__.forEach(function(n){!n.enabled||t&&0>n.alt.indexOf(t)||e.__cache__[t].push(n.fn)})})},t.prototype.at=function(e,t,n){var r=this.__find__(e);if(-1===r)throw Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=(n||{}).alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var o=this.__find__(e);if(-1===o)throw Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:n,alt:(r||{}).alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var o=this.__find__(e);if(-1===o)throw Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:n,alt:(r||{}).alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(n||{}).alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)},this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var r=this.__find__(e);if(r<0){if(t)return;throw Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)},this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},73763:function(e,t,n){var r=n(6408).isSpace;e.exports=function(e,t,n,o){var i,a,l,s,u,c,d,p,f,h,m,v,g,y,b,E,x,C,w,k,S=e.lineMax,_=e.bMarks[t]+e.tShift[t],T=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||62!==e.src.charCodeAt(_++))return!1;if(o)return!0;for(s=f=e.sCount[t]+1,32===e.src.charCodeAt(_)?(_++,s++,f++,i=!1,E=!0):9===e.src.charCodeAt(_)?(E=!0,(e.bsCount[t]+f)%4==3?(_++,s++,f++,i=!1):i=!0):E=!1,h=[e.bMarks[t]],e.bMarks[t]=_;_<T&&r(a=e.src.charCodeAt(_));)9===a?f+=4-(f+e.bsCount[t]+(i?1:0))%4:f++,_++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(E?1:0),c=_>=T,y=[e.sCount[t]],e.sCount[t]=f-s,b=[e.tShift[t]],e.tShift[t]=_-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",p=t+1;p<n&&(k=e.sCount[p]<e.blkIndent,!((_=e.bMarks[p]+e.tShift[p])>=(T=e.eMarks[p])));p++){if(62===e.src.charCodeAt(_++)&&!k){for(s=f=e.sCount[p]+1,32===e.src.charCodeAt(_)?(_++,s++,f++,i=!1,E=!0):9===e.src.charCodeAt(_)?(E=!0,(e.bsCount[p]+f)%4==3?(_++,s++,f++,i=!1):i=!0):E=!1,h.push(e.bMarks[p]),e.bMarks[p]=_;_<T&&r(a=e.src.charCodeAt(_));)9===a?f+=4-(f+e.bsCount[p]+(i?1:0))%4:f++,_++;c=_>=T,m.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(E?1:0),y.push(e.sCount[p]),e.sCount[p]=f-s,b.push(e.tShift[p]),e.tShift[p]=_-e.bMarks[p];continue}if(c)break;for(l=0,x=!1,u=C.length;l<u;l++)if(C[l](e,p,n,!0)){x=!0;break}if(x){e.lineMax=p,0!==e.blkIndent&&(h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}h.push(e.bMarks[p]),m.push(e.bsCount[p]),b.push(e.tShift[p]),y.push(e.sCount[p]),e.sCount[p]=-1}for(v=e.blkIndent,e.blkIndent=0,(w=e.push("blockquote_open","blockquote",1)).markup=">",w.map=d=[t,0],e.md.block.tokenize(e,t,p),(w=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=S,e.parentType=g,d[1]=e.line,l=0;l<b.length;l++)e.bMarks[l+t]=h[l],e.tShift[l+t]=b[l],e.sCount[l+t]=y[l],e.bsCount[l+t]=m[l];return e.blkIndent=v,!0}},72778:function(e){e.exports=function(e,t,n){var r,o,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=r=t+1;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){o=++r;continue}break}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}},5842:function(e){e.exports=function(e,t,n,r){var o,i,a,l,s,u,c,d=!1,p=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||p+3>f||126!==(o=e.src.charCodeAt(p))&&96!==o||(s=p,(i=(p=e.skipChars(p,o))-s)<3)||(c=e.src.slice(s,p),a=e.src.slice(p,f),96===o&&a.indexOf(String.fromCharCode(o))>=0))return!1;if(r)return!0;for(l=t;!(++l>=n)&&(!((p=s=e.bMarks[l]+e.tShift[l])<(f=e.eMarks[l]))||!(e.sCount[l]<e.blkIndent));)if(!(e.src.charCodeAt(p)!==o||e.sCount[l]-e.blkIndent>=4||(p=e.skipChars(p,o))-s<i||(p=e.skipSpaces(p))<f)){d=!0;break}return i=e.sCount[t],e.line=l+(d?1:0),(u=e.push("fence","code",0)).info=a,u.content=e.getLines(t+1,l,i,!0),u.markup=c,u.map=[t,e.line],!0}},33436:function(e,t,n){var r=n(6408).isSpace;e.exports=function(e,t,n,o){var i,a,l,s,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||35!==(i=e.src.charCodeAt(u))||u>=c)return!1;for(a=1,i=e.src.charCodeAt(++u);35===i&&u<c&&a<=6;)a++,i=e.src.charCodeAt(++u);return!(a>6)&&(!(u<c)||!!r(i))&&(!!o||(c=e.skipSpacesBack(c,u),(l=e.skipCharsBack(c,35,u))>u&&r(e.src.charCodeAt(l-1))&&(c=l),e.line=t+1,(s=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),s.map=[t,e.line],(s=e.push("inline","",0)).content=e.src.slice(u,c).trim(),s.map=[t,e.line],s.children=[],(s=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a),!0))}},80991:function(e,t,n){var r=n(6408).isSpace;e.exports=function(e,t,n,o){var i,a,l,s,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||42!==(i=e.src.charCodeAt(u++))&&45!==i&&95!==i)return!1;for(a=1;u<c;){if((l=e.src.charCodeAt(u++))!==i&&!r(l))return!1;l===i&&a++}return!(a<3)&&(!!o||(e.line=t+1,(s=e.push("hr","hr",0)).map=[t,e.line],s.markup=Array(a+1).join(String.fromCharCode(i)),!0))}},89564:function(e,t,n){var r=n(6287),o=n(98655).q,i=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){var o,a,l,s,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||60!==e.src.charCodeAt(u))return!1;for(o=0,s=e.src.slice(u,c);o<i.length&&!i[o][0].test(s);o++);if(o===i.length)return!1;if(r)return i[o][2];if(a=t+1,!i[o][1].test(s)){for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(u=e.bMarks[a]+e.tShift[a],c=e.eMarks[a],s=e.src.slice(u,c),i[o][1].test(s)){0!==s.length&&a++;break}}return e.line=a,(l=e.push("html_block","",0)).map=[t,a],l.content=e.getLines(t,a,e.blkIndent,!0),!0}},26713:function(e){e.exports=function(e,t,n){var r,o,i,a,l,s,u,c,d,p,f=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(p=e.parentType,e.parentType="paragraph";f<n&&!e.isEmpty(f);f++)if(!(e.sCount[f]-e.blkIndent>3)){if(e.sCount[f]>=e.blkIndent&&(s=e.bMarks[f]+e.tShift[f])<(u=e.eMarks[f])&&(45===(d=e.src.charCodeAt(s))||61===d)&&(s=e.skipChars(s,d),(s=e.skipSpaces(s))>=u)){c=61===d?1:2;break}if(!(e.sCount[f]<0)){for(i=0,o=!1,a=h.length;i<a;i++)if(h[i](e,f,n,!0)){o=!0;break}if(o)break}}return!!c&&(r=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,(l=e.push("heading_open","h"+String(c),1)).markup=String.fromCharCode(d),l.map=[t,e.line],(l=e.push("inline","",0)).content=r,l.map=[t,e.line-1],l.children=[],(l=e.push("heading_close","h"+String(c),-1)).markup=String.fromCharCode(d),e.parentType=p,!0)}},80966:function(e,t,n){var r=n(6408).isSpace;function o(e,t){var n,o,i;return(o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(n=e.src.charCodeAt(o++))&&45!==n&&43!==n||o<i&&!r(e.src.charCodeAt(o)))?-1:o}function i(e,t){var n,o=e.bMarks[t]+e.tShift[t],i=o,a=e.eMarks[t];if(i+1>=a||(n=e.src.charCodeAt(i++))<48||n>57)return -1;for(;;){if(i>=a)return -1;if((n=e.src.charCodeAt(i++))>=48&&n<=57){if(i-o>=10)return -1;continue}if(41===n||46===n)break;return -1}return i<a&&!r(n=e.src.charCodeAt(i))?-1:i}e.exports=function(e,t,n,r){var a,l,s,u,c,d,p,f,h,m,v,g,y,b,E,x,C,w,k,S,_,T,A,D,O,R,L,N,M=!1,P=!0;if(e.sCount[t]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(M=!0),(A=i(e,t))>=0){if(p=!0,O=e.bMarks[t]+e.tShift[t],y=Number(e.src.slice(O,A-1)),M&&1!==y)return!1}else{if(!((A=o(e,t))>=0))return!1;p=!1}if(M&&e.skipSpaces(A)>=e.eMarks[t])return!1;if(g=e.src.charCodeAt(A-1),r)return!0;for(v=e.tokens.length,p?(N=e.push("ordered_list_open","ol",1),1!==y&&(N.attrs=[["start",y]])):N=e.push("bullet_list_open","ul",1),N.map=m=[t,0],N.markup=String.fromCharCode(g),E=t,D=!1,L=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";E<n;){for(T=A,b=e.eMarks[E],d=x=e.sCount[E]+A-(e.bMarks[t]+e.tShift[t]);T<b;){if(9===(a=e.src.charCodeAt(T)))x+=4-(x+e.bsCount[E])%4;else if(32===a)x++;else break;T++}if((c=(l=T)>=b?1:x-d)>4&&(c=1),u=d+c,(N=e.push("list_item_open","li",1)).markup=String.fromCharCode(g),N.map=f=[t,0],p&&(N.info=e.src.slice(O,A-1)),_=e.tight,S=e.tShift[t],k=e.sCount[t],C=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=u,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=x,l>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),(!e.tight||D)&&(P=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[t]=S,e.sCount[t]=k,e.tight=_,(N=e.push("list_item_close","li",-1)).markup=String.fromCharCode(g),E=t=e.line,f[1]=E,l=e.bMarks[t],E>=n||e.sCount[E]<e.blkIndent||e.sCount[t]-e.blkIndent>=4)break;for(s=0,R=!1,h=L.length;s<h;s++)if(L[s](e,E,n,!0)){R=!0;break}if(R)break;if(p){if((A=i(e,E))<0)break;O=e.bMarks[E]+e.tShift[E]}else if((A=o(e,E))<0)break;if(g!==e.src.charCodeAt(A-1))break}return(N=p?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(g),m[1]=E,e.line=E,e.parentType=w,P&&function(e,t){var n,r,o=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===o&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,v),!0}},96019:function(e){e.exports=function(e,t){var n,r,o,i,a,l,s=t+1,u=e.md.block.ruler.getRules("paragraph"),c=e.lineMax;for(l=e.parentType,e.parentType="paragraph";s<c&&!e.isEmpty(s);s++)if(!(e.sCount[s]-e.blkIndent>3)&&!(e.sCount[s]<0)){for(o=0,r=!1,i=u.length;o<i;o++)if(u[o](e,s,c,!0)){r=!0;break}if(r)break}return n=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=l,!0}},47017:function(e,t,n){var r=n(6408).normalizeReference,o=n(6408).isSpace;e.exports=function(e,t,n,i){var a,l,s,u,c,d,p,f,h,m,v,g,y,b,E,x,C=0,w=e.bMarks[t]+e.tShift[t],k=e.eMarks[t],S=t+1;if(e.sCount[t]-e.blkIndent>=4||91!==e.src.charCodeAt(w))return!1;for(;++w<k;)if(93===e.src.charCodeAt(w)&&92!==e.src.charCodeAt(w-1)){if(w+1===k||58!==e.src.charCodeAt(w+1))return!1;break}for(u=e.lineMax,E=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";S<u&&!e.isEmpty(S);S++)if(!(e.sCount[S]-e.blkIndent>3)&&!(e.sCount[S]<0)){for(d=0,b=!1,p=E.length;d<p;d++)if(E[d](e,S,u,!0)){b=!0;break}if(b)break}for(w=1,k=(y=e.getLines(t,S,e.blkIndent,!1).trim()).length;w<k;w++){if(91===(a=y.charCodeAt(w)))return!1;if(93===a){h=w;break}10===a?C++:92===a&&++w<k&&10===y.charCodeAt(w)&&C++}if(h<0||58!==y.charCodeAt(h+1))return!1;for(w=h+2;w<k;w++)if(10===(a=y.charCodeAt(w)))C++;else if(o(a));else break;if(!(v=e.md.helpers.parseLinkDestination(y,w,k)).ok||(c=e.md.normalizeLink(v.str),!e.md.validateLink(c)))return!1;for(w=v.pos,C+=v.lines,l=w,s=C,g=w;w<k;w++)if(10===(a=y.charCodeAt(w)))C++;else if(o(a));else break;for(v=e.md.helpers.parseLinkTitle(y,w,k),w<k&&g!==w&&v.ok?(x=v.str,w=v.pos,C+=v.lines):(x="",w=l,C=s);w<k&&o(a=y.charCodeAt(w));)w++;if(w<k&&10!==y.charCodeAt(w)&&x)for(x="",w=l,C=s;w<k&&o(a=y.charCodeAt(w));)w++;return!!((!(w<k)||10===y.charCodeAt(w))&&(f=r(y.slice(1,h))))&&(!!i||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[f]&&(e.env.references[f]={title:x,href:c}),e.parentType=m,e.line=t+C+1,!0))}},97082:function(e,t,n){var r=n(83120),o=n(6408).isSpace;function i(e,t,n,r){var i,a,l,s,u,c,d,p;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",a=this.src,p=!1,l=s=c=d=0,u=a.length;s<u;s++){if(i=a.charCodeAt(s),!p){if(o(i)){c++,9===i?d+=4-d%4:d++;continue}p=!0}(10===i||s===u-1)&&(10!==i&&s++,this.bMarks.push(l),this.eMarks.push(s),this.tShift.push(c),this.sCount.push(d),this.bsCount.push(0),p=!1,c=0,d=0,l=s+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,t,n){var o=new r(e,t,n);return o.block=!0,n<0&&this.level--,o.level=this.level,n>0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t=this.src.length;e<t&&o(this.src.charCodeAt(e));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,r){var i,a,l,s,u,c,d,p=e;if(e>=t)return"";for(i=0,c=Array(t-e);p<t;p++,i++){for(a=0,d=s=this.bMarks[p],u=p+1<t||r?this.eMarks[p]+1:this.eMarks[p];s<u&&a<n;){if(o(l=this.src.charCodeAt(s)))9===l?a+=4-(a+this.bsCount[p])%4:a++;else if(s-d<this.tShift[p])a++;else break;s++}a>n?c[i]=Array(a-n+1).join(" ")+this.src.slice(s,u):c[i]=this.src.slice(s,u)}return c.join("")},i.prototype.Token=r,e.exports=i},80565:function(e,t,n){var r=n(6408).isSpace;function o(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,o=e.length,i=!1,a=0,l="";for(t=e.charCodeAt(r);r<o;)124===t&&(i?(l+=e.substring(a,r-1),a=r):(n.push(l+e.substring(a,r)),l="",a=r+1)),i=92===t,r++,t=e.charCodeAt(r);return n.push(l+e.substring(a)),n}e.exports=function(e,t,n,a){var l,s,u,c,d,p,f,h,m,v,g,y,b,E,x,C,w,k;if(t+2>n||(p=t+1,e.sCount[p]<e.blkIndent||e.sCount[p]-e.blkIndent>=4||(u=e.bMarks[p]+e.tShift[p])>=e.eMarks[p]||124!==(w=e.src.charCodeAt(u++))&&45!==w&&58!==w||u>=e.eMarks[p]||124!==(k=e.src.charCodeAt(u++))&&45!==k&&58!==k&&!r(k)||45===w&&r(k)))return!1;for(;u<e.eMarks[p];){if(124!==(l=e.src.charCodeAt(u))&&45!==l&&58!==l&&!r(l))return!1;u++}for(c=0,f=(s=o(e,t+1)).split("|"),v=[];c<f.length;c++){if(!(g=f[c].trim())){if(0===c||c===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;58===g.charCodeAt(g.length-1)?v.push(58===g.charCodeAt(0)?"center":"right"):58===g.charCodeAt(0)?v.push("left"):v.push("")}if(-1===(s=o(e,t).trim()).indexOf("|")||e.sCount[t]-e.blkIndent>=4||((f=i(s)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),0===(h=f.length)||h!==v.length))return!1;if(a)return!0;for(c=0,E=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),(m=e.push("table_open","table",1)).map=y=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1];c<f.length;c++)m=e.push("th_open","th",1),v[c]&&(m.attrs=[["style","text-align:"+v[c]]]),(m=e.push("inline","",0)).content=f[c].trim(),m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),p=t+2;p<n&&!(e.sCount[p]<e.blkIndent);p++){for(c=0,x=!1,d=C.length;c<d;c++)if(C[c](e,p,n,!0)){x=!0;break}if(x||!(s=o(e,p).trim())||e.sCount[p]-e.blkIndent>=4)break;for((f=i(s)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),p===t+2&&((m=e.push("tbody_open","tbody",1)).map=b=[t+2,0]),(m=e.push("tr_open","tr",1)).map=[p,p+1],c=0;c<h;c++)m=e.push("td_open","td",1),v[c]&&(m.attrs=[["style","text-align:"+v[c]]]),(m=e.push("inline","",0)).content=f[c]?f[c].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return b&&(m=e.push("tbody_close","tbody",-1),b[1]=p),m=e.push("table_close","table",-1),y[1]=p,e.parentType=E,e.line=p,!0}},39447:function(e){e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},95977:function(e){e.exports=function(e){var t,n,r,o=e.tokens;for(n=0,r=o.length;n<r;n++)"inline"===(t=o[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},68991:function(e,t,n){var r=n(6408).arrayReplaceAt;e.exports=function(e){var t,n,o,i,a,l,s,u,c,d,p,f,h,m,v,g,y,b,E,x=e.tokens;if(e.md.options.linkify){for(i=0,a=x.length;i<a;i++)if("inline"===x[i].type&&e.md.linkify.pretest(x[i].content))for(l=x[i].children,v=0,o=l.length-1;o>=0;o--){if("link_close"===(u=l[o]).type){for(o--;l[o].level!==u.level&&"link_open"!==l[o].type;)o--;continue}if("html_inline"===u.type&&(t=u.content,/^<a[>\s]/i.test(t)&&v>0&&v--,n=u.content,/^<\/a\s*>/i.test(n)&&v++),!(v>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(d=0,p=u.content,E=e.md.linkify.match(p),c=[],m=u.level,h=0;d<E.length;d++)g=E[d].url,y=e.md.normalizeLink(g),e.md.validateLink(y)&&(b=E[d].text,b=E[d].schema?"mailto:"!==E[d].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),(f=E[d].index)>h&&((s=new e.Token("text","",0)).content=p.slice(h,f),s.level=m,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",y]],s.level=m++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=b,s.level=m,c.push(s),(s=new e.Token("link_close","a",-1)).level=--m,s.markup="linkify",s.info="auto",c.push(s),h=E[d].lastIndex);h<p.length&&((s=new e.Token("text","",0)).content=p.slice(h),s.level=m,c.push(s)),x[i].children=l=r(l,o,c)}}}}},49371:function(e){var t=/\r\n?|\n/g,n=/\0/g;e.exports=function(e){var r;r=(r=e.src.replace(t,"\n")).replace(n,"�"),e.src=r}},94769:function(e){var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/ig,o={c:"\xa9",r:"\xae",p:"\xa7",tm:"™"};function i(e,t){return o[t.toLowerCase()]}e.exports=function(e){var o;if(e.md.options.typographer)for(o=e.tokens.length-1;o>=0;o--)"inline"===e.tokens[o].type&&(n.test(e.tokens[o].content)&&function(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||o||(n.content=n.content.replace(r,i)),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}(e.tokens[o].children),t.test(e.tokens[o].content)&&function(e){var n,r,o=0;for(n=e.length-1;n>=0;n--)"text"===(r=e[n]).type&&!o&&t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}(e.tokens[o].children))}},21082:function(e,t,n){var r=n(6408).isWhiteSpace,o=n(6408).isPunctChar,i=n(6408).isMdAsciiPunct,a=/['"]/,l=/['"]/g;function s(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&function(e,t){var n,a,u,c,d,p,f,h,m,v,g,y,b,E,x,C,w,k,S,_,T;for(n=0,S=[];n<e.length;n++){for(a=e[n],f=e[n].level,w=S.length-1;w>=0&&!(S[w].level<=f);w--);if(S.length=w+1,"text"===a.type){u=a.content,d=0,p=u.length;e:for(;d<p&&(l.lastIndex=d,c=l.exec(u));){if(x=C=!0,d=c.index+1,k="'"===c[0],m=32,c.index-1>=0)m=u.charCodeAt(c.index-1);else for(w=n-1;w>=0&&"softbreak"!==e[w].type&&"hardbreak"!==e[w].type;w--)if(e[w].content){m=e[w].content.charCodeAt(e[w].content.length-1);break}if(v=32,d<p)v=u.charCodeAt(d);else for(w=n+1;w<e.length&&"softbreak"!==e[w].type&&"hardbreak"!==e[w].type;w++)if(e[w].content){v=e[w].content.charCodeAt(0);break}if(g=i(m)||o(String.fromCharCode(m)),y=i(v)||o(String.fromCharCode(v)),b=r(m),(E=r(v))?x=!1:y&&!(b||g)&&(x=!1),b?C=!1:g&&!(E||y)&&(C=!1),34===v&&'"'===c[0]&&m>=48&&m<=57&&(C=x=!1),x&&C&&(x=g,C=y),!x&&!C){k&&(a.content=s(a.content,c.index,"’"));continue}if(C){for(w=S.length-1;w>=0&&(h=S[w],!(S[w].level<f));w--)if(h.single===k&&S[w].level===f){h=S[w],k?(_=t.md.options.quotes[2],T=t.md.options.quotes[3]):(_=t.md.options.quotes[0],T=t.md.options.quotes[1]),a.content=s(a.content,c.index,T),e[h.token].content=s(e[h.token].content,h.pos,_),d+=T.length-1,h.token===n&&(d+=_.length-1),p=(u=a.content).length,S.length=w;continue e}}x?S.push({token:n,pos:c.index,single:k,level:f}):C&&k&&(a.content=s(a.content,c.index,"’"))}}}}(e.tokens[t].children,e)}},99070:function(e,t,n){var r=n(83120);function o(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=r,e.exports=o},48793:function(e){var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var o,i,a,l,s,u,c=e.pos;if(60!==e.src.charCodeAt(c))return!1;for(s=e.pos,u=e.posMax;;){if(++c>=u||60===(l=e.src.charCodeAt(c)))return!1;if(62===l)break}return(o=e.src.slice(s+1,c),n.test(o))?(i=e.md.normalizeLink(o),!!e.md.validateLink(i)&&(r||((a=e.push("link_open","a",1)).attrs=[["href",i]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(o),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=o.length+2,!0)):!!t.test(o)&&(i=e.md.normalizeLink("mailto:"+o),!!e.md.validateLink(i)&&(r||((a=e.push("link_open","a",1)).attrs=[["href",i]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(o),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=o.length+2,!0))}},96696:function(e){e.exports=function(e,t){var n,r,o,i,a,l,s,u,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(n=c,c++,r=e.posMax;c<r&&96===e.src.charCodeAt(c);)c++;if(s=(o=e.src.slice(n,c)).length,e.backticksScanned&&(e.backticks[s]||0)<=n)return t||(e.pending+=o),e.pos+=s,!0;for(a=l=c;-1!==(a=e.src.indexOf("`",l));){for(l=a+1;l<r&&96===e.src.charCodeAt(l);)l++;if((u=l-a)===s)return t||((i=e.push("code_inline","code",0)).markup=o,i.content=e.src.slice(c,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=l,!0;e.backticks[u]=a}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=s,!0}},3628:function(e){function t(e,t){var n,r,o,i,a,l,s,u,c={},d=t.length;if(d){var p=0,f=-2,h=[];for(n=0;n<d;n++)if(o=t[n],h.push(0),(t[p].marker!==o.marker||f!==o.token-1)&&(p=n),f=o.token,o.length=o.length||0,o.close){for(c.hasOwnProperty(o.marker)||(c[o.marker]=[-1,-1,-1,-1,-1,-1]),a=c[o.marker][(o.open?3:0)+o.length%3],l=r=p-h[p]-1;r>a;r-=h[r]+1)if((i=t[r]).marker===o.marker&&i.open&&i.end<0&&(s=!1,(i.close||o.open)&&(i.length+o.length)%3==0&&(i.length%3!=0||o.length%3!=0)&&(s=!0),!s)){u=r>0&&!t[r-1].open?h[r-1]+1:0,h[n]=n-r+u,h[r]=u,o.open=!1,i.end=n,i.close=!1,l=-1,f=-2;break}-1!==l&&(c[o.marker][(o.open?3:0)+(o.length||0)%3]=l)}}}e.exports=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},8849:function(e){function t(e,t){var n,r,o,i,a,l;for(n=t.length-1;n>=0;n--)(95===(r=t[n]).marker||42===r.marker)&&-1!==r.end&&(o=t[r.end],l=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===o.token+1,a=String.fromCharCode(r.marker),(i=e.tokens[r.token]).type=l?"strong_open":"em_open",i.tag=l?"strong":"em",i.nesting=1,i.markup=l?a+a:a,i.content="",(i=e.tokens[o.token]).type=l?"strong_close":"em_close",i.tag=l?"strong":"em",i.nesting=-1,i.markup=l?a+a:a,i.content="",l&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.w=function(e,t){var n,r,o=e.pos,i=e.src.charCodeAt(o);if(t||95!==i&&42!==i)return!1;for(n=0,r=e.scanDelims(e.pos,42===i);n<r.length;n++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},32798:function(e,t,n){var r=n(66313),o=n(6408).has,i=n(6408).isValidEntityCode,a=n(6408).fromCodePoint,l=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,s=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,u,c=e.pos,d=e.posMax;if(38!==e.src.charCodeAt(c))return!1;if(c+1<d){if(35===e.src.charCodeAt(c+1)){if(u=e.src.slice(c).match(l))return t||(n="x"===u[1][0].toLowerCase()?parseInt(u[1].slice(1),16):parseInt(u[1],10),e.pending+=i(n)?a(n):a(65533)),e.pos+=u[0].length,!0}else if((u=e.src.slice(c).match(s))&&o(r,u[1]))return t||(e.pending+=r[u[1]]),e.pos+=u[0].length,!0}return t||(e.pending+="&"),e.pos++,!0}},52283:function(e,t,n){for(var r=n(6408).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){o[e.charCodeAt(0)]=1}),e.exports=function(e,t){var n,i=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i<a){if((n=e.src.charCodeAt(i))<256&&0!==o[n])return t||(e.pending+=e.src[i]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),i++;i<a&&r(n=e.src.charCodeAt(i));)i++;return e.pos=i,!0}}return t||(e.pending+="\\"),e.pos++,!0}},51815:function(e,t,n){var r=n(98655).n;e.exports=function(e,t){var n,o,i,a,l=e.pos;return!!e.md.options.html&&(a=e.posMax,60===e.src.charCodeAt(l)&&!(l+2>=a))&&!!((33===(o=e.src.charCodeAt(l+1))||63===o||47===o||(n=32|o)>=97&&n<=122)&&(i=e.src.slice(l).match(r)))&&(t||(e.push("html_inline","",0).content=e.src.slice(l,l+i[0].length)),e.pos+=i[0].length,!0)}},66833:function(e,t,n){var r=n(6408).normalizeReference,o=n(6408).isSpace;e.exports=function(e,t){var n,i,a,l,s,u,c,d,p,f,h,m,v,g="",y=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos)||91!==e.src.charCodeAt(e.pos+1)||(u=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0))return!1;if((c=s+1)<b&&40===e.src.charCodeAt(c)){for(c++;c<b&&(o(i=e.src.charCodeAt(c))||10===i);c++);if(c>=b)return!1;for(v=c,(p=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok&&(g=e.md.normalizeLink(p.str),e.md.validateLink(g)?c=p.pos:g=""),v=c;c<b&&(o(i=e.src.charCodeAt(c))||10===i);c++);if(p=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<b&&v!==c&&p.ok)for(f=p.str,c=p.pos;c<b&&(o(i=e.src.charCodeAt(c))||10===i);c++);else f="";if(c>=b||41!==e.src.charCodeAt(c))return e.pos=y,!1;c++}else{if(void 0===e.env.references)return!1;if(c<b&&91===e.src.charCodeAt(c)?(v=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?l=e.src.slice(v,c++):c=s+1):c=s+1,l||(l=e.src.slice(u,s)),!(d=e.env.references[r(l)]))return e.pos=y,!1;g=d.href,f=d.title}return!t&&(a=e.src.slice(u,s),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push("image","img",0)).attrs=n=[["src",g],["alt",""]],h.children=m,h.content=a,f&&n.push(["title",f])),e.pos=c,e.posMax=b,!0}},96245:function(e,t,n){var r=n(6408).normalizeReference,o=n(6408).isSpace;e.exports=function(e,t){var n,i,a,l,s,u,c,d,p="",f="",h=e.pos,m=e.posMax,v=e.pos,g=!0;if(91!==e.src.charCodeAt(e.pos)||(s=e.pos+1,(l=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0))return!1;if((u=l+1)<m&&40===e.src.charCodeAt(u)){for(g=!1,u++;u<m&&(o(i=e.src.charCodeAt(u))||10===i);u++);if(u>=m)return!1;if(v=u,(c=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok){for(p=e.md.normalizeLink(c.str),e.md.validateLink(p)?u=c.pos:p="",v=u;u<m&&(o(i=e.src.charCodeAt(u))||10===i);u++);if(c=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<m&&v!==u&&c.ok)for(f=c.str,u=c.pos;u<m&&(o(i=e.src.charCodeAt(u))||10===i);u++);}(u>=m||41!==e.src.charCodeAt(u))&&(g=!0),u++}if(g){if(void 0===e.env.references)return!1;if(u<m&&91===e.src.charCodeAt(u)?(v=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?a=e.src.slice(v,u++):u=l+1):u=l+1,a||(a=e.src.slice(s,l)),!(d=e.env.references[r(a)]))return e.pos=h,!1;p=d.href,f=d.title}return t||(e.pos=s,e.posMax=l,e.push("link_open","a",1).attrs=n=[["href",p]],f&&n.push(["title",f]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=u,e.posMax=m,!0}},77175:function(e,t,n){var r=n(6408).isSpace;e.exports=function(e,t){var n,o,i,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;if(n=e.pending.length-1,o=e.posMax,!t){if(n>=0&&32===e.pending.charCodeAt(n)){if(n>=1&&32===e.pending.charCodeAt(n-1)){for(i=n-1;i>=1&&32===e.pending.charCodeAt(i-1);)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)}else e.push("softbreak","br",0)}for(a++;a<o&&r(e.src.charCodeAt(a));)a++;return e.pos=a,!0}},36415:function(e,t,n){var r=n(83120),o=n(6408).isWhiteSpace,i=n(6408).isPunctChar,a=n(6408).isMdAsciiPunct;function l(e,t,n,r){this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}l.prototype.pushPending=function(){var e=new r("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},l.prototype.push=function(e,t,n){this.pending&&this.pushPending();var o=new r(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),o.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(i),o},l.prototype.scanDelims=function(e,t){var n,r,l,s,u,c,d,p,f,h=e,m=!0,v=!0,g=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<g&&this.src.charCodeAt(h)===y;)h++;return l=h-e,r=h<g?this.src.charCodeAt(h):32,d=a(n)||i(String.fromCharCode(n)),f=a(r)||i(String.fromCharCode(r)),c=o(n),(p=o(r))?m=!1:f&&!(c||d)&&(m=!1),c?v=!1:d&&!(p||f)&&(v=!1),t?(s=m,u=v):(s=m&&(!v||d),u=v&&(!m||f)),{can_open:s,can_close:u,length:l}},l.prototype.Token=r,e.exports=l},27482:function(e){function t(e,t){var n,r,o,i,a,l=[],s=t.length;for(n=0;n<s;n++)126===(o=t[n]).marker&&-1!==o.end&&(i=t[o.end],(a=e.tokens[o.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=e.tokens[i.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&l.push(i.token-1));for(;l.length;){for(r=(n=l.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(a=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=a)}}e.exports.w=function(e,t){var n,r,o,i,a=e.pos,l=e.src.charCodeAt(a);if(t||126!==l||(o=(r=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(l),o<2))return!1;for(o%2&&(e.push("text","",0).content=i,o--),n=0;n<o;n+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},32469:function(e){e.exports=function(e,t){for(var n=e.pos;n<e.posMax&&!function(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}},60182:function(e){e.exports=function(e){var t,n,r=0,o=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++)o[t].nesting<0&&r--,o[t].level=r,o[t].nesting>0&&r++,"text"===o[t].type&&t+1<i&&"text"===o[t+1].type?o[t+1].content=o[t].content+o[t+1].content:(t!==n&&(o[n]=o[t]),n++);t!==n&&(o.length=n)}},83120:function(e){function t(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return -1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return -1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},27958:function(e){var t={};function n(e,r){var o;return"string"!=typeof r&&(r=n.defaultChars),o=function(e){var n,r,o=t[e];if(o)return o;for(n=0,o=t[e]=[];n<128;n++)r=String.fromCharCode(n),o.push(r);for(n=0;n<e.length;n++)o[r=e.charCodeAt(n)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return o}(r),e.replace(/(%[a-f0-9]{2})+/gi,function(e){var t,n,r,i,a,l,s,u="";for(t=0,n=e.length;t<n;t+=3){if((r=parseInt(e.slice(t+1,t+3),16))<128){u+=o[r];continue}if((224&r)==192&&t+3<n&&(192&(i=parseInt(e.slice(t+4,t+6),16)))==128){(s=r<<6&1984|63&i)<128?u+="��":u+=String.fromCharCode(s),t+=3;continue}if((240&r)==224&&t+6<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),(192&i)==128&&(192&a)==128)){(s=r<<12&61440|i<<6&4032|63&a)<2048||s>=55296&&s<=57343?u+="���":u+=String.fromCharCode(s),t+=6;continue}if((248&r)==240&&t+9<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),l=parseInt(e.slice(t+10,t+12),16),(192&i)==128&&(192&a)==128&&(192&l)==128)){(s=r<<18&1835008|i<<12&258048|a<<6&4032|63&l)<65536||s>1114111?u+="����":(s-=65536,u+=String.fromCharCode(55296+(s>>10),56320+(1023&s))),t+=9;continue}u+="�"}return u})}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},53554:function(e){var t={};function n(e,r,o){var i,a,l,s,u,c="";for("string"!=typeof r&&(o=r,r=n.defaultChars),void 0===o&&(o=!0),u=function(e){var n,r,o=t[e];if(o)return o;for(n=0,o=t[e]=[];n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)o[e.charCodeAt(n)]=e[n];return o}(r),i=0,a=e.length;i<a;i++){if(l=e.charCodeAt(i),o&&37===l&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3))){c+=e.slice(i,i+3),i+=2;continue}if(l<128){c+=u[l];continue}if(l>=55296&&l<=57343){if(l>=55296&&l<=56319&&i+1<a&&(s=e.charCodeAt(i+1))>=56320&&s<=57343){c+=encodeURIComponent(e[i]+e[i+1]),i++;continue}c+="%EF%BF%BD";continue}c+=encodeURIComponent(e[i])}return c}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},95949:function(e){e.exports=function(e){var t="";return t+=(e.protocol||"")+(e.slashes?"//":"")+(e.auth?e.auth+"@":""),e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=(e.port?":"+e.port:"")+(e.pathname||"")+(e.search||"")+(e.hash||"")}},41525:function(e,t,n){e.exports.encode=n(53554),e.exports.decode=n(27958),e.exports.format=n(95949),e.exports.parse=n(34077)},34077:function(e){function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["%","/","?",";","#"].concat(["'"].concat(["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n"," "]))),a=["/","?","#"],l=/^[+a-z0-9A-Z_-]{0,63}$/,s=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,u={javascript:!0,"javascript:":!0},c={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,d,p,f,h,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var v=o.exec(m);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}var g=n.exec(m);if(g&&(p=(g=g[0]).toLowerCase(),this.protocol=g,m=m.substr(g.length)),(t||g||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(h="//"===m.substr(0,2))&&!(g&&u[g])&&(m=m.substr(2),this.slashes=!0),!u[g]&&(h||g&&!c[g])){var y,b,E=-1;for(r=0;r<a.length;r++)-1!==(f=m.indexOf(a[r]))&&(-1===E||f<E)&&(E=f);for(-1!==(b=-1===E?m.lastIndexOf("@"):m.lastIndexOf("@",E))&&(y=m.slice(0,b),m=m.slice(b+1),this.auth=y),E=-1,r=0;r<i.length;r++)-1!==(f=m.indexOf(i[r]))&&(-1===E||f<E)&&(E=f);-1===E&&(E=m.length),":"===m[E-1]&&E--;var x=m.slice(0,E);m=m.slice(E),this.parseHost(x),this.hostname=this.hostname||"";var C="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!C){var w=this.hostname.split(/\./);for(r=0,d=w.length;r<d;r++){var k=w[r];if(k&&!k.match(l)){for(var S="",_=0,T=k.length;_<T;_++)k.charCodeAt(_)>127?S+="x":S+=k[_];if(!S.match(l)){var A=w.slice(0,r),D=w.slice(r+1),O=k.match(s);O&&(A.push(O[1]),D.unshift(O[2])),D.length&&(m=D.join(".")+m),this.hostname=A.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var R=m.indexOf("#");-1!==R&&(this.hash=m.substr(R),m=m.slice(0,R));var L=m.indexOf("?");return -1!==L&&(this.search=m.substr(L),m=m.slice(0,L)),m&&(this.pathname=m),c[p]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},74e3:function(e,t,n){n.r(t),n.d(t,{decode:function(){return m},encode:function(){return v},toASCII:function(){return y},toUnicode:function(){return g},ucs2decode:function(){return d},ucs2encode:function(){return p}});let r=/^xn--/,o=/[^\0-\x7F]/,i=/[\x2E\u3002\uFF0E\uFF61]/g,a={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l=Math.floor,s=String.fromCharCode;function u(e){throw RangeError(a[e])}function c(e,t){let n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+(function(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n})((e=e.replace(i,".")).split("."),t).join(".")}function d(e){let t=[],n=0,r=e.length;for(;n<r;){let o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){let r=e.charCodeAt(n++);(64512&r)==56320?t.push(((1023&o)<<10)+(1023&r)+65536):(t.push(o),n--)}else t.push(o)}return t}let p=e=>String.fromCodePoint(...e),f=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},h=function(e,t,n){let r=0;for(e=n?l(e/700):e>>1,e+=l(e/t);e>455;r+=36)e=l(e/35);return l(r+36*e/(e+38))},m=function(e){let t=[],n=e.length,r=0,o=128,i=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let n=0;n<a;++n)e.charCodeAt(n)>=128&&u("not-basic"),t.push(e.charCodeAt(n));for(let c=a>0?a+1:0;c<n;){let a=r;for(let t=1,o=36;;o+=36){var s;c>=n&&u("invalid-input");let a=(s=e.charCodeAt(c++))>=48&&s<58?26+(s-48):s>=65&&s<91?s-65:s>=97&&s<123?s-97:36;a>=36&&u("invalid-input"),a>l((2147483647-r)/t)&&u("overflow"),r+=a*t;let d=o<=i?1:o>=i+26?26:o-i;if(a<d)break;let p=36-d;t>l(2147483647/p)&&u("overflow"),t*=p}let d=t.length+1;i=h(r-a,d,0==a),l(r/d)>2147483647-o&&u("overflow"),o+=l(r/d),r%=d,t.splice(r++,0,o)}return String.fromCodePoint(...t)},v=function(e){let t=[],n=(e=d(e)).length,r=128,o=0,i=72;for(let n of e)n<128&&t.push(s(n));let a=t.length,c=a;for(a&&t.push("-");c<n;){let n=2147483647;for(let t of e)t>=r&&t<n&&(n=t);let d=c+1;for(let p of(n-r>l((2147483647-o)/d)&&u("overflow"),o+=(n-r)*d,r=n,e))if(p<r&&++o>2147483647&&u("overflow"),p===r){let e=o;for(let n=36;;n+=36){let r=n<=i?1:n>=i+26?26:n-i;if(e<r)break;let o=e-r,a=36-r;t.push(s(f(r+o%a,0))),e=l(o/a)}t.push(s(f(e,0))),i=h(o,d,c===a),o=0,++c}++o,++r}return t.join("")},g=function(e){return c(e,function(e){return r.test(e)?m(e.slice(4).toLowerCase()):e})},y=function(e){return c(e,function(e){return o.test(e)?"xn--"+v(e):e})};t.default={version:"2.3.1",ucs2:{decode:d,encode:p},decode:m,encode:v,toASCII:y,toUnicode:g}},45872:function(e,t,n){/*!
17
+ * set-value <https://github.com/jonschlinkert/set-value>
18
+ *
19
+ * Copyright (c) Jon Schlinkert (https://github.com/jonschlinkert).
20
+ * Released under the MIT License.
21
+ */let{deleteProperty:r}=Reflect,o=n(72675),i=n(49350),a=e=>"object"==typeof e&&null!==e||"function"==typeof e,l=e=>"__proto__"===e||"constructor"===e||"prototype"===e,s=e=>{if(!o(e))throw TypeError("Object keys must be strings or symbols");if(l(e))throw Error('Cannot set unsafe key: "'.concat(e,'"'))},u=e=>Array.isArray(e)?e.flat().map(String).join(","):e,c=(e,t)=>{if("string"!=typeof e||!t)return e;let n=e+";";return void 0!==t.arrays&&(n+="arrays=".concat(t.arrays,";")),void 0!==t.separator&&(n+="separator=".concat(t.separator,";")),void 0!==t.split&&(n+="split=".concat(t.split,";")),void 0!==t.merge&&(n+="merge=".concat(t.merge,";")),void 0!==t.preservePaths&&(n+="preservePaths=".concat(t.preservePaths,";")),n},d=(e,t,n)=>{let r=u(t?c(e,t):e);s(r);let o=m.cache.get(r)||n();return m.cache.set(r,o),o},p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.separator||".",r="/"!==n&&t.preservePaths;if("string"==typeof e&&!1!==r&&/\//.test(e))return[e];let o=[],i="",a=e=>{let t;""!==e.trim()&&Number.isInteger(t=Number(e))?o.push(t):o.push(e)};for(let t=0;t<e.length;t++){let r=e[t];if("\\"===r){i+=e[++t];continue}if(r===n){a(i),i="";continue}i+=r}return i&&a(i),o},f=(e,t)=>t&&"function"==typeof t.split?t.split(e):"symbol"==typeof e?[e]:Array.isArray(e)?e:d(e,t,()=>p(e,t)),h=(e,t,n,o)=>{if(s(t),void 0===n)r(e,t);else if(o&&o.merge){let r="function"===o.merge?o.merge:Object.assign;r&&i(e[t])&&i(n)?e[t]=r(e[t],n):e[t]=n}else e[t]=n;return e},m=(e,t,n,r)=>{if(!t||!a(e))return e;let o=f(t,r),i=e;for(let e=0;e<o.length;e++){let t=o[e],l=o[e+1];if(s(t),void 0===l){h(i,t,n,r);break}if("number"==typeof l&&!Array.isArray(i[t])){i=i[t]=[];continue}a(i[t])||(i[t]={}),i=i[t]}return e};m.split=f,m.cache=new Map,m.clear=()=>{m.cache=new Map},e.exports=m},89090:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},24911:function(e){e.exports=/[\0-\x1F\x7F-\x9F]/},88651:function(e){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},32729:function(e){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},19187:function(e){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},99462:function(e,t,n){t.Any=n(36476),t.Cc=n(24911),t.Cf=n(88651),t.P=n(32729),t.Z=n(19187)},36476:function(e){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},26783:function(e,t,n){n.d(t,{o:function(){return f}});var r=n(57101),o=n(93649),i=n(64090);let a={keyword:"hsl(var(--color-primary))",def:"hsl(var(--color-tertiary))",property:"hsl(var(--color-info))",qualifier:"hsl(var(--color-secondary))",attribute:"hsl(var(--color-tertiary))",number:"hsl(var(--color-success))",string:"hsl(var(--color-warning))",builtin:"hsl(var(--color-success))",string2:"hsl(var(--color-secondary))",variable:"hsl(var(--color-secondary))",atom:"hsl(var(--color-tertiary))"},l=i.createElement("svg",{viewBox:"0 -4 13 15",style:{color:"hsla(var(--color-neutral), var(--alpha-tertiary, 0.4))",marginRight:"var(--px-4)",height:"var(--px-16)",width:"var(--px-16)"}},i.createElement("path",{d:"M3.35355 6.85355L6.14645 9.64645C6.34171 9.84171 6.65829 9.84171 6.85355 9.64645L9.64645 6.85355C9.96143 6.53857 9.73835 6 9.29289 6L3.70711 6C3.26165 6 3.03857 6.53857 3.35355 6.85355Z",fill:"currentColor"})),s=i.createElement("svg",{viewBox:"0 -2 13 15",style:{color:"hsla(var(--color-neutral), var(--alpha-tertiary, 0.4))",marginRight:"var(--px-4)",height:"var(--px-16)",width:"var(--px-16)"}},i.createElement("path",{d:"M6.35355 11.1464L9.14645 8.35355C9.34171 8.15829 9.34171 7.84171 9.14645 7.64645L6.35355 4.85355C6.03857 4.53857 5.5 4.76165 5.5 5.20711V10.7929C5.5 11.2383 6.03857 11.4614 6.35355 11.1464Z",fill:"currentColor"})),u=i.createElement("svg",{viewBox:"0 0 15 15",style:{color:"hsla(var(--color-neutral), var(--alpha-tertiary, 0.4))",marginRight:"var(--px-4)",height:"var(--px-16)",width:"var(--px-16)"}},i.createElement("circle",{cx:"7.5",cy:"7.5",r:"6",stroke:"currentColor",fill:"none"})),c=i.createElement("svg",{viewBox:"0 0 15 15",style:{color:"hsl(var(--color-info))",marginRight:"var(--px-4)",height:"var(--px-16)",width:"var(--px-16)"}},i.createElement("circle",{cx:"7.5",cy:"7.5",r:"7.5",fill:"currentColor"}),i.createElement("path",{d:"M4.64641 7.00106L6.8801 9.23256L10.5017 5.61325",fill:"none",stroke:"white",strokeWidth:"1.5"})),d={buttonStyle:{backgroundColor:"transparent",border:"none",color:"hsla(var(--color-neutral), var(--alpha-secondary, 0.6))",cursor:"pointer",fontSize:"1em"},explorerActionsStyle:{padding:"var(--px-8) var(--px-4)"},actionButtonStyle:{backgroundColor:"transparent",border:"none",color:"hsla(var(--color-neutral), var(--alpha-secondary, 0.6))",cursor:"pointer",fontSize:"1em"}};function p(e){let{setOperationName:t}=(0,r._i)({nonNull:!0}),{schema:n}=(0,r.J5)({nonNull:!0}),{run:p}=(0,r.JB)({nonNull:!0}),f=(0,i.useCallback)(e=>{e&&t(e),p()},[p,t]),[h,m]=(0,r.D2)((0,r._t)());return i.createElement(o.bC,{schema:n,onRunOperation:f,explorerIsOpen:!0,colors:a,arrowOpen:l,arrowClosed:s,checkboxUnchecked:u,checkboxChecked:c,styles:d,query:h,onEdit:m,...e})}function f(e){return{title:"GraphiQL Explorer",icon:()=>i.createElement("svg",{height:"1em",strokeWidth:"1.5",viewBox:"0 0 24 24",fill:"none"},i.createElement("path",{d:"M18 6H20M22 6H20M20 6V4M20 6V8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M21.4 20H2.6C2.26863 20 2 19.7314 2 19.4V11H21.4C21.7314 11 22 11.2686 22 11.6V19.4C22 19.7314 21.7314 20 21.4 20Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M2 11V4.6C2 4.26863 2.26863 4 2.6 4H8.77805C8.92127 4 9.05977 4.05124 9.16852 4.14445L12.3315 6.85555C12.4402 6.94876 12.5787 7 12.722 7H14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),content:()=>i.createElement(p,{...e})}}},57101:function(e,t,n){let r,o;n.d(t,{zx:function(){return pK},hE:function(){return pQ},v4:function(){return pv},g8:function(){return py},TI:function(){return pE},Vq:function(){return pX},_8:function(){return h8},j$:function(){return h0},LA:function(){return hG},fY:function(){return pR},Rn:function(){return pN},pO:function(){return pI},Kt:function(){return pF},WK:function(){return hY},BG:function(){return pV},iB:function(){return hJ},ew:function(){return pq},$j:function(){return p6},OK:function(){return ft},mQ:function(){return fn},wC:function(){return h9},u:function(){return p9},v0:function(){return pW},hF:function(){return hX},Xd:function(){return hr},Xx:function(){return h5},_i:function(){return hB},JB:function(){return fp},pQ:function(){return ho},_t:function(){return hs},D2:function(){return hu},gp:function(){return f6},fE:function(){return hi},J5:function(){return fC},bN:function(){return dW},Fg:function(){return h1}});var i,a,l,s,u,c,d,p,f,h,m,v,g,y,b,E,x,C,w,k,S,_,T,A,D,O,R,L=n(3827),N=n(64090),M=n.t(N,2);function P(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r);else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(r&&(r+=" "),r+=t);return r}var I=n(79186),F=n(93925),V=n(12788),j=n(16671),q=n(6874),z=n(6022),H=n(15298),B=n(57921),U=n(33954),Z=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function l(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,l)}s((r=r.apply(e,t||[])).next())})};function G(e){return"object"==typeof e&&null!==e&&"function"==typeof e.then}function W(e){return"object"==typeof e&&null!==e&&"subscribe"in e&&"function"==typeof e.subscribe}function K(e){return"object"==typeof e&&null!==e&&("AsyncGenerator"===e[Symbol.toStringTag]||Symbol.asyncIterator in e)}function Q(e){return Z(this,void 0,void 0,function*(){let t=yield e;return K(t)?function(e){var t;return Z(this,void 0,void 0,function*(){let n=null===(t=("return"in e?e:e[Symbol.asyncIterator]()).return)||void 0===t?void 0:t.bind(e),r=("next"in e?e:e[Symbol.asyncIterator]()).next.bind(e),o=yield r();return null==n||n(),o.value})}(t):W(t)?new Promise((e,n)=>{let r=t.subscribe({next(t){e(t),r.unsubscribe()},error:n,complete(){n(Error("no value resolved"))}})}):t})}function Y(e){return JSON.stringify(e,null,2)}function $(e){return e instanceof Error?Object.assign(Object.assign({},e),{message:e.message,stack:e.stack}):e}function J(e){return Array.isArray(e)?Y({errors:e.map(e=>$(e))}):Y({errors:[$(e)]})}var X=n(19327),ee=n(11258);function et(e){if(!("getFields"in e))return[];let t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];let n=[];for(let e of Object.keys(t))(0,H.UT)(t[e].type)&&n.push(e);return n}class en{get(e){if(!this.storage)return null;let t="".concat(er,":").concat(e),n=this.storage.getItem(t);return"null"===n||"undefined"===n?(this.storage.removeItem(t),null):n||null}set(e,t){let n=!1,r=null;if(this.storage){let i="".concat(er,":").concat(e);if(t)try{this.storage.setItem(i,t)}catch(e){var o;r=e instanceof Error?e:Error("".concat(e)),o=this.storage,n=e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==o.length}else this.storage.removeItem(i)}return{isQuotaError:n,error:r}}clear(){this.storage&&this.storage.clear()}constructor(e){e?this.storage=e:null===e?this.storage=null:this.storage={getItem:window.localStorage.getItem.bind(window.localStorage),setItem:window.localStorage.setItem.bind(window.localStorage),removeItem:window.localStorage.removeItem.bind(window.localStorage),get length(){let e=0;for(let t in window.localStorage)0===t.indexOf("".concat(er,":"))&&(e+=1);return e},clear(){for(let e in window.localStorage)0===e.indexOf("".concat(er,":"))&&window.localStorage.removeItem(e)}}}}let er="graphiql";class eo{get length(){return this.items.length}contains(e){return this.items.some(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName)}edit(e,t){if("number"==typeof t&&this.items[t]){let n=this.items[t];if(n.query===e.query&&n.variables===e.variables&&n.headers===e.headers&&n.operationName===e.operationName){this.items.splice(t,1,e),this.save();return}}let n=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);-1!==n&&(this.items.splice(n,1,e),this.save())}delete(e){let t=this.items.findIndex(t=>t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName);-1!==t&&(this.items.splice(t,1),this.save())}fetchRecent(){return this.items.at(-1)}fetchAll(){let e=this.storage.get(this.key);return e?JSON.parse(e)[this.key]:[]}push(e){let t=[...this.items,e];this.maxSize&&t.length>this.maxSize&&t.shift();for(let e=0;e<5;e++){let e=this.storage.set(this.key,JSON.stringify({[this.key]:t}));if(null==e?void 0:e.error){if(!e.isQuotaError||!this.maxSize)return;t.shift()}else this.items=t}}save(){this.storage.set(this.key,JSON.stringify({[this.key]:this.items}))}constructor(e,t,n=null){this.key=e,this.storage=t,this.maxSize=n,this.items=this.fetchAll()}}class ei{shouldSaveQuery(e,t,n,r){if(!e)return!1;try{(0,B.Qc)(e)}catch(e){return!1}return!(e.length>1e5)&&(!r||JSON.stringify(e)!==JSON.stringify(r.query)||(JSON.stringify(t)!==JSON.stringify(r.variables)||JSON.stringify(n)!==JSON.stringify(r.headers)&&(!n||!!r.headers))&&(!t||!!r.variables))}toggleFavorite(e){let{query:t,variables:n,headers:r,operationName:o,label:i,favorite:a}=e,l={query:t,variables:n,headers:r,operationName:o,label:i};a?(l.favorite=!1,this.favorite.delete(l),this.history.push(l)):(l.favorite=!0,this.favorite.push(l),this.history.delete(l)),this.queries=[...this.history.items,...this.favorite.items]}editLabel(e,t){let{query:n,variables:r,headers:o,operationName:i,label:a,favorite:l}=e,s={query:n,variables:r,headers:o,operationName:i,label:a};l?this.favorite.edit(Object.assign(Object.assign({},s),{favorite:l}),t):this.history.edit(s,t),this.queries=[...this.history.items,...this.favorite.items]}constructor(e,t){var n=this;this.storage=e,this.maxHistoryLength=t,this.updateHistory=e=>{let{query:t,variables:n,headers:r,operationName:o}=e;if(!this.shouldSaveQuery(t,n,r,this.history.fetchRecent()))return;this.history.push({query:t,variables:n,headers:r,operationName:o});let i=this.history.items,a=this.favorite.items;this.queries=i.concat(a)},this.deleteHistory=function(e){let{query:t,variables:r,headers:o,operationName:i,favorite:a}=e,l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function s(e){let n=e.items.find(e=>e.query===t&&e.variables===r&&e.headers===o&&e.operationName===i);n&&e.delete(n)}(a||l)&&s(n.favorite),(!a||l)&&s(n.history),n.queries=[...n.history.items,...n.favorite.items]},this.history=new eo("queries",this.storage,this.maxHistoryLength),this.favorite=new eo("favorites",this.storage,null),this.queries=[...this.history.fetchAll(),...this.favorite.fetchAll()]}}var ea=n(74939),el=n(45872),es=n(81441),eu=n(14749);function ec(e,t){let{checkForDefaultPrevented:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function ed(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>t.forEach(t=>{"function"==typeof t?t(e):null!=t&&(t.current=e)})}function ep(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,N.useCallback)(ed(...t),t)}function ef(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=()=>{let t=n.map(e=>(0,N.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,N.useMemo)(()=>({["__scope".concat(e)]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let o=(0,N.createContext)(r),i=n.length;function a(t){let{scope:n,children:r,...a}=t,l=(null==n?void 0:n[e][i])||o,s=(0,N.useMemo)(()=>a,Object.values(a));return(0,N.createElement)(l.Provider,{value:s},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){let l=(null==a?void 0:a[e][i])||o,s=(0,N.useContext)(l);if(s)return s;if(void 0!==r)return r;throw Error("`".concat(n,"` must be used within `").concat(t,"`"))}]},function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=t[0];if(1===t.length)return r;let o=()=>{let e=t.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(t){let n=e.reduce((e,n)=>{let{useScope:r,scopeName:o}=n,i=r(t)["__scope".concat(o)];return{...e,...i}},{});return(0,N.useMemo)(()=>({["__scope".concat(r.scopeName)]:n}),[n])}};return o.scopeName=r.scopeName,o}(r,...t)]}let eh=(null==globalThis?void 0:globalThis.document)?N.useLayoutEffect:()=>{},em=M["useId".toString()]||(()=>void 0),ev=0;function eg(e){let[t,n]=N.useState(em());return eh(()=>{e||n(e=>null!=e?e:String(ev++))},[e]),e||(t?"radix-".concat(t):"")}function ey(e){let t=(0,N.useRef)(e);return(0,N.useEffect)(()=>{t.current=e}),(0,N.useMemo)(()=>function(){for(var e,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return null===(e=t.current)||void 0===e?void 0:e.call(t,...r)},[])}function eb(e){let{prop:t,defaultProp:n,onChange:r=()=>{}}=e,[o,i]=function(e){let{defaultProp:t,onChange:n}=e,r=(0,N.useState)(t),[o]=r,i=(0,N.useRef)(o),a=ey(n);return(0,N.useEffect)(()=>{i.current!==o&&(a(o),i.current=o)},[o,i,a]),r}({defaultProp:n,onChange:r}),a=void 0!==t,l=a?t:o,s=ey(r);return[l,(0,N.useCallback)(e=>{if(a){let n="function"==typeof e?e(t):e;n!==t&&s(n)}else i(e)},[a,t,i,s])]}var eE=n(89542);let ex=(0,N.forwardRef)((e,t)=>{let{children:n,...r}=e,o=N.Children.toArray(n),i=o.find(ek);if(i){let e=i.props.children,n=o.map(t=>t!==i?t:N.Children.count(e)>1?N.Children.only(null):(0,N.isValidElement)(e)?e.props.children:null);return(0,N.createElement)(eC,(0,eu.Z)({},r,{ref:t}),(0,N.isValidElement)(e)?(0,N.cloneElement)(e,void 0,n):null)}return(0,N.createElement)(eC,(0,eu.Z)({},r,{ref:t}),n)});ex.displayName="Slot";let eC=(0,N.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,N.isValidElement)(n)?(0,N.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];i(...t),o(...t)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?ed(t,n.ref):n.ref}):N.Children.count(n)>1?N.Children.only(null):null});eC.displayName="SlotClone";let ew=e=>{let{children:t}=e;return(0,N.createElement)(N.Fragment,null,t)};function ek(e){return(0,N.isValidElement)(e)&&e.type===ew}let eS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,N.forwardRef)((e,n)=>{let{asChild:r,...o}=e,i=r?ex:t;return(0,N.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,N.createElement)(i,(0,eu.Z)({},o,{ref:n}))});return n.displayName="Primitive.".concat(t),{...e,[t]:n}},{});function e_(e,t){e&&(0,eE.flushSync)(()=>e.dispatchEvent(t))}let eT="dismissableLayer.update",eA=(0,N.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),eD=(0,N.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:l,onInteractOutside:s,onDismiss:u,...c}=e,d=(0,N.useContext)(eA),[p,f]=(0,N.useState)(null),h=null!==(n=null==p?void 0:p.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,m]=(0,N.useState)({}),v=ep(t,e=>f(e)),g=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),b=g.indexOf(y),E=p?g.indexOf(p):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,C=E>=b,w=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==globalThis?void 0:globalThis.document,n=ey(e),r=(0,N.useRef)(!1),o=(0,N.useRef)(()=>{});return(0,N.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function i(){eR("dismissableLayer.pointerDownOutside",n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=i,t.addEventListener("click",o.current,{once:!0})):i()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...d.branches].some(e=>e.contains(t));!C||n||(null==a||a(e),null==s||s(e),e.defaultPrevented||null==u||u())},h),k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==globalThis?void 0:globalThis.document,n=ey(e),r=(0,N.useRef)(!1);return(0,N.useEffect)(()=>{let e=e=>{e.target&&!r.current&&eR("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;[...d.branches].some(e=>e.contains(t))||(null==l||l(e),null==s||s(e),e.defaultPrevented||null==u||u())},h);return!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==globalThis?void 0:globalThis.document,n=ey(e);(0,N.useEffect)(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{E!==d.layers.size-1||(null==i||i(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},h),(0,N.useEffect)(()=>{if(p)return o&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(r=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),eO(),()=>{o&&1===d.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=r)}},[p,h,o,d]),(0,N.useEffect)(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),eO())},[p,d]),(0,N.useEffect)(()=>{let e=()=>m({});return document.addEventListener(eT,e),()=>document.removeEventListener(eT,e)},[]),(0,N.createElement)(eS.div,(0,eu.Z)({},c,{ref:v,style:{pointerEvents:x?C?"auto":"none":void 0,...e.style},onFocusCapture:ec(e.onFocusCapture,k.onFocusCapture),onBlurCapture:ec(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:ec(e.onPointerDownCapture,w.onPointerDownCapture)}))});function eO(){let e=new CustomEvent(eT);document.dispatchEvent(e)}function eR(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?e_(i,a):i.dispatchEvent(a)}let eL="focusScope.autoFocusOnMount",eN="focusScope.autoFocusOnUnmount",eM={bubbles:!1,cancelable:!0},eP=(0,N.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,s]=(0,N.useState)(null),u=ey(o),c=ey(i),d=(0,N.useRef)(null),p=ep(t,e=>s(e)),f=(0,N.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,N.useEffect)(()=>{if(r){function e(e){if(f.paused||!l)return;let t=e.target;l.contains(t)?d.current=t:eV(d.current,{select:!0})}function t(e){if(f.paused||!l)return;let t=e.relatedTarget;null===t||l.contains(t)||eV(d.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&eV(l)});return l&&n.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,l,f.paused]),(0,N.useEffect)(()=>{if(l){ej.add(f);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(eL,eM);l.addEventListener(eL,u),l.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(eV(r,{select:t}),document.activeElement!==n)return}(eI(l).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&eV(l))}return()=>{l.removeEventListener(eL,u),setTimeout(()=>{let t=new CustomEvent(eN,eM);l.addEventListener(eN,c),l.dispatchEvent(t),t.defaultPrevented||eV(null!=e?e:document.body,{select:!0}),l.removeEventListener(eN,c),ej.remove(f)},0)}}},[l,u,c,f]);let h=(0,N.useCallback)(e=>{if(!n&&!r||f.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=eI(e);return[eF(t,e),eF(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&eV(i,{select:!0})):(e.preventDefault(),n&&eV(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,f.paused]);return(0,N.createElement)(eS.div,(0,eu.Z)({tabIndex:-1},a,{ref:p,onKeyDown:h}))});function eI(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function eF(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function eV(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let ej=(o=[],{add(e){let t=o[0];e!==t&&(null==t||t.pause()),(o=eq(o,e)).unshift(e)},remove(e){var t;null===(t=(o=eq(o,e))[0])||void 0===t||t.resume()}});function eq(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}let ez=(0,N.forwardRef)((e,t)=>{var n;let{container:r=null==globalThis?void 0:null===(n=globalThis.document)||void 0===n?void 0:n.body,...o}=e;return r?eE.createPortal((0,N.createElement)(eS.div,(0,eu.Z)({},o,{ref:t})),r):null}),eH=e=>{let{present:t,children:n}=e,r=function(e){var t,n;let[r,o]=(0,N.useState)(),i=(0,N.useRef)({}),a=(0,N.useRef)(e),l=(0,N.useRef)("none"),[s,u]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,N.useReducer)((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return(0,N.useEffect)(()=>{let e=eB(i.current);l.current="mounted"===s?e:"none"},[s]),eh(()=>{let t=i.current,n=a.current;if(n!==e){let r=l.current,o=eB(t);e?u("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?u("UNMOUNT"):n&&r!==o?u("ANIMATION_OUT"):u("UNMOUNT"),a.current=e}},[e,u]),eh(()=>{if(r){let e=e=>{let t=eB(i.current).includes(e.animationName);e.target===r&&t&&(0,eE.flushSync)(()=>u("ANIMATION_END"))},t=e=>{e.target===r&&(l.current=eB(i.current))};return r.addEventListener("animationstart",t),r.addEventListener("animationcancel",e),r.addEventListener("animationend",e),()=>{r.removeEventListener("animationstart",t),r.removeEventListener("animationcancel",e),r.removeEventListener("animationend",e)}}u("ANIMATION_END")},[r,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:(0,N.useCallback)(e=>{e&&(i.current=getComputedStyle(e)),o(e)},[])}}(t),o="function"==typeof n?n({present:r.isPresent}):N.Children.only(n),i=ep(r.ref,o.ref);return"function"==typeof n||r.isPresent?(0,N.cloneElement)(o,{ref:i}):null};function eB(e){return(null==e?void 0:e.animationName)||"none"}eH.displayName="Presence";let eU=0;function eZ(){(0,N.useEffect)(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:eG()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:eG()),eU++,()=>{1===eU&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),eU--}},[])}function eG(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var eW=function(e,t){return(eW=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function eK(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}eW(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var eQ=function(){return(eQ=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function eY(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function e$(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function eJ(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var eX="right-scroll-bar-position",e0="width-before-scroll-bar";function e1(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var e2=new WeakMap,e5=(void 0===i&&(i={}),(void 0===a&&(a=function(e){return e}),l=[],s=!1,u={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return l.length?l[l.length-1]:null},useMedium:function(e){var t=a(e,s);return l.push(t),function(){l=l.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;l.length;){var t=l;l=[],t.forEach(e)}l={push:function(t){return e(t)},filter:function(){return l}}},assignMedium:function(e){s=!0;var t=[];if(l.length){var n=l;l=[],n.forEach(e),t=l}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),l={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),l}}}}).options=eQ({async:!0,ssr:!1},i),u),e3=function(){},e6=N.forwardRef(function(e,t){var n,r,o,i,a=N.useRef(null),l=N.useState({onScrollCapture:e3,onWheelCapture:e3,onTouchMoveCapture:e3}),s=l[0],u=l[1],c=e.forwardProps,d=e.children,p=e.className,f=e.removeScrollBar,h=e.enabled,m=e.shards,v=e.sideCar,g=e.noIsolation,y=e.inert,b=e.allowPinchZoom,E=e.as,x=eY(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),C=(n=[a,t],r=function(e){return n.forEach(function(t){return e1(t,e)})},(o=(0,N.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,N.useLayoutEffect(function(){var e=e2.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||e1(e,null)}),r.forEach(function(e){t.has(e)||e1(e,o)})}e2.set(i,n)},[n]),i),w=eQ(eQ({},x),s);return N.createElement(N.Fragment,null,h&&N.createElement(v,{sideCar:e5,removeScrollBar:f,shards:m,noIsolation:g,inert:y,setCallbacks:u,allowPinchZoom:!!b,lockRef:a}),c?N.cloneElement(N.Children.only(d),eQ(eQ({},w),{ref:C})):N.createElement(void 0===E?"div":E,eQ({},w,{className:p,ref:C}),d))});e6.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},e6.classNames={fullWidth:e0,zeroRight:eX};var e4=function(e){var t=e.sideCar,n=eY(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return N.createElement(r,eQ({},n))};e4.isSideCarExport=!0;var e9=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=A||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},e8=function(){var e=e9();return function(t,n){N.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},e7=function(){var e=e8();return function(t){return e(t.styles,t.dynamic),null}},te=function(e){return parseInt(e||"",10)||0},tt=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[te(n),te(r),te(o)]},tn=function(e){void 0===e&&(e="margin");var t=tt(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},tr=e7(),to=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(eX," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(e0," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(eX," .").concat(eX," {\n right: 0 ").concat(r,";\n }\n \n .").concat(e0," .").concat(e0," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},ti=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=N.useMemo(function(){return tn(o)},[o]);return N.createElement(tr,{styles:to(i,!t,o,n?"":"!important")})},ta=!1;try{var tl=Object.defineProperty({},"passive",{get:function(){return ta=!0,!0}});window.addEventListener("test",tl,tl),window.removeEventListener("test",tl,tl)}catch(e){ta=!1}var ts=!!ta&&{passive:!1},tu=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},tc=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),td(e,n)){var r=tp(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},td=function(e,t){return"v"===e?tu(t,"overflowY"):tu(t,"overflowX")},tp=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},tf=function(e,t,n,r,o){var i,a=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),l=a*r,s=n.target,u=t.contains(s),c=!1,d=l>0,p=0,f=0;do{var h=tp(e,s),m=h[0],v=h[1]-h[2]-a*m;(m||v)&&td(e,s)&&(p+=v,f+=m),s=s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return d&&(o&&0===p||!o&&l>p)?c=!0:!d&&(o&&0===f||!o&&-l>f)&&(c=!0),c},th=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tm=function(e){return[e.deltaX,e.deltaY]},tv=function(e){return e&&"current"in e?e.current:e},tg=0,ty=[],tb=(e5.useMedium(function(e){var t=N.useRef([]),n=N.useRef([0,0]),r=N.useRef(),o=N.useState(tg++)[0],i=N.useState(function(){return e7()})[0],a=N.useRef(e);N.useEffect(function(){a.current=e},[e]),N.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=eJ([e.lockRef.current],(e.shards||[]).map(tv),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=N.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var o,i=th(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-i[0],u="deltaY"in e?e.deltaY:l[1]-i[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=tc(d,c);if(!p)return!0;if(p?o=d:(o="v"===d?"h":"v",p=tc(d,c)),!p)return!1;if(!r.current&&"changedTouches"in e&&(s||u)&&(r.current=o),!o)return!0;var f=r.current||o;return tf(f,t,e,"h"===f?s:u,!0)},[]),s=N.useCallback(function(e){if(ty.length&&ty[ty.length-1]===i){var n="deltaY"in e?tm(e):th(e),r=t.current.filter(function(t){var r;return t.name===e.type&&t.target===e.target&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(a.current.shards||[]).map(tv).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=N.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),c=N.useCallback(function(e){n.current=th(e),r.current=void 0},[]),d=N.useCallback(function(t){u(t.type,tm(t),t.target,l(t,e.lockRef.current))},[]),p=N.useCallback(function(t){u(t.type,th(t),t.target,l(t,e.lockRef.current))},[]);N.useEffect(function(){return ty.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",s,ts),document.addEventListener("touchmove",s,ts),document.addEventListener("touchstart",c,ts),function(){ty=ty.filter(function(e){return e!==i}),document.removeEventListener("wheel",s,ts),document.removeEventListener("touchmove",s,ts),document.removeEventListener("touchstart",c,ts)}},[]);var f=e.removeScrollBar,h=e.inert;return N.createElement(N.Fragment,null,h?N.createElement(i,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,f?N.createElement(ti,{gapMode:"margin"}):null)}),e4),tE=N.forwardRef(function(e,t){return N.createElement(e6,eQ({},e,{ref:t,sideCar:tb}))});tE.classNames=e6.classNames;var tx=new WeakMap,tC=new WeakMap,tw={},tk=0,tS=function(e){return e&&(e.host||tS(e.parentNode))},t_=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=tS(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tw[n]||(tw[n]=new WeakMap);var i=tw[n],a=[],l=new Set,s=new Set(o),u=function(e){!e||l.has(e)||(l.add(e),u(e.parentNode))};o.forEach(u);var c=function(e){!e||s.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))c(e);else{var t=e.getAttribute(r),o=null!==t&&"false"!==t,s=(tx.get(e)||0)+1,u=(i.get(e)||0)+1;tx.set(e,s),i.set(e,u),a.push(e),1===s&&o&&tC.set(e,!0),1===u&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}})};return c(t),l.clear(),tk++,function(){a.forEach(function(e){var t=tx.get(e)-1,o=i.get(e)-1;tx.set(e,t),i.set(e,o),t||(tC.has(e)||e.removeAttribute(r),tC.delete(e)),o||e.removeAttribute(n)}),--tk||(tx=new WeakMap,tx=new WeakMap,tC=new WeakMap,tw={})}},tT=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),t_(r,o,n,"aria-hidden")):function(){return null}};let tA="Dialog",[tD,tO]=ef(tA),[tR,tL]=tD(tA),tN=(0,N.forwardRef)((e,t)=>{let{__scopeDialog:n,...r}=e,o=tL("DialogTrigger",n),i=ep(t,o.triggerRef);return(0,N.createElement)(eS.button,(0,eu.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":tQ(o.open)},r,{ref:i,onClick:ec(e.onClick,o.onOpenToggle)}))}),tM="DialogPortal",[tP,tI]=tD(tM,{forceMount:void 0}),tF="DialogOverlay",tV=(0,N.forwardRef)((e,t)=>{let n=tI(tF,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=tL(tF,e.__scopeDialog);return i.modal?(0,N.createElement)(eH,{present:r||i.open},(0,N.createElement)(tj,(0,eu.Z)({},o,{ref:t}))):null}),tj=(0,N.forwardRef)((e,t)=>{let{__scopeDialog:n,...r}=e,o=tL(tF,n);return(0,N.createElement)(tE,{as:ex,allowPinchZoom:!0,shards:[o.contentRef]},(0,N.createElement)(eS.div,(0,eu.Z)({"data-state":tQ(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),tq="DialogContent",tz=(0,N.forwardRef)((e,t)=>{let n=tI(tq,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=tL(tq,e.__scopeDialog);return(0,N.createElement)(eH,{present:r||i.open},i.modal?(0,N.createElement)(tH,(0,eu.Z)({},o,{ref:t})):(0,N.createElement)(tB,(0,eu.Z)({},o,{ref:t})))}),tH=(0,N.forwardRef)((e,t)=>{let n=tL(tq,e.__scopeDialog),r=(0,N.useRef)(null),o=ep(t,n.contentRef,r);return(0,N.useEffect)(()=>{let e=r.current;if(e)return tT(e)},[]),(0,N.createElement)(tU,(0,eu.Z)({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ec(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:ec(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:ec(e.onFocusOutside,e=>e.preventDefault())}))}),tB=(0,N.forwardRef)((e,t)=>{let n=tL(tq,e.__scopeDialog),r=(0,N.useRef)(!1),o=(0,N.useRef)(!1);return(0,N.createElement)(tU,(0,eu.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"!==t.detail.originalEvent.type||(o.current=!0));let l=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),tU=(0,N.forwardRef)((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,l=tL(tq,n),s=ep(t,(0,N.useRef)(null));return eZ(),(0,N.createElement)(N.Fragment,null,(0,N.createElement)(eP,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},(0,N.createElement)(eD,(0,eu.Z)({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":tQ(l.open)},a,{ref:s,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),tZ="DialogTitle",tG=(0,N.forwardRef)((e,t)=>{let{__scopeDialog:n,...r}=e,o=tL(tZ,n);return(0,N.createElement)(eS.h2,(0,eu.Z)({id:o.titleId},r,{ref:t}))}),tW=(0,N.forwardRef)((e,t)=>{let{__scopeDialog:n,...r}=e,o=tL("DialogDescription",n);return(0,N.createElement)(eS.p,(0,eu.Z)({id:o.descriptionId},r,{ref:t}))}),tK=(0,N.forwardRef)((e,t)=>{let{__scopeDialog:n,...r}=e,o=tL("DialogClose",n);return(0,N.createElement)(eS.button,(0,eu.Z)({type:"button"},r,{ref:t,onClick:ec(e.onClick,()=>o.onOpenChange(!1))}))});function tQ(e){return e?"open":"closed"}let[tY,t$]=function(e,t){let n=(0,N.createContext)(t);function r(e){let{children:t,...r}=e,o=(0,N.useMemo)(()=>r,Object.values(r));return(0,N.createElement)(n.Provider,{value:o},t)}return r.displayName=e+"Provider",[r,function(r){let o=(0,N.useContext)(n);if(o)return o;if(void 0!==t)return t;throw Error("`".concat(r,"` must be used within `").concat(e,"`"))}]}("DialogTitleWarning",{contentName:tq,titleName:tZ,docsSlug:"dialog"}),tJ=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,l=(0,N.useRef)(null),s=(0,N.useRef)(null),[u=!1,c]=eb({prop:r,defaultProp:o,onChange:i});return(0,N.createElement)(tR,{scope:t,triggerRef:l,contentRef:s,contentId:eg(),titleId:eg(),descriptionId:eg(),open:u,onOpenChange:c,onOpenToggle:(0,N.useCallback)(()=>c(e=>!e),[c]),modal:a},n)},tX=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=tL(tM,t);return(0,N.createElement)(tP,{scope:t,forceMount:n},N.Children.map(r,e=>(0,N.createElement)(eH,{present:n||i.open},(0,N.createElement)(ez,{asChild:!0,container:o},e))))},t0=(0,N.forwardRef)((e,t)=>(0,N.createElement)(eS.span,(0,eu.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})));function t1(e){let t=e+"CollectionProvider",[n,r]=ef(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e+"CollectionSlot",l=N.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=ep(t,i(a,n).collectionRef);return N.createElement(ex,{ref:o},r)}),s=e+"CollectionItemSlot",u="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:n}=e,r=N.useRef(null),i=N.useRef(new Map).current;return N.createElement(o,{scope:t,itemMap:i,collectionRef:r},n)},Slot:l,ItemSlot:N.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,a=N.useRef(null),l=ep(t,a),c=i(s,n);return N.useEffect(()=>(c.itemMap.set(a,{ref:a,...o}),()=>void c.itemMap.delete(a))),N.createElement(ex,{[u]:"",ref:l},r)})},function(t){let n=i(e+"CollectionConsumer",t);return N.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(u,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}let t2=(0,N.createContext)(void 0);function t5(e){let t=(0,N.useContext)(t2);return e||t||"ltr"}let t3=["top","right","bottom","left"],t6=Math.min,t4=Math.max,t9=Math.round,t8=Math.floor,t7=e=>({x:e,y:e}),ne={left:"right",right:"left",bottom:"top",top:"bottom"},nt={start:"end",end:"start"};function nn(e,t){return"function"==typeof e?e(t):e}function nr(e){return e.split("-")[0]}function no(e){return e.split("-")[1]}function ni(e){return"x"===e?"y":"x"}function na(e){return"y"===e?"height":"width"}function nl(e){return["top","bottom"].includes(nr(e))?"y":"x"}function ns(e){return e.replace(/start|end/g,e=>nt[e])}function nu(e){return e.replace(/left|right|bottom|top/g,e=>ne[e])}function nc(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function nd(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function np(e,t,n){let r,{reference:o,floating:i}=e,a=nl(t),l=ni(nl(t)),s=na(l),u=nr(t),c="y"===a,d=o.x+o.width/2-i.width/2,p=o.y+o.height/2-i.height/2,f=o[s]/2-i[s]/2;switch(u){case"top":r={x:d,y:o.y-i.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:p};break;case"left":r={x:o.x-i.width,y:p};break;default:r={x:o.x,y:o.y}}switch(no(t)){case"start":r[l]-=f*(n&&c?-1:1);break;case"end":r[l]+=f*(n&&c?-1:1)}return r}let nf=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),s=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=np(u,r,s),p=r,f={},h=0;for(let n=0;n<l.length;n++){let{name:i,fn:m}=l[n],{x:v,y:g,data:y,reset:b}=await m({x:c,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:f,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=g?g:d,f={...f,[i]:{...f[i],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:c,y:d}=np(u,p,s)),n=-1)}return{x:c,y:d,placement:p,strategy:o,middlewareData:f}};async function nh(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=nn(t,e),h=nc(f),m=l[p?"floating"===d?"reference":"floating":d],v=nd(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),g="floating"===d?{...a.floating,x:r,y:o}:a.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),b=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},E=nd(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:y,strategy:s}):g);return{top:(v.top-E.top+h.top)/b.y,bottom:(E.bottom-v.bottom+h.bottom)/b.y,left:(v.left-E.left+h.left)/b.x,right:(E.right-v.right+h.right)/b.x}}function nm(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function nv(e){return t3.some(t=>e[t]>=0)}async function ng(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=nr(n),l=no(n),s="y"===nl(n),u=["left","top"].includes(a)?-1:1,c=i&&s?-1:1,d=nn(t,e),{mainAxis:p,crossAxis:f,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return l&&"number"==typeof h&&(f="end"===l?-1*h:h),s?{x:f*c,y:p*u}:{x:p*u,y:f*c}}function ny(e){return nx(e)?(e.nodeName||"").toLowerCase():"#document"}function nb(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function nE(e){var t;return null==(t=(nx(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function nx(e){return e instanceof Node||e instanceof nb(e).Node}function nC(e){return e instanceof Element||e instanceof nb(e).Element}function nw(e){return e instanceof HTMLElement||e instanceof nb(e).HTMLElement}function nk(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof nb(e).ShadowRoot)}function nS(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=nD(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function n_(e){let t=nT(),n=nD(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function nT(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function nA(e){return["html","body","#document"].includes(ny(e))}function nD(e){return nb(e).getComputedStyle(e)}function nO(e){return nC(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function nR(e){if("html"===ny(e))return e;let t=e.assignedSlot||e.parentNode||nk(e)&&e.host||nE(e);return nk(t)?t.host:t}function nL(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=nR(t);return nA(n)?t.ownerDocument?t.ownerDocument.body:t.body:nw(n)&&nS(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=nb(o);return i?t.concat(a,a.visualViewport||[],nS(o)?o:[],a.frameElement&&n?nL(a.frameElement):[]):t.concat(o,nL(o,[],n))}function nN(e){let t=nD(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=nw(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=t9(n)!==i||t9(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function nM(e){return nC(e)?e:e.contextElement}function nP(e){let t=nM(e);if(!nw(t))return t7(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=nN(t),a=(i?t9(n.width):n.width)/r,l=(i?t9(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let nI=t7(0);function nF(e){let t=nb(e);return nT()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:nI}function nV(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),a=nM(e),l=t7(1);t&&(r?nC(r)&&(l=nP(r)):l=nP(e));let s=(void 0===(o=n)&&(o=!1),r&&(!o||r===nb(a))&&o)?nF(a):t7(0),u=(i.left+s.x)/l.x,c=(i.top+s.y)/l.y,d=i.width/l.x,p=i.height/l.y;if(a){let e=nb(a),t=r&&nC(r)?nb(r):r,n=e,o=n.frameElement;for(;o&&r&&t!==n;){let e=nP(o),t=o.getBoundingClientRect(),r=nD(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,p*=e.y,u+=i,c+=a,o=(n=nb(o)).frameElement}}return nd({width:d,height:p,x:u,y:c})}let nj=[":popover-open",":modal"];function nq(e){return nj.some(t=>{try{return e.matches(t)}catch(e){return!1}})}function nz(e){return nV(nE(e)).left+nO(e).scrollLeft}function nH(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=nb(e),r=nE(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,s=0;if(o){i=o.width,a=o.height;let e=nT();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:i,height:a,x:l,y:s}}(e,n);else if("document"===t)r=function(e){let t=nE(e),n=nO(e),r=e.ownerDocument.body,o=t4(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=t4(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-n.scrollLeft+nz(e),l=-n.scrollTop;return"rtl"===nD(r).direction&&(a+=t4(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}(nE(e));else if(nC(t))r=function(e,t){let n=nV(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=nw(e)?nP(e):t7(1),a=e.clientWidth*i.x;return{width:a,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{let n=nF(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return nd(r)}function nB(e,t){return nw(e)&&"fixed"!==nD(e).position?t?t(e):e.offsetParent:null}function nU(e,t){let n=nb(e);if(!nw(e)||nq(e))return n;let r=nB(e,t);for(;r&&["table","td","th"].includes(ny(r))&&"static"===nD(r).position;)r=nB(r,t);return r&&("html"===ny(r)||"body"===ny(r)&&"static"===nD(r).position&&!n_(r))?n:r||function(e){let t=nR(e);for(;nw(t)&&!nA(t);){if(n_(t))return t;t=nR(t)}return null}(e)||n}let nZ=async function(e){let t=this.getOffsetParent||nU,n=this.getDimensions;return{reference:function(e,t,n){let r=nw(t),o=nE(t),i="fixed"===n,a=nV(e,!0,i,t),l={scrollLeft:0,scrollTop:0},s=t7(0);if(r||!r&&!i){if(("body"!==ny(t)||nS(o))&&(l=nO(t)),r){let e=nV(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else o&&(s.x=nz(o))}return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await n(e.floating)}}},nG={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=nE(r),l=!!t&&nq(t.floating);if(r===a||l&&i)return n;let s={scrollLeft:0,scrollTop:0},u=t7(1),c=t7(0),d=nw(r);if((d||!d&&!i)&&(("body"!==ny(r)||nS(a))&&(s=nO(r)),nw(r))){let e=nV(r);u=nP(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x,y:n.y*u.y-s.scrollTop*u.y+c.y}},getDocumentElement:nE,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=nL(e,[],!1).filter(e=>nC(e)&&"body"!==ny(e)),o=null,i="fixed"===nD(e).position,a=i?nR(e):e;for(;nC(a)&&!nA(a);){let t=nD(a),n=n_(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||nS(a)&&!n&&function e(t,n){let r=nR(t);return!(r===n||!nC(r)||nA(r))&&("fixed"===nD(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):o=t,a=nR(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=i[0],l=i.reduce((e,n)=>{let r=nH(t,n,o);return e.top=t4(r.top,e.top),e.right=t6(r.right,e.right),e.bottom=t6(r.bottom,e.bottom),e.left=t4(r.left,e.left),e},nH(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:nU,getElementRects:nZ,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=nN(e);return{width:t,height:n}},getScale:nP,isElement:nC,isRTL:function(e){return"rtl"===nD(e).direction}},nW=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:s}=t,{element:u,padding:c=0}=nn(e,t)||{};if(null==u)return{};let d=nc(c),p={x:n,y:r},f=ni(nl(o)),h=na(f),m=await a.getDimensions(u),v="y"===f,g=v?"clientHeight":"clientWidth",y=i.reference[h]+i.reference[f]-p[f]-i.floating[h],b=p[f]-i.reference[f],E=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),x=E?E[g]:0;x&&await (null==a.isElement?void 0:a.isElement(E))||(x=l.floating[g]||i.floating[h]);let C=x/2-m[h]/2-1,w=t6(d[v?"top":"left"],C),k=t6(d[v?"bottom":"right"],C),S=x-m[h]-k,_=x/2-m[h]/2+(y/2-b/2),T=t4(w,t6(_,S)),A=!s.arrow&&null!=no(o)&&_!==T&&i.reference[h]/2-(_<w?w:k)-m[h]/2<0,D=A?_<w?_-w:_-S:0;return{[f]:p[f]+D,data:{[f]:T,centerOffset:_-T-D,...A&&{alignmentOffset:D}},reset:A}}}),nK=(e,t,n)=>{let r=new Map,o={platform:nG,...n},i={...o.platform,_c:r};return nf(e,t,{...o,platform:i})},nQ=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?nW({element:n.current,padding:r}).fn(t):{}:n?nW({element:n,padding:r}).fn(t):{}}});var nY="undefined"!=typeof document?N.useLayoutEffect:N.useEffect;function n$(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!n$(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!n$(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function nJ(e){return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nX(e,t){let n=nJ(e);return Math.round(t*n)/n}function n0(e){let t=N.useRef(e);return nY(()=>{t.current=e}),t}let n1=(0,N.forwardRef)((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,N.createElement)(eS.svg,(0,eu.Z)({},i,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,N.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),n2="Popper",[n5,n3]=ef(n2),[n6,n4]=n5(n2),n9=(0,N.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,i=n4("PopperAnchor",n),a=(0,N.useRef)(null),l=ep(t,a);return(0,N.useEffect)(()=>{i.onAnchorChange((null==r?void 0:r.current)||a.current)}),r?null:(0,N.createElement)(eS.div,(0,eu.Z)({},o,{ref:l}))}),n8="PopperContent",[n7,re]=n5(n8),rt=(0,N.forwardRef)((e,t)=>{var n,r,o,i,a,l,s,u,c,d,p,f,h,m;let{__scopePopper:v,side:g="bottom",sideOffset:y=0,align:b="center",alignOffset:E=0,arrowPadding:x=0,avoidCollisions:C=!0,collisionBoundary:w=[],collisionPadding:k=0,sticky:S="partial",hideWhenDetached:_=!1,updatePositionStrategy:T="optimized",onPlaced:A,...D}=e,O=n4(n8,v),[R,L]=(0,N.useState)(null),M=ep(t,e=>L(e)),[P,I]=(0,N.useState)(null),F=function(e){let[t,n]=(0,N.useState)(void 0);return eh(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(P),V=null!==(n=null==F?void 0:F.width)&&void 0!==n?n:0,j=null!==(r=null==F?void 0:F.height)&&void 0!==r?r:0,q="number"==typeof k?k:{top:0,right:0,bottom:0,left:0,...k},z=Array.isArray(w)?w:[w],H=z.length>0,B={padding:q,boundary:z.filter(ro),altBoundary:H},{refs:U,floatingStyles:Z,placement:G,isPositioned:W,middlewareData:K}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:s,open:u}=e,[c,d]=N.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=N.useState(r);n$(p,r)||f(r);let[h,m]=N.useState(null),[v,g]=N.useState(null),y=N.useCallback(e=>{e!==C.current&&(C.current=e,m(e))},[]),b=N.useCallback(e=>{e!==w.current&&(w.current=e,g(e))},[]),E=i||h,x=a||v,C=N.useRef(null),w=N.useRef(null),k=N.useRef(c),S=null!=s,_=n0(s),T=n0(o),A=N.useCallback(()=>{if(!C.current||!w.current)return;let e={placement:t,strategy:n,middleware:p};T.current&&(e.platform=T.current),nK(C.current,w.current,e).then(e=>{let t={...e,isPositioned:!0};D.current&&!n$(k.current,t)&&(k.current=t,eE.flushSync(()=>{d(t)}))})},[p,t,n,T]);nY(()=>{!1===u&&k.current.isPositioned&&(k.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let D=N.useRef(!1);nY(()=>(D.current=!0,()=>{D.current=!1}),[]),nY(()=>{if(E&&(C.current=E),x&&(w.current=x),E&&x){if(_.current)return _.current(E,x,A);A()}},[E,x,A,_,S]);let O=N.useMemo(()=>({reference:C,floating:w,setReference:y,setFloating:b}),[y,b]),R=N.useMemo(()=>({reference:E,floating:x}),[E,x]),L=N.useMemo(()=>{let e={position:n,left:0,top:0};if(!R.floating)return e;let t=nX(R.floating,c.x),r=nX(R.floating,c.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...nJ(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,R.floating,c.x,c.y]);return N.useMemo(()=>({...c,update:A,refs:O,elements:R,floatingStyles:L}),[c,A,O,R,L])}({strategy:"fixed",placement:g+("center"!==b?"-"+b:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=nM(e),d=i||a?[...c?nL(c):[],...nL(t)]:[];d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let p=c&&s?function(e,t){let n,r=null,o=nE(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),i();let{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(l||t(),!d||!p)return;let f=t8(c),h=t8(o.clientWidth-(u+d)),m={rootMargin:-f+"px "+-h+"px "+-t8(o.clientHeight-(c+p))+"px "+-t8(u)+"px",threshold:t4(0,t6(1,s))||1},v=!0;function g(e){let t=e[0].intersectionRatio;if(t!==s){if(!v)return a();t?a(!1,t):n=setTimeout(()=>{a(!1,1e-7)},100)}v=!1}try{r=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),i}(c,n):null,f=-1,h=null;l&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!u&&h.observe(c),h.observe(t));let m=u?nV(e):null;return u&&function t(){let r=nV(e);m&&(r.x!==m.x||r.y!==m.y||r.width!==m.width||r.height!==m.height)&&n(),m=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===T})},elements:{reference:O.anchor},middleware:[{name:"offset",options:c={mainAxis:y+j,alignmentAxis:E},async fn(e){var t,n;let{x:r,y:o,placement:i,middlewareData:a}=e,l=await ng(e,c);return i===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+l.x,y:o+l.y,data:{...l,placement:i}}}},C&&{name:"shift",options:p={mainAxis:!0,crossAxis:!1,limiter:"partial"===S?(void 0===d&&(d={}),{options:d,fn(e){let{x:t,y:n,placement:r,rects:o,middlewareData:i}=e,{offset:a=0,mainAxis:l=!0,crossAxis:s=!0}=nn(d,e),u={x:t,y:n},c=nl(r),p=ni(c),f=u[p],h=u[c],m=nn(a,e),v="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){let e="y"===p?"height":"width",t=o.reference[p]-o.floating[e]+v.mainAxis,n=o.reference[p]+o.reference[e]-v.mainAxis;f<t?f=t:f>n&&(f=n)}if(s){var g,y;let e="y"===p?"width":"height",t=["top","left"].includes(nr(r)),n=o.reference[c]-o.floating[e]+(t&&(null==(g=i.offset)?void 0:g[c])||0)+(t?0:v.crossAxis),a=o.reference[c]+o.reference[e]+(t?0:(null==(y=i.offset)?void 0:y[c])||0)-(t?v.crossAxis:0);h<n?h=n:h>a&&(h=a)}return{[p]:f,[c]:h}}}):void 0,...B},async fn(e){let{x:t,y:n,placement:r}=e,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=nn(p,e),s={x:t,y:n},u=await nh(e,l),c=nl(nr(r)),d=ni(c),f=s[d],h=s[c];if(o){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=f+u[e],r=f-u[t];f=t4(n,t6(f,r))}if(i){let e="y"===c?"top":"left",t="y"===c?"bottom":"right",n=h+u[e],r=h-u[t];h=t4(n,t6(h,r))}let m=a.fn({...e,[d]:f,[c]:h});return{...m,data:{x:m.x-t,y:m.y-n}}}},C&&{name:"flip",options:f={...B},async fn(e){var t,n,r,o,i;let{placement:a,middlewareData:l,rects:s,initialPlacement:u,platform:c,elements:d}=e,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...b}=nn(f,e);if(null!=(t=l.arrow)&&t.alignmentOffset)return{};let E=nr(a),x=nr(u)===u,C=await (null==c.isRTL?void 0:c.isRTL(d.floating)),w=m||(x||!y?[nu(u)]:function(e){let t=nu(e);return[ns(e),t,ns(t)]}(u));m||"none"===g||w.push(...function(e,t,n,r){let o=no(e),i=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(nr(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(ns)))),i}(u,y,g,C));let k=[u,...w],S=await nh(e,b),_=[],T=(null==(n=l.flip)?void 0:n.overflows)||[];if(p&&_.push(S[E]),h){let e=function(e,t,n){void 0===n&&(n=!1);let r=no(e),o=ni(nl(e)),i=na(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=nu(a)),[a,nu(a)]}(a,s,C);_.push(S[e[0]],S[e[1]])}if(T=[...T,{placement:a,overflows:_}],!_.every(e=>e<=0)){let e=((null==(r=l.flip)?void 0:r.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(o=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(v){case"bestFit":{let e=null==(i=T.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=u}if(a!==n)return{reset:{placement:n}}}return{}}},{name:"size",options:h={...B,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:a}=n.reference,l=t.floating.style;l.setProperty("--radix-popper-available-width","".concat(r,"px")),l.setProperty("--radix-popper-available-height","".concat(o,"px")),l.setProperty("--radix-popper-anchor-width","".concat(i,"px")),l.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}},async fn(e){let t,n;let{placement:r,rects:o,platform:i,elements:a}=e,{apply:l=()=>{},...s}=nn(h,e),u=await nh(e,s),c=nr(r),d=no(r),p="y"===nl(r),{width:f,height:m}=o.floating;"top"===c||"bottom"===c?(t=c,n=d===(await (null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(n=c,t="end"===d?"top":"bottom");let v=m-u[t],g=f-u[n],y=!e.middlewareData.shift,b=v,E=g;if(p){let e=f-u.left-u.right;E=d||y?t6(g,e):e}else{let e=m-u.top-u.bottom;b=d||y?t6(v,e):e}if(y&&!d){let e=t4(u.left,0),t=t4(u.right,0),n=t4(u.top,0),r=t4(u.bottom,0);p?E=f-2*(0!==e||0!==t?e+t:t4(u.left,u.right)):b=m-2*(0!==n||0!==r?n+r:t4(u.top,u.bottom))}await l({...e,availableWidth:E,availableHeight:b});let x=await i.getDimensions(a.floating);return f!==x.width||m!==x.height?{reset:{rects:!0}}:{}}},P&&nQ({element:P,padding:x}),ri({arrowWidth:V,arrowHeight:j}),_&&{name:"hide",options:m={strategy:"referenceHidden",...B},async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=nn(m,e);switch(n){case"referenceHidden":{let n=nm(await nh(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:nv(n)}}}case"escaped":{let n=nm(await nh(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:nv(n)}}}default:return{}}}}]}),[Q,Y]=ra(G),$=ey(A);eh(()=>{W&&(null==$||$())},[W,$]);let J=null===(o=K.arrow)||void 0===o?void 0:o.x,X=null===(i=K.arrow)||void 0===i?void 0:i.y,ee=(null===(a=K.arrow)||void 0===a?void 0:a.centerOffset)!==0,[et,en]=(0,N.useState)();return eh(()=>{R&&en(window.getComputedStyle(R).zIndex)},[R]),(0,N.createElement)("div",{ref:U.setFloating,"data-radix-popper-content-wrapper":"",style:{...Z,transform:W?Z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[null===(l=K.transformOrigin)||void 0===l?void 0:l.x,null===(s=K.transformOrigin)||void 0===s?void 0:s.y].join(" ")},dir:e.dir},(0,N.createElement)(n7,{scope:v,placedSide:Q,onArrowChange:I,arrowX:J,arrowY:X,shouldHideArrow:ee},(0,N.createElement)(eS.div,(0,eu.Z)({"data-side":Q,"data-align":Y},D,{ref:M,style:{...D.style,animation:W?void 0:"none",opacity:null!==(u=K.hide)&&void 0!==u&&u.referenceHidden?0:void 0}}))))}),rn={top:"bottom",right:"left",bottom:"top",left:"right"},rr=(0,N.forwardRef)(function(e,t){let{__scopePopper:n,...r}=e,o=re("PopperArrow",n),i=rn[o.placedSide];return(0,N.createElement)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},(0,N.createElement)(n1,(0,eu.Z)({},r,{ref:t,style:{...r.style,display:"block"}})))});function ro(e){return null!==e}let ri=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;let{placement:l,rects:s,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[f,h]=ra(l),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!==(r=null===(o=u.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+d/2,g=(null!==(i=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+p/2,y="",b="";return"bottom"===f?(y=c?m:"".concat(v,"px"),b="".concat(-p,"px")):"top"===f?(y=c?m:"".concat(v,"px"),b="".concat(s.floating.height+p,"px")):"right"===f?(y="".concat(-p,"px"),b=c?m:"".concat(g,"px")):"left"===f&&(y="".concat(s.floating.width+p,"px"),b=c?m:"".concat(g,"px")),{data:{x:y,y:b}}}});function ra(e){let[t,n="center"]=e.split("-");return[t,n]}let rl=e=>{let{__scopePopper:t,children:n}=e,[r,o]=(0,N.useState)(null);return(0,N.createElement)(n6,{scope:t,anchor:r,onAnchorChange:o},n)},rs="rovingFocusGroup.onEntryFocus",ru={bubbles:!1,cancelable:!0},rc="RovingFocusGroup",[rd,rp,rf]=t1(rc),[rh,rm]=ef(rc,[rf]),[rv,rg]=rh(rc),ry=(0,N.forwardRef)((e,t)=>(0,N.createElement)(rd.Provider,{scope:e.__scopeRovingFocusGroup},(0,N.createElement)(rd.Slot,{scope:e.__scopeRovingFocusGroup},(0,N.createElement)(rb,(0,eu.Z)({},e,{ref:t}))))),rb=(0,N.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:s,onEntryFocus:u,...c}=e,d=(0,N.useRef)(null),p=ep(t,d),f=t5(i),[h=null,m]=eb({prop:a,defaultProp:l,onChange:s}),[v,g]=(0,N.useState)(!1),y=ey(u),b=rp(n),E=(0,N.useRef)(!1),[x,C]=(0,N.useState)(0);return(0,N.useEffect)(()=>{let e=d.current;if(e)return e.addEventListener(rs,y),()=>e.removeEventListener(rs,y)},[y]),(0,N.createElement)(rv,{scope:n,orientation:r,dir:f,loop:o,currentTabStopId:h,onItemFocus:(0,N.useCallback)(e=>m(e),[m]),onItemShiftTab:(0,N.useCallback)(()=>g(!0),[]),onFocusableItemAdd:(0,N.useCallback)(()=>C(e=>e+1),[]),onFocusableItemRemove:(0,N.useCallback)(()=>C(e=>e-1),[])},(0,N.createElement)(eS.div,(0,eu.Z)({tabIndex:v||0===x?-1:0,"data-orientation":r},c,{ref:p,style:{outline:"none",...e.style},onMouseDown:ec(e.onMouseDown,()=>{E.current=!0}),onFocus:ec(e.onFocus,e=>{let t=!E.current;if(e.target===e.currentTarget&&t&&!v){let t=new CustomEvent(rs,ru);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=b().filter(e=>e.focusable);rC([e.find(e=>e.active),e.find(e=>e.id===h),...e].filter(Boolean).map(e=>e.ref.current))}}E.current=!1}),onBlur:ec(e.onBlur,()=>g(!1))})))}),rE=(0,N.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,...a}=e,l=eg(),s=i||l,u=rg("RovingFocusGroupItem",n),c=u.currentTabStopId===s,d=rp(n),{onFocusableItemAdd:p,onFocusableItemRemove:f}=u;return(0,N.useEffect)(()=>{if(r)return p(),()=>f()},[r,p,f]),(0,N.createElement)(rd.ItemSlot,{scope:n,id:s,focusable:r,active:o},(0,N.createElement)(eS.span,(0,eu.Z)({tabIndex:c?0:-1,"data-orientation":u.orientation},a,{ref:t,onMouseDown:ec(e.onMouseDown,e=>{r?u.onItemFocus(s):e.preventDefault()}),onFocus:ec(e.onFocus,()=>u.onItemFocus(s)),onKeyDown:ec(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){u.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return rx[o]}(e,u.orientation,u.dir);if(void 0!==t){e.preventDefault();let o=d().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=u.loop?(n=o,r=i+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(i+1)}setTimeout(()=>rC(o))}})})))}),rx={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function rC(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}let rw=["Enter"," "],rk=["ArrowUp","PageDown","End"],rS=["ArrowDown","PageUp","Home",...rk],r_={ltr:[...rw,"ArrowRight"],rtl:[...rw,"ArrowLeft"]},rT={ltr:["ArrowLeft"],rtl:["ArrowRight"]},rA="Menu",[rD,rO,rR]=t1(rA),[rL,rN]=ef(rA,[rR,n3,rm]),rM=n3(),rP=rm(),[rI,rF]=rL(rA),[rV,rj]=rL(rA),rq=(0,N.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e,o=rM(n);return(0,N.createElement)(n9,(0,eu.Z)({},o,r,{ref:t}))}),rz="MenuPortal",[rH,rB]=rL(rz,{forceMount:void 0}),rU="MenuContent",[rZ,rG]=rL(rU),rW=(0,N.forwardRef)((e,t)=>{let n=rB(rU,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=rF(rU,e.__scopeMenu),a=rj(rU,e.__scopeMenu);return(0,N.createElement)(rD.Provider,{scope:e.__scopeMenu},(0,N.createElement)(eH,{present:r||i.open},(0,N.createElement)(rD.Slot,{scope:e.__scopeMenu},a.modal?(0,N.createElement)(rK,(0,eu.Z)({},o,{ref:t})):(0,N.createElement)(rQ,(0,eu.Z)({},o,{ref:t})))))}),rK=(0,N.forwardRef)((e,t)=>{let n=rF(rU,e.__scopeMenu),r=(0,N.useRef)(null),o=ep(t,r);return(0,N.useEffect)(()=>{let e=r.current;if(e)return tT(e)},[]),(0,N.createElement)(rY,(0,eu.Z)({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:ec(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),rQ=(0,N.forwardRef)((e,t)=>{let n=rF(rU,e.__scopeMenu);return(0,N.createElement)(rY,(0,eu.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),rY=(0,N.forwardRef)((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:l,onEntryFocus:s,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:p,onDismiss:f,disableOutsideScroll:h,...m}=e,v=rF(rU,n),g=rj(rU,n),y=rM(n),b=rP(n),E=rO(n),[x,C]=(0,N.useState)(null),w=(0,N.useRef)(null),k=ep(t,w,v.onContentChange),S=(0,N.useRef)(0),_=(0,N.useRef)(""),T=(0,N.useRef)(0),A=(0,N.useRef)(null),D=(0,N.useRef)("right"),O=(0,N.useRef)(0),R=h?tE:N.Fragment,L=h?{as:ex,allowPinchZoom:!0}:void 0,M=e=>{var t,n;let r=_.current+e,o=E().filter(e=>!e.disabled),i=document.activeElement,a=null===(t=o.find(e=>e.ref.current===i))||void 0===t?void 0:t.textValue,l=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(i=i.filter(e=>e!==n));let a=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}(o.map(e=>e.textValue),r,a),s=null===(n=o.find(e=>e.textValue===l))||void 0===n?void 0:n.ref.current;!function e(t){_.current=t,window.clearTimeout(S.current),""!==t&&(S.current=window.setTimeout(()=>e(""),1e3))}(r),s&&setTimeout(()=>s.focus())};(0,N.useEffect)(()=>()=>window.clearTimeout(S.current),[]),eZ();let P=(0,N.useCallback)(e=>{var t,n,r;return D.current===(null===(t=A.current)||void 0===t?void 0:t.side)&&!!(r=null===(n=A.current)||void 0===n?void 0:n.area)&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e].x,l=t[e].y,s=t[i].x,u=t[i].y;l>r!=u>r&&n<(s-a)*(r-l)/(u-l)+a&&(o=!o)}return o}({x:e.clientX,y:e.clientY},r)},[]);return(0,N.createElement)(rZ,{scope:n,searchRef:_,onItemEnter:(0,N.useCallback)(e=>{P(e)&&e.preventDefault()},[P]),onItemLeave:(0,N.useCallback)(e=>{var t;P(e)||(null===(t=w.current)||void 0===t||t.focus(),C(null))},[P]),onTriggerLeave:(0,N.useCallback)(e=>{P(e)&&e.preventDefault()},[P]),pointerGraceTimerRef:T,onPointerGraceIntentChange:(0,N.useCallback)(e=>{A.current=e},[])},(0,N.createElement)(R,L,(0,N.createElement)(eP,{asChild:!0,trapped:o,onMountAutoFocus:ec(i,e=>{var t;e.preventDefault(),null===(t=w.current)||void 0===t||t.focus()}),onUnmountAutoFocus:a},(0,N.createElement)(eD,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:p,onDismiss:f},(0,N.createElement)(ry,(0,eu.Z)({asChild:!0},b,{dir:g.dir,orientation:"vertical",loop:r,currentTabStopId:x,onCurrentTabStopIdChange:C,onEntryFocus:ec(s,e=>{g.isUsingKeyboardRef.current||e.preventDefault()})}),(0,N.createElement)(rt,(0,eu.Z)({role:"menu","aria-orientation":"vertical","data-state":oe(v.open),"data-radix-menu-content":"",dir:g.dir},y,m,{ref:k,style:{outline:"none",...m.style},onKeyDown:ec(m.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&M(e.key));let o=w.current;if(e.target!==o||!rS.includes(e.key))return;e.preventDefault();let i=E().filter(e=>!e.disabled).map(e=>e.ref.current);rk.includes(e.key)&&i.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(i)}),onBlur:ec(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(S.current),_.current="")}),onPointerMove:ec(e.onPointerMove,or(e=>{let t=e.target,n=O.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>O.current?"right":"left";D.current=t,O.current=e.clientX}}))})))))))}),r$=(0,N.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,N.createElement)(eS.div,(0,eu.Z)({role:"group"},r,{ref:t}))}),rJ=((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,N.createElement)(eS.div,(0,eu.Z)({},r,{ref:t}))},"MenuItem"),rX="menu.itemSelect",r0=(0,N.forwardRef)((e,t)=>{let{disabled:n=!1,onSelect:r,...o}=e,i=(0,N.useRef)(null),a=rj(rJ,e.__scopeMenu),l=rG(rJ,e.__scopeMenu),s=ep(t,i),u=(0,N.useRef)(!1);return(0,N.createElement)(r1,(0,eu.Z)({},o,{ref:s,disabled:n,onClick:ec(e.onClick,()=>{let e=i.current;if(!n&&e){let t=new CustomEvent(rX,{bubbles:!0,cancelable:!0});e.addEventListener(rX,e=>null==r?void 0:r(e),{once:!0}),e_(e,t),t.defaultPrevented?u.current=!1:a.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),u.current=!0},onPointerUp:ec(e.onPointerUp,e=>{var t;u.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:ec(e.onKeyDown,e=>{let t=""!==l.searchRef.current;!n&&(!t||" "!==e.key)&&rw.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),r1=(0,N.forwardRef)((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=rG(rJ,n),l=rP(n),s=(0,N.useRef)(null),u=ep(t,s),[c,d]=(0,N.useState)(!1),[p,f]=(0,N.useState)("");return(0,N.useEffect)(()=>{let e=s.current;if(e){var t;f((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[i.children]),(0,N.createElement)(rD.ItemSlot,{scope:n,disabled:r,textValue:null!=o?o:p},(0,N.createElement)(rE,(0,eu.Z)({asChild:!0},l,{focusable:!r}),(0,N.createElement)(eS.div,(0,eu.Z)({role:"menuitem","data-highlighted":c?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},i,{ref:u,onPointerMove:ec(e.onPointerMove,or(e=>{r?a.onItemLeave(e):(a.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())})),onPointerLeave:ec(e.onPointerLeave,or(e=>a.onItemLeave(e))),onFocus:ec(e.onFocus,()=>d(!0)),onBlur:ec(e.onBlur,()=>d(!1))}))))}),[r2,r5]=((e,t)=>{let{checked:n=!1,onCheckedChange:r,...o}=e;return(0,N.createElement)(r6,{scope:e.__scopeMenu,checked:n},(0,N.createElement)(r0,(0,eu.Z)({role:"menuitemcheckbox","aria-checked":ot(n)?"mixed":n},o,{ref:t,"data-state":on(n),onSelect:ec(o.onSelect,()=>null==r?void 0:r(!!ot(n)||!n),{checkForDefaultPrevented:!1})})))},rL("MenuRadioGroup",{value:void 0,onValueChange:()=>{}})),r3=((e,t)=>{let{value:n,onValueChange:r,...o}=e,i=ey(r);return(0,N.createElement)(r2,{scope:e.__scopeMenu,value:n,onValueChange:i},(0,N.createElement)(r$,(0,eu.Z)({},o,{ref:t})))},"MenuItemIndicator"),[r6,r4]=rL(r3,{checked:!1}),[r9,r8]=((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,i=r4(r3,n);return(0,N.createElement)(eH,{present:r||ot(i.checked)||!0===i.checked},(0,N.createElement)(eS.span,(0,eu.Z)({},o,{ref:t,"data-state":on(i.checked)})))},rL("MenuSub")),r7="MenuSubTrigger";function oe(e){return e?"open":"closed"}function ot(e){return"indeterminate"===e}function on(e){return ot(e)?"indeterminate":e?"checked":"unchecked"}function or(e){return t=>"mouse"===t.pointerType?e(t):void 0}(e,t)=>{let n=rF(r7,e.__scopeMenu),r=rj(r7,e.__scopeMenu),o=r8(r7,e.__scopeMenu),i=rG(r7,e.__scopeMenu),a=(0,N.useRef)(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:s}=i,u={__scopeMenu:e.__scopeMenu},c=(0,N.useCallback)(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return(0,N.useEffect)(()=>c,[c]),(0,N.useEffect)(()=>{let e=l.current;return()=>{window.clearTimeout(e),s(null)}},[l,s]),(0,N.createElement)(rq,(0,eu.Z)({asChild:!0},u),(0,N.createElement)(r1,(0,eu.Z)({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":oe(n.open)},e,{ref:ed(t,o.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:ec(e.onPointerMove,or(t=>{i.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||a.current||(i.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),c()},100))})),onPointerLeave:ec(e.onPointerLeave,or(e=>{var t,r;c();let o=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,a="right"===t,s=o[a?"left":"right"],u=o[a?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:s,y:o.top},{x:u,y:o.top},{x:u,y:o.bottom},{x:s,y:o.bottom}],side:t}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:ec(e.onKeyDown,t=>{let o=""!==i.searchRef.current;if(!e.disabled&&(!o||" "!==t.key)&&r_[r.dir].includes(t.key)){var a;n.onOpenChange(!0),null===(a=n.content)||void 0===a||a.focus(),t.preventDefault()}})})))},(e,t)=>{let n=rB(rU,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=rF(rU,e.__scopeMenu),a=rj(rU,e.__scopeMenu),l=r8("MenuSubContent",e.__scopeMenu),s=(0,N.useRef)(null),u=ep(t,s);return(0,N.createElement)(rD.Provider,{scope:e.__scopeMenu},(0,N.createElement)(eH,{present:r||i.open},(0,N.createElement)(rD.Slot,{scope:e.__scopeMenu},(0,N.createElement)(rY,(0,eu.Z)({id:l.contentId,"aria-labelledby":l.triggerId},o,{ref:u,align:"start",side:"rtl"===a.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;a.isUsingKeyboardRef.current&&(null===(t=s.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:ec(e.onFocusOutside,e=>{e.target!==l.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:ec(e.onEscapeKeyDown,e=>{a.onClose(),e.preventDefault()}),onKeyDown:ec(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=rT[a.dir].includes(e.key);if(t&&n){var r;i.onOpenChange(!1),null===(r=l.trigger)||void 0===r||r.focus(),e.preventDefault()}})})))))};let oo=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:a=!0}=e,l=rM(t),[s,u]=(0,N.useState)(null),c=(0,N.useRef)(!1),d=ey(i),p=t5(o);return(0,N.useEffect)(()=>{let e=()=>{c.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>c.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,N.createElement)(rl,l,(0,N.createElement)(rI,{scope:t,open:n,onOpenChange:d,content:s,onContentChange:u},(0,N.createElement)(rV,{scope:t,onClose:(0,N.useCallback)(()=>d(!1),[d]),isUsingKeyboardRef:c,dir:p,modal:a},r)))},oi=e=>{let{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=rF(rz,t);return(0,N.createElement)(rH,{scope:t,forceMount:n},(0,N.createElement)(eH,{present:n||i.open},(0,N.createElement)(ez,{asChild:!0,container:o},r)))},oa="DropdownMenu",[ol,os]=ef(oa,[rN]),ou=rN(),[oc,od]=ol(oa),op=(0,N.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=od("DropdownMenuTrigger",n),a=ou(n);return(0,N.createElement)(rq,(0,eu.Z)({asChild:!0},a),(0,N.createElement)(eS.button,(0,eu.Z)({type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:ed(t,i.triggerRef),onPointerDown:ec(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:ec(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),of=(0,N.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=od("DropdownMenuContent",n),i=ou(n),a=(0,N.useRef)(!1);return(0,N.createElement)(rW,(0,eu.Z)({id:o.contentId,"aria-labelledby":o.triggerId},i,r,{ref:t,onCloseAutoFocus:ec(e.onCloseAutoFocus,e=>{var t;a.current||null===(t=o.triggerRef.current)||void 0===t||t.focus(),a.current=!1,e.preventDefault()}),onInteractOutside:ec(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!o.modal||r)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),oh=(0,N.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=ou(n);return(0,N.createElement)(r0,(0,eu.Z)({},o,r,{ref:t}))}),om=e=>{let{__scopeDropdownMenu:t,...n}=e,r=ou(t);return(0,N.createElement)(oi,(0,eu.Z)({},r,n))};var ov=n(68580),og=function(){},oy=function(){},ob=(0,N.createContext)(null),oE=n(49079),ox=(void 0===oE||oE.env,"production"),oC=function(e){return{isEnabled:function(t){return e.some(function(e){return!!t[e]})}}},ow={measureLayout:oC(["layout","layoutId","drag"]),animation:oC(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:oC(["exit"]),drag:oC(["drag","dragControls"]),focus:oC(["whileFocus"]),hover:oC(["whileHover","onHoverStart","onHoverEnd"]),tap:oC(["whileTap","onTap","onTapStart","onTapCancel"]),pan:oC(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:oC(["whileInView","onViewportEnter","onViewportLeave"])},ok=(0,N.createContext)({strict:!1}),oS=Object.keys(ow),o_=oS.length,oT=(0,N.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),oA=(0,N.createContext)({}),oD=(0,N.createContext)(null),oO="undefined"!=typeof document,oR=oO?N.useLayoutEffect:N.useEffect,oL={current:null},oN=!1;function oM(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function oP(e){return Array.isArray(e)}function oI(e){return"string"==typeof e||oP(e)}function oF(e,t,n,r,o){var i;return void 0===r&&(r={}),void 0===o&&(o={}),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),"string"==typeof t&&(t=null===(i=e.variants)||void 0===i?void 0:i[t]),"function"==typeof t&&(t=t(null!=n?n:e.custom,r,o)),t}function oV(e,t,n){var r,o,i=e.getProps();return oF(i,t,null!=n?n:i.custom,(r={},e.forEachValue(function(e,t){return r[t]=e.get()}),r),(o={},e.forEachValue(function(e,t){return o[t]=e.getVelocity()}),o))}function oj(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||oI(e.initial)||oI(e.animate)||oI(e.whileHover)||oI(e.whileDrag)||oI(e.whileTap)||oI(e.whileFocus)||oI(e.exit)}function oq(e){return!!(oj(e)||e.variants)}function oz(e){return Array.isArray(e)?e.join(" "):e}function oH(e){var t=(0,N.useRef)(null);return null===t.current&&(t.current=e()),t.current}var oB={hasAnimatedSinceResize:!0,hasEverUpdated:!1},oU=1,oZ=(0,N.createContext)({}),oG=(0,N.createContext)({}),oW=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return eK(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,n=e.props;t&&t.setProps(n)},t.prototype.render=function(){return this.props.children},t}(N.Component),oK=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function oQ(e){if("string"!=typeof e||e.includes("-"));else if(oK.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}var oY={},o$=["","X","Y","Z"],oJ=["transformPerspective","x","y","z"];function oX(e,t){return oJ.indexOf(e)-oJ.indexOf(t)}["translate","scale","rotate","skew"].forEach(function(e){return o$.forEach(function(t){return oJ.push(e+t)})});var o0=new Set(oJ);function o1(e){return o0.has(e)}var o2=new Set(["originX","originY","originZ"]);function o5(e,t){var n=t.layout,r=t.layoutId;return o1(e)||o2.has(e)||(n||void 0!==r)&&(!!oY[e]||"opacity"===e)}var o3=function(e){return!!(null!==e&&"object"==typeof e&&e.getVelocity)},o6={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function o4(e){return e.startsWith("--")}let o9=(e,t)=>n=>Math.max(Math.min(n,t),e),o8=e=>e%1?Number(e.toFixed(5)):e,o7=/(-)?([\d]*\.?[\d])+/g,ie=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,it=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ir(e){return"string"==typeof e}let io=e=>({test:t=>ir(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>"".concat(t).concat(e)}),ii=io("deg"),ia=io("%"),il=io("px"),is=io("vh"),iu=io("vw"),ic=Object.assign(Object.assign({},ia),{parse:e=>ia.parse(e)/100,transform:e=>ia.transform(100*e)}),id={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},ip=Object.assign(Object.assign({},id),{transform:o9(0,1)}),ih=Object.assign(Object.assign({},id),{default:1});var im=eQ(eQ({},id),{transform:Math.round}),iv={borderWidth:il,borderTopWidth:il,borderRightWidth:il,borderBottomWidth:il,borderLeftWidth:il,borderRadius:il,radius:il,borderTopLeftRadius:il,borderTopRightRadius:il,borderBottomRightRadius:il,borderBottomLeftRadius:il,width:il,maxWidth:il,height:il,maxHeight:il,size:il,top:il,right:il,bottom:il,left:il,padding:il,paddingTop:il,paddingRight:il,paddingBottom:il,paddingLeft:il,margin:il,marginTop:il,marginRight:il,marginBottom:il,marginLeft:il,rotate:ii,rotateX:ii,rotateY:ii,rotateZ:ii,scale:ih,scaleX:ih,scaleY:ih,scaleZ:ih,skew:ii,skewX:ii,skewY:ii,distance:il,translateX:il,translateY:il,translateZ:il,x:il,y:il,z:il,perspective:il,transformPerspective:il,opacity:ip,originX:ic,originY:ic,originZ:il,zIndex:im,fillOpacity:ip,strokeOpacity:ip,numOctaves:im};function ig(e,t,n,r){var o,i,a,l,s=e.style,u=e.vars,c=e.transform,d=e.transformKeys,p=e.transformOrigin;d.length=0;var f=!1,h=!1,m=!0;for(var v in t){var g=t[v];if(o4(v)){u[v]=g;continue}var y=iv[v],b=y&&"number"==typeof g?y.transform(g):g;if(o1(v)){if(f=!0,c[v]=b,d.push(v),!m)continue;g!==(null!==(l=y.default)&&void 0!==l?l:0)&&(m=!1)}else o2.has(v)?(p[v]=b,h=!0):s[v]=b}f?s.transform=function(e,t,n,r){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,l=t.allowTransformNone,s="";i.sort(oX);for(var u=!1,c=i.length,d=0;d<c;d++){var p=i[d];s+="".concat(o6[p]||p,"(").concat(o[p],") "),"z"===p&&(u=!0)}return!u&&(void 0===a||a)?s+="translateZ(0)":s=s.trim(),r?s=r(o,n?"":s):(void 0===l||l)&&n&&(s="none"),s}(e,n,m,r):r?s.transform=r({},""):!t.transform&&s.transform&&(s.transform="none"),h&&(s.transformOrigin=(o=p.originX,i=p.originY,a=p.originZ,"".concat(void 0===o?"50%":o," ").concat(void 0===i?"50%":i," ").concat(void 0===a?0:a)))}var iy=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function ib(e,t,n){for(var r in t)o3(t[r])||o5(r,n)||(e[r]=t[r])}var iE=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function ix(e){return iE.has(e)}var iC=function(e){return!ix(e)};try{(c=require("@emotion/is-prop-valid").default)&&(iC=function(e){return e.startsWith("on")?!ix(e):c(e)})}catch(e){}function iw(e,t,n){return"string"==typeof e?e:il.transform(t+n*e)}var ik={offset:"stroke-dashoffset",array:"stroke-dasharray"},iS={offset:"strokeDashoffset",array:"strokeDasharray"};function i_(e,t,n,r){var o,i,a,l,s,u,c,d,p=t.attrX,f=t.attrY,h=t.originX,m=t.originY,v=t.pathLength,g=t.pathSpacing,y=t.pathOffset;ig(e,eY(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),e.attrs=e.style,e.style={};var b=e.attrs,E=e.style,x=e.dimensions;b.transform&&(x&&(E.transform=b.transform),delete b.transform),x&&(void 0!==h||void 0!==m||E.transform)&&(E.transformOrigin=(o=iw(void 0!==h?h:.5,x.x,x.width),i=iw(void 0!==m?m:.5,x.y,x.height),"".concat(o," ").concat(i))),void 0!==p&&(b.x=p),void 0!==f&&(b.y=f),void 0!==v&&(s=!1,void 0===(a=void 0===g?1:g)&&(a=1),void 0===(l=void 0===y?0:y)&&(l=0),void 0===s&&(s=!0),b.pathLength=1,b[(u=s?ik:iS).offset]=il.transform(-l),c=il.transform(v),d=il.transform(a),b[u.array]="".concat(c," ").concat(d))}var iT=function(){return eQ(eQ({},iy()),{attrs:{}})},iA=/([a-z])([A-Z])/g,iD=function(e){return e.replace(iA,"$1-$2").toLowerCase()};function iO(e,t,n,r){var o=t.style,i=t.vars;for(var a in Object.assign(e.style,o,r&&r.getProjectionStyles(n)),i)e.style.setProperty(a,i[a])}var iR=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function iL(e,t,n,r){for(var o in iO(e,t,void 0,r),t.attrs)e.setAttribute(iR.has(o)?o:iD(o),t.attrs[o])}function iN(e){var t=e.style,n={};for(var r in t)(o3(t[r])||o5(r,e))&&(n[r]=t[r]);return n}function iM(e){var t=iN(e);for(var n in e)o3(e[n])&&(t["x"===n||"y"===n?"attr"+n.toUpperCase():n]=e[n]);return t}function iP(e){return"object"==typeof e&&"function"==typeof e.start}var iI=function(e){return Array.isArray(e)},iF=function(e){return iI(e)?e[e.length-1]||0:e};function iV(e){var t=o3(e)?e.get():e;return t&&"object"==typeof t&&t.mix&&t.toValue?t.toValue():t}function ij(e,t,n,r){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,l={latestValues:function(e,t,n,r){var o={},i=(null==n?void 0:n.initial)===!1,a=r(e);for(var l in a)o[l]=iV(a[l]);var s=e.initial,u=e.animate,c=oj(e),d=oq(e);t&&d&&!c&&!1!==e.inherit&&(null!=s||(s=t.initial),null!=u||(u=t.animate));var p=i||!1===s,f=p?u:s;return f&&"boolean"!=typeof f&&!iP(f)&&(Array.isArray(f)?f:[f]).forEach(function(t){var n=oF(e,t);if(n){var r=n.transitionEnd;n.transition;var i=eY(n,["transitionEnd","transition"]);for(var a in i){var l=i[a];if(Array.isArray(l)){var s=p?l.length-1:0;l=l[s]}null!==l&&(o[a]=l)}for(var a in r)o[a]=r[a]}}),o}(t,n,r,o),renderState:i()};return a&&(l.mount=function(e){return a(t,e,l)}),l}var iq=function(e){return function(t,n){var r=(0,N.useContext)(oA),o=(0,N.useContext)(oD);return n?ij(e,t,r,o):oH(function(){return ij(e,t,r,o)})}},iz={useVisualState:iq({scrapeMotionValuesFromProps:iM,createRenderState:iT,onMount:function(e,t,n){var r=n.renderState,o=n.latestValues;try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}i_(r,o,{enableHardwareAcceleration:!1},e.transformTemplate),iL(t,r)}})},iH={useVisualState:iq({scrapeMotionValuesFromProps:iN,createRenderState:iy})};function iB(e,t,n,r){return void 0===r&&(r={passive:!0}),e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n)}}function iU(e,t,n,r){(0,N.useEffect)(function(){var o=e.current;if(n&&o)return iB(o,t,n,r)},[e,t,n,r])}function iZ(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}(d=D||(D={})).Animate="animate",d.Hover="whileHover",d.Tap="whileTap",d.Drag="whileDrag",d.Focus="whileFocus",d.InView="whileInView",d.Exit="exit";var iG={pageX:0,pageY:0};function iW(e,t){var n,r,o;return void 0===t&&(t="page"),{point:e.touches?(void 0===(n=t)&&(n="page"),{x:(r=e.touches[0]||e.changedTouches[0]||iG)[n+"X"],y:r[n+"Y"]}):(void 0===(o=t)&&(o="page"),{x:e[o+"X"],y:e[o+"Y"]})}}var iK=function(e,t){void 0===t&&(t=!1);var n=function(t){return e(t,iW(t))};return t?function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&n(e)}:n},iQ={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},iY={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function i$(e){if(oO&&null===window.onpointerdown);else if(oO&&null===window.ontouchstart)return iY[e];else if(oO&&null===window.onmousedown)return iQ[e];return e}function iJ(e,t,n,r){return iB(e,i$(t),iK(n,"pointerdown"===t),r)}function iX(e,t,n,r){return iU(e,i$(t),n&&iK(n,"pointerdown"===t),r)}function i0(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var i1=i0("dragHorizontal"),i2=i0("dragVertical");function i5(e){var t=!1;if("y"===e)t=i2();else if("x"===e)t=i1();else{var n=i1(),r=i2();n&&r?t=function(){n(),r()}:(n&&n(),r&&r())}return t}function i3(){var e=i5(!0);return!e||(e(),!1)}function i6(e,t,n){return function(r,o){var i;!iZ(r)||i3()||(null===(i=e.animationState)||void 0===i||i.setActive(D.Hover,t),null==n||n(r,o))}}var i4=function(e,t){return!!t&&(e===t||i4(e,t.parentElement))};function i9(e){return(0,N.useEffect)(function(){return function(){return e()}},[])}let i8=(e,t)=>n=>t(e(n)),i7=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(i8)};var ae=new Set,at=new WeakMap,an=new WeakMap,ar=function(e){var t;null===(t=at.get(e.target))||void 0===t||t(e)},ao=function(e){e.forEach(ar)},ai={some:0,all:1},aa=function(e){return function(t){return e(t),null}},al={inView:aa(function(e){var t=e.visualElement,n=e.whileInView,r=e.onViewportEnter,o=e.onViewportLeave,i=e.viewport,a=void 0===i?{}:i,l=(0,N.useRef)({hasEnteredView:!1,isInView:!1}),s=!!(n||r||o);a.once&&l.current.hasEnteredView&&(s=!1),("undefined"==typeof IntersectionObserver?function(e,t,n,r){var o=r.fallback,i=void 0===o||o;(0,N.useEffect)(function(){if(e&&i){if("production"!==ox){var r,o;r="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",ae.has(r)||(console.warn(r),o&&console.warn(o),ae.add(r))}requestAnimationFrame(function(){t.hasEnteredView=!0;var e,r=n.getProps().onViewportEnter;null==r||r(null),null===(e=n.animationState)||void 0===e||e.setActive(D.InView,!0)})}},[e])}:function(e,t,n,r){var o=r.root,i=r.margin,a=r.amount,l=void 0===a?"some":a,s=r.once;(0,N.useEffect)(function(){if(e){var r,a,u,c,d,p,f,h={root:null==o?void 0:o.current,rootMargin:i,threshold:"number"==typeof l?l:ai[l]};return r=n.getInstance(),a=h.root,u=eY(h,["root"]),c=a||document,an.has(c)||an.set(c,{}),(d=an.get(c))[p=JSON.stringify(u)]||(d[p]=new IntersectionObserver(ao,eQ({root:a},u))),f=d[p],at.set(r,function(e){var r,o=e.isIntersecting;if(t.isInView!==o){if(t.isInView=o,s&&!o&&t.hasEnteredView)return;o&&(t.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(D.InView,o);var i=n.getProps(),a=o?i.onViewportEnter:i.onViewportLeave;null==a||a(e)}}),f.observe(r),function(){at.delete(r),f.unobserve(r)}}},[e,o,i,l])})(s,l.current,t,a)}),tap:aa(function(e){var t=e.onTap,n=e.onTapStart,r=e.onTapCancel,o=e.whileTap,i=e.visualElement,a=t||n||r||o,l=(0,N.useRef)(!1),s=(0,N.useRef)(null),u={passive:!(n||t||r||h)};function c(){var e;null===(e=s.current)||void 0===e||e.call(s),s.current=null}function d(){var e;return c(),l.current=!1,null===(e=i.animationState)||void 0===e||e.setActive(D.Tap,!1),!i3()}function p(e,n){d()&&(i4(i.getInstance(),e.target)?null==t||t(e,n):null==r||r(e,n))}function f(e,t){d()&&(null==r||r(e,t))}function h(e,t){var r;c(),l.current||(l.current=!0,s.current=i7(iJ(window,"pointerup",p,u),iJ(window,"pointercancel",f,u)),null===(r=i.animationState)||void 0===r||r.setActive(D.Tap,!0),null==n||n(e,t))}iX(i,"pointerdown",a?h:void 0,u),i9(c)}),focus:aa(function(e){var t=e.whileFocus,n=e.visualElement;iU(n,"focus",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(D.Focus,!0)}:void 0),iU(n,"blur",t?function(){var e;null===(e=n.animationState)||void 0===e||e.setActive(D.Focus,!1)}:void 0)}),hover:aa(function(e){var t=e.onHoverStart,n=e.onHoverEnd,r=e.whileHover,o=e.visualElement;iX(o,"pointerenter",t||r?i6(o,!0,t):void 0,{passive:!t}),iX(o,"pointerleave",n||r?i6(o,!1,n):void 0,{passive:!n})})},as=0,au=function(){return as++};function ac(){var e=(0,N.useContext)(oD);if(null===e)return[!0,null];var t=e.isPresent,n=e.onExitComplete,r=e.register,o=oH(au);return(0,N.useEffect)(function(){return r(o)},[]),!t&&n?[!1,function(){return null==n?void 0:n(o)}]:[!0]}function ad(e,t){if(!Array.isArray(t))return!1;var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}let ap=(e,t,n)=>Math.min(Math.max(n,e),t);function af(e,t){return e*Math.sqrt(1-t*t)}let ah=["duration","bounce"],am=["stiffness","damping","mass"];function av(e,t){return t.some(t=>void 0!==e[t])}function ag(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:o}=e,i=eY(e,["from","to","restSpeed","restDelta"]);let a={done:!1,value:t},{stiffness:l,damping:s,mass:u,velocity:c,duration:d,isResolvedFromDuration:p}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!av(e,am)&&av(e,ah)){let n=function(e){let t,n,{duration:r=800,bounce:o=.25,velocity:i=0,mass:a=1}=e;og(r<=1e4,"Spring duration must be 10 seconds or less");let l=1-o;l=ap(.05,1,l),r=ap(.01,10,r/1e3),l<1?(t=e=>{let t=e*l,n=t*r;return .001-(t-i)/af(e,l)*Math.exp(-n)},n=e=>{let n=e*l*r,o=Math.pow(l,2)*Math.pow(e,2)*r,a=Math.exp(-n),s=af(Math.pow(e,2),l);return(n*i+i-o)*a*(-t(e)+.001>0?-1:1)/s}):(t=e=>-.001+Math.exp(-e*r)*((e-i)*r+1),n=e=>r*r*(i-e)*Math.exp(-e*r));let s=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(t,n,5/r);if(r*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:r};{let e=Math.pow(s,2)*a;return{stiffness:e,damping:2*l*Math.sqrt(a*e),duration:r}}}(e);(t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(i),f=ay,h=ay;function m(){let e=c?-(c/1e3):0,r=n-t,i=s/(2*Math.sqrt(l*u)),a=Math.sqrt(l/u)/1e3;if(void 0===o&&(o=Math.min(Math.abs(n-t)/100,.4)),i<1){let t=af(a,i);f=o=>n-Math.exp(-i*a*o)*((e+i*a*r)/t*Math.sin(t*o)+r*Math.cos(t*o)),h=n=>{let o=Math.exp(-i*a*n);return i*a*o*(Math.sin(t*n)*(e+i*a*r)/t+r*Math.cos(t*n))-o*(Math.cos(t*n)*(e+i*a*r)-t*r*Math.sin(t*n))}}else if(1===i)f=t=>n-Math.exp(-a*t)*(r+(e+a*r)*t);else{let t=a*Math.sqrt(i*i-1);f=o=>{let l=Math.exp(-i*a*o),s=Math.min(t*o,300);return n-l*((e+i*a*r)*Math.sinh(s)+t*r*Math.cosh(s))/t}}}return m(),{next:e=>{let t=f(e);if(p)a.done=e>=d;else{let i=1e3*h(e),l=Math.abs(n-t)<=o;a.done=Math.abs(i)<=r&&l}return a.value=a.done?n:t,a},flipTarget:()=>{c=-c,[t,n]=[n,t],m()}}}ag.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;let ay=e=>0,ab=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r},aE=(e,t,n)=>-n*e+n*t+e,ax=(e,t)=>n=>!!(ir(n)&&it.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),aC=(e,t,n)=>r=>{if(!ir(r))return r;let[o,i,a,l]=r.match(o7);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}},aw=o9(0,255),ak=Object.assign(Object.assign({},id),{transform:e=>Math.round(aw(e))}),aS={test:ax("rgb","red"),parse:aC("red","green","blue"),transform:e=>{let{red:t,green:n,blue:r,alpha:o=1}=e;return"rgba("+ak.transform(t)+", "+ak.transform(n)+", "+ak.transform(r)+", "+o8(ip.transform(o))+")"}},a_={test:ax("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),o=e.substr(4,1),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:aS.transform},aT={test:ax("hsl","hue"),parse:aC("hue","saturation","lightness"),transform:e=>{let{hue:t,saturation:n,lightness:r,alpha:o=1}=e;return"hsla("+Math.round(t)+", "+ia.transform(o8(n))+", "+ia.transform(o8(r))+", "+o8(ip.transform(o))+")"}};function aA(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function aD(e){let{hue:t,saturation:n,lightness:r,alpha:o}=e;t/=360,r/=100;let i=0,a=0,l=0;if(n/=100){let e=r<.5?r*(1+n):r+n-r*n,o=2*r-e;i=aA(o,e,t+1/3),a=aA(o,e,t),l=aA(o,e,t-1/3)}else i=a=l=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*l),alpha:o}}let aO=(e,t,n)=>{let r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},aR=[a_,aS,aT],aL=e=>aR.find(t=>t.test(e)),aN=e=>"'".concat(e,"' is not an animatable color. Use the equivalent color code instead."),aM=(e,t)=>{let n=aL(e),r=aL(t);oy(!!n,aN(e)),oy(!!r,aN(t));let o=n.parse(e),i=r.parse(t);n===aT&&(o=aD(o),n=aS),r===aT&&(i=aD(i),r=aS);let a=Object.assign({},o);return e=>{for(let t in a)"alpha"!==t&&(a[t]=aO(o[t],i[t],e));return a.alpha=aE(o.alpha,i.alpha,e),n.transform(a)}},aP={test:e=>aS.test(e)||a_.test(e)||aT.test(e),parse:e=>aS.test(e)?aS.parse(e):aT.test(e)?aT.parse(e):a_.parse(e),transform:e=>ir(e)?e:e.hasOwnProperty("red")?aS.transform(e):aT.transform(e)},aI="${c}",aF="${n}";function aV(e){"number"==typeof e&&(e="".concat(e));let t=[],n=0,r=e.match(ie);r&&(n=r.length,e=e.replace(ie,aI),t.push(...r.map(aP.parse)));let o=e.match(o7);return o&&(e=e.replace(o7,aF),t.push(...o.map(id.parse))),{values:t,numColors:n,tokenised:e}}function aj(e){return aV(e).values}function aq(e){let{values:t,numColors:n,tokenised:r}=aV(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=t.replace(r<n?aI:aF,r<n?aP.transform(e[r]):o8(e[r]));return t}}let az=e=>"number"==typeof e?0:e,aH={test:function(e){var t,n,r,o;return isNaN(e)&&ir(e)&&(null!==(n=null===(t=e.match(o7))||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(o=null===(r=e.match(ie))||void 0===r?void 0:r.length)&&void 0!==o?o:0)>0},parse:aj,createTransformer:aq,getAnimatableNone:function(e){let t=aj(e);return aq(e)(t.map(az))}},aB=e=>"number"==typeof e;function aU(e,t){return aB(e)?n=>aE(e,t,n):aP.test(e)?aM(e,t):aK(e,t)}let aZ=(e,t)=>{let n=[...e],r=n.length,o=e.map((e,n)=>aU(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},aG=(e,t)=>{let n=Object.assign(Object.assign({},e),t),r={};for(let o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=aU(e[o],t[o]));return e=>{for(let t in r)n[t]=r[t](e);return n}};function aW(e){let t=aH.parse(e),n=t.length,r=0,o=0,i=0;for(let e=0;e<n;e++)r||"number"==typeof t[e]?r++:void 0!==t[e].hue?i++:o++;return{parsed:t,numNumbers:r,numRGB:o,numHSL:i}}let aK=(e,t)=>{let n=aH.createTransformer(t),r=aW(e),o=aW(t);return r.numHSL===o.numHSL&&r.numRGB===o.numRGB&&r.numNumbers>=o.numNumbers?i7(aZ(r.parsed,o.parsed),n):(og(!0,"Complex values '".concat(e,"' and '").concat(t,"' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.")),n=>"".concat(n>0?t:e))},aQ=(e,t)=>n=>aE(e,t,n);function aY(e,t){let{clamp:n=!0,ease:r,mixer:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e.length;oy(i===t.length,"Both input and output ranges must be the same length"),oy(!r||!Array.isArray(r)||r.length===i-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());let a=function(e,t,n){var r;let o=[],i=n||("number"==typeof(r=e[0])?aQ:"string"==typeof r?aP.test(r)?aM:aK:Array.isArray(r)?aZ:"object"==typeof r?aG:void 0),a=e.length-1;for(let n=0;n<a;n++){let r=i(e[n],e[n+1]);t&&(r=i7(Array.isArray(t)?t[n]:t,r)),o.push(r)}return o}(t,r,o),l=2===i?function(e,t){let[n,r]=e,[o]=t;return e=>o(ab(n,r,e))}(e,a):function(e,t){let n=e.length,r=n-1;return o=>{let i=0,a=!1;if(o<=e[0]?a=!0:o>=e[r]&&(i=r-1,a=!0),!a){let t=1;for(;t<n&&!(e[t]>o)&&t!==r;t++);i=t-1}let l=ab(e[i],e[i+1],o);return t[i](l)}}(e,a);return n?t=>l(ap(e[0],e[i-1],t)):l}let a$=e=>t=>1-e(1-t),aJ=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,aX=e=>t=>t*t*((e+1)*t-e),a0=4/11,a1=8/11,a2=e=>e,a5=e=>Math.pow(e,2),a3=a$(a5),a6=aJ(a5),a4=e=>1-Math.sin(Math.acos(e)),a9=a$(a4),a8=aJ(a9),a7=aX(1.525),le=a$(a7),lt=aJ(a7),ln=(e=>{let t=aX(1.525);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(0),lr=4356/361,lo=35442/1805,li=16061/1805,la=e=>{if(1===e||0===e)return e;let t=e*e;return e<a0?7.5625*t:e<a1?9.075*t-9.9*e+3.4:e<.9?lr*t-lo*e+li:10.8*e*e-20.52*e+10.72},ll=a$(la);function ls(e){let{from:t=0,to:n=1,ease:r,offset:o,duration:i=300}=e,a={done:!1,value:t},l=Array.isArray(n)?n:[t,n],s=(o&&o.length===l.length?o:function(e){let t=e.length;return e.map((e,n)=>0!==n?n/(t-1):0)}(l)).map(e=>e*i);function u(){return aY(s,l,{ease:Array.isArray(r)?r:l.map(()=>r||a6).splice(0,l.length-1)})}let c=u();return{next:e=>(a.value=c(e),a.done=e>=i,a),flipTarget:()=>{l.reverse(),c=u()}}}let lu={keyframes:ls,spring:ag,decay:function(e){let{velocity:t=0,from:n=0,power:r=.8,timeConstant:o=350,restDelta:i=.5,modifyTarget:a}=e,l={done:!1,value:n},s=r*t,u=n+s,c=void 0===a?u:a(u);return c!==u&&(s=c-n),{next:e=>{let t=-s*Math.exp(-e/o);return l.done=!(t>i||t<-i),l.value=l.done?c:c+t,l},flipTarget:()=>{}}}},lc=1/60*1e3;"undefined"!=typeof performance||(()=>Date.now());let ld=e=>window.requestAnimationFrame(e),lp=!0,lf=!1,lh=!1,lm={delta:0,timestamp:0},lv=["read","update","preRender","render","postRender"],lg=lv.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1,a=new WeakSet,l={schedule:function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=l&&o,u=s?t:n;return i&&a.add(e),-1===u.indexOf(e)&&(u.push(e),s&&o&&(r=t.length)),e},cancel:e=>{let t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:s=>{if(o){i=!0;return}if(o=!0,[t,n]=[n,t],n.length=0,r=t.length)for(let n=0;n<r;n++){let r=t[n];r(s),a.has(r)&&(l.schedule(r),e())}o=!1,i&&(i=!1,l.process(s))}};return l}(()=>lf=!0),e),{}),ly=lv.reduce((e,t)=>{let n=lg[t];return e[t]=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return lf||lw(),n.schedule(e,t,r)},e},{}),lb=lv.reduce((e,t)=>(e[t]=lg[t].cancel,e),{}),lE=lv.reduce((e,t)=>(e[t]=()=>lg[t].process(lm),e),{}),lx=e=>lg[e].process(lm),lC=e=>{lf=!1,lm.delta=lp?lc:Math.max(Math.min(e-lm.timestamp,40),1),lm.timestamp=e,lh=!0,lv.forEach(lx),lh=!1,lf&&(lp=!1,ld(lC))},lw=()=>{lf=!0,lp=!0,lh||ld(lC)},lk=()=>lm;function lS(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e-t-n}let l_=e=>{let t=t=>{let{delta:n}=t;return e(n)};return{start:()=>ly.update(t,!0),stop:()=>lb.update(t)}};function lT(e){let t,n,r;var o,{from:i,autoplay:a=!0,driver:l=l_,elapsed:s=0,repeat:u=0,repeatType:c="loop",repeatDelay:d=0,onPlay:p,onStop:f,onComplete:h,onRepeat:m,onUpdate:v}=e,g=eY(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:y}=g,b=0,E=g.duration,x=!1,C=!0,w=function(e){if(Array.isArray(e.to))return ls;if(lu[e.type])return lu[e.type];let t=new Set(Object.keys(e));if(t.has("ease")||t.has("duration")&&!t.has("dampingRatio"));else if(t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta"))return ag;return ls}(g);(null===(o=w.needsInterpolation)||void 0===o?void 0:o.call(w,i,y))&&(r=aY([0,100],[i,y],{clamp:!1}),i=0,y=100);let k=w(Object.assign(Object.assign({},g),{from:i,to:y}));return a&&(null==p||p(),(t=l(function(e){if(C||(e=-e),s+=e,!x){let e=k.next(Math.max(0,s));n=e.value,r&&(n=r(n)),x=C?e.done:s<=0}if(null==v||v(n),x){if(0===b&&(null!=E||(E=s)),b<u){var o,i;o=s,i=E,(C?o>=i+d:o<=-d)&&(b++,"reverse"===c?s=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=!(arguments.length>3)||void 0===arguments[3]||arguments[3];return r?lS(t+-e,t,n):t-(e-t)+n}(s,E,d,C=b%2==0):(s=lS(s,E,d),"mirror"===c&&k.flipTarget()),x=!1,m&&m())}else t.stop(),h&&h()}})).start()),{stop:()=>{null==f||f(),t.stop()}}}var lA=function(e){return 1e3*e};let lD=(e,t)=>1-3*t+3*e,lO=(e,t)=>3*t-6*e,lR=e=>3*e,lL=(e,t,n)=>((lD(t,n)*e+lO(t,n))*e+lR(t))*e,lN=(e,t,n)=>3*lD(t,n)*e*e+2*lO(t,n)*e+lR(t);var lM={linear:a2,easeIn:a5,easeInOut:a6,easeOut:a3,circIn:a4,circInOut:a8,circOut:a9,backIn:a7,backInOut:lt,backOut:le,anticipate:ln,bounceIn:ll,bounceInOut:e=>e<.5?.5*(1-la(1-2*e)):.5*la(2*e-1)+.5,bounceOut:la},lP=function(e){if(Array.isArray(e)){oy(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=e$(e,4);return function(e,t,n,r){if(e===t&&n===r)return a2;let o=new Float32Array(11);for(let t=0;t<11;++t)o[t]=lL(.1*t,e,n);return i=>0===i||1===i?i:lL(function(t){let r=0,i=1;for(;10!==i&&o[i]<=t;++i)r+=.1;let a=r+(t-o[--i])/(o[i+1]-o[i])*.1,l=lN(a,e,n);return l>=.001?function(e,t,n,r){for(let o=0;o<8;++o){let o=lN(t,n,r);if(0===o)break;let i=lL(t,n,r)-e;t-=i/o}return t}(t,a,e,n):0===l?a:function(e,t,n,r,o){let i,a;let l=0;do(i=lL(a=t+(n-t)/2,r,o)-e)>0?n=a:t=a;while(Math.abs(i)>1e-7&&++l<10);return a}(t,r,r+.1,e,n)}(i),t,r)}(t[0],t[1],t[2],t[3])}return"string"==typeof e?(oy(void 0!==lM[e],"Invalid easing type '".concat(e,"'")),lM[e]):e},lI=function(e,t){return"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&aH.test(t)&&!t.startsWith("url("))},lF=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},lV=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},lj=function(){return{type:"keyframes",ease:"linear",duration:.3}},lq=function(e){return{type:"keyframes",duration:.8,values:e}},lz={x:lF,y:lF,z:lF,rotate:lF,rotateX:lF,rotateY:lF,rotateZ:lF,scaleX:lV,scaleY:lV,scale:lV,opacity:lj,backgroundColor:lj,color:lj,default:lV},lH=function(e,t){var n;return n=iI(t)?lq:lz[e]||lz.default,eQ({to:t},n(t))};let lB=new Set(["brightness","contrast","saturate","opacity"]);function lU(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(o7)||[];if(!r)return e;let o=n.replace(r,""),i=lB.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}let lZ=/([a-z-]*)\(.*?\)/g,lG=Object.assign(Object.assign({},aH),{getAnimatableNone:e=>{let t=e.match(lZ);return t?t.map(lU).join(" "):e}});var lW=eQ(eQ({},iv),{color:aP,backgroundColor:aP,outlineColor:aP,fill:aP,stroke:aP,borderColor:aP,borderTopColor:aP,borderRightColor:aP,borderBottomColor:aP,borderLeftColor:aP,filter:lG,WebkitFilter:lG}),lK=function(e){return lW[e]};function lQ(e,t){var n,r=lK(e);return r!==lG&&(r=aH),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,t)}var lY={current:!1},l$=!1;function lJ(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function lX(e){return"number"==typeof e?0:lQ("",e)}function l0(e,t){return e[t]||e.default||e}function l1(e,t,n,r){return void 0===r&&(r={}),lY.current&&(r={type:!1}),t.start(function(o){var i,a,l,s,u,c,d,p,f,h,m,v=(s=n,d=null!==(u=(c=l0(r,e)).from)&&void 0!==u?u:t.get(),p=lI(e,s),"none"===d&&p&&"string"==typeof s?d=lQ(e,s):lJ(d)&&"string"==typeof s?d=lX(s):!Array.isArray(s)&&lJ(s)&&"string"==typeof d&&(s=lX(d)),og((f=lI(e,d))===p,"You are trying to animate ".concat(e,' from "').concat(d,'" to "').concat(s,'". ').concat(d," is not an animatable value - to enable this animation set ").concat(d," to a value animatable to ").concat(s," via the `style` property.")),f&&p&&!1!==c.type?function(){var n,r,i,a,l,u,p,f,h,m,v,g,y,b={from:d,to:s,velocity:t.getVelocity(),onComplete:o,onUpdate:function(e){return t.set(e)}};return"inertia"===c.type||"decay"===c.type?function(e){let t,{from:n=0,velocity:r=0,min:o,max:i,power:a=.8,timeConstant:l=750,bounceStiffness:s=500,bounceDamping:u=10,restDelta:c=1,modifyTarget:d,driver:p,onUpdate:f,onComplete:h,onStop:m}=e;function v(e){return void 0!==o&&e<o||void 0!==i&&e>i}function g(e){return void 0===o?i:void 0===i?o:Math.abs(o-e)<Math.abs(i-e)?o:i}function y(e){null==t||t.stop(),t=lT(Object.assign(Object.assign({},e),{driver:p,onUpdate:t=>{var n;null==f||f(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:h,onStop:m}))}function b(e){y(Object.assign({type:"spring",stiffness:s,damping:u,restDelta:c},e))}if(v(n))b({from:n,velocity:r,to:g(n)});else{let e,t,i=a*r+n;void 0!==d&&(i=d(i));let s=g(i),u=s===o?-1:1;y({type:"decay",from:n,velocity:r,timeConstant:l,power:a,restDelta:c,modifyTarget:d,onUpdate:v(i)?n=>{var o,i;e=t,t=n,o=n-e,r=(i=lk().delta)?1e3/i*o:0,(1===u&&n>s||-1===u&&n<s)&&b({from:n,to:s,velocity:r})}:void 0})}return{stop:()=>null==t?void 0:t.stop()}}(eQ(eQ({},b),c)):lT(eQ(eQ({},(n=c,r=b,i=e,Array.isArray(r.to)&&(null!==(a=n.duration)&&void 0!==a||(n.duration=.8)),Array.isArray(r.to)&&null===r.to[0]&&(r.to=eJ([],e$(r.to),!1),r.to[0]=r.from),(l=n).when,l.delay,l.delayChildren,l.staggerChildren,l.staggerDirection,l.repeat,l.repeatType,l.repeatDelay,l.from,Object.keys(eY(l,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"])).length||(n=eQ(eQ({},n),lH(i,r.to))),eQ(eQ({},r),(p=(u=n).ease,f=u.times,h=u.yoyo,m=u.flip,v=u.loop,g=eY(u,["ease","times","yoyo","flip","loop"]),y=eQ({},g),f&&(y.offset=f),g.duration&&(y.duration=lA(g.duration)),g.repeatDelay&&(y.repeatDelay=lA(g.repeatDelay)),p&&(y.ease=Array.isArray(p)&&"number"!=typeof p[0]?p.map(lP):lP(p)),"tween"===g.type&&(y.type="keyframes"),(h||v||m)&&(og(!l$,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),l$=!0,h?y.repeatType="reverse":v?y.repeatType="loop":m&&(y.repeatType="mirror"),y.repeat=v||h||m||g.repeat),"spring"!==g.type&&(y.type="keyframes"),y)))),{onUpdate:function(e){var t;b.onUpdate(e),null===(t=c.onUpdate)||void 0===t||t.call(c,e)},onComplete:function(){var e;b.onComplete(),null===(e=c.onComplete)||void 0===e||e.call(c)}}))}:function(){var e,n,r=iF(s);return t.set(r),o(),null===(e=null==c?void 0:c.onUpdate)||void 0===e||e.call(c,r),null===(n=null==c?void 0:c.onComplete)||void 0===n||n.call(c),{stop:function(){}}}),g=null!==(l=null!==(a=(l0(i=r,e)||{}).delay)&&void 0!==a?a:i.delay)&&void 0!==l?l:0,y=function(){return m=v()};return g?h=window.setTimeout(y,lA(g)):y(),function(){clearTimeout(h),null==m||m.stop()}})}function l2(e,t){-1===e.indexOf(t)&&e.push(t)}function l5(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var l3=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return l2(this.subscriptions,e),function(){return l5(t.subscriptions,e)}},e.prototype.notify=function(e,t,n){var r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(var o=0;o<r;o++){var i=this.subscriptions[o];i&&i(e,t,n)}}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),l6=function(){function e(e){var t=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new l3,this.velocityUpdateSubscribers=new l3,this.renderSubscribers=new l3,this.canTrackVelocity=!1,this.updateAndNotify=function(e,n){void 0===n&&(n=!0),t.prev=t.current,t.current=e;var r=lk(),o=r.delta,i=r.timestamp;t.lastUpdated!==i&&(t.timeDelta=o,t.lastUpdated=i,ly.postRender(t.scheduleVelocityCheck)),t.prev!==t.current&&t.updateSubscribers.notify(t.current),t.velocityUpdateSubscribers.getSize()&&t.velocityUpdateSubscribers.notify(t.getVelocity()),n&&t.renderSubscribers.notify(t.current)},this.scheduleVelocityCheck=function(){return ly.postRender(t.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==t.lastUpdated&&(t.prev=t.current,t.velocityUpdateSubscribers.notify(t.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=!isNaN(parseFloat(this.current))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){var e,t;return this.canTrackVelocity?(e=parseFloat(this.current)-parseFloat(this.prev),(t=this.timeDelta)?1e3/t*e:0):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise(function(n){t.hasAnimated=!0,t.stopAnimation=e(n)}).then(function(){return t.clearAnimation()})},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function l4(e){return new l6(e)}var l9=function(e){return function(t){return t.test(e)}},l8=[id,il,ia,ii,iu,is,{test:function(e){return"auto"===e},parse:function(e){return e}}],l7=function(e){return l8.find(l9(e))},se=eJ(eJ([],e$(l8),!1),[aP,aH],!1);function st(e,t,n){void 0===n&&(n={});var r,o=oV(e,t,n.custom),i=(o||{}).transition,a=void 0===i?e.getDefaultTransition()||{}:i;n.transitionOverride&&(a=n.transitionOverride);var l=o?function(){return sn(e,o,n)}:function(){return Promise.resolve()},s=(null===(r=e.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var o,i,l,s,u,c,d,p=a.delayChildren;return o=(void 0===p?0:p)+r,i=a.staggerChildren,l=a.staggerDirection,s=n,void 0===o&&(o=0),void 0===i&&(i=0),void 0===l&&(l=1),u=[],c=(e.variantChildren.size-1)*i,d=1===l?function(e){return void 0===e&&(e=0),e*i}:function(e){return void 0===e&&(e=0),c-e*i},Array.from(e.variantChildren).sort(sr).forEach(function(e,n){u.push(st(e,t,eQ(eQ({},s),{delay:o+d(n)})).then(function(){return e.notifyAnimationComplete(t)}))}),Promise.all(u)}:function(){return Promise.resolve()},u=a.when;if(!u)return Promise.all([l(),s(n.delay)]);var c=e$("beforeChildren"===u?[l,s]:[s,l],2),d=c[0],p=c[1];return d().then(p)}function sn(e,t,n){var r,o=void 0===n?{}:n,i=o.delay,a=void 0===i?0:i,l=o.transitionOverride,s=o.type,u=e.makeTargetAnimatable(t),c=u.transition,d=void 0===c?e.getDefaultTransition():c,p=u.transitionEnd,f=eY(u,["transition","transitionEnd"]);l&&(d=l);var h=[],m=s&&(null===(r=e.animationState)||void 0===r?void 0:r.getState()[s]);for(var v in f){var g=e.getValue(v),y=f[v];if(!(!g||void 0===y||m&&function(e,t){var n=e.protectedKeys,r=e.needsAnimating,o=n.hasOwnProperty(t)&&!0!==r[t];return r[t]=!1,o}(m,v))){var b=eQ({delay:a},d);e.shouldReduceMotion&&o1(v)&&(b=eQ(eQ({},b),{type:!1,delay:0}));var E=l1(v,g,y,b);h.push(E)}}return Promise.all(h).then(function(){p&&function(e,t){var n=oV(e,t),r=n?e.makeTargetAnimatable(n,!1):{},o=r.transitionEnd;r.transition;var i=eY(r,["transitionEnd","transition"]);for(var a in i=eQ(eQ({},i),void 0===o?{}:o)){var l=iF(i[a]);e.hasValue(a)?e.getValue(a).set(l):e.addValue(a,l4(l))}}(e,p)})}function sr(e,t){return e.sortNodePosition(t)}var so=[D.Animate,D.InView,D.Focus,D.Hover,D.Tap,D.Drag,D.Exit],si=eJ([],e$(so),!1).reverse(),sa=so.length;function sl(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var ss={animation:aa(function(e){var t=e.visualElement,n=e.animate;t.animationState||(t.animationState=function(e){var t,n=function(t){return Promise.all(t.map(function(t){return function(e,t,n){if(void 0===n&&(n={}),e.notifyAnimationStart(t),Array.isArray(t)){var r;r=Promise.all(t.map(function(t){return st(e,t,n)}))}else if("string"==typeof t)r=st(e,t,n);else{var o="function"==typeof t?oV(e,t,n.custom):t;r=sn(e,o,n)}return r.then(function(){return e.notifyAnimationComplete(t)})}(e,t.animation,t.options)}))},r=((t={})[D.Animate]=sl(!0),t[D.InView]=sl(),t[D.Hover]=sl(),t[D.Tap]=sl(),t[D.Drag]=sl(),t[D.Focus]=sl(),t[D.Exit]=sl(),t),o={},i=!0,a=function(t,n){var r=oV(e,n);if(r){r.transition;var o=r.transitionEnd,i=eY(r,["transition","transitionEnd"]);t=eQ(eQ(eQ({},t),i),o)}return t};function l(t,l){for(var s,u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],p=new Set,f={},h=1/0,m=0;m<sa;m++)!function(n){var o,m=si[n],v=r[m],g=null!==(s=u[m])&&void 0!==s?s:c[m],y=oI(g),b=m===l?v.isActive:null;!1===b&&(h=n);var E=g===c[m]&&g!==u[m]&&y;if(E&&i&&e.manuallyAnimateOnMount&&(E=!1),v.protectedKeys=eQ({},f),!(!v.isActive&&null===b||!g&&!v.prevProp||iP(g))&&"boolean"!=typeof g){var x=(o=v.prevProp,"string"==typeof g?g!==o:!!oP(g)&&!ad(g,o)),C=x||m===l&&v.isActive&&!E&&y||n>h&&y,w=Array.isArray(g)?g:[g],k=w.reduce(a,{});!1===b&&(k={});var S=v.prevResolvedValues,_=void 0===S?{}:S,T=eQ(eQ({},_),k),A=function(e){C=!0,p.delete(e),v.needsAnimating[e]=!0};for(var D in T){var O=k[D],R=_[D];f.hasOwnProperty(D)||(O!==R?iI(O)&&iI(R)?!ad(O,R)||x?A(D):v.protectedKeys[D]=!0:void 0!==O?A(D):p.add(D):void 0!==O&&p.has(D)?A(D):v.protectedKeys[D]=!0)}v.prevProp=g,v.prevResolvedValues=k,v.isActive&&(f=eQ(eQ({},f),k)),i&&e.blockInitialAnimation&&(C=!1),C&&!E&&d.push.apply(d,eJ([],e$(w.map(function(e){return{animation:e,options:eQ({type:m},t)}})),!1))}}(m);if(o=eQ({},f),p.size){var v={};p.forEach(function(t){var n=e.getBaseTarget(t);void 0!==n&&(v[t]=n)}),d.push({animation:v})}var g=!!d.length;return i&&!1===u.initial&&!e.manuallyAnimateOnMount&&(g=!1),i=!1,g?n(d):Promise.resolve()}return{isAnimated:function(e){return void 0!==o[e]},animateChanges:l,setActive:function(t,n,o){if(r[t].isActive===n)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach(function(e){var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;var i,a=l(o,t);for(var s in r)r[s].protectedKeys={};return a},setAnimateFunction:function(t){n=t(e)},getState:function(){return r}}}(t)),iP(n)&&(0,N.useEffect)(function(){return n.subscribe(t)},[n])}),exit:aa(function(e){var t=e.custom,n=e.visualElement,r=e$(ac(),2),o=r[0],i=r[1],a=(0,N.useContext)(oD);(0,N.useEffect)(function(){n.isPresent=o;var e,r,l=null===(e=n.animationState)||void 0===e?void 0:e.setActive(D.Exit,!o,{custom:null!==(r=null==a?void 0:a.custom)&&void 0!==r?r:t});o||null==l||l.then(i)},[o])})};let su=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),sc=e=>su(e)&&e.hasOwnProperty("z"),sd=(e,t)=>Math.abs(e-t);function sp(e,t){return aB(e)&&aB(t)?sd(e,t):su(e)&&su(t)?Math.sqrt(Math.pow(sd(e.x,t.x),2)+Math.pow(sd(e.y,t.y),2)+Math.pow(sc(e)&&sc(t)?sd(e.z,t.z):0,2)):void 0}var sf=function(){function e(e,t,n){var r=this,o=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var e=sv(r.lastMoveEventInfo,r.history),t=null!==r.startEvent,n=sp(e.offset,{x:0,y:0})>=3;if(t||n){var o=e.point,i=lk().timestamp;r.history.push(eQ(eQ({},o),{timestamp:i}));var a=r.handlers,l=a.onStart,s=a.onMove;t||(l&&l(r.lastMoveEvent,e),r.startEvent=r.lastMoveEvent),s&&s(r.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){if(r.lastMoveEvent=e,r.lastMoveEventInfo=sh(t,r.transformPagePoint),iZ(e)&&0===e.buttons){r.handlePointerUp(e,t);return}ly.update(r.updatePoint,!0)},this.handlePointerUp=function(e,t){r.end();var n=r.handlers,o=n.onEnd,i=n.onSessionEnd,a=sv(sh(t,r.transformPagePoint),r.history);r.startEvent&&o&&o(e,a),i&&i(e,a)},!e.touches||!(e.touches.length>1)){this.handlers=t,this.transformPagePoint=o;var i=sh(iW(e),this.transformPagePoint),a=i.point,l=lk().timestamp;this.history=[eQ(eQ({},a),{timestamp:l})];var s=t.onSessionStart;s&&s(e,sv(i,this.history)),this.removeListeners=i7(iJ(window,"pointermove",this.handlePointerMove),iJ(window,"pointerup",this.handlePointerUp),iJ(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),lb.update(this.updatePoint)},e}();function sh(e,t){return t?{point:t(e.point)}:e}function sm(e,t){return{x:e.x-t.x,y:e.y-t.y}}function sv(e,t){var n=e.point;return{point:n,delta:sm(n,sg(t)),offset:sm(n,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};for(var n=e.length-1,r=null,o=sg(e);n>=0&&(r=e[n],!(o.timestamp-r.timestamp>lA(.1)));)n--;if(!r)return{x:0,y:0};var i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};var a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function sg(e){return e[e.length-1]}function sy(e){return e.max-e.min}function sb(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=.01),sp(e,t)<n}function sE(e,t,n,r){void 0===r&&(r=.5),e.origin=r,e.originPoint=aE(t.min,t.max,e.origin),e.scale=sy(n)/sy(t),(sb(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=aE(n.min,n.max,e.origin)-e.originPoint,(sb(e.translate)||isNaN(e.translate))&&(e.translate=0)}function sx(e,t,n,r){sE(e.x,t.x,n.x,null==r?void 0:r.originX),sE(e.y,t.y,n.y,null==r?void 0:r.originY)}function sC(e,t,n){e.min=n.min+t.min,e.max=e.min+sy(t)}function sw(e,t,n){e.min=t.min-n.min,e.max=e.min+sy(t)}function sk(e,t,n){sw(e.x,t.x,n.x),sw(e.y,t.y,n.y)}function sS(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function s_(e,t){var n,r=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=(n=e$([o,r],2))[0],o=n[1]),{min:r,max:o}}function sT(e,t,n){return{min:sA(e,t),max:sA(e,n)}}function sA(e,t){var n;return"number"==typeof e?e:null!==(n=e[t])&&void 0!==n?n:0}var sD=function(){return{translate:0,scale:1,origin:0,originPoint:0}},sO=function(){return{x:sD(),y:sD()}},sR=function(){return{min:0,max:0}},sL=function(){return{x:sR(),y:sR()}};function sN(e){return[e("x"),e("y")]}function sM(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function sP(e){return void 0===e||1===e}function sI(e){var t=e.scale,n=e.scaleX,r=e.scaleY;return!sP(t)||!sP(n)||!sP(r)}function sF(e){var t,n;return sI(e)||(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n||e.z||e.rotate||e.rotateX||e.rotateY}function sV(e,t,n,r,o){return void 0!==o&&(e=r+o*(e-r)),r+n*(e-r)+t}function sj(e,t,n,r,o){void 0===t&&(t=0),void 0===n&&(n=1),e.min=sV(e.min,t,n,r,o),e.max=sV(e.max,t,n,r,o)}function sq(e,t){var n=t.x,r=t.y;sj(e.x,n.translate,n.scale,n.originPoint),sj(e.y,r.translate,r.scale,r.originPoint)}function sz(e,t){e.min=e.min+t,e.max=e.max+t}function sH(e,t,n){var r=e$(n,3),o=r[0],i=r[1],a=r[2],l=void 0!==t[a]?t[a]:.5,s=aE(e.min,e.max,l);sj(e,t[o],t[i],s,t.scale)}var sB=["x","scaleX","originX"],sU=["y","scaleY","originY"];function sZ(e,t){sH(e.x,t,sB),sH(e.y,t,sU)}function sG(e,t){return sM(function(e,t){if(!t)return e;var n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}var sW=new WeakMap,sK=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=sL(),this.visualElement=e}return e.prototype.start=function(e,t){var n=this,r=(void 0===t?{}:t).snapToCursor,o=void 0!==r&&r;!1!==this.visualElement.isPresent&&(this.panSession=new sf(e,{onSessionStart:function(e){n.stopAnimation(),o&&n.snapToCursor(iW(e,"page").point)},onStart:function(e,t){var r,o=n.getProps(),i=o.drag,a=o.dragPropagation,l=o.onDragStart;(!i||a||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=i5(i),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),sN(function(e){var t,r,o=n.getAxisMotionValue(e).get()||0;if(ia.test(o)){var i=null===(r=null===(t=n.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===r?void 0:r.actual[e];if(i){var a=sy(i);o=parseFloat(o)/100*a}}n.originPoint[e]=o}),null==l||l(e,t),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(D.Drag,!0))},onMove:function(e,t){var r=n.getProps(),o=r.dragPropagation,i=r.dragDirectionLock,a=r.onDirectionLock,l=r.onDrag;if(o||n.openGlobalLock){var s,u,c=t.offset;if(i&&null===n.currentDirection){n.currentDirection=(void 0===s&&(s=10),u=null,Math.abs(c.y)>s?u="y":Math.abs(c.x)>s&&(u="x"),u),null!==n.currentDirection&&(null==a||a(n.currentDirection));return}n.updateAxis("x",t.point,c),n.updateAxis("y",t.point,c),n.visualElement.syncRender(),null==l||l(e,t)}},onSessionEnd:function(e,t){return n.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var n=this.isDragging;if(this.cancel(),n){var r=t.velocity;this.startAnimation(r);var o=this.getProps().onDragEnd;null==o||o(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(D.Drag,!1)},e.prototype.updateAxis=function(e,t,n){var r=this.getProps().drag;if(n&&sQ(e,r,this.currentDirection)){var o,i,a,l,s,u=this.getAxisMotionValue(e),c=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=c,i=this.constraints[e],a=this.elastic[e],l=i.min,s=i.max,void 0!==l&&o<l?o=a?aE(l,o,a.min):Math.max(o,l):void 0!==s&&o>s&&(o=a?aE(s,o,a.max):Math.min(o,s)),c=o),u.set(c)}},e.prototype.resolveConstraints=function(){var e,t,n,r,o,i,a=this,l=this.getProps(),s=l.dragConstraints,u=l.dragElastic,c=(this.visualElement.projection||{}).layout,d=this.constraints;s&&oM(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&c?this.constraints=(e=c.actual,t=s.top,n=s.left,r=s.bottom,o=s.right,{x:sS(e.x,n,o),y:sS(e.y,t,r)}):this.constraints=!1,this.elastic=(void 0===(i=u)&&(i=.35),!1===i?i=0:!0===i&&(i=.35),{x:sT(i,"left","right"),y:sT(i,"top","bottom")}),d!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&sN(function(e){if(a.getAxisMotionValue(e)){var t,n,r;a.constraints[e]=(t=c.actual[e],n=a.constraints[e],r={},void 0!==n.min&&(r.min=n.min-t.min),void 0!==n.max&&(r.max=n.max-t.min),r)}})},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,n=e.onMeasureDragConstraints;if(!t||!oM(t))return!1;var r=t.current;oy(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var o=this.visualElement.projection;if(!o||!o.layout)return!1;var i=(l=o.root,s=sG(r,this.visualElement.getTransformPagePoint()),(u=l.scroll)&&(sz(s.x,u.x),sz(s.y,u.y)),s),a={x:s_((c=o.layout.actual).x,i.x),y:s_(c.y,i.y)};if(n){var l,s,u,c,d,p,f,h=n((p=(d=a).x,{top:(f=d.y).min,right:p.max,bottom:f.max,left:p.min}));this.hasMutatedConstraints=!!h,h&&(a=sM(h))}return a},e.prototype.startAnimation=function(e){var t=this,n=this.getProps(),r=n.drag,o=n.dragMomentum,i=n.dragElastic,a=n.dragTransition,l=n.dragSnapToOrigin,s=n.onDragTransitionEnd,u=this.constraints||{};return Promise.all(sN(function(n){if(sQ(n,r,t.currentDirection)){var s,c=null!==(s=null==u?void 0:u[n])&&void 0!==s?s:{};l&&(c={min:0,max:0});var d=eQ(eQ({type:"inertia",velocity:o?e[n]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},a),c);return t.startAxisValueAnimation(n,d)}})).then(s)},e.prototype.startAxisValueAnimation=function(e,t){var n=this.getAxisMotionValue(e);return l1(e,n,0,t)},e.prototype.stopAnimation=function(){var e=this;sN(function(t){return e.getAxisMotionValue(t).stop()})},e.prototype.getAxisMotionValue=function(e){var t,n,r="_drag"+e.toUpperCase();return this.visualElement.getProps()[r]||this.visualElement.getValue(e,null!==(n=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==n?n:0)},e.prototype.snapToCursor=function(e){var t=this;sN(function(n){if(sQ(n,t.getProps().drag,t.currentDirection)){var r=t.visualElement.projection,o=t.getAxisMotionValue(n);if(r&&r.layout){var i=r.layout.actual[n],a=i.min,l=i.max;o.set(e[n]-aE(a,l,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,n=this.getProps(),r=n.drag,o=n.dragConstraints,i=this.visualElement.projection;if(oM(o)&&i&&this.constraints){this.stopAnimation();var a={x:0,y:0};sN(function(e){var n=t.getAxisMotionValue(e);if(n){var r,o,i,l,s,u=n.get();a[e]=(r={min:u,max:u},o=t.constraints[e],i=.5,l=sy(r),(s=sy(o))>l?i=ab(o.min,o.max-l,r.min):l>s&&(i=ab(r.min,r.max-s,o.min)),ap(0,1,i))}});var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout(),this.resolveConstraints(),sN(function(e){if(sQ(e,r,null)){var n=t.getAxisMotionValue(e),o=t.constraints[e],i=o.min,l=o.max;n.set(aE(i,l,a[e]))}})}},e.prototype.addListeners=function(){var e,t=this;sW.set(this.visualElement,this);var n=iJ(this.visualElement.getInstance(),"pointerdown",function(e){var n=t.getProps(),r=n.drag,o=n.dragListener;r&&(void 0===o||o)&&t.start(e)}),r=function(){oM(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},o=this.visualElement.projection,i=o.addEventListener("measure",r);o&&!o.layout&&(null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout()),r();var a=iB(window,"resize",function(){return t.scalePositionWithinConstraints()});return o.addEventListener("didUpdate",function(e){var n=e.delta,r=e.hasLayoutChanged;t.isDragging&&r&&(sN(function(e){var r=t.getAxisMotionValue(e);r&&(t.originPoint[e]+=n[e].translate,r.set(r.get()+n[e].translate))}),t.visualElement.syncRender())}),function(){a(),n(),i()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,n=e.dragDirectionLock,r=e.dragPropagation,o=e.dragConstraints,i=e.dragElastic,a=e.dragMomentum;return eQ(eQ({},e),{drag:void 0!==t&&t,dragDirectionLock:void 0!==n&&n,dragPropagation:void 0!==r&&r,dragConstraints:void 0!==o&&o,dragElastic:void 0===i?.35:i,dragMomentum:void 0===a||a})},e}();function sQ(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}var sY={pan:aa(function(e){var t=e.onPan,n=e.onPanStart,r=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=(0,N.useRef)(null),l=(0,N.useContext)(oT).transformPagePoint,s={onSessionStart:o,onStart:n,onMove:t,onEnd:function(e,t){a.current=null,r&&r(e,t)}};(0,N.useEffect)(function(){null!==a.current&&a.current.updateHandlers(s)}),iX(i,"pointerdown",(t||n||r||o)&&function(e){a.current=new sf(e,s,{transformPagePoint:l})}),i9(function(){return a.current&&a.current.end()})}),drag:aa(function(e){var t=e.dragControls,n=e.visualElement,r=oH(function(){return new sK(n)});(0,N.useEffect)(function(){return t&&t.subscribe(r)},[r,t]),(0,N.useEffect)(function(){return r.addListeners()},[r])})},s$=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],sJ=function(e){var t=e.treeType,n=void 0===t?"":t,r=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,d=e.scrapeMotionValuesFromProps;return function(e,t){var p,f,h,m,v,g=e.parent,y=e.props,b=e.presenceId,E=e.blockInitialAnimation,x=e.visualState,C=e.shouldReduceMotion;void 0===t&&(t={});var w=!1,k=x.latestValues,S=x.renderState,_=(p=s$.map(function(){return new l3}),f={},h={clearAllListeners:function(){return p.forEach(function(e){return e.clear()})},updatePropListeners:function(e){s$.forEach(function(t){var n,r="on"+t,o=e[r];null===(n=f[t])||void 0===n||n.call(f),o&&(f[t]=h[r](o))})}},p.forEach(function(e,t){h["on"+s$[t]]=function(t){return e.add(t)},h["notify"+s$[t]]=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.notify.apply(e,eJ([],e$(t),!1))}}),h),T=new Map,A=new Map,D={},O=eQ({},k);function R(){m&&w&&(L(),l(m,S,y.style,q.projection))}function L(){r(q,S,k,t,y)}function N(){_.notifyUpdate(k)}function M(e,t){var n=t.onChange(function(t){k[e]=t,y.onUpdate&&ly.update(N,!1,!0)}),r=t.onRenderRequest(q.scheduleRender);A.set(e,function(){n(),r()})}var P=d(y);for(var I in P){var F=P[I];void 0!==k[I]&&o3(F)&&F.set(k[I],!1)}var V=oj(y),j=oq(y),q=eQ(eQ({treeType:n,current:null,depth:g?g.depth+1:0,parent:g,children:new Set,presenceId:b,shouldReduceMotion:C,variantChildren:j?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:!!(null==g?void 0:g.isMounted()),blockInitialAnimation:E,isMounted:function(){return!!m},mount:function(e){w=!0,m=q.current=e,q.projection&&q.projection.mount(e),j&&g&&!V&&(v=null==g?void 0:g.addVariantChild(q)),T.forEach(function(e,t){return M(t,e)}),null==g||g.children.add(q),q.setProps(y)},unmount:function(){var e;null===(e=q.projection)||void 0===e||e.unmount(),lb.update(N),lb.render(R),A.forEach(function(e){return e()}),null==v||v(),null==g||g.children.delete(q),_.clearAllListeners(),m=void 0,w=!1},addVariantChild:function(e){var t,n=q.getClosestVariantNode();if(n)return null===(t=n.variantChildren)||void 0===t||t.add(e),function(){return n.variantChildren.delete(e)}},sortNodePosition:function(e){return c&&n===e.treeType?c(q.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return j?q:null==g?void 0:g.getClosestVariantNode()},getLayoutId:function(){return y.layoutId},getInstance:function(){return m},getStaticValue:function(e){return k[e]},setStaticValue:function(e,t){return k[e]=t},getLatestValues:function(){return k},setVisibility:function(e){q.isVisible!==e&&(q.isVisible=e,q.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),i(q,e,y,t)},measureViewportBox:function(){return a(m,y)},addValue:function(e,t){q.hasValue(e)&&q.removeValue(e),T.set(e,t),k[e]=t.get(),M(e,t)},removeValue:function(e){var t;T.delete(e),null===(t=A.get(e))||void 0===t||t(),A.delete(e),delete k[e],u(e,S)},hasValue:function(e){return T.has(e)},getValue:function(e,t){var n=T.get(e);return void 0===n&&void 0!==t&&(n=l4(t),q.addValue(e,n)),n},forEachValue:function(e){return T.forEach(e)},readValue:function(e){var n;return null!==(n=k[e])&&void 0!==n?n:s(m,e,t)},setBaseTarget:function(e,t){O[e]=t},getBaseTarget:function(e){if(o){var t=o(y,e);if(void 0!==t&&!o3(t))return t}return O[e]}},_),{build:function(){return L(),S},scheduleRender:function(){ly.render(R,!1,!0)},syncRender:R,setProps:function(e){(e.transformTemplate||y.transformTemplate)&&q.scheduleRender(),y=e,_.updatePropListeners(e),D=function(e,t,n){var r;for(var o in t){var i=t[o],a=n[o];if(o3(i))e.addValue(o,i);else if(o3(a))e.addValue(o,l4(i));else if(a!==i){if(e.hasValue(o)){var l=e.getValue(o);l.hasAnimated||l.set(i)}else e.addValue(o,l4(null!==(r=e.getStaticValue(o))&&void 0!==r?r:i))}}for(var o in n)void 0===t[o]&&e.removeValue(o);return t}(q,d(y),D)},getProps:function(){return y},getVariant:function(e){var t;return null===(t=y.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return y.transition},getTransformPagePoint:function(){return y.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==g?void 0:g.getVariantContext();if(!V){var t=(null==g?void 0:g.getVariantContext())||{};return void 0!==y.initial&&(t.initial=y.initial),t}for(var n={},r=0;r<s0;r++){var o=sX[r],i=y[o];(oI(i)||!1===i)&&(n[o]=i)}return n}});return q}},sX=eJ(["initial"],e$(so),!1),s0=sX.length;function s1(e){return"string"==typeof e&&e.startsWith("var(--")}var s2=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function s5(e,t,n){void 0===n&&(n=1),oy(n<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));var r=e$(function(e){var t=s2.exec(e);if(!t)return[,];var n=e$(t,3);return[n[1],n[2]]}(e),2),o=r[0],i=r[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():s1(i)?s5(i,t,n+1):i}}var s3=new Set(["width","height","top","left","right","bottom","x","y"]),s6=function(e){return s3.has(e)},s4=function(e,t){e.set(t,!1),e.set(t)},s9=function(e){return e===id||e===il};(p=O||(O={})).width="width",p.height="height",p.left="left",p.right="right",p.top="top",p.bottom="bottom";var s8=function(e,t){return parseFloat(e.split(", ")[t])},s7=function(e,t){return function(n,r){var o=r.transform;if("none"===o||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return s8(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?s8(a[1],e):0}},ue=new Set(["x","y","z"]),ut=oJ.filter(function(e){return!ue.has(e)}),un={width:function(e,t){var n=e.x,r=t.paddingLeft,o=t.paddingRight;return n.max-n.min-parseFloat(void 0===r?"0":r)-parseFloat(void 0===o?"0":o)},height:function(e,t){var n=e.y,r=t.paddingTop,o=t.paddingBottom;return n.max-n.min-parseFloat(void 0===r?"0":r)-parseFloat(void 0===o?"0":o)},top:function(e,t){return parseFloat(t.top)},left:function(e,t){return parseFloat(t.left)},bottom:function(e,t){var n=e.y;return parseFloat(t.top)+(n.max-n.min)},right:function(e,t){var n=e.x;return parseFloat(t.left)+(n.max-n.min)},x:s7(4,13),y:s7(5,14)},ur=function(e,t,n){var r=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,l={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(function(e){l[e]=un[e](r,i)}),t.syncRender();var s=t.measureViewportBox();return n.forEach(function(n){s4(t.getValue(n),l[n]),e[n]=un[n](s,i)}),e},uo=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r={}),t=eQ({},t),r=eQ({},r);var o=Object.keys(t).filter(s6),i=[],a=!1,l=[];if(o.forEach(function(o){var s,u=e.getValue(o);if(e.hasValue(o)){var c=n[o],d=l7(c),p=t[o];if(iI(p)){var f=p.length,h=null===p[0]?1:0;d=l7(c=p[h]);for(var m=h;m<f;m++)s?oy(l7(p[m])===s,"All keyframes must be of the same type"):oy((s=l7(p[m]))===d||s9(d)&&s9(s),"Keyframes must be of the same dimension as the current value")}else s=l7(p);if(d!==s){if(s9(d)&&s9(s)){var v,g=u.get();"string"==typeof g&&u.set(parseFloat(g)),"string"==typeof p?t[o]=parseFloat(p):Array.isArray(p)&&s===il&&(t[o]=p.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==s?void 0:s.transform)&&(0===c||0===p)?0===c?u.set(s.transform(c)):t[o]=d.transform(p):(a||(v=[],ut.forEach(function(t){var n=e.getValue(t);void 0!==n&&(v.push([t,n.get()]),n.set(t.startsWith("scale")?1:0))}),v.length&&e.syncRender(),i=v,a=!0),l.push(o),r[o]=void 0!==r[o]?r[o]:t[o],s4(u,p))}}}),!l.length)return{target:t,transitionEnd:r};var s=l.indexOf("height")>=0?window.pageYOffset:null,u=ur(t,e,l);return i.length&&i.forEach(function(t){var n=e$(t,2),r=n[0],o=n[1];e.getValue(r).set(o)}),e.syncRender(),null!==s&&window.scrollTo({top:s}),{target:u,transitionEnd:r}},ui=function(e,t,n,r){var o,i,a=function(e,t,n){var r,o=eY(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:n};for(var a in n&&(n=eQ({},n)),e.forEachValue(function(e){var t=e.get();if(s1(t)){var n=s5(t,i);n&&e.set(n)}}),o){var l=o[a];if(s1(l)){var s=s5(l,i);s&&(o[a]=s,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=l)))}}return{target:o,transitionEnd:n}}(e,t,r);return o=t=a.target,i=r=a.transitionEnd,Object.keys(o).some(s6)?uo(e,o,n,i):{target:o,transitionEnd:i}},ua={treeType:"dom",readValueFromInstance:function(e,t){if(o1(t)){var n=lK(t);return n&&n.default||0}var r=window.getComputedStyle(e);return(o4(t)?r.getPropertyValue(t):r[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var n;return null===(n=e.style)||void 0===n?void 0:n[t]},measureViewportBox:function(e,t){return sG(e,t.transformPagePoint)},resetTransform:function(e,t,n){var r=n.transformTemplate;t.style.transform=r?r({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var n=t.vars,r=t.style;delete n[e],delete r[e]},makeTargetAnimatable:function(e,t,n,r){var o=n.transformValues;void 0===r&&(r=!0);var i=t.transition,a=t.transitionEnd,l=eY(t,["transition","transitionEnd"]),s=function(e,t,n){var r,o,i={};for(var a in e)i[a]=null!==(r=function(e,t){if(t)return(t[e]||t.default||t).from}(a,t))&&void 0!==r?r:null===(o=n.getValue(a))||void 0===o?void 0:o.get();return i}(l,i||{},e);if(o&&(a&&(a=o(a)),l&&(l=o(l)),s&&(s=o(s))),r){!function(e,t,n){var r,o,i,a=Object.keys(t).filter(function(t){return!e.hasValue(t)}),l=a.length;if(l)for(var s=0;s<l;s++){var u,c,d,p=a[s],f=t[p],h=null;Array.isArray(f)&&(h=f[0]),null===h&&(h=null!==(o=null!==(r=n[p])&&void 0!==r?r:e.readValue(p))&&void 0!==o?o:t[p]),null!=h&&("string"==typeof h&&(u=h,/^\-?\d*\.?\d+$/.test(u)||(c=h,/^0[^.\s]+$/.test(c)))?h=parseFloat(h):(d=h,!se.find(l9(d))&&aH.test(f)&&(h=lQ(p,f))),e.addValue(p,l4(h)),null!==(i=n[p])&&void 0!==i||(n[p]=h),e.setBaseTarget(p,h))}}(e,l,s);var u=ui(e,l,s,a);a=u.transitionEnd,l=u.target}return eQ({transition:i,transitionEnd:a},l)},scrapeMotionValuesFromProps:iN,build:function(e,t,n,r,o){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),ig(t,n,r,o.transformTemplate)},render:iO},ul=sJ(ua),us=sJ(eQ(eQ({},ua),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var n;return o1(t)?(null===(n=lK(t))||void 0===n?void 0:n.default)||0:(t=iR.has(t)?t:iD(t),e.getAttribute(t))},scrapeMotionValuesFromProps:iM,build:function(e,t,n,r,o){i_(t,n,r,o.transformTemplate)},render:iL})),uu=function(e,t){return oQ(e)?us(t,{enableHardwareAcceleration:!1}):ul(t,{enableHardwareAcceleration:!0})};function uc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ud={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!il.test(e))return e;e=parseFloat(e)}var n=uc(e,t.target.x),r=uc(e,t.target.y);return"".concat(n,"% ").concat(r,"%")}},up="_$css",uf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return eK(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.visualElement,r=t.layoutGroup,o=t.switchLayoutGroup,i=t.layoutId,a=n.projection;Object.assign(oY,uh),a&&((null==r?void 0:r.group)&&r.group.add(a),(null==o?void 0:o.register)&&i&&o.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",function(){e.safeToRemove()}),a.setOptions(eQ(eQ({},a.options),{onExitComplete:function(){return e.safeToRemove()}}))),oB.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,n=this.props,r=n.layoutDependency,o=n.visualElement,i=n.drag,a=n.isPresent,l=o.projection;return l&&(l.isPresent=a,i||e.layoutDependency!==r||void 0===r?l.willUpdate():this.safeToRemove(),e.isPresent===a||(a?l.promote():l.relegate()||ly.postRender(function(){var e;(null===(e=l.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,n=e.layoutGroup,r=e.switchLayoutGroup,o=t.projection;o&&(o.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(o),(null==r?void 0:r.deregister)&&r.deregister(o))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(N.Component),uh={borderRadius:eQ(eQ({},ud),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ud,borderTopRightRadius:ud,borderBottomLeftRadius:ud,borderBottomRightRadius:ud,boxShadow:{correct:function(e,t){var n=t.treeScale,r=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(s2,function(e){return a.push(e),up}));var l=aH.parse(e);if(l.length>5)return o;var s=aH.createTransformer(e),u="number"!=typeof l[0]?1:0,c=r.x.scale*n.x,d=r.y.scale*n.y;l[0+u]/=c,l[1+u]/=d;var p=aE(c,d,.5);"number"==typeof l[2+u]&&(l[2+u]/=p),"number"==typeof l[3+u]&&(l[3+u]/=p);var f=s(l);if(i){var h=0;f=f.replace(up,function(){var e=a[h];return h++,e})}return f}}},um=["TopLeft","TopRight","BottomLeft","BottomRight"],uv=um.length,ug=function(e){return"string"==typeof e?parseFloat(e):e},uy=function(e){return"number"==typeof e||il.test(e)};function ub(e,t){var n;return null!==(n=e[t])&&void 0!==n?n:e.borderRadius}var uE=uC(0,.5,a9),ux=uC(.5,.95,a2);function uC(e,t,n){return function(r){return r<e?0:r>t?1:n(ab(e,t,r))}}function uw(e,t){e.min=t.min,e.max=t.max}function uk(e,t){uw(e.x,t.x),uw(e.y,t.y)}function uS(e,t,n,r,o){return e-=t,e=r+1/n*(e-r),void 0!==o&&(e=r+1/o*(e-r)),e}function u_(e,t,n,r,o){var i=e$(n,3),a=i[0],l=i[1],s=i[2];!function(e,t,n,r,o,i,a){if(void 0===t&&(t=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===i&&(i=e),void 0===a&&(a=e),ia.test(t)&&(t=parseFloat(t),t=aE(a.min,a.max,t/100)-a.min),"number"==typeof t){var l=aE(i.min,i.max,r);e===i&&(l-=t),e.min=uS(e.min,t,n,l,o),e.max=uS(e.max,t,n,l,o)}}(e,t[a],t[l],t[s],t.scale,r,o)}var uT=["x","scaleX","originX"],uA=["y","scaleY","originY"];function uD(e,t,n,r){u_(e.x,t,uT,null==n?void 0:n.x,null==r?void 0:r.x),u_(e.y,t,uA,null==n?void 0:n.y,null==r?void 0:r.y)}function uO(e){return 0===e.translate&&1===e.scale}function uR(e){return uO(e.x)&&uO(e.y)}function uL(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var uN=function(){function e(){this.members=[]}return e.prototype.add=function(e){l2(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(l5(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,n=this.members.findIndex(function(t){return e===t});if(0===n)return!1;for(var r=n;r>=0;r--){var o=this.members[r];if(!1!==o.isPresent){t=o;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var n,r=this.lead;e!==r&&(this.prevLead=r,this.lead=e,e.show(),r&&(r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues,e.snapshot.isShared=!0),(null===(n=e.root)||void 0===n?void 0:n.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&r.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(e){var t,n,r,o,i;null===(n=(t=e.options).onExitComplete)||void 0===n||n.call(t),null===(i=null===(r=e.resumingFrom)||void 0===r?void 0:(o=r.options).onExitComplete)||void 0===i||i.call(o)})},e.prototype.scheduleRender=function(){this.members.forEach(function(e){e.instance&&e.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}();function uM(e,t,n){var r=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(r,"px, ").concat(o,"px, 0) ");if(i+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),n){var a=n.rotate,l=n.rotateX,s=n.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),l&&(i+="rotateX(".concat(l,"deg) ")),s&&(i+="rotateY(".concat(s,"deg) "))}var u=e.x.scale*t.x,c=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(i+="scale(".concat(u,", ").concat(c,")"))?"none":i}var uP=function(e,t){return e.depth-t.depth},uI=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){l2(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){l5(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(uP),this.isDirty=!1,this.children.forEach(e)},e}();function uF(e){var t=e.attachResizeListener,n=e.defaultParent,r=e.measureScroll,o=e.checkIsScrollRoot,i=e.resetTransform;return function(){function e(e,t,r){var o=this;void 0===t&&(t={}),void 0===r&&(r=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){o.isUpdating&&(o.isUpdating=!1,o.clearAllSnapshots())},this.updateProjection=function(){o.nodes.forEach(uU),o.nodes.forEach(uZ)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?eJ(eJ([],e$(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var i=0;i<this.path.length;i++)this.path[i].shouldResetTransform=!0;this.root===this&&(this.nodes=new uI)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new l3),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.eventHandlers.get(e);null==r||r.notify.apply(r,eJ([],e$(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,n){var r=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var o=this.options,i=o.layoutId,a=o.layout,l=o.visualElement;if(l&&!l.getInstance()&&l.mount(e),this.root.nodes.add(this),null===(s=this.parent)||void 0===s||s.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(a||i)&&(this.isLayoutDirty=!0),t){var s,u,c=function(){return r.root.updateBlockedByResize=!1};t(e,function(){r.root.updateBlockedByResize=!0,clearTimeout(u),u=window.setTimeout(c,250),oB.hasAnimatedSinceResize&&(oB.hasAnimatedSinceResize=!1,r.nodes.forEach(uB))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&l&&(i||a)&&this.addEventListener("didUpdate",function(e){var t,n,o,i,a,s=e.delta,u=e.hasLayoutChanged,c=e.hasRelativeTargetChanged,d=e.layout;if(r.isTreeAnimationBlocked()){r.target=void 0,r.relativeTarget=void 0;return}var p=null!==(n=null!==(t=r.options.transition)&&void 0!==t?t:l.getDefaultTransition())&&void 0!==n?n:u$,f=l.getProps(),h=f.onLayoutAnimationStart,m=f.onLayoutAnimationComplete,v=!r.targetLayout||!uL(r.targetLayout,d)||c,g=!u&&c;if((null===(o=r.resumeFrom)||void 0===o?void 0:o.instance)||g||u&&(v||!r.currentAnimation)){r.resumeFrom&&(r.resumingFrom=r.resumeFrom,r.resumingFrom.resumingFrom=void 0),r.setAnimationOrigin(s,g);var y=eQ(eQ({},l0(p,"layout")),{onPlay:h,onComplete:m});l.shouldReduceMotion&&(y.delay=0,y.type=!1),r.startAnimation(y)}else u||0!==r.animationProgress||r.finishAnimation(),r.isLead()&&(null===(a=(i=r.options).onExitComplete)||void 0===a||a.call(i));r.targetLayout=d})}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,lb.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(uG))},e.prototype.willUpdate=function(e){if(void 0===e&&(e=!0),this.root.isUpdateBlocked()){null===(n=(t=this.options).onExitComplete)||void 0===n||n.call(t);return}if(this.root.isUpdating||this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var t,n,r,o=0;o<this.path.length;o++){var i=this.path[o];i.shouldResetTransform=!0,i.updateScroll()}var a=this.options,l=a.layoutId,s=a.layout;if(void 0!==l||s){var u=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==u?void 0:u(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(uz);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(uJ),this.potentialNodes.clear()),this.nodes.forEach(uH),this.nodes.forEach(uV),this.nodes.forEach(uj),this.clearAllSnapshots(),lE.update(),lE.preRender(),lE.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(uq),this.sharedNodes.forEach(uW)},e.prototype.scheduleUpdateProjection=function(){ly.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;ly.postRender(function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()})},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));u0(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var e,t=0;t<this.path.length;t++)this.path[t].updateScroll();var n=this.measure();u0(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected=sL(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=r(this.instance))},e.prototype.resetTransform=function(){if(i){var e,t=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!uR(this.projectionDelta),r=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,o=null==r?void 0:r(this.latestValues,""),a=o!==this.prevTransformTemplateValue;t&&(n||sF(this.latestValues)||a)&&(i(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return sL();var t=e.measureViewportBox(),n=this.root.scroll;return n&&(sz(t.x,n.x),sz(t.y,n.y)),t},e.prototype.removeElementScroll=function(e){var t=sL();uk(t,e);for(var n=0;n<this.path.length;n++){var r=this.path[n],o=r.scroll,i=r.options,a=r.isScrollRoot;if(r!==this.root&&o&&i.layoutScroll){if(a){uk(t,e);var l=this.root.scroll;l&&(sz(t.x,-l.x),sz(t.y,-l.y))}sz(t.x,o.x),sz(t.y,o.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var n=sL();uk(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&sZ(n,{x:-o.scroll.x,y:-o.scroll.y}),sF(o.latestValues)&&sZ(n,o.latestValues)}return sF(this.latestValues)&&sZ(n,this.latestValues),n},e.prototype.removeTransform=function(e){var t,n=sL();uk(n,e);for(var r=0;r<this.path.length;r++){var o=this.path[r];if(o.instance&&sF(o.latestValues)){sI(o.latestValues)&&o.updateSnapshot();var i=sL();uk(i,o.measure()),uD(n,o.latestValues,null===(t=o.snapshot)||void 0===t?void 0:t.layout,i)}}return sF(this.latestValues)&&uD(n,this.latestValues),n},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=eQ(eQ(eQ({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,n,r,o=this.options,i=o.layout,a=o.layoutId;this.layout&&(i||a)&&(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=sL(),this.relativeTargetOrigin=sL(),sk(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),uk(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&((this.target||(this.target=sL(),this.targetWithTransforms=sL()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(r=this.relativeParent)||void 0===r?void 0:r.target))?(e=this.target,t=this.relativeTarget,n=this.relativeParent.target,sC(e.x,t.x,n.x),sC(e.y,t.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.actual):uk(this.target,this.layout.actual),sq(this.target,this.targetDelta)):uk(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&!!this.relativeParent.resumingFrom==!!this.resumingFrom&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=sL(),this.relativeTargetOrigin=sL(),sk(this.relativeTargetOrigin,this.target,this.relativeParent.target),uk(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(!(!this.parent||sF(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,n=t.layout,r=t.layoutId;if(this.isTreeAnimating=!!((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var o=this.getLead();uk(this.layoutCorrected,this.layout.actual),function(e,t,n,r){void 0===r&&(r=!1);var o,i,a,l,s=n.length;if(s){t.x=t.y=1;for(var u=0;u<s;u++)l=(a=n[u]).projectionDelta,(null===(i=null===(o=a.instance)||void 0===o?void 0:o.style)||void 0===i?void 0:i.display)!=="contents"&&(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&sZ(e,{x:-a.scroll.x,y:-a.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,sq(e,l)),r&&sF(a.latestValues)&&sZ(e,a.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,!!this.resumingFrom||this!==o);var i=o.target;if(i){this.projectionDelta||(this.projectionDelta=sO(),this.projectionDeltaWithTransform=sO());var a=this.treeScale.x,l=this.treeScale.y,s=this.projectionTransform;sx(this.projectionDelta,this.layoutCorrected,i,this.latestValues),this.projectionTransform=uM(this.projectionDelta,this.treeScale),(this.projectionTransform!==s||this.treeScale.x!==a||this.treeScale.y!==l)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",i))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,n,r;void 0===e&&(e=!0),null===(n=(t=this.options).scheduleRender)||void 0===n||n.call(t),e&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var n,r=this;void 0===t&&(t=!1);var o=this.snapshot,i=(null==o?void 0:o.latestValues)||{},a=eQ({},this.latestValues),l=sO();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var s=sL(),u=null==o?void 0:o.isShared,c=1>=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0),d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(uY));this.animationProgress=0,this.mixTargetDelta=function(t){var n,o,p,f=t/1e3;uK(l.x,e.x,f),uK(l.y,e.y,f),r.setTargetDelta(l),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(p=r.relativeParent)||void 0===p?void 0:p.layout)&&(sk(s,r.layout.actual,r.relativeParent.layout.actual),n=r.relativeTarget,o=r.relativeTargetOrigin,uQ(n.x,o.x,s.x,f),uQ(n.y,o.y,s.y,f)),u&&(r.animationValues=a,function(e,t,n,r,o,i){var a,l,s,u;o?(e.opacity=aE(0,null!==(a=n.opacity)&&void 0!==a?a:1,uE(r)),e.opacityExit=aE(null!==(l=t.opacity)&&void 0!==l?l:1,0,ux(r))):i&&(e.opacity=aE(null!==(s=t.opacity)&&void 0!==s?s:1,null!==(u=n.opacity)&&void 0!==u?u:1,r));for(var c=0;c<uv;c++){var d="border".concat(um[c],"Radius"),p=ub(t,d),f=ub(n,d);(void 0!==p||void 0!==f)&&(p||(p=0),f||(f=0),0===p||0===f||uy(p)===uy(f)?(e[d]=Math.max(aE(ug(p),ug(f),r),0),(ia.test(f)||ia.test(p))&&(e[d]+="%")):e[d]=f)}(t.rotate||n.rotate)&&(e.rotate=aE(t.rotate||0,n.rotate||0,r))}(a,i,r.latestValues,f,d,c)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=f},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,n,r=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(lb.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ly.update(function(){var t,n;oB.hasAnimatedSinceResize=!0,r.currentAnimation=(void 0===(t=eQ(eQ({},e),{onUpdate:function(t){var n;r.mixTargetDelta(t),null===(n=e.onUpdate)||void 0===n||n.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),r.completeAnimation()}}))&&(t={}),l1("",n=o3(0)?0:l4(0),1e3,t),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0})},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,n=e.target,r=e.layout,o=e.latestValues;t&&n&&r&&(uk(t,n),sZ(t,o),sx(this.projectionDeltaWithTransform,this.layoutCorrected,t,o))},e.prototype.registerSharedNode=function(e,t){var n,r,o;this.sharedNodes.has(e)||this.sharedNodes.set(e,new uN),this.sharedNodes.get(e).add(t),t.promote({transition:null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(o=null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===o?void 0:o.call(r,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,n=t.needsReset,r=t.transition,o=t.preserveFollowOpacity,i=this.getStack();i&&i.promote(this,o),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,n={},r=0;r<o$.length;r++){var o="rotate"+o$[r];e.getStaticValue(o)&&(t=!0,n[o]=e.getStaticValue(o),e.setStaticValue(o,0))}if(t){for(var o in null==e||e.syncRender(),n)e.setStaticValue(o,n[o]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){void 0===e&&(e={});var t,n,r,o,i,a,l={};if(!this.instance||this.isSVG)return l;if(!this.isVisible)return{visibility:"hidden"};l.visibility="";var s=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,l.opacity="",l.pointerEvents=iV(e.pointerEvents)||"",l.transform=s?s(this.latestValues,""):"none",l;var u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=iV(e.pointerEvents)||""),this.hasProjected&&!sF(this.latestValues)&&(c.transform=s?s({},""):"none",this.hasProjected=!1),c}var d=u.animationValues||u.latestValues;this.applyTransformsToTarget(),l.transform=uM(this.projectionDeltaWithTransform,this.treeScale,d),s&&(l.transform=s(d,l.transform));var p=this.projectionDelta,f=p.x,h=p.y;for(var m in l.transformOrigin="".concat(100*f.origin,"% ").concat(100*h.origin,"% 0"),u.animationValues?l.opacity=u===this?null!==(o=null!==(r=d.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==o?o:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:l.opacity=u===this?null!==(i=d.opacity)&&void 0!==i?i:"":null!==(a=d.opacityExit)&&void 0!==a?a:0,oY)if(void 0!==d[m]){var v=oY[m],g=v.correct,y=v.applyTo,b=g(d[m],u);if(y)for(var E=y.length,x=0;x<E;x++)l[y[x]]=b;else l[m]=b}return this.options.layoutId&&(l.pointerEvents=u===this?iV(e.pointerEvents)||"":"none"),l},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach(function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(uz),this.root.sharedNodes.clear()},e}()}function uV(e){e.updateLayout()}function uj(e){var t,n,r,o,i=null!==(n=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==n?n:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var a=e.layout,l=a.actual,s=a.measured;"size"===e.options.animationType?sN(function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=sy(t);t.min=l[e].min,t.max=t.min+n}):"position"===e.options.animationType&&sN(function(e){var t=i.isShared?i.measured[e]:i.layout[e],n=sy(l[e]);t.max=t.min+n});var u=sO();sx(u,l,i.layout);var c=sO();i.isShared?sx(c,e.applyTransform(s,!0),i.measured):sx(c,l,i.layout);var d=!uR(u),p=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var f=e.relativeParent,h=f.snapshot,m=f.layout;if(h&&m){var v=sL();sk(v,i.layout,h.layout);var g=sL();sk(g,l,m.actual),uL(v,g)||(p=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:i,delta:c,layoutDelta:u,hasLayoutChanged:d,hasRelativeTargetChanged:p})}else e.isLead()&&(null===(o=(r=e.options).onExitComplete)||void 0===o||o.call(r));e.options.transition=void 0}function uq(e){e.clearSnapshot()}function uz(e){e.clearMeasurements()}function uH(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function uB(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function uU(e){e.resolveTargetDelta()}function uZ(e){e.calcProjection()}function uG(e){e.resetRotation()}function uW(e){e.removeLeadSnapshot()}function uK(e,t,n){e.translate=aE(t.translate,0,n),e.scale=aE(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function uQ(e,t,n,r){e.min=aE(t.min,n.min,r),e.max=aE(t.max,n.max,r)}function uY(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var u$={duration:.45,ease:[.4,0,.1,1]};function uJ(e,t){for(var n=e.root,r=e.path.length-1;r>=0;r--)if(e.path[r].instance){n=e.path[r];break}var o=(n&&n!==e.root?n.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function uX(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function u0(e){uX(e.x),uX(e.y)}var u1=uF({attachResizeListener:function(e,t){return iB(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),u2={current:void 0},u5=uF({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!u2.current){var e=new u1(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),u2.current=e}return u2.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return"fixed"===window.getComputedStyle(e).position}}),u3=eQ(eQ(eQ(eQ({},ss),al),sY),{measureLayout:function(e){var t=e$(ac(),2),n=t[0],r=t[1],o=(0,N.useContext)(oZ);return N.createElement(uf,eQ({},e,{layoutGroup:o,switchLayoutGroup:(0,N.useContext)(oG),isPresent:n,safeToRemove:r}))}}),u6=function(e){function t(t,n){var r,o,i,a,l,s,u;return void 0===n&&(n={}),o=(r=e(t,n)).preloadedFeatures,i=r.createVisualElement,a=r.projectionNodeConstructor,l=r.useRender,s=r.useVisualState,u=r.Component,o&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?ow.projectionNodeConstructor=e[t]:ow[t].Component=e[t])}(o),(0,N.forwardRef)(function(e,t){var n,r,c,d,p,f,h,m,v,g,y,b,E,x,C,w,k,S,_,T,A,D,O,R,L,M,P,I=(b=e.layoutId,(E=null===(y=(0,N.useContext)(oZ))||void 0===y?void 0:y.id)&&void 0!==b?E+"-"+b:b);e=eQ(eQ({},e),{layoutId:I});var F=(0,N.useContext)(oT),V=null,j=(C=(x=function(e,t){if(oj(e)){var n=e.initial,r=e.animate;return{initial:!1===n||oI(n)?n:void 0,animate:oI(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,N.useContext)(oA))).initial,w=x.animate,(0,N.useMemo)(function(){return{initial:C,animate:w}},[oz(C),oz(w)])),q=F.isStatic?void 0:oH(function(){if(oB.hasEverUpdated)return oU++}),z=s(e,F.isStatic);return!F.isStatic&&oO&&(j.visualElement=(k=eQ(eQ({},F),e),S=i,_=(0,N.useContext)(ok),T=(0,N.useContext)(oA).visualElement,A=(0,N.useContext)(oD),oN||function(){if(oN=!0,oO){if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return oL.current=e.matches};e.addListener(t),t()}else oL.current=!1}}(),D=e$((0,N.useState)(oL.current),1)[0],R="never"!==(O=(0,N.useContext)(oT).reducedMotion)&&("always"===O||D),L=(0,N.useRef)(void 0),S||(S=_.renderer),!L.current&&S&&(L.current=S(u,{visualState:z,parent:T,props:k,presenceId:null==A?void 0:A.id,blockInitialAnimation:(null==A?void 0:A.initial)===!1,shouldReduceMotion:R})),M=L.current,oR(function(){null==M||M.syncRender()}),(0,N.useEffect)(function(){var e;null===(e=null==M?void 0:M.animationState)||void 0===e||e.animateChanges()}),oR(function(){return function(){return null==M?void 0:M.notifyUnmount()}},[]),M),n=e,r=j.visualElement,c=a||ow.projectionNodeConstructor,p=n.layoutId,f=n.layout,h=n.drag,m=n.dragConstraints,v=n.layoutScroll,g=(0,N.useContext)(oG),!c||!r||(null==r?void 0:r.projection)||(r.projection=new c(q,r.getLatestValues(),null===(d=r.parent)||void 0===d?void 0:d.projection),r.projection.setOptions({layoutId:p,layout:f,alwaysMeasureLayout:!!h||m&&oM(m),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof f?f:"both",initialPromotionConfig:g,layoutScroll:v})),V=function(e,t,n){var r=[],o=(0,N.useContext)(ok);if(!t)return null;"production"!==ox&&n&&o.strict&&oy(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var i=0;i<o_;i++){var a=oS[i],l=ow[a],s=l.isEnabled,u=l.Component;s(e)&&u&&r.push(N.createElement(u,eQ({key:a},e,{visualElement:t})))}return r}(e,j.visualElement,o)),N.createElement(oW,{visualElement:j.visualElement,props:eQ(eQ({},F),e)},V,N.createElement(oA.Provider,{value:j},l(u,e,q,(P=j.visualElement,(0,N.useCallback)(function(e){var n;e&&(null===(n=z.mount)||void 0===n||n.call(z,e)),P&&(e?P.mount(e):P.unmount()),t&&("function"==typeof t?t(e):oM(t)&&(t.current=e))},[P])),z,F.isStatic,j.visualElement)))})}if("undefined"==typeof Proxy)return t;var n=new Map;return new Proxy(t,{get:function(e,r){return n.has(r)||n.set(r,t(r)),n.get(r)}})}(function(e,t){var n,r,o;return n=t.forwardMotionProps,r=oQ(e)?iz:iH,eQ(eQ({},r),{preloadedFeatures:u3,useRender:(void 0===(o=void 0!==n&&n)&&(o=!1),function(e,t,n,r,i,a){var l=i.latestValues,s=(oQ(e)?function(e,t){var n=(0,N.useMemo)(function(){var n=iT();return i_(n,t,{enableHardwareAcceleration:!1},e.transformTemplate),eQ(eQ({},n.attrs),{style:eQ({},n.style)})},[t]);if(e.style){var r={};ib(r,e.style,e),n.style=eQ(eQ({},r),n.style)}return n}:function(e,t,n){var r,o,i={},a=(ib(r={},e.style||{},e),Object.assign(r,(o=e.transformTemplate,(0,N.useMemo)(function(){var e=iy();ig(e,t,{enableHardwareAcceleration:!n},o);var r=e.vars,i=e.style;return eQ(eQ({},r),i)},[t]))),e.transformValues&&(r=e.transformValues(r)),r);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),i.style=a,i})(t,l,a),u=function(e,t,n){var r={};for(var o in e)(iC(o)||!0===n&&ix(o)||!t&&!ix(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(t,"string"==typeof e,o),c=eQ(eQ(eQ({},u),s),{ref:r});return n&&(c["data-projection-id"]=n),(0,N.createElement)(e,c)}),createVisualElement:uu,projectionNodeConstructor:u5,Component:e})}),u4=(0,N.forwardRef)(function(e,t){var n=e.children,r=e.as,o=void 0===r?"ul":r,i=e.axis,a=void 0===i?"y":i,l=e.onReorder,s=e.values,u=eY(e,["children","as","axis","onReorder","values"]),c=oH(function(){return u6(o)}),d=[],p=(0,N.useRef)(!1);return oy(!!s,"Reorder.Group must be provided a values prop"),(0,N.useEffect)(function(){p.current=!1}),N.createElement(c,eQ({},u,{ref:t}),N.createElement(ob.Provider,{value:{axis:a,registerItem:function(e,t){t&&-1===d.findIndex(function(t){return e===t.value})&&(d.push({value:e,layout:t[a]}),d.sort(u8))},updateOrder:function(e,t,n){if(!p.current){var r=function(e,t,n,r){if(!r)return e;var o=e.findIndex(function(e){return e.value===t});if(-1===o)return e;var i=r>0?1:-1,a=e[o+i];if(!a)return e;var l=e[o],s=a.layout,u=aE(s.min,s.max,.5);return 1===i&&l.layout.max+n>u||-1===i&&l.layout.min+n<u?function(e,t,n){var r=e$(e).slice(0),o=t<0?r.length+t:t;if(o>=0&&o<r.length){var i=n<0?r.length+n:n,a=e$(r.splice(t,1),1)[0];r.splice(i,0,a)}return r}(e,o,o+i):e}(d,e,t,n);d!==r&&(p.current=!0,l(r.map(u9).filter(function(e){return -1!==s.indexOf(e)})))}}}},n))});function u9(e){return e.value}function u8(e,t){return e.layout.min-t.layout.min}function u7(e){var t=oH(function(){return l4(e)});if((0,N.useContext)(oT).isStatic){var n=e$((0,N.useState)(e),2)[1];(0,N.useEffect)(function(){return t.onChange(n)},[])}return t}function ce(e,t){var n,r,o,i,a=oH(function(){return[]});return r=u7((n=function(){a.length=0;for(var n=e.length,r=0;r<n;r++)a[r]=e[r].get();return t(a)})()),(o=function(){return r.set(n())})(),i=function(){return ly.update(o,!1,!0)},oR(function(){var t=e.map(function(e){return e.onChange(i)});return function(){return t.forEach(function(e){return e()})}}),r}function ct(e,t){return void 0===t&&(t=0),o3(e)?e:u7(t)}var cn={Group:u4,Item:(0,N.forwardRef)(function(e,t){var n,r,o,i=e.children,a=e.style,l=e.value,s=e.as,u=void 0===s?"li":s,c=e.onDrag,d=e.layout,p=eY(e,["children","style","value","as","onDrag","layout"]),f=oH(function(){return u6(u)}),h=(0,N.useContext)(ob),m={x:ct(null==a?void 0:a.x),y:ct(null==a?void 0:a.y)},v=(n=[m.x,m.y],o="function"==typeof(r=function(e){var t=e$(e,2),n=t[0],r=t[1];return n||r?1:"unset"})?r:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=!Array.isArray(t[0]),o=r?0:-1,i=t[0+o],a=t[1+o],l=t[2+o],s=t[3+o],u=aY(a,l,eQ({mixer:"object"==typeof(e=l[0])&&e.mix?e.mix:void 0},s));return r?u(i):u}(r,void 0,void 0),Array.isArray(n)?ce(n,o):ce([n],function(e){return o(e$(e,1)[0])})),g=(0,N.useRef)(null);oy(!!h,"Reorder.Item must be a child of Reorder.Group");var y=h.axis,b=h.registerItem,E=h.updateOrder;return(0,N.useEffect)(function(){b(l,g.current)},[h]),N.createElement(f,eQ({drag:y},p,{dragSnapToOrigin:!0,style:eQ(eQ({},a),{x:m.x,y:m.y,zIndex:v}),layout:void 0===d||d,onDrag:function(e,t){var n=t.velocity;n[y]&&E(l,m[y].get(),n[y]),null==c||c(e,t)},onLayoutMeasure:function(e){g.current=e},ref:t}),i)})};let[cr,co]=ef("Tooltip",[n3]),ci=n3(),ca="tooltip.open",[cl,cs]=cr("TooltipProvider"),cu="Tooltip",[cc,cd]=cr(cu),cp="TooltipTrigger",cf=(0,N.forwardRef)((e,t)=>{let{__scopeTooltip:n,...r}=e,o=cd(cp,n),i=cs(cp,n),a=ci(n),l=ep(t,(0,N.useRef)(null),o.onTriggerChange),s=(0,N.useRef)(!1),u=(0,N.useRef)(!1),c=(0,N.useCallback)(()=>s.current=!1,[]);return(0,N.useEffect)(()=>()=>document.removeEventListener("pointerup",c),[c]),(0,N.createElement)(n9,(0,eu.Z)({asChild:!0},a),(0,N.createElement)(eS.button,(0,eu.Z)({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:l,onPointerMove:ec(e.onPointerMove,e=>{"touch"===e.pointerType||u.current||i.isPointerInTransitRef.current||(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:ec(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:ec(e.onPointerDown,()=>{s.current=!0,document.addEventListener("pointerup",c,{once:!0})}),onFocus:ec(e.onFocus,()=>{s.current||o.onOpen()}),onBlur:ec(e.onBlur,o.onClose),onClick:ec(e.onClick,o.onClose)})))}),ch="TooltipPortal",[cm,cv]=cr(ch,{forceMount:void 0}),cg="TooltipContent",cy=(0,N.forwardRef)((e,t)=>{let n=cv(cg,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=cd(cg,e.__scopeTooltip);return(0,N.createElement)(eH,{present:r||a.open},a.disableHoverableContent?(0,N.createElement)(cC,(0,eu.Z)({side:o},i,{ref:t})):(0,N.createElement)(cb,(0,eu.Z)({side:o},i,{ref:t})))}),cb=(0,N.forwardRef)((e,t)=>{let n=cd(cg,e.__scopeTooltip),r=cs(cg,e.__scopeTooltip),o=(0,N.useRef)(null),i=ep(t,o),[a,l]=(0,N.useState)(null),{trigger:s,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,p=(0,N.useCallback)(()=>{l(null),d(!1)},[d]),f=(0,N.useCallback)((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());l(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,o),...function(e){let{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())])),d(!0)},[d]);return(0,N.useEffect)(()=>()=>p(),[p]),(0,N.useEffect)(()=>{if(s&&c){let e=e=>f(e,c),t=e=>f(e,s);return s.addEventListener("pointerleave",e),c.addEventListener("pointerleave",t),()=>{s.removeEventListener("pointerleave",e),c.removeEventListener("pointerleave",t)}}},[s,c,f,p]),(0,N.useEffect)(()=>{if(a){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==s?void 0:s.contains(t))||(null==c?void 0:c.contains(t)),o=!function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e].x,l=t[e].y,s=t[i].x,u=t[i].y;l>r!=u>r&&n<(s-a)*(r-l)/(u-l)+a&&(o=!o)}return o}(n,a);r?p():o&&(p(),u())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[s,c,a,u,p]),(0,N.createElement)(cC,(0,eu.Z)({},e,{ref:i}))}),[cE,cx]=cr(cu,{isInside:!1}),cC=(0,N.forwardRef)((e,t)=>{let{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...l}=e,s=cd(cg,n),u=ci(n),{onClose:c}=s;return(0,N.useEffect)(()=>(document.addEventListener(ca,c),()=>document.removeEventListener(ca,c)),[c]),(0,N.useEffect)(()=>{if(s.trigger){let e=e=>{let t=e.target;null!=t&&t.contains(s.trigger)&&c()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[s.trigger,c]),(0,N.createElement)(eD,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:c},(0,N.createElement)(rt,(0,eu.Z)({"data-state":s.stateAttribute},u,l,{ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),(0,N.createElement)(ew,null,r),(0,N.createElement)(cE,{scope:n,isInside:!0},(0,N.createElement)(t0,{id:s.contentId,role:"tooltip"},o||r))))}),cw=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:i,disableHoverableContent:a,delayDuration:l}=e,s=cs(cu,e.__scopeTooltip),u=ci(t),[c,d]=(0,N.useState)(null),p=eg(),f=(0,N.useRef)(0),h=null!=a?a:s.disableHoverableContent,m=null!=l?l:s.delayDuration,v=(0,N.useRef)(!1),[g=!1,y]=eb({prop:r,defaultProp:o,onChange:e=>{e?(s.onOpen(),document.dispatchEvent(new CustomEvent(ca))):s.onClose(),null==i||i(e)}}),b=(0,N.useMemo)(()=>g?v.current?"delayed-open":"instant-open":"closed",[g]),E=(0,N.useCallback)(()=>{window.clearTimeout(f.current),v.current=!1,y(!0)},[y]),x=(0,N.useCallback)(()=>{window.clearTimeout(f.current),y(!1)},[y]),C=(0,N.useCallback)(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{v.current=!0,y(!0)},m)},[m,y]);return(0,N.useEffect)(()=>()=>window.clearTimeout(f.current),[]),(0,N.createElement)(rl,u,(0,N.createElement)(cc,{scope:t,contentId:p,open:g,stateAttribute:b,trigger:c,onTriggerChange:d,onTriggerEnter:(0,N.useCallback)(()=>{s.isOpenDelayed?C():E()},[s.isOpenDelayed,C,E]),onTriggerLeave:(0,N.useCallback)(()=>{h?x():window.clearTimeout(f.current)},[x,h]),onOpen:E,onClose:x,disableHoverableContent:h},n))},ck=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=cd(ch,t);return(0,N.createElement)(cm,{scope:t,forceMount:n},(0,N.createElement)(eH,{present:n||i.open},(0,N.createElement)(ez,{asChild:!0,container:o},r)))};/**
22
+ * react-virtual
23
+ *
24
+ * Copyright (c) TanStack
25
+ *
26
+ * This source code is licensed under the MIT license found in the
27
+ * LICENSE.md file in the root directory of this source tree.
28
+ *
29
+ * @license MIT
30
+ */function cS(){return(cS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}/**
31
+ * virtual-core
32
+ *
33
+ * Copyright (c) TanStack
34
+ *
35
+ * This source code is licensed under the MIT license found in the
36
+ * LICENSE.md file in the root directory of this source tree.
37
+ *
38
+ * @license MIT
39
+ */function c_(){return(c_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}/**
40
+ * virtual-core
41
+ *
42
+ * Copyright (c) TanStack
43
+ *
44
+ * This source code is licensed under the MIT license found in the
45
+ * LICENSE.md file in the root directory of this source tree.
46
+ *
47
+ * @license MIT
48
+ */function cT(e,t,n){var r,o,i=null!=(r=n.initialDeps)?r:[];return function(){n.key&&null!=n.debug&&n.debug()&&(r=Date.now());var r,a,l=e();if(!(l.length!==i.length||l.some(function(e,t){return i[t]!==e})))return o;if(i=l,n.key&&null!=n.debug&&n.debug()&&(a=Date.now()),o=t.apply(void 0,l),n.key&&null!=n.debug&&n.debug()){var s=Math.round((Date.now()-r)*100)/100,u=Math.round((Date.now()-a)*100)/100,c=u/16,d=function(e,t){for(e=String(e);e.length<t;)e=" "+e;return e};console.info("%c⏱ "+d(u,5)+" /"+d(s,5)+" ms","\n font-size: .6rem;\n font-weight: bold;\n color: hsl("+Math.max(0,Math.min(120-120*c,120))+"deg 100% 31%);",null==n?void 0:n.key)}return null==n||null==n.onChange||n.onChange(o),o}}function cA(e,t){if(void 0!==e)return e;throw Error("Unexpected undefined"+(t?": "+t:""))}/**
49
+ * virtual-core
50
+ *
51
+ * Copyright (c) TanStack
52
+ *
53
+ * This source code is licensed under the MIT license found in the
54
+ * LICENSE.md file in the root directory of this source tree.
55
+ *
56
+ * @license MIT
57
+ */var cD=function(e){return e},cO=function(e){for(var t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[],o=t;o<=n;o++)r.push(o);return r},cR=function(e,t){var n=e.scrollElement;if(n){var r=function(e){t({width:Math.round(e.width),height:Math.round(e.height)})};r(n.getBoundingClientRect());var o=new ResizeObserver(function(e){var t=e[0];if(null!=t&&t.borderBoxSize){var o=t.borderBoxSize[0];if(o){r({width:o.inlineSize,height:o.blockSize});return}}r(n.getBoundingClientRect())});return o.observe(n,{box:"border-box"}),function(){o.unobserve(n)}}},cL=function(e,t){var n=e.scrollElement;if(n){var r=function(){t(n[e.options.horizontal?"scrollLeft":"scrollTop"])};return r(),n.addEventListener("scroll",r,{passive:!0}),function(){n.removeEventListener("scroll",r)}}},cN=function(e,t,n){if(null!=t&&t.borderBoxSize){var r=t.borderBoxSize[0];if(r)return Math.round(r[n.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},cM=function(e,t,n){var r,o,i=t.adjustments,a=t.behavior;null==(r=n.scrollElement)||null==r.scrollTo||r.scrollTo(((o={})[n.options.horizontal?"left":"top"]=e+(void 0===i?0:i),o.behavior=a,o))},cP=function(e){var t,n,r=this;this.unsubs=[],this.scrollElement=null,this.isScrolling=!1,this.isScrollingTimeoutId=null,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollDirection=null,this.scrollAdjustments=0,this.measureElementCache=new Map,this.observer=(t=null,n=function(){return t||("undefined"!=typeof ResizeObserver?t=new ResizeObserver(function(e){e.forEach(function(e){r._measureElement(e.target,e)})}):null)},{disconnect:function(){var e;return null==(e=n())?void 0:e.disconnect()},observe:function(e){var t;return null==(t=n())?void 0:t.observe(e,{box:"border-box"})},unobserve:function(e){var t;return null==(t=n())?void 0:t.unobserve(e)}}),this.range=null,this.setOptions=function(e){Object.entries(e).forEach(function(t){var n=t[0];void 0===t[1]&&delete e[n]}),r.options=c_({debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:cD,rangeExtractor:cO,onChange:function(){},measureElement:cN,initialRect:{width:0,height:0},scrollMargin:0,scrollingDelay:150,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1},e)},this.notify=function(e){null==r.options.onChange||r.options.onChange(r,e)},this.maybeNotify=cT(function(){return r.calculateRange(),[r.isScrolling,r.range?r.range.startIndex:null,r.range?r.range.endIndex:null]},function(e){r.notify(e)},{key:!1,debug:function(){return r.options.debug},initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=function(){r.unsubs.filter(Boolean).forEach(function(e){return e()}),r.unsubs=[],r.scrollElement=null},this._didMount=function(){return r.measureElementCache.forEach(r.observer.observe),function(){r.observer.disconnect(),r.cleanup()}},this._willUpdate=function(){var e=r.options.getScrollElement();r.scrollElement!==e&&(r.cleanup(),r.scrollElement=e,r._scrollToOffset(r.scrollOffset,{adjustments:void 0,behavior:void 0}),r.unsubs.push(r.options.observeElementRect(r,function(e){r.scrollRect=e,r.maybeNotify()})),r.unsubs.push(r.options.observeElementOffset(r,function(e){r.scrollAdjustments=0,r.scrollOffset!==e&&(null!==r.isScrollingTimeoutId&&(clearTimeout(r.isScrollingTimeoutId),r.isScrollingTimeoutId=null),r.isScrolling=!0,r.scrollDirection=r.scrollOffset<e?"forward":"backward",r.scrollOffset=e,r.maybeNotify(),r.isScrollingTimeoutId=setTimeout(function(){r.isScrollingTimeoutId=null,r.isScrolling=!1,r.scrollDirection=null,r.maybeNotify()},r.options.scrollingDelay))})))},this.getSize=function(){return r.scrollRect[r.options.horizontal?"width":"height"]},this.memoOptions=cT(function(){return[r.options.count,r.options.paddingStart,r.options.scrollMargin,r.options.getItemKey]},function(e,t,n,o){return r.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:o}},{key:!1}),this.getFurthestMeasurement=function(e,t){for(var n=new Map,o=new Map,i=t-1;i>=0;i--){var a=e[i];if(!n.has(a.lane)){var l=o.get(a.lane);if(null==l||a.end>l.end?o.set(a.lane,a):a.end<l.end&&n.set(a.lane,!0),n.size===r.options.lanes)break}}return o.size===r.options.lanes?Array.from(o.values()).sort(function(e,t){return e.end-t.end})[0]:void 0},this.getMeasurements=cT(function(){return[r.memoOptions(),r.itemSizeCache]},function(e,t){var n=e.count,o=e.paddingStart,i=e.scrollMargin,a=e.getItemKey,l=r.pendingMeasuredCacheIndexes.length>0?Math.min.apply(Math,r.pendingMeasuredCacheIndexes):0;r.pendingMeasuredCacheIndexes=[];for(var s=r.measurementsCache.slice(0,l),u=l;u<n;u++){var c=a(u),d=1===r.options.lanes?s[u-1]:r.getFurthestMeasurement(s,u),p=d?d.end:o+i,f=t.get(c),h="number"==typeof f?f:r.options.estimateSize(u),m=p+h,v=d?d.lane:u%r.options.lanes;s[u]={index:u,start:p,size:h,end:m,key:c,lane:v}}return r.measurementsCache=s,s},{key:!1,debug:function(){return r.options.debug}}),this.calculateRange=cT(function(){return[r.getMeasurements(),r.getSize(),r.scrollOffset]},function(e,t,n){return r.range=e.length>0&&t>0?function(e){for(var t=e.measurements,n=e.outerSize,r=e.scrollOffset,o=t.length-1,i=cI(0,o,function(e){return t[e].start},r),a=i;a<o&&t[a].end<r+n;)a++;return{startIndex:i,endIndex:a}}({measurements:e,outerSize:t,scrollOffset:n}):null},{key:!1,debug:function(){return r.options.debug}}),this.getIndexes=cT(function(){return[r.options.rangeExtractor,r.calculateRange(),r.options.overscan,r.options.count]},function(e,t,n,r){return null===t?[]:e(c_({},t,{overscan:n,count:r}))},{key:!1,debug:function(){return r.options.debug}}),this.indexFromElement=function(e){var t=r.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn("Missing attribute name '"+t+"={index}' on measured element."),-1)},this._measureElement=function(e,t){var n=r.measurementsCache[r.indexFromElement(e)];if(!n||!e.isConnected){r.measureElementCache.forEach(function(t,n){t===e&&(r.observer.unobserve(e),r.measureElementCache.delete(n))});return}var o=r.measureElementCache.get(n.key);o!==e&&(o&&r.observer.unobserve(o),r.observer.observe(e),r.measureElementCache.set(n.key,e));var i=r.options.measureElement(e,t,r);r.resizeItem(n,i)},this.resizeItem=function(e,t){var n,o=t-(null!=(n=r.itemSizeCache.get(e.key))?n:e.size);0!==o&&(e.start<r.scrollOffset&&r._scrollToOffset(r.scrollOffset,{adjustments:r.scrollAdjustments+=o,behavior:void 0}),r.pendingMeasuredCacheIndexes.push(e.index),r.itemSizeCache=new Map(r.itemSizeCache.set(e.key,t)),r.notify(!1))},this.measureElement=function(e){e&&r._measureElement(e,void 0)},this.getVirtualItems=cT(function(){return[r.getIndexes(),r.getMeasurements()]},function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var i=t[e[r]];n.push(i)}return n},{key:!1,debug:function(){return r.options.debug}}),this.getVirtualItemForOffset=function(e){var t=r.getMeasurements();return cA(t[cI(0,t.length-1,function(e){return cA(t[e]).start},e)])},this.getOffsetForAlignment=function(e,t){var n=r.getSize();"auto"===t&&(t=e<=r.scrollOffset?"start":e>=r.scrollOffset+n?"end":"start"),"start"===t||("end"===t?e-=n:"center"===t&&(e-=n/2));var o=r.options.horizontal?"scrollWidth":"scrollHeight";return Math.max(Math.min((r.scrollElement?"document"in r.scrollElement?r.scrollElement.document.documentElement[o]:r.scrollElement[o]:0)-r.getSize(),e),0)},this.getOffsetForIndex=function(e,t){void 0===t&&(t="auto"),e=Math.max(0,Math.min(e,r.options.count-1));var n=cA(r.getMeasurements()[e]);if("auto"===t){if(n.end>=r.scrollOffset+r.getSize()-r.options.scrollPaddingEnd)t="end";else{if(!(n.start<=r.scrollOffset+r.options.scrollPaddingStart))return[r.scrollOffset,t];t="start"}}var o="end"===t?n.end+r.options.scrollPaddingEnd:n.start-r.options.scrollPaddingStart;return[r.getOffsetForAlignment(o,t),t]},this.isDynamicMode=function(){return r.measureElementCache.size>0},this.cancelScrollToIndex=function(){null!==r.scrollToIndexTimeoutId&&(clearTimeout(r.scrollToIndexTimeoutId),r.scrollToIndexTimeoutId=null)},this.scrollToOffset=function(e,t){var n=void 0===t?{}:t,o=n.align,i=n.behavior;r.cancelScrollToIndex(),"smooth"===i&&r.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),r._scrollToOffset(r.getOffsetForAlignment(e,void 0===o?"start":o),{adjustments:void 0,behavior:i})},this.scrollToIndex=function(e,t){var n=void 0===t?{}:t,o=n.align,i=n.behavior;e=Math.max(0,Math.min(e,r.options.count-1)),r.cancelScrollToIndex(),"smooth"===i&&r.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");var a=r.getOffsetForIndex(e,void 0===o?"auto":o),l=a[0],s=a[1];r._scrollToOffset(l,{adjustments:void 0,behavior:i}),"smooth"!==i&&r.isDynamicMode()&&(r.scrollToIndexTimeoutId=setTimeout(function(){r.scrollToIndexTimeoutId=null,r.measureElementCache.has(r.options.getItemKey(e))&&1>Math.abs(r.getOffsetForIndex(e,s)[0]-r.scrollOffset)||r.scrollToIndex(e,{align:s,behavior:i})}))},this.scrollBy=function(e,t){var n=(void 0===t?{}:t).behavior;r.cancelScrollToIndex(),"smooth"===n&&r.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),r._scrollToOffset(r.scrollOffset+e,{adjustments:void 0,behavior:n})},this.getTotalSize=function(){var e;return((null==(e=r.getMeasurements()[r.options.count-1])?void 0:e.end)||r.options.paddingStart)-r.options.scrollMargin+r.options.paddingEnd},this._scrollToOffset=function(e,t){var n=t.adjustments,o=t.behavior;r.options.scrollToFn(e,{behavior:o,adjustments:n},r)},this.measure=function(){r.itemSizeCache=new Map,r.notify(!1)},this.setOptions(e),this.scrollRect=this.options.initialRect,this.scrollOffset=this.options.initialOffset,this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(function(e){r.itemSizeCache.set(e.key,e.size)}),this.maybeNotify()},cI=function(e,t,n,r){for(;e<=t;){var o=(e+t)/2|0,i=n(o);if(i<r)e=o+1;else{if(!(i>r))return o;t=o-1}}return e>0?e-1:0},cF="undefined"!=typeof document?N.useLayoutEffect:N.useEffect,cV=Object.defineProperty,cj=(e,t,n)=>t in e?cV(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cq=(e,t,n)=>(cj(e,"symbol"!=typeof t?t+"":t,n),n);class cz{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){cq(this,"current",this.detect()),cq(this,"handoffState","pending"),cq(this,"currentId",0)}}let cH=new cz,cB=(e,t)=>{cH.isServer?(0,N.useEffect)(e,t):(0,N.useLayoutEffect)(e,t)};function cU(e){let t=(0,N.useRef)(e);return cB(()=>{t.current=e},[e]),t}function cZ(e,t){let[n,r]=(0,N.useState)(e),o=cU(e);return cB(()=>r(o.current),[o,r,...t]),n}let cG=function(e){let t=cU(e);return N.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])};function cW(){let e=[],t={addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),t.add(()=>e.removeEventListener(n,r,o))),requestAnimationFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let o=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(o))},nextFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let o=setTimeout(...n);return t.add(()=>clearTimeout(o))},microTask(){for(var e,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];let i={current:!0};return e=()=>{i.current&&r[0]()},"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e})),t.add(()=>{i.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=cW();return e(t),this.add(()=>t.dispose())},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function cK(){let[e]=(0,N.useState)(cW);return(0,N.useEffect)(()=>()=>e.dispose(),[e]),e}let cQ=null!=(R=N.useId)?R:function(){let e=function(){let e;let t=(e="undefined"==typeof document,(0,M.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[n,r]=N.useState(cH.isHandoffComplete);return n&&!1===cH.isHandoffComplete&&r(!1),N.useEffect(()=>{!0!==n&&r(!0)},[n]),N.useEffect(()=>cH.handoff(),[]),!t&&n}(),[t,n]=N.useState(e?()=>cH.nextId():null);return cB(()=>{null===t&&n(cH.nextId())},[t]),null!=t?""+t:void 0};function cY(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let i=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(i,cY),i}function c$(e){return cH.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let cJ=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var cX=((f=cX||{})[f.First=1]="First",f[f.Previous=2]="Previous",f[f.Next=4]="Next",f[f.Last=8]="Last",f[f.WrapAround=16]="WrapAround",f[f.NoScroll=32]="NoScroll",f),c0=((h=c0||{})[h.Error=0]="Error",h[h.Overflow=1]="Overflow",h[h.Success=2]="Success",h[h.Underflow=3]="Underflow",h),c1=((m=c1||{})[m.Previous=-1]="Previous",m[m.Next=1]="Next",m),c2=((v=c2||{})[v.Strict=0]="Strict",v[v.Loose=1]="Loose",v),c5=((g=c5||{})[g.Keyboard=0]="Keyboard",g[g.Mouse=1]="Mouse",g);function c3(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0||/Android/gi.test(window.navigator.userAgent)}function c6(e,t,n){let r=cU(t);(0,N.useEffect)(()=>{function t(e){r.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function c4(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let c9=Symbol();function c8(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=(0,N.useRef)(t);(0,N.useEffect)(()=>{r.current=t},[t]);let o=cG(e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[c9]))?void 0:o}function c7(e){return[e.screenX,e.screenY]}function de(e,t){let n=(0,N.useRef)([]),r=cG(e);(0,N.useEffect)(()=>{let e=[...n.current];for(let[o,i]of t.entries())if(n.current[o]!==i){let o=r(t,e);return n.current=t,o}},[r,...t])}function dt(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}var dn=((y=dn||{})[y.None=0]="None",y[y.RenderStrategy=1]="RenderStrategy",y[y.Static=2]="Static",y),dr=((b=dr||{})[b.Unmount=0]="Unmount",b[b.Hidden=1]="Hidden",b);function di(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:o,features:i,visible:a=!0,name:l,mergeRefs:s}=e;s=null!=s?s:dl;let u=ds(n,t);if(a)return da(u,r,o,l,s);let c=null!=i?i:0;if(2&c){let{static:e=!1,...t}=u;if(e)return da(t,r,o,l,s)}if(1&c){let{unmount:e=!0,...t}=u;return cY(e?0:1,{0:()=>null,1:()=>da({...t,hidden:!0,style:{display:"none"}},r,o,l,s)})}return da(u,r,o,l,s)}function da(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,{as:i=n,children:a,refName:l="ref",...s}=dd(e,["unmount","static"]),u=void 0!==e.ref?{[l]:e.ref}:{},c="function"==typeof a?a(t):a;"className"in s&&s.className&&"function"==typeof s.className&&(s.className=s.className(t));let d={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r);e&&(d["data-headlessui-state"]=n.join(" "))}if(i===N.Fragment&&Object.keys(dc(s)).length>0){if(!(0,N.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(s).map(e=>" - ".concat(e)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>" - ".concat(e)).join("\n")].join("\n"));let e=c.props,t="function"==typeof(null==e?void 0:e.className)?function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return dt(null==e?void 0:e.className(...n),s.className)}:dt(null==e?void 0:e.className,s.className);return(0,N.cloneElement)(c,Object.assign({},ds(c.props,dc(dd(s,["ref"]))),d,u,{ref:o(c.ref,u.ref)},t?{className:t}:{}))}return(0,N.createElement)(i,Object.assign({},dd(s,["ref"]),i!==N.Fragment&&u,i!==N.Fragment&&d),c)}function dl(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function ds(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return{};if(1===t.length)return t[0];let r={},o={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=o[t]||(o[t]=[]),o[t].push(e[t])):r[t]=e[t];if(r.disabled||r["aria-disabled"])return Object.assign(r,Object.fromEntries(Object.keys(o).map(e=>[e,void 0])));for(let e in o)Object.assign(r,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(let n of o[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return r}function du(e){var t;return Object.assign((0,N.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function dc(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function dd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}var dp=((E=dp||{})[E.None=1]="None",E[E.Focusable=2]="Focusable",E[E.Hidden=4]="Hidden",E);let df=du(function(e,t){var n;let{features:r=1,...o}=e;return di({ourProps:{ref:t,"aria-hidden":(2&r)==2||(null!=(n=o["aria-hidden"])?n:void 0),style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&r)==4&&(2&r)!=2&&{display:"none"}}},theirProps:o,slot:{},defaultTag:"div",name:"Hidden"})}),dh=(0,N.createContext)(null);dh.displayName="OpenClosedContext";var dm=((x=dm||{})[x.Open=1]="Open",x[x.Closed=2]="Closed",x[x.Closing=4]="Closing",x[x.Opening=8]="Opening",x);function dv(e){let{value:t,children:n}=e;return N.createElement(dh.Provider,{value:t},n)}let dg=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&dg[0]!==e.target&&(dg.unshift(e.target),(dg=dg.filter(e=>null!=e&&e.isConnected)).splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var dy=((C=dy||{})[C.First=0]="First",C[C.Previous=1]="Previous",C[C.Next=2]="Next",C[C.Last=3]="Last",C[C.Specific=4]="Specific",C[C.Nothing=5]="Nothing",C);function db(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),o=null!=r?r:-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:for(let e=o-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=o+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:!function(e){throw Error("Unexpected object: "+e)}(e)}}function dE(e,t){return e?e+"["+t+"]":t}var dx=((w=dx||{}).Space=" ",w.Enter="Enter",w.Escape="Escape",w.Backspace="Backspace",w.Delete="Delete",w.ArrowLeft="ArrowLeft",w.ArrowUp="ArrowUp",w.ArrowRight="ArrowRight",w.ArrowDown="ArrowDown",w.Home="Home",w.End="End",w.PageUp="PageUp",w.PageDown="PageDown",w.Tab="Tab",w),dC=n(49079),dw=((k=dw||{})[k.Open=0]="Open",k[k.Closed=1]="Closed",k),dk=((S=dk||{})[S.Single=0]="Single",S[S.Multi=1]="Multi",S),dS=((_=dS||{})[_.Pointer=0]="Pointer",_[_.Focus=1]="Focus",_[_.Other=2]="Other",_),d_=((T=d_||{})[T.OpenCombobox=0]="OpenCombobox",T[T.CloseCombobox=1]="CloseCombobox",T[T.GoToOption=2]="GoToOption",T[T.RegisterOption=3]="RegisterOption",T[T.UnregisterOption=4]="UnregisterOption",T[T.RegisterLabel=5]="RegisterLabel",T[T.SetActivationTrigger=6]="SetActivationTrigger",T[T.UpdateVirtualOptions=7]="UpdateVirtualOptions",T);function dT(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e,n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=t(e.options.slice()),o=r.length>0&&null!==r[0].dataRef.current.order?r.sort((e,t)=>e.dataRef.current.order-t.dataRef.current.order):function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let i=r.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}(r,e=>e.dataRef.current.domRef.current),i=n?o.indexOf(n):null;return -1===i&&(i=null),{options:o,activeOptionIndex:i}}let dA={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t,n;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;if(null!=(n=e.dataRef.current)&&n.value){let t=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(-1!==t)return{...e,activeOptionIndex:t,comboboxState:0}}return{...e,comboboxState:0}},2(e,t){var n,r,o,i,a;if(null!=(n=e.dataRef.current)&&n.disabled||null!=(r=e.dataRef.current)&&r.optionsRef.current&&!(null!=(o=e.dataRef.current)&&o.optionsPropsRef.current.static)&&1===e.comboboxState)return e;if(e.virtual){let n=t.focus===dy.Specific?t.idx:db(t,{resolveItems:()=>e.virtual.options,resolveActiveIndex:()=>{var t,n;return null!=(n=null!=(t=e.activeOptionIndex)?t:e.virtual.options.findIndex(t=>!e.virtual.disabled(t)))?n:null},resolveDisabled:e.virtual.disabled,resolveId(){throw Error("Function not implemented.")}}),r=null!=(i=t.trigger)?i:2;return e.activeOptionIndex===n&&e.activationTrigger===r?e:{...e,activeOptionIndex:n,activationTrigger:r}}let l=dT(e);if(null===l.activeOptionIndex){let e=l.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(l.activeOptionIndex=e)}let s=t.focus===dy.Specific?t.idx:db(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled}),u=null!=(a=t.trigger)?a:2;return e.activeOptionIndex===s&&e.activationTrigger===u?e:{...e,...l,activeOptionIndex:s,activationTrigger:u}},3:(e,t)=>{var n,r,o;if(null!=(n=e.dataRef.current)&&n.virtual)return{...e,options:[...e.options,t.payload]};let i=t.payload,a=dT(e,e=>(e.push(i),e));null===e.activeOptionIndex&&null!=(r=e.dataRef.current)&&r.isSelected(t.payload.dataRef.current.value)&&(a.activeOptionIndex=a.options.indexOf(i));let l={...e,...a,activationTrigger:2};return null!=(o=e.dataRef.current)&&o.__demoMode&&void 0===e.dataRef.current.value&&(l.activeOptionIndex=0),l},4:(e,t)=>{var n;if(null!=(n=e.dataRef.current)&&n.virtual)return{...e,options:e.options.filter(e=>e.id!==t.id)};let r=dT(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...r,activationTrigger:2}},5:(e,t)=>e.labelId===t.id?e:{...e,labelId:t.id},6:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},7:(e,t)=>{var n;if((null==(n=e.virtual)?void 0:n.options)===t.options)return e;let r=e.activeOptionIndex;if(null!==e.activeOptionIndex){let n=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);r=-1!==n?n:null}return{...e,activeOptionIndex:r,virtual:Object.assign({},e.virtual,{options:t.options})}}},dD=(0,N.createContext)(null);function dO(e){let t=(0,N.useContext)(dD);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Combobox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,dO),t}return t}dD.displayName="ComboboxActionsContext";let dR=(0,N.createContext)(null);function dL(e){var t,n,r,o,i,a;let l=dM("VirtualProvider"),[s,u]=(0,N.useMemo)(()=>{let e=l.optionsRef.current;if(!e)return[0,0];let t=window.getComputedStyle(e);return[parseFloat(t.paddingBlockStart||t.paddingTop),parseFloat(t.paddingBlockEnd||t.paddingBottom)]},[l.optionsRef.current]),c=(n={scrollPaddingStart:s,scrollPaddingEnd:u,count:l.virtual.options.length,estimateSize:()=>40,getScrollElement(){var e;return null!=(e=l.optionsRef.current)?e:null},overscan:12},r=cS({observeElementRect:cR,observeElementOffset:cL,scrollToFn:cM},n),o=N.useReducer(function(){return{}},{})[1],i=cS({},r,{onChange:function(e,t){t?(0,eE.flushSync)(o):o(),null==r.onChange||r.onChange(e,t)}}),(a=N.useState(function(){return new cP(i)})[0]).setOptions(i),N.useEffect(function(){return a._didMount()},[]),cF(function(){return a._willUpdate()}),a),[d,p]=(0,N.useState)(0);return cB(()=>{p(e=>e+1)},[null==(t=l.virtual)?void 0:t.options]),N.createElement(dR.Provider,{value:c},N.createElement("div",{style:{position:"relative",width:"100%",height:"".concat(c.getTotalSize(),"px")},ref:e=>{e&&(void 0===dC||void 0===dC.env.JEST_WORKER_ID)&&0!==l.activationTrigger&&null!==l.activeOptionIndex&&l.virtual.options.length>l.activeOptionIndex&&c.scrollToIndex(l.activeOptionIndex)}},c.getVirtualItems().map(t=>{var n;return N.createElement(N.Fragment,{key:t.key},N.cloneElement(null==(n=e.children)?void 0:n.call(e,{option:l.virtual.options[t.index],open:0===l.comboboxState}),{key:"".concat(d,"-").concat(t.key),"data-index":t.index,"aria-setsize":l.virtual.options.length,"aria-posinset":t.index+1,style:{position:"absolute",top:0,left:0,transform:"translateY(".concat(t.start,"px)"),overflowAnchor:"none"}}))})))}let dN=(0,N.createContext)(null);function dM(e){let t=(0,N.useContext)(dN);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Combobox /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,dM),t}return t}function dP(e,t){return cY(t.type,dA,e,t)}dN.displayName="ComboboxDataContext";let dI=N.Fragment,dF=dn.RenderStrategy|dn.Static,dV=du(function(e,t){let{value:n,defaultValue:r,onChange:o,form:i,name:a,by:l=null,disabled:s=!1,__demoMode:u=!1,nullable:c=!1,multiple:d=!1,immediate:p=!1,virtual:f=null,...h}=e,[m=d?[]:void 0,v]=function(e,t,n){let[r,o]=(0,N.useState)(n),i=void 0!==e,a=(0,N.useRef)(i),l=(0,N.useRef)(!1),s=(0,N.useRef)(!1);return!i||a.current||l.current?i||!a.current||s.current||(s.current=!0,a.current=i,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(l.current=!0,a.current=i,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[i?e:r,cG(e=>(i||o(e),null==t?void 0:t(e)))]}(n,o,r),[g,y]=(0,N.useReducer)(dP,{dataRef:(0,N.createRef)(),comboboxState:u?0:1,options:[],virtual:null,activeOptionIndex:null,activationTrigger:2,labelId:null}),b=(0,N.useRef)(!1),E=(0,N.useRef)({static:!1,hold:!1}),x=(0,N.useRef)(null),C=(0,N.useRef)(null),w=(0,N.useRef)(null),k=(0,N.useRef)(null),S=cG("string"==typeof l?(e,t)=>(null==e?void 0:e[l])===(null==t?void 0:t[l]):null!=l?l:(e,t)=>e===t),_=cG(e=>g.options.findIndex(t=>S(t.dataRef.current.value,e))),T=(0,N.useCallback)(e=>cY(D.mode,{1:()=>m.some(t=>S(t,e)),0:()=>S(m,e)}),[m]),A=cG(e=>g.activeOptionIndex===_(e)),D=(0,N.useMemo)(()=>({...g,immediate:!1,optionsPropsRef:E,labelRef:x,inputRef:C,buttonRef:w,optionsRef:k,value:m,defaultValue:r,disabled:s,mode:d?1:0,virtual:g.virtual,get activeOptionIndex(){if(b.current&&null===g.activeOptionIndex&&g.options.length>0){let e=g.options.findIndex(e=>!e.dataRef.current.disabled);if(-1!==e)return e}return g.activeOptionIndex},calculateIndex:_,compare:S,isSelected:T,isActive:A,nullable:c,__demoMode:u}),[m,r,s,d,c,u,g,null]);cB(()=>{},[null,void 0]),cB(()=>{g.dataRef.current=D},[D]),function(e,t){var n;let r,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=(0,N.useRef)(!1);function a(n,r){if(!i.current||n.defaultPrevented)return;let o=r(n);if(null!==o&&o.getRootNode().contains(o)&&o.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(o)||n.composed&&n.composedPath().includes(e))return}return!function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=c$(e))?void 0:t.body)&&cY(n,{0:()=>e.matches(cJ),1(){let t=e;for(;null!==t;){if(t.matches(cJ))return!0;t=t.parentElement}return!1}})}(o,c2.Loose)&&-1!==o.tabIndex&&n.preventDefault(),t(n,o)}}(0,N.useEffect)(()=>{requestAnimationFrame(()=>{i.current=o})},[o]);let l=(0,N.useRef)(null);c6("pointerdown",e=>{var t,n;i.current&&(l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),c6("mousedown",e=>{var t,n;i.current&&(l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),c6("click",e=>{c3()||l.current&&(a(e,()=>l.current),l.current=null)},!0),c6("touchend",e=>a(e,()=>e.target instanceof HTMLElement?e.target:null),!0),n="blur",r=cU(e=>a(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null)),(0,N.useEffect)(()=>{function e(e){r.current(e)}return window.addEventListener(n,e,!0),()=>window.removeEventListener(n,e,!0)},[n,!0])}([D.buttonRef,D.inputRef,D.optionsRef],()=>q.closeCombobox(),0===D.comboboxState);let O=(0,N.useMemo)(()=>{var e,t,n;return{open:0===D.comboboxState,disabled:s,activeIndex:D.activeOptionIndex,activeOption:null===D.activeOptionIndex?null:D.virtual?D.virtual.options[null!=(e=D.activeOptionIndex)?e:0]:null!=(n=null==(t=D.options[D.activeOptionIndex])?void 0:t.dataRef.current.value)?n:null,value:m}},[D,s,m]),R=cG(()=>{if(null!==D.activeOptionIndex){if(D.virtual)V(D.virtual.options[D.activeOptionIndex]);else{let{dataRef:e}=D.options[D.activeOptionIndex];V(e.current.value)}q.goToOption(dy.Specific,D.activeOptionIndex)}}),L=cG(()=>{y({type:0}),b.current=!0}),M=cG(()=>{y({type:1}),b.current=!1}),P=cG((e,t,n)=>(b.current=!1,e===dy.Specific?y({type:2,focus:dy.Specific,idx:t,trigger:n}):y({type:2,focus:e,trigger:n}))),I=cG((e,t)=>(y({type:3,payload:{id:e,dataRef:t}}),()=>{D.isActive(t.current.value)&&(b.current=!0),y({type:4,id:e})})),F=cG(e=>(y({type:5,id:e}),()=>y({type:5,id:null}))),V=cG(e=>cY(D.mode,{0:()=>null==v?void 0:v(e),1(){let t=D.value.slice(),n=t.findIndex(t=>S(t,e));return -1===n?t.push(e):t.splice(n,1),null==v?void 0:v(t)}})),j=cG(e=>{y({type:6,trigger:e})}),q=(0,N.useMemo)(()=>({onChange:V,registerOption:I,registerLabel:F,goToOption:P,closeCombobox:M,openCombobox:L,setActivationTrigger:j,selectActiveOption:R}),[]),z=(0,N.useRef)(null),H=cK();return(0,N.useEffect)(()=>{z.current&&void 0!==r&&H.addEventListener(z.current,"reset",()=>{null==v||v(r)})},[z,v]),N.createElement(dD.Provider,{value:q},N.createElement(dN.Provider,{value:D},N.createElement(dv,{value:cY(D.comboboxState,{0:dm.Open,1:dm.Closed})},null!=a&&null!=m&&(function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[o,i]of Object.entries(t))!function t(n,r,o){if(Array.isArray(o))for(let[e,i]of o.entries())t(n,dE(r,e.toString()),i);else o instanceof Date?n.push([r,o.toISOString()]):"boolean"==typeof o?n.push([r,o?"1":"0"]):"string"==typeof o?n.push([r,o]):"number"==typeof o?n.push([r,"".concat(o)]):null==o?n.push([r,""]):e(o,r,n)}(r,dE(n,o),i);return r})({[a]:m}).map((e,t)=>{let[n,r]=e;return N.createElement(df,{features:dp.Hidden,ref:0===t?e=>{var t;z.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...dc({key:n,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,name:n,value:r})})}),di({ourProps:null===t?{}:{ref:t},theirProps:h,slot:O,defaultTag:dI,name:"Combobox"}))))}),dj=du(function(e,t){var n;let r=dM("Combobox.Button"),o=dO("Combobox.Button"),i=c8(r.buttonRef,t),a=cQ(),{id:l="headlessui-combobox-button-".concat(a),...s}=e,u=cK(),c=cG(e=>{switch(e.key){case dx.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&o.openCombobox(),u.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})});case dx.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&(o.openCombobox(),u.nextFrame(()=>{r.value||o.goToOption(dy.Last)})),u.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})});case dx.Escape:return 0!==r.comboboxState?void 0:(e.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&e.stopPropagation(),o.closeCombobox(),u.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}));default:return}}),d=cG(e=>{if(function(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}(e.currentTarget))return e.preventDefault();0===r.comboboxState?o.closeCombobox():(e.preventDefault(),o.openCombobox()),u.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})})}),p=cZ(()=>{if(r.labelId)return[r.labelId,l].join(" ")},[r.labelId,l]),f=(0,N.useMemo)(()=>({open:0===r.comboboxState,disabled:r.disabled,value:r.value}),[r]);return di({ourProps:{ref:i,id:l,type:function(e,t){let[n,r]=(0,N.useState)(()=>c4(e));return cB(()=>{r(c4(e))},[e.type,e.as]),cB(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&r("button")},[n,t]),n}(e,r.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":null==(n=r.optionsRef.current)?void 0:n.id,"aria-expanded":0===r.comboboxState,"aria-labelledby":p,disabled:r.disabled,onClick:d,onKeyDown:c},theirProps:s,slot:f,defaultTag:"button",name:"Combobox.Button"})}),dq=Object.assign(dV,{Input:du(function(e,t){var n,r,o,i,a,l;let s=cQ(),{id:u="headlessui-combobox-input-".concat(s),onChange:c,displayValue:d,type:p="text",...f}=e,h=dM("Combobox.Input"),m=dO("Combobox.Input"),v=c8(h.inputRef,t),g=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,N.useMemo)(()=>c$(...t),[...t])}(h.inputRef),y=(0,N.useRef)(!1),b=cK(),E=cG(()=>{m.onChange(null),h.optionsRef.current&&(h.optionsRef.current.scrollTop=0),m.goToOption(dy.Nothing)});de((e,t)=>{let[n,r]=e,[o,i]=t;if(y.current)return;let a=h.inputRef.current;a&&((0===i&&1===r||n!==o)&&(a.value=n),requestAnimationFrame(()=>{if(y.current||!a||(null==g?void 0:g.activeElement)!==a)return;let{selectionStart:e,selectionEnd:t}=a;0===Math.abs((null!=t?t:0)-(null!=e?e:0))&&0===e&&a.setSelectionRange(a.value.length,a.value.length)}))},["function"==typeof d&&void 0!==h.value?null!=(l=d(h.value))?l:"":"string"==typeof h.value?h.value:"",h.comboboxState,g]),de((e,t)=>{let[n]=e,[r]=t;if(0===n&&1===r){if(y.current)return;let e=h.inputRef.current;if(!e)return;let t=e.value,{selectionStart:n,selectionEnd:r,selectionDirection:o}=e;e.value="",e.value=t,null!==o?e.setSelectionRange(n,r,o):e.setSelectionRange(n,r)}},[h.comboboxState]);let x=(0,N.useRef)(!1),C=cG(()=>{x.current=!0}),w=cG(()=>{b.nextFrame(()=>{x.current=!1})}),k=cG(e=>{switch(y.current=!0,e.key){case dx.Enter:if(y.current=!1,0!==h.comboboxState||x.current)return;if(e.preventDefault(),e.stopPropagation(),null===h.activeOptionIndex){m.closeCombobox();return}m.selectActiveOption(),0===h.mode&&m.closeCombobox();break;case dx.ArrowDown:return y.current=!1,e.preventDefault(),e.stopPropagation(),cY(h.comboboxState,{0:()=>m.goToOption(dy.Next),1:()=>m.openCombobox()});case dx.ArrowUp:return y.current=!1,e.preventDefault(),e.stopPropagation(),cY(h.comboboxState,{0:()=>m.goToOption(dy.Previous),1:()=>{m.openCombobox(),b.nextFrame(()=>{h.value||m.goToOption(dy.Last)})}});case dx.Home:if(e.shiftKey)break;return y.current=!1,e.preventDefault(),e.stopPropagation(),m.goToOption(dy.First);case dx.PageUp:return y.current=!1,e.preventDefault(),e.stopPropagation(),m.goToOption(dy.First);case dx.End:if(e.shiftKey)break;return y.current=!1,e.preventDefault(),e.stopPropagation(),m.goToOption(dy.Last);case dx.PageDown:return y.current=!1,e.preventDefault(),e.stopPropagation(),m.goToOption(dy.Last);case dx.Escape:return y.current=!1,0!==h.comboboxState?void 0:(e.preventDefault(),h.optionsRef.current&&!h.optionsPropsRef.current.static&&e.stopPropagation(),h.nullable&&0===h.mode&&null===h.value&&E(),m.closeCombobox());case dx.Tab:if(y.current=!1,0!==h.comboboxState)return;0===h.mode&&1!==h.activationTrigger&&m.selectActiveOption(),m.closeCombobox()}}),S=cG(e=>{null==c||c(e),h.nullable&&0===h.mode&&""===e.target.value&&E(),m.openCombobox()}),_=cG(e=>{var t,n,r;let o=null!=(t=e.relatedTarget)?t:dg.find(t=>t!==e.currentTarget);if(y.current=!1,!(null!=(n=h.optionsRef.current)&&n.contains(o))&&!(null!=(r=h.buttonRef.current)&&r.contains(o))&&0===h.comboboxState)return e.preventDefault(),0===h.mode&&(h.nullable&&null===h.value?E():1!==h.activationTrigger&&m.selectActiveOption()),m.closeCombobox()}),T=cG(e=>{var t,n,r;let o=null!=(t=e.relatedTarget)?t:dg.find(t=>t!==e.currentTarget);null!=(n=h.buttonRef.current)&&n.contains(o)||null!=(r=h.optionsRef.current)&&r.contains(o)||h.disabled||h.immediate&&0!==h.comboboxState&&(m.openCombobox(),b.nextFrame(()=>{m.setActivationTrigger(1)}))}),A=cZ(()=>{if(h.labelId)return[h.labelId].join(" ")},[h.labelId]),D=(0,N.useMemo)(()=>({open:0===h.comboboxState,disabled:h.disabled}),[h]);return di({ourProps:{ref:v,id:u,role:"combobox",type:p,"aria-controls":null==(n=h.optionsRef.current)?void 0:n.id,"aria-expanded":0===h.comboboxState,"aria-activedescendant":null===h.activeOptionIndex?void 0:h.virtual?null==(r=h.options.find(e=>{var t;return!(null!=(t=h.virtual)&&t.disabled(e.dataRef.current.value))&&h.compare(e.dataRef.current.value,h.virtual.options[h.activeOptionIndex])}))?void 0:r.id:null==(o=h.options[h.activeOptionIndex])?void 0:o.id,"aria-labelledby":A,"aria-autocomplete":"list",defaultValue:null!=(a=null!=(i=e.defaultValue)?i:void 0!==h.defaultValue?null==d?void 0:d(h.defaultValue):null)?a:h.defaultValue,disabled:h.disabled,onCompositionStart:C,onCompositionEnd:w,onKeyDown:k,onChange:S,onFocus:T,onBlur:_},theirProps:f,slot:D,defaultTag:"input",name:"Combobox.Input"})}),Button:dj,Label:du(function(e,t){let n=cQ(),{id:r="headlessui-combobox-label-".concat(n),...o}=e,i=dM("Combobox.Label"),a=dO("Combobox.Label"),l=c8(i.labelRef,t);return cB(()=>a.registerLabel(r),[r]),di({ourProps:{ref:l,id:r,onClick:cG(()=>{var e;return null==(e=i.inputRef.current)?void 0:e.focus({preventScroll:!0})})},theirProps:o,slot:(0,N.useMemo)(()=>({open:0===i.comboboxState,disabled:i.disabled}),[i]),defaultTag:"label",name:"Combobox.Label"})}),Options:du(function(e,t){let n=cQ(),{id:r="headlessui-combobox-options-".concat(n),hold:o=!1,...i}=e,a=dM("Combobox.Options"),l=c8(a.optionsRef,t),s=(0,N.useContext)(dh),u=null!==s?(s&dm.Open)===dm.Open:0===a.comboboxState;cB(()=>{var t;a.optionsPropsRef.current.static=null!=(t=e.static)&&t},[a.optionsPropsRef,e.static]),cB(()=>{a.optionsPropsRef.current.hold=o},[a.optionsPropsRef,o]),function(e){let{container:t,accept:n,walk:r,enabled:o=!0}=e,i=(0,N.useRef)(n),a=(0,N.useRef)(r);(0,N.useEffect)(()=>{i.current=n,a.current=r},[n,r]),cB(()=>{if(!t||!o)return;let e=c$(t);if(!e)return;let n=i.current,r=a.current,l=Object.assign(e=>n(e),{acceptNode:n}),s=e.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,l,!1);for(;s.nextNode();)r(s.currentNode)},[t,o,i,a])}({container:a.optionsRef.current,enabled:0===a.comboboxState,accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let c=cZ(()=>{var e,t;return null!=(t=a.labelId)?t:null==(e=a.buttonRef.current)?void 0:e.id},[a.labelId,a.buttonRef.current]),d=(0,N.useMemo)(()=>({open:0===a.comboboxState,option:void 0}),[a]),p={"aria-labelledby":c,role:"listbox","aria-multiselectable":1===a.mode||void 0,id:r,ref:l};return a.virtual&&0===a.comboboxState&&Object.assign(i,{children:N.createElement(dL,null,i.children)}),di({ourProps:p,theirProps:i,slot:d,defaultTag:"ul",features:dF,visible:u,name:"Combobox.Options"})}),Option:du(function(e,t){var n;let r;let o=cQ(),{id:i="headlessui-combobox-option-".concat(o),disabled:a=!1,value:l,order:s=null,...u}=e,c=dM("Combobox.Option"),d=dO("Combobox.Option"),p=c.virtual?c.activeOptionIndex===c.calculateIndex(l):null!==c.activeOptionIndex&&(null==(n=c.options[c.activeOptionIndex])?void 0:n.id)===i,f=c.isSelected(l),h=(0,N.useRef)(null),m=cU({disabled:a,value:l,domRef:h,order:s}),v=(0,N.useContext)(dR),g=c8(t,h,v?v.measureElement:null),y=cG(()=>d.onChange(l));cB(()=>d.registerOption(i,m),[m,i]);let b=(0,N.useRef)(!(c.virtual||c.__demoMode));cB(()=>{if(!c.virtual||!c.__demoMode)return;let e=cW();return e.requestAnimationFrame(()=>{b.current=!0}),e.dispose},[c.virtual,c.__demoMode]),cB(()=>{if(!b.current||0!==c.comboboxState||!p||0===c.activationTrigger)return;let e=cW();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=h.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[h,p,c.comboboxState,c.activationTrigger,c.activeOptionIndex]);let E=cG(e=>{var t;if(a||null!=(t=c.virtual)&&t.disabled(l))return e.preventDefault();y(),c3()||requestAnimationFrame(()=>{var e;return null==(e=c.inputRef.current)?void 0:e.focus({preventScroll:!0})}),0===c.mode&&requestAnimationFrame(()=>d.closeCombobox())}),x=cG(()=>{var e;if(a||null!=(e=c.virtual)&&e.disabled(l))return d.goToOption(dy.Nothing);let t=c.calculateIndex(l);d.goToOption(dy.Specific,t)}),C=(r=(0,N.useRef)([-1,-1]),{wasMoved(e){let t=c7(e);return(r.current[0]!==t[0]||r.current[1]!==t[1])&&(r.current=t,!0)},update(e){r.current=c7(e)}}),w=cG(e=>C.update(e)),k=cG(e=>{var t;if(!C.wasMoved(e)||a||null!=(t=c.virtual)&&t.disabled(l)||p)return;let n=c.calculateIndex(l);d.goToOption(dy.Specific,n,0)}),S=cG(e=>{var t;C.wasMoved(e)&&(a||null!=(t=c.virtual)&&t.disabled(l)||p&&(c.optionsPropsRef.current.hold||d.goToOption(dy.Nothing)))}),_=(0,N.useMemo)(()=>({active:p,selected:f,disabled:a}),[p,f,a]);return di({ourProps:{id:i,ref:g,role:"option",tabIndex:!0===a?void 0:-1,"aria-disabled":!0===a||void 0,"aria-selected":f,disabled:void 0,onClick:E,onFocus:x,onPointerEnter:w,onMouseEnter:w,onPointerMove:k,onMouseMove:k,onPointerLeave:S,onMouseLeave:S},theirProps:u,slot:_,defaultTag:"li",name:"Combobox.Option"})})});var dz=Object.defineProperty,dH=(e,t)=>dz(e,"name",{value:t,configurable:!0});function dB(e){let t=(0,N.createContext)(null);return t.displayName=e,t}function dU(e){function t(n){var r;let o=(0,N.useContext)(e);if(null===o&&null!=n&&n.nonNull)throw Error("Tried to use `".concat((null==(r=n.caller)?void 0:r.name)||t.caller.name,"` without the necessary context. Make sure to render the `").concat(e.displayName,"Provider` component higher up the tree."));return o}return dH(t,"useGivenContext"),Object.defineProperty(t,"name",{value:"use".concat(e.displayName)}),t}dH(dB,"createNullableContext"),dH(dU,"createContextHook");let dZ=dB("StorageContext");function dG(e){let t=(0,N.useRef)(!0),[n,r]=(0,N.useState)(new en(e.storage));return(0,N.useEffect)(()=>{t.current?t.current=!1:r(new en(e.storage))},[e.storage]),(0,L.jsx)(dZ.Provider,{value:n,children:e.children})}dH(dG,"StorageContextProvider");let dW=dU(dZ),dK=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),N.createElement("rect",{x:6,y:6,width:2,height:2,rx:1,fill:"currentColor"}))},"SvgArgument"),dQ=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M1 1L7 7L13 1",stroke:"currentColor",strokeWidth:1.5}))},"SvgChevronDown"),dY=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M6 1.04819L2 5.04819L6 9.04819",stroke:"currentColor",strokeWidth:1.75}))},"SvgChevronLeft"),d$=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M13 8L7 2L1 8",stroke:"currentColor",strokeWidth:1.5}))},"SvgChevronUp"),dJ=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M1 1L12.9998 12.9997",stroke:"currentColor",strokeWidth:1.5}),N.createElement("path",{d:"M13 1L1.00079 13.0003",stroke:"currentColor",strokeWidth:1.5}))},"SvgClose"),dX=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M11.25 14.2105V15.235C11.25 16.3479 10.3479 17.25 9.23501 17.25H2.76499C1.65214 17.25 0.75 16.3479 0.75 15.235L0.75 8.76499C0.75 7.65214 1.65214 6.75 2.76499 6.75L3.78947 6.75",stroke:"currentColor",strokeWidth:1.5}),N.createElement("rect",{x:6.75,y:.75,width:10.5,height:10.5,rx:2.2069,stroke:"currentColor",strokeWidth:1.5}))},"SvgCopy"),d0=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M5.0484 1.40838C6.12624 0.33054 7.87376 0.330541 8.9516 1.40838L12.5916 5.0484C13.6695 6.12624 13.6695 7.87376 12.5916 8.9516L8.9516 12.5916C7.87376 13.6695 6.12624 13.6695 5.0484 12.5916L1.40838 8.9516C0.33054 7.87376 0.330541 6.12624 1.40838 5.0484L5.0484 1.40838Z",stroke:"currentColor",strokeWidth:1.2}),N.createElement("path",{d:"M5 9L9 5",stroke:"currentColor",strokeWidth:1.2}),N.createElement("path",{d:"M5 5L9 9",stroke:"currentColor",strokeWidth:1.2}))},"SvgDeprecatedArgument"),d1=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),N.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2}),N.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"}))},"SvgDeprecatedEnumValue"),d2=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("rect",{x:.6,y:.6,width:10.8,height:10.8,rx:3.4,stroke:"currentColor",strokeWidth:1.2}),N.createElement("path",{d:"M4 8L8 4",stroke:"currentColor",strokeWidth:1.2}),N.createElement("path",{d:"M4 4L8 8",stroke:"currentColor",strokeWidth:1.2}))},"SvgDeprecatedField"),d5=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0.5 12 12",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("rect",{x:7,y:5.5,width:2,height:2,rx:1,transform:"rotate(90 7 5.5)",fill:"currentColor"}),N.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8 9L10.8 9.5C10.8 10.4941 9.99411 11.3 9 11.3L3 11.3C2.00589 11.3 1.2 10.4941 1.2 9.5L1.2 9L-3.71547e-07 9L-3.93402e-07 9.5C-4.65826e-07 11.1569 1.34314 12.5 3 12.5L9 12.5C10.6569 12.5 12 11.1569 12 9.5L12 9L10.8 9ZM10.8 4L12 4L12 3.5C12 1.84315 10.6569 0.5 9 0.5L3 0.5C1.34315 0.5 -5.87117e-08 1.84315 -1.31135e-07 3.5L-1.5299e-07 4L1.2 4L1.2 3.5C1.2 2.50589 2.00589 1.7 3 1.7L9 1.7C9.99411 1.7 10.8 2.50589 10.8 3.5L10.8 4Z",fill:"currentColor"}))},"SvgDirective"),d3=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H17.25C17.8023 0.75 18.25 1.19772 18.25 1.75V5.25",stroke:"currentColor",strokeWidth:1.5}),N.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H18.25C18.8023 5.25 19.25 5.69771 19.25 6.25V22.25C19.25 22.8023 18.8023 23.25 18.25 23.25H3C1.75736 23.25 0.75 22.2426 0.75 21V3Z",stroke:"currentColor",strokeWidth:1.5}),N.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 5.25C1.75736 5.25 0.75 4.24264 0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H3ZM13 11L6 11V12.5L13 12.5V11Z",fill:"currentColor"}))},"SvgDocsFilled"),d6=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 20 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M0.75 3C0.75 4.24264 1.75736 5.25 3 5.25H17.25M0.75 3C0.75 1.75736 1.75736 0.75 3 0.75H16.25C16.8023 0.75 17.25 1.19772 17.25 1.75V5.25M0.75 3V21C0.75 22.2426 1.75736 23.25 3 23.25H18.25C18.8023 23.25 19.25 22.8023 19.25 22.25V6.25C19.25 5.69771 18.8023 5.25 18.25 5.25H17.25",stroke:"currentColor",strokeWidth:1.5}),N.createElement("line",{x1:13,y1:11.75,x2:6,y2:11.75,stroke:"currentColor",strokeWidth:1.5}))},"SvgDocs"),d4=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("rect",{x:5,y:5,width:2,height:2,rx:1,fill:"currentColor"}),N.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.5 1.2H9C9.99411 1.2 10.8 2.00589 10.8 3V9C10.8 9.99411 9.99411 10.8 9 10.8H8.5V12H9C10.6569 12 12 10.6569 12 9V3C12 1.34315 10.6569 0 9 0H8.5V1.2ZM3.5 1.2V0H3C1.34315 0 0 1.34315 0 3V9C0 10.6569 1.34315 12 3 12H3.5V10.8H3C2.00589 10.8 1.2 9.99411 1.2 9V3C1.2 2.00589 2.00589 1.2 3 1.2H3.5Z",fill:"currentColor"}))},"SvgEnumValue"),d9=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("rect",{x:.6,y:1.1,width:10.8,height:10.8,rx:2.4,stroke:"currentColor",strokeWidth:1.2}),N.createElement("rect",{x:5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"}))},"SvgField"),d8=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M1.59375 9.52344L4.87259 12.9944L8.07872 9.41249",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),N.createElement("path",{d:"M13.75 5.25V10.75H18.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"square"}),N.createElement("path",{d:"M4.95427 11.9332C4.55457 10.0629 4.74441 8.11477 5.49765 6.35686C6.25089 4.59894 7.5305 3.11772 9.16034 2.11709C10.7902 1.11647 12.6901 0.645626 14.5986 0.769388C16.5071 0.893151 18.3303 1.60543 19.8172 2.80818C21.3042 4.01093 22.3818 5.64501 22.9017 7.48548C23.4216 9.32595 23.3582 11.2823 22.7203 13.0853C22.0824 14.8883 20.9013 16.4492 19.3396 17.5532C17.778 18.6572 15.9125 19.25 14 19.25",stroke:"currentColor",strokeWidth:1.5}))},"SvgHistory"),d7=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("circle",{cx:6,cy:6,r:5.4,stroke:"currentColor",strokeWidth:1.2,strokeDasharray:"4.241025 4.241025",transform:"rotate(22.5)","transform-origin":"center"}),N.createElement("circle",{cx:6,cy:6,r:1,fill:"currentColor"}))},"SvgImplements"),pe=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M1.5 14.5653C1.5 15.211 1.75652 15.8303 2.21314 16.2869C2.66975 16.7435 3.28905 17 3.9348 17C4.58054 17 5.19984 16.7435 5.65646 16.2869C6.11307 15.8303 6.36959 15.211 6.36959 14.5653V12.1305H3.9348C3.28905 12.1305 2.66975 12.387 2.21314 12.8437C1.75652 13.3003 1.5 13.9195 1.5 14.5653Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),N.createElement("path",{d:"M3.9348 1.00063C3.28905 1.00063 2.66975 1.25715 2.21314 1.71375C1.75652 2.17035 1.5 2.78964 1.5 3.43537C1.5 4.0811 1.75652 4.70038 2.21314 5.15698C2.66975 5.61358 3.28905 5.8701 3.9348 5.8701H6.36959V3.43537C6.36959 2.78964 6.11307 2.17035 5.65646 1.71375C5.19984 1.25715 4.58054 1.00063 3.9348 1.00063Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),N.createElement("path",{d:"M15.0652 12.1305H12.6304V14.5653C12.6304 15.0468 12.7732 15.5175 13.0407 15.9179C13.3083 16.3183 13.6885 16.6304 14.1334 16.8147C14.5783 16.9989 15.0679 17.0472 15.5402 16.9532C16.0125 16.8593 16.4464 16.6274 16.7869 16.2869C17.1274 15.9464 17.3593 15.5126 17.4532 15.0403C17.5472 14.568 17.4989 14.0784 17.3147 13.6335C17.1304 13.1886 16.8183 12.8084 16.4179 12.5409C16.0175 12.2733 15.5468 12.1305 15.0652 12.1305Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),N.createElement("path",{d:"M12.6318 5.86775H6.36955V12.1285H12.6318V5.86775Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),N.createElement("path",{d:"M17.5 3.43473C17.5 2.789 17.2435 2.16972 16.7869 1.71312C16.3303 1.25652 15.711 1 15.0652 1C14.4195 1 13.8002 1.25652 13.3435 1.71312C12.8869 2.16972 12.6304 2.789 12.6304 3.43473V5.86946H15.0652C15.711 5.86946 16.3303 5.61295 16.7869 5.15635C17.2435 4.69975 17.5 4.08046 17.5 3.43473Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}))},"SvgKeyboardShortcut"),pt=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("circle",{cx:5,cy:5,r:4.35,stroke:"currentColor",strokeWidth:1.3}),N.createElement("line",{x1:8.45962,y1:8.54038,x2:11.7525,y2:11.8333,stroke:"currentColor",strokeWidth:1.3}))},"SvgMagnifyingGlass"),pn=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"-2 -2 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M17.2492 6V2.9569C17.2492 1.73806 16.2611 0.75 15.0423 0.75L2.9569 0.75C1.73806 0.75 0.75 1.73806 0.75 2.9569L0.75 6",stroke:"currentColor",strokeWidth:1.5}),N.createElement("path",{d:"M0.749873 12V15.0431C0.749873 16.2619 1.73794 17.25 2.95677 17.25H15.0421C16.261 17.25 17.249 16.2619 17.249 15.0431V12",stroke:"currentColor",strokeWidth:1.5}),N.createElement("path",{d:"M6 4.5L9 7.5L12 4.5",stroke:"currentColor",strokeWidth:1.5}),N.createElement("path",{d:"M12 13.5L9 10.5L6 13.5",stroke:"currentColor",strokeWidth:1.5}))},"SvgMerge"),pr=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M0.75 13.25L0.0554307 12.967C-0.0593528 13.2488 0.00743073 13.5719 0.224488 13.7851C0.441545 13.9983 0.765869 14.0592 1.04549 13.9393L0.75 13.25ZM12.8214 1.83253L12.2911 2.36286L12.2911 2.36286L12.8214 1.83253ZM12.8214 3.90194L13.3517 4.43227L12.8214 3.90194ZM10.0981 1.17859L9.56773 0.648259L10.0981 1.17859ZM12.1675 1.17859L12.6978 0.648258L12.6978 0.648257L12.1675 1.17859ZM2.58049 8.75697L3.27506 9.03994L2.58049 8.75697ZM2.70066 8.57599L3.23099 9.10632L2.70066 8.57599ZM5.2479 11.4195L4.95355 10.7297L5.2479 11.4195ZM5.42036 11.303L4.89003 10.7727L5.42036 11.303ZM4.95355 10.7297C4.08882 11.0987 3.41842 11.362 2.73535 11.6308C2.05146 11.9 1.35588 12.1743 0.454511 12.5607L1.04549 13.9393C1.92476 13.5624 2.60256 13.2951 3.28469 13.0266C3.96762 12.7578 4.65585 12.4876 5.54225 12.1093L4.95355 10.7297ZM1.44457 13.533L3.27506 9.03994L1.88592 8.474L0.0554307 12.967L1.44457 13.533ZM3.23099 9.10632L10.6284 1.70892L9.56773 0.648259L2.17033 8.04566L3.23099 9.10632ZM11.6371 1.70892L12.2911 2.36286L13.3517 1.3022L12.6978 0.648258L11.6371 1.70892ZM12.2911 3.37161L4.89003 10.7727L5.95069 11.8333L13.3517 4.43227L12.2911 3.37161ZM12.2911 2.36286C12.5696 2.64142 12.5696 3.09305 12.2911 3.37161L13.3517 4.43227C14.2161 3.56792 14.2161 2.16654 13.3517 1.3022L12.2911 2.36286ZM10.6284 1.70892C10.9069 1.43036 11.3586 1.43036 11.6371 1.70892L12.6978 0.648257C11.8335 -0.216088 10.4321 -0.216084 9.56773 0.648259L10.6284 1.70892ZM3.27506 9.03994C3.26494 9.06479 3.24996 9.08735 3.23099 9.10632L2.17033 8.04566C2.04793 8.16806 1.95123 8.31369 1.88592 8.474L3.27506 9.03994ZM5.54225 12.1093C5.69431 12.0444 5.83339 11.9506 5.95069 11.8333L4.89003 10.7727C4.90863 10.7541 4.92988 10.7398 4.95355 10.7297L5.54225 12.1093Z",fill:"currentColor"}),N.createElement("path",{d:"M11.5 4.5L9.5 2.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"}),N.createElement("path",{d:"M5.5 10.5L3.5 8.5",stroke:"currentColor",strokeWidth:1.4026,strokeLinecap:"round",strokeLinejoin:"round"}))},"SvgPen"),po=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M1.32226e-07 1.6609C7.22332e-08 0.907329 0.801887 0.424528 1.46789 0.777117L15.3306 8.11621C16.0401 8.49182 16.0401 9.50818 15.3306 9.88379L1.46789 17.2229C0.801886 17.5755 1.36076e-06 17.0927 1.30077e-06 16.3391L1.32226e-07 1.6609Z",fill:"currentColor"}))},"SvgPlay"),pi=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 10 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.25 9.25V13.5H5.75V9.25L10 9.25V7.75L5.75 7.75V3.5H4.25V7.75L0 7.75V9.25L4.25 9.25Z",fill:"currentColor"}))},"SvgPlus"),pa=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M10.2852 24.0745L13.7139 18.0742",stroke:"currentColor",strokeWidth:1.5625}),N.createElement("path",{d:"M14.5742 24.0749L17.1457 19.7891",stroke:"currentColor",strokeWidth:1.5625}),N.createElement("path",{d:"M19.4868 24.0735L20.7229 21.7523C21.3259 20.6143 21.5457 19.3122 21.3496 18.0394C21.1535 16.7666 20.5519 15.591 19.6342 14.6874L23.7984 6.87853C24.0123 6.47728 24.0581 6.00748 23.9256 5.57249C23.7932 5.1375 23.4933 4.77294 23.0921 4.55901C22.6908 4.34509 22.221 4.29932 21.7861 4.43178C21.3511 4.56424 20.9865 4.86408 20.7726 5.26533L16.6084 13.0742C15.3474 12.8142 14.0362 12.9683 12.8699 13.5135C11.7035 14.0586 10.7443 14.9658 10.135 16.1L6 24.0735",stroke:"currentColor",strokeWidth:1.5625}),N.createElement("path",{d:"M4 15L5 13L7 12L5 11L4 9L3 11L1 12L3 13L4 15Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"}),N.createElement("path",{d:"M11.5 8L12.6662 5.6662L15 4.5L12.6662 3.3338L11.5 1L10.3338 3.3338L8 4.5L10.3338 5.6662L11.5 8Z",stroke:"currentColor",strokeWidth:1.5625,strokeLinejoin:"round"}))},"SvgPrettify"),pl=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M4.75 9.25H1.25V12.75",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),N.createElement("path",{d:"M11.25 6.75H14.75V3.25",stroke:"currentColor",strokeWidth:1,strokeLinecap:"square"}),N.createElement("path",{d:"M14.1036 6.65539C13.8 5.27698 13.0387 4.04193 11.9437 3.15131C10.8487 2.26069 9.48447 1.76694 8.0731 1.75043C6.66173 1.73392 5.28633 2.19563 4.17079 3.0604C3.05526 3.92516 2.26529 5.14206 1.92947 6.513",stroke:"currentColor",strokeWidth:1}),N.createElement("path",{d:"M1.89635 9.34461C2.20001 10.723 2.96131 11.9581 4.05631 12.8487C5.15131 13.7393 6.51553 14.2331 7.9269 14.2496C9.33827 14.2661 10.7137 13.8044 11.8292 12.9396C12.9447 12.0748 13.7347 10.8579 14.0705 9.487",stroke:"currentColor",strokeWidth:1}))},"SvgReload"),ps=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),N.createElement("path",{d:"M4.25 7.5C4.25 6 5.75 5 6.5 6.5C7.25 8 8.75 7 8.75 5.5",stroke:"currentColor",strokeWidth:1.2}))},"SvgRootType"),pu=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29186 1.92702C9.06924 1.82745 8.87014 1.68202 8.70757 1.50024L7.86631 0.574931C7.62496 0.309957 7.30773 0.12592 6.95791 0.0479385C6.60809 -0.0300431 6.24274 0.00182978 5.91171 0.139208C5.58068 0.276585 5.3001 0.512774 5.10828 0.815537C4.91645 1.1183 4.82272 1.47288 4.83989 1.83089L4.90388 3.08019C4.91612 3.32348 4.87721 3.56662 4.78968 3.79394C4.70215 4.02126 4.56794 4.2277 4.39571 4.39994C4.22347 4.57219 4.01704 4.7064 3.78974 4.79394C3.56243 4.88147 3.3193 4.92038 3.07603 4.90814L1.8308 4.84414C1.47162 4.82563 1.11553 4.91881 0.811445 5.11086C0.507359 5.30292 0.270203 5.58443 0.132561 5.91671C-0.00508149 6.249 -0.0364554 6.61576 0.0427496 6.9666C0.121955 7.31744 0.307852 7.63514 0.5749 7.87606L1.50016 8.71204C1.68193 8.87461 1.82735 9.07373 1.92692 9.29636C2.02648 9.51898 2.07794 9.76012 2.07794 10.004C2.07794 10.2479 2.02648 10.489 1.92692 10.7116C1.82735 10.9343 1.68193 11.1334 1.50016 11.296L0.5749 12.1319C0.309856 12.3729 0.125575 12.6898 0.0471809 13.0393C-0.0312128 13.3888 9.64098e-05 13.754 0.13684 14.0851C0.273583 14.4162 0.509106 14.6971 0.811296 14.8894C1.11349 15.0817 1.46764 15.1762 1.82546 15.1599L3.0707 15.0959C3.31397 15.0836 3.5571 15.1225 3.7844 15.2101C4.01171 15.2976 4.21814 15.4318 4.39037 15.6041C4.56261 15.7763 4.69682 15.9827 4.78435 16.2101C4.87188 16.4374 4.91078 16.6805 4.89855 16.9238L4.83455 18.1691C4.81605 18.5283 4.90921 18.8844 5.10126 19.1885C5.2933 19.4926 5.5748 19.7298 5.90707 19.8674C6.23934 20.0051 6.60608 20.0365 6.9569 19.9572C7.30772 19.878 7.6254 19.6921 7.86631 19.4251L8.7129 18.4998C8.87547 18.318 9.07458 18.1725 9.29719 18.073C9.51981 17.9734 9.76093 17.9219 10.0048 17.9219C10.2487 17.9219 10.4898 17.9734 10.7124 18.073C10.935 18.1725 11.1341 18.318 11.2967 18.4998L12.1326 19.4251C12.3735 19.6921 12.6912 19.878 13.042 19.9572C13.3929 20.0365 13.7596 20.0051 14.0919 19.8674C14.4241 19.7298 14.7056 19.4926 14.8977 19.1885C15.0897 18.8844 15.1829 18.5283 15.1644 18.1691L15.1004 16.9238C15.0882 16.6805 15.1271 16.4374 15.2146 16.2101C15.3021 15.9827 15.4363 15.7763 15.6086 15.6041C15.7808 15.4318 15.9872 15.2976 16.2145 15.2101C16.4418 15.1225 16.685 15.0836 16.9282 15.0959L18.1735 15.1599C18.5326 15.1784 18.8887 15.0852 19.1928 14.8931C19.4969 14.7011 19.7341 14.4196 19.8717 14.0873C20.0093 13.755 20.0407 13.3882 19.9615 13.0374C19.8823 12.6866 19.6964 12.3689 19.4294 12.1279L18.5041 11.292C18.3223 11.1294 18.1769 10.9303 18.0774 10.7076C17.9778 10.485 17.9263 10.2439 17.9263 10C17.9263 9.75612 17.9778 9.51499 18.0774 9.29236C18.1769 9.06973 18.3223 8.87062 18.5041 8.70804L19.4294 7.87206C19.6964 7.63114 19.8823 7.31344 19.9615 6.9626C20.0407 6.61176 20.0093 6.245 19.8717 5.91271C19.7341 5.58043 19.4969 5.29892 19.1928 5.10686C18.8887 4.91481 18.5326 4.82163 18.1735 4.84014L16.9282 4.90414C16.685 4.91638 16.4418 4.87747 16.2145 4.78994C15.9872 4.7024 15.7808 4.56818 15.6086 4.39594C15.4363 4.2237 15.3021 4.01726 15.2146 3.78994C15.1271 3.56262 15.0882 3.31948 15.1004 3.07619L15.1644 1.83089C15.1829 1.4717 15.0897 1.11559 14.8977 0.811487C14.7056 0.507385 14.4241 0.270217 14.0919 0.132568C13.7596 -0.00508182 13.3929 -0.0364573 13.042 0.0427519C12.6912 0.121961 12.3735 0.307869 12.1326 0.574931L11.2914 1.50024C11.1288 1.68202 10.9297 1.82745 10.7071 1.92702C10.4845 2.02659 10.2433 2.07805 9.99947 2.07805C9.7556 2.07805 9.51448 2.02659 9.29186 1.92702ZM14.3745 10C14.3745 12.4162 12.4159 14.375 9.99977 14.375C7.58365 14.375 5.625 12.4162 5.625 10C5.625 7.58375 7.58365 5.625 9.99977 5.625C12.4159 5.625 14.3745 7.58375 14.3745 10Z",fill:"currentColor"}))},"SvgSettings"),pc=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",fill:"currentColor",stroke:"currentColor"}))},"SvgStarFilled"),pd=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M6.5782 1.07092C6.71096 0.643026 7.28904 0.643027 7.4218 1.07092L8.59318 4.84622C8.65255 5.03758 8.82284 5.16714 9.01498 5.16714L12.8056 5.16714C13.2353 5.16714 13.4139 5.74287 13.0663 6.00732L9.99962 8.34058C9.84418 8.45885 9.77913 8.66848 9.83851 8.85984L11.0099 12.6351C11.1426 13.063 10.675 13.4189 10.3274 13.1544L7.26069 10.8211C7.10524 10.7029 6.89476 10.7029 6.73931 10.8211L3.6726 13.1544C3.32502 13.4189 2.85735 13.063 2.99012 12.6351L4.16149 8.85984C4.22087 8.66848 4.15582 8.45885 4.00038 8.34058L0.933671 6.00732C0.586087 5.74287 0.764722 5.16714 1.19436 5.16714L4.98502 5.16714C5.17716 5.16714 5.34745 5.03758 5.40682 4.84622L6.5782 1.07092Z",stroke:"currentColor",strokeWidth:1.5}))},"SvgStar"),pp=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("rect",{width:16,height:16,rx:2,fill:"currentColor"}))},"SvgStop"),pf=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{width:"1em",height:"5em",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd","aria-hidden":"true",viewBox:"0 0 23 23",style:{height:"1.5em"},clipRule:"evenodd","aria-labelledby":n,...r},void 0===t?N.createElement("title",{id:n},"trash icon"):t?N.createElement("title",{id:n},t):null,N.createElement("path",{d:"M19 24h-14c-1.104 0-2-.896-2-2v-17h-1v-2h6v-1.5c0-.827.673-1.5 1.5-1.5h5c.825 0 1.5.671 1.5 1.5v1.5h6v2h-1v17c0 1.104-.896 2-2 2zm0-19h-14v16.5c0 .276.224.5.5.5h13c.276 0 .5-.224.5-.5v-16.5zm-7 7.586l3.293-3.293 1.414 1.414-3.293 3.293 3.293 3.293-1.414 1.414-3.293-3.293-3.293 3.293-1.414-1.414 3.293-3.293-3.293-3.293 1.414-1.414 3.293 3.293zm2-10.586h-4v1h4v-1z",fill:"currentColor",strokeWidth:.25,stroke:"currentColor"}))},"SvgTrash"),ph=dH(e=>{let{title:t,titleId:n,...r}=e;return N.createElement("svg",{height:"1em",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":n,...r},t?N.createElement("title",{id:n},t):null,N.createElement("rect",{x:.6,y:.6,width:11.8,height:11.8,rx:5.9,stroke:"currentColor",strokeWidth:1.2}),N.createElement("rect",{x:5.5,y:5.5,width:2,height:2,rx:1,fill:"currentColor"}))},"SvgType"),pm=pG(dK),pv=pG(dQ),pg=pG(dY),py=pG(d$),pb=pG(dJ),pE=pG(dX),px=pG(d0),pC=pG(d1),pw=pG(d2),pk=pG(d5),pS=pG(d3,"filled docs icon"),p_=pG(d6),pT=pG(d4),pA=pG(d9),pD=pG(d8),pO=pG(d7),pR=pG(pe),pL=pG(pt),pN=pG(pn),pM=pG(pr),pP=pG(po),pI=pG(pi),pF=pG(pa),pV=pG(pl),pj=pG(ps),pq=pG(pu),pz=pG(pc,"filled star icon"),pH=pG(pd),pB=pG(pp),pU=pG(pf,"trash icon"),pZ=pG(ph);function pG(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.name.replace("Svg","").replaceAll(/([A-Z])/g," $1").trimStart().toLowerCase()+" icon";return e.defaultProps={title:t},e}dH(pG,"generateIcon");let pW=(0,N.forwardRef)((e,t)=>(0,L.jsx)("button",{...e,ref:t,className:P("graphiql-un-styled",e.className)}));pW.displayName="UnStyledButton";let pK=(0,N.forwardRef)((e,t)=>(0,L.jsx)("button",{...e,ref:t,className:P("graphiql-button",{success:"graphiql-button-success",error:"graphiql-button-error"}[e.state],e.className)}));pK.displayName="Button";let pQ=(0,N.forwardRef)((e,t)=>(0,L.jsx)("div",{...e,ref:t,className:P("graphiql-button-group",e.className)}));pQ.displayName="ButtonGroup";let pY=dH((e,t)=>Object.entries(t).reduce((e,t)=>{let[n,r]=t;return e[n]=r,e},e),"createComponentGroup"),p$=(0,N.forwardRef)((e,t)=>(0,L.jsx)(tK,{asChild:!0,children:(0,L.jsxs)(pW,{...e,ref:t,type:"button",className:P("graphiql-dialog-close",e.className),children:[(0,L.jsx)(t0,{children:"Close dialog"}),(0,L.jsx)(pb,{})]})}));function pJ(e){let{children:t,...n}=e;return(0,L.jsx)(tJ,{...n,children:(0,L.jsxs)(tX,{children:[(0,L.jsx)(tV,{className:"graphiql-dialog-overlay"}),(0,L.jsx)(tz,{className:"graphiql-dialog",children:t})]})})}p$.displayName="Dialog.Close",dH(pJ,"DialogRoot");let pX=pY(pJ,{Close:p$,Title:tG,Trigger:tN,Description:tW}),p0=(0,N.forwardRef)((e,t)=>(0,L.jsx)(op,{asChild:!0,children:(0,L.jsx)("button",{...e,ref:t,className:P("graphiql-un-styled",e.className)})}));function p1(e){let{children:t,align:n="start",sideOffset:r=5,className:o,...i}=e;return(0,L.jsx)(om,{children:(0,L.jsx)(of,{align:n,sideOffset:r,className:P("graphiql-dropdown-content",o),...i,children:t})})}p0.displayName="DropdownMenuButton",dH(p1,"Content");let p2=pY(e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:a,modal:l=!0}=e,s=ou(t),u=(0,N.useRef)(null),[c=!1,d]=eb({prop:o,defaultProp:i,onChange:a});return(0,N.createElement)(oc,{scope:t,triggerId:eg(),triggerRef:u,contentId:eg(),open:c,onOpenChange:d,onOpenToggle:(0,N.useCallback)(()=>d(e=>!e),[d]),modal:l},(0,N.createElement)(oo,(0,eu.Z)({},s,{open:c,onOpenChange:d,dir:r,modal:l}),n))},{Button:p0,Item:dH(e=>{let{className:t,children:n,...r}=e;return(0,L.jsx)(oh,{className:P("graphiql-dropdown-item",t),...r,children:n})},"Item"),Content:p1}),p5=new ov({breaks:!0,linkify:!0}),p3=(0,N.forwardRef)((e,t)=>{let{children:n,onlyShowFirstChild:r,type:o,...i}=e;return(0,L.jsx)("div",{...i,ref:t,className:P("graphiql-markdown-".concat(o),r&&"graphiql-markdown-preview",i.className),dangerouslySetInnerHTML:{__html:p5.render(n)}})});p3.displayName="MarkdownContent";let p6=(0,N.forwardRef)((e,t)=>(0,L.jsx)("div",{...e,ref:t,className:P("graphiql-spinner",e.className)}));function p4(e){let{children:t,align:n="start",side:r="bottom",sideOffset:o=5,label:i}=e;return(0,L.jsxs)(cw,{children:[(0,L.jsx)(cf,{asChild:!0,children:t}),(0,L.jsx)(ck,{children:(0,L.jsx)(cy,{className:"graphiql-tooltip",align:n,side:r,sideOffset:o,children:i})})]})}p6.displayName="Spinner",dH(p4,"TooltipRoot");let p9=pY(p4,{Provider:e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,[a,l]=(0,N.useState)(!0),s=(0,N.useRef)(!1),u=(0,N.useRef)(0);return(0,N.useEffect)(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,N.createElement)(cl,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:(0,N.useCallback)(()=>{window.clearTimeout(u.current),l(!1)},[]),onClose:(0,N.useCallback)(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>l(!0),r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:(0,N.useCallback)(e=>{s.current=e},[]),disableHoverableContent:o},i)}}),p8=(0,N.forwardRef)((e,t)=>{let{isActive:n,value:r,children:o,className:i,...a}=e;return(0,L.jsx)(cn.Item,{...a,ref:t,value:r,"aria-selected":n?"true":void 0,role:"tab",className:P("graphiql-tab",n&&"graphiql-tab-active",i),children:o})});p8.displayName="Tab";let p7=(0,N.forwardRef)((e,t)=>(0,L.jsx)(pW,{...e,ref:t,type:"button",className:P("graphiql-tab-button",e.className),children:e.children}));p7.displayName="Tab.Button";let fe=(0,N.forwardRef)((e,t)=>(0,L.jsx)(p9,{label:"Close Tab",children:(0,L.jsx)(pW,{"aria-label":"Close Tab",...e,ref:t,type:"button",className:P("graphiql-tab-close",e.className),children:(0,L.jsx)(pb,{})})}));fe.displayName="Tab.Close";let ft=pY(p8,{Button:p7,Close:fe}),fn=(0,N.forwardRef)((e,t)=>{let{values:n,onReorder:r,children:o,className:i,...a}=e;return(0,L.jsx)(cn.Group,{...a,ref:t,values:n,onReorder:r,axis:"x",role:"tablist",className:P("graphiql-tabs",i),children:o})});fn.displayName="Tabs";let fr=dB("HistoryContext");function fo(e){var t;let n=dW(),r=(0,N.useRef)(new ei(n||new en(null),e.maxHistoryLength||fa)),[o,i]=(0,N.useState)((null==(t=r.current)?void 0:t.queries)||[]),a=(0,N.useCallback)(e=>{var t;null==(t=r.current)||t.updateHistory(e),i(r.current.queries)},[]),l=(0,N.useCallback)((e,t)=>{r.current.editLabel(e,t),i(r.current.queries)},[]),s=(0,N.useCallback)(e=>{r.current.toggleFavorite(e),i(r.current.queries)},[]),u=(0,N.useCallback)(e=>e,[]),c=(0,N.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.current.deleteHistory(e,t),i(r.current.queries)},[]),d=(0,N.useMemo)(()=>({addToHistory:a,editLabel:l,items:o,toggleFavorite:s,setActive:u,deleteFromHistory:c}),[a,l,o,s,u,c]);return(0,L.jsx)(fr.Provider,{value:d,children:e.children})}dH(fo,"HistoryContextProvider");let fi=dU(fr),fa=20;function fl(){let{items:e,deleteFromHistory:t}=fi({nonNull:!0}),n=e.slice().map((e,t)=>({...e,index:t})).reverse(),r=n.filter(e=>e.favorite);r.length&&(n=n.filter(e=>!e.favorite));let[o,i]=(0,N.useState)(null);(0,N.useEffect)(()=>{o&&setTimeout(()=>{i(null)},2e3)},[o]);let a=(0,N.useCallback)(()=>{try{for(let e of n)t(e,!0);i("success")}catch(e){i("error")}},[t,n]);return(0,L.jsxs)("section",{"aria-label":"History",className:"graphiql-history",children:[(0,L.jsxs)("div",{className:"graphiql-history-header",children:["History",(o||n.length>0)&&(0,L.jsx)(pK,{type:"button",state:o||void 0,disabled:!n.length,onClick:a,children:{success:"Cleared",error:"Failed to Clear"}[o]||"Clear"})]}),!!r.length&&(0,L.jsx)("ul",{className:"graphiql-history-items",children:r.map(e=>(0,L.jsx)(fs,{item:e},e.index))}),!!r.length&&!!n.length&&(0,L.jsx)("div",{className:"graphiql-history-item-spacer"}),!!n.length&&(0,L.jsx)("ul",{className:"graphiql-history-items",children:n.map(e=>(0,L.jsx)(fs,{item:e},e.index))})]})}function fs(e){let{editLabel:t,toggleFavorite:n,deleteFromHistory:r,setActive:o}=fi({nonNull:!0,caller:fs}),{headerEditor:i,queryEditor:a,variableEditor:l}=hB({nonNull:!0,caller:fs}),s=(0,N.useRef)(null),u=(0,N.useRef)(null),[c,d]=(0,N.useState)(!1);(0,N.useEffect)(()=>{var e;c&&(null==(e=s.current)||e.focus())},[c]);let p=e.item.label||e.item.operationName||fu(e.item.query),f=(0,N.useCallback)(()=>{var n;d(!1);let{index:r,...o}=e.item;t({...o,label:null==(n=s.current)?void 0:n.value},r)},[t,e.item]),h=(0,N.useCallback)(()=>{d(!1)},[]),m=(0,N.useCallback)(e=>{e.stopPropagation(),d(!0)},[]),v=(0,N.useCallback)(()=>{let{query:t,variables:n,headers:r}=e.item;null==a||a.setValue(null!=t?t:""),null==l||l.setValue(null!=n?n:""),null==i||i.setValue(null!=r?r:""),o(e.item)},[i,e.item,a,o,l]),g=(0,N.useCallback)(t=>{t.stopPropagation(),r(e.item)},[e.item,r]),y=(0,N.useCallback)(t=>{t.stopPropagation(),n(e.item)},[e.item,n]);return(0,L.jsx)("li",{className:P("graphiql-history-item",c&&"editable"),children:c?(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)("input",{type:"text",defaultValue:e.item.label,ref:s,onKeyDown:n=>{"Esc"===n.key?d(!1):"Enter"===n.key&&(d(!1),t({...e.item,label:n.currentTarget.value}))},placeholder:"Type a label"}),(0,L.jsx)(pW,{type:"button",ref:u,onClick:f,children:"Save"}),(0,L.jsx)(pW,{type:"button",ref:u,onClick:h,children:(0,L.jsx)(pb,{})})]}):(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(p9,{label:"Set active",children:(0,L.jsx)(pW,{type:"button",className:"graphiql-history-item-label",onClick:v,"aria-label":"Set active",children:p})}),(0,L.jsx)(p9,{label:"Edit label",children:(0,L.jsx)(pW,{type:"button",className:"graphiql-history-item-action",onClick:m,"aria-label":"Edit label",children:(0,L.jsx)(pM,{"aria-hidden":"true"})})}),(0,L.jsx)(p9,{label:e.item.favorite?"Remove favorite":"Add favorite",children:(0,L.jsx)(pW,{type:"button",className:"graphiql-history-item-action",onClick:y,"aria-label":e.item.favorite?"Remove favorite":"Add favorite",children:e.item.favorite?(0,L.jsx)(pz,{"aria-hidden":"true"}):(0,L.jsx)(pH,{"aria-hidden":"true"})})}),(0,L.jsx)(p9,{label:"Delete from history",children:(0,L.jsx)(pW,{type:"button",className:"graphiql-history-item-action",onClick:g,"aria-label":"Delete from history",children:(0,L.jsx)(pU,{"aria-hidden":"true"})})})]})})}function fu(e){return null==e?void 0:e.split("\n").map(e=>e.replace(/#(.*)/,"")).join(" ").replaceAll("{"," { ").replaceAll("}"," } ").replaceAll(/[\s]{2,}/g," ")}dH(fl,"History"),dH(fs,"HistoryItem"),dH(fu,"formatQuery");let fc=dB("ExecutionContext");function fd(e){let{fetcher:t,getDefaultFieldNames:n,children:r,operationName:o}=e;if(!t)throw TypeError("The `ExecutionContextProvider` component requires a `fetcher` function to be passed as prop.");let{externalFragments:i,headerEditor:a,queryEditor:l,responseEditor:s,variableEditor:u,updateActiveTabValues:c}=hB({nonNull:!0,caller:fd}),d=fi(),p=ha({getDefaultFieldNames:n,caller:fd}),[f,h]=(0,N.useState)(!1),[m,v]=(0,N.useState)(null),g=(0,N.useRef)(0),y=(0,N.useCallback)(()=>{null==m||m.unsubscribe(),h(!1),v(null)},[m]),b=(0,N.useCallback)(async()=>{var e,n;let r,f;if(!l||!s)return;if(m){y();return}let b=dH(e=>{s.setValue(e),c({response:e})},"setResponse");g.current+=1;let E=g.current,x=p()||l.getValue(),C=null==u?void 0:u.getValue();try{r=ff({json:C,errorMessageParse:"Variables are invalid JSON",errorMessageType:"Variables are not a JSON object."})}catch(e){b(e instanceof Error?e.message:"".concat(e));return}let w=null==a?void 0:a.getValue();try{f=ff({json:w,errorMessageParse:"Headers are invalid JSON",errorMessageType:"Headers are not a JSON object."})}catch(e){b(e instanceof Error?e.message:"".concat(e));return}if(i){let e=l.documentAST?(0,ea.hw)(l.documentAST,i):[];e.length>0&&(x+="\n"+e.map(e=>(0,I.S)(e)).join("\n"))}b(""),h(!0);let k=null!==(e=null!=o?o:l.operationName)&&void 0!==e?e:void 0;null==d||d.addToHistory({query:x,variables:C,headers:w,operationName:k});try{let e={data:{}},o=dH(t=>{var n;if(E!==g.current)return;let r=!!Array.isArray(t)&&t;if(!r&&"object"==typeof t&&null!==t&&"hasNext"in t&&(r=[t]),r){let t={data:e.data},o=[...(null==e?void 0:e.errors)||[],...r.flatMap(e=>e.errors).filter(Boolean)];for(let n of(o.length&&(t.errors=o),r)){let{path:r,data:o,errors:i,...a}=n;if(r){if(!o)throw Error("Expected part to contain a data property, but got ".concat(n));el(t.data,r,o,{merge:!0})}else o&&(t.data=o);e={...t,...a}}h(!1),b((n=e,Y(n)))}else{let e=Y(t);h(!1),b(e)}},"handleResponse"),i=t({query:x,variables:r,operationName:k},{headers:null!=f?f:void 0,documentAST:null!==(n=l.documentAST)&&void 0!==n?n:void 0}),a=await Promise.resolve(i);if(W(a))v(a.subscribe({next(e){o(e)},error(e){h(!1),e&&b(J(e)),v(null)},complete(){h(!1),v(null)}}));else if(K(a)){for await(let e of(v({unsubscribe:()=>{var e,t;return null==(t=(e=a[Symbol.asyncIterator]()).return)?void 0:t.call(e)}}),a))o(e);h(!1),v(null)}else o(a)}catch(e){h(!1),b(J(e)),v(null)}},[p,i,t,a,d,o,l,s,y,m,c,u]),E=!!m,x=(0,N.useMemo)(()=>({isFetching:f,isSubscribed:E,operationName:null!=o?o:null,run:b,stop:y}),[f,E,o,b,y]);return(0,L.jsx)(fc.Provider,{value:x,children:r})}dH(fd,"ExecutionContextProvider");let fp=dU(fc);function ff(e){let t,{json:n,errorMessageParse:r,errorMessageType:o}=e;try{t=n&&""!==n.trim()?JSON.parse(n):void 0}catch(e){throw Error("".concat(r,": ").concat(e instanceof Error?e.message:e,"."))}let i="object"==typeof t&&null!==t&&!Array.isArray(t);if(void 0!==t&&!i)throw Error(o);return t}dH(ff,"tryParseJsonObject");let fh="graphiql",fm="sublime",fv={[0===window.navigator.platform.toLowerCase().indexOf("mac")?"Cmd-F":"Ctrl-F"]:"findPersistent","Cmd-G":"findPersistent","Ctrl-G":"findPersistent","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight"};async function fg(e,t){let r=await Promise.all([n.e(6623),n.e(3331)]).then(n.bind(n,93331)).then(e=>e.c).then(e=>"function"==typeof e?e:e.default);return await Promise.all((null==t?void 0:t.useCommonAddons)===!1?e:[Promise.all([n.e(6623),n.e(6744)]).then(n.bind(n,16744)).then(e=>e.s),Promise.all([n.e(6623),n.e(7058)]).then(n.bind(n,96205)).then(e=>e.m),Promise.all([n.e(6623),n.e(989)]).then(n.bind(n,60989)).then(e=>e.c),Promise.all([n.e(6623),n.e(5253)]).then(n.bind(n,45253)).then(e=>e.b),Promise.all([n.e(6623),n.e(6163)]).then(n.bind(n,6163)).then(e=>e.f),Promise.all([n.e(6623),n.e(3510)]).then(n.bind(n,43510)).then(e=>e.l),Promise.all([n.e(6623),n.e(9557)]).then(n.bind(n,49557)).then(e=>e.s),Promise.all([n.e(6623),n.e(9336)]).then(n.bind(n,89336)).then(e=>e.j),Promise.all([n.e(6623),n.e(6442)]).then(n.bind(n,46442)).then(e=>e.d),Promise.all([n.e(6623),n.e(2650)]).then(n.bind(n,42650)).then(e=>e.s),...e]),r}dH(fg,"importCodeMirror");let fy=dH(e=>e?(0,I.S)(e):"","printDefault");function fb(e){let{field:t}=e;if(!("defaultValue"in t)||void 0===t.defaultValue)return null;let n=(0,F.J)(t.defaultValue,t.type);return n?(0,L.jsxs)(L.Fragment,{children:[" = ",(0,L.jsx)("span",{className:"graphiql-doc-explorer-default-value",children:fy(n)})]}):null}dH(fb,"DefaultValue");let fE=dB("SchemaContext");function fx(e){if(!e.fetcher)throw TypeError("The `SchemaContextProvider` component requires a `fetcher` function to be passed as prop.");let{initialHeaders:t,headerEditor:n}=hB({nonNull:!0,caller:fx}),[r,o]=(0,N.useState)(),[i,a]=(0,N.useState)(!1),[l,s]=(0,N.useState)(null),u=(0,N.useRef)(0);(0,N.useEffect)(()=>{o((0,V.nN)(e.schema)||null===e.schema||void 0===e.schema?e.schema:void 0),u.current++},[e.schema]);let c=(0,N.useRef)(t);(0,N.useEffect)(()=>{n&&(c.current=n.getValue())});let{introspectionQuery:d,introspectionQueryName:p,introspectionQuerySansSubscriptions:f}=fw({inputValueDeprecation:e.inputValueDeprecation,introspectionQueryName:e.introspectionQueryName,schemaDescription:e.schemaDescription}),{fetcher:h,onSchemaChange:m,dangerouslyAssumeSchemaIsValid:v,children:g}=e,y=(0,N.useCallback)(()=>{if((0,V.nN)(e.schema)||null===e.schema)return;let t=++u.current,n=e.schema;async function r(){if(n)return n;let e=fk(c.current);if(!e.isValidJSON){s("Introspection failed as headers are invalid.");return}let t=e.headers?{headers:e.headers}:{},r=Q(h({query:d,operationName:p},t));if(!G(r)){s("Fetcher did not return a Promise for introspection.");return}a(!0),s(null);let o=await r;if("object"!=typeof o||null===o||!("data"in o)){let e=Q(h({query:f,operationName:p},t));if(!G(e))throw Error("Fetcher did not return a Promise for introspection.");o=await e}if(a(!1),null!=o&&o.data&&"__schema"in o.data)return o.data;s("string"==typeof o?o:Y(o))}dH(r,"fetchIntrospectionData"),r().then(e=>{if(!(t!==u.current||!e))try{let t=(0,j.Z)(e);o(t),null==m||m(t)}catch(e){s(J(e))}}).catch(e=>{t===u.current&&(s(J(e)),a(!1))})},[h,p,d,f,m,e.schema]);(0,N.useEffect)(()=>{y()},[y]),(0,N.useEffect)(()=>{function e(e){e.ctrlKey&&"R"===e.key&&y()}return dH(e,"triggerIntrospection"),window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)});let b=(0,N.useMemo)(()=>!r||v?[]:(0,q.F)(r),[r,v]),E=(0,N.useMemo)(()=>({fetchError:l,introspect:y,isFetching:i,schema:r,validationErrors:b}),[l,y,i,r,b]);return(0,L.jsx)(fE.Provider,{value:E,children:g})}dH(fx,"SchemaContextProvider");let fC=dU(fE);function fw(e){let{inputValueDeprecation:t,introspectionQueryName:n,schemaDescription:r}=e;return(0,N.useMemo)(()=>{let e=n||"IntrospectionQuery",o=(0,z.K)({inputValueDeprecation:t,schemaDescription:r});n&&(o=o.replace("query IntrospectionQuery","query ".concat(e)));let i=o.replace("subscriptionType { name }","");return{introspectionQueryName:e,introspectionQuery:o,introspectionQuerySansSubscriptions:i}},[t,n,r])}function fk(e){let t=null,n=!0;try{e&&(t=JSON.parse(e))}catch(e){n=!1}return{headers:t,isValidJSON:n}}dH(fw,"useIntrospectionQuery"),dH(fk,"parseHeaderString");let fS={name:"Docs"},f_=dB("ExplorerContext");function fT(e){let{schema:t,validationErrors:n}=fC({nonNull:!0,caller:fT}),[r,o]=(0,N.useState)([fS]),i=(0,N.useCallback)(e=>{o(t=>t.at(-1).def===e.def?t:[...t,e])},[]),a=(0,N.useCallback)(()=>{o(e=>e.length>1?e.slice(0,-1):e)},[]),l=(0,N.useCallback)(()=>{o(e=>1===e.length?e:[fS])},[]);(0,N.useEffect)(()=>{null==t||n.length>0?l():o(e=>{if(1===e.length)return e;let n=[fS],r=null;for(let o of e)if(o!==fS){if(o.def){if((0,H.Zs)(o.def)){let e=t.getType(o.def.name);if(e)n.push({name:o.name,def:e}),r=e;else break}else{if(null===r)break;if((0,H.lp)(r)||(0,H.hL)(r)){let e=r.getFields()[o.name];if(e)n.push({name:o.name,def:e});else break}else{if((0,H.KA)(r)||(0,H.EM)(r)||(0,H.oT)(r)||(0,H.EN)(r))break;{let e=r;if(e.args.find(e=>e.name===o.name))n.push({name:o.name,def:e});else break}}}}else r=null,n.push(o)}return n})},[l,t,n]);let s=(0,N.useMemo)(()=>({explorerNavStack:r,push:i,pop:a,reset:l}),[r,i,a,l]);return(0,L.jsx)(f_.Provider,{value:s,children:e.children})}dH(fT,"ExplorerContextProvider");let fA=dU(f_);function fD(e,t){return(0,H.zM)(e)?(0,L.jsxs)(L.Fragment,{children:[fD(e.ofType,t),"!"]}):(0,H.HG)(e)?(0,L.jsxs)(L.Fragment,{children:["[",fD(e.ofType,t),"]"]}):t(e)}function fO(e){let{push:t}=fA({nonNull:!0,caller:fO});return e.type?fD(e.type,e=>(0,L.jsx)("a",{className:"graphiql-doc-explorer-type-name",onClick:n=>{n.preventDefault(),t({name:e.name,def:e})},href:"#",children:e.name})):null}function fR(e){let{arg:t,showDefaultValue:n,inline:r}=e,o=(0,L.jsxs)("span",{children:[(0,L.jsx)("span",{className:"graphiql-doc-explorer-argument-name",children:t.name}),": ",(0,L.jsx)(fO,{type:t.type}),!1!==n&&(0,L.jsx)(fb,{field:t})]});return r?o:(0,L.jsxs)("div",{className:"graphiql-doc-explorer-argument",children:[o,t.description?(0,L.jsx)(p3,{type:"description",children:t.description}):null,t.deprecationReason?(0,L.jsxs)("div",{className:"graphiql-doc-explorer-argument-deprecation",children:[(0,L.jsx)("div",{className:"graphiql-doc-explorer-argument-deprecation-label",children:"Deprecated"}),(0,L.jsx)(p3,{type:"deprecation",children:t.deprecationReason})]}):null]})}function fL(e){var t;return e.children?(0,L.jsxs)("div",{className:"graphiql-doc-explorer-deprecation",children:[(0,L.jsx)("div",{className:"graphiql-doc-explorer-deprecation-label",children:"Deprecated"}),(0,L.jsx)(p3,{type:"deprecation",onlyShowFirstChild:null===(t=e.preview)||void 0===t||t,children:e.children})]}):null}function fN(e){let{directive:t}=e;return(0,L.jsxs)("span",{className:"graphiql-doc-explorer-directive",children:["@",t.name.value]})}function fM(e){let t=fP[e.title];return(0,L.jsxs)("div",{children:[(0,L.jsxs)("div",{className:"graphiql-doc-explorer-section-title",children:[(0,L.jsx)(t,{}),e.title]}),(0,L.jsx)("div",{className:"graphiql-doc-explorer-section-content",children:e.children})]})}dH(fD,"renderType"),dH(fO,"TypeLink"),dH(fR,"Argument"),dH(fL,"DeprecationReason"),dH(fN,"Directive"),dH(fM,"ExplorerSection");let fP={Arguments:pm,"Deprecated Arguments":px,"Deprecated Enum Values":pC,"Deprecated Fields":pw,Directives:pk,"Enum Values":pT,Fields:pA,Implements:pO,Implementations:pZ,"Possible Types":pZ,"Root Types":pj,Type:pZ,"All Schema Types":pZ};function fI(e){return(0,L.jsxs)(L.Fragment,{children:[e.field.description?(0,L.jsx)(p3,{type:"description",children:e.field.description}):null,(0,L.jsx)(fL,{preview:!1,children:e.field.deprecationReason}),(0,L.jsx)(fM,{title:"Type",children:(0,L.jsx)(fO,{type:e.field.type})}),(0,L.jsx)(fF,{field:e.field}),(0,L.jsx)(fV,{field:e.field})]})}function fF(e){let{field:t}=e,[n,r]=(0,N.useState)(!1),o=(0,N.useCallback)(()=>{r(!0)},[]);if(!("args"in t))return null;let i=[],a=[];for(let e of t.args)e.deprecationReason?a.push(e):i.push(e);return(0,L.jsxs)(L.Fragment,{children:[i.length>0?(0,L.jsx)(fM,{title:"Arguments",children:i.map(e=>(0,L.jsx)(fR,{arg:e},e.name))}):null,a.length>0?n||0===i.length?(0,L.jsx)(fM,{title:"Deprecated Arguments",children:a.map(e=>(0,L.jsx)(fR,{arg:e},e.name))}):(0,L.jsx)(pK,{type:"button",onClick:o,children:"Show Deprecated Arguments"}):null]})}function fV(e){var t;let{field:n}=e,r=(null==(t=n.astNode)?void 0:t.directives)||[];return r&&0!==r.length?(0,L.jsx)(fM,{title:"Directives",children:r.map(e=>(0,L.jsx)("div",{children:(0,L.jsx)(fN,{directive:e})},e.name.value))}):null}function fj(e){var t,n,r,o;let i=e.schema.getQueryType(),a=null==(n=(t=e.schema).getMutationType)?void 0:n.call(t),l=null==(o=(r=e.schema).getSubscriptionType)?void 0:o.call(r),s=e.schema.getTypeMap(),u=[null==i?void 0:i.name,null==a?void 0:a.name,null==l?void 0:l.name];return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(p3,{type:"description",children:e.schema.description||"A GraphQL schema provides a root type for each kind of operation."}),(0,L.jsxs)(fM,{title:"Root Types",children:[i?(0,L.jsxs)("div",{children:[(0,L.jsx)("span",{className:"graphiql-doc-explorer-root-type",children:"query"}),": ",(0,L.jsx)(fO,{type:i})]}):null,a&&(0,L.jsxs)("div",{children:[(0,L.jsx)("span",{className:"graphiql-doc-explorer-root-type",children:"mutation"}),": ",(0,L.jsx)(fO,{type:a})]}),l&&(0,L.jsxs)("div",{children:[(0,L.jsx)("span",{className:"graphiql-doc-explorer-root-type",children:"subscription"}),": ",(0,L.jsx)(fO,{type:l})]})]}),(0,L.jsx)(fM,{title:"All Schema Types",children:s&&(0,L.jsx)("div",{children:Object.values(s).map(e=>u.includes(e.name)||e.name.startsWith("__")?null:(0,L.jsx)("div",{children:(0,L.jsx)(fO,{type:e})},e.name))})})]})}function fq(e,t){let n;return function(){for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];n&&window.clearTimeout(n),n=window.setTimeout(()=>{n=null,t(...o)},e)}}function fz(){let{explorerNavStack:e,push:t}=fA({nonNull:!0,caller:fz}),n=(0,N.useRef)(null),r=fH(),[o,i]=(0,N.useState)(""),[a,l]=(0,N.useState)(r(o)),s=(0,N.useMemo)(()=>fq(200,e=>{l(r(e))}),[r]);(0,N.useEffect)(()=>{s(o)},[s,o]),(0,N.useEffect)(()=>{function e(e){var t;e.metaKey&&"k"===e.key&&(null==(t=n.current)||t.focus())}return dH(e,"handleKeyDown"),window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]);let u=e.at(-1),c=(0,N.useCallback)(e=>{t("field"in e?{name:e.field.name,def:e.field}:{name:e.type.name,def:e.type})},[t]),d=(0,N.useRef)(!1),p=(0,N.useCallback)(e=>{d.current="focus"===e.type},[]);return 1===e.length||(0,H.lp)(u.def)||(0,H.oT)(u.def)||(0,H.hL)(u.def)?(0,L.jsxs)(dq,{as:"div",className:"graphiql-doc-explorer-search",onChange:c,"data-state":d?void 0:"idle","aria-label":"Search ".concat(u.name,"..."),children:[(0,L.jsxs)("div",{className:"graphiql-doc-explorer-search-input",onClick:()=>{var e;null==(e=n.current)||e.focus()},children:[(0,L.jsx)(pL,{}),(0,L.jsx)(dq.Input,{autoComplete:"off",onFocus:p,onBlur:p,onChange:e=>i(e.target.value),placeholder:"⌘ K",ref:n,value:o,"data-cy":"doc-explorer-input"})]}),d.current&&(0,L.jsxs)(dq.Options,{"data-cy":"doc-explorer-list",children:[a.within.length+a.types.length+a.fields.length===0?(0,L.jsx)("li",{className:"graphiql-doc-explorer-search-empty",children:"No results found"}):a.within.map((e,t)=>(0,L.jsx)(dq.Option,{value:e,"data-cy":"doc-explorer-option",children:(0,L.jsx)(fZ,{field:e.field,argument:e.argument})},"within-".concat(t))),a.within.length>0&&a.types.length+a.fields.length>0?(0,L.jsx)("div",{className:"graphiql-doc-explorer-search-divider",children:"Other results"}):null,a.types.map((e,t)=>(0,L.jsx)(dq.Option,{value:e,"data-cy":"doc-explorer-option",children:(0,L.jsx)(fU,{type:e.type})},"type-".concat(t))),a.fields.map((e,t)=>(0,L.jsxs)(dq.Option,{value:e,"data-cy":"doc-explorer-option",children:[(0,L.jsx)(fU,{type:e.type}),".",(0,L.jsx)(fZ,{field:e.field,argument:e.argument})]},"field-".concat(t)))]})]}):null}function fH(e){let{explorerNavStack:t}=fA({nonNull:!0,caller:e||fH}),{schema:n}=fC({nonNull:!0,caller:e||fH}),r=t.at(-1);return(0,N.useCallback)(e=>{let t={within:[],types:[],fields:[]};if(!n)return t;let o=r.def,i=n.getTypeMap(),a=Object.keys(i);for(let n of(o&&(a=a.filter(e=>e!==o.name)).unshift(o.name),a)){if(t.within.length+t.types.length+t.fields.length>=100)break;let r=i[n];if(o!==r&&fB(n,e)&&t.types.push({type:r}),!(0,H.lp)(r)&&!(0,H.oT)(r)&&!(0,H.hL)(r))continue;let a=r.getFields();for(let n in a){let i;let l=a[n];if(fB(n,e)||"args"in l&&0!==(i=l.args.filter(t=>fB(t.name,e))).length)t[o===r?"within":"fields"].push(...i?i.map(e=>({type:r,field:l,argument:e})):[{type:r,field:l}])}}return t},[r.def,n])}function fB(e,t){try{let n=t.replaceAll(/[^_0-9A-Za-z]/g,e=>"\\"+e);return -1!==e.search(RegExp(n,"i"))}catch(n){return e.toLowerCase().includes(t.toLowerCase())}}function fU(e){return(0,L.jsx)("span",{className:"graphiql-doc-explorer-search-type",children:e.type.name})}function fZ(e){let{field:t,argument:n}=e;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)("span",{className:"graphiql-doc-explorer-search-field",children:t.name}),n?(0,L.jsxs)(L.Fragment,{children:["(",(0,L.jsx)("span",{className:"graphiql-doc-explorer-search-argument",children:n.name}),":"," ",fD(n.type,e=>(0,L.jsx)(fU,{type:e})),")"]}):null]})}function fG(e){let{push:t}=fA({nonNull:!0});return(0,L.jsx)("a",{className:"graphiql-doc-explorer-field-name",onClick:n=>{n.preventDefault(),t({name:e.field.name,def:e.field})},href:"#",children:e.field.name})}function fW(e){return(0,H.Zs)(e.type)?(0,L.jsxs)(L.Fragment,{children:[e.type.description?(0,L.jsx)(p3,{type:"description",children:e.type.description}):null,(0,L.jsx)(fK,{type:e.type}),(0,L.jsx)(fQ,{type:e.type}),(0,L.jsx)(f$,{type:e.type}),(0,L.jsx)(fX,{type:e.type})]}):null}function fK(e){let{type:t}=e;return(0,H.lp)(t)&&t.getInterfaces().length>0?(0,L.jsx)(fM,{title:"Implements",children:t.getInterfaces().map(e=>(0,L.jsx)("div",{children:(0,L.jsx)(fO,{type:e})},e.name))}):null}function fQ(e){let{type:t}=e,[n,r]=(0,N.useState)(!1),o=(0,N.useCallback)(()=>{r(!0)},[]);if(!(0,H.lp)(t)&&!(0,H.oT)(t)&&!(0,H.hL)(t))return null;let i=t.getFields(),a=[],l=[];for(let e of Object.keys(i).map(e=>i[e]))e.deprecationReason?l.push(e):a.push(e);return(0,L.jsxs)(L.Fragment,{children:[a.length>0?(0,L.jsx)(fM,{title:"Fields",children:a.map(e=>(0,L.jsx)(fY,{field:e},e.name))}):null,l.length>0?n||0===a.length?(0,L.jsx)(fM,{title:"Deprecated Fields",children:l.map(e=>(0,L.jsx)(fY,{field:e},e.name))}):(0,L.jsx)(pK,{type:"button",onClick:o,children:"Show Deprecated Fields"}):null]})}function fY(e){let{field:t}=e,n="args"in t?t.args.filter(e=>!e.deprecationReason):[];return(0,L.jsxs)("div",{className:"graphiql-doc-explorer-item",children:[(0,L.jsxs)("div",{children:[(0,L.jsx)(fG,{field:t}),n.length>0?(0,L.jsxs)(L.Fragment,{children:["(",(0,L.jsx)("span",{children:n.map(e=>1===n.length?(0,L.jsx)(fR,{arg:e,inline:!0},e.name):(0,L.jsx)("div",{className:"graphiql-doc-explorer-argument-multiple",children:(0,L.jsx)(fR,{arg:e,inline:!0})},e.name))}),")"]}):null,": ",(0,L.jsx)(fO,{type:t.type}),(0,L.jsx)(fb,{field:t})]}),t.description?(0,L.jsx)(p3,{type:"description",onlyShowFirstChild:!0,children:t.description}):null,(0,L.jsx)(fL,{children:t.deprecationReason})]})}function f$(e){let{type:t}=e,[n,r]=(0,N.useState)(!1),o=(0,N.useCallback)(()=>{r(!0)},[]);if(!(0,H.EM)(t))return null;let i=[],a=[];for(let e of t.getValues())e.deprecationReason?a.push(e):i.push(e);return(0,L.jsxs)(L.Fragment,{children:[i.length>0?(0,L.jsx)(fM,{title:"Enum Values",children:i.map(e=>(0,L.jsx)(fJ,{value:e},e.name))}):null,a.length>0?n||0===i.length?(0,L.jsx)(fM,{title:"Deprecated Enum Values",children:a.map(e=>(0,L.jsx)(fJ,{value:e},e.name))}):(0,L.jsx)(pK,{type:"button",onClick:o,children:"Show Deprecated Values"}):null]})}function fJ(e){let{value:t}=e;return(0,L.jsxs)("div",{className:"graphiql-doc-explorer-item",children:[(0,L.jsx)("div",{className:"graphiql-doc-explorer-enum-value",children:t.name}),t.description?(0,L.jsx)(p3,{type:"description",children:t.description}):null,t.deprecationReason?(0,L.jsx)(p3,{type:"deprecation",children:t.deprecationReason}):null]})}function fX(e){let{type:t}=e,{schema:n}=fC({nonNull:!0});return n&&(0,H.m0)(t)?(0,L.jsx)(fM,{title:(0,H.oT)(t)?"Implementations":"Possible Types",children:n.getPossibleTypes(t).map(e=>(0,L.jsx)("div",{children:(0,L.jsx)(fO,{type:e})},e.name))}):null}function f0(){let e;let{fetchError:t,isFetching:n,schema:r,validationErrors:o}=fC({nonNull:!0,caller:f0}),{explorerNavStack:i,pop:a}=fA({nonNull:!0,caller:f0}),l=i.at(-1),s=null;return t?s=(0,L.jsx)("div",{className:"graphiql-doc-explorer-error",children:"Error fetching schema"}):o.length>0?s=(0,L.jsxs)("div",{className:"graphiql-doc-explorer-error",children:["Schema is invalid: ",o[0].message]}):n?s=(0,L.jsx)(p6,{}):r?1===i.length?s=(0,L.jsx)(fj,{schema:r}):(0,H.P9)(l.def)?s=(0,L.jsx)(fW,{type:l.def}):l.def&&(s=(0,L.jsx)(fI,{field:l.def})):s=(0,L.jsx)("div",{className:"graphiql-doc-explorer-error",children:"No GraphQL schema available"}),i.length>1&&(e=i.at(-2).name),(0,L.jsxs)("section",{className:"graphiql-doc-explorer","aria-label":"Documentation Explorer",children:[(0,L.jsxs)("div",{className:"graphiql-doc-explorer-header",children:[(0,L.jsxs)("div",{className:"graphiql-doc-explorer-header-content",children:[e&&(0,L.jsxs)("a",{href:"#",className:"graphiql-doc-explorer-back",onClick:e=>{e.preventDefault(),a()},"aria-label":"Go back to ".concat(e),children:[(0,L.jsx)(pg,{}),e]}),(0,L.jsx)("div",{className:"graphiql-doc-explorer-title",children:l.name})]}),(0,L.jsx)(fz,{},l.name)]}),(0,L.jsx)("div",{className:"graphiql-doc-explorer-content",children:s})]})}dH(fI,"FieldDocumentation"),dH(fF,"Arguments"),dH(fV,"Directives"),dH(fj,"SchemaDocumentation"),dH(fq,"debounce"),dH(fz,"Search"),dH(fH,"useSearchResults"),dH(fB,"isMatch"),dH(fU,"Type"),dH(fZ,"Field$1"),dH(fG,"FieldLink"),dH(fW,"TypeDocumentation"),dH(fK,"ImplementsInterfaces"),dH(fQ,"Fields"),dH(fY,"Field"),dH(f$,"EnumValues"),dH(fJ,"EnumValue"),dH(fX,"PossibleTypes"),dH(f0,"DocExplorer");let f1={title:"Documentation Explorer",icon:dH(function(){let e=f6();return(null==e?void 0:e.visiblePlugin)===f1?(0,L.jsx)(pS,{}):(0,L.jsx)(p_,{})},"Icon"),content:f0},f2={title:"History",icon:pD,content:fl},f5=dB("PluginContext");function f3(e){let t=dW(),n=fA(),r=fi(),o=!!n,i=!!r,a=(0,N.useMemo)(()=>{let t=[],n={};for(let r of(o&&(t.push(f1),n[f1.title]=!0),i&&(t.push(f2),n[f2.title]=!0),e.plugins||[])){if("string"!=typeof r.title||!r.title)throw Error("All GraphiQL plugins must have a unique title");if(n[r.title])throw Error("All GraphiQL plugins must have a unique title, found two plugins with the title '".concat(r.title,"'"));t.push(r),n[r.title]=!0}return t},[o,i,e.plugins]),[l,s]=(0,N.useState)(()=>{let n=null==t?void 0:t.get(f4);return a.find(e=>e.title===n)||(n&&(null==t||t.set(f4,"")),e.visiblePlugin&&a.find(t=>("string"==typeof e.visiblePlugin?t.title:t)===e.visiblePlugin)||null)}),{onTogglePluginVisibility:u,children:c}=e,d=(0,N.useCallback)(e=>{let t=e&&a.find(t=>("string"==typeof e?t.title:t)===e)||null;s(e=>t===e?e:(null==u||u(t),t))},[u,a]);(0,N.useEffect)(()=>{e.visiblePlugin&&d(e.visiblePlugin)},[a,e.visiblePlugin,d]);let p=(0,N.useMemo)(()=>({plugins:a,setVisiblePlugin:d,visiblePlugin:l}),[a,d,l]);return(0,L.jsx)(f5.Provider,{value:p,children:c})}dH(f3,"PluginContextProvider");let f6=dU(f5),f4="visiblePlugin";function f9(e,t,n,r,o,i){function a(e){if(!n||!r||!o||!(e.currentTarget instanceof HTMLElement))return;let t=e.currentTarget.textContent||"",a=n.getType(t);a&&(o.setVisiblePlugin(f1),r.push({name:a.name,def:a}),null==i||i(a))}fg([],{useCommonAddons:!1}).then(e=>{let n,r,o,i,l,s,u,c,d;e.on(t,"select",(e,t)=>{if(!n){let e;let p=t.parentNode;(n=document.createElement("div")).className="CodeMirror-hint-information",p.append(n);let f=document.createElement("header");f.className="CodeMirror-hint-information-header",n.append(f),(r=document.createElement("span")).className="CodeMirror-hint-information-field-name",f.append(r),(o=document.createElement("span")).className="CodeMirror-hint-information-type-name-pill",f.append(o),i=document.createElement("span"),o.append(i),(l=document.createElement("a")).className="CodeMirror-hint-information-type-name",l.href="javascript:void 0",l.addEventListener("click",a),o.append(l),s=document.createElement("span"),o.append(s),(u=document.createElement("div")).className="CodeMirror-hint-information-description",n.append(u),(c=document.createElement("div")).className="CodeMirror-hint-information-deprecation",n.append(c);let h=document.createElement("span");h.className="CodeMirror-hint-information-deprecation-label",h.textContent="Deprecated",c.append(h),(d=document.createElement("div")).className="CodeMirror-hint-information-deprecation-reason",c.append(d);let m=parseInt(window.getComputedStyle(n).paddingBottom.replace(/px$/,""),10)||0,v=parseInt(window.getComputedStyle(n).maxHeight.replace(/px$/,""),10)||0,g=dH(()=>{n&&(n.style.paddingTop=p.scrollTop+m+"px",n.style.maxHeight=p.scrollTop+v+"px")},"handleScroll");p.addEventListener("scroll",g),p.addEventListener("DOMNodeRemoved",e=dH(t=>{t.target===p&&(p.removeEventListener("scroll",g),p.removeEventListener("DOMNodeRemoved",e),n&&n.removeEventListener("click",a),n=null,r=null,o=null,i=null,l=null,s=null,u=null,c=null,d=null,e=null)},"onRemoveFn"))}if(r&&(r.textContent=e.text),o&&i&&l&&s){if(e.type){o.style.display="inline";let t=dH(e=>{(0,H.zM)(e)?(s.textContent="!"+s.textContent,t(e.ofType)):(0,H.HG)(e)?(i.textContent+="[",s.textContent="]"+s.textContent,t(e.ofType)):l.textContent=e.name},"renderType");i.textContent="",s.textContent="",t(e.type)}else i.textContent="",l.textContent="",s.textContent="",o.style.display="none"}u&&(e.description?(u.style.display="block",u.innerHTML=p5.render(e.description)):(u.style.display="none",u.innerHTML="")),c&&d&&(e.deprecationReason?(c.style.display="block",d.innerHTML=p5.render(e.deprecationReason)):(c.style.display="none",d.innerHTML=""))})}),dH(a,"onClickHintInformation")}function f8(e,t){(0,N.useEffect)(()=>{e&&"string"==typeof t&&t!==e.getValue()&&e.setValue(t)},[e,t])}function f7(e,t,n){(0,N.useEffect)(()=>{e&&e.setOption(t,n)},[e,t,n])}function he(e,t,n,r,o){let{updateActiveTabValues:i}=hB({nonNull:!0,caller:o}),a=dW();(0,N.useEffect)(()=>{if(!e)return;let o=fq(500,e=>{a&&null!==n&&a.set(n,e)}),l=fq(100,e=>{i({[r]:e})}),s=dH((e,n)=>{if(!n)return;let r=e.getValue();o(r),l(r),null==t||t(r)},"handleChange");return e.on("change",s),()=>e.off("change",s)},[t,e,a,n,r,i])}function ht(e,t,n){let{schema:r}=fC({nonNull:!0,caller:n}),o=fA(),i=f6();(0,N.useEffect)(()=>{if(!e)return;let n=dH((e,n)=>{f9(e,n,r,o,i,e=>{null==t||t({kind:"Type",type:e,schema:r||void 0})})},"handleCompletion");return e.on("hasCompletion",n),()=>e.off("hasCompletion",n)},[t,e,o,i,r])}function hn(e,t,n){(0,N.useEffect)(()=>{if(e){for(let n of t)e.removeKeyMap(n);if(n){let r={};for(let e of t)r[e]=()=>n();e.addKeyMap(r)}}},[e,t,n])}function hr(){let{caller:e,onCopyQuery:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{queryEditor:n}=hB({nonNull:!0,caller:e||hr});return(0,N.useCallback)(()=>{if(!n)return;let e=n.getValue();es(e),null==t||t(e)},[n,t])}function ho(){let{caller:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{queryEditor:t}=hB({nonNull:!0,caller:e||ho}),{schema:n}=fC({nonNull:!0,caller:ho});return(0,N.useCallback)(()=>{let e=null==t?void 0:t.documentAST,r=null==t?void 0:t.getValue();e&&r&&t.setValue((0,I.S)(function(e,t){let n=t?new X.a(t):null,r=Object.create(null);for(let t of e.definitions)t.kind===ee.Kind.FRAGMENT_DEFINITION&&(r[t.name.value]=t);let o={SelectionSet(e){let t=n?n.getParentType():null,{selections:o}=e;return o=function e(t,n,r){var o;let i=r?(0,H.xC)(r).name:null,a=[],l=[];for(let s of n){if("FragmentSpread"===s.kind){let e=s.name.value;if(!s.directives||0===s.directives.length){if(l.includes(e))continue;l.push(e)}let n=t[s.name.value];if(n){let{typeCondition:e,directives:t,selectionSet:r}=n;s={kind:ee.Kind.INLINE_FRAGMENT,typeCondition:e,directives:t,selectionSet:r}}}if(s.kind===ee.Kind.INLINE_FRAGMENT&&(!s.directives||(null===(o=s.directives)||void 0===o?void 0:o.length)===0)){let n=s.typeCondition?s.typeCondition.name.value:null;if(!n||n===i){a.push(...e(t,s.selectionSet.selections,r));continue}}a.push(s)}return a}(r,o,t),Object.assign(Object.assign({},e),{selections:o})},FragmentDefinition:()=>null},i=(0,U.Vn)(e,n?(0,X.y)(n,o):o);return(0,U.Vn)(i,{SelectionSet(e){let{selections:t}=e;return t=function(e,t){var n;let r=new Map,o=[];for(let i of e)if("Field"===i.kind){let e=t(i),a=r.get(e);if(null===(n=i.directives)||void 0===n?void 0:n.length){let e=Object.assign({},i);o.push(e)}else if((null==a?void 0:a.selectionSet)&&i.selectionSet)a.selectionSet.selections=[...a.selectionSet.selections,...i.selectionSet.selections];else if(!a){let t=Object.assign({},i);r.set(e,t),o.push(t)}}else o.push(i);return o}(t,e=>e.alias?e.alias.value:e.name.value),Object.assign(Object.assign({},e),{selections:t})},FragmentDefinition:()=>null})}(e,n)))},[t,n])}function hi(){let{caller:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{queryEditor:t,headerEditor:n,variableEditor:r}=hB({nonNull:!0,caller:e||hi});return(0,N.useCallback)(()=>{if(r){let e=r.getValue();try{let t=JSON.stringify(JSON.parse(e),null,2);t!==e&&r.setValue(t)}catch(e){}}if(n){let e=n.getValue();try{let t=JSON.stringify(JSON.parse(e),null,2);t!==e&&n.setValue(t)}catch(e){}}if(t){let e=t.getValue(),n=(0,I.S)((0,B.Qc)(e));n!==e&&t.setValue(n)}},[t,r,n])}function ha(){let{getDefaultFieldNames:e,caller:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{schema:n}=fC({nonNull:!0,caller:t||ha}),{queryEditor:r}=hB({nonNull:!0,caller:t||ha});return(0,N.useCallback)(()=>{if(!r)return;let{insertions:t,result:o}=function(e,t,n){let r;let o=[];if(!e||!t)return{insertions:o,result:t};try{r=(0,B.Qc)(t)}catch(e){return{insertions:o,result:t}}let i=n||et,a=new X.a(e);return(0,U.Vn)(r,{leave(e){a.leave(e)},enter(e){if(a.enter(e),"Field"===e.kind&&!e.selectionSet){let n=function e(t,n){let r=(0,H.xC)(t);if(!t||(0,H.UT)(t))return;let o=n(r);if(Array.isArray(o)&&0!==o.length&&"getFields"in r)return{kind:ee.Kind.SELECTION_SET,selections:o.map(t=>{let o=r.getFields()[t],i=o?o.type:null;return{kind:ee.Kind.FIELD,name:{kind:ee.Kind.NAME,value:t},selectionSet:e(i,n)}})}}(function(e){if(e)return e}(a.getType()),i);if(n&&e.loc){let r=function(e,t){let n=t,r=t;for(;n;){let t=e.charCodeAt(n-1);if(10===t||13===t||8232===t||8233===t)break;n--,9!==t&&11!==t&&12!==t&&32!==t&&160!==t&&(r=n)}return e.slice(n,r)}(t,e.loc.start);o.push({index:e.loc.end,string:" "+(0,I.S)(n).replaceAll("\n","\n"+r)})}}}}),{insertions:o,result:function(e,t){if(0===t.length)return e;let n="",r=0;for(let{index:o,string:i}of t)n+=e.slice(r,o)+i,r=o;return n+e.slice(r)}(t,o)}}(n,r.getValue(),e);return t&&t.length>0&&r.operation(()=>{let e=r.getCursor(),n=r.indexFromPos(e);r.setValue(o||"");let i=0,a=t.map(e=>{let{index:t,string:n}=e;return r.markText(r.posFromIndex(t+i),r.posFromIndex(t+(i+=n.length)),{className:"auto-inserted-leaf",clearOnEnter:!0,title:"Automatically added leaf fields"})});setTimeout(()=>{for(let e of a)e.clear()},7e3);let l=n;for(let{index:e,string:r}of t)e<n&&(l+=r.length);r.setCursor(r.posFromIndex(l))}),o},[e,r,n])}dH(f9,"onHasCompletion"),dH(f8,"useSynchronizeValue"),dH(f7,"useSynchronizeOption"),dH(he,"useChangeHandler"),dH(ht,"useCompletion"),dH(hn,"useKeyMap"),dH(hr,"useCopyQuery"),dH(ho,"useMergeQuery"),dH(hi,"usePrettifyEditors"),dH(ha,"useAutoCompleteLeafs");let hl=dH(e=>{var t;let n=hB({nonNull:!0})["".concat(e,"Editor")],r="",o=null!==(t=null==n?void 0:n.getValue())&&void 0!==t&&t;o&&o.length>0&&(r=o);let i=(0,N.useCallback)(e=>null==n?void 0:n.setValue(e),[n]);return(0,N.useMemo)(()=>[r,i],[r,i])},"useEditorState"),hs=dH(()=>hl("query"),"useOperationsEditorState");function hu(e){let[t,n]=e,r=(0,N.useRef)({pending:null,last:t}),[o,i]=(0,N.useState)(t);(0,N.useEffect)(()=>{r.current.last===t||(r.current.last=t,null===r.current.pending?i(t):r.current.pending===t?(r.current.pending=null,t!==o&&(r.current.pending=o,n(o))):(r.current.pending=null,i(t)))},[t,o,n]);let a=(0,N.useCallback)(e=>{i(e),null===r.current.pending&&r.current.last!==e&&(r.current.pending=e,n(e))},[n]);return(0,N.useMemo)(()=>[o,a],[o,a])}function hc(){let{editorTheme:e=fh,keyMap:t=fm,onEdit:r,readOnly:o=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,{initialHeaders:a,headerEditor:l,setHeaderEditor:s,shouldPersistHeaders:u}=hB({nonNull:!0,caller:i||hc}),c=fp(),d=ho({caller:i||hc}),p=hi({caller:i||hc}),f=(0,N.useRef)(null);return(0,N.useEffect)(()=>{let t=!0;return fg([Promise.all([n.e(6623),n.e(8700)]).then(n.bind(n,88700)).then(e=>e.j)]).then(n=>{if(!t)return;let r=f.current;if(!r)return;let i=n(r,{value:a,lineNumbers:!0,tabSize:2,mode:{name:"javascript",json:!0},theme:e,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!o&&"nocursor",foldGutter:!0,gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:fv});i.addKeyMap({"Cmd-Space"(){i.showHint({completeSingle:!1,container:r})},"Ctrl-Space"(){i.showHint({completeSingle:!1,container:r})},"Alt-Space"(){i.showHint({completeSingle:!1,container:r})},"Shift-Space"(){i.showHint({completeSingle:!1,container:r})}}),i.on("keyup",(e,t)=>{let{code:n,key:r,shiftKey:o}=t,i=n.startsWith("Key"),a=!o&&n.startsWith("Digit");(i||a||"_"===r||'"'===r)&&e.execCommand("autocomplete")}),s(i)}),()=>{t=!1}},[e,a,o,s]),f7(l,"keyMap",t),he(l,r,u?hd:null,"headers",hc),hn(l,["Cmd-Enter","Ctrl-Enter"],null==c?void 0:c.run),hn(l,["Shift-Ctrl-P"],p),hn(l,["Shift-Ctrl-M"],d),f}dH(hu,"useOptimisticState"),dH(hc,"useHeaderEditor");let hd="headers",hp=RegExp("["+Array.from({length:11},(e,t)=>String.fromCharCode(8192+t)).concat(["\u2028","\u2029"," ","\xa0"]).join("")+"]","g");function hf(e){return e.replace(hp," ")}function hh(){let{editorTheme:e=fh,keyMap:t=fm,onClickReference:r,onCopyQuery:o,onEdit:i,readOnly:a=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0,{schema:s}=fC({nonNull:!0,caller:l||hh}),{externalFragments:u,initialQuery:c,queryEditor:d,setOperationName:p,setQueryEditor:f,validationRules:h,variableEditor:m,updateActiveTabValues:v}=hB({nonNull:!0,caller:l||hh}),g=fp(),y=dW(),b=fA(),E=f6(),x=hr({caller:l||hh,onCopyQuery:o}),C=ho({caller:l||hh}),w=hi({caller:l||hh}),k=(0,N.useRef)(null),S=(0,N.useRef)(),_=(0,N.useRef)(()=>{});(0,N.useEffect)(()=>{_.current=e=>{if(!(!b||!E)){switch(E.setVisiblePlugin(f1),e.kind){case"Type":b.push({name:e.type.name,def:e.type});break;case"Field":b.push({name:e.field.name,def:e.field});break;case"Argument":e.field&&b.push({name:e.field.name,def:e.field});break;case"EnumValue":e.type&&b.push({name:e.type.name,def:e.type})}null==r||r(e)}}},[b,r,E]),(0,N.useEffect)(()=>{let t=!0;return fg([Promise.all([n.e(6623),n.e(1846)]).then(n.bind(n,11846)).then(e=>e.c),Promise.all([n.e(6623),n.e(720)]).then(n.bind(n,80720)).then(e=>e.s),Promise.all([n.e(6623),n.e(7833)]).then(n.bind(n,67833)),Promise.all([n.e(6623),n.e(7567)]).then(n.bind(n,7567)),Promise.all([n.e(6623),n.e(2380)]).then(n.bind(n,22380)),Promise.all([n.e(6623),n.e(8414)]).then(n.bind(n,68414)),Promise.all([n.e(6623),n.e(5103)]).then(n.bind(n,75103))]).then(n=>{if(!t)return;S.current=n;let r=k.current;if(!r)return;let o=n(r,{value:c,lineNumbers:!0,tabSize:2,foldGutter:!0,mode:"graphql",theme:e,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!a&&"nocursor",lint:{schema:void 0,validationRules:null,externalFragments:void 0},hintOptions:{schema:void 0,closeOnUnfocus:!1,completeSingle:!1,container:r,externalFragments:void 0},info:{schema:void 0,renderDescription:e=>p5.render(e),onClick(e){_.current(e)}},jump:{schema:void 0,onClick(e){_.current(e)}},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:{...fv,"Cmd-S"(){},"Ctrl-S"(){}}});o.addKeyMap({"Cmd-Space"(){o.showHint({completeSingle:!0,container:r})},"Ctrl-Space"(){o.showHint({completeSingle:!0,container:r})},"Alt-Space"(){o.showHint({completeSingle:!0,container:r})},"Shift-Space"(){o.showHint({completeSingle:!0,container:r})},"Shift-Alt-Space"(){o.showHint({completeSingle:!0,container:r})}}),o.on("keyup",(e,t)=>{hy.test(t.key)&&e.execCommand("autocomplete")});let i=!1;o.on("startCompletion",()=>{i=!0}),o.on("endCompletion",()=>{i=!1}),o.on("keydown",(e,t)=>{"Escape"===t.key&&i&&t.stopPropagation()}),o.on("beforeChange",(e,t)=>{var n;if("paste"===t.origin){let e=t.text.map(hf);null==(n=t.update)||n.call(t,t.from,t.to,e)}}),o.documentAST=null,o.operationName=null,o.operations=null,o.variableToType=null,f(o)}),()=>{t=!1}},[e,c,a,f]),f7(d,"keyMap",t),(0,N.useEffect)(()=>{if(!d)return;function e(e){var t,n,r,o,i;let a=(0,ea.y9)(s,e.getValue()),l=function(e,t,n){if(!n||n.length<1)return;let r=n.map(e=>{var t;return null===(t=e.name)||void 0===t?void 0:t.value});if(t&&r.includes(t))return t;if(t&&e){let n=e.map(e=>{var t;return null===(t=e.name)||void 0===t?void 0:t.value}).indexOf(t);if(-1!==n&&n<r.length)return r[n]}return r[0]}(null!==(n=e.operations)&&void 0!==n?n:void 0,null!==(r=e.operationName)&&void 0!==r?r:void 0,null==a?void 0:a.operations);return e.documentAST=null!==(o=null==a?void 0:a.documentAST)&&void 0!==o?o:null,e.operationName=null!=l?l:null,e.operations=null!==(i=null==a?void 0:a.operations)&&void 0!==i?i:null,m&&(m.state.lint.linterOptions.variableToType=null==a?void 0:a.variableToType,m.options.lint.variableToType=null==a?void 0:a.variableToType,m.options.hintOptions.variableToType=null==a?void 0:a.variableToType,null==(t=S.current)||t.signal(m,"change",m)),a?{...a,operationName:l}:null}dH(e,"getAndUpdateOperationFacts");let t=fq(100,t=>{var n;let r=t.getValue();null==y||y.set(hb,r);let o=t.operationName,a=e(t);(null==a?void 0:a.operationName)!==void 0&&(null==y||y.set(hE,a.operationName)),null==i||i(r,null==a?void 0:a.documentAST),null!=a&&a.operationName&&o!==a.operationName&&p(a.operationName),v({query:r,operationName:null!==(n=null==a?void 0:a.operationName)&&void 0!==n?n:null})});return e(d),d.on("change",t),()=>d.off("change",t)},[i,d,s,p,y,m,v]),hm(d,null!=s?s:null,S),hv(d,null!=h?h:null,S),hg(d,u,S),ht(d,r||null,hh);let T=null==g?void 0:g.run,A=(0,N.useCallback)(()=>{var e;let t;if(!T||!d||!d.operations||!d.hasFocus()){null==T||T();return}let n=d.indexFromPos(d.getCursor());for(let r of d.operations)r.loc&&r.loc.start<=n&&r.loc.end>=n&&(t=null==(e=r.name)?void 0:e.value);t&&t!==d.operationName&&p(t),T()},[d,T,p]);return hn(d,["Cmd-Enter","Ctrl-Enter"],A),hn(d,["Shift-Ctrl-C"],x),hn(d,["Shift-Ctrl-P","Shift-Ctrl-F"],w),hn(d,["Shift-Ctrl-M"],C),k}function hm(e,t,n){(0,N.useEffect)(()=>{if(!e)return;let r=e.options.lint.schema!==t;e.state.lint.linterOptions.schema=t,e.options.lint.schema=t,e.options.hintOptions.schema=t,e.options.info.schema=t,e.options.jump.schema=t,r&&n.current&&n.current.signal(e,"change",e)},[e,t,n])}function hv(e,t,n){(0,N.useEffect)(()=>{if(!e)return;let r=e.options.lint.validationRules!==t;e.state.lint.linterOptions.validationRules=t,e.options.lint.validationRules=t,r&&n.current&&n.current.signal(e,"change",e)},[e,t,n])}function hg(e,t,n){let r=(0,N.useMemo)(()=>[...t.values()],[t]);(0,N.useEffect)(()=>{if(!e)return;let t=e.options.lint.externalFragments!==r;e.state.lint.linterOptions.externalFragments=r,e.options.lint.externalFragments=r,e.options.hintOptions.externalFragments=r,t&&n.current&&n.current.signal(e,"change",e)},[e,r,n])}dH(hf,"normalizeWhitespace"),dH(hh,"useQueryEditor"),dH(hm,"useSynchronizeSchema"),dH(hv,"useSynchronizeValidationRules"),dH(hg,"useSynchronizeExternalFragments");let hy=/^[a-zA-Z0-9_@(]$/,hb="query",hE="operationName";function hx(e){let{defaultQuery:t,defaultHeaders:n,headers:r,defaultTabs:o,query:i,variables:a,storage:l,shouldPersistHeaders:s}=e,u=null==l?void 0:l.get(hV);try{if(!u)throw Error("Storage for tabs is empty");let e=JSON.parse(u);if(hC(e)){let t=hM({query:i,variables:a,headers:s?r:void 0}),n=-1;for(let r=0;r<e.tabs.length;r++){let o=e.tabs[r];o.hash=hM({query:o.query,variables:o.variables,headers:o.headers}),o.hash===t&&(n=r)}if(n>=0)e.activeTabIndex=n;else{let n=i?hP(i):null;e.tabs.push({id:hN(),hash:t,title:n||hF,query:i,variables:a,headers:r,operationName:n,response:null}),e.activeTabIndex=e.tabs.length-1}return e}throw Error("Storage for tabs is invalid")}catch(e){return{activeTabIndex:0,tabs:(o||[{query:null!=i?i:t,variables:a,headers:null!=r?r:n}]).map(hR)}}}function hC(e){return e&&"object"==typeof e&&!Array.isArray(e)&&hk(e,"activeTabIndex")&&"tabs"in e&&Array.isArray(e.tabs)&&e.tabs.every(hw)}function hw(e){return e&&"object"==typeof e&&!Array.isArray(e)&&hS(e,"id")&&hS(e,"title")&&h_(e,"query")&&h_(e,"variables")&&h_(e,"headers")&&h_(e,"operationName")&&h_(e,"response")}function hk(e,t){return t in e&&"number"==typeof e[t]}function hS(e,t){return t in e&&"string"==typeof e[t]}function h_(e,t){return t in e&&("string"==typeof e[t]||null===e[t])}function hT(e){let{queryEditor:t,variableEditor:n,headerEditor:r,responseEditor:o}=e;return(0,N.useCallback)(e=>{var i,a,l,s,u;let c=null!==(i=null==t?void 0:t.getValue())&&void 0!==i?i:null,d=null!==(a=null==n?void 0:n.getValue())&&void 0!==a?a:null,p=null!==(l=null==r?void 0:r.getValue())&&void 0!==l?l:null,f=null!==(s=null==t?void 0:t.operationName)&&void 0!==s?s:null;return hL(e,{query:c,variables:d,headers:p,response:null!==(u=null==o?void 0:o.getValue())&&void 0!==u?u:null,operationName:f})},[t,n,r,o])}function hA(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return JSON.stringify(e,(e,n)=>"hash"!==e&&"response"!==e&&(t||"headers"!==e)?n:null)}function hD(e){let{storage:t,shouldPersistHeaders:n}=e,r=(0,N.useMemo)(()=>fq(500,e=>{null==t||t.set(hV,e)}),[t]);return(0,N.useCallback)(e=>{r(hA(e,n))},[n,r])}function hO(e){let{queryEditor:t,variableEditor:n,headerEditor:r,responseEditor:o}=e;return(0,N.useCallback)(e=>{let{query:i,variables:a,headers:l,response:s}=e;null==t||t.setValue(null!=i?i:""),null==n||n.setValue(null!=a?a:""),null==r||r.setValue(null!=l?l:""),null==o||o.setValue(null!=s?s:"")},[r,t,o,n])}function hR(){let{query:e=null,variables:t=null,headers:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{id:hN(),hash:hM({query:e,variables:t,headers:n}),title:e&&hP(e)||hF,query:e,variables:t,headers:n,operationName:null,response:null}}function hL(e,t){return{...e,tabs:e.tabs.map((n,r)=>{if(r!==e.activeTabIndex)return n;let o={...n,...t};return{...o,hash:hM(o),title:o.operationName||(o.query?hP(o.query):void 0)||hF}})}}function hN(){let e=dH(()=>Math.floor((1+Math.random())*65536).toString(16).slice(1),"s4");return"".concat(e()).concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e(),"-").concat(e()).concat(e()).concat(e())}function hM(e){var t,n,r;return[null!==(t=e.query)&&void 0!==t?t:"",null!==(n=e.variables)&&void 0!==n?n:"",null!==(r=e.headers)&&void 0!==r?r:""].join("|")}function hP(e){var t;let n=/^(?!#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/m.exec(e);return null!==(t=null==n?void 0:n[2])&&void 0!==t?t:null}function hI(e){let t=null==e?void 0:e.get(hV);if(t){let n=JSON.parse(t);null==e||e.set(hV,JSON.stringify(n,(e,t)=>"headers"===e?null:t))}}dH(hx,"getDefaultTabState"),dH(hC,"isTabsState"),dH(hw,"isTabState"),dH(hk,"hasNumberKey"),dH(hS,"hasStringKey"),dH(h_,"hasStringOrNullKey"),dH(hT,"useSynchronizeActiveTabValues"),dH(hA,"serializeTabState"),dH(hD,"useStoreTabs"),dH(hO,"useSetEditorValues"),dH(hR,"createTab"),dH(hL,"setPropertiesInActiveTab"),dH(hN,"guid"),dH(hM,"hashFromTabContents"),dH(hP,"fuzzyExtractOperationName"),dH(hI,"clearHeadersFromTabs");let hF="<untitled>",hV="tabState";function hj(){let{editorTheme:e=fh,keyMap:t=fm,onClickReference:r,onEdit:o,readOnly:i=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0,{initialVariables:l,variableEditor:s,setVariableEditor:u}=hB({nonNull:!0,caller:a||hj}),c=fp(),d=ho({caller:a||hj}),p=hi({caller:a||hj}),f=(0,N.useRef)(null),h=(0,N.useRef)();return(0,N.useEffect)(()=>{let t=!0;return fg([Promise.all([n.e(6623),n.e(2572)]).then(n.bind(n,32572)),Promise.all([n.e(6623),n.e(4704)]).then(n.bind(n,94704)),Promise.all([n.e(6623),n.e(6729)]).then(n.bind(n,36729))]).then(n=>{if(!t)return;h.current=n;let r=f.current;if(!r)return;let o=n(r,{value:l,lineNumbers:!0,tabSize:2,mode:"graphql-variables",theme:e,autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!i&&"nocursor",foldGutter:!0,lint:{variableToType:void 0},hintOptions:{closeOnUnfocus:!1,completeSingle:!1,container:r,variableToType:void 0},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:fv});o.addKeyMap({"Cmd-Space"(){o.showHint({completeSingle:!1,container:r})},"Ctrl-Space"(){o.showHint({completeSingle:!1,container:r})},"Alt-Space"(){o.showHint({completeSingle:!1,container:r})},"Shift-Space"(){o.showHint({completeSingle:!1,container:r})}}),o.on("keyup",(e,t)=>{let{code:n,key:r,shiftKey:o}=t,i=n.startsWith("Key"),a=!o&&n.startsWith("Digit");(i||a||"_"===r||'"'===r)&&e.execCommand("autocomplete")}),u(o)}),()=>{t=!1}},[e,l,i,u]),f7(s,"keyMap",t),he(s,o,hq,"variables",hj),ht(s,r||null,hj),hn(s,["Cmd-Enter","Ctrl-Enter"],null==c?void 0:c.run),hn(s,["Shift-Ctrl-P"],p),hn(s,["Shift-Ctrl-M"],d),f}dH(hj,"useVariableEditor");let hq="variables",hz=dB("EditorContext");function hH(e){let t=dW(),[n,r]=(0,N.useState)(null),[o,i]=(0,N.useState)(null),[a,l]=(0,N.useState)(null),[s,u]=(0,N.useState)(null),[c,d]=(0,N.useState)(()=>{let n=(null==t?void 0:t.get(hU))!==null;return!1!==e.shouldPersistHeaders&&n?(null==t?void 0:t.get(hU))==="true":!!e.shouldPersistHeaders});f8(n,e.headers),f8(o,e.query),f8(a,e.response),f8(s,e.variables);let p=hD({storage:t,shouldPersistHeaders:c}),[f]=(0,N.useState)(()=>{var n,r,o,i,a,l,s,u,d;let f=null!==(r=null!==(n=e.query)&&void 0!==n?n:null==t?void 0:t.get(hb))&&void 0!==r?r:null,h=null!==(i=null!==(o=e.variables)&&void 0!==o?o:null==t?void 0:t.get(hq))&&void 0!==i?i:null,m=null!==(l=null!==(a=e.headers)&&void 0!==a?a:null==t?void 0:t.get(hd))&&void 0!==l?l:null,v=null!==(s=e.response)&&void 0!==s?s:"",g=hx({query:f,variables:h,headers:m,defaultTabs:e.defaultTabs,defaultQuery:e.defaultQuery||hZ,defaultHeaders:e.defaultHeaders,storage:t,shouldPersistHeaders:c});return p(g),{query:null!==(u=null!=f?f:0===g.activeTabIndex?g.tabs[0].query:null)&&void 0!==u?u:"",variables:null!=h?h:"",headers:null!==(d=null!=m?m:e.defaultHeaders)&&void 0!==d?d:"",response:v,tabState:g}}),[h,m]=(0,N.useState)(f.tabState),v=(0,N.useCallback)(e=>{if(e){var r;null==t||t.set(hd,null!==(r=null==n?void 0:n.getValue())&&void 0!==r?r:"");let e=hA(h,!0);null==t||t.set(hV,e)}else null==t||t.set(hd,""),hI(t);d(e),null==t||t.set(hU,e.toString())},[t,h,n]),g=(0,N.useRef)();(0,N.useEffect)(()=>{let t=!!e.shouldPersistHeaders;(null==g?void 0:g.current)!==t&&(v(t),g.current=t)},[e.shouldPersistHeaders,v]);let y=hT({queryEditor:o,variableEditor:s,headerEditor:n,responseEditor:a}),b=hO({queryEditor:o,variableEditor:s,headerEditor:n,responseEditor:a}),{onTabChange:E,defaultHeaders:x,children:C}=e,w=(0,N.useCallback)(()=>{m(e=>{let t=y(e),n={tabs:[...t.tabs,hR({headers:x})],activeTabIndex:t.tabs.length};return p(n),b(n.tabs[n.activeTabIndex]),null==E||E(n),n})},[x,E,b,p,y]),k=(0,N.useCallback)(e=>{m(t=>{let n={...t,activeTabIndex:e};return p(n),b(n.tabs[n.activeTabIndex]),null==E||E(n),n})},[E,b,p]),S=(0,N.useCallback)(e=>{m(t=>{let n=t.tabs[t.activeTabIndex],r={tabs:e,activeTabIndex:e.indexOf(n)};return p(r),b(r.tabs[r.activeTabIndex]),null==E||E(r),r})},[E,b,p]),_=(0,N.useCallback)(e=>{m(t=>{let n={tabs:t.tabs.filter((t,n)=>e!==n),activeTabIndex:Math.max(t.activeTabIndex-1,0)};return p(n),b(n.tabs[n.activeTabIndex]),null==E||E(n),n})},[E,b,p]),T=(0,N.useCallback)(e=>{m(t=>{let n=hL(t,e);return p(n),null==E||E(n),n})},[E,p]),{onEditOperationName:A}=e,D=(0,N.useCallback)(e=>{o&&(o.operationName=e,T({operationName:e}),null==A||A(e))},[A,o,T]),O=(0,N.useMemo)(()=>{let t=new Map;if(Array.isArray(e.externalFragments))for(let n of e.externalFragments)t.set(n.name.value,n);else if("string"==typeof e.externalFragments)(0,U.Vn)((0,B.Qc)(e.externalFragments,{}),{FragmentDefinition(e){t.set(e.name.value,e)}});else if(e.externalFragments)throw Error("The `externalFragments` prop must either be a string that contains the fragment definitions in SDL or a list of FragmentDefinitionNode objects.");return t},[e.externalFragments]),R=(0,N.useMemo)(()=>e.validationRules||[],[e.validationRules]),M=(0,N.useMemo)(()=>({...h,addTab:w,changeTab:k,moveTab:S,closeTab:_,updateActiveTabValues:T,headerEditor:n,queryEditor:o,responseEditor:a,variableEditor:s,setHeaderEditor:r,setQueryEditor:i,setResponseEditor:l,setVariableEditor:u,setOperationName:D,initialQuery:f.query,initialVariables:f.variables,initialHeaders:f.headers,initialResponse:f.response,externalFragments:O,validationRules:R,shouldPersistHeaders:c,setShouldPersistHeaders:v}),[h,w,k,S,_,T,n,o,a,s,D,f,O,R,c,v]);return(0,L.jsx)(hz.Provider,{value:M,children:C})}dH(hH,"EditorContextProvider");let hB=dU(hz),hU="shouldPersistHeaders",hZ='# Welcome to GraphiQL\n#\n# GraphiQL is an in-browser tool for writing, validating, and\n# testing GraphQL queries.\n#\n# Type queries into this side of the screen, and you will see intelligent\n# typeaheads aware of the current GraphQL type schema and live syntax and\n# validation errors highlighted within the text.\n#\n# GraphQL queries typically start with a "{" character. Lines that start\n# with a # are ignored.\n#\n# An example GraphQL query might look like:\n#\n# {\n# field(arg: "value") {\n# subField\n# }\n# }\n#\n# Keyboard shortcuts:\n#\n# Prettify query: Shift-Ctrl-P (or press the prettify button)\n#\n# Merge fragments: Shift-Ctrl-M (or press the merge button)\n#\n# Run Query: Ctrl-Enter (or press the play button)\n#\n# Auto Complete: Ctrl-Space (or just start typing)\n#\n\n';function hG(e){let{isHidden:t,...n}=e,{headerEditor:r}=hB({nonNull:!0,caller:hG}),o=hc(n,hG);return(0,N.useEffect)(()=>{t||null==r||r.refresh()},[r,t]),(0,L.jsx)("div",{className:P("graphiql-editor",t&&"hidden"),ref:o})}function hW(e){var t;let[n,r]=(0,N.useState)({width:null,height:null}),[o,i]=(0,N.useState)(null),a=(0,N.useRef)(null),l=null==(t=hK(e.token))?void 0:t.href;(0,N.useEffect)(()=>{if(a.current){if(!l){r({width:null,height:null}),i(null);return}fetch(l,{method:"HEAD"}).then(e=>{i(e.headers.get("Content-Type"))}).catch(()=>{i(null)})}},[l]);let s=null!==n.width&&null!==n.height?(0,L.jsxs)("div",{children:[n.width,"x",n.height,null===o?null:" "+o]}):null;return(0,L.jsxs)("div",{children:[(0,L.jsx)("img",{onLoad:()=>{var e,t,n,o;r({width:null!==(n=null==(e=a.current)?void 0:e.naturalWidth)&&void 0!==n?n:null,height:null!==(o=null==(t=a.current)?void 0:t.naturalHeight)&&void 0!==o?o:null})},ref:a,src:l}),s]})}function hK(e){if("string"!==e.type)return;let t=e.string.slice(1).slice(0,-1).trim();try{let{location:e}=window;return new URL(t,e.protocol+"//"+e.host)}catch(e){return}}function hQ(e){return/(bmp|gif|jpeg|jpg|png|svg)$/.test(e.pathname)}function hY(e){let t=hh(e,hY);return(0,L.jsx)("div",{className:"graphiql-editor",ref:t})}function h$(){let{responseTooltip:e,editorTheme:t=fh,keyMap:r=fm}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,{fetchError:i,validationErrors:a}=fC({nonNull:!0,caller:o||h$}),{initialResponse:l,responseEditor:s,setResponseEditor:u}=hB({nonNull:!0,caller:o||h$}),c=(0,N.useRef)(null),d=(0,N.useRef)(e);return(0,N.useEffect)(()=>{d.current=e},[e]),(0,N.useEffect)(()=>{let e=!0;return fg([Promise.all([n.e(6623),n.e(6163)]).then(n.bind(n,6163)).then(e=>e.f),Promise.all([n.e(6623),n.e(5253)]).then(n.bind(n,45253)).then(e=>e.b),Promise.all([n.e(6623),n.e(6442)]).then(n.bind(n,46442)).then(e=>e.d),Promise.all([n.e(6623),n.e(720)]).then(n.bind(n,80720)).then(e=>e.s),Promise.all([n.e(6623),n.e(9557)]).then(n.bind(n,49557)).then(e=>e.s),Promise.all([n.e(6623),n.e(9336)]).then(n.bind(n,89336)).then(e=>e.j),Promise.all([n.e(6623),n.e(2650)]).then(n.bind(n,42650)).then(e=>e.s),Promise.all([n.e(6623),n.e(7979)]).then(n.bind(n,37979)),Promise.all([n.e(6623),n.e(7604)]).then(n.bind(n,77604))],{useCommonAddons:!1}).then(n=>{if(!e)return;let r=document.createElement("div");n.registerHelper("info","graphql-results",(e,t,n,o)=>{let i=[],a=d.current;return a&&i.push((0,L.jsx)(a,{pos:o,token:e})),hW.shouldRender(e)&&i.push((0,L.jsx)(hW,{token:e},"image-preview")),i.length?(eE.render(i,r),r):(eE.unmountComponentAtNode(r),null)});let o=c.current;o&&u(n(o,{value:l,lineWrapping:!0,readOnly:!0,theme:t,mode:"graphql-results",foldGutter:!0,gutters:["CodeMirror-foldgutter"],info:!0,extraKeys:fv}))}),()=>{e=!1}},[t,l,u]),f7(s,"keyMap",r),(0,N.useEffect)(()=>{i&&(null==s||s.setValue(i)),a.length>0&&(null==s||s.setValue(J(a)))},[s,i,a]),c}function hJ(e){let t=h$(e,hJ);return(0,L.jsx)("section",{className:"result-window","aria-label":"Result Window","aria-live":"polite","aria-atomic":"true",ref:t})}function hX(e){let{isHidden:t,...n}=e,{variableEditor:r}=hB({nonNull:!0,caller:hX}),o=hj(n,hX);return(0,N.useEffect)(()=>{r&&!t&&r.refresh()},[r,t]),(0,L.jsx)("div",{className:P("graphiql-editor",t&&"hidden"),ref:o})}function h0(e){let{children:t,dangerouslyAssumeSchemaIsValid:n,defaultQuery:r,defaultHeaders:o,defaultTabs:i,externalFragments:a,fetcher:l,getDefaultFieldNames:s,headers:u,inputValueDeprecation:c,introspectionQueryName:d,maxHistoryLength:p,onEditOperationName:f,onSchemaChange:h,onTabChange:m,onTogglePluginVisibility:v,operationName:g,plugins:y,query:b,response:E,schema:x,schemaDescription:C,shouldPersistHeaders:w,storage:k,validationRules:S,variables:_,visiblePlugin:T}=e;return(0,L.jsx)(dG,{storage:k,children:(0,L.jsx)(fo,{maxHistoryLength:p,children:(0,L.jsx)(hH,{defaultQuery:r,defaultHeaders:o,defaultTabs:i,externalFragments:a,headers:u,onEditOperationName:f,onTabChange:m,query:b,response:E,shouldPersistHeaders:w,validationRules:S,variables:_,children:(0,L.jsx)(fx,{dangerouslyAssumeSchemaIsValid:n,fetcher:l,inputValueDeprecation:c,introspectionQueryName:d,onSchemaChange:h,schema:x,schemaDescription:C,children:(0,L.jsx)(fd,{getDefaultFieldNames:s,fetcher:l,operationName:g,children:(0,L.jsx)(fT,{children:(0,L.jsx)(f3,{onTogglePluginVisibility:v,plugins:y,visiblePlugin:T,children:t})})})})})})})}function h1(){let e=dW(),[t,n]=(0,N.useState)(()=>{if(!e)return null;let t=e.get(h2);switch(t){case"light":return"light";case"dark":return"dark";default:return"string"==typeof t&&e.set(h2,""),null}});(0,N.useLayoutEffect)(()=>{document.body.classList.remove("graphiql-light","graphiql-dark"),t&&document.body.classList.add("graphiql-".concat(t))},[t]);let r=(0,N.useCallback)(t=>{null==e||e.set(h2,t||""),n(t)},[e]);return(0,N.useMemo)(()=>({theme:t,setTheme:r}),[t,r])}dH(hG,"HeaderEditor"),dH(hW,"ImagePreview"),hW.shouldRender=dH(function(e){let t=hK(e);return!!t&&hQ(t)},"shouldRender"),dH(hK,"tokenToURL"),dH(hQ,"isImageURL"),dH(hY,"QueryEditor"),dH(h$,"useResponseEditor"),dH(hJ,"ResponseEditor"),dH(hX,"VariableEditor"),dH(h0,"GraphiQLProvider"),dH(h1,"useTheme");let h2="theme";function h5(e){let{defaultSizeRelation:t=h3,direction:n,initiallyHidden:r,onHiddenElementChange:o,sizeThresholdFirst:i=100,sizeThresholdSecond:a=100,storageKey:l}=e,s=dW(),u=(0,N.useMemo)(()=>fq(500,e=>{l&&(null==s||s.set(l,e))}),[s,l]),[c,d]=(0,N.useState)(()=>{let e=l&&(null==s?void 0:s.get(l));return e===h6||"first"===r?"first":e===h4||"second"===r?"second":null}),p=(0,N.useCallback)(e=>{e!==c&&(d(e),null==o||o(e))},[c,o]),f=(0,N.useRef)(null),h=(0,N.useRef)(null),m=(0,N.useRef)(null),v=(0,N.useRef)("".concat(t));(0,N.useLayoutEffect)(()=>{let e=l&&(null==s?void 0:s.get(l))||v.current;f.current&&(f.current.style.display="flex",f.current.style.flex=e===h6||e===h4?v.current:e),m.current&&(m.current.style.display="flex",m.current.style.flex="1"),h.current&&(h.current.style.display="flex")},[n,s,l]);let g=(0,N.useCallback)(e=>{let t="first"===e?f.current:m.current;if(t&&(t.style.left="-1000px",t.style.position="absolute",t.style.opacity="0",t.style.height="500px",t.style.width="500px",f.current)){let e=parseFloat(f.current.style.flex);(!Number.isFinite(e)||e<1)&&(f.current.style.flex="1")}},[]),y=(0,N.useCallback)(e=>{let t="first"===e?f.current:m.current;if(t&&(t.style.width="",t.style.height="",t.style.opacity="",t.style.position="",t.style.left="",s&&l)){let e=s.get(l);f.current&&e!==h6&&e!==h4&&(f.current.style.flex=e||v.current)}},[s,l]);return(0,N.useLayoutEffect)(()=>{"first"===c?g("first"):y("first"),"second"===c?g("second"):y("second")},[c,g,y]),(0,N.useEffect)(()=>{if(!h.current||!f.current||!m.current)return;let e=h.current,t=f.current,r=t.parentElement,o="horizontal"===n?"clientX":"clientY",l="horizontal"===n?"left":"top",s="horizontal"===n?"right":"bottom",c="horizontal"===n?"clientWidth":"clientHeight";function d(n){n.preventDefault();let d=n[o]-e.getBoundingClientRect()[l];function f(n){if(0===n.buttons)return h();let f=n[o]-r.getBoundingClientRect()[l]-d,m=r.getBoundingClientRect()[s]-n[o]+d-e[c];if(f<i)p("first"),u(h6);else if(m<a)p("second"),u(h4);else{p(null);let e="".concat(f/m);t.style.flex=e,u(e)}}function h(){document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",h)}dH(f,"handleMouseMove"),dH(h,"handleMouseUp"),document.addEventListener("mousemove",f),document.addEventListener("mouseup",h)}function g(){f.current&&(f.current.style.flex=v.current),u(v.current),p(null)}return dH(d,"handleMouseDown"),e.addEventListener("mousedown",d),dH(g,"reset"),e.addEventListener("dblclick",g),()=>{e.removeEventListener("mousedown",d),e.removeEventListener("dblclick",g)}},[n,p,i,a,u]),(0,N.useMemo)(()=>({dragBarRef:h,hiddenElement:c,firstRef:f,setHiddenElement:d,secondRef:m}),[c,d])}dH(h5,"useDragResize");let h3=1,h6="hide-first",h4="hide-second",h9=(0,N.forwardRef)((e,t)=>{let{label:n,onClick:r,...o}=e,[i,a]=(0,N.useState)(null),l=(0,N.useCallback)(e=>{try{null==r||r(e),a(null)}catch(e){a(e instanceof Error?e:Error("Toolbar button click failed: ".concat(e)))}},[r]);return(0,L.jsx)(p9,{label:n,children:(0,L.jsx)(pW,{...o,ref:t,type:"button",className:P("graphiql-toolbar-button",i&&"error",o.className),onClick:l,"aria-label":i?i.message:n,"aria-invalid":i?"true":o["aria-invalid"]})})});function h8(){let{queryEditor:e,setOperationName:t}=hB({nonNull:!0,caller:h8}),{isFetching:n,isSubscribed:r,operationName:o,run:i,stop:a}=fp({nonNull:!0,caller:h8}),l=(null==e?void 0:e.operations)||[],s=l.length>1&&"string"!=typeof o,u=n||r,c="".concat(u?"Stop":"Execute"," query (Ctrl-Enter)"),d={type:"button",className:"graphiql-execute-button",children:u?(0,L.jsx)(pB,{}):(0,L.jsx)(pP,{}),"aria-label":c};return s&&!u?(0,L.jsxs)(p2,{children:[(0,L.jsx)(p9,{label:c,children:(0,L.jsx)(p2.Button,{...d})}),(0,L.jsx)(p2.Content,{children:l.map((n,r)=>{let o=n.name?n.name.value:"<Unnamed ".concat(n.operation,">");return(0,L.jsx)(p2.Item,{onSelect:()=>{var r;let o=null==(r=n.name)?void 0:r.value;e&&o&&o!==e.operationName&&t(o),i()},children:o},"".concat(o,"-").concat(r))})})]}):(0,L.jsx)(p9,{label:c,children:(0,L.jsx)("button",{...d,onClick:()=>{u?a():i()}})})}h9.displayName="ToolbarButton",dH(h8,"ExecuteButton"),pY(dH(e=>{let{button:t,children:n,label:r,...o}=e;return(0,L.jsxs)(p2,{...o,children:[(0,L.jsx)(p9,{label:r,children:(0,L.jsx)(p2.Button,{className:P("graphiql-un-styled graphiql-toolbar-menu",o.className),"aria-label":r,children:t})}),(0,L.jsx)(p2.Content,{children:n})]})},"ToolbarMenuRoot"),{Item:p2.Item})},22671:function(e,t,n){n.r(t),n.d(t,{BREAK:function(){return eg.$_},BreakingChangeType:function(){return tG},DEFAULT_DEPRECATION_REASON:function(){return C.SY},DangerousChangeType:function(){return tW},DirectiveLocation:function(){return ey.B},ExecutableDefinitionsRule:function(){return eR.i},FieldsOnCorrectTypeRule:function(){return eL.A},FragmentsOnCompositeTypesRule:function(){return eN.T},GraphQLBoolean:function(){return ec.EZ},GraphQLDeprecatedDirective:function(){return C.fg},GraphQLDirective:function(){return C.NZ},GraphQLEnumType:function(){return w.mR},GraphQLError:function(){return y._},GraphQLFloat:function(){return ec.av},GraphQLID:function(){return ec.km},GraphQLIncludeDirective:function(){return C.Yf},GraphQLInputObjectType:function(){return w.sR},GraphQLInt:function(){return ec._o},GraphQLInterfaceType:function(){return w.oW},GraphQLList:function(){return w.p2},GraphQLNonNull:function(){return w.bM},GraphQLObjectType:function(){return w.h6},GraphQLScalarType:function(){return w.n2},GraphQLSchema:function(){return eu.XO},GraphQLSkipDirective:function(){return C.QE},GraphQLSpecifiedByDirective:function(){return C.df},GraphQLString:function(){return ec.kH},GraphQLUnionType:function(){return w.Gp},Kind:function(){return E.Kind},KnownArgumentNamesRule:function(){return eM.e},KnownDirectivesRule:function(){return eP.J},KnownFragmentNamesRule:function(){return eI.a},KnownTypeNamesRule:function(){return eF.I},Lexer:function(){return em.h},Location:function(){return ed.Ye},LoneAnonymousOperationRule:function(){return eV.F},LoneSchemaDefinitionRule:function(){return e5.t},NoDeprecatedCustomRule:function(){return te.r},NoFragmentCyclesRule:function(){return ej.H},NoSchemaIntrospectionCustomRule:function(){return eA},NoUndefinedVariablesRule:function(){return eq.$},NoUnusedFragmentsRule:function(){return ez.J},NoUnusedVariablesRule:function(){return eH.p},OverlappingFieldsCanBeMergedRule:function(){return eB.y},PossibleFragmentSpreadsRule:function(){return eU.a},PossibleTypeExtensionsRule:function(){return e7.g},ProvidedRequiredArgumentsRule:function(){return eZ.s},ScalarLeafsRule:function(){return eG.O},SchemaMetaFieldDef:function(){return x.Az},SingleFieldSubscriptionsRule:function(){return eW.Z},Source:function(){return ep.H},Token:function(){return ed.WU},TokenKind:function(){return ev.T},TypeInfo:function(){return t4.a},TypeKind:function(){return x.zU},TypeMetaFieldDef:function(){return x.tF},TypeNameMetaFieldDef:function(){return x.hU},UniqueArgumentNamesRule:function(){return eK.L},UniqueDirectiveNamesRule:function(){return e8.o},UniqueDirectivesPerLocationRule:function(){return eQ.k},UniqueEnumValueNamesRule:function(){return e4.L},UniqueFieldDefinitionNamesRule:function(){return e9.y},UniqueFragmentNamesRule:function(){return eY.N},UniqueInputFieldNamesRule:function(){return e$.P},UniqueOperationNamesRule:function(){return eJ.H},UniqueOperationTypesRule:function(){return e3.q},UniqueTypeNamesRule:function(){return e6.P},UniqueVariableNamesRule:function(){return eX.H},ValidationContext:function(){return eD._t},ValuesOfCorrectTypeRule:function(){return e0.j},VariablesAreInputTypesRule:function(){return e1.I},VariablesInAllowedPositionRule:function(){return e2.w},__Directive:function(){return x.l3},__DirectiveLocation:function(){return x.x2},__EnumValue:function(){return x.jT},__Field:function(){return x.e_},__InputValue:function(){return x.XQ},__Schema:function(){return x.TK},__Type:function(){return x.qz},__TypeKind:function(){return x.PX},assertAbstractType:function(){return w.fU},assertCompositeType:function(){return w.M_},assertDirective:function(){return C.CO},assertEnumType:function(){return w.Zu},assertInputObjectType:function(){return w.U8},assertInputType:function(){return w.qT},assertInterfaceType:function(){return w.k2},assertLeafType:function(){return w.H5},assertListType:function(){return w.kS},assertNamedType:function(){return w.rM},assertNonNullType:function(){return w.E$},assertNullableType:function(){return w.i_},assertObjectType:function(){return w.Z6},assertOutputType:function(){return w.Gt},assertScalarType:function(){return w.Pt},assertSchema:function(){return eu.EO},assertType:function(){return w.p_},assertUnionType:function(){return w.rc},assertValidName:function(){return t8.k},assertValidSchema:function(){return c.J},assertWrappingType:function(){return w.vX},astFromValue:function(){return tT.J},buildASTSchema:function(){return tg},buildClientSchema:function(){return t3.Z},buildSchema:function(){return ty},coerceInputValue:function(){return M},concatAST:function(){return tq},createSourceEventStream:function(){return eT},defaultFieldResolver:function(){return eo},defaultTypeResolver:function(){return er},doTypesOverlap:function(){return t9.zR},execute:function(){return j},executeSync:function(){return q},extendSchema:function(){return td},findBreakingChanges:function(){return tK},findDangerousChanges:function(){return tQ},findDeprecatedUsages:function(){return t5},formatError:function(){return tt},getDescription:function(){return tv},getDirectiveValues:function(){return F},getIntrospectionQuery:function(){return to.K},getLocation:function(){return ef.k},getNamedType:function(){return w.xC},getNullableType:function(){return w.tf},getOperationAST:function(){return tr},getOperationRootType:function(){return S},getVisitFn:function(){return eg.CK},graphql:function(){return ea},graphqlSync:function(){return el},introspectionFromSchema:function(){return ta},introspectionTypes:function(){return x.nL},isAbstractType:function(){return w.m0},isCompositeType:function(){return w.Gv},isDefinitionNode:function(){return eb.Ir},isDirective:function(){return C.wX},isEnumType:function(){return w.EM},isEqualType:function(){return t9._7},isExecutableDefinitionNode:function(){return eb.Wk},isInputObjectType:function(){return w.hL},isInputType:function(){return w.j$},isInterfaceType:function(){return w.oT},isIntrospectionType:function(){return x.s9},isLeafType:function(){return w.UT},isListType:function(){return w.HG},isNamedType:function(){return w.Zs},isNonNullType:function(){return w.zM},isNullableType:function(){return w.zP},isObjectType:function(){return w.lp},isOutputType:function(){return w.SZ},isRequiredArgument:function(){return w.dK},isRequiredInputField:function(){return w.Wd},isScalarType:function(){return w.KA},isSchema:function(){return eu.nN},isSelectionNode:function(){return eb.pO},isSpecifiedDirective:function(){return C.xg},isSpecifiedScalarType:function(){return ec.u1},isType:function(){return w.P9},isTypeDefinitionNode:function(){return eb.zT},isTypeExtensionNode:function(){return eb.D$},isTypeNode:function(){return eb.VB},isTypeSubTypeOf:function(){return t9.uJ},isTypeSystemDefinitionNode:function(){return eb.G4},isTypeSystemExtensionNode:function(){return eb.aU},isUnionType:function(){return w.EN},isValidNameError:function(){return t8.u},isValueNode:function(){return eb.nr},isWrappingType:function(){return w.fw},lexicographicSortSchema:function(){return tw},locatedError:function(){return b.y},parse:function(){return s.Qc},parseType:function(){return s.gZ},parseValue:function(){return s.H2},print:function(){return D.S},printError:function(){return y.O},printIntrospectionSchema:function(){return tD},printLocation:function(){return eh.Q},printSchema:function(){return tA},printSourceLocation:function(){return eh.z},printType:function(){return tL},responsePathAsArray:function(){return g},separateOperations:function(){return tz},specifiedDirectives:function(){return C.V4},specifiedRules:function(){return eO.i},specifiedScalarTypes:function(){return ec.HS},stripIgnoredCharacters:function(){return tB},subscribe:function(){return ek},syntaxError:function(){return tn.h},typeFromAST:function(){return k._},validate:function(){return u.Gu},validateSchema:function(){return c.F},valueFromAST:function(){return O.u},valueFromASTUntyped:function(){return t6.M},version:function(){return i},versionInfo:function(){return a},visit:function(){return eg.Vn},visitInParallel:function(){return eg.j1},visitWithTypeInfo:function(){return t4.y}});var r,o,i="15.8.0",a=Object.freeze({major:15,minor:8,patch:0,preReleaseTag:null});function l(e){return"function"==typeof(null==e?void 0:e.then)}var s=n(57921),u=n(81454),c=n(6874),d=n(78617),p=n(94974),f=n(3332),h=n(51761),m=n(98019);function v(e,t,n){return{prev:e,key:t,typename:n}}function g(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}var y=n(37708),b=n(44645),E=n(11258),x=n(98589),C=n(96095),w=n(15298),k=n(30800);function S(e,t){if("query"===t.operation){var n=e.getQueryType();if(!n)throw new y._("Schema does not define the required query root type.",t);return n}if("mutation"===t.operation){var r=e.getMutationType();if(!r)throw new y._("Schema is not configured for mutations.",t);return r}if("subscription"===t.operation){var o=e.getSubscriptionType();if(!o)throw new y._("Schema is not configured for subscriptions.",t);return o}throw new y._("Can only have query, mutation and subscription operations.",t)}var _=n(16118),T=n(56848);function A(e){return e.map(function(e){return"number"==typeof e?"["+e.toString()+"]":"."+e}).join("")}var D=n(79186),O=n(76619),R=n(35696),L=n(3723),N=n(71341);function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P;return function e(t,n,r,o){if((0,w.zM)(n))return null!=t?e(t,n.ofType,r,o):void r(g(o),t,new y._('Expected non-nullable type "'.concat((0,d.Z)(n),'" not to be null.')));if(null==t)return null;if((0,w.HG)(n)){var i,a=n.ofType,l=(0,m.Z)(t,function(t,n){return e(t,a,r,v(o,n,void 0))});return null!=l?l:[e(t,a,r,o)]}if((0,w.hL)(n)){if(!(0,h.Z)(t)){r(g(o),t,new y._('Expected type "'.concat(n.name,'" to be an object.')));return}for(var s={},u=n.getFields(),c=0,f=(0,R.Z)(u);c<f.length;c++){var b=f[c],E=t[b.name];if(void 0===E){if(void 0!==b.defaultValue)s[b.name]=b.defaultValue;else if((0,w.zM)(b.type)){var x=(0,d.Z)(b.type);r(g(o),t,new y._('Field "'.concat(b.name,'" of required type "').concat(x,'" was not provided.')))}continue}s[b.name]=e(E,b.type,r,v(o,b.name,n.name))}for(var C=0,k=Object.keys(t);C<k.length;C++){var S=k[C];if(!u[S]){var _=(0,N.Z)(S,Object.keys(n.getFields()));r(g(o),t,new y._('Field "'.concat(S,'" is not defined by type "').concat(n.name,'".')+(0,L.Z)(_)))}}return s}if((0,w.UT)(n)){try{i=n.parseValue(t)}catch(e){e instanceof y._?r(g(o),t,e):r(g(o),t,new y._('Expected type "'.concat(n.name,'". ')+e.message,void 0,void 0,void 0,void 0,e));return}return void 0===i&&r(g(o),t,new y._('Expected type "'.concat(n.name,'".'))),i}(0,p.Z)(0,"Unexpected input type: "+(0,d.Z)(n))}(e,t,n)}function P(e,t,n){var r="Invalid value "+(0,d.Z)(t);throw e.length>0&&(r+=' at "value'.concat(A(e),'"')),n.message=r+": "+n.message,n}function I(e,t,n){for(var r,o={},i=null!==(r=t.arguments)&&void 0!==r?r:[],a=(0,T.Z)(i,function(e){return e.name.value}),l=0,s=e.args;l<s.length;l++){var u=s[l],c=u.name,p=u.type,f=a[c];if(!f){if(void 0!==u.defaultValue)o[c]=u.defaultValue;else if((0,w.zM)(p))throw new y._('Argument "'.concat(c,'" of required type "').concat((0,d.Z)(p),'" ')+"was not provided.",t);continue}var h=f.value,m=h.kind===E.Kind.NULL;if(h.kind===E.Kind.VARIABLE){var v=h.name.value;if(null==n||!V(n,v)){if(void 0!==u.defaultValue)o[c]=u.defaultValue;else if((0,w.zM)(p))throw new y._('Argument "'.concat(c,'" of required type "').concat((0,d.Z)(p),'" ')+'was provided the variable "$'.concat(v,'" which was not provided a runtime value.'),h);continue}m=null==n[v]}if(m&&(0,w.zM)(p))throw new y._('Argument "'.concat(c,'" of non-null type "').concat((0,d.Z)(p),'" ')+"must not be null.",h);var g=(0,O.u)(h,p,n);if(void 0===g)throw new y._('Argument "'.concat(c,'" has invalid value ').concat((0,D.S)(h),"."),h);o[c]=g}return o}function F(e,t,n){var r=t.directives&&(0,_.Z)(t.directives,function(t){return t.name.value===e.name});if(r)return I(e,r,n)}function V(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function j(e,t,n,r,o,i,a,l){return 1==arguments.length?z(e):z({schema:e,document:t,rootValue:n,contextValue:r,variableValues:o,operationName:i,fieldResolver:a,typeResolver:l})}function q(e){var t=z(e);if(l(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function z(e){var t=e.schema,n=e.document,r=e.rootValue,o=e.contextValue,i=e.variableValues,a=e.operationName,s=e.fieldResolver,u=e.typeResolver;H(t,n,i);var c=B(t,n,r,o,i,a,s,u);if(Array.isArray(c))return{errors:c};var d=function(e,t,n){var r=S(e.schema,t),o=Z(e,r,t.selectionSet,Object.create(null),Object.create(null)),i=void 0;try{var a,s,u,c="mutation"===t.operation?(a=Object.keys(o),s=function(t,a){var s=o[a],u=v(i,a,r.name),c=K(e,r,n,s,u);return void 0===c?t:l(c)?c.then(function(e){return t[a]=e,t}):(t[a]=c,t)},u=Object.create(null),a.reduce(function(e,t){return l(e)?e.then(function(e){return s(e,t)}):s(e,t)},u)):U(e,r,n,i,o);if(l(c))return c.then(void 0,function(t){return e.errors.push(t),Promise.resolve(null)});return c}catch(t){return e.errors.push(t),null}}(c,c.operation,r);return function e(t,n){return l(n)?n.then(function(n){return e(t,n)}):0===t.errors.length?{data:n}:{errors:t.errors,data:n}}(c,d)}function H(e,t,n){t||(0,f.Z)(0,"Must provide document."),(0,c.J)(e),null==n||(0,h.Z)(n)||(0,f.Z)(0,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function B(e,t,n,r,o,i,a,l){for(var s,u,c,p=Object.create(null),f=0,h=t.definitions;f<h.length;f++){var m=h[f];switch(m.kind){case E.Kind.OPERATION_DEFINITION:if(null==i){if(void 0!==c)return[new y._("Must provide operation name if query contains multiple operations.")];c=m}else(null===(s=m.name)||void 0===s?void 0:s.value)===i&&(c=m);break;case E.Kind.FRAGMENT_DEFINITION:p[m.name.value]=m}}if(!c)return null!=i?[new y._('Unknown operation named "'.concat(i,'".'))]:[new y._("Must provide an operation.")];var v=function(e,t,n,r){var o=[],i=null==r?void 0:r.maxErrors;try{var a=function(e,t,n,r){for(var o={},i=0;i<t.length;i++)if("continue"===function(i){var a=t[i],l=a.variable.name.value,s=(0,k._)(e,a.type);if(!(0,w.j$)(s)){var u=(0,D.S)(a.type);return r(new y._('Variable "$'.concat(l,'" expected value of type "').concat(u,'" which cannot be used as an input type.'),a.type)),"continue"}if(!V(n,l)){if(a.defaultValue)o[l]=(0,O.u)(a.defaultValue,s);else if((0,w.zM)(s)){var c=(0,d.Z)(s);r(new y._('Variable "$'.concat(l,'" of required type "').concat(c,'" was not provided.'),a))}return"continue"}var p=n[l];if(null===p&&(0,w.zM)(s)){var f=(0,d.Z)(s);return r(new y._('Variable "$'.concat(l,'" of non-null type "').concat(f,'" must not be null.'),a)),"continue"}o[l]=M(p,s,function(e,t,n){var o='Variable "$'.concat(l,'" got invalid value ')+(0,d.Z)(t);e.length>0&&(o+=' at "'.concat(l).concat(A(e),'"')),r(new y._(o+"; "+n.message,a,void 0,void 0,void 0,n.originalError))})}(i))continue;return o}(e,t,n,function(e){if(null!=i&&o.length>=i)throw new y._("Too many errors processing variables, error limit reached. Execution aborted.");o.push(e)});if(0===o.length)return{coerced:a}}catch(e){o.push(e)}return{errors:o}}(e,null!==(u=c.variableDefinitions)&&void 0!==u?u:[],null!=o?o:{},{maxErrors:50});return v.errors?v.errors:{schema:e,fragments:p,rootValue:n,contextValue:r,operation:c,variableValues:v.coerced,fieldResolver:null!=a?a:eo,typeResolver:null!=l?l:er,errors:[]}}function U(e,t,n,r,o){for(var i,a=Object.create(null),s=!1,u=0,c=Object.keys(o);u<c.length;u++){var d=c[u],p=o[d],f=v(r,d,t.name),h=K(e,t,n,p,f);void 0!==h&&(a[d]=h,l(h)&&(s=!0))}return s?Promise.all((i=Object.keys(a)).map(function(e){return a[e]})).then(function(e){return e.reduce(function(e,t,n){return e[i[n]]=t,e},Object.create(null))}):a}function Z(e,t,n,r,o){for(var i=0,a=n.selections;i<a.length;i++){var l=a[i];switch(l.kind){case E.Kind.FIELD:if(!G(e,l))continue;var s=l.alias?l.alias.value:l.name.value;r[s]||(r[s]=[]),r[s].push(l);break;case E.Kind.INLINE_FRAGMENT:if(!G(e,l)||!W(e,l,t))continue;Z(e,t,l.selectionSet,r,o);break;case E.Kind.FRAGMENT_SPREAD:var u=l.name.value;if(o[u]||!G(e,l))continue;o[u]=!0;var c=e.fragments[u];if(!c||!W(e,c,t))continue;Z(e,t,c.selectionSet,r,o)}}return r}function G(e,t){var n=F(C.QE,t,e.variableValues);if((null==n?void 0:n.if)===!0)return!1;var r=F(C.Yf,t,e.variableValues);return(null==r?void 0:r.if)!==!1}function W(e,t,n){var r=t.typeCondition;if(!r)return!0;var o=(0,k._)(e.schema,r);return o===n||!!(0,w.m0)(o)&&e.schema.isSubType(o,n)}function K(e,t,n,r,o){var i=r[0].name.value,a=ei(e.schema,t,i);if(a){var s=a.type,u=null!==(d=a.resolve)&&void 0!==d?d:e.fieldResolver,c=Q(e,a,r,t,o);try{var d,p,f=I(a,r[0],e.variableValues),h=e.contextValue,m=u(n,f,h,c);if(p=l(m)?m.then(function(t){return $(e,s,r,c,o,t)}):$(e,s,r,c,o,m),l(p))return p.then(void 0,function(t){var n=(0,b.y)(t,r,g(o));return Y(n,s,e)});return p}catch(t){return Y((0,b.y)(t,r,g(o)),s,e)}}}function Q(e,t,n,r,o){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:o,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function Y(e,t,n){if((0,w.zM)(t))throw e;return n.errors.push(e),null}function $(e,t,n,r,o,i){if(i instanceof Error)throw i;if((0,w.zM)(t)){var a,s,u=$(e,t.ofType,n,r,o,i);if(null===u)throw Error("Cannot return null for non-nullable field ".concat(r.parentType.name,".").concat(r.fieldName,"."));return u}return null==i?null:(0,w.HG)(t)?function(e,t,n,r,o,i){var a=t.ofType,s=!1,u=(0,m.Z)(i,function(t,i){var u,c=v(o,i,void 0);try{if(u=l(t)?t.then(function(t){return $(e,a,n,r,c,t)}):$(e,a,n,r,c,t),l(u))return s=!0,u.then(void 0,function(t){var r=(0,b.y)(t,n,g(c));return Y(r,a,e)});return u}catch(t){return Y((0,b.y)(t,n,g(c)),a,e)}});if(null==u)throw new y._('Expected Iterable, but did not find one for field "'.concat(r.parentType.name,".").concat(r.fieldName,'".'));return s?Promise.all(u):u}(e,t,n,r,o,i):(0,w.UT)(t)?function(e,t){var n=e.serialize(t);if(void 0===n)throw Error('Expected a value of type "'.concat((0,d.Z)(e),'" but ')+"received: ".concat((0,d.Z)(t)));return n}(t,i):(0,w.m0)(t)?l(s=(null!==(a=t.resolveType)&&void 0!==a?a:e.typeResolver)(i,e.contextValue,r,t))?s.then(function(a){return X(e,J(a,e,t,n,r,i),n,r,o,i)}):X(e,J(s,e,t,n,r,i),n,r,o,i):(0,w.lp)(t)?X(e,t,n,r,o,i):void(0,p.Z)(0,"Cannot complete value of unexpected output type: "+(0,d.Z)(t))}function J(e,t,n,r,o,i){if(null==e)throw new y._('Abstract type "'.concat(n.name,'" must resolve to an Object type at runtime for field "').concat(o.parentType.name,".").concat(o.fieldName,'". Either the "').concat(n.name,'" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.'),r);var a=(0,w.Zs)(e)?e.name:e;if("string"!=typeof a)throw new y._('Abstract type "'.concat(n.name,'" must resolve to an Object type at runtime for field "').concat(o.parentType.name,".").concat(o.fieldName,'" with ')+"value ".concat((0,d.Z)(i),', received "').concat((0,d.Z)(e),'".'));var l=t.schema.getType(a);if(null==l)throw new y._('Abstract type "'.concat(n.name,'" was resolve to a type "').concat(a,'" that does not exist inside schema.'),r);if(!(0,w.lp)(l))throw new y._('Abstract type "'.concat(n.name,'" was resolve to a non-object type "').concat(a,'".'),r);if(!t.schema.isSubType(n,l))throw new y._('Runtime Object type "'.concat(l.name,'" is not a possible type for "').concat(n.name,'".'),r);return l}function X(e,t,n,r,o,i){if(t.isTypeOf){var a=t.isTypeOf(i,e.contextValue,r);if(l(a))return a.then(function(r){if(!r)throw ee(t,i,n);return et(e,t,n,o,i)});if(!a)throw ee(t,i,n)}return et(e,t,n,o,i)}function ee(e,t,n){return new y._('Expected value of type "'.concat(e.name,'" but got: ').concat((0,d.Z)(t),"."),n)}function et(e,t,n,r,o){var i=en(e,t,n);return U(e,t,o,r,i)}var en=(r=function(e,t,n){for(var r=Object.create(null),o=Object.create(null),i=0;i<n.length;i++){var a=n[i];a.selectionSet&&(r=Z(e,t,a.selectionSet,r,o))}return r},function(e,t,n){o||(o=new WeakMap);var i,a=o.get(e);if(a){if(i=a.get(t)){var l=i.get(n);if(void 0!==l)return l}}else a=new WeakMap,o.set(e,a);i||(i=new WeakMap,a.set(t,i));var s=r(e,t,n);return i.set(n,s),s}),er=function(e,t,n,r){if((0,h.Z)(e)&&"string"==typeof e.__typename)return e.__typename;for(var o=n.schema.getPossibleTypes(r),i=[],a=0;a<o.length;a++){var s=o[a];if(s.isTypeOf){var u=s.isTypeOf(e,t,n);if(l(u))i[a]=u;else if(u)return s.name}}if(i.length)return Promise.all(i).then(function(e){for(var t=0;t<e.length;t++)if(e[t])return o[t].name})},eo=function(e,t,n,r){if((0,h.Z)(e)||"function"==typeof e){var o=e[r.fieldName];return"function"==typeof o?e[r.fieldName](t,n,r):o}};function ei(e,t,n){return n===x.Az.name&&e.getQueryType()===t?x.Az:n===x.tF.name&&e.getQueryType()===t?x.tF:n===x.hU.name?x.hU:t.getFields()[n]}function ea(e,t,n,r,o,i,a,l){var s=arguments;return new Promise(function(u){return u(1===s.length?es(e):es({schema:e,source:t,rootValue:n,contextValue:r,variableValues:o,operationName:i,fieldResolver:a,typeResolver:l}))})}function el(e,t,n,r,o,i,a,s){var u=1==arguments.length?es(e):es({schema:e,source:t,rootValue:n,contextValue:r,variableValues:o,operationName:i,fieldResolver:a,typeResolver:s});if(l(u))throw Error("GraphQL execution failed to complete synchronously.");return u}function es(e){var t,n=e.schema,r=e.source,o=e.rootValue,i=e.contextValue,a=e.variableValues,l=e.operationName,d=e.fieldResolver,p=e.typeResolver,f=(0,c.F)(n);if(f.length>0)return{errors:f};try{t=(0,s.Qc)(r)}catch(e){return{errors:[e]}}var h=(0,u.Gu)(n,t);return h.length>0?{errors:h}:j({schema:n,document:t,rootValue:o,contextValue:i,variableValues:a,operationName:l,fieldResolver:d,typeResolver:p})}var eu=n(12788),ec=n(52996),ed=n(68246),ep=n(55310),ef=n(14930),eh=n(43299),em=n(25056),ev=n(43709),eg=n(33954),ey=n(34749),eb=n(93715),eE=n(78729);function ex(e){return"function"==typeof(null==e?void 0:e[eE.PA])}function eC(e,t){return new Promise(function(n){return n(t(e))})}function ew(e){return{value:e,done:!1}}function ek(e,t,n,r,o,i,a,l){return 1==arguments.length?e_(e):e_({schema:e,document:t,rootValue:n,contextValue:r,variableValues:o,operationName:i,fieldResolver:a,subscribeFieldResolver:l})}function eS(e){if(e instanceof y._)return{errors:[e]};throw e}function e_(e){var t=e.schema,n=e.document,r=e.rootValue,o=e.contextValue,i=e.variableValues,a=e.operationName,l=e.fieldResolver,s=eT(t,n,r,o,i,a,e.subscribeFieldResolver),u=function(e){return j({schema:t,document:n,rootValue:e,contextValue:o,variableValues:i,operationName:a,fieldResolver:l})};return s.then(function(e){return ex(e)?function(e,t,n){var r,o,i,a,l,s,u=e[eE.PA].call(e);function c(e){return e.done?e:eC(e.value,t).then(ew,o)}return"function"==typeof u.return&&(r=u.return,o=function(e){var t=function(){return Promise.reject(e)};return r.call(u).then(t,t)}),n&&(i=function(e){return eC(e,n).then(ew,o)}),a={next:function(){return u.next().then(c,i)},return:function(){return r?r.call(u).then(c,i):Promise.resolve({value:void 0,done:!0})},throw:function(e){return"function"==typeof u.throw?u.throw(e).then(c,i):Promise.reject(e).catch(o)}},l=eE.PA,s=function(){return this},l in a?Object.defineProperty(a,l,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[l]=s,a}(e,u,eS):e})}function eT(e,t,n,r,o,i,a){return H(e,t,o),new Promise(function(l){var s=B(e,t,n,r,o,i,a);l(Array.isArray(s)?{errors:s}:function(e){var t=e.schema,n=e.operation,r=e.variableValues,o=e.rootValue,i=S(t,n),a=Z(e,i,n.selectionSet,Object.create(null),Object.create(null)),l=Object.keys(a)[0],s=a[l],u=s[0].name.value,c=ei(t,i,u);if(!c)throw new y._('The subscription field "'.concat(u,'" is not defined.'),s);var p=v(void 0,l,i.name),f=Q(e,c,s,i,p);return new Promise(function(t){var n,i=I(c,s[0],r),a=e.contextValue;t((null!==(n=c.subscribe)&&void 0!==n?n:e.fieldResolver)(o,i,a,f))}).then(function(e){if(e instanceof Error)throw(0,b.y)(e,s,g(p));if(!ex(e))throw Error("Subscription field must return Async Iterable. "+"Received: ".concat((0,d.Z)(e),"."));return e},function(e){throw(0,b.y)(e,s,g(p))})}(s))}).catch(eS)}function eA(e){return{Field:function(t){var n=(0,w.xC)(e.getType());n&&(0,x.s9)(n)&&e.reportError(new y._('GraphQL introspection has been disabled, but the requested query contained the field "'.concat(t.name.value,'".'),t))}}}var eD=n(73574),eO=n(92933),eR=n(33815),eL=n(37444),eN=n(13202),eM=n(52663),eP=n(72808),eI=n(29283),eF=n(84336),eV=n(8537),ej=n(66685),eq=n(36202),ez=n(19593),eH=n(22587),eB=n(44444),eU=n(89383),eZ=n(97681),eG=n(68400),eW=n(86168),eK=n(73991),eQ=n(27288),eY=n(5428),e$=n(52267),eJ=n(73632),eX=n(68308),e0=n(1314),e1=n(17588),e2=n(64039),e5=n(85246),e3=n(89330),e6=n(91723),e4=n(11897),e9=n(26780),e8=n(46872),e7=n(93924),te=n(83413);function tt(e){e||(0,f.Z)(0,"Received null or undefined error.");var t,n=null!==(t=e.message)&&void 0!==t?t:"An unknown error occurred.",r=e.locations,o=e.path,i=e.extensions;return i&&Object.keys(i).length>0?{message:n,locations:r,path:o,extensions:i}:{message:n,locations:r,path:o}}var tn=n(64724);function tr(e,t){for(var n=null,r=0,o=e.definitions;r<o.length;r++){var i,a=o[r];if(a.kind===E.Kind.OPERATION_DEFINITION){if(null==t){if(n)return null;n=a}else if((null===(i=a.name)||void 0===i?void 0:i.value)===t)return a}}return n}var to=n(6022);function ti(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ta(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ti(Object(n),!0).forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ti(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0},t),r=q({schema:e,document:(0,s.Qc)((0,to.K)(n))});return!r.errors&&r.data||(0,p.Z)(0),r.data}var tl=n(49848),ts=n(58549);function tu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tu(Object(n),!0).forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function td(e,t,n){(0,eu.EO)(e),null!=t&&t.kind===E.Kind.DOCUMENT||(0,f.Z)(0,"Must provide valid Document AST."),(null==n?void 0:n.assumeValid)!==!0&&(null==n?void 0:n.assumeValidSDL)!==!0&&(0,u.ED)(t,e);var r=e.toConfig(),o=tp(r,t,n);return r===o?e:new eu.XO(o)}function tp(e,t,n){for(var r=[],o=Object.create(null),i=[],a=[],l=0,s=t.definitions;l<s.length;l++){var u=s[l];if(u.kind===E.Kind.SCHEMA_DEFINITION)T=u;else if(u.kind===E.Kind.SCHEMA_EXTENSION)a.push(u);else if((0,eb.zT)(u))r.push(u);else if((0,eb.D$)(u)){var c=u.name.value,f=o[c];o[c]=f?f.concat([u]):[u]}else u.kind===E.Kind.DIRECTIVE_DEFINITION&&i.push(u)}if(0===Object.keys(o).length&&0===r.length&&0===i.length&&0===a.length&&null==T)return e;for(var h=Object.create(null),m=0,v=e.types;m<v.length;m++){var g=v[m];h[g.name]=(0,x.s9)(g)||(0,ec.u1)(g)?g:(0,w.KA)(g)?function(e){for(var t,n,r=e.toConfig(),i=null!==(t=o[r.name])&&void 0!==t?t:[],a=r.specifiedByUrl,l=0;l<i.length;l++)a=null!==(n=tm(i[l]))&&void 0!==n?n:a;return new w.n2(tc(tc({},r),{},{specifiedByUrl:a,extensionASTNodes:r.extensionASTNodes.concat(i)}))}(g):(0,w.lp)(g)?function(e){var t,n=e.toConfig(),r=null!==(t=o[n.name])&&void 0!==t?t:[];return new w.h6(tc(tc({},n),{},{interfaces:function(){return[].concat(e.getInterfaces().map(P),Z(r))},fields:function(){return tc(tc({},(0,tl.Z)(n.fields,I)),z(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(g):(0,w.oT)(g)?function(e){var t,n=e.toConfig(),r=null!==(t=o[n.name])&&void 0!==t?t:[];return new w.oW(tc(tc({},n),{},{interfaces:function(){return[].concat(e.getInterfaces().map(P),Z(r))},fields:function(){return tc(tc({},(0,tl.Z)(n.fields,I)),z(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(g):(0,w.EN)(g)?function(e){var t,n=e.toConfig(),r=null!==(t=o[n.name])&&void 0!==t?t:[];return new w.Gp(tc(tc({},n),{},{types:function(){return[].concat(e.getTypes().map(P),G(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(g):(0,w.EM)(g)?function(e){var t,n=e.toConfig(),r=null!==(t=o[e.name])&&void 0!==t?t:[];return new w.mR(tc(tc({},n),{},{values:tc(tc({},n.values),U(r)),extensionASTNodes:n.extensionASTNodes.concat(r)}))}(g):(0,w.hL)(g)?function(e){var t,n=e.toConfig(),r=null!==(t=o[n.name])&&void 0!==t?t:[];return new w.sR(tc(tc({},n),{},{fields:function(){return tc(tc({},(0,tl.Z)(n.fields,function(e){return tc(tc({},e),{},{type:M(e.type)})})),B(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(g):void(0,p.Z)(0,"Unexpected type: "+(0,d.Z)(g))}for(var y=0;y<r.length;y++){var b,k,S,_,T,A,D=r[y],L=D.name.value;h[L]=null!==(A=tf[L])&&void 0!==A?A:function(e){var t,r=e.name.value,i=tv(e,n),a=null!==(t=o[r])&&void 0!==t?t:[];switch(e.kind){case E.Kind.OBJECT_TYPE_DEFINITION:var l=[e].concat(a);return new w.h6({name:r,description:i,interfaces:function(){return Z(l)},fields:function(){return z(l)},astNode:e,extensionASTNodes:a});case E.Kind.INTERFACE_TYPE_DEFINITION:var s=[e].concat(a);return new w.oW({name:r,description:i,interfaces:function(){return Z(s)},fields:function(){return z(s)},astNode:e,extensionASTNodes:a});case E.Kind.ENUM_TYPE_DEFINITION:var u=[e].concat(a);return new w.mR({name:r,description:i,values:U(u),astNode:e,extensionASTNodes:a});case E.Kind.UNION_TYPE_DEFINITION:var c=[e].concat(a);return new w.Gp({name:r,description:i,types:function(){return G(c)},astNode:e,extensionASTNodes:a});case E.Kind.SCALAR_TYPE_DEFINITION:return new w.n2({name:r,description:i,specifiedByUrl:tm(e),astNode:e,extensionASTNodes:a});case E.Kind.INPUT_OBJECT_TYPE_DEFINITION:var f=[e].concat(a);return new w.sR({name:r,description:i,fields:function(){return B(f)},astNode:e,extensionASTNodes:a})}(0,p.Z)(0,"Unexpected type definition node: "+(0,d.Z)(e))}(D)}var N=tc(tc({query:e.query&&P(e.query),mutation:e.mutation&&P(e.mutation),subscription:e.subscription&&P(e.subscription)},T&&V([T])),V(a));return tc(tc({description:null===(b=T)||void 0===b?void 0:null===(k=b.description)||void 0===k?void 0:k.value},N),{},{types:(0,R.Z)(h),directives:[].concat(e.directives.map(function(e){var t=e.toConfig();return new C.NZ(tc(tc({},t),{},{args:(0,tl.Z)(t.args,F)}))}),i.map(function(e){var t=e.locations.map(function(e){return e.value});return new C.NZ({name:e.name.value,description:tv(e,n),locations:t,isRepeatable:e.repeatable,args:H(e.arguments),astNode:e})})),extensions:void 0,astNode:null!==(S=T)&&void 0!==S?S:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(a),assumeValid:null!==(_=null==n?void 0:n.assumeValid)&&void 0!==_&&_});function M(e){return(0,w.HG)(e)?new w.p2(M(e.ofType)):(0,w.zM)(e)?new w.bM(M(e.ofType)):P(e)}function P(e){return h[e.name]}function I(e){return tc(tc({},e),{},{type:M(e.type),args:(0,tl.Z)(e.args,F)})}function F(e){return tc(tc({},e),{},{type:M(e.type)})}function V(e){for(var t={},n=0;n<e.length;n++)for(var r,o=null!==(r=e[n].operationTypes)&&void 0!==r?r:[],i=0;i<o.length;i++){var a=o[i];t[a.operation]=j(a.type)}return t}function j(e){var t,n=e.name.value,r=null!==(t=tf[n])&&void 0!==t?t:h[n];if(void 0===r)throw Error('Unknown type: "'.concat(n,'".'));return r}function q(e){return e.kind===E.Kind.LIST_TYPE?new w.p2(q(e.type)):e.kind===E.Kind.NON_NULL_TYPE?new w.bM(q(e.type)):j(e)}function z(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var o,i=null!==(o=e[r].fields)&&void 0!==o?o:[],a=0;a<i.length;a++){var l=i[a];t[l.name.value]={type:q(l.type),description:tv(l,n),args:H(l.arguments),deprecationReason:th(l),astNode:l}}return t}function H(e){for(var t=null!=e?e:[],r=Object.create(null),o=0;o<t.length;o++){var i=t[o],a=q(i.type);r[i.name.value]={type:a,description:tv(i,n),defaultValue:(0,O.u)(i.defaultValue,a),deprecationReason:th(i),astNode:i}}return r}function B(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var o,i=null!==(o=e[r].fields)&&void 0!==o?o:[],a=0;a<i.length;a++){var l=i[a],s=q(l.type);t[l.name.value]={type:s,description:tv(l,n),defaultValue:(0,O.u)(l.defaultValue,s),deprecationReason:th(l),astNode:l}}return t}function U(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var o,i=null!==(o=e[r].values)&&void 0!==o?o:[],a=0;a<i.length;a++){var l=i[a];t[l.name.value]={description:tv(l,n),deprecationReason:th(l),astNode:l}}return t}function Z(e){for(var t=[],n=0;n<e.length;n++)for(var r,o=null!==(r=e[n].interfaces)&&void 0!==r?r:[],i=0;i<o.length;i++){var a=o[i];t.push(j(a))}return t}function G(e){for(var t=[],n=0;n<e.length;n++)for(var r,o=null!==(r=e[n].types)&&void 0!==r?r:[],i=0;i<o.length;i++){var a=o[i];t.push(j(a))}return t}}var tf=(0,T.Z)(ec.HS.concat(x.nL),function(e){return e.name});function th(e){var t=F(C.fg,e);return null==t?void 0:t.reason}function tm(e){var t=F(C.df,e);return null==t?void 0:t.url}function tv(e,t){if(e.description)return e.description.value;if((null==t?void 0:t.commentDescriptions)===!0){var n=function(e){var t=e.loc;if(t){for(var n=[],r=t.startToken.prev;null!=r&&r.kind===ev.T.COMMENT&&r.next&&r.prev&&r.line+1===r.next.line&&r.line!==r.prev.line;){var o=String(r.value);n.push(o),r=r.prev}return n.length>0?n.reverse().join("\n"):void 0}}(e);if(void 0!==n)return(0,ts.W7)("\n"+n)}}function tg(e,t){null!=e&&e.kind===E.Kind.DOCUMENT||(0,f.Z)(0,"Must provide valid Document AST."),(null==t?void 0:t.assumeValid)!==!0&&(null==t?void 0:t.assumeValidSDL)!==!0&&(0,u.zo)(e);var n=tp({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode)for(var r=0,o=n.types;r<o.length;r++){var i=o[r];switch(i.name){case"Query":n.query=i;break;case"Mutation":n.mutation=i;break;case"Subscription":n.subscription=i}}for(var a=n.directives,l=0;l<C.V4.length;l++)!function(e){var t=C.V4[e];a.every(function(e){return e.name!==t.name})&&a.push(t)}(l);return new eu.XO(n)}function ty(e,t){return tg((0,s.Qc)(e,{noLocation:null==t?void 0:t.noLocation,allowLegacySDLEmptyFields:null==t?void 0:t.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:null==t?void 0:t.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:null==t?void 0:t.experimentalFragmentVariables}),{commentDescriptions:null==t?void 0:t.commentDescriptions,assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}var tb=n(37977),tE=n(60398);function tx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tx(Object(n),!0).forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tw(e){var t,n,r,o=e.toConfig(),i=(0,tb.Z)(tS(o.types),function(e){return e.name},function(e){if((0,w.KA)(e)||(0,x.s9)(e))return e;if((0,w.lp)(e)){var t=e.toConfig();return new w.h6(tC(tC({},t),{},{interfaces:function(){return c(t.interfaces)},fields:function(){return u(t.fields)}}))}if((0,w.oT)(e)){var n=e.toConfig();return new w.oW(tC(tC({},n),{},{interfaces:function(){return c(n.interfaces)},fields:function(){return u(n.fields)}}))}if((0,w.EN)(e)){var r=e.toConfig();return new w.Gp(tC(tC({},r),{},{types:function(){return c(r.types)}}))}if((0,w.EM)(e)){var o=e.toConfig();return new w.mR(tC(tC({},o),{},{values:tk(o.values)}))}if((0,w.hL)(e)){var i=e.toConfig();return new w.sR(tC(tC({},i),{},{fields:function(){return tk(i.fields,function(e){return tC(tC({},e),{},{type:a(e.type)})})}}))}(0,p.Z)(0,"Unexpected type: "+(0,d.Z)(e))});return new eu.XO(tC(tC({},o),{},{types:(0,R.Z)(i),directives:tS(o.directives).map(function(e){var t=e.toConfig();return new C.NZ(tC(tC({},t),{},{locations:t_(t.locations,function(e){return e}),args:s(t.args)}))}),query:(t=o.query)&&l(t),mutation:(n=o.mutation)&&l(n),subscription:(r=o.subscription)&&l(r)}));function a(e){return(0,w.HG)(e)?new w.p2(a(e.ofType)):(0,w.zM)(e)?new w.bM(a(e.ofType)):l(e)}function l(e){return i[e.name]}function s(e){return tk(e,function(e){return tC(tC({},e),{},{type:a(e.type)})})}function u(e){return tk(e,function(e){return tC(tC({},e),{},{type:a(e.type),args:s(e.args)})})}function c(e){return tS(e).map(l)}}function tk(e,t){for(var n=Object.create(null),r=t_(Object.keys(e),function(e){return e}),o=0;o<r.length;o++){var i=r[o],a=e[i];n[i]=t?t(a):a}return n}function tS(e){return t_(e,function(e){return e.name})}function t_(e,t){return e.slice().sort(function(e,n){var r=t(e),o=t(n);return(0,tE.Z)(r,o)})}var tT=n(93925);function tA(e,t){return tR(e,function(e){return!(0,C.xg)(e)},tO,t)}function tD(e,t){return tR(e,C.xg,x.s9,t)}function tO(e){return!(0,ec.u1)(e)&&!(0,x.s9)(e)}function tR(e,t,n,r){var o=e.getDirectives().filter(t),i=(0,R.Z)(e.getTypeMap()).filter(n);return[function(e){if(!(null==e.description&&function(e){var t=e.getQueryType();if(t&&"Query"!==t.name)return!1;var n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;var r=e.getSubscriptionType();return!r||"Subscription"===r.name}(e))){var t=[],n=e.getQueryType();n&&t.push(" query: ".concat(n.name));var r=e.getMutationType();r&&t.push(" mutation: ".concat(r.name));var o=e.getSubscriptionType();return o&&t.push(" subscription: ".concat(o.name)),tj({},e)+"schema {\n".concat(t.join("\n"),"\n}")}}(e)].concat(o.map(function(e){return tj(r,e)+"directive @"+e.name+tI(r,e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}),i.map(function(e){return tL(e,r)})).filter(Boolean).join("\n\n")+"\n"}function tL(e,t){var n,r,o,i;return(0,w.KA)(e)?tj(t,e)+"scalar ".concat(e.name)+function(e){if(null==e.specifiedByUrl)return"";var t=e.specifiedByUrl,n=(0,tT.J)(t,ec.kH);return n||(0,p.Z)(0,"Unexpected null value returned from `astFromValue` for specifiedByUrl")," @specifiedBy(url: "+(0,D.S)(n)+")"}(e):(0,w.lp)(e)?tj(t,e)+"type ".concat(e.name)+tN(e)+tM(t,e):(0,w.oT)(e)?tj(t,e)+"interface ".concat(e.name)+tN(e)+tM(t,e):(0,w.EN)(e)?(r=(n=e.getTypes()).length?" = "+n.join(" | "):"",tj(t,e)+"union "+e.name+r):(0,w.EM)(e)?(o=e.getValues().map(function(e,n){return tj(t,e," ",!n)+" "+e.name+tV(e.deprecationReason)}),tj(t,e)+"enum ".concat(e.name)+tP(o)):(0,w.hL)(e)?(i=(0,R.Z)(e.getFields()).map(function(e,n){return tj(t,e," ",!n)+" "+tF(e)}),tj(t,e)+"input ".concat(e.name)+tP(i)):void(0,p.Z)(0,"Unexpected type: "+(0,d.Z)(e))}function tN(e){var t=e.getInterfaces();return t.length?" implements "+t.map(function(e){return e.name}).join(" & "):""}function tM(e,t){return tP((0,R.Z)(t.getFields()).map(function(t,n){return tj(e,t," ",!n)+" "+t.name+tI(e,t.args," ")+": "+String(t.type)+tV(t.deprecationReason)}))}function tP(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function tI(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return 0===t.length?"":t.every(function(e){return!e.description})?"("+t.map(tF).join(", ")+")":"(\n"+t.map(function(t,r){return tj(e,t," "+n,!r)+" "+n+tF(t)}).join("\n")+"\n"+n+")"}function tF(e){var t=(0,tT.J)(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=" = ".concat((0,D.S)(t))),n+tV(e.deprecationReason)}function tV(e){if(null==e)return"";var t=(0,tT.J)(e,ec.kH);return t&&e!==C.SY?" @deprecated(reason: "+(0,D.S)(t)+")":" @deprecated"}function tj(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=!(arguments.length>3)||void 0===arguments[3]||arguments[3],i=t.description;if(null==i)return"";if((null==e?void 0:e.commentDescriptions)===!0)return n=i.split("\n").map(function(e){return r+(""!==e?"# "+e:"#")}).join("\n"),(r&&!o?"\n":"")+n+"\n";var a=i.length>70;return(r&&!o?"\n"+r:r)+(0,ts.LZ)(i,"",a).replace(/\n/g,"\n"+r)+"\n"}function tq(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t=t.concat(r.definitions)}return{kind:"Document",definitions:t}}function tz(e){for(var t=[],n=Object.create(null),r=0,o=e.definitions;r<o.length;r++){var i=o[r];switch(i.kind){case E.Kind.OPERATION_DEFINITION:t.push(i);break;case E.Kind.FRAGMENT_DEFINITION:n[i.name.value]=tH(i.selectionSet)}}for(var a=Object.create(null),l=0;l<t.length;l++)!function(r){for(var o=t[r],i=new Set,l=0,s=tH(o.selectionSet);l<s.length;l++)!function e(t,n,r){if(!t.has(r)){t.add(r);var o=n[r];if(void 0!==o)for(var i=0;i<o.length;i++)e(t,n,o[i])}}(i,n,s[l]);a[o.name?o.name.value:""]={kind:E.Kind.DOCUMENT,definitions:e.definitions.filter(function(e){return e===o||e.kind===E.Kind.FRAGMENT_DEFINITION&&i.has(e.name.value)})}}(l);return a}function tH(e){var t=[];return(0,eg.Vn)(e,{FragmentSpread:function(e){t.push(e.name.value)}}),t}function tB(e){for(var t=(0,ep.T)(e)?e:new ep.H(e),n=t.body,r=new em.h(t),o="",i=!1;r.advance().kind!==ev.T.EOF;){var a=r.token,l=a.kind,s=!(0,em.u)(a.kind);i&&(s||a.kind===ev.T.SPREAD)&&(o+=" ");var u=n.slice(a.start,a.end);l===ev.T.BLOCK_STRING?o+=function(e){var t=e.slice(3,-3),n=(0,ts.W7)(t);(0,ts.Z2)(n)>0&&(n="\n"+n);var r=n[n.length-1];return('"'===r&&'\\"""'!==n.slice(-4)||"\\"===r)&&(n+="\n"),'"""'+n+'"""'}(u):o+=u,i=s}return o}function tU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tU(Object(n),!0).forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var tG=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",IMPLEMENTED_INTERFACE_REMOVED:"IMPLEMENTED_INTERFACE_REMOVED",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_REPEATABLE_REMOVED:"DIRECTIVE_REPEATABLE_REMOVED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"}),tW=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",IMPLEMENTED_INTERFACE_ADDED:"IMPLEMENTED_INTERFACE_ADDED",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"});function tK(e,t){return tY(e,t).filter(function(e){return e.type in tG})}function tQ(e,t){return tY(e,t).filter(function(e){return e.type in tW})}function tY(e,t){return[].concat(function(e,t){for(var n=[],r=t2((0,R.Z)(e.getTypeMap()),(0,R.Z)(t.getTypeMap())),o=0,i=r.removed;o<i.length;o++){var a=i[o];n.push({type:tG.TYPE_REMOVED,description:(0,ec.u1)(a)?"Standard scalar ".concat(a.name," was removed because it is not referenced anymore."):"".concat(a.name," was removed.")})}for(var l=0,s=r.persisted;l<s.length;l++){var u=s[l],c=u[0],d=u[1];(0,w.EM)(c)&&(0,w.EM)(d)?n.push.apply(n,function(e,t){for(var n=[],r=t2(e.getValues(),t.getValues()),o=0,i=r.added;o<i.length;o++){var a=i[o];n.push({type:tW.VALUE_ADDED_TO_ENUM,description:"".concat(a.name," was added to enum type ").concat(e.name,".")})}for(var l=0,s=r.removed;l<s.length;l++){var u=s[l];n.push({type:tG.VALUE_REMOVED_FROM_ENUM,description:"".concat(u.name," was removed from enum type ").concat(e.name,".")})}return n}(c,d)):(0,w.EN)(c)&&(0,w.EN)(d)?n.push.apply(n,function(e,t){for(var n=[],r=t2(e.getTypes(),t.getTypes()),o=0,i=r.added;o<i.length;o++){var a=i[o];n.push({type:tW.TYPE_ADDED_TO_UNION,description:"".concat(a.name," was added to union type ").concat(e.name,".")})}for(var l=0,s=r.removed;l<s.length;l++){var u=s[l];n.push({type:tG.TYPE_REMOVED_FROM_UNION,description:"".concat(u.name," was removed from union type ").concat(e.name,".")})}return n}(c,d)):(0,w.hL)(c)&&(0,w.hL)(d)?n.push.apply(n,function(e,t){for(var n=[],r=t2((0,R.Z)(e.getFields()),(0,R.Z)(t.getFields())),o=0,i=r.added;o<i.length;o++){var a=i[o];(0,w.Wd)(a)?n.push({type:tG.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(a.name," on input type ").concat(e.name," was added.")}):n.push({type:tW.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(a.name," on input type ").concat(e.name," was added.")})}for(var l=0,s=r.removed;l<s.length;l++){var u=s[l];n.push({type:tG.FIELD_REMOVED,description:"".concat(e.name,".").concat(u.name," was removed.")})}for(var c=0,d=r.persisted;c<d.length;c++){var p=d[c],f=p[0],h=p[1];tX(f.type,h.type)||n.push({type:tG.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(f.name," changed type from ")+"".concat(String(f.type)," to ").concat(String(h.type),".")})}return n}(c,d)):(0,w.lp)(c)&&(0,w.lp)(d)?n.push.apply(n,tJ(c,d).concat(t$(c,d))):(0,w.oT)(c)&&(0,w.oT)(d)?n.push.apply(n,tJ(c,d).concat(t$(c,d))):c.constructor!==d.constructor&&n.push({type:tG.TYPE_CHANGED_KIND,description:"".concat(c.name," changed from ")+"".concat(t0(c)," to ").concat(t0(d),".")})}return n}(e,t),function(e,t){for(var n=[],r=t2(e.getDirectives(),t.getDirectives()),o=0,i=r.removed;o<i.length;o++){var a=i[o];n.push({type:tG.DIRECTIVE_REMOVED,description:"".concat(a.name," was removed.")})}for(var l=0,s=r.persisted;l<s.length;l++){for(var u=s[l],c=u[0],d=u[1],p=t2(c.args,d.args),f=0,h=p.added;f<h.length;f++){var m=h[f];(0,w.dK)(m)&&n.push({type:tG.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(m.name," on directive ").concat(c.name," was added.")})}for(var v=0,g=p.removed;v<g.length;v++){var y=g[v];n.push({type:tG.DIRECTIVE_ARG_REMOVED,description:"".concat(y.name," was removed from ").concat(c.name,".")})}c.isRepeatable&&!d.isRepeatable&&n.push({type:tG.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(c.name,".")});for(var b=0,E=c.locations;b<E.length;b++){var x=E[b];-1===d.locations.indexOf(x)&&n.push({type:tG.DIRECTIVE_LOCATION_REMOVED,description:"".concat(x," was removed from ").concat(c.name,".")})}}return n}(e,t))}function t$(e,t){for(var n=[],r=t2(e.getInterfaces(),t.getInterfaces()),o=0,i=r.added;o<i.length;o++){var a=i[o];n.push({type:tW.IMPLEMENTED_INTERFACE_ADDED,description:"".concat(a.name," added to interfaces implemented by ").concat(e.name,".")})}for(var l=0,s=r.removed;l<s.length;l++){var u=s[l];n.push({type:tG.IMPLEMENTED_INTERFACE_REMOVED,description:"".concat(e.name," no longer implements interface ").concat(u.name,".")})}return n}function tJ(e,t){for(var n=[],r=t2((0,R.Z)(e.getFields()),(0,R.Z)(t.getFields())),o=0,i=r.removed;o<i.length;o++){var a=i[o];n.push({type:tG.FIELD_REMOVED,description:"".concat(e.name,".").concat(a.name," was removed.")})}for(var l=0,s=r.persisted;l<s.length;l++){var u=s[l],c=u[0],d=u[1];n.push.apply(n,function(e,t,n){for(var r=[],o=t2(t.args,n.args),i=0,a=o.removed;i<a.length;i++){var l=a[i];r.push({type:tG.ARG_REMOVED,description:"".concat(e.name,".").concat(t.name," arg ").concat(l.name," was removed.")})}for(var s=0,u=o.persisted;s<u.length;s++){var c=u[s],d=c[0],p=c[1];if(tX(d.type,p.type)){if(void 0!==d.defaultValue){if(void 0===p.defaultValue)r.push({type:tW.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," defaultValue was removed.")});else{var f=t1(d.defaultValue,d.type),h=t1(p.defaultValue,p.type);f!==h&&r.push({type:tW.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," has changed defaultValue from ").concat(f," to ").concat(h,".")})}}}else r.push({type:tG.ARG_CHANGED_KIND,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," has changed type from ")+"".concat(String(d.type)," to ").concat(String(p.type),".")})}for(var m=0,v=o.added;m<v.length;m++){var g=v[m];(0,w.dK)(g)?r.push({type:tG.REQUIRED_ARG_ADDED,description:"A required arg ".concat(g.name," on ").concat(e.name,".").concat(t.name," was added.")}):r.push({type:tW.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(g.name," on ").concat(e.name,".").concat(t.name," was added.")})}return r}(e,c,d)),!function e(t,n){return(0,w.HG)(t)?(0,w.HG)(n)&&e(t.ofType,n.ofType)||(0,w.zM)(n)&&e(t,n.ofType):(0,w.zM)(t)?(0,w.zM)(n)&&e(t.ofType,n.ofType):(0,w.Zs)(n)&&t.name===n.name||(0,w.zM)(n)&&e(t,n.ofType)}(c.type,d.type)&&n.push({type:tG.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(c.name," changed type from ")+"".concat(String(c.type)," to ").concat(String(d.type),".")})}return n}function tX(e,t){return(0,w.HG)(e)?(0,w.HG)(t)&&tX(e.ofType,t.ofType):(0,w.zM)(e)?(0,w.zM)(t)&&tX(e.ofType,t.ofType)||!(0,w.zM)(t)&&tX(e.ofType,t):(0,w.Zs)(t)&&e.name===t.name}function t0(e){return(0,w.KA)(e)?"a Scalar type":(0,w.lp)(e)?"an Object type":(0,w.oT)(e)?"an Interface type":(0,w.EN)(e)?"a Union type":(0,w.EM)(e)?"an Enum type":(0,w.hL)(e)?"an Input type":void(0,p.Z)(0,"Unexpected type: "+(0,d.Z)(e))}function t1(e,t){var n=(0,tT.J)(e,t);null!=n||(0,p.Z)(0);var r=(0,eg.Vn)(n,{ObjectValue:function(e){var t=[].concat(e.fields);return t.sort(function(e,t){return(0,tE.Z)(e.name.value,t.name.value)}),tZ(tZ({},e),{},{fields:t})}});return(0,D.S)(r)}function t2(e,t){for(var n=[],r=[],o=[],i=(0,T.Z)(e,function(e){return e.name}),a=(0,T.Z)(t,function(e){return e.name}),l=0;l<e.length;l++){var s=e[l],u=a[s.name];void 0===u?r.push(s):o.push([s,u])}for(var c=0;c<t.length;c++){var d=t[c];void 0===i[d.name]&&n.push(d)}return{added:n,persisted:o,removed:r}}function t5(e,t){return(0,u.Gu)(e,t,[te.r])}var t3=n(16671),t6=n(30212),t4=n(19327),t9=n(33891),t8=n(3639)},16671:function(e,t,n){n.d(t,{Z:function(){return m}});var r=n(35696),o=n(78617),i=n(3332),a=n(37977),l=n(51761),s=n(57921),u=n(12788),c=n(96095),d=n(52996),p=n(98589),f=n(15298),h=n(76619);function m(e,t){(0,l.Z)(e)&&(0,l.Z)(e.__schema)||(0,i.Z)(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat((0,o.Z)(e),"."));for(var n=e.__schema,m=(0,a.Z)(n.types,function(e){return e.name},function(e){return function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case p.zU.SCALAR:return new f.n2({name:e.name,description:e.description,specifiedByUrl:e.specifiedByUrl});case p.zU.OBJECT:return new f.h6({name:e.name,description:e.description,interfaces:function(){return T(e)},fields:function(){return A(e)}});case p.zU.INTERFACE:return new f.oW({name:e.name,description:e.description,interfaces:function(){return T(e)},fields:function(){return A(e)}});case p.zU.UNION:return function(e){if(!e.possibleTypes){var t=(0,o.Z)(e);throw Error("Introspection result missing possibleTypes: ".concat(t,"."))}return new f.Gp({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(S)}})}(e);case p.zU.ENUM:return function(e){if(!e.enumValues){var t=(0,o.Z)(e);throw Error("Introspection result missing enumValues: ".concat(t,"."))}return new f.mR({name:e.name,description:e.description,values:(0,a.Z)(e.enumValues,function(e){return e.name},function(e){return{description:e.description,deprecationReason:e.deprecationReason}})})}(e);case p.zU.INPUT_OBJECT:return function(e){if(!e.inputFields){var t=(0,o.Z)(e);throw Error("Introspection result missing inputFields: ".concat(t,"."))}return new f.sR({name:e.name,description:e.description,fields:function(){return O(e.inputFields)}})}(e)}var t=(0,o.Z)(e);throw Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(t,"."))}(e)}),v=0,g=[].concat(d.HS,p.nL);v<g.length;v++){var y=g[v];m[y.name]&&(m[y.name]=y)}var b=n.queryType?S(n.queryType):null,E=n.mutationType?S(n.mutationType):null,x=n.subscriptionType?S(n.subscriptionType):null,C=n.directives?n.directives.map(function(e){if(!e.args){var t=(0,o.Z)(e);throw Error("Introspection result missing directive args: ".concat(t,"."))}if(!e.locations){var n=(0,o.Z)(e);throw Error("Introspection result missing directive locations: ".concat(n,"."))}return new c.NZ({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:O(e.args)})}):[];return new u.XO({description:n.description,query:b,mutation:E,subscription:x,types:(0,r.Z)(m),directives:C,assumeValid:null==t?void 0:t.assumeValid});function w(e){if(e.kind===p.zU.LIST){var t=e.ofType;if(!t)throw Error("Decorated type deeper than introspection query.");return new f.p2(w(t))}if(e.kind===p.zU.NON_NULL){var n=e.ofType;if(!n)throw Error("Decorated type deeper than introspection query.");var r=w(n);return new f.bM((0,f.i_)(r))}return k(e)}function k(e){var t=e.name;if(!t)throw Error("Unknown type reference: ".concat((0,o.Z)(e),"."));var n=m[t];if(!n)throw Error("Invalid or incomplete schema, unknown type: ".concat(t,". Ensure that a full introspection query is used in order to build a client schema."));return n}function S(e){return(0,f.Z6)(k(e))}function _(e){return(0,f.k2)(k(e))}function T(e){if(null===e.interfaces&&e.kind===p.zU.INTERFACE)return[];if(!e.interfaces){var t=(0,o.Z)(e);throw Error("Introspection result missing interfaces: ".concat(t,"."))}return e.interfaces.map(_)}function A(e){if(!e.fields)throw Error("Introspection result missing fields: ".concat((0,o.Z)(e),"."));return(0,a.Z)(e.fields,function(e){return e.name},D)}function D(e){var t=w(e.type);if(!(0,f.SZ)(t)){var n=(0,o.Z)(t);throw Error("Introspection must provide output type for fields, but received: ".concat(n,"."))}if(!e.args){var r=(0,o.Z)(e);throw Error("Introspection result missing field args: ".concat(r,"."))}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:O(e.args)}}function O(e){return(0,a.Z)(e,function(e){return e.name},R)}function R(e){var t=w(e.type);if(!(0,f.j$)(t)){var n=(0,o.Z)(t);throw Error("Introspection must provide input type for arguments, but received: ".concat(n,"."))}var r=null!=e.defaultValue?(0,h.u)((0,s.H2)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:r,deprecationReason:e.deprecationReason}}}},6022:function(e,t,n){function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1},e),n=t.descriptions?"description":"",o=t.specifiedByUrl?"specifiedByUrl":"",i=t.directiveIsRepeatable?"isRepeatable":"",a=t.schemaDescription?n:"";function l(e){return t.inputValueDeprecation?e:""}return"\n query IntrospectionQuery {\n __schema {\n ".concat(a,"\n queryType { name }\n mutationType { name }\n subscriptionType { name }\n types {\n ...FullType\n }\n directives {\n name\n ").concat(n,"\n ").concat(i,"\n locations\n args").concat(l("(includeDeprecated: true)")," {\n ...InputValue\n }\n }\n }\n }\n\n fragment FullType on __Type {\n kind\n name\n ").concat(n,"\n ").concat(o,"\n fields(includeDeprecated: true) {\n name\n ").concat(n,"\n args").concat(l("(includeDeprecated: true)")," {\n ...InputValue\n }\n type {\n ...TypeRef\n }\n isDeprecated\n deprecationReason\n }\n inputFields").concat(l("(includeDeprecated: true)")," {\n ...InputValue\n }\n interfaces {\n ...TypeRef\n }\n enumValues(includeDeprecated: true) {\n name\n ").concat(n,"\n isDeprecated\n deprecationReason\n }\n possibleTypes {\n ...TypeRef\n }\n }\n\n fragment InputValue on __InputValue {\n name\n ").concat(n,"\n type { ...TypeRef }\n defaultValue\n ").concat(l("isDeprecated"),"\n ").concat(l("deprecationReason"),"\n }\n\n fragment TypeRef on __Type {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n ofType {\n kind\n name\n }\n }\n }\n }\n }\n }\n }\n }\n ")}n.d(t,{K:function(){return o}})},76619:function(e,t,n){n.d(t,{u:function(){return function e(t,n,c){if(t){if(t.kind===l.Kind.VARIABLE){var d,p=t.name.value;if(null==c||void 0===c[p])return;var f=c[p];if(null===f&&(0,s.zM)(n))return;return f}if((0,s.zM)(n)){if(t.kind===l.Kind.NULL)return;return e(t,n.ofType,c)}if(t.kind===l.Kind.NULL)return null;if((0,s.HG)(n)){var h=n.ofType;if(t.kind===l.Kind.LIST){for(var m=[],v=0,g=t.values;v<g.length;v++){var y=g[v];if(u(y,c)){if((0,s.zM)(h))return;m.push(null)}else{var b=e(y,h,c);if(void 0===b)return;m.push(b)}}return m}var E=e(t,h,c);if(void 0===E)return;return[E]}if((0,s.hL)(n)){if(t.kind!==l.Kind.OBJECT)return;for(var x=Object.create(null),C=(0,o.Z)(t.fields,function(e){return e.name.value}),w=0,k=(0,r.Z)(n.getFields());w<k.length;w++){var S=k[w],_=C[S.name];if(!_||u(_.value,c)){if(void 0!==S.defaultValue)x[S.name]=S.defaultValue;else if((0,s.zM)(S.type))return;continue}var T=e(_.value,S.type,c);if(void 0===T)return;x[S.name]=T}return x}if((0,s.UT)(n)){try{d=n.parseLiteral(t,c)}catch(e){return}if(void 0===d)return;return d}(0,a.Z)(0,"Unexpected input type: "+(0,i.Z)(n))}}}});var r=n(35696),o=n(56848),i=n(78617),a=n(94974),l=n(11258),s=n(15298);function u(e,t){return e.kind===l.Kind.VARIABLE&&(null==t||void 0===t[e.name.value])}},81104:function(e){e.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"А","acy":"а","AElig":"\xc6","aelig":"\xe6","af":"⁡","Afr":"\uD835\uDD04","afr":"\uD835\uDD1E","Agrave":"\xc0","agrave":"\xe0","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"\xc5","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"\uD835\uDD38","aopf":"\uD835\uDD52","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"\xc5","aring":"\xe5","Ascr":"\uD835\uDC9C","ascr":"\uD835\uDCB6","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"\uD835\uDD05","bfr":"\uD835\uDD1F","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"\uD835\uDD39","bopf":"\uD835\uDD53","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"\xa6","bscr":"\uD835\uDCB7","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"⦲","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\uD835\uDD20","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"\xae","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"\uD835\uDD54","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"\xa9","COPY":"\xa9","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"\uD835\uDC9E","cscr":"\uD835\uDCB8","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"\xa4","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"\xb0","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"\uD835\uDD07","dfr":"\uD835\uDD21","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"\xb4","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"\xa8","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"\xf7","divide":"\xf7","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"\uD835\uDD3B","dopf":"\uD835\uDD55","Dot":"\xa8","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"\xa8","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"\uD835\uDC9F","dscr":"\uD835\uDCB9","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"\xc9","eacute":"\xe9","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"\xca","ecirc":"\xea","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"\uD835\uDD08","efr":"\uD835\uDD22","eg":"⪚","Egrave":"\xc8","egrave":"\xe8","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"\uD835\uDD3C","eopf":"\uD835\uDD56","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"\uD835\uDD09","ffr":"\uD835\uDD23","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"\uD835\uDD3D","fopf":"\uD835\uDD57","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"\xbd","frac13":"⅓","frac14":"\xbc","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"\xbe","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"\uD835\uDCBB","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"\uD835\uDD0A","gfr":"\uD835\uDD24","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"\uD835\uDD3E","gopf":"\uD835\uDD58","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"\uD835\uDCA2","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"\xbd","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"\uD835\uDD25","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"\uD835\uDD59","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"\uD835\uDCBD","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"\xcd","iacute":"\xed","ic":"⁣","Icirc":"\xce","icirc":"\xee","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"\xa1","iff":"⇔","ifr":"\uD835\uDD26","Ifr":"ℑ","Igrave":"\xcc","igrave":"\xec","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"\uD835\uDD40","iopf":"\uD835\uDD5A","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"\xbf","iscr":"\uD835\uDCBE","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"\xcf","iuml":"\xef","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"\uD835\uDD0D","jfr":"\uD835\uDD27","jmath":"ȷ","Jopf":"\uD835\uDD41","jopf":"\uD835\uDD5B","Jscr":"\uD835\uDCA5","jscr":"\uD835\uDCBF","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"\uD835\uDD0E","kfr":"\uD835\uDD28","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"\uD835\uDD42","kopf":"\uD835\uDD5C","Kscr":"\uD835\uDCA6","kscr":"\uD835\uDCC0","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"\xab","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"\uD835\uDD0F","lfr":"\uD835\uDD29","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"\uD835\uDD43","lopf":"\uD835\uDD5D","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"\uD835\uDCC1","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"\xaf","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"\uD835\uDD10","mfr":"\uD835\uDD2A","mho":"℧","micro":"\xb5","midast":"*","midcir":"⫰","mid":"∣","middot":"\xb7","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"\uD835\uDD44","mopf":"\uD835\uDD5E","mp":"∓","mscr":"\uD835\uDCC2","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":"\xa0","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"\uD835\uDD11","nfr":"\uD835\uDD2B","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":"\xa0","nopf":"\uD835\uDD5F","Nopf":"ℕ","Not":"⫬","not":"\xac","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"\uD835\uDCA9","nscr":"\uD835\uDCC3","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"\xd3","oacute":"\xf3","oast":"⊛","Ocirc":"\xd4","ocirc":"\xf4","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"\uD835\uDD12","ofr":"\uD835\uDD2C","ogon":"˛","Ograve":"\xd2","ograve":"\xf2","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"\uD835\uDD46","oopf":"\uD835\uDD60","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"\xaa","ordm":"\xba","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"\uD835\uDCAA","oscr":"ℴ","Oslash":"\xd8","oslash":"\xf8","osol":"⊘","Otilde":"\xd5","otilde":"\xf5","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"\xd6","ouml":"\xf6","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"\xb6","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"\uD835\uDD13","pfr":"\uD835\uDD2D","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"⨦","plustwo":"⨧","pm":"\xb1","Poincareplane":"ℌ","pointint":"⨕","popf":"\uD835\uDD61","Popf":"ℙ","pound":"\xa3","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"\uD835\uDCAB","pscr":"\uD835\uDCC5","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"\uD835\uDD14","qfr":"\uD835\uDD2E","qint":"⨌","qopf":"\uD835\uDD62","Qopf":"ℚ","qprime":"⁗","Qscr":"\uD835\uDCAC","qscr":"\uD835\uDCC6","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"\xbb","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"\xae","REG":"\xae","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"\uD835\uDD2F","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"\uD835\uDD63","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"\uD835\uDCC7","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"\xa7","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"\uD835\uDD16","sfr":"\uD835\uDD30","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"\xad","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"\uD835\uDD4A","sopf":"\uD835\uDD64","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"\uD835\uDCAE","sscr":"\uD835\uDCC8","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"\xaf","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"\xdf","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"\uD835\uDD17","tfr":"\uD835\uDD31","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"\xde","thorn":"\xfe","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"\xd7","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"\uD835\uDD4B","topf":"\uD835\uDD65","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"\uD835\uDCAF","tscr":"\uD835\uDCC9","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"\xda","uacute":"\xfa","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"\uD835\uDD18","ufr":"\uD835\uDD32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"\xa8","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"\uD835\uDD4C","uopf":"\uD835\uDD66","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"\uD835\uDCB0","uscr":"\uD835\uDCCA","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"\xdc","uuml":"\xfc","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"\uD835\uDD19","vfr":"\uD835\uDD33","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"\uD835\uDD4D","vopf":"\uD835\uDD67","vprop":"∝","vrtri":"⊳","Vscr":"\uD835\uDCB1","vscr":"\uD835\uDCCB","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"\uD835\uDD1A","wfr":"\uD835\uDD34","Wopf":"\uD835\uDD4E","wopf":"\uD835\uDD68","wp":"℘","wr":"≀","wreath":"≀","Wscr":"\uD835\uDCB2","wscr":"\uD835\uDCCC","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"\uD835\uDD1B","xfr":"\uD835\uDD35","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"\uD835\uDD4F","xopf":"\uD835\uDD69","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"\uD835\uDCB3","xscr":"\uD835\uDCCD","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"\xdd","yacute":"\xfd","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"\xa5","Yfr":"\uD835\uDD1C","yfr":"\uD835\uDD36","YIcy":"Ї","yicy":"ї","Yopf":"\uD835\uDD50","yopf":"\uD835\uDD6A","Yscr":"\uD835\uDCB4","yscr":"\uD835\uDCCE","YUcy":"Ю","yucy":"ю","yuml":"\xff","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"\uD835\uDD37","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"\uD835\uDD6B","Zopf":"ℤ","Zscr":"\uD835\uDCB5","zscr":"\uD835\uDCCF","zwj":"‍","zwnj":"‌"}')}}]);