@ironmussa/funny 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/README.md +231 -214
  2. package/bin/funny.js +80 -80
  3. package/package.json +79 -59
  4. package/packages/client/dist/assets/AddProjectView-yopCTuKC.js +1 -0
  5. package/packages/client/dist/assets/AllThreadsView-vCQJYKkF.js +2 -0
  6. package/packages/client/dist/assets/AnalyticsView-vz1-NSOv.js +36 -0
  7. package/packages/client/dist/assets/App-BEFplUGa.js +2 -0
  8. package/packages/client/dist/assets/AutomationInboxView-Dj7f9gOu.js +1 -0
  9. package/packages/client/dist/assets/CircuitBreakerDialog-C76CZi4q.js +1 -0
  10. package/packages/client/dist/assets/CommandPalette-7Y8qqH7R.js +1 -0
  11. package/packages/client/dist/assets/LiveColumnsView-CSRiYBNg.js +1 -0
  12. package/packages/client/dist/assets/LoginPage-C61IUXzX.js +1 -0
  13. package/packages/client/dist/assets/MobilePage-B4kbWfE1.js +1 -0
  14. package/packages/client/dist/assets/MonacoEditorDialog-PPXTSIdX.js +1 -0
  15. package/packages/client/dist/assets/PreviewBrowser-Bo2zmDPh.js +2 -0
  16. package/packages/client/dist/assets/PromptInput-Cq_fXmwj.js +1 -0
  17. package/packages/client/dist/assets/ReviewPane-1r1cuH2I.js +10 -0
  18. package/packages/client/dist/assets/SettingsDetailView-D-J9TfZx.js +1 -0
  19. package/packages/client/dist/assets/SetupWizard-BbLWm6BX.js +1 -0
  20. package/packages/client/dist/assets/Sidebar-3Jd5JyAp.js +1 -0
  21. package/packages/client/dist/assets/SlideUpPrompt-_ulHi9sN.js +1 -0
  22. package/packages/client/dist/assets/TerminalPanel-BiLDlQZQ.js +4 -0
  23. package/packages/client/dist/assets/ThreadListView-DthHUodE.js +1 -0
  24. package/packages/client/dist/assets/ThreadView-DsqoxCXZ.js +16 -0
  25. package/packages/client/dist/assets/ToolCallGroup-BgROpRwn.js +22 -0
  26. package/packages/client/dist/assets/_basePickBy-BeHeP2rS.js +1 -0
  27. package/packages/client/dist/assets/_baseUniq-CZf5jOXa.js +1 -0
  28. package/packages/client/dist/assets/ansi_to_html-DYje8R53.js +3 -0
  29. package/packages/client/dist/assets/app-store-B3iAaYzj.js +1 -0
  30. package/packages/client/dist/assets/architectureDiagram-VXUJARFQ-CysgSV_T.js +36 -0
  31. package/packages/client/dist/assets/arrow-down-DQYiOM3D.js +1 -0
  32. package/packages/client/dist/assets/arrow-right-Bbusk4uX.js +1 -0
  33. package/packages/client/dist/assets/automation-store-DiFgwQi4.js +1 -0
  34. package/packages/client/dist/assets/badge-CrCqde50.js +1 -0
  35. package/packages/client/dist/assets/blockDiagram-VD42YOAC-DU32EjW8.js +122 -0
  36. package/packages/client/dist/assets/breadcrumb-BiY69_Mg.js +1 -0
  37. package/packages/client/dist/assets/button-D8qrc3hb.js +1 -0
  38. package/packages/client/dist/assets/c4Diagram-YG6GDRKO-D31N17G_.js +10 -0
  39. package/packages/client/dist/assets/check-Dj_ZR5Y7.js +1 -0
  40. package/packages/client/dist/assets/chevron-down-BJhJsMnL.js +1 -0
  41. package/packages/client/dist/assets/chevron-left-BVsM9RGq.js +1 -0
  42. package/packages/client/dist/assets/chevron-right-PEOnBrxM.js +1 -0
  43. package/packages/client/dist/assets/chevrons-up-down-Sa8XJRBx.js +1 -0
  44. package/packages/client/dist/assets/chunk-4BX2VUAB-CSqlINSL.js +1 -0
  45. package/packages/client/dist/assets/chunk-55IACEB6-D5_ai8AA.js +1 -0
  46. package/packages/client/dist/assets/chunk-B4BG7PRW-DKOAlNfo.js +165 -0
  47. package/packages/client/dist/assets/chunk-DI55MBZ5-BNwqKgG-.js +220 -0
  48. package/packages/client/dist/assets/chunk-FMBD7UC4-MKWtG46g.js +15 -0
  49. package/packages/client/dist/assets/chunk-QN33PNHL-BWGv-iLk.js +1 -0
  50. package/packages/client/dist/assets/chunk-QZHKN3VN-Brx07f_u.js +1 -0
  51. package/packages/client/dist/assets/chunk-TZMSLE5B-Cgz2v9ud.js +1 -0
  52. package/packages/client/dist/assets/circle-x-BNvrcCvx.js +1 -0
  53. package/packages/client/dist/assets/classDiagram-2ON5EDUG-Bi8VPWgp.js +1 -0
  54. package/packages/client/dist/assets/classDiagram-v2-WZHVMYZB-Bi8VPWgp.js +1 -0
  55. package/packages/client/dist/assets/clipboard-list-zkC7qTDO.js +1 -0
  56. package/packages/client/dist/assets/clone-CzE9L7Ig.js +1 -0
  57. package/packages/client/dist/assets/collapsible-DP3s_8s3.js +1 -0
  58. package/packages/client/dist/assets/columns-3-DhvlrNjA.js +1 -0
  59. package/packages/client/dist/assets/command-DOlrnbnh.js +1 -0
  60. package/packages/client/dist/assets/copy-DXKK6zMx.js +1 -0
  61. package/packages/client/dist/assets/cose-bilkent-S5V4N54A-DabFXskf.js +1 -0
  62. package/packages/client/dist/assets/createLucideIcon-CsWFljth.js +1 -0
  63. package/packages/client/dist/assets/cytoscape.esm-5J0xJHOV.js +321 -0
  64. package/packages/client/dist/assets/dagre-6UL2VRFP-BgQrFrWh.js +4 -0
  65. package/packages/client/dist/assets/diagram-PSM6KHXK-B0rQdwLC.js +24 -0
  66. package/packages/client/dist/assets/diagram-QEK2KX5R-aX13lt6A.js +43 -0
  67. package/packages/client/dist/assets/diagram-S2PKOQOG-cgHvdjCm.js +24 -0
  68. package/packages/client/dist/assets/dialog-DapeOKPE.js +1 -0
  69. package/packages/client/dist/assets/draft-store-DnVbStYY.js +1 -0
  70. package/packages/client/dist/assets/dropdown-menu-Bi54WPTK.js +1 -0
  71. package/packages/client/dist/assets/editor-utils-DgK9pIvP.js +2 -0
  72. package/packages/client/dist/assets/erDiagram-Q2GNP2WA-DwocRLhB.js +60 -0
  73. package/packages/client/dist/assets/external-link-Dg0Hq511.js +1 -0
  74. package/packages/client/dist/assets/eye-BAXsQYWt.js +1 -0
  75. package/packages/client/dist/assets/eye-off-ICXVwkI1.js +1 -0
  76. package/packages/client/dist/assets/flowDiagram-NV44I4VS-C0ldc02M.js +162 -0
  77. package/packages/client/dist/assets/folder-d8RRIu-j.js +1 -0
  78. package/packages/client/dist/assets/folder-open-BbwqJxUi.js +1 -0
  79. package/packages/client/dist/assets/ganttDiagram-JELNMOA3-DxdfUar4.js +267 -0
  80. package/packages/client/dist/assets/git-merge-CB0ebeXg.js +1 -0
  81. package/packages/client/dist/assets/gitGraphDiagram-V2S2FVAM-uM_Ec7JF.js +65 -0
  82. package/packages/client/dist/assets/github-DiENtmNz.js +1 -0
  83. package/packages/client/dist/assets/globe-B1hiCqlb.js +1 -0
  84. package/packages/client/dist/assets/graph-Qo1vygVG.js +1 -0
  85. package/packages/client/dist/assets/history-D7cvrs7x.js +1 -0
  86. package/packages/client/dist/assets/inbox-4g-W9WtW.js +1 -0
  87. package/packages/client/dist/assets/index-BplxL2Qj.js +1 -0
  88. package/packages/client/dist/assets/index-DmIp58b6.js +1 -0
  89. package/packages/client/dist/assets/index-Z_QI94Zg.js +18 -0
  90. package/packages/client/dist/assets/{index-B0nLATLY.js → index-cSW024sc.js} +1 -1
  91. package/packages/client/dist/assets/index-zxpgGDAW.css +1 -0
  92. package/packages/client/dist/assets/infoDiagram-HS3SLOUP-C-koF35b.js +2 -0
  93. package/packages/client/dist/assets/input-Dyxe5hqI.js +1 -0
  94. package/packages/client/dist/assets/internal-editor-store-CuhCMFlj.js +1 -0
  95. package/packages/client/dist/assets/journeyDiagram-XKPGCS4Q-DRqupubT.js +139 -0
  96. package/packages/client/dist/assets/kanban-definition-3W4ZIXB7-BvWguxdE.js +89 -0
  97. package/packages/client/dist/assets/katex-DhXJpUyf.js +261 -0
  98. package/packages/client/dist/assets/layout-UD4laNpY.js +1 -0
  99. package/packages/client/dist/assets/markdown-9_JKOUHQ.js +29 -0
  100. package/packages/client/dist/assets/maximize-2-DW-IsQiI.js +1 -0
  101. package/packages/client/dist/assets/mermaid-C0IQv4mH.js +250 -0
  102. package/packages/client/dist/assets/mindmap-definition-VGOIOE7T-C0fzBd6g.js +68 -0
  103. package/packages/client/dist/assets/minimize-2-CWn5BNKr.js +1 -0
  104. package/packages/client/dist/assets/monaco-CvC2RZDL.js +11 -0
  105. package/packages/client/dist/assets/{motion-DRu4QWVj.js → motion-Cyp39Uo1.js} +1 -1
  106. package/packages/client/dist/assets/pencil-pMey300q.js +1 -0
  107. package/packages/client/dist/assets/pieDiagram-ADFJNKIX-CUBE4hL3.js +30 -0
  108. package/packages/client/dist/assets/pin-off-DpiyTpTd.js +1 -0
  109. package/packages/client/dist/assets/pin-uzq68OVB.js +1 -0
  110. package/packages/client/dist/assets/plus-ChfperZy.js +1 -0
  111. package/packages/client/dist/assets/popover-CRZjc4jI.js +1 -0
  112. package/packages/client/dist/assets/project-chip-CkL3EaeE.js +5 -0
  113. package/packages/client/dist/assets/providers-Bv7fzJNY.js +1 -0
  114. package/packages/client/dist/assets/quadrantDiagram-AYHSOK5B-DF7I9OHz.js +7 -0
  115. package/packages/client/dist/assets/refresh-cw-Svvcff2v.js +1 -0
  116. package/packages/client/dist/assets/requirementDiagram-UZGBJVZJ-BBI4q-3_.js +64 -0
  117. package/packages/client/dist/assets/review-pane-store-CrK1Czq6.js +1 -0
  118. package/packages/client/dist/assets/rotate-ccw-DFiWNcpH.js +1 -0
  119. package/packages/client/dist/assets/sankeyDiagram-TZEHDZUN-lqpKxyZi.js +10 -0
  120. package/packages/client/dist/assets/scroll-area-Bj4yTRJP.js +1 -0
  121. package/packages/client/dist/assets/search-JGV9EPmW.js +1 -0
  122. package/packages/client/dist/assets/select-CkTnmILP.js +1 -0
  123. package/packages/client/dist/assets/sequenceDiagram-WL72ISMW-DHImpRwJ.js +145 -0
  124. package/packages/client/dist/assets/shallow-B0DA4RsP.js +1 -0
  125. package/packages/client/dist/assets/square-BqmNpRIH.js +1 -0
  126. package/packages/client/dist/assets/stateDiagram-FKZM4ZOC-C7L7Pt_V.js +1 -0
  127. package/packages/client/dist/assets/stateDiagram-v2-4FDKWEC3-FyYG2QfD.js +1 -0
  128. package/packages/client/dist/assets/{syntax-qKqB8BhQ.js → syntax-CG1UoaFw.js} +17 -17
  129. package/packages/client/dist/assets/terminal-CuAYwdh-.js +1 -0
  130. package/packages/client/dist/assets/timeline-definition-IT6M3QCI-BGABo1HM.js +61 -0
  131. package/packages/client/dist/assets/trash-2-QvY6JeI_.js +1 -0
  132. package/packages/client/dist/assets/treemap-GDKQZRPO-DZ7i2Nwu.js +160 -0
  133. package/packages/client/dist/assets/upload-DXXUmYu2.js +1 -0
  134. package/packages/client/dist/assets/use-minute-tick-BoS3Ec2H.js +1 -0
  135. package/packages/client/dist/assets/use-ws-BIe6kKa2.js +48 -0
  136. package/packages/client/dist/assets/utils-VDOOGGvU.js +2 -0
  137. package/packages/client/dist/assets/x-AprddF_b.js +1 -0
  138. package/packages/client/dist/assets/xychartDiagram-PRI3JC2R-D_bazwNo.js +7 -0
  139. package/packages/client/dist/index.html +9 -13
  140. package/packages/server/dist/index.js +117479 -69360
  141. package/packages/server/dist/index.js.map +682 -138
  142. package/packages/server/dist/pty-helper.mjs +115 -115
  143. package/packages/client/dist/assets/AddProjectView-CODm54MP.js +0 -1
  144. package/packages/client/dist/assets/AllThreadsView--Dd7YSK5.js +0 -1
  145. package/packages/client/dist/assets/AnalyticsView-eRhWGG3y.js +0 -36
  146. package/packages/client/dist/assets/AutomationInboxView-DwBaGJed.js +0 -1
  147. package/packages/client/dist/assets/CircuitBreakerDialog-C2iBwp5W.js +0 -1
  148. package/packages/client/dist/assets/CommandPalette-BXweSrdO.js +0 -1
  149. package/packages/client/dist/assets/ReviewPane-DxtlJNNu.js +0 -10
  150. package/packages/client/dist/assets/SettingsDetailView-BKh9OBM2.js +0 -1
  151. package/packages/client/dist/assets/SetupWizard-BekJX-tc.js +0 -1
  152. package/packages/client/dist/assets/TerminalPanel-DC4U0OTm.js +0 -4
  153. package/packages/client/dist/assets/ThreadListView-B6HvQ8NV.js +0 -1
  154. package/packages/client/dist/assets/arrow-right-3Bby9NNK.js +0 -1
  155. package/packages/client/dist/assets/command-B76T8z-A.js +0 -1
  156. package/packages/client/dist/assets/index-BRi6al6L.js +0 -99
  157. package/packages/client/dist/assets/index-DXO1sSe9.css +0 -1
  158. package/packages/client/dist/assets/markdown-B7CXSXYD.js +0 -29
  159. package/packages/client/dist/assets/review-pane-store-BLhxZHRI.js +0 -1
@@ -0,0 +1 @@
1
+ import{G as g}from"./graph-Qo1vygVG.js";import{b as Te,p as ce,q as le,g as z,e as ee,l as F,o as Ie,s as Me,c as Se,u as je,d as f,i as m,f as _,v as x,r as M}from"./_baseUniq-CZf5jOXa.js";import{f as O,b as he,a as Fe,c as Ve,d as Ae,t as V,m as b,e as P,h as ve,g as X,l as T,i as Be}from"./_basePickBy-BeHeP2rS.js";import{b9 as Ge,ba as Ye,bb as De,b2 as qe,bc as $e,b6 as pe,b5 as be,bd as We,b1 as q,an as ze,b8 as Xe,ap as Ue,be as $}from"./mermaid-C0IQv4mH.js";function He(e){return Ge(Ye(e,void 0,O),e+"")}var Je=1,Ze=4;function Ke(e){return Te(e,Je|Ze)}function Qe(e,n){return e==null?e:De(e,ce(n),qe)}function en(e,n){return e&&le(e,ce(n))}function nn(e,n){return e>n}function S(e,n){var r={};return n=z(n),le(e,function(t,a,i){$e(r,a,n(t,a,i))}),r}function y(e){return e&&e.length?he(e,pe,nn):void 0}function U(e,n){return e&&e.length?he(e,z(n),Fe):void 0}function rn(e,n){var r=e.length;for(e.sort(n);r--;)e[r]=e[r].value;return e}function tn(e,n){if(e!==n){var r=e!==void 0,t=e===null,a=e===e,i=ee(e),o=n!==void 0,u=n===null,d=n===n,s=ee(n);if(!u&&!s&&!i&&e>n||i&&o&&d&&!u&&!s||t&&o&&d||!r&&d||!a)return 1;if(!t&&!i&&!s&&e<n||s&&r&&a&&!t&&!i||u&&r&&a||!o&&a||!d)return-1}return 0}function an(e,n,r){for(var t=-1,a=e.criteria,i=n.criteria,o=a.length,u=r.length;++t<o;){var d=tn(a[t],i[t]);if(d){if(t>=u)return d;var s=r[t];return d*(s=="desc"?-1:1)}}return e.index-n.index}function on(e,n,r){n.length?n=F(n,function(i){return be(i)?function(o){return Ie(o,i.length===1?i[0]:i)}:i}):n=[pe];var t=-1;n=F(n,We(z));var a=Ve(e,function(i,o,u){var d=F(n,function(s){return s(i)});return{criteria:d,index:++t,value:i}});return rn(a,function(i,o){return an(i,o,r)})}function un(e,n){return Ae(e,n,function(r,t){return Me(e,t)})}var I=He(function(e,n){return e==null?{}:un(e,n)}),dn=Math.ceil,sn=Math.max;function fn(e,n,r,t){for(var a=-1,i=sn(dn((n-e)/(r||1)),0),o=Array(i);i--;)o[++a]=e,e+=r;return o}function cn(e){return function(n,r,t){return t&&typeof t!="number"&&q(n,r,t)&&(r=t=void 0),n=V(n),r===void 0?(r=n,n=0):r=V(r),t=t===void 0?n<r?1:-1:V(t),fn(n,r,t)}}var E=cn(),R=ze(function(e,n){if(e==null)return[];var r=n.length;return r>1&&q(e,n[0],n[1])?n=[]:r>2&&q(n[0],n[1],n[2])&&(n=[n[0]]),on(e,Se(n),[])}),ln=0;function H(e){var n=++ln;return je(e)+n}function hn(e,n,r){for(var t=-1,a=e.length,i=n.length,o={};++t<a;){var u=t<i?n[t]:void 0;r(o,e[t],u)}return o}function vn(e,n){return hn(e||[],n||[],Xe)}class pn{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,r=n._prev;if(r!==n)return ne(r),r}enqueue(n){var r=this._sentinel;n._prev&&n._next&&ne(n),n._next=r._next,r._next._prev=n,r._next=n,n._prev=r}toString(){for(var n=[],r=this._sentinel,t=r._prev;t!==r;)n.push(JSON.stringify(t,bn)),t=t._prev;return"["+n.join(", ")+"]"}}function ne(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function bn(e,n){if(e!=="_next"&&e!=="_prev")return n}var wn=Ue(1);function mn(e,n){if(e.nodeCount()<=1)return[];var r=yn(e,n||wn),t=gn(r.graph,r.buckets,r.zeroIdx);return O(b(t,function(a){return e.outEdges(a.v,a.w)}))}function gn(e,n,r){for(var t=[],a=n[n.length-1],i=n[0],o;e.nodeCount();){for(;o=i.dequeue();)A(e,n,r,o);for(;o=a.dequeue();)A(e,n,r,o);if(e.nodeCount()){for(var u=n.length-2;u>0;--u)if(o=n[u].dequeue(),o){t=t.concat(A(e,n,r,o,!0));break}}}return t}function A(e,n,r,t,a){var i=a?[]:void 0;return f(e.inEdges(t.v),function(o){var u=e.edge(o),d=e.node(o.v);a&&i.push({v:o.v,w:o.w}),d.out-=u,W(n,r,d)}),f(e.outEdges(t.v),function(o){var u=e.edge(o),d=o.w,s=e.node(d);s.in-=u,W(n,r,s)}),e.removeNode(t.v),i}function yn(e,n){var r=new g,t=0,a=0;f(e.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),f(e.edges(),function(u){var d=r.edge(u.v,u.w)||0,s=n(u),c=d+s;r.setEdge(u.v,u.w,c),a=Math.max(a,r.node(u.v).out+=s),t=Math.max(t,r.node(u.w).in+=s)});var i=E(a+t+3).map(function(){return new pn}),o=t+1;return f(r.nodes(),function(u){W(i,o,r.node(u))}),{graph:r,buckets:i,zeroIdx:o}}function W(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}function kn(e){var n=e.graph().acyclicer==="greedy"?mn(e,r(e)):xn(e);f(n,function(t){var a=e.edge(t);e.removeEdge(t),a.forwardName=t.name,a.reversed=!0,e.setEdge(t.w,t.v,a,H("rev"))});function r(t){return function(a){return t.edge(a).weight}}}function xn(e){var n=[],r={},t={};function a(i){Object.prototype.hasOwnProperty.call(t,i)||(t[i]=!0,r[i]=!0,f(e.outEdges(i),function(o){Object.prototype.hasOwnProperty.call(r,o.w)?n.push(o):a(o.w)}),delete r[i])}return f(e.nodes(),a),n}function En(e){f(e.edges(),function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var t=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,t)}})}function L(e,n,r,t){var a;do a=H(t);while(e.hasNode(a));return r.dummy=n,e.setNode(a,r),a}function On(e){var n=new g().setGraph(e.graph());return f(e.nodes(),function(r){n.setNode(r,e.node(r))}),f(e.edges(),function(r){var t=n.edge(r.v,r.w)||{weight:0,minlen:1},a=e.edge(r);n.setEdge(r.v,r.w,{weight:t.weight+a.weight,minlen:Math.max(t.minlen,a.minlen)})}),n}function we(e){var n=new g({multigraph:e.isMultigraph()}).setGraph(e.graph());return f(e.nodes(),function(r){e.children(r).length||n.setNode(r,e.node(r))}),f(e.edges(),function(r){n.setEdge(r,e.edge(r))}),n}function re(e,n){var r=e.x,t=e.y,a=n.x-r,i=n.y-t,o=e.width/2,u=e.height/2;if(!a&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var d,s;return Math.abs(i)*o>Math.abs(a)*u?(i<0&&(u=-u),d=u*a/i,s=u):(a<0&&(o=-o),d=o,s=o*i/a),{x:r+d,y:t+s}}function j(e){var n=b(E(me(e)+1),function(){return[]});return f(e.nodes(),function(r){var t=e.node(r),a=t.rank;m(a)||(n[a][t.order]=r)}),n}function Ln(e){var n=P(b(e.nodes(),function(r){return e.node(r).rank}));f(e.nodes(),function(r){var t=e.node(r);ve(t,"rank")&&(t.rank-=n)})}function Nn(e){var n=P(b(e.nodes(),function(i){return e.node(i).rank})),r=[];f(e.nodes(),function(i){var o=e.node(i).rank-n;r[o]||(r[o]=[]),r[o].push(i)});var t=0,a=e.graph().nodeRankFactor;f(r,function(i,o){m(i)&&o%a!==0?--t:t&&f(i,function(u){e.node(u).rank+=t})})}function te(e,n,r,t){var a={width:0,height:0};return arguments.length>=4&&(a.rank=r,a.order=t),L(e,"border",a,n)}function me(e){return y(b(e.nodes(),function(n){var r=e.node(n).rank;if(!m(r))return r}))}function Pn(e,n){var r={lhs:[],rhs:[]};return f(e,function(t){n(t)?r.lhs.push(t):r.rhs.push(t)}),r}function Cn(e,n){return n()}function _n(e){function n(r){var t=e.children(r),a=e.node(r);if(t.length&&f(t,n),Object.prototype.hasOwnProperty.call(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var i=a.minRank,o=a.maxRank+1;i<o;++i)ae(e,"borderLeft","_bl",r,a,i),ae(e,"borderRight","_br",r,a,i)}}f(e.children(),n)}function ae(e,n,r,t,a,i){var o={width:0,height:0,rank:i,borderType:n},u=a[n][i-1],d=L(e,"border",o,r);a[n][i]=d,e.setParent(d,t),u&&e.setEdge(u,d,{weight:1})}function Rn(e){var n=e.graph().rankdir.toLowerCase();(n==="lr"||n==="rl")&&ge(e)}function Tn(e){var n=e.graph().rankdir.toLowerCase();(n==="bt"||n==="rl")&&In(e),(n==="lr"||n==="rl")&&(Mn(e),ge(e))}function ge(e){f(e.nodes(),function(n){ie(e.node(n))}),f(e.edges(),function(n){ie(e.edge(n))})}function ie(e){var n=e.width;e.width=e.height,e.height=n}function In(e){f(e.nodes(),function(n){B(e.node(n))}),f(e.edges(),function(n){var r=e.edge(n);f(r.points,B),Object.prototype.hasOwnProperty.call(r,"y")&&B(r)})}function B(e){e.y=-e.y}function Mn(e){f(e.nodes(),function(n){G(e.node(n))}),f(e.edges(),function(n){var r=e.edge(n);f(r.points,G),Object.prototype.hasOwnProperty.call(r,"x")&&G(r)})}function G(e){var n=e.x;e.x=e.y,e.y=n}function Sn(e){e.graph().dummyChains=[],f(e.edges(),function(n){jn(e,n)})}function jn(e,n){var r=n.v,t=e.node(r).rank,a=n.w,i=e.node(a).rank,o=n.name,u=e.edge(n),d=u.labelRank;if(i!==t+1){e.removeEdge(n);var s=void 0,c,l;for(l=0,++t;t<i;++l,++t)u.points=[],s={width:0,height:0,edgeLabel:u,edgeObj:n,rank:t},c=L(e,"edge",s,"_d"),t===d&&(s.width=u.width,s.height=u.height,s.dummy="edge-label",s.labelpos=u.labelpos),e.setEdge(r,c,{weight:u.weight},o),l===0&&e.graph().dummyChains.push(c),r=c;e.setEdge(r,a,{weight:u.weight},o)}}function Fn(e){f(e.graph().dummyChains,function(n){var r=e.node(n),t=r.edgeLabel,a;for(e.setEdge(r.edgeObj,t);r.dummy;)a=e.successors(n)[0],e.removeNode(n),t.points.push({x:r.x,y:r.y}),r.dummy==="edge-label"&&(t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height),n=a,r=e.node(n)})}function J(e){var n={};function r(t){var a=e.node(t);if(Object.prototype.hasOwnProperty.call(n,t))return a.rank;n[t]=!0;var i=P(b(e.outEdges(t),function(o){return r(o.w)-e.edge(o).minlen}));return(i===Number.POSITIVE_INFINITY||i===void 0||i===null)&&(i=0),a.rank=i}f(e.sources(),r)}function C(e,n){return e.node(n.w).rank-e.node(n.v).rank-e.edge(n).minlen}function ye(e){var n=new g({directed:!1}),r=e.nodes()[0],t=e.nodeCount();n.setNode(r,{});for(var a,i;Vn(n,e)<t;)a=An(n,e),i=n.hasNode(a.v)?C(e,a):-C(e,a),Bn(n,e,i);return n}function Vn(e,n){function r(t){f(n.nodeEdges(t),function(a){var i=a.v,o=t===i?a.w:i;!e.hasNode(o)&&!C(n,a)&&(e.setNode(o,{}),e.setEdge(t,o,{}),r(o))})}return f(e.nodes(),r),e.nodeCount()}function An(e,n){return U(n.edges(),function(r){if(e.hasNode(r.v)!==e.hasNode(r.w))return C(n,r)})}function Bn(e,n,r){f(e.nodes(),function(t){n.node(t).rank+=r})}function Gn(){}Gn.prototype=new Error;function ke(e,n,r){be(n)||(n=[n]);var t=(e.isDirected()?e.successors:e.neighbors).bind(e),a=[],i={};return f(n,function(o){if(!e.hasNode(o))throw new Error("Graph does not have node: "+o);xe(e,o,r==="post",i,t,a)}),a}function xe(e,n,r,t,a,i){Object.prototype.hasOwnProperty.call(t,n)||(t[n]=!0,r||i.push(n),f(a(n),function(o){xe(e,o,r,t,a,i)}),r&&i.push(n))}function Yn(e,n){return ke(e,n,"post")}function Dn(e,n){return ke(e,n,"pre")}k.initLowLimValues=K;k.initCutValues=Z;k.calcCutValue=Ee;k.leaveEdge=Le;k.enterEdge=Ne;k.exchangeEdges=Pe;function k(e){e=On(e),J(e);var n=ye(e);K(n),Z(n,e);for(var r,t;r=Le(n);)t=Ne(n,e,r),Pe(n,e,r,t)}function Z(e,n){var r=Yn(e,e.nodes());r=r.slice(0,r.length-1),f(r,function(t){qn(e,n,t)})}function qn(e,n,r){var t=e.node(r),a=t.parent;e.edge(r,a).cutvalue=Ee(e,n,r)}function Ee(e,n,r){var t=e.node(r),a=t.parent,i=!0,o=n.edge(r,a),u=0;return o||(i=!1,o=n.edge(a,r)),u=o.weight,f(n.nodeEdges(r),function(d){var s=d.v===r,c=s?d.w:d.v;if(c!==a){var l=s===i,h=n.edge(d).weight;if(u+=l?h:-h,Wn(e,r,c)){var v=e.edge(r,c).cutvalue;u+=l?-v:v}}}),u}function K(e,n){arguments.length<2&&(n=e.nodes()[0]),Oe(e,{},1,n)}function Oe(e,n,r,t,a){var i=r,o=e.node(t);return n[t]=!0,f(e.neighbors(t),function(u){Object.prototype.hasOwnProperty.call(n,u)||(r=Oe(e,n,r,u,t))}),o.low=i,o.lim=r++,a?o.parent=a:delete o.parent,r}function Le(e){return X(e.edges(),function(n){return e.edge(n).cutvalue<0})}function Ne(e,n,r){var t=r.v,a=r.w;n.hasEdge(t,a)||(t=r.w,a=r.v);var i=e.node(t),o=e.node(a),u=i,d=!1;i.lim>o.lim&&(u=o,d=!0);var s=_(n.edges(),function(c){return d===oe(e,e.node(c.v),u)&&d!==oe(e,e.node(c.w),u)});return U(s,function(c){return C(n,c)})}function Pe(e,n,r,t){var a=r.v,i=r.w;e.removeEdge(a,i),e.setEdge(t.v,t.w,{}),K(e),Z(e,n),$n(e,n)}function $n(e,n){var r=X(e.nodes(),function(a){return!n.node(a).parent}),t=Dn(e,r);t=t.slice(1),f(t,function(a){var i=e.node(a).parent,o=n.edge(a,i),u=!1;o||(o=n.edge(i,a),u=!0),n.node(a).rank=n.node(i).rank+(u?o.minlen:-o.minlen)})}function Wn(e,n,r){return e.hasEdge(n,r)}function oe(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}function zn(e){switch(e.graph().ranker){case"network-simplex":ue(e);break;case"tight-tree":Un(e);break;case"longest-path":Xn(e);break;default:ue(e)}}var Xn=J;function Un(e){J(e),ye(e)}function ue(e){k(e)}function Hn(e){var n=L(e,"root",{},"_root"),r=Jn(e),t=y(x(r))-1,a=2*t+1;e.graph().nestingRoot=n,f(e.edges(),function(o){e.edge(o).minlen*=a});var i=Zn(e)+1;f(e.children(),function(o){Ce(e,n,a,i,t,r,o)}),e.graph().nodeRankFactor=a}function Ce(e,n,r,t,a,i,o){var u=e.children(o);if(!u.length){o!==n&&e.setEdge(n,o,{weight:0,minlen:r});return}var d=te(e,"_bt"),s=te(e,"_bb"),c=e.node(o);e.setParent(d,o),c.borderTop=d,e.setParent(s,o),c.borderBottom=s,f(u,function(l){Ce(e,n,r,t,a,i,l);var h=e.node(l),v=h.borderTop?h.borderTop:l,p=h.borderBottom?h.borderBottom:l,w=h.borderTop?t:2*t,N=v!==p?1:a-i[o]+1;e.setEdge(d,v,{weight:w,minlen:N,nestingEdge:!0}),e.setEdge(p,s,{weight:w,minlen:N,nestingEdge:!0})}),e.parent(o)||e.setEdge(n,d,{weight:0,minlen:a+i[o]})}function Jn(e){var n={};function r(t,a){var i=e.children(t);i&&i.length&&f(i,function(o){r(o,a+1)}),n[t]=a}return f(e.children(),function(t){r(t,1)}),n}function Zn(e){return M(e.edges(),function(n,r){return n+e.edge(r).weight},0)}function Kn(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,f(e.edges(),function(r){var t=e.edge(r);t.nestingEdge&&e.removeEdge(r)})}function Qn(e,n,r){var t={},a;f(r,function(i){for(var o=e.parent(i),u,d;o;){if(u=e.parent(o),u?(d=t[u],t[u]=o):(d=a,a=o),d&&d!==o){n.setEdge(d,o);return}o=u}})}function er(e,n,r){var t=nr(e),a=new g({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(i){return e.node(i)});return f(e.nodes(),function(i){var o=e.node(i),u=e.parent(i);(o.rank===n||o.minRank<=n&&n<=o.maxRank)&&(a.setNode(i),a.setParent(i,u||t),f(e[r](i),function(d){var s=d.v===i?d.w:d.v,c=a.edge(s,i),l=m(c)?0:c.weight;a.setEdge(s,i,{weight:e.edge(d).weight+l})}),Object.prototype.hasOwnProperty.call(o,"minRank")&&a.setNode(i,{borderLeft:o.borderLeft[n],borderRight:o.borderRight[n]}))}),a}function nr(e){for(var n;e.hasNode(n=H("_root")););return n}function rr(e,n){for(var r=0,t=1;t<n.length;++t)r+=tr(e,n[t-1],n[t]);return r}function tr(e,n,r){for(var t=vn(r,b(r,function(s,c){return c})),a=O(b(n,function(s){return R(b(e.outEdges(s),function(c){return{pos:t[c.w],weight:e.edge(c).weight}}),"pos")})),i=1;i<r.length;)i<<=1;var o=2*i-1;i-=1;var u=b(new Array(o),function(){return 0}),d=0;return f(a.forEach(function(s){var c=s.pos+i;u[c]+=s.weight;for(var l=0;c>0;)c%2&&(l+=u[c+1]),c=c-1>>1,u[c]+=s.weight;d+=s.weight*l})),d}function ar(e){var n={},r=_(e.nodes(),function(u){return!e.children(u).length}),t=y(b(r,function(u){return e.node(u).rank})),a=b(E(t+1),function(){return[]});function i(u){if(!ve(n,u)){n[u]=!0;var d=e.node(u);a[d.rank].push(u),f(e.successors(u),i)}}var o=R(r,function(u){return e.node(u).rank});return f(o,i),a}function ir(e,n){return b(n,function(r){var t=e.inEdges(r);if(t.length){var a=M(t,function(i,o){var u=e.edge(o),d=e.node(o.v);return{sum:i.sum+u.weight*d.order,weight:i.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:a.sum/a.weight,weight:a.weight}}else return{v:r}})}function or(e,n){var r={};f(e,function(a,i){var o=r[a.v]={indegree:0,in:[],out:[],vs:[a.v],i};m(a.barycenter)||(o.barycenter=a.barycenter,o.weight=a.weight)}),f(n.edges(),function(a){var i=r[a.v],o=r[a.w];!m(i)&&!m(o)&&(o.indegree++,i.out.push(r[a.w]))});var t=_(r,function(a){return!a.indegree});return ur(t)}function ur(e){var n=[];function r(i){return function(o){o.merged||(m(o.barycenter)||m(i.barycenter)||o.barycenter>=i.barycenter)&&dr(i,o)}}function t(i){return function(o){o.in.push(i),--o.indegree===0&&e.push(o)}}for(;e.length;){var a=e.pop();n.push(a),f(a.in.reverse(),r(a)),f(a.out,t(a))}return b(_(n,function(i){return!i.merged}),function(i){return I(i,["vs","i","barycenter","weight"])})}function dr(e,n){var r=0,t=0;e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=r/t,e.weight=t,e.i=Math.min(n.i,e.i),n.merged=!0}function sr(e,n){var r=Pn(e,function(c){return Object.prototype.hasOwnProperty.call(c,"barycenter")}),t=r.lhs,a=R(r.rhs,function(c){return-c.i}),i=[],o=0,u=0,d=0;t.sort(fr(!!n)),d=de(i,a,d),f(t,function(c){d+=c.vs.length,i.push(c.vs),o+=c.barycenter*c.weight,u+=c.weight,d=de(i,a,d)});var s={vs:O(i)};return u&&(s.barycenter=o/u,s.weight=u),s}function de(e,n,r){for(var t;n.length&&(t=T(n)).i<=r;)n.pop(),e.push(t.vs),r++;return r}function fr(e){return function(n,r){return n.barycenter<r.barycenter?-1:n.barycenter>r.barycenter?1:e?r.i-n.i:n.i-r.i}}function _e(e,n,r,t){var a=e.children(n),i=e.node(n),o=i?i.borderLeft:void 0,u=i?i.borderRight:void 0,d={};o&&(a=_(a,function(p){return p!==o&&p!==u}));var s=ir(e,a);f(s,function(p){if(e.children(p.v).length){var w=_e(e,p.v,r,t);d[p.v]=w,Object.prototype.hasOwnProperty.call(w,"barycenter")&&lr(p,w)}});var c=or(s,r);cr(c,d);var l=sr(c,t);if(o&&(l.vs=O([o,l.vs,u]),e.predecessors(o).length)){var h=e.node(e.predecessors(o)[0]),v=e.node(e.predecessors(u)[0]);Object.prototype.hasOwnProperty.call(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+h.order+v.order)/(l.weight+2),l.weight+=2}return l}function cr(e,n){f(e,function(r){r.vs=O(r.vs.map(function(t){return n[t]?n[t].vs:t}))})}function lr(e,n){m(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}function hr(e){var n=me(e),r=se(e,E(1,n+1),"inEdges"),t=se(e,E(n-1,-1,-1),"outEdges"),a=ar(e);fe(e,a);for(var i=Number.POSITIVE_INFINITY,o,u=0,d=0;d<4;++u,++d){vr(u%2?r:t,u%4>=2),a=j(e);var s=rr(e,a);s<i&&(d=0,o=Ke(a),i=s)}fe(e,o)}function se(e,n,r){return b(n,function(t){return er(e,t,r)})}function vr(e,n){var r=new g;f(e,function(t){var a=t.graph().root,i=_e(t,a,r,n);f(i.vs,function(o,u){t.node(o).order=u}),Qn(t,r,i.vs)})}function fe(e,n){f(n,function(r){f(r,function(t,a){e.node(t).order=a})})}function pr(e){var n=wr(e);f(e.graph().dummyChains,function(r){for(var t=e.node(r),a=t.edgeObj,i=br(e,n,a.v,a.w),o=i.path,u=i.lca,d=0,s=o[d],c=!0;r!==a.w;){if(t=e.node(r),c){for(;(s=o[d])!==u&&e.node(s).maxRank<t.rank;)d++;s===u&&(c=!1)}if(!c){for(;d<o.length-1&&e.node(s=o[d+1]).minRank<=t.rank;)d++;s=o[d]}e.setParent(r,s),r=e.successors(r)[0]}})}function br(e,n,r,t){var a=[],i=[],o=Math.min(n[r].low,n[t].low),u=Math.max(n[r].lim,n[t].lim),d,s;d=r;do d=e.parent(d),a.push(d);while(d&&(n[d].low>o||u>n[d].lim));for(s=d,d=t;(d=e.parent(d))!==s;)i.push(d);return{path:a.concat(i.reverse()),lca:s}}function wr(e){var n={},r=0;function t(a){var i=r;f(e.children(a),t),n[a]={low:i,lim:r++}}return f(e.children(),t),n}function mr(e,n){var r={};function t(a,i){var o=0,u=0,d=a.length,s=T(i);return f(i,function(c,l){var h=yr(e,c),v=h?e.node(h).order:d;(h||c===s)&&(f(i.slice(u,l+1),function(p){f(e.predecessors(p),function(w){var N=e.node(w),Q=N.order;(Q<o||v<Q)&&!(N.dummy&&e.node(p).dummy)&&Re(r,w,p)})}),u=l+1,o=v)}),i}return M(n,t),r}function gr(e,n){var r={};function t(i,o,u,d,s){var c;f(E(o,u),function(l){c=i[l],e.node(c).dummy&&f(e.predecessors(c),function(h){var v=e.node(h);v.dummy&&(v.order<d||v.order>s)&&Re(r,h,c)})})}function a(i,o){var u=-1,d,s=0;return f(o,function(c,l){if(e.node(c).dummy==="border"){var h=e.predecessors(c);h.length&&(d=e.node(h[0]).order,t(o,s,l,u,d),s=l,u=d)}t(o,s,o.length,d,i.length)}),o}return M(n,a),r}function yr(e,n){if(e.node(n).dummy)return X(e.predecessors(n),function(r){return e.node(r).dummy})}function Re(e,n,r){if(n>r){var t=n;n=r,r=t}Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,configurable:!0,value:{},writable:!0});var a=e[n];Object.defineProperty(a,r,{enumerable:!0,configurable:!0,value:!0,writable:!0})}function kr(e,n,r){if(n>r){var t=n;n=r,r=t}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}function xr(e,n,r,t){var a={},i={},o={};return f(n,function(u){f(u,function(d,s){a[d]=d,i[d]=d,o[d]=s})}),f(n,function(u){var d=-1;f(u,function(s){var c=t(s);if(c.length){c=R(c,function(w){return o[w]});for(var l=(c.length-1)/2,h=Math.floor(l),v=Math.ceil(l);h<=v;++h){var p=c[h];i[s]===s&&d<o[p]&&!kr(r,s,p)&&(i[p]=s,i[s]=a[s]=a[p],d=o[p])}}})}),{root:a,align:i}}function Er(e,n,r,t,a){var i={},o=Or(e,n,r,a),u=a?"borderLeft":"borderRight";function d(l,h){for(var v=o.nodes(),p=v.pop(),w={};p;)w[p]?l(p):(w[p]=!0,v.push(p),v=v.concat(h(p))),p=v.pop()}function s(l){i[l]=o.inEdges(l).reduce(function(h,v){return Math.max(h,i[v.v]+o.edge(v))},0)}function c(l){var h=o.outEdges(l).reduce(function(p,w){return Math.min(p,i[w.w]-o.edge(w))},Number.POSITIVE_INFINITY),v=e.node(l);h!==Number.POSITIVE_INFINITY&&v.borderType!==u&&(i[l]=Math.max(i[l],h))}return d(s,o.predecessors.bind(o)),d(c,o.successors.bind(o)),f(t,function(l){i[l]=i[r[l]]}),i}function Or(e,n,r,t){var a=new g,i=e.graph(),o=_r(i.nodesep,i.edgesep,t);return f(n,function(u){var d;f(u,function(s){var c=r[s];if(a.setNode(c),d){var l=r[d],h=a.edge(l,c);a.setEdge(l,c,Math.max(o(e,s,d),h||0))}d=s})}),a}function Lr(e,n){return U(x(n),function(r){var t=Number.NEGATIVE_INFINITY,a=Number.POSITIVE_INFINITY;return Qe(r,function(i,o){var u=Rr(e,o)/2;t=Math.max(i+u,t),a=Math.min(i-u,a)}),t-a})}function Nr(e,n){var r=x(n),t=P(r),a=y(r);f(["u","d"],function(i){f(["l","r"],function(o){var u=i+o,d=e[u],s;if(d!==n){var c=x(d);s=o==="l"?t-P(c):a-y(c),s&&(e[u]=S(d,function(l){return l+s}))}})})}function Pr(e,n){return S(e.ul,function(r,t){if(n)return e[n.toLowerCase()][t];var a=R(b(e,t));return(a[1]+a[2])/2})}function Cr(e){var n=j(e),r=$(mr(e,n),gr(e,n)),t={},a;f(["u","d"],function(o){a=o==="u"?n:x(n).reverse(),f(["l","r"],function(u){u==="r"&&(a=b(a,function(l){return x(l).reverse()}));var d=(o==="u"?e.predecessors:e.successors).bind(e),s=xr(e,a,r,d),c=Er(e,a,s.root,s.align,u==="r");u==="r"&&(c=S(c,function(l){return-l})),t[o+u]=c})});var i=Lr(e,t);return Nr(t,i),Pr(t,e.graph().align)}function _r(e,n,r){return function(t,a,i){var o=t.node(a),u=t.node(i),d=0,s;if(d+=o.width/2,Object.prototype.hasOwnProperty.call(o,"labelpos"))switch(o.labelpos.toLowerCase()){case"l":s=-o.width/2;break;case"r":s=o.width/2;break}if(s&&(d+=r?s:-s),s=0,d+=(o.dummy?n:e)/2,d+=(u.dummy?n:e)/2,d+=u.width/2,Object.prototype.hasOwnProperty.call(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":s=u.width/2;break;case"r":s=-u.width/2;break}return s&&(d+=r?s:-s),s=0,d}}function Rr(e,n){return e.node(n).width}function Tr(e){e=we(e),Ir(e),en(Cr(e),function(n,r){e.node(r).x=n})}function Ir(e){var n=j(e),r=e.graph().ranksep,t=0;f(n,function(a){var i=y(b(a,function(o){return e.node(o).height}));f(a,function(o){e.node(o).y=t+i/2}),t+=i+r})}function ot(e,n){var r=Cn;r("layout",()=>{var t=r(" buildLayoutGraph",()=>qr(e));r(" runLayout",()=>Mr(t,r)),r(" updateInputGraph",()=>Sr(e,t))})}function Mr(e,n){n(" makeSpaceForEdgeLabels",()=>$r(e)),n(" removeSelfEdges",()=>Qr(e)),n(" acyclic",()=>kn(e)),n(" nestingGraph.run",()=>Hn(e)),n(" rank",()=>zn(we(e))),n(" injectEdgeLabelProxies",()=>Wr(e)),n(" removeEmptyRanks",()=>Nn(e)),n(" nestingGraph.cleanup",()=>Kn(e)),n(" normalizeRanks",()=>Ln(e)),n(" assignRankMinMax",()=>zr(e)),n(" removeEdgeLabelProxies",()=>Xr(e)),n(" normalize.run",()=>Sn(e)),n(" parentDummyChains",()=>pr(e)),n(" addBorderSegments",()=>_n(e)),n(" order",()=>hr(e)),n(" insertSelfEdges",()=>et(e)),n(" adjustCoordinateSystem",()=>Rn(e)),n(" position",()=>Tr(e)),n(" positionSelfEdges",()=>nt(e)),n(" removeBorderNodes",()=>Kr(e)),n(" normalize.undo",()=>Fn(e)),n(" fixupEdgeLabelCoords",()=>Jr(e)),n(" undoCoordinateSystem",()=>Tn(e)),n(" translateGraph",()=>Ur(e)),n(" assignNodeIntersects",()=>Hr(e)),n(" reversePoints",()=>Zr(e)),n(" acyclic.undo",()=>En(e))}function Sr(e,n){f(e.nodes(),function(r){var t=e.node(r),a=n.node(r);t&&(t.x=a.x,t.y=a.y,n.children(r).length&&(t.width=a.width,t.height=a.height))}),f(e.edges(),function(r){var t=e.edge(r),a=n.edge(r);t.points=a.points,Object.prototype.hasOwnProperty.call(a,"x")&&(t.x=a.x,t.y=a.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}var jr=["nodesep","edgesep","ranksep","marginx","marginy"],Fr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Vr=["acyclicer","ranker","rankdir","align"],Ar=["width","height"],Br={width:0,height:0},Gr=["minlen","weight","width","height","labeloffset"],Yr={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Dr=["labelpos"];function qr(e){var n=new g({multigraph:!0,compound:!0}),r=D(e.graph());return n.setGraph($({},Fr,Y(r,jr),I(r,Vr))),f(e.nodes(),function(t){var a=D(e.node(t));n.setNode(t,Be(Y(a,Ar),Br)),n.setParent(t,e.parent(t))}),f(e.edges(),function(t){var a=D(e.edge(t));n.setEdge(t,$({},Yr,Y(a,Gr),I(a,Dr)))}),n}function $r(e){var n=e.graph();n.ranksep/=2,f(e.edges(),function(r){var t=e.edge(r);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}function Wr(e){f(e.edges(),function(n){var r=e.edge(n);if(r.width&&r.height){var t=e.node(n.v),a=e.node(n.w),i={rank:(a.rank-t.rank)/2+t.rank,e:n};L(e,"edge-proxy",i,"_ep")}})}function zr(e){var n=0;f(e.nodes(),function(r){var t=e.node(r);t.borderTop&&(t.minRank=e.node(t.borderTop).rank,t.maxRank=e.node(t.borderBottom).rank,n=y(n,t.maxRank))}),e.graph().maxRank=n}function Xr(e){f(e.nodes(),function(n){var r=e.node(n);r.dummy==="edge-proxy"&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))})}function Ur(e){var n=Number.POSITIVE_INFINITY,r=0,t=Number.POSITIVE_INFINITY,a=0,i=e.graph(),o=i.marginx||0,u=i.marginy||0;function d(s){var c=s.x,l=s.y,h=s.width,v=s.height;n=Math.min(n,c-h/2),r=Math.max(r,c+h/2),t=Math.min(t,l-v/2),a=Math.max(a,l+v/2)}f(e.nodes(),function(s){d(e.node(s))}),f(e.edges(),function(s){var c=e.edge(s);Object.prototype.hasOwnProperty.call(c,"x")&&d(c)}),n-=o,t-=u,f(e.nodes(),function(s){var c=e.node(s);c.x-=n,c.y-=t}),f(e.edges(),function(s){var c=e.edge(s);f(c.points,function(l){l.x-=n,l.y-=t}),Object.prototype.hasOwnProperty.call(c,"x")&&(c.x-=n),Object.prototype.hasOwnProperty.call(c,"y")&&(c.y-=t)}),i.width=r-n+o,i.height=a-t+u}function Hr(e){f(e.edges(),function(n){var r=e.edge(n),t=e.node(n.v),a=e.node(n.w),i,o;r.points?(i=r.points[0],o=r.points[r.points.length-1]):(r.points=[],i=a,o=t),r.points.unshift(re(t,i)),r.points.push(re(a,o))})}function Jr(e){f(e.edges(),function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function Zr(e){f(e.edges(),function(n){var r=e.edge(n);r.reversed&&r.points.reverse()})}function Kr(e){f(e.nodes(),function(n){if(e.children(n).length){var r=e.node(n),t=e.node(r.borderTop),a=e.node(r.borderBottom),i=e.node(T(r.borderLeft)),o=e.node(T(r.borderRight));r.width=Math.abs(o.x-i.x),r.height=Math.abs(a.y-t.y),r.x=i.x+r.width/2,r.y=t.y+r.height/2}}),f(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}function Qr(e){f(e.edges(),function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}function et(e){var n=j(e);f(n,function(r){var t=0;f(r,function(a,i){var o=e.node(a);o.order=i+t,f(o.selfEdges,function(u){L(e,"selfedge",{width:u.label.width,height:u.label.height,rank:o.rank,order:i+ ++t,e:u.e,label:u.label},"_se")}),delete o.selfEdges})})}function nt(e){f(e.nodes(),function(n){var r=e.node(n);if(r.dummy==="selfedge"){var t=e.node(r.e.v),a=t.x+t.width/2,i=t.y,o=r.x-a,u=t.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:a+2*o/3,y:i-u},{x:a+5*o/6,y:i-u},{x:a+o,y:i},{x:a+5*o/6,y:i+u},{x:a+2*o/3,y:i+u}],r.label.x=r.x,r.label.y=r.y}})}function Y(e,n){return S(I(e,n),Number)}function D(e){var n={};return f(e,function(r,t){n[t.toLowerCase()]=r}),n}export{ot as l};
@@ -0,0 +1,29 @@
1
+ function Ii(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function Wn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function tf(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var i=!1;try{i=this instanceof r}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var gn={exports:{}},Be={};var xt;function vi(){if(xt)return Be;xt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,o){var l=null;if(o!==void 0&&(l=""+o),i.key!==void 0&&(l=""+i.key),"key"in i){o={};for(var u in i)u!=="key"&&(o[u]=i[u])}else o=i;return i=o.ref,{$$typeof:e,type:r,key:l,ref:i!==void 0?i:null,props:o}}return Be.Fragment=t,Be.jsx=n,Be.jsxs=n,Be}var bt;function _i(){return bt||(bt=1,gn.exports=vi()),gn.exports}var dn=_i(),yn={exports:{}},B={};var wt;function Pi(){if(wt)return B;wt=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),s=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),c=Symbol.for("react.activity"),h=Symbol.iterator;function p(d){return d===null||typeof d!="object"?null:(d=h&&d[h]||d["@@iterator"],typeof d=="function"?d:null)}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,C={};function k(d,E,m){this.props=d,this.context=E,this.refs=C,this.updater=m||y}k.prototype.isReactComponent={},k.prototype.setState=function(d,E){if(typeof d!="object"&&typeof d!="function"&&d!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,d,E,"setState")},k.prototype.forceUpdate=function(d){this.updater.enqueueForceUpdate(this,d,"forceUpdate")};function I(){}I.prototype=k.prototype;function T(d,E,m){this.props=d,this.context=E,this.refs=C,this.updater=m||y}var M=T.prototype=new I;M.constructor=T,S(M,k.prototype),M.isPureReactComponent=!0;var N=Array.isArray;function b(){}var P={H:null,A:null,T:null,S:null},Y=Object.prototype.hasOwnProperty;function q(d,E,m){var D=m.ref;return{$$typeof:e,type:d,key:E,ref:D!==void 0?D:null,props:m}}function x(d,E){return q(d.type,E,d.props)}function R(d){return typeof d=="object"&&d!==null&&d.$$typeof===e}function z(d){var E={"=":"=0",":":"=2"};return"$"+d.replace(/[=:]/g,function(m){return E[m]})}var Q=/\/+/g;function L(d,E){return typeof d=="object"&&d!==null&&d.key!=null?z(""+d.key):E.toString(36)}function _(d){switch(d.status){case"fulfilled":return d.value;case"rejected":throw d.reason;default:switch(typeof d.status=="string"?d.then(b,b):(d.status="pending",d.then(function(E){d.status==="pending"&&(d.status="fulfilled",d.value=E)},function(E){d.status==="pending"&&(d.status="rejected",d.reason=E)})),d.status){case"fulfilled":return d.value;case"rejected":throw d.reason}}throw d}function V(d,E,m,D,$){var F=typeof d;(F==="undefined"||F==="boolean")&&(d=null);var G=!1;if(d===null)G=!0;else switch(F){case"bigint":case"string":case"number":G=!0;break;case"object":switch(d.$$typeof){case e:case t:G=!0;break;case f:return G=d._init,V(G(d._payload),E,m,D,$)}}if(G)return $=$(d),G=D===""?"."+L(d,0):D,N($)?(m="",G!=null&&(m=G.replace(Q,"$&/")+"/"),V($,E,m,"",function(Se){return Se})):$!=null&&(R($)&&($=x($,m+($.key==null||d&&d.key===$.key?"":(""+$.key).replace(Q,"$&/")+"/")+G)),E.push($)),1;G=0;var re=D===""?".":D+":";if(N(d))for(var ne=0;ne<d.length;ne++)D=d[ne],F=re+L(D,ne),G+=V(D,E,m,F,$);else if(ne=p(d),typeof ne=="function")for(d=ne.call(d),ne=0;!(D=d.next()).done;)D=D.value,F=re+L(D,ne++),G+=V(D,E,m,F,$);else if(F==="object"){if(typeof d.then=="function")return V(_(d),E,m,D,$);throw E=String(d),Error("Objects are not valid as a React child (found: "+(E==="[object Object]"?"object with keys {"+Object.keys(d).join(", ")+"}":E)+"). If you meant to render a collection of children, use an array instead.")}return G}function ee(d,E,m){if(d==null)return d;var D=[],$=0;return V(d,D,"","",function(F){return E.call(m,F,$++)}),D}function se(d){if(d._status===-1){var E=d._result;E=E(),E.then(function(m){(d._status===0||d._status===-1)&&(d._status=1,d._result=m)},function(m){(d._status===0||d._status===-1)&&(d._status=2,d._result=m)}),d._status===-1&&(d._status=0,d._result=E)}if(d._status===1)return d._result.default;throw d._result}var he=typeof reportError=="function"?reportError:function(d){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var E=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof d=="object"&&d!==null&&typeof d.message=="string"?String(d.message):String(d),error:d});if(!window.dispatchEvent(E))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",d);return}console.error(d)},g={map:ee,forEach:function(d,E,m){ee(d,function(){E.apply(this,arguments)},m)},count:function(d){var E=0;return ee(d,function(){E++}),E},toArray:function(d){return ee(d,function(E){return E})||[]},only:function(d){if(!R(d))throw Error("React.Children.only expected to receive a single React element child.");return d}};return B.Activity=c,B.Children=g,B.Component=k,B.Fragment=n,B.Profiler=i,B.PureComponent=T,B.StrictMode=r,B.Suspense=a,B.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,B.__COMPILER_RUNTIME={__proto__:null,c:function(d){return P.H.useMemoCache(d)}},B.cache=function(d){return function(){return d.apply(null,arguments)}},B.cacheSignal=function(){return null},B.cloneElement=function(d,E,m){if(d==null)throw Error("The argument must be a React element, but you passed "+d+".");var D=S({},d.props),$=d.key;if(E!=null)for(F in E.key!==void 0&&($=""+E.key),E)!Y.call(E,F)||F==="key"||F==="__self"||F==="__source"||F==="ref"&&E.ref===void 0||(D[F]=E[F]);var F=arguments.length-2;if(F===1)D.children=m;else if(1<F){for(var G=Array(F),re=0;re<F;re++)G[re]=arguments[re+2];D.children=G}return q(d.type,$,D)},B.createContext=function(d){return d={$$typeof:l,_currentValue:d,_currentValue2:d,_threadCount:0,Provider:null,Consumer:null},d.Provider=d,d.Consumer={$$typeof:o,_context:d},d},B.createElement=function(d,E,m){var D,$={},F=null;if(E!=null)for(D in E.key!==void 0&&(F=""+E.key),E)Y.call(E,D)&&D!=="key"&&D!=="__self"&&D!=="__source"&&($[D]=E[D]);var G=arguments.length-2;if(G===1)$.children=m;else if(1<G){for(var re=Array(G),ne=0;ne<G;ne++)re[ne]=arguments[ne+2];$.children=re}if(d&&d.defaultProps)for(D in G=d.defaultProps,G)$[D]===void 0&&($[D]=G[D]);return q(d,F,$)},B.createRef=function(){return{current:null}},B.forwardRef=function(d){return{$$typeof:u,render:d}},B.isValidElement=R,B.lazy=function(d){return{$$typeof:f,_payload:{_status:-1,_result:d},_init:se}},B.memo=function(d,E){return{$$typeof:s,type:d,compare:E===void 0?null:E}},B.startTransition=function(d){var E=P.T,m={};P.T=m;try{var D=d(),$=P.S;$!==null&&$(m,D),typeof D=="object"&&D!==null&&typeof D.then=="function"&&D.then(b,he)}catch(F){he(F)}finally{E!==null&&m.types!==null&&(E.types=m.types),P.T=E}},B.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},B.use=function(d){return P.H.use(d)},B.useActionState=function(d,E,m){return P.H.useActionState(d,E,m)},B.useCallback=function(d,E){return P.H.useCallback(d,E)},B.useContext=function(d){return P.H.useContext(d)},B.useDebugValue=function(){},B.useDeferredValue=function(d,E){return P.H.useDeferredValue(d,E)},B.useEffect=function(d,E){return P.H.useEffect(d,E)},B.useEffectEvent=function(d){return P.H.useEffectEvent(d)},B.useId=function(){return P.H.useId()},B.useImperativeHandle=function(d,E,m){return P.H.useImperativeHandle(d,E,m)},B.useInsertionEffect=function(d,E){return P.H.useInsertionEffect(d,E)},B.useLayoutEffect=function(d,E){return P.H.useLayoutEffect(d,E)},B.useMemo=function(d,E){return P.H.useMemo(d,E)},B.useOptimistic=function(d,E){return P.H.useOptimistic(d,E)},B.useReducer=function(d,E,m){return P.H.useReducer(d,E,m)},B.useRef=function(d){return P.H.useRef(d)},B.useState=function(d){return P.H.useState(d)},B.useSyncExternalStore=function(d,E,m){return P.H.useSyncExternalStore(d,E,m)},B.useTransition=function(){return P.H.useTransition()},B.version="19.2.4",B}var St;function Ri(){return St||(St=1,yn.exports=Pi()),yn.exports}var qe=Ri();const zi=Wn(qe),rf=Ii({__proto__:null,default:zi},[qe]);function Li(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Di=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Oi=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Fi={};function Ct(e,t){return(Fi.jsx?Oi:Di).test(e)}const Mi=/[ \t\n\f\r]/g;function Ni(e){return typeof e=="object"?e.type==="text"?Et(e.value):!1:Et(e)}function Et(e){return e.replace(Mi,"")===""}class Ge{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Ge.prototype.normal={};Ge.prototype.property={};Ge.prototype.space=void 0;function hr(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Ge(n,r,t)}function On(e){return e.toLowerCase()}class ae{constructor(t,n){this.attribute=n,this.property=t}}ae.prototype.attribute="";ae.prototype.booleanish=!1;ae.prototype.boolean=!1;ae.prototype.commaOrSpaceSeparated=!1;ae.prototype.commaSeparated=!1;ae.prototype.defined=!1;ae.prototype.mustUseProperty=!1;ae.prototype.number=!1;ae.prototype.overloadedBoolean=!1;ae.prototype.property="";ae.prototype.spaceSeparated=!1;ae.prototype.space=void 0;let Bi=0;const H=ve(),te=ve(),Fn=ve(),A=ve(),Z=ve(),Le=ve(),fe=ve();function ve(){return 2**++Bi}const Mn=Object.freeze(Object.defineProperty({__proto__:null,boolean:H,booleanish:te,commaOrSpaceSeparated:fe,commaSeparated:Le,number:A,overloadedBoolean:Fn,spaceSeparated:Z},Symbol.toStringTag,{value:"Module"})),kn=Object.keys(Mn);class Yn extends ae{constructor(t,n,r,i){let o=-1;if(super(t,n),Tt(this,"space",i),typeof r=="number")for(;++o<kn.length;){const l=kn[o];Tt(this,kn[o],(r&Mn[l])===Mn[l])}}}Yn.prototype.defined=!0;function Tt(e,t,n){n&&(e[t]=n)}function Oe(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const o=new Yn(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[On(r)]=r,n[On(o.attribute)]=r}return new Ge(t,n,e.space)}const mr=Oe({properties:{ariaActiveDescendant:null,ariaAtomic:te,ariaAutoComplete:null,ariaBusy:te,ariaChecked:te,ariaColCount:A,ariaColIndex:A,ariaColSpan:A,ariaControls:Z,ariaCurrent:null,ariaDescribedBy:Z,ariaDetails:null,ariaDisabled:te,ariaDropEffect:Z,ariaErrorMessage:null,ariaExpanded:te,ariaFlowTo:Z,ariaGrabbed:te,ariaHasPopup:null,ariaHidden:te,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Z,ariaLevel:A,ariaLive:null,ariaModal:te,ariaMultiLine:te,ariaMultiSelectable:te,ariaOrientation:null,ariaOwns:Z,ariaPlaceholder:null,ariaPosInSet:A,ariaPressed:te,ariaReadOnly:te,ariaRelevant:null,ariaRequired:te,ariaRoleDescription:Z,ariaRowCount:A,ariaRowIndex:A,ariaRowSpan:A,ariaSelected:te,ariaSetSize:A,ariaSort:null,ariaValueMax:A,ariaValueMin:A,ariaValueNow:A,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function gr(e,t){return t in e?e[t]:t}function dr(e,t){return gr(e,t.toLowerCase())}const ji=Oe({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Le,acceptCharset:Z,accessKey:Z,action:null,allow:null,allowFullScreen:H,allowPaymentRequest:H,allowUserMedia:H,alt:null,as:null,async:H,autoCapitalize:null,autoComplete:Z,autoFocus:H,autoPlay:H,blocking:Z,capture:null,charSet:null,checked:H,cite:null,className:Z,cols:A,colSpan:null,content:null,contentEditable:te,controls:H,controlsList:Z,coords:A|Le,crossOrigin:null,data:null,dateTime:null,decoding:null,default:H,defer:H,dir:null,dirName:null,disabled:H,download:Fn,draggable:te,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:H,formTarget:null,headers:Z,height:A,hidden:Fn,high:A,href:null,hrefLang:null,htmlFor:Z,httpEquiv:Z,id:null,imageSizes:null,imageSrcSet:null,inert:H,inputMode:null,integrity:null,is:null,isMap:H,itemId:null,itemProp:Z,itemRef:Z,itemScope:H,itemType:Z,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:H,low:A,manifest:null,max:null,maxLength:A,media:null,method:null,min:null,minLength:A,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:A,pattern:null,ping:Z,placeholder:null,playsInline:H,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:H,referrerPolicy:null,rel:Z,required:H,reversed:H,rows:A,rowSpan:A,sandbox:Z,scope:null,scoped:H,seamless:H,selected:H,shadowRootClonable:H,shadowRootDelegatesFocus:H,shadowRootMode:null,shape:null,size:A,sizes:null,slot:null,span:A,spellCheck:te,src:null,srcDoc:null,srcLang:null,srcSet:null,start:A,step:null,style:null,tabIndex:A,target:null,title:null,translate:null,type:null,typeMustMatch:H,useMap:null,value:te,width:A,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Z,axis:null,background:null,bgColor:null,border:A,borderColor:null,bottomMargin:A,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:A,leftMargin:A,link:null,longDesc:null,lowSrc:null,marginHeight:A,marginWidth:A,noResize:H,noHref:H,noShade:H,noWrap:H,object:null,profile:null,prompt:null,rev:null,rightMargin:A,rules:null,scheme:null,scrolling:te,standby:null,summary:null,text:null,topMargin:A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:A,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:H,disableRemotePlayback:H,prefix:null,property:null,results:A,security:null,unselectable:null},space:"html",transform:dr}),Hi=Oe({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:fe,accentHeight:A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:A,amplitude:A,arabicForm:null,ascent:A,attributeName:null,attributeType:null,azimuth:A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:A,by:null,calcMode:null,capHeight:A,className:Z,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:A,diffuseConstant:A,direction:null,display:null,dur:null,divisor:A,dominantBaseline:null,download:H,dx:null,dy:null,edgeMode:null,editable:null,elevation:A,enableBackground:null,end:null,event:null,exponent:A,externalResourcesRequired:null,fill:null,fillOpacity:A,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:Le,g2:Le,glyphName:Le,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:A,horizOriginX:A,horizOriginY:A,id:null,ideographic:A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:A,k:A,k1:A,k2:A,k3:A,k4:A,kernelMatrix:fe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:A,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:A,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:A,overlineThickness:A,paintOrder:null,panose1:null,path:null,pathLength:A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Z,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:A,pointsAtY:A,pointsAtZ:A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:fe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:fe,rev:fe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:fe,requiredFeatures:fe,requiredFonts:fe,requiredFormats:fe,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:A,specularExponent:A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:A,strikethroughThickness:A,string:null,stroke:null,strokeDashArray:fe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:A,strokeOpacity:A,strokeWidth:null,style:null,surfaceScale:A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:fe,tabIndex:A,tableValues:null,target:null,targetX:A,targetY:A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:fe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:A,underlineThickness:A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:A,values:null,vAlphabetic:A,vMathematical:A,vectorEffect:null,vHanging:A,vIdeographic:A,version:null,vertAdvY:A,vertOriginX:A,vertOriginY:A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:gr}),yr=Oe({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),kr=Oe({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:dr}),xr=Oe({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),$i={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Ui=/[A-Z]/g,At=/-[a-z]/g,qi=/^data[-\w.:]+$/i;function Vi(e,t){const n=On(t);let r=t,i=ae;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&qi.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(At,Yi);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!At.test(o)){let l=o.replace(Ui,Wi);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=Yn}return new i(r,t)}function Wi(e){return"-"+e.toLowerCase()}function Yi(e){return e.charAt(1).toUpperCase()}const Xi=hr([mr,ji,yr,kr,xr],"html"),Xn=hr([mr,Hi,yr,kr,xr],"svg");function Qi(e){return e.join(" ").trim()}var Pe={},xn,It;function Gi(){if(It)return xn;It=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g,a=`
2
+ `,s="/",f="*",c="",h="comment",p="declaration";function y(C,k){if(typeof C!="string")throw new TypeError("First argument must be a string");if(!C)return[];k=k||{};var I=1,T=1;function M(L){var _=L.match(t);_&&(I+=_.length);var V=L.lastIndexOf(a);T=~V?L.length-V:T+L.length}function N(){var L={line:I,column:T};return function(_){return _.position=new b(L),q(),_}}function b(L){this.start=L,this.end={line:I,column:T},this.source=k.source}b.prototype.content=C;function P(L){var _=new Error(k.source+":"+I+":"+T+": "+L);if(_.reason=L,_.filename=k.source,_.line=I,_.column=T,_.source=C,!k.silent)throw _}function Y(L){var _=L.exec(C);if(_){var V=_[0];return M(V),C=C.slice(V.length),_}}function q(){Y(n)}function x(L){var _;for(L=L||[];_=R();)_!==!1&&L.push(_);return L}function R(){var L=N();if(!(s!=C.charAt(0)||f!=C.charAt(1))){for(var _=2;c!=C.charAt(_)&&(f!=C.charAt(_)||s!=C.charAt(_+1));)++_;if(_+=2,c===C.charAt(_-1))return P("End of comment missing");var V=C.slice(2,_-2);return T+=2,M(V),C=C.slice(_),T+=2,L({type:h,comment:V})}}function z(){var L=N(),_=Y(r);if(_){if(R(),!Y(i))return P("property missing ':'");var V=Y(o),ee=L({type:p,property:S(_[0].replace(e,c)),value:V?S(V[0].replace(e,c)):c});return Y(l),ee}}function Q(){var L=[];x(L);for(var _;_=z();)_!==!1&&(L.push(_),x(L));return L}return q(),Q()}function S(C){return C?C.replace(u,c):c}return xn=y,xn}var vt;function Ji(){if(vt)return Pe;vt=1;var e=Pe&&Pe.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.default=n;const t=e(Gi());function n(r,i){let o=null;if(!r||typeof r!="string")return o;const l=(0,t.default)(r),u=typeof i=="function";return l.forEach(a=>{if(a.type!=="declaration")return;const{property:s,value:f}=a;u?i(s,f,a):f&&(o=o||{},o[s]=f)}),o}return Pe}var je={},_t;function Ki(){if(_t)return je;_t=1,Object.defineProperty(je,"__esModule",{value:!0}),je.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,o=function(s){return!s||n.test(s)||e.test(s)},l=function(s,f){return f.toUpperCase()},u=function(s,f){return"".concat(f,"-")},a=function(s,f){return f===void 0&&(f={}),o(s)?s:(s=s.toLowerCase(),f.reactCompat?s=s.replace(i,u):s=s.replace(r,u),s.replace(t,l))};return je.camelCase=a,je}var He,Pt;function Zi(){if(Pt)return He;Pt=1;var e=He&&He.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(Ji()),n=Ki();function r(i,o){var l={};return!i||typeof i!="string"||(0,t.default)(i,function(u,a){u&&a&&(l[(0,n.camelCase)(u,o)]=a)}),l}return r.default=r,He=r,He}var el=Zi();const nl=Wn(el),br=wr("end"),Qn=wr("start");function wr(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}}}function tl(e){const t=Qn(e),n=br(e);if(t&&n)return{start:t,end:n}}function Ve(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Rt(e.position):"start"in e||"end"in e?Rt(e):"line"in e||"column"in e?Nn(e):""}function Nn(e){return zt(e&&e.line)+":"+zt(e&&e.column)}function Rt(e){return Nn(e&&e.start)+"-"+Nn(e&&e.end)}function zt(e){return e&&typeof e=="number"?e:1}class le extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},l=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(l=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const a=r.indexOf(":");a===-1?o.ruleId=r:(o.source=r.slice(0,a),o.ruleId=r.slice(a+1))}if(!o.place&&o.ancestors&&o.ancestors){const a=o.ancestors[o.ancestors.length-1];a&&(o.place=a.position)}const u=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=u?u.line:void 0,this.name=Ve(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}le.prototype.file="";le.prototype.name="";le.prototype.reason="";le.prototype.message="";le.prototype.stack="";le.prototype.column=void 0;le.prototype.line=void 0;le.prototype.ancestors=void 0;le.prototype.cause=void 0;le.prototype.fatal=void 0;le.prototype.place=void 0;le.prototype.ruleId=void 0;le.prototype.source=void 0;const Gn={}.hasOwnProperty,rl=new Map,il=/[A-Z]/g,ll=new Set(["table","tbody","thead","tfoot","tr"]),ol=new Set(["td","th"]),Sr="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ul(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=gl(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=ml(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Xn:Xi,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=Cr(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function Cr(e,t,n){if(t.type==="element")return al(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return sl(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return fl(e,t,n);if(t.type==="mdxjsEsm")return cl(e,t);if(t.type==="root")return pl(e,t,n);if(t.type==="text")return hl(e,t)}function al(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Xn,e.schema=i),e.ancestors.push(t);const o=Tr(e,t.tagName,!1),l=dl(e,t);let u=Kn(e,t);return ll.has(t.tagName)&&(u=u.filter(function(a){return typeof a=="string"?!Ni(a):!0})),Er(e,l,o,t),Jn(l,u),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function sl(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Xe(e,t.position)}function cl(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Xe(e,t.position)}function fl(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Xn,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:Tr(e,t.name,!0),l=yl(e,t),u=Kn(e,t);return Er(e,l,o,t),Jn(l,u),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function pl(e,t,n){const r={};return Jn(r,Kn(e,t)),e.create(t,e.Fragment,r,n)}function hl(e,t){return t.value}function Er(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Jn(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function ml(e,t,n){return r;function r(i,o,l,u){const s=Array.isArray(l.children)?n:t;return u?s(o,l,u):s(o,l)}}function gl(e,t){return n;function n(r,i,o,l){const u=Array.isArray(o.children),a=Qn(r);return t(i,o,l,u,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}function dl(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Gn.call(t.properties,i)){const o=kl(e,i,t.properties[i]);if(o){const[l,u]=o;e.tableCellAlignToStyle&&l==="align"&&typeof u=="string"&&ol.has(t.tagName)?r=u:n[l]=u}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function yl(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const l=o.expression;l.type;const u=l.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else Xe(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,o=e.evaluater.evaluateExpression(u.expression)}else Xe(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function Kn(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:rl;for(;++r<t.children.length;){const o=t.children[r];let l;if(e.passKeys){const a=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(a){const s=i.get(a)||0;l=a+"-"+s,i.set(a,s+1)}}const u=Cr(e,o,l);u!==void 0&&n.push(u)}return n}function kl(e,t,n){const r=Vi(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Li(n):Qi(n)),r.property==="style"){let i=typeof n=="object"?n:xl(e,String(n));return e.stylePropertyNameCase==="css"&&(i=bl(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?$i[r.property]||r.property:r.attribute,n]}}function xl(e,t){try{return nl(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new le("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=Sr+"#cannot-parse-style-attribute",i}}function Tr(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let o=-1,l;for(;++o<i.length;){const u=Ct(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};l=l?{type:"MemberExpression",object:l,property:u,computed:!!(o&&u.type==="Literal"),optional:!1}:u}r=l}else r=Ct(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Gn.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Xe(e)}function Xe(e,t){const n=new le("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Sr+"#cannot-handle-mdx-estrees-without-createevaluater",n}function bl(e){const t={};let n;for(n in e)Gn.call(e,n)&&(t[wl(n)]=e[n]);return t}function wl(e){let t=e.replace(il,Sl);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Sl(e){return"-"+e.toLowerCase()}const bn={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Cl={};function Zn(e,t){const n=Cl,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Ar(e,r,i)}function Ar(e,t,n){if(El(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 Lt(e.children,t,n)}return Array.isArray(e)?Lt(e,t,n):""}function Lt(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Ar(e[i],t,n);return r.join("")}function El(e){return!!(e&&typeof e=="object")}const Dt=document.createElement("i");function et(e){const t="&"+e+";";Dt.innerHTML=t;const n=Dt.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function pe(e,t,n,r){const i=e.length;let o=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o<r.length;)l=r.slice(o,o+1e4),l.unshift(t,0),e.splice(...l),o+=1e4,t+=1e4}function me(e,t){return e.length>0?(pe(e,e.length,0,t),e):t}const Ot={}.hasOwnProperty;function Ir(e){const t={};let n=-1;for(;++n<e.length;)Tl(t,e[n]);return t}function Tl(e,t){let n;for(n in t){const i=(Ot.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let l;if(o)for(l in o){Ot.call(i,l)||(i[l]=[]);const u=o[l];Al(i[l],Array.isArray(u)?u:u?[u]:[])}}}function Al(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);pe(e,0,0,r)}function vr(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function de(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const oe=Ee(/[A-Za-z]/),ie=Ee(/[\dA-Za-z]/),Il=Ee(/[#-'*+\--9=?A-Z^-~]/);function on(e){return e!==null&&(e<32||e===127)}const Bn=Ee(/\d/),vl=Ee(/[\dA-Fa-f]/),_l=Ee(/[!-/:-@[-`{-~]/);function O(e){return e!==null&&e<-2}function K(e){return e!==null&&(e<0||e===32)}function U(e){return e===-2||e===-1||e===32}const cn=Ee(new RegExp("\\p{P}|\\p{S}","u")),Ie=Ee(/\s/);function Ee(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Fe(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let l="";if(o===37&&ie(e.charCodeAt(n+1))&&ie(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){const u=e.charCodeAt(n+1);o<56320&&u>56319&&u<57344?(l=String.fromCharCode(o,u),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function X(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(a){return U(a)?(e.enter(n),u(a)):t(a)}function u(a){return U(a)&&o++<i?(e.consume(a),u):(e.exit(n),t(a))}}const Pl={tokenize:Rl};function Rl(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),X(e,t,"linePrefix")}function i(u){return e.enter("paragraph"),o(u)}function o(u){const a=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=a),n=a,l(u)}function l(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return O(u)?(e.consume(u),e.exit("chunkText"),o):(e.consume(u),l)}}const zl={tokenize:Ll},Ft={tokenize:Dl};function Ll(e){const t=this,n=[];let r=0,i,o,l;return u;function u(T){if(r<n.length){const M=n[r];return t.containerState=M[1],e.attempt(M[0].continuation,a,s)(T)}return s(T)}function a(T){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&I();const M=t.events.length;let N=M,b;for(;N--;)if(t.events[N][0]==="exit"&&t.events[N][1].type==="chunkFlow"){b=t.events[N][1].end;break}k(r);let P=M;for(;P<t.events.length;)t.events[P][1].end={...b},P++;return pe(t.events,N+1,0,t.events.slice(M)),t.events.length=P,s(T)}return u(T)}function s(T){if(r===n.length){if(!i)return h(T);if(i.currentConstruct&&i.currentConstruct.concrete)return y(T);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Ft,f,c)(T)}function f(T){return i&&I(),k(r),h(T)}function c(T){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,y(T)}function h(T){return t.containerState={},e.attempt(Ft,p,y)(T)}function p(T){return r++,n.push([t.currentConstruct,t.containerState]),h(T)}function y(T){if(T===null){i&&I(),k(0),e.consume(T);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),S(T)}function S(T){if(T===null){C(e.exit("chunkFlow"),!0),k(0),e.consume(T);return}return O(T)?(e.consume(T),C(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(T),S)}function C(T,M){const N=t.sliceStream(T);if(M&&N.push(null),T.previous=o,o&&(o.next=T),o=T,i.defineSkip(T.start),i.write(N),t.parser.lazy[T.start.line]){let b=i.events.length;for(;b--;)if(i.events[b][1].start.offset<l&&(!i.events[b][1].end||i.events[b][1].end.offset>l))return;const P=t.events.length;let Y=P,q,x;for(;Y--;)if(t.events[Y][0]==="exit"&&t.events[Y][1].type==="chunkFlow"){if(q){x=t.events[Y][1].end;break}q=!0}for(k(r),b=P;b<t.events.length;)t.events[b][1].end={...x},b++;pe(t.events,Y+1,0,t.events.slice(P)),t.events.length=b}}function k(T){let M=n.length;for(;M-- >T;){const N=n[M];t.containerState=N[1],N[0].exit.call(t,e)}n.length=T}function I(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Dl(e,t,n){return X(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function De(e){if(e===null||K(e)||Ie(e))return 1;if(cn(e))return 2}function fn(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const jn={name:"attention",resolveAll:Ol,tokenize:Fl};function Ol(e,t){let n=-1,r,i,o,l,u,a,s,f;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;a=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 c={...e[r][1].end},h={...e[n][1].start};Mt(c,-a),Mt(h,a),l={type:a>1?"strongSequence":"emphasisSequence",start:c,end:{...e[r][1].end}},u={type:a>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:h},o={type:a>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:a>1?"strong":"emphasis",start:{...l.start},end:{...u.end}},e[r][1].end={...l.start},e[n][1].start={...u.end},s=[],e[r][1].end.offset-e[r][1].start.offset&&(s=me(s,[["enter",e[r][1],t],["exit",e[r][1],t]])),s=me(s,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]),s=me(s,fn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),s=me(s,[["exit",o,t],["enter",u,t],["exit",u,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,s=me(s,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,pe(e,r-1,n-r+3,s),n=r+s.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Fl(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=De(r);let o;return l;function l(a){return o=a,e.enter("attentionSequence"),u(a)}function u(a){if(a===o)return e.consume(a),u;const s=e.exit("attentionSequence"),f=De(a),c=!f||f===2&&i||n.includes(a),h=!i||i===2&&f||n.includes(r);return s._open=!!(o===42?c:c&&(i||!h)),s._close=!!(o===42?h:h&&(f||!c)),t(a)}}function Mt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Ml={name:"autolink",tokenize:Nl};function Nl(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(p){return oe(p)?(e.consume(p),l):p===64?n(p):s(p)}function l(p){return p===43||p===45||p===46||ie(p)?(r=1,u(p)):s(p)}function u(p){return p===58?(e.consume(p),r=0,a):(p===43||p===45||p===46||ie(p))&&r++<32?(e.consume(p),u):(r=0,s(p))}function a(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||on(p)?n(p):(e.consume(p),a)}function s(p){return p===64?(e.consume(p),f):Il(p)?(e.consume(p),s):n(p)}function f(p){return ie(p)?c(p):n(p)}function c(p){return p===46?(e.consume(p),r=0,f):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):h(p)}function h(p){if((p===45||ie(p))&&r++<63){const y=p===45?h:c;return e.consume(p),y}return n(p)}}const Je={partial:!0,tokenize:Bl};function Bl(e,t,n){return r;function r(o){return U(o)?X(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||O(o)?t(o):n(o)}}const _r={continuation:{tokenize:Hl},exit:$l,name:"blockQuote",tokenize:jl};function jl(e,t,n){const r=this;return i;function i(l){if(l===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),o}return n(l)}function o(l){return U(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function Hl(e,t,n){const r=this;return i;function i(l){return U(l)?X(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return e.attempt(_r,t,n)(l)}}function $l(e){e.exit("blockQuote")}const Pr={name:"characterEscape",tokenize:Ul};function Ul(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return _l(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const Rr={name:"characterReference",tokenize:ql};function ql(e,t,n){const r=this;let i=0,o,l;return u;function u(c){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),a}function a(c){return c===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(c),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),o=31,l=ie,f(c))}function s(c){return c===88||c===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(c),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=vl,f):(e.enter("characterReferenceValue"),o=7,l=Bn,f(c))}function f(c){if(c===59&&i){const h=e.exit("characterReferenceValue");return l===ie&&!et(r.sliceSerialize(h))?n(c):(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(c)&&i++<o?(e.consume(c),f):n(c)}}const Nt={partial:!0,tokenize:Wl},Bt={concrete:!0,name:"codeFenced",tokenize:Vl};function Vl(e,t,n){const r=this,i={partial:!0,tokenize:N};let o=0,l=0,u;return a;function a(b){return s(b)}function s(b){const P=r.events[r.events.length-1];return o=P&&P[1].type==="linePrefix"?P[2].sliceSerialize(P[1],!0).length:0,u=b,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(b)}function f(b){return b===u?(l++,e.consume(b),f):l<3?n(b):(e.exit("codeFencedFenceSequence"),U(b)?X(e,c,"whitespace")(b):c(b))}function c(b){return b===null||O(b)?(e.exit("codeFencedFence"),r.interrupt?t(b):e.check(Nt,S,M)(b)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(b))}function h(b){return b===null||O(b)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(b)):U(b)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),X(e,p,"whitespace")(b)):b===96&&b===u?n(b):(e.consume(b),h)}function p(b){return b===null||O(b)?c(b):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),y(b))}function y(b){return b===null||O(b)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(b)):b===96&&b===u?n(b):(e.consume(b),y)}function S(b){return e.attempt(i,M,C)(b)}function C(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),k}function k(b){return o>0&&U(b)?X(e,I,"linePrefix",o+1)(b):I(b)}function I(b){return b===null||O(b)?e.check(Nt,S,M)(b):(e.enter("codeFlowValue"),T(b))}function T(b){return b===null||O(b)?(e.exit("codeFlowValue"),I(b)):(e.consume(b),T)}function M(b){return e.exit("codeFenced"),t(b)}function N(b,P,Y){let q=0;return x;function x(_){return b.enter("lineEnding"),b.consume(_),b.exit("lineEnding"),R}function R(_){return b.enter("codeFencedFence"),U(_)?X(b,z,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(_):z(_)}function z(_){return _===u?(b.enter("codeFencedFenceSequence"),Q(_)):Y(_)}function Q(_){return _===u?(q++,b.consume(_),Q):q>=l?(b.exit("codeFencedFenceSequence"),U(_)?X(b,L,"whitespace")(_):L(_)):Y(_)}function L(_){return _===null||O(_)?(b.exit("codeFencedFence"),P(_)):Y(_)}}}function Wl(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const wn={name:"codeIndented",tokenize:Xl},Yl={partial:!0,tokenize:Ql};function Xl(e,t,n){const r=this;return i;function i(s){return e.enter("codeIndented"),X(e,o,"linePrefix",5)(s)}function o(s){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?l(s):n(s)}function l(s){return s===null?a(s):O(s)?e.attempt(Yl,l,a)(s):(e.enter("codeFlowValue"),u(s))}function u(s){return s===null||O(s)?(e.exit("codeFlowValue"),l(s)):(e.consume(s),u)}function a(s){return e.exit("codeIndented"),t(s)}}function Ql(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):O(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):X(e,o,"linePrefix",5)(l)}function o(l){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(l):O(l)?i(l):n(l)}}const Gl={name:"codeText",previous:Kl,resolve:Jl,tokenize:Zl};function Jl(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Kl(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Zl(e,t,n){let r=0,i,o;return l;function l(c){return e.enter("codeText"),e.enter("codeTextSequence"),u(c)}function u(c){return c===96?(e.consume(c),r++,u):(e.exit("codeTextSequence"),a(c))}function a(c){return c===null?n(c):c===32?(e.enter("space"),e.consume(c),e.exit("space"),a):c===96?(o=e.enter("codeTextSequence"),i=0,f(c)):O(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),a):(e.enter("codeTextData"),s(c))}function s(c){return c===null||c===32||c===96||O(c)?(e.exit("codeTextData"),a(c)):(e.consume(c),s)}function f(c){return c===96?(e.consume(c),i++,f):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(c)):(o.type="codeTextData",s(c))}}class eo{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 o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&$e(this.left,r),o.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),$e(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),$e(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);$e(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);$e(this.left,n.reverse())}}}function $e(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}function zr(e){const t={};let n=-1,r,i,o,l,u,a,s;const f=new eo(e);for(;++n<f.length;){for(;n in t;)n=t[n];if(r=f.get(n),n&&r[1].type==="chunkFlow"&&f.get(n-1)[1].type==="listItemPrefix"&&(a=r[1]._tokenizer.events,o=0,o<a.length&&a[o][1].type==="lineEndingBlank"&&(o+=2),o<a.length&&a[o][1].type==="content"))for(;++o<a.length&&a[o][1].type!=="content";)a[o][1].type==="chunkText"&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,no(f,n)),n=t[n],s=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(l=f.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(f.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...f.get(i)[1].start},u=f.slice(i,n),u.unshift(r),f.splice(i,n-i+1,u))}}return pe(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!s}function no(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const u=l.events,a=[],s={};let f,c,h=-1,p=n,y=0,S=0;const C=[S];for(;p;){for(;e.get(++i)[1]!==p;);o.push(i),p._tokenizer||(f=r.sliceStream(p),p.next||f.push(null),c&&l.defineSkip(p.start),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(f),p._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),c=p,p=p.next}for(p=n;++h<u.length;)u[h][0]==="exit"&&u[h-1][0]==="enter"&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(S=h+1,C.push(S),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(l.events=[],p?(p._tokenizer=void 0,p.previous=void 0):C.pop(),h=C.length;h--;){const k=u.slice(C[h],C[h+1]),I=o.pop();a.push([I,I+k.length-1]),e.splice(I,2,k)}for(a.reverse(),h=-1;++h<a.length;)s[y+a[h][0]]=y+a[h][1],y+=a[h][1]-a[h][0]-1;return s}const to={resolve:io,tokenize:lo},ro={partial:!0,tokenize:oo};function io(e){return zr(e),e}function lo(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(u)}function i(u){return u===null?o(u):O(u)?e.check(ro,l,o)(u):(e.consume(u),i)}function o(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function l(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function oo(e,t,n){const r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),X(e,o,"linePrefix")}function o(l){if(l===null||O(l))return n(l);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function Lr(e,t,n,r,i,o,l,u,a){const s=a||Number.POSITIVE_INFINITY;let f=0;return c;function c(k){return k===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(k),e.exit(o),h):k===null||k===32||k===41||on(k)?n(k):(e.enter(r),e.enter(l),e.enter(u),e.enter("chunkString",{contentType:"string"}),S(k))}function h(k){return k===62?(e.enter(o),e.consume(k),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(k))}function p(k){return k===62?(e.exit("chunkString"),e.exit(u),h(k)):k===null||k===60||O(k)?n(k):(e.consume(k),k===92?y:p)}function y(k){return k===60||k===62||k===92?(e.consume(k),p):p(k)}function S(k){return!f&&(k===null||k===41||K(k))?(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),t(k)):f<s&&k===40?(e.consume(k),f++,S):k===41?(e.consume(k),f--,S):k===null||k===32||k===40||on(k)?n(k):(e.consume(k),k===92?C:S)}function C(k){return k===40||k===41||k===92?(e.consume(k),S):S(k)}}function Dr(e,t,n,r,i,o){const l=this;let u=0,a;return s;function s(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(o),f}function f(p){return u>999||p===null||p===91||p===93&&!a||p===94&&!u&&"_hiddenFootnoteSupport"in l.parser.constructs?n(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):O(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===null||p===91||p===93||O(p)||u++>999?(e.exit("chunkString"),f(p)):(e.consume(p),a||(a=!U(p)),p===92?h:c)}function h(p){return p===91||p===92||p===93?(e.consume(p),u++,c):c(p)}}function Or(e,t,n,r,i,o){let l;return u;function u(h){return h===34||h===39||h===40?(e.enter(r),e.enter(i),e.consume(h),e.exit(i),l=h===40?41:h,a):n(h)}function a(h){return h===l?(e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(e.enter(o),s(h))}function s(h){return h===l?(e.exit(o),a(l)):h===null?n(h):O(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),X(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===l||h===null||O(h)?(e.exit("chunkString"),s(h)):(e.consume(h),h===92?c:f)}function c(h){return h===l||h===92?(e.consume(h),f):f(h)}}function We(e,t){let n;return r;function r(i){return O(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):U(i)?X(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const uo={name:"definition",tokenize:so},ao={partial:!0,tokenize:co};function so(e,t,n){const r=this;let i;return o;function o(p){return e.enter("definition"),l(p)}function l(p){return Dr.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function u(p){return i=de(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),a):n(p)}function a(p){return K(p)?We(e,s)(p):s(p)}function s(p){return Lr(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(ao,c,c)(p)}function c(p){return U(p)?X(e,h,"whitespace")(p):h(p)}function h(p){return p===null||O(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function co(e,t,n){return r;function r(u){return K(u)?We(e,i)(u):n(u)}function i(u){return Or(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function o(u){return U(u)?X(e,l,"whitespace")(u):l(u)}function l(u){return u===null||O(u)?t(u):n(u)}}const fo={name:"hardBreakEscape",tokenize:po};function po(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return O(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const ho={name:"headingAtx",resolve:mo,tokenize:go};function mo(e,t){let n=e.length-2,r=3,i,o;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},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},pe(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function go(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),o(f)}function o(f){return e.enter("atxHeadingSequence"),l(f)}function l(f){return f===35&&r++<6?(e.consume(f),l):f===null||K(f)?(e.exit("atxHeadingSequence"),u(f)):n(f)}function u(f){return f===35?(e.enter("atxHeadingSequence"),a(f)):f===null||O(f)?(e.exit("atxHeading"),t(f)):U(f)?X(e,u,"whitespace")(f):(e.enter("atxHeadingText"),s(f))}function a(f){return f===35?(e.consume(f),a):(e.exit("atxHeadingSequence"),u(f))}function s(f){return f===null||f===35||K(f)?(e.exit("atxHeadingText"),u(f)):(e.consume(f),s)}}const yo=["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"],jt=["pre","script","style","textarea"],ko={concrete:!0,name:"htmlFlow",resolveTo:wo,tokenize:So},xo={partial:!0,tokenize:Eo},bo={partial:!0,tokenize:Co};function wo(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function So(e,t,n){const r=this;let i,o,l,u,a;return s;function s(m){return f(m)}function f(m){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(m),c}function c(m){return m===33?(e.consume(m),h):m===47?(e.consume(m),o=!0,S):m===63?(e.consume(m),i=3,r.interrupt?t:g):oe(m)?(e.consume(m),l=String.fromCharCode(m),C):n(m)}function h(m){return m===45?(e.consume(m),i=2,p):m===91?(e.consume(m),i=5,u=0,y):oe(m)?(e.consume(m),i=4,r.interrupt?t:g):n(m)}function p(m){return m===45?(e.consume(m),r.interrupt?t:g):n(m)}function y(m){const D="CDATA[";return m===D.charCodeAt(u++)?(e.consume(m),u===D.length?r.interrupt?t:z:y):n(m)}function S(m){return oe(m)?(e.consume(m),l=String.fromCharCode(m),C):n(m)}function C(m){if(m===null||m===47||m===62||K(m)){const D=m===47,$=l.toLowerCase();return!D&&!o&&jt.includes($)?(i=1,r.interrupt?t(m):z(m)):yo.includes(l.toLowerCase())?(i=6,D?(e.consume(m),k):r.interrupt?t(m):z(m)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(m):o?I(m):T(m))}return m===45||ie(m)?(e.consume(m),l+=String.fromCharCode(m),C):n(m)}function k(m){return m===62?(e.consume(m),r.interrupt?t:z):n(m)}function I(m){return U(m)?(e.consume(m),I):x(m)}function T(m){return m===47?(e.consume(m),x):m===58||m===95||oe(m)?(e.consume(m),M):U(m)?(e.consume(m),T):x(m)}function M(m){return m===45||m===46||m===58||m===95||ie(m)?(e.consume(m),M):N(m)}function N(m){return m===61?(e.consume(m),b):U(m)?(e.consume(m),N):T(m)}function b(m){return m===null||m===60||m===61||m===62||m===96?n(m):m===34||m===39?(e.consume(m),a=m,P):U(m)?(e.consume(m),b):Y(m)}function P(m){return m===a?(e.consume(m),a=null,q):m===null||O(m)?n(m):(e.consume(m),P)}function Y(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||K(m)?N(m):(e.consume(m),Y)}function q(m){return m===47||m===62||U(m)?T(m):n(m)}function x(m){return m===62?(e.consume(m),R):n(m)}function R(m){return m===null||O(m)?z(m):U(m)?(e.consume(m),R):n(m)}function z(m){return m===45&&i===2?(e.consume(m),V):m===60&&i===1?(e.consume(m),ee):m===62&&i===4?(e.consume(m),d):m===63&&i===3?(e.consume(m),g):m===93&&i===5?(e.consume(m),he):O(m)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(xo,E,Q)(m)):m===null||O(m)?(e.exit("htmlFlowData"),Q(m)):(e.consume(m),z)}function Q(m){return e.check(bo,L,E)(m)}function L(m){return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),_}function _(m){return m===null||O(m)?Q(m):(e.enter("htmlFlowData"),z(m))}function V(m){return m===45?(e.consume(m),g):z(m)}function ee(m){return m===47?(e.consume(m),l="",se):z(m)}function se(m){if(m===62){const D=l.toLowerCase();return jt.includes(D)?(e.consume(m),d):z(m)}return oe(m)&&l.length<8?(e.consume(m),l+=String.fromCharCode(m),se):z(m)}function he(m){return m===93?(e.consume(m),g):z(m)}function g(m){return m===62?(e.consume(m),d):m===45&&i===2?(e.consume(m),g):z(m)}function d(m){return m===null||O(m)?(e.exit("htmlFlowData"),E(m)):(e.consume(m),d)}function E(m){return e.exit("htmlFlow"),t(m)}}function Co(e,t,n){const r=this;return i;function i(l){return O(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):n(l)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function Eo(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Je,t,n)}}const To={name:"htmlText",tokenize:Ao};function Ao(e,t,n){const r=this;let i,o,l;return u;function u(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),a}function a(g){return g===33?(e.consume(g),s):g===47?(e.consume(g),N):g===63?(e.consume(g),T):oe(g)?(e.consume(g),Y):n(g)}function s(g){return g===45?(e.consume(g),f):g===91?(e.consume(g),o=0,y):oe(g)?(e.consume(g),I):n(g)}function f(g){return g===45?(e.consume(g),p):n(g)}function c(g){return g===null?n(g):g===45?(e.consume(g),h):O(g)?(l=c,ee(g)):(e.consume(g),c)}function h(g){return g===45?(e.consume(g),p):c(g)}function p(g){return g===62?V(g):g===45?h(g):c(g)}function y(g){const d="CDATA[";return g===d.charCodeAt(o++)?(e.consume(g),o===d.length?S:y):n(g)}function S(g){return g===null?n(g):g===93?(e.consume(g),C):O(g)?(l=S,ee(g)):(e.consume(g),S)}function C(g){return g===93?(e.consume(g),k):S(g)}function k(g){return g===62?V(g):g===93?(e.consume(g),k):S(g)}function I(g){return g===null||g===62?V(g):O(g)?(l=I,ee(g)):(e.consume(g),I)}function T(g){return g===null?n(g):g===63?(e.consume(g),M):O(g)?(l=T,ee(g)):(e.consume(g),T)}function M(g){return g===62?V(g):T(g)}function N(g){return oe(g)?(e.consume(g),b):n(g)}function b(g){return g===45||ie(g)?(e.consume(g),b):P(g)}function P(g){return O(g)?(l=P,ee(g)):U(g)?(e.consume(g),P):V(g)}function Y(g){return g===45||ie(g)?(e.consume(g),Y):g===47||g===62||K(g)?q(g):n(g)}function q(g){return g===47?(e.consume(g),V):g===58||g===95||oe(g)?(e.consume(g),x):O(g)?(l=q,ee(g)):U(g)?(e.consume(g),q):V(g)}function x(g){return g===45||g===46||g===58||g===95||ie(g)?(e.consume(g),x):R(g)}function R(g){return g===61?(e.consume(g),z):O(g)?(l=R,ee(g)):U(g)?(e.consume(g),R):q(g)}function z(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),i=g,Q):O(g)?(l=z,ee(g)):U(g)?(e.consume(g),z):(e.consume(g),L)}function Q(g){return g===i?(e.consume(g),i=void 0,_):g===null?n(g):O(g)?(l=Q,ee(g)):(e.consume(g),Q)}function L(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||K(g)?q(g):(e.consume(g),L)}function _(g){return g===47||g===62||K(g)?q(g):n(g)}function V(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),t):n(g)}function ee(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),se}function se(g){return U(g)?X(e,he,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):he(g)}function he(g){return e.enter("htmlTextData"),l(g)}}const nt={name:"labelEnd",resolveAll:Po,resolveTo:Ro,tokenize:zo},Io={tokenize:Lo},vo={tokenize:Do},_o={tokenize:Oo};function Po(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&pe(e,0,e.length,n),e}function Ro(e,t){let n=e.length,r=0,i,o,l,u;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=n);const a={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[o][1].start},end:{...e[l][1].end}},f={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[l-2][1].start}};return u=[["enter",a,t],["enter",s,t]],u=me(u,e.slice(o+1,o+r+3)),u=me(u,[["enter",f,t]]),u=me(u,fn(t.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),t)),u=me(u,[["exit",f,t],e[l-2],e[l-1],["exit",s,t]]),u=me(u,e.slice(l+1)),u=me(u,[["exit",a,t]]),pe(e,o,e.length,u),e}function zo(e,t,n){const r=this;let i=r.events.length,o,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return u;function u(h){return o?o._inactive?c(h):(l=r.parser.defined.includes(de(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),a):n(h)}function a(h){return h===40?e.attempt(Io,f,l?f:c)(h):h===91?e.attempt(vo,f,l?s:c)(h):l?f(h):c(h)}function s(h){return e.attempt(_o,f,c)(h)}function f(h){return t(h)}function c(h){return o._balanced=!0,n(h)}}function Lo(e,t,n){return r;function r(c){return e.enter("resource"),e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),i}function i(c){return K(c)?We(e,o)(c):o(c)}function o(c){return c===41?f(c):Lr(e,l,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(c)}function l(c){return K(c)?We(e,a)(c):f(c)}function u(c){return n(c)}function a(c){return c===34||c===39||c===40?Or(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(c):f(c)}function s(c){return K(c)?We(e,f)(c):f(c)}function f(c){return c===41?(e.enter("resourceMarker"),e.consume(c),e.exit("resourceMarker"),e.exit("resource"),t):n(c)}}function Do(e,t,n){const r=this;return i;function i(u){return Dr.call(r,e,o,l,"reference","referenceMarker","referenceString")(u)}function o(u){return r.parser.defined.includes(de(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function l(u){return n(u)}}function Oo(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const Fo={name:"labelStartImage",resolveAll:nt.resolveAll,tokenize:Mo};function Mo(e,t,n){const r=this;return i;function i(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),o}function o(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),l):n(u)}function l(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const No={name:"labelStartLink",resolveAll:nt.resolveAll,tokenize:Bo};function Bo(e,t,n){const r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const Sn={name:"lineEnding",tokenize:jo};function jo(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),X(e,t,"linePrefix")}}const ln={name:"thematicBreak",tokenize:Ho};function Ho(e,t,n){let r=0,i;return o;function o(s){return e.enter("thematicBreak"),l(s)}function l(s){return i=s,u(s)}function u(s){return s===i?(e.enter("thematicBreakSequence"),a(s)):r>=3&&(s===null||O(s))?(e.exit("thematicBreak"),t(s)):n(s)}function a(s){return s===i?(e.consume(s),r++,a):(e.exit("thematicBreakSequence"),U(s)?X(e,u,"whitespace")(s):u(s))}}const ue={continuation:{tokenize:Vo},exit:Yo,name:"list",tokenize:qo},$o={partial:!0,tokenize:Xo},Uo={partial:!0,tokenize:Wo};function qo(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return u;function u(p){const y=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(y==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Bn(p)){if(r.containerState.type||(r.containerState.type=y,e.enter(y,{_container:!0})),y==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(ln,n,s)(p):s(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(p)}return n(p)}function a(p){return Bn(p)&&++l<10?(e.consume(p),a):(!r.interrupt||l<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),s(p)):n(p)}function s(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Je,r.interrupt?n:f,e.attempt($o,h,c))}function f(p){return r.containerState.initialBlankLine=!0,o++,h(p)}function c(p){return U(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),h):n(p)}function h(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Vo(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Je,i,o);function i(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,X(e,t,"listItemIndent",r.containerState.size+1)(u)}function o(u){return r.containerState.furtherBlankLines||!U(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Uo,t,l)(u))}function l(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,X(e,e.attempt(ue,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function Wo(e,t,n){const r=this;return X(e,i,"listItemIndent",r.containerState.size+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(o):n(o)}}function Yo(e){e.exit(this.containerState.type)}function Xo(e,t,n){const r=this;return X(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const l=r.events[r.events.length-1];return!U(o)&&l&&l[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const Ht={name:"setextUnderline",resolveTo:Qo,tokenize:Go};function Qo(e,t){let n=e.length,r,i,o;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),!o&&e[n][1].type==="definition"&&(o=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",l,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function Go(e,t,n){const r=this;let i;return o;function o(s){let f=r.events.length,c;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){c=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||c)?(e.enter("setextHeadingLine"),i=s,l(s)):n(s)}function l(s){return e.enter("setextHeadingLineSequence"),u(s)}function u(s){return s===i?(e.consume(s),u):(e.exit("setextHeadingLineSequence"),U(s)?X(e,a,"lineSuffix")(s):a(s))}function a(s){return s===null||O(s)?(e.exit("setextHeadingLine"),t(s)):n(s)}}const Jo={tokenize:Ko};function Ko(e){const t=this,n=e.attempt(Je,r,e.attempt(this.parser.constructs.flowInitial,i,X(e,e.attempt(this.parser.constructs.flow,i,e.attempt(to,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Zo={resolveAll:Mr()},eu=Fr("string"),nu=Fr("text");function Fr(e){return{resolveAll:Mr(e==="text"?tu:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,l,u);return l;function l(f){return s(f)?o(f):u(f)}function u(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),a}function a(f){return s(f)?(n.exit("data"),o(f)):(n.consume(f),a)}function s(f){if(f===null)return!0;const c=i[f];let h=-1;if(c)for(;++h<c.length;){const p=c[h];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function Mr(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function tu(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 o=i.length,l=-1,u=0,a;for(;o--;){const s=i[o];if(typeof s=="string"){for(l=s.length;s.charCodeAt(l-1)===32;)u++,l--;if(l)break;l=-1}else if(s===-2)a=!0,u++;else if(s!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const s={type:n===e.length||a||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:r.start._bufferIndex+l,_index:r.start._index+o,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...s.start},r.start.offset===r.end.offset?Object.assign(r,s):(e.splice(n,0,["enter",s,t],["exit",s,t]),n+=2)}n++}return e}const ru={42:ue,43:ue,45:ue,48:ue,49:ue,50:ue,51:ue,52:ue,53:ue,54:ue,55:ue,56:ue,57:ue,62:_r},iu={91:uo},lu={[-2]:wn,[-1]:wn,32:wn},ou={35:ho,42:ln,45:[Ht,ln],60:ko,61:Ht,95:ln,96:Bt,126:Bt},uu={38:Rr,92:Pr},au={[-5]:Sn,[-4]:Sn,[-3]:Sn,33:Fo,38:Rr,42:jn,60:[Ml,To],91:No,92:[fo,Pr],93:nt,95:jn,96:Gl},su={null:[jn,Zo]},cu={null:[42,95]},fu={null:[]},pu=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:cu,contentInitial:iu,disable:fu,document:ru,flow:ou,flowInitial:lu,insideSpan:su,string:uu,text:au},Symbol.toStringTag,{value:"Module"}));function hu(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let l=[],u=[];const a={attempt:P(N),check:P(b),consume:I,enter:T,exit:M,interrupt:P(b,{interrupt:!0})},s={code:null,containerState:{},defineSkip:S,events:[],now:y,parser:e,previous:null,sliceSerialize:h,sliceStream:p,write:c};let f=t.tokenize.call(s,a);return t.resolveAll&&o.push(t),s;function c(R){return l=me(l,R),C(),l[l.length-1]!==null?[]:(Y(t,0),s.events=fn(o,s.events,s),s.events)}function h(R,z){return gu(p(R),z)}function p(R){return mu(l,R)}function y(){const{_bufferIndex:R,_index:z,line:Q,column:L,offset:_}=r;return{_bufferIndex:R,_index:z,line:Q,column:L,offset:_}}function S(R){i[R.line]=R.column,x()}function C(){let R;for(;r._index<l.length;){const z=l[r._index];if(typeof z=="string")for(R=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===R&&r._bufferIndex<z.length;)k(z.charCodeAt(r._bufferIndex));else k(z)}}function k(R){f=f(R)}function I(R){O(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===l[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=R}function T(R,z){const Q=z||{};return Q.type=R,Q.start=y(),s.events.push(["enter",Q,s]),u.push(Q),Q}function M(R){const z=u.pop();return z.end=y(),s.events.push(["exit",z,s]),z}function N(R,z){Y(R,z.from)}function b(R,z){z.restore()}function P(R,z){return Q;function Q(L,_,V){let ee,se,he,g;return Array.isArray(L)?E(L):"tokenize"in L?E([L]):d(L);function d(F){return G;function G(re){const ne=re!==null&&F[re],Se=re!==null&&F.null,Ze=[...Array.isArray(ne)?ne:ne?[ne]:[],...Array.isArray(Se)?Se:Se?[Se]:[]];return E(Ze)(re)}}function E(F){return ee=F,se=0,F.length===0?V:m(F[se])}function m(F){return G;function G(re){return g=q(),he=F,F.partial||(s.currentConstruct=F),F.name&&s.parser.constructs.disable.null.includes(F.name)?$():F.tokenize.call(z?Object.assign(Object.create(s),z):s,a,D,$)(re)}}function D(F){return R(he,g),_}function $(F){return g.restore(),++se<ee.length?m(ee[se]):V}}}function Y(R,z){R.resolveAll&&!o.includes(R)&&o.push(R),R.resolve&&pe(s.events,z,s.events.length-z,R.resolve(s.events.slice(z),s)),R.resolveTo&&(s.events=R.resolveTo(s.events,s))}function q(){const R=y(),z=s.previous,Q=s.currentConstruct,L=s.events.length,_=Array.from(u);return{from:L,restore:V};function V(){r=R,s.previous=z,s.currentConstruct=Q,s.events.length=L,u=_,x()}}function x(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function mu(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let l;if(n===i)l=[e[n].slice(r,o)];else{if(l=e.slice(n,i),r>-1){const u=l[0];typeof u=="string"?l[0]=u.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function gu(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=`
3
+ `;break}case-3:{l=`\r
4
+ `;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(o)}i=o===-2,r.push(l)}return r.join("")}function du(e){const r={constructs:Ir([pu,...(e||{}).extensions||[]]),content:i(Pl),defined:[],document:i(zl),flow:i(Jo),lazy:{},string:i(eu),text:i(nu)};return r;function i(o){return l;function l(u){return hu(r,o,u)}}}function yu(e){for(;!zr(e););return e}const $t=/[\0\t\n\r]/g;function ku(){let e=1,t="",n=!0,r;return i;function i(o,l,u){const a=[];let s,f,c,h,p;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o)),c=0,t="",n&&(o.charCodeAt(0)===65279&&c++,n=void 0);c<o.length;){if($t.lastIndex=c,s=$t.exec(o),h=s&&s.index!==void 0?s.index:o.length,p=o.charCodeAt(h),!s){t=o.slice(c);break}if(p===10&&c===h&&r)a.push(-3),r=void 0;else switch(r&&(a.push(-5),r=void 0),c<h&&(a.push(o.slice(c,h)),e+=h-c),p){case 0:{a.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,a.push(-2);e++<f;)a.push(-1);break}case 10:{a.push(-4),e=1;break}default:r=!0,e=1}c=h+1}return u&&(r&&a.push(-5),t&&a.push(t),a.push(null)),a}}const xu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function bu(e){return e.replace(xu,wu)}function wu(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return vr(n.slice(o?2:1),o?16:10)}return et(n)||e}const Nr={}.hasOwnProperty;function Su(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Cu(n)(yu(du(n).document().write(ku()(e,t,!0))))}function Cu(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(yt),autolinkProtocol:q,autolinkEmail:q,atxHeading:o(mt),blockQuote:o(Se),characterEscape:q,characterReference:q,codeFenced:o(Ze),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(Ze,l),codeText:o(ki,l),codeTextData:q,data:q,codeFlowValue:q,definition:o(xi),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(bi),hardBreakEscape:o(gt),hardBreakTrailing:o(gt),htmlFlow:o(dt,l),htmlFlowData:q,htmlText:o(dt,l),htmlTextData:q,image:o(wi),label:l,link:o(yt),listItem:o(Si),listItemValue:h,listOrdered:o(kt,c),listUnordered:o(kt),paragraph:o(Ci),reference:m,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(mt),strong:o(Ei),thematicBreak:o(Ai)},exit:{atxHeading:a(),atxHeadingSequence:N,autolink:a(),autolinkEmail:ne,autolinkProtocol:re,blockQuote:a(),characterEscapeValue:x,characterReferenceMarkerHexadecimal:$,characterReferenceMarkerNumeric:$,characterReferenceValue:F,characterReference:G,codeFenced:a(C),codeFencedFence:S,codeFencedFenceInfo:p,codeFencedFenceMeta:y,codeFlowValue:x,codeIndented:a(k),codeText:a(_),codeTextData:x,data:x,definition:a(),definitionDestinationString:M,definitionLabelString:I,definitionTitleString:T,emphasis:a(),hardBreakEscape:a(z),hardBreakTrailing:a(z),htmlFlow:a(Q),htmlFlowData:x,htmlText:a(L),htmlTextData:x,image:a(ee),label:he,labelText:se,lineEnding:R,link:a(V),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:D,resourceDestinationString:g,resourceTitleString:d,resource:E,setextHeading:a(Y),setextHeadingLineSequence:P,setextHeadingText:b,strong:a(),thematicBreak:a()}};Br(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(w){let v={type:"root",children:[]};const j={stack:[v],tokenStack:[],config:t,enter:u,exit:s,buffer:l,resume:f,data:n},W=[];let J=-1;for(;++J<w.length;)if(w[J][1].type==="listOrdered"||w[J][1].type==="listUnordered")if(w[J][0]==="enter")W.push(J);else{const ge=W.pop();J=i(w,ge,J)}for(J=-1;++J<w.length;){const ge=t[w[J][0]];Nr.call(ge,w[J][1].type)&&ge[w[J][1].type].call(Object.assign({sliceSerialize:w[J][2].sliceSerialize},j),w[J][1])}if(j.tokenStack.length>0){const ge=j.tokenStack[j.tokenStack.length-1];(ge[1]||Ut).call(j,void 0,ge[0])}for(v.position={start:Ce(w.length>0?w[0][1].start:{line:1,column:1,offset:0}),end:Ce(w.length>0?w[w.length-2][1].end:{line:1,column:1,offset:0})},J=-1;++J<t.transforms.length;)v=t.transforms[J](v)||v;return v}function i(w,v,j){let W=v-1,J=-1,ge=!1,Te,xe,Me,Ne;for(;++W<=j;){const ce=w[W];switch(ce[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ce[0]==="enter"?J++:J--,Ne=void 0;break}case"lineEndingBlank":{ce[0]==="enter"&&(Te&&!Ne&&!J&&!Me&&(Me=W),Ne=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Ne=void 0}if(!J&&ce[0]==="enter"&&ce[1].type==="listItemPrefix"||J===-1&&ce[0]==="exit"&&(ce[1].type==="listUnordered"||ce[1].type==="listOrdered")){if(Te){let _e=W;for(xe=void 0;_e--;){const be=w[_e];if(be[1].type==="lineEnding"||be[1].type==="lineEndingBlank"){if(be[0]==="exit")continue;xe&&(w[xe][1].type="lineEndingBlank",ge=!0),be[1].type="lineEnding",xe=_e}else if(!(be[1].type==="linePrefix"||be[1].type==="blockQuotePrefix"||be[1].type==="blockQuotePrefixWhitespace"||be[1].type==="blockQuoteMarker"||be[1].type==="listItemIndent"))break}Me&&(!xe||Me<xe)&&(Te._spread=!0),Te.end=Object.assign({},xe?w[xe][1].start:ce[1].end),w.splice(xe||W,0,["exit",Te,ce[2]]),W++,j++}if(ce[1].type==="listItemPrefix"){const _e={type:"listItem",_spread:!1,start:Object.assign({},ce[1].start),end:void 0};Te=_e,w.splice(W,0,["enter",_e,ce[2]]),W++,j++,Me=void 0,Ne=!0}}}return w[v][1]._spread=ge,j}function o(w,v){return j;function j(W){u.call(this,w(W),W),v&&v.call(this,W)}}function l(){this.stack.push({type:"fragment",children:[]})}function u(w,v,j){this.stack[this.stack.length-1].children.push(w),this.stack.push(w),this.tokenStack.push([v,j||void 0]),w.position={start:Ce(v.start),end:void 0}}function a(w){return v;function v(j){w&&w.call(this,j),s.call(this,j)}}function s(w,v){const j=this.stack.pop(),W=this.tokenStack.pop();if(W)W[0].type!==w.type&&(v?v.call(this,w,W[0]):(W[1]||Ut).call(this,w,W[0]));else throw new Error("Cannot close `"+w.type+"` ("+Ve({start:w.start,end:w.end})+"): it’s not open");j.position.end=Ce(w.end)}function f(){return Zn(this.stack.pop())}function c(){this.data.expectingFirstListItemValue=!0}function h(w){if(this.data.expectingFirstListItemValue){const v=this.stack[this.stack.length-2];v.start=Number.parseInt(this.sliceSerialize(w),10),this.data.expectingFirstListItemValue=void 0}}function p(){const w=this.resume(),v=this.stack[this.stack.length-1];v.lang=w}function y(){const w=this.resume(),v=this.stack[this.stack.length-1];v.meta=w}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function C(){const w=this.resume(),v=this.stack[this.stack.length-1];v.value=w.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const w=this.resume(),v=this.stack[this.stack.length-1];v.value=w.replace(/(\r?\n|\r)$/g,"")}function I(w){const v=this.resume(),j=this.stack[this.stack.length-1];j.label=v,j.identifier=de(this.sliceSerialize(w)).toLowerCase()}function T(){const w=this.resume(),v=this.stack[this.stack.length-1];v.title=w}function M(){const w=this.resume(),v=this.stack[this.stack.length-1];v.url=w}function N(w){const v=this.stack[this.stack.length-1];if(!v.depth){const j=this.sliceSerialize(w).length;v.depth=j}}function b(){this.data.setextHeadingSlurpLineEnding=!0}function P(w){const v=this.stack[this.stack.length-1];v.depth=this.sliceSerialize(w).codePointAt(0)===61?1:2}function Y(){this.data.setextHeadingSlurpLineEnding=void 0}function q(w){const j=this.stack[this.stack.length-1].children;let W=j[j.length-1];(!W||W.type!=="text")&&(W=Ti(),W.position={start:Ce(w.start),end:void 0},j.push(W)),this.stack.push(W)}function x(w){const v=this.stack.pop();v.value+=this.sliceSerialize(w),v.position.end=Ce(w.end)}function R(w){const v=this.stack[this.stack.length-1];if(this.data.atHardBreak){const j=v.children[v.children.length-1];j.position.end=Ce(w.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(v.type)&&(q.call(this,w),x.call(this,w))}function z(){this.data.atHardBreak=!0}function Q(){const w=this.resume(),v=this.stack[this.stack.length-1];v.value=w}function L(){const w=this.resume(),v=this.stack[this.stack.length-1];v.value=w}function _(){const w=this.resume(),v=this.stack[this.stack.length-1];v.value=w}function V(){const w=this.stack[this.stack.length-1];if(this.data.inReference){const v=this.data.referenceType||"shortcut";w.type+="Reference",w.referenceType=v,delete w.url,delete w.title}else delete w.identifier,delete w.label;this.data.referenceType=void 0}function ee(){const w=this.stack[this.stack.length-1];if(this.data.inReference){const v=this.data.referenceType||"shortcut";w.type+="Reference",w.referenceType=v,delete w.url,delete w.title}else delete w.identifier,delete w.label;this.data.referenceType=void 0}function se(w){const v=this.sliceSerialize(w),j=this.stack[this.stack.length-2];j.label=bu(v),j.identifier=de(v).toLowerCase()}function he(){const w=this.stack[this.stack.length-1],v=this.resume(),j=this.stack[this.stack.length-1];if(this.data.inReference=!0,j.type==="link"){const W=w.children;j.children=W}else j.alt=v}function g(){const w=this.resume(),v=this.stack[this.stack.length-1];v.url=w}function d(){const w=this.resume(),v=this.stack[this.stack.length-1];v.title=w}function E(){this.data.inReference=void 0}function m(){this.data.referenceType="collapsed"}function D(w){const v=this.resume(),j=this.stack[this.stack.length-1];j.label=v,j.identifier=de(this.sliceSerialize(w)).toLowerCase(),this.data.referenceType="full"}function $(w){this.data.characterReferenceType=w.type}function F(w){const v=this.sliceSerialize(w),j=this.data.characterReferenceType;let W;j?(W=vr(v,j==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):W=et(v);const J=this.stack[this.stack.length-1];J.value+=W}function G(w){const v=this.stack.pop();v.position.end=Ce(w.end)}function re(w){x.call(this,w);const v=this.stack[this.stack.length-1];v.url=this.sliceSerialize(w)}function ne(w){x.call(this,w);const v=this.stack[this.stack.length-1];v.url="mailto:"+this.sliceSerialize(w)}function Se(){return{type:"blockquote",children:[]}}function Ze(){return{type:"code",lang:null,meta:null,value:""}}function ki(){return{type:"inlineCode",value:""}}function xi(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function bi(){return{type:"emphasis",children:[]}}function mt(){return{type:"heading",depth:0,children:[]}}function gt(){return{type:"break"}}function dt(){return{type:"html",value:""}}function wi(){return{type:"image",title:null,url:"",alt:null}}function yt(){return{type:"link",title:null,url:"",children:[]}}function kt(w){return{type:"list",ordered:w.type==="listOrdered",start:null,spread:w._spread,children:[]}}function Si(w){return{type:"listItem",spread:w._spread,checked:null,children:[]}}function Ci(){return{type:"paragraph",children:[]}}function Ei(){return{type:"strong",children:[]}}function Ti(){return{type:"text",value:""}}function Ai(){return{type:"thematicBreak"}}}function Ce(e){return{line:e.line,column:e.column,offset:e.offset}}function Br(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Br(e,r):Eu(e,r)}}function Eu(e,t){let n;for(n in t)if(Nr.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}}}function Ut(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ve({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ve({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ve({start:t.start,end:t.end})+") is still open")}function Tu(e){const t=this;t.parser=n;function n(r){return Su(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Au(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Iu(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
5
+ `}]}function vu(e,t){const n=t.value?t.value+`
6
+ `:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function _u(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Pu(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ru(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Fe(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let l,u=e.footnoteCounts.get(r);u===void 0?(u=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=o+1,u+=1,e.footnoteCounts.set(r,u);const a={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,a);const s={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,s),e.applyData(t,s)}function zu(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Lu(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function jr(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),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function Du(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return jr(e,t);const i={src:Fe(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function Ou(e,t){const n={src:Fe(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Fu(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Mu(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return jr(e,t);const i={href:Fe(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function Nu(e,t){const n={href:Fe(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Bu(e,t,n){const r=e.all(t),i=n?ju(n):Hr(t),o={},l=[];if(typeof t.checked=="boolean"){const f=r[0];let c;f&&f.type==="element"&&f.tagName==="p"?c=f:(c={type:"element",tagName:"p",properties:{},children:[]},r.unshift(c)),c.children.length>0&&c.children.unshift({type:"text",value:" "}),c.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const f=r[u];(i||u!==0||f.type!=="element"||f.tagName!=="p")&&l.push({type:"text",value:`
7
+ `}),f.type==="element"&&f.tagName==="p"&&!i?l.push(...f.children):l.push(f)}const a=r[r.length-1];a&&(i||a.type!=="element"||a.tagName!=="p")&&l.push({type:"text",value:`
8
+ `});const s={type:"element",tagName:"li",properties:o,children:l};return e.patch(t,s),e.applyData(t,s)}function ju(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=Hr(n[r])}return t}function Hr(e){const t=e.spread;return t??e.children.length>1}function Hu(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 l=r[i];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function $u(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Uu(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function qu(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Vu(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=Qn(t.children[1]),a=br(t.children[t.children.length-1]);u&&a&&(l.position={start:u,end:a}),i.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function Wu(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,u=l?l.length:t.children.length;let a=-1;const s=[];for(;++a<u;){const c=t.children[a],h={},p=l?l[a]:void 0;p&&(h.align=p);let y={type:"element",tagName:o,properties:h,children:[]};c&&(y.children=e.all(c),e.patch(c,y),y=e.applyData(c,y)),s.push(y)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,f),e.applyData(t,f)}function Yu(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const qt=9,Vt=32;function Xu(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(Wt(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(Wt(t.slice(i),i>0,!1)),o.join("")}function Wt(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===qt||o===Vt;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===qt||o===Vt;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Qu(e,t){const n={type:"text",value:Xu(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Gu(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Ju={blockquote:Au,break:Iu,code:vu,delete:_u,emphasis:Pu,footnoteReference:Ru,heading:zu,html:Lu,imageReference:Du,image:Ou,inlineCode:Fu,linkReference:Mu,link:Nu,listItem:Bu,list:Hu,paragraph:$u,root:Uu,strong:qu,table:Vu,tableCell:Yu,tableRow:Wu,text:Qu,thematicBreak:Gu,toml:en,yaml:en,definition:en,footnoteDefinition:en};function en(){}const $r=-1,pn=0,Ye=1,un=2,tt=3,rt=4,it=5,lt=6,Ur=7,qr=8,Yt=typeof self=="object"?self:globalThis,Ku=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,l]=t[i];switch(o){case pn:case $r:return n(l,i);case Ye:{const u=n([],i);for(const a of l)u.push(r(a));return u}case un:{const u=n({},i);for(const[a,s]of l)u[r(a)]=r(s);return u}case tt:return n(new Date(l),i);case rt:{const{source:u,flags:a}=l;return n(new RegExp(u,a),i)}case it:{const u=n(new Map,i);for(const[a,s]of l)u.set(r(a),r(s));return u}case lt:{const u=n(new Set,i);for(const a of l)u.add(r(a));return u}case Ur:{const{name:u,message:a}=l;return n(new Yt[u](a),i)}case qr:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:u}=new Uint8Array(l);return n(new DataView(u),l)}}return n(new Yt[o](l),i)};return r},Xt=e=>Ku(new Map,e)(0),Re="",{toString:Zu}={},{keys:ea}=Object,Ue=e=>{const t=typeof e;if(t!=="object"||!e)return[pn,t];const n=Zu.call(e).slice(8,-1);switch(n){case"Array":return[Ye,Re];case"Object":return[un,Re];case"Date":return[tt,Re];case"RegExp":return[rt,Re];case"Map":return[it,Re];case"Set":return[lt,Re];case"DataView":return[Ye,n]}return n.includes("Array")?[Ye,n]:n.includes("Error")?[Ur,n]:[un,n]},nn=([e,t])=>e===pn&&(t==="function"||t==="symbol"),na=(e,t,n,r)=>{const i=(l,u)=>{const a=r.push(l)-1;return n.set(u,a),a},o=l=>{if(n.has(l))return n.get(l);let[u,a]=Ue(l);switch(u){case pn:{let f=l;switch(a){case"bigint":u=qr,f=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);f=null;break;case"undefined":return i([$r],l)}return i([u,f],l)}case Ye:{if(a){let h=l;return a==="DataView"?h=new Uint8Array(l.buffer):a==="ArrayBuffer"&&(h=new Uint8Array(l)),i([a,[...h]],l)}const f=[],c=i([u,f],l);for(const h of l)f.push(o(h));return c}case un:{if(a)switch(a){case"BigInt":return i([a,l.toString()],l);case"Boolean":case"Number":case"String":return i([a,l.valueOf()],l)}if(t&&"toJSON"in l)return o(l.toJSON());const f=[],c=i([u,f],l);for(const h of ea(l))(e||!nn(Ue(l[h])))&&f.push([o(h),o(l[h])]);return c}case tt:return i([u,l.toISOString()],l);case rt:{const{source:f,flags:c}=l;return i([u,{source:f,flags:c}],l)}case it:{const f=[],c=i([u,f],l);for(const[h,p]of l)(e||!(nn(Ue(h))||nn(Ue(p))))&&f.push([o(h),o(p)]);return c}case lt:{const f=[],c=i([u,f],l);for(const h of l)(e||!nn(Ue(h)))&&f.push(o(h));return c}}const{message:s}=l;return i([u,{name:a,message:s}],l)};return o},Qt=(e,{json:t,lossy:n}={})=>{const r=[];return na(!(t||n),!!t,new Map,r)(e),r},an=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Xt(Qt(e,t)):structuredClone(e):(e,t)=>Xt(Qt(e,t));function ta(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function ra(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function ia(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||ta,r=e.options.footnoteBackLabel||ra,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let a=-1;for(;++a<e.footnoteOrder.length;){const s=e.footnoteById.get(e.footnoteOrder[a]);if(!s)continue;const f=e.all(s),c=String(s.identifier).toUpperCase(),h=Fe(c.toLowerCase());let p=0;const y=[],S=e.footnoteCounts.get(c);for(;S!==void 0&&++p<=S;){y.length>0&&y.push({type:"text",value:" "});let I=typeof n=="string"?n:n(a,p);typeof I=="string"&&(I={type:"text",value:I}),y.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+h+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(a,p),className:["data-footnote-backref"]},children:Array.isArray(I)?I:[I]})}const C=f[f.length-1];if(C&&C.type==="element"&&C.tagName==="p"){const I=C.children[C.children.length-1];I&&I.type==="text"?I.value+=" ":C.children.push({type:"text",value:" "}),C.children.push(...y)}else f.push(...y);const k={type:"element",tagName:"li",properties:{id:t+"fn-"+h},children:e.wrap(f,!0)};e.patch(s,k),u.push(k)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...an(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
9
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
10
+ `}]}}const hn=(function(e){if(e==null)return aa;if(typeof e=="function")return mn(e);if(typeof e=="object")return Array.isArray(e)?la(e):oa(e);if(typeof e=="string")return ua(e);throw new Error("Expected function, string, or object as test")});function la(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=hn(e[n]);return mn(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function oa(e){const t=e;return mn(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function ua(e){return mn(t);function t(n){return n&&n.type===e}}function mn(e){return t;function t(n,r,i){return!!(sa(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function aa(){return!0}function sa(e){return e!==null&&typeof e=="object"&&"type"in e}const Vr=[],ca=!0,Hn=!1,fa="skip";function Wr(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=hn(i),l=r?-1:1;u(e,void 0,[])();function u(a,s,f){const c=a&&typeof a=="object"?a:{};if(typeof c.type=="string"){const p=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0;Object.defineProperty(h,"name",{value:"node ("+(a.type+(p?"<"+p+">":""))+")"})}return h;function h(){let p=Vr,y,S,C;if((!t||o(a,s,f[f.length-1]||void 0))&&(p=pa(n(a,f)),p[0]===Hn))return p;if("children"in a&&a.children){const k=a;if(k.children&&p[0]!==fa)for(S=(r?k.children.length:-1)+l,C=f.concat(k);S>-1&&S<k.children.length;){const I=k.children[S];if(y=u(I,S,C)(),y[0]===Hn)return y;S=typeof y[1]=="number"?y[1]:S+l}}return p}}}function pa(e){return Array.isArray(e)?e:typeof e=="number"?[ca,e]:e==null?Vr:[e]}function ot(e,t,n,r){let i,o,l;typeof t=="function"&&typeof n!="function"?(o=void 0,l=t,i=n):(o=t,l=n,i=r),Wr(e,o,u,i);function u(a,s){const f=s[s.length-1],c=f?f.children.indexOf(a):void 0;return l(a,c,f)}}const $n={}.hasOwnProperty,ha={};function ma(e,t){const n=t||ha,r=new Map,i=new Map,o=new Map,l={...Ju,...n.handlers},u={all:s,applyData:da,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:l,one:a,options:n,patch:ga,wrap:ka};return ot(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const c=f.type==="definition"?r:i,h=String(f.identifier).toUpperCase();c.has(h)||c.set(h,f)}}),u;function a(f,c){const h=f.type,p=u.handlers[h];if($n.call(u.handlers,h)&&p)return p(u,f,c);if(u.options.passThrough&&u.options.passThrough.includes(h)){if("children"in f){const{children:S,...C}=f,k=an(C);return k.children=u.all(f),k}return an(f)}return(u.options.unknownHandler||ya)(u,f,c)}function s(f){const c=[];if("children"in f){const h=f.children;let p=-1;for(;++p<h.length;){const y=u.one(h[p],f);if(y){if(p&&h[p-1].type==="break"&&(!Array.isArray(y)&&y.type==="text"&&(y.value=Gt(y.value)),!Array.isArray(y)&&y.type==="element")){const S=y.children[0];S&&S.type==="text"&&(S.value=Gt(S.value))}Array.isArray(y)?c.push(...y):c.push(y)}}}return c}}function ga(e,t){e.position&&(t.position=tl(e))}function da(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const l="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:l}}n.type==="element"&&o&&Object.assign(n.properties,an(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function ya(e,t){const n=t.data||{},r="value"in t&&!($n.call(n,"hProperties")||$n.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)}function ka(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
11
+ `});++r<e.length;)r&&n.push({type:"text",value:`
12
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
13
+ `}),n}function Gt(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Jt(e,t){const n=ma(e,t),r=n.one(e,void 0),i=ia(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:`
14
+ `},i),o}function xa(e,t){return e&&"run"in e?async function(n,r){const i=Jt(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Jt(n,{file:r,...e||t})}}function Kt(e){if(e)throw e}var Cn,Zt;function ba(){if(Zt)return Cn;Zt=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(s){return typeof Array.isArray=="function"?Array.isArray(s):t.call(s)==="[object Array]"},o=function(s){if(!s||t.call(s)!=="[object Object]")return!1;var f=e.call(s,"constructor"),c=s.constructor&&s.constructor.prototype&&e.call(s.constructor.prototype,"isPrototypeOf");if(s.constructor&&!f&&!c)return!1;var h;for(h in s);return typeof h>"u"||e.call(s,h)},l=function(s,f){n&&f.name==="__proto__"?n(s,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):s[f.name]=f.newValue},u=function(s,f){if(f==="__proto__")if(e.call(s,f)){if(r)return r(s,f).value}else return;return s[f]};return Cn=function a(){var s,f,c,h,p,y,S=arguments[0],C=1,k=arguments.length,I=!1;for(typeof S=="boolean"&&(I=S,S=arguments[1]||{},C=2),(S==null||typeof S!="object"&&typeof S!="function")&&(S={});C<k;++C)if(s=arguments[C],s!=null)for(f in s)c=u(S,f),h=u(s,f),S!==h&&(I&&h&&(o(h)||(p=i(h)))?(p?(p=!1,y=c&&i(c)?c:[]):y=c&&o(c)?c:{},l(S,{name:f,newValue:a(I,y,h)})):typeof h<"u"&&l(S,{name:f,newValue:h}));return S},Cn}var wa=ba();const En=Wn(wa);function Un(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Sa(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);u(null,...i);function u(a,...s){const f=e[++o];let c=-1;if(a){l(a);return}for(;++c<i.length;)(s[c]===null||s[c]===void 0)&&(s[c]=i[c]);i=s,f?Ca(f,u)(...s):l(null,...s)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Ca(e,t){let n;return r;function r(...l){const u=e.length>l.length;let a;u&&l.push(i);try{a=e.apply(this,l)}catch(s){const f=s;if(u&&n)throw f;return i(f)}u||(a&&a.then&&typeof a.then=="function"?a.then(o,i):a instanceof Error?i(a):o(a))}function i(l,...u){n||(n=!0,t(l,...u))}function o(l){i(null,l)}}const ye={basename:Ea,dirname:Ta,extname:Aa,join:Ia,sep:"/"};function Ea(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ke(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,u=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else l<0&&(o=!0,l=i+1),u>-1&&(e.codePointAt(i)===t.codePointAt(u--)?u<0&&(r=i):(u=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function Ta(e){if(Ke(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)}function Aa(e){Ke(e);let t=e.length,n=-1,r=0,i=-1,o=0,l;for(;t--;){const u=e.codePointAt(t);if(u===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),u===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Ia(...e){let t=-1,n;for(;++t<e.length;)Ke(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":va(n)}function va(e){Ke(e);const t=e.codePointAt(0)===47;let n=_a(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function _a(e,t){let n="",r=0,i=-1,o=0,l=-1,u,a;for(;++l<=e.length;){if(l<e.length)u=e.codePointAt(l);else{if(u===47)break;u=47}if(u===47){if(!(i===l-1||o===1))if(i!==l-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(a=n.lastIndexOf("/"),a!==n.length-1){a<0?(n="",r=0):(n=n.slice(0,a),r=n.length-1-n.lastIndexOf("/")),i=l,o=0;continue}}else if(n.length>0){n="",r=0,i=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,o=0}else u===46&&o>-1?o++:o=-1}return n}function Ke(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Pa={cwd:Ra};function Ra(){return"/"}function qn(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function za(e){if(typeof e=="string")e=new URL(e);else if(!qn(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 La(e)}function La(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)}const Tn=["history","path","basename","stem","extname","dirname"];class Yr{constructor(t){let n;t?qn(t)?n={path:t}:typeof t=="string"||Da(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Pa.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Tn.length;){const o=Tn[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)Tn.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?ye.basename(this.path):void 0}set basename(t){In(t,"basename"),An(t,"basename"),this.path=ye.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?ye.dirname(this.path):void 0}set dirname(t){er(this.basename,"dirname"),this.path=ye.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?ye.extname(this.path):void 0}set extname(t){if(An(t,"extname"),er(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=ye.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){qn(t)&&(t=za(t)),In(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?ye.basename(this.path,this.extname):void 0}set stem(t){In(t,"stem"),An(t,"stem"),this.path=ye.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 le(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 An(e,t){if(e&&e.includes(ye.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+ye.sep+"`")}function In(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function er(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Da(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Oa=(function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o}),Fa={}.hasOwnProperty;class ut extends Oa{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=Sa()}copy(){const t=new ut;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(En(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Pn("data",this.frozen),this.namespace[t]=n,this):Fa.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Pn("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=tn(t),r=this.parser||this.Parser;return vn("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),vn("process",this.parser||this.Parser),_n("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,l){const u=tn(t),a=r.parse(u);r.run(a,u,function(f,c,h){if(f||!c||!h)return s(f);const p=c,y=r.stringify(p,h);Ba(y)?h.value=y:h.result=y,s(f,h)});function s(f,c){f||!c?l(f):o?o(c):n(void 0,c)}}}processSync(t){let n=!1,r;return this.freeze(),vn("processSync",this.parser||this.Parser),_n("processSync",this.compiler||this.Compiler),this.process(t,i),tr("processSync","process",n),r;function i(o,l){n=!0,Kt(o),r=l}}run(t,n,r){nr(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(l,u){const a=tn(n);i.run(t,a,s);function s(f,c,h){const p=c||t;f?u(f):l?l(p):r(void 0,p,h)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),tr("runSync","run",r),i;function o(l,u){Kt(l),i=u,r=!0}}stringify(t,n){this.freeze();const r=tn(n),i=this.compiler||this.Compiler;return _n("stringify",i),nr(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Pn("use",this.frozen),t!=null)if(typeof t=="function")a(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(s){if(typeof s=="function")a(s,[]);else if(typeof s=="object")if(Array.isArray(s)){const[f,...c]=s;a(f,c)}else l(s);else throw new TypeError("Expected usable value, not `"+s+"`")}function l(s){if(!("plugins"in s)&&!("settings"in s))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");u(s.plugins),s.settings&&(i.settings=En(!0,i.settings,s.settings))}function u(s){let f=-1;if(s!=null)if(Array.isArray(s))for(;++f<s.length;){const c=s[f];o(c)}else throw new TypeError("Expected a list of plugins, not `"+s+"`")}function a(s,f){let c=-1,h=-1;for(;++c<r.length;)if(r[c][0]===s){h=c;break}if(h===-1)r.push([s,...f]);else if(f.length>0){let[p,...y]=f;const S=r[h][1];Un(S)&&Un(p)&&(p=En(!0,S,p)),r[h]=[s,p,...y]}}}}const Ma=new ut().freeze();function vn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function _n(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Pn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nr(e){if(!Un(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function tr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function tn(e){return Na(e)?e:new Yr(e)}function Na(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Ba(e){return typeof e=="string"||ja(e)}function ja(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Ha="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",rr=[],ir={allowDangerousHtml:!0},$a=/^(https?|ircs?|mailto|xmpp)$/i,Ua=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function qa(e){const t=at(e),n=st(e);return ct(t.runSync(t.parse(n),n),e)}async function Va(e){const t=at(e),n=st(e),r=await t.run(t.parse(n),n);return ct(r,e)}function Wa(e){const t=at(e),[n,r]=qe.useState(void 0),[i,o]=qe.useState(void 0);if(qe.useEffect(function(){let l=!1;const u=st(e);return t.run(t.parse(u),u,function(a,s){l||(r(a),o(s))}),function(){l=!0}},[e.children,e.rehypePlugins,e.remarkPlugins,e.remarkRehypeOptions]),n)throw n;return i?ct(i,e):e.fallback}function at(e){const t=e.rehypePlugins||rr,n=e.remarkPlugins||rr,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...ir}:ir;return Ma().use(Tu).use(n).use(xa,r).use(t)}function st(e){const t=e.children||"",n=new Yr;return typeof t=="string"&&(n.value=t),n}function ct(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,l=t.skipHtml,u=t.unwrapDisallowed,a=t.urlTransform||Xr;for(const f of Ua)Object.hasOwn(t,f.from)&&(""+f.from+(f.to?"use `"+f.to+"` instead":"remove it")+Ha+f.id,void 0);return ot(e,s),ul(e,{Fragment:dn.Fragment,components:i,ignoreInvalidStyle:!0,jsx:dn.jsx,jsxs:dn.jsxs,passKeys:!0,passNode:!0});function s(f,c,h){if(f.type==="raw"&&h&&typeof c=="number")return l?h.children.splice(c,1):h.children[c]={type:"text",value:f.value},c;if(f.type==="element"){let p;for(p in bn)if(Object.hasOwn(bn,p)&&Object.hasOwn(f.properties,p)){const y=f.properties[p],S=bn[p];(S===null||S.includes(f.tagName))&&(f.properties[p]=a(String(y||""),p,f))}}if(f.type==="element"){let p=n?!n.includes(f.tagName):o?o.includes(f.tagName):!1;if(!p&&r&&typeof c=="number"&&(p=!r(f,c,h)),p&&h&&typeof c=="number")return u&&f.children?h.children.splice(c,1,...f.children):h.children.splice(c,1),c}}}function Xr(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||$a.test(e.slice(0,t))?e:""}const lf=Object.freeze(Object.defineProperty({__proto__:null,MarkdownAsync:Va,MarkdownHooks:Wa,default:qa,defaultUrlTransform:Xr},Symbol.toStringTag,{value:"Module"}));function lr(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}function Ya(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Xa(e,t,n){const i=hn((n||{}).ignore||[]),o=Qa(t);let l=-1;for(;++l<o.length;)Wr(e,"text",u);function u(s,f){let c=-1,h;for(;++c<f.length;){const p=f[c],y=h?h.children:void 0;if(i(p,y?y.indexOf(p):void 0,h))return;h=p}if(h)return a(s,f)}function a(s,f){const c=f[f.length-1],h=o[l][0],p=o[l][1];let y=0;const C=c.children.indexOf(s);let k=!1,I=[];h.lastIndex=0;let T=h.exec(s.value);for(;T;){const M=T.index,N={index:T.index,input:T.input,stack:[...f,s]};let b=p(...T,N);if(typeof b=="string"&&(b=b.length>0?{type:"text",value:b}:void 0),b===!1?h.lastIndex=M+1:(y!==M&&I.push({type:"text",value:s.value.slice(y,M)}),Array.isArray(b)?I.push(...b):b&&I.push(b),y=M+T[0].length,k=!0),!h.global)break;T=h.exec(s.value)}return k?(y<s.value.length&&I.push({type:"text",value:s.value.slice(y)}),c.children.splice(C,1,...I)):I=[s],C+I.length}}function Qa(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([Ga(i[0]),Ja(i[1])])}return t}function Ga(e){return typeof e=="string"?new RegExp(Ya(e),"g"):e}function Ja(e){return typeof e=="function"?e:function(){return e}}const Rn="phrasing",zn=["autolink","link","image","label"];function Ka(){return{transforms:[ls],enter:{literalAutolink:es,literalAutolinkEmail:Ln,literalAutolinkHttp:Ln,literalAutolinkWww:Ln},exit:{literalAutolink:is,literalAutolinkEmail:rs,literalAutolinkHttp:ns,literalAutolinkWww:ts}}}function Za(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Rn,notInConstruct:zn},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Rn,notInConstruct:zn},{character:":",before:"[ps]",after:"\\/",inConstruct:Rn,notInConstruct:zn}]}}function es(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Ln(e){this.config.enter.autolinkProtocol.call(this,e)}function ns(e){this.config.exit.autolinkProtocol.call(this,e)}function ts(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function rs(e){this.config.exit.autolinkEmail.call(this,e)}function is(e){this.exit(e)}function ls(e){Xa(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,os],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),us]],{ignore:["link","linkReference"]})}function os(e,t,n,r,i){let o="";if(!Qr(i)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!as(n)))return!1;const l=ss(n+r);if(!l[0])return!1;const u={type:"link",title:null,url:o+t+l[0],children:[{type:"text",value:t+l[0]}]};return l[1]?[u,{type:"text",value:l[1]}]:u}function us(e,t,n,r){return!Qr(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function as(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])))}function ss(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=lr(e,"(");let o=lr(e,")");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function Qr(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ie(n)||cn(n))&&(!t||n!==47)}Gr.peek=ks;function cs(){this.buffer()}function fs(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function ps(){this.buffer()}function hs(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ms(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=de(this.sliceSerialize(e)).toLowerCase(),n.label=t}function gs(e){this.exit(e)}function ds(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=de(this.sliceSerialize(e)).toLowerCase(),n.label=t}function ys(e){this.exit(e)}function ks(){return"["}function Gr(e,t,n,r){const i=n.createTracker(r);let o=i.move("[^");const l=n.enter("footnoteReference"),u=n.enter("reference");return o+=i.move(n.safe(n.associationId(e),{after:"]",before:o})),u(),l(),o+=i.move("]"),o}function xs(){return{enter:{gfmFootnoteCallString:cs,gfmFootnoteCall:fs,gfmFootnoteDefinitionLabelString:ps,gfmFootnoteDefinition:hs},exit:{gfmFootnoteCallString:ms,gfmFootnoteCall:gs,gfmFootnoteDefinitionLabelString:ds,gfmFootnoteDefinition:ys}}}function bs(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Gr},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,i,o,l){const u=o.createTracker(l);let a=u.move("[^");const s=o.enter("footnoteDefinition"),f=o.enter("label");return a+=u.move(o.safe(o.associationId(r),{before:a,after:"]"})),f(),a+=u.move("]:"),r.children&&r.children.length>0&&(u.shift(4),a+=u.move((t?`
15
+ `:" ")+o.indentLines(o.containerFlow(r,u.current()),t?Jr:ws))),s(),a}}function ws(e,t,n){return t===0?e:Jr(e,t,n)}function Jr(e,t,n){return(n?"":" ")+e}const Ss=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Kr.peek=Is;function Cs(){return{canContainEols:["delete"],enter:{strikethrough:Ts},exit:{strikethrough:As}}}function Es(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Ss}],handlers:{delete:Kr}}}function Ts(e){this.enter({type:"delete",children:[]},e)}function As(e){this.exit(e)}function Kr(e,t,n,r){const i=n.createTracker(r),o=n.enter("strikethrough");let l=i.move("~~");return l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),o(),l}function Is(){return"~"}function vs(e){return e.length}function _s(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||vs,o=[],l=[],u=[],a=[];let s=0,f=-1;for(;++f<e.length;){const S=[],C=[];let k=-1;for(e[f].length>s&&(s=e[f].length);++k<e[f].length;){const I=Ps(e[f][k]);if(n.alignDelimiters!==!1){const T=i(I);C[k]=T,(a[k]===void 0||T>a[k])&&(a[k]=T)}S.push(I)}l[f]=S,u[f]=C}let c=-1;if(typeof r=="object"&&"length"in r)for(;++c<s;)o[c]=or(r[c]);else{const S=or(r);for(;++c<s;)o[c]=S}c=-1;const h=[],p=[];for(;++c<s;){const S=o[c];let C="",k="";S===99?(C=":",k=":"):S===108?C=":":S===114&&(k=":");let I=n.alignDelimiters===!1?1:Math.max(1,a[c]-C.length-k.length);const T=C+"-".repeat(I)+k;n.alignDelimiters!==!1&&(I=C.length+I+k.length,I>a[c]&&(a[c]=I),p[c]=I),h[c]=T}l.splice(1,0,h),u.splice(1,0,p),f=-1;const y=[];for(;++f<l.length;){const S=l[f],C=u[f];c=-1;const k=[];for(;++c<s;){const I=S[c]||"";let T="",M="";if(n.alignDelimiters!==!1){const N=a[c]-(C[c]||0),b=o[c];b===114?T=" ".repeat(N):b===99?N%2?(T=" ".repeat(N/2+.5),M=" ".repeat(N/2-.5)):(T=" ".repeat(N/2),M=T):M=" ".repeat(N)}n.delimiterStart!==!1&&!c&&k.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&I==="")&&(n.delimiterStart!==!1||c)&&k.push(" "),n.alignDelimiters!==!1&&k.push(T),k.push(I),n.alignDelimiters!==!1&&k.push(M),n.padding!==!1&&k.push(" "),(n.delimiterEnd!==!1||c!==s-1)&&k.push("|")}y.push(n.delimiterEnd===!1?k.join("").replace(/ +$/,""):k.join(""))}return y.join(`
16
+ `)}function Ps(e){return e==null?"":String(e)}function or(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}const ur={}.hasOwnProperty;function of(e,t){const n=t||{};function r(i,...o){let l=r.invalid;const u=r.handlers;if(i&&ur.call(i,e)){const a=String(i[e]);l=ur.call(u,a)?u[a]:r.unknown}if(l)return l.call(this,i,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function Rs(e,t,n,r){const i=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const l=n.indentLines(n.containerFlow(e,o.current()),zs);return i(),l}function zs(e,t,n){return">"+(n?"":" ")+e}function Ls(e,t){return ar(e,t.inConstruct,!0)&&!ar(e,t.notInConstruct,!1)}function ar(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}function sr(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
17
+ `&&Ls(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?"":" ";return`\\
18
+ `}function Ds(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,l=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===i?++o>l&&(l=o):o=1,i=r+t.length,r=n.indexOf(t,i);return l}function Os(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))}function Fs(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Ms(e,t,n,r){const i=Fs(n),o=e.value||"",l=i==="`"?"GraveAccent":"Tilde";if(Os(e,n)){const c=n.enter("codeIndented"),h=n.indentLines(o,Ns);return c(),h}const u=n.createTracker(r),a=i.repeat(Math.max(Ds(o,i)+1,3)),s=n.enter("codeFenced");let f=u.move(a);if(e.lang){const c=n.enter(`codeFencedLang${l}`);f+=u.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...u.current()})),c()}if(e.lang&&e.meta){const c=n.enter(`codeFencedMeta${l}`);f+=u.move(" "),f+=u.move(n.safe(e.meta,{before:f,after:`
19
+ `,encode:["`"],...u.current()})),c()}return f+=u.move(`
20
+ `),o&&(f+=u.move(o+`
21
+ `)),f+=u.move(a),s(),f}function Ns(e,t,n){return(n?"":" ")+e}function ft(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Bs(e,t,n,r){const i=ft(n),o=i==='"'?"Quote":"Apostrophe",l=n.enter("definition");let u=n.enter("label");const a=n.createTracker(r);let s=a.move("[");return s+=a.move(n.safe(n.associationId(e),{before:s,after:"]",...a.current()})),s+=a.move("]: "),u(),!e.url||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),s+=a.move("<"),s+=a.move(n.safe(e.url,{before:s,after:">",...a.current()})),s+=a.move(">")):(u=n.enter("destinationRaw"),s+=a.move(n.safe(e.url,{before:s,after:e.title?" ":`
22
+ `,...a.current()}))),u(),e.title&&(u=n.enter(`title${o}`),s+=a.move(" "+i),s+=a.move(n.safe(e.title,{before:s,after:i,...a.current()})),s+=a.move(i),u()),l(),s}function js(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Qe(e){return"&#x"+e.toString(16).toUpperCase()+";"}function sn(e,t,n){const r=De(e),i=De(t);return r===void 0?i===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Zr.peek=Hs;function Zr(e,t,n,r){const i=js(n),o=n.enter("emphasis"),l=n.createTracker(r),u=l.move(i);let a=l.move(n.containerPhrasing(e,{after:i,before:u,...l.current()}));const s=a.charCodeAt(0),f=sn(r.before.charCodeAt(r.before.length-1),s,i);f.inside&&(a=Qe(s)+a.slice(1));const c=a.charCodeAt(a.length-1),h=sn(r.after.charCodeAt(0),c,i);h.inside&&(a=a.slice(0,-1)+Qe(c));const p=l.move(i);return o(),n.attentionEncodeSurroundingInfo={after:h.outside,before:f.outside},u+a+p}function Hs(e,t,n){return n.options.emphasis||"*"}function $s(e,t){let n=!1;return ot(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Hn}),!!((!e.depth||e.depth<3)&&Zn(e)&&(t.options.setext||n))}function Us(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if($s(e,n)){const f=n.enter("headingSetext"),c=n.enter("phrasing"),h=n.containerPhrasing(e,{...o.current(),before:`
23
+ `,after:`
24
+ `});return c(),f(),h+`
25
+ `+(i===1?"=":"-").repeat(h.length-(Math.max(h.lastIndexOf("\r"),h.lastIndexOf(`
26
+ `))+1))}const l="#".repeat(i),u=n.enter("headingAtx"),a=n.enter("phrasing");o.move(l+" ");let s=n.containerPhrasing(e,{before:"# ",after:`
27
+ `,...o.current()});return/^[\t ]/.test(s)&&(s=Qe(s.charCodeAt(0))+s.slice(1)),s=s?l+" "+s:l,n.options.closeAtx&&(s+=" "+l),a(),u(),s}ei.peek=qs;function ei(e){return e.value||""}function qs(){return"<"}ni.peek=Vs;function ni(e,t,n,r){const i=ft(n),o=i==='"'?"Quote":"Apostrophe",l=n.enter("image");let u=n.enter("label");const a=n.createTracker(r);let s=a.move("![");return s+=a.move(n.safe(e.alt,{before:s,after:"]",...a.current()})),s+=a.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),s+=a.move("<"),s+=a.move(n.safe(e.url,{before:s,after:">",...a.current()})),s+=a.move(">")):(u=n.enter("destinationRaw"),s+=a.move(n.safe(e.url,{before:s,after:e.title?" ":")",...a.current()}))),u(),e.title&&(u=n.enter(`title${o}`),s+=a.move(" "+i),s+=a.move(n.safe(e.title,{before:s,after:i,...a.current()})),s+=a.move(i),u()),s+=a.move(")"),l(),s}function Vs(){return"!"}ti.peek=Ws;function ti(e,t,n,r){const i=e.referenceType,o=n.enter("imageReference");let l=n.enter("label");const u=n.createTracker(r);let a=u.move("![");const s=n.safe(e.alt,{before:a,after:"]",...u.current()});a+=u.move(s+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const c=n.safe(n.associationId(e),{before:a,after:"]",...u.current()});return l(),n.stack=f,o(),i==="full"||!s||s!==c?a+=u.move(c+"]"):i==="shortcut"?a=a.slice(0,-1):a+=u.move("]"),a}function Ws(){return"!"}ri.peek=Ys;function ri(e,t,n){let r=e.value||"",i="`",o=-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+" ");++o<n.unsafe.length;){const l=n.unsafe[o],u=n.compilePattern(l);let a;if(l.atBreak)for(;a=u.exec(r);){let s=a.index;r.charCodeAt(s)===10&&r.charCodeAt(s-1)===13&&s--,r=r.slice(0,s)+" "+r.slice(a.index+1)}}return i+r+i}function Ys(){return"`"}function ii(e,t){const n=Zn(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))}li.peek=Xs;function li(e,t,n,r){const i=ft(n),o=i==='"'?"Quote":"Apostrophe",l=n.createTracker(r);let u,a;if(ii(e,n)){const f=n.stack;n.stack=[],u=n.enter("autolink");let c=l.move("<");return c+=l.move(n.containerPhrasing(e,{before:c,after:">",...l.current()})),c+=l.move(">"),u(),n.stack=f,c}u=n.enter("link"),a=n.enter("label");let s=l.move("[");return s+=l.move(n.containerPhrasing(e,{before:s,after:"](",...l.current()})),s+=l.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),s+=l.move("<"),s+=l.move(n.safe(e.url,{before:s,after:">",...l.current()})),s+=l.move(">")):(a=n.enter("destinationRaw"),s+=l.move(n.safe(e.url,{before:s,after:e.title?" ":")",...l.current()}))),a(),e.title&&(a=n.enter(`title${o}`),s+=l.move(" "+i),s+=l.move(n.safe(e.title,{before:s,after:i,...l.current()})),s+=l.move(i),a()),s+=l.move(")"),u(),s}function Xs(e,t,n){return ii(e,n)?"<":"["}oi.peek=Qs;function oi(e,t,n,r){const i=e.referenceType,o=n.enter("linkReference");let l=n.enter("label");const u=n.createTracker(r);let a=u.move("[");const s=n.containerPhrasing(e,{before:a,after:"]",...u.current()});a+=u.move(s+"]["),l();const f=n.stack;n.stack=[],l=n.enter("reference");const c=n.safe(n.associationId(e),{before:a,after:"]",...u.current()});return l(),n.stack=f,o(),i==="full"||!s||s!==c?a+=u.move(c+"]"):i==="shortcut"?a=a.slice(0,-1):a+=u.move("]"),a}function Qs(){return"["}function pt(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}function Gs(e){const t=pt(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}function Js(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function ui(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}function Ks(e,t,n,r){const i=n.enter("list"),o=n.bulletCurrent;let l=e.ordered?Js(n):pt(n);const u=e.ordered?l==="."?")":".":Gs(n);let a=t&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((l==="*"||l==="-")&&f&&(!f.children||!f.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&&(a=!0),ui(n)===l&&f){let c=-1;for(;++c<e.children.length;){const h=e.children[c];if(h&&h.type==="listItem"&&h.children&&h.children[0]&&h.children[0].type==="thematicBreak"){a=!0;break}}}}a&&(l=u),n.bulletCurrent=l;const s=n.containerFlow(e,r);return n.bulletLastUsed=l,n.bulletCurrent=o,i(),s}function Zs(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}function ec(e,t,n,r){const i=Zs(n);let o=n.bulletCurrent||pt(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let l=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const u=n.createTracker(r);u.move(o+" ".repeat(l-o.length)),u.shift(l);const a=n.enter("listItem"),s=n.indentLines(n.containerFlow(e,u.current()),f);return a(),s;function f(c,h,p){return h?(p?"":" ".repeat(l))+c:(p?o:o+" ".repeat(l-o.length))+c}}function nc(e,t,n,r){const i=n.enter("paragraph"),o=n.enter("phrasing"),l=n.containerPhrasing(e,r);return o(),i(),l}const tc=hn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function rc(e,t,n,r){return(e.children.some(function(l){return tc(l)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function ic(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}ai.peek=lc;function ai(e,t,n,r){const i=ic(n),o=n.enter("strong"),l=n.createTracker(r),u=l.move(i+i);let a=l.move(n.containerPhrasing(e,{after:i,before:u,...l.current()}));const s=a.charCodeAt(0),f=sn(r.before.charCodeAt(r.before.length-1),s,i);f.inside&&(a=Qe(s)+a.slice(1));const c=a.charCodeAt(a.length-1),h=sn(r.after.charCodeAt(0),c,i);h.inside&&(a=a.slice(0,-1)+Qe(c));const p=l.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:h.outside,before:f.outside},u+a+p}function lc(e,t,n){return n.options.strong||"*"}function oc(e,t,n,r){return n.safe(e.value,r)}function uc(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}function ac(e,t,n){const r=(ui(n)+(n.options.ruleSpaces?" ":"")).repeat(uc(n));return n.options.ruleSpaces?r.slice(0,-1):r}const si={blockquote:Rs,break:sr,code:Ms,definition:Bs,emphasis:Zr,hardBreak:sr,heading:Us,html:ei,image:ni,imageReference:ti,inlineCode:ri,link:li,linkReference:oi,list:Ks,listItem:ec,paragraph:nc,root:rc,strong:ai,text:oc,thematicBreak:ac};function sc(){return{enter:{table:cc,tableData:cr,tableHeader:cr,tableRow:pc},exit:{codeText:hc,table:fc,tableData:Dn,tableHeader:Dn,tableRow:Dn}}}function cc(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}function fc(e){this.exit(e),this.data.inTable=void 0}function pc(e){this.enter({type:"tableRow",children:[]},e)}function Dn(e){this.exit(e)}function cr(e){this.enter({type:"tableCell",children:[]},e)}function hc(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,mc));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function mc(e,t){return t==="|"?t:e}function gc(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
28
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:h,table:l,tableCell:a,tableRow:u}};function l(p,y,S,C){return s(f(p,S,C),p.align)}function u(p,y,S,C){const k=c(p,S,C),I=s([k]);return I.slice(0,I.indexOf(`
29
+ `))}function a(p,y,S,C){const k=S.enter("tableCell"),I=S.enter("phrasing"),T=S.containerPhrasing(p,{...C,before:o,after:o});return I(),k(),T}function s(p,y){return _s(p,{align:y,alignDelimiters:r,padding:n,stringLength:i})}function f(p,y,S){const C=p.children;let k=-1;const I=[],T=y.enter("table");for(;++k<C.length;)I[k]=c(C[k],y,S);return T(),I}function c(p,y,S){const C=p.children;let k=-1;const I=[],T=y.enter("tableRow");for(;++k<C.length;)I[k]=a(C[k],p,y,S);return T(),I}function h(p,y,S){let C=si.inlineCode(p,y,S);return S.stack.includes("tableCell")&&(C=C.replace(/\|/g,"\\$&")),C}}function dc(){return{exit:{taskListCheckValueChecked:fr,taskListCheckValueUnchecked:fr,paragraph:kc}}}function yc(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:xc}}}function fr(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function kc(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 o=-1,l;for(;++o<i.length;){const u=i[o];if(u.type==="paragraph"){l=u;break}}l===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)}function xc(e,t,n,r){const i=e.children[0],o=typeof e.checked=="boolean"&&i&&i.type==="paragraph",l="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);o&&u.move(l);let a=si.listItem(e,t,n,{...r,...u.current()});return o&&(a=a.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,s)),a;function s(f){return f+l}}function bc(){return[Ka(),xs(),Cs(),sc(),dc()]}function wc(e){return{extensions:[Za(),bs(e),Es(),gc(e),yc()]}}const Sc={tokenize:vc,partial:!0},ci={tokenize:_c,partial:!0},fi={tokenize:Pc,partial:!0},pi={tokenize:Rc,partial:!0},Cc={tokenize:zc,partial:!0},hi={name:"wwwAutolink",tokenize:Ac,previous:gi},mi={name:"protocolAutolink",tokenize:Ic,previous:di},we={name:"emailAutolink",tokenize:Tc,previous:yi},ke={};function Ec(){return{text:ke}}let Ae=48;for(;Ae<123;)ke[Ae]=we,Ae++,Ae===58?Ae=65:Ae===91&&(Ae=97);ke[43]=we;ke[45]=we;ke[46]=we;ke[95]=we;ke[72]=[we,mi];ke[104]=[we,mi];ke[87]=[we,hi];ke[119]=[we,hi];function Tc(e,t,n){const r=this;let i,o;return l;function l(c){return!Vn(c)||!yi.call(r,r.previous)||ht(r.events)?n(c):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(c))}function u(c){return Vn(c)?(e.consume(c),u):c===64?(e.consume(c),a):n(c)}function a(c){return c===46?e.check(Cc,f,s)(c):c===45||c===95||ie(c)?(o=!0,e.consume(c),a):f(c)}function s(c){return e.consume(c),i=!0,a}function f(c){return o&&i&&oe(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(c)):n(c)}}function Ac(e,t,n){const r=this;return i;function i(l){return l!==87&&l!==119||!gi.call(r,r.previous)||ht(r.events)?n(l):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Sc,e.attempt(ci,e.attempt(fi,o),n),n)(l))}function o(l){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(l)}}function Ic(e,t,n){const r=this;let i="",o=!1;return l;function l(c){return(c===72||c===104)&&di.call(r,r.previous)&&!ht(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(c),e.consume(c),u):n(c)}function u(c){if(oe(c)&&i.length<5)return i+=String.fromCodePoint(c),e.consume(c),u;if(c===58){const h=i.toLowerCase();if(h==="http"||h==="https")return e.consume(c),a}return n(c)}function a(c){return c===47?(e.consume(c),o?s:(o=!0,a)):n(c)}function s(c){return c===null||on(c)||K(c)||Ie(c)||cn(c)?n(c):e.attempt(ci,e.attempt(fi,f),n)(c)}function f(c){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(c)}}function vc(e,t,n){let r=0;return i;function i(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),i):l===46&&r===3?(e.consume(l),o):n(l)}function o(l){return l===null?n(l):t(l)}}function _c(e,t,n){let r,i,o;return l;function l(s){return s===46||s===95?e.check(pi,a,u)(s):s===null||K(s)||Ie(s)||s!==45&&cn(s)?a(s):(o=!0,e.consume(s),l)}function u(s){return s===95?r=!0:(i=r,r=void 0),e.consume(s),l}function a(s){return i||r||!o?n(s):t(s)}}function Pc(e,t){let n=0,r=0;return i;function i(l){return l===40?(n++,e.consume(l),i):l===41&&r<n?o(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(pi,t,o)(l):l===null||K(l)||Ie(l)?t(l):(e.consume(l),i)}function o(l){return l===41&&r++,e.consume(l),i}}function Rc(e,t,n){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),r):u===38?(e.consume(u),o):u===93?(e.consume(u),i):u===60||u===null||K(u)||Ie(u)?t(u):n(u)}function i(u){return u===null||u===40||u===91||K(u)||Ie(u)?t(u):r(u)}function o(u){return oe(u)?l(u):n(u)}function l(u){return u===59?(e.consume(u),r):oe(u)?(e.consume(u),l):n(u)}}function zc(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return ie(o)?n(o):t(o)}}function gi(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||K(e)}function di(e){return!oe(e)}function yi(e){return!(e===47||Vn(e))}function Vn(e){return e===43||e===45||e===46||e===95||ie(e)}function ht(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}const Lc={tokenize:Hc,partial:!0};function Dc(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Nc,continuation:{tokenize:Bc},exit:jc}},text:{91:{name:"gfmFootnoteCall",tokenize:Mc},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Oc,resolveTo:Fc}}}}function Oc(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;i--;){const a=r.events[i][1];if(a.type==="labelImage"){l=a;break}if(a.type==="gfmFootnoteCall"||a.type==="labelLink"||a.type==="label"||a.type==="image"||a.type==="link")break}return u;function u(a){if(!l||!l._balanced)return n(a);const s=de(r.sliceSerialize({start:l.end,end:r.now()}));return s.codePointAt(0)!==94||!o.includes(s.slice(1))?n(a):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a))}}function Fc(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 o={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",o,t],["enter",l,t],["exit",l,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}function Mc(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,l;return u;function u(c){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),a}function a(c){return c!==94?n(c):(e.enter("gfmFootnoteCallMarker"),e.consume(c),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(c){if(o>999||c===93&&!l||c===null||c===91||K(c))return n(c);if(c===93){e.exit("chunkString");const h=e.exit("gfmFootnoteCallString");return i.includes(de(r.sliceSerialize(h)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(c)}return K(c)||(l=!0),o++,e.consume(c),c===92?f:s}function f(c){return c===91||c===92||c===93?(e.consume(c),o++,s):s(c)}}function Nc(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,l=0,u;return a;function a(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),s}function s(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(y)}function f(y){if(l>999||y===93&&!u||y===null||y===91||K(y))return n(y);if(y===93){e.exit("chunkString");const S=e.exit("gfmFootnoteDefinitionLabelString");return o=de(r.sliceSerialize(S)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return K(y)||(u=!0),l++,e.consume(y),y===92?c:f}function c(y){return y===91||y===92||y===93?(e.consume(y),l++,f):f(y)}function h(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),i.includes(o)||i.push(o),X(e,p,"gfmFootnoteDefinitionWhitespace")):n(y)}function p(y){return t(y)}}function Bc(e,t,n){return e.check(Je,t,e.attempt(Lc,t,n))}function jc(e){e.exit("gfmFootnoteDefinition")}function Hc(e,t,n){const r=this;return X(e,i,"gfmFootnoteDefinitionIndent",5);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="gfmFootnoteDefinitionIndent"&&l[2].sliceSerialize(l[1],!0).length===4?t(o):n(o)}}function $c(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(l,u){let a=-1;for(;++a<l.length;)if(l[a][0]==="enter"&&l[a][1].type==="strikethroughSequenceTemporary"&&l[a][1]._close){let s=a;for(;s--;)if(l[s][0]==="exit"&&l[s][1].type==="strikethroughSequenceTemporary"&&l[s][1]._open&&l[a][1].end.offset-l[a][1].start.offset===l[s][1].end.offset-l[s][1].start.offset){l[a][1].type="strikethroughSequence",l[s][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},l[s][1].start),end:Object.assign({},l[a][1].end)},c={type:"strikethroughText",start:Object.assign({},l[s][1].end),end:Object.assign({},l[a][1].start)},h=[["enter",f,u],["enter",l[s][1],u],["exit",l[s][1],u],["enter",c,u]],p=u.parser.constructs.insideSpan.null;p&&pe(h,h.length,0,fn(p,l.slice(s+1,a),u)),pe(h,h.length,0,[["exit",c,u],["enter",l[a][1],u],["exit",l[a][1],u],["exit",f,u]]),pe(l,s-1,a-s+3,h),a=s+h.length-2;break}}for(a=-1;++a<l.length;)l[a][1].type==="strikethroughSequenceTemporary"&&(l[a][1].type="data");return l}function o(l,u,a){const s=this.previous,f=this.events;let c=0;return h;function h(y){return s===126&&f[f.length-1][1].type!=="characterEscape"?a(y):(l.enter("strikethroughSequenceTemporary"),p(y))}function p(y){const S=De(s);if(y===126)return c>1?a(y):(l.consume(y),c++,p);if(c<2&&!n)return a(y);const C=l.exit("strikethroughSequenceTemporary"),k=De(y);return C._open=!k||k===2&&!!S,C._close=!S||S===2&&!!k,u(y)}}}class Uc{constructor(){this.map=[]}add(t,n,r){qc(this,t,n,r)}consume(t){if(this.map.sort(function(o,l){return o[0]-l[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.slice()),t.length=0;let i=r.pop();for(;i;){for(const o of i)t.push(o);i=r.pop()}this.map.length=0}}function qc(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])}}function Vc(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 o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function Wc(){return{flow:{null:{name:"table",tokenize:Yc,resolveAll:Xc}}}}function Yc(e,t,n){const r=this;let i=0,o=0,l;return u;function u(x){let R=r.events.length-1;for(;R>-1;){const L=r.events[R][1].type;if(L==="lineEnding"||L==="linePrefix")R--;else break}const z=R>-1?r.events[R][1].type:null,Q=z==="tableHead"||z==="tableRow"?b:a;return Q===b&&r.parser.lazy[r.now().line]?n(x):Q(x)}function a(x){return e.enter("tableHead"),e.enter("tableRow"),s(x)}function s(x){return x===124||(l=!0,o+=1),f(x)}function f(x){return x===null?n(x):O(x)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),p):n(x):U(x)?X(e,f,"whitespace")(x):(o+=1,l&&(l=!1,i+=1),x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),l=!0,f):(e.enter("data"),c(x)))}function c(x){return x===null||x===124||K(x)?(e.exit("data"),f(x)):(e.consume(x),x===92?h:c)}function h(x){return x===92||x===124?(e.consume(x),c):c(x)}function p(x){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(x):(e.enter("tableDelimiterRow"),l=!1,U(x)?X(e,y,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):y(x))}function y(x){return x===45||x===58?C(x):x===124?(l=!0,e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),S):N(x)}function S(x){return U(x)?X(e,C,"whitespace")(x):C(x)}function C(x){return x===58?(o+=1,l=!0,e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),k):x===45?(o+=1,k(x)):x===null||O(x)?M(x):N(x)}function k(x){return x===45?(e.enter("tableDelimiterFiller"),I(x)):N(x)}function I(x){return x===45?(e.consume(x),I):x===58?(l=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(x),e.exit("tableDelimiterMarker"),T):(e.exit("tableDelimiterFiller"),T(x))}function T(x){return U(x)?X(e,M,"whitespace")(x):M(x)}function M(x){return x===124?y(x):x===null||O(x)?!l||i!==o?N(x):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(x)):N(x)}function N(x){return n(x)}function b(x){return e.enter("tableRow"),P(x)}function P(x){return x===124?(e.enter("tableCellDivider"),e.consume(x),e.exit("tableCellDivider"),P):x===null||O(x)?(e.exit("tableRow"),t(x)):U(x)?X(e,P,"whitespace")(x):(e.enter("data"),Y(x))}function Y(x){return x===null||x===124||K(x)?(e.exit("data"),P(x)):(e.consume(x),x===92?q:Y)}function q(x){return x===92||x===124?(e.consume(x),Y):Y(x)}}function Xc(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],l=[0,0,0,0],u=!1,a=0,s,f,c;const h=new Uc;for(;++n<e.length;){const p=e[n],y=p[1];p[0]==="enter"?y.type==="tableHead"?(u=!1,a!==0&&(pr(h,t,a,s,f),f=void 0,a=0),s={type:"table",start:Object.assign({},y.start),end:Object.assign({},y.end)},h.add(n,0,[["enter",s,t]])):y.type==="tableRow"||y.type==="tableDelimiterRow"?(r=!0,c=void 0,o=[0,0,0,0],l=[0,n+1,0,0],u&&(u=!1,f={type:"tableBody",start:Object.assign({},y.start),end:Object.assign({},y.end)},h.add(n,0,[["enter",f,t]])),i=y.type==="tableDelimiterRow"?2:f?3:1):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")?(r=!1,l[2]===0&&(o[1]!==0&&(l[0]=l[1],c=rn(h,t,o,i,void 0,c),o=[0,0,0,0]),l[2]=n)):y.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(l[0]=l[1],c=rn(h,t,o,i,void 0,c)),o=l,l=[o[1],n,0,0])):y.type==="tableHead"?(u=!0,a=n):y.type==="tableRow"||y.type==="tableDelimiterRow"?(a=n,o[1]!==0?(l[0]=l[1],c=rn(h,t,o,i,n,c)):l[1]!==0&&(c=rn(h,t,l,i,n,c)),i=0):i&&(y.type==="data"||y.type==="tableDelimiterMarker"||y.type==="tableDelimiterFiller")&&(l[3]=n)}for(a!==0&&pr(h,t,a,s,f),h.consume(t.events),n=-1;++n<t.events.length;){const p=t.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=Vc(t.events,n))}return e}function rn(e,t,n,r,i,o){const l=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(o.end=Object.assign({},ze(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));const a=ze(t.events,n[1]);if(o={type:l,start:Object.assign({},a),end:Object.assign({},a)},e.add(n[1],0,[["enter",o,t]]),n[2]!==0){const s=ze(t.events,n[2]),f=ze(t.events,n[3]),c={type:u,start:Object.assign({},s),end:Object.assign({},f)};if(e.add(n[2],0,[["enter",c,t]]),r!==2){const h=t.events[n[2]],p=t.events[n[3]];if(h[1].end=Object.assign({},p[1].end),h[1].type="chunkText",h[1].contentType="text",n[3]>n[2]+1){const y=n[2]+1,S=n[3]-n[2]-1;e.add(y,S,[])}}e.add(n[3]+1,0,[["exit",c,t]])}return i!==void 0&&(o.end=Object.assign({},ze(t.events,i)),e.add(i,0,[["exit",o,t]]),o=void 0),o}function pr(e,t,n,r,i){const o=[],l=ze(t.events,n);i&&(i.end=Object.assign({},l),o.push(["exit",i,t])),r.end=Object.assign({},l),o.push(["exit",r,t]),e.add(n+1,0,o)}function ze(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const Qc={name:"tasklistCheck",tokenize:Jc};function Gc(){return{text:{91:Qc}}}function Jc(e,t,n){const r=this;return i;function i(a){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(a):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(a),e.exit("taskListCheckMarker"),o)}function o(a){return K(a)?(e.enter("taskListCheckValueUnchecked"),e.consume(a),e.exit("taskListCheckValueUnchecked"),l):a===88||a===120?(e.enter("taskListCheckValueChecked"),e.consume(a),e.exit("taskListCheckValueChecked"),l):n(a)}function l(a){return a===93?(e.enter("taskListCheckMarker"),e.consume(a),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):n(a)}function u(a){return O(a)?t(a):U(a)?e.check({tokenize:Kc},t,n)(a):n(a)}}function Kc(e,t,n){return X(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function Zc(e){return Ir([Ec(),Dc(),$c(e),Wc(),Gc()])}const ef={};function nf(e){const t=this,n=e||ef,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(Zc(n)),o.push(bc()),l.push(wc(n))}const uf=Object.freeze(Object.defineProperty({__proto__:null,default:nf},Symbol.toStringTag,{value:"Module"}));export{qa as M,rf as R,zi as W,Li as a,Qi as b,lr as c,nf as d,Ri as e,Vi as f,Wn as g,Xi as h,tf as i,dn as j,lf as k,uf as l,qe as r,Xn as s,Ni as w,of as z};
@@ -0,0 +1 @@
1
+ import{c as t}from"./createLucideIcon-CsWFljth.js";const a=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],i=t("maximize-2",a);export{i as M};