sourcery-nightly 1.31.1b1__py2.py3-none-macosx_10_9_universal2.whl → 1.31.1b5__py2.py3-none-macosx_10_9_universal2.whl

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 (233) hide show
  1. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_ruamel_yaml.so +0 -0
  2. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/coding-assistant-app/dist/assets/index.css +1 -1
  3. sourcery_nightly-1.31.1b5.data/purelib/sourcery/coding-assistant-app/dist/assets/index.js +839 -0
  4. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/pysolvers.so +0 -0
  5. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/sourcery +0 -0
  6. {sourcery_nightly-1.31.1b1.dist-info → sourcery_nightly-1.31.1b5.dist-info}/METADATA +2 -2
  7. sourcery_nightly-1.31.1b5.dist-info/RECORD +231 -0
  8. sourcery_nightly-1.31.1b1.data/purelib/sourcery/coding-assistant-app/dist/assets/index.js +0 -852
  9. sourcery_nightly-1.31.1b1.dist-info/RECORD +0 -231
  10. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/Python +0 -0
  11. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_asyncio.so +0 -0
  12. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_blake2.so +0 -0
  13. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_bz2.so +0 -0
  14. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_cffi_backend.so +0 -0
  15. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_codecs_cn.so +0 -0
  16. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_codecs_hk.so +0 -0
  17. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_codecs_iso2022.so +0 -0
  18. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_codecs_jp.so +0 -0
  19. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_codecs_kr.so +0 -0
  20. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_codecs_tw.so +0 -0
  21. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_contextvars.so +0 -0
  22. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_csv.so +0 -0
  23. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_ctypes.so +0 -0
  24. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_curses.so +0 -0
  25. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_datetime.so +0 -0
  26. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_decimal.so +0 -0
  27. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_elementtree.so +0 -0
  28. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_hashlib.so +0 -0
  29. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_heapq.so +0 -0
  30. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_lzma.so +0 -0
  31. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_md5.so +0 -0
  32. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_multibytecodec.so +0 -0
  33. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_multiprocessing.so +0 -0
  34. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_opcode.so +0 -0
  35. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_pickle.so +0 -0
  36. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_posixshmem.so +0 -0
  37. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_posixsubprocess.so +0 -0
  38. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_queue.so +0 -0
  39. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_random.so +0 -0
  40. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_scproxy.so +0 -0
  41. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_sha1.so +0 -0
  42. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_sha256.so +0 -0
  43. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_sha3.so +0 -0
  44. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_sha512.so +0 -0
  45. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_socket.so +0 -0
  46. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_sqlite3.so +0 -0
  47. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_ssl.so +0 -0
  48. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_statistics.so +0 -0
  49. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_struct.so +0 -0
  50. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_typing.so +0 -0
  51. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_uuid.so +0 -0
  52. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/_zoneinfo.so +0 -0
  53. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/aiohttp/_helpers.so +0 -0
  54. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/aiohttp/_http_parser.so +0 -0
  55. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/aiohttp/_http_writer.so +0 -0
  56. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/aiohttp/_websocket.so +0 -0
  57. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/array.so +0 -0
  58. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/binascii.so +0 -0
  59. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/_width_table.so +0 -0
  60. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/brackets.so +0 -0
  61. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/cache.so +0 -0
  62. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/comments.so +0 -0
  63. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/const.so +0 -0
  64. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/handle_ipynb_magics.so +0 -0
  65. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/linegen.so +0 -0
  66. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/lines.so +0 -0
  67. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/mode.so +0 -0
  68. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/nodes.so +0 -0
  69. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/numerics.so +0 -0
  70. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/parsing.so +0 -0
  71. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/ranges.so +0 -0
  72. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/resources/black.schema.json +0 -0
  73. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/rusty.so +0 -0
  74. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/strings.so +0 -0
  75. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/black/trans.so +0 -0
  76. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/Grammar.txt +0 -0
  77. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/LICENSE +0 -0
  78. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/PatternGrammar.txt +0 -0
  79. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/README +0 -0
  80. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/pgen2/driver.so +0 -0
  81. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/pgen2/grammar.so +0 -0
  82. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/pgen2/parse.so +0 -0
  83. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/pgen2/pgen.so +0 -0
  84. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/pgen2/token.so +0 -0
  85. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/pgen2/tokenize.so +0 -0
  86. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/pygram.so +0 -0
  87. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/blib2to3/pytree.so +0 -0
  88. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/certifi/cacert.pem +0 -0
  89. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/charset_normalizer/md.so +0 -0
  90. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/charset_normalizer/md__mypyc.so +0 -0
  91. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/coding-assistant-app/dist/assets/sourcery-logo.svg +0 -0
  92. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/cryptography/hazmat/bindings/_openssl.so +0 -0
  93. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/cryptography/hazmat/bindings/_rust.so +0 -0
  94. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/fcntl.so +0 -0
  95. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/frozenlist/_frozenlist.so +0 -0
  96. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/grp.so +0 -0
  97. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/jiter/jiter.so +0 -0
  98. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/languages.so +0 -0
  99. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/lib2to3/Grammar3.11.9.final.0.pickle +0 -0
  100. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/lib2to3/PatternGrammar3.11.9.final.0.pickle +0 -0
  101. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/libcrypto.3.dylib +0 -0
  102. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/libncursesw.5.dylib +0 -0
  103. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/libssl.3.dylib +0 -0
  104. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/linguist-languages.yml +0 -0
  105. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/markupsafe/_speedups.so +0 -0
  106. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/math.so +0 -0
  107. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mmap.so +0 -0
  108. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/multidict/_multidict.so +0 -0
  109. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/errorcodes.so +0 -0
  110. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/expandtype.so +0 -0
  111. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/nodes.so +0 -0
  112. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/options.so +0 -0
  113. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/plugin.so +0 -0
  114. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/plugins/common.so +0 -0
  115. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/plugins/dataclasses.so +0 -0
  116. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/semanal.so +0 -0
  117. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/server/trigger.so +0 -0
  118. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/state.so +0 -0
  119. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/typeops.so +0 -0
  120. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/types.so +0 -0
  121. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/typevars.so +0 -0
  122. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/mypy/util.so +0 -0
  123. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/orjson/orjson.so +0 -0
  124. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/private_rules/refactorings/identity-comprehension.yaml +0 -0
  125. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/private_rules/refactorings/list-literal.yaml +0 -0
  126. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/psutil/_psutil_osx.so +0 -0
  127. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/psutil/_psutil_posix.so +0 -0
  128. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/public_rules/LICENSE +0 -0
  129. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/public_rules/README.md +0 -0
  130. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/public_rules/google-python-style-guide.yaml +0 -0
  131. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/public_rules/remove-debugging-statements.yaml +0 -0
  132. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/public_rules/use-fstring.yaml +0 -0
  133. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/pycountry/databases/iso15924.json +0 -0
  134. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/pycountry/databases/iso3166-1.json +0 -0
  135. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/pycountry/databases/iso3166-2.json +0 -0
  136. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/pycountry/databases/iso3166-3.json +0 -0
  137. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/pycountry/databases/iso4217.json +0 -0
  138. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/pycountry/databases/iso639-3.json +0 -0
  139. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/pycountry/databases/iso639-5.json +0 -0
  140. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/pydantic_core/_pydantic_core.so +0 -0
  141. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/pyexpat.so +0 -0
  142. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/readline.so +0 -0
  143. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/regex/_regex.so +0 -0
  144. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/resource.so +0 -0
  145. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/java/java-rules.yaml +0 -0
  146. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/assignment-operator.yaml +0 -0
  147. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/avoid-function-declarations-in-blocks.yaml +0 -0
  148. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/avoid-infinite-loops.yaml +0 -0
  149. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/avoid-jumping-in-finally.yaml +0 -0
  150. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/avoid-using-var.yaml +0 -0
  151. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/binary-operator-identity.yaml +0 -0
  152. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/combine-object-destructuring.yaml +0 -0
  153. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/de-morgan.yaml +0 -0
  154. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/dont-concatenate-string-literals.yaml +0 -0
  155. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/dont-negate-is-instanceof-operands.yaml +0 -0
  156. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/dont-reassign-caught-exceptions.yaml +0 -0
  157. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/dont-reassign-foreach-variables.yaml +0 -0
  158. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/dont-reassign-parameters.yaml +0 -0
  159. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/dont-self-assign-variables.yaml +0 -0
  160. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/dont-shadow-arguments.yaml +0 -0
  161. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/dont-use-with.yaml +0 -0
  162. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/dont-use-wrappers-for-builtins.yaml +0 -0
  163. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/flatten-nested-try.yaml +0 -0
  164. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/flip-comparison.yaml +0 -0
  165. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/generators-should-yield.yaml +0 -0
  166. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/inline-immediately-returned-variable.yaml +0 -0
  167. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/invert-ternary.yaml +0 -0
  168. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/max-min.yaml +0 -0
  169. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/merge-assign-operators.yaml +0 -0
  170. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/merge-else-if.yaml +0 -0
  171. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/merge_nested_ifs.yaml +0 -0
  172. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/misplaced-break-or-continue.yaml +0 -0
  173. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/no-eval.yaml +0 -0
  174. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/no-new-function.yaml +0 -0
  175. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/no-new-symbol.yaml +0 -0
  176. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/only-delete-object-properties.yaml +0 -0
  177. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/possible-incorrect-bitwise-operator.yaml +0 -0
  178. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/prefer-arrow-callback.yaml +0 -0
  179. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/remove-redundant-boolean.yaml +0 -0
  180. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/remove-redundant-if-statement.yaml +0 -0
  181. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/remove-redundant-slice-index.yaml +0 -0
  182. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/remove-unreachable-code.yaml +0 -0
  183. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/return-outside-function.yaml +0 -0
  184. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/simplify-ternary.yaml +0 -0
  185. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/throw-new-errors.yaml +0 -0
  186. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/use-array-literal.yaml +0 -0
  187. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/use-braces.yaml +0 -0
  188. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/use-object-destructuring.yaml +0 -0
  189. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/use-ternary-operator.yaml +0 -0
  190. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/while-guard-to-condition.yaml +0 -0
  191. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/wrap-immediately-invoked-function-expressions.yaml +0 -0
  192. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/javascript/yield-outside-generator.yaml +0 -0
  193. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/break-or-continue-outside-loop.yaml +0 -0
  194. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/dict-literal.yaml +0 -0
  195. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/merge-nested-ifs.yaml +0 -0
  196. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/no-complex-code-in-tests.yaml +0 -0
  197. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/or-if-exp-identity.yaml +0 -0
  198. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/pandas-chain-methods.yaml +0 -0
  199. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/raise-specific-error.yaml +0 -0
  200. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/remove-none-from-default-get.yaml +0 -0
  201. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/remove-redundant-path-exists.yaml +0 -0
  202. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/remove-unit-step-from-range.yaml +0 -0
  203. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/remove-zero-from-range.yaml +0 -0
  204. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/simplify-constant-sum.yaml +0 -0
  205. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/swap-if-expression.yaml +0 -0
  206. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/tuple-literal.yaml +0 -0
  207. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/use-iloc-for-indexing.yaml +0 -0
  208. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/use-isna.yaml +0 -0
  209. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/use-or-for-fallback.yaml +0 -0
  210. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/useless-else-on-loop.yaml +0 -0
  211. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/rules/python/while-guard-to-condition.yaml +0 -0
  212. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/select.so +0 -0
  213. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/sqlalchemy/cyextension/collections.so +0 -0
  214. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/sqlalchemy/cyextension/immutabledict.so +0 -0
  215. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/sqlalchemy/cyextension/processors.so +0 -0
  216. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/sqlalchemy/cyextension/resultproxy.so +0 -0
  217. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/sqlalchemy/cyextension/util.so +0 -0
  218. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/termios.so +0 -0
  219. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/tiktoken/_tiktoken.so +0 -0
  220. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/tomli/_parser.so +0 -0
  221. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/tree_sitter/_binding.so +0 -0
  222. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/ujson.so +0 -0
  223. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/unicodedata.so +0 -0
  224. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/wrapper.py +0 -0
  225. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/yaml/_yaml.so +0 -0
  226. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/yapf_third_party/_ylib2to3/Grammar.txt +0 -0
  227. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/yapf_third_party/_ylib2to3/PatternGrammar.txt +0 -0
  228. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/yarl/_helpers_c.so +0 -0
  229. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/yarl/_quoting_c.so +0 -0
  230. {sourcery_nightly-1.31.1b1.data → sourcery_nightly-1.31.1b5.data}/purelib/sourcery/zlib.so +0 -0
  231. {sourcery_nightly-1.31.1b1.dist-info → sourcery_nightly-1.31.1b5.dist-info}/WHEEL +0 -0
  232. {sourcery_nightly-1.31.1b1.dist-info → sourcery_nightly-1.31.1b5.dist-info}/entry_points.txt +0 -0
  233. {sourcery_nightly-1.31.1b1.dist-info → sourcery_nightly-1.31.1b5.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,839 @@
1
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();function Zn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var LT={exports:{}},yf={},PT={exports:{}},Te={};/**
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 T1=Symbol.for("react.element"),BA=Symbol.for("react.portal"),UA=Symbol.for("react.fragment"),HA=Symbol.for("react.strict_mode"),zA=Symbol.for("react.profiler"),jA=Symbol.for("react.provider"),$A=Symbol.for("react.context"),GA=Symbol.for("react.forward_ref"),VA=Symbol.for("react.suspense"),KA=Symbol.for("react.memo"),WA=Symbol.for("react.lazy"),b9=Symbol.iterator;function YA(e){return e===null||typeof e!="object"?null:(e=b9&&e[b9]||e["@@iterator"],typeof e=="function"?e:null)}var DT={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},FT=Object.assign,BT={};function fo(e,t,n){this.props=e,this.context=t,this.refs=BT,this.updater=n||DT}fo.prototype.isReactComponent={};fo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};fo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function UT(){}UT.prototype=fo.prototype;function rm(e,t,n){this.props=e,this.context=t,this.refs=BT,this.updater=n||DT}var im=rm.prototype=new UT;im.constructor=rm;FT(im,fo.prototype);im.isPureReactComponent=!0;var S9=Array.isArray,HT=Object.prototype.hasOwnProperty,am={current:null},zT={key:!0,ref:!0,__self:!0,__source:!0};function jT(e,t,n){var r,i={},a=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(a=""+t.key),t)HT.call(t,r)&&!zT.hasOwnProperty(r)&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var l=Array(o),c=0;c<o;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return{$$typeof:T1,type:e,key:a,ref:s,props:i,_owner:am.current}}function qA(e,t){return{$$typeof:T1,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function sm(e){return typeof e=="object"&&e!==null&&e.$$typeof===T1}function XA(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var A9=/\/+/g;function Nd(e,t){return typeof e=="object"&&e!==null&&e.key!=null?XA(""+e.key):t.toString(36)}function qc(e,t,n,r,i){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case T1:case BA:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Nd(s,0):r,S9(i)?(n="",e!=null&&(n=e.replace(A9,"$&/")+"/"),qc(i,t,n,"",function(c){return c})):i!=null&&(sm(i)&&(i=qA(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(A9,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",S9(e))for(var o=0;o<e.length;o++){a=e[o];var l=r+Nd(a,o);s+=qc(a,t,n,l,i)}else if(l=YA(e),typeof l=="function")for(e=l.call(e),o=0;!(a=e.next()).done;)a=a.value,l=r+Nd(a,o++),s+=qc(a,t,n,l,i);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function G1(e,t,n){if(e==null)return e;var r=[],i=0;return qc(e,r,"","",function(a){return t.call(n,a,i++)}),r}function QA(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Pt={current:null},Xc={transition:null},ZA={ReactCurrentDispatcher:Pt,ReactCurrentBatchConfig:Xc,ReactCurrentOwner:am};Te.Children={map:G1,forEach:function(e,t,n){G1(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return G1(e,function(){t++}),t},toArray:function(e){return G1(e,function(t){return t})||[]},only:function(e){if(!sm(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Te.Component=fo;Te.Fragment=UA;Te.Profiler=zA;Te.PureComponent=rm;Te.StrictMode=HA;Te.Suspense=VA;Te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ZA;Te.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=FT({},e.props),i=e.key,a=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,s=am.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var o=e.type.defaultProps;for(l in t)HT.call(t,l)&&!zT.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&o!==void 0?o[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){o=Array(l);for(var c=0;c<l;c++)o[c]=arguments[c+2];r.children=o}return{$$typeof:T1,type:e.type,key:i,ref:a,props:r,_owner:s}};Te.createContext=function(e){return e={$$typeof:$A,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:jA,_context:e},e.Consumer=e};Te.createElement=jT;Te.createFactory=function(e){var t=jT.bind(null,e);return t.type=e,t};Te.createRef=function(){return{current:null}};Te.forwardRef=function(e){return{$$typeof:GA,render:e}};Te.isValidElement=sm;Te.lazy=function(e){return{$$typeof:WA,_payload:{_status:-1,_result:e},_init:QA}};Te.memo=function(e,t){return{$$typeof:KA,type:e,compare:t===void 0?null:t}};Te.startTransition=function(e){var t=Xc.transition;Xc.transition={};try{e()}finally{Xc.transition=t}};Te.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};Te.useCallback=function(e,t){return Pt.current.useCallback(e,t)};Te.useContext=function(e){return Pt.current.useContext(e)};Te.useDebugValue=function(){};Te.useDeferredValue=function(e){return Pt.current.useDeferredValue(e)};Te.useEffect=function(e,t){return Pt.current.useEffect(e,t)};Te.useId=function(){return Pt.current.useId()};Te.useImperativeHandle=function(e,t,n){return Pt.current.useImperativeHandle(e,t,n)};Te.useInsertionEffect=function(e,t){return Pt.current.useInsertionEffect(e,t)};Te.useLayoutEffect=function(e,t){return Pt.current.useLayoutEffect(e,t)};Te.useMemo=function(e,t){return Pt.current.useMemo(e,t)};Te.useReducer=function(e,t,n){return Pt.current.useReducer(e,t,n)};Te.useRef=function(e){return Pt.current.useRef(e)};Te.useState=function(e){return Pt.current.useState(e)};Te.useSyncExternalStore=function(e,t,n){return Pt.current.useSyncExternalStore(e,t,n)};Te.useTransition=function(){return Pt.current.useTransition()};Te.version="18.2.0";PT.exports=Te;var L=PT.exports;const Yn=Zn(L);/**
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 JA=L,ex=Symbol.for("react.element"),tx=Symbol.for("react.fragment"),nx=Object.prototype.hasOwnProperty,rx=JA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ix={key:!0,ref:!0,__self:!0,__source:!0};function $T(e,t,n){var r,i={},a=null,s=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)nx.call(t,r)&&!ix.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:ex,type:e,key:a,ref:s,props:i,_owner:rx.current}}yf.Fragment=tx;yf.jsx=$T;yf.jsxs=$T;LT.exports=yf;var y=LT.exports,o0={},GT={exports:{}},hn={},VT={exports:{}},KT={};/**
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
+ */(function(e){function t(M,H){var x=M.length;M.push(H);e:for(;0<x;){var j=x-1>>>1,te=M[j];if(0<i(te,H))M[j]=H,M[x]=te,x=j;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var H=M[0],x=M.pop();if(x!==H){M[0]=x;e:for(var j=0,te=M.length,C=te>>>1;j<C;){var ge=2*(j+1)-1,pe=M[ge],se=ge+1,je=M[se];if(0>i(pe,x))se<te&&0>i(je,pe)?(M[j]=je,M[se]=x,j=se):(M[j]=pe,M[ge]=x,j=ge);else if(se<te&&0>i(je,x))M[j]=je,M[se]=x,j=se;else break e}}return H}function i(M,H){var x=M.sortIndex-H.sortIndex;return x!==0?x:M.id-H.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,o=s.now();e.unstable_now=function(){return s.now()-o}}var l=[],c=[],u=1,f=null,d=3,h=!1,g=!1,E=!1,b=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _(M){for(var H=n(c);H!==null;){if(H.callback===null)r(c);else if(H.startTime<=M)r(c),H.sortIndex=H.expirationTime,t(l,H);else break;H=n(c)}}function v(M){if(E=!1,_(M),!g)if(n(l)!==null)g=!0,ae(N);else{var H=n(c);H!==null&&B(v,H.startTime-M)}}function N(M,H){g=!1,E&&(E=!1,m(k),k=-1),h=!0;var x=d;try{for(_(H),f=n(l);f!==null&&(!(f.expirationTime>H)||M&&!D());){var j=f.callback;if(typeof j=="function"){f.callback=null,d=f.priorityLevel;var te=j(f.expirationTime<=H);H=e.unstable_now(),typeof te=="function"?f.callback=te:f===n(l)&&r(l),_(H)}else r(l);f=n(l)}if(f!==null)var C=!0;else{var ge=n(c);ge!==null&&B(v,ge.startTime-H),C=!1}return C}finally{f=null,d=x,h=!1}}var S=!1,A=null,k=-1,I=5,P=-1;function D(){return!(e.unstable_now()-P<I)}function z(){if(A!==null){var M=e.unstable_now();P=M;var H=!0;try{H=A(!0,M)}finally{H?X():(S=!1,A=null)}}else S=!1}var X;if(typeof T=="function")X=function(){T(z)};else if(typeof MessageChannel<"u"){var Q=new MessageChannel,Y=Q.port2;Q.port1.onmessage=z,X=function(){Y.postMessage(null)}}else X=function(){b(z,0)};function ae(M){A=M,S||(S=!0,X())}function B(M,H){k=b(function(){M(e.unstable_now())},H)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_continueExecution=function(){g||h||(g=!0,ae(N))},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(M){switch(d){case 1:case 2:case 3:var H=3;break;default:H=d}var x=d;d=H;try{return M()}finally{d=x}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(M,H){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var x=d;d=M;try{return H()}finally{d=x}},e.unstable_scheduleCallback=function(M,H,x){var j=e.unstable_now();switch(typeof x=="object"&&x!==null?(x=x.delay,x=typeof x=="number"&&0<x?j+x:j):x=j,M){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=x+te,M={id:u++,callback:H,priorityLevel:M,startTime:x,expirationTime:te,sortIndex:-1},x>j?(M.sortIndex=x,t(c,M),n(l)===null&&M===n(c)&&(E?(m(k),k=-1):E=!0,B(v,x-j))):(M.sortIndex=te,t(l,M),g||h||(g=!0,ae(N))),M},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(M){var H=d;return function(){var x=d;d=H;try{return M.apply(this,arguments)}finally{d=x}}}})(KT);VT.exports=KT;var ax=VT.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 WT=L,ln=ax;function $(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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 YT=new Set,Rl={};function ja(e,t){Vs(e,t),Vs(e+"Capture",t)}function Vs(e,t){for(Rl[e]=t,e=0;e<t.length;e++)YT.add(t[e])}var Gr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),l0=Object.prototype.hasOwnProperty,sx=/^[: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]*$/,x9={},N9={};function ox(e){return l0.call(N9,e)?!0:l0.call(x9,e)?!1:sx.test(e)?N9[e]=!0:(x9[e]=!0,!1)}function lx(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function cx(e,t,n,r){if(t===null||typeof t>"u"||lx(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.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 Dt(e,t,n,r,i,a,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}var St={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){St[e]=new Dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];St[t]=new Dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){St[e]=new Dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){St[e]=new Dt(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){St[e]=new Dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){St[e]=new Dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){St[e]=new Dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){St[e]=new Dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){St[e]=new Dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var om=/[\-:]([a-z])/g;function lm(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(om,lm);St[t]=new Dt(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(om,lm);St[t]=new Dt(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(om,lm);St[t]=new Dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){St[e]=new Dt(e,1,!1,e.toLowerCase(),null,!1,!1)});St.xlinkHref=new Dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){St[e]=new Dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function cm(e,t,n,r){var i=St.hasOwnProperty(t)?St[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(cx(t,n,i,r)&&(n=null),r||i===null?ox(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var ei=WT.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V1=Symbol.for("react.element"),ds=Symbol.for("react.portal"),hs=Symbol.for("react.fragment"),um=Symbol.for("react.strict_mode"),c0=Symbol.for("react.profiler"),qT=Symbol.for("react.provider"),XT=Symbol.for("react.context"),fm=Symbol.for("react.forward_ref"),u0=Symbol.for("react.suspense"),f0=Symbol.for("react.suspense_list"),dm=Symbol.for("react.memo"),Ei=Symbol.for("react.lazy"),QT=Symbol.for("react.offscreen"),w9=Symbol.iterator;function No(e){return e===null||typeof e!="object"?null:(e=w9&&e[w9]||e["@@iterator"],typeof e=="function"?e:null)}var Xe=Object.assign,wd;function Yo(e){if(wd===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);wd=t&&t[1]||""}return`
34
+ `+wd+e}var Cd=!1;function kd(e,t){if(!e||Cd)return"";Cd=!0;var n=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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(`
35
+ `),a=r.stack.split(`
36
+ `),s=i.length-1,o=a.length-1;1<=s&&0<=o&&i[s]!==a[o];)o--;for(;1<=s&&0<=o;s--,o--)if(i[s]!==a[o]){if(s!==1||o!==1)do if(s--,o--,0>o||i[s]!==a[o]){var l=`
37
+ `+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=o);break}}}finally{Cd=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Yo(e):""}function ux(e){switch(e.tag){case 5:return Yo(e.type);case 16:return Yo("Lazy");case 13:return Yo("Suspense");case 19:return Yo("SuspenseList");case 0:case 2:case 15:return e=kd(e.type,!1),e;case 11:return e=kd(e.type.render,!1),e;case 1:return e=kd(e.type,!0),e;default:return""}}function d0(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 hs:return"Fragment";case ds:return"Portal";case c0:return"Profiler";case um:return"StrictMode";case u0:return"Suspense";case f0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case XT:return(e.displayName||"Context")+".Consumer";case qT:return(e._context.displayName||"Context")+".Provider";case fm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case dm:return t=e.displayName||null,t!==null?t:d0(e.type)||"Memo";case Ei:t=e._payload,e=e._init;try{return d0(e(t))}catch{}}return null}function fx(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 d0(t);case 8:return t===um?"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 ji(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ZT(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function dx(e){var t=ZT(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,a.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function K1(e){e._valueTracker||(e._valueTracker=dx(e))}function JT(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ZT(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function vu(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 h0(e,t){var n=t.checked;return Xe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function C9(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ji(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ey(e,t){t=t.checked,t!=null&&cm(e,"checked",t,!1)}function p0(e,t){ey(e,t);var n=ji(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?m0(e,t.type,n):t.hasOwnProperty("defaultValue")&&m0(e,t.type,ji(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function k9(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function m0(e,t,n){(t!=="number"||vu(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var qo=Array.isArray;function Ps(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ji(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function g0(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error($(91));return Xe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function O9(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error($(92));if(qo(n)){if(1<n.length)throw Error($(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:ji(n)}}function ty(e,t){var n=ji(t.value),r=ji(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function R9(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function ny(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 E0(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ny(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var W1,ry=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(W1=W1||document.createElement("div"),W1.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=W1.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Il(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var rl={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},hx=["Webkit","ms","Moz","O"];Object.keys(rl).forEach(function(e){hx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),rl[t]=rl[e]})});function iy(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||rl.hasOwnProperty(e)&&rl[e]?(""+t).trim():t+"px"}function ay(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=iy(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var px=Xe({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 _0(e,t){if(t){if(px[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error($(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error($(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error($(61))}if(t.style!=null&&typeof t.style!="object")throw Error($(62))}}function T0(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 y0=null;function hm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var v0=null,Ds=null,Fs=null;function I9(e){if(e=b1(e)){if(typeof v0!="function")throw Error($(280));var t=e.stateNode;t&&(t=xf(t),v0(e.stateNode,e.type,t))}}function sy(e){Ds?Fs?Fs.push(e):Fs=[e]:Ds=e}function oy(){if(Ds){var e=Ds,t=Fs;if(Fs=Ds=null,I9(e),t)for(e=0;e<t.length;e++)I9(t[e])}}function ly(e,t){return e(t)}function cy(){}var Od=!1;function uy(e,t,n){if(Od)return e(t,n);Od=!0;try{return ly(e,t,n)}finally{Od=!1,(Ds!==null||Fs!==null)&&(cy(),oy())}}function Ml(e,t){var n=e.stateNode;if(n===null)return null;var r=xf(n);if(r===null)return null;n=r[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":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error($(231,t,typeof n));return n}var b0=!1;if(Gr)try{var wo={};Object.defineProperty(wo,"passive",{get:function(){b0=!0}}),window.addEventListener("test",wo,wo),window.removeEventListener("test",wo,wo)}catch{b0=!1}function mx(e,t,n,r,i,a,s,o,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var il=!1,bu=null,Su=!1,S0=null,gx={onError:function(e){il=!0,bu=e}};function Ex(e,t,n,r,i,a,s,o,l){il=!1,bu=null,mx.apply(gx,arguments)}function _x(e,t,n,r,i,a,s,o,l){if(Ex.apply(this,arguments),il){if(il){var c=bu;il=!1,bu=null}else throw Error($(198));Su||(Su=!0,S0=c)}}function $a(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function fy(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 M9(e){if($a(e)!==e)throw Error($(188))}function Tx(e){var t=e.alternate;if(!t){if(t=$a(e),t===null)throw Error($(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return M9(i),e;if(a===r)return M9(i),t;a=a.sibling}throw Error($(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,o=i.child;o;){if(o===n){s=!0,n=i,r=a;break}if(o===r){s=!0,r=i,n=a;break}o=o.sibling}if(!s){for(o=a.child;o;){if(o===n){s=!0,n=a,r=i;break}if(o===r){s=!0,r=a,n=i;break}o=o.sibling}if(!s)throw Error($(189))}}if(n.alternate!==r)throw Error($(190))}if(n.tag!==3)throw Error($(188));return n.stateNode.current===n?e:t}function dy(e){return e=Tx(e),e!==null?hy(e):null}function hy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=hy(e);if(t!==null)return t;e=e.sibling}return null}var py=ln.unstable_scheduleCallback,L9=ln.unstable_cancelCallback,yx=ln.unstable_shouldYield,vx=ln.unstable_requestPaint,rt=ln.unstable_now,bx=ln.unstable_getCurrentPriorityLevel,pm=ln.unstable_ImmediatePriority,my=ln.unstable_UserBlockingPriority,Au=ln.unstable_NormalPriority,Sx=ln.unstable_LowPriority,gy=ln.unstable_IdlePriority,vf=null,hr=null;function Ax(e){if(hr&&typeof hr.onCommitFiberRoot=="function")try{hr.onCommitFiberRoot(vf,e,void 0,(e.current.flags&128)===128)}catch{}}var qn=Math.clz32?Math.clz32:wx,xx=Math.log,Nx=Math.LN2;function wx(e){return e>>>=0,e===0?32:31-(xx(e)/Nx|0)|0}var Y1=64,q1=4194304;function Xo(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 xu(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,s=n&268435455;if(s!==0){var o=s&~i;o!==0?r=Xo(o):(a&=s,a!==0&&(r=Xo(a)))}else s=n&~i,s!==0?r=Xo(s):a!==0&&(r=Xo(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-qn(t),i=1<<n,r|=e[n],t&=~i;return r}function Cx(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 kx(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-qn(a),o=1<<s,l=i[s];l===-1?(!(o&n)||o&r)&&(i[s]=Cx(o,t)):l<=t&&(e.expiredLanes|=o),a&=~o}}function A0(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Ey(){var e=Y1;return Y1<<=1,!(Y1&4194240)&&(Y1=64),e}function Rd(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function y1(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qn(t),e[t]=n}function Ox(e,t){var n=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 r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-qn(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function mm(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-qn(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var we=0;function _y(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ty,gm,yy,vy,by,x0=!1,X1=[],ki=null,Oi=null,Ri=null,Ll=new Map,Pl=new Map,vi=[],Rx="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 P9(e,t){switch(e){case"focusin":case"focusout":ki=null;break;case"dragenter":case"dragleave":Oi=null;break;case"mouseover":case"mouseout":Ri=null;break;case"pointerover":case"pointerout":Ll.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pl.delete(t.pointerId)}}function Co(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=b1(t),t!==null&&gm(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ix(e,t,n,r,i){switch(t){case"focusin":return ki=Co(ki,e,t,n,r,i),!0;case"dragenter":return Oi=Co(Oi,e,t,n,r,i),!0;case"mouseover":return Ri=Co(Ri,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Ll.set(a,Co(Ll.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Pl.set(a,Co(Pl.get(a)||null,e,t,n,r,i)),!0}return!1}function Sy(e){var t=ma(e.target);if(t!==null){var n=$a(t);if(n!==null){if(t=n.tag,t===13){if(t=fy(n),t!==null){e.blockedOn=t,by(e.priority,function(){yy(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Qc(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=N0(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);y0=r,n.target.dispatchEvent(r),y0=null}else return t=b1(n),t!==null&&gm(t),e.blockedOn=n,!1;t.shift()}return!0}function D9(e,t,n){Qc(e)&&n.delete(t)}function Mx(){x0=!1,ki!==null&&Qc(ki)&&(ki=null),Oi!==null&&Qc(Oi)&&(Oi=null),Ri!==null&&Qc(Ri)&&(Ri=null),Ll.forEach(D9),Pl.forEach(D9)}function ko(e,t){e.blockedOn===t&&(e.blockedOn=null,x0||(x0=!0,ln.unstable_scheduleCallback(ln.unstable_NormalPriority,Mx)))}function Dl(e){function t(i){return ko(i,e)}if(0<X1.length){ko(X1[0],e);for(var n=1;n<X1.length;n++){var r=X1[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ki!==null&&ko(ki,e),Oi!==null&&ko(Oi,e),Ri!==null&&ko(Ri,e),Ll.forEach(t),Pl.forEach(t),n=0;n<vi.length;n++)r=vi[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<vi.length&&(n=vi[0],n.blockedOn===null);)Sy(n),n.blockedOn===null&&vi.shift()}var Bs=ei.ReactCurrentBatchConfig,Nu=!0;function Lx(e,t,n,r){var i=we,a=Bs.transition;Bs.transition=null;try{we=1,Em(e,t,n,r)}finally{we=i,Bs.transition=a}}function Px(e,t,n,r){var i=we,a=Bs.transition;Bs.transition=null;try{we=4,Em(e,t,n,r)}finally{we=i,Bs.transition=a}}function Em(e,t,n,r){if(Nu){var i=N0(e,t,n,r);if(i===null)zd(e,t,r,wu,n),P9(e,r);else if(Ix(i,e,t,n,r))r.stopPropagation();else if(P9(e,r),t&4&&-1<Rx.indexOf(e)){for(;i!==null;){var a=b1(i);if(a!==null&&Ty(a),a=N0(e,t,n,r),a===null&&zd(e,t,r,wu,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else zd(e,t,r,null,n)}}var wu=null;function N0(e,t,n,r){if(wu=null,e=hm(r),e=ma(e),e!==null)if(t=$a(e),t===null)e=null;else if(n=t.tag,n===13){if(e=fy(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return wu=e,null}function Ay(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(bx()){case pm:return 1;case my:return 4;case Au:case Sx:return 16;case gy:return 536870912;default:return 16}default:return 16}}var Ai=null,_m=null,Zc=null;function xy(){if(Zc)return Zc;var e,t=_m,n=t.length,r,i="value"in Ai?Ai.value:Ai.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[a-r];r++);return Zc=i.slice(e,1<r?1-r:void 0)}function Jc(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 Q1(){return!0}function F9(){return!1}function pn(e){function t(n,r,i,a,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=a,this.target=s,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(n=e[o],this[o]=n?n(a):a[o]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?Q1:F9,this.isPropagationStopped=F9,this}return Xe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Q1)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Q1)},persist:function(){},isPersistent:Q1}),t}var ho={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tm=pn(ho),v1=Xe({},ho,{view:0,detail:0}),Dx=pn(v1),Id,Md,Oo,bf=Xe({},v1,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ym,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!==Oo&&(Oo&&e.type==="mousemove"?(Id=e.screenX-Oo.screenX,Md=e.screenY-Oo.screenY):Md=Id=0,Oo=e),Id)},movementY:function(e){return"movementY"in e?e.movementY:Md}}),B9=pn(bf),Fx=Xe({},bf,{dataTransfer:0}),Bx=pn(Fx),Ux=Xe({},v1,{relatedTarget:0}),Ld=pn(Ux),Hx=Xe({},ho,{animationName:0,elapsedTime:0,pseudoElement:0}),zx=pn(Hx),jx=Xe({},ho,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$x=pn(jx),Gx=Xe({},ho,{data:0}),U9=pn(Gx),Vx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Kx={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"},Wx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Wx[e])?!!t[e]:!1}function ym(){return Yx}var qx=Xe({},v1,{key:function(e){if(e.key){var t=Vx[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Jc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Kx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ym,charCode:function(e){return e.type==="keypress"?Jc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Jc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Xx=pn(qx),Qx=Xe({},bf,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),H9=pn(Qx),Zx=Xe({},v1,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ym}),Jx=pn(Zx),eN=Xe({},ho,{propertyName:0,elapsedTime:0,pseudoElement:0}),tN=pn(eN),nN=Xe({},bf,{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}),rN=pn(nN),iN=[9,13,27,32],vm=Gr&&"CompositionEvent"in window,al=null;Gr&&"documentMode"in document&&(al=document.documentMode);var aN=Gr&&"TextEvent"in window&&!al,Ny=Gr&&(!vm||al&&8<al&&11>=al),z9=String.fromCharCode(32),j9=!1;function wy(e,t){switch(e){case"keyup":return iN.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ps=!1;function sN(e,t){switch(e){case"compositionend":return Cy(t);case"keypress":return t.which!==32?null:(j9=!0,z9);case"textInput":return e=t.data,e===z9&&j9?null:e;default:return null}}function oN(e,t){if(ps)return e==="compositionend"||!vm&&wy(e,t)?(e=xy(),Zc=_m=Ai=null,ps=!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 Ny&&t.locale!=="ko"?null:t.data;default:return null}}var lN={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 $9(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!lN[e.type]:t==="textarea"}function ky(e,t,n,r){sy(r),t=Cu(t,"onChange"),0<t.length&&(n=new Tm("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var sl=null,Fl=null;function cN(e){Hy(e,0)}function Sf(e){var t=Es(e);if(JT(t))return e}function uN(e,t){if(e==="change")return t}var Oy=!1;if(Gr){var Pd;if(Gr){var Dd="oninput"in document;if(!Dd){var G9=document.createElement("div");G9.setAttribute("oninput","return;"),Dd=typeof G9.oninput=="function"}Pd=Dd}else Pd=!1;Oy=Pd&&(!document.documentMode||9<document.documentMode)}function V9(){sl&&(sl.detachEvent("onpropertychange",Ry),Fl=sl=null)}function Ry(e){if(e.propertyName==="value"&&Sf(Fl)){var t=[];ky(t,Fl,e,hm(e)),uy(cN,t)}}function fN(e,t,n){e==="focusin"?(V9(),sl=t,Fl=n,sl.attachEvent("onpropertychange",Ry)):e==="focusout"&&V9()}function dN(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Sf(Fl)}function hN(e,t){if(e==="click")return Sf(t)}function pN(e,t){if(e==="input"||e==="change")return Sf(t)}function mN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Qn=typeof Object.is=="function"?Object.is:mN;function Bl(e,t){if(Qn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!l0.call(t,i)||!Qn(e[i],t[i]))return!1}return!0}function K9(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function W9(e,t){var n=K9(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=K9(n)}}function Iy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Iy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function My(){for(var e=window,t=vu();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=vu(e.document)}return t}function bm(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 gN(e){var t=My(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Iy(n.ownerDocument.documentElement,n)){if(r!==null&&bm(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=W9(n,a);var s=W9(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var EN=Gr&&"documentMode"in document&&11>=document.documentMode,ms=null,w0=null,ol=null,C0=!1;function Y9(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;C0||ms==null||ms!==vu(r)||(r=ms,"selectionStart"in r&&bm(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ol&&Bl(ol,r)||(ol=r,r=Cu(w0,"onSelect"),0<r.length&&(t=new Tm("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ms)))}function Z1(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var gs={animationend:Z1("Animation","AnimationEnd"),animationiteration:Z1("Animation","AnimationIteration"),animationstart:Z1("Animation","AnimationStart"),transitionend:Z1("Transition","TransitionEnd")},Fd={},Ly={};Gr&&(Ly=document.createElement("div").style,"AnimationEvent"in window||(delete gs.animationend.animation,delete gs.animationiteration.animation,delete gs.animationstart.animation),"TransitionEvent"in window||delete gs.transitionend.transition);function Af(e){if(Fd[e])return Fd[e];if(!gs[e])return e;var t=gs[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ly)return Fd[e]=t[n];return e}var Py=Af("animationend"),Dy=Af("animationiteration"),Fy=Af("animationstart"),By=Af("transitionend"),Uy=new Map,q9="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 qi(e,t){Uy.set(e,t),ja(t,[e])}for(var Bd=0;Bd<q9.length;Bd++){var Ud=q9[Bd],_N=Ud.toLowerCase(),TN=Ud[0].toUpperCase()+Ud.slice(1);qi(_N,"on"+TN)}qi(Py,"onAnimationEnd");qi(Dy,"onAnimationIteration");qi(Fy,"onAnimationStart");qi("dblclick","onDoubleClick");qi("focusin","onFocus");qi("focusout","onBlur");qi(By,"onTransitionEnd");Vs("onMouseEnter",["mouseout","mouseover"]);Vs("onMouseLeave",["mouseout","mouseover"]);Vs("onPointerEnter",["pointerout","pointerover"]);Vs("onPointerLeave",["pointerout","pointerover"]);ja("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ja("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ja("onBeforeInput",["compositionend","keypress","textInput","paste"]);ja("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ja("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ja("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qo="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(" "),yN=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qo));function X9(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,_x(r,t,void 0,e),e.currentTarget=null}function Hy(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var s=r.length-1;0<=s;s--){var o=r[s],l=o.instance,c=o.currentTarget;if(o=o.listener,l!==a&&i.isPropagationStopped())break e;X9(i,o,c),a=l}else for(s=0;s<r.length;s++){if(o=r[s],l=o.instance,c=o.currentTarget,o=o.listener,l!==a&&i.isPropagationStopped())break e;X9(i,o,c),a=l}}}if(Su)throw e=S0,Su=!1,S0=null,e}function De(e,t){var n=t[M0];n===void 0&&(n=t[M0]=new Set);var r=e+"__bubble";n.has(r)||(zy(t,e,2,!1),n.add(r))}function Hd(e,t,n){var r=0;t&&(r|=4),zy(n,e,r,t)}var J1="_reactListening"+Math.random().toString(36).slice(2);function Ul(e){if(!e[J1]){e[J1]=!0,YT.forEach(function(n){n!=="selectionchange"&&(yN.has(n)||Hd(n,!1,e),Hd(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[J1]||(t[J1]=!0,Hd("selectionchange",!1,t))}}function zy(e,t,n,r){switch(Ay(t)){case 1:var i=Lx;break;case 4:i=Px;break;default:i=Em}n=i.bind(null,t,n,e),i=void 0,!b0||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function zd(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var o=r.stateNode.containerInfo;if(o===i||o.nodeType===8&&o.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;s=s.return}for(;o!==null;){if(s=ma(o),s===null)return;if(l=s.tag,l===5||l===6){r=a=s;continue e}o=o.parentNode}}r=r.return}uy(function(){var c=a,u=hm(n),f=[];e:{var d=Uy.get(e);if(d!==void 0){var h=Tm,g=e;switch(e){case"keypress":if(Jc(n)===0)break e;case"keydown":case"keyup":h=Xx;break;case"focusin":g="focus",h=Ld;break;case"focusout":g="blur",h=Ld;break;case"beforeblur":case"afterblur":h=Ld;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=B9;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Bx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Jx;break;case Py:case Dy:case Fy:h=zx;break;case By:h=tN;break;case"scroll":h=Dx;break;case"wheel":h=rN;break;case"copy":case"cut":case"paste":h=$x;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=H9}var E=(t&4)!==0,b=!E&&e==="scroll",m=E?d!==null?d+"Capture":null:d;E=[];for(var T=c,_;T!==null;){_=T;var v=_.stateNode;if(_.tag===5&&v!==null&&(_=v,m!==null&&(v=Ml(T,m),v!=null&&E.push(Hl(T,v,_)))),b)break;T=T.return}0<E.length&&(d=new h(d,g,null,n,u),f.push({event:d,listeners:E}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",d&&n!==y0&&(g=n.relatedTarget||n.fromElement)&&(ma(g)||g[Vr]))break e;if((h||d)&&(d=u.window===u?u:(d=u.ownerDocument)?d.defaultView||d.parentWindow:window,h?(g=n.relatedTarget||n.toElement,h=c,g=g?ma(g):null,g!==null&&(b=$a(g),g!==b||g.tag!==5&&g.tag!==6)&&(g=null)):(h=null,g=c),h!==g)){if(E=B9,v="onMouseLeave",m="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(E=H9,v="onPointerLeave",m="onPointerEnter",T="pointer"),b=h==null?d:Es(h),_=g==null?d:Es(g),d=new E(v,T+"leave",h,n,u),d.target=b,d.relatedTarget=_,v=null,ma(u)===c&&(E=new E(m,T+"enter",g,n,u),E.target=_,E.relatedTarget=b,v=E),b=v,h&&g)t:{for(E=h,m=g,T=0,_=E;_;_=es(_))T++;for(_=0,v=m;v;v=es(v))_++;for(;0<T-_;)E=es(E),T--;for(;0<_-T;)m=es(m),_--;for(;T--;){if(E===m||m!==null&&E===m.alternate)break t;E=es(E),m=es(m)}E=null}else E=null;h!==null&&Q9(f,d,h,E,!1),g!==null&&b!==null&&Q9(f,b,g,E,!0)}}e:{if(d=c?Es(c):window,h=d.nodeName&&d.nodeName.toLowerCase(),h==="select"||h==="input"&&d.type==="file")var N=uN;else if($9(d))if(Oy)N=pN;else{N=dN;var S=fN}else(h=d.nodeName)&&h.toLowerCase()==="input"&&(d.type==="checkbox"||d.type==="radio")&&(N=hN);if(N&&(N=N(e,c))){ky(f,N,n,u);break e}S&&S(e,d,c),e==="focusout"&&(S=d._wrapperState)&&S.controlled&&d.type==="number"&&m0(d,"number",d.value)}switch(S=c?Es(c):window,e){case"focusin":($9(S)||S.contentEditable==="true")&&(ms=S,w0=c,ol=null);break;case"focusout":ol=w0=ms=null;break;case"mousedown":C0=!0;break;case"contextmenu":case"mouseup":case"dragend":C0=!1,Y9(f,n,u);break;case"selectionchange":if(EN)break;case"keydown":case"keyup":Y9(f,n,u)}var A;if(vm)e:{switch(e){case"compositionstart":var k="onCompositionStart";break e;case"compositionend":k="onCompositionEnd";break e;case"compositionupdate":k="onCompositionUpdate";break e}k=void 0}else ps?wy(e,n)&&(k="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(k="onCompositionStart");k&&(Ny&&n.locale!=="ko"&&(ps||k!=="onCompositionStart"?k==="onCompositionEnd"&&ps&&(A=xy()):(Ai=u,_m="value"in Ai?Ai.value:Ai.textContent,ps=!0)),S=Cu(c,k),0<S.length&&(k=new U9(k,e,null,n,u),f.push({event:k,listeners:S}),A?k.data=A:(A=Cy(n),A!==null&&(k.data=A)))),(A=aN?sN(e,n):oN(e,n))&&(c=Cu(c,"onBeforeInput"),0<c.length&&(u=new U9("onBeforeInput","beforeinput",null,n,u),f.push({event:u,listeners:c}),u.data=A))}Hy(f,t)})}function Hl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Cu(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=Ml(e,n),a!=null&&r.unshift(Hl(e,a,i)),a=Ml(e,t),a!=null&&r.push(Hl(e,a,i))),e=e.return}return r}function es(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Q9(e,t,n,r,i){for(var a=t._reactName,s=[];n!==null&&n!==r;){var o=n,l=o.alternate,c=o.stateNode;if(l!==null&&l===r)break;o.tag===5&&c!==null&&(o=c,i?(l=Ml(n,a),l!=null&&s.unshift(Hl(n,l,o))):i||(l=Ml(n,a),l!=null&&s.push(Hl(n,l,o)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var vN=/\r\n?/g,bN=/\u0000|\uFFFD/g;function Z9(e){return(typeof e=="string"?e:""+e).replace(vN,`
38
+ `).replace(bN,"")}function ec(e,t,n){if(t=Z9(t),Z9(e)!==t&&n)throw Error($(425))}function ku(){}var k0=null,O0=null;function R0(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 I0=typeof setTimeout=="function"?setTimeout:void 0,SN=typeof clearTimeout=="function"?clearTimeout:void 0,J9=typeof Promise=="function"?Promise:void 0,AN=typeof queueMicrotask=="function"?queueMicrotask:typeof J9<"u"?function(e){return J9.resolve(null).then(e).catch(xN)}:I0;function xN(e){setTimeout(function(){throw e})}function jd(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Dl(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Dl(t)}function Ii(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 e5(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),lr="__reactFiber$"+po,zl="__reactProps$"+po,Vr="__reactContainer$"+po,M0="__reactEvents$"+po,NN="__reactListeners$"+po,wN="__reactHandles$"+po;function ma(e){var t=e[lr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Vr]||n[lr]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=e5(e);e!==null;){if(n=e[lr])return n;e=e5(e)}return t}e=n,n=e.parentNode}return null}function b1(e){return e=e[lr]||e[Vr],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Es(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error($(33))}function xf(e){return e[zl]||null}var L0=[],_s=-1;function Xi(e){return{current:e}}function Ue(e){0>_s||(e.current=L0[_s],L0[_s]=null,_s--)}function Ie(e,t){_s++,L0[_s]=e.current,e.current=t}var $i={},Ot=Xi($i),Gt=Xi(!1),ka=$i;function Ks(e,t){var n=e.type.contextTypes;if(!n)return $i;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Vt(e){return e=e.childContextTypes,e!=null}function Ou(){Ue(Gt),Ue(Ot)}function t5(e,t,n){if(Ot.current!==$i)throw Error($(168));Ie(Ot,t),Ie(Gt,n)}function jy(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error($(108,fx(e)||"Unknown",i));return Xe({},n,r)}function Ru(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||$i,ka=Ot.current,Ie(Ot,e),Ie(Gt,Gt.current),!0}function n5(e,t,n){var r=e.stateNode;if(!r)throw Error($(169));n?(e=jy(e,t,ka),r.__reactInternalMemoizedMergedChildContext=e,Ue(Gt),Ue(Ot),Ie(Ot,e)):Ue(Gt),Ie(Gt,n)}var Lr=null,Nf=!1,$d=!1;function $y(e){Lr===null?Lr=[e]:Lr.push(e)}function CN(e){Nf=!0,$y(e)}function Qi(){if(!$d&&Lr!==null){$d=!0;var e=0,t=we;try{var n=Lr;for(we=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Lr=null,Nf=!1}catch(i){throw Lr!==null&&(Lr=Lr.slice(e+1)),py(pm,Qi),i}finally{we=t,$d=!1}}return null}var Ts=[],ys=0,Iu=null,Mu=0,Tn=[],yn=0,Oa=null,Fr=1,Br="";function la(e,t){Ts[ys++]=Mu,Ts[ys++]=Iu,Iu=e,Mu=t}function Gy(e,t,n){Tn[yn++]=Fr,Tn[yn++]=Br,Tn[yn++]=Oa,Oa=e;var r=Fr;e=Br;var i=32-qn(r)-1;r&=~(1<<i),n+=1;var a=32-qn(t)+i;if(30<a){var s=i-i%5;a=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Fr=1<<32-qn(t)+i|n<<i|r,Br=a+e}else Fr=1<<a|n<<i|r,Br=e}function Sm(e){e.return!==null&&(la(e,1),Gy(e,1,0))}function Am(e){for(;e===Iu;)Iu=Ts[--ys],Ts[ys]=null,Mu=Ts[--ys],Ts[ys]=null;for(;e===Oa;)Oa=Tn[--yn],Tn[yn]=null,Br=Tn[--yn],Tn[yn]=null,Fr=Tn[--yn],Tn[yn]=null}var on=null,rn=null,Ge=!1,Gn=null;function Vy(e,t){var n=Sn(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function r5(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,on=e,rn=Ii(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,on=e,rn=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Oa!==null?{id:Fr,overflow:Br}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Sn(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,on=e,rn=null,!0):!1;default:return!1}}function P0(e){return(e.mode&1)!==0&&(e.flags&128)===0}function D0(e){if(Ge){var t=rn;if(t){var n=t;if(!r5(e,t)){if(P0(e))throw Error($(418));t=Ii(n.nextSibling);var r=on;t&&r5(e,t)?Vy(r,n):(e.flags=e.flags&-4097|2,Ge=!1,on=e)}}else{if(P0(e))throw Error($(418));e.flags=e.flags&-4097|2,Ge=!1,on=e}}}function i5(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;on=e}function tc(e){if(e!==on)return!1;if(!Ge)return i5(e),Ge=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!R0(e.type,e.memoizedProps)),t&&(t=rn)){if(P0(e))throw Ky(),Error($(418));for(;t;)Vy(e,t),t=Ii(t.nextSibling)}if(i5(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error($(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){rn=Ii(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}rn=null}}else rn=on?Ii(e.stateNode.nextSibling):null;return!0}function Ky(){for(var e=rn;e;)e=Ii(e.nextSibling)}function Ws(){rn=on=null,Ge=!1}function xm(e){Gn===null?Gn=[e]:Gn.push(e)}var kN=ei.ReactCurrentBatchConfig;function jn(e,t){if(e&&e.defaultProps){t=Xe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Lu=Xi(null),Pu=null,vs=null,Nm=null;function wm(){Nm=vs=Pu=null}function Cm(e){var t=Lu.current;Ue(Lu),e._currentValue=t}function F0(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Us(e,t){Pu=e,Nm=vs=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(jt=!0),e.firstContext=null)}function wn(e){var t=e._currentValue;if(Nm!==e)if(e={context:e,memoizedValue:t,next:null},vs===null){if(Pu===null)throw Error($(308));vs=e,Pu.dependencies={lanes:0,firstContext:e}}else vs=vs.next=e;return t}var ga=null;function km(e){ga===null?ga=[e]:ga.push(e)}function Wy(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,km(t)):(n.next=i.next,i.next=n),t.interleaved=n,Kr(e,r)}function Kr(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var _i=!1;function Om(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Yy(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 zr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Mi(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,be&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Kr(e,n)}return i=r.interleaved,i===null?(t.next=t,km(r)):(t.next=i.next,i.next=t),r.interleaved=t,Kr(e,n)}function eu(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,mm(e,n)}}function a5(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=s:a=a.next=s,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Du(e,t,n,r){var i=e.updateQueue;_i=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,o=i.shared.pending;if(o!==null){i.shared.pending=null;var l=o,c=l.next;l.next=null,s===null?a=c:s.next=c,s=l;var u=e.alternate;u!==null&&(u=u.updateQueue,o=u.lastBaseUpdate,o!==s&&(o===null?u.firstBaseUpdate=c:o.next=c,u.lastBaseUpdate=l))}if(a!==null){var f=i.baseState;s=0,u=c=l=null,o=a;do{var d=o.lane,h=o.eventTime;if((r&d)===d){u!==null&&(u=u.next={eventTime:h,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var g=e,E=o;switch(d=t,h=n,E.tag){case 1:if(g=E.payload,typeof g=="function"){f=g.call(h,f,d);break e}f=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=E.payload,d=typeof g=="function"?g.call(h,f,d):g,d==null)break e;f=Xe({},f,d);break e;case 2:_i=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,d=i.effects,d===null?i.effects=[o]:d.push(o))}else h={eventTime:h,lane:d,tag:o.tag,payload:o.payload,callback:o.callback,next:null},u===null?(c=u=h,l=f):u=u.next=h,s|=d;if(o=o.next,o===null){if(o=i.shared.pending,o===null)break;d=o,o=d.next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}while(1);if(u===null&&(l=f),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);Ia|=s,e.lanes=s,e.memoizedState=f}}function s5(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error($(191,i));i.call(r)}}}var qy=new WT.Component().refs;function B0(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Xe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var wf={isMounted:function(e){return(e=e._reactInternals)?$a(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Lt(),i=Pi(e),a=zr(r,i);a.payload=t,n!=null&&(a.callback=n),t=Mi(e,a,i),t!==null&&(Xn(t,e,i,r),eu(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Lt(),i=Pi(e),a=zr(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=Mi(e,a,i),t!==null&&(Xn(t,e,i,r),eu(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Lt(),r=Pi(e),i=zr(n,r);i.tag=2,t!=null&&(i.callback=t),t=Mi(e,i,r),t!==null&&(Xn(t,e,r,n),eu(t,e,r))}};function o5(e,t,n,r,i,a,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,s):t.prototype&&t.prototype.isPureReactComponent?!Bl(n,r)||!Bl(i,a):!0}function Xy(e,t,n){var r=!1,i=$i,a=t.contextType;return typeof a=="object"&&a!==null?a=wn(a):(i=Vt(t)?ka:Ot.current,r=t.contextTypes,a=(r=r!=null)?Ks(e,i):$i),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=wf,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function l5(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&wf.enqueueReplaceState(t,t.state,null)}function U0(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=qy,Om(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=wn(a):(a=Vt(t)?ka:Ot.current,i.context=Ks(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(B0(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&wf.enqueueReplaceState(i,i.state,null),Du(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Ro(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error($(309));var r=n.stateNode}if(!r)throw Error($(147,e));var i=r,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(s){var o=i.refs;o===qy&&(o=i.refs={}),s===null?delete o[a]:o[a]=s},t._stringRef=a,t)}if(typeof e!="string")throw Error($(284));if(!n._owner)throw Error($(290,e))}return e}function nc(e,t){throw e=Object.prototype.toString.call(t),Error($(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function c5(e){var t=e._init;return t(e._payload)}function Qy(e){function t(m,T){if(e){var _=m.deletions;_===null?(m.deletions=[T],m.flags|=16):_.push(T)}}function n(m,T){if(!e)return null;for(;T!==null;)t(m,T),T=T.sibling;return null}function r(m,T){for(m=new Map;T!==null;)T.key!==null?m.set(T.key,T):m.set(T.index,T),T=T.sibling;return m}function i(m,T){return m=Di(m,T),m.index=0,m.sibling=null,m}function a(m,T,_){return m.index=_,e?(_=m.alternate,_!==null?(_=_.index,_<T?(m.flags|=2,T):_):(m.flags|=2,T)):(m.flags|=1048576,T)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function o(m,T,_,v){return T===null||T.tag!==6?(T=Xd(_,m.mode,v),T.return=m,T):(T=i(T,_),T.return=m,T)}function l(m,T,_,v){var N=_.type;return N===hs?u(m,T,_.props.children,v,_.key):T!==null&&(T.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===Ei&&c5(N)===T.type)?(v=i(T,_.props),v.ref=Ro(m,T,_),v.return=m,v):(v=su(_.type,_.key,_.props,null,m.mode,v),v.ref=Ro(m,T,_),v.return=m,v)}function c(m,T,_,v){return T===null||T.tag!==4||T.stateNode.containerInfo!==_.containerInfo||T.stateNode.implementation!==_.implementation?(T=Qd(_,m.mode,v),T.return=m,T):(T=i(T,_.children||[]),T.return=m,T)}function u(m,T,_,v,N){return T===null||T.tag!==7?(T=Na(_,m.mode,v,N),T.return=m,T):(T=i(T,_),T.return=m,T)}function f(m,T,_){if(typeof T=="string"&&T!==""||typeof T=="number")return T=Xd(""+T,m.mode,_),T.return=m,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case V1:return _=su(T.type,T.key,T.props,null,m.mode,_),_.ref=Ro(m,null,T),_.return=m,_;case ds:return T=Qd(T,m.mode,_),T.return=m,T;case Ei:var v=T._init;return f(m,v(T._payload),_)}if(qo(T)||No(T))return T=Na(T,m.mode,_,null),T.return=m,T;nc(m,T)}return null}function d(m,T,_,v){var N=T!==null?T.key:null;if(typeof _=="string"&&_!==""||typeof _=="number")return N!==null?null:o(m,T,""+_,v);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case V1:return _.key===N?l(m,T,_,v):null;case ds:return _.key===N?c(m,T,_,v):null;case Ei:return N=_._init,d(m,T,N(_._payload),v)}if(qo(_)||No(_))return N!==null?null:u(m,T,_,v,null);nc(m,_)}return null}function h(m,T,_,v,N){if(typeof v=="string"&&v!==""||typeof v=="number")return m=m.get(_)||null,o(T,m,""+v,N);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case V1:return m=m.get(v.key===null?_:v.key)||null,l(T,m,v,N);case ds:return m=m.get(v.key===null?_:v.key)||null,c(T,m,v,N);case Ei:var S=v._init;return h(m,T,_,S(v._payload),N)}if(qo(v)||No(v))return m=m.get(_)||null,u(T,m,v,N,null);nc(T,v)}return null}function g(m,T,_,v){for(var N=null,S=null,A=T,k=T=0,I=null;A!==null&&k<_.length;k++){A.index>k?(I=A,A=null):I=A.sibling;var P=d(m,A,_[k],v);if(P===null){A===null&&(A=I);break}e&&A&&P.alternate===null&&t(m,A),T=a(P,T,k),S===null?N=P:S.sibling=P,S=P,A=I}if(k===_.length)return n(m,A),Ge&&la(m,k),N;if(A===null){for(;k<_.length;k++)A=f(m,_[k],v),A!==null&&(T=a(A,T,k),S===null?N=A:S.sibling=A,S=A);return Ge&&la(m,k),N}for(A=r(m,A);k<_.length;k++)I=h(A,m,k,_[k],v),I!==null&&(e&&I.alternate!==null&&A.delete(I.key===null?k:I.key),T=a(I,T,k),S===null?N=I:S.sibling=I,S=I);return e&&A.forEach(function(D){return t(m,D)}),Ge&&la(m,k),N}function E(m,T,_,v){var N=No(_);if(typeof N!="function")throw Error($(150));if(_=N.call(_),_==null)throw Error($(151));for(var S=N=null,A=T,k=T=0,I=null,P=_.next();A!==null&&!P.done;k++,P=_.next()){A.index>k?(I=A,A=null):I=A.sibling;var D=d(m,A,P.value,v);if(D===null){A===null&&(A=I);break}e&&A&&D.alternate===null&&t(m,A),T=a(D,T,k),S===null?N=D:S.sibling=D,S=D,A=I}if(P.done)return n(m,A),Ge&&la(m,k),N;if(A===null){for(;!P.done;k++,P=_.next())P=f(m,P.value,v),P!==null&&(T=a(P,T,k),S===null?N=P:S.sibling=P,S=P);return Ge&&la(m,k),N}for(A=r(m,A);!P.done;k++,P=_.next())P=h(A,m,k,P.value,v),P!==null&&(e&&P.alternate!==null&&A.delete(P.key===null?k:P.key),T=a(P,T,k),S===null?N=P:S.sibling=P,S=P);return e&&A.forEach(function(z){return t(m,z)}),Ge&&la(m,k),N}function b(m,T,_,v){if(typeof _=="object"&&_!==null&&_.type===hs&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case V1:e:{for(var N=_.key,S=T;S!==null;){if(S.key===N){if(N=_.type,N===hs){if(S.tag===7){n(m,S.sibling),T=i(S,_.props.children),T.return=m,m=T;break e}}else if(S.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===Ei&&c5(N)===S.type){n(m,S.sibling),T=i(S,_.props),T.ref=Ro(m,S,_),T.return=m,m=T;break e}n(m,S);break}else t(m,S);S=S.sibling}_.type===hs?(T=Na(_.props.children,m.mode,v,_.key),T.return=m,m=T):(v=su(_.type,_.key,_.props,null,m.mode,v),v.ref=Ro(m,T,_),v.return=m,m=v)}return s(m);case ds:e:{for(S=_.key;T!==null;){if(T.key===S)if(T.tag===4&&T.stateNode.containerInfo===_.containerInfo&&T.stateNode.implementation===_.implementation){n(m,T.sibling),T=i(T,_.children||[]),T.return=m,m=T;break e}else{n(m,T);break}else t(m,T);T=T.sibling}T=Qd(_,m.mode,v),T.return=m,m=T}return s(m);case Ei:return S=_._init,b(m,T,S(_._payload),v)}if(qo(_))return g(m,T,_,v);if(No(_))return E(m,T,_,v);nc(m,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,T!==null&&T.tag===6?(n(m,T.sibling),T=i(T,_),T.return=m,m=T):(n(m,T),T=Xd(_,m.mode,v),T.return=m,m=T),s(m)):n(m,T)}return b}var Ys=Qy(!0),Zy=Qy(!1),S1={},pr=Xi(S1),jl=Xi(S1),$l=Xi(S1);function Ea(e){if(e===S1)throw Error($(174));return e}function Rm(e,t){switch(Ie($l,t),Ie(jl,e),Ie(pr,S1),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:E0(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=E0(t,e)}Ue(pr),Ie(pr,t)}function qs(){Ue(pr),Ue(jl),Ue($l)}function Jy(e){Ea($l.current);var t=Ea(pr.current),n=E0(t,e.type);t!==n&&(Ie(jl,e),Ie(pr,n))}function Im(e){jl.current===e&&(Ue(pr),Ue(jl))}var Ke=Xi(0);function Fu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)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 Gd=[];function Mm(){for(var e=0;e<Gd.length;e++)Gd[e]._workInProgressVersionPrimary=null;Gd.length=0}var tu=ei.ReactCurrentDispatcher,Vd=ei.ReactCurrentBatchConfig,Ra=0,qe=null,ct=null,pt=null,Bu=!1,ll=!1,Gl=0,ON=0;function xt(){throw Error($(321))}function Lm(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Qn(e[n],t[n]))return!1;return!0}function Pm(e,t,n,r,i,a){if(Ra=a,qe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,tu.current=e===null||e.memoizedState===null?LN:PN,e=n(r,i),ll){a=0;do{if(ll=!1,Gl=0,25<=a)throw Error($(301));a+=1,pt=ct=null,t.updateQueue=null,tu.current=DN,e=n(r,i)}while(ll)}if(tu.current=Uu,t=ct!==null&&ct.next!==null,Ra=0,pt=ct=qe=null,Bu=!1,t)throw Error($(300));return e}function Dm(){var e=Gl!==0;return Gl=0,e}function ar(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pt===null?qe.memoizedState=pt=e:pt=pt.next=e,pt}function Cn(){if(ct===null){var e=qe.alternate;e=e!==null?e.memoizedState:null}else e=ct.next;var t=pt===null?qe.memoizedState:pt.next;if(t!==null)pt=t,ct=e;else{if(e===null)throw Error($(310));ct=e,e={memoizedState:ct.memoizedState,baseState:ct.baseState,baseQueue:ct.baseQueue,queue:ct.queue,next:null},pt===null?qe.memoizedState=pt=e:pt=pt.next=e}return pt}function Vl(e,t){return typeof t=="function"?t(e):t}function Kd(e){var t=Cn(),n=t.queue;if(n===null)throw Error($(311));n.lastRenderedReducer=e;var r=ct,i=r.baseQueue,a=n.pending;if(a!==null){if(i!==null){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(i!==null){a=i.next,r=r.baseState;var o=s=null,l=null,c=a;do{var u=c.lane;if((Ra&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(o=l=f,s=r):l=l.next=f,qe.lanes|=u,Ia|=u}c=c.next}while(c!==null&&c!==a);l===null?s=r:l.next=o,Qn(r,t.memoizedState)||(jt=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do a=i.lane,qe.lanes|=a,Ia|=a,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Wd(e){var t=Cn(),n=t.queue;if(n===null)throw Error($(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do a=e(a,s.action),s=s.next;while(s!==i);Qn(a,t.memoizedState)||(jt=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function ev(){}function tv(e,t){var n=qe,r=Cn(),i=t(),a=!Qn(r.memoizedState,i);if(a&&(r.memoizedState=i,jt=!0),r=r.queue,Fm(iv.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||pt!==null&&pt.memoizedState.tag&1){if(n.flags|=2048,Kl(9,rv.bind(null,n,r,i,t),void 0,null),gt===null)throw Error($(349));Ra&30||nv(n,t,i)}return i}function nv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=qe.updateQueue,t===null?(t={lastEffect:null,stores:null},qe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function rv(e,t,n,r){t.value=n,t.getSnapshot=r,av(t)&&sv(e)}function iv(e,t,n){return n(function(){av(t)&&sv(e)})}function av(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Qn(e,n)}catch{return!0}}function sv(e){var t=Kr(e,1);t!==null&&Xn(t,e,1,-1)}function u5(e){var t=ar();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vl,lastRenderedState:e},t.queue=e,e=e.dispatch=MN.bind(null,qe,e),[t.memoizedState,e]}function Kl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=qe.updateQueue,t===null?(t={lastEffect:null,stores:null},qe.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function ov(){return Cn().memoizedState}function nu(e,t,n,r){var i=ar();qe.flags|=e,i.memoizedState=Kl(1|t,n,void 0,r===void 0?null:r)}function Cf(e,t,n,r){var i=Cn();r=r===void 0?null:r;var a=void 0;if(ct!==null){var s=ct.memoizedState;if(a=s.destroy,r!==null&&Lm(r,s.deps)){i.memoizedState=Kl(t,n,a,r);return}}qe.flags|=e,i.memoizedState=Kl(1|t,n,a,r)}function f5(e,t){return nu(8390656,8,e,t)}function Fm(e,t){return Cf(2048,8,e,t)}function lv(e,t){return Cf(4,2,e,t)}function cv(e,t){return Cf(4,4,e,t)}function uv(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 fv(e,t,n){return n=n!=null?n.concat([e]):null,Cf(4,4,uv.bind(null,t,e),n)}function Bm(){}function dv(e,t){var n=Cn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Lm(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function hv(e,t){var n=Cn();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Lm(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function pv(e,t,n){return Ra&21?(Qn(n,t)||(n=Ey(),qe.lanes|=n,Ia|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,jt=!0),e.memoizedState=n)}function RN(e,t){var n=we;we=n!==0&&4>n?n:4,e(!0);var r=Vd.transition;Vd.transition={};try{e(!1),t()}finally{we=n,Vd.transition=r}}function mv(){return Cn().memoizedState}function IN(e,t,n){var r=Pi(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},gv(e))Ev(t,n);else if(n=Wy(e,t,n,r),n!==null){var i=Lt();Xn(n,e,r,i),_v(n,t,r)}}function MN(e,t,n){var r=Pi(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(gv(e))Ev(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var s=t.lastRenderedState,o=a(s,n);if(i.hasEagerState=!0,i.eagerState=o,Qn(o,s)){var l=t.interleaved;l===null?(i.next=i,km(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=Wy(e,t,i,r),n!==null&&(i=Lt(),Xn(n,e,r,i),_v(n,t,r))}}function gv(e){var t=e.alternate;return e===qe||t!==null&&t===qe}function Ev(e,t){ll=Bu=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _v(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,mm(e,n)}}var Uu={readContext:wn,useCallback:xt,useContext:xt,useEffect:xt,useImperativeHandle:xt,useInsertionEffect:xt,useLayoutEffect:xt,useMemo:xt,useReducer:xt,useRef:xt,useState:xt,useDebugValue:xt,useDeferredValue:xt,useTransition:xt,useMutableSource:xt,useSyncExternalStore:xt,useId:xt,unstable_isNewReconciler:!1},LN={readContext:wn,useCallback:function(e,t){return ar().memoizedState=[e,t===void 0?null:t],e},useContext:wn,useEffect:f5,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,nu(4194308,4,uv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return nu(4194308,4,e,t)},useInsertionEffect:function(e,t){return nu(4,2,e,t)},useMemo:function(e,t){var n=ar();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ar();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=IN.bind(null,qe,e),[r.memoizedState,e]},useRef:function(e){var t=ar();return e={current:e},t.memoizedState=e},useState:u5,useDebugValue:Bm,useDeferredValue:function(e){return ar().memoizedState=e},useTransition:function(){var e=u5(!1),t=e[0];return e=RN.bind(null,e[1]),ar().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=qe,i=ar();if(Ge){if(n===void 0)throw Error($(407));n=n()}else{if(n=t(),gt===null)throw Error($(349));Ra&30||nv(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,f5(iv.bind(null,r,a,e),[e]),r.flags|=2048,Kl(9,rv.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=ar(),t=gt.identifierPrefix;if(Ge){var n=Br,r=Fr;n=(r&~(1<<32-qn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Gl++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ON++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},PN={readContext:wn,useCallback:dv,useContext:wn,useEffect:Fm,useImperativeHandle:fv,useInsertionEffect:lv,useLayoutEffect:cv,useMemo:hv,useReducer:Kd,useRef:ov,useState:function(){return Kd(Vl)},useDebugValue:Bm,useDeferredValue:function(e){var t=Cn();return pv(t,ct.memoizedState,e)},useTransition:function(){var e=Kd(Vl)[0],t=Cn().memoizedState;return[e,t]},useMutableSource:ev,useSyncExternalStore:tv,useId:mv,unstable_isNewReconciler:!1},DN={readContext:wn,useCallback:dv,useContext:wn,useEffect:Fm,useImperativeHandle:fv,useInsertionEffect:lv,useLayoutEffect:cv,useMemo:hv,useReducer:Wd,useRef:ov,useState:function(){return Wd(Vl)},useDebugValue:Bm,useDeferredValue:function(e){var t=Cn();return ct===null?t.memoizedState=e:pv(t,ct.memoizedState,e)},useTransition:function(){var e=Wd(Vl)[0],t=Cn().memoizedState;return[e,t]},useMutableSource:ev,useSyncExternalStore:tv,useId:mv,unstable_isNewReconciler:!1};function Xs(e,t){try{var n="",r=t;do n+=ux(r),r=r.return;while(r);var i=n}catch(a){i=`
39
+ Error generating stack: `+a.message+`
40
+ `+a.stack}return{value:e,source:t,stack:i,digest:null}}function Yd(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function H0(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var FN=typeof WeakMap=="function"?WeakMap:Map;function Tv(e,t,n){n=zr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zu||(zu=!0,X0=r),H0(e,t)},n}function yv(e,t,n){n=zr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){H0(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){H0(e,t),typeof r!="function"&&(Li===null?Li=new Set([this]):Li.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function d5(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new FN;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=QN.bind(null,e,t,n),t.then(e,e))}function h5(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 p5(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=zr(-1,1),t.tag=2,Mi(n,t,1))),n.lanes|=1),e)}var BN=ei.ReactCurrentOwner,jt=!1;function It(e,t,n,r){t.child=e===null?Zy(t,null,n,r):Ys(t,e.child,n,r)}function m5(e,t,n,r,i){n=n.render;var a=t.ref;return Us(t,i),r=Pm(e,t,n,r,a,i),n=Dm(),e!==null&&!jt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Wr(e,t,i)):(Ge&&n&&Sm(t),t.flags|=1,It(e,t,r,i),t.child)}function g5(e,t,n,r,i){if(e===null){var a=n.type;return typeof a=="function"&&!Km(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,vv(e,t,a,r,i)):(e=su(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var s=a.memoizedProps;if(n=n.compare,n=n!==null?n:Bl,n(s,r)&&e.ref===t.ref)return Wr(e,t,i)}return t.flags|=1,e=Di(a,r),e.ref=t.ref,e.return=t,t.child=e}function vv(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Bl(a,r)&&e.ref===t.ref)if(jt=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(jt=!0);else return t.lanes=e.lanes,Wr(e,t,i)}return z0(e,t,n,r,i)}function bv(e,t,n){var r=t.pendingProps,i=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(Ss,nn),nn|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ie(Ss,nn),nn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,Ie(Ss,nn),nn|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,Ie(Ss,nn),nn|=r;return It(e,t,i,n),t.child}function Sv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function z0(e,t,n,r,i){var a=Vt(n)?ka:Ot.current;return a=Ks(t,a),Us(t,i),n=Pm(e,t,n,r,a,i),r=Dm(),e!==null&&!jt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Wr(e,t,i)):(Ge&&r&&Sm(t),t.flags|=1,It(e,t,n,i),t.child)}function E5(e,t,n,r,i){if(Vt(n)){var a=!0;Ru(t)}else a=!1;if(Us(t,i),t.stateNode===null)ru(e,t),Xy(t,n,r),U0(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,o=t.memoizedProps;s.props=o;var l=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=wn(c):(c=Vt(n)?ka:Ot.current,c=Ks(t,c));var u=n.getDerivedStateFromProps,f=typeof u=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(o!==r||l!==c)&&l5(t,s,r,c),_i=!1;var d=t.memoizedState;s.state=d,Du(t,r,s,i),l=t.memoizedState,o!==r||d!==l||Gt.current||_i?(typeof u=="function"&&(B0(t,n,u,r),l=t.memoizedState),(o=_i||o5(t,n,o,r,d,l,c))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=c,r=o):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Yy(e,t),o=t.memoizedProps,c=t.type===t.elementType?o:jn(t.type,o),s.props=c,f=t.pendingProps,d=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=wn(l):(l=Vt(n)?ka:Ot.current,l=Ks(t,l));var h=n.getDerivedStateFromProps;(u=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(o!==f||d!==l)&&l5(t,s,r,l),_i=!1,d=t.memoizedState,s.state=d,Du(t,r,s,i);var g=t.memoizedState;o!==f||d!==g||Gt.current||_i?(typeof h=="function"&&(B0(t,n,h,r),g=t.memoizedState),(c=_i||o5(t,n,c,r,d,g,l)||!1)?(u||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,g,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,g,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),s.props=r,s.state=g,s.context=l,r=c):(typeof s.componentDidUpdate!="function"||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return j0(e,t,n,r,a,i)}function j0(e,t,n,r,i,a){Sv(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&n5(t,n,!1),Wr(e,t,a);r=t.stateNode,BN.current=t;var o=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Ys(t,e.child,null,a),t.child=Ys(t,null,o,a)):It(e,t,o,a),t.memoizedState=r.state,i&&n5(t,n,!0),t.child}function Av(e){var t=e.stateNode;t.pendingContext?t5(e,t.pendingContext,t.pendingContext!==t.context):t.context&&t5(e,t.context,!1),Rm(e,t.containerInfo)}function _5(e,t,n,r,i){return Ws(),xm(i),t.flags|=256,It(e,t,n,r),t.child}var $0={dehydrated:null,treeContext:null,retryLane:0};function G0(e){return{baseLanes:e,cachePool:null,transitions:null}}function xv(e,t,n){var r=t.pendingProps,i=Ke.current,a=!1,s=(t.flags&128)!==0,o;if((o=s)||(o=e!==null&&e.memoizedState===null?!1:(i&2)!==0),o?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Ie(Ke,i&1),e===null)return D0(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,a?(r=t.mode,a=t.child,s={mode:"hidden",children:s},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=s):a=Rf(s,r,0,null),e=Na(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=G0(n),t.memoizedState=$0,e):Um(t,s));if(i=e.memoizedState,i!==null&&(o=i.dehydrated,o!==null))return UN(e,t,s,r,o,i,n);if(a){a=r.fallback,s=t.mode,i=e.child,o=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Di(i,l),r.subtreeFlags=i.subtreeFlags&14680064),o!==null?a=Di(o,a):(a=Na(a,s,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,s=e.child.memoizedState,s=s===null?G0(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},a.memoizedState=s,a.childLanes=e.childLanes&~n,t.memoizedState=$0,r}return a=e.child,e=a.sibling,r=Di(a,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Um(e,t){return t=Rf({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function rc(e,t,n,r){return r!==null&&xm(r),Ys(t,e.child,null,n),e=Um(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function UN(e,t,n,r,i,a,s){if(n)return t.flags&256?(t.flags&=-257,r=Yd(Error($(422))),rc(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Rf({mode:"visible",children:r.children},i,0,null),a=Na(a,i,s,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&Ys(t,e.child,null,s),t.child.memoizedState=G0(s),t.memoizedState=$0,a);if(!(t.mode&1))return rc(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var o=r.dgst;return r=o,a=Error($(419)),r=Yd(a,r,void 0),rc(e,t,s,r)}if(o=(s&e.childLanes)!==0,jt||o){if(r=gt,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,Kr(e,i),Xn(r,e,i,-1))}return Vm(),r=Yd(Error($(421))),rc(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=ZN.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,rn=Ii(i.nextSibling),on=t,Ge=!0,Gn=null,e!==null&&(Tn[yn++]=Fr,Tn[yn++]=Br,Tn[yn++]=Oa,Fr=e.id,Br=e.overflow,Oa=t),t=Um(t,r.children),t.flags|=4096,t)}function T5(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),F0(e.return,t,n)}function qd(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function Nv(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(It(e,t,r.children,n),r=Ke.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&T5(e,n,t);else if(e.tag===19)T5(e,n,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}r&=1}if(Ie(Ke,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Fu(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),qd(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Fu(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}qd(t,!0,n,null,a);break;case"together":qd(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ru(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Ia|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error($(153));if(t.child!==null){for(e=t.child,n=Di(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Di(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function HN(e,t,n){switch(t.tag){case 3:Av(t),Ws();break;case 5:Jy(t);break;case 1:Vt(t.type)&&Ru(t);break;case 4:Rm(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ie(Lu,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ie(Ke,Ke.current&1),t.flags|=128,null):n&t.child.childLanes?xv(e,t,n):(Ie(Ke,Ke.current&1),e=Wr(e,t,n),e!==null?e.sibling:null);Ie(Ke,Ke.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Nv(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ie(Ke,Ke.current),r)break;return null;case 22:case 23:return t.lanes=0,bv(e,t,n)}return Wr(e,t,n)}var wv,V0,Cv,kv;wv=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};V0=function(){};Cv=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ea(pr.current);var a=null;switch(n){case"input":i=h0(e,i),r=h0(e,r),a=[];break;case"select":i=Xe({},i,{value:void 0}),r=Xe({},r,{value:void 0}),a=[];break;case"textarea":i=g0(e,i),r=g0(e,r),a=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ku)}_0(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var o=i[c];for(s in o)o.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Rl.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var l=r[c];if(o=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==o&&(l!=null||o!=null))if(c==="style")if(o){for(s in o)!o.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&o[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(a||(a=[]),a.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,o=o?o.__html:void 0,l!=null&&o!==l&&(a=a||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Rl.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&De("scroll",e),a||o===l||(a=[])):(a=a||[]).push(c,l))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};kv=function(e,t,n,r){n!==r&&(t.flags|=4)};function Io(e,t){if(!Ge)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Nt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function zN(e,t,n){var r=t.pendingProps;switch(Am(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nt(t),null;case 1:return Vt(t.type)&&Ou(),Nt(t),null;case 3:return r=t.stateNode,qs(),Ue(Gt),Ue(Ot),Mm(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(tc(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Gn!==null&&(J0(Gn),Gn=null))),V0(e,t),Nt(t),null;case 5:Im(t);var i=Ea($l.current);if(n=t.type,e!==null&&t.stateNode!=null)Cv(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error($(166));return Nt(t),null}if(e=Ea(pr.current),tc(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[lr]=t,r[zl]=a,e=(t.mode&1)!==0,n){case"dialog":De("cancel",r),De("close",r);break;case"iframe":case"object":case"embed":De("load",r);break;case"video":case"audio":for(i=0;i<Qo.length;i++)De(Qo[i],r);break;case"source":De("error",r);break;case"img":case"image":case"link":De("error",r),De("load",r);break;case"details":De("toggle",r);break;case"input":C9(r,a),De("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},De("invalid",r);break;case"textarea":O9(r,a),De("invalid",r)}_0(n,a),i=null;for(var s in a)if(a.hasOwnProperty(s)){var o=a[s];s==="children"?typeof o=="string"?r.textContent!==o&&(a.suppressHydrationWarning!==!0&&ec(r.textContent,o,e),i=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(a.suppressHydrationWarning!==!0&&ec(r.textContent,o,e),i=["children",""+o]):Rl.hasOwnProperty(s)&&o!=null&&s==="onScroll"&&De("scroll",r)}switch(n){case"input":K1(r),k9(r,a,!0);break;case"textarea":K1(r),R9(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=ku)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ny(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[lr]=t,e[zl]=r,wv(e,t,!1,!1),t.stateNode=e;e:{switch(s=T0(n,r),n){case"dialog":De("cancel",e),De("close",e),i=r;break;case"iframe":case"object":case"embed":De("load",e),i=r;break;case"video":case"audio":for(i=0;i<Qo.length;i++)De(Qo[i],e);i=r;break;case"source":De("error",e),i=r;break;case"img":case"image":case"link":De("error",e),De("load",e),i=r;break;case"details":De("toggle",e),i=r;break;case"input":C9(e,r),i=h0(e,r),De("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Xe({},r,{value:void 0}),De("invalid",e);break;case"textarea":O9(e,r),i=g0(e,r),De("invalid",e);break;default:i=r}_0(n,i),o=i;for(a in o)if(o.hasOwnProperty(a)){var l=o[a];a==="style"?ay(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&ry(e,l)):a==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&Il(e,l):typeof l=="number"&&Il(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Rl.hasOwnProperty(a)?l!=null&&a==="onScroll"&&De("scroll",e):l!=null&&cm(e,a,l,s))}switch(n){case"input":K1(e),k9(e,r,!1);break;case"textarea":K1(e),R9(e);break;case"option":r.value!=null&&e.setAttribute("value",""+ji(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?Ps(e,!!r.multiple,a,!1):r.defaultValue!=null&&Ps(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=ku)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Nt(t),null;case 6:if(e&&t.stateNode!=null)kv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error($(166));if(n=Ea($l.current),Ea(pr.current),tc(t)){if(r=t.stateNode,n=t.memoizedProps,r[lr]=t,(a=r.nodeValue!==n)&&(e=on,e!==null))switch(e.tag){case 3:ec(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ec(r.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[lr]=t,t.stateNode=r}return Nt(t),null;case 13:if(Ue(Ke),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ge&&rn!==null&&t.mode&1&&!(t.flags&128))Ky(),Ws(),t.flags|=98560,a=!1;else if(a=tc(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error($(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error($(317));a[lr]=t}else Ws(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Nt(t),a=!1}else Gn!==null&&(J0(Gn),Gn=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ke.current&1?ut===0&&(ut=3):Vm())),t.updateQueue!==null&&(t.flags|=4),Nt(t),null);case 4:return qs(),V0(e,t),e===null&&Ul(t.stateNode.containerInfo),Nt(t),null;case 10:return Cm(t.type._context),Nt(t),null;case 17:return Vt(t.type)&&Ou(),Nt(t),null;case 19:if(Ue(Ke),a=t.memoizedState,a===null)return Nt(t),null;if(r=(t.flags&128)!==0,s=a.rendering,s===null)if(r)Io(a,!1);else{if(ut!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Fu(e),s!==null){for(t.flags|=128,Io(a,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=14680066,s=a.alternate,s===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ie(Ke,Ke.current&1|2),t.child}e=e.sibling}a.tail!==null&&rt()>Qs&&(t.flags|=128,r=!0,Io(a,!1),t.lanes=4194304)}else{if(!r)if(e=Fu(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Io(a,!0),a.tail===null&&a.tailMode==="hidden"&&!s.alternate&&!Ge)return Nt(t),null}else 2*rt()-a.renderingStartTime>Qs&&n!==1073741824&&(t.flags|=128,r=!0,Io(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(n=a.last,n!==null?n.sibling=s:t.child=s,a.last=s)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=rt(),t.sibling=null,n=Ke.current,Ie(Ke,r?n&1|2:n&1),t):(Nt(t),null);case 22:case 23:return Gm(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?nn&1073741824&&(Nt(t),t.subtreeFlags&6&&(t.flags|=8192)):Nt(t),null;case 24:return null;case 25:return null}throw Error($(156,t.tag))}function jN(e,t){switch(Am(t),t.tag){case 1:return Vt(t.type)&&Ou(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qs(),Ue(Gt),Ue(Ot),Mm(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Im(t),null;case 13:if(Ue(Ke),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error($(340));Ws()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ue(Ke),null;case 4:return qs(),null;case 10:return Cm(t.type._context),null;case 22:case 23:return Gm(),null;case 24:return null;default:return null}}var ic=!1,Ct=!1,$N=typeof WeakSet=="function"?WeakSet:Set,J=null;function bs(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ze(e,t,r)}else n.current=null}function K0(e,t,n){try{n()}catch(r){Ze(e,t,r)}}var y5=!1;function GN(e,t){if(k0=Nu,e=My(),bm(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var s=0,o=-1,l=-1,c=0,u=0,f=e,d=null;t:for(;;){for(var h;f!==n||i!==0&&f.nodeType!==3||(o=s+i),f!==a||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(h=f.firstChild)!==null;)d=f,f=h;for(;;){if(f===e)break t;if(d===n&&++c===i&&(o=s),d===a&&++u===r&&(l=s),(h=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=h}n=o===-1||l===-1?null:{start:o,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(O0={focusedElem:e,selectionRange:n},Nu=!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 g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var E=g.memoizedProps,b=g.memoizedState,m=t.stateNode,T=m.getSnapshotBeforeUpdate(t.elementType===t.type?E:jn(t.type,E),b);m.__reactInternalSnapshotBeforeUpdate=T}break;case 3:var _=t.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error($(163))}}catch(v){Ze(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,J=e;break}J=t.return}return g=y5,y5=!1,g}function cl(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&K0(t,n,a)}i=i.next}while(i!==r)}}function kf(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function W0(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ov(e){var t=e.alternate;t!==null&&(e.alternate=null,Ov(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[lr],delete t[zl],delete t[M0],delete t[NN],delete t[wN])),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 Rv(e){return e.tag===5||e.tag===3||e.tag===4}function v5(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Rv(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 Y0(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ku));else if(r!==4&&(e=e.child,e!==null))for(Y0(e,t,n),e=e.sibling;e!==null;)Y0(e,t,n),e=e.sibling}function q0(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(q0(e,t,n),e=e.sibling;e!==null;)q0(e,t,n),e=e.sibling}var Et=null,$n=!1;function oi(e,t,n){for(n=n.child;n!==null;)Iv(e,t,n),n=n.sibling}function Iv(e,t,n){if(hr&&typeof hr.onCommitFiberUnmount=="function")try{hr.onCommitFiberUnmount(vf,n)}catch{}switch(n.tag){case 5:Ct||bs(n,t);case 6:var r=Et,i=$n;Et=null,oi(e,t,n),Et=r,$n=i,Et!==null&&($n?(e=Et,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Et.removeChild(n.stateNode));break;case 18:Et!==null&&($n?(e=Et,n=n.stateNode,e.nodeType===8?jd(e.parentNode,n):e.nodeType===1&&jd(e,n),Dl(e)):jd(Et,n.stateNode));break;case 4:r=Et,i=$n,Et=n.stateNode.containerInfo,$n=!0,oi(e,t,n),Et=r,$n=i;break;case 0:case 11:case 14:case 15:if(!Ct&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,s=a.destroy;a=a.tag,s!==void 0&&(a&2||a&4)&&K0(n,t,s),i=i.next}while(i!==r)}oi(e,t,n);break;case 1:if(!Ct&&(bs(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){Ze(n,t,o)}oi(e,t,n);break;case 21:oi(e,t,n);break;case 22:n.mode&1?(Ct=(r=Ct)||n.memoizedState!==null,oi(e,t,n),Ct=r):oi(e,t,n);break;default:oi(e,t,n)}}function b5(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $N),t.forEach(function(r){var i=JN.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Bn(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,o=s;e:for(;o!==null;){switch(o.tag){case 5:Et=o.stateNode,$n=!1;break e;case 3:Et=o.stateNode.containerInfo,$n=!0;break e;case 4:Et=o.stateNode.containerInfo,$n=!0;break e}o=o.return}if(Et===null)throw Error($(160));Iv(a,s,i),Et=null,$n=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){Ze(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Mv(t,e),t=t.sibling}function Mv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Bn(t,e),nr(e),r&4){try{cl(3,e,e.return),kf(3,e)}catch(E){Ze(e,e.return,E)}try{cl(5,e,e.return)}catch(E){Ze(e,e.return,E)}}break;case 1:Bn(t,e),nr(e),r&512&&n!==null&&bs(n,n.return);break;case 5:if(Bn(t,e),nr(e),r&512&&n!==null&&bs(n,n.return),e.flags&32){var i=e.stateNode;try{Il(i,"")}catch(E){Ze(e,e.return,E)}}if(r&4&&(i=e.stateNode,i!=null)){var a=e.memoizedProps,s=n!==null?n.memoizedProps:a,o=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{o==="input"&&a.type==="radio"&&a.name!=null&&ey(i,a),T0(o,s);var c=T0(o,a);for(s=0;s<l.length;s+=2){var u=l[s],f=l[s+1];u==="style"?ay(i,f):u==="dangerouslySetInnerHTML"?ry(i,f):u==="children"?Il(i,f):cm(i,u,f,c)}switch(o){case"input":p0(i,a);break;case"textarea":ty(i,a);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var h=a.value;h!=null?Ps(i,!!a.multiple,h,!1):d!==!!a.multiple&&(a.defaultValue!=null?Ps(i,!!a.multiple,a.defaultValue,!0):Ps(i,!!a.multiple,a.multiple?[]:"",!1))}i[zl]=a}catch(E){Ze(e,e.return,E)}}break;case 6:if(Bn(t,e),nr(e),r&4){if(e.stateNode===null)throw Error($(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(E){Ze(e,e.return,E)}}break;case 3:if(Bn(t,e),nr(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Dl(t.containerInfo)}catch(E){Ze(e,e.return,E)}break;case 4:Bn(t,e),nr(e);break;case 13:Bn(t,e),nr(e),i=e.child,i.flags&8192&&(a=i.memoizedState!==null,i.stateNode.isHidden=a,!a||i.alternate!==null&&i.alternate.memoizedState!==null||(jm=rt())),r&4&&b5(e);break;case 22:if(u=n!==null&&n.memoizedState!==null,e.mode&1?(Ct=(c=Ct)||u,Bn(t,e),Ct=c):Bn(t,e),nr(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!u&&e.mode&1)for(J=e,u=e.child;u!==null;){for(f=J=u;J!==null;){switch(d=J,h=d.child,d.tag){case 0:case 11:case 14:case 15:cl(4,d,d.return);break;case 1:bs(d,d.return);var g=d.stateNode;if(typeof g.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(E){Ze(r,n,E)}}break;case 5:bs(d,d.return);break;case 22:if(d.memoizedState!==null){A5(f);continue}}h!==null?(h.return=d,J=h):A5(f)}u=u.sibling}e:for(u=null,f=e;;){if(f.tag===5){if(u===null){u=f;try{i=f.stateNode,c?(a=i.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(o=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,o.style.display=iy("display",s))}catch(E){Ze(e,e.return,E)}}}else if(f.tag===6){if(u===null)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(E){Ze(e,e.return,E)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;u===f&&(u=null),f=f.return}u===f&&(u=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Bn(t,e),nr(e),r&4&&b5(e);break;case 21:break;default:Bn(t,e),nr(e)}}function nr(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Rv(n)){var r=n;break e}n=n.return}throw Error($(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Il(i,""),r.flags&=-33);var a=v5(e);q0(e,a,i);break;case 3:case 4:var s=r.stateNode.containerInfo,o=v5(e);Y0(e,o,s);break;default:throw Error($(161))}}catch(l){Ze(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function VN(e,t,n){J=e,Lv(e)}function Lv(e,t,n){for(var r=(e.mode&1)!==0;J!==null;){var i=J,a=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||ic;if(!s){var o=i.alternate,l=o!==null&&o.memoizedState!==null||Ct;o=ic;var c=Ct;if(ic=s,(Ct=l)&&!c)for(J=i;J!==null;)s=J,l=s.child,s.tag===22&&s.memoizedState!==null?x5(i):l!==null?(l.return=s,J=l):x5(i);for(;a!==null;)J=a,Lv(a),a=a.sibling;J=i,ic=o,Ct=c}S5(e)}else i.subtreeFlags&8772&&a!==null?(a.return=i,J=a):S5(e)}}function S5(e){for(;J!==null;){var t=J;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ct||kf(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ct)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:jn(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&s5(t,a,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}s5(t,s,n)}break;case 5:var o=t.stateNode;if(n===null&&t.flags&4){n=o;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var f=u.dehydrated;f!==null&&Dl(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error($(163))}Ct||t.flags&512&&W0(t)}catch(d){Ze(t,t.return,d)}}if(t===e){J=null;break}if(n=t.sibling,n!==null){n.return=t.return,J=n;break}J=t.return}}function A5(e){for(;J!==null;){var t=J;if(t===e){J=null;break}var n=t.sibling;if(n!==null){n.return=t.return,J=n;break}J=t.return}}function x5(e){for(;J!==null;){var t=J;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{kf(4,t)}catch(l){Ze(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){Ze(t,i,l)}}var a=t.return;try{W0(t)}catch(l){Ze(t,a,l)}break;case 5:var s=t.return;try{W0(t)}catch(l){Ze(t,s,l)}}}catch(l){Ze(t,t.return,l)}if(t===e){J=null;break}var o=t.sibling;if(o!==null){o.return=t.return,J=o;break}J=t.return}}var KN=Math.ceil,Hu=ei.ReactCurrentDispatcher,Hm=ei.ReactCurrentOwner,An=ei.ReactCurrentBatchConfig,be=0,gt=null,ot=null,vt=0,nn=0,Ss=Xi(0),ut=0,Wl=null,Ia=0,Of=0,zm=0,ul=null,zt=null,jm=0,Qs=1/0,Mr=null,zu=!1,X0=null,Li=null,ac=!1,xi=null,ju=0,fl=0,Q0=null,iu=-1,au=0;function Lt(){return be&6?rt():iu!==-1?iu:iu=rt()}function Pi(e){return e.mode&1?be&2&&vt!==0?vt&-vt:kN.transition!==null?(au===0&&(au=Ey()),au):(e=we,e!==0||(e=window.event,e=e===void 0?16:Ay(e.type)),e):1}function Xn(e,t,n,r){if(50<fl)throw fl=0,Q0=null,Error($(185));y1(e,n,r),(!(be&2)||e!==gt)&&(e===gt&&(!(be&2)&&(Of|=n),ut===4&&bi(e,vt)),Kt(e,r),n===1&&be===0&&!(t.mode&1)&&(Qs=rt()+500,Nf&&Qi()))}function Kt(e,t){var n=e.callbackNode;kx(e,t);var r=xu(e,e===gt?vt:0);if(r===0)n!==null&&L9(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&L9(n),t===1)e.tag===0?CN(N5.bind(null,e)):$y(N5.bind(null,e)),AN(function(){!(be&6)&&Qi()}),n=null;else{switch(_y(r)){case 1:n=pm;break;case 4:n=my;break;case 16:n=Au;break;case 536870912:n=gy;break;default:n=Au}n=jv(n,Pv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Pv(e,t){if(iu=-1,au=0,be&6)throw Error($(327));var n=e.callbackNode;if(Hs()&&e.callbackNode!==n)return null;var r=xu(e,e===gt?vt:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=$u(e,r);else{t=r;var i=be;be|=2;var a=Fv();(gt!==e||vt!==t)&&(Mr=null,Qs=rt()+500,xa(e,t));do try{qN();break}catch(o){Dv(e,o)}while(1);wm(),Hu.current=a,be=i,ot!==null?t=0:(gt=null,vt=0,t=ut)}if(t!==0){if(t===2&&(i=A0(e),i!==0&&(r=i,t=Z0(e,i))),t===1)throw n=Wl,xa(e,0),bi(e,r),Kt(e,rt()),n;if(t===6)bi(e,r);else{if(i=e.current.alternate,!(r&30)&&!WN(i)&&(t=$u(e,r),t===2&&(a=A0(e),a!==0&&(r=a,t=Z0(e,a))),t===1))throw n=Wl,xa(e,0),bi(e,r),Kt(e,rt()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error($(345));case 2:ca(e,zt,Mr);break;case 3:if(bi(e,r),(r&130023424)===r&&(t=jm+500-rt(),10<t)){if(xu(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Lt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=I0(ca.bind(null,e,zt,Mr),t);break}ca(e,zt,Mr);break;case 4:if(bi(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-qn(r);a=1<<s,s=t[s],s>i&&(i=s),r&=~a}if(r=i,r=rt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*KN(r/1960))-r,10<r){e.timeoutHandle=I0(ca.bind(null,e,zt,Mr),r);break}ca(e,zt,Mr);break;case 5:ca(e,zt,Mr);break;default:throw Error($(329))}}}return Kt(e,rt()),e.callbackNode===n?Pv.bind(null,e):null}function Z0(e,t){var n=ul;return e.current.memoizedState.isDehydrated&&(xa(e,t).flags|=256),e=$u(e,t),e!==2&&(t=zt,zt=n,t!==null&&J0(t)),e}function J0(e){zt===null?zt=e:zt.push.apply(zt,e)}function WN(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Qn(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 bi(e,t){for(t&=~zm,t&=~Of,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-qn(t),r=1<<n;e[n]=-1,t&=~r}}function N5(e){if(be&6)throw Error($(327));Hs();var t=xu(e,0);if(!(t&1))return Kt(e,rt()),null;var n=$u(e,t);if(e.tag!==0&&n===2){var r=A0(e);r!==0&&(t=r,n=Z0(e,r))}if(n===1)throw n=Wl,xa(e,0),bi(e,t),Kt(e,rt()),n;if(n===6)throw Error($(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ca(e,zt,Mr),Kt(e,rt()),null}function $m(e,t){var n=be;be|=1;try{return e(t)}finally{be=n,be===0&&(Qs=rt()+500,Nf&&Qi())}}function Ma(e){xi!==null&&xi.tag===0&&!(be&6)&&Hs();var t=be;be|=1;var n=An.transition,r=we;try{if(An.transition=null,we=1,e)return e()}finally{we=r,An.transition=n,be=t,!(be&6)&&Qi()}}function Gm(){nn=Ss.current,Ue(Ss)}function xa(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,SN(n)),ot!==null)for(n=ot.return;n!==null;){var r=n;switch(Am(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ou();break;case 3:qs(),Ue(Gt),Ue(Ot),Mm();break;case 5:Im(r);break;case 4:qs();break;case 13:Ue(Ke);break;case 19:Ue(Ke);break;case 10:Cm(r.type._context);break;case 22:case 23:Gm()}n=n.return}if(gt=e,ot=e=Di(e.current,null),vt=nn=t,ut=0,Wl=null,zm=Of=Ia=0,zt=ul=null,ga!==null){for(t=0;t<ga.length;t++)if(n=ga[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var s=a.next;a.next=i,r.next=s}n.pending=r}ga=null}return e}function Dv(e,t){do{var n=ot;try{if(wm(),tu.current=Uu,Bu){for(var r=qe.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Bu=!1}if(Ra=0,pt=ct=qe=null,ll=!1,Gl=0,Hm.current=null,n===null||n.return===null){ut=1,Wl=t,ot=null;break}e:{var a=e,s=n.return,o=n,l=t;if(t=vt,o.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=o,f=u.tag;if(!(u.mode&1)&&(f===0||f===11||f===15)){var d=u.alternate;d?(u.updateQueue=d.updateQueue,u.memoizedState=d.memoizedState,u.lanes=d.lanes):(u.updateQueue=null,u.memoizedState=null)}var h=h5(s);if(h!==null){h.flags&=-257,p5(h,s,o,a,t),h.mode&1&&d5(a,c,t),t=h,l=c;var g=t.updateQueue;if(g===null){var E=new Set;E.add(l),t.updateQueue=E}else g.add(l);break e}else{if(!(t&1)){d5(a,c,t),Vm();break e}l=Error($(426))}}else if(Ge&&o.mode&1){var b=h5(s);if(b!==null){!(b.flags&65536)&&(b.flags|=256),p5(b,s,o,a,t),xm(Xs(l,o));break e}}a=l=Xs(l,o),ut!==4&&(ut=2),ul===null?ul=[a]:ul.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var m=Tv(a,l,t);a5(a,m);break e;case 1:o=l;var T=a.type,_=a.stateNode;if(!(a.flags&128)&&(typeof T.getDerivedStateFromError=="function"||_!==null&&typeof _.componentDidCatch=="function"&&(Li===null||!Li.has(_)))){a.flags|=65536,t&=-t,a.lanes|=t;var v=yv(a,o,t);a5(a,v);break e}}a=a.return}while(a!==null)}Uv(n)}catch(N){t=N,ot===n&&n!==null&&(ot=n=n.return);continue}break}while(1)}function Fv(){var e=Hu.current;return Hu.current=Uu,e===null?Uu:e}function Vm(){(ut===0||ut===3||ut===2)&&(ut=4),gt===null||!(Ia&268435455)&&!(Of&268435455)||bi(gt,vt)}function $u(e,t){var n=be;be|=2;var r=Fv();(gt!==e||vt!==t)&&(Mr=null,xa(e,t));do try{YN();break}catch(i){Dv(e,i)}while(1);if(wm(),be=n,Hu.current=r,ot!==null)throw Error($(261));return gt=null,vt=0,ut}function YN(){for(;ot!==null;)Bv(ot)}function qN(){for(;ot!==null&&!yx();)Bv(ot)}function Bv(e){var t=zv(e.alternate,e,nn);e.memoizedProps=e.pendingProps,t===null?Uv(e):ot=t,Hm.current=null}function Uv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=jN(n,t),n!==null){n.flags&=32767,ot=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ut=6,ot=null;return}}else if(n=zN(n,t,nn),n!==null){ot=n;return}if(t=t.sibling,t!==null){ot=t;return}ot=t=e}while(t!==null);ut===0&&(ut=5)}function ca(e,t,n){var r=we,i=An.transition;try{An.transition=null,we=1,XN(e,t,n,r)}finally{An.transition=i,we=r}return null}function XN(e,t,n,r){do Hs();while(xi!==null);if(be&6)throw Error($(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error($(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(Ox(e,a),e===gt&&(ot=gt=null,vt=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ac||(ac=!0,jv(Au,function(){return Hs(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=An.transition,An.transition=null;var s=we;we=1;var o=be;be|=4,Hm.current=null,GN(e,n),Mv(n,e),gN(O0),Nu=!!k0,O0=k0=null,e.current=n,VN(n),vx(),be=o,we=s,An.transition=a}else e.current=n;if(ac&&(ac=!1,xi=e,ju=i),a=e.pendingLanes,a===0&&(Li=null),Ax(n.stateNode),Kt(e,rt()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(zu)throw zu=!1,e=X0,X0=null,e;return ju&1&&e.tag!==0&&Hs(),a=e.pendingLanes,a&1?e===Q0?fl++:(fl=0,Q0=e):fl=0,Qi(),null}function Hs(){if(xi!==null){var e=_y(ju),t=An.transition,n=we;try{if(An.transition=null,we=16>e?16:e,xi===null)var r=!1;else{if(e=xi,xi=null,ju=0,be&6)throw Error($(331));var i=be;for(be|=4,J=e.current;J!==null;){var a=J,s=a.child;if(J.flags&16){var o=a.deletions;if(o!==null){for(var l=0;l<o.length;l++){var c=o[l];for(J=c;J!==null;){var u=J;switch(u.tag){case 0:case 11:case 15:cl(8,u,a)}var f=u.child;if(f!==null)f.return=u,J=f;else for(;J!==null;){u=J;var d=u.sibling,h=u.return;if(Ov(u),u===c){J=null;break}if(d!==null){d.return=h,J=d;break}J=h}}}var g=a.alternate;if(g!==null){var E=g.child;if(E!==null){g.child=null;do{var b=E.sibling;E.sibling=null,E=b}while(E!==null)}}J=a}}if(a.subtreeFlags&2064&&s!==null)s.return=a,J=s;else e:for(;J!==null;){if(a=J,a.flags&2048)switch(a.tag){case 0:case 11:case 15:cl(9,a,a.return)}var m=a.sibling;if(m!==null){m.return=a.return,J=m;break e}J=a.return}}var T=e.current;for(J=T;J!==null;){s=J;var _=s.child;if(s.subtreeFlags&2064&&_!==null)_.return=s,J=_;else e:for(s=T;J!==null;){if(o=J,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:kf(9,o)}}catch(N){Ze(o,o.return,N)}if(o===s){J=null;break e}var v=o.sibling;if(v!==null){v.return=o.return,J=v;break e}J=o.return}}if(be=i,Qi(),hr&&typeof hr.onPostCommitFiberRoot=="function")try{hr.onPostCommitFiberRoot(vf,e)}catch{}r=!0}return r}finally{we=n,An.transition=t}}return!1}function w5(e,t,n){t=Xs(n,t),t=Tv(e,t,1),e=Mi(e,t,1),t=Lt(),e!==null&&(y1(e,1,t),Kt(e,t))}function Ze(e,t,n){if(e.tag===3)w5(e,e,n);else for(;t!==null;){if(t.tag===3){w5(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Li===null||!Li.has(r))){e=Xs(n,e),e=yv(t,e,1),t=Mi(t,e,1),e=Lt(),t!==null&&(y1(t,1,e),Kt(t,e));break}}t=t.return}}function QN(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Lt(),e.pingedLanes|=e.suspendedLanes&n,gt===e&&(vt&n)===n&&(ut===4||ut===3&&(vt&130023424)===vt&&500>rt()-jm?xa(e,0):zm|=n),Kt(e,t)}function Hv(e,t){t===0&&(e.mode&1?(t=q1,q1<<=1,!(q1&130023424)&&(q1=4194304)):t=1);var n=Lt();e=Kr(e,t),e!==null&&(y1(e,t,n),Kt(e,n))}function ZN(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Hv(e,n)}function JN(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error($(314))}r!==null&&r.delete(t),Hv(e,n)}var zv;zv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Gt.current)jt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return jt=!1,HN(e,t,n);jt=!!(e.flags&131072)}else jt=!1,Ge&&t.flags&1048576&&Gy(t,Mu,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ru(e,t),e=t.pendingProps;var i=Ks(t,Ot.current);Us(t,n),i=Pm(null,t,r,e,i,n);var a=Dm();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Vt(r)?(a=!0,Ru(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Om(t),i.updater=wf,t.stateNode=i,i._reactInternals=t,U0(t,r,e,n),t=j0(null,t,r,!0,a,n)):(t.tag=0,Ge&&a&&Sm(t),It(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ru(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=t7(r),e=jn(r,e),i){case 0:t=z0(null,t,r,e,n);break e;case 1:t=E5(null,t,r,e,n);break e;case 11:t=m5(null,t,r,e,n);break e;case 14:t=g5(null,t,r,jn(r.type,e),n);break e}throw Error($(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:jn(r,i),z0(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:jn(r,i),E5(e,t,r,i,n);case 3:e:{if(Av(t),e===null)throw Error($(387));r=t.pendingProps,a=t.memoizedState,i=a.element,Yy(e,t),Du(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=Xs(Error($(423)),t),t=_5(e,t,r,n,i);break e}else if(r!==i){i=Xs(Error($(424)),t),t=_5(e,t,r,n,i);break e}else for(rn=Ii(t.stateNode.containerInfo.firstChild),on=t,Ge=!0,Gn=null,n=Zy(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ws(),r===i){t=Wr(e,t,n);break e}It(e,t,r,n)}t=t.child}return t;case 5:return Jy(t),e===null&&D0(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,s=i.children,R0(r,i)?s=null:a!==null&&R0(r,a)&&(t.flags|=32),Sv(e,t),It(e,t,s,n),t.child;case 6:return e===null&&D0(t),null;case 13:return xv(e,t,n);case 4:return Rm(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ys(t,null,r,n):It(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:jn(r,i),m5(e,t,r,i,n);case 7:return It(e,t,t.pendingProps,n),t.child;case 8:return It(e,t,t.pendingProps.children,n),t.child;case 12:return It(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,Ie(Lu,r._currentValue),r._currentValue=s,a!==null)if(Qn(a.value,s)){if(a.children===i.children&&!Gt.current){t=Wr(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var o=a.dependencies;if(o!==null){s=a.child;for(var l=o.firstContext;l!==null;){if(l.context===r){if(a.tag===1){l=zr(-1,n&-n),l.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),F0(a.return,n,t),o.lanes|=n;break}l=l.next}}else if(a.tag===10)s=a.type===t.type?null:a.child;else if(a.tag===18){if(s=a.return,s===null)throw Error($(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),F0(s,n,t),s=a.sibling}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===t){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}It(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Us(t,n),i=wn(i),r=r(i),t.flags|=1,It(e,t,r,n),t.child;case 14:return r=t.type,i=jn(r,t.pendingProps),i=jn(r.type,i),g5(e,t,r,i,n);case 15:return vv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:jn(r,i),ru(e,t),t.tag=1,Vt(r)?(e=!0,Ru(t)):e=!1,Us(t,n),Xy(t,r,i),U0(t,r,i,n),j0(null,t,r,!0,e,n);case 19:return Nv(e,t,n);case 22:return bv(e,t,n)}throw Error($(156,t.tag))};function jv(e,t){return py(e,t)}function e7(e,t,n,r){this.tag=e,this.key=n,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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Sn(e,t,n,r){return new e7(e,t,n,r)}function Km(e){return e=e.prototype,!(!e||!e.isReactComponent)}function t7(e){if(typeof e=="function")return Km(e)?1:0;if(e!=null){if(e=e.$$typeof,e===fm)return 11;if(e===dm)return 14}return 2}function Di(e,t){var n=e.alternate;return n===null?(n=Sn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function su(e,t,n,r,i,a){var s=2;if(r=e,typeof e=="function")Km(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case hs:return Na(n.children,i,a,t);case um:s=8,i|=8;break;case c0:return e=Sn(12,n,t,i|2),e.elementType=c0,e.lanes=a,e;case u0:return e=Sn(13,n,t,i),e.elementType=u0,e.lanes=a,e;case f0:return e=Sn(19,n,t,i),e.elementType=f0,e.lanes=a,e;case QT:return Rf(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case qT:s=10;break e;case XT:s=9;break e;case fm:s=11;break e;case dm:s=14;break e;case Ei:s=16,r=null;break e}throw Error($(130,e==null?e:typeof e,""))}return t=Sn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function Na(e,t,n,r){return e=Sn(7,e,r,t),e.lanes=n,e}function Rf(e,t,n,r){return e=Sn(22,e,r,t),e.elementType=QT,e.lanes=n,e.stateNode={isHidden:!1},e}function Xd(e,t,n){return e=Sn(6,e,null,t),e.lanes=n,e}function Qd(e,t,n){return t=Sn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function n7(e,t,n,r,i){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=Rd(0),this.expirationTimes=Rd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Rd(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Wm(e,t,n,r,i,a,s,o,l){return e=new n7(e,t,n,o,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=Sn(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Om(a),e}function r7(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ds,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function $v(e){if(!e)return $i;e=e._reactInternals;e:{if($a(e)!==e||e.tag!==1)throw Error($(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Vt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error($(171))}if(e.tag===1){var n=e.type;if(Vt(n))return jy(e,n,t)}return t}function Gv(e,t,n,r,i,a,s,o,l){return e=Wm(n,r,!0,e,i,a,s,o,l),e.context=$v(null),n=e.current,r=Lt(),i=Pi(n),a=zr(r,i),a.callback=t??null,Mi(n,a,i),e.current.lanes=i,y1(e,i,r),Kt(e,r),e}function If(e,t,n,r){var i=t.current,a=Lt(),s=Pi(i);return n=$v(n),t.context===null?t.context=n:t.pendingContext=n,t=zr(a,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Mi(i,t,s),e!==null&&(Xn(e,i,s,a),eu(e,i,s)),s}function Gu(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 C5(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ym(e,t){C5(e,t),(e=e.alternate)&&C5(e,t)}function i7(){return null}var Vv=typeof reportError=="function"?reportError:function(e){console.error(e)};function qm(e){this._internalRoot=e}Mf.prototype.render=qm.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error($(409));If(e,t,null,null)};Mf.prototype.unmount=qm.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ma(function(){If(null,e,null,null)}),t[Vr]=null}};function Mf(e){this._internalRoot=e}Mf.prototype.unstable_scheduleHydration=function(e){if(e){var t=vy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<vi.length&&t!==0&&t<vi[n].priority;n++);vi.splice(n,0,e),n===0&&Sy(e)}};function Xm(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Lf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function k5(){}function a7(e,t,n,r,i){if(i){if(typeof r=="function"){var a=r;r=function(){var c=Gu(s);a.call(c)}}var s=Gv(t,r,e,0,null,!1,!1,"",k5);return e._reactRootContainer=s,e[Vr]=s.current,Ul(e.nodeType===8?e.parentNode:e),Ma(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var o=r;r=function(){var c=Gu(l);o.call(c)}}var l=Wm(e,0,!1,null,null,!1,!1,"",k5);return e._reactRootContainer=l,e[Vr]=l.current,Ul(e.nodeType===8?e.parentNode:e),Ma(function(){If(t,l,n,r)}),l}function Pf(e,t,n,r,i){var a=n._reactRootContainer;if(a){var s=a;if(typeof i=="function"){var o=i;i=function(){var l=Gu(s);o.call(l)}}If(t,s,e,i)}else s=a7(n,t,e,i,r);return Gu(s)}Ty=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Xo(t.pendingLanes);n!==0&&(mm(t,n|1),Kt(t,rt()),!(be&6)&&(Qs=rt()+500,Qi()))}break;case 13:Ma(function(){var r=Kr(e,1);if(r!==null){var i=Lt();Xn(r,e,1,i)}}),Ym(e,1)}};gm=function(e){if(e.tag===13){var t=Kr(e,134217728);if(t!==null){var n=Lt();Xn(t,e,134217728,n)}Ym(e,134217728)}};yy=function(e){if(e.tag===13){var t=Pi(e),n=Kr(e,t);if(n!==null){var r=Lt();Xn(n,e,t,r)}Ym(e,t)}};vy=function(){return we};by=function(e,t){var n=we;try{return we=e,t()}finally{we=n}};v0=function(e,t,n){switch(t){case"input":if(p0(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=xf(r);if(!i)throw Error($(90));JT(r),p0(r,i)}}}break;case"textarea":ty(e,n);break;case"select":t=n.value,t!=null&&Ps(e,!!n.multiple,t,!1)}};ly=$m;cy=Ma;var s7={usingClientEntryPoint:!1,Events:[b1,Es,xf,sy,oy,$m]},Mo={findFiberByHostInstance:ma,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},o7={bundleType:Mo.bundleType,version:Mo.version,rendererPackageName:Mo.rendererPackageName,rendererConfig:Mo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ei.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=dy(e),e===null?null:e.stateNode},findFiberByHostInstance:Mo.findFiberByHostInstance||i7,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var sc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sc.isDisabled&&sc.supportsFiber)try{vf=sc.inject(o7),hr=sc}catch{}}hn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=s7;hn.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Xm(t))throw Error($(200));return r7(e,t,null,n)};hn.createRoot=function(e,t){if(!Xm(e))throw Error($(299));var n=!1,r="",i=Vv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Wm(e,1,!1,null,null,n,!1,r,i),e[Vr]=t.current,Ul(e.nodeType===8?e.parentNode:e),new qm(t)};hn.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($(188)):(e=Object.keys(e).join(","),Error($(268,e)));return e=dy(t),e=e===null?null:e.stateNode,e};hn.flushSync=function(e){return Ma(e)};hn.hydrate=function(e,t,n){if(!Lf(t))throw Error($(200));return Pf(null,e,t,!0,n)};hn.hydrateRoot=function(e,t,n){if(!Xm(e))throw Error($(405));var r=n!=null&&n.hydratedSources||null,i=!1,a="",s=Vv;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Gv(t,null,e,1,n??null,i,!1,a,s),e[Vr]=t.current,Ul(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Mf(t)};hn.render=function(e,t,n){if(!Lf(t))throw Error($(200));return Pf(null,e,t,!1,n)};hn.unmountComponentAtNode=function(e){if(!Lf(e))throw Error($(40));return e._reactRootContainer?(Ma(function(){Pf(null,null,e,!1,function(){e._reactRootContainer=null,e[Vr]=null})}),!0):!1};hn.unstable_batchedUpdates=$m;hn.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Lf(n))throw Error($(200));if(e==null||e._reactInternals===void 0)throw Error($(38));return Pf(e,t,n,!1,r)};hn.version="18.2.0-next-9e3b772b8-20220608";function Kv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Kv)}catch(e){console.error(e)}}Kv(),GT.exports=hn;var Wv=GT.exports,O5=Wv;o0.createRoot=O5.createRoot,o0.hydrateRoot=O5.hydrateRoot;var Yv=Symbol.for("immer-nothing"),R5=Symbol.for("immer-draftable"),cn=Symbol.for("immer-state");function Vn(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var Zs=Object.getPrototypeOf;function Js(e){return!!e&&!!e[cn]}function La(e){var t;return e?qv(e)||Array.isArray(e)||!!e[R5]||!!((t=e.constructor)!=null&&t[R5])||Ff(e)||Bf(e):!1}var l7=Object.prototype.constructor.toString();function qv(e){if(!e||typeof e!="object")return!1;const t=Zs(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===l7}function Vu(e,t){Df(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function Df(e){const t=e[cn];return t?t.type_:Array.isArray(e)?1:Ff(e)?2:Bf(e)?3:0}function ep(e,t){return Df(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Xv(e,t,n){const r=Df(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function c7(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Ff(e){return e instanceof Map}function Bf(e){return e instanceof Set}function ua(e){return e.copy_||e.base_}function tp(e,t){if(Ff(e))return new Map(e);if(Bf(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);if(!t&&qv(e))return Zs(e)?{...e}:Object.assign(Object.create(null),e);const n=Object.getOwnPropertyDescriptors(e);delete n[cn];let r=Reflect.ownKeys(n);for(let i=0;i<r.length;i++){const a=r[i],s=n[a];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(n[a]={configurable:!0,writable:!0,enumerable:s.enumerable,value:e[a]})}return Object.create(Zs(e),n)}function Qm(e,t=!1){return Uf(e)||Js(e)||!La(e)||(Df(e)>1&&(e.set=e.add=e.clear=e.delete=u7),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>Qm(r,!0))),e}function u7(){Vn(2)}function Uf(e){return Object.isFrozen(e)}var f7={};function Pa(e){const t=f7[e];return t||Vn(0,e),t}var Yl;function Qv(){return Yl}function d7(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function I5(e,t){t&&(Pa("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function np(e){rp(e),e.drafts_.forEach(h7),e.drafts_=null}function rp(e){e===Yl&&(Yl=e.parent_)}function M5(e){return Yl=d7(Yl,e)}function h7(e){const t=e[cn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function L5(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[cn].modified_&&(np(t),Vn(4)),La(e)&&(e=Ku(t,e),t.parent_||Wu(t,e)),t.patches_&&Pa("Patches").generateReplacementPatches_(n[cn].base_,e,t.patches_,t.inversePatches_)):e=Ku(t,n,[]),np(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Yv?e:void 0}function Ku(e,t,n){if(Uf(t))return t;const r=t[cn];if(!r)return Vu(t,(i,a)=>P5(e,r,t,i,a,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Wu(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let a=i,s=!1;r.type_===3&&(a=new Set(i),i.clear(),s=!0),Vu(a,(o,l)=>P5(e,r,i,o,l,n,s)),Wu(e,i,!1),n&&e.patches_&&Pa("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function P5(e,t,n,r,i,a,s){if(Js(i)){const o=a&&t&&t.type_!==3&&!ep(t.assigned_,r)?a.concat(r):void 0,l=Ku(e,i,o);if(Xv(n,r,l),Js(l))e.canAutoFreeze_=!1;else return}else s&&n.add(i);if(La(i)&&!Uf(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Ku(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&Wu(e,i)}}function Wu(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Qm(t,n)}function p7(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Qv(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,a=Zm;n&&(i=[r],a=ql);const{revoke:s,proxy:o}=Proxy.revocable(i,a);return r.draft_=o,r.revoke_=s,o}var Zm={get(e,t){if(t===cn)return e;const n=ua(e);if(!ep(n,t))return m7(e,n,t);const r=n[t];return e.finalized_||!La(r)?r:r===Zd(e.base_,t)?(Jd(e),e.copy_[t]=ap(r,e)):r},has(e,t){return t in ua(e)},ownKeys(e){return Reflect.ownKeys(ua(e))},set(e,t,n){const r=Zv(ua(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=Zd(ua(e),t),a=i==null?void 0:i[cn];if(a&&a.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(c7(n,i)&&(n!==void 0||ep(e.base_,t)))return!0;Jd(e),ip(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return Zd(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Jd(e),ip(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=ua(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){Vn(11)},getPrototypeOf(e){return Zs(e.base_)},setPrototypeOf(){Vn(12)}},ql={};Vu(Zm,(e,t)=>{ql[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});ql.deleteProperty=function(e,t){return ql.set.call(this,e,t,void 0)};ql.set=function(e,t,n){return Zm.set.call(this,e[0],t,n,e[0])};function Zd(e,t){const n=e[cn];return(n?ua(n):e)[t]}function m7(e,t,n){var i;const r=Zv(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Zv(e,t){if(!(t in e))return;let n=Zs(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Zs(n)}}function ip(e){e.modified_||(e.modified_=!0,e.parent_&&ip(e.parent_))}function Jd(e){e.copy_||(e.copy_=tp(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var g7=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const a=n;n=t;const s=this;return function(l=a,...c){return s.produce(l,u=>n.call(this,u,...c))}}typeof n!="function"&&Vn(6),r!==void 0&&typeof r!="function"&&Vn(7);let i;if(La(t)){const a=M5(this),s=ap(t,void 0);let o=!0;try{i=n(s),o=!1}finally{o?np(a):rp(a)}return I5(a,r),L5(i,a)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Yv&&(i=void 0),this.autoFreeze_&&Qm(i,!0),r){const a=[],s=[];Pa("Patches").generateReplacementPatches_(t,i,a,s),r(a,s)}return i}else Vn(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...o)=>this.produceWithPatches(s,l=>t(l,...o));let r,i;return[this.produce(t,n,(s,o)=>{r=s,i=o}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){La(e)||Vn(8),Js(e)&&(e=E7(e));const t=M5(this),n=ap(e,void 0);return n[cn].isManual_=!0,rp(t),n}finishDraft(e,t){const n=e&&e[cn];(!n||!n.isManual_)&&Vn(9);const{scope_:r}=n;return I5(r,t),L5(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=Pa("Patches").applyPatches_;return Js(e)?r(e,t):this.produce(e,i=>r(i,t))}};function ap(e,t){const n=Ff(e)?Pa("MapSet").proxyMap_(e,t):Bf(e)?Pa("MapSet").proxySet_(e,t):p7(e,t);return(t?t.scope_:Qv()).drafts_.push(n),n}function E7(e){return Js(e)||Vn(10,e),Jv(e)}function Jv(e){if(!La(e)||Uf(e))return e;const t=e[cn];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=tp(e,t.scope_.immer_.useStrictShallowCopy_)}else n=tp(e,!0);return Vu(n,(r,i)=>{Xv(n,r,Jv(i))}),t&&(t.finalized_=!1),n}var un=new g7,yt=un.produce;un.produceWithPatches.bind(un);un.setAutoFreeze.bind(un);un.setUseStrictShallowCopy.bind(un);un.applyPatches.bind(un);un.createDraft.bind(un);un.finishDraft.bind(un);var e8={exports:{}};/*!
41
+ Copyright (c) 2018 Jed Watson.
42
+ Licensed under the MIT License (MIT), see
43
+ http://jedwatson.github.io/classnames
44
+ */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i<arguments.length;i++){var a=arguments[i];if(a){var s=typeof a;if(s==="string"||s==="number")r.push(a);else if(Array.isArray(a)){if(a.length){var o=n.apply(null,a);o&&r.push(o)}}else if(s==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){r.push(a.toString());continue}for(var l in a)t.call(a,l)&&a[l]&&r.push(l)}}}return r.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(e8);var _7=e8.exports;const We=Zn(_7);var t8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="user",r=448,i=512,a=[128100,62144],s="f007",o="M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faUser=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(t8);var n8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="triangle-exclamation",r=512,i=512,a=[9888,"exclamation-triangle","warning"],s="f071",o="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faTriangleExclamation=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(n8);var r8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="arrows-rotate",r=512,i=512,a=[128472,"refresh","sync"],s="f021",o="M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faArrowsRotate=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(r8);var i8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="code-branch",r=448,i=512,a=[],s="f126",o="M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3v87.8c18.8-10.9 40.7-17.1 64-17.1h96c35.3 0 64-28.7 64-64v-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V160c0 70.7-57.3 128-128 128H176c-35.3 0-64 28.7-64 64v6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V352 153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faCodeBranch=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(i8);var a8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="file",r=384,i=512,a=[128196,128459,61462],s="f15b",o="M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faFile=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(a8);var s8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="thumbs-up",r=512,i=512,a=[128077,61575],s="f164",o="M313.4 32.9c26 5.2 42.9 30.5 37.7 56.5l-2.3 11.4c-5.3 26.7-15.1 52.1-28.8 75.2H464c26.5 0 48 21.5 48 48c0 18.5-10.5 34.6-25.9 42.6C497 275.4 504 288.9 504 304c0 23.4-16.8 42.9-38.9 47.1c4.4 7.3 6.9 15.8 6.9 24.9c0 21.3-13.9 39.4-33.1 45.6c.7 3.3 1.1 6.8 1.1 10.4c0 26.5-21.5 48-48 48H294.5c-19 0-37.5-5.6-53.3-16.1l-38.5-25.7C176 420.4 160 390.4 160 358.3V320 272 247.1c0-29.2 13.3-56.7 36-75l7.4-5.9c26.5-21.2 44.6-51 51.2-84.2l2.3-11.4c5.2-26 30.5-42.9 56.5-37.7zM32 192H96c17.7 0 32 14.3 32 32V448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faThumbsUp=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(s8);var o8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="far",n="thumbs-up",r=512,i=512,a=[128077,61575],s="f164",o="M323.8 34.8c-38.2-10.9-78.1 11.2-89 49.4l-5.7 20c-3.7 13-10.4 25-19.5 35l-51.3 56.4c-8.9 9.8-8.2 25 1.6 33.9s25 8.2 33.9-1.6l51.3-56.4c14.1-15.5 24.4-34 30.1-54.1l5.7-20c3.6-12.7 16.9-20.1 29.7-16.5s20.1 16.9 16.5 29.7l-5.7 20c-5.7 19.9-14.7 38.7-26.6 55.5c-5.2 7.3-5.8 16.9-1.7 24.9s12.3 13 21.3 13L448 224c8.8 0 16 7.2 16 16c0 6.8-4.3 12.7-10.4 15c-7.4 2.8-13 9-14.9 16.7s.1 15.8 5.3 21.7c2.5 2.8 4 6.5 4 10.6c0 7.8-5.6 14.3-13 15.7c-8.2 1.6-15.1 7.3-18 15.1s-1.6 16.7 3.6 23.3c2.1 2.7 3.4 6.1 3.4 9.9c0 6.7-4.2 12.6-10.2 14.9c-11.5 4.5-17.7 16.9-14.4 28.8c.4 1.3 .6 2.8 .6 4.3c0 8.8-7.2 16-16 16H286.5c-12.6 0-25-3.7-35.5-10.7l-61.7-41.1c-11-7.4-25.9-4.4-33.3 6.7s-4.4 25.9 6.7 33.3l61.7 41.1c18.4 12.3 40 18.8 62.1 18.8H384c34.7 0 62.9-27.6 64-62c14.6-11.7 24-29.7 24-50c0-4.5-.5-8.8-1.3-13c15.4-11.7 25.3-30.2 25.3-51c0-6.5-1-12.8-2.8-18.7C504.8 273.7 512 257.7 512 240c0-35.3-28.6-64-64-64l-92.3 0c4.7-10.4 8.7-21.2 11.8-32.2l5.7-20c10.9-38.2-11.2-78.1-49.4-89zM32 192c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32H96c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H32z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faThumbsUp=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(o8);var l8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="thumbs-down",r=512,i=512,a=[128078,61576],s="f165",o="M313.4 479.1c26-5.2 42.9-30.5 37.7-56.5l-2.3-11.4c-5.3-26.7-15.1-52.1-28.8-75.2H464c26.5 0 48-21.5 48-48c0-18.5-10.5-34.6-25.9-42.6C497 236.6 504 223.1 504 208c0-23.4-16.8-42.9-38.9-47.1c4.4-7.3 6.9-15.8 6.9-24.9c0-21.3-13.9-39.4-33.1-45.6c.7-3.3 1.1-6.8 1.1-10.4c0-26.5-21.5-48-48-48H294.5c-19 0-37.5 5.6-53.3 16.1L202.7 73.8C176 91.6 160 121.6 160 153.7V192v48 24.9c0 29.2 13.3 56.7 36 75l7.4 5.9c26.5 21.2 44.6 51 51.2 84.2l2.3 11.4c5.2 26 30.5 42.9 56.5 37.7zM32 384H96c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32H32C14.3 96 0 110.3 0 128V352c0 17.7 14.3 32 32 32z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faThumbsDown=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(l8);var c8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="far",n="thumbs-down",r=512,i=512,a=[128078,61576],s="f165",o="M323.8 477.2c-38.2 10.9-78.1-11.2-89-49.4l-5.7-20c-3.7-13-10.4-25-19.5-35l-51.3-56.4c-8.9-9.8-8.2-25 1.6-33.9s25-8.2 33.9 1.6l51.3 56.4c14.1 15.5 24.4 34 30.1 54.1l5.7 20c3.6 12.7 16.9 20.1 29.7 16.5s20.1-16.9 16.5-29.7l-5.7-20c-5.7-19.9-14.7-38.7-26.6-55.5c-5.2-7.3-5.8-16.9-1.7-24.9s12.3-13 21.3-13L448 288c8.8 0 16-7.2 16-16c0-6.8-4.3-12.7-10.4-15c-7.4-2.8-13-9-14.9-16.7s.1-15.8 5.3-21.7c2.5-2.8 4-6.5 4-10.6c0-7.8-5.6-14.3-13-15.7c-8.2-1.6-15.1-7.3-18-15.2s-1.6-16.7 3.6-23.3c2.1-2.7 3.4-6.1 3.4-9.9c0-6.7-4.2-12.6-10.2-14.9c-11.5-4.5-17.7-16.9-14.4-28.8c.4-1.3 .6-2.8 .6-4.3c0-8.8-7.2-16-16-16H286.5c-12.6 0-25 3.7-35.5 10.7l-61.7 41.1c-11 7.4-25.9 4.4-33.3-6.7s-4.4-25.9 6.7-33.3l61.7-41.1c18.4-12.3 40-18.8 62.1-18.8H384c34.7 0 62.9 27.6 64 62c14.6 11.7 24 29.7 24 50c0 4.5-.5 8.8-1.3 13c15.4 11.7 25.3 30.2 25.3 51c0 6.5-1 12.8-2.8 18.7C504.8 238.3 512 254.3 512 272c0 35.3-28.6 64-64 64l-92.3 0c4.7 10.4 8.7 21.2 11.8 32.2l5.7 20c10.9 38.2-11.2 78.1-49.4 89zM32 384c-17.7 0-32-14.3-32-32V128c0-17.7 14.3-32 32-32H96c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H32z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faThumbsDown=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(c8);var u8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="square-check",r=448,i=512,a=[9745,9989,61510,"check-square"],s="f14a",o="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faSquareCheck=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(u8);var f8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="square",r=448,i=512,a=[9632,9723,9724,61590],s="f0c8",o="M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faSquare=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(f8);var d8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="plus",r=448,i=512,a=[10133,61543,"add"],s="2b",o="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faPlus=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(d8);var h8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="paper-plane",r=512,i=512,a=[61913],s="f1d8",o="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faPaperPlane=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(h8);var p8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="minus",r=448,i=512,a=[8211,8722,10134,"subtract"],s="f068",o="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faMinus=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(p8);var m8={},g8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="circle-info",r=512,i=512,a=["info-circle"],s="f05a",o="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faCircleInfo=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(g8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=g8;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faInfoCircle=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases})(m8);var E8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="file-export",r=576,i=512,a=["arrow-right-from-file"],s="f56e",o="M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384V288H216c-13.3 0-24 10.7-24 24s10.7 24 24 24H384V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zM384 336V288H494.1l-39-39c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l80 80c9.4 9.4 9.4 24.6 0 33.9l-80 80c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l39-39H384zm0-208H256V0L384 128z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faFileExport=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(E8);var _8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="xmark",r=384,i=512,a=[128473,10005,10006,10060,215,"close","multiply","remove","times"],s="f00d",o="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faXmark=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(_8);var T8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="copy",r=448,i=512,a=[],s="f0c5",o="M208 0H332.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H208c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128h80v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faCopy=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(T8);var y8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="comment",r=512,i=512,a=[128489,61669],s="f075",o="M512 240c0 114.9-114.6 208-256 208c-37.1 0-72.3-6.4-104.1-17.9c-11.9 8.7-31.3 20.6-54.3 30.6C73.6 471.1 44.7 480 16 480c-6.5 0-12.3-3.9-14.8-9.9c-2.5-6-1.1-12.8 3.4-17.4l0 0 0 0 0 0 0 0 .3-.3c.3-.3 .7-.7 1.3-1.4c1.1-1.2 2.8-3.1 4.9-5.7c4.1-5 9.6-12.4 15.2-21.6c10-16.6 19.5-38.4 21.4-62.9C17.7 326.8 0 285.1 0 240C0 125.1 114.6 32 256 32s256 93.1 256 208z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faComment=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(y8);var v8={},b8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="gear",r=512,i=512,a=[9881,"cog"],s="f013",o="M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faGear=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(b8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=b8;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faCog=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases})(v8);var S8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="circle-pause",r=512,i=512,a=[62092,"pause-circle"],s="f28b",o="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM224 192V320c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7 14.3-32 32-32s32 14.3 32 32zm128 0V320c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7 14.3-32 32-32s32 14.3 32 32z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faCirclePause=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(S8);var A8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="circle-notch",r=512,i=512,a=[],s="f1ce",o="M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faCircleNotch=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(A8);var x8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="chevron-right",r=320,i=512,a=[9002],s="f054",o="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faChevronRight=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(x8);var N8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="chevron-down",r=512,i=512,a=[],s="f078",o="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faChevronDown=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(N8);var w8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="check",r=448,i=512,a=[10003,10004],s="f00c",o="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faCheck=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(w8);var C8={},k8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="ban",r=512,i=512,a=[128683,"cancel"],s="f05e",o="M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faBan=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(k8);(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=k8;e.definition={prefix:t.prefix,iconName:t.iconName,icon:[t.width,t.height,t.aliases,t.unicode,t.svgPathData]},e.faCancel=e.definition,e.prefix=t.prefix,e.iconName=t.iconName,e.width=t.width,e.height=t.height,e.ligatures=t.aliases,e.unicode=t.unicode,e.svgPathData=t.svgPathData,e.aliases=t.aliases})(C8);var O8={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t="fas",n="book",r=448,i=512,a=[128212],s="f02d",o="M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z";e.definition={prefix:t,iconName:n,icon:[r,i,a,s,o]},e.faBook=e.definition,e.prefix=t,e.iconName=n,e.width=r,e.height=i,e.ligatures=a,e.unicode=s,e.svgPathData=o,e.aliases=a})(O8);function D5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?D5(Object(n),!0).forEach(function(r){ft(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Yu(e){"@babel/helpers - typeof";return Yu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yu(e)}function T7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F5(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y7(e,t,n){return t&&F5(e.prototype,t),n&&F5(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jm(e,t){return b7(e)||A7(e,t)||R8(e,t)||N7()}function A1(e){return v7(e)||S7(e)||R8(e)||x7()}function v7(e){if(Array.isArray(e))return sp(e)}function b7(e){if(Array.isArray(e))return e}function S7(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function A7(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,a=!1,s,o;try{for(n=n.call(e);!(i=(s=n.next()).done)&&(r.push(s.value),!(t&&r.length===t));i=!0);}catch(l){a=!0,o=l}finally{try{!i&&n.return!=null&&n.return()}finally{if(a)throw o}}return r}}function R8(e,t){if(e){if(typeof e=="string")return sp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sp(e,t)}}function sp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x7(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
45
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function N7(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
46
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B5=function(){},eg={},I8={},M8=null,L8={mark:B5,measure:B5};try{typeof window<"u"&&(eg=window),typeof document<"u"&&(I8=document),typeof MutationObserver<"u"&&(M8=MutationObserver),typeof performance<"u"&&(L8=performance)}catch{}var w7=eg.navigator||{},U5=w7.userAgent,H5=U5===void 0?"":U5,Gi=eg,He=I8,z5=M8,oc=L8;Gi.document;var ti=!!He.documentElement&&!!He.head&&typeof He.addEventListener=="function"&&typeof He.createElement=="function",P8=~H5.indexOf("MSIE")||~H5.indexOf("Trident/"),lc,cc,uc,fc,dc,Yr="___FONT_AWESOME___",op=16,D8="fa",F8="svg-inline--fa",Da="data-fa-i2svg",lp="data-fa-pseudo-element",C7="data-fa-pseudo-element-pending",tg="data-prefix",ng="data-icon",j5="fontawesome-i2svg",k7="async",O7=["HTML","HEAD","STYLE","SCRIPT"],B8=function(){try{return!0}catch{return!1}}(),Be="classic",Je="sharp",rg=[Be,Je];function x1(e){return new Proxy(e,{get:function(n,r){return r in n?n[r]:n[Be]}})}var Xl=x1((lc={},ft(lc,Be,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit"}),ft(lc,Je,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),lc)),Ql=x1((cc={},ft(cc,Be,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),ft(cc,Je,{solid:"fass",regular:"fasr",light:"fasl"}),cc)),Zl=x1((uc={},ft(uc,Be,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),ft(uc,Je,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),uc)),R7=x1((fc={},ft(fc,Be,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),ft(fc,Je,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),fc)),I7=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,U8="fa-layers-text",M7=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,L7=x1((dc={},ft(dc,Be,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),ft(dc,Je,{900:"fass",400:"fasr",300:"fasl"}),dc)),H8=[1,2,3,4,5,6,7,8,9,10],P7=H8.concat([11,12,13,14,15,16,17,18,19,20]),D7=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],_a={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Jl=new Set;Object.keys(Ql[Be]).map(Jl.add.bind(Jl));Object.keys(Ql[Je]).map(Jl.add.bind(Jl));var F7=[].concat(rg,A1(Jl),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",_a.GROUP,_a.SWAP_OPACITY,_a.PRIMARY,_a.SECONDARY]).concat(H8.map(function(e){return"".concat(e,"x")})).concat(P7.map(function(e){return"w-".concat(e)})),dl=Gi.FontAwesomeConfig||{};function B7(e){var t=He.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function U7(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(He&&typeof He.querySelector=="function"){var H7=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];H7.forEach(function(e){var t=Jm(e,2),n=t[0],r=t[1],i=U7(B7(n));i!=null&&(dl[r]=i)})}var z8={styleDefault:"solid",familyDefault:"classic",cssPrefix:D8,replacementClass:F8,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};dl.familyPrefix&&(dl.cssPrefix=dl.familyPrefix);var eo=Z(Z({},z8),dl);eo.autoReplaceSvg||(eo.observeMutations=!1);var ne={};Object.keys(z8).forEach(function(e){Object.defineProperty(ne,e,{enumerable:!0,set:function(n){eo[e]=n,hl.forEach(function(r){return r(ne)})},get:function(){return eo[e]}})});Object.defineProperty(ne,"familyPrefix",{enumerable:!0,set:function(t){eo.cssPrefix=t,hl.forEach(function(n){return n(ne)})},get:function(){return eo.cssPrefix}});Gi.FontAwesomeConfig=ne;var hl=[];function z7(e){return hl.push(e),function(){hl.splice(hl.indexOf(e),1)}}var li=op,dr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function j7(e){if(!(!e||!ti)){var t=He.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=He.head.childNodes,r=null,i=n.length-1;i>-1;i--){var a=n[i],s=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(r=a)}return He.head.insertBefore(t,r),e}}var $7="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function e1(){for(var e=12,t="";e-- >0;)t+=$7[Math.random()*62|0];return t}function mo(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function ig(e){return e.classList?mo(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(t){return t})}function j8(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function G7(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,'="').concat(j8(e[n]),'" ')},"").trim()}function Hf(e){return Object.keys(e||{}).reduce(function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")},"")}function ag(e){return e.size!==dr.size||e.x!==dr.x||e.y!==dr.y||e.rotate!==dr.rotate||e.flipX||e.flipY}function V7(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(t.x*32,", ").concat(t.y*32,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(a," ").concat(s," ").concat(o)},c={transform:"translate(".concat(r/2*-1," -256)")};return{outer:i,inner:l,path:c}}function K7(e){var t=e.transform,n=e.width,r=n===void 0?op:n,i=e.height,a=i===void 0?op:i,s=e.startCentered,o=s===void 0?!1:s,l="";return o&&P8?l+="translate(".concat(t.x/li-r/2,"em, ").concat(t.y/li-a/2,"em) "):o?l+="translate(calc(-50% + ".concat(t.x/li,"em), calc(-50% + ").concat(t.y/li,"em)) "):l+="translate(".concat(t.x/li,"em, ").concat(t.y/li,"em) "),l+="scale(".concat(t.size/li*(t.flipX?-1:1),", ").concat(t.size/li*(t.flipY?-1:1),") "),l+="rotate(".concat(t.rotate,"deg) "),l}var W7=`:root, :host {
47
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
48
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
49
+ --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
50
+ --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
51
+ --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
52
+ --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
53
+ --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
54
+ --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
55
+ --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
56
+ }
57
+
58
+ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
59
+ overflow: visible;
60
+ box-sizing: content-box;
61
+ }
62
+
63
+ .svg-inline--fa {
64
+ display: var(--fa-display, inline-block);
65
+ height: 1em;
66
+ overflow: visible;
67
+ vertical-align: -0.125em;
68
+ }
69
+ .svg-inline--fa.fa-2xs {
70
+ vertical-align: 0.1em;
71
+ }
72
+ .svg-inline--fa.fa-xs {
73
+ vertical-align: 0em;
74
+ }
75
+ .svg-inline--fa.fa-sm {
76
+ vertical-align: -0.0714285705em;
77
+ }
78
+ .svg-inline--fa.fa-lg {
79
+ vertical-align: -0.2em;
80
+ }
81
+ .svg-inline--fa.fa-xl {
82
+ vertical-align: -0.25em;
83
+ }
84
+ .svg-inline--fa.fa-2xl {
85
+ vertical-align: -0.3125em;
86
+ }
87
+ .svg-inline--fa.fa-pull-left {
88
+ margin-right: var(--fa-pull-margin, 0.3em);
89
+ width: auto;
90
+ }
91
+ .svg-inline--fa.fa-pull-right {
92
+ margin-left: var(--fa-pull-margin, 0.3em);
93
+ width: auto;
94
+ }
95
+ .svg-inline--fa.fa-li {
96
+ width: var(--fa-li-width, 2em);
97
+ top: 0.25em;
98
+ }
99
+ .svg-inline--fa.fa-fw {
100
+ width: var(--fa-fw-width, 1.25em);
101
+ }
102
+
103
+ .fa-layers svg.svg-inline--fa {
104
+ bottom: 0;
105
+ left: 0;
106
+ margin: auto;
107
+ position: absolute;
108
+ right: 0;
109
+ top: 0;
110
+ }
111
+
112
+ .fa-layers-counter, .fa-layers-text {
113
+ display: inline-block;
114
+ position: absolute;
115
+ text-align: center;
116
+ }
117
+
118
+ .fa-layers {
119
+ display: inline-block;
120
+ height: 1em;
121
+ position: relative;
122
+ text-align: center;
123
+ vertical-align: -0.125em;
124
+ width: 1em;
125
+ }
126
+ .fa-layers svg.svg-inline--fa {
127
+ -webkit-transform-origin: center center;
128
+ transform-origin: center center;
129
+ }
130
+
131
+ .fa-layers-text {
132
+ left: 50%;
133
+ top: 50%;
134
+ -webkit-transform: translate(-50%, -50%);
135
+ transform: translate(-50%, -50%);
136
+ -webkit-transform-origin: center center;
137
+ transform-origin: center center;
138
+ }
139
+
140
+ .fa-layers-counter {
141
+ background-color: var(--fa-counter-background-color, #ff253a);
142
+ border-radius: var(--fa-counter-border-radius, 1em);
143
+ box-sizing: border-box;
144
+ color: var(--fa-inverse, #fff);
145
+ line-height: var(--fa-counter-line-height, 1);
146
+ max-width: var(--fa-counter-max-width, 5em);
147
+ min-width: var(--fa-counter-min-width, 1.5em);
148
+ overflow: hidden;
149
+ padding: var(--fa-counter-padding, 0.25em 0.5em);
150
+ right: var(--fa-right, 0);
151
+ text-overflow: ellipsis;
152
+ top: var(--fa-top, 0);
153
+ -webkit-transform: scale(var(--fa-counter-scale, 0.25));
154
+ transform: scale(var(--fa-counter-scale, 0.25));
155
+ -webkit-transform-origin: top right;
156
+ transform-origin: top right;
157
+ }
158
+
159
+ .fa-layers-bottom-right {
160
+ bottom: var(--fa-bottom, 0);
161
+ right: var(--fa-right, 0);
162
+ top: auto;
163
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
164
+ transform: scale(var(--fa-layers-scale, 0.25));
165
+ -webkit-transform-origin: bottom right;
166
+ transform-origin: bottom right;
167
+ }
168
+
169
+ .fa-layers-bottom-left {
170
+ bottom: var(--fa-bottom, 0);
171
+ left: var(--fa-left, 0);
172
+ right: auto;
173
+ top: auto;
174
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
175
+ transform: scale(var(--fa-layers-scale, 0.25));
176
+ -webkit-transform-origin: bottom left;
177
+ transform-origin: bottom left;
178
+ }
179
+
180
+ .fa-layers-top-right {
181
+ top: var(--fa-top, 0);
182
+ right: var(--fa-right, 0);
183
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
184
+ transform: scale(var(--fa-layers-scale, 0.25));
185
+ -webkit-transform-origin: top right;
186
+ transform-origin: top right;
187
+ }
188
+
189
+ .fa-layers-top-left {
190
+ left: var(--fa-left, 0);
191
+ right: auto;
192
+ top: var(--fa-top, 0);
193
+ -webkit-transform: scale(var(--fa-layers-scale, 0.25));
194
+ transform: scale(var(--fa-layers-scale, 0.25));
195
+ -webkit-transform-origin: top left;
196
+ transform-origin: top left;
197
+ }
198
+
199
+ .fa-1x {
200
+ font-size: 1em;
201
+ }
202
+
203
+ .fa-2x {
204
+ font-size: 2em;
205
+ }
206
+
207
+ .fa-3x {
208
+ font-size: 3em;
209
+ }
210
+
211
+ .fa-4x {
212
+ font-size: 4em;
213
+ }
214
+
215
+ .fa-5x {
216
+ font-size: 5em;
217
+ }
218
+
219
+ .fa-6x {
220
+ font-size: 6em;
221
+ }
222
+
223
+ .fa-7x {
224
+ font-size: 7em;
225
+ }
226
+
227
+ .fa-8x {
228
+ font-size: 8em;
229
+ }
230
+
231
+ .fa-9x {
232
+ font-size: 9em;
233
+ }
234
+
235
+ .fa-10x {
236
+ font-size: 10em;
237
+ }
238
+
239
+ .fa-2xs {
240
+ font-size: 0.625em;
241
+ line-height: 0.1em;
242
+ vertical-align: 0.225em;
243
+ }
244
+
245
+ .fa-xs {
246
+ font-size: 0.75em;
247
+ line-height: 0.0833333337em;
248
+ vertical-align: 0.125em;
249
+ }
250
+
251
+ .fa-sm {
252
+ font-size: 0.875em;
253
+ line-height: 0.0714285718em;
254
+ vertical-align: 0.0535714295em;
255
+ }
256
+
257
+ .fa-lg {
258
+ font-size: 1.25em;
259
+ line-height: 0.05em;
260
+ vertical-align: -0.075em;
261
+ }
262
+
263
+ .fa-xl {
264
+ font-size: 1.5em;
265
+ line-height: 0.0416666682em;
266
+ vertical-align: -0.125em;
267
+ }
268
+
269
+ .fa-2xl {
270
+ font-size: 2em;
271
+ line-height: 0.03125em;
272
+ vertical-align: -0.1875em;
273
+ }
274
+
275
+ .fa-fw {
276
+ text-align: center;
277
+ width: 1.25em;
278
+ }
279
+
280
+ .fa-ul {
281
+ list-style-type: none;
282
+ margin-left: var(--fa-li-margin, 2.5em);
283
+ padding-left: 0;
284
+ }
285
+ .fa-ul > li {
286
+ position: relative;
287
+ }
288
+
289
+ .fa-li {
290
+ left: calc(var(--fa-li-width, 2em) * -1);
291
+ position: absolute;
292
+ text-align: center;
293
+ width: var(--fa-li-width, 2em);
294
+ line-height: inherit;
295
+ }
296
+
297
+ .fa-border {
298
+ border-color: var(--fa-border-color, #eee);
299
+ border-radius: var(--fa-border-radius, 0.1em);
300
+ border-style: var(--fa-border-style, solid);
301
+ border-width: var(--fa-border-width, 0.08em);
302
+ padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
303
+ }
304
+
305
+ .fa-pull-left {
306
+ float: left;
307
+ margin-right: var(--fa-pull-margin, 0.3em);
308
+ }
309
+
310
+ .fa-pull-right {
311
+ float: right;
312
+ margin-left: var(--fa-pull-margin, 0.3em);
313
+ }
314
+
315
+ .fa-beat {
316
+ -webkit-animation-name: fa-beat;
317
+ animation-name: fa-beat;
318
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
319
+ animation-delay: var(--fa-animation-delay, 0s);
320
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
321
+ animation-direction: var(--fa-animation-direction, normal);
322
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
323
+ animation-duration: var(--fa-animation-duration, 1s);
324
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
325
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
326
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
327
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
328
+ }
329
+
330
+ .fa-bounce {
331
+ -webkit-animation-name: fa-bounce;
332
+ animation-name: fa-bounce;
333
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
334
+ animation-delay: var(--fa-animation-delay, 0s);
335
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
336
+ animation-direction: var(--fa-animation-direction, normal);
337
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
338
+ animation-duration: var(--fa-animation-duration, 1s);
339
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
340
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
341
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
342
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
343
+ }
344
+
345
+ .fa-fade {
346
+ -webkit-animation-name: fa-fade;
347
+ animation-name: fa-fade;
348
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
349
+ animation-delay: var(--fa-animation-delay, 0s);
350
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
351
+ animation-direction: var(--fa-animation-direction, normal);
352
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
353
+ animation-duration: var(--fa-animation-duration, 1s);
354
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
355
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
356
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
357
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
358
+ }
359
+
360
+ .fa-beat-fade {
361
+ -webkit-animation-name: fa-beat-fade;
362
+ animation-name: fa-beat-fade;
363
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
364
+ animation-delay: var(--fa-animation-delay, 0s);
365
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
366
+ animation-direction: var(--fa-animation-direction, normal);
367
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
368
+ animation-duration: var(--fa-animation-duration, 1s);
369
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
370
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
371
+ -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
372
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
373
+ }
374
+
375
+ .fa-flip {
376
+ -webkit-animation-name: fa-flip;
377
+ animation-name: fa-flip;
378
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
379
+ animation-delay: var(--fa-animation-delay, 0s);
380
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
381
+ animation-direction: var(--fa-animation-direction, normal);
382
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
383
+ animation-duration: var(--fa-animation-duration, 1s);
384
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
385
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
386
+ -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
387
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
388
+ }
389
+
390
+ .fa-shake {
391
+ -webkit-animation-name: fa-shake;
392
+ animation-name: fa-shake;
393
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
394
+ animation-delay: var(--fa-animation-delay, 0s);
395
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
396
+ animation-direction: var(--fa-animation-direction, normal);
397
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
398
+ animation-duration: var(--fa-animation-duration, 1s);
399
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
400
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
401
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
402
+ animation-timing-function: var(--fa-animation-timing, linear);
403
+ }
404
+
405
+ .fa-spin {
406
+ -webkit-animation-name: fa-spin;
407
+ animation-name: fa-spin;
408
+ -webkit-animation-delay: var(--fa-animation-delay, 0s);
409
+ animation-delay: var(--fa-animation-delay, 0s);
410
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
411
+ animation-direction: var(--fa-animation-direction, normal);
412
+ -webkit-animation-duration: var(--fa-animation-duration, 2s);
413
+ animation-duration: var(--fa-animation-duration, 2s);
414
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
415
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
416
+ -webkit-animation-timing-function: var(--fa-animation-timing, linear);
417
+ animation-timing-function: var(--fa-animation-timing, linear);
418
+ }
419
+
420
+ .fa-spin-reverse {
421
+ --fa-animation-direction: reverse;
422
+ }
423
+
424
+ .fa-pulse,
425
+ .fa-spin-pulse {
426
+ -webkit-animation-name: fa-spin;
427
+ animation-name: fa-spin;
428
+ -webkit-animation-direction: var(--fa-animation-direction, normal);
429
+ animation-direction: var(--fa-animation-direction, normal);
430
+ -webkit-animation-duration: var(--fa-animation-duration, 1s);
431
+ animation-duration: var(--fa-animation-duration, 1s);
432
+ -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
433
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
434
+ -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
435
+ animation-timing-function: var(--fa-animation-timing, steps(8));
436
+ }
437
+
438
+ @media (prefers-reduced-motion: reduce) {
439
+ .fa-beat,
440
+ .fa-bounce,
441
+ .fa-fade,
442
+ .fa-beat-fade,
443
+ .fa-flip,
444
+ .fa-pulse,
445
+ .fa-shake,
446
+ .fa-spin,
447
+ .fa-spin-pulse {
448
+ -webkit-animation-delay: -1ms;
449
+ animation-delay: -1ms;
450
+ -webkit-animation-duration: 1ms;
451
+ animation-duration: 1ms;
452
+ -webkit-animation-iteration-count: 1;
453
+ animation-iteration-count: 1;
454
+ -webkit-transition-delay: 0s;
455
+ transition-delay: 0s;
456
+ -webkit-transition-duration: 0s;
457
+ transition-duration: 0s;
458
+ }
459
+ }
460
+ @-webkit-keyframes fa-beat {
461
+ 0%, 90% {
462
+ -webkit-transform: scale(1);
463
+ transform: scale(1);
464
+ }
465
+ 45% {
466
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
467
+ transform: scale(var(--fa-beat-scale, 1.25));
468
+ }
469
+ }
470
+ @keyframes fa-beat {
471
+ 0%, 90% {
472
+ -webkit-transform: scale(1);
473
+ transform: scale(1);
474
+ }
475
+ 45% {
476
+ -webkit-transform: scale(var(--fa-beat-scale, 1.25));
477
+ transform: scale(var(--fa-beat-scale, 1.25));
478
+ }
479
+ }
480
+ @-webkit-keyframes fa-bounce {
481
+ 0% {
482
+ -webkit-transform: scale(1, 1) translateY(0);
483
+ transform: scale(1, 1) translateY(0);
484
+ }
485
+ 10% {
486
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
487
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
488
+ }
489
+ 30% {
490
+ -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
491
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
492
+ }
493
+ 50% {
494
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
495
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
496
+ }
497
+ 57% {
498
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
499
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
500
+ }
501
+ 64% {
502
+ -webkit-transform: scale(1, 1) translateY(0);
503
+ transform: scale(1, 1) translateY(0);
504
+ }
505
+ 100% {
506
+ -webkit-transform: scale(1, 1) translateY(0);
507
+ transform: scale(1, 1) translateY(0);
508
+ }
509
+ }
510
+ @keyframes fa-bounce {
511
+ 0% {
512
+ -webkit-transform: scale(1, 1) translateY(0);
513
+ transform: scale(1, 1) translateY(0);
514
+ }
515
+ 10% {
516
+ -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
517
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
518
+ }
519
+ 30% {
520
+ -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
521
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
522
+ }
523
+ 50% {
524
+ -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
525
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
526
+ }
527
+ 57% {
528
+ -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
529
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
530
+ }
531
+ 64% {
532
+ -webkit-transform: scale(1, 1) translateY(0);
533
+ transform: scale(1, 1) translateY(0);
534
+ }
535
+ 100% {
536
+ -webkit-transform: scale(1, 1) translateY(0);
537
+ transform: scale(1, 1) translateY(0);
538
+ }
539
+ }
540
+ @-webkit-keyframes fa-fade {
541
+ 50% {
542
+ opacity: var(--fa-fade-opacity, 0.4);
543
+ }
544
+ }
545
+ @keyframes fa-fade {
546
+ 50% {
547
+ opacity: var(--fa-fade-opacity, 0.4);
548
+ }
549
+ }
550
+ @-webkit-keyframes fa-beat-fade {
551
+ 0%, 100% {
552
+ opacity: var(--fa-beat-fade-opacity, 0.4);
553
+ -webkit-transform: scale(1);
554
+ transform: scale(1);
555
+ }
556
+ 50% {
557
+ opacity: 1;
558
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
559
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
560
+ }
561
+ }
562
+ @keyframes fa-beat-fade {
563
+ 0%, 100% {
564
+ opacity: var(--fa-beat-fade-opacity, 0.4);
565
+ -webkit-transform: scale(1);
566
+ transform: scale(1);
567
+ }
568
+ 50% {
569
+ opacity: 1;
570
+ -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
571
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
572
+ }
573
+ }
574
+ @-webkit-keyframes fa-flip {
575
+ 50% {
576
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
577
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
578
+ }
579
+ }
580
+ @keyframes fa-flip {
581
+ 50% {
582
+ -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
583
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
584
+ }
585
+ }
586
+ @-webkit-keyframes fa-shake {
587
+ 0% {
588
+ -webkit-transform: rotate(-15deg);
589
+ transform: rotate(-15deg);
590
+ }
591
+ 4% {
592
+ -webkit-transform: rotate(15deg);
593
+ transform: rotate(15deg);
594
+ }
595
+ 8%, 24% {
596
+ -webkit-transform: rotate(-18deg);
597
+ transform: rotate(-18deg);
598
+ }
599
+ 12%, 28% {
600
+ -webkit-transform: rotate(18deg);
601
+ transform: rotate(18deg);
602
+ }
603
+ 16% {
604
+ -webkit-transform: rotate(-22deg);
605
+ transform: rotate(-22deg);
606
+ }
607
+ 20% {
608
+ -webkit-transform: rotate(22deg);
609
+ transform: rotate(22deg);
610
+ }
611
+ 32% {
612
+ -webkit-transform: rotate(-12deg);
613
+ transform: rotate(-12deg);
614
+ }
615
+ 36% {
616
+ -webkit-transform: rotate(12deg);
617
+ transform: rotate(12deg);
618
+ }
619
+ 40%, 100% {
620
+ -webkit-transform: rotate(0deg);
621
+ transform: rotate(0deg);
622
+ }
623
+ }
624
+ @keyframes fa-shake {
625
+ 0% {
626
+ -webkit-transform: rotate(-15deg);
627
+ transform: rotate(-15deg);
628
+ }
629
+ 4% {
630
+ -webkit-transform: rotate(15deg);
631
+ transform: rotate(15deg);
632
+ }
633
+ 8%, 24% {
634
+ -webkit-transform: rotate(-18deg);
635
+ transform: rotate(-18deg);
636
+ }
637
+ 12%, 28% {
638
+ -webkit-transform: rotate(18deg);
639
+ transform: rotate(18deg);
640
+ }
641
+ 16% {
642
+ -webkit-transform: rotate(-22deg);
643
+ transform: rotate(-22deg);
644
+ }
645
+ 20% {
646
+ -webkit-transform: rotate(22deg);
647
+ transform: rotate(22deg);
648
+ }
649
+ 32% {
650
+ -webkit-transform: rotate(-12deg);
651
+ transform: rotate(-12deg);
652
+ }
653
+ 36% {
654
+ -webkit-transform: rotate(12deg);
655
+ transform: rotate(12deg);
656
+ }
657
+ 40%, 100% {
658
+ -webkit-transform: rotate(0deg);
659
+ transform: rotate(0deg);
660
+ }
661
+ }
662
+ @-webkit-keyframes fa-spin {
663
+ 0% {
664
+ -webkit-transform: rotate(0deg);
665
+ transform: rotate(0deg);
666
+ }
667
+ 100% {
668
+ -webkit-transform: rotate(360deg);
669
+ transform: rotate(360deg);
670
+ }
671
+ }
672
+ @keyframes fa-spin {
673
+ 0% {
674
+ -webkit-transform: rotate(0deg);
675
+ transform: rotate(0deg);
676
+ }
677
+ 100% {
678
+ -webkit-transform: rotate(360deg);
679
+ transform: rotate(360deg);
680
+ }
681
+ }
682
+ .fa-rotate-90 {
683
+ -webkit-transform: rotate(90deg);
684
+ transform: rotate(90deg);
685
+ }
686
+
687
+ .fa-rotate-180 {
688
+ -webkit-transform: rotate(180deg);
689
+ transform: rotate(180deg);
690
+ }
691
+
692
+ .fa-rotate-270 {
693
+ -webkit-transform: rotate(270deg);
694
+ transform: rotate(270deg);
695
+ }
696
+
697
+ .fa-flip-horizontal {
698
+ -webkit-transform: scale(-1, 1);
699
+ transform: scale(-1, 1);
700
+ }
701
+
702
+ .fa-flip-vertical {
703
+ -webkit-transform: scale(1, -1);
704
+ transform: scale(1, -1);
705
+ }
706
+
707
+ .fa-flip-both,
708
+ .fa-flip-horizontal.fa-flip-vertical {
709
+ -webkit-transform: scale(-1, -1);
710
+ transform: scale(-1, -1);
711
+ }
712
+
713
+ .fa-rotate-by {
714
+ -webkit-transform: rotate(var(--fa-rotate-angle, none));
715
+ transform: rotate(var(--fa-rotate-angle, none));
716
+ }
717
+
718
+ .fa-stack {
719
+ display: inline-block;
720
+ vertical-align: middle;
721
+ height: 2em;
722
+ position: relative;
723
+ width: 2.5em;
724
+ }
725
+
726
+ .fa-stack-1x,
727
+ .fa-stack-2x {
728
+ bottom: 0;
729
+ left: 0;
730
+ margin: auto;
731
+ position: absolute;
732
+ right: 0;
733
+ top: 0;
734
+ z-index: var(--fa-stack-z-index, auto);
735
+ }
736
+
737
+ .svg-inline--fa.fa-stack-1x {
738
+ height: 1em;
739
+ width: 1.25em;
740
+ }
741
+ .svg-inline--fa.fa-stack-2x {
742
+ height: 2em;
743
+ width: 2.5em;
744
+ }
745
+
746
+ .fa-inverse {
747
+ color: var(--fa-inverse, #fff);
748
+ }
749
+
750
+ .sr-only,
751
+ .fa-sr-only {
752
+ position: absolute;
753
+ width: 1px;
754
+ height: 1px;
755
+ padding: 0;
756
+ margin: -1px;
757
+ overflow: hidden;
758
+ clip: rect(0, 0, 0, 0);
759
+ white-space: nowrap;
760
+ border-width: 0;
761
+ }
762
+
763
+ .sr-only-focusable:not(:focus),
764
+ .fa-sr-only-focusable:not(:focus) {
765
+ position: absolute;
766
+ width: 1px;
767
+ height: 1px;
768
+ padding: 0;
769
+ margin: -1px;
770
+ overflow: hidden;
771
+ clip: rect(0, 0, 0, 0);
772
+ white-space: nowrap;
773
+ border-width: 0;
774
+ }
775
+
776
+ .svg-inline--fa .fa-primary {
777
+ fill: var(--fa-primary-color, currentColor);
778
+ opacity: var(--fa-primary-opacity, 1);
779
+ }
780
+
781
+ .svg-inline--fa .fa-secondary {
782
+ fill: var(--fa-secondary-color, currentColor);
783
+ opacity: var(--fa-secondary-opacity, 0.4);
784
+ }
785
+
786
+ .svg-inline--fa.fa-swap-opacity .fa-primary {
787
+ opacity: var(--fa-secondary-opacity, 0.4);
788
+ }
789
+
790
+ .svg-inline--fa.fa-swap-opacity .fa-secondary {
791
+ opacity: var(--fa-primary-opacity, 1);
792
+ }
793
+
794
+ .svg-inline--fa mask .fa-primary,
795
+ .svg-inline--fa mask .fa-secondary {
796
+ fill: black;
797
+ }
798
+
799
+ .fad.fa-inverse,
800
+ .fa-duotone.fa-inverse {
801
+ color: var(--fa-inverse, #fff);
802
+ }`;function $8(){var e=D8,t=F8,n=ne.cssPrefix,r=ne.replacementClass,i=W7;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),o=new RegExp("\\.".concat(t),"g");i=i.replace(a,".".concat(n,"-")).replace(s,"--".concat(n,"-")).replace(o,".".concat(r))}return i}var $5=!1;function eh(){ne.autoAddCss&&!$5&&(j7($8()),$5=!0)}var Y7={mixout:function(){return{dom:{css:$8,insertCss:eh}}},hooks:function(){return{beforeDOMElementCreation:function(){eh()},beforeI2svg:function(){eh()}}}},qr=Gi||{};qr[Yr]||(qr[Yr]={});qr[Yr].styles||(qr[Yr].styles={});qr[Yr].hooks||(qr[Yr].hooks={});qr[Yr].shims||(qr[Yr].shims=[]);var Kn=qr[Yr],G8=[],q7=function e(){He.removeEventListener("DOMContentLoaded",e),qu=1,G8.map(function(t){return t()})},qu=!1;ti&&(qu=(He.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(He.readyState),qu||He.addEventListener("DOMContentLoaded",q7));function X7(e){ti&&(qu?setTimeout(e,0):G8.push(e))}function N1(e){var t=e.tag,n=e.attributes,r=n===void 0?{}:n,i=e.children,a=i===void 0?[]:i;return typeof e=="string"?j8(e):"<".concat(t," ").concat(G7(r),">").concat(a.map(N1).join(""),"</").concat(t,">")}function G5(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Q7=function(t,n){return function(r,i,a,s){return t.call(n,r,i,a,s)}},th=function(t,n,r,i){var a=Object.keys(t),s=a.length,o=i!==void 0?Q7(n,i):n,l,c,u;for(r===void 0?(l=1,u=t[a[0]]):(l=0,u=r);l<s;l++)c=a[l],u=o(u,t[c],c,t);return u};function Z7(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var a=e.charCodeAt(n++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}function cp(e){var t=Z7(e);return t.length===1?t[0].toString(16):null}function J7(e,t){var n=e.length,r=e.charCodeAt(t),i;return r>=55296&&r<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(r-55296)*1024+i-56320+65536:r}function V5(e){return Object.keys(e).reduce(function(t,n){var r=e[n],i=!!r.icon;return i?t[r.iconName]=r.icon:t[n]=r,t},{})}function up(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.skipHooks,i=r===void 0?!1:r,a=V5(t);typeof Kn.hooks.addPack=="function"&&!i?Kn.hooks.addPack(e,V5(t)):Kn.styles[e]=Z(Z({},Kn.styles[e]||{}),a),e==="fas"&&up("fa",t)}var hc,pc,mc,As=Kn.styles,ew=Kn.shims,tw=(hc={},ft(hc,Be,Object.values(Zl[Be])),ft(hc,Je,Object.values(Zl[Je])),hc),sg=null,V8={},K8={},W8={},Y8={},q8={},nw=(pc={},ft(pc,Be,Object.keys(Xl[Be])),ft(pc,Je,Object.keys(Xl[Je])),pc);function rw(e){return~F7.indexOf(e)}function iw(e,t){var n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r===e&&i!==""&&!rw(i)?i:null}var X8=function(){var t=function(a){return th(As,function(s,o,l){return s[l]=th(o,a,{}),s},{})};V8=t(function(i,a,s){if(a[3]&&(i[a[3]]=s),a[2]){var o=a[2].filter(function(l){return typeof l=="number"});o.forEach(function(l){i[l.toString(16)]=s})}return i}),K8=t(function(i,a,s){if(i[s]=s,a[2]){var o=a[2].filter(function(l){return typeof l=="string"});o.forEach(function(l){i[l]=s})}return i}),q8=t(function(i,a,s){var o=a[2];return i[s]=s,o.forEach(function(l){i[l]=s}),i});var n="far"in As||ne.autoFetchSvg,r=th(ew,function(i,a){var s=a[0],o=a[1],l=a[2];return o==="far"&&!n&&(o="fas"),typeof s=="string"&&(i.names[s]={prefix:o,iconName:l}),typeof s=="number"&&(i.unicodes[s.toString(16)]={prefix:o,iconName:l}),i},{names:{},unicodes:{}});W8=r.names,Y8=r.unicodes,sg=zf(ne.styleDefault,{family:ne.familyDefault})};z7(function(e){sg=zf(e.styleDefault,{family:ne.familyDefault})});X8();function og(e,t){return(V8[e]||{})[t]}function aw(e,t){return(K8[e]||{})[t]}function Ta(e,t){return(q8[e]||{})[t]}function Q8(e){return W8[e]||{prefix:null,iconName:null}}function sw(e){var t=Y8[e],n=og("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function Vi(){return sg}var lg=function(){return{prefix:null,iconName:null,rest:[]}};function zf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.family,r=n===void 0?Be:n,i=Xl[r][e],a=Ql[r][e]||Ql[r][i],s=e in Kn.styles?e:null;return a||s||null}var K5=(mc={},ft(mc,Be,Object.keys(Zl[Be])),ft(mc,Je,Object.keys(Zl[Je])),mc);function jf(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.skipLookups,i=r===void 0?!1:r,a=(t={},ft(t,Be,"".concat(ne.cssPrefix,"-").concat(Be)),ft(t,Je,"".concat(ne.cssPrefix,"-").concat(Je)),t),s=null,o=Be;(e.includes(a[Be])||e.some(function(c){return K5[Be].includes(c)}))&&(o=Be),(e.includes(a[Je])||e.some(function(c){return K5[Je].includes(c)}))&&(o=Je);var l=e.reduce(function(c,u){var f=iw(ne.cssPrefix,u);if(As[u]?(u=tw[o].includes(u)?R7[o][u]:u,s=u,c.prefix=u):nw[o].indexOf(u)>-1?(s=u,c.prefix=zf(u,{family:o})):f?c.iconName=f:u!==ne.replacementClass&&u!==a[Be]&&u!==a[Je]&&c.rest.push(u),!i&&c.prefix&&c.iconName){var d=s==="fa"?Q8(c.iconName):{},h=Ta(c.prefix,c.iconName);d.prefix&&(s=null),c.iconName=d.iconName||h||c.iconName,c.prefix=d.prefix||c.prefix,c.prefix==="far"&&!As.far&&As.fas&&!ne.autoFetchSvg&&(c.prefix="fas")}return c},lg());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),!l.prefix&&o===Je&&(As.fass||ne.autoFetchSvg)&&(l.prefix="fass",l.iconName=Ta(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||s==="fa")&&(l.prefix=Vi()||"fas"),l}var ow=function(){function e(){T7(this,e),this.definitions={}}return y7(e,[{key:"add",value:function(){for(var n=this,r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var s=i.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(o){n.definitions[o]=Z(Z({},n.definitions[o]||{}),s[o]),up(o,s[o]);var l=Zl[Be][o];l&&up(l,s[o]),X8()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(n,r){var i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(function(a){var s=i[a],o=s.prefix,l=s.iconName,c=s.icon,u=c[2];n[o]||(n[o]={}),u.length>0&&u.forEach(function(f){typeof f=="string"&&(n[o][f]=c)}),n[o][l]=c}),n}}]),e}(),W5=[],xs={},zs={},lw=Object.keys(zs);function cw(e,t){var n=t.mixoutsTo;return W5=e,xs={},Object.keys(zs).forEach(function(r){lw.indexOf(r)===-1&&delete zs[r]}),W5.forEach(function(r){var i=r.mixout?r.mixout():{};if(Object.keys(i).forEach(function(s){typeof i[s]=="function"&&(n[s]=i[s]),Yu(i[s])==="object"&&Object.keys(i[s]).forEach(function(o){n[s]||(n[s]={}),n[s][o]=i[s][o]})}),r.hooks){var a=r.hooks();Object.keys(a).forEach(function(s){xs[s]||(xs[s]=[]),xs[s].push(a[s])})}r.provides&&r.provides(zs)}),n}function fp(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a=xs[e]||[];return a.forEach(function(s){t=s.apply(null,[t].concat(r))}),t}function Fa(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=xs[e]||[];i.forEach(function(a){a.apply(null,n)})}function Xr(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return zs[e]?zs[e].apply(null,t):void 0}function dp(e){e.prefix==="fa"&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Vi();if(t)return t=Ta(n,t)||t,G5(Z8.definitions,n,t)||G5(Kn.styles,n,t)}var Z8=new ow,uw=function(){ne.autoReplaceSvg=!1,ne.observeMutations=!1,Fa("noAuto")},fw={i2svg:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ti?(Fa("beforeI2svg",t),Xr("pseudoElements2svg",t),Xr("i2svg",t)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot;ne.autoReplaceSvg===!1&&(ne.autoReplaceSvg=!0),ne.observeMutations=!0,X7(function(){hw({autoReplaceSvgRoot:n}),Fa("watch",t)})}},dw={icon:function(t){if(t===null)return null;if(Yu(t)==="object"&&t.prefix&&t.iconName)return{prefix:t.prefix,iconName:Ta(t.prefix,t.iconName)||t.iconName};if(Array.isArray(t)&&t.length===2){var n=t[1].indexOf("fa-")===0?t[1].slice(3):t[1],r=zf(t[0]);return{prefix:r,iconName:Ta(r,n)||n}}if(typeof t=="string"&&(t.indexOf("".concat(ne.cssPrefix,"-"))>-1||t.match(I7))){var i=jf(t.split(" "),{skipLookups:!0});return{prefix:i.prefix||Vi(),iconName:Ta(i.prefix,i.iconName)||i.iconName}}if(typeof t=="string"){var a=Vi();return{prefix:a,iconName:Ta(a,t)||t}}}},mn={noAuto:uw,config:ne,dom:fw,parse:dw,library:Z8,findIconDefinition:dp,toHtml:N1},hw=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.autoReplaceSvgRoot,r=n===void 0?He:n;(Object.keys(Kn.styles).length>0||ne.autoFetchSvg)&&ti&&ne.autoReplaceSvg&&mn.dom.i2svg({node:r})};function $f(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(r){return N1(r)})}}),Object.defineProperty(e,"node",{get:function(){if(ti){var r=He.createElement("div");return r.innerHTML=e.html,r.children}}}),e}function pw(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,s=e.transform;if(ag(s)&&n.found&&!r.found){var o=n.width,l=n.height,c={x:o/l/2,y:.5};i.style=Hf(Z(Z({},a),{},{"transform-origin":"".concat(c.x+s.x/16,"em ").concat(c.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function mw(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,s=a===!0?"".concat(t,"-").concat(ne.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Z(Z({},i),{},{id:s}),children:r}]}]}function cg(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,s=e.transform,o=e.symbol,l=e.title,c=e.maskId,u=e.titleId,f=e.extra,d=e.watchable,h=d===void 0?!1:d,g=r.found?r:n,E=g.width,b=g.height,m=i==="fak",T=[ne.replacementClass,a?"".concat(ne.cssPrefix,"-").concat(a):""].filter(function(I){return f.classes.indexOf(I)===-1}).filter(function(I){return I!==""||!!I}).concat(f.classes).join(" "),_={children:[],attributes:Z(Z({},f.attributes),{},{"data-prefix":i,"data-icon":a,class:T,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(E," ").concat(b)})},v=m&&!~f.classes.indexOf("fa-fw")?{width:"".concat(E/b*16*.0625,"em")}:{};h&&(_.attributes[Da]=""),l&&(_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||e1())},children:[l]}),delete _.attributes.title);var N=Z(Z({},_),{},{prefix:i,iconName:a,main:n,mask:r,maskId:c,transform:s,symbol:o,styles:Z(Z({},v),f.styles)}),S=r.found&&n.found?Xr("generateAbstractMask",N)||{children:[],attributes:{}}:Xr("generateAbstractIcon",N)||{children:[],attributes:{}},A=S.children,k=S.attributes;return N.children=A,N.attributes=k,o?mw(N):pw(N)}function Y5(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,s=e.extra,o=e.watchable,l=o===void 0?!1:o,c=Z(Z(Z({},s.attributes),a?{title:a}:{}),{},{class:s.classes.join(" ")});l&&(c[Da]="");var u=Z({},s.styles);ag(i)&&(u.transform=K7({transform:i,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var f=Hf(u);f.length>0&&(c.style=f);var d=[];return d.push({tag:"span",attributes:c,children:[t]}),a&&d.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),d}function gw(e){var t=e.content,n=e.title,r=e.extra,i=Z(Z(Z({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=Hf(r.styles);a.length>0&&(i.style=a);var s=[];return s.push({tag:"span",attributes:i,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var nh=Kn.styles;function hp(e){var t=e[0],n=e[1],r=e.slice(4),i=Jm(r,1),a=i[0],s=null;return Array.isArray(a)?s={tag:"g",attributes:{class:"".concat(ne.cssPrefix,"-").concat(_a.GROUP)},children:[{tag:"path",attributes:{class:"".concat(ne.cssPrefix,"-").concat(_a.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(ne.cssPrefix,"-").concat(_a.PRIMARY),fill:"currentColor",d:a[1]}}]}:s={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:s}}var Ew={found:!1,width:512,height:512};function _w(e,t){!B8&&!ne.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function pp(e,t){var n=t;return t==="fa"&&ne.styleDefault!==null&&(t=Vi()),new Promise(function(r,i){if(Xr("missingIconAbstract"),n==="fa"){var a=Q8(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&nh[t]&&nh[t][e]){var s=nh[t][e];return r(hp(s))}_w(e,t),r(Z(Z({},Ew),{},{icon:ne.showMissingIcons&&e?Xr("missingIconAbstract")||{}:{}}))})}var q5=function(){},mp=ne.measurePerformance&&oc&&oc.mark&&oc.measure?oc:{mark:q5,measure:q5},Zo='FA "6.4.2"',Tw=function(t){return mp.mark("".concat(Zo," ").concat(t," begins")),function(){return J8(t)}},J8=function(t){mp.mark("".concat(Zo," ").concat(t," ends")),mp.measure("".concat(Zo," ").concat(t),"".concat(Zo," ").concat(t," begins"),"".concat(Zo," ").concat(t," ends"))},ug={begin:Tw,end:J8},ou=function(){};function X5(e){var t=e.getAttribute?e.getAttribute(Da):null;return typeof t=="string"}function yw(e){var t=e.getAttribute?e.getAttribute(tg):null,n=e.getAttribute?e.getAttribute(ng):null;return t&&n}function vw(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(ne.replacementClass)}function bw(){if(ne.autoReplaceSvg===!0)return lu.replace;var e=lu[ne.autoReplaceSvg];return e||lu.replace}function Sw(e){return He.createElementNS("http://www.w3.org/2000/svg",e)}function Aw(e){return He.createElement(e)}function eb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.ceFn,r=n===void 0?e.tag==="svg"?Sw:Aw:n;if(typeof e=="string")return He.createTextNode(e);var i=r(e.tag);Object.keys(e.attributes||[]).forEach(function(s){i.setAttribute(s,e.attributes[s])});var a=e.children||[];return a.forEach(function(s){i.appendChild(eb(s,{ceFn:r}))}),i}function xw(e){var t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}var lu={replace:function(t){var n=t[0];if(n.parentNode)if(t[1].forEach(function(i){n.parentNode.insertBefore(eb(i),n)}),n.getAttribute(Da)===null&&ne.keepOriginalSource){var r=He.createComment(xw(n));n.parentNode.replaceChild(r,n)}else n.remove()},nest:function(t){var n=t[0],r=t[1];if(~ig(n).indexOf(ne.replacementClass))return lu.replace(t);var i=new RegExp("".concat(ne.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){var a=r[0].attributes.class.split(" ").reduce(function(o,l){return l===ne.replacementClass||l.match(i)?o.toSvg.push(l):o.toNode.push(l),o},{toNode:[],toSvg:[]});r[0].attributes.class=a.toSvg.join(" "),a.toNode.length===0?n.removeAttribute("class"):n.setAttribute("class",a.toNode.join(" "))}var s=r.map(function(o){return N1(o)}).join(`
803
+ `);n.setAttribute(Da,""),n.innerHTML=s}};function Q5(e){e()}function tb(e,t){var n=typeof t=="function"?t:ou;if(e.length===0)n();else{var r=Q5;ne.mutateApproach===k7&&(r=Gi.requestAnimationFrame||Q5),r(function(){var i=bw(),a=ug.begin("mutate");e.map(i),a(),n()})}}var fg=!1;function nb(){fg=!0}function gp(){fg=!1}var Xu=null;function Z5(e){if(z5&&ne.observeMutations){var t=e.treeCallback,n=t===void 0?ou:t,r=e.nodeCallback,i=r===void 0?ou:r,a=e.pseudoElementsCallback,s=a===void 0?ou:a,o=e.observeMutationsRoot,l=o===void 0?He:o;Xu=new z5(function(c){if(!fg){var u=Vi();mo(c).forEach(function(f){if(f.type==="childList"&&f.addedNodes.length>0&&!X5(f.addedNodes[0])&&(ne.searchPseudoElements&&s(f.target),n(f.target)),f.type==="attributes"&&f.target.parentNode&&ne.searchPseudoElements&&s(f.target.parentNode),f.type==="attributes"&&X5(f.target)&&~D7.indexOf(f.attributeName))if(f.attributeName==="class"&&yw(f.target)){var d=jf(ig(f.target)),h=d.prefix,g=d.iconName;f.target.setAttribute(tg,h||u),g&&f.target.setAttribute(ng,g)}else vw(f.target)&&i(f.target)})}}),ti&&Xu.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Nw(){Xu&&Xu.disconnect()}function ww(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce(function(r,i){var a=i.split(":"),s=a[0],o=a.slice(1);return s&&o.length>0&&(r[s]=o.join(":").trim()),r},{})),n}function Cw(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=e.innerText!==void 0?e.innerText.trim():"",i=jf(ig(e));return i.prefix||(i.prefix=Vi()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=aw(i.prefix,e.innerText)||og(i.prefix,cp(e.innerText))),!i.iconName&&ne.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function kw(e){var t=mo(e.attributes).reduce(function(i,a){return i.name!=="class"&&i.name!=="style"&&(i[a.name]=a.value),i},{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return ne.autoA11y&&(n?t["aria-labelledby"]="".concat(ne.replacementClass,"-title-").concat(r||e1()):(t["aria-hidden"]="true",t.focusable="false")),t}function Ow(){return{iconName:null,title:null,titleId:null,prefix:null,transform:dr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function J5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},n=Cw(e),r=n.iconName,i=n.prefix,a=n.rest,s=kw(e),o=fp("parseNodeAttributes",{},e),l=t.styleParser?ww(e):[];return Z({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:dr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:l,attributes:s}},o)}var Rw=Kn.styles;function rb(e){var t=ne.autoReplaceSvg==="nest"?J5(e,{styleParser:!1}):J5(e);return~t.extra.classes.indexOf(U8)?Xr("generateLayersText",e,t):Xr("generateSvgReplacementMutation",e,t)}var Ki=new Set;rg.map(function(e){Ki.add("fa-".concat(e))});Object.keys(Xl[Be]).map(Ki.add.bind(Ki));Object.keys(Xl[Je]).map(Ki.add.bind(Ki));Ki=A1(Ki);function eE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ti)return Promise.resolve();var n=He.documentElement.classList,r=function(f){return n.add("".concat(j5,"-").concat(f))},i=function(f){return n.remove("".concat(j5,"-").concat(f))},a=ne.autoFetchSvg?Ki:rg.map(function(u){return"fa-".concat(u)}).concat(Object.keys(Rw));a.includes("fa")||a.push("fa");var s=[".".concat(U8,":not([").concat(Da,"])")].concat(a.map(function(u){return".".concat(u,":not([").concat(Da,"])")})).join(", ");if(s.length===0)return Promise.resolve();var o=[];try{o=mo(e.querySelectorAll(s))}catch{}if(o.length>0)r("pending"),i("complete");else return Promise.resolve();var l=ug.begin("onTree"),c=o.reduce(function(u,f){try{var d=rb(f);d&&u.push(d)}catch(h){B8||h.name==="MissingIcon"&&console.error(h)}return u},[]);return new Promise(function(u,f){Promise.all(c).then(function(d){tb(d,function(){r("active"),r("complete"),i("pending"),typeof t=="function"&&t(),l(),u()})}).catch(function(d){l(),f(d)})})}function Iw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;rb(e).then(function(n){n&&tb([n],t)})}function Mw(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=(t||{}).icon?t:dp(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:dp(i||{})),e(r,Z(Z({},n),{},{mask:i}))}}var Lw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,i=r===void 0?dr:r,a=n.symbol,s=a===void 0?!1:a,o=n.mask,l=o===void 0?null:o,c=n.maskId,u=c===void 0?null:c,f=n.title,d=f===void 0?null:f,h=n.titleId,g=h===void 0?null:h,E=n.classes,b=E===void 0?[]:E,m=n.attributes,T=m===void 0?{}:m,_=n.styles,v=_===void 0?{}:_;if(t){var N=t.prefix,S=t.iconName,A=t.icon;return $f(Z({type:"icon"},t),function(){return Fa("beforeDOMElementCreation",{iconDefinition:t,params:n}),ne.autoA11y&&(d?T["aria-labelledby"]="".concat(ne.replacementClass,"-title-").concat(g||e1()):(T["aria-hidden"]="true",T.focusable="false")),cg({icons:{main:hp(A),mask:l?hp(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:N,iconName:S,transform:Z(Z({},dr),i),symbol:s,title:d,maskId:u,titleId:g,extra:{attributes:T,styles:v,classes:b}})})}},Pw={mixout:function(){return{icon:Mw(Lw)}},hooks:function(){return{mutationObserverCallbacks:function(n){return n.treeCallback=eE,n.nodeCallback=Iw,n}}},provides:function(t){t.i2svg=function(n){var r=n.node,i=r===void 0?He:r,a=n.callback,s=a===void 0?function(){}:a;return eE(i,s)},t.generateSvgReplacementMutation=function(n,r){var i=r.iconName,a=r.title,s=r.titleId,o=r.prefix,l=r.transform,c=r.symbol,u=r.mask,f=r.maskId,d=r.extra;return new Promise(function(h,g){Promise.all([pp(i,o),u.iconName?pp(u.iconName,u.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(E){var b=Jm(E,2),m=b[0],T=b[1];h([n,cg({icons:{main:m,mask:T},prefix:o,iconName:i,transform:l,symbol:c,maskId:f,title:a,titleId:s,extra:d,watchable:!0})])}).catch(g)})},t.generateAbstractIcon=function(n){var r=n.children,i=n.attributes,a=n.main,s=n.transform,o=n.styles,l=Hf(o);l.length>0&&(i.style=l);var c;return ag(s)&&(c=Xr("generateAbstractTransformGrouping",{main:a,transform:s,containerWidth:a.width,iconWidth:a.width})),r.push(c||a.icon),{children:r,attributes:i}}}},Dw={mixout:function(){return{layer:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.classes,a=i===void 0?[]:i;return $f({type:"layer"},function(){Fa("beforeDOMElementCreation",{assembler:n,params:r});var s=[];return n(function(o){Array.isArray(o)?o.map(function(l){s=s.concat(l.abstract)}):s=s.concat(o.abstract)}),[{tag:"span",attributes:{class:["".concat(ne.cssPrefix,"-layers")].concat(A1(a)).join(" ")},children:s}]})}}}},Fw={mixout:function(){return{counter:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.title,a=i===void 0?null:i,s=r.classes,o=s===void 0?[]:s,l=r.attributes,c=l===void 0?{}:l,u=r.styles,f=u===void 0?{}:u;return $f({type:"counter",content:n},function(){return Fa("beforeDOMElementCreation",{content:n,params:r}),gw({content:n.toString(),title:a,extra:{attributes:c,styles:f,classes:["".concat(ne.cssPrefix,"-layers-counter")].concat(A1(o))}})})}}}},Bw={mixout:function(){return{text:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.transform,a=i===void 0?dr:i,s=r.title,o=s===void 0?null:s,l=r.classes,c=l===void 0?[]:l,u=r.attributes,f=u===void 0?{}:u,d=r.styles,h=d===void 0?{}:d;return $f({type:"text",content:n},function(){return Fa("beforeDOMElementCreation",{content:n,params:r}),Y5({content:n,transform:Z(Z({},dr),a),title:o,extra:{attributes:f,styles:h,classes:["".concat(ne.cssPrefix,"-layers-text")].concat(A1(c))}})})}}},provides:function(t){t.generateLayersText=function(n,r){var i=r.title,a=r.transform,s=r.extra,o=null,l=null;if(P8){var c=parseInt(getComputedStyle(n).fontSize,10),u=n.getBoundingClientRect();o=u.width/c,l=u.height/c}return ne.autoA11y&&!i&&(s.attributes["aria-hidden"]="true"),Promise.resolve([n,Y5({content:n.innerHTML,width:o,height:l,transform:a,title:i,extra:s,watchable:!0})])}}},Uw=new RegExp('"',"ug"),tE=[1105920,1112319];function Hw(e){var t=e.replace(Uw,""),n=J7(t,0),r=n>=tE[0]&&n<=tE[1],i=t.length===2?t[0]===t[1]:!1;return{value:cp(i?t[0]:t),isSecondary:r||i}}function nE(e,t){var n="".concat(C7).concat(t.replace(":","-"));return new Promise(function(r,i){if(e.getAttribute(n)!==null)return r();var a=mo(e.children),s=a.filter(function(A){return A.getAttribute(lp)===t})[0],o=Gi.getComputedStyle(e,t),l=o.getPropertyValue("font-family").match(M7),c=o.getPropertyValue("font-weight"),u=o.getPropertyValue("content");if(s&&!l)return e.removeChild(s),r();if(l&&u!=="none"&&u!==""){var f=o.getPropertyValue("content"),d=~["Sharp"].indexOf(l[2])?Je:Be,h=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?Ql[d][l[2].toLowerCase()]:L7[d][c],g=Hw(f),E=g.value,b=g.isSecondary,m=l[0].startsWith("FontAwesome"),T=og(h,E),_=T;if(m){var v=sw(E);v.iconName&&v.prefix&&(T=v.iconName,h=v.prefix)}if(T&&!b&&(!s||s.getAttribute(tg)!==h||s.getAttribute(ng)!==_)){e.setAttribute(n,_),s&&e.removeChild(s);var N=Ow(),S=N.extra;S.attributes[lp]=t,pp(T,h).then(function(A){var k=cg(Z(Z({},N),{},{icons:{main:A,mask:lg()},prefix:h,iconName:_,extra:S,watchable:!0})),I=He.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(I,e.firstChild):e.appendChild(I),I.outerHTML=k.map(function(P){return N1(P)}).join(`
804
+ `),e.removeAttribute(n),r()}).catch(i)}else r()}else r()})}function zw(e){return Promise.all([nE(e,"::before"),nE(e,"::after")])}function jw(e){return e.parentNode!==document.head&&!~O7.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(lp)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function rE(e){if(ti)return new Promise(function(t,n){var r=mo(e.querySelectorAll("*")).filter(jw).map(zw),i=ug.begin("searchPseudoElements");nb(),Promise.all(r).then(function(){i(),gp(),t()}).catch(function(){i(),gp(),n()})})}var $w={hooks:function(){return{mutationObserverCallbacks:function(n){return n.pseudoElementsCallback=rE,n}}},provides:function(t){t.pseudoElements2svg=function(n){var r=n.node,i=r===void 0?He:r;ne.searchPseudoElements&&rE(i)}}},iE=!1,Gw={mixout:function(){return{dom:{unwatch:function(){nb(),iE=!0}}}},hooks:function(){return{bootstrap:function(){Z5(fp("mutationObserverCallbacks",{}))},noAuto:function(){Nw()},watch:function(n){var r=n.observeMutationsRoot;iE?gp():Z5(fp("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}},aE=function(t){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return t.toLowerCase().split(" ").reduce(function(r,i){var a=i.toLowerCase().split("-"),s=a[0],o=a.slice(1).join("-");if(s&&o==="h")return r.flipX=!0,r;if(s&&o==="v")return r.flipY=!0,r;if(o=parseFloat(o),isNaN(o))return r;switch(s){case"grow":r.size=r.size+o;break;case"shrink":r.size=r.size-o;break;case"left":r.x=r.x-o;break;case"right":r.x=r.x+o;break;case"up":r.y=r.y-o;break;case"down":r.y=r.y+o;break;case"rotate":r.rotate=r.rotate+o;break}return r},n)},Vw={mixout:function(){return{parse:{transform:function(n){return aE(n)}}}},hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-transform");return i&&(n.transform=aE(i)),n}}},provides:function(t){t.generateAbstractTransformGrouping=function(n){var r=n.main,i=n.transform,a=n.containerWidth,s=n.iconWidth,o={transform:"translate(".concat(a/2," 256)")},l="translate(".concat(i.x*32,", ").concat(i.y*32,") "),c="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),u="rotate(".concat(i.rotate," 0 0)"),f={transform:"".concat(l," ").concat(c," ").concat(u)},d={transform:"translate(".concat(s/2*-1," -256)")},h={outer:o,inner:f,path:d};return{tag:"g",attributes:Z({},h.outer),children:[{tag:"g",attributes:Z({},h.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Z(Z({},r.icon.attributes),h.path)}]}]}}}},rh={x:0,y:0,width:"100%",height:"100%"};function sE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function Kw(e){return e.tag==="g"?e.children:[e]}var Ww={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-mask"),a=i?jf(i.split(" ").map(function(s){return s.trim()})):lg();return a.prefix||(a.prefix=Vi()),n.mask=a,n.maskId=r.getAttribute("data-fa-mask-id"),n}}},provides:function(t){t.generateAbstractMask=function(n){var r=n.children,i=n.attributes,a=n.main,s=n.mask,o=n.maskId,l=n.transform,c=a.width,u=a.icon,f=s.width,d=s.icon,h=V7({transform:l,containerWidth:f,iconWidth:c}),g={tag:"rect",attributes:Z(Z({},rh),{},{fill:"white"})},E=u.children?{children:u.children.map(sE)}:{},b={tag:"g",attributes:Z({},h.inner),children:[sE(Z({tag:u.tag,attributes:Z(Z({},u.attributes),h.path)},E))]},m={tag:"g",attributes:Z({},h.outer),children:[b]},T="mask-".concat(o||e1()),_="clip-".concat(o||e1()),v={tag:"mask",attributes:Z(Z({},rh),{},{id:T,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[g,m]},N={tag:"defs",children:[{tag:"clipPath",attributes:{id:_},children:Kw(d)},v]};return r.push(N,{tag:"rect",attributes:Z({fill:"currentColor","clip-path":"url(#".concat(_,")"),mask:"url(#".concat(T,")")},rh)}),{children:r,attributes:i}}}},Yw={provides:function(t){var n=!1;Gi.matchMedia&&(n=Gi.matchMedia("(prefers-reduced-motion: reduce)").matches),t.missingIconAbstract=function(){var r=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:Z(Z({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var s=Z(Z({},a),{},{attributeName:"opacity"}),o={tag:"circle",attributes:Z(Z({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return n||o.children.push({tag:"animate",attributes:Z(Z({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Z(Z({},s),{},{values:"1;0;1;1;0;1;"})}),r.push(o),r.push({tag:"path",attributes:Z(Z({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:n?[]:[{tag:"animate",attributes:Z(Z({},s),{},{values:"1;0;0;0;0;1;"})}]}),n||r.push({tag:"path",attributes:Z(Z({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Z(Z({},s),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},qw={hooks:function(){return{parseNodeAttributes:function(n,r){var i=r.getAttribute("data-fa-symbol"),a=i===null?!1:i===""?!0:i;return n.symbol=a,n}}}},Xw=[Y7,Pw,Dw,Fw,Bw,$w,Gw,Vw,Ww,Yw,qw];cw(Xw,{mixoutsTo:mn});mn.noAuto;mn.config;mn.library;mn.dom;var Ep=mn.parse;mn.findIconDefinition;mn.toHtml;var Qw=mn.icon;mn.layer;mn.text;mn.counter;var ib={exports:{}},Zw="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Jw=Zw,eC=Jw;function ab(){}function sb(){}sb.resetWarningCache=ab;var tC=function(){function e(r,i,a,s,o,l){if(l!==eC){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:sb,resetWarningCache:ab};return n.PropTypes=n,n};ib.exports=tC();var nC=ib.exports;const q=Zn(nC);function oE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ni(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?oE(Object(n),!0).forEach(function(r){Ns(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oE(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Qu(e){"@babel/helpers - typeof";return Qu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qu(e)}function Ns(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rC(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function iC(e,t){if(e==null)return{};var n=rC(e,t),r,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _p(e){return aC(e)||sC(e)||oC(e)||lC()}function aC(e){if(Array.isArray(e))return Tp(e)}function sC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oC(e,t){if(e){if(typeof e=="string")return Tp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tp(e,t)}}function Tp(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function lC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
805
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cC(e){var t,n=e.beat,r=e.fade,i=e.beatFade,a=e.bounce,s=e.shake,o=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,f=e.pulse,d=e.fixedWidth,h=e.inverse,g=e.border,E=e.listItem,b=e.flip,m=e.size,T=e.rotation,_=e.pull,v=(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":a,"fa-shake":s,"fa-flash":o,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":f,"fa-fw":d,"fa-inverse":h,"fa-border":g,"fa-li":E,"fa-flip":b===!0,"fa-flip-horizontal":b==="horizontal"||b==="both","fa-flip-vertical":b==="vertical"||b==="both"},Ns(t,"fa-".concat(m),typeof m<"u"&&m!==null),Ns(t,"fa-rotate-".concat(T),typeof T<"u"&&T!==null&&T!==0),Ns(t,"fa-pull-".concat(_),typeof _<"u"&&_!==null),Ns(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(v).map(function(N){return v[N]?N:null}).filter(function(N){return N})}function uC(e){return e=e-0,e===e}function ob(e){return uC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var fC=["style"];function dC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function hC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var r=n.indexOf(":"),i=ob(n.slice(0,r)),a=n.slice(r+1).trim();return i.startsWith("webkit")?t[dC(i)]=a:t[i]=a,t},{})}function lb(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var r=(t.children||[]).map(function(l){return lb(e,l)}),i=Object.keys(t.attributes||{}).reduce(function(l,c){var u=t.attributes[c];switch(c){case"class":l.attrs.className=u,delete t.attributes.class;break;case"style":l.attrs.style=hC(u);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=u:l.attrs[ob(c)]=u}return l},{attrs:{}}),a=n.style,s=a===void 0?{}:a,o=iC(n,fC);return i.attrs.style=Ni(Ni({},i.attrs.style),s),e.apply(void 0,[t.tag,Ni(Ni({},i.attrs),o)].concat(_p(r)))}var cb=!1;try{cb=!0}catch{}function pC(){if(!cb&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function lE(e){if(e&&Qu(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ep.icon)return Ep.icon(e);if(e===null)return null;if(e&&Qu(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function ih(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ns({},e,t):{}}var xe=Yn.forwardRef(function(e,t){var n=e.icon,r=e.mask,i=e.symbol,a=e.className,s=e.title,o=e.titleId,l=e.maskId,c=lE(n),u=ih("classes",[].concat(_p(cC(e)),_p(a.split(" ")))),f=ih("transform",typeof e.transform=="string"?Ep.transform(e.transform):e.transform),d=ih("mask",lE(r)),h=Qw(c,Ni(Ni(Ni(Ni({},u),f),d),{},{symbol:i,title:s,titleId:o,maskId:l}));if(!h)return pC("Could not find icon",c),null;var g=h.abstract,E={ref:t};return Object.keys(e).forEach(function(b){xe.defaultProps.hasOwnProperty(b)||(E[b]=e[b])}),mC(g[0],E)});xe.displayName="FontAwesomeIcon";xe.propTypes={beat:q.bool,border:q.bool,beatFade:q.bool,bounce:q.bool,className:q.string,fade:q.bool,flash:q.bool,mask:q.oneOfType([q.object,q.array,q.string]),maskId:q.string,fixedWidth:q.bool,inverse:q.bool,flip:q.oneOf([!0,!1,"horizontal","vertical","both"]),icon:q.oneOfType([q.object,q.array,q.string]),listItem:q.bool,pull:q.oneOf(["right","left"]),pulse:q.bool,rotation:q.oneOf([0,90,180,270]),shake:q.bool,size:q.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:q.bool,spinPulse:q.bool,spinReverse:q.bool,symbol:q.oneOfType([q.bool,q.string]),title:q.string,titleId:q.string,transform:q.oneOfType([q.string,q.object]),swapOpacity:q.bool};xe.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var mC=lb.bind(null,Yn.createElement);const gC=e=>y.jsx(xe,{icon:O8.faBook,...e}),EC=e=>y.jsx(xe,{icon:C8.faCancel,...e}),_C=e=>y.jsx(xe,{icon:w8.faCheck,...e}),TC=e=>y.jsx(xe,{icon:N8.faChevronDown,...e}),yC=e=>y.jsx(xe,{icon:x8.faChevronRight,...e}),vC=e=>y.jsx(xe,{icon:A8.faCircleNotch,...e}),bC=e=>y.jsx(xe,{icon:S8.faCirclePause,...e}),SC=e=>y.jsx(xe,{icon:v8.faCog,...e}),AC=e=>y.jsx(xe,{icon:y8.faComment,...e}),xC=e=>y.jsx(xe,{icon:T8.faCopy,...e}),NC=e=>y.jsx(xe,{icon:_8.faXmark,...e}),wC=e=>y.jsx(xe,{icon:E8.faFileExport,...e}),CC=e=>y.jsx(xe,{icon:m8.faInfoCircle,...e}),kC=e=>y.jsx(xe,{icon:p8.faMinus,...e}),OC=e=>y.jsx(xe,{icon:h8.faPaperPlane,...e}),RC=e=>y.jsx(xe,{icon:d8.faPlus,...e}),IC=e=>y.jsx(xe,{icon:f8.faSquare,...e}),MC=e=>y.jsx(xe,{icon:u8.faSquareCheck,...e}),LC=e=>y.jsx(xe,{icon:c8.faThumbsDown,...e}),PC=e=>y.jsx(xe,{icon:l8.faThumbsDown,...e}),DC=e=>y.jsx(xe,{icon:o8.faThumbsUp,...e}),FC=e=>y.jsx(xe,{icon:s8.faThumbsUp,...e}),BC=e=>y.jsx(xe,{icon:a8.faFile,...e}),UC=e=>y.jsx(xe,{icon:i8.faCodeBranch,...e}),HC=e=>y.jsx(xe,{icon:r8.faArrowsRotate,...e}),zC=e=>y.jsx(xe,{icon:n8.faTriangleExclamation,...e}),jC=e=>y.jsx(xe,{icon:t8.faUser,...e}),me={AlertTriangle:zC,Book:gC,Cancel:EC,Check:_C,ChevronDown:TC,ChevronRight:yC,CircleNotch:vC,CirclePause:bC,Cog:SC,Comment:AC,Copy:xC,Cross:NC,FileExport:wC,InfoCircle:CC,Minus:kC,PaperPlane:OC,Plus:RC,Square:IC,SquareCheck:MC,ThumbsDown:{Solid:PC,Regular:LC},ThumbsUp:{Solid:FC,Regular:DC},File:BC,Git:UC,Refresh:HC,User:jC},ub=e=>e.scrollHeight-e.clientHeight,yp=e=>{requestAnimationFrame(()=>{e.scrollTop=ub(e)})},fb=e=>{const t=L.useRef(!0),n=L.useCallback(()=>e.current===null?!1:Math.ceil(e.current.scrollTop)>=ub(e.current)-20,[e]);return L.useEffect(()=>{const r=()=>{t.current=n()},i=e.current;return i==null||i.addEventListener("scroll",r),()=>i==null?void 0:i.removeEventListener("scroll",r)}),L.useCallback(()=>{if(e.current)return t.current&&yp(e.current),t.current},[e])},cE=["http","https","mailto","tel"];function $C(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let i=-1;for(;++i<cE.length;){const a=cE[i];if(r===a.length&&t.slice(0,a.length).toLowerCase()===a)return t}return i=t.indexOf("?"),i!==-1&&r>i||(i=t.indexOf("#"),i!==-1&&r>i)?t:"javascript:void(0)"}/*!
806
+ * Determine if an object is a Buffer
807
+ *
808
+ * @author Feross Aboukhadijeh <https://feross.org>
809
+ * @license MIT
810
+ */var GC=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};const db=Zn(GC);function pl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?uE(e.position):"start"in e||"end"in e?uE(e):"line"in e||"column"in e?vp(e):""}function vp(e){return fE(e&&e.line)+":"+fE(e&&e.column)}function uE(e){return vp(e&&e.start)+"-"+vp(e&&e.end)}function fE(e){return e&&typeof e=="number"?e:1}class In extends Error{constructor(t,n,r){const i=[null,null];let a={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const s=r.indexOf(":");s===-1?i[1]=r:(i[0]=r.slice(0,s),i[1]=r.slice(s+1))}n&&("type"in n||"position"in n?n.position&&(a=n.position):"start"in n||"end"in n?a=n:("line"in n||"column"in n)&&(a.start=n)),this.name=pl(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=a.start.line,this.column=a.start.column,this.position=a,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}In.prototype.file="";In.prototype.name="";In.prototype.reason="";In.prototype.message="";In.prototype.stack="";In.prototype.fatal=null;In.prototype.column=null;In.prototype.line=null;In.prototype.source=null;In.prototype.ruleId=null;In.prototype.position=null;const sr={basename:VC,dirname:KC,extname:WC,join:YC,sep:"/"};function VC(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');w1(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,o=t.length-1;for(;i--;)if(e.charCodeAt(i)===47){if(a){n=i+1;break}}else s<0&&(a=!0,s=i+1),o>-1&&(e.charCodeAt(i)===t.charCodeAt(o--)?o<0&&(r=i):(o=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function KC(e){if(w1(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function WC(e){w1(e);let t=e.length,n=-1,r=0,i=-1,a=0,s;for(;t--;){const o=e.charCodeAt(t);if(o===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),o===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function YC(...e){let t=-1,n;for(;++t<e.length;)w1(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":qC(n)}function qC(e){w1(e);const t=e.charCodeAt(0)===47;let n=XC(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function XC(e,t){let n="",r=0,i=-1,a=0,s=-1,o,l;for(;++s<=e.length;){if(s<e.length)o=e.charCodeAt(s);else{if(o===47)break;o=47}if(o===47){if(!(i===s-1||a===1))if(i!==s-1&&a===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=s,a=0;continue}}else if(n.length>0){n="",r=0,i=s,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),r=s-i-1;i=s,a=0}else o===46&&a>-1?a++:a=-1}return n}function w1(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const QC={cwd:ZC};function ZC(){return"/"}function bp(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function JC(e){if(typeof e=="string")e=new URL(e);else if(!bp(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return ek(e)}function ek(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.charCodeAt(n)===37&&t.charCodeAt(n+1)===50){const r=t.charCodeAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const ah=["history","path","basename","stem","extname","dirname"];class hb{constructor(t){let n;t?typeof t=="string"||tk(t)?n={value:t}:bp(t)?n={path:t}:n=t:n={},this.data={},this.messages=[],this.history=[],this.cwd=QC.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<ah.length;){const a=ah[r];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let i;for(i in n)ah.includes(i)||(this[i]=n[i])}get path(){return this.history[this.history.length-1]}set path(t){bp(t)&&(t=JC(t)),oh(t,"path"),this.path!==t&&this.history.push(t)}get dirname(){return typeof this.path=="string"?sr.dirname(this.path):void 0}set dirname(t){dE(this.basename,"dirname"),this.path=sr.join(t||"",this.basename)}get basename(){return typeof this.path=="string"?sr.basename(this.path):void 0}set basename(t){oh(t,"basename"),sh(t,"basename"),this.path=sr.join(this.dirname||"",t)}get extname(){return typeof this.path=="string"?sr.extname(this.path):void 0}set extname(t){if(sh(t,"extname"),dE(this.dirname,"extname"),t){if(t.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=sr.join(this.dirname,this.stem+(t||""))}get stem(){return typeof this.path=="string"?sr.basename(this.path,this.extname):void 0}set stem(t){oh(t,"stem"),sh(t,"stem"),this.path=sr.join(this.dirname||"",t+(this.extname||""))}toString(t){return(this.value||"").toString(t||void 0)}message(t,n,r){const i=new In(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=null,i}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}}function sh(e,t){if(e&&e.includes(sr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+sr.sep+"`")}function oh(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function dE(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function tk(e){return db(e)}function hE(e){if(e)throw e}var cu=Object.prototype.hasOwnProperty,pb=Object.prototype.toString,pE=Object.defineProperty,mE=Object.getOwnPropertyDescriptor,gE=function(t){return typeof Array.isArray=="function"?Array.isArray(t):pb.call(t)==="[object Array]"},EE=function(t){if(!t||pb.call(t)!=="[object Object]")return!1;var n=cu.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&cu.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||cu.call(t,i)},_E=function(t,n){pE&&n.name==="__proto__"?pE(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},TE=function(t,n){if(n==="__proto__")if(cu.call(t,n)){if(mE)return mE(t,n).value}else return;return t[n]},nk=function e(){var t,n,r,i,a,s,o=arguments[0],l=1,c=arguments.length,u=!1;for(typeof o=="boolean"&&(u=o,o=arguments[1]||{},l=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});l<c;++l)if(t=arguments[l],t!=null)for(n in t)r=TE(o,n),i=TE(t,n),o!==i&&(u&&i&&(EE(i)||(a=gE(i)))?(a?(a=!1,s=r&&gE(r)?r:[]):s=r&&EE(r)?r:{},_E(o,{name:n,newValue:e(u,s,i)})):typeof i<"u"&&_E(o,{name:n,newValue:i}));return o};const yE=Zn(nk);function Sp(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function rk(){const e=[],t={run:n,use:r};return t;function n(...i){let a=-1;const s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);o(null,...i);function o(l,...c){const u=e[++a];let f=-1;if(l){s(l);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,u?ik(u,o)(...c):s(null,...c)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function ik(e,t){let n;return r;function r(...s){const o=e.length>s.length;let l;o&&s.push(i);try{l=e.apply(this,s)}catch(c){const u=c;if(o&&n)throw u;return i(u)}o||(l instanceof Promise?l.then(a,i):l instanceof Error?i(l):a(l))}function i(s,...o){n||(n=!0,t(s,...o))}function a(s){i(null,s)}}const ak=gb().freeze(),mb={}.hasOwnProperty;function gb(){const e=rk(),t=[];let n={},r,i=-1;return a.data=s,a.Parser=void 0,a.Compiler=void 0,a.freeze=o,a.attachers=t,a.use=l,a.parse=c,a.stringify=u,a.run=f,a.runSync=d,a.process=h,a.processSync=g,a;function a(){const E=gb();let b=-1;for(;++b<t.length;)E.use(...t[b]);return E.data(yE(!0,{},n)),E}function s(E,b){return typeof E=="string"?arguments.length===2?(uh("data",r),n[E]=b,a):mb.call(n,E)&&n[E]||null:E?(uh("data",r),n=E,a):n}function o(){if(r)return a;for(;++i<t.length;){const[E,...b]=t[i];if(b[0]===!1)continue;b[0]===!0&&(b[0]=void 0);const m=E.call(a,...b);typeof m=="function"&&e.use(m)}return r=!0,i=Number.POSITIVE_INFINITY,a}function l(E,...b){let m;if(uh("use",r),E!=null)if(typeof E=="function")N(E,...b);else if(typeof E=="object")Array.isArray(E)?v(E):_(E);else throw new TypeError("Expected usable value, not `"+E+"`");return m&&(n.settings=Object.assign(n.settings||{},m)),a;function T(S){if(typeof S=="function")N(S);else if(typeof S=="object")if(Array.isArray(S)){const[A,...k]=S;N(A,...k)}else _(S);else throw new TypeError("Expected usable value, not `"+S+"`")}function _(S){v(S.plugins),S.settings&&(m=Object.assign(m||{},S.settings))}function v(S){let A=-1;if(S!=null)if(Array.isArray(S))for(;++A<S.length;){const k=S[A];T(k)}else throw new TypeError("Expected a list of plugins, not `"+S+"`")}function N(S,A){let k=-1,I;for(;++k<t.length;)if(t[k][0]===S){I=t[k];break}I?(Sp(I[1])&&Sp(A)&&(A=yE(!0,I[1],A)),I[1]=A):t.push([...arguments])}}function c(E){a.freeze();const b=Lo(E),m=a.Parser;return lh("parse",m),vE(m,"parse")?new m(String(b),b).parse():m(String(b),b)}function u(E,b){a.freeze();const m=Lo(b),T=a.Compiler;return ch("stringify",T),bE(E),vE(T,"compile")?new T(E,m).compile():T(E,m)}function f(E,b,m){if(bE(E),a.freeze(),!m&&typeof b=="function"&&(m=b,b=void 0),!m)return new Promise(T);T(null,m);function T(_,v){e.run(E,Lo(b),N);function N(S,A,k){A=A||E,S?v(S):_?_(A):m(null,A,k)}}}function d(E,b){let m,T;return a.run(E,b,_),SE("runSync","run",T),m;function _(v,N){hE(v),m=N,T=!0}}function h(E,b){if(a.freeze(),lh("process",a.Parser),ch("process",a.Compiler),!b)return new Promise(m);m(null,b);function m(T,_){const v=Lo(E);a.run(a.parse(v),v,(S,A,k)=>{if(S||!A||!k)N(S);else{const I=a.stringify(A,k);I==null||(lk(I)?k.value=I:k.result=I),N(S,k)}});function N(S,A){S||!A?_(S):T?T(A):b(null,A)}}}function g(E){let b;a.freeze(),lh("processSync",a.Parser),ch("processSync",a.Compiler);const m=Lo(E);return a.process(m,T),SE("processSync","process",b),m;function T(_){b=!0,hE(_)}}}function vE(e,t){return typeof e=="function"&&e.prototype&&(sk(e.prototype)||t in e.prototype)}function sk(e){let t;for(t in e)if(mb.call(e,t))return!0;return!1}function lh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function ch(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function uh(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function bE(e){if(!Sp(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function SE(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Lo(e){return ok(e)?e:new hb(e)}function ok(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function lk(e){return typeof e=="string"||db(e)}const ck={};function uk(e,t){const n=t||ck,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Eb(e,r,i)}function Eb(e,t,n){if(fk(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return AE(e.children,t,n)}return Array.isArray(e)?AE(e,t,n):""}function AE(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Eb(e[i],t,n);return r.join("")}function fk(e){return!!(e&&typeof e=="object")}function yr(e,t,n,r){const i=e.length;let a=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);a<r.length;)s=r.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function vn(e,t){return e.length>0?(yr(e,e.length,0,t),e):t}const xE={}.hasOwnProperty;function dk(e){const t={};let n=-1;for(;++n<e.length;)hk(t,e[n]);return t}function hk(e,t){let n;for(n in t){const i=(xE.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let s;if(a)for(s in a){xE.call(i,s)||(i[s]=[]);const o=a[s];pk(i[s],Array.isArray(o)?o:o?[o]:[])}}}function pk(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);yr(e,0,0,r)}const mk=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,cr=Zi(/[A-Za-z]/),an=Zi(/[\dA-Za-z]/),gk=Zi(/[#-'*+\--9=?A-Z^-~]/);function Ap(e){return e!==null&&(e<32||e===127)}const xp=Zi(/\d/),Ek=Zi(/[\dA-Fa-f]/),_k=Zi(/[!-/:-@[-`{-~]/);function ce(e){return e!==null&&e<-2}function Wt(e){return e!==null&&(e<0||e===32)}function Ae(e){return e===-2||e===-1||e===32}const Tk=Zi(mk),yk=Zi(/\s/);function Zi(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}function Me(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(l){return Ae(l)?(e.enter(n),o(l)):t(l)}function o(l){return Ae(l)&&a++<i?(e.consume(l),o):(e.exit(n),t(l))}}const vk={tokenize:bk};function bk(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Me(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return ce(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),s)}}const Sk={tokenize:Ak},NE={tokenize:xk};function Ak(e){const t=this,n=[];let r=0,i,a,s;return o;function o(_){if(r<n.length){const v=n[r];return t.containerState=v[1],e.attempt(v[0].continuation,l,c)(_)}return c(_)}function l(_){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&T();const v=t.events.length;let N=v,S;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){S=t.events[N][1].end;break}m(r);let A=v;for(;A<t.events.length;)t.events[A][1].end=Object.assign({},S),A++;return yr(t.events,N+1,0,t.events.slice(v)),t.events.length=A,c(_)}return o(_)}function c(_){if(r===n.length){if(!i)return d(_);if(i.currentConstruct&&i.currentConstruct.concrete)return g(_);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(NE,u,f)(_)}function u(_){return i&&T(),m(r),d(_)}function f(_){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,g(_)}function d(_){return t.containerState={},e.attempt(NE,h,g)(_)}function h(_){return r++,n.push([t.currentConstruct,t.containerState]),d(_)}function g(_){if(_===null){i&&T(),m(0),e.consume(_);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:i}),E(_)}function E(_){if(_===null){b(e.exit("chunkFlow"),!0),m(0),e.consume(_);return}return ce(_)?(e.consume(_),b(e.exit("chunkFlow")),r=0,t.interrupt=void 0,o):(e.consume(_),E)}function b(_,v){const N=t.sliceStream(_);if(v&&N.push(null),_.previous=a,a&&(a.next=_),a=_,i.defineSkip(_.start),i.write(N),t.parser.lazy[_.start.line]){let S=i.events.length;for(;S--;)if(i.events[S][1].start.offset<s&&(!i.events[S][1].end||i.events[S][1].end.offset>s))return;const A=t.events.length;let k=A,I,P;for(;k--;)if(t.events[k][0]==="exit"&&t.events[k][1].type==="chunkFlow"){if(I){P=t.events[k][1].end;break}I=!0}for(m(r),S=A;S<t.events.length;)t.events[S][1].end=Object.assign({},P),S++;yr(t.events,k+1,0,t.events.slice(A)),t.events.length=S}}function m(_){let v=n.length;for(;v-- >_;){const N=n[v];t.containerState=N[1],N[0].exit.call(t,e)}n.length=_}function T(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function xk(e,t,n){return Me(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function wE(e){if(e===null||Wt(e)||yk(e))return 1;if(Tk(e))return 2}function dg(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}const Np={name:"attention",tokenize:wk,resolveAll:Nk};function Nk(e,t){let n=-1,r,i,a,s,o,l,c,u;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),d=Object.assign({},e[n][1].start);CE(f,-l),CE(d,l),s={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},s.start),e[n][1].start=Object.assign({},o.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=vn(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=vn(c,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),c=vn(c,dg(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=vn(c,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,c=vn(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):u=0,yr(e,r-1,n-r+3,c),n=r+c.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function wk(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=wE(r);let a;return s;function s(l){return a=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===a)return e.consume(l),o;const c=e.exit("attentionSequence"),u=wE(l),f=!u||u===2&&i||n.includes(l),d=!i||i===2&&u||n.includes(r);return c._open=!!(a===42?f:f&&(i||!d)),c._close=!!(a===42?d:d&&(u||!f)),t(l)}}function CE(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Ck={name:"autolink",tokenize:kk};function kk(e,t,n){let r=0;return i;function i(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(h){return cr(h)?(e.consume(h),s):c(h)}function s(h){return h===43||h===45||h===46||an(h)?(r=1,o(h)):c(h)}function o(h){return h===58?(e.consume(h),r=0,l):(h===43||h===45||h===46||an(h))&&r++<32?(e.consume(h),o):(r=0,c(h))}function l(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||Ap(h)?n(h):(e.consume(h),l)}function c(h){return h===64?(e.consume(h),u):gk(h)?(e.consume(h),c):n(h)}function u(h){return an(h)?f(h):n(h)}function f(h){return h===46?(e.consume(h),r=0,u):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):d(h)}function d(h){if((h===45||an(h))&&r++<63){const g=h===45?d:f;return e.consume(h),g}return n(h)}}const Gf={tokenize:Ok,partial:!0};function Ok(e,t,n){return r;function r(a){return Ae(a)?Me(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||ce(a)?t(a):n(a)}}const _b={name:"blockQuote",tokenize:Rk,continuation:{tokenize:Ik},exit:Mk};function Rk(e,t,n){const r=this;return i;function i(s){if(s===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return n(s)}function a(s){return Ae(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Ik(e,t,n){const r=this;return i;function i(s){return Ae(s)?Me(e,a,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(_b,t,n)(s)}}function Mk(e){e.exit("blockQuote")}const Tb={name:"characterEscape",tokenize:Lk};function Lk(e,t,n){return r;function r(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return _k(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const kE=document.createElement("i");function hg(e){const t="&"+e+";";kE.innerHTML=t;const n=kE.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}const yb={name:"characterReference",tokenize:Pk};function Pk(e,t,n){const r=this;let i=0,a,s;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),a=31,s=an,u(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=Ek,u):(e.enter("characterReferenceValue"),a=7,s=xp,u(f))}function u(f){if(f===59&&i){const d=e.exit("characterReferenceValue");return s===an&&!hg(r.sliceSerialize(d))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(f)&&i++<a?(e.consume(f),u):n(f)}}const OE={tokenize:Fk,partial:!0},RE={name:"codeFenced",tokenize:Dk,concrete:!0};function Dk(e,t,n){const r=this,i={tokenize:N,partial:!0};let a=0,s=0,o;return l;function l(S){return c(S)}function c(S){const A=r.events[r.events.length-1];return a=A&&A[1].type==="linePrefix"?A[2].sliceSerialize(A[1],!0).length:0,o=S,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(S)}function u(S){return S===o?(s++,e.consume(S),u):s<3?n(S):(e.exit("codeFencedFenceSequence"),Ae(S)?Me(e,f,"whitespace")(S):f(S))}function f(S){return S===null||ce(S)?(e.exit("codeFencedFence"),r.interrupt?t(S):e.check(OE,E,v)(S)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(S))}function d(S){return S===null||ce(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(S)):Ae(S)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Me(e,h,"whitespace")(S)):S===96&&S===o?n(S):(e.consume(S),d)}function h(S){return S===null||ce(S)?f(S):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===null||ce(S)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(S)):S===96&&S===o?n(S):(e.consume(S),g)}function E(S){return e.attempt(i,v,b)(S)}function b(S){return e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),m}function m(S){return a>0&&Ae(S)?Me(e,T,"linePrefix",a+1)(S):T(S)}function T(S){return S===null||ce(S)?e.check(OE,E,v)(S):(e.enter("codeFlowValue"),_(S))}function _(S){return S===null||ce(S)?(e.exit("codeFlowValue"),T(S)):(e.consume(S),_)}function v(S){return e.exit("codeFenced"),t(S)}function N(S,A,k){let I=0;return P;function P(Y){return S.enter("lineEnding"),S.consume(Y),S.exit("lineEnding"),D}function D(Y){return S.enter("codeFencedFence"),Ae(Y)?Me(S,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):z(Y)}function z(Y){return Y===o?(S.enter("codeFencedFenceSequence"),X(Y)):k(Y)}function X(Y){return Y===o?(I++,S.consume(Y),X):I>=s?(S.exit("codeFencedFenceSequence"),Ae(Y)?Me(S,Q,"whitespace")(Y):Q(Y)):k(Y)}function Q(Y){return Y===null||ce(Y)?(S.exit("codeFencedFence"),A(Y)):k(Y)}}}function Fk(e,t,n){const r=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const fh={name:"codeIndented",tokenize:Uk},Bk={tokenize:Hk,partial:!0};function Uk(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Me(e,a,"linePrefix",4+1)(c)}function a(c){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?s(c):n(c)}function s(c){return c===null?l(c):ce(c)?e.attempt(Bk,s,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||ce(c)?(e.exit("codeFlowValue"),s(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function Hk(e,t,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):ce(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):Me(e,a,"linePrefix",4+1)(s)}function a(s){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):ce(s)?i(s):n(s)}}const zk={name:"codeText",tokenize:Gk,resolve:jk,previous:$k};function jk(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function $k(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Gk(e,t,n){let r=0,i,a;return s;function s(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),r++,o):(e.exit("codeTextSequence"),l(f))}function l(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),l):f===96?(a=e.enter("codeTextSequence"),i=0,u(f)):ce(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||ce(f)?(e.exit("codeTextData"),l(f)):(e.consume(f),c)}function u(f){return f===96?(e.consume(f),i++,u):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(a.type="codeTextData",c(f))}}function vb(e){const t={};let n=-1,r,i,a,s,o,l,c;for(;++n<e.length;){for(;n in t;)n=t[n];if(r=e[n],n&&r[1].type==="chunkFlow"&&e[n-1][1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,a=0,a<l.length&&l[a][1].type==="lineEndingBlank"&&(a+=2),a<l.length&&l[a][1].type==="content"))for(;++a<l.length&&l[a][1].type!=="content";)l[a][1].type==="chunkText"&&(l[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Vk(e,n)),n=t[n],c=!0);else if(r[1]._container){for(a=n,i=void 0;a--&&(s=e[a],s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(i&&(e[i][1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);i&&(r[1].end=Object.assign({},e[i][1].start),o=e.slice(i,n),o.unshift(r),yr(e,i,n-i+1,o))}}return!c}function Vk(e,t){const n=e[t][1],r=e[t][2];let i=t-1;const a=[],s=n._tokenizer||r.parser[n.contentType](n.start),o=s.events,l=[],c={};let u,f,d=-1,h=n,g=0,E=0;const b=[E];for(;h;){for(;e[++i][1]!==h;);a.push(i),h._tokenizer||(u=r.sliceStream(h),h.next||u.push(null),f&&s.defineSkip(h.start),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(u),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=n;++d<o.length;)o[d][0]==="exit"&&o[d-1][0]==="enter"&&o[d][1].type===o[d-1][1].type&&o[d][1].start.line!==o[d][1].end.line&&(E=d+1,b.push(E),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(s.events=[],h?(h._tokenizer=void 0,h.previous=void 0):b.pop(),d=b.length;d--;){const m=o.slice(b[d],b[d+1]),T=a.pop();l.unshift([T,T+m.length-1]),yr(e,T,2,m)}for(d=-1;++d<l.length;)c[g+l[d][0]]=g+l[d][1],g+=l[d][1]-l[d][0]-1;return c}const Kk={tokenize:qk,resolve:Yk},Wk={tokenize:Xk,partial:!0};function Yk(e){return vb(e),e}function qk(e,t){let n;return r;function r(o){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):ce(o)?e.check(Wk,s,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function Xk(e,t,n){const r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Me(e,a,"linePrefix")}function a(s){if(s===null||ce(s))return n(s);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function bb(e,t,n,r,i,a,s,o,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return f;function f(m){return m===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(m),e.exit(a),d):m===null||m===32||m===41||Ap(m)?n(m):(e.enter(r),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),E(m))}function d(m){return m===62?(e.enter(a),e.consume(m),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),h(m))}function h(m){return m===62?(e.exit("chunkString"),e.exit(o),d(m)):m===null||m===60||ce(m)?n(m):(e.consume(m),m===92?g:h)}function g(m){return m===60||m===62||m===92?(e.consume(m),h):h(m)}function E(m){return!u&&(m===null||m===41||Wt(m))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(r),t(m)):u<c&&m===40?(e.consume(m),u++,E):m===41?(e.consume(m),u--,E):m===null||m===32||m===40||Ap(m)?n(m):(e.consume(m),m===92?b:E)}function b(m){return m===40||m===41||m===92?(e.consume(m),E):E(m)}}function Sb(e,t,n,r,i,a){const s=this;let o=0,l;return c;function c(h){return e.enter(r),e.enter(i),e.consume(h),e.exit(i),e.enter(a),u}function u(h){return o>999||h===null||h===91||h===93&&!l||h===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?n(h):h===93?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):ce(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||ce(h)||o++>999?(e.exit("chunkString"),u(h)):(e.consume(h),l||(l=!Ae(h)),h===92?d:f)}function d(h){return h===91||h===92||h===93?(e.consume(h),o++,f):f(h)}}function Ab(e,t,n,r,i,a){let s;return o;function o(d){return d===34||d===39||d===40?(e.enter(r),e.enter(i),e.consume(d),e.exit(i),s=d===40?41:d,l):n(d)}function l(d){return d===s?(e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(e.enter(a),c(d))}function c(d){return d===s?(e.exit(a),l(s)):d===null?n(d):ce(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),Me(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(d){return d===s||d===null||ce(d)?(e.exit("chunkString"),c(d)):(e.consume(d),d===92?f:u)}function f(d){return d===s||d===92?(e.consume(d),u):u(d)}}function ml(e,t){let n;return r;function r(i){return ce(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):Ae(i)?Me(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function js(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Qk={name:"definition",tokenize:Jk},Zk={tokenize:eO,partial:!0};function Jk(e,t,n){const r=this;let i;return a;function a(h){return e.enter("definition"),s(h)}function s(h){return Sb.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function o(h){return i=js(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),l):n(h)}function l(h){return Wt(h)?ml(e,c)(h):c(h)}function c(h){return bb(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function u(h){return e.attempt(Zk,f,f)(h)}function f(h){return Ae(h)?Me(e,d,"whitespace")(h):d(h)}function d(h){return h===null||ce(h)?(e.exit("definition"),r.parser.defined.push(i),t(h)):n(h)}}function eO(e,t,n){return r;function r(o){return Wt(o)?ml(e,i)(o):n(o)}function i(o){return Ab(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return Ae(o)?Me(e,s,"whitespace")(o):s(o)}function s(o){return o===null||ce(o)?t(o):n(o)}}const tO={name:"hardBreakEscape",tokenize:nO};function nO(e,t,n){return r;function r(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return ce(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const rO={name:"headingAtx",tokenize:aO,resolve:iO};function iO(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},a={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},yr(e,r,n-r+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function aO(e,t,n){let r=0;return i;function i(u){return e.enter("atxHeading"),a(u)}function a(u){return e.enter("atxHeadingSequence"),s(u)}function s(u){return u===35&&r++<6?(e.consume(u),s):u===null||Wt(u)?(e.exit("atxHeadingSequence"),o(u)):n(u)}function o(u){return u===35?(e.enter("atxHeadingSequence"),l(u)):u===null||ce(u)?(e.exit("atxHeading"),t(u)):Ae(u)?Me(e,o,"whitespace")(u):(e.enter("atxHeadingText"),c(u))}function l(u){return u===35?(e.consume(u),l):(e.exit("atxHeadingSequence"),o(u))}function c(u){return u===null||u===35||Wt(u)?(e.exit("atxHeadingText"),o(u)):(e.consume(u),c)}}const sO=["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"],IE=["pre","script","style","textarea"],oO={name:"htmlFlow",tokenize:fO,resolveTo:uO,concrete:!0},lO={tokenize:hO,partial:!0},cO={tokenize:dO,partial:!0};function uO(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function fO(e,t,n){const r=this;let i,a,s,o,l;return c;function c(C){return u(C)}function u(C){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(C),f}function f(C){return C===33?(e.consume(C),d):C===47?(e.consume(C),a=!0,E):C===63?(e.consume(C),i=3,r.interrupt?t:x):cr(C)?(e.consume(C),s=String.fromCharCode(C),b):n(C)}function d(C){return C===45?(e.consume(C),i=2,h):C===91?(e.consume(C),i=5,o=0,g):cr(C)?(e.consume(C),i=4,r.interrupt?t:x):n(C)}function h(C){return C===45?(e.consume(C),r.interrupt?t:x):n(C)}function g(C){const ge="CDATA[";return C===ge.charCodeAt(o++)?(e.consume(C),o===ge.length?r.interrupt?t:z:g):n(C)}function E(C){return cr(C)?(e.consume(C),s=String.fromCharCode(C),b):n(C)}function b(C){if(C===null||C===47||C===62||Wt(C)){const ge=C===47,pe=s.toLowerCase();return!ge&&!a&&IE.includes(pe)?(i=1,r.interrupt?t(C):z(C)):sO.includes(s.toLowerCase())?(i=6,ge?(e.consume(C),m):r.interrupt?t(C):z(C)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(C):a?T(C):_(C))}return C===45||an(C)?(e.consume(C),s+=String.fromCharCode(C),b):n(C)}function m(C){return C===62?(e.consume(C),r.interrupt?t:z):n(C)}function T(C){return Ae(C)?(e.consume(C),T):P(C)}function _(C){return C===47?(e.consume(C),P):C===58||C===95||cr(C)?(e.consume(C),v):Ae(C)?(e.consume(C),_):P(C)}function v(C){return C===45||C===46||C===58||C===95||an(C)?(e.consume(C),v):N(C)}function N(C){return C===61?(e.consume(C),S):Ae(C)?(e.consume(C),N):_(C)}function S(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),l=C,A):Ae(C)?(e.consume(C),S):k(C)}function A(C){return C===l?(e.consume(C),l=null,I):C===null||ce(C)?n(C):(e.consume(C),A)}function k(C){return C===null||C===34||C===39||C===47||C===60||C===61||C===62||C===96||Wt(C)?N(C):(e.consume(C),k)}function I(C){return C===47||C===62||Ae(C)?_(C):n(C)}function P(C){return C===62?(e.consume(C),D):n(C)}function D(C){return C===null||ce(C)?z(C):Ae(C)?(e.consume(C),D):n(C)}function z(C){return C===45&&i===2?(e.consume(C),ae):C===60&&i===1?(e.consume(C),B):C===62&&i===4?(e.consume(C),j):C===63&&i===3?(e.consume(C),x):C===93&&i===5?(e.consume(C),H):ce(C)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(lO,te,X)(C)):C===null||ce(C)?(e.exit("htmlFlowData"),X(C)):(e.consume(C),z)}function X(C){return e.check(cO,Q,te)(C)}function Q(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),Y}function Y(C){return C===null||ce(C)?X(C):(e.enter("htmlFlowData"),z(C))}function ae(C){return C===45?(e.consume(C),x):z(C)}function B(C){return C===47?(e.consume(C),s="",M):z(C)}function M(C){if(C===62){const ge=s.toLowerCase();return IE.includes(ge)?(e.consume(C),j):z(C)}return cr(C)&&s.length<8?(e.consume(C),s+=String.fromCharCode(C),M):z(C)}function H(C){return C===93?(e.consume(C),x):z(C)}function x(C){return C===62?(e.consume(C),j):C===45&&i===2?(e.consume(C),x):z(C)}function j(C){return C===null||ce(C)?(e.exit("htmlFlowData"),te(C)):(e.consume(C),j)}function te(C){return e.exit("htmlFlow"),t(C)}}function dO(e,t,n){const r=this;return i;function i(s){return ce(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):n(s)}function a(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function hO(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Gf,t,n)}}const pO={name:"htmlText",tokenize:mO};function mO(e,t,n){const r=this;let i,a,s;return o;function o(x){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(x),l}function l(x){return x===33?(e.consume(x),c):x===47?(e.consume(x),N):x===63?(e.consume(x),_):cr(x)?(e.consume(x),k):n(x)}function c(x){return x===45?(e.consume(x),u):x===91?(e.consume(x),a=0,g):cr(x)?(e.consume(x),T):n(x)}function u(x){return x===45?(e.consume(x),h):n(x)}function f(x){return x===null?n(x):x===45?(e.consume(x),d):ce(x)?(s=f,B(x)):(e.consume(x),f)}function d(x){return x===45?(e.consume(x),h):f(x)}function h(x){return x===62?ae(x):x===45?d(x):f(x)}function g(x){const j="CDATA[";return x===j.charCodeAt(a++)?(e.consume(x),a===j.length?E:g):n(x)}function E(x){return x===null?n(x):x===93?(e.consume(x),b):ce(x)?(s=E,B(x)):(e.consume(x),E)}function b(x){return x===93?(e.consume(x),m):E(x)}function m(x){return x===62?ae(x):x===93?(e.consume(x),m):E(x)}function T(x){return x===null||x===62?ae(x):ce(x)?(s=T,B(x)):(e.consume(x),T)}function _(x){return x===null?n(x):x===63?(e.consume(x),v):ce(x)?(s=_,B(x)):(e.consume(x),_)}function v(x){return x===62?ae(x):_(x)}function N(x){return cr(x)?(e.consume(x),S):n(x)}function S(x){return x===45||an(x)?(e.consume(x),S):A(x)}function A(x){return ce(x)?(s=A,B(x)):Ae(x)?(e.consume(x),A):ae(x)}function k(x){return x===45||an(x)?(e.consume(x),k):x===47||x===62||Wt(x)?I(x):n(x)}function I(x){return x===47?(e.consume(x),ae):x===58||x===95||cr(x)?(e.consume(x),P):ce(x)?(s=I,B(x)):Ae(x)?(e.consume(x),I):ae(x)}function P(x){return x===45||x===46||x===58||x===95||an(x)?(e.consume(x),P):D(x)}function D(x){return x===61?(e.consume(x),z):ce(x)?(s=D,B(x)):Ae(x)?(e.consume(x),D):I(x)}function z(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(e.consume(x),i=x,X):ce(x)?(s=z,B(x)):Ae(x)?(e.consume(x),z):(e.consume(x),Q)}function X(x){return x===i?(e.consume(x),i=void 0,Y):x===null?n(x):ce(x)?(s=X,B(x)):(e.consume(x),X)}function Q(x){return x===null||x===34||x===39||x===60||x===61||x===96?n(x):x===47||x===62||Wt(x)?I(x):(e.consume(x),Q)}function Y(x){return x===47||x===62||Wt(x)?I(x):n(x)}function ae(x){return x===62?(e.consume(x),e.exit("htmlTextData"),e.exit("htmlText"),t):n(x)}function B(x){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),M}function M(x){return Ae(x)?Me(e,H,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):H(x)}function H(x){return e.enter("htmlTextData"),s(x)}}const pg={name:"labelEnd",tokenize:vO,resolveTo:yO,resolveAll:TO},gO={tokenize:bO},EO={tokenize:SO},_O={tokenize:AO};function TO(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function yO(e,t){let n=e.length,r=0,i,a,s,o;for(;n--;)if(i=e[n][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(s=n);const l={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[s][1].end)},u={type:"labelText",start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[s-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=vn(o,e.slice(a+1,a+r+3)),o=vn(o,[["enter",u,t]]),o=vn(o,dg(t.parser.constructs.insideSpan.null,e.slice(a+r+4,s-3),t)),o=vn(o,[["exit",u,t],e[s-2],e[s-1],["exit",c,t]]),o=vn(o,e.slice(s+1)),o=vn(o,[["exit",l,t]]),yr(e,a,e.length,o),e}function vO(e,t,n){const r=this;let i=r.events.length,a,s;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){a=r.events[i][1];break}return o;function o(d){return a?a._inactive?f(d):(s=r.parser.defined.includes(js(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),l):n(d)}function l(d){return d===40?e.attempt(gO,u,s?u:f)(d):d===91?e.attempt(EO,u,s?c:f)(d):s?u(d):f(d)}function c(d){return e.attempt(_O,u,f)(d)}function u(d){return t(d)}function f(d){return a._balanced=!0,n(d)}}function bO(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return Wt(f)?ml(e,a)(f):a(f)}function a(f){return f===41?u(f):bb(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return Wt(f)?ml(e,l)(f):u(f)}function o(f){return n(f)}function l(f){return f===34||f===39||f===40?Ab(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):u(f)}function c(f){return Wt(f)?ml(e,u)(f):u(f)}function u(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function SO(e,t,n){const r=this;return i;function i(o){return Sb.call(r,e,a,s,"reference","referenceMarker","referenceString")(o)}function a(o){return r.parser.defined.includes(js(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(o):n(o)}function s(o){return n(o)}}function AO(e,t,n){return r;function r(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const xO={name:"labelStartImage",tokenize:NO,resolveAll:pg.resolveAll};function NO(e,t,n){const r=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),s):n(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const wO={name:"labelStartLink",tokenize:CO,resolveAll:pg.resolveAll};function CO(e,t,n){const r=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const dh={name:"lineEnding",tokenize:kO};function kO(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Me(e,t,"linePrefix")}}const uu={name:"thematicBreak",tokenize:OO};function OO(e,t,n){let r=0,i;return a;function a(c){return e.enter("thematicBreak"),s(c)}function s(c){return i=c,o(c)}function o(c){return c===i?(e.enter("thematicBreakSequence"),l(c)):r>=3&&(c===null||ce(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),Ae(c)?Me(e,o,"whitespace")(c):o(c))}}const Ft={name:"list",tokenize:MO,continuation:{tokenize:LO},exit:DO},RO={tokenize:FO,partial:!0},IO={tokenize:PO,partial:!0};function MO(e,t,n){const r=this,i=r.events[r.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return o;function o(h){const g=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:xp(h)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(uu,n,c)(h):c(h);if(!r.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(h)}return n(h)}function l(h){return xp(h)&&++s<10?(e.consume(h),l):(!r.interrupt||s<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),c(h)):n(h)}function c(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,e.check(Gf,r.interrupt?n:u,e.attempt(RO,d,f))}function u(h){return r.containerState.initialBlankLine=!0,a++,d(h)}function f(h){return Ae(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),d):n(h)}function d(h){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function LO(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Gf,i,a);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Me(e,t,"listItemIndent",r.containerState.size+1)(o)}function a(o){return r.containerState.furtherBlankLines||!Ae(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(IO,t,s)(o))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,Me(e,e.attempt(Ft,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function PO(e,t,n){const r=this;return Me(e,i,"listItemIndent",r.containerState.size+1);function i(a){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(a):n(a)}}function DO(e){e.exit(this.containerState.type)}function FO(e,t,n){const r=this;return Me(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(a){const s=r.events[r.events.length-1];return!Ae(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const ME={name:"setextUnderline",tokenize:UO,resolveTo:BO};function BO(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const s={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",s,t]),e.splice(a+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=s,e.push(["exit",s,t]),e}function UO(e,t,n){const r=this;let i;return a;function a(c){let u=r.events.length,f;for(;u--;)if(r.events[u][1].type!=="lineEnding"&&r.events[u][1].type!=="linePrefix"&&r.events[u][1].type!=="content"){f=r.events[u][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,s(c)):n(c)}function s(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),Ae(c)?Me(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||ce(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const HO={tokenize:zO};function zO(e){const t=this,n=e.attempt(Gf,r,e.attempt(this.parser.constructs.flowInitial,i,Me(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Kk,i)),"linePrefix")));return n;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const jO={resolveAll:Nb()},$O=xb("string"),GO=xb("text");function xb(e){return{tokenize:t,resolveAll:Nb(e==="text"?VO:void 0)};function t(n){const r=this,i=this.parser.constructs[e],a=n.attempt(i,s,o);return s;function s(u){return c(u)?a(u):o(u)}function o(u){if(u===null){n.consume(u);return}return n.enter("data"),n.consume(u),l}function l(u){return c(u)?(n.exit("data"),a(u)):(n.consume(u),l)}function c(u){if(u===null)return!0;const f=i[u];let d=-1;if(f)for(;++d<f.length;){const h=f[d];if(!h.previous||h.previous.call(r,r.previous))return!0}return!1}}}function Nb(e){return t;function t(n,r){let i=-1,a;for(;++i<=n.length;)a===void 0?n[i]&&n[i][1].type==="data"&&(a=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==a+2&&(n[a][1].end=n[i-1][1].end,n.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(n,r):n}}function VO(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let a=i.length,s=-1,o=0,l;for(;a--;){const c=i[a];if(typeof c=="string"){for(s=c.length;c.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(c===-2)l=!0,o++;else if(c!==-1){a++;break}}if(o){const c={type:n===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-o,offset:r.end.offset-o,_index:r.start._index+a,_bufferIndex:a?s:r.start._bufferIndex+s},end:Object.assign({},r.end)};r.end=Object.assign({},c.start),r.start.offset===r.end.offset?Object.assign(r,c):(e.splice(n,0,["enter",c,t],["exit",c,t]),n+=2)}n++}return e}function KO(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},a=[];let s=[],o=[];const l={consume:T,enter:_,exit:v,attempt:A(N),check:A(S),interrupt:A(S,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:h,sliceSerialize:d,now:g,defineSkip:E,write:f};let u=t.tokenize.call(c,l);return t.resolveAll&&a.push(t),c;function f(D){return s=vn(s,D),b(),s[s.length-1]!==null?[]:(k(t,0),c.events=dg(a,c.events,c),c.events)}function d(D,z){return YO(h(D),z)}function h(D){return WO(s,D)}function g(){const{line:D,column:z,offset:X,_index:Q,_bufferIndex:Y}=r;return{line:D,column:z,offset:X,_index:Q,_bufferIndex:Y}}function E(D){i[D.line]=D.column,P()}function b(){let D;for(;r._index<s.length;){const z=s[r._index];if(typeof z=="string")for(D=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===D&&r._bufferIndex<z.length;)m(z.charCodeAt(r._bufferIndex));else m(z)}}function m(D){u=u(D)}function T(D){ce(D)?(r.line++,r.column=1,r.offset+=D===-3?2:1,P()):D!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=D}function _(D,z){const X=z||{};return X.type=D,X.start=g(),c.events.push(["enter",X,c]),o.push(X),X}function v(D){const z=o.pop();return z.end=g(),c.events.push(["exit",z,c]),z}function N(D,z){k(D,z.from)}function S(D,z){z.restore()}function A(D,z){return X;function X(Q,Y,ae){let B,M,H,x;return Array.isArray(Q)?te(Q):"tokenize"in Q?te([Q]):j(Q);function j(se){return je;function je(Ve){const fe=Ve!==null&&se[Ve],dt=Ve!==null&&se.null,it=[...Array.isArray(fe)?fe:fe?[fe]:[],...Array.isArray(dt)?dt:dt?[dt]:[]];return te(it)(Ve)}}function te(se){return B=se,M=0,se.length===0?ae:C(se[M])}function C(se){return je;function je(Ve){return x=I(),H=se,se.partial||(c.currentConstruct=se),se.name&&c.parser.constructs.disable.null.includes(se.name)?pe():se.tokenize.call(z?Object.assign(Object.create(c),z):c,l,ge,pe)(Ve)}}function ge(se){return D(H,x),Y}function pe(se){return x.restore(),++M<B.length?C(B[M]):ae}}}function k(D,z){D.resolveAll&&!a.includes(D)&&a.push(D),D.resolve&&yr(c.events,z,c.events.length-z,D.resolve(c.events.slice(z),c)),D.resolveTo&&(c.events=D.resolveTo(c.events,c))}function I(){const D=g(),z=c.previous,X=c.currentConstruct,Q=c.events.length,Y=Array.from(o);return{restore:ae,from:Q};function ae(){r=D,c.previous=z,c.currentConstruct=X,c.events.length=Q,o=Y,P()}}function P(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function WO(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,a)];else{if(s=e.slice(n,i),r>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(r):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function YO(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const a=e[n];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
811
+ `;break}case-3:{s=`\r
812
+ `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(a)}i=a===-2,r.push(s)}return r.join("")}const qO={42:Ft,43:Ft,45:Ft,48:Ft,49:Ft,50:Ft,51:Ft,52:Ft,53:Ft,54:Ft,55:Ft,56:Ft,57:Ft,62:_b},XO={91:Qk},QO={[-2]:fh,[-1]:fh,32:fh},ZO={35:rO,42:uu,45:[ME,uu],60:oO,61:ME,95:uu,96:RE,126:RE},JO={38:yb,92:Tb},eR={[-5]:dh,[-4]:dh,[-3]:dh,33:xO,38:yb,42:Np,60:[Ck,pO],91:wO,92:[tO,Tb],93:pg,95:Np,96:zk},tR={null:[Np,jO]},nR={null:[42,95]},rR={null:[]},iR=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:nR,contentInitial:XO,disable:rR,document:qO,flow:ZO,flowInitial:QO,insideSpan:tR,string:JO,text:eR},Symbol.toStringTag,{value:"Module"}));function aR(e){const n=dk([iR,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:i(vk),document:i(Sk),flow:i(HO),string:i($O),text:i(GO)};return r;function i(a){return s;function s(o){return KO(r,a,o)}}}const LE=/[\0\t\n\r]/g;function sR(){let e=1,t="",n=!0,r;return i;function i(a,s,o){const l=[];let c,u,f,d,h;for(a=t+a.toString(s),f=0,t="",n&&(a.charCodeAt(0)===65279&&f++,n=void 0);f<a.length;){if(LE.lastIndex=f,c=LE.exec(a),d=c&&c.index!==void 0?c.index:a.length,h=a.charCodeAt(d),!c){t=a.slice(f);break}if(h===10&&f===d&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),f<d&&(l.push(a.slice(f,d)),e+=d-f),h){case 0:{l.push(65533),e++;break}case 9:{for(u=Math.ceil(e/4)*4,l.push(-2);e++<u;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}f=d+1}return o&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}function oR(e){for(;!vb(e););return e}function wb(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const lR=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function cR(e){return e.replace(lR,uR)}function uR(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),a=i===120||i===88;return wb(n.slice(a?2:1),a?16:10)}return hg(n)||e}const Cb={}.hasOwnProperty,fR=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),dR(n)(oR(aR(n).document().write(sR()(e,t,!0))))};function dR(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Zt),autolinkProtocol:D,autolinkEmail:D,atxHeading:o(At),blockQuote:o(it),characterEscape:D,characterReference:D,codeFenced:o(Dn),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(Dn,l),codeText:o(br,l),codeTextData:D,data:D,codeFlowValue:D,definition:o(ri),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(Ja),hardBreakEscape:o(na),hardBreakTrailing:o(na),htmlFlow:o(ii,l),htmlFlowData:D,htmlText:o(ii,l),htmlTextData:D,image:o(le),label:l,link:o(Zt),listItem:o(Ne),listItemValue:g,listOrdered:o(Le,h),listUnordered:o(Le),paragraph:o(Sr),reference:pe,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(At),strong:o(Jt),thematicBreak:o(si)},exit:{atxHeading:u(),atxHeadingSequence:A,autolink:u(),autolinkEmail:dt,autolinkProtocol:fe,blockQuote:u(),characterEscapeValue:z,characterReferenceMarkerHexadecimal:je,characterReferenceMarkerNumeric:je,characterReferenceValue:Ve,codeFenced:u(T),codeFencedFence:m,codeFencedFenceInfo:E,codeFencedFenceMeta:b,codeFlowValue:z,codeIndented:u(_),codeText:u(B),codeTextData:z,data:z,definition:u(),definitionDestinationString:S,definitionLabelString:v,definitionTitleString:N,emphasis:u(),hardBreakEscape:u(Q),hardBreakTrailing:u(Q),htmlFlow:u(Y),htmlFlowData:z,htmlText:u(ae),htmlTextData:z,image:u(H),label:j,labelText:x,lineEnding:X,link:u(M),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:se,resourceDestinationString:te,resourceTitleString:C,resource:ge,setextHeading:u(P),setextHeadingLineSequence:I,setextHeadingText:k,strong:u(),thematicBreak:u()}};kb(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(R){let F={type:"root",children:[]};const K={stack:[F],tokenStack:[],config:t,enter:c,exit:f,buffer:l,resume:d,setData:a,getData:s},re=[];let ue=-1;for(;++ue<R.length;)if(R[ue][1].type==="listOrdered"||R[ue][1].type==="listUnordered")if(R[ue][0]==="enter")re.push(ue);else{const tt=re.pop();ue=i(R,tt,ue)}for(ue=-1;++ue<R.length;){const tt=t[R[ue][0]];Cb.call(tt,R[ue][1].type)&&tt[R[ue][1].type].call(Object.assign({sliceSerialize:R[ue][2].sliceSerialize},K),R[ue][1])}if(K.tokenStack.length>0){const tt=K.tokenStack[K.tokenStack.length-1];(tt[1]||PE).call(K,void 0,tt[0])}for(F.position={start:ci(R.length>0?R[0][1].start:{line:1,column:1,offset:0}),end:ci(R.length>0?R[R.length-2][1].end:{line:1,column:1,offset:0})},ue=-1;++ue<t.transforms.length;)F=t.transforms[ue](F)||F;return F}function i(R,F,K){let re=F-1,ue=-1,tt=!1,tr,Fn,Ao,xo;for(;++re<=K;){const nt=R[re];if(nt[1].type==="listUnordered"||nt[1].type==="listOrdered"||nt[1].type==="blockQuote"?(nt[0]==="enter"?ue++:ue--,xo=void 0):nt[1].type==="lineEndingBlank"?nt[0]==="enter"&&(tr&&!xo&&!ue&&!Ao&&(Ao=re),xo=void 0):nt[1].type==="linePrefix"||nt[1].type==="listItemValue"||nt[1].type==="listItemMarker"||nt[1].type==="listItemPrefix"||nt[1].type==="listItemPrefixWhitespace"||(xo=void 0),!ue&&nt[0]==="enter"&&nt[1].type==="listItemPrefix"||ue===-1&&nt[0]==="exit"&&(nt[1].type==="listUnordered"||nt[1].type==="listOrdered")){if(tr){let xd=re;for(Fn=void 0;xd--;){const Ar=R[xd];if(Ar[1].type==="lineEnding"||Ar[1].type==="lineEndingBlank"){if(Ar[0]==="exit")continue;Fn&&(R[Fn][1].type="lineEndingBlank",tt=!0),Ar[1].type="lineEnding",Fn=xd}else if(!(Ar[1].type==="linePrefix"||Ar[1].type==="blockQuotePrefix"||Ar[1].type==="blockQuotePrefixWhitespace"||Ar[1].type==="blockQuoteMarker"||Ar[1].type==="listItemIndent"))break}Ao&&(!Fn||Ao<Fn)&&(tr._spread=!0),tr.end=Object.assign({},Fn?R[Fn][1].start:nt[1].end),R.splice(Fn||re,0,["exit",tr,nt[2]]),re++,K++}nt[1].type==="listItemPrefix"&&(tr={type:"listItem",_spread:!1,start:Object.assign({},nt[1].start),end:void 0},R.splice(re,0,["enter",tr,nt[2]]),re++,K++,Ao=void 0,xo=!0)}}return R[F][1]._spread=tt,K}function a(R,F){n[R]=F}function s(R){return n[R]}function o(R,F){return K;function K(re){c.call(this,R(re),re),F&&F.call(this,re)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(R,F,K){return this.stack[this.stack.length-1].children.push(R),this.stack.push(R),this.tokenStack.push([F,K]),R.position={start:ci(F.start)},R}function u(R){return F;function F(K){R&&R.call(this,K),f.call(this,K)}}function f(R,F){const K=this.stack.pop(),re=this.tokenStack.pop();if(re)re[0].type!==R.type&&(F?F.call(this,R,re[0]):(re[1]||PE).call(this,R,re[0]));else throw new Error("Cannot close `"+R.type+"` ("+pl({start:R.start,end:R.end})+"): it’s not open");return K.position.end=ci(R.end),K}function d(){return uk(this.stack.pop())}function h(){a("expectingFirstListItemValue",!0)}function g(R){if(s("expectingFirstListItemValue")){const F=this.stack[this.stack.length-2];F.start=Number.parseInt(this.sliceSerialize(R),10),a("expectingFirstListItemValue")}}function E(){const R=this.resume(),F=this.stack[this.stack.length-1];F.lang=R}function b(){const R=this.resume(),F=this.stack[this.stack.length-1];F.meta=R}function m(){s("flowCodeInside")||(this.buffer(),a("flowCodeInside",!0))}function T(){const R=this.resume(),F=this.stack[this.stack.length-1];F.value=R.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),a("flowCodeInside")}function _(){const R=this.resume(),F=this.stack[this.stack.length-1];F.value=R.replace(/(\r?\n|\r)$/g,"")}function v(R){const F=this.resume(),K=this.stack[this.stack.length-1];K.label=F,K.identifier=js(this.sliceSerialize(R)).toLowerCase()}function N(){const R=this.resume(),F=this.stack[this.stack.length-1];F.title=R}function S(){const R=this.resume(),F=this.stack[this.stack.length-1];F.url=R}function A(R){const F=this.stack[this.stack.length-1];if(!F.depth){const K=this.sliceSerialize(R).length;F.depth=K}}function k(){a("setextHeadingSlurpLineEnding",!0)}function I(R){const F=this.stack[this.stack.length-1];F.depth=this.sliceSerialize(R).charCodeAt(0)===61?1:2}function P(){a("setextHeadingSlurpLineEnding")}function D(R){const F=this.stack[this.stack.length-1];let K=F.children[F.children.length-1];(!K||K.type!=="text")&&(K=ai(),K.position={start:ci(R.start)},F.children.push(K)),this.stack.push(K)}function z(R){const F=this.stack.pop();F.value+=this.sliceSerialize(R),F.position.end=ci(R.end)}function X(R){const F=this.stack[this.stack.length-1];if(s("atHardBreak")){const K=F.children[F.children.length-1];K.position.end=ci(R.end),a("atHardBreak");return}!s("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(F.type)&&(D.call(this,R),z.call(this,R))}function Q(){a("atHardBreak",!0)}function Y(){const R=this.resume(),F=this.stack[this.stack.length-1];F.value=R}function ae(){const R=this.resume(),F=this.stack[this.stack.length-1];F.value=R}function B(){const R=this.resume(),F=this.stack[this.stack.length-1];F.value=R}function M(){const R=this.stack[this.stack.length-1];if(s("inReference")){const F=s("referenceType")||"shortcut";R.type+="Reference",R.referenceType=F,delete R.url,delete R.title}else delete R.identifier,delete R.label;a("referenceType")}function H(){const R=this.stack[this.stack.length-1];if(s("inReference")){const F=s("referenceType")||"shortcut";R.type+="Reference",R.referenceType=F,delete R.url,delete R.title}else delete R.identifier,delete R.label;a("referenceType")}function x(R){const F=this.sliceSerialize(R),K=this.stack[this.stack.length-2];K.label=cR(F),K.identifier=js(F).toLowerCase()}function j(){const R=this.stack[this.stack.length-1],F=this.resume(),K=this.stack[this.stack.length-1];if(a("inReference",!0),K.type==="link"){const re=R.children;K.children=re}else K.alt=F}function te(){const R=this.resume(),F=this.stack[this.stack.length-1];F.url=R}function C(){const R=this.resume(),F=this.stack[this.stack.length-1];F.title=R}function ge(){a("inReference")}function pe(){a("referenceType","collapsed")}function se(R){const F=this.resume(),K=this.stack[this.stack.length-1];K.label=F,K.identifier=js(this.sliceSerialize(R)).toLowerCase(),a("referenceType","full")}function je(R){a("characterReferenceType",R.type)}function Ve(R){const F=this.sliceSerialize(R),K=s("characterReferenceType");let re;K?(re=wb(F,K==="characterReferenceMarkerNumeric"?10:16),a("characterReferenceType")):re=hg(F);const ue=this.stack.pop();ue.value+=re,ue.position.end=ci(R.end)}function fe(R){z.call(this,R);const F=this.stack[this.stack.length-1];F.url=this.sliceSerialize(R)}function dt(R){z.call(this,R);const F=this.stack[this.stack.length-1];F.url="mailto:"+this.sliceSerialize(R)}function it(){return{type:"blockquote",children:[]}}function Dn(){return{type:"code",lang:null,meta:null,value:""}}function br(){return{type:"inlineCode",value:""}}function ri(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ja(){return{type:"emphasis",children:[]}}function At(){return{type:"heading",depth:void 0,children:[]}}function na(){return{type:"break"}}function ii(){return{type:"html",value:""}}function le(){return{type:"image",title:null,url:"",alt:null}}function Zt(){return{type:"link",title:null,url:"",children:[]}}function Le(R){return{type:"list",ordered:R.type==="listOrdered",start:null,spread:R._spread,children:[]}}function Ne(R){return{type:"listItem",spread:R._spread,checked:null,children:[]}}function Sr(){return{type:"paragraph",children:[]}}function Jt(){return{type:"strong",children:[]}}function ai(){return{type:"text",value:""}}function si(){return{type:"thematicBreak"}}}function ci(e){return{line:e.line,column:e.column,offset:e.offset}}function kb(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?kb(e,r):hR(e,r)}}function hR(e,t){let n;for(n in t)if(Cb.call(t,n)){if(n==="canContainEols"){const r=t[n];r&&e[n].push(...r)}else if(n==="transforms"){const r=t[n];r&&e[n].push(...r)}else if(n==="enter"||n==="exit"){const r=t[n];r&&Object.assign(e[n],r)}}}function PE(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+pl({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+pl({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+pl({start:t.start,end:t.end})+") is still open")}function pR(e){Object.assign(this,{Parser:n=>{const r=this.data("settings");return fR(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function mR(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function gR(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
813
+ `}]}function ER(e,t){const n=t.value?t.value+`
814
+ `:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};r&&(i.className=["language-"+r]);let a={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function _R(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function TR(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function go(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const a=e.charCodeAt(n);let s="";if(a===37&&an(e.charCodeAt(n+1))&&an(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(s=String.fromCharCode(a));else if(a>55295&&a<57344){const o=e.charCodeAt(n+1);a<56320&&o>56319&&o<57344?(s=String.fromCharCode(a,o),i=1):s="�"}else s=String.fromCharCode(a);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function Ob(e,t){const n=String(t.identifier).toUpperCase(),r=go(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let a;i===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,a=e.footnoteOrder.length):(e.footnoteCounts[n]++,a=i+1);const s=e.footnoteCounts[n],o={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,o);const l={type:"element",tagName:"sup",properties:{},children:[o]};return e.patch(t,l),e.applyData(t,l)}function yR(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const i=String(r);return n[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:t.children}],position:t.position},Ob(e,{type:"footnoteReference",identifier:i,position:t.position})}function vR(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function bR(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function Rb(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const i=e.all(t),a=i[0];a&&a.type==="text"?a.value="["+a.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=r:i.push({type:"text",value:r}),i}function SR(e,t){const n=e.definition(t.identifier);if(!n)return Rb(e,t);const r={src:go(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,i),e.applyData(t,i)}function AR(e,t){const n={src:go(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function xR(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function NR(e,t){const n=e.definition(t.identifier);if(!n)return Rb(e,t);const r={href:go(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const i={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function wR(e,t){const n={href:go(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function CR(e,t,n){const r=e.all(t),i=n?kR(n):Ib(t),a={},s=[];if(typeof t.checked=="boolean"){const u=r[0];let f;u&&u.type==="element"&&u.tagName==="p"?f=u:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const u=r[o];(i||o!==0||u.type!=="element"||u.tagName!=="p")&&s.push({type:"text",value:`
815
+ `}),u.type==="element"&&u.tagName==="p"&&!i?s.push(...u.children):s.push(u)}const l=r[r.length-1];l&&(i||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
816
+ `});const c={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,c),e.applyData(t,c)}function kR(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Ib(n[r])}return t}function Ib(e){const t=e.spread;return t??e.children.length>1}function OR(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const s=r[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function RR(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function IR(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function MR(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const C1=Mb("start"),Vf=Mb("end");function LR(e){return{start:C1(e),end:Vf(e)}}function Mb(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}function PR(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),i.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=C1(t.children[1]),l=Vf(t.children[t.children.length-1]);o.line&&l.line&&(s.position={start:o,end:l}),i.push(s)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function DR(e,t,n){const r=n?n.children:void 0,a=(r?r.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,o=s?s.length:t.children.length;let l=-1;const c=[];for(;++l<o;){const f=t.children[l],d={},h=s?s[l]:void 0;h&&(d.align=h);let g={type:"element",tagName:a,properties:d,children:[]};f&&(g.children=e.all(f),e.patch(f,g),g=e.applyData(t,g)),c.push(g)}const u={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,u),e.applyData(t,u)}function FR(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const DE=9,FE=32;function BR(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const a=[];for(;r;)a.push(BE(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(BE(t.slice(i),i>0,!1)),a.join("")}function BE(e,t,n){let r=0,i=e.length;if(t){let a=e.codePointAt(r);for(;a===DE||a===FE;)r++,a=e.codePointAt(r)}if(n){let a=e.codePointAt(i-1);for(;a===DE||a===FE;)i--,a=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function UR(e,t){const n={type:"text",value:BR(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function HR(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const zR={blockquote:mR,break:gR,code:ER,delete:_R,emphasis:TR,footnoteReference:Ob,footnote:yR,heading:vR,html:bR,imageReference:SR,image:AR,inlineCode:xR,linkReference:NR,link:wR,listItem:CR,list:OR,paragraph:RR,root:IR,strong:MR,table:PR,tableCell:FR,tableRow:DR,text:UR,thematicBreak:HR,toml:gc,yaml:gc,definition:gc,footnoteDefinition:gc};function gc(){return null}const mg=function(e){if(e==null)return VR;if(typeof e=="string")return GR(e);if(typeof e=="object")return Array.isArray(e)?jR(e):$R(e);if(typeof e=="function")return Kf(e);throw new Error("Expected function, string, or object as test")};function jR(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=mg(e[n]);return Kf(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].call(this,...i))return!0;return!1}}function $R(e){return Kf(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function GR(e){return Kf(t);function t(n){return n&&n.type===e}}function Kf(e){return t;function t(n,...r){return!!(n&&typeof n=="object"&&"type"in n&&e.call(this,n,...r))}}function VR(){return!0}const KR=!0,UE=!1,WR="skip",YR=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);const i=mg(t),a=r?-1:1;s(e,void 0,[])();function s(o,l,c){const u=o&&typeof o=="object"?o:{};if(typeof u.type=="string"){const d=typeof u.tagName=="string"?u.tagName:typeof u.name=="string"?u.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(o.type+(d?"<"+d+">":""))+")"})}return f;function f(){let d=[],h,g,E;if((!t||i(o,l,c[c.length-1]||null))&&(d=qR(n(o,c)),d[0]===UE))return d;if(o.children&&d[0]!==WR)for(g=(r?o.children.length:-1)+a,E=c.concat(o);g>-1&&g<o.children.length;){if(h=s(o.children[g],g,E)(),h[0]===UE)return h;g=typeof h[1]=="number"?h[1]:g+a}return d}}};function qR(e){return Array.isArray(e)?e:typeof e=="number"?[KR,e]:[e]}const k1=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),YR(e,t,i,r);function i(a,s){const o=s[s.length-1];return n(a,o?o.children.indexOf(a):null,o)}};function XR(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}const HE={}.hasOwnProperty;function QR(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return k1(e,"definition",r=>{const i=zE(r.identifier);i&&!HE.call(t,i)&&(t[i]=r)}),n;function n(r){const i=zE(r);return i&&HE.call(t,i)?t[i]:null}}function zE(e){return String(e||"").toUpperCase()}const Zu={}.hasOwnProperty;function ZR(e,t){const n=t||{},r=n.allowDangerousHtml||!1,i={};return s.dangerous=r,s.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,s.footnoteLabel=n.footnoteLabel||"Footnotes",s.footnoteLabelTagName=n.footnoteLabelTagName||"h2",s.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},s.footnoteBackLabel=n.footnoteBackLabel||"Back to content",s.unknownHandler=n.unknownHandler,s.passThrough=n.passThrough,s.handlers={...zR,...n.handlers},s.definition=QR(e),s.footnoteById=i,s.footnoteOrder=[],s.footnoteCounts={},s.patch=JR,s.applyData=eI,s.one=o,s.all=l,s.wrap=nI,s.augment=a,k1(e,"footnoteDefinition",c=>{const u=String(c.identifier).toUpperCase();Zu.call(i,u)||(i[u]=c)}),s;function a(c,u){if(c&&"data"in c&&c.data){const f=c.data;f.hName&&(u.type!=="element"&&(u={type:"element",tagName:"",properties:{},children:[]}),u.tagName=f.hName),u.type==="element"&&f.hProperties&&(u.properties={...u.properties,...f.hProperties}),"children"in u&&u.children&&f.hChildren&&(u.children=f.hChildren)}if(c){const f="type"in c?c:{position:c};XR(f)||(u.position={start:C1(f),end:Vf(f)})}return u}function s(c,u,f,d){return Array.isArray(f)&&(d=f,f={}),a(c,{type:"element",tagName:u,properties:f||{},children:d||[]})}function o(c,u){return Lb(s,c,u)}function l(c){return gg(s,c)}}function JR(e,t){e.position&&(t.position=LR(e))}function eI(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,a=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&a&&(n.properties={...n.properties,...a}),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function Lb(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Zu.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:gg(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):tI(e,t)}function gg(e,t){const n=[];if("children"in t){const r=t.children;let i=-1;for(;++i<r.length;){const a=Lb(e,r[i],t);if(a){if(i&&r[i-1].type==="break"&&(!Array.isArray(a)&&a.type==="text"&&(a.value=a.value.replace(/^\s+/,"")),!Array.isArray(a)&&a.type==="element")){const s=a.children[0];s&&s.type==="text"&&(s.value=s.value.replace(/^\s+/,""))}Array.isArray(a)?n.push(...a):n.push(a)}}}return n}function tI(e,t){const n=t.data||{},r="value"in t&&!(Zu.call(n,"hProperties")||Zu.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:gg(e,t)};return e.patch(t,r),e.applyData(t,r)}function nI(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
817
+ `});++r<e.length;)r&&n.push({type:"text",value:`
818
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
819
+ `}),n}function rI(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;const i=e.all(r),a=String(r.identifier).toUpperCase(),s=go(a.toLowerCase());let o=0;const l=[];for(;++o<=e.footnoteCounts[a];){const f={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+s+(o>1?"-"+o:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};o>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(o)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(f)}const c=i[i.length-1];if(c&&c.type==="element"&&c.tagName==="p"){const f=c.children[c.children.length-1];f&&f.type==="text"?f.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else i.push(...l);const u={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+s},children:e.wrap(i,!0)};e.patch(r,u),t.push(u)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:`
820
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:`
821
+ `}]}}function Pb(e,t){const n=ZR(e,t),r=n.one(e,null),i=rI(n);return i&&r.children.push({type:"text",value:`
822
+ `},i),Array.isArray(r)?{type:"root",children:r}:r}const iI=function(e,t){return e&&"run"in e?sI(e,t):oI(e||t)},aI=iI;function sI(e,t){return(n,r,i)=>{e.run(Pb(n,t),r,a=>{i(a)})}}function oI(e){return t=>Pb(t,e)}class O1{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}O1.prototype.property={};O1.prototype.normal={};O1.prototype.space=null;function Db(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new O1(n,r,t)}function t1(e){return e.toLowerCase()}class Mn{constructor(t,n){this.property=t,this.attribute=n}}Mn.prototype.space=null;Mn.prototype.boolean=!1;Mn.prototype.booleanish=!1;Mn.prototype.overloadedBoolean=!1;Mn.prototype.number=!1;Mn.prototype.commaSeparated=!1;Mn.prototype.spaceSeparated=!1;Mn.prototype.commaOrSpaceSeparated=!1;Mn.prototype.mustUseProperty=!1;Mn.prototype.defined=!1;let lI=0;const he=Ga(),st=Ga(),Fb=Ga(),G=Ga(),Fe=Ga(),$s=Ga(),en=Ga();function Ga(){return 2**++lI}const wp=Object.freeze(Object.defineProperty({__proto__:null,boolean:he,booleanish:st,commaOrSpaceSeparated:en,commaSeparated:$s,number:G,overloadedBoolean:Fb,spaceSeparated:Fe},Symbol.toStringTag,{value:"Module"})),hh=Object.keys(wp);class Eg extends Mn{constructor(t,n,r,i){let a=-1;if(super(t,n),jE(this,"space",i),typeof r=="number")for(;++a<hh.length;){const s=hh[a];jE(this,hh[a],(r&wp[s])===wp[s])}}}Eg.prototype.defined=!0;function jE(e,t,n){n&&(e[t]=n)}const cI={}.hasOwnProperty;function Eo(e){const t={},n={};let r;for(r in e.properties)if(cI.call(e.properties,r)){const i=e.properties[r],a=new Eg(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[t1(r)]=r,n[t1(a.attribute)]=r}return new O1(t,n,e.space)}const Bb=Eo({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Ub=Eo({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Hb(e,t){return t in e?e[t]:t}function zb(e,t){return Hb(e,t.toLowerCase())}const jb=Eo({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:zb,properties:{xmlns:null,xmlnsXLink:null}}),$b=Eo({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:st,ariaAutoComplete:null,ariaBusy:st,ariaChecked:st,ariaColCount:G,ariaColIndex:G,ariaColSpan:G,ariaControls:Fe,ariaCurrent:null,ariaDescribedBy:Fe,ariaDetails:null,ariaDisabled:st,ariaDropEffect:Fe,ariaErrorMessage:null,ariaExpanded:st,ariaFlowTo:Fe,ariaGrabbed:st,ariaHasPopup:null,ariaHidden:st,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Fe,ariaLevel:G,ariaLive:null,ariaModal:st,ariaMultiLine:st,ariaMultiSelectable:st,ariaOrientation:null,ariaOwns:Fe,ariaPlaceholder:null,ariaPosInSet:G,ariaPressed:st,ariaReadOnly:st,ariaRelevant:null,ariaRequired:st,ariaRoleDescription:Fe,ariaRowCount:G,ariaRowIndex:G,ariaRowSpan:G,ariaSelected:st,ariaSetSize:G,ariaSort:null,ariaValueMax:G,ariaValueMin:G,ariaValueNow:G,ariaValueText:null,role:null}}),uI=Eo({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:zb,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:$s,acceptCharset:Fe,accessKey:Fe,action:null,allow:null,allowFullScreen:he,allowPaymentRequest:he,allowUserMedia:he,alt:null,as:null,async:he,autoCapitalize:null,autoComplete:Fe,autoFocus:he,autoPlay:he,capture:he,charSet:null,checked:he,cite:null,className:Fe,cols:G,colSpan:null,content:null,contentEditable:st,controls:he,controlsList:Fe,coords:G|$s,crossOrigin:null,data:null,dateTime:null,decoding:null,default:he,defer:he,dir:null,dirName:null,disabled:he,download:Fb,draggable:st,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:he,formTarget:null,headers:Fe,height:G,hidden:he,high:G,href:null,hrefLang:null,htmlFor:Fe,httpEquiv:Fe,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:he,itemId:null,itemProp:Fe,itemRef:Fe,itemScope:he,itemType:Fe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:he,low:G,manifest:null,max:null,maxLength:G,media:null,method:null,min:null,minLength:G,multiple:he,muted:he,name:null,nonce:null,noModule:he,noValidate:he,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint: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:he,optimum:G,pattern:null,ping:Fe,placeholder:null,playsInline:he,poster:null,preload:null,readOnly:he,referrerPolicy:null,rel:Fe,required:he,reversed:he,rows:G,rowSpan:G,sandbox:Fe,scope:null,scoped:he,seamless:he,selected:he,shape:null,size:G,sizes:null,slot:null,span:G,spellCheck:st,src:null,srcDoc:null,srcLang:null,srcSet:null,start:G,step:null,style:null,tabIndex:G,target:null,title:null,translate:null,type:null,typeMustMatch:he,useMap:null,value:st,width:G,wrap:null,align:null,aLink:null,archive:Fe,axis:null,background:null,bgColor:null,border:G,borderColor:null,bottomMargin:G,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:he,declare:he,event:null,face:null,frame:null,frameBorder:null,hSpace:G,leftMargin:G,link:null,longDesc:null,lowSrc:null,marginHeight:G,marginWidth:G,noResize:he,noHref:he,noShade:he,noWrap:he,object:null,profile:null,prompt:null,rev:null,rightMargin:G,rules:null,scheme:null,scrolling:st,standby:null,summary:null,text:null,topMargin:G,valueType:null,version:null,vAlign:null,vLink:null,vSpace:G,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:he,disableRemotePlayback:he,prefix:null,property:null,results:G,security:null,unselectable:null}}),fI=Eo({space:"svg",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",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"},transform:Hb,properties:{about:en,accentHeight:G,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:G,amplitude:G,arabicForm:null,ascent:G,attributeName:null,attributeType:null,azimuth:G,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:G,by:null,calcMode:null,capHeight:G,className:Fe,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:G,diffuseConstant:G,direction:null,display:null,dur:null,divisor:G,dominantBaseline:null,download:he,dx:null,dy:null,edgeMode:null,editable:null,elevation:G,enableBackground:null,end:null,event:null,exponent:G,externalResourcesRequired:null,fill:null,fillOpacity:G,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:$s,g2:$s,glyphName:$s,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:G,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:G,horizOriginX:G,horizOriginY:G,id:null,ideographic:G,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:G,k:G,k1:G,k2:G,k3:G,k4:G,kernelMatrix:en,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:G,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:G,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:G,overlineThickness:G,paintOrder:null,panose1:null,path:null,pathLength:G,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Fe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:G,pointsAtY:G,pointsAtZ:G,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:en,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:en,rev:en,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:en,requiredFeatures:en,requiredFonts:en,requiredFormats:en,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:G,specularExponent:G,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:G,strikethroughThickness:G,string:null,stroke:null,strokeDashArray:en,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:G,strokeOpacity:G,strokeWidth:null,style:null,surfaceScale:G,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:en,tabIndex:G,tableValues:null,target:null,targetX:G,targetY:G,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:en,to:null,transform:null,u1:null,u2:null,underlinePosition:G,underlineThickness:G,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:G,values:null,vAlphabetic:G,vMathematical:G,vectorEffect:null,vHanging:G,vIdeographic:G,version:null,vertAdvY:G,vertOriginX:G,vertOriginY:G,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:G,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),dI=/^data[-\w.:]+$/i,$E=/-[a-z]/g,hI=/[A-Z]/g;function Wf(e,t){const n=t1(t);let r=t,i=Mn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&dI.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace($E,mI);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!$E.test(a)){let s=a.replace(hI,pI);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=Eg}return new i(r,t)}function pI(e){return"-"+e.toLowerCase()}function mI(e){return e.charAt(1).toUpperCase()}const GE={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"},R1=Db([Ub,Bb,jb,$b,uI],"html"),_o=Db([Ub,Bb,jb,$b,fI],"svg");function gI(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{k1(t,"element",(n,r,i)=>{const a=i;let s;if(e.allowedElements?s=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(s=e.disallowedElements.includes(n.tagName)),!s&&e.allowElement&&typeof r=="number"&&(s=!e.allowElement(n,r,a)),s&&typeof r=="number")return e.unwrapDisallowed&&n.children?a.children.splice(r,1,...n.children):a.children.splice(r,1),r})}}var Gb={exports:{}},Ce={};/**
823
+ * @license React
824
+ * react-is.production.min.js
825
+ *
826
+ * Copyright (c) Facebook, Inc. and its affiliates.
827
+ *
828
+ * This source code is licensed under the MIT license found in the
829
+ * LICENSE file in the root directory of this source tree.
830
+ */var _g=Symbol.for("react.element"),Tg=Symbol.for("react.portal"),Yf=Symbol.for("react.fragment"),qf=Symbol.for("react.strict_mode"),Xf=Symbol.for("react.profiler"),Qf=Symbol.for("react.provider"),Zf=Symbol.for("react.context"),EI=Symbol.for("react.server_context"),Jf=Symbol.for("react.forward_ref"),ed=Symbol.for("react.suspense"),td=Symbol.for("react.suspense_list"),nd=Symbol.for("react.memo"),rd=Symbol.for("react.lazy"),_I=Symbol.for("react.offscreen"),Vb;Vb=Symbol.for("react.module.reference");function Ln(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case _g:switch(e=e.type,e){case Yf:case Xf:case qf:case ed:case td:return e;default:switch(e=e&&e.$$typeof,e){case EI:case Zf:case Jf:case rd:case nd:case Qf:return e;default:return t}}case Tg:return t}}}Ce.ContextConsumer=Zf;Ce.ContextProvider=Qf;Ce.Element=_g;Ce.ForwardRef=Jf;Ce.Fragment=Yf;Ce.Lazy=rd;Ce.Memo=nd;Ce.Portal=Tg;Ce.Profiler=Xf;Ce.StrictMode=qf;Ce.Suspense=ed;Ce.SuspenseList=td;Ce.isAsyncMode=function(){return!1};Ce.isConcurrentMode=function(){return!1};Ce.isContextConsumer=function(e){return Ln(e)===Zf};Ce.isContextProvider=function(e){return Ln(e)===Qf};Ce.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===_g};Ce.isForwardRef=function(e){return Ln(e)===Jf};Ce.isFragment=function(e){return Ln(e)===Yf};Ce.isLazy=function(e){return Ln(e)===rd};Ce.isMemo=function(e){return Ln(e)===nd};Ce.isPortal=function(e){return Ln(e)===Tg};Ce.isProfiler=function(e){return Ln(e)===Xf};Ce.isStrictMode=function(e){return Ln(e)===qf};Ce.isSuspense=function(e){return Ln(e)===ed};Ce.isSuspenseList=function(e){return Ln(e)===td};Ce.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Yf||e===Xf||e===qf||e===ed||e===td||e===_I||typeof e=="object"&&e!==null&&(e.$$typeof===rd||e.$$typeof===nd||e.$$typeof===Qf||e.$$typeof===Zf||e.$$typeof===Jf||e.$$typeof===Vb||e.getModuleId!==void 0)};Ce.typeOf=Ln;Gb.exports=Ce;var TI=Gb.exports;const yI=Zn(TI);function vI(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function VE(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Kb(e){return e.join(" ").trim()}function KE(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);const s=n.slice(i,r).trim();(s||!a)&&t.push(s),i=r+1,r=n.indexOf(",",i)}return t}function Wb(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var yg={exports:{}},WE=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,bI=/\n/g,SI=/^\s*/,AI=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,xI=/^:\s*/,NI=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,wI=/^[;\s]*/,CI=/^\s+|\s+$/g,kI=`
831
+ `,YE="/",qE="*",pa="",OI="comment",RI="declaration",II=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(g){var E=g.match(bI);E&&(n+=E.length);var b=g.lastIndexOf(kI);r=~b?g.length-b:r+g.length}function a(){var g={line:n,column:r};return function(E){return E.position=new s(g),c(),E}}function s(g){this.start=g,this.end={line:n,column:r},this.source=t.source}s.prototype.content=e;function o(g){var E=new Error(t.source+":"+n+":"+r+": "+g);if(E.reason=g,E.filename=t.source,E.line=n,E.column=r,E.source=e,!t.silent)throw E}function l(g){var E=g.exec(e);if(E){var b=E[0];return i(b),e=e.slice(b.length),E}}function c(){l(SI)}function u(g){var E;for(g=g||[];E=f();)E!==!1&&g.push(E);return g}function f(){var g=a();if(!(YE!=e.charAt(0)||qE!=e.charAt(1))){for(var E=2;pa!=e.charAt(E)&&(qE!=e.charAt(E)||YE!=e.charAt(E+1));)++E;if(E+=2,pa===e.charAt(E-1))return o("End of comment missing");var b=e.slice(2,E-2);return r+=2,i(b),e=e.slice(E),r+=2,g({type:OI,comment:b})}}function d(){var g=a(),E=l(AI);if(E){if(f(),!l(xI))return o("property missing ':'");var b=l(NI),m=g({type:RI,property:XE(E[0].replace(WE,pa)),value:b?XE(b[0].replace(WE,pa)):pa});return l(wI),m}}function h(){var g=[];u(g);for(var E;E=d();)E!==!1&&(g.push(E),u(g));return g}return c(),h()};function XE(e){return e?e.replace(CI,pa):pa}var MI=II;function Yb(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,i=MI(e),a=typeof t=="function",s,o,l=0,c=i.length;l<c;l++)r=i[l],s=r.property,o=r.value,a?t(s,o,r):o&&(n||(n={}),n[s]=o);return n}yg.exports=Yb;yg.exports.default=Yb;var LI=yg.exports;const PI=Zn(LI),Cp={}.hasOwnProperty,DI=new Set(["table","thead","tbody","tfoot","tr"]);function qb(e,t){const n=[];let r=-1,i;for(;++r<t.children.length;)i=t.children[r],i.type==="element"?n.push(FI(e,i,r,t)):i.type==="text"?(t.type!=="element"||!DI.has(t.tagName)||!vI(i))&&n.push(i.value):i.type==="raw"&&!e.options.skipHtml&&n.push(i.value);return n}function FI(e,t,n,r){const i=e.options,a=i.transformLinkUri===void 0?$C:i.transformLinkUri,s=e.schema,o=t.tagName,l={};let c=s,u;if(s.space==="html"&&o==="svg"&&(c=_o,e.schema=c),t.properties)for(u in t.properties)Cp.call(t.properties,u)&&UI(l,u,t.properties[u],e);(o==="ol"||o==="ul")&&e.listDepth++;const f=qb(e,t);(o==="ol"||o==="ul")&&e.listDepth--,e.schema=s;const d=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=i.components&&Cp.call(i.components,o)?i.components[o]:o,g=typeof h=="string"||h===Yn.Fragment;if(!yI.isValidElementType(h))throw new TypeError(`Component for name \`${o}\` not defined or is not renderable`);if(l.key=n,o==="a"&&i.linkTarget&&(l.target=typeof i.linkTarget=="function"?i.linkTarget(String(l.href||""),t.children,typeof l.title=="string"?l.title:null):i.linkTarget),o==="a"&&a&&(l.href=a(String(l.href||""),t.children,typeof l.title=="string"?l.title:null)),!g&&o==="code"&&r.type==="element"&&r.tagName!=="pre"&&(l.inline=!0),!g&&(o==="h1"||o==="h2"||o==="h3"||o==="h4"||o==="h5"||o==="h6")&&(l.level=Number.parseInt(o.charAt(1),10)),o==="img"&&i.transformImageUri&&(l.src=i.transformImageUri(String(l.src||""),String(l.alt||""),typeof l.title=="string"?l.title:null)),!g&&o==="li"&&r.type==="element"){const E=BI(t);l.checked=E&&E.properties?!!E.properties.checked:null,l.index=ph(r,t),l.ordered=r.tagName==="ol"}return!g&&(o==="ol"||o==="ul")&&(l.ordered=o==="ol",l.depth=e.listDepth),(o==="td"||o==="th")&&(l.align&&(l.style||(l.style={}),l.style.textAlign=l.align,delete l.align),g||(l.isHeader=o==="th")),!g&&o==="tr"&&r.type==="element"&&(l.isHeader=r.tagName==="thead"),i.sourcePos&&(l["data-sourcepos"]=jI(d)),!g&&i.rawSourcePos&&(l.sourcePosition=t.position),!g&&i.includeElementIndex&&(l.index=ph(r,t),l.siblingCount=ph(r)),g||(l.node=t),f.length>0?Yn.createElement(h,l,f):Yn.createElement(h,l)}function BI(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n.type==="element"&&n.tagName==="input")return n}return null}function ph(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)e.children[n].type==="element"&&r++;return r}function UI(e,t,n,r){const i=Wf(r.schema,t);let a=n;a==null||a!==a||(Array.isArray(a)&&(a=i.commaSeparated?Wb(a):Kb(a)),i.property==="style"&&typeof a=="string"&&(a=HI(a)),i.space&&i.property?e[Cp.call(GE,i.property)?GE[i.property]:i.property]=a:i.attribute&&(e[i.attribute]=a))}function HI(e){const t={};try{PI(e,n)}catch{}return t;function n(r,i){const a=r.slice(0,4)==="-ms-"?`ms-${r.slice(4)}`:r;t[a.replace(/-([a-z])/g,zI)]=i}}function zI(e,t){return t.toUpperCase()}function jI(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(String).join("")}const QE={}.hasOwnProperty,$I="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ec={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Xb(e){for(const a in Ec)if(QE.call(Ec,a)&&QE.call(e,a)){const s=Ec[a];console.warn(`[react-markdown] Warning: please ${s.to?`use \`${s.to}\` instead of`:"remove"} \`${a}\` (see <${$I}#${s.id}> for more info)`),delete Ec[a]}const t=ak().use(pR).use(e.remarkPlugins||[]).use(aI,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(gI,e),n=new hb;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let i=Yn.createElement(Yn.Fragment,{},qb({options:e,schema:R1,listDepth:0},r));return e.className&&(i=Yn.createElement("div",{className:e.className},i)),i}Xb.propTypes={children:q.string,className:q.string,allowElement:q.func,allowedElements:q.arrayOf(q.string),disallowedElements:q.arrayOf(q.string),unwrapDisallowed:q.bool,remarkPlugins:q.arrayOf(q.oneOfType([q.object,q.func,q.arrayOf(q.oneOfType([q.bool,q.string,q.object,q.func,q.arrayOf(q.any)]))])),rehypePlugins:q.arrayOf(q.oneOfType([q.object,q.func,q.arrayOf(q.oneOfType([q.bool,q.string,q.object,q.func,q.arrayOf(q.any)]))])),sourcePos:q.bool,rawSourcePos:q.bool,skipHtml:q.bool,includeElementIndex:q.bool,transformLinkUri:q.oneOfType([q.func,q.bool]),linkTarget:q.oneOfType([q.func,q.string]),transformImageUri:q.func,components:q.object};function GI(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="<[^<>]+>",s="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional(a)+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+l+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},h=t.optional(i)+e.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],E=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],b=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],m=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],v={type:E,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:b},N={className:"function.dispatch",relevance:0,keywords:{_hint:m},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},S=[N,f,o,n,e.C_BLOCK_COMMENT_MODE,u,c],A={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:v,contains:S.concat([{begin:/\(/,end:/\)/,keywords:v,contains:S.concat(["self"]),relevance:0}]),relevance:0},k={className:"function",begin:"("+s+"[\\*&\\s]+)+"+h,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:v,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:v,relevance:0},{begin:h,returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,c,u,o,{begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,c,u,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:v,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(A,k,N,S,[f,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:v,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:v},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function VI(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=GI(e),r=n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}function KI(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);const o={className:"",begin:/\\"/},l={className:"string",begin:/'/,end:/'/},c={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},u=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],f=e.SHEBANG({binary:`(${u.join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},h=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],g=["true","false"],E={match:/(\/[a-z._-]+)+/},b=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],m=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],T=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],_=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:h,literal:g,built_in:[...b,...m,"set","shopt",...T,..._]},contains:[f,e.SHEBANG(),d,c,e.HASH_COMMENT_MODE,a,E,s,o,l,n]}}function WI(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="<[^<>]+>",s="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional(a)+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},l="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+l+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},h=t.optional(i)+e.IDENT_RE+"\\s*\\(",b={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},m=[f,o,n,e.C_BLOCK_COMMENT_MODE,u,c],T={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:b,contains:m.concat([{begin:/\(/,end:/\)/,keywords:b,contains:m.concat(["self"]),relevance:0}]),relevance:0},_={begin:"("+s+"[\\*&\\s]+)+"+h,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:b,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:b,relevance:0},{begin:h,returnBegin:!0,contains:[e.inherit(d,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,c,u,o,{begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,c,u,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:b,disableAutodetect:!0,illegal:"</",contains:[].concat(T,_,m,[f,{begin:e.IDENT_RE+"::",keywords:b},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:c,keywords:b}}}function YI(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="<[^<>]+>",s="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional(a)+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+l+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},d={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},h=t.optional(i)+e.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],E=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],b=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],m=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],v={type:E,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:b},N={className:"function.dispatch",relevance:0,keywords:{_hint:m},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},S=[N,f,o,n,e.C_BLOCK_COMMENT_MODE,u,c],A={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:v,contains:S.concat([{begin:/\(/,end:/\)/,keywords:v,contains:S.concat(["self"]),relevance:0}]),relevance:0},k={className:"function",begin:"("+s+"[\\*&\\s]+)+"+h,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:v,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:v,relevance:0},{begin:h,returnBegin:!0,contains:[d],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,c,u,o,{begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,c,u,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:v,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(A,k,N,S,[f,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function)\\s*<(?!<)",end:">",keywords:v,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:v},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function qI(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],a=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:i.concat(a),built_in:t,literal:r},o=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},u=e.inherit(c,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:s},d=e.inherit(f,{illegal:/\n/}),h={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,d]},g={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},E=e.inherit(g,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},d]});f.contains=[g,h,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.C_BLOCK_COMMENT_MODE],d.contains=[E,h,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const b={variants:[g,h,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},m={begin:"<",end:">",contains:[{beginKeywords:"in out"},o]},T=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",_={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},b,l,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},o,m,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,m,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+T+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,m],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[b,l,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},_]}}const XI=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),QI=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],ZI=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],JI=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],eM=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],tM=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function nM(e){const t=e.regex,n=XI(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",a=/@-?\w[\w]*(-\w+)*/,s="[a-zA-Z-][a-zA-Z0-9_-]*",o=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+s,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+JI.join("|")+")"},{begin:":(:)?("+eM.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+tM.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:ZI.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+QI.join("|")+")\\b"}]}}function rM(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function iM(e){const a={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:a,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:a,illegal:/["']/}]}]}}function aM(e){const t=e.regex,n=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(n,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function sM(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:"literal",begin:/\bon|off|true|false|yes|no\b/},s={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},o={begin:/\[/,end:/\]/,contains:[r,a,i,s,n,"self"],relevance:0},l=/[A-Za-z0-9_-]+/,c=/"(\\"|[^"])*"/,u=/'[^']*'/,f=t.either(l,c,u),d=t.concat(f,"(\\s*\\.\\s*",f,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:d,className:"attr",starts:{end:/$/,contains:[r,o,a,i,s,n]}}]}}var os="[0-9](_*[0-9])*",_c=`\\.(${os})`,Tc="[0-9a-fA-F](_*[0-9a-fA-F])*",ZE={className:"number",variants:[{begin:`(\\b(${os})((${_c})|\\.)?|(${_c}))[eE][+-]?(${os})[fFdD]?\\b`},{begin:`\\b(${os})((${_c})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${_c})[fFdD]?\\b`},{begin:`\\b(${os})[fFdD]\\b`},{begin:`\\b0[xX]((${Tc})\\.?|(${Tc})?\\.(${Tc}))[pP][+-]?(${os})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Tc})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Qb(e,t,n){return n===-1?"":e.replace(t,r=>Qb(e,t,n-1))}function oM(e){const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=n+Qb("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),l={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},c={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},u={className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:l,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[u,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:l,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,ZE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},ZE,c]}}const JE="[A-Za-z$_][0-9A-Za-z$_]*",lM=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],cM=["true","false","null","undefined","NaN","Infinity"],Zb=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Jb=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],e3=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],uM=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],fM=[].concat(e3,Zb,Jb);function dM(e){const t=e.regex,n=(M,{after:H})=>{const x="</"+M[0].slice(1);return M.input.indexOf(x,H)!==-1},r=JE,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(M,H)=>{const x=M[0].length+M.index,j=M.input[x];if(j==="<"||j===","){H.ignoreMatch();return}j===">"&&(n(M,{after:x})||H.ignoreMatch());let te;const C=M.input.substring(x);if(te=C.match(/^\s*=/)){H.ignoreMatch();return}if((te=C.match(/^\s+extends\s+/))&&te.index===0){H.ignoreMatch();return}}},o={$pattern:JE,keyword:lM,literal:cM,built_in:fM,"variable.language":uM},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},h={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},g={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},E={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},b={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,d]},T={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},_=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,g,E,b,{match:/\$\d+/},f];d.contains=_.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(_)});const v=[].concat(T,d.contains),N=v.concat([{begin:/\(/,end:/\)/,keywords:o,contains:["self"].concat(v)}]),S={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:N},A={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},k={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Zb,...Jb]}},I={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},P={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[S],illegal:/%/},D={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function z(M){return t.concat("(?!",M.join("|"),")")}const X={match:t.concat(/\b/,z([...e3,"super","import"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},Q={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Y={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},S]},ae="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",B={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(ae)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[S]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:N,CLASS_REFERENCE:k},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),I,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,g,E,b,T,{match:/\$\d+/},f,k,{className:"attr",begin:r+t.lookahead(":"),relevance:0},B,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[T,e.REGEXP_MODE,{className:"function",begin:ae,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:N}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},P,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[S,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},Q,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[S]},X,D,A,Y,{match:/\$[(.]/}]}}function hM(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],i={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var ls="[0-9](_*[0-9])*",yc=`\\.(${ls})`,vc="[0-9a-fA-F](_*[0-9a-fA-F])*",pM={className:"number",variants:[{begin:`(\\b(${ls})((${yc})|\\.)?|(${yc}))[eE][+-]?(${ls})[fFdD]?\\b`},{begin:`\\b(${ls})((${yc})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${yc})[fFdD]?\\b`},{begin:`\\b(${ls})[fFdD]\\b`},{begin:`\\b0[xX]((${vc})\\.?|(${vc})?\\.(${vc}))[pP][+-]?(${ls})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${vc})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function mM(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},r={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},a={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},s={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[a,i]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,i]}]};i.contains.push(s);const o={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(s,{className:"string"}),"self"]}]},c=pM,u=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),f={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},d=f;return d.variants[1].contains=[f],f.variants[1].contains=[d],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,n,r,o,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[f,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,o,l,s,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},o,l]},s,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
832
+ `},c]}}const gM=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),EM=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],_M=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],t3=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],n3=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],TM=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),yM=t3.concat(n3);function vM(e){const t=gM(e),n=yM,r="and or not only",i="[\\w-]+",a="("+i+"|@\\{"+i+"\\})",s=[],o=[],l=function(_){return{className:"string",begin:"~?"+_+".*?"+_}},c=function(_,v,N){return{className:_,begin:v,relevance:N}},u={$pattern:/[a-z-]+/,keyword:r,attribute:_M.join(" ")},f={begin:"\\(",end:"\\)",contains:o,keywords:u,relevance:0};o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l("'"),l('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,f,c("variable","@@?"+i,10),c("variable","@\\{"+i+"\\}"),c("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const d=o.concat({begin:/\{/,end:/\}/,contains:s}),h={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(o)},g={begin:a+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+TM.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:o}}]},E={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:u,returnEnd:!0,contains:o,relevance:0}},b={className:"variable",variants:[{begin:"@"+i+"\\s*:",relevance:15},{begin:"@"+i}],starts:{end:"[;}]",returnEnd:!0,contains:d}},m={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:a,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,c("keyword","all\\b"),c("variable","@\\{"+i+"\\}"),{begin:"\\b("+EM.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,c("selector-tag",a,0),c("selector-id","#"+a),c("selector-class","\\."+a,0),c("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+t3.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n3.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"},t.FUNCTION_DISPATCH]},T={begin:i+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[m]};return s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,E,b,T,g,m,h,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:s}}function bM(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}function SM(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t]},i={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},a={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},s={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,r,i,a,s]}}function AM(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},a={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},s={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},o=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,o,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=e.inherit(c,{contains:[]}),d=e.inherit(u,{contains:[]});c.contains.push(d),u.contains.push(f);let h=[n,l];return[c,u,f,d].forEach(b=>{b.contains=b.contains.concat(h)}),h=h.concat(c,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:h},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:h}]}]},n,a,c,u,{className:"quote",begin:"^>\\s+",contains:h,end:"$"},i,r,l,s]}}function xM(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,o={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},l={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:o,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+l.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:l,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function NM(e){const t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(" ")},a={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},s={begin:/->\{/,end:/\}/},o={variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},l=[e.BACKSLASH_ESCAPE,a,o],c=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],u=(h,g,E="\\1")=>{const b=E==="\\1"?E:t.concat(E,g);return t.concat(t.concat("(?:",h,")"),g,/(?:\\.|[^\\\/])*?/,b,/(?:\\.|[^\\\/])*?/,E,r)},f=(h,g,E)=>t.concat(t.concat("(?:",h,")"),g,/(?:\\.|[^\\\/])*?/,E,r),d=[o,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),s,{className:"string",contains:l,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:u("s|tr|y",t.either(...c,{capture:!0}))},{begin:u("s|tr|y","\\(","\\)")},{begin:u("s|tr|y","\\[","\\]")},{begin:u("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:f("(?:m|qr)?",/\//,/\//)},{begin:f("m|qr",t.either(...c,{capture:!0}),/\1/)},{begin:f("m|qr",/\(/,/\)/)},{begin:f("m|qr",/\[/,/\]/)},{begin:f("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return a.contains=d,s.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:d}}function wM(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a={scope:"variable",match:"\\$+"+r},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},o={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(o)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(o),"on:begin":(X,Q)=>{Q.data._beginMatch=X[1]||X[2]},"on:end":(X,Q)=>{Q.data._beginMatch!==X[1]&&Q.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),d=`[
833
+ ]`,h={scope:"string",variants:[c,l,u,f]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},E=["false","null","true"],b=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],m=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],_={keyword:b,literal:(X=>{const Q=[];return X.forEach(Y=>{Q.push(Y),Y.toLowerCase()===Y?Q.push(Y.toUpperCase()):Q.push(Y.toLowerCase())}),Q})(E),built_in:m},v=X=>X.map(Q=>Q.replace(/\|\d+$/,"")),N={variants:[{match:[/new/,t.concat(d,"+"),t.concat("(?!",v(m).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},S=t.concat(r,"\\b(?!\\()"),A={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},k={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},I={relevance:0,begin:/\(/,end:/\)/,keywords:_,contains:[k,a,A,e.C_BLOCK_COMMENT_MODE,h,g,N]},P={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",v(b).join("\\b|"),"|",v(m).join("\\b|"),"\\b)"),r,t.concat(d,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[I]};I.contains.push(P);const D=[k,A,e.C_BLOCK_COMMENT_MODE,h,g,N],z={begin:t.concat(/#\[\s*/,i),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:E,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:E,keyword:["new","array"]},contains:["self",...D]},...D,{scope:"meta",match:i}]};return{case_insensitive:!1,keywords:_,contains:[z,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},a,P,A,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},N,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:_,contains:["self",a,A,e.C_BLOCK_COMMENT_MODE,h,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},h,g]}}function CM(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function kM(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function OM(e){const t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},u={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l,u,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,u,c]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},d="[0-9](_?[0-9])*",h=`(\\b(${d}))?\\.(${d})|\\b(${d})\\.`,g=`\\b|${r.join("|")}`,E={className:"number",relevance:0,variants:[{begin:`(\\b(${d})|(${h}))[eE][+-]?(${d})[jJ]?(?=${g})`},{begin:`(${h})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${g})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${g})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${g})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${g})`},{begin:`\\b(${d})[jJ](?=${g})`}]},b={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",l,E,f,e.HASH_COMMENT_MODE]}]};return c.contains=[f,E,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|\?)|=>/,contains:[l,E,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,b,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[E,m,f]}]}}function RM(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function IM(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[a,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function MM(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),s={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},c=[e.COMMENT("#","$",{contains:[o]}),e.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:s},f={className:"string",contains:[e.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,u]})]}]},d="[1-9](_?[0-9])*|0",h="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${d})(\\.(${h}))?([eE][+-]?(${h})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},E={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:s}]},S=[f,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:s},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[E]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:n}],relevance:0},g,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:s},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,c),relevance:0}].concat(l,c);u.contains=S,E.contains=S;const A="[>?]>",k="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",I="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",P=[{begin:/^\s*=>/,starts:{end:"$",contains:S}},{className:"meta.prompt",begin:"^("+A+"|"+k+"|"+I+")(?=[ ])",starts:{end:"$",keywords:s,contains:S}}];return c.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:s,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(P).concat(c).concat(S)}}function LM(e){const t=e.regex,n={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let\b)/,e.IDENT_RE,t.lookahead(/\s*\(/))},r="([ui](8|16|32|64|128|size)|f(32|64))?",i=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],a=["true","false","Some","None","Ok","Err"],s=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],o=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:o,keyword:i,literal:a,built_in:s},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+r},{begin:"\\b0o([0-7_]+)"+r},{begin:"\\b0x([A-Fa-f0-9_]+)"+r},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+r}],relevance:0},{begin:[/fn/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,e.UNDERSCORE_IDENT_RE,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,e.UNDERSCORE_IDENT_RE],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:s,type:o}},{className:"punctuation",begin:"->"},n]}}const PM=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),DM=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],FM=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],BM=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],UM=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],HM=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function zM(e){const t=PM(e),n=UM,r=BM,i="@[a-z-]+",a="and or not only",o={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+DM.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},o,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+HM.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,o,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:a,attribute:FM.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},o,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function jM(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function $M(e){const t=e.regex,n=e.COMMENT("--","$"),r={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},i={begin:/"/,end:/"/,contains:[{begin:/""/}]},a=["true","false","unknown"],s=["double precision","large object","with timezone","without timezone"],o=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],l=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],f=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],d=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],h=u,g=[...c,...l].filter(_=>!u.includes(_)),E={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},b={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},m={begin:t.concat(/\b/,t.either(...h),/\s*\(/),relevance:0,keywords:{built_in:h}};function T(_,{exceptions:v,when:N}={}){const S=N;return v=v||[],_.map(A=>A.match(/\|\d+$/)||v.includes(A)?A:S(A)?`${A}|0`:A)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:T(g,{when:_=>_.length<3}),literal:a,type:o,built_in:f},contains:[{begin:t.either(...d),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:g.concat(d),literal:a,type:o}},{className:"type",begin:t.either(...s)},m,E,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,b]}}function r3(e){return e?typeof e=="string"?e:e.source:null}function bc(e){return Re("(?=",e,")")}function Re(...e){return e.map(n=>r3(n)).join("")}function GM(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Ht(...e){return"("+(GM(e).capture?"":"?:")+e.map(r=>r3(r)).join("|")+")"}const vg=e=>Re(/\b/,e,/\w$/.test(e)?/\b/:/\B/),VM=["Protocol","Type"].map(vg),e2=["init","self"].map(vg),KM=["Any","Self"],mh=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],t2=["false","nil","true"],WM=["assignment","associativity","higherThan","left","lowerThan","none","right"],YM=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],n2=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],i3=Ht(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),a3=Ht(i3,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),gh=Re(i3,a3,"*"),s3=Ht(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Ju=Ht(s3,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Rr=Re(s3,Ju,"*"),Eh=Re(/[A-Z]/,Ju,"*"),qM=["autoclosure",Re(/convention\(/,Ht("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Re(/objc\(/,Rr,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],XM=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function QM(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,Ht(...VM,...e2)],className:{2:"keyword"}},a={match:Re(/\./,Ht(...mh)),relevance:0},s=mh.filter(fe=>typeof fe=="string").concat(["_|0"]),o=mh.filter(fe=>typeof fe!="string").concat(KM).map(vg),l={variants:[{className:"keyword",match:Ht(...o,...e2)}]},c={$pattern:Ht(/\b\w+/,/#\w+/),keyword:s.concat(YM),literal:t2},u=[i,a,l],f={match:Re(/\./,Ht(...n2)),relevance:0},d={className:"built_in",match:Re(/\b/,Ht(...n2),/(?=\()/)},h=[f,d],g={match:/->/,relevance:0},E={className:"operator",relevance:0,variants:[{match:gh},{match:`\\.(\\.|${a3})+`}]},b=[g,E],m="([0-9]_*)+",T="([0-9a-fA-F]_*)+",_={className:"number",relevance:0,variants:[{match:`\\b(${m})(\\.(${m}))?([eE][+-]?(${m}))?\\b`},{match:`\\b0x(${T})(\\.(${T}))?([pP][+-]?(${m}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},v=(fe="")=>({className:"subst",variants:[{match:Re(/\\/,fe,/[0\\tnr"']/)},{match:Re(/\\/,fe,/u\{[0-9a-fA-F]{1,8}\}/)}]}),N=(fe="")=>({className:"subst",match:Re(/\\/,fe,/[\t ]*(?:[\r\n]|\r\n)/)}),S=(fe="")=>({className:"subst",label:"interpol",begin:Re(/\\/,fe,/\(/),end:/\)/}),A=(fe="")=>({begin:Re(fe,/"""/),end:Re(/"""/,fe),contains:[v(fe),N(fe),S(fe)]}),k=(fe="")=>({begin:Re(fe,/"/),end:Re(/"/,fe),contains:[v(fe),S(fe)]}),I={className:"string",variants:[A(),A("#"),A("##"),A("###"),k(),k("#"),k("##"),k("###")]},P={match:Re(/`/,Rr,/`/)},D={className:"variable",match:/\$\d+/},z={className:"variable",match:`\\$${Ju}+`},X=[P,D,z],Q={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:XM,contains:[...b,_,I]}]}},Y={className:"keyword",match:Re(/@/,Ht(...qM))},ae={className:"meta",match:Re(/@/,Rr)},B=[Q,Y,ae],M={match:bc(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:Re(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Ju,"+")},{className:"type",match:Eh,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:Re(/\s+&\s+/,bc(Eh)),relevance:0}]},H={begin:/</,end:/>/,keywords:c,contains:[...r,...u,...B,g,M]};M.contains.push(H);const x={match:Re(Rr,/\s*:/),keywords:"_|0",relevance:0},j={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:["self",x,...r,...u,...h,...b,_,I,...X,...B,M]},te={begin:/</,end:/>/,contains:[...r,M]},C={begin:Ht(bc(Re(Rr,/\s*:/)),bc(Re(Rr,/\s+/,Rr,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Rr}]},ge={begin:/\(/,end:/\)/,keywords:c,contains:[C,...r,...u,...b,_,I,...B,M,j],endsParent:!0,illegal:/["']/},pe={match:[/func/,/\s+/,Ht(P.match,Rr,gh)],className:{1:"keyword",3:"title.function"},contains:[te,ge,t],illegal:[/\[/,/%/]},se={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[te,ge,t],illegal:/\[|%/},je={match:[/operator/,/\s+/,gh],className:{1:"keyword",3:"title"}},Ve={begin:[/precedencegroup/,/\s+/,Eh],className:{1:"keyword",3:"title"},contains:[M],keywords:[...WM,...t2],end:/}/};for(const fe of I.variants){const dt=fe.contains.find(Dn=>Dn.label==="interpol");dt.keywords=c;const it=[...u,...h,...b,_,I,...X];dt.contains=[...it,{begin:/\(/,end:/\)/,contains:["self",...it]}]}return{name:"Swift",keywords:c,contains:[...r,pe,se,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:c,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...u]},je,Ve,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},...u,...h,...b,_,I,...X,...B,M,j]}}const ef="[A-Za-z$_][0-9A-Za-z$_]*",o3=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],l3=["true","false","null","undefined","NaN","Infinity"],c3=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],u3=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],f3=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],d3=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],h3=[].concat(f3,c3,u3);function ZM(e){const t=e.regex,n=(M,{after:H})=>{const x="</"+M[0].slice(1);return M.input.indexOf(x,H)!==-1},r=ef,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(M,H)=>{const x=M[0].length+M.index,j=M.input[x];if(j==="<"||j===","){H.ignoreMatch();return}j===">"&&(n(M,{after:x})||H.ignoreMatch());let te;const C=M.input.substring(x);if(te=C.match(/^\s*=/)){H.ignoreMatch();return}if((te=C.match(/^\s+extends\s+/))&&te.index===0){H.ignoreMatch();return}}},o={$pattern:ef,keyword:o3,literal:l3,built_in:h3,"variable.language":d3},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},h={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},g={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},E={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"graphql"}},b={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,d]},T={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},_=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,g,E,b,{match:/\$\d+/},f];d.contains=_.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(_)});const v=[].concat(T,d.contains),N=v.concat([{begin:/\(/,end:/\)/,keywords:o,contains:["self"].concat(v)}]),S={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:N},A={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},k={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...c3,...u3]}},I={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},P={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[S],illegal:/%/},D={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function z(M){return t.concat("(?!",M.join("|"),")")}const X={match:t.concat(/\b/,z([...f3,"super","import"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},Q={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Y={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},S]},ae="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",B={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(ae)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[S]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:N,CLASS_REFERENCE:k},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),I,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,g,E,b,T,{match:/\$\d+/},f,k,{className:"attr",begin:r+t.lookahead(":"),relevance:0},B,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[T,e.REGEXP_MODE,{className:"function",begin:ae,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:N}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},P,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[S,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},Q,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[S]},X,D,A,Y,{match:/\$[(.]/}]}}function JM(e){const t=ZM(e),n=ef,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[t.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},o=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],l={$pattern:ef,keyword:o3.concat(o),literal:l3,built_in:h3.concat(r),"variable.language":d3},c={className:"meta",begin:"@"+n},u=(d,h,g)=>{const E=d.contains.findIndex(b=>b.label===h);if(E===-1)throw new Error("can not find mode to replace");d.contains.splice(E,1,g)};Object.assign(t.keywords,l),t.exports.PARAMS_CONTAINS.push(c),t.contains=t.contains.concat([c,i,a]),u(t,"shebang",e.SHEBANG()),u(t,"use_strict",s);const f=t.contains.find(d=>d.label==="func.def");return f.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t}function eL(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,a=/\d{4}-\d{1,2}-\d{1,2}/,s=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,o=/\d{1,2}(:\d{1,2}){1,2}/,l={className:"literal",variants:[{begin:t.concat(/# */,t.either(a,i),/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,t.either(a,i),/ +/,t.either(s,o),/ *#/)}]},c={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:"label",begin:/^\w+:/},f=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),d=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,r,l,c,u,f,d,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[d]}]}}function tL(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),r=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},a={className:"variable",begin:/\$[\w_]+/},s={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},o={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},l={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},c={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:r},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},a,s,i,e.QUOTE_STRING_MODE,l,c,o]}}function nL(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(a,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,l,o,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,s,l,o]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:c}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function rL(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(a,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),o="[0-9]{4}(-[0-9][0-9]){0,2}",l="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",u="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+o+l+c+u+"\\b"},d={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},h={begin:/\{/,end:/\}/,contains:[d],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[d],illegal:"\\n",relevance:0},E=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},f,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},h,g,a],b=[...E];return b.pop(),b.push(s),d.contains=b,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:E}}function p3(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const n=e[t],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&p3(n)}),e}class r2{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function m3(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function wi(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const iL="</span>",i2=e=>!!e.scope,aL=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};class sL{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=m3(t)}openNode(t){if(!i2(t))return;const n=aL(t.scope,{prefix:this.classPrefix});this.span(n)}closeNode(t){i2(t)&&(this.buffer+=iL)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}const a2=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class bg{constructor(){this.rootNode=a2(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n=a2({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{bg._collapse(n)}))}}class oL extends bg{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,n){const r=t.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new sL(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function n1(e){return e?typeof e=="string"?e:e.source:null}function g3(e){return Va("(?=",e,")")}function lL(e){return Va("(?:",e,")*")}function cL(e){return Va("(?:",e,")?")}function Va(...e){return e.map(n=>n1(n)).join("")}function uL(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Sg(...e){return"("+(uL(e).capture?"":"?:")+e.map(r=>n1(r)).join("|")+")"}function E3(e){return new RegExp(e.toString()+"|").exec("").length-1}function fL(e,t){const n=e&&e.exec(t);return n&&n.index===0}const dL=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Ag(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;const i=n;let a=n1(r),s="";for(;a.length>0;){const o=dL.exec(a);if(!o){s+=a;break}s+=a.substring(0,o.index),a=a.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?s+="\\"+String(Number(o[1])+i):(s+=o[0],o[0]==="("&&n++)}return s}).map(r=>`(${r})`).join(t)}const hL=/\b\B/,_3="[a-zA-Z]\\w*",xg="[a-zA-Z_]\\w*",T3="\\b\\d+(\\.\\d+)?",y3="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",v3="\\b(0b[01]+)",pL="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",mL=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=Va(t,/.*\b/,e.binary,/\b.*/)),wi({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},r1={begin:"\\\\[\\s\\S]",relevance:0},gL={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[r1]},EL={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[r1]},_L={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},id=function(e,t,n={}){const r=wi({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=Sg("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:Va(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},TL=id("//","$"),yL=id("/\\*","\\*/"),vL=id("#","$"),bL={scope:"number",begin:T3,relevance:0},SL={scope:"number",begin:y3,relevance:0},AL={scope:"number",begin:v3,relevance:0},xL={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[r1,{begin:/\[/,end:/\]/,relevance:0,contains:[r1]}]}]},NL={scope:"title",begin:_3,relevance:0},wL={scope:"title",begin:xg,relevance:0},CL={begin:"\\.\\s*"+xg,relevance:0},kL=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var Sc=Object.freeze({__proto__:null,MATCH_NOTHING_RE:hL,IDENT_RE:_3,UNDERSCORE_IDENT_RE:xg,NUMBER_RE:T3,C_NUMBER_RE:y3,BINARY_NUMBER_RE:v3,RE_STARTERS_RE:pL,SHEBANG:mL,BACKSLASH_ESCAPE:r1,APOS_STRING_MODE:gL,QUOTE_STRING_MODE:EL,PHRASAL_WORDS_MODE:_L,COMMENT:id,C_LINE_COMMENT_MODE:TL,C_BLOCK_COMMENT_MODE:yL,HASH_COMMENT_MODE:vL,NUMBER_MODE:bL,C_NUMBER_MODE:SL,BINARY_NUMBER_MODE:AL,REGEXP_MODE:xL,TITLE_MODE:NL,UNDERSCORE_TITLE_MODE:wL,METHOD_GUARD:CL,END_SAME_AS_BEGIN:kL});function OL(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function RL(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function IL(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=OL,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function ML(e,t){Array.isArray(e.illegal)&&(e.illegal=Sg(...e.illegal))}function LL(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function PL(e,t){e.relevance===void 0&&(e.relevance=1)}const DL=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=Va(n.beforeMatch,g3(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},FL=["of","and","for","in","not","or","if","then","parent","list","value"],BL="keyword";function b3(e,t,n=BL){const r=Object.create(null);return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(a){Object.assign(r,b3(e[a],t,a))}),r;function i(a,s){t&&(s=s.map(o=>o.toLowerCase())),s.forEach(function(o){const l=o.split("|");r[l[0]]=[a,UL(l[0],l[1])]})}}function UL(e,t){return t?Number(t):HL(e)?0:1}function HL(e){return FL.includes(e.toLowerCase())}const s2={},wa=e=>{console.error(e)},o2=(e,...t)=>{console.log(`WARN: ${e}`,...t)},ts=(e,t)=>{s2[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),s2[`${e}/${t}`]=!0)},tf=new Error;function S3(e,t,{key:n}){let r=0;const i=e[n],a={},s={};for(let o=1;o<=t.length;o++)s[o+r]=i[o],a[o+r]=!0,r+=E3(t[o-1]);e[n]=s,e[n]._emit=a,e[n]._multi=!0}function zL(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw wa("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),tf;if(typeof e.beginScope!="object"||e.beginScope===null)throw wa("beginScope must be object"),tf;S3(e,e.begin,{key:"beginScope"}),e.begin=Ag(e.begin,{joinWith:""})}}function jL(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw wa("skip, excludeEnd, returnEnd not compatible with endScope: {}"),tf;if(typeof e.endScope!="object"||e.endScope===null)throw wa("endScope must be object"),tf;S3(e,e.end,{key:"endScope"}),e.end=Ag(e.end,{joinWith:""})}}function $L(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function GL(e){$L(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),zL(e),jL(e)}function VL(e){function t(s,o){return new RegExp(n1(s),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(o?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=E3(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=t(Ag(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const c=l.findIndex((f,d)=>d>0&&f!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new n;return this.rules.slice(o).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(o);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(o)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(s){const o=new r;return s.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),o}function a(s,o){const l=s;if(s.isCompiled)return l;[RL,LL,GL,DL].forEach(u=>u(s,o)),e.compilerExtensions.forEach(u=>u(s,o)),s.__beforeBegin=null,[IL,ML,PL].forEach(u=>u(s,o)),s.isCompiled=!0;let c=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),c=s.keywords.$pattern,delete s.keywords.$pattern),c=c||/\w+/,s.keywords&&(s.keywords=b3(s.keywords,e.case_insensitive)),l.keywordPatternRe=t(c,!0),o&&(s.begin||(s.begin=/\B|\b/),l.beginRe=t(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=t(l.end)),l.terminatorEnd=n1(l.end)||"",s.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+o.terminatorEnd)),s.illegal&&(l.illegalRe=t(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(u){return KL(u==="self"?s:u)})),s.contains.forEach(function(u){a(u,l)}),s.starts&&a(s.starts,o),l.matcher=i(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=wi(e.classNameAliases||{}),a(e)}function A3(e){return e?e.endsWithParent||A3(e.starts):!1}function KL(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return wi(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:A3(e)?wi(e,{starts:e.starts?wi(e.starts):null}):Object.isFrozen(e)?wi(e):e}var WL="11.8.0";class YL extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}}const _h=m3,l2=wi,c2=Symbol("nomatch"),qL=7,x3=function(e){const t=Object.create(null),n=Object.create(null),r=[];let i=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:oL};function l(B){return o.noHighlightRe.test(B)}function c(B){let M=B.className+" ";M+=B.parentNode?B.parentNode.className:"";const H=o.languageDetectRe.exec(M);if(H){const x=I(H[1]);return x||(o2(a.replace("{}",H[1])),o2("Falling back to no-highlight mode for this block.",B)),x?H[1]:"no-highlight"}return M.split(/\s+/).find(x=>l(x)||I(x))}function u(B,M,H){let x="",j="";typeof M=="object"?(x=B,H=M.ignoreIllegals,j=M.language):(ts("10.7.0","highlight(lang, code, ...args) has been deprecated."),ts("10.7.0",`Please use highlight(code, options) instead.
834
+ https://github.com/highlightjs/highlight.js/issues/2277`),j=B,x=M),H===void 0&&(H=!0);const te={code:x,language:j};Y("before:highlight",te);const C=te.result?te.result:f(te.language,te.code,H);return C.code=te.code,Y("after:highlight",C),C}function f(B,M,H,x){const j=Object.create(null);function te(R,F){return R.keywords[F]}function C(){if(!le.keywords){Le.addText(Ne);return}let R=0;le.keywordPatternRe.lastIndex=0;let F=le.keywordPatternRe.exec(Ne),K="";for(;F;){K+=Ne.substring(R,F.index);const re=At.case_insensitive?F[0].toLowerCase():F[0],ue=te(le,re);if(ue){const[tt,tr]=ue;if(Le.addText(K),K="",j[re]=(j[re]||0)+1,j[re]<=qL&&(Sr+=tr),tt.startsWith("_"))K+=F[0];else{const Fn=At.classNameAliases[tt]||tt;se(F[0],Fn)}}else K+=F[0];R=le.keywordPatternRe.lastIndex,F=le.keywordPatternRe.exec(Ne)}K+=Ne.substring(R),Le.addText(K)}function ge(){if(Ne==="")return;let R=null;if(typeof le.subLanguage=="string"){if(!t[le.subLanguage]){Le.addText(Ne);return}R=f(le.subLanguage,Ne,!0,Zt[le.subLanguage]),Zt[le.subLanguage]=R._top}else R=h(Ne,le.subLanguage.length?le.subLanguage:null);le.relevance>0&&(Sr+=R.relevance),Le.__addSublanguage(R._emitter,R.language)}function pe(){le.subLanguage!=null?ge():C(),Ne=""}function se(R,F){R!==""&&(Le.startScope(F),Le.addText(R),Le.endScope())}function je(R,F){let K=1;const re=F.length-1;for(;K<=re;){if(!R._emit[K]){K++;continue}const ue=At.classNameAliases[R[K]]||R[K],tt=F[K];ue?se(tt,ue):(Ne=tt,C(),Ne=""),K++}}function Ve(R,F){return R.scope&&typeof R.scope=="string"&&Le.openNode(At.classNameAliases[R.scope]||R.scope),R.beginScope&&(R.beginScope._wrap?(se(Ne,At.classNameAliases[R.beginScope._wrap]||R.beginScope._wrap),Ne=""):R.beginScope._multi&&(je(R.beginScope,F),Ne="")),le=Object.create(R,{parent:{value:le}}),le}function fe(R,F,K){let re=fL(R.endRe,K);if(re){if(R["on:end"]){const ue=new r2(R);R["on:end"](F,ue),ue.isMatchIgnored&&(re=!1)}if(re){for(;R.endsParent&&R.parent;)R=R.parent;return R}}if(R.endsWithParent)return fe(R.parent,F,K)}function dt(R){return le.matcher.regexIndex===0?(Ne+=R[0],1):(si=!0,0)}function it(R){const F=R[0],K=R.rule,re=new r2(K),ue=[K.__beforeBegin,K["on:begin"]];for(const tt of ue)if(tt&&(tt(R,re),re.isMatchIgnored))return dt(F);return K.skip?Ne+=F:(K.excludeBegin&&(Ne+=F),pe(),!K.returnBegin&&!K.excludeBegin&&(Ne=F)),Ve(K,R),K.returnBegin?0:F.length}function Dn(R){const F=R[0],K=M.substring(R.index),re=fe(le,R,K);if(!re)return c2;const ue=le;le.endScope&&le.endScope._wrap?(pe(),se(F,le.endScope._wrap)):le.endScope&&le.endScope._multi?(pe(),je(le.endScope,R)):ue.skip?Ne+=F:(ue.returnEnd||ue.excludeEnd||(Ne+=F),pe(),ue.excludeEnd&&(Ne=F));do le.scope&&Le.closeNode(),!le.skip&&!le.subLanguage&&(Sr+=le.relevance),le=le.parent;while(le!==re.parent);return re.starts&&Ve(re.starts,R),ue.returnEnd?0:F.length}function br(){const R=[];for(let F=le;F!==At;F=F.parent)F.scope&&R.unshift(F.scope);R.forEach(F=>Le.openNode(F))}let ri={};function Ja(R,F){const K=F&&F[0];if(Ne+=R,K==null)return pe(),0;if(ri.type==="begin"&&F.type==="end"&&ri.index===F.index&&K===""){if(Ne+=M.slice(F.index,F.index+1),!i){const re=new Error(`0 width match regex (${B})`);throw re.languageName=B,re.badRule=ri.rule,re}return 1}if(ri=F,F.type==="begin")return it(F);if(F.type==="illegal"&&!H){const re=new Error('Illegal lexeme "'+K+'" for mode "'+(le.scope||"<unnamed>")+'"');throw re.mode=le,re}else if(F.type==="end"){const re=Dn(F);if(re!==c2)return re}if(F.type==="illegal"&&K==="")return 1;if(ai>1e5&&ai>F.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Ne+=K,K.length}const At=I(B);if(!At)throw wa(a.replace("{}",B)),new Error('Unknown language: "'+B+'"');const na=VL(At);let ii="",le=x||na;const Zt={},Le=new o.__emitter(o);br();let Ne="",Sr=0,Jt=0,ai=0,si=!1;try{if(At.__emitTokens)At.__emitTokens(M,Le);else{for(le.matcher.considerAll();;){ai++,si?si=!1:le.matcher.considerAll(),le.matcher.lastIndex=Jt;const R=le.matcher.exec(M);if(!R)break;const F=M.substring(Jt,R.index),K=Ja(F,R);Jt=R.index+K}Ja(M.substring(Jt))}return Le.finalize(),ii=Le.toHTML(),{language:B,value:ii,relevance:Sr,illegal:!1,_emitter:Le,_top:le}}catch(R){if(R.message&&R.message.includes("Illegal"))return{language:B,value:_h(M),illegal:!0,relevance:0,_illegalBy:{message:R.message,index:Jt,context:M.slice(Jt-100,Jt+100),mode:R.mode,resultSoFar:ii},_emitter:Le};if(i)return{language:B,value:_h(M),illegal:!1,relevance:0,errorRaised:R,_emitter:Le,_top:le};throw R}}function d(B){const M={value:_h(B),illegal:!1,relevance:0,_top:s,_emitter:new o.__emitter(o)};return M._emitter.addText(B),M}function h(B,M){M=M||o.languages||Object.keys(t);const H=d(B),x=M.filter(I).filter(D).map(pe=>f(pe,B,!1));x.unshift(H);const j=x.sort((pe,se)=>{if(pe.relevance!==se.relevance)return se.relevance-pe.relevance;if(pe.language&&se.language){if(I(pe.language).supersetOf===se.language)return 1;if(I(se.language).supersetOf===pe.language)return-1}return 0}),[te,C]=j,ge=te;return ge.secondBest=C,ge}function g(B,M,H){const x=M&&n[M]||H;B.classList.add("hljs"),B.classList.add(`language-${x}`)}function E(B){let M=null;const H=c(B);if(l(H))return;if(Y("before:highlightElement",{el:B,language:H}),B.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(B)),o.throwUnescapedHTML))throw new YL("One of your code blocks includes unescaped HTML.",B.innerHTML);M=B;const x=M.textContent,j=H?u(x,{language:H,ignoreIllegals:!0}):h(x);B.innerHTML=j.value,g(B,H,j.language),B.result={language:j.language,re:j.relevance,relevance:j.relevance},j.secondBest&&(B.secondBest={language:j.secondBest.language,relevance:j.secondBest.relevance}),Y("after:highlightElement",{el:B,result:j,text:x})}function b(B){o=l2(o,B)}const m=()=>{v(),ts("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function T(){v(),ts("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let _=!1;function v(){if(document.readyState==="loading"){_=!0;return}document.querySelectorAll(o.cssSelector).forEach(E)}function N(){_&&v()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",N,!1);function S(B,M){let H=null;try{H=M(e)}catch(x){if(wa("Language definition for '{}' could not be registered.".replace("{}",B)),i)wa(x);else throw x;H=s}H.name||(H.name=B),t[B]=H,H.rawDefinition=M.bind(null,e),H.aliases&&P(H.aliases,{languageName:B})}function A(B){delete t[B];for(const M of Object.keys(n))n[M]===B&&delete n[M]}function k(){return Object.keys(t)}function I(B){return B=(B||"").toLowerCase(),t[B]||t[n[B]]}function P(B,{languageName:M}){typeof B=="string"&&(B=[B]),B.forEach(H=>{n[H.toLowerCase()]=M})}function D(B){const M=I(B);return M&&!M.disableAutodetect}function z(B){B["before:highlightBlock"]&&!B["before:highlightElement"]&&(B["before:highlightElement"]=M=>{B["before:highlightBlock"](Object.assign({block:M.el},M))}),B["after:highlightBlock"]&&!B["after:highlightElement"]&&(B["after:highlightElement"]=M=>{B["after:highlightBlock"](Object.assign({block:M.el},M))})}function X(B){z(B),r.push(B)}function Q(B){const M=r.indexOf(B);M!==-1&&r.splice(M,1)}function Y(B,M){const H=B;r.forEach(function(x){x[H]&&x[H](M)})}function ae(B){return ts("10.7.0","highlightBlock will be removed entirely in v12.0"),ts("10.7.0","Please use highlightElement now."),E(B)}Object.assign(e,{highlight:u,highlightAuto:h,highlightAll:v,highlightElement:E,highlightBlock:ae,configure:b,initHighlighting:m,initHighlightingOnLoad:T,registerLanguage:S,unregisterLanguage:A,listLanguages:k,getLanguage:I,registerAliases:P,autoDetection:D,inherit:l2,addPlugin:X,removePlugin:Q}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=WL,e.regex={concat:Va,lookahead:g3,either:Sg,optional:cL,anyNumberOfTimes:lL};for(const B in Sc)typeof Sc[B]=="object"&&p3(Sc[B]);return Object.assign(e,Sc),e},to=x3({});to.newInstance=()=>x3({});var XL=to;to.HighlightJS=to;to.default=to;const Wn=Zn(XL);var N3={exports:{}};(function(e){(function(){var t;t=e.exports=i,t.format=i,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(i.apply(null,arguments))}function r(a,s){return i.apply(null,[a].concat(s))}function i(a){for(var s=1,o=[].slice.call(arguments),l=0,c=a.length,u="",f,d=!1,h,g,E=!1,b,m=function(){return o[s++]},T=function(){for(var _="";/\d/.test(a[l]);)_+=a[l++],f=a[l];return _.length>0?parseInt(_):null};l<c;++l)if(f=a[l],d)switch(d=!1,f=="."?(E=!1,f=a[++l]):f=="0"&&a[l+1]=="."?(E=!0,l+=2,f=a[l]):E=!0,b=T(),f){case"b":u+=parseInt(m(),10).toString(2);break;case"c":h=m(),typeof h=="string"||h instanceof String?u+=h:u+=String.fromCharCode(parseInt(h,10));break;case"d":u+=parseInt(m(),10);break;case"f":g=String(parseFloat(m()).toFixed(b||6)),u+=E?g:g.replace(/^0/,"");break;case"j":u+=JSON.stringify(m());break;case"o":u+="0"+parseInt(m(),10).toString(8);break;case"s":u+=m();break;case"x":u+="0x"+parseInt(m(),10).toString(16);break;case"X":u+="0x"+parseInt(m(),10).toString(16).toUpperCase();break;default:u+=f;break}else f==="%"?d=!0:u+=f;return u}})()})(N3);var QL=N3.exports;const ZL=Zn(QL),fu=Object.assign(ra(Error),{eval:ra(EvalError),range:ra(RangeError),reference:ra(ReferenceError),syntax:ra(SyntaxError),type:ra(TypeError),uri:ra(URIError)});function ra(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){const i=n&&ZL(n,...r);return new e(i)}}const JL={}.hasOwnProperty,eP="hljs-";function w3(e,t,n={}){let r=n.prefix;if(typeof e!="string")throw fu("Expected `string` for name, got `%s`",e);if(!Wn.getLanguage(e))throw fu("Unknown language: `%s` is not registered",e);if(typeof t!="string")throw fu("Expected `string` for value, got `%s`",t);r==null&&(r=eP),Wn.configure({__emitter:sP,classPrefix:r});const i=Wn.highlight(t,{language:e,ignoreIllegals:!0});if(Wn.configure({}),i.errorRaised)throw i.errorRaised;return i._emitter.root.data.language=i.language,i._emitter.root.data.relevance=i.relevance,i._emitter.root}function tP(e,t={}){const n=t.subset||Wn.listLanguages();t.prefix;let r=-1,i={type:"root",data:{language:null,relevance:0},children:[]};if(typeof e!="string")throw fu("Expected `string` for value, got `%s`",e);for(;++r<n.length;){const a=n[r];if(!Wn.getLanguage(a))continue;const s=w3(a,e,t);s.data.relevance>i.data.relevance&&(i=s)}return i}function nP(e,t){Wn.registerLanguage(e,t)}const rP=function(e,t){if(typeof e=="string")Wn.registerAliases(t,{languageName:e});else{let n;for(n in e)JL.call(e,n)&&Wn.registerAliases(e[n],{languageName:n})}};function iP(e){return!!Wn.getLanguage(e)}function aP(){return Wn.listLanguages()}class sP{constructor(t){this.options=t,this.root={type:"root",data:{language:null,relevance:0},children:[]},this.stack=[this.root]}addText(t){if(t==="")return;const n=this.stack[this.stack.length-1],r=n.children[n.children.length-1];r&&r.type==="text"?r.value+=t:n.children.push({type:"text",value:t})}startScope(t){this.openNode(String(t))}endScope(){this.closeNode()}__addSublanguage(t,n){const r=this.stack[this.stack.length-1],i=t.root.children;n?r.children.push({type:"element",tagName:"span",properties:{className:[n]},children:i}):r.children.push(...i)}openNode(t){const n=t.split(".").map((a,s)=>s?a+"_".repeat(s):this.options.classPrefix+a),r=this.stack[this.stack.length-1],i={type:"element",tagName:"span",properties:{className:n},children:[]};r.children.push(i),this.stack.push(i)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const de={highlight:w3,highlightAuto:tP,registerLanguage:nP,registered:iP,listLanguages:aP,registerAlias:rP};de.registerLanguage("arduino",VI);de.registerLanguage("bash",KI);de.registerLanguage("c",WI);de.registerLanguage("cpp",YI);de.registerLanguage("csharp",qI);de.registerLanguage("css",nM);de.registerLanguage("diff",rM);de.registerLanguage("go",iM);de.registerLanguage("graphql",aM);de.registerLanguage("ini",sM);de.registerLanguage("java",oM);de.registerLanguage("javascript",dM);de.registerLanguage("json",hM);de.registerLanguage("kotlin",mM);de.registerLanguage("less",vM);de.registerLanguage("lua",bM);de.registerLanguage("makefile",SM);de.registerLanguage("markdown",AM);de.registerLanguage("objectivec",xM);de.registerLanguage("perl",NM);de.registerLanguage("php",wM);de.registerLanguage("php-template",CM);de.registerLanguage("plaintext",kM);de.registerLanguage("python",OM);de.registerLanguage("python-repl",RM);de.registerLanguage("r",IM);de.registerLanguage("ruby",MM);de.registerLanguage("rust",LM);de.registerLanguage("scss",zM);de.registerLanguage("shell",jM);de.registerLanguage("sql",$M);de.registerLanguage("swift",QM);de.registerLanguage("typescript",JM);de.registerLanguage("vbnet",eL);de.registerLanguage("wasm",tL);de.registerLanguage("xml",nL);de.registerLanguage("yaml",rL);const Ka=function(e){if(e==null)return Ng;if(typeof e=="string")return lP(e);if(typeof e=="object")return oP(e);if(typeof e=="function")return C3(e);throw new Error("Expected function, string, or array as test")};function oP(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ka(e[n]);return C3(r);function r(...i){let a=-1;for(;++a<t.length;)if(t[a].call(this,...i))return!0;return!1}}function lP(e){return t;function t(n){return Ng(n)&&n.tagName===e}}function C3(e){return t;function t(n,...r){return Ng(n)&&!!e.call(this,n,...r)}}function Ng(e){return!!(e&&typeof e=="object"&&e.type==="element"&&typeof e.tagName=="string")}const u2=function(e,t,n){const r=mg(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t];return null},f2=/\n/g,d2=/[\t ]+/g,kp=Ka("br"),cP=Ka("p"),h2=Ka(["th","td"]),p2=Ka("tr"),uP=Ka(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",pP,mP]),k3=Ka(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function m2(e,t={}){const n="children"in e?e.children:[],r=k3(e),i=I3(e,{whitespace:t.whitespace||"normal",breakBefore:!1,breakAfter:!1}),a=[];(e.type==="text"||e.type==="comment")&&a.push(...R3(e,{whitespace:i,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<n.length;)a.push(...O3(n[s],e,{whitespace:i,breakBefore:s?void 0:r,breakAfter:s<n.length-1?kp(n[s+1]):r}));const o=[];let l;for(s=-1;++s<a.length;){const c=a[s];typeof c=="number"?l!==void 0&&c>l&&(l=c):c&&(l!==void 0&&l>-1&&o.push(`
835
+ `.repeat(l)||" "),l=-1,o.push(c))}return o.join("")}function O3(e,t,n){return e.type==="element"?fP(e,t,n):e.type==="text"?n.whitespace==="normal"?R3(e,n):dP(e):[]}function fP(e,t,n){const r=I3(e,n),i=e.children||[];let a=-1,s=[];if(uP(e))return s;let o,l;for(kp(e)||p2(e)&&u2(t,e,p2)?l=`
836
+ `:cP(e)?(o=2,l=2):k3(e)&&(o=1,l=1);++a<i.length;)s=s.concat(O3(i[a],e,{whitespace:r,breakBefore:a?void 0:o,breakAfter:a<i.length-1?kp(i[a+1]):l}));return h2(e)&&u2(t,e,h2)&&s.push(" "),o&&s.unshift(o),l&&s.push(l),s}function R3(e,t){const n=String(e.value),r=[],i=[];let a=0;for(;a<=n.length;){f2.lastIndex=a;const l=f2.exec(n),c=l&&"index"in l?l.index:n.length;r.push(hP(n.slice(a,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),a===0?t.breakBefore:!0,c===n.length?t.breakAfter:!0)),a=c+1}let s=-1,o;for(;++s<r.length;)r[s].charCodeAt(r[s].length-1)===8203||s<r.length-1&&r[s+1].charCodeAt(0)===8203?(i.push(r[s]),o=void 0):r[s]?(typeof o=="number"&&i.push(o),i.push(r[s]),o=0):(s===0||s===r.length-1)&&i.push(0);return i}function dP(e){return[String(e.value)]}function hP(e,t,n){const r=[];let i=0,a;for(;i<e.length;){d2.lastIndex=i;const s=d2.exec(e);a=s?s.index:e.length,!i&&!a&&s&&!t&&r.push(""),i!==a&&r.push(e.slice(i,a)),i=s?a+s[0].length:a}return i!==a&&!n&&r.push(""),r.join(" ")}function I3(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function pP(e){return!!(e.properties||{}).hidden}function mP(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const gP={}.hasOwnProperty;function EP(e={}){const{aliases:t,languages:n,prefix:r,plainText:i,ignoreMissing:a,subset:s,detect:o}=e;let l="hljs";if(t&&de.registerAlias(t),n){let c;for(c in n)gP.call(n,c)&&de.registerLanguage(c,n[c])}if(r){const c=r.indexOf("-");l=c>-1?r.slice(0,c):r}return(c,u)=>{k1(c,"element",(f,d,h)=>{const g=h;if(!g||!("tagName"in g)||g.tagName!=="pre"||f.tagName!=="code"||!f.properties)return;const E=_P(f);if(E===!1||!E&&!o||E&&i&&i.includes(E))return;Array.isArray(f.properties.className)||(f.properties.className=[]),f.properties.className.includes(l)||f.properties.className.unshift(l);let b;try{b=E?de.highlight(E,m2(g),{prefix:r}):de.highlightAuto(m2(g),{prefix:r,subset:s})}catch(m){const T=m;(!a||!/Unknown language/.test(T.message))&&u.fail(T,f,"rehype-highlight:missing-language");return}!E&&b.data.language&&f.properties.className.push("language-"+b.data.language),Array.isArray(b.children)&&b.children.length>0&&(f.children=b.children)})}}function _P(e){const t=e.properties&&e.properties.className;let n=-1;if(Array.isArray(t))for(;++n<t.length;){const r=String(t[n]);if(r==="no-highlight"||r==="nohighlight")return!1;if(r.slice(0,5)==="lang-")return r.slice(5);if(r.slice(0,9)==="language-")return r.slice(9)}}var Jn={};const TP=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];Jn.REPLACEMENT_CHARACTER="�";Jn.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533};Jn.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]};Jn.isSurrogate=function(e){return e>=55296&&e<=57343};Jn.isSurrogatePair=function(e){return e>=56320&&e<=57343};Jn.getSurrogatePairCodePoint=function(e,t){return(e-55296)*1024+9216+t};Jn.isControlCodePoint=function(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159};Jn.isUndefinedCodePoint=function(e){return e>=64976&&e<=65007||TP.indexOf(e)>-1};var wg={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"};const cs=Jn,Th=wg,ia=cs.CODE_POINTS,yP=65536;let vP=class{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=yP}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.lastCharPos){const n=this.html.charCodeAt(this.pos+1);if(cs.isSurrogatePair(n))return this.pos++,this._addGap(),cs.getSurrogatePairCodePoint(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,ia.EOF;return this._err(Th.surrogateInInputStream),t}dropParsedChunk(){this.pos>this.bufferWaterline&&(this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[])}write(t,n){this.html?this.html+=t:this.html=t,this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,ia.EOF;let t=this.html.charCodeAt(this.pos);return this.skipNextNewLine&&t===ia.LINE_FEED?(this.skipNextNewLine=!1,this._addGap(),this.advance()):t===ia.CARRIAGE_RETURN?(this.skipNextNewLine=!0,ia.LINE_FEED):(this.skipNextNewLine=!1,cs.isSurrogate(t)&&(t=this._processSurrogate(t)),t>31&&t<127||t===ia.LINE_FEED||t===ia.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){cs.isControlCodePoint(t)?this._err(Th.controlCharacterInInputStream):cs.isUndefinedCodePoint(t)&&this._err(Th.noncharacterInInputStream)}retreat(){this.pos===this.lastGapPos&&(this.lastGapPos=this.gapStack.pop(),this.pos--),this.pos--}};var bP=vP,SP=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4e3,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13e3,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204]);const AP=bP,ke=Jn,ya=SP,U=wg,w=ke.CODE_POINTS,aa=ke.CODE_POINT_SEQUENCES,xP={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},M3=1,L3=2,P3=4,NP=M3|L3|P3,Ee="DATA_STATE",us="RCDATA_STATE",Jo="RAWTEXT_STATE",Ir="SCRIPT_DATA_STATE",D3="PLAINTEXT_STATE",g2="TAG_OPEN_STATE",E2="END_TAG_OPEN_STATE",yh="TAG_NAME_STATE",_2="RCDATA_LESS_THAN_SIGN_STATE",T2="RCDATA_END_TAG_OPEN_STATE",y2="RCDATA_END_TAG_NAME_STATE",v2="RAWTEXT_LESS_THAN_SIGN_STATE",b2="RAWTEXT_END_TAG_OPEN_STATE",S2="RAWTEXT_END_TAG_NAME_STATE",A2="SCRIPT_DATA_LESS_THAN_SIGN_STATE",x2="SCRIPT_DATA_END_TAG_OPEN_STATE",N2="SCRIPT_DATA_END_TAG_NAME_STATE",w2="SCRIPT_DATA_ESCAPE_START_STATE",C2="SCRIPT_DATA_ESCAPE_START_DASH_STATE",Un="SCRIPT_DATA_ESCAPED_STATE",k2="SCRIPT_DATA_ESCAPED_DASH_STATE",vh="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",Ac="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE",O2="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE",R2="SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE",I2="SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE",xr="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",M2="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",L2="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",xc="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",P2="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",rr="BEFORE_ATTRIBUTE_NAME_STATE",Nc="ATTRIBUTE_NAME_STATE",bh="AFTER_ATTRIBUTE_NAME_STATE",Sh="BEFORE_ATTRIBUTE_VALUE_STATE",wc="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",Cc="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",kc="ATTRIBUTE_VALUE_UNQUOTED_STATE",Ah="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE",ui="SELF_CLOSING_START_TAG_STATE",Po="BOGUS_COMMENT_STATE",D2="MARKUP_DECLARATION_OPEN_STATE",F2="COMMENT_START_STATE",B2="COMMENT_START_DASH_STATE",fi="COMMENT_STATE",U2="COMMENT_LESS_THAN_SIGN_STATE",H2="COMMENT_LESS_THAN_SIGN_BANG_STATE",z2="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE",j2="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE",Oc="COMMENT_END_DASH_STATE",Rc="COMMENT_END_STATE",$2="COMMENT_END_BANG_STATE",G2="DOCTYPE_STATE",Ic="BEFORE_DOCTYPE_NAME_STATE",Mc="DOCTYPE_NAME_STATE",V2="AFTER_DOCTYPE_NAME_STATE",K2="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE",W2="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE",xh="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE",Nh="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE",wh="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE",Y2="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE",q2="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE",X2="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Do="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE",Fo="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE",Ch="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE",Nr="BOGUS_DOCTYPE_STATE",Lc="CDATA_SECTION_STATE",Q2="CDATA_SECTION_BRACKET_STATE",Z2="CDATA_SECTION_END_STATE",ns="CHARACTER_REFERENCE_STATE",J2="NAMED_CHARACTER_REFERENCE_STATE",e_="AMBIGUOS_AMPERSAND_STATE",t_="NUMERIC_CHARACTER_REFERENCE_STATE",n_="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE",r_="DECIMAL_CHARACTER_REFERENCE_START_STATE",i_="HEXADEMICAL_CHARACTER_REFERENCE_STATE",a_="DECIMAL_CHARACTER_REFERENCE_STATE",Bo="NUMERIC_CHARACTER_REFERENCE_END_STATE";function Pe(e){return e===w.SPACE||e===w.LINE_FEED||e===w.TABULATION||e===w.FORM_FEED}function gl(e){return e>=w.DIGIT_0&&e<=w.DIGIT_9}function Hn(e){return e>=w.LATIN_CAPITAL_A&&e<=w.LATIN_CAPITAL_Z}function fa(e){return e>=w.LATIN_SMALL_A&&e<=w.LATIN_SMALL_Z}function pi(e){return fa(e)||Hn(e)}function kh(e){return pi(e)||gl(e)}function F3(e){return e>=w.LATIN_CAPITAL_A&&e<=w.LATIN_CAPITAL_F}function B3(e){return e>=w.LATIN_SMALL_A&&e<=w.LATIN_SMALL_F}function wP(e){return gl(e)||F3(e)||B3(e)}function du(e){return e+32}function Qe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(e>>>10&1023|55296)+String.fromCharCode(56320|e&1023))}function di(e){return String.fromCharCode(du(e))}function s_(e,t){const n=ya[++e];let r=++e,i=r+n-1;for(;r<=i;){const a=r+i>>>1,s=ya[a];if(s<t)r=a+1;else if(s>t)i=a-1;else return ya[a+n]}return-1}let Pn=class Bt{constructor(){this.preprocessor=new AP,this.tokenQueue=[],this.allowCDATA=!1,this.state=Ee,this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(t){this._consume(),this._err(t),this._unconsume()}getNextToken(){for(;!this.tokenQueue.length&&this.active;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this[this.state](t)}return this.tokenQueue.shift()}write(t,n){this.active=!0,this.preprocessor.write(t,n)}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:Bt.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(t){this.state=t,this._unconsume()}_consumeSequenceIfMatch(t,n,r){let i=0,a=!0;const s=t.length;let o=0,l=n,c;for(;o<s;o++){if(o>0&&(l=this._consume(),i++),l===w.EOF){a=!1;break}if(c=t[o],l!==c&&(r||l!==du(c))){a=!1;break}}if(!a)for(;i--;)this._unconsume();return a}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==aa.SCRIPT_STRING.length)return!1;for(let t=0;t<this.tempBuff.length;t++)if(this.tempBuff[t]!==aa.SCRIPT_STRING[t])return!1;return!0}_createStartTagToken(){this.currentToken={type:Bt.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:Bt.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:Bt.COMMENT_TOKEN,data:""}}_createDoctypeToken(t){this.currentToken={type:Bt.DOCTYPE_TOKEN,name:t,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n}}_createEOFToken(){this.currentToken={type:Bt.EOF_TOKEN}}_createAttr(t){this.currentAttr={name:t,value:""}}_leaveAttrName(t){Bt.getTokenAttr(this.currentToken,this.currentAttr.name)===null?this.currentToken.attrs.push(this.currentAttr):this._err(U.duplicateAttribute),this.state=t}_leaveAttrValue(t){this.state=t}_emitCurrentToken(){this._emitCurrentCharacterToken();const t=this.currentToken;this.currentToken=null,t.type===Bt.START_TAG_TOKEN?this.lastStartTagName=t.tagName:t.type===Bt.END_TAG_TOKEN&&(t.attrs.length>0&&this._err(U.endTagWithAttributes),t.selfClosing&&this._err(U.endTagWithTrailingSolidus)),this.tokenQueue.push(t)}_emitCurrentCharacterToken(){this.currentCharacterToken&&(this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null)}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(t,n){this.currentCharacterToken&&this.currentCharacterToken.type!==t&&this._emitCurrentCharacterToken(),this.currentCharacterToken?this.currentCharacterToken.chars+=n:this._createCharacterToken(t,n)}_emitCodePoint(t){let n=Bt.CHARACTER_TOKEN;Pe(t)?n=Bt.WHITESPACE_CHARACTER_TOKEN:t===w.NULL&&(n=Bt.NULL_CHARACTER_TOKEN),this._appendCharToCurrentCharacterToken(n,Qe(t))}_emitSeveralCodePoints(t){for(let n=0;n<t.length;n++)this._emitCodePoint(t[n])}_emitChars(t){this._appendCharToCurrentCharacterToken(Bt.CHARACTER_TOKEN,t)}_matchNamedCharacterReference(t){let n=null,r=1,i=s_(0,t);for(this.tempBuff.push(t);i>-1;){const a=ya[i],s=a<NP;s&&a&M3&&(n=a&L3?[ya[++i],ya[++i]]:[ya[++i]],r=0);const l=this._consume();if(this.tempBuff.push(l),r++,l===w.EOF)break;s?i=a&P3?s_(i,l):-1:i=l===a?++i:-1}for(;r--;)this.tempBuff.pop(),this._unconsume();return n}_isCharacterReferenceInAttribute(){return this.returnState===wc||this.returnState===Cc||this.returnState===kc}_isCharacterReferenceAttributeQuirk(t){if(!t&&this._isCharacterReferenceInAttribute()){const n=this._consume();return this._unconsume(),n===w.EQUALS_SIGN||kh(n)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let t=0;t<this.tempBuff.length;t++)this.currentAttr.value+=Qe(this.tempBuff[t]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}[Ee](t){this.preprocessor.dropParsedChunk(),t===w.LESS_THAN_SIGN?this.state=g2:t===w.AMPERSAND?(this.returnState=Ee,this.state=ns):t===w.NULL?(this._err(U.unexpectedNullCharacter),this._emitCodePoint(t)):t===w.EOF?this._emitEOFToken():this._emitCodePoint(t)}[us](t){this.preprocessor.dropParsedChunk(),t===w.AMPERSAND?(this.returnState=us,this.state=ns):t===w.LESS_THAN_SIGN?this.state=_2:t===w.NULL?(this._err(U.unexpectedNullCharacter),this._emitChars(ke.REPLACEMENT_CHARACTER)):t===w.EOF?this._emitEOFToken():this._emitCodePoint(t)}[Jo](t){this.preprocessor.dropParsedChunk(),t===w.LESS_THAN_SIGN?this.state=v2:t===w.NULL?(this._err(U.unexpectedNullCharacter),this._emitChars(ke.REPLACEMENT_CHARACTER)):t===w.EOF?this._emitEOFToken():this._emitCodePoint(t)}[Ir](t){this.preprocessor.dropParsedChunk(),t===w.LESS_THAN_SIGN?this.state=A2:t===w.NULL?(this._err(U.unexpectedNullCharacter),this._emitChars(ke.REPLACEMENT_CHARACTER)):t===w.EOF?this._emitEOFToken():this._emitCodePoint(t)}[D3](t){this.preprocessor.dropParsedChunk(),t===w.NULL?(this._err(U.unexpectedNullCharacter),this._emitChars(ke.REPLACEMENT_CHARACTER)):t===w.EOF?this._emitEOFToken():this._emitCodePoint(t)}[g2](t){t===w.EXCLAMATION_MARK?this.state=D2:t===w.SOLIDUS?this.state=E2:pi(t)?(this._createStartTagToken(),this._reconsumeInState(yh)):t===w.QUESTION_MARK?(this._err(U.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState(Po)):t===w.EOF?(this._err(U.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken()):(this._err(U.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState(Ee))}[E2](t){pi(t)?(this._createEndTagToken(),this._reconsumeInState(yh)):t===w.GREATER_THAN_SIGN?(this._err(U.missingEndTagName),this.state=Ee):t===w.EOF?(this._err(U.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken()):(this._err(U.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState(Po))}[yh](t){Pe(t)?this.state=rr:t===w.SOLIDUS?this.state=ui:t===w.GREATER_THAN_SIGN?(this.state=Ee,this._emitCurrentToken()):Hn(t)?this.currentToken.tagName+=di(t):t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentToken.tagName+=ke.REPLACEMENT_CHARACTER):t===w.EOF?(this._err(U.eofInTag),this._emitEOFToken()):this.currentToken.tagName+=Qe(t)}[_2](t){t===w.SOLIDUS?(this.tempBuff=[],this.state=T2):(this._emitChars("<"),this._reconsumeInState(us))}[T2](t){pi(t)?(this._createEndTagToken(),this._reconsumeInState(y2)):(this._emitChars("</"),this._reconsumeInState(us))}[y2](t){if(Hn(t))this.currentToken.tagName+=di(t),this.tempBuff.push(t);else if(fa(t))this.currentToken.tagName+=Qe(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(Pe(t)){this.state=rr;return}if(t===w.SOLIDUS){this.state=ui;return}if(t===w.GREATER_THAN_SIGN){this.state=Ee,this._emitCurrentToken();return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(us)}}[v2](t){t===w.SOLIDUS?(this.tempBuff=[],this.state=b2):(this._emitChars("<"),this._reconsumeInState(Jo))}[b2](t){pi(t)?(this._createEndTagToken(),this._reconsumeInState(S2)):(this._emitChars("</"),this._reconsumeInState(Jo))}[S2](t){if(Hn(t))this.currentToken.tagName+=di(t),this.tempBuff.push(t);else if(fa(t))this.currentToken.tagName+=Qe(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(Pe(t)){this.state=rr;return}if(t===w.SOLIDUS){this.state=ui;return}if(t===w.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=Ee;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(Jo)}}[A2](t){t===w.SOLIDUS?(this.tempBuff=[],this.state=x2):t===w.EXCLAMATION_MARK?(this.state=w2,this._emitChars("<!")):(this._emitChars("<"),this._reconsumeInState(Ir))}[x2](t){pi(t)?(this._createEndTagToken(),this._reconsumeInState(N2)):(this._emitChars("</"),this._reconsumeInState(Ir))}[N2](t){if(Hn(t))this.currentToken.tagName+=di(t),this.tempBuff.push(t);else if(fa(t))this.currentToken.tagName+=Qe(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(Pe(t)){this.state=rr;return}else if(t===w.SOLIDUS){this.state=ui;return}else if(t===w.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=Ee;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(Ir)}}[w2](t){t===w.HYPHEN_MINUS?(this.state=C2,this._emitChars("-")):this._reconsumeInState(Ir)}[C2](t){t===w.HYPHEN_MINUS?(this.state=vh,this._emitChars("-")):this._reconsumeInState(Ir)}[Un](t){t===w.HYPHEN_MINUS?(this.state=k2,this._emitChars("-")):t===w.LESS_THAN_SIGN?this.state=Ac:t===w.NULL?(this._err(U.unexpectedNullCharacter),this._emitChars(ke.REPLACEMENT_CHARACTER)):t===w.EOF?(this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(t)}[k2](t){t===w.HYPHEN_MINUS?(this.state=vh,this._emitChars("-")):t===w.LESS_THAN_SIGN?this.state=Ac:t===w.NULL?(this._err(U.unexpectedNullCharacter),this.state=Un,this._emitChars(ke.REPLACEMENT_CHARACTER)):t===w.EOF?(this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Un,this._emitCodePoint(t))}[vh](t){t===w.HYPHEN_MINUS?this._emitChars("-"):t===w.LESS_THAN_SIGN?this.state=Ac:t===w.GREATER_THAN_SIGN?(this.state=Ir,this._emitChars(">")):t===w.NULL?(this._err(U.unexpectedNullCharacter),this.state=Un,this._emitChars(ke.REPLACEMENT_CHARACTER)):t===w.EOF?(this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=Un,this._emitCodePoint(t))}[Ac](t){t===w.SOLIDUS?(this.tempBuff=[],this.state=O2):pi(t)?(this.tempBuff=[],this._emitChars("<"),this._reconsumeInState(I2)):(this._emitChars("<"),this._reconsumeInState(Un))}[O2](t){pi(t)?(this._createEndTagToken(),this._reconsumeInState(R2)):(this._emitChars("</"),this._reconsumeInState(Un))}[R2](t){if(Hn(t))this.currentToken.tagName+=di(t),this.tempBuff.push(t);else if(fa(t))this.currentToken.tagName+=Qe(t),this.tempBuff.push(t);else{if(this.lastStartTagName===this.currentToken.tagName){if(Pe(t)){this.state=rr;return}if(t===w.SOLIDUS){this.state=ui;return}if(t===w.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state=Ee;return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState(Un)}}[I2](t){Pe(t)||t===w.SOLIDUS||t===w.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?xr:Un,this._emitCodePoint(t)):Hn(t)?(this.tempBuff.push(du(t)),this._emitCodePoint(t)):fa(t)?(this.tempBuff.push(t),this._emitCodePoint(t)):this._reconsumeInState(Un)}[xr](t){t===w.HYPHEN_MINUS?(this.state=M2,this._emitChars("-")):t===w.LESS_THAN_SIGN?(this.state=xc,this._emitChars("<")):t===w.NULL?(this._err(U.unexpectedNullCharacter),this._emitChars(ke.REPLACEMENT_CHARACTER)):t===w.EOF?(this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):this._emitCodePoint(t)}[M2](t){t===w.HYPHEN_MINUS?(this.state=L2,this._emitChars("-")):t===w.LESS_THAN_SIGN?(this.state=xc,this._emitChars("<")):t===w.NULL?(this._err(U.unexpectedNullCharacter),this.state=xr,this._emitChars(ke.REPLACEMENT_CHARACTER)):t===w.EOF?(this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=xr,this._emitCodePoint(t))}[L2](t){t===w.HYPHEN_MINUS?this._emitChars("-"):t===w.LESS_THAN_SIGN?(this.state=xc,this._emitChars("<")):t===w.GREATER_THAN_SIGN?(this.state=Ir,this._emitChars(">")):t===w.NULL?(this._err(U.unexpectedNullCharacter),this.state=xr,this._emitChars(ke.REPLACEMENT_CHARACTER)):t===w.EOF?(this._err(U.eofInScriptHtmlCommentLikeText),this._emitEOFToken()):(this.state=xr,this._emitCodePoint(t))}[xc](t){t===w.SOLIDUS?(this.tempBuff=[],this.state=P2,this._emitChars("/")):this._reconsumeInState(xr)}[P2](t){Pe(t)||t===w.SOLIDUS||t===w.GREATER_THAN_SIGN?(this.state=this._isTempBufferEqualToScriptString()?Un:xr,this._emitCodePoint(t)):Hn(t)?(this.tempBuff.push(du(t)),this._emitCodePoint(t)):fa(t)?(this.tempBuff.push(t),this._emitCodePoint(t)):this._reconsumeInState(xr)}[rr](t){Pe(t)||(t===w.SOLIDUS||t===w.GREATER_THAN_SIGN||t===w.EOF?this._reconsumeInState(bh):t===w.EQUALS_SIGN?(this._err(U.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Nc):(this._createAttr(""),this._reconsumeInState(Nc)))}[Nc](t){Pe(t)||t===w.SOLIDUS||t===w.GREATER_THAN_SIGN||t===w.EOF?(this._leaveAttrName(bh),this._unconsume()):t===w.EQUALS_SIGN?this._leaveAttrName(Sh):Hn(t)?this.currentAttr.name+=di(t):t===w.QUOTATION_MARK||t===w.APOSTROPHE||t===w.LESS_THAN_SIGN?(this._err(U.unexpectedCharacterInAttributeName),this.currentAttr.name+=Qe(t)):t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentAttr.name+=ke.REPLACEMENT_CHARACTER):this.currentAttr.name+=Qe(t)}[bh](t){Pe(t)||(t===w.SOLIDUS?this.state=ui:t===w.EQUALS_SIGN?this.state=Sh:t===w.GREATER_THAN_SIGN?(this.state=Ee,this._emitCurrentToken()):t===w.EOF?(this._err(U.eofInTag),this._emitEOFToken()):(this._createAttr(""),this._reconsumeInState(Nc)))}[Sh](t){Pe(t)||(t===w.QUOTATION_MARK?this.state=wc:t===w.APOSTROPHE?this.state=Cc:t===w.GREATER_THAN_SIGN?(this._err(U.missingAttributeValue),this.state=Ee,this._emitCurrentToken()):this._reconsumeInState(kc))}[wc](t){t===w.QUOTATION_MARK?this.state=Ah:t===w.AMPERSAND?(this.returnState=wc,this.state=ns):t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentAttr.value+=ke.REPLACEMENT_CHARACTER):t===w.EOF?(this._err(U.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Qe(t)}[Cc](t){t===w.APOSTROPHE?this.state=Ah:t===w.AMPERSAND?(this.returnState=Cc,this.state=ns):t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentAttr.value+=ke.REPLACEMENT_CHARACTER):t===w.EOF?(this._err(U.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Qe(t)}[kc](t){Pe(t)?this._leaveAttrValue(rr):t===w.AMPERSAND?(this.returnState=kc,this.state=ns):t===w.GREATER_THAN_SIGN?(this._leaveAttrValue(Ee),this._emitCurrentToken()):t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentAttr.value+=ke.REPLACEMENT_CHARACTER):t===w.QUOTATION_MARK||t===w.APOSTROPHE||t===w.LESS_THAN_SIGN||t===w.EQUALS_SIGN||t===w.GRAVE_ACCENT?(this._err(U.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=Qe(t)):t===w.EOF?(this._err(U.eofInTag),this._emitEOFToken()):this.currentAttr.value+=Qe(t)}[Ah](t){Pe(t)?this._leaveAttrValue(rr):t===w.SOLIDUS?this._leaveAttrValue(ui):t===w.GREATER_THAN_SIGN?(this._leaveAttrValue(Ee),this._emitCurrentToken()):t===w.EOF?(this._err(U.eofInTag),this._emitEOFToken()):(this._err(U.missingWhitespaceBetweenAttributes),this._reconsumeInState(rr))}[ui](t){t===w.GREATER_THAN_SIGN?(this.currentToken.selfClosing=!0,this.state=Ee,this._emitCurrentToken()):t===w.EOF?(this._err(U.eofInTag),this._emitEOFToken()):(this._err(U.unexpectedSolidusInTag),this._reconsumeInState(rr))}[Po](t){t===w.GREATER_THAN_SIGN?(this.state=Ee,this._emitCurrentToken()):t===w.EOF?(this._emitCurrentToken(),this._emitEOFToken()):t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentToken.data+=ke.REPLACEMENT_CHARACTER):this.currentToken.data+=Qe(t)}[D2](t){this._consumeSequenceIfMatch(aa.DASH_DASH_STRING,t,!0)?(this._createCommentToken(),this.state=F2):this._consumeSequenceIfMatch(aa.DOCTYPE_STRING,t,!1)?this.state=G2:this._consumeSequenceIfMatch(aa.CDATA_START_STRING,t,!0)?this.allowCDATA?this.state=Lc:(this._err(U.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state=Po):this._ensureHibernation()||(this._err(U.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState(Po))}[F2](t){t===w.HYPHEN_MINUS?this.state=B2:t===w.GREATER_THAN_SIGN?(this._err(U.abruptClosingOfEmptyComment),this.state=Ee,this._emitCurrentToken()):this._reconsumeInState(fi)}[B2](t){t===w.HYPHEN_MINUS?this.state=Rc:t===w.GREATER_THAN_SIGN?(this._err(U.abruptClosingOfEmptyComment),this.state=Ee,this._emitCurrentToken()):t===w.EOF?(this._err(U.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(fi))}[fi](t){t===w.HYPHEN_MINUS?this.state=Oc:t===w.LESS_THAN_SIGN?(this.currentToken.data+="<",this.state=U2):t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentToken.data+=ke.REPLACEMENT_CHARACTER):t===w.EOF?(this._err(U.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.data+=Qe(t)}[U2](t){t===w.EXCLAMATION_MARK?(this.currentToken.data+="!",this.state=H2):t===w.LESS_THAN_SIGN?this.currentToken.data+="!":this._reconsumeInState(fi)}[H2](t){t===w.HYPHEN_MINUS?this.state=z2:this._reconsumeInState(fi)}[z2](t){t===w.HYPHEN_MINUS?this.state=j2:this._reconsumeInState(Oc)}[j2](t){t!==w.GREATER_THAN_SIGN&&t!==w.EOF&&this._err(U.nestedComment),this._reconsumeInState(Rc)}[Oc](t){t===w.HYPHEN_MINUS?this.state=Rc:t===w.EOF?(this._err(U.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="-",this._reconsumeInState(fi))}[Rc](t){t===w.GREATER_THAN_SIGN?(this.state=Ee,this._emitCurrentToken()):t===w.EXCLAMATION_MARK?this.state=$2:t===w.HYPHEN_MINUS?this.currentToken.data+="-":t===w.EOF?(this._err(U.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--",this._reconsumeInState(fi))}[$2](t){t===w.HYPHEN_MINUS?(this.currentToken.data+="--!",this.state=Oc):t===w.GREATER_THAN_SIGN?(this._err(U.incorrectlyClosedComment),this.state=Ee,this._emitCurrentToken()):t===w.EOF?(this._err(U.eofInComment),this._emitCurrentToken(),this._emitEOFToken()):(this.currentToken.data+="--!",this._reconsumeInState(fi))}[G2](t){Pe(t)?this.state=Ic:t===w.GREATER_THAN_SIGN?this._reconsumeInState(Ic):t===w.EOF?(this._err(U.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(U.missingWhitespaceBeforeDoctypeName),this._reconsumeInState(Ic))}[Ic](t){Pe(t)||(Hn(t)?(this._createDoctypeToken(di(t)),this.state=Mc):t===w.NULL?(this._err(U.unexpectedNullCharacter),this._createDoctypeToken(ke.REPLACEMENT_CHARACTER),this.state=Mc):t===w.GREATER_THAN_SIGN?(this._err(U.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Ee):t===w.EOF?(this._err(U.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._createDoctypeToken(Qe(t)),this.state=Mc))}[Mc](t){Pe(t)?this.state=V2:t===w.GREATER_THAN_SIGN?(this.state=Ee,this._emitCurrentToken()):Hn(t)?this.currentToken.name+=di(t):t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentToken.name+=ke.REPLACEMENT_CHARACTER):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.name+=Qe(t)}[V2](t){Pe(t)||(t===w.GREATER_THAN_SIGN?(this.state=Ee,this._emitCurrentToken()):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this._consumeSequenceIfMatch(aa.PUBLIC_STRING,t,!1)?this.state=K2:this._consumeSequenceIfMatch(aa.SYSTEM_STRING,t,!1)?this.state=q2:this._ensureHibernation()||(this._err(U.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState(Nr)))}[K2](t){Pe(t)?this.state=W2:t===w.QUOTATION_MARK?(this._err(U.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=xh):t===w.APOSTROPHE?(this._err(U.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state=Nh):t===w.GREATER_THAN_SIGN?(this._err(U.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=Ee,this._emitCurrentToken()):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(U.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Nr))}[W2](t){Pe(t)||(t===w.QUOTATION_MARK?(this.currentToken.publicId="",this.state=xh):t===w.APOSTROPHE?(this.currentToken.publicId="",this.state=Nh):t===w.GREATER_THAN_SIGN?(this._err(U.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state=Ee,this._emitCurrentToken()):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(U.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Nr)))}[xh](t){t===w.QUOTATION_MARK?this.state=wh:t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentToken.publicId+=ke.REPLACEMENT_CHARACTER):t===w.GREATER_THAN_SIGN?(this._err(U.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Ee):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=Qe(t)}[Nh](t){t===w.APOSTROPHE?this.state=wh:t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentToken.publicId+=ke.REPLACEMENT_CHARACTER):t===w.GREATER_THAN_SIGN?(this._err(U.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Ee):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.publicId+=Qe(t)}[wh](t){Pe(t)?this.state=Y2:t===w.GREATER_THAN_SIGN?(this.state=Ee,this._emitCurrentToken()):t===w.QUOTATION_MARK?(this._err(U.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Do):t===w.APOSTROPHE?(this._err(U.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state=Fo):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Nr))}[Y2](t){Pe(t)||(t===w.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Ee):t===w.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Do):t===w.APOSTROPHE?(this.currentToken.systemId="",this.state=Fo):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Nr)))}[q2](t){Pe(t)?this.state=X2:t===w.QUOTATION_MARK?(this._err(U.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Do):t===w.APOSTROPHE?(this._err(U.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state=Fo):t===w.GREATER_THAN_SIGN?(this._err(U.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=Ee,this._emitCurrentToken()):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Nr))}[X2](t){Pe(t)||(t===w.QUOTATION_MARK?(this.currentToken.systemId="",this.state=Do):t===w.APOSTROPHE?(this.currentToken.systemId="",this.state=Fo):t===w.GREATER_THAN_SIGN?(this._err(U.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state=Ee,this._emitCurrentToken()):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(U.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState(Nr)))}[Do](t){t===w.QUOTATION_MARK?this.state=Ch:t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentToken.systemId+=ke.REPLACEMENT_CHARACTER):t===w.GREATER_THAN_SIGN?(this._err(U.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Ee):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=Qe(t)}[Fo](t){t===w.APOSTROPHE?this.state=Ch:t===w.NULL?(this._err(U.unexpectedNullCharacter),this.currentToken.systemId+=ke.REPLACEMENT_CHARACTER):t===w.GREATER_THAN_SIGN?(this._err(U.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state=Ee):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):this.currentToken.systemId+=Qe(t)}[Ch](t){Pe(t)||(t===w.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Ee):t===w.EOF?(this._err(U.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken()):(this._err(U.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState(Nr)))}[Nr](t){t===w.GREATER_THAN_SIGN?(this._emitCurrentToken(),this.state=Ee):t===w.NULL?this._err(U.unexpectedNullCharacter):t===w.EOF&&(this._emitCurrentToken(),this._emitEOFToken())}[Lc](t){t===w.RIGHT_SQUARE_BRACKET?this.state=Q2:t===w.EOF?(this._err(U.eofInCdata),this._emitEOFToken()):this._emitCodePoint(t)}[Q2](t){t===w.RIGHT_SQUARE_BRACKET?this.state=Z2:(this._emitChars("]"),this._reconsumeInState(Lc))}[Z2](t){t===w.GREATER_THAN_SIGN?this.state=Ee:t===w.RIGHT_SQUARE_BRACKET?this._emitChars("]"):(this._emitChars("]]"),this._reconsumeInState(Lc))}[ns](t){this.tempBuff=[w.AMPERSAND],t===w.NUMBER_SIGN?(this.tempBuff.push(t),this.state=t_):kh(t)?this._reconsumeInState(J2):(this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[J2](t){const n=this._matchNamedCharacterReference(t);if(this._ensureHibernation())this.tempBuff=[w.AMPERSAND];else if(n){const r=this.tempBuff[this.tempBuff.length-1]===w.SEMICOLON;this._isCharacterReferenceAttributeQuirk(r)||(r||this._errOnNextCodePoint(U.missingSemicolonAfterCharacterReference),this.tempBuff=n),this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state=e_}[e_](t){kh(t)?this._isCharacterReferenceInAttribute()?this.currentAttr.value+=Qe(t):this._emitCodePoint(t):(t===w.SEMICOLON&&this._err(U.unknownNamedCharacterReference),this._reconsumeInState(this.returnState))}[t_](t){this.charRefCode=0,t===w.LATIN_SMALL_X||t===w.LATIN_CAPITAL_X?(this.tempBuff.push(t),this.state=n_):this._reconsumeInState(r_)}[n_](t){wP(t)?this._reconsumeInState(i_):(this._err(U.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[r_](t){gl(t)?this._reconsumeInState(a_):(this._err(U.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState))}[i_](t){F3(t)?this.charRefCode=this.charRefCode*16+t-55:B3(t)?this.charRefCode=this.charRefCode*16+t-87:gl(t)?this.charRefCode=this.charRefCode*16+t-48:t===w.SEMICOLON?this.state=Bo:(this._err(U.missingSemicolonAfterCharacterReference),this._reconsumeInState(Bo))}[a_](t){gl(t)?this.charRefCode=this.charRefCode*10+t-48:t===w.SEMICOLON?this.state=Bo:(this._err(U.missingSemicolonAfterCharacterReference),this._reconsumeInState(Bo))}[Bo](){if(this.charRefCode===w.NULL)this._err(U.nullCharacterReference),this.charRefCode=w.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(U.characterReferenceOutsideUnicodeRange),this.charRefCode=w.REPLACEMENT_CHARACTER;else if(ke.isSurrogate(this.charRefCode))this._err(U.surrogateCharacterReference),this.charRefCode=w.REPLACEMENT_CHARACTER;else if(ke.isUndefinedCodePoint(this.charRefCode))this._err(U.noncharacterCharacterReference);else if(ke.isControlCodePoint(this.charRefCode)||this.charRefCode===w.CARRIAGE_RETURN){this._err(U.controlCharacterReference);const t=xP[this.charRefCode];t&&(this.charRefCode=t)}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}};Pn.CHARACTER_TOKEN="CHARACTER_TOKEN";Pn.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN";Pn.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN";Pn.START_TAG_TOKEN="START_TAG_TOKEN";Pn.END_TAG_TOKEN="END_TAG_TOKEN";Pn.COMMENT_TOKEN="COMMENT_TOKEN";Pn.DOCTYPE_TOKEN="DOCTYPE_TOKEN";Pn.EOF_TOKEN="EOF_TOKEN";Pn.HIBERNATION_TOKEN="HIBERNATION_TOKEN";Pn.MODE={DATA:Ee,RCDATA:us,RAWTEXT:Jo,SCRIPT_DATA:Ir,PLAINTEXT:D3};Pn.getTokenAttr=function(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null};var ad=Pn,er={};const Oh=er.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};er.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"};er.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};const V=er.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};er.SPECIAL_ELEMENTS={[Oh.HTML]:{[V.ADDRESS]:!0,[V.APPLET]:!0,[V.AREA]:!0,[V.ARTICLE]:!0,[V.ASIDE]:!0,[V.BASE]:!0,[V.BASEFONT]:!0,[V.BGSOUND]:!0,[V.BLOCKQUOTE]:!0,[V.BODY]:!0,[V.BR]:!0,[V.BUTTON]:!0,[V.CAPTION]:!0,[V.CENTER]:!0,[V.COL]:!0,[V.COLGROUP]:!0,[V.DD]:!0,[V.DETAILS]:!0,[V.DIR]:!0,[V.DIV]:!0,[V.DL]:!0,[V.DT]:!0,[V.EMBED]:!0,[V.FIELDSET]:!0,[V.FIGCAPTION]:!0,[V.FIGURE]:!0,[V.FOOTER]:!0,[V.FORM]:!0,[V.FRAME]:!0,[V.FRAMESET]:!0,[V.H1]:!0,[V.H2]:!0,[V.H3]:!0,[V.H4]:!0,[V.H5]:!0,[V.H6]:!0,[V.HEAD]:!0,[V.HEADER]:!0,[V.HGROUP]:!0,[V.HR]:!0,[V.HTML]:!0,[V.IFRAME]:!0,[V.IMG]:!0,[V.INPUT]:!0,[V.LI]:!0,[V.LINK]:!0,[V.LISTING]:!0,[V.MAIN]:!0,[V.MARQUEE]:!0,[V.MENU]:!0,[V.META]:!0,[V.NAV]:!0,[V.NOEMBED]:!0,[V.NOFRAMES]:!0,[V.NOSCRIPT]:!0,[V.OBJECT]:!0,[V.OL]:!0,[V.P]:!0,[V.PARAM]:!0,[V.PLAINTEXT]:!0,[V.PRE]:!0,[V.SCRIPT]:!0,[V.SECTION]:!0,[V.SELECT]:!0,[V.SOURCE]:!0,[V.STYLE]:!0,[V.SUMMARY]:!0,[V.TABLE]:!0,[V.TBODY]:!0,[V.TD]:!0,[V.TEMPLATE]:!0,[V.TEXTAREA]:!0,[V.TFOOT]:!0,[V.TH]:!0,[V.THEAD]:!0,[V.TITLE]:!0,[V.TR]:!0,[V.TRACK]:!0,[V.UL]:!0,[V.WBR]:!0,[V.XMP]:!0},[Oh.MATHML]:{[V.MI]:!0,[V.MO]:!0,[V.MN]:!0,[V.MS]:!0,[V.MTEXT]:!0,[V.ANNOTATION_XML]:!0},[Oh.SVG]:{[V.TITLE]:!0,[V.FOREIGN_OBJECT]:!0,[V.DESC]:!0}};const U3=er,W=U3.TAG_NAMES,Oe=U3.NAMESPACES;function o_(e){switch(e.length){case 1:return e===W.P;case 2:return e===W.RB||e===W.RP||e===W.RT||e===W.DD||e===W.DT||e===W.LI;case 3:return e===W.RTC;case 6:return e===W.OPTION;case 8:return e===W.OPTGROUP}return!1}function CP(e){switch(e.length){case 1:return e===W.P;case 2:return e===W.RB||e===W.RP||e===W.RT||e===W.DD||e===W.DT||e===W.LI||e===W.TD||e===W.TH||e===W.TR;case 3:return e===W.RTC;case 5:return e===W.TBODY||e===W.TFOOT||e===W.THEAD;case 6:return e===W.OPTION;case 7:return e===W.CAPTION;case 8:return e===W.OPTGROUP||e===W.COLGROUP}return!1}function Pc(e,t){switch(e.length){case 2:if(e===W.TD||e===W.TH)return t===Oe.HTML;if(e===W.MI||e===W.MO||e===W.MN||e===W.MS)return t===Oe.MATHML;break;case 4:if(e===W.HTML)return t===Oe.HTML;if(e===W.DESC)return t===Oe.SVG;break;case 5:if(e===W.TABLE)return t===Oe.HTML;if(e===W.MTEXT)return t===Oe.MATHML;if(e===W.TITLE)return t===Oe.SVG;break;case 6:return(e===W.APPLET||e===W.OBJECT)&&t===Oe.HTML;case 7:return(e===W.CAPTION||e===W.MARQUEE)&&t===Oe.HTML;case 8:return e===W.TEMPLATE&&t===Oe.HTML;case 13:return e===W.FOREIGN_OBJECT&&t===Oe.SVG;case 14:return e===W.ANNOTATION_XML&&t===Oe.MATHML}return!1}let kP=class{constructor(t,n){this.stackTop=-1,this.items=[],this.current=t,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=n}_indexOf(t){let n=-1;for(let r=this.stackTop;r>=0;r--)if(this.items[r]===t){n=r;break}return n}_isInTemplate(){return this.currentTagName===W.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Oe.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(t){this.items[++this.stackTop]=t,this._updateCurrentElement(),this._isInTemplate()&&this.tmplCount++}pop(){this.stackTop--,this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this._updateCurrentElement()}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&this._updateCurrentElement()}insertAfter(t,n){const r=this._indexOf(t)+1;this.items.splice(r,0,n),r===++this.stackTop&&this._updateCurrentElement()}popUntilTagNamePopped(t){for(;this.stackTop>-1;){const n=this.currentTagName,r=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),n===t&&r===Oe.HTML)break}}popUntilElementPopped(t){for(;this.stackTop>-1;){const n=this.current;if(this.pop(),n===t)break}}popUntilNumberedHeaderPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===W.H1||t===W.H2||t===W.H3||t===W.H4||t===W.H5||t===W.H6&&n===Oe.HTML)break}}popUntilTableCellPopped(){for(;this.stackTop>-1;){const t=this.currentTagName,n=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),t===W.TD||t===W.TH&&n===Oe.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){for(;this.currentTagName!==W.TABLE&&this.currentTagName!==W.TEMPLATE&&this.currentTagName!==W.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Oe.HTML;)this.pop()}clearBackToTableBodyContext(){for(;this.currentTagName!==W.TBODY&&this.currentTagName!==W.TFOOT&&this.currentTagName!==W.THEAD&&this.currentTagName!==W.TEMPLATE&&this.currentTagName!==W.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Oe.HTML;)this.pop()}clearBackToTableRowContext(){for(;this.currentTagName!==W.TR&&this.currentTagName!==W.TEMPLATE&&this.currentTagName!==W.HTML||this.treeAdapter.getNamespaceURI(this.current)!==Oe.HTML;)this.pop()}remove(t){for(let n=this.stackTop;n>=0;n--)if(this.items[n]===t){this.items.splice(n,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){const t=this.items[1];return t&&this.treeAdapter.getTagName(t)===W.BODY?t:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){let n=this._indexOf(t);return--n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===W.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Oe.HTML)return!0;if(Pc(r,i))return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]),r=this.treeAdapter.getNamespaceURI(this.items[t]);if((n===W.H1||n===W.H2||n===W.H3||n===W.H4||n===W.H5||n===W.H6)&&r===Oe.HTML)return!0;if(Pc(n,r))return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Oe.HTML)return!0;if((r===W.UL||r===W.OL)&&i===Oe.HTML||Pc(r,i))return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]),i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===Oe.HTML)return!0;if(r===W.BUTTON&&i===Oe.HTML||Pc(r,i))return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===Oe.HTML){if(r===t)return!0;if(r===W.TABLE||r===W.TEMPLATE||r===W.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.treeAdapter.getTagName(this.items[t]);if(this.treeAdapter.getNamespaceURI(this.items[t])===Oe.HTML){if(n===W.TBODY||n===W.THEAD||n===W.TFOOT)return!0;if(n===W.TABLE||n===W.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.treeAdapter.getTagName(this.items[n]);if(this.treeAdapter.getNamespaceURI(this.items[n])===Oe.HTML){if(r===t)return!0;if(r!==W.OPTION&&r!==W.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;o_(this.currentTagName);)this.pop()}generateImpliedEndTagsThoroughly(){for(;CP(this.currentTagName);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;o_(this.currentTagName)&&this.currentTagName!==t;)this.pop()}};var OP=kP;const Dc=3;let Cg=class mi{constructor(t){this.length=0,this.entries=[],this.treeAdapter=t,this.bookmark=null}_getNoahArkConditionCandidates(t){const n=[];if(this.length>=Dc){const r=this.treeAdapter.getAttrList(t).length,i=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let s=this.length-1;s>=0;s--){const o=this.entries[s];if(o.type===mi.MARKER_ENTRY)break;const l=o.element,c=this.treeAdapter.getAttrList(l);this.treeAdapter.getTagName(l)===i&&this.treeAdapter.getNamespaceURI(l)===a&&c.length===r&&n.push({idx:s,attrs:c})}}return n.length<Dc?[]:n}_ensureNoahArkCondition(t){const n=this._getNoahArkConditionCandidates(t);let r=n.length;if(r){const i=this.treeAdapter.getAttrList(t),a=i.length,s=Object.create(null);for(let o=0;o<a;o++){const l=i[o];s[l.name]=l.value}for(let o=0;o<a;o++)for(let l=0;l<r;l++){const c=n[l].attrs[o];if(s[c.name]!==c.value&&(n.splice(l,1),r--),n.length<Dc)return}for(let o=r-1;o>=Dc-1;o--)this.entries.splice(n[o].idx,1),this.length--}}insertMarker(){this.entries.push({type:mi.MARKER_ENTRY}),this.length++}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.push({type:mi.ELEMENT_ENTRY,element:t,token:n}),this.length++}insertElementAfterBookmark(t,n){let r=this.length-1;for(;r>=0&&this.entries[r]!==this.bookmark;r--);this.entries.splice(r+1,0,{type:mi.ELEMENT_ENTRY,element:t,token:n}),this.length++}removeEntry(t){for(let n=this.length-1;n>=0;n--)if(this.entries[n]===t){this.entries.splice(n,1),this.length--;break}}clearToLastMarker(){for(;this.length;){const t=this.entries.pop();if(this.length--,t.type===mi.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===mi.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(r.element)===t)return r}return null}getElementEntry(t){for(let n=this.length-1;n>=0;n--){const r=this.entries[n];if(r.type===mi.ELEMENT_ENTRY&&r.element===t)return r}return null}};Cg.MARKER_ENTRY="MARKER_ENTRY";Cg.ELEMENT_ENTRY="ELEMENT_ENTRY";var RP=Cg;let H3=class{constructor(t){const n={},r=this._getOverriddenMethods(this,n);for(const i of Object.keys(r))typeof r[i]=="function"&&(n[i]=t[i],t[i]=r[i])}_getOverriddenMethods(){throw new Error("Not implemented")}};H3.install=function(e,t,n){e.__mixins||(e.__mixins=[]);for(let i=0;i<e.__mixins.length;i++)if(e.__mixins[i].constructor===t)return e.__mixins[i];const r=new t(e,n);return e.__mixins.push(r),r};var ni=H3;const IP=ni;let MP=class extends IP{constructor(t){super(t),this.preprocessor=t,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(t,n){return{advance(){const r=this.pos+1,i=this.html[r];return t.isEol&&(t.isEol=!1,t.line++,t.lineStartPos=r),(i===`
837
+ `||i==="\r"&&this.html[r+1]!==`
838
+ `)&&(t.isEol=!0),t.col=r-t.lineStartPos+1,t.offset=t.droppedBufferSize+r,n.advance.call(this)},retreat(){n.retreat.call(this),t.isEol=!1,t.col=this.pos-t.lineStartPos+1},dropParsedChunk(){const r=this.pos;n.dropParsedChunk.call(this);const i=r-this.pos;t.lineStartPos-=i,t.droppedBufferSize+=i,t.offset=t.droppedBufferSize+this.pos}}}};var z3=MP;const l_=ni,Rh=ad,LP=z3;let PP=class extends l_{constructor(t){super(t),this.tokenizer=t,this.posTracker=l_.install(t.preprocessor,LP),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;const t=this.tokenizer.currentToken,n=this.tokenizer.currentAttr;t.location.attrs||(t.location.attrs=Object.create(null)),t.location.attrs[n.name]=this.currentAttrLocation}_getOverriddenMethods(t,n){const r={_createStartTagToken(){n._createStartTagToken.call(this),this.currentToken.location=t.ctLoc},_createEndTagToken(){n._createEndTagToken.call(this),this.currentToken.location=t.ctLoc},_createCommentToken(){n._createCommentToken.call(this),this.currentToken.location=t.ctLoc},_createDoctypeToken(i){n._createDoctypeToken.call(this,i),this.currentToken.location=t.ctLoc},_createCharacterToken(i,a){n._createCharacterToken.call(this,i,a),this.currentCharacterToken.location=t.ctLoc},_createEOFToken(){n._createEOFToken.call(this),this.currentToken.location=t._getCurrentLocation()},_createAttr(i){n._createAttr.call(this,i),t.currentAttrLocation=t._getCurrentLocation()},_leaveAttrName(i){n._leaveAttrName.call(this,i),t._attachCurrentAttrLocationInfo()},_leaveAttrValue(i){n._leaveAttrValue.call(this,i),t._attachCurrentAttrLocationInfo()},_emitCurrentToken(){const i=this.currentToken.location;this.currentCharacterToken&&(this.currentCharacterToken.location.endLine=i.startLine,this.currentCharacterToken.location.endCol=i.startCol,this.currentCharacterToken.location.endOffset=i.startOffset),this.currentToken.type===Rh.EOF_TOKEN?(i.endLine=i.startLine,i.endCol=i.startCol,i.endOffset=i.startOffset):(i.endLine=t.posTracker.line,i.endCol=t.posTracker.col+1,i.endOffset=t.posTracker.offset+1),n._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){const i=this.currentCharacterToken&&this.currentCharacterToken.location;i&&i.endOffset===-1&&(i.endLine=t.posTracker.line,i.endCol=t.posTracker.col,i.endOffset=t.posTracker.offset),n._emitCurrentCharacterToken.call(this)}};return Object.keys(Rh.MODE).forEach(i=>{const a=Rh.MODE[i];r[a]=function(s){t.ctLoc=t._getCurrentLocation(),n[a].call(this,s)}}),r}};var j3=PP;const DP=ni;let FP=class extends DP{constructor(t,n){super(t),this.onItemPop=n.onItemPop}_getOverriddenMethods(t,n){return{pop(){t.onItemPop(this.current),n.pop.call(this)},popAllUpToHtmlElement(){for(let r=this.stackTop;r>0;r--)t.onItemPop(this.items[r]);n.popAllUpToHtmlElement.call(this)},remove(r){t.onItemPop(this.current),n.remove.call(this,r)}}}};var BP=FP;const Ih=ni,c_=ad,UP=j3,HP=BP,zP=er,Mh=zP.TAG_NAMES;let jP=class extends Ih{constructor(t){super(t),this.parser=t,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(t){let n=null;this.lastStartTagToken&&(n=Object.assign({},this.lastStartTagToken.location),n.startTag=this.lastStartTagToken.location),this.treeAdapter.setNodeSourceCodeLocation(t,n)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const i=n.location,a=this.treeAdapter.getTagName(t),s=n.type===c_.END_TAG_TOKEN&&a===n.tagName,o={};s?(o.endTag=Object.assign({},i),o.endLine=i.endLine,o.endCol=i.endCol,o.endOffset=i.endOffset):(o.endLine=i.startLine,o.endCol=i.startCol,o.endOffset=i.startOffset),this.treeAdapter.updateNodeSourceCodeLocation(t,o)}}_getOverriddenMethods(t,n){return{_bootstrap(r,i){n._bootstrap.call(this,r,i),t.lastStartTagToken=null,t.lastFosterParentingLocation=null,t.currentToken=null;const a=Ih.install(this.tokenizer,UP);t.posTracker=a.posTracker,Ih.install(this.openElements,HP,{onItemPop:function(s){t._setEndLocation(s,t.currentToken)}})},_runParsingLoop(r){n._runParsingLoop.call(this,r);for(let i=this.openElements.stackTop;i>=0;i--)t._setEndLocation(this.openElements.items[i],t.currentToken)},_processTokenInForeignContent(r){t.currentToken=r,n._processTokenInForeignContent.call(this,r)},_processToken(r){if(t.currentToken=r,n._processToken.call(this,r),r.type===c_.END_TAG_TOKEN&&(r.tagName===Mh.HTML||r.tagName===Mh.BODY&&this.openElements.hasInScope(Mh.BODY)))for(let a=this.openElements.stackTop;a>=0;a--){const s=this.openElements.items[a];if(this.treeAdapter.getTagName(s)===r.tagName){t._setEndLocation(s,r);break}}},_setDocumentType(r){n._setDocumentType.call(this,r);const i=this.treeAdapter.getChildNodes(this.document),a=i.length;for(let s=0;s<a;s++){const o=i[s];if(this.treeAdapter.isDocumentTypeNode(o)){this.treeAdapter.setNodeSourceCodeLocation(o,r.location);break}}},_attachElementToTree(r){t._setStartLocation(r),t.lastStartTagToken=null,n._attachElementToTree.call(this,r)},_appendElement(r,i){t.lastStartTagToken=r,n._appendElement.call(this,r,i)},_insertElement(r,i){t.lastStartTagToken=r,n._insertElement.call(this,r,i)},_insertTemplate(r){t.lastStartTagToken=r,n._insertTemplate.call(this,r);const i=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(i,null)},_insertFakeRootElement(){n._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(r,i){n._appendCommentNode.call(this,r,i);const a=this.treeAdapter.getChildNodes(i),s=a[a.length-1];this.treeAdapter.setNodeSourceCodeLocation(s,r.location)},_findFosterParentingLocation(){return t.lastFosterParentingLocation=n._findFosterParentingLocation.call(this),t.lastFosterParentingLocation},_insertCharacters(r){n._insertCharacters.call(this,r);const i=this._shouldFosterParentOnInsertion(),a=i&&t.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,s=this.treeAdapter.getChildNodes(a),o=i&&t.lastFosterParentingLocation.beforeElement?s.indexOf(t.lastFosterParentingLocation.beforeElement)-1:s.length-1,l=s[o];if(this.treeAdapter.getNodeSourceCodeLocation(l)){const{endLine:u,endCol:f,endOffset:d}=r.location;this.treeAdapter.updateNodeSourceCodeLocation(l,{endLine:u,endCol:f,endOffset:d})}else this.treeAdapter.setNodeSourceCodeLocation(l,r.location)}}}};var $P=jP;const GP=ni;let VP=class extends GP{constructor(t,n){super(t),this.posTracker=null,this.onParseError=n.onParseError}_setErrorLocation(t){t.startLine=t.endLine=this.posTracker.line,t.startCol=t.endCol=this.posTracker.col,t.startOffset=t.endOffset=this.posTracker.offset}_reportError(t){const n={code:t,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(n),this.onParseError(n)}_getOverriddenMethods(t){return{_err(n){t._reportError(n)}}}};var kg=VP;const KP=kg,WP=z3,YP=ni;let qP=class extends KP{constructor(t,n){super(t,n),this.posTracker=YP.install(t,WP),this.lastErrOffset=-1}_reportError(t){this.lastErrOffset!==this.posTracker.offset&&(this.lastErrOffset=this.posTracker.offset,super._reportError(t))}};var XP=qP;const QP=kg,ZP=XP,JP=ni;let eD=class extends QP{constructor(t,n){super(t,n);const r=JP.install(t.preprocessor,ZP,n);this.posTracker=r.posTracker}};var tD=eD;const nD=kg,rD=tD,iD=j3,u_=ni;let aD=class extends nD{constructor(t,n){super(t,n),this.opts=n,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(t){this.ctLoc&&(t.startLine=this.ctLoc.startLine,t.startCol=this.ctLoc.startCol,t.startOffset=this.ctLoc.startOffset,t.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,t.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,t.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset)}_getOverriddenMethods(t,n){return{_bootstrap(r,i){n._bootstrap.call(this,r,i),u_.install(this.tokenizer,rD,t.opts),u_.install(this.tokenizer,iD)},_processInputToken(r){t.ctLoc=r.location,n._processInputToken.call(this,r)},_err(r,i){t.locBeforeToken=i&&i.beforeToken,t._reportError(r)}}}};var sD=aD,ve={};const{DOCUMENT_MODE:oD}=er;ve.createDocument=function(){return{nodeName:"#document",mode:oD.NO_QUIRKS,childNodes:[]}};ve.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}};ve.createElement=function(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}};ve.createCommentNode=function(e){return{nodeName:"#comment",data:e,parentNode:null}};const $3=function(e){return{nodeName:"#text",value:e,parentNode:null}},G3=ve.appendChild=function(e,t){e.childNodes.push(t),t.parentNode=e},lD=ve.insertBefore=function(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e};ve.setTemplateContent=function(e,t){e.content=t};ve.getTemplateContent=function(e){return e.content};ve.setDocumentType=function(e,t,n,r){let i=null;for(let a=0;a<e.childNodes.length;a++)if(e.childNodes[a].nodeName==="#documentType"){i=e.childNodes[a];break}i?(i.name=t,i.publicId=n,i.systemId=r):G3(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r})};ve.setDocumentMode=function(e,t){e.mode=t};ve.getDocumentMode=function(e){return e.mode};ve.detachNode=function(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}};ve.insertText=function(e,t){if(e.childNodes.length){const n=e.childNodes[e.childNodes.length-1];if(n.nodeName==="#text"){n.value+=t;return}}G3(e,$3(t))};ve.insertTextBefore=function(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&r.nodeName==="#text"?r.value+=t:lD(e,$3(t),n)};ve.adoptAttributes=function(e,t){const n=[];for(let r=0;r<e.attrs.length;r++)n.push(e.attrs[r].name);for(let r=0;r<t.length;r++)n.indexOf(t[r].name)===-1&&e.attrs.push(t[r])};ve.getFirstChild=function(e){return e.childNodes[0]};ve.getChildNodes=function(e){return e.childNodes};ve.getParentNode=function(e){return e.parentNode};ve.getAttrList=function(e){return e.attrs};ve.getTagName=function(e){return e.tagName};ve.getNamespaceURI=function(e){return e.namespaceURI};ve.getTextNodeContent=function(e){return e.value};ve.getCommentNodeContent=function(e){return e.data};ve.getDocumentTypeNodeName=function(e){return e.name};ve.getDocumentTypeNodePublicId=function(e){return e.publicId};ve.getDocumentTypeNodeSystemId=function(e){return e.systemId};ve.isTextNode=function(e){return e.nodeName==="#text"};ve.isCommentNode=function(e){return e.nodeName==="#comment"};ve.isDocumentTypeNode=function(e){return e.nodeName==="#documentType"};ve.isElementNode=function(e){return!!e.tagName};ve.setNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=t};ve.getNodeSourceCodeLocation=function(e){return e.sourceCodeLocation};ve.updateNodeSourceCodeLocation=function(e,t){e.sourceCodeLocation=Object.assign(e.sourceCodeLocation,t)};var cD=function(t,n){return n=n||Object.create(null),[t,n].reduce((r,i)=>(Object.keys(i).forEach(a=>{r[a]=i[a]}),r),Object.create(null))},sd={};const{DOCUMENT_MODE:rs}=er,V3="html",uD="about:legacy-compat",fD="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",K3=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],dD=K3.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),hD=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],W3=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],pD=W3.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function f_(e){const t=e.indexOf('"')!==-1?"'":'"';return t+e+t}function d_(e,t){for(let n=0;n<t.length;n++)if(e.indexOf(t[n])===0)return!0;return!1}sd.isConforming=function(e){return e.name===V3&&e.publicId===null&&(e.systemId===null||e.systemId===uD)};sd.getDocumentMode=function(e){if(e.name!==V3)return rs.QUIRKS;const t=e.systemId;if(t&&t.toLowerCase()===fD)return rs.QUIRKS;let n=e.publicId;if(n!==null){if(n=n.toLowerCase(),hD.indexOf(n)>-1)return rs.QUIRKS;let r=t===null?dD:K3;if(d_(n,r))return rs.QUIRKS;if(r=t===null?W3:pD,d_(n,r))return rs.LIMITED_QUIRKS}return rs.NO_QUIRKS};sd.serializeContent=function(e,t,n){let r="!DOCTYPE ";return e&&(r+=e),t?r+=" PUBLIC "+f_(t):n&&(r+=" SYSTEM"),n!==null&&(r+=" "+f_(n)),r};var Ji={};const Lh=ad,Og=er,ie=Og.TAG_NAMES,_t=Og.NAMESPACES,hu=Og.ATTRS,h_={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},mD="definitionurl",gD="definitionURL",ED={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},_D={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:_t.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:_t.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:_t.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:_t.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:_t.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:_t.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:_t.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:_t.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:_t.XML},"xml:space":{prefix:"xml",name:"space",namespace:_t.XML},xmlns:{prefix:"",name:"xmlns",namespace:_t.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:_t.XMLNS}},TD=Ji.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},yD={[ie.B]:!0,[ie.BIG]:!0,[ie.BLOCKQUOTE]:!0,[ie.BODY]:!0,[ie.BR]:!0,[ie.CENTER]:!0,[ie.CODE]:!0,[ie.DD]:!0,[ie.DIV]:!0,[ie.DL]:!0,[ie.DT]:!0,[ie.EM]:!0,[ie.EMBED]:!0,[ie.H1]:!0,[ie.H2]:!0,[ie.H3]:!0,[ie.H4]:!0,[ie.H5]:!0,[ie.H6]:!0,[ie.HEAD]:!0,[ie.HR]:!0,[ie.I]:!0,[ie.IMG]:!0,[ie.LI]:!0,[ie.LISTING]:!0,[ie.MENU]:!0,[ie.META]:!0,[ie.NOBR]:!0,[ie.OL]:!0,[ie.P]:!0,[ie.PRE]:!0,[ie.RUBY]:!0,[ie.S]:!0,[ie.SMALL]:!0,[ie.SPAN]:!0,[ie.STRONG]:!0,[ie.STRIKE]:!0,[ie.SUB]:!0,[ie.SUP]:!0,[ie.TABLE]:!0,[ie.TT]:!0,[ie.U]:!0,[ie.UL]:!0,[ie.VAR]:!0};Ji.causesExit=function(e){const t=e.tagName;return t===ie.FONT&&(Lh.getTokenAttr(e,hu.COLOR)!==null||Lh.getTokenAttr(e,hu.SIZE)!==null||Lh.getTokenAttr(e,hu.FACE)!==null)?!0:yD[t]};Ji.adjustTokenMathMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===mD){e.attrs[t].name=gD;break}};Ji.adjustTokenSVGAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=ED[e.attrs[t].name];n&&(e.attrs[t].name=n)}};Ji.adjustTokenXMLAttrs=function(e){for(let t=0;t<e.attrs.length;t++){const n=_D[e.attrs[t].name];n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}};Ji.adjustTokenSVGTagName=function(e){const t=TD[e.tagName];t&&(e.tagName=t)};function vD(e,t){return t===_t.MATHML&&(e===ie.MI||e===ie.MO||e===ie.MN||e===ie.MS||e===ie.MTEXT)}function bD(e,t,n){if(t===_t.MATHML&&e===ie.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===hu.ENCODING){const i=n[r].value.toLowerCase();return i===h_.TEXT_HTML||i===h_.APPLICATION_XML}}return t===_t.SVG&&(e===ie.FOREIGN_OBJECT||e===ie.DESC||e===ie.TITLE)}Ji.isIntegrationPoint=function(e,t,n,r){return!!((!r||r===_t.HTML)&&bD(e,t,n)||(!r||r===_t.MATHML)&&vD(e,t))};const O=ad,SD=OP,p_=RP,AD=$P,xD=sD,m_=ni,ND=ve,wD=cD,g_=sd,ur=Ji,bt=wg,CD=Jn,Wa=er,p=Wa.TAG_NAMES,ee=Wa.NAMESPACES,Y3=Wa.ATTRS,kD={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:ND},q3="hidden",OD=8,RD=3,X3="INITIAL_MODE",Rg="BEFORE_HTML_MODE",od="BEFORE_HEAD_MODE",To="IN_HEAD_MODE",Q3="IN_HEAD_NO_SCRIPT_MODE",ld="AFTER_HEAD_MODE",mr="IN_BODY_MODE",nf="TEXT_MODE",kt="IN_TABLE_MODE",Z3="IN_TABLE_TEXT_MODE",cd="IN_CAPTION_MODE",I1="IN_COLUMN_GROUP_MODE",xn="IN_TABLE_BODY_MODE",Qr="IN_ROW_MODE",ud="IN_CELL_MODE",Ig="IN_SELECT_MODE",Mg="IN_SELECT_IN_TABLE_MODE",rf="IN_TEMPLATE_MODE",Lg="AFTER_BODY_MODE",fd="IN_FRAMESET_MODE",J3="AFTER_FRAMESET_MODE",e6="AFTER_AFTER_BODY_MODE",t6="AFTER_AFTER_FRAMESET_MODE",ID={[p.TR]:Qr,[p.TBODY]:xn,[p.THEAD]:xn,[p.TFOOT]:xn,[p.CAPTION]:cd,[p.COLGROUP]:I1,[p.TABLE]:kt,[p.BODY]:mr,[p.FRAMESET]:fd},MD={[p.CAPTION]:kt,[p.COLGROUP]:kt,[p.TBODY]:kt,[p.TFOOT]:kt,[p.THEAD]:kt,[p.COL]:I1,[p.TR]:xn,[p.TD]:Qr,[p.TH]:Qr},E_={[X3]:{[O.CHARACTER_TOKEN]:Ho,[O.NULL_CHARACTER_TOKEN]:Ho,[O.WHITESPACE_CHARACTER_TOKEN]:_e,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:$D,[O.START_TAG_TOKEN]:Ho,[O.END_TAG_TOKEN]:Ho,[O.EOF_TOKEN]:Ho},[Rg]:{[O.CHARACTER_TOKEN]:El,[O.NULL_CHARACTER_TOKEN]:El,[O.WHITESPACE_CHARACTER_TOKEN]:_e,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:GD,[O.END_TAG_TOKEN]:VD,[O.EOF_TOKEN]:El},[od]:{[O.CHARACTER_TOKEN]:_l,[O.NULL_CHARACTER_TOKEN]:_l,[O.WHITESPACE_CHARACTER_TOKEN]:_e,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:Fc,[O.START_TAG_TOKEN]:KD,[O.END_TAG_TOKEN]:WD,[O.EOF_TOKEN]:_l},[To]:{[O.CHARACTER_TOKEN]:Tl,[O.NULL_CHARACTER_TOKEN]:Tl,[O.WHITESPACE_CHARACTER_TOKEN]:Ut,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:Fc,[O.START_TAG_TOKEN]:mt,[O.END_TAG_TOKEN]:Ya,[O.EOF_TOKEN]:Tl},[Q3]:{[O.CHARACTER_TOKEN]:yl,[O.NULL_CHARACTER_TOKEN]:yl,[O.WHITESPACE_CHARACTER_TOKEN]:Ut,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:Fc,[O.START_TAG_TOKEN]:YD,[O.END_TAG_TOKEN]:qD,[O.EOF_TOKEN]:yl},[ld]:{[O.CHARACTER_TOKEN]:vl,[O.NULL_CHARACTER_TOKEN]:vl,[O.WHITESPACE_CHARACTER_TOKEN]:Ut,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:Fc,[O.START_TAG_TOKEN]:XD,[O.END_TAG_TOKEN]:QD,[O.EOF_TOKEN]:vl},[mr]:{[O.CHARACTER_TOKEN]:Bc,[O.NULL_CHARACTER_TOKEN]:_e,[O.WHITESPACE_CHARACTER_TOKEN]:sa,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:Qt,[O.END_TAG_TOKEN]:Pg,[O.EOF_TOKEN]:Cr},[nf]:{[O.CHARACTER_TOKEN]:Ut,[O.NULL_CHARACTER_TOKEN]:Ut,[O.WHITESPACE_CHARACTER_TOKEN]:Ut,[O.COMMENT_TOKEN]:_e,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:_e,[O.END_TAG_TOKEN]:CF,[O.EOF_TOKEN]:kF},[kt]:{[O.CHARACTER_TOKEN]:kr,[O.NULL_CHARACTER_TOKEN]:kr,[O.WHITESPACE_CHARACTER_TOKEN]:kr,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:Dg,[O.END_TAG_TOKEN]:Fg,[O.EOF_TOKEN]:Cr},[Z3]:{[O.CHARACTER_TOKEN]:UF,[O.NULL_CHARACTER_TOKEN]:_e,[O.WHITESPACE_CHARACTER_TOKEN]:BF,[O.COMMENT_TOKEN]:zo,[O.DOCTYPE_TOKEN]:zo,[O.START_TAG_TOKEN]:zo,[O.END_TAG_TOKEN]:zo,[O.EOF_TOKEN]:zo},[cd]:{[O.CHARACTER_TOKEN]:Bc,[O.NULL_CHARACTER_TOKEN]:_e,[O.WHITESPACE_CHARACTER_TOKEN]:sa,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:HF,[O.END_TAG_TOKEN]:zF,[O.EOF_TOKEN]:Cr},[I1]:{[O.CHARACTER_TOKEN]:af,[O.NULL_CHARACTER_TOKEN]:af,[O.WHITESPACE_CHARACTER_TOKEN]:Ut,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:jF,[O.END_TAG_TOKEN]:$F,[O.EOF_TOKEN]:Cr},[xn]:{[O.CHARACTER_TOKEN]:kr,[O.NULL_CHARACTER_TOKEN]:kr,[O.WHITESPACE_CHARACTER_TOKEN]:kr,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:GF,[O.END_TAG_TOKEN]:VF,[O.EOF_TOKEN]:Cr},[Qr]:{[O.CHARACTER_TOKEN]:kr,[O.NULL_CHARACTER_TOKEN]:kr,[O.WHITESPACE_CHARACTER_TOKEN]:kr,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:KF,[O.END_TAG_TOKEN]:WF,[O.EOF_TOKEN]:Cr},[ud]:{[O.CHARACTER_TOKEN]:Bc,[O.NULL_CHARACTER_TOKEN]:_e,[O.WHITESPACE_CHARACTER_TOKEN]:sa,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:YF,[O.END_TAG_TOKEN]:qF,[O.EOF_TOKEN]:Cr},[Ig]:{[O.CHARACTER_TOKEN]:Ut,[O.NULL_CHARACTER_TOKEN]:_e,[O.WHITESPACE_CHARACTER_TOKEN]:Ut,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:n6,[O.END_TAG_TOKEN]:r6,[O.EOF_TOKEN]:Cr},[Mg]:{[O.CHARACTER_TOKEN]:Ut,[O.NULL_CHARACTER_TOKEN]:_e,[O.WHITESPACE_CHARACTER_TOKEN]:Ut,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:XF,[O.END_TAG_TOKEN]:QF,[O.EOF_TOKEN]:Cr},[rf]:{[O.CHARACTER_TOKEN]:Bc,[O.NULL_CHARACTER_TOKEN]:_e,[O.WHITESPACE_CHARACTER_TOKEN]:sa,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:ZF,[O.END_TAG_TOKEN]:JF,[O.EOF_TOKEN]:i6},[Lg]:{[O.CHARACTER_TOKEN]:sf,[O.NULL_CHARACTER_TOKEN]:sf,[O.WHITESPACE_CHARACTER_TOKEN]:sa,[O.COMMENT_TOKEN]:jD,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:eB,[O.END_TAG_TOKEN]:tB,[O.EOF_TOKEN]:Uo},[fd]:{[O.CHARACTER_TOKEN]:_e,[O.NULL_CHARACTER_TOKEN]:_e,[O.WHITESPACE_CHARACTER_TOKEN]:Ut,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:nB,[O.END_TAG_TOKEN]:rB,[O.EOF_TOKEN]:Uo},[J3]:{[O.CHARACTER_TOKEN]:_e,[O.NULL_CHARACTER_TOKEN]:_e,[O.WHITESPACE_CHARACTER_TOKEN]:Ut,[O.COMMENT_TOKEN]:lt,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:iB,[O.END_TAG_TOKEN]:aB,[O.EOF_TOKEN]:Uo},[e6]:{[O.CHARACTER_TOKEN]:pu,[O.NULL_CHARACTER_TOKEN]:pu,[O.WHITESPACE_CHARACTER_TOKEN]:sa,[O.COMMENT_TOKEN]:__,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:sB,[O.END_TAG_TOKEN]:pu,[O.EOF_TOKEN]:Uo},[t6]:{[O.CHARACTER_TOKEN]:_e,[O.NULL_CHARACTER_TOKEN]:_e,[O.WHITESPACE_CHARACTER_TOKEN]:sa,[O.COMMENT_TOKEN]:__,[O.DOCTYPE_TOKEN]:_e,[O.START_TAG_TOKEN]:oB,[O.END_TAG_TOKEN]:_e,[O.EOF_TOKEN]:Uo}};class LD{constructor(t){this.options=wD(kD,t),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo&&m_.install(this,AD),this.options.onParseError&&m_.install(this,xD,{onParseError:this.options.onParseError})}parse(t){const n=this.treeAdapter.createDocument();return this._bootstrap(n,null),this.tokenizer.write(t,!0),this._runParsingLoop(null),n}parseFragment(t,n){n||(n=this.treeAdapter.createElement(p.TEMPLATE,ee.HTML,[]));const r=this.treeAdapter.createElement("documentmock",ee.HTML,[]);this._bootstrap(r,n),this.treeAdapter.getTagName(n)===p.TEMPLATE&&this._pushTmplInsertionMode(rf),this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(t,!0),this._runParsingLoop(null);const i=this.treeAdapter.getFirstChild(r),a=this.treeAdapter.createDocumentFragment();return this._adoptNodes(i,a),a}_bootstrap(t,n){this.tokenizer=new O(this.options),this.stopped=!1,this.insertionMode=X3,this.originalInsertionMode="",this.document=t,this.fragmentContext=n,this.headElement=null,this.formElement=null,this.openElements=new SD(this.document,this.treeAdapter),this.activeFormattingElements=new p_(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(t){for(;!this.stopped;){this._setupTokenizerCDATAMode();const n=this.tokenizer.getNextToken();if(n.type===O.HIBERNATION_TOKEN)break;if(this.skipNextNewLine&&(this.skipNextNewLine=!1,n.type===O.WHITESPACE_CHARACTER_TOKEN&&n.chars[0]===`
839
+ `)){if(n.chars.length===1)continue;n.chars=n.chars.substr(1)}if(this._processInputToken(n),t&&this.pendingScript)break}}runParsingLoopForCurrentChunk(t,n){if(this._runParsingLoop(n),n&&this.pendingScript){const r=this.pendingScript;this.pendingScript=null,n(r);return}t&&t()}_setupTokenizerCDATAMode(){const t=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=t&&t!==this.document&&this.treeAdapter.getNamespaceURI(t)!==ee.HTML&&!this._isIntegrationPoint(t)}_switchToTextParsing(t,n){this._insertElement(t,ee.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=nf}switchToPlaintextParsing(){this.insertionMode=nf,this.originalInsertionMode=mr,this.tokenizer.state=O.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;do{if(this.treeAdapter.getTagName(t)===p.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}while(t)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===ee.HTML){const t=this.treeAdapter.getTagName(this.fragmentContext);t===p.TITLE||t===p.TEXTAREA?this.tokenizer.state=O.MODE.RCDATA:t===p.STYLE||t===p.XMP||t===p.IFRAME||t===p.NOEMBED||t===p.NOFRAMES||t===p.NOSCRIPT?this.tokenizer.state=O.MODE.RAWTEXT:t===p.SCRIPT?this.tokenizer.state=O.MODE.SCRIPT_DATA:t===p.PLAINTEXT&&(this.tokenizer.state=O.MODE.PLAINTEXT)}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";this.treeAdapter.setDocumentType(this.document,n,r,i)}_attachElementToTree(t){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(n,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r),this.openElements.push(r)}_insertFakeElement(t){const n=this.treeAdapter.createElement(t,ee.HTML,[]);this._attachElementToTree(n),this.openElements.push(n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,ee.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n),this.openElements.push(n)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(p.HTML,ee.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r)}_insertCharacters(t){if(this._shouldFosterParentOnInsertion())this._fosterParentText(t.chars);else{const n=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(n,t.chars)}}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_shouldProcessTokenInForeignContent(t){const n=this._getAdjustedCurrentElement();if(!n||n===this.document)return!1;const r=this.treeAdapter.getNamespaceURI(n);if(r===ee.HTML||this.treeAdapter.getTagName(n)===p.ANNOTATION_XML&&r===ee.MATHML&&t.type===O.START_TAG_TOKEN&&t.tagName===p.SVG)return!1;const i=t.type===O.CHARACTER_TOKEN||t.type===O.NULL_CHARACTER_TOKEN||t.type===O.WHITESPACE_CHARACTER_TOKEN;return(t.type===O.START_TAG_TOKEN&&t.tagName!==p.MGLYPH&&t.tagName!==p.MALIGNMARK||i)&&this._isIntegrationPoint(n,ee.MATHML)||(t.type===O.START_TAG_TOKEN||i)&&this._isIntegrationPoint(n,ee.HTML)?!1:t.type!==O.EOF_TOKEN}_processToken(t){E_[this.insertionMode][t.type](this,t)}_processTokenInBodyMode(t){E_[mr][t.type](this,t)}_processTokenInForeignContent(t){t.type===O.CHARACTER_TOKEN?cB(this,t):t.type===O.NULL_CHARACTER_TOKEN?lB(this,t):t.type===O.WHITESPACE_CHARACTER_TOKEN?Ut(this,t):t.type===O.COMMENT_TOKEN?lt(this,t):t.type===O.START_TAG_TOKEN?uB(this,t):t.type===O.END_TAG_TOKEN&&fB(this,t)}_processInputToken(t){this._shouldProcessTokenInForeignContent(t)?this._processTokenInForeignContent(t):this._processToken(t),t.type===O.START_TAG_TOKEN&&t.selfClosing&&!t.ackSelfClosing&&this._err(bt.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(t,n){const r=this.treeAdapter.getTagName(t),i=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return ur.isIntegrationPoint(r,i,a,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.length;if(t){let n=t,r=null;do if(n--,r=this.activeFormattingElements.entries[n],r.type===p_.MARKER_ENTRY||this.openElements.contains(r.element)){n++;break}while(n>0);for(let i=n;i<t;i++)r=this.activeFormattingElements.entries[i],this._insertElement(r.token,this.treeAdapter.getNamespaceURI(r.element)),r.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Qr}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(p.P),this.openElements.popUntilTagNamePopped(p.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop,n=!1;t>=0;t--){let r=this.openElements.items[t];t===0&&(n=!0,this.fragmentContext&&(r=this.fragmentContext));const i=this.treeAdapter.getTagName(r),a=ID[i];if(a){this.insertionMode=a;break}else if(!n&&(i===p.TD||i===p.TH)){this.insertionMode=ud;break}else if(!n&&i===p.HEAD){this.insertionMode=To;break}else if(i===p.SELECT){this._resetInsertionModeForSelect(t);break}else if(i===p.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(i===p.HTML){this.insertionMode=this.headElement?ld:od;break}else if(n){this.insertionMode=mr;break}}}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r);if(i===p.TEMPLATE)break;if(i===p.TABLE){this.insertionMode=Mg;return}}this.insertionMode=Ig}_pushTmplInsertionMode(t){this.tmplInsertionModeStack.push(t),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=t}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(t){const n=this.treeAdapter.getTagName(t);return n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){const t={parent:null,beforeElement:null};for(let n=this.openElements.stackTop;n>=0;n--){const r=this.openElements.items[n],i=this.treeAdapter.getTagName(r),a=this.treeAdapter.getNamespaceURI(r);if(i===p.TEMPLATE&&a===ee.HTML){t.parent=this.treeAdapter.getTemplateContent(r);break}else if(i===p.TABLE){t.parent=this.treeAdapter.getParentNode(r),t.parent?t.beforeElement=r:t.parent=this.openElements.items[n-1];break}}return t.parent||(t.parent=this.openElements.items[0]),t}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_fosterParentText(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertTextBefore(n.parent,t,n.beforeElement):this.treeAdapter.insertText(n.parent,t)}_isSpecialElement(t){const n=this.treeAdapter.getTagName(t),r=this.treeAdapter.getNamespaceURI(t);return Wa.SPECIAL_ELEMENTS[r][n]}}var PD=LD;function DD(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagName)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):zn(e,t),n}function FD(e,t){let n=null;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i)&&(n=i)}return n||(e.openElements.popUntilElementPopped(t.element),e.activeFormattingElements.removeEntry(t)),n}function BD(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,s=i;s!==n;a++,s=i){i=e.openElements.getCommonAncestor(s);const o=e.activeFormattingElements.getElementEntry(s),l=o&&a>=RD;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=UD(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}function UD(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function HD(e,t,n){if(e._isElementCausesFosterParenting(t))e._fosterParentElement(n);else{const r=e.treeAdapter.getTagName(t),i=e.treeAdapter.getNamespaceURI(t);r===p.TEMPLATE&&i===ee.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function zD(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),i=n.token,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,n.token),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a)}function Ti(e,t){let n;for(let r=0;r<OD&&(n=DD(e,t),!!n);r++){const i=FD(e,n);if(!i)break;e.activeFormattingElements.bookmark=n;const a=BD(e,i,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),HD(e,s,a),zD(e,i,n)}}function _e(){}function Fc(e){e._err(bt.misplacedDoctype)}function lt(e,t){e._appendCommentNode(t,e.openElements.currentTmplContent||e.openElements.current)}function jD(e,t){e._appendCommentNode(t,e.openElements.items[0])}function __(e,t){e._appendCommentNode(t,e.document)}function Ut(e,t){e._insertCharacters(t)}function Uo(e){e.stopped=!0}function $D(e,t){e._setDocumentType(t);const n=t.forceQuirks?Wa.DOCUMENT_MODE.QUIRKS:g_.getDocumentMode(t);g_.isConforming(t)||e._err(bt.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Rg}function Ho(e,t){e._err(bt.missingDoctype,{beforeToken:!0}),e.treeAdapter.setDocumentMode(e.document,Wa.DOCUMENT_MODE.QUIRKS),e.insertionMode=Rg,e._processToken(t)}function GD(e,t){t.tagName===p.HTML?(e._insertElement(t,ee.HTML),e.insertionMode=od):El(e,t)}function VD(e,t){const n=t.tagName;(n===p.HTML||n===p.HEAD||n===p.BODY||n===p.BR)&&El(e,t)}function El(e,t){e._insertFakeRootElement(),e.insertionMode=od,e._processToken(t)}function KD(e,t){const n=t.tagName;n===p.HTML?Qt(e,t):n===p.HEAD?(e._insertElement(t,ee.HTML),e.headElement=e.openElements.current,e.insertionMode=To):_l(e,t)}function WD(e,t){const n=t.tagName;n===p.HEAD||n===p.BODY||n===p.HTML||n===p.BR?_l(e,t):e._err(bt.endTagWithoutMatchingOpenElement)}function _l(e,t){e._insertFakeElement(p.HEAD),e.headElement=e.openElements.current,e.insertionMode=To,e._processToken(t)}function mt(e,t){const n=t.tagName;n===p.HTML?Qt(e,t):n===p.BASE||n===p.BASEFONT||n===p.BGSOUND||n===p.LINK||n===p.META?(e._appendElement(t,ee.HTML),t.ackSelfClosing=!0):n===p.TITLE?e._switchToTextParsing(t,O.MODE.RCDATA):n===p.NOSCRIPT?e.options.scriptingEnabled?e._switchToTextParsing(t,O.MODE.RAWTEXT):(e._insertElement(t,ee.HTML),e.insertionMode=Q3):n===p.NOFRAMES||n===p.STYLE?e._switchToTextParsing(t,O.MODE.RAWTEXT):n===p.SCRIPT?e._switchToTextParsing(t,O.MODE.SCRIPT_DATA):n===p.TEMPLATE?(e._insertTemplate(t,ee.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=rf,e._pushTmplInsertionMode(rf)):n===p.HEAD?e._err(bt.misplacedStartTagForHeadElement):Tl(e,t)}function Ya(e,t){const n=t.tagName;n===p.HEAD?(e.openElements.pop(),e.insertionMode=ld):n===p.BODY||n===p.BR||n===p.HTML?Tl(e,t):n===p.TEMPLATE&&e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagName!==p.TEMPLATE&&e._err(bt.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode()):e._err(bt.endTagWithoutMatchingOpenElement)}function Tl(e,t){e.openElements.pop(),e.insertionMode=ld,e._processToken(t)}function YD(e,t){const n=t.tagName;n===p.HTML?Qt(e,t):n===p.BASEFONT||n===p.BGSOUND||n===p.HEAD||n===p.LINK||n===p.META||n===p.NOFRAMES||n===p.STYLE?mt(e,t):n===p.NOSCRIPT?e._err(bt.nestedNoscriptInHead):yl(e,t)}function qD(e,t){const n=t.tagName;n===p.NOSCRIPT?(e.openElements.pop(),e.insertionMode=To):n===p.BR?yl(e,t):e._err(bt.endTagWithoutMatchingOpenElement)}function yl(e,t){const n=t.type===O.EOF_TOKEN?bt.openElementsLeftAfterEof:bt.disallowedContentInNoscriptInHead;e._err(n),e.openElements.pop(),e.insertionMode=To,e._processToken(t)}function XD(e,t){const n=t.tagName;n===p.HTML?Qt(e,t):n===p.BODY?(e._insertElement(t,ee.HTML),e.framesetOk=!1,e.insertionMode=mr):n===p.FRAMESET?(e._insertElement(t,ee.HTML),e.insertionMode=fd):n===p.BASE||n===p.BASEFONT||n===p.BGSOUND||n===p.LINK||n===p.META||n===p.NOFRAMES||n===p.SCRIPT||n===p.STYLE||n===p.TEMPLATE||n===p.TITLE?(e._err(bt.abandonedHeadElementChild),e.openElements.push(e.headElement),mt(e,t),e.openElements.remove(e.headElement)):n===p.HEAD?e._err(bt.misplacedStartTagForHeadElement):vl(e,t)}function QD(e,t){const n=t.tagName;n===p.BODY||n===p.HTML||n===p.BR?vl(e,t):n===p.TEMPLATE?Ya(e,t):e._err(bt.endTagWithoutMatchingOpenElement)}function vl(e,t){e._insertFakeElement(p.BODY),e.insertionMode=mr,e._processToken(t)}function sa(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Bc(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ZD(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function JD(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function eF(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,ee.HTML),e.insertionMode=fd)}function wr(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ee.HTML)}function tF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement();const n=e.openElements.currentTagName;(n===p.H1||n===p.H2||n===p.H3||n===p.H4||n===p.H5||n===p.H6)&&e.openElements.pop(),e._insertElement(t,ee.HTML)}function T_(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ee.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function nF(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ee.HTML),n||(e.formElement=e.openElements.current))}function rF(e,t){e.framesetOk=!1;const n=t.tagName;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.items[r],a=e.treeAdapter.getTagName(i);let s=null;if(n===p.LI&&a===p.LI?s=p.LI:(n===p.DD||n===p.DT)&&(a===p.DD||a===p.DT)&&(s=a),s){e.openElements.generateImpliedEndTagsWithExclusion(s),e.openElements.popUntilTagNamePopped(s);break}if(a!==p.ADDRESS&&a!==p.DIV&&a!==p.P&&e._isSpecialElement(i))break}e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ee.HTML)}function iF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ee.HTML),e.tokenizer.state=O.MODE.PLAINTEXT}function aF(e,t){e.openElements.hasInScope(p.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,ee.HTML),e.framesetOk=!1}function sF(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(p.A);n&&(Ti(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,ee.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function is(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ee.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function oF(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(p.NOBR)&&(Ti(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,ee.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function y_(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ee.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function lF(e,t){e.treeAdapter.getDocumentMode(e.document)!==Wa.DOCUMENT_MODE.QUIRKS&&e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ee.HTML),e.framesetOk=!1,e.insertionMode=kt}function fs(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ee.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function cF(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,ee.HTML);const n=O.getTokenAttr(t,Y3.TYPE);(!n||n.toLowerCase()!==q3)&&(e.framesetOk=!1),t.ackSelfClosing=!0}function v_(e,t){e._appendElement(t,ee.HTML),t.ackSelfClosing=!0}function uF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._appendElement(t,ee.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function fF(e,t){t.tagName=p.IMG,fs(e,t)}function dF(e,t){e._insertElement(t,ee.HTML),e.skipNextNewLine=!0,e.tokenizer.state=O.MODE.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=nf}function hF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,O.MODE.RAWTEXT)}function pF(e,t){e.framesetOk=!1,e._switchToTextParsing(t,O.MODE.RAWTEXT)}function b_(e,t){e._switchToTextParsing(t,O.MODE.RAWTEXT)}function mF(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ee.HTML),e.framesetOk=!1,e.insertionMode===kt||e.insertionMode===cd||e.insertionMode===xn||e.insertionMode===Qr||e.insertionMode===ud?e.insertionMode=Mg:e.insertionMode=Ig}function S_(e,t){e.openElements.currentTagName===p.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,ee.HTML)}function A_(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,ee.HTML)}function gF(e,t){e.openElements.hasInScope(p.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(p.RTC),e._insertElement(t,ee.HTML)}function EF(e,t){e.openElements.hasInButtonScope(p.P)&&e._closePElement(),e._insertElement(t,ee.HTML)}function _F(e,t){e._reconstructActiveFormattingElements(),ur.adjustTokenMathMLAttrs(t),ur.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,ee.MATHML):e._insertElement(t,ee.MATHML),t.ackSelfClosing=!0}function TF(e,t){e._reconstructActiveFormattingElements(),ur.adjustTokenSVGAttrs(t),ur.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,ee.SVG):e._insertElement(t,ee.SVG),t.ackSelfClosing=!0}function gn(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,ee.HTML)}function Qt(e,t){const n=t.tagName;switch(n.length){case 1:n===p.I||n===p.S||n===p.B||n===p.U?is(e,t):n===p.P?wr(e,t):n===p.A?sF(e,t):gn(e,t);break;case 2:n===p.DL||n===p.OL||n===p.UL?wr(e,t):n===p.H1||n===p.H2||n===p.H3||n===p.H4||n===p.H5||n===p.H6?tF(e,t):n===p.LI||n===p.DD||n===p.DT?rF(e,t):n===p.EM||n===p.TT?is(e,t):n===p.BR?fs(e,t):n===p.HR?uF(e,t):n===p.RB?A_(e,t):n===p.RT||n===p.RP?gF(e,t):n!==p.TH&&n!==p.TD&&n!==p.TR&&gn(e,t);break;case 3:n===p.DIV||n===p.DIR||n===p.NAV?wr(e,t):n===p.PRE?T_(e,t):n===p.BIG?is(e,t):n===p.IMG||n===p.WBR?fs(e,t):n===p.XMP?hF(e,t):n===p.SVG?TF(e,t):n===p.RTC?A_(e,t):n!==p.COL&&gn(e,t);break;case 4:n===p.HTML?ZD(e,t):n===p.BASE||n===p.LINK||n===p.META?mt(e,t):n===p.BODY?JD(e,t):n===p.MAIN||n===p.MENU?wr(e,t):n===p.FORM?nF(e,t):n===p.CODE||n===p.FONT?is(e,t):n===p.NOBR?oF(e,t):n===p.AREA?fs(e,t):n===p.MATH?_F(e,t):n===p.MENU?EF(e,t):n!==p.HEAD&&gn(e,t);break;case 5:n===p.STYLE||n===p.TITLE?mt(e,t):n===p.ASIDE?wr(e,t):n===p.SMALL?is(e,t):n===p.TABLE?lF(e,t):n===p.EMBED?fs(e,t):n===p.INPUT?cF(e,t):n===p.PARAM||n===p.TRACK?v_(e,t):n===p.IMAGE?fF(e,t):n!==p.FRAME&&n!==p.TBODY&&n!==p.TFOOT&&n!==p.THEAD&&gn(e,t);break;case 6:n===p.SCRIPT?mt(e,t):n===p.CENTER||n===p.FIGURE||n===p.FOOTER||n===p.HEADER||n===p.HGROUP||n===p.DIALOG?wr(e,t):n===p.BUTTON?aF(e,t):n===p.STRIKE||n===p.STRONG?is(e,t):n===p.APPLET||n===p.OBJECT?y_(e,t):n===p.KEYGEN?fs(e,t):n===p.SOURCE?v_(e,t):n===p.IFRAME?pF(e,t):n===p.SELECT?mF(e,t):n===p.OPTION?S_(e,t):gn(e,t);break;case 7:n===p.BGSOUND?mt(e,t):n===p.DETAILS||n===p.ADDRESS||n===p.ARTICLE||n===p.SECTION||n===p.SUMMARY?wr(e,t):n===p.LISTING?T_(e,t):n===p.MARQUEE?y_(e,t):n===p.NOEMBED?b_(e,t):n!==p.CAPTION&&gn(e,t);break;case 8:n===p.BASEFONT?mt(e,t):n===p.FRAMESET?eF(e,t):n===p.FIELDSET?wr(e,t):n===p.TEXTAREA?dF(e,t):n===p.TEMPLATE?mt(e,t):n===p.NOSCRIPT?e.options.scriptingEnabled?b_(e,t):gn(e,t):n===p.OPTGROUP?S_(e,t):n!==p.COLGROUP&&gn(e,t);break;case 9:n===p.PLAINTEXT?iF(e,t):gn(e,t);break;case 10:n===p.BLOCKQUOTE||n===p.FIGCAPTION?wr(e,t):gn(e,t);break;default:gn(e,t)}}function yF(e){e.openElements.hasInScope(p.BODY)&&(e.insertionMode=Lg)}function vF(e,t){e.openElements.hasInScope(p.BODY)&&(e.insertionMode=Lg,e._processToken(t))}function hi(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function bF(e){const t=e.openElements.tmplCount>0,n=e.formElement;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(p.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(p.FORM):e.openElements.remove(n))}function SF(e){e.openElements.hasInButtonScope(p.P)||e._insertFakeElement(p.P),e._closePElement()}function AF(e){e.openElements.hasInListItemScope(p.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(p.LI),e.openElements.popUntilTagNamePopped(p.LI))}function xF(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function NF(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function x_(e,t){const n=t.tagName;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function wF(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(p.BR),e.openElements.pop(),e.framesetOk=!1}function zn(e,t){const n=t.tagName;for(let r=e.openElements.stackTop;r>0;r--){const i=e.openElements.items[r];if(e.treeAdapter.getTagName(i)===n){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilElementPopped(i);break}if(e._isSpecialElement(i))break}}function Pg(e,t){const n=t.tagName;switch(n.length){case 1:n===p.A||n===p.B||n===p.I||n===p.S||n===p.U?Ti(e,t):n===p.P?SF(e):zn(e,t);break;case 2:n===p.DL||n===p.UL||n===p.OL?hi(e,t):n===p.LI?AF(e):n===p.DD||n===p.DT?xF(e,t):n===p.H1||n===p.H2||n===p.H3||n===p.H4||n===p.H5||n===p.H6?NF(e):n===p.BR?wF(e):n===p.EM||n===p.TT?Ti(e,t):zn(e,t);break;case 3:n===p.BIG?Ti(e,t):n===p.DIR||n===p.DIV||n===p.NAV||n===p.PRE?hi(e,t):zn(e,t);break;case 4:n===p.BODY?yF(e):n===p.HTML?vF(e,t):n===p.FORM?bF(e):n===p.CODE||n===p.FONT||n===p.NOBR?Ti(e,t):n===p.MAIN||n===p.MENU?hi(e,t):zn(e,t);break;case 5:n===p.ASIDE?hi(e,t):n===p.SMALL?Ti(e,t):zn(e,t);break;case 6:n===p.CENTER||n===p.FIGURE||n===p.FOOTER||n===p.HEADER||n===p.HGROUP||n===p.DIALOG?hi(e,t):n===p.APPLET||n===p.OBJECT?x_(e,t):n===p.STRIKE||n===p.STRONG?Ti(e,t):zn(e,t);break;case 7:n===p.ADDRESS||n===p.ARTICLE||n===p.DETAILS||n===p.SECTION||n===p.SUMMARY||n===p.LISTING?hi(e,t):n===p.MARQUEE?x_(e,t):zn(e,t);break;case 8:n===p.FIELDSET?hi(e,t):n===p.TEMPLATE?Ya(e,t):zn(e,t);break;case 10:n===p.BLOCKQUOTE||n===p.FIGCAPTION?hi(e,t):zn(e,t);break;default:zn(e,t)}}function Cr(e,t){e.tmplInsertionModeStackTop>-1?i6(e,t):e.stopped=!0}function CF(e,t){t.tagName===p.SCRIPT&&(e.pendingScript=e.openElements.current),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function kF(e,t){e._err(bt.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e._processToken(t)}function kr(e,t){const n=e.openElements.currentTagName;n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR?(e.pendingCharacterTokens=[],e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Z3,e._processToken(t)):_n(e,t)}function OF(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,ee.HTML),e.insertionMode=cd}function RF(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ee.HTML),e.insertionMode=I1}function IF(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(p.COLGROUP),e.insertionMode=I1,e._processToken(t)}function MF(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,ee.HTML),e.insertionMode=xn}function LF(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(p.TBODY),e.insertionMode=xn,e._processToken(t)}function PF(e,t){e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode(),e._processToken(t))}function DF(e,t){const n=O.getTokenAttr(t,Y3.TYPE);n&&n.toLowerCase()===q3?e._appendElement(t,ee.HTML):_n(e,t),t.ackSelfClosing=!0}function FF(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,ee.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Dg(e,t){const n=t.tagName;switch(n.length){case 2:n===p.TD||n===p.TH||n===p.TR?LF(e,t):_n(e,t);break;case 3:n===p.COL?IF(e,t):_n(e,t);break;case 4:n===p.FORM?FF(e,t):_n(e,t);break;case 5:n===p.TABLE?PF(e,t):n===p.STYLE?mt(e,t):n===p.TBODY||n===p.TFOOT||n===p.THEAD?MF(e,t):n===p.INPUT?DF(e,t):_n(e,t);break;case 6:n===p.SCRIPT?mt(e,t):_n(e,t);break;case 7:n===p.CAPTION?OF(e,t):_n(e,t);break;case 8:n===p.COLGROUP?RF(e,t):n===p.TEMPLATE?mt(e,t):_n(e,t);break;default:_n(e,t)}}function Fg(e,t){const n=t.tagName;n===p.TABLE?e.openElements.hasInTableScope(p.TABLE)&&(e.openElements.popUntilTagNamePopped(p.TABLE),e._resetInsertionMode()):n===p.TEMPLATE?Ya(e,t):n!==p.BODY&&n!==p.CAPTION&&n!==p.COL&&n!==p.COLGROUP&&n!==p.HTML&&n!==p.TBODY&&n!==p.TD&&n!==p.TFOOT&&n!==p.TH&&n!==p.THEAD&&n!==p.TR&&_n(e,t)}function _n(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e._processTokenInBodyMode(t),e.fosterParentingEnabled=n}function BF(e,t){e.pendingCharacterTokens.push(t)}function UF(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function zo(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)_n(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function HF(e,t){const n=t.tagName;n===p.CAPTION||n===p.COL||n===p.COLGROUP||n===p.TBODY||n===p.TD||n===p.TFOOT||n===p.TH||n===p.THEAD||n===p.TR?e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=kt,e._processToken(t)):Qt(e,t)}function zF(e,t){const n=t.tagName;n===p.CAPTION||n===p.TABLE?e.openElements.hasInTableScope(p.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(p.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=kt,n===p.TABLE&&e._processToken(t)):n!==p.BODY&&n!==p.COL&&n!==p.COLGROUP&&n!==p.HTML&&n!==p.TBODY&&n!==p.TD&&n!==p.TFOOT&&n!==p.TH&&n!==p.THEAD&&n!==p.TR&&Pg(e,t)}function jF(e,t){const n=t.tagName;n===p.HTML?Qt(e,t):n===p.COL?(e._appendElement(t,ee.HTML),t.ackSelfClosing=!0):n===p.TEMPLATE?mt(e,t):af(e,t)}function $F(e,t){const n=t.tagName;n===p.COLGROUP?e.openElements.currentTagName===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=kt):n===p.TEMPLATE?Ya(e,t):n!==p.COL&&af(e,t)}function af(e,t){e.openElements.currentTagName===p.COLGROUP&&(e.openElements.pop(),e.insertionMode=kt,e._processToken(t))}function GF(e,t){const n=t.tagName;n===p.TR?(e.openElements.clearBackToTableBodyContext(),e._insertElement(t,ee.HTML),e.insertionMode=Qr):n===p.TH||n===p.TD?(e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(p.TR),e.insertionMode=Qr,e._processToken(t)):n===p.CAPTION||n===p.COL||n===p.COLGROUP||n===p.TBODY||n===p.TFOOT||n===p.THEAD?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=kt,e._processToken(t)):Dg(e,t)}function VF(e,t){const n=t.tagName;n===p.TBODY||n===p.TFOOT||n===p.THEAD?e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=kt):n===p.TABLE?e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=kt,e._processToken(t)):(n!==p.BODY&&n!==p.CAPTION&&n!==p.COL&&n!==p.COLGROUP||n!==p.HTML&&n!==p.TD&&n!==p.TH&&n!==p.TR)&&Fg(e,t)}function KF(e,t){const n=t.tagName;n===p.TH||n===p.TD?(e.openElements.clearBackToTableRowContext(),e._insertElement(t,ee.HTML),e.insertionMode=ud,e.activeFormattingElements.insertMarker()):n===p.CAPTION||n===p.COL||n===p.COLGROUP||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR?e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=xn,e._processToken(t)):Dg(e,t)}function WF(e,t){const n=t.tagName;n===p.TR?e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=xn):n===p.TABLE?e.openElements.hasInTableScope(p.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=xn,e._processToken(t)):n===p.TBODY||n===p.TFOOT||n===p.THEAD?(e.openElements.hasInTableScope(n)||e.openElements.hasInTableScope(p.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=xn,e._processToken(t)):(n!==p.BODY&&n!==p.CAPTION&&n!==p.COL&&n!==p.COLGROUP||n!==p.HTML&&n!==p.TD&&n!==p.TH)&&Fg(e,t)}function YF(e,t){const n=t.tagName;n===p.CAPTION||n===p.COL||n===p.COLGROUP||n===p.TBODY||n===p.TD||n===p.TFOOT||n===p.TH||n===p.THEAD||n===p.TR?(e.openElements.hasInTableScope(p.TD)||e.openElements.hasInTableScope(p.TH))&&(e._closeTableCell(),e._processToken(t)):Qt(e,t)}function qF(e,t){const n=t.tagName;n===p.TD||n===p.TH?e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Qr):n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR?e.openElements.hasInTableScope(n)&&(e._closeTableCell(),e._processToken(t)):n!==p.BODY&&n!==p.CAPTION&&n!==p.COL&&n!==p.COLGROUP&&n!==p.HTML&&Pg(e,t)}function n6(e,t){const n=t.tagName;n===p.HTML?Qt(e,t):n===p.OPTION?(e.openElements.currentTagName===p.OPTION&&e.openElements.pop(),e._insertElement(t,ee.HTML)):n===p.OPTGROUP?(e.openElements.currentTagName===p.OPTION&&e.openElements.pop(),e.openElements.currentTagName===p.OPTGROUP&&e.openElements.pop(),e._insertElement(t,ee.HTML)):n===p.INPUT||n===p.KEYGEN||n===p.TEXTAREA||n===p.SELECT?e.openElements.hasInSelectScope(p.SELECT)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),n!==p.SELECT&&e._processToken(t)):(n===p.SCRIPT||n===p.TEMPLATE)&&mt(e,t)}function r6(e,t){const n=t.tagName;if(n===p.OPTGROUP){const r=e.openElements.items[e.openElements.stackTop-1],i=r&&e.treeAdapter.getTagName(r);e.openElements.currentTagName===p.OPTION&&i===p.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagName===p.OPTGROUP&&e.openElements.pop()}else n===p.OPTION?e.openElements.currentTagName===p.OPTION&&e.openElements.pop():n===p.SELECT&&e.openElements.hasInSelectScope(p.SELECT)?(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode()):n===p.TEMPLATE&&Ya(e,t)}function XF(e,t){const n=t.tagName;n===p.CAPTION||n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR||n===p.TD||n===p.TH?(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e._processToken(t)):n6(e,t)}function QF(e,t){const n=t.tagName;n===p.CAPTION||n===p.TABLE||n===p.TBODY||n===p.TFOOT||n===p.THEAD||n===p.TR||n===p.TD||n===p.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(p.SELECT),e._resetInsertionMode(),e._processToken(t)):r6(e,t)}function ZF(e,t){const n=t.tagName;if(n===p.BASE||n===p.BASEFONT||n===p.BGSOUND||n===p.LINK||n===p.META||n===p.NOFRAMES||n===p.SCRIPT||n===p.STYLE||n===p.TEMPLATE||n===p.TITLE)mt(e,t);else{const r=MD[n]||mr;e._popTmplInsertionMode(),e._pushTmplInsertionMode(r),e.insertionMode=r,e._processToken(t)}}function JF(e,t){t.tagName===p.TEMPLATE&&Ya(e,t)}function i6(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(p.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e._popTmplInsertionMode(),e._resetInsertionMode(),e._processToken(t)):e.stopped=!0}function eB(e,t){t.tagName===p.HTML?Qt(e,t):sf(e,t)}function tB(e,t){t.tagName===p.HTML?e.fragmentContext||(e.insertionMode=e6):sf(e,t)}function sf(e,t){e.insertionMode=mr,e._processToken(t)}function nB(e,t){const n=t.tagName;n===p.HTML?Qt(e,t):n===p.FRAMESET?e._insertElement(t,ee.HTML):n===p.FRAME?(e._appendElement(t,ee.HTML),t.ackSelfClosing=!0):n===p.NOFRAMES&&mt(e,t)}function rB(e,t){t.tagName===p.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagName!==p.FRAMESET&&(e.insertionMode=J3))}function iB(e,t){const n=t.tagName;n===p.HTML?Qt(e,t):n===p.NOFRAMES&&mt(e,t)}function aB(e,t){t.tagName===p.HTML&&(e.insertionMode=t6)}function sB(e,t){t.tagName===p.HTML?Qt(e,t):pu(e,t)}function pu(e,t){e.insertionMode=mr,e._processToken(t)}function oB(e,t){const n=t.tagName;n===p.HTML?Qt(e,t):n===p.NOFRAMES&&mt(e,t)}function lB(e,t){t.chars=CD.REPLACEMENT_CHARACTER,e._insertCharacters(t)}function cB(e,t){e._insertCharacters(t),e.framesetOk=!1}function uB(e,t){if(ur.causesExit(t)&&!e.fragmentContext){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==ee.HTML&&!e._isIntegrationPoint(e.openElements.current);)e.openElements.pop();e._processToken(t)}else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===ee.MATHML?ur.adjustTokenMathMLAttrs(t):r===ee.SVG&&(ur.adjustTokenSVGTagName(t),ur.adjustTokenSVGAttrs(t)),ur.adjustTokenXMLAttrs(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function fB(e,t){for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===ee.HTML){e._processToken(t);break}if(e.treeAdapter.getTagName(r).toLowerCase()===t.tagName){e.openElements.popUntilElementPopped(r);break}}}const dB=Zn(PD),N_=/[#.]/g;function hB(e,t){const n=e||"",r={};let i=0,a,s;for(;i<n.length;){N_.lastIndex=i;const o=N_.exec(n),l=n.slice(i,o?o.index:n.length);l&&(a?a==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:s=l,i+=l.length),o&&(a=o[0],i++)}return{type:"element",tagName:s||t||"div",properties:r,children:[]}}const pB=new Set(["menu","submit","reset","button"]),Op={}.hasOwnProperty;function a6(e,t,n){const r=n&&_B(n);return function(a,s,...o){let l=-1,c;if(a==null)c={type:"root",children:[]},o.unshift(s);else if(c=hB(a,t),c.tagName=c.tagName.toLowerCase(),r&&Op.call(r,c.tagName)&&(c.tagName=r[c.tagName]),mB(s,c.tagName)){let u;for(u in s)Op.call(s,u)&&gB(e,c.properties,u,s[u])}else o.unshift(s);for(;++l<o.length;)Rp(c.children,o[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}}function mB(e,t){return e==null||typeof e!="object"||Array.isArray(e)?!1:t==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:t==="button"?pB.has(e.type.toLowerCase()):!("value"in e)}function gB(e,t,n,r){const i=Wf(e,n);let a=-1,s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?i.spaceSeparated?s=VE(r):i.commaSeparated?s=KE(r):i.commaOrSpaceSeparated?s=VE(KE(r).join(" ")):s=w_(i,i.property,r):Array.isArray(r)?s=r.concat():s=i.property==="style"?EB(r):String(r);if(Array.isArray(s)){const o=[];for(;++a<s.length;)o[a]=w_(i,i.property,s[a]);s=o}i.property==="className"&&Array.isArray(t.className)&&(s=t.className.concat(s)),t[i.property]=s}}function Rp(e,t){let n=-1;if(t!=null)if(typeof t=="string"||typeof t=="number")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)Rp(e,t[n]);else if(typeof t=="object"&&"type"in t)t.type==="root"?Rp(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function w_(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||t1(n)===t1(t)))return!0}return n}function EB(e){const t=[];let n;for(n in e)Op.call(e,n)&&t.push([n,e[n]].join(": "));return t.join("; ")}function _B(e){const t={};let n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}const TB=a6(R1,"div"),yB=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],vB=a6(_o,"g",yB);function bB(e){const t=String(e),n=[],r=/\r?\n|\r/g;for(;r.test(t);)n.push(r.lastIndex);return n.push(t.length+1),{toPoint:i,toOffset:a};function i(s){let o=-1;if(typeof s=="number"&&s>-1&&s<n[n.length-1]){for(;++o<n.length;)if(n[o]>s)return{line:o+1,column:s-(o>0?n[o-1]:0)+1,offset:s}}return{line:void 0,column:void 0,offset:void 0}}function a(s){const o=s&&s.line,l=s&&s.column;if(typeof o=="number"&&typeof l=="number"&&!Number.isNaN(o)&&!Number.isNaN(l)&&o-1 in n){const c=(n[o-2]||0)+l-1||0;if(c>-1&&c<n[n.length-1])return c}return-1}}const i1={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},s6={}.hasOwnProperty,SB=Object.prototype;function AB(e,t){const n=t||{};let r,i;return wB(n)?(i=n,r={}):(i=n.file||void 0,r=n),Bg({schema:r.space==="svg"?_o:R1,file:i,verbose:r.verbose,location:!1},e)}function Bg(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},mu(e,r,n),n}case"#document":case"#document-fragment":{const r=t,i="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:o6(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const a=String(e.file),s=bB(a),o=s.toPoint(0),l=s.toPoint(a.length);n.position={start:o,end:l}}return n}case"#documentType":{const r=t;return n={type:"doctype"},mu(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},mu(e,r,n),n}default:return n=xB(e,t),n}}function o6(e,t){let n=-1;const r=[];for(;++n<t.length;)r[n]=Bg(e,t[n]);return r}function xB(e,t){const n=e.schema;e.schema=t.namespaceURI===i1.svg?_o:R1;let r=-1;const i={};for(;++r<t.attrs.length;){const o=t.attrs[r],l=(o.prefix?o.prefix+":":"")+o.name;s6.call(SB,l)||(i[l]=o.value)}const s=(e.schema.space==="svg"?vB:TB)(t.tagName,i,o6(e,t.childNodes));if(mu(e,t,s),s.tagName==="template"){const o=t,l=o.sourceCodeLocation,c=l&&l.startTag&&ws(l.startTag),u=l&&l.endTag&&ws(l.endTag),f=Bg(e,o.content);c&&u&&e.file&&(f.position={start:c.end,end:u.start}),s.content=f}return e.schema=n,s}function mu(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=NB(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function NB(e,t,n){const r=ws(n);if(t.type==="element"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const a={};let s;if(n.attrs)for(s in n.attrs)s6.call(n.attrs,s)&&(a[Wf(e.schema,s).property]=ws(n.attrs[s]));t.data={position:{opening:ws(n.startTag),closing:n.endTag?ws(n.endTag):null,properties:a}}}}return r}function ws(e){const t=C_({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=C_({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function C_(e){return e.line&&e.column?e:void 0}function wB(e){return"messages"in e}const k_={}.hasOwnProperty;function l6(e,t){const n=t||{};function r(i,...a){let s=r.invalid;const o=r.handlers;if(i&&k_.call(i,e)){const l=String(i[e]);s=k_.call(o,l)?o[l]:r.unknown}if(s)return s.call(this,i,...a)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const CB={}.hasOwnProperty,c6=l6("type",{handlers:{root:OB,element:PB,text:MB,comment:LB,doctype:IB}});function kB(e,t){const n=t&&typeof t=="object"?t.space:t;return c6(e,n==="svg"?_o:R1)}function OB(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Ug(e.children,n,t),yo(e,n),n}function RB(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Ug(e.children,n,t),yo(e,n),n}function IB(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:void 0};return yo(e,t),t}function MB(e){const t={nodeName:"#text",value:e.value,parentNode:void 0};return yo(e,t),t}function LB(e){const t={nodeName:"#comment",data:e.value,parentNode:void 0};return yo(e,t),t}function PB(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=_o);const i=[];let a;if(e.properties){for(a in e.properties)if(a!=="children"&&CB.call(e.properties,a)){const o=DB(r,a,e.properties[a]);o&&i.push(o)}}const s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:i1[r.space],childNodes:[],parentNode:void 0};return s.childNodes=Ug(e.children,s,r),yo(e,s),e.tagName==="template"&&e.content&&(s.content=RB(e.content,r)),s}function DB(e,t,n){const r=Wf(e,t);if(n==null||n===!1||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Wb(n):Kb(n));const i={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const a=i.name.indexOf(":");a<0?i.prefix="":(i.name=i.name.slice(a+1),i.prefix=r.attribute.slice(0,a)),i.namespace=i1[r.space]}return i}function Ug(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const a=c6(e[r],n);a.parentNode=t,i.push(a)}return i}function yo(e,t){const n=e.position;n&&n.start&&n.end&&(t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const FB=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"],BB="IN_TEMPLATE_MODE",UB="DATA_STATE",HB="CHARACTER_TOKEN",zB="START_TAG_TOKEN",jB="END_TAG_TOKEN",$B="COMMENT_TOKEN",GB="DOCTYPE_TOKEN",VB={sourceCodeLocationInfo:!0,scriptingEnabled:!1},u6=function(e,t,n){let r=-1;const i=new dB(VB),a=l6("type",{handlers:{root:E,element:b,text:m,comment:_,doctype:T,raw:v},unknown:qB});let s,o,l,c,u;if(QB(t)&&(n=t,t=void 0),n&&n.passThrough)for(;++r<n.passThrough.length;)a.handlers[n.passThrough[r]]=N;const f=AB(XB(e)?h():d(),t);if(s&&k1(f,"comment",(A,k,I)=>{const P=A;if(P.value.stitch&&I!==null&&k!==null)return I.children[k]=P.value.stitch,k}),e.type!=="root"&&f.type==="root"&&f.children.length===1)return f.children[0];return f;function d(){const A={nodeName:"template",tagName:"template",attrs:[],namespaceURI:i1.html,childNodes:[]},k={nodeName:"documentmock",tagName:"documentmock",attrs:[],namespaceURI:i1.html,childNodes:[]},I={nodeName:"#document-fragment",childNodes:[]};if(i._bootstrap(k,A),i._pushTmplInsertionMode(BB),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),o=i.tokenizer,!o)throw new Error("Expected `tokenizer`");return l=o.preprocessor,u=o.__mixins[0],c=u.posTracker,a(e),S(),i._adoptNodes(k.childNodes[0],I),I}function h(){const A=i.treeAdapter.createDocument();if(i._bootstrap(A,void 0),o=i.tokenizer,!o)throw new Error("Expected `tokenizer`");return l=o.preprocessor,u=o.__mixins[0],c=u.posTracker,a(e),S(),A}function g(A){let k=-1;if(A)for(;++k<A.length;)a(A[k])}function E(A){g(A.children)}function b(A){S(),i._processInputToken(KB(A)),g(A.children),FB.includes(A.tagName)||(S(),i._processInputToken(YB(A)))}function m(A){S(),i._processInputToken({type:HB,chars:A.value,location:Cs(A)})}function T(A){S(),i._processInputToken({type:GB,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Cs(A)})}function _(A){S(),i._processInputToken({type:$B,data:A.value,location:Cs(A)})}function v(A){const k=C1(A),I=k.line||1,P=k.column||1,D=k.offset||0;if(!l)throw new Error("Expected `preprocessor`");if(!o)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");if(!u)throw new Error("Expected `locationTracker`");l.html=void 0,l.pos=-1,l.lastGapPos=-1,l.lastCharPos=-1,l.gapStack=[],l.skipNextNewLine=!1,l.lastChunkWritten=!1,l.endOfChunkHit=!1,c.isEol=!1,c.lineStartPos=-P+1,c.droppedBufferSize=D,c.offset=0,c.col=1,c.line=I,u.currentAttrLocation=void 0,u.ctLoc=Cs(A),o.write(A.value),i._runParsingLoop(null),(o.state==="NAMED_CHARACTER_REFERENCE_STATE"||o.state==="NUMERIC_CHARACTER_REFERENCE_END_STATE")&&(l.lastChunkWritten=!0,o[o.state](o._consume()))}function N(A){s=!0;let k;"children"in A?k={...A,children:u6({type:"root",children:A.children},t,n).children}:k={...A},_({type:"comment",value:{stitch:k}})}function S(){if(!o)throw new Error("Expected `tokenizer`");if(!c)throw new Error("Expected `posTracker`");const A=o.currentCharacterToken;A&&(A.location.endLine=c.line,A.location.endCol=c.col+1,A.location.endOffset=c.offset+1,i._processInputToken(A)),o.tokenQueue=[],o.state=UB,o.returnState="",o.charRefCode=-1,o.tempBuff=[],o.lastStartTagName="",o.consumedAfterSnapshot=-1,o.active=!1,o.currentCharacterToken=void 0,o.currentToken=void 0,o.currentAttr=void 0}};function KB(e){const t=Object.assign(Cs(e));return t.startTag=Object.assign({},t),{type:zB,tagName:e.tagName,selfClosing:!1,attrs:WB(e),location:t}}function WB(e){return kB({tagName:e.tagName,type:"element",properties:e.properties,children:[]}).attrs}function YB(e){const t=Object.assign(Cs(e));return t.startTag=Object.assign({},t),{type:jB,tagName:e.tagName,attrs:[],location:t}}function qB(e){throw new Error("Cannot compile `"+e.type+"` node")}function XB(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName==="html"))}function Cs(e){const t=C1(e),n=Vf(e);return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function QB(e){return!!(e&&!("message"in e&&"messages"in e))}function ZB(e={}){return(t,n)=>u6(t,n,e)}const JB=e=>L.isValidElement(e)&&!!e.props.children,of=JB,eU=e=>L.isValidElement(e)&&of(e)&&L.Children.toArray(e.props.children).reduce((t,n)=>t||L.isValidElement(n),!1),M1=eU,f6=(e,t)=>L.Children.toArray(e).filter(t).map(n=>L.isValidElement(n)&&M1(n)?L.cloneElement(n,{...n.props,children:f6(n.props.children,t)}):n),d6=f6,h6=(e,t)=>{let n;return L.Children.toArray(e).find((r,i,a)=>t(r,i,a)?(n=r,!0):L.isValidElement(r)&&M1(r)?(n=h6(r.props.children,t),typeof n<"u"):!1),n},tU=h6,p6=(e,t)=>{L.Children.forEach(e,(n,r)=>{L.isValidElement(n)&&M1(n)&&p6(n.props.children,t),t(n,r)})},nU=p6,m6=(e,t)=>L.Children.toArray(e).map((n,r,i)=>L.isValidElement(n)&&M1(n)?t(L.cloneElement(n,{...n.props,children:m6(n.props.children,t)})):t(n,r,i)),rU=m6,iU=(e,t)=>L.Children.toArray(e).filter(t),aU=iU,sU=e=>L.isValidElement(e)?typeof e.type=="string"?e.type:e.type.name:null,g6=sU,oU=(e,t=[],n="rest")=>{const r=t.map(i=>typeof i=="string"?i:i.name);return L.Children.toArray(e).reduce((i,a)=>{const s=g6(a),o=s!==null&&r.includes(s)?s:n;return typeof i[o]>"u"&&(i[o]=[]),i[o]=[...i[o],a],i},{})},lU=oU,O_=e=>typeof e>"u"||e===null||typeof e=="boolean"||JSON.stringify(e)==="{}"?"":e.toString(),E6=e=>!(e instanceof Array)&&!L.isValidElement(e)?O_(e):L.Children.toArray(e).reduce((t,n)=>{let r="";return L.isValidElement(n)&&of(n)?r=E6(n.props.children):L.isValidElement(n)&&!of(n)?r="":r=O_(n),t.concat(r)},""),_6=E6,cU=e=>d6(e,t=>L.isValidElement(t)),uU=cU;({...L.Children});const T6={target:"languageServer",view:"app",request:"context"},fU={target:"languageServer",view:"app",request:"optIn"},dU={target:"extension",request:"openLink",linkType:"url",link:"https://app.sourcery.ai/dashboard/subscription?utm_source=ide_chat&utm_medium=upgrade_button&utm_campaign=private_repo_access"},hU={target:"languageServer",view:"app",request:"authenticate"},pU={target:"languageServer",view:"app",request:"logIn"},mU={target:"languageServer",view:"app",request:"accessDetailsOpened"},gU={target:"languageServer",view:"app",request:"uiState/save",updates:{}},EU={target:"languageServer",view:"chat",request:"initialise"},_U={target:"languageServer",view:"chat",request:"clear"},TU={target:"languageServer",view:"chat",request:"cancel"},yU={target:"languageServer",view:"recipes",request:"initialise"},y6={target:"languageServer",view:"review",request:"clear"},vU={target:"languageServer",view:"review",request:"cancel"},bU={target:"extension",request:"updateConfiguration",section:"sourcery.codeLens",value:!0,configurationTarget:1},SU={target:"extension",request:"updateConfiguration",section:"sourcery.codeLens",value:!1,configurationTarget:1},AU={target:"extension",request:"openLink",linkType:"url",link:"https://app.sourcery.ai/dashboard/subscription?utm_source=ide_chat&utm_medium=manage_account&utm_campaign=account_management",documentRange:null},xU={target:"extension",request:"openLink",linkType:"url",link:"https://docs.sourcery.ai",documentRange:null},NU={target:"extension",request:"openLink",linkType:"url",link:"https://app.sourcery.ai/feedback",documentRange:null},Ur=({message:e})=>{window.sourceryLS.postMessage({message:e})};/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const wU=4,R_=0,I_=1,CU=2;function vo(e){let t=e.length;for(;--t>=0;)e[t]=0}const kU=0,v6=1,OU=2,RU=3,IU=258,Hg=29,L1=256,a1=L1+1+Hg,Gs=30,zg=19,b6=2*a1+1,va=15,Ph=16,MU=7,jg=256,S6=16,A6=17,x6=18,Ip=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),gu=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),LU=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),N6=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),PU=512,Pr=new Array((a1+2)*2);vo(Pr);const bl=new Array(Gs*2);vo(bl);const s1=new Array(PU);vo(s1);const o1=new Array(IU-RU+1);vo(o1);const $g=new Array(Hg);vo($g);const lf=new Array(Gs);vo(lf);function Dh(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}let w6,C6,k6;function Fh(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}const O6=e=>e<256?s1[e]:s1[256+(e>>>7)],l1=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},$t=(e,t,n)=>{e.bi_valid>Ph-n?(e.bi_buf|=t<<e.bi_valid&65535,l1(e,e.bi_buf),e.bi_buf=t>>Ph-e.bi_valid,e.bi_valid+=n-Ph):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)},fr=(e,t,n)=>{$t(e,n[t*2],n[t*2+1])},R6=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},DU=e=>{e.bi_valid===16?(l1(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},FU=(e,t)=>{const n=t.dyn_tree,r=t.max_code,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,s=t.stat_desc.extra_bits,o=t.stat_desc.extra_base,l=t.stat_desc.max_length;let c,u,f,d,h,g,E=0;for(d=0;d<=va;d++)e.bl_count[d]=0;for(n[e.heap[e.heap_max]*2+1]=0,c=e.heap_max+1;c<b6;c++)u=e.heap[c],d=n[n[u*2+1]*2+1]+1,d>l&&(d=l,E++),n[u*2+1]=d,!(u>r)&&(e.bl_count[d]++,h=0,u>=o&&(h=s[u-o]),g=n[u*2],e.opt_len+=g*(d+h),a&&(e.static_len+=g*(i[u*2+1]+h)));if(E!==0){do{for(d=l-1;e.bl_count[d]===0;)d--;e.bl_count[d]--,e.bl_count[d+1]+=2,e.bl_count[l]--,E-=2}while(E>0);for(d=l;d!==0;d--)for(u=e.bl_count[d];u!==0;)f=e.heap[--c],!(f>r)&&(n[f*2+1]!==d&&(e.opt_len+=(d-n[f*2+1])*n[f*2],n[f*2+1]=d),u--)}},I6=(e,t,n)=>{const r=new Array(va+1);let i=0,a,s;for(a=1;a<=va;a++)i=i+n[a-1]<<1,r[a]=i;for(s=0;s<=t;s++){let o=e[s*2+1];o!==0&&(e[s*2]=R6(r[o]++,o))}},BU=()=>{let e,t,n,r,i;const a=new Array(va+1);for(n=0,r=0;r<Hg-1;r++)for($g[r]=n,e=0;e<1<<Ip[r];e++)o1[n++]=r;for(o1[n-1]=r,i=0,r=0;r<16;r++)for(lf[r]=i,e=0;e<1<<gu[r];e++)s1[i++]=r;for(i>>=7;r<Gs;r++)for(lf[r]=i<<7,e=0;e<1<<gu[r]-7;e++)s1[256+i++]=r;for(t=0;t<=va;t++)a[t]=0;for(e=0;e<=143;)Pr[e*2+1]=8,e++,a[8]++;for(;e<=255;)Pr[e*2+1]=9,e++,a[9]++;for(;e<=279;)Pr[e*2+1]=7,e++,a[7]++;for(;e<=287;)Pr[e*2+1]=8,e++,a[8]++;for(I6(Pr,a1+1,a),e=0;e<Gs;e++)bl[e*2+1]=5,bl[e*2]=R6(e,5);w6=new Dh(Pr,Ip,L1+1,a1,va),C6=new Dh(bl,gu,0,Gs,va),k6=new Dh(new Array(0),LU,0,zg,MU)},M6=e=>{let t;for(t=0;t<a1;t++)e.dyn_ltree[t*2]=0;for(t=0;t<Gs;t++)e.dyn_dtree[t*2]=0;for(t=0;t<zg;t++)e.bl_tree[t*2]=0;e.dyn_ltree[jg*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},L6=e=>{e.bi_valid>8?l1(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},M_=(e,t,n,r)=>{const i=t*2,a=n*2;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]},Bh=(e,t,n)=>{const r=e.heap[n];let i=n<<1;for(;i<=e.heap_len&&(i<e.heap_len&&M_(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!M_(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r},L_=(e,t,n)=>{let r,i,a=0,s,o;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+a++]&255,r+=(e.pending_buf[e.sym_buf+a++]&255)<<8,i=e.pending_buf[e.sym_buf+a++],r===0?fr(e,i,t):(s=o1[i],fr(e,s+L1+1,t),o=Ip[s],o!==0&&(i-=$g[s],$t(e,i,o)),r--,s=O6(r),fr(e,s,n),o=gu[s],o!==0&&(r-=lf[s],$t(e,r,o)));while(a<e.sym_next);fr(e,jg,t)},Mp=(e,t)=>{const n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems;let s,o,l=-1,c;for(e.heap_len=0,e.heap_max=b6,s=0;s<a;s++)n[s*2]!==0?(e.heap[++e.heap_len]=l=s,e.depth[s]=0):n[s*2+1]=0;for(;e.heap_len<2;)c=e.heap[++e.heap_len]=l<2?++l:0,n[c*2]=1,e.depth[c]=0,e.opt_len--,i&&(e.static_len-=r[c*2+1]);for(t.max_code=l,s=e.heap_len>>1;s>=1;s--)Bh(e,n,s);c=a;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Bh(e,n,1),o=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=o,n[c*2]=n[s*2]+n[o*2],e.depth[c]=(e.depth[s]>=e.depth[o]?e.depth[s]:e.depth[o])+1,n[s*2+1]=n[o*2+1]=c,e.heap[1]=c++,Bh(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],FU(e,t),I6(n,l,e.bl_count)},P_=(e,t,n)=>{let r,i=-1,a,s=t[0*2+1],o=0,l=7,c=4;for(s===0&&(l=138,c=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)a=s,s=t[(r+1)*2+1],!(++o<l&&a===s)&&(o<c?e.bl_tree[a*2]+=o:a!==0?(a!==i&&e.bl_tree[a*2]++,e.bl_tree[S6*2]++):o<=10?e.bl_tree[A6*2]++:e.bl_tree[x6*2]++,o=0,i=a,s===0?(l=138,c=3):a===s?(l=6,c=3):(l=7,c=4))},D_=(e,t,n)=>{let r,i=-1,a,s=t[0*2+1],o=0,l=7,c=4;for(s===0&&(l=138,c=3),r=0;r<=n;r++)if(a=s,s=t[(r+1)*2+1],!(++o<l&&a===s)){if(o<c)do fr(e,a,e.bl_tree);while(--o!==0);else a!==0?(a!==i&&(fr(e,a,e.bl_tree),o--),fr(e,S6,e.bl_tree),$t(e,o-3,2)):o<=10?(fr(e,A6,e.bl_tree),$t(e,o-3,3)):(fr(e,x6,e.bl_tree),$t(e,o-11,7));o=0,i=a,s===0?(l=138,c=3):a===s?(l=6,c=3):(l=7,c=4)}},UU=e=>{let t;for(P_(e,e.dyn_ltree,e.l_desc.max_code),P_(e,e.dyn_dtree,e.d_desc.max_code),Mp(e,e.bl_desc),t=zg-1;t>=3&&e.bl_tree[N6[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},HU=(e,t,n,r)=>{let i;for($t(e,t-257,5),$t(e,n-1,5),$t(e,r-4,4),i=0;i<r;i++)$t(e,e.bl_tree[N6[i]*2+1],3);D_(e,e.dyn_ltree,t-1),D_(e,e.dyn_dtree,n-1)},zU=e=>{let t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return R_;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return I_;for(n=32;n<L1;n++)if(e.dyn_ltree[n*2]!==0)return I_;return R_};let F_=!1;const jU=e=>{F_||(BU(),F_=!0),e.l_desc=new Fh(e.dyn_ltree,w6),e.d_desc=new Fh(e.dyn_dtree,C6),e.bl_desc=new Fh(e.bl_tree,k6),e.bi_buf=0,e.bi_valid=0,M6(e)},P6=(e,t,n,r)=>{$t(e,(kU<<1)+(r?1:0),3),L6(e),l1(e,n),l1(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},$U=e=>{$t(e,v6<<1,3),fr(e,jg,Pr),DU(e)},GU=(e,t,n,r)=>{let i,a,s=0;e.level>0?(e.strm.data_type===CU&&(e.strm.data_type=zU(e)),Mp(e,e.l_desc),Mp(e,e.d_desc),s=UU(e),i=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=i&&(i=a)):i=a=n+5,n+4<=i&&t!==-1?P6(e,t,n,r):e.strategy===wU||a===i?($t(e,(v6<<1)+(r?1:0),3),L_(e,Pr,bl)):($t(e,(OU<<1)+(r?1:0),3),HU(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),L_(e,e.dyn_ltree,e.dyn_dtree)),M6(e),r&&L6(e)},VU=(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(o1[n]+L1+1)*2]++,e.dyn_dtree[O6(t)*2]++),e.sym_next===e.sym_end);var KU=jU,WU=P6,YU=GU,qU=VU,XU=$U,QU={_tr_init:KU,_tr_stored_block:WU,_tr_flush_block:YU,_tr_tally:qU,_tr_align:XU};const ZU=(e,t,n,r)=>{let i=e&65535|0,a=e>>>16&65535|0,s=0;for(;n!==0;){s=n>2e3?2e3:n,n-=s;do i=i+t[r++]|0,a=a+i|0;while(--s);i%=65521,a%=65521}return i|a<<16|0};var c1=ZU;const JU=()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t},eH=new Uint32Array(JU()),tH=(e,t,n,r)=>{const i=eH,a=r+n;e^=-1;for(let s=r;s<a;s++)e=e>>>8^i[(e^t[s])&255];return e^-1};var ht=tH,Ba={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},qa={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:nH,_tr_stored_block:Lp,_tr_flush_block:rH,_tr_tally:Fi,_tr_align:iH}=QU,{Z_NO_FLUSH:Bi,Z_PARTIAL_FLUSH:aH,Z_FULL_FLUSH:sH,Z_FINISH:bn,Z_BLOCK:B_,Z_OK:Tt,Z_STREAM_END:U_,Z_STREAM_ERROR:gr,Z_DATA_ERROR:oH,Z_BUF_ERROR:Uh,Z_DEFAULT_COMPRESSION:lH,Z_FILTERED:cH,Z_HUFFMAN_ONLY:Uc,Z_RLE:uH,Z_FIXED:fH,Z_DEFAULT_STRATEGY:dH,Z_UNKNOWN:hH,Z_DEFLATED:dd}=qa,pH=9,mH=15,gH=8,EH=29,_H=256,Pp=_H+1+EH,TH=30,yH=19,vH=2*Pp+1,bH=15,ye=3,Ci=258,Er=Ci+ye+1,SH=32,no=42,Gg=57,Dp=69,Fp=73,Bp=91,Up=103,ba=113,el=666,Mt=1,bo=2,Ua=3,So=4,AH=3,Sa=(e,t)=>(e.msg=Ba[t],t),H_=e=>e*2-(e>4?9:0),Si=e=>{let t=e.length;for(;--t>=0;)e[t]=0},xH=e=>{let t,n,r,i=e.w_size;t=e.hash_size,r=t;do n=e.head[--r],e.head[r]=n>=i?n-i:0;while(--t);t=i,r=t;do n=e.prev[--r],e.prev[r]=n>=i?n-i:0;while(--t)};let NH=(e,t,n)=>(t<<e.hash_shift^n)&e.hash_mask,Ui=NH;const tn=e=>{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))},sn=(e,t)=>{rH(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,tn(e.strm)},Se=(e,t)=>{e.pending_buf[e.pending++]=t},jo=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},Hp=(e,t,n,r)=>{let i=e.avail_in;return i>r&&(i=r),i===0?0:(e.avail_in-=i,t.set(e.input.subarray(e.next_in,e.next_in+i),n),e.state.wrap===1?e.adler=c1(e.adler,t,i,n):e.state.wrap===2&&(e.adler=ht(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)},D6=(e,t)=>{let n=e.max_chain_length,r=e.strstart,i,a,s=e.prev_length,o=e.nice_match;const l=e.strstart>e.w_size-Er?e.strstart-(e.w_size-Er):0,c=e.window,u=e.w_mask,f=e.prev,d=e.strstart+Ci;let h=c[r+s-1],g=c[r+s];e.prev_length>=e.good_match&&(n>>=2),o>e.lookahead&&(o=e.lookahead);do if(i=t,!(c[i+s]!==g||c[i+s-1]!==h||c[i]!==c[r]||c[++i]!==c[r+1])){r+=2,i++;do;while(c[++r]===c[++i]&&c[++r]===c[++i]&&c[++r]===c[++i]&&c[++r]===c[++i]&&c[++r]===c[++i]&&c[++r]===c[++i]&&c[++r]===c[++i]&&c[++r]===c[++i]&&r<d);if(a=Ci-(d-r),r=d-Ci,a>s){if(e.match_start=t,s=a,a>=o)break;h=c[r+s-1],g=c[r+s]}}while((t=f[t&u])>l&&--n!==0);return s<=e.lookahead?s:e.lookahead},ro=e=>{const t=e.w_size;let n,r,i;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Er)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),xH(e),r+=t),e.strm.avail_in===0)break;if(n=Hp(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=ye)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=Ui(e,e.ins_h,e.window[i+1]);e.insert&&(e.ins_h=Ui(e,e.ins_h,e.window[i+ye-1]),e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<ye)););}while(e.lookahead<Er&&e.strm.avail_in!==0)},F6=(e,t)=>{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,i,a,s=0,o=e.strm.avail_in;do{if(r=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a||(a=e.strm.avail_out-a,i=e.strstart-e.block_start,r>i+e.strm.avail_in&&(r=i+e.strm.avail_in),r>a&&(r=a),r<n&&(r===0&&t!==bn||t===Bi||r!==i+e.strm.avail_in)))break;s=t===bn&&r===i+e.strm.avail_in?1:0,Lp(e,0,0,s),e.pending_buf[e.pending-4]=r,e.pending_buf[e.pending-3]=r>>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,tn(e.strm),i&&(i>r&&(i=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+i),e.strm.next_out),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i,e.block_start+=i,r-=i),r&&(Hp(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(s===0);return o-=e.strm.avail_in,o&&(o>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=o&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-o,e.strm.next_in),e.strstart),e.strstart+=o,e.insert+=o>e.w_size-e.insert?e.w_size-e.insert:o),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),s?So:t!==Bi&&t!==bn&&e.strm.avail_in===0&&e.strstart===e.block_start?bo:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&(Hp(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a,n=a>e.w_size?e.w_size:a,i=e.strstart-e.block_start,(i>=n||(i||t===bn)&&t!==Bi&&e.strm.avail_in===0&&i<=a)&&(r=i>a?a:i,s=t===bn&&e.strm.avail_in===0&&r===i?1:0,Lp(e,e.block_start,r,s),e.block_start+=r,tn(e.strm)),s?Ua:Mt)},Hh=(e,t)=>{let n,r;for(;;){if(e.lookahead<Er){if(ro(e),e.lookahead<Er&&t===Bi)return Mt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ye&&(e.ins_h=Ui(e,e.ins_h,e.window[e.strstart+ye-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-Er&&(e.match_length=D6(e,n)),e.match_length>=ye)if(r=Fi(e,e.strstart-e.match_start,e.match_length-ye),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ye){e.match_length--;do e.strstart++,e.ins_h=Ui(e,e.ins_h,e.window[e.strstart+ye-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=Ui(e,e.ins_h,e.window[e.strstart+1]);else r=Fi(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(sn(e,!1),e.strm.avail_out===0))return Mt}return e.insert=e.strstart<ye-1?e.strstart:ye-1,t===bn?(sn(e,!0),e.strm.avail_out===0?Ua:So):e.sym_next&&(sn(e,!1),e.strm.avail_out===0)?Mt:bo},as=(e,t)=>{let n,r,i;for(;;){if(e.lookahead<Er){if(ro(e),e.lookahead<Er&&t===Bi)return Mt;if(e.lookahead===0)break}if(n=0,e.lookahead>=ye&&(e.ins_h=Ui(e,e.ins_h,e.window[e.strstart+ye-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ye-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-Er&&(e.match_length=D6(e,n),e.match_length<=5&&(e.strategy===cH||e.match_length===ye&&e.strstart-e.match_start>4096)&&(e.match_length=ye-1)),e.prev_length>=ye&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-ye,r=Fi(e,e.strstart-1-e.prev_match,e.prev_length-ye),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=Ui(e,e.ins_h,e.window[e.strstart+ye-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=ye-1,e.strstart++,r&&(sn(e,!1),e.strm.avail_out===0))return Mt}else if(e.match_available){if(r=Fi(e,0,e.window[e.strstart-1]),r&&sn(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Mt}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Fi(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<ye-1?e.strstart:ye-1,t===bn?(sn(e,!0),e.strm.avail_out===0?Ua:So):e.sym_next&&(sn(e,!1),e.strm.avail_out===0)?Mt:bo},wH=(e,t)=>{let n,r,i,a;const s=e.window;for(;;){if(e.lookahead<=Ci){if(ro(e),e.lookahead<=Ci&&t===Bi)return Mt;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ye&&e.strstart>0&&(i=e.strstart-1,r=s[i],r===s[++i]&&r===s[++i]&&r===s[++i])){a=e.strstart+Ci;do;while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);e.match_length=Ci-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ye?(n=Fi(e,1,e.match_length-ye),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Fi(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(sn(e,!1),e.strm.avail_out===0))return Mt}return e.insert=0,t===bn?(sn(e,!0),e.strm.avail_out===0?Ua:So):e.sym_next&&(sn(e,!1),e.strm.avail_out===0)?Mt:bo},CH=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(ro(e),e.lookahead===0)){if(t===Bi)return Mt;break}if(e.match_length=0,n=Fi(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(sn(e,!1),e.strm.avail_out===0))return Mt}return e.insert=0,t===bn?(sn(e,!0),e.strm.avail_out===0?Ua:So):e.sym_next&&(sn(e,!1),e.strm.avail_out===0)?Mt:bo};function ir(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}const tl=[new ir(0,0,0,0,F6),new ir(4,4,8,4,Hh),new ir(4,5,16,8,Hh),new ir(4,6,32,32,Hh),new ir(4,4,16,16,as),new ir(8,16,32,32,as),new ir(8,16,128,128,as),new ir(8,32,128,256,as),new ir(32,128,258,1024,as),new ir(32,258,258,4096,as)],kH=e=>{e.window_size=2*e.w_size,Si(e.head),e.max_lazy_match=tl[e.level].max_lazy,e.good_match=tl[e.level].good_length,e.nice_match=tl[e.level].nice_length,e.max_chain_length=tl[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ye-1,e.match_available=0,e.ins_h=0};function OH(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=dd,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(vH*2),this.dyn_dtree=new Uint16Array((2*TH+1)*2),this.bl_tree=new Uint16Array((2*yH+1)*2),Si(this.dyn_ltree),Si(this.dyn_dtree),Si(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(bH+1),this.heap=new Uint16Array(2*Pp+1),Si(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Pp+1),Si(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const P1=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==no&&t.status!==Gg&&t.status!==Dp&&t.status!==Fp&&t.status!==Bp&&t.status!==Up&&t.status!==ba&&t.status!==el?1:0},B6=e=>{if(P1(e))return Sa(e,gr);e.total_in=e.total_out=0,e.data_type=hH;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?Gg:t.wrap?no:ba,e.adler=t.wrap===2?0:1,t.last_flush=-2,nH(t),Tt},U6=e=>{const t=B6(e);return t===Tt&&kH(e.state),t},RH=(e,t)=>P1(e)||e.state.wrap!==2?gr:(e.state.gzhead=t,Tt),H6=(e,t,n,r,i,a)=>{if(!e)return gr;let s=1;if(t===lH&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),i<1||i>pH||n!==dd||r<8||r>15||t<0||t>9||a<0||a>fH||r===8&&s!==1)return Sa(e,gr);r===8&&(r=9);const o=new OH;return e.state=o,o.strm=e,o.status=no,o.wrap=s,o.gzhead=null,o.w_bits=r,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=i+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+ye-1)/ye),o.window=new Uint8Array(o.w_size*2),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<i+6,o.pending_buf_size=o.lit_bufsize*4,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=(o.lit_bufsize-1)*3,o.level=t,o.strategy=a,o.method=n,U6(e)},IH=(e,t)=>H6(e,t,dd,mH,gH,dH),MH=(e,t)=>{if(P1(e)||t>B_||t<0)return e?Sa(e,gr):gr;const n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===el&&t!==bn)return Sa(e,e.avail_out===0?Uh:gr);const r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(tn(e),e.avail_out===0)return n.last_flush=-1,Tt}else if(e.avail_in===0&&H_(t)<=H_(r)&&t!==bn)return Sa(e,Uh);if(n.status===el&&e.avail_in!==0)return Sa(e,Uh);if(n.status===no&&n.wrap===0&&(n.status=ba),n.status===no){let i=dd+(n.w_bits-8<<4)<<8,a=-1;if(n.strategy>=Uc||n.level<2?a=0:n.level<6?a=1:n.level===6?a=2:a=3,i|=a<<6,n.strstart!==0&&(i|=SH),i+=31-i%31,jo(n,i),n.strstart!==0&&(jo(n,e.adler>>>16),jo(n,e.adler&65535)),e.adler=1,n.status=ba,tn(e),n.pending!==0)return n.last_flush=-1,Tt}if(n.status===Gg){if(e.adler=0,Se(n,31),Se(n,139),Se(n,8),n.gzhead)Se(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),Se(n,n.gzhead.time&255),Se(n,n.gzhead.time>>8&255),Se(n,n.gzhead.time>>16&255),Se(n,n.gzhead.time>>24&255),Se(n,n.level===9?2:n.strategy>=Uc||n.level<2?4:0),Se(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(Se(n,n.gzhead.extra.length&255),Se(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=ht(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=Dp;else if(Se(n,0),Se(n,0),Se(n,0),Se(n,0),Se(n,0),Se(n,n.level===9?2:n.strategy>=Uc||n.level<2?4:0),Se(n,AH),n.status=ba,tn(e),n.pending!==0)return n.last_flush=-1,Tt}if(n.status===Dp){if(n.gzhead.extra){let i=n.pending,a=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+a>n.pending_buf_size;){let o=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+o),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>i&&(e.adler=ht(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex+=o,tn(e),n.pending!==0)return n.last_flush=-1,Tt;i=0,a-=o}let s=new Uint8Array(n.gzhead.extra);n.pending_buf.set(s.subarray(n.gzindex,n.gzindex+a),n.pending),n.pending+=a,n.gzhead.hcrc&&n.pending>i&&(e.adler=ht(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex=0}n.status=Fp}if(n.status===Fp){if(n.gzhead.name){let i=n.pending,a;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>i&&(e.adler=ht(e.adler,n.pending_buf,n.pending-i,i)),tn(e),n.pending!==0)return n.last_flush=-1,Tt;i=0}n.gzindex<n.gzhead.name.length?a=n.gzhead.name.charCodeAt(n.gzindex++)&255:a=0,Se(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=ht(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex=0}n.status=Bp}if(n.status===Bp){if(n.gzhead.comment){let i=n.pending,a;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>i&&(e.adler=ht(e.adler,n.pending_buf,n.pending-i,i)),tn(e),n.pending!==0)return n.last_flush=-1,Tt;i=0}n.gzindex<n.gzhead.comment.length?a=n.gzhead.comment.charCodeAt(n.gzindex++)&255:a=0,Se(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=ht(e.adler,n.pending_buf,n.pending-i,i))}n.status=Up}if(n.status===Up){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(tn(e),n.pending!==0))return n.last_flush=-1,Tt;Se(n,e.adler&255),Se(n,e.adler>>8&255),e.adler=0}if(n.status=ba,tn(e),n.pending!==0)return n.last_flush=-1,Tt}if(e.avail_in!==0||n.lookahead!==0||t!==Bi&&n.status!==el){let i=n.level===0?F6(n,t):n.strategy===Uc?CH(n,t):n.strategy===uH?wH(n,t):tl[n.level].func(n,t);if((i===Ua||i===So)&&(n.status=el),i===Mt||i===Ua)return e.avail_out===0&&(n.last_flush=-1),Tt;if(i===bo&&(t===aH?iH(n):t!==B_&&(Lp(n,0,0,!1),t===sH&&(Si(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),tn(e),e.avail_out===0))return n.last_flush=-1,Tt}return t!==bn?Tt:n.wrap<=0?U_:(n.wrap===2?(Se(n,e.adler&255),Se(n,e.adler>>8&255),Se(n,e.adler>>16&255),Se(n,e.adler>>24&255),Se(n,e.total_in&255),Se(n,e.total_in>>8&255),Se(n,e.total_in>>16&255),Se(n,e.total_in>>24&255)):(jo(n,e.adler>>>16),jo(n,e.adler&65535)),tn(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?Tt:U_)},LH=e=>{if(P1(e))return gr;const t=e.state.status;return e.state=null,t===ba?Sa(e,oH):Tt},PH=(e,t)=>{let n=t.length;if(P1(e))return gr;const r=e.state,i=r.wrap;if(i===2||i===1&&r.status!==no||r.lookahead)return gr;if(i===1&&(e.adler=c1(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){i===0&&(Si(r.head),r.strstart=0,r.block_start=0,r.insert=0);let l=new Uint8Array(r.w_size);l.set(t.subarray(n-r.w_size,n),0),t=l,n=r.w_size}const a=e.avail_in,s=e.next_in,o=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,ro(r);r.lookahead>=ye;){let l=r.strstart,c=r.lookahead-(ye-1);do r.ins_h=Ui(r,r.ins_h,r.window[l+ye-1]),r.prev[l&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=l,l++;while(--c);r.strstart=l,r.lookahead=ye-1,ro(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=ye-1,r.match_available=0,e.next_in=s,e.input=o,e.avail_in=a,r.wrap=i,Tt};var DH=IH,FH=H6,BH=U6,UH=B6,HH=RH,zH=MH,jH=LH,$H=PH,GH="pako deflate (from Nodeca project)",Sl={deflateInit:DH,deflateInit2:FH,deflateReset:BH,deflateResetKeep:UH,deflateSetHeader:HH,deflate:zH,deflateEnd:jH,deflateSetDictionary:$H,deflateInfo:GH};const VH=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var KH=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(const r in n)VH(n,r)&&(e[r]=n[r])}}return e},WH=e=>{let t=0;for(let r=0,i=e.length;r<i;r++)t+=e[r].length;const n=new Uint8Array(t);for(let r=0,i=0,a=e.length;r<a;r++){let s=e[r];n.set(s,i),i+=s.length}return n},hd={assign:KH,flattenChunks:WH};let z6=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{z6=!1}const u1=new Uint8Array(256);for(let e=0;e<256;e++)u1[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;u1[254]=u1[254]=1;var YH=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,r,i,a,s=e.length,o=0;for(i=0;i<s;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),o+=n<128?1:n<2048?2:n<65536?3:4;for(t=new Uint8Array(o),a=0,i=0;a<o;i++)n=e.charCodeAt(i),(n&64512)===55296&&i+1<s&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(n=65536+(n-55296<<10)+(r-56320),i++)),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|n&63):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|n&63):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|n&63);return t};const qH=(e,t)=>{if(t<65534&&e.subarray&&z6)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n};var XH=(e,t)=>{const n=t||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let r,i;const a=new Array(n*2);for(i=0,r=0;r<n;){let s=e[r++];if(s<128){a[i++]=s;continue}let o=u1[s];if(o>4){a[i++]=65533,r+=o-1;continue}for(s&=o===2?31:o===3?15:7;o>1&&r<n;)s=s<<6|e[r++]&63,o--;if(o>1){a[i++]=65533;continue}s<65536?a[i++]=s:(s-=65536,a[i++]=55296|s>>10&1023,a[i++]=56320|s&1023)}return qH(a,i)},QH=(e,t)=>{t=t||e.length,t>e.length&&(t=e.length);let n=t-1;for(;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+u1[e[n]]>t?n:t},f1={string2buf:YH,buf2string:XH,utf8border:QH};function ZH(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var j6=ZH;const $6=Object.prototype.toString,{Z_NO_FLUSH:JH,Z_SYNC_FLUSH:ez,Z_FULL_FLUSH:tz,Z_FINISH:nz,Z_OK:cf,Z_STREAM_END:rz,Z_DEFAULT_COMPRESSION:iz,Z_DEFAULT_STRATEGY:az,Z_DEFLATED:sz}=qa;function D1(e){this.options=hd.assign({level:iz,method:sz,chunkSize:16384,windowBits:15,memLevel:8,strategy:az},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new j6,this.strm.avail_out=0;let n=Sl.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==cf)throw new Error(Ba[n]);if(t.header&&Sl.deflateSetHeader(this.strm,t.header),t.dictionary){let r;if(typeof t.dictionary=="string"?r=f1.string2buf(t.dictionary):$6.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=Sl.deflateSetDictionary(this.strm,r),n!==cf)throw new Error(Ba[n]);this._dict_set=!0}}D1.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize;let i,a;if(this.ended)return!1;for(t===~~t?a=t:a=t===!0?nz:JH,typeof e=="string"?n.input=f1.string2buf(e):$6.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(a===ez||a===tz)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(i=Sl.deflate(n,a),i===rz)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),i=Sl.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===cf;if(n.avail_out===0){this.onData(n.output);continue}if(a>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(n.avail_in===0)break}return!0};D1.prototype.onData=function(e){this.chunks.push(e)};D1.prototype.onEnd=function(e){e===cf&&(this.result=hd.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Vg(e,t){const n=new D1(t);if(n.push(e,!0),n.err)throw n.msg||Ba[n.err];return n.result}function oz(e,t){return t=t||{},t.raw=!0,Vg(e,t)}function lz(e,t){return t=t||{},t.gzip=!0,Vg(e,t)}var cz=D1,uz=Vg,fz=oz,dz=lz,hz=qa,pz={Deflate:cz,deflate:uz,deflateRaw:fz,gzip:dz,constants:hz};const Hc=16209,mz=16191;var gz=function(t,n){let r,i,a,s,o,l,c,u,f,d,h,g,E,b,m,T,_,v,N,S,A,k,I,P;const D=t.state;r=t.next_in,I=t.input,i=r+(t.avail_in-5),a=t.next_out,P=t.output,s=a-(n-t.avail_out),o=a+(t.avail_out-257),l=D.dmax,c=D.wsize,u=D.whave,f=D.wnext,d=D.window,h=D.hold,g=D.bits,E=D.lencode,b=D.distcode,m=(1<<D.lenbits)-1,T=(1<<D.distbits)-1;e:do{g<15&&(h+=I[r++]<<g,g+=8,h+=I[r++]<<g,g+=8),_=E[h&m];t:for(;;){if(v=_>>>24,h>>>=v,g-=v,v=_>>>16&255,v===0)P[a++]=_&65535;else if(v&16){N=_&65535,v&=15,v&&(g<v&&(h+=I[r++]<<g,g+=8),N+=h&(1<<v)-1,h>>>=v,g-=v),g<15&&(h+=I[r++]<<g,g+=8,h+=I[r++]<<g,g+=8),_=b[h&T];n:for(;;){if(v=_>>>24,h>>>=v,g-=v,v=_>>>16&255,v&16){if(S=_&65535,v&=15,g<v&&(h+=I[r++]<<g,g+=8,g<v&&(h+=I[r++]<<g,g+=8)),S+=h&(1<<v)-1,S>l){t.msg="invalid distance too far back",D.mode=Hc;break e}if(h>>>=v,g-=v,v=a-s,S>v){if(v=S-v,v>u&&D.sane){t.msg="invalid distance too far back",D.mode=Hc;break e}if(A=0,k=d,f===0){if(A+=c-v,v<N){N-=v;do P[a++]=d[A++];while(--v);A=a-S,k=P}}else if(f<v){if(A+=c+f-v,v-=f,v<N){N-=v;do P[a++]=d[A++];while(--v);if(A=0,f<N){v=f,N-=v;do P[a++]=d[A++];while(--v);A=a-S,k=P}}}else if(A+=f-v,v<N){N-=v;do P[a++]=d[A++];while(--v);A=a-S,k=P}for(;N>2;)P[a++]=k[A++],P[a++]=k[A++],P[a++]=k[A++],N-=3;N&&(P[a++]=k[A++],N>1&&(P[a++]=k[A++]))}else{A=a-S;do P[a++]=P[A++],P[a++]=P[A++],P[a++]=P[A++],N-=3;while(N>2);N&&(P[a++]=P[A++],N>1&&(P[a++]=P[A++]))}}else if(v&64){t.msg="invalid distance code",D.mode=Hc;break e}else{_=b[(_&65535)+(h&(1<<v)-1)];continue n}break}}else if(v&64)if(v&32){D.mode=mz;break e}else{t.msg="invalid literal/length code",D.mode=Hc;break e}else{_=E[(_&65535)+(h&(1<<v)-1)];continue t}break}}while(r<i&&a<o);N=g>>3,r-=N,g-=N<<3,h&=(1<<g)-1,t.next_in=r,t.next_out=a,t.avail_in=r<i?5+(i-r):5-(r-i),t.avail_out=a<o?257+(o-a):257-(a-o),D.hold=h,D.bits=g};const ss=15,z_=852,j_=592,$_=0,zh=1,G_=2,Ez=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),_z=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),Tz=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),yz=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),vz=(e,t,n,r,i,a,s,o)=>{const l=o.bits;let c=0,u=0,f=0,d=0,h=0,g=0,E=0,b=0,m=0,T=0,_,v,N,S,A,k=null,I;const P=new Uint16Array(ss+1),D=new Uint16Array(ss+1);let z=null,X,Q,Y;for(c=0;c<=ss;c++)P[c]=0;for(u=0;u<r;u++)P[t[n+u]]++;for(h=l,d=ss;d>=1&&P[d]===0;d--);if(h>d&&(h=d),d===0)return i[a++]=1<<24|64<<16|0,i[a++]=1<<24|64<<16|0,o.bits=1,0;for(f=1;f<d&&P[f]===0;f++);for(h<f&&(h=f),b=1,c=1;c<=ss;c++)if(b<<=1,b-=P[c],b<0)return-1;if(b>0&&(e===$_||d!==1))return-1;for(D[1]=0,c=1;c<ss;c++)D[c+1]=D[c]+P[c];for(u=0;u<r;u++)t[n+u]!==0&&(s[D[t[n+u]]++]=u);if(e===$_?(k=z=s,I=20):e===zh?(k=Ez,z=_z,I=257):(k=Tz,z=yz,I=0),T=0,u=0,c=f,A=a,g=h,E=0,N=-1,m=1<<h,S=m-1,e===zh&&m>z_||e===G_&&m>j_)return 1;for(;;){X=c-E,s[u]+1<I?(Q=0,Y=s[u]):s[u]>=I?(Q=z[s[u]-I],Y=k[s[u]-I]):(Q=32+64,Y=0),_=1<<c-E,v=1<<g,f=v;do v-=_,i[A+(T>>E)+v]=X<<24|Q<<16|Y|0;while(v!==0);for(_=1<<c-1;T&_;)_>>=1;if(_!==0?(T&=_-1,T+=_):T=0,u++,--P[c]===0){if(c===d)break;c=t[n+s[u]]}if(c>h&&(T&S)!==N){for(E===0&&(E=h),A+=f,g=c-E,b=1<<g;g+E<d&&(b-=P[g+E],!(b<=0));)g++,b<<=1;if(m+=1<<g,e===zh&&m>z_||e===G_&&m>j_)return 1;N=T&S,i[N]=h<<24|g<<16|A-a|0}}return T!==0&&(i[A+T]=c-E<<24|64<<16|0),o.bits=h,0};var Al=vz;const bz=0,G6=1,V6=2,{Z_FINISH:V_,Z_BLOCK:Sz,Z_TREES:zc,Z_OK:Ha,Z_STREAM_END:Az,Z_NEED_DICT:xz,Z_STREAM_ERROR:kn,Z_DATA_ERROR:K6,Z_MEM_ERROR:W6,Z_BUF_ERROR:Nz,Z_DEFLATED:K_}=qa,pd=16180,W_=16181,Y_=16182,q_=16183,X_=16184,Q_=16185,Z_=16186,J_=16187,e4=16188,t4=16189,uf=16190,Or=16191,jh=16192,n4=16193,$h=16194,r4=16195,i4=16196,a4=16197,s4=16198,jc=16199,$c=16200,o4=16201,l4=16202,c4=16203,u4=16204,f4=16205,Gh=16206,d4=16207,h4=16208,$e=16209,Y6=16210,q6=16211,wz=852,Cz=592,kz=15,Oz=kz,p4=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function Rz(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Xa=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.mode<pd||t.mode>q6?1:0},X6=e=>{if(Xa(e))return kn;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=pd,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(wz),t.distcode=t.distdyn=new Int32Array(Cz),t.sane=1,t.back=-1,Ha},Q6=e=>{if(Xa(e))return kn;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,X6(e)},Z6=(e,t)=>{let n;if(Xa(e))return kn;const r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?kn:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Q6(e))},J6=(e,t)=>{if(!e)return kn;const n=new Rz;e.state=n,n.strm=e,n.window=null,n.mode=pd;const r=Z6(e,t);return r!==Ha&&(e.state=null),r},Iz=e=>J6(e,Oz);let m4=!0,Vh,Kh;const Mz=e=>{if(m4){Vh=new Int32Array(512),Kh=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Al(G6,e.lens,0,288,Vh,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Al(V6,e.lens,0,32,Kh,0,e.work,{bits:5}),m4=!1}e.lencode=Vh,e.lenbits=9,e.distcode=Kh,e.distbits=5},eS=(e,t,n,r)=>{let i;const a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),r>=a.wsize?(a.window.set(t.subarray(n-a.wsize,n),0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>r&&(i=r),a.window.set(t.subarray(n-r,n-r+i),a.wnext),r-=i,r?(a.window.set(t.subarray(n-r,n),0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0},Lz=(e,t)=>{let n,r,i,a,s,o,l,c,u,f,d,h,g,E,b=0,m,T,_,v,N,S,A,k;const I=new Uint8Array(4);let P,D;const z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Xa(e)||!e.output||!e.input&&e.avail_in!==0)return kn;n=e.state,n.mode===Or&&(n.mode=jh),s=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,o=e.avail_in,c=n.hold,u=n.bits,f=o,d=l,k=Ha;e:for(;;)switch(n.mode){case pd:if(n.wrap===0){n.mode=jh;break}for(;u<16;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}if(n.wrap&2&&c===35615){n.wbits===0&&(n.wbits=15),n.check=0,I[0]=c&255,I[1]=c>>>8&255,n.check=ht(n.check,I,2,0),c=0,u=0,n.mode=W_;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((c&255)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=$e;break}if((c&15)!==K_){e.msg="unknown compression method",n.mode=$e;break}if(c>>>=4,u-=4,A=(c&15)+8,n.wbits===0&&(n.wbits=A),A>15||A>n.wbits){e.msg="invalid window size",n.mode=$e;break}n.dmax=1<<n.wbits,n.flags=0,e.adler=n.check=1,n.mode=c&512?t4:Or,c=0,u=0;break;case W_:for(;u<16;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}if(n.flags=c,(n.flags&255)!==K_){e.msg="unknown compression method",n.mode=$e;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=$e;break}n.head&&(n.head.text=c>>8&1),n.flags&512&&n.wrap&4&&(I[0]=c&255,I[1]=c>>>8&255,n.check=ht(n.check,I,2,0)),c=0,u=0,n.mode=Y_;case Y_:for(;u<32;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}n.head&&(n.head.time=c),n.flags&512&&n.wrap&4&&(I[0]=c&255,I[1]=c>>>8&255,I[2]=c>>>16&255,I[3]=c>>>24&255,n.check=ht(n.check,I,4,0)),c=0,u=0,n.mode=q_;case q_:for(;u<16;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}n.head&&(n.head.xflags=c&255,n.head.os=c>>8),n.flags&512&&n.wrap&4&&(I[0]=c&255,I[1]=c>>>8&255,n.check=ht(n.check,I,2,0)),c=0,u=0,n.mode=X_;case X_:if(n.flags&1024){for(;u<16;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}n.length=c,n.head&&(n.head.extra_len=c),n.flags&512&&n.wrap&4&&(I[0]=c&255,I[1]=c>>>8&255,n.check=ht(n.check,I,2,0)),c=0,u=0}else n.head&&(n.head.extra=null);n.mode=Q_;case Q_:if(n.flags&1024&&(h=n.length,h>o&&(h=o),h&&(n.head&&(A=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(a,a+h),A)),n.flags&512&&n.wrap&4&&(n.check=ht(n.check,r,h,a)),o-=h,a+=h,n.length-=h),n.length))break e;n.length=0,n.mode=Z_;case Z_:if(n.flags&2048){if(o===0)break e;h=0;do A=r[a+h++],n.head&&A&&n.length<65536&&(n.head.name+=String.fromCharCode(A));while(A&&h<o);if(n.flags&512&&n.wrap&4&&(n.check=ht(n.check,r,h,a)),o-=h,a+=h,A)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=J_;case J_:if(n.flags&4096){if(o===0)break e;h=0;do A=r[a+h++],n.head&&A&&n.length<65536&&(n.head.comment+=String.fromCharCode(A));while(A&&h<o);if(n.flags&512&&n.wrap&4&&(n.check=ht(n.check,r,h,a)),o-=h,a+=h,A)break e}else n.head&&(n.head.comment=null);n.mode=e4;case e4:if(n.flags&512){for(;u<16;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}if(n.wrap&4&&c!==(n.check&65535)){e.msg="header crc mismatch",n.mode=$e;break}c=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Or;break;case t4:for(;u<32;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}e.adler=n.check=p4(c),c=0,u=0,n.mode=uf;case uf:if(n.havedict===0)return e.next_out=s,e.avail_out=l,e.next_in=a,e.avail_in=o,n.hold=c,n.bits=u,xz;e.adler=n.check=1,n.mode=Or;case Or:if(t===Sz||t===zc)break e;case jh:if(n.last){c>>>=u&7,u-=u&7,n.mode=Gh;break}for(;u<3;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}switch(n.last=c&1,c>>>=1,u-=1,c&3){case 0:n.mode=n4;break;case 1:if(Mz(n),n.mode=jc,t===zc){c>>>=2,u-=2;break e}break;case 2:n.mode=i4;break;case 3:e.msg="invalid block type",n.mode=$e}c>>>=2,u-=2;break;case n4:for(c>>>=u&7,u-=u&7;u<32;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}if((c&65535)!==(c>>>16^65535)){e.msg="invalid stored block lengths",n.mode=$e;break}if(n.length=c&65535,c=0,u=0,n.mode=$h,t===zc)break e;case $h:n.mode=r4;case r4:if(h=n.length,h){if(h>o&&(h=o),h>l&&(h=l),h===0)break e;i.set(r.subarray(a,a+h),s),o-=h,a+=h,l-=h,s+=h,n.length-=h;break}n.mode=Or;break;case i4:for(;u<14;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}if(n.nlen=(c&31)+257,c>>>=5,u-=5,n.ndist=(c&31)+1,c>>>=5,u-=5,n.ncode=(c&15)+4,c>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=$e;break}n.have=0,n.mode=a4;case a4:for(;n.have<n.ncode;){for(;u<3;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}n.lens[z[n.have++]]=c&7,c>>>=3,u-=3}for(;n.have<19;)n.lens[z[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,P={bits:n.lenbits},k=Al(bz,n.lens,0,19,n.lencode,0,n.work,P),n.lenbits=P.bits,k){e.msg="invalid code lengths set",n.mode=$e;break}n.have=0,n.mode=s4;case s4:for(;n.have<n.nlen+n.ndist;){for(;b=n.lencode[c&(1<<n.lenbits)-1],m=b>>>24,T=b>>>16&255,_=b&65535,!(m<=u);){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}if(_<16)c>>>=m,u-=m,n.lens[n.have++]=_;else{if(_===16){for(D=m+2;u<D;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}if(c>>>=m,u-=m,n.have===0){e.msg="invalid bit length repeat",n.mode=$e;break}A=n.lens[n.have-1],h=3+(c&3),c>>>=2,u-=2}else if(_===17){for(D=m+3;u<D;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}c>>>=m,u-=m,A=0,h=3+(c&7),c>>>=3,u-=3}else{for(D=m+7;u<D;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}c>>>=m,u-=m,A=0,h=11+(c&127),c>>>=7,u-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=$e;break}for(;h--;)n.lens[n.have++]=A}}if(n.mode===$e)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=$e;break}if(n.lenbits=9,P={bits:n.lenbits},k=Al(G6,n.lens,0,n.nlen,n.lencode,0,n.work,P),n.lenbits=P.bits,k){e.msg="invalid literal/lengths set",n.mode=$e;break}if(n.distbits=6,n.distcode=n.distdyn,P={bits:n.distbits},k=Al(V6,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,P),n.distbits=P.bits,k){e.msg="invalid distances set",n.mode=$e;break}if(n.mode=jc,t===zc)break e;case jc:n.mode=$c;case $c:if(o>=6&&l>=258){e.next_out=s,e.avail_out=l,e.next_in=a,e.avail_in=o,n.hold=c,n.bits=u,gz(e,d),s=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,r=e.input,o=e.avail_in,c=n.hold,u=n.bits,n.mode===Or&&(n.back=-1);break}for(n.back=0;b=n.lencode[c&(1<<n.lenbits)-1],m=b>>>24,T=b>>>16&255,_=b&65535,!(m<=u);){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}if(T&&!(T&240)){for(v=m,N=T,S=_;b=n.lencode[S+((c&(1<<v+N)-1)>>v)],m=b>>>24,T=b>>>16&255,_=b&65535,!(v+m<=u);){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}c>>>=v,u-=v,n.back+=v}if(c>>>=m,u-=m,n.back+=m,n.length=_,T===0){n.mode=f4;break}if(T&32){n.back=-1,n.mode=Or;break}if(T&64){e.msg="invalid literal/length code",n.mode=$e;break}n.extra=T&15,n.mode=o4;case o4:if(n.extra){for(D=n.extra;u<D;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=l4;case l4:for(;b=n.distcode[c&(1<<n.distbits)-1],m=b>>>24,T=b>>>16&255,_=b&65535,!(m<=u);){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}if(!(T&240)){for(v=m,N=T,S=_;b=n.distcode[S+((c&(1<<v+N)-1)>>v)],m=b>>>24,T=b>>>16&255,_=b&65535,!(v+m<=u);){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}c>>>=v,u-=v,n.back+=v}if(c>>>=m,u-=m,n.back+=m,T&64){e.msg="invalid distance code",n.mode=$e;break}n.offset=_,n.extra=T&15,n.mode=c4;case c4:if(n.extra){for(D=n.extra;u<D;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=$e;break}n.mode=u4;case u4:if(l===0)break e;if(h=d-l,n.offset>h){if(h=n.offset-h,h>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=$e;break}h>n.wnext?(h-=n.wnext,g=n.wsize-h):g=n.wnext-h,h>n.length&&(h=n.length),E=n.window}else E=i,g=s-n.offset,h=n.length;h>l&&(h=l),l-=h,n.length-=h;do i[s++]=E[g++];while(--h);n.length===0&&(n.mode=$c);break;case f4:if(l===0)break e;i[s++]=n.length,l--,n.mode=$c;break;case Gh:if(n.wrap){for(;u<32;){if(o===0)break e;o--,c|=r[a++]<<u,u+=8}if(d-=l,e.total_out+=d,n.total+=d,n.wrap&4&&d&&(e.adler=n.check=n.flags?ht(n.check,i,d,s-d):c1(n.check,i,d,s-d)),d=l,n.wrap&4&&(n.flags?c:p4(c))!==n.check){e.msg="incorrect data check",n.mode=$e;break}c=0,u=0}n.mode=d4;case d4:if(n.wrap&&n.flags){for(;u<32;){if(o===0)break e;o--,c+=r[a++]<<u,u+=8}if(n.wrap&4&&c!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=$e;break}c=0,u=0}n.mode=h4;case h4:k=Az;break e;case $e:k=K6;break e;case Y6:return W6;case q6:default:return kn}return e.next_out=s,e.avail_out=l,e.next_in=a,e.avail_in=o,n.hold=c,n.bits=u,(n.wsize||d!==e.avail_out&&n.mode<$e&&(n.mode<Gh||t!==V_))&&eS(e,e.output,e.next_out,d-e.avail_out),f-=e.avail_in,d-=e.avail_out,e.total_in+=f,e.total_out+=d,n.total+=d,n.wrap&4&&d&&(e.adler=n.check=n.flags?ht(n.check,i,d,e.next_out-d):c1(n.check,i,d,e.next_out-d)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Or?128:0)+(n.mode===jc||n.mode===$h?256:0),(f===0&&d===0||t===V_)&&k===Ha&&(k=Nz),k},Pz=e=>{if(Xa(e))return kn;let t=e.state;return t.window&&(t.window=null),e.state=null,Ha},Dz=(e,t)=>{if(Xa(e))return kn;const n=e.state;return n.wrap&2?(n.head=t,t.done=!1,Ha):kn},Fz=(e,t)=>{const n=t.length;let r,i,a;return Xa(e)||(r=e.state,r.wrap!==0&&r.mode!==uf)?kn:r.mode===uf&&(i=1,i=c1(i,t,n,0),i!==r.check)?K6:(a=eS(e,t,n,n),a?(r.mode=Y6,W6):(r.havedict=1,Ha))};var Bz=Q6,Uz=Z6,Hz=X6,zz=Iz,jz=J6,$z=Lz,Gz=Pz,Vz=Dz,Kz=Fz,Wz="pako inflate (from Nodeca project)",Dr={inflateReset:Bz,inflateReset2:Uz,inflateResetKeep:Hz,inflateInit:zz,inflateInit2:jz,inflate:$z,inflateEnd:Gz,inflateGetHeader:Vz,inflateSetDictionary:Kz,inflateInfo:Wz};function Yz(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var qz=Yz;const tS=Object.prototype.toString,{Z_NO_FLUSH:Xz,Z_FINISH:Qz,Z_OK:d1,Z_STREAM_END:Wh,Z_NEED_DICT:Yh,Z_STREAM_ERROR:Zz,Z_DATA_ERROR:g4,Z_MEM_ERROR:Jz}=qa;function F1(e){this.options=hd.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new j6,this.strm.avail_out=0;let n=Dr.inflateInit2(this.strm,t.windowBits);if(n!==d1)throw new Error(Ba[n]);if(this.header=new qz,Dr.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=f1.string2buf(t.dictionary):tS.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=Dr.inflateSetDictionary(this.strm,t.dictionary),n!==d1)))throw new Error(Ba[n])}F1.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,i=this.options.dictionary;let a,s,o;if(this.ended)return!1;for(t===~~t?s=t:s=t===!0?Qz:Xz,tS.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),a=Dr.inflate(n,s),a===Yh&&i&&(a=Dr.inflateSetDictionary(n,i),a===d1?a=Dr.inflate(n,s):a===g4&&(a=Yh));n.avail_in>0&&a===Wh&&n.state.wrap>0&&e[n.next_in]!==0;)Dr.inflateReset(n),a=Dr.inflate(n,s);switch(a){case Zz:case g4:case Yh:case Jz:return this.onEnd(a),this.ended=!0,!1}if(o=n.avail_out,n.next_out&&(n.avail_out===0||a===Wh))if(this.options.to==="string"){let l=f1.utf8border(n.output,n.next_out),c=n.next_out-l,u=f1.buf2string(n.output,l);n.next_out=c,n.avail_out=r-c,c&&n.output.set(n.output.subarray(l,l+c),0),this.onData(u)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(a===d1&&o===0)){if(a===Wh)return a=Dr.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(n.avail_in===0)break}}return!0};F1.prototype.onData=function(e){this.chunks.push(e)};F1.prototype.onEnd=function(e){e===d1&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=hd.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Kg(e,t){const n=new F1(t);if(n.push(e),n.err)throw n.msg||Ba[n.err];return n.result}function ej(e,t){return t=t||{},t.raw=!0,Kg(e,t)}var tj=F1,nj=Kg,rj=ej,ij=Kg,aj=qa,sj={Inflate:tj,inflate:nj,inflateRaw:rj,ungzip:ij,constants:aj};const{Deflate:oj,deflate:lj,deflateRaw:cj,gzip:uj}=pz,{Inflate:fj,inflate:dj,inflateRaw:hj,ungzip:pj}=sj;var mj=oj,gj=lj,Ej=cj,_j=uj,Tj=fj,yj=dj,vj=hj,bj=pj,Sj=qa,Aj={Deflate:mj,deflate:gj,deflateRaw:Ej,gzip:_j,Inflate:Tj,inflate:yj,inflateRaw:vj,ungzip:bj,constants:Sj};const nS=({chart:e,title:t,fallback:n,onLoad:r})=>{const[i,a]=L.useState(""),[s,o]=L.useState(null);return L.useEffect(()=>{const l=u=>{const f=document.documentElement.classList.contains("dark")?"dark":"default",h=JSON.stringify({code:u,mermaid:{theme:f}}),g=Aj.deflate(h);return btoa(String.fromCharCode(...Array.from(g))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")};(async()=>{try{const f=`https://mermaid.ink/svg/pako:${l(e)}`;a(f),o(null)}catch(u){console.error("Failed to render mermaid diagram:",u),o(u instanceof Error?u:new Error(String(u)))}})()},[e]),s&&n?n(s):y.jsxs("div",{className:"group relative my-4",children:[y.jsxs("div",{className:"relative mb-2 flex flex-row flex-nowrap items-center gap-4",children:[y.jsx("div",{className:"font-medium",children:t}),y.jsxs("div",{className:"invisible absolute right-0 top-0 flex flex-row items-center divide-x-2 divide-ide-border rounded border-2 border-ide-border group-hover:visible",children:[y.jsx(xj,{imageUrl:i}),y.jsx(Nj,{code:e})]})]}),y.jsx("div",{className:"w-full",children:i&&y.jsx("img",{src:i,alt:"Mermaid diagram",className:"h-auto w-full",onError:()=>o(new Error("Failed to load diagram")),onLoad:()=>{r==null||r()}})})]})},xj=({imageUrl:e})=>y.jsx("a",{href:e,target:"_blank",rel:"noopener noreferrer",title:"Open diagram in new tab",className:"flex h-7 w-7 flex-row items-center justify-center bg-ide-editor-bg p-1 hover:bg-ide-chat-input-bg",children:y.jsx(me.FileExport,{})}),Nj=({code:e})=>{const[t,n]=L.useState(!1);return y.jsx("button",{title:"Copy diagram code",className:"flex h-7 w-7 flex-row items-center justify-center bg-ide-editor-bg p-1 hover:bg-ide-chat-input-bg",onClick:()=>{Ur({message:{target:"extension",request:"copyToClipboard",content:e}}),n(!0)},onBlur:()=>n(!1),children:t?y.jsx(me.Check,{}):y.jsx(me.Copy,{})})},wj=e=>e.contextType==="uri",rS=e=>e.contextType==="location",Cj=e=>wj(e)?e.uri:rS(e)?e.location.uri:null,kj=e=>rS(e)?e.location.range:null,Oj=({message:e})=>{window.sourceryLS.postMessage({message:e})},Wg=({contextIndicators:e,className:t})=>!e||!e.length?null:y.jsx("div",{className:We("flex flex-row gap-2 flex-wrap",t),children:e.map((n,r)=>{const i=Cj(n),a=i?()=>{Oj({message:{target:"extension",request:"openLink",linkType:"file",link:i.slice(7),documentRange:kj(n)}})}:void 0;return y.jsxs("span",{className:We("text-sm text-ide-disabled-text",a&&"cursor-pointer hover:text-ide-primary-btn-bg"),onClick:a,children:[n.tag&&y.jsxs("span",{className:"font-bold",children:[n.tag,": "]}),n.label]},r)})}),E4=({copyValue:e})=>{const[t,n]=L.useState(!1);return y.jsx("button",{title:"Copy to clipboard",className:"flex h-7 w-7 flex-row items-center justify-center bg-ide-editor-bg p-1 hover:bg-ide-chat-input-bg",onClick:()=>{Ur({message:{target:"extension",request:"copyToClipboard",content:e}}),n(!0)},onBlur:()=>n(!1),children:t?y.jsx(me.Check,{}):y.jsx(me.Copy,{})})},_4=({copyValue:e})=>y.jsx("button",{title:"Insert at cursor",className:"flex h-7 w-7 flex-row items-center justify-center bg-ide-editor-bg p-1 hover:bg-ide-chat-input-bg",onClick:()=>Ur({message:{target:"extension",request:"insertAtCursor",content:e}}),children:y.jsx(me.FileExport,{})}),Rj=({onApplyFix:e,filePath:t})=>y.jsx("button",{title:"Apply fix",className:"flex h-7 flex-row items-center justify-center gap-1 bg-ide-editor-bg px-2 py-1 hover:bg-ide-chat-input-bg",onClick:()=>{e(),t&&Ur({message:{target:"extension",request:"openLink",link:t.startsWith("file://")?t.slice(7):t,linkType:"file",documentRange:null}})},children:y.jsx(me.FileExport,{})}),Ij=({inline:e=!1,className:t,children:n,filePathLink:r,hideCodeButtons:i,onApplyFix:a,onApplyFixes:s,isComplete:o=!0,onImageLoad:l})=>{const c=_6(n),u=Lj(c),f=u.length>0,{showLink:d,linkText:h,filename:g,filePath:E}=Mj(r);return!e&&(t!=null&&t.includes("language-mermaid"))&&o?y.jsx(nS,{chart:c,title:"",onLoad:l,fallback:b=>y.jsxs("div",{className:"group relative",title:`Failed to render Mermaid diagram: ${b.message}`,children:[y.jsx("pre",{className:We(t,"my-4 overflow-x-auto rounded bg-ide-editor-bg px-4 py-3"),children:y.jsx("code",{className:t,children:n})}),!i&&y.jsxs("div",{className:"invisible absolute right-3 top-3 flex flex-row items-center divide-x-2 divide-ide-border rounded border-2 border-ide-border group-hover:visible",children:[y.jsx(E4,{copyValue:c}),y.jsx(_4,{copyValue:c})]})]})}):e?y.jsx("code",{className:t,children:n}):y.jsxs("div",{className:"group relative",children:[y.jsx("pre",{className:We(t,"border-ide-border bg-ide-editor-bg overflow-x-auto rounded border px-4 py-3",d?"mt-8":"mt-6"),children:y.jsx("code",{className:t,children:n})}),d&&g&&y.jsx("div",{className:"absolute left-0 top-0 -translate-y-full",children:y.jsx(Wg,{contextIndicators:[{contextType:"uri",uri:`file://${h}`,label:g}],className:"rounded-t-md border border-b-0 border-ide-border bg-ide-editor-bg px-2 py-0.5 text-sm shadow-sm"})}),!i&&y.jsx("div",{className:"invisible absolute right-3 top-3 flex flex-row items-center divide-x-2 divide-ide-border rounded border-2 border-ide-border group-hover:visible",children:f&&E&&s?y.jsx("button",{title:"Apply changes",className:"flex h-7 flex-row items-center justify-center gap-1 bg-ide-editor-bg px-2 py-1 hover:bg-ide-chat-input-bg",onClick:()=>{s(E,u),Ur({message:{target:"extension",request:"openLink",link:E.startsWith("file://")?E.slice(7):E,linkType:"file",documentRange:null}})},children:y.jsx(me.FileExport,{})}):a?y.jsx(Rj,{onApplyFix:a,filePath:E}):y.jsxs(y.Fragment,{children:[y.jsx(E4,{copyValue:c}),y.jsx(_4,{copyValue:c})]})})]})};function Mj(e){const t=e==null?void 0:e.match(/\[(.*?)\]\((.*?)\)/),n=t==null?void 0:t[1],r=t==null?void 0:t[1],i=t==null?void 0:t[2],a=r==null?void 0:r.split(/[/\\]/).pop();return{showLink:a&&r&&i&&(i.startsWith("https")||i.startsWith("file")||i==="VALID_FILE"||i==="VALID_FILE_WITH_LINE_NUMBER"||i==="VALID_DIRECTORY"),linkText:r,filename:a,filePath:n}}function Lj(e){const t=[],n=/<<<<<<< SEARCH\n([\s\S]*?)=======\n([\s\S]*?)>>>>>>> REPLACE/g;let r;for(;(r=n.exec(e))!==null;){const i=r[1].trimEnd(),a=r[2].trimEnd();t.push({search:i,replace:a})}return t}const ks=({markdown:e,hideCodeButtons:t,onApplyFix:n,onApplyFixes:r,isComplete:i=!0,onImageLoad:a})=>y.jsx(Xb,{rehypePlugins:[[EP,{ignoreMissing:!0}],[ZB,{passThrough:["details","summary"]}]],transformLinkUri:s=>s.startsWith("https")||s.startsWith("file")||s==="VALID_FILE"||s==="VALID_FILE_WITH_LINE_NUMBER"||s==="VALID_DIRECTORY"?s:"",components:{h1({children:s}){return y.jsx("h1",{className:"mb-2 mt-6 text-lg font-bold first:mt-0 last:mb-0",children:s})},h2({children:s}){return y.jsx("h2",{className:"mt-2 font-bold first:mt-0",children:s})},h3({children:s}){return y.jsx("h3",{className:"mt-2 font-bold first:mt-0",children:s})},h4({children:s}){return y.jsx("h4",{className:"mt-2 font-bold first:mt-0",children:s})},h5({children:s}){return y.jsx("h5",{className:"mt-2 font-bold first:mt-0",children:s})},h6({children:s}){return y.jsx("h6",{className:"mt-2 font-bold first:mt-0",children:s})},ul({children:s}){return y.jsx("ul",{className:"list-disc pl-5",children:s})},ol({children:s}){return y.jsx("ol",{className:"list-disc pl-5",children:s})},p({children:s}){return y.jsx("p",{className:"mt-2 first:mt-0",children:s})},code({node:s,inline:o,className:l,children:c}){var g;const f=(g=s.data)==null?void 0:g.meta,d=f==null?void 0:f.match(/file_path=(.+)/),h=d==null?void 0:d[1];return y.jsx(Ij,{inline:o,className:l,filePathLink:h,hideCodeButtons:t,onApplyFix:n,onApplyFixes:r,isComplete:i,onImageLoad:a,children:c})},a({href:s,children:o}){if(!s)return y.jsx("span",{className:"bg-ide-error-bg text-ide-error-text",children:"[Missing link]"});if(s.startsWith("https"))return y.jsx("a",{className:"break-words underline hover:cursor-pointer",onClick:()=>Ur({message:{target:"extension",request:"openLink",link:s,linkType:"url",documentRange:null}}),children:o});if(s.startsWith("file"))return y.jsx("a",{className:"break-words underline hover:cursor-pointer",onClick:()=>Ur({message:{target:"extension",request:"openLink",linkType:"file",link:s.slice(7),documentRange:null}}),children:o});if(s==="VALID_FILE"||s==="VALID_FILE_WITH_LINE_NUMBER"){const l=String(o).replace(/\n$/,""),[c,u]=l.split(":"),f=parseInt(u,10)-1,d=isNaN(f)?null:{start:{line:f,character:0},end:{line:f,character:0}};return y.jsx("a",{className:"break-words underline hover:cursor-pointer",onClick:h=>{h.preventDefault(),Ur({message:{target:"extension",request:"openLink",link:c,linkType:"file",documentRange:d}})},children:o})}if(s==="VALID_DIRECTORY"){const l=String(o).replace(/\n$/,"");return y.jsx("a",{className:"break-words underline hover:cursor-pointer",onClick:c=>{c.preventDefault(),Ur({message:{target:"extension",request:"openLink",link:l,linkType:"directory",documentRange:null}})},children:o})}return y.jsx("span",{className:"bg-ide-error-bg text-ide-error-text",children:"[Invalid link]"})}},children:e}),iS=()=>y.jsxs("div",{className:"flex h-[1.5rem] flex-row items-center gap-1",children:[y.jsx("span",{className:"inline-block h-2 w-2 animate-oscillate-y rounded-full bg-ide-chat-input-text",style:{animationDelay:"0s"}}),y.jsx("span",{className:"inline-block h-2 w-2 animate-oscillate-y rounded-full bg-ide-chat-input-text",style:{animationDelay:"0.2s"}}),y.jsx("span",{className:"inline-block h-2 w-2 animate-oscillate-y rounded-full bg-ide-chat-input-text",style:{animationDelay:"0.4s"}})]}),aS=L.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),md=L.createContext({}),Yg=L.createContext(null),gd=typeof document<"u",Pj=gd?L.useLayoutEffect:L.useEffect,sS=L.createContext({strict:!1});function Dj(e,t,n,r){const{visualElement:i}=L.useContext(md),a=L.useContext(sS),s=L.useContext(Yg),o=L.useContext(aS).reducedMotion,l=L.useRef();r=r||a.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:o}));const c=l.current;L.useInsertionEffect(()=>{c&&c.update(n,s)});const u=L.useRef(!!window.HandoffAppearAnimations);return Pj(()=>{c&&(c.render(),u.current&&c.animationState&&c.animationState.animateChanges())}),L.useEffect(()=>{c&&(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,u.current=!1)}),c}function Os(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Fj(e,t,n){return L.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Os(n)&&(n.current=r))},[t])}function h1(e){return typeof e=="string"||Array.isArray(e)}function Ed(e){return typeof e=="object"&&typeof e.start=="function"}const qg=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Xg=["initial",...qg];function _d(e){return Ed(e.animate)||Xg.some(t=>h1(e[t]))}function oS(e){return!!(_d(e)||e.variants)}function Bj(e,t){if(_d(e)){const{initial:n,animate:r}=e;return{initial:n===!1||h1(n)?n:void 0,animate:h1(r)?r:void 0}}return e.inherit!==!1?t:{}}function Uj(e){const{initial:t,animate:n}=Bj(e,L.useContext(md));return L.useMemo(()=>({initial:t,animate:n}),[T4(t),T4(n)])}function T4(e){return Array.isArray(e)?e.join(" "):e}const y4={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},p1={};for(const e in y4)p1[e]={isEnabled:t=>y4[e].some(n=>!!t[n])};function Hj(e){for(const t in e)p1[t]={...p1[t],...e[t]}}const lS=L.createContext({}),cS=L.createContext({}),zj=Symbol.for("motionComponentSymbol");function jj({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&Hj(e);function a(o,l){let c;const u={...L.useContext(aS),...o,layoutId:$j(o)},{isStatic:f}=u,d=Uj(o),h=r(o,f);if(!f&&gd){d.visualElement=Dj(i,h,u,t);const g=L.useContext(cS),E=L.useContext(sS).strict;d.visualElement&&(c=d.visualElement.loadFeatures(u,E,e,g))}return L.createElement(md.Provider,{value:d},c&&d.visualElement?L.createElement(c,{visualElement:d.visualElement,...u}):null,n(i,o,Fj(h,d.visualElement,l),h,f,d.visualElement))}const s=L.forwardRef(a);return s[zj]=i,s}function $j({layoutId:e}){const t=L.useContext(lS).id;return t&&e!==void 0?t+"-"+e:e}function Gj(e){function t(r,i={}){return jj(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const Vj=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Qg(e){return typeof e!="string"||e.includes("-")?!1:!!(Vj.indexOf(e)>-1||/[A-Z]/.test(e))}const ff={};function Kj(e){Object.assign(ff,e)}const B1=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Qa=new Set(B1);function uS(e,{layout:t,layoutId:n}){return Qa.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!ff[e]||e==="opacity")}const Xt=e=>!!(e&&e.getVelocity),Wj={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Yj=B1.length;function qj(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let a="";for(let s=0;s<Yj;s++){const o=B1[s];if(e[o]!==void 0){const l=Wj[o]||o;a+=`${l}(${e[o]}) `}}return t&&!e.z&&(a+="translateZ(0)"),a=a.trim(),i?a=i(e,r?"":a):n&&r&&(a="none"),a}const fS=e=>t=>typeof t=="string"&&t.startsWith(e),dS=fS("--"),zp=fS("var(--"),Xj=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,Qj=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Wi=(e,t,n)=>Math.min(Math.max(n,e),t),Za={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},xl={...Za,transform:e=>Wi(0,1,e)},Gc={...Za,default:1},Nl=e=>Math.round(e*1e5)/1e5,Td=/(-)?([\d]*\.?[\d])+/g,hS=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Zj=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function U1(e){return typeof e=="string"}const H1=e=>({test:t=>U1(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),gi=H1("deg"),_r=H1("%"),oe=H1("px"),Jj=H1("vh"),e$=H1("vw"),v4={..._r,parse:e=>_r.parse(e)/100,transform:e=>_r.transform(e*100)},b4={...Za,transform:Math.round},pS={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,size:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,rotate:gi,rotateX:gi,rotateY:gi,rotateZ:gi,scale:Gc,scaleX:Gc,scaleY:Gc,scaleZ:Gc,skew:gi,skewX:gi,skewY:gi,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:xl,originX:v4,originY:v4,originZ:oe,zIndex:b4,fillOpacity:xl,strokeOpacity:xl,numOctaves:b4};function Zg(e,t,n,r){const{style:i,vars:a,transform:s,transformOrigin:o}=e;let l=!1,c=!1,u=!0;for(const f in t){const d=t[f];if(dS(f)){a[f]=d;continue}const h=pS[f],g=Qj(d,h);if(Qa.has(f)){if(l=!0,s[f]=g,!u)continue;d!==(h.default||0)&&(u=!1)}else f.startsWith("origin")?(c=!0,o[f]=g):i[f]=g}if(t.transform||(l||r?i.transform=qj(e.transform,n,u,r):i.transform&&(i.transform="none")),c){const{originX:f="50%",originY:d="50%",originZ:h=0}=o;i.transformOrigin=`${f} ${d} ${h}`}}const Jg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function mS(e,t,n){for(const r in t)!Xt(t[r])&&!uS(r,n)&&(e[r]=t[r])}function t$({transformTemplate:e},t,n){return L.useMemo(()=>{const r=Jg();return Zg(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function n$(e,t,n){const r=e.style||{},i={};return mS(i,r,e),Object.assign(i,t$(e,t,n)),e.transformValues?e.transformValues(i):i}function r$(e,t,n){const r={},i=n$(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const i$=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function df(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||i$.has(e)}let gS=e=>!df(e);function a$(e){e&&(gS=t=>t.startsWith("on")?!df(t):e(t))}try{a$(require("@emotion/is-prop-valid").default)}catch{}function s$(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(gS(i)||n===!0&&df(i)||!t&&!df(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function S4(e,t,n){return typeof e=="string"?e:oe.transform(t+n*e)}function o$(e,t,n){const r=S4(t,e.x,e.width),i=S4(n,e.y,e.height);return`${r} ${i}`}const l$={offset:"stroke-dashoffset",array:"stroke-dasharray"},c$={offset:"strokeDashoffset",array:"strokeDasharray"};function u$(e,t,n=1,r=0,i=!0){e.pathLength=1;const a=i?l$:c$;e[a.offset]=oe.transform(-r);const s=oe.transform(t),o=oe.transform(n);e[a.array]=`${s} ${o}`}function e9(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:a,pathLength:s,pathSpacing:o=1,pathOffset:l=0,...c},u,f,d){if(Zg(e,c,u,d),f){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:g,dimensions:E}=e;h.transform&&(E&&(g.transform=h.transform),delete h.transform),E&&(i!==void 0||a!==void 0||g.transform)&&(g.transformOrigin=o$(E,i!==void 0?i:.5,a!==void 0?a:.5)),t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),r!==void 0&&(h.scale=r),s!==void 0&&u$(h,s,o,l,!1)}const ES=()=>({...Jg(),attrs:{}}),t9=e=>typeof e=="string"&&e.toLowerCase()==="svg";function f$(e,t,n,r){const i=L.useMemo(()=>{const a=ES();return e9(a,t,{enableHardwareAcceleration:!1},t9(r),e.transformTemplate),{...a.attrs,style:{...a.style}}},[t]);if(e.style){const a={};mS(a,e.style,e),i.style={...a,...i.style}}return i}function d$(e=!1){return(n,r,i,{latestValues:a},s)=>{const l=(Qg(n)?f$:r$)(r,a,s,n),u={...s$(r,typeof n=="string",e),...l,ref:i},{children:f}=r,d=L.useMemo(()=>Xt(f)?f.get():f,[f]);return L.createElement(n,{...u,children:d})}}const n9=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function _S(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const a in n)e.style.setProperty(a,n[a])}const TS=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function yS(e,t,n,r){_S(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(TS.has(i)?i:n9(i),t.attrs[i])}function r9(e,t){const{style:n}=e,r={};for(const i in n)(Xt(n[i])||t.style&&Xt(t.style[i])||uS(i,e))&&(r[i]=n[i]);return r}function vS(e,t){const n=r9(e,t);for(const r in e)if(Xt(e[r])||Xt(t[r])){const i=B1.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[i]=e[r]}return n}function i9(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function h$(e){const t=L.useRef(null);return t.current===null&&(t.current=e()),t.current}const hf=e=>Array.isArray(e),p$=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),m$=e=>hf(e)?e[e.length-1]||0:e;function Eu(e){const t=Xt(e)?e.get():e;return p$(t)?t.toValue():t}function g$({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,a){const s={latestValues:E$(r,i,a,e),renderState:t()};return n&&(s.mount=o=>n(r,o,s)),s}const bS=e=>(t,n)=>{const r=L.useContext(md),i=L.useContext(Yg),a=()=>g$(e,t,r,i);return n?a():h$(a)};function E$(e,t,n,r){const i={},a=r(e,{});for(const d in a)i[d]=Eu(a[d]);let{initial:s,animate:o}=e;const l=_d(e),c=oS(e);t&&c&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),o===void 0&&(o=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const f=u?o:s;return f&&typeof f!="boolean"&&!Ed(f)&&(Array.isArray(f)?f:[f]).forEach(h=>{const g=i9(e,h);if(!g)return;const{transitionEnd:E,transition:b,...m}=g;for(const T in m){let _=m[T];if(Array.isArray(_)){const v=u?_.length-1:0;_=_[v]}_!==null&&(i[T]=_)}for(const T in E)i[T]=E[T]}),i}const et=e=>e;function _$(e){let t=[],n=[],r=0,i=!1,a=!1;const s=new WeakSet,o={schedule:(l,c=!1,u=!1)=>{const f=u&&i,d=f?t:n;return c&&s.add(l),d.indexOf(l)===-1&&(d.push(l),f&&i&&(r=t.length)),l},cancel:l=>{const c=n.indexOf(l);c!==-1&&n.splice(c,1),s.delete(l)},process:l=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let c=0;c<r;c++){const u=t[c];u(l),s.has(u)&&(o.schedule(u),e())}i=!1,a&&(a=!1,o.process(l))}};return o}const Vc=["prepare","read","update","preRender","render","postRender"],T$=40;function y$(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},a=Vc.reduce((f,d)=>(f[d]=_$(()=>n=!0),f),{}),s=f=>a[f].process(i),o=()=>{const f=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(f-i.timestamp,T$),1),i.timestamp=f,i.isProcessing=!0,Vc.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(o))},l=()=>{n=!0,r=!0,i.isProcessing||e(o)};return{schedule:Vc.reduce((f,d)=>{const h=a[d];return f[d]=(g,E=!1,b=!1)=>(n||l(),h.schedule(g,E,b)),f},{}),cancel:f=>Vc.forEach(d=>a[d].cancel(f)),state:i,steps:a}}const{schedule:ze,cancel:Zr,state:wt,steps:qh}=y$(typeof requestAnimationFrame<"u"?requestAnimationFrame:et,!0),v$={useVisualState:bS({scrapeMotionValuesFromProps:vS,createRenderState:ES,onMount:(e,t,{renderState:n,latestValues:r})=>{ze.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),ze.render(()=>{e9(n,r,{enableHardwareAcceleration:!1},t9(t.tagName),e.transformTemplate),yS(t,n)})}})},b$={useVisualState:bS({scrapeMotionValuesFromProps:r9,createRenderState:Jg})};function S$(e,{forwardMotionProps:t=!1},n,r){return{...Qg(e)?v$:b$,preloadedFeatures:n,useRender:d$(t),createVisualElement:r,Component:e}}function Hr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const SS=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function yd(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const A$=e=>t=>SS(t)&&e(t,yd(t));function jr(e,t,n,r){return Hr(e,t,A$(n),r)}const x$=(e,t)=>n=>t(e(n)),Hi=(...e)=>e.reduce(x$);function AS(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const A4=AS("dragHorizontal"),x4=AS("dragVertical");function xS(e){let t=!1;if(e==="y")t=x4();else if(e==="x")t=A4();else{const n=A4(),r=x4();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function NS(){const e=xS(!0);return e?(e(),!1):!0}class ea{constructor(t){this.isMounted=!1,this.node=t}update(){}}function N4(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),i=(a,s)=>{if(a.type==="touch"||NS())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&ze.update(()=>o[r](a,s))};return jr(e.current,n,i,{passive:!e.getProps()[r]})}class N$ extends ea{mount(){this.unmount=Hi(N4(this.node,!0),N4(this.node,!1))}unmount(){}}class w$ extends ea{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Hi(Hr(this.node.current,"focus",()=>this.onFocus()),Hr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const wS=(e,t)=>t?e===t?!0:wS(e,t.parentElement):!1;function Xh(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,yd(n))}class C$ extends ea{constructor(){super(...arguments),this.removeStartListeners=et,this.removeEndListeners=et,this.removeAccessibleListeners=et,this.startPointerPress=(t,n)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),a=jr(window,"pointerup",(o,l)=>{if(!this.checkPressEnd())return;const{onTap:c,onTapCancel:u}=this.node.getProps();ze.update(()=>{wS(this.node.current,o.target)?c&&c(o,l):u&&u(o,l)})},{passive:!(r.onTap||r.onPointerUp)}),s=jr(window,"pointercancel",(o,l)=>this.cancelPress(o,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Hi(a,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=a=>{if(a.key!=="Enter"||this.isPressing)return;const s=o=>{o.key!=="Enter"||!this.checkPressEnd()||Xh("up",(l,c)=>{const{onTap:u}=this.node.getProps();u&&ze.update(()=>u(l,c))})};this.removeEndListeners(),this.removeEndListeners=Hr(this.node.current,"keyup",s),Xh("down",(o,l)=>{this.startPress(o,l)})},n=Hr(this.node.current,"keydown",t),r=()=>{this.isPressing&&Xh("cancel",(a,s)=>this.cancelPress(a,s))},i=Hr(this.node.current,"blur",r);this.removeAccessibleListeners=Hi(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&ze.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!NS()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&ze.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=jr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Hr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Hi(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const jp=new WeakMap,Qh=new WeakMap,k$=e=>{const t=jp.get(e.target);t&&t(e)},O$=e=>{e.forEach(k$)};function R$({root:e,...t}){const n=e||document;Qh.has(n)||Qh.set(n,{});const r=Qh.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(O$,{root:e,...t})),r[i]}function I$(e,t,n){const r=R$(t);return jp.set(e,n),r.observe(e),()=>{jp.delete(e),r.unobserve(e)}}const M$={some:0,all:1};class L$ extends ea{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:a}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:M$[i]},o=l=>{const{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,a&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);const{onViewportEnter:u,onViewportLeave:f}=this.node.getProps(),d=c?u:f;d&&d(l)};return I$(this.node.current,s,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(P$(t,n))&&this.startObserver()}unmount(){}}function P$({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const D$={inView:{Feature:L$},tap:{Feature:C$},focus:{Feature:w$},hover:{Feature:N$}};function CS(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function F$(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function B$(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function vd(e,t,n){const r=e.getProps();return i9(r,t,n!==void 0?n:r.custom,F$(e),B$(e))}const U$="framerAppearId",H$="data-"+n9(U$);let z$=et,a9=et;const zi=e=>e*1e3,$r=e=>e/1e3,j$={current:!1},kS=e=>Array.isArray(e)&&typeof e[0]=="number";function OS(e){return!!(!e||typeof e=="string"&&RS[e]||kS(e)||Array.isArray(e)&&e.every(OS))}const nl=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,RS={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:nl([0,.65,.55,1]),circOut:nl([.55,0,1,.45]),backIn:nl([.31,.01,.66,-.59]),backOut:nl([.33,1.53,.69,.99])};function IS(e){if(e)return kS(e)?nl(e):Array.isArray(e)?e.map(IS):RS[e]}function $$(e,t,n,{delay:r=0,duration:i,repeat:a=0,repeatType:s="loop",ease:o,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=IS(o);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:s==="reverse"?"alternate":"normal"})}function G$(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const MS=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,V$=1e-7,K$=12;function W$(e,t,n,r,i){let a,s,o=0;do s=t+(n-t)/2,a=MS(s,r,i)-e,a>0?n=s:t=s;while(Math.abs(a)>V$&&++o<K$);return s}function z1(e,t,n,r){if(e===t&&n===r)return et;const i=a=>W$(a,0,1,e,n);return a=>a===0||a===1?a:MS(i(a),t,r)}const Y$=z1(.42,0,1,1),q$=z1(0,0,.58,1),LS=z1(.42,0,.58,1),X$=e=>Array.isArray(e)&&typeof e[0]!="number",PS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,DS=e=>t=>1-e(1-t),FS=e=>1-Math.sin(Math.acos(e)),s9=DS(FS),Q$=PS(s9),BS=z1(.33,1.53,.69,.99),o9=DS(BS),Z$=PS(o9),J$=e=>(e*=2)<1?.5*o9(e):.5*(2-Math.pow(2,-10*(e-1))),eG={linear:et,easeIn:Y$,easeInOut:LS,easeOut:q$,circIn:FS,circInOut:Q$,circOut:s9,backIn:o9,backInOut:Z$,backOut:BS,anticipate:J$},w4=e=>{if(Array.isArray(e)){a9(e.length===4);const[t,n,r,i]=e;return z1(t,n,r,i)}else if(typeof e=="string")return eG[e];return e},l9=(e,t)=>n=>!!(U1(n)&&Zj.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),US=(e,t,n)=>r=>{if(!U1(r))return r;const[i,a,s,o]=r.match(Td);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(s),alpha:o!==void 0?parseFloat(o):1}},tG=e=>Wi(0,255,e),Zh={...Za,transform:e=>Math.round(tG(e))},Aa={test:l9("rgb","red"),parse:US("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Zh.transform(e)+", "+Zh.transform(t)+", "+Zh.transform(n)+", "+Nl(xl.transform(r))+")"};function nG(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const $p={test:l9("#"),parse:nG,transform:Aa.transform},Rs={test:l9("hsl","hue"),parse:US("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+_r.transform(Nl(t))+", "+_r.transform(Nl(n))+", "+Nl(xl.transform(r))+")"},Rt={test:e=>Aa.test(e)||$p.test(e)||Rs.test(e),parse:e=>Aa.test(e)?Aa.parse(e):Rs.test(e)?Rs.parse(e):$p.parse(e),transform:e=>U1(e)?e:e.hasOwnProperty("red")?Aa.transform(e):Rs.transform(e)},Ye=(e,t,n)=>-n*e+n*t+e;function Jh(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function rG({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,s=0;if(!t)i=a=s=n;else{const o=n<.5?n*(1+t):n+t-n*t,l=2*n-o;i=Jh(l,o,e+1/3),a=Jh(l,o,e),s=Jh(l,o,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(s*255),alpha:r}}const e0=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},iG=[$p,Aa,Rs],aG=e=>iG.find(t=>t.test(e));function C4(e){const t=aG(e);let n=t.parse(e);return t===Rs&&(n=rG(n)),n}const HS=(e,t)=>{const n=C4(e),r=C4(t),i={...n};return a=>(i.red=e0(n.red,r.red,a),i.green=e0(n.green,r.green,a),i.blue=e0(n.blue,r.blue,a),i.alpha=Ye(n.alpha,r.alpha,a),Aa.transform(i))};function sG(e){var t,n;return isNaN(e)&&U1(e)&&(((t=e.match(Td))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(hS))===null||n===void 0?void 0:n.length)||0)>0}const zS={regex:Xj,countKey:"Vars",token:"${v}",parse:et},jS={regex:hS,countKey:"Colors",token:"${c}",parse:Rt.parse},$S={regex:Td,countKey:"Numbers",token:"${n}",parse:Za.parse};function t0(e,{regex:t,countKey:n,token:r,parse:i}){const a=e.tokenised.match(t);a&&(e["num"+n]=a.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...a.map(i)))}function pf(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&t0(n,zS),t0(n,jS),t0(n,$S),n}function GS(e){return pf(e).values}function VS(e){const{values:t,numColors:n,numVars:r,tokenised:i}=pf(e),a=t.length;return s=>{let o=i;for(let l=0;l<a;l++)l<r?o=o.replace(zS.token,s[l]):l<r+n?o=o.replace(jS.token,Rt.transform(s[l])):o=o.replace($S.token,Nl(s[l]));return o}}const oG=e=>typeof e=="number"?0:e;function lG(e){const t=GS(e);return VS(e)(t.map(oG))}const Yi={test:sG,parse:GS,createTransformer:VS,getAnimatableNone:lG},KS=(e,t)=>n=>`${n>0?t:e}`;function WS(e,t){return typeof e=="number"?n=>Ye(e,t,n):Rt.test(e)?HS(e,t):e.startsWith("var(")?KS(e,t):qS(e,t)}const YS=(e,t)=>{const n=[...e],r=n.length,i=e.map((a,s)=>WS(a,t[s]));return a=>{for(let s=0;s<r;s++)n[s]=i[s](a);return n}},cG=(e,t)=>{const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=WS(e[i],t[i]));return i=>{for(const a in r)n[a]=r[a](i);return n}},qS=(e,t)=>{const n=Yi.createTransformer(t),r=pf(e),i=pf(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Hi(YS(r.values,i.values),n):KS(e,t)},m1=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},k4=(e,t)=>n=>Ye(e,t,n);function uG(e){return typeof e=="number"?k4:typeof e=="string"?Rt.test(e)?HS:qS:Array.isArray(e)?YS:typeof e=="object"?cG:k4}function fG(e,t,n){const r=[],i=n||uG(e[0]),a=e.length-1;for(let s=0;s<a;s++){let o=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||et:t;o=Hi(l,o)}r.push(o)}return r}function XS(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const a=e.length;if(a9(a===t.length),a===1)return()=>t[0];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=fG(t,r,i),o=s.length,l=c=>{let u=0;if(o>1)for(;u<e.length-2&&!(c<e[u+1]);u++);const f=m1(e[u],e[u+1],c);return s[u](f)};return n?c=>l(Wi(e[0],e[a-1],c)):l}function dG(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=m1(0,t,r);e.push(Ye(n,1,i))}}function hG(e){const t=[0];return dG(t,e.length-1),t}function pG(e,t){return e.map(n=>n*t)}function mG(e,t){return e.map(()=>t||LS).splice(0,e.length-1)}function mf({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=X$(r)?r.map(w4):w4(r),a={done:!1,value:t[0]},s=pG(n&&n.length===t.length?n:hG(t),e),o=XS(s,t,{ease:Array.isArray(i)?i:mG(t,i)});return{calculatedDuration:e,next:l=>(a.value=o(l),a.done=l>=e,a)}}function QS(e,t){return t?e*(1e3/t):0}const gG=5;function ZS(e,t,n){const r=Math.max(t-gG,0);return QS(n-e(r),t-r)}const n0=.001,EG=.01,O4=10,_G=.05,TG=1;function yG({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,a;z$(e<=zi(O4));let s=1-t;s=Wi(_G,TG,s),e=Wi(EG,O4,$r(e)),s<1?(i=c=>{const u=c*s,f=u*e,d=u-n,h=Gp(c,s),g=Math.exp(-f);return n0-d/h*g},a=c=>{const f=c*s*e,d=f*n+n,h=Math.pow(s,2)*Math.pow(c,2)*e,g=Math.exp(-f),E=Gp(Math.pow(c,2),s);return(-i(c)+n0>0?-1:1)*((d-h)*g)/E}):(i=c=>{const u=Math.exp(-c*e),f=(c-n)*e+1;return-n0+u*f},a=c=>{const u=Math.exp(-c*e),f=(n-c)*(e*e);return u*f});const o=5/e,l=bG(i,a,o);if(e=zi(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*r;return{stiffness:c,damping:s*2*Math.sqrt(r*c),duration:e}}}const vG=12;function bG(e,t,n){let r=n;for(let i=1;i<vG;i++)r=r-e(r)/t(r);return r}function Gp(e,t){return e*Math.sqrt(1-t*t)}const SG=["duration","bounce"],AG=["stiffness","damping","mass"];function R4(e,t){return t.some(n=>e[n]!==void 0)}function xG(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!R4(e,AG)&&R4(e,SG)){const n=yG(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}function JS({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],a=e[e.length-1],s={done:!1,value:i},{stiffness:o,damping:l,mass:c,velocity:u,duration:f,isResolvedFromDuration:d}=xG(r),h=u?-$r(u):0,g=l/(2*Math.sqrt(o*c)),E=a-i,b=$r(Math.sqrt(o/c)),m=Math.abs(E)<5;n||(n=m?.01:2),t||(t=m?.005:.5);let T;if(g<1){const _=Gp(b,g);T=v=>{const N=Math.exp(-g*b*v);return a-N*((h+g*b*E)/_*Math.sin(_*v)+E*Math.cos(_*v))}}else if(g===1)T=_=>a-Math.exp(-b*_)*(E+(h+b*E)*_);else{const _=b*Math.sqrt(g*g-1);T=v=>{const N=Math.exp(-g*b*v),S=Math.min(_*v,300);return a-N*((h+g*b*E)*Math.sinh(S)+_*E*Math.cosh(S))/_}}return{calculatedDuration:d&&f||null,next:_=>{const v=T(_);if(d)s.done=_>=f;else{let N=h;_!==0&&(g<1?N=ZS(T,_,v):N=0);const S=Math.abs(N)<=n,A=Math.abs(a-v)<=t;s.done=S&&A}return s.value=s.done?a:v,s}}}function I4({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:s,min:o,max:l,restDelta:c=.5,restSpeed:u}){const f=e[0],d={done:!1,value:f},h=k=>o!==void 0&&k<o||l!==void 0&&k>l,g=k=>o===void 0?l:l===void 0||Math.abs(o-k)<Math.abs(l-k)?o:l;let E=n*t;const b=f+E,m=s===void 0?b:s(b);m!==b&&(E=m-f);const T=k=>-E*Math.exp(-k/r),_=k=>m+T(k),v=k=>{const I=T(k),P=_(k);d.done=Math.abs(I)<=c,d.value=d.done?m:P};let N,S;const A=k=>{h(d.value)&&(N=k,S=JS({keyframes:[d.value,g(d.value)],velocity:ZS(_,k,d.value),damping:i,stiffness:a,restDelta:c,restSpeed:u}))};return A(0),{calculatedDuration:null,next:k=>{let I=!1;return!S&&N===void 0&&(I=!0,v(k),A(k)),N!==void 0&&k>N?S.next(k-N):(!I&&v(k),d)}}}const NG=e=>{const t=({timestamp:n})=>e(n);return{start:()=>ze.update(t,!0),stop:()=>Zr(t),now:()=>wt.isProcessing?wt.timestamp:performance.now()}},M4=2e4;function L4(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<M4;)t+=n,r=e.next(t);return t>=M4?1/0:t}const wG={decay:I4,inertia:I4,tween:mf,keyframes:mf,spring:JS};function gf({autoplay:e=!0,delay:t=0,driver:n=NG,keyframes:r,type:i="keyframes",repeat:a=0,repeatDelay:s=0,repeatType:o="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:f,...d}){let h=1,g=!1,E,b;const m=()=>{b=new Promise(j=>{E=j})};m();let T;const _=wG[i]||mf;let v;_!==mf&&typeof r[0]!="number"&&(v=XS([0,100],r,{clamp:!1}),r=[0,100]);const N=_({...d,keyframes:r});let S;o==="mirror"&&(S=_({...d,keyframes:[...r].reverse(),velocity:-(d.velocity||0)}));let A="idle",k=null,I=null,P=null;N.calculatedDuration===null&&a&&(N.calculatedDuration=L4(N));const{calculatedDuration:D}=N;let z=1/0,X=1/0;D!==null&&(z=D+s,X=z*(a+1)-s);let Q=0;const Y=j=>{if(I===null)return;h>0&&(I=Math.min(I,j)),h<0&&(I=Math.min(j-X/h,I)),k!==null?Q=k:Q=Math.round(j-I)*h;const te=Q-t*(h>=0?1:-1),C=h>=0?te<0:te>X;Q=Math.max(te,0),A==="finished"&&k===null&&(Q=X);let ge=Q,pe=N;if(a){const fe=Q/z;let dt=Math.floor(fe),it=fe%1;!it&&fe>=1&&(it=1),it===1&&dt--,dt=Math.min(dt,a+1);const Dn=!!(dt%2);Dn&&(o==="reverse"?(it=1-it,s&&(it-=s/z)):o==="mirror"&&(pe=S));let br=Wi(0,1,it);Q>X&&(br=o==="reverse"&&Dn?1:0),ge=br*z}const se=C?{done:!1,value:r[0]}:pe.next(ge);v&&(se.value=v(se.value));let{done:je}=se;!C&&D!==null&&(je=h>=0?Q>=X:Q<=0);const Ve=k===null&&(A==="finished"||A==="running"&&je);return f&&f(se.value),Ve&&M(),se},ae=()=>{T&&T.stop(),T=void 0},B=()=>{A="idle",ae(),E(),m(),I=P=null},M=()=>{A="finished",u&&u(),ae(),E()},H=()=>{if(g)return;T||(T=n(Y));const j=T.now();l&&l(),k!==null?I=j-k:(!I||A==="finished")&&(I=j),A==="finished"&&m(),P=I,k=null,A="running",T.start()};e&&H();const x={then(j,te){return b.then(j,te)},get time(){return $r(Q)},set time(j){j=zi(j),Q=j,k!==null||!T||h===0?k=j:I=T.now()-j/h},get duration(){const j=N.calculatedDuration===null?L4(N):N.calculatedDuration;return $r(j)},get speed(){return h},set speed(j){j===h||!T||(h=j,x.time=$r(Q))},get state(){return A},play:H,pause:()=>{A="paused",k=Q},stop:()=>{g=!0,A!=="idle"&&(A="idle",c&&c(),B())},cancel:()=>{P!==null&&Y(P),B()},complete:()=>{A="finished"},sample:j=>(I=0,Y(j))};return x}function CG(e){let t;return()=>(t===void 0&&(t=e()),t)}const kG=CG(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),OG=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Kc=10,RG=2e4,IG=(e,t)=>t.type==="spring"||e==="backgroundColor"||!OS(t.ease);function MG(e,t,{onUpdate:n,onComplete:r,...i}){if(!(kG()&&OG.has(t)&&!i.repeatDelay&&i.repeatType!=="mirror"&&i.damping!==0&&i.type!=="inertia"))return!1;let s=!1,o,l;const c=()=>{l=new Promise(T=>{o=T})};c();let{keyframes:u,duration:f=300,ease:d,times:h}=i;if(IG(t,i)){const T=gf({...i,repeat:0,delay:0});let _={done:!1,value:u[0]};const v=[];let N=0;for(;!_.done&&N<RG;)_=T.sample(N),v.push(_.value),N+=Kc;h=void 0,u=v,f=N-Kc,d="linear"}const g=$$(e.owner.current,t,u,{...i,duration:f,ease:d,times:h}),E=()=>g.cancel(),b=()=>{ze.update(E),o(),c()};return g.onfinish=()=>{e.set(G$(u,i)),r&&r(),b()},{then(T,_){return l.then(T,_)},attachTimeline(T){return g.timeline=T,g.onfinish=null,et},get time(){return $r(g.currentTime||0)},set time(T){g.currentTime=zi(T)},get speed(){return g.playbackRate},set speed(T){g.playbackRate=T},get duration(){return $r(f)},play:()=>{s||(g.play(),Zr(E))},pause:()=>g.pause(),stop:()=>{if(s=!0,g.playState==="idle")return;const{currentTime:T}=g;if(T){const _=gf({...i,autoplay:!1});e.setWithVelocity(_.sample(T-Kc).value,_.sample(T).value,Kc)}b()},complete:()=>g.finish(),cancel:b}}function LG({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:et,pause:et,stop:et,then:a=>(a(),Promise.resolve()),cancel:et,complete:et});return t?gf({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}const PG={type:"spring",stiffness:500,damping:25,restSpeed:10},DG=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),FG={type:"keyframes",duration:.8},BG={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},UG=(e,{keyframes:t})=>t.length>2?FG:Qa.has(e)?e.startsWith("scale")?DG(t[1]):PG:BG,Vp=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Yi.test(t)||t==="0")&&!t.startsWith("url(")),HG=new Set(["brightness","contrast","saturate","opacity"]);function zG(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Td)||[];if(!r)return e;const i=n.replace(r,"");let a=HG.has(t)?1:0;return r!==n&&(a*=100),t+"("+a+i+")"}const jG=/([a-z-]*)\(.*?\)/g,Kp={...Yi,getAnimatableNone:e=>{const t=e.match(jG);return t?t.map(zG).join(" "):e}},$G={...pS,color:Rt,backgroundColor:Rt,outlineColor:Rt,fill:Rt,stroke:Rt,borderColor:Rt,borderTopColor:Rt,borderRightColor:Rt,borderBottomColor:Rt,borderLeftColor:Rt,filter:Kp,WebkitFilter:Kp},c9=e=>$G[e];function eA(e,t){let n=c9(e);return n!==Kp&&(n=Yi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const tA=e=>/^0[^.\s]+$/.test(e);function GG(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||tA(e)}function VG(e,t,n,r){const i=Vp(t,n);let a;Array.isArray(n)?a=[...n]:a=[null,n];const s=r.from!==void 0?r.from:e.get();let o;const l=[];for(let c=0;c<a.length;c++)a[c]===null&&(a[c]=c===0?s:a[c-1]),GG(a[c])&&l.push(c),typeof a[c]=="string"&&a[c]!=="none"&&a[c]!=="0"&&(o=a[c]);if(i&&l.length&&o)for(let c=0;c<l.length;c++){const u=l[c];a[u]=eA(t,o)}return a}function KG({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:s,repeatDelay:o,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function nA(e,t){return e[t]||e.default||e}const u9=(e,t,n,r={})=>i=>{const a=nA(r,e)||{},s=a.delay||r.delay||0;let{elapsed:o=0}=r;o=o-zi(s);const l=VG(t,e,n,a),c=l[0],u=l[l.length-1],f=Vp(e,c),d=Vp(e,u);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...a,delay:-o,onUpdate:g=>{t.set(g),a.onUpdate&&a.onUpdate(g)},onComplete:()=>{i(),a.onComplete&&a.onComplete()}};if(KG(a)||(h={...h,...UG(e,h)}),h.duration&&(h.duration=zi(h.duration)),h.repeatDelay&&(h.repeatDelay=zi(h.repeatDelay)),!f||!d||j$.current||a.type===!1)return LG(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const g=MG(t,e,h);if(g)return g}return gf(h)};function Ef(e){return!!(Xt(e)&&e.add)}const rA=e=>/^\-?\d*\.?\d+$/.test(e);function f9(e,t){e.indexOf(t)===-1&&e.push(t)}function d9(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class h9{constructor(){this.subscriptions=[]}add(t){return f9(this.subscriptions,t),()=>d9(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let a=0;a<i;a++){const s=this.subscriptions[a];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const WG=e=>!isNaN(parseFloat(e));class YG{constructor(t,n={}){this.version="10.16.1",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{this.prev=this.current,this.current=r;const{delta:a,timestamp:s}=wt;this.lastUpdated!==s&&(this.timeDelta=a,this.lastUpdated=s,ze.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>ze.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=WG(this.current),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new h9);const r=this.events[t].add(n);return t==="change"?()=>{r(),ze.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?QS(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function io(e,t){return new YG(e,t)}const iA=e=>t=>t.test(e),qG={test:e=>e==="auto",parse:e=>e},aA=[Za,oe,_r,gi,e$,Jj,qG],$o=e=>aA.find(iA(e)),XG=[...aA,Rt,Yi],QG=e=>XG.find(iA(e));function ZG(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,io(n))}function JG(e,t){const n=vd(e,t);let{transitionEnd:r={},transition:i={},...a}=n?e.makeTargetAnimatable(n,!1):{};a={...a,...r};for(const s in a){const o=m$(a[s]);ZG(e,s,o)}}function eV(e,t,n){var r,i;const a=Object.keys(t).filter(o=>!e.hasValue(o)),s=a.length;if(s)for(let o=0;o<s;o++){const l=a[o],c=t[l];let u=null;Array.isArray(c)&&(u=c[0]),u===null&&(u=(i=(r=n[l])!==null&&r!==void 0?r:e.readValue(l))!==null&&i!==void 0?i:t[l]),u!=null&&(typeof u=="string"&&(rA(u)||tA(u))?u=parseFloat(u):!QG(u)&&Yi.test(c)&&(u=eA(l,c)),e.addValue(l,io(u,{owner:e})),n[l]===void 0&&(n[l]=u),u!==null&&e.setBaseTarget(l,u))}}function tV(e,t){return t?(t[e]||t.default||t).from:void 0}function nV(e,t,n){const r={};for(const i in e){const a=tV(i,t);if(a!==void 0)r[i]=a;else{const s=n.getValue(i);s&&(r[i]=s.get())}}return r}function rV({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function sA(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:s,...o}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(a=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const f in o){const d=e.getValue(f),h=o[f];if(!d||h===void 0||u&&rV(u,f))continue;const g={delay:n,elapsed:0,...a};if(window.HandoffAppearAnimations&&!d.hasAnimated){const b=e.getProps()[H$];b&&(g.elapsed=window.HandoffAppearAnimations(b,f,d,ze))}d.start(u9(f,d,h,e.shouldReduceMotion&&Qa.has(f)?{type:!1}:g));const E=d.animation;Ef(l)&&(l.add(f),E.then(()=>l.remove(f))),c.push(E)}return s&&Promise.all(c).then(()=>{s&&JG(e,s)}),c}function Wp(e,t,n={}){const r=vd(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const a=r?()=>Promise.all(sA(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:f}=i;return iV(e,t,c+l,u,f,n)}:()=>Promise.resolve(),{when:o}=i;if(o){const[l,c]=o==="beforeChildren"?[a,s]:[s,a];return l().then(()=>c())}else return Promise.all([a(),s(n.delay)])}function iV(e,t,n=0,r=0,i=1,a){const s=[],o=(e.variantChildren.size-1)*r,l=i===1?(c=0)=>c*r:(c=0)=>o-c*r;return Array.from(e.variantChildren).sort(aV).forEach((c,u)=>{c.notify("AnimationStart",t),s.push(Wp(c,t,{...a,delay:n+l(u)}).then(()=>c.notify("AnimationComplete",t)))}),Promise.all(s)}function aV(e,t){return e.sortNodePosition(t)}function sV(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(a=>Wp(e,a,n));r=Promise.all(i)}else if(typeof t=="string")r=Wp(e,t,n);else{const i=typeof t=="function"?vd(e,t,n.custom):t;r=Promise.all(sA(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}const oV=[...qg].reverse(),lV=qg.length;function cV(e){return t=>Promise.all(t.map(({animation:n,options:r})=>sV(e,n,r)))}function uV(e){let t=cV(e);const n=dV();let r=!0;const i=(l,c)=>{const u=vd(e,c);if(u){const{transition:f,transitionEnd:d,...h}=u;l={...l,...h,...d}}return l};function a(l){t=l(e)}function s(l,c){const u=e.getProps(),f=e.getVariantContext(!0)||{},d=[],h=new Set;let g={},E=1/0;for(let m=0;m<lV;m++){const T=oV[m],_=n[T],v=u[T]!==void 0?u[T]:f[T],N=h1(v),S=T===c?_.isActive:null;S===!1&&(E=m);let A=v===f[T]&&v!==u[T]&&N;if(A&&r&&e.manuallyAnimateOnMount&&(A=!1),_.protectedKeys={...g},!_.isActive&&S===null||!v&&!_.prevProp||Ed(v)||typeof v=="boolean")continue;const k=fV(_.prevProp,v);let I=k||T===c&&_.isActive&&!A&&N||m>E&&N;const P=Array.isArray(v)?v:[v];let D=P.reduce(i,{});S===!1&&(D={});const{prevResolvedValues:z={}}=_,X={...z,...D},Q=Y=>{I=!0,h.delete(Y),_.needsAnimating[Y]=!0};for(const Y in X){const ae=D[Y],B=z[Y];g.hasOwnProperty(Y)||(ae!==B?hf(ae)&&hf(B)?!CS(ae,B)||k?Q(Y):_.protectedKeys[Y]=!0:ae!==void 0?Q(Y):h.add(Y):ae!==void 0&&h.has(Y)?Q(Y):_.protectedKeys[Y]=!0)}_.prevProp=v,_.prevResolvedValues=D,_.isActive&&(g={...g,...D}),r&&e.blockInitialAnimation&&(I=!1),I&&!A&&d.push(...P.map(Y=>({animation:Y,options:{type:T,...l}})))}if(h.size){const m={};h.forEach(T=>{const _=e.getBaseTarget(T);_!==void 0&&(m[T]=_)}),d.push({animation:m})}let b=!!d.length;return r&&u.initial===!1&&!e.manuallyAnimateOnMount&&(b=!1),r=!1,b?t(d):Promise.resolve()}function o(l,c,u){var f;if(n[l].isActive===c)return Promise.resolve();(f=e.variantChildren)===null||f===void 0||f.forEach(h=>{var g;return(g=h.animationState)===null||g===void 0?void 0:g.setActive(l,c)}),n[l].isActive=c;const d=s(u,l);for(const h in n)n[h].protectedKeys={};return d}return{animateChanges:s,setActive:o,setAnimateFunction:a,getState:()=>n}}function fV(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!CS(t,e):!1}function oa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function dV(){return{animate:oa(!0),whileInView:oa(),whileHover:oa(),whileTap:oa(),whileDrag:oa(),whileFocus:oa(),exit:oa()}}class hV extends ea{constructor(t){super(t),t.animationState||(t.animationState=uV(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Ed(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let pV=0;class mV extends ea{constructor(){super(...arguments),this.id=pV++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;const a=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&a.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const gV={animation:{Feature:hV},exit:{Feature:mV}},P4=(e,t)=>Math.abs(e-t);function EV(e,t){const n=P4(e.x,t.x),r=P4(e.y,t.y);return Math.sqrt(n**2+r**2)}class oA{constructor(t,n,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const c=i0(this.lastMoveEventInfo,this.history),u=this.startEvent!==null,f=EV(c.offset,{x:0,y:0})>=3;if(!u&&!f)return;const{point:d}=c,{timestamp:h}=wt;this.history.push({...d,timestamp:h});const{onStart:g,onMove:E}=this.handlers;u||(g&&g(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),E&&E(this.lastMoveEvent,c)},this.handlePointerMove=(c,u)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=r0(u,this.transformPagePoint),ze.update(this.updatePoint,!0)},this.handlePointerUp=(c,u)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:f,onSessionEnd:d}=this.handlers,h=i0(c.type==="pointercancel"?this.lastMoveEventInfo:r0(u,this.transformPagePoint),this.history);this.startEvent&&f&&f(c,h),d&&d(c,h)},!SS(t))return;this.handlers=n,this.transformPagePoint=r;const i=yd(t),a=r0(i,this.transformPagePoint),{point:s}=a,{timestamp:o}=wt;this.history=[{...s,timestamp:o}];const{onSessionStart:l}=n;l&&l(t,i0(a,this.history)),this.removeListeners=Hi(jr(window,"pointermove",this.handlePointerMove),jr(window,"pointerup",this.handlePointerUp),jr(window,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Zr(this.updatePoint)}}function r0(e,t){return t?{point:t(e.point)}:e}function D4(e,t){return{x:e.x-t.x,y:e.y-t.y}}function i0({point:e},t){return{point:e,delta:D4(e,lA(t)),offset:D4(e,_V(t)),velocity:TV(t,.1)}}function _V(e){return e[0]}function lA(e){return e[e.length-1]}function TV(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=lA(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>zi(t)));)n--;if(!r)return{x:0,y:0};const a=$r(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};const s={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function fn(e){return e.max-e.min}function Yp(e,t=0,n=.01){return Math.abs(e-t)<=n}function F4(e,t,n,r=.5){e.origin=r,e.originPoint=Ye(t.min,t.max,e.origin),e.scale=fn(n)/fn(t),(Yp(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ye(n.min,n.max,e.origin)-e.originPoint,(Yp(e.translate)||isNaN(e.translate))&&(e.translate=0)}function wl(e,t,n,r){F4(e.x,t.x,n.x,r?r.originX:void 0),F4(e.y,t.y,n.y,r?r.originY:void 0)}function B4(e,t,n){e.min=n.min+t.min,e.max=e.min+fn(t)}function yV(e,t,n){B4(e.x,t.x,n.x),B4(e.y,t.y,n.y)}function U4(e,t,n){e.min=t.min-n.min,e.max=e.min+fn(t)}function Cl(e,t,n){U4(e.x,t.x,n.x),U4(e.y,t.y,n.y)}function vV(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Ye(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Ye(n,e,r.max):Math.min(e,n)),e}function H4(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function bV(e,{top:t,left:n,bottom:r,right:i}){return{x:H4(e.x,n,i),y:H4(e.y,t,r)}}function z4(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function SV(e,t){return{x:z4(e.x,t.x),y:z4(e.y,t.y)}}function AV(e,t){let n=.5;const r=fn(e),i=fn(t);return i>r?n=m1(t.min,t.max-r,e.min):r>i&&(n=m1(e.min,e.max-i,t.min)),Wi(0,1,n)}function xV(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const qp=.35;function NV(e=qp){return e===!1?e=0:e===!0&&(e=qp),{x:j4(e,"left","right"),y:j4(e,"top","bottom")}}function j4(e,t,n){return{min:$4(e,t),max:$4(e,n)}}function $4(e,t){return typeof e=="number"?e:e[t]||0}const G4=()=>({translate:0,scale:1,origin:0,originPoint:0}),Is=()=>({x:G4(),y:G4()}),V4=()=>({min:0,max:0}),at=()=>({x:V4(),y:V4()});function or(e){return[e("x"),e("y")]}function cA({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function wV({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function CV(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function a0(e){return e===void 0||e===1}function Xp({scale:e,scaleX:t,scaleY:n}){return!a0(e)||!a0(t)||!a0(n)}function da(e){return Xp(e)||uA(e)||e.z||e.rotate||e.rotateX||e.rotateY}function uA(e){return K4(e.x)||K4(e.y)}function K4(e){return e&&e!=="0%"}function _f(e,t,n){const r=e-n,i=t*r;return n+i}function W4(e,t,n,r,i){return i!==void 0&&(e=_f(e,i,r)),_f(e,n,r)+t}function Qp(e,t=0,n=1,r,i){e.min=W4(e.min,t,n,r,i),e.max=W4(e.max,t,n,r,i)}function fA(e,{x:t,y:n}){Qp(e.x,t.translate,t.scale,t.originPoint),Qp(e.y,n.translate,n.scale,n.originPoint)}function kV(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let a,s;for(let o=0;o<i;o++){a=n[o],s=a.projectionDelta;const l=a.instance;l&&l.style&&l.style.display==="contents"||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&Ms(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,fA(e,s)),r&&da(a.latestValues)&&Ms(e,a.latestValues))}t.x=Y4(t.x),t.y=Y4(t.y)}function Y4(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function yi(e,t){e.min=e.min+t,e.max=e.max+t}function q4(e,t,[n,r,i]){const a=t[i]!==void 0?t[i]:.5,s=Ye(e.min,e.max,a);Qp(e,t[n],t[r],s,t.scale)}const OV=["x","scaleX","originX"],RV=["y","scaleY","originY"];function Ms(e,t){q4(e.x,t,OV),q4(e.y,t,RV)}function dA(e,t){return cA(CV(e.getBoundingClientRect(),t))}function IV(e,t,n){const r=dA(e,n),{scroll:i}=t;return i&&(yi(r.x,i.offset.x),yi(r.y,i.offset.y)),r}const MV=new WeakMap;class LV{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=at(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=l=>{this.stopAnimation(),n&&this.snapToCursor(yd(l,"page").point)},a=(l,c)=>{const{drag:u,dragPropagation:f,onDragStart:d}=this.getProps();if(u&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=xS(u),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),or(g=>{let E=this.getAxisMotionValue(g).get()||0;if(_r.test(E)){const{projection:b}=this.visualElement;if(b&&b.layout){const m=b.layout.layoutBox[g];m&&(E=fn(m)*(parseFloat(E)/100))}}this.originPoint[g]=E}),d&&ze.update(()=>d(l,c),!1,!0);const{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},s=(l,c)=>{const{dragPropagation:u,dragDirectionLock:f,onDirectionLock:d,onDrag:h}=this.getProps();if(!u&&!this.openGlobalLock)return;const{offset:g}=c;if(f&&this.currentDirection===null){this.currentDirection=PV(g),this.currentDirection!==null&&d&&d(this.currentDirection);return}this.updateAxis("x",c.point,g),this.updateAxis("y",c.point,g),this.visualElement.render(),h&&h(l,c)},o=(l,c)=>this.stop(l,c);this.panSession=new oA(t,{onSessionStart:i,onStart:a,onMove:s,onSessionEnd:o},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:a}=this.getProps();a&&ze.update(()=>a(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!Wc(t,i,this.currentDirection))return;const a=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=vV(s,this.constraints[t],this.elastic[t])),a.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),{layout:r}=this.visualElement.projection||{},i=this.constraints;t&&Os(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=bV(r.layoutBox,t):this.constraints=!1,this.elastic=NV(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&or(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=xV(r.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Os(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const a=IV(r,i.root,this.visualElement.getTransformPagePoint());let s=SV(i.layout.layoutBox,a);if(n){const o=n(wV(s));this.hasMutatedConstraints=!!o,o&&(s=cA(o))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:a,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{},c=or(u=>{if(!Wc(u,n,this.currentDirection))return;let f=l&&l[u]||{};s&&(f={min:0,max:0});const d=i?200:1e6,h=i?40:1e7,g={type:"inertia",velocity:r?t[u]:0,bounceStiffness:d,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...a,...f};return this.startAxisValueAnimation(u,g)});return Promise.all(c).then(o)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(u9(t,r,0,n))}stopAnimation(){or(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){or(n=>{const{drag:r}=this.getProps();if(!Wc(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,a=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:o}=i.layout.layoutBox[n];a.set(t[n]-Ye(s,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Os(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};or(s=>{const o=this.getAxisMotionValue(s);if(o){const l=o.get();i[s]=AV({min:l,max:l},this.constraints[s])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),or(s=>{if(!Wc(s,t,null))return;const o=this.getAxisMotionValue(s),{min:l,max:c}=this.constraints[s];o.set(Ye(l,c,i[s]))})}addListeners(){if(!this.visualElement.current)return;MV.set(this.visualElement,this);const t=this.visualElement.current,n=jr(t,"pointerdown",l=>{const{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();Os(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,a=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const s=Hr(window,"resize",()=>this.scalePositionWithinConstraints()),o=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(or(u=>{const f=this.getAxisMotionValue(u);f&&(this.originPoint[u]+=l[u].translate,f.set(f.get()+l[u].translate))}),this.visualElement.render())});return()=>{s(),n(),a(),o&&o()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:a=!1,dragElastic:s=qp,dragMomentum:o=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:a,dragElastic:s,dragMomentum:o}}}function Wc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function PV(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class DV extends ea{constructor(t){super(t),this.removeGroupControls=et,this.removeListeners=et,this.controls=new LV(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||et}unmount(){this.removeGroupControls(),this.removeListeners()}}const X4=e=>(t,n)=>{e&&ze.update(()=>e(t,n))};class FV extends ea{constructor(){super(...arguments),this.removePointerDownListener=et}onPointerDown(t){this.session=new oA(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:X4(t),onStart:X4(n),onMove:r,onEnd:(a,s)=>{delete this.session,i&&ze.update(()=>i(a,s))}}}mount(){this.removePointerDownListener=jr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function BV(){const e=L.useContext(Yg);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=L.useId();return L.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const _u={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Q4(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Go={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(oe.test(e))e=parseFloat(e);else return e;const n=Q4(e,t.target.x),r=Q4(e,t.target.y);return`${n}% ${r}%`}},UV={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Yi.parse(e);if(i.length>5)return r;const a=Yi.createTransformer(e),s=typeof i[0]!="number"?1:0,o=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=o,i[1+s]/=l;const c=Ye(o,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=c),typeof i[3+s]=="number"&&(i[3+s]/=c),a(i)}};class HV extends Yn.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:a}=t;Kj(zV),a&&(n.group&&n.group.add(a),r&&r.register&&i&&r.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",()=>{this.safeToRemove()}),a.setOptions({...a.options,onExitComplete:()=>this.safeToRemove()})),_u.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:a}=this.props,s=r.projection;return s&&(s.isPresent=a,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==a&&(a?s.promote():s.relegate()||ze.postRender(()=>{const o=s.getStack();(!o||!o.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function hA(e){const[t,n]=BV(),r=L.useContext(lS);return Yn.createElement(HV,{...e,layoutGroup:r,switchLayoutGroup:L.useContext(cS),isPresent:t,safeToRemove:n})}const zV={borderRadius:{...Go,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Go,borderTopRightRadius:Go,borderBottomLeftRadius:Go,borderBottomRightRadius:Go,boxShadow:UV},pA=["TopLeft","TopRight","BottomLeft","BottomRight"],jV=pA.length,Z4=e=>typeof e=="string"?parseFloat(e):e,J4=e=>typeof e=="number"||oe.test(e);function $V(e,t,n,r,i,a){i?(e.opacity=Ye(0,n.opacity!==void 0?n.opacity:1,GV(r)),e.opacityExit=Ye(t.opacity!==void 0?t.opacity:1,0,VV(r))):a&&(e.opacity=Ye(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;s<jV;s++){const o=`border${pA[s]}Radius`;let l=eT(t,o),c=eT(n,o);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||J4(l)===J4(c)?(e[o]=Math.max(Ye(Z4(l),Z4(c),r),0),(_r.test(c)||_r.test(l))&&(e[o]+="%")):e[o]=c}(t.rotate||n.rotate)&&(e.rotate=Ye(t.rotate||0,n.rotate||0,r))}function eT(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const GV=mA(0,.5,s9),VV=mA(.5,.95,et);function mA(e,t,n){return r=>r<e?0:r>t?1:n(m1(e,t,r))}function tT(e,t){e.min=t.min,e.max=t.max}function En(e,t){tT(e.x,t.x),tT(e.y,t.y)}function nT(e,t,n,r,i){return e-=t,e=_f(e,1/n,r),i!==void 0&&(e=_f(e,1/i,r)),e}function KV(e,t=0,n=1,r=.5,i,a=e,s=e){if(_r.test(t)&&(t=parseFloat(t),t=Ye(s.min,s.max,t/100)-s.min),typeof t!="number")return;let o=Ye(a.min,a.max,r);e===a&&(o-=t),e.min=nT(e.min,t,n,o,i),e.max=nT(e.max,t,n,o,i)}function rT(e,t,[n,r,i],a,s){KV(e,t[n],t[r],t[i],t.scale,a,s)}const WV=["x","scaleX","originX"],YV=["y","scaleY","originY"];function iT(e,t,n,r){rT(e.x,t,WV,n?n.x:void 0,r?r.x:void 0),rT(e.y,t,YV,n?n.y:void 0,r?r.y:void 0)}function aT(e){return e.translate===0&&e.scale===1}function gA(e){return aT(e.x)&&aT(e.y)}function qV(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function EA(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function sT(e){return fn(e.x)/fn(e.y)}class XV{constructor(){this.members=[]}add(t){f9(this.members,t),t.scheduleRender()}remove(t){if(d9(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const a=this.members[i];if(a.isPresent!==!1){r=a;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function oT(e,t,n){let r="";const i=e.x.translate/t.x,a=e.y.translate/t.y;if((i||a)&&(r=`translate3d(${i}px, ${a}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:l,rotateX:c,rotateY:u}=n;l&&(r+=`rotate(${l}deg) `),c&&(r+=`rotateX(${c}deg) `),u&&(r+=`rotateY(${u}deg) `)}const s=e.x.scale*t.x,o=e.y.scale*t.y;return(s!==1||o!==1)&&(r+=`scale(${s}, ${o})`),r||"none"}const QV=(e,t)=>e.depth-t.depth;class ZV{constructor(){this.children=[],this.isDirty=!1}add(t){f9(this.children,t),this.isDirty=!0}remove(t){d9(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(QV),this.isDirty=!1,this.children.forEach(t)}}function JV(e,t){const n=performance.now(),r=({timestamp:i})=>{const a=i-n;a>=t&&(Zr(r),e(a-t))};return ze.read(r,!0),()=>Zr(r)}function eK(e){window.MotionDebug&&window.MotionDebug.record(e)}function tK(e){return e instanceof SVGElement&&e.tagName!=="svg"}function nK(e,t,n){const r=Xt(e)?e:io(e);return r.start(u9("",r,t,n)),r.animation}const lT=["","X","Y","Z"],cT=1e3;let rK=0;const ha={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function _A({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},o=t==null?void 0:t()){this.id=rK++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{ha.totalNodes=ha.resolvedTargetDeltas=ha.recalculatedProjection=0,this.nodes.forEach(sK),this.nodes.forEach(fK),this.nodes.forEach(dK),this.nodes.forEach(oK),eK(ha)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=o?o.root||o:this,this.path=o?[...o.path,o]:[],this.parent=o,this.depth=o?o.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new ZV)}addEventListener(s,o){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new h9),this.eventHandlers.get(s).add(o)}notifyListeners(s,...o){const l=this.eventHandlers.get(s);l&&l.notify(...o)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,o=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=tK(s),this.instance=s;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),o&&(c||l)&&(this.isLayoutDirty=!0),e){let f;const d=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,f&&f(),f=JV(d,250),_u.hasAnimatedSinceResize&&(_u.hasAnimatedSinceResize=!1,this.nodes.forEach(fT))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:f,hasLayoutChanged:d,hasRelativeTargetChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||u.getDefaultTransition()||EK,{onLayoutAnimationStart:b,onLayoutAnimationComplete:m}=u.getProps(),T=!this.targetLayout||!EA(this.targetLayout,g)||h,_=!d&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||_||d&&(T||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(f,_);const v={...nA(E,"layout"),onPlay:b,onComplete:m};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v)}else d||fT(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Zr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(hK),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const f=this.path[u];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:o,layout:l}=this.options;if(o===void 0&&!l)return;const c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(uT);return}this.isUpdating||this.nodes.forEach(cK),this.isUpdating=!1,this.nodes.forEach(uK),this.nodes.forEach(iK),this.nodes.forEach(aK),this.clearAllSnapshots();const o=performance.now();wt.delta=Wi(0,1e3/60,o-wt.timestamp),wt.timestamp=o,wt.isProcessing=!0,qh.update.process(wt),qh.preRender.process(wt),qh.render.process(wt),wt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(lK),this.sharedNodes.forEach(pK)}scheduleUpdateProjection(){ze.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){ze.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=at(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:o}=this.options;o&&o.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let o=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(o=!1),o&&(this.scroll={animationId:this.root.animationId,phase:s,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform,o=this.projectionDelta&&!gA(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;s&&(o||da(this.latestValues)||u)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const o=this.measurePageBox();let l=this.removeElementScroll(o);return s&&(l=this.removeTransform(l)),_K(l),{animationId:this.root.animationId,measuredBox:o,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return at();const o=s.measureViewportBox(),{scroll:l}=this.root;return l&&(yi(o.x,l.offset.x),yi(o.y,l.offset.y)),o}removeElementScroll(s){const o=at();En(o,s);for(let l=0;l<this.path.length;l++){const c=this.path[l],{scroll:u,options:f}=c;if(c!==this.root&&u&&f.layoutScroll){if(u.isRoot){En(o,s);const{scroll:d}=this.root;d&&(yi(o.x,-d.offset.x),yi(o.y,-d.offset.y))}yi(o.x,u.offset.x),yi(o.y,u.offset.y)}}return o}applyTransform(s,o=!1){const l=at();En(l,s);for(let c=0;c<this.path.length;c++){const u=this.path[c];!o&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Ms(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),da(u.latestValues)&&Ms(l,u.latestValues)}return da(this.latestValues)&&Ms(l,this.latestValues),l}removeTransform(s){const o=at();En(o,s);for(let l=0;l<this.path.length;l++){const c=this.path[l];if(!c.instance||!da(c.latestValues))continue;Xp(c.latestValues)&&c.updateSnapshot();const u=at(),f=c.measurePageBox();En(u,f),iT(o,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return da(this.latestValues)&&iT(o,this.latestValues),o}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==wt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var o;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(s||c&&this.isSharedProjectionDirty||this.isProjectionDirty||!((o=this.parent)===null||o===void 0)&&o.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:f,layoutId:d}=this.options;if(!(!this.layout||!(f||d))){if(this.resolvedRelativeTargetAt=wt.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=at(),this.relativeTargetOrigin=at(),Cl(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),En(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=at(),this.targetWithTransforms=at()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),yV(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):En(this.target,this.layout.layoutBox),fA(this.target,this.targetDelta)):En(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=at(),this.relativeTargetOrigin=at(),Cl(this.relativeTargetOrigin,this.target,h.target),En(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ha.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Xp(this.parent.latestValues)||uA(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;const o=this.getLead(),l=!!this.resumingFrom||this!==o;let c=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===wt.timestamp&&(c=!1),c)return;const{layout:u,layoutId:f}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||f))return;En(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,h=this.treeScale.y;kV(this.layoutCorrected,this.treeScale,this.path,l),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox);const{target:g}=o;if(!g){this.projectionTransform&&(this.projectionDelta=Is(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Is(),this.projectionDeltaWithTransform=Is());const E=this.projectionTransform;wl(this.projectionDelta,this.layoutCorrected,g,this.latestValues),this.projectionTransform=oT(this.projectionDelta,this.treeScale),(this.projectionTransform!==E||this.treeScale.x!==d||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g)),ha.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),s){const o=this.getStack();o&&o.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(s,o=!1){const l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},f=Is();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!o;const d=at(),h=l?l.source:void 0,g=this.layout?this.layout.source:void 0,E=h!==g,b=this.getStack(),m=!b||b.members.length<=1,T=!!(E&&!m&&this.options.crossfade===!0&&!this.path.some(gK));this.animationProgress=0;let _;this.mixTargetDelta=v=>{const N=v/1e3;dT(f.x,s.x,N),dT(f.y,s.y,N),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cl(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),mK(this.relativeTarget,this.relativeTargetOrigin,d,N),_&&qV(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=at()),En(_,this.relativeTarget)),E&&(this.animationValues=u,$V(u,c,this.latestValues,N,T,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=N},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Zr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ze.update(()=>{_u.hasAnimatedSinceResize=!0,this.currentAnimation=nK(0,cT,{...s,onUpdate:o=>{this.mixTargetDelta(o),s.onUpdate&&s.onUpdate(o)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(cT),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:o,target:l,layout:c,latestValues:u}=s;if(!(!o||!l||!c)){if(this!==s&&this.layout&&c&&TA(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||at();const f=fn(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+f;const d=fn(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+d}En(o,l),Ms(o,u),wl(this.projectionDeltaWithTransform,this.layoutCorrected,o,u)}}registerSharedNode(s,o){this.sharedNodes.has(s)||this.sharedNodes.set(s,new XV),this.sharedNodes.get(s).add(o);const c=o.options.initialPromotionConfig;o.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(o):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:o}=this.options;return o?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:o}=this.options;return o?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:o,preserveFollowOpacity:l}={}){const c=this.getStack();c&&c.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),o&&this.setOptions({transition:o})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetRotation(){const{visualElement:s}=this.options;if(!s)return;let o=!1;const{latestValues:l}=s;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(o=!0),!o)return;const c={};for(let u=0;u<lT.length;u++){const f="rotate"+lT[u];l[f]&&(c[f]=l[f],s.setStaticValue(f,0))}s.render();for(const u in c)s.setStaticValue(u,c[u]);s.scheduleRender()}getProjectionStyles(s={}){var o,l;const c={};if(!this.instance||this.isSVG)return c;if(this.isVisible)c.visibility="";else return{visibility:"hidden"};const u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=Eu(s.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;const f=this.getLead();if(!this.projectionDelta||!this.layout||!f.target){const E={};return this.options.layoutId&&(E.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,E.pointerEvents=Eu(s.pointerEvents)||""),this.hasProjected&&!da(this.latestValues)&&(E.transform=u?u({},""):"none",this.hasProjected=!1),E}const d=f.animationValues||f.latestValues;this.applyTransformsToTarget(),c.transform=oT(this.projectionDeltaWithTransform,this.treeScale,d),u&&(c.transform=u(d,c.transform));const{x:h,y:g}=this.projectionDelta;c.transformOrigin=`${h.origin*100}% ${g.origin*100}% 0`,f.animationValues?c.opacity=f===this?(l=(o=d.opacity)!==null&&o!==void 0?o:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:c.opacity=f===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const E in ff){if(d[E]===void 0)continue;const{correct:b,applyTo:m}=ff[E],T=c.transform==="none"?d[E]:b(d[E],f);if(m){const _=m.length;for(let v=0;v<_;v++)c[m[v]]=T}else c[E]=T}return this.options.layoutId&&(c.pointerEvents=f===this?Eu(s.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var o;return(o=s.currentAnimation)===null||o===void 0?void 0:o.stop()}),this.root.nodes.forEach(uT),this.root.sharedNodes.clear()}}}function iK(e){e.updateLayout()}function aK(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:a}=e.options,s=n.source!==e.layout.source;a==="size"?or(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],h=fn(d);d.min=r[f].min,d.max=d.min+h}):TA(a,n.layoutBox,r)&&or(f=>{const d=s?n.measuredBox[f]:n.layoutBox[f],h=fn(r[f]);d.max=d.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[f].max=e.relativeTarget[f].min+h)});const o=Is();wl(o,r,n.layoutBox);const l=Is();s?wl(l,e.applyTransform(i,!0),n.measuredBox):wl(l,r,n.layoutBox);const c=!gA(o);let u=!1;if(!e.resumeFrom){const f=e.getClosestProjectingParent();if(f&&!f.resumeFrom){const{snapshot:d,layout:h}=f;if(d&&h){const g=at();Cl(g,n.layoutBox,d.layoutBox);const E=at();Cl(E,r,h.layoutBox),EA(g,E)||(u=!0),f.options.layoutRoot&&(e.relativeTarget=E,e.relativeTargetOrigin=g,e.relativeParent=f)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:o,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function sK(e){ha.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function oK(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function lK(e){e.clearSnapshot()}function uT(e){e.clearMeasurements()}function cK(e){e.isLayoutDirty=!1}function uK(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function fT(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function fK(e){e.resolveTargetDelta()}function dK(e){e.calcProjection()}function hK(e){e.resetRotation()}function pK(e){e.removeLeadSnapshot()}function dT(e,t,n){e.translate=Ye(t.translate,0,n),e.scale=Ye(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function hT(e,t,n,r){e.min=Ye(t.min,n.min,r),e.max=Ye(t.max,n.max,r)}function mK(e,t,n,r){hT(e.x,t.x,n.x,r),hT(e.y,t.y,n.y,r)}function gK(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const EK={duration:.45,ease:[.4,0,.1,1]},pT=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),mT=pT("applewebkit/")&&!pT("chrome/")?Math.round:et;function gT(e){e.min=mT(e.min),e.max=mT(e.max)}function _K(e){gT(e.x),gT(e.y)}function TA(e,t,n){return e==="position"||e==="preserve-aspect"&&!Yp(sT(t),sT(n),.2)}const TK=_A({attachResizeListener:(e,t)=>Hr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),s0={current:void 0},yA=_A({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!s0.current){const e=new TK({});e.mount(window),e.setOptions({layoutScroll:!0}),s0.current=e}return s0.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),yK={pan:{Feature:FV},drag:{Feature:DV,ProjectionNode:yA,MeasureLayout:hA}},vK=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function bK(e){const t=vK.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}function Zp(e,t,n=1){const[r,i]=bK(e);if(!r)return;const a=window.getComputedStyle(t).getPropertyValue(r);if(a){const s=a.trim();return rA(s)?parseFloat(s):s}else return zp(i)?Zp(i,t,n+1):i}function SK(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(i=>{const a=i.get();if(!zp(a))return;const s=Zp(a,r);s&&i.set(s)});for(const i in t){const a=t[i];if(!zp(a))continue;const s=Zp(a,r);s&&(t[i]=s,n||(n={}),n[i]===void 0&&(n[i]=a))}return{target:t,transitionEnd:n}}const AK=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),vA=e=>AK.has(e),xK=e=>Object.keys(e).some(vA),ET=e=>e===Za||e===oe,_T=(e,t)=>parseFloat(e.split(", ")[t]),TT=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return _T(i[1],t);{const a=r.match(/^matrix\((.+)\)$/);return a?_T(a[1],e):0}},NK=new Set(["x","y","z"]),wK=B1.filter(e=>!NK.has(e));function CK(e){const t=[];return wK.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const ao={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:TT(4,13),y:TT(5,14)};ao.translateX=ao.x;ao.translateY=ao.y;const kK=(e,t,n)=>{const r=t.measureViewportBox(),i=t.current,a=getComputedStyle(i),{display:s}=a,o={};s==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(c=>{o[c]=ao[c](r,a)}),t.render();const l=t.measureViewportBox();return n.forEach(c=>{const u=t.getValue(c);u&&u.jump(o[c]),e[c]=ao[c](l,a)}),e},OK=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(vA);let a=[],s=!1;const o=[];if(i.forEach(l=>{const c=e.getValue(l);if(!e.hasValue(l))return;let u=n[l],f=$o(u);const d=t[l];let h;if(hf(d)){const g=d.length,E=d[0]===null?1:0;u=d[E],f=$o(u);for(let b=E;b<g&&d[b]!==null;b++)h?a9($o(d[b])===h):h=$o(d[b])}else h=$o(d);if(f!==h)if(ET(f)&&ET(h)){const g=c.get();typeof g=="string"&&c.set(parseFloat(g)),typeof d=="string"?t[l]=parseFloat(d):Array.isArray(d)&&h===oe&&(t[l]=d.map(parseFloat))}else f!=null&&f.transform&&(h!=null&&h.transform)&&(u===0||d===0)?u===0?c.set(h.transform(u)):t[l]=f.transform(d):(s||(a=CK(e),s=!0),o.push(l),r[l]=r[l]!==void 0?r[l]:t[l],c.jump(d))}),o.length){const l=o.indexOf("height")>=0?window.pageYOffset:null,c=kK(t,e,o);return a.length&&a.forEach(([u,f])=>{e.getValue(u).set(f)}),e.render(),gd&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:r}}else return{target:t,transitionEnd:r}};function RK(e,t,n,r){return xK(t)?OK(e,t,n,r):{target:t,transitionEnd:r}}const IK=(e,t,n,r)=>{const i=SK(e,t,r);return t=i.target,r=i.transitionEnd,RK(e,t,n,r)},Jp={current:null},bA={current:!1};function MK(){if(bA.current=!0,!!gd)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Jp.current=e.matches;e.addListener(t),t()}else Jp.current=!1}function LK(e,t,n){const{willChange:r}=t;for(const i in t){const a=t[i],s=n[i];if(Xt(a))e.addValue(i,a),Ef(r)&&r.add(i);else if(Xt(s))e.addValue(i,io(a,{owner:e})),Ef(r)&&r.remove(i);else if(s!==a)if(e.hasValue(i)){const o=e.getValue(i);!o.hasAnimated&&o.set(a)}else{const o=e.getStaticValue(i);e.addValue(i,io(o!==void 0?o:a,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const yT=new WeakMap,SA=Object.keys(p1),PK=SA.length,vT=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],DK=Xg.length;class FK{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,visualState:a},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>ze.render(this.render,!1,!0);const{latestValues:o,renderState:l}=a;this.latestValues=o,this.baseTarget={...o},this.initialValues=n.initial?{...o}:{},this.renderState=l,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.isControllingVariants=_d(n),this.isVariantNode=oS(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(n,{});for(const f in u){const d=u[f];o[f]!==void 0&&Xt(d)&&(d.set(o[f],!1),Ef(c)&&c.add(f))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,yT.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),bA.current||MK(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Jp.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){yT.delete(this.current),this.projection&&this.projection.unmount(),Zr(this.notifyUpdate),Zr(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Qa.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ze.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),a()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,a){let s,o;for(let l=0;l<PK;l++){const c=SA[l],{isEnabled:u,Feature:f,ProjectionNode:d,MeasureLayout:h}=p1[c];d&&(s=d),u(n)&&(!this.features[c]&&f&&(this.features[c]=new f(this)),h&&(o=h))}if(!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);const{layoutId:l,layout:c,drag:u,dragConstraints:f,layoutScroll:d,layoutRoot:h}=n;this.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:!!u||f&&Os(f),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:a,layoutScroll:d,layoutRoot:h})}return o}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):at()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<vT.length;r++){const i=vT[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const a=t["on"+i];a&&(this.propEventSubscriptions[i]=this.on(i,a))}this.prevMotionValues=LK(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<DK;r++){const i=Xg[r],a=this.props[i];(h1(a)||a===!1)&&(n[i]=a)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=io(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,i=typeof r=="string"||typeof r=="object"?(n=i9(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&i!==void 0)return i;const a=this.getBaseTargetFromProps(this.props,t);return a!==void 0&&!Xt(a)?a:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new h9),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class AA extends FK{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:i},a){let s=nV(r,t||{},this);if(i&&(n&&(n=i(n)),r&&(r=i(r)),s&&(s=i(s))),a){eV(this,r,s);const o=IK(this,r,s,n);n=o.transitionEnd,r=o.target}return{transition:t,transitionEnd:n,...r}}}function BK(e){return window.getComputedStyle(e)}class UK extends AA{readValueFromInstance(t,n){if(Qa.has(n)){const r=c9(n);return r&&r.default||0}else{const r=BK(t),i=(dS(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return dA(t,n)}build(t,n,r,i){Zg(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n){return r9(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Xt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){_S(t,n,r,i)}}class HK extends AA{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Qa.has(n)){const r=c9(n);return r&&r.default||0}return n=TS.has(n)?n:n9(n),t.getAttribute(n)}measureInstanceViewportBox(){return at()}scrapeMotionValuesFromProps(t,n){return vS(t,n)}build(t,n,r,i){e9(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){yS(t,n,r,i)}mount(t){this.isSVGTag=t9(t.tagName),super.mount(t)}}const zK=(e,t)=>Qg(e)?new HK(t,{enableHardwareAcceleration:!1}):new UK(t,{enableHardwareAcceleration:!0}),jK={layout:{ProjectionNode:yA,MeasureLayout:hA}},$K={...gV,...D$,...yK,...jK},GK=Gj((e,t)=>S$(e,t,$K,zK)),VK=[{position:{left:0,top:0},delay:.1},{position:{left:16,top:0},delay:.05},{position:{left:32,top:0},delay:0},{position:{left:0,top:16},delay:.15},{position:{left:16,top:16},delay:.2},{position:{left:32,top:16},delay:.25},{position:{left:0,top:32},delay:.4},{position:{left:16,top:32},delay:.35},{position:{left:32,top:32},delay:.3}],p9=({color:e})=>y.jsx("div",{className:"relative h-[34px] w-[34px]",role:"progressbar",children:VK.map(({position:t,delay:n},r)=>y.jsx(GK.div,{className:`absolute ${e?"bg-"+e:"bg-ide-highlight"} left-[${t.left}px] top-[${t.top}px] h-[2px] w-[2px]`,animate:{opacity:[0,1,1,0,0]},transition:{delay:n,duration:1,repeat:1/0,times:[0,.1,.6,.7,1],repeatDelay:1}},r))}),g1=({message:e})=>{window.sourceryLS.postMessage({message:e})},em=({message:e})=>{window.sourceryLS.postMessage({message:e})},bT=({message:e,isComplete:t,onImageLoad:n})=>{const r=L.useCallback((i,a)=>{g1({message:{target:"languageServer",view:"chat",request:"applyFixes",file:i,fixes:a}})},[]);return y.jsx("div",{className:"flex flex-row justify-start",children:y.jsxs("div",{className:We("assistant-message border border-ide-border relative flex flex-col",e.outcome==="error"?"bg-ide-error-bg":"bg-ide-chat-input-bg"),children:[y.jsx("div",{className:We(e.requestId?"mb-5":"mb-2"),children:e.textContent?y.jsx(ks,{markdown:e.textContent,isComplete:t,onApplyFixes:r,onImageLoad:n}):y.jsx(iS,{})}),y.jsx(Wg,{contextIndicators:e.contextIndicators,className:"justify-start"})]})})},KK=({message:{textContent:e,contextIndicators:t}})=>y.jsx("div",{className:"flex flex-row justify-end",children:y.jsxs("div",{className:"rounded-lg-br-none ml-4 flex w-fit flex-col gap-1 border border-ide-border bg-ide-chat-input-bg px-4 py-2 text-ide-chat-input-text",children:[y.jsx("p",{children:e}),y.jsx(Wg,{contextIndicators:t,className:"justify-end"})]})}),WK=()=>y.jsxs("div",{className:"mb-4 mt-1 flex flex-row items-center justify-start gap-2 text-sm font-bold text-ide-disabled-text",children:[y.jsx("span",{children:y.jsx(me.Cancel,{})}),y.jsx("span",{children:"Canceled"})]}),xA=[{id:"sequence",name:"Sequence Diagram",description:"Visualize interactions between components over time"},{id:"class",name:"Class Diagram",description:"Show relationships between classes and interfaces"},{id:"flow",name:"Flow Chart",description:"Visualize logic flows and processes"}],YK=({setSelectedDiagramType:e,diagramScope:t,setDiagramScope:n})=>{const[r,i]=L.useState(null),a=()=>{em({message:{target:"languageServer",view:"chat",request:"executeRecipe",recipeId:"generate_diagram",name:"Generate Diagram",diagramType:(r==null?void 0:r.name)??null,diagramDescription:t||null,trigger:"recipeViewButton"}}),e(null),n("")},s=o=>{o.key==="Enter"&&(o.preventDefault(),a())};return y.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",onClick:()=>{e(null),n("")},children:y.jsxs("div",{className:"w-[400px] rounded-md border border-ide-border bg-ide-editor-bg",onClick:o=>o.stopPropagation(),children:[y.jsxs("div",{className:"flex items-center justify-between border-b border-ide-border p-3",children:[y.jsx("span",{className:"font-medium",children:"Generate Diagram"}),y.jsx("button",{onClick:()=>{e(null),n("")},className:"text-ide-disabled-text hover:text-ide-chat-input-text",children:y.jsx(me.Cross,{className:"h-4 w-4"})})]}),y.jsxs("div",{className:"flex flex-col gap-4 p-3",children:[y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsx("label",{className:"text-sm text-ide-disabled-text",children:"Select diagram type (optional):"}),y.jsx("div",{className:"flex flex-col gap-2",children:xA.map(o=>y.jsxs("button",{className:`flex flex-col items-start rounded border p-2 text-left hover:bg-ide-chat-input-bg ${(r==null?void 0:r.id)===o.id?"border-ide-primary-btn-text bg-ide-chat-input-bg":"border-ide-border"}`,onClick:()=>i(o),children:[y.jsx("div",{className:"font-medium",children:o.name}),y.jsx("div",{className:"text-sm text-ide-disabled-text",children:o.description})]},o.id))})]}),y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsx("label",{className:"text-sm text-ide-disabled-text",children:"What would you like to visualize? (optional)"}),y.jsx("input",{type:"text",className:"rounded border border-ide-border bg-ide-editor-bg px-3 py-2",placeholder:"Describe what to diagram...",value:t,onChange:o=>n(o.target.value),onKeyDown:s,autoFocus:!0})]}),y.jsx("button",{className:"btn-primary mt-2 rounded px-3 py-2 text-center hover:opacity-90",onClick:a,children:"Generate Diagram"})]})]})})},qK=L.forwardRef((e,t)=>{const{isProcessing:n}=e,[r,i]=L.useState(),[a,s]=L.useState(!1),[{recipes:o,status:l},c]=L.useState({recipes:[],status:"pending"}),[u,f]=L.useState(null),[d,h]=L.useState(""),g=L.useRef(null),E=L.useRef(null),b=L.useCallback(()=>{var S;(S=E.current)==null||S.focus()},[]);L.useImperativeHandle(t,()=>({focus:b}),[b]);const m=L.useCallback(({data:S})=>{switch(S.command){case"chat/focus":b()}},[b]);L.useEffect(()=>(window.addEventListener("message",m),()=>window.removeEventListener("message",m)),[m]),L.useEffect(()=>(window.addEventListener("focus",b),()=>window.removeEventListener("focus",b)),[b]);const T=S=>{S.preventDefault(),!(!r||n)&&(g1({message:{target:"languageServer",view:"chat",request:"sendMessage",textContent:r}}),i(""))},_=L.useCallback(S=>{var A;S.key=="Enter"&&!S.shiftKey&&!n&&(S.preventDefault(),(A=g.current)==null||A.requestSubmit())},[n]),v=L.useCallback(({data:{command:S,recipes:A}})=>{switch(S){case"recipes/addRecipes":c(yt(k=>{k.status="ok",k.recipes=A}))}},[]);L.useEffect(()=>(window.addEventListener("message",v),()=>window.removeEventListener("message",v)),[v]),L.useEffect(()=>{em({message:yU})},[]);const N=(S,A)=>{S==="generate_diagram"?f(xA[0]):em({message:{target:"languageServer",view:"chat",request:"executeRecipe",recipeId:S,name:A,trigger:"recipeViewButton"}}),s(!1)};return y.jsx("div",{className:"relative w-full",children:y.jsx("form",{onSubmit:T,ref:g,autoFocus:!0,children:y.jsxs("div",{className:"relative flex flex-col rounded bg-ide-editor-bg p-2",children:[y.jsx("textarea",{name:"chatPrompt",id:"chatPrompt",placeholder:"Ask anything...",className:"min-h-[80px] w-full resize-none rounded border border-ide-border bg-transparent px-3 py-2 text-ide-chat-input-text focus:outline-none",value:r,onChange:({target:{value:S}})=>i(S),onKeyDown:_,ref:E,autoFocus:!0,rows:3}),y.jsxs("div",{className:"flex items-center gap-4 px-2 pt-2",children:[y.jsxs("div",{className:"relative",children:[y.jsxs("button",{type:"button",className:"flex items-center gap-1.5 text-sm text-ide-chat-input-text hover:text-ide-primary-btn-text disabled:opacity-50",onClick:()=>s(!a),disabled:n,children:[y.jsx("span",{children:"recipes"}),y.jsx(me.ChevronDown,{className:"h-3 w-3"})]}),a&&y.jsxs("div",{className:"absolute bottom-full left-[-2px] mb-1 w-[250px] rounded-md border border-ide-border bg-ide-editor-bg shadow-lg",children:[y.jsx("div",{className:"flex items-center justify-between px-2 py-1",children:y.jsx("span",{className:"text-sm opacity-70",children:"Available Recipes"})}),y.jsx("div",{className:"max-h-[256px] overflow-y-auto",children:l==="pending"?y.jsx("div",{className:"flex h-20 items-center justify-center",children:y.jsx(p9,{})}):o.map(({id:S,name:A},k)=>y.jsx("button",{className:"flex w-full items-center gap-2 px-4 py-2 hover:bg-ide-chat-input-bg disabled:opacity-50",onClick:()=>N(S,A),disabled:n,children:A},k))})]}),u&&y.jsx(YK,{setSelectedDiagramType:f,diagramScope:d,setDiagramScope:h})]}),y.jsx("button",{className:"ml-auto text-ide-chat-input-text hover:text-ide-primary-btn-text disabled:opacity-50",type:"submit",disabled:!r||n,children:y.jsx(me.PaperPlane,{className:"h-4 w-4"})})]})]})})})}),XK=()=>y.jsxs("button",{className:"flex flex-row items-center gap-2 rounded px-1 font-bold hover:bg-ide-chat-input-bg",onClick:e=>{e.stopPropagation(),g1({message:_U})},children:[y.jsx("span",{children:y.jsx(me.Plus,{})}),y.jsx("span",{children:"New Chat"})]}),QK=L.forwardRef(({className:e},t)=>{const[{messages:n,currentMessage:r},i]=L.useState({messages:[],currentMessage:null}),a=L.useRef(null),s=fb(a),o=L.useRef(null),l=L.useCallback(f=>{switch(f.role){case"user":{i(yt(d=>{d.messages.push(f),d.currentMessage={role:"assistant",outcome:"success",textContent:""}})),setTimeout(()=>{a.current&&yp(a.current)},0);break}case"assistant":i(yt(d=>{d.currentMessage&&f.outcome==="success"?d.currentMessage.textContent+=f.textContent:d.currentMessage&&d.currentMessage.textContent&&f.outcome==="error"?(d.messages.push(d.currentMessage,f),d.currentMessage=null):f.outcome==="error"?(d.messages.push(f),d.currentMessage=null):f.outcome==="finished"?(d.currentMessage&&d.currentMessage.textContent&&(d.currentMessage.requestId=f.requestId,d.currentMessage.contextIndicators=f.contextIndicators,d.messages.push(d.currentMessage)),d.currentMessage=null):d.currentMessage=f}))}},[]),c=L.useCallback(({data:f})=>{switch(f.command){case"chat/addMessage":l(f.message);break;case"chat/clear":i(yt(d=>{d.messages=[],d.currentMessage=null}));break;case"chat/notifyCancel":i(yt(d=>{d.currentMessage&&d.currentMessage.textContent.length&&(d.currentMessage.requestId=f.requestId||void 0,d.messages.push(d.currentMessage)),d.messages.push("cancellationNotification"),d.currentMessage=null}));break}},[l]);L.useImperativeHandle(t,()=>({focus:()=>{var f;(f=o.current)==null||f.focus()}})),L.useLayoutEffect(()=>{s()},[r==null?void 0:r.textContent,n.length,s]),L.useEffect(()=>(window.addEventListener("message",c),()=>window.removeEventListener("message",c)),[c]),L.useEffect(()=>{g1({message:EU})},[]);const u=L.useCallback(()=>{a.current&&requestAnimationFrame(()=>{yp(a.current)})},[]);return y.jsxs("div",{className:e,"data-testid":"chat-view",children:[n.length===0&&r===null?y.jsx("div",{className:"flex grow flex-col items-center justify-center gap-8",children:y.jsx(p9,{})}):y.jsxs("section",{className:"flex grow flex-col gap-4 overflow-auto p-2",ref:a,children:[n.map((f,d)=>{if(f==="cancellationNotification")return y.jsx(WK,{});switch(f.role){case"assistant":return y.jsx(bT,{message:f,isComplete:!0,onImageLoad:u},d);case"user":return y.jsx(KK,{message:f},d)}}),r&&y.jsx(bT,{message:r,isComplete:!1,onImageLoad:u})]}),y.jsxs("footer",{className:We("flex grow-0 flex-col gap-2 border-t border-t-ide-border p-2"),children:[y.jsx("div",{className:"flex flex-row justify-center",children:y.jsxs("button",{disabled:r===null,className:"flex w-fit flex-row items-center gap-2 p-2 hover:enabled:opacity-80 disabled:text-ide-disabled-text",onClick:f=>{var d;f.stopPropagation(),(d=o.current)==null||d.focus(),g1({message:TU})},children:[y.jsx(me.CirclePause,{}),y.jsx("span",{children:"Cancel"})]})}),y.jsx(qK,{ref:o,isProcessing:r!==null})]}),y.jsx("div",{className:"flex h-1 w-full bg-ide-border"})]})}),NA={selectedTab:"review",selectedReviewOption:"current"},bd=L.createContext({uiState:NA,updateUIState:e=>{console.warn("Default updateUIState called - this means you are using the context outside of UIStateProvider!",e)}}),wA={isFeatureFlagEnabled:!1,isAuthenticated:!1,isAuthorized:!1,isRepositoryOpenSource:!1,isConfigEnabled:!1,showCodeLens:!0,isGitRepository:!1,branches:[]},Sd=L.createContext(wA),ZK=Sd.Provider,JK=({disabled:e,isOpen:t,setIsOpen:n,selectedReviewOption:r,selectedBranch:i,updateUIState:a,isGitRepository:s,branches:o,onRefresh:l})=>{const c=()=>{switch(r){case"current":return"Review current file";case"head":return"Compare with HEAD";case"branch":return`Compare with ${i}`;default:return"Select comparison"}};return y.jsxs("div",{className:"relative",children:[y.jsxs("button",{type:"button",className:"flex w-full items-center justify-between gap-2 rounded border border-ide-border bg-ide-editor-bg px-4 py-2 hover:bg-ide-chat-input-bg",onClick:()=>n(!t),disabled:e,children:[y.jsxs("div",{className:"flex items-center gap-2",children:[r==="current"?y.jsx(me.File,{className:"h-4 w-4 opacity-70"}):y.jsx(me.Git,{className:"h-4 w-4 opacity-70"}),y.jsx("span",{children:c()})]}),y.jsx(me.ChevronDown,{className:"h-4 w-4 opacity-50"})]}),t&&y.jsxs("div",{className:"absolute left-0 top-full z-10 mt-1 w-full rounded border border-ide-border bg-ide-editor-bg shadow-lg",children:[y.jsxs("button",{type:"button",className:"flex w-full items-center gap-2 px-4 py-2 hover:bg-ide-chat-input-bg",onClick:()=>{a({selectedReviewOption:"current"}),n(!1)},children:[y.jsx(me.File,{className:"h-4 w-4"}),"Review current file"]}),s&&y.jsxs(y.Fragment,{children:[y.jsx("div",{className:"border-t border-ide-border"}),y.jsxs("button",{type:"button",className:"flex w-full items-center gap-2 px-4 py-2 hover:bg-ide-chat-input-bg",onClick:()=>{a({selectedReviewOption:"head"}),n(!1)},children:[y.jsx(me.Git,{className:"h-4 w-4"}),"Compare with HEAD"]}),y.jsx("div",{className:"border-t border-ide-border"}),y.jsxs("div",{className:"flex items-center justify-between px-2 py-1",children:[y.jsx("span",{className:"text-sm opacity-70",children:"Compare with branch:"}),y.jsx("button",{type:"button",onClick:u=>{u.stopPropagation(),l()},className:"flex items-center justify-center rounded p-1 hover:bg-ide-chat-input-bg",title:"Refresh branches",children:y.jsx(me.Refresh,{})})]}),y.jsx("div",{className:"max-h-[256px] overflow-y-auto",children:o.map(u=>y.jsxs("button",{type:"button",className:"flex w-full items-center gap-2 px-4 py-2 hover:bg-ide-chat-input-bg",onClick:()=>{a({selectedReviewOption:"branch",selectedBranch:u.name}),n(!1)},children:[y.jsx(me.Git,{className:"h-4 w-4"}),y.jsxs("span",{className:"flex items-center gap-2",children:[u.name,u.isDefault&&y.jsx("span",{className:"rounded bg-ide-border px-1.5 py-0.5 text-xs opacity-70",children:"default"})]})]},u.name))})]})]})]})},so=({message:e})=>{window.sourceryLS.postMessage({message:e})},Ls=({outcome:e,textContent:t})=>y.jsx("div",{className:"flex flex-row justify-start",children:y.jsx("div",{className:We("rounded-lg-bl-none mr-4 w-fit max-w-full rounded-tl-lg rounded-tr-lg px-4 py-2",e==="error"?"bg-ide-error-bg":"bg-ide-chat-input-bg"),children:t?y.jsx(ks,{markdown:t}):y.jsx(iS,{})})}),eW=({diagrams:e})=>y.jsx("div",{className:"flex flex-row justify-start",children:y.jsx("div",{className:We("rounded-lg-bl-none mr-4 rounded-tl-lg rounded-tr-lg px-4 py-2","bg-ide-chat-input-bg"),children:e.map((t,n)=>y.jsx("div",{children:y.jsx(nS,{chart:t.diagram,title:t.title})},n))})}),tW=({summary:e,follow_up_comment:t,file:n,location:r,diff_line_for_comment:i,area:a,comment_type:s,formatted_fix:o,formatted_diff_context:l,fix:c,resolved:u,outdated:f})=>{const[d,h]=L.useState(u);L.useEffect(()=>{h(u)},[u]);const g=L.useCallback(()=>{so({message:{target:"languageServer",view:"review",request:"notifyCommentInteraction",commentInteraction:"apply",file:n,diff_line_for_comment:i,fix:c}})},[n,i,c]),E=()=>{h(!d)};return y.jsx("div",{className:"flex w-full flex-row justify-start",children:y.jsxs("div",{className:We("rounded-lg-bl-none mr-4 w-full rounded-tl-lg rounded-tr-lg px-4 py-2","bg-ide-chat-input-bg","relative"),children:[f&&y.jsx("div",{className:We("absolute right-2 top-2 rounded-full border border-ide-warning-bg bg-transparent px-2 py-0.5 text-xs text-ide-text",{"opacity-50":u}),children:"outdated"}),y.jsxs("div",{className:We({"opacity-50":u}),children:[y.jsxs("div",{className:"flex items-center gap-2 pr-16",children:[y.jsx(me.ChevronRight,{className:We("transition-transform flex-shrink-0 mt-[2px] cursor-pointer hover:opacity-80",{"rotate-90":!d}),onClick:E}),y.jsxs("div",{className:"relative grow overflow-hidden",children:[y.jsx("div",{className:"truncate",children:y.jsx(ks,{markdown:r})}),y.jsx("div",{className:"pointer-events-none absolute right-0 top-0 h-full w-4 bg-gradient-to-r from-transparent via-transparent to-ide-chat-input-bg"})]})]}),y.jsx("div",{className:"mt-2 flex flex-row gap-2",children:y.jsxs("span",{className:"text-sm",children:[y.jsx("span",{className:"font-bold",children:s}),y.jsx("span",{children:"("}),y.jsx("span",{className:"italic",children:a}),y.jsx("span",{children:"): "}),y.jsx("span",{children:e})]})})]}),!d&&y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:We({"opacity-50":u}),children:[y.jsx(ks,{markdown:l,hideCodeButtons:!0}),y.jsx(ks,{markdown:t}),o&&y.jsxs("div",{className:"mt-2 border-t border-ide-border pt-2",children:[y.jsx("div",{className:"text-sm font-bold",children:"Suggested Fix:"}),y.jsx(ks,{markdown:o,hideCodeButtons:u||f,onApplyFix:!u&&!f?g:void 0})]})]}),y.jsx("div",{className:"mt-2 flex flex-row justify-end",children:y.jsxs("button",{onClick:()=>so({message:{target:"languageServer",view:"review",request:"notifyCommentInteraction",commentInteraction:u?"unresolved":"resolved",file:n,diff_line_for_comment:i}}),title:u?"Mark this comment as unresolved.":"Mark this comment as resolved.",className:"flex flex-row items-center gap-1 rounded-full border border-ide-border px-2 py-0.5 text-xs hover:opacity-80",children:[y.jsx(me.Check,{})," ",u?"Unresolve":"Resolve"]})})]})]})})},nW=({summary:e,running:t})=>e&&e.textContent?y.jsx(Ls,{outcome:e.outcome,textContent:e.textContent,type:"text"}):t?y.jsx(Ls,{outcome:"success",textContent:"Generating detailed review - this might take a little while...",type:"text"}):null,rW=()=>y.jsxs("button",{className:"flex flex-row gap-2 rounded px-1 font-bold hover:bg-ide-chat-input-bg",onClick:e=>{e.stopPropagation(),so({message:y6})},children:[y.jsx("span",{children:y.jsx(me.Plus,{})}),y.jsx("span",{children:"New Review"})]}),iW=({disabled:e})=>{const{uiState:t,updateUIState:n}=L.useContext(bd),r=L.useContext(Sd),[i,a]=L.useState(!1),[s,o]=L.useState(!1),l=L.useCallback(()=>{window.sourceryLS.postMessage({message:T6})},[]),c=L.useCallback(f=>{f.preventDefault(),o(!0),so({message:y6}),so({message:{target:"languageServer",view:"review",request:"review",comparisonType:t.selectedReviewOption,branch:t.selectedBranch}})},[t.selectedReviewOption,t.selectedBranch]);L.useEffect(()=>{e||o(!1)},[e]);const u=e||s;return y.jsxs("form",{className:"flex flex-col gap-2 p-2",onSubmit:c,children:[y.jsx("div",{className:"grow",children:y.jsx(JK,{disabled:u,isOpen:i,setIsOpen:a,selectedReviewOption:t.selectedReviewOption,selectedBranch:t.selectedBranch,updateUIState:n,isGitRepository:r.isGitRepository,branches:r.branches,onRefresh:l})}),y.jsx("button",{type:"submit",className:"btn-primary w-full border border-ide-border p-1",disabled:u,children:u?"Review in progress...":"Review My Code"})]})},aW=()=>y.jsxs("div",{className:"mb-4 mt-1 flex flex-row items-center justify-start gap-2 text-sm font-bold text-ide-disabled-text",children:[y.jsx("span",{children:y.jsx(me.Cancel,{})}),y.jsx("span",{children:"Canceled"})]}),sW=({className:e})=>{const[{overview:t,change_summary:n,summary:r,diagram:i,comments:a,error:s,cancelled:o,running:l,running_detailed:c},u]=L.useState({overview:null,change_summary:null,summary:null,diagram:null,comments:[],error:null,cancelled:!1,running:!1,running_detailed:!1}),f=L.useRef(null),d=fb(f),h=L.useCallback(({data:g})=>{switch(g.command){case"review/addOverviewMessage":u(yt(E=>{E.running=!0,E.overview=g.message}));break;case"review/addChangeSummaryMessage":u(yt(E=>{E.change_summary?E.change_summary.textContent+=g.message.textContent:E.change_summary=g.message}));break;case"review/addSummaryMessage":u(yt(E=>{E.summary=g.message}));break;case"review/addCommentMessage":u(yt(E=>{E.comments.push(g.comment)}));break;case"review/addErrorMessage":u(yt(E=>{E.error=g.message}));break;case"review/clear":u(yt(()=>({overview:null,change_summary:null,summary:null,diagram:null,comments:[],error:null,cancelled:!1,running:!1,running_detailed:!1})));break;case"review/notifyCancel":u(yt(E=>{E.cancelled=!0}));break;case"review/notifyStreamingComplete":u(yt(E=>{E.running_detailed=!0}));break;case"review/notifyComplete":u(yt(E=>{E.running=!1,E.running_detailed=!1}));break;case"review/addDiagramMessage":u(yt(E=>{E.diagram=g.message}));break;case"review/updateComment":u(yt(E=>{const b=E.comments.findIndex(m=>m.comment.file.trim()===g.comment.comment.file.trim()&&m.comment.diff_line_for_comment===g.comment.comment.diff_line_for_comment);b!==-1&&(E.comments[b].comment=g.comment.comment)}));break}},[]);return L.useLayoutEffect(()=>{d()},[a.length,d]),L.useEffect(()=>(window.addEventListener("message",h),()=>window.removeEventListener("message",h)),[h]),y.jsxs("div",{className:e,"data-testid":"review-view",children:[y.jsx(iW,{disabled:l}),y.jsxs("section",{className:"flex grow flex-col gap-2 overflow-y-auto p-2",ref:f,children:[t&&y.jsxs(y.Fragment,{children:[y.jsx(Ls,{outcome:t.outcome,textContent:t.textContent,type:"text"})," "]}),n&&y.jsx(y.Fragment,{children:y.jsx(Ls,{outcome:n.outcome,textContent:n.textContent,type:"text"})}),t&&y.jsx(y.Fragment,{children:y.jsx(nW,{summary:r,running:c})}),i&&y.jsx(eW,{diagrams:i.diagrams,type:"diagrams"}),a.map((g,E)=>y.jsx(tW,{...g.comment},E)),c&&y.jsx(Ls,{outcome:"success",textContent:"",type:"text"}),o&&y.jsx(aW,{}),s&&y.jsx(Ls,{outcome:s.outcome,textContent:s.textContent,type:"text"})]}),y.jsx("footer",{className:We(l?"flex flex-row justify-center border-t border-ide-border":"hidden"),children:y.jsxs("button",{className:"flex w-fit flex-row items-center gap-2 p-1 hover:enabled:opacity-80 disabled:text-ide-disabled-text",onClick:()=>so({message:vU}),children:[y.jsx(me.Cancel,{}),y.jsx("span",{children:"Cancel"})]})})]})},oW=""+new URL("sourcery-logo.svg",import.meta.url).href;var ST=function(t){return t.reduce(function(n,r){var i=r[0],a=r[1];return n[i]=a,n},{})},AT=typeof window<"u"&&window.document&&window.document.createElement?L.useLayoutEffect:L.useEffect,Yt="top",On="bottom",Rn="right",qt="left",m9="auto",j1=[Yt,On,Rn,qt],oo="start",E1="end",lW="clippingParents",CA="viewport",Vo="popper",cW="reference",xT=j1.reduce(function(e,t){return e.concat([t+"-"+oo,t+"-"+E1])},[]),kA=[].concat(j1,[m9]).reduce(function(e,t){return e.concat([t,t+"-"+oo,t+"-"+E1])},[]),uW="beforeRead",fW="read",dW="afterRead",hW="beforeMain",pW="main",mW="afterMain",gW="beforeWrite",EW="write",_W="afterWrite",TW=[uW,fW,dW,hW,pW,mW,gW,EW,_W];function vr(e){return e?(e.nodeName||"").toLowerCase():null}function dn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function za(e){var t=dn(e).Element;return e instanceof t||e instanceof Element}function Nn(e){var t=dn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function g9(e){if(typeof ShadowRoot>"u")return!1;var t=dn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function yW(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!Nn(a)||!vr(a)||(Object.assign(a.style,r),Object.keys(i).forEach(function(s){var o=i[s];o===!1?a.removeAttribute(s):a.setAttribute(s,o===!0?"":o)}))})}function vW(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],a=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),o=s.reduce(function(l,c){return l[c]="",l},{});!Nn(i)||!vr(i)||(Object.assign(i.style,o),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}const bW={name:"applyStyles",enabled:!0,phase:"write",fn:yW,effect:vW,requires:["computeStyles"]};function Tr(e){return e.split("-")[0]}var Ca=Math.max,Tf=Math.min,lo=Math.round;function tm(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function OA(){return!/^((?!chrome|android).)*safari/i.test(tm())}function co(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&Nn(e)&&(i=e.offsetWidth>0&&lo(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&lo(r.height)/e.offsetHeight||1);var s=za(e)?dn(e):window,o=s.visualViewport,l=!OA()&&n,c=(r.left+(l&&o?o.offsetLeft:0))/i,u=(r.top+(l&&o?o.offsetTop:0))/a,f=r.width/i,d=r.height/a;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function E9(e){var t=co(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function RA(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&g9(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Jr(e){return dn(e).getComputedStyle(e)}function SW(e){return["table","td","th"].indexOf(vr(e))>=0}function ta(e){return((za(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ad(e){return vr(e)==="html"?e:e.assignedSlot||e.parentNode||(g9(e)?e.host:null)||ta(e)}function NT(e){return!Nn(e)||Jr(e).position==="fixed"?null:e.offsetParent}function AW(e){var t=/firefox/i.test(tm()),n=/Trident/i.test(tm());if(n&&Nn(e)){var r=Jr(e);if(r.position==="fixed")return null}var i=Ad(e);for(g9(i)&&(i=i.host);Nn(i)&&["html","body"].indexOf(vr(i))<0;){var a=Jr(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function $1(e){for(var t=dn(e),n=NT(e);n&&SW(n)&&Jr(n).position==="static";)n=NT(n);return n&&(vr(n)==="html"||vr(n)==="body"&&Jr(n).position==="static")?t:n||AW(e)||t}function _9(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function kl(e,t,n){return Ca(e,Tf(t,n))}function xW(e,t,n){var r=kl(e,t,n);return r>n?n:r}function IA(){return{top:0,right:0,bottom:0,left:0}}function MA(e){return Object.assign({},IA(),e)}function LA(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var NW=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,MA(typeof t!="number"?t:LA(t,j1))};function wW(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,o=Tr(n.placement),l=_9(o),c=[qt,Rn].indexOf(o)>=0,u=c?"height":"width";if(!(!a||!s)){var f=NW(i.padding,n),d=E9(a),h=l==="y"?Yt:qt,g=l==="y"?On:Rn,E=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],b=s[l]-n.rects.reference[l],m=$1(a),T=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,_=E/2-b/2,v=f[h],N=T-d[u]-f[g],S=T/2-d[u]/2+_,A=kl(v,S,N),k=l;n.modifiersData[r]=(t={},t[k]=A,t.centerOffset=A-S,t)}}function CW(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||RA(t.elements.popper,i)&&(t.elements.arrow=i))}const kW={name:"arrow",enabled:!0,phase:"main",fn:wW,effect:CW,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function uo(e){return e.split("-")[1]}var OW={top:"auto",right:"auto",bottom:"auto",left:"auto"};function RW(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:lo(n*i)/i||0,y:lo(r*i)/i||0}}function wT(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=s.x,h=d===void 0?0:d,g=s.y,E=g===void 0?0:g,b=typeof u=="function"?u({x:h,y:E}):{x:h,y:E};h=b.x,E=b.y;var m=s.hasOwnProperty("x"),T=s.hasOwnProperty("y"),_=qt,v=Yt,N=window;if(c){var S=$1(n),A="clientHeight",k="clientWidth";if(S===dn(n)&&(S=ta(n),Jr(S).position!=="static"&&o==="absolute"&&(A="scrollHeight",k="scrollWidth")),S=S,i===Yt||(i===qt||i===Rn)&&a===E1){v=On;var I=f&&S===N&&N.visualViewport?N.visualViewport.height:S[A];E-=I-r.height,E*=l?1:-1}if(i===qt||(i===Yt||i===On)&&a===E1){_=Rn;var P=f&&S===N&&N.visualViewport?N.visualViewport.width:S[k];h-=P-r.width,h*=l?1:-1}}var D=Object.assign({position:o},c&&OW),z=u===!0?RW({x:h,y:E},dn(n)):{x:h,y:E};if(h=z.x,E=z.y,l){var X;return Object.assign({},D,(X={},X[v]=T?"0":"",X[_]=m?"0":"",X.transform=(N.devicePixelRatio||1)<=1?"translate("+h+"px, "+E+"px)":"translate3d("+h+"px, "+E+"px, 0)",X))}return Object.assign({},D,(t={},t[v]=T?E+"px":"",t[_]=m?h+"px":"",t.transform="",t))}function IW(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,s=a===void 0?!0:a,o=n.roundOffsets,l=o===void 0?!0:o,c={placement:Tr(t.placement),variation:uo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,wT(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,wT(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const MW={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:IW,data:{}};var Yc={passive:!0};function LW(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,s=r.resize,o=s===void 0?!0:s,l=dn(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(u){u.addEventListener("scroll",n.update,Yc)}),o&&l.addEventListener("resize",n.update,Yc),function(){a&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Yc)}),o&&l.removeEventListener("resize",n.update,Yc)}}const PW={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:LW,data:{}};var DW={left:"right",right:"left",bottom:"top",top:"bottom"};function Tu(e){return e.replace(/left|right|bottom|top/g,function(t){return DW[t]})}var FW={start:"end",end:"start"};function CT(e){return e.replace(/start|end/g,function(t){return FW[t]})}function T9(e){var t=dn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function y9(e){return co(ta(e)).left+T9(e).scrollLeft}function BW(e,t){var n=dn(e),r=ta(e),i=n.visualViewport,a=r.clientWidth,s=r.clientHeight,o=0,l=0;if(i){a=i.width,s=i.height;var c=OA();(c||!c&&t==="fixed")&&(o=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:o+y9(e),y:l}}function UW(e){var t,n=ta(e),r=T9(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Ca(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Ca(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),o=-r.scrollLeft+y9(e),l=-r.scrollTop;return Jr(i||n).direction==="rtl"&&(o+=Ca(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:o,y:l}}function v9(e){var t=Jr(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function PA(e){return["html","body","#document"].indexOf(vr(e))>=0?e.ownerDocument.body:Nn(e)&&v9(e)?e:PA(Ad(e))}function Ol(e,t){var n;t===void 0&&(t=[]);var r=PA(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=dn(r),s=i?[a].concat(a.visualViewport||[],v9(r)?r:[]):r,o=t.concat(s);return i?o:o.concat(Ol(Ad(s)))}function nm(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function HW(e,t){var n=co(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function kT(e,t,n){return t===CA?nm(BW(e,n)):za(t)?HW(t,n):nm(UW(ta(e)))}function zW(e){var t=Ol(Ad(e)),n=["absolute","fixed"].indexOf(Jr(e).position)>=0,r=n&&Nn(e)?$1(e):e;return za(r)?t.filter(function(i){return za(i)&&RA(i,r)&&vr(i)!=="body"}):[]}function jW(e,t,n,r){var i=t==="clippingParents"?zW(e):[].concat(t),a=[].concat(i,[n]),s=a[0],o=a.reduce(function(l,c){var u=kT(e,c,r);return l.top=Ca(u.top,l.top),l.right=Tf(u.right,l.right),l.bottom=Tf(u.bottom,l.bottom),l.left=Ca(u.left,l.left),l},kT(e,s,r));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function DA(e){var t=e.reference,n=e.element,r=e.placement,i=r?Tr(r):null,a=r?uo(r):null,s=t.x+t.width/2-n.width/2,o=t.y+t.height/2-n.height/2,l;switch(i){case Yt:l={x:s,y:t.y-n.height};break;case On:l={x:s,y:t.y+t.height};break;case Rn:l={x:t.x+t.width,y:o};break;case qt:l={x:t.x-n.width,y:o};break;default:l={x:t.x,y:t.y}}var c=i?_9(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(a){case oo:l[c]=l[c]-(t[u]/2-n[u]/2);break;case E1:l[c]=l[c]+(t[u]/2-n[u]/2);break}}return l}function _1(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,s=a===void 0?e.strategy:a,o=n.boundary,l=o===void 0?lW:o,c=n.rootBoundary,u=c===void 0?CA:c,f=n.elementContext,d=f===void 0?Vo:f,h=n.altBoundary,g=h===void 0?!1:h,E=n.padding,b=E===void 0?0:E,m=MA(typeof b!="number"?b:LA(b,j1)),T=d===Vo?cW:Vo,_=e.rects.popper,v=e.elements[g?T:d],N=jW(za(v)?v:v.contextElement||ta(e.elements.popper),l,u,s),S=co(e.elements.reference),A=DA({reference:S,element:_,strategy:"absolute",placement:i}),k=nm(Object.assign({},_,A)),I=d===Vo?k:S,P={top:N.top-I.top+m.top,bottom:I.bottom-N.bottom+m.bottom,left:N.left-I.left+m.left,right:I.right-N.right+m.right},D=e.modifiersData.offset;if(d===Vo&&D){var z=D[i];Object.keys(P).forEach(function(X){var Q=[Rn,On].indexOf(X)>=0?1:-1,Y=[Yt,On].indexOf(X)>=0?"y":"x";P[X]+=z[Y]*Q})}return P}function $W(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,s=n.padding,o=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?kA:l,u=uo(r),f=u?o?xT:xT.filter(function(g){return uo(g)===u}):j1,d=f.filter(function(g){return c.indexOf(g)>=0});d.length===0&&(d=f);var h=d.reduce(function(g,E){return g[E]=_1(e,{placement:E,boundary:i,rootBoundary:a,padding:s})[Tr(E)],g},{});return Object.keys(h).sort(function(g,E){return h[g]-h[E]})}function GW(e){if(Tr(e)===m9)return[];var t=Tu(e);return[CT(e),t,CT(t)]}function VW(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,s=n.altAxis,o=s===void 0?!0:s,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,g=h===void 0?!0:h,E=n.allowedAutoPlacements,b=t.options.placement,m=Tr(b),T=m===b,_=l||(T||!g?[Tu(b)]:GW(b)),v=[b].concat(_).reduce(function(ge,pe){return ge.concat(Tr(pe)===m9?$W(t,{placement:pe,boundary:u,rootBoundary:f,padding:c,flipVariations:g,allowedAutoPlacements:E}):pe)},[]),N=t.rects.reference,S=t.rects.popper,A=new Map,k=!0,I=v[0],P=0;P<v.length;P++){var D=v[P],z=Tr(D),X=uo(D)===oo,Q=[Yt,On].indexOf(z)>=0,Y=Q?"width":"height",ae=_1(t,{placement:D,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),B=Q?X?Rn:qt:X?On:Yt;N[Y]>S[Y]&&(B=Tu(B));var M=Tu(B),H=[];if(a&&H.push(ae[z]<=0),o&&H.push(ae[B]<=0,ae[M]<=0),H.every(function(ge){return ge})){I=D,k=!1;break}A.set(D,H)}if(k)for(var x=g?3:1,j=function(pe){var se=v.find(function(je){var Ve=A.get(je);if(Ve)return Ve.slice(0,pe).every(function(fe){return fe})});if(se)return I=se,"break"},te=x;te>0;te--){var C=j(te);if(C==="break")break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,t.reset=!0)}}const KW={name:"flip",enabled:!0,phase:"main",fn:VW,requiresIfExists:["offset"],data:{_skip:!1}};function OT(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function RT(e){return[Yt,Rn,On,qt].some(function(t){return e[t]>=0})}function WW(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,s=_1(t,{elementContext:"reference"}),o=_1(t,{altBoundary:!0}),l=OT(s,r),c=OT(o,i,a),u=RT(l),f=RT(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const YW={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:WW};function qW(e,t,n){var r=Tr(e),i=[qt,Yt].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=a[0],o=a[1];return s=s||0,o=(o||0)*i,[qt,Rn].indexOf(r)>=0?{x:o,y:s}:{x:s,y:o}}function XW(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,s=kA.reduce(function(u,f){return u[f]=qW(f,t.rects,a),u},{}),o=s[t.placement],l=o.x,c=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=s}const QW={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:XW};function ZW(e){var t=e.state,n=e.name;t.modifiersData[n]=DA({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const JW={name:"popperOffsets",enabled:!0,phase:"read",fn:ZW,data:{}};function eY(e){return e==="x"?"y":"x"}function tY(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,s=n.altAxis,o=s===void 0?!1:s,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,g=n.tetherOffset,E=g===void 0?0:g,b=_1(t,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),m=Tr(t.placement),T=uo(t.placement),_=!T,v=_9(m),N=eY(v),S=t.modifiersData.popperOffsets,A=t.rects.reference,k=t.rects.popper,I=typeof E=="function"?E(Object.assign({},t.rects,{placement:t.placement})):E,P=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),D=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(S){if(a){var X,Q=v==="y"?Yt:qt,Y=v==="y"?On:Rn,ae=v==="y"?"height":"width",B=S[v],M=B+b[Q],H=B-b[Y],x=h?-k[ae]/2:0,j=T===oo?A[ae]:k[ae],te=T===oo?-k[ae]:-A[ae],C=t.elements.arrow,ge=h&&C?E9(C):{width:0,height:0},pe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:IA(),se=pe[Q],je=pe[Y],Ve=kl(0,A[ae],ge[ae]),fe=_?A[ae]/2-x-Ve-se-P.mainAxis:j-Ve-se-P.mainAxis,dt=_?-A[ae]/2+x+Ve+je+P.mainAxis:te+Ve+je+P.mainAxis,it=t.elements.arrow&&$1(t.elements.arrow),Dn=it?v==="y"?it.clientTop||0:it.clientLeft||0:0,br=(X=D==null?void 0:D[v])!=null?X:0,ri=B+fe-br-Dn,Ja=B+dt-br,At=kl(h?Tf(M,ri):M,B,h?Ca(H,Ja):H);S[v]=At,z[v]=At-B}if(o){var na,ii=v==="x"?Yt:qt,le=v==="x"?On:Rn,Zt=S[N],Le=N==="y"?"height":"width",Ne=Zt+b[ii],Sr=Zt-b[le],Jt=[Yt,qt].indexOf(m)!==-1,ai=(na=D==null?void 0:D[N])!=null?na:0,si=Jt?Ne:Zt-A[Le]-k[Le]-ai+P.altAxis,R=Jt?Zt+A[Le]+k[Le]-ai-P.altAxis:Sr,F=h&&Jt?xW(si,Zt,R):kl(h?si:Ne,Zt,h?R:Sr);S[N]=F,z[N]=F-Zt}t.modifiersData[r]=z}}const nY={name:"preventOverflow",enabled:!0,phase:"main",fn:tY,requiresIfExists:["offset"]};function rY(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function iY(e){return e===dn(e)||!Nn(e)?T9(e):rY(e)}function aY(e){var t=e.getBoundingClientRect(),n=lo(t.width)/e.offsetWidth||1,r=lo(t.height)/e.offsetHeight||1;return n!==1||r!==1}function sY(e,t,n){n===void 0&&(n=!1);var r=Nn(t),i=Nn(t)&&aY(t),a=ta(t),s=co(e,i,n),o={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((vr(t)!=="body"||v9(a))&&(o=iY(t)),Nn(t)?(l=co(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=y9(a))),{x:s.left+o.scrollLeft-l.x,y:s.top+o.scrollTop-l.y,width:s.width,height:s.height}}function oY(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(o){if(!n.has(o)){var l=t.get(o);l&&i(l)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),r}function lY(e){var t=oY(e);return TW.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function cY(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function uY(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var IT={placement:"bottom",modifiers:[],strategy:"absolute"};function MT(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function fY(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?IT:i;return function(o,l,c){c===void 0&&(c=a);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},IT,a),modifiersData:{},elements:{reference:o,popper:l},attributes:{},styles:{}},f=[],d=!1,h={state:u,setOptions:function(m){var T=typeof m=="function"?m(u.options):m;E(),u.options=Object.assign({},a,u.options,T),u.scrollParents={reference:za(o)?Ol(o):o.contextElement?Ol(o.contextElement):[],popper:Ol(l)};var _=lY(uY([].concat(r,u.options.modifiers)));return u.orderedModifiers=_.filter(function(v){return v.enabled}),g(),h.update()},forceUpdate:function(){if(!d){var m=u.elements,T=m.reference,_=m.popper;if(MT(T,_)){u.rects={reference:sY(T,$1(_),u.options.strategy==="fixed"),popper:E9(_)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(P){return u.modifiersData[P.name]=Object.assign({},P.data)});for(var v=0;v<u.orderedModifiers.length;v++){if(u.reset===!0){u.reset=!1,v=-1;continue}var N=u.orderedModifiers[v],S=N.fn,A=N.options,k=A===void 0?{}:A,I=N.name;typeof S=="function"&&(u=S({state:u,options:k,name:I,instance:h})||u)}}}},update:cY(function(){return new Promise(function(b){h.forceUpdate(),b(u)})}),destroy:function(){E(),d=!0}};if(!MT(o,l))return h;h.setOptions(c).then(function(b){!d&&c.onFirstUpdate&&c.onFirstUpdate(b)});function g(){u.orderedModifiers.forEach(function(b){var m=b.name,T=b.options,_=T===void 0?{}:T,v=b.effect;if(typeof v=="function"){var N=v({state:u,name:m,instance:h,options:_}),S=function(){};f.push(N||S)}})}function E(){f.forEach(function(b){return b()}),f=[]}return h}}var dY=[PW,JW,MW,bW,QW,KW,nY,kW,YW],hY=fY({defaultModifiers:dY}),pY=typeof Element<"u",mY=typeof Map=="function",gY=typeof Set=="function",EY=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function yu(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!yu(e[r],t[r]))return!1;return!0}var a;if(mY&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!yu(r.value[1],t.get(r.value[0])))return!1;return!0}if(gY&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(EY&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(pY&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!yu(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var _Y=function(t,n){try{return yu(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const TY=Zn(_Y);var yY=[],vY=function(t,n,r){r===void 0&&(r={});var i=L.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||yY},s=L.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),o=s[0],l=s[1],c=L.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(h){var g=h.state,E=Object.keys(g.elements);Wv.flushSync(function(){l({styles:ST(E.map(function(b){return[b,g.styles[b]||{}]})),attributes:ST(E.map(function(b){return[b,g.attributes[b]]}))})})},requires:["computeStyles"]}},[]),u=L.useMemo(function(){var d={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return TY(i.current,d)?i.current||d:(i.current=d,d)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),f=L.useRef();return AT(function(){f.current&&f.current.setOptions(u)},[u]),AT(function(){if(!(t==null||n==null)){var d=r.createPopper||hY,h=d(t,n,u);return f.current=h,function(){h.destroy(),f.current=null}}},[t,n,r.createPopper]),{state:f.current?f.current.state:null,styles:o.styles,attributes:o.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}};function bY(e,t){L.useEffect(()=>{const n=r=>{e&&r&&r.target instanceof Element&&!e.contains(r.target)&&t()};return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}const SY=({inputProps:e,icon:t,iconProps:n})=>y.jsx("div",{className:"relative w-full",children:y.jsxs("div",{className:"flex flex-row items-center",children:[y.jsx("input",{type:"text",placeholder:"Search for a rule...",className:"w-full rounded bg-ide-chat-input-bg p-2 pr-10 text-ide-chat-input-text",...e}),t&&y.jsx("i",{className:`${t} absolute right-3 top-3`,...n})]})}),AY=[{ruleGroup:{title:"Default",name:"default",description:"Rules bundled with Sourcery which are enabled by default.",filterFunction:({rule:e})=>e.tags.includes("default")}}],xY=["refactoring","default"],NY=({ruleGroup:{title:e,filterFunction:t,description:n},rules:r,searchTerm:i,projectConfig:a})=>{const[s,o]=L.useState(!0),l=s||i,{enabledRules:c,filteredRules:u}=L.useMemo(()=>{const f=r.filter(b=>!a.refactor.skip.includes(b.rule.id)),E=r.filter(t).filter(({rule:b})=>b.id.toLowerCase().includes(i.toLowerCase())).reduce((b,m)=>(b.find(_=>_.rule.id===m.rule.id)||b.push(m),b),[]).sort((b,m)=>b.rule.id.localeCompare(m.rule.id));return{enabledRules:f,filteredRules:E}},[r,a.refactor.skip,t,i]);return y.jsxs(y.Fragment,{children:[y.jsxs("div",{className:"flex cursor-pointer flex-row items-center justify-between border border-transparent border-b-ide-border bg-ide-chat-input-bg p-5 hover:border-ide-border",onClick:()=>o(!s),children:[y.jsxs("div",{className:"flex flex-col gap-3",children:[y.jsxs("div",{className:"flex flex-row gap-4",children:[y.jsx("span",{className:"font-bold text-ide-text",children:e}),!i&&y.jsxs("span",{className:"text-ide-disabled-text",children:["(click to ",l?"collapse":"expand",")"]})]}),y.jsxs("p",{className:"text-ide-text",children:[c.length," of ",r.length," enabled"]}),y.jsx("p",{className:"text-ide-disabled-text",children:n})]}),!i&&y.jsx(me.ChevronDown,{className:We("mr-4 transition-transform",l&&"rotate-180")})]}),l&&y.jsx("ol",{className:"ml-6 flex flex-col divide-y divide-ide-border",children:u.map(({rule:f})=>y.jsx("li",{children:y.jsx(wY,{rule:f,projectConfig:a})},f.id))})]})},wY=({rule:e,projectConfig:t})=>{const n=!t.refactor.skip.includes(e.id),r=async()=>{window.sourceryLS.postMessage({message:{target:"languageServer",view:"rules",request:"toggleRule",ruleId:e.id,enabled:!n}})};return y.jsxs("div",{className:"flex flex-row justify-between px-5 pb-4 pt-5 hover:bg-ide-chat-input-bg",children:[y.jsxs("div",{className:"flex flex-col",children:[y.jsx("label",{htmlFor:e.id,className:"cursor-pointer font-mono text-ide-text",children:y.jsx("div",{className:"flex flex-row items-center gap-5",children:y.jsx("span",{children:e.id})})}),y.jsx("p",{className:"text-xs text-ide-disabled-text",children:y.jsx("a",{href:`https://docs.sourcery.ai/Reference/Python/Default-Rules/${e.id}/`,className:"hover:text-ide-highlight",target:"_blank",rel:"noopener noreferrer",children:"View docs"})}),y.jsx("div",{className:"-ml-3 mt-3",children:e.tags.filter(i=>!xY.includes(i)).map(i=>y.jsx("span",{className:"mr-3 rounded-full bg-ide-chat-input-bg px-4 py-2 text-xs text-ide-text",children:i},i))})]}),y.jsx("button",{onClick:r,className:"flex items-center justify-center",children:n?y.jsx(me.SquareCheck,{className:"text-ide-highlight"}):y.jsx(me.Square,{})})]})},CY=({onClose:e})=>{const[t,n]=L.useState(""),[r,i]=L.useState([]),[a,s]=L.useState({refactor:{skip:[]}}),o=L.useCallback(({data:l})=>{if(l.command)switch(l.command){case"rules/update":i(l.rules);break;case"rules/configUpdate":s(l.config);break}},[]);return L.useEffect(()=>(window.addEventListener("message",o),window.sourceryLS.postMessage({message:{target:"languageServer",view:"rules",request:"getRules"}}),()=>window.removeEventListener("message",o)),[o]),y.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",children:y.jsxs("div",{className:"relative max-h-[90vh] w-[90vw] max-w-4xl overflow-y-auto rounded-lg bg-ide-window-bg p-6 shadow-xl",children:[y.jsx("button",{onClick:e,className:"absolute right-4 top-4 text-ide-text hover:opacity-80",children:y.jsx(me.Cross,{})}),y.jsx("h1",{className:"text-3xl text-ide-text",children:"Rules"}),y.jsxs("p",{className:"mt-5 border-b-[2px] border-ide-border pb-5 text-ide-text opacity-80",children:["Use this section to toggle rules on or off for your project. Note that these controls edit your project's"," ",y.jsx("span",{className:"font-mono",children:".sourcery.yaml"})," file."]}),y.jsx("div",{className:"mt-4",children:y.jsx(SY,{inputProps:{value:t,onChange:({target:{value:l}})=>n(l),placeholder:"Search rules..."},icon:t?"mi-close cursor-pointer":"mi-filter-alt",iconProps:{onClick:t?()=>n(""):void 0}})}),y.jsx("ol",{className:"mt-6",children:AY.map(({ruleGroup:l})=>y.jsx("li",{children:y.jsx(NY,{ruleGroup:l,rules:r,searchTerm:t,projectConfig:a})},l.name))})]})})},Ko=({message:e})=>{window.sourceryLS.postMessage({message:e})},FA=({text:e=!0,popperOptions:t={placement:"bottom-start"}})=>{const[n,r]=L.useState(!1),i=L.useCallback(()=>r(()=>!0),[]),a=L.useCallback(()=>r(()=>!1),[]),[s,o]=L.useState(null),[l,c]=L.useState(null),{styles:u,attributes:f}=vY(s,l,t);bY(l,a);const{showCodeLens:d}=L.useContext(Sd),h=L.useCallback(()=>{Ko(d?{message:SU}:{message:bU})},[d]),g=L.useCallback(()=>{Ko({message:xU})},[]),E=L.useCallback(()=>{Ko({message:NU})},[]),[b,m]=L.useState(!1),T=L.useCallback(()=>{a(),m(!0)},[a]),_=L.useCallback(()=>{Ko({message:AU})},[]);return y.jsxs(y.Fragment,{children:[y.jsxs("button",{type:"button",ref:o,onClick:i,className:We("px-2 py-1 -my-[2px] hover:opacity-80 border flex flex-row items-center gap-1",n?"border-ide-primary-btn-bg rounded-t-sm":"border-transparent"),children:[y.jsx(me.Cog,{}),e&&y.jsx("span",{children:"Settings"})]}),y.jsxs("div",{ref:c,style:u.popper,...f.popper,className:We(n?"block":"hidden","bg-ide-chat-input-bg mt-1 px-2 py-1 z-10 rounded-sm min-w-[240px] border border-ide-border shadow-lg flex flex-col"),children:[y.jsx("button",{onClick:h,className:"hover:opacity-80",children:y.jsxs("div",{className:"flex flex-row items-center gap-2",children:[d?y.jsx(me.SquareCheck,{className:"text-ide-highlight"}):y.jsx(me.Square,{}),y.jsx("span",{children:"Show Code Lenses"})]})}),y.jsx("hr",{className:"my-1.5 text-ide-border"}),y.jsx("button",{onClick:_,className:"hover:opacity-80",children:y.jsxs("div",{className:"flex flex-row items-center gap-2",children:[y.jsx(me.User,{}),y.jsx("span",{children:"Manage Account"})]})}),y.jsx("button",{onClick:T,className:"hover:opacity-80",children:y.jsxs("div",{className:"flex flex-row items-center gap-2",children:[y.jsx(me.Cog,{}),y.jsx("span",{children:"Rule Settings"})]})}),y.jsx("button",{onClick:g,className:"hover:opacity-80",children:y.jsxs("div",{className:"flex flex-row items-center gap-2",children:[y.jsx(me.Book,{}),y.jsx("span",{children:"Documentation"})]})}),y.jsx("button",{onClick:E,className:"hover:opacity-80",children:y.jsxs("div",{className:"flex flex-row items-center gap-2",children:[y.jsx(me.Comment,{}),y.jsx("span",{children:"Feedback"})]})})]}),b&&y.jsx(CY,{onClose:()=>m(!1)})]})},Wo=({message:e})=>{window.sourceryLS.postMessage({message:e})},kY=()=>{const{productName:e,isConfigEnabled:t,isAuthenticated:n,isAuthorized:r}=L.useContext(Sd),i=L.useCallback(()=>{Wo({message:pU})},[]),a=L.useCallback(()=>{Wo({message:fU})},[]),s=L.useCallback(()=>{Wo({message:dU})},[]),o=L.useCallback(()=>{Wo({message:hU})},[]);return L.useEffect(()=>{Wo({message:mU})},[]),y.jsxs("section",{id:"access-details",className:"flex flex-col divide-y divide-ide-border overflow-y-auto px-4","data-testid":"access-details-view",children:[y.jsxs("div",{className:"my-4 -ml-1 flex flex-row items-center justify-between",children:[y.jsxs("div",{className:"flex flex-row items-center gap-[10px]",children:[y.jsx("div",{className:"h-8 w-8",children:y.jsx("img",{src:oW,alt:"Sourcery's Logo"})}),y.jsxs("h1",{className:"font-bold",children:["Sourcery ",e]})]}),y.jsx(FA,{popperOptions:{placement:"bottom-end"}})]}),t?n?!r&&y.jsxs("div",{className:"flex flex-col gap-4 py-4",children:[y.jsx("h6",{className:"mt-2 text-lg",children:"Upgrade to use Sourcery on private repos"}),y.jsx("p",{className:"text-sm",children:"If you have already upgraded, please refresh"}),y.jsxs("div",{className:"flex flex-row gap-4",children:[y.jsx("button",{onClick:s,className:"btn-primary px-3 py-1 font-bold",children:"Upgrade"}),y.jsx("button",{className:"btn-secondary px-3 py-1 font-bold",onClick:o,children:"Refresh"})]}),y.jsx("a",{href:"https://docs.sourcery.ai/Coding-Assistant/Product/Troubleshooting/#what-do-i-do-if-i-see-the-project-disabled-for-account-screen",className:"mt-8 cursor-pointer text-sm underline",children:"Running into issues?"})]}):y.jsxs("div",{className:"flex flex-col gap-4 py-4",children:[y.jsx("h6",{className:"mt-2 text-xl",children:"Log in to start using Sourcery"}),y.jsx("p",{className:"text-sm",children:"If you have already logged in to Sourcery, please refresh"}),y.jsxs("div",{className:"flex flex-row gap-4",children:[y.jsx("button",{className:"btn-primary px-3 py-1 font-bold",onClick:i,children:"Log In"}),y.jsx("button",{className:"btn-secondary px-3 py-1 font-bold",onClick:o,children:"Refresh"})]}),y.jsx("a",{href:"https://docs.sourcery.ai/Coding-Assistant/Product/Troubleshooting/#what-do-i-do-if-i-see-the-project-disabled-for-account-screen",className:"mt-8 cursor-pointer text-sm underline",children:"Running into issues?"})]}):y.jsxs("div",{className:"flex flex-col gap-4 py-4",children:[y.jsx("h6",{className:"mt-2 text-xl",children:"Opt in to enable Sourcery coding assistant"}),y.jsx("p",{className:"text-sm",children:"Sourcery works with large language model providers (including OpenAI and Anthropic) to help us review and improve your code. By enabling the Sourcery coding assistant you agree to let us send code snippets to them as necessary."}),y.jsx("div",{className:"flex flex-row gap-4",children:y.jsx("button",{className:"btn-primary px-3 py-1 font-bold",onClick:a,children:"Opt In"})})]})]})},OY=({intent:e="info",children:t})=>y.jsx("div",{className:We("flex flex-row gap-2 px-4 py-1 border-b border-ide-border",e==="error"&&"text-ide-error-text bg-ide-error-bg"),children:t});function RY({children:e}){const[t,n]=L.useState(NA),r=i=>{n(a=>({...a,...i}))};return L.useEffect(()=>{window.sourceryLS.postMessage({message:{...gU,updates:t}})},[t]),y.jsx(bd.Provider,{value:{uiState:t,updateUIState:r},children:e})}window.sourceryLS=window.sourceryLS||{};const IY=({message:e})=>{window.sourceryLS.postMessage({message:e})},MY=({activeView:e,onSelect:t})=>{const{updateUIState:n}=L.useContext(bd),r=i=>a=>{n==null||n({selectedTab:i}),t(i)(a)};return y.jsxs("div",{className:"flex flex-row flex-wrap items-center justify-between",children:[y.jsxs("div",{className:"flex grow flex-row flex-wrap gap-2 border-b border-ide-border px-2",children:[y.jsx("button",{className:We("px-2 py-2 font-bold",e==="review"?"border-b-2 border-ide-border opacity-100":"opacity-50 hover:opacity-100"),onClick:r("review"),children:"Review"}),y.jsx("button",{className:We("px-2 py-2 font-bold",e==="chat"?"border-b-2 border-ide-border opacity-100":"opacity-50 hover:opacity-100"),onClick:r("chat"),children:"Chat"})]}),y.jsxs("div",{className:"flex grow flex-row items-baseline justify-end gap-4 border-b border-ide-border p-2",children:[e==="chat"?y.jsx(XK,{}):e==="review"?y.jsx(rW,{}):null,y.jsx(FA,{text:!1,popperOptions:{placement:"bottom-end"}})]})]})},LY=()=>{const[{status:e,appContext:t},n]=L.useState({status:"pending",appContext:wA}),[r,i]=L.useState("review"),a=L.useRef(null);return L.useEffect(()=>{IY({message:T6})},[]),y.jsx(RY,{children:y.jsx(ZK,{value:t,children:y.jsx(PY,{status:e,appContext:t,activeView:r,setActiveView:i,chatRef:a,setAppContext:n})})})},PY=({status:e,appContext:t,activeView:n,setActiveView:r,chatRef:i,setAppContext:a})=>{const{updateUIState:s}=L.useContext(bd),o=L.useMemo(()=>t.isAuthenticated&&t.isAuthorized,[t]),l=L.useMemo(()=>t.productStatus==="trialing"||t.product==="prod_free"||t.product==="prod_opensource",[t]),c=L.useMemo(()=>t.product==="prod_opensource"?"Sourcery for Open Source":"Sourcery Pro trial",[t]),u=L.useCallback(({data:f})=>{switch(f.command){case"chat/focus":r("chat");break;case"context/update":a(yt(d=>{d.status="ok",d.appContext={...d.appContext,...f.updates}}));break;case"uiState/load":s(f.updates),r(f.updates.selectedTab);break}},[s,r,a]);return L.useEffect(()=>(window.addEventListener("message",u),()=>window.removeEventListener("message",u)),[u]),y.jsxs("main",{className:"flex h-full max-h-full flex-col overflow-y-hidden bg-ide-window-bg text-ide-text","data-testid":"app",children:[l&&y.jsxs(OY,{children:[y.jsx("span",{children:y.jsx(me.InfoCircle,{})}),y.jsx("span",{children:c}),y.jsx("span",{children:"-"}),y.jsx("a",{href:"https://app.sourcery.ai/dashboard/subscription?utm_source=ide_chat&utm_medium=banner&utm_campaign=open_source_upgrade",className:"cursor-pointer underline",children:"Upgrade Now"})]}),e==="pending"?y.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-8",children:[y.jsx(p9,{}),y.jsx("p",{className:"italic",children:"Loading..."})]}):o?y.jsxs(y.Fragment,{children:[y.jsx(MY,{activeView:n,onSelect:f=>()=>{r(f),f==="chat"&&setTimeout(()=>{var d;return(d=i.current)==null?void 0:d.focus()},25)}}),y.jsx(QK,{className:We(n==="chat"?"flex grow flex-col overflow-hidden":"hidden"),ref:i}),y.jsx(sW,{className:We(n==="review"?"flex grow flex-col overflow-hidden":"hidden")})]}):y.jsx(kY,{})]})};o0.createRoot(document.getElementById("root")).render(y.jsx(Yn.StrictMode,{children:y.jsx(LY,{})}));