newcraw 1.0.2 → 1.0.4

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 (220) hide show
  1. package/dist/REPL-DECTPCL5.js +50 -0
  2. package/dist/{acp-J4WDYGRX.js → acp-HA476EHW.js} +69 -40
  3. package/dist/acp-HA476EHW.js.map +7 -0
  4. package/dist/{agentsValidate-UBOER2IN.js → agentsValidate-EDPFUUMG.js} +13 -10
  5. package/dist/{agentsValidate-UBOER2IN.js.map → agentsValidate-EDPFUUMG.js.map} +1 -1
  6. package/dist/{ask-MGUO3L35.js → ask-5SP4YYRD.js} +62 -52
  7. package/dist/ask-5SP4YYRD.js.map +7 -0
  8. package/dist/{autoUpdater-2GS6LRPK.js → autoUpdater-FFMM2DR7.js} +5 -4
  9. package/dist/chunk-2BVCVKKB.js +135 -0
  10. package/dist/chunk-2BVCVKKB.js.map +7 -0
  11. package/dist/{chunk-2C43OXE7.js → chunk-2JCTO2EY.js} +38 -59
  12. package/dist/chunk-2JCTO2EY.js.map +7 -0
  13. package/dist/{chunk-OJIMOLIC.js → chunk-3CKC4ABU.js} +3631 -7464
  14. package/dist/chunk-3CKC4ABU.js.map +7 -0
  15. package/dist/chunk-ARCEUG3V.js +88 -0
  16. package/dist/chunk-ARCEUG3V.js.map +7 -0
  17. package/dist/{chunk-RUXIBQ3B.js → chunk-BJYXLCRS.js} +4 -4
  18. package/dist/{chunk-VKI7ORIO.js → chunk-BMKE6FT5.js} +37 -18
  19. package/dist/{chunk-VKI7ORIO.js.map → chunk-BMKE6FT5.js.map} +1 -1
  20. package/dist/chunk-BQCOSNM3.js +93 -0
  21. package/dist/chunk-BQCOSNM3.js.map +7 -0
  22. package/dist/chunk-CHB5K4GI.js +107 -0
  23. package/dist/chunk-CHB5K4GI.js.map +7 -0
  24. package/dist/chunk-D4OZACS2.js +35 -0
  25. package/dist/chunk-EHQ2M5B4.js +166 -0
  26. package/dist/{chunk-ZYSVG4X3.js.map → chunk-EHQ2M5B4.js.map} +2 -2
  27. package/dist/chunk-EUBZGAIN.js +372 -0
  28. package/dist/chunk-EUBZGAIN.js.map +7 -0
  29. package/dist/{chunk-UYRR6F5S.js → chunk-FIMCETCB.js} +9 -3
  30. package/dist/{chunk-UYRR6F5S.js.map → chunk-FIMCETCB.js.map} +1 -1
  31. package/dist/{chunk-DEF3KFP7.js → chunk-GVLJUD6R.js} +4 -2
  32. package/dist/{chunk-DEF3KFP7.js.map → chunk-GVLJUD6R.js.map} +1 -1
  33. package/dist/chunk-HLBLZKZH.js +45 -0
  34. package/dist/chunk-HLBLZKZH.js.map +7 -0
  35. package/dist/{chunk-XS6PU75S.js → chunk-IVWPPTDM.js} +1 -1
  36. package/dist/{chunk-A7X6OCZE.js → chunk-IXFBUXQW.js} +1 -1
  37. package/dist/{chunk-HSJ6HYAO.js → chunk-IZZTKEZH.js} +18 -10
  38. package/dist/chunk-IZZTKEZH.js.map +7 -0
  39. package/dist/{chunk-2EFL22PV.js → chunk-JI4HCLK7.js} +7 -3
  40. package/dist/chunk-JI4HCLK7.js.map +7 -0
  41. package/dist/chunk-JLVECHVJ.js +36 -0
  42. package/dist/chunk-JLVECHVJ.js.map +7 -0
  43. package/dist/{chunk-XXU2NVOE.js → chunk-KJTPUTU7.js} +30 -6
  44. package/dist/chunk-KJTPUTU7.js.map +7 -0
  45. package/dist/{chunk-V5U6BHT2.js → chunk-KS646CDL.js} +7 -3
  46. package/dist/{chunk-V5U6BHT2.js.map → chunk-KS646CDL.js.map} +1 -1
  47. package/dist/{chunk-53A4JHFW.js → chunk-MJ3MLGVB.js} +23 -4
  48. package/dist/chunk-MJ3MLGVB.js.map +7 -0
  49. package/dist/chunk-MJLWBVZP.js +822 -0
  50. package/dist/chunk-MJLWBVZP.js.map +7 -0
  51. package/dist/chunk-MMF5RMLU.js +65 -0
  52. package/dist/chunk-MMF5RMLU.js.map +7 -0
  53. package/dist/{chunk-QH2M65BR.js → chunk-MUW3J7CP.js} +7 -3
  54. package/dist/{chunk-QH2M65BR.js.map → chunk-MUW3J7CP.js.map} +1 -1
  55. package/dist/{chunk-3LMXSKZ7.js → chunk-NFXLN6FJ.js} +1 -1
  56. package/dist/chunk-NT7RDVDA.js +33 -0
  57. package/dist/{chunk-KQSHIOZK.js.map → chunk-NT7RDVDA.js.map} +1 -1
  58. package/dist/{chunk-OZHBEG7U.js → chunk-O4EKE3YR.js} +15 -5
  59. package/dist/{chunk-OZHBEG7U.js.map → chunk-O4EKE3YR.js.map} +1 -1
  60. package/dist/chunk-Q2OBTLBI.js +5473 -0
  61. package/dist/chunk-Q2OBTLBI.js.map +7 -0
  62. package/dist/{chunk-WWDVA4NV.js → chunk-QJ7MQIHN.js} +22 -6
  63. package/dist/{chunk-WWDVA4NV.js.map → chunk-QJ7MQIHN.js.map} +1 -1
  64. package/dist/{chunk-N5OHRWG2.js → chunk-QSRXXZO7.js} +4 -2
  65. package/dist/{chunk-N5OHRWG2.js.map → chunk-QSRXXZO7.js.map} +1 -1
  66. package/dist/{chunk-GZTCXXSS.js → chunk-QT5GS374.js} +57 -46
  67. package/dist/{chunk-GZTCXXSS.js.map → chunk-QT5GS374.js.map} +1 -1
  68. package/dist/chunk-QX5Y5CE5.js +683 -0
  69. package/dist/{chunk-F3COCCAE.js.map → chunk-QX5Y5CE5.js.map} +1 -1
  70. package/dist/{chunk-IIFUDVGS.js → chunk-U6IF5D3J.js} +310 -177
  71. package/dist/chunk-U6IF5D3J.js.map +7 -0
  72. package/dist/{chunk-VQSCECTS.js → chunk-UPRKGNBR.js} +6 -4
  73. package/dist/{chunk-VQSCECTS.js.map → chunk-UPRKGNBR.js.map} +1 -1
  74. package/dist/chunk-UUCRNFMH.js +62 -0
  75. package/dist/chunk-UUCRNFMH.js.map +7 -0
  76. package/dist/chunk-UYWZQVH5.js +35 -0
  77. package/dist/chunk-UYWZQVH5.js.map +7 -0
  78. package/dist/{chunk-XMGUQHMF.js → chunk-VSSVN6WG.js} +11 -1
  79. package/dist/chunk-VSSVN6WG.js.map +7 -0
  80. package/dist/{chunk-VHS2MZQS.js → chunk-W7Q3VYAB.js} +9 -6
  81. package/dist/{chunk-VHS2MZQS.js.map → chunk-W7Q3VYAB.js.map} +1 -1
  82. package/dist/{chunk-JWXQNBBA.js → chunk-WAXMRSVR.js} +7 -1
  83. package/dist/{chunk-JWXQNBBA.js.map → chunk-WAXMRSVR.js.map} +1 -1
  84. package/dist/{chunk-BWYKUDJR.js → chunk-X3NER6FY.js} +14 -8
  85. package/dist/{chunk-BWYKUDJR.js.map → chunk-X3NER6FY.js.map} +1 -1
  86. package/dist/{chunk-IM33F5CM.js → chunk-XYQZLDRB.js} +1668 -1623
  87. package/dist/chunk-XYQZLDRB.js.map +7 -0
  88. package/dist/{chunk-LOIZNQOU.js → chunk-ZM5FMRLS.js} +9 -3
  89. package/dist/{chunk-LOIZNQOU.js.map → chunk-ZM5FMRLS.js.map} +1 -1
  90. package/dist/{chunk-755HIAI3.js → chunk-ZMO4E7IW.js} +3 -42
  91. package/dist/chunk-ZMO4E7IW.js.map +7 -0
  92. package/dist/{cli-KZGF3FV5.js → cli-4KO6TA5J.js} +251 -485
  93. package/dist/cli-4KO6TA5J.js.map +7 -0
  94. package/dist/commands-JSY7CGSU.js +54 -0
  95. package/dist/{config-GTJWCNPF.js → config-DQEFVW3Y.js} +9 -6
  96. package/dist/{context-WF3TTXQU.js → context-HVQCTO5R.js} +8 -7
  97. package/dist/{costTracker-2G3ZI2JF.js → costTracker-VSWW7SRT.js} +3 -2
  98. package/dist/{customCommands-QOWK57EX.js → customCommands-XCINU5TG.js} +6 -5
  99. package/dist/{env-37BAP7QF.js → env-ZOPEXWMF.js} +10 -7
  100. package/dist/{gateway-IZYO6YFJ.js → gateway-SUXSILQL.js} +542 -96
  101. package/dist/gateway-SUXSILQL.js.map +7 -0
  102. package/dist/identity-3KZQQVBG.js +16 -0
  103. package/dist/index.js +8 -6
  104. package/dist/index.js.map +1 -1
  105. package/dist/{kodeAgentSessionId-KTGFX2BE.js → kodeAgentSessionId-4SH24DVH.js} +1 -1
  106. package/dist/{kodeAgentSessionLoad-6F7SJXBC.js → kodeAgentSessionLoad-HB3BYVNG.js} +6 -5
  107. package/dist/{kodeAgentSessionResume-UEEDRJ3N.js → kodeAgentSessionResume-IGSZZY3G.js} +6 -5
  108. package/dist/{kodeAgentStreamJson-VIXFTYL5.js → kodeAgentStreamJson-4ZKIWKS3.js} +4 -2
  109. package/dist/{kodeAgentStreamJsonSession-XC3IPREZ.js → kodeAgentStreamJsonSession-4L76UC75.js} +15 -4
  110. package/dist/kodeAgentStreamJsonSession-4L76UC75.js.map +7 -0
  111. package/dist/{kodeAgentStructuredStdio-SI5C7AAD.js → kodeAgentStructuredStdio-5DCUC6V6.js} +3 -3
  112. package/dist/{kodeHooks-V36SHCTC.js → kodeHooks-H6DMC3XX.js} +6 -5
  113. package/dist/{llm-CYUDKJNR.js → llm-OJZ6DZVC.js} +306 -60
  114. package/dist/llm-OJZ6DZVC.js.map +7 -0
  115. package/dist/{llmLazy-IXVVBRTN.js → llmLazy-TDLZZDPL.js} +2 -2
  116. package/dist/{loader-OEJ6C3TN.js → loader-MOVYZ76M.js} +6 -5
  117. package/dist/{mcp-KE3SILMX.js → mcp-DUYSIR5L.js} +10 -9
  118. package/dist/{mentionProcessor-GAU2WAYB.js → mentionProcessor-EKVLXJN4.js} +14 -7
  119. package/dist/{mentionProcessor-GAU2WAYB.js.map → mentionProcessor-EKVLXJN4.js.map} +1 -1
  120. package/dist/{messages-WCSGGSEU.js → messages-23ICFVMC.js} +2 -2
  121. package/dist/{model-4TQIV5J2.js → model-FUBCTRTV.js} +10 -7
  122. package/dist/{openai-KTZV6F7N.js → openai-SMYIAIO4.js} +8 -7
  123. package/dist/{outputStyles-WX5RYQOA.js → outputStyles-HBOYJFBE.js} +6 -5
  124. package/dist/{pluginRuntime-JXMJZ2LC.js → pluginRuntime-ATZMDZA7.js} +11 -8
  125. package/dist/{pluginRuntime-JXMJZ2LC.js.map → pluginRuntime-ATZMDZA7.js.map} +1 -1
  126. package/dist/{pluginValidation-JNQZYLUP.js → pluginValidation-7CGOMT6F.js} +8 -7
  127. package/dist/prompts-MFESKNYZ.js +58 -0
  128. package/dist/query-BFEFOX4S.js +58 -0
  129. package/dist/{responsesStreaming-2AIT6GHG.js → responsesStreaming-JORGEFQC.js} +1 -1
  130. package/dist/{ripgrep-KDPQAMB2.js → ripgrep-KNJBCJIQ.js} +5 -4
  131. package/dist/sandbox-P3FR4G4D.js +63 -0
  132. package/dist/{skillMarketplace-IXAGP3Q2.js → skillMarketplace-PCMKVV4O.js} +5 -4
  133. package/dist/{state-MSCYLB6Y.js → state-XBYIQ7R4.js} +6 -3
  134. package/dist/structuredOutput-KAVFUV2Z.js +9 -0
  135. package/dist/theme-4ZSXUILR.js +15 -0
  136. package/dist/thinking-TTNUZUB3.js +18 -0
  137. package/dist/{toolPermissionContext-I3IXPVED.js → toolPermissionContext-JCQ5MFUT.js} +1 -1
  138. package/dist/toolPermissionContext-JCQ5MFUT.js.map +7 -0
  139. package/dist/toolPermissionContextState-R6ZGMKP6.js +24 -0
  140. package/dist/toolPermissionContextState-R6ZGMKP6.js.map +7 -0
  141. package/dist/{toolPermissionSettings-EUZKGZU2.js → toolPermissionSettings-GMEYTJEA.js} +9 -8
  142. package/dist/toolPermissionSettings-GMEYTJEA.js.map +7 -0
  143. package/dist/tools-7FVKB7BG.js +55 -0
  144. package/dist/tools-7FVKB7BG.js.map +7 -0
  145. package/dist/{userInput-LJL4CVOB.js → userInput-SZEUY5J6.js} +49 -34
  146. package/dist/{userInput-LJL4CVOB.js.map → userInput-SZEUY5J6.js.map} +1 -1
  147. package/dist/{uuid-VA3KVASX.js → uuid-RQH3OZ3W.js} +1 -1
  148. package/dist/uuid-RQH3OZ3W.js.map +7 -0
  149. package/dist/workspace-EP63OB5S.js +21 -0
  150. package/dist/workspace-EP63OB5S.js.map +7 -0
  151. package/package.json +2 -2
  152. package/web/dist/assets/index-XuLVvSQF.js +251 -0
  153. package/web/dist/assets/index-pSid9IlY.css +10 -0
  154. package/web/dist/index.html +2 -2
  155. package/dist/REPL-IAK7ZN2Z.js +0 -42
  156. package/dist/acp-J4WDYGRX.js.map +0 -7
  157. package/dist/ask-MGUO3L35.js.map +0 -7
  158. package/dist/chunk-2C43OXE7.js.map +0 -7
  159. package/dist/chunk-2EFL22PV.js.map +0 -7
  160. package/dist/chunk-53A4JHFW.js.map +0 -7
  161. package/dist/chunk-755HIAI3.js.map +0 -7
  162. package/dist/chunk-AXWJI6N5.js +0 -11
  163. package/dist/chunk-F3COCCAE.js +0 -654
  164. package/dist/chunk-HSJ6HYAO.js.map +0 -7
  165. package/dist/chunk-IIFUDVGS.js.map +0 -7
  166. package/dist/chunk-IM33F5CM.js.map +0 -7
  167. package/dist/chunk-KQSHIOZK.js +0 -24
  168. package/dist/chunk-OJIMOLIC.js.map +0 -7
  169. package/dist/chunk-XMGUQHMF.js.map +0 -7
  170. package/dist/chunk-XXU2NVOE.js.map +0 -7
  171. package/dist/chunk-ZYSVG4X3.js +0 -151
  172. package/dist/cli-KZGF3FV5.js.map +0 -7
  173. package/dist/commands-AVEBLFVS.js +0 -46
  174. package/dist/gateway-IZYO6YFJ.js.map +0 -7
  175. package/dist/kodeAgentStreamJsonSession-XC3IPREZ.js.map +0 -7
  176. package/dist/llm-CYUDKJNR.js.map +0 -7
  177. package/dist/prompts-LE6GK75N.js +0 -48
  178. package/dist/query-GGIP6PWG.js +0 -50
  179. package/dist/theme-GAMFOLBW.js +0 -14
  180. package/dist/tools-3HOUIDM3.js +0 -47
  181. package/web/dist/assets/index-COAJqX1Z.css +0 -1
  182. package/web/dist/assets/index-CzS_4LmC.js +0 -179
  183. /package/dist/{REPL-IAK7ZN2Z.js.map → REPL-DECTPCL5.js.map} +0 -0
  184. /package/dist/{autoUpdater-2GS6LRPK.js.map → autoUpdater-FFMM2DR7.js.map} +0 -0
  185. /package/dist/{chunk-RUXIBQ3B.js.map → chunk-BJYXLCRS.js.map} +0 -0
  186. /package/dist/{chunk-AXWJI6N5.js.map → chunk-D4OZACS2.js.map} +0 -0
  187. /package/dist/{chunk-XS6PU75S.js.map → chunk-IVWPPTDM.js.map} +0 -0
  188. /package/dist/{chunk-A7X6OCZE.js.map → chunk-IXFBUXQW.js.map} +0 -0
  189. /package/dist/{chunk-3LMXSKZ7.js.map → chunk-NFXLN6FJ.js.map} +0 -0
  190. /package/dist/{commands-AVEBLFVS.js.map → commands-JSY7CGSU.js.map} +0 -0
  191. /package/dist/{config-GTJWCNPF.js.map → config-DQEFVW3Y.js.map} +0 -0
  192. /package/dist/{context-WF3TTXQU.js.map → context-HVQCTO5R.js.map} +0 -0
  193. /package/dist/{costTracker-2G3ZI2JF.js.map → costTracker-VSWW7SRT.js.map} +0 -0
  194. /package/dist/{customCommands-QOWK57EX.js.map → customCommands-XCINU5TG.js.map} +0 -0
  195. /package/dist/{env-37BAP7QF.js.map → env-ZOPEXWMF.js.map} +0 -0
  196. /package/dist/{kodeAgentSessionId-KTGFX2BE.js.map → identity-3KZQQVBG.js.map} +0 -0
  197. /package/dist/{kodeAgentSessionLoad-6F7SJXBC.js.map → kodeAgentSessionId-4SH24DVH.js.map} +0 -0
  198. /package/dist/{kodeAgentSessionResume-UEEDRJ3N.js.map → kodeAgentSessionLoad-HB3BYVNG.js.map} +0 -0
  199. /package/dist/{kodeAgentStreamJson-VIXFTYL5.js.map → kodeAgentSessionResume-IGSZZY3G.js.map} +0 -0
  200. /package/dist/{kodeAgentStructuredStdio-SI5C7AAD.js.map → kodeAgentStreamJson-4ZKIWKS3.js.map} +0 -0
  201. /package/dist/{kodeHooks-V36SHCTC.js.map → kodeAgentStructuredStdio-5DCUC6V6.js.map} +0 -0
  202. /package/dist/{llmLazy-IXVVBRTN.js.map → kodeHooks-H6DMC3XX.js.map} +0 -0
  203. /package/dist/{loader-OEJ6C3TN.js.map → llmLazy-TDLZZDPL.js.map} +0 -0
  204. /package/dist/{mcp-KE3SILMX.js.map → loader-MOVYZ76M.js.map} +0 -0
  205. /package/dist/{messages-WCSGGSEU.js.map → mcp-DUYSIR5L.js.map} +0 -0
  206. /package/dist/{model-4TQIV5J2.js.map → messages-23ICFVMC.js.map} +0 -0
  207. /package/dist/{openai-KTZV6F7N.js.map → model-FUBCTRTV.js.map} +0 -0
  208. /package/dist/{outputStyles-WX5RYQOA.js.map → openai-SMYIAIO4.js.map} +0 -0
  209. /package/dist/{pluginValidation-JNQZYLUP.js.map → outputStyles-HBOYJFBE.js.map} +0 -0
  210. /package/dist/{prompts-LE6GK75N.js.map → pluginValidation-7CGOMT6F.js.map} +0 -0
  211. /package/dist/{query-GGIP6PWG.js.map → prompts-MFESKNYZ.js.map} +0 -0
  212. /package/dist/{responsesStreaming-2AIT6GHG.js.map → query-BFEFOX4S.js.map} +0 -0
  213. /package/dist/{ripgrep-KDPQAMB2.js.map → responsesStreaming-JORGEFQC.js.map} +0 -0
  214. /package/dist/{skillMarketplace-IXAGP3Q2.js.map → ripgrep-KNJBCJIQ.js.map} +0 -0
  215. /package/dist/{state-MSCYLB6Y.js.map → sandbox-P3FR4G4D.js.map} +0 -0
  216. /package/dist/{theme-GAMFOLBW.js.map → skillMarketplace-PCMKVV4O.js.map} +0 -0
  217. /package/dist/{toolPermissionContext-I3IXPVED.js.map → state-XBYIQ7R4.js.map} +0 -0
  218. /package/dist/{toolPermissionSettings-EUZKGZU2.js.map → structuredOutput-KAVFUV2Z.js.map} +0 -0
  219. /package/dist/{tools-3HOUIDM3.js.map → theme-4ZSXUILR.js.map} +0 -0
  220. /package/dist/{uuid-VA3KVASX.js.map → thinking-TTNUZUB3.js.map} +0 -0
@@ -1,179 +0,0 @@
1
- (function(){const l=document.createElement("link").relList;if(l&&l.supports&&l.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const c of a)if(c.type==="childList")for(const s of c.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&o(s)}).observe(document,{childList:!0,subtree:!0});function r(a){const c={};return a.integrity&&(c.integrity=a.integrity),a.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?c.credentials="include":a.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(a){if(a.ep)return;a.ep=!0;const c=r(a);fetch(a.href,c)}})();function Zl(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Wu={exports:{}},yi={},Qu={exports:{}},Ee={};/**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Nf;function zm(){if(Nf)return Ee;Nf=1;var n=Symbol.for("react.element"),l=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),s=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),g=Symbol.iterator;function v(P){return P===null||typeof P!="object"?null:(P=g&&P[g]||P["@@iterator"],typeof P=="function"?P:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,b={};function D(P,B,C){this.props=P,this.context=B,this.refs=b,this.updater=C||x}D.prototype.isReactComponent={},D.prototype.setState=function(P,B){if(typeof P!="object"&&typeof P!="function"&&P!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,P,B,"setState")},D.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function I(){}I.prototype=D.prototype;function F(P,B,C){this.props=P,this.context=B,this.refs=b,this.updater=C||x}var O=F.prototype=new I;O.constructor=F,_(O,D.prototype),O.isPureReactComponent=!0;var te=Array.isArray,le=Object.prototype.hasOwnProperty,M={current:null},se={key:!0,ref:!0,__self:!0,__source:!0};function me(P,B,C){var pe,we={},fe=null,Ie=null;if(B!=null)for(pe in B.ref!==void 0&&(Ie=B.ref),B.key!==void 0&&(fe=""+B.key),B)le.call(B,pe)&&!se.hasOwnProperty(pe)&&(we[pe]=B[pe]);var Se=arguments.length-2;if(Se===1)we.children=C;else if(1<Se){for(var Le=Array(Se),$e=0;$e<Se;$e++)Le[$e]=arguments[$e+2];we.children=Le}if(P&&P.defaultProps)for(pe in Se=P.defaultProps,Se)we[pe]===void 0&&(we[pe]=Se[pe]);return{$$typeof:n,type:P,key:fe,ref:Ie,props:we,_owner:M.current}}function xe(P,B){return{$$typeof:n,type:P.type,key:B,ref:P.ref,props:P.props,_owner:P._owner}}function R(P){return typeof P=="object"&&P!==null&&P.$$typeof===n}function G(P){var B={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(C){return B[C]})}var K=/\/+/g;function ge(P,B){return typeof P=="object"&&P!==null&&P.key!=null?G(""+P.key):B.toString(36)}function ee(P,B,C,pe,we){var fe=typeof P;(fe==="undefined"||fe==="boolean")&&(P=null);var Ie=!1;if(P===null)Ie=!0;else switch(fe){case"string":case"number":Ie=!0;break;case"object":switch(P.$$typeof){case n:case l:Ie=!0}}if(Ie)return Ie=P,we=we(Ie),P=pe===""?"."+ge(Ie,0):pe,te(we)?(C="",P!=null&&(C=P.replace(K,"$&/")+"/"),ee(we,B,C,"",function($e){return $e})):we!=null&&(R(we)&&(we=xe(we,C+(!we.key||Ie&&Ie.key===we.key?"":(""+we.key).replace(K,"$&/")+"/")+P)),B.push(we)),1;if(Ie=0,pe=pe===""?".":pe+":",te(P))for(var Se=0;Se<P.length;Se++){fe=P[Se];var Le=pe+ge(fe,Se);Ie+=ee(fe,B,C,Le,we)}else if(Le=v(P),typeof Le=="function")for(P=Le.call(P),Se=0;!(fe=P.next()).done;)fe=fe.value,Le=pe+ge(fe,Se++),Ie+=ee(fe,B,C,Le,we);else if(fe==="object")throw B=String(P),Error("Objects are not valid as a React child (found: "+(B==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":B)+"). If you meant to render a collection of children, use an array instead.");return Ie}function Y(P,B,C){if(P==null)return P;var pe=[],we=0;return ee(P,pe,"","",function(fe){return B.call(C,fe,we++)}),pe}function ye(P){if(P._status===-1){var B=P._result;B=B(),B.then(function(C){(P._status===0||P._status===-1)&&(P._status=1,P._result=C)},function(C){(P._status===0||P._status===-1)&&(P._status=2,P._result=C)}),P._status===-1&&(P._status=0,P._result=B)}if(P._status===1)return P._result.default;throw P._result}var ke={current:null},Q={transition:null},ie={ReactCurrentDispatcher:ke,ReactCurrentBatchConfig:Q,ReactCurrentOwner:M};function w(){throw Error("act(...) is not supported in production builds of React.")}return Ee.Children={map:Y,forEach:function(P,B,C){Y(P,function(){B.apply(this,arguments)},C)},count:function(P){var B=0;return Y(P,function(){B++}),B},toArray:function(P){return Y(P,function(B){return B})||[]},only:function(P){if(!R(P))throw Error("React.Children.only expected to receive a single React element child.");return P}},Ee.Component=D,Ee.Fragment=r,Ee.Profiler=a,Ee.PureComponent=F,Ee.StrictMode=o,Ee.Suspense=h,Ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ie,Ee.act=w,Ee.cloneElement=function(P,B,C){if(P==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+P+".");var pe=_({},P.props),we=P.key,fe=P.ref,Ie=P._owner;if(B!=null){if(B.ref!==void 0&&(fe=B.ref,Ie=M.current),B.key!==void 0&&(we=""+B.key),P.type&&P.type.defaultProps)var Se=P.type.defaultProps;for(Le in B)le.call(B,Le)&&!se.hasOwnProperty(Le)&&(pe[Le]=B[Le]===void 0&&Se!==void 0?Se[Le]:B[Le])}var Le=arguments.length-2;if(Le===1)pe.children=C;else if(1<Le){Se=Array(Le);for(var $e=0;$e<Le;$e++)Se[$e]=arguments[$e+2];pe.children=Se}return{$$typeof:n,type:P.type,key:we,ref:fe,props:pe,_owner:Ie}},Ee.createContext=function(P){return P={$$typeof:s,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},P.Provider={$$typeof:c,_context:P},P.Consumer=P},Ee.createElement=me,Ee.createFactory=function(P){var B=me.bind(null,P);return B.type=P,B},Ee.createRef=function(){return{current:null}},Ee.forwardRef=function(P){return{$$typeof:d,render:P}},Ee.isValidElement=R,Ee.lazy=function(P){return{$$typeof:y,_payload:{_status:-1,_result:P},_init:ye}},Ee.memo=function(P,B){return{$$typeof:m,type:P,compare:B===void 0?null:B}},Ee.startTransition=function(P){var B=Q.transition;Q.transition={};try{P()}finally{Q.transition=B}},Ee.unstable_act=w,Ee.useCallback=function(P,B){return ke.current.useCallback(P,B)},Ee.useContext=function(P){return ke.current.useContext(P)},Ee.useDebugValue=function(){},Ee.useDeferredValue=function(P){return ke.current.useDeferredValue(P)},Ee.useEffect=function(P,B){return ke.current.useEffect(P,B)},Ee.useId=function(){return ke.current.useId()},Ee.useImperativeHandle=function(P,B,C){return ke.current.useImperativeHandle(P,B,C)},Ee.useInsertionEffect=function(P,B){return ke.current.useInsertionEffect(P,B)},Ee.useLayoutEffect=function(P,B){return ke.current.useLayoutEffect(P,B)},Ee.useMemo=function(P,B){return ke.current.useMemo(P,B)},Ee.useReducer=function(P,B,C){return ke.current.useReducer(P,B,C)},Ee.useRef=function(P){return ke.current.useRef(P)},Ee.useState=function(P){return ke.current.useState(P)},Ee.useSyncExternalStore=function(P,B,C){return ke.current.useSyncExternalStore(P,B,C)},Ee.useTransition=function(){return ke.current.useTransition()},Ee.version="18.3.1",Ee}var If;function Ea(){return If||(If=1,Qu.exports=zm()),Qu.exports}/**
10
- * @license React
11
- * react-jsx-runtime.production.min.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var zf;function Lm(){if(zf)return yi;zf=1;var n=Ea(),l=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function s(d,h,m){var y,g={},v=null,x=null;m!==void 0&&(v=""+m),h.key!==void 0&&(v=""+h.key),h.ref!==void 0&&(x=h.ref);for(y in h)o.call(h,y)&&!c.hasOwnProperty(y)&&(g[y]=h[y]);if(d&&d.defaultProps)for(y in h=d.defaultProps,h)g[y]===void 0&&(g[y]=h[y]);return{$$typeof:l,type:d,key:v,ref:x,props:g,_owner:a.current}}return yi.Fragment=r,yi.jsx=s,yi.jsxs=s,yi}var Lf;function Dm(){return Lf||(Lf=1,Wu.exports=Lm()),Wu.exports}var A=Dm(),ce=Ea();const Rm=Zl(ce);var Hl={},qu={exports:{}},yt={},Yu={exports:{}},Xu={};/**
18
- * @license React
19
- * scheduler.production.min.js
20
- *
21
- * Copyright (c) Facebook, Inc. and its affiliates.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */var Df;function Am(){return Df||(Df=1,(function(n){function l(Q,ie){var w=Q.length;Q.push(ie);e:for(;0<w;){var P=w-1>>>1,B=Q[P];if(0<a(B,ie))Q[P]=ie,Q[w]=B,w=P;else break e}}function r(Q){return Q.length===0?null:Q[0]}function o(Q){if(Q.length===0)return null;var ie=Q[0],w=Q.pop();if(w!==ie){Q[0]=w;e:for(var P=0,B=Q.length,C=B>>>1;P<C;){var pe=2*(P+1)-1,we=Q[pe],fe=pe+1,Ie=Q[fe];if(0>a(we,w))fe<B&&0>a(Ie,we)?(Q[P]=Ie,Q[fe]=w,P=fe):(Q[P]=we,Q[pe]=w,P=pe);else if(fe<B&&0>a(Ie,w))Q[P]=Ie,Q[fe]=w,P=fe;else break e}}return ie}function a(Q,ie){var w=Q.sortIndex-ie.sortIndex;return w!==0?w:Q.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;n.unstable_now=function(){return c.now()}}else{var s=Date,d=s.now();n.unstable_now=function(){return s.now()-d}}var h=[],m=[],y=1,g=null,v=3,x=!1,_=!1,b=!1,D=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(Q){for(var ie=r(m);ie!==null;){if(ie.callback===null)o(m);else if(ie.startTime<=Q)o(m),ie.sortIndex=ie.expirationTime,l(h,ie);else break;ie=r(m)}}function te(Q){if(b=!1,O(Q),!_)if(r(h)!==null)_=!0,ye(le);else{var ie=r(m);ie!==null&&ke(te,ie.startTime-Q)}}function le(Q,ie){_=!1,b&&(b=!1,I(me),me=-1),x=!0;var w=v;try{for(O(ie),g=r(h);g!==null&&(!(g.expirationTime>ie)||Q&&!G());){var P=g.callback;if(typeof P=="function"){g.callback=null,v=g.priorityLevel;var B=P(g.expirationTime<=ie);ie=n.unstable_now(),typeof B=="function"?g.callback=B:g===r(h)&&o(h),O(ie)}else o(h);g=r(h)}if(g!==null)var C=!0;else{var pe=r(m);pe!==null&&ke(te,pe.startTime-ie),C=!1}return C}finally{g=null,v=w,x=!1}}var M=!1,se=null,me=-1,xe=5,R=-1;function G(){return!(n.unstable_now()-R<xe)}function K(){if(se!==null){var Q=n.unstable_now();R=Q;var ie=!0;try{ie=se(!0,Q)}finally{ie?ge():(M=!1,se=null)}}else M=!1}var ge;if(typeof F=="function")ge=function(){F(K)};else if(typeof MessageChannel<"u"){var ee=new MessageChannel,Y=ee.port2;ee.port1.onmessage=K,ge=function(){Y.postMessage(null)}}else ge=function(){D(K,0)};function ye(Q){se=Q,M||(M=!0,ge())}function ke(Q,ie){me=D(function(){Q(n.unstable_now())},ie)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(Q){Q.callback=null},n.unstable_continueExecution=function(){_||x||(_=!0,ye(le))},n.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):xe=0<Q?Math.floor(1e3/Q):5},n.unstable_getCurrentPriorityLevel=function(){return v},n.unstable_getFirstCallbackNode=function(){return r(h)},n.unstable_next=function(Q){switch(v){case 1:case 2:case 3:var ie=3;break;default:ie=v}var w=v;v=ie;try{return Q()}finally{v=w}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(Q,ie){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var w=v;v=Q;try{return ie()}finally{v=w}},n.unstable_scheduleCallback=function(Q,ie,w){var P=n.unstable_now();switch(typeof w=="object"&&w!==null?(w=w.delay,w=typeof w=="number"&&0<w?P+w:P):w=P,Q){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=w+B,Q={id:y++,callback:ie,priorityLevel:Q,startTime:w,expirationTime:B,sortIndex:-1},w>P?(Q.sortIndex=w,l(m,Q),r(h)===null&&Q===r(m)&&(b?(I(me),me=-1):b=!0,ke(te,w-P))):(Q.sortIndex=B,l(h,Q),_||x||(_=!0,ye(le))),Q},n.unstable_shouldYield=G,n.unstable_wrapCallback=function(Q){var ie=v;return function(){var w=v;v=ie;try{return Q.apply(this,arguments)}finally{v=w}}}})(Xu)),Xu}var Rf;function bm(){return Rf||(Rf=1,Yu.exports=Am()),Yu.exports}/**
26
- * @license React
27
- * react-dom.production.min.js
28
- *
29
- * Copyright (c) Facebook, Inc. and its affiliates.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */var Af;function Mm(){if(Af)return yt;Af=1;var n=Ea(),l=bm();function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,a={};function c(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(a[e]=t,e=0;e<t.length;e++)o.add(t[e])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,y={},g={};function v(e){return h.call(g,e)?!0:h.call(y,e)?!1:m.test(e)?g[e]=!0:(y[e]=!0,!1)}function x(e,t,i,u){if(i!==null&&i.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return u?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function _(e,t,i,u){if(t===null||typeof t>"u"||x(e,t,i,u))return!0;if(u)return!1;if(i!==null)switch(i.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function b(e,t,i,u,f,p,k){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=u,this.attributeNamespace=f,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=p,this.removeEmptyString=k}var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){D[e]=new b(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];D[t]=new b(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){D[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){D[e]=new b(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){D[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){D[e]=new b(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){D[e]=new b(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){D[e]=new b(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){D[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)});var I=/[\-:]([a-z])/g;function F(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(I,F);D[t]=new b(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(I,F);D[t]=new b(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(I,F);D[t]=new b(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){D[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)}),D.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){D[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)});function O(e,t,i,u){var f=D.hasOwnProperty(t)?D[t]:null;(f!==null?f.type!==0:u||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(_(t,i,f,u)&&(i=null),u||f===null?v(t)&&(i===null?e.removeAttribute(t):e.setAttribute(t,""+i)):f.mustUseProperty?e[f.propertyName]=i===null?f.type===3?!1:"":i:(t=f.attributeName,u=f.attributeNamespace,i===null?e.removeAttribute(t):(f=f.type,i=f===3||f===4&&i===!0?"":""+i,u?e.setAttributeNS(u,t,i):e.setAttribute(t,i))))}var te=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,le=Symbol.for("react.element"),M=Symbol.for("react.portal"),se=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),xe=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),G=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),ge=Symbol.for("react.suspense"),ee=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),ye=Symbol.for("react.lazy"),ke=Symbol.for("react.offscreen"),Q=Symbol.iterator;function ie(e){return e===null||typeof e!="object"?null:(e=Q&&e[Q]||e["@@iterator"],typeof e=="function"?e:null)}var w=Object.assign,P;function B(e){if(P===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);P=t&&t[1]||""}return`
34
- `+P+e}var C=!1;function pe(e,t){if(!e||C)return"";C=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(L){var u=L}Reflect.construct(e,[],t)}else{try{t.call()}catch(L){u=L}e.call(t.prototype)}else{try{throw Error()}catch(L){u=L}e()}}catch(L){if(L&&u&&typeof L.stack=="string"){for(var f=L.stack.split(`
35
- `),p=u.stack.split(`
36
- `),k=f.length-1,S=p.length-1;1<=k&&0<=S&&f[k]!==p[S];)S--;for(;1<=k&&0<=S;k--,S--)if(f[k]!==p[S]){if(k!==1||S!==1)do if(k--,S--,0>S||f[k]!==p[S]){var E=`
37
- `+f[k].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),E}while(1<=k&&0<=S);break}}}finally{C=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?B(e):""}function we(e){switch(e.tag){case 5:return B(e.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return e=pe(e.type,!1),e;case 11:return e=pe(e.type.render,!1),e;case 1:return e=pe(e.type,!0),e;default:return""}}function fe(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case se:return"Fragment";case M:return"Portal";case xe:return"Profiler";case me:return"StrictMode";case ge:return"Suspense";case ee:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case G:return(e.displayName||"Context")+".Consumer";case R:return(e._context.displayName||"Context")+".Provider";case K:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Y:return t=e.displayName||null,t!==null?t:fe(e.type)||"Memo";case ye:t=e._payload,e=e._init;try{return fe(e(t))}catch{}}return null}function Ie(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return fe(t);case 8:return t===me?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Se(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Le(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $e(e){var t=Le(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),u=""+e[t];if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var f=i.get,p=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return f.call(this)},set:function(k){u=""+k,p.call(this,k)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return u},setValue:function(k){u=""+k},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Gt(e){e._valueTracker||(e._valueTracker=$e(e))}function zi(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),u="";return e&&(u=Le(e)?e.checked?"true":"false":e.value),e=u,e!==i?(t.setValue(e),!0):!1}function Gn(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Lr(e,t){var i=t.checked;return w({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function Dr(e,t){var i=t.defaultValue==null?"":t.defaultValue,u=t.checked!=null?t.checked:t.defaultChecked;i=Se(t.value!=null?t.value:i),e._wrapperState={initialChecked:u,initialValue:i,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Rr(e,t){t=t.checked,t!=null&&O(e,"checked",t,!1)}function Jn(e,t){Rr(e,t);var i=Se(t.value),u=t.type;if(i!=null)u==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(u==="submit"||u==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Zn(e,t.type,i):t.hasOwnProperty("defaultValue")&&Zn(e,t.type,Se(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Li(e,t,i){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var u=t.type;if(!(u!=="submit"&&u!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,i||t===e.value||(e.value=t),e.defaultValue=t}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function Zn(e,t,i){(t!=="number"||Gn(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var sn=Array.isArray;function cn(e,t,i,u){if(e=e.options,t){t={};for(var f=0;f<i.length;f++)t["$"+i[f]]=!0;for(i=0;i<e.length;i++)f=t.hasOwnProperty("$"+e[i].value),e[i].selected!==f&&(e[i].selected=f),f&&u&&(e[i].defaultSelected=!0)}else{for(i=""+Se(i),t=null,f=0;f<e.length;f++){if(e[f].value===i){e[f].selected=!0,u&&(e[f].defaultSelected=!0);return}t!==null||e[f].disabled||(t=e[f])}t!==null&&(t.selected=!0)}}function Ar(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return w({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Di(e,t){var i=t.value;if(i==null){if(i=t.children,t=t.defaultValue,i!=null){if(t!=null)throw Error(r(92));if(sn(i)){if(1<i.length)throw Error(r(93));i=i[0]}t=i}t==null&&(t=""),i=t}e._wrapperState={initialValue:Se(i)}}function Ri(e,t){var i=Se(t.value),u=Se(t.defaultValue);i!=null&&(i=""+i,i!==e.value&&(e.value=i),t.defaultValue==null&&e.defaultValue!==i&&(e.defaultValue=i)),u!=null&&(e.defaultValue=""+u)}function Ai(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function j(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function q(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?j(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var de,Ce=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,i,u,f){MSApp.execUnsafeLocalFunction(function(){return e(t,i,u,f)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(de=de||document.createElement("div"),de.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=de.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pe(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var Ze={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Jt=["Webkit","ms","Moz","O"];Object.keys(Ze).forEach(function(e){Jt.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ze[t]=Ze[e]})});function Pt(e,t,i){return t==null||typeof t=="boolean"||t===""?"":i||typeof t!="number"||t===0||Ze.hasOwnProperty(e)&&Ze[e]?(""+t).trim():t+"px"}function fn(e,t){e=e.style;for(var i in t)if(t.hasOwnProperty(i)){var u=i.indexOf("--")===0,f=Pt(i,t[i],u);i==="float"&&(i="cssFloat"),u?e.setProperty(i,f):e[i]=f}}var An=w({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function et(e,t){if(t){if(An[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!="object")throw Error(r(62))}}function Vt(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var vt=null;function lo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oo=null,er=null,tr=null;function $a(e){if(e=ni(e)){if(typeof oo!="function")throw Error(r(280));var t=e.stateNode;t&&(t=rl(t),oo(e.stateNode,e.type,t))}}function Wa(e){er?tr?tr.push(e):tr=[e]:er=e}function Qa(){if(er){var e=er,t=tr;if(tr=er=null,$a(e),t)for(e=0;e<t.length;e++)$a(t[e])}}function qa(e,t){return e(t)}function Ya(){}var uo=!1;function Xa(e,t,i){if(uo)return e(t,i);uo=!0;try{return qa(e,t,i)}finally{uo=!1,(er!==null||tr!==null)&&(Ya(),Qa())}}function br(e,t){var i=e.stateNode;if(i===null)return null;var u=rl(i);if(u===null)return null;i=u[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(r(231,t,typeof i));return i}var ao=!1;if(d)try{var Mr={};Object.defineProperty(Mr,"passive",{get:function(){ao=!0}}),window.addEventListener("test",Mr,Mr),window.removeEventListener("test",Mr,Mr)}catch{ao=!1}function Md(e,t,i,u,f,p,k,S,E){var L=Array.prototype.slice.call(arguments,3);try{t.apply(i,L)}catch(H){this.onError(H)}}var jr=!1,bi=null,Mi=!1,so=null,jd={onError:function(e){jr=!0,bi=e}};function Fd(e,t,i,u,f,p,k,S,E){jr=!1,bi=null,Md.apply(jd,arguments)}function Od(e,t,i,u,f,p,k,S,E){if(Fd.apply(this,arguments),jr){if(jr){var L=bi;jr=!1,bi=null}else throw Error(r(198));Mi||(Mi=!0,so=L)}}function bn(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(i=t.return),e=t.return;while(e)}return t.tag===3?i:null}function Ka(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Ga(e){if(bn(e)!==e)throw Error(r(188))}function Bd(e){var t=e.alternate;if(!t){if(t=bn(e),t===null)throw Error(r(188));return t!==e?null:e}for(var i=e,u=t;;){var f=i.return;if(f===null)break;var p=f.alternate;if(p===null){if(u=f.return,u!==null){i=u;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===i)return Ga(f),e;if(p===u)return Ga(f),t;p=p.sibling}throw Error(r(188))}if(i.return!==u.return)i=f,u=p;else{for(var k=!1,S=f.child;S;){if(S===i){k=!0,i=f,u=p;break}if(S===u){k=!0,u=f,i=p;break}S=S.sibling}if(!k){for(S=p.child;S;){if(S===i){k=!0,i=p,u=f;break}if(S===u){k=!0,u=p,i=f;break}S=S.sibling}if(!k)throw Error(r(189))}}if(i.alternate!==u)throw Error(r(190))}if(i.tag!==3)throw Error(r(188));return i.stateNode.current===i?e:t}function Ja(e){return e=Bd(e),e!==null?Za(e):null}function Za(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Za(e);if(t!==null)return t;e=e.sibling}return null}var es=l.unstable_scheduleCallback,ts=l.unstable_cancelCallback,Ud=l.unstable_shouldYield,Hd=l.unstable_requestPaint,He=l.unstable_now,Vd=l.unstable_getCurrentPriorityLevel,co=l.unstable_ImmediatePriority,ns=l.unstable_UserBlockingPriority,ji=l.unstable_NormalPriority,$d=l.unstable_LowPriority,rs=l.unstable_IdlePriority,Fi=null,$t=null;function Wd(e){if($t&&typeof $t.onCommitFiberRoot=="function")try{$t.onCommitFiberRoot(Fi,e,void 0,(e.current.flags&128)===128)}catch{}}var bt=Math.clz32?Math.clz32:Yd,Qd=Math.log,qd=Math.LN2;function Yd(e){return e>>>=0,e===0?32:31-(Qd(e)/qd|0)|0}var Oi=64,Bi=4194304;function Fr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ui(e,t){var i=e.pendingLanes;if(i===0)return 0;var u=0,f=e.suspendedLanes,p=e.pingedLanes,k=i&268435455;if(k!==0){var S=k&~f;S!==0?u=Fr(S):(p&=k,p!==0&&(u=Fr(p)))}else k=i&~f,k!==0?u=Fr(k):p!==0&&(u=Fr(p));if(u===0)return 0;if(t!==0&&t!==u&&(t&f)===0&&(f=u&-u,p=t&-t,f>=p||f===16&&(p&4194240)!==0))return t;if((u&4)!==0&&(u|=i&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=u;0<t;)i=31-bt(t),f=1<<i,u|=e[i],t&=~f;return u}function Xd(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Kd(e,t){for(var i=e.suspendedLanes,u=e.pingedLanes,f=e.expirationTimes,p=e.pendingLanes;0<p;){var k=31-bt(p),S=1<<k,E=f[k];E===-1?((S&i)===0||(S&u)!==0)&&(f[k]=Xd(S,t)):E<=t&&(e.expiredLanes|=S),p&=~S}}function fo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function is(){var e=Oi;return Oi<<=1,(Oi&4194240)===0&&(Oi=64),e}function po(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function Or(e,t,i){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-bt(t),e[t]=i}function Gd(e,t){var i=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var u=e.eventTimes;for(e=e.expirationTimes;0<i;){var f=31-bt(i),p=1<<f;t[f]=0,u[f]=-1,e[f]=-1,i&=~p}}function ho(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var u=31-bt(i),f=1<<u;f&t|e[u]&t&&(e[u]|=t),i&=~f}}var De=0;function ls(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var os,mo,us,as,ss,go=!1,Hi=[],pn=null,dn=null,hn=null,Br=new Map,Ur=new Map,mn=[],Jd="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function cs(e,t){switch(e){case"focusin":case"focusout":pn=null;break;case"dragenter":case"dragleave":dn=null;break;case"mouseover":case"mouseout":hn=null;break;case"pointerover":case"pointerout":Br.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ur.delete(t.pointerId)}}function Hr(e,t,i,u,f,p){return e===null||e.nativeEvent!==p?(e={blockedOn:t,domEventName:i,eventSystemFlags:u,nativeEvent:p,targetContainers:[f]},t!==null&&(t=ni(t),t!==null&&mo(t)),e):(e.eventSystemFlags|=u,t=e.targetContainers,f!==null&&t.indexOf(f)===-1&&t.push(f),e)}function Zd(e,t,i,u,f){switch(t){case"focusin":return pn=Hr(pn,e,t,i,u,f),!0;case"dragenter":return dn=Hr(dn,e,t,i,u,f),!0;case"mouseover":return hn=Hr(hn,e,t,i,u,f),!0;case"pointerover":var p=f.pointerId;return Br.set(p,Hr(Br.get(p)||null,e,t,i,u,f)),!0;case"gotpointercapture":return p=f.pointerId,Ur.set(p,Hr(Ur.get(p)||null,e,t,i,u,f)),!0}return!1}function fs(e){var t=Mn(e.target);if(t!==null){var i=bn(t);if(i!==null){if(t=i.tag,t===13){if(t=Ka(i),t!==null){e.blockedOn=t,ss(e.priority,function(){us(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Vi(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=ko(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var u=new i.constructor(i.type,i);vt=u,i.target.dispatchEvent(u),vt=null}else return t=ni(i),t!==null&&mo(t),e.blockedOn=i,!1;t.shift()}return!0}function ps(e,t,i){Vi(e)&&i.delete(t)}function eh(){go=!1,pn!==null&&Vi(pn)&&(pn=null),dn!==null&&Vi(dn)&&(dn=null),hn!==null&&Vi(hn)&&(hn=null),Br.forEach(ps),Ur.forEach(ps)}function Vr(e,t){e.blockedOn===t&&(e.blockedOn=null,go||(go=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,eh)))}function $r(e){function t(f){return Vr(f,e)}if(0<Hi.length){Vr(Hi[0],e);for(var i=1;i<Hi.length;i++){var u=Hi[i];u.blockedOn===e&&(u.blockedOn=null)}}for(pn!==null&&Vr(pn,e),dn!==null&&Vr(dn,e),hn!==null&&Vr(hn,e),Br.forEach(t),Ur.forEach(t),i=0;i<mn.length;i++)u=mn[i],u.blockedOn===e&&(u.blockedOn=null);for(;0<mn.length&&(i=mn[0],i.blockedOn===null);)fs(i),i.blockedOn===null&&mn.shift()}var nr=te.ReactCurrentBatchConfig,$i=!0;function th(e,t,i,u){var f=De,p=nr.transition;nr.transition=null;try{De=1,yo(e,t,i,u)}finally{De=f,nr.transition=p}}function nh(e,t,i,u){var f=De,p=nr.transition;nr.transition=null;try{De=4,yo(e,t,i,u)}finally{De=f,nr.transition=p}}function yo(e,t,i,u){if($i){var f=ko(e,t,i,u);if(f===null)bo(e,t,u,Wi,i),cs(e,u);else if(Zd(f,e,t,i,u))u.stopPropagation();else if(cs(e,u),t&4&&-1<Jd.indexOf(e)){for(;f!==null;){var p=ni(f);if(p!==null&&os(p),p=ko(e,t,i,u),p===null&&bo(e,t,u,Wi,i),p===f)break;f=p}f!==null&&u.stopPropagation()}else bo(e,t,u,null,i)}}var Wi=null;function ko(e,t,i,u){if(Wi=null,e=lo(u),e=Mn(e),e!==null)if(t=bn(e),t===null)e=null;else if(i=t.tag,i===13){if(e=Ka(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Wi=e,null}function ds(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Vd()){case co:return 1;case ns:return 4;case ji:case $d:return 16;case rs:return 536870912;default:return 16}default:return 16}}var gn=null,xo=null,Qi=null;function hs(){if(Qi)return Qi;var e,t=xo,i=t.length,u,f="value"in gn?gn.value:gn.textContent,p=f.length;for(e=0;e<i&&t[e]===f[e];e++);var k=i-e;for(u=1;u<=k&&t[i-u]===f[p-u];u++);return Qi=f.slice(e,1<u?1-u:void 0)}function qi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Yi(){return!0}function ms(){return!1}function wt(e){function t(i,u,f,p,k){this._reactName=i,this._targetInst=f,this.type=u,this.nativeEvent=p,this.target=k,this.currentTarget=null;for(var S in e)e.hasOwnProperty(S)&&(i=e[S],this[S]=i?i(p):p[S]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?Yi:ms,this.isPropagationStopped=ms,this}return w(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Yi)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Yi)},persist:function(){},isPersistent:Yi}),t}var rr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},vo=wt(rr),Wr=w({},rr,{view:0,detail:0}),rh=wt(Wr),wo,So,Qr,Xi=w({},Wr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Eo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Qr&&(Qr&&e.type==="mousemove"?(wo=e.screenX-Qr.screenX,So=e.screenY-Qr.screenY):So=wo=0,Qr=e),wo)},movementY:function(e){return"movementY"in e?e.movementY:So}}),gs=wt(Xi),ih=w({},Xi,{dataTransfer:0}),lh=wt(ih),oh=w({},Wr,{relatedTarget:0}),Co=wt(oh),uh=w({},rr,{animationName:0,elapsedTime:0,pseudoElement:0}),ah=wt(uh),sh=w({},rr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ch=wt(sh),fh=w({},rr,{data:0}),ys=wt(fh),ph={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dh={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mh(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=hh[e])?!!t[e]:!1}function Eo(){return mh}var gh=w({},Wr,{key:function(e){if(e.key){var t=ph[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=qi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?dh[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Eo,charCode:function(e){return e.type==="keypress"?qi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?qi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),yh=wt(gh),kh=w({},Xi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ks=wt(kh),xh=w({},Wr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Eo}),vh=wt(xh),wh=w({},rr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Sh=wt(wh),Ch=w({},Xi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Eh=wt(Ch),Th=[9,13,27,32],To=d&&"CompositionEvent"in window,qr=null;d&&"documentMode"in document&&(qr=document.documentMode);var _h=d&&"TextEvent"in window&&!qr,xs=d&&(!To||qr&&8<qr&&11>=qr),vs=" ",ws=!1;function Ss(e,t){switch(e){case"keyup":return Th.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ir=!1;function Ph(e,t){switch(e){case"compositionend":return Cs(t);case"keypress":return t.which!==32?null:(ws=!0,vs);case"textInput":return e=t.data,e===vs&&ws?null:e;default:return null}}function Nh(e,t){if(ir)return e==="compositionend"||!To&&Ss(e,t)?(e=hs(),Qi=xo=gn=null,ir=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return xs&&t.locale!=="ko"?null:t.data;default:return null}}var Ih={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Es(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ih[e.type]:t==="textarea"}function Ts(e,t,i,u){Wa(u),t=el(t,"onChange"),0<t.length&&(i=new vo("onChange","change",null,i,u),e.push({event:i,listeners:t}))}var Yr=null,Xr=null;function zh(e){Vs(e,0)}function Ki(e){var t=sr(e);if(zi(t))return e}function Lh(e,t){if(e==="change")return t}var _s=!1;if(d){var _o;if(d){var Po="oninput"in document;if(!Po){var Ps=document.createElement("div");Ps.setAttribute("oninput","return;"),Po=typeof Ps.oninput=="function"}_o=Po}else _o=!1;_s=_o&&(!document.documentMode||9<document.documentMode)}function Ns(){Yr&&(Yr.detachEvent("onpropertychange",Is),Xr=Yr=null)}function Is(e){if(e.propertyName==="value"&&Ki(Xr)){var t=[];Ts(t,Xr,e,lo(e)),Xa(zh,t)}}function Dh(e,t,i){e==="focusin"?(Ns(),Yr=t,Xr=i,Yr.attachEvent("onpropertychange",Is)):e==="focusout"&&Ns()}function Rh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ki(Xr)}function Ah(e,t){if(e==="click")return Ki(t)}function bh(e,t){if(e==="input"||e==="change")return Ki(t)}function Mh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Mt=typeof Object.is=="function"?Object.is:Mh;function Kr(e,t){if(Mt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),u=Object.keys(t);if(i.length!==u.length)return!1;for(u=0;u<i.length;u++){var f=i[u];if(!h.call(t,f)||!Mt(e[f],t[f]))return!1}return!0}function zs(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ls(e,t){var i=zs(e);e=0;for(var u;i;){if(i.nodeType===3){if(u=e+i.textContent.length,e<=t&&u>=t)return{node:i,offset:t-e};e=u}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=zs(i)}}function Ds(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ds(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Rs(){for(var e=window,t=Gn();t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=Gn(e.document)}return t}function No(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function jh(e){var t=Rs(),i=e.focusedElem,u=e.selectionRange;if(t!==i&&i&&i.ownerDocument&&Ds(i.ownerDocument.documentElement,i)){if(u!==null&&No(i)){if(t=u.start,e=u.end,e===void 0&&(e=t),"selectionStart"in i)i.selectionStart=t,i.selectionEnd=Math.min(e,i.value.length);else if(e=(t=i.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var f=i.textContent.length,p=Math.min(u.start,f);u=u.end===void 0?p:Math.min(u.end,f),!e.extend&&p>u&&(f=u,u=p,p=f),f=Ls(i,p);var k=Ls(i,u);f&&k&&(e.rangeCount!==1||e.anchorNode!==f.node||e.anchorOffset!==f.offset||e.focusNode!==k.node||e.focusOffset!==k.offset)&&(t=t.createRange(),t.setStart(f.node,f.offset),e.removeAllRanges(),p>u?(e.addRange(t),e.extend(k.node,k.offset)):(t.setEnd(k.node,k.offset),e.addRange(t)))}}for(t=[],e=i;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<t.length;i++)e=t[i],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Fh=d&&"documentMode"in document&&11>=document.documentMode,lr=null,Io=null,Gr=null,zo=!1;function As(e,t,i){var u=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;zo||lr==null||lr!==Gn(u)||(u=lr,"selectionStart"in u&&No(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Gr&&Kr(Gr,u)||(Gr=u,u=el(Io,"onSelect"),0<u.length&&(t=new vo("onSelect","select",null,t,i),e.push({event:t,listeners:u}),t.target=lr)))}function Gi(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var or={animationend:Gi("Animation","AnimationEnd"),animationiteration:Gi("Animation","AnimationIteration"),animationstart:Gi("Animation","AnimationStart"),transitionend:Gi("Transition","TransitionEnd")},Lo={},bs={};d&&(bs=document.createElement("div").style,"AnimationEvent"in window||(delete or.animationend.animation,delete or.animationiteration.animation,delete or.animationstart.animation),"TransitionEvent"in window||delete or.transitionend.transition);function Ji(e){if(Lo[e])return Lo[e];if(!or[e])return e;var t=or[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in bs)return Lo[e]=t[i];return e}var Ms=Ji("animationend"),js=Ji("animationiteration"),Fs=Ji("animationstart"),Os=Ji("transitionend"),Bs=new Map,Us="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function yn(e,t){Bs.set(e,t),c(t,[e])}for(var Do=0;Do<Us.length;Do++){var Ro=Us[Do],Oh=Ro.toLowerCase(),Bh=Ro[0].toUpperCase()+Ro.slice(1);yn(Oh,"on"+Bh)}yn(Ms,"onAnimationEnd"),yn(js,"onAnimationIteration"),yn(Fs,"onAnimationStart"),yn("dblclick","onDoubleClick"),yn("focusin","onFocus"),yn("focusout","onBlur"),yn(Os,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Jr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Uh=new Set("cancel close invalid load scroll toggle".split(" ").concat(Jr));function Hs(e,t,i){var u=e.type||"unknown-event";e.currentTarget=i,Od(u,t,void 0,e),e.currentTarget=null}function Vs(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var u=e[i],f=u.event;u=u.listeners;e:{var p=void 0;if(t)for(var k=u.length-1;0<=k;k--){var S=u[k],E=S.instance,L=S.currentTarget;if(S=S.listener,E!==p&&f.isPropagationStopped())break e;Hs(f,S,L),p=E}else for(k=0;k<u.length;k++){if(S=u[k],E=S.instance,L=S.currentTarget,S=S.listener,E!==p&&f.isPropagationStopped())break e;Hs(f,S,L),p=E}}}if(Mi)throw e=so,Mi=!1,so=null,e}function Me(e,t){var i=t[Uo];i===void 0&&(i=t[Uo]=new Set);var u=e+"__bubble";i.has(u)||($s(t,e,2,!1),i.add(u))}function Ao(e,t,i){var u=0;t&&(u|=4),$s(i,e,u,t)}var Zi="_reactListening"+Math.random().toString(36).slice(2);function Zr(e){if(!e[Zi]){e[Zi]=!0,o.forEach(function(i){i!=="selectionchange"&&(Uh.has(i)||Ao(i,!1,e),Ao(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Zi]||(t[Zi]=!0,Ao("selectionchange",!1,t))}}function $s(e,t,i,u){switch(ds(t)){case 1:var f=th;break;case 4:f=nh;break;default:f=yo}i=f.bind(null,t,i,e),f=void 0,!ao||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(f=!0),u?f!==void 0?e.addEventListener(t,i,{capture:!0,passive:f}):e.addEventListener(t,i,!0):f!==void 0?e.addEventListener(t,i,{passive:f}):e.addEventListener(t,i,!1)}function bo(e,t,i,u,f){var p=u;if((t&1)===0&&(t&2)===0&&u!==null)e:for(;;){if(u===null)return;var k=u.tag;if(k===3||k===4){var S=u.stateNode.containerInfo;if(S===f||S.nodeType===8&&S.parentNode===f)break;if(k===4)for(k=u.return;k!==null;){var E=k.tag;if((E===3||E===4)&&(E=k.stateNode.containerInfo,E===f||E.nodeType===8&&E.parentNode===f))return;k=k.return}for(;S!==null;){if(k=Mn(S),k===null)return;if(E=k.tag,E===5||E===6){u=p=k;continue e}S=S.parentNode}}u=u.return}Xa(function(){var L=p,H=lo(i),V=[];e:{var U=Bs.get(e);if(U!==void 0){var X=vo,Z=e;switch(e){case"keypress":if(qi(i)===0)break e;case"keydown":case"keyup":X=yh;break;case"focusin":Z="focus",X=Co;break;case"focusout":Z="blur",X=Co;break;case"beforeblur":case"afterblur":X=Co;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":X=gs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":X=lh;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":X=vh;break;case Ms:case js:case Fs:X=ah;break;case Os:X=Sh;break;case"scroll":X=rh;break;case"wheel":X=Eh;break;case"copy":case"cut":case"paste":X=ch;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":X=ks}var ne=(t&4)!==0,Ve=!ne&&e==="scroll",N=ne?U!==null?U+"Capture":null:U;ne=[];for(var T=L,z;T!==null;){z=T;var W=z.stateNode;if(z.tag===5&&W!==null&&(z=W,N!==null&&(W=br(T,N),W!=null&&ne.push(ei(T,W,z)))),Ve)break;T=T.return}0<ne.length&&(U=new X(U,Z,null,i,H),V.push({event:U,listeners:ne}))}}if((t&7)===0){e:{if(U=e==="mouseover"||e==="pointerover",X=e==="mouseout"||e==="pointerout",U&&i!==vt&&(Z=i.relatedTarget||i.fromElement)&&(Mn(Z)||Z[Zt]))break e;if((X||U)&&(U=H.window===H?H:(U=H.ownerDocument)?U.defaultView||U.parentWindow:window,X?(Z=i.relatedTarget||i.toElement,X=L,Z=Z?Mn(Z):null,Z!==null&&(Ve=bn(Z),Z!==Ve||Z.tag!==5&&Z.tag!==6)&&(Z=null)):(X=null,Z=L),X!==Z)){if(ne=gs,W="onMouseLeave",N="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(ne=ks,W="onPointerLeave",N="onPointerEnter",T="pointer"),Ve=X==null?U:sr(X),z=Z==null?U:sr(Z),U=new ne(W,T+"leave",X,i,H),U.target=Ve,U.relatedTarget=z,W=null,Mn(H)===L&&(ne=new ne(N,T+"enter",Z,i,H),ne.target=z,ne.relatedTarget=Ve,W=ne),Ve=W,X&&Z)t:{for(ne=X,N=Z,T=0,z=ne;z;z=ur(z))T++;for(z=0,W=N;W;W=ur(W))z++;for(;0<T-z;)ne=ur(ne),T--;for(;0<z-T;)N=ur(N),z--;for(;T--;){if(ne===N||N!==null&&ne===N.alternate)break t;ne=ur(ne),N=ur(N)}ne=null}else ne=null;X!==null&&Ws(V,U,X,ne,!1),Z!==null&&Ve!==null&&Ws(V,Ve,Z,ne,!0)}}e:{if(U=L?sr(L):window,X=U.nodeName&&U.nodeName.toLowerCase(),X==="select"||X==="input"&&U.type==="file")var re=Lh;else if(Es(U))if(_s)re=bh;else{re=Rh;var oe=Dh}else(X=U.nodeName)&&X.toLowerCase()==="input"&&(U.type==="checkbox"||U.type==="radio")&&(re=Ah);if(re&&(re=re(e,L))){Ts(V,re,i,H);break e}oe&&oe(e,U,L),e==="focusout"&&(oe=U._wrapperState)&&oe.controlled&&U.type==="number"&&Zn(U,"number",U.value)}switch(oe=L?sr(L):window,e){case"focusin":(Es(oe)||oe.contentEditable==="true")&&(lr=oe,Io=L,Gr=null);break;case"focusout":Gr=Io=lr=null;break;case"mousedown":zo=!0;break;case"contextmenu":case"mouseup":case"dragend":zo=!1,As(V,i,H);break;case"selectionchange":if(Fh)break;case"keydown":case"keyup":As(V,i,H)}var ue;if(To)e:{switch(e){case"compositionstart":var he="onCompositionStart";break e;case"compositionend":he="onCompositionEnd";break e;case"compositionupdate":he="onCompositionUpdate";break e}he=void 0}else ir?Ss(e,i)&&(he="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(he="onCompositionStart");he&&(xs&&i.locale!=="ko"&&(ir||he!=="onCompositionStart"?he==="onCompositionEnd"&&ir&&(ue=hs()):(gn=H,xo="value"in gn?gn.value:gn.textContent,ir=!0)),oe=el(L,he),0<oe.length&&(he=new ys(he,e,null,i,H),V.push({event:he,listeners:oe}),ue?he.data=ue:(ue=Cs(i),ue!==null&&(he.data=ue)))),(ue=_h?Ph(e,i):Nh(e,i))&&(L=el(L,"onBeforeInput"),0<L.length&&(H=new ys("onBeforeInput","beforeinput",null,i,H),V.push({event:H,listeners:L}),H.data=ue))}Vs(V,t)})}function ei(e,t,i){return{instance:e,listener:t,currentTarget:i}}function el(e,t){for(var i=t+"Capture",u=[];e!==null;){var f=e,p=f.stateNode;f.tag===5&&p!==null&&(f=p,p=br(e,i),p!=null&&u.unshift(ei(e,p,f)),p=br(e,t),p!=null&&u.push(ei(e,p,f))),e=e.return}return u}function ur(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ws(e,t,i,u,f){for(var p=t._reactName,k=[];i!==null&&i!==u;){var S=i,E=S.alternate,L=S.stateNode;if(E!==null&&E===u)break;S.tag===5&&L!==null&&(S=L,f?(E=br(i,p),E!=null&&k.unshift(ei(i,E,S))):f||(E=br(i,p),E!=null&&k.push(ei(i,E,S)))),i=i.return}k.length!==0&&e.push({event:t,listeners:k})}var Hh=/\r\n?/g,Vh=/\u0000|\uFFFD/g;function Qs(e){return(typeof e=="string"?e:""+e).replace(Hh,`
38
- `).replace(Vh,"")}function tl(e,t,i){if(t=Qs(t),Qs(e)!==t&&i)throw Error(r(425))}function nl(){}var Mo=null,jo=null;function Fo(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Oo=typeof setTimeout=="function"?setTimeout:void 0,$h=typeof clearTimeout=="function"?clearTimeout:void 0,qs=typeof Promise=="function"?Promise:void 0,Wh=typeof queueMicrotask=="function"?queueMicrotask:typeof qs<"u"?function(e){return qs.resolve(null).then(e).catch(Qh)}:Oo;function Qh(e){setTimeout(function(){throw e})}function Bo(e,t){var i=t,u=0;do{var f=i.nextSibling;if(e.removeChild(i),f&&f.nodeType===8)if(i=f.data,i==="/$"){if(u===0){e.removeChild(f),$r(t);return}u--}else i!=="$"&&i!=="$?"&&i!=="$!"||u++;i=f}while(i);$r(t)}function kn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Ys(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"){if(t===0)return e;t--}else i==="/$"&&t++}e=e.previousSibling}return null}var ar=Math.random().toString(36).slice(2),Wt="__reactFiber$"+ar,ti="__reactProps$"+ar,Zt="__reactContainer$"+ar,Uo="__reactEvents$"+ar,qh="__reactListeners$"+ar,Yh="__reactHandles$"+ar;function Mn(e){var t=e[Wt];if(t)return t;for(var i=e.parentNode;i;){if(t=i[Zt]||i[Wt]){if(i=t.alternate,t.child!==null||i!==null&&i.child!==null)for(e=Ys(e);e!==null;){if(i=e[Wt])return i;e=Ys(e)}return t}e=i,i=e.parentNode}return null}function ni(e){return e=e[Wt]||e[Zt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function sr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function rl(e){return e[ti]||null}var Ho=[],cr=-1;function xn(e){return{current:e}}function je(e){0>cr||(e.current=Ho[cr],Ho[cr]=null,cr--)}function Ae(e,t){cr++,Ho[cr]=e.current,e.current=t}var vn={},rt=xn(vn),pt=xn(!1),jn=vn;function fr(e,t){var i=e.type.contextTypes;if(!i)return vn;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===t)return u.__reactInternalMemoizedMaskedChildContext;var f={},p;for(p in i)f[p]=t[p];return u&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=f),f}function dt(e){return e=e.childContextTypes,e!=null}function il(){je(pt),je(rt)}function Xs(e,t,i){if(rt.current!==vn)throw Error(r(168));Ae(rt,t),Ae(pt,i)}function Ks(e,t,i){var u=e.stateNode;if(t=t.childContextTypes,typeof u.getChildContext!="function")return i;u=u.getChildContext();for(var f in u)if(!(f in t))throw Error(r(108,Ie(e)||"Unknown",f));return w({},i,u)}function ll(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||vn,jn=rt.current,Ae(rt,e),Ae(pt,pt.current),!0}function Gs(e,t,i){var u=e.stateNode;if(!u)throw Error(r(169));i?(e=Ks(e,t,jn),u.__reactInternalMemoizedMergedChildContext=e,je(pt),je(rt),Ae(rt,e)):je(pt),Ae(pt,i)}var en=null,ol=!1,Vo=!1;function Js(e){en===null?en=[e]:en.push(e)}function Xh(e){ol=!0,Js(e)}function wn(){if(!Vo&&en!==null){Vo=!0;var e=0,t=De;try{var i=en;for(De=1;e<i.length;e++){var u=i[e];do u=u(!0);while(u!==null)}en=null,ol=!1}catch(f){throw en!==null&&(en=en.slice(e+1)),es(co,wn),f}finally{De=t,Vo=!1}}return null}var pr=[],dr=0,ul=null,al=0,Nt=[],It=0,Fn=null,tn=1,nn="";function On(e,t){pr[dr++]=al,pr[dr++]=ul,ul=e,al=t}function Zs(e,t,i){Nt[It++]=tn,Nt[It++]=nn,Nt[It++]=Fn,Fn=e;var u=tn;e=nn;var f=32-bt(u)-1;u&=~(1<<f),i+=1;var p=32-bt(t)+f;if(30<p){var k=f-f%5;p=(u&(1<<k)-1).toString(32),u>>=k,f-=k,tn=1<<32-bt(t)+f|i<<f|u,nn=p+e}else tn=1<<p|i<<f|u,nn=e}function $o(e){e.return!==null&&(On(e,1),Zs(e,1,0))}function Wo(e){for(;e===ul;)ul=pr[--dr],pr[dr]=null,al=pr[--dr],pr[dr]=null;for(;e===Fn;)Fn=Nt[--It],Nt[It]=null,nn=Nt[--It],Nt[It]=null,tn=Nt[--It],Nt[It]=null}var St=null,Ct=null,Fe=!1,jt=null;function ec(e,t){var i=Rt(5,null,null,0);i.elementType="DELETED",i.stateNode=t,i.return=e,t=e.deletions,t===null?(e.deletions=[i],e.flags|=16):t.push(i)}function tc(e,t){switch(e.tag){case 5:var i=e.type;return t=t.nodeType!==1||i.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,St=e,Ct=kn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,St=e,Ct=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(i=Fn!==null?{id:tn,overflow:nn}:null,e.memoizedState={dehydrated:t,treeContext:i,retryLane:1073741824},i=Rt(18,null,null,0),i.stateNode=t,i.return=e,e.child=i,St=e,Ct=null,!0):!1;default:return!1}}function Qo(e){return(e.mode&1)!==0&&(e.flags&128)===0}function qo(e){if(Fe){var t=Ct;if(t){var i=t;if(!tc(e,t)){if(Qo(e))throw Error(r(418));t=kn(i.nextSibling);var u=St;t&&tc(e,t)?ec(u,i):(e.flags=e.flags&-4097|2,Fe=!1,St=e)}}else{if(Qo(e))throw Error(r(418));e.flags=e.flags&-4097|2,Fe=!1,St=e}}}function nc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;St=e}function sl(e){if(e!==St)return!1;if(!Fe)return nc(e),Fe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Fo(e.type,e.memoizedProps)),t&&(t=Ct)){if(Qo(e))throw rc(),Error(r(418));for(;t;)ec(e,t),t=kn(t.nextSibling)}if(nc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(t===0){Ct=kn(e.nextSibling);break e}t--}else i!=="$"&&i!=="$!"&&i!=="$?"||t++}e=e.nextSibling}Ct=null}}else Ct=St?kn(e.stateNode.nextSibling):null;return!0}function rc(){for(var e=Ct;e;)e=kn(e.nextSibling)}function hr(){Ct=St=null,Fe=!1}function Yo(e){jt===null?jt=[e]:jt.push(e)}var Kh=te.ReactCurrentBatchConfig;function ri(e,t,i){if(e=i.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(r(309));var u=i.stateNode}if(!u)throw Error(r(147,e));var f=u,p=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===p?t.ref:(t=function(k){var S=f.refs;k===null?delete S[p]:S[p]=k},t._stringRef=p,t)}if(typeof e!="string")throw Error(r(284));if(!i._owner)throw Error(r(290,e))}return e}function cl(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ic(e){var t=e._init;return t(e._payload)}function lc(e){function t(N,T){if(e){var z=N.deletions;z===null?(N.deletions=[T],N.flags|=16):z.push(T)}}function i(N,T){if(!e)return null;for(;T!==null;)t(N,T),T=T.sibling;return null}function u(N,T){for(N=new Map;T!==null;)T.key!==null?N.set(T.key,T):N.set(T.index,T),T=T.sibling;return N}function f(N,T){return N=In(N,T),N.index=0,N.sibling=null,N}function p(N,T,z){return N.index=z,e?(z=N.alternate,z!==null?(z=z.index,z<T?(N.flags|=2,T):z):(N.flags|=2,T)):(N.flags|=1048576,T)}function k(N){return e&&N.alternate===null&&(N.flags|=2),N}function S(N,T,z,W){return T===null||T.tag!==6?(T=Ou(z,N.mode,W),T.return=N,T):(T=f(T,z),T.return=N,T)}function E(N,T,z,W){var re=z.type;return re===se?H(N,T,z.props.children,W,z.key):T!==null&&(T.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===ye&&ic(re)===T.type)?(W=f(T,z.props),W.ref=ri(N,T,z),W.return=N,W):(W=Al(z.type,z.key,z.props,null,N.mode,W),W.ref=ri(N,T,z),W.return=N,W)}function L(N,T,z,W){return T===null||T.tag!==4||T.stateNode.containerInfo!==z.containerInfo||T.stateNode.implementation!==z.implementation?(T=Bu(z,N.mode,W),T.return=N,T):(T=f(T,z.children||[]),T.return=N,T)}function H(N,T,z,W,re){return T===null||T.tag!==7?(T=qn(z,N.mode,W,re),T.return=N,T):(T=f(T,z),T.return=N,T)}function V(N,T,z){if(typeof T=="string"&&T!==""||typeof T=="number")return T=Ou(""+T,N.mode,z),T.return=N,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case le:return z=Al(T.type,T.key,T.props,null,N.mode,z),z.ref=ri(N,null,T),z.return=N,z;case M:return T=Bu(T,N.mode,z),T.return=N,T;case ye:var W=T._init;return V(N,W(T._payload),z)}if(sn(T)||ie(T))return T=qn(T,N.mode,z,null),T.return=N,T;cl(N,T)}return null}function U(N,T,z,W){var re=T!==null?T.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return re!==null?null:S(N,T,""+z,W);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case le:return z.key===re?E(N,T,z,W):null;case M:return z.key===re?L(N,T,z,W):null;case ye:return re=z._init,U(N,T,re(z._payload),W)}if(sn(z)||ie(z))return re!==null?null:H(N,T,z,W,null);cl(N,z)}return null}function X(N,T,z,W,re){if(typeof W=="string"&&W!==""||typeof W=="number")return N=N.get(z)||null,S(T,N,""+W,re);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case le:return N=N.get(W.key===null?z:W.key)||null,E(T,N,W,re);case M:return N=N.get(W.key===null?z:W.key)||null,L(T,N,W,re);case ye:var oe=W._init;return X(N,T,z,oe(W._payload),re)}if(sn(W)||ie(W))return N=N.get(z)||null,H(T,N,W,re,null);cl(T,W)}return null}function Z(N,T,z,W){for(var re=null,oe=null,ue=T,he=T=0,Ge=null;ue!==null&&he<z.length;he++){ue.index>he?(Ge=ue,ue=null):Ge=ue.sibling;var ze=U(N,ue,z[he],W);if(ze===null){ue===null&&(ue=Ge);break}e&&ue&&ze.alternate===null&&t(N,ue),T=p(ze,T,he),oe===null?re=ze:oe.sibling=ze,oe=ze,ue=Ge}if(he===z.length)return i(N,ue),Fe&&On(N,he),re;if(ue===null){for(;he<z.length;he++)ue=V(N,z[he],W),ue!==null&&(T=p(ue,T,he),oe===null?re=ue:oe.sibling=ue,oe=ue);return Fe&&On(N,he),re}for(ue=u(N,ue);he<z.length;he++)Ge=X(ue,N,he,z[he],W),Ge!==null&&(e&&Ge.alternate!==null&&ue.delete(Ge.key===null?he:Ge.key),T=p(Ge,T,he),oe===null?re=Ge:oe.sibling=Ge,oe=Ge);return e&&ue.forEach(function(zn){return t(N,zn)}),Fe&&On(N,he),re}function ne(N,T,z,W){var re=ie(z);if(typeof re!="function")throw Error(r(150));if(z=re.call(z),z==null)throw Error(r(151));for(var oe=re=null,ue=T,he=T=0,Ge=null,ze=z.next();ue!==null&&!ze.done;he++,ze=z.next()){ue.index>he?(Ge=ue,ue=null):Ge=ue.sibling;var zn=U(N,ue,ze.value,W);if(zn===null){ue===null&&(ue=Ge);break}e&&ue&&zn.alternate===null&&t(N,ue),T=p(zn,T,he),oe===null?re=zn:oe.sibling=zn,oe=zn,ue=Ge}if(ze.done)return i(N,ue),Fe&&On(N,he),re;if(ue===null){for(;!ze.done;he++,ze=z.next())ze=V(N,ze.value,W),ze!==null&&(T=p(ze,T,he),oe===null?re=ze:oe.sibling=ze,oe=ze);return Fe&&On(N,he),re}for(ue=u(N,ue);!ze.done;he++,ze=z.next())ze=X(ue,N,he,ze.value,W),ze!==null&&(e&&ze.alternate!==null&&ue.delete(ze.key===null?he:ze.key),T=p(ze,T,he),oe===null?re=ze:oe.sibling=ze,oe=ze);return e&&ue.forEach(function(Im){return t(N,Im)}),Fe&&On(N,he),re}function Ve(N,T,z,W){if(typeof z=="object"&&z!==null&&z.type===se&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case le:e:{for(var re=z.key,oe=T;oe!==null;){if(oe.key===re){if(re=z.type,re===se){if(oe.tag===7){i(N,oe.sibling),T=f(oe,z.props.children),T.return=N,N=T;break e}}else if(oe.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===ye&&ic(re)===oe.type){i(N,oe.sibling),T=f(oe,z.props),T.ref=ri(N,oe,z),T.return=N,N=T;break e}i(N,oe);break}else t(N,oe);oe=oe.sibling}z.type===se?(T=qn(z.props.children,N.mode,W,z.key),T.return=N,N=T):(W=Al(z.type,z.key,z.props,null,N.mode,W),W.ref=ri(N,T,z),W.return=N,N=W)}return k(N);case M:e:{for(oe=z.key;T!==null;){if(T.key===oe)if(T.tag===4&&T.stateNode.containerInfo===z.containerInfo&&T.stateNode.implementation===z.implementation){i(N,T.sibling),T=f(T,z.children||[]),T.return=N,N=T;break e}else{i(N,T);break}else t(N,T);T=T.sibling}T=Bu(z,N.mode,W),T.return=N,N=T}return k(N);case ye:return oe=z._init,Ve(N,T,oe(z._payload),W)}if(sn(z))return Z(N,T,z,W);if(ie(z))return ne(N,T,z,W);cl(N,z)}return typeof z=="string"&&z!==""||typeof z=="number"?(z=""+z,T!==null&&T.tag===6?(i(N,T.sibling),T=f(T,z),T.return=N,N=T):(i(N,T),T=Ou(z,N.mode,W),T.return=N,N=T),k(N)):i(N,T)}return Ve}var mr=lc(!0),oc=lc(!1),fl=xn(null),pl=null,gr=null,Xo=null;function Ko(){Xo=gr=pl=null}function Go(e){var t=fl.current;je(fl),e._currentValue=t}function Jo(e,t,i){for(;e!==null;){var u=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,u!==null&&(u.childLanes|=t)):u!==null&&(u.childLanes&t)!==t&&(u.childLanes|=t),e===i)break;e=e.return}}function yr(e,t){pl=e,Xo=gr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(ht=!0),e.firstContext=null)}function zt(e){var t=e._currentValue;if(Xo!==e)if(e={context:e,memoizedValue:t,next:null},gr===null){if(pl===null)throw Error(r(308));gr=e,pl.dependencies={lanes:0,firstContext:e}}else gr=gr.next=e;return t}var Bn=null;function Zo(e){Bn===null?Bn=[e]:Bn.push(e)}function uc(e,t,i,u){var f=t.interleaved;return f===null?(i.next=i,Zo(t)):(i.next=f.next,f.next=i),t.interleaved=i,rn(e,u)}function rn(e,t){e.lanes|=t;var i=e.alternate;for(i!==null&&(i.lanes|=t),i=e,e=e.return;e!==null;)e.childLanes|=t,i=e.alternate,i!==null&&(i.childLanes|=t),i=e,e=e.return;return i.tag===3?i.stateNode:null}var Sn=!1;function eu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ac(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ln(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Cn(e,t,i){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(Ne&2)!==0){var f=u.pending;return f===null?t.next=t:(t.next=f.next,f.next=t),u.pending=t,rn(e,i)}return f=u.interleaved,f===null?(t.next=t,Zo(u)):(t.next=f.next,f.next=t),u.interleaved=t,rn(e,i)}function dl(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194240)!==0)){var u=t.lanes;u&=e.pendingLanes,i|=u,t.lanes=i,ho(e,i)}}function sc(e,t){var i=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,i===u)){var f=null,p=null;if(i=i.firstBaseUpdate,i!==null){do{var k={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};p===null?f=p=k:p=p.next=k,i=i.next}while(i!==null);p===null?f=p=t:p=p.next=t}else f=p=t;i={baseState:u.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:u.shared,effects:u.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}function hl(e,t,i,u){var f=e.updateQueue;Sn=!1;var p=f.firstBaseUpdate,k=f.lastBaseUpdate,S=f.shared.pending;if(S!==null){f.shared.pending=null;var E=S,L=E.next;E.next=null,k===null?p=L:k.next=L,k=E;var H=e.alternate;H!==null&&(H=H.updateQueue,S=H.lastBaseUpdate,S!==k&&(S===null?H.firstBaseUpdate=L:S.next=L,H.lastBaseUpdate=E))}if(p!==null){var V=f.baseState;k=0,H=L=E=null,S=p;do{var U=S.lane,X=S.eventTime;if((u&U)===U){H!==null&&(H=H.next={eventTime:X,lane:0,tag:S.tag,payload:S.payload,callback:S.callback,next:null});e:{var Z=e,ne=S;switch(U=t,X=i,ne.tag){case 1:if(Z=ne.payload,typeof Z=="function"){V=Z.call(X,V,U);break e}V=Z;break e;case 3:Z.flags=Z.flags&-65537|128;case 0:if(Z=ne.payload,U=typeof Z=="function"?Z.call(X,V,U):Z,U==null)break e;V=w({},V,U);break e;case 2:Sn=!0}}S.callback!==null&&S.lane!==0&&(e.flags|=64,U=f.effects,U===null?f.effects=[S]:U.push(S))}else X={eventTime:X,lane:U,tag:S.tag,payload:S.payload,callback:S.callback,next:null},H===null?(L=H=X,E=V):H=H.next=X,k|=U;if(S=S.next,S===null){if(S=f.shared.pending,S===null)break;U=S,S=U.next,U.next=null,f.lastBaseUpdate=U,f.shared.pending=null}}while(!0);if(H===null&&(E=V),f.baseState=E,f.firstBaseUpdate=L,f.lastBaseUpdate=H,t=f.shared.interleaved,t!==null){f=t;do k|=f.lane,f=f.next;while(f!==t)}else p===null&&(f.shared.lanes=0);Vn|=k,e.lanes=k,e.memoizedState=V}}function cc(e,t,i){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var u=e[t],f=u.callback;if(f!==null){if(u.callback=null,u=i,typeof f!="function")throw Error(r(191,f));f.call(u)}}}var ii={},Qt=xn(ii),li=xn(ii),oi=xn(ii);function Un(e){if(e===ii)throw Error(r(174));return e}function tu(e,t){switch(Ae(oi,t),Ae(li,e),Ae(Qt,ii),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:q(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=q(t,e)}je(Qt),Ae(Qt,t)}function kr(){je(Qt),je(li),je(oi)}function fc(e){Un(oi.current);var t=Un(Qt.current),i=q(t,e.type);t!==i&&(Ae(li,e),Ae(Qt,i))}function nu(e){li.current===e&&(je(Qt),je(li))}var Oe=xn(0);function ml(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ru=[];function iu(){for(var e=0;e<ru.length;e++)ru[e]._workInProgressVersionPrimary=null;ru.length=0}var gl=te.ReactCurrentDispatcher,lu=te.ReactCurrentBatchConfig,Hn=0,Be=null,qe=null,Xe=null,yl=!1,ui=!1,ai=0,Gh=0;function it(){throw Error(r(321))}function ou(e,t){if(t===null)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!Mt(e[i],t[i]))return!1;return!0}function uu(e,t,i,u,f,p){if(Hn=p,Be=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,gl.current=e===null||e.memoizedState===null?tm:nm,e=i(u,f),ui){p=0;do{if(ui=!1,ai=0,25<=p)throw Error(r(301));p+=1,Xe=qe=null,t.updateQueue=null,gl.current=rm,e=i(u,f)}while(ui)}if(gl.current=vl,t=qe!==null&&qe.next!==null,Hn=0,Xe=qe=Be=null,yl=!1,t)throw Error(r(300));return e}function au(){var e=ai!==0;return ai=0,e}function qt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?Be.memoizedState=Xe=e:Xe=Xe.next=e,Xe}function Lt(){if(qe===null){var e=Be.alternate;e=e!==null?e.memoizedState:null}else e=qe.next;var t=Xe===null?Be.memoizedState:Xe.next;if(t!==null)Xe=t,qe=e;else{if(e===null)throw Error(r(310));qe=e,e={memoizedState:qe.memoizedState,baseState:qe.baseState,baseQueue:qe.baseQueue,queue:qe.queue,next:null},Xe===null?Be.memoizedState=Xe=e:Xe=Xe.next=e}return Xe}function si(e,t){return typeof t=="function"?t(e):t}function su(e){var t=Lt(),i=t.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=e;var u=qe,f=u.baseQueue,p=i.pending;if(p!==null){if(f!==null){var k=f.next;f.next=p.next,p.next=k}u.baseQueue=f=p,i.pending=null}if(f!==null){p=f.next,u=u.baseState;var S=k=null,E=null,L=p;do{var H=L.lane;if((Hn&H)===H)E!==null&&(E=E.next={lane:0,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null}),u=L.hasEagerState?L.eagerState:e(u,L.action);else{var V={lane:H,action:L.action,hasEagerState:L.hasEagerState,eagerState:L.eagerState,next:null};E===null?(S=E=V,k=u):E=E.next=V,Be.lanes|=H,Vn|=H}L=L.next}while(L!==null&&L!==p);E===null?k=u:E.next=S,Mt(u,t.memoizedState)||(ht=!0),t.memoizedState=u,t.baseState=k,t.baseQueue=E,i.lastRenderedState=u}if(e=i.interleaved,e!==null){f=e;do p=f.lane,Be.lanes|=p,Vn|=p,f=f.next;while(f!==e)}else f===null&&(i.lanes=0);return[t.memoizedState,i.dispatch]}function cu(e){var t=Lt(),i=t.queue;if(i===null)throw Error(r(311));i.lastRenderedReducer=e;var u=i.dispatch,f=i.pending,p=t.memoizedState;if(f!==null){i.pending=null;var k=f=f.next;do p=e(p,k.action),k=k.next;while(k!==f);Mt(p,t.memoizedState)||(ht=!0),t.memoizedState=p,t.baseQueue===null&&(t.baseState=p),i.lastRenderedState=p}return[p,u]}function pc(){}function dc(e,t){var i=Be,u=Lt(),f=t(),p=!Mt(u.memoizedState,f);if(p&&(u.memoizedState=f,ht=!0),u=u.queue,fu(gc.bind(null,i,u,e),[e]),u.getSnapshot!==t||p||Xe!==null&&Xe.memoizedState.tag&1){if(i.flags|=2048,ci(9,mc.bind(null,i,u,f,t),void 0,null),Ke===null)throw Error(r(349));(Hn&30)!==0||hc(i,t,f)}return f}function hc(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=Be.updateQueue,t===null?(t={lastEffect:null,stores:null},Be.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function mc(e,t,i,u){t.value=i,t.getSnapshot=u,yc(t)&&kc(e)}function gc(e,t,i){return i(function(){yc(t)&&kc(e)})}function yc(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!Mt(e,i)}catch{return!0}}function kc(e){var t=rn(e,1);t!==null&&Ut(t,e,1,-1)}function xc(e){var t=qt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:si,lastRenderedState:e},t.queue=e,e=e.dispatch=em.bind(null,Be,e),[t.memoizedState,e]}function ci(e,t,i,u){return e={tag:e,create:t,destroy:i,deps:u,next:null},t=Be.updateQueue,t===null?(t={lastEffect:null,stores:null},Be.updateQueue=t,t.lastEffect=e.next=e):(i=t.lastEffect,i===null?t.lastEffect=e.next=e:(u=i.next,i.next=e,e.next=u,t.lastEffect=e)),e}function vc(){return Lt().memoizedState}function kl(e,t,i,u){var f=qt();Be.flags|=e,f.memoizedState=ci(1|t,i,void 0,u===void 0?null:u)}function xl(e,t,i,u){var f=Lt();u=u===void 0?null:u;var p=void 0;if(qe!==null){var k=qe.memoizedState;if(p=k.destroy,u!==null&&ou(u,k.deps)){f.memoizedState=ci(t,i,p,u);return}}Be.flags|=e,f.memoizedState=ci(1|t,i,p,u)}function wc(e,t){return kl(8390656,8,e,t)}function fu(e,t){return xl(2048,8,e,t)}function Sc(e,t){return xl(4,2,e,t)}function Cc(e,t){return xl(4,4,e,t)}function Ec(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Tc(e,t,i){return i=i!=null?i.concat([e]):null,xl(4,4,Ec.bind(null,t,e),i)}function pu(){}function _c(e,t){var i=Lt();t=t===void 0?null:t;var u=i.memoizedState;return u!==null&&t!==null&&ou(t,u[1])?u[0]:(i.memoizedState=[e,t],e)}function Pc(e,t){var i=Lt();t=t===void 0?null:t;var u=i.memoizedState;return u!==null&&t!==null&&ou(t,u[1])?u[0]:(e=e(),i.memoizedState=[e,t],e)}function Nc(e,t,i){return(Hn&21)===0?(e.baseState&&(e.baseState=!1,ht=!0),e.memoizedState=i):(Mt(i,t)||(i=is(),Be.lanes|=i,Vn|=i,e.baseState=!0),t)}function Jh(e,t){var i=De;De=i!==0&&4>i?i:4,e(!0);var u=lu.transition;lu.transition={};try{e(!1),t()}finally{De=i,lu.transition=u}}function Ic(){return Lt().memoizedState}function Zh(e,t,i){var u=Pn(e);if(i={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null},zc(e))Lc(t,i);else if(i=uc(e,t,i,u),i!==null){var f=ct();Ut(i,e,u,f),Dc(i,t,u)}}function em(e,t,i){var u=Pn(e),f={lane:u,action:i,hasEagerState:!1,eagerState:null,next:null};if(zc(e))Lc(t,f);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=t.lastRenderedReducer,p!==null))try{var k=t.lastRenderedState,S=p(k,i);if(f.hasEagerState=!0,f.eagerState=S,Mt(S,k)){var E=t.interleaved;E===null?(f.next=f,Zo(t)):(f.next=E.next,E.next=f),t.interleaved=f;return}}catch{}finally{}i=uc(e,t,f,u),i!==null&&(f=ct(),Ut(i,e,u,f),Dc(i,t,u))}}function zc(e){var t=e.alternate;return e===Be||t!==null&&t===Be}function Lc(e,t){ui=yl=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function Dc(e,t,i){if((i&4194240)!==0){var u=t.lanes;u&=e.pendingLanes,i|=u,t.lanes=i,ho(e,i)}}var vl={readContext:zt,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useInsertionEffect:it,useLayoutEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useDeferredValue:it,useTransition:it,useMutableSource:it,useSyncExternalStore:it,useId:it,unstable_isNewReconciler:!1},tm={readContext:zt,useCallback:function(e,t){return qt().memoizedState=[e,t===void 0?null:t],e},useContext:zt,useEffect:wc,useImperativeHandle:function(e,t,i){return i=i!=null?i.concat([e]):null,kl(4194308,4,Ec.bind(null,t,e),i)},useLayoutEffect:function(e,t){return kl(4194308,4,e,t)},useInsertionEffect:function(e,t){return kl(4,2,e,t)},useMemo:function(e,t){var i=qt();return t=t===void 0?null:t,e=e(),i.memoizedState=[e,t],e},useReducer:function(e,t,i){var u=qt();return t=i!==void 0?i(t):t,u.memoizedState=u.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},u.queue=e,e=e.dispatch=Zh.bind(null,Be,e),[u.memoizedState,e]},useRef:function(e){var t=qt();return e={current:e},t.memoizedState=e},useState:xc,useDebugValue:pu,useDeferredValue:function(e){return qt().memoizedState=e},useTransition:function(){var e=xc(!1),t=e[0];return e=Jh.bind(null,e[1]),qt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,i){var u=Be,f=qt();if(Fe){if(i===void 0)throw Error(r(407));i=i()}else{if(i=t(),Ke===null)throw Error(r(349));(Hn&30)!==0||hc(u,t,i)}f.memoizedState=i;var p={value:i,getSnapshot:t};return f.queue=p,wc(gc.bind(null,u,p,e),[e]),u.flags|=2048,ci(9,mc.bind(null,u,p,i,t),void 0,null),i},useId:function(){var e=qt(),t=Ke.identifierPrefix;if(Fe){var i=nn,u=tn;i=(u&~(1<<32-bt(u)-1)).toString(32)+i,t=":"+t+"R"+i,i=ai++,0<i&&(t+="H"+i.toString(32)),t+=":"}else i=Gh++,t=":"+t+"r"+i.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},nm={readContext:zt,useCallback:_c,useContext:zt,useEffect:fu,useImperativeHandle:Tc,useInsertionEffect:Sc,useLayoutEffect:Cc,useMemo:Pc,useReducer:su,useRef:vc,useState:function(){return su(si)},useDebugValue:pu,useDeferredValue:function(e){var t=Lt();return Nc(t,qe.memoizedState,e)},useTransition:function(){var e=su(si)[0],t=Lt().memoizedState;return[e,t]},useMutableSource:pc,useSyncExternalStore:dc,useId:Ic,unstable_isNewReconciler:!1},rm={readContext:zt,useCallback:_c,useContext:zt,useEffect:fu,useImperativeHandle:Tc,useInsertionEffect:Sc,useLayoutEffect:Cc,useMemo:Pc,useReducer:cu,useRef:vc,useState:function(){return cu(si)},useDebugValue:pu,useDeferredValue:function(e){var t=Lt();return qe===null?t.memoizedState=e:Nc(t,qe.memoizedState,e)},useTransition:function(){var e=cu(si)[0],t=Lt().memoizedState;return[e,t]},useMutableSource:pc,useSyncExternalStore:dc,useId:Ic,unstable_isNewReconciler:!1};function Ft(e,t){if(e&&e.defaultProps){t=w({},t),e=e.defaultProps;for(var i in e)t[i]===void 0&&(t[i]=e[i]);return t}return t}function du(e,t,i,u){t=e.memoizedState,i=i(u,t),i=i==null?t:w({},t,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var wl={isMounted:function(e){return(e=e._reactInternals)?bn(e)===e:!1},enqueueSetState:function(e,t,i){e=e._reactInternals;var u=ct(),f=Pn(e),p=ln(u,f);p.payload=t,i!=null&&(p.callback=i),t=Cn(e,p,f),t!==null&&(Ut(t,e,f,u),dl(t,e,f))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var u=ct(),f=Pn(e),p=ln(u,f);p.tag=1,p.payload=t,i!=null&&(p.callback=i),t=Cn(e,p,f),t!==null&&(Ut(t,e,f,u),dl(t,e,f))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=ct(),u=Pn(e),f=ln(i,u);f.tag=2,t!=null&&(f.callback=t),t=Cn(e,f,u),t!==null&&(Ut(t,e,u,i),dl(t,e,u))}};function Rc(e,t,i,u,f,p,k){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,p,k):t.prototype&&t.prototype.isPureReactComponent?!Kr(i,u)||!Kr(f,p):!0}function Ac(e,t,i){var u=!1,f=vn,p=t.contextType;return typeof p=="object"&&p!==null?p=zt(p):(f=dt(t)?jn:rt.current,u=t.contextTypes,p=(u=u!=null)?fr(e,f):vn),t=new t(i,p),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=wl,e.stateNode=t,t._reactInternals=e,u&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=f,e.__reactInternalMemoizedMaskedChildContext=p),t}function bc(e,t,i,u){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,u),t.state!==e&&wl.enqueueReplaceState(t,t.state,null)}function hu(e,t,i,u){var f=e.stateNode;f.props=i,f.state=e.memoizedState,f.refs={},eu(e);var p=t.contextType;typeof p=="object"&&p!==null?f.context=zt(p):(p=dt(t)?jn:rt.current,f.context=fr(e,p)),f.state=e.memoizedState,p=t.getDerivedStateFromProps,typeof p=="function"&&(du(e,t,p,i),f.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(t=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),t!==f.state&&wl.enqueueReplaceState(f,f.state,null),hl(e,i,f,u),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308)}function xr(e,t){try{var i="",u=t;do i+=we(u),u=u.return;while(u);var f=i}catch(p){f=`
39
- Error generating stack: `+p.message+`
40
- `+p.stack}return{value:e,source:t,stack:f,digest:null}}function mu(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function gu(e,t){try{console.error(t.value)}catch(i){setTimeout(function(){throw i})}}var im=typeof WeakMap=="function"?WeakMap:Map;function Mc(e,t,i){i=ln(-1,i),i.tag=3,i.payload={element:null};var u=t.value;return i.callback=function(){Nl||(Nl=!0,Lu=u),gu(e,t)},i}function jc(e,t,i){i=ln(-1,i),i.tag=3;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var f=t.value;i.payload=function(){return u(f)},i.callback=function(){gu(e,t)}}var p=e.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(i.callback=function(){gu(e,t),typeof u!="function"&&(Tn===null?Tn=new Set([this]):Tn.add(this));var k=t.stack;this.componentDidCatch(t.value,{componentStack:k!==null?k:""})}),i}function Fc(e,t,i){var u=e.pingCache;if(u===null){u=e.pingCache=new im;var f=new Set;u.set(t,f)}else f=u.get(t),f===void 0&&(f=new Set,u.set(t,f));f.has(i)||(f.add(i),e=km.bind(null,e,t,i),t.then(e,e))}function Oc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Bc(e,t,i,u,f){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(t=ln(-1,1),t.tag=2,Cn(i,t,1))),i.lanes|=1),e):(e.flags|=65536,e.lanes=f,e)}var lm=te.ReactCurrentOwner,ht=!1;function st(e,t,i,u){t.child=e===null?oc(t,null,i,u):mr(t,e.child,i,u)}function Uc(e,t,i,u,f){i=i.render;var p=t.ref;return yr(t,f),u=uu(e,t,i,u,p,f),i=au(),e!==null&&!ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~f,on(e,t,f)):(Fe&&i&&$o(t),t.flags|=1,st(e,t,u,f),t.child)}function Hc(e,t,i,u,f){if(e===null){var p=i.type;return typeof p=="function"&&!Fu(p)&&p.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(t.tag=15,t.type=p,Vc(e,t,p,u,f)):(e=Al(i.type,null,u,t,t.mode,f),e.ref=t.ref,e.return=t,t.child=e)}if(p=e.child,(e.lanes&f)===0){var k=p.memoizedProps;if(i=i.compare,i=i!==null?i:Kr,i(k,u)&&e.ref===t.ref)return on(e,t,f)}return t.flags|=1,e=In(p,u),e.ref=t.ref,e.return=t,t.child=e}function Vc(e,t,i,u,f){if(e!==null){var p=e.memoizedProps;if(Kr(p,u)&&e.ref===t.ref)if(ht=!1,t.pendingProps=u=p,(e.lanes&f)!==0)(e.flags&131072)!==0&&(ht=!0);else return t.lanes=e.lanes,on(e,t,f)}return yu(e,t,i,u,f)}function $c(e,t,i){var u=t.pendingProps,f=u.children,p=e!==null?e.memoizedState:null;if(u.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ae(wr,Et),Et|=i;else{if((i&1073741824)===0)return e=p!==null?p.baseLanes|i:i,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ae(wr,Et),Et|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=p!==null?p.baseLanes:i,Ae(wr,Et),Et|=u}else p!==null?(u=p.baseLanes|i,t.memoizedState=null):u=i,Ae(wr,Et),Et|=u;return st(e,t,f,i),t.child}function Wc(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=512,t.flags|=2097152)}function yu(e,t,i,u,f){var p=dt(i)?jn:rt.current;return p=fr(t,p),yr(t,f),i=uu(e,t,i,u,p,f),u=au(),e!==null&&!ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~f,on(e,t,f)):(Fe&&u&&$o(t),t.flags|=1,st(e,t,i,f),t.child)}function Qc(e,t,i,u,f){if(dt(i)){var p=!0;ll(t)}else p=!1;if(yr(t,f),t.stateNode===null)Cl(e,t),Ac(t,i,u),hu(t,i,u,f),u=!0;else if(e===null){var k=t.stateNode,S=t.memoizedProps;k.props=S;var E=k.context,L=i.contextType;typeof L=="object"&&L!==null?L=zt(L):(L=dt(i)?jn:rt.current,L=fr(t,L));var H=i.getDerivedStateFromProps,V=typeof H=="function"||typeof k.getSnapshotBeforeUpdate=="function";V||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(S!==u||E!==L)&&bc(t,k,u,L),Sn=!1;var U=t.memoizedState;k.state=U,hl(t,u,k,f),E=t.memoizedState,S!==u||U!==E||pt.current||Sn?(typeof H=="function"&&(du(t,i,H,u),E=t.memoizedState),(S=Sn||Rc(t,i,S,u,U,E,L))?(V||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount()),typeof k.componentDidMount=="function"&&(t.flags|=4194308)):(typeof k.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=u,t.memoizedState=E),k.props=u,k.state=E,k.context=L,u=S):(typeof k.componentDidMount=="function"&&(t.flags|=4194308),u=!1)}else{k=t.stateNode,ac(e,t),S=t.memoizedProps,L=t.type===t.elementType?S:Ft(t.type,S),k.props=L,V=t.pendingProps,U=k.context,E=i.contextType,typeof E=="object"&&E!==null?E=zt(E):(E=dt(i)?jn:rt.current,E=fr(t,E));var X=i.getDerivedStateFromProps;(H=typeof X=="function"||typeof k.getSnapshotBeforeUpdate=="function")||typeof k.UNSAFE_componentWillReceiveProps!="function"&&typeof k.componentWillReceiveProps!="function"||(S!==V||U!==E)&&bc(t,k,u,E),Sn=!1,U=t.memoizedState,k.state=U,hl(t,u,k,f);var Z=t.memoizedState;S!==V||U!==Z||pt.current||Sn?(typeof X=="function"&&(du(t,i,X,u),Z=t.memoizedState),(L=Sn||Rc(t,i,L,u,U,Z,E)||!1)?(H||typeof k.UNSAFE_componentWillUpdate!="function"&&typeof k.componentWillUpdate!="function"||(typeof k.componentWillUpdate=="function"&&k.componentWillUpdate(u,Z,E),typeof k.UNSAFE_componentWillUpdate=="function"&&k.UNSAFE_componentWillUpdate(u,Z,E)),typeof k.componentDidUpdate=="function"&&(t.flags|=4),typeof k.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof k.componentDidUpdate!="function"||S===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=Z),k.props=u,k.state=Z,k.context=E,u=L):(typeof k.componentDidUpdate!="function"||S===e.memoizedProps&&U===e.memoizedState||(t.flags|=4),typeof k.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&U===e.memoizedState||(t.flags|=1024),u=!1)}return ku(e,t,i,u,p,f)}function ku(e,t,i,u,f,p){Wc(e,t);var k=(t.flags&128)!==0;if(!u&&!k)return f&&Gs(t,i,!1),on(e,t,p);u=t.stateNode,lm.current=t;var S=k&&typeof i.getDerivedStateFromError!="function"?null:u.render();return t.flags|=1,e!==null&&k?(t.child=mr(t,e.child,null,p),t.child=mr(t,null,S,p)):st(e,t,S,p),t.memoizedState=u.state,f&&Gs(t,i,!0),t.child}function qc(e){var t=e.stateNode;t.pendingContext?Xs(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Xs(e,t.context,!1),tu(e,t.containerInfo)}function Yc(e,t,i,u,f){return hr(),Yo(f),t.flags|=256,st(e,t,i,u),t.child}var xu={dehydrated:null,treeContext:null,retryLane:0};function vu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Xc(e,t,i){var u=t.pendingProps,f=Oe.current,p=!1,k=(t.flags&128)!==0,S;if((S=k)||(S=e!==null&&e.memoizedState===null?!1:(f&2)!==0),S?(p=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(f|=1),Ae(Oe,f&1),e===null)return qo(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(k=u.children,e=u.fallback,p?(u=t.mode,p=t.child,k={mode:"hidden",children:k},(u&1)===0&&p!==null?(p.childLanes=0,p.pendingProps=k):p=bl(k,u,0,null),e=qn(e,u,i,null),p.return=t,e.return=t,p.sibling=e,t.child=p,t.child.memoizedState=vu(i),t.memoizedState=xu,e):wu(t,k));if(f=e.memoizedState,f!==null&&(S=f.dehydrated,S!==null))return om(e,t,k,u,S,f,i);if(p){p=u.fallback,k=t.mode,f=e.child,S=f.sibling;var E={mode:"hidden",children:u.children};return(k&1)===0&&t.child!==f?(u=t.child,u.childLanes=0,u.pendingProps=E,t.deletions=null):(u=In(f,E),u.subtreeFlags=f.subtreeFlags&14680064),S!==null?p=In(S,p):(p=qn(p,k,i,null),p.flags|=2),p.return=t,u.return=t,u.sibling=p,t.child=u,u=p,p=t.child,k=e.child.memoizedState,k=k===null?vu(i):{baseLanes:k.baseLanes|i,cachePool:null,transitions:k.transitions},p.memoizedState=k,p.childLanes=e.childLanes&~i,t.memoizedState=xu,u}return p=e.child,e=p.sibling,u=In(p,{mode:"visible",children:u.children}),(t.mode&1)===0&&(u.lanes=i),u.return=t,u.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=u,t.memoizedState=null,u}function wu(e,t){return t=bl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Sl(e,t,i,u){return u!==null&&Yo(u),mr(t,e.child,null,i),e=wu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function om(e,t,i,u,f,p,k){if(i)return t.flags&256?(t.flags&=-257,u=mu(Error(r(422))),Sl(e,t,k,u)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(p=u.fallback,f=t.mode,u=bl({mode:"visible",children:u.children},f,0,null),p=qn(p,f,k,null),p.flags|=2,u.return=t,p.return=t,u.sibling=p,t.child=u,(t.mode&1)!==0&&mr(t,e.child,null,k),t.child.memoizedState=vu(k),t.memoizedState=xu,p);if((t.mode&1)===0)return Sl(e,t,k,null);if(f.data==="$!"){if(u=f.nextSibling&&f.nextSibling.dataset,u)var S=u.dgst;return u=S,p=Error(r(419)),u=mu(p,u,void 0),Sl(e,t,k,u)}if(S=(k&e.childLanes)!==0,ht||S){if(u=Ke,u!==null){switch(k&-k){case 4:f=2;break;case 16:f=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:f=32;break;case 536870912:f=268435456;break;default:f=0}f=(f&(u.suspendedLanes|k))!==0?0:f,f!==0&&f!==p.retryLane&&(p.retryLane=f,rn(e,f),Ut(u,e,f,-1))}return ju(),u=mu(Error(r(421))),Sl(e,t,k,u)}return f.data==="$?"?(t.flags|=128,t.child=e.child,t=xm.bind(null,e),f._reactRetry=t,null):(e=p.treeContext,Ct=kn(f.nextSibling),St=t,Fe=!0,jt=null,e!==null&&(Nt[It++]=tn,Nt[It++]=nn,Nt[It++]=Fn,tn=e.id,nn=e.overflow,Fn=t),t=wu(t,u.children),t.flags|=4096,t)}function Kc(e,t,i){e.lanes|=t;var u=e.alternate;u!==null&&(u.lanes|=t),Jo(e.return,t,i)}function Su(e,t,i,u,f){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:f}:(p.isBackwards=t,p.rendering=null,p.renderingStartTime=0,p.last=u,p.tail=i,p.tailMode=f)}function Gc(e,t,i){var u=t.pendingProps,f=u.revealOrder,p=u.tail;if(st(e,t,u.children,i),u=Oe.current,(u&2)!==0)u=u&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Kc(e,i,t);else if(e.tag===19)Kc(e,i,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}if(Ae(Oe,u),(t.mode&1)===0)t.memoizedState=null;else switch(f){case"forwards":for(i=t.child,f=null;i!==null;)e=i.alternate,e!==null&&ml(e)===null&&(f=i),i=i.sibling;i=f,i===null?(f=t.child,t.child=null):(f=i.sibling,i.sibling=null),Su(t,!1,f,i,p);break;case"backwards":for(i=null,f=t.child,t.child=null;f!==null;){if(e=f.alternate,e!==null&&ml(e)===null){t.child=f;break}e=f.sibling,f.sibling=i,i=f,f=e}Su(t,!0,i,null,p);break;case"together":Su(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Cl(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function on(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),Vn|=t.lanes,(i&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,i=In(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=In(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function um(e,t,i){switch(t.tag){case 3:qc(t),hr();break;case 5:fc(t);break;case 1:dt(t.type)&&ll(t);break;case 4:tu(t,t.stateNode.containerInfo);break;case 10:var u=t.type._context,f=t.memoizedProps.value;Ae(fl,u._currentValue),u._currentValue=f;break;case 13:if(u=t.memoizedState,u!==null)return u.dehydrated!==null?(Ae(Oe,Oe.current&1),t.flags|=128,null):(i&t.child.childLanes)!==0?Xc(e,t,i):(Ae(Oe,Oe.current&1),e=on(e,t,i),e!==null?e.sibling:null);Ae(Oe,Oe.current&1);break;case 19:if(u=(i&t.childLanes)!==0,(e.flags&128)!==0){if(u)return Gc(e,t,i);t.flags|=128}if(f=t.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Ae(Oe,Oe.current),u)break;return null;case 22:case 23:return t.lanes=0,$c(e,t,i)}return on(e,t,i)}var Jc,Cu,Zc,ef;Jc=function(e,t){for(var i=t.child;i!==null;){if(i.tag===5||i.tag===6)e.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Cu=function(){},Zc=function(e,t,i,u){var f=e.memoizedProps;if(f!==u){e=t.stateNode,Un(Qt.current);var p=null;switch(i){case"input":f=Lr(e,f),u=Lr(e,u),p=[];break;case"select":f=w({},f,{value:void 0}),u=w({},u,{value:void 0}),p=[];break;case"textarea":f=Ar(e,f),u=Ar(e,u),p=[];break;default:typeof f.onClick!="function"&&typeof u.onClick=="function"&&(e.onclick=nl)}et(i,u);var k;i=null;for(L in f)if(!u.hasOwnProperty(L)&&f.hasOwnProperty(L)&&f[L]!=null)if(L==="style"){var S=f[L];for(k in S)S.hasOwnProperty(k)&&(i||(i={}),i[k]="")}else L!=="dangerouslySetInnerHTML"&&L!=="children"&&L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&L!=="autoFocus"&&(a.hasOwnProperty(L)?p||(p=[]):(p=p||[]).push(L,null));for(L in u){var E=u[L];if(S=f!=null?f[L]:void 0,u.hasOwnProperty(L)&&E!==S&&(E!=null||S!=null))if(L==="style")if(S){for(k in S)!S.hasOwnProperty(k)||E&&E.hasOwnProperty(k)||(i||(i={}),i[k]="");for(k in E)E.hasOwnProperty(k)&&S[k]!==E[k]&&(i||(i={}),i[k]=E[k])}else i||(p||(p=[]),p.push(L,i)),i=E;else L==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,S=S?S.__html:void 0,E!=null&&S!==E&&(p=p||[]).push(L,E)):L==="children"?typeof E!="string"&&typeof E!="number"||(p=p||[]).push(L,""+E):L!=="suppressContentEditableWarning"&&L!=="suppressHydrationWarning"&&(a.hasOwnProperty(L)?(E!=null&&L==="onScroll"&&Me("scroll",e),p||S===E||(p=[])):(p=p||[]).push(L,E))}i&&(p=p||[]).push("style",i);var L=p;(t.updateQueue=L)&&(t.flags|=4)}},ef=function(e,t,i,u){i!==u&&(t.flags|=4)};function fi(e,t){if(!Fe)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function lt(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,u=0;if(t)for(var f=e.child;f!==null;)i|=f.lanes|f.childLanes,u|=f.subtreeFlags&14680064,u|=f.flags&14680064,f.return=e,f=f.sibling;else for(f=e.child;f!==null;)i|=f.lanes|f.childLanes,u|=f.subtreeFlags,u|=f.flags,f.return=e,f=f.sibling;return e.subtreeFlags|=u,e.childLanes=i,t}function am(e,t,i){var u=t.pendingProps;switch(Wo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lt(t),null;case 1:return dt(t.type)&&il(),lt(t),null;case 3:return u=t.stateNode,kr(),je(pt),je(rt),iu(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(e===null||e.child===null)&&(sl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,jt!==null&&(Au(jt),jt=null))),Cu(e,t),lt(t),null;case 5:nu(t);var f=Un(oi.current);if(i=t.type,e!==null&&t.stateNode!=null)Zc(e,t,i,u,f),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!u){if(t.stateNode===null)throw Error(r(166));return lt(t),null}if(e=Un(Qt.current),sl(t)){u=t.stateNode,i=t.type;var p=t.memoizedProps;switch(u[Wt]=t,u[ti]=p,e=(t.mode&1)!==0,i){case"dialog":Me("cancel",u),Me("close",u);break;case"iframe":case"object":case"embed":Me("load",u);break;case"video":case"audio":for(f=0;f<Jr.length;f++)Me(Jr[f],u);break;case"source":Me("error",u);break;case"img":case"image":case"link":Me("error",u),Me("load",u);break;case"details":Me("toggle",u);break;case"input":Dr(u,p),Me("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!p.multiple},Me("invalid",u);break;case"textarea":Di(u,p),Me("invalid",u)}et(i,p),f=null;for(var k in p)if(p.hasOwnProperty(k)){var S=p[k];k==="children"?typeof S=="string"?u.textContent!==S&&(p.suppressHydrationWarning!==!0&&tl(u.textContent,S,e),f=["children",S]):typeof S=="number"&&u.textContent!==""+S&&(p.suppressHydrationWarning!==!0&&tl(u.textContent,S,e),f=["children",""+S]):a.hasOwnProperty(k)&&S!=null&&k==="onScroll"&&Me("scroll",u)}switch(i){case"input":Gt(u),Li(u,p,!0);break;case"textarea":Gt(u),Ai(u);break;case"select":case"option":break;default:typeof p.onClick=="function"&&(u.onclick=nl)}u=f,t.updateQueue=u,u!==null&&(t.flags|=4)}else{k=f.nodeType===9?f:f.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=j(i)),e==="http://www.w3.org/1999/xhtml"?i==="script"?(e=k.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof u.is=="string"?e=k.createElement(i,{is:u.is}):(e=k.createElement(i),i==="select"&&(k=e,u.multiple?k.multiple=!0:u.size&&(k.size=u.size))):e=k.createElementNS(e,i),e[Wt]=t,e[ti]=u,Jc(e,t,!1,!1),t.stateNode=e;e:{switch(k=Vt(i,u),i){case"dialog":Me("cancel",e),Me("close",e),f=u;break;case"iframe":case"object":case"embed":Me("load",e),f=u;break;case"video":case"audio":for(f=0;f<Jr.length;f++)Me(Jr[f],e);f=u;break;case"source":Me("error",e),f=u;break;case"img":case"image":case"link":Me("error",e),Me("load",e),f=u;break;case"details":Me("toggle",e),f=u;break;case"input":Dr(e,u),f=Lr(e,u),Me("invalid",e);break;case"option":f=u;break;case"select":e._wrapperState={wasMultiple:!!u.multiple},f=w({},u,{value:void 0}),Me("invalid",e);break;case"textarea":Di(e,u),f=Ar(e,u),Me("invalid",e);break;default:f=u}et(i,f),S=f;for(p in S)if(S.hasOwnProperty(p)){var E=S[p];p==="style"?fn(e,E):p==="dangerouslySetInnerHTML"?(E=E?E.__html:void 0,E!=null&&Ce(e,E)):p==="children"?typeof E=="string"?(i!=="textarea"||E!=="")&&Pe(e,E):typeof E=="number"&&Pe(e,""+E):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(a.hasOwnProperty(p)?E!=null&&p==="onScroll"&&Me("scroll",e):E!=null&&O(e,p,E,k))}switch(i){case"input":Gt(e),Li(e,u,!1);break;case"textarea":Gt(e),Ai(e);break;case"option":u.value!=null&&e.setAttribute("value",""+Se(u.value));break;case"select":e.multiple=!!u.multiple,p=u.value,p!=null?cn(e,!!u.multiple,p,!1):u.defaultValue!=null&&cn(e,!!u.multiple,u.defaultValue,!0);break;default:typeof f.onClick=="function"&&(e.onclick=nl)}switch(i){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return lt(t),null;case 6:if(e&&t.stateNode!=null)ef(e,t,e.memoizedProps,u);else{if(typeof u!="string"&&t.stateNode===null)throw Error(r(166));if(i=Un(oi.current),Un(Qt.current),sl(t)){if(u=t.stateNode,i=t.memoizedProps,u[Wt]=t,(p=u.nodeValue!==i)&&(e=St,e!==null))switch(e.tag){case 3:tl(u.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&tl(u.nodeValue,i,(e.mode&1)!==0)}p&&(t.flags|=4)}else u=(i.nodeType===9?i:i.ownerDocument).createTextNode(u),u[Wt]=t,t.stateNode=u}return lt(t),null;case 13:if(je(Oe),u=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Fe&&Ct!==null&&(t.mode&1)!==0&&(t.flags&128)===0)rc(),hr(),t.flags|=98560,p=!1;else if(p=sl(t),u!==null&&u.dehydrated!==null){if(e===null){if(!p)throw Error(r(318));if(p=t.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(r(317));p[Wt]=t}else hr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;lt(t),p=!1}else jt!==null&&(Au(jt),jt=null),p=!0;if(!p)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=i,t):(u=u!==null,u!==(e!==null&&e.memoizedState!==null)&&u&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Oe.current&1)!==0?Ye===0&&(Ye=3):ju())),t.updateQueue!==null&&(t.flags|=4),lt(t),null);case 4:return kr(),Cu(e,t),e===null&&Zr(t.stateNode.containerInfo),lt(t),null;case 10:return Go(t.type._context),lt(t),null;case 17:return dt(t.type)&&il(),lt(t),null;case 19:if(je(Oe),p=t.memoizedState,p===null)return lt(t),null;if(u=(t.flags&128)!==0,k=p.rendering,k===null)if(u)fi(p,!1);else{if(Ye!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(k=ml(e),k!==null){for(t.flags|=128,fi(p,!1),u=k.updateQueue,u!==null&&(t.updateQueue=u,t.flags|=4),t.subtreeFlags=0,u=i,i=t.child;i!==null;)p=i,e=u,p.flags&=14680066,k=p.alternate,k===null?(p.childLanes=0,p.lanes=e,p.child=null,p.subtreeFlags=0,p.memoizedProps=null,p.memoizedState=null,p.updateQueue=null,p.dependencies=null,p.stateNode=null):(p.childLanes=k.childLanes,p.lanes=k.lanes,p.child=k.child,p.subtreeFlags=0,p.deletions=null,p.memoizedProps=k.memoizedProps,p.memoizedState=k.memoizedState,p.updateQueue=k.updateQueue,p.type=k.type,e=k.dependencies,p.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return Ae(Oe,Oe.current&1|2),t.child}e=e.sibling}p.tail!==null&&He()>Sr&&(t.flags|=128,u=!0,fi(p,!1),t.lanes=4194304)}else{if(!u)if(e=ml(k),e!==null){if(t.flags|=128,u=!0,i=e.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),fi(p,!0),p.tail===null&&p.tailMode==="hidden"&&!k.alternate&&!Fe)return lt(t),null}else 2*He()-p.renderingStartTime>Sr&&i!==1073741824&&(t.flags|=128,u=!0,fi(p,!1),t.lanes=4194304);p.isBackwards?(k.sibling=t.child,t.child=k):(i=p.last,i!==null?i.sibling=k:t.child=k,p.last=k)}return p.tail!==null?(t=p.tail,p.rendering=t,p.tail=t.sibling,p.renderingStartTime=He(),t.sibling=null,i=Oe.current,Ae(Oe,u?i&1|2:i&1),t):(lt(t),null);case 22:case 23:return Mu(),u=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==u&&(t.flags|=8192),u&&(t.mode&1)!==0?(Et&1073741824)!==0&&(lt(t),t.subtreeFlags&6&&(t.flags|=8192)):lt(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function sm(e,t){switch(Wo(t),t.tag){case 1:return dt(t.type)&&il(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return kr(),je(pt),je(rt),iu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return nu(t),null;case 13:if(je(Oe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));hr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return je(Oe),null;case 4:return kr(),null;case 10:return Go(t.type._context),null;case 22:case 23:return Mu(),null;case 24:return null;default:return null}}var El=!1,ot=!1,cm=typeof WeakSet=="function"?WeakSet:Set,J=null;function vr(e,t){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(u){Ue(e,t,u)}else i.current=null}function Eu(e,t,i){try{i()}catch(u){Ue(e,t,u)}}var tf=!1;function fm(e,t){if(Mo=$i,e=Rs(),No(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var u=i.getSelection&&i.getSelection();if(u&&u.rangeCount!==0){i=u.anchorNode;var f=u.anchorOffset,p=u.focusNode;u=u.focusOffset;try{i.nodeType,p.nodeType}catch{i=null;break e}var k=0,S=-1,E=-1,L=0,H=0,V=e,U=null;t:for(;;){for(var X;V!==i||f!==0&&V.nodeType!==3||(S=k+f),V!==p||u!==0&&V.nodeType!==3||(E=k+u),V.nodeType===3&&(k+=V.nodeValue.length),(X=V.firstChild)!==null;)U=V,V=X;for(;;){if(V===e)break t;if(U===i&&++L===f&&(S=k),U===p&&++H===u&&(E=k),(X=V.nextSibling)!==null)break;V=U,U=V.parentNode}V=X}i=S===-1||E===-1?null:{start:S,end:E}}else i=null}i=i||{start:0,end:0}}else i=null;for(jo={focusedElem:e,selectionRange:i},$i=!1,J=t;J!==null;)if(t=J,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,J=e;else for(;J!==null;){t=J;try{var Z=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(Z!==null){var ne=Z.memoizedProps,Ve=Z.memoizedState,N=t.stateNode,T=N.getSnapshotBeforeUpdate(t.elementType===t.type?ne:Ft(t.type,ne),Ve);N.__reactInternalSnapshotBeforeUpdate=T}break;case 3:var z=t.stateNode.containerInfo;z.nodeType===1?z.textContent="":z.nodeType===9&&z.documentElement&&z.removeChild(z.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(W){Ue(t,t.return,W)}if(e=t.sibling,e!==null){e.return=t.return,J=e;break}J=t.return}return Z=tf,tf=!1,Z}function pi(e,t,i){var u=t.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var f=u=u.next;do{if((f.tag&e)===e){var p=f.destroy;f.destroy=void 0,p!==void 0&&Eu(t,i,p)}f=f.next}while(f!==u)}}function Tl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var i=t=t.next;do{if((i.tag&e)===e){var u=i.create;i.destroy=u()}i=i.next}while(i!==t)}}function Tu(e){var t=e.ref;if(t!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof t=="function"?t(e):t.current=e}}function nf(e){var t=e.alternate;t!==null&&(e.alternate=null,nf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Wt],delete t[ti],delete t[Uo],delete t[qh],delete t[Yh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function rf(e){return e.tag===5||e.tag===3||e.tag===4}function lf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||rf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function _u(e,t,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?i.nodeType===8?i.parentNode.insertBefore(e,t):i.insertBefore(e,t):(i.nodeType===8?(t=i.parentNode,t.insertBefore(e,i)):(t=i,t.appendChild(e)),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=nl));else if(u!==4&&(e=e.child,e!==null))for(_u(e,t,i),e=e.sibling;e!==null;)_u(e,t,i),e=e.sibling}function Pu(e,t,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(u!==4&&(e=e.child,e!==null))for(Pu(e,t,i),e=e.sibling;e!==null;)Pu(e,t,i),e=e.sibling}var tt=null,Ot=!1;function En(e,t,i){for(i=i.child;i!==null;)of(e,t,i),i=i.sibling}function of(e,t,i){if($t&&typeof $t.onCommitFiberUnmount=="function")try{$t.onCommitFiberUnmount(Fi,i)}catch{}switch(i.tag){case 5:ot||vr(i,t);case 6:var u=tt,f=Ot;tt=null,En(e,t,i),tt=u,Ot=f,tt!==null&&(Ot?(e=tt,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):tt.removeChild(i.stateNode));break;case 18:tt!==null&&(Ot?(e=tt,i=i.stateNode,e.nodeType===8?Bo(e.parentNode,i):e.nodeType===1&&Bo(e,i),$r(e)):Bo(tt,i.stateNode));break;case 4:u=tt,f=Ot,tt=i.stateNode.containerInfo,Ot=!0,En(e,t,i),tt=u,Ot=f;break;case 0:case 11:case 14:case 15:if(!ot&&(u=i.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){f=u=u.next;do{var p=f,k=p.destroy;p=p.tag,k!==void 0&&((p&2)!==0||(p&4)!==0)&&Eu(i,t,k),f=f.next}while(f!==u)}En(e,t,i);break;case 1:if(!ot&&(vr(i,t),u=i.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=i.memoizedProps,u.state=i.memoizedState,u.componentWillUnmount()}catch(S){Ue(i,t,S)}En(e,t,i);break;case 21:En(e,t,i);break;case 22:i.mode&1?(ot=(u=ot)||i.memoizedState!==null,En(e,t,i),ot=u):En(e,t,i);break;default:En(e,t,i)}}function uf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new cm),t.forEach(function(u){var f=vm.bind(null,e,u);i.has(u)||(i.add(u),u.then(f,f))})}}function Bt(e,t){var i=t.deletions;if(i!==null)for(var u=0;u<i.length;u++){var f=i[u];try{var p=e,k=t,S=k;e:for(;S!==null;){switch(S.tag){case 5:tt=S.stateNode,Ot=!1;break e;case 3:tt=S.stateNode.containerInfo,Ot=!0;break e;case 4:tt=S.stateNode.containerInfo,Ot=!0;break e}S=S.return}if(tt===null)throw Error(r(160));of(p,k,f),tt=null,Ot=!1;var E=f.alternate;E!==null&&(E.return=null),f.return=null}catch(L){Ue(f,t,L)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)af(t,e),t=t.sibling}function af(e,t){var i=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Bt(t,e),Yt(e),u&4){try{pi(3,e,e.return),Tl(3,e)}catch(ne){Ue(e,e.return,ne)}try{pi(5,e,e.return)}catch(ne){Ue(e,e.return,ne)}}break;case 1:Bt(t,e),Yt(e),u&512&&i!==null&&vr(i,i.return);break;case 5:if(Bt(t,e),Yt(e),u&512&&i!==null&&vr(i,i.return),e.flags&32){var f=e.stateNode;try{Pe(f,"")}catch(ne){Ue(e,e.return,ne)}}if(u&4&&(f=e.stateNode,f!=null)){var p=e.memoizedProps,k=i!==null?i.memoizedProps:p,S=e.type,E=e.updateQueue;if(e.updateQueue=null,E!==null)try{S==="input"&&p.type==="radio"&&p.name!=null&&Rr(f,p),Vt(S,k);var L=Vt(S,p);for(k=0;k<E.length;k+=2){var H=E[k],V=E[k+1];H==="style"?fn(f,V):H==="dangerouslySetInnerHTML"?Ce(f,V):H==="children"?Pe(f,V):O(f,H,V,L)}switch(S){case"input":Jn(f,p);break;case"textarea":Ri(f,p);break;case"select":var U=f._wrapperState.wasMultiple;f._wrapperState.wasMultiple=!!p.multiple;var X=p.value;X!=null?cn(f,!!p.multiple,X,!1):U!==!!p.multiple&&(p.defaultValue!=null?cn(f,!!p.multiple,p.defaultValue,!0):cn(f,!!p.multiple,p.multiple?[]:"",!1))}f[ti]=p}catch(ne){Ue(e,e.return,ne)}}break;case 6:if(Bt(t,e),Yt(e),u&4){if(e.stateNode===null)throw Error(r(162));f=e.stateNode,p=e.memoizedProps;try{f.nodeValue=p}catch(ne){Ue(e,e.return,ne)}}break;case 3:if(Bt(t,e),Yt(e),u&4&&i!==null&&i.memoizedState.isDehydrated)try{$r(t.containerInfo)}catch(ne){Ue(e,e.return,ne)}break;case 4:Bt(t,e),Yt(e);break;case 13:Bt(t,e),Yt(e),f=e.child,f.flags&8192&&(p=f.memoizedState!==null,f.stateNode.isHidden=p,!p||f.alternate!==null&&f.alternate.memoizedState!==null||(zu=He())),u&4&&uf(e);break;case 22:if(H=i!==null&&i.memoizedState!==null,e.mode&1?(ot=(L=ot)||H,Bt(t,e),ot=L):Bt(t,e),Yt(e),u&8192){if(L=e.memoizedState!==null,(e.stateNode.isHidden=L)&&!H&&(e.mode&1)!==0)for(J=e,H=e.child;H!==null;){for(V=J=H;J!==null;){switch(U=J,X=U.child,U.tag){case 0:case 11:case 14:case 15:pi(4,U,U.return);break;case 1:vr(U,U.return);var Z=U.stateNode;if(typeof Z.componentWillUnmount=="function"){u=U,i=U.return;try{t=u,Z.props=t.memoizedProps,Z.state=t.memoizedState,Z.componentWillUnmount()}catch(ne){Ue(u,i,ne)}}break;case 5:vr(U,U.return);break;case 22:if(U.memoizedState!==null){ff(V);continue}}X!==null?(X.return=U,J=X):ff(V)}H=H.sibling}e:for(H=null,V=e;;){if(V.tag===5){if(H===null){H=V;try{f=V.stateNode,L?(p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none"):(S=V.stateNode,E=V.memoizedProps.style,k=E!=null&&E.hasOwnProperty("display")?E.display:null,S.style.display=Pt("display",k))}catch(ne){Ue(e,e.return,ne)}}}else if(V.tag===6){if(H===null)try{V.stateNode.nodeValue=L?"":V.memoizedProps}catch(ne){Ue(e,e.return,ne)}}else if((V.tag!==22&&V.tag!==23||V.memoizedState===null||V===e)&&V.child!==null){V.child.return=V,V=V.child;continue}if(V===e)break e;for(;V.sibling===null;){if(V.return===null||V.return===e)break e;H===V&&(H=null),V=V.return}H===V&&(H=null),V.sibling.return=V.return,V=V.sibling}}break;case 19:Bt(t,e),Yt(e),u&4&&uf(e);break;case 21:break;default:Bt(t,e),Yt(e)}}function Yt(e){var t=e.flags;if(t&2){try{e:{for(var i=e.return;i!==null;){if(rf(i)){var u=i;break e}i=i.return}throw Error(r(160))}switch(u.tag){case 5:var f=u.stateNode;u.flags&32&&(Pe(f,""),u.flags&=-33);var p=lf(e);Pu(e,p,f);break;case 3:case 4:var k=u.stateNode.containerInfo,S=lf(e);_u(e,S,k);break;default:throw Error(r(161))}}catch(E){Ue(e,e.return,E)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function pm(e,t,i){J=e,sf(e)}function sf(e,t,i){for(var u=(e.mode&1)!==0;J!==null;){var f=J,p=f.child;if(f.tag===22&&u){var k=f.memoizedState!==null||El;if(!k){var S=f.alternate,E=S!==null&&S.memoizedState!==null||ot;S=El;var L=ot;if(El=k,(ot=E)&&!L)for(J=f;J!==null;)k=J,E=k.child,k.tag===22&&k.memoizedState!==null?pf(f):E!==null?(E.return=k,J=E):pf(f);for(;p!==null;)J=p,sf(p),p=p.sibling;J=f,El=S,ot=L}cf(e)}else(f.subtreeFlags&8772)!==0&&p!==null?(p.return=f,J=p):cf(e)}}function cf(e){for(;J!==null;){var t=J;if((t.flags&8772)!==0){var i=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:ot||Tl(5,t);break;case 1:var u=t.stateNode;if(t.flags&4&&!ot)if(i===null)u.componentDidMount();else{var f=t.elementType===t.type?i.memoizedProps:Ft(t.type,i.memoizedProps);u.componentDidUpdate(f,i.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var p=t.updateQueue;p!==null&&cc(t,p,u);break;case 3:var k=t.updateQueue;if(k!==null){if(i=null,t.child!==null)switch(t.child.tag){case 5:i=t.child.stateNode;break;case 1:i=t.child.stateNode}cc(t,k,i)}break;case 5:var S=t.stateNode;if(i===null&&t.flags&4){i=S;var E=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":E.autoFocus&&i.focus();break;case"img":E.src&&(i.src=E.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var L=t.alternate;if(L!==null){var H=L.memoizedState;if(H!==null){var V=H.dehydrated;V!==null&&$r(V)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}ot||t.flags&512&&Tu(t)}catch(U){Ue(t,t.return,U)}}if(t===e){J=null;break}if(i=t.sibling,i!==null){i.return=t.return,J=i;break}J=t.return}}function ff(e){for(;J!==null;){var t=J;if(t===e){J=null;break}var i=t.sibling;if(i!==null){i.return=t.return,J=i;break}J=t.return}}function pf(e){for(;J!==null;){var t=J;try{switch(t.tag){case 0:case 11:case 15:var i=t.return;try{Tl(4,t)}catch(E){Ue(t,i,E)}break;case 1:var u=t.stateNode;if(typeof u.componentDidMount=="function"){var f=t.return;try{u.componentDidMount()}catch(E){Ue(t,f,E)}}var p=t.return;try{Tu(t)}catch(E){Ue(t,p,E)}break;case 5:var k=t.return;try{Tu(t)}catch(E){Ue(t,k,E)}}}catch(E){Ue(t,t.return,E)}if(t===e){J=null;break}var S=t.sibling;if(S!==null){S.return=t.return,J=S;break}J=t.return}}var dm=Math.ceil,_l=te.ReactCurrentDispatcher,Nu=te.ReactCurrentOwner,Dt=te.ReactCurrentBatchConfig,Ne=0,Ke=null,We=null,nt=0,Et=0,wr=xn(0),Ye=0,di=null,Vn=0,Pl=0,Iu=0,hi=null,mt=null,zu=0,Sr=1/0,un=null,Nl=!1,Lu=null,Tn=null,Il=!1,_n=null,zl=0,mi=0,Du=null,Ll=-1,Dl=0;function ct(){return(Ne&6)!==0?He():Ll!==-1?Ll:Ll=He()}function Pn(e){return(e.mode&1)===0?1:(Ne&2)!==0&&nt!==0?nt&-nt:Kh.transition!==null?(Dl===0&&(Dl=is()),Dl):(e=De,e!==0||(e=window.event,e=e===void 0?16:ds(e.type)),e)}function Ut(e,t,i,u){if(50<mi)throw mi=0,Du=null,Error(r(185));Or(e,i,u),((Ne&2)===0||e!==Ke)&&(e===Ke&&((Ne&2)===0&&(Pl|=i),Ye===4&&Nn(e,nt)),gt(e,u),i===1&&Ne===0&&(t.mode&1)===0&&(Sr=He()+500,ol&&wn()))}function gt(e,t){var i=e.callbackNode;Kd(e,t);var u=Ui(e,e===Ke?nt:0);if(u===0)i!==null&&ts(i),e.callbackNode=null,e.callbackPriority=0;else if(t=u&-u,e.callbackPriority!==t){if(i!=null&&ts(i),t===1)e.tag===0?Xh(hf.bind(null,e)):Js(hf.bind(null,e)),Wh(function(){(Ne&6)===0&&wn()}),i=null;else{switch(ls(u)){case 1:i=co;break;case 4:i=ns;break;case 16:i=ji;break;case 536870912:i=rs;break;default:i=ji}i=Sf(i,df.bind(null,e))}e.callbackPriority=t,e.callbackNode=i}}function df(e,t){if(Ll=-1,Dl=0,(Ne&6)!==0)throw Error(r(327));var i=e.callbackNode;if(Cr()&&e.callbackNode!==i)return null;var u=Ui(e,e===Ke?nt:0);if(u===0)return null;if((u&30)!==0||(u&e.expiredLanes)!==0||t)t=Rl(e,u);else{t=u;var f=Ne;Ne|=2;var p=gf();(Ke!==e||nt!==t)&&(un=null,Sr=He()+500,Wn(e,t));do try{gm();break}catch(S){mf(e,S)}while(!0);Ko(),_l.current=p,Ne=f,We!==null?t=0:(Ke=null,nt=0,t=Ye)}if(t!==0){if(t===2&&(f=fo(e),f!==0&&(u=f,t=Ru(e,f))),t===1)throw i=di,Wn(e,0),Nn(e,u),gt(e,He()),i;if(t===6)Nn(e,u);else{if(f=e.current.alternate,(u&30)===0&&!hm(f)&&(t=Rl(e,u),t===2&&(p=fo(e),p!==0&&(u=p,t=Ru(e,p))),t===1))throw i=di,Wn(e,0),Nn(e,u),gt(e,He()),i;switch(e.finishedWork=f,e.finishedLanes=u,t){case 0:case 1:throw Error(r(345));case 2:Qn(e,mt,un);break;case 3:if(Nn(e,u),(u&130023424)===u&&(t=zu+500-He(),10<t)){if(Ui(e,0)!==0)break;if(f=e.suspendedLanes,(f&u)!==u){ct(),e.pingedLanes|=e.suspendedLanes&f;break}e.timeoutHandle=Oo(Qn.bind(null,e,mt,un),t);break}Qn(e,mt,un);break;case 4:if(Nn(e,u),(u&4194240)===u)break;for(t=e.eventTimes,f=-1;0<u;){var k=31-bt(u);p=1<<k,k=t[k],k>f&&(f=k),u&=~p}if(u=f,u=He()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*dm(u/1960))-u,10<u){e.timeoutHandle=Oo(Qn.bind(null,e,mt,un),u);break}Qn(e,mt,un);break;case 5:Qn(e,mt,un);break;default:throw Error(r(329))}}}return gt(e,He()),e.callbackNode===i?df.bind(null,e):null}function Ru(e,t){var i=hi;return e.current.memoizedState.isDehydrated&&(Wn(e,t).flags|=256),e=Rl(e,t),e!==2&&(t=mt,mt=i,t!==null&&Au(t)),e}function Au(e){mt===null?mt=e:mt.push.apply(mt,e)}function hm(e){for(var t=e;;){if(t.flags&16384){var i=t.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var u=0;u<i.length;u++){var f=i[u],p=f.getSnapshot;f=f.value;try{if(!Mt(p(),f))return!1}catch{return!1}}}if(i=t.child,t.subtreeFlags&16384&&i!==null)i.return=t,t=i;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Nn(e,t){for(t&=~Iu,t&=~Pl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var i=31-bt(t),u=1<<i;e[i]=-1,t&=~u}}function hf(e){if((Ne&6)!==0)throw Error(r(327));Cr();var t=Ui(e,0);if((t&1)===0)return gt(e,He()),null;var i=Rl(e,t);if(e.tag!==0&&i===2){var u=fo(e);u!==0&&(t=u,i=Ru(e,u))}if(i===1)throw i=di,Wn(e,0),Nn(e,t),gt(e,He()),i;if(i===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Qn(e,mt,un),gt(e,He()),null}function bu(e,t){var i=Ne;Ne|=1;try{return e(t)}finally{Ne=i,Ne===0&&(Sr=He()+500,ol&&wn())}}function $n(e){_n!==null&&_n.tag===0&&(Ne&6)===0&&Cr();var t=Ne;Ne|=1;var i=Dt.transition,u=De;try{if(Dt.transition=null,De=1,e)return e()}finally{De=u,Dt.transition=i,Ne=t,(Ne&6)===0&&wn()}}function Mu(){Et=wr.current,je(wr)}function Wn(e,t){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,$h(i)),We!==null)for(i=We.return;i!==null;){var u=i;switch(Wo(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&il();break;case 3:kr(),je(pt),je(rt),iu();break;case 5:nu(u);break;case 4:kr();break;case 13:je(Oe);break;case 19:je(Oe);break;case 10:Go(u.type._context);break;case 22:case 23:Mu()}i=i.return}if(Ke=e,We=e=In(e.current,null),nt=Et=t,Ye=0,di=null,Iu=Pl=Vn=0,mt=hi=null,Bn!==null){for(t=0;t<Bn.length;t++)if(i=Bn[t],u=i.interleaved,u!==null){i.interleaved=null;var f=u.next,p=i.pending;if(p!==null){var k=p.next;p.next=f,u.next=k}i.pending=u}Bn=null}return e}function mf(e,t){do{var i=We;try{if(Ko(),gl.current=vl,yl){for(var u=Be.memoizedState;u!==null;){var f=u.queue;f!==null&&(f.pending=null),u=u.next}yl=!1}if(Hn=0,Xe=qe=Be=null,ui=!1,ai=0,Nu.current=null,i===null||i.return===null){Ye=1,di=t,We=null;break}e:{var p=e,k=i.return,S=i,E=t;if(t=nt,S.flags|=32768,E!==null&&typeof E=="object"&&typeof E.then=="function"){var L=E,H=S,V=H.tag;if((H.mode&1)===0&&(V===0||V===11||V===15)){var U=H.alternate;U?(H.updateQueue=U.updateQueue,H.memoizedState=U.memoizedState,H.lanes=U.lanes):(H.updateQueue=null,H.memoizedState=null)}var X=Oc(k);if(X!==null){X.flags&=-257,Bc(X,k,S,p,t),X.mode&1&&Fc(p,L,t),t=X,E=L;var Z=t.updateQueue;if(Z===null){var ne=new Set;ne.add(E),t.updateQueue=ne}else Z.add(E);break e}else{if((t&1)===0){Fc(p,L,t),ju();break e}E=Error(r(426))}}else if(Fe&&S.mode&1){var Ve=Oc(k);if(Ve!==null){(Ve.flags&65536)===0&&(Ve.flags|=256),Bc(Ve,k,S,p,t),Yo(xr(E,S));break e}}p=E=xr(E,S),Ye!==4&&(Ye=2),hi===null?hi=[p]:hi.push(p),p=k;do{switch(p.tag){case 3:p.flags|=65536,t&=-t,p.lanes|=t;var N=Mc(p,E,t);sc(p,N);break e;case 1:S=E;var T=p.type,z=p.stateNode;if((p.flags&128)===0&&(typeof T.getDerivedStateFromError=="function"||z!==null&&typeof z.componentDidCatch=="function"&&(Tn===null||!Tn.has(z)))){p.flags|=65536,t&=-t,p.lanes|=t;var W=jc(p,S,t);sc(p,W);break e}}p=p.return}while(p!==null)}kf(i)}catch(re){t=re,We===i&&i!==null&&(We=i=i.return);continue}break}while(!0)}function gf(){var e=_l.current;return _l.current=vl,e===null?vl:e}function ju(){(Ye===0||Ye===3||Ye===2)&&(Ye=4),Ke===null||(Vn&268435455)===0&&(Pl&268435455)===0||Nn(Ke,nt)}function Rl(e,t){var i=Ne;Ne|=2;var u=gf();(Ke!==e||nt!==t)&&(un=null,Wn(e,t));do try{mm();break}catch(f){mf(e,f)}while(!0);if(Ko(),Ne=i,_l.current=u,We!==null)throw Error(r(261));return Ke=null,nt=0,Ye}function mm(){for(;We!==null;)yf(We)}function gm(){for(;We!==null&&!Ud();)yf(We)}function yf(e){var t=wf(e.alternate,e,Et);e.memoizedProps=e.pendingProps,t===null?kf(e):We=t,Nu.current=null}function kf(e){var t=e;do{var i=t.alternate;if(e=t.return,(t.flags&32768)===0){if(i=am(i,t,Et),i!==null){We=i;return}}else{if(i=sm(i,t),i!==null){i.flags&=32767,We=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ye=6,We=null;return}}if(t=t.sibling,t!==null){We=t;return}We=t=e}while(t!==null);Ye===0&&(Ye=5)}function Qn(e,t,i){var u=De,f=Dt.transition;try{Dt.transition=null,De=1,ym(e,t,i,u)}finally{Dt.transition=f,De=u}return null}function ym(e,t,i,u){do Cr();while(_n!==null);if((Ne&6)!==0)throw Error(r(327));i=e.finishedWork;var f=e.finishedLanes;if(i===null)return null;if(e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var p=i.lanes|i.childLanes;if(Gd(e,p),e===Ke&&(We=Ke=null,nt=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||Il||(Il=!0,Sf(ji,function(){return Cr(),null})),p=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||p){p=Dt.transition,Dt.transition=null;var k=De;De=1;var S=Ne;Ne|=4,Nu.current=null,fm(e,i),af(i,e),jh(jo),$i=!!Mo,jo=Mo=null,e.current=i,pm(i),Hd(),Ne=S,De=k,Dt.transition=p}else e.current=i;if(Il&&(Il=!1,_n=e,zl=f),p=e.pendingLanes,p===0&&(Tn=null),Wd(i.stateNode),gt(e,He()),t!==null)for(u=e.onRecoverableError,i=0;i<t.length;i++)f=t[i],u(f.value,{componentStack:f.stack,digest:f.digest});if(Nl)throw Nl=!1,e=Lu,Lu=null,e;return(zl&1)!==0&&e.tag!==0&&Cr(),p=e.pendingLanes,(p&1)!==0?e===Du?mi++:(mi=0,Du=e):mi=0,wn(),null}function Cr(){if(_n!==null){var e=ls(zl),t=Dt.transition,i=De;try{if(Dt.transition=null,De=16>e?16:e,_n===null)var u=!1;else{if(e=_n,_n=null,zl=0,(Ne&6)!==0)throw Error(r(331));var f=Ne;for(Ne|=4,J=e.current;J!==null;){var p=J,k=p.child;if((J.flags&16)!==0){var S=p.deletions;if(S!==null){for(var E=0;E<S.length;E++){var L=S[E];for(J=L;J!==null;){var H=J;switch(H.tag){case 0:case 11:case 15:pi(8,H,p)}var V=H.child;if(V!==null)V.return=H,J=V;else for(;J!==null;){H=J;var U=H.sibling,X=H.return;if(nf(H),H===L){J=null;break}if(U!==null){U.return=X,J=U;break}J=X}}}var Z=p.alternate;if(Z!==null){var ne=Z.child;if(ne!==null){Z.child=null;do{var Ve=ne.sibling;ne.sibling=null,ne=Ve}while(ne!==null)}}J=p}}if((p.subtreeFlags&2064)!==0&&k!==null)k.return=p,J=k;else e:for(;J!==null;){if(p=J,(p.flags&2048)!==0)switch(p.tag){case 0:case 11:case 15:pi(9,p,p.return)}var N=p.sibling;if(N!==null){N.return=p.return,J=N;break e}J=p.return}}var T=e.current;for(J=T;J!==null;){k=J;var z=k.child;if((k.subtreeFlags&2064)!==0&&z!==null)z.return=k,J=z;else e:for(k=T;J!==null;){if(S=J,(S.flags&2048)!==0)try{switch(S.tag){case 0:case 11:case 15:Tl(9,S)}}catch(re){Ue(S,S.return,re)}if(S===k){J=null;break e}var W=S.sibling;if(W!==null){W.return=S.return,J=W;break e}J=S.return}}if(Ne=f,wn(),$t&&typeof $t.onPostCommitFiberRoot=="function")try{$t.onPostCommitFiberRoot(Fi,e)}catch{}u=!0}return u}finally{De=i,Dt.transition=t}}return!1}function xf(e,t,i){t=xr(i,t),t=Mc(e,t,1),e=Cn(e,t,1),t=ct(),e!==null&&(Or(e,1,t),gt(e,t))}function Ue(e,t,i){if(e.tag===3)xf(e,e,i);else for(;t!==null;){if(t.tag===3){xf(t,e,i);break}else if(t.tag===1){var u=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Tn===null||!Tn.has(u))){e=xr(i,e),e=jc(t,e,1),t=Cn(t,e,1),e=ct(),t!==null&&(Or(t,1,e),gt(t,e));break}}t=t.return}}function km(e,t,i){var u=e.pingCache;u!==null&&u.delete(t),t=ct(),e.pingedLanes|=e.suspendedLanes&i,Ke===e&&(nt&i)===i&&(Ye===4||Ye===3&&(nt&130023424)===nt&&500>He()-zu?Wn(e,0):Iu|=i),gt(e,t)}function vf(e,t){t===0&&((e.mode&1)===0?t=1:(t=Bi,Bi<<=1,(Bi&130023424)===0&&(Bi=4194304)));var i=ct();e=rn(e,t),e!==null&&(Or(e,t,i),gt(e,i))}function xm(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),vf(e,i)}function vm(e,t){var i=0;switch(e.tag){case 13:var u=e.stateNode,f=e.memoizedState;f!==null&&(i=f.retryLane);break;case 19:u=e.stateNode;break;default:throw Error(r(314))}u!==null&&u.delete(t),vf(e,i)}var wf;wf=function(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps||pt.current)ht=!0;else{if((e.lanes&i)===0&&(t.flags&128)===0)return ht=!1,um(e,t,i);ht=(e.flags&131072)!==0}else ht=!1,Fe&&(t.flags&1048576)!==0&&Zs(t,al,t.index);switch(t.lanes=0,t.tag){case 2:var u=t.type;Cl(e,t),e=t.pendingProps;var f=fr(t,rt.current);yr(t,i),f=uu(null,t,u,e,f,i);var p=au();return t.flags|=1,typeof f=="object"&&f!==null&&typeof f.render=="function"&&f.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,dt(u)?(p=!0,ll(t)):p=!1,t.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,eu(t),f.updater=wl,t.stateNode=f,f._reactInternals=t,hu(t,u,e,i),t=ku(null,t,u,!0,p,i)):(t.tag=0,Fe&&p&&$o(t),st(null,t,f,i),t=t.child),t;case 16:u=t.elementType;e:{switch(Cl(e,t),e=t.pendingProps,f=u._init,u=f(u._payload),t.type=u,f=t.tag=Sm(u),e=Ft(u,e),f){case 0:t=yu(null,t,u,e,i);break e;case 1:t=Qc(null,t,u,e,i);break e;case 11:t=Uc(null,t,u,e,i);break e;case 14:t=Hc(null,t,u,Ft(u.type,e),i);break e}throw Error(r(306,u,""))}return t;case 0:return u=t.type,f=t.pendingProps,f=t.elementType===u?f:Ft(u,f),yu(e,t,u,f,i);case 1:return u=t.type,f=t.pendingProps,f=t.elementType===u?f:Ft(u,f),Qc(e,t,u,f,i);case 3:e:{if(qc(t),e===null)throw Error(r(387));u=t.pendingProps,p=t.memoizedState,f=p.element,ac(e,t),hl(t,u,null,i);var k=t.memoizedState;if(u=k.element,p.isDehydrated)if(p={element:u,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},t.updateQueue.baseState=p,t.memoizedState=p,t.flags&256){f=xr(Error(r(423)),t),t=Yc(e,t,u,i,f);break e}else if(u!==f){f=xr(Error(r(424)),t),t=Yc(e,t,u,i,f);break e}else for(Ct=kn(t.stateNode.containerInfo.firstChild),St=t,Fe=!0,jt=null,i=oc(t,null,u,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(hr(),u===f){t=on(e,t,i);break e}st(e,t,u,i)}t=t.child}return t;case 5:return fc(t),e===null&&qo(t),u=t.type,f=t.pendingProps,p=e!==null?e.memoizedProps:null,k=f.children,Fo(u,f)?k=null:p!==null&&Fo(u,p)&&(t.flags|=32),Wc(e,t),st(e,t,k,i),t.child;case 6:return e===null&&qo(t),null;case 13:return Xc(e,t,i);case 4:return tu(t,t.stateNode.containerInfo),u=t.pendingProps,e===null?t.child=mr(t,null,u,i):st(e,t,u,i),t.child;case 11:return u=t.type,f=t.pendingProps,f=t.elementType===u?f:Ft(u,f),Uc(e,t,u,f,i);case 7:return st(e,t,t.pendingProps,i),t.child;case 8:return st(e,t,t.pendingProps.children,i),t.child;case 12:return st(e,t,t.pendingProps.children,i),t.child;case 10:e:{if(u=t.type._context,f=t.pendingProps,p=t.memoizedProps,k=f.value,Ae(fl,u._currentValue),u._currentValue=k,p!==null)if(Mt(p.value,k)){if(p.children===f.children&&!pt.current){t=on(e,t,i);break e}}else for(p=t.child,p!==null&&(p.return=t);p!==null;){var S=p.dependencies;if(S!==null){k=p.child;for(var E=S.firstContext;E!==null;){if(E.context===u){if(p.tag===1){E=ln(-1,i&-i),E.tag=2;var L=p.updateQueue;if(L!==null){L=L.shared;var H=L.pending;H===null?E.next=E:(E.next=H.next,H.next=E),L.pending=E}}p.lanes|=i,E=p.alternate,E!==null&&(E.lanes|=i),Jo(p.return,i,t),S.lanes|=i;break}E=E.next}}else if(p.tag===10)k=p.type===t.type?null:p.child;else if(p.tag===18){if(k=p.return,k===null)throw Error(r(341));k.lanes|=i,S=k.alternate,S!==null&&(S.lanes|=i),Jo(k,i,t),k=p.sibling}else k=p.child;if(k!==null)k.return=p;else for(k=p;k!==null;){if(k===t){k=null;break}if(p=k.sibling,p!==null){p.return=k.return,k=p;break}k=k.return}p=k}st(e,t,f.children,i),t=t.child}return t;case 9:return f=t.type,u=t.pendingProps.children,yr(t,i),f=zt(f),u=u(f),t.flags|=1,st(e,t,u,i),t.child;case 14:return u=t.type,f=Ft(u,t.pendingProps),f=Ft(u.type,f),Hc(e,t,u,f,i);case 15:return Vc(e,t,t.type,t.pendingProps,i);case 17:return u=t.type,f=t.pendingProps,f=t.elementType===u?f:Ft(u,f),Cl(e,t),t.tag=1,dt(u)?(e=!0,ll(t)):e=!1,yr(t,i),Ac(t,u,f),hu(t,u,f,i),ku(null,t,u,!0,e,i);case 19:return Gc(e,t,i);case 22:return $c(e,t,i)}throw Error(r(156,t.tag))};function Sf(e,t){return es(e,t)}function wm(e,t,i,u){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Rt(e,t,i,u){return new wm(e,t,i,u)}function Fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Sm(e){if(typeof e=="function")return Fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===K)return 11;if(e===Y)return 14}return 2}function In(e,t){var i=e.alternate;return i===null?(i=Rt(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function Al(e,t,i,u,f,p){var k=2;if(u=e,typeof e=="function")Fu(e)&&(k=1);else if(typeof e=="string")k=5;else e:switch(e){case se:return qn(i.children,f,p,t);case me:k=8,f|=8;break;case xe:return e=Rt(12,i,t,f|2),e.elementType=xe,e.lanes=p,e;case ge:return e=Rt(13,i,t,f),e.elementType=ge,e.lanes=p,e;case ee:return e=Rt(19,i,t,f),e.elementType=ee,e.lanes=p,e;case ke:return bl(i,f,p,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case R:k=10;break e;case G:k=9;break e;case K:k=11;break e;case Y:k=14;break e;case ye:k=16,u=null;break e}throw Error(r(130,e==null?e:typeof e,""))}return t=Rt(k,i,t,f),t.elementType=e,t.type=u,t.lanes=p,t}function qn(e,t,i,u){return e=Rt(7,e,u,t),e.lanes=i,e}function bl(e,t,i,u){return e=Rt(22,e,u,t),e.elementType=ke,e.lanes=i,e.stateNode={isHidden:!1},e}function Ou(e,t,i){return e=Rt(6,e,null,t),e.lanes=i,e}function Bu(e,t,i){return t=Rt(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Cm(e,t,i,u,f){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=po(0),this.expirationTimes=po(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=po(0),this.identifierPrefix=u,this.onRecoverableError=f,this.mutableSourceEagerHydrationData=null}function Uu(e,t,i,u,f,p,k,S,E){return e=new Cm(e,t,i,S,E),t===1?(t=1,p===!0&&(t|=8)):t=0,p=Rt(3,null,null,t),e.current=p,p.stateNode=e,p.memoizedState={element:u,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},eu(p),e}function Em(e,t,i){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:M,key:u==null?null:""+u,children:e,containerInfo:t,implementation:i}}function Cf(e){if(!e)return vn;e=e._reactInternals;e:{if(bn(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(dt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var i=e.type;if(dt(i))return Ks(e,i,t)}return t}function Ef(e,t,i,u,f,p,k,S,E){return e=Uu(i,u,!0,e,f,p,k,S,E),e.context=Cf(null),i=e.current,u=ct(),f=Pn(i),p=ln(u,f),p.callback=t??null,Cn(i,p,f),e.current.lanes=f,Or(e,f,u),gt(e,u),e}function Ml(e,t,i,u){var f=t.current,p=ct(),k=Pn(f);return i=Cf(i),t.context===null?t.context=i:t.pendingContext=i,t=ln(p,k),t.payload={element:e},u=u===void 0?null:u,u!==null&&(t.callback=u),e=Cn(f,t,k),e!==null&&(Ut(e,f,k,p),dl(e,f,k)),k}function jl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Tf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function Hu(e,t){Tf(e,t),(e=e.alternate)&&Tf(e,t)}function Tm(){return null}var _f=typeof reportError=="function"?reportError:function(e){console.error(e)};function Vu(e){this._internalRoot=e}Fl.prototype.render=Vu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));Ml(e,t,null,null)},Fl.prototype.unmount=Vu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;$n(function(){Ml(null,e,null,null)}),t[Zt]=null}};function Fl(e){this._internalRoot=e}Fl.prototype.unstable_scheduleHydration=function(e){if(e){var t=as();e={blockedOn:null,target:e,priority:t};for(var i=0;i<mn.length&&t!==0&&t<mn[i].priority;i++);mn.splice(i,0,e),i===0&&fs(e)}};function $u(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ol(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Pf(){}function _m(e,t,i,u,f){if(f){if(typeof u=="function"){var p=u;u=function(){var L=jl(k);p.call(L)}}var k=Ef(t,u,e,0,null,!1,!1,"",Pf);return e._reactRootContainer=k,e[Zt]=k.current,Zr(e.nodeType===8?e.parentNode:e),$n(),k}for(;f=e.lastChild;)e.removeChild(f);if(typeof u=="function"){var S=u;u=function(){var L=jl(E);S.call(L)}}var E=Uu(e,0,!1,null,null,!1,!1,"",Pf);return e._reactRootContainer=E,e[Zt]=E.current,Zr(e.nodeType===8?e.parentNode:e),$n(function(){Ml(t,E,i,u)}),E}function Bl(e,t,i,u,f){var p=i._reactRootContainer;if(p){var k=p;if(typeof f=="function"){var S=f;f=function(){var E=jl(k);S.call(E)}}Ml(t,k,e,f)}else k=_m(i,t,e,f,u);return jl(k)}os=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var i=Fr(t.pendingLanes);i!==0&&(ho(t,i|1),gt(t,He()),(Ne&6)===0&&(Sr=He()+500,wn()))}break;case 13:$n(function(){var u=rn(e,1);if(u!==null){var f=ct();Ut(u,e,1,f)}}),Hu(e,1)}},mo=function(e){if(e.tag===13){var t=rn(e,134217728);if(t!==null){var i=ct();Ut(t,e,134217728,i)}Hu(e,134217728)}},us=function(e){if(e.tag===13){var t=Pn(e),i=rn(e,t);if(i!==null){var u=ct();Ut(i,e,t,u)}Hu(e,t)}},as=function(){return De},ss=function(e,t){var i=De;try{return De=e,t()}finally{De=i}},oo=function(e,t,i){switch(t){case"input":if(Jn(e,i),t=i.name,i.type==="radio"&&t!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<i.length;t++){var u=i[t];if(u!==e&&u.form===e.form){var f=rl(u);if(!f)throw Error(r(90));zi(u),Jn(u,f)}}}break;case"textarea":Ri(e,i);break;case"select":t=i.value,t!=null&&cn(e,!!i.multiple,t,!1)}},qa=bu,Ya=$n;var Pm={usingClientEntryPoint:!1,Events:[ni,sr,rl,Wa,Qa,bu]},gi={findFiberByHostInstance:Mn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Nm={bundleType:gi.bundleType,version:gi.version,rendererPackageName:gi.rendererPackageName,rendererConfig:gi.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:te.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ja(e),e===null?null:e.stateNode},findFiberByHostInstance:gi.findFiberByHostInstance||Tm,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ul=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ul.isDisabled&&Ul.supportsFiber)try{Fi=Ul.inject(Nm),$t=Ul}catch{}}return yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Pm,yt.createPortal=function(e,t){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!$u(t))throw Error(r(200));return Em(e,t,null,i)},yt.createRoot=function(e,t){if(!$u(e))throw Error(r(299));var i=!1,u="",f=_f;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onRecoverableError!==void 0&&(f=t.onRecoverableError)),t=Uu(e,1,!1,null,null,i,!1,u,f),e[Zt]=t.current,Zr(e.nodeType===8?e.parentNode:e),new Vu(t)},yt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=Ja(t),e=e===null?null:e.stateNode,e},yt.flushSync=function(e){return $n(e)},yt.hydrate=function(e,t,i){if(!Ol(t))throw Error(r(200));return Bl(null,e,t,!0,i)},yt.hydrateRoot=function(e,t,i){if(!$u(e))throw Error(r(405));var u=i!=null&&i.hydratedSources||null,f=!1,p="",k=_f;if(i!=null&&(i.unstable_strictMode===!0&&(f=!0),i.identifierPrefix!==void 0&&(p=i.identifierPrefix),i.onRecoverableError!==void 0&&(k=i.onRecoverableError)),t=Ef(t,null,e,1,i??null,f,!1,p,k),e[Zt]=t.current,Zr(e),u)for(e=0;e<u.length;e++)i=u[e],f=i._getVersion,f=f(i._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[i,f]:t.mutableSourceEagerHydrationData.push(i,f);return new Fl(t)},yt.render=function(e,t,i){if(!Ol(t))throw Error(r(200));return Bl(null,e,t,!1,i)},yt.unmountComponentAtNode=function(e){if(!Ol(e))throw Error(r(40));return e._reactRootContainer?($n(function(){Bl(null,null,e,!1,function(){e._reactRootContainer=null,e[Zt]=null})}),!0):!1},yt.unstable_batchedUpdates=bu,yt.unstable_renderSubtreeIntoContainer=function(e,t,i,u){if(!Ol(i))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return Bl(e,t,i,!1,u)},yt.version="18.3.1-next-f1338f8080-20240426",yt}var bf;function jm(){if(bf)return qu.exports;bf=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(l){console.error(l)}}return n(),qu.exports=Mm(),qu.exports}var Mf;function Fm(){if(Mf)return Hl;Mf=1;var n=jm();return Hl.createRoot=n.createRoot,Hl.hydrateRoot=n.hydrateRoot,Hl}var Om=Fm();const Bm=Zl(Om);/**
41
- * @license lucide-react v0.468.0 - ISC
42
- *
43
- * This source code is licensed under the ISC license.
44
- * See the LICENSE file in the root directory of this source tree.
45
- */const Um=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ip=(...n)=>n.filter((l,r,o)=>!!l&&l.trim()!==""&&o.indexOf(l)===r).join(" ").trim();/**
46
- * @license lucide-react v0.468.0 - ISC
47
- *
48
- * This source code is licensed under the ISC license.
49
- * See the LICENSE file in the root directory of this source tree.
50
- */var Hm={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51
- * @license lucide-react v0.468.0 - ISC
52
- *
53
- * This source code is licensed under the ISC license.
54
- * See the LICENSE file in the root directory of this source tree.
55
- */const Vm=ce.forwardRef(({color:n="currentColor",size:l=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:a="",children:c,iconNode:s,...d},h)=>ce.createElement("svg",{ref:h,...Hm,width:l,height:l,stroke:n,strokeWidth:o?Number(r)*24/Number(l):r,className:Ip("lucide",a),...d},[...s.map(([m,y])=>ce.createElement(m,y)),...Array.isArray(c)?c:[c]]));/**
56
- * @license lucide-react v0.468.0 - ISC
57
- *
58
- * This source code is licensed under the ISC license.
59
- * See the LICENSE file in the root directory of this source tree.
60
- */const Je=(n,l)=>{const r=ce.forwardRef(({className:o,...a},c)=>ce.createElement(Vm,{ref:c,iconNode:l,className:Ip(`lucide-${Um(n)}`,o),...a}));return r.displayName=`${n}`,r};/**
61
- * @license lucide-react v0.468.0 - ISC
62
- *
63
- * This source code is licensed under the ISC license.
64
- * See the LICENSE file in the root directory of this source tree.
65
- */const $m=Je("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
66
- * @license lucide-react v0.468.0 - ISC
67
- *
68
- * This source code is licensed under the ISC license.
69
- * See the LICENSE file in the root directory of this source tree.
70
- */const Wm=Je("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
71
- * @license lucide-react v0.468.0 - ISC
72
- *
73
- * This source code is licensed under the ISC license.
74
- * See the LICENSE file in the root directory of this source tree.
75
- */const Qm=Je("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
76
- * @license lucide-react v0.468.0 - ISC
77
- *
78
- * This source code is licensed under the ISC license.
79
- * See the LICENSE file in the root directory of this source tree.
80
- */const zp=Je("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
81
- * @license lucide-react v0.468.0 - ISC
82
- *
83
- * This source code is licensed under the ISC license.
84
- * See the LICENSE file in the root directory of this source tree.
85
- */const qm=Je("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
86
- * @license lucide-react v0.468.0 - ISC
87
- *
88
- * This source code is licensed under the ISC license.
89
- * See the LICENSE file in the root directory of this source tree.
90
- */const Ym=Je("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
91
- * @license lucide-react v0.468.0 - ISC
92
- *
93
- * This source code is licensed under the ISC license.
94
- * See the LICENSE file in the root directory of this source tree.
95
- */const jf=Je("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
96
- * @license lucide-react v0.468.0 - ISC
97
- *
98
- * This source code is licensed under the ISC license.
99
- * See the LICENSE file in the root directory of this source tree.
100
- */const Xm=Je("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
101
- * @license lucide-react v0.468.0 - ISC
102
- *
103
- * This source code is licensed under the ISC license.
104
- * See the LICENSE file in the root directory of this source tree.
105
- */const Km=Je("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
106
- * @license lucide-react v0.468.0 - ISC
107
- *
108
- * This source code is licensed under the ISC license.
109
- * See the LICENSE file in the root directory of this source tree.
110
- */const Gm=Je("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
111
- * @license lucide-react v0.468.0 - ISC
112
- *
113
- * This source code is licensed under the ISC license.
114
- * See the LICENSE file in the root directory of this source tree.
115
- */const Jm=Je("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
116
- * @license lucide-react v0.468.0 - ISC
117
- *
118
- * This source code is licensed under the ISC license.
119
- * See the LICENSE file in the root directory of this source tree.
120
- */const Zm=Je("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
121
- * @license lucide-react v0.468.0 - ISC
122
- *
123
- * This source code is licensed under the ISC license.
124
- * See the LICENSE file in the root directory of this source tree.
125
- */const eg=Je("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
126
- * @license lucide-react v0.468.0 - ISC
127
- *
128
- * This source code is licensed under the ISC license.
129
- * See the LICENSE file in the root directory of this source tree.
130
- */const tg=Je("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);/**
131
- * @license lucide-react v0.468.0 - ISC
132
- *
133
- * This source code is licensed under the ISC license.
134
- * See the LICENSE file in the root directory of this source tree.
135
- */const ng=Je("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
136
- * @license lucide-react v0.468.0 - ISC
137
- *
138
- * This source code is licensed under the ISC license.
139
- * See the LICENSE file in the root directory of this source tree.
140
- */const rg=Je("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
141
- * @license lucide-react v0.468.0 - ISC
142
- *
143
- * This source code is licensed under the ISC license.
144
- * See the LICENSE file in the root directory of this source tree.
145
- */const ig=Je("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
146
- * @license lucide-react v0.468.0 - ISC
147
- *
148
- * This source code is licensed under the ISC license.
149
- * See the LICENSE file in the root directory of this source tree.
150
- */const lg=Je("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Dn(...n){return n.filter(Boolean).join(" ")}function ql(){return`${Date.now()}-${Math.random().toString(36).slice(2,9)}`}function og(n,l){return n.length<=l?n:n.slice(0,l-1)+"…"}function ug(n){const l=new Date(n),r=new Date;return l.getFullYear()===r.getFullYear()&&l.getMonth()===r.getMonth()&&l.getDate()===r.getDate()?l.toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit"}):l.toLocaleDateString(void 0,{month:"short",day:"numeric"})}function ag({session:n,isActive:l,onSelect:r,onRemove:o}){return A.jsxs("div",{onClick:r,className:Dn("group flex cursor-pointer items-center gap-2 rounded-lg px-3 py-2 text-sm transition-colors",l?"bg-accent text-accent-foreground":"hover:bg-accent/50 text-foreground"),children:[A.jsx(Km,{className:"h-4 w-4 flex-shrink-0 text-muted-foreground"}),A.jsxs("div",{className:"min-w-0 flex-1",children:[A.jsx("p",{className:"truncate font-medium",children:n.title}),A.jsx("p",{className:"text-xs text-muted-foreground",children:ug(n.updatedAt)})]}),A.jsx("button",{onClick:a=>{a.stopPropagation(),o()},className:"opacity-0 group-hover:opacity-100 p-1 rounded hover:bg-destructive/10 hover:text-destructive transition-all",title:"Delete",children:A.jsx(rg,{className:"h-3.5 w-3.5"})})]})}function sg({sessions:n,onNew:l,onSelect:r,onOpenSettings:o}){return A.jsxs("div",{className:"flex h-full flex-col",children:[A.jsxs("div",{className:"flex items-center justify-between border-b border-border px-4 py-3",children:[A.jsx("span",{className:"text-sm font-semibold text-foreground",children:"NewCraw"}),A.jsx("button",{onClick:l,className:"flex h-7 w-7 items-center justify-center rounded-md hover:bg-accent transition-colors",title:"New Chat",children:A.jsx(Jm,{className:"h-4 w-4"})})]}),A.jsx("div",{className:"flex-1 overflow-y-auto scrollbar-thin p-2 space-y-0.5",children:n.list.length===0?A.jsxs("div",{className:"px-3 py-8 text-center",children:[A.jsx("p",{className:"text-xs text-muted-foreground",children:"No conversations yet"}),A.jsx("button",{onClick:l,className:"mt-2 text-xs text-primary hover:underline",children:"Start a new chat"})]}):n.list.map(a=>{var c;return A.jsx(ag,{session:a,isActive:a.key===((c=n.active)==null?void 0:c.key),onSelect:()=>r(a.key),onRemove:()=>n.remove(a.key)},a.key)})}),A.jsx("div",{className:"border-t border-border p-2",children:A.jsxs("button",{onClick:o,className:"flex w-full items-center gap-2 rounded-lg px-3 py-2 text-sm text-muted-foreground hover:bg-accent hover:text-foreground transition-colors",children:[A.jsx(eg,{className:"h-4 w-4"}),"Settings"]})})]})}function cg({message:n}){return A.jsx("div",{className:"flex justify-end",children:A.jsx("div",{className:"max-w-[80%] rounded-2xl rounded-br-md bg-primary px-4 py-2.5 text-sm text-primary-foreground",children:A.jsx("p",{className:"whitespace-pre-wrap break-words",children:n.content})})})}function fg(n,l){const r={};return(n[n.length-1]===""?[...n,""]:n).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const pg=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,dg=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,hg={};function Ff(n,l){return(hg.jsx?dg:pg).test(n)}const mg=/[ \t\n\f\r]/g;function gg(n){return typeof n=="object"?n.type==="text"?Of(n.value):!1:Of(n)}function Of(n){return n.replace(mg,"")===""}class Pi{constructor(l,r,o){this.normal=r,this.property=l,o&&(this.space=o)}}Pi.prototype.normal={};Pi.prototype.property={};Pi.prototype.space=void 0;function Lp(n,l){const r={},o={};for(const a of n)Object.assign(r,a.property),Object.assign(o,a.normal);return new Pi(r,o,l)}function da(n){return n.toLowerCase()}class xt{constructor(l,r){this.attribute=r,this.property=l}}xt.prototype.attribute="";xt.prototype.booleanish=!1;xt.prototype.boolean=!1;xt.prototype.commaOrSpaceSeparated=!1;xt.prototype.commaSeparated=!1;xt.prototype.defined=!1;xt.prototype.mustUseProperty=!1;xt.prototype.number=!1;xt.prototype.overloadedBoolean=!1;xt.prototype.property="";xt.prototype.spaceSeparated=!1;xt.prototype.space=void 0;let yg=0;const ve=Kn(),Qe=Kn(),ha=Kn(),$=Kn(),be=Kn(),Pr=Kn(),Tt=Kn();function Kn(){return 2**++yg}const ma=Object.freeze(Object.defineProperty({__proto__:null,boolean:ve,booleanish:Qe,commaOrSpaceSeparated:Tt,commaSeparated:Pr,number:$,overloadedBoolean:ha,spaceSeparated:be},Symbol.toStringTag,{value:"Module"})),Ku=Object.keys(ma);class Ta extends xt{constructor(l,r,o,a){let c=-1;if(super(l,r),Bf(this,"space",a),typeof o=="number")for(;++c<Ku.length;){const s=Ku[c];Bf(this,Ku[c],(o&ma[s])===ma[s])}}}Ta.prototype.defined=!0;function Bf(n,l,r){r&&(n[l]=r)}function Ir(n){const l={},r={};for(const[o,a]of Object.entries(n.properties)){const c=new Ta(o,n.transform(n.attributes||{},o),a,n.space);n.mustUseProperty&&n.mustUseProperty.includes(o)&&(c.mustUseProperty=!0),l[o]=c,r[da(o)]=o,r[da(c.attribute)]=o}return new Pi(l,r,n.space)}const Dp=Ir({properties:{ariaActiveDescendant:null,ariaAtomic:Qe,ariaAutoComplete:null,ariaBusy:Qe,ariaChecked:Qe,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:be,ariaCurrent:null,ariaDescribedBy:be,ariaDetails:null,ariaDisabled:Qe,ariaDropEffect:be,ariaErrorMessage:null,ariaExpanded:Qe,ariaFlowTo:be,ariaGrabbed:Qe,ariaHasPopup:null,ariaHidden:Qe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:be,ariaLevel:$,ariaLive:null,ariaModal:Qe,ariaMultiLine:Qe,ariaMultiSelectable:Qe,ariaOrientation:null,ariaOwns:be,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:Qe,ariaReadOnly:Qe,ariaRelevant:null,ariaRequired:Qe,ariaRoleDescription:be,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:Qe,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null},transform(n,l){return l==="role"?l:"aria-"+l.slice(4).toLowerCase()}});function Rp(n,l){return l in n?n[l]:l}function Ap(n,l){return Rp(n,l.toLowerCase())}const kg=Ir({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Pr,acceptCharset:be,accessKey:be,action:null,allow:null,allowFullScreen:ve,allowPaymentRequest:ve,allowUserMedia:ve,alt:null,as:null,async:ve,autoCapitalize:null,autoComplete:be,autoFocus:ve,autoPlay:ve,blocking:be,capture:null,charSet:null,checked:ve,cite:null,className:be,cols:$,colSpan:null,content:null,contentEditable:Qe,controls:ve,controlsList:be,coords:$|Pr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ve,defer:ve,dir:null,dirName:null,disabled:ve,download:ha,draggable:Qe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ve,formTarget:null,headers:be,height:$,hidden:ha,high:$,href:null,hrefLang:null,htmlFor:be,httpEquiv:be,id:null,imageSizes:null,imageSrcSet:null,inert:ve,inputMode:null,integrity:null,is:null,isMap:ve,itemId:null,itemProp:be,itemRef:be,itemScope:ve,itemType:be,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ve,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:ve,muted:ve,name:null,nonce:null,noModule:ve,noValidate:ve,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ve,optimum:$,pattern:null,ping:be,placeholder:null,playsInline:ve,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ve,referrerPolicy:null,rel:be,required:ve,reversed:ve,rows:$,rowSpan:$,sandbox:be,scope:null,scoped:ve,seamless:ve,selected:ve,shadowRootClonable:ve,shadowRootDelegatesFocus:ve,shadowRootMode:null,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:Qe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:ve,useMap:null,value:Qe,width:$,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:be,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ve,declare:ve,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:ve,noHref:ve,noShade:ve,noWrap:ve,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:Qe,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ve,disableRemotePlayback:ve,prefix:null,property:null,results:$,security:null,unselectable:null},space:"html",transform:Ap}),xg=Ir({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Tt,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:be,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:ve,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Pr,g2:Pr,glyphName:Pr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:Tt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:$,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:be,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Tt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Tt,rev:Tt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Tt,requiredFeatures:Tt,requiredFonts:Tt,requiredFormats:Tt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:Tt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Tt,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Tt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Rp}),bp=Ir({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,l){return"xlink:"+l.slice(5).toLowerCase()}}),Mp=Ir({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Ap}),jp=Ir({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,l){return"xml:"+l.slice(3).toLowerCase()}}),vg={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},wg=/[A-Z]/g,Uf=/-[a-z]/g,Sg=/^data[-\w.:]+$/i;function Cg(n,l){const r=da(l);let o=l,a=xt;if(r in n.normal)return n.property[n.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Sg.test(l)){if(l.charAt(4)==="-"){const c=l.slice(5).replace(Uf,Tg);o="data"+c.charAt(0).toUpperCase()+c.slice(1)}else{const c=l.slice(4);if(!Uf.test(c)){let s=c.replace(wg,Eg);s.charAt(0)!=="-"&&(s="-"+s),l="data"+s}}a=Ta}return new a(o,l)}function Eg(n){return"-"+n.toLowerCase()}function Tg(n){return n.charAt(1).toUpperCase()}const _g=Lp([Dp,kg,bp,Mp,jp],"html"),_a=Lp([Dp,xg,bp,Mp,jp],"svg");function Pg(n){return n.join(" ").trim()}var Er={},Gu,Hf;function Ng(){if(Hf)return Gu;Hf=1;var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,l=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,c=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,d=/^\s+|\s+$/g,h=`
151
- `,m="/",y="*",g="",v="comment",x="declaration";function _(D,I){if(typeof D!="string")throw new TypeError("First argument must be a string");if(!D)return[];I=I||{};var F=1,O=1;function te(ee){var Y=ee.match(l);Y&&(F+=Y.length);var ye=ee.lastIndexOf(h);O=~ye?ee.length-ye:O+ee.length}function le(){var ee={line:F,column:O};return function(Y){return Y.position=new M(ee),xe(),Y}}function M(ee){this.start=ee,this.end={line:F,column:O},this.source=I.source}M.prototype.content=D;function se(ee){var Y=new Error(I.source+":"+F+":"+O+": "+ee);if(Y.reason=ee,Y.filename=I.source,Y.line=F,Y.column=O,Y.source=D,!I.silent)throw Y}function me(ee){var Y=ee.exec(D);if(Y){var ye=Y[0];return te(ye),D=D.slice(ye.length),Y}}function xe(){me(r)}function R(ee){var Y;for(ee=ee||[];Y=G();)Y!==!1&&ee.push(Y);return ee}function G(){var ee=le();if(!(m!=D.charAt(0)||y!=D.charAt(1))){for(var Y=2;g!=D.charAt(Y)&&(y!=D.charAt(Y)||m!=D.charAt(Y+1));)++Y;if(Y+=2,g===D.charAt(Y-1))return se("End of comment missing");var ye=D.slice(2,Y-2);return O+=2,te(ye),D=D.slice(Y),O+=2,ee({type:v,comment:ye})}}function K(){var ee=le(),Y=me(o);if(Y){if(G(),!me(a))return se("property missing ':'");var ye=me(c),ke=ee({type:x,property:b(Y[0].replace(n,g)),value:ye?b(ye[0].replace(n,g)):g});return me(s),ke}}function ge(){var ee=[];R(ee);for(var Y;Y=K();)Y!==!1&&(ee.push(Y),R(ee));return ee}return xe(),ge()}function b(D){return D?D.replace(d,g):g}return Gu=_,Gu}var Vf;function Ig(){if(Vf)return Er;Vf=1;var n=Er&&Er.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(Er,"__esModule",{value:!0}),Er.default=r;const l=n(Ng());function r(o,a){let c=null;if(!o||typeof o!="string")return c;const s=(0,l.default)(o),d=typeof a=="function";return s.forEach(h=>{if(h.type!=="declaration")return;const{property:m,value:y}=h;d?a(m,y,h):y&&(c=c||{},c[m]=y)}),c}return Er}var ki={},$f;function zg(){if($f)return ki;$f=1,Object.defineProperty(ki,"__esModule",{value:!0}),ki.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,l=/-([a-z])/g,r=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,c=function(m){return!m||r.test(m)||n.test(m)},s=function(m,y){return y.toUpperCase()},d=function(m,y){return"".concat(y,"-")},h=function(m,y){return y===void 0&&(y={}),c(m)?m:(m=m.toLowerCase(),y.reactCompat?m=m.replace(a,d):m=m.replace(o,d),m.replace(l,s))};return ki.camelCase=h,ki}var xi,Wf;function Lg(){if(Wf)return xi;Wf=1;var n=xi&&xi.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},l=n(Ig()),r=zg();function o(a,c){var s={};return!a||typeof a!="string"||(0,l.default)(a,function(d,h){d&&h&&(s[(0,r.camelCase)(d,c)]=h)}),s}return o.default=o,xi=o,xi}var Dg=Lg();const Rg=Zl(Dg),Fp=Op("end"),Pa=Op("start");function Op(n){return l;function l(r){const o=r&&r.position&&r.position[n]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function Ag(n){const l=Pa(n),r=Fp(n);if(l&&r)return{start:l,end:r}}function Si(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Qf(n.position):"start"in n||"end"in n?Qf(n):"line"in n||"column"in n?ga(n):""}function ga(n){return qf(n&&n.line)+":"+qf(n&&n.column)}function Qf(n){return ga(n&&n.start)+"-"+ga(n&&n.end)}function qf(n){return n&&typeof n=="number"?n:1}class at extends Error{constructor(l,r,o){super(),typeof r=="string"&&(o=r,r=void 0);let a="",c={},s=!1;if(r&&("line"in r&&"column"in r?c={place:r}:"start"in r&&"end"in r?c={place:r}:"type"in r?c={ancestors:[r],place:r.position}:c={...r}),typeof l=="string"?a=l:!c.cause&&l&&(s=!0,a=l.message,c.cause=l),!c.ruleId&&!c.source&&typeof o=="string"){const h=o.indexOf(":");h===-1?c.ruleId=o:(c.source=o.slice(0,h),c.ruleId=o.slice(h+1))}if(!c.place&&c.ancestors&&c.ancestors){const h=c.ancestors[c.ancestors.length-1];h&&(c.place=h.position)}const d=c.place&&"start"in c.place?c.place.start:c.place;this.ancestors=c.ancestors||void 0,this.cause=c.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=d?d.line:void 0,this.name=Si(c.place)||"1:1",this.place=c.place||void 0,this.reason=this.message,this.ruleId=c.ruleId||void 0,this.source=c.source||void 0,this.stack=s&&c.cause&&typeof c.cause.stack=="string"?c.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}at.prototype.file="";at.prototype.name="";at.prototype.reason="";at.prototype.message="";at.prototype.stack="";at.prototype.column=void 0;at.prototype.line=void 0;at.prototype.ancestors=void 0;at.prototype.cause=void 0;at.prototype.fatal=void 0;at.prototype.place=void 0;at.prototype.ruleId=void 0;at.prototype.source=void 0;const Na={}.hasOwnProperty,bg=new Map,Mg=/[A-Z]/g,jg=new Set(["table","tbody","thead","tfoot","tr"]),Fg=new Set(["td","th"]),Bp="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Og(n,l){if(!l||l.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=l.filePath||void 0;let o;if(l.development){if(typeof l.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=qg(r,l.jsxDEV)}else{if(typeof l.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof l.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=Qg(r,l.jsx,l.jsxs)}const a={Fragment:l.Fragment,ancestors:[],components:l.components||{},create:o,elementAttributeNameCase:l.elementAttributeNameCase||"react",evaluater:l.createEvaluater?l.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:l.ignoreInvalidStyle||!1,passKeys:l.passKeys!==!1,passNode:l.passNode||!1,schema:l.space==="svg"?_a:_g,stylePropertyNameCase:l.stylePropertyNameCase||"dom",tableCellAlignToStyle:l.tableCellAlignToStyle!==!1},c=Up(a,n,void 0);return c&&typeof c!="string"?c:a.create(n,a.Fragment,{children:c||void 0},void 0)}function Up(n,l,r){if(l.type==="element")return Bg(n,l,r);if(l.type==="mdxFlowExpression"||l.type==="mdxTextExpression")return Ug(n,l);if(l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement")return Vg(n,l,r);if(l.type==="mdxjsEsm")return Hg(n,l);if(l.type==="root")return $g(n,l,r);if(l.type==="text")return Wg(n,l)}function Bg(n,l,r){const o=n.schema;let a=o;l.tagName.toLowerCase()==="svg"&&o.space==="html"&&(a=_a,n.schema=a),n.ancestors.push(l);const c=Vp(n,l.tagName,!1),s=Yg(n,l);let d=za(n,l);return jg.has(l.tagName)&&(d=d.filter(function(h){return typeof h=="string"?!gg(h):!0})),Hp(n,s,c,l),Ia(s,d),n.ancestors.pop(),n.schema=o,n.create(l,c,s,r)}function Ug(n,l){if(l.data&&l.data.estree&&n.evaluater){const o=l.data.estree.body[0];return o.type,n.evaluater.evaluateExpression(o.expression)}Ti(n,l.position)}function Hg(n,l){if(l.data&&l.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(l.data.estree);Ti(n,l.position)}function Vg(n,l,r){const o=n.schema;let a=o;l.name==="svg"&&o.space==="html"&&(a=_a,n.schema=a),n.ancestors.push(l);const c=l.name===null?n.Fragment:Vp(n,l.name,!0),s=Xg(n,l),d=za(n,l);return Hp(n,s,c,l),Ia(s,d),n.ancestors.pop(),n.schema=o,n.create(l,c,s,r)}function $g(n,l,r){const o={};return Ia(o,za(n,l)),n.create(l,n.Fragment,o,r)}function Wg(n,l){return l.value}function Hp(n,l,r,o){typeof r!="string"&&r!==n.Fragment&&n.passNode&&(l.node=o)}function Ia(n,l){if(l.length>0){const r=l.length>1?l:l[0];r&&(n.children=r)}}function Qg(n,l,r){return o;function o(a,c,s,d){const m=Array.isArray(s.children)?r:l;return d?m(c,s,d):m(c,s)}}function qg(n,l){return r;function r(o,a,c,s){const d=Array.isArray(c.children),h=Pa(o);return l(a,c,s,d,{columnNumber:h?h.column-1:void 0,fileName:n,lineNumber:h?h.line:void 0},void 0)}}function Yg(n,l){const r={};let o,a;for(a in l.properties)if(a!=="children"&&Na.call(l.properties,a)){const c=Kg(n,a,l.properties[a]);if(c){const[s,d]=c;n.tableCellAlignToStyle&&s==="align"&&typeof d=="string"&&Fg.has(l.tagName)?o=d:r[s]=d}}if(o){const c=r.style||(r.style={});c[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return r}function Xg(n,l){const r={};for(const o of l.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&n.evaluater){const c=o.data.estree.body[0];c.type;const s=c.expression;s.type;const d=s.properties[0];d.type,Object.assign(r,n.evaluater.evaluateExpression(d.argument))}else Ti(n,l.position);else{const a=o.name;let c;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&n.evaluater){const d=o.value.data.estree.body[0];d.type,c=n.evaluater.evaluateExpression(d.expression)}else Ti(n,l.position);else c=o.value===null?!0:o.value;r[a]=c}return r}function za(n,l){const r=[];let o=-1;const a=n.passKeys?new Map:bg;for(;++o<l.children.length;){const c=l.children[o];let s;if(n.passKeys){const h=c.type==="element"?c.tagName:c.type==="mdxJsxFlowElement"||c.type==="mdxJsxTextElement"?c.name:void 0;if(h){const m=a.get(h)||0;s=h+"-"+m,a.set(h,m+1)}}const d=Up(n,c,s);d!==void 0&&r.push(d)}return r}function Kg(n,l,r){const o=Cg(n.schema,l);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=o.commaSeparated?fg(r):Pg(r)),o.property==="style"){let a=typeof r=="object"?r:Gg(n,String(r));return n.stylePropertyNameCase==="css"&&(a=Jg(a)),["style",a]}return[n.elementAttributeNameCase==="react"&&o.space?vg[o.property]||o.property:o.attribute,r]}}function Gg(n,l){try{return Rg(l,{reactCompat:!0})}catch(r){if(n.ignoreInvalidStyle)return{};const o=r,a=new at("Cannot parse `style` attribute",{ancestors:n.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=n.filePath||void 0,a.url=Bp+"#cannot-parse-style-attribute",a}}function Vp(n,l,r){let o;if(!r)o={type:"Literal",value:l};else if(l.includes(".")){const a=l.split(".");let c=-1,s;for(;++c<a.length;){const d=Ff(a[c])?{type:"Identifier",name:a[c]}:{type:"Literal",value:a[c]};s=s?{type:"MemberExpression",object:s,property:d,computed:!!(c&&d.type==="Literal"),optional:!1}:d}o=s}else o=Ff(l)&&!/^[a-z]/.test(l)?{type:"Identifier",name:l}:{type:"Literal",value:l};if(o.type==="Literal"){const a=o.value;return Na.call(n.components,a)?n.components[a]:a}if(n.evaluater)return n.evaluater.evaluateExpression(o);Ti(n)}function Ti(n,l){const r=new at("Cannot handle MDX estrees without `createEvaluater`",{ancestors:n.ancestors,place:l,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=n.filePath||void 0,r.url=Bp+"#cannot-handle-mdx-estrees-without-createevaluater",r}function Jg(n){const l={};let r;for(r in n)Na.call(n,r)&&(l[Zg(r)]=n[r]);return l}function Zg(n){let l=n.replace(Mg,ey);return l.slice(0,3)==="ms-"&&(l="-"+l),l}function ey(n){return"-"+n.toLowerCase()}const Ju={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},ty={};function La(n,l){const r=ty,o=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return $p(n,o,a)}function $p(n,l,r){if(ny(n)){if("value"in n)return n.type==="html"&&!r?"":n.value;if(l&&"alt"in n&&n.alt)return n.alt;if("children"in n)return Yf(n.children,l,r)}return Array.isArray(n)?Yf(n,l,r):""}function Yf(n,l,r){const o=[];let a=-1;for(;++a<n.length;)o[a]=$p(n[a],l,r);return o.join("")}function ny(n){return!!(n&&typeof n=="object")}const Xf=document.createElement("i");function Da(n){const l="&"+n+";";Xf.innerHTML=l;const r=Xf.textContent;return r.charCodeAt(r.length-1)===59&&n!=="semi"||r===l?!1:r}function _t(n,l,r,o){const a=n.length;let c=0,s;if(l<0?l=-l>a?0:a+l:l=l>a?a:l,r=r>0?r:0,o.length<1e4)s=Array.from(o),s.unshift(l,r),n.splice(...s);else for(r&&n.splice(l,r);c<o.length;)s=o.slice(c,c+1e4),s.unshift(l,0),n.splice(...s),c+=1e4,l+=1e4}function At(n,l){return n.length>0?(_t(n,n.length,0,l),n):l}const Kf={}.hasOwnProperty;function Wp(n){const l={};let r=-1;for(;++r<n.length;)ry(l,n[r]);return l}function ry(n,l){let r;for(r in l){const a=(Kf.call(n,r)?n[r]:void 0)||(n[r]={}),c=l[r];let s;if(c)for(s in c){Kf.call(a,s)||(a[s]=[]);const d=c[s];iy(a[s],Array.isArray(d)?d:d?[d]:[])}}}function iy(n,l){let r=-1;const o=[];for(;++r<l.length;)(l[r].add==="after"?n:o).push(l[r]);_t(n,0,0,o)}function Qp(n,l){const r=Number.parseInt(n,l);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Ht(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ft=Rn(/[A-Za-z]/),ut=Rn(/[\dA-Za-z]/),ly=Rn(/[#-'*+\--9=?A-Z^-~]/);function Xl(n){return n!==null&&(n<32||n===127)}const ya=Rn(/\d/),oy=Rn(/[\dA-Fa-f]/),uy=Rn(/[!-/:-@[-`{-~]/);function ae(n){return n!==null&&n<-2}function Re(n){return n!==null&&(n<0||n===32)}function Te(n){return n===-2||n===-1||n===32}const eo=Rn(new RegExp("\\p{P}|\\p{S}","u")),Xn=Rn(/\s/);function Rn(n){return l;function l(r){return r!==null&&r>-1&&n.test(String.fromCharCode(r))}}function zr(n){const l=[];let r=-1,o=0,a=0;for(;++r<n.length;){const c=n.charCodeAt(r);let s="";if(c===37&&ut(n.charCodeAt(r+1))&&ut(n.charCodeAt(r+2)))a=2;else if(c<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(c))||(s=String.fromCharCode(c));else if(c>55295&&c<57344){const d=n.charCodeAt(r+1);c<56320&&d>56319&&d<57344?(s=String.fromCharCode(c,d),a=1):s="�"}else s=String.fromCharCode(c);s&&(l.push(n.slice(o,r),encodeURIComponent(s)),o=r+a+1,s=""),a&&(r+=a,a=0)}return l.join("")+n.slice(o)}function _e(n,l,r,o){const a=o?o-1:Number.POSITIVE_INFINITY;let c=0;return s;function s(h){return Te(h)?(n.enter(r),d(h)):l(h)}function d(h){return Te(h)&&c++<a?(n.consume(h),d):(n.exit(r),l(h))}}const ay={tokenize:sy};function sy(n){const l=n.attempt(this.parser.constructs.contentInitial,o,a);let r;return l;function o(d){if(d===null){n.consume(d);return}return n.enter("lineEnding"),n.consume(d),n.exit("lineEnding"),_e(n,l,"linePrefix")}function a(d){return n.enter("paragraph"),c(d)}function c(d){const h=n.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=h),r=h,s(d)}function s(d){if(d===null){n.exit("chunkText"),n.exit("paragraph"),n.consume(d);return}return ae(d)?(n.consume(d),n.exit("chunkText"),c):(n.consume(d),s)}}const cy={tokenize:fy},Gf={tokenize:py};function fy(n){const l=this,r=[];let o=0,a,c,s;return d;function d(O){if(o<r.length){const te=r[o];return l.containerState=te[1],n.attempt(te[0].continuation,h,m)(O)}return m(O)}function h(O){if(o++,l.containerState._closeFlow){l.containerState._closeFlow=void 0,a&&F();const te=l.events.length;let le=te,M;for(;le--;)if(l.events[le][0]==="exit"&&l.events[le][1].type==="chunkFlow"){M=l.events[le][1].end;break}I(o);let se=te;for(;se<l.events.length;)l.events[se][1].end={...M},se++;return _t(l.events,le+1,0,l.events.slice(te)),l.events.length=se,m(O)}return d(O)}function m(O){if(o===r.length){if(!a)return v(O);if(a.currentConstruct&&a.currentConstruct.concrete)return _(O);l.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return l.containerState={},n.check(Gf,y,g)(O)}function y(O){return a&&F(),I(o),v(O)}function g(O){return l.parser.lazy[l.now().line]=o!==r.length,s=l.now().offset,_(O)}function v(O){return l.containerState={},n.attempt(Gf,x,_)(O)}function x(O){return o++,r.push([l.currentConstruct,l.containerState]),v(O)}function _(O){if(O===null){a&&F(),I(0),n.consume(O);return}return a=a||l.parser.flow(l.now()),n.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:c}),b(O)}function b(O){if(O===null){D(n.exit("chunkFlow"),!0),I(0),n.consume(O);return}return ae(O)?(n.consume(O),D(n.exit("chunkFlow")),o=0,l.interrupt=void 0,d):(n.consume(O),b)}function D(O,te){const le=l.sliceStream(O);if(te&&le.push(null),O.previous=c,c&&(c.next=O),c=O,a.defineSkip(O.start),a.write(le),l.parser.lazy[O.start.line]){let M=a.events.length;for(;M--;)if(a.events[M][1].start.offset<s&&(!a.events[M][1].end||a.events[M][1].end.offset>s))return;const se=l.events.length;let me=se,xe,R;for(;me--;)if(l.events[me][0]==="exit"&&l.events[me][1].type==="chunkFlow"){if(xe){R=l.events[me][1].end;break}xe=!0}for(I(o),M=se;M<l.events.length;)l.events[M][1].end={...R},M++;_t(l.events,me+1,0,l.events.slice(se)),l.events.length=M}}function I(O){let te=r.length;for(;te-- >O;){const le=r[te];l.containerState=le[1],le[0].exit.call(l,n)}r.length=O}function F(){a.write([null]),c=void 0,a=void 0,l.containerState._closeFlow=void 0}}function py(n,l,r){return _e(n,n.attempt(this.parser.constructs.document,l,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Nr(n){if(n===null||Re(n)||Xn(n))return 1;if(eo(n))return 2}function to(n,l,r){const o=[];let a=-1;for(;++a<n.length;){const c=n[a].resolveAll;c&&!o.includes(c)&&(l=c(l,r),o.push(c))}return l}const ka={name:"attention",resolveAll:dy,tokenize:hy};function dy(n,l){let r=-1,o,a,c,s,d,h,m,y;for(;++r<n.length;)if(n[r][0]==="enter"&&n[r][1].type==="attentionSequence"&&n[r][1]._close){for(o=r;o--;)if(n[o][0]==="exit"&&n[o][1].type==="attentionSequence"&&n[o][1]._open&&l.sliceSerialize(n[o][1]).charCodeAt(0)===l.sliceSerialize(n[r][1]).charCodeAt(0)){if((n[o][1]._close||n[r][1]._open)&&(n[r][1].end.offset-n[r][1].start.offset)%3&&!((n[o][1].end.offset-n[o][1].start.offset+n[r][1].end.offset-n[r][1].start.offset)%3))continue;h=n[o][1].end.offset-n[o][1].start.offset>1&&n[r][1].end.offset-n[r][1].start.offset>1?2:1;const g={...n[o][1].end},v={...n[r][1].start};Jf(g,-h),Jf(v,h),s={type:h>1?"strongSequence":"emphasisSequence",start:g,end:{...n[o][1].end}},d={type:h>1?"strongSequence":"emphasisSequence",start:{...n[r][1].start},end:v},c={type:h>1?"strongText":"emphasisText",start:{...n[o][1].end},end:{...n[r][1].start}},a={type:h>1?"strong":"emphasis",start:{...s.start},end:{...d.end}},n[o][1].end={...s.start},n[r][1].start={...d.end},m=[],n[o][1].end.offset-n[o][1].start.offset&&(m=At(m,[["enter",n[o][1],l],["exit",n[o][1],l]])),m=At(m,[["enter",a,l],["enter",s,l],["exit",s,l],["enter",c,l]]),m=At(m,to(l.parser.constructs.insideSpan.null,n.slice(o+1,r),l)),m=At(m,[["exit",c,l],["enter",d,l],["exit",d,l],["exit",a,l]]),n[r][1].end.offset-n[r][1].start.offset?(y=2,m=At(m,[["enter",n[r][1],l],["exit",n[r][1],l]])):y=0,_t(n,o-1,r-o+3,m),r=o+m.length-y-2;break}}for(r=-1;++r<n.length;)n[r][1].type==="attentionSequence"&&(n[r][1].type="data");return n}function hy(n,l){const r=this.parser.constructs.attentionMarkers.null,o=this.previous,a=Nr(o);let c;return s;function s(h){return c=h,n.enter("attentionSequence"),d(h)}function d(h){if(h===c)return n.consume(h),d;const m=n.exit("attentionSequence"),y=Nr(h),g=!y||y===2&&a||r.includes(h),v=!a||a===2&&y||r.includes(o);return m._open=!!(c===42?g:g&&(a||!v)),m._close=!!(c===42?v:v&&(y||!g)),l(h)}}function Jf(n,l){n.column+=l,n.offset+=l,n._bufferIndex+=l}const my={name:"autolink",tokenize:gy};function gy(n,l,r){let o=0;return a;function a(x){return n.enter("autolink"),n.enter("autolinkMarker"),n.consume(x),n.exit("autolinkMarker"),n.enter("autolinkProtocol"),c}function c(x){return ft(x)?(n.consume(x),s):x===64?r(x):m(x)}function s(x){return x===43||x===45||x===46||ut(x)?(o=1,d(x)):m(x)}function d(x){return x===58?(n.consume(x),o=0,h):(x===43||x===45||x===46||ut(x))&&o++<32?(n.consume(x),d):(o=0,m(x))}function h(x){return x===62?(n.exit("autolinkProtocol"),n.enter("autolinkMarker"),n.consume(x),n.exit("autolinkMarker"),n.exit("autolink"),l):x===null||x===32||x===60||Xl(x)?r(x):(n.consume(x),h)}function m(x){return x===64?(n.consume(x),y):ly(x)?(n.consume(x),m):r(x)}function y(x){return ut(x)?g(x):r(x)}function g(x){return x===46?(n.consume(x),o=0,y):x===62?(n.exit("autolinkProtocol").type="autolinkEmail",n.enter("autolinkMarker"),n.consume(x),n.exit("autolinkMarker"),n.exit("autolink"),l):v(x)}function v(x){if((x===45||ut(x))&&o++<63){const _=x===45?v:g;return n.consume(x),_}return r(x)}}const Ni={partial:!0,tokenize:yy};function yy(n,l,r){return o;function o(c){return Te(c)?_e(n,a,"linePrefix")(c):a(c)}function a(c){return c===null||ae(c)?l(c):r(c)}}const qp={continuation:{tokenize:xy},exit:vy,name:"blockQuote",tokenize:ky};function ky(n,l,r){const o=this;return a;function a(s){if(s===62){const d=o.containerState;return d.open||(n.enter("blockQuote",{_container:!0}),d.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(s),n.exit("blockQuoteMarker"),c}return r(s)}function c(s){return Te(s)?(n.enter("blockQuotePrefixWhitespace"),n.consume(s),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),l):(n.exit("blockQuotePrefix"),l(s))}}function xy(n,l,r){const o=this;return a;function a(s){return Te(s)?_e(n,c,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):c(s)}function c(s){return n.attempt(qp,l,r)(s)}}function vy(n){n.exit("blockQuote")}const Yp={name:"characterEscape",tokenize:wy};function wy(n,l,r){return o;function o(c){return n.enter("characterEscape"),n.enter("escapeMarker"),n.consume(c),n.exit("escapeMarker"),a}function a(c){return uy(c)?(n.enter("characterEscapeValue"),n.consume(c),n.exit("characterEscapeValue"),n.exit("characterEscape"),l):r(c)}}const Xp={name:"characterReference",tokenize:Sy};function Sy(n,l,r){const o=this;let a=0,c,s;return d;function d(g){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),h}function h(g){return g===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(g),n.exit("characterReferenceMarkerNumeric"),m):(n.enter("characterReferenceValue"),c=31,s=ut,y(g))}function m(g){return g===88||g===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(g),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),c=6,s=oy,y):(n.enter("characterReferenceValue"),c=7,s=ya,y(g))}function y(g){if(g===59&&a){const v=n.exit("characterReferenceValue");return s===ut&&!Da(o.sliceSerialize(v))?r(g):(n.enter("characterReferenceMarker"),n.consume(g),n.exit("characterReferenceMarker"),n.exit("characterReference"),l)}return s(g)&&a++<c?(n.consume(g),y):r(g)}}const Zf={partial:!0,tokenize:Ey},ep={concrete:!0,name:"codeFenced",tokenize:Cy};function Cy(n,l,r){const o=this,a={partial:!0,tokenize:le};let c=0,s=0,d;return h;function h(M){return m(M)}function m(M){const se=o.events[o.events.length-1];return c=se&&se[1].type==="linePrefix"?se[2].sliceSerialize(se[1],!0).length:0,d=M,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),y(M)}function y(M){return M===d?(s++,n.consume(M),y):s<3?r(M):(n.exit("codeFencedFenceSequence"),Te(M)?_e(n,g,"whitespace")(M):g(M))}function g(M){return M===null||ae(M)?(n.exit("codeFencedFence"),o.interrupt?l(M):n.check(Zf,b,te)(M)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),v(M))}function v(M){return M===null||ae(M)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),g(M)):Te(M)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),_e(n,x,"whitespace")(M)):M===96&&M===d?r(M):(n.consume(M),v)}function x(M){return M===null||ae(M)?g(M):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),_(M))}function _(M){return M===null||ae(M)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),g(M)):M===96&&M===d?r(M):(n.consume(M),_)}function b(M){return n.attempt(a,te,D)(M)}function D(M){return n.enter("lineEnding"),n.consume(M),n.exit("lineEnding"),I}function I(M){return c>0&&Te(M)?_e(n,F,"linePrefix",c+1)(M):F(M)}function F(M){return M===null||ae(M)?n.check(Zf,b,te)(M):(n.enter("codeFlowValue"),O(M))}function O(M){return M===null||ae(M)?(n.exit("codeFlowValue"),F(M)):(n.consume(M),O)}function te(M){return n.exit("codeFenced"),l(M)}function le(M,se,me){let xe=0;return R;function R(Y){return M.enter("lineEnding"),M.consume(Y),M.exit("lineEnding"),G}function G(Y){return M.enter("codeFencedFence"),Te(Y)?_e(M,K,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):K(Y)}function K(Y){return Y===d?(M.enter("codeFencedFenceSequence"),ge(Y)):me(Y)}function ge(Y){return Y===d?(xe++,M.consume(Y),ge):xe>=s?(M.exit("codeFencedFenceSequence"),Te(Y)?_e(M,ee,"whitespace")(Y):ee(Y)):me(Y)}function ee(Y){return Y===null||ae(Y)?(M.exit("codeFencedFence"),se(Y)):me(Y)}}}function Ey(n,l,r){const o=this;return a;function a(s){return s===null?r(s):(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),c)}function c(s){return o.parser.lazy[o.now().line]?r(s):l(s)}}const Zu={name:"codeIndented",tokenize:_y},Ty={partial:!0,tokenize:Py};function _y(n,l,r){const o=this;return a;function a(m){return n.enter("codeIndented"),_e(n,c,"linePrefix",5)(m)}function c(m){const y=o.events[o.events.length-1];return y&&y[1].type==="linePrefix"&&y[2].sliceSerialize(y[1],!0).length>=4?s(m):r(m)}function s(m){return m===null?h(m):ae(m)?n.attempt(Ty,s,h)(m):(n.enter("codeFlowValue"),d(m))}function d(m){return m===null||ae(m)?(n.exit("codeFlowValue"),s(m)):(n.consume(m),d)}function h(m){return n.exit("codeIndented"),l(m)}}function Py(n,l,r){const o=this;return a;function a(s){return o.parser.lazy[o.now().line]?r(s):ae(s)?(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),a):_e(n,c,"linePrefix",5)(s)}function c(s){const d=o.events[o.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?l(s):ae(s)?a(s):r(s)}}const Ny={name:"codeText",previous:zy,resolve:Iy,tokenize:Ly};function Iy(n){let l=n.length-4,r=3,o,a;if((n[r][1].type==="lineEnding"||n[r][1].type==="space")&&(n[l][1].type==="lineEnding"||n[l][1].type==="space")){for(o=r;++o<l;)if(n[o][1].type==="codeTextData"){n[r][1].type="codeTextPadding",n[l][1].type="codeTextPadding",r+=2,l-=2;break}}for(o=r-1,l++;++o<=l;)a===void 0?o!==l&&n[o][1].type!=="lineEnding"&&(a=o):(o===l||n[o][1].type==="lineEnding")&&(n[a][1].type="codeTextData",o!==a+2&&(n[a][1].end=n[o-1][1].end,n.splice(a+2,o-a-2),l-=o-a-2,o=a+2),a=void 0);return n}function zy(n){return n!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Ly(n,l,r){let o=0,a,c;return s;function s(g){return n.enter("codeText"),n.enter("codeTextSequence"),d(g)}function d(g){return g===96?(n.consume(g),o++,d):(n.exit("codeTextSequence"),h(g))}function h(g){return g===null?r(g):g===32?(n.enter("space"),n.consume(g),n.exit("space"),h):g===96?(c=n.enter("codeTextSequence"),a=0,y(g)):ae(g)?(n.enter("lineEnding"),n.consume(g),n.exit("lineEnding"),h):(n.enter("codeTextData"),m(g))}function m(g){return g===null||g===32||g===96||ae(g)?(n.exit("codeTextData"),h(g)):(n.consume(g),m)}function y(g){return g===96?(n.consume(g),a++,y):a===o?(n.exit("codeTextSequence"),n.exit("codeText"),l(g)):(c.type="codeTextData",m(g))}}class Dy{constructor(l){this.left=l?[...l]:[],this.right=[]}get(l){if(l<0||l>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+l+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return l<this.left.length?this.left[l]:this.right[this.right.length-l+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(l,r){const o=r??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(l,o):l>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-l+this.left.length).reverse():this.left.slice(l).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(l,r,o){const a=r||0;this.setCursor(Math.trunc(l));const c=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return o&&vi(this.left,o),c.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(l){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(l)}pushMany(l){this.setCursor(Number.POSITIVE_INFINITY),vi(this.left,l)}unshift(l){this.setCursor(0),this.right.push(l)}unshiftMany(l){this.setCursor(0),vi(this.right,l.reverse())}setCursor(l){if(!(l===this.left.length||l>this.left.length&&this.right.length===0||l<0&&this.left.length===0))if(l<this.left.length){const r=this.left.splice(l,Number.POSITIVE_INFINITY);vi(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-l,Number.POSITIVE_INFINITY);vi(this.left,r.reverse())}}}function vi(n,l){let r=0;if(l.length<1e4)n.push(...l);else for(;r<l.length;)n.push(...l.slice(r,r+1e4)),r+=1e4}function Kp(n){const l={};let r=-1,o,a,c,s,d,h,m;const y=new Dy(n);for(;++r<y.length;){for(;r in l;)r=l[r];if(o=y.get(r),r&&o[1].type==="chunkFlow"&&y.get(r-1)[1].type==="listItemPrefix"&&(h=o[1]._tokenizer.events,c=0,c<h.length&&h[c][1].type==="lineEndingBlank"&&(c+=2),c<h.length&&h[c][1].type==="content"))for(;++c<h.length&&h[c][1].type!=="content";)h[c][1].type==="chunkText"&&(h[c][1]._isInFirstContentOfListItem=!0,c++);if(o[0]==="enter")o[1].contentType&&(Object.assign(l,Ry(y,r)),r=l[r],m=!0);else if(o[1]._container){for(c=r,a=void 0;c--;)if(s=y.get(c),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(a&&(y.get(a)[1].type="lineEndingBlank"),s[1].type="lineEnding",a=c);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;a&&(o[1].end={...y.get(a)[1].start},d=y.slice(a,r),d.unshift(o),y.splice(a,r-a+1,d))}}return _t(n,0,Number.POSITIVE_INFINITY,y.slice(0)),!m}function Ry(n,l){const r=n.get(l)[1],o=n.get(l)[2];let a=l-1;const c=[];let s=r._tokenizer;s||(s=o.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const d=s.events,h=[],m={};let y,g,v=-1,x=r,_=0,b=0;const D=[b];for(;x;){for(;n.get(++a)[1]!==x;);c.push(a),x._tokenizer||(y=o.sliceStream(x),x.next||y.push(null),g&&s.defineSkip(x.start),x._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(y),x._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),g=x,x=x.next}for(x=r;++v<d.length;)d[v][0]==="exit"&&d[v-1][0]==="enter"&&d[v][1].type===d[v-1][1].type&&d[v][1].start.line!==d[v][1].end.line&&(b=v+1,D.push(b),x._tokenizer=void 0,x.previous=void 0,x=x.next);for(s.events=[],x?(x._tokenizer=void 0,x.previous=void 0):D.pop(),v=D.length;v--;){const I=d.slice(D[v],D[v+1]),F=c.pop();h.push([F,F+I.length-1]),n.splice(F,2,I)}for(h.reverse(),v=-1;++v<h.length;)m[_+h[v][0]]=_+h[v][1],_+=h[v][1]-h[v][0]-1;return m}const Ay={resolve:My,tokenize:jy},by={partial:!0,tokenize:Fy};function My(n){return Kp(n),n}function jy(n,l){let r;return o;function o(d){return n.enter("content"),r=n.enter("chunkContent",{contentType:"content"}),a(d)}function a(d){return d===null?c(d):ae(d)?n.check(by,s,c)(d):(n.consume(d),a)}function c(d){return n.exit("chunkContent"),n.exit("content"),l(d)}function s(d){return n.consume(d),n.exit("chunkContent"),r.next=n.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function Fy(n,l,r){const o=this;return a;function a(s){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),_e(n,c,"linePrefix")}function c(s){if(s===null||ae(s))return r(s);const d=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?l(s):n.interrupt(o.parser.constructs.flow,r,l)(s)}}function Gp(n,l,r,o,a,c,s,d,h){const m=h||Number.POSITIVE_INFINITY;let y=0;return g;function g(I){return I===60?(n.enter(o),n.enter(a),n.enter(c),n.consume(I),n.exit(c),v):I===null||I===32||I===41||Xl(I)?r(I):(n.enter(o),n.enter(s),n.enter(d),n.enter("chunkString",{contentType:"string"}),b(I))}function v(I){return I===62?(n.enter(c),n.consume(I),n.exit(c),n.exit(a),n.exit(o),l):(n.enter(d),n.enter("chunkString",{contentType:"string"}),x(I))}function x(I){return I===62?(n.exit("chunkString"),n.exit(d),v(I)):I===null||I===60||ae(I)?r(I):(n.consume(I),I===92?_:x)}function _(I){return I===60||I===62||I===92?(n.consume(I),x):x(I)}function b(I){return!y&&(I===null||I===41||Re(I))?(n.exit("chunkString"),n.exit(d),n.exit(s),n.exit(o),l(I)):y<m&&I===40?(n.consume(I),y++,b):I===41?(n.consume(I),y--,b):I===null||I===32||I===40||Xl(I)?r(I):(n.consume(I),I===92?D:b)}function D(I){return I===40||I===41||I===92?(n.consume(I),b):b(I)}}function Jp(n,l,r,o,a,c){const s=this;let d=0,h;return m;function m(x){return n.enter(o),n.enter(a),n.consume(x),n.exit(a),n.enter(c),y}function y(x){return d>999||x===null||x===91||x===93&&!h||x===94&&!d&&"_hiddenFootnoteSupport"in s.parser.constructs?r(x):x===93?(n.exit(c),n.enter(a),n.consume(x),n.exit(a),n.exit(o),l):ae(x)?(n.enter("lineEnding"),n.consume(x),n.exit("lineEnding"),y):(n.enter("chunkString",{contentType:"string"}),g(x))}function g(x){return x===null||x===91||x===93||ae(x)||d++>999?(n.exit("chunkString"),y(x)):(n.consume(x),h||(h=!Te(x)),x===92?v:g)}function v(x){return x===91||x===92||x===93?(n.consume(x),d++,g):g(x)}}function Zp(n,l,r,o,a,c){let s;return d;function d(v){return v===34||v===39||v===40?(n.enter(o),n.enter(a),n.consume(v),n.exit(a),s=v===40?41:v,h):r(v)}function h(v){return v===s?(n.enter(a),n.consume(v),n.exit(a),n.exit(o),l):(n.enter(c),m(v))}function m(v){return v===s?(n.exit(c),h(s)):v===null?r(v):ae(v)?(n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),_e(n,m,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),y(v))}function y(v){return v===s||v===null||ae(v)?(n.exit("chunkString"),m(v)):(n.consume(v),v===92?g:y)}function g(v){return v===s||v===92?(n.consume(v),y):y(v)}}function Ci(n,l){let r;return o;function o(a){return ae(a)?(n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),r=!0,o):Te(a)?_e(n,o,r?"linePrefix":"lineSuffix")(a):l(a)}}const Oy={name:"definition",tokenize:Uy},By={partial:!0,tokenize:Hy};function Uy(n,l,r){const o=this;let a;return c;function c(x){return n.enter("definition"),s(x)}function s(x){return Jp.call(o,n,d,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(x)}function d(x){return a=Ht(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),x===58?(n.enter("definitionMarker"),n.consume(x),n.exit("definitionMarker"),h):r(x)}function h(x){return Re(x)?Ci(n,m)(x):m(x)}function m(x){return Gp(n,y,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(x)}function y(x){return n.attempt(By,g,g)(x)}function g(x){return Te(x)?_e(n,v,"whitespace")(x):v(x)}function v(x){return x===null||ae(x)?(n.exit("definition"),o.parser.defined.push(a),l(x)):r(x)}}function Hy(n,l,r){return o;function o(d){return Re(d)?Ci(n,a)(d):r(d)}function a(d){return Zp(n,c,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function c(d){return Te(d)?_e(n,s,"whitespace")(d):s(d)}function s(d){return d===null||ae(d)?l(d):r(d)}}const Vy={name:"hardBreakEscape",tokenize:$y};function $y(n,l,r){return o;function o(c){return n.enter("hardBreakEscape"),n.consume(c),a}function a(c){return ae(c)?(n.exit("hardBreakEscape"),l(c)):r(c)}}const Wy={name:"headingAtx",resolve:Qy,tokenize:qy};function Qy(n,l){let r=n.length-2,o=3,a,c;return n[o][1].type==="whitespace"&&(o+=2),r-2>o&&n[r][1].type==="whitespace"&&(r-=2),n[r][1].type==="atxHeadingSequence"&&(o===r-1||r-4>o&&n[r-2][1].type==="whitespace")&&(r-=o+1===r?2:4),r>o&&(a={type:"atxHeadingText",start:n[o][1].start,end:n[r][1].end},c={type:"chunkText",start:n[o][1].start,end:n[r][1].end,contentType:"text"},_t(n,o,r-o+1,[["enter",a,l],["enter",c,l],["exit",c,l],["exit",a,l]])),n}function qy(n,l,r){let o=0;return a;function a(y){return n.enter("atxHeading"),c(y)}function c(y){return n.enter("atxHeadingSequence"),s(y)}function s(y){return y===35&&o++<6?(n.consume(y),s):y===null||Re(y)?(n.exit("atxHeadingSequence"),d(y)):r(y)}function d(y){return y===35?(n.enter("atxHeadingSequence"),h(y)):y===null||ae(y)?(n.exit("atxHeading"),l(y)):Te(y)?_e(n,d,"whitespace")(y):(n.enter("atxHeadingText"),m(y))}function h(y){return y===35?(n.consume(y),h):(n.exit("atxHeadingSequence"),d(y))}function m(y){return y===null||y===35||Re(y)?(n.exit("atxHeadingText"),d(y)):(n.consume(y),m)}}const Yy=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],tp=["pre","script","style","textarea"],Xy={concrete:!0,name:"htmlFlow",resolveTo:Jy,tokenize:Zy},Ky={partial:!0,tokenize:t1},Gy={partial:!0,tokenize:e1};function Jy(n){let l=n.length;for(;l--&&!(n[l][0]==="enter"&&n[l][1].type==="htmlFlow"););return l>1&&n[l-2][1].type==="linePrefix"&&(n[l][1].start=n[l-2][1].start,n[l+1][1].start=n[l-2][1].start,n.splice(l-2,2)),n}function Zy(n,l,r){const o=this;let a,c,s,d,h;return m;function m(C){return y(C)}function y(C){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(C),g}function g(C){return C===33?(n.consume(C),v):C===47?(n.consume(C),c=!0,b):C===63?(n.consume(C),a=3,o.interrupt?l:w):ft(C)?(n.consume(C),s=String.fromCharCode(C),D):r(C)}function v(C){return C===45?(n.consume(C),a=2,x):C===91?(n.consume(C),a=5,d=0,_):ft(C)?(n.consume(C),a=4,o.interrupt?l:w):r(C)}function x(C){return C===45?(n.consume(C),o.interrupt?l:w):r(C)}function _(C){const pe="CDATA[";return C===pe.charCodeAt(d++)?(n.consume(C),d===pe.length?o.interrupt?l:K:_):r(C)}function b(C){return ft(C)?(n.consume(C),s=String.fromCharCode(C),D):r(C)}function D(C){if(C===null||C===47||C===62||Re(C)){const pe=C===47,we=s.toLowerCase();return!pe&&!c&&tp.includes(we)?(a=1,o.interrupt?l(C):K(C)):Yy.includes(s.toLowerCase())?(a=6,pe?(n.consume(C),I):o.interrupt?l(C):K(C)):(a=7,o.interrupt&&!o.parser.lazy[o.now().line]?r(C):c?F(C):O(C))}return C===45||ut(C)?(n.consume(C),s+=String.fromCharCode(C),D):r(C)}function I(C){return C===62?(n.consume(C),o.interrupt?l:K):r(C)}function F(C){return Te(C)?(n.consume(C),F):R(C)}function O(C){return C===47?(n.consume(C),R):C===58||C===95||ft(C)?(n.consume(C),te):Te(C)?(n.consume(C),O):R(C)}function te(C){return C===45||C===46||C===58||C===95||ut(C)?(n.consume(C),te):le(C)}function le(C){return C===61?(n.consume(C),M):Te(C)?(n.consume(C),le):O(C)}function M(C){return C===null||C===60||C===61||C===62||C===96?r(C):C===34||C===39?(n.consume(C),h=C,se):Te(C)?(n.consume(C),M):me(C)}function se(C){return C===h?(n.consume(C),h=null,xe):C===null||ae(C)?r(C):(n.consume(C),se)}function me(C){return C===null||C===34||C===39||C===47||C===60||C===61||C===62||C===96||Re(C)?le(C):(n.consume(C),me)}function xe(C){return C===47||C===62||Te(C)?O(C):r(C)}function R(C){return C===62?(n.consume(C),G):r(C)}function G(C){return C===null||ae(C)?K(C):Te(C)?(n.consume(C),G):r(C)}function K(C){return C===45&&a===2?(n.consume(C),ye):C===60&&a===1?(n.consume(C),ke):C===62&&a===4?(n.consume(C),P):C===63&&a===3?(n.consume(C),w):C===93&&a===5?(n.consume(C),ie):ae(C)&&(a===6||a===7)?(n.exit("htmlFlowData"),n.check(Ky,B,ge)(C)):C===null||ae(C)?(n.exit("htmlFlowData"),ge(C)):(n.consume(C),K)}function ge(C){return n.check(Gy,ee,B)(C)}function ee(C){return n.enter("lineEnding"),n.consume(C),n.exit("lineEnding"),Y}function Y(C){return C===null||ae(C)?ge(C):(n.enter("htmlFlowData"),K(C))}function ye(C){return C===45?(n.consume(C),w):K(C)}function ke(C){return C===47?(n.consume(C),s="",Q):K(C)}function Q(C){if(C===62){const pe=s.toLowerCase();return tp.includes(pe)?(n.consume(C),P):K(C)}return ft(C)&&s.length<8?(n.consume(C),s+=String.fromCharCode(C),Q):K(C)}function ie(C){return C===93?(n.consume(C),w):K(C)}function w(C){return C===62?(n.consume(C),P):C===45&&a===2?(n.consume(C),w):K(C)}function P(C){return C===null||ae(C)?(n.exit("htmlFlowData"),B(C)):(n.consume(C),P)}function B(C){return n.exit("htmlFlow"),l(C)}}function e1(n,l,r){const o=this;return a;function a(s){return ae(s)?(n.enter("lineEnding"),n.consume(s),n.exit("lineEnding"),c):r(s)}function c(s){return o.parser.lazy[o.now().line]?r(s):l(s)}}function t1(n,l,r){return o;function o(a){return n.enter("lineEnding"),n.consume(a),n.exit("lineEnding"),n.attempt(Ni,l,r)}}const n1={name:"htmlText",tokenize:r1};function r1(n,l,r){const o=this;let a,c,s;return d;function d(w){return n.enter("htmlText"),n.enter("htmlTextData"),n.consume(w),h}function h(w){return w===33?(n.consume(w),m):w===47?(n.consume(w),le):w===63?(n.consume(w),O):ft(w)?(n.consume(w),me):r(w)}function m(w){return w===45?(n.consume(w),y):w===91?(n.consume(w),c=0,_):ft(w)?(n.consume(w),F):r(w)}function y(w){return w===45?(n.consume(w),x):r(w)}function g(w){return w===null?r(w):w===45?(n.consume(w),v):ae(w)?(s=g,ke(w)):(n.consume(w),g)}function v(w){return w===45?(n.consume(w),x):g(w)}function x(w){return w===62?ye(w):w===45?v(w):g(w)}function _(w){const P="CDATA[";return w===P.charCodeAt(c++)?(n.consume(w),c===P.length?b:_):r(w)}function b(w){return w===null?r(w):w===93?(n.consume(w),D):ae(w)?(s=b,ke(w)):(n.consume(w),b)}function D(w){return w===93?(n.consume(w),I):b(w)}function I(w){return w===62?ye(w):w===93?(n.consume(w),I):b(w)}function F(w){return w===null||w===62?ye(w):ae(w)?(s=F,ke(w)):(n.consume(w),F)}function O(w){return w===null?r(w):w===63?(n.consume(w),te):ae(w)?(s=O,ke(w)):(n.consume(w),O)}function te(w){return w===62?ye(w):O(w)}function le(w){return ft(w)?(n.consume(w),M):r(w)}function M(w){return w===45||ut(w)?(n.consume(w),M):se(w)}function se(w){return ae(w)?(s=se,ke(w)):Te(w)?(n.consume(w),se):ye(w)}function me(w){return w===45||ut(w)?(n.consume(w),me):w===47||w===62||Re(w)?xe(w):r(w)}function xe(w){return w===47?(n.consume(w),ye):w===58||w===95||ft(w)?(n.consume(w),R):ae(w)?(s=xe,ke(w)):Te(w)?(n.consume(w),xe):ye(w)}function R(w){return w===45||w===46||w===58||w===95||ut(w)?(n.consume(w),R):G(w)}function G(w){return w===61?(n.consume(w),K):ae(w)?(s=G,ke(w)):Te(w)?(n.consume(w),G):xe(w)}function K(w){return w===null||w===60||w===61||w===62||w===96?r(w):w===34||w===39?(n.consume(w),a=w,ge):ae(w)?(s=K,ke(w)):Te(w)?(n.consume(w),K):(n.consume(w),ee)}function ge(w){return w===a?(n.consume(w),a=void 0,Y):w===null?r(w):ae(w)?(s=ge,ke(w)):(n.consume(w),ge)}function ee(w){return w===null||w===34||w===39||w===60||w===61||w===96?r(w):w===47||w===62||Re(w)?xe(w):(n.consume(w),ee)}function Y(w){return w===47||w===62||Re(w)?xe(w):r(w)}function ye(w){return w===62?(n.consume(w),n.exit("htmlTextData"),n.exit("htmlText"),l):r(w)}function ke(w){return n.exit("htmlTextData"),n.enter("lineEnding"),n.consume(w),n.exit("lineEnding"),Q}function Q(w){return Te(w)?_e(n,ie,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):ie(w)}function ie(w){return n.enter("htmlTextData"),s(w)}}const Ra={name:"labelEnd",resolveAll:u1,resolveTo:a1,tokenize:s1},i1={tokenize:c1},l1={tokenize:f1},o1={tokenize:p1};function u1(n){let l=-1;const r=[];for(;++l<n.length;){const o=n[l][1];if(r.push(n[l]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const a=o.type==="labelImage"?4:2;o.type="data",l+=a}}return n.length!==r.length&&_t(n,0,n.length,r),n}function a1(n,l){let r=n.length,o=0,a,c,s,d;for(;r--;)if(a=n[r][1],c){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;n[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(s){if(n[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(c=r,a.type!=="labelLink")){o=2;break}}else a.type==="labelEnd"&&(s=r);const h={type:n[c][1].type==="labelLink"?"link":"image",start:{...n[c][1].start},end:{...n[n.length-1][1].end}},m={type:"label",start:{...n[c][1].start},end:{...n[s][1].end}},y={type:"labelText",start:{...n[c+o+2][1].end},end:{...n[s-2][1].start}};return d=[["enter",h,l],["enter",m,l]],d=At(d,n.slice(c+1,c+o+3)),d=At(d,[["enter",y,l]]),d=At(d,to(l.parser.constructs.insideSpan.null,n.slice(c+o+4,s-3),l)),d=At(d,[["exit",y,l],n[s-2],n[s-1],["exit",m,l]]),d=At(d,n.slice(s+1)),d=At(d,[["exit",h,l]]),_t(n,c,n.length,d),n}function s1(n,l,r){const o=this;let a=o.events.length,c,s;for(;a--;)if((o.events[a][1].type==="labelImage"||o.events[a][1].type==="labelLink")&&!o.events[a][1]._balanced){c=o.events[a][1];break}return d;function d(v){return c?c._inactive?g(v):(s=o.parser.defined.includes(Ht(o.sliceSerialize({start:c.end,end:o.now()}))),n.enter("labelEnd"),n.enter("labelMarker"),n.consume(v),n.exit("labelMarker"),n.exit("labelEnd"),h):r(v)}function h(v){return v===40?n.attempt(i1,y,s?y:g)(v):v===91?n.attempt(l1,y,s?m:g)(v):s?y(v):g(v)}function m(v){return n.attempt(o1,y,g)(v)}function y(v){return l(v)}function g(v){return c._balanced=!0,r(v)}}function c1(n,l,r){return o;function o(g){return n.enter("resource"),n.enter("resourceMarker"),n.consume(g),n.exit("resourceMarker"),a}function a(g){return Re(g)?Ci(n,c)(g):c(g)}function c(g){return g===41?y(g):Gp(n,s,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function s(g){return Re(g)?Ci(n,h)(g):y(g)}function d(g){return r(g)}function h(g){return g===34||g===39||g===40?Zp(n,m,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):y(g)}function m(g){return Re(g)?Ci(n,y)(g):y(g)}function y(g){return g===41?(n.enter("resourceMarker"),n.consume(g),n.exit("resourceMarker"),n.exit("resource"),l):r(g)}}function f1(n,l,r){const o=this;return a;function a(d){return Jp.call(o,n,c,s,"reference","referenceMarker","referenceString")(d)}function c(d){return o.parser.defined.includes(Ht(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?l(d):r(d)}function s(d){return r(d)}}function p1(n,l,r){return o;function o(c){return n.enter("reference"),n.enter("referenceMarker"),n.consume(c),n.exit("referenceMarker"),a}function a(c){return c===93?(n.enter("referenceMarker"),n.consume(c),n.exit("referenceMarker"),n.exit("reference"),l):r(c)}}const d1={name:"labelStartImage",resolveAll:Ra.resolveAll,tokenize:h1};function h1(n,l,r){const o=this;return a;function a(d){return n.enter("labelImage"),n.enter("labelImageMarker"),n.consume(d),n.exit("labelImageMarker"),c}function c(d){return d===91?(n.enter("labelMarker"),n.consume(d),n.exit("labelMarker"),n.exit("labelImage"),s):r(d)}function s(d){return d===94&&"_hiddenFootnoteSupport"in o.parser.constructs?r(d):l(d)}}const m1={name:"labelStartLink",resolveAll:Ra.resolveAll,tokenize:g1};function g1(n,l,r){const o=this;return a;function a(s){return n.enter("labelLink"),n.enter("labelMarker"),n.consume(s),n.exit("labelMarker"),n.exit("labelLink"),c}function c(s){return s===94&&"_hiddenFootnoteSupport"in o.parser.constructs?r(s):l(s)}}const ea={name:"lineEnding",tokenize:y1};function y1(n,l){return r;function r(o){return n.enter("lineEnding"),n.consume(o),n.exit("lineEnding"),_e(n,l,"linePrefix")}}const Yl={name:"thematicBreak",tokenize:k1};function k1(n,l,r){let o=0,a;return c;function c(m){return n.enter("thematicBreak"),s(m)}function s(m){return a=m,d(m)}function d(m){return m===a?(n.enter("thematicBreakSequence"),h(m)):o>=3&&(m===null||ae(m))?(n.exit("thematicBreak"),l(m)):r(m)}function h(m){return m===a?(n.consume(m),o++,h):(n.exit("thematicBreakSequence"),Te(m)?_e(n,d,"whitespace")(m):d(m))}}const kt={continuation:{tokenize:S1},exit:E1,name:"list",tokenize:w1},x1={partial:!0,tokenize:T1},v1={partial:!0,tokenize:C1};function w1(n,l,r){const o=this,a=o.events[o.events.length-1];let c=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,s=0;return d;function d(x){const _=o.containerState.type||(x===42||x===43||x===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!o.containerState.marker||x===o.containerState.marker:ya(x)){if(o.containerState.type||(o.containerState.type=_,n.enter(_,{_container:!0})),_==="listUnordered")return n.enter("listItemPrefix"),x===42||x===45?n.check(Yl,r,m)(x):m(x);if(!o.interrupt||x===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),h(x)}return r(x)}function h(x){return ya(x)&&++s<10?(n.consume(x),h):(!o.interrupt||s<2)&&(o.containerState.marker?x===o.containerState.marker:x===41||x===46)?(n.exit("listItemValue"),m(x)):r(x)}function m(x){return n.enter("listItemMarker"),n.consume(x),n.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||x,n.check(Ni,o.interrupt?r:y,n.attempt(x1,v,g))}function y(x){return o.containerState.initialBlankLine=!0,c++,v(x)}function g(x){return Te(x)?(n.enter("listItemPrefixWhitespace"),n.consume(x),n.exit("listItemPrefixWhitespace"),v):r(x)}function v(x){return o.containerState.size=c+o.sliceSerialize(n.exit("listItemPrefix"),!0).length,l(x)}}function S1(n,l,r){const o=this;return o.containerState._closeFlow=void 0,n.check(Ni,a,c);function a(d){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,_e(n,l,"listItemIndent",o.containerState.size+1)(d)}function c(d){return o.containerState.furtherBlankLines||!Te(d)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,s(d)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,n.attempt(v1,l,s)(d))}function s(d){return o.containerState._closeFlow=!0,o.interrupt=void 0,_e(n,n.attempt(kt,l,r),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function C1(n,l,r){const o=this;return _e(n,a,"listItemIndent",o.containerState.size+1);function a(c){const s=o.events[o.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===o.containerState.size?l(c):r(c)}}function E1(n){n.exit(this.containerState.type)}function T1(n,l,r){const o=this;return _e(n,a,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(c){const s=o.events[o.events.length-1];return!Te(c)&&s&&s[1].type==="listItemPrefixWhitespace"?l(c):r(c)}}const np={name:"setextUnderline",resolveTo:_1,tokenize:P1};function _1(n,l){let r=n.length,o,a,c;for(;r--;)if(n[r][0]==="enter"){if(n[r][1].type==="content"){o=r;break}n[r][1].type==="paragraph"&&(a=r)}else n[r][1].type==="content"&&n.splice(r,1),!c&&n[r][1].type==="definition"&&(c=r);const s={type:"setextHeading",start:{...n[o][1].start},end:{...n[n.length-1][1].end}};return n[a][1].type="setextHeadingText",c?(n.splice(a,0,["enter",s,l]),n.splice(c+1,0,["exit",n[o][1],l]),n[o][1].end={...n[c][1].end}):n[o][1]=s,n.push(["exit",s,l]),n}function P1(n,l,r){const o=this;let a;return c;function c(m){let y=o.events.length,g;for(;y--;)if(o.events[y][1].type!=="lineEnding"&&o.events[y][1].type!=="linePrefix"&&o.events[y][1].type!=="content"){g=o.events[y][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||g)?(n.enter("setextHeadingLine"),a=m,s(m)):r(m)}function s(m){return n.enter("setextHeadingLineSequence"),d(m)}function d(m){return m===a?(n.consume(m),d):(n.exit("setextHeadingLineSequence"),Te(m)?_e(n,h,"lineSuffix")(m):h(m))}function h(m){return m===null||ae(m)?(n.exit("setextHeadingLine"),l(m)):r(m)}}const N1={tokenize:I1};function I1(n){const l=this,r=n.attempt(Ni,o,n.attempt(this.parser.constructs.flowInitial,a,_e(n,n.attempt(this.parser.constructs.flow,a,n.attempt(Ay,a)),"linePrefix")));return r;function o(c){if(c===null){n.consume(c);return}return n.enter("lineEndingBlank"),n.consume(c),n.exit("lineEndingBlank"),l.currentConstruct=void 0,r}function a(c){if(c===null){n.consume(c);return}return n.enter("lineEnding"),n.consume(c),n.exit("lineEnding"),l.currentConstruct=void 0,r}}const z1={resolveAll:td()},L1=ed("string"),D1=ed("text");function ed(n){return{resolveAll:td(n==="text"?R1:void 0),tokenize:l};function l(r){const o=this,a=this.parser.constructs[n],c=r.attempt(a,s,d);return s;function s(y){return m(y)?c(y):d(y)}function d(y){if(y===null){r.consume(y);return}return r.enter("data"),r.consume(y),h}function h(y){return m(y)?(r.exit("data"),c(y)):(r.consume(y),h)}function m(y){if(y===null)return!0;const g=a[y];let v=-1;if(g)for(;++v<g.length;){const x=g[v];if(!x.previous||x.previous.call(o,o.previous))return!0}return!1}}}function td(n){return l;function l(r,o){let a=-1,c;for(;++a<=r.length;)c===void 0?r[a]&&r[a][1].type==="data"&&(c=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==c+2&&(r[c][1].end=r[a-1][1].end,r.splice(c+2,a-c-2),a=c+2),c=void 0);return n?n(r,o):r}}function R1(n,l){let r=0;for(;++r<=n.length;)if((r===n.length||n[r][1].type==="lineEnding")&&n[r-1][1].type==="data"){const o=n[r-1][1],a=l.sliceStream(o);let c=a.length,s=-1,d=0,h;for(;c--;){const m=a[c];if(typeof m=="string"){for(s=m.length;m.charCodeAt(s-1)===32;)d++,s--;if(s)break;s=-1}else if(m===-2)h=!0,d++;else if(m!==-1){c++;break}}if(l._contentTypeTextTrailing&&r===n.length&&(d=0),d){const m={type:r===n.length||h||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:c?s:o.start._bufferIndex+s,_index:o.start._index+c,line:o.end.line,column:o.end.column-d,offset:o.end.offset-d},end:{...o.end}};o.end={...m.start},o.start.offset===o.end.offset?Object.assign(o,m):(n.splice(r,0,["enter",m,l],["exit",m,l]),r+=2)}r++}return n}const A1={42:kt,43:kt,45:kt,48:kt,49:kt,50:kt,51:kt,52:kt,53:kt,54:kt,55:kt,56:kt,57:kt,62:qp},b1={91:Oy},M1={[-2]:Zu,[-1]:Zu,32:Zu},j1={35:Wy,42:Yl,45:[np,Yl],60:Xy,61:np,95:Yl,96:ep,126:ep},F1={38:Xp,92:Yp},O1={[-5]:ea,[-4]:ea,[-3]:ea,33:d1,38:Xp,42:ka,60:[my,n1],91:m1,92:[Vy,Yp],93:Ra,95:ka,96:Ny},B1={null:[ka,z1]},U1={null:[42,95]},H1={null:[]},V1=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:U1,contentInitial:b1,disable:H1,document:A1,flow:j1,flowInitial:M1,insideSpan:B1,string:F1,text:O1},Symbol.toStringTag,{value:"Module"}));function $1(n,l,r){let o={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},c=[];let s=[],d=[];const h={attempt:se(le),check:se(M),consume:F,enter:O,exit:te,interrupt:se(M,{interrupt:!0})},m={code:null,containerState:{},defineSkip:b,events:[],now:_,parser:n,previous:null,sliceSerialize:v,sliceStream:x,write:g};let y=l.tokenize.call(m,h);return l.resolveAll&&c.push(l),m;function g(G){return s=At(s,G),D(),s[s.length-1]!==null?[]:(me(l,0),m.events=to(c,m.events,m),m.events)}function v(G,K){return Q1(x(G),K)}function x(G){return W1(s,G)}function _(){const{_bufferIndex:G,_index:K,line:ge,column:ee,offset:Y}=o;return{_bufferIndex:G,_index:K,line:ge,column:ee,offset:Y}}function b(G){a[G.line]=G.column,R()}function D(){let G;for(;o._index<s.length;){const K=s[o._index];if(typeof K=="string")for(G=o._index,o._bufferIndex<0&&(o._bufferIndex=0);o._index===G&&o._bufferIndex<K.length;)I(K.charCodeAt(o._bufferIndex));else I(K)}}function I(G){y=y(G)}function F(G){ae(G)?(o.line++,o.column=1,o.offset+=G===-3?2:1,R()):G!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===s[o._index].length&&(o._bufferIndex=-1,o._index++)),m.previous=G}function O(G,K){const ge=K||{};return ge.type=G,ge.start=_(),m.events.push(["enter",ge,m]),d.push(ge),ge}function te(G){const K=d.pop();return K.end=_(),m.events.push(["exit",K,m]),K}function le(G,K){me(G,K.from)}function M(G,K){K.restore()}function se(G,K){return ge;function ge(ee,Y,ye){let ke,Q,ie,w;return Array.isArray(ee)?B(ee):"tokenize"in ee?B([ee]):P(ee);function P(fe){return Ie;function Ie(Se){const Le=Se!==null&&fe[Se],$e=Se!==null&&fe.null,Gt=[...Array.isArray(Le)?Le:Le?[Le]:[],...Array.isArray($e)?$e:$e?[$e]:[]];return B(Gt)(Se)}}function B(fe){return ke=fe,Q=0,fe.length===0?ye:C(fe[Q])}function C(fe){return Ie;function Ie(Se){return w=xe(),ie=fe,fe.partial||(m.currentConstruct=fe),fe.name&&m.parser.constructs.disable.null.includes(fe.name)?we():fe.tokenize.call(K?Object.assign(Object.create(m),K):m,h,pe,we)(Se)}}function pe(fe){return G(ie,w),Y}function we(fe){return w.restore(),++Q<ke.length?C(ke[Q]):ye}}}function me(G,K){G.resolveAll&&!c.includes(G)&&c.push(G),G.resolve&&_t(m.events,K,m.events.length-K,G.resolve(m.events.slice(K),m)),G.resolveTo&&(m.events=G.resolveTo(m.events,m))}function xe(){const G=_(),K=m.previous,ge=m.currentConstruct,ee=m.events.length,Y=Array.from(d);return{from:ee,restore:ye};function ye(){o=G,m.previous=K,m.currentConstruct=ge,m.events.length=ee,d=Y,R()}}function R(){o.line in a&&o.column<2&&(o.column=a[o.line],o.offset+=a[o.line]-1)}}function W1(n,l){const r=l.start._index,o=l.start._bufferIndex,a=l.end._index,c=l.end._bufferIndex;let s;if(r===a)s=[n[r].slice(o,c)];else{if(s=n.slice(r,a),o>-1){const d=s[0];typeof d=="string"?s[0]=d.slice(o):s.shift()}c>0&&s.push(n[a].slice(0,c))}return s}function Q1(n,l){let r=-1;const o=[];let a;for(;++r<n.length;){const c=n[r];let s;if(typeof c=="string")s=c;else switch(c){case-5:{s="\r";break}case-4:{s=`
152
- `;break}case-3:{s=`\r
153
- `;break}case-2:{s=l?" ":" ";break}case-1:{if(!l&&a)continue;s=" ";break}default:s=String.fromCharCode(c)}a=c===-2,o.push(s)}return o.join("")}function q1(n){const o={constructs:Wp([V1,...(n||{}).extensions||[]]),content:a(ay),defined:[],document:a(cy),flow:a(N1),lazy:{},string:a(L1),text:a(D1)};return o;function a(c){return s;function s(d){return $1(o,c,d)}}}function Y1(n){for(;!Kp(n););return n}const rp=/[\0\t\n\r]/g;function X1(){let n=1,l="",r=!0,o;return a;function a(c,s,d){const h=[];let m,y,g,v,x;for(c=l+(typeof c=="string"?c.toString():new TextDecoder(s||void 0).decode(c)),g=0,l="",r&&(c.charCodeAt(0)===65279&&g++,r=void 0);g<c.length;){if(rp.lastIndex=g,m=rp.exec(c),v=m&&m.index!==void 0?m.index:c.length,x=c.charCodeAt(v),!m){l=c.slice(g);break}if(x===10&&g===v&&o)h.push(-3),o=void 0;else switch(o&&(h.push(-5),o=void 0),g<v&&(h.push(c.slice(g,v)),n+=v-g),x){case 0:{h.push(65533),n++;break}case 9:{for(y=Math.ceil(n/4)*4,h.push(-2);n++<y;)h.push(-1);break}case 10:{h.push(-4),n=1;break}default:o=!0,n=1}g=v+1}return d&&(o&&h.push(-5),l&&h.push(l),h.push(null)),h}}const K1=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function G1(n){return n.replace(K1,J1)}function J1(n,l,r){if(l)return l;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),c=a===120||a===88;return Qp(r.slice(c?2:1),c?16:10)}return Da(r)||n}const nd={}.hasOwnProperty;function Z1(n,l,r){return l&&typeof l=="object"&&(r=l,l=void 0),ek(r)(Y1(q1(r).document().write(X1()(n,l,!0))))}function ek(n){const l={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(Zn),autolinkProtocol:xe,autolinkEmail:xe,atxHeading:c(Dr),blockQuote:c($e),characterEscape:xe,characterReference:xe,codeFenced:c(Gt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:c(Gt,s),codeText:c(zi,s),codeTextData:xe,data:xe,codeFlowValue:xe,definition:c(Gn),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:c(Lr),hardBreakEscape:c(Rr),hardBreakTrailing:c(Rr),htmlFlow:c(Jn,s),htmlFlowData:xe,htmlText:c(Jn,s),htmlTextData:xe,image:c(Li),label:s,link:c(Zn),listItem:c(cn),listItemValue:v,listOrdered:c(sn,g),listUnordered:c(sn),paragraph:c(Ar),reference:C,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:c(Dr),strong:c(Di),thematicBreak:c(Ai)},exit:{atxHeading:h(),atxHeadingSequence:le,autolink:h(),autolinkEmail:Le,autolinkProtocol:Se,blockQuote:h(),characterEscapeValue:R,characterReferenceMarkerHexadecimal:we,characterReferenceMarkerNumeric:we,characterReferenceValue:fe,characterReference:Ie,codeFenced:h(D),codeFencedFence:b,codeFencedFenceInfo:x,codeFencedFenceMeta:_,codeFlowValue:R,codeIndented:h(I),codeText:h(Y),codeTextData:R,data:R,definition:h(),definitionDestinationString:te,definitionLabelString:F,definitionTitleString:O,emphasis:h(),hardBreakEscape:h(K),hardBreakTrailing:h(K),htmlFlow:h(ge),htmlFlowData:R,htmlText:h(ee),htmlTextData:R,image:h(ke),label:ie,labelText:Q,lineEnding:G,link:h(ye),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:pe,resourceDestinationString:w,resourceTitleString:P,resource:B,setextHeading:h(me),setextHeadingLineSequence:se,setextHeadingText:M,strong:h(),thematicBreak:h()}};rd(l,(n||{}).mdastExtensions||[]);const r={};return o;function o(j){let q={type:"root",children:[]};const de={stack:[q],tokenStack:[],config:l,enter:d,exit:m,buffer:s,resume:y,data:r},Ce=[];let Pe=-1;for(;++Pe<j.length;)if(j[Pe][1].type==="listOrdered"||j[Pe][1].type==="listUnordered")if(j[Pe][0]==="enter")Ce.push(Pe);else{const Ze=Ce.pop();Pe=a(j,Ze,Pe)}for(Pe=-1;++Pe<j.length;){const Ze=l[j[Pe][0]];nd.call(Ze,j[Pe][1].type)&&Ze[j[Pe][1].type].call(Object.assign({sliceSerialize:j[Pe][2].sliceSerialize},de),j[Pe][1])}if(de.tokenStack.length>0){const Ze=de.tokenStack[de.tokenStack.length-1];(Ze[1]||ip).call(de,void 0,Ze[0])}for(q.position={start:Ln(j.length>0?j[0][1].start:{line:1,column:1,offset:0}),end:Ln(j.length>0?j[j.length-2][1].end:{line:1,column:1,offset:0})},Pe=-1;++Pe<l.transforms.length;)q=l.transforms[Pe](q)||q;return q}function a(j,q,de){let Ce=q-1,Pe=-1,Ze=!1,Jt,Pt,fn,An;for(;++Ce<=de;){const et=j[Ce];switch(et[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{et[0]==="enter"?Pe++:Pe--,An=void 0;break}case"lineEndingBlank":{et[0]==="enter"&&(Jt&&!An&&!Pe&&!fn&&(fn=Ce),An=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:An=void 0}if(!Pe&&et[0]==="enter"&&et[1].type==="listItemPrefix"||Pe===-1&&et[0]==="exit"&&(et[1].type==="listUnordered"||et[1].type==="listOrdered")){if(Jt){let Vt=Ce;for(Pt=void 0;Vt--;){const vt=j[Vt];if(vt[1].type==="lineEnding"||vt[1].type==="lineEndingBlank"){if(vt[0]==="exit")continue;Pt&&(j[Pt][1].type="lineEndingBlank",Ze=!0),vt[1].type="lineEnding",Pt=Vt}else if(!(vt[1].type==="linePrefix"||vt[1].type==="blockQuotePrefix"||vt[1].type==="blockQuotePrefixWhitespace"||vt[1].type==="blockQuoteMarker"||vt[1].type==="listItemIndent"))break}fn&&(!Pt||fn<Pt)&&(Jt._spread=!0),Jt.end=Object.assign({},Pt?j[Pt][1].start:et[1].end),j.splice(Pt||Ce,0,["exit",Jt,et[2]]),Ce++,de++}if(et[1].type==="listItemPrefix"){const Vt={type:"listItem",_spread:!1,start:Object.assign({},et[1].start),end:void 0};Jt=Vt,j.splice(Ce,0,["enter",Vt,et[2]]),Ce++,de++,fn=void 0,An=!0}}}return j[q][1]._spread=Ze,de}function c(j,q){return de;function de(Ce){d.call(this,j(Ce),Ce),q&&q.call(this,Ce)}}function s(){this.stack.push({type:"fragment",children:[]})}function d(j,q,de){this.stack[this.stack.length-1].children.push(j),this.stack.push(j),this.tokenStack.push([q,de||void 0]),j.position={start:Ln(q.start),end:void 0}}function h(j){return q;function q(de){j&&j.call(this,de),m.call(this,de)}}function m(j,q){const de=this.stack.pop(),Ce=this.tokenStack.pop();if(Ce)Ce[0].type!==j.type&&(q?q.call(this,j,Ce[0]):(Ce[1]||ip).call(this,j,Ce[0]));else throw new Error("Cannot close `"+j.type+"` ("+Si({start:j.start,end:j.end})+"): it’s not open");de.position.end=Ln(j.end)}function y(){return La(this.stack.pop())}function g(){this.data.expectingFirstListItemValue=!0}function v(j){if(this.data.expectingFirstListItemValue){const q=this.stack[this.stack.length-2];q.start=Number.parseInt(this.sliceSerialize(j),10),this.data.expectingFirstListItemValue=void 0}}function x(){const j=this.resume(),q=this.stack[this.stack.length-1];q.lang=j}function _(){const j=this.resume(),q=this.stack[this.stack.length-1];q.meta=j}function b(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function D(){const j=this.resume(),q=this.stack[this.stack.length-1];q.value=j.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function I(){const j=this.resume(),q=this.stack[this.stack.length-1];q.value=j.replace(/(\r?\n|\r)$/g,"")}function F(j){const q=this.resume(),de=this.stack[this.stack.length-1];de.label=q,de.identifier=Ht(this.sliceSerialize(j)).toLowerCase()}function O(){const j=this.resume(),q=this.stack[this.stack.length-1];q.title=j}function te(){const j=this.resume(),q=this.stack[this.stack.length-1];q.url=j}function le(j){const q=this.stack[this.stack.length-1];if(!q.depth){const de=this.sliceSerialize(j).length;q.depth=de}}function M(){this.data.setextHeadingSlurpLineEnding=!0}function se(j){const q=this.stack[this.stack.length-1];q.depth=this.sliceSerialize(j).codePointAt(0)===61?1:2}function me(){this.data.setextHeadingSlurpLineEnding=void 0}function xe(j){const de=this.stack[this.stack.length-1].children;let Ce=de[de.length-1];(!Ce||Ce.type!=="text")&&(Ce=Ri(),Ce.position={start:Ln(j.start),end:void 0},de.push(Ce)),this.stack.push(Ce)}function R(j){const q=this.stack.pop();q.value+=this.sliceSerialize(j),q.position.end=Ln(j.end)}function G(j){const q=this.stack[this.stack.length-1];if(this.data.atHardBreak){const de=q.children[q.children.length-1];de.position.end=Ln(j.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&l.canContainEols.includes(q.type)&&(xe.call(this,j),R.call(this,j))}function K(){this.data.atHardBreak=!0}function ge(){const j=this.resume(),q=this.stack[this.stack.length-1];q.value=j}function ee(){const j=this.resume(),q=this.stack[this.stack.length-1];q.value=j}function Y(){const j=this.resume(),q=this.stack[this.stack.length-1];q.value=j}function ye(){const j=this.stack[this.stack.length-1];if(this.data.inReference){const q=this.data.referenceType||"shortcut";j.type+="Reference",j.referenceType=q,delete j.url,delete j.title}else delete j.identifier,delete j.label;this.data.referenceType=void 0}function ke(){const j=this.stack[this.stack.length-1];if(this.data.inReference){const q=this.data.referenceType||"shortcut";j.type+="Reference",j.referenceType=q,delete j.url,delete j.title}else delete j.identifier,delete j.label;this.data.referenceType=void 0}function Q(j){const q=this.sliceSerialize(j),de=this.stack[this.stack.length-2];de.label=G1(q),de.identifier=Ht(q).toLowerCase()}function ie(){const j=this.stack[this.stack.length-1],q=this.resume(),de=this.stack[this.stack.length-1];if(this.data.inReference=!0,de.type==="link"){const Ce=j.children;de.children=Ce}else de.alt=q}function w(){const j=this.resume(),q=this.stack[this.stack.length-1];q.url=j}function P(){const j=this.resume(),q=this.stack[this.stack.length-1];q.title=j}function B(){this.data.inReference=void 0}function C(){this.data.referenceType="collapsed"}function pe(j){const q=this.resume(),de=this.stack[this.stack.length-1];de.label=q,de.identifier=Ht(this.sliceSerialize(j)).toLowerCase(),this.data.referenceType="full"}function we(j){this.data.characterReferenceType=j.type}function fe(j){const q=this.sliceSerialize(j),de=this.data.characterReferenceType;let Ce;de?(Ce=Qp(q,de==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ce=Da(q);const Pe=this.stack[this.stack.length-1];Pe.value+=Ce}function Ie(j){const q=this.stack.pop();q.position.end=Ln(j.end)}function Se(j){R.call(this,j);const q=this.stack[this.stack.length-1];q.url=this.sliceSerialize(j)}function Le(j){R.call(this,j);const q=this.stack[this.stack.length-1];q.url="mailto:"+this.sliceSerialize(j)}function $e(){return{type:"blockquote",children:[]}}function Gt(){return{type:"code",lang:null,meta:null,value:""}}function zi(){return{type:"inlineCode",value:""}}function Gn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Lr(){return{type:"emphasis",children:[]}}function Dr(){return{type:"heading",depth:0,children:[]}}function Rr(){return{type:"break"}}function Jn(){return{type:"html",value:""}}function Li(){return{type:"image",title:null,url:"",alt:null}}function Zn(){return{type:"link",title:null,url:"",children:[]}}function sn(j){return{type:"list",ordered:j.type==="listOrdered",start:null,spread:j._spread,children:[]}}function cn(j){return{type:"listItem",spread:j._spread,checked:null,children:[]}}function Ar(){return{type:"paragraph",children:[]}}function Di(){return{type:"strong",children:[]}}function Ri(){return{type:"text",value:""}}function Ai(){return{type:"thematicBreak"}}}function Ln(n){return{line:n.line,column:n.column,offset:n.offset}}function rd(n,l){let r=-1;for(;++r<l.length;){const o=l[r];Array.isArray(o)?rd(n,o):tk(n,o)}}function tk(n,l){let r;for(r in l)if(nd.call(l,r))switch(r){case"canContainEols":{const o=l[r];o&&n[r].push(...o);break}case"transforms":{const o=l[r];o&&n[r].push(...o);break}case"enter":case"exit":{const o=l[r];o&&Object.assign(n[r],o);break}}}function ip(n,l){throw n?new Error("Cannot close `"+n.type+"` ("+Si({start:n.start,end:n.end})+"): a different token (`"+l.type+"`, "+Si({start:l.start,end:l.end})+") is open"):new Error("Cannot close document, a token (`"+l.type+"`, "+Si({start:l.start,end:l.end})+") is still open")}function nk(n){const l=this;l.parser=r;function r(o){return Z1(o,{...l.data("settings"),...n,extensions:l.data("micromarkExtensions")||[],mdastExtensions:l.data("fromMarkdownExtensions")||[]})}}function rk(n,l){const r={type:"element",tagName:"blockquote",properties:{},children:n.wrap(n.all(l),!0)};return n.patch(l,r),n.applyData(l,r)}function ik(n,l){const r={type:"element",tagName:"br",properties:{},children:[]};return n.patch(l,r),[n.applyData(l,r),{type:"text",value:`
154
- `}]}function lk(n,l){const r=l.value?l.value+`
155
- `:"",o={},a=l.lang?l.lang.split(/\s+/):[];a.length>0&&(o.className=["language-"+a[0]]);let c={type:"element",tagName:"code",properties:o,children:[{type:"text",value:r}]};return l.meta&&(c.data={meta:l.meta}),n.patch(l,c),c=n.applyData(l,c),c={type:"element",tagName:"pre",properties:{},children:[c]},n.patch(l,c),c}function ok(n,l){const r={type:"element",tagName:"del",properties:{},children:n.all(l)};return n.patch(l,r),n.applyData(l,r)}function uk(n,l){const r={type:"element",tagName:"em",properties:{},children:n.all(l)};return n.patch(l,r),n.applyData(l,r)}function ak(n,l){const r=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",o=String(l.identifier).toUpperCase(),a=zr(o.toLowerCase()),c=n.footnoteOrder.indexOf(o);let s,d=n.footnoteCounts.get(o);d===void 0?(d=0,n.footnoteOrder.push(o),s=n.footnoteOrder.length):s=c+1,d+=1,n.footnoteCounts.set(o,d);const h={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};n.patch(l,h);const m={type:"element",tagName:"sup",properties:{},children:[h]};return n.patch(l,m),n.applyData(l,m)}function sk(n,l){const r={type:"element",tagName:"h"+l.depth,properties:{},children:n.all(l)};return n.patch(l,r),n.applyData(l,r)}function ck(n,l){if(n.options.allowDangerousHtml){const r={type:"raw",value:l.value};return n.patch(l,r),n.applyData(l,r)}}function id(n,l){const r=l.referenceType;let o="]";if(r==="collapsed"?o+="[]":r==="full"&&(o+="["+(l.label||l.identifier)+"]"),l.type==="imageReference")return[{type:"text",value:"!["+l.alt+o}];const a=n.all(l),c=a[0];c&&c.type==="text"?c.value="["+c.value:a.unshift({type:"text",value:"["});const s=a[a.length-1];return s&&s.type==="text"?s.value+=o:a.push({type:"text",value:o}),a}function fk(n,l){const r=String(l.identifier).toUpperCase(),o=n.definitionById.get(r);if(!o)return id(n,l);const a={src:zr(o.url||""),alt:l.alt};o.title!==null&&o.title!==void 0&&(a.title=o.title);const c={type:"element",tagName:"img",properties:a,children:[]};return n.patch(l,c),n.applyData(l,c)}function pk(n,l){const r={src:zr(l.url)};l.alt!==null&&l.alt!==void 0&&(r.alt=l.alt),l.title!==null&&l.title!==void 0&&(r.title=l.title);const o={type:"element",tagName:"img",properties:r,children:[]};return n.patch(l,o),n.applyData(l,o)}function dk(n,l){const r={type:"text",value:l.value.replace(/\r?\n|\r/g," ")};n.patch(l,r);const o={type:"element",tagName:"code",properties:{},children:[r]};return n.patch(l,o),n.applyData(l,o)}function hk(n,l){const r=String(l.identifier).toUpperCase(),o=n.definitionById.get(r);if(!o)return id(n,l);const a={href:zr(o.url||"")};o.title!==null&&o.title!==void 0&&(a.title=o.title);const c={type:"element",tagName:"a",properties:a,children:n.all(l)};return n.patch(l,c),n.applyData(l,c)}function mk(n,l){const r={href:zr(l.url)};l.title!==null&&l.title!==void 0&&(r.title=l.title);const o={type:"element",tagName:"a",properties:r,children:n.all(l)};return n.patch(l,o),n.applyData(l,o)}function gk(n,l,r){const o=n.all(l),a=r?yk(r):ld(l),c={},s=[];if(typeof l.checked=="boolean"){const y=o[0];let g;y&&y.type==="element"&&y.tagName==="p"?g=y:(g={type:"element",tagName:"p",properties:{},children:[]},o.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:l.checked,disabled:!0},children:[]}),c.className=["task-list-item"]}let d=-1;for(;++d<o.length;){const y=o[d];(a||d!==0||y.type!=="element"||y.tagName!=="p")&&s.push({type:"text",value:`
156
- `}),y.type==="element"&&y.tagName==="p"&&!a?s.push(...y.children):s.push(y)}const h=o[o.length-1];h&&(a||h.type!=="element"||h.tagName!=="p")&&s.push({type:"text",value:`
157
- `});const m={type:"element",tagName:"li",properties:c,children:s};return n.patch(l,m),n.applyData(l,m)}function yk(n){let l=!1;if(n.type==="list"){l=n.spread||!1;const r=n.children;let o=-1;for(;!l&&++o<r.length;)l=ld(r[o])}return l}function ld(n){const l=n.spread;return l??n.children.length>1}function kk(n,l){const r={},o=n.all(l);let a=-1;for(typeof l.start=="number"&&l.start!==1&&(r.start=l.start);++a<o.length;){const s=o[a];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const c={type:"element",tagName:l.ordered?"ol":"ul",properties:r,children:n.wrap(o,!0)};return n.patch(l,c),n.applyData(l,c)}function xk(n,l){const r={type:"element",tagName:"p",properties:{},children:n.all(l)};return n.patch(l,r),n.applyData(l,r)}function vk(n,l){const r={type:"root",children:n.wrap(n.all(l))};return n.patch(l,r),n.applyData(l,r)}function wk(n,l){const r={type:"element",tagName:"strong",properties:{},children:n.all(l)};return n.patch(l,r),n.applyData(l,r)}function Sk(n,l){const r=n.all(l),o=r.shift(),a=[];if(o){const s={type:"element",tagName:"thead",properties:{},children:n.wrap([o],!0)};n.patch(l.children[0],s),a.push(s)}if(r.length>0){const s={type:"element",tagName:"tbody",properties:{},children:n.wrap(r,!0)},d=Pa(l.children[1]),h=Fp(l.children[l.children.length-1]);d&&h&&(s.position={start:d,end:h}),a.push(s)}const c={type:"element",tagName:"table",properties:{},children:n.wrap(a,!0)};return n.patch(l,c),n.applyData(l,c)}function Ck(n,l,r){const o=r?r.children:void 0,c=(o?o.indexOf(l):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,d=s?s.length:l.children.length;let h=-1;const m=[];for(;++h<d;){const g=l.children[h],v={},x=s?s[h]:void 0;x&&(v.align=x);let _={type:"element",tagName:c,properties:v,children:[]};g&&(_.children=n.all(g),n.patch(g,_),_=n.applyData(g,_)),m.push(_)}const y={type:"element",tagName:"tr",properties:{},children:n.wrap(m,!0)};return n.patch(l,y),n.applyData(l,y)}function Ek(n,l){const r={type:"element",tagName:"td",properties:{},children:n.all(l)};return n.patch(l,r),n.applyData(l,r)}const lp=9,op=32;function Tk(n){const l=String(n),r=/\r?\n|\r/g;let o=r.exec(l),a=0;const c=[];for(;o;)c.push(up(l.slice(a,o.index),a>0,!0),o[0]),a=o.index+o[0].length,o=r.exec(l);return c.push(up(l.slice(a),a>0,!1)),c.join("")}function up(n,l,r){let o=0,a=n.length;if(l){let c=n.codePointAt(o);for(;c===lp||c===op;)o++,c=n.codePointAt(o)}if(r){let c=n.codePointAt(a-1);for(;c===lp||c===op;)a--,c=n.codePointAt(a-1)}return a>o?n.slice(o,a):""}function _k(n,l){const r={type:"text",value:Tk(String(l.value))};return n.patch(l,r),n.applyData(l,r)}function Pk(n,l){const r={type:"element",tagName:"hr",properties:{},children:[]};return n.patch(l,r),n.applyData(l,r)}const Nk={blockquote:rk,break:ik,code:lk,delete:ok,emphasis:uk,footnoteReference:ak,heading:sk,html:ck,imageReference:fk,image:pk,inlineCode:dk,linkReference:hk,link:mk,listItem:gk,list:kk,paragraph:xk,root:vk,strong:wk,table:Sk,tableCell:Ek,tableRow:Ck,text:_k,thematicBreak:Pk,toml:Vl,yaml:Vl,definition:Vl,footnoteDefinition:Vl};function Vl(){}const od=-1,no=0,Ei=1,Kl=2,Aa=3,ba=4,Ma=5,ja=6,ud=7,ad=8,ap=typeof self=="object"?self:globalThis,Ik=(n,l)=>{const r=(a,c)=>(n.set(c,a),a),o=a=>{if(n.has(a))return n.get(a);const[c,s]=l[a];switch(c){case no:case od:return r(s,a);case Ei:{const d=r([],a);for(const h of s)d.push(o(h));return d}case Kl:{const d=r({},a);for(const[h,m]of s)d[o(h)]=o(m);return d}case Aa:return r(new Date(s),a);case ba:{const{source:d,flags:h}=s;return r(new RegExp(d,h),a)}case Ma:{const d=r(new Map,a);for(const[h,m]of s)d.set(o(h),o(m));return d}case ja:{const d=r(new Set,a);for(const h of s)d.add(o(h));return d}case ud:{const{name:d,message:h}=s;return r(new ap[d](h),a)}case ad:return r(BigInt(s),a);case"BigInt":return r(Object(BigInt(s)),a);case"ArrayBuffer":return r(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:d}=new Uint8Array(s);return r(new DataView(d),s)}}return r(new ap[c](s),a)};return o},sp=n=>Ik(new Map,n)(0),Tr="",{toString:zk}={},{keys:Lk}=Object,wi=n=>{const l=typeof n;if(l!=="object"||!n)return[no,l];const r=zk.call(n).slice(8,-1);switch(r){case"Array":return[Ei,Tr];case"Object":return[Kl,Tr];case"Date":return[Aa,Tr];case"RegExp":return[ba,Tr];case"Map":return[Ma,Tr];case"Set":return[ja,Tr];case"DataView":return[Ei,r]}return r.includes("Array")?[Ei,r]:r.includes("Error")?[ud,r]:[Kl,r]},$l=([n,l])=>n===no&&(l==="function"||l==="symbol"),Dk=(n,l,r,o)=>{const a=(s,d)=>{const h=o.push(s)-1;return r.set(d,h),h},c=s=>{if(r.has(s))return r.get(s);let[d,h]=wi(s);switch(d){case no:{let y=s;switch(h){case"bigint":d=ad,y=s.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+h);y=null;break;case"undefined":return a([od],s)}return a([d,y],s)}case Ei:{if(h){let v=s;return h==="DataView"?v=new Uint8Array(s.buffer):h==="ArrayBuffer"&&(v=new Uint8Array(s)),a([h,[...v]],s)}const y=[],g=a([d,y],s);for(const v of s)y.push(c(v));return g}case Kl:{if(h)switch(h){case"BigInt":return a([h,s.toString()],s);case"Boolean":case"Number":case"String":return a([h,s.valueOf()],s)}if(l&&"toJSON"in s)return c(s.toJSON());const y=[],g=a([d,y],s);for(const v of Lk(s))(n||!$l(wi(s[v])))&&y.push([c(v),c(s[v])]);return g}case Aa:return a([d,s.toISOString()],s);case ba:{const{source:y,flags:g}=s;return a([d,{source:y,flags:g}],s)}case Ma:{const y=[],g=a([d,y],s);for(const[v,x]of s)(n||!($l(wi(v))||$l(wi(x))))&&y.push([c(v),c(x)]);return g}case ja:{const y=[],g=a([d,y],s);for(const v of s)(n||!$l(wi(v)))&&y.push(c(v));return g}}const{message:m}=s;return a([d,{name:h,message:m}],s)};return c},cp=(n,{json:l,lossy:r}={})=>{const o=[];return Dk(!(l||r),!!l,new Map,o)(n),o},Gl=typeof structuredClone=="function"?(n,l)=>l&&("json"in l||"lossy"in l)?sp(cp(n,l)):structuredClone(n):(n,l)=>sp(cp(n,l));function Rk(n,l){const r=[{type:"text",value:"↩"}];return l>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(l)}]}),r}function Ak(n,l){return"Back to reference "+(n+1)+(l>1?"-"+l:"")}function bk(n){const l=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",r=n.options.footnoteBackContent||Rk,o=n.options.footnoteBackLabel||Ak,a=n.options.footnoteLabel||"Footnotes",c=n.options.footnoteLabelTagName||"h2",s=n.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let h=-1;for(;++h<n.footnoteOrder.length;){const m=n.footnoteById.get(n.footnoteOrder[h]);if(!m)continue;const y=n.all(m),g=String(m.identifier).toUpperCase(),v=zr(g.toLowerCase());let x=0;const _=[],b=n.footnoteCounts.get(g);for(;b!==void 0&&++x<=b;){_.length>0&&_.push({type:"text",value:" "});let F=typeof r=="string"?r:r(h,x);typeof F=="string"&&(F={type:"text",value:F}),_.push({type:"element",tagName:"a",properties:{href:"#"+l+"fnref-"+v+(x>1?"-"+x:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(h,x),className:["data-footnote-backref"]},children:Array.isArray(F)?F:[F]})}const D=y[y.length-1];if(D&&D.type==="element"&&D.tagName==="p"){const F=D.children[D.children.length-1];F&&F.type==="text"?F.value+=" ":D.children.push({type:"text",value:" "}),D.children.push(..._)}else y.push(..._);const I={type:"element",tagName:"li",properties:{id:l+"fn-"+v},children:n.wrap(y,!0)};n.patch(m,I),d.push(I)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:c,properties:{...Gl(s),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
158
- `},{type:"element",tagName:"ol",properties:{},children:n.wrap(d,!0)},{type:"text",value:`
159
- `}]}}const ro=(function(n){if(n==null)return Ok;if(typeof n=="function")return io(n);if(typeof n=="object")return Array.isArray(n)?Mk(n):jk(n);if(typeof n=="string")return Fk(n);throw new Error("Expected function, string, or object as test")});function Mk(n){const l=[];let r=-1;for(;++r<n.length;)l[r]=ro(n[r]);return io(o);function o(...a){let c=-1;for(;++c<l.length;)if(l[c].apply(this,a))return!0;return!1}}function jk(n){const l=n;return io(r);function r(o){const a=o;let c;for(c in n)if(a[c]!==l[c])return!1;return!0}}function Fk(n){return io(l);function l(r){return r&&r.type===n}}function io(n){return l;function l(r,o,a){return!!(Bk(r)&&n.call(this,r,typeof o=="number"?o:void 0,a||void 0))}}function Ok(){return!0}function Bk(n){return n!==null&&typeof n=="object"&&"type"in n}const sd=[],Uk=!0,xa=!1,Hk="skip";function cd(n,l,r,o){let a;typeof l=="function"&&typeof r!="function"?(o=r,r=l):a=l;const c=ro(a),s=o?-1:1;d(n,void 0,[])();function d(h,m,y){const g=h&&typeof h=="object"?h:{};if(typeof g.type=="string"){const x=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(h.type+(x?"<"+x+">":""))+")"})}return v;function v(){let x=sd,_,b,D;if((!l||c(h,m,y[y.length-1]||void 0))&&(x=Vk(r(h,y)),x[0]===xa))return x;if("children"in h&&h.children){const I=h;if(I.children&&x[0]!==Hk)for(b=(o?I.children.length:-1)+s,D=y.concat(I);b>-1&&b<I.children.length;){const F=I.children[b];if(_=d(F,b,D)(),_[0]===xa)return _;b=typeof _[1]=="number"?_[1]:b+s}}return x}}}function Vk(n){return Array.isArray(n)?n:typeof n=="number"?[Uk,n]:n==null?sd:[n]}function Fa(n,l,r,o){let a,c,s;typeof l=="function"&&typeof r!="function"?(c=void 0,s=l,a=r):(c=l,s=r,a=o),cd(n,c,d,a);function d(h,m){const y=m[m.length-1],g=y?y.children.indexOf(h):void 0;return s(h,g,y)}}const va={}.hasOwnProperty,$k={};function Wk(n,l){const r=l||$k,o=new Map,a=new Map,c=new Map,s={...Nk,...r.handlers},d={all:m,applyData:qk,definitionById:o,footnoteById:a,footnoteCounts:c,footnoteOrder:[],handlers:s,one:h,options:r,patch:Qk,wrap:Xk};return Fa(n,function(y){if(y.type==="definition"||y.type==="footnoteDefinition"){const g=y.type==="definition"?o:a,v=String(y.identifier).toUpperCase();g.has(v)||g.set(v,y)}}),d;function h(y,g){const v=y.type,x=d.handlers[v];if(va.call(d.handlers,v)&&x)return x(d,y,g);if(d.options.passThrough&&d.options.passThrough.includes(v)){if("children"in y){const{children:b,...D}=y,I=Gl(D);return I.children=d.all(y),I}return Gl(y)}return(d.options.unknownHandler||Yk)(d,y,g)}function m(y){const g=[];if("children"in y){const v=y.children;let x=-1;for(;++x<v.length;){const _=d.one(v[x],y);if(_){if(x&&v[x-1].type==="break"&&(!Array.isArray(_)&&_.type==="text"&&(_.value=fp(_.value)),!Array.isArray(_)&&_.type==="element")){const b=_.children[0];b&&b.type==="text"&&(b.value=fp(b.value))}Array.isArray(_)?g.push(..._):g.push(_)}}}return g}}function Qk(n,l){n.position&&(l.position=Ag(n))}function qk(n,l){let r=l;if(n&&n.data){const o=n.data.hName,a=n.data.hChildren,c=n.data.hProperties;if(typeof o=="string")if(r.type==="element")r.tagName=o;else{const s="children"in r?r.children:[r];r={type:"element",tagName:o,properties:{},children:s}}r.type==="element"&&c&&Object.assign(r.properties,Gl(c)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function Yk(n,l){const r=l.data||{},o="value"in l&&!(va.call(r,"hProperties")||va.call(r,"hChildren"))?{type:"text",value:l.value}:{type:"element",tagName:"div",properties:{},children:n.all(l)};return n.patch(l,o),n.applyData(l,o)}function Xk(n,l){const r=[];let o=-1;for(l&&r.push({type:"text",value:`
160
- `});++o<n.length;)o&&r.push({type:"text",value:`
161
- `}),r.push(n[o]);return l&&n.length>0&&r.push({type:"text",value:`
162
- `}),r}function fp(n){let l=0,r=n.charCodeAt(l);for(;r===9||r===32;)l++,r=n.charCodeAt(l);return n.slice(l)}function pp(n,l){const r=Wk(n,l),o=r.one(n,void 0),a=bk(r),c=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return a&&c.children.push({type:"text",value:`
163
- `},a),c}function Kk(n,l){return n&&"run"in n?async function(r,o){const a=pp(r,{file:o,...l});await n.run(a,o)}:function(r,o){return pp(r,{file:o,...n||l})}}function dp(n){if(n)throw n}var ta,hp;function Gk(){if(hp)return ta;hp=1;var n=Object.prototype.hasOwnProperty,l=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(m){return typeof Array.isArray=="function"?Array.isArray(m):l.call(m)==="[object Array]"},c=function(m){if(!m||l.call(m)!=="[object Object]")return!1;var y=n.call(m,"constructor"),g=m.constructor&&m.constructor.prototype&&n.call(m.constructor.prototype,"isPrototypeOf");if(m.constructor&&!y&&!g)return!1;var v;for(v in m);return typeof v>"u"||n.call(m,v)},s=function(m,y){r&&y.name==="__proto__"?r(m,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):m[y.name]=y.newValue},d=function(m,y){if(y==="__proto__")if(n.call(m,y)){if(o)return o(m,y).value}else return;return m[y]};return ta=function h(){var m,y,g,v,x,_,b=arguments[0],D=1,I=arguments.length,F=!1;for(typeof b=="boolean"&&(F=b,b=arguments[1]||{},D=2),(b==null||typeof b!="object"&&typeof b!="function")&&(b={});D<I;++D)if(m=arguments[D],m!=null)for(y in m)g=d(b,y),v=d(m,y),b!==v&&(F&&v&&(c(v)||(x=a(v)))?(x?(x=!1,_=g&&a(g)?g:[]):_=g&&c(g)?g:{},s(b,{name:y,newValue:h(F,_,v)})):typeof v<"u"&&s(b,{name:y,newValue:v}));return b},ta}var Jk=Gk();const na=Zl(Jk);function wa(n){if(typeof n!="object"||n===null)return!1;const l=Object.getPrototypeOf(n);return(l===null||l===Object.prototype||Object.getPrototypeOf(l)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)}function Zk(){const n=[],l={run:r,use:o};return l;function r(...a){let c=-1;const s=a.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);d(null,...a);function d(h,...m){const y=n[++c];let g=-1;if(h){s(h);return}for(;++g<a.length;)(m[g]===null||m[g]===void 0)&&(m[g]=a[g]);a=m,y?ex(y,d)(...m):s(null,...m)}}function o(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return n.push(a),l}}function ex(n,l){let r;return o;function o(...s){const d=n.length>s.length;let h;d&&s.push(a);try{h=n.apply(this,s)}catch(m){const y=m;if(d&&r)throw y;return a(y)}d||(h&&h.then&&typeof h.then=="function"?h.then(c,a):h instanceof Error?a(h):c(h))}function a(s,...d){r||(r=!0,l(s,...d))}function c(s){a(null,s)}}const Xt={basename:tx,dirname:nx,extname:rx,join:ix,sep:"/"};function tx(n,l){if(l!==void 0&&typeof l!="string")throw new TypeError('"ext" argument must be a string');Ii(n);let r=0,o=-1,a=n.length,c;if(l===void 0||l.length===0||l.length>n.length){for(;a--;)if(n.codePointAt(a)===47){if(c){r=a+1;break}}else o<0&&(c=!0,o=a+1);return o<0?"":n.slice(r,o)}if(l===n)return"";let s=-1,d=l.length-1;for(;a--;)if(n.codePointAt(a)===47){if(c){r=a+1;break}}else s<0&&(c=!0,s=a+1),d>-1&&(n.codePointAt(a)===l.codePointAt(d--)?d<0&&(o=a):(d=-1,o=s));return r===o?o=s:o<0&&(o=n.length),n.slice(r,o)}function nx(n){if(Ii(n),n.length===0)return".";let l=-1,r=n.length,o;for(;--r;)if(n.codePointAt(r)===47){if(o){l=r;break}}else o||(o=!0);return l<0?n.codePointAt(0)===47?"/":".":l===1&&n.codePointAt(0)===47?"//":n.slice(0,l)}function rx(n){Ii(n);let l=n.length,r=-1,o=0,a=-1,c=0,s;for(;l--;){const d=n.codePointAt(l);if(d===47){if(s){o=l+1;break}continue}r<0&&(s=!0,r=l+1),d===46?a<0?a=l:c!==1&&(c=1):a>-1&&(c=-1)}return a<0||r<0||c===0||c===1&&a===r-1&&a===o+1?"":n.slice(a,r)}function ix(...n){let l=-1,r;for(;++l<n.length;)Ii(n[l]),n[l]&&(r=r===void 0?n[l]:r+"/"+n[l]);return r===void 0?".":lx(r)}function lx(n){Ii(n);const l=n.codePointAt(0)===47;let r=ox(n,!l);return r.length===0&&!l&&(r="."),r.length>0&&n.codePointAt(n.length-1)===47&&(r+="/"),l?"/"+r:r}function ox(n,l){let r="",o=0,a=-1,c=0,s=-1,d,h;for(;++s<=n.length;){if(s<n.length)d=n.codePointAt(s);else{if(d===47)break;d=47}if(d===47){if(!(a===s-1||c===1))if(a!==s-1&&c===2){if(r.length<2||o!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(h=r.lastIndexOf("/"),h!==r.length-1){h<0?(r="",o=0):(r=r.slice(0,h),o=r.length-1-r.lastIndexOf("/")),a=s,c=0;continue}}else if(r.length>0){r="",o=0,a=s,c=0;continue}}l&&(r=r.length>0?r+"/..":"..",o=2)}else r.length>0?r+="/"+n.slice(a+1,s):r=n.slice(a+1,s),o=s-a-1;a=s,c=0}else d===46&&c>-1?c++:c=-1}return r}function Ii(n){if(typeof n!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(n))}const ux={cwd:ax};function ax(){return"/"}function Sa(n){return!!(n!==null&&typeof n=="object"&&"href"in n&&n.href&&"protocol"in n&&n.protocol&&n.auth===void 0)}function sx(n){if(typeof n=="string")n=new URL(n);else if(!Sa(n)){const l=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+n+"`");throw l.code="ERR_INVALID_ARG_TYPE",l}if(n.protocol!=="file:"){const l=new TypeError("The URL must be of scheme file");throw l.code="ERR_INVALID_URL_SCHEME",l}return cx(n)}function cx(n){if(n.hostname!==""){const o=new TypeError('File URL host must be "localhost" or empty on darwin');throw o.code="ERR_INVALID_FILE_URL_HOST",o}const l=n.pathname;let r=-1;for(;++r<l.length;)if(l.codePointAt(r)===37&&l.codePointAt(r+1)===50){const o=l.codePointAt(r+2);if(o===70||o===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(l)}const ra=["history","path","basename","stem","extname","dirname"];class fd{constructor(l){let r;l?Sa(l)?r={path:l}:typeof l=="string"||fx(l)?r={value:l}:r=l:r={},this.cwd="cwd"in r?"":ux.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let o=-1;for(;++o<ra.length;){const c=ra[o];c in r&&r[c]!==void 0&&r[c]!==null&&(this[c]=c==="history"?[...r[c]]:r[c])}let a;for(a in r)ra.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?Xt.basename(this.path):void 0}set basename(l){la(l,"basename"),ia(l,"basename"),this.path=Xt.join(this.dirname||"",l)}get dirname(){return typeof this.path=="string"?Xt.dirname(this.path):void 0}set dirname(l){mp(this.basename,"dirname"),this.path=Xt.join(l||"",this.basename)}get extname(){return typeof this.path=="string"?Xt.extname(this.path):void 0}set extname(l){if(ia(l,"extname"),mp(this.dirname,"extname"),l){if(l.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(l.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Xt.join(this.dirname,this.stem+(l||""))}get path(){return this.history[this.history.length-1]}set path(l){Sa(l)&&(l=sx(l)),la(l,"path"),this.path!==l&&this.history.push(l)}get stem(){return typeof this.path=="string"?Xt.basename(this.path,this.extname):void 0}set stem(l){la(l,"stem"),ia(l,"stem"),this.path=Xt.join(this.dirname||"",l+(this.extname||""))}fail(l,r,o){const a=this.message(l,r,o);throw a.fatal=!0,a}info(l,r,o){const a=this.message(l,r,o);return a.fatal=void 0,a}message(l,r,o){const a=new at(l,r,o);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(l){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(l||void 0).decode(this.value)}}function ia(n,l){if(n&&n.includes(Xt.sep))throw new Error("`"+l+"` cannot be a path: did not expect `"+Xt.sep+"`")}function la(n,l){if(!n)throw new Error("`"+l+"` cannot be empty")}function mp(n,l){if(!n)throw new Error("Setting `"+l+"` requires `path` to be set too")}function fx(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const px=(function(n){const o=this.constructor.prototype,a=o[n],c=function(){return a.apply(c,arguments)};return Object.setPrototypeOf(c,o),c}),dx={}.hasOwnProperty;class Oa extends px{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Zk()}copy(){const l=new Oa;let r=-1;for(;++r<this.attachers.length;){const o=this.attachers[r];l.use(...o)}return l.data(na(!0,{},this.namespace)),l}data(l,r){return typeof l=="string"?arguments.length===2?(aa("data",this.frozen),this.namespace[l]=r,this):dx.call(this.namespace,l)&&this.namespace[l]||void 0:l?(aa("data",this.frozen),this.namespace=l,this):this.namespace}freeze(){if(this.frozen)return this;const l=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...o]=this.attachers[this.freezeIndex];if(o[0]===!1)continue;o[0]===!0&&(o[0]=void 0);const a=r.call(l,...o);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(l){this.freeze();const r=Wl(l),o=this.parser||this.Parser;return oa("parse",o),o(String(r),r)}process(l,r){const o=this;return this.freeze(),oa("process",this.parser||this.Parser),ua("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(c,s){const d=Wl(l),h=o.parse(d);o.run(h,d,function(y,g,v){if(y||!g||!v)return m(y);const x=g,_=o.stringify(x,v);gx(_)?v.value=_:v.result=_,m(y,v)});function m(y,g){y||!g?s(y):c?c(g):r(void 0,g)}}}processSync(l){let r=!1,o;return this.freeze(),oa("processSync",this.parser||this.Parser),ua("processSync",this.compiler||this.Compiler),this.process(l,a),yp("processSync","process",r),o;function a(c,s){r=!0,dp(c),o=s}}run(l,r,o){gp(l),this.freeze();const a=this.transformers;return!o&&typeof r=="function"&&(o=r,r=void 0),o?c(void 0,o):new Promise(c);function c(s,d){const h=Wl(r);a.run(l,h,m);function m(y,g,v){const x=g||l;y?d(y):s?s(x):o(void 0,x,v)}}}runSync(l,r){let o=!1,a;return this.run(l,r,c),yp("runSync","run",o),a;function c(s,d){dp(s),a=d,o=!0}}stringify(l,r){this.freeze();const o=Wl(r),a=this.compiler||this.Compiler;return ua("stringify",a),gp(l),a(l,o)}use(l,...r){const o=this.attachers,a=this.namespace;if(aa("use",this.frozen),l!=null)if(typeof l=="function")h(l,r);else if(typeof l=="object")Array.isArray(l)?d(l):s(l);else throw new TypeError("Expected usable value, not `"+l+"`");return this;function c(m){if(typeof m=="function")h(m,[]);else if(typeof m=="object")if(Array.isArray(m)){const[y,...g]=m;h(y,g)}else s(m);else throw new TypeError("Expected usable value, not `"+m+"`")}function s(m){if(!("plugins"in m)&&!("settings"in m))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(m.plugins),m.settings&&(a.settings=na(!0,a.settings,m.settings))}function d(m){let y=-1;if(m!=null)if(Array.isArray(m))for(;++y<m.length;){const g=m[y];c(g)}else throw new TypeError("Expected a list of plugins, not `"+m+"`")}function h(m,y){let g=-1,v=-1;for(;++g<o.length;)if(o[g][0]===m){v=g;break}if(v===-1)o.push([m,...y]);else if(y.length>0){let[x,..._]=y;const b=o[v][1];wa(b)&&wa(x)&&(x=na(!0,b,x)),o[v]=[m,x,..._]}}}}const hx=new Oa().freeze();function oa(n,l){if(typeof l!="function")throw new TypeError("Cannot `"+n+"` without `parser`")}function ua(n,l){if(typeof l!="function")throw new TypeError("Cannot `"+n+"` without `compiler`")}function aa(n,l){if(l)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function gp(n){if(!wa(n)||typeof n.type!="string")throw new TypeError("Expected node, got `"+n+"`")}function yp(n,l,r){if(!r)throw new Error("`"+n+"` finished async. Use `"+l+"` instead")}function Wl(n){return mx(n)?n:new fd(n)}function mx(n){return!!(n&&typeof n=="object"&&"message"in n&&"messages"in n)}function gx(n){return typeof n=="string"||yx(n)}function yx(n){return!!(n&&typeof n=="object"&&"byteLength"in n&&"byteOffset"in n)}const kx="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",kp=[],xp={allowDangerousHtml:!0},xx=/^(https?|ircs?|mailto|xmpp)$/i,vx=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function wx(n){const l=Sx(n),r=Cx(n);return Ex(l.runSync(l.parse(r),r),n)}function Sx(n){const l=n.rehypePlugins||kp,r=n.remarkPlugins||kp,o=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...xp}:xp;return hx().use(nk).use(r).use(Kk,o).use(l)}function Cx(n){const l=n.children||"",r=new fd;return typeof l=="string"&&(r.value=l),r}function Ex(n,l){const r=l.allowedElements,o=l.allowElement,a=l.components,c=l.disallowedElements,s=l.skipHtml,d=l.unwrapDisallowed,h=l.urlTransform||Tx;for(const y of vx)Object.hasOwn(l,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+kx+y.id,void 0);return l.className&&(n={type:"element",tagName:"div",properties:{className:l.className},children:n.type==="root"?n.children:[n]}),Fa(n,m),Og(n,{Fragment:A.Fragment,components:a,ignoreInvalidStyle:!0,jsx:A.jsx,jsxs:A.jsxs,passKeys:!0,passNode:!0});function m(y,g,v){if(y.type==="raw"&&v&&typeof g=="number")return s?v.children.splice(g,1):v.children[g]={type:"text",value:y.value},g;if(y.type==="element"){let x;for(x in Ju)if(Object.hasOwn(Ju,x)&&Object.hasOwn(y.properties,x)){const _=y.properties[x],b=Ju[x];(b===null||b.includes(y.tagName))&&(y.properties[x]=h(String(_||""),x,y))}}if(y.type==="element"){let x=r?!r.includes(y.tagName):c?c.includes(y.tagName):!1;if(!x&&o&&typeof g=="number"&&(x=!o(y,g,v)),x&&v&&typeof g=="number")return d&&y.children?v.children.splice(g,1,...y.children):v.children.splice(g,1),g}}}function Tx(n){const l=n.indexOf(":"),r=n.indexOf("?"),o=n.indexOf("#"),a=n.indexOf("/");return l===-1||a!==-1&&l>a||r!==-1&&l>r||o!==-1&&l>o||xx.test(n.slice(0,l))?n:""}function vp(n,l){const r=String(n);if(typeof l!="string")throw new TypeError("Expected character");let o=0,a=r.indexOf(l);for(;a!==-1;)o++,a=r.indexOf(l,a+l.length);return o}function _x(n){if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Px(n,l,r){const a=ro((r||{}).ignore||[]),c=Nx(l);let s=-1;for(;++s<c.length;)cd(n,"text",d);function d(m,y){let g=-1,v;for(;++g<y.length;){const x=y[g],_=v?v.children:void 0;if(a(x,_?_.indexOf(x):void 0,v))return;v=x}if(v)return h(m,y)}function h(m,y){const g=y[y.length-1],v=c[s][0],x=c[s][1];let _=0;const D=g.children.indexOf(m);let I=!1,F=[];v.lastIndex=0;let O=v.exec(m.value);for(;O;){const te=O.index,le={index:O.index,input:O.input,stack:[...y,m]};let M=x(...O,le);if(typeof M=="string"&&(M=M.length>0?{type:"text",value:M}:void 0),M===!1?v.lastIndex=te+1:(_!==te&&F.push({type:"text",value:m.value.slice(_,te)}),Array.isArray(M)?F.push(...M):M&&F.push(M),_=te+O[0].length,I=!0),!v.global)break;O=v.exec(m.value)}return I?(_<m.value.length&&F.push({type:"text",value:m.value.slice(_)}),g.children.splice(D,1,...F)):F=[m],D+F.length}}function Nx(n){const l=[];if(!Array.isArray(n))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!n[0]||Array.isArray(n[0])?n:[n];let o=-1;for(;++o<r.length;){const a=r[o];l.push([Ix(a[0]),zx(a[1])])}return l}function Ix(n){return typeof n=="string"?new RegExp(_x(n),"g"):n}function zx(n){return typeof n=="function"?n:function(){return n}}const sa="phrasing",ca=["autolink","link","image","label"];function Lx(){return{transforms:[Fx],enter:{literalAutolink:Rx,literalAutolinkEmail:fa,literalAutolinkHttp:fa,literalAutolinkWww:fa},exit:{literalAutolink:jx,literalAutolinkEmail:Mx,literalAutolinkHttp:Ax,literalAutolinkWww:bx}}}function Dx(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:sa,notInConstruct:ca},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:sa,notInConstruct:ca},{character:":",before:"[ps]",after:"\\/",inConstruct:sa,notInConstruct:ca}]}}function Rx(n){this.enter({type:"link",title:null,url:"",children:[]},n)}function fa(n){this.config.enter.autolinkProtocol.call(this,n)}function Ax(n){this.config.exit.autolinkProtocol.call(this,n)}function bx(n){this.config.exit.data.call(this,n);const l=this.stack[this.stack.length-1];l.type,l.url="http://"+this.sliceSerialize(n)}function Mx(n){this.config.exit.autolinkEmail.call(this,n)}function jx(n){this.exit(n)}function Fx(n){Px(n,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Ox],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),Bx]],{ignore:["link","linkReference"]})}function Ox(n,l,r,o,a){let c="";if(!pd(a)||(/^w/i.test(l)&&(r=l+r,l="",c="http://"),!Ux(r)))return!1;const s=Hx(r+o);if(!s[0])return!1;const d={type:"link",title:null,url:c+l+s[0],children:[{type:"text",value:l+s[0]}]};return s[1]?[d,{type:"text",value:s[1]}]:d}function Bx(n,l,r,o){return!pd(o,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+l+"@"+r,children:[{type:"text",value:l+"@"+r}]}}function Ux(n){const l=n.split(".");return!(l.length<2||l[l.length-1]&&(/_/.test(l[l.length-1])||!/[a-zA-Z\d]/.test(l[l.length-1]))||l[l.length-2]&&(/_/.test(l[l.length-2])||!/[a-zA-Z\d]/.test(l[l.length-2])))}function Hx(n){const l=/[!"&'),.:;<>?\]}]+$/.exec(n);if(!l)return[n,void 0];n=n.slice(0,l.index);let r=l[0],o=r.indexOf(")");const a=vp(n,"(");let c=vp(n,")");for(;o!==-1&&a>c;)n+=r.slice(0,o+1),r=r.slice(o+1),o=r.indexOf(")"),c++;return[n,r]}function pd(n,l){const r=n.input.charCodeAt(n.index-1);return(n.index===0||Xn(r)||eo(r))&&(!l||r!==47)}dd.peek=Gx;function Vx(){this.buffer()}function $x(n){this.enter({type:"footnoteReference",identifier:"",label:""},n)}function Wx(){this.buffer()}function Qx(n){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},n)}function qx(n){const l=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Ht(this.sliceSerialize(n)).toLowerCase(),r.label=l}function Yx(n){this.exit(n)}function Xx(n){const l=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Ht(this.sliceSerialize(n)).toLowerCase(),r.label=l}function Kx(n){this.exit(n)}function Gx(){return"["}function dd(n,l,r,o){const a=r.createTracker(o);let c=a.move("[^");const s=r.enter("footnoteReference"),d=r.enter("reference");return c+=a.move(r.safe(r.associationId(n),{after:"]",before:c})),d(),s(),c+=a.move("]"),c}function Jx(){return{enter:{gfmFootnoteCallString:Vx,gfmFootnoteCall:$x,gfmFootnoteDefinitionLabelString:Wx,gfmFootnoteDefinition:Qx},exit:{gfmFootnoteCallString:qx,gfmFootnoteCall:Yx,gfmFootnoteDefinitionLabelString:Xx,gfmFootnoteDefinition:Kx}}}function Zx(n){let l=!1;return n&&n.firstLineBlank&&(l=!0),{handlers:{footnoteDefinition:r,footnoteReference:dd},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(o,a,c,s){const d=c.createTracker(s);let h=d.move("[^");const m=c.enter("footnoteDefinition"),y=c.enter("label");return h+=d.move(c.safe(c.associationId(o),{before:h,after:"]"})),y(),h+=d.move("]:"),o.children&&o.children.length>0&&(d.shift(4),h+=d.move((l?`
164
- `:" ")+c.indentLines(c.containerFlow(o,d.current()),l?hd:e0))),m(),h}}function e0(n,l,r){return l===0?n:hd(n,l,r)}function hd(n,l,r){return(r?"":" ")+n}const t0=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];md.peek=o0;function n0(){return{canContainEols:["delete"],enter:{strikethrough:i0},exit:{strikethrough:l0}}}function r0(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:t0}],handlers:{delete:md}}}function i0(n){this.enter({type:"delete",children:[]},n)}function l0(n){this.exit(n)}function md(n,l,r,o){const a=r.createTracker(o),c=r.enter("strikethrough");let s=a.move("~~");return s+=r.containerPhrasing(n,{...a.current(),before:s,after:"~"}),s+=a.move("~~"),c(),s}function o0(){return"~"}function u0(n){return n.length}function a0(n,l){const r=l||{},o=(r.align||[]).concat(),a=r.stringLength||u0,c=[],s=[],d=[],h=[];let m=0,y=-1;for(;++y<n.length;){const b=[],D=[];let I=-1;for(n[y].length>m&&(m=n[y].length);++I<n[y].length;){const F=s0(n[y][I]);if(r.alignDelimiters!==!1){const O=a(F);D[I]=O,(h[I]===void 0||O>h[I])&&(h[I]=O)}b.push(F)}s[y]=b,d[y]=D}let g=-1;if(typeof o=="object"&&"length"in o)for(;++g<m;)c[g]=wp(o[g]);else{const b=wp(o);for(;++g<m;)c[g]=b}g=-1;const v=[],x=[];for(;++g<m;){const b=c[g];let D="",I="";b===99?(D=":",I=":"):b===108?D=":":b===114&&(I=":");let F=r.alignDelimiters===!1?1:Math.max(1,h[g]-D.length-I.length);const O=D+"-".repeat(F)+I;r.alignDelimiters!==!1&&(F=D.length+F+I.length,F>h[g]&&(h[g]=F),x[g]=F),v[g]=O}s.splice(1,0,v),d.splice(1,0,x),y=-1;const _=[];for(;++y<s.length;){const b=s[y],D=d[y];g=-1;const I=[];for(;++g<m;){const F=b[g]||"";let O="",te="";if(r.alignDelimiters!==!1){const le=h[g]-(D[g]||0),M=c[g];M===114?O=" ".repeat(le):M===99?le%2?(O=" ".repeat(le/2+.5),te=" ".repeat(le/2-.5)):(O=" ".repeat(le/2),te=O):te=" ".repeat(le)}r.delimiterStart!==!1&&!g&&I.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&F==="")&&(r.delimiterStart!==!1||g)&&I.push(" "),r.alignDelimiters!==!1&&I.push(O),I.push(F),r.alignDelimiters!==!1&&I.push(te),r.padding!==!1&&I.push(" "),(r.delimiterEnd!==!1||g!==m-1)&&I.push("|")}_.push(r.delimiterEnd===!1?I.join("").replace(/ +$/,""):I.join(""))}return _.join(`
165
- `)}function s0(n){return n==null?"":String(n)}function wp(n){const l=typeof n=="string"?n.codePointAt(0):0;return l===67||l===99?99:l===76||l===108?108:l===82||l===114?114:0}function c0(n,l,r,o){const a=r.enter("blockquote"),c=r.createTracker(o);c.move("> "),c.shift(2);const s=r.indentLines(r.containerFlow(n,c.current()),f0);return a(),s}function f0(n,l,r){return">"+(r?"":" ")+n}function p0(n,l){return Sp(n,l.inConstruct,!0)&&!Sp(n,l.notInConstruct,!1)}function Sp(n,l,r){if(typeof l=="string"&&(l=[l]),!l||l.length===0)return r;let o=-1;for(;++o<l.length;)if(n.includes(l[o]))return!0;return!1}function Cp(n,l,r,o){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
166
- `&&p0(r.stack,r.unsafe[a]))return/[ \t]/.test(o.before)?"":" ";return`\\
167
- `}function d0(n,l){const r=String(n);let o=r.indexOf(l),a=o,c=0,s=0;if(typeof l!="string")throw new TypeError("Expected substring");for(;o!==-1;)o===a?++c>s&&(s=c):c=1,a=o+l.length,o=r.indexOf(l,a);return s}function h0(n,l){return!!(l.options.fences===!1&&n.value&&!n.lang&&/[^ \r\n]/.test(n.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(n.value))}function m0(n){const l=n.options.fence||"`";if(l!=="`"&&l!=="~")throw new Error("Cannot serialize code with `"+l+"` for `options.fence`, expected `` ` `` or `~`");return l}function g0(n,l,r,o){const a=m0(r),c=n.value||"",s=a==="`"?"GraveAccent":"Tilde";if(h0(n,r)){const g=r.enter("codeIndented"),v=r.indentLines(c,y0);return g(),v}const d=r.createTracker(o),h=a.repeat(Math.max(d0(c,a)+1,3)),m=r.enter("codeFenced");let y=d.move(h);if(n.lang){const g=r.enter(`codeFencedLang${s}`);y+=d.move(r.safe(n.lang,{before:y,after:" ",encode:["`"],...d.current()})),g()}if(n.lang&&n.meta){const g=r.enter(`codeFencedMeta${s}`);y+=d.move(" "),y+=d.move(r.safe(n.meta,{before:y,after:`
168
- `,encode:["`"],...d.current()})),g()}return y+=d.move(`
169
- `),c&&(y+=d.move(c+`
170
- `)),y+=d.move(h),m(),y}function y0(n,l,r){return(r?"":" ")+n}function Ba(n){const l=n.options.quote||'"';if(l!=='"'&&l!=="'")throw new Error("Cannot serialize title with `"+l+"` for `options.quote`, expected `\"`, or `'`");return l}function k0(n,l,r,o){const a=Ba(r),c=a==='"'?"Quote":"Apostrophe",s=r.enter("definition");let d=r.enter("label");const h=r.createTracker(o);let m=h.move("[");return m+=h.move(r.safe(r.associationId(n),{before:m,after:"]",...h.current()})),m+=h.move("]: "),d(),!n.url||/[\0- \u007F]/.test(n.url)?(d=r.enter("destinationLiteral"),m+=h.move("<"),m+=h.move(r.safe(n.url,{before:m,after:">",...h.current()})),m+=h.move(">")):(d=r.enter("destinationRaw"),m+=h.move(r.safe(n.url,{before:m,after:n.title?" ":`
171
- `,...h.current()}))),d(),n.title&&(d=r.enter(`title${c}`),m+=h.move(" "+a),m+=h.move(r.safe(n.title,{before:m,after:a,...h.current()})),m+=h.move(a),d()),s(),m}function x0(n){const l=n.options.emphasis||"*";if(l!=="*"&&l!=="_")throw new Error("Cannot serialize emphasis with `"+l+"` for `options.emphasis`, expected `*`, or `_`");return l}function _i(n){return"&#x"+n.toString(16).toUpperCase()+";"}function Jl(n,l,r){const o=Nr(n),a=Nr(l);return o===void 0?a===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:o===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}gd.peek=v0;function gd(n,l,r,o){const a=x0(r),c=r.enter("emphasis"),s=r.createTracker(o),d=s.move(a);let h=s.move(r.containerPhrasing(n,{after:a,before:d,...s.current()}));const m=h.charCodeAt(0),y=Jl(o.before.charCodeAt(o.before.length-1),m,a);y.inside&&(h=_i(m)+h.slice(1));const g=h.charCodeAt(h.length-1),v=Jl(o.after.charCodeAt(0),g,a);v.inside&&(h=h.slice(0,-1)+_i(g));const x=s.move(a);return c(),r.attentionEncodeSurroundingInfo={after:v.outside,before:y.outside},d+h+x}function v0(n,l,r){return r.options.emphasis||"*"}function w0(n,l){let r=!1;return Fa(n,function(o){if("value"in o&&/\r?\n|\r/.test(o.value)||o.type==="break")return r=!0,xa}),!!((!n.depth||n.depth<3)&&La(n)&&(l.options.setext||r))}function S0(n,l,r,o){const a=Math.max(Math.min(6,n.depth||1),1),c=r.createTracker(o);if(w0(n,r)){const y=r.enter("headingSetext"),g=r.enter("phrasing"),v=r.containerPhrasing(n,{...c.current(),before:`
172
- `,after:`
173
- `});return g(),y(),v+`
174
- `+(a===1?"=":"-").repeat(v.length-(Math.max(v.lastIndexOf("\r"),v.lastIndexOf(`
175
- `))+1))}const s="#".repeat(a),d=r.enter("headingAtx"),h=r.enter("phrasing");c.move(s+" ");let m=r.containerPhrasing(n,{before:"# ",after:`
176
- `,...c.current()});return/^[\t ]/.test(m)&&(m=_i(m.charCodeAt(0))+m.slice(1)),m=m?s+" "+m:s,r.options.closeAtx&&(m+=" "+s),h(),d(),m}yd.peek=C0;function yd(n){return n.value||""}function C0(){return"<"}kd.peek=E0;function kd(n,l,r,o){const a=Ba(r),c=a==='"'?"Quote":"Apostrophe",s=r.enter("image");let d=r.enter("label");const h=r.createTracker(o);let m=h.move("![");return m+=h.move(r.safe(n.alt,{before:m,after:"]",...h.current()})),m+=h.move("]("),d(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(d=r.enter("destinationLiteral"),m+=h.move("<"),m+=h.move(r.safe(n.url,{before:m,after:">",...h.current()})),m+=h.move(">")):(d=r.enter("destinationRaw"),m+=h.move(r.safe(n.url,{before:m,after:n.title?" ":")",...h.current()}))),d(),n.title&&(d=r.enter(`title${c}`),m+=h.move(" "+a),m+=h.move(r.safe(n.title,{before:m,after:a,...h.current()})),m+=h.move(a),d()),m+=h.move(")"),s(),m}function E0(){return"!"}xd.peek=T0;function xd(n,l,r,o){const a=n.referenceType,c=r.enter("imageReference");let s=r.enter("label");const d=r.createTracker(o);let h=d.move("![");const m=r.safe(n.alt,{before:h,after:"]",...d.current()});h+=d.move(m+"]["),s();const y=r.stack;r.stack=[],s=r.enter("reference");const g=r.safe(r.associationId(n),{before:h,after:"]",...d.current()});return s(),r.stack=y,c(),a==="full"||!m||m!==g?h+=d.move(g+"]"):a==="shortcut"?h=h.slice(0,-1):h+=d.move("]"),h}function T0(){return"!"}vd.peek=_0;function vd(n,l,r){let o=n.value||"",a="`",c=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(o);)a+="`";for(/[^ \r\n]/.test(o)&&(/^[ \r\n]/.test(o)&&/[ \r\n]$/.test(o)||/^`|`$/.test(o))&&(o=" "+o+" ");++c<r.unsafe.length;){const s=r.unsafe[c],d=r.compilePattern(s);let h;if(s.atBreak)for(;h=d.exec(o);){let m=h.index;o.charCodeAt(m)===10&&o.charCodeAt(m-1)===13&&m--,o=o.slice(0,m)+" "+o.slice(h.index+1)}}return a+o+a}function _0(){return"`"}function wd(n,l){const r=La(n);return!!(!l.options.resourceLink&&n.url&&!n.title&&n.children&&n.children.length===1&&n.children[0].type==="text"&&(r===n.url||"mailto:"+r===n.url)&&/^[a-z][a-z+.-]+:/i.test(n.url)&&!/[\0- <>\u007F]/.test(n.url))}Sd.peek=P0;function Sd(n,l,r,o){const a=Ba(r),c=a==='"'?"Quote":"Apostrophe",s=r.createTracker(o);let d,h;if(wd(n,r)){const y=r.stack;r.stack=[],d=r.enter("autolink");let g=s.move("<");return g+=s.move(r.containerPhrasing(n,{before:g,after:">",...s.current()})),g+=s.move(">"),d(),r.stack=y,g}d=r.enter("link"),h=r.enter("label");let m=s.move("[");return m+=s.move(r.containerPhrasing(n,{before:m,after:"](",...s.current()})),m+=s.move("]("),h(),!n.url&&n.title||/[\0- \u007F]/.test(n.url)?(h=r.enter("destinationLiteral"),m+=s.move("<"),m+=s.move(r.safe(n.url,{before:m,after:">",...s.current()})),m+=s.move(">")):(h=r.enter("destinationRaw"),m+=s.move(r.safe(n.url,{before:m,after:n.title?" ":")",...s.current()}))),h(),n.title&&(h=r.enter(`title${c}`),m+=s.move(" "+a),m+=s.move(r.safe(n.title,{before:m,after:a,...s.current()})),m+=s.move(a),h()),m+=s.move(")"),d(),m}function P0(n,l,r){return wd(n,r)?"<":"["}Cd.peek=N0;function Cd(n,l,r,o){const a=n.referenceType,c=r.enter("linkReference");let s=r.enter("label");const d=r.createTracker(o);let h=d.move("[");const m=r.containerPhrasing(n,{before:h,after:"]",...d.current()});h+=d.move(m+"]["),s();const y=r.stack;r.stack=[],s=r.enter("reference");const g=r.safe(r.associationId(n),{before:h,after:"]",...d.current()});return s(),r.stack=y,c(),a==="full"||!m||m!==g?h+=d.move(g+"]"):a==="shortcut"?h=h.slice(0,-1):h+=d.move("]"),h}function N0(){return"["}function Ua(n){const l=n.options.bullet||"*";if(l!=="*"&&l!=="+"&&l!=="-")throw new Error("Cannot serialize items with `"+l+"` for `options.bullet`, expected `*`, `+`, or `-`");return l}function I0(n){const l=Ua(n),r=n.options.bulletOther;if(!r)return l==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===l)throw new Error("Expected `bullet` (`"+l+"`) and `bulletOther` (`"+r+"`) to be different");return r}function z0(n){const l=n.options.bulletOrdered||".";if(l!=="."&&l!==")")throw new Error("Cannot serialize items with `"+l+"` for `options.bulletOrdered`, expected `.` or `)`");return l}function Ed(n){const l=n.options.rule||"*";if(l!=="*"&&l!=="-"&&l!=="_")throw new Error("Cannot serialize rules with `"+l+"` for `options.rule`, expected `*`, `-`, or `_`");return l}function L0(n,l,r,o){const a=r.enter("list"),c=r.bulletCurrent;let s=n.ordered?z0(r):Ua(r);const d=n.ordered?s==="."?")":".":I0(r);let h=l&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!n.ordered){const y=n.children?n.children[0]:void 0;if((s==="*"||s==="-")&&y&&(!y.children||!y.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(h=!0),Ed(r)===s&&y){let g=-1;for(;++g<n.children.length;){const v=n.children[g];if(v&&v.type==="listItem"&&v.children&&v.children[0]&&v.children[0].type==="thematicBreak"){h=!0;break}}}}h&&(s=d),r.bulletCurrent=s;const m=r.containerFlow(n,o);return r.bulletLastUsed=s,r.bulletCurrent=c,a(),m}function D0(n){const l=n.options.listItemIndent||"one";if(l!=="tab"&&l!=="one"&&l!=="mixed")throw new Error("Cannot serialize items with `"+l+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return l}function R0(n,l,r,o){const a=D0(r);let c=r.bulletCurrent||Ua(r);l&&l.type==="list"&&l.ordered&&(c=(typeof l.start=="number"&&l.start>-1?l.start:1)+(r.options.incrementListMarker===!1?0:l.children.indexOf(n))+c);let s=c.length+1;(a==="tab"||a==="mixed"&&(l&&l.type==="list"&&l.spread||n.spread))&&(s=Math.ceil(s/4)*4);const d=r.createTracker(o);d.move(c+" ".repeat(s-c.length)),d.shift(s);const h=r.enter("listItem"),m=r.indentLines(r.containerFlow(n,d.current()),y);return h(),m;function y(g,v,x){return v?(x?"":" ".repeat(s))+g:(x?c:c+" ".repeat(s-c.length))+g}}function A0(n,l,r,o){const a=r.enter("paragraph"),c=r.enter("phrasing"),s=r.containerPhrasing(n,o);return c(),a(),s}const b0=ro(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function M0(n,l,r,o){return(n.children.some(function(s){return b0(s)})?r.containerPhrasing:r.containerFlow).call(r,n,o)}function j0(n){const l=n.options.strong||"*";if(l!=="*"&&l!=="_")throw new Error("Cannot serialize strong with `"+l+"` for `options.strong`, expected `*`, or `_`");return l}Td.peek=F0;function Td(n,l,r,o){const a=j0(r),c=r.enter("strong"),s=r.createTracker(o),d=s.move(a+a);let h=s.move(r.containerPhrasing(n,{after:a,before:d,...s.current()}));const m=h.charCodeAt(0),y=Jl(o.before.charCodeAt(o.before.length-1),m,a);y.inside&&(h=_i(m)+h.slice(1));const g=h.charCodeAt(h.length-1),v=Jl(o.after.charCodeAt(0),g,a);v.inside&&(h=h.slice(0,-1)+_i(g));const x=s.move(a+a);return c(),r.attentionEncodeSurroundingInfo={after:v.outside,before:y.outside},d+h+x}function F0(n,l,r){return r.options.strong||"*"}function O0(n,l,r,o){return r.safe(n.value,o)}function B0(n){const l=n.options.ruleRepetition||3;if(l<3)throw new Error("Cannot serialize rules with repetition `"+l+"` for `options.ruleRepetition`, expected `3` or more");return l}function U0(n,l,r){const o=(Ed(r)+(r.options.ruleSpaces?" ":"")).repeat(B0(r));return r.options.ruleSpaces?o.slice(0,-1):o}const _d={blockquote:c0,break:Cp,code:g0,definition:k0,emphasis:gd,hardBreak:Cp,heading:S0,html:yd,image:kd,imageReference:xd,inlineCode:vd,link:Sd,linkReference:Cd,list:L0,listItem:R0,paragraph:A0,root:M0,strong:Td,text:O0,thematicBreak:U0};function H0(){return{enter:{table:V0,tableData:Ep,tableHeader:Ep,tableRow:W0},exit:{codeText:Q0,table:$0,tableData:pa,tableHeader:pa,tableRow:pa}}}function V0(n){const l=n._align;this.enter({type:"table",align:l.map(function(r){return r==="none"?null:r}),children:[]},n),this.data.inTable=!0}function $0(n){this.exit(n),this.data.inTable=void 0}function W0(n){this.enter({type:"tableRow",children:[]},n)}function pa(n){this.exit(n)}function Ep(n){this.enter({type:"tableCell",children:[]},n)}function Q0(n){let l=this.resume();this.data.inTable&&(l=l.replace(/\\([\\|])/g,q0));const r=this.stack[this.stack.length-1];r.type,r.value=l,this.exit(n)}function q0(n,l){return l==="|"?l:n}function Y0(n){const l=n||{},r=l.tableCellPadding,o=l.tablePipeAlign,a=l.stringLength,c=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
177
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:v,table:s,tableCell:h,tableRow:d}};function s(x,_,b,D){return m(y(x,b,D),x.align)}function d(x,_,b,D){const I=g(x,b,D),F=m([I]);return F.slice(0,F.indexOf(`
178
- `))}function h(x,_,b,D){const I=b.enter("tableCell"),F=b.enter("phrasing"),O=b.containerPhrasing(x,{...D,before:c,after:c});return F(),I(),O}function m(x,_){return a0(x,{align:_,alignDelimiters:o,padding:r,stringLength:a})}function y(x,_,b){const D=x.children;let I=-1;const F=[],O=_.enter("table");for(;++I<D.length;)F[I]=g(D[I],_,b);return O(),F}function g(x,_,b){const D=x.children;let I=-1;const F=[],O=_.enter("tableRow");for(;++I<D.length;)F[I]=h(D[I],x,_,b);return O(),F}function v(x,_,b){let D=_d.inlineCode(x,_,b);return b.stack.includes("tableCell")&&(D=D.replace(/\|/g,"\\$&")),D}}function X0(){return{exit:{taskListCheckValueChecked:Tp,taskListCheckValueUnchecked:Tp,paragraph:G0}}}function K0(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:J0}}}function Tp(n){const l=this.stack[this.stack.length-2];l.type,l.checked=n.type==="taskListCheckValueChecked"}function G0(n){const l=this.stack[this.stack.length-2];if(l&&l.type==="listItem"&&typeof l.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const o=r.children[0];if(o&&o.type==="text"){const a=l.children;let c=-1,s;for(;++c<a.length;){const d=a[c];if(d.type==="paragraph"){s=d;break}}s===r&&(o.value=o.value.slice(1),o.value.length===0?r.children.shift():r.position&&o.position&&typeof o.position.start.offset=="number"&&(o.position.start.column++,o.position.start.offset++,r.position.start=Object.assign({},o.position.start)))}}this.exit(n)}function J0(n,l,r,o){const a=n.children[0],c=typeof n.checked=="boolean"&&a&&a.type==="paragraph",s="["+(n.checked?"x":" ")+"] ",d=r.createTracker(o);c&&d.move(s);let h=_d.listItem(n,l,r,{...o,...d.current()});return c&&(h=h.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,m)),h;function m(y){return y+s}}function Z0(){return[Lx(),Jx(),n0(),H0(),X0()]}function ev(n){return{extensions:[Dx(),Zx(n),r0(),Y0(n),K0()]}}const tv={tokenize:uv,partial:!0},Pd={tokenize:av,partial:!0},Nd={tokenize:sv,partial:!0},Id={tokenize:cv,partial:!0},nv={tokenize:fv,partial:!0},zd={name:"wwwAutolink",tokenize:lv,previous:Dd},Ld={name:"protocolAutolink",tokenize:ov,previous:Rd},an={name:"emailAutolink",tokenize:iv,previous:Ad},Kt={};function rv(){return{text:Kt}}let Yn=48;for(;Yn<123;)Kt[Yn]=an,Yn++,Yn===58?Yn=65:Yn===91&&(Yn=97);Kt[43]=an;Kt[45]=an;Kt[46]=an;Kt[95]=an;Kt[72]=[an,Ld];Kt[104]=[an,Ld];Kt[87]=[an,zd];Kt[119]=[an,zd];function iv(n,l,r){const o=this;let a,c;return s;function s(g){return!Ca(g)||!Ad.call(o,o.previous)||Ha(o.events)?r(g):(n.enter("literalAutolink"),n.enter("literalAutolinkEmail"),d(g))}function d(g){return Ca(g)?(n.consume(g),d):g===64?(n.consume(g),h):r(g)}function h(g){return g===46?n.check(nv,y,m)(g):g===45||g===95||ut(g)?(c=!0,n.consume(g),h):y(g)}function m(g){return n.consume(g),a=!0,h}function y(g){return c&&a&&ft(o.previous)?(n.exit("literalAutolinkEmail"),n.exit("literalAutolink"),l(g)):r(g)}}function lv(n,l,r){const o=this;return a;function a(s){return s!==87&&s!==119||!Dd.call(o,o.previous)||Ha(o.events)?r(s):(n.enter("literalAutolink"),n.enter("literalAutolinkWww"),n.check(tv,n.attempt(Pd,n.attempt(Nd,c),r),r)(s))}function c(s){return n.exit("literalAutolinkWww"),n.exit("literalAutolink"),l(s)}}function ov(n,l,r){const o=this;let a="",c=!1;return s;function s(g){return(g===72||g===104)&&Rd.call(o,o.previous)&&!Ha(o.events)?(n.enter("literalAutolink"),n.enter("literalAutolinkHttp"),a+=String.fromCodePoint(g),n.consume(g),d):r(g)}function d(g){if(ft(g)&&a.length<5)return a+=String.fromCodePoint(g),n.consume(g),d;if(g===58){const v=a.toLowerCase();if(v==="http"||v==="https")return n.consume(g),h}return r(g)}function h(g){return g===47?(n.consume(g),c?m:(c=!0,h)):r(g)}function m(g){return g===null||Xl(g)||Re(g)||Xn(g)||eo(g)?r(g):n.attempt(Pd,n.attempt(Nd,y),r)(g)}function y(g){return n.exit("literalAutolinkHttp"),n.exit("literalAutolink"),l(g)}}function uv(n,l,r){let o=0;return a;function a(s){return(s===87||s===119)&&o<3?(o++,n.consume(s),a):s===46&&o===3?(n.consume(s),c):r(s)}function c(s){return s===null?r(s):l(s)}}function av(n,l,r){let o,a,c;return s;function s(m){return m===46||m===95?n.check(Id,h,d)(m):m===null||Re(m)||Xn(m)||m!==45&&eo(m)?h(m):(c=!0,n.consume(m),s)}function d(m){return m===95?o=!0:(a=o,o=void 0),n.consume(m),s}function h(m){return a||o||!c?r(m):l(m)}}function sv(n,l){let r=0,o=0;return a;function a(s){return s===40?(r++,n.consume(s),a):s===41&&o<r?c(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?n.check(Id,l,c)(s):s===null||Re(s)||Xn(s)?l(s):(n.consume(s),a)}function c(s){return s===41&&o++,n.consume(s),a}}function cv(n,l,r){return o;function o(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(n.consume(d),o):d===38?(n.consume(d),c):d===93?(n.consume(d),a):d===60||d===null||Re(d)||Xn(d)?l(d):r(d)}function a(d){return d===null||d===40||d===91||Re(d)||Xn(d)?l(d):o(d)}function c(d){return ft(d)?s(d):r(d)}function s(d){return d===59?(n.consume(d),o):ft(d)?(n.consume(d),s):r(d)}}function fv(n,l,r){return o;function o(c){return n.consume(c),a}function a(c){return ut(c)?r(c):l(c)}}function Dd(n){return n===null||n===40||n===42||n===95||n===91||n===93||n===126||Re(n)}function Rd(n){return!ft(n)}function Ad(n){return!(n===47||Ca(n))}function Ca(n){return n===43||n===45||n===46||n===95||ut(n)}function Ha(n){let l=n.length,r=!1;for(;l--;){const o=n[l][1];if((o.type==="labelLink"||o.type==="labelImage")&&!o._balanced){r=!0;break}if(o._gfmAutolinkLiteralWalkedInto){r=!1;break}}return n.length>0&&!r&&(n[n.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const pv={tokenize:vv,partial:!0};function dv(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:yv,continuation:{tokenize:kv},exit:xv}},text:{91:{name:"gfmFootnoteCall",tokenize:gv},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:hv,resolveTo:mv}}}}function hv(n,l,r){const o=this;let a=o.events.length;const c=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let s;for(;a--;){const h=o.events[a][1];if(h.type==="labelImage"){s=h;break}if(h.type==="gfmFootnoteCall"||h.type==="labelLink"||h.type==="label"||h.type==="image"||h.type==="link")break}return d;function d(h){if(!s||!s._balanced)return r(h);const m=Ht(o.sliceSerialize({start:s.end,end:o.now()}));return m.codePointAt(0)!==94||!c.includes(m.slice(1))?r(h):(n.enter("gfmFootnoteCallLabelMarker"),n.consume(h),n.exit("gfmFootnoteCallLabelMarker"),l(h))}}function mv(n,l){let r=n.length;for(;r--;)if(n[r][1].type==="labelImage"&&n[r][0]==="enter"){n[r][1];break}n[r+1][1].type="data",n[r+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},n[r+3][1].start),end:Object.assign({},n[n.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},n[r+3][1].end),end:Object.assign({},n[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const c={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},n[n.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},c.start),end:Object.assign({},c.end)},d=[n[r+1],n[r+2],["enter",o,l],n[r+3],n[r+4],["enter",a,l],["exit",a,l],["enter",c,l],["enter",s,l],["exit",s,l],["exit",c,l],n[n.length-2],n[n.length-1],["exit",o,l]];return n.splice(r,n.length-r+1,...d),n}function gv(n,l,r){const o=this,a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let c=0,s;return d;function d(g){return n.enter("gfmFootnoteCall"),n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),h}function h(g){return g!==94?r(g):(n.enter("gfmFootnoteCallMarker"),n.consume(g),n.exit("gfmFootnoteCallMarker"),n.enter("gfmFootnoteCallString"),n.enter("chunkString").contentType="string",m)}function m(g){if(c>999||g===93&&!s||g===null||g===91||Re(g))return r(g);if(g===93){n.exit("chunkString");const v=n.exit("gfmFootnoteCallString");return a.includes(Ht(o.sliceSerialize(v)))?(n.enter("gfmFootnoteCallLabelMarker"),n.consume(g),n.exit("gfmFootnoteCallLabelMarker"),n.exit("gfmFootnoteCall"),l):r(g)}return Re(g)||(s=!0),c++,n.consume(g),g===92?y:m}function y(g){return g===91||g===92||g===93?(n.consume(g),c++,m):m(g)}}function yv(n,l,r){const o=this,a=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]);let c,s=0,d;return h;function h(_){return n.enter("gfmFootnoteDefinition")._container=!0,n.enter("gfmFootnoteDefinitionLabel"),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(_),n.exit("gfmFootnoteDefinitionLabelMarker"),m}function m(_){return _===94?(n.enter("gfmFootnoteDefinitionMarker"),n.consume(_),n.exit("gfmFootnoteDefinitionMarker"),n.enter("gfmFootnoteDefinitionLabelString"),n.enter("chunkString").contentType="string",y):r(_)}function y(_){if(s>999||_===93&&!d||_===null||_===91||Re(_))return r(_);if(_===93){n.exit("chunkString");const b=n.exit("gfmFootnoteDefinitionLabelString");return c=Ht(o.sliceSerialize(b)),n.enter("gfmFootnoteDefinitionLabelMarker"),n.consume(_),n.exit("gfmFootnoteDefinitionLabelMarker"),n.exit("gfmFootnoteDefinitionLabel"),v}return Re(_)||(d=!0),s++,n.consume(_),_===92?g:y}function g(_){return _===91||_===92||_===93?(n.consume(_),s++,y):y(_)}function v(_){return _===58?(n.enter("definitionMarker"),n.consume(_),n.exit("definitionMarker"),a.includes(c)||a.push(c),_e(n,x,"gfmFootnoteDefinitionWhitespace")):r(_)}function x(_){return l(_)}}function kv(n,l,r){return n.check(Ni,l,n.attempt(pv,l,r))}function xv(n){n.exit("gfmFootnoteDefinition")}function vv(n,l,r){const o=this;return _e(n,a,"gfmFootnoteDefinitionIndent",5);function a(c){const s=o.events[o.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?l(c):r(c)}}function wv(n){let r=(n||{}).singleTilde;const o={name:"strikethrough",tokenize:c,resolveAll:a};return r==null&&(r=!0),{text:{126:o},insideSpan:{null:[o]},attentionMarkers:{null:[126]}};function a(s,d){let h=-1;for(;++h<s.length;)if(s[h][0]==="enter"&&s[h][1].type==="strikethroughSequenceTemporary"&&s[h][1]._close){let m=h;for(;m--;)if(s[m][0]==="exit"&&s[m][1].type==="strikethroughSequenceTemporary"&&s[m][1]._open&&s[h][1].end.offset-s[h][1].start.offset===s[m][1].end.offset-s[m][1].start.offset){s[h][1].type="strikethroughSequence",s[m][1].type="strikethroughSequence";const y={type:"strikethrough",start:Object.assign({},s[m][1].start),end:Object.assign({},s[h][1].end)},g={type:"strikethroughText",start:Object.assign({},s[m][1].end),end:Object.assign({},s[h][1].start)},v=[["enter",y,d],["enter",s[m][1],d],["exit",s[m][1],d],["enter",g,d]],x=d.parser.constructs.insideSpan.null;x&&_t(v,v.length,0,to(x,s.slice(m+1,h),d)),_t(v,v.length,0,[["exit",g,d],["enter",s[h][1],d],["exit",s[h][1],d],["exit",y,d]]),_t(s,m-1,h-m+3,v),h=m+v.length-2;break}}for(h=-1;++h<s.length;)s[h][1].type==="strikethroughSequenceTemporary"&&(s[h][1].type="data");return s}function c(s,d,h){const m=this.previous,y=this.events;let g=0;return v;function v(_){return m===126&&y[y.length-1][1].type!=="characterEscape"?h(_):(s.enter("strikethroughSequenceTemporary"),x(_))}function x(_){const b=Nr(m);if(_===126)return g>1?h(_):(s.consume(_),g++,x);if(g<2&&!r)return h(_);const D=s.exit("strikethroughSequenceTemporary"),I=Nr(_);return D._open=!I||I===2&&!!b,D._close=!b||b===2&&!!I,d(_)}}}class Sv{constructor(){this.map=[]}add(l,r,o){Cv(this,l,r,o)}consume(l){if(this.map.sort(function(c,s){return c[0]-s[0]}),this.map.length===0)return;let r=this.map.length;const o=[];for(;r>0;)r-=1,o.push(l.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),l.length=this.map[r][0];o.push(l.slice()),l.length=0;let a=o.pop();for(;a;){for(const c of a)l.push(c);a=o.pop()}this.map.length=0}}function Cv(n,l,r,o){let a=0;if(!(r===0&&o.length===0)){for(;a<n.map.length;){if(n.map[a][0]===l){n.map[a][1]+=r,n.map[a][2].push(...o);return}a+=1}n.map.push([l,r,o])}}function Ev(n,l){let r=!1;const o=[];for(;l<n.length;){const a=n[l];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&o.push(n[l+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(n[l-1][1].type==="tableDelimiterMarker"){const c=o.length-1;o[c]=o[c]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);l+=1}return o}function Tv(){return{flow:{null:{name:"table",tokenize:_v,resolveAll:Pv}}}}function _v(n,l,r){const o=this;let a=0,c=0,s;return d;function d(R){let G=o.events.length-1;for(;G>-1;){const ee=o.events[G][1].type;if(ee==="lineEnding"||ee==="linePrefix")G--;else break}const K=G>-1?o.events[G][1].type:null,ge=K==="tableHead"||K==="tableRow"?M:h;return ge===M&&o.parser.lazy[o.now().line]?r(R):ge(R)}function h(R){return n.enter("tableHead"),n.enter("tableRow"),m(R)}function m(R){return R===124||(s=!0,c+=1),y(R)}function y(R){return R===null?r(R):ae(R)?c>1?(c=0,o.interrupt=!0,n.exit("tableRow"),n.enter("lineEnding"),n.consume(R),n.exit("lineEnding"),x):r(R):Te(R)?_e(n,y,"whitespace")(R):(c+=1,s&&(s=!1,a+=1),R===124?(n.enter("tableCellDivider"),n.consume(R),n.exit("tableCellDivider"),s=!0,y):(n.enter("data"),g(R)))}function g(R){return R===null||R===124||Re(R)?(n.exit("data"),y(R)):(n.consume(R),R===92?v:g)}function v(R){return R===92||R===124?(n.consume(R),g):g(R)}function x(R){return o.interrupt=!1,o.parser.lazy[o.now().line]?r(R):(n.enter("tableDelimiterRow"),s=!1,Te(R)?_e(n,_,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):_(R))}function _(R){return R===45||R===58?D(R):R===124?(s=!0,n.enter("tableCellDivider"),n.consume(R),n.exit("tableCellDivider"),b):le(R)}function b(R){return Te(R)?_e(n,D,"whitespace")(R):D(R)}function D(R){return R===58?(c+=1,s=!0,n.enter("tableDelimiterMarker"),n.consume(R),n.exit("tableDelimiterMarker"),I):R===45?(c+=1,I(R)):R===null||ae(R)?te(R):le(R)}function I(R){return R===45?(n.enter("tableDelimiterFiller"),F(R)):le(R)}function F(R){return R===45?(n.consume(R),F):R===58?(s=!0,n.exit("tableDelimiterFiller"),n.enter("tableDelimiterMarker"),n.consume(R),n.exit("tableDelimiterMarker"),O):(n.exit("tableDelimiterFiller"),O(R))}function O(R){return Te(R)?_e(n,te,"whitespace")(R):te(R)}function te(R){return R===124?_(R):R===null||ae(R)?!s||a!==c?le(R):(n.exit("tableDelimiterRow"),n.exit("tableHead"),l(R)):le(R)}function le(R){return r(R)}function M(R){return n.enter("tableRow"),se(R)}function se(R){return R===124?(n.enter("tableCellDivider"),n.consume(R),n.exit("tableCellDivider"),se):R===null||ae(R)?(n.exit("tableRow"),l(R)):Te(R)?_e(n,se,"whitespace")(R):(n.enter("data"),me(R))}function me(R){return R===null||R===124||Re(R)?(n.exit("data"),se(R)):(n.consume(R),R===92?xe:me)}function xe(R){return R===92||R===124?(n.consume(R),me):me(R)}}function Pv(n,l){let r=-1,o=!0,a=0,c=[0,0,0,0],s=[0,0,0,0],d=!1,h=0,m,y,g;const v=new Sv;for(;++r<n.length;){const x=n[r],_=x[1];x[0]==="enter"?_.type==="tableHead"?(d=!1,h!==0&&(_p(v,l,h,m,y),y=void 0,h=0),m={type:"table",start:Object.assign({},_.start),end:Object.assign({},_.end)},v.add(r,0,[["enter",m,l]])):_.type==="tableRow"||_.type==="tableDelimiterRow"?(o=!0,g=void 0,c=[0,0,0,0],s=[0,r+1,0,0],d&&(d=!1,y={type:"tableBody",start:Object.assign({},_.start),end:Object.assign({},_.end)},v.add(r,0,[["enter",y,l]])),a=_.type==="tableDelimiterRow"?2:y?3:1):a&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")?(o=!1,s[2]===0&&(c[1]!==0&&(s[0]=s[1],g=Ql(v,l,c,a,void 0,g),c=[0,0,0,0]),s[2]=r)):_.type==="tableCellDivider"&&(o?o=!1:(c[1]!==0&&(s[0]=s[1],g=Ql(v,l,c,a,void 0,g)),c=s,s=[c[1],r,0,0])):_.type==="tableHead"?(d=!0,h=r):_.type==="tableRow"||_.type==="tableDelimiterRow"?(h=r,c[1]!==0?(s[0]=s[1],g=Ql(v,l,c,a,r,g)):s[1]!==0&&(g=Ql(v,l,s,a,r,g)),a=0):a&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")&&(s[3]=r)}for(h!==0&&_p(v,l,h,m,y),v.consume(l.events),r=-1;++r<l.events.length;){const x=l.events[r];x[0]==="enter"&&x[1].type==="table"&&(x[1]._align=Ev(l.events,r))}return n}function Ql(n,l,r,o,a,c){const s=o===1?"tableHeader":o===2?"tableDelimiter":"tableData",d="tableContent";r[0]!==0&&(c.end=Object.assign({},_r(l.events,r[0])),n.add(r[0],0,[["exit",c,l]]));const h=_r(l.events,r[1]);if(c={type:s,start:Object.assign({},h),end:Object.assign({},h)},n.add(r[1],0,[["enter",c,l]]),r[2]!==0){const m=_r(l.events,r[2]),y=_r(l.events,r[3]),g={type:d,start:Object.assign({},m),end:Object.assign({},y)};if(n.add(r[2],0,[["enter",g,l]]),o!==2){const v=l.events[r[2]],x=l.events[r[3]];if(v[1].end=Object.assign({},x[1].end),v[1].type="chunkText",v[1].contentType="text",r[3]>r[2]+1){const _=r[2]+1,b=r[3]-r[2]-1;n.add(_,b,[])}}n.add(r[3]+1,0,[["exit",g,l]])}return a!==void 0&&(c.end=Object.assign({},_r(l.events,a)),n.add(a,0,[["exit",c,l]]),c=void 0),c}function _p(n,l,r,o,a){const c=[],s=_r(l.events,r);a&&(a.end=Object.assign({},s),c.push(["exit",a,l])),o.end=Object.assign({},s),c.push(["exit",o,l]),n.add(r+1,0,c)}function _r(n,l){const r=n[l],o=r[0]==="enter"?"start":"end";return r[1][o]}const Nv={name:"tasklistCheck",tokenize:zv};function Iv(){return{text:{91:Nv}}}function zv(n,l,r){const o=this;return a;function a(h){return o.previous!==null||!o._gfmTasklistFirstContentOfListItem?r(h):(n.enter("taskListCheck"),n.enter("taskListCheckMarker"),n.consume(h),n.exit("taskListCheckMarker"),c)}function c(h){return Re(h)?(n.enter("taskListCheckValueUnchecked"),n.consume(h),n.exit("taskListCheckValueUnchecked"),s):h===88||h===120?(n.enter("taskListCheckValueChecked"),n.consume(h),n.exit("taskListCheckValueChecked"),s):r(h)}function s(h){return h===93?(n.enter("taskListCheckMarker"),n.consume(h),n.exit("taskListCheckMarker"),n.exit("taskListCheck"),d):r(h)}function d(h){return ae(h)?l(h):Te(h)?n.check({tokenize:Lv},l,r)(h):r(h)}}function Lv(n,l,r){return _e(n,o,"whitespace");function o(a){return a===null?r(a):l(a)}}function Dv(n){return Wp([rv(),dv(),wv(n),Tv(),Iv()])}const Rv={};function Av(n){const l=this,r=n||Rv,o=l.data(),a=o.micromarkExtensions||(o.micromarkExtensions=[]),c=o.fromMarkdownExtensions||(o.fromMarkdownExtensions=[]),s=o.toMarkdownExtensions||(o.toMarkdownExtensions=[]);a.push(Dv(r)),c.push(Z0()),s.push(ev(r))}function bv({className:n,children:l,...r}){const o=/language-(\w+)/.exec(n??"");return o?A.jsx(Mv,{language:o[1]??"",code:String(l).replace(/\n$/,"")}):A.jsx("code",{className:"rounded-md border border-border bg-muted px-1.5 py-0.5 text-sm font-mono",...r,children:l})}function Mv({language:n,code:l}){const[r,o]=ce.useState(!1),a=ce.useCallback(()=>{navigator.clipboard.writeText(l),o(!0),setTimeout(()=>o(!1),2e3)},[l]);return A.jsxs("div",{className:"group relative my-3 overflow-hidden rounded-lg border border-border",children:[A.jsxs("div",{className:"flex items-center justify-between bg-muted/50 px-4 py-1.5 text-xs text-muted-foreground",children:[A.jsx("span",{children:n}),A.jsxs("button",{onClick:a,className:"flex items-center gap-1 opacity-0 transition-opacity group-hover:opacity-100 hover:text-foreground",children:[r?A.jsx(Qm,{className:"h-3.5 w-3.5"}):A.jsx(Ym,{className:"h-3.5 w-3.5"}),r?"Copied":"Copy"]})]}),A.jsx("pre",{className:"overflow-x-auto bg-muted/30 p-4",children:A.jsx("code",{className:"text-sm font-mono leading-relaxed",children:l})})]})}function jv({content:n,className:l}){return A.jsx("div",{className:Dn("prose prose-sm dark:prose-invert max-w-none",l),children:A.jsx(wx,{remarkPlugins:[Av],components:{code:bv,a:({children:r,href:o,...a})=>A.jsx("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"text-primary underline underline-offset-2 hover:text-primary/80",...a,children:r}),table:({children:r,...o})=>A.jsx("div",{className:"my-3 overflow-x-auto",children:A.jsx("table",{className:"min-w-full border-collapse text-sm",...o,children:r})}),th:({children:r,...o})=>A.jsx("th",{className:"border border-border bg-muted/50 px-3 py-1.5 text-left font-medium",...o,children:r}),td:({children:r,...o})=>A.jsx("td",{className:"border border-border px-3 py-1.5",...o,children:r})},children:n})})}function Fv({content:n}){const[l,r]=ce.useState(!1);return n?A.jsxs("div",{className:"my-2",children:[A.jsxs("button",{onClick:()=>r(!l),className:"flex items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground transition-colors",children:[A.jsx(zp,{className:Dn("h-3.5 w-3.5 transition-transform",l&&"rotate-90")}),A.jsx(Wm,{className:"h-3.5 w-3.5"}),A.jsx("span",{children:"Thinking"})]}),l&&A.jsx("div",{className:"mt-1.5 ml-5 rounded-md border border-border bg-muted/30 p-3 text-xs text-muted-foreground whitespace-pre-wrap font-mono leading-relaxed",children:n})]}):null}const Ov={pending:A.jsx(jf,{className:"h-3.5 w-3.5 animate-spin text-muted-foreground"}),running:A.jsx(jf,{className:"h-3.5 w-3.5 animate-spin text-primary"}),done:A.jsx(qm,{className:"h-3.5 w-3.5 text-emerald-500"})};function Bv({tool:n}){const[l,r]=ce.useState(!1);return A.jsxs("div",{className:"my-2 rounded-md border border-border overflow-hidden",children:[A.jsxs("button",{onClick:()=>r(!l),className:"flex w-full items-center gap-2 px-3 py-2 text-xs hover:bg-muted/50 transition-colors",children:[A.jsx(zp,{className:Dn("h-3.5 w-3.5 flex-shrink-0 transition-transform text-muted-foreground",l&&"rotate-90")}),A.jsx(ig,{className:"h-3.5 w-3.5 flex-shrink-0 text-muted-foreground"}),A.jsx("span",{className:"font-medium text-foreground",children:n.name}),A.jsx("span",{className:"flex-1"}),Ov[n.status]]}),l&&A.jsxs("div",{className:"border-t border-border bg-muted/20 px-3 py-2 text-xs font-mono space-y-2",children:[A.jsxs("div",{children:[A.jsx("span",{className:"text-muted-foreground",children:"Input: "}),A.jsx("span",{className:"text-foreground whitespace-pre-wrap break-all",children:n.input})]}),n.result&&A.jsxs("div",{children:[A.jsx("span",{className:"text-muted-foreground",children:"Result: "}),A.jsx("span",{className:"text-foreground whitespace-pre-wrap break-all",children:n.result})]})]})]})}function Uv({message:n}){var l,r;return A.jsxs("div",{className:"flex gap-3",children:[A.jsx("div",{className:"flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full bg-secondary",children:A.jsx($m,{className:"h-4 w-4 text-secondary-foreground"})}),A.jsxs("div",{className:"min-w-0 flex-1 space-y-1",children:[n.thinking&&A.jsx(Fv,{content:n.thinking}),(l=n.toolCalls)==null?void 0:l.map(o=>A.jsx(Bv,{tool:o},o.id)),n.content&&A.jsx(jv,{content:n.content}),n.status==="streaming"&&!n.content&&!((r=n.toolCalls)!=null&&r.length)&&A.jsxs("div",{className:"flex items-center gap-1.5 py-2",children:[A.jsx("span",{className:"h-2 w-2 animate-bounce rounded-full bg-primary [animation-delay:-0.3s]"}),A.jsx("span",{className:"h-2 w-2 animate-bounce rounded-full bg-primary [animation-delay:-0.15s]"}),A.jsx("span",{className:"h-2 w-2 animate-bounce rounded-full bg-primary"})]}),n.status==="error"&&!n.content&&A.jsx("p",{className:"text-sm text-destructive",children:"An error occurred. Please try again."})]})]})}function Hv({messages:n,isStreaming:l}){const r=ce.useRef(null),o=ce.useRef(null);return ce.useEffect(()=>{var a;(a=r.current)==null||a.scrollIntoView({behavior:l?"auto":"smooth"})},[n,l]),n.length===0?A.jsx("div",{className:"flex flex-1 items-center justify-center p-8",children:A.jsxs("div",{className:"text-center space-y-3",children:[A.jsx("div",{className:"text-4xl",children:"🤖"}),A.jsx("h2",{className:"text-lg font-medium text-foreground",children:"How can I help?"}),A.jsx("p",{className:"text-sm text-muted-foreground max-w-sm",children:"Ask me anything about your code, run commands, edit files, or search the web."})]})}):A.jsx("div",{ref:o,className:"flex-1 overflow-y-auto scrollbar-thin px-4 py-4",children:A.jsxs("div",{className:"mx-auto max-w-3xl space-y-6",children:[n.map(a=>a.role==="user"?A.jsx(cg,{message:a},a.id):A.jsx(Uv,{message:a},a.id)),A.jsx("div",{ref:r})]})})}function Vv({onSend:n,onAbort:l,isStreaming:r,disabled:o}){const[a,c]=ce.useState(""),s=ce.useRef(null);ce.useEffect(()=>{var y;r||(y=s.current)==null||y.focus()},[r]);const d=ce.useCallback(()=>{const y=s.current;y&&(y.style.height="auto",y.style.height=`${Math.min(y.scrollHeight,200)}px`)},[]),h=ce.useCallback(()=>{const y=a.trim();!y||o||(n(y),c(""),s.current&&(s.current.style.height="auto"))},[a,n,o]),m=ce.useCallback(y=>{if(y.key==="Enter"&&!y.shiftKey){if(y.preventDefault(),r)return;h()}},[h,r]);return A.jsx("div",{className:"border-t border-border px-4 py-3",children:A.jsxs("div",{className:"mx-auto max-w-3xl",children:[A.jsxs("div",{className:"flex items-end gap-2 rounded-xl border border-border bg-background p-2 shadow-sm focus-within:ring-1 focus-within:ring-ring transition-shadow",children:[A.jsx("textarea",{ref:s,value:a,onChange:y=>{c(y.target.value),d()},onKeyDown:m,placeholder:"Type a message...",rows:1,disabled:o,className:Dn("flex-1 resize-none bg-transparent px-2 py-1.5 text-sm outline-none placeholder:text-muted-foreground","max-h-[200px] scrollbar-thin")}),r?A.jsx("button",{onClick:l,className:"flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg bg-destructive text-destructive-foreground hover:bg-destructive/90 transition-colors",title:"Stop",children:A.jsx(tg,{className:"h-4 w-4"})}):A.jsx("button",{onClick:h,disabled:!a.trim()||o,className:Dn("flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg transition-colors",a.trim()&&!o?"bg-primary text-primary-foreground hover:bg-primary/90":"bg-muted text-muted-foreground cursor-not-allowed"),title:"Send",children:A.jsx(Zm,{className:"h-4 w-4"})})]}),A.jsx("p",{className:"mt-1.5 text-center text-[11px] text-muted-foreground/60",children:"Enter to send · Shift+Enter for new line"})]})})}function $v({chat:n}){return A.jsxs("div",{className:"flex min-h-0 flex-1 flex-col",children:[A.jsx(Hv,{messages:n.messages,isStreaming:n.isStreaming}),A.jsx(Vv,{onSend:n.send,onAbort:n.abort,isStreaming:n.isStreaming,disabled:!1})]})}function Wv({config:n,onConfigChange:l,theme:r,onClose:o}){const[a,c]=ce.useState(n.baseUrl),[s,d]=ce.useState(n.authToken??""),h=()=>{l({baseUrl:a.replace(/\/+$/,"")||window.location.origin,authToken:s.trim()||void 0}),o()};return A.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",children:A.jsxs("div",{className:"w-full max-w-md rounded-xl border border-border bg-background p-6 shadow-lg mx-4",children:[A.jsxs("div",{className:"flex items-center justify-between mb-6",children:[A.jsx("h2",{className:"text-lg font-semibold",children:"Settings"}),A.jsx("button",{onClick:o,className:"rounded-md p-1 hover:bg-accent transition-colors",children:A.jsx(lg,{className:"h-5 w-5"})})]}),A.jsxs("div",{className:"space-y-5",children:[A.jsxs("div",{children:[A.jsx("label",{className:"text-sm font-medium text-foreground",children:"Theme"}),A.jsxs("div",{className:"mt-2 flex gap-2",children:[A.jsxs("button",{onClick:()=>{r.isDark&&r.toggle()},className:`flex items-center gap-2 rounded-lg border px-3 py-2 text-sm transition-colors ${r.isDark?"border-border text-muted-foreground hover:bg-accent":"border-primary bg-primary/5 text-primary"}`,children:[A.jsx(ng,{className:"h-4 w-4"}),"Light"]}),A.jsxs("button",{onClick:()=>{r.isDark||r.toggle()},className:`flex items-center gap-2 rounded-lg border px-3 py-2 text-sm transition-colors ${r.isDark?"border-primary bg-primary/5 text-primary":"border-border text-muted-foreground hover:bg-accent"}`,children:[A.jsx(Gm,{className:"h-4 w-4"}),"Dark"]})]})]}),A.jsxs("div",{children:[A.jsx("label",{className:"text-sm font-medium text-foreground",children:"Gateway URL"}),A.jsx("input",{type:"text",value:a,onChange:m=>c(m.target.value),placeholder:"http://localhost:3100",className:"mt-1.5 w-full rounded-lg border border-input bg-background px-3 py-2 text-sm outline-none focus:ring-1 focus:ring-ring"}),A.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:"The base URL of your NewCraw Gateway server"})]}),A.jsxs("div",{children:[A.jsx("label",{className:"text-sm font-medium text-foreground",children:"Auth Token"}),A.jsx("input",{type:"password",value:s,onChange:m=>d(m.target.value),placeholder:"Optional",className:"mt-1.5 w-full rounded-lg border border-input bg-background px-3 py-2 text-sm outline-none focus:ring-1 focus:ring-ring"}),A.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:"If the Gateway requires authentication (--auth-token)"})]})]}),A.jsxs("div",{className:"mt-6 flex justify-end gap-2",children:[A.jsx("button",{onClick:o,className:"rounded-lg border border-border px-4 py-2 text-sm hover:bg-accent transition-colors",children:"Cancel"}),A.jsx("button",{onClick:h,className:"rounded-lg bg-primary px-4 py-2 text-sm text-primary-foreground hover:bg-primary/90 transition-colors",children:"Save"})]})]})})}const Qv={connected:{color:"bg-emerald-500",label:"Connected"},disconnected:{color:"bg-red-500",label:"Disconnected"},checking:{color:"bg-yellow-500 animate-pulse",label:"Connecting..."}};function qv({status:n}){const l=Qv[n];return A.jsxs("div",{className:"flex items-center gap-1.5 text-xs text-muted-foreground",children:[A.jsx("span",{className:Dn("h-2 w-2 rounded-full",l.color)}),A.jsx("span",{children:l.label})]})}function Yv(n,l,r,o){const a=new AbortController;return(async()=>{var s;try{const d={"Content-Type":"application/json"};n.authToken&&(d.Authorization=`Bearer ${n.authToken}`);const h=await fetch(`${n.baseUrl}/api/chat/stream`,{method:"POST",headers:d,body:JSON.stringify({message:l,sessionKey:r}),signal:a.signal});if(!h.ok){const v=await h.text().catch(()=>h.statusText);o.onError(`HTTP ${h.status}: ${v}`);return}const m=(s=h.body)==null?void 0:s.getReader();if(!m){o.onError("No response body");return}const y=new TextDecoder;let g="";for(;;){const{done:v,value:x}=await m.read();if(v)break;g+=y.decode(x,{stream:!0});const _=g.split(`
179
- `);g=_.pop()??"";let b="";for(const D of _)if(D.startsWith("event: "))b=D.slice(7).trim();else if(D.startsWith("data: ")&&b){try{const I=JSON.parse(D.slice(6));Xv(b,I,o)}catch{}b=""}}o.onDone()}catch(d){if(d instanceof DOMException&&d.name==="AbortError")return;o.onError(d instanceof Error?d.message:"Unknown error")}})(),a}function Xv(n,l,r){switch(n){case"text":r.onText(l.content??"");break;case"thinking":r.onThinking(l.content??"");break;case"tool_call":r.onToolCall(l.content??"");break;case"tool_result":r.onToolResult(l.content??"");break;case"done":r.onDone();break;case"error":r.onError(l.error??l.content??"Unknown error");break}}const bd="newcraw-sessions",Va="newcraw-messages:";function Pp(){try{const n=localStorage.getItem(bd);return n?JSON.parse(n):[]}catch{return[]}}function Kv(n){localStorage.setItem(bd,JSON.stringify(n))}function Gv(n){try{const l=localStorage.getItem(Va+n);return l?JSON.parse(l):[]}catch{return[]}}function Np(n,l){localStorage.setItem(Va+n,JSON.stringify(l))}function Jv(){const[n,l]=ce.useState(Pp),[r,o]=ce.useState(()=>{var g;return((g=Pp()[0])==null?void 0:g.key)??null});ce.useEffect(()=>{Kv(n)},[n]);const a=n.find(y=>y.key===r)??null,c=ce.useCallback(()=>{const y={key:`web:${ql()}`,title:"New Chat",createdAt:Date.now(),updatedAt:Date.now(),messageCount:0};return l(g=>[y,...g]),o(y.key),y},[]),s=ce.useCallback(y=>{o(y)},[]),d=ce.useCallback(y=>{l(g=>g.filter(v=>v.key!==y)),localStorage.removeItem(Va+y),r===y&&o(g=>{var x;return((x=n.filter(_=>_.key!==y)[0])==null?void 0:x.key)??null})},[r,n]),h=ce.useCallback((y,g)=>{l(v=>v.map(x=>x.key===y?{...x,title:og(g,50)}:x))},[]),m=ce.useCallback((y,g)=>{l(v=>v.map(x=>x.key===y?{...x,...g}:x))},[]);return{list:n,active:a,create:c,select:s,remove:d,updateTitle:h,updateMeta:m}}function Zv(n,l){const[r,o]=ce.useState([]),[a,c]=ce.useState(!1),s=ce.useRef(null),d=ce.useRef(l);ce.useEffect(()=>{var g;d.current=l,o(l?Gv(l):[]),c(!1),(g=s.current)==null||g.abort(),s.current=null},[l]),ce.useEffect(()=>{l&&r.length>0&&Np(l,r)},[r,l]);const h=ce.useCallback(g=>{if(!l||!g.trim()||a)return;const v={id:ql(),role:"user",content:g.trim(),status:"complete",timestamp:Date.now()},x=ql(),_={id:x,role:"assistant",content:"",thinking:"",toolCalls:[],status:"streaming",timestamp:Date.now()};o(D=>[...D,v,_]),c(!0);const b=Yv(n,g.trim(),l,{onText(D){o(I=>I.map(F=>F.id===x?{...F,content:F.content+D}:F))},onThinking(D){o(I=>I.map(F=>F.id===x?{...F,thinking:(F.thinking??"")+D}:F))},onToolCall(D){const I={id:ql(),name:ew(D),input:D,status:"running"};o(F=>F.map(O=>O.id===x?{...O,toolCalls:[...O.toolCalls??[],I]}:O))},onToolResult(D){o(I=>I.map(F=>{if(F.id!==x)return F;const O=[...F.toolCalls??[]],te=O.findLast(le=>le.status==="running");return te&&(te.result=D,te.status="done"),{...F,toolCalls:O}}))},onDone(){o(D=>D.map(I=>I.id===x?{...I,status:"complete"}:I)),c(!1),s.current=null},onError(D){o(I=>I.map(F=>F.id===x?{...F,content:F.content||D,status:"error"}:F)),c(!1),s.current=null}});s.current=b},[n,l,a]),m=ce.useCallback(()=>{var g;(g=s.current)==null||g.abort(),s.current=null,c(!1),o(v=>v.map(x=>x.status==="streaming"?{...x,status:"complete"}:x))},[]),y=ce.useCallback(()=>{o([]),l&&Np(l,[])},[l]);return{messages:r,isStreaming:a,send:h,abort:m,clear:y}}function ew(n){const l=n.match(/^(\w+)\(/);return(l==null?void 0:l[1])??"tool"}function tw({config:n,onConfigChange:l,theme:r,sessions:o,connection:a}){var v,x;const[c,s]=ce.useState(!1),[d,h]=ce.useState(!1),m=Zv(n,((v=o.active)==null?void 0:v.key)??null),y=ce.useCallback(()=>{o.create(),s(!1)},[o]),g=ce.useCallback(_=>{o.select(_),s(!1)},[o]);return A.jsxs("div",{className:"flex h-dvh w-full overflow-hidden",children:[c&&A.jsx("div",{className:"fixed inset-0 z-30 bg-black/40 md:hidden",onClick:()=>s(!1)}),A.jsx("aside",{className:Dn("fixed inset-y-0 left-0 z-40 w-64 flex-shrink-0 border-r border-border bg-background transition-transform duration-200 md:static md:translate-x-0",c?"translate-x-0":"-translate-x-full"),children:A.jsx(sg,{sessions:o,onNew:y,onSelect:g,onOpenSettings:()=>h(!0)})}),A.jsxs("main",{className:"flex min-w-0 flex-1 flex-col",children:[A.jsxs("header",{className:"flex h-12 flex-shrink-0 items-center gap-3 border-b border-border px-4",children:[A.jsx("button",{className:"md:hidden p-1 rounded-md hover:bg-accent",onClick:()=>s(!0),children:A.jsx(Xm,{className:"h-5 w-5"})}),A.jsx("h1",{className:"text-sm font-medium truncate flex-1",children:((x=o.active)==null?void 0:x.title)??"NewCraw"}),A.jsx(qv,{status:a.status})]}),A.jsx($v,{chat:m,config:n})]}),d&&A.jsx(Wv,{config:n,onConfigChange:l,theme:r,onClose:()=>h(!1)})]})}function nw(){const[n,l]=ce.useState(()=>{const o=localStorage.getItem("newcraw-theme");return o?o==="dark":window.matchMedia("(prefers-color-scheme: dark)").matches});ce.useEffect(()=>{const o=document.documentElement;n?o.classList.add("dark"):o.classList.remove("dark"),localStorage.setItem("newcraw-theme",n?"dark":"light")},[n]);const r=ce.useCallback(()=>l(o=>!o),[]);return{isDark:n,toggle:r}}function rw(n){const[l,r]=ce.useState("checking"),o=ce.useRef(),a=ce.useCallback(async()=>{r("checking");try{const c=await fetch(`${n.baseUrl}/health`,{signal:AbortSignal.timeout(5e3)});r(c.ok?"connected":"disconnected")}catch{r("disconnected")}},[n.baseUrl]);return ce.useEffect(()=>(a(),o.current=setInterval(a,3e4),()=>clearInterval(o.current)),[a]),{status:l,check:a}}const iw={baseUrl:window.location.origin};function lw(){const[n,l]=ce.useState(()=>{const s=localStorage.getItem("newcraw-gateway-config");return s?JSON.parse(s):iw}),r=ce.useCallback(s=>{l(s),localStorage.setItem("newcraw-gateway-config",JSON.stringify(s))},[]),o=nw(),a=Jv(),c=rw(n);return A.jsx(tw,{config:n,onConfigChange:r,theme:o,sessions:a,connection:c})}Bm.createRoot(document.getElementById("root")).render(A.jsx(Rm.StrictMode,{children:A.jsx(lw,{})}));