yanki 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. package/dist/abap-DXFkqnOI.js +816 -0
  2. package/dist/actionscript-3-D6NljDpC.js +1 -0
  3. package/dist/ada-CowR2XfX.js +1 -0
  4. package/dist/andromeeda-YxQm0tCS.js +1 -0
  5. package/dist/angular-html-CZfDmWtJ.js +16 -0
  6. package/dist/angular-ts-CIhYrOL5.js +666 -0
  7. package/dist/apache-rS0jd3Ly.js +1 -0
  8. package/dist/apex-Sfo2eW0G.js +274 -0
  9. package/dist/apl-DPLNWaKG.js +87 -0
  10. package/dist/applescript-BXKAgOFh.js +38 -0
  11. package/dist/ara-CG4fK2Nq.js +21 -0
  12. package/dist/asciidoc-C539GviS.js +1 -0
  13. package/dist/asm-PWN5J14X.js +1 -0
  14. package/dist/astro-71xeBtnw.js +32 -0
  15. package/dist/aurora-x-BaWyeHV_.js +1 -0
  16. package/dist/awk-i0IPvypD.js +1 -0
  17. package/dist/ayu-dark-Bn5gmY5k.js +1 -0
  18. package/dist/ballerina-T9ysyp6P.js +62 -0
  19. package/dist/bat-BPiaQZfK.js +1 -0
  20. package/dist/beancount-Urb1RsFe.js +1 -0
  21. package/dist/berry-CxrokwfH.js +1 -0
  22. package/dist/bibtex-BaedD2tq.js +1 -0
  23. package/dist/bicep-3ghuYFLd.js +1 -0
  24. package/dist/bin/cli.js +10 -0
  25. package/dist/blade-D3A5GssZ.js +831 -0
  26. package/dist/c-RCJZWN-0.js +81 -0
  27. package/dist/cadence-Bgpqy2XC.js +1 -0
  28. package/dist/catppuccin-frappe-BsOrZxH8.js +1 -0
  29. package/dist/catppuccin-latte-BYdKNJ10.js +1 -0
  30. package/dist/catppuccin-macchiato-DVLwECkk.js +1 -0
  31. package/dist/catppuccin-mocha-CEfge3mM.js +1 -0
  32. package/dist/clarity-CIekO_uJ.js +1 -0
  33. package/dist/clojure-BF6G6X0H.js +1 -0
  34. package/dist/cmake-DXZpi2gR.js +1 -0
  35. package/dist/cobol-Bi0pgIzz.js +1 -0
  36. package/dist/codeowners-CGmujMTu.js +1 -0
  37. package/dist/codeql-BOpLLL-w.js +1 -0
  38. package/dist/coffee-Cp6Hkwsd.js +100 -0
  39. package/dist/common-lisp-C3qUB5O8.js +301 -0
  40. package/dist/cpp-CeZn6MzL.js +186 -0
  41. package/dist/crystal-B5pCH4eR.js +25 -0
  42. package/dist/csharp-DISxKEhY.js +756 -0
  43. package/dist/css-CbYhyuC0.js +505 -0
  44. package/dist/csv-B2DkETJQ.js +1 -0
  45. package/dist/cue-C6Aznpr-.js +1 -0
  46. package/dist/cypher-ByMv4Xf1.js +1 -0
  47. package/dist/d-PifQWv0n.js +1 -0
  48. package/dist/dark-plus-KEYLhlmT.js +1 -0
  49. package/dist/dart-DZLoTQm4.js +1 -0
  50. package/dist/dax-DsfXcHUZ.js +29 -0
  51. package/dist/desktop-D71BffLY.js +1 -0
  52. package/dist/diff-DvyTQcux.js +1 -0
  53. package/dist/docker-DNR26wTC.js +1 -0
  54. package/dist/dracula-DGO8GyiP.js +1 -0
  55. package/dist/dracula-soft-9B1nZgL-.js +1 -0
  56. package/dist/dream-maker-Eh5U-gDp.js +52 -0
  57. package/dist/elixir-Exce1dLy.js +17 -0
  58. package/dist/elm-D7CfdsEG.js +1 -0
  59. package/dist/emacs-lisp-51pKhIDe.js +5754 -0
  60. package/dist/erb-S7d1X-Y-.js +1 -0
  61. package/dist/erlang-DS9ZWoKD.js +1 -0
  62. package/dist/fennel-DuK7IM-L.js +1 -0
  63. package/dist/fish-DfeQjIbs.js +5 -0
  64. package/dist/fluent-KPqz0Sb3.js +1 -0
  65. package/dist/fortran-fixed-form-6v7-xzYY.js +1 -0
  66. package/dist/fortran-free-form-D6pmzCqS.js +1 -0
  67. package/dist/fsharp-JZjmD0Li.js +1 -0
  68. package/dist/gdresource-CFKM8Ske.js +1 -0
  69. package/dist/gdscript-CoEqzGFw.js +44 -0
  70. package/dist/gdshader-B_SUYfiV.js +1 -0
  71. package/dist/genie-DAfrLhwG.js +1 -0
  72. package/dist/gherkin-B0PjAhci.js +1 -0
  73. package/dist/git-commit-XY8bXq83.js +1 -0
  74. package/dist/git-rebase-BE3WlPTi.js +1 -0
  75. package/dist/github-dark-CzPA46E-.js +1 -0
  76. package/dist/github-dark-default-BXF7Vm5l.js +1 -0
  77. package/dist/github-dark-dimmed-CRDKj6ck.js +1 -0
  78. package/dist/github-light-CRlnGVMD.js +1 -0
  79. package/dist/github-light-default-UREJT2Bw.js +1 -0
  80. package/dist/gleam-Dd6f7Z5P.js +1 -0
  81. package/dist/glimmer-js-I0TZ3_O1.js +13 -0
  82. package/dist/glimmer-ts-CY38hlIb.js +13 -0
  83. package/dist/glsl-tOUOXML3.js +1 -0
  84. package/dist/gnuplot-nclm9rTJ.js +266 -0
  85. package/dist/go-BJn7Ek5W.js +1 -0
  86. package/dist/graphql-DwwLrXH1.js +4 -0
  87. package/dist/groovy-wChcbJ1V.js +37 -0
  88. package/dist/hack-DmjQSZc3.js +86 -0
  89. package/dist/haml-map1ik7u.js +1 -0
  90. package/dist/handlebars-CCc9qS91.js +1 -0
  91. package/dist/haskell-DOVD4hs_.js +559 -0
  92. package/dist/haxe-Dit6kIrv.js +11 -0
  93. package/dist/hcl-CpAANOdC.js +1 -0
  94. package/dist/hjson-DZqG9GXz.js +50 -0
  95. package/dist/hlsl-DmDrTTlz.js +1 -0
  96. package/dist/houston-CZZ6oYdA.js +1 -0
  97. package/dist/html-NmvpQUfQ.js +74 -0
  98. package/dist/html-derivative-QphQoco-.js +1 -0
  99. package/dist/http-B58UUte0.js +1 -0
  100. package/dist/hxml-4EC8aR1F.js +1 -0
  101. package/dist/hy-y-6HuL9l.js +3 -0
  102. package/dist/imba-CyaA9484.js +223 -0
  103. package/dist/index-UHZxbkBe.js +2 -0
  104. package/dist/ini-DeVv6D4_.js +1 -0
  105. package/dist/java-ClXEvkw9.js +68 -0
  106. package/dist/javascript-Dch3xQiY.js +699 -0
  107. package/dist/jinja-BrXMjE5a.js +1 -0
  108. package/dist/jison-DlEKeWyG.js +1 -0
  109. package/dist/json-CupVZNk8.js +25 -0
  110. package/dist/json5-Bh8mriwU.js +17 -0
  111. package/dist/jsonc-DYI1rfmx.js +25 -0
  112. package/dist/jsonl-BUpeXbsf.js +25 -0
  113. package/dist/jsonnet-C9d3aiqh.js +1 -0
  114. package/dist/jssm-Dble9ECP.js +1 -0
  115. package/dist/jsx-CsyrCbsw.js +699 -0
  116. package/dist/julia-jDzGJc6I.js +9 -0
  117. package/dist/kotlin-BIxS-Weu.js +1 -0
  118. package/dist/kusto-DGEpfOTx.js +1 -0
  119. package/dist/latex-bjPeSN-x.js +3 -0
  120. package/dist/less-Du6_OKDb.js +159 -0
  121. package/dist/lib/index.d.ts +1022 -0
  122. package/dist/lib/index.js +1 -0
  123. package/dist/light-plus-BsvsQ1iS.js +1 -0
  124. package/dist/liquid-DHpvaAyy.js +14 -0
  125. package/dist/log-Ksn5IXup.js +1 -0
  126. package/dist/logo-DdacRhvC.js +1 -0
  127. package/dist/lua-Cy9U1SwF.js +1 -0
  128. package/dist/make-B9S9BZZh.js +1 -0
  129. package/dist/markdown-BdfWgkoX.js +129 -0
  130. package/dist/marko-neMFgnTa.js +8 -0
  131. package/dist/material-theme-B2BuIiKK.js +1 -0
  132. package/dist/material-theme-darker-BrGg7AAd.js +1 -0
  133. package/dist/material-theme-lighter-DDRuGeQH.js +1 -0
  134. package/dist/material-theme-ocean-CBL0qBdF.js +1 -0
  135. package/dist/material-theme-palenight-D7gg1Usp.js +1 -0
  136. package/dist/matlab-Btshr8M_.js +70 -0
  137. package/dist/mdc-_-l14nii.js +76 -0
  138. package/dist/mdx-CBPJd_fO.js +1 -0
  139. package/dist/mermaid-Dkb1Nx48.js +1 -0
  140. package/dist/min-dark-iSbrOpM4.js +1 -0
  141. package/dist/min-light-BITGhEdf.js +1 -0
  142. package/dist/mojo--7WWnkdy.js +517 -0
  143. package/dist/monokai-sMI-pExk.js +1 -0
  144. package/dist/move-MN12aA4C.js +1 -0
  145. package/dist/narrat-B9CT-1u6.js +7 -0
  146. package/dist/nextflow-DBxHOdLe.js +1 -0
  147. package/dist/nginx-C3DmzmOp.js +1 -0
  148. package/dist/night-owl-BeocmOPF.js +1 -0
  149. package/dist/nim-BjhyiCLB.js +1 -0
  150. package/dist/nix-B7rNE5kf.js +1 -0
  151. package/dist/nord-CsyjKwr8.js +1 -0
  152. package/dist/nushell-CrgTADc5.js +1 -0
  153. package/dist/objective-c-DHmGyzbM.js +109 -0
  154. package/dist/objective-cpp-BWKJ1FCf.js +239 -0
  155. package/dist/ocaml-RqY_Nz63.js +1 -0
  156. package/dist/one-dark-pro-BTtaZsq5.js +1 -0
  157. package/dist/one-light-alpzPJ78.js +1 -0
  158. package/dist/pascal-B6ZnTe72.js +1 -0
  159. package/dist/perl-PZnu_VA7.js +1 -0
  160. package/dist/php-m9Z3qs_k.js +771 -0
  161. package/dist/plsql-BbJj1K1w.js +1 -0
  162. package/dist/po-HrnDn_2Q.js +1 -0
  163. package/dist/poimandres-Cda-MJFk.js +1 -0
  164. package/dist/postcss-DXT9h7v2.js +1 -0
  165. package/dist/powerquery-CApMHEaB.js +1 -0
  166. package/dist/powershell-9ZOzOPqN.js +1 -0
  167. package/dist/prisma-BBJYjQ0k.js +1 -0
  168. package/dist/prolog-BH_RS3WO.js +1 -0
  169. package/dist/proto-DOtRmeXT.js +1 -0
  170. package/dist/pug-jyQP1XtO.js +1 -0
  171. package/dist/puppet-37ic6j3l.js +1 -0
  172. package/dist/purescript-Bm5O5oLm.js +7 -0
  173. package/dist/python-DwuVtWc2.js +518 -0
  174. package/dist/qml-DM3j-f55.js +1 -0
  175. package/dist/qmldir-MS3qTAOR.js +1 -0
  176. package/dist/qss-FJDVp-XM.js +1 -0
  177. package/dist/r-BXfENWL6.js +1 -0
  178. package/dist/racket-BbLA0SU8.js +353 -0
  179. package/dist/raku-D384ylkT.js +1 -0
  180. package/dist/razor-DokJXJPk.js +40 -0
  181. package/dist/red-jaXbsbtS.js +1 -0
  182. package/dist/reg-CrhH3_Og.js +1 -0
  183. package/dist/regexp-C_ZPRiAj.js +26 -0
  184. package/dist/rel-BuawaRXJ.js +1 -0
  185. package/dist/riscv-D-aEEwJo.js +13 -0
  186. package/dist/rose-pine-BIAFg_EN.js +1 -0
  187. package/dist/rose-pine-dawn-C5m_N-6l.js +1 -0
  188. package/dist/rose-pine-moon-B9S0JTD1.js +1 -0
  189. package/dist/rst-DlAMacAQ.js +1 -0
  190. package/dist/ruby-eQ1iIi6H.js +80 -0
  191. package/dist/rust-DGxQkqYo.js +1 -0
  192. package/dist/sas-BhBoFsCt.js +1 -0
  193. package/dist/sass-CMDmr8et.js +2 -0
  194. package/dist/scala-Cd0cRMx9.js +5 -0
  195. package/dist/scheme-BTeww-4z.js +136 -0
  196. package/dist/scss-DoQ2ojfq.js +90 -0
  197. package/dist/shaderlab-Bb-6Dmi7.js +1 -0
  198. package/dist/shellscript-BZfs-ost.js +1 -0
  199. package/dist/shellsession-B6XH_PlG.js +1 -0
  200. package/dist/slack-dark-C7oZ9nno.js +1 -0
  201. package/dist/slack-ochin-hXH8Gyq8.js +1 -0
  202. package/dist/smalltalk-DSsji4Hu.js +1 -0
  203. package/dist/snazzy-light-CA9nliXM.js +1 -0
  204. package/dist/solarized-dark-C86elO-m.js +1 -0
  205. package/dist/solarized-light-xPNGhBYe.js +1 -0
  206. package/dist/solidity-CThH5sBG.js +1 -0
  207. package/dist/soy-rVg8SA9F.js +1 -0
  208. package/dist/sparql-Cmp61EUJ.js +1 -0
  209. package/dist/splunk-6XBPEST2.js +1 -0
  210. package/dist/sql-DxR2xW-a.js +21 -0
  211. package/dist/ssh-config-BH1M7C1g.js +1 -0
  212. package/dist/stata-DGeqZgIM.js +3 -0
  213. package/dist/stylus-DSrLtGYv.js +15 -0
  214. package/dist/svelte-BMtjZn0z.js +1 -0
  215. package/dist/swift-C8WrqfNz.js +544 -0
  216. package/dist/sync-DItkgf9b.js +303 -0
  217. package/dist/synthwave-84-BBDuFDsq.js +1 -0
  218. package/dist/system-verilog-BscxmKrE.js +8 -0
  219. package/dist/systemd-IQPSIA3x.js +1 -0
  220. package/dist/tasl-BxwAa5i0.js +1 -0
  221. package/dist/tcl-C_8Fx7bH.js +1 -0
  222. package/dist/terraform-DBeuZS66.js +1 -0
  223. package/dist/tex-BqVuN0dX.js +1 -0
  224. package/dist/tokyo-night-eJfcURhx.js +1 -0
  225. package/dist/toml-BT9ZzGyQ.js +69 -0
  226. package/dist/tsv-DnLUQrgA.js +1 -0
  227. package/dist/tsx-BlxWTfDV.js +699 -0
  228. package/dist/turtle-C15OxdQ5.js +1 -0
  229. package/dist/twig-DDlPLETn.js +40 -0
  230. package/dist/typescript-DC8MraHL.js +666 -0
  231. package/dist/typespec-Bx89rGXK.js +1 -0
  232. package/dist/typst-I4qd5QHW.js +10 -0
  233. package/dist/v-C2TBxDwV.js +1 -0
  234. package/dist/vala-CO5hpdkB.js +1 -0
  235. package/dist/vb-beD-FUib.js +1 -0
  236. package/dist/verilog-DVfdqzEq.js +1 -0
  237. package/dist/vesper-BSB_bK09.js +1 -0
  238. package/dist/vhdl-QZ3jNtnE.js +515 -0
  239. package/dist/viml-BLluXI4E.js +1 -0
  240. package/dist/vitesse-black-B3g-KkBK.js +1 -0
  241. package/dist/vitesse-dark-Bxkoe-BC.js +1 -0
  242. package/dist/vitesse-light-Br6ll-O0.js +1 -0
  243. package/dist/vue-B6Rs-4k4.js +6 -0
  244. package/dist/vue-html-Blw9Jzz9.js +1 -0
  245. package/dist/vyper-o-cPXEvd.js +575 -0
  246. package/dist/wasm-2oxoyaYy.js +1 -0
  247. package/dist/wasm-Cicx_DS6.js +1 -0
  248. package/dist/wenyan-Cavfe_d0.js +1 -0
  249. package/dist/wgsl-BZz1Hhek.js +1 -0
  250. package/dist/wikitext-zfUCmn4z.js +40 -0
  251. package/dist/wolfram-BICIrM8O.js +1 -0
  252. package/dist/xml-sp2Egr0Z.js +1 -0
  253. package/dist/xsl-BQYvujlj.js +1 -0
  254. package/dist/yaml-C5gCGmDW.js +200 -0
  255. package/dist/zenscript-B1nm99XP.js +2 -0
  256. package/dist/zig-xtV5iK4E.js +1 -0
  257. package/license.txt +21 -0
  258. package/package.json +109 -0
  259. package/readme.md +535 -0
@@ -0,0 +1,303 @@
1
+ var np=Object.defineProperty;var l=(e,t)=>np(e,"name",{value:t,configurable:!0});import rp from"rehype-mathjax";function ie(e,t,n){const r={type:String(e)};return n==null&&(typeof t=="string"||Array.isArray(t))?n=t:Object.assign(r,t),Array.isArray(n)?r.children=n:n!=null&&(r.value=String(n)),r}l(ie,"u$3");const ip=`.card {
2
+ font-family: arial;
3
+ font-size: 20px;
4
+ text-align: center;
5
+ color: black;
6
+ background-color: white;
7
+ }`,pi=!0,qt="yanki",bn="Yanki",sp=ie("root",[ie("element",{properties:{},tagName:"p"},[ie("element",{properties:{},tagName:"em"},[ie("text","(Empty)")])])]);var Oo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}l(Xn,"getDefaultExportFromCjs");var op=ap;function Ft(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}l(Ft,"copyBuffer");function ap(e){if(e=e||{},e.circles)return lp(e);return e.proto?r:n;function t(i,s){for(var o=Object.keys(i),a=new Array(o.length),u=0;u<o.length;u++){var c=o[u],p=i[c];typeof p!="object"||p===null?a[c]=p:p instanceof Date?a[c]=new Date(p):ArrayBuffer.isView(p)?a[c]=Ft(p):a[c]=s(p)}return a}function n(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,n);if(i instanceof Map)return new Map(t(Array.from(i),n));if(i instanceof Set)return new Set(t(Array.from(i),n));var s={};for(var o in i)if(Object.hasOwnProperty.call(i,o)!==!1){var a=i[o];typeof a!="object"||a===null?s[o]=a:a instanceof Date?s[o]=new Date(a):a instanceof Map?s[o]=new Map(t(Array.from(a),n)):a instanceof Set?s[o]=new Set(t(Array.from(a),n)):ArrayBuffer.isView(a)?s[o]=Ft(a):s[o]=n(a)}return s}function r(i){if(typeof i!="object"||i===null)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,r);if(i instanceof Map)return new Map(t(Array.from(i),r));if(i instanceof Set)return new Set(t(Array.from(i),r));var s={};for(var o in i){var a=i[o];typeof a!="object"||a===null?s[o]=a:a instanceof Date?s[o]=new Date(a):a instanceof Map?s[o]=new Map(t(Array.from(a),r)):a instanceof Set?s[o]=new Set(t(Array.from(a),r)):ArrayBuffer.isView(a)?s[o]=Ft(a):s[o]=r(a)}return s}}l(ap,"rfdc");function lp(e){var t=[],n=[];return e.proto?s:i;function r(o,a){for(var u=Object.keys(o),c=new Array(u.length),p=0;p<u.length;p++){var f=u[p],h=o[f];if(typeof h!="object"||h===null)c[f]=h;else if(h instanceof Date)c[f]=new Date(h);else if(ArrayBuffer.isView(h))c[f]=Ft(h);else{var d=t.indexOf(h);d!==-1?c[f]=n[d]:c[f]=a(h)}}return c}function i(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return r(o,i);if(o instanceof Map)return new Map(r(Array.from(o),i));if(o instanceof Set)return new Set(r(Array.from(o),i));var a={};t.push(o),n.push(a);for(var u in o)if(Object.hasOwnProperty.call(o,u)!==!1){var c=o[u];if(typeof c!="object"||c===null)a[u]=c;else if(c instanceof Date)a[u]=new Date(c);else if(c instanceof Map)a[u]=new Map(r(Array.from(c),i));else if(c instanceof Set)a[u]=new Set(r(Array.from(c),i));else if(ArrayBuffer.isView(c))a[u]=Ft(c);else{var p=t.indexOf(c);p!==-1?a[u]=n[p]:a[u]=i(c)}}return t.pop(),n.pop(),a}function s(o){if(typeof o!="object"||o===null)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return r(o,s);if(o instanceof Map)return new Map(r(Array.from(o),s));if(o instanceof Set)return new Set(r(Array.from(o),s));var a={};t.push(o),n.push(a);for(var u in o){var c=o[u];if(typeof c!="object"||c===null)a[u]=c;else if(c instanceof Date)a[u]=new Date(c);else if(c instanceof Map)a[u]=new Map(r(Array.from(c),s));else if(c instanceof Set)a[u]=new Set(r(Array.from(c),s));else if(ArrayBuffer.isView(c))a[u]=Ft(c);else{var p=t.indexOf(c);p!==-1?a[u]=n[p]:a[u]=s(c)}}return t.pop(),n.pop(),a}}l(lp,"rfdcCircles");var Lo=Xn(op);/**
8
+ * @name codsen-utils
9
+ * @fileoverview Various utility functions
10
+ * @version 1.6.4
11
+ * @author Roy Revelt, Codsen Ltd
12
+ * @license MIT
13
+ * {@link https://codsen.com/os/codsen-utils/}
14
+ */Lo();function hi(e){if(e==null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null?!1:!(Symbol.iterator in e)&&!(Symbol.toStringTag in e)}l(hi,"u$2");function Mt(e){return typeof e=="string"}l(Mt,"r$2");function ct(e){return Number.isSafeInteger(e)&&e>=0}l(ct,"q$1");function ft(e){return e!=null}l(ft,"G$1");function up(e,t){return hi(e)&&Mt(t)&&t in e}l(up,"v");var cp=typeof global=="object"&&global&&global.Object===Object&&global,fp=typeof self=="object"&&self&&self.Object===Object&&self,di=cp||fp||Function("return this")(),$t=di.Symbol,Io=Object.prototype,pp=Io.hasOwnProperty,hp=Io.toString,wn=$t?$t.toStringTag:void 0;function dp(e){var t=pp.call(e,wn),n=e[wn];try{e[wn]=void 0;var r=!0}catch{}var i=hp.call(e);return r&&(t?e[wn]=n:delete e[wn]),i}l(dp,"getRawTag");var mp=Object.prototype,gp=mp.toString;function yp(e){return gp.call(e)}l(yp,"objectToString");var bp="[object Null]",wp="[object Undefined]",Do=$t?$t.toStringTag:void 0;function Ro(e){return e==null?e===void 0?wp:bp:Do&&Do in Object(e)?dp(e):yp(e)}l(Ro,"baseGetTag");function Po(e){return e!=null&&typeof e=="object"}l(Po,"isObjectLike");var kp="[object Symbol]";function vp(e){return typeof e=="symbol"||Po(e)&&Ro(e)==kp}l(vp,"isSymbol");function Sp(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}l(Sp,"arrayMap");var xp=Array.isArray,Ap=1/0,qo=$t?$t.prototype:void 0,Fo=qo?qo.toString:void 0;function mi(e){if(typeof e=="string")return e;if(xp(e))return Sp(e,mi)+"";if(vp(e))return Fo?Fo.call(e):"";var t=e+"";return t=="0"&&1/e==-Ap?"-0":t}l(mi,"baseToString");var Cp=/\s/;function Tp(e){for(var t=e.length;t--&&Cp.test(e.charAt(t)););return t}l(Tp,"trimmedEndIndex");var Np=/^\s+/;function Ep(e){return e&&e.slice(0,Tp(e)+1).replace(Np,"")}l(Ep,"baseTrim");function Mo(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}l(Mo,"isObject");function $o(e){return e}l($o,"identity");var _p="[object AsyncFunction]",Op="[object Function]",Lp="[object GeneratorFunction]",Ip="[object Proxy]";function Bo(e){if(!Mo(e))return!1;var t=Ro(e);return t==Op||t==Lp||t==_p||t==Ip}l(Bo,"isFunction");var gi=di["__core-js_shared__"],jo=function(){var e=/[^.]+$/.exec(gi&&gi.keys&&gi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Dp(e){return!!jo&&jo in e}l(Dp,"isMasked");var Rp=Function.prototype,Pp=Rp.toString;function qp(e){if(e!=null){try{return Pp.call(e)}catch{}try{return e+""}catch{}}return""}l(qp,"toSource");var Fp=/[\\^$.*+?()[\]{}|]/g,Mp=/^\[object .+?Constructor\]$/,$p=Function.prototype,Bp=Object.prototype,jp=$p.toString,zp=Bp.hasOwnProperty,Up=RegExp("^"+jp.call(zp).replace(Fp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Hp(e){if(!Mo(e)||Dp(e))return!1;var t=Bo(e)?Up:Mp;return t.test(qp(e))}l(Hp,"baseIsNative");function Vp(e,t){return e?.[t]}l(Vp,"getValue");function yi(e,t){var n=Vp(e,t);return Hp(n)?n:void 0}l(yi,"getNative");function Gp(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}l(Gp,"apply");var Wp=800,Kp=16,Yp=Date.now;function Jp(e){var t=0,n=0;return function(){var r=Yp(),i=Kp-(r-n);if(n=r,i>0){if(++t>=Wp)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}l(Jp,"shortOut");function Qp(e){return function(){return e}}l(Qp,"constant");var zo=function(){try{var e=yi(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Xp=zo?function(e,t){return zo(e,"toString",{configurable:!0,enumerable:!1,value:Qp(t),writable:!0})}:$o,Zp=Jp(Xp);function eh(e,t,n,r){for(var i=e.length,s=n+-1;++s<i;)if(t(e[s],s,e))return s;return-1}l(eh,"baseFindIndex");function th(e){return e!==e}l(th,"baseIsNaN");function nh(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}l(nh,"strictIndexOf");function bi(e,t,n){return t===t?nh(e,t,n):eh(e,th,n)}l(bi,"baseIndexOf");function rh(e,t){var n=e==null?0:e.length;return!!n&&bi(e,t,0)>-1}l(rh,"arrayIncludes");function ih(e,t){return e===t||e!==e&&t!==t}l(ih,"eq");var Uo=Math.max;function sh(e,t,n){return t=Uo(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,s=Uo(r.length-t,0),o=Array(s);++i<s;)o[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(o),Gp(e,this,a)}}l(sh,"overRest");function oh(e,t){return Zp(sh(e,t,$o),e+"")}l(oh,"baseRest");var ah=9007199254740991;function lh(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ah}l(lh,"isLength");function uh(e){return e!=null&&lh(e.length)&&!Bo(e)}l(uh,"isArrayLike");var kn=yi(Object,"create");function ch(){this.__data__=kn?kn(null):{},this.size=0}l(ch,"hashClear");function fh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}l(fh,"hashDelete");var ph="__lodash_hash_undefined__",hh=Object.prototype,dh=hh.hasOwnProperty;function mh(e){var t=this.__data__;if(kn){var n=t[e];return n===ph?void 0:n}return dh.call(t,e)?t[e]:void 0}l(mh,"hashGet");var gh=Object.prototype,yh=gh.hasOwnProperty;function bh(e){var t=this.__data__;return kn?t[e]!==void 0:yh.call(t,e)}l(bh,"hashHas");var wh="__lodash_hash_undefined__";function kh(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=kn&&t===void 0?wh:t,this}l(kh,"hashSet");function wt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l(wt,"Hash"),wt.prototype.clear=ch,wt.prototype.delete=fh,wt.prototype.get=mh,wt.prototype.has=bh,wt.prototype.set=kh;function vh(){this.__data__=[],this.size=0}l(vh,"listCacheClear");function Zn(e,t){for(var n=e.length;n--;)if(ih(e[n][0],t))return n;return-1}l(Zn,"assocIndexOf");var Sh=Array.prototype,xh=Sh.splice;function Ah(e){var t=this.__data__,n=Zn(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():xh.call(t,n,1),--this.size,!0}l(Ah,"listCacheDelete");function Ch(e){var t=this.__data__,n=Zn(t,e);return n<0?void 0:t[n][1]}l(Ch,"listCacheGet");function Th(e){return Zn(this.__data__,e)>-1}l(Th,"listCacheHas");function Nh(e,t){var n=this.__data__,r=Zn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}l(Nh,"listCacheSet");function Bt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l(Bt,"ListCache"),Bt.prototype.clear=vh,Bt.prototype.delete=Ah,Bt.prototype.get=Ch,Bt.prototype.has=Th,Bt.prototype.set=Nh;var Eh=yi(di,"Map");function _h(){this.size=0,this.__data__={hash:new wt,map:new(Eh||Bt),string:new wt}}l(_h,"mapCacheClear");function Oh(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}l(Oh,"isKeyable");function er(e,t){var n=e.__data__;return Oh(t)?n[typeof t=="string"?"string":"hash"]:n.map}l(er,"getMapData");function Lh(e){var t=er(this,e).delete(e);return this.size-=t?1:0,t}l(Lh,"mapCacheDelete");function Ih(e){return er(this,e).get(e)}l(Ih,"mapCacheGet");function Dh(e){return er(this,e).has(e)}l(Dh,"mapCacheHas");function Rh(e,t){var n=er(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}l(Rh,"mapCacheSet");function jt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l(jt,"MapCache"),jt.prototype.clear=_h,jt.prototype.delete=Lh,jt.prototype.get=Ih,jt.prototype.has=Dh,jt.prototype.set=Rh;function Ph(e){return e==null?"":mi(e)}l(Ph,"toString$3");function qh(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(i);++r<i;)s[r]=e[r+t];return s}l(qh,"baseSlice");function Fh(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:qh(e,t,n)}l(Fh,"castSlice");var Mh="\\ud800-\\udfff",$h="\\u0300-\\u036f",Bh="\\ufe20-\\ufe2f",jh="\\u20d0-\\u20ff",zh=$h+Bh+jh,Uh="\\ufe0e\\ufe0f",Hh="\\u200d",Vh=RegExp("["+Hh+Mh+zh+Uh+"]");function Gh(e){return Vh.test(e)}l(Gh,"hasUnicode");function Wh(e){return e.split("")}l(Wh,"asciiToArray");var Ho="\\ud800-\\udfff",Kh="\\u0300-\\u036f",Yh="\\ufe20-\\ufe2f",Jh="\\u20d0-\\u20ff",Qh=Kh+Yh+Jh,Xh="\\ufe0e\\ufe0f",Zh="["+Ho+"]",wi="["+Qh+"]",ki="\\ud83c[\\udffb-\\udfff]",ed="(?:"+wi+"|"+ki+")",Vo="[^"+Ho+"]",Go="(?:\\ud83c[\\udde6-\\uddff]){2}",Wo="[\\ud800-\\udbff][\\udc00-\\udfff]",td="\\u200d",Ko=ed+"?",Yo="["+Xh+"]?",nd="(?:"+td+"(?:"+[Vo,Go,Wo].join("|")+")"+Yo+Ko+")*",rd=Yo+Ko+nd,id="(?:"+[Vo+wi+"?",wi,Go,Wo,Zh].join("|")+")",sd=RegExp(ki+"(?="+ki+")|"+id+rd,"g");function od(e){return e.match(sd)||[]}l(od,"unicodeToArray");function Jo(e){return Gh(e)?od(e):Wh(e)}l(Jo,"stringToArray");var ad="__lodash_hash_undefined__";function ld(e){return this.__data__.set(e,ad),this}l(ld,"setCacheAdd");function ud(e){return this.__data__.has(e)}l(ud,"setCacheHas");function tr(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new jt;++t<n;)this.add(e[t])}l(tr,"SetCache"),tr.prototype.add=tr.prototype.push=ld,tr.prototype.has=ud;function cd(e,t){return e.has(t)}l(cd,"cacheHas");function fd(e){return Po(e)&&uh(e)}l(fd,"isArrayLikeObject");var pd=200;function hd(e,t,n,r){var i=-1,s=rh,o=!0,a=e.length,u=[],c=t.length;if(!a)return u;t.length>=pd&&(s=cd,o=!1,t=new tr(t));e:for(;++i<a;){var p=e[i],f=p;if(p=p!==0?p:0,o&&f===f){for(var h=c;h--;)if(t[h]===f)continue e;u.push(p)}else s(t,f,r)||u.push(p)}return u}l(hd,"baseDifference");function dd(e,t){for(var n=e.length;n--&&bi(t,e[n],0)>-1;);return n}l(dd,"charsEndIndex");function md(e,t){for(var n=-1,r=e.length;++n<r&&bi(t,e[n],0)>-1;);return n}l(md,"charsStartIndex");function Qo(e,t,n){if(e=Ph(e),e&&t===void 0)return Ep(e);if(!e||!(t=mi(t)))return e;var r=Jo(e),i=Jo(t),s=md(r,i),o=dd(r,i)+1;return Fh(r,s,o).join("")}l(Qo,"trim");var gd=oh(function(e,t){return fd(e)?hd(e,t):[]}),nr={},rr={};Object.defineProperty(rr,"__esModule",{value:!0}),rr.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&notin;|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&centerdot;|&copysr;|&divideontimes;|&gtcc;|&gtcir;|&gtdot;|&gtlPar;|&gtquest;|&gtrapprox;|&gtrarr;|&gtrdot;|&gtreqless;|&gtreqqless;|&gtrless;|&gtrsim;|&ltcc;|&ltcir;|&ltdot;|&lthree;|&ltimes;|&ltlarr;|&ltquest;|&ltrPar;|&ltri;|&ltrie;|&ltrif;|&notin;|&notinE;|&notindot;|&notinva;|&notinvb;|&notinvc;|&notni;|&notniva;|&notnivb;|&notnivc;|&parallel;|&timesb;|&timesbar;|&timesd;|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},rr.namedReferences={xml:{entities:{"&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&amp;":"&"},characters:{"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","&":"&amp;"}},html4:{entities:{"&apos;":"'","&nbsp":"\xA0","&nbsp;":"\xA0","&iexcl":"\xA1","&iexcl;":"\xA1","&cent":"\xA2","&cent;":"\xA2","&pound":"\xA3","&pound;":"\xA3","&curren":"\xA4","&curren;":"\xA4","&yen":"\xA5","&yen;":"\xA5","&brvbar":"\xA6","&brvbar;":"\xA6","&sect":"\xA7","&sect;":"\xA7","&uml":"\xA8","&uml;":"\xA8","&copy":"\xA9","&copy;":"\xA9","&ordf":"\xAA","&ordf;":"\xAA","&laquo":"\xAB","&laquo;":"\xAB","&not":"\xAC","&not;":"\xAC","&shy":"\xAD","&shy;":"\xAD","&reg":"\xAE","&reg;":"\xAE","&macr":"\xAF","&macr;":"\xAF","&deg":"\xB0","&deg;":"\xB0","&plusmn":"\xB1","&plusmn;":"\xB1","&sup2":"\xB2","&sup2;":"\xB2","&sup3":"\xB3","&sup3;":"\xB3","&acute":"\xB4","&acute;":"\xB4","&micro":"\xB5","&micro;":"\xB5","&para":"\xB6","&para;":"\xB6","&middot":"\xB7","&middot;":"\xB7","&cedil":"\xB8","&cedil;":"\xB8","&sup1":"\xB9","&sup1;":"\xB9","&ordm":"\xBA","&ordm;":"\xBA","&raquo":"\xBB","&raquo;":"\xBB","&frac14":"\xBC","&frac14;":"\xBC","&frac12":"\xBD","&frac12;":"\xBD","&frac34":"\xBE","&frac34;":"\xBE","&iquest":"\xBF","&iquest;":"\xBF","&Agrave":"\xC0","&Agrave;":"\xC0","&Aacute":"\xC1","&Aacute;":"\xC1","&Acirc":"\xC2","&Acirc;":"\xC2","&Atilde":"\xC3","&Atilde;":"\xC3","&Auml":"\xC4","&Auml;":"\xC4","&Aring":"\xC5","&Aring;":"\xC5","&AElig":"\xC6","&AElig;":"\xC6","&Ccedil":"\xC7","&Ccedil;":"\xC7","&Egrave":"\xC8","&Egrave;":"\xC8","&Eacute":"\xC9","&Eacute;":"\xC9","&Ecirc":"\xCA","&Ecirc;":"\xCA","&Euml":"\xCB","&Euml;":"\xCB","&Igrave":"\xCC","&Igrave;":"\xCC","&Iacute":"\xCD","&Iacute;":"\xCD","&Icirc":"\xCE","&Icirc;":"\xCE","&Iuml":"\xCF","&Iuml;":"\xCF","&ETH":"\xD0","&ETH;":"\xD0","&Ntilde":"\xD1","&Ntilde;":"\xD1","&Ograve":"\xD2","&Ograve;":"\xD2","&Oacute":"\xD3","&Oacute;":"\xD3","&Ocirc":"\xD4","&Ocirc;":"\xD4","&Otilde":"\xD5","&Otilde;":"\xD5","&Ouml":"\xD6","&Ouml;":"\xD6","&times":"\xD7","&times;":"\xD7","&Oslash":"\xD8","&Oslash;":"\xD8","&Ugrave":"\xD9","&Ugrave;":"\xD9","&Uacute":"\xDA","&Uacute;":"\xDA","&Ucirc":"\xDB","&Ucirc;":"\xDB","&Uuml":"\xDC","&Uuml;":"\xDC","&Yacute":"\xDD","&Yacute;":"\xDD","&THORN":"\xDE","&THORN;":"\xDE","&szlig":"\xDF","&szlig;":"\xDF","&agrave":"\xE0","&agrave;":"\xE0","&aacute":"\xE1","&aacute;":"\xE1","&acirc":"\xE2","&acirc;":"\xE2","&atilde":"\xE3","&atilde;":"\xE3","&auml":"\xE4","&auml;":"\xE4","&aring":"\xE5","&aring;":"\xE5","&aelig":"\xE6","&aelig;":"\xE6","&ccedil":"\xE7","&ccedil;":"\xE7","&egrave":"\xE8","&egrave;":"\xE8","&eacute":"\xE9","&eacute;":"\xE9","&ecirc":"\xEA","&ecirc;":"\xEA","&euml":"\xEB","&euml;":"\xEB","&igrave":"\xEC","&igrave;":"\xEC","&iacute":"\xED","&iacute;":"\xED","&icirc":"\xEE","&icirc;":"\xEE","&iuml":"\xEF","&iuml;":"\xEF","&eth":"\xF0","&eth;":"\xF0","&ntilde":"\xF1","&ntilde;":"\xF1","&ograve":"\xF2","&ograve;":"\xF2","&oacute":"\xF3","&oacute;":"\xF3","&ocirc":"\xF4","&ocirc;":"\xF4","&otilde":"\xF5","&otilde;":"\xF5","&ouml":"\xF6","&ouml;":"\xF6","&divide":"\xF7","&divide;":"\xF7","&oslash":"\xF8","&oslash;":"\xF8","&ugrave":"\xF9","&ugrave;":"\xF9","&uacute":"\xFA","&uacute;":"\xFA","&ucirc":"\xFB","&ucirc;":"\xFB","&uuml":"\xFC","&uuml;":"\xFC","&yacute":"\xFD","&yacute;":"\xFD","&thorn":"\xFE","&thorn;":"\xFE","&yuml":"\xFF","&yuml;":"\xFF","&quot":'"',"&quot;":'"',"&amp":"&","&amp;":"&","&lt":"<","&lt;":"<","&gt":">","&gt;":">","&OElig;":"\u0152","&oelig;":"\u0153","&Scaron;":"\u0160","&scaron;":"\u0161","&Yuml;":"\u0178","&circ;":"\u02C6","&tilde;":"\u02DC","&ensp;":"\u2002","&emsp;":"\u2003","&thinsp;":"\u2009","&zwnj;":"\u200C","&zwj;":"\u200D","&lrm;":"\u200E","&rlm;":"\u200F","&ndash;":"\u2013","&mdash;":"\u2014","&lsquo;":"\u2018","&rsquo;":"\u2019","&sbquo;":"\u201A","&ldquo;":"\u201C","&rdquo;":"\u201D","&bdquo;":"\u201E","&dagger;":"\u2020","&Dagger;":"\u2021","&permil;":"\u2030","&lsaquo;":"\u2039","&rsaquo;":"\u203A","&euro;":"\u20AC","&fnof;":"\u0192","&Alpha;":"\u0391","&Beta;":"\u0392","&Gamma;":"\u0393","&Delta;":"\u0394","&Epsilon;":"\u0395","&Zeta;":"\u0396","&Eta;":"\u0397","&Theta;":"\u0398","&Iota;":"\u0399","&Kappa;":"\u039A","&Lambda;":"\u039B","&Mu;":"\u039C","&Nu;":"\u039D","&Xi;":"\u039E","&Omicron;":"\u039F","&Pi;":"\u03A0","&Rho;":"\u03A1","&Sigma;":"\u03A3","&Tau;":"\u03A4","&Upsilon;":"\u03A5","&Phi;":"\u03A6","&Chi;":"\u03A7","&Psi;":"\u03A8","&Omega;":"\u03A9","&alpha;":"\u03B1","&beta;":"\u03B2","&gamma;":"\u03B3","&delta;":"\u03B4","&epsilon;":"\u03B5","&zeta;":"\u03B6","&eta;":"\u03B7","&theta;":"\u03B8","&iota;":"\u03B9","&kappa;":"\u03BA","&lambda;":"\u03BB","&mu;":"\u03BC","&nu;":"\u03BD","&xi;":"\u03BE","&omicron;":"\u03BF","&pi;":"\u03C0","&rho;":"\u03C1","&sigmaf;":"\u03C2","&sigma;":"\u03C3","&tau;":"\u03C4","&upsilon;":"\u03C5","&phi;":"\u03C6","&chi;":"\u03C7","&psi;":"\u03C8","&omega;":"\u03C9","&thetasym;":"\u03D1","&upsih;":"\u03D2","&piv;":"\u03D6","&bull;":"\u2022","&hellip;":"\u2026","&prime;":"\u2032","&Prime;":"\u2033","&oline;":"\u203E","&frasl;":"\u2044","&weierp;":"\u2118","&image;":"\u2111","&real;":"\u211C","&trade;":"\u2122","&alefsym;":"\u2135","&larr;":"\u2190","&uarr;":"\u2191","&rarr;":"\u2192","&darr;":"\u2193","&harr;":"\u2194","&crarr;":"\u21B5","&lArr;":"\u21D0","&uArr;":"\u21D1","&rArr;":"\u21D2","&dArr;":"\u21D3","&hArr;":"\u21D4","&forall;":"\u2200","&part;":"\u2202","&exist;":"\u2203","&empty;":"\u2205","&nabla;":"\u2207","&isin;":"\u2208","&notin;":"\u2209","&ni;":"\u220B","&prod;":"\u220F","&sum;":"\u2211","&minus;":"\u2212","&lowast;":"\u2217","&radic;":"\u221A","&prop;":"\u221D","&infin;":"\u221E","&ang;":"\u2220","&and;":"\u2227","&or;":"\u2228","&cap;":"\u2229","&cup;":"\u222A","&int;":"\u222B","&there4;":"\u2234","&sim;":"\u223C","&cong;":"\u2245","&asymp;":"\u2248","&ne;":"\u2260","&equiv;":"\u2261","&le;":"\u2264","&ge;":"\u2265","&sub;":"\u2282","&sup;":"\u2283","&nsub;":"\u2284","&sube;":"\u2286","&supe;":"\u2287","&oplus;":"\u2295","&otimes;":"\u2297","&perp;":"\u22A5","&sdot;":"\u22C5","&lceil;":"\u2308","&rceil;":"\u2309","&lfloor;":"\u230A","&rfloor;":"\u230B","&lang;":"\u2329","&rang;":"\u232A","&loz;":"\u25CA","&spades;":"\u2660","&clubs;":"\u2663","&hearts;":"\u2665","&diams;":"\u2666"},characters:{"'":"&apos;","\xA0":"&nbsp;","\xA1":"&iexcl;","\xA2":"&cent;","\xA3":"&pound;","\xA4":"&curren;","\xA5":"&yen;","\xA6":"&brvbar;","\xA7":"&sect;","\xA8":"&uml;","\xA9":"&copy;",\u00AA:"&ordf;","\xAB":"&laquo;","\xAC":"&not;","\xAD":"&shy;","\xAE":"&reg;","\xAF":"&macr;","\xB0":"&deg;","\xB1":"&plusmn;","\xB2":"&sup2;","\xB3":"&sup3;","\xB4":"&acute;",\u00B5:"&micro;","\xB6":"&para;","\xB7":"&middot;","\xB8":"&cedil;","\xB9":"&sup1;",\u00BA:"&ordm;","\xBB":"&raquo;","\xBC":"&frac14;","\xBD":"&frac12;","\xBE":"&frac34;","\xBF":"&iquest;",\u00C0:"&Agrave;",\u00C1:"&Aacute;",\u00C2:"&Acirc;",\u00C3:"&Atilde;",\u00C4:"&Auml;",\u00C5:"&Aring;",\u00C6:"&AElig;",\u00C7:"&Ccedil;",\u00C8:"&Egrave;",\u00C9:"&Eacute;",\u00CA:"&Ecirc;",\u00CB:"&Euml;",\u00CC:"&Igrave;",\u00CD:"&Iacute;",\u00CE:"&Icirc;",\u00CF:"&Iuml;",\u00D0:"&ETH;",\u00D1:"&Ntilde;",\u00D2:"&Ograve;",\u00D3:"&Oacute;",\u00D4:"&Ocirc;",\u00D5:"&Otilde;",\u00D6:"&Ouml;","\xD7":"&times;",\u00D8:"&Oslash;",\u00D9:"&Ugrave;",\u00DA:"&Uacute;",\u00DB:"&Ucirc;",\u00DC:"&Uuml;",\u00DD:"&Yacute;",\u00DE:"&THORN;",\u00DF:"&szlig;",\u00E0:"&agrave;",\u00E1:"&aacute;",\u00E2:"&acirc;",\u00E3:"&atilde;",\u00E4:"&auml;",\u00E5:"&aring;",\u00E6:"&aelig;",\u00E7:"&ccedil;",\u00E8:"&egrave;",\u00E9:"&eacute;",\u00EA:"&ecirc;",\u00EB:"&euml;",\u00EC:"&igrave;",\u00ED:"&iacute;",\u00EE:"&icirc;",\u00EF:"&iuml;",\u00F0:"&eth;",\u00F1:"&ntilde;",\u00F2:"&ograve;",\u00F3:"&oacute;",\u00F4:"&ocirc;",\u00F5:"&otilde;",\u00F6:"&ouml;","\xF7":"&divide;",\u00F8:"&oslash;",\u00F9:"&ugrave;",\u00FA:"&uacute;",\u00FB:"&ucirc;",\u00FC:"&uuml;",\u00FD:"&yacute;",\u00FE:"&thorn;",\u00FF:"&yuml;",'"':"&quot;","&":"&amp;","<":"&lt;",">":"&gt;",\u0152:"&OElig;",\u0153:"&oelig;",\u0160:"&Scaron;",\u0161:"&scaron;",\u0178:"&Yuml;","\u02C6":"&circ;","\u02DC":"&tilde;","\u2002":"&ensp;","\u2003":"&emsp;","\u2009":"&thinsp;","\u200C":"&zwnj;","\u200D":"&zwj;","\u200E":"&lrm;","\u200F":"&rlm;","\u2013":"&ndash;","\u2014":"&mdash;","\u2018":"&lsquo;","\u2019":"&rsquo;","\u201A":"&sbquo;","\u201C":"&ldquo;","\u201D":"&rdquo;","\u201E":"&bdquo;","\u2020":"&dagger;","\u2021":"&Dagger;","\u2030":"&permil;","\u2039":"&lsaquo;","\u203A":"&rsaquo;","\u20AC":"&euro;",\u0192:"&fnof;",\u0391:"&Alpha;",\u0392:"&Beta;",\u0393:"&Gamma;",\u0394:"&Delta;",\u0395:"&Epsilon;",\u0396:"&Zeta;",\u0397:"&Eta;",\u0398:"&Theta;",\u0399:"&Iota;",\u039A:"&Kappa;",\u039B:"&Lambda;",\u039C:"&Mu;",\u039D:"&Nu;",\u039E:"&Xi;",\u039F:"&Omicron;",\u03A0:"&Pi;",\u03A1:"&Rho;",\u03A3:"&Sigma;",\u03A4:"&Tau;",\u03A5:"&Upsilon;",\u03A6:"&Phi;",\u03A7:"&Chi;",\u03A8:"&Psi;",\u03A9:"&Omega;",\u03B1:"&alpha;",\u03B2:"&beta;",\u03B3:"&gamma;",\u03B4:"&delta;",\u03B5:"&epsilon;",\u03B6:"&zeta;",\u03B7:"&eta;",\u03B8:"&theta;",\u03B9:"&iota;",\u03BA:"&kappa;",\u03BB:"&lambda;",\u03BC:"&mu;",\u03BD:"&nu;",\u03BE:"&xi;",\u03BF:"&omicron;",\u03C0:"&pi;",\u03C1:"&rho;",\u03C2:"&sigmaf;",\u03C3:"&sigma;",\u03C4:"&tau;",\u03C5:"&upsilon;",\u03C6:"&phi;",\u03C7:"&chi;",\u03C8:"&psi;",\u03C9:"&omega;",\u03D1:"&thetasym;",\u03D2:"&upsih;",\u03D6:"&piv;","\u2022":"&bull;","\u2026":"&hellip;","\u2032":"&prime;","\u2033":"&Prime;","\u203E":"&oline;","\u2044":"&frasl;","\u2118":"&weierp;",\u2111:"&image;",\u211C:"&real;","\u2122":"&trade;",\u2135:"&alefsym;","\u2190":"&larr;","\u2191":"&uarr;","\u2192":"&rarr;","\u2193":"&darr;","\u2194":"&harr;","\u21B5":"&crarr;","\u21D0":"&lArr;","\u21D1":"&uArr;","\u21D2":"&rArr;","\u21D3":"&dArr;","\u21D4":"&hArr;","\u2200":"&forall;","\u2202":"&part;","\u2203":"&exist;","\u2205":"&empty;","\u2207":"&nabla;","\u2208":"&isin;","\u2209":"&notin;","\u220B":"&ni;","\u220F":"&prod;","\u2211":"&sum;","\u2212":"&minus;","\u2217":"&lowast;","\u221A":"&radic;","\u221D":"&prop;","\u221E":"&infin;","\u2220":"&ang;","\u2227":"&and;","\u2228":"&or;","\u2229":"&cap;","\u222A":"&cup;","\u222B":"&int;","\u2234":"&there4;","\u223C":"&sim;","\u2245":"&cong;","\u2248":"&asymp;","\u2260":"&ne;","\u2261":"&equiv;","\u2264":"&le;","\u2265":"&ge;","\u2282":"&sub;","\u2283":"&sup;","\u2284":"&nsub;","\u2286":"&sube;","\u2287":"&supe;","\u2295":"&oplus;","\u2297":"&otimes;","\u22A5":"&perp;","\u22C5":"&sdot;","\u2308":"&lceil;","\u2309":"&rceil;","\u230A":"&lfloor;","\u230B":"&rfloor;","\u2329":"&lang;","\u232A":"&rang;","\u25CA":"&loz;","\u2660":"&spades;","\u2663":"&clubs;","\u2665":"&hearts;","\u2666":"&diams;"}},html5:{entities:{"&AElig":"\xC6","&AElig;":"\xC6","&AMP":"&","&AMP;":"&","&Aacute":"\xC1","&Aacute;":"\xC1","&Abreve;":"\u0102","&Acirc":"\xC2","&Acirc;":"\xC2","&Acy;":"\u0410","&Afr;":"\u{1D504}","&Agrave":"\xC0","&Agrave;":"\xC0","&Alpha;":"\u0391","&Amacr;":"\u0100","&And;":"\u2A53","&Aogon;":"\u0104","&Aopf;":"\u{1D538}","&ApplyFunction;":"\u2061","&Aring":"\xC5","&Aring;":"\xC5","&Ascr;":"\u{1D49C}","&Assign;":"\u2254","&Atilde":"\xC3","&Atilde;":"\xC3","&Auml":"\xC4","&Auml;":"\xC4","&Backslash;":"\u2216","&Barv;":"\u2AE7","&Barwed;":"\u2306","&Bcy;":"\u0411","&Because;":"\u2235","&Bernoullis;":"\u212C","&Beta;":"\u0392","&Bfr;":"\u{1D505}","&Bopf;":"\u{1D539}","&Breve;":"\u02D8","&Bscr;":"\u212C","&Bumpeq;":"\u224E","&CHcy;":"\u0427","&COPY":"\xA9","&COPY;":"\xA9","&Cacute;":"\u0106","&Cap;":"\u22D2","&CapitalDifferentialD;":"\u2145","&Cayleys;":"\u212D","&Ccaron;":"\u010C","&Ccedil":"\xC7","&Ccedil;":"\xC7","&Ccirc;":"\u0108","&Cconint;":"\u2230","&Cdot;":"\u010A","&Cedilla;":"\xB8","&CenterDot;":"\xB7","&Cfr;":"\u212D","&Chi;":"\u03A7","&CircleDot;":"\u2299","&CircleMinus;":"\u2296","&CirclePlus;":"\u2295","&CircleTimes;":"\u2297","&ClockwiseContourIntegral;":"\u2232","&CloseCurlyDoubleQuote;":"\u201D","&CloseCurlyQuote;":"\u2019","&Colon;":"\u2237","&Colone;":"\u2A74","&Congruent;":"\u2261","&Conint;":"\u222F","&ContourIntegral;":"\u222E","&Copf;":"\u2102","&Coproduct;":"\u2210","&CounterClockwiseContourIntegral;":"\u2233","&Cross;":"\u2A2F","&Cscr;":"\u{1D49E}","&Cup;":"\u22D3","&CupCap;":"\u224D","&DD;":"\u2145","&DDotrahd;":"\u2911","&DJcy;":"\u0402","&DScy;":"\u0405","&DZcy;":"\u040F","&Dagger;":"\u2021","&Darr;":"\u21A1","&Dashv;":"\u2AE4","&Dcaron;":"\u010E","&Dcy;":"\u0414","&Del;":"\u2207","&Delta;":"\u0394","&Dfr;":"\u{1D507}","&DiacriticalAcute;":"\xB4","&DiacriticalDot;":"\u02D9","&DiacriticalDoubleAcute;":"\u02DD","&DiacriticalGrave;":"`","&DiacriticalTilde;":"\u02DC","&Diamond;":"\u22C4","&DifferentialD;":"\u2146","&Dopf;":"\u{1D53B}","&Dot;":"\xA8","&DotDot;":"\u20DC","&DotEqual;":"\u2250","&DoubleContourIntegral;":"\u222F","&DoubleDot;":"\xA8","&DoubleDownArrow;":"\u21D3","&DoubleLeftArrow;":"\u21D0","&DoubleLeftRightArrow;":"\u21D4","&DoubleLeftTee;":"\u2AE4","&DoubleLongLeftArrow;":"\u27F8","&DoubleLongLeftRightArrow;":"\u27FA","&DoubleLongRightArrow;":"\u27F9","&DoubleRightArrow;":"\u21D2","&DoubleRightTee;":"\u22A8","&DoubleUpArrow;":"\u21D1","&DoubleUpDownArrow;":"\u21D5","&DoubleVerticalBar;":"\u2225","&DownArrow;":"\u2193","&DownArrowBar;":"\u2913","&DownArrowUpArrow;":"\u21F5","&DownBreve;":"\u0311","&DownLeftRightVector;":"\u2950","&DownLeftTeeVector;":"\u295E","&DownLeftVector;":"\u21BD","&DownLeftVectorBar;":"\u2956","&DownRightTeeVector;":"\u295F","&DownRightVector;":"\u21C1","&DownRightVectorBar;":"\u2957","&DownTee;":"\u22A4","&DownTeeArrow;":"\u21A7","&Downarrow;":"\u21D3","&Dscr;":"\u{1D49F}","&Dstrok;":"\u0110","&ENG;":"\u014A","&ETH":"\xD0","&ETH;":"\xD0","&Eacute":"\xC9","&Eacute;":"\xC9","&Ecaron;":"\u011A","&Ecirc":"\xCA","&Ecirc;":"\xCA","&Ecy;":"\u042D","&Edot;":"\u0116","&Efr;":"\u{1D508}","&Egrave":"\xC8","&Egrave;":"\xC8","&Element;":"\u2208","&Emacr;":"\u0112","&EmptySmallSquare;":"\u25FB","&EmptyVerySmallSquare;":"\u25AB","&Eogon;":"\u0118","&Eopf;":"\u{1D53C}","&Epsilon;":"\u0395","&Equal;":"\u2A75","&EqualTilde;":"\u2242","&Equilibrium;":"\u21CC","&Escr;":"\u2130","&Esim;":"\u2A73","&Eta;":"\u0397","&Euml":"\xCB","&Euml;":"\xCB","&Exists;":"\u2203","&ExponentialE;":"\u2147","&Fcy;":"\u0424","&Ffr;":"\u{1D509}","&FilledSmallSquare;":"\u25FC","&FilledVerySmallSquare;":"\u25AA","&Fopf;":"\u{1D53D}","&ForAll;":"\u2200","&Fouriertrf;":"\u2131","&Fscr;":"\u2131","&GJcy;":"\u0403","&GT":">","&GT;":">","&Gamma;":"\u0393","&Gammad;":"\u03DC","&Gbreve;":"\u011E","&Gcedil;":"\u0122","&Gcirc;":"\u011C","&Gcy;":"\u0413","&Gdot;":"\u0120","&Gfr;":"\u{1D50A}","&Gg;":"\u22D9","&Gopf;":"\u{1D53E}","&GreaterEqual;":"\u2265","&GreaterEqualLess;":"\u22DB","&GreaterFullEqual;":"\u2267","&GreaterGreater;":"\u2AA2","&GreaterLess;":"\u2277","&GreaterSlantEqual;":"\u2A7E","&GreaterTilde;":"\u2273","&Gscr;":"\u{1D4A2}","&Gt;":"\u226B","&HARDcy;":"\u042A","&Hacek;":"\u02C7","&Hat;":"^","&Hcirc;":"\u0124","&Hfr;":"\u210C","&HilbertSpace;":"\u210B","&Hopf;":"\u210D","&HorizontalLine;":"\u2500","&Hscr;":"\u210B","&Hstrok;":"\u0126","&HumpDownHump;":"\u224E","&HumpEqual;":"\u224F","&IEcy;":"\u0415","&IJlig;":"\u0132","&IOcy;":"\u0401","&Iacute":"\xCD","&Iacute;":"\xCD","&Icirc":"\xCE","&Icirc;":"\xCE","&Icy;":"\u0418","&Idot;":"\u0130","&Ifr;":"\u2111","&Igrave":"\xCC","&Igrave;":"\xCC","&Im;":"\u2111","&Imacr;":"\u012A","&ImaginaryI;":"\u2148","&Implies;":"\u21D2","&Int;":"\u222C","&Integral;":"\u222B","&Intersection;":"\u22C2","&InvisibleComma;":"\u2063","&InvisibleTimes;":"\u2062","&Iogon;":"\u012E","&Iopf;":"\u{1D540}","&Iota;":"\u0399","&Iscr;":"\u2110","&Itilde;":"\u0128","&Iukcy;":"\u0406","&Iuml":"\xCF","&Iuml;":"\xCF","&Jcirc;":"\u0134","&Jcy;":"\u0419","&Jfr;":"\u{1D50D}","&Jopf;":"\u{1D541}","&Jscr;":"\u{1D4A5}","&Jsercy;":"\u0408","&Jukcy;":"\u0404","&KHcy;":"\u0425","&KJcy;":"\u040C","&Kappa;":"\u039A","&Kcedil;":"\u0136","&Kcy;":"\u041A","&Kfr;":"\u{1D50E}","&Kopf;":"\u{1D542}","&Kscr;":"\u{1D4A6}","&LJcy;":"\u0409","&LT":"<","&LT;":"<","&Lacute;":"\u0139","&Lambda;":"\u039B","&Lang;":"\u27EA","&Laplacetrf;":"\u2112","&Larr;":"\u219E","&Lcaron;":"\u013D","&Lcedil;":"\u013B","&Lcy;":"\u041B","&LeftAngleBracket;":"\u27E8","&LeftArrow;":"\u2190","&LeftArrowBar;":"\u21E4","&LeftArrowRightArrow;":"\u21C6","&LeftCeiling;":"\u2308","&LeftDoubleBracket;":"\u27E6","&LeftDownTeeVector;":"\u2961","&LeftDownVector;":"\u21C3","&LeftDownVectorBar;":"\u2959","&LeftFloor;":"\u230A","&LeftRightArrow;":"\u2194","&LeftRightVector;":"\u294E","&LeftTee;":"\u22A3","&LeftTeeArrow;":"\u21A4","&LeftTeeVector;":"\u295A","&LeftTriangle;":"\u22B2","&LeftTriangleBar;":"\u29CF","&LeftTriangleEqual;":"\u22B4","&LeftUpDownVector;":"\u2951","&LeftUpTeeVector;":"\u2960","&LeftUpVector;":"\u21BF","&LeftUpVectorBar;":"\u2958","&LeftVector;":"\u21BC","&LeftVectorBar;":"\u2952","&Leftarrow;":"\u21D0","&Leftrightarrow;":"\u21D4","&LessEqualGreater;":"\u22DA","&LessFullEqual;":"\u2266","&LessGreater;":"\u2276","&LessLess;":"\u2AA1","&LessSlantEqual;":"\u2A7D","&LessTilde;":"\u2272","&Lfr;":"\u{1D50F}","&Ll;":"\u22D8","&Lleftarrow;":"\u21DA","&Lmidot;":"\u013F","&LongLeftArrow;":"\u27F5","&LongLeftRightArrow;":"\u27F7","&LongRightArrow;":"\u27F6","&Longleftarrow;":"\u27F8","&Longleftrightarrow;":"\u27FA","&Longrightarrow;":"\u27F9","&Lopf;":"\u{1D543}","&LowerLeftArrow;":"\u2199","&LowerRightArrow;":"\u2198","&Lscr;":"\u2112","&Lsh;":"\u21B0","&Lstrok;":"\u0141","&Lt;":"\u226A","&Map;":"\u2905","&Mcy;":"\u041C","&MediumSpace;":"\u205F","&Mellintrf;":"\u2133","&Mfr;":"\u{1D510}","&MinusPlus;":"\u2213","&Mopf;":"\u{1D544}","&Mscr;":"\u2133","&Mu;":"\u039C","&NJcy;":"\u040A","&Nacute;":"\u0143","&Ncaron;":"\u0147","&Ncedil;":"\u0145","&Ncy;":"\u041D","&NegativeMediumSpace;":"\u200B","&NegativeThickSpace;":"\u200B","&NegativeThinSpace;":"\u200B","&NegativeVeryThinSpace;":"\u200B","&NestedGreaterGreater;":"\u226B","&NestedLessLess;":"\u226A","&NewLine;":`
15
+ `,"&Nfr;":"\u{1D511}","&NoBreak;":"\u2060","&NonBreakingSpace;":"\xA0","&Nopf;":"\u2115","&Not;":"\u2AEC","&NotCongruent;":"\u2262","&NotCupCap;":"\u226D","&NotDoubleVerticalBar;":"\u2226","&NotElement;":"\u2209","&NotEqual;":"\u2260","&NotEqualTilde;":"\u2242\u0338","&NotExists;":"\u2204","&NotGreater;":"\u226F","&NotGreaterEqual;":"\u2271","&NotGreaterFullEqual;":"\u2267\u0338","&NotGreaterGreater;":"\u226B\u0338","&NotGreaterLess;":"\u2279","&NotGreaterSlantEqual;":"\u2A7E\u0338","&NotGreaterTilde;":"\u2275","&NotHumpDownHump;":"\u224E\u0338","&NotHumpEqual;":"\u224F\u0338","&NotLeftTriangle;":"\u22EA","&NotLeftTriangleBar;":"\u29CF\u0338","&NotLeftTriangleEqual;":"\u22EC","&NotLess;":"\u226E","&NotLessEqual;":"\u2270","&NotLessGreater;":"\u2278","&NotLessLess;":"\u226A\u0338","&NotLessSlantEqual;":"\u2A7D\u0338","&NotLessTilde;":"\u2274","&NotNestedGreaterGreater;":"\u2AA2\u0338","&NotNestedLessLess;":"\u2AA1\u0338","&NotPrecedes;":"\u2280","&NotPrecedesEqual;":"\u2AAF\u0338","&NotPrecedesSlantEqual;":"\u22E0","&NotReverseElement;":"\u220C","&NotRightTriangle;":"\u22EB","&NotRightTriangleBar;":"\u29D0\u0338","&NotRightTriangleEqual;":"\u22ED","&NotSquareSubset;":"\u228F\u0338","&NotSquareSubsetEqual;":"\u22E2","&NotSquareSuperset;":"\u2290\u0338","&NotSquareSupersetEqual;":"\u22E3","&NotSubset;":"\u2282\u20D2","&NotSubsetEqual;":"\u2288","&NotSucceeds;":"\u2281","&NotSucceedsEqual;":"\u2AB0\u0338","&NotSucceedsSlantEqual;":"\u22E1","&NotSucceedsTilde;":"\u227F\u0338","&NotSuperset;":"\u2283\u20D2","&NotSupersetEqual;":"\u2289","&NotTilde;":"\u2241","&NotTildeEqual;":"\u2244","&NotTildeFullEqual;":"\u2247","&NotTildeTilde;":"\u2249","&NotVerticalBar;":"\u2224","&Nscr;":"\u{1D4A9}","&Ntilde":"\xD1","&Ntilde;":"\xD1","&Nu;":"\u039D","&OElig;":"\u0152","&Oacute":"\xD3","&Oacute;":"\xD3","&Ocirc":"\xD4","&Ocirc;":"\xD4","&Ocy;":"\u041E","&Odblac;":"\u0150","&Ofr;":"\u{1D512}","&Ograve":"\xD2","&Ograve;":"\xD2","&Omacr;":"\u014C","&Omega;":"\u03A9","&Omicron;":"\u039F","&Oopf;":"\u{1D546}","&OpenCurlyDoubleQuote;":"\u201C","&OpenCurlyQuote;":"\u2018","&Or;":"\u2A54","&Oscr;":"\u{1D4AA}","&Oslash":"\xD8","&Oslash;":"\xD8","&Otilde":"\xD5","&Otilde;":"\xD5","&Otimes;":"\u2A37","&Ouml":"\xD6","&Ouml;":"\xD6","&OverBar;":"\u203E","&OverBrace;":"\u23DE","&OverBracket;":"\u23B4","&OverParenthesis;":"\u23DC","&PartialD;":"\u2202","&Pcy;":"\u041F","&Pfr;":"\u{1D513}","&Phi;":"\u03A6","&Pi;":"\u03A0","&PlusMinus;":"\xB1","&Poincareplane;":"\u210C","&Popf;":"\u2119","&Pr;":"\u2ABB","&Precedes;":"\u227A","&PrecedesEqual;":"\u2AAF","&PrecedesSlantEqual;":"\u227C","&PrecedesTilde;":"\u227E","&Prime;":"\u2033","&Product;":"\u220F","&Proportion;":"\u2237","&Proportional;":"\u221D","&Pscr;":"\u{1D4AB}","&Psi;":"\u03A8","&QUOT":'"',"&QUOT;":'"',"&Qfr;":"\u{1D514}","&Qopf;":"\u211A","&Qscr;":"\u{1D4AC}","&RBarr;":"\u2910","&REG":"\xAE","&REG;":"\xAE","&Racute;":"\u0154","&Rang;":"\u27EB","&Rarr;":"\u21A0","&Rarrtl;":"\u2916","&Rcaron;":"\u0158","&Rcedil;":"\u0156","&Rcy;":"\u0420","&Re;":"\u211C","&ReverseElement;":"\u220B","&ReverseEquilibrium;":"\u21CB","&ReverseUpEquilibrium;":"\u296F","&Rfr;":"\u211C","&Rho;":"\u03A1","&RightAngleBracket;":"\u27E9","&RightArrow;":"\u2192","&RightArrowBar;":"\u21E5","&RightArrowLeftArrow;":"\u21C4","&RightCeiling;":"\u2309","&RightDoubleBracket;":"\u27E7","&RightDownTeeVector;":"\u295D","&RightDownVector;":"\u21C2","&RightDownVectorBar;":"\u2955","&RightFloor;":"\u230B","&RightTee;":"\u22A2","&RightTeeArrow;":"\u21A6","&RightTeeVector;":"\u295B","&RightTriangle;":"\u22B3","&RightTriangleBar;":"\u29D0","&RightTriangleEqual;":"\u22B5","&RightUpDownVector;":"\u294F","&RightUpTeeVector;":"\u295C","&RightUpVector;":"\u21BE","&RightUpVectorBar;":"\u2954","&RightVector;":"\u21C0","&RightVectorBar;":"\u2953","&Rightarrow;":"\u21D2","&Ropf;":"\u211D","&RoundImplies;":"\u2970","&Rrightarrow;":"\u21DB","&Rscr;":"\u211B","&Rsh;":"\u21B1","&RuleDelayed;":"\u29F4","&SHCHcy;":"\u0429","&SHcy;":"\u0428","&SOFTcy;":"\u042C","&Sacute;":"\u015A","&Sc;":"\u2ABC","&Scaron;":"\u0160","&Scedil;":"\u015E","&Scirc;":"\u015C","&Scy;":"\u0421","&Sfr;":"\u{1D516}","&ShortDownArrow;":"\u2193","&ShortLeftArrow;":"\u2190","&ShortRightArrow;":"\u2192","&ShortUpArrow;":"\u2191","&Sigma;":"\u03A3","&SmallCircle;":"\u2218","&Sopf;":"\u{1D54A}","&Sqrt;":"\u221A","&Square;":"\u25A1","&SquareIntersection;":"\u2293","&SquareSubset;":"\u228F","&SquareSubsetEqual;":"\u2291","&SquareSuperset;":"\u2290","&SquareSupersetEqual;":"\u2292","&SquareUnion;":"\u2294","&Sscr;":"\u{1D4AE}","&Star;":"\u22C6","&Sub;":"\u22D0","&Subset;":"\u22D0","&SubsetEqual;":"\u2286","&Succeeds;":"\u227B","&SucceedsEqual;":"\u2AB0","&SucceedsSlantEqual;":"\u227D","&SucceedsTilde;":"\u227F","&SuchThat;":"\u220B","&Sum;":"\u2211","&Sup;":"\u22D1","&Superset;":"\u2283","&SupersetEqual;":"\u2287","&Supset;":"\u22D1","&THORN":"\xDE","&THORN;":"\xDE","&TRADE;":"\u2122","&TSHcy;":"\u040B","&TScy;":"\u0426","&Tab;":" ","&Tau;":"\u03A4","&Tcaron;":"\u0164","&Tcedil;":"\u0162","&Tcy;":"\u0422","&Tfr;":"\u{1D517}","&Therefore;":"\u2234","&Theta;":"\u0398","&ThickSpace;":"\u205F\u200A","&ThinSpace;":"\u2009","&Tilde;":"\u223C","&TildeEqual;":"\u2243","&TildeFullEqual;":"\u2245","&TildeTilde;":"\u2248","&Topf;":"\u{1D54B}","&TripleDot;":"\u20DB","&Tscr;":"\u{1D4AF}","&Tstrok;":"\u0166","&Uacute":"\xDA","&Uacute;":"\xDA","&Uarr;":"\u219F","&Uarrocir;":"\u2949","&Ubrcy;":"\u040E","&Ubreve;":"\u016C","&Ucirc":"\xDB","&Ucirc;":"\xDB","&Ucy;":"\u0423","&Udblac;":"\u0170","&Ufr;":"\u{1D518}","&Ugrave":"\xD9","&Ugrave;":"\xD9","&Umacr;":"\u016A","&UnderBar;":"_","&UnderBrace;":"\u23DF","&UnderBracket;":"\u23B5","&UnderParenthesis;":"\u23DD","&Union;":"\u22C3","&UnionPlus;":"\u228E","&Uogon;":"\u0172","&Uopf;":"\u{1D54C}","&UpArrow;":"\u2191","&UpArrowBar;":"\u2912","&UpArrowDownArrow;":"\u21C5","&UpDownArrow;":"\u2195","&UpEquilibrium;":"\u296E","&UpTee;":"\u22A5","&UpTeeArrow;":"\u21A5","&Uparrow;":"\u21D1","&Updownarrow;":"\u21D5","&UpperLeftArrow;":"\u2196","&UpperRightArrow;":"\u2197","&Upsi;":"\u03D2","&Upsilon;":"\u03A5","&Uring;":"\u016E","&Uscr;":"\u{1D4B0}","&Utilde;":"\u0168","&Uuml":"\xDC","&Uuml;":"\xDC","&VDash;":"\u22AB","&Vbar;":"\u2AEB","&Vcy;":"\u0412","&Vdash;":"\u22A9","&Vdashl;":"\u2AE6","&Vee;":"\u22C1","&Verbar;":"\u2016","&Vert;":"\u2016","&VerticalBar;":"\u2223","&VerticalLine;":"|","&VerticalSeparator;":"\u2758","&VerticalTilde;":"\u2240","&VeryThinSpace;":"\u200A","&Vfr;":"\u{1D519}","&Vopf;":"\u{1D54D}","&Vscr;":"\u{1D4B1}","&Vvdash;":"\u22AA","&Wcirc;":"\u0174","&Wedge;":"\u22C0","&Wfr;":"\u{1D51A}","&Wopf;":"\u{1D54E}","&Wscr;":"\u{1D4B2}","&Xfr;":"\u{1D51B}","&Xi;":"\u039E","&Xopf;":"\u{1D54F}","&Xscr;":"\u{1D4B3}","&YAcy;":"\u042F","&YIcy;":"\u0407","&YUcy;":"\u042E","&Yacute":"\xDD","&Yacute;":"\xDD","&Ycirc;":"\u0176","&Ycy;":"\u042B","&Yfr;":"\u{1D51C}","&Yopf;":"\u{1D550}","&Yscr;":"\u{1D4B4}","&Yuml;":"\u0178","&ZHcy;":"\u0416","&Zacute;":"\u0179","&Zcaron;":"\u017D","&Zcy;":"\u0417","&Zdot;":"\u017B","&ZeroWidthSpace;":"\u200B","&Zeta;":"\u0396","&Zfr;":"\u2128","&Zopf;":"\u2124","&Zscr;":"\u{1D4B5}","&aacute":"\xE1","&aacute;":"\xE1","&abreve;":"\u0103","&ac;":"\u223E","&acE;":"\u223E\u0333","&acd;":"\u223F","&acirc":"\xE2","&acirc;":"\xE2","&acute":"\xB4","&acute;":"\xB4","&acy;":"\u0430","&aelig":"\xE6","&aelig;":"\xE6","&af;":"\u2061","&afr;":"\u{1D51E}","&agrave":"\xE0","&agrave;":"\xE0","&alefsym;":"\u2135","&aleph;":"\u2135","&alpha;":"\u03B1","&amacr;":"\u0101","&amalg;":"\u2A3F","&amp":"&","&amp;":"&","&and;":"\u2227","&andand;":"\u2A55","&andd;":"\u2A5C","&andslope;":"\u2A58","&andv;":"\u2A5A","&ang;":"\u2220","&ange;":"\u29A4","&angle;":"\u2220","&angmsd;":"\u2221","&angmsdaa;":"\u29A8","&angmsdab;":"\u29A9","&angmsdac;":"\u29AA","&angmsdad;":"\u29AB","&angmsdae;":"\u29AC","&angmsdaf;":"\u29AD","&angmsdag;":"\u29AE","&angmsdah;":"\u29AF","&angrt;":"\u221F","&angrtvb;":"\u22BE","&angrtvbd;":"\u299D","&angsph;":"\u2222","&angst;":"\xC5","&angzarr;":"\u237C","&aogon;":"\u0105","&aopf;":"\u{1D552}","&ap;":"\u2248","&apE;":"\u2A70","&apacir;":"\u2A6F","&ape;":"\u224A","&apid;":"\u224B","&apos;":"'","&approx;":"\u2248","&approxeq;":"\u224A","&aring":"\xE5","&aring;":"\xE5","&ascr;":"\u{1D4B6}","&ast;":"*","&asymp;":"\u2248","&asympeq;":"\u224D","&atilde":"\xE3","&atilde;":"\xE3","&auml":"\xE4","&auml;":"\xE4","&awconint;":"\u2233","&awint;":"\u2A11","&bNot;":"\u2AED","&backcong;":"\u224C","&backepsilon;":"\u03F6","&backprime;":"\u2035","&backsim;":"\u223D","&backsimeq;":"\u22CD","&barvee;":"\u22BD","&barwed;":"\u2305","&barwedge;":"\u2305","&bbrk;":"\u23B5","&bbrktbrk;":"\u23B6","&bcong;":"\u224C","&bcy;":"\u0431","&bdquo;":"\u201E","&becaus;":"\u2235","&because;":"\u2235","&bemptyv;":"\u29B0","&bepsi;":"\u03F6","&bernou;":"\u212C","&beta;":"\u03B2","&beth;":"\u2136","&between;":"\u226C","&bfr;":"\u{1D51F}","&bigcap;":"\u22C2","&bigcirc;":"\u25EF","&bigcup;":"\u22C3","&bigodot;":"\u2A00","&bigoplus;":"\u2A01","&bigotimes;":"\u2A02","&bigsqcup;":"\u2A06","&bigstar;":"\u2605","&bigtriangledown;":"\u25BD","&bigtriangleup;":"\u25B3","&biguplus;":"\u2A04","&bigvee;":"\u22C1","&bigwedge;":"\u22C0","&bkarow;":"\u290D","&blacklozenge;":"\u29EB","&blacksquare;":"\u25AA","&blacktriangle;":"\u25B4","&blacktriangledown;":"\u25BE","&blacktriangleleft;":"\u25C2","&blacktriangleright;":"\u25B8","&blank;":"\u2423","&blk12;":"\u2592","&blk14;":"\u2591","&blk34;":"\u2593","&block;":"\u2588","&bne;":"=\u20E5","&bnequiv;":"\u2261\u20E5","&bnot;":"\u2310","&bopf;":"\u{1D553}","&bot;":"\u22A5","&bottom;":"\u22A5","&bowtie;":"\u22C8","&boxDL;":"\u2557","&boxDR;":"\u2554","&boxDl;":"\u2556","&boxDr;":"\u2553","&boxH;":"\u2550","&boxHD;":"\u2566","&boxHU;":"\u2569","&boxHd;":"\u2564","&boxHu;":"\u2567","&boxUL;":"\u255D","&boxUR;":"\u255A","&boxUl;":"\u255C","&boxUr;":"\u2559","&boxV;":"\u2551","&boxVH;":"\u256C","&boxVL;":"\u2563","&boxVR;":"\u2560","&boxVh;":"\u256B","&boxVl;":"\u2562","&boxVr;":"\u255F","&boxbox;":"\u29C9","&boxdL;":"\u2555","&boxdR;":"\u2552","&boxdl;":"\u2510","&boxdr;":"\u250C","&boxh;":"\u2500","&boxhD;":"\u2565","&boxhU;":"\u2568","&boxhd;":"\u252C","&boxhu;":"\u2534","&boxminus;":"\u229F","&boxplus;":"\u229E","&boxtimes;":"\u22A0","&boxuL;":"\u255B","&boxuR;":"\u2558","&boxul;":"\u2518","&boxur;":"\u2514","&boxv;":"\u2502","&boxvH;":"\u256A","&boxvL;":"\u2561","&boxvR;":"\u255E","&boxvh;":"\u253C","&boxvl;":"\u2524","&boxvr;":"\u251C","&bprime;":"\u2035","&breve;":"\u02D8","&brvbar":"\xA6","&brvbar;":"\xA6","&bscr;":"\u{1D4B7}","&bsemi;":"\u204F","&bsim;":"\u223D","&bsime;":"\u22CD","&bsol;":"\\","&bsolb;":"\u29C5","&bsolhsub;":"\u27C8","&bull;":"\u2022","&bullet;":"\u2022","&bump;":"\u224E","&bumpE;":"\u2AAE","&bumpe;":"\u224F","&bumpeq;":"\u224F","&cacute;":"\u0107","&cap;":"\u2229","&capand;":"\u2A44","&capbrcup;":"\u2A49","&capcap;":"\u2A4B","&capcup;":"\u2A47","&capdot;":"\u2A40","&caps;":"\u2229\uFE00","&caret;":"\u2041","&caron;":"\u02C7","&ccaps;":"\u2A4D","&ccaron;":"\u010D","&ccedil":"\xE7","&ccedil;":"\xE7","&ccirc;":"\u0109","&ccups;":"\u2A4C","&ccupssm;":"\u2A50","&cdot;":"\u010B","&cedil":"\xB8","&cedil;":"\xB8","&cemptyv;":"\u29B2","&cent":"\xA2","&cent;":"\xA2","&centerdot;":"\xB7","&cfr;":"\u{1D520}","&chcy;":"\u0447","&check;":"\u2713","&checkmark;":"\u2713","&chi;":"\u03C7","&cir;":"\u25CB","&cirE;":"\u29C3","&circ;":"\u02C6","&circeq;":"\u2257","&circlearrowleft;":"\u21BA","&circlearrowright;":"\u21BB","&circledR;":"\xAE","&circledS;":"\u24C8","&circledast;":"\u229B","&circledcirc;":"\u229A","&circleddash;":"\u229D","&cire;":"\u2257","&cirfnint;":"\u2A10","&cirmid;":"\u2AEF","&cirscir;":"\u29C2","&clubs;":"\u2663","&clubsuit;":"\u2663","&colon;":":","&colone;":"\u2254","&coloneq;":"\u2254","&comma;":",","&commat;":"@","&comp;":"\u2201","&compfn;":"\u2218","&complement;":"\u2201","&complexes;":"\u2102","&cong;":"\u2245","&congdot;":"\u2A6D","&conint;":"\u222E","&copf;":"\u{1D554}","&coprod;":"\u2210","&copy":"\xA9","&copy;":"\xA9","&copysr;":"\u2117","&crarr;":"\u21B5","&cross;":"\u2717","&cscr;":"\u{1D4B8}","&csub;":"\u2ACF","&csube;":"\u2AD1","&csup;":"\u2AD0","&csupe;":"\u2AD2","&ctdot;":"\u22EF","&cudarrl;":"\u2938","&cudarrr;":"\u2935","&cuepr;":"\u22DE","&cuesc;":"\u22DF","&cularr;":"\u21B6","&cularrp;":"\u293D","&cup;":"\u222A","&cupbrcap;":"\u2A48","&cupcap;":"\u2A46","&cupcup;":"\u2A4A","&cupdot;":"\u228D","&cupor;":"\u2A45","&cups;":"\u222A\uFE00","&curarr;":"\u21B7","&curarrm;":"\u293C","&curlyeqprec;":"\u22DE","&curlyeqsucc;":"\u22DF","&curlyvee;":"\u22CE","&curlywedge;":"\u22CF","&curren":"\xA4","&curren;":"\xA4","&curvearrowleft;":"\u21B6","&curvearrowright;":"\u21B7","&cuvee;":"\u22CE","&cuwed;":"\u22CF","&cwconint;":"\u2232","&cwint;":"\u2231","&cylcty;":"\u232D","&dArr;":"\u21D3","&dHar;":"\u2965","&dagger;":"\u2020","&daleth;":"\u2138","&darr;":"\u2193","&dash;":"\u2010","&dashv;":"\u22A3","&dbkarow;":"\u290F","&dblac;":"\u02DD","&dcaron;":"\u010F","&dcy;":"\u0434","&dd;":"\u2146","&ddagger;":"\u2021","&ddarr;":"\u21CA","&ddotseq;":"\u2A77","&deg":"\xB0","&deg;":"\xB0","&delta;":"\u03B4","&demptyv;":"\u29B1","&dfisht;":"\u297F","&dfr;":"\u{1D521}","&dharl;":"\u21C3","&dharr;":"\u21C2","&diam;":"\u22C4","&diamond;":"\u22C4","&diamondsuit;":"\u2666","&diams;":"\u2666","&die;":"\xA8","&digamma;":"\u03DD","&disin;":"\u22F2","&div;":"\xF7","&divide":"\xF7","&divide;":"\xF7","&divideontimes;":"\u22C7","&divonx;":"\u22C7","&djcy;":"\u0452","&dlcorn;":"\u231E","&dlcrop;":"\u230D","&dollar;":"$","&dopf;":"\u{1D555}","&dot;":"\u02D9","&doteq;":"\u2250","&doteqdot;":"\u2251","&dotminus;":"\u2238","&dotplus;":"\u2214","&dotsquare;":"\u22A1","&doublebarwedge;":"\u2306","&downarrow;":"\u2193","&downdownarrows;":"\u21CA","&downharpoonleft;":"\u21C3","&downharpoonright;":"\u21C2","&drbkarow;":"\u2910","&drcorn;":"\u231F","&drcrop;":"\u230C","&dscr;":"\u{1D4B9}","&dscy;":"\u0455","&dsol;":"\u29F6","&dstrok;":"\u0111","&dtdot;":"\u22F1","&dtri;":"\u25BF","&dtrif;":"\u25BE","&duarr;":"\u21F5","&duhar;":"\u296F","&dwangle;":"\u29A6","&dzcy;":"\u045F","&dzigrarr;":"\u27FF","&eDDot;":"\u2A77","&eDot;":"\u2251","&eacute":"\xE9","&eacute;":"\xE9","&easter;":"\u2A6E","&ecaron;":"\u011B","&ecir;":"\u2256","&ecirc":"\xEA","&ecirc;":"\xEA","&ecolon;":"\u2255","&ecy;":"\u044D","&edot;":"\u0117","&ee;":"\u2147","&efDot;":"\u2252","&efr;":"\u{1D522}","&eg;":"\u2A9A","&egrave":"\xE8","&egrave;":"\xE8","&egs;":"\u2A96","&egsdot;":"\u2A98","&el;":"\u2A99","&elinters;":"\u23E7","&ell;":"\u2113","&els;":"\u2A95","&elsdot;":"\u2A97","&emacr;":"\u0113","&empty;":"\u2205","&emptyset;":"\u2205","&emptyv;":"\u2205","&emsp13;":"\u2004","&emsp14;":"\u2005","&emsp;":"\u2003","&eng;":"\u014B","&ensp;":"\u2002","&eogon;":"\u0119","&eopf;":"\u{1D556}","&epar;":"\u22D5","&eparsl;":"\u29E3","&eplus;":"\u2A71","&epsi;":"\u03B5","&epsilon;":"\u03B5","&epsiv;":"\u03F5","&eqcirc;":"\u2256","&eqcolon;":"\u2255","&eqsim;":"\u2242","&eqslantgtr;":"\u2A96","&eqslantless;":"\u2A95","&equals;":"=","&equest;":"\u225F","&equiv;":"\u2261","&equivDD;":"\u2A78","&eqvparsl;":"\u29E5","&erDot;":"\u2253","&erarr;":"\u2971","&escr;":"\u212F","&esdot;":"\u2250","&esim;":"\u2242","&eta;":"\u03B7","&eth":"\xF0","&eth;":"\xF0","&euml":"\xEB","&euml;":"\xEB","&euro;":"\u20AC","&excl;":"!","&exist;":"\u2203","&expectation;":"\u2130","&exponentiale;":"\u2147","&fallingdotseq;":"\u2252","&fcy;":"\u0444","&female;":"\u2640","&ffilig;":"\uFB03","&fflig;":"\uFB00","&ffllig;":"\uFB04","&ffr;":"\u{1D523}","&filig;":"\uFB01","&fjlig;":"fj","&flat;":"\u266D","&fllig;":"\uFB02","&fltns;":"\u25B1","&fnof;":"\u0192","&fopf;":"\u{1D557}","&forall;":"\u2200","&fork;":"\u22D4","&forkv;":"\u2AD9","&fpartint;":"\u2A0D","&frac12":"\xBD","&frac12;":"\xBD","&frac13;":"\u2153","&frac14":"\xBC","&frac14;":"\xBC","&frac15;":"\u2155","&frac16;":"\u2159","&frac18;":"\u215B","&frac23;":"\u2154","&frac25;":"\u2156","&frac34":"\xBE","&frac34;":"\xBE","&frac35;":"\u2157","&frac38;":"\u215C","&frac45;":"\u2158","&frac56;":"\u215A","&frac58;":"\u215D","&frac78;":"\u215E","&frasl;":"\u2044","&frown;":"\u2322","&fscr;":"\u{1D4BB}","&gE;":"\u2267","&gEl;":"\u2A8C","&gacute;":"\u01F5","&gamma;":"\u03B3","&gammad;":"\u03DD","&gap;":"\u2A86","&gbreve;":"\u011F","&gcirc;":"\u011D","&gcy;":"\u0433","&gdot;":"\u0121","&ge;":"\u2265","&gel;":"\u22DB","&geq;":"\u2265","&geqq;":"\u2267","&geqslant;":"\u2A7E","&ges;":"\u2A7E","&gescc;":"\u2AA9","&gesdot;":"\u2A80","&gesdoto;":"\u2A82","&gesdotol;":"\u2A84","&gesl;":"\u22DB\uFE00","&gesles;":"\u2A94","&gfr;":"\u{1D524}","&gg;":"\u226B","&ggg;":"\u22D9","&gimel;":"\u2137","&gjcy;":"\u0453","&gl;":"\u2277","&glE;":"\u2A92","&gla;":"\u2AA5","&glj;":"\u2AA4","&gnE;":"\u2269","&gnap;":"\u2A8A","&gnapprox;":"\u2A8A","&gne;":"\u2A88","&gneq;":"\u2A88","&gneqq;":"\u2269","&gnsim;":"\u22E7","&gopf;":"\u{1D558}","&grave;":"`","&gscr;":"\u210A","&gsim;":"\u2273","&gsime;":"\u2A8E","&gsiml;":"\u2A90","&gt":">","&gt;":">","&gtcc;":"\u2AA7","&gtcir;":"\u2A7A","&gtdot;":"\u22D7","&gtlPar;":"\u2995","&gtquest;":"\u2A7C","&gtrapprox;":"\u2A86","&gtrarr;":"\u2978","&gtrdot;":"\u22D7","&gtreqless;":"\u22DB","&gtreqqless;":"\u2A8C","&gtrless;":"\u2277","&gtrsim;":"\u2273","&gvertneqq;":"\u2269\uFE00","&gvnE;":"\u2269\uFE00","&hArr;":"\u21D4","&hairsp;":"\u200A","&half;":"\xBD","&hamilt;":"\u210B","&hardcy;":"\u044A","&harr;":"\u2194","&harrcir;":"\u2948","&harrw;":"\u21AD","&hbar;":"\u210F","&hcirc;":"\u0125","&hearts;":"\u2665","&heartsuit;":"\u2665","&hellip;":"\u2026","&hercon;":"\u22B9","&hfr;":"\u{1D525}","&hksearow;":"\u2925","&hkswarow;":"\u2926","&hoarr;":"\u21FF","&homtht;":"\u223B","&hookleftarrow;":"\u21A9","&hookrightarrow;":"\u21AA","&hopf;":"\u{1D559}","&horbar;":"\u2015","&hscr;":"\u{1D4BD}","&hslash;":"\u210F","&hstrok;":"\u0127","&hybull;":"\u2043","&hyphen;":"\u2010","&iacute":"\xED","&iacute;":"\xED","&ic;":"\u2063","&icirc":"\xEE","&icirc;":"\xEE","&icy;":"\u0438","&iecy;":"\u0435","&iexcl":"\xA1","&iexcl;":"\xA1","&iff;":"\u21D4","&ifr;":"\u{1D526}","&igrave":"\xEC","&igrave;":"\xEC","&ii;":"\u2148","&iiiint;":"\u2A0C","&iiint;":"\u222D","&iinfin;":"\u29DC","&iiota;":"\u2129","&ijlig;":"\u0133","&imacr;":"\u012B","&image;":"\u2111","&imagline;":"\u2110","&imagpart;":"\u2111","&imath;":"\u0131","&imof;":"\u22B7","&imped;":"\u01B5","&in;":"\u2208","&incare;":"\u2105","&infin;":"\u221E","&infintie;":"\u29DD","&inodot;":"\u0131","&int;":"\u222B","&intcal;":"\u22BA","&integers;":"\u2124","&intercal;":"\u22BA","&intlarhk;":"\u2A17","&intprod;":"\u2A3C","&iocy;":"\u0451","&iogon;":"\u012F","&iopf;":"\u{1D55A}","&iota;":"\u03B9","&iprod;":"\u2A3C","&iquest":"\xBF","&iquest;":"\xBF","&iscr;":"\u{1D4BE}","&isin;":"\u2208","&isinE;":"\u22F9","&isindot;":"\u22F5","&isins;":"\u22F4","&isinsv;":"\u22F3","&isinv;":"\u2208","&it;":"\u2062","&itilde;":"\u0129","&iukcy;":"\u0456","&iuml":"\xEF","&iuml;":"\xEF","&jcirc;":"\u0135","&jcy;":"\u0439","&jfr;":"\u{1D527}","&jmath;":"\u0237","&jopf;":"\u{1D55B}","&jscr;":"\u{1D4BF}","&jsercy;":"\u0458","&jukcy;":"\u0454","&kappa;":"\u03BA","&kappav;":"\u03F0","&kcedil;":"\u0137","&kcy;":"\u043A","&kfr;":"\u{1D528}","&kgreen;":"\u0138","&khcy;":"\u0445","&kjcy;":"\u045C","&kopf;":"\u{1D55C}","&kscr;":"\u{1D4C0}","&lAarr;":"\u21DA","&lArr;":"\u21D0","&lAtail;":"\u291B","&lBarr;":"\u290E","&lE;":"\u2266","&lEg;":"\u2A8B","&lHar;":"\u2962","&lacute;":"\u013A","&laemptyv;":"\u29B4","&lagran;":"\u2112","&lambda;":"\u03BB","&lang;":"\u27E8","&langd;":"\u2991","&langle;":"\u27E8","&lap;":"\u2A85","&laquo":"\xAB","&laquo;":"\xAB","&larr;":"\u2190","&larrb;":"\u21E4","&larrbfs;":"\u291F","&larrfs;":"\u291D","&larrhk;":"\u21A9","&larrlp;":"\u21AB","&larrpl;":"\u2939","&larrsim;":"\u2973","&larrtl;":"\u21A2","&lat;":"\u2AAB","&latail;":"\u2919","&late;":"\u2AAD","&lates;":"\u2AAD\uFE00","&lbarr;":"\u290C","&lbbrk;":"\u2772","&lbrace;":"{","&lbrack;":"[","&lbrke;":"\u298B","&lbrksld;":"\u298F","&lbrkslu;":"\u298D","&lcaron;":"\u013E","&lcedil;":"\u013C","&lceil;":"\u2308","&lcub;":"{","&lcy;":"\u043B","&ldca;":"\u2936","&ldquo;":"\u201C","&ldquor;":"\u201E","&ldrdhar;":"\u2967","&ldrushar;":"\u294B","&ldsh;":"\u21B2","&le;":"\u2264","&leftarrow;":"\u2190","&leftarrowtail;":"\u21A2","&leftharpoondown;":"\u21BD","&leftharpoonup;":"\u21BC","&leftleftarrows;":"\u21C7","&leftrightarrow;":"\u2194","&leftrightarrows;":"\u21C6","&leftrightharpoons;":"\u21CB","&leftrightsquigarrow;":"\u21AD","&leftthreetimes;":"\u22CB","&leg;":"\u22DA","&leq;":"\u2264","&leqq;":"\u2266","&leqslant;":"\u2A7D","&les;":"\u2A7D","&lescc;":"\u2AA8","&lesdot;":"\u2A7F","&lesdoto;":"\u2A81","&lesdotor;":"\u2A83","&lesg;":"\u22DA\uFE00","&lesges;":"\u2A93","&lessapprox;":"\u2A85","&lessdot;":"\u22D6","&lesseqgtr;":"\u22DA","&lesseqqgtr;":"\u2A8B","&lessgtr;":"\u2276","&lesssim;":"\u2272","&lfisht;":"\u297C","&lfloor;":"\u230A","&lfr;":"\u{1D529}","&lg;":"\u2276","&lgE;":"\u2A91","&lhard;":"\u21BD","&lharu;":"\u21BC","&lharul;":"\u296A","&lhblk;":"\u2584","&ljcy;":"\u0459","&ll;":"\u226A","&llarr;":"\u21C7","&llcorner;":"\u231E","&llhard;":"\u296B","&lltri;":"\u25FA","&lmidot;":"\u0140","&lmoust;":"\u23B0","&lmoustache;":"\u23B0","&lnE;":"\u2268","&lnap;":"\u2A89","&lnapprox;":"\u2A89","&lne;":"\u2A87","&lneq;":"\u2A87","&lneqq;":"\u2268","&lnsim;":"\u22E6","&loang;":"\u27EC","&loarr;":"\u21FD","&lobrk;":"\u27E6","&longleftarrow;":"\u27F5","&longleftrightarrow;":"\u27F7","&longmapsto;":"\u27FC","&longrightarrow;":"\u27F6","&looparrowleft;":"\u21AB","&looparrowright;":"\u21AC","&lopar;":"\u2985","&lopf;":"\u{1D55D}","&loplus;":"\u2A2D","&lotimes;":"\u2A34","&lowast;":"\u2217","&lowbar;":"_","&loz;":"\u25CA","&lozenge;":"\u25CA","&lozf;":"\u29EB","&lpar;":"(","&lparlt;":"\u2993","&lrarr;":"\u21C6","&lrcorner;":"\u231F","&lrhar;":"\u21CB","&lrhard;":"\u296D","&lrm;":"\u200E","&lrtri;":"\u22BF","&lsaquo;":"\u2039","&lscr;":"\u{1D4C1}","&lsh;":"\u21B0","&lsim;":"\u2272","&lsime;":"\u2A8D","&lsimg;":"\u2A8F","&lsqb;":"[","&lsquo;":"\u2018","&lsquor;":"\u201A","&lstrok;":"\u0142","&lt":"<","&lt;":"<","&ltcc;":"\u2AA6","&ltcir;":"\u2A79","&ltdot;":"\u22D6","&lthree;":"\u22CB","&ltimes;":"\u22C9","&ltlarr;":"\u2976","&ltquest;":"\u2A7B","&ltrPar;":"\u2996","&ltri;":"\u25C3","&ltrie;":"\u22B4","&ltrif;":"\u25C2","&lurdshar;":"\u294A","&luruhar;":"\u2966","&lvertneqq;":"\u2268\uFE00","&lvnE;":"\u2268\uFE00","&mDDot;":"\u223A","&macr":"\xAF","&macr;":"\xAF","&male;":"\u2642","&malt;":"\u2720","&maltese;":"\u2720","&map;":"\u21A6","&mapsto;":"\u21A6","&mapstodown;":"\u21A7","&mapstoleft;":"\u21A4","&mapstoup;":"\u21A5","&marker;":"\u25AE","&mcomma;":"\u2A29","&mcy;":"\u043C","&mdash;":"\u2014","&measuredangle;":"\u2221","&mfr;":"\u{1D52A}","&mho;":"\u2127","&micro":"\xB5","&micro;":"\xB5","&mid;":"\u2223","&midast;":"*","&midcir;":"\u2AF0","&middot":"\xB7","&middot;":"\xB7","&minus;":"\u2212","&minusb;":"\u229F","&minusd;":"\u2238","&minusdu;":"\u2A2A","&mlcp;":"\u2ADB","&mldr;":"\u2026","&mnplus;":"\u2213","&models;":"\u22A7","&mopf;":"\u{1D55E}","&mp;":"\u2213","&mscr;":"\u{1D4C2}","&mstpos;":"\u223E","&mu;":"\u03BC","&multimap;":"\u22B8","&mumap;":"\u22B8","&nGg;":"\u22D9\u0338","&nGt;":"\u226B\u20D2","&nGtv;":"\u226B\u0338","&nLeftarrow;":"\u21CD","&nLeftrightarrow;":"\u21CE","&nLl;":"\u22D8\u0338","&nLt;":"\u226A\u20D2","&nLtv;":"\u226A\u0338","&nRightarrow;":"\u21CF","&nVDash;":"\u22AF","&nVdash;":"\u22AE","&nabla;":"\u2207","&nacute;":"\u0144","&nang;":"\u2220\u20D2","&nap;":"\u2249","&napE;":"\u2A70\u0338","&napid;":"\u224B\u0338","&napos;":"\u0149","&napprox;":"\u2249","&natur;":"\u266E","&natural;":"\u266E","&naturals;":"\u2115","&nbsp":"\xA0","&nbsp;":"\xA0","&nbump;":"\u224E\u0338","&nbumpe;":"\u224F\u0338","&ncap;":"\u2A43","&ncaron;":"\u0148","&ncedil;":"\u0146","&ncong;":"\u2247","&ncongdot;":"\u2A6D\u0338","&ncup;":"\u2A42","&ncy;":"\u043D","&ndash;":"\u2013","&ne;":"\u2260","&neArr;":"\u21D7","&nearhk;":"\u2924","&nearr;":"\u2197","&nearrow;":"\u2197","&nedot;":"\u2250\u0338","&nequiv;":"\u2262","&nesear;":"\u2928","&nesim;":"\u2242\u0338","&nexist;":"\u2204","&nexists;":"\u2204","&nfr;":"\u{1D52B}","&ngE;":"\u2267\u0338","&nge;":"\u2271","&ngeq;":"\u2271","&ngeqq;":"\u2267\u0338","&ngeqslant;":"\u2A7E\u0338","&nges;":"\u2A7E\u0338","&ngsim;":"\u2275","&ngt;":"\u226F","&ngtr;":"\u226F","&nhArr;":"\u21CE","&nharr;":"\u21AE","&nhpar;":"\u2AF2","&ni;":"\u220B","&nis;":"\u22FC","&nisd;":"\u22FA","&niv;":"\u220B","&njcy;":"\u045A","&nlArr;":"\u21CD","&nlE;":"\u2266\u0338","&nlarr;":"\u219A","&nldr;":"\u2025","&nle;":"\u2270","&nleftarrow;":"\u219A","&nleftrightarrow;":"\u21AE","&nleq;":"\u2270","&nleqq;":"\u2266\u0338","&nleqslant;":"\u2A7D\u0338","&nles;":"\u2A7D\u0338","&nless;":"\u226E","&nlsim;":"\u2274","&nlt;":"\u226E","&nltri;":"\u22EA","&nltrie;":"\u22EC","&nmid;":"\u2224","&nopf;":"\u{1D55F}","&not":"\xAC","&not;":"\xAC","&notin;":"\u2209","&notinE;":"\u22F9\u0338","&notindot;":"\u22F5\u0338","&notinva;":"\u2209","&notinvb;":"\u22F7","&notinvc;":"\u22F6","&notni;":"\u220C","&notniva;":"\u220C","&notnivb;":"\u22FE","&notnivc;":"\u22FD","&npar;":"\u2226","&nparallel;":"\u2226","&nparsl;":"\u2AFD\u20E5","&npart;":"\u2202\u0338","&npolint;":"\u2A14","&npr;":"\u2280","&nprcue;":"\u22E0","&npre;":"\u2AAF\u0338","&nprec;":"\u2280","&npreceq;":"\u2AAF\u0338","&nrArr;":"\u21CF","&nrarr;":"\u219B","&nrarrc;":"\u2933\u0338","&nrarrw;":"\u219D\u0338","&nrightarrow;":"\u219B","&nrtri;":"\u22EB","&nrtrie;":"\u22ED","&nsc;":"\u2281","&nsccue;":"\u22E1","&nsce;":"\u2AB0\u0338","&nscr;":"\u{1D4C3}","&nshortmid;":"\u2224","&nshortparallel;":"\u2226","&nsim;":"\u2241","&nsime;":"\u2244","&nsimeq;":"\u2244","&nsmid;":"\u2224","&nspar;":"\u2226","&nsqsube;":"\u22E2","&nsqsupe;":"\u22E3","&nsub;":"\u2284","&nsubE;":"\u2AC5\u0338","&nsube;":"\u2288","&nsubset;":"\u2282\u20D2","&nsubseteq;":"\u2288","&nsubseteqq;":"\u2AC5\u0338","&nsucc;":"\u2281","&nsucceq;":"\u2AB0\u0338","&nsup;":"\u2285","&nsupE;":"\u2AC6\u0338","&nsupe;":"\u2289","&nsupset;":"\u2283\u20D2","&nsupseteq;":"\u2289","&nsupseteqq;":"\u2AC6\u0338","&ntgl;":"\u2279","&ntilde":"\xF1","&ntilde;":"\xF1","&ntlg;":"\u2278","&ntriangleleft;":"\u22EA","&ntrianglelefteq;":"\u22EC","&ntriangleright;":"\u22EB","&ntrianglerighteq;":"\u22ED","&nu;":"\u03BD","&num;":"#","&numero;":"\u2116","&numsp;":"\u2007","&nvDash;":"\u22AD","&nvHarr;":"\u2904","&nvap;":"\u224D\u20D2","&nvdash;":"\u22AC","&nvge;":"\u2265\u20D2","&nvgt;":">\u20D2","&nvinfin;":"\u29DE","&nvlArr;":"\u2902","&nvle;":"\u2264\u20D2","&nvlt;":"<\u20D2","&nvltrie;":"\u22B4\u20D2","&nvrArr;":"\u2903","&nvrtrie;":"\u22B5\u20D2","&nvsim;":"\u223C\u20D2","&nwArr;":"\u21D6","&nwarhk;":"\u2923","&nwarr;":"\u2196","&nwarrow;":"\u2196","&nwnear;":"\u2927","&oS;":"\u24C8","&oacute":"\xF3","&oacute;":"\xF3","&oast;":"\u229B","&ocir;":"\u229A","&ocirc":"\xF4","&ocirc;":"\xF4","&ocy;":"\u043E","&odash;":"\u229D","&odblac;":"\u0151","&odiv;":"\u2A38","&odot;":"\u2299","&odsold;":"\u29BC","&oelig;":"\u0153","&ofcir;":"\u29BF","&ofr;":"\u{1D52C}","&ogon;":"\u02DB","&ograve":"\xF2","&ograve;":"\xF2","&ogt;":"\u29C1","&ohbar;":"\u29B5","&ohm;":"\u03A9","&oint;":"\u222E","&olarr;":"\u21BA","&olcir;":"\u29BE","&olcross;":"\u29BB","&oline;":"\u203E","&olt;":"\u29C0","&omacr;":"\u014D","&omega;":"\u03C9","&omicron;":"\u03BF","&omid;":"\u29B6","&ominus;":"\u2296","&oopf;":"\u{1D560}","&opar;":"\u29B7","&operp;":"\u29B9","&oplus;":"\u2295","&or;":"\u2228","&orarr;":"\u21BB","&ord;":"\u2A5D","&order;":"\u2134","&orderof;":"\u2134","&ordf":"\xAA","&ordf;":"\xAA","&ordm":"\xBA","&ordm;":"\xBA","&origof;":"\u22B6","&oror;":"\u2A56","&orslope;":"\u2A57","&orv;":"\u2A5B","&oscr;":"\u2134","&oslash":"\xF8","&oslash;":"\xF8","&osol;":"\u2298","&otilde":"\xF5","&otilde;":"\xF5","&otimes;":"\u2297","&otimesas;":"\u2A36","&ouml":"\xF6","&ouml;":"\xF6","&ovbar;":"\u233D","&par;":"\u2225","&para":"\xB6","&para;":"\xB6","&parallel;":"\u2225","&parsim;":"\u2AF3","&parsl;":"\u2AFD","&part;":"\u2202","&pcy;":"\u043F","&percnt;":"%","&period;":".","&permil;":"\u2030","&perp;":"\u22A5","&pertenk;":"\u2031","&pfr;":"\u{1D52D}","&phi;":"\u03C6","&phiv;":"\u03D5","&phmmat;":"\u2133","&phone;":"\u260E","&pi;":"\u03C0","&pitchfork;":"\u22D4","&piv;":"\u03D6","&planck;":"\u210F","&planckh;":"\u210E","&plankv;":"\u210F","&plus;":"+","&plusacir;":"\u2A23","&plusb;":"\u229E","&pluscir;":"\u2A22","&plusdo;":"\u2214","&plusdu;":"\u2A25","&pluse;":"\u2A72","&plusmn":"\xB1","&plusmn;":"\xB1","&plussim;":"\u2A26","&plustwo;":"\u2A27","&pm;":"\xB1","&pointint;":"\u2A15","&popf;":"\u{1D561}","&pound":"\xA3","&pound;":"\xA3","&pr;":"\u227A","&prE;":"\u2AB3","&prap;":"\u2AB7","&prcue;":"\u227C","&pre;":"\u2AAF","&prec;":"\u227A","&precapprox;":"\u2AB7","&preccurlyeq;":"\u227C","&preceq;":"\u2AAF","&precnapprox;":"\u2AB9","&precneqq;":"\u2AB5","&precnsim;":"\u22E8","&precsim;":"\u227E","&prime;":"\u2032","&primes;":"\u2119","&prnE;":"\u2AB5","&prnap;":"\u2AB9","&prnsim;":"\u22E8","&prod;":"\u220F","&profalar;":"\u232E","&profline;":"\u2312","&profsurf;":"\u2313","&prop;":"\u221D","&propto;":"\u221D","&prsim;":"\u227E","&prurel;":"\u22B0","&pscr;":"\u{1D4C5}","&psi;":"\u03C8","&puncsp;":"\u2008","&qfr;":"\u{1D52E}","&qint;":"\u2A0C","&qopf;":"\u{1D562}","&qprime;":"\u2057","&qscr;":"\u{1D4C6}","&quaternions;":"\u210D","&quatint;":"\u2A16","&quest;":"?","&questeq;":"\u225F","&quot":'"',"&quot;":'"',"&rAarr;":"\u21DB","&rArr;":"\u21D2","&rAtail;":"\u291C","&rBarr;":"\u290F","&rHar;":"\u2964","&race;":"\u223D\u0331","&racute;":"\u0155","&radic;":"\u221A","&raemptyv;":"\u29B3","&rang;":"\u27E9","&rangd;":"\u2992","&range;":"\u29A5","&rangle;":"\u27E9","&raquo":"\xBB","&raquo;":"\xBB","&rarr;":"\u2192","&rarrap;":"\u2975","&rarrb;":"\u21E5","&rarrbfs;":"\u2920","&rarrc;":"\u2933","&rarrfs;":"\u291E","&rarrhk;":"\u21AA","&rarrlp;":"\u21AC","&rarrpl;":"\u2945","&rarrsim;":"\u2974","&rarrtl;":"\u21A3","&rarrw;":"\u219D","&ratail;":"\u291A","&ratio;":"\u2236","&rationals;":"\u211A","&rbarr;":"\u290D","&rbbrk;":"\u2773","&rbrace;":"}","&rbrack;":"]","&rbrke;":"\u298C","&rbrksld;":"\u298E","&rbrkslu;":"\u2990","&rcaron;":"\u0159","&rcedil;":"\u0157","&rceil;":"\u2309","&rcub;":"}","&rcy;":"\u0440","&rdca;":"\u2937","&rdldhar;":"\u2969","&rdquo;":"\u201D","&rdquor;":"\u201D","&rdsh;":"\u21B3","&real;":"\u211C","&realine;":"\u211B","&realpart;":"\u211C","&reals;":"\u211D","&rect;":"\u25AD","&reg":"\xAE","&reg;":"\xAE","&rfisht;":"\u297D","&rfloor;":"\u230B","&rfr;":"\u{1D52F}","&rhard;":"\u21C1","&rharu;":"\u21C0","&rharul;":"\u296C","&rho;":"\u03C1","&rhov;":"\u03F1","&rightarrow;":"\u2192","&rightarrowtail;":"\u21A3","&rightharpoondown;":"\u21C1","&rightharpoonup;":"\u21C0","&rightleftarrows;":"\u21C4","&rightleftharpoons;":"\u21CC","&rightrightarrows;":"\u21C9","&rightsquigarrow;":"\u219D","&rightthreetimes;":"\u22CC","&ring;":"\u02DA","&risingdotseq;":"\u2253","&rlarr;":"\u21C4","&rlhar;":"\u21CC","&rlm;":"\u200F","&rmoust;":"\u23B1","&rmoustache;":"\u23B1","&rnmid;":"\u2AEE","&roang;":"\u27ED","&roarr;":"\u21FE","&robrk;":"\u27E7","&ropar;":"\u2986","&ropf;":"\u{1D563}","&roplus;":"\u2A2E","&rotimes;":"\u2A35","&rpar;":")","&rpargt;":"\u2994","&rppolint;":"\u2A12","&rrarr;":"\u21C9","&rsaquo;":"\u203A","&rscr;":"\u{1D4C7}","&rsh;":"\u21B1","&rsqb;":"]","&rsquo;":"\u2019","&rsquor;":"\u2019","&rthree;":"\u22CC","&rtimes;":"\u22CA","&rtri;":"\u25B9","&rtrie;":"\u22B5","&rtrif;":"\u25B8","&rtriltri;":"\u29CE","&ruluhar;":"\u2968","&rx;":"\u211E","&sacute;":"\u015B","&sbquo;":"\u201A","&sc;":"\u227B","&scE;":"\u2AB4","&scap;":"\u2AB8","&scaron;":"\u0161","&sccue;":"\u227D","&sce;":"\u2AB0","&scedil;":"\u015F","&scirc;":"\u015D","&scnE;":"\u2AB6","&scnap;":"\u2ABA","&scnsim;":"\u22E9","&scpolint;":"\u2A13","&scsim;":"\u227F","&scy;":"\u0441","&sdot;":"\u22C5","&sdotb;":"\u22A1","&sdote;":"\u2A66","&seArr;":"\u21D8","&searhk;":"\u2925","&searr;":"\u2198","&searrow;":"\u2198","&sect":"\xA7","&sect;":"\xA7","&semi;":";","&seswar;":"\u2929","&setminus;":"\u2216","&setmn;":"\u2216","&sext;":"\u2736","&sfr;":"\u{1D530}","&sfrown;":"\u2322","&sharp;":"\u266F","&shchcy;":"\u0449","&shcy;":"\u0448","&shortmid;":"\u2223","&shortparallel;":"\u2225","&shy":"\xAD","&shy;":"\xAD","&sigma;":"\u03C3","&sigmaf;":"\u03C2","&sigmav;":"\u03C2","&sim;":"\u223C","&simdot;":"\u2A6A","&sime;":"\u2243","&simeq;":"\u2243","&simg;":"\u2A9E","&simgE;":"\u2AA0","&siml;":"\u2A9D","&simlE;":"\u2A9F","&simne;":"\u2246","&simplus;":"\u2A24","&simrarr;":"\u2972","&slarr;":"\u2190","&smallsetminus;":"\u2216","&smashp;":"\u2A33","&smeparsl;":"\u29E4","&smid;":"\u2223","&smile;":"\u2323","&smt;":"\u2AAA","&smte;":"\u2AAC","&smtes;":"\u2AAC\uFE00","&softcy;":"\u044C","&sol;":"/","&solb;":"\u29C4","&solbar;":"\u233F","&sopf;":"\u{1D564}","&spades;":"\u2660","&spadesuit;":"\u2660","&spar;":"\u2225","&sqcap;":"\u2293","&sqcaps;":"\u2293\uFE00","&sqcup;":"\u2294","&sqcups;":"\u2294\uFE00","&sqsub;":"\u228F","&sqsube;":"\u2291","&sqsubset;":"\u228F","&sqsubseteq;":"\u2291","&sqsup;":"\u2290","&sqsupe;":"\u2292","&sqsupset;":"\u2290","&sqsupseteq;":"\u2292","&squ;":"\u25A1","&square;":"\u25A1","&squarf;":"\u25AA","&squf;":"\u25AA","&srarr;":"\u2192","&sscr;":"\u{1D4C8}","&ssetmn;":"\u2216","&ssmile;":"\u2323","&sstarf;":"\u22C6","&star;":"\u2606","&starf;":"\u2605","&straightepsilon;":"\u03F5","&straightphi;":"\u03D5","&strns;":"\xAF","&sub;":"\u2282","&subE;":"\u2AC5","&subdot;":"\u2ABD","&sube;":"\u2286","&subedot;":"\u2AC3","&submult;":"\u2AC1","&subnE;":"\u2ACB","&subne;":"\u228A","&subplus;":"\u2ABF","&subrarr;":"\u2979","&subset;":"\u2282","&subseteq;":"\u2286","&subseteqq;":"\u2AC5","&subsetneq;":"\u228A","&subsetneqq;":"\u2ACB","&subsim;":"\u2AC7","&subsub;":"\u2AD5","&subsup;":"\u2AD3","&succ;":"\u227B","&succapprox;":"\u2AB8","&succcurlyeq;":"\u227D","&succeq;":"\u2AB0","&succnapprox;":"\u2ABA","&succneqq;":"\u2AB6","&succnsim;":"\u22E9","&succsim;":"\u227F","&sum;":"\u2211","&sung;":"\u266A","&sup1":"\xB9","&sup1;":"\xB9","&sup2":"\xB2","&sup2;":"\xB2","&sup3":"\xB3","&sup3;":"\xB3","&sup;":"\u2283","&supE;":"\u2AC6","&supdot;":"\u2ABE","&supdsub;":"\u2AD8","&supe;":"\u2287","&supedot;":"\u2AC4","&suphsol;":"\u27C9","&suphsub;":"\u2AD7","&suplarr;":"\u297B","&supmult;":"\u2AC2","&supnE;":"\u2ACC","&supne;":"\u228B","&supplus;":"\u2AC0","&supset;":"\u2283","&supseteq;":"\u2287","&supseteqq;":"\u2AC6","&supsetneq;":"\u228B","&supsetneqq;":"\u2ACC","&supsim;":"\u2AC8","&supsub;":"\u2AD4","&supsup;":"\u2AD6","&swArr;":"\u21D9","&swarhk;":"\u2926","&swarr;":"\u2199","&swarrow;":"\u2199","&swnwar;":"\u292A","&szlig":"\xDF","&szlig;":"\xDF","&target;":"\u2316","&tau;":"\u03C4","&tbrk;":"\u23B4","&tcaron;":"\u0165","&tcedil;":"\u0163","&tcy;":"\u0442","&tdot;":"\u20DB","&telrec;":"\u2315","&tfr;":"\u{1D531}","&there4;":"\u2234","&therefore;":"\u2234","&theta;":"\u03B8","&thetasym;":"\u03D1","&thetav;":"\u03D1","&thickapprox;":"\u2248","&thicksim;":"\u223C","&thinsp;":"\u2009","&thkap;":"\u2248","&thksim;":"\u223C","&thorn":"\xFE","&thorn;":"\xFE","&tilde;":"\u02DC","&times":"\xD7","&times;":"\xD7","&timesb;":"\u22A0","&timesbar;":"\u2A31","&timesd;":"\u2A30","&tint;":"\u222D","&toea;":"\u2928","&top;":"\u22A4","&topbot;":"\u2336","&topcir;":"\u2AF1","&topf;":"\u{1D565}","&topfork;":"\u2ADA","&tosa;":"\u2929","&tprime;":"\u2034","&trade;":"\u2122","&triangle;":"\u25B5","&triangledown;":"\u25BF","&triangleleft;":"\u25C3","&trianglelefteq;":"\u22B4","&triangleq;":"\u225C","&triangleright;":"\u25B9","&trianglerighteq;":"\u22B5","&tridot;":"\u25EC","&trie;":"\u225C","&triminus;":"\u2A3A","&triplus;":"\u2A39","&trisb;":"\u29CD","&tritime;":"\u2A3B","&trpezium;":"\u23E2","&tscr;":"\u{1D4C9}","&tscy;":"\u0446","&tshcy;":"\u045B","&tstrok;":"\u0167","&twixt;":"\u226C","&twoheadleftarrow;":"\u219E","&twoheadrightarrow;":"\u21A0","&uArr;":"\u21D1","&uHar;":"\u2963","&uacute":"\xFA","&uacute;":"\xFA","&uarr;":"\u2191","&ubrcy;":"\u045E","&ubreve;":"\u016D","&ucirc":"\xFB","&ucirc;":"\xFB","&ucy;":"\u0443","&udarr;":"\u21C5","&udblac;":"\u0171","&udhar;":"\u296E","&ufisht;":"\u297E","&ufr;":"\u{1D532}","&ugrave":"\xF9","&ugrave;":"\xF9","&uharl;":"\u21BF","&uharr;":"\u21BE","&uhblk;":"\u2580","&ulcorn;":"\u231C","&ulcorner;":"\u231C","&ulcrop;":"\u230F","&ultri;":"\u25F8","&umacr;":"\u016B","&uml":"\xA8","&uml;":"\xA8","&uogon;":"\u0173","&uopf;":"\u{1D566}","&uparrow;":"\u2191","&updownarrow;":"\u2195","&upharpoonleft;":"\u21BF","&upharpoonright;":"\u21BE","&uplus;":"\u228E","&upsi;":"\u03C5","&upsih;":"\u03D2","&upsilon;":"\u03C5","&upuparrows;":"\u21C8","&urcorn;":"\u231D","&urcorner;":"\u231D","&urcrop;":"\u230E","&uring;":"\u016F","&urtri;":"\u25F9","&uscr;":"\u{1D4CA}","&utdot;":"\u22F0","&utilde;":"\u0169","&utri;":"\u25B5","&utrif;":"\u25B4","&uuarr;":"\u21C8","&uuml":"\xFC","&uuml;":"\xFC","&uwangle;":"\u29A7","&vArr;":"\u21D5","&vBar;":"\u2AE8","&vBarv;":"\u2AE9","&vDash;":"\u22A8","&vangrt;":"\u299C","&varepsilon;":"\u03F5","&varkappa;":"\u03F0","&varnothing;":"\u2205","&varphi;":"\u03D5","&varpi;":"\u03D6","&varpropto;":"\u221D","&varr;":"\u2195","&varrho;":"\u03F1","&varsigma;":"\u03C2","&varsubsetneq;":"\u228A\uFE00","&varsubsetneqq;":"\u2ACB\uFE00","&varsupsetneq;":"\u228B\uFE00","&varsupsetneqq;":"\u2ACC\uFE00","&vartheta;":"\u03D1","&vartriangleleft;":"\u22B2","&vartriangleright;":"\u22B3","&vcy;":"\u0432","&vdash;":"\u22A2","&vee;":"\u2228","&veebar;":"\u22BB","&veeeq;":"\u225A","&vellip;":"\u22EE","&verbar;":"|","&vert;":"|","&vfr;":"\u{1D533}","&vltri;":"\u22B2","&vnsub;":"\u2282\u20D2","&vnsup;":"\u2283\u20D2","&vopf;":"\u{1D567}","&vprop;":"\u221D","&vrtri;":"\u22B3","&vscr;":"\u{1D4CB}","&vsubnE;":"\u2ACB\uFE00","&vsubne;":"\u228A\uFE00","&vsupnE;":"\u2ACC\uFE00","&vsupne;":"\u228B\uFE00","&vzigzag;":"\u299A","&wcirc;":"\u0175","&wedbar;":"\u2A5F","&wedge;":"\u2227","&wedgeq;":"\u2259","&weierp;":"\u2118","&wfr;":"\u{1D534}","&wopf;":"\u{1D568}","&wp;":"\u2118","&wr;":"\u2240","&wreath;":"\u2240","&wscr;":"\u{1D4CC}","&xcap;":"\u22C2","&xcirc;":"\u25EF","&xcup;":"\u22C3","&xdtri;":"\u25BD","&xfr;":"\u{1D535}","&xhArr;":"\u27FA","&xharr;":"\u27F7","&xi;":"\u03BE","&xlArr;":"\u27F8","&xlarr;":"\u27F5","&xmap;":"\u27FC","&xnis;":"\u22FB","&xodot;":"\u2A00","&xopf;":"\u{1D569}","&xoplus;":"\u2A01","&xotime;":"\u2A02","&xrArr;":"\u27F9","&xrarr;":"\u27F6","&xscr;":"\u{1D4CD}","&xsqcup;":"\u2A06","&xuplus;":"\u2A04","&xutri;":"\u25B3","&xvee;":"\u22C1","&xwedge;":"\u22C0","&yacute":"\xFD","&yacute;":"\xFD","&yacy;":"\u044F","&ycirc;":"\u0177","&ycy;":"\u044B","&yen":"\xA5","&yen;":"\xA5","&yfr;":"\u{1D536}","&yicy;":"\u0457","&yopf;":"\u{1D56A}","&yscr;":"\u{1D4CE}","&yucy;":"\u044E","&yuml":"\xFF","&yuml;":"\xFF","&zacute;":"\u017A","&zcaron;":"\u017E","&zcy;":"\u0437","&zdot;":"\u017C","&zeetrf;":"\u2128","&zeta;":"\u03B6","&zfr;":"\u{1D537}","&zhcy;":"\u0436","&zigrarr;":"\u21DD","&zopf;":"\u{1D56B}","&zscr;":"\u{1D4CF}","&zwj;":"\u200D","&zwnj;":"\u200C"},characters:{\u00C6:"&AElig;","&":"&amp;",\u00C1:"&Aacute;",\u0102:"&Abreve;",\u00C2:"&Acirc;",\u0410:"&Acy;","\u{1D504}":"&Afr;",\u00C0:"&Agrave;",\u0391:"&Alpha;",\u0100:"&Amacr;","\u2A53":"&And;",\u0104:"&Aogon;","\u{1D538}":"&Aopf;","\u2061":"&af;",\u00C5:"&angst;","\u{1D49C}":"&Ascr;","\u2254":"&coloneq;",\u00C3:"&Atilde;",\u00C4:"&Auml;","\u2216":"&ssetmn;","\u2AE7":"&Barv;","\u2306":"&doublebarwedge;",\u0411:"&Bcy;","\u2235":"&because;",\u212C:"&bernou;",\u0392:"&Beta;","\u{1D505}":"&Bfr;","\u{1D539}":"&Bopf;","\u02D8":"&breve;","\u224E":"&bump;",\u0427:"&CHcy;","\xA9":"&copy;",\u0106:"&Cacute;","\u22D2":"&Cap;","\u2145":"&DD;",\u212D:"&Cfr;",\u010C:"&Ccaron;",\u00C7:"&Ccedil;",\u0108:"&Ccirc;","\u2230":"&Cconint;",\u010A:"&Cdot;","\xB8":"&cedil;","\xB7":"&middot;",\u03A7:"&Chi;","\u2299":"&odot;","\u2296":"&ominus;","\u2295":"&oplus;","\u2297":"&otimes;","\u2232":"&cwconint;","\u201D":"&rdquor;","\u2019":"&rsquor;","\u2237":"&Proportion;","\u2A74":"&Colone;","\u2261":"&equiv;","\u222F":"&DoubleContourIntegral;","\u222E":"&oint;",\u2102:"&complexes;","\u2210":"&coprod;","\u2233":"&awconint;","\u2A2F":"&Cross;","\u{1D49E}":"&Cscr;","\u22D3":"&Cup;","\u224D":"&asympeq;","\u2911":"&DDotrahd;",\u0402:"&DJcy;",\u0405:"&DScy;",\u040F:"&DZcy;","\u2021":"&ddagger;","\u21A1":"&Darr;","\u2AE4":"&DoubleLeftTee;",\u010E:"&Dcaron;",\u0414:"&Dcy;","\u2207":"&nabla;",\u0394:"&Delta;","\u{1D507}":"&Dfr;","\xB4":"&acute;","\u02D9":"&dot;","\u02DD":"&dblac;","`":"&grave;","\u02DC":"&tilde;","\u22C4":"&diamond;","\u2146":"&dd;","\u{1D53B}":"&Dopf;","\xA8":"&uml;","\u20DC":"&DotDot;","\u2250":"&esdot;","\u21D3":"&dArr;","\u21D0":"&lArr;","\u21D4":"&iff;","\u27F8":"&xlArr;","\u27FA":"&xhArr;","\u27F9":"&xrArr;","\u21D2":"&rArr;","\u22A8":"&vDash;","\u21D1":"&uArr;","\u21D5":"&vArr;","\u2225":"&spar;","\u2193":"&downarrow;","\u2913":"&DownArrowBar;","\u21F5":"&duarr;","\u0311":"&DownBreve;","\u2950":"&DownLeftRightVector;","\u295E":"&DownLeftTeeVector;","\u21BD":"&lhard;","\u2956":"&DownLeftVectorBar;","\u295F":"&DownRightTeeVector;","\u21C1":"&rightharpoondown;","\u2957":"&DownRightVectorBar;","\u22A4":"&top;","\u21A7":"&mapstodown;","\u{1D49F}":"&Dscr;",\u0110:"&Dstrok;",\u014A:"&ENG;",\u00D0:"&ETH;",\u00C9:"&Eacute;",\u011A:"&Ecaron;",\u00CA:"&Ecirc;",\u042D:"&Ecy;",\u0116:"&Edot;","\u{1D508}":"&Efr;",\u00C8:"&Egrave;","\u2208":"&isinv;",\u0112:"&Emacr;","\u25FB":"&EmptySmallSquare;","\u25AB":"&EmptyVerySmallSquare;",\u0118:"&Eogon;","\u{1D53C}":"&Eopf;",\u0395:"&Epsilon;","\u2A75":"&Equal;","\u2242":"&esim;","\u21CC":"&rlhar;",\u2130:"&expectation;","\u2A73":"&Esim;",\u0397:"&Eta;",\u00CB:"&Euml;","\u2203":"&exist;","\u2147":"&exponentiale;",\u0424:"&Fcy;","\u{1D509}":"&Ffr;","\u25FC":"&FilledSmallSquare;","\u25AA":"&squf;","\u{1D53D}":"&Fopf;","\u2200":"&forall;",\u2131:"&Fscr;",\u0403:"&GJcy;",">":"&gt;",\u0393:"&Gamma;",\u03DC:"&Gammad;",\u011E:"&Gbreve;",\u0122:"&Gcedil;",\u011C:"&Gcirc;",\u0413:"&Gcy;",\u0120:"&Gdot;","\u{1D50A}":"&Gfr;","\u22D9":"&ggg;","\u{1D53E}":"&Gopf;","\u2265":"&geq;","\u22DB":"&gtreqless;","\u2267":"&geqq;","\u2AA2":"&GreaterGreater;","\u2277":"&gtrless;","\u2A7E":"&ges;","\u2273":"&gtrsim;","\u{1D4A2}":"&Gscr;","\u226B":"&gg;",\u042A:"&HARDcy;","\u02C7":"&caron;","^":"&Hat;",\u0124:"&Hcirc;",\u210C:"&Poincareplane;",\u210B:"&hamilt;",\u210D:"&quaternions;","\u2500":"&boxh;",\u0126:"&Hstrok;","\u224F":"&bumpeq;",\u0415:"&IEcy;",\u0132:"&IJlig;",\u0401:"&IOcy;",\u00CD:"&Iacute;",\u00CE:"&Icirc;",\u0418:"&Icy;",\u0130:"&Idot;",\u2111:"&imagpart;",\u00CC:"&Igrave;",\u012A:"&Imacr;","\u2148":"&ii;","\u222C":"&Int;","\u222B":"&int;","\u22C2":"&xcap;","\u2063":"&ic;","\u2062":"&it;",\u012E:"&Iogon;","\u{1D540}":"&Iopf;",\u0399:"&Iota;",\u2110:"&imagline;",\u0128:"&Itilde;",\u0406:"&Iukcy;",\u00CF:"&Iuml;",\u0134:"&Jcirc;",\u0419:"&Jcy;","\u{1D50D}":"&Jfr;","\u{1D541}":"&Jopf;","\u{1D4A5}":"&Jscr;",\u0408:"&Jsercy;",\u0404:"&Jukcy;",\u0425:"&KHcy;",\u040C:"&KJcy;",\u039A:"&Kappa;",\u0136:"&Kcedil;",\u041A:"&Kcy;","\u{1D50E}":"&Kfr;","\u{1D542}":"&Kopf;","\u{1D4A6}":"&Kscr;",\u0409:"&LJcy;","<":"&lt;",\u0139:"&Lacute;",\u039B:"&Lambda;","\u27EA":"&Lang;",\u2112:"&lagran;","\u219E":"&twoheadleftarrow;",\u013D:"&Lcaron;",\u013B:"&Lcedil;",\u041B:"&Lcy;","\u27E8":"&langle;","\u2190":"&slarr;","\u21E4":"&larrb;","\u21C6":"&lrarr;","\u2308":"&lceil;","\u27E6":"&lobrk;","\u2961":"&LeftDownTeeVector;","\u21C3":"&downharpoonleft;","\u2959":"&LeftDownVectorBar;","\u230A":"&lfloor;","\u2194":"&leftrightarrow;","\u294E":"&LeftRightVector;","\u22A3":"&dashv;","\u21A4":"&mapstoleft;","\u295A":"&LeftTeeVector;","\u22B2":"&vltri;","\u29CF":"&LeftTriangleBar;","\u22B4":"&trianglelefteq;","\u2951":"&LeftUpDownVector;","\u2960":"&LeftUpTeeVector;","\u21BF":"&upharpoonleft;","\u2958":"&LeftUpVectorBar;","\u21BC":"&lharu;","\u2952":"&LeftVectorBar;","\u22DA":"&lesseqgtr;","\u2266":"&leqq;","\u2276":"&lg;","\u2AA1":"&LessLess;","\u2A7D":"&les;","\u2272":"&lsim;","\u{1D50F}":"&Lfr;","\u22D8":"&Ll;","\u21DA":"&lAarr;",\u013F:"&Lmidot;","\u27F5":"&xlarr;","\u27F7":"&xharr;","\u27F6":"&xrarr;","\u{1D543}":"&Lopf;","\u2199":"&swarrow;","\u2198":"&searrow;","\u21B0":"&lsh;",\u0141:"&Lstrok;","\u226A":"&ll;","\u2905":"&Map;",\u041C:"&Mcy;","\u205F":"&MediumSpace;",\u2133:"&phmmat;","\u{1D510}":"&Mfr;","\u2213":"&mp;","\u{1D544}":"&Mopf;",\u039C:"&Mu;",\u040A:"&NJcy;",\u0143:"&Nacute;",\u0147:"&Ncaron;",\u0145:"&Ncedil;",\u041D:"&Ncy;","\u200B":"&ZeroWidthSpace;","\n":"&NewLine;","\u{1D511}":"&Nfr;","\u2060":"&NoBreak;","\xA0":"&nbsp;",\u2115:"&naturals;","\u2AEC":"&Not;","\u2262":"&nequiv;","\u226D":"&NotCupCap;","\u2226":"&nspar;","\u2209":"&notinva;","\u2260":"&ne;","\u2242\u0338":"&nesim;","\u2204":"&nexists;","\u226F":"&ngtr;","\u2271":"&ngeq;","\u2267\u0338":"&ngeqq;","\u226B\u0338":"&nGtv;","\u2279":"&ntgl;","\u2A7E\u0338":"&nges;","\u2275":"&ngsim;","\u224E\u0338":"&nbump;","\u224F\u0338":"&nbumpe;","\u22EA":"&ntriangleleft;","\u29CF\u0338":"&NotLeftTriangleBar;","\u22EC":"&ntrianglelefteq;","\u226E":"&nlt;","\u2270":"&nleq;","\u2278":"&ntlg;","\u226A\u0338":"&nLtv;","\u2A7D\u0338":"&nles;","\u2274":"&nlsim;","\u2AA2\u0338":"&NotNestedGreaterGreater;","\u2AA1\u0338":"&NotNestedLessLess;","\u2280":"&nprec;","\u2AAF\u0338":"&npreceq;","\u22E0":"&nprcue;","\u220C":"&notniva;","\u22EB":"&ntriangleright;","\u29D0\u0338":"&NotRightTriangleBar;","\u22ED":"&ntrianglerighteq;","\u228F\u0338":"&NotSquareSubset;","\u22E2":"&nsqsube;","\u2290\u0338":"&NotSquareSuperset;","\u22E3":"&nsqsupe;","\u2282\u20D2":"&vnsub;","\u2288":"&nsubseteq;","\u2281":"&nsucc;","\u2AB0\u0338":"&nsucceq;","\u22E1":"&nsccue;","\u227F\u0338":"&NotSucceedsTilde;","\u2283\u20D2":"&vnsup;","\u2289":"&nsupseteq;","\u2241":"&nsim;","\u2244":"&nsimeq;","\u2247":"&ncong;","\u2249":"&napprox;","\u2224":"&nsmid;","\u{1D4A9}":"&Nscr;",\u00D1:"&Ntilde;",\u039D:"&Nu;",\u0152:"&OElig;",\u00D3:"&Oacute;",\u00D4:"&Ocirc;",\u041E:"&Ocy;",\u0150:"&Odblac;","\u{1D512}":"&Ofr;",\u00D2:"&Ograve;",\u014C:"&Omacr;",\u03A9:"&ohm;",\u039F:"&Omicron;","\u{1D546}":"&Oopf;","\u201C":"&ldquo;","\u2018":"&lsquo;","\u2A54":"&Or;","\u{1D4AA}":"&Oscr;",\u00D8:"&Oslash;",\u00D5:"&Otilde;","\u2A37":"&Otimes;",\u00D6:"&Ouml;","\u203E":"&oline;","\u23DE":"&OverBrace;","\u23B4":"&tbrk;","\u23DC":"&OverParenthesis;","\u2202":"&part;",\u041F:"&Pcy;","\u{1D513}":"&Pfr;",\u03A6:"&Phi;",\u03A0:"&Pi;","\xB1":"&pm;",\u2119:"&primes;","\u2ABB":"&Pr;","\u227A":"&prec;","\u2AAF":"&preceq;","\u227C":"&preccurlyeq;","\u227E":"&prsim;","\u2033":"&Prime;","\u220F":"&prod;","\u221D":"&vprop;","\u{1D4AB}":"&Pscr;",\u03A8:"&Psi;",'"':"&quot;","\u{1D514}":"&Qfr;",\u211A:"&rationals;","\u{1D4AC}":"&Qscr;","\u2910":"&drbkarow;","\xAE":"&reg;",\u0154:"&Racute;","\u27EB":"&Rang;","\u21A0":"&twoheadrightarrow;","\u2916":"&Rarrtl;",\u0158:"&Rcaron;",\u0156:"&Rcedil;",\u0420:"&Rcy;",\u211C:"&realpart;","\u220B":"&niv;","\u21CB":"&lrhar;","\u296F":"&duhar;",\u03A1:"&Rho;","\u27E9":"&rangle;","\u2192":"&srarr;","\u21E5":"&rarrb;","\u21C4":"&rlarr;","\u2309":"&rceil;","\u27E7":"&robrk;","\u295D":"&RightDownTeeVector;","\u21C2":"&downharpoonright;","\u2955":"&RightDownVectorBar;","\u230B":"&rfloor;","\u22A2":"&vdash;","\u21A6":"&mapsto;","\u295B":"&RightTeeVector;","\u22B3":"&vrtri;","\u29D0":"&RightTriangleBar;","\u22B5":"&trianglerighteq;","\u294F":"&RightUpDownVector;","\u295C":"&RightUpTeeVector;","\u21BE":"&upharpoonright;","\u2954":"&RightUpVectorBar;","\u21C0":"&rightharpoonup;","\u2953":"&RightVectorBar;",\u211D:"&reals;","\u2970":"&RoundImplies;","\u21DB":"&rAarr;",\u211B:"&realine;","\u21B1":"&rsh;","\u29F4":"&RuleDelayed;",\u0429:"&SHCHcy;",\u0428:"&SHcy;",\u042C:"&SOFTcy;",\u015A:"&Sacute;","\u2ABC":"&Sc;",\u0160:"&Scaron;",\u015E:"&Scedil;",\u015C:"&Scirc;",\u0421:"&Scy;","\u{1D516}":"&Sfr;","\u2191":"&uparrow;",\u03A3:"&Sigma;","\u2218":"&compfn;","\u{1D54A}":"&Sopf;","\u221A":"&radic;","\u25A1":"&square;","\u2293":"&sqcap;","\u228F":"&sqsubset;","\u2291":"&sqsubseteq;","\u2290":"&sqsupset;","\u2292":"&sqsupseteq;","\u2294":"&sqcup;","\u{1D4AE}":"&Sscr;","\u22C6":"&sstarf;","\u22D0":"&Subset;","\u2286":"&subseteq;","\u227B":"&succ;","\u2AB0":"&succeq;","\u227D":"&succcurlyeq;","\u227F":"&succsim;","\u2211":"&sum;","\u22D1":"&Supset;","\u2283":"&supset;","\u2287":"&supseteq;",\u00DE:"&THORN;","\u2122":"&trade;",\u040B:"&TSHcy;",\u0426:"&TScy;"," ":"&Tab;",\u03A4:"&Tau;",\u0164:"&Tcaron;",\u0162:"&Tcedil;",\u0422:"&Tcy;","\u{1D517}":"&Tfr;","\u2234":"&therefore;",\u0398:"&Theta;","\u205F\u200A":"&ThickSpace;","\u2009":"&thinsp;","\u223C":"&thksim;","\u2243":"&simeq;","\u2245":"&cong;","\u2248":"&thkap;","\u{1D54B}":"&Topf;","\u20DB":"&tdot;","\u{1D4AF}":"&Tscr;",\u0166:"&Tstrok;",\u00DA:"&Uacute;","\u219F":"&Uarr;","\u2949":"&Uarrocir;",\u040E:"&Ubrcy;",\u016C:"&Ubreve;",\u00DB:"&Ucirc;",\u0423:"&Ucy;",\u0170:"&Udblac;","\u{1D518}":"&Ufr;",\u00D9:"&Ugrave;",\u016A:"&Umacr;",_:"&lowbar;","\u23DF":"&UnderBrace;","\u23B5":"&bbrk;","\u23DD":"&UnderParenthesis;","\u22C3":"&xcup;","\u228E":"&uplus;",\u0172:"&Uogon;","\u{1D54C}":"&Uopf;","\u2912":"&UpArrowBar;","\u21C5":"&udarr;","\u2195":"&varr;","\u296E":"&udhar;","\u22A5":"&perp;","\u21A5":"&mapstoup;","\u2196":"&nwarrow;","\u2197":"&nearrow;",\u03D2:"&upsih;",\u03A5:"&Upsilon;",\u016E:"&Uring;","\u{1D4B0}":"&Uscr;",\u0168:"&Utilde;",\u00DC:"&Uuml;","\u22AB":"&VDash;","\u2AEB":"&Vbar;",\u0412:"&Vcy;","\u22A9":"&Vdash;","\u2AE6":"&Vdashl;","\u22C1":"&xvee;","\u2016":"&Vert;","\u2223":"&smid;","|":"&vert;","\u2758":"&VerticalSeparator;","\u2240":"&wreath;","\u200A":"&hairsp;","\u{1D519}":"&Vfr;","\u{1D54D}":"&Vopf;","\u{1D4B1}":"&Vscr;","\u22AA":"&Vvdash;",\u0174:"&Wcirc;","\u22C0":"&xwedge;","\u{1D51A}":"&Wfr;","\u{1D54E}":"&Wopf;","\u{1D4B2}":"&Wscr;","\u{1D51B}":"&Xfr;",\u039E:"&Xi;","\u{1D54F}":"&Xopf;","\u{1D4B3}":"&Xscr;",\u042F:"&YAcy;",\u0407:"&YIcy;",\u042E:"&YUcy;",\u00DD:"&Yacute;",\u0176:"&Ycirc;",\u042B:"&Ycy;","\u{1D51C}":"&Yfr;","\u{1D550}":"&Yopf;","\u{1D4B4}":"&Yscr;",\u0178:"&Yuml;",\u0416:"&ZHcy;",\u0179:"&Zacute;",\u017D:"&Zcaron;",\u0417:"&Zcy;",\u017B:"&Zdot;",\u0396:"&Zeta;",\u2128:"&zeetrf;",\u2124:"&integers;","\u{1D4B5}":"&Zscr;",\u00E1:"&aacute;",\u0103:"&abreve;","\u223E":"&mstpos;","\u223E\u0333":"&acE;","\u223F":"&acd;",\u00E2:"&acirc;",\u0430:"&acy;",\u00E6:"&aelig;","\u{1D51E}":"&afr;",\u00E0:"&agrave;",\u2135:"&aleph;",\u03B1:"&alpha;",\u0101:"&amacr;","\u2A3F":"&amalg;","\u2227":"&wedge;","\u2A55":"&andand;","\u2A5C":"&andd;","\u2A58":"&andslope;","\u2A5A":"&andv;","\u2220":"&angle;","\u29A4":"&ange;","\u2221":"&measuredangle;","\u29A8":"&angmsdaa;","\u29A9":"&angmsdab;","\u29AA":"&angmsdac;","\u29AB":"&angmsdad;","\u29AC":"&angmsdae;","\u29AD":"&angmsdaf;","\u29AE":"&angmsdag;","\u29AF":"&angmsdah;","\u221F":"&angrt;","\u22BE":"&angrtvb;","\u299D":"&angrtvbd;","\u2222":"&angsph;","\u237C":"&angzarr;",\u0105:"&aogon;","\u{1D552}":"&aopf;","\u2A70":"&apE;","\u2A6F":"&apacir;","\u224A":"&approxeq;","\u224B":"&apid;","'":"&apos;",\u00E5:"&aring;","\u{1D4B6}":"&ascr;","*":"&midast;",\u00E3:"&atilde;",\u00E4:"&auml;","\u2A11":"&awint;","\u2AED":"&bNot;","\u224C":"&bcong;","\u03F6":"&bepsi;","\u2035":"&bprime;","\u223D":"&bsim;","\u22CD":"&bsime;","\u22BD":"&barvee;","\u2305":"&barwedge;","\u23B6":"&bbrktbrk;",\u0431:"&bcy;","\u201E":"&ldquor;","\u29B0":"&bemptyv;",\u03B2:"&beta;",\u2136:"&beth;","\u226C":"&twixt;","\u{1D51F}":"&bfr;","\u25EF":"&xcirc;","\u2A00":"&xodot;","\u2A01":"&xoplus;","\u2A02":"&xotime;","\u2A06":"&xsqcup;","\u2605":"&starf;","\u25BD":"&xdtri;","\u25B3":"&xutri;","\u2A04":"&xuplus;","\u290D":"&rbarr;","\u29EB":"&lozf;","\u25B4":"&utrif;","\u25BE":"&dtrif;","\u25C2":"&ltrif;","\u25B8":"&rtrif;","\u2423":"&blank;","\u2592":"&blk12;","\u2591":"&blk14;","\u2593":"&blk34;","\u2588":"&block;","=\u20E5":"&bne;","\u2261\u20E5":"&bnequiv;","\u2310":"&bnot;","\u{1D553}":"&bopf;","\u22C8":"&bowtie;","\u2557":"&boxDL;","\u2554":"&boxDR;","\u2556":"&boxDl;","\u2553":"&boxDr;","\u2550":"&boxH;","\u2566":"&boxHD;","\u2569":"&boxHU;","\u2564":"&boxHd;","\u2567":"&boxHu;","\u255D":"&boxUL;","\u255A":"&boxUR;","\u255C":"&boxUl;","\u2559":"&boxUr;","\u2551":"&boxV;","\u256C":"&boxVH;","\u2563":"&boxVL;","\u2560":"&boxVR;","\u256B":"&boxVh;","\u2562":"&boxVl;","\u255F":"&boxVr;","\u29C9":"&boxbox;","\u2555":"&boxdL;","\u2552":"&boxdR;","\u2510":"&boxdl;","\u250C":"&boxdr;","\u2565":"&boxhD;","\u2568":"&boxhU;","\u252C":"&boxhd;","\u2534":"&boxhu;","\u229F":"&minusb;","\u229E":"&plusb;","\u22A0":"&timesb;","\u255B":"&boxuL;","\u2558":"&boxuR;","\u2518":"&boxul;","\u2514":"&boxur;","\u2502":"&boxv;","\u256A":"&boxvH;","\u2561":"&boxvL;","\u255E":"&boxvR;","\u253C":"&boxvh;","\u2524":"&boxvl;","\u251C":"&boxvr;","\xA6":"&brvbar;","\u{1D4B7}":"&bscr;","\u204F":"&bsemi;","\\":"&bsol;","\u29C5":"&bsolb;","\u27C8":"&bsolhsub;","\u2022":"&bullet;","\u2AAE":"&bumpE;",\u0107:"&cacute;","\u2229":"&cap;","\u2A44":"&capand;","\u2A49":"&capbrcup;","\u2A4B":"&capcap;","\u2A47":"&capcup;","\u2A40":"&capdot;","\u2229\uFE00":"&caps;","\u2041":"&caret;","\u2A4D":"&ccaps;",\u010D:"&ccaron;",\u00E7:"&ccedil;",\u0109:"&ccirc;","\u2A4C":"&ccups;","\u2A50":"&ccupssm;",\u010B:"&cdot;","\u29B2":"&cemptyv;","\xA2":"&cent;","\u{1D520}":"&cfr;",\u0447:"&chcy;","\u2713":"&checkmark;",\u03C7:"&chi;","\u25CB":"&cir;","\u29C3":"&cirE;","\u02C6":"&circ;","\u2257":"&cire;","\u21BA":"&olarr;","\u21BB":"&orarr;","\u24C8":"&oS;","\u229B":"&oast;","\u229A":"&ocir;","\u229D":"&odash;","\u2A10":"&cirfnint;","\u2AEF":"&cirmid;","\u29C2":"&cirscir;","\u2663":"&clubsuit;",":":"&colon;",",":"&comma;","@":"&commat;","\u2201":"&complement;","\u2A6D":"&congdot;","\u{1D554}":"&copf;","\u2117":"&copysr;","\u21B5":"&crarr;","\u2717":"&cross;","\u{1D4B8}":"&cscr;","\u2ACF":"&csub;","\u2AD1":"&csube;","\u2AD0":"&csup;","\u2AD2":"&csupe;","\u22EF":"&ctdot;","\u2938":"&cudarrl;","\u2935":"&cudarrr;","\u22DE":"&curlyeqprec;","\u22DF":"&curlyeqsucc;","\u21B6":"&curvearrowleft;","\u293D":"&cularrp;","\u222A":"&cup;","\u2A48":"&cupbrcap;","\u2A46":"&cupcap;","\u2A4A":"&cupcup;","\u228D":"&cupdot;","\u2A45":"&cupor;","\u222A\uFE00":"&cups;","\u21B7":"&curvearrowright;","\u293C":"&curarrm;","\u22CE":"&cuvee;","\u22CF":"&cuwed;","\xA4":"&curren;","\u2231":"&cwint;","\u232D":"&cylcty;","\u2965":"&dHar;","\u2020":"&dagger;",\u2138:"&daleth;","\u2010":"&hyphen;","\u290F":"&rBarr;",\u010F:"&dcaron;",\u0434:"&dcy;","\u21CA":"&downdownarrows;","\u2A77":"&eDDot;","\xB0":"&deg;",\u03B4:"&delta;","\u29B1":"&demptyv;","\u297F":"&dfisht;","\u{1D521}":"&dfr;","\u2666":"&diams;",\u03DD:"&gammad;","\u22F2":"&disin;","\xF7":"&divide;","\u22C7":"&divonx;",\u0452:"&djcy;","\u231E":"&llcorner;","\u230D":"&dlcrop;",$:"&dollar;","\u{1D555}":"&dopf;","\u2251":"&eDot;","\u2238":"&minusd;","\u2214":"&plusdo;","\u22A1":"&sdotb;","\u231F":"&lrcorner;","\u230C":"&drcrop;","\u{1D4B9}":"&dscr;",\u0455:"&dscy;","\u29F6":"&dsol;",\u0111:"&dstrok;","\u22F1":"&dtdot;","\u25BF":"&triangledown;","\u29A6":"&dwangle;",\u045F:"&dzcy;","\u27FF":"&dzigrarr;",\u00E9:"&eacute;","\u2A6E":"&easter;",\u011B:"&ecaron;","\u2256":"&eqcirc;",\u00EA:"&ecirc;","\u2255":"&eqcolon;",\u044D:"&ecy;",\u0117:"&edot;","\u2252":"&fallingdotseq;","\u{1D522}":"&efr;","\u2A9A":"&eg;",\u00E8:"&egrave;","\u2A96":"&eqslantgtr;","\u2A98":"&egsdot;","\u2A99":"&el;","\u23E7":"&elinters;",\u2113:"&ell;","\u2A95":"&eqslantless;","\u2A97":"&elsdot;",\u0113:"&emacr;","\u2205":"&varnothing;","\u2004":"&emsp13;","\u2005":"&emsp14;","\u2003":"&emsp;",\u014B:"&eng;","\u2002":"&ensp;",\u0119:"&eogon;","\u{1D556}":"&eopf;","\u22D5":"&epar;","\u29E3":"&eparsl;","\u2A71":"&eplus;",\u03B5:"&epsilon;","\u03F5":"&varepsilon;","=":"&equals;","\u225F":"&questeq;","\u2A78":"&equivDD;","\u29E5":"&eqvparsl;","\u2253":"&risingdotseq;","\u2971":"&erarr;",\u212F:"&escr;",\u03B7:"&eta;",\u00F0:"&eth;",\u00EB:"&euml;","\u20AC":"&euro;","!":"&excl;",\u0444:"&fcy;","\u2640":"&female;",\uFB03:"&ffilig;",\uFB00:"&fflig;",\uFB04:"&ffllig;","\u{1D523}":"&ffr;",\uFB01:"&filig;",fj:"&fjlig;","\u266D":"&flat;",\uFB02:"&fllig;","\u25B1":"&fltns;",\u0192:"&fnof;","\u{1D557}":"&fopf;","\u22D4":"&pitchfork;","\u2AD9":"&forkv;","\u2A0D":"&fpartint;","\xBD":"&half;","\u2153":"&frac13;","\xBC":"&frac14;","\u2155":"&frac15;","\u2159":"&frac16;","\u215B":"&frac18;","\u2154":"&frac23;","\u2156":"&frac25;","\xBE":"&frac34;","\u2157":"&frac35;","\u215C":"&frac38;","\u2158":"&frac45;","\u215A":"&frac56;","\u215D":"&frac58;","\u215E":"&frac78;","\u2044":"&frasl;","\u2322":"&sfrown;","\u{1D4BB}":"&fscr;","\u2A8C":"&gtreqqless;",\u01F5:"&gacute;",\u03B3:"&gamma;","\u2A86":"&gtrapprox;",\u011F:"&gbreve;",\u011D:"&gcirc;",\u0433:"&gcy;",\u0121:"&gdot;","\u2AA9":"&gescc;","\u2A80":"&gesdot;","\u2A82":"&gesdoto;","\u2A84":"&gesdotol;","\u22DB\uFE00":"&gesl;","\u2A94":"&gesles;","\u{1D524}":"&gfr;",\u2137:"&gimel;",\u0453:"&gjcy;","\u2A92":"&glE;","\u2AA5":"&gla;","\u2AA4":"&glj;","\u2269":"&gneqq;","\u2A8A":"&gnapprox;","\u2A88":"&gneq;","\u22E7":"&gnsim;","\u{1D558}":"&gopf;",\u210A:"&gscr;","\u2A8E":"&gsime;","\u2A90":"&gsiml;","\u2AA7":"&gtcc;","\u2A7A":"&gtcir;","\u22D7":"&gtrdot;","\u2995":"&gtlPar;","\u2A7C":"&gtquest;","\u2978":"&gtrarr;","\u2269\uFE00":"&gvnE;",\u044A:"&hardcy;","\u2948":"&harrcir;","\u21AD":"&leftrightsquigarrow;",\u210F:"&plankv;",\u0125:"&hcirc;","\u2665":"&heartsuit;","\u2026":"&mldr;","\u22B9":"&hercon;","\u{1D525}":"&hfr;","\u2925":"&searhk;","\u2926":"&swarhk;","\u21FF":"&hoarr;","\u223B":"&homtht;","\u21A9":"&larrhk;","\u21AA":"&rarrhk;","\u{1D559}":"&hopf;","\u2015":"&horbar;","\u{1D4BD}":"&hscr;",\u0127:"&hstrok;","\u2043":"&hybull;",\u00ED:"&iacute;",\u00EE:"&icirc;",\u0438:"&icy;",\u0435:"&iecy;","\xA1":"&iexcl;","\u{1D526}":"&ifr;",\u00EC:"&igrave;","\u2A0C":"&qint;","\u222D":"&tint;","\u29DC":"&iinfin;","\u2129":"&iiota;",\u0133:"&ijlig;",\u012B:"&imacr;",\u0131:"&inodot;","\u22B7":"&imof;",\u01B5:"&imped;","\u2105":"&incare;","\u221E":"&infin;","\u29DD":"&infintie;","\u22BA":"&intercal;","\u2A17":"&intlarhk;","\u2A3C":"&iprod;",\u0451:"&iocy;",\u012F:"&iogon;","\u{1D55A}":"&iopf;",\u03B9:"&iota;","\xBF":"&iquest;","\u{1D4BE}":"&iscr;","\u22F9":"&isinE;","\u22F5":"&isindot;","\u22F4":"&isins;","\u22F3":"&isinsv;",\u0129:"&itilde;",\u0456:"&iukcy;",\u00EF:"&iuml;",\u0135:"&jcirc;",\u0439:"&jcy;","\u{1D527}":"&jfr;","\u0237":"&jmath;","\u{1D55B}":"&jopf;","\u{1D4BF}":"&jscr;",\u0458:"&jsercy;",\u0454:"&jukcy;",\u03BA:"&kappa;",\u03F0:"&varkappa;",\u0137:"&kcedil;",\u043A:"&kcy;","\u{1D528}":"&kfr;",\u0138:"&kgreen;",\u0445:"&khcy;",\u045C:"&kjcy;","\u{1D55C}":"&kopf;","\u{1D4C0}":"&kscr;","\u291B":"&lAtail;","\u290E":"&lBarr;","\u2A8B":"&lesseqqgtr;","\u2962":"&lHar;",\u013A:"&lacute;","\u29B4":"&laemptyv;",\u03BB:"&lambda;","\u2991":"&langd;","\u2A85":"&lessapprox;","\xAB":"&laquo;","\u291F":"&larrbfs;","\u291D":"&larrfs;","\u21AB":"&looparrowleft;","\u2939":"&larrpl;","\u2973":"&larrsim;","\u21A2":"&leftarrowtail;","\u2AAB":"&lat;","\u2919":"&latail;","\u2AAD":"&late;","\u2AAD\uFE00":"&lates;","\u290C":"&lbarr;","\u2772":"&lbbrk;","{":"&lcub;","[":"&lsqb;","\u298B":"&lbrke;","\u298F":"&lbrksld;","\u298D":"&lbrkslu;",\u013E:"&lcaron;",\u013C:"&lcedil;",\u043B:"&lcy;","\u2936":"&ldca;","\u2967":"&ldrdhar;","\u294B":"&ldrushar;","\u21B2":"&ldsh;","\u2264":"&leq;","\u21C7":"&llarr;","\u22CB":"&lthree;","\u2AA8":"&lescc;","\u2A7F":"&lesdot;","\u2A81":"&lesdoto;","\u2A83":"&lesdotor;","\u22DA\uFE00":"&lesg;","\u2A93":"&lesges;","\u22D6":"&ltdot;","\u297C":"&lfisht;","\u{1D529}":"&lfr;","\u2A91":"&lgE;","\u296A":"&lharul;","\u2584":"&lhblk;",\u0459:"&ljcy;","\u296B":"&llhard;","\u25FA":"&lltri;",\u0140:"&lmidot;","\u23B0":"&lmoustache;","\u2268":"&lneqq;","\u2A89":"&lnapprox;","\u2A87":"&lneq;","\u22E6":"&lnsim;","\u27EC":"&loang;","\u21FD":"&loarr;","\u27FC":"&xmap;","\u21AC":"&rarrlp;","\u2985":"&lopar;","\u{1D55D}":"&lopf;","\u2A2D":"&loplus;","\u2A34":"&lotimes;","\u2217":"&lowast;","\u25CA":"&lozenge;","(":"&lpar;","\u2993":"&lparlt;","\u296D":"&lrhard;","\u200E":"&lrm;","\u22BF":"&lrtri;","\u2039":"&lsaquo;","\u{1D4C1}":"&lscr;","\u2A8D":"&lsime;","\u2A8F":"&lsimg;","\u201A":"&sbquo;",\u0142:"&lstrok;","\u2AA6":"&ltcc;","\u2A79":"&ltcir;","\u22C9":"&ltimes;","\u2976":"&ltlarr;","\u2A7B":"&ltquest;","\u2996":"&ltrPar;","\u25C3":"&triangleleft;","\u294A":"&lurdshar;","\u2966":"&luruhar;","\u2268\uFE00":"&lvnE;","\u223A":"&mDDot;","\xAF":"&strns;","\u2642":"&male;","\u2720":"&maltese;","\u25AE":"&marker;","\u2A29":"&mcomma;",\u043C:"&mcy;","\u2014":"&mdash;","\u{1D52A}":"&mfr;","\u2127":"&mho;",\u00B5:"&micro;","\u2AF0":"&midcir;","\u2212":"&minus;","\u2A2A":"&minusdu;","\u2ADB":"&mlcp;","\u22A7":"&models;","\u{1D55E}":"&mopf;","\u{1D4C2}":"&mscr;",\u03BC:"&mu;","\u22B8":"&mumap;","\u22D9\u0338":"&nGg;","\u226B\u20D2":"&nGt;","\u21CD":"&nlArr;","\u21CE":"&nhArr;","\u22D8\u0338":"&nLl;","\u226A\u20D2":"&nLt;","\u21CF":"&nrArr;","\u22AF":"&nVDash;","\u22AE":"&nVdash;",\u0144:"&nacute;","\u2220\u20D2":"&nang;","\u2A70\u0338":"&napE;","\u224B\u0338":"&napid;",\u0149:"&napos;","\u266E":"&natural;","\u2A43":"&ncap;",\u0148:"&ncaron;",\u0146:"&ncedil;","\u2A6D\u0338":"&ncongdot;","\u2A42":"&ncup;",\u043D:"&ncy;","\u2013":"&ndash;","\u21D7":"&neArr;","\u2924":"&nearhk;","\u2250\u0338":"&nedot;","\u2928":"&toea;","\u{1D52B}":"&nfr;","\u21AE":"&nleftrightarrow;","\u2AF2":"&nhpar;","\u22FC":"&nis;","\u22FA":"&nisd;",\u045A:"&njcy;","\u2266\u0338":"&nleqq;","\u219A":"&nleftarrow;","\u2025":"&nldr;","\u{1D55F}":"&nopf;","\xAC":"&not;","\u22F9\u0338":"&notinE;","\u22F5\u0338":"&notindot;","\u22F7":"&notinvb;","\u22F6":"&notinvc;","\u22FE":"&notnivb;","\u22FD":"&notnivc;","\u2AFD\u20E5":"&nparsl;","\u2202\u0338":"&npart;","\u2A14":"&npolint;","\u219B":"&nrightarrow;","\u2933\u0338":"&nrarrc;","\u219D\u0338":"&nrarrw;","\u{1D4C3}":"&nscr;","\u2284":"&nsub;","\u2AC5\u0338":"&nsubseteqq;","\u2285":"&nsup;","\u2AC6\u0338":"&nsupseteqq;",\u00F1:"&ntilde;",\u03BD:"&nu;","#":"&num;","\u2116":"&numero;","\u2007":"&numsp;","\u22AD":"&nvDash;","\u2904":"&nvHarr;","\u224D\u20D2":"&nvap;","\u22AC":"&nvdash;","\u2265\u20D2":"&nvge;",">\u20D2":"&nvgt;","\u29DE":"&nvinfin;","\u2902":"&nvlArr;","\u2264\u20D2":"&nvle;","<\u20D2":"&nvlt;","\u22B4\u20D2":"&nvltrie;","\u2903":"&nvrArr;","\u22B5\u20D2":"&nvrtrie;","\u223C\u20D2":"&nvsim;","\u21D6":"&nwArr;","\u2923":"&nwarhk;","\u2927":"&nwnear;",\u00F3:"&oacute;",\u00F4:"&ocirc;",\u043E:"&ocy;",\u0151:"&odblac;","\u2A38":"&odiv;","\u29BC":"&odsold;",\u0153:"&oelig;","\u29BF":"&ofcir;","\u{1D52C}":"&ofr;","\u02DB":"&ogon;",\u00F2:"&ograve;","\u29C1":"&ogt;","\u29B5":"&ohbar;","\u29BE":"&olcir;","\u29BB":"&olcross;","\u29C0":"&olt;",\u014D:"&omacr;",\u03C9:"&omega;",\u03BF:"&omicron;","\u29B6":"&omid;","\u{1D560}":"&oopf;","\u29B7":"&opar;","\u29B9":"&operp;","\u2228":"&vee;","\u2A5D":"&ord;",\u2134:"&oscr;",\u00AA:"&ordf;",\u00BA:"&ordm;","\u22B6":"&origof;","\u2A56":"&oror;","\u2A57":"&orslope;","\u2A5B":"&orv;",\u00F8:"&oslash;","\u2298":"&osol;",\u00F5:"&otilde;","\u2A36":"&otimesas;",\u00F6:"&ouml;","\u233D":"&ovbar;","\xB6":"&para;","\u2AF3":"&parsim;","\u2AFD":"&parsl;",\u043F:"&pcy;","%":"&percnt;",".":"&period;","\u2030":"&permil;","\u2031":"&pertenk;","\u{1D52D}":"&pfr;",\u03C6:"&phi;",\u03D5:"&varphi;","\u260E":"&phone;",\u03C0:"&pi;",\u03D6:"&varpi;",\u210E:"&planckh;","+":"&plus;","\u2A23":"&plusacir;","\u2A22":"&pluscir;","\u2A25":"&plusdu;","\u2A72":"&pluse;","\u2A26":"&plussim;","\u2A27":"&plustwo;","\u2A15":"&pointint;","\u{1D561}":"&popf;","\xA3":"&pound;","\u2AB3":"&prE;","\u2AB7":"&precapprox;","\u2AB9":"&prnap;","\u2AB5":"&prnE;","\u22E8":"&prnsim;","\u2032":"&prime;","\u232E":"&profalar;","\u2312":"&profline;","\u2313":"&profsurf;","\u22B0":"&prurel;","\u{1D4C5}":"&pscr;",\u03C8:"&psi;","\u2008":"&puncsp;","\u{1D52E}":"&qfr;","\u{1D562}":"&qopf;","\u2057":"&qprime;","\u{1D4C6}":"&qscr;","\u2A16":"&quatint;","?":"&quest;","\u291C":"&rAtail;","\u2964":"&rHar;","\u223D\u0331":"&race;",\u0155:"&racute;","\u29B3":"&raemptyv;","\u2992":"&rangd;","\u29A5":"&range;","\xBB":"&raquo;","\u2975":"&rarrap;","\u2920":"&rarrbfs;","\u2933":"&rarrc;","\u291E":"&rarrfs;","\u2945":"&rarrpl;","\u2974":"&rarrsim;","\u21A3":"&rightarrowtail;","\u219D":"&rightsquigarrow;","\u291A":"&ratail;","\u2236":"&ratio;","\u2773":"&rbbrk;","}":"&rcub;","]":"&rsqb;","\u298C":"&rbrke;","\u298E":"&rbrksld;","\u2990":"&rbrkslu;",\u0159:"&rcaron;",\u0157:"&rcedil;",\u0440:"&rcy;","\u2937":"&rdca;","\u2969":"&rdldhar;","\u21B3":"&rdsh;","\u25AD":"&rect;","\u297D":"&rfisht;","\u{1D52F}":"&rfr;","\u296C":"&rharul;",\u03C1:"&rho;",\u03F1:"&varrho;","\u21C9":"&rrarr;","\u22CC":"&rthree;","\u02DA":"&ring;","\u200F":"&rlm;","\u23B1":"&rmoustache;","\u2AEE":"&rnmid;","\u27ED":"&roang;","\u21FE":"&roarr;","\u2986":"&ropar;","\u{1D563}":"&ropf;","\u2A2E":"&roplus;","\u2A35":"&rotimes;",")":"&rpar;","\u2994":"&rpargt;","\u2A12":"&rppolint;","\u203A":"&rsaquo;","\u{1D4C7}":"&rscr;","\u22CA":"&rtimes;","\u25B9":"&triangleright;","\u29CE":"&rtriltri;","\u2968":"&ruluhar;","\u211E":"&rx;",\u015B:"&sacute;","\u2AB4":"&scE;","\u2AB8":"&succapprox;",\u0161:"&scaron;",\u015F:"&scedil;",\u015D:"&scirc;","\u2AB6":"&succneqq;","\u2ABA":"&succnapprox;","\u22E9":"&succnsim;","\u2A13":"&scpolint;",\u0441:"&scy;","\u22C5":"&sdot;","\u2A66":"&sdote;","\u21D8":"&seArr;","\xA7":"&sect;",";":"&semi;","\u2929":"&tosa;","\u2736":"&sext;","\u{1D530}":"&sfr;","\u266F":"&sharp;",\u0449:"&shchcy;",\u0448:"&shcy;","\xAD":"&shy;",\u03C3:"&sigma;",\u03C2:"&varsigma;","\u2A6A":"&simdot;","\u2A9E":"&simg;","\u2AA0":"&simgE;","\u2A9D":"&siml;","\u2A9F":"&simlE;","\u2246":"&simne;","\u2A24":"&simplus;","\u2972":"&simrarr;","\u2A33":"&smashp;","\u29E4":"&smeparsl;","\u2323":"&ssmile;","\u2AAA":"&smt;","\u2AAC":"&smte;","\u2AAC\uFE00":"&smtes;",\u044C:"&softcy;","/":"&sol;","\u29C4":"&solb;","\u233F":"&solbar;","\u{1D564}":"&sopf;","\u2660":"&spadesuit;","\u2293\uFE00":"&sqcaps;","\u2294\uFE00":"&sqcups;","\u{1D4C8}":"&sscr;","\u2606":"&star;","\u2282":"&subset;","\u2AC5":"&subseteqq;","\u2ABD":"&subdot;","\u2AC3":"&subedot;","\u2AC1":"&submult;","\u2ACB":"&subsetneqq;","\u228A":"&subsetneq;","\u2ABF":"&subplus;","\u2979":"&subrarr;","\u2AC7":"&subsim;","\u2AD5":"&subsub;","\u2AD3":"&subsup;","\u266A":"&sung;","\xB9":"&sup1;","\xB2":"&sup2;","\xB3":"&sup3;","\u2AC6":"&supseteqq;","\u2ABE":"&supdot;","\u2AD8":"&supdsub;","\u2AC4":"&supedot;","\u27C9":"&suphsol;","\u2AD7":"&suphsub;","\u297B":"&suplarr;","\u2AC2":"&supmult;","\u2ACC":"&supsetneqq;","\u228B":"&supsetneq;","\u2AC0":"&supplus;","\u2AC8":"&supsim;","\u2AD4":"&supsub;","\u2AD6":"&supsup;","\u21D9":"&swArr;","\u292A":"&swnwar;",\u00DF:"&szlig;","\u2316":"&target;",\u03C4:"&tau;",\u0165:"&tcaron;",\u0163:"&tcedil;",\u0442:"&tcy;","\u2315":"&telrec;","\u{1D531}":"&tfr;",\u03B8:"&theta;",\u03D1:"&vartheta;",\u00FE:"&thorn;","\xD7":"&times;","\u2A31":"&timesbar;","\u2A30":"&timesd;","\u2336":"&topbot;","\u2AF1":"&topcir;","\u{1D565}":"&topf;","\u2ADA":"&topfork;","\u2034":"&tprime;","\u25B5":"&utri;","\u225C":"&trie;","\u25EC":"&tridot;","\u2A3A":"&triminus;","\u2A39":"&triplus;","\u29CD":"&trisb;","\u2A3B":"&tritime;","\u23E2":"&trpezium;","\u{1D4C9}":"&tscr;",\u0446:"&tscy;",\u045B:"&tshcy;",\u0167:"&tstrok;","\u2963":"&uHar;",\u00FA:"&uacute;",\u045E:"&ubrcy;",\u016D:"&ubreve;",\u00FB:"&ucirc;",\u0443:"&ucy;",\u0171:"&udblac;","\u297E":"&ufisht;","\u{1D532}":"&ufr;",\u00F9:"&ugrave;","\u2580":"&uhblk;","\u231C":"&ulcorner;","\u230F":"&ulcrop;","\u25F8":"&ultri;",\u016B:"&umacr;",\u0173:"&uogon;","\u{1D566}":"&uopf;",\u03C5:"&upsilon;","\u21C8":"&uuarr;","\u231D":"&urcorner;","\u230E":"&urcrop;",\u016F:"&uring;","\u25F9":"&urtri;","\u{1D4CA}":"&uscr;","\u22F0":"&utdot;",\u0169:"&utilde;",\u00FC:"&uuml;","\u29A7":"&uwangle;","\u2AE8":"&vBar;","\u2AE9":"&vBarv;","\u299C":"&vangrt;","\u228A\uFE00":"&vsubne;","\u2ACB\uFE00":"&vsubnE;","\u228B\uFE00":"&vsupne;","\u2ACC\uFE00":"&vsupnE;",\u0432:"&vcy;","\u22BB":"&veebar;","\u225A":"&veeeq;","\u22EE":"&vellip;","\u{1D533}":"&vfr;","\u{1D567}":"&vopf;","\u{1D4CB}":"&vscr;","\u299A":"&vzigzag;",\u0175:"&wcirc;","\u2A5F":"&wedbar;","\u2259":"&wedgeq;","\u2118":"&wp;","\u{1D534}":"&wfr;","\u{1D568}":"&wopf;","\u{1D4CC}":"&wscr;","\u{1D535}":"&xfr;",\u03BE:"&xi;","\u22FB":"&xnis;","\u{1D569}":"&xopf;","\u{1D4CD}":"&xscr;",\u00FD:"&yacute;",\u044F:"&yacy;",\u0177:"&ycirc;",\u044B:"&ycy;","\xA5":"&yen;","\u{1D536}":"&yfr;",\u0457:"&yicy;","\u{1D56A}":"&yopf;","\u{1D4CE}":"&yscr;",\u044E:"&yucy;",\u00FF:"&yuml;",\u017A:"&zacute;",\u017E:"&zcaron;",\u0437:"&zcy;",\u017C:"&zdot;",\u03B6:"&zeta;","\u{1D537}":"&zfr;",\u0436:"&zhcy;","\u21DD":"&zigrarr;","\u{1D56B}":"&zopf;","\u{1D4CF}":"&zscr;","\u200D":"&zwj;","\u200C":"&zwnj;"}}};var vi={};Object.defineProperty(vi,"__esModule",{value:!0}),vi.numericUnicodeMap={0:65533,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};var zt={};Object.defineProperty(zt,"__esModule",{value:!0}),zt.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},zt.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536},zt.highSurrogateFrom=55296,zt.highSurrogateTo=56319;var Ut=Oo&&Oo.__assign||function(){return Ut=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ut.apply(this,arguments)};Object.defineProperty(nr,"__esModule",{value:!0});var vn=rr,yd=vi,Xo=zt,Si=Ut(Ut({},vn.namedReferences),{all:vn.namedReferences.html5});function Zo(e,t,n){t.lastIndex=0;var r=t.exec(e),i;if(r){i="";var s=0;do{s!==r.index&&(i+=e.substring(s,r.index));var o=r[0];i+=n(o),s=r.index+o.length}while(r=t.exec(e));s!==e.length&&(i+=e.substring(s))}else i=e;return i}l(Zo,"replaceUsingRegExp");var bd={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},wd={mode:"specialChars",level:"all",numeric:"decimal"};function kd(e,t){var n=t===void 0?wd:t,r=n.mode,i=r===void 0?"specialChars":r,s=n.numeric,o=s===void 0?"decimal":s,a=n.level,u=a===void 0?"all":a;if(!e)return"";var c=bd[i],p=Si[u].characters,f=o==="hexadecimal";return Zo(e,c,function(h){var d=p[h];if(!d){var m=h.length>1?Xo.getCodePoint(h,0):h.charCodeAt(0);d=(f?"&#x"+m.toString(16):"&#"+m)+";"}return d})}l(kd,"encode"),nr.encode=kd;var vd={scope:"body",level:"all"},xi=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,Ai=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,ea={xml:{strict:xi,attribute:Ai,body:vn.bodyRegExps.xml},html4:{strict:xi,attribute:Ai,body:vn.bodyRegExps.html4},html5:{strict:xi,attribute:Ai,body:vn.bodyRegExps.html5}},Sd=Ut(Ut({},ea),{all:ea.html5}),ta=String.fromCharCode,xd=ta(65533),Ad={level:"all"};function na(e,t,n,r){var i=e,s=e[e.length-1];if(n&&s==="=")i=e;else if(r&&s!==";")i=e;else{var o=t[e];if(o)i=o;else if(e[0]==="&"&&e[1]==="#"){var a=e[2],u=a=="x"||a=="X"?parseInt(e.substr(3),16):parseInt(e.substr(2));i=u>=1114111?xd:u>65535?Xo.fromCodePoint(u):ta(yd.numericUnicodeMap[u]||u)}}return i}l(na,"getDecodedEntity");function Cd(e,t){var n=(t===void 0?Ad:t).level,r=n===void 0?"all":n;return e?na(e,Si[r].entities,!1,!1):""}l(Cd,"decodeEntity"),nr.decodeEntity=Cd;function Td(e,t){var n=t===void 0?vd:t,r=n.level,i=r===void 0?"all":r,s=n.scope,o=s===void 0?i==="xml"?"strict":"body":s;if(!e)return"";var a=Sd[i][o],u=Si[i].entities,c=o==="attribute",p=o==="strict";return Zo(e,a,function(f){return na(f,u,c,p)})}l(Td,"decode$1");var ra=nr.decode=Td;/**
16
+ * @name ranges-sort
17
+ * @fileoverview Sort string index ranges
18
+ * @version 6.0.11
19
+ * @author Roy Revelt, Codsen Ltd
20
+ * @license MIT
21
+ * {@link https://codsen.com/os/ranges-sort/}
22
+ */var Nd={strictlyTwoElementsInRangeArrays:!1,progressFn:null};function ir(e,t){if(!Array.isArray(e)||!e.length)return e;let n={...Nd,...t},r,i;if(n.strictlyTwoElementsInRangeArrays&&!e.every((a,u)=>!Array.isArray(a)||a.length!==2?(r=u,i=a.length,!1):!0))throw new TypeError(`ranges-sort: [THROW_ID_03] The first argument should be an array and must consist of arrays which are natural number indexes representing TWO string index ranges. However, ${r}th range (${JSON.stringify(e[r],null,4)}) has not two but ${i} elements!`);if(!e.every((a,u)=>!Array.isArray(a)||!Number.isInteger(a[0])||a[0]<0||!Number.isInteger(a[1])||a[1]<0?(r=u,!1):!0))throw new TypeError(`ranges-sort: [THROW_ID_04] The first argument should be an array and must consist of arrays which are natural number indexes representing string index ranges. However, ${r}th range (${JSON.stringify(e[r],null,4)}) does not consist of only natural numbers!`);let s=e.length**2,o=0;return Array.from(e).sort((a,u)=>(n.progressFn&&(o+=1,n.progressFn(Math.floor(o*100/s))),a[0]===u[0]?a[1]<u[1]?-1:a[1]>u[1]?1:0:a[0]<u[0]?-1:1))}l(ir,"g$1");/**
23
+ * @name ranges-merge
24
+ * @fileoverview Merge and sort string index ranges
25
+ * @version 9.0.15
26
+ * @author Roy Revelt, Codsen Ltd
27
+ * @license MIT
28
+ * {@link https://codsen.com/os/ranges-merge/}
29
+ */var ia={mergeType:1,progressFn:null,joinRangesThatTouchEdges:!0};function Ed(e,t){function n(c){return!!c&&typeof c=="object"&&!Array.isArray(c)}if(l(n,"l"),!Array.isArray(e)||!e.length)return null;let r;if(t)if(n(t)){if(r={...ia,...t},r.progressFn&&n(r.progressFn)&&!Object.keys(r.progressFn).length)r.progressFn=null;else if(r.progressFn&&typeof r.progressFn!="function")throw new Error(`ranges-merge: [THROW_ID_01] opts.progressFn must be a function! It was given of a type: "${typeof r.progressFn}", equal to ${JSON.stringify(r.progressFn,null,4)}`);if(![1,2,"1","2"].includes(r.mergeType))throw new Error(`ranges-merge: [THROW_ID_02] opts.mergeType was customised to a wrong thing! It was given of a type: "${typeof r.mergeType}", equal to ${JSON.stringify(r.mergeType,null,4)}`);if(typeof r.joinRangesThatTouchEdges!="boolean")throw new Error(`ranges-merge: [THROW_ID_04] opts.joinRangesThatTouchEdges was customised to a wrong thing! It was given of a type: "${typeof r.joinRangesThatTouchEdges}", equal to ${JSON.stringify(r.joinRangesThatTouchEdges,null,4)}`)}else throw new Error(`emlint: [THROW_ID_03] the second input argument must be a plain object. It was given as:
30
+ ${JSON.stringify(t,null,4)} (type ${typeof t})`);else r={...ia};let i=e.filter(c=>Array.isArray(c)).map(c=>[...c]).filter(c=>c[2]!==void 0||c[0]!==c[1]),s,o,a;r.progressFn?s=ir(i,{progressFn:c=>{a=Math.floor(c/5),a!==o&&(o=a,r.progressFn(a))}}):s=ir(i);let u=s.length-1;for(let c=u;c>0;c--)r.progressFn&&(a=Math.floor((1-c/u)*78)+21,a!==o&&a>o&&(o=a,r.progressFn(a))),(s[c][0]<=s[c-1][0]||!r.joinRangesThatTouchEdges&&s[c][0]<s[c-1][1]||r.joinRangesThatTouchEdges&&s[c][0]<=s[c-1][1])&&(s[c-1][0]=Math.min(s[c][0],s[c-1][0]),s[c-1][1]=Math.max(s[c][1],s[c-1][1]),s[c][2]!==void 0&&(s[c-1][0]>=s[c][0]||s[c-1][1]<=s[c][1])&&s[c-1][2]!==null&&(s[c][2]===null&&s[c-1][2]!==null?s[c-1][2]=null:s[c-1][2]!=null?+r.mergeType==2&&s[c-1][0]===s[c][0]?s[c-1][2]=s[c][2]:s[c-1][2]+=s[c][2]:s[c-1][2]=s[c][2]),s.splice(c,1),c=s.length);return s.length?s:null}l(Ed,"b$1");var _d=process.env.NODE_ENV==="production",sa="Invariant failed";function Od(e,t){if(!e){if(_d)throw new Error(sa);var n=sa;throw new Error(n)}}l(Od,"invariant");/**
31
+ * @name ranges-apply
32
+ * @fileoverview Take an array of string index ranges, delete/replace the string according to them
33
+ * @version 7.0.16
34
+ * @author Roy Revelt, Codsen Ltd
35
+ * @license MIT
36
+ * {@link https://codsen.com/os/ranges-apply/}
37
+ */function Ld(e,t,n){if(arguments.length===0)throw new Error("ranges-apply: [THROW_ID_01] inputs missing!");if(typeof e!="string")throw new TypeError(`ranges-apply: [THROW_ID_02] first input argument must be a string! Currently it's: ${typeof e}, equal to: ${JSON.stringify(e,null,4)}`);if(t&&!Array.isArray(t))throw new TypeError(`ranges-apply: [THROW_ID_03] second input argument must be an array (or null)! Currently it's: ${typeof t}, equal to: ${JSON.stringify(t,null,4)}`);if(!t?.filter(o=>o).length)return e;let r;Array.isArray(t)&&Number.isInteger(t[0])&&Number.isInteger(t[1])?r=[Array.from(t)]:r=Array.from(t),r.length,r.filter(o=>o).forEach((o,a)=>{if(!Array.isArray(o))throw new TypeError(`ranges-apply: [THROW_ID_05] ranges array, second input arg., has ${a}th element not an array: ${JSON.stringify(o,null,4)}, which is ${typeof o}`);if(!Number.isInteger(o[0])){if(!Number.isInteger(+o[0])||+o[0]<0)throw new TypeError(`ranges-apply: [THROW_ID_06] ranges array, second input arg. has ${a}th element, array ${JSON.stringify(o,null,0)}. Its first element is not an integer, string index, but ${typeof o[0]}, equal to: ${JSON.stringify(o[0],null,4)}.`);r[a][0]=+r[a][0]}if(!Number.isInteger(o[1])){if(!Number.isInteger(+o[1])||+o[1]<0)throw new TypeError(`ranges-apply: [THROW_ID_07] ranges array, second input arg. has ${a}th element, array ${JSON.stringify(o,null,0)}. Its second element is not an integer, string index, but ${typeof o[1]}, equal to: ${JSON.stringify(o[1],null,4)}.`);r[a][1]=+r[a][1]}});let i=Ed(r,{progressFn:o=>{}});Od(i);let s=i.length;if(s>0){let o=e.slice(i[s-1][1]);e=i.reduce((a,u,c,p)=>{let f=c===0?0:p[c-1][1],h=p[c][0];return`${a}${e.slice(f,h)}${p[c][2]||""}`},""),e+=o}return e}l(Ld,"_");/**
38
+ * @name string-collapse-leading-whitespace
39
+ * @fileoverview Collapse the leading and trailing whitespace of a string
40
+ * @version 7.0.7
41
+ * @author Roy Revelt, Codsen Ltd
42
+ * @license MIT
43
+ * {@link https://codsen.com/os/string-collapse-leading-whitespace/}
44
+ */function Ci(e,t=1){let n="\xA0";function r(s){return Array.from(s).reverse().join("")}l(r,"g");function i(s,o,a){let u=a?`
45
+ `:"\r",c=a?"\r":`
46
+ `;if(!s)return s;let p=0,f="";for(let h=0,d=s.length;h<d;h++)(s[h]===u||s[h]===c&&s[h-1]!==u)&&p++,`\r
47
+ `.includes(s[h])||s[h]===n?s[h]===n?f+=s[h]:s[h]===u?p<=o&&(f+=s[h],s[h+1]===c&&(f+=s[h+1],h++)):s[h]===c&&s?.[h-1]!==u&&p<=o&&(f+=s[h]):!s[h+1]&&!p&&(f+=" ");return f}if(l(i,"p"),typeof e=="string"&&e.length){let s=1;typeof+t=="number"&&Number.isInteger(+t)&&+t>=0&&(s=+t);let o="",a="";if(!e.trim())o=e;else if(!e[0].trim()){for(let u=0,c=e.length;u<c;u++)if(e[u].trim()){o=e.slice(0,u);break}}if(e.trim()&&(e.slice(-1).trim()===""||e.slice(-1)===n)){for(let u=e.length;u--;)if(e[u].trim()){a=e.slice(u+1);break}}return`${i(o,s,!1)}${e.trim()}${r(i(r(a),s,!0))}`}return e}l(Ci,"D$1");/**
48
+ * @name ranges-push
49
+ * @fileoverview Gather string index ranges
50
+ * @version 7.0.15
51
+ * @author Roy Revelt, Codsen Ltd
52
+ * @license MIT
53
+ * {@link https://codsen.com/os/ranges-push/}
54
+ */var oa={mergeType:1,progressFn:null,joinRangesThatTouchEdges:!0};function Id(e,t){function n(c){return!!c&&typeof c=="object"&&!Array.isArray(c)}if(l(n,"r"),!Array.isArray(e)||!e.length)return null;let r;if(t)if(n(t)){if(r={...oa,...t},r.progressFn&&n(r.progressFn)&&!Object.keys(r.progressFn).length)r.progressFn=null;else if(r.progressFn&&typeof r.progressFn!="function")throw new Error(`ranges-merge: [THROW_ID_01] resolvedOpts.progressFn must be a function! It was given of a type: "${typeof r.progressFn}", equal to ${JSON.stringify(r.progressFn,null,4)}`);if(![1,2,"1","2"].includes(r.mergeType))throw new Error(`ranges-merge: [THROW_ID_02] resolvedOpts.mergeType was customised to a wrong thing! It was given of a type: "${typeof r.mergeType}", equal to ${JSON.stringify(r.mergeType,null,4)}`);if(typeof r.joinRangesThatTouchEdges!="boolean")throw new Error(`ranges-merge: [THROW_ID_04] resolvedOpts.joinRangesThatTouchEdges was customised to a wrong thing! It was given of a type: "${typeof r.joinRangesThatTouchEdges}", equal to ${JSON.stringify(r.joinRangesThatTouchEdges,null,4)}`)}else throw new Error(`emlint: [THROW_ID_03] the second input argument must be a plain object. It was given as:
55
+ ${JSON.stringify(t,null,4)} (type ${typeof t})`);else r={...oa};let i=e.filter(c=>Array.isArray(c)).map(c=>[...c]).filter(c=>c[2]!==void 0||c[0]!==c[1]),s,o,a;r.progressFn?s=ir(i,{progressFn:c=>{a=Math.floor(c/5),a!==o&&(o=a,r.progressFn(a))}}):s=ir(i);let u=s.length-1;for(let c=u;c>0;c--)r.progressFn&&(a=Math.floor((1-c/u)*78)+21,a!==o&&a>o&&(o=a,r.progressFn(a))),(s[c][0]<=s[c-1][0]||!r.joinRangesThatTouchEdges&&s[c][0]<s[c-1][1]||r.joinRangesThatTouchEdges&&s[c][0]<=s[c-1][1])&&(s[c-1][0]=Math.min(s[c][0],s[c-1][0]),s[c-1][1]=Math.max(s[c][1],s[c-1][1]),s[c][2]!==void 0&&(s[c-1][0]>=s[c][0]||s[c-1][1]<=s[c][1])&&s[c-1][2]!==null&&(s[c][2]===null&&s[c-1][2]!==null?s[c-1][2]=null:s[c-1][2]!=null?+r.mergeType==2&&s[c-1][0]===s[c][0]?s[c-1][2]=s[c][2]:s[c-1][2]+=s[c][2]:s[c-1][2]=s[c][2]),s.splice(c,1),c=s.length);return s.length?s:null}l(Id,"$");var Dd={limitToBeAddedWhitespace:!1,limitLinebreaksCount:1,mergeType:1},Rd=class{static{l(this,"y")}constructor(e){let t={...Dd,...e};if(t.mergeType&&t.mergeType!==1&&t.mergeType!==2)if(Mt(t.mergeType)&&t.mergeType.trim()==="1")t.mergeType=1;else if(Mt(t.mergeType)&&t.mergeType.trim()==="2")t.mergeType=2;else throw new Error(`ranges-push: [THROW_ID_02] opts.mergeType was customised to a wrong thing! It was given of a type: "${typeof t.mergeType}", equal to ${JSON.stringify(t.mergeType,null,4)}`);this.opts=t,this.ranges=[]}ranges;opts;add(e,t,n){if(e==null&&t==null)return;if(ft(e)&&!ft(t)){if(Array.isArray(e)){if(e.length){if(e.some(s=>Array.isArray(s))){e.forEach(s=>{Array.isArray(s)&&this.add(...s)});return}e.length&&ct(+e[0])&&ct(+e[1])&&this.add(...e)}return}throw new TypeError(`ranges-push/Ranges/add(): [THROW_ID_12] the first input argument, "from" is set (${JSON.stringify(e,null,0)}) but second-one, "to" is not (${JSON.stringify(t,null,0)})`)}else if(!ft(e)&&ft(t))throw new TypeError(`ranges-push/Ranges/add(): [THROW_ID_13] the second input argument, "to" is set (${JSON.stringify(t,null,0)}) but first-one, "from" is not (${JSON.stringify(e,null,0)})`);let r=+e,i=+t;if(ct(n)&&(n=String(n)),ct(r)&&ct(i)){if(ft(n)&&!Mt(n)&&!ct(n))throw new TypeError(`ranges-push/Ranges/add(): [THROW_ID_08] The third argument, the value to add, was given not as string but ${typeof n}, equal to:
56
+ ${JSON.stringify(n,null,4)}`);if(ft(this.ranges)&&Array.isArray(this.last())&&r===this.last()[1]){if(this.last()[1]=i,this.last()[2],this.last()[2]!==null&&ft(n)){let s=this.last()[2]&&this.last()[2].length&&(!this.opts?.mergeType||this.opts.mergeType===1)?`${this.last()[2]}${n}`:n;this.opts.limitToBeAddedWhitespace&&(s=Ci(s,this.opts.limitLinebreaksCount)),Mt(s)&&!s.length||(this.last()[2]=s)}}else{this.ranges||(this.ranges=[]);let s=n!==void 0&&!(Mt(n)&&!n.length)?[r,i,n&&this.opts.limitToBeAddedWhitespace?Ci(n,this.opts.limitLinebreaksCount):n]:[r,i];this.ranges.push(s)}}else throw ct(r)&&r>=0?new TypeError(`ranges-push/Ranges/add(): [THROW_ID_10] "to" value, the second input argument, must be a natural number or zero! Currently it's of a type "${typeof i}" equal to: ${JSON.stringify(i,null,4)}`):new TypeError(`ranges-push/Ranges/add(): [THROW_ID_09] "from" value, the first input argument, must be a natural number or zero! Currently it's of a type "${typeof r}" equal to: ${JSON.stringify(r,null,4)}`)}push(e,t,n){this.add(e,t,n)}current(){return Array.isArray(this.ranges)&&this.ranges.length?(this.ranges=Id(this.ranges,{mergeType:this.opts.mergeType}),this.ranges&&this.opts.limitToBeAddedWhitespace?this.ranges.map(e=>ft(e[2])?[e[0],e[1],Ci(e[2],this.opts.limitLinebreaksCount)]:e):this.ranges):null}wipe(){this.ranges=[]}replace(e){if(Array.isArray(e)&&e.length)if(Array.isArray(e[0])&&ct(e[0][0]))this.ranges=Array.from(e);else throw new Error(`ranges-push/Ranges/replace(): [THROW_ID_11] Single range was given but we expected array of arrays! The first element, ${JSON.stringify(e[0],null,4)} should be an array and its first element should be an integer, a string index.`);else this.ranges=[]}last(){return Array.isArray(this.ranges)&&this.ranges.length?this.ranges[this.ranges.length-1]:null}};/**
57
+ * @name string-left-right
58
+ * @fileoverview Looks up the first non-whitespace character to the left/right of a given index
59
+ * @version 6.0.17
60
+ * @author Roy Revelt, Codsen Ltd
61
+ * @license MIT
62
+ * {@link https://codsen.com/os/string-left-right/}
63
+ */Lo();var Ti="\xA0";function Pd({str:e,idx:t=0,stopAtNewlines:n=!1,stopAtRawNbsp:r=!1}){if(typeof e!="string"||!e.length||((!t||typeof t!="number")&&(t=0),!e[t+1]))return null;if(e[t+1]&&(e[t+1].trim()||n&&`
64
+ \r`.includes(e[t+1])||r&&e[t+1]===Ti))return t+1;if(e[t+2]&&(e[t+2].trim()||n&&`
65
+ \r`.includes(e[t+2])||r&&e[t+2]===Ti))return t+2;for(let i=t+1,s=e.length;i<s;i++)if(e[i].trim()||n&&`
66
+ \r`.includes(e[i])||r&&e[i]===Ti)return i;return null}l(Pd,"D");function Ye(e,t=0){return Pd({str:e,idx:t,stopAtNewlines:!1,stopAtRawNbsp:!1})}l(Ye,"E");/**
67
+ * @name string-strip-html
68
+ * @fileoverview Strip HTML tags from strings. No parser, accepts mixed sources.
69
+ * @version 13.4.8
70
+ * @author Roy Revelt, Codsen Ltd
71
+ * @license MIT
72
+ * {@link https://codsen.com/os/string-strip-html/}
73
+ */function qd(e){return/[-_A-Za-z0-9]/.test(e)}l(qd,"ee");function aa(e,t){if(!e)return[];if(Array.isArray(e))return e.filter(n=>typeof n=="string"&&n.trim());if(typeof e=="string")return e.trim()?[e]:[];throw new TypeError(`string-strip-html/stripHtml(): [THROW_ID_05] ${t} must be array containing zero or more strings or something falsey. Currently it's equal to: ${e}, that a type of ${typeof e}.`)}l(aa,"G");function sr(e,t,n,r){for(let i=t,s=e.length;i<s;i++){if(e.startsWith(n,i))return!0;if(e.startsWith(r,i))return!1}return!1}l(sr,"j");function la(e,t,n){return e?.quotes,e?.quotes?.value&&sr(t,n+1,e.quotes.value,">"),e?.quotes?.next,sr(t,e?.quotes?.next-1,e?.quotes?.value,">"),!e?.quotes||!sr(t,n+1,e.quotes.value,">")&&e?.quotes?.next!==-1&&sr(t,e?.quotes?.next-1,e?.quotes?.value,">")}l(la,"Y");function Fd(e,t){return(t.match(new RegExp(e,"g"))||[]).length}l(Fd,"ne");var Sn=new Set(["!doctype","abbr","address","area","article","aside","audio","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","doctype","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","param","picture","pre","progress","rb","rp","rt","rtc","ruby","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","ul","var","video","wbr","xml"]),Ni=new Set(["a","b","i","p","q","s","u"]),Ei=new Set([".",",",";","!","?"]),ua=new Set([".",",","?",";",")","\u2026",'"',"\xBB"]),Md=new Set(["a","abbr","acronym","audio","b","bdi","bdo","big","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","input","ins","kbd","label","map","mark","meter","noscript","object","output","picture","progress","q","ruby","s","samp","select","slot","small","span","strong","sub","sup","svg","template","textarea","time","u","tt","var","video","wbr"]),ca={ignoreTags:[],ignoreTagsWithTheirContents:[],onlyStripTags:[],stripTogetherWithTheirContents:["script","style","xml"],skipHtmlDecoding:!1,trimOnlySpaces:!1,stripRecognisedHTMLOnly:!1,dumpLinkHrefsNearby:{enabled:!1,putOnNewLine:!1,wrapHeads:"",wrapTails:""},ignoreIndentations:!1,cb:null,reportProgressFunc:null,reportProgressFuncFrom:0,reportProgressFuncTo:100};function fa(e,t){let n=Date.now(),r=[],i=[],s=[],o=[],a={};function u(){a={attributes:[]}}l(u,"re"),u();let c=null,p=null,f=null,h=!1,d={},m={tagName:"",hrefValue:"",openingTagEnds:void 0},g="",y=!1,w=null,b=!0;function S(k,O,v){if(Array.isArray(O.stripTogetherWithTheirContents)&&(O.stripTogetherWithTheirContents.includes(a.name)||O.stripTogetherWithTheirContents.includes("*")))if(a.slashPresent&&Array.isArray(r)&&r.some(F=>F.name===a.name)){for(let F=r.length;F--;)if(r[F].name===a.name){o=o.filter(([j,ne])=>(j<r[F].lastOpeningBracketAt||j>=k+1)&&(ne<=r[F].lastOpeningBracketAt||ne>k+1));let K=k+1;a.lastClosingBracketAt&&(K=a.lastClosingBracketAt+1),o.push([r[F].lastOpeningBracketAt,K]),ua.has(e[k])&&O.cb?O.cb({tag:a,deleteFrom:r[F].lastOpeningBracketAt,deleteTo:k+1,insert:null,rangesArr:v,proposedReturn:[r[F].lastOpeningBracketAt,k,null]}):O.cb&&O.cb({tag:a,deleteFrom:r[F].lastOpeningBracketAt,deleteTo:k,insert:"",rangesArr:v,proposedReturn:[r[F].lastOpeningBracketAt,k,""]}),r.splice(F,1);break}}else a.slashPresent||r.push(a);else Array.isArray(O.ignoreTagsWithTheirContents)&&$(k,O,a)&&(b=!1)}l(S,"v$1");function T(k,O,v,F,K,j){if(Array.isArray(M.current())&&typeof v=="number"&&M.current()[0][0]===0&&M.current()[0][1]>=v)return"";if(e.length===F&&j&&!x?.dumpLinkHrefsNearby?.enabled)return null;let ne="";if(Number.isInteger(v)&&v<K&&(ne+=k.slice(v,K)),Number.isInteger(F)&&F>j+1){let je=k.slice(j+1,F);F&&!Ye(e,F-1)&&(je=je.trimEnd()),je.includes(`
74
+ `)&&A(F,k)?ne+=" ":ne+=je}let ve=!ua.has(k[O]),tt=k[F-1]!==">"||!k[v].trim(),nt=!['"',"("].includes(k[K-1]),Rt=![";",".",":","!"].includes(k[O]);if((ve||tt&&nt&&Rt)&&(tt||nt)&&k[O]!=="!"&&(!Md.has(a.name)||typeof v=="number"&&v<K||typeof F=="number"&&F>j+1)){let je=ne.match(/\n/g);return Array.isArray(je)&&je.length?je.length===1?`
75
+ `:je.length===2?`
76
+
77
+ `:`
78
+
79
+
80
+ `:" "}return""}l(T,"L");function N(k,O){if(k.dumpLinkHrefsNearby?.enabled&&m.tagName&&m.tagName===a.name&&a.lastOpeningBracketAt&&(m.openingTagEnds&&a.lastOpeningBracketAt>m.openingTagEnds||!m.openingTagEnds)&&(y=!0),y){let v=k.dumpLinkHrefsNearby?.putOnNewLine?`
81
+
82
+ `:"";g=`${v}${m.hrefValue}`,(typeof O!="number"||Ye(e,O-1))&&(g+=v)}}l(N,"U");function A(k,O){return O?O[k]==="<"&&O[k+1]!=="%":e[k]==="<"&&e[k+1]!=="%"}l(A,"S");function E(k){return e[k]===">"&&e[k-1]!=="%"}l(E,"A");function $(k,O,v){if(O.ignoreTagsWithTheirContents.includes("*"))return!0;let F=e.indexOf(`<${v.name}`,k),K=e.indexOf(`</${v.name}`,k);return!v.slashPresent&&K===-1||v.slashPresent&&!i.some(j=>j.name===v.name)||K>-1&&F>-1&&F<K?!1:O.ignoreTagsWithTheirContents.includes(v.name)}if(l($,"M"),typeof e!="string")throw new TypeError(`string-strip-html/stripHtml(): [THROW_ID_01] Input must be string! Currently it's: ${(typeof e).toLowerCase()}, equal to:
83
+ ${JSON.stringify(e,null,4)}`);if(t)if(hi(t)){if(t.reportProgressFunc&&typeof t.reportProgressFunc!="function")throw new Error(`string-strip-html/stripHtml(): [THROW_ID_03] The Optional Options Object's key reportProgressFunc, callback function, should be a function but it was given as type ${typeof t.reportProgressFunc}, equal to ${JSON.stringify(t.reportProgressFunc,null,4)}`);if(typeof t.dumpLinkHrefsNearby=="boolean"&&t.dumpLinkHrefsNearby!=null)throw new Error(`string-strip-html/stripHtml(): [THROW_ID_04] The Optional Options Object's key should be a plain object but it was given as type ${typeof t.dumpLinkHrefsNearby}, equal to ${JSON.stringify(t.dumpLinkHrefsNearby,null,4)}`)}else throw new TypeError(`string-strip-html/stripHtml(): [THROW_ID_02] Optional Options Object must be a plain object! Currently it's: ${(typeof t).toLowerCase()}, equal to:
84
+ ${JSON.stringify(t,null,4)}`);function q(){y&&(m={tagName:"",hrefValue:"",openingTagEnds:void 0},y=!1)}l(q,"_$1");let x={...ca,...t,dumpLinkHrefsNearby:Object.assign({},ca.dumpLinkHrefsNearby,t?.dumpLinkHrefsNearby)};if(up(x,"returnRangesOnly"))throw new TypeError("string-strip-html/stripHtml(): [THROW_ID_05] The Optional Options Object's key returnRangesOnly has been removed from the API since v.5 release.");if(x.reportProgressFunc){if(typeof x.reportProgressFuncFrom!="number")throw new Error(`string-strip-html/stripHtml(): [THROW_ID_06] The Optional Options Object's key reportProgressFuncFrom, callback function's "from" range, should be a number but it was given as type ${typeof x.reportProgressFuncFrom}, equal to ${JSON.stringify(x.reportProgressFuncFrom,null,4)}`);if(typeof x.reportProgressFuncTo!="number")throw new Error(`string-strip-html/stripHtml(): [THROW_ID_07] The Optional Options Object's key reportProgressFuncTo, callback function's "to" range, should be a number but it was given as type ${typeof x.reportProgressFuncTo}, equal to ${JSON.stringify(x.reportProgressFuncTo,null,4)}`)}x.ignoreTags=aa(x.ignoreTags,"resolvedOpts.ignoreTags"),x.onlyStripTags=aa(x.onlyStripTags,"resolvedOpts.onlyStripTags");let R=!!x.onlyStripTags.length;x.onlyStripTags.length&&x.ignoreTags.length&&(x.onlyStripTags=gd(x.onlyStripTags,...x.ignoreTags)),x.stripTogetherWithTheirContents?typeof x.stripTogetherWithTheirContents=="string"&&x.stripTogetherWithTheirContents.length&&(x.stripTogetherWithTheirContents=[x.stripTogetherWithTheirContents]):x.stripTogetherWithTheirContents=[];let D={};if(x.stripTogetherWithTheirContents&&Array.isArray(x.stripTogetherWithTheirContents)&&x.stripTogetherWithTheirContents.length&&!x.stripTogetherWithTheirContents.every((k,O)=>typeof k!="string"?(D.el=k,D.i=O,!1):!0))throw new TypeError(`string-strip-html/stripHtml(): [THROW_ID_08] Optional Options Object's key stripTogetherWithTheirContents was set to contain not just string elements! For example, element at index ${D.i} has a value ${D.el} which is not string but ${(typeof D.el).toLowerCase()}.`);x.cb||(x.cb=({rangesArr:k,proposedReturn:O})=>{O&&k.push(...O)});let M=new Rd({limitToBeAddedWhitespace:!0,limitLinebreaksCount:2});if(!x.skipHtmlDecoding)for(;e!==ra(e,{scope:"strict"});)e=ra(e,{scope:"strict"});let Q=!1,U=!1,oe=0,ue=0,se=e.length,Be=Math.floor(se/2);for(let k=0;k<se;k++){if(x.reportProgressFunc&&(se>1e3&&se<2e3?k===Be&&x.reportProgressFunc(Math.floor((x.reportProgressFuncTo-x.reportProgressFuncFrom)/2)):se>=2e3&&(oe=x.reportProgressFuncFrom+Math.floor(k/se*(x.reportProgressFuncTo-x.reportProgressFuncFrom)),oe!==ue&&(ue=oe,x.reportProgressFunc(oe)))),Object.keys(a).length>1&&a.lastClosingBracketAt&&a.lastClosingBracketAt<k&&e[k]!==" "&&w===null&&(w=k),!Q&&e[k]==="%"&&e[k-1]==="{"&&e.includes("%}",k+1)){f=null;let O=e.indexOf("%}",k)-1;if(O>k){k=O;continue}}if(!Q&&E(k)&&(!a||Object.keys(a).length<2)&&k>1){for(let O=k;O--;)if(e[O-1]===void 0||E(O)){let v=e[O-1]===void 0?O:O+1,F=e.slice(v,k+1)||"";if((F.includes("/>")||F.includes("/ >")||F.includes('="')||F.includes("='"))&&e!==`<${Qo(F.trim(),"/>")}>`&&[...Sn].some(K=>Qo(F.trim().split(/\s+/).filter(j=>j.trim()).filter((j,ne)=>ne===0),"/>").toLowerCase()===K)&&fa(`<${F.trim()}>`,x).result===""){(!s.length||s[s.length-1][0]!==a.lastOpeningBracketAt)&&s.push([v,k+1]),(!o.length||o[o.length-1][0]!==a.lastOpeningBracketAt)&&o.push([v,k+1]);let K=T(e,k,v,k+1,v,k+1),j=k+1;if(e[j]&&!e[j].trim()){for(let ne=j;ne<se;ne++)if(e[ne].trim()){j=ne;break}}x.cb({tag:a,deleteFrom:v,deleteTo:j,insert:K,rangesArr:M,proposedReturn:[v,j,K]})}break}}if(!U&&e[k]==="/"&&!a.quotes?.value&&Number.isInteger(a.lastOpeningBracketAt)&&!Number.isInteger(a.lastClosingBracketAt)&&(a.slashPresent=k),e[k]==='"'||e[k]==="'")if(!U&&a.nameStarts&&a?.quotes?.value===e[k])if(d.valueStarts===void 0)d={},delete a.quotes;else{d.valueEnds=k,d.value=e.slice(d.valueStarts,k),a.attributes.push(d),d={},delete a.quotes;let O;x.dumpLinkHrefsNearby?.enabled&&!r.length&&a.attributes.some(v=>{if(typeof v.name=="string"&&v.name.toLowerCase()==="href")return O=`${x.dumpLinkHrefsNearby?.wrapHeads||""}${v.value}${x.dumpLinkHrefsNearby?.wrapTails||""}`,!0})&&(m={tagName:a.name,hrefValue:O,openingTagEnds:void 0})}else!U&&!a.quotes&&a.nameStarts&&(a.quotes={},a.quotes.value=e[k],a.quotes.start=k,a.quotes.next=e.indexOf(e[k],k+1),d.nameStarts&&d.nameEnds&&d.nameEnds<k&&d.nameStarts<k&&!d.valueStarts&&(d.name=e.slice(d.nameStarts,d.nameEnds)));if(a.nameStarts!==void 0&&a.nameEnds===void 0&&(!e[k].trim()||!qd(e[k]))){if(a.nameEnds=k,a.name=e.slice(a.nameStarts,a.nameEnds+(!E(k)&&e[k]!=="/"&&e[k+1]===void 0?1:0)),e[a.nameStarts-1]!=="!"&&!a.name.replace(/-/g,"").length||/^\d+$/.test(a.name[0])){a={};continue}if(typeof a.name=="string"&&a.name.toLowerCase()==="doctype"&&(U=!0),A(k)){N(x);let O=T(e,k,a.leftOuterWhitespace,k,a.lastOpeningBracketAt,k);(x.stripTogetherWithTheirContents.includes(a.name)||x.stripTogetherWithTheirContents.includes("*"))&&(o=o.filter(([v,F])=>!(v===a.leftOuterWhitespace&&F===k))),x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k,insert:`${O}${g}${O}`,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,k,`${O}${g}${O}`]}),q(),S(k,x,M)}}if(a.quotes?.start&&a.quotes.start<k&&!a.quotes.end&&d.nameEnds&&d.equalsAt&&!d.valueStarts&&(d.valueStarts=k),!a.quotes&&d.nameEnds&&e[k]==="="&&!d.valueStarts&&!d.equalsAt&&(d.equalsAt=k),!a.quotes&&d.nameStarts&&d.nameEnds&&!d.valueStarts&&e[k].trim()&&e[k]!=="="&&(a.attributes.push(d),d={}),!a.quotes&&d.nameStarts&&!d.nameEnds&&(U&&`'"`.includes(e[d.nameStarts])?d.nameStarts<k&&e[k]===e[d.nameStarts]&&(d.nameEnds=k+1,d.name=e.slice(d.nameStarts,d.nameEnds)):e[k].trim()?e[k]==="="?d.equalsAt||(d.nameEnds=k,d.equalsAt=k,d.name=e.slice(d.nameStarts,d.nameEnds)):e[k]==="/"||E(k)?(d.nameEnds=k,d.name=e.slice(d.nameStarts,d.nameEnds),a.attributes.push(d),d={}):A(k)&&(d.nameEnds=k,d.name=e.slice(d.nameStarts,d.nameEnds),a.attributes.push(d),d={}):(d.nameEnds=k,d.name=e.slice(d.nameStarts,d.nameEnds))),!a.quotes&&a.nameEnds<k&&!e[k-1].trim()&&e[k].trim()&&!"<>/!".includes(e[k])&&!d.nameStarts&&!a.lastClosingBracketAt&&(d.nameStarts=k),a.lastOpeningBracketAt!==null&&a.lastOpeningBracketAt<k&&e[k]==="/"&&a.onlyPlausible&&(a.onlyPlausible=!1),a.lastOpeningBracketAt!==null&&a.lastOpeningBracketAt<k&&e[k]!=="/"&&(a.onlyPlausible===void 0&&((!e[k].trim()||A(k))&&!a.slashPresent?a.onlyPlausible=!0:a.onlyPlausible=!1),e[k].trim()&&a.nameStarts===void 0&&!A(k)&&e[k]!=="/"&&!E(k)&&e[k]!=="!"&&(a.nameStarts=k,a.nameContainsLetters=!1)),a.nameStarts&&!a.quotes&&typeof e[k]=="string"&&e[k].toLowerCase()!==e[k].toUpperCase()&&(a.nameContainsLetters=!0),E(k)&&(la(a,e,k)||a.quotes.value&&typeof a.lastOpeningBracketAt=="number"&&Fd(a.quotes.value,e.slice(a.lastOpeningBracketAt,k))%2===1&&!e.slice(a.lastOpeningBracketAt+1,k).includes("<")&&!e.slice(a.lastOpeningBracketAt+1,k).includes(">"))&&a.lastOpeningBracketAt!==void 0&&(a.lastClosingBracketAt=k,w=null,Object.keys(d).length&&(a.attributes.push(d),d={}),x.dumpLinkHrefsNearby?.enabled&&m.tagName&&!m.openingTagEnds&&(m.openingTagEnds=k)),(!U||e[k]===">")&&a.lastOpeningBracketAt!==void 0){if(a.lastClosingBracketAt===void 0){if(a.lastOpeningBracketAt<k&&!A(k)&&(e[k+1]===void 0||A(k+1)&&!a?.quotes?.value)&&a.nameContainsLetters&&typeof a.nameStarts=="number"){if(a.name=e.slice(a.nameStarts,a.nameEnds||k+1).toLowerCase(),(!s.length||s[s.length-1][0]!==a.lastOpeningBracketAt)&&s.push([a.lastOpeningBracketAt,k+1]),x.ignoreTags.includes(a.name)||$(k,x,a)||!Sn.has(a.name)&&(a.onlyPlausible||x.stripRecognisedHTMLOnly)){a={},d={};continue}if((Sn.has(a.name)||Ni.has(a.name))&&(a.onlyPlausible===!1||a.onlyPlausible===!0&&a.attributes.length)||e[k+1]===void 0){N(x);let O=T(e,k,a.leftOuterWhitespace,k+1,a.lastOpeningBracketAt,a.lastClosingBracketAt);Q&&a.name==="script"&&a.slashPresent&&(Q=!1);let v;O===null||g===null?v=null:v=`${O}${g}${O}`,x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k+1,insert:v,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,k+1,v]}),q(),S(k,x,M)}if(!o.length||o[o.length-1][0]!==a.lastOpeningBracketAt&&o[o.length-1][1]!==k+1)if(x.stripTogetherWithTheirContents.includes(a.name)||x.stripTogetherWithTheirContents.includes("*")){let O;for(let v=r.length;v--;)r[v].name===a.name&&(O=r[v]);O?(o=o.filter(([v])=>v!==O.lastOpeningBracketAt),o.push([O.lastOpeningBracketAt,k+1])):o.push([a.lastOpeningBracketAt,k+1])}else o.push([a.lastOpeningBracketAt,k+1])}}else if(k>a.lastClosingBracketAt&&e[k].trim()||e[k+1]===void 0||x.ignoreIndentations&&`\r
85
+ `.includes(e[k])){let O=a.lastClosingBracketAt===k?k+1:k;x.trimOnlySpaces&&O===se-1&&w!==null&&w<k&&(O=w),(!s.length||s[s.length-1][0]!==a.lastOpeningBracketAt)&&s.push([a.lastOpeningBracketAt,a.lastClosingBracketAt+1]);let v=x.ignoreTags.includes(a.name),F=$(k,x,a);if(!b||x.stripRecognisedHTMLOnly&&typeof a.name=="string"&&!Sn.has(a.name.toLowerCase())&&!Ni.has(a.name.toLowerCase())||!R&&(v||F)||R&&!x.onlyStripTags.includes(a.name)||x.ignoreTagsWithTheirContents.includes(a.name)){if(F)if(a.slashPresent){for(let K=i.length;K--;)if(i[K].name===a.name){i.splice(K,1);break}i.length||(b=!0)}else b&&(b=!1),i.push(a);x.cb({tag:a,deleteFrom:null,deleteTo:null,insert:null,rangesArr:M,proposedReturn:null}),a={},d={}}else if(!a.onlyPlausible||a.attributes.length===0&&a.name&&(Sn.has(a.name.toLowerCase())||Ni.has(a.name.toLowerCase()))||a.attributes?.some(K=>K.equalsAt)){(!o.length||o[o.length-1][0]!==a.lastOpeningBracketAt)&&o.push([a.lastOpeningBracketAt,a.lastClosingBracketAt+1]);let K=T(e,k,a.leftOuterWhitespace,O,a.lastOpeningBracketAt,a.lastClosingBracketAt);g="",y=!1,N(x,O);let j;typeof g=="string"&&g.length?(j=`${K}${g}${K===`
86
+
87
+ `?`
88
+ `:K}`,O===a.lastClosingBracketAt+1&&(!e[O]||!Ei.has(e[O]))&&(j+=" "),a.leftOuterWhitespace===a.lastOpeningBracketAt&&M.last()&&M.last()[1]<a.lastOpeningBracketAt&&(!x?.dumpLinkHrefsNearby?.putOnNewLine||!Ei.has(e[O]))&&(j=" "+j)):j=K,j!==null&&(a.leftOuterWhitespace===0||!Ye(e,O-1))&&(!x.dumpLinkHrefsNearby?.enabled||a.name!=="a")&&(j=void 0);let ne=0;if(y&&Ei.has(e[O])){x.dumpLinkHrefsNearby?.putOnNewLine&&(j=`${e[O]}${j||""}`);let ve=Ye(e,O);ve&&j?.endsWith(`
89
+ `)?ne+=ve-k:(!ve||ve>k)&&ne++}x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:O+ne,insert:j,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,O+ne,j]}),q(),S(k,x,M)}else a={};E(k)||(a={})}U&&(U=!1)}if((!Q||e[k]==="<"&&Ye(e,Ye(e,k))&&e[Ye(e,k)]==="/"&&e.startsWith("script",Ye(e,Ye(e,k))))&&A(k)&&!A(k-1)&&!`'"`.includes(e[k+1])&&(!`'"`.includes(e[k+2])||/\w/.test(e[k+1]))&&!(e[k+1]==="c"&&e[k+2]===":")&&!(e[k+1]==="f"&&e[k+2]==="m"&&e[k+3]==="t"&&e[k+4]===":")&&!(e[k+1]==="s"&&e[k+2]==="q"&&e[k+3]==="l"&&e[k+4]===":")&&!(e[k+1]==="x"&&e[k+2]===":")&&!(e[k+1]==="f"&&e[k+2]==="n"&&e[k+3]===":")&&la(a,e,k)){if(E(Ye(e,k)))continue;if(a.nameEnds&&a.nameEnds<k&&!a.lastClosingBracketAt&&(a.onlyPlausible===!0&&a.attributes?.length||a.onlyPlausible===!1)){let O=T(e,k,a.leftOuterWhitespace,k,a.lastOpeningBracketAt,k);x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:k,insert:O,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,k,O]}),S(k,x,M),a={},d={}}if(a.lastOpeningBracketAt!==void 0&&a.onlyPlausible&&a.name&&!a.quotes&&(a.lastOpeningBracketAt=void 0,a.name=void 0,a.onlyPlausible=!1),(a.lastOpeningBracketAt===void 0||!a.onlyPlausible)&&!a.quotes&&(a.lastOpeningBracketAt=k,a.slashPresent=!1,a.attributes=[],c===null?a.leftOuterWhitespace=k:x.trimOnlySpaces&&c===0?a.leftOuterWhitespace=p||k:a.leftOuterWhitespace=c,`${e[k+1]}${e[k+2]}${e[k+3]}`=="!--"||`${e[k+1]}${e[k+2]}${e[k+3]}${e[k+4]}${e[k+5]}${e[k+6]}${e[k+7]}${e[k+8]}`=="![CDATA[")){let O=!0;e[k+2]==="-"&&(O=!1);let v;for(let F=k;F<se;F++)if((!v&&O&&`${e[F-2]}${e[F-1]}${e[F]}`=="]]>"||!O&&`${e[F-2]}${e[F-1]}${e[F]}`=="-->")&&(v=F),v&&(v<F&&e[F].trim()||e[F+1]===void 0)){let K=F;(e[F+1]===void 0&&!e[F].trim()||e[F]===">")&&(K+=1),(!s.length||s[s.length-1][0]!==a.lastOpeningBracketAt)&&s.push([a.lastOpeningBracketAt,v+1]),(!o.length||o[o.length-1][0]!==a.lastOpeningBracketAt)&&o.push([a.lastOpeningBracketAt,v+1]);let j=T(e,F,a.leftOuterWhitespace,K,a.lastOpeningBracketAt,v);x.cb({tag:a,deleteFrom:a.leftOuterWhitespace,deleteTo:K,insert:j,rangesArr:M,proposedReturn:[a.leftOuterWhitespace,K,j]}),k=F-1,e[F]===">"&&(k=F),a={},d={};break}}}!e[k].trim()||e[k].charCodeAt(0)===847?(c===null&&(c=k,a.lastOpeningBracketAt!==void 0&&a.lastOpeningBracketAt<k&&a.nameStarts&&a.nameStarts<a.lastOpeningBracketAt&&k===a.lastOpeningBracketAt+1&&!r.some(O=>O.name===a.name)&&(a.onlyPlausible=!0,a.name=void 0,a.nameStarts=void 0)),(e[k]===`
90
+ `||e[k]==="\r")&&(f=k,h&&(h=!1))):(c!==null&&(!a.quotes&&d.equalsAt>c-1&&d.nameEnds&&d.equalsAt>d.nameEnds&&e[k]!=='"'&&e[k]!=="'"&&(hi(d)&&a.attributes.push(d),d={},a.equalsSpottedAt=void 0),c=null),h||(h=!0,b&&!Q&&typeof f=="number"&&k&&f<k-1&&(e.slice(f+1,k).trim()?f=null:x.ignoreIndentations||M.push([f+1,k])))),e[k]===" "?p===null&&(p=k):p!==null&&(p=null),a.name==="script"&&(Q=!a.slashPresent)}if(e&&!x.ignoreIndentations&&(x.trimOnlySpaces&&e[0]===" "||!x.trimOnlySpaces&&!e[0].trim()))for(let k=0;k<se;k++)if(x.trimOnlySpaces&&e[k]!==" "||!x.trimOnlySpaces&&e[k].trim()){M.push([0,k]);break}else e[k+1]||M.push([0,k+1]);if(e&&(x.trimOnlySpaces&&e[~-e.length]===" "||!x.trimOnlySpaces&&!e[~-e.length].trim())){for(let k=e.length;k--;)if(x.trimOnlySpaces&&e[k]!==" "||!x.trimOnlySpaces&&e[k].trim()){M.push([k+1,se]);break}}let C=M.current();if(!t?.cb&&C&&(C[0]&&!C[0][0]&&(C[0][1],M.ranges[0]=[M.ranges[0][0],M.ranges[0][1]]),C[C.length-1]&&C[C.length-1][1]===e.length&&(C[C.length-1][0],M.ranges))){let k=M.ranges[M.ranges.length-1][0];e[k-1]&&(x.trimOnlySpaces&&e[k-1]===" "||!x.trimOnlySpaces&&!e[k-1].trim())&&(k-=1);let O=M.ranges[M.ranges.length-1][2];M.ranges[M.ranges.length-1]=[k,M.ranges[M.ranges.length-1][1]],O?.trim()&&M.ranges[M.ranges.length-1].push(O.trimEnd())}return{log:{timeTakenInMilliseconds:Date.now()-n},result:Ld(e,M.current()),ranges:M.current(),allTagLocations:s,filteredTagLocations:o}}l(fa,"fe");function _i(e){return e.charAt(0).toUpperCase()+e.slice(1)}l(_i,"capitalize");function pa(e,t){return e.length<=t?e:e.slice(0,Math.max(0,t-3))+"..."}l(pa,"truncateWithEllipsis");function ha(e){return fa(e).result}l(ha,"stripHtmlTags");function $d(e){const t=new URL(e);return{host:`${t.protocol}//${t.hostname}`,port:Number.parseInt(t.port,10)}}l($d,"urlToHostAndPort");function Bd(e,t){return`${e}:${t}`}l(Bd,"hostAndPortToUrl");function jd(e){return e.toLowerCase().replaceAll(/[^\da-z]/gi," ").trim().replaceAll(/ +/g,"-")}l(jd,"cleanClassName");const Oi=[{cardTemplates:[{Back:`{{FrontSide}}
91
+
92
+ <hr id=answer>
93
+
94
+ {{Back}}`,Front:"{{Front}}",YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],modelName:"Yanki - Basic"},{cardTemplates:[{Back:`{{FrontSide}}
95
+
96
+ <hr id=answer>
97
+
98
+ {{Back}}`,Front:"{{Front}}",YankiNamespace:"{{YankiNamespace}}"},{Back:`{{FrontSide}}
99
+
100
+ <hr id=answer>
101
+
102
+ {{Front}}`,Front:"{{Back}}",YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],modelName:"Yanki - Basic (and reversed card)"},{cardTemplates:[{Back:`{{cloze:Front}}<br>
103
+ {{Back}}`,Front:"{{cloze:Front}}",YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],isCloze:!0,modelName:"Yanki - Cloze"},{cardTemplates:[{Back:`{{Front}}
104
+
105
+ <hr id=answer>
106
+
107
+ {{type:Back}}`,Front:`{{Front}}
108
+
109
+ {{type:Back}}`,YankiNamespace:"{{YankiNamespace}}"}],inOrderFields:["Front","Back","YankiNamespace"],modelName:"Yanki - Basic (type in the answer)"}],da=Oi.map(e=>e.modelName);async function ma(e,t,n=!1){if(n)return;const r=t.map(i=>i.noteId).filter(i=>i!==void 0);await e.note.deleteNotes({notes:r})}l(ma,"deleteNotes");async function zd(e,t,n=!1){if(t.noteId===void 0)throw new Error("Note ID is undefined");n||await e.note.deleteNotes({notes:[t.noteId]})}l(zd,"deleteNote");async function or(e,t,n){if(t.noteId!==void 0)throw new Error("Note already has an ID");if(n)return 0;const r=await e.note.addNote({note:{...t,options:{allowDuplicate:!0}}}).catch(async i=>{if(i instanceof Error){if(i.message===`model was not found: ${t.modelName}`){const s=Oi.find(o=>o.modelName===t.modelName);if(s===void 0)throw new Error(`Model not found: ${t.modelName}`);return await e.model.createModel(s),or(e,t,n)}if(i.message===`deck was not found: ${t.deckName}`){if(t.deckName==="")throw new Error("Deck name is empty");return await e.deck.createDeck({deck:t.deckName}),or(e,t,n)}throw i}else throw new TypeError("Unknown error")});if(r===null)throw new Error("Note creation failed");return r}l(or,"addNote");async function Ud(e,t,n,r){if(t.noteId===void 0)throw new Error("Local note ID is undefined");if(n.cards===void 0)throw new Error("Remote note cards are undefined");let i=!1;if((!Vd(t.tags??[],n.tags??[])||!Hd(t.fields,n.fields))&&(r||await e.note.updateNote({note:{...t,id:t.noteId}}),i=!0),t.deckName!==n.deckName){if(t.deckName==="")throw new Error("Local deck name is empty");r||await e.deck.changeDeck({cards:n.cards,deck:t.deckName}),i=!0}return i}l(Ud,"updateNote");function Hd(e,t){const n=["Front","Back"];for(const r of n)if(e[r]!==t[r])return!1;return!0}l(Hd,"areFieldsEqual");function Vd(e,t){if(e.length!==t.length)return!1;for(const[n,r]of e.entries())if(r!==t[n])return!1;return!0}l(Vd,"areTagsEqual");async function Li(e,t=bn){const n=await e.note.findNotes({query:`"YankiNamespace:${t}"`});return await ga(e,n)}l(Li,"getRemoteNotes");async function ga(e,t){const n=await e.note.notesInfo({notes:t}),r=[];if(n.every(a=>a.noteId===void 0))return Array.from({length:n.length}).fill(void 0);const i=n.flatMap(a=>a.cards??[]),s=await e.deck.getDecks({cards:i}),o=new Map;for(const[a,u]of Object.entries(s))for(const c of u)o.set(c,a);for(const a of n){if(a.noteId===void 0){r.push(void 0);continue}const u=new Set;for(const c of a.cards){const p=o.get(c);if(p===void 0)throw new Error(`No deck found for card ${c}`);u.add(p)}if(u.size===0)throw new Error(`No decks found for note ${a.noteId}`);if(u.size>1)throw new Error(`Multiple decks found for note ${a.noteId}`);if(!da.includes(a.modelName))throw new Error(`Unknown model name ${a.modelName} for note ${a.noteId}`);r.push({cards:a.cards,deckName:[...u][0],fields:{Back:a.fields.Back.value??"",Front:a.fields.Front.value??"",YankiNamespace:a.fields.YankiNamespace.value??""},modelName:a.modelName,noteId:a.noteId,tags:a.tags})}return r}l(ga,"getRemoteNotesById");async function ya(e,t,n,r){const i=[...new Set(t.map(f=>f.deckName))].filter(Boolean),o=[...new Set(n.map(f=>f.deckName))].filter(Boolean).filter(f=>!i.includes(f)),a=[];for(const f of o){const h=f.split("::");if(h.length!==1)for(;h.length>1;){h.pop();const d=h.join("::");if(i.some(m=>d.includes(m)))break;a.push(d)}}const u=[...new Set([...o,...a])],c=await e.deck.getDeckStats({decks:u}),p=Object.values(c).reduce((f,h,d)=>{const m=u[d];if(r){const g=n.filter(w=>w.deckName===m).length,y=t.filter(w=>w.deckName===m).length;h.total_in_deck===g&&y===0&&!f.includes(m)&&f.push(m)}else h.total_in_deck===0&&!f.includes(m)&&f.push(m);return f},[]);return r||await e.deck.deleteDecks({cardsToo:!0,decks:p}),p}l(ya,"deleteOrphanedDecks");async function ba(e,t,n,r){let i;try{const{css:s}=await e.model.modelStyling({modelName:t});i=s}catch(s){if(s instanceof Error){if(s.message===`model was not found: ${t}`){const o=Oi.find(a=>a.modelName===t);if(o===void 0)throw new Error(`Model not found: ${t}`);return r?!1:(await e.model.createModel(o),ba(e,o.modelName,n,r))}throw s}else throw new TypeError("Unknown error")}return i!==void 0&&i===n?!1:(r||await e.model.updateModelStyling({model:{css:n,name:t}}),!0)}l(ba,"updateModelStyle");const pt={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};pt.defaultMerge;function Gd(e,t){return t}l(Gd,"defaultMetaDataUpdater");function Wd(e,t){return e.filter(n=>n!==void 0)}l(Wd,"defaultFilterValues");var wa;(function(e){e[e.NOT=0]="NOT",e[e.RECORD=1]="RECORD",e[e.ARRAY=2]="ARRAY",e[e.SET=3]="SET",e[e.MAP=4]="MAP",e[e.OTHER=5]="OTHER"})(wa||(wa={}));function ka(e){return typeof e!="object"||e===null?0:Array.isArray(e)?2:Jd(e)?1:e instanceof Set?3:e instanceof Map?4:5}l(ka,"getObjectType");function Kd(e){const t=new Set;for(const n of e)for(const r of[...Object.keys(n),...Object.getOwnPropertySymbols(n)])t.add(r);return t}l(Kd,"getKeys");function Yd(e,t){return typeof e=="object"&&Object.prototype.propertyIsEnumerable.call(e,t)}l(Yd,"objectHasProperty");function va(e){return{*[Symbol.iterator](){for(const t of e)for(const n of t)yield n}}}l(va,"getIterableOfIterables");const Sa=new Set(["[object Object]","[object Module]"]);function Jd(e){if(!Sa.has(Object.prototype.toString.call(e)))return!1;const{constructor:t}=e;if(t===void 0)return!0;const n=t.prototype;return!(n===null||typeof n!="object"||!Sa.has(Object.prototype.toString.call(n))||!n.hasOwnProperty("isPrototypeOf"))}l(Jd,"isRecord");function Qd(e,t,n){const r={};for(const i of Kd(e)){const s=[];for(const u of e)Yd(u,i)&&s.push(u[i]);if(s.length===0)continue;const o=t.metaDataUpdater(n,{key:i,parents:e}),a=xa(s,t,o);a!==pt.skip&&(i==="__proto__"?Object.defineProperty(r,i,{value:a,configurable:!0,enumerable:!0,writable:!0}):r[i]=a)}return r}l(Qd,"mergeRecords$1");function Xd(e){return e.flat()}l(Xd,"mergeArrays$1");function Zd(e){return new Set(va(e))}l(Zd,"mergeSets$1");function em(e){return new Map(va(e))}l(em,"mergeMaps$1");function tm(e){return e.at(-1)}l(tm,"mergeOthers$1");const ar={mergeRecords:Qd,mergeArrays:Xd,mergeSets:Zd,mergeMaps:em,mergeOthers:tm};function xn(...e){return nm({})(...e)}l(xn,"deepmerge");function nm(e,t){const n=rm(e,r);function r(...i){return xa(i,n,t)}return l(r,"customizedDeepmerge"),r}l(nm,"deepmergeCustom");function rm(e,t){return{defaultMergeFunctions:ar,mergeFunctions:{...ar,...Object.fromEntries(Object.entries(e).filter(([n,r])=>Object.hasOwn(ar,n)).map(([n,r])=>r===!1?[n,ar.mergeOthers]:[n,r]))},metaDataUpdater:e.metaDataUpdater??Gd,deepmerge:t,useImplicitDefaultMerging:e.enableImplicitDefaultMerging??!1,filterValues:e.filterValues===!1?void 0:e.filterValues??Wd,actions:pt}}l(rm,"getUtils");function xa(e,t,n){const r=t.filterValues?.(e,n)??e;if(r.length===0)return;if(r.length===1)return Ii(r,t,n);const i=ka(r[0]);if(i!==0&&i!==5){for(let s=1;s<r.length;s++)if(ka(r[s])!==i)return Ii(r,t,n)}switch(i){case 1:return im(r,t,n);case 2:return sm(r,t,n);case 3:return om(r,t,n);case 4:return am(r,t,n);default:return Ii(r,t,n)}}l(xa,"mergeUnknowns");function im(e,t,n){const r=t.mergeFunctions.mergeRecords(e,t,n);return r===pt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeRecords!==t.defaultMergeFunctions.mergeRecords?t.defaultMergeFunctions.mergeRecords(e,t,n):r}l(im,"mergeRecords");function sm(e,t,n){const r=t.mergeFunctions.mergeArrays(e,t,n);return r===pt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeArrays!==t.defaultMergeFunctions.mergeArrays?t.defaultMergeFunctions.mergeArrays(e):r}l(sm,"mergeArrays");function om(e,t,n){const r=t.mergeFunctions.mergeSets(e,t,n);return r===pt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeSets!==t.defaultMergeFunctions.mergeSets?t.defaultMergeFunctions.mergeSets(e):r}l(om,"mergeSets");function am(e,t,n){const r=t.mergeFunctions.mergeMaps(e,t,n);return r===pt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeMaps!==t.defaultMergeFunctions.mergeMaps?t.defaultMergeFunctions.mergeMaps(e):r}l(am,"mergeMaps");function Ii(e,t,n){const r=t.mergeFunctions.mergeOthers(e,t,n);return r===pt.defaultMerge||t.useImplicitDefaultMerging&&r===void 0&&t.mergeFunctions.mergeOthers!==t.defaultMergeFunctions.mergeOthers?t.defaultMergeFunctions.mergeOthers(e):r}l(Ii,"mergeOthers");var lm="addenda",um="aircraft",cm="algae",fm="alumnae",pm="alumni",hm="alveoli",dm="amoebae",mm="analyses",gm="antennae",ym="antitheses",bm="apices",wm="appendices",km="automata",vm="axes",Sm="bacilli",xm="bacteria",Am="bacula",Cm="barracks",Tm="bases",Nm="beaux",Em="bison",_m="buffalo",Om="bureaus",Lm="cacti",Im="calves",Dm="carcinomata",Rm="carp",Pm="censuses",qm="chassis",Fm="cherubim",Mm="children",$m="cloacae",Bm="cod",jm="codices",zm="concerti",Um="consortia",Hm="corpora",Vm="crises",Gm="criteria",Wm="curricula",Km="cystomata",Ym="data",Jm="deer",Qm="diagnoses",Xm="dice",Zm="dwarfs",eg="echoes",tg="elves",ng="elk",rg="ellipses",ig="embargoes",sg="emphases",og="errata",ag="fezes",lg="firmware",ug="fish",cg="foci",fg="feet",pg="formulae",hg="fungi",dg="gallows",mg="genera",gg="glomeruli",yg="geese",bg="graffiti",wg="grouse",kg="halves",vg="hamuli",Sg="heroes",xg="hippopotami",Ag="hooves",Cg="hovercraft",Tg="hypotheses",Ng="ilia",Eg="incubi",_g="indices",Og="interstitia",Lg="kakapo",Ig="knives",Dg="larvae",Rg="leaves",Pg="libretti",qg="lives",Fg="loaves",Mg="loculi",$g="loci",Bg="lice",jg="men",zg="matrices",Ug="means",Hg="measles",Vg="media",Gg="media",Wg="memoranda",Kg="millennia",Yg="minutiae",Jg="moose",Qg="mice",Xg="nebulae",Zg="nemeses",ey="neuroses",ty="news",ny="nucleoli",ry="nuclei",iy="oases",sy="occipita",oy="offspring",ay="omphaloi",ly="opera",uy="ova",cy="oxen",fy="paralyses",py="parentheses",hy="people",dy="phenomena",my="phyla",gy="pike",yy="polyhedra",by="potatoes",wy="primi",ky="prognoses",vy="quizzes",Sy="radii",xy="referenda",Ay="salmon",Cy="scarves",Ty="scrota",Ny="selves",Ey="seminomata",_y="series",Oy="sheep",Ly="shelves",Iy="shrimp",Dy="simulacra",Ry="soliloquies",Py="spacecraft",qy="species",Fy="spectra",My="squid",$y="stimuli",By="strata",jy="swine",zy="syconia",Uy="syllabi",Hy="symposia",Vy="synopses",Gy="syntheses",Wy="tableaus",Ky="testes",Yy="those",Jy="theses",Qy="thieves",Xy="thrombi",Zy="tomatoes",eb="teeth",tb="tori",nb="trout",rb="tuna",ib="umbilici",sb="uteri",ob="vertebrae",ab="vertices",lb="vetoes",ub="vitae",cb="vortices",fb="watercraft",pb="wharves",hb="wives",db="wolves",mb="women",gb={addendum:lm,aircraft:um,alga:cm,alumna:fm,alumnus:pm,alveolus:hm,amoeba:dm,analysis:mm,antenna:gm,antithesis:ym,apex:bm,appendix:wm,automaton:km,axis:vm,bacillus:Sm,bacterium:xm,baculum:Am,barracks:Cm,basis:Tm,beau:Nm,bison:Em,buffalo:_m,bureau:Om,cactus:Lm,calf:Im,carcinoma:Dm,carp:Rm,census:Pm,chassis:qm,cherub:Fm,child:Mm,ch\u00E2teau:"ch\xE2teaus",cloaca:$m,cod:Bm,codex:jm,concerto:zm,consortium:Um,corpus:Hm,crisis:Vm,criterion:Gm,curriculum:Wm,cystoma:Km,datum:Ym,deer:Jm,diagnosis:Qm,die:Xm,dwarf:Zm,echo:eg,elf:tg,elk:ng,ellipsis:rg,embargo:ig,emphasis:sg,erratum:og,"faux pas":"faux pas",fez:ag,firmware:lg,fish:ug,focus:cg,foot:fg,formula:pg,fungus:hg,gallows:dg,genus:mg,glomerulus:gg,goose:yg,graffito:bg,grouse:wg,half:kg,hamulus:vg,hero:Sg,hippopotamus:xg,hoof:Ag,hovercraft:Cg,hypothesis:Tg,iliac:Ng,incubus:Eg,index:_g,interstitium:Og,kakapo:Lg,knife:Ig,larva:Dg,leaf:Rg,libretto:Pg,life:qg,loaf:Fg,loculus:Mg,locus:$g,louse:Bg,man:jg,matrix:zg,means:Ug,measles:Hg,media:Vg,medium:Gg,memorandum:Wg,millennium:Kg,minutia:Yg,moose:Jg,mouse:Qg,nebula:Xg,nemesis:Zg,neurosis:ey,news:ty,nucleolus:ny,nucleus:ry,oasis:iy,occiput:sy,offspring:oy,omphalos:ay,opus:ly,ovum:uy,ox:cy,paralysis:fy,parenthesis:py,person:hy,phenomenon:dy,phylum:my,pike:gy,polyhedron:yy,potato:by,primus:wy,prognosis:ky,quiz:vy,radius:Sy,referendum:xy,salmon:Ay,scarf:Cy,scrotum:Ty,self:Ny,seminoma:Ey,series:_y,sheep:Oy,shelf:Ly,shrimp:Iy,simulacrum:Dy,soliloquy:Ry,spacecraft:Py,species:qy,spectrum:Fy,squid:My,stimulus:$y,stratum:By,swine:jy,syconium:zy,syllabus:Uy,symposium:Hy,synopsis:Vy,synthesis:Gy,tableau:Wy,testis:Ky,that:Yy,thesis:Jy,thief:Qy,this:"these",thrombus:Xy,tomato:Zy,tooth:eb,torus:tb,trout:nb,tuna:rb,umbilicus:ib,uterus:sb,vertebra:ob,vertex:ab,veto:lb,vita:ub,vortex:cb,watercraft:fb,wharf:pb,wife:hb,wolf:db,woman:mb};const yb=gb;var bb=new Map(Object.entries(yb)),Aa=Xn(bb);function An(e,t,n){if(typeof t=="number"&&(n=t),Aa.has(e.toLowerCase())){t=Aa.get(e.toLowerCase());const r=e.charAt(0);r===r.toUpperCase()&&(t=r+t.slice(1)),e===e.toUpperCase()&&(t=t.toUpperCase())}else typeof t!="string"&&(t=(e.replace(/(?:s|x|z|ch|sh)$/i,"$&e").replace(/([^aeiou])y$/i,"$1ie")+"s").replace(/i?e?s$/i,r=>e.slice(-1)===e.slice(-1).toLowerCase()?r.toLowerCase():r.toUpperCase()));return Math.abs(n)===1?e:t}l(An,"plur");const Ca=l(e=>Number.isFinite(e)?e:0,"toZeroIfInfinity");function wb(e){return{days:Math.trunc(e/864e5),hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),microseconds:Math.trunc(Ca(e*1e3)%1e3),nanoseconds:Math.trunc(Ca(e*1e6)%1e3)}}l(wb,"parseNumber");function kb(e){return{days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}l(kb,"parseBigint");function vb(e){switch(typeof e){case"number":{if(Number.isFinite(e))return wb(e);break}case"bigint":return kb(e)}throw new TypeError("Expected a finite number or bigint")}l(vb,"parseMilliseconds");const Sb=l(e=>e===0||e===0n,"isZero"),xb=l((e,t)=>t===1||t===1n?e:`${e}s`,"pluralize"),Ab=1e-7,Cb=24n*60n*60n*1000n;function Di(e,t){const n=typeof e=="bigint";if(!n&&!Number.isFinite(e))throw new TypeError("Expected a finite number or bigint");t={...t},t.colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let r=[];const i=l((c,p)=>{const f=Math.floor(c*10**p+Ab);return(Math.round(f)/10**p).toFixed(p)},"floorDecimals"),s=l((c,p,f,h)=>{if(!((r.length===0||!t.colonNotation)&&Sb(c)&&!(t.colonNotation&&f==="m"))){if(h=h??String(c),t.colonNotation){const d=h.includes(".")?h.split(".")[0].length:h.length,m=r.length>0?2:1;h="0".repeat(Math.max(0,m-d))+h}else h+=t.verbose?" "+xb(p,c):f;r.push(h)}},"add"),o=vb(e),a=BigInt(o.days);if(s(a/365n,"year","y"),s(a%365n,"day","d"),s(Number(o.hours),"hour","h"),s(Number(o.minutes),"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3){const c=Number(o.seconds),p=Number(o.milliseconds),f=Number(o.microseconds),h=Number(o.nanoseconds);if(s(c,"second","s"),t.formatSubMilliseconds)s(p,"millisecond","ms"),s(f,"microsecond","\xB5s"),s(h,"nanosecond","ns");else{const d=p+f/1e3+h/1e6,m=typeof t.millisecondsDecimalDigits=="number"?t.millisecondsDecimalDigits:0,g=d>=1?Math.round(d):Math.ceil(d),y=m?d.toFixed(m):g;s(Number.parseFloat(y),"millisecond","ms",y)}}else{const c=(n?Number(e%Cb):e)/1e3%60,p=typeof t.secondsDecimalDigits=="number"?t.secondsDecimalDigits:1,f=i(c,p),h=t.keepDecimalsOnWholeSeconds?f:f.replace(/\.0+$/,"");s(Number.parseFloat(h),"second","s",h)}if(r.length===0)return"0"+(t.verbose?" milliseconds":"ms");const u=t.colonNotation?":":" ";return typeof t.unitCount=="number"&&(r=r.slice(0,Math.max(t.unitCount,1))),r.join(u)}l(Di,"prettyMilliseconds");var Tb=Object.defineProperty,Ta=l((e,t)=>Tb(e,"name",{value:t,configurable:!0}),"a$1");const lr=typeof window>"u"?typeof process>"u"?"other":"node":"browser",Na=lr==="browser"?/windows/i.test(navigator.userAgent)?"windows":/mac/i.test(navigator.userAgent)?"mac":"other":lr==="node"?process.platform==="win32"?"windows":process.platform==="darwin"?"mac":"other":"other";let Ri=0;const Nb=5e3;let Ea=0;const Eb=100;async function Pi(){if(Na==="mac"&&lr==="node"){const{openApp:e}=await import("./index-UHZxbkBe.js");if(Ea>=Eb){console.warn("Too many Anki App launch attempts this session, ignoring");return}(Ri===0||Date.now()-Ri>Nb)&&(console.warn("Attempting to launch Anki app"),Ri=Date.now(),Ea++,await e("/Applications/Anki.app",{background:!0,newInstance:!1,wait:!1}))}else console.warn("Automatic Anki App launch is only supported on Mac OS in Node.js environment")}l(Pi,"h$1"),Ta(Pi,"launchAnkiApp");const Ue={autoLaunch:!1,customFetch:fetch.bind(globalThis),host:"http://127.0.0.1",key:void 0,port:8765,version:6};class ur{static{l(this,"w")}static{Ta(this,"YankiConnect")}autoLaunch;customFetch;host;key;port;version;card={answerCards:this.build("answerCards"),areDue:this.build("areDue"),areSuspended:this.build("areSuspended"),cardsInfo:this.build("cardsInfo"),cardsModTime:this.build("cardsModTime"),cardsToNotes:this.build("cardsToNotes"),findCards:this.build("findCards"),forgetCards:this.build("forgetCards"),getEaseFactors:this.build("getEaseFactors"),getIntervals:this.build("getIntervals"),relearnCards:this.build("relearnCards"),setEaseFactors:this.build("setEaseFactors"),setSpecificValueOfCard:this.build("setSpecificValueOfCard"),suspend:this.build("suspend"),suspended:this.build("suspended"),unsuspend:this.build("unsuspend")};deck={changeDeck:this.build("changeDeck"),cloneDeckConfigId:this.build("cloneDeckConfigId"),createDeck:this.build("createDeck"),deckNames:this.build("deckNames"),deckNamesAndIds:this.build("deckNamesAndIds"),deleteDecks:this.build("deleteDecks"),getDeckConfig:this.build("getDeckConfig"),getDeckStats:this.build("getDeckStats"),getDecks:this.build("getDecks"),removeDeckConfigId:this.build("removeDeckConfigId"),saveDeckConfig:this.build("saveDeckConfig"),setDeckConfigId:this.build("setDeckConfigId")};graphical={guiAddCards:this.build("guiAddCards"),guiAnswerCard:this.build("guiAnswerCard"),guiBrowse:this.build("guiBrowse"),guiCheckDatabase:this.build("guiCheckDatabase"),guiCurrentCard:this.build("guiCurrentCard"),guiDeckBrowser:this.build("guiDeckBrowser"),guiDeckOverview:this.build("guiDeckOverview"),guiDeckReview:this.build("guiDeckReview"),guiEditNote:this.build("guiEditNote"),guiExitAnki:this.build("guiExitAnki"),guiImportFile:this.build("guiImportFile"),guiSelectNote:this.build("guiSelectNote"),guiSelectedNotes:this.build("guiSelectedNotes"),guiShowAnswer:this.build("guiShowAnswer"),guiShowQuestion:this.build("guiShowQuestion"),guiStartCardTimer:this.build("guiStartCardTimer"),guiUndo:this.build("guiUndo")};media={deleteMediaFile:this.build("deleteMediaFile"),getMediaDirPath:this.build("getMediaDirPath"),getMediaFilesNames:this.build("getMediaFilesNames"),retrieveMediaFile:this.build("retrieveMediaFile"),storeMediaFile:this.build("storeMediaFile")};miscellaneous={apiReflect:this.build("apiReflect"),exportPackage:this.build("exportPackage"),getProfiles:this.build("getProfiles"),importPackage:this.build("importPackage"),loadProfile:this.build("loadProfile"),multi:this.build("multi"),reloadCollection:this.build("reloadCollection"),requestPermission:this.build("requestPermission"),sync:this.build("sync"),version:this.build("version")};model={createModel:this.build("createModel"),findAndReplaceInModels:this.build("findAndReplaceInModels"),findModelsById:this.build("findModelsById"),findModelsByName:this.build("findModelsByName"),modelFieldAdd:this.build("modelFieldAdd"),modelFieldDescriptions:this.build("modelFieldDescriptions"),modelFieldFonts:this.build("modelFieldFonts"),modelFieldNames:this.build("modelFieldNames"),modelFieldRemove:this.build("modelFieldRemove"),modelFieldRename:this.build("modelFieldRename"),modelFieldReposition:this.build("modelFieldReposition"),modelFieldSetDescription:this.build("modelFieldSetDescription"),modelFieldSetFont:this.build("modelFieldSetFont"),modelFieldSetFontSize:this.build("modelFieldSetFontSize"),modelFieldsOnTemplates:this.build("modelFieldsOnTemplates"),modelNames:this.build("modelNames"),modelNamesAndIds:this.build("modelNamesAndIds"),modelStyling:this.build("modelStyling"),modelTemplateAdd:this.build("modelTemplateAdd"),modelTemplateRemove:this.build("modelTemplateRemove"),modelTemplateRename:this.build("modelTemplateRename"),modelTemplateReposition:this.build("modelTemplateReposition"),modelTemplates:this.build("modelTemplates"),updateModelStyling:this.build("updateModelStyling"),updateModelTemplates:this.build("updateModelTemplates")};note={addNote:this.build("addNote"),addNotes:this.build("addNotes"),addTags:this.build("addTags"),canAddNotes:this.build("canAddNotes"),canAddNotesWithErrorDetail:this.build("canAddNotesWithErrorDetail"),clearUnusedTags:this.build("clearUnusedTags"),deleteNotes:this.build("deleteNotes"),findNotes:this.build("findNotes"),getNoteTags:this.build("getNoteTags"),getTags:this.build("getTags"),notesInfo:this.build("notesInfo"),removeEmptyNotes:this.build("removeEmptyNotes"),removeTags:this.build("removeTags"),replaceTags:this.build("replaceTags"),replaceTagsInAllNotes:this.build("replaceTagsInAllNotes"),updateNote:this.build("updateNote"),updateNoteFields:this.build("updateNoteFields"),updateNoteModel:this.build("updateNoteModel"),updateNoteTags:this.build("updateNoteTags")};statistic={cardReviews:this.build("cardReviews"),getCollectionStatsHTML:this.build("getCollectionStatsHTML"),getLatestReviewID:this.build("getLatestReviewID"),getNumCardsReviewedByDay:this.build("getNumCardsReviewedByDay"),getNumCardsReviewedToday:this.build("getNumCardsReviewedToday"),getReviewsOfCards:this.build("getReviewsOfCards"),insertReviews:this.build("insertReviews")};constructor(t){if(this.host=t?.host??Ue.host,this.port=t?.port??Ue.port,this.version=t?.version??Ue.version,this.key=t?.key??Ue.key,this.autoLaunch=t?.autoLaunch??Ue.autoLaunch,Ue.customFetch===void 0)throw new Error("A fetch implementation is required");if(this.customFetch=t?.customFetch??Ue.customFetch,(Na!=="mac"||lr!=="node")&&this.autoLaunch!==!1&&(console.warn("The autoLaunch option is only supported in a Node environment on macOS"),this.autoLaunch=!1),this.version!==6)throw new Error("YankiConnect currently only supports Anki-Connect API version 6");this.autoLaunch==="immediately"&&Pi()}build(t){return async n=>{const r=await this.invoke(t,n);if(r.error!==null)throw new Error(String(r.error));return r.result}}async invoke(t,n){let r,i;try{if(r=await this.customFetch(`${this.host}:${this.port}`,{body:JSON.stringify({action:t,...this.key===void 0?{}:{key:this.key},params:n,version:this.version}),headers:{"Access-Control-Allow-Origin":"*","Content-Type":"application/json"},method:"POST",mode:"cors"}),r===void 0)throw new Error("Anki-Connect response is undefined");if(r.status!==200)throw new Error(`Anki-Connect response status is ${r.status}`);if(i=await r.json(),this.autoLaunch!==!1&&i.error==="collection is not available")throw new Error(i.error)}catch(s){if(this.autoLaunch!==!1)return console.warn("Can't connect to Anki app, retrying..."),await Pi(),await new Promise(o=>{setTimeout(o,500)}),n===void 0?this.invoke(t):this.invoke(t,n);throw s}if(!("error"in i))throw new Error("response is missing required error field");if(!("result"in i))throw new Error("response is missing required result field");return i}}const _a={ankiConnectOptions:Ue,ankiWeb:!1,dryRun:!1,namespace:bn};async function _b(e){const t=performance.now(),{ankiConnectOptions:n,ankiWeb:r,dryRun:i,namespace:s}=xn(_a,e??{}),o=new ur(n),a=await Li(o,s);await ma(o,a,i);const u=await ya(o,[],a,i),c=a.length>0||u.length>0;return!i&&r&&(c||pi)&&await o.miscellaneous.sync(),{ankiWeb:r,decks:u,deleted:a,dryRun:i,duration:performance.now()-t,namespace:s}}l(_b,"cleanNotes");function Ob(e,t=!1){const n=e.decks.length,r=e.deleted.length;if(n===0&&r===0)return"Nothing to delete";const i=[];if(i.push(`${e.dryRun?"Will":"Successfully"} deleted ${e.deleted.length} ${An("note",r)} and ${e.decks.length} ${An("deck",n)} from Anki${e.dryRun?"":` in ${Di(e.duration)}`}.`),t){if(r>0){i.push("",e.dryRun?"Notes to delete:":"Deleted notes:");for(const s of e.deleted){const o=s.fields.Front.split(`
110
+ `)[0],a=pa(ha(o),50);i.push(` Note ID ${s.noteId} ${a}`)}}if(n>0){i.push("",e.dryRun?"Decks to delete:":"Deleted decks:");for(const s of e.decks)i.push(` ${s}`)}}return i.join(`
111
+ `)}l(Ob,"formatCleanReport");const Oa={ankiConnectOptions:Ue,namespace:bn};async function Lb(e){const t=performance.now(),{ankiConnectOptions:n,namespace:r}=xn(Oa,e??{}),i=new ur(n),s=await Li(i,r);return{duration:performance.now()-t,namespace:r,notes:s}}l(Lb,"listNotes");function Ib(e){if(e.notes.length===0)return"No notes found.";const t=[];for(const n of e.notes){const r=n.fields.Front.split(`
112
+ `)[0],i=pa(ha(r),50);t.push(`Note ID ${n.noteId} ${i}`)}return t.join(`
113
+ `)}l(Ib,"formatListReport");const La={ankiConnectOptions:Ue,ankiWeb:!1,css:ip,dryRun:!1};async function Db(e){const t=performance.now(),{ankiConnectOptions:n,ankiWeb:r,css:i,dryRun:s}=xn(La,e??{}),o=new ur(n),a=[];for(const c of da){const p=await ba(o,c,i,s);a.push({action:p?"updated":"unchanged",name:c})}const u=a.some(c=>c.action!=="unchanged");return!s&&r&&(u||pi)&&await o.miscellaneous.sync(),{ankiWeb:r,dryRun:s,duration:performance.now()-t,models:a}}l(Db,"setStyle");function Rb(e,t=!1){const n=[],r=e.models.filter(s=>s.action==="unchanged"),i=e.models.filter(s=>s.action==="updated");if(n.push(`${e.dryRun?"Will":"Successfully"} update ${i.length} ${An("model",i.length)} and left ${r.length} ${An("model",r.length)} unchanged${e.dryRun?"":` in ${Di(e.duration)}`}.`),t){if(i.length>0){n.push("",e.dryRun?"Models to update:":"Updated models:");for(const s of i)n.push(` ${s.name}`)}if(r.length>0){n.push("",e.dryRun?"Models unchanged:":"Unchanged models:");for(const s of r)n.push(` ${s.name}`)}}return n.join(`
114
+ `)}l(Rb,"formatStyleReport");const qi=Symbol.for("yaml.alias"),Fi=Symbol.for("yaml.document"),ht=Symbol.for("yaml.map"),Ia=Symbol.for("yaml.pair"),st=Symbol.for("yaml.scalar"),Ht=Symbol.for("yaml.seq"),Le=Symbol.for("yaml.node.type"),Vt=l(e=>!!e&&typeof e=="object"&&e[Le]===qi,"isAlias"),cr=l(e=>!!e&&typeof e=="object"&&e[Le]===Fi,"isDocument"),Cn=l(e=>!!e&&typeof e=="object"&&e[Le]===ht,"isMap"),ae=l(e=>!!e&&typeof e=="object"&&e[Le]===Ia,"isPair"),re=l(e=>!!e&&typeof e=="object"&&e[Le]===st,"isScalar"),Tn=l(e=>!!e&&typeof e=="object"&&e[Le]===Ht,"isSeq");function le(e){if(e&&typeof e=="object")switch(e[Le]){case ht:case Ht:return!0}return!1}l(le,"isCollection");function ce(e){if(e&&typeof e=="object")switch(e[Le]){case qi:case ht:case st:case Ht:return!0}return!1}l(ce,"isNode");const Pb=l(e=>(re(e)||le(e))&&!!e.anchor,"hasAnchor"),kt=Symbol("break visit"),qb=Symbol("skip children"),Nn=Symbol("remove node");function vt(e,t){const n=Fb(t);cr(e)?Gt(null,e.contents,n,Object.freeze([e]))===Nn&&(e.contents=null):Gt(null,e,n,Object.freeze([]))}l(vt,"visit$1"),vt.BREAK=kt,vt.SKIP=qb,vt.REMOVE=Nn;function Gt(e,t,n,r){const i=Mb(e,t,n,r);if(ce(i)||ae(i))return $b(e,r,i),Gt(e,i,n,r);if(typeof i!="symbol"){if(le(t)){r=Object.freeze(r.concat(t));for(let s=0;s<t.items.length;++s){const o=Gt(s,t.items[s],n,r);if(typeof o=="number")s=o-1;else{if(o===kt)return kt;o===Nn&&(t.items.splice(s,1),s-=1)}}}else if(ae(t)){r=Object.freeze(r.concat(t));const s=Gt("key",t.key,n,r);if(s===kt)return kt;s===Nn&&(t.key=null);const o=Gt("value",t.value,n,r);if(o===kt)return kt;o===Nn&&(t.value=null)}}return i}l(Gt,"visit_");function Fb(e){return typeof e=="object"&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}l(Fb,"initVisitor");function Mb(e,t,n,r){if(typeof n=="function")return n(e,t,r);if(Cn(t))return n.Map?.(e,t,r);if(Tn(t))return n.Seq?.(e,t,r);if(ae(t))return n.Pair?.(e,t,r);if(re(t))return n.Scalar?.(e,t,r);if(Vt(t))return n.Alias?.(e,t,r)}l(Mb,"callVisitor");function $b(e,t,n){const r=t[t.length-1];if(le(r))r.items[e]=n;else if(ae(r))e==="key"?r.key=n:r.value=n;else if(cr(r))r.contents=n;else{const i=Vt(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${i} parent`)}}l($b,"replaceNode");const Bb={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},jb=l(e=>e.replace(/[!,[\]{}]/g,t=>Bb[t]),"escapeTagName");class Ce{static{l(this,"Directives")}constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},Ce.defaultYaml,t),this.tags=Object.assign({},Ce.defaultTags,n)}clone(){const t=new Ce(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){const t=new Ce(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:Ce.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},Ce.defaultTags);break}return t}add(t,n){this.atNextDocument&&(this.yaml={explicit:Ce.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},Ce.defaultTags),this.atNextDocument=!1);const r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case"%TAG":{if(r.length!==2&&(n(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;const[s,o]=r;return this.tags[s]=o,!0}case"%YAML":{if(this.yaml.explicit=!0,r.length!==1)return n(0,"%YAML directive should contain exactly one part"),!1;const[s]=r;if(s==="1.1"||s==="1.2")return this.yaml.version=s,!0;{const o=/^\d+\.\d+$/.test(s);return n(6,`Unsupported YAML version ${s}`,o),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(t,n){if(t==="!")return"!";if(t[0]!=="!")return n(`Not a valid tag: ${t}`),null;if(t[1]==="<"){const o=t.slice(2,-1);return o==="!"||o==="!!"?(n(`Verbatim tags aren't resolved, so ${t} is invalid.`),null):(t[t.length-1]!==">"&&n("Verbatim tags must end with a >"),o)}const[,r,i]=t.match(/^(.*!)([^!]*)$/s);i||n(`The ${t} tag has no suffix`);const s=this.tags[r];if(s)try{return s+decodeURIComponent(i)}catch(o){return n(String(o)),null}return r==="!"?t:(n(`Could not resolve tag: ${t}`),null)}tagString(t){for(const[n,r]of Object.entries(this.tags))if(t.startsWith(r))return n+jb(t.substring(r.length));return t[0]==="!"?t:`!<${t}>`}toString(t){const n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);let i;if(t&&r.length>0&&ce(t.contents)){const s={};vt(t.contents,(o,a)=>{ce(a)&&a.tag&&(s[a.tag]=!0)}),i=Object.keys(s)}else i=[];for(const[s,o]of r)s==="!!"&&o==="tag:yaml.org,2002:"||(!t||i.some(a=>a.startsWith(o)))&&n.push(`%TAG ${s} ${o}`);return n.join(`
115
+ `)}}Ce.defaultYaml={explicit:!1,version:"1.2"},Ce.defaultTags={"!!":"tag:yaml.org,2002:"};function Da(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const n=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw new Error(n)}return!0}l(Da,"anchorIsValid");function Ra(e){const t=new Set;return vt(e,{Value(n,r){r.anchor&&t.add(r.anchor)}}),t}l(Ra,"anchorNames");function Pa(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}l(Pa,"findNewAnchor");function zb(e,t){const n=[],r=new Map;let i=null;return{onAnchor:s=>{n.push(s),i||(i=Ra(e));const o=Pa(t,i);return i.add(o),o},setAnchors:()=>{for(const s of n){const o=r.get(s);if(typeof o=="object"&&o.anchor&&(re(o.node)||le(o.node)))o.node.anchor=o.anchor;else{const a=new Error("Failed to resolve repeated object (this should not happen)");throw a.source=s,a}}},sourceObjects:r}}l(zb,"createNodeAnchors");function Wt(e,t,n,r){if(r&&typeof r=="object")if(Array.isArray(r))for(let i=0,s=r.length;i<s;++i){const o=r[i],a=Wt(e,r,String(i),o);a===void 0?delete r[i]:a!==o&&(r[i]=a)}else if(r instanceof Map)for(const i of Array.from(r.keys())){const s=r.get(i),o=Wt(e,r,i,s);o===void 0?r.delete(i):o!==s&&r.set(i,o)}else if(r instanceof Set)for(const i of Array.from(r)){const s=Wt(e,r,i,i);s===void 0?r.delete(i):s!==i&&(r.delete(i),r.add(s))}else for(const[i,s]of Object.entries(r)){const o=Wt(e,r,i,s);o===void 0?delete r[i]:o!==s&&(r[i]=o)}return e.call(t,n,r)}l(Wt,"applyReviver");function Ie(e,t,n){if(Array.isArray(e))return e.map((r,i)=>Ie(r,String(i),n));if(e&&typeof e.toJSON=="function"){if(!n||!Pb(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=s=>{r.res=s,delete n.onCreate};const i=e.toJSON(t,n);return n.onCreate&&n.onCreate(i),i}return typeof e=="bigint"&&!n?.keep?Number(e):e}l(Ie,"toJS");class Mi{static{l(this,"NodeBase")}constructor(t){Object.defineProperty(this,Le,{value:t})}clone(){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(t.range=this.range.slice()),t}toJS(t,{mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:s}={}){if(!cr(t))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:t,keep:!0,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r=="number"?r:100},a=Ie(this,"",o);if(typeof i=="function")for(const{count:u,res:c}of o.anchors.values())i(c,u);return typeof s=="function"?Wt(s,{"":a},"",a):a}}class $i extends Mi{static{l(this,"Alias")}constructor(t){super(qi),this.source=t,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(t){let n;return vt(t,{Node:(r,i)=>{if(i===this)return vt.BREAK;i.anchor===this.source&&(n=i)}}),n}toJSON(t,n){if(!n)return{source:this.source};const{anchors:r,doc:i,maxAliasCount:s}=n,o=this.resolve(i);if(!o){const u=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(u)}let a=r.get(o);if(a||(Ie(o,null,n),a=r.get(o)),!a||a.res===void 0){const u="This should not happen: Alias anchor was not resolved?";throw new ReferenceError(u)}if(s>=0&&(a.count+=1,a.aliasCount===0&&(a.aliasCount=fr(i,o,r)),a.count*a.aliasCount>s)){const u="Excessive alias count indicates a resource exhaustion attack";throw new ReferenceError(u)}return a.res}toString(t,n,r){const i=`*${this.source}`;if(t){if(Da(this.source),t.options.verifyAliasOrder&&!t.anchors.has(this.source)){const s=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(s)}if(t.implicitKey)return`${i} `}return i}}function fr(e,t,n){if(Vt(t)){const r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(le(t)){let r=0;for(const i of t.items){const s=fr(e,i,n);s>r&&(r=s)}return r}else if(ae(t)){const r=fr(e,t.key,n),i=fr(e,t.value,n);return Math.max(r,i)}return 1}l(fr,"getAliasCount");const qa=l(e=>!e||typeof e!="function"&&typeof e!="object","isScalarValue");class V extends Mi{static{l(this,"Scalar")}constructor(t){super(st),this.value=t}toJSON(t,n){return n?.keep?this.value:Ie(this.value,t,n)}toString(){return String(this.value)}}V.BLOCK_FOLDED="BLOCK_FOLDED",V.BLOCK_LITERAL="BLOCK_LITERAL",V.PLAIN="PLAIN",V.QUOTE_DOUBLE="QUOTE_DOUBLE",V.QUOTE_SINGLE="QUOTE_SINGLE";const Ub="tag:yaml.org,2002:";function Hb(e,t,n){if(t){const r=n.filter(s=>s.tag===t),i=r.find(s=>!s.format)??r[0];if(!i)throw new Error(`Tag ${t} not found`);return i}return n.find(r=>r.identify?.(e)&&!r.format)}l(Hb,"findTagObject");function En(e,t,n){if(cr(e)&&(e=e.contents),ce(e))return e;if(ae(e)){const f=n.schema[ht].createNode?.(n.schema,null,n);return f.items.push(e),f}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:i,onTagObj:s,schema:o,sourceObjects:a}=n;let u;if(r&&e&&typeof e=="object"){if(u=a.get(e),u)return u.anchor||(u.anchor=i(e)),new $i(u.anchor);u={anchor:null,node:null},a.set(e,u)}t?.startsWith("!!")&&(t=Ub+t.slice(2));let c=Hb(e,t,o.tags);if(!c){if(e&&typeof e.toJSON=="function"&&(e=e.toJSON()),!e||typeof e!="object"){const f=new V(e);return u&&(u.node=f),f}c=e instanceof Map?o[ht]:Symbol.iterator in Object(e)?o[Ht]:o[ht]}s&&(s(c),delete n.onTagObj);const p=c?.createNode?c.createNode(n.schema,e,n):typeof c?.nodeClass?.from=="function"?c.nodeClass.from(n.schema,e,n):new V(e);return t?p.tag=t:c.default||(p.tag=c.tag),u&&(u.node=p),p}l(En,"createNode");function pr(e,t,n){let r=n;for(let i=t.length-1;i>=0;--i){const s=t[i];if(typeof s=="number"&&Number.isInteger(s)&&s>=0){const o=[];o[s]=r,r=o}else r=new Map([[s,r]])}return En(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}l(pr,"collectionFromPath");const _n=l(e=>e==null||typeof e=="object"&&!!e[Symbol.iterator]().next().done,"isEmptyPath");class Bi extends Mi{static{l(this,"Collection")}constructor(t,n){super(t),Object.defineProperty(this,"schema",{value:n,configurable:!0,enumerable:!1,writable:!0})}clone(t){const n=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return t&&(n.schema=t),n.items=n.items.map(r=>ce(r)||ae(r)?r.clone(t):r),this.range&&(n.range=this.range.slice()),n}addIn(t,n){if(_n(t))this.add(n);else{const[r,...i]=t,s=this.get(r,!0);if(le(s))s.addIn(i,n);else if(s===void 0&&this.schema)this.set(r,pr(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}deleteIn(t){const[n,...r]=t;if(r.length===0)return this.delete(n);const i=this.get(n,!0);if(le(i))return i.deleteIn(r);throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}getIn(t,n){const[r,...i]=t,s=this.get(r,!0);return i.length===0?!n&&re(s)?s.value:s:le(s)?s.getIn(i,n):void 0}hasAllNullValues(t){return this.items.every(n=>{if(!ae(n))return!1;const r=n.value;return r==null||t&&re(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(t){const[n,...r]=t;if(r.length===0)return this.has(n);const i=this.get(n,!0);return le(i)?i.hasIn(r):!1}setIn(t,n){const[r,...i]=t;if(i.length===0)this.set(r,n);else{const s=this.get(r,!0);if(le(s))s.setIn(i,n);else if(s===void 0&&this.schema)this.set(r,pr(this.schema,i,n));else throw new Error(`Expected YAML collection at ${r}. Remaining path: ${i}`)}}}Bi.maxFlowStringSingleLineLength=60;const Vb=l(e=>e.replace(/^(?!$)(?: $)?/gm,"#"),"stringifyComment");function ot(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}l(ot,"indentComment");const St=l((e,t,n)=>e.endsWith(`
116
+ `)?ot(n,t):n.includes(`
117
+ `)?`
118
+ `+ot(n,t):(e.endsWith(" ")?"":" ")+n,"lineComment"),Fa="flow",ji="block",hr="quoted";function dr(e,t,n="flow",{indentAtStart:r,lineWidth:i=80,minContentWidth:s=20,onFold:o,onOverflow:a}={}){if(!i||i<0)return e;const u=Math.max(1+s,1+i-t.length);if(e.length<=u)return e;const c=[],p={};let f=i-t.length;typeof r=="number"&&(r>i-Math.max(2,s)?c.push(0):f=i-r);let h,d,m=!1,g=-1,y=-1,w=-1;n===ji&&(g=Ma(e,g,t.length),g!==-1&&(f=g+u));for(let S;S=e[g+=1];){if(n===hr&&S==="\\"){switch(y=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}w=g}if(S===`
119
+ `)n===ji&&(g=Ma(e,g,t.length)),f=g+t.length+u,h=void 0;else{if(S===" "&&d&&d!==" "&&d!==`
120
+ `&&d!==" "){const T=e[g+1];T&&T!==" "&&T!==`
121
+ `&&T!==" "&&(h=g)}if(g>=f)if(h)c.push(h),f=h+u,h=void 0;else if(n===hr){for(;d===" "||d===" ";)d=S,S=e[g+=1],m=!0;const T=g>w+1?g-2:y-1;if(p[T])return e;c.push(T),p[T]=!0,f=T+u,h=void 0}else m=!0}d=S}if(m&&a&&a(),c.length===0)return e;o&&o();let b=e.slice(0,c[0]);for(let S=0;S<c.length;++S){const T=c[S],N=c[S+1]||e.length;T===0?b=`
122
+ ${t}${e.slice(0,N)}`:(n===hr&&p[T]&&(b+=`${e[T]}\\`),b+=`
123
+ ${t}${e.slice(T+1,N)}`)}return b}l(dr,"foldFlowLines");function Ma(e,t,n){let r=t,i=t+1,s=e[i];for(;s===" "||s===" ";)if(t<i+n)s=e[++t];else{do s=e[++t];while(s&&s!==`
124
+ `);r=t,i=t+1,s=e[i]}return r}l(Ma,"consumeMoreIndentedLines");const mr=l((e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),"getFoldOptions"),gr=l(e=>/^(%|---|\.\.\.)/m.test(e),"containsDocumentMarker");function Gb(e,t,n){if(!t||t<0)return!1;const r=t-n,i=e.length;if(i<=r)return!1;for(let s=0,o=0;s<i;++s)if(e[s]===`
125
+ `){if(s-o>r)return!0;if(o=s+1,i-o<=r)return!1}return!0}l(Gb,"lineLengthOverLimit");function On(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,i=t.options.doubleQuotedMinMultiLineLength,s=t.indent||(gr(e)?" ":"");let o="",a=0;for(let u=0,c=n[u];c;c=n[++u])if(c===" "&&n[u+1]==="\\"&&n[u+2]==="n"&&(o+=n.slice(a,u)+"\\ ",u+=1,a=u,c="\\"),c==="\\")switch(n[u+1]){case"u":{o+=n.slice(a,u);const p=n.substr(u+2,4);switch(p){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:p.substr(0,2)==="00"?o+="\\x"+p.substr(2):o+=n.substr(u,6)}u+=5,a=u+1}break;case"n":if(r||n[u+2]==='"'||n.length<i)u+=1;else{for(o+=n.slice(a,u)+`
126
+
127
+ `;n[u+2]==="\\"&&n[u+3]==="n"&&n[u+4]!=='"';)o+=`
128
+ `,u+=2;o+=s,n[u+2]===" "&&(o+="\\"),u+=1,a=u+1}break;default:u+=1}return o=a?o+n.slice(a):n,r?o:dr(o,s,hr,mr(t,!1))}l(On,"doubleQuotedString");function zi(e,t){if(t.options.singleQuote===!1||t.implicitKey&&e.includes(`
129
+ `)||/[ \t]\n|\n[ \t]/.test(e))return On(e,t);const n=t.indent||(gr(e)?" ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&
130
+ ${n}`)+"'";return t.implicitKey?r:dr(r,n,Fa,mr(t,!1))}l(zi,"singleQuotedString");function Kt(e,t){const{singleQuote:n}=t.options;let r;if(n===!1)r=On;else{const i=e.includes('"'),s=e.includes("'");i&&!s?r=zi:s&&!i?r=On:r=n?zi:On}return r(e,t)}l(Kt,"quotedString");let Ui;try{Ui=new RegExp(`(^|(?<!
131
+ ))
132
+ +(?!
133
+ |$)`,"g")}catch{Ui=/\n+(?!\n|$)/g}function yr({comment:e,type:t,value:n},r,i,s){const{blockQuote:o,commentString:a,lineWidth:u}=r.options;if(!o||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return Kt(n,r);const c=r.indent||(r.forceBlockIndent||gr(n)?" ":""),p=o==="literal"?!0:o==="folded"||t===V.BLOCK_FOLDED?!1:t===V.BLOCK_LITERAL?!0:!Gb(n,u,c.length);if(!n)return p?`|
134
+ `:`>
135
+ `;let f,h;for(h=n.length;h>0;--h){const A=n[h-1];if(A!==`
136
+ `&&A!==" "&&A!==" ")break}let d=n.substring(h);const m=d.indexOf(`
137
+ `);m===-1?f="-":n===d||m!==d.length-1?(f="+",s&&s()):f="",d&&(n=n.slice(0,-d.length),d[d.length-1]===`
138
+ `&&(d=d.slice(0,-1)),d=d.replace(Ui,`$&${c}`));let g=!1,y,w=-1;for(y=0;y<n.length;++y){const A=n[y];if(A===" ")g=!0;else if(A===`
139
+ `)w=y;else break}let b=n.substring(0,w<y?w+1:y);b&&(n=n.substring(b.length),b=b.replace(/\n+/g,`$&${c}`));let T=(p?"|":">")+(g?c?"2":"1":"")+f;if(e&&(T+=" "+a(e.replace(/ ?[\r\n]+/g," ")),i&&i()),p)return n=n.replace(/\n+/g,`$&${c}`),`${T}
140
+ ${c}${b}${n}${d}`;n=n.replace(/\n+/g,`
141
+ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`);const N=dr(`${b}${n}${d}`,c,ji,mr(r,!0));return`${T}
142
+ ${c}${N}`}l(yr,"blockString");function Wb(e,t,n,r){const{type:i,value:s}=e,{actualString:o,implicitKey:a,indent:u,indentStep:c,inFlow:p}=t;if(a&&s.includes(`
143
+ `)||p&&/[[\]{},]/.test(s))return Kt(s,t);if(!s||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(s))return a||p||!s.includes(`
144
+ `)?Kt(s,t):yr(e,t,n,r);if(!a&&!p&&i!==V.PLAIN&&s.includes(`
145
+ `))return yr(e,t,n,r);if(gr(s)){if(u==="")return t.forceBlockIndent=!0,yr(e,t,n,r);if(a&&u===c)return Kt(s,t)}const f=s.replace(/\n+/g,`$&
146
+ ${u}`);if(o){const h=l(g=>g.default&&g.tag!=="tag:yaml.org,2002:str"&&g.test?.test(f),"test"),{compat:d,tags:m}=t.doc.schema;if(m.some(h)||d?.some(h))return Kt(s,t)}return a?f:dr(f,u,Fa,mr(t,!1))}l(Wb,"plainString");function Hi(e,t,n,r){const{implicitKey:i,inFlow:s}=t,o=typeof e.value=="string"?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==V.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=V.QUOTE_DOUBLE);const u=l(p=>{switch(p){case V.BLOCK_FOLDED:case V.BLOCK_LITERAL:return i||s?Kt(o.value,t):yr(o,t,n,r);case V.QUOTE_DOUBLE:return On(o.value,t);case V.QUOTE_SINGLE:return zi(o.value,t);case V.PLAIN:return Wb(o,t,n,r);default:return null}},"_stringify");let c=u(a);if(c===null){const{defaultKeyType:p,defaultStringType:f}=t.options,h=i&&p||f;if(c=u(h),c===null)throw new Error(`Unsupported default string type ${h}`)}return c}l(Hi,"stringifyString");function $a(e,t){const n=Object.assign({blockQuote:!0,commentString:Vb,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:typeof n.indent=="number"?" ".repeat(n.indent):" ",inFlow:r,options:n}}l($a,"createStringifyContext");function Kb(e,t){if(t.tag){const i=e.filter(s=>s.tag===t.tag);if(i.length>0)return i.find(s=>s.format===t.format)??i[0]}let n,r;if(re(t)){r=t.value;const i=e.filter(s=>s.identify?.(r));n=i.find(s=>s.format===t.format)??i.find(s=>!s.format)}else r=t,n=e.find(i=>i.nodeClass&&r instanceof i.nodeClass);if(!n){const i=r?.constructor?.name??typeof r;throw new Error(`Tag not resolved for ${i} value`)}return n}l(Kb,"getTagObject");function Yb(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const i=[],s=(re(e)||le(e))&&e.anchor;s&&Da(s)&&(n.add(s),i.push(`&${s}`));const o=e.tag?e.tag:t.default?null:t.tag;return o&&i.push(r.directives.tagString(o)),i.join(" ")}l(Yb,"stringifyProps");function Yt(e,t,n,r){if(ae(e))return e.toString(t,n,r);if(Vt(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i;const s=ce(e)?e:t.doc.createNode(e,{onTagObj:u=>i=u});i||(i=Kb(t.doc.schema.tags,s));const o=Yb(s,i,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);const a=typeof i.stringify=="function"?i.stringify(s,t,n,r):re(s)?Hi(s,t,n,r):s.toString(t,n,r);return o?re(s)||a[0]==="{"||a[0]==="["?`${o} ${a}`:`${o}
147
+ ${t.indent}${a}`:a}l(Yt,"stringify$4");function Jb({key:e,value:t},n,r,i){const{allNullValues:s,doc:o,indent:a,indentStep:u,options:{commentString:c,indentSeq:p,simpleKeys:f}}=n;let h=ce(e)&&e.comment||null;if(f){if(h)throw new Error("With simple keys, key nodes cannot have comments");if(le(e)||!ce(e)&&typeof e=="object"){const E="With simple keys, collection cannot be used as a key value";throw new Error(E)}}let d=!f&&(!e||h&&t==null&&!n.inFlow||le(e)||(re(e)?e.type===V.BLOCK_FOLDED||e.type===V.BLOCK_LITERAL:typeof e=="object"));n=Object.assign({},n,{allNullValues:!1,implicitKey:!d&&(f||!s),indent:a+u});let m=!1,g=!1,y=Yt(e,n,()=>m=!0,()=>g=!0);if(!d&&!n.inFlow&&y.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");d=!0}if(n.inFlow){if(s||t==null)return m&&r&&r(),y===""?"?":d?`? ${y}`:y}else if(s&&!f||t==null&&d)return y=`? ${y}`,h&&!m?y+=St(y,n.indent,c(h)):g&&i&&i(),y;m&&(h=null),d?(h&&(y+=St(y,n.indent,c(h))),y=`? ${y}
148
+ ${a}:`):(y=`${y}:`,h&&(y+=St(y,n.indent,c(h))));let w,b,S;ce(t)?(w=!!t.spaceBefore,b=t.commentBefore,S=t.comment):(w=!1,b=null,S=null,t&&typeof t=="object"&&(t=o.createNode(t))),n.implicitKey=!1,!d&&!h&&re(t)&&(n.indentAtStart=y.length+1),g=!1,!p&&u.length>=2&&!n.inFlow&&!d&&Tn(t)&&!t.flow&&!t.tag&&!t.anchor&&(n.indent=n.indent.substring(2));let T=!1;const N=Yt(t,n,()=>T=!0,()=>g=!0);let A=" ";if(h||w||b){if(A=w?`
149
+ `:"",b){const E=c(b);A+=`
150
+ ${ot(E,n.indent)}`}N===""&&!n.inFlow?A===`
151
+ `&&(A=`
152
+
153
+ `):A+=`
154
+ ${n.indent}`}else if(!d&&le(t)){const E=N[0],$=N.indexOf(`
155
+ `),q=$!==-1,x=n.inFlow??t.flow??t.items.length===0;if(q||!x){let R=!1;if(q&&(E==="&"||E==="!")){let D=N.indexOf(" ");E==="&"&&D!==-1&&D<$&&N[D+1]==="!"&&(D=N.indexOf(" ",D+1)),(D===-1||$<D)&&(R=!0)}R||(A=`
156
+ ${n.indent}`)}}else(N===""||N[0]===`
157
+ `)&&(A="");return y+=A+N,n.inFlow?T&&r&&r():S&&!T?y+=St(y,n.indent,c(S)):g&&i&&i(),y}l(Jb,"stringifyPair");function Ba(e,t){(e==="debug"||e==="warn")&&(typeof process<"u"&&process.emitWarning?process.emitWarning(t):console.warn(t))}l(Ba,"warn");const ja="<<";function za(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&Qb(n))if(r=Vt(r)?r.resolve(e.doc):r,Tn(r))for(const i of r.items)Vi(e,t,i);else if(Array.isArray(r))for(const i of r)Vi(e,t,i);else Vi(e,t,r);else{const i=Ie(n,"",e);if(t instanceof Map)t.set(i,Ie(r,i,e));else if(t instanceof Set)t.add(i);else{const s=Xb(n,i,e),o=Ie(r,s,e);s in t?Object.defineProperty(t,s,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[s]=o}}return t}l(za,"addPairToJSMap");const Qb=l(e=>e===ja||re(e)&&e.value===ja&&(!e.type||e.type===V.PLAIN),"isMergeKey");function Vi(e,t,n){const r=e&&Vt(n)?n.resolve(e.doc):n;if(!Cn(r))throw new Error("Merge sources must be maps or map aliases");const i=r.toJSON(null,e,Map);for(const[s,o]of i)t instanceof Map?t.has(s)||t.set(s,o):t instanceof Set?t.add(s):Object.prototype.hasOwnProperty.call(t,s)||Object.defineProperty(t,s,{value:o,writable:!0,enumerable:!0,configurable:!0});return t}l(Vi,"mergeToJSMap");function Xb(e,t,n){if(t===null)return"";if(typeof t!="object")return String(t);if(ce(e)&&n?.doc){const r=$a(n.doc,{});r.anchors=new Set;for(const s of n.anchors.keys())r.anchors.add(s.anchor);r.inFlow=!0,r.inStringifyKey=!0;const i=e.toString(r);if(!n.mapKeyWarned){let s=JSON.stringify(i);s.length>40&&(s=s.substring(0,36)+'..."'),Ba(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${s}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return i}return JSON.stringify(t)}l(Xb,"stringifyKey");function Gi(e,t,n){const r=En(e,void 0,n),i=En(t,void 0,n);return new xe(r,i)}l(Gi,"createPair");class xe{static{l(this,"Pair")}constructor(t,n=null){Object.defineProperty(this,Le,{value:Ia}),this.key=t,this.value=n}clone(t){let{key:n,value:r}=this;return ce(n)&&(n=n.clone(t)),ce(r)&&(r=r.clone(t)),new xe(n,r)}toJSON(t,n){const r=n?.mapAsMap?new Map:{};return za(n,r,this)}toString(t,n,r){return t?.doc?Jb(this,t,n,r):JSON.stringify(this)}}function Ua(e,t,n){return(t.inFlow??e.flow?ew:Zb)(e,t,n)}l(Ua,"stringifyCollection");function Zb({comment:e,items:t},n,{blockItemPrefix:r,flowChars:i,itemIndent:s,onChompKeep:o,onComment:a}){const{indent:u,options:{commentString:c}}=n,p=Object.assign({},n,{indent:s,type:null});let f=!1;const h=[];for(let m=0;m<t.length;++m){const g=t[m];let y=null;if(ce(g))!f&&g.spaceBefore&&h.push(""),br(n,h,g.commentBefore,f),g.comment&&(y=g.comment);else if(ae(g)){const b=ce(g.key)?g.key:null;b&&(!f&&b.spaceBefore&&h.push(""),br(n,h,b.commentBefore,f))}f=!1;let w=Yt(g,p,()=>y=null,()=>f=!0);y&&(w+=St(w,s,c(y))),f&&y&&(f=!1),h.push(r+w)}let d;if(h.length===0)d=i.start+i.end;else{d=h[0];for(let m=1;m<h.length;++m){const g=h[m];d+=g?`
158
+ ${u}${g}`:`
159
+ `}}return e?(d+=`
160
+ `+ot(c(e),u),a&&a()):f&&o&&o(),d}l(Zb,"stringifyBlockCollection");function ew({items:e},t,{flowChars:n,itemIndent:r}){const{indent:i,indentStep:s,flowCollectionPadding:o,options:{commentString:a}}=t;r+=s;const u=Object.assign({},t,{indent:r,inFlow:!0,type:null});let c=!1,p=0;const f=[];for(let m=0;m<e.length;++m){const g=e[m];let y=null;if(ce(g))g.spaceBefore&&f.push(""),br(t,f,g.commentBefore,!1),g.comment&&(y=g.comment);else if(ae(g)){const b=ce(g.key)?g.key:null;b&&(b.spaceBefore&&f.push(""),br(t,f,b.commentBefore,!1),b.comment&&(c=!0));const S=ce(g.value)?g.value:null;S?(S.comment&&(y=S.comment),S.commentBefore&&(c=!0)):g.value==null&&b?.comment&&(y=b.comment)}y&&(c=!0);let w=Yt(g,u,()=>y=null);m<e.length-1&&(w+=","),y&&(w+=St(w,r,a(y))),!c&&(f.length>p||w.includes(`
161
+ `))&&(c=!0),f.push(w),p=f.length}const{start:h,end:d}=n;if(f.length===0)return h+d;if(!c){const m=f.reduce((g,y)=>g+y.length+2,2);c=t.options.lineWidth>0&&m>t.options.lineWidth}if(c){let m=h;for(const g of f)m+=g?`
162
+ ${s}${i}${g}`:`
163
+ `;return`${m}
164
+ ${i}${d}`}else return`${h}${o}${f.join(" ")}${o}${d}`}l(ew,"stringifyFlowCollection");function br({indent:e,options:{commentString:t}},n,r,i){if(r&&i&&(r=r.replace(/^\n+/,"")),r){const s=ot(t(r),e);n.push(s.trimStart())}}l(br,"addCommentBefore");function xt(e,t){const n=re(t)?t.value:t;for(const r of e)if(ae(r)&&(r.key===t||r.key===n||re(r.key)&&r.key.value===n))return r}l(xt,"findPair");class De extends Bi{static{l(this,"YAMLMap")}static get tagName(){return"tag:yaml.org,2002:map"}constructor(t){super(ht,t),this.items=[]}static from(t,n,r){const{keepUndefined:i,replacer:s}=r,o=new this(t),a=l((u,c)=>{if(typeof s=="function")c=s.call(n,u,c);else if(Array.isArray(s)&&!s.includes(u))return;(c!==void 0||i)&&o.items.push(Gi(u,c,r))},"add");if(n instanceof Map)for(const[u,c]of n)a(u,c);else if(n&&typeof n=="object")for(const u of Object.keys(n))a(u,n[u]);return typeof t.sortMapEntries=="function"&&o.items.sort(t.sortMapEntries),o}add(t,n){let r;ae(t)?r=t:!t||typeof t!="object"||!("key"in t)?r=new xe(t,t?.value):r=new xe(t.key,t.value);const i=xt(this.items,r.key),s=this.schema?.sortMapEntries;if(i){if(!n)throw new Error(`Key ${r.key} already set`);re(i.value)&&qa(r.value)?i.value.value=r.value:i.value=r.value}else if(s){const o=this.items.findIndex(a=>s(r,a)<0);o===-1?this.items.push(r):this.items.splice(o,0,r)}else this.items.push(r)}delete(t){const n=xt(this.items,t);return n?this.items.splice(this.items.indexOf(n),1).length>0:!1}get(t,n){const i=xt(this.items,t)?.value;return(!n&&re(i)?i.value:i)??void 0}has(t){return!!xt(this.items,t)}set(t,n){this.add(new xe(t,n),!0)}toJSON(t,n,r){const i=r?new r:n?.mapAsMap?new Map:{};n?.onCreate&&n.onCreate(i);for(const s of this.items)za(n,i,s);return i}toString(t,n,r){if(!t)return JSON.stringify(this);for(const i of this.items)if(!ae(i))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return!t.allNullValues&&this.hasAllNullValues(!1)&&(t=Object.assign({},t,{allNullValues:!0})),Ua(this,t,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:t.indent||"",onChompKeep:r,onComment:n})}}const Jt={collection:"map",default:!0,nodeClass:De,tag:"tag:yaml.org,2002:map",resolve(e,t){return Cn(e)||t("Expected a mapping for this tag"),e},createNode:(e,t,n)=>De.from(e,t,n)};class At extends Bi{static{l(this,"YAMLSeq")}static get tagName(){return"tag:yaml.org,2002:seq"}constructor(t){super(Ht,t),this.items=[]}add(t){this.items.push(t)}delete(t){const n=wr(t);return typeof n!="number"?!1:this.items.splice(n,1).length>0}get(t,n){const r=wr(t);if(typeof r!="number")return;const i=this.items[r];return!n&&re(i)?i.value:i}has(t){const n=wr(t);return typeof n=="number"&&n<this.items.length}set(t,n){const r=wr(t);if(typeof r!="number")throw new Error(`Expected a valid index, not ${t}.`);const i=this.items[r];re(i)&&qa(n)?i.value=n:this.items[r]=n}toJSON(t,n){const r=[];n?.onCreate&&n.onCreate(r);let i=0;for(const s of this.items)r.push(Ie(s,String(i++),n));return r}toString(t,n,r){return t?Ua(this,t,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(t.indent||"")+" ",onChompKeep:r,onComment:n}):JSON.stringify(this)}static from(t,n,r){const{replacer:i}=r,s=new this(t);if(n&&Symbol.iterator in Object(n)){let o=0;for(let a of n){if(typeof i=="function"){const u=n instanceof Set?a:String(o++);a=i.call(n,u,a)}s.items.push(En(a,void 0,r))}}return s}}function wr(e){let t=re(e)?e.value:e;return t&&typeof t=="string"&&(t=Number(t)),typeof t=="number"&&Number.isInteger(t)&&t>=0?t:null}l(wr,"asItemIndex");const Qt={collection:"seq",default:!0,nodeClass:At,tag:"tag:yaml.org,2002:seq",resolve(e,t){return Tn(e)||t("Expected a sequence for this tag"),e},createNode:(e,t,n)=>At.from(e,t,n)},kr={identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify(e,t,n,r){return t=Object.assign({actualString:!0},t),Hi(e,t,n,r)}},vr={identify:e=>e==null,createNode:()=>new V(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new V(null),stringify:({source:e},t)=>typeof e=="string"&&vr.test.test(e)?e:t.options.nullStr},Wi={identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new V(e[0]==="t"||e[0]==="T"),stringify({source:e,value:t},n){if(e&&Wi.test.test(e)){const r=e[0]==="t"||e[0]==="T";if(t===r)return e}return t?n.options.trueStr:n.options.falseStr}};function He({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r=="bigint")return String(r);const i=typeof r=="number"?r:Number(r);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let s=JSON.stringify(r);if(!e&&t&&(!n||n==="tag:yaml.org,2002:float")&&/^\d/.test(s)){let o=s.indexOf(".");o<0&&(o=s.length,s+=".");let a=t-(s.length-o-1);for(;a-- >0;)s+="0"}return s}l(He,"stringifyNumber");const Ha={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:He},Va={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():He(e)}},Ga={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new V(parseFloat(e)),n=e.indexOf(".");return n!==-1&&e[e.length-1]==="0"&&(t.minFractionDigits=e.length-n-1),t},stringify:He},Sr=l(e=>typeof e=="bigint"||Number.isInteger(e),"intIdentify$2"),Ki=l((e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n),"intResolve$1");function Wa(e,t,n){const{value:r}=e;return Sr(r)&&r>=0?n+r.toString(t):He(e)}l(Wa,"intStringify$1");const Ka={identify:e=>Sr(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Ki(e,2,8,n),stringify:e=>Wa(e,8,"0o")},Ya={identify:Sr,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Ki(e,0,10,n),stringify:He},Ja={identify:e=>Sr(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Ki(e,2,16,n),stringify:e=>Wa(e,16,"0x")},tw=[Jt,Qt,kr,vr,Wi,Ka,Ya,Ja,Ha,Va,Ga];function Qa(e){return typeof e=="bigint"||Number.isInteger(e)}l(Qa,"intIdentify$1");const xr=l(({value:e})=>JSON.stringify(e),"stringifyJSON"),nw=[{identify:e=>typeof e=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:xr},{identify:e=>e==null,createNode:()=>new V(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:xr},{identify:e=>typeof e=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>e==="true",stringify:xr},{identify:Qa,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Qa(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:xr}],rw={default:!0,tag:"",test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}},iw=[Jt,Qt].concat(nw,rw),Yi={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if(typeof Buffer=="function")return Buffer.from(e,"base64");if(typeof atob=="function"){const n=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(n.length);for(let i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}else return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:n},r,i,s){const o=n;let a;if(typeof Buffer=="function")a=o instanceof Buffer?o.toString("base64"):Buffer.from(o.buffer).toString("base64");else if(typeof btoa=="function"){let u="";for(let c=0;c<o.length;++c)u+=String.fromCharCode(o[c]);a=btoa(u)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t||(t=V.BLOCK_LITERAL),t!==V.QUOTE_DOUBLE){const u=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),c=Math.ceil(a.length/u),p=new Array(c);for(let f=0,h=0;f<c;++f,h+=u)p[f]=a.substr(h,u);a=p.join(t===V.BLOCK_LITERAL?`
165
+ `:" ")}return Hi({comment:e,type:t,value:a},r,i,s)}};function Xa(e,t){if(Tn(e))for(let n=0;n<e.items.length;++n){let r=e.items[n];if(!ae(r)){if(Cn(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");const i=r.items[0]||new xe(new V(null));if(r.commentBefore&&(i.key.commentBefore=i.key.commentBefore?`${r.commentBefore}
166
+ ${i.key.commentBefore}`:r.commentBefore),r.comment){const s=i.value??i.key;s.comment=s.comment?`${r.comment}
167
+ ${s.comment}`:r.comment}r=i}e.items[n]=ae(r)?r:new xe(r)}}else t("Expected a sequence for this tag");return e}l(Xa,"resolvePairs");function Za(e,t,n){const{replacer:r}=n,i=new At(e);i.tag="tag:yaml.org,2002:pairs";let s=0;if(t&&Symbol.iterator in Object(t))for(let o of t){typeof r=="function"&&(o=r.call(t,String(s++),o));let a,u;if(Array.isArray(o))if(o.length===2)a=o[0],u=o[1];else throw new TypeError(`Expected [key, value] tuple: ${o}`);else if(o&&o instanceof Object){const c=Object.keys(o);if(c.length===1)a=c[0],u=o[a];else throw new TypeError(`Expected tuple with one key, not ${c.length} keys`)}else a=o;i.items.push(Gi(a,u,n))}return i}l(Za,"createPairs");const Ji={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Xa,createNode:Za};class dn extends At{static{l(this,"YAMLOMap")}constructor(){super(),this.add=De.prototype.add.bind(this),this.delete=De.prototype.delete.bind(this),this.get=De.prototype.get.bind(this),this.has=De.prototype.has.bind(this),this.set=De.prototype.set.bind(this),this.tag=dn.tag}toJSON(t,n){if(!n)return super.toJSON(t);const r=new Map;n?.onCreate&&n.onCreate(r);for(const i of this.items){let s,o;if(ae(i)?(s=Ie(i.key,"",n),o=Ie(i.value,s,n)):s=Ie(i,"",n),r.has(s))throw new Error("Ordered maps must not include duplicate keys");r.set(s,o)}return r}static from(t,n,r){const i=Za(t,n,r),s=new this;return s.items=i.items,s}}dn.tag="tag:yaml.org,2002:omap";const Qi={collection:"seq",identify:e=>e instanceof Map,nodeClass:dn,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Xa(e,t),r=[];for(const{key:i}of n.items)re(i)&&(r.includes(i.value)?t(`Ordered maps must not include duplicate keys: ${i.value}`):r.push(i.value));return Object.assign(new dn,n)},createNode:(e,t,n)=>dn.from(e,t,n)};function el({value:e,source:t},n){return t&&(e?tl:nl).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}l(el,"boolStringify");const tl={identify:e=>e===!0,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new V(!0),stringify:el},nl={identify:e=>e===!1,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new V(!1),stringify:el},sw={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()==="nan"?NaN:e[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:He},ow={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():He(e)}},aw={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new V(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(n!==-1){const r=e.substring(n+1).replace(/_/g,"");r[r.length-1]==="0"&&(t.minFractionDigits=r.length)}return t},stringify:He},Ln=l(e=>typeof e=="bigint"||Number.isInteger(e),"intIdentify");function Ar(e,t,n,{intAsBigInt:r}){const i=e[0];if((i==="-"||i==="+")&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}const o=BigInt(e);return i==="-"?BigInt(-1)*o:o}const s=parseInt(e,n);return i==="-"?-1*s:s}l(Ar,"intResolve");function Xi(e,t,n){const{value:r}=e;if(Ln(r)){const i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return He(e)}l(Xi,"intStringify");const lw={identify:Ln,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>Ar(e,2,2,n),stringify:e=>Xi(e,2,"0b")},uw={identify:Ln,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>Ar(e,1,8,n),stringify:e=>Xi(e,8,"0")},cw={identify:Ln,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>Ar(e,0,10,n),stringify:He},fw={identify:Ln,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>Ar(e,2,16,n),stringify:e=>Xi(e,16,"0x")};class mn extends De{static{l(this,"YAMLSet")}constructor(t){super(t),this.tag=mn.tag}add(t){let n;ae(t)?n=t:t&&typeof t=="object"&&"key"in t&&"value"in t&&t.value===null?n=new xe(t.key,null):n=new xe(t,null),xt(this.items,n.key)||this.items.push(n)}get(t,n){const r=xt(this.items,t);return!n&&ae(r)?re(r.key)?r.key.value:r.key:r}set(t,n){if(typeof n!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof n}`);const r=xt(this.items,t);r&&!n?this.items.splice(this.items.indexOf(r),1):!r&&n&&this.items.push(new xe(t))}toJSON(t,n){return super.toJSON(t,n,Set)}toString(t,n,r){if(!t)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},t,{allNullValues:!0}),n,r);throw new Error("Set items must all have null values")}static from(t,n,r){const{replacer:i}=r,s=new this(t);if(n&&Symbol.iterator in Object(n))for(let o of n)typeof i=="function"&&(o=i.call(n,o,o)),s.items.push(Gi(o,null,r));return s}}mn.tag="tag:yaml.org,2002:set";const Zi={collection:"map",identify:e=>e instanceof Set,nodeClass:mn,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>mn.from(e,t,n),resolve(e,t){if(Cn(e)){if(e.hasAllNullValues(!0))return Object.assign(new mn,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function es(e,t){const n=e[0],r=n==="-"||n==="+"?e.substring(1):e,i=l(o=>t?BigInt(o):Number(o),"num"),s=r.replace(/_/g,"").split(":").reduce((o,a)=>o*i(60)+i(a),i(0));return n==="-"?i(-1)*s:s}l(es,"parseSexagesimal");function rl(e){let{value:t}=e,n=l(o=>o,"num");if(typeof t=="bigint")n=l(o=>BigInt(o),"num");else if(isNaN(t)||!isFinite(t))return He(e);let r="";t<0&&(r="-",t*=n(-1));const i=n(60),s=[t%i];return t<60?s.unshift(0):(t=(t-s[0])/i,s.unshift(t%i),t>=60&&(t=(t-s[0])/i,s.unshift(t))),r+s.map(o=>String(o).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}l(rl,"stringifySexagesimal");const il={identify:e=>typeof e=="bigint"||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>es(e,n),stringify:rl},sl={identify:e=>typeof e=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>es(e,!1),stringify:rl},Cr={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(Cr.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,i,s,o,a]=t.map(Number),u=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,i,s||0,o||0,a||0,u);const p=t[8];if(p&&p!=="Z"){let f=es(p,!1);Math.abs(f)<30&&(f*=60),c-=6e4*f}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},ol=[Jt,Qt,kr,vr,tl,nl,lw,uw,cw,fw,sw,ow,aw,Yi,Qi,Ji,Zi,il,sl,Cr],al=new Map([["core",tw],["failsafe",[Jt,Qt,kr]],["json",iw],["yaml11",ol],["yaml-1.1",ol]]),ll={binary:Yi,bool:Wi,float:Ga,floatExp:Va,floatNaN:Ha,floatTime:sl,int:Ya,intHex:Ja,intOct:Ka,intTime:il,map:Jt,null:vr,omap:Qi,pairs:Ji,seq:Qt,set:Zi,timestamp:Cr},pw={"tag:yaml.org,2002:binary":Yi,"tag:yaml.org,2002:omap":Qi,"tag:yaml.org,2002:pairs":Ji,"tag:yaml.org,2002:set":Zi,"tag:yaml.org,2002:timestamp":Cr};function ts(e,t){let n=al.get(t);if(!n)if(Array.isArray(e))n=[];else{const r=Array.from(al.keys()).filter(i=>i!=="yaml11").map(i=>JSON.stringify(i)).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${r} or define customTags array`)}if(Array.isArray(e))for(const r of e)n=n.concat(r);else typeof e=="function"&&(n=e(n.slice()));return n.map(r=>{if(typeof r!="string")return r;const i=ll[r];if(i)return i;const s=Object.keys(ll).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown custom tag "${r}"; use one of ${s}`)})}l(ts,"getTags");const hw=l((e,t)=>e.key<t.key?-1:e.key>t.key?1:0,"sortMapEntriesByKey");let dw=class Wf{static{l(this,"Schema")}constructor({compat:t,customTags:n,merge:r,resolveKnownTags:i,schema:s,sortMapEntries:o,toStringDefaults:a}){this.compat=Array.isArray(t)?ts(t,"compat"):t?ts(null,t):null,this.merge=!!r,this.name=typeof s=="string"&&s||"core",this.knownTags=i?pw:{},this.tags=ts(n,this.name),this.toStringOptions=a??null,Object.defineProperty(this,ht,{value:Jt}),Object.defineProperty(this,st,{value:kr}),Object.defineProperty(this,Ht,{value:Qt}),this.sortMapEntries=typeof o=="function"?o:o===!0?hw:null}clone(){const t=Object.create(Wf.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}};function mw(e,t){const n=[];let r=t.directives===!0;if(t.directives!==!1&&e.directives){const u=e.directives.toString(e);u?(n.push(u),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const i=$a(e,t),{commentString:s}=i.options;if(e.commentBefore){n.length!==1&&n.unshift("");const u=s(e.commentBefore);n.unshift(ot(u,""))}let o=!1,a=null;if(e.contents){if(ce(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const p=s(e.contents.commentBefore);n.push(ot(p,""))}i.forceBlockIndent=!!e.comment,a=e.contents.comment}const u=a?void 0:()=>o=!0;let c=Yt(e.contents,i,()=>a=null,u);a&&(c+=St(c,"",s(a))),(c[0]==="|"||c[0]===">")&&n[n.length-1]==="---"?n[n.length-1]=`--- ${c}`:n.push(c)}else n.push(Yt(e.contents,i));if(e.directives?.docEnd)if(e.comment){const u=s(e.comment);u.includes(`
168
+ `)?(n.push("..."),n.push(ot(u,""))):n.push(`... ${u}`)}else n.push("...");else{let u=e.comment;u&&o&&(u=u.replace(/^\n+/,"")),u&&((!o||a)&&n[n.length-1]!==""&&n.push(""),n.push(ot(s(u),"")))}return n.join(`
169
+ `)+`
170
+ `}l(mw,"stringifyDocument");class Yn{static{l(this,"Document")}constructor(t,n,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Le,{value:Fi});let i=null;typeof n=="function"||Array.isArray(n)?i=n:r===void 0&&n&&(r=n,n=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},r);this.options=s;let{version:o}=s;r?._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new Ce({version:o}),this.setSchema(o,r),this.contents=t===void 0?null:this.createNode(t,i,r)}clone(){const t=Object.create(Yn.prototype,{[Le]:{value:Fi}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=ce(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(t){Xt(this.contents)&&this.contents.add(t)}addIn(t,n){Xt(this.contents)&&this.contents.addIn(t,n)}createAlias(t,n){if(!t.anchor){const r=Ra(this);t.anchor=!n||r.has(n)?Pa(n||"a",r):n}return new $i(t.anchor)}createNode(t,n,r){let i;if(typeof n=="function")t=n.call({"":t},"",t),i=n;else if(Array.isArray(n)){const y=l(b=>typeof b=="number"||b instanceof String||b instanceof Number,"keyToStr"),w=n.filter(y).map(String);w.length>0&&(n=n.concat(w)),i=n}else r===void 0&&n&&(r=n,n=void 0);const{aliasDuplicateObjects:s,anchorPrefix:o,flow:a,keepUndefined:u,onTagObj:c,tag:p}=r??{},{onAnchor:f,setAnchors:h,sourceObjects:d}=zb(this,o||"a"),m={aliasDuplicateObjects:s??!0,keepUndefined:u??!1,onAnchor:f,onTagObj:c,replacer:i,schema:this.schema,sourceObjects:d},g=En(t,p,m);return a&&le(g)&&(g.flow=!0),h(),g}createPair(t,n,r={}){const i=this.createNode(t,null,r),s=this.createNode(n,null,r);return new xe(i,s)}delete(t){return Xt(this.contents)?this.contents.delete(t):!1}deleteIn(t){return _n(t)?this.contents==null?!1:(this.contents=null,!0):Xt(this.contents)?this.contents.deleteIn(t):!1}get(t,n){return le(this.contents)?this.contents.get(t,n):void 0}getIn(t,n){return _n(t)?!n&&re(this.contents)?this.contents.value:this.contents:le(this.contents)?this.contents.getIn(t,n):void 0}has(t){return le(this.contents)?this.contents.has(t):!1}hasIn(t){return _n(t)?this.contents!==void 0:le(this.contents)?this.contents.hasIn(t):!1}set(t,n){this.contents==null?this.contents=pr(this.schema,[t],n):Xt(this.contents)&&this.contents.set(t,n)}setIn(t,n){_n(t)?this.contents=n:this.contents==null?this.contents=pr(this.schema,Array.from(t),n):Xt(this.contents)&&this.contents.setIn(t,n)}setSchema(t,n={}){typeof t=="number"&&(t=String(t));let r;switch(t){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Ce({version:"1.1"}),r={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=t:this.directives=new Ce({version:t}),r={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{const i=JSON.stringify(t);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${i}`)}}if(n.schema instanceof Object)this.schema=n.schema;else if(r)this.schema=new dw(Object.assign(r,n));else throw new Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:t,jsonArg:n,mapAsMap:r,maxAliasCount:i,onAnchor:s,reviver:o}={}){const a={anchors:new Map,doc:this,keep:!t,mapAsMap:r===!0,mapKeyWarned:!1,maxAliasCount:typeof i=="number"?i:100},u=Ie(this.contents,n??"",a);if(typeof s=="function")for(const{count:c,res:p}of a.anchors.values())s(p,c);return typeof o=="function"?Wt(o,{"":u},"",u):u}toJSON(t,n){return this.toJS({json:!0,jsonArg:t,mapAsMap:!1,onAnchor:n})}toString(t={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in t&&(!Number.isInteger(t.indent)||Number(t.indent)<=0)){const n=JSON.stringify(t.indent);throw new Error(`"indent" option must be a positive integer, not ${n}`)}return mw(this,t)}}function Xt(e){if(le(e))return!0;throw new Error("Expected a YAML collection as document contents")}l(Xt,"assertCollection");class ul extends Error{static{l(this,"YAMLError")}constructor(t,n,r,i){super(),this.name=t,this.code=r,this.message=i,this.pos=n}}class In extends ul{static{l(this,"YAMLParseError")}constructor(t,n,r){super("YAMLParseError",t,n,r)}}class gw extends ul{static{l(this,"YAMLWarning")}constructor(t,n,r){super("YAMLWarning",t,n,r)}}const cl=l((e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(a=>t.linePos(a));const{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let s=i-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(s>=60&&o.length>80){const a=Math.min(s-39,o.length-79);o="\u2026"+o.substring(a),s-=a-1}if(o.length>80&&(o=o.substring(0,79)+"\u2026"),r>1&&/^ *$/.test(o.substring(0,s))){let a=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);a.length>80&&(a=a.substring(0,79)+`\u2026
171
+ `),o=a+o}if(/[^ ]/.test(o)){let a=1;const u=n.linePos[1];u&&u.line===r&&u.col>i&&(a=Math.max(1,Math.min(u.col-i,80-s)));const c=" ".repeat(s)+"^".repeat(a);n.message+=`:
172
+
173
+ ${o}
174
+ ${c}
175
+ `}},"prettifyError");function Zt(e,{flow:t,indicator:n,next:r,offset:i,onError:s,startOnNewline:o}){let a=!1,u=o,c=o,p="",f="",h=!1,d=!1,m=!1,g=null,y=null,w=null,b=null,S=null;for(const A of e)switch(m&&(A.type!=="space"&&A.type!=="newline"&&A.type!=="comma"&&s(A.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m=!1),A.type){case"space":!t&&u&&n!=="doc-start"&&A.source[0]===" "&&s(A,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||s(A,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const E=A.source.substring(1)||" ";p?p+=f+E:p=E,f="",u=!1;break}case"newline":u?p?p+=A.source:a=!0:f+=A.source,u=!0,h=!0,(g||y)&&(d=!0),c=!0;break;case"anchor":g&&s(A,"MULTIPLE_ANCHORS","A node can have at most one anchor"),A.source.endsWith(":")&&s(A.offset+A.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=A,S===null&&(S=A.offset),u=!1,c=!1,m=!0;break;case"tag":{y&&s(A,"MULTIPLE_TAGS","A node can have at most one tag"),y=A,S===null&&(S=A.offset),u=!1,c=!1,m=!0;break}case n:(g||y)&&s(A,"BAD_PROP_ORDER",`Anchors and tags must be after the ${A.source} indicator`),b&&s(A,"UNEXPECTED_TOKEN",`Unexpected ${A.source} in ${t??"collection"}`),b=A,u=!1,c=!1;break;case"comma":if(t){w&&s(A,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),w=A,u=!1,c=!1;break}default:s(A,"UNEXPECTED_TOKEN",`Unexpected ${A.type} token`),u=!1,c=!1}const T=e[e.length-1],N=T?T.offset+T.source.length:i;return m&&r&&r.type!=="space"&&r.type!=="newline"&&r.type!=="comma"&&(r.type!=="scalar"||r.source!=="")&&s(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:w,found:b,spaceBefore:a,comment:p,hasNewline:h,hasNewlineAfterProp:d,anchor:g,tag:y,end:N,start:S??N}}l(Zt,"resolveProps");function Dn(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes(`
176
+ `))return!0;if(e.end){for(const t of e.end)if(t.type==="newline")return!0}return!1;case"flow-collection":for(const t of e.items){for(const n of t.start)if(n.type==="newline")return!0;if(t.sep){for(const n of t.sep)if(n.type==="newline")return!0}if(Dn(t.key)||Dn(t.value))return!0}return!1;default:return!0}}l(Dn,"containsNewline");function ns(e,t,n){if(t?.type==="flow-collection"){const r=t.end[0];r.indent===e&&(r.source==="]"||r.source==="}")&&Dn(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}l(ns,"flowIndentCheck");function fl(e,t,n){const{uniqueKeys:r}=e.options;if(r===!1)return!1;const i=typeof r=="function"?r:(s,o)=>s===o||re(s)&&re(o)&&s.value===o.value&&!(s.value==="<<"&&e.schema.merge);return t.some(s=>i(s.key,n))}l(fl,"mapIncludes");const pl="All mapping items must start at the same column";function yw({composeNode:e,composeEmptyNode:t},n,r,i,s){const o=s?.nodeClass??De,a=new o(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,c=null;for(const p of r.items){const{start:f,key:h,sep:d,value:m}=p,g=Zt(f,{indicator:"explicit-key-ind",next:h??d?.[0],offset:u,onError:i,startOnNewline:!0}),y=!g.found;if(y){if(h&&(h.type==="block-seq"?i(u,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in h&&h.indent!==r.indent&&i(u,"BAD_INDENT",pl)),!g.anchor&&!g.tag&&!d){c=g.end,g.comment&&(a.comment?a.comment+=`
177
+ `+g.comment:a.comment=g.comment);continue}(g.hasNewlineAfterProp||Dn(h))&&i(h??f[f.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else g.found?.indent!==r.indent&&i(u,"BAD_INDENT",pl);const w=g.end,b=h?e(n,h,g,i):t(n,w,f,null,g,i);n.schema.compat&&ns(r.indent,h,i),fl(n,a.items,b)&&i(w,"DUPLICATE_KEY","Map keys must be unique");const S=Zt(d??[],{indicator:"map-value-ind",next:m,offset:b.range[2],onError:i,startOnNewline:!h||h.type==="block-scalar"});if(u=S.end,S.found){y&&(m?.type==="block-map"&&!S.hasNewline&&i(u,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&g.start<S.found.offset-1024&&i(b.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));const T=m?e(n,m,S,i):t(n,u,d,null,S,i);n.schema.compat&&ns(r.indent,m,i),u=T.range[2];const N=new xe(b,T);n.options.keepSourceTokens&&(N.srcToken=p),a.items.push(N)}else{y&&i(b.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),S.comment&&(b.comment?b.comment+=`
178
+ `+S.comment:b.comment=S.comment);const T=new xe(b);n.options.keepSourceTokens&&(T.srcToken=p),a.items.push(T)}}return c&&c<u&&i(c,"IMPOSSIBLE","Map comment with trailing content"),a.range=[r.offset,u,c??u],a}l(yw,"resolveBlockMap");function bw({composeNode:e,composeEmptyNode:t},n,r,i,s){const o=s?.nodeClass??At,a=new o(n.schema);n.atRoot&&(n.atRoot=!1);let u=r.offset,c=null;for(const{start:p,value:f}of r.items){const h=Zt(p,{indicator:"seq-item-ind",next:f,offset:u,onError:i,startOnNewline:!0});if(!h.found)if(h.anchor||h.tag||f)f&&f.type==="block-seq"?i(h.end,"BAD_INDENT","All sequence items must start at the same column"):i(u,"MISSING_CHAR","Sequence item without - indicator");else{c=h.end,h.comment&&(a.comment=h.comment);continue}const d=f?e(n,f,h,i):t(n,h.end,p,null,h,i);n.schema.compat&&ns(r.indent,f,i),u=d.range[2],a.items.push(d)}return a.range=[r.offset,u,c??u],a}l(bw,"resolveBlockSeq");function Rn(e,t,n,r){let i="";if(e){let s=!1,o="";for(const a of e){const{source:u,type:c}=a;switch(c){case"space":s=!0;break;case"comment":{n&&!s&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const p=u.substring(1)||" ";i?i+=o+p:i=p,o="";break}case"newline":i&&(o+=u),s=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=u.length}}return{comment:i,offset:t}}l(Rn,"resolveEnd");const rs="Block collections are not allowed within flow collections",is=l(e=>e&&(e.type==="block-map"||e.type==="block-seq"),"isBlock");function ww({composeNode:e,composeEmptyNode:t},n,r,i,s){const o=r.start.source==="{",a=o?"flow map":"flow sequence",u=s?.nodeClass??(o?De:At),c=new u(n.schema);c.flow=!0;const p=n.atRoot;p&&(n.atRoot=!1);let f=r.offset+r.start.source.length;for(let y=0;y<r.items.length;++y){const w=r.items[y],{start:b,key:S,sep:T,value:N}=w,A=Zt(b,{flow:a,indicator:"explicit-key-ind",next:S??T?.[0],offset:f,onError:i,startOnNewline:!1});if(!A.found){if(!A.anchor&&!A.tag&&!T&&!N){y===0&&A.comma?i(A.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`):y<r.items.length-1&&i(A.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${a}`),A.comment&&(c.comment?c.comment+=`
179
+ `+A.comment:c.comment=A.comment),f=A.end;continue}!o&&n.options.strict&&Dn(S)&&i(S,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(y===0)A.comma&&i(A.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${a}`);else if(A.comma||i(A.start,"MISSING_CHAR",`Missing , between ${a} items`),A.comment){let E="";e:for(const $ of b)switch($.type){case"comma":case"space":break;case"comment":E=$.source.substring(1);break e;default:break e}if(E){let $=c.items[c.items.length-1];ae($)&&($=$.value??$.key),$.comment?$.comment+=`
180
+ `+E:$.comment=E,A.comment=A.comment.substring(E.length+1)}}if(!o&&!T&&!A.found){const E=N?e(n,N,A,i):t(n,A.end,T,null,A,i);c.items.push(E),f=E.range[2],is(N)&&i(E.range,"BLOCK_IN_FLOW",rs)}else{const E=A.end,$=S?e(n,S,A,i):t(n,E,b,null,A,i);is(S)&&i($.range,"BLOCK_IN_FLOW",rs);const q=Zt(T??[],{flow:a,indicator:"map-value-ind",next:N,offset:$.range[2],onError:i,startOnNewline:!1});if(q.found){if(!o&&!A.found&&n.options.strict){if(T)for(const D of T){if(D===q.found)break;if(D.type==="newline"){i(D,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}A.start<q.found.offset-1024&&i(q.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else N&&("source"in N&&N.source&&N.source[0]===":"?i(N,"MISSING_CHAR",`Missing space after : in ${a}`):i(q.start,"MISSING_CHAR",`Missing , or : between ${a} items`));const x=N?e(n,N,q,i):q.found?t(n,q.end,T,null,q,i):null;x?is(N)&&i(x.range,"BLOCK_IN_FLOW",rs):q.comment&&($.comment?$.comment+=`
181
+ `+q.comment:$.comment=q.comment);const R=new xe($,x);if(n.options.keepSourceTokens&&(R.srcToken=w),o){const D=c;fl(n,D.items,$)&&i(E,"DUPLICATE_KEY","Map keys must be unique"),D.items.push(R)}else{const D=new De(n.schema);D.flow=!0,D.items.push(R),c.items.push(D)}f=x?x.range[2]:q.end}}const h=o?"}":"]",[d,...m]=r.end;let g=f;if(d&&d.source===h)g=d.offset+d.source.length;else{const y=a[0].toUpperCase()+a.substring(1),w=p?`${y} must end with a ${h}`:`${y} in block collection must be sufficiently indented and end with a ${h}`;i(f,p?"MISSING_CHAR":"BAD_INDENT",w),d&&d.source.length!==1&&m.unshift(d)}if(m.length>0){const y=Rn(m,g,n.options.strict,i);y.comment&&(c.comment?c.comment+=`
182
+ `+y.comment:c.comment=y.comment),c.range=[r.offset,g,y.offset]}else c.range=[r.offset,g,g];return c}l(ww,"resolveFlowCollection");function ss(e,t,n,r,i,s){const o=n.type==="block-map"?yw(e,t,n,r,s):n.type==="block-seq"?bw(e,t,n,r,s):ww(e,t,n,r,s),a=o.constructor;return i==="!"||i===a.tagName?(o.tag=a.tagName,o):(i&&(o.tag=i),o)}l(ss,"resolveCollection");function kw(e,t,n,r,i){const s=r?t.directives.tagName(r.source,f=>i(r,"TAG_RESOLVE_FAILED",f)):null,o=n.type==="block-map"?"map":n.type==="block-seq"?"seq":n.start.source==="{"?"map":"seq";if(!r||!s||s==="!"||s===De.tagName&&o==="map"||s===At.tagName&&o==="seq"||!o)return ss(e,t,n,i,s);let a=t.schema.tags.find(f=>f.tag===s&&f.collection===o);if(!a){const f=t.schema.knownTags[s];if(f&&f.collection===o)t.schema.tags.push(Object.assign({},f,{default:!1})),a=f;else return f?.collection?i(r,"BAD_COLLECTION_TYPE",`${f.tag} used for ${o} collection, but expects ${f.collection}`,!0):i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${s}`,!0),ss(e,t,n,i,s)}const u=ss(e,t,n,i,s,a),c=a.resolve?.(u,f=>i(r,"TAG_RESOLVE_FAILED",f),t.options)??u,p=ce(c)?c:new V(c);return p.range=u.range,p.tag=s,a?.format&&(p.format=a.format),p}l(kw,"composeCollection");function vw(e,t,n){const r=e.offset,i=Sw(e,t,n);if(!i)return{value:"",type:null,comment:"",range:[r,r,r]};const s=i.mode===">"?V.BLOCK_FOLDED:V.BLOCK_LITERAL,o=e.source?xw(e.source):[];let a=o.length;for(let g=o.length-1;g>=0;--g){const y=o[g][1];if(y===""||y==="\r")a=g;else break}if(a===0){const g=i.chomp==="+"&&o.length>0?`
183
+ `.repeat(Math.max(1,o.length-1)):"";let y=r+i.length;return e.source&&(y+=e.source.length),{value:g,type:s,comment:i.comment,range:[r,y,y]}}let u=e.indent+i.indent,c=e.offset+i.length,p=0;for(let g=0;g<a;++g){const[y,w]=o[g];if(w===""||w==="\r")i.indent===0&&y.length>u&&(u=y.length);else{y.length<u&&n(c+y.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),i.indent===0&&(u=y.length),p=g;break}c+=y.length+w.length+1}for(let g=o.length-1;g>=a;--g)o[g][0].length>u&&(a=g+1);let f="",h="",d=!1;for(let g=0;g<p;++g)f+=o[g][0].slice(u)+`
184
+ `;for(let g=p;g<a;++g){let[y,w]=o[g];c+=y.length+w.length+1;const b=w[w.length-1]==="\r";if(b&&(w=w.slice(0,-1)),w&&y.length<u){const T=`Block scalar lines must not be less indented than their ${i.indent?"explicit indentation indicator":"first line"}`;n(c-w.length-(b?2:1),"BAD_INDENT",T),y=""}s===V.BLOCK_LITERAL?(f+=h+y.slice(u)+w,h=`
185
+ `):y.length>u||w[0]===" "?(h===" "?h=`
186
+ `:!d&&h===`
187
+ `&&(h=`
188
+
189
+ `),f+=h+y.slice(u)+w,h=`
190
+ `,d=!0):w===""?h===`
191
+ `?f+=`
192
+ `:h=`
193
+ `:(f+=h+w,h=" ",d=!1)}switch(i.chomp){case"-":break;case"+":for(let g=a;g<o.length;++g)f+=`
194
+ `+o[g][0].slice(u);f[f.length-1]!==`
195
+ `&&(f+=`
196
+ `);break;default:f+=`
197
+ `}const m=r+i.length+e.source.length;return{value:f,type:s,comment:i.comment,range:[r,m,m]}}l(vw,"resolveBlockScalar");function Sw({offset:e,props:t},n,r){if(t[0].type!=="block-scalar-header")return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:i}=t[0],s=i[0];let o=0,a="",u=-1;for(let h=1;h<i.length;++h){const d=i[h];if(!a&&(d==="-"||d==="+"))a=d;else{const m=Number(d);!o&&m?o=m:u===-1&&(u=e+h)}}u!==-1&&r(u,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,p="",f=i.length;for(let h=1;h<t.length;++h){const d=t[h];switch(d.type){case"space":c=!0;case"newline":f+=d.source.length;break;case"comment":n&&!c&&r(d,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),f+=d.source.length,p=d.source.substring(1);break;case"error":r(d,"UNEXPECTED_TOKEN",d.message),f+=d.source.length;break;default:{const m=`Unexpected token in block scalar header: ${d.type}`;r(d,"UNEXPECTED_TOKEN",m);const g=d.source;g&&typeof g=="string"&&(f+=g.length)}}}return{mode:s,indent:o,chomp:a,comment:p,length:f}}l(Sw,"parseBlockScalarHeader");function xw(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),s=[r?.[1]?[r[1],n.slice(r[1].length)]:["",n]];for(let o=1;o<t.length;o+=2)s.push([t[o],t[o+1]]);return s}l(xw,"splitLines$1");function Aw(e,t,n){const{offset:r,type:i,source:s,end:o}=e;let a,u;const c=l((h,d,m)=>n(r+h,d,m),"_onError");switch(i){case"scalar":a=V.PLAIN,u=Cw(s,c);break;case"single-quoted-scalar":a=V.QUOTE_SINGLE,u=Tw(s,c);break;case"double-quoted-scalar":a=V.QUOTE_DOUBLE,u=Nw(s,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[r,r+s.length,r+s.length]}}const p=r+s.length,f=Rn(o,p,t,n);return{value:u,type:a,comment:f.comment,range:[r,p,f.offset]}}l(Aw,"resolveFlowScalar");function Cw(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":{n=`block scalar indicator ${e[0]}`;break}case"@":case"`":{n=`reserved character ${e[0]}`;break}}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),hl(e)}l(Cw,"plainValue");function Tw(e,t){return(e[e.length-1]!=="'"||e.length===1)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),hl(e.slice(1,-1)).replace(/''/g,"'")}l(Tw,"singleQuotedValue");function hl(e){let t,n;try{t=new RegExp(`(.*?)(?<![ ])[ ]*\r?
198
+ `,"sy"),n=new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
199
+ `,"sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let i=r[1],s=" ",o=t.lastIndex;for(n.lastIndex=o;r=n.exec(e);)r[1]===""?s===`
200
+ `?i+=s:s=`
201
+ `:(i+=s+r[1],s=" "),o=n.lastIndex;const a=/[ \t]*(.*)/sy;return a.lastIndex=o,r=a.exec(e),i+s+(r?.[1]??"")}l(hl,"foldLines");function Nw(e,t){let n="";for(let r=1;r<e.length-1;++r){const i=e[r];if(!(i==="\r"&&e[r+1]===`
202
+ `))if(i===`
203
+ `){const{fold:s,offset:o}=Ew(e,r);n+=s,r=o}else if(i==="\\"){let s=e[++r];const o=_w[s];if(o)n+=o;else if(s===`
204
+ `)for(s=e[r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="\r"&&e[r+1]===`
205
+ `)for(s=e[++r+1];s===" "||s===" ";)s=e[++r+1];else if(s==="x"||s==="u"||s==="U"){const a={x:2,u:4,U:8}[s];n+=Ow(e,r+1,a,t),r+=a}else{const a=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),n+=a}}else if(i===" "||i===" "){const s=r;let o=e[r+1];for(;o===" "||o===" ";)o=e[++r+1];o!==`
206
+ `&&!(o==="\r"&&e[r+2]===`
207
+ `)&&(n+=r>s?e.slice(s,r+1):i)}else n+=i}return(e[e.length-1]!=='"'||e.length===1)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}l(Nw,"doubleQuotedValue");function Ew(e,t){let n="",r=e[t+1];for(;(r===" "||r===" "||r===`
208
+ `||r==="\r")&&!(r==="\r"&&e[t+2]!==`
209
+ `);)r===`
210
+ `&&(n+=`
211
+ `),t+=1,r=e[t+1];return n||(n=" "),{fold:n,offset:t}}l(Ew,"foldNewline");const _w={0:"\0",a:"\x07",b:"\b",e:"\x1B",f:"\f",n:`
212
+ `,r:"\r",t:" ",v:"\v",N:"\x85",_:"\xA0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function Ow(e,t,n,r){const i=e.substr(t,n),o=i.length===n&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;if(isNaN(o)){const a=e.substr(t-2,n+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${a}`),a}return String.fromCodePoint(o)}l(Ow,"parseCharCode");function dl(e,t,n,r){const{value:i,type:s,comment:o,range:a}=t.type==="block-scalar"?vw(t,e.options.strict,r):Aw(t,e.options.strict,r),u=n?e.directives.tagName(n.source,f=>r(n,"TAG_RESOLVE_FAILED",f)):null,c=n&&u?Lw(e.schema,i,u,n,r):t.type==="scalar"?Iw(e,i,t,r):e.schema[st];let p;try{const f=c.resolve(i,h=>r(n??t,"TAG_RESOLVE_FAILED",h),e.options);p=re(f)?f:new V(f)}catch(f){const h=f instanceof Error?f.message:String(f);r(n??t,"TAG_RESOLVE_FAILED",h),p=new V(i)}return p.range=a,p.source=i,s&&(p.type=s),u&&(p.tag=u),c.format&&(p.format=c.format),o&&(p.comment=o),p}l(dl,"composeScalar");function Lw(e,t,n,r,i){if(n==="!")return e[st];const s=[];for(const a of e.tags)if(!a.collection&&a.tag===n)if(a.default&&a.test)s.push(a);else return a;for(const a of s)if(a.test?.test(t))return a;const o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(i(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,n!=="tag:yaml.org,2002:str"),e[st])}l(Lw,"findScalarTagByName");function Iw({directives:e,schema:t},n,r,i){const s=t.tags.find(o=>o.default&&o.test?.test(n))||t[st];if(t.compat){const o=t.compat.find(a=>a.default&&a.test?.test(n))??t[st];if(s.tag!==o.tag){const a=e.tagString(s.tag),u=e.tagString(o.tag),c=`Value may be parsed as either ${a} or ${u}`;i(r,"TAG_RESOLVE_FAILED",c,!0)}}return s}l(Iw,"findScalarTagByTest");function Dw(e,t,n){if(t){n===null&&(n=t.length);for(let r=n-1;r>=0;--r){let i=t[r];switch(i.type){case"space":case"comment":case"newline":e-=i.source.length;continue}for(i=t[++r];i?.type==="space";)e+=i.source.length,i=t[++r];break}}return e}l(Dw,"emptyScalarPosition");const Rw={composeNode:ml,composeEmptyNode:os};function ml(e,t,n,r){const{spaceBefore:i,comment:s,anchor:o,tag:a}=n;let u,c=!0;switch(t.type){case"alias":u=Pw(e,t,r),(o||a)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=dl(e,t,a,r),o&&(u.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=kw(Rw,e,t,a,r),o&&(u.anchor=o.source.substring(1));break;default:{const p=t.type==="error"?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",p),u=os(e,t.offset,void 0,null,n,r),c=!1}}return o&&u.anchor===""&&r(o,"BAD_ALIAS","Anchor cannot be an empty string"),i&&(u.spaceBefore=!0),s&&(t.type==="scalar"&&t.source===""?u.comment=s:u.commentBefore=s),e.options.keepSourceTokens&&c&&(u.srcToken=t),u}l(ml,"composeNode");function os(e,t,n,r,{spaceBefore:i,comment:s,anchor:o,tag:a,end:u},c){const p={type:"scalar",offset:Dw(t,n,r),indent:-1,source:""},f=dl(e,p,a,c);return o&&(f.anchor=o.source.substring(1),f.anchor===""&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(f.spaceBefore=!0),s&&(f.comment=s,f.range[2]=u),f}l(os,"composeEmptyNode");function Pw({options:e},{offset:t,source:n,end:r},i){const s=new $i(n.substring(1));s.source===""&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),s.source.endsWith(":")&&i(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=t+n.length,a=Rn(r,o,e.strict,i);return s.range=[t,o,a.offset],a.comment&&(s.comment=a.comment),s}l(Pw,"composeAlias");function qw(e,t,{offset:n,start:r,value:i,end:s},o){const a=Object.assign({_directives:t},e),u=new Yn(void 0,a),c={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},p=Zt(r,{indicator:"doc-start",next:i??s?.[0],offset:n,onError:o,startOnNewline:!0});p.found&&(u.directives.docStart=!0,i&&(i.type==="block-map"||i.type==="block-seq")&&!p.hasNewline&&o(p.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=i?ml(c,i,p,o):os(c,p.end,r,null,p,o);const f=u.contents.range[2],h=Rn(s,f,!1,o);return h.comment&&(u.comment=h.comment),u.range=[n,f,h.offset],u}l(qw,"composeDoc");function Pn(e){if(typeof e=="number")return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+(typeof n=="string"?n.length:1)]}l(Pn,"getErrorPos");function gl(e){let t="",n=!1,r=!1;for(let i=0;i<e.length;++i){const s=e[i];switch(s[0]){case"#":t+=(t===""?"":r?`
213
+
214
+ `:`
215
+ `)+(s.substring(1)||" "),n=!0,r=!1;break;case"%":e[i+1]?.[0]!=="#"&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}l(gl,"parsePrelude");class Fw{static{l(this,"Composer")}constructor(t={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(n,r,i,s)=>{const o=Pn(n);s?this.warnings.push(new gw(o,r,i)):this.errors.push(new In(o,r,i))},this.directives=new Ce({version:t.version||"1.2"}),this.options=t}decorate(t,n){const{comment:r,afterEmptyLine:i}=gl(this.prelude);if(r){const s=t.contents;if(n)t.comment=t.comment?`${t.comment}
216
+ ${r}`:r;else if(i||t.directives.docStart||!s)t.commentBefore=r;else if(le(s)&&!s.flow&&s.items.length>0){let o=s.items[0];ae(o)&&(o=o.key);const a=o.commentBefore;o.commentBefore=a?`${r}
217
+ ${a}`:r}else{const o=s.commentBefore;s.commentBefore=o?`${r}
218
+ ${o}`:r}}n?(Array.prototype.push.apply(t.errors,this.errors),Array.prototype.push.apply(t.warnings,this.warnings)):(t.errors=this.errors,t.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:gl(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(t,n=!1,r=-1){for(const i of t)yield*this.next(i);yield*this.end(n,r)}*next(t){switch(t.type){case"directive":this.directives.add(t.source,(n,r,i)=>{const s=Pn(t);s[0]+=n,this.onError(s,"BAD_DIRECTIVE",r,i)}),this.prelude.push(t.source),this.atDirectives=!0;break;case"document":{const n=qw(this.options,this.directives,t,this.onError);this.atDirectives&&!n.directives.docStart&&this.onError(t,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(n,!1),this.doc&&(yield this.doc),this.doc=n,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(t.source);break;case"error":{const n=t.source?`${t.message}: ${JSON.stringify(t.source)}`:t.message,r=new In(Pn(t),"UNEXPECTED_TOKEN",n);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){const r="Unexpected doc-end without preceding document";this.errors.push(new In(Pn(t),"UNEXPECTED_TOKEN",r));break}this.doc.directives.docEnd=!0;const n=Rn(t.end,t.offset+t.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),n.comment){const r=this.doc.comment;this.doc.comment=r?`${r}
219
+ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.push(new In(Pn(t),"UNEXPECTED_TOKEN",`Unsupported token ${t.type}`))}}*end(t=!1,n=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(t){const r=Object.assign({_directives:this.directives},this.options),i=new Yn(void 0,r);this.atDirectives&&this.onError(n,"MISSING_CHAR","Missing directives-end indicator line"),i.range=[0,n,n],this.decorate(i,!1),yield i}}}const yl="\uFEFF",bl="",wl="",as="";function Mw(e){switch(e){case yl:return"byte-order-mark";case bl:return"doc-mode";case wl:return"flow-error-end";case as:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case`
220
+ `:case`\r
221
+ `:return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}l(Mw,"tokenType");function Re(e){switch(e){case void 0:case" ":case`
222
+ `:case"\r":case" ":return!0;default:return!1}}l(Re,"isEmpty");const kl="0123456789ABCDEFabcdef".split(""),$w="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),ls=",[]{}".split(""),Bw=` ,[]{}
223
+ \r `.split(""),us=l(e=>!e||Bw.includes(e),"isNotAnchorChar");class jw{static{l(this,"Lexer")}constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(t,n=!1){if(t){if(typeof t!="string")throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+t:t,this.lineEndPos=null}this.atEnd=!n;let r=this.next??"stream";for(;r&&(n||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let t=this.pos,n=this.buffer[t];for(;n===" "||n===" ";)n=this.buffer[++t];return!n||n==="#"||n===`
224
+ `?!0:n==="\r"?this.buffer[t+1]===`
225
+ `:!1}charAt(t){return this.buffer[this.pos+t]}continueScalar(t){let n=this.buffer[t];if(this.indentNext>0){let r=0;for(;n===" ";)n=this.buffer[++r+t];if(n==="\r"){const i=this.buffer[r+t+1];if(i===`
226
+ `||!i&&!this.atEnd)return t+r+1}return n===`
227
+ `||r>=this.indentNext||!n&&!this.atEnd?t+r:-1}if(n==="-"||n==="."){const r=this.buffer.substr(t,3);if((r==="---"||r==="...")&&Re(this.buffer[t+3]))return-1}return t}getLine(){let t=this.lineEndPos;return(typeof t!="number"||t!==-1&&t<this.pos)&&(t=this.buffer.indexOf(`
228
+ `,this.pos),this.lineEndPos=t),t===-1?this.atEnd?this.buffer.substring(this.pos):null:(this.buffer[t-1]==="\r"&&(t-=1),this.buffer.substring(this.pos,t))}hasChars(t){return this.pos+t<=this.buffer.length}setNext(t){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=t,null}peek(t){return this.buffer.substr(this.pos,t)}*parseNext(t){switch(t){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let t=this.getLine();if(t===null)return this.setNext("stream");if(t[0]===yl&&(yield*this.pushCount(1),t=t.substring(1)),t[0]==="%"){let n=t.length,r=t.indexOf("#");for(;r!==-1;){const s=t[r-1];if(s===" "||s===" "){n=r-1;break}else r=t.indexOf("#",r+1)}for(;;){const s=t[n-1];if(s===" "||s===" ")n-=1;else break}const i=(yield*this.pushCount(n))+(yield*this.pushSpaces(!0));return yield*this.pushCount(t.length-i),this.pushNewline(),"stream"}if(this.atLineEnd()){const n=yield*this.pushSpaces(!0);return yield*this.pushCount(t.length-n),yield*this.pushNewline(),"stream"}return yield bl,yield*this.parseLineStart()}*parseLineStart(){const t=this.charAt(0);if(!t&&!this.atEnd)return this.setNext("line-start");if(t==="-"||t==="."){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");const n=this.peek(3);if(n==="---"&&Re(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"doc";if(n==="..."&&Re(this.charAt(3)))return yield*this.pushCount(3),"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!Re(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[t,n]=this.peek(2);if(!n&&!this.atEnd)return this.setNext("block-start");if((t==="-"||t==="?"||t===":")&&Re(n)){const r=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=r,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const t=this.getLine();if(t===null)return this.setNext("doc");let n=yield*this.pushIndicators();switch(t[n]){case"#":yield*this.pushCount(t.length-n);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(us),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return n+=yield*this.parseBlockScalarHeader(),n+=yield*this.pushSpaces(!0),yield*this.pushCount(t.length-n),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let t,n,r=-1;do t=yield*this.pushNewline(),t>0?(n=yield*this.pushSpaces(!1),this.indentValue=r=n):n=0,n+=yield*this.pushSpaces(!0);while(t+n>0);const i=this.getLine();if(i===null)return this.setNext("flow");if((r!==-1&&r<this.indentNext&&i[0]!=="#"||r===0&&(i.startsWith("---")||i.startsWith("..."))&&Re(i[3]))&&!(r===this.indentNext-1&&this.flowLevel===1&&(i[0]==="]"||i[0]==="}")))return this.flowLevel=0,yield wl,yield*this.parseLineStart();let s=0;for(;i[s]===",";)s+=yield*this.pushCount(1),s+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(s+=yield*this.pushIndicators(),i[s]){case void 0:return"flow";case"#":return yield*this.pushCount(i.length-s),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(us),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{const o=this.charAt(1);if(this.flowKey||Re(o)||o===",")return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){const t=this.charAt(0);let n=this.buffer.indexOf(t,this.pos+1);if(t==="'")for(;n!==-1&&this.buffer[n+1]==="'";)n=this.buffer.indexOf("'",n+2);else for(;n!==-1;){let s=0;for(;this.buffer[n-1-s]==="\\";)s+=1;if(s%2===0)break;n=this.buffer.indexOf('"',n+1)}const r=this.buffer.substring(0,n);let i=r.indexOf(`
229
+ `,this.pos);if(i!==-1){for(;i!==-1;){const s=this.continueScalar(i+1);if(s===-1)break;i=r.indexOf(`
230
+ `,s)}i!==-1&&(n=i-(r[i-1]==="\r"?2:1))}if(n===-1){if(!this.atEnd)return this.setNext("quoted-scalar");n=this.buffer.length}return yield*this.pushToIndex(n+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let t=this.pos;for(;;){const n=this.buffer[++t];if(n==="+")this.blockScalarKeep=!0;else if(n>"0"&&n<="9")this.blockScalarIndent=Number(n)-1;else if(n!=="-")break}return yield*this.pushUntil(n=>Re(n)||n==="#")}*parseBlockScalar(){let t=this.pos-1,n=0,r;e:for(let i=this.pos;r=this.buffer[i];++i)switch(r){case" ":n+=1;break;case`
231
+ `:t=i,n=0;break;case"\r":{const s=this.buffer[i+1];if(!s&&!this.atEnd)return this.setNext("block-scalar");if(s===`
232
+ `)break}default:break e}if(!r&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){this.blockScalarIndent===-1?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{const i=this.continueScalar(t+1);if(i===-1)break;t=this.buffer.indexOf(`
233
+ `,i)}while(t!==-1);if(t===-1){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)do{let i=t-1,s=this.buffer[i];s==="\r"&&(s=this.buffer[--i]);const o=i;for(;s===" "||s===" ";)s=this.buffer[--i];if(s===`
234
+ `&&i>=this.pos&&i+1+n>o)t=i;else break}while(!0);return yield as,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const t=this.flowLevel>0;let n=this.pos-1,r=this.pos-1,i;for(;i=this.buffer[++r];)if(i===":"){const s=this.buffer[r+1];if(Re(s)||t&&s===",")break;n=r}else if(Re(i)){let s=this.buffer[r+1];if(i==="\r"&&(s===`
235
+ `?(r+=1,i=`
236
+ `,s=this.buffer[r+1]):n=r),s==="#"||t&&ls.includes(s))break;if(i===`
237
+ `){const o=this.continueScalar(r+1);if(o===-1)break;r=Math.max(r,o-2)}}else{if(t&&ls.includes(i))break;n=r}return!i&&!this.atEnd?this.setNext("plain-scalar"):(yield as,yield*this.pushToIndex(n+1,!0),t?"flow":"doc")}*pushCount(t){return t>0?(yield this.buffer.substr(this.pos,t),this.pos+=t,t):0}*pushToIndex(t,n){const r=this.buffer.slice(this.pos,t);return r?(yield r,this.pos+=r.length,r.length):(n&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(us))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const t=this.flowLevel>0,n=this.charAt(1);if(Re(n)||t&&ls.includes(n))return t?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if(this.charAt(1)==="<"){let t=this.pos+2,n=this.buffer[t];for(;!Re(n)&&n!==">";)n=this.buffer[++t];return yield*this.pushToIndex(n===">"?t+1:t,!1)}else{let t=this.pos+1,n=this.buffer[t];for(;n;)if($w.includes(n))n=this.buffer[++t];else if(n==="%"&&kl.includes(this.buffer[t+1])&&kl.includes(this.buffer[t+2]))n=this.buffer[t+=3];else break;return yield*this.pushToIndex(t,!1)}}*pushNewline(){const t=this.buffer[this.pos];return t===`
238
+ `?yield*this.pushCount(1):t==="\r"&&this.charAt(1)===`
239
+ `?yield*this.pushCount(2):0}*pushSpaces(t){let n=this.pos-1,r;do r=this.buffer[++n];while(r===" "||t&&r===" ");const i=n-this.pos;return i>0&&(yield this.buffer.substr(this.pos,i),this.pos=n),i}*pushUntil(t){let n=this.pos,r=this.buffer[n];for(;!t(r);)r=this.buffer[++n];return yield*this.pushToIndex(n,!1)}}class zw{static{l(this,"LineCounter")}constructor(){this.lineStarts=[],this.addNewLine=t=>this.lineStarts.push(t),this.linePos=t=>{let n=0,r=this.lineStarts.length;for(;n<r;){const s=n+r>>1;this.lineStarts[s]<t?n=s+1:r=s}if(this.lineStarts[n]===t)return{line:n+1,col:1};if(n===0)return{line:0,col:t};const i=this.lineStarts[n-1];return{line:n,col:t-i+1}}}}function Ve(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}l(Ve,"includesToken");function vl(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}l(vl,"findNonEmptyIndex");function Sl(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}l(Sl,"isFlowToken");function Tr(e){switch(e.type){case"document":return e.start;case"block-map":{const t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}l(Tr,"getPrevProps");function en(e){if(e.length===0)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}l(en,"getFirstKeyStartProps");function xl(e){if(e.start.type==="flow-seq-start")for(const t of e.items)t.sep&&!t.value&&!Ve(t.start,"explicit-key-ind")&&!Ve(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,Sl(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}l(xl,"fixFlowSeqItems");class Uw{static{l(this,"Parser")}constructor(t){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new jw,this.onNewLine=t}*parse(t,n=!1){this.onNewLine&&this.offset===0&&this.onNewLine(0);for(const r of this.lexer.lex(t,n))yield*this.next(r);n||(yield*this.end())}*next(t){if(this.source=t,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=t.length;return}const n=Mw(t);if(n)if(n==="scalar")this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=n,yield*this.step(),n){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+t.length);break;case"space":this.atNewLine&&t[0]===" "&&(this.indent+=t.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=t.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=t.length}else{const r=`Not a YAML token: ${t}`;yield*this.pop({type:"error",offset:this.offset,message:r,source:t}),this.offset+=t.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const t=this.peek(1);if(this.type==="doc-end"&&(!t||t.type!=="doc-end")){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!t)return yield*this.stream();switch(t.type){case"document":return yield*this.document(t);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(t);case"block-scalar":return yield*this.blockScalar(t);case"block-map":return yield*this.blockMap(t);case"block-seq":return yield*this.blockSequence(t);case"flow-collection":return yield*this.flowCollection(t);case"doc-end":return yield*this.documentEnd(t)}yield*this.pop()}peek(t){return this.stack[this.stack.length-t]}*pop(t){const n=t??this.stack.pop();if(!n)yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"};else if(this.stack.length===0)yield n;else{const r=this.peek(1);switch(n.type==="block-scalar"?n.indent="indent"in r?r.indent:0:n.type==="flow-collection"&&r.type==="document"&&(n.indent=0),n.type==="flow-collection"&&xl(n),r.type){case"document":r.value=n;break;case"block-scalar":r.props.push(n);break;case"block-map":{const i=r.items[r.items.length-1];if(i.value){r.items.push({start:[],key:n,sep:[]}),this.onKeyLine=!0;return}else if(i.sep)i.value=n;else{Object.assign(i,{key:n,sep:[]}),this.onKeyLine=!Ve(i.start,"explicit-key-ind");return}break}case"block-seq":{const i=r.items[r.items.length-1];i.value?r.items.push({start:[],value:n}):i.value=n;break}case"flow-collection":{const i=r.items[r.items.length-1];!i||i.value?r.items.push({start:[],key:n,sep:[]}):i.sep?i.value=n:Object.assign(i,{key:n,sep:[]});return}default:yield*this.pop(),yield*this.pop(n)}if((r.type==="document"||r.type==="block-map"||r.type==="block-seq")&&(n.type==="block-map"||n.type==="block-seq")){const i=n.items[n.items.length-1];i&&!i.sep&&!i.value&&i.start.length>0&&vl(i.start)===-1&&(n.indent===0||i.start.every(s=>s.type!=="comment"||s.indent<n.indent))&&(r.type==="document"?r.end=i.start:r.items.push({start:i.start}),n.items.splice(-1,1))}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{const t={type:"document",offset:this.offset,start:[]};this.type==="doc-start"&&t.start.push(this.sourceToken),this.stack.push(t);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(t){if(t.value)return yield*this.lineEnd(t);switch(this.type){case"doc-start":{vl(t.start)!==-1?(yield*this.pop(),yield*this.step()):t.start.push(this.sourceToken);return}case"anchor":case"tag":case"space":case"comment":case"newline":t.start.push(this.sourceToken);return}const n=this.startBlockValue(t);n?this.stack.push(n):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(t){if(this.type==="map-value-ind"){const n=Tr(this.peek(2)),r=en(n);let i;t.end?(i=t.end,i.push(this.sourceToken),delete t.end):i=[this.sourceToken];const s={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:r,key:t,sep:i}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(t)}*blockScalar(t){switch(this.type){case"space":case"comment":case"newline":t.props.push(this.sourceToken);return;case"scalar":if(t.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let n=this.source.indexOf(`
240
+ `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
241
+ `,n)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else if(n.sep)n.sep.push(this.sourceToken);else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return}if(this.indent>=t.indent){const r=!this.onKeyLine&&this.indent===t.indent&&n.sep&&this.type!=="seq-item-ind";let i=[];if(r&&n.sep&&!n.value){const s=[];for(let o=0;o<n.sep.length;++o){const a=n.sep[o];switch(a.type){case"newline":s.push(o);break;case"space":break;case"comment":a.indent>t.indent&&(s.length=0);break;default:s.length=0}}s.length>=2&&(i=n.sep.splice(s[1]))}switch(this.type){case"anchor":case"tag":r||n.value?(i.push(this.sourceToken),t.items.push({start:i}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"explicit-key-ind":!n.sep&&!Ve(n.start,"explicit-key-ind")?n.start.push(this.sourceToken):r||n.value?(i.push(this.sourceToken),t.items.push({start:i})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}),this.onKeyLine=!0;return;case"map-value-ind":if(Ve(n.start,"explicit-key-ind"))if(n.sep)if(n.value)t.items.push({start:[],key:null,sep:[this.sourceToken]});else if(Ve(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(Sl(n.key)&&!Ve(n.sep,"newline")){const s=en(n.start),o=n.key,a=n.sep;a.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:o,sep:a}]})}else i.length>0?n.sep=n.sep.concat(i,this.sourceToken):n.sep.push(this.sourceToken);else if(Ve(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const s=en(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:s,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||r?t.items.push({start:i,key:null,sep:[this.sourceToken]}):Ve(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const s=this.flowScalar(this.type);r||n.value?(t.items.push({start:i,key:s,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(s):(Object.assign(n,{key:s,sep:[]}),this.onKeyLine=!0);return}default:{const s=this.startBlockValue(t);if(s){r&&s.type!=="block-seq"&&Ve(n.start,"explicit-key-ind")&&t.items.push({start:i}),this.stack.push(s);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(t){const n=t.items[t.items.length-1];switch(this.type){case"newline":if(n.value){const r="end"in n.value?n.value.end:void 0;(Array.isArray(r)?r[r.length-1]:void 0)?.type==="comment"?r?.push(this.sourceToken):t.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)t.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,t.indent)){const i=t.items[t.items.length-2]?.value?.end;if(Array.isArray(i)){Array.prototype.push.apply(i,n.start),i.push(this.sourceToken),t.items.pop();return}}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=t.indent)break;n.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==t.indent)break;n.value||Ve(n.start,"seq-item-ind")?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return}if(this.indent>t.indent){const r=this.startBlockValue(t);if(r){this.stack.push(r);return}}yield*this.pop(),yield*this.step()}*flowCollection(t){const n=t.items[t.items.length-1];if(this.type==="flow-error-end"){let r;do yield*this.pop(),r=this.peek(1);while(r&&r.type==="flow-collection")}else if(t.end.length===0){switch(this.type){case"comma":case"explicit-key-ind":!n||n.sep?t.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken);return;case"map-value-ind":!n||n.value?t.items.push({start:[],key:null,sep:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!n||n.value?t.items.push({start:[this.sourceToken]}):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const i=this.flowScalar(this.type);!n||n.value?t.items.push({start:[],key:i,sep:[]}):n.sep?this.stack.push(i):Object.assign(n,{key:i,sep:[]});return}case"flow-map-end":case"flow-seq-end":t.end.push(this.sourceToken);return}const r=this.startBlockValue(t);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{const r=this.peek(2);if(r.type==="block-map"&&(this.type==="map-value-ind"&&r.indent===t.indent||this.type==="newline"&&!r.items[r.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type==="map-value-ind"&&r.type!=="flow-collection"){const i=Tr(r),s=en(i);xl(t);const o=t.end.splice(1,t.end.length);o.push(this.sourceToken);const a={type:"block-map",offset:t.offset,indent:t.indent,items:[{start:s,key:t,sep:o}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(t)}}flowScalar(t){if(this.onNewLine){let n=this.source.indexOf(`
242
+ `)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
243
+ `,n)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=Tr(t),r=en(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r}]}}case"map-value-ind":{this.onKeyLine=!0;const n=Tr(t),r=en(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,n){return this.type!=="comment"||this.indent<=n?!1:t.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function Hw(e){const t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new zw||null,prettyErrors:t}}l(Hw,"parseOptions");function Vw(e,t={}){const{lineCounter:n,prettyErrors:r}=Hw(t),i=new Uw(n?.addNewLine),s=new Fw(t);let o=null;for(const a of s.compose(i.parse(e),!0,e.length))if(!o)o=a;else if(o.options.logLevel!=="silent"){o.errors.push(new In(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(o.errors.forEach(cl(e,n)),o.warnings.forEach(cl(e,n))),o}l(Vw,"parseDocument");function Al(e,t,n){let r;const i=Vw(e,n);if(!i)return null;if(i.warnings.forEach(s=>Ba(i.options.logLevel,s)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}l(Al,"parse$1");function Cl(e,t,n){let r=null;if(Array.isArray(t)&&(r=t),e===void 0){const{keepUndefined:i}={};if(!i)return}return new Yn(e,r,n).toString(n)}l(Cl,"stringify$3");async function Gw(e,t){const[n,r]=Ww(e),i=e.split(`
244
+ `);if(n===void 0||r===void 0)return t===void 0?e:["---",Cl({noteId:t}).trim(),`---
245
+ `,...i].join(`
246
+ `);const s=i.slice(n+1,r).join(`
247
+ `),o=await Al(s)??{};t===void 0?delete o.noteId:o.noteId=t;const a=Cl(o).trim();return[...i.slice(0,n+1),a,...i.slice(r)].join(`
248
+ `)}l(Gw,"setNoteIdInFrontmatter");function Ww(e){const t=e.split(`
249
+ `);if(!t.join("").trim().startsWith("---"))return[void 0,void 0];const n=t.findIndex(i=>i.startsWith("---")),r=t.findIndex((i,s)=>s>n&&i.startsWith("---"));return n===-1||r===-1?[void 0,void 0]:[n,r]}l(Ww,"getFrontmatterRange");const Tl=[{id:"abap",name:"ABAP",import:()=>import("./abap-DXFkqnOI.js")},{id:"actionscript-3",name:"ActionScript",import:()=>import("./actionscript-3-D6NljDpC.js")},{id:"ada",name:"Ada",import:()=>import("./ada-CowR2XfX.js")},{id:"angular-html",name:"Angular HTML",import:()=>import("./angular-html-CZfDmWtJ.js").then(function(e){return e.e})},{id:"angular-ts",name:"Angular TypeScript",import:()=>import("./angular-ts-CIhYrOL5.js")},{id:"apache",name:"Apache Conf",import:()=>import("./apache-rS0jd3Ly.js")},{id:"apex",name:"Apex",import:()=>import("./apex-Sfo2eW0G.js")},{id:"apl",name:"APL",import:()=>import("./apl-DPLNWaKG.js")},{id:"applescript",name:"AppleScript",import:()=>import("./applescript-BXKAgOFh.js")},{id:"ara",name:"Ara",import:()=>import("./ara-CG4fK2Nq.js")},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>import("./asciidoc-C539GviS.js")},{id:"asm",name:"Assembly",import:()=>import("./asm-PWN5J14X.js")},{id:"astro",name:"Astro",import:()=>import("./astro-71xeBtnw.js")},{id:"awk",name:"AWK",import:()=>import("./awk-i0IPvypD.js")},{id:"ballerina",name:"Ballerina",import:()=>import("./ballerina-T9ysyp6P.js")},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>import("./bat-BPiaQZfK.js")},{id:"beancount",name:"Beancount",import:()=>import("./beancount-Urb1RsFe.js")},{id:"berry",name:"Berry",aliases:["be"],import:()=>import("./berry-CxrokwfH.js")},{id:"bibtex",name:"BibTeX",import:()=>import("./bibtex-BaedD2tq.js")},{id:"bicep",name:"Bicep",import:()=>import("./bicep-3ghuYFLd.js")},{id:"blade",name:"Blade",import:()=>import("./blade-D3A5GssZ.js")},{id:"c",name:"C",import:()=>import("./c-RCJZWN-0.js")},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>import("./cadence-Bgpqy2XC.js")},{id:"clarity",name:"Clarity",import:()=>import("./clarity-CIekO_uJ.js")},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>import("./clojure-BF6G6X0H.js")},{id:"cmake",name:"CMake",import:()=>import("./cmake-DXZpi2gR.js")},{id:"cobol",name:"COBOL",import:()=>import("./cobol-Bi0pgIzz.js")},{id:"codeowners",name:"CODEOWNERS",import:()=>import("./codeowners-CGmujMTu.js")},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>import("./codeql-BOpLLL-w.js")},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>import("./coffee-Cp6Hkwsd.js")},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>import("./common-lisp-C3qUB5O8.js")},{id:"cpp",name:"C++",aliases:["c++"],import:()=>import("./cpp-CeZn6MzL.js")},{id:"crystal",name:"Crystal",import:()=>import("./crystal-B5pCH4eR.js")},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>import("./csharp-DISxKEhY.js")},{id:"css",name:"CSS",import:()=>import("./css-CbYhyuC0.js")},{id:"csv",name:"CSV",import:()=>import("./csv-B2DkETJQ.js")},{id:"cue",name:"CUE",import:()=>import("./cue-C6Aznpr-.js")},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>import("./cypher-ByMv4Xf1.js")},{id:"d",name:"D",import:()=>import("./d-PifQWv0n.js")},{id:"dart",name:"Dart",import:()=>import("./dart-DZLoTQm4.js")},{id:"dax",name:"DAX",import:()=>import("./dax-DsfXcHUZ.js")},{id:"desktop",name:"Desktop",import:()=>import("./desktop-D71BffLY.js")},{id:"diff",name:"Diff",import:()=>import("./diff-DvyTQcux.js")},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>import("./docker-DNR26wTC.js")},{id:"dream-maker",name:"Dream Maker",import:()=>import("./dream-maker-Eh5U-gDp.js")},{id:"elixir",name:"Elixir",import:()=>import("./elixir-Exce1dLy.js")},{id:"elm",name:"Elm",import:()=>import("./elm-D7CfdsEG.js")},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>import("./emacs-lisp-51pKhIDe.js")},{id:"erb",name:"ERB",import:()=>import("./erb-S7d1X-Y-.js")},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>import("./erlang-DS9ZWoKD.js")},{id:"fennel",name:"Fennel",import:()=>import("./fennel-DuK7IM-L.js")},{id:"fish",name:"Fish",import:()=>import("./fish-DfeQjIbs.js")},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>import("./fluent-KPqz0Sb3.js")},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>import("./fortran-fixed-form-6v7-xzYY.js")},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>import("./fortran-free-form-D6pmzCqS.js")},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>import("./fsharp-JZjmD0Li.js")},{id:"gdresource",name:"GDResource",import:()=>import("./gdresource-CFKM8Ske.js")},{id:"gdscript",name:"GDScript",import:()=>import("./gdscript-CoEqzGFw.js")},{id:"gdshader",name:"GDShader",import:()=>import("./gdshader-B_SUYfiV.js")},{id:"genie",name:"Genie",import:()=>import("./genie-DAfrLhwG.js")},{id:"gherkin",name:"Gherkin",import:()=>import("./gherkin-B0PjAhci.js")},{id:"git-commit",name:"Git Commit Message",import:()=>import("./git-commit-XY8bXq83.js")},{id:"git-rebase",name:"Git Rebase Message",import:()=>import("./git-rebase-BE3WlPTi.js")},{id:"gleam",name:"Gleam",import:()=>import("./gleam-Dd6f7Z5P.js")},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>import("./glimmer-js-I0TZ3_O1.js")},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>import("./glimmer-ts-CY38hlIb.js")},{id:"glsl",name:"GLSL",import:()=>import("./glsl-tOUOXML3.js")},{id:"gnuplot",name:"Gnuplot",import:()=>import("./gnuplot-nclm9rTJ.js")},{id:"go",name:"Go",import:()=>import("./go-BJn7Ek5W.js")},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>import("./graphql-DwwLrXH1.js")},{id:"groovy",name:"Groovy",import:()=>import("./groovy-wChcbJ1V.js")},{id:"hack",name:"Hack",import:()=>import("./hack-DmjQSZc3.js")},{id:"haml",name:"Ruby Haml",import:()=>import("./haml-map1ik7u.js")},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>import("./handlebars-CCc9qS91.js")},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>import("./haskell-DOVD4hs_.js")},{id:"haxe",name:"Haxe",import:()=>import("./haxe-Dit6kIrv.js")},{id:"hcl",name:"HashiCorp HCL",import:()=>import("./hcl-CpAANOdC.js")},{id:"hjson",name:"Hjson",import:()=>import("./hjson-DZqG9GXz.js")},{id:"hlsl",name:"HLSL",import:()=>import("./hlsl-DmDrTTlz.js")},{id:"html",name:"HTML",import:()=>import("./html-NmvpQUfQ.js")},{id:"html-derivative",name:"HTML (Derivative)",import:()=>import("./html-derivative-QphQoco-.js")},{id:"http",name:"HTTP",import:()=>import("./http-B58UUte0.js")},{id:"hxml",name:"HXML",import:()=>import("./hxml-4EC8aR1F.js")},{id:"hy",name:"Hy",import:()=>import("./hy-y-6HuL9l.js")},{id:"imba",name:"Imba",import:()=>import("./imba-CyaA9484.js")},{id:"ini",name:"INI",aliases:["properties"],import:()=>import("./ini-DeVv6D4_.js")},{id:"java",name:"Java",import:()=>import("./java-ClXEvkw9.js")},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>import("./javascript-Dch3xQiY.js")},{id:"jinja",name:"Jinja",import:()=>import("./jinja-BrXMjE5a.js")},{id:"jison",name:"Jison",import:()=>import("./jison-DlEKeWyG.js")},{id:"json",name:"JSON",import:()=>import("./json-CupVZNk8.js")},{id:"json5",name:"JSON5",import:()=>import("./json5-Bh8mriwU.js")},{id:"jsonc",name:"JSON with Comments",import:()=>import("./jsonc-DYI1rfmx.js")},{id:"jsonl",name:"JSON Lines",import:()=>import("./jsonl-BUpeXbsf.js")},{id:"jsonnet",name:"Jsonnet",import:()=>import("./jsonnet-C9d3aiqh.js")},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>import("./jssm-Dble9ECP.js")},{id:"jsx",name:"JSX",import:()=>import("./jsx-CsyrCbsw.js")},{id:"julia",name:"Julia",aliases:["jl"],import:()=>import("./julia-jDzGJc6I.js")},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>import("./kotlin-BIxS-Weu.js")},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>import("./kusto-DGEpfOTx.js")},{id:"latex",name:"LaTeX",import:()=>import("./latex-bjPeSN-x.js")},{id:"less",name:"Less",import:()=>import("./less-Du6_OKDb.js")},{id:"liquid",name:"Liquid",import:()=>import("./liquid-DHpvaAyy.js")},{id:"log",name:"Log file",import:()=>import("./log-Ksn5IXup.js")},{id:"logo",name:"Logo",import:()=>import("./logo-DdacRhvC.js")},{id:"lua",name:"Lua",import:()=>import("./lua-Cy9U1SwF.js")},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>import("./make-B9S9BZZh.js")},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>import("./markdown-BdfWgkoX.js")},{id:"marko",name:"Marko",import:()=>import("./marko-neMFgnTa.js")},{id:"matlab",name:"MATLAB",import:()=>import("./matlab-Btshr8M_.js")},{id:"mdc",name:"MDC",import:()=>import("./mdc-_-l14nii.js")},{id:"mdx",name:"MDX",import:()=>import("./mdx-CBPJd_fO.js")},{id:"mermaid",name:"Mermaid",import:()=>import("./mermaid-Dkb1Nx48.js")},{id:"mojo",name:"Mojo",import:()=>import("./mojo--7WWnkdy.js")},{id:"move",name:"Move",import:()=>import("./move-MN12aA4C.js")},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>import("./narrat-B9CT-1u6.js")},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>import("./nextflow-DBxHOdLe.js")},{id:"nginx",name:"Nginx",import:()=>import("./nginx-C3DmzmOp.js")},{id:"nim",name:"Nim",import:()=>import("./nim-BjhyiCLB.js")},{id:"nix",name:"Nix",import:()=>import("./nix-B7rNE5kf.js")},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>import("./nushell-CrgTADc5.js")},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>import("./objective-c-DHmGyzbM.js")},{id:"objective-cpp",name:"Objective-C++",import:()=>import("./objective-cpp-BWKJ1FCf.js")},{id:"ocaml",name:"OCaml",import:()=>import("./ocaml-RqY_Nz63.js")},{id:"pascal",name:"Pascal",import:()=>import("./pascal-B6ZnTe72.js")},{id:"perl",name:"Perl",import:()=>import("./perl-PZnu_VA7.js")},{id:"php",name:"PHP",import:()=>import("./php-m9Z3qs_k.js")},{id:"plsql",name:"PL/SQL",import:()=>import("./plsql-BbJj1K1w.js")},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>import("./po-HrnDn_2Q.js")},{id:"postcss",name:"PostCSS",import:()=>import("./postcss-DXT9h7v2.js")},{id:"powerquery",name:"PowerQuery",import:()=>import("./powerquery-CApMHEaB.js")},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>import("./powershell-9ZOzOPqN.js")},{id:"prisma",name:"Prisma",import:()=>import("./prisma-BBJYjQ0k.js")},{id:"prolog",name:"Prolog",import:()=>import("./prolog-BH_RS3WO.js")},{id:"proto",name:"Protocol Buffer 3",import:()=>import("./proto-DOtRmeXT.js")},{id:"pug",name:"Pug",aliases:["jade"],import:()=>import("./pug-jyQP1XtO.js")},{id:"puppet",name:"Puppet",import:()=>import("./puppet-37ic6j3l.js")},{id:"purescript",name:"PureScript",import:()=>import("./purescript-Bm5O5oLm.js")},{id:"python",name:"Python",aliases:["py"],import:()=>import("./python-DwuVtWc2.js")},{id:"qml",name:"QML",import:()=>import("./qml-DM3j-f55.js")},{id:"qmldir",name:"QML Directory",import:()=>import("./qmldir-MS3qTAOR.js")},{id:"qss",name:"Qt Style Sheets",import:()=>import("./qss-FJDVp-XM.js")},{id:"r",name:"R",import:()=>import("./r-BXfENWL6.js")},{id:"racket",name:"Racket",import:()=>import("./racket-BbLA0SU8.js")},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>import("./raku-D384ylkT.js")},{id:"razor",name:"ASP.NET Razor",import:()=>import("./razor-DokJXJPk.js")},{id:"reg",name:"Windows Registry Script",import:()=>import("./reg-CrhH3_Og.js")},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>import("./regexp-C_ZPRiAj.js")},{id:"rel",name:"Rel",import:()=>import("./rel-BuawaRXJ.js")},{id:"riscv",name:"RISC-V",import:()=>import("./riscv-D-aEEwJo.js")},{id:"rst",name:"reStructuredText",import:()=>import("./rst-DlAMacAQ.js")},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>import("./ruby-eQ1iIi6H.js")},{id:"rust",name:"Rust",aliases:["rs"],import:()=>import("./rust-DGxQkqYo.js")},{id:"sas",name:"SAS",import:()=>import("./sas-BhBoFsCt.js")},{id:"sass",name:"Sass",import:()=>import("./sass-CMDmr8et.js")},{id:"scala",name:"Scala",import:()=>import("./scala-Cd0cRMx9.js")},{id:"scheme",name:"Scheme",import:()=>import("./scheme-BTeww-4z.js")},{id:"scss",name:"SCSS",import:()=>import("./scss-DoQ2ojfq.js")},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>import("./shaderlab-Bb-6Dmi7.js")},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>import("./shellscript-BZfs-ost.js")},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>import("./shellsession-B6XH_PlG.js")},{id:"smalltalk",name:"Smalltalk",import:()=>import("./smalltalk-DSsji4Hu.js")},{id:"solidity",name:"Solidity",import:()=>import("./solidity-CThH5sBG.js")},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>import("./soy-rVg8SA9F.js")},{id:"sparql",name:"SPARQL",import:()=>import("./sparql-Cmp61EUJ.js")},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>import("./splunk-6XBPEST2.js")},{id:"sql",name:"SQL",import:()=>import("./sql-DxR2xW-a.js")},{id:"ssh-config",name:"SSH Config",import:()=>import("./ssh-config-BH1M7C1g.js")},{id:"stata",name:"Stata",import:()=>import("./stata-DGeqZgIM.js")},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>import("./stylus-DSrLtGYv.js")},{id:"svelte",name:"Svelte",import:()=>import("./svelte-BMtjZn0z.js")},{id:"swift",name:"Swift",import:()=>import("./swift-C8WrqfNz.js")},{id:"system-verilog",name:"SystemVerilog",import:()=>import("./system-verilog-BscxmKrE.js")},{id:"systemd",name:"Systemd Units",import:()=>import("./systemd-IQPSIA3x.js")},{id:"tasl",name:"Tasl",import:()=>import("./tasl-BxwAa5i0.js")},{id:"tcl",name:"Tcl",import:()=>import("./tcl-C_8Fx7bH.js")},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>import("./terraform-DBeuZS66.js")},{id:"tex",name:"TeX",import:()=>import("./tex-BqVuN0dX.js")},{id:"toml",name:"TOML",import:()=>import("./toml-BT9ZzGyQ.js")},{id:"tsv",name:"TSV",import:()=>import("./tsv-DnLUQrgA.js")},{id:"tsx",name:"TSX",import:()=>import("./tsx-BlxWTfDV.js")},{id:"turtle",name:"Turtle",import:()=>import("./turtle-C15OxdQ5.js")},{id:"twig",name:"Twig",import:()=>import("./twig-DDlPLETn.js")},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>import("./typescript-DC8MraHL.js")},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>import("./typespec-Bx89rGXK.js")},{id:"typst",name:"Typst",aliases:["typ"],import:()=>import("./typst-I4qd5QHW.js")},{id:"v",name:"V",import:()=>import("./v-C2TBxDwV.js")},{id:"vala",name:"Vala",import:()=>import("./vala-CO5hpdkB.js")},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>import("./vb-beD-FUib.js")},{id:"verilog",name:"Verilog",import:()=>import("./verilog-DVfdqzEq.js")},{id:"vhdl",name:"VHDL",import:()=>import("./vhdl-QZ3jNtnE.js")},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>import("./viml-BLluXI4E.js")},{id:"vue",name:"Vue",import:()=>import("./vue-B6Rs-4k4.js")},{id:"vue-html",name:"Vue HTML",import:()=>import("./vue-html-Blw9Jzz9.js")},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>import("./vyper-o-cPXEvd.js")},{id:"wasm",name:"WebAssembly",import:()=>import("./wasm-Cicx_DS6.js")},{id:"wenyan",name:"Wenyan",aliases:["\u6587\u8A00"],import:()=>import("./wenyan-Cavfe_d0.js")},{id:"wgsl",name:"WGSL",import:()=>import("./wgsl-BZz1Hhek.js")},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>import("./wikitext-zfUCmn4z.js")},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>import("./wolfram-BICIrM8O.js")},{id:"xml",name:"XML",import:()=>import("./xml-sp2Egr0Z.js")},{id:"xsl",name:"XSL",import:()=>import("./xsl-BQYvujlj.js")},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>import("./yaml-C5gCGmDW.js")},{id:"zenscript",name:"ZenScript",import:()=>import("./zenscript-B1nm99XP.js")},{id:"zig",name:"Zig",import:()=>import("./zig-xtV5iK4E.js")}],Kw=Object.fromEntries(Tl.map(e=>[e.id,e.import])),Yw=Object.fromEntries(Tl.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),Nl={...Kw,...Yw},Jw=l(async e=>import("./wasm-2oxoyaYy.js").then(t=>t.default(e)),"getWasmInlined"),Qw=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>import("./andromeeda-YxQm0tCS.js")},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>import("./aurora-x-BaWyeHV_.js")},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>import("./ayu-dark-Bn5gmY5k.js")},{id:"catppuccin-frappe",displayName:"Catppuccin Frapp\xE9",type:"dark",import:()=>import("./catppuccin-frappe-BsOrZxH8.js")},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>import("./catppuccin-latte-BYdKNJ10.js")},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>import("./catppuccin-macchiato-DVLwECkk.js")},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>import("./catppuccin-mocha-CEfge3mM.js")},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>import("./dark-plus-KEYLhlmT.js")},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>import("./dracula-DGO8GyiP.js")},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>import("./dracula-soft-9B1nZgL-.js")},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>import("./github-dark-CzPA46E-.js")},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>import("./github-dark-default-BXF7Vm5l.js")},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>import("./github-dark-dimmed-CRDKj6ck.js")},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>import("./github-light-CRlnGVMD.js")},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>import("./github-light-default-UREJT2Bw.js")},{id:"houston",displayName:"Houston",type:"dark",import:()=>import("./houston-CZZ6oYdA.js")},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>import("./light-plus-BsvsQ1iS.js")},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>import("./material-theme-B2BuIiKK.js")},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>import("./material-theme-darker-BrGg7AAd.js")},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>import("./material-theme-lighter-DDRuGeQH.js")},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>import("./material-theme-ocean-CBL0qBdF.js")},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>import("./material-theme-palenight-D7gg1Usp.js")},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>import("./min-dark-iSbrOpM4.js")},{id:"min-light",displayName:"Min Light",type:"light",import:()=>import("./min-light-BITGhEdf.js")},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>import("./monokai-sMI-pExk.js")},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>import("./night-owl-BeocmOPF.js")},{id:"nord",displayName:"Nord",type:"dark",import:()=>import("./nord-CsyjKwr8.js")},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>import("./one-dark-pro-BTtaZsq5.js")},{id:"one-light",displayName:"One Light",type:"light",import:()=>import("./one-light-alpzPJ78.js")},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>import("./poimandres-Cda-MJFk.js")},{id:"red",displayName:"Red",type:"dark",import:()=>import("./red-jaXbsbtS.js")},{id:"rose-pine",displayName:"Ros\xE9 Pine",type:"dark",import:()=>import("./rose-pine-BIAFg_EN.js")},{id:"rose-pine-dawn",displayName:"Ros\xE9 Pine Dawn",type:"light",import:()=>import("./rose-pine-dawn-C5m_N-6l.js")},{id:"rose-pine-moon",displayName:"Ros\xE9 Pine Moon",type:"dark",import:()=>import("./rose-pine-moon-B9S0JTD1.js")},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>import("./slack-dark-C7oZ9nno.js")},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>import("./slack-ochin-hXH8Gyq8.js")},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>import("./snazzy-light-CA9nliXM.js")},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>import("./solarized-dark-C86elO-m.js")},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>import("./solarized-light-xPNGhBYe.js")},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>import("./synthwave-84-BBDuFDsq.js")},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>import("./tokyo-night-eJfcURhx.js")},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>import("./vesper-BSB_bK09.js")},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>import("./vitesse-black-B3g-KkBK.js")},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>import("./vitesse-dark-Bxkoe-BC.js")},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>import("./vitesse-light-Br6ll-O0.js")}],Xw=Object.fromEntries(Qw.map(e=>[e.id,e.import]));var Ge;(function(e){e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline"})(Ge||(Ge={})),typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var tn;(function(e){function t(p){return p.toString(2).padStart(32,"0")}l(t,"toBinaryStr"),e.toBinaryStr=t;function n(p){const f=e.getLanguageId(p),h=e.getTokenType(p),d=e.getFontStyle(p),m=e.getForeground(p),g=e.getBackground(p);console.log({languageId:f,tokenType:h,fontStyle:d,foreground:m,background:g})}l(n,"print"),e.print=n;function r(p){return(p&255)>>>0}l(r,"getLanguageId"),e.getLanguageId=r;function i(p){return(p&768)>>>8}l(i,"getTokenType"),e.getTokenType=i;function s(p){return(p&1024)!==0}l(s,"containsBalancedBrackets"),e.containsBalancedBrackets=s;function o(p){return(p&30720)>>>11}l(o,"getFontStyle"),e.getFontStyle=o;function a(p){return(p&16744448)>>>15}l(a,"getForeground"),e.getForeground=a;function u(p){return(p&4278190080)>>>24}l(u,"getBackground"),e.getBackground=u;function c(p,f,h,d,m,g,y){let w=e.getLanguageId(p),b=e.getTokenType(p),S=e.containsBalancedBrackets(p)?1:0,T=e.getFontStyle(p),N=e.getForeground(p),A=e.getBackground(p);return f!==0&&(w=f),h!==8&&(b=h),d!==null&&(S=d?1:0),m!==-1&&(T=m),g!==0&&(N=g),y!==0&&(A=y),(w<<0|b<<8|S<<10|T<<11|N<<15|A<<24)>>>0}l(c,"set"),e.set=c})(tn||(tn={}));function ME(e){return e}l(ME,"toOptionalTokenType");function $E(e){return e}l($E,"fromOptionalTokenType");function Nr(e,t){const n=[],r=Zw(e);let i=r.next();for(;i!==null;){let u=0;if(i.length===2&&i.charAt(1)===":"){switch(i.charAt(0)){case"R":u=1;break;case"L":u=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let c=o();if(n.push({matcher:c,priority:u}),i!==",")break;i=r.next()}return n;function s(){if(i==="-"){i=r.next();const u=s();return c=>!!u&&!u(c)}if(i==="("){i=r.next();const u=a();return i===")"&&(i=r.next()),u}if(El(i)){const u=[];do u.push(i),i=r.next();while(El(i));return c=>t(u,c)}return null}function o(){const u=[];let c=s();for(;c;)u.push(c),c=s();return p=>u.every(f=>f(p))}function a(){const u=[];let c=o();for(;c&&(u.push(c),i==="|"||i===",");){do i=r.next();while(i==="|"||i===",");c=o()}return p=>u.some(f=>f(p))}}l(Nr,"createMatchers");function El(e){return!!e&&!!e.match(/[\w\.:]+/)}l(El,"isIdentifier");function Zw(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}l(Zw,"newTokenizer");function _l(e){typeof e.dispose=="function"&&e.dispose()}l(_l,"disposeOnigString");function e0(e){return cs(e)}l(e0,"clone");function cs(e){return Array.isArray(e)?t0(e):typeof e=="object"?n0(e):e}l(cs,"doClone");function t0(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=cs(e[n]);return t}l(t0,"cloneArray");function n0(e){let t={};for(let n in e)t[n]=cs(e[n]);return t}l(n0,"cloneObj");function Ol(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}l(Ol,"mergeObjects");function Ll(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Ll(e.substring(0,e.length-1)):e.substr(~t+1)}l(Ll,"basename$1");let fs=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class Er{static{l(this,"RegexSource")}static hasCaptures(t){return t===null?!1:(fs.lastIndex=0,fs.test(t))}static replaceCaptures(t,n,r){return t.replace(fs,(i,s,o,a)=>{let u=r[parseInt(s||o,10)];if(u){let c=n.substring(u.start,u.end);for(;c[0]===".";)c=c.substring(1);switch(a){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return i})}}function Il(e,t){return e<t?-1:e>t?1:0}l(Il,"strcmp");function Dl(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let i=0;i<n;i++){let s=Il(e[i],t[i]);if(s!==0)return s}return 0}return n-r}l(Dl,"strArrCmp");function Rl(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}l(Rl,"isValidHexColor");function Pl(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}l(Pl,"escapeRegExpCharacters");class ql{static{l(this,"CachedFn")}fn;cache=new Map;constructor(t){this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class qn{static{l(this,"TopLevelRuleReference")}scopeName;constructor(t){this.scopeName=t}toKey(){return this.scopeName}}class r0{static{l(this,"TopLevelRepositoryRuleReference")}scopeName;ruleName;constructor(t,n){this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class i0{static{l(this,"ExternalReferenceCollector")}_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class s0{static{l(this,"ScopeDependencyProcessor")}repo;initialScopeName;seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;constructor(t,n){this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new qn(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new i0;for(const r of t)o0(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof qn){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function o0(e,t,n,r){const i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=n.lookup(t);e instanceof qn?_r({baseGrammar:s,selfGrammar:i},r):ps(e.ruleName,{baseGrammar:s,selfGrammar:i,repository:i.repository},r);const o=n.injections(e.scopeName);if(o)for(const a of o)r.add(new qn(a))}l(o0,"collectReferencesOfReference");function ps(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Or([r],t,n)}}l(ps,"collectExternalReferencesInTopLevelRepositoryRule");function _r(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Or(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Or(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}l(_r,"collectExternalReferencesInTopLevelRule");function Or(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const i=r.repository?Ol({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Or(r.patterns,{...t,repository:i},n);const s=r.include;if(!s)continue;const o=Fl(s);switch(o.kind){case 0:_r({...t,selfGrammar:t.baseGrammar},n);break;case 1:_r(t,n);break;case 2:ps(o.ruleName,{...t,repository:i},n);break;case 3:case 4:const a=o.scopeName===t.selfGrammar.scopeName?t.selfGrammar:o.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const u={baseGrammar:t.baseGrammar,selfGrammar:a,repository:i};o.kind===4?ps(o.ruleName,u,n):_r(u,n)}else o.kind===4?n.add(new r0(o.scopeName,o.ruleName)):n.add(new qn(o.scopeName));break}}}l(Or,"collectExternalReferencesInRules");class a0{static{l(this,"BaseReference")}kind=0}class l0{static{l(this,"SelfReference")}kind=1}class u0{static{l(this,"RelativeReference")}ruleName;kind=2;constructor(t){this.ruleName=t}}class c0{static{l(this,"TopLevelReference")}scopeName;kind=3;constructor(t){this.scopeName=t}}class f0{static{l(this,"TopLevelRepositoryReference")}scopeName;ruleName;kind=4;constructor(t,n){this.scopeName=t,this.ruleName=n}}function Fl(e){if(e==="$base")return new a0;if(e==="$self")return new l0;const t=e.indexOf("#");if(t===-1)return new c0(e);if(t===0)return new u0(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new f0(n,r)}}l(Fl,"parseInclude");const p0=/\\(\d+)/,Ml=/\\(\d+)/g,h0=-1,$l=-2;function BE(e){return e}l(BE,"ruleIdFromNumber");function jE(e){return e}l(jE,"ruleIdToNumber");class Fn{static{l(this,"Rule")}$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,n,r,i){this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=Er.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=Er.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Ll(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:Er.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Er.replaceCaptures(this._contentName,t,n)}}class d0 extends Fn{static{l(this,"CaptureRule")}retokenizeCapturedWithRuleId;constructor(t,n,r,i,s){super(t,n,r,i),this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,r,i){throw new Error("Not supported!")}}class m0 extends Fn{static{l(this,"MatchRule")}_match;captures;_cachedCompiledPatterns;constructor(t,n,r,i,s){super(t,n,r,null),this._match=new It(i,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t).compileAG(t,r,i)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Mn,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Bl extends Fn{static{l(this,"IncludeOnlyRule")}hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,i,s){super(t,n,r,i),this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const r of this.patterns)t.getRule(r).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t).compileAG(t,r,i)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Mn,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class hs extends Fn{static{l(this,"BeginEndRule")}_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,i,s,o,a,u,c,p){super(t,n,r,i),this._begin=new It(s,this.id),this.beginCaptures=o,this._end=new It(a||"\uFFFF",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=u,this.applyEndPatternLast=c||!1,this.patterns=p.patterns,this.hasMissingPatterns=p.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t,n).compileAG(t,r,i)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Mn;for(const r of this.patterns)t.getRule(r).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}}class Lr extends Fn{static{l(this,"BeginWhileRule")}_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(t,n,r,i,s,o,a,u,c){super(t,n,r,i),this._begin=new It(s,this.id),this.beginCaptures=o,this.whileCaptures=u,this._while=new It(a,$l),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,i){return this._getCachedCompiledPatterns(t).compileAG(t,r,i)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Mn;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,r,i){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,r,i)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Mn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||"\uFFFF"),this._cachedCompiledWhilePatterns}}class ye{static{l(this,"RuleFactory")}static createCaptureRule(t,n,r,i,s){return t.registerRule(o=>new d0(n,o,r,i,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new m0(t.$vscodeTextmateLocation,t.id,t.name,t.match,ye._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Ol({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new Bl(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,ye._compilePatterns(s,n,r))}return t.while?new Lr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,ye._compileCaptures(t.whileCaptures||t.captures,n,r),ye._compilePatterns(t.patterns,n,r)):new hs(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,ye._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,ye._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let s=0;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);a>s&&(s=a)}for(let o=0;o<=s;o++)i[o]=null;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const a=parseInt(o,10);let u=0;t[o].patterns&&(u=ye.getCompiledRuleId(t[o],n,r)),i[a]=ye.createCaptureRule(n,t[o].$vscodeTextmateLocation,t[o].name,t[o].contentName,u)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let s=0,o=t.length;s<o;s++){const a=t[s];let u=-1;if(a.include){const c=Fl(a.include);switch(c.kind){case 0:case 1:u=ye.getCompiledRuleId(r[a.include],n,r);break;case 2:let p=r[c.ruleName];p&&(u=ye.getCompiledRuleId(p,n,r));break;case 3:case 4:const f=c.scopeName,h=c.kind===4?c.ruleName:null,d=n.getExternalGrammar(f,r);if(d)if(h){let m=d.repository[h];m&&(u=ye.getCompiledRuleId(m,n,d.repository))}else u=ye.getCompiledRuleId(d.repository.$self,n,d.repository);break}}else u=ye.getCompiledRuleId(a,n,r);if(u!==-1){const c=n.getRule(u);let p=!1;if((c instanceof Bl||c instanceof hs||c instanceof Lr)&&c.hasMissingPatterns&&c.patterns.length===0&&(p=!0),p)continue;i.push(u)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}}class It{static{l(this,"RegExpSource")}source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t){const r=t.length;let i=0,s=[],o=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(s.push(t.substring(i,a)),s.push("$(?!\\n)(?<!\\n)"),i=a+2):(c==="A"||c==="G")&&(o=!0),a++}this.hasAnchor=o,i===0?this.source=t:(s.push(t.substring(i,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=p0.test(this.source)}clone(){return new It(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(i=>t.substring(i.start,i.end));return Ml.lastIndex=0,this.source.replace(Ml,(i,s)=>Pl(r[parseInt(s,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],i=[],s,o,a,u;for(s=0,o=this.source.length;s<o;s++)a=this.source.charAt(s),t[s]=a,n[s]=a,r[s]=a,i[s]=a,a==="\\"&&s+1<o&&(u=this.source.charAt(s+1),u==="A"?(t[s+1]="\uFFFF",n[s+1]="\uFFFF",r[s+1]="A",i[s+1]="A"):u==="G"?(t[s+1]="\uFFFF",n[s+1]="G",r[s+1]="\uFFFF",i[s+1]="G"):(t[s+1]=u,n[s+1]=u,r[s+1]=u,i[s+1]=u),s++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:i.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class Mn{static{l(this,"RegExpSourceList")}_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new jl(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let i=this._items.map(s=>s.resolveAnchors(n,r));return new jl(t,i,this._items.map(s=>s.ruleId))}}class jl{static{l(this,"CompiledRule")}regExps;rules;scanner;constructor(t,n,r){this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
250
+ `)}findNextMatchSync(t,n,r){const i=this.scanner.findNextMatchSync(t,n,r);return i?{ruleId:this.rules[i.index],captureIndices:i.captureIndices}:null}}class Ir{static{l(this,"Theme")}_colorMap;_defaults;_root;static createFromRawTheme(t,n){return this.createFromParsedTheme(b0(t),n)}static createFromParsedTheme(t,n){return k0(t,n)}_cachedMatchRoot=new ql(t=>this._root.match(t));constructor(t,n,r){this._colorMap=t,this._defaults=n,this._root=r}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,i=this._cachedMatchRoot.get(n).find(s=>g0(t.parent,s.parentScopes));return i?new zl(i.fontStyle,i.foreground,i.background):null}}class Dt{static{l(this,"ScopeStack")}parent;scopeName;static push(t,n){for(const r of n)t=new Dt(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Dt(n,t[r]);return n}constructor(t,n){this.parent=t,this.scopeName=n}push(t){return new Dt(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}}function g0(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(y0(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}l(g0,"_scopePathMatchesParentScopes");function y0(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}l(y0,"_matchesScope");class zl{static{l(this,"StyleAttributes")}fontStyle;foregroundId;backgroundId;constructor(t,n,r){this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function b0(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let i=0,s=t.length;i<s;i++){let o=t[i];if(!o.settings)continue;let a;if(typeof o.scope=="string"){let f=o.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(o.scope)?a=o.scope:a=[""];let u=-1;if(typeof o.settings.fontStyle=="string"){u=0;let f=o.settings.fontStyle.split(" ");for(let h=0,d=f.length;h<d;h++)switch(f[h]){case"italic":u=u|1;break;case"bold":u=u|2;break;case"underline":u=u|4;break;case"strikethrough":u=u|8;break}}let c=null;typeof o.settings.foreground=="string"&&Rl(o.settings.foreground)&&(c=o.settings.foreground);let p=null;typeof o.settings.background=="string"&&Rl(o.settings.background)&&(p=o.settings.background);for(let f=0,h=a.length;f<h;f++){let m=a[f].trim().split(" "),g=m[m.length-1],y=null;m.length>1&&(y=m.slice(0,m.length-1),y.reverse()),n[r++]=new w0(g,y,i,u,c,p)}}return n}l(b0,"parseTheme");class w0{static{l(this,"ParsedThemeRule")}scope;parentScopes;index;fontStyle;foreground;background;constructor(t,n,r,i,s,o){this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=i,this.foreground=s,this.background=o}}function k0(e,t){e.sort((u,c)=>{let p=Il(u.scope,c.scope);return p!==0||(p=Dl(u.parentScopes,c.parentScopes),p!==0)?p:u.index-c.index});let n=0,r="#000000",i="#ffffff";for(;e.length>=1&&e[0].scope==="";){let u=e.shift();u.fontStyle!==-1&&(n=u.fontStyle),u.foreground!==null&&(r=u.foreground),u.background!==null&&(i=u.background)}let s=new v0(t),o=new zl(n,s.getId(r),s.getId(i)),a=new Qn(new Jn(0,null,-1,0,0),[]);for(let u=0,c=e.length;u<c;u++){let p=e[u];a.insert(0,p.scope,p.parentScopes,p.fontStyle,s.getId(p.foreground),s.getId(p.background))}return new Ir(s,o,a)}l(k0,"resolveParsedThemeRules");class v0{static{l(this,"ColorMap")}_isFrozen;_lastColorId;_id2color;_color2id;constructor(t){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class Jn{static{l(this,"ThemeTrieElementRule")}scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,i,s){this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=i,this.background=s}clone(){return new Jn(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,i=t.length;r<i;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,i){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),i!==0&&(this.background=i)}}class Qn{static{l(this,"ThemeTrieElement")}_mainRule;_children;_rulesWithParentScopes;constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,i=n.parentScopes;let s=r===null?0:r.length,o=i===null?0:i.length;if(s===o)for(let a=0;a<s;a++){const u=r[a].length,c=i[a].length;if(u!==c)return c-u}return o-s}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return Qn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,i;return n===-1?(r=t,i=""):(r=t.substring(0,n),i=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(i):Qn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,i,s,o){if(n===""){this._doInsertHere(t,r,i,s,o);return}let a=n.indexOf("."),u,c;a===-1?(u=n,c=""):(u=n.substring(0,a),c=n.substring(a+1));let p;this._children.hasOwnProperty(u)?p=this._children[u]:(p=new Qn(this._mainRule.clone(),Jn.cloneArr(this._rulesWithParentScopes)),this._children[u]=p),p.insert(t+1,c,r,i,s,o)}_doInsertHere(t,n,r,i,s){if(n===null){this._mainRule.acceptOverwrite(t,r,i,s);return}for(let o=0,a=this._rulesWithParentScopes.length;o<a;o++){let u=this._rulesWithParentScopes[o];if(Dl(u.parentScopes,n)===0){u.acceptOverwrite(t,r,i,s);return}}r===-1&&(r=this._mainRule.fontStyle),i===0&&(i=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Jn(t,n,r,i,s))}}class ds{static{l(this,"BasicScopeAttributes")}languageId;tokenType;constructor(t,n){this.languageId=t,this.tokenType=n}}class ci{static{l(this,"BasicScopeAttributesProvider")}_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new ds(t,8),this._embeddedLanguagesMatcher=new S0(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?ci._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new ds(0,0);_getBasicScopeAttributes=new ql(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new ds(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(ci.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/}class S0{static{l(this,"ScopeMatcher")}values;scopesRegExp;constructor(t){if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,i])=>Pl(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class Ul{static{l(this,"TokenizeStringResult")}stack;stoppedEarly;constructor(t,n){this.stack=t,this.stoppedEarly=n}}function Hl(e,t,n,r,i,s,o,a){const u=t.content.length;let c=!1,p=-1;if(o){const d=x0(e,t,n,r,i,s);i=d.stack,r=d.linePos,n=d.isFirstLine,p=d.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new Ul(i,!0);h()}return new Ul(i,!1);function h(){const d=A0(e,t,n,r,i,p);if(!d){s.produce(i,u),c=!0;return}const m=d.captureIndices,g=d.matchedRuleId,y=m&&m.length>0?m[0].end>r:!1;if(g===h0){const w=i.getRule(e);s.produce(i,m[0].start),i=i.withContentNameScopesList(i.nameScopesList),$n(e,t,n,i,s,w.endCaptures,m),s.produce(i,m[0].end);const b=i;if(i=i.parent,p=b.getAnchorPos(),!y&&b.getEnterPos()===r){i=b,s.produce(i,u),c=!0;return}}else{const w=e.getRule(g);s.produce(i,m[0].start);const b=i,S=w.getName(t.content,m),T=i.contentNameScopesList.pushAttributed(S,e);if(i=i.push(g,r,p,m[0].end===u,null,T,T),w instanceof hs){const N=w;$n(e,t,n,i,s,N.beginCaptures,m),s.produce(i,m[0].end),p=m[0].end;const A=N.getContentName(t.content,m),E=T.pushAttributed(A,e);if(i=i.withContentNameScopesList(E),N.endHasBackReferences&&(i=i.withEndRule(N.getEndWithResolvedBackReferences(t.content,m))),!y&&b.hasSameRuleAs(i)){i=i.pop(),s.produce(i,u),c=!0;return}}else if(w instanceof Lr){const N=w;$n(e,t,n,i,s,N.beginCaptures,m),s.produce(i,m[0].end),p=m[0].end;const A=N.getContentName(t.content,m),E=T.pushAttributed(A,e);if(i=i.withContentNameScopesList(E),N.whileHasBackReferences&&(i=i.withEndRule(N.getWhileWithResolvedBackReferences(t.content,m))),!y&&b.hasSameRuleAs(i)){i=i.pop(),s.produce(i,u),c=!0;return}}else if($n(e,t,n,i,s,w.captures,m),s.produce(i,m[0].end),i=i.pop(),!y){i=i.safePop(),s.produce(i,u),c=!0;return}}m[0].end>r&&(r=m[0].end,n=!1)}}l(Hl,"_tokenizeString");function x0(e,t,n,r,i,s){let o=i.beginRuleCapturedEOL?0:-1;const a=[];for(let u=i;u;u=u.pop()){const c=u.getRule(e);c instanceof Lr&&a.push({rule:c,stack:u})}for(let u=a.pop();u;u=a.pop()){const{ruleScanner:c,findOptions:p}=N0(u.rule,e,u.stack.endRule,n,r===o),f=c.findNextMatchSync(t,r,p);if(f){if(f.ruleId!==$l){i=u.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(s.produce(u.stack,f.captureIndices[0].start),$n(e,t,n,u.stack,s,u.rule.whileCaptures,f.captureIndices),s.produce(u.stack,f.captureIndices[0].end),o=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{i=u.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}l(x0,"_checkWhileConditions");function A0(e,t,n,r,i,s){const o=C0(e,t,n,r,i,s),a=e.getInjections();if(a.length===0)return o;const u=T0(a,e,t,n,r,i,s);if(!u)return o;if(!o)return u;const c=o.captureIndices[0].start,p=u.captureIndices[0].start;return p<c||u.priorityMatch&&p===c?u:o}l(A0,"matchRuleOrInjections");function C0(e,t,n,r,i,s){const o=i.getRule(e),{ruleScanner:a,findOptions:u}=Vl(o,e,i.endRule,n,r===s),c=a.findNextMatchSync(t,r,u);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}l(C0,"matchRule");function T0(e,t,n,r,i,s,o){let a=Number.MAX_VALUE,u=null,c,p=0;const f=s.contentNameScopesList.getScopeNames();for(let h=0,d=e.length;h<d;h++){const m=e[h];if(!m.matcher(f))continue;const g=t.getRule(m.ruleId),{ruleScanner:y,findOptions:w}=Vl(g,t,null,r,i===o),b=y.findNextMatchSync(n,i,w);if(!b)continue;const S=b.captureIndices[0].start;if(!(S>=a)&&(a=S,u=b.captureIndices,c=b.ruleId,p=m.priority,a===i))break}return u?{priorityMatch:p===-1,captureIndices:u,matchedRuleId:c}:null}l(T0,"matchInjections");function Vl(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}l(Vl,"prepareRuleSearch");function N0(e,t,n,r,i){return{ruleScanner:e.compileWhileAG(t,n,r,i),findOptions:0}}l(N0,"prepareRuleWhileSearch");function $n(e,t,n,r,i,s,o){if(s.length===0)return;const a=t.content,u=Math.min(s.length,o.length),c=[],p=o[0].end;for(let f=0;f<u;f++){const h=s[f];if(h===null)continue;const d=o[f];if(d.length===0)continue;if(d.start>p)break;for(;c.length>0&&c[c.length-1].endPos<=d.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,d.start):i.produce(r,d.start),h.retokenizeCapturedWithRuleId){const g=h.getName(a,o),y=r.contentNameScopesList.pushAttributed(g,e),w=h.getContentName(a,o),b=y.pushAttributed(w,e),S=r.push(h.retokenizeCapturedWithRuleId,d.start,-1,!1,null,y,b),T=e.createOnigString(a.substring(0,d.end));Hl(e,T,n&&d.start===0,d.start,S,i,!1,0),_l(T);continue}const m=h.getName(a,o);if(m!==null){const y=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(m,e);c.push(new E0(y,d.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}l($n,"handleCaptures");class E0{static{l(this,"LocalStackElement")}scopes;endPos;constructor(t,n){this.scopes=t,this.endPos=n}}function _0(e,t,n,r,i,s,o,a){return new L0(e,t,n,r,i,s,o,a)}l(_0,"createGrammar");function Gl(e,t,n,r,i){const s=Nr(t,Dr),o=ye.getCompiledRuleId(n,r,i.repository);for(const a of s)e.push({debugSelector:t,matcher:a.matcher,ruleId:o,grammar:i,priority:a.priority})}l(Gl,"collectInjections");function Dr(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let i=n;i<t.length;i++)if(O0(t[i],r))return n=i+1,!0;return!1})}l(Dr,"nameMatcher");function O0(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}l(O0,"scopesAreMatching");class L0{static{l(this,"Grammar")}_rootScopeName;balancedBracketSelectors;_onigLib;_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}constructor(t,n,r,i,s,o,a,u){if(this._rootScopeName=t,this.balancedBracketSelectors=o,this._onigLib=u,this._basicScopeAttributesProvider=new ci(r,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=Wl(n,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const c of Object.keys(s)){const p=Nr(c,Dr);for(const f of p)this._tokenTypeMatchers.push({matcher:f.matcher,type:s[c]})}}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},n=[],r=this._rootScopeName,i=t.lookup(r);if(i){const s=i.injections;if(s)for(let a in s)Gl(n,a,s[a],this,i);const o=this._grammarRepository.injections(r);o&&o.forEach(a=>{const u=this.getExternalGrammar(a);if(u){const c=u.injectionSelector;c&&Gl(n,c,u,this,u)}})}return n.sort((s,o)=>s.priority-o.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=Wl(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const i=this._tokenize(t,n,!1,r);return{tokens:i.lineTokens.getResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}tokenizeLine2(t,n,r=0){const i=this._tokenize(t,n,!0,r);return{tokens:i.lineTokens.getBinaryResult(i.ruleStack,i.lineLength),ruleStack:i.ruleStack,stoppedEarly:i.stoppedEarly}}_tokenize(t,n,r,i){this._rootId===-1&&(this._rootId=ye.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!n||n===et.NULL){s=!0;const p=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),h=tn.set(0,p.languageId,p.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),d=this.getRule(this._rootId).getName(null,null);let m;d?m=Ae.createRootAndLookUpScopeName(d,h,this):m=Ae.createRoot("unknown",h),n=new et(null,this._rootId,-1,-1,!1,null,m,m)}else s=!1,n.reset();t=t+`
251
+ `;const o=this.createOnigString(t),a=o.content.length,u=new D0(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Hl(this,o,s,0,n,u,!0,i);return _l(o),{lineLength:a,lineTokens:u,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Wl(e,t){return e=e0(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}l(Wl,"initGrammar");class Ae{static{l(this,"AttributedScopeStack")}parent;scopePath;tokenAttributes;static fromExtension(t,n){let r=t,i=t?.scopePath??null;for(const s of n)i=Dt.push(i,s.scopeNames),r=new Ae(r,i,s.encodedTokenAttributes);return r}static createRoot(t,n){return new Ae(null,new Dt(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const i=r.getMetadataForScope(t),s=new Dt(null,t),o=r.themeProvider.themeMatch(s),a=Ae.mergeAttributes(n,i,o);return new Ae(null,s,a)}get scopeName(){return this.scopePath.scopeName}constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}toString(){return this.getScopeNames().join(" ")}equals(t){return Ae.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let i=-1,s=0,o=0;return r!==null&&(i=r.fontStyle,s=r.foregroundId,o=r.backgroundId),tn.set(t,n.languageId,n.tokenType,null,i,s,o)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Ae._pushAttributed(this,t,n);const r=t.split(/ /g);let i=this;for(const s of r)i=Ae._pushAttributed(i,s,n);return i}static _pushAttributed(t,n,r){const i=r.getMetadataForScope(n),s=t.scopePath.push(n),o=r.themeProvider.themeMatch(s),a=Ae.mergeAttributes(t.tokenAttributes,i,o);return new Ae(t,s,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}}class et{static{l(this,"StateStackImpl")}parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new et(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;constructor(t,n,r,i,s,o,a,u){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=o,this.nameScopesList=a,this.contentNameScopesList=u,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}equals(t){return t===null?!1:et._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Ae.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){et._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,i,s,o,a){return new et(this,t,n,r,i,s,o,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new et(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=Ae.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new et(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Ae.fromExtension(r,n.contentNameScopesList))}}class I0{static{l(this,"BalancedBracketSelectors")}balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,n){this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):Nr(r,Dr).map(i=>i.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>Nr(r,Dr).map(i=>i.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class D0{static{l(this,"LineTokens")}balancedBracketSelectors;_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;constructor(t,n,r,i){this.balancedBracketSelectors=i,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let i=t?.tokenAttributes??0,s=!1;if(this.balancedBracketSelectors?.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const o=t?.getScopeNames()??[];for(const a of this._tokenTypeOverrides)a.matcher(o)&&(i=tn.set(i,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(o))}if(s&&(i=tn.set(i,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===i){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(i),this._lastTokenEndIndex=n;return}const r=t?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let i=0,s=this._binaryTokens.length;i<s;i++)r[i]=this._binaryTokens[i];return r}}class R0{static{l(this,"SyncRegistry")}_onigLibPromise;_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;constructor(t,n){this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,i,s){if(!this._grammars.has(t)){let o=this._rawGrammars.get(t);if(!o)return null;this._grammars.set(t,_0(t,o,n,r,i,s,this,await this._onigLibPromise))}return this._grammars.get(t)}}let P0=class{static{l(this,"Registry")}_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new R0(Ir.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Ir.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new I0(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,i,s){const o=new s0(this._syncRegistry,t);for(;o.Q.length>0;)await Promise.all(o.Q.map(a=>this._loadSingleGrammar(a.scopeName))),o.processQueue();return this._grammarForScopeName(t,n,r,i,s)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,i=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,i)}_grammarForScopeName(t,n=0,r=null,i=null,s=null){return this._syncRegistry.grammarForScopeName(t,n,r,i,s)}};const q0=et.NULL,be={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class ut{static{l(this,"StackElementMetadata")}static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&be.LANGUAGEID_MASK)>>>be.LANGUAGEID_OFFSET}static getTokenType(t){return(t&be.TOKEN_TYPE_MASK)>>>be.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&be.FONT_STYLE_MASK)>>>be.FONT_STYLE_OFFSET}static getForeground(t){return(t&be.FOREGROUND_MASK)>>>be.FOREGROUND_OFFSET}static getBackground(t){return(t&be.BACKGROUND_MASK)>>>be.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&be.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,i,s,o){let a=ut.getLanguageId(t),u=ut.getTokenType(t),c=ut.getFontStyle(t),p=ut.getForeground(t),f=ut.getBackground(t);const h=ut.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(u=r===8?0:r),i!==Ge.NotSet&&(c=i),s!==0&&(p=s),o!==0&&(f=o),(a<<be.LANGUAGEID_OFFSET|u<<be.TOKEN_TYPE_OFFSET|c<<be.FONT_STYLE_OFFSET|h<<be.BALANCED_BRACKETS_OFFSET|p<<be.FOREGROUND_OFFSET|f<<be.BACKGROUND_OFFSET)>>>0}}function Rr(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const i=[];for(let s=0;s<n.length;s+=2){const o=t?n[s]+(n[s+1]||""):n[s];i.push([o,r]),r+=n[s].length,r+=n[s+1]?.length||0}return i}l(Rr,"splitLines");function Kl(e){return!e||["plaintext","txt","text","plain"].includes(e)}l(Kl,"isPlainLang");function Yl(e){return e==="ansi"||Kl(e)}l(Yl,"isSpecialLang");function Jl(e){return e==="none"}l(Jl,"isNoneTheme");function Ql(e){return Jl(e)}l(Ql,"isSpecialTheme");function Xl(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}l(Xl,"addClassToHast");function F0(e,t){let n=0;const r=[];for(const i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}l(F0,"splitToken");function M0(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,i)=>r-i);return n.length?e.map(r=>r.flatMap(i=>{const s=n.filter(o=>i.offset<o&&o<i.offset+i.content.length).map(o=>o-i.offset).sort((o,a)=>o-a);return s.length?F0(i,s):i})):e}l(M0,"splitTokens");function Pr(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[i,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[i]=s:i===r&&Object.assign(n,s);return n}l(Pr,"resolveColorReplacements");function Ct(e,t){return e&&(t?.[e?.toLowerCase()]||e)}l(Ct,"applyColorReplacements");function Zl(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Ge.Italic&&(t["font-style"]="italic"),e.fontStyle&Ge.Bold&&(t["font-weight"]="bold"),e.fontStyle&Ge.Underline&&(t["text-decoration"]="underline")),t}l(Zl,"getTokenStyleObject");function eu(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}l(eu,"stringifyTokenStyle");function $0(e){const t=Rr(e,!0).map(([i])=>i);function n(i){let s=i,o=0;for(const a of t){if(s<a.length)break;s-=a.length,o++}return{line:o,character:s}}l(n,"indexToPos");function r(i,s){let o=0;for(let a=0;a<i;a++)o+=t[a].length;return o+=s,o}return l(r,"posToIndex"),{lines:t,indexToPos:n,posToIndex:r}}l($0,"createPositionConverter");var Tt=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],ms={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function B0(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}l(B0,"findSequence");function tu(e,t){let n=1;const r=e[t+n++];let i;if(r==="2"){const s=[e[t+n++],e[t+n++],e[t+n]].map(o=>Number.parseInt(o));s.length===3&&!s.some(o=>Number.isNaN(o))&&(i={type:"rgb",rgb:s})}else if(r==="5"){const s=Number.parseInt(e[t+n]);Number.isNaN(s)||(i={type:"table",index:Number(s)})}return[n,i]}l(tu,"parseColor");function j0(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],i=Number.parseInt(r);if(!Number.isNaN(i))if(i===0)t.push({type:"resetAll"});else if(i<=9)ms[i]&&t.push({type:"setDecoration",value:ms[i]});else if(i<=29){const s=ms[i-20];s&&t.push({type:"resetDecoration",value:s})}else if(i<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Tt[i-30]}});else if(i===38){const[s,o]=tu(e,n);o&&t.push({type:"setForegroundColor",value:o}),n+=s}else if(i===39)t.push({type:"resetForegroundColor"});else if(i<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Tt[i-40]}});else if(i===48){const[s,o]=tu(e,n);o&&t.push({type:"setBackgroundColor",value:o}),n+=s}else i===49?t.push({type:"resetBackgroundColor"}):i>=90&&i<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Tt[i-90+8]}}):i>=100&&i<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Tt[i-100+8]}})}return t}l(j0,"parseSequence");function z0(){let e=null,t=null,n=new Set;return{parse(r){const i=[];let s=0;do{const o=B0(r,s),a=o.sequence?r.substring(s,o.startPosition):r.substring(s);if(a.length>0&&i.push({value:a,foreground:e,background:t,decorations:new Set(n)}),o.sequence){const u=j0(o.sequence);for(const c of u)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of u)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}s=o.position}while(s<r.length);return i}}}l(z0,"createAnsiSequenceParser");var U0={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function H0(e=U0){function t(a){return e[a]}l(t,"namedColor");function n(a){return`#${a.map(u=>Math.max(0,Math.min(u,255)).toString(16).padStart(2,"0")).join("")}`}l(n,"rgbColor");let r;function i(){if(r)return r;r=[];for(let c=0;c<Tt.length;c++)r.push(t(Tt[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let p=0;p<6;p++)for(let f=0;f<6;f++)r.push(n([a[c],a[p],a[f]]));let u=8;for(let c=0;c<24;c++,u+=10)r.push(n([u,u,u]));return r}l(i,"getColorTable");function s(a){return i()[a]}l(s,"tableColor");function o(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return s(a.index)}}return l(o,"value"),{value:o}}l(H0,"createColorPalette");function V0(e,t,n){const r=Pr(e,n),i=Rr(t),s=H0(Object.fromEntries(Tt.map(a=>[a,e.colors?.[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]))),o=z0();return i.map(a=>o.parse(a[0]).map(u=>{let c,p;u.decorations.has("reverse")?(c=u.background?s.value(u.background):e.bg,p=u.foreground?s.value(u.foreground):e.fg):(c=u.foreground?s.value(u.foreground):e.fg,p=u.background?s.value(u.background):void 0),c=Ct(c,r),p=Ct(p,r),u.decorations.has("dim")&&(c=G0(c));let f=Ge.None;return u.decorations.has("bold")&&(f|=Ge.Bold),u.decorations.has("italic")&&(f|=Ge.Italic),u.decorations.has("underline")&&(f|=Ge.Underline),{content:u.value,offset:a[1],color:c,bgColor:p,fontStyle:f}}))}l(V0,"tokenizeAnsiWithTheme");function G0(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}l(G0,"dimColor");function gs(e,t,n={}){const{lang:r="text",theme:i=e.getLoadedThemes()[0]}=n;if(Kl(r)||Jl(i))return Rr(t).map(u=>[{content:u[0],offset:u[1]}]);const{theme:s,colorMap:o}=e.setTheme(i);if(r==="ansi")return V0(s,t,n);const a=e.getLanguage(r);return W0(t,a,s,o,n)}l(gs,"codeToTokensBase");function W0(e,t,n,r,i){const s=Pr(n,i),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:a=500}=i,u=Rr(e);let c=q0,p=[];const f=[];for(let h=0,d=u.length;h<d;h++){const[m,g]=u[h];if(m===""){p=[],f.push([]);continue}if(o>0&&m.length>=o){p=[],f.push([{content:m,offset:g,color:"",fontStyle:0}]);continue}let y,w,b;i.includeExplanation&&(y=t.tokenizeLine(m,c),w=y.tokens,b=0);const S=t.tokenizeLine2(m,c,a),T=S.tokens.length/2;for(let N=0;N<T;N++){const A=S.tokens[2*N],E=N+1<T?S.tokens[2*N+2]:m.length;if(A===E)continue;const $=S.tokens[2*N+1],q=Ct(r[ut.getForeground($)],s),x=ut.getFontStyle($),R={content:m.substring(A,E),offset:g+A,color:q,fontStyle:x};if(i.includeExplanation){R.explanation=[];let D=0;for(;A+D<E;){const M=w[b],Q=m.substring(M.startIndex,M.endIndex);D+=Q.length,R.explanation.push({content:Q,scopes:K0(n,M.scopes)}),b+=1}}p.push(R)}f.push(p),p=[],c=S.ruleStack}return f}l(W0,"tokenizeWithTheme");function K0(e,t){const n=[];for(let r=0,i=t.length;r<i;r++){const s=t.slice(0,r),o=t[r];n[r]={scopeName:o,themeMatches:J0(e,o,s)}}return n}l(K0,"explainThemeScopes");function nu(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}l(nu,"matchesOne");function Y0(e,t,n,r){if(!nu(e,n))return!1;let i=t.length-1,s=r.length-1;for(;i>=0&&s>=0;)nu(t[i],r[s])&&(i-=1),s-=1;return i===-1}l(Y0,"matches");function J0(e,t,n){const r=[];let i=0;for(let s=0,o=e.settings.length;s<o;s++){const a=e.settings[s];let u;if(typeof a.scope=="string")u=a.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(a.scope))u=a.scope;else continue;for(let c=0,p=u.length;c<p;c++){const h=u[c].split(/ /),d=h[h.length-1],m=h.slice(0,h.length-1);Y0(d,m,t,n)&&(r[i++]=a,c=p)}}return r}l(J0,"explainThemeScope");function ru(e,t,n){const r=Object.entries(n.themes).filter(o=>o[1]).map(o=>({color:o[0],theme:o[1]})),i=Q0(...r.map(o=>gs(e,t,{...n,theme:o.theme})));return i[0].map((o,a)=>o.map((u,c)=>{const p={content:u.content,variants:{},offset:u.offset};return i.forEach((f,h)=>{const{content:d,explanation:m,offset:g,...y}=f[a][c];p.variants[r[h].color]=y}),p}))}l(ru,"codeToTokensWithThemes");function Q0(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const i=e.map(u=>u[r]),s=t.map(()=>[]);t.forEach((u,c)=>u.push(s[c]));const o=i.map(()=>0),a=i.map(u=>u[0]);for(;a.every(u=>u);){const u=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const p=a[c];p.content.length===u?(s[c].push(p),o[c]+=1,a[c]=i[c][o[c]]):(s[c].push({...p,content:p.content.slice(0,u)}),a[c]={...p,content:p.content.slice(u),offset:p.offset+u})}}}return t}l(Q0,"syncThemesTokenization");class we extends Error{static{l(this,"ShikiError")}constructor(t){super(t),this.name="ShikiError"}}function qr(e,t,n){let r,i,s,o,a;if("themes"in n){const{defaultColor:u="light",cssVariablePrefix:c="--shiki-"}=n,p=Object.entries(n.themes).filter(g=>g[1]).map(g=>({color:g[0],theme:g[1]})).sort((g,y)=>g.color===u?-1:y.color===u?1:0);if(p.length===0)throw new we("`themes` option must not be empty");const f=ru(e,t,n);if(u&&!p.find(g=>g.color===u))throw new we(`\`themes\` option must contain the defaultColor key \`${u}\``);const h=p.map(g=>e.getTheme(g.theme)),d=p.map(g=>g.color);s=f.map(g=>g.map(y=>X0(y,d,c,u)));const m=p.map(g=>Pr(g.theme,n));i=p.map((g,y)=>(y===0&&u?"":`${c+g.color}:`)+(Ct(h[y].fg,m[y])||"inherit")).join(";"),r=p.map((g,y)=>(y===0&&u?"":`${c+g.color}-bg:`)+(Ct(h[y].bg,m[y])||"inherit")).join(";"),o=`shiki-themes ${h.map(g=>g.name).join(" ")}`,a=u?void 0:[i,r].join(";")}else if("theme"in n){const u=Pr(n.theme,n.colorReplacements);s=gs(e,t,n);const c=e.getTheme(n.theme);r=Ct(c.bg,u),i=Ct(c.fg,u),o=c.name}else throw new we("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:i,bg:r,themeName:o,rootStyle:a}}l(qr,"codeToTokens");function X0(e,t,n,r){const i={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(u=>Zl(e.variants[u])),o=new Set(s.flatMap(u=>Object.keys(u))),a=s.reduce((u,c,p)=>{for(const f of o){const h=c[f]||"inherit";if(p===0&&r)u[f]=h;else{const d=f==="color"?"":f==="background-color"?"-bg":`-${f}`,m=n+t[p]+(f==="color"?"":d);u[f]?u[f]+=`;${m}:${h}`:u[f]=`${m}:${h}`}}return u},{});return i.htmlStyle=r?eu(a):Object.values(a).join(";"),i}l(X0,"mergeToken");function Z0(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let s=function(a){return typeof a=="number"?{...i.indexToPos(a),offset:a}:{...a,offset:i.posToIndex(a.line,a.character)}};l(s,"normalizePosition");const i=$0(r.source),o=(r.options.decorations||[]).map(a=>({...a,start:s(a.start),end:s(a.end)}));n(o),e.set(r.meta,{decorations:o,converter:i,source:r.source})}return e.get(r.meta)}l(t,"getContext");function n(r){for(let i=0;i<r.length;i++){const s=r[i];if(s.start.offset>s.end.offset)throw new we(`Invalid decoration range: ${JSON.stringify(s.start)} - ${JSON.stringify(s.end)}`);for(let o=i+1;o<r.length;o++){const a=r[o],u=s.start.offset<a.start.offset&&a.start.offset<s.end.offset,c=s.start.offset<a.end.offset&&a.end.offset<s.end.offset,p=a.start.offset<s.start.offset&&s.start.offset<a.end.offset,f=a.start.offset<s.end.offset&&s.end.offset<a.end.offset;if(u||c||p||f){if(c&&c||p&&f)continue;throw new we(`Decorations ${JSON.stringify(s.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}return l(n,"verifyIntersections"),{name:"shiki:decorations",tokens(r){if(!this.options.decorations?.length)return;const s=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return M0(r,s)},code(r){if(!this.options.decorations?.length)return;const i=t(this),s=Array.from(r.children).filter(f=>f.type==="element"&&f.tagName==="span");if(s.length!==i.converter.lines.length)throw new we(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${i.converter.lines.length}). Failed to apply decorations.`);function o(f,h,d,m){const g=s[f];let y="",w=-1,b=-1;function S(N){return N.type==="text"?N.value:N.type==="element"?N.children.map(S).join(""):""}if(l(S,"stringify"),h===0&&(w=0),d===0&&(b=0),d===Number.POSITIVE_INFINITY&&(b=g.children.length),w===-1||b===-1)for(let N=0;N<g.children.length;N++)y+=S(g.children[N]),w===-1&&y.length===h&&(w=N+1),b===-1&&y.length===d&&(b=N+1);if(w===-1)throw new we(`Failed to find start index for decoration ${JSON.stringify(m.start)}`);if(b===-1)throw new we(`Failed to find end index for decoration ${JSON.stringify(m.end)}`);const T=g.children.slice(w,b);if(!m.alwaysWrap&&T.length===g.children.length)u(g,m,"line");else if(!m.alwaysWrap&&T.length===1&&T[0].type==="element")u(T[0],m,"token");else{const N={type:"element",tagName:"span",properties:{},children:T};u(N,m,"wrapper"),g.children.splice(w,T.length,N)}}l(o,"applyLineSection");function a(f,h){s[f]=u(s[f],h,"line")}l(a,"applyLine");function u(f,h,d){const m=h.properties||{},g=h.transform||(y=>y);return f.tagName=h.tagName||"span",f.properties={...f.properties,...m,class:f.properties.class},h.properties?.class&&Xl(f,h.properties.class),f=g(f,d)||f,f}l(u,"applyDecoration");const c=[],p=i.decorations.sort((f,h)=>h.start.offset-f.start.offset);for(const f of p){const{start:h,end:d}=f;if(h.line===d.line)o(h.line,h.character,d.character,f);else if(h.line<d.line){o(h.line,h.character,Number.POSITIVE_INFINITY,f);for(let m=h.line+1;m<d.line;m++)c.unshift(()=>a(m,f));o(d.line,0,d.character,f)}}c.forEach(f=>f())}}}l(Z0,"transformerDecorations");const ek=[Z0()];function Fr(e){return[...e.transformers||[],...ek]}l(Fr,"getTransformers");function Mr(e,t,n,r={meta:{},options:n,codeToHast:(i,s)=>Mr(e,i,s),codeToTokens:(i,s)=>qr(e,i,s)}){let i=t;for(const h of Fr(n))i=h.preprocess?.call(r,i,n)||i;let{tokens:s,fg:o,bg:a,themeName:u,rootStyle:c}=qr(e,i,n);const{mergeWhitespaces:p=!0}=n;p===!0?s=nk(s):p==="never"&&(s=rk(s));const f={...r,get source(){return i}};for(const h of Fr(n))s=h.tokens?.call(f,s)||s;return tk(s,{...n,fg:o,bg:a,themeName:u,rootStyle:c},f)}l(Mr,"codeToHast");function tk(e,t,n){const r=Fr(t),i=[],s={type:"root",children:[]},{structure:o="classic"}=t;let a={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([h])=>!h.startsWith("_")))},children:[]},u={type:"element",tagName:"code",properties:{},children:i};const c=[],p={...n,structure:o,addClassToHast:Xl,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return a},get code(){return u},get lines(){return c}};if(e.forEach((h,d)=>{d&&(o==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):o==="classic"&&i.push({type:"text",value:`
252
+ `}));let m={type:"element",tagName:"span",properties:{class:"line"},children:[]},g=0;for(const y of h){let w={type:"element",tagName:"span",properties:{},children:[{type:"text",value:y.content}]};const b=y.htmlStyle||eu(Zl(y));b&&(w.properties.style=b);for(const S of r)w=S?.span?.call(p,w,d+1,g,m)||w;o==="inline"?s.children.push(w):o==="classic"&&m.children.push(w),g+=y.content.length}if(o==="classic"){for(const y of r)m=y?.line?.call(p,m,d+1)||m;c.push(m),i.push(m)}}),o==="classic"){for(const h of r)u=h?.code?.call(p,u)||u;a.children.push(u);for(const h of r)a=h?.pre?.call(p,a)||a;s.children.push(a)}let f=s;for(const h of r)f=h?.root?.call(p,f)||f;return f}l(tk,"tokensToHast");function nk(e){return e.map(t=>{const n=[];let r="",i=0;return t.forEach((s,o)=>{const u=!(s.fontStyle&&s.fontStyle&Ge.Underline);u&&s.content.match(/^\s+$/)&&t[o+1]?(i||(i=s.offset),r+=s.content):r?(u?n.push({...s,offset:i,content:r+s.content}):n.push({content:r,offset:i},s),i=0,r=""):n.push(s)}),n})}l(nk,"mergeWhitespaceTokens");function rk(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,i,s,o]=r;if(!i&&!o)return n;const a=[{...n,offset:n.offset+i.length,content:s}];return i&&a.unshift({content:i,offset:n.offset}),o&&a.push({content:o,offset:n.offset+i.length+s.length}),a}))}l(rk,"splitWhitespaceTokens");const ik=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];let Bn=class{static{l(this,"Schema")}constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};Bn.prototype.property={},Bn.prototype.normal={},Bn.prototype.space=null;function iu(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 Bn(n,r,t)}l(iu,"merge$1");function ys(e){return e.toLowerCase()}l(ys,"normalize$2");let Pe=class{static{l(this,"Info")}constructor(t,n){this.property=t,this.attribute=n}};Pe.prototype.space=null,Pe.prototype.boolean=!1,Pe.prototype.booleanish=!1,Pe.prototype.overloadedBoolean=!1,Pe.prototype.number=!1,Pe.prototype.commaSeparated=!1,Pe.prototype.spaceSeparated=!1,Pe.prototype.commaOrSpaceSeparated=!1,Pe.prototype.mustUseProperty=!1,Pe.prototype.defined=!1;let sk=0;const G=Nt(),fe=Nt(),su=Nt(),L=Nt(),ee=Nt(),nn=Nt(),_e=Nt();function Nt(){return 2**++sk}l(Nt,"increment$1");var bs=Object.freeze({__proto__:null,boolean:G,booleanish:fe,commaOrSpaceSeparated:_e,commaSeparated:nn,number:L,overloadedBoolean:su,spaceSeparated:ee});const ws=Object.keys(bs);let ks=class extends Pe{static{l(this,"DefinedInfo")}constructor(t,n,r,i){let s=-1;if(super(t,n),ou(this,"space",i),typeof r=="number")for(;++s<ws.length;){const o=ws[s];ou(this,ws[s],(r&bs[o])===bs[o])}}};ks.prototype.defined=!0;function ou(e,t,n){n&&(e[t]=n)}l(ou,"mark$1");const ok={}.hasOwnProperty;function rn(e){const t={},n={};let r;for(r in e.properties)if(ok.call(e.properties,r)){const i=e.properties[r],s=new ks(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[ys(r)]=r,n[ys(s.attribute)]=r}return new Bn(t,n,e.space)}l(rn,"create$2");const au=rn({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}}),lu=rn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function uu(e,t){return t in e?e[t]:t}l(uu,"caseSensitiveTransform$1");function cu(e,t){return uu(e,t.toLowerCase())}l(cu,"caseInsensitiveTransform$1");const fu=rn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:cu,properties:{xmlns:null,xmlnsXLink:null}}),pu=rn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:fe,ariaAutoComplete:null,ariaBusy:fe,ariaChecked:fe,ariaColCount:L,ariaColIndex:L,ariaColSpan:L,ariaControls:ee,ariaCurrent:null,ariaDescribedBy:ee,ariaDetails:null,ariaDisabled:fe,ariaDropEffect:ee,ariaErrorMessage:null,ariaExpanded:fe,ariaFlowTo:ee,ariaGrabbed:fe,ariaHasPopup:null,ariaHidden:fe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ee,ariaLevel:L,ariaLive:null,ariaModal:fe,ariaMultiLine:fe,ariaMultiSelectable:fe,ariaOrientation:null,ariaOwns:ee,ariaPlaceholder:null,ariaPosInSet:L,ariaPressed:fe,ariaReadOnly:fe,ariaRelevant:null,ariaRequired:fe,ariaRoleDescription:ee,ariaRowCount:L,ariaRowIndex:L,ariaRowSpan:L,ariaSelected:fe,ariaSetSize:L,ariaSort:null,ariaValueMax:L,ariaValueMin:L,ariaValueNow:L,ariaValueText:null,role:null}}),ak=rn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:cu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:nn,acceptCharset:ee,accessKey:ee,action:null,allow:null,allowFullScreen:G,allowPaymentRequest:G,allowUserMedia:G,alt:null,as:null,async:G,autoCapitalize:null,autoComplete:ee,autoFocus:G,autoPlay:G,blocking:ee,capture:null,charSet:null,checked:G,cite:null,className:ee,cols:L,colSpan:null,content:null,contentEditable:fe,controls:G,controlsList:ee,coords:L|nn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:G,defer:G,dir:null,dirName:null,disabled:G,download:su,draggable:fe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:G,formTarget:null,headers:ee,height:L,hidden:G,high:L,href:null,hrefLang:null,htmlFor:ee,httpEquiv:ee,id:null,imageSizes:null,imageSrcSet:null,inert:G,inputMode:null,integrity:null,is:null,isMap:G,itemId:null,itemProp:ee,itemRef:ee,itemScope:G,itemType:ee,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:G,low:L,manifest:null,max:null,maxLength:L,media:null,method:null,min:null,minLength:L,multiple:G,muted:G,name:null,nonce:null,noModule:G,noValidate:G,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:G,optimum:L,pattern:null,ping:ee,placeholder:null,playsInline:G,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:G,referrerPolicy:null,rel:ee,required:G,reversed:G,rows:L,rowSpan:L,sandbox:ee,scope:null,scoped:G,seamless:G,selected:G,shadowRootDelegatesFocus:G,shadowRootMode:null,shape:null,size:L,sizes:null,slot:null,span:L,spellCheck:fe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:L,step:null,style:null,tabIndex:L,target:null,title:null,translate:null,type:null,typeMustMatch:G,useMap:null,value:fe,width:L,wrap:null,align:null,aLink:null,archive:ee,axis:null,background:null,bgColor:null,border:L,borderColor:null,bottomMargin:L,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:G,declare:G,event:null,face:null,frame:null,frameBorder:null,hSpace:L,leftMargin:L,link:null,longDesc:null,lowSrc:null,marginHeight:L,marginWidth:L,noResize:G,noHref:G,noShade:G,noWrap:G,object:null,profile:null,prompt:null,rev:null,rightMargin:L,rules:null,scheme:null,scrolling:fe,standby:null,summary:null,text:null,topMargin:L,valueType:null,version:null,vAlign:null,vLink:null,vSpace:L,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:G,disableRemotePlayback:G,prefix:null,property:null,results:L,security:null,unselectable:null}}),lk=rn({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",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:uu,properties:{about:_e,accentHeight:L,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:L,amplitude:L,arabicForm:null,ascent:L,attributeName:null,attributeType:null,azimuth:L,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:L,by:null,calcMode:null,capHeight:L,className:ee,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:L,diffuseConstant:L,direction:null,display:null,dur:null,divisor:L,dominantBaseline:null,download:G,dx:null,dy:null,edgeMode:null,editable:null,elevation:L,enableBackground:null,end:null,event:null,exponent:L,externalResourcesRequired:null,fill:null,fillOpacity:L,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:nn,g2:nn,glyphName:nn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:L,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:L,horizOriginX:L,horizOriginY:L,id:null,ideographic:L,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:L,k:L,k1:L,k2:L,k3:L,k4:L,kernelMatrix:_e,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:L,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:L,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:L,overlineThickness:L,paintOrder:null,panose1:null,path:null,pathLength:L,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ee,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:L,pointsAtY:L,pointsAtZ:L,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:_e,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:_e,rev:_e,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:_e,requiredFeatures:_e,requiredFonts:_e,requiredFormats:_e,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:L,specularExponent:L,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:L,strikethroughThickness:L,string:null,stroke:null,strokeDashArray:_e,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:L,strokeOpacity:L,strokeWidth:null,style:null,surfaceScale:L,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:_e,tabIndex:L,tableValues:null,target:null,targetX:L,targetY:L,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:_e,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:L,underlineThickness:L,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:L,values:null,vAlphabetic:L,vMathematical:L,vectorEffect:null,vHanging:L,vIdeographic:L,version:null,vertAdvY:L,vertOriginX:L,vertOriginY:L,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:L,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),uk=/^data[-\w.:]+$/i,hu=/-[a-z]/g,ck=/[A-Z]/g;function fk(e,t){const n=ys(t);let r=t,i=Pe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&uk.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(hu,hk);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!hu.test(s)){let o=s.replace(ck,pk);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=ks}return new i(r,t)}l(fk,"find$1");function pk(e){return"-"+e.toLowerCase()}l(pk,"kebab$1");function hk(e){return e.charAt(1).toUpperCase()}l(hk,"camelcase$1");const dk=iu([lu,au,fu,pu,ak],"html"),du=iu([lu,au,fu,pu,lk],"svg"),mu={}.hasOwnProperty;function mk(e,t){const n=t||{};function r(i,...s){let o=r.invalid;const a=r.handlers;if(i&&mu.call(i,e)){const u=String(i[e]);o=mu.call(a,u)?a[u]:r.unknown}if(o)return o.call(this,i,...s)}return l(r,"one"),r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}l(mk,"zwitch$1");function gk(e,t){if(e=e.replace(t.subset?yk(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(i,s,o){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),t)}function r(i,s,o){return t.format(i.charCodeAt(0),o.charCodeAt(s+1),t)}}l(gk,"core$1");function yk(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}l(yk,"charactersToExpression$1");function bk(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}l(bk,"toHexadecimal$1");function wk(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}l(wk,"toDecimal$1");const kk=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],vs={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"},vk=["cent","copy","divide","gt","lt","not","para","times"],gu={}.hasOwnProperty,Ss={};let $r;for($r in vs)gu.call(vs,$r)&&(Ss[vs[$r]]=$r);function Sk(e,t,n,r){const i=String.fromCharCode(e);if(gu.call(Ss,i)){const s=Ss[i],o="&"+s;return n&&kk.includes(s)&&!vk.includes(s)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?o:o+";"}return""}l(Sk,"toNamed$1");function xk(e,t,n){let r=bk(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=Sk(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const s=wk(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}l(xk,"formatSmart$1");function sn(e,t){return gk(e,Object.assign({format:xk},t))}l(sn,"stringifyEntities$1");const Ak=/^>|^->|<!--|-->|--!>|<!-$/g,Ck=[">"],Tk=["<",">"];function Nk(e,t,n,r){return r.settings.bogusComments?"<?"+sn(e.value,Object.assign({},r.settings.characterReferences,{subset:Ck}))+">":"<!--"+e.value.replace(Ak,i)+"-->";function i(s){return sn(s,Object.assign({},r.settings.characterReferences,{subset:Tk}))}}l(Nk,"comment$1");function Ek(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}l(Ek,"doctype$1");function yu(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}l(yu,"ccount$1");function _k(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}l(_k,"stringify$1$1");function Ok(e){return e.join(" ").trim()}l(Ok,"stringify$2");const Lk=/[ \t\n\f\r]/g;function xs(e){return typeof e=="object"?e.type==="text"?bu(e.value):!1:bu(e)}l(xs,"whitespace$1");function bu(e){return e.replace(Lk,"")===""}l(bu,"empty$2");const he=ku(1),wu=ku(-1),Ik=[];function ku(e){return t;function t(n,r,i){const s=n?n.children:Ik;let o=(r||0)+e,a=s[o];if(!i)for(;a&&xs(a);)o+=e,a=s[o];return a}}l(ku,"siblings$1");const Dk={}.hasOwnProperty;function vu(e){return t;function t(n,r,i){return Dk.call(e,n.tagName)&&e[n.tagName](n,r,i)}}l(vu,"omission$1");const As=vu({body:Pk,caption:Cs,colgroup:Cs,dd:$k,dt:Mk,head:Cs,html:Rk,li:Fk,optgroup:Bk,option:jk,p:qk,rp:Su,rt:Su,tbody:Uk,td:xu,tfoot:Hk,th:xu,thead:zk,tr:Vk});function Cs(e,t,n){const r=he(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&xs(r.value.charAt(0)))}l(Cs,"headOrColgroupOrCaption$1");function Rk(e,t,n){const r=he(n,t);return!r||r.type!=="comment"}l(Rk,"html$1$1");function Pk(e,t,n){const r=he(n,t);return!r||r.type!=="comment"}l(Pk,"body$1$1");function qk(e,t,n){const r=he(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}l(qk,"p$2");function Fk(e,t,n){const r=he(n,t);return!r||r.type==="element"&&r.tagName==="li"}l(Fk,"li$1");function Mk(e,t,n){const r=he(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}l(Mk,"dt$1");function $k(e,t,n){const r=he(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}l($k,"dd$1");function Su(e,t,n){const r=he(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}l(Su,"rubyElement$1");function Bk(e,t,n){const r=he(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}l(Bk,"optgroup$1");function jk(e,t,n){const r=he(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}l(jk,"option$1");function zk(e,t,n){const r=he(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}l(zk,"thead$1");function Uk(e,t,n){const r=he(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}l(Uk,"tbody$1$1");function Hk(e,t,n){return!he(n,t)}l(Hk,"tfoot$1");function Vk(e,t,n){const r=he(n,t);return!r||r.type==="element"&&r.tagName==="tr"}l(Vk,"tr$1");function xu(e,t,n){const r=he(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}l(xu,"cells$1");const Gk=vu({body:Yk,colgroup:Jk,head:Kk,html:Wk,tbody:Qk});function Wk(e){const t=he(e,-1);return!t||t.type!=="comment"}l(Wk,"html$6");function Kk(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const i=t[r];if(i.type==="element"&&(i.tagName==="title"||i.tagName==="base")){if(n.includes(i.tagName))return!1;n.push(i.tagName)}}return t.length>0}l(Kk,"head$1");function Yk(e){const t=he(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&xs(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}l(Yk,"body$2");function Jk(e,t,n){const r=wu(n,t),i=he(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&As(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}l(Jk,"colgroup$1");function Qk(e,t,n){const r=wu(n,t),i=he(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&As(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}l(Qk,"tbody$2");const Br={name:[[`
253
+ \f\r &/=>`.split(""),`
254
+ \f\r "&'/=>\``.split("")],[`\0
255
+ \f\r "&'/<=>`.split(""),`\0
256
+ \f\r "&'/<=>\``.split("")]],unquoted:[[`
257
+ \f\r &>`.split(""),`\0
258
+ \f\r "&'<=>\``.split("")],[`\0
259
+ \f\r "&'<=>\``.split(""),`\0
260
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Xk(e,t,n,r){const i=r.schema,s=i.space==="svg"?!1:r.settings.omitOptionalTags;let o=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let u;i.space==="html"&&e.tagName==="svg"&&(r.schema=du);const c=Zk(r,e.properties),p=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,p&&(o=!1),(c||!s||!Gk(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),o&&(i.space==="svg"||r.settings.closeSelfClosing)&&(u=c.charAt(c.length-1),(!r.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(p),!o&&(!s||!As(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}l(Xk,"element$1");function Zk(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const s=e1(e,i,t[i]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}l(Zk,"serializeAttributes$1");function e1(e,t,n){const r=fk(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let o=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const u=sn(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Br.name[i][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?_k:Ok)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?u:(e.settings.preferUnquoted&&(a=sn(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Br.unquoted[i][s]}))),a!==n&&(e.settings.quoteSmart&&yu(n,o)>yu(n,e.alternative)&&(o=e.alternative),a=o+sn(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?Br.single:Br.double)[i][s],attribute:!0}))+o),u+(a&&"="+a))}l(e1,"serializeAttribute$1");const t1=["<","&"];function Au(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:sn(e.value,Object.assign({},r.settings.characterReferences,{subset:t1}))}l(Au,"text$6");function n1(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Au(e,t,n,r)}l(n1,"raw$1");function r1(e,t,n,r){return r.all(e)}l(r1,"root$3");const i1=mk("type",{invalid:s1,unknown:o1,handlers:{comment:Nk,doctype:Ek,element:Xk,raw:n1,root:r1,text:Au}});function s1(e){throw new Error("Expected node, not `"+e+"`")}l(s1,"invalid$1");function o1(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}l(o1,"unknown$1");const a1={},l1={},u1=[];function c1(e,t){const n=a1,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:f1,all:p1,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||ik,characterReferences:n.characterReferences||l1,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?du:dk,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}l(c1,"toHtml$1");function f1(e,t,n){return i1(e,t,n,this)}l(f1,"one$3");function p1(e){const t=[],n=e&&e.children||u1;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}l(p1,"all$3");function h1(e,t,n){const r={meta:{},options:n,codeToHast:(s,o)=>Mr(e,s,o),codeToTokens:(s,o)=>qr(e,s,o)};let i=c1(Mr(e,t,n,r));for(const s of Fr(n))i=s.postprocess?.call(r,i,n)||i;return i}l(h1,"codeToHtml");async function d1(e){let t,n;const r={};function i(h){n=h,r.HEAPU8=new Uint8Array(h),r.HEAPU32=new Uint32Array(h)}l(i,"updateGlobalBufferAndViews");function s(){return typeof performance<"u"?performance.now():Date.now()}l(s,"_emscripten_get_now");function o(h,d,m){r.HEAPU8.copyWithin(h,d,d+m)}l(o,"_emscripten_memcpy_big");function a(){return 2147483648}l(a,"getHeapMax");function u(h){try{return t.grow(h-n.byteLength+65535>>>16),i(t.buffer),1}catch{}}l(u,"emscripten_realloc_buffer");function c(h){const d=r.HEAPU8.length;h=h>>>0;const m=a();if(h>m)return!1;const g=l((y,w)=>y+(w-y%w)%w,"alignUp");for(let y=1;y<=4;y*=2){let w=d*(1+.2/y);w=Math.min(w,h+100663296);const b=Math.min(m,g(Math.max(h,w),65536));if(u(b))return!0}return!1}l(c,"_emscripten_resize_heap");const p={emscripten_get_now:s,emscripten_memcpy_big:o,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const d=await e({env:p,wasi_snapshot_preview1:p});t=d.memory,i(t.buffer),Object.assign(r,d)}return l(f,"createWasm"),await f(),r}l(d1,"main");let ge=null,m1=!1;function g1(e){throw new we(e.UTF8ToString(e.getLastOnigError()))}l(g1,"throwLastOnigError");class fi{static{l(this,"UtfString")}static _utf8ByteLength(t){let n=0;for(let r=0,i=t.length;r<i;r++){const s=t.charCodeAt(r);let o=s,a=!1;if(s>=55296&&s<=56319&&r+1<i){const u=t.charCodeAt(r+1);u>=56320&&u<=57343&&(o=(s-55296<<10)+65536|u-56320,a=!0)}o<=127?n+=1:o<=2047?n+=2:o<=65535?n+=3:n+=4,a&&r++}return n}utf16Length;utf8Length;utf16Value;utf8Value;utf16OffsetToUtf8;utf8OffsetToUtf16;constructor(t){const n=t.length,r=fi._utf8ByteLength(t),i=r!==n,s=i?new Uint32Array(n+1):null;i&&(s[n]=r);const o=i?new Uint32Array(r+1):null;i&&(o[r]=n);const a=new Uint8Array(r);let u=0;for(let c=0;c<n;c++){const p=t.charCodeAt(c);let f=p,h=!1;if(p>=55296&&p<=56319&&c+1<n){const d=t.charCodeAt(c+1);d>=56320&&d<=57343&&(f=(p-55296<<10)+65536|d-56320,h=!0)}i&&(s[c]=u,h&&(s[c+1]=u),f<=127?o[u+0]=c:f<=2047?(o[u+0]=c,o[u+1]=c):f<=65535?(o[u+0]=c,o[u+1]=c,o[u+2]=c):(o[u+0]=c,o[u+1]=c,o[u+2]=c,o[u+3]=c)),f<=127?a[u++]=f:f<=2047?(a[u++]=192|(f&1984)>>>6,a[u++]=128|(f&63)>>>0):f<=65535?(a[u++]=224|(f&61440)>>>12,a[u++]=128|(f&4032)>>>6,a[u++]=128|(f&63)>>>0):(a[u++]=240|(f&1835008)>>>18,a[u++]=128|(f&258048)>>>12,a[u++]=128|(f&4032)>>>6,a[u++]=128|(f&63)>>>0),h&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=o}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}class $e{static{l(this,"OnigString")}static LAST_ID=0;static _sharedPtr=0;static _sharedPtrInUse=!1;id=++$e.LAST_ID;_onigBinding;content;utf16Length;utf8Length;utf16OffsetToUtf8;utf8OffsetToUtf16;ptr;constructor(t){if(!ge)throw new we("Must invoke loadWasm first.");this._onigBinding=ge,this.content=t;const n=new fi(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!$e._sharedPtrInUse?($e._sharedPtr||($e._sharedPtr=ge.omalloc(1e4)),$e._sharedPtrInUse=!0,ge.HEAPU8.set(n.utf8Value,$e._sharedPtr),this.ptr=$e._sharedPtr):this.ptr=n.createString(ge)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===$e._sharedPtr?$e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}}class y1{static{l(this,"OnigScanner")}_onigBinding;_ptr;constructor(t){if(!ge)throw new we("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,u=t.length;a<u;a++){const c=new fi(t[a]);n[a]=c.createString(ge),r[a]=c.utf8Length}const i=ge.omalloc(4*t.length);ge.HEAPU32.set(n,i/4);const s=ge.omalloc(4*t.length);ge.HEAPU32.set(r,s/4);const o=ge.createOnigScanner(i,s,t.length);for(let a=0,u=t.length;a<u;a++)ge.ofree(n[a]);ge.ofree(s),ge.ofree(i),o===0&&g1(ge),this._onigBinding=ge,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let i=m1,s=0;if(typeof r=="number"?(r&8&&(i=!0),s=r):typeof r=="boolean"&&(i=r),typeof t=="string"){t=new $e(t);const o=this._findNextMatchSync(t,n,i,s);return t.dispose(),o}return this._findNextMatchSync(t,n,i,s)}_findNextMatchSync(t,n,r,i){const s=this._onigBinding;let o;if(r?o=s.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),i):o=s.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),i),o===0)return null;const a=s.HEAPU32;let u=o/4;const c=a[u++],p=a[u++],f=[];for(let h=0;h<p;h++){const d=t.convertUtf8OffsetToUtf16(a[u++]),m=t.convertUtf8OffsetToUtf16(a[u++]);f[h]={start:d,end:m,length:m-d}}return{index:c,captureIndices:f}}}function b1(e){return typeof e.instantiator=="function"}l(b1,"isInstantiatorOptionsObject");function w1(e){return typeof e.default=="function"}l(w1,"isInstantiatorModule");function k1(e){return typeof e.data<"u"}l(k1,"isDataOptionsObject");function v1(e){return typeof Response<"u"&&e instanceof Response}l(v1,"isResponse");function S1(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}l(S1,"isArrayBuffer");let jr;function x1(e){if(jr)return jr;async function t(){ge=await d1(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),b1(r)?r=await r.instantiator(n):w1(r)?r=await r.default(n):(k1(r)&&(r=r.data),v1(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await A1(r)(n):r=await C1(r)(n):S1(r)?r=await Ts(r)(n):r instanceof WebAssembly.Module?r=await Ts(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Ts(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return l(t,"_load"),jr=t(),jr}l(x1,"loadWasm");function Ts(e){return t=>WebAssembly.instantiate(e,t)}l(Ts,"_makeArrayBufferLoader");function A1(e){return t=>WebAssembly.instantiateStreaming(e,t)}l(A1,"_makeResponseStreamingLoader");function C1(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}l(C1,"_makeResponseNonStreamingLoader");function T1(e){return new $e(e)}l(T1,"createOnigString");function N1(e){return new y1(e)}l(N1,"createOnigScanner");const Cu={light:"#333333",dark:"#bbbbbb"},Tu={light:"#fffffe",dark:"#1e1e1e"},Nu="__shiki_resolved";function Eu(e){if(e?.[Nu])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const a=t.settings?t.settings.find(u=>!u.name&&!u.scope):void 0;a?.settings?.foreground&&(r=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Cu.light:Cu.dark),n||(n=t.type==="light"?Tu.light:Tu.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let i=0;const s=new Map;function o(a){if(s.has(a))return s.get(a);i+=1;const u=`#${i.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${u}`]?o(a):(s.set(a,u),u)}l(o,"getReplacementColor"),t.settings=t.settings.map(a=>{const u=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),c=a.settings?.background&&!a.settings.background.startsWith("#");if(!u&&!c)return a;const p={...a,settings:{...a.settings}};if(u){const f=o(a.settings.foreground);t.colorReplacements[f]=a.settings.foreground,p.settings.foreground=f}if(c){const f=o(a.settings.background);t.colorReplacements[f]=a.settings.background,p.settings.background=f}return p});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const u=o(t.colors[a]);t.colorReplacements[u]=t.colors[a],t.colors[a]=u}return Object.defineProperty(t,Nu,{enumerable:!1,writable:!1,value:!0}),t}l(Eu,"normalizeTheme");class E1 extends P0{static{l(this,"Registry")}_resolver;_themes;_langs;_alias;_resolvedThemes={};_resolvedGrammars={};_langMap={};_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(t,n,r,i={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=i,n.forEach(s=>this.loadTheme(s)),r.forEach(s=>this.loadLanguage(s))}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:this.loadTheme(t)}loadTheme(t){const n=Eu(t);return n.name&&(this._resolvedThemes[n.name]=n,this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=Object.keys(this._resolvedThemes)),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=Ir.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new we(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars[t]}async loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set(Object.values(this._langMap).filter(s=>s.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const i=await this.loadGrammarWithConfiguration(t.scopeName,1,r);if(this._resolvedGrammars[t.name]=i,t.aliases&&t.aliases.forEach(s=>{this._alias[s]=t.name}),this._loadedLanguagesCache=null,n.size)for(const s of n)delete this._resolvedGrammars[s.name],this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),await this.loadLanguage(this._langMap[s.name])}async init(){this._themes.map(t=>this.loadTheme(t)),await this.loadLanguages(this._langs)}async loadLanguages(t){for(const i of t)this.resolveEmbeddedLanguages(i);const n=Array.from(this._langGraph.entries()),r=n.filter(([i,s])=>!s);if(r.length){const i=n.filter(([s,o])=>o&&o.embeddedLangs?.some(a=>r.map(([u])=>u).includes(a))).filter(s=>!r.includes(s));throw new we(`Missing languages ${r.map(([s])=>`\`${s}\``).join(", ")}, required by ${i.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[i,s]of n)this._resolver.addLanguage(s);for(const[i,s]of n)await this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=Object.keys({...this._resolvedGrammars,...this._alias})),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap[t.name]=t,this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}class _1{static{l(this,"Resolver")}_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLibPromise;constructor(t,n){this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let i=1;i<=n.length;i++){const s=n.slice(0,i).join(".");r=[...r,...this._injections.get(s)||[]]}return r}}let O1;async function L1(e={}){async function t(y){return Promise.resolve(typeof y=="function"?y():y).then(w=>w.default||w)}l(t,"normalizeGetter");async function n(y){return Array.from(new Set((await Promise.all(y.filter(w=>!Yl(w)).map(async w=>await t(w).then(b=>Array.isArray(b)?b:[b])))).flat()))}l(n,"resolveLangs");const r=e.loadWasm||O1,[i,s]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(y=>y.map(Eu)),n(e.langs||[]),r?x1(r):void 0]),o=new _1(Promise.resolve({createOnigScanner(y){return N1(y)},createOnigString(y){return T1(y)}}),s),a=new E1(o,i,s,e.langAlias);await a.init();let u;function c(y){const w=a.getGrammar(typeof y=="string"?y:y.name);if(!w)throw new we(`Language \`${y}\` not found, you may need to load it first`);return w}l(c,"getLanguage");function p(y){if(y==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const w=a.getTheme(y);if(!w)throw new we(`Theme \`${y}\` not found, you may need to load it first`);return w}l(p,"getTheme");function f(y){const w=p(y);u!==y&&(a.setTheme(w),u=y);const b=a.getColorMap();return{theme:w,colorMap:b}}l(f,"setTheme");function h(){return a.getLoadedThemes()}l(h,"getLoadedThemes");function d(){return a.getLoadedLanguages()}l(d,"getLoadedLanguages");async function m(...y){await a.loadLanguages(await n(y))}l(m,"loadLanguage");async function g(...y){await Promise.all(y.map(async w=>Ql(w)?null:a.loadTheme(await t(w))))}return l(g,"loadTheme"),{setTheme:f,getTheme:p,getLanguage:c,getLoadedThemes:h,getLoadedLanguages:d,loadLanguage:m,loadTheme:g}}l(L1,"getShikiInternal");async function I1(e={}){const t=await L1(e);return{codeToTokensBase:(n,r)=>gs(t,n,r),codeToTokensWithThemes:(n,r)=>ru(t,n,r),codeToTokens:(n,r)=>qr(t,n,r),codeToHast:(n,r)=>Mr(t,n,r),codeToHtml:(n,r)=>h1(t,n,r),...t,getInternalContext:()=>t}}l(I1,"getHighlighterCore");function D1(e,t,n){async function r(i){function s(p){if(typeof p=="string"){if(Yl(p))return[];const f=e[p];if(!f)throw new we(`Language \`${p}\` is not included in this bundle. You may want to load it from external source.`);return f}return p}l(s,"resolveLang");function o(p){if(Ql(p))return"none";if(typeof p=="string"){const f=t[p];if(!f)throw new we(`Theme \`${p}\` is not included in this bundle. You may want to load it from external source.`);return f}return p}l(o,"resolveTheme");const a=(i.themes??[]).map(p=>o(p)),u=(i.langs??[]).map(p=>s(p)),c=await I1({...i,themes:a,langs:u,loadWasm:n});return{...c,loadLanguage(...p){return c.loadLanguage(...p.map(s))},loadTheme(...p){return c.loadTheme(...p.map(o))}}}return l(r,"getHighlighter"),r}l(D1,"createdBundledHighlighter");const R1=D1(Nl,Xw,Jw);function P1(e){return"children"in e?_u(e):"value"in e?e.value:""}l(P1,"toString$2");function q1(e){return e.type==="text"?e.value:"children"in e?_u(e):""}l(q1,"one$2");function _u(e){let t=-1;const n=[];for(;++t<e.children.length;)n[t]=q1(e.children[t]);return n.join("")}l(_u,"all$2");const dt=l(function(e){if(e==null)return B1;if(typeof e=="function")return zr(e);if(typeof e=="object")return Array.isArray(e)?F1(e):M1(e);if(typeof e=="string")return $1(e);throw new Error("Expected function, string, or object as test")},"convert");function F1(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=dt(e[n]);return zr(r);function r(...i){let s=-1;for(;++s<t.length;)if(t[s].apply(this,i))return!0;return!1}}l(F1,"anyFactory");function M1(e){const t=e;return zr(n);function n(r){const i=r;let s;for(s in e)if(i[s]!==t[s])return!1;return!0}}l(M1,"propsFactory");function $1(e){return zr(t);function t(n){return n&&n.type===e}}l($1,"typeFactory");function zr(e){return t;function t(n,r,i){return!!(j1(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}l(zr,"castFactory");function B1(){return!0}l(B1,"ok$1");function j1(e){return e!==null&&typeof e=="object"&&"type"in e}l(j1,"looksLikeANode");function GE(e){return e}l(GE,"color");const Ou=[],mt=!0,at=!1,Ur="skip";function Lu(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const s=dt(i),o=r?-1:1;a(e,void 0,[])();function a(u,c,p){const f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){const d=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(u.type+(d?"<"+d+">":""))+")"})}return h;function h(){let d=Ou,m,g,y;if((!t||s(u,c,p[p.length-1]||void 0))&&(d=z1(n(u,p)),d[0]===at))return d;if("children"in u&&u.children){const w=u;if(w.children&&d[0]!==Ur)for(g=(r?w.children.length:-1)+o,y=p.concat(w);g>-1&&g<w.children.length;){const b=w.children[g];if(m=a(b,g,y)(),m[0]===at)return m;g=typeof m[1]=="number"?m[1]:g+o}}return d}}l(a,"factory")}l(Lu,"visitParents");function z1(e){return Array.isArray(e)?e:typeof e=="number"?[mt,e]:e==null?Ou:[e]}l(z1,"toResult");function de(e,t,n,r){let i,s,o;typeof t=="function"&&typeof n!="function"?(s=void 0,o=t,i=n):(s=t,o=n,i=r),Lu(e,s,a,i);function a(u,c){const p=c[c.length-1],f=p?p.children.indexOf(u):void 0;return o(u,f,p)}l(a,"overload")}l(de,"visit");const U1=l(function(e,t){const{addLanguageClass:n=!1,parseMetaString:r,cache:i,...s}=t,o="language-";return function(a){de(a,"element",(u,c,p)=>{if(!p||c==null||u.tagName!=="pre")return;const f=u.children[0];if(!f||f.type!=="element"||f.tagName!=="code"||!f.properties)return;const h=f.properties.className;if(!Array.isArray(h))return;const d=h.find(S=>typeof S=="string"&&S.startsWith(o));if(typeof d!="string")return;const m=P1(f),g=i?.get(m);if(g){p.children.splice(c,1,...g);return}const y=f.data?.meta??f.properties.metastring??"",w=r?.(y,u,a)||{},b={...s,lang:d.slice(o.length),meta:{...s.meta,...w,__raw:y}};n&&(b.transformers||(b.transformers=[]),b.transformers.push({name:"rehype-shiki:code-language-class",code(S){return this.addClassToHast(S,d),S}}));try{const S=e.codeToHast(m,b);i?.set(m,S.children),p.children.splice(c,1,...S.children)}catch(S){if(t.onError)t.onError(S);else throw S}})}},"rehypeShikiFromHighlighter"),H1=l(function(e={}){const t=("themes"in e?Object.values(e.themes):[e.theme]).filter(Boolean),n=e.langs||Object.keys(Nl),r=this;let i;return async function(s){return i||(i=R1({themes:t,langs:n}).then(a=>U1.call(r,a,e))),(await i)(s)}},"rehypeShiki"),V1=/^\[if[ \t\f\n\r]+[^\]]+]|<!\[endif]$/;function G1(e){return e.type==="comment"&&V1.test(e.value)}l(G1,"isConditionalComment");const W1={};function K1(e){const t=e||W1;return function(n){de(n,"comment",function(r,i,s){if(typeof i=="number"&&s&&(t.removeConditional||!G1(r)))return s.children.splice(i,1),i})}}l(K1,"rehypeRemoveComments");const Y1=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class jn{static{l(this,"Schema")}constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}jn.prototype.property={},jn.prototype.normal={},jn.prototype.space=null;function Iu(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 jn(n,r,t)}l(Iu,"merge");function Ns(e){return e.toLowerCase()}l(Ns,"normalize$1");class qe{static{l(this,"Info")}constructor(t,n){this.property=t,this.attribute=n}}qe.prototype.space=null,qe.prototype.boolean=!1,qe.prototype.booleanish=!1,qe.prototype.overloadedBoolean=!1,qe.prototype.number=!1,qe.prototype.commaSeparated=!1,qe.prototype.spaceSeparated=!1,qe.prototype.commaOrSpaceSeparated=!1,qe.prototype.mustUseProperty=!1,qe.prototype.defined=!1;let J1=0;const H=Et(),pe=Et(),Du=Et(),I=Et(),te=Et(),on=Et(),Oe=Et();function Et(){return 2**++J1}l(Et,"increment");var Es=Object.freeze({__proto__:null,boolean:H,booleanish:pe,commaOrSpaceSeparated:Oe,commaSeparated:on,number:I,overloadedBoolean:Du,spaceSeparated:te});const _s=Object.keys(Es);class Os extends qe{static{l(this,"DefinedInfo")}constructor(t,n,r,i){let s=-1;if(super(t,n),Ru(this,"space",i),typeof r=="number")for(;++s<_s.length;){const o=_s[s];Ru(this,_s[s],(r&Es[o])===Es[o])}}}Os.prototype.defined=!0;function Ru(e,t,n){n&&(e[t]=n)}l(Ru,"mark");const Q1={}.hasOwnProperty;function an(e){const t={},n={};let r;for(r in e.properties)if(Q1.call(e.properties,r)){const i=e.properties[r],s=new Os(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Ns(r)]=r,n[Ns(s.attribute)]=r}return new jn(t,n,e.space)}l(an,"create$1");const Pu=an({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}}),qu=an({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Fu(e,t){return t in e?e[t]:t}l(Fu,"caseSensitiveTransform");function Mu(e,t){return Fu(e,t.toLowerCase())}l(Mu,"caseInsensitiveTransform");const $u=an({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Mu,properties:{xmlns:null,xmlnsXLink:null}}),Bu=an({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:pe,ariaAutoComplete:null,ariaBusy:pe,ariaChecked:pe,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:te,ariaCurrent:null,ariaDescribedBy:te,ariaDetails:null,ariaDisabled:pe,ariaDropEffect:te,ariaErrorMessage:null,ariaExpanded:pe,ariaFlowTo:te,ariaGrabbed:pe,ariaHasPopup:null,ariaHidden:pe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:te,ariaLevel:I,ariaLive:null,ariaModal:pe,ariaMultiLine:pe,ariaMultiSelectable:pe,ariaOrientation:null,ariaOwns:te,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:pe,ariaReadOnly:pe,ariaRelevant:null,ariaRequired:pe,ariaRoleDescription:te,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:pe,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),X1=an({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Mu,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:on,acceptCharset:te,accessKey:te,action:null,allow:null,allowFullScreen:H,allowPaymentRequest:H,allowUserMedia:H,alt:null,as:null,async:H,autoCapitalize:null,autoComplete:te,autoFocus:H,autoPlay:H,blocking:te,capture:null,charSet:null,checked:H,cite:null,className:te,cols:I,colSpan:null,content:null,contentEditable:pe,controls:H,controlsList:te,coords:I|on,crossOrigin:null,data:null,dateTime:null,decoding:null,default:H,defer:H,dir:null,dirName:null,disabled:H,download:Du,draggable:pe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:H,formTarget:null,headers:te,height:I,hidden:H,high:I,href:null,hrefLang:null,htmlFor:te,httpEquiv:te,id:null,imageSizes:null,imageSrcSet:null,inert:H,inputMode:null,integrity:null,is:null,isMap:H,itemId:null,itemProp:te,itemRef:te,itemScope:H,itemType:te,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:H,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:H,muted:H,name:null,nonce:null,noModule:H,noValidate:H,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:H,optimum:I,pattern:null,ping:te,placeholder:null,playsInline:H,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:H,referrerPolicy:null,rel:te,required:H,reversed:H,rows:I,rowSpan:I,sandbox:te,scope:null,scoped:H,seamless:H,selected:H,shadowRootClonable:H,shadowRootDelegatesFocus:H,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:pe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:H,useMap:null,value:pe,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:te,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:H,declare:H,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:H,noHref:H,noShade:H,noWrap:H,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:pe,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:H,disableRemotePlayback:H,prefix:null,property:null,results:I,security:null,unselectable:null}}),Z1=an({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",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Fu,properties:{about:Oe,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:te,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:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:H,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:on,g2:on,glyphName:on,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:Oe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,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:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:te,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Oe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Oe,rev:Oe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Oe,requiredFeatures:Oe,requiredFonts:Oe,requiredFormats:Oe,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:Oe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Oe,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Oe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),ev=/^data[-\w.:]+$/i,ju=/-[a-z]/g,tv=/[A-Z]/g;function nv(e,t){const n=Ns(t);let r=t,i=qe;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&ev.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(ju,iv);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!ju.test(s)){let o=s.replace(tv,rv);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}i=Os}return new i(r,t)}l(nv,"find");function rv(e){return"-"+e.toLowerCase()}l(rv,"kebab");function iv(e){return e.charAt(1).toUpperCase()}l(iv,"camelcase");const sv=Iu([qu,Pu,$u,Bu,X1],"html"),zu=Iu([qu,Pu,$u,Bu,Z1],"svg"),Uu={}.hasOwnProperty;function ov(e,t){const n=t||{};function r(i,...s){let o=r.invalid;const a=r.handlers;if(i&&Uu.call(i,e)){const u=String(i[e]);o=Uu.call(a,u)?a[u]:r.unknown}if(o)return o.call(this,i,...s)}return l(r,"one"),r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}l(ov,"zwitch");const av=/["&'<>`]/g,lv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,uv=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,cv=/[|\\{}()[\]^$+*?.]/g,Hu=new WeakMap;function fv(e,t){if(e=e.replace(t.subset?pv(t.subset):av,r),t.subset||t.escapeOnly)return e;return e.replace(lv,n).replace(uv,r);function n(i,s,o){return t.format((i.charCodeAt(0)-55296)*1024+i.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),t)}function r(i,s,o){return t.format(i.charCodeAt(0),o.charCodeAt(s+1),t)}}l(fv,"core");function pv(e){let t=Hu.get(e);return t||(t=hv(e),Hu.set(e,t)),t}l(pv,"charactersToExpressionCached");function hv(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(cv,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}l(hv,"charactersToExpression");const dv=/[\dA-Fa-f]/;function mv(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!dv.test(String.fromCharCode(t))?r:r+";"}l(mv,"toHexadecimal");const gv=/\d/;function yv(e,t,n){const r="&#"+String(e);return n&&t&&!gv.test(String.fromCharCode(t))?r:r+";"}l(yv,"toDecimal");const bv=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Ls={nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",fnof:"\u0192",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",bull:"\u2022",hellip:"\u2026",prime:"\u2032",Prime:"\u2033",oline:"\u203E",frasl:"\u2044",weierp:"\u2118",image:"\u2111",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",quot:'"',amp:"&",lt:"<",gt:">",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",circ:"\u02C6",tilde:"\u02DC",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",permil:"\u2030",lsaquo:"\u2039",rsaquo:"\u203A",euro:"\u20AC"},wv=["cent","copy","divide","gt","lt","not","para","times"],Vu={}.hasOwnProperty,Is={};let Hr;for(Hr in Ls)Vu.call(Ls,Hr)&&(Is[Ls[Hr]]=Hr);const kv=/[^\dA-Za-z]/;function vv(e,t,n,r){const i=String.fromCharCode(e);if(Vu.call(Is,i)){const s=Is[i],o="&"+s;return n&&bv.includes(s)&&!wv.includes(s)&&(!r||t&&t!==61&&kv.test(String.fromCharCode(t)))?o:o+";"}return""}l(vv,"toNamed");function Sv(e,t,n){let r=mv(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=vv(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){const s=yv(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}l(Sv,"formatSmart");function ln(e,t){return fv(e,Object.assign({format:Sv},t))}l(ln,"stringifyEntities");const xv=/^>|^->|<!--|-->|--!>|<!-$/g,Av=[">"],Cv=["<",">"];function Tv(e,t,n,r){return r.settings.bogusComments?"<?"+ln(e.value,Object.assign({},r.settings.characterReferences,{subset:Av}))+">":"<!--"+e.value.replace(xv,i)+"-->";function i(s){return ln(s,Object.assign({},r.settings.characterReferences,{subset:Cv}))}}l(Tv,"comment");function Nv(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}l(Nv,"doctype");function Vr(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}l(Vr,"ccount");function Ev(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}l(Ev,"stringify$1");function _v(e){return e.join(" ").trim()}l(_v,"stringify");const Ov=/[ \t\n\f\r]/g;function Ds(e){return typeof e=="object"?e.type==="text"?Gu(e.value):!1:Gu(e)}l(Ds,"whitespace");function Gu(e){return e.replace(Ov,"")===""}l(Gu,"empty");const me=Ku(1),Wu=Ku(-1),Lv=[];function Ku(e){return t;function t(n,r,i){const s=n?n.children:Lv;let o=(r||0)+e,a=s[o];if(!i)for(;a&&Ds(a);)o+=e,a=s[o];return a}}l(Ku,"siblings");const Iv={}.hasOwnProperty;function Yu(e){return t;function t(n,r,i){return Iv.call(e,n.tagName)&&e[n.tagName](n,r,i)}}l(Yu,"omission");const Rs=Yu({body:Rv,caption:Ps,colgroup:Ps,dd:Mv,dt:Fv,head:Ps,html:Dv,li:qv,optgroup:$v,option:Bv,p:Pv,rp:Ju,rt:Ju,tbody:zv,td:Qu,tfoot:Uv,th:Qu,thead:jv,tr:Hv});function Ps(e,t,n){const r=me(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Ds(r.value.charAt(0)))}l(Ps,"headOrColgroupOrCaption");function Dv(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}l(Dv,"html$3");function Rv(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}l(Rv,"body$1");function Pv(e,t,n){const r=me(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}l(Pv,"p$1");function qv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="li"}l(qv,"li");function Fv(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}l(Fv,"dt");function Mv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}l(Mv,"dd");function Ju(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}l(Ju,"rubyElement");function $v(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}l($v,"optgroup");function Bv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}l(Bv,"option");function jv(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}l(jv,"thead");function zv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}l(zv,"tbody$1");function Uv(e,t,n){return!me(n,t)}l(Uv,"tfoot");function Hv(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="tr"}l(Hv,"tr");function Qu(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}l(Qu,"cells");const Vv=Yu({body:Kv,colgroup:Yv,head:Wv,html:Gv,tbody:Jv});function Gv(e){const t=me(e,-1);return!t||t.type!=="comment"}l(Gv,"html$2");function Wv(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const i=t[r];if(i.type==="element"&&(i.tagName==="title"||i.tagName==="base")){if(n.includes(i.tagName))return!1;n.push(i.tagName)}}return t.length>0}l(Wv,"head");function Kv(e){const t=me(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Ds(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}l(Kv,"body");function Yv(e,t,n){const r=Wu(n,t),i=me(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Rs(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="col")}l(Yv,"colgroup");function Jv(e,t,n){const r=Wu(n,t),i=me(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Rs(r,n.children.indexOf(r),n)?!1:!!(i&&i.type==="element"&&i.tagName==="tr")}l(Jv,"tbody");const Gr={name:[[`
261
+ \f\r &/=>`.split(""),`
262
+ \f\r "&'/=>\``.split("")],[`\0
263
+ \f\r "&'/<=>`.split(""),`\0
264
+ \f\r "&'/<=>\``.split("")]],unquoted:[[`
265
+ \f\r &>`.split(""),`\0
266
+ \f\r "&'<=>\``.split("")],[`\0
267
+ \f\r "&'<=>\``.split(""),`\0
268
+ \f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Qv(e,t,n,r){const i=r.schema,s=i.space==="svg"?!1:r.settings.omitOptionalTags;let o=i.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let u;i.space==="html"&&e.tagName==="svg"&&(r.schema=zu);const c=Xv(r,e.properties),p=r.all(i.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=i,p&&(o=!1),(c||!s||!Vv(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),o&&(i.space==="svg"||r.settings.closeSelfClosing)&&(u=c.charAt(c.length-1),(!r.settings.tightSelfClosing||u==="/"||u&&u!=='"'&&u!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(p),!o&&(!s||!Rs(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}l(Qv,"element");function Xv(e,t){const n=[];let r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){const s=Zv(e,i,t[i]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}l(Xv,"serializeAttributes");function Zv(e,t,n){const r=nv(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let o=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const u=ln(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Gr.name[i][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Ev:_v)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?u:(e.settings.preferUnquoted&&(a=ln(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Gr.unquoted[i][s]}))),a!==n&&(e.settings.quoteSmart&&Vr(n,o)>Vr(n,e.alternative)&&(o=e.alternative),a=o+ln(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?Gr.single:Gr.double)[i][s],attribute:!0}))+o),u+(a&&"="+a))}l(Zv,"serializeAttribute");const eS=["<","&"];function Xu(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:ln(e.value,Object.assign({},r.settings.characterReferences,{subset:eS}))}l(Xu,"text$5");function tS(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Xu(e,t,n,r)}l(tS,"raw");function nS(e,t,n,r){return r.all(e)}l(nS,"root$2");const rS=ov("type",{invalid:iS,unknown:sS,handlers:{comment:Tv,doctype:Nv,element:Qv,raw:tS,root:nS,text:Xu}});function iS(e){throw new Error("Expected node, not `"+e+"`")}l(iS,"invalid");function sS(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}l(sS,"unknown");const oS={},aS={},lS=[];function uS(e,t){const n=t||oS,r=n.quote||'"',i=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:cS,all:fS,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Y1,characterReferences:n.characterReferences||aS,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?zu:sv,quote:r,alternative:i}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}l(uS,"toHtml");function cS(e,t,n){return rS(e,t,n,this)}l(cS,"one$1");function fS(e){const t=[],n=e&&e.children||lS;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}l(fS,"all$1");function pS(e){const t=this,n={...t.data("settings"),...e};t.compiler=r;function r(i){return uS(i,n)}l(r,"compiler")}l(pS,"rehypeStringify");function hS(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)}l(hS,"blockquote$1");function dS(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
269
+ `}]}l(dS,"hardBreak$1");function mS(e,t){const n=t.value?t.value+`
270
+ `:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}l(mS,"code$2");function gS(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(gS,"strikethrough");function yS(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(yS,"emphasis$1");const Se=gt(/[A-Za-z]/),ke=gt(/[\dA-Za-z]/),bS=gt(/[#-'*+\--9=?A-Z^-~]/);function Wr(e){return e!==null&&(e<32||e===127)}l(Wr,"asciiControl");const qs=gt(/\d/),wS=gt(/[\dA-Fa-f]/),kS=gt(/[!-/:-@[-`{-~]/);function B(e){return e!==null&&e<-2}l(B,"markdownLineEnding");function Z(e){return e!==null&&(e<0||e===32)}l(Z,"markdownLineEndingOrSpace");function W(e){return e===-2||e===-1||e===32}l(W,"markdownSpace");const Kr=gt(new RegExp("\\p{P}|\\p{S}","u")),_t=gt(/\s/);function gt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}l(gt,"regexCheck");function un(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const s=e.charCodeAt(n);let o="";if(s===37&&ke(e.charCodeAt(n+1))&&ke(e.charCodeAt(n+2)))i=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){const a=e.charCodeAt(n+1);s<56320&&a>56319&&a<57344?(o=String.fromCharCode(s,a),i=1):o="\uFFFD"}else o=String.fromCharCode(s);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}l(un,"normalizeUri");function vS(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=un(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=s+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)}l(vS,"footnoteReference$1");function SS(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(SS,"heading$1");function xS(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}l(xS,"html$1");function Zu(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),s=i[0];s&&s.type==="text"?s.value="["+s.value:i.unshift({type:"text",value:"["});const o=i[i.length-1];return o&&o.type==="text"?o.value+=r:i.push({type:"text",value:r}),i}l(Zu,"revert");function AS(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zu(e,t);const i={src:un(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,s),e.applyData(t,s)}l(AS,"imageReference$1");function CS(e,t){const n={src:un(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)}l(CS,"image$1");function TS(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)}l(TS,"inlineCode$1");function NS(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Zu(e,t);const i={href:un(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const s={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}l(NS,"linkReference$1");function ES(e,t){const n={href:un(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)}l(ES,"link$1");function _S(e,t,n){const r=e.all(t),i=n?OS(n):ec(t),s={},o=[];if(typeof t.checked=="boolean"){const p=r[0];let f;p&&p.type==="element"&&p.tagName==="p"?f=p:(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:[]}),s.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const p=r[a];(i||a!==0||p.type!=="element"||p.tagName!=="p")&&o.push({type:"text",value:`
271
+ `}),p.type==="element"&&p.tagName==="p"&&!i?o.push(...p.children):o.push(p)}const u=r[r.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&o.push({type:"text",value:`
272
+ `});const c={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,c),e.applyData(t,c)}l(_S,"listItem$1");function OS(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=ec(n[r])}return t}l(OS,"listLoose");function ec(e){const t=e.spread;return t??e.children.length>1}l(ec,"listItemLoose");function LS(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 o=r[i];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}l(LS,"list$2");function IS(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(IS,"paragraph$1");function DS(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}l(DS,"root$1");function RS(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(RS,"strong$1");const tc=rc("end"),nc=rc("start");function rc(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}l(rc,"point$2");function PS(e){const t=nc(e),n=tc(e);if(t&&n)return{start:t,end:n}}l(PS,"position$1");function qS(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),i.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=nc(t.children[1]),u=tc(t.children[t.children.length-1]);a&&u&&(o.position={start:a,end:u}),i.push(o)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,s),e.applyData(t,s)}l(qS,"table");function FS(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,a=o?o.length:t.children.length;let u=-1;const c=[];for(;++u<a;){const f=t.children[u],h={},d=o?o[u]:void 0;d&&(h.align=d);let m={type:"element",tagName:s,properties:h,children:[]};f&&(m.children=e.all(f),e.patch(f,m),m=e.applyData(f,m)),c.push(m)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(t,p),e.applyData(t,p)}l(FS,"tableRow");function MS(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}l(MS,"tableCell");const ic=9,sc=32;function $S(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const s=[];for(;r;)s.push(oc(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return s.push(oc(t.slice(i),i>0,!1)),s.join("")}l($S,"trimLines");function oc(e,t,n){let r=0,i=e.length;if(t){let s=e.codePointAt(r);for(;s===ic||s===sc;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(i-1);for(;s===ic||s===sc;)i--,s=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}l(oc,"trimLine");function BS(e,t){const n={type:"text",value:$S(String(t.value))};return e.patch(t,n),e.applyData(t,n)}l(BS,"text$4");function jS(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}l(jS,"thematicBreak$2");const zS={blockquote:hS,break:dS,code:mS,delete:gS,emphasis:yS,footnoteReference:vS,heading:SS,html:xS,imageReference:AS,image:CS,inlineCode:TS,linkReference:NS,link:ES,listItem:_S,list:LS,paragraph:IS,root:DS,strong:RS,table:qS,tableCell:MS,tableRow:FS,text:BS,thematicBreak:jS,toml:Yr,yaml:Yr,definition:Yr,footnoteDefinition:Yr};function Yr(){}l(Yr,"ignore");function WE(){}l(WE,"ok");const ac=-1,Jr=0,Qr=1,Xr=2,Fs=3,Ms=4,$s=5,Bs=6,lc=7,uc=8,cc=typeof self=="object"?self:globalThis,US=l((e,t)=>{const n=l((i,s)=>(e.set(s,i),i),"as"),r=l(i=>{if(e.has(i))return e.get(i);const[s,o]=t[i];switch(s){case Jr:case ac:return n(o,i);case Qr:{const a=n([],i);for(const u of o)a.push(r(u));return a}case Xr:{const a=n({},i);for(const[u,c]of o)a[r(u)]=r(c);return a}case Fs:return n(new Date(o),i);case Ms:{const{source:a,flags:u}=o;return n(new RegExp(a,u),i)}case $s:{const a=n(new Map,i);for(const[u,c]of o)a.set(r(u),r(c));return a}case Bs:{const a=n(new Set,i);for(const u of o)a.add(r(u));return a}case lc:{const{name:a,message:u}=o;return n(new cc[a](u),i)}case uc:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i)}return n(new cc[s](o),i)},"unpair");return r},"deserializer"),fc=l(e=>US(new Map,e)(0),"deserialize"),cn="",{toString:HS}={},{keys:VS}=Object,zn=l(e=>{const t=typeof e;if(t!=="object"||!e)return[Jr,t];const n=HS.call(e).slice(8,-1);switch(n){case"Array":return[Qr,cn];case"Object":return[Xr,cn];case"Date":return[Fs,cn];case"RegExp":return[Ms,cn];case"Map":return[$s,cn];case"Set":return[Bs,cn]}return n.includes("Array")?[Qr,n]:n.includes("Error")?[lc,n]:[Xr,n]},"typeOf"),Zr=l(([e,t])=>e===Jr&&(t==="function"||t==="symbol"),"shouldSkip"),GS=l((e,t,n,r)=>{const i=l((o,a)=>{const u=r.push(o)-1;return n.set(a,u),u},"as"),s=l(o=>{if(n.has(o))return n.get(o);let[a,u]=zn(o);switch(a){case Jr:{let p=o;switch(u){case"bigint":a=uc,p=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);p=null;break;case"undefined":return i([ac],o)}return i([a,p],o)}case Qr:{if(u)return i([u,[...o]],o);const p=[],f=i([a,p],o);for(const h of o)p.push(s(h));return f}case Xr:{if(u)switch(u){case"BigInt":return i([u,o.toString()],o);case"Boolean":case"Number":case"String":return i([u,o.valueOf()],o)}if(t&&"toJSON"in o)return s(o.toJSON());const p=[],f=i([a,p],o);for(const h of VS(o))(e||!Zr(zn(o[h])))&&p.push([s(h),s(o[h])]);return f}case Fs:return i([a,o.toISOString()],o);case Ms:{const{source:p,flags:f}=o;return i([a,{source:p,flags:f}],o)}case $s:{const p=[],f=i([a,p],o);for(const[h,d]of o)(e||!(Zr(zn(h))||Zr(zn(d))))&&p.push([s(h),s(d)]);return f}case Bs:{const p=[],f=i([a,p],o);for(const h of o)(e||!Zr(zn(h)))&&p.push(s(h));return f}}const{message:c}=o;return i([a,{name:u,message:c}],o)},"pair");return s},"serializer"),pc=l((e,{json:t,lossy:n}={})=>{const r=[];return GS(!(t||n),!!t,new Map,r)(e),r},"serialize$1");var ei=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?fc(pc(e,t)):structuredClone(e):(e,t)=>fc(pc(e,t));function WS(e,t){const n=[{type:"text",value:"\u21A9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}l(WS,"defaultFootnoteBackContent");function KS(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}l(KS,"defaultFootnoteBackLabel");function YS(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||WS,r=e.options.footnoteBackLabel||KS,i=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let u=-1;for(;++u<e.footnoteOrder.length;){const c=e.footnoteById.get(e.footnoteOrder[u]);if(!c)continue;const p=e.all(c),f=String(c.identifier).toUpperCase(),h=un(f.toLowerCase());let d=0;const m=[],g=e.footnoteCounts.get(f);for(;g!==void 0&&++d<=g;){m.length>0&&m.push({type:"text",value:" "});let b=typeof n=="string"?n:n(u,d);typeof b=="string"&&(b={type:"text",value:b}),m.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(u,d),className:["data-footnote-backref"]},children:Array.isArray(b)?b:[b]})}const y=p[p.length-1];if(y&&y.type==="element"&&y.tagName==="p"){const b=y.children[y.children.length-1];b&&b.type==="text"?b.value+=" ":y.children.push({type:"text",value:" "}),y.children.push(...m)}else p.push(...m);const w={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(p,!0)};e.patch(c,w),a.push(w)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...ei(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
273
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:`
274
+ `}]}}l(YS,"footer");const js={}.hasOwnProperty,JS={};function QS(e,t){const n=t||JS,r=new Map,i=new Map,s=new Map,o={...zS,...n.handlers},a={all:c,applyData:ZS,definitionById:r,footnoteById:i,footnoteCounts:s,footnoteOrder:[],handlers:o,one:u,options:n,patch:XS,wrap:tx};return de(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const f=p.type==="definition"?r:i,h=String(p.identifier).toUpperCase();f.has(h)||f.set(h,p)}}),a;function u(p,f){const h=p.type,d=a.handlers[h];if(js.call(a.handlers,h)&&d)return d(a,p,f);if(a.options.passThrough&&a.options.passThrough.includes(h)){if("children"in p){const{children:g,...y}=p,w=ei(y);return w.children=a.all(p),w}return ei(p)}return(a.options.unknownHandler||ex)(a,p,f)}l(u,"one");function c(p){const f=[];if("children"in p){const h=p.children;let d=-1;for(;++d<h.length;){const m=a.one(h[d],p);if(m){if(d&&h[d-1].type==="break"&&(!Array.isArray(m)&&m.type==="text"&&(m.value=hc(m.value)),!Array.isArray(m)&&m.type==="element")){const g=m.children[0];g&&g.type==="text"&&(g.value=hc(g.value))}Array.isArray(m)?f.push(...m):f.push(m)}}}return f}l(c,"all")}l(QS,"createState");function XS(e,t){e.position&&(t.position=PS(e))}l(XS,"patch");function ZS(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&s&&Object.assign(n.properties,ei(s)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}l(ZS,"applyData");function ex(e,t){const n=t.data||{},r="value"in t&&!(js.call(n,"hProperties")||js.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}l(ex,"defaultUnknownHandler");function tx(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
275
+ `});++r<e.length;)r&&n.push({type:"text",value:`
276
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
277
+ `}),n}l(tx,"wrap$1");function hc(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}l(hc,"trimMarkdownSpaceStart");function dc(e,t){const n=QS(e,t),r=n.one(e,void 0),i=YS(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&s.children.push({type:"text",value:`
278
+ `},i),s}l(dc,"toHast");function nx(e,t){return e&&"run"in e?async function(n,r){const i=dc(n,{file:r,...t});await e.run(i,r)}:function(n,r){return dc(n,{file:r,...t||e})}}l(nx,"remarkRehype");function mc(e){if(e)throw e}l(mc,"bail");var ti=Object.prototype.hasOwnProperty,gc=Object.prototype.toString,yc=Object.defineProperty,bc=Object.getOwnPropertyDescriptor,wc=l(function(t){return typeof Array.isArray=="function"?Array.isArray(t):gc.call(t)==="[object Array]"},"isArray"),kc=l(function(t){if(!t||gc.call(t)!=="[object Object]")return!1;var n=ti.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&ti.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||ti.call(t,i)},"isPlainObject"),vc=l(function(t,n){yc&&n.name==="__proto__"?yc(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},"setProperty"),Sc=l(function(t,n){if(n==="__proto__")if(ti.call(t,n)){if(bc)return bc(t,n).value}else return;return t[n]},"getProperty"),rx=l(function e(){var t,n,r,i,s,o,a=arguments[0],u=1,c=arguments.length,p=!1;for(typeof a=="boolean"&&(p=a,a=arguments[1]||{},u=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});u<c;++u)if(t=arguments[u],t!=null)for(n in t)r=Sc(a,n),i=Sc(t,n),a!==i&&(p&&i&&(kc(i)||(s=wc(i)))?(s?(s=!1,o=r&&wc(r)?r:[]):o=r&&kc(r)?r:{},vc(a,{name:n,newValue:e(p,o,i)})):typeof i<"u"&&vc(a,{name:n,newValue:i}));return a},"extend"),zs=Xn(rx);function Us(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)}l(Us,"isPlainObject");function ix(){const e=[],t={run:n,use:r};return t;function n(...i){let s=-1;const o=i.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);a(null,...i);function a(u,...c){const p=e[++s];let f=-1;if(u){o(u);return}for(;++f<i.length;)(c[f]===null||c[f]===void 0)&&(c[f]=i[f]);i=c,p?sx(p,a)(...c):o(null,...c)}l(a,"next")}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}l(ix,"trough");function sx(e,t){let n;return r;function r(...o){const a=e.length>o.length;let u;a&&o.push(i);try{u=e.apply(this,o)}catch(c){const p=c;if(a&&n)throw p;return i(p)}a||(u&&u.then&&typeof u.then=="function"?u.then(s,i):u instanceof Error?i(u):s(u))}function i(o,...a){n||(n=!0,t(o,...a))}function s(o){i(null,o)}}l(sx,"wrap");function Un(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?xc(e.position):"start"in e||"end"in e?xc(e):"line"in e||"column"in e?Hs(e):""}l(Un,"stringifyPosition");function Hs(e){return Ac(e&&e.line)+":"+Ac(e&&e.column)}l(Hs,"point$1");function xc(e){return Hs(e&&e.start)+"-"+Hs(e&&e.end)}l(xc,"position");function Ac(e){return e&&typeof e=="number"?e:1}l(Ac,"index");class Te extends Error{static{l(this,"VFileMessage")}constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",s={},o=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?i=t:!s.cause&&t&&(o=!0,i=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const u=r.indexOf(":");u===-1?s.ruleId=r:(s.source=r.slice(0,u),s.ruleId=r.slice(u+1))}if(!s.place&&s.ancestors&&s.ancestors){const u=s.ancestors[s.ancestors.length-1];u&&(s.place=u.position)}const a=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=Un(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=o&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}Te.prototype.file="",Te.prototype.name="",Te.prototype.reason="",Te.prototype.message="",Te.prototype.stack="",Te.prototype.column=void 0,Te.prototype.line=void 0,Te.prototype.ancestors=void 0,Te.prototype.cause=void 0,Te.prototype.fatal=void 0,Te.prototype.place=void 0,Te.prototype.ruleId=void 0,Te.prototype.source=void 0;const Je={basename:ox,dirname:ax,extname:lx,join:ux,sep:"/"};function ox(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Hn(e);let n=0,r=-1,i=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else r<0&&(s=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(s){n=i+1;break}}else o<0&&(s=!0,o=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}l(ox,"basename");function ax(e){if(Hn(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}l(ax,"dirname");function lx(e){Hn(e);let t=e.length,n=-1,r=0,i=-1,s=0,o;for(;t--;){const a=e.codePointAt(t);if(a===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),a===46?i<0?i=t:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||n<0||s===0||s===1&&i===n-1&&i===r+1?"":e.slice(i,n)}l(lx,"extname");function ux(...e){let t=-1,n;for(;++t<e.length;)Hn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":cx(n)}l(ux,"join");function cx(e){Hn(e);const t=e.codePointAt(0)===47;let n=fx(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}l(cx,"normalize");function fx(e,t){let n="",r=0,i=-1,s=0,o=-1,a,u;for(;++o<=e.length;){if(o<e.length)a=e.codePointAt(o);else{if(a===47)break;a=47}if(a===47){if(!(i===o-1||s===1))if(i!==o-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=o,s=0;continue}}else if(n.length>0){n="",r=0,i=o,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,s=0}else a===46&&s>-1?s++:s=-1}return n}l(fx,"normalizeString");function Hn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}l(Hn,"assertPath$2");const px={cwd:hx};function hx(){return"/"}l(hx,"cwd");function Vs(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}l(Vs,"isUrl");function dx(e){if(typeof e=="string")e=new URL(e);else if(!Vs(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 mx(e)}l(dx,"urlToPath");function mx(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.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(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)}l(mx,"getPathFromURLPosix");const Gs=["history","path","basename","stem","extname","dirname"];class gx{static{l(this,"VFile")}constructor(t){let n;t?Vs(t)?n={path:t}:typeof t=="string"||yx(t)?n={value:t}:n=t:n={},this.cwd=px.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Gs.length;){const s=Gs[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let i;for(i in n)Gs.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?Je.basename(this.path):void 0}set basename(t){Ks(t,"basename"),Ws(t,"basename"),this.path=Je.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Je.dirname(this.path):void 0}set dirname(t){Cc(this.basename,"dirname"),this.path=Je.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Je.extname(this.path):void 0}set extname(t){if(Ws(t,"extname"),Cc(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Je.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Vs(t)&&(t=dx(t)),Ks(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Je.basename(this.path,this.extname):void 0}set stem(t){Ks(t,"stem"),Ws(t,"stem"),this.path=Je.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Te(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Ws(e,t){if(e&&e.includes(Je.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Je.sep+"`")}l(Ws,"assertPart");function Ks(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}l(Ks,"assertNonEmpty");function Cc(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}l(Cc,"assertPath$1");function yx(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}l(yx,"isUint8Array$1");const bx=l(function(e){const r=this.constructor.prototype,i=r[e],s=l(function(){return i.apply(s,arguments)},"apply");Object.setPrototypeOf(s,r);const o=Object.getOwnPropertyNames(i);for(const a of o){const u=Object.getOwnPropertyDescriptor(i,a);u&&Object.defineProperty(s,a,u)}return s},"CallableInstance"),wx={}.hasOwnProperty;class Ao extends bx{static{l(this,"Processor")}constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=ix()}copy(){const t=new Ao;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(zs(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Qs("data",this.frozen),this.namespace[t]=n,this):wx.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Qs("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=ni(t),r=this.parser||this.Parser;return Ys("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Ys("process",this.parser||this.Parser),Js("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(s,o){const a=ni(t),u=r.parse(a);r.run(u,a,function(p,f,h){if(p||!f||!h)return c(p);const d=f,m=r.stringify(d,h);vx(m)?h.value=m:h.result=m,c(p,h)});function c(p,f){p||!f?o(p):s?s(f):n(void 0,f)}l(c,"realDone")}l(i,"executor")}processSync(t){let n=!1,r;return this.freeze(),Ys("processSync",this.parser||this.Parser),Js("processSync",this.compiler||this.Compiler),this.process(t,i),Ec("processSync","process",n),r;function i(s,o){n=!0,mc(s),r=o}l(i,"realDone")}run(t,n,r){Nc(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(o,a){const u=ni(n);i.run(t,u,c);function c(p,f,h){const d=f||t;p?a(p):o?o(d):r(void 0,d,h)}l(c,"realDone")}l(s,"executor")}runSync(t,n){let r=!1,i;return this.run(t,n,s),Ec("runSync","run",r),i;function s(o,a){mc(o),i=a,r=!0}l(s,"realDone")}stringify(t,n){this.freeze();const r=ni(n),i=this.compiler||this.Compiler;return Js("stringify",i),Nc(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Qs("use",this.frozen),t!=null)if(typeof t=="function")u(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(c){if(typeof c=="function")u(c,[]);else if(typeof c=="object")if(Array.isArray(c)){const[p,...f]=c;u(p,f)}else o(c);else throw new TypeError("Expected usable value, not `"+c+"`")}function o(c){if(!("plugins"in c)&&!("settings"in c))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(c.plugins),c.settings&&(i.settings=zs(!0,i.settings,c.settings))}function a(c){let p=-1;if(c!=null)if(Array.isArray(c))for(;++p<c.length;){const f=c[p];s(f)}else throw new TypeError("Expected a list of plugins, not `"+c+"`")}function u(c,p){let f=-1,h=-1;for(;++f<r.length;)if(r[f][0]===c){h=f;break}if(h===-1)r.push([c,...p]);else if(p.length>0){let[d,...m]=p;const g=r[h][1];Us(g)&&Us(d)&&(d=zs(!0,g,d)),r[h]=[c,d,...m]}}}}const Tc=new Ao().freeze();function Ys(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}l(Ys,"assertParser");function Js(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}l(Js,"assertCompiler");function Qs(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`.")}l(Qs,"assertUnfrozen");function Nc(e){if(!Us(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}l(Nc,"assertNode");function Ec(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}l(Ec,"assertDone");function ni(e){return kx(e)?e:new gx(e)}l(ni,"vfile");function kx(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}l(kx,"looksLikeAVFile");function vx(e){return typeof e=="string"||Sx(e)}l(vx,"looksLikeAValue");function Sx(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}l(Sx,"isUint8Array");const Xs=Tc().use(nx).use(K1).use(rp).use(H1,{themes:{dark:"github-dark",light:"github-light"}}).use(pS);async function fn(e,t=void 0,n=!1){if(e===void 0)return"";const r=await Xs.run(e),i=Xs.stringify(r).trim(),s=i.length===0;if(t===void 0||s&&!n)return i;const o=s?sp:r,a=ie("root",[ie("element",{properties:{className:t.map(c=>jd(c))},tagName:"div"},o.children)]);return Xs.stringify(a).trim()}l(fn,"mdastToHtml");var Zs={d:(e,t)=>{for(var n in t)Zs.o(t,n)&&!Zs.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},eo={};Zs.d(eo,{Z:()=>Tx,$:()=>Ic});var pn={horizontalTab:-2,virtualSpace:-1,nul:0,eof:null,space:32};function _c(e){return e<pn.nul||e===pn.space}l(_c,"n");function to(e){return e<pn.horizontalTab}l(to,"i");var xx={553:e=>{e.exports=function(t){var n,r;return t._compiled||(n=t.before?"(?:"+t.before+")":"",r=t.after?"(?:"+t.after+")":"",t.atBreak&&(n="[\\r\\n][\\t ]*"+n),t._compiled=new RegExp((n?"("+n+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(r||""),"g")),t._compiled}},112:e=>{function t(n,r,i){var s;if(!r)return i;for(typeof r=="string"&&(r=[r]),s=-1;++s<r.length;)if(n.indexOf(r[s])!==-1)return!0;return!1}l(t,"t"),e.exports=function(n,r){return t(n,r.inConstruct,!0)&&!t(n,r.notInConstruct)}},113:(e,t,n)=>{e.exports=function(a,u,c){for(var p,f,h,d,m,g,y,w,b=(c.before||"")+(u||"")+(c.after||""),S=[],T=[],N={},A=-1;++A<a.unsafe.length;)if(d=a.unsafe[A],i(a.stack,d))for(m=r(d);g=m.exec(b);)p="before"in d||d.atBreak,f="after"in d,h=g.index+(p?g[1].length:0),S.indexOf(h)===-1?(S.push(h),N[h]={before:p,after:f}):(N[h].before&&!p&&(N[h].before=!1),N[h].after&&!f&&(N[h].after=!1));for(S.sort(s),y=c.before?c.before.length:0,w=b.length-(c.after?c.after.length:0),A=-1;++A<S.length;)(h=S[A])<y||h>=w||h+1<w&&S[A+1]===h+1&&N[h].after&&!N[h+1].before&&!N[h+1].after||(y!==h&&T.push(o(b.slice(y,h),"\\")),y=h,!/[!-/:-@[-`{-~]/.test(b.charAt(h))||c.encode&&c.encode.indexOf(b.charAt(h))!==-1?(T.push("&#x"+b.charCodeAt(h).toString(16).toUpperCase()+";"),y++):T.push("\\"));return T.push(o(b.slice(y,w),c.after)),T.join("")};var r=n(553),i=n(112);function s(a,u){return a-u}l(s,"a");function o(a,u){for(var c,p=/\\(?=[!-/:-@[-`{-~])/g,f=[],h=[],d=-1,m=0,g=a+u;c=p.exec(g);)f.push(c.index);for(;++d<f.length;)m!==f[d]&&h.push(a.slice(m,f[d])),h.push("\\"),m=f[d];return h.push(a.slice(m)),h.join("")}l(o,"o")}},Oc={};function Qe(e){var t=Oc[e];if(t!==void 0)return t.exports;var n=Oc[e]={exports:{}};return xx[e](n,n.exports,Qe),n.exports}l(Qe,"s"),Qe.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Qe.d(t,{a:t}),t},Qe.d=(e,t)=>{for(var n in t)Qe.o(t,n)&&!Qe.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Qe.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var no={};(()=>{function e(i={}){const s=i.permalinks||[],o=i.pageResolver||(h=>[h.replace(/ /g,"_").toLowerCase()]),a=i.newClassName||"new",u=i.wikiLinkClassName||"internal",c=i.hrefTemplate||(h=>`#/page/${h}`);let p;function f(h){return h[h.length-1]}return l(f,"s"),{enter:{wikiLink:function(h){p={type:"wikiLink",value:null,data:{alias:null,permalink:null,exists:null}},this.enter(p,h)}},exit:{wikiLinkTarget:function(h){const d=this.sliceSerialize(h);f(this.stack).value=d},wikiLinkAlias:function(h){const d=this.sliceSerialize(h);f(this.stack).data.alias=d},wikiLink:function(h){this.exit(h);const d=p,m=o(d.value),g=m.find(T=>s.indexOf(T)!==-1),y=g!==void 0;let w;w=y?g:m[0]||"";let b=d.value;d.data.alias&&(b=d.data.alias);let S=u;y||(S+=" "+a),d.data.alias=b,d.data.permalink=w,d.data.exists=y,d.data.hName="a",d.data.hProperties={className:S,href:c(w)},d.data.hChildren=[{type:"text",value:b}]}}}}l(e,"e"),Qe.d(no,{V:()=>e,x:()=>r});var t=Qe(113),n=Qe.n(t);function r(i={}){const s=i.aliasDivider||":";return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]},{character:"]",inConstruct:["label","reference"]}],handlers:{wikiLink:function(o,a,u){const c=u.enter("wikiLink"),p=n()(u,o.value,{before:"[",after:"]"}),f=n()(u,o.data.alias,{before:"[",after:"]"});let h;return h=f!==p?`[[${p}${s}${f}]]`:`[[${p}]]`,c(),h}}}}l(r,"n")})();var Ax=no.V,Cx=no.x;let Lc=!1;function Ic(e={}){const t=this.data();function n(r,i){t[r]?t[r].push(i):t[r]=[i]}l(n,"a"),!Lc&&(this.Parser&&this.Parser.prototype&&this.Parser.prototype.blockTokenizers||this.Compiler&&this.Compiler.prototype&&this.Compiler.prototype.visitors)&&(Lc=!0,console.warn("[remark-wiki-link] Warning: please upgrade to remark 13 to use this plugin")),n("micromarkExtensions",function(){var r=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}).aliasDivider||":",i="]]";return{text:{91:{tokenize:function(s,o,a){var u,c,p=0,f=0,h=0;return function(b){return b!=="[[".charCodeAt(f)?a(b):(s.enter("wikiLink"),s.enter("wikiLinkMarker"),d(b))};function d(b){return f===2?(s.exit("wikiLinkMarker"),function(S){return to(S)||S===pn.eof?a(S):(s.enter("wikiLinkData"),s.enter("wikiLinkTarget"),m(S))}(b)):b!=="[[".charCodeAt(f)?a(b):(s.consume(b),f++,d)}function m(b){return b===r.charCodeAt(p)?u?(s.exit("wikiLinkTarget"),s.enter("wikiLinkAliasMarker"),g(b)):a(b):b===i.charCodeAt(h)?u?(s.exit("wikiLinkTarget"),s.exit("wikiLinkData"),s.enter("wikiLinkMarker"),w(b)):a(b):to(b)||b===pn.eof?a(b):(_c(b)||(u=!0),s.consume(b),m)}function g(b){return p===r.length?(s.exit("wikiLinkAliasMarker"),s.enter("wikiLinkAlias"),y(b)):b!==r.charCodeAt(p)?a(b):(s.consume(b),p++,g)}function y(b){return b===i.charCodeAt(h)?c?(s.exit("wikiLinkAlias"),s.exit("wikiLinkData"),s.enter("wikiLinkMarker"),w(b)):a(b):to(b)||b===pn.eof?a(b):(_c(b)||(c=!0),s.consume(b),y)}function w(b){return h===2?(s.exit("wikiLinkMarker"),s.exit("wikiLink"),o(b)):b!==i.charCodeAt(h)?a(b):(s.consume(b),h++,w)}}}}}}(e)),n("fromMarkdownExtensions",Ax(e)),n("toMarkdownExtensions",Cx(e))}l(Ic,"k");const Tx=Ic;var Nx=eo.Z;eo.$;const Ex=l(function(e){const t=e?.toLink??(({alias:n,value:r})=>n??r);return this.use(Nx,{aliasDivider:"|"}),function(n){de(n,"wikiLink",(r,i,s)=>{if(s===void 0||i===void 0)return mt;const o=r.value,a=r.data.alias,u={alias:a===o?void 0:a.trim(),value:o.trim()},c=t(u),p=typeof c=="string"?ie("text",c):ie("link",{title:c.title,url:c.uri},[ie("text",c.value)]);return s.children.splice(i,1,p),[Ur,i]})}},"remarkObsidianLink"),_x=l(function(e,t,n,r,i){const s=dt(r),o=[];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 for start")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index for start");if(typeof n=="number"){if(n<0||n===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index for end")}else if(n=e.children.indexOf(n),n<0)throw new Error("Expected child node or index for end");for(;++t<n;)s(e.children[t],t,e)&&o.push(e.children[t]);return o},"findAllBetween"),Ox=l(function(e,t,n){const r=dt(n),i=[];let s=-1;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&&(t=e.children.length);++s<t;)r(e.children[s],s,e)&&i.push(e.children[s]);return i},"findAllBefore"),Lx=l(function(e,t,n){const r=dt(n),i=[];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;)r(e.children[t],t,e)&&i.push(e.children[t]);return i},"findAllAfter"),Ix=l(function(e,t,n){const r=dt(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]},"findAfter"),Dc={a:"amber",b:"blue",c:"cyan",d:"brown",e:"espresso",f:"fuchsia",g:"green",h:"hotpink",i:"indigo",j:"jade",k:"kiwi",l:"lime",m:"magenta",n:"navyblue",o:"orange",p:"purple",q:"pink",r:"red",s:"silver",t:"teal",u:"umber",v:"violet",w:"white",x:"gray",y:"yellow",z:"black"},Dx={dictionary:Dc,markerTagName:"mark",markerClassName:"flexible-marker",actionForEmptyContent:"mark"},Rx=/=([a-z]?)=(?![\s=])([\s\S]*?)(?<![\s=])==/,Px=/=([a-z]?)=(?![\s=])([\s\S]*?)(?<![\s=])==/g,qx=/=([a-z]?)=(?![\s]|=+\s)/,Fx=/=([a-z]?)=(?![\s]|=+\s)/g,Mx=/(?<!\s|\s=|\s==|\s===|\s====)==/,$x=/(?<!\s|\s=|\s==|\s===|\s====)==/g,Bx=/=([a-z]?)=\s*==/,Rc=/=([a-z]?)=\s*==/g;function jx(e){return e.filter(t=>!!t)}l(jx,"clsx");const zx=l(e=>{const t=Object.assign({},Dx,e);e?.dictionary&&Object.keys(e.dictionary).length&&(t.dictionary=Object.assign({},Dc,e.dictionary));const n=l((a,u)=>{let c;const p=a?t.dictionary[a]:void 0,f=typeof t.markerTagName=="string"?t.markerTagName:t.markerTagName(p),h=typeof t.markerClassName=="function"?t.markerClassName(p):jx([t.markerClassName,!a&&`${t.markerClassName}-default`,p&&`${t.markerClassName}-${p}`,!u.length&&`${t.markerClassName}-empty`]);return t.markerProperties&&(c=t.markerProperties(p),Object.entries(c).forEach(([d,m])=>{(typeof m=="string"&&m===""||Array.isArray(m)&&m.length===0)&&c&&(c[d]=void 0),d==="className"&&delete c?.className})),{type:"mark",children:u,data:{hName:f,hProperties:{className:h,...c&&{...c}}}}},"constructMarkNode"),r=l(function(a,u,c){if(!c||typeof u>"u"||!Rx.test(a.value))return;const p=[],f=a.value;let h="",d=0,m=0;const g=Array.from(f.matchAll(Px));for(let y=0;y<g.length;y++){const w=g[y],[b,S,T]=w,N=w.index,A=b.length,E=d+m;if(d=N,m=A,N>E){const q=f.substring(E,N),x=ie("text",q);p.push(x)}const $=n(S,[{type:"text",value:T.trim()}]);p.push($),h=f.slice(N+A)}if(h){const y=ie("text",h);p.push(y)}p.length&&c.children.splice(u,1,...p)},"visitorFirst"),i=l(function(a,u,c){if(!c||typeof u>"u"||!qx.test(a.value))return;const p=a,f=Ix(c,p,function(R){return R.type==="text"&&Mx.test(R.value)});if(!f)return;const h=Ox(c,p),d=_x(c,p,f),m=Lx(c,f),g=p.value,y=Array.from(g.matchAll(Fx))[0],[w,b]=y,S=w.length,T=y.index;if(T>0){const R=g.substring(0,T),D=ie("text",R);h.push(D)}if(g.length>T+S){const R=g.slice(T+S),D=ie("text",R);d.unshift(D)}const N=f.value,A=Array.from(N.matchAll($x))[0],[E]=A,$=E.length,q=A.index;if(q>0){const R=N.substring(0,q),D=ie("text",R);d.push(D)}if(N.length>q+$){const R=N.slice(q+$),D=ie("text",R);m.unshift(D)}const x=n(b,d);return c.children=[...h,x,...m],u},"visitorSecond"),s=l(function(a,u,c){if(!c||typeof u>"u"||!Bx.test(a.value))return;if(t.actionForEmptyContent==="remove")return a.value=a.value.replaceAll(Rc,""),a.value.trim()===""?[Ur,u]:mt;const p=[],f=a.value;let h="",d=0,m=0;const g=Array.from(f.matchAll(Rc));for(let y=0;y<g.length;y++){const w=g[y],[b,S]=w,T=w.index,N=b.length,A=d+m;if(d=T,m=N,T>A){const $=f.substring(A,T),q=ie("text",$);p.push(q)}const E=n(S,[]);p.push(E),h=f.slice(T+N)}if(h){const y=ie("text",h);p.push(y)}p.length&&c.children.splice(u,1,...p)},"visitorThird");return l(a=>{if(de(a,"text",r),de(a,"text",i),t.actionForEmptyContent!=="keep"&&de(a,"text",s),t.equalityOperator){const u=new RegExp(t.equalityOperator,"gi");de(a,"text",c=>{c.value=c.value.replaceAll(u,"==")})}},"transformer")},"plugin$1");var Pc={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))}l(n,"printf");function r(s,o){return i.apply(null,[s].concat(o))}l(r,"vsprintf");function i(s){for(var o=1,a=[].slice.call(arguments),u=0,c=s.length,p="",f,h=!1,d,m,g=!1,y,w=l(function(){return a[o++]},"nextArg"),b=l(function(){for(var S="";/\d/.test(s[u]);)S+=s[u++],f=s[u];return S.length>0?parseInt(S):null},"slurpNumber");u<c;++u)if(f=s[u],h)switch(h=!1,f=="."?(g=!1,f=s[++u]):f=="0"&&s[u+1]=="."?(g=!0,u+=2,f=s[u]):g=!0,y=b(),f){case"b":p+=parseInt(w(),10).toString(2);break;case"c":d=w(),typeof d=="string"||d instanceof String?p+=d:p+=String.fromCharCode(parseInt(d,10));break;case"d":p+=parseInt(w(),10);break;case"f":m=String(parseFloat(w()).toFixed(y||6)),p+=g?m:m.replace(/^0/,"");break;case"j":p+=JSON.stringify(w());break;case"o":p+="0"+parseInt(w(),10).toString(8);break;case"s":p+=w();break;case"x":p+="0x"+parseInt(w(),10).toString(16);break;case"X":p+="0x"+parseInt(w(),10).toString(16).toUpperCase();break;default:p+=f;break}else f==="%"?h=!0:p+=f;return p}l(i,"format")})()})(Pc);var Ux=Pc.exports,Hx=Xn(Ux);const ri=Object.assign(Ot(Error),{eval:Ot(EvalError),range:Ot(RangeError),reference:Ot(ReferenceError),syntax:Ot(SyntaxError),type:Ot(TypeError),uri:Ot(URIError)});function Ot(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){const i=n&&Hx(n,...r);return new e(i)}l(t,"FormattedError")}l(Ot,"create");const ii={}.hasOwnProperty,qc={yaml:"-",toml:"+"};function ro(e){const t=[];let n=-1;const r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=Vx(r[n]);return t}l(ro,"toMatters");function Vx(e){let t=e;if(typeof t=="string"){if(!ii.call(qc,t))throw ri("Missing matter definition for `%s`",t);t={type:t,marker:qc[t]}}else if(typeof t!="object")throw ri("Expected matter to be an object, not `%j`",t);if(!ii.call(t,"type"))throw ri("Missing `type` in matter `%j`",t);if(!ii.call(t,"fence")&&!ii.call(t,"marker"))throw ri("Missing `marker` or `fence` in matter `%j`",t);return t}l(Vx,"matter");function Gx(e){const t=ro(e),n={};let r=-1;for(;++r<t.length;){const i=t[r],s=io(i,"open").charCodeAt(0),o=Wx(i),a=n[s];Array.isArray(a)?a.push(o):n[s]=[o]}return{flow:n}}l(Gx,"frontmatter");function Wx(e){const t=e.anywhere,n=e.type,r=n+"Fence",i=r+"Sequence",s=n+"Value",o={tokenize:p,partial:!0};let a,u=0;return{tokenize:c,concrete:!0};function c(f,h,d){const m=this;return g;function g(E){const $=m.now();return $.column===1&&($.line===1||t)&&(a=io(e,"open"),u=0,E===a.charCodeAt(u))?(f.enter(n),f.enter(r),f.enter(i),y(E)):d(E)}function y(E){return u===a.length?(f.exit(i),W(E)?(f.enter("whitespace"),w(E)):b(E)):E===a.charCodeAt(u++)?(f.consume(E),y):d(E)}function w(E){return W(E)?(f.consume(E),w):(f.exit("whitespace"),b(E))}function b(E){return B(E)?(f.exit(r),f.enter("lineEnding"),f.consume(E),f.exit("lineEnding"),a=io(e,"close"),u=0,f.attempt(o,A,S)):d(E)}function S(E){return E===null||B(E)?N(E):(f.enter(s),T(E))}function T(E){return E===null||B(E)?(f.exit(s),N(E)):(f.consume(E),T)}function N(E){return E===null?d(E):(f.enter("lineEnding"),f.consume(E),f.exit("lineEnding"),f.attempt(o,A,S))}function A(E){return f.exit(n),h(E)}}function p(f,h,d){let m=0;return g;function g(S){return S===a.charCodeAt(m)?(f.enter(r),f.enter(i),y(S)):d(S)}function y(S){return m===a.length?(f.exit(i),W(S)?(f.enter("whitespace"),w(S)):b(S)):S===a.charCodeAt(m++)?(f.consume(S),y):d(S)}function w(S){return W(S)?(f.consume(S),w):(f.exit("whitespace"),b(S))}function b(S){return S===null||B(S)?(f.exit(r),h(S)):d(S)}}}l(Wx,"createConstruct");function io(e,t){return e.marker?Fc(e.marker,t).repeat(3):Fc(e.fence,t)}l(io,"fence$1");function Fc(e,t){return typeof e=="string"?e:e[t]}l(Fc,"pick$1");function Mc(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}l(Mc,"escapeStringRegexp");function Kx(e){const t=ro(e),n={},r={};let i=-1;for(;++i<t.length;){const s=t[i];n[s.type]=Yx(s),r[s.type]=Jx,r[s.type+"Value"]=Qx}return{enter:n,exit:r}}l(Kx,"frontmatterFromMarkdown");function Yx(e){return t;function t(n){this.enter({type:e.type,value:""},n),this.buffer()}}l(Yx,"opener");function Jx(e){const t=this.resume(),n=this.stack[this.stack.length-1];this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}l(Jx,"close");function Qx(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}l(Qx,"value");function Xx(e){const t=[],n={},r=ro(e);let i=-1;for(;++i<r.length;){const s=r[i];n[s.type]=Zx(s);const o=so(s,"open");t.push({atBreak:!0,character:o.charAt(0),after:Mc(o.charAt(1))})}return{unsafe:t,handlers:n}}l(Xx,"frontmatterToMarkdown");function Zx(e){const t=so(e,"open"),n=so(e,"close");return r;function r(i){return t+(i.value?`
279
+ `+i.value:"")+`
280
+ `+n}}l(Zx,"handler");function so(e,t){return e.marker?$c(e.marker,t).repeat(3):$c(e.fence,t)}l(so,"fence");function $c(e,t){return typeof e=="string"?e:e[t]}l($c,"pick");const eA="yaml";function tA(e){const t=this,n=e||eA,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Gx(n)),s.push(Kx(n)),o.push(Xx(n))}l(tA,"remarkFrontmatter");function nA(e,t,n){const i=dt((n||{}).ignore||[]),s=rA(t);let o=-1;for(;++o<s.length;)Lu(e,"text",a);function a(c,p){let f=-1,h;for(;++f<p.length;){const d=p[f],m=h?h.children:void 0;if(i(d,m?m.indexOf(d):void 0,h))return;h=d}if(h)return u(c,p)}l(a,"visitor");function u(c,p){const f=p[p.length-1],h=s[o][0],d=s[o][1];let m=0;const y=f.children.indexOf(c);let w=!1,b=[];h.lastIndex=0;let S=h.exec(c.value);for(;S;){const T=S.index,N={index:S.index,input:S.input,stack:[...p,c]};let A=d(...S,N);if(typeof A=="string"&&(A=A.length>0?{type:"text",value:A}:void 0),A===!1?h.lastIndex=T+1:(m!==T&&b.push({type:"text",value:c.value.slice(m,T)}),Array.isArray(A)?b.push(...A):A&&b.push(A),m=T+S[0].length,w=!0),!h.global)break;S=h.exec(c.value)}return w?(m<c.value.length&&b.push({type:"text",value:c.value.slice(m)}),f.children.splice(y,1,...b)):b=[c],y+b.length}l(u,"handler")}l(nA,"findAndReplace");function rA(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([iA(i[0]),sA(i[1])])}return t}l(rA,"toPairs");function iA(e){return typeof e=="string"?new RegExp(Mc(e),"g"):e}l(iA,"toExpression");function sA(e){return typeof e=="function"?e:function(){return e}}l(sA,"toFunction");const oo="phrasing",ao=["autolink","link","image","label"];function oA(){return{transforms:[hA],enter:{literalAutolink:lA,literalAutolinkEmail:lo,literalAutolinkHttp:lo,literalAutolinkWww:lo},exit:{literalAutolink:pA,literalAutolinkEmail:fA,literalAutolinkHttp:uA,literalAutolinkWww:cA}}}l(oA,"gfmAutolinkLiteralFromMarkdown");function aA(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:oo,notInConstruct:ao},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:oo,notInConstruct:ao},{character:":",before:"[ps]",after:"\\/",inConstruct:oo,notInConstruct:ao}]}}l(aA,"gfmAutolinkLiteralToMarkdown");function lA(e){this.enter({type:"link",title:null,url:"",children:[]},e)}l(lA,"enterLiteralAutolink");function lo(e){this.config.enter.autolinkProtocol.call(this,e)}l(lo,"enterLiteralAutolinkValue");function uA(e){this.config.exit.autolinkProtocol.call(this,e)}l(uA,"exitLiteralAutolinkHttp");function cA(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}l(cA,"exitLiteralAutolinkWww");function fA(e){this.config.exit.autolinkEmail.call(this,e)}l(fA,"exitLiteralAutolinkEmail");function pA(e){this.exit(e)}l(pA,"exitLiteralAutolink");function hA(e){nA(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,dA],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,mA]],{ignore:["link","linkReference"]})}l(hA,"transformGfmAutolinkLiterals");function dA(e,t,n,r,i){let s="";if(!Bc(i)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!gA(n)))return!1;const o=yA(n+r);if(!o[0])return!1;const a={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}l(dA,"findUrl");function mA(e,t,n,r){return!Bc(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}l(mA,"findEmail");function gA(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}l(gA,"isCorrectDomain");function yA(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=Vr(e,"(");let s=Vr(e,")");for(;r!==-1&&i>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}l(yA,"splitUrl");function Bc(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||_t(n)||Kr(n))&&(!t||n!==47)}l(Bc,"previous$2");function We(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}l(We,"normalizeIdentifier"),jc.peek=EA;function bA(){return{enter:{gfmFootnoteDefinition:kA,gfmFootnoteDefinitionLabelString:vA,gfmFootnoteCall:AA,gfmFootnoteCallString:CA},exit:{gfmFootnoteDefinition:xA,gfmFootnoteDefinitionLabelString:SA,gfmFootnoteCall:NA,gfmFootnoteCallString:TA}}}l(bA,"gfmFootnoteFromMarkdown");function wA(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:_A,footnoteReference:jc}}}l(wA,"gfmFootnoteToMarkdown");function kA(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}l(kA,"enterFootnoteDefinition");function vA(){this.buffer()}l(vA,"enterFootnoteDefinitionLabelString");function SA(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=We(this.sliceSerialize(e)).toLowerCase()}l(SA,"exitFootnoteDefinitionLabelString");function xA(e){this.exit(e)}l(xA,"exitFootnoteDefinition");function AA(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}l(AA,"enterFootnoteCall");function CA(){this.buffer()}l(CA,"enterFootnoteCallString");function TA(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=We(this.sliceSerialize(e)).toLowerCase()}l(TA,"exitFootnoteCallString");function NA(e){this.exit(e)}l(NA,"exitFootnoteCall");function jc(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const o=n.enter("footnoteReference"),a=n.enter("reference");return s+=i.move(n.safe(n.associationId(e),{...i.current(),before:s,after:"]"})),a(),o(),s+=i.move("]"),s}l(jc,"footnoteReference");function EA(){return"["}l(EA,"footnoteReferencePeek");function _A(e,t,n,r){const i=n.createTracker(r);let s=i.move("[^");const o=n.enter("footnoteDefinition"),a=n.enter("label");return s+=i.move(n.safe(n.associationId(e),{...i.current(),before:s,after:"]"})),a(),s+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),s+=i.move(n.indentLines(n.containerFlow(e,i.current()),OA)),o(),s}l(_A,"footnoteDefinition");function OA(e,t,n){return t===0?e:(n?"":" ")+e}l(OA,"map$2");const LA=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];zc.peek=qA;function IA(){return{canContainEols:["delete"],enter:{strikethrough:RA},exit:{strikethrough:PA}}}l(IA,"gfmStrikethroughFromMarkdown");function DA(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:LA}],handlers:{delete:zc}}}l(DA,"gfmStrikethroughToMarkdown");function RA(e){this.enter({type:"delete",children:[]},e)}l(RA,"enterStrikethrough");function PA(e){this.exit(e)}l(PA,"exitStrikethrough");function zc(e,t,n,r){const i=n.createTracker(r),s=n.enter("strikethrough");let o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),s(),o}l(zc,"handleDelete");function qA(){return"~"}l(qA,"peekDelete");function FA(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||$A,i=[],s=[],o=[],a=[];let u=0,c=-1;for(;++c<e.length;){const m=[],g=[];let y=-1;for(e[c].length>u&&(u=e[c].length);++y<e[c].length;){const w=MA(e[c][y]);if(t.alignDelimiters!==!1){const b=r(w);g[y]=b,(a[y]===void 0||b>a[y])&&(a[y]=b)}m.push(w)}s[c]=m,o[c]=g}let p=-1;if(typeof n=="object"&&"length"in n)for(;++p<u;)i[p]=Uc(n[p]);else{const m=Uc(n);for(;++p<u;)i[p]=m}p=-1;const f=[],h=[];for(;++p<u;){const m=i[p];let g="",y="";m===99?(g=":",y=":"):m===108?g=":":m===114&&(y=":");let w=t.alignDelimiters===!1?1:Math.max(1,a[p]-g.length-y.length);const b=g+"-".repeat(w)+y;t.alignDelimiters!==!1&&(w=g.length+w+y.length,w>a[p]&&(a[p]=w),h[p]=w),f[p]=b}s.splice(1,0,f),o.splice(1,0,h),c=-1;const d=[];for(;++c<s.length;){const m=s[c],g=o[c];p=-1;const y=[];for(;++p<u;){const w=m[p]||"";let b="",S="";if(t.alignDelimiters!==!1){const T=a[p]-(g[p]||0),N=i[p];N===114?b=" ".repeat(T):N===99?T%2?(b=" ".repeat(T/2+.5),S=" ".repeat(T/2-.5)):(b=" ".repeat(T/2),S=b):S=" ".repeat(T)}t.delimiterStart!==!1&&!p&&y.push("|"),t.padding!==!1&&!(t.alignDelimiters===!1&&w==="")&&(t.delimiterStart!==!1||p)&&y.push(" "),t.alignDelimiters!==!1&&y.push(b),y.push(w),t.alignDelimiters!==!1&&y.push(S),t.padding!==!1&&y.push(" "),(t.delimiterEnd!==!1||p!==u-1)&&y.push("|")}d.push(t.delimiterEnd===!1?y.join("").replace(/ +$/,""):y.join(""))}return d.join(`
281
+ `)}l(FA,"markdownTable");function MA(e){return e==null?"":String(e)}l(MA,"serialize");function $A(e){return e.length}l($A,"defaultStringLength");function Uc(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}l(Uc,"toAlignment");function BA(e,t,n,r){const i=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const o=n.indentLines(n.containerFlow(e,s.current()),jA);return i(),o}l(BA,"blockquote");function jA(e,t,n){return">"+(n?"":" ")+e}l(jA,"map$1");function zA(e,t){return Hc(e,t.inConstruct,!0)&&!Hc(e,t.notInConstruct,!1)}l(zA,"patternInScope");function Hc(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}l(Hc,"listInScope");function Vc(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
282
+ `&&zA(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
283
+ `}l(Vc,"hardBreak");function Gc(e,t){const n=String(e);let r=n.indexOf(t),i=r,s=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++s>o&&(o=s):s=1,i=r+t.length,r=n.indexOf(t,i);return o}l(Gc,"longestStreak");function UA(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}l(UA,"formatCodeAsIndented");function HA(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}l(HA,"checkFence");function VA(e,t,n,r){const i=HA(n),s=e.value||"",o=i==="`"?"GraveAccent":"Tilde";if(UA(e,n)){const f=n.enter("codeIndented"),h=n.indentLines(s,GA);return f(),h}const a=n.createTracker(r),u=i.repeat(Math.max(Gc(s,i)+1,3)),c=n.enter("codeFenced");let p=a.move(u);if(e.lang){const f=n.enter(`codeFencedLang${o}`);p+=a.move(n.safe(e.lang,{before:p,after:" ",encode:["`"],...a.current()})),f()}if(e.lang&&e.meta){const f=n.enter(`codeFencedMeta${o}`);p+=a.move(" "),p+=a.move(n.safe(e.meta,{before:p,after:`
284
+ `,encode:["`"],...a.current()})),f()}return p+=a.move(`
285
+ `),s&&(p+=a.move(s+`
286
+ `)),p+=a.move(u),c(),p}l(VA,"code$1");function GA(e,t,n){return(n?"":" ")+e}l(GA,"map");function uo(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}l(uo,"checkQuote");function WA(e,t,n,r){const i=uo(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("definition");let a=n.enter("label");const u=n.createTracker(r);let c=u.move("[");return c+=u.move(n.safe(n.associationId(e),{before:c,after:"]",...u.current()})),c+=u.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(a=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":`
287
+ `,...u.current()}))),a(),e.title&&(a=n.enter(`title${s}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),a()),o(),c}l(WA,"definition$1");function KA(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}l(KA,"checkEmphasis"),Wc.peek=YA;function Wc(e,t,n,r){const i=KA(n),s=n.enter("emphasis"),o=n.createTracker(r);let a=o.move(i);return a+=o.move(n.containerPhrasing(e,{before:a,after:i,...o.current()})),a+=o.move(i),s(),a}l(Wc,"emphasis");function YA(e,t,n){return n.options.emphasis||"*"}l(YA,"emphasisPeek");const JA={};function co(e,t){const n=JA,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Kc(e,r,i)}l(co,"toString");function Kc(e,t,n){if(QA(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 Yc(e.children,t,n)}return Array.isArray(e)?Yc(e,t,n):""}l(Kc,"one");function Yc(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Kc(e[i],t,n);return r.join("")}l(Yc,"all");function QA(e){return!!(e&&typeof e=="object")}l(QA,"node");function XA(e,t){let n=!1;return de(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,at}),!!((!e.depth||e.depth<3)&&co(e)&&(t.options.setext||n))}l(XA,"formatHeadingAsSetext");function ZA(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(XA(e,n)){const p=n.enter("headingSetext"),f=n.enter("phrasing"),h=n.containerPhrasing(e,{...s.current(),before:`
288
+ `,after:`
289
+ `});return f(),p(),h+`
290
+ `+(i===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(`
291
+ `))+1))}const o="#".repeat(i),a=n.enter("headingAtx"),u=n.enter("phrasing");s.move(o+" ");let c=n.containerPhrasing(e,{before:"# ",after:`
292
+ `,...s.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?o+" "+c:o,n.options.closeAtx&&(c+=" "+o),u(),a(),c}l(ZA,"heading"),Jc.peek=eC;function Jc(e){return e.value||""}l(Jc,"html");function eC(){return"<"}l(eC,"htmlPeek"),Qc.peek=tC;function Qc(e,t,n,r){const i=uo(n),s=i==='"'?"Quote":"Apostrophe",o=n.enter("image");let a=n.enter("label");const u=n.createTracker(r);let c=u.move("![");return c+=u.move(n.safe(e.alt,{before:c,after:"]",...u.current()})),c+=u.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(a=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":")",...u.current()}))),a(),e.title&&(a=n.enter(`title${s}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),a()),c+=u.move(")"),o(),c}l(Qc,"image");function tC(){return"!"}l(tC,"imagePeek"),Xc.peek=nC;function Xc(e,t,n,r){const i=e.referenceType,s=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(r);let u=a.move("![");const c=n.safe(e.alt,{before:u,after:"]",...a.current()});u+=a.move(c+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return o(),n.stack=p,s(),i==="full"||!c||c!==f?u+=a.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}l(Xc,"imageReference");function nC(){return"!"}l(nC,"imageReferencePeek"),Zc.peek=rC;function Zc(e,t,n){let r=e.value||"",i="`",s=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const o=n.unsafe[s],a=n.compilePattern(o);let u;if(o.atBreak)for(;u=a.exec(r);){let c=u.index;r.charCodeAt(c)===10&&r.charCodeAt(c-1)===13&&c--,r=r.slice(0,c)+" "+r.slice(u.index+1)}}return i+r+i}l(Zc,"inlineCode");function rC(){return"`"}l(rC,"inlineCodePeek");function ef(e,t){const n=co(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}l(ef,"formatLinkAsAutolink"),tf.peek=iC;function tf(e,t,n,r){const i=uo(n),s=i==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let a,u;if(ef(e,n)){const p=n.stack;n.stack=[],a=n.enter("autolink");let f=o.move("<");return f+=o.move(n.containerPhrasing(e,{before:f,after:">",...o.current()})),f+=o.move(">"),a(),n.stack=p,f}a=n.enter("link"),u=n.enter("label");let c=o.move("[");return c+=o.move(n.containerPhrasing(e,{before:c,after:"](",...o.current()})),c+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),c+=o.move("<"),c+=o.move(n.safe(e.url,{before:c,after:">",...o.current()})),c+=o.move(">")):(u=n.enter("destinationRaw"),c+=o.move(n.safe(e.url,{before:c,after:e.title?" ":")",...o.current()}))),u(),e.title&&(u=n.enter(`title${s}`),c+=o.move(" "+i),c+=o.move(n.safe(e.title,{before:c,after:i,...o.current()})),c+=o.move(i),u()),c+=o.move(")"),a(),c}l(tf,"link");function iC(e,t,n){return ef(e,n)?"<":"["}l(iC,"linkPeek"),nf.peek=sC;function nf(e,t,n,r){const i=e.referenceType,s=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(r);let u=a.move("[");const c=n.containerPhrasing(e,{before:u,after:"]",...a.current()});u+=a.move(c+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const f=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return o(),n.stack=p,s(),i==="full"||!c||c!==f?u+=a.move(f+"]"):i==="shortcut"?u=u.slice(0,-1):u+=a.move("]"),u}l(nf,"linkReference");function sC(){return"["}l(sC,"linkReferencePeek");function fo(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}l(fo,"checkBullet");function oC(e){const t=fo(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}l(oC,"checkBulletOther");function aC(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}l(aC,"checkBulletOrdered");function rf(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}l(rf,"checkRule");function lC(e,t,n,r){const i=n.enter("list"),s=n.bulletCurrent;let o=e.ordered?aC(n):fo(n);const a=e.ordered?o==="."?")":".":oC(n);let u=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&p&&(!p.children||!p.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(u=!0),rf(n)===o&&p){let f=-1;for(;++f<e.children.length;){const h=e.children[f];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(o=a),n.bulletCurrent=o;const c=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=s,i(),c}l(lC,"list$1");function uC(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}l(uC,"checkListItemIndent");function cC(e,t,n,r){const i=uC(n);let s=n.bulletCurrent||fo(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let o=s.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const a=n.createTracker(r);a.move(s+" ".repeat(o-s.length)),a.shift(o);const u=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,a.current()),p);return u(),c;function p(f,h,d){return h?(d?"":" ".repeat(o))+f:(d?s:s+" ".repeat(o-s.length))+f}l(p,"map")}l(cC,"listItem");function fC(e,t,n,r){const i=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(e,r);return s(),i(),o}l(fC,"paragraph");const pC=dt(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function hC(e,t,n,r){return(e.children.some(function(o){return pC(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}l(hC,"root");function dC(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}l(dC,"checkStrong"),sf.peek=mC;function sf(e,t,n,r){const i=dC(n),s=n.enter("strong"),o=n.createTracker(r);let a=o.move(i+i);return a+=o.move(n.containerPhrasing(e,{before:a,after:i,...o.current()})),a+=o.move(i+i),s(),a}l(sf,"strong");function mC(e,t,n){return n.options.strong||"*"}l(mC,"strongPeek");function gC(e,t,n,r){return n.safe(e.value,r)}l(gC,"text$3");function yC(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}l(yC,"checkRuleRepetition");function bC(e,t,n){const r=(rf(n)+(n.options.ruleSpaces?" ":"")).repeat(yC(n));return n.options.ruleSpaces?r.slice(0,-1):r}l(bC,"thematicBreak$1");const of={blockquote:BA,break:Vc,code:VA,definition:WA,emphasis:Wc,hardBreak:Vc,heading:ZA,html:Jc,image:Qc,imageReference:Xc,inlineCode:Zc,link:tf,linkReference:nf,list:lC,listItem:cC,paragraph:fC,root:hC,strong:sf,text:gC,thematicBreak:bC},af={AElig:"\xC6",AMP:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",Aring:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",Bcy:"\u0411",Because:"\u2235",Bernoullis:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",Bscr:"\u212C",Bumpeq:"\u224E",CHcy:"\u0427",COPY:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",Cayleys:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",CenterDot:"\xB7",Cfr:"\u212D",Chi:"\u03A7",CircleDot:"\u2299",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",Colon:"\u2237",Colone:"\u2A74",Congruent:"\u2261",Conint:"\u222F",ContourIntegral:"\u222E",Copf:"\u2102",Coproduct:"\u2210",CounterClockwiseContourIntegral:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",DD:"\u2145",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",Diamond:"\u22C4",DifferentialD:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",Downarrow:"\u21D3",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",Equilibrium:"\u21CC",Escr:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",ExponentialE:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",HilbertSpace:"\u210B",Hopf:"\u210D",HorizontalLine:"\u2500",Hscr:"\u210B",Hstrok:"\u0126",HumpDownHump:"\u224E",HumpEqual:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Igrave:"\xCC",Im:"\u2111",Imacr:"\u012A",ImaginaryI:"\u2148",Implies:"\u21D2",Int:"\u222C",Integral:"\u222B",Intersection:"\u22C2",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Larr:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",LeftRightArrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",Leftarrow:"\u21D0",Leftrightarrow:"\u21D4",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",LongLeftRightArrow:"\u27F7",LongRightArrow:"\u27F6",Longleftarrow:"\u27F8",Longleftrightarrow:"\u27FA",Longrightarrow:"\u27F9",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",Lscr:"\u2112",Lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",Mopf:"\u{1D544}",Mscr:"\u2133",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
293
+ `,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",Poincareplane:"\u210C",Popf:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",Prime:"\u2033",Product:"\u220F",Proportion:"\u2237",Proportional:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',Qfr:"\u{1D514}",Qopf:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",REG:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",Rfr:"\u211C",Rho:"\u03A1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",Rightarrow:"\u21D2",Ropf:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",Rscr:"\u211B",Rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",SuchThat:"\u220B",Sum:"\u2211",Sup:"\u22D1",Superset:"\u2283",SupersetEqual:"\u2287",Supset:"\u22D1",THORN:"\xDE",TRADE:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",UpEquilibrium:"\u296E",UpTee:"\u22A5",UpTeeArrow:"\u21A5",Uparrow:"\u21D1",Updownarrow:"\u21D5",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",ZeroWidthSpace:"\u200B",Zeta:"\u0396",Zfr:"\u2128",Zopf:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acute:"\xB4",acy:"\u0430",aelig:"\xE6",af:"\u2061",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",amp:"&",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",ap:"\u2248",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",apid:"\u224B",apos:"'",approx:"\u2248",approxeq:"\u224A",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",asymp:"\u2248",asympeq:"\u224D",atilde:"\xE3",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",beta:"\u03B2",beth:"\u2136",between:"\u226C",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxh:"\u2500",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",bprime:"\u2035",breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",bumpeq:"\u224F",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cedil:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledR:"\xAE",circledS:"\u24C8",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",conint:"\u222E",copf:"\u{1D554}",coprod:"\u2210",copy:"\xA9",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dArr:"\u21D3",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",darr:"\u2193",dash:"\u2010",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",dcaron:"\u010F",dcy:"\u0434",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",ddotseq:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",dharl:"\u21C3",dharr:"\u21C2",diam:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",dot:"\u02D9",doteq:"\u2250",doteqdot:"\u2251",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",downarrow:"\u2193",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eDDot:"\u2A77",eDot:"\u2251",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",ecirc:"\xEA",ecolon:"\u2255",ecy:"\u044D",edot:"\u0117",ee:"\u2147",efDot:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",equals:"=",equest:"\u225F",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",erarr:"\u2971",escr:"\u212F",esdot:"\u2250",esim:"\u2242",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",expectation:"\u2130",exponentiale:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",gE:"\u2267",gEl:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gammad:"\u03DD",gap:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",ge:"\u2265",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",gjcy:"\u0453",gl:"\u2277",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",gopf:"\u{1D558}",grave:"`",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hArr:"\u21D4",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",hardcy:"\u044A",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",hbar:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hslash:"\u210F",hstrok:"\u0127",hybull:"\u2043",hyphen:"\u2010",iacute:"\xED",ic:"\u2063",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",image:"\u2111",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",int:"\u222B",intcal:"\u22BA",integers:"\u2124",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",isin:"\u2208",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAarr:"\u21DA",lArr:"\u21D0",lAtail:"\u291B",lBarr:"\u290E",lE:"\u2266",lEg:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",lambda:"\u03BB",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",laquo:"\xAB",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lceil:"\u2308",lcub:"{",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leftarrow:"\u2190",leftarrowtail:"\u21A2",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",leftthreetimes:"\u22CB",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",lessgtr:"\u2276",lesssim:"\u2272",lfisht:"\u297C",lfloor:"\u230A",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",lstrok:"\u0142",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",measuredangle:"\u2221",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",mstpos:"\u223E",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nGtv:"\u226B\u0338",nLeftarrow:"\u21CD",nLeftrightarrow:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nLtv:"\u226A\u0338",nRightarrow:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nabla:"\u2207",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",neArr:"\u21D7",nearhk:"\u2924",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",ngsim:"\u2275",ngt:"\u226F",ngtr:"\u226F",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",njcy:"\u045A",nlArr:"\u21CD",nlE:"\u2266\u0338",nlarr:"\u219A",nldr:"\u2025",nle:"\u2270",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nlsim:"\u2274",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nmid:"\u2224",nopf:"\u{1D55F}",not:"\xAC",notin:"\u2209",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",oS:"\u24C8",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",ocirc:"\xF4",ocy:"\u043E",odash:"\u229D",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",oplus:"\u2295",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oscr:"\u2134",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimes:"\u2297",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",pr:"\u227A",prE:"\u2AB3",prap:"\u2AB7",prcue:"\u227C",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",prime:"\u2032",primes:"\u2119",prnE:"\u2AB5",prnap:"\u2AB9",prnsim:"\u22E8",prod:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',rAarr:"\u21DB",rArr:"\u21D2",rAtail:"\u291C",rBarr:"\u290F",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rceil:"\u2309",rcub:"}",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",reg:"\xAE",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",rightarrow:"\u2192",rightarrowtail:"\u21A3",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",rightthreetimes:"\u22CC",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",rsaquo:"\u203A",rscr:"\u{1D4C7}",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",sbquo:"\u201A",sc:"\u227B",scE:"\u2AB4",scap:"\u2AB8",scaron:"\u0161",sccue:"\u227D",sce:"\u2AB0",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",scnap:"\u2ABA",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",seArr:"\u21D8",searhk:"\u2925",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shortmid:"\u2223",shortparallel:"\u2225",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",square:"\u25A1",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",subE:"\u2AC5",subdot:"\u2ABD",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",supE:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supe:"\u2287",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swarhk:"\u2926",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tbrk:"\u23B4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",uArr:"\u21D1",uHar:"\u2963",uacute:"\xFA",uarr:"\u2191",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udarr:"\u21C5",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uml:"\xA8",uogon:"\u0173",uopf:"\u{1D566}",uparrow:"\u2191",updownarrow:"\u2195",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",upsi:"\u03C5",upsih:"\u03D2",upsilon:"\u03C5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",uuml:"\xFC",uwangle:"\u29A7",vArr:"\u21D5",vBar:"\u2AE8",vBarv:"\u2AE9",vDash:"\u22A8",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vcy:"\u0432",vdash:"\u22A2",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",vert:"|",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeetrf:"\u2128",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},wC={}.hasOwnProperty;function po(e){return wC.call(af,e)?af[e]:!1}l(po,"decodeNamedCharacterReference");function lf(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?"\uFFFD":String.fromCodePoint(n)}l(lf,"decodeNumericCharacterReference");const kC=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function vC(e){return e.replace(kC,SC)}l(vC,"decodeString");function SC(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),s=i===120||i===88;return lf(n.slice(s?2:1),s?16:10)}return po(n)||e}l(SC,"decode");function xC(){return{enter:{table:AC,tableData:uf,tableHeader:uf,tableRow:TC},exit:{codeText:NC,table:CC,tableData:ho,tableHeader:ho,tableRow:ho}}}l(xC,"gfmTableFromMarkdown");function AC(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}l(AC,"enterTable");function CC(e){this.exit(e),this.data.inTable=void 0}l(CC,"exitTable");function TC(e){this.enter({type:"tableRow",children:[]},e)}l(TC,"enterRow");function ho(e){this.exit(e)}l(ho,"exit$1");function uf(e){this.enter({type:"tableCell",children:[]},e)}l(uf,"enterCell");function NC(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,EC));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}l(NC,"exitCodeText");function EC(e,t){return t==="|"?t:e}l(EC,"replace");function _C(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
294
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:o,tableCell:u,tableRow:a}};function o(d,m,g,y){return c(p(d,g,y),d.align)}function a(d,m,g,y){const w=f(d,g,y),b=c([w]);return b.slice(0,b.indexOf(`
295
+ `))}function u(d,m,g,y){const w=g.enter("tableCell"),b=g.enter("phrasing"),S=g.containerPhrasing(d,{...y,before:s,after:s});return b(),w(),S}function c(d,m){return FA(d,{align:m,alignDelimiters:r,padding:n,stringLength:i})}function p(d,m,g){const y=d.children;let w=-1;const b=[],S=m.enter("table");for(;++w<y.length;)b[w]=f(y[w],m,g);return S(),b}function f(d,m,g){const y=d.children;let w=-1;const b=[],S=m.enter("tableRow");for(;++w<y.length;)b[w]=u(y[w],d,m,g);return S(),b}function h(d,m,g){let y=of.inlineCode(d,m,g);return g.stack.includes("tableCell")&&(y=y.replace(/\|/g,"\\$&")),y}}l(_C,"gfmTableToMarkdown");function OC(){return{exit:{taskListCheckValueChecked:cf,taskListCheckValueUnchecked:cf,paragraph:IC}}}l(OC,"gfmTaskListItemFromMarkdown");function LC(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:DC}}}l(LC,"gfmTaskListItemToMarkdown");function cf(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}l(cf,"exitCheck");function IC(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const i=t.children;let s=-1,o;for(;++s<i.length;){const a=i[s];if(a.type==="paragraph"){o=a;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}l(IC,"exitParagraphWithTaskListItem");function DC(e,t,n,r){const i=e.children[0],s=typeof e.checked=="boolean"&&i&&i.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);s&&a.move(o);let u=of.listItem(e,t,n,{...r,...a.current()});return s&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),u;function c(p){return p+o}l(c,"check")}l(DC,"listItemWithTaskListItem");function RC(){return[oA(),bA(),IA(),xC(),OC()]}l(RC,"gfmFromMarkdown");function PC(e){return{extensions:[aA(),wA(),DA(),_C(e),LC()]}}l(PC,"gfmToMarkdown");function Fe(e,t,n,r){const i=e.length;let s=0,o;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}l(Fe,"splice");function Me(e,t){return e.length>0?(Fe(e,e.length,0,t),e):t}l(Me,"push");const ff={}.hasOwnProperty;function pf(e){const t={};let n=-1;for(;++n<e.length;)qC(t,e[n]);return t}l(pf,"combineExtensions");function qC(e,t){let n;for(n in t){const i=(ff.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let o;if(s)for(o in s){ff.call(i,o)||(i[o]=[]);const a=s[o];FC(i[o],Array.isArray(a)?a:a?[a]:[])}}}l(qC,"syntaxExtension");function FC(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Fe(e,0,0,r)}l(FC,"constructs");const MC={tokenize:HC,partial:!0},hf={tokenize:VC,partial:!0},df={tokenize:GC,partial:!0},mf={tokenize:WC,partial:!0},$C={tokenize:KC,partial:!0},gf={tokenize:zC,previous:bf},yf={tokenize:UC,previous:wf},lt={tokenize:jC,previous:kf},Xe={};function BC(){return{text:Xe}}l(BC,"gfmAutolinkLiteral");let Lt=48;for(;Lt<123;)Xe[Lt]=lt,Lt++,Lt===58?Lt=65:Lt===91&&(Lt=97);Xe[43]=lt,Xe[45]=lt,Xe[46]=lt,Xe[95]=lt,Xe[72]=[lt,yf],Xe[104]=[lt,yf],Xe[87]=[lt,gf],Xe[119]=[lt,gf];function jC(e,t,n){const r=this;let i,s;return o;function o(f){return!mo(f)||!kf.call(r,r.previous)||go(r.events)?n(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),a(f))}function a(f){return mo(f)?(e.consume(f),a):f===64?(e.consume(f),u):n(f)}function u(f){return f===46?e.check($C,p,c)(f):f===45||f===95||ke(f)?(s=!0,e.consume(f),u):p(f)}function c(f){return e.consume(f),i=!0,u}function p(f){return s&&i&&Se(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):n(f)}}l(jC,"tokenizeEmailAutolink");function zC(e,t,n){const r=this;return i;function i(o){return o!==87&&o!==119||!bf.call(r,r.previous)||go(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(MC,e.attempt(hf,e.attempt(df,s),n),n)(o))}function s(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}l(zC,"tokenizeWwwAutolink");function UC(e,t,n){const r=this;let i="",s=!1;return o;function o(f){return(f===72||f===104)&&wf.call(r,r.previous)&&!go(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(f),e.consume(f),a):n(f)}function a(f){if(Se(f)&&i.length<5)return i+=String.fromCodePoint(f),e.consume(f),a;if(f===58){const h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(f),u}return n(f)}function u(f){return f===47?(e.consume(f),s?c:(s=!0,u)):n(f)}function c(f){return f===null||Wr(f)||Z(f)||_t(f)||Kr(f)?n(f):e.attempt(hf,e.attempt(df,p),n)(f)}function p(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}l(UC,"tokenizeProtocolAutolink");function HC(e,t,n){let r=0;return i;function i(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),i):o===46&&r===3?(e.consume(o),s):n(o)}function s(o){return o===null?n(o):t(o)}}l(HC,"tokenizeWwwPrefix");function VC(e,t,n){let r,i,s;return o;function o(c){return c===46||c===95?e.check(mf,u,a)(c):c===null||Z(c)||_t(c)||c!==45&&Kr(c)?u(c):(s=!0,e.consume(c),o)}function a(c){return c===95?r=!0:(i=r,r=void 0),e.consume(c),o}function u(c){return i||r||!s?n(c):t(c)}}l(VC,"tokenizeDomain");function GC(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?s(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(mf,t,s)(o):o===null||Z(o)||_t(o)?t(o):(e.consume(o),i)}function s(o){return o===41&&r++,e.consume(o),i}}l(GC,"tokenizePath");function WC(e,t,n){return r;function r(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(e.consume(a),r):a===38?(e.consume(a),s):a===93?(e.consume(a),i):a===60||a===null||Z(a)||_t(a)?t(a):n(a)}function i(a){return a===null||a===40||a===91||Z(a)||_t(a)?t(a):r(a)}function s(a){return Se(a)?o(a):n(a)}function o(a){return a===59?(e.consume(a),r):Se(a)?(e.consume(a),o):n(a)}}l(WC,"tokenizeTrail");function KC(e,t,n){return r;function r(s){return e.consume(s),i}function i(s){return ke(s)?n(s):t(s)}}l(KC,"tokenizeEmailDomainDotTrail");function bf(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Z(e)}l(bf,"previousWww");function wf(e){return!Se(e)}l(wf,"previousProtocol");function kf(e){return!(e===47||mo(e))}l(kf,"previousEmail");function mo(e){return e===43||e===45||e===46||e===95||ke(e)}l(mo,"gfmAtext");function go(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}l(go,"previousUnbalanced");function si(e){if(e===null||Z(e)||_t(e))return 1;if(Kr(e))return 2}l(si,"classifyCharacter");function oi(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const s=e[i].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}l(oi,"resolveAll");const yo={name:"attention",tokenize:JC,resolveAll:YC};function YC(e,t){let n=-1,r,i,s,o,a,u,c,p;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;u=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),h=Object.assign({},e[n][1].start);vf(f,-u),vf(h,u),o={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},a={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:h},s={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:u>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},a.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},a.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Me(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Me(c,[["enter",i,t],["enter",o,t],["exit",o,t],["enter",s,t]]),c=Me(c,oi(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Me(c,[["exit",s,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,c=Me(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,Fe(e,r-1,n-r+3,c),n=r+c.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}l(YC,"resolveAllAttention");function JC(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=si(r);let s;return o;function o(u){return s=u,e.enter("attentionSequence"),a(u)}function a(u){if(u===s)return e.consume(u),a;const c=e.exit("attentionSequence"),p=si(u),f=!p||p===2&&i||n.includes(u),h=!i||i===2&&p||n.includes(r);return c._open=!!(s===42?f:f&&(i||!h)),c._close=!!(s===42?h:h&&(p||!f)),t(u)}}l(JC,"tokenizeAttention");function vf(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}l(vf,"movePoint");const QC={name:"autolink",tokenize:XC};function XC(e,t,n){let r=0;return i;function i(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(d){return Se(d)?(e.consume(d),o):d===64?n(d):c(d)}function o(d){return d===43||d===45||d===46||ke(d)?(r=1,a(d)):c(d)}function a(d){return d===58?(e.consume(d),r=0,u):(d===43||d===45||d===46||ke(d))&&r++<32?(e.consume(d),a):(r=0,c(d))}function u(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||Wr(d)?n(d):(e.consume(d),u)}function c(d){return d===64?(e.consume(d),p):bS(d)?(e.consume(d),c):n(d)}function p(d){return ke(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,p):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):h(d)}function h(d){if((d===45||ke(d))&&r++<63){const m=d===45?h:f;return e.consume(d),m}return n(d)}}l(XC,"tokenizeAutolink");function Y(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let s=0;return o;function o(u){return W(u)?(e.enter(n),a(u)):t(u)}function a(u){return W(u)&&s++<i?(e.consume(u),a):(e.exit(n),t(u))}}l(Y,"factorySpace");const Vn={tokenize:ZC,partial:!0};function ZC(e,t,n){return r;function r(s){return W(s)?Y(e,i,"linePrefix")(s):i(s)}function i(s){return s===null||B(s)?t(s):n(s)}}l(ZC,"tokenizeBlankLine");const Sf={name:"blockQuote",tokenize:eT,continuation:{tokenize:tT},exit:nT};function eT(e,t,n){const r=this;return i;function i(o){if(o===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),s}return n(o)}function s(o){return W(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}l(eT,"tokenizeBlockQuoteStart");function tT(e,t,n){const r=this;return i;function i(o){return W(o)?Y(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):s(o)}function s(o){return e.attempt(Sf,t,n)(o)}}l(tT,"tokenizeBlockQuoteContinuation");function nT(e){e.exit("blockQuote")}l(nT,"exit");const xf={name:"characterEscape",tokenize:rT};function rT(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),i}function i(s){return kS(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}l(rT,"tokenizeCharacterEscape");const Af={name:"characterReference",tokenize:iT};function iT(e,t,n){const r=this;let i=0,s,o;return a;function a(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),s=31,o=ke,p(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,o=wS,p):(e.enter("characterReferenceValue"),s=7,o=qs,p(f))}function p(f){if(f===59&&i){const h=e.exit("characterReferenceValue");return o===ke&&!po(r.sliceSerialize(h))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(f)&&i++<s?(e.consume(f),p):n(f)}}l(iT,"tokenizeCharacterReference");const Cf={tokenize:oT,partial:!0},Tf={name:"codeFenced",tokenize:sT,concrete:!0};function sT(e,t,n){const r=this,i={tokenize:N,partial:!0};let s=0,o=0,a;return u;function u(A){return c(A)}function c(A){const E=r.events[r.events.length-1];return s=E&&E[1].type==="linePrefix"?E[2].sliceSerialize(E[1],!0).length:0,a=A,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(A)}function p(A){return A===a?(o++,e.consume(A),p):o<3?n(A):(e.exit("codeFencedFenceSequence"),W(A)?Y(e,f,"whitespace")(A):f(A))}function f(A){return A===null||B(A)?(e.exit("codeFencedFence"),r.interrupt?t(A):e.check(Cf,g,T)(A)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(A))}function h(A){return A===null||B(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(A)):W(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Y(e,d,"whitespace")(A)):A===96&&A===a?n(A):(e.consume(A),h)}function d(A){return A===null||B(A)?f(A):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(A))}function m(A){return A===null||B(A)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(A)):A===96&&A===a?n(A):(e.consume(A),m)}function g(A){return e.attempt(i,T,y)(A)}function y(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),w}function w(A){return s>0&&W(A)?Y(e,b,"linePrefix",s+1)(A):b(A)}function b(A){return A===null||B(A)?e.check(Cf,g,T)(A):(e.enter("codeFlowValue"),S(A))}function S(A){return A===null||B(A)?(e.exit("codeFlowValue"),b(A)):(e.consume(A),S)}function T(A){return e.exit("codeFenced"),t(A)}function N(A,E,$){let q=0;return x;function x(U){return A.enter("lineEnding"),A.consume(U),A.exit("lineEnding"),R}function R(U){return A.enter("codeFencedFence"),W(U)?Y(A,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):D(U)}function D(U){return U===a?(A.enter("codeFencedFenceSequence"),M(U)):$(U)}function M(U){return U===a?(q++,A.consume(U),M):q>=o?(A.exit("codeFencedFenceSequence"),W(U)?Y(A,Q,"whitespace")(U):Q(U)):$(U)}function Q(U){return U===null||B(U)?(A.exit("codeFencedFence"),E(U)):$(U)}}}l(sT,"tokenizeCodeFenced");function oT(e,t,n){const r=this;return i;function i(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}l(oT,"tokenizeNonLazyContinuation$1");const bo={name:"codeIndented",tokenize:lT},aT={tokenize:uT,partial:!0};function lT(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),Y(e,s,"linePrefix",5)(c)}function s(c){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(c):n(c)}function o(c){return c===null?u(c):B(c)?e.attempt(aT,o,u)(c):(e.enter("codeFlowValue"),a(c))}function a(c){return c===null||B(c)?(e.exit("codeFlowValue"),o(c)):(e.consume(c),a)}function u(c){return e.exit("codeIndented"),t(c)}}l(lT,"tokenizeCodeIndented");function uT(e,t,n){const r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):B(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):Y(e,s,"linePrefix",5)(o)}function s(o){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):B(o)?i(o):n(o)}}l(uT,"tokenizeFurtherStart");const cT={name:"codeText",tokenize:hT,resolve:fT,previous:pT};function fT(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}l(fT,"resolveCodeText");function pT(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}l(pT,"previous$1");function hT(e,t,n){let r=0,i,s;return o;function o(f){return e.enter("codeText"),e.enter("codeTextSequence"),a(f)}function a(f){return f===96?(e.consume(f),r++,a):(e.exit("codeTextSequence"),u(f))}function u(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),u):f===96?(s=e.enter("codeTextSequence"),i=0,p(f)):B(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("codeTextData"),c(f))}function c(f){return f===null||f===32||f===96||B(f)?(e.exit("codeTextData"),u(f)):(e.consume(f),c)}function p(f){return f===96?(e.consume(f),i++,p):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(s.type="codeTextData",c(f))}}l(hT,"tokenizeCodeText");class dT{static{l(this,"SpliceBuffer")}constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Gn(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Gn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Gn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Gn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Gn(this.left,n.reverse())}}}function Gn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}l(Gn,"chunkedPush");function Nf(e){const t={};let n=-1,r,i,s,o,a,u,c;const p=new dT(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(r=p.get(n),n&&r[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(u=r[1]._tokenizer.events,s=0,s<u.length&&u[s][1].type==="lineEndingBlank"&&(s+=2),s<u.length&&u[s][1].type==="content"))for(;++s<u.length&&u[s][1].type!=="content";)u[s][1].type==="chunkText"&&(u[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,mT(p,n)),n=t[n],c=!0);else if(r[1]._container){for(s=n,i=void 0;s--&&(o=p.get(s),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank");)o[0]==="enter"&&(i&&(p.get(i)[1].type="lineEndingBlank"),o[1].type="lineEnding",i=s);i&&(r[1].end=Object.assign({},p.get(i)[1].start),a=p.slice(i,n),a.unshift(r),p.splice(i,n-i+1,a))}}return Fe(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!c}l(Nf,"subtokenize");function mT(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const s=[],o=n._tokenizer||r.parser[n.contentType](n.start),a=o.events,u=[],c={};let p,f,h=-1,d=n,m=0,g=0;const y=[g];for(;d;){for(;e.get(++i)[1]!==d;);s.push(i),d._tokenizer||(p=r.sliceStream(d),d.next||p.push(null),f&&o.defineSkip(d.start),d._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),d._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++h<a.length;)a[h][0]==="exit"&&a[h-1][0]==="enter"&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(g=h+1,y.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(o.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),h=y.length;h--;){const w=a.slice(y[h],y[h+1]),b=s.pop();u.push([b,b+w.length-1]),e.splice(b,2,w)}for(u.reverse(),h=-1;++h<u.length;)c[m+u[h][0]]=m+u[h][1],m+=u[h][1]-u[h][0]-1;return c}l(mT,"subcontent");const gT={tokenize:wT,resolve:bT},yT={tokenize:kT,partial:!0};function bT(e){return Nf(e),e}l(bT,"resolveContent");function wT(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?s(a):B(a)?e.check(yT,o,s)(a):(e.consume(a),i)}function s(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function o(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}l(wT,"tokenizeContent");function kT(e,t,n){const r=this;return i;function i(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Y(e,s,"linePrefix")}function s(o){if(o===null||B(o))return n(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}l(kT,"tokenizeContinuation");function Ef(e,t,n,r,i,s,o,a,u){const c=u||Number.POSITIVE_INFINITY;let p=0;return f;function f(w){return w===60?(e.enter(r),e.enter(i),e.enter(s),e.consume(w),e.exit(s),h):w===null||w===32||w===41||Wr(w)?n(w):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),g(w))}function h(w){return w===62?(e.enter(s),e.consume(w),e.exit(s),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(w))}function d(w){return w===62?(e.exit("chunkString"),e.exit(a),h(w)):w===null||w===60||B(w)?n(w):(e.consume(w),w===92?m:d)}function m(w){return w===60||w===62||w===92?(e.consume(w),d):d(w)}function g(w){return!p&&(w===null||w===41||Z(w))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),t(w)):p<c&&w===40?(e.consume(w),p++,g):w===41?(e.consume(w),p--,g):w===null||w===32||w===40||Wr(w)?n(w):(e.consume(w),w===92?y:g)}function y(w){return w===40||w===41||w===92?(e.consume(w),g):g(w)}}l(Ef,"factoryDestination");function _f(e,t,n,r,i,s){const o=this;let a=0,u;return c;function c(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),e.enter(s),p}function p(d){return a>999||d===null||d===91||d===93&&!u||d===94&&!a&&"_hiddenFootnoteSupport"in o.parser.constructs?n(d):d===93?(e.exit(s),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):B(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||B(d)||a++>999?(e.exit("chunkString"),p(d)):(e.consume(d),u||(u=!W(d)),d===92?h:f)}function h(d){return d===91||d===92||d===93?(e.consume(d),a++,f):f(d)}}l(_f,"factoryLabel");function Of(e,t,n,r,i,s){let o;return a;function a(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),o=h===40?41:h,u):n(h)}function u(h){return h===o?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(s),c(h))}function c(h){return h===o?(e.exit(s),u(o)):h===null?n(h):B(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),Y(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(h))}function p(h){return h===o||h===null||B(h)?(e.exit("chunkString"),c(h)):(e.consume(h),h===92?f:p)}function f(h){return h===o||h===92?(e.consume(h),p):p(h)}}l(Of,"factoryTitle");function Wn(e,t){let n;return r;function r(i){return B(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):W(i)?Y(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}l(Wn,"factoryWhitespace");const vT={name:"definition",tokenize:xT},ST={tokenize:AT,partial:!0};function xT(e,t,n){const r=this;let i;return s;function s(d){return e.enter("definition"),o(d)}function o(d){return _f.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function a(d){return i=We(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),u):n(d)}function u(d){return Z(d)?Wn(e,c)(d):c(d)}function c(d){return Ef(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function p(d){return e.attempt(ST,f,f)(d)}function f(d){return W(d)?Y(e,h,"whitespace")(d):h(d)}function h(d){return d===null||B(d)?(e.exit("definition"),r.parser.defined.push(i),t(d)):n(d)}}l(xT,"tokenizeDefinition");function AT(e,t,n){return r;function r(a){return Z(a)?Wn(e,i)(a):n(a)}function i(a){return Of(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function s(a){return W(a)?Y(e,o,"whitespace")(a):o(a)}function o(a){return a===null||B(a)?t(a):n(a)}}l(AT,"tokenizeTitleBefore");const CT={name:"hardBreakEscape",tokenize:TT};function TT(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),i}function i(s){return B(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}l(TT,"tokenizeHardBreakEscape");const NT={name:"headingAtx",tokenize:_T,resolve:ET};function ET(e,t){let n=e.length-2,r=3,i,s;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},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Fe(e,r,n-r+1,[["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t]])),e}l(ET,"resolveHeadingAtx");function _T(e,t,n){let r=0;return i;function i(p){return e.enter("atxHeading"),s(p)}function s(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&r++<6?(e.consume(p),o):p===null||Z(p)?(e.exit("atxHeadingSequence"),a(p)):n(p)}function a(p){return p===35?(e.enter("atxHeadingSequence"),u(p)):p===null||B(p)?(e.exit("atxHeading"),t(p)):W(p)?Y(e,a,"whitespace")(p):(e.enter("atxHeadingText"),c(p))}function u(p){return p===35?(e.consume(p),u):(e.exit("atxHeadingSequence"),a(p))}function c(p){return p===null||p===35||Z(p)?(e.exit("atxHeadingText"),a(p)):(e.consume(p),c)}}l(_T,"tokenizeHeadingAtx");const OT=["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"],Lf=["pre","script","style","textarea"],LT={name:"htmlFlow",tokenize:PT,resolveTo:RT,concrete:!0},IT={tokenize:FT,partial:!0},DT={tokenize:qT,partial:!0};function RT(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}l(RT,"resolveToHtmlFlow");function PT(e,t,n){const r=this;let i,s,o,a,u;return c;function c(v){return p(v)}function p(v){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(v),f}function f(v){return v===33?(e.consume(v),h):v===47?(e.consume(v),s=!0,g):v===63?(e.consume(v),i=3,r.interrupt?t:C):Se(v)?(e.consume(v),o=String.fromCharCode(v),y):n(v)}function h(v){return v===45?(e.consume(v),i=2,d):v===91?(e.consume(v),i=5,a=0,m):Se(v)?(e.consume(v),i=4,r.interrupt?t:C):n(v)}function d(v){return v===45?(e.consume(v),r.interrupt?t:C):n(v)}function m(v){const F="CDATA[";return v===F.charCodeAt(a++)?(e.consume(v),a===F.length?r.interrupt?t:D:m):n(v)}function g(v){return Se(v)?(e.consume(v),o=String.fromCharCode(v),y):n(v)}function y(v){if(v===null||v===47||v===62||Z(v)){const F=v===47,K=o.toLowerCase();return!F&&!s&&Lf.includes(K)?(i=1,r.interrupt?t(v):D(v)):OT.includes(o.toLowerCase())?(i=6,F?(e.consume(v),w):r.interrupt?t(v):D(v)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(v):s?b(v):S(v))}return v===45||ke(v)?(e.consume(v),o+=String.fromCharCode(v),y):n(v)}function w(v){return v===62?(e.consume(v),r.interrupt?t:D):n(v)}function b(v){return W(v)?(e.consume(v),b):x(v)}function S(v){return v===47?(e.consume(v),x):v===58||v===95||Se(v)?(e.consume(v),T):W(v)?(e.consume(v),S):x(v)}function T(v){return v===45||v===46||v===58||v===95||ke(v)?(e.consume(v),T):N(v)}function N(v){return v===61?(e.consume(v),A):W(v)?(e.consume(v),N):S(v)}function A(v){return v===null||v===60||v===61||v===62||v===96?n(v):v===34||v===39?(e.consume(v),u=v,E):W(v)?(e.consume(v),A):$(v)}function E(v){return v===u?(e.consume(v),u=null,q):v===null||B(v)?n(v):(e.consume(v),E)}function $(v){return v===null||v===34||v===39||v===47||v===60||v===61||v===62||v===96||Z(v)?N(v):(e.consume(v),$)}function q(v){return v===47||v===62||W(v)?S(v):n(v)}function x(v){return v===62?(e.consume(v),R):n(v)}function R(v){return v===null||B(v)?D(v):W(v)?(e.consume(v),R):n(v)}function D(v){return v===45&&i===2?(e.consume(v),oe):v===60&&i===1?(e.consume(v),ue):v===62&&i===4?(e.consume(v),k):v===63&&i===3?(e.consume(v),C):v===93&&i===5?(e.consume(v),Be):B(v)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(IT,O,M)(v)):v===null||B(v)?(e.exit("htmlFlowData"),M(v)):(e.consume(v),D)}function M(v){return e.check(DT,Q,O)(v)}function Q(v){return e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),U}function U(v){return v===null||B(v)?M(v):(e.enter("htmlFlowData"),D(v))}function oe(v){return v===45?(e.consume(v),C):D(v)}function ue(v){return v===47?(e.consume(v),o="",se):D(v)}function se(v){if(v===62){const F=o.toLowerCase();return Lf.includes(F)?(e.consume(v),k):D(v)}return Se(v)&&o.length<8?(e.consume(v),o+=String.fromCharCode(v),se):D(v)}function Be(v){return v===93?(e.consume(v),C):D(v)}function C(v){return v===62?(e.consume(v),k):v===45&&i===2?(e.consume(v),C):D(v)}function k(v){return v===null||B(v)?(e.exit("htmlFlowData"),O(v)):(e.consume(v),k)}function O(v){return e.exit("htmlFlow"),t(v)}}l(PT,"tokenizeHtmlFlow");function qT(e,t,n){const r=this;return i;function i(o){return B(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):n(o)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}l(qT,"tokenizeNonLazyContinuationStart");function FT(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Vn,t,n)}}l(FT,"tokenizeBlankLineBefore");const MT={name:"htmlText",tokenize:$T};function $T(e,t,n){const r=this;let i,s,o;return a;function a(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),u}function u(C){return C===33?(e.consume(C),c):C===47?(e.consume(C),N):C===63?(e.consume(C),S):Se(C)?(e.consume(C),$):n(C)}function c(C){return C===45?(e.consume(C),p):C===91?(e.consume(C),s=0,m):Se(C)?(e.consume(C),b):n(C)}function p(C){return C===45?(e.consume(C),d):n(C)}function f(C){return C===null?n(C):C===45?(e.consume(C),h):B(C)?(o=f,ue(C)):(e.consume(C),f)}function h(C){return C===45?(e.consume(C),d):f(C)}function d(C){return C===62?oe(C):C===45?h(C):f(C)}function m(C){const k="CDATA[";return C===k.charCodeAt(s++)?(e.consume(C),s===k.length?g:m):n(C)}function g(C){return C===null?n(C):C===93?(e.consume(C),y):B(C)?(o=g,ue(C)):(e.consume(C),g)}function y(C){return C===93?(e.consume(C),w):g(C)}function w(C){return C===62?oe(C):C===93?(e.consume(C),w):g(C)}function b(C){return C===null||C===62?oe(C):B(C)?(o=b,ue(C)):(e.consume(C),b)}function S(C){return C===null?n(C):C===63?(e.consume(C),T):B(C)?(o=S,ue(C)):(e.consume(C),S)}function T(C){return C===62?oe(C):S(C)}function N(C){return Se(C)?(e.consume(C),A):n(C)}function A(C){return C===45||ke(C)?(e.consume(C),A):E(C)}function E(C){return B(C)?(o=E,ue(C)):W(C)?(e.consume(C),E):oe(C)}function $(C){return C===45||ke(C)?(e.consume(C),$):C===47||C===62||Z(C)?q(C):n(C)}function q(C){return C===47?(e.consume(C),oe):C===58||C===95||Se(C)?(e.consume(C),x):B(C)?(o=q,ue(C)):W(C)?(e.consume(C),q):oe(C)}function x(C){return C===45||C===46||C===58||C===95||ke(C)?(e.consume(C),x):R(C)}function R(C){return C===61?(e.consume(C),D):B(C)?(o=R,ue(C)):W(C)?(e.consume(C),R):q(C)}function D(C){return C===null||C===60||C===61||C===62||C===96?n(C):C===34||C===39?(e.consume(C),i=C,M):B(C)?(o=D,ue(C)):W(C)?(e.consume(C),D):(e.consume(C),Q)}function M(C){return C===i?(e.consume(C),i=void 0,U):C===null?n(C):B(C)?(o=M,ue(C)):(e.consume(C),M)}function Q(C){return C===null||C===34||C===39||C===60||C===61||C===96?n(C):C===47||C===62||Z(C)?q(C):(e.consume(C),Q)}function U(C){return C===47||C===62||Z(C)?q(C):n(C)}function oe(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):n(C)}function ue(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),se}function se(C){return W(C)?Y(e,Be,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):Be(C)}function Be(C){return e.enter("htmlTextData"),o(C)}}l($T,"tokenizeHtmlText");const wo={name:"labelEnd",tokenize:VT,resolveTo:HT,resolveAll:UT},BT={tokenize:GT},jT={tokenize:WT},zT={tokenize:KT};function UT(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}l(UT,"resolveAllLabelEnd");function HT(e,t){let n=e.length,r=0,i,s,o,a;for(;n--;)if(i=e[n][1],s){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(s=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(o=n);const u={type:e[s][1].type==="labelLink"?"link":"image",start:Object.assign({},e[s][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[s][1].start),end:Object.assign({},e[o][1].end)},p={type:"labelText",start:Object.assign({},e[s+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return a=[["enter",u,t],["enter",c,t]],a=Me(a,e.slice(s+1,s+r+3)),a=Me(a,[["enter",p,t]]),a=Me(a,oi(t.parser.constructs.insideSpan.null,e.slice(s+r+4,o-3),t)),a=Me(a,[["exit",p,t],e[o-2],e[o-1],["exit",c,t]]),a=Me(a,e.slice(o+1)),a=Me(a,[["exit",u,t]]),Fe(e,s,e.length,a),e}l(HT,"resolveToLabelEnd");function VT(e,t,n){const r=this;let i=r.events.length,s,o;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){s=r.events[i][1];break}return a;function a(h){return s?s._inactive?f(h):(o=r.parser.defined.includes(We(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),u):n(h)}function u(h){return h===40?e.attempt(BT,p,o?p:f)(h):h===91?e.attempt(jT,p,o?c:f)(h):o?p(h):f(h)}function c(h){return e.attempt(zT,p,f)(h)}function p(h){return t(h)}function f(h){return s._balanced=!0,n(h)}}l(VT,"tokenizeLabelEnd");function GT(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 Z(f)?Wn(e,s)(f):s(f)}function s(f){return f===41?p(f):Ef(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function o(f){return Z(f)?Wn(e,u)(f):p(f)}function a(f){return n(f)}function u(f){return f===34||f===39||f===40?Of(e,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):p(f)}function c(f){return Z(f)?Wn(e,p)(f):p(f)}function p(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}l(GT,"tokenizeResource");function WT(e,t,n){const r=this;return i;function i(a){return _f.call(r,e,s,o,"reference","referenceMarker","referenceString")(a)}function s(a){return r.parser.defined.includes(We(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function o(a){return n(a)}}l(WT,"tokenizeReferenceFull");function KT(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),i}function i(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}l(KT,"tokenizeReferenceCollapsed");const YT={name:"labelStartImage",tokenize:JT,resolveAll:wo.resolveAll};function JT(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),s}function s(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),o):n(a)}function o(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}l(JT,"tokenizeLabelStartImage");const QT={name:"labelStartLink",tokenize:XT,resolveAll:wo.resolveAll};function XT(e,t,n){const r=this;return i;function i(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),s}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}l(XT,"tokenizeLabelStartLink");const ko={name:"lineEnding",tokenize:ZT};function ZT(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),Y(e,t,"linePrefix")}}l(ZT,"tokenizeLineEnding");const ai={name:"thematicBreak",tokenize:eN};function eN(e,t,n){let r=0,i;return s;function s(c){return e.enter("thematicBreak"),o(c)}function o(c){return i=c,a(c)}function a(c){return c===i?(e.enter("thematicBreakSequence"),u(c)):r>=3&&(c===null||B(c))?(e.exit("thematicBreak"),t(c)):n(c)}function u(c){return c===i?(e.consume(c),r++,u):(e.exit("thematicBreakSequence"),W(c)?Y(e,a,"whitespace")(c):a(c))}}l(eN,"tokenizeThematicBreak");const Ne={name:"list",tokenize:rN,continuation:{tokenize:iN},exit:oN},tN={tokenize:aN,partial:!0},nN={tokenize:sN,partial:!0};function rN(e,t,n){const r=this,i=r.events[r.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,o=0;return a;function a(d){const m=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(m==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:qs(d)){if(r.containerState.type||(r.containerState.type=m,e.enter(m,{_container:!0})),m==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(ai,n,c)(d):c(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(d)}return n(d)}function u(d){return qs(d)&&++o<10?(e.consume(d),u):(!r.interrupt||o<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),c(d)):n(d)}function c(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(Vn,r.interrupt?n:p,e.attempt(tN,h,f))}function p(d){return r.containerState.initialBlankLine=!0,s++,h(d)}function f(d){return W(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),h):n(d)}function h(d){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}l(rN,"tokenizeListStart");function iN(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Vn,i,s);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Y(e,t,"listItemIndent",r.containerState.size+1)(a)}l(i,"onBlank");function s(a){return r.containerState.furtherBlankLines||!W(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(nN,t,o)(a))}l(s,"notBlank");function o(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,Y(e,e.attempt(Ne,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}l(o,"notInCurrentItem")}l(iN,"tokenizeListContinuation");function sN(e,t,n){const r=this;return Y(e,i,"listItemIndent",r.containerState.size+1);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(s):n(s)}}l(sN,"tokenizeIndent$1");function oN(e){e.exit(this.containerState.type)}l(oN,"tokenizeListEnd");function aN(e,t,n){const r=this;return Y(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const o=r.events[r.events.length-1];return!W(s)&&o&&o[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}l(aN,"tokenizeListItemPrefixWhitespace");const If={name:"setextUnderline",tokenize:uN,resolveTo:lN};function lN(e,t){let n=e.length,r,i,s;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),!s&&e[n][1].type==="definition"&&(s=n);const o={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",s?(e.splice(i,0,["enter",o,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[s][1].end)):e[r][1]=o,e.push(["exit",o,t]),e}l(lN,"resolveToSetextUnderline");function uN(e,t,n){const r=this;let i;return s;function s(c){let p=r.events.length,f;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){f=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=c,o(c)):n(c)}function o(c){return e.enter("setextHeadingLineSequence"),a(c)}function a(c){return c===i?(e.consume(c),a):(e.exit("setextHeadingLineSequence"),W(c)?Y(e,u,"lineSuffix")(c):u(c))}function u(c){return c===null||B(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}l(uN,"tokenizeSetextUnderline");const cN={tokenize:bN,partial:!0};function fN(){return{document:{91:{tokenize:mN,continuation:{tokenize:gN},exit:yN}},text:{91:{tokenize:dN},93:{add:"after",tokenize:pN,resolveTo:hN}}}}l(fN,"gfmFootnote");function pN(e,t,n){const r=this;let i=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;i--;){const u=r.events[i][1];if(u.type==="labelImage"){o=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return a;function a(u){if(!o||!o._balanced)return n(u);const c=We(r.sliceSerialize({start:o.end,end:r.now()}));return c.codePointAt(0)!==94||!s.includes(c.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}l(pN,"tokenizePotentialGfmFootnoteCall");function hN(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}l(hN,"resolveToPotentialGfmFootnoteCall");function dN(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,o;return a;function a(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?n(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(f){if(s>999||f===93&&!o||f===null||f===91||Z(f))return n(f);if(f===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(We(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(f)}return Z(f)||(o=!0),s++,e.consume(f),f===92?p:c}function p(f){return f===91||f===92||f===93?(e.consume(f),s++,c):c(f)}}l(dN,"tokenizeGfmFootnoteCall");function mN(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,o=0,a;return u;function u(m){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(m){return m===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):n(m)}function p(m){if(o>999||m===93&&!a||m===null||m===91||Z(m))return n(m);if(m===93){e.exit("chunkString");const g=e.exit("gfmFootnoteDefinitionLabelString");return s=We(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(m),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return Z(m)||(a=!0),o++,e.consume(m),m===92?f:p}function f(m){return m===91||m===92||m===93?(e.consume(m),o++,p):p(m)}function h(m){return m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),i.includes(s)||i.push(s),Y(e,d,"gfmFootnoteDefinitionWhitespace")):n(m)}function d(m){return t(m)}}l(mN,"tokenizeDefinitionStart");function gN(e,t,n){return e.check(Vn,t,e.attempt(cN,t,n))}l(gN,"tokenizeDefinitionContinuation");function yN(e){e.exit("gfmFootnoteDefinition")}l(yN,"gfmFootnoteDefinitionEnd");function bN(e,t,n){const r=this;return Y(e,i,"gfmFootnoteDefinitionIndent",5);function i(s){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(s):n(s)}}l(bN,"tokenizeIndent");function wN(e){let n=(e||{}).singleTilde;const r={tokenize:s,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(o,a){let u=-1;for(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let c=u;for(;c--;)if(o[c][0]==="exit"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._open&&o[u][1].end.offset-o[u][1].start.offset===o[c][1].end.offset-o[c][1].start.offset){o[u][1].type="strikethroughSequence",o[c][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},o[c][1].start),end:Object.assign({},o[u][1].end)},f={type:"strikethroughText",start:Object.assign({},o[c][1].end),end:Object.assign({},o[u][1].start)},h=[["enter",p,a],["enter",o[c][1],a],["exit",o[c][1],a],["enter",f,a]],d=a.parser.constructs.insideSpan.null;d&&Fe(h,h.length,0,oi(d,o.slice(c+1,u),a)),Fe(h,h.length,0,[["exit",f,a],["enter",o[u][1],a],["exit",o[u][1],a],["exit",p,a]]),Fe(o,c-1,u-c+3,h),u=c+h.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}l(i,"resolveAllStrikethrough");function s(o,a,u){const c=this.previous,p=this.events;let f=0;return h;function h(m){return c===126&&p[p.length-1][1].type!=="characterEscape"?u(m):(o.enter("strikethroughSequenceTemporary"),d(m))}function d(m){const g=si(c);if(m===126)return f>1?u(m):(o.consume(m),f++,d);if(f<2&&!n)return u(m);const y=o.exit("strikethroughSequenceTemporary"),w=si(m);return y._open=!w||w===2&&!!g,y._close=!g||g===2&&!!w,a(m)}}l(s,"tokenizeStrikethrough")}l(wN,"gfmStrikethrough");class kN{static{l(this,"EditMap")}constructor(){this.map=[]}add(t,n,r){vN(this,t,n,r)}consume(t){if(this.map.sort(function(s,o){return s[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function vN(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}l(vN,"addImpl");function SN(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}l(SN,"gfmTableAlign");function xN(){return{flow:{null:{tokenize:AN,resolveAll:CN}}}}l(xN,"gfmTable");function AN(e,t,n){const r=this;let i=0,s=0,o;return a;function a(x){let R=r.events.length-1;for(;R>-1;){const Q=r.events[R][1].type;if(Q==="lineEnding"||Q==="linePrefix")R--;else break}const D=R>-1?r.events[R][1].type:null,M=D==="tableHead"||D==="tableRow"?A:u;return M===A&&r.parser.lazy[r.now().line]?n(x):M(x)}function u(x){return e.enter("tableHead"),e.enter("tableRow"),c(x)}function c(x){return x===124||(o=!0,s+=1),p(x)}function p(x){return x===null?n(x):B(x)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),d):n(x):W(x)?Y(e,p,"whitespace")(x):(s+=1,o&&(o=!1,i+=1),x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),f(x)))}function f(x){return x===null||x===124||Z(x)?(e.exit("data"),p(x)):(e.consume(x),x===92?h:f)}function h(x){return x===92||x===124?(e.consume(x),f):f(x)}function d(x){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(x):(e.enter("tableDelimiterRow"),o=!1,W(x)?Y(e,m,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):m(x))}function m(x){return x===45||x===58?y(x):x===124?(o=!0,e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),g):N(x)}function g(x){return W(x)?Y(e,y,"whitespace")(x):y(x)}function y(x){return x===58?(s+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),w):x===45?(s+=1,w(x)):x===null||B(x)?T(x):N(x)}function w(x){return x===45?(e.enter("tableDelimiterFiller"),b(x)):N(x)}function b(x){return x===45?(e.consume(x),b):x===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),S):(e.exit("tableDelimiterFiller"),S(x))}function S(x){return W(x)?Y(e,T,"whitespace")(x):T(x)}function T(x){return x===124?m(x):x===null||B(x)?!o||i!==s?N(x):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(x)):N(x)}function N(x){return n(x)}function A(x){return e.enter("tableRow"),E(x)}function E(x){return x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),E):x===null||B(x)?(e.exit("tableRow"),t(x)):W(x)?Y(e,E,"whitespace")(x):(e.enter("data"),$(x))}function $(x){return x===null||x===124||Z(x)?(e.exit("data"),E(x)):(e.consume(x),x===92?q:$)}function q(x){return x===92||x===124?(e.consume(x),$):$(x)}}l(AN,"tokenizeTable");function CN(e,t){let n=-1,r=!0,i=0,s=[0,0,0,0],o=[0,0,0,0],a=!1,u=0,c,p,f;const h=new kN;for(;++n<e.length;){const d=e[n],m=d[1];d[0]==="enter"?m.type==="tableHead"?(a=!1,u!==0&&(Df(h,t,u,c,p),p=void 0,u=0),c={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(n,0,[["enter",c,t]])):m.type==="tableRow"||m.type==="tableDelimiterRow"?(r=!0,f=void 0,s=[0,0,0,0],o=[0,n+1,0,0],a&&(a=!1,p={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},h.add(n,0,[["enter",p,t]])),i=m.type==="tableDelimiterRow"?2:p?3:1):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(s[1]!==0&&(o[0]=o[1],f=li(h,t,s,i,void 0,f),s=[0,0,0,0]),o[2]=n)):m.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(o[0]=o[1],f=li(h,t,s,i,void 0,f)),s=o,o=[s[1],n,0,0])):m.type==="tableHead"?(a=!0,u=n):m.type==="tableRow"||m.type==="tableDelimiterRow"?(u=n,s[1]!==0?(o[0]=o[1],f=li(h,t,s,i,n,f)):o[1]!==0&&(f=li(h,t,o,i,n,f)),i=0):i&&(m.type==="data"||m.type==="tableDelimiterMarker"||m.type==="tableDelimiterFiller")&&(o[3]=n)}for(u!==0&&Df(h,t,u,c,p),h.consume(t.events),n=-1;++n<t.events.length;){const d=t.events[n];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=SN(t.events,n))}return e}l(CN,"resolveTable");function li(e,t,n,r,i,s){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",a="tableContent";n[0]!==0&&(s.end=Object.assign({},hn(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const u=hn(t.events,n[1]);if(s={type:o,start:Object.assign({},u),end:Object.assign({},u)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const c=hn(t.events,n[2]),p=hn(t.events,n[3]),f={type:a,start:Object.assign({},c),end:Object.assign({},p)};if(e.add(n[2],0,[["enter",f,t]]),r!==2){const h=t.events[n[2]],d=t.events[n[3]];if(h[1].end=Object.assign({},d[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){const m=n[2]+1,g=n[3]-n[2]-1;e.add(m,g,[])}}e.add(n[3]+1,0,[["exit",f,t]])}return i!==void 0&&(s.end=Object.assign({},hn(t.events,i)),e.add(i,0,[["exit",s,t]]),s=void 0),s}l(li,"flushCell");function Df(e,t,n,r,i){const s=[],o=hn(t.events,n);i&&(i.end=Object.assign({},o),s.push(["exit",i,t])),r.end=Object.assign({},o),s.push(["exit",r,t]),e.add(n+1,0,s)}l(Df,"flushTableEnd");function hn(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}l(hn,"getPoint");const TN={tokenize:EN};function NN(){return{text:{91:TN}}}l(NN,"gfmTaskListItem");function EN(e,t,n){const r=this;return i;function i(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),s)}function s(u){return Z(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),o):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),o):n(u)}function o(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(u)}function a(u){return B(u)?t(u):W(u)?e.check({tokenize:_N},t,n)(u):n(u)}}l(EN,"tokenizeTasklistCheck");function _N(e,t,n){return Y(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}l(_N,"spaceThenNonSpace");function ON(e){return pf([BC(),fN(),wN(e),xN(),NN()])}l(ON,"gfm");const LN={};function IN(e){const t=this,n=e||LN,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(ON(n)),s.push(RC()),o.push(PC(n))}l(IN,"remarkGfm");const vo={classNameMaps:{block:"admonition",title:"admonition-title"},titleFilter:["[!NOTE]","[!IMPORTANT]","[!WARNING]","[!TIP]","[!CAUTION]"],titleTextMap:e=>({displayTitle:e.substring(2,e.length-1),checkedTitle:e.substring(2,e.length-1)}),dataMaps:{block:e=>e,title:e=>e},titleKeepTrailingWhitespaces:!1,legacyTitle:!1},DN={...vo,titleFilter:["Note","Warning"],titleTextMap:e=>({displayTitle:e,checkedTitle:e}),legacyTitle:!1,titleLift:!1,titleLiftWhitespaces:()=>"",titleUnwrap:!1};function Kn(e){return t=>{const n=typeof e=="function"?e(t):e;return typeof n=="object"?n.join(" "):n}}l(Kn,"classNameMap");function So(e){return t=>typeof e=="function"?e(t):e.includes(t)}l(So,"nameFilter");const RN=l(e=>t=>{if(t.type!="blockquote")return;const n=t;if(n.children.length<=0||n.children[0].type!="paragraph")return;const r=n.children[0];if(r.children.length<=0||r.children[0].type!="strong")return;const i=r.children[0];if(i.children.length!=1||i.children[0].type!="text")return;const s=i.children[0],o=s.value;if(!So(e.titleFilter)(o))return;const{displayTitle:a,checkedTitle:u}=e.titleTextMap(o);if(s.value=a,n.data=e.dataMaps.block({...n.data,hProperties:{className:Kn(e.classNameMaps.block)(u)}}),i.data=e.dataMaps.title({...i.data,hProperties:{className:Kn(e.classNameMaps.title)(u)}}),e.titleLift){const c=r.children.splice(0,1)[0];let p;e.titleUnwrap?p={type:"paragraph",children:[{type:"text",value:a}],data:e.dataMaps.title({hProperties:{className:Kn(e.classNameMaps.title)(u)}})}:p={type:"paragraph",children:[c]},n.children.unshift(p);const f=r;if(f.children.length>0&&f.children[0].type=="text"){const h=f.children[0],m=/^[ \t\n\v\f\r]*/.exec(h.value),g=m?m[0]:"";h.value=e.titleLiftWhitespaces(g)+h.value.slice(g.length)}}},"handleNode$1"),PN=l(function(...e){const t=e.reduce((r,i)=>({...r,...i}),{}),n=t?.legacyTitle??vo.legacyTitle;return r=>{de(r,n?RN({...DN,...t}):qN({...vo,...t}))}},"plugin"),qN=l(e=>t=>{if(t.type!="blockquote")return;const n=t;if(n.children[0]?.type!="paragraph")return;const r=n.children[0];if(r.children[0]?.type!="text")return;const i=r.children[0];let s;const o=i.value.indexOf(`
296
+ `);if(o<0){if(r.children.length>1)if(r.children.at(1)?.type=="break")r.children.splice(1,1);else return;if(s=i.value,!So(e.titleFilter)(s))return;r.children.shift()}else{const f=i.value.substring(o+1);s=i.value.substring(0,o);const h=/[ \t\v\f\r]+$/.exec(s);if(h&&!e.titleKeepTrailingWhitespaces&&(s=s.substring(0,s.length-h[0].length)),!So(e.titleFilter)(s))return;i.value=f}const{displayTitle:a,checkedTitle:u}=e.titleTextMap(s),p={type:"paragraph",children:[{type:"text",value:a}],data:e.dataMaps.title({hProperties:{className:Kn(e.classNameMaps.title)(u)}})};n.children.unshift(p),n.data=e.dataMaps.block({...n.data,hProperties:{className:Kn(e.classNameMaps.block)(u)},hName:"div"})},"handleNode");function FN(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:s},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:a,mathText:o,mathTextData:a}};function e(u){const c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},u)}function t(){this.buffer()}function n(){const u=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=u}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(u){const c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(u),p.value=c;const f=p.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function s(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function o(u){const c=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(u),p.value=c,p.data.hChildren.push({type:"text",value:c})}function a(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}l(FN,"mathFromMarkdown");function MN(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
297
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(s,o,a,u){const c=s.value||"",p=a.createTracker(u),f="$".repeat(Math.max(Gc(c,"$")+1,2)),h=a.enter("mathFlow");let d=p.move(f);if(s.meta){const m=a.enter("mathFlowMeta");d+=p.move(a.safe(s.meta,{after:`
298
+ `,before:d,encode:["$"],...p.current()})),m()}return d+=p.move(`
299
+ `),c&&(d+=p.move(c+`
300
+ `)),d+=p.move(f),h(),d}l(n,"math");function r(s,o,a){let u=s.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(u);)c++;const p="$".repeat(c);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let f=-1;for(;++f<a.unsafe.length;){const h=a.unsafe[f];if(!h.atBreak)continue;const d=a.compilePattern(h);let m;for(;m=d.exec(u);){let g=m.index;u.codePointAt(g)===10&&u.codePointAt(g-1)===13&&g--,u=u.slice(0,g)+" "+u.slice(m.index+1)}}return p+u+p}l(r,"inlineMath");function i(){return"$"}l(i,"inlineMathPeek")}l(MN,"mathToMarkdown");const $N={tokenize:BN,concrete:!0},Rf={tokenize:jN,partial:!0};function BN(e,t,n){const r=this,i=r.events[r.events.length-1],s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let o=0;return a;function a(b){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(b)}function u(b){return b===36?(e.consume(b),o++,u):o<2?n(b):(e.exit("mathFlowFenceSequence"),Y(e,c,"whitespace")(b))}function c(b){return b===null||B(b)?f(b):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===null||B(b)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(b)):b===36?n(b):(e.consume(b),p)}function f(b){return e.exit("mathFlowFence"),r.interrupt?t(b):e.attempt(Rf,h,y)(b)}function h(b){return e.attempt({tokenize:w,partial:!0},y,d)(b)}function d(b){return(s?Y(e,m,"linePrefix",s+1):m)(b)}function m(b){return b===null?y(b):B(b)?e.attempt(Rf,h,y)(b):(e.enter("mathFlowValue"),g(b))}function g(b){return b===null||B(b)?(e.exit("mathFlowValue"),m(b)):(e.consume(b),g)}function y(b){return e.exit("mathFlow"),t(b)}function w(b,S,T){let N=0;return Y(b,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function A(q){return b.enter("mathFlowFence"),b.enter("mathFlowFenceSequence"),E(q)}function E(q){return q===36?(N++,b.consume(q),E):N<o?T(q):(b.exit("mathFlowFenceSequence"),Y(b,$,"whitespace")(q))}function $(q){return q===null||B(q)?(b.exit("mathFlowFence"),S(q)):T(q)}}}l(BN,"tokenizeMathFenced");function jN(e,t,n){const r=this;return i;function i(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}l(jN,"tokenizeNonLazyContinuation");function zN(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:UN,previous:HN};function r(i,s,o){let a=0,u,c;return p;function p(g){return i.enter("mathText"),i.enter("mathTextSequence"),f(g)}function f(g){return g===36?(i.consume(g),a++,f):a<2&&!n?o(g):(i.exit("mathTextSequence"),h(g))}function h(g){return g===null?o(g):g===36?(c=i.enter("mathTextSequence"),u=0,m(g)):g===32?(i.enter("space"),i.consume(g),i.exit("space"),h):B(g)?(i.enter("lineEnding"),i.consume(g),i.exit("lineEnding"),h):(i.enter("mathTextData"),d(g))}function d(g){return g===null||g===32||g===36||B(g)?(i.exit("mathTextData"),h(g)):(i.consume(g),d)}function m(g){return g===36?(i.consume(g),u++,m):u===a?(i.exit("mathTextSequence"),i.exit("mathText"),s(g)):(c.type="mathTextData",d(g))}}l(r,"tokenizeMathText")}l(zN,"mathText");function UN(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==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",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="mathTextData",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}l(UN,"resolveMathText");function HN(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}l(HN,"previous");function VN(e){return{flow:{36:$N},text:{36:zN(e)}}}l(VN,"math");const GN={};function WN(e){const t=this,n=e||GN,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(VN(n)),s.push(FN()),o.push(MN(n))}l(WN,"remarkMath");const KN={tokenize:YN};function YN(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Y(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),s(a)}function s(a){const u=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=u),n=u,o(a)}function o(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return B(a)?(e.consume(a),e.exit("chunkText"),s):(e.consume(a),o)}}l(YN,"initializeContent");const JN={tokenize:QN},Pf={tokenize:XN};function QN(e){const t=this,n=[];let r=0,i,s,o;return a;function a(S){if(r<n.length){const T=n[r];return t.containerState=T[1],e.attempt(T[0].continuation,u,c)(S)}return c(S)}function u(S){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&b();const T=t.events.length;let N=T,A;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){A=t.events[N][1].end;break}w(r);let E=T;for(;E<t.events.length;)t.events[E][1].end=Object.assign({},A),E++;return Fe(t.events,N+1,0,t.events.slice(T)),t.events.length=E,c(S)}return a(S)}function c(S){if(r===n.length){if(!i)return h(S);if(i.currentConstruct&&i.currentConstruct.concrete)return m(S);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Pf,p,f)(S)}function p(S){return i&&b(),w(r),h(S)}function f(S){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(S)}function h(S){return t.containerState={},e.attempt(Pf,d,m)(S)}function d(S){return r++,n.push([t.currentConstruct,t.containerState]),h(S)}function m(S){if(S===null){i&&b(),w(0),e.consume(S);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:s,_tokenizer:i}),g(S)}function g(S){if(S===null){y(e.exit("chunkFlow"),!0),w(0),e.consume(S);return}return B(S)?(e.consume(S),y(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(S),g)}function y(S,T){const N=t.sliceStream(S);if(T&&N.push(null),S.previous=s,s&&(s.next=S),s=S,i.defineSkip(S.start),i.write(N),t.parser.lazy[S.start.line]){let A=i.events.length;for(;A--;)if(i.events[A][1].start.offset<o&&(!i.events[A][1].end||i.events[A][1].end.offset>o))return;const E=t.events.length;let $=E,q,x;for(;$--;)if(t.events[$][0]==="exit"&&t.events[$][1].type==="chunkFlow"){if(q){x=t.events[$][1].end;break}q=!0}for(w(r),A=E;A<t.events.length;)t.events[A][1].end=Object.assign({},x),A++;Fe(t.events,$+1,0,t.events.slice(E)),t.events.length=A}}function w(S){let T=n.length;for(;T-- >S;){const N=n[T];t.containerState=N[1],N[0].exit.call(t,e)}n.length=S}function b(){i.write([null]),s=void 0,i=void 0,t.containerState._closeFlow=void 0}}l(QN,"initializeDocument");function XN(e,t,n){return Y(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}l(XN,"tokenizeContainer");const ZN={tokenize:eE};function eE(e){const t=this,n=e.attempt(Vn,r,e.attempt(this.parser.constructs.flowInitial,i,Y(e,e.attempt(this.parser.constructs.flow,i,e.attempt(gT,i)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}l(eE,"initializeFlow");const tE={resolveAll:Ff()},nE=qf("string"),rE=qf("text");function qf(e){return{tokenize:t,resolveAll:Ff(e==="text"?iE:void 0)};function t(n){const r=this,i=this.parser.constructs[e],s=n.attempt(i,o,a);return o;function o(p){return c(p)?s(p):a(p)}function a(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),u}function u(p){return c(p)?(n.exit("data"),s(p)):(n.consume(p),u)}function c(p){if(p===null)return!0;const f=i[p];let h=-1;if(f)for(;++h<f.length;){const d=f[h];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}l(qf,"initializeFactory");function Ff(e){return t;function t(n,r){let i=-1,s;for(;++i<=n.length;)s===void 0?n[i]&&n[i][1].type==="data"&&(s=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==s+2&&(n[s][1].end=n[i-1][1].end,n.splice(s+2,i-s-2),i=s+2),s=void 0);return e?e(n,r):n}}l(Ff,"createResolver");function iE(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 s=i.length,o=-1,a=0,u;for(;s--;){const c=i[s];if(typeof c=="string"){for(o=c.length;c.charCodeAt(o-1)===32;)a++,o--;if(o)break;o=-1}else if(c===-2)u=!0,a++;else if(c!==-1){s++;break}}if(a){const c={type:n===e.length||u||a<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-a,offset:r.end.offset-a,_index:r.start._index+s,_bufferIndex:s?o:r.start._bufferIndex+o},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}l(iE,"resolveAllLineSuffixes");function sE(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},s=[];let o=[],a=[];const u={consume:b,enter:S,exit:T,attempt:E(N),check:E(A),interrupt:E(A,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:h,now:m,defineSkip:g,write:f};let p=t.tokenize.call(c,u);return t.resolveAll&&s.push(t),c;function f(R){return o=Me(o,R),y(),o[o.length-1]!==null?[]:($(t,0),c.events=oi(s,c.events,c),c.events)}l(f,"write");function h(R,D){return aE(d(R),D)}l(h,"sliceSerialize");function d(R){return oE(o,R)}l(d,"sliceStream");function m(){const{line:R,column:D,offset:M,_index:Q,_bufferIndex:U}=r;return{line:R,column:D,offset:M,_index:Q,_bufferIndex:U}}l(m,"now");function g(R){i[R.line]=R.column,x()}l(g,"defineSkip");function y(){let R;for(;r._index<o.length;){const D=o[r._index];if(typeof D=="string")for(R=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===R&&r._bufferIndex<D.length;)w(D.charCodeAt(r._bufferIndex));else w(D)}}l(y,"main");function w(R){p=p(R)}l(w,"go");function b(R){B(R)?(r.line++,r.column=1,r.offset+=R===-3?2:1,x()):R!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=R}l(b,"consume");function S(R,D){const M=D||{};return M.type=R,M.start=m(),c.events.push(["enter",M,c]),a.push(M),M}l(S,"enter");function T(R){const D=a.pop();return D.end=m(),c.events.push(["exit",D,c]),D}l(T,"exit");function N(R,D){$(R,D.from)}l(N,"onsuccessfulconstruct");function A(R,D){D.restore()}l(A,"onsuccessfulcheck");function E(R,D){return M;function M(Q,U,oe){let ue,se,Be,C;return Array.isArray(Q)?O(Q):"tokenize"in Q?O([Q]):k(Q);function k(j){return ne;function ne(ve){const tt=ve!==null&&j[ve],nt=ve!==null&&j.null,Rt=[...Array.isArray(tt)?tt:tt?[tt]:[],...Array.isArray(nt)?nt:nt?[nt]:[]];return O(Rt)(ve)}}function O(j){return ue=j,se=0,j.length===0?oe:v(j[se])}function v(j){return ne;function ne(ve){return C=q(),Be=j,j.partial||(c.currentConstruct=j),j.name&&c.parser.constructs.disable.null.includes(j.name)?K():j.tokenize.call(D?Object.assign(Object.create(c),D):c,u,F,K)(ve)}}function F(j){return R(Be,C),U}function K(j){return C.restore(),++se<ue.length?v(ue[se]):oe}}}l(E,"constructFactory");function $(R,D){R.resolveAll&&!s.includes(R)&&s.push(R),R.resolve&&Fe(c.events,D,c.events.length-D,R.resolve(c.events.slice(D),c)),R.resolveTo&&(c.events=R.resolveTo(c.events,c))}l($,"addResult");function q(){const R=m(),D=c.previous,M=c.currentConstruct,Q=c.events.length,U=Array.from(a);return{restore:oe,from:Q};function oe(){r=R,c.previous=D,c.currentConstruct=M,c.events.length=Q,a=U,x()}}l(q,"store");function x(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}l(x,"accountForPotentialSkip")}l(sE,"createTokenizer");function oE(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,s=t.end._bufferIndex;let o;if(n===i)o=[e[n].slice(r,s)];else{if(o=e.slice(n,i),r>-1){const a=o[0];typeof a=="string"?o[0]=a.slice(r):o.shift()}s>0&&o.push(e[i].slice(0,s))}return o}l(oE,"sliceChunks");function aE(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const s=e[n];let o;if(typeof s=="string")o=s;else switch(s){case-5:{o="\r";break}case-4:{o=`
301
+ `;break}case-3:{o=`\r
302
+ `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&i)continue;o=" ";break}default:o=String.fromCharCode(s)}i=s===-2,r.push(o)}return r.join("")}l(aE,"serializeChunks");const lE={42:Ne,43:Ne,45:Ne,48:Ne,49:Ne,50:Ne,51:Ne,52:Ne,53:Ne,54:Ne,55:Ne,56:Ne,57:Ne,62:Sf},uE={91:vT},cE={[-2]:bo,[-1]:bo,32:bo},fE={35:NT,42:ai,45:[If,ai],60:LT,61:If,95:ai,96:Tf,126:Tf},pE={38:Af,92:xf},hE={[-5]:ko,[-4]:ko,[-3]:ko,33:YT,38:Af,42:yo,60:[QC,MT],91:QT,92:[CT,xf],93:wo,95:yo,96:cT},dE={null:[yo,tE]},mE={null:[42,95]},gE={null:[]};var yE=Object.freeze({__proto__:null,attentionMarkers:mE,contentInitial:uE,disable:gE,document:lE,flow:fE,flowInitial:cE,insideSpan:dE,string:pE,text:hE});function bE(e){const n=pf([yE,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:i(KN),document:i(JN),flow:i(ZN),string:i(nE),text:i(rE)};return r;function i(s){return o;function o(a){return sE(r,s,a)}}}l(bE,"parse");function wE(e){for(;!Nf(e););return e}l(wE,"postprocess");const Mf=/[\0\t\n\r]/g;function kE(){let e=1,t="",n=!0,r;return i;function i(s,o,a){const u=[];let c,p,f,h,d;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(o||void 0).decode(s)),f=0,t="",n&&(s.charCodeAt(0)===65279&&f++,n=void 0);f<s.length;){if(Mf.lastIndex=f,c=Mf.exec(s),h=c&&c.index!==void 0?c.index:s.length,d=s.charCodeAt(h),!c){t=s.slice(f);break}if(d===10&&f===h&&r)u.push(-3),r=void 0;else switch(r&&(u.push(-5),r=void 0),f<h&&(u.push(s.slice(f,h)),e+=h-f),d){case 0:{u.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,u.push(-2);e++<p;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:r=!0,e=1}f=h+1}return a&&(r&&u.push(-5),t&&u.push(t),u.push(null)),u}}l(kE,"preprocess");const $f={}.hasOwnProperty;function vE(e,t,n){return typeof t!="string"&&(n=t,t=void 0),SE(n)(wE(bE(n).document().write(kE()(e,t,!0))))}l(vE,"fromMarkdown");function SE(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(Eo),autolinkProtocol:q,autolinkEmail:q,atxHeading:s(Co),blockQuote:s(nt),characterEscape:q,characterReference:q,codeFenced:s(Rt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(Rt,o),codeText:s(je,o),codeTextData:q,data:q,codeFlowValue:q,definition:s(Kf),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(Yf),hardBreakEscape:s(To),hardBreakTrailing:s(To),htmlFlow:s(No,o),htmlFlowData:q,htmlText:s(No,o),htmlTextData:q,image:s(Jf),label:o,link:s(Eo),listItem:s(Qf),listItemValue:h,listOrdered:s(_o,f),listUnordered:s(_o),paragraph:s(Xf),reference:v,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(Co),strong:s(Zf),thematicBreak:s(tp)},exit:{atxHeading:u(),atxHeadingSequence:N,autolink:u(),autolinkEmail:tt,autolinkProtocol:ve,blockQuote:u(),characterEscapeValue:x,characterReferenceMarkerHexadecimal:K,characterReferenceMarkerNumeric:K,characterReferenceValue:j,characterReference:ne,codeFenced:u(y),codeFencedFence:g,codeFencedFenceInfo:d,codeFencedFenceMeta:m,codeFlowValue:x,codeIndented:u(w),codeText:u(U),codeTextData:x,data:x,definition:u(),definitionDestinationString:T,definitionLabelString:b,definitionTitleString:S,emphasis:u(),hardBreakEscape:u(D),hardBreakTrailing:u(D),htmlFlow:u(M),htmlFlowData:x,htmlText:u(Q),htmlTextData:x,image:u(ue),label:Be,labelText:se,lineEnding:R,link:u(oe),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:F,resourceDestinationString:C,resourceTitleString:k,resource:O,setextHeading:u($),setextHeadingLineSequence:E,setextHeadingText:A,strong:u(),thematicBreak:u()}};Bf(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(_){let P={type:"root",children:[]};const z={stack:[P],tokenStack:[],config:t,enter:a,exit:c,buffer:o,resume:p,data:n},J=[];let X=-1;for(;++X<_.length;)if(_[X][1].type==="listOrdered"||_[X][1].type==="listUnordered")if(_[X][0]==="enter")J.push(X);else{const ze=J.pop();X=i(_,ze,X)}for(X=-1;++X<_.length;){const ze=t[_[X][0]];$f.call(ze,_[X][1].type)&&ze[_[X][1].type].call(Object.assign({sliceSerialize:_[X][2].sliceSerialize},z),_[X][1])}if(z.tokenStack.length>0){const ze=z.tokenStack[z.tokenStack.length-1];(ze[1]||jf).call(z,void 0,ze[0])}for(P.position={start:yt(_.length>0?_[0][1].start:{line:1,column:1,offset:0}),end:yt(_.length>0?_[_.length-2][1].end:{line:1,column:1,offset:0})},X=-1;++X<t.transforms.length;)P=t.transforms[X](P)||P;return P}function i(_,P,z){let J=P-1,X=-1,ze=!1,bt,rt,gn,yn;for(;++J<=z;){const Ee=_[J];switch(Ee[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ee[0]==="enter"?X++:X--,yn=void 0;break}case"lineEndingBlank":{Ee[0]==="enter"&&(bt&&!yn&&!X&&!gn&&(gn=J),yn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:yn=void 0}if(!X&&Ee[0]==="enter"&&Ee[1].type==="listItemPrefix"||X===-1&&Ee[0]==="exit"&&(Ee[1].type==="listUnordered"||Ee[1].type==="listOrdered")){if(bt){let Pt=J;for(rt=void 0;Pt--;){const it=_[Pt];if(it[1].type==="lineEnding"||it[1].type==="lineEndingBlank"){if(it[0]==="exit")continue;rt&&(_[rt][1].type="lineEndingBlank",ze=!0),it[1].type="lineEnding",rt=Pt}else if(!(it[1].type==="linePrefix"||it[1].type==="blockQuotePrefix"||it[1].type==="blockQuotePrefixWhitespace"||it[1].type==="blockQuoteMarker"||it[1].type==="listItemIndent"))break}gn&&(!rt||gn<rt)&&(bt._spread=!0),bt.end=Object.assign({},rt?_[rt][1].start:Ee[1].end),_.splice(rt||J,0,["exit",bt,Ee[2]]),J++,z++}if(Ee[1].type==="listItemPrefix"){const Pt={type:"listItem",_spread:!1,start:Object.assign({},Ee[1].start),end:void 0};bt=Pt,_.splice(J,0,["enter",Pt,Ee[2]]),J++,z++,gn=void 0,yn=!0}}}return _[P][1]._spread=ze,z}function s(_,P){return z;function z(J){a.call(this,_(J),J),P&&P.call(this,J)}}function o(){this.stack.push({type:"fragment",children:[]})}function a(_,P,z){this.stack[this.stack.length-1].children.push(_),this.stack.push(_),this.tokenStack.push([P,z]),_.position={start:yt(P.start),end:void 0}}function u(_){return P;function P(z){_&&_.call(this,z),c.call(this,z)}}function c(_,P){const z=this.stack.pop(),J=this.tokenStack.pop();if(J)J[0].type!==_.type&&(P?P.call(this,_,J[0]):(J[1]||jf).call(this,_,J[0]));else throw new Error("Cannot close `"+_.type+"` ("+Un({start:_.start,end:_.end})+"): it\u2019s not open");z.position.end=yt(_.end)}function p(){return co(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function h(_){if(this.data.expectingFirstListItemValue){const P=this.stack[this.stack.length-2];P.start=Number.parseInt(this.sliceSerialize(_),10),this.data.expectingFirstListItemValue=void 0}}function d(){const _=this.resume(),P=this.stack[this.stack.length-1];P.lang=_}function m(){const _=this.resume(),P=this.stack[this.stack.length-1];P.meta=_}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){const _=this.resume(),P=this.stack[this.stack.length-1];P.value=_.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const _=this.resume(),P=this.stack[this.stack.length-1];P.value=_.replace(/(\r?\n|\r)$/g,"")}function b(_){const P=this.resume(),z=this.stack[this.stack.length-1];z.label=P,z.identifier=We(this.sliceSerialize(_)).toLowerCase()}function S(){const _=this.resume(),P=this.stack[this.stack.length-1];P.title=_}function T(){const _=this.resume(),P=this.stack[this.stack.length-1];P.url=_}function N(_){const P=this.stack[this.stack.length-1];if(!P.depth){const z=this.sliceSerialize(_).length;P.depth=z}}function A(){this.data.setextHeadingSlurpLineEnding=!0}function E(_){const P=this.stack[this.stack.length-1];P.depth=this.sliceSerialize(_).codePointAt(0)===61?1:2}function $(){this.data.setextHeadingSlurpLineEnding=void 0}function q(_){const z=this.stack[this.stack.length-1].children;let J=z[z.length-1];(!J||J.type!=="text")&&(J=ep(),J.position={start:yt(_.start),end:void 0},z.push(J)),this.stack.push(J)}function x(_){const P=this.stack.pop();P.value+=this.sliceSerialize(_),P.position.end=yt(_.end)}function R(_){const P=this.stack[this.stack.length-1];if(this.data.atHardBreak){const z=P.children[P.children.length-1];z.position.end=yt(_.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(P.type)&&(q.call(this,_),x.call(this,_))}function D(){this.data.atHardBreak=!0}function M(){const _=this.resume(),P=this.stack[this.stack.length-1];P.value=_}function Q(){const _=this.resume(),P=this.stack[this.stack.length-1];P.value=_}function U(){const _=this.resume(),P=this.stack[this.stack.length-1];P.value=_}function oe(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const P=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=P,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function ue(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const P=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=P,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function se(_){const P=this.sliceSerialize(_),z=this.stack[this.stack.length-2];z.label=vC(P),z.identifier=We(P).toLowerCase()}function Be(){const _=this.stack[this.stack.length-1],P=this.resume(),z=this.stack[this.stack.length-1];if(this.data.inReference=!0,z.type==="link"){const J=_.children;z.children=J}else z.alt=P}function C(){const _=this.resume(),P=this.stack[this.stack.length-1];P.url=_}function k(){const _=this.resume(),P=this.stack[this.stack.length-1];P.title=_}function O(){this.data.inReference=void 0}function v(){this.data.referenceType="collapsed"}function F(_){const P=this.resume(),z=this.stack[this.stack.length-1];z.label=P,z.identifier=We(this.sliceSerialize(_)).toLowerCase(),this.data.referenceType="full"}function K(_){this.data.characterReferenceType=_.type}function j(_){const P=this.sliceSerialize(_),z=this.data.characterReferenceType;let J;z?(J=lf(P,z==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):J=po(P);const X=this.stack[this.stack.length-1];X.value+=J}function ne(_){const P=this.stack.pop();P.position.end=yt(_.end)}function ve(_){x.call(this,_);const P=this.stack[this.stack.length-1];P.url=this.sliceSerialize(_)}function tt(_){x.call(this,_);const P=this.stack[this.stack.length-1];P.url="mailto:"+this.sliceSerialize(_)}function nt(){return{type:"blockquote",children:[]}}function Rt(){return{type:"code",lang:null,meta:null,value:""}}function je(){return{type:"inlineCode",value:""}}function Kf(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Yf(){return{type:"emphasis",children:[]}}function Co(){return{type:"heading",depth:0,children:[]}}function To(){return{type:"break"}}function No(){return{type:"html",value:""}}function Jf(){return{type:"image",title:null,url:"",alt:null}}function Eo(){return{type:"link",title:null,url:"",children:[]}}function _o(_){return{type:"list",ordered:_.type==="listOrdered",start:null,spread:_._spread,children:[]}}function Qf(_){return{type:"listItem",spread:_._spread,checked:null,children:[]}}function Xf(){return{type:"paragraph",children:[]}}function Zf(){return{type:"strong",children:[]}}function ep(){return{type:"text",value:""}}function tp(){return{type:"thematicBreak"}}}l(SE,"compiler");function yt(e){return{line:e.line,column:e.column,offset:e.offset}}l(yt,"point");function Bf(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Bf(e,r):xE(e,r)}}l(Bf,"configure");function xE(e,t){let n;for(n in t)if($f.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}l(xE,"extension");function jf(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Un({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Un({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Un({start:t.start,end:t.end})+") is still open")}l(jf,"defaultOnError");function AE(e){const t=this;t.parser=n;function n(r){return vE(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}l(n,"parser")}l(AE,"remarkParse");async function CE(e,t){const{obsidianVault:n}=t??{},r=Tc().use(AE).use(tA,[{anywhere:!1,marker:"-",type:"yaml"}]).use(IN,{singleTilde:!1}).use(WN).use(PN).use(Ex,{toLink(i){return{title:i.alias??i.value,uri:n?`obsidian://open?vault=Vault&file=${encodeURIComponent(i.value)}.md`:i.value,value:i.alias??i.value}}}).use(zx);return r.run(r.parse(e))}l(CE,"getAstFromMarkdown");function TE(e,t){return de(e,t,(n,r,i)=>{if(i&&r!==void 0)return i.children.splice(r,1),at}),e}l(TE,"deleteFirstNodeOfType");function NE(e){let t=1;return de(e,"delete",(n,r,i)=>{if(i===void 0||r===void 0||!("children"in n))return mt;const s=n.children.at(-1),o=n.children.length>1&&s?.type==="emphasis"?[ie("text",`{{c${t}::`),...n.children.slice(0,-1),ie("text","::"),...n.children.slice(-1),ie("text","}}")]:[ie("text",`{{c${t}::`),...n.children,ie("text","}}")];i.children.splice(r,1,...o),t+=1}),e}l(NE,"replaceDeleteNodesWithClozeMarkup");function zf(e){let t,n=!1;if(de(e,"thematicBreak",(s,o,a)=>o===void 0||a===void 0?mt:(t=o,a.children[o+1]?.type==="thematicBreak"&&(n=!0),at)),t===void 0)return[e,void 0];const r={children:e.children.slice(0,t),type:"root"},i={children:e.children.slice(t+(n?2:1)),type:"root"};return[r,i]}l(zf,"splitTreeAtThematicBreak");function EE(e){let t;if(de(e,r=>{if(r.type==="thematicBreak")return t=void 0,at;if(r.type==="delete")return t="Yanki - Cloze",at}),t!==void 0)return t;if(!OE(e)&&LE(e))return"Yanki - Basic (type in the answer)";let n;return de(e,"thematicBreak",(r,i,s)=>{if(s===null||i===null)return mt;t=n?.type==="thematicBreak"&&r.type==="thematicBreak"?"Yanki - Basic (and reversed card)":"Yanki - Basic",n=r}),t??"Yanki - Basic"}l(EE,"getYankiModelNameFromTree");function _E(e){let t;if(de(e,"yaml",r=>"value"in r?(t=r.value,at):mt),!t)return{};const n=Al(t);if(!n)throw new Error("Could not parse frontmatter");return n}l(_E,"getFrontmatterFromTree");function OE(e){let t=!1;return de(e,"thematicBreak",()=>(t=!0,at)),t}l(OE,"hasThematicBreak");function LE(e){let t,n=0;return de(e,r=>{if(r.type==="text"&&r.value.trim()!=="")t=r,n++;else if(r.type==="emphasis"&&r.children.some(i=>i.type==="text"&&i.value.trim()!==""))return t=r,n++,Ur}),t!==void 0&&t.type==="emphasis"&&n>1}l(LE,"isLastVisibleNodeEmphasisWithOthers");function IE(e){let t,n,r;if(de(e,"emphasis",(i,s,o)=>{if(o===void 0||s===void 0||i.type!=="emphasis")return mt;t=i,n=o,r=s}),n&&t&&typeof r=="number")return n.children.splice(r,1),t}l(IE,"removeLastEmphasis");async function Uf(e,t){const{namespace:n,obsidianVault:r}=t;let i=await CE(e,{obsidianVault:r});const s=EE(i),o=_E(i);i=TE(i,"yaml");let a="",u="";switch(s){case"Yanki - Basic":case"Yanki - Basic (and reversed card)":{const[p,f]=zf(i);a=await fn(p,[qt,`namespace-${n}`,"front",`model-${s}`],!0),u=await fn(f,[qt,`namespace-${n}`,"back",`model-${s}`],!0);break}case"Yanki - Cloze":{i=NE(i);const[p,f]=zf(i);a=await fn(p,[qt,`namespace-${n}`,"front",`model-${s}`],!0),u=await fn(f,[qt,`namespace-${n}`,"back",`model-${s}`],!1);break}case"Yanki - Basic (type in the answer)":{const p=IE(i);if(p===void 0)throw new Error("Could not find emphasis in Basic (type in the answer) note AST.");const f=i,h=ie("root",ie("paragraph",p.children));a=await fn(f,[qt,`namespace-${n}`,"front",`model-${s}`],!0),u=await fn(h,[qt,`namespace-${n}`,"back",`model-${s}`],!1);break}}return{deckName:"",fields:{Back:u,Front:a,YankiNamespace:n},modelName:s,noteId:o.noteId??void 0,tags:o.tags??[]}}l(Uf,"getNoteFromMarkdown");const ui=typeof window>"u"?typeof process>"u"?"other":"node":"browser";ui==="browser"?/windows/i.test(navigator.userAgent)||/mac/i.test(navigator.userAgent):ui==="node"&&(process.platform==="win32"||process.platform);function Ze(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}l(Ze,"assertPath");function Hf(e,t){for(var n="",r=0,i=-1,s=0,o,a=0;a<=e.length;++a){if(a<e.length)o=e.charCodeAt(a);else{if(o===47)break;o=47}if(o===47){if(!(i===a-1||s===1))if(i!==a-1&&s===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var u=n.lastIndexOf("/");if(u!==n.length-1){u===-1?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),i=a,s=0;continue}}else if(n.length===2||n.length===1){n="",r=0,i=a,s=0;continue}}t&&(n.length>0?n+="/..":n="..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,s=0}else o===46&&s!==-1?++s:s=-1}return n}l(Hf,"normalizeStringPosix");function DE(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}l(DE,"_format");var Ke={process_cwd:"",setCWD:l(function(t){Ke.process_cwd=t},"setCWD"),resolve:l(function(){for(var t="",n=!1,r,i=arguments.length-1;i>=-1&&!n;i--){var s;i>=0?s=arguments[i]:(r===void 0&&(r=Ke.process_cwd),s=r),Ze(s),s.length!==0&&s+"/"!==t&&(t=s+"/"+t,n=s.charCodeAt(0)===47)}return t=Hf(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},"resolve"),normalize:l(function(t){if(Ze(t),t.length===0)return".";var n=t.charCodeAt(0)===47,r=t.charCodeAt(t.length-1)===47;return t=Hf(t,!n),t.length===0&&!n&&(t="."),t.length>0&&r&&(t+="/"),n?"/"+t:t},"normalize"),isAbsolute:l(function(t){return Ze(t),t.length>0&&t.charCodeAt(0)===47},"isAbsolute"),join:l(function(){if(arguments.length===0)return".";for(var t,n=0;n<arguments.length;++n){var r=arguments[n];Ze(r),r.length>0&&(t===void 0?t=r:t+="/"+r)}return t===void 0?".":Ke.normalize(t)},"join"),relative:l(function(t,n){if(Ze(t),Ze(n),t===n||(t=Ke.resolve(t),n=Ke.resolve(n),t===n))return"";for(var r=1;r<t.length&&t.charCodeAt(r)===47;++r);for(var i=t.length,s=i-r,o=1;o<n.length&&n.charCodeAt(o)===47;++o);for(var a=n.length,u=a-o,c=s<u?s:u,p=-1,f=0;f<=c;++f){if(f===c){if(u>c){if(n.charCodeAt(o+f)===47)return n.slice(o+f+1);if(f===0)return n.slice(o+f)}else s>c&&(t.charCodeAt(r+f)===47?p=f:f===0&&(p=0));break}var h=t.charCodeAt(r+f),d=n.charCodeAt(o+f);if(h!==d)break;h===47&&(p=f)}var m="";for(f=r+p+1;f<=i;++f)(f===i||t.charCodeAt(f)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+n.slice(o+p):(o+=p,n.charCodeAt(o)===47&&++o,n.slice(o))},"relative"),_makeLong:l(function(t){return t},"_makeLong"),dirname:l(function(t){if(Ze(t),t.length===0)return".";for(var n=t.charCodeAt(0),r=n===47,i=-1,s=!0,o=t.length-1;o>=1;--o)if(n=t.charCodeAt(o),n===47){if(!s){i=o;break}}else s=!1;return i===-1?r?"/":".":r&&i===1?"//":t.slice(0,i)},"dirname"),basename:l(function(t,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');Ze(t);var r=0,i=-1,s=!0,o;if(n!==void 0&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var a=n.length-1,u=-1;for(o=t.length-1;o>=0;--o){var c=t.charCodeAt(o);if(c===47){if(!s){r=o+1;break}}else u===-1&&(s=!1,u=o+1),a>=0&&(c===n.charCodeAt(a)?--a===-1&&(i=o):(a=-1,i=u))}return r===i?i=u:i===-1&&(i=t.length),t.slice(r,i)}else{for(o=t.length-1;o>=0;--o)if(t.charCodeAt(o)===47){if(!s){r=o+1;break}}else i===-1&&(s=!1,i=o+1);return i===-1?"":t.slice(r,i)}},"basename"),extname:l(function(t){Ze(t);for(var n=-1,r=0,i=-1,s=!0,o=0,a=t.length-1;a>=0;--a){var u=t.charCodeAt(a);if(u===47){if(!s){r=a+1;break}continue}i===-1&&(s=!1,i=a+1),u===46?n===-1?n=a:o!==1&&(o=1):n!==-1&&(o=-1)}return n===-1||i===-1||o===0||o===1&&n===i-1&&n===r+1?"":t.slice(n,i)},"extname"),format:l(function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return DE("/",t)},"format"),parse:l(function(t){Ze(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return n;var r=t.charCodeAt(0),i=r===47,s;i?(n.root="/",s=1):s=0;for(var o=-1,a=0,u=-1,c=!0,p=t.length-1,f=0;p>=s;--p){if(r=t.charCodeAt(p),r===47){if(!c){a=p+1;break}continue}u===-1&&(c=!1,u=p+1),r===46?o===-1?o=p:f!==1&&(f=1):o!==-1&&(f=-1)}return o===-1||u===-1||f===0||f===1&&o===u-1&&o===a+1?u!==-1&&(a===0&&i?n.base=n.name=t.slice(1,u):n.base=n.name=t.slice(a,u)):(a===0&&i?(n.name=t.slice(1,o),n.base=t.slice(1,u)):(n.name=t.slice(a,o),n.base=t.slice(a,u)),n.ext=t.slice(o,u)),a>0?n.dir=t.slice(0,a-1):i&&(n.dir="/"),n},"parse"),sep:"/",delimiter:":",win32:null,posix:null};Ke.posix=Ke;const xo={ankiConnectOptions:Ue,ankiWeb:!1,defaultDeckName:"Yanki",dryRun:!1,namespace:bn,obsidianVault:void 0};async function Vf(e,t){const n=performance.now(),{ankiConnectOptions:r,ankiWeb:i,defaultDeckName:s,dryRun:o,namespace:a}=xn(xo,t??{}),u=a.trim();if(u==="")throw new Error("Namespace must not be empty");if(u.includes("*")||u.includes(":"))throw new Error("Namespace for sync may not contain the characters '*' or ':'");const c=[],p=new ur(r),f=await Li(p,a),h=f.filter(S=>!e.some(T=>T.noteId===S?.noteId));await ma(p,h,o);for(const S of h)c.push({action:"deleted",note:S});for(const S of e)S.deckName===""&&(S.deckName=s);const d=e.map(S=>S.noteId).map(S=>S??-1),m=await ga(p,d);for(const[S,T]of m.entries()){const N=e[S];if(T===void 0||N.fields.YankiNamespace!==T.fields.YankiNamespace){const A=await or(p,{...N,noteId:void 0},o);c.push({action:"created",note:{...N,noteId:A}})}else if(N.modelName===T.modelName){const A=await Ud(p,N,T,o);c.push({action:A?"updated":"unchanged",note:N})}else{if(T.noteId===void 0)throw new Error("Remote note ID is undefined");c.push({action:"deleted",note:T}),await zd(p,T,o);const A=await or(p,{...N,noteId:void 0},o);c.push({action:"recreated",note:{...N,noteId:A}})}}const g=[],y=[];for(const S of c)S.action==="deleted"?y.push(S.note):g.push(S.note);const w=await ya(p,g,f,o),b=w.length>0||c.some(S=>S.action!=="unchanged");return!o&&i&&(b||pi)&&await p.miscellaneous.sync(),{ankiWeb:i,deletedDecks:w,dryRun:o,duration:performance.now()-n,namespace:a,synced:c}}l(Vf,"syncNotes");async function RE(e,t,n,r){const i=performance.now();if(n===void 0||r===void 0)if(ui==="node"){const b=await import("node:fs/promises");n=l(async S=>b.readFile(S,"utf8"),"readFile"),r=l(async(S,T)=>b.writeFile(S,T,"utf8"),"writeFile")}else throw new Error("Both readFile and writeFile implementations must be provided to the syncFiles function when running in the browser");const s=xn(xo,t??{}),{namespace:o,obsidianVault:a}=s,u=[],c=[],p=Gf(e);for(const[b,S]of e.entries()){const T=await n(S);u.push(T);const N=await Uf(T,{namespace:o,obsidianVault:a});N.deckName===""&&(N.deckName=p[b]),c.push(N)}const{ankiWeb:f,deletedDecks:h,dryRun:d,synced:m}=await Vf(c,s),g=m.filter(b=>b.action!=="deleted");for(const[b,S]of c.entries()){const T=g[b].note.noteId;if(S.noteId===void 0||S.noteId!==T){if(S.noteId=T,S.noteId===void 0)throw new Error("Note ID is still undefined");const N=await Gw(u[b],S.noteId);await r(e[b],N)}}const y=c.map((b,S)=>({action:g[S].action,filePath:e[S],note:b})),w=m.filter(b=>b.action==="deleted").map(b=>({action:"deleted",note:b.note}));return{ankiWeb:f,deletedDecks:h,dryRun:d,duration:performance.now()-i,namespace:o,synced:[...w,...y]}}l(RE,"syncFiles");function Gf(e,t="common-root"){ui==="node"&&Ke.setCWD(process.cwd());const n=e.map(a=>Ke.dirname(Ke.resolve(a)).split(Ke.sep)),r=n.reduce((a,u)=>a.filter((p,f)=>p===u[f])),i=n.some(a=>a.at(-1)===r.at(-1)),s=t==="common-parent"||i?1:0;return n.map(a=>a.slice(r.length-s).join("::"))}l(Gf,"getDeckNamesFromFilePaths");function PE(e,t=!1){const n=[],{synced:r}=e,i=r.reduce((o,a)=>(o[a.action]=(o[a.action]||0)+1,o),{}),s=r.filter(o=>o.action!=="deleted").length;if(n.push(`${e.dryRun?"Will":"Successfully"} synced ${s} ${An("note",s)} to Anki${e.dryRun?"":` in ${Di(e.duration)}`}.`),t){n.push("",e.dryRun?"Sync Plan Summary:":"Sync Summary:");for(const[o,a]of Object.entries(i))n.push(` ${_i(o)}: ${a}`);e.deletedDecks.length>0&&n.push("",`Decks pruned: ${e.deletedDecks.length}`),n.push("",e.dryRun?"Sync Plan Details:":"Sync Details:");for(const{action:o,filePath:a,note:u}of r)a===void 0?n.push(` Note ID ${u.noteId} ${_i(o)} (From Anki)`):n.push(` Note ID ${u.noteId} ${_i(o)} ${a}`)}return n.join(`
303
+ `)}l(PE,"formatSyncReport");export{Oa as a,Ib as b,_b as c,_a as d,La as e,Ob as f,Rb as g,xo as h,PE as i,Gf as j,RE as k,Lb as l,Vf as m,Uf as n,Bd as o,Db as s,$d as u,bn as y};