upfynai-code 2.9.0 → 2.9.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 (229) hide show
  1. package/README.md +91 -66
  2. package/client/dist/api-docs.html +838 -0
  3. package/client/dist/assets/AppContent-BXZDeSIC.js +545 -0
  4. package/client/dist/assets/CanvasFullScreen-mnpCnLZ9.js +1 -0
  5. package/client/dist/assets/CanvasWorkspace-4CqmjAVQ.js +163 -0
  6. package/client/dist/assets/DashboardPanel-zFIFlw56.js +1 -0
  7. package/client/dist/assets/FileTree-B0c_GaB3.js +1 -0
  8. package/client/dist/assets/GitPanel-DUP4zVU4.js +2 -0
  9. package/client/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  10. package/client/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  11. package/client/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  12. package/client/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  13. package/client/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  14. package/client/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  15. package/client/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  16. package/client/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  17. package/client/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  18. package/client/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  19. package/client/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  20. package/client/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  21. package/client/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  22. package/client/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  23. package/client/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  24. package/client/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  25. package/client/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  26. package/client/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  27. package/client/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  28. package/client/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  29. package/client/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  30. package/client/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  31. package/client/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  32. package/client/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  33. package/client/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  34. package/client/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  35. package/client/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  36. package/client/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  37. package/client/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  38. package/client/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  39. package/client/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  40. package/client/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  41. package/client/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  42. package/client/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  43. package/client/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  44. package/client/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  45. package/client/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  46. package/client/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  47. package/client/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  48. package/client/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  49. package/client/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  50. package/client/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  51. package/client/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  52. package/client/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  53. package/client/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  54. package/client/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  55. package/client/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  56. package/client/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  57. package/client/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  58. package/client/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  59. package/client/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  60. package/client/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  61. package/client/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  62. package/client/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  63. package/client/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  64. package/client/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  65. package/client/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  66. package/client/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  67. package/client/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  68. package/client/dist/assets/LoginModal-BRycfsyD.js +13 -0
  69. package/client/dist/assets/MarkdownPreview-DHmk3qzu.js +1 -0
  70. package/client/dist/assets/MermaidBlock-BuBc_G-F.js +2 -0
  71. package/client/dist/assets/Onboarding-BcnaZZ0o.js +1 -0
  72. package/client/dist/assets/PreviewPanel-CqCa92Tf.js +32 -0
  73. package/client/dist/assets/SetupForm-S0g6u5yT.js +1 -0
  74. package/client/dist/assets/WorkflowsPanel-CouH9JDO.js +1 -0
  75. package/client/dist/assets/index-BFuqS0tY.css +1 -0
  76. package/client/dist/assets/index-CNDcVl2g.js +68 -0
  77. package/client/dist/assets/pdf-CE_K4jFx.js +12 -0
  78. package/client/dist/assets/vendor-canvas-BZV40eAE.css +1 -0
  79. package/client/dist/assets/vendor-canvas-D39yWul6.js +49 -0
  80. package/client/dist/assets/vendor-codemirror-CbtmxxaB.js +35 -0
  81. package/client/dist/assets/vendor-diff-DNQpbhrT.js +69 -0
  82. package/client/dist/assets/vendor-i18n-DCFGyhQR.js +1 -0
  83. package/client/dist/assets/vendor-icons-BaD0x9SL.js +711 -0
  84. package/client/dist/assets/vendor-markdown-CimbIo6Y.js +296 -0
  85. package/client/dist/assets/vendor-mermaid-CH7SGc99.js +2556 -0
  86. package/client/dist/assets/vendor-react-96lCPsRK.js +67 -0
  87. package/client/dist/assets/vendor-syntax-DuHI9Ok6.js +16 -0
  88. package/client/dist/assets/vendor-xterm-CZq1hqo1.js +66 -0
  89. package/client/dist/assets/vendor-xterm-qxJ8_QYu.css +32 -0
  90. package/client/dist/clear-cache.html +85 -0
  91. package/client/dist/convert-icons.md +53 -0
  92. package/client/dist/favicon.png +0 -0
  93. package/client/dist/favicon.svg +5 -0
  94. package/client/dist/generate-icons.js +49 -0
  95. package/client/dist/icons/claude-ai-icon.svg +1 -0
  96. package/client/dist/icons/codex-white.svg +3 -0
  97. package/client/dist/icons/codex.svg +3 -0
  98. package/client/dist/icons/cursor-white.svg +12 -0
  99. package/client/dist/icons/cursor.svg +1 -0
  100. package/client/dist/icons/icon-128x128.png +0 -0
  101. package/client/dist/icons/icon-128x128.svg +5 -0
  102. package/client/dist/icons/icon-144x144.png +0 -0
  103. package/client/dist/icons/icon-144x144.svg +5 -0
  104. package/client/dist/icons/icon-152x152.png +0 -0
  105. package/client/dist/icons/icon-152x152.svg +5 -0
  106. package/client/dist/icons/icon-192x192.png +0 -0
  107. package/client/dist/icons/icon-192x192.svg +5 -0
  108. package/client/dist/icons/icon-384x384.png +0 -0
  109. package/client/dist/icons/icon-384x384.svg +5 -0
  110. package/client/dist/icons/icon-512x512.png +0 -0
  111. package/client/dist/icons/icon-512x512.svg +5 -0
  112. package/client/dist/icons/icon-72x72.png +0 -0
  113. package/client/dist/icons/icon-72x72.svg +5 -0
  114. package/client/dist/icons/icon-96x96.png +0 -0
  115. package/client/dist/icons/icon-96x96.svg +5 -0
  116. package/client/dist/icons/icon-template.svg +5 -0
  117. package/client/dist/index.html +119 -0
  118. package/client/dist/logo-128.png +0 -0
  119. package/client/dist/logo-256.png +0 -0
  120. package/client/dist/logo-32.png +0 -0
  121. package/client/dist/logo-512.png +0 -0
  122. package/client/dist/logo-64.png +0 -0
  123. package/client/dist/logo.svg +14 -0
  124. package/client/dist/manifest.json +61 -0
  125. package/client/dist/mcp-docs.html +108 -0
  126. package/client/dist/offline.html +84 -0
  127. package/client/dist/screenshots/cli-selection.png +0 -0
  128. package/client/dist/screenshots/desktop-main.png +0 -0
  129. package/client/dist/screenshots/mobile-chat.png +0 -0
  130. package/client/dist/screenshots/tools-modal.png +0 -0
  131. package/client/dist/sw.js +82 -0
  132. package/commands/upfynai-connect.md +59 -0
  133. package/commands/upfynai-disconnect.md +31 -0
  134. package/commands/upfynai-doctor.md +99 -0
  135. package/commands/upfynai-export.md +49 -0
  136. package/commands/upfynai-local.md +82 -0
  137. package/commands/upfynai-status.md +75 -0
  138. package/commands/upfynai-stop.md +49 -0
  139. package/commands/upfynai-uninstall.md +58 -0
  140. package/commands/upfynai.md +69 -0
  141. package/package.json +143 -82
  142. package/scripts/build-client.js +17 -0
  143. package/scripts/fix-node-pty.js +67 -0
  144. package/scripts/install-commands.js +78 -0
  145. package/server/agent-loop.js +242 -0
  146. package/server/auto-compact.js +99 -0
  147. package/server/claude-sdk.js +797 -0
  148. package/server/cli-ui.js +785 -0
  149. package/server/cli.js +596 -0
  150. package/server/constants/config.js +31 -0
  151. package/server/cursor-cli.js +270 -0
  152. package/server/database/auth.db +0 -0
  153. package/server/database/db.js +1391 -0
  154. package/server/database/init.sql +70 -0
  155. package/server/index.js +3799 -0
  156. package/server/load-env.js +26 -0
  157. package/server/mcp-server.js +621 -0
  158. package/server/middleware/auth.js +176 -0
  159. package/server/middleware/relayHelpers.js +44 -0
  160. package/server/middleware/sandboxRouter.js +174 -0
  161. package/server/openai-codex.js +403 -0
  162. package/server/openrouter.js +137 -0
  163. package/server/projects.js +1807 -0
  164. package/server/provider-factory.js +174 -0
  165. package/server/relay-client.js +379 -0
  166. package/server/routes/agent.js +1226 -0
  167. package/server/routes/auth.js +554 -0
  168. package/server/routes/canvas.js +53 -0
  169. package/server/routes/cli-auth.js +263 -0
  170. package/server/routes/codex.js +396 -0
  171. package/server/routes/commands.js +707 -0
  172. package/server/routes/composio.js +176 -0
  173. package/server/routes/cursor.js +770 -0
  174. package/server/routes/dashboard.js +295 -0
  175. package/server/routes/git.js +1208 -0
  176. package/server/routes/keys.js +34 -0
  177. package/server/routes/mcp-utils.js +48 -0
  178. package/server/routes/mcp.js +661 -0
  179. package/server/routes/payments.js +227 -0
  180. package/server/routes/projects.js +655 -0
  181. package/server/routes/sessions.js +146 -0
  182. package/server/routes/settings.js +261 -0
  183. package/server/routes/taskmaster.js +1928 -0
  184. package/server/routes/user.js +106 -0
  185. package/server/routes/vapi-chat.js +624 -0
  186. package/server/routes/voice.js +235 -0
  187. package/server/routes/webhooks.js +166 -0
  188. package/server/routes/workflows.js +312 -0
  189. package/server/sandbox.js +120 -0
  190. package/server/services/composio.js +204 -0
  191. package/server/services/sessionRegistry.js +139 -0
  192. package/server/services/whisperService.js +84 -0
  193. package/server/services/workflowScheduler.js +206 -0
  194. package/server/tests/relay-flow.test.js +570 -0
  195. package/server/tests/sessions.test.js +259 -0
  196. package/server/utils/commandParser.js +303 -0
  197. package/server/utils/email.js +61 -0
  198. package/server/utils/gitConfig.js +24 -0
  199. package/server/utils/mcp-detector.js +198 -0
  200. package/server/utils/taskmaster-websocket.js +129 -0
  201. package/shared/integrationCatalog.d.ts +12 -0
  202. package/shared/integrationCatalog.js +172 -0
  203. package/shared/modelConstants.js +96 -0
  204. package/bin/cli.js +0 -97
  205. package/dist/agents/claude.js +0 -229
  206. package/dist/agents/codex.js +0 -48
  207. package/dist/agents/cursor.js +0 -48
  208. package/dist/agents/detect.js +0 -51
  209. package/dist/agents/exec.js +0 -31
  210. package/dist/agents/files.js +0 -105
  211. package/dist/agents/git.js +0 -18
  212. package/dist/agents/gitagent.js +0 -67
  213. package/dist/agents/index.js +0 -88
  214. package/dist/agents/shell.js +0 -38
  215. package/dist/agents/utils.js +0 -136
  216. package/scripts/postinstall.js +0 -9
  217. package/scripts/prepublish.js +0 -58
  218. package/src/animation.js +0 -228
  219. package/src/auth.js +0 -122
  220. package/src/config.js +0 -40
  221. package/src/connect.js +0 -416
  222. package/src/launch.js +0 -78
  223. package/src/mcp.js +0 -57
  224. package/src/permissions.js +0 -140
  225. package/src/persistent-shell.js +0 -261
  226. package/src/server.js +0 -54
  227. /package/{dist → shared}/gitagent/index.js +0 -0
  228. /package/{dist → shared}/gitagent/parser.js +0 -0
  229. /package/{dist → shared}/gitagent/prompt-builder.js +0 -0
@@ -0,0 +1,296 @@
1
+ import{g as Ul,j as P0}from"./vendor-react-96lCPsRK.js";function t0(e){const t=[],r=String(e||"");let n=r.indexOf(","),a=0,i=!1;for(;!i;){n===-1&&(n=r.length,i=!0);const u=r.slice(a,n).trim();(u||!i)&&t.push(u),a=n+1,n=r.indexOf(",",a)}return t}function ql(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const eh=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,th=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,rh={};function fu(e,t){return(rh.jsx?th:eh).test(e)}const nh=/[ \t\n\f\r]/g;function ah(e){return typeof e=="object"?e.type==="text"?du(e.value):!1:du(e)}function du(e){return e.replace(nh,"")===""}class Tn{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}Tn.prototype.normal={};Tn.prototype.property={};Tn.prototype.space=void 0;function Yl(e,t){const r={},n={};for(const a of e)Object.assign(r,a.property),Object.assign(n,a.normal);return new Tn(r,n,t)}function fr(e){return e.toLowerCase()}class et{constructor(t,r){this.attribute=r,this.property=t}}et.prototype.attribute="";et.prototype.booleanish=!1;et.prototype.boolean=!1;et.prototype.commaOrSpaceSeparated=!1;et.prototype.commaSeparated=!1;et.prototype.defined=!1;et.prototype.mustUseProperty=!1;et.prototype.number=!1;et.prototype.overloadedBoolean=!1;et.prototype.property="";et.prototype.spaceSeparated=!1;et.prototype.space=void 0;let ih=0;const oe=dr(),Re=dr(),Ha=dr(),$=dr(),xe=dr(),wr=dr(),it=dr();function dr(){return 2**++ih}const za=Object.freeze(Object.defineProperty({__proto__:null,boolean:oe,booleanish:Re,commaOrSpaceSeparated:it,commaSeparated:wr,number:$,overloadedBoolean:Ha,spaceSeparated:xe},Symbol.toStringTag,{value:"Module"})),B0=Object.keys(za);class Ei extends et{constructor(t,r,n,a){let i=-1;if(super(t,r),mu(this,"space",a),typeof n=="number")for(;++i<B0.length;){const u=B0[i];mu(this,B0[i],(n&za[u])===za[u])}}}Ei.prototype.defined=!0;function mu(e,t,r){r&&(e[t]=r)}function Mr(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const i=new Ei(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[fr(n)]=n,r[fr(i.attribute)]=n}return new Tn(t,r,e.space)}const Vl=Mr({properties:{ariaActiveDescendant:null,ariaAtomic:Re,ariaAutoComplete:null,ariaBusy:Re,ariaChecked:Re,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:xe,ariaCurrent:null,ariaDescribedBy:xe,ariaDetails:null,ariaDisabled:Re,ariaDropEffect:xe,ariaErrorMessage:null,ariaExpanded:Re,ariaFlowTo:xe,ariaGrabbed:Re,ariaHasPopup:null,ariaHidden:Re,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:xe,ariaLevel:$,ariaLive:null,ariaModal:Re,ariaMultiLine:Re,ariaMultiSelectable:Re,ariaOrientation:null,ariaOwns:xe,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:Re,ariaReadOnly:Re,ariaRelevant:null,ariaRequired:Re,ariaRoleDescription:xe,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:Re,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Gl(e,t){return t in e?e[t]:t}function $l(e,t){return Gl(e,t.toLowerCase())}const uh=Mr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:wr,acceptCharset:xe,accessKey:xe,action:null,allow:null,allowFullScreen:oe,allowPaymentRequest:oe,allowUserMedia:oe,alt:null,as:null,async:oe,autoCapitalize:null,autoComplete:xe,autoFocus:oe,autoPlay:oe,blocking:xe,capture:null,charSet:null,checked:oe,cite:null,className:xe,cols:$,colSpan:null,content:null,contentEditable:Re,controls:oe,controlsList:xe,coords:$|wr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:oe,defer:oe,dir:null,dirName:null,disabled:oe,download:Ha,draggable:Re,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:oe,formTarget:null,headers:xe,height:$,hidden:Ha,high:$,href:null,hrefLang:null,htmlFor:xe,httpEquiv:xe,id:null,imageSizes:null,imageSrcSet:null,inert:oe,inputMode:null,integrity:null,is:null,isMap:oe,itemId:null,itemProp:xe,itemRef:xe,itemScope:oe,itemType:xe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:oe,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:oe,muted:oe,name:null,nonce:null,noModule:oe,noValidate:oe,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:oe,optimum:$,pattern:null,ping:xe,placeholder:null,playsInline:oe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:oe,referrerPolicy:null,rel:xe,required:oe,reversed:oe,rows:$,rowSpan:$,sandbox:xe,scope:null,scoped:oe,seamless:oe,selected:oe,shadowRootClonable:oe,shadowRootDelegatesFocus:oe,shadowRootMode:null,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:Re,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:oe,useMap:null,value:Re,width:$,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:xe,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:oe,declare:oe,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:oe,noHref:oe,noShade:oe,noWrap:oe,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:Re,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:oe,disableRemotePlayback:oe,prefix:null,property:null,results:$,security:null,unselectable:null},space:"html",transform:$l}),sh=Mr({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:it,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:xe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:oe,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:wr,g2:wr,glyphName:wr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:it,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:$,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:xe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:it,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:it,rev:it,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:it,requiredFeatures:it,requiredFonts:it,requiredFormats:it,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:it,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:it,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:it,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Gl}),Wl=Mr({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()}}),jl=Mr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:$l}),Xl=Mr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),lh={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"},oh=/[A-Z]/g,pu=/-[a-z]/g,ch=/^data[-\w.:]+$/i;function yn(e,t){const r=fr(t);let n=t,a=et;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&ch.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(pu,fh);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!pu.test(i)){let u=i.replace(oh,hh);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}a=Ei}return new a(n,t)}function hh(e){return"-"+e.toLowerCase()}function fh(e){return e.charAt(1).toUpperCase()}const Pr=Yl([Vl,uh,Wl,jl,Xl],"html"),zt=Yl([Vl,sh,Wl,jl,Xl],"svg");function r0(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ql(e){return e.join(" ").trim()}var xr={},F0,gu;function dh(){if(gu)return F0;gu=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,s=/^\s+|\s+$/g,l=`
2
+ `,o="/",f="*",d="",g="comment",p="declaration";function T(I,w){if(typeof I!="string")throw new TypeError("First argument must be a string");if(!I)return[];w=w||{};var D=1,R=1;function j(ne){var Q=ne.match(t);Q&&(D+=Q.length);var de=ne.lastIndexOf(l);R=~de?ne.length-de:R+ne.length}function V(){var ne={line:D,column:R};return function(Q){return Q.position=new O(ne),G(),Q}}function O(ne){this.start=ne,this.end={line:D,column:R},this.source=w.source}O.prototype.content=I;function X(ne){var Q=new Error(w.source+":"+D+":"+R+": "+ne);if(Q.reason=ne,Q.filename=w.source,Q.line=D,Q.column=R,Q.source=I,!w.silent)throw Q}function re(ne){var Q=ne.exec(I);if(Q){var de=Q[0];return j(de),I=I.slice(de.length),Q}}function G(){re(r)}function M(ne){var Q;for(ne=ne||[];Q=Z();)Q!==!1&&ne.push(Q);return ne}function Z(){var ne=V();if(!(o!=I.charAt(0)||f!=I.charAt(1))){for(var Q=2;d!=I.charAt(Q)&&(f!=I.charAt(Q)||o!=I.charAt(Q+1));)++Q;if(Q+=2,d===I.charAt(Q-1))return X("End of comment missing");var de=I.slice(2,Q-2);return R+=2,j(de),I=I.slice(Q),R+=2,ne({type:g,comment:de})}}function J(){var ne=V(),Q=re(n);if(Q){if(Z(),!re(a))return X("property missing ':'");var de=re(i),ye=ne({type:p,property:v(Q[0].replace(e,d)),value:de?v(de[0].replace(e,d)):d});return re(u),ye}}function fe(){var ne=[];M(ne);for(var Q;Q=J();)Q!==!1&&(ne.push(Q),M(ne));return ne}return G(),fe()}function v(I){return I?I.replace(s,d):d}return F0=T,F0}var bu;function mh(){if(bu)return xr;bu=1;var e=xr&&xr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(xr,"__esModule",{value:!0}),xr.default=r;const t=e(dh());function r(n,a){let i=null;if(!n||typeof n!="string")return i;const u=(0,t.default)(n),s=typeof a=="function";return u.forEach(l=>{if(l.type!=="declaration")return;const{property:o,value:f}=l;s?a(o,f,l):f&&(i=i||{},i[o]=f)}),i}return xr}var $r={},Eu;function ph(){if(Eu)return $r;Eu=1,Object.defineProperty($r,"__esModule",{value:!0}),$r.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,r=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,i=function(o){return!o||r.test(o)||e.test(o)},u=function(o,f){return f.toUpperCase()},s=function(o,f){return"".concat(f,"-")},l=function(o,f){return f===void 0&&(f={}),i(o)?o:(o=o.toLowerCase(),f.reactCompat?o=o.replace(a,s):o=o.replace(n,s),o.replace(t,u))};return $r.camelCase=l,$r}var Wr,Tu;function gh(){if(Tu)return Wr;Tu=1;var e=Wr&&Wr.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(mh()),r=ph();function n(a,i){var u={};return!a||typeof a!="string"||(0,t.default)(a,function(s,l){s&&l&&(u[(0,r.camelCase)(s,i)]=l)}),u}return n.default=n,Wr=n,Wr}var bh=gh();const Eh=Ul(bh),m0=Kl("end"),wt=Kl("start");function Kl(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Th(e){const t=wt(e),r=m0(e);if(t&&r)return{start:t,end:r}}function yh(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?yu(e.position):"start"in e||"end"in e?yu(e):"line"in e||"column"in e?Ua(e):""}function Ua(e){return xu(e&&e.line)+":"+xu(e&&e.column)}function yu(e){return Ua(e&&e.start)+"-"+Ua(e&&e.end)}function xu(e){return e&&typeof e=="number"?e:1}class qe extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",i={},u=!1;if(r&&("line"in r&&"column"in r?i={place:r}:"start"in r&&"end"in r?i={place:r}:"type"in r?i={ancestors:[r],place:r.position}:i={...r}),typeof t=="string"?a=t:!i.cause&&t&&(u=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?i.ruleId=n:(i.source=n.slice(0,l),i.ruleId=n.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const s=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=s?s.line:void 0,this.name=yh(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=u&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}qe.prototype.file="";qe.prototype.name="";qe.prototype.reason="";qe.prototype.message="";qe.prototype.stack="";qe.prototype.column=void 0;qe.prototype.line=void 0;qe.prototype.ancestors=void 0;qe.prototype.cause=void 0;qe.prototype.fatal=void 0;qe.prototype.place=void 0;qe.prototype.ruleId=void 0;qe.prototype.source=void 0;const Ti={}.hasOwnProperty,xh=new Map,vh=/[A-Z]/g,Ah=new Set(["table","tbody","thead","tfoot","tr"]),Sh=new Set(["td","th"]),Jl="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function kh(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=Lh(r,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");n=Oh(r,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?zt:Pr,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Zl(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function Zl(e,t,r){if(t.type==="element")return wh(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Ch(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return _h(e,t,r);if(t.type==="mdxjsEsm")return Ih(e,t);if(t.type==="root")return Nh(e,t,r);if(t.type==="text")return Dh(e,t)}function wh(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=zt,e.schema=a),e.ancestors.push(t);const i=to(e,t.tagName,!1),u=Rh(e,t);let s=xi(e,t);return Ah.has(t.tagName)&&(s=s.filter(function(l){return typeof l=="string"?!ah(l):!0})),eo(e,u,i,t),yi(u,s),e.ancestors.pop(),e.schema=n,e.create(t,i,u,r)}function Ch(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}fn(e,t.position)}function Ih(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);fn(e,t.position)}function _h(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=zt,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:to(e,t.name,!0),u=Mh(e,t),s=xi(e,t);return eo(e,u,i,t),yi(u,s),e.ancestors.pop(),e.schema=n,e.create(t,i,u,r)}function Nh(e,t,r){const n={};return yi(n,xi(e,t)),e.create(t,e.Fragment,n,r)}function Dh(e,t){return t.value}function eo(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function yi(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function Oh(e,t,r){return n;function n(a,i,u,s){const o=Array.isArray(u.children)?r:t;return s?o(i,u,s):o(i,u)}}function Lh(e,t){return r;function r(n,a,i,u){const s=Array.isArray(i.children),l=wt(n);return t(a,i,u,s,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function Rh(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&Ti.call(t.properties,a)){const i=Ph(e,a,t.properties[a]);if(i){const[u,s]=i;e.tableCellAlignToStyle&&u==="align"&&typeof s=="string"&&Sh.has(t.tagName)?n=s:r[u]=s}}if(n){const i=r.style||(r.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function Mh(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const i=n.data.estree.body[0];i.type;const u=i.expression;u.type;const s=u.properties[0];s.type,Object.assign(r,e.evaluater.evaluateExpression(s.argument))}else fn(e,t.position);else{const a=n.name;let i;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const s=n.value.data.estree.body[0];s.type,i=e.evaluater.evaluateExpression(s.expression)}else fn(e,t.position);else i=n.value===null?!0:n.value;r[a]=i}return r}function xi(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:xh;for(;++n<t.children.length;){const i=t.children[n];let u;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const o=a.get(l)||0;u=l+"-"+o,a.set(l,o+1)}}const s=Zl(e,i,u);s!==void 0&&r.push(s)}return r}function Ph(e,t,r){const n=yn(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?ql(r):Ql(r)),n.property==="style"){let a=typeof r=="object"?r:Bh(e,String(r));return e.stylePropertyNameCase==="css"&&(a=Fh(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?lh[n.property]||n.property:n.attribute,r]}}function Bh(e,t){try{return Eh(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new qe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Jl+"#cannot-parse-style-attribute",a}}function to(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let i=-1,u;for(;++i<a.length;){const s=fu(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};u=u?{type:"MemberExpression",object:u,property:s,computed:!!(i&&s.type==="Literal"),optional:!1}:s}n=u}else n=fu(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return Ti.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);fn(e)}function fn(e,t){const r=new qe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Jl+"#cannot-handle-mdx-estrees-without-createevaluater",r}function Fh(e){const t={};let r;for(r in e)Ti.call(e,r)&&(t[Hh(r)]=e[r]);return t}function Hh(e){let t=e.replace(vh,zh);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function zh(e){return"-"+e.toLowerCase()}const H0={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"]},Uh={};function qh(e,t){const r=Uh,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return ro(e,n,a)}function ro(e,t,r){if(Yh(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return vu(e.children,t,r)}return Array.isArray(e)?vu(e,t,r):""}function vu(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=ro(e[a],t,r);return n.join("")}function Yh(e){return!!(e&&typeof e=="object")}const Au=document.createElement("i");function vi(e){const t="&"+e+";";Au.innerHTML=t;const r=Au.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function kt(e,t,r,n){const a=e.length;let i=0,u;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)u=Array.from(n),u.unshift(t,r),e.splice(...u);else for(r&&e.splice(t,r);i<n.length;)u=n.slice(i,i+1e4),u.unshift(t,0),e.splice(...u),i+=1e4,t+=1e4}function ot(e,t){return e.length>0?(kt(e,e.length,0,t),e):t}const Su={}.hasOwnProperty;function Vh(e){const t={};let r=-1;for(;++r<e.length;)Gh(t,e[r]);return t}function Gh(e,t){let r;for(r in t){const a=(Su.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let u;if(i)for(u in i){Su.call(a,u)||(a[u]=[]);const s=i[u];$h(a[u],Array.isArray(s)?s:s?[s]:[])}}}function $h(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);kt(e,0,0,n)}function no(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function Cr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const vt=rr(/[A-Za-z]/),bt=rr(/[\dA-Za-z]/),Wh=rr(/[#-'*+\--9=?A-Z^-~]/);function qa(e){return e!==null&&(e<32||e===127)}const Ya=rr(/\d/),jh=rr(/[\dA-Fa-f]/),Xh=rr(/[!-/:-@[-`{-~]/);function ue(e){return e!==null&&e<-2}function Ze(e){return e!==null&&(e<0||e===32)}function be(e){return e===-2||e===-1||e===32}const Qh=rr(new RegExp("\\p{P}|\\p{S}","u")),Kh=rr(/\s/);function rr(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function ve(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return u;function u(l){return be(l)?(e.enter(r),s(l)):t(l)}function s(l){return be(l)&&i++<a?(e.consume(l),s):(e.exit(r),t(l))}}const Jh={tokenize:Zh};function Zh(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ve(e,t,"linePrefix")}function a(s){return e.enter("paragraph"),i(s)}function i(s){const l=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,u(s)}function u(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return ue(s)?(e.consume(s),e.exit("chunkText"),i):(e.consume(s),u)}}const ef={tokenize:tf},ku={tokenize:rf};function tf(e){const t=this,r=[];let n=0,a,i,u;return s;function s(R){if(n<r.length){const j=r[n];return t.containerState=j[1],e.attempt(j[0].continuation,l,o)(R)}return o(R)}function l(R){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&D();const j=t.events.length;let V=j,O;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){O=t.events[V][1].end;break}w(n);let X=j;for(;X<t.events.length;)t.events[X][1].end={...O},X++;return kt(t.events,V+1,0,t.events.slice(j)),t.events.length=X,o(R)}return s(R)}function o(R){if(n===r.length){if(!a)return g(R);if(a.currentConstruct&&a.currentConstruct.concrete)return T(R);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(ku,f,d)(R)}function f(R){return a&&D(),w(n),g(R)}function d(R){return t.parser.lazy[t.now().line]=n!==r.length,u=t.now().offset,T(R)}function g(R){return t.containerState={},e.attempt(ku,p,T)(R)}function p(R){return n++,r.push([t.currentConstruct,t.containerState]),g(R)}function T(R){if(R===null){a&&D(),w(0),e.consume(R);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),v(R)}function v(R){if(R===null){I(e.exit("chunkFlow"),!0),w(0),e.consume(R);return}return ue(R)?(e.consume(R),I(e.exit("chunkFlow")),n=0,t.interrupt=void 0,s):(e.consume(R),v)}function I(R,j){const V=t.sliceStream(R);if(j&&V.push(null),R.previous=i,i&&(i.next=R),i=R,a.defineSkip(R.start),a.write(V),t.parser.lazy[R.start.line]){let O=a.events.length;for(;O--;)if(a.events[O][1].start.offset<u&&(!a.events[O][1].end||a.events[O][1].end.offset>u))return;const X=t.events.length;let re=X,G,M;for(;re--;)if(t.events[re][0]==="exit"&&t.events[re][1].type==="chunkFlow"){if(G){M=t.events[re][1].end;break}G=!0}for(w(n),O=X;O<t.events.length;)t.events[O][1].end={...M},O++;kt(t.events,re+1,0,t.events.slice(X)),t.events.length=O}}function w(R){let j=r.length;for(;j-- >R;){const V=r[j];t.containerState=V[1],V[0].exit.call(t,e)}r.length=R}function D(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function rf(e,t,r){return ve(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function wu(e){if(e===null||Ze(e)||Kh(e))return 1;if(Qh(e))return 2}function Ai(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}const Va={name:"attention",resolveAll:nf,tokenize:af};function nf(e,t){let r=-1,n,a,i,u,s,l,o,f;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const d={...e[n][1].end},g={...e[r][1].start};Cu(d,-l),Cu(g,l),u={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},s={type:l>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:g},i={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},a={type:l>1?"strong":"emphasis",start:{...u.start},end:{...s.end}},e[n][1].end={...u.start},e[r][1].start={...s.end},o=[],e[n][1].end.offset-e[n][1].start.offset&&(o=ot(o,[["enter",e[n][1],t],["exit",e[n][1],t]])),o=ot(o,[["enter",a,t],["enter",u,t],["exit",u,t],["enter",i,t]]),o=ot(o,Ai(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),o=ot(o,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(f=2,o=ot(o,[["enter",e[r][1],t],["exit",e[r][1],t]])):f=0,kt(e,n-1,r-n+3,o),r=n+o.length-f-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function af(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=wu(n);let i;return u;function u(l){return i=l,e.enter("attentionSequence"),s(l)}function s(l){if(l===i)return e.consume(l),s;const o=e.exit("attentionSequence"),f=wu(l),d=!f||f===2&&a||r.includes(l),g=!a||a===2&&f||r.includes(n);return o._open=!!(i===42?d:d&&(a||!g)),o._close=!!(i===42?g:g&&(f||!d)),t(l)}}function Cu(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const uf={name:"autolink",tokenize:sf};function sf(e,t,r){let n=0;return a;function a(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(p){return vt(p)?(e.consume(p),u):p===64?r(p):o(p)}function u(p){return p===43||p===45||p===46||bt(p)?(n=1,s(p)):o(p)}function s(p){return p===58?(e.consume(p),n=0,l):(p===43||p===45||p===46||bt(p))&&n++<32?(e.consume(p),s):(n=0,o(p))}function l(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||qa(p)?r(p):(e.consume(p),l)}function o(p){return p===64?(e.consume(p),f):Wh(p)?(e.consume(p),o):r(p)}function f(p){return bt(p)?d(p):r(p)}function d(p){return p===46?(e.consume(p),n=0,f):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):g(p)}function g(p){if((p===45||bt(p))&&n++<63){const T=p===45?g:d;return e.consume(p),T}return r(p)}}const p0={partial:!0,tokenize:lf};function lf(e,t,r){return n;function n(i){return be(i)?ve(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||ue(i)?t(i):r(i)}}const ao={continuation:{tokenize:cf},exit:hf,name:"blockQuote",tokenize:of};function of(e,t,r){const n=this;return a;function a(u){if(u===62){const s=n.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),i}return r(u)}function i(u){return be(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function cf(e,t,r){const n=this;return a;function a(u){return be(u)?ve(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):i(u)}function i(u){return e.attempt(ao,t,r)(u)}}function hf(e){e.exit("blockQuote")}const io={name:"characterEscape",tokenize:ff};function ff(e,t,r){return n;function n(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return Xh(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}const uo={name:"characterReference",tokenize:df};function df(e,t,r){const n=this;let a=0,i,u;return s;function s(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),o):(e.enter("characterReferenceValue"),i=31,u=bt,f(d))}function o(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,u=jh,f):(e.enter("characterReferenceValue"),i=7,u=Ya,f(d))}function f(d){if(d===59&&a){const g=e.exit("characterReferenceValue");return u===bt&&!vi(n.sliceSerialize(g))?r(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(d)&&a++<i?(e.consume(d),f):r(d)}}const Iu={partial:!0,tokenize:pf},_u={concrete:!0,name:"codeFenced",tokenize:mf};function mf(e,t,r){const n=this,a={partial:!0,tokenize:V};let i=0,u=0,s;return l;function l(O){return o(O)}function o(O){const X=n.events[n.events.length-1];return i=X&&X[1].type==="linePrefix"?X[2].sliceSerialize(X[1],!0).length:0,s=O,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(O)}function f(O){return O===s?(u++,e.consume(O),f):u<3?r(O):(e.exit("codeFencedFenceSequence"),be(O)?ve(e,d,"whitespace")(O):d(O))}function d(O){return O===null||ue(O)?(e.exit("codeFencedFence"),n.interrupt?t(O):e.check(Iu,v,j)(O)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(O))}function g(O){return O===null||ue(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(O)):be(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ve(e,p,"whitespace")(O)):O===96&&O===s?r(O):(e.consume(O),g)}function p(O){return O===null||ue(O)?d(O):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),T(O))}function T(O){return O===null||ue(O)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(O)):O===96&&O===s?r(O):(e.consume(O),T)}function v(O){return e.attempt(a,j,I)(O)}function I(O){return e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),w}function w(O){return i>0&&be(O)?ve(e,D,"linePrefix",i+1)(O):D(O)}function D(O){return O===null||ue(O)?e.check(Iu,v,j)(O):(e.enter("codeFlowValue"),R(O))}function R(O){return O===null||ue(O)?(e.exit("codeFlowValue"),D(O)):(e.consume(O),R)}function j(O){return e.exit("codeFenced"),t(O)}function V(O,X,re){let G=0;return M;function M(Q){return O.enter("lineEnding"),O.consume(Q),O.exit("lineEnding"),Z}function Z(Q){return O.enter("codeFencedFence"),be(Q)?ve(O,J,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):J(Q)}function J(Q){return Q===s?(O.enter("codeFencedFenceSequence"),fe(Q)):re(Q)}function fe(Q){return Q===s?(G++,O.consume(Q),fe):G>=u?(O.exit("codeFencedFenceSequence"),be(Q)?ve(O,ne,"whitespace")(Q):ne(Q)):re(Q)}function ne(Q){return Q===null||ue(Q)?(O.exit("codeFencedFence"),X(Q)):re(Q)}}}function pf(e,t,r){const n=this;return a;function a(u){return u===null?r(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i)}function i(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}const z0={name:"codeIndented",tokenize:bf},gf={partial:!0,tokenize:Ef};function bf(e,t,r){const n=this;return a;function a(o){return e.enter("codeIndented"),ve(e,i,"linePrefix",5)(o)}function i(o){const f=n.events[n.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?u(o):r(o)}function u(o){return o===null?l(o):ue(o)?e.attempt(gf,u,l)(o):(e.enter("codeFlowValue"),s(o))}function s(o){return o===null||ue(o)?(e.exit("codeFlowValue"),u(o)):(e.consume(o),s)}function l(o){return e.exit("codeIndented"),t(o)}}function Ef(e,t,r){const n=this;return a;function a(u){return n.parser.lazy[n.now().line]?r(u):ue(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):ve(e,i,"linePrefix",5)(u)}function i(u){const s=n.events[n.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(u):ue(u)?a(u):r(u)}}const Tf={name:"codeText",previous:xf,resolve:yf,tokenize:vf};function yf(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="codeTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function xf(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function vf(e,t,r){let n=0,a,i;return u;function u(d){return e.enter("codeText"),e.enter("codeTextSequence"),s(d)}function s(d){return d===96?(e.consume(d),n++,s):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?r(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(i=e.enter("codeTextSequence"),a=0,f(d)):ue(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),o(d))}function o(d){return d===null||d===32||d===96||ue(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),o)}function f(d){return d===96?(e.consume(d),a++,f):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(i.type="codeTextData",o(d))}}class Af{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,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const a=r||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&jr(this.left,n),i.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),jr(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),jr(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 r=this.left.splice(t,Number.POSITIVE_INFINITY);jr(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);jr(this.left,r.reverse())}}}function jr(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function so(e){const t={};let r=-1,n,a,i,u,s,l,o;const f=new Af(e);for(;++r<f.length;){for(;r in t;)r=t[r];if(n=f.get(r),r&&n[1].type==="chunkFlow"&&f.get(r-1)[1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,Sf(f,r)),r=t[r],o=!0);else if(n[1]._container){for(i=r,a=void 0;i--;)if(u=f.get(i),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(a&&(f.get(a)[1].type="lineEndingBlank"),u[1].type="lineEnding",a=i);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;a&&(n[1].end={...f.get(a)[1].start},s=f.slice(a,r),s.unshift(n),f.splice(a,r-a+1,s))}}return kt(e,0,Number.POSITIVE_INFINITY,f.slice(0)),!o}function Sf(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const i=[];let u=r._tokenizer;u||(u=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const s=u.events,l=[],o={};let f,d,g=-1,p=r,T=0,v=0;const I=[v];for(;p;){for(;e.get(++a)[1]!==p;);i.push(a),p._tokenizer||(f=n.sliceStream(p),p.next||f.push(null),d&&u.defineSkip(p.start),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(f),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=r;++g<s.length;)s[g][0]==="exit"&&s[g-1][0]==="enter"&&s[g][1].type===s[g-1][1].type&&s[g][1].start.line!==s[g][1].end.line&&(v=g+1,I.push(v),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(u.events=[],p?(p._tokenizer=void 0,p.previous=void 0):I.pop(),g=I.length;g--;){const w=s.slice(I[g],I[g+1]),D=i.pop();l.push([D,D+w.length-1]),e.splice(D,2,w)}for(l.reverse(),g=-1;++g<l.length;)o[T+l[g][0]]=T+l[g][1],T+=l[g][1]-l[g][0]-1;return o}const kf={resolve:Cf,tokenize:If},wf={partial:!0,tokenize:_f};function Cf(e){return so(e),e}function If(e,t){let r;return n;function n(s){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(s)}function a(s){return s===null?i(s):ue(s)?e.check(wf,u,i)(s):(e.consume(s),a)}function i(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function u(s){return e.consume(s),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function _f(e,t,r){const n=this;return a;function a(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),ve(e,i,"linePrefix")}function i(u){if(u===null||ue(u))return r(u);const s=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(u):e.interrupt(n.parser.constructs.flow,r,t)(u)}}function lo(e,t,r,n,a,i,u,s,l){const o=l||Number.POSITIVE_INFINITY;let f=0;return d;function d(w){return w===60?(e.enter(n),e.enter(a),e.enter(i),e.consume(w),e.exit(i),g):w===null||w===32||w===41||qa(w)?r(w):(e.enter(n),e.enter(u),e.enter(s),e.enter("chunkString",{contentType:"string"}),v(w))}function g(w){return w===62?(e.enter(i),e.consume(w),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===62?(e.exit("chunkString"),e.exit(s),g(w)):w===null||w===60||ue(w)?r(w):(e.consume(w),w===92?T:p)}function T(w){return w===60||w===62||w===92?(e.consume(w),p):p(w)}function v(w){return!f&&(w===null||w===41||Ze(w))?(e.exit("chunkString"),e.exit(s),e.exit(u),e.exit(n),t(w)):f<o&&w===40?(e.consume(w),f++,v):w===41?(e.consume(w),f--,v):w===null||w===32||w===40||qa(w)?r(w):(e.consume(w),w===92?I:v)}function I(w){return w===40||w===41||w===92?(e.consume(w),v):v(w)}}function oo(e,t,r,n,a,i){const u=this;let s=0,l;return o;function o(p){return e.enter(n),e.enter(a),e.consume(p),e.exit(a),e.enter(i),f}function f(p){return s>999||p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in u.parser.constructs?r(p):p===93?(e.exit(i),e.enter(a),e.consume(p),e.exit(a),e.exit(n),t):ue(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||ue(p)||s++>999?(e.exit("chunkString"),f(p)):(e.consume(p),l||(l=!be(p)),p===92?g:d)}function g(p){return p===91||p===92||p===93?(e.consume(p),s++,d):d(p)}}function co(e,t,r,n,a,i){let u;return s;function s(g){return g===34||g===39||g===40?(e.enter(n),e.enter(a),e.consume(g),e.exit(a),u=g===40?41:g,l):r(g)}function l(g){return g===u?(e.enter(a),e.consume(g),e.exit(a),e.exit(n),t):(e.enter(i),o(g))}function o(g){return g===u?(e.exit(i),l(u)):g===null?r(g):ue(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),ve(e,o,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(g))}function f(g){return g===u||g===null||ue(g)?(e.exit("chunkString"),o(g)):(e.consume(g),g===92?d:f)}function d(g){return g===u||g===92?(e.consume(g),f):f(g)}}function tn(e,t){let r;return n;function n(a){return ue(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):be(a)?ve(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const Nf={name:"definition",tokenize:Of},Df={partial:!0,tokenize:Lf};function Of(e,t,r){const n=this;let a;return i;function i(p){return e.enter("definition"),u(p)}function u(p){return oo.call(n,e,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return a=Cr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):r(p)}function l(p){return Ze(p)?tn(e,o)(p):o(p)}function o(p){return lo(e,f,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(Df,d,d)(p)}function d(p){return be(p)?ve(e,g,"whitespace")(p):g(p)}function g(p){return p===null||ue(p)?(e.exit("definition"),n.parser.defined.push(a),t(p)):r(p)}}function Lf(e,t,r){return n;function n(s){return Ze(s)?tn(e,a)(s):r(s)}function a(s){return co(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function i(s){return be(s)?ve(e,u,"whitespace")(s):u(s)}function u(s){return s===null||ue(s)?t(s):r(s)}}const Rf={name:"hardBreakEscape",tokenize:Mf};function Mf(e,t,r){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return ue(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}const Pf={name:"headingAtx",resolve:Bf,tokenize:Ff};function Bf(e,t){let r=e.length-2,n=3,a,i;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(a={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},i={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},kt(e,n,r-n+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function Ff(e,t,r){let n=0;return a;function a(f){return e.enter("atxHeading"),i(f)}function i(f){return e.enter("atxHeadingSequence"),u(f)}function u(f){return f===35&&n++<6?(e.consume(f),u):f===null||Ze(f)?(e.exit("atxHeadingSequence"),s(f)):r(f)}function s(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||ue(f)?(e.exit("atxHeading"),t(f)):be(f)?ve(e,s,"whitespace")(f):(e.enter("atxHeadingText"),o(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),s(f))}function o(f){return f===null||f===35||Ze(f)?(e.exit("atxHeadingText"),s(f)):(e.consume(f),o)}}const Hf=["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"],Nu=["pre","script","style","textarea"],zf={concrete:!0,name:"htmlFlow",resolveTo:Yf,tokenize:Vf},Uf={partial:!0,tokenize:$f},qf={partial:!0,tokenize:Gf};function Yf(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 Vf(e,t,r){const n=this;let a,i,u,s,l;return o;function o(_){return f(_)}function f(_){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(_),d}function d(_){return _===33?(e.consume(_),g):_===47?(e.consume(_),i=!0,v):_===63?(e.consume(_),a=3,n.interrupt?t:C):vt(_)?(e.consume(_),u=String.fromCharCode(_),I):r(_)}function g(_){return _===45?(e.consume(_),a=2,p):_===91?(e.consume(_),a=5,s=0,T):vt(_)?(e.consume(_),a=4,n.interrupt?t:C):r(_)}function p(_){return _===45?(e.consume(_),n.interrupt?t:C):r(_)}function T(_){const Ve="CDATA[";return _===Ve.charCodeAt(s++)?(e.consume(_),s===Ve.length?n.interrupt?t:J:T):r(_)}function v(_){return vt(_)?(e.consume(_),u=String.fromCharCode(_),I):r(_)}function I(_){if(_===null||_===47||_===62||Ze(_)){const Ve=_===47,Xe=u.toLowerCase();return!Ve&&!i&&Nu.includes(Xe)?(a=1,n.interrupt?t(_):J(_)):Hf.includes(u.toLowerCase())?(a=6,Ve?(e.consume(_),w):n.interrupt?t(_):J(_)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(_):i?D(_):R(_))}return _===45||bt(_)?(e.consume(_),u+=String.fromCharCode(_),I):r(_)}function w(_){return _===62?(e.consume(_),n.interrupt?t:J):r(_)}function D(_){return be(_)?(e.consume(_),D):M(_)}function R(_){return _===47?(e.consume(_),M):_===58||_===95||vt(_)?(e.consume(_),j):be(_)?(e.consume(_),R):M(_)}function j(_){return _===45||_===46||_===58||_===95||bt(_)?(e.consume(_),j):V(_)}function V(_){return _===61?(e.consume(_),O):be(_)?(e.consume(_),V):R(_)}function O(_){return _===null||_===60||_===61||_===62||_===96?r(_):_===34||_===39?(e.consume(_),l=_,X):be(_)?(e.consume(_),O):re(_)}function X(_){return _===l?(e.consume(_),l=null,G):_===null||ue(_)?r(_):(e.consume(_),X)}function re(_){return _===null||_===34||_===39||_===47||_===60||_===61||_===62||_===96||Ze(_)?V(_):(e.consume(_),re)}function G(_){return _===47||_===62||be(_)?R(_):r(_)}function M(_){return _===62?(e.consume(_),Z):r(_)}function Z(_){return _===null||ue(_)?J(_):be(_)?(e.consume(_),Z):r(_)}function J(_){return _===45&&a===2?(e.consume(_),de):_===60&&a===1?(e.consume(_),ye):_===62&&a===4?(e.consume(_),Oe):_===63&&a===3?(e.consume(_),C):_===93&&a===5?(e.consume(_),rt):ue(_)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(Uf,Ie,fe)(_)):_===null||ue(_)?(e.exit("htmlFlowData"),fe(_)):(e.consume(_),J)}function fe(_){return e.check(qf,ne,Ie)(_)}function ne(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),Q}function Q(_){return _===null||ue(_)?fe(_):(e.enter("htmlFlowData"),J(_))}function de(_){return _===45?(e.consume(_),C):J(_)}function ye(_){return _===47?(e.consume(_),u="",Fe):J(_)}function Fe(_){if(_===62){const Ve=u.toLowerCase();return Nu.includes(Ve)?(e.consume(_),Oe):J(_)}return vt(_)&&u.length<8?(e.consume(_),u+=String.fromCharCode(_),Fe):J(_)}function rt(_){return _===93?(e.consume(_),C):J(_)}function C(_){return _===62?(e.consume(_),Oe):_===45&&a===2?(e.consume(_),C):J(_)}function Oe(_){return _===null||ue(_)?(e.exit("htmlFlowData"),Ie(_)):(e.consume(_),Oe)}function Ie(_){return e.exit("htmlFlow"),t(_)}}function Gf(e,t,r){const n=this;return a;function a(u){return ue(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i):r(u)}function i(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}function $f(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(p0,t,r)}}const Wf={name:"htmlText",tokenize:jf};function jf(e,t,r){const n=this;let a,i,u;return s;function s(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),l}function l(C){return C===33?(e.consume(C),o):C===47?(e.consume(C),V):C===63?(e.consume(C),R):vt(C)?(e.consume(C),re):r(C)}function o(C){return C===45?(e.consume(C),f):C===91?(e.consume(C),i=0,T):vt(C)?(e.consume(C),D):r(C)}function f(C){return C===45?(e.consume(C),p):r(C)}function d(C){return C===null?r(C):C===45?(e.consume(C),g):ue(C)?(u=d,ye(C)):(e.consume(C),d)}function g(C){return C===45?(e.consume(C),p):d(C)}function p(C){return C===62?de(C):C===45?g(C):d(C)}function T(C){const Oe="CDATA[";return C===Oe.charCodeAt(i++)?(e.consume(C),i===Oe.length?v:T):r(C)}function v(C){return C===null?r(C):C===93?(e.consume(C),I):ue(C)?(u=v,ye(C)):(e.consume(C),v)}function I(C){return C===93?(e.consume(C),w):v(C)}function w(C){return C===62?de(C):C===93?(e.consume(C),w):v(C)}function D(C){return C===null||C===62?de(C):ue(C)?(u=D,ye(C)):(e.consume(C),D)}function R(C){return C===null?r(C):C===63?(e.consume(C),j):ue(C)?(u=R,ye(C)):(e.consume(C),R)}function j(C){return C===62?de(C):R(C)}function V(C){return vt(C)?(e.consume(C),O):r(C)}function O(C){return C===45||bt(C)?(e.consume(C),O):X(C)}function X(C){return ue(C)?(u=X,ye(C)):be(C)?(e.consume(C),X):de(C)}function re(C){return C===45||bt(C)?(e.consume(C),re):C===47||C===62||Ze(C)?G(C):r(C)}function G(C){return C===47?(e.consume(C),de):C===58||C===95||vt(C)?(e.consume(C),M):ue(C)?(u=G,ye(C)):be(C)?(e.consume(C),G):de(C)}function M(C){return C===45||C===46||C===58||C===95||bt(C)?(e.consume(C),M):Z(C)}function Z(C){return C===61?(e.consume(C),J):ue(C)?(u=Z,ye(C)):be(C)?(e.consume(C),Z):G(C)}function J(C){return C===null||C===60||C===61||C===62||C===96?r(C):C===34||C===39?(e.consume(C),a=C,fe):ue(C)?(u=J,ye(C)):be(C)?(e.consume(C),J):(e.consume(C),ne)}function fe(C){return C===a?(e.consume(C),a=void 0,Q):C===null?r(C):ue(C)?(u=fe,ye(C)):(e.consume(C),fe)}function ne(C){return C===null||C===34||C===39||C===60||C===61||C===96?r(C):C===47||C===62||Ze(C)?G(C):(e.consume(C),ne)}function Q(C){return C===47||C===62||Ze(C)?G(C):r(C)}function de(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):r(C)}function ye(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),Fe}function Fe(C){return be(C)?ve(e,rt,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):rt(C)}function rt(C){return e.enter("htmlTextData"),u(C)}}const Si={name:"labelEnd",resolveAll:Jf,resolveTo:Zf,tokenize:ed},Xf={tokenize:td},Qf={tokenize:rd},Kf={tokenize:nd};function Jf(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const a=n.type==="labelImage"?4:2;n.type="data",t+=a}}return e.length!==r.length&&kt(e,0,e.length,r),e}function Zf(e,t){let r=e.length,n=0,a,i,u,s;for(;r--;)if(a=e[r][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(u){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(u=r);const l={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},o={type:"label",start:{...e[i][1].start},end:{...e[u][1].end}},f={type:"labelText",start:{...e[i+n+2][1].end},end:{...e[u-2][1].start}};return s=[["enter",l,t],["enter",o,t]],s=ot(s,e.slice(i+1,i+n+3)),s=ot(s,[["enter",f,t]]),s=ot(s,Ai(t.parser.constructs.insideSpan.null,e.slice(i+n+4,u-3),t)),s=ot(s,[["exit",f,t],e[u-2],e[u-1],["exit",o,t]]),s=ot(s,e.slice(u+1)),s=ot(s,[["exit",l,t]]),kt(e,i,e.length,s),e}function ed(e,t,r){const n=this;let a=n.events.length,i,u;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){i=n.events[a][1];break}return s;function s(g){return i?i._inactive?d(g):(u=n.parser.defined.includes(Cr(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),l):r(g)}function l(g){return g===40?e.attempt(Xf,f,u?f:d)(g):g===91?e.attempt(Qf,f,u?o:d)(g):u?f(g):d(g)}function o(g){return e.attempt(Kf,f,d)(g)}function f(g){return t(g)}function d(g){return i._balanced=!0,r(g)}}function td(e,t,r){return n;function n(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),a}function a(d){return Ze(d)?tn(e,i)(d):i(d)}function i(d){return d===41?f(d):lo(e,u,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function u(d){return Ze(d)?tn(e,l)(d):f(d)}function s(d){return r(d)}function l(d){return d===34||d===39||d===40?co(e,o,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):f(d)}function o(d){return Ze(d)?tn(e,f)(d):f(d)}function f(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):r(d)}}function rd(e,t,r){const n=this;return a;function a(s){return oo.call(n,e,i,u,"reference","referenceMarker","referenceString")(s)}function i(s){return n.parser.defined.includes(Cr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(s):r(s)}function u(s){return r(s)}}function nd(e,t,r){return n;function n(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):r(i)}}const ad={name:"labelStartImage",resolveAll:Si.resolveAll,tokenize:id};function id(e,t,r){const n=this;return a;function a(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),i}function i(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),u):r(s)}function u(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const ud={name:"labelStartLink",resolveAll:Si.resolveAll,tokenize:sd};function sd(e,t,r){const n=this;return a;function a(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),i}function i(u){return u===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(u):t(u)}}const U0={name:"lineEnding",tokenize:ld};function ld(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ve(e,t,"linePrefix")}}const Qn={name:"thematicBreak",tokenize:od};function od(e,t,r){let n=0,a;return i;function i(o){return e.enter("thematicBreak"),u(o)}function u(o){return a=o,s(o)}function s(o){return o===a?(e.enter("thematicBreakSequence"),l(o)):n>=3&&(o===null||ue(o))?(e.exit("thematicBreak"),t(o)):r(o)}function l(o){return o===a?(e.consume(o),n++,l):(e.exit("thematicBreakSequence"),be(o)?ve(e,s,"whitespace")(o):s(o))}}const Ke={continuation:{tokenize:dd},exit:pd,name:"list",tokenize:fd},cd={partial:!0,tokenize:gd},hd={partial:!0,tokenize:md};function fd(e,t,r){const n=this,a=n.events[n.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,u=0;return s;function s(p){const T=n.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(T==="listUnordered"?!n.containerState.marker||p===n.containerState.marker:Ya(p)){if(n.containerState.type||(n.containerState.type=T,e.enter(T,{_container:!0})),T==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Qn,r,o)(p):o(p);if(!n.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return r(p)}function l(p){return Ya(p)&&++u<10?(e.consume(p),l):(!n.interrupt||u<2)&&(n.containerState.marker?p===n.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),o(p)):r(p)}function o(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||p,e.check(p0,n.interrupt?r:f,e.attempt(cd,g,d))}function f(p){return n.containerState.initialBlankLine=!0,i++,g(p)}function d(p){return be(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),g):r(p)}function g(p){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function dd(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(p0,a,i);function a(s){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ve(e,t,"listItemIndent",n.containerState.size+1)(s)}function i(s){return n.containerState.furtherBlankLines||!be(s)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,u(s)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(hd,t,u)(s))}function u(s){return n.containerState._closeFlow=!0,n.interrupt=void 0,ve(e,e.attempt(Ke,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function md(e,t,r){const n=this;return ve(e,a,"listItemIndent",n.containerState.size+1);function a(i){const u=n.events[n.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===n.containerState.size?t(i):r(i)}}function pd(e){e.exit(this.containerState.type)}function gd(e,t,r){const n=this;return ve(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const u=n.events[n.events.length-1];return!be(i)&&u&&u[1].type==="listItemPrefixWhitespace"?t(i):r(i)}}const Du={name:"setextUnderline",resolveTo:bd,tokenize:Ed};function bd(e,t){let r=e.length,n,a,i;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(a=r)}else e[r][1].type==="content"&&e.splice(r,1),!i&&e[r][1].type==="definition"&&(i=r);const u={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",u,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=u,e.push(["exit",u,t]),e}function Ed(e,t,r){const n=this;let a;return i;function i(o){let f=n.events.length,d;for(;f--;)if(n.events[f][1].type!=="lineEnding"&&n.events[f][1].type!=="linePrefix"&&n.events[f][1].type!=="content"){d=n.events[f][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||d)?(e.enter("setextHeadingLine"),a=o,u(o)):r(o)}function u(o){return e.enter("setextHeadingLineSequence"),s(o)}function s(o){return o===a?(e.consume(o),s):(e.exit("setextHeadingLineSequence"),be(o)?ve(e,l,"lineSuffix")(o):l(o))}function l(o){return o===null||ue(o)?(e.exit("setextHeadingLine"),t(o)):r(o)}}const Td={tokenize:yd};function yd(e){const t=this,r=e.attempt(p0,n,e.attempt(this.parser.constructs.flowInitial,a,ve(e,e.attempt(this.parser.constructs.flow,a,e.attempt(kf,a)),"linePrefix")));return r;function n(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const xd={resolveAll:fo()},vd=ho("string"),Ad=ho("text");function ho(e){return{resolveAll:fo(e==="text"?Sd:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],i=r.attempt(a,u,s);return u;function u(f){return o(f)?i(f):s(f)}function s(f){if(f===null){r.consume(f);return}return r.enter("data"),r.consume(f),l}function l(f){return o(f)?(r.exit("data"),i(f)):(r.consume(f),l)}function o(f){if(f===null)return!0;const d=a[f];let g=-1;if(d)for(;++g<d.length;){const p=d[g];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function fo(e){return t;function t(r,n){let a=-1,i;for(;++a<=r.length;)i===void 0?r[a]&&r[a][1].type==="data"&&(i=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==i+2&&(r[i][1].end=r[a-1][1].end,r.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(r,n):r}}function Sd(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],a=t.sliceStream(n);let i=a.length,u=-1,s=0,l;for(;i--;){const o=a[i];if(typeof o=="string"){for(u=o.length;o.charCodeAt(u-1)===32;)s++,u--;if(u)break;u=-1}else if(o===-2)l=!0,s++;else if(o!==-1){i++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(s=0),s){const o={type:r===e.length||l||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?u:n.start._bufferIndex+u,_index:n.start._index+i,line:n.end.line,column:n.end.column-s,offset:n.end.offset-s},end:{...n.end}};n.end={...o.start},n.start.offset===n.end.offset?Object.assign(n,o):(e.splice(r,0,["enter",o,t],["exit",o,t]),r+=2)}r++}return e}const kd={42:Ke,43:Ke,45:Ke,48:Ke,49:Ke,50:Ke,51:Ke,52:Ke,53:Ke,54:Ke,55:Ke,56:Ke,57:Ke,62:ao},wd={91:Nf},Cd={[-2]:z0,[-1]:z0,32:z0},Id={35:Pf,42:Qn,45:[Du,Qn],60:zf,61:Du,95:Qn,96:_u,126:_u},_d={38:uo,92:io},Nd={[-5]:U0,[-4]:U0,[-3]:U0,33:ad,38:uo,42:Va,60:[uf,Wf],91:ud,92:[Rf,io],93:Si,95:Va,96:Tf},Dd={null:[Va,xd]},Od={null:[42,95]},Ld={null:[]},Rd=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Od,contentInitial:wd,disable:Ld,document:kd,flow:Id,flowInitial:Cd,insideSpan:Dd,string:_d,text:Nd},Symbol.toStringTag,{value:"Module"}));function Md(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},i=[];let u=[],s=[];const l={attempt:X(V),check:X(O),consume:D,enter:R,exit:j,interrupt:X(O,{interrupt:!0})},o={code:null,containerState:{},defineSkip:v,events:[],now:T,parser:e,previous:null,sliceSerialize:g,sliceStream:p,write:d};let f=t.tokenize.call(o,l);return t.resolveAll&&i.push(t),o;function d(Z){return u=ot(u,Z),I(),u[u.length-1]!==null?[]:(re(t,0),o.events=Ai(i,o.events,o),o.events)}function g(Z,J){return Bd(p(Z),J)}function p(Z){return Pd(u,Z)}function T(){const{_bufferIndex:Z,_index:J,line:fe,column:ne,offset:Q}=n;return{_bufferIndex:Z,_index:J,line:fe,column:ne,offset:Q}}function v(Z){a[Z.line]=Z.column,M()}function I(){let Z;for(;n._index<u.length;){const J=u[n._index];if(typeof J=="string")for(Z=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===Z&&n._bufferIndex<J.length;)w(J.charCodeAt(n._bufferIndex));else w(J)}}function w(Z){f=f(Z)}function D(Z){ue(Z)?(n.line++,n.column=1,n.offset+=Z===-3?2:1,M()):Z!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===u[n._index].length&&(n._bufferIndex=-1,n._index++)),o.previous=Z}function R(Z,J){const fe=J||{};return fe.type=Z,fe.start=T(),o.events.push(["enter",fe,o]),s.push(fe),fe}function j(Z){const J=s.pop();return J.end=T(),o.events.push(["exit",J,o]),J}function V(Z,J){re(Z,J.from)}function O(Z,J){J.restore()}function X(Z,J){return fe;function fe(ne,Q,de){let ye,Fe,rt,C;return Array.isArray(ne)?Ie(ne):"tokenize"in ne?Ie([ne]):Oe(ne);function Oe(Le){return lt;function lt(mt){const nt=mt!==null&&Le[mt],pt=mt!==null&&Le.null,Dt=[...Array.isArray(nt)?nt:nt?[nt]:[],...Array.isArray(pt)?pt:pt?[pt]:[]];return Ie(Dt)(mt)}}function Ie(Le){return ye=Le,Fe=0,Le.length===0?de:_(Le[Fe])}function _(Le){return lt;function lt(mt){return C=G(),rt=Le,Le.partial||(o.currentConstruct=Le),Le.name&&o.parser.constructs.disable.null.includes(Le.name)?Xe():Le.tokenize.call(J?Object.assign(Object.create(o),J):o,l,Ve,Xe)(mt)}}function Ve(Le){return Z(rt,C),Q}function Xe(Le){return C.restore(),++Fe<ye.length?_(ye[Fe]):de}}}function re(Z,J){Z.resolveAll&&!i.includes(Z)&&i.push(Z),Z.resolve&&kt(o.events,J,o.events.length-J,Z.resolve(o.events.slice(J),o)),Z.resolveTo&&(o.events=Z.resolveTo(o.events,o))}function G(){const Z=T(),J=o.previous,fe=o.currentConstruct,ne=o.events.length,Q=Array.from(s);return{from:ne,restore:de};function de(){n=Z,o.previous=J,o.currentConstruct=fe,o.events.length=ne,s=Q,M()}}function M(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function Pd(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let u;if(r===a)u=[e[r].slice(n,i)];else{if(u=e.slice(r,a),n>-1){const s=u[0];typeof s=="string"?u[0]=s.slice(n):u.shift()}i>0&&u.push(e[a].slice(0,i))}return u}function Bd(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const i=e[r];let u;if(typeof i=="string")u=i;else switch(i){case-5:{u="\r";break}case-4:{u=`
3
+ `;break}case-3:{u=`\r
4
+ `;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&a)continue;u=" ";break}default:u=String.fromCharCode(i)}a=i===-2,n.push(u)}return n.join("")}function Fd(e){const n={constructs:Vh([Rd,...(e||{}).extensions||[]]),content:a(Jh),defined:[],document:a(ef),flow:a(Td),lazy:{},string:a(vd),text:a(Ad)};return n;function a(i){return u;function u(s){return Md(n,i,s)}}}function Hd(e){for(;!so(e););return e}const Ou=/[\0\t\n\r]/g;function zd(){let e=1,t="",r=!0,n;return a;function a(i,u,s){const l=[];let o,f,d,g,p;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(u||void 0).decode(i)),d=0,t="",r&&(i.charCodeAt(0)===65279&&d++,r=void 0);d<i.length;){if(Ou.lastIndex=d,o=Ou.exec(i),g=o&&o.index!==void 0?o.index:i.length,p=i.charCodeAt(g),!o){t=i.slice(d);break}if(p===10&&d===g&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),d<g&&(l.push(i.slice(d,g)),e+=g-d),p){case 0:{l.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,l.push(-2);e++<f;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:n=!0,e=1}d=g+1}return s&&(n&&l.push(-5),t&&l.push(t),l.push(null)),l}}const Ud=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function qd(e){return e.replace(Ud,Yd)}function Yd(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),i=a===120||a===88;return no(r.slice(i?2:1),i?16:10)}return vi(r)||e}function Kn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Lu(e.position):"start"in e||"end"in e?Lu(e):"line"in e||"column"in e?Ga(e):""}function Ga(e){return Ru(e&&e.line)+":"+Ru(e&&e.column)}function Lu(e){return Ga(e&&e.start)+"-"+Ga(e&&e.end)}function Ru(e){return e&&typeof e=="number"?e:1}const mo={}.hasOwnProperty;function Vd(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),Gd(r)(Hd(Fd(r).document().write(zd()(e,t,!0))))}function Gd(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Er),autolinkProtocol:G,autolinkEmail:G,atxHeading:i(Nn),blockQuote:i(pt),characterEscape:G,characterReference:G,codeFenced:i(Dt),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:i(Dt,u),codeText:i(R0,u),codeTextData:G,data:G,codeFlowValue:G,definition:i(_n),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:i(M0),hardBreakEscape:i(br),hardBreakTrailing:i(br),htmlFlow:i(Yr,u),htmlFlowData:G,htmlText:i(Yr,u),htmlTextData:G,image:i(Dn),label:u,link:i(Er),listItem:i(Tr),listItemValue:g,listOrdered:i(ar,d),listUnordered:i(ar),paragraph:i(Q1),reference:_,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:i(Nn),strong:i(K1),thematicBreak:i(Z1)},exit:{atxHeading:l(),atxHeadingSequence:V,autolink:l(),autolinkEmail:nt,autolinkProtocol:mt,blockQuote:l(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:Xe,characterReferenceMarkerNumeric:Xe,characterReferenceValue:Le,characterReference:lt,codeFenced:l(I),codeFencedFence:v,codeFencedFenceInfo:p,codeFencedFenceMeta:T,codeFlowValue:M,codeIndented:l(w),codeText:l(Q),codeTextData:M,data:M,definition:l(),definitionDestinationString:j,definitionLabelString:D,definitionTitleString:R,emphasis:l(),hardBreakEscape:l(J),hardBreakTrailing:l(J),htmlFlow:l(fe),htmlFlowData:M,htmlText:l(ne),htmlTextData:M,image:l(ye),label:rt,labelText:Fe,lineEnding:Z,link:l(de),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Ve,resourceDestinationString:C,resourceTitleString:Oe,resource:Ie,setextHeading:l(re),setextHeadingLineSequence:X,setextHeadingText:O,strong:l(),thematicBreak:l()}};po(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(B){let K={type:"root",children:[]};const le={stack:[K],tokenStack:[],config:t,enter:s,exit:o,buffer:u,resume:f,data:r},me=[];let Ee=-1;for(;++Ee<B.length;)if(B[Ee][1].type==="listOrdered"||B[Ee][1].type==="listUnordered")if(B[Ee][0]==="enter")me.push(Ee);else{const gt=me.pop();Ee=a(B,gt,Ee)}for(Ee=-1;++Ee<B.length;){const gt=t[B[Ee][0]];mo.call(gt,B[Ee][1].type)&&gt[B[Ee][1].type].call(Object.assign({sliceSerialize:B[Ee][2].sliceSerialize},le),B[Ee][1])}if(le.tokenStack.length>0){const gt=le.tokenStack[le.tokenStack.length-1];(gt[1]||Mu).call(le,void 0,gt[0])}for(K.position={start:Gt(B.length>0?B[0][1].start:{line:1,column:1,offset:0}),end:Gt(B.length>0?B[B.length-2][1].end:{line:1,column:1,offset:0})},Ee=-1;++Ee<t.transforms.length;)K=t.transforms[Ee](K)||K;return K}function a(B,K,le){let me=K-1,Ee=-1,gt=!1,ir,Ot,Vr,Gr;for(;++me<=le;){const at=B[me];switch(at[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{at[0]==="enter"?Ee++:Ee--,Gr=void 0;break}case"lineEndingBlank":{at[0]==="enter"&&(ir&&!Gr&&!Ee&&!Vr&&(Vr=me),Gr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Gr=void 0}if(!Ee&&at[0]==="enter"&&at[1].type==="listItemPrefix"||Ee===-1&&at[0]==="exit"&&(at[1].type==="listUnordered"||at[1].type==="listOrdered")){if(ir){let yr=me;for(Ot=void 0;yr--;){const Lt=B[yr];if(Lt[1].type==="lineEnding"||Lt[1].type==="lineEndingBlank"){if(Lt[0]==="exit")continue;Ot&&(B[Ot][1].type="lineEndingBlank",gt=!0),Lt[1].type="lineEnding",Ot=yr}else if(!(Lt[1].type==="linePrefix"||Lt[1].type==="blockQuotePrefix"||Lt[1].type==="blockQuotePrefixWhitespace"||Lt[1].type==="blockQuoteMarker"||Lt[1].type==="listItemIndent"))break}Vr&&(!Ot||Vr<Ot)&&(ir._spread=!0),ir.end=Object.assign({},Ot?B[Ot][1].start:at[1].end),B.splice(Ot||me,0,["exit",ir,at[2]]),me++,le++}if(at[1].type==="listItemPrefix"){const yr={type:"listItem",_spread:!1,start:Object.assign({},at[1].start),end:void 0};ir=yr,B.splice(me,0,["enter",yr,at[2]]),me++,le++,Vr=void 0,Gr=!0}}}return B[K][1]._spread=gt,le}function i(B,K){return le;function le(me){s.call(this,B(me),me),K&&K.call(this,me)}}function u(){this.stack.push({type:"fragment",children:[]})}function s(B,K,le){this.stack[this.stack.length-1].children.push(B),this.stack.push(B),this.tokenStack.push([K,le||void 0]),B.position={start:Gt(K.start),end:void 0}}function l(B){return K;function K(le){B&&B.call(this,le),o.call(this,le)}}function o(B,K){const le=this.stack.pop(),me=this.tokenStack.pop();if(me)me[0].type!==B.type&&(K?K.call(this,B,me[0]):(me[1]||Mu).call(this,B,me[0]));else throw new Error("Cannot close `"+B.type+"` ("+Kn({start:B.start,end:B.end})+"): it’s not open");le.position.end=Gt(B.end)}function f(){return qh(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function g(B){if(this.data.expectingFirstListItemValue){const K=this.stack[this.stack.length-2];K.start=Number.parseInt(this.sliceSerialize(B),10),this.data.expectingFirstListItemValue=void 0}}function p(){const B=this.resume(),K=this.stack[this.stack.length-1];K.lang=B}function T(){const B=this.resume(),K=this.stack[this.stack.length-1];K.meta=B}function v(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const B=this.resume(),K=this.stack[this.stack.length-1];K.value=B.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function w(){const B=this.resume(),K=this.stack[this.stack.length-1];K.value=B.replace(/(\r?\n|\r)$/g,"")}function D(B){const K=this.resume(),le=this.stack[this.stack.length-1];le.label=K,le.identifier=Cr(this.sliceSerialize(B)).toLowerCase()}function R(){const B=this.resume(),K=this.stack[this.stack.length-1];K.title=B}function j(){const B=this.resume(),K=this.stack[this.stack.length-1];K.url=B}function V(B){const K=this.stack[this.stack.length-1];if(!K.depth){const le=this.sliceSerialize(B).length;K.depth=le}}function O(){this.data.setextHeadingSlurpLineEnding=!0}function X(B){const K=this.stack[this.stack.length-1];K.depth=this.sliceSerialize(B).codePointAt(0)===61?1:2}function re(){this.data.setextHeadingSlurpLineEnding=void 0}function G(B){const le=this.stack[this.stack.length-1].children;let me=le[le.length-1];(!me||me.type!=="text")&&(me=J1(),me.position={start:Gt(B.start),end:void 0},le.push(me)),this.stack.push(me)}function M(B){const K=this.stack.pop();K.value+=this.sliceSerialize(B),K.position.end=Gt(B.end)}function Z(B){const K=this.stack[this.stack.length-1];if(this.data.atHardBreak){const le=K.children[K.children.length-1];le.position.end=Gt(B.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(K.type)&&(G.call(this,B),M.call(this,B))}function J(){this.data.atHardBreak=!0}function fe(){const B=this.resume(),K=this.stack[this.stack.length-1];K.value=B}function ne(){const B=this.resume(),K=this.stack[this.stack.length-1];K.value=B}function Q(){const B=this.resume(),K=this.stack[this.stack.length-1];K.value=B}function de(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const K=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=K,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function ye(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const K=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=K,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function Fe(B){const K=this.sliceSerialize(B),le=this.stack[this.stack.length-2];le.label=qd(K),le.identifier=Cr(K).toLowerCase()}function rt(){const B=this.stack[this.stack.length-1],K=this.resume(),le=this.stack[this.stack.length-1];if(this.data.inReference=!0,le.type==="link"){const me=B.children;le.children=me}else le.alt=K}function C(){const B=this.resume(),K=this.stack[this.stack.length-1];K.url=B}function Oe(){const B=this.resume(),K=this.stack[this.stack.length-1];K.title=B}function Ie(){this.data.inReference=void 0}function _(){this.data.referenceType="collapsed"}function Ve(B){const K=this.resume(),le=this.stack[this.stack.length-1];le.label=K,le.identifier=Cr(this.sliceSerialize(B)).toLowerCase(),this.data.referenceType="full"}function Xe(B){this.data.characterReferenceType=B.type}function Le(B){const K=this.sliceSerialize(B),le=this.data.characterReferenceType;let me;le?(me=no(K,le==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):me=vi(K);const Ee=this.stack[this.stack.length-1];Ee.value+=me}function lt(B){const K=this.stack.pop();K.position.end=Gt(B.end)}function mt(B){M.call(this,B);const K=this.stack[this.stack.length-1];K.url=this.sliceSerialize(B)}function nt(B){M.call(this,B);const K=this.stack[this.stack.length-1];K.url="mailto:"+this.sliceSerialize(B)}function pt(){return{type:"blockquote",children:[]}}function Dt(){return{type:"code",lang:null,meta:null,value:""}}function R0(){return{type:"inlineCode",value:""}}function _n(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function M0(){return{type:"emphasis",children:[]}}function Nn(){return{type:"heading",depth:0,children:[]}}function br(){return{type:"break"}}function Yr(){return{type:"html",value:""}}function Dn(){return{type:"image",title:null,url:"",alt:null}}function Er(){return{type:"link",title:null,url:"",children:[]}}function ar(B){return{type:"list",ordered:B.type==="listOrdered",start:null,spread:B._spread,children:[]}}function Tr(B){return{type:"listItem",spread:B._spread,checked:null,children:[]}}function Q1(){return{type:"paragraph",children:[]}}function K1(){return{type:"strong",children:[]}}function J1(){return{type:"text",value:""}}function Z1(){return{type:"thematicBreak"}}}function Gt(e){return{line:e.line,column:e.column,offset:e.offset}}function po(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?po(e,n):$d(e,n)}}function $d(e,t){let r;for(r in t)if(mo.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function Mu(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Kn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Kn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Kn({start:t.start,end:t.end})+") is still open")}function Wd(e){const t=this;t.parser=r;function r(n){return Vd(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function jd(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function Xd(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
5
+ `}]}function Qd(e,t){const r=t.value?t.value+`
6
+ `:"",n={},a=t.lang?t.lang.split(/\s+/):[];a.length>0&&(n.className=["language-"+a[0]]);let i={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function Kd(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Jd(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const Pu=Zd(/[\dA-Za-z]/);function Zd(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function Br(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const i=e.charCodeAt(r);let u="";if(i===37&&Pu(e.charCodeAt(r+1))&&Pu(e.charCodeAt(r+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(u=String.fromCharCode(i));else if(i>55295&&i<57344){const s=e.charCodeAt(r+1);i<56320&&s>56319&&s<57344?(u=String.fromCharCode(i,s),a=1):u="�"}else u=String.fromCharCode(i);u&&(t.push(e.slice(n,r),encodeURIComponent(u)),n=r+a+1,u=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function em(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=Br(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let u,s=e.footnoteCounts.get(n);s===void 0?(s=0,e.footnoteOrder.push(n),u=e.footnoteOrder.length):u=i+1,s+=1,e.footnoteCounts.set(n,s);const l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,l);const o={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,o),e.applyData(t,o)}function tm(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function rm(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function go(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const a=e.all(t),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const u=a[a.length-1];return u&&u.type==="text"?u.value+=n:a.push({type:"text",value:n}),a}function nm(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return go(e,t);const a={src:Br(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function am(e,t){const r={src:Br(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function im(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function um(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return go(e,t);const a={href:Br(n.url||"")};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function sm(e,t){const r={href:Br(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function lm(e,t,r){const n=e.all(t),a=r?om(r):bo(t),i={},u=[];if(typeof t.checked=="boolean"){const f=n[0];let d;f&&f.type==="element"&&f.tagName==="p"?d=f:(d={type:"element",tagName:"p",properties:{},children:[]},n.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let s=-1;for(;++s<n.length;){const f=n[s];(a||s!==0||f.type!=="element"||f.tagName!=="p")&&u.push({type:"text",value:`
7
+ `}),f.type==="element"&&f.tagName==="p"&&!a?u.push(...f.children):u.push(f)}const l=n[n.length-1];l&&(a||l.type!=="element"||l.tagName!=="p")&&u.push({type:"text",value:`
8
+ `});const o={type:"element",tagName:"li",properties:i,children:u};return e.patch(t,o),e.applyData(t,o)}function om(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=bo(r[n])}return t}function bo(e){const t=e.spread;return t??e.children.length>1}function cm(e,t){const r={},n=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++a<n.length;){const u=n[a];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)}function hm(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function fm(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function dm(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function mm(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],u),a.push(u)}if(r.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},s=wt(t.children[1]),l=m0(t.children[t.children.length-1]);s&&l&&(u.position={start:s,end:l}),a.push(u)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function pm(e,t,r){const n=r?r.children:void 0,i=(n?n.indexOf(t):1)===0?"th":"td",u=r&&r.type==="table"?r.align:void 0,s=u?u.length:t.children.length;let l=-1;const o=[];for(;++l<s;){const d=t.children[l],g={},p=u?u[l]:void 0;p&&(g.align=p);let T={type:"element",tagName:i,properties:g,children:[]};d&&(T.children=e.all(d),e.patch(d,T),T=e.applyData(d,T)),o.push(T)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(o,!0)};return e.patch(t,f),e.applyData(t,f)}function gm(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const Bu=9,Fu=32;function bm(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const i=[];for(;n;)i.push(Hu(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(Hu(t.slice(a),a>0,!1)),i.join("")}function Hu(e,t,r){let n=0,a=e.length;if(t){let i=e.codePointAt(n);for(;i===Bu||i===Fu;)n++,i=e.codePointAt(n)}if(r){let i=e.codePointAt(a-1);for(;i===Bu||i===Fu;)a--,i=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function Em(e,t){const r={type:"text",value:bm(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function Tm(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const ym={blockquote:jd,break:Xd,code:Qd,delete:Kd,emphasis:Jd,footnoteReference:em,heading:tm,html:rm,imageReference:nm,image:am,inlineCode:im,linkReference:um,link:sm,listItem:lm,list:cm,paragraph:hm,root:fm,strong:dm,table:mm,tableCell:gm,tableRow:pm,text:Em,thematicBreak:Tm,toml:On,yaml:On,definition:On,footnoteDefinition:On};function On(){}const Eo=-1,g0=0,rn=1,n0=2,ki=3,wi=4,Ci=5,Ii=6,To=7,yo=8,zu=typeof self=="object"?self:globalThis,xm=(e,t)=>{const r=(a,i)=>(e.set(i,a),a),n=a=>{if(e.has(a))return e.get(a);const[i,u]=t[a];switch(i){case g0:case Eo:return r(u,a);case rn:{const s=r([],a);for(const l of u)s.push(n(l));return s}case n0:{const s=r({},a);for(const[l,o]of u)s[n(l)]=n(o);return s}case ki:return r(new Date(u),a);case wi:{const{source:s,flags:l}=u;return r(new RegExp(s,l),a)}case Ci:{const s=r(new Map,a);for(const[l,o]of u)s.set(n(l),n(o));return s}case Ii:{const s=r(new Set,a);for(const l of u)s.add(n(l));return s}case To:{const{name:s,message:l}=u;return r(new zu[s](l),a)}case yo:return r(BigInt(u),a);case"BigInt":return r(Object(BigInt(u)),a);case"ArrayBuffer":return r(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:s}=new Uint8Array(u);return r(new DataView(s),u)}}return r(new zu[i](u),a)};return n},Uu=e=>xm(new Map,e)(0),vr="",{toString:vm}={},{keys:Am}=Object,Xr=e=>{const t=typeof e;if(t!=="object"||!e)return[g0,t];const r=vm.call(e).slice(8,-1);switch(r){case"Array":return[rn,vr];case"Object":return[n0,vr];case"Date":return[ki,vr];case"RegExp":return[wi,vr];case"Map":return[Ci,vr];case"Set":return[Ii,vr];case"DataView":return[rn,r]}return r.includes("Array")?[rn,r]:r.includes("Error")?[To,r]:[n0,r]},Ln=([e,t])=>e===g0&&(t==="function"||t==="symbol"),Sm=(e,t,r,n)=>{const a=(u,s)=>{const l=n.push(u)-1;return r.set(s,l),l},i=u=>{if(r.has(u))return r.get(u);let[s,l]=Xr(u);switch(s){case g0:{let f=u;switch(l){case"bigint":s=yo,f=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);f=null;break;case"undefined":return a([Eo],u)}return a([s,f],u)}case rn:{if(l){let g=u;return l==="DataView"?g=new Uint8Array(u.buffer):l==="ArrayBuffer"&&(g=new Uint8Array(u)),a([l,[...g]],u)}const f=[],d=a([s,f],u);for(const g of u)f.push(i(g));return d}case n0:{if(l)switch(l){case"BigInt":return a([l,u.toString()],u);case"Boolean":case"Number":case"String":return a([l,u.valueOf()],u)}if(t&&"toJSON"in u)return i(u.toJSON());const f=[],d=a([s,f],u);for(const g of Am(u))(e||!Ln(Xr(u[g])))&&f.push([i(g),i(u[g])]);return d}case ki:return a([s,u.toISOString()],u);case wi:{const{source:f,flags:d}=u;return a([s,{source:f,flags:d}],u)}case Ci:{const f=[],d=a([s,f],u);for(const[g,p]of u)(e||!(Ln(Xr(g))||Ln(Xr(p))))&&f.push([i(g),i(p)]);return d}case Ii:{const f=[],d=a([s,f],u);for(const g of u)(e||!Ln(Xr(g)))&&f.push(i(g));return d}}const{message:o}=u;return a([s,{name:l,message:o}],u)};return i},qu=(e,{json:t,lossy:r}={})=>{const n=[];return Sm(!(t||r),!!t,new Map,n)(e),n},_r=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Uu(qu(e,t)):structuredClone(e):(e,t)=>Uu(qu(e,t));function km(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function wm(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Cm(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||km,n=e.options.footnoteBackLabel||wm,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[l]);if(!o)continue;const f=e.all(o),d=String(o.identifier).toUpperCase(),g=Br(d.toLowerCase());let p=0;const T=[],v=e.footnoteCounts.get(d);for(;v!==void 0&&++p<=v;){T.length>0&&T.push({type:"text",value:" "});let D=typeof r=="string"?r:r(l,p);typeof D=="string"&&(D={type:"text",value:D}),T.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+g+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(l,p),className:["data-footnote-backref"]},children:Array.isArray(D)?D:[D]})}const I=f[f.length-1];if(I&&I.type==="element"&&I.tagName==="p"){const D=I.children[I.children.length-1];D&&D.type==="text"?D.value+=" ":I.children.push({type:"text",value:" "}),I.children.push(...T)}else f.push(...T);const w={type:"element",tagName:"li",properties:{id:t+"fn-"+g},children:e.wrap(f,!0)};e.patch(o,w),s.push(w)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{..._r(u),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
9
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:`
10
+ `}]}}const xn=(function(e){if(e==null)return Dm;if(typeof e=="function")return b0(e);if(typeof e=="object")return Array.isArray(e)?Im(e):_m(e);if(typeof e=="string")return Nm(e);throw new Error("Expected function, string, or object as test")});function Im(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=xn(e[r]);return b0(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function _m(e){const t=e;return b0(r);function r(n){const a=n;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function Nm(e){return b0(t);function t(r){return r&&r.type===e}}function b0(e){return t;function t(r,n,a){return!!(Om(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function Dm(){return!0}function Om(e){return e!==null&&typeof e=="object"&&"type"in e}const xo=[],Lm=!0,$a=!1,vo="skip";function _i(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const i=xn(a),u=n?-1:1;s(e,void 0,[])();function s(l,o,f){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const p=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(g,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return g;function g(){let p=xo,T,v,I;if((!t||i(l,o,f[f.length-1]||void 0))&&(p=Rm(r(l,f)),p[0]===$a))return p;if("children"in l&&l.children){const w=l;if(w.children&&p[0]!==vo)for(v=(n?w.children.length:-1)+u,I=f.concat(w);v>-1&&v<w.children.length;){const D=w.children[v];if(T=s(D,v,I)(),T[0]===$a)return T;v=typeof T[1]=="number"?T[1]:v+u}}return p}}}function Rm(e){return Array.isArray(e)?e:typeof e=="number"?[Lm,e]:e==null?xo:[e]}function E0(e,t,r,n){let a,i,u;typeof t=="function"&&typeof r!="function"?(i=void 0,u=t,a=r):(i=t,u=r,a=n),_i(e,i,s,a);function s(l,o){const f=o[o.length-1],d=f?f.children.indexOf(l):void 0;return u(l,d,f)}}const Wa={}.hasOwnProperty,Mm={};function Pm(e,t){const r=t||Mm,n=new Map,a=new Map,i=new Map,u={...ym,...r.handlers},s={all:o,applyData:Fm,definitionById:n,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:u,one:l,options:r,patch:Bm,wrap:zm};return E0(e,function(f){if(f.type==="definition"||f.type==="footnoteDefinition"){const d=f.type==="definition"?n:a,g=String(f.identifier).toUpperCase();d.has(g)||d.set(g,f)}}),s;function l(f,d){const g=f.type,p=s.handlers[g];if(Wa.call(s.handlers,g)&&p)return p(s,f,d);if(s.options.passThrough&&s.options.passThrough.includes(g)){if("children"in f){const{children:v,...I}=f,w=_r(I);return w.children=s.all(f),w}return _r(f)}return(s.options.unknownHandler||Hm)(s,f,d)}function o(f){const d=[];if("children"in f){const g=f.children;let p=-1;for(;++p<g.length;){const T=s.one(g[p],f);if(T){if(p&&g[p-1].type==="break"&&(!Array.isArray(T)&&T.type==="text"&&(T.value=Yu(T.value)),!Array.isArray(T)&&T.type==="element")){const v=T.children[0];v&&v.type==="text"&&(v.value=Yu(v.value))}Array.isArray(T)?d.push(...T):d.push(T)}}}return d}}function Bm(e,t){e.position&&(t.position=Th(e))}function Fm(e,t){let r=t;if(e&&e.data){const n=e.data.hName,a=e.data.hChildren,i=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const u="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:u}}r.type==="element"&&i&&Object.assign(r.properties,_r(i)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function Hm(e,t){const r=t.data||{},n="value"in t&&!(Wa.call(r,"hProperties")||Wa.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function zm(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
11
+ `});++n<e.length;)n&&r.push({type:"text",value:`
12
+ `}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
13
+ `}),r}function Yu(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function Vu(e,t){const r=Pm(e,t),n=r.one(e,void 0),a=Cm(r),i=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&i.children.push({type:"text",value:`
14
+ `},a),i}function Um(e,t){return e&&"run"in e?async function(r,n){const a=Vu(r,{file:n,...t});await e.run(a,n)}:function(r,n){return Vu(r,{file:n,...e||t})}}function Gu(e){if(e)throw e}var q0,$u;function qm(){if($u)return q0;$u=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=function(o){return typeof Array.isArray=="function"?Array.isArray(o):t.call(o)==="[object Array]"},i=function(o){if(!o||t.call(o)!=="[object Object]")return!1;var f=e.call(o,"constructor"),d=o.constructor&&o.constructor.prototype&&e.call(o.constructor.prototype,"isPrototypeOf");if(o.constructor&&!f&&!d)return!1;var g;for(g in o);return typeof g>"u"||e.call(o,g)},u=function(o,f){r&&f.name==="__proto__"?r(o,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):o[f.name]=f.newValue},s=function(o,f){if(f==="__proto__")if(e.call(o,f)){if(n)return n(o,f).value}else return;return o[f]};return q0=function l(){var o,f,d,g,p,T,v=arguments[0],I=1,w=arguments.length,D=!1;for(typeof v=="boolean"&&(D=v,v=arguments[1]||{},I=2),(v==null||typeof v!="object"&&typeof v!="function")&&(v={});I<w;++I)if(o=arguments[I],o!=null)for(f in o)d=s(v,f),g=s(o,f),v!==g&&(D&&g&&(i(g)||(p=a(g)))?(p?(p=!1,T=d&&a(d)?d:[]):T=d&&i(d)?d:{},u(v,{name:f,newValue:l(D,T,g)})):typeof g<"u"&&u(v,{name:f,newValue:g}));return v},q0}var Ym=qm();const Y0=Ul(Ym);function ja(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 Vm(){const e=[],t={run:r,use:n};return t;function r(...a){let i=-1;const u=a.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);s(null,...a);function s(l,...o){const f=e[++i];let d=-1;if(l){u(l);return}for(;++d<a.length;)(o[d]===null||o[d]===void 0)&&(o[d]=a[d]);a=o,f?Gm(f,s)(...o):u(null,...o)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function Gm(e,t){let r;return n;function n(...u){const s=e.length>u.length;let l;s&&u.push(a);try{l=e.apply(this,u)}catch(o){const f=o;if(s&&r)throw f;return a(f)}s||(l&&l.then&&typeof l.then=="function"?l.then(i,a):l instanceof Error?a(l):i(l))}function a(u,...s){r||(r=!0,t(u,...s))}function i(u){a(null,u)}}const Tt={basename:$m,dirname:Wm,extname:jm,join:Xm,sep:"/"};function $m(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');vn(e);let r=0,n=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let u=-1,s=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else u<0&&(i=!0,u=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(n=a):(s=-1,n=u));return r===n?n=u:n<0&&(n=e.length),e.slice(r,n)}function Wm(e){if(vn(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function jm(e){vn(e);let t=e.length,r=-1,n=0,a=-1,i=0,u;for(;t--;){const s=e.codePointAt(t);if(s===47){if(u){n=t+1;break}continue}r<0&&(u=!0,r=t+1),s===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||r<0||i===0||i===1&&a===r-1&&a===n+1?"":e.slice(a,r)}function Xm(...e){let t=-1,r;for(;++t<e.length;)vn(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":Qm(r)}function Qm(e){vn(e);const t=e.codePointAt(0)===47;let r=Km(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function Km(e,t){let r="",n=0,a=-1,i=0,u=-1,s,l;for(;++u<=e.length;){if(u<e.length)s=e.codePointAt(u);else{if(s===47)break;s=47}if(s===47){if(!(a===u-1||i===1))if(a!==u-1&&i===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),a=u,i=0;continue}}else if(r.length>0){r="",n=0,a=u,i=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(a+1,u):r=e.slice(a+1,u),n=u-a-1;a=u,i=0}else s===46&&i>-1?i++:i=-1}return r}function vn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Jm={cwd:Zm};function Zm(){return"/"}function Xa(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function e2(e){if(typeof e=="string")e=new URL(e);else if(!Xa(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 t2(e)}function t2(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const V0=["history","path","basename","stem","extname","dirname"];class Ao{constructor(t){let r;t?Xa(t)?r={path:t}:typeof t=="string"||r2(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":Jm.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<V0.length;){const i=V0[n];i in r&&r[i]!==void 0&&r[i]!==null&&(this[i]=i==="history"?[...r[i]]:r[i])}let a;for(a in r)V0.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?Tt.basename(this.path):void 0}set basename(t){$0(t,"basename"),G0(t,"basename"),this.path=Tt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Tt.dirname(this.path):void 0}set dirname(t){Wu(this.basename,"dirname"),this.path=Tt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Tt.extname(this.path):void 0}set extname(t){if(G0(t,"extname"),Wu(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=Tt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Xa(t)&&(t=e2(t)),$0(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Tt.basename(this.path,this.extname):void 0}set stem(t){$0(t,"stem"),G0(t,"stem"),this.path=Tt.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const a=this.message(t,r,n);throw a.fatal=!0,a}info(t,r,n){const a=this.message(t,r,n);return a.fatal=void 0,a}message(t,r,n){const a=new qe(t,r,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function G0(e,t){if(e&&e.includes(Tt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Tt.sep+"`")}function $0(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Wu(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function r2(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const n2=(function(e){const n=this.constructor.prototype,a=n[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i}),a2={}.hasOwnProperty;class Ni extends n2{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=Vm()}copy(){const t=new Ni;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(Y0(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(X0("data",this.frozen),this.namespace[t]=r,this):a2.call(this.namespace,t)&&this.namespace[t]||void 0:t?(X0("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[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const a=r.call(t,...n);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=Rn(t),n=this.parser||this.Parser;return W0("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),W0("process",this.parser||this.Parser),j0("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,u){const s=Rn(t),l=n.parse(s);n.run(l,s,function(f,d,g){if(f||!d||!g)return o(f);const p=d,T=n.stringify(p,g);s2(T)?g.value=T:g.result=T,o(f,g)});function o(f,d){f||!d?u(f):i?i(d):r(void 0,d)}}}processSync(t){let r=!1,n;return this.freeze(),W0("processSync",this.parser||this.Parser),j0("processSync",this.compiler||this.Compiler),this.process(t,a),Xu("processSync","process",r),n;function a(i,u){r=!0,Gu(i),n=u}}run(t,r,n){ju(t),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?i(void 0,n):new Promise(i);function i(u,s){const l=Rn(r);a.run(t,l,o);function o(f,d,g){const p=d||t;f?s(f):u?u(p):n(void 0,p,g)}}}runSync(t,r){let n=!1,a;return this.run(t,r,i),Xu("runSync","run",n),a;function i(u,s){Gu(u),a=s,n=!0}}stringify(t,r){this.freeze();const n=Rn(r),a=this.compiler||this.Compiler;return j0("stringify",a),ju(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(X0("use",this.frozen),t!=null)if(typeof t=="function")l(t,r);else if(typeof t=="object")Array.isArray(t)?s(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(o){if(typeof o=="function")l(o,[]);else if(typeof o=="object")if(Array.isArray(o)){const[f,...d]=o;l(f,d)}else u(o);else throw new TypeError("Expected usable value, not `"+o+"`")}function u(o){if(!("plugins"in o)&&!("settings"in o))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");s(o.plugins),o.settings&&(a.settings=Y0(!0,a.settings,o.settings))}function s(o){let f=-1;if(o!=null)if(Array.isArray(o))for(;++f<o.length;){const d=o[f];i(d)}else throw new TypeError("Expected a list of plugins, not `"+o+"`")}function l(o,f){let d=-1,g=-1;for(;++d<n.length;)if(n[d][0]===o){g=d;break}if(g===-1)n.push([o,...f]);else if(f.length>0){let[p,...T]=f;const v=n[g][1];ja(v)&&ja(p)&&(p=Y0(!0,v,p)),n[g]=[o,p,...T]}}}}const i2=new Ni().freeze();function W0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function j0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function X0(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 ju(e){if(!ja(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Xu(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Rn(e){return u2(e)?e:new Ao(e)}function u2(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function s2(e){return typeof e=="string"||l2(e)}function l2(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const o2="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Qu=[],Ku={allowDangerousHtml:!0},c2=/^(https?|ircs?|mailto|xmpp)$/i,h2=[{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 zg(e){const t=f2(e),r=d2(e);return m2(t.runSync(t.parse(r),r),e)}function f2(e){const t=e.rehypePlugins||Qu,r=e.remarkPlugins||Qu,n=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Ku}:Ku;return i2().use(Wd).use(r).use(Um,n).use(t)}function d2(e){const t=e.children||"",r=new Ao;return typeof t=="string"&&(r.value=t),r}function m2(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,i=t.disallowedElements,u=t.skipHtml,s=t.unwrapDisallowed,l=t.urlTransform||p2;for(const f of h2)Object.hasOwn(t,f.from)&&(""+f.from+(f.to?"use `"+f.to+"` instead":"remove it")+o2+f.id,void 0);return E0(e,o),kh(e,{Fragment:P0.Fragment,components:a,ignoreInvalidStyle:!0,jsx:P0.jsx,jsxs:P0.jsxs,passKeys:!0,passNode:!0});function o(f,d,g){if(f.type==="raw"&&g&&typeof d=="number")return u?g.children.splice(d,1):g.children[d]={type:"text",value:f.value},d;if(f.type==="element"){let p;for(p in H0)if(Object.hasOwn(H0,p)&&Object.hasOwn(f.properties,p)){const T=f.properties[p],v=H0[p];(v===null||v.includes(f.tagName))&&(f.properties[p]=l(String(T||""),p,f))}}if(f.type==="element"){let p=r?!r.includes(f.tagName):i?i.includes(f.tagName):!1;if(!p&&n&&typeof d=="number"&&(p=!n(f,d,g)),p&&g&&typeof d=="number")return s&&f.children?g.children.splice(d,1,...f.children):g.children.splice(d,1),d}}}function p2(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||r!==-1&&t>r||n!==-1&&t>n||c2.test(e.slice(0,t))?e:""}function Ju(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,a=r.indexOf(t);for(;a!==-1;)n++,a=r.indexOf(t,a+t.length);return n}const g2=So(new RegExp("\\p{P}|\\p{S}","u")),b2=So(/\s/);function So(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function E2(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function T2(e,t,r){const a=xn((r||{}).ignore||[]),i=y2(t);let u=-1;for(;++u<i.length;)_i(e,"text",s);function s(o,f){let d=-1,g;for(;++d<f.length;){const p=f[d],T=g?g.children:void 0;if(a(p,T?T.indexOf(p):void 0,g))return;g=p}if(g)return l(o,f)}function l(o,f){const d=f[f.length-1],g=i[u][0],p=i[u][1];let T=0;const I=d.children.indexOf(o);let w=!1,D=[];g.lastIndex=0;let R=g.exec(o.value);for(;R;){const j=R.index,V={index:R.index,input:R.input,stack:[...f,o]};let O=p(...R,V);if(typeof O=="string"&&(O=O.length>0?{type:"text",value:O}:void 0),O===!1?g.lastIndex=j+1:(T!==j&&D.push({type:"text",value:o.value.slice(T,j)}),Array.isArray(O)?D.push(...O):O&&D.push(O),T=j+R[0].length,w=!0),!g.global)break;R=g.exec(o.value)}return w?(T<o.value.length&&D.push({type:"text",value:o.value.slice(T)}),d.children.splice(I,1,...D)):D=[o],I+D.length}}function y2(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const a=r[n];t.push([x2(a[0]),v2(a[1])])}return t}function x2(e){return typeof e=="string"?new RegExp(E2(e),"g"):e}function v2(e){return typeof e=="function"?e:function(){return e}}const Q0="phrasing",K0=["autolink","link","image","label"];function A2(){return{transforms:[N2],enter:{literalAutolink:k2,literalAutolinkEmail:J0,literalAutolinkHttp:J0,literalAutolinkWww:J0},exit:{literalAutolink:_2,literalAutolinkEmail:I2,literalAutolinkHttp:w2,literalAutolinkWww:C2}}}function S2(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Q0,notInConstruct:K0},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Q0,notInConstruct:K0},{character:":",before:"[ps]",after:"\\/",inConstruct:Q0,notInConstruct:K0}]}}function k2(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function J0(e){this.config.enter.autolinkProtocol.call(this,e)}function w2(e){this.config.exit.autolinkProtocol.call(this,e)}function C2(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 I2(e){this.config.exit.autolinkEmail.call(this,e)}function _2(e){this.exit(e)}function N2(e){T2(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,D2],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),O2]],{ignore:["link","linkReference"]})}function D2(e,t,r,n,a){let i="";if(!ko(a)||(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!L2(r)))return!1;const u=R2(r+n);if(!u[0])return!1;const s={type:"link",title:null,url:i+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[s,{type:"text",value:u[1]}]:s}function O2(e,t,r,n){return!ko(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function L2(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 R2(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const a=Ju(e,"(");let i=Ju(e,")");for(;n!==-1&&a>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}function ko(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||b2(r)||g2(r))&&(!t||r!==47)}function wo(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}Co.peek=Y2;function M2(){this.buffer()}function P2(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function B2(){this.buffer()}function F2(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function H2(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=wo(this.sliceSerialize(e)).toLowerCase(),r.label=t}function z2(e){this.exit(e)}function U2(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=wo(this.sliceSerialize(e)).toLowerCase(),r.label=t}function q2(e){this.exit(e)}function Y2(){return"["}function Co(e,t,r,n){const a=r.createTracker(n);let i=a.move("[^");const u=r.enter("footnoteReference"),s=r.enter("reference");return i+=a.move(r.safe(r.associationId(e),{after:"]",before:i})),s(),u(),i+=a.move("]"),i}function V2(){return{enter:{gfmFootnoteCallString:M2,gfmFootnoteCall:P2,gfmFootnoteDefinitionLabelString:B2,gfmFootnoteDefinition:F2},exit:{gfmFootnoteCallString:H2,gfmFootnoteCall:z2,gfmFootnoteDefinitionLabelString:U2,gfmFootnoteDefinition:q2}}}function G2(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:Co},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,i,u){const s=i.createTracker(u);let l=s.move("[^");const o=i.enter("footnoteDefinition"),f=i.enter("label");return l+=s.move(i.safe(i.associationId(n),{before:l,after:"]"})),f(),l+=s.move("]:"),n.children&&n.children.length>0&&(s.shift(4),l+=s.move((t?`
15
+ `:" ")+i.indentLines(i.containerFlow(n,s.current()),t?Io:$2))),o(),l}}function $2(e,t,r){return t===0?e:Io(e,t,r)}function Io(e,t,r){return(r?"":" ")+e}const W2=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];_o.peek=J2;function j2(){return{canContainEols:["delete"],enter:{strikethrough:Q2},exit:{strikethrough:K2}}}function X2(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:W2}],handlers:{delete:_o}}}function Q2(e){this.enter({type:"delete",children:[]},e)}function K2(e){this.exit(e)}function _o(e,t,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let u=a.move("~~");return u+=r.containerPhrasing(e,{...a.current(),before:u,after:"~"}),u+=a.move("~~"),i(),u}function J2(){return"~"}function Z2(e){return e.length}function e4(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||Z2,i=[],u=[],s=[],l=[];let o=0,f=-1;for(;++f<e.length;){const v=[],I=[];let w=-1;for(e[f].length>o&&(o=e[f].length);++w<e[f].length;){const D=t4(e[f][w]);if(r.alignDelimiters!==!1){const R=a(D);I[w]=R,(l[w]===void 0||R>l[w])&&(l[w]=R)}v.push(D)}u[f]=v,s[f]=I}let d=-1;if(typeof n=="object"&&"length"in n)for(;++d<o;)i[d]=Zu(n[d]);else{const v=Zu(n);for(;++d<o;)i[d]=v}d=-1;const g=[],p=[];for(;++d<o;){const v=i[d];let I="",w="";v===99?(I=":",w=":"):v===108?I=":":v===114&&(w=":");let D=r.alignDelimiters===!1?1:Math.max(1,l[d]-I.length-w.length);const R=I+"-".repeat(D)+w;r.alignDelimiters!==!1&&(D=I.length+D+w.length,D>l[d]&&(l[d]=D),p[d]=D),g[d]=R}u.splice(1,0,g),s.splice(1,0,p),f=-1;const T=[];for(;++f<u.length;){const v=u[f],I=s[f];d=-1;const w=[];for(;++d<o;){const D=v[d]||"";let R="",j="";if(r.alignDelimiters!==!1){const V=l[d]-(I[d]||0),O=i[d];O===114?R=" ".repeat(V):O===99?V%2?(R=" ".repeat(V/2+.5),j=" ".repeat(V/2-.5)):(R=" ".repeat(V/2),j=R):j=" ".repeat(V)}r.delimiterStart!==!1&&!d&&w.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&D==="")&&(r.delimiterStart!==!1||d)&&w.push(" "),r.alignDelimiters!==!1&&w.push(R),w.push(D),r.alignDelimiters!==!1&&w.push(j),r.padding!==!1&&w.push(" "),(r.delimiterEnd!==!1||d!==o-1)&&w.push("|")}T.push(r.delimiterEnd===!1?w.join("").replace(/ +$/,""):w.join(""))}return T.join(`
16
+ `)}function t4(e){return e==null?"":String(e)}function Zu(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 es={}.hasOwnProperty;function No(e,t){const r=t||{};function n(a,...i){let u=n.invalid;const s=n.handlers;if(a&&es.call(a,e)){const l=String(a[e]);u=es.call(s,l)?s[l]:n.unknown}if(u)return u.call(this,a,...i)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}function r4(e,t,r,n){const a=r.enter("blockquote"),i=r.createTracker(n);i.move("> "),i.shift(2);const u=r.indentLines(r.containerFlow(e,i.current()),n4);return a(),u}function n4(e,t,r){return">"+(r?"":" ")+e}function a4(e,t){return ts(e,t.inConstruct,!0)&&!ts(e,t.notInConstruct,!1)}function ts(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function rs(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
17
+ `&&a4(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
18
+ `}function Do(e,t){const r=String(e);let n=r.indexOf(t),a=n,i=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++i>u&&(u=i):i=1,a=n+t.length,n=r.indexOf(t,a);return u}function i4(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 u4(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 s4(e,t,r,n){const a=u4(r),i=e.value||"",u=a==="`"?"GraveAccent":"Tilde";if(i4(e,r)){const d=r.enter("codeIndented"),g=r.indentLines(i,l4);return d(),g}const s=r.createTracker(n),l=a.repeat(Math.max(Do(i,a)+1,3)),o=r.enter("codeFenced");let f=s.move(l);if(e.lang){const d=r.enter(`codeFencedLang${u}`);f+=s.move(r.safe(e.lang,{before:f,after:" ",encode:["`"],...s.current()})),d()}if(e.lang&&e.meta){const d=r.enter(`codeFencedMeta${u}`);f+=s.move(" "),f+=s.move(r.safe(e.meta,{before:f,after:`
19
+ `,encode:["`"],...s.current()})),d()}return f+=s.move(`
20
+ `),i&&(f+=s.move(i+`
21
+ `)),f+=s.move(l),o(),f}function l4(e,t,r){return(r?"":" ")+e}function Di(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 o4(e,t,r,n){const a=Di(r),i=a==='"'?"Quote":"Apostrophe",u=r.enter("definition");let s=r.enter("label");const l=r.createTracker(n);let o=l.move("[");return o+=l.move(r.safe(r.associationId(e),{before:o,after:"]",...l.current()})),o+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),o+=l.move("<"),o+=l.move(r.safe(e.url,{before:o,after:">",...l.current()})),o+=l.move(">")):(s=r.enter("destinationRaw"),o+=l.move(r.safe(e.url,{before:o,after:e.title?" ":`
22
+ `,...l.current()}))),s(),e.title&&(s=r.enter(`title${i}`),o+=l.move(" "+a),o+=l.move(r.safe(e.title,{before:o,after:a,...l.current()})),o+=l.move(a),s()),u(),o}function c4(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 dn(e){return"&#x"+e.toString(16).toUpperCase()+";"}function h4(e){return e!==null&&(e<0||e===32)}const f4=Oo(new RegExp("\\p{P}|\\p{S}","u")),d4=Oo(/\s/);function Oo(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function ns(e){if(e===null||h4(e)||d4(e))return 1;if(f4(e))return 2}function a0(e,t,r){const n=ns(e),a=ns(t);return n===void 0?a===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}Lo.peek=m4;function Lo(e,t,r,n){const a=c4(r),i=r.enter("emphasis"),u=r.createTracker(n),s=u.move(a);let l=u.move(r.containerPhrasing(e,{after:a,before:s,...u.current()}));const o=l.charCodeAt(0),f=a0(n.before.charCodeAt(n.before.length-1),o,a);f.inside&&(l=dn(o)+l.slice(1));const d=l.charCodeAt(l.length-1),g=a0(n.after.charCodeAt(0),d,a);g.inside&&(l=l.slice(0,-1)+dn(d));const p=u.move(a);return i(),r.attentionEncodeSurroundingInfo={after:g.outside,before:f.outside},s+l+p}function m4(e,t,r){return r.options.emphasis||"*"}const p4={};function Ro(e,t){const r=p4,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Mo(e,n,a)}function Mo(e,t,r){if(g4(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return as(e.children,t,r)}return Array.isArray(e)?as(e,t,r):""}function as(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=Mo(e[a],t,r);return n.join("")}function g4(e){return!!(e&&typeof e=="object")}function b4(e,t){let r=!1;return E0(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,$a}),!!((!e.depth||e.depth<3)&&Ro(e)&&(t.options.setext||r))}function E4(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),i=r.createTracker(n);if(b4(e,r)){const f=r.enter("headingSetext"),d=r.enter("phrasing"),g=r.containerPhrasing(e,{...i.current(),before:`
23
+ `,after:`
24
+ `});return d(),f(),g+`
25
+ `+(a===1?"=":"-").repeat(g.length-(Math.max(g.lastIndexOf("\r"),g.lastIndexOf(`
26
+ `))+1))}const u="#".repeat(a),s=r.enter("headingAtx"),l=r.enter("phrasing");i.move(u+" ");let o=r.containerPhrasing(e,{before:"# ",after:`
27
+ `,...i.current()});return/^[\t ]/.test(o)&&(o=dn(o.charCodeAt(0))+o.slice(1)),o=o?u+" "+o:u,r.options.closeAtx&&(o+=" "+u),l(),s(),o}Po.peek=T4;function Po(e){return e.value||""}function T4(){return"<"}Bo.peek=y4;function Bo(e,t,r,n){const a=Di(r),i=a==='"'?"Quote":"Apostrophe",u=r.enter("image");let s=r.enter("label");const l=r.createTracker(n);let o=l.move("![");return o+=l.move(r.safe(e.alt,{before:o,after:"]",...l.current()})),o+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=r.enter("destinationLiteral"),o+=l.move("<"),o+=l.move(r.safe(e.url,{before:o,after:">",...l.current()})),o+=l.move(">")):(s=r.enter("destinationRaw"),o+=l.move(r.safe(e.url,{before:o,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=r.enter(`title${i}`),o+=l.move(" "+a),o+=l.move(r.safe(e.title,{before:o,after:a,...l.current()})),o+=l.move(a),s()),o+=l.move(")"),u(),o}function y4(){return"!"}Fo.peek=x4;function Fo(e,t,r,n){const a=e.referenceType,i=r.enter("imageReference");let u=r.enter("label");const s=r.createTracker(n);let l=s.move("![");const o=r.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(o+"]["),u();const f=r.stack;r.stack=[],u=r.enter("reference");const d=r.safe(r.associationId(e),{before:l,after:"]",...s.current()});return u(),r.stack=f,i(),a==="full"||!o||o!==d?l+=s.move(d+"]"):a==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function x4(){return"!"}Ho.peek=v4;function Ho(e,t,r){let n=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const u=r.unsafe[i],s=r.compilePattern(u);let l;if(u.atBreak)for(;l=s.exec(n);){let o=l.index;n.charCodeAt(o)===10&&n.charCodeAt(o-1)===13&&o--,n=n.slice(0,o)+" "+n.slice(l.index+1)}}return a+n+a}function v4(){return"`"}function zo(e,t){const r=Ro(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Uo.peek=A4;function Uo(e,t,r,n){const a=Di(r),i=a==='"'?"Quote":"Apostrophe",u=r.createTracker(n);let s,l;if(zo(e,r)){const f=r.stack;r.stack=[],s=r.enter("autolink");let d=u.move("<");return d+=u.move(r.containerPhrasing(e,{before:d,after:">",...u.current()})),d+=u.move(">"),s(),r.stack=f,d}s=r.enter("link"),l=r.enter("label");let o=u.move("[");return o+=u.move(r.containerPhrasing(e,{before:o,after:"](",...u.current()})),o+=u.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),o+=u.move("<"),o+=u.move(r.safe(e.url,{before:o,after:">",...u.current()})),o+=u.move(">")):(l=r.enter("destinationRaw"),o+=u.move(r.safe(e.url,{before:o,after:e.title?" ":")",...u.current()}))),l(),e.title&&(l=r.enter(`title${i}`),o+=u.move(" "+a),o+=u.move(r.safe(e.title,{before:o,after:a,...u.current()})),o+=u.move(a),l()),o+=u.move(")"),s(),o}function A4(e,t,r){return zo(e,r)?"<":"["}qo.peek=S4;function qo(e,t,r,n){const a=e.referenceType,i=r.enter("linkReference");let u=r.enter("label");const s=r.createTracker(n);let l=s.move("[");const o=r.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(o+"]["),u();const f=r.stack;r.stack=[],u=r.enter("reference");const d=r.safe(r.associationId(e),{before:l,after:"]",...s.current()});return u(),r.stack=f,i(),a==="full"||!o||o!==d?l+=s.move(d+"]"):a==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function S4(){return"["}function Oi(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 k4(e){const t=Oi(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function w4(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 Yo(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 C4(e,t,r,n){const a=r.enter("list"),i=r.bulletCurrent;let u=e.ordered?w4(r):Oi(r);const s=e.ordered?u==="."?")":".":k4(r);let l=t&&r.bulletLastUsed?u===r.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&f&&(!f.children||!f.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(l=!0),Yo(r)===u&&f){let d=-1;for(;++d<e.children.length;){const g=e.children[d];if(g&&g.type==="listItem"&&g.children&&g.children[0]&&g.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(u=s),r.bulletCurrent=u;const o=r.containerFlow(e,n);return r.bulletLastUsed=u,r.bulletCurrent=i,a(),o}function I4(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 _4(e,t,r,n){const a=I4(r);let i=r.bulletCurrent||Oi(r);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let u=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const s=r.createTracker(n);s.move(i+" ".repeat(u-i.length)),s.shift(u);const l=r.enter("listItem"),o=r.indentLines(r.containerFlow(e,s.current()),f);return l(),o;function f(d,g,p){return g?(p?"":" ".repeat(u))+d:(p?i:i+" ".repeat(u-i.length))+d}}function N4(e,t,r,n){const a=r.enter("paragraph"),i=r.enter("phrasing"),u=r.containerPhrasing(e,n);return i(),a(),u}const D4=xn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function O4(e,t,r,n){return(e.children.some(function(u){return D4(u)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function L4(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Vo.peek=R4;function Vo(e,t,r,n){const a=L4(r),i=r.enter("strong"),u=r.createTracker(n),s=u.move(a+a);let l=u.move(r.containerPhrasing(e,{after:a,before:s,...u.current()}));const o=l.charCodeAt(0),f=a0(n.before.charCodeAt(n.before.length-1),o,a);f.inside&&(l=dn(o)+l.slice(1));const d=l.charCodeAt(l.length-1),g=a0(n.after.charCodeAt(0),d,a);g.inside&&(l=l.slice(0,-1)+dn(d));const p=u.move(a+a);return i(),r.attentionEncodeSurroundingInfo={after:g.outside,before:f.outside},s+l+p}function R4(e,t,r){return r.options.strong||"*"}function M4(e,t,r,n){return r.safe(e.value,n)}function P4(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 B4(e,t,r){const n=(Yo(r)+(r.options.ruleSpaces?" ":"")).repeat(P4(r));return r.options.ruleSpaces?n.slice(0,-1):n}const Go={blockquote:r4,break:rs,code:s4,definition:o4,emphasis:Lo,hardBreak:rs,heading:E4,html:Po,image:Bo,imageReference:Fo,inlineCode:Ho,link:Uo,linkReference:qo,list:C4,listItem:_4,paragraph:N4,root:O4,strong:Vo,text:M4,thematicBreak:B4};function F4(){return{enter:{table:H4,tableData:is,tableHeader:is,tableRow:U4},exit:{codeText:q4,table:z4,tableData:Z0,tableHeader:Z0,tableRow:Z0}}}function H4(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function z4(e){this.exit(e),this.data.inTable=void 0}function U4(e){this.enter({type:"tableRow",children:[]},e)}function Z0(e){this.exit(e)}function is(e){this.enter({type:"tableCell",children:[]},e)}function q4(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Y4));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function Y4(e,t){return t==="|"?t:e}function V4(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,i=r?" ":"|";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:g,table:u,tableCell:l,tableRow:s}};function u(p,T,v,I){return o(f(p,v,I),p.align)}function s(p,T,v,I){const w=d(p,v,I),D=o([w]);return D.slice(0,D.indexOf(`
29
+ `))}function l(p,T,v,I){const w=v.enter("tableCell"),D=v.enter("phrasing"),R=v.containerPhrasing(p,{...I,before:i,after:i});return D(),w(),R}function o(p,T){return e4(p,{align:T,alignDelimiters:n,padding:r,stringLength:a})}function f(p,T,v){const I=p.children;let w=-1;const D=[],R=T.enter("table");for(;++w<I.length;)D[w]=d(I[w],T,v);return R(),D}function d(p,T,v){const I=p.children;let w=-1;const D=[],R=T.enter("tableRow");for(;++w<I.length;)D[w]=l(I[w],p,T,v);return R(),D}function g(p,T,v){let I=Go.inlineCode(p,T,v);return v.stack.includes("tableCell")&&(I=I.replace(/\|/g,"\\$&")),I}}function G4(){return{exit:{taskListCheckValueChecked:us,taskListCheckValueUnchecked:us,paragraph:W4}}}function $4(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:j4}}}function us(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function W4(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const a=t.children;let i=-1,u;for(;++i<a.length;){const s=a[i];if(s.type==="paragraph"){u=s;break}}u===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function j4(e,t,r,n){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",s=r.createTracker(n);i&&s.move(u);let l=Go.listItem(e,t,r,{...n,...s.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,o)),l;function o(f){return f+u}}function X4(){return[A2(),V2(),j2(),F4(),G4()]}function Q4(e){return{extensions:[S2(),G2(e),X2(),V4(e),$4()]}}function K4(e,t,r,n){const a=e.length;let i=0,u;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)u=Array.from(n),u.unshift(t,r),e.splice(...u);else for(r&&e.splice(t,r);i<n.length;)u=n.slice(i,i+1e4),u.unshift(t,0),e.splice(...u),i+=1e4,t+=1e4}const ss={}.hasOwnProperty;function J4(e){const t={};let r=-1;for(;++r<e.length;)Z4(t,e[r]);return t}function Z4(e,t){let r;for(r in t){const a=(ss.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let u;if(i)for(u in i){ss.call(a,u)||(a[u]=[]);const s=i[u];e3(a[u],Array.isArray(s)?s:s?[s]:[])}}}function e3(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);K4(e,0,0,n)}const mn=T0(/[A-Za-z]/),Li=T0(/[\dA-Za-z]/);function t3(e){return e!==null&&(e<32||e===127)}function Nr(e){return e!==null&&(e<0||e===32)}const $o=T0(new RegExp("\\p{P}|\\p{S}","u")),pn=T0(/\s/);function T0(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}const r3={tokenize:l3,partial:!0},Wo={tokenize:o3,partial:!0},jo={tokenize:c3,partial:!0},Xo={tokenize:h3,partial:!0},n3={tokenize:f3,partial:!0},Qo={name:"wwwAutolink",tokenize:u3,previous:Jo},Ko={name:"protocolAutolink",tokenize:s3,previous:Zo},Ut={name:"emailAutolink",tokenize:i3,previous:ec},Ct={};function a3(){return{text:Ct}}let ur=48;for(;ur<123;)Ct[ur]=Ut,ur++,ur===58?ur=65:ur===91&&(ur=97);Ct[43]=Ut;Ct[45]=Ut;Ct[46]=Ut;Ct[95]=Ut;Ct[72]=[Ut,Ko];Ct[104]=[Ut,Ko];Ct[87]=[Ut,Qo];Ct[119]=[Ut,Qo];function i3(e,t,r){const n=this;let a,i;return u;function u(d){return!Qa(d)||!ec.call(n,n.previous)||Ri(n.events)?r(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),s(d))}function s(d){return Qa(d)?(e.consume(d),s):d===64?(e.consume(d),l):r(d)}function l(d){return d===46?e.check(n3,f,o)(d):d===45||d===95||Li(d)?(i=!0,e.consume(d),l):f(d)}function o(d){return e.consume(d),a=!0,l}function f(d){return i&&a&&mn(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):r(d)}}function u3(e,t,r){const n=this;return a;function a(u){return u!==87&&u!==119||!Jo.call(n,n.previous)||Ri(n.events)?r(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(r3,e.attempt(Wo,e.attempt(jo,i),r),r)(u))}function i(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function s3(e,t,r){const n=this;let a="",i=!1;return u;function u(d){return(d===72||d===104)&&Zo.call(n,n.previous)&&!Ri(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(d),e.consume(d),s):r(d)}function s(d){if(mn(d)&&a.length<5)return a+=String.fromCodePoint(d),e.consume(d),s;if(d===58){const g=a.toLowerCase();if(g==="http"||g==="https")return e.consume(d),l}return r(d)}function l(d){return d===47?(e.consume(d),i?o:(i=!0,l)):r(d)}function o(d){return d===null||t3(d)||Nr(d)||pn(d)||$o(d)?r(d):e.attempt(Wo,e.attempt(jo,f),r)(d)}function f(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function l3(e,t,r){let n=0;return a;function a(u){return(u===87||u===119)&&n<3?(n++,e.consume(u),a):u===46&&n===3?(e.consume(u),i):r(u)}function i(u){return u===null?r(u):t(u)}}function o3(e,t,r){let n,a,i;return u;function u(o){return o===46||o===95?e.check(Xo,l,s)(o):o===null||Nr(o)||pn(o)||o!==45&&$o(o)?l(o):(i=!0,e.consume(o),u)}function s(o){return o===95?n=!0:(a=n,n=void 0),e.consume(o),u}function l(o){return a||n||!i?r(o):t(o)}}function c3(e,t){let r=0,n=0;return a;function a(u){return u===40?(r++,e.consume(u),a):u===41&&n<r?i(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(Xo,t,i)(u):u===null||Nr(u)||pn(u)?t(u):(e.consume(u),a)}function i(u){return u===41&&n++,e.consume(u),a}}function h3(e,t,r){return n;function n(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(e.consume(s),n):s===38?(e.consume(s),i):s===93?(e.consume(s),a):s===60||s===null||Nr(s)||pn(s)?t(s):r(s)}function a(s){return s===null||s===40||s===91||Nr(s)||pn(s)?t(s):n(s)}function i(s){return mn(s)?u(s):r(s)}function u(s){return s===59?(e.consume(s),n):mn(s)?(e.consume(s),u):r(s)}}function f3(e,t,r){return n;function n(i){return e.consume(i),a}function a(i){return Li(i)?r(i):t(i)}}function Jo(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Nr(e)}function Zo(e){return!mn(e)}function ec(e){return!(e===47||Qa(e))}function Qa(e){return e===43||e===45||e===46||e===95||Li(e)}function Ri(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}function d3(e){return e!==null&&e<-2}function i0(e){return e!==null&&(e<0||e===32)}function Ka(e){return e===-2||e===-1||e===32}function Mi(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return u;function u(l){return Ka(l)?(e.enter(r),s(l)):t(l)}function s(l){return Ka(l)&&i++<a?(e.consume(l),s):(e.exit(r),t(l))}}const m3={partial:!0,tokenize:p3};function p3(e,t,r){return n;function n(i){return Ka(i)?Mi(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||d3(i)?t(i):r(i)}}function Pi(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const g3={tokenize:S3,partial:!0};function b3(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:x3,continuation:{tokenize:v3},exit:A3}},text:{91:{name:"gfmFootnoteCall",tokenize:y3},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:E3,resolveTo:T3}}}}function E3(e,t,r){const n=this;let a=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let u;for(;a--;){const l=n.events[a][1];if(l.type==="labelImage"){u=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!u||!u._balanced)return r(l);const o=Pi(n.sliceSerialize({start:u.end,end:n.now()}));return o.codePointAt(0)!==94||!i.includes(o.slice(1))?r(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function T3(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",u,t],["exit",u,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...s),e}function y3(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,u;return s;function s(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?r(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",o)}function o(d){if(i>999||d===93&&!u||d===null||d===91||i0(d))return r(d);if(d===93){e.exit("chunkString");const g=e.exit("gfmFootnoteCallString");return a.includes(Pi(n.sliceSerialize(g)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(d)}return i0(d)||(u=!0),i++,e.consume(d),d===92?f:o}function f(d){return d===91||d===92||d===93?(e.consume(d),i++,o):o(d)}}function x3(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,u=0,s;return l;function l(T){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),o}function o(T){return T===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):r(T)}function f(T){if(u>999||T===93&&!s||T===null||T===91||i0(T))return r(T);if(T===93){e.exit("chunkString");const v=e.exit("gfmFootnoteDefinitionLabelString");return i=Pi(n.sliceSerialize(v)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),g}return i0(T)||(s=!0),u++,e.consume(T),T===92?d:f}function d(T){return T===91||T===92||T===93?(e.consume(T),u++,f):f(T)}function g(T){return T===58?(e.enter("definitionMarker"),e.consume(T),e.exit("definitionMarker"),a.includes(i)||a.push(i),Mi(e,p,"gfmFootnoteDefinitionWhitespace")):r(T)}function p(T){return t(T)}}function v3(e,t,r){return e.check(m3,t,e.attempt(g3,t,r))}function A3(e){e.exit("gfmFootnoteDefinition")}function S3(e,t,r){const n=this;return Mi(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const u=n.events[n.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(i):r(i)}}function ea(e,t,r,n){const a=e.length;let i=0,u;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)u=Array.from(n),u.unshift(t,r),e.splice(...u);else for(r&&e.splice(t,r);i<n.length;)u=n.slice(i,i+1e4),u.unshift(t,0),e.splice(...u),i+=1e4,t+=1e4}function k3(e){return e!==null&&(e<0||e===32)}const w3=tc(new RegExp("\\p{P}|\\p{S}","u")),C3=tc(/\s/);function tc(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function ls(e){if(e===null||k3(e)||C3(e))return 1;if(w3(e))return 2}function I3(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}function _3(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(u,s){let l=-1;for(;++l<u.length;)if(u[l][0]==="enter"&&u[l][1].type==="strikethroughSequenceTemporary"&&u[l][1]._close){let o=l;for(;o--;)if(u[o][0]==="exit"&&u[o][1].type==="strikethroughSequenceTemporary"&&u[o][1]._open&&u[l][1].end.offset-u[l][1].start.offset===u[o][1].end.offset-u[o][1].start.offset){u[l][1].type="strikethroughSequence",u[o][1].type="strikethroughSequence";const f={type:"strikethrough",start:Object.assign({},u[o][1].start),end:Object.assign({},u[l][1].end)},d={type:"strikethroughText",start:Object.assign({},u[o][1].end),end:Object.assign({},u[l][1].start)},g=[["enter",f,s],["enter",u[o][1],s],["exit",u[o][1],s],["enter",d,s]],p=s.parser.constructs.insideSpan.null;p&&ea(g,g.length,0,I3(p,u.slice(o+1,l),s)),ea(g,g.length,0,[["exit",d,s],["enter",u[l][1],s],["exit",u[l][1],s],["exit",f,s]]),ea(u,o-1,l-o+3,g),l=o+g.length-2;break}}for(l=-1;++l<u.length;)u[l][1].type==="strikethroughSequenceTemporary"&&(u[l][1].type="data");return u}function i(u,s,l){const o=this.previous,f=this.events;let d=0;return g;function g(T){return o===126&&f[f.length-1][1].type!=="characterEscape"?l(T):(u.enter("strikethroughSequenceTemporary"),p(T))}function p(T){const v=ls(o);if(T===126)return d>1?l(T):(u.consume(T),d++,p);if(d<2&&!r)return l(T);const I=u.exit("strikethroughSequenceTemporary"),w=ls(T);return I._open=!w||w===2&&!!v,I._close=!v||v===2&&!!w,s(T)}}}function Mn(e){return e!==null&&e<-2}function os(e){return e!==null&&(e<0||e===32)}function or(e){return e===-2||e===-1||e===32}function Qr(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return u;function u(l){return or(l)?(e.enter(r),s(l)):t(l)}function s(l){return or(l)&&i++<a?(e.consume(l),s):(e.exit(r),t(l))}}class N3{constructor(){this.map=[]}add(t,r,n){D3(this,t,r,n)}consume(t){if(this.map.sort(function(i,u){return i[0]-u[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let a=n.pop();for(;a;){for(const i of a)t.push(i);a=n.pop()}this.map.length=0}}function D3(e,t,r,n){let a=0;if(!(r===0&&n.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=r,e.map[a][2].push(...n);return}a+=1}e.map.push([t,r,n])}}function O3(e,t){let r=!1;const n=[];for(;t<e.length;){const a=e[t];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=n.length-1;n[i]=n[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function L3(){return{flow:{null:{name:"table",tokenize:R3,resolveAll:M3}}}}function R3(e,t,r){const n=this;let a=0,i=0,u;return s;function s(M){let Z=n.events.length-1;for(;Z>-1;){const ne=n.events[Z][1].type;if(ne==="lineEnding"||ne==="linePrefix")Z--;else break}const J=Z>-1?n.events[Z][1].type:null,fe=J==="tableHead"||J==="tableRow"?O:l;return fe===O&&n.parser.lazy[n.now().line]?r(M):fe(M)}function l(M){return e.enter("tableHead"),e.enter("tableRow"),o(M)}function o(M){return M===124||(u=!0,i+=1),f(M)}function f(M){return M===null?r(M):Mn(M)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),p):r(M):or(M)?Qr(e,f,"whitespace")(M):(i+=1,u&&(u=!1,a+=1),M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),u=!0,f):(e.enter("data"),d(M)))}function d(M){return M===null||M===124||os(M)?(e.exit("data"),f(M)):(e.consume(M),M===92?g:d)}function g(M){return M===92||M===124?(e.consume(M),d):d(M)}function p(M){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(M):(e.enter("tableDelimiterRow"),u=!1,or(M)?Qr(e,T,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):T(M))}function T(M){return M===45||M===58?I(M):M===124?(u=!0,e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),v):V(M)}function v(M){return or(M)?Qr(e,I,"whitespace")(M):I(M)}function I(M){return M===58?(i+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),w):M===45?(i+=1,w(M)):M===null||Mn(M)?j(M):V(M)}function w(M){return M===45?(e.enter("tableDelimiterFiller"),D(M)):V(M)}function D(M){return M===45?(e.consume(M),D):M===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),R):(e.exit("tableDelimiterFiller"),R(M))}function R(M){return or(M)?Qr(e,j,"whitespace")(M):j(M)}function j(M){return M===124?T(M):M===null||Mn(M)?!u||a!==i?V(M):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(M)):V(M)}function V(M){return r(M)}function O(M){return e.enter("tableRow"),X(M)}function X(M){return M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),X):M===null||Mn(M)?(e.exit("tableRow"),t(M)):or(M)?Qr(e,X,"whitespace")(M):(e.enter("data"),re(M))}function re(M){return M===null||M===124||os(M)?(e.exit("data"),X(M)):(e.consume(M),M===92?G:re)}function G(M){return M===92||M===124?(e.consume(M),re):re(M)}}function M3(e,t){let r=-1,n=!0,a=0,i=[0,0,0,0],u=[0,0,0,0],s=!1,l=0,o,f,d;const g=new N3;for(;++r<e.length;){const p=e[r],T=p[1];p[0]==="enter"?T.type==="tableHead"?(s=!1,l!==0&&(cs(g,t,l,o,f),f=void 0,l=0),o={type:"table",start:Object.assign({},T.start),end:Object.assign({},T.end)},g.add(r,0,[["enter",o,t]])):T.type==="tableRow"||T.type==="tableDelimiterRow"?(n=!0,d=void 0,i=[0,0,0,0],u=[0,r+1,0,0],s&&(s=!1,f={type:"tableBody",start:Object.assign({},T.start),end:Object.assign({},T.end)},g.add(r,0,[["enter",f,t]])),a=T.type==="tableDelimiterRow"?2:f?3:1):a&&(T.type==="data"||T.type==="tableDelimiterMarker"||T.type==="tableDelimiterFiller")?(n=!1,u[2]===0&&(i[1]!==0&&(u[0]=u[1],d=Pn(g,t,i,a,void 0,d),i=[0,0,0,0]),u[2]=r)):T.type==="tableCellDivider"&&(n?n=!1:(i[1]!==0&&(u[0]=u[1],d=Pn(g,t,i,a,void 0,d)),i=u,u=[i[1],r,0,0])):T.type==="tableHead"?(s=!0,l=r):T.type==="tableRow"||T.type==="tableDelimiterRow"?(l=r,i[1]!==0?(u[0]=u[1],d=Pn(g,t,i,a,r,d)):u[1]!==0&&(d=Pn(g,t,u,a,r,d)),a=0):a&&(T.type==="data"||T.type==="tableDelimiterMarker"||T.type==="tableDelimiterFiller")&&(u[3]=r)}for(l!==0&&cs(g,t,l,o,f),g.consume(t.events),r=-1;++r<t.events.length;){const p=t.events[r];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=O3(t.events,r))}return e}function Pn(e,t,r,n,a,i){const u=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",s="tableContent";r[0]!==0&&(i.end=Object.assign({},Sr(t.events,r[0])),e.add(r[0],0,[["exit",i,t]]));const l=Sr(t.events,r[1]);if(i={type:u,start:Object.assign({},l),end:Object.assign({},l)},e.add(r[1],0,[["enter",i,t]]),r[2]!==0){const o=Sr(t.events,r[2]),f=Sr(t.events,r[3]),d={type:s,start:Object.assign({},o),end:Object.assign({},f)};if(e.add(r[2],0,[["enter",d,t]]),n!==2){const g=t.events[r[2]],p=t.events[r[3]];if(g[1].end=Object.assign({},p[1].end),g[1].type="chunkText",g[1].contentType="text",r[3]>r[2]+1){const T=r[2]+1,v=r[3]-r[2]-1;e.add(T,v,[])}}e.add(r[3]+1,0,[["exit",d,t]])}return a!==void 0&&(i.end=Object.assign({},Sr(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function cs(e,t,r,n,a){const i=[],u=Sr(t.events,r);a&&(a.end=Object.assign({},u),i.push(["exit",a,t])),n.end=Object.assign({},u),i.push(["exit",n,t]),e.add(r+1,0,i)}function Sr(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}function P3(e){return e!==null&&e<-2}function B3(e){return e!==null&&(e<0||e===32)}function Ja(e){return e===-2||e===-1||e===32}function F3(e,t,r,n){const a=Number.POSITIVE_INFINITY;let i=0;return u;function u(l){return Ja(l)?(e.enter(r),s(l)):t(l)}function s(l){return Ja(l)&&i++<a?(e.consume(l),s):(e.exit(r),t(l))}}const H3={name:"tasklistCheck",tokenize:U3};function z3(){return{text:{91:H3}}}function U3(e,t,r){const n=this;return a;function a(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return B3(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),u):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),u):r(l)}function u(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):r(l)}function s(l){return P3(l)?t(l):Ja(l)?e.check({tokenize:q3},t,r)(l):r(l)}}function q3(e,t,r){return F3(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function Y3(e){return J4([a3(),b3(),_3(e),L3(),z3()])}const V3={};function Ug(e){const t=this,r=e||V3,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),u=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(Y3(r)),i.push(X4()),u.push(Q4(r))}function G3(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:s,mathText:u,mathTextData:s}};function e(l){const o={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[o]}},l)}function t(){this.buffer()}function r(){const l=this.resume(),o=this.stack[this.stack.length-1];o.type,o.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(l){const o=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),f=this.stack[this.stack.length-1];f.type,this.exit(l),f.value=o;const d=f.data.hChildren[0];d.type,d.tagName,d.children.push({type:"text",value:o}),this.data.mathFlowInside=void 0}function i(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function u(l){const o=this.resume(),f=this.stack[this.stack.length-1];f.type,this.exit(l),f.value=o,f.data.hChildren.push({type:"text",value:o})}function s(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function $3(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
30
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(i,u,s,l){const o=i.value||"",f=s.createTracker(l),d="$".repeat(Math.max(Do(o,"$")+1,2)),g=s.enter("mathFlow");let p=f.move(d);if(i.meta){const T=s.enter("mathFlowMeta");p+=f.move(s.safe(i.meta,{after:`
31
+ `,before:p,encode:["$"],...f.current()})),T()}return p+=f.move(`
32
+ `),o&&(p+=f.move(o+`
33
+ `)),p+=f.move(d),g(),p}function n(i,u,s){let l=i.value||"",o=1;for(t||o++;new RegExp("(^|[^$])"+"\\$".repeat(o)+"([^$]|$)").test(l);)o++;const f="$".repeat(o);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let d=-1;for(;++d<s.unsafe.length;){const g=s.unsafe[d];if(!g.atBreak)continue;const p=s.compilePattern(g);let T;for(;T=p.exec(l);){let v=T.index;l.codePointAt(v)===10&&l.codePointAt(v-1)===13&&v--,l=l.slice(0,v)+" "+l.slice(T.index+1)}}return f+l+f}function a(){return"$"}}function cr(e){return e!==null&&e<-2}function hs(e){return e===-2||e===-1||e===32}function Bn(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return u;function u(l){return hs(l)?(e.enter(r),s(l)):t(l)}function s(l){return hs(l)&&i++<a?(e.consume(l),s):(e.exit(r),t(l))}}const W3={tokenize:j3,concrete:!0,name:"mathFlow"},fs={tokenize:X3,partial:!0};function j3(e,t,r){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let u=0;return s;function s(D){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(D)}function l(D){return D===36?(e.consume(D),u++,l):u<2?r(D):(e.exit("mathFlowFenceSequence"),Bn(e,o,"whitespace")(D))}function o(D){return D===null||cr(D)?d(D):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(D))}function f(D){return D===null||cr(D)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),d(D)):D===36?r(D):(e.consume(D),f)}function d(D){return e.exit("mathFlowFence"),n.interrupt?t(D):e.attempt(fs,g,I)(D)}function g(D){return e.attempt({tokenize:w,partial:!0},I,p)(D)}function p(D){return(i?Bn(e,T,"linePrefix",i+1):T)(D)}function T(D){return D===null?I(D):cr(D)?e.attempt(fs,g,I)(D):(e.enter("mathFlowValue"),v(D))}function v(D){return D===null||cr(D)?(e.exit("mathFlowValue"),T(D)):(e.consume(D),v)}function I(D){return e.exit("mathFlow"),t(D)}function w(D,R,j){let V=0;return Bn(D,O,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function O(G){return D.enter("mathFlowFence"),D.enter("mathFlowFenceSequence"),X(G)}function X(G){return G===36?(V++,D.consume(G),X):V<u?j(G):(D.exit("mathFlowFenceSequence"),Bn(D,re,"whitespace")(G))}function re(G){return G===null||cr(G)?(D.exit("mathFlowFence"),R(G)):j(G)}}}function X3(e,t,r){const n=this;return a;function a(u){return u===null?t(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i)}function i(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}function Q3(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:K3,previous:J3,name:"mathText"};function n(a,i,u){let s=0,l,o;return f;function f(v){return a.enter("mathText"),a.enter("mathTextSequence"),d(v)}function d(v){return v===36?(a.consume(v),s++,d):s<2&&!r?u(v):(a.exit("mathTextSequence"),g(v))}function g(v){return v===null?u(v):v===36?(o=a.enter("mathTextSequence"),l=0,T(v)):v===32?(a.enter("space"),a.consume(v),a.exit("space"),g):cr(v)?(a.enter("lineEnding"),a.consume(v),a.exit("lineEnding"),g):(a.enter("mathTextData"),p(v))}function p(v){return v===null||v===32||v===36||cr(v)?(a.exit("mathTextData"),g(v)):(a.consume(v),p)}function T(v){return v===36?(a.consume(v),l++,T):l===s?(a.exit("mathTextSequence"),a.exit("mathText"),i(v)):(o.type="mathTextData",p(v))}}}function K3(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="mathTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function J3(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Z3(e){return{flow:{36:W3},text:{36:Q3(e)}}}class Je{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new Je(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class ut{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new ut(r,Je.range(this,t))}}class q{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,a,i,u=r&&r.loc;if(u&&u.start<=u.end){var s=u.lexer.input;a=u.start,i=u.end,a===s.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var l=s.slice(a,i).replace(/[^]/g,"$&̲"),o;a>15?o="…"+s.slice(a-15,a):o=s.slice(0,a);var f;i+15<s.length?f=s.slice(i,i+15)+"…":f=s.slice(i),n+=o+l+f}var d=new Error(n);return d.name="ParseError",d.__proto__=q.prototype,d.position=a,a!=null&&i!=null&&(d.length=i-a),d.rawMessage=t,d}}q.prototype.__proto__=Error.prototype;var e6=/([A-Z])/g,Bi=e=>e.replace(e6,"-$1").toLowerCase(),t6={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},r6=/[&><"']/g,Ue=e=>String(e).replace(r6,t=>t6[t]),nn=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?nn(e.body[0]):e:e.type==="font"?nn(e.body):e,n6=new Set(["mathord","textord","atom"]),qt=e=>n6.has(nn(e).type),a6=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},an={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function i6(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Fi{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in an)if(an.hasOwnProperty(r)){var n=an[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:i6(n)}}reportNonstrict(t,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(t,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new q("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var a=this.strict;if(typeof a=="function")try{a=a(t,r,n)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=a6(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class $t{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return yt[u6[this.id]]}sub(){return yt[s6[this.id]]}fracNum(){return yt[l6[this.id]]}fracDen(){return yt[o6[this.id]]}cramp(){return yt[c6[this.id]]}text(){return yt[h6[this.id]]}isTight(){return this.size>=2}}var Hi=0,u0=1,Ir=2,Ft=3,gn=4,ht=5,Dr=6,We=7,yt=[new $t(Hi,0,!1),new $t(u0,0,!0),new $t(Ir,1,!1),new $t(Ft,1,!0),new $t(gn,2,!1),new $t(ht,2,!0),new $t(Dr,3,!1),new $t(We,3,!0)],u6=[gn,ht,gn,ht,Dr,We,Dr,We],s6=[ht,ht,ht,ht,We,We,We,We],l6=[Ir,Ft,gn,ht,Dr,We,Dr,We],o6=[Ft,Ft,ht,ht,We,We,We,We],c6=[u0,u0,Ft,Ft,ht,ht,We,We],h6=[Hi,u0,Ir,Ft,Ir,Ft,Ir,Ft],se={DISPLAY:yt[Hi],TEXT:yt[Ir],SCRIPT:yt[gn],SCRIPTSCRIPT:yt[Dr]},Za=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function f6(e){for(var t=0;t<Za.length;t++)for(var r=Za[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}var Jn=[];Za.forEach(e=>e.blocks.forEach(t=>Jn.push(...t)));function rc(e){for(var t=0;t<Jn.length;t+=2)if(e>=Jn[t]&&e<=Jn[t+1])return!0;return!1}var Ar=80,d6=function(t,r){return"M95,"+(622+t+r)+`
34
+ c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
35
+ c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
36
+ c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
37
+ s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
38
+ c69,-144,104.5,-217.7,106.5,-221
39
+ l`+t/2.075+" -"+t+`
40
+ c5.3,-9.3,12,-14,20,-14
41
+ H400000v`+(40+t)+`H845.2724
42
+ s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
43
+ c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
44
+ M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},m6=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
45
+ c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
46
+ c340,-704.7,510.7,-1060.3,512,-1067
47
+ l`+t/2.084+" -"+t+`
48
+ c4.7,-7.3,11,-11,19,-11
49
+ H40000v`+(40+t)+`H1012.3
50
+ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
51
+ c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
52
+ s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
53
+ c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
54
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},p6=function(t,r){return"M983 "+(10+t+r)+`
55
+ l`+t/3.13+" -"+t+`
56
+ c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
57
+ H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
58
+ s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
59
+ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
60
+ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
61
+ c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
62
+ c53.7,-170.3,84.5,-266.8,92.5,-289.5z
63
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},g6=function(t,r){return"M424,"+(2398+t+r)+`
64
+ c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
65
+ c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
66
+ s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
67
+ s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
68
+ l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
69
+ v`+(40+t)+`H1014.6
70
+ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
71
+ c-2,6,-10,9,-24,9
72
+ c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
73
+ h400000v`+(40+t)+"h-400000z"},b6=function(t,r){return"M473,"+(2713+t+r)+`
74
+ c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
75
+ c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
76
+ s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
77
+ c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
78
+ c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
79
+ s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
80
+ 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},E6=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},T6=function(t,r,n){var a=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
81
+ H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
82
+ h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
83
+ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
84
+ 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},y6=function(t,r,n){r=1e3*r;var a="";switch(t){case"sqrtMain":a=d6(r,Ar);break;case"sqrtSize1":a=m6(r,Ar);break;case"sqrtSize2":a=p6(r,Ar);break;case"sqrtSize3":a=g6(r,Ar);break;case"sqrtSize4":a=b6(r,Ar);break;case"sqrtTall":a=T6(r,Ar,n)}return a},x6=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},ds={doubleleftarrow:`M262 157
85
+ l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
86
+ 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
87
+ 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
88
+ c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
89
+ 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
90
+ -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
91
+ -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
92
+ m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
93
+ -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
94
+ 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
95
+ -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
96
+ -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
97
+ -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
98
+ c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
99
+ -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
100
+ 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
101
+ -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
102
+ c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
103
+ 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
104
+ 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
105
+ l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
106
+ -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
107
+ 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
108
+ 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
109
+ 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
110
+ -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
111
+ H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
112
+ 435 0h399565z`,leftgroupunder:`M400000 262
113
+ H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
114
+ 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
115
+ -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
116
+ -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
117
+ -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
118
+ 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
119
+ -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
120
+ -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
121
+ m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
122
+ 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
123
+ 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
124
+ -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
125
+ 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
126
+ -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
127
+ v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
128
+ -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
129
+ -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
130
+ 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
131
+ M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
132
+ M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
133
+ -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
134
+ c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
135
+ 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
136
+ M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
137
+ c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
138
+ -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
139
+ 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
140
+ 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
141
+ c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
142
+ 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
143
+ 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
144
+ -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
145
+ -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
146
+ m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
147
+ 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
148
+ -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
149
+ m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
150
+ c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
151
+ -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
152
+ m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
153
+ 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
154
+ -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
155
+ m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
156
+ c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
157
+ -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
158
+ 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
159
+ 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
160
+ -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
161
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
162
+ 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
163
+ -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
164
+ s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
165
+ c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
166
+ 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
167
+ -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
168
+ 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
169
+ 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
170
+ -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
171
+ -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
172
+ 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
173
+ -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
174
+ 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
175
+ m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
176
+ 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
177
+ -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
178
+ -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
179
+ 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
180
+ 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
181
+ -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
182
+ m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
183
+ 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
184
+ -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
185
+ 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
186
+ M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
187
+ 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
188
+ -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
189
+ -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
190
+ 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
191
+ -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
192
+ -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
193
+ -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
194
+ 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
195
+ c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
196
+ 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
197
+ 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
198
+ -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
199
+ 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
200
+ -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
201
+ 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
202
+ 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
203
+ -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
204
+ -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
205
+ 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
206
+ c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
207
+ 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
208
+ -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
209
+ 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
210
+ 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
211
+ -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
212
+ -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
213
+ 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
214
+ 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
215
+ -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
216
+ 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
217
+ 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
218
+ -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
219
+ -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
220
+ H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
221
+ c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
222
+ c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
223
+ -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
224
+ -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
225
+ -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
226
+ -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
227
+ -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
228
+ -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
229
+ -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
230
+ c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
231
+ c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
232
+ s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
233
+ 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
234
+ s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
235
+ c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
236
+ M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
237
+ -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
238
+ 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
239
+ -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
240
+ -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
241
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
242
+ 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
243
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
244
+ c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
245
+ c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
246
+ c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
247
+ M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
248
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
249
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
250
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
251
+ M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
252
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
253
+ 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
254
+ -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
255
+ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
256
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
257
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
258
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
259
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},v6=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
260
+ H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
261
+ M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
262
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
263
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
264
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
265
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
266
+ M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
267
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
268
+ c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
269
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
270
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
271
+ M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
272
+ M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
273
+ c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
274
+ -36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
275
+ 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
276
+ c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
277
+ -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
278
+ l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
279
+ -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
280
+ 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
281
+ c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
282
+ c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
283
+ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
284
+ c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
285
+ c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
286
+ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
287
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class An{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var At={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Fn={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},ms={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function nc(e,t){At[e]=t}function zi(e,t,r){if(!At[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=At[t][n];if(!a&&e[0]in ms&&(n=ms[e[0]].charCodeAt(0),a=At[t][n]),!a&&r==="text"&&rc(n)&&(a=At[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var ta={};function A6(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!ta[t]){var r=ta[t]={cssEmPerMu:Fn.quad[t]/18};for(var n in Fn)Fn.hasOwnProperty(n)&&(r[n]=Fn[n][t])}return ta[t]}var S6=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],ps=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],gs=function(t,r){return r.size<2?t:S6[t-1][r.size-1]};class Pt{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||Pt.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=ps[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new Pt(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:gs(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:ps[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=gs(Pt.BASESIZE,t);return this.size===r&&this.textSize===Pt.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Pt.BASESIZE?["sizing","reset-size"+this.size,"size"+Pt.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=A6(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Pt.BASESIZE=6;var ei={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},k6={ex:!0,em:!0,mu:!0},ac=function(t){return typeof t!="string"&&(t=t.unit),t in ei||t in k6||t==="ex"},Ce=function(t,r){var n;if(t.unit in ei)n=ei[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,t.unit==="ex")n=a.fontMetrics().xHeight;else if(t.unit==="em")n=a.fontMetrics().quad;else throw new q("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},W=function(t){return+t.toFixed(4)+"em"},Jt=function(t){return t.filter(r=>r).join(" ")},ic=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var a=r.getColor();a&&(this.style.color=a)}},uc=function(t){var r=document.createElement(t);r.className=Jt(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&r.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},w6=/[\s"'>/=\x00-\x1f]/,sc=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+Ue(Jt(this.classes))+'"');var n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Bi(a)+":"+this.style[a]+";");n&&(r+=' style="'+Ue(n)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(w6.test(i))throw new q("Invalid attribute name '"+i+"'");r+=" "+i+'="'+Ue(this.attributes[i])+'"'}r+=">";for(var u=0;u<this.children.length;u++)r+=this.children[u].toMarkup();return r+="</"+t+">",r};class Sn{constructor(t,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ic.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return uc.call(this,"span")}toMarkup(){return sc.call(this,"span")}}class Ui{constructor(t,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ic.call(this,r,a),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return uc.call(this,"a")}toMarkup(){return sc.call(this,"a")}}class C6{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+Ue(this.src)+'"'+(' alt="'+Ue(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=Bi(n)+":"+this.style[n]+";");return r&&(t+=' style="'+Ue(r)+'"'),t+="'/>",t}}var I6={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class ft{constructor(t,r,n,a,i,u,s,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=a||0,this.skew=i||0,this.width=u||0,this.classes=s||[],this.style=l||{},this.maxFontSize=0;var o=f6(this.text.charCodeAt(0));o&&this.classes.push(o+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=I6[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=W(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Jt(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=Ue(Jt(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Bi(a)+":"+this.style[a]+";");n&&(t=!0,r+=' style="'+Ue(n)+'"');var i=Ue(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class Ht{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+Ue(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class Zt{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",ds[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+Ue(this.alternate)+'"/>':'<path d="'+Ue(ds[this.pathName])+'"/>'}}class ti{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+Ue(this.attributes[r])+'"');return t+="/>",t}}function bs(e){if(e instanceof ft)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function _6(e){if(e instanceof Sn)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var N6={bin:1,close:1,inner:1,open:1,punct:1,rel:1},D6={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ae={math:{},text:{}};function h(e,t,r,n,a,i){Ae[e][a]={font:t,group:r,replace:n},i&&n&&(Ae[e][n]=Ae[e][a])}var m="math",F="text",b="main",A="ams",ke="accent-token",te="bin",je="close",Fr="inner",ae="mathord",Pe="op-token",st="open",y0="punct",S="rel",Yt="spacing",N="textord";h(m,b,S,"≡","\\equiv",!0);h(m,b,S,"≺","\\prec",!0);h(m,b,S,"≻","\\succ",!0);h(m,b,S,"∼","\\sim",!0);h(m,b,S,"⊥","\\perp");h(m,b,S,"⪯","\\preceq",!0);h(m,b,S,"⪰","\\succeq",!0);h(m,b,S,"≃","\\simeq",!0);h(m,b,S,"∣","\\mid",!0);h(m,b,S,"≪","\\ll",!0);h(m,b,S,"≫","\\gg",!0);h(m,b,S,"≍","\\asymp",!0);h(m,b,S,"∥","\\parallel");h(m,b,S,"⋈","\\bowtie",!0);h(m,b,S,"⌣","\\smile",!0);h(m,b,S,"⊑","\\sqsubseteq",!0);h(m,b,S,"⊒","\\sqsupseteq",!0);h(m,b,S,"≐","\\doteq",!0);h(m,b,S,"⌢","\\frown",!0);h(m,b,S,"∋","\\ni",!0);h(m,b,S,"∝","\\propto",!0);h(m,b,S,"⊢","\\vdash",!0);h(m,b,S,"⊣","\\dashv",!0);h(m,b,S,"∋","\\owns");h(m,b,y0,".","\\ldotp");h(m,b,y0,"⋅","\\cdotp");h(m,b,N,"#","\\#");h(F,b,N,"#","\\#");h(m,b,N,"&","\\&");h(F,b,N,"&","\\&");h(m,b,N,"ℵ","\\aleph",!0);h(m,b,N,"∀","\\forall",!0);h(m,b,N,"ℏ","\\hbar",!0);h(m,b,N,"∃","\\exists",!0);h(m,b,N,"∇","\\nabla",!0);h(m,b,N,"♭","\\flat",!0);h(m,b,N,"ℓ","\\ell",!0);h(m,b,N,"♮","\\natural",!0);h(m,b,N,"♣","\\clubsuit",!0);h(m,b,N,"℘","\\wp",!0);h(m,b,N,"♯","\\sharp",!0);h(m,b,N,"♢","\\diamondsuit",!0);h(m,b,N,"ℜ","\\Re",!0);h(m,b,N,"♡","\\heartsuit",!0);h(m,b,N,"ℑ","\\Im",!0);h(m,b,N,"♠","\\spadesuit",!0);h(m,b,N,"§","\\S",!0);h(F,b,N,"§","\\S");h(m,b,N,"¶","\\P",!0);h(F,b,N,"¶","\\P");h(m,b,N,"†","\\dag");h(F,b,N,"†","\\dag");h(F,b,N,"†","\\textdagger");h(m,b,N,"‡","\\ddag");h(F,b,N,"‡","\\ddag");h(F,b,N,"‡","\\textdaggerdbl");h(m,b,je,"⎱","\\rmoustache",!0);h(m,b,st,"⎰","\\lmoustache",!0);h(m,b,je,"⟯","\\rgroup",!0);h(m,b,st,"⟮","\\lgroup",!0);h(m,b,te,"∓","\\mp",!0);h(m,b,te,"⊖","\\ominus",!0);h(m,b,te,"⊎","\\uplus",!0);h(m,b,te,"⊓","\\sqcap",!0);h(m,b,te,"∗","\\ast");h(m,b,te,"⊔","\\sqcup",!0);h(m,b,te,"◯","\\bigcirc",!0);h(m,b,te,"∙","\\bullet",!0);h(m,b,te,"‡","\\ddagger");h(m,b,te,"≀","\\wr",!0);h(m,b,te,"⨿","\\amalg");h(m,b,te,"&","\\And");h(m,b,S,"⟵","\\longleftarrow",!0);h(m,b,S,"⇐","\\Leftarrow",!0);h(m,b,S,"⟸","\\Longleftarrow",!0);h(m,b,S,"⟶","\\longrightarrow",!0);h(m,b,S,"⇒","\\Rightarrow",!0);h(m,b,S,"⟹","\\Longrightarrow",!0);h(m,b,S,"↔","\\leftrightarrow",!0);h(m,b,S,"⟷","\\longleftrightarrow",!0);h(m,b,S,"⇔","\\Leftrightarrow",!0);h(m,b,S,"⟺","\\Longleftrightarrow",!0);h(m,b,S,"↦","\\mapsto",!0);h(m,b,S,"⟼","\\longmapsto",!0);h(m,b,S,"↗","\\nearrow",!0);h(m,b,S,"↩","\\hookleftarrow",!0);h(m,b,S,"↪","\\hookrightarrow",!0);h(m,b,S,"↘","\\searrow",!0);h(m,b,S,"↼","\\leftharpoonup",!0);h(m,b,S,"⇀","\\rightharpoonup",!0);h(m,b,S,"↙","\\swarrow",!0);h(m,b,S,"↽","\\leftharpoondown",!0);h(m,b,S,"⇁","\\rightharpoondown",!0);h(m,b,S,"↖","\\nwarrow",!0);h(m,b,S,"⇌","\\rightleftharpoons",!0);h(m,A,S,"≮","\\nless",!0);h(m,A,S,"","\\@nleqslant");h(m,A,S,"","\\@nleqq");h(m,A,S,"⪇","\\lneq",!0);h(m,A,S,"≨","\\lneqq",!0);h(m,A,S,"","\\@lvertneqq");h(m,A,S,"⋦","\\lnsim",!0);h(m,A,S,"⪉","\\lnapprox",!0);h(m,A,S,"⊀","\\nprec",!0);h(m,A,S,"⋠","\\npreceq",!0);h(m,A,S,"⋨","\\precnsim",!0);h(m,A,S,"⪹","\\precnapprox",!0);h(m,A,S,"≁","\\nsim",!0);h(m,A,S,"","\\@nshortmid");h(m,A,S,"∤","\\nmid",!0);h(m,A,S,"⊬","\\nvdash",!0);h(m,A,S,"⊭","\\nvDash",!0);h(m,A,S,"⋪","\\ntriangleleft");h(m,A,S,"⋬","\\ntrianglelefteq",!0);h(m,A,S,"⊊","\\subsetneq",!0);h(m,A,S,"","\\@varsubsetneq");h(m,A,S,"⫋","\\subsetneqq",!0);h(m,A,S,"","\\@varsubsetneqq");h(m,A,S,"≯","\\ngtr",!0);h(m,A,S,"","\\@ngeqslant");h(m,A,S,"","\\@ngeqq");h(m,A,S,"⪈","\\gneq",!0);h(m,A,S,"≩","\\gneqq",!0);h(m,A,S,"","\\@gvertneqq");h(m,A,S,"⋧","\\gnsim",!0);h(m,A,S,"⪊","\\gnapprox",!0);h(m,A,S,"⊁","\\nsucc",!0);h(m,A,S,"⋡","\\nsucceq",!0);h(m,A,S,"⋩","\\succnsim",!0);h(m,A,S,"⪺","\\succnapprox",!0);h(m,A,S,"≆","\\ncong",!0);h(m,A,S,"","\\@nshortparallel");h(m,A,S,"∦","\\nparallel",!0);h(m,A,S,"⊯","\\nVDash",!0);h(m,A,S,"⋫","\\ntriangleright");h(m,A,S,"⋭","\\ntrianglerighteq",!0);h(m,A,S,"","\\@nsupseteqq");h(m,A,S,"⊋","\\supsetneq",!0);h(m,A,S,"","\\@varsupsetneq");h(m,A,S,"⫌","\\supsetneqq",!0);h(m,A,S,"","\\@varsupsetneqq");h(m,A,S,"⊮","\\nVdash",!0);h(m,A,S,"⪵","\\precneqq",!0);h(m,A,S,"⪶","\\succneqq",!0);h(m,A,S,"","\\@nsubseteqq");h(m,A,te,"⊴","\\unlhd");h(m,A,te,"⊵","\\unrhd");h(m,A,S,"↚","\\nleftarrow",!0);h(m,A,S,"↛","\\nrightarrow",!0);h(m,A,S,"⇍","\\nLeftarrow",!0);h(m,A,S,"⇏","\\nRightarrow",!0);h(m,A,S,"↮","\\nleftrightarrow",!0);h(m,A,S,"⇎","\\nLeftrightarrow",!0);h(m,A,S,"△","\\vartriangle");h(m,A,N,"ℏ","\\hslash");h(m,A,N,"▽","\\triangledown");h(m,A,N,"◊","\\lozenge");h(m,A,N,"Ⓢ","\\circledS");h(m,A,N,"®","\\circledR");h(F,A,N,"®","\\circledR");h(m,A,N,"∡","\\measuredangle",!0);h(m,A,N,"∄","\\nexists");h(m,A,N,"℧","\\mho");h(m,A,N,"Ⅎ","\\Finv",!0);h(m,A,N,"⅁","\\Game",!0);h(m,A,N,"‵","\\backprime");h(m,A,N,"▲","\\blacktriangle");h(m,A,N,"▼","\\blacktriangledown");h(m,A,N,"■","\\blacksquare");h(m,A,N,"⧫","\\blacklozenge");h(m,A,N,"★","\\bigstar");h(m,A,N,"∢","\\sphericalangle",!0);h(m,A,N,"∁","\\complement",!0);h(m,A,N,"ð","\\eth",!0);h(F,b,N,"ð","ð");h(m,A,N,"╱","\\diagup");h(m,A,N,"╲","\\diagdown");h(m,A,N,"□","\\square");h(m,A,N,"□","\\Box");h(m,A,N,"◊","\\Diamond");h(m,A,N,"¥","\\yen",!0);h(F,A,N,"¥","\\yen",!0);h(m,A,N,"✓","\\checkmark",!0);h(F,A,N,"✓","\\checkmark");h(m,A,N,"ℶ","\\beth",!0);h(m,A,N,"ℸ","\\daleth",!0);h(m,A,N,"ℷ","\\gimel",!0);h(m,A,N,"ϝ","\\digamma",!0);h(m,A,N,"ϰ","\\varkappa");h(m,A,st,"┌","\\@ulcorner",!0);h(m,A,je,"┐","\\@urcorner",!0);h(m,A,st,"└","\\@llcorner",!0);h(m,A,je,"┘","\\@lrcorner",!0);h(m,A,S,"≦","\\leqq",!0);h(m,A,S,"⩽","\\leqslant",!0);h(m,A,S,"⪕","\\eqslantless",!0);h(m,A,S,"≲","\\lesssim",!0);h(m,A,S,"⪅","\\lessapprox",!0);h(m,A,S,"≊","\\approxeq",!0);h(m,A,te,"⋖","\\lessdot");h(m,A,S,"⋘","\\lll",!0);h(m,A,S,"≶","\\lessgtr",!0);h(m,A,S,"⋚","\\lesseqgtr",!0);h(m,A,S,"⪋","\\lesseqqgtr",!0);h(m,A,S,"≑","\\doteqdot");h(m,A,S,"≓","\\risingdotseq",!0);h(m,A,S,"≒","\\fallingdotseq",!0);h(m,A,S,"∽","\\backsim",!0);h(m,A,S,"⋍","\\backsimeq",!0);h(m,A,S,"⫅","\\subseteqq",!0);h(m,A,S,"⋐","\\Subset",!0);h(m,A,S,"⊏","\\sqsubset",!0);h(m,A,S,"≼","\\preccurlyeq",!0);h(m,A,S,"⋞","\\curlyeqprec",!0);h(m,A,S,"≾","\\precsim",!0);h(m,A,S,"⪷","\\precapprox",!0);h(m,A,S,"⊲","\\vartriangleleft");h(m,A,S,"⊴","\\trianglelefteq");h(m,A,S,"⊨","\\vDash",!0);h(m,A,S,"⊪","\\Vvdash",!0);h(m,A,S,"⌣","\\smallsmile");h(m,A,S,"⌢","\\smallfrown");h(m,A,S,"≏","\\bumpeq",!0);h(m,A,S,"≎","\\Bumpeq",!0);h(m,A,S,"≧","\\geqq",!0);h(m,A,S,"⩾","\\geqslant",!0);h(m,A,S,"⪖","\\eqslantgtr",!0);h(m,A,S,"≳","\\gtrsim",!0);h(m,A,S,"⪆","\\gtrapprox",!0);h(m,A,te,"⋗","\\gtrdot");h(m,A,S,"⋙","\\ggg",!0);h(m,A,S,"≷","\\gtrless",!0);h(m,A,S,"⋛","\\gtreqless",!0);h(m,A,S,"⪌","\\gtreqqless",!0);h(m,A,S,"≖","\\eqcirc",!0);h(m,A,S,"≗","\\circeq",!0);h(m,A,S,"≜","\\triangleq",!0);h(m,A,S,"∼","\\thicksim");h(m,A,S,"≈","\\thickapprox");h(m,A,S,"⫆","\\supseteqq",!0);h(m,A,S,"⋑","\\Supset",!0);h(m,A,S,"⊐","\\sqsupset",!0);h(m,A,S,"≽","\\succcurlyeq",!0);h(m,A,S,"⋟","\\curlyeqsucc",!0);h(m,A,S,"≿","\\succsim",!0);h(m,A,S,"⪸","\\succapprox",!0);h(m,A,S,"⊳","\\vartriangleright");h(m,A,S,"⊵","\\trianglerighteq");h(m,A,S,"⊩","\\Vdash",!0);h(m,A,S,"∣","\\shortmid");h(m,A,S,"∥","\\shortparallel");h(m,A,S,"≬","\\between",!0);h(m,A,S,"⋔","\\pitchfork",!0);h(m,A,S,"∝","\\varpropto");h(m,A,S,"◀","\\blacktriangleleft");h(m,A,S,"∴","\\therefore",!0);h(m,A,S,"∍","\\backepsilon");h(m,A,S,"▶","\\blacktriangleright");h(m,A,S,"∵","\\because",!0);h(m,A,S,"⋘","\\llless");h(m,A,S,"⋙","\\gggtr");h(m,A,te,"⊲","\\lhd");h(m,A,te,"⊳","\\rhd");h(m,A,S,"≂","\\eqsim",!0);h(m,b,S,"⋈","\\Join");h(m,A,S,"≑","\\Doteq",!0);h(m,A,te,"∔","\\dotplus",!0);h(m,A,te,"∖","\\smallsetminus");h(m,A,te,"⋒","\\Cap",!0);h(m,A,te,"⋓","\\Cup",!0);h(m,A,te,"⩞","\\doublebarwedge",!0);h(m,A,te,"⊟","\\boxminus",!0);h(m,A,te,"⊞","\\boxplus",!0);h(m,A,te,"⋇","\\divideontimes",!0);h(m,A,te,"⋉","\\ltimes",!0);h(m,A,te,"⋊","\\rtimes",!0);h(m,A,te,"⋋","\\leftthreetimes",!0);h(m,A,te,"⋌","\\rightthreetimes",!0);h(m,A,te,"⋏","\\curlywedge",!0);h(m,A,te,"⋎","\\curlyvee",!0);h(m,A,te,"⊝","\\circleddash",!0);h(m,A,te,"⊛","\\circledast",!0);h(m,A,te,"⋅","\\centerdot");h(m,A,te,"⊺","\\intercal",!0);h(m,A,te,"⋒","\\doublecap");h(m,A,te,"⋓","\\doublecup");h(m,A,te,"⊠","\\boxtimes",!0);h(m,A,S,"⇢","\\dashrightarrow",!0);h(m,A,S,"⇠","\\dashleftarrow",!0);h(m,A,S,"⇇","\\leftleftarrows",!0);h(m,A,S,"⇆","\\leftrightarrows",!0);h(m,A,S,"⇚","\\Lleftarrow",!0);h(m,A,S,"↞","\\twoheadleftarrow",!0);h(m,A,S,"↢","\\leftarrowtail",!0);h(m,A,S,"↫","\\looparrowleft",!0);h(m,A,S,"⇋","\\leftrightharpoons",!0);h(m,A,S,"↶","\\curvearrowleft",!0);h(m,A,S,"↺","\\circlearrowleft",!0);h(m,A,S,"↰","\\Lsh",!0);h(m,A,S,"⇈","\\upuparrows",!0);h(m,A,S,"↿","\\upharpoonleft",!0);h(m,A,S,"⇃","\\downharpoonleft",!0);h(m,b,S,"⊶","\\origof",!0);h(m,b,S,"⊷","\\imageof",!0);h(m,A,S,"⊸","\\multimap",!0);h(m,A,S,"↭","\\leftrightsquigarrow",!0);h(m,A,S,"⇉","\\rightrightarrows",!0);h(m,A,S,"⇄","\\rightleftarrows",!0);h(m,A,S,"↠","\\twoheadrightarrow",!0);h(m,A,S,"↣","\\rightarrowtail",!0);h(m,A,S,"↬","\\looparrowright",!0);h(m,A,S,"↷","\\curvearrowright",!0);h(m,A,S,"↻","\\circlearrowright",!0);h(m,A,S,"↱","\\Rsh",!0);h(m,A,S,"⇊","\\downdownarrows",!0);h(m,A,S,"↾","\\upharpoonright",!0);h(m,A,S,"⇂","\\downharpoonright",!0);h(m,A,S,"⇝","\\rightsquigarrow",!0);h(m,A,S,"⇝","\\leadsto");h(m,A,S,"⇛","\\Rrightarrow",!0);h(m,A,S,"↾","\\restriction");h(m,b,N,"‘","`");h(m,b,N,"$","\\$");h(F,b,N,"$","\\$");h(F,b,N,"$","\\textdollar");h(m,b,N,"%","\\%");h(F,b,N,"%","\\%");h(m,b,N,"_","\\_");h(F,b,N,"_","\\_");h(F,b,N,"_","\\textunderscore");h(m,b,N,"∠","\\angle",!0);h(m,b,N,"∞","\\infty",!0);h(m,b,N,"′","\\prime");h(m,b,N,"△","\\triangle");h(m,b,N,"Γ","\\Gamma",!0);h(m,b,N,"Δ","\\Delta",!0);h(m,b,N,"Θ","\\Theta",!0);h(m,b,N,"Λ","\\Lambda",!0);h(m,b,N,"Ξ","\\Xi",!0);h(m,b,N,"Π","\\Pi",!0);h(m,b,N,"Σ","\\Sigma",!0);h(m,b,N,"Υ","\\Upsilon",!0);h(m,b,N,"Φ","\\Phi",!0);h(m,b,N,"Ψ","\\Psi",!0);h(m,b,N,"Ω","\\Omega",!0);h(m,b,N,"A","Α");h(m,b,N,"B","Β");h(m,b,N,"E","Ε");h(m,b,N,"Z","Ζ");h(m,b,N,"H","Η");h(m,b,N,"I","Ι");h(m,b,N,"K","Κ");h(m,b,N,"M","Μ");h(m,b,N,"N","Ν");h(m,b,N,"O","Ο");h(m,b,N,"P","Ρ");h(m,b,N,"T","Τ");h(m,b,N,"X","Χ");h(m,b,N,"¬","\\neg",!0);h(m,b,N,"¬","\\lnot");h(m,b,N,"⊤","\\top");h(m,b,N,"⊥","\\bot");h(m,b,N,"∅","\\emptyset");h(m,A,N,"∅","\\varnothing");h(m,b,ae,"α","\\alpha",!0);h(m,b,ae,"β","\\beta",!0);h(m,b,ae,"γ","\\gamma",!0);h(m,b,ae,"δ","\\delta",!0);h(m,b,ae,"ϵ","\\epsilon",!0);h(m,b,ae,"ζ","\\zeta",!0);h(m,b,ae,"η","\\eta",!0);h(m,b,ae,"θ","\\theta",!0);h(m,b,ae,"ι","\\iota",!0);h(m,b,ae,"κ","\\kappa",!0);h(m,b,ae,"λ","\\lambda",!0);h(m,b,ae,"μ","\\mu",!0);h(m,b,ae,"ν","\\nu",!0);h(m,b,ae,"ξ","\\xi",!0);h(m,b,ae,"ο","\\omicron",!0);h(m,b,ae,"π","\\pi",!0);h(m,b,ae,"ρ","\\rho",!0);h(m,b,ae,"σ","\\sigma",!0);h(m,b,ae,"τ","\\tau",!0);h(m,b,ae,"υ","\\upsilon",!0);h(m,b,ae,"ϕ","\\phi",!0);h(m,b,ae,"χ","\\chi",!0);h(m,b,ae,"ψ","\\psi",!0);h(m,b,ae,"ω","\\omega",!0);h(m,b,ae,"ε","\\varepsilon",!0);h(m,b,ae,"ϑ","\\vartheta",!0);h(m,b,ae,"ϖ","\\varpi",!0);h(m,b,ae,"ϱ","\\varrho",!0);h(m,b,ae,"ς","\\varsigma",!0);h(m,b,ae,"φ","\\varphi",!0);h(m,b,te,"∗","*",!0);h(m,b,te,"+","+");h(m,b,te,"−","-",!0);h(m,b,te,"⋅","\\cdot",!0);h(m,b,te,"∘","\\circ",!0);h(m,b,te,"÷","\\div",!0);h(m,b,te,"±","\\pm",!0);h(m,b,te,"×","\\times",!0);h(m,b,te,"∩","\\cap",!0);h(m,b,te,"∪","\\cup",!0);h(m,b,te,"∖","\\setminus",!0);h(m,b,te,"∧","\\land");h(m,b,te,"∨","\\lor");h(m,b,te,"∧","\\wedge",!0);h(m,b,te,"∨","\\vee",!0);h(m,b,N,"√","\\surd");h(m,b,st,"⟨","\\langle",!0);h(m,b,st,"∣","\\lvert");h(m,b,st,"∥","\\lVert");h(m,b,je,"?","?");h(m,b,je,"!","!");h(m,b,je,"⟩","\\rangle",!0);h(m,b,je,"∣","\\rvert");h(m,b,je,"∥","\\rVert");h(m,b,S,"=","=");h(m,b,S,":",":");h(m,b,S,"≈","\\approx",!0);h(m,b,S,"≅","\\cong",!0);h(m,b,S,"≥","\\ge");h(m,b,S,"≥","\\geq",!0);h(m,b,S,"←","\\gets");h(m,b,S,">","\\gt",!0);h(m,b,S,"∈","\\in",!0);h(m,b,S,"","\\@not");h(m,b,S,"⊂","\\subset",!0);h(m,b,S,"⊃","\\supset",!0);h(m,b,S,"⊆","\\subseteq",!0);h(m,b,S,"⊇","\\supseteq",!0);h(m,A,S,"⊈","\\nsubseteq",!0);h(m,A,S,"⊉","\\nsupseteq",!0);h(m,b,S,"⊨","\\models");h(m,b,S,"←","\\leftarrow",!0);h(m,b,S,"≤","\\le");h(m,b,S,"≤","\\leq",!0);h(m,b,S,"<","\\lt",!0);h(m,b,S,"→","\\rightarrow",!0);h(m,b,S,"→","\\to");h(m,A,S,"≱","\\ngeq",!0);h(m,A,S,"≰","\\nleq",!0);h(m,b,Yt," ","\\ ");h(m,b,Yt," ","\\space");h(m,b,Yt," ","\\nobreakspace");h(F,b,Yt," ","\\ ");h(F,b,Yt," "," ");h(F,b,Yt," ","\\space");h(F,b,Yt," ","\\nobreakspace");h(m,b,Yt,null,"\\nobreak");h(m,b,Yt,null,"\\allowbreak");h(m,b,y0,",",",");h(m,b,y0,";",";");h(m,A,te,"⊼","\\barwedge",!0);h(m,A,te,"⊻","\\veebar",!0);h(m,b,te,"⊙","\\odot",!0);h(m,b,te,"⊕","\\oplus",!0);h(m,b,te,"⊗","\\otimes",!0);h(m,b,N,"∂","\\partial",!0);h(m,b,te,"⊘","\\oslash",!0);h(m,A,te,"⊚","\\circledcirc",!0);h(m,A,te,"⊡","\\boxdot",!0);h(m,b,te,"△","\\bigtriangleup");h(m,b,te,"▽","\\bigtriangledown");h(m,b,te,"†","\\dagger");h(m,b,te,"⋄","\\diamond");h(m,b,te,"⋆","\\star");h(m,b,te,"◃","\\triangleleft");h(m,b,te,"▹","\\triangleright");h(m,b,st,"{","\\{");h(F,b,N,"{","\\{");h(F,b,N,"{","\\textbraceleft");h(m,b,je,"}","\\}");h(F,b,N,"}","\\}");h(F,b,N,"}","\\textbraceright");h(m,b,st,"{","\\lbrace");h(m,b,je,"}","\\rbrace");h(m,b,st,"[","\\lbrack",!0);h(F,b,N,"[","\\lbrack",!0);h(m,b,je,"]","\\rbrack",!0);h(F,b,N,"]","\\rbrack",!0);h(m,b,st,"(","\\lparen",!0);h(m,b,je,")","\\rparen",!0);h(F,b,N,"<","\\textless",!0);h(F,b,N,">","\\textgreater",!0);h(m,b,st,"⌊","\\lfloor",!0);h(m,b,je,"⌋","\\rfloor",!0);h(m,b,st,"⌈","\\lceil",!0);h(m,b,je,"⌉","\\rceil",!0);h(m,b,N,"\\","\\backslash");h(m,b,N,"∣","|");h(m,b,N,"∣","\\vert");h(F,b,N,"|","\\textbar",!0);h(m,b,N,"∥","\\|");h(m,b,N,"∥","\\Vert");h(F,b,N,"∥","\\textbardbl");h(F,b,N,"~","\\textasciitilde");h(F,b,N,"\\","\\textbackslash");h(F,b,N,"^","\\textasciicircum");h(m,b,S,"↑","\\uparrow",!0);h(m,b,S,"⇑","\\Uparrow",!0);h(m,b,S,"↓","\\downarrow",!0);h(m,b,S,"⇓","\\Downarrow",!0);h(m,b,S,"↕","\\updownarrow",!0);h(m,b,S,"⇕","\\Updownarrow",!0);h(m,b,Pe,"∐","\\coprod");h(m,b,Pe,"⋁","\\bigvee");h(m,b,Pe,"⋀","\\bigwedge");h(m,b,Pe,"⨄","\\biguplus");h(m,b,Pe,"⋂","\\bigcap");h(m,b,Pe,"⋃","\\bigcup");h(m,b,Pe,"∫","\\int");h(m,b,Pe,"∫","\\intop");h(m,b,Pe,"∬","\\iint");h(m,b,Pe,"∭","\\iiint");h(m,b,Pe,"∏","\\prod");h(m,b,Pe,"∑","\\sum");h(m,b,Pe,"⨂","\\bigotimes");h(m,b,Pe,"⨁","\\bigoplus");h(m,b,Pe,"⨀","\\bigodot");h(m,b,Pe,"∮","\\oint");h(m,b,Pe,"∯","\\oiint");h(m,b,Pe,"∰","\\oiiint");h(m,b,Pe,"⨆","\\bigsqcup");h(m,b,Pe,"∫","\\smallint");h(F,b,Fr,"…","\\textellipsis");h(m,b,Fr,"…","\\mathellipsis");h(F,b,Fr,"…","\\ldots",!0);h(m,b,Fr,"…","\\ldots",!0);h(m,b,Fr,"⋯","\\@cdots",!0);h(m,b,Fr,"⋱","\\ddots",!0);h(m,b,N,"⋮","\\varvdots");h(F,b,N,"⋮","\\varvdots");h(m,b,ke,"ˊ","\\acute");h(m,b,ke,"ˋ","\\grave");h(m,b,ke,"¨","\\ddot");h(m,b,ke,"~","\\tilde");h(m,b,ke,"ˉ","\\bar");h(m,b,ke,"˘","\\breve");h(m,b,ke,"ˇ","\\check");h(m,b,ke,"^","\\hat");h(m,b,ke,"⃗","\\vec");h(m,b,ke,"˙","\\dot");h(m,b,ke,"˚","\\mathring");h(m,b,ae,"","\\@imath");h(m,b,ae,"","\\@jmath");h(m,b,N,"ı","ı");h(m,b,N,"ȷ","ȷ");h(F,b,N,"ı","\\i",!0);h(F,b,N,"ȷ","\\j",!0);h(F,b,N,"ß","\\ss",!0);h(F,b,N,"æ","\\ae",!0);h(F,b,N,"œ","\\oe",!0);h(F,b,N,"ø","\\o",!0);h(F,b,N,"Æ","\\AE",!0);h(F,b,N,"Œ","\\OE",!0);h(F,b,N,"Ø","\\O",!0);h(F,b,ke,"ˊ","\\'");h(F,b,ke,"ˋ","\\`");h(F,b,ke,"ˆ","\\^");h(F,b,ke,"˜","\\~");h(F,b,ke,"ˉ","\\=");h(F,b,ke,"˘","\\u");h(F,b,ke,"˙","\\.");h(F,b,ke,"¸","\\c");h(F,b,ke,"˚","\\r");h(F,b,ke,"ˇ","\\v");h(F,b,ke,"¨",'\\"');h(F,b,ke,"˝","\\H");h(F,b,ke,"◯","\\textcircled");var lc={"--":!0,"---":!0,"``":!0,"''":!0};h(F,b,N,"–","--",!0);h(F,b,N,"–","\\textendash");h(F,b,N,"—","---",!0);h(F,b,N,"—","\\textemdash");h(F,b,N,"‘","`",!0);h(F,b,N,"‘","\\textquoteleft");h(F,b,N,"’","'",!0);h(F,b,N,"’","\\textquoteright");h(F,b,N,"“","``",!0);h(F,b,N,"“","\\textquotedblleft");h(F,b,N,"”","''",!0);h(F,b,N,"”","\\textquotedblright");h(m,b,N,"°","\\degree",!0);h(F,b,N,"°","\\degree");h(F,b,N,"°","\\textdegree",!0);h(m,b,N,"£","\\pounds");h(m,b,N,"£","\\mathsterling",!0);h(F,b,N,"£","\\pounds");h(F,b,N,"£","\\textsterling",!0);h(m,A,N,"✠","\\maltese");h(F,A,N,"✠","\\maltese");var Es='0123456789/@."';for(var ra=0;ra<Es.length;ra++){var Ts=Es.charAt(ra);h(m,b,N,Ts,Ts)}var ys='0123456789!@*()-=+";:?/.,';for(var na=0;na<ys.length;na++){var xs=ys.charAt(na);h(F,b,N,xs,xs)}var s0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var aa=0;aa<s0.length;aa++){var Hn=s0.charAt(aa);h(m,b,ae,Hn,Hn),h(F,b,N,Hn,Hn)}h(m,A,N,"C","ℂ");h(F,A,N,"C","ℂ");h(m,A,N,"H","ℍ");h(F,A,N,"H","ℍ");h(m,A,N,"N","ℕ");h(F,A,N,"N","ℕ");h(m,A,N,"P","ℙ");h(F,A,N,"P","ℙ");h(m,A,N,"Q","ℚ");h(F,A,N,"Q","ℚ");h(m,A,N,"R","ℝ");h(F,A,N,"R","ℝ");h(m,A,N,"Z","ℤ");h(F,A,N,"Z","ℤ");h(m,b,ae,"h","ℎ");h(F,b,ae,"h","ℎ");var ie="";for(var Ge=0;Ge<s0.length;Ge++){var _e=s0.charAt(Ge);ie=String.fromCharCode(55349,56320+Ge),h(m,b,ae,_e,ie),h(F,b,N,_e,ie),ie=String.fromCharCode(55349,56372+Ge),h(m,b,ae,_e,ie),h(F,b,N,_e,ie),ie=String.fromCharCode(55349,56424+Ge),h(m,b,ae,_e,ie),h(F,b,N,_e,ie),ie=String.fromCharCode(55349,56580+Ge),h(m,b,ae,_e,ie),h(F,b,N,_e,ie),ie=String.fromCharCode(55349,56684+Ge),h(m,b,ae,_e,ie),h(F,b,N,_e,ie),ie=String.fromCharCode(55349,56736+Ge),h(m,b,ae,_e,ie),h(F,b,N,_e,ie),ie=String.fromCharCode(55349,56788+Ge),h(m,b,ae,_e,ie),h(F,b,N,_e,ie),ie=String.fromCharCode(55349,56840+Ge),h(m,b,ae,_e,ie),h(F,b,N,_e,ie),ie=String.fromCharCode(55349,56944+Ge),h(m,b,ae,_e,ie),h(F,b,N,_e,ie),Ge<26&&(ie=String.fromCharCode(55349,56632+Ge),h(m,b,ae,_e,ie),h(F,b,N,_e,ie),ie=String.fromCharCode(55349,56476+Ge),h(m,b,ae,_e,ie),h(F,b,N,_e,ie))}ie="𝕜";h(m,b,ae,"k",ie);h(F,b,N,"k",ie);for(var sr=0;sr<10;sr++){var Wt=sr.toString();ie=String.fromCharCode(55349,57294+sr),h(m,b,ae,Wt,ie),h(F,b,N,Wt,ie),ie=String.fromCharCode(55349,57314+sr),h(m,b,ae,Wt,ie),h(F,b,N,Wt,ie),ie=String.fromCharCode(55349,57324+sr),h(m,b,ae,Wt,ie),h(F,b,N,Wt,ie),ie=String.fromCharCode(55349,57334+sr),h(m,b,ae,Wt,ie),h(F,b,N,Wt,ie)}var ri="ÐÞþ";for(var ia=0;ia<ri.length;ia++){var zn=ri.charAt(ia);h(m,b,ae,zn,zn),h(F,b,N,zn,zn)}var Un=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],vs=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],O6=function(t,r){var n=t.charCodeAt(0),a=t.charCodeAt(1),i=(n-55296)*1024+(a-56320)+65536,u=r==="math"?0:1;if(119808<=i&&i<120484){var s=Math.floor((i-119808)/26);return[Un[s][2],Un[s][u]]}else if(120782<=i&&i<=120831){var l=Math.floor((i-120782)/10);return[vs[l][2],vs[l][u]]}else{if(i===120485||i===120486)return[Un[0][2],Un[0][u]];if(120486<i&&i<120782)return["",""];throw new q("Unsupported character: "+t)}},x0=function(t,r,n){return Ae[n][t]&&Ae[n][t].replace&&(t=Ae[n][t].replace),{value:t,metrics:zi(t,r,n)}},$e=function(t,r,n,a,i){var u=x0(t,r,n),s=u.metrics;t=u.value;var l;if(s){var o=s.italic;(n==="text"||a&&a.font==="mathit")&&(o=0),l=new ft(t,s.height,s.depth,o,s.skew,s.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),l=new ft(t,0,0,0,0,0,i);if(a){l.maxFontSize=a.sizeMultiplier,a.style.isTight()&&l.classes.push("mtight");var f=a.getColor();f&&(l.style.color=f)}return l},qi=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&x0(t,"Main-Bold",r).metrics?$e(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||Ae[r][t].font==="main"?$e(t,"Main-Regular",r,n,a):$e(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},L6=function(t,r,n,a,i){return i!=="textord"&&x0(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},v0=function(t,r,n){var a=t.mode,i=t.text,u=["mord"],s=a==="math"||a==="text"&&r.font,l=s?r.font:r.fontFamily,o="",f="";if(i.charCodeAt(0)===55349&&([o,f]=O6(i,a)),o.length>0)return $e(i,o,a,r,u.concat(f));if(l){var d,g;if(l==="boldsymbol"){var p=L6(i,a,r,u,n);d=p.fontName,g=[p.fontClass]}else s?(d=ni[l].fontName,g=[l]):(d=qn(l,r.fontWeight,r.fontShape),g=[l,r.fontWeight,r.fontShape]);if(x0(i,d,a).metrics)return $e(i,d,a,r,u.concat(g));if(lc.hasOwnProperty(i)&&d.slice(0,10)==="Typewriter"){for(var T=[],v=0;v<i.length;v++)T.push($e(i[v],d,a,r,u.concat(g)));return Vt(T)}}if(n==="mathord")return $e(i,"Math-Italic",a,r,u.concat(["mathnormal"]));if(n==="textord"){var I=Ae[a][i]&&Ae[a][i].font;if(I==="ams"){var w=qn("amsrm",r.fontWeight,r.fontShape);return $e(i,w,a,r,u.concat("amsrm",r.fontWeight,r.fontShape))}else if(I==="main"||!I){var D=qn("textrm",r.fontWeight,r.fontShape);return $e(i,D,a,r,u.concat(r.fontWeight,r.fontShape))}else{var R=qn(I,r.fontWeight,r.fontShape);return $e(i,R,a,r,u.concat(R,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},R6=(e,t)=>{if(Jt(e.classes)!==Jt(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},oc=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof ft&&n instanceof ft&&R6(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},Yi=function(t){for(var r=0,n=0,a=0,i=0;i<t.children.length;i++){var u=t.children[i];u.height>r&&(r=u.height),u.depth>n&&(n=u.depth),u.maxFontSize>a&&(a=u.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=a},z=function(t,r,n,a){var i=new Sn(t,r,n,a);return Yi(i),i},er=(e,t,r,n)=>new Sn(e,t,r,n),Or=function(t,r,n){var a=z([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=W(a.height),a.maxFontSize=1,a},M6=function(t,r,n,a){var i=new Ui(t,r,n,a);return Yi(i),i},Vt=function(t){var r=new An(t);return Yi(r),r},Lr=function(t,r){return t instanceof An?z([],[t],r):t},P6=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,i=a,u=1;u<r.length;u++){var s=-r[u].shift-i-r[u].elem.depth,l=s-(r[u-1].elem.height+r[u-1].elem.depth);i=i+s,n.push({type:"kern",size:l}),n.push(r[u])}return{children:n,depth:a}}var o;if(t.positionType==="top"){for(var f=t.positionData,d=0;d<t.children.length;d++){var g=t.children[d];f-=g.type==="kern"?g.size:g.elem.height+g.elem.depth}o=f}else if(t.positionType==="bottom")o=-t.positionData;else{var p=t.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")o=-p.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")o=-p.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:o}},ge=function(t,r){for(var{children:n,depth:a}=P6(t),i=0,u=0;u<n.length;u++){var s=n[u];if(s.type==="elem"){var l=s.elem;i=Math.max(i,l.maxFontSize,l.height)}}i+=2;var o=z(["pstrut"],[]);o.style.height=W(i);for(var f=[],d=a,g=a,p=a,T=0;T<n.length;T++){var v=n[T];if(v.type==="kern")p+=v.size;else{var I=v.elem,w=v.wrapperClasses||[],D=v.wrapperStyle||{},R=z(w,[o,I],void 0,D);R.style.top=W(-i-p-I.depth),v.marginLeft&&(R.style.marginLeft=v.marginLeft),v.marginRight&&(R.style.marginRight=v.marginRight),f.push(R),p+=I.height+I.depth}d=Math.min(d,p),g=Math.max(g,p)}var j=z(["vlist"],f);j.style.height=W(g);var V;if(d<0){var O=z([],[]),X=z(["vlist"],[O]);X.style.height=W(-d);var re=z(["vlist-s"],[new ft("​")]);V=[z(["vlist-r"],[j,re]),z(["vlist-r"],[X])]}else V=[z(["vlist-r"],[j])];var G=z(["vlist-t"],V);return V.length===2&&G.classes.push("vlist-t2"),G.height=g,G.depth=-d,G},cc=(e,t)=>{var r=z(["mspace"],[],t),n=Ce(e,t);return r.style.marginRight=W(n),r},qn=function(t,r,n){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var i;return r==="textbf"&&n==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",a+"-"+i},ni={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},hc={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},fc=function(t,r){var[n,a,i]=hc[t],u=new Zt(n),s=new Ht([u],{width:W(a),height:W(i),style:"width:"+W(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),l=er(["overlay"],[s],r);return l.height=i,l.style.height=W(i),l.style.width=W(a),l},we={number:3,unit:"mu"},lr={number:4,unit:"mu"},Rt={number:5,unit:"mu"},B6={mord:{mop:we,mbin:lr,mrel:Rt,minner:we},mop:{mord:we,mop:we,mrel:Rt,minner:we},mbin:{mord:lr,mop:lr,mopen:lr,minner:lr},mrel:{mord:Rt,mop:Rt,mopen:Rt,minner:Rt},mopen:{},mclose:{mop:we,mbin:lr,mrel:Rt,minner:we},mpunct:{mord:we,mop:we,mrel:Rt,mopen:we,mclose:we,mpunct:we,minner:we},minner:{mord:we,mop:we,mbin:lr,mrel:Rt,mopen:we,mpunct:we,minner:we}},F6={mord:{mop:we},mop:{mord:we,mop:we},mbin:{},mrel:{},mopen:{},mclose:{mop:we},mpunct:{},minner:{mop:we}},dc={},l0={},o0={};function ee(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:u}=e,s={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},l=0;l<r.length;++l)dc[r[l]]=s;t&&(i&&(l0[t]=i),u&&(o0[t]=u))}function mr(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;ee({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var c0=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},De=function(t){return t.type==="ordgroup"?t.body:[t]},H6=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),z6=new Set(["rightmost","mrel","mclose","mpunct"]),U6={display:se.DISPLAY,text:se.TEXT,script:se.SCRIPT,scriptscript:se.SCRIPTSCRIPT},q6={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Be=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],u=0;u<t.length;u++){var s=pe(t[u],r);if(s instanceof An){var l=s.children;i.push(...l)}else i.push(s)}if(oc(i),!n)return i;var o=r;if(t.length===1){var f=t[0];f.type==="sizing"?o=r.havingSize(f.size):f.type==="styling"&&(o=r.havingStyle(U6[f.style]))}var d=z([a[0]||"leftmost"],[],r),g=z([a[1]||"rightmost"],[],r),p=n==="root";return As(i,(T,v)=>{var I=v.classes[0],w=T.classes[0];I==="mbin"&&z6.has(w)?v.classes[0]="mord":w==="mbin"&&H6.has(I)&&(T.classes[0]="mord")},{node:d},g,p),As(i,(T,v)=>{var I=ai(v),w=ai(T),D=I&&w?T.hasClass("mtight")?F6[I][w]:B6[I][w]:null;if(D)return cc(D,o)},{node:d},g,p),i},As=function e(t,r,n,a,i){a&&t.push(a);for(var u=0;u<t.length;u++){var s=t[u],l=mc(s);if(l){e(l.children,r,n,null,i);continue}var o=!s.hasClass("mspace");if(o){var f=r(s,n.node);f&&(n.insertAfter?n.insertAfter(f):(t.unshift(f),u++))}o?n.node=s:i&&s.hasClass("newline")&&(n.node=z(["leftmost"])),n.insertAfter=(d=>g=>{t.splice(d+1,0,g),u++})(u)}a&&t.pop()},mc=function(t){return t instanceof An||t instanceof Ui||t instanceof Sn&&t.hasClass("enclosing")?t:null},Y6=function e(t,r){var n=mc(t);if(n){var a=n.children;if(a.length){if(r==="right")return e(a[a.length-1],"right");if(r==="left")return e(a[0],"left")}}return t},ai=function(t,r){return t?(r&&(t=Y6(t,r)),q6[t.classes[0]]||null):null},bn=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return z(r.concat(n))},pe=function(t,r,n){if(!t)return z();if(l0[t.type]){var a=l0[t.type](t,r);if(n&&r.size!==n.size){a=z(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new q("Got group of unknown type: '"+t.type+"'")};function Yn(e,t){var r=z(["base"],e,t),n=z(["strut"]);return n.style.height=W(r.height+r.depth),r.depth&&(n.style.verticalAlign=W(-r.depth)),r.children.unshift(n),r}function ii(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Be(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],u=[],s=0;s<n.length;s++)if(u.push(n[s]),n[s].hasClass("mbin")||n[s].hasClass("mrel")||n[s].hasClass("allowbreak")){for(var l=!1;s<n.length-1&&n[s+1].hasClass("mspace")&&!n[s+1].hasClass("newline");)s++,u.push(n[s]),n[s].hasClass("nobreak")&&(l=!0);l||(i.push(Yn(u,t)),u=[])}else n[s].hasClass("newline")&&(u.pop(),u.length>0&&(i.push(Yn(u,t)),u=[]),i.push(n[s]));u.length>0&&i.push(Yn(u,t));var o;r?(o=Yn(Be(r,t,!0)),o.classes=["tag"],i.push(o)):a&&i.push(a);var f=z(["katex-html"],i);if(f.setAttribute("aria-hidden","true"),o){var d=o.children[0];d.style.height=W(f.height+f.depth),f.depth&&(d.style.verticalAlign=W(-f.depth))}return f}function pc(e){return new An(e)}class Y{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=Jt(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Me&&this.children[n+1]instanceof Me){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Me;)a+=this.children[++n].toText();t.appendChild(new Me(a).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=Ue(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+Ue(Jt(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Me{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ue(this.toText())}toText(){return this.text}}class gc{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",W(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+W(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var V6=new Set(["\\imath","\\jmath"]),G6=new Set(["mrow","mtable"]),dt=function(t,r,n){return Ae[r][t]&&Ae[r][t].replace&&t.charCodeAt(0)!==55349&&!(lc.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Ae[r][t].replace),new Me(t)},Vi=function(t){return t.length===1?t[0]:new Y("mrow",t)},Gi=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var a=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var i=t.text;if(V6.has(i))return null;Ae[a][i]&&Ae[a][i].replace&&(i=Ae[a][i].replace);var u=ni[n].fontName;return zi(i,u,a)?ni[n].variant:null};function ua(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Me&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof Me&&r.text===","}else return!1}var tt=function(t,r,n){if(t.length===1){var a=Te(t[0],r);return n&&a instanceof Y&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],u,s=0;s<t.length;s++){var l=Te(t[s],r);if(l instanceof Y&&u instanceof Y){if(l.type==="mtext"&&u.type==="mtext"&&l.getAttribute("mathvariant")===u.getAttribute("mathvariant")){u.children.push(...l.children);continue}else if(l.type==="mn"&&u.type==="mn"){u.children.push(...l.children);continue}else if(ua(l)&&u.type==="mn"){u.children.push(...l.children);continue}else if(l.type==="mn"&&ua(u))l.children=[...u.children,...l.children],i.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(u.type==="mn"||ua(u))){var o=l.children[0];o instanceof Y&&o.type==="mn"&&(o.children=[...u.children,...o.children],i.pop())}else if(u.type==="mi"&&u.children.length===1){var f=u.children[0];if(f instanceof Me&&f.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var d=l.children[0];d instanceof Me&&d.text.length>0&&(d.text=d.text.slice(0,1)+"̸"+d.text.slice(1),i.pop())}}}i.push(l),u=l}return i},tr=function(t,r,n){return Vi(tt(t,r,n))},Te=function(t,r){if(!t)return new Y("mrow");if(o0[t.type]){var n=o0[t.type](t,r);return n}else throw new q("Got group of unknown type: '"+t.type+"'")};function Ss(e,t,r,n,a){var i=tt(e,r),u;i.length===1&&i[0]instanceof Y&&G6.has(i[0].type)?u=i[0]:u=new Y("mrow",i);var s=new Y("annotation",[new Me(t)]);s.setAttribute("encoding","application/x-tex");var l=new Y("semantics",[u,s]),o=new Y("math",[l]);o.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&o.setAttribute("display","block");var f=a?"katex":"katex-mathml";return z([f],[o])}var bc=function(t){return new Pt({style:t.displayMode?se.DISPLAY:se.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Ec=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=z(n,[t])}return t},$6=function(t,r,n){var a=bc(n),i;if(n.output==="mathml")return Ss(t,r,a,n.displayMode,!0);if(n.output==="html"){var u=ii(t,a);i=z(["katex"],[u])}else{var s=Ss(t,r,a,n.displayMode,!1),l=ii(t,a);i=z(["katex"],[s,l])}return Ec(i,n)},W6=function(t,r,n){var a=bc(n),i=ii(t,a),u=z(["katex"],[i]);return Ec(u,n)},j6={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},A0=function(t){var r=new Y("mo",[new Me(j6[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},X6={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Q6=new Set(["widehat","widecheck","widetilde","utilde"]),S0=function(t,r){function n(){var s=4e5,l=t.label.slice(1);if(Q6.has(l)){var o=t,f=o.base.type==="ordgroup"?o.base.body.length:1,d,g,p;if(f>5)l==="widehat"||l==="widecheck"?(d=420,s=2364,p=.42,g=l+"4"):(d=312,s=2340,p=.34,g="tilde4");else{var T=[1,1,2,2,3,3][f];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][T],d=[0,239,300,360,420][T],p=[0,.24,.3,.3,.36,.42][T],g=l+T):(s=[0,600,1033,2339,2340][T],d=[0,260,286,306,312][T],p=[0,.26,.286,.3,.306,.34][T],g="tilde"+T)}var v=new Zt(g),I=new Ht([v],{width:"100%",height:W(p),viewBox:"0 0 "+s+" "+d,preserveAspectRatio:"none"});return{span:er([],[I],r),minWidth:0,height:p}}else{var w=[],D=X6[l],[R,j,V]=D,O=V/1e3,X=R.length,re,G;if(X===1){var M=D[3];re=["hide-tail"],G=[M]}else if(X===2)re=["halfarrow-left","halfarrow-right"],G=["xMinYMin","xMaxYMin"];else if(X===3)re=["brace-left","brace-center","brace-right"],G=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
288
+ `+X+" children.");for(var Z=0;Z<X;Z++){var J=new Zt(R[Z]),fe=new Ht([J],{width:"400em",height:W(O),viewBox:"0 0 "+s+" "+V,preserveAspectRatio:G[Z]+" slice"}),ne=er([re[Z]],[fe],r);if(X===1)return{span:ne,minWidth:j,height:O};ne.style.height=W(O),w.push(ne)}return{span:z(["stretchy"],w,r),minWidth:j,height:O}}}var{span:a,minWidth:i,height:u}=n();return a.height=u,a.style.height=W(u),i>0&&(a.style.minWidth=W(i)),a},K6=function(t,r,n,a,i){var u,s=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(u=z(["stretchy",r],[],i),r==="fbox"){var l=i.color&&i.getColor();l&&(u.style.borderColor=l)}}else{var o=[];/^[bx]cancel$/.test(r)&&o.push(new ti({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&o.push(new ti({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var f=new Ht(o,{width:"100%",height:W(s)});u=er([],[f],i)}return u.height=s,u.style.height=W(s),u};function ce(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function $i(e){var t=k0(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function k0(e){return e&&(e.type==="atom"||D6.hasOwnProperty(e.type))?e:null}var Wi=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=ce(e.base,"accent"),r=n.base,e.base=r,a=_6(pe(e,t)),e.base=n):(n=ce(e,"accent"),r=n.base);var i=pe(r,t.havingCrampedStyle()),u=n.isShifty&&qt(r),s=0;if(u){var l=nn(r),o=pe(l,t.havingCrampedStyle());s=bs(o).skew}var f=n.label==="\\c",d=f?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),g;if(n.isStretchy)g=S0(n,t),g=ge({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:g,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+W(2*s)+")",marginLeft:W(2*s)}:void 0}]});else{var p,T;n.label==="\\vec"?(p=fc("vec",t),T=hc.vec[1]):(p=v0({mode:n.mode,text:n.label},t,"textord"),p=bs(p),p.italic=0,T=p.width,f&&(d+=p.depth)),g=z(["accent-body"],[p]);var v=n.label==="\\textcircled";v&&(g.classes.push("accent-full"),d=i.height);var I=s;v||(I-=T/2),g.style.left=W(I),n.label==="\\textcircled"&&(g.style.top=".2em"),g=ge({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-d},{type:"elem",elem:g}]})}var w=z(["mord","accent"],[g],t);return a?(a.children[0]=w,a.height=Math.max(w.height,a.height),a.classes[0]="mord",a):w},Tc=(e,t)=>{var r=e.isStretchy?A0(e.label):new Y("mo",[dt(e.label,e.mode)]),n=new Y("mover",[Te(e.base,t),r]);return n.setAttribute("accent","true"),n},J6=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ee({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=c0(t[0]),n=!J6.test(e.funcName),a=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:Wi,mathmlBuilder:Tc});ee({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Wi,mathmlBuilder:Tc});ee({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=pe(e.base,t),n=S0(e,t),a=e.label==="\\utilde"?.12:0,i=ge({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]});return z(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=A0(e.label),n=new Y("munder",[Te(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Vn=e=>{var t=new Y("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ee({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),a=Lr(pe(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var u;e.below&&(n=t.havingStyle(r.sub()),u=Lr(pe(e.below,n,t),t),u.classes.push(i+"-arrow-pad"));var s=S0(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,o=-t.fontMetrics().axisHeight-.5*s.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(o-=a.depth);var f;if(u){var d=-t.fontMetrics().axisHeight+u.height+.5*s.height+.111;f=ge({positionType:"individualShift",children:[{type:"elem",elem:a,shift:o},{type:"elem",elem:s,shift:l},{type:"elem",elem:u,shift:d}]})}else f=ge({positionType:"individualShift",children:[{type:"elem",elem:a,shift:o},{type:"elem",elem:s,shift:l}]});return f.children[0].children[0].children[1].classes.push("svg-align"),z(["mrel","x-arrow"],[f],t)},mathmlBuilder(e,t){var r=A0(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=Vn(Te(e.body,t));if(e.below){var i=Vn(Te(e.below,t));n=new Y("munderover",[r,i,a])}else n=new Y("mover",[r,a])}else if(e.below){var u=Vn(Te(e.below,t));n=new Y("munder",[r,u])}else n=Vn(),n=new Y("mover",[r,n]);return n}});function yc(e,t){var r=Be(e.body,t,!0);return z([e.mclass],r,t)}function xc(e,t){var r,n=tt(e.body,t);return e.mclass==="minner"?r=new Y("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new Y("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new Y("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ee({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:De(a),isCharacterBox:qt(a)}},htmlBuilder:yc,mathmlBuilder:xc});var w0=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};ee({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:w0(t[0]),body:De(t[1]),isCharacterBox:qt(t[1])}}});ee({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,a=t[1],i=t[0],u;n!=="\\stackrel"?u=w0(a):u="mrel";var s={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:De(a)},l={type:"supsub",mode:i.mode,base:s,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:u,body:[l],isCharacterBox:qt(l)}},htmlBuilder:yc,mathmlBuilder:xc});ee({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:w0(t[0]),body:De(t[0])}},htmlBuilder(e,t){var r=Be(e.body,t,!0),n=z([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=tt(e.body,t),n=new Y("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Z6={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ks=()=>({type:"styling",body:[],mode:"math",style:"display"}),ws=e=>e.type==="textord"&&e.text==="@",ep=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function tp(e,t,r){var n=Z6[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},u=r.callFunction("\\Big",[i],[]),s=r.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[a,u,s]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var o={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[o],[])}default:return{type:"textord",text:" ",mode:"math"}}}function rp(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new q("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],i=0;i<t.length;i++){for(var u=t[i],s=ks(),l=0;l<u.length;l++)if(!ws(u[l]))s.body.push(u[l]);else{n.push(s),l+=1;var o=$i(u[l]).text,f=new Array(2);if(f[0]={type:"ordgroup",mode:"math",body:[]},f[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(o))if("<>AV".includes(o))for(var d=0;d<2;d++){for(var g=!0,p=l+1;p<u.length;p++){if(ep(u[p],o)){g=!1,l=p;break}if(ws(u[p]))throw new q("Missing a "+o+" character to complete a CD arrow.",u[p]);f[d].body.push(u[p])}if(g)throw new q("Missing a "+o+" character to complete a CD arrow.",u[l])}else throw new q('Expected one of "<>AV=|." after @',u[l]);var T=tp(o,f,e),v={type:"styling",body:[T],mode:"math",style:"display"};n.push(v),s=ks()}i%2===0?n.push(s):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var I=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:I,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}ee({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=Lr(pe(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=W(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new Y("mrow",[Te(e.label,t)]);return r=new Y("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new Y("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});ee({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=Lr(pe(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new Y("mrow",[Te(e.fragment,t)])}});ee({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=ce(t[0],"ordgroup"),a=n.body,i="",u=0;u<a.length;u++){var s=ce(a[u],"textord");i+=s.text}var l=parseInt(i),o;if(isNaN(l))throw new q("\\@char has non-numeric argument "+i);if(l<0||l>=1114111)throw new q("\\@char with invalid code point "+i);return l<=65535?o=String.fromCharCode(l):(l-=65536,o=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:o}}});var vc=(e,t)=>{var r=Be(e.body,t.withColor(e.color),!1);return Vt(r)},Ac=(e,t)=>{var r=tt(e.body,t.withColor(e.color)),n=new Y("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ee({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=ce(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:De(a)}},htmlBuilder:vc,mathmlBuilder:Ac});ee({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=ce(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}},htmlBuilder:vc,mathmlBuilder:Ac});ee({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&ce(a,"size").value}},htmlBuilder(e,t){var r=z(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=W(Ce(e.size,t)))),r},mathmlBuilder(e,t){var r=new Y("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",W(Ce(e.size,t)))),r}});var ui={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Sc=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new q("Expected a control sequence",e);return t},np=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},kc=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};ee({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(ui[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=ui[n.text]),ce(t.parseFunction(),"internal");throw new q("Invalid token after macro prefix",n)}});ee({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new q("Expected a control sequence",n);for(var i=0,u,s=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){u=t.gullet.future(),s[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new q('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new q('Argument number "'+n.text+'" out of order');i++,s.push([])}else{if(n.text==="EOF")throw new q("Expected a macro definition");s[i].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return u&&l.unshift(u),(r==="\\edef"||r==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(a,{tokens:l,numArgs:i,delimiters:s},r===ui[r]),{type:"internal",mode:t.mode}}});ee({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Sc(t.gullet.popToken());t.gullet.consumeSpaces();var a=np(t);return kc(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});ee({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Sc(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return kc(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Zr=function(t,r,n){var a=Ae.math[t]&&Ae.math[t].replace,i=zi(a||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},ji=function(t,r,n,a){var i=n.havingBaseStyle(r),u=z(a.concat(i.sizingClasses(n)),[t],n),s=i.sizeMultiplier/n.sizeMultiplier;return u.height*=s,u.depth*=s,u.maxFontSize=i.sizeMultiplier,u},wc=function(t,r,n){var a=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=W(i),t.height-=i,t.depth+=i},ap=function(t,r,n,a,i,u){var s=$e(t,"Main-Regular",i,a),l=ji(s,r,a,u);return wc(l,a,r),l},ip=function(t,r,n,a){return $e(t,"Size"+r+"-Regular",n,a)},Cc=function(t,r,n,a,i,u){var s=ip(t,r,i,a),l=ji(z(["delimsizing","size"+r],[s],a),se.TEXT,a,u);return n&&wc(l,a,se.TEXT),l},sa=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=z(["delimsizinginner",a],[z([],[$e(t,r,n)])]);return{type:"elem",elem:i}},la=function(t,r,n){var a=At["Size4-Regular"][t.charCodeAt(0)]?At["Size4-Regular"][t.charCodeAt(0)][4]:At["Size1-Regular"][t.charCodeAt(0)][4],i=new Zt("inner",x6(t,Math.round(1e3*r))),u=new Ht([i],{width:W(a),height:W(r),style:"width:"+W(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),s=er([],[u],n);return s.height=r,s.style.height=W(r),s.style.width=W(a),{type:"elem",elem:s}},si=.008,Gn={type:"kern",size:-1*si},up=new Set(["|","\\lvert","\\rvert","\\vert"]),sp=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Ic=function(t,r,n,a,i,u){var s,l,o,f,d="",g=0;s=o=f=t,l=null;var p="Size1-Regular";t==="\\uparrow"?o=f="⏐":t==="\\Uparrow"?o=f="‖":t==="\\downarrow"?s=o="⏐":t==="\\Downarrow"?s=o="‖":t==="\\updownarrow"?(s="\\uparrow",o="⏐",f="\\downarrow"):t==="\\Updownarrow"?(s="\\Uparrow",o="‖",f="\\Downarrow"):up.has(t)?(o="∣",d="vert",g=333):sp.has(t)?(o="∥",d="doublevert",g=556):t==="["||t==="\\lbrack"?(s="⎡",o="⎢",f="⎣",p="Size4-Regular",d="lbrack",g=667):t==="]"||t==="\\rbrack"?(s="⎤",o="⎥",f="⎦",p="Size4-Regular",d="rbrack",g=667):t==="\\lfloor"||t==="⌊"?(o=s="⎢",f="⎣",p="Size4-Regular",d="lfloor",g=667):t==="\\lceil"||t==="⌈"?(s="⎡",o=f="⎢",p="Size4-Regular",d="lceil",g=667):t==="\\rfloor"||t==="⌋"?(o=s="⎥",f="⎦",p="Size4-Regular",d="rfloor",g=667):t==="\\rceil"||t==="⌉"?(s="⎤",o=f="⎥",p="Size4-Regular",d="rceil",g=667):t==="("||t==="\\lparen"?(s="⎛",o="⎜",f="⎝",p="Size4-Regular",d="lparen",g=875):t===")"||t==="\\rparen"?(s="⎞",o="⎟",f="⎠",p="Size4-Regular",d="rparen",g=875):t==="\\{"||t==="\\lbrace"?(s="⎧",l="⎨",f="⎩",o="⎪",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(s="⎫",l="⎬",f="⎭",o="⎪",p="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(s="⎧",f="⎩",o="⎪",p="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(s="⎫",f="⎭",o="⎪",p="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(s="⎧",f="⎭",o="⎪",p="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(s="⎫",f="⎩",o="⎪",p="Size4-Regular");var T=Zr(s,p,i),v=T.height+T.depth,I=Zr(o,p,i),w=I.height+I.depth,D=Zr(f,p,i),R=D.height+D.depth,j=0,V=1;if(l!==null){var O=Zr(l,p,i);j=O.height+O.depth,V=2}var X=v+R+j,re=Math.max(0,Math.ceil((r-X)/(V*w))),G=X+re*V*w,M=a.fontMetrics().axisHeight;n&&(M*=a.sizeMultiplier);var Z=G/2-M,J=[];if(d.length>0){var fe=G-v-R,ne=Math.round(G*1e3),Q=v6(d,Math.round(fe*1e3)),de=new Zt(d,Q),ye=(g/1e3).toFixed(3)+"em",Fe=(ne/1e3).toFixed(3)+"em",rt=new Ht([de],{width:ye,height:Fe,viewBox:"0 0 "+g+" "+ne}),C=er([],[rt],a);C.height=ne/1e3,C.style.width=ye,C.style.height=Fe,J.push({type:"elem",elem:C})}else{if(J.push(sa(f,p,i)),J.push(Gn),l===null){var Oe=G-v-R+2*si;J.push(la(o,Oe,a))}else{var Ie=(G-v-R-j)/2+2*si;J.push(la(o,Ie,a)),J.push(Gn),J.push(sa(l,p,i)),J.push(Gn),J.push(la(o,Ie,a))}J.push(Gn),J.push(sa(s,p,i))}var _=a.havingBaseStyle(se.TEXT),Ve=ge({positionType:"bottom",positionData:Z,children:J});return ji(z(["delimsizing","mult"],[Ve],_),se.TEXT,a,u)},oa=80,ca=.08,ha=function(t,r,n,a,i){var u=y6(t,a,n),s=new Zt(t,u),l=new Ht([s],{width:"400em",height:W(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return er(["hide-tail"],[l],i)},lp=function(t,r){var n=r.havingBaseSizing(),a=Lc("\\surd",t*n.sizeMultiplier,Oc,n),i=n.sizeMultiplier,u=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),s,l=0,o=0,f=0,d;return a.type==="small"?(f=1e3+1e3*u+oa,t<1?i=1:t<1.4&&(i=.7),l=(1+u+ca)/i,o=(1+u)/i,s=ha("sqrtMain",l,f,u,r),s.style.minWidth="0.853em",d=.833/i):a.type==="large"?(f=(1e3+oa)*un[a.size],o=(un[a.size]+u)/i,l=(un[a.size]+u+ca)/i,s=ha("sqrtSize"+a.size,l,f,u,r),s.style.minWidth="1.02em",d=1/i):(l=t+u+ca,o=t+u,f=Math.floor(1e3*t+u)+oa,s=ha("sqrtTall",l,f,u,r),s.style.minWidth="0.742em",d=1.056),s.height=o,s.style.height=W(l),{span:s,advanceWidth:d,ruleWidth:(r.fontMetrics().sqrtRuleThickness+u)*i}},_c=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),op=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Nc=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),un=[0,1.2,1.8,2.4,3],Dc=function(t,r,n,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),_c.has(t)||Nc.has(t))return Cc(t,r,!1,n,a,i);if(op.has(t))return Ic(t,un[r],!1,n,a,i);throw new q("Illegal delimiter: '"+t+"'")},cp=[{type:"small",style:se.SCRIPTSCRIPT},{type:"small",style:se.SCRIPT},{type:"small",style:se.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],hp=[{type:"small",style:se.SCRIPTSCRIPT},{type:"small",style:se.SCRIPT},{type:"small",style:se.TEXT},{type:"stack"}],Oc=[{type:"small",style:se.SCRIPTSCRIPT},{type:"small",style:se.SCRIPT},{type:"small",style:se.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],fp=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},Lc=function(t,r,n,a){for(var i=Math.min(2,3-a.style.size),u=i;u<n.length&&n[u].type!=="stack";u++){var s=Zr(t,fp(n[u]),"math"),l=s.height+s.depth;if(n[u].type==="small"){var o=a.havingBaseStyle(n[u].style);l*=o.sizeMultiplier}if(l>r)return n[u]}return n[n.length-1]},li=function(t,r,n,a,i,u){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var s;Nc.has(t)?s=cp:_c.has(t)?s=Oc:s=hp;var l=Lc(t,r,s,a);return l.type==="small"?ap(t,l.style,n,a,i,u):l.type==="large"?Cc(t,l.size,n,a,i,u):Ic(t,r,n,a,i,u)},fa=function(t,r,n,a,i,u){var s=a.fontMetrics().axisHeight*a.sizeMultiplier,l=901,o=5/a.fontMetrics().ptPerEm,f=Math.max(r-s,n+s),d=Math.max(f/500*l,2*f-o);return li(t,d,!0,a,i,u)},Cs={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},dp=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function C0(e,t){var r=k0(e);if(r&&dp.has(r.text))return r;throw r?new q("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new q("Invalid delimiter type '"+e.type+"'",e)}ee({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=C0(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Cs[e.funcName].size,mclass:Cs[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?z([e.mclass]):Dc(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(dt(e.delim,e.mode));var r=new Y("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=W(un[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function Is(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ee({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:C0(t[0],e).text,color:r}}});ee({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=C0(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=ce(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Is(e);for(var r=Be(e.body,t,!0,["mopen","mclose"]),n=0,a=0,i=!1,u=0;u<r.length;u++)r[u].isMiddle?i=!0:(n=Math.max(r[u].height,n),a=Math.max(r[u].depth,a));n*=t.sizeMultiplier,a*=t.sizeMultiplier;var s;if(e.left==="."?s=bn(t,["mopen"]):s=fa(e.left,n,a,t,e.mode,["mopen"]),r.unshift(s),i)for(var l=1;l<r.length;l++){var o=r[l],f=o.isMiddle;f&&(r[l]=fa(f.delim,n,a,f.options,e.mode,[]))}var d;if(e.right===".")d=bn(t,["mclose"]);else{var g=e.rightColor?t.withColor(e.rightColor):t;d=fa(e.right,n,a,g,e.mode,["mclose"])}return r.push(d),z(["minner"],r,t)},mathmlBuilder:(e,t)=>{Is(e);var r=tt(e.body,t);if(e.left!=="."){var n=new Y("mo",[dt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new Y("mo",[dt(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return Vi(r)}});ee({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=C0(t[0],e);if(!e.parser.leftrightDepth)throw new q("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=bn(t,[]);else{r=Dc(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?dt("|","text"):dt(e.delim,e.mode),n=new Y("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var Xi=(e,t)=>{var r=Lr(pe(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,i,u=0,s=qt(e.body);if(n==="sout")i=z(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,u=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var l=Ce({number:.6,unit:"pt"},t),o=Ce({number:.35,unit:"ex"},t),f=t.havingBaseSizing();a=a/f.sizeMultiplier;var d=r.height+r.depth+l+o;r.style.paddingLeft=W(d/2+l);var g=Math.floor(1e3*d*a),p=E6(g),T=new Ht([new Zt("phase",p)],{width:"400em",height:W(g/1e3),viewBox:"0 0 400000 "+g,preserveAspectRatio:"xMinYMin slice"});i=er(["hide-tail"],[T],t),i.style.height=W(d),u=r.depth+l+o}else{/cancel/.test(n)?s||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var v=0,I=0,w=0;/box/.test(n)?(w=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),v=t.fontMetrics().fboxsep+(n==="colorbox"?0:w),I=v):n==="angl"?(w=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),v=4*w,I=Math.max(0,.25-r.depth)):(v=s?.2:0,I=v),i=K6(r,n,v,I,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=W(w)):n==="angl"&&w!==.049&&(i.style.borderTopWidth=W(w),i.style.borderRightWidth=W(w)),u=r.depth+I,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var D;if(e.backgroundColor)D=ge({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:r,shift:0}]});else{var R=/cancel|phase/.test(n)?["svg-align"]:[];D=ge({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:u,wrapperClasses:R}]})}return/cancel/.test(n)&&(D.height=r.height,D.depth=r.depth),/cancel/.test(n)&&!s?z(["mord","cancel-lap"],[D],t):z(["mord"],[D],t)},Qi=(e,t)=>{var r=0,n=new Y(e.label.includes("colorbox")?"mpadded":"menclose",[Te(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ee({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=ce(t[0],"color-token").color,u=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:u}},htmlBuilder:Xi,mathmlBuilder:Qi});ee({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=ce(t[0],"color-token").color,u=ce(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:u,borderColor:i,body:s}},htmlBuilder:Xi,mathmlBuilder:Qi});ee({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});ee({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:Xi,mathmlBuilder:Qi});ee({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Rc={};function It(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:u}=e,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},l=0;l<r.length;++l)Rc[r[l]]=s;i&&(l0[t]=i),u&&(o0[t]=u)}var Mc={};function E(e,t){Mc[e]=t}function _s(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var I0=e=>{var t=e.parser.settings;if(!t.displayMode)throw new q("{"+e.envName+"} can be used only in display mode.")},mp=new Set(["gather","gather*"]);function Ki(e){if(!e.includes("ed"))return!e.includes("*")}function nr(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:u,colSeparationType:s,autoTag:l,singleRow:o,emptySingleRow:f,maxNumCols:d,leqno:g}=t;if(e.gullet.beginGroup(),o||e.gullet.macros.set("\\cr","\\\\\\relax"),!u){var p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)u=1;else if(u=parseFloat(p),!u||u<0)throw new q("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var T=[],v=[T],I=[],w=[],D=l!=null?[]:void 0;function R(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function j(){D&&(e.gullet.macros.get("\\df@tag")?(D.push(e.subparse([new ut("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):D.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),w.push(_s(e));;){var V=e.parseExpression(!1,o?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),V={type:"ordgroup",mode:e.mode,body:V},r&&(V={type:"styling",mode:e.mode,style:r,body:[V]}),T.push(V);var O=e.fetch().text;if(O==="&"){if(d&&T.length===d){if(o||s)throw new q("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(O==="\\end"){j(),T.length===1&&V.type==="styling"&&V.body[0].body.length===0&&(v.length>1||!f)&&v.pop(),w.length<v.length+1&&w.push([]);break}else if(O==="\\\\"){e.consume();var X=void 0;e.gullet.future().text!==" "&&(X=e.parseSizeGroup(!0)),I.push(X?X.value:null),j(),w.push(_s(e)),T=[],v.push(T),R()}else throw new q("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:u,body:v,cols:i,rowGaps:I,hskipBeforeAndAfter:n,hLinesBeforeRow:w,colSeparationType:s,tags:D,leqno:g}}function Ji(e){return e.slice(0,1)==="d"?"display":"text"}var _t=function(t,r){var n,a,i=t.body.length,u=t.hLinesBeforeRow,s=0,l=new Array(i),o=[],f=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),d=1/r.fontMetrics().ptPerEm,g=5*d;if(t.colSeparationType&&t.colSeparationType==="small"){var p=r.havingStyle(se.SCRIPT).sizeMultiplier;g=.2778*(p/r.sizeMultiplier)}var T=t.colSeparationType==="CD"?Ce({number:3,unit:"ex"},r):12*d,v=3*d,I=t.arraystretch*T,w=.7*I,D=.3*I,R=0;function j(ar){for(var Tr=0;Tr<ar.length;++Tr)Tr>0&&(R+=.25),o.push({pos:R,isDashed:ar[Tr]})}for(j(u[0]),n=0;n<t.body.length;++n){var V=t.body[n],O=w,X=D;s<V.length&&(s=V.length);var re=new Array(V.length);for(a=0;a<V.length;++a){var G=pe(V[a],r);X<G.depth&&(X=G.depth),O<G.height&&(O=G.height),re[a]=G}var M=t.rowGaps[n],Z=0;M&&(Z=Ce(M,r),Z>0&&(Z+=D,X<Z&&(X=Z),Z=0)),t.addJot&&(X+=v),re.height=O,re.depth=X,R+=O,re.pos=R,R+=X+Z,l[n]=re,j(u[n+1])}var J=R/2+r.fontMetrics().axisHeight,fe=t.cols||[],ne=[],Q,de,ye=[];if(t.tags&&t.tags.some(ar=>ar))for(n=0;n<i;++n){var Fe=l[n],rt=Fe.pos-J,C=t.tags[n],Oe=void 0;C===!0?Oe=z(["eqn-num"],[],r):C===!1?Oe=z([],[],r):Oe=z([],Be(C,r,!0),r),Oe.depth=Fe.depth,Oe.height=Fe.height,ye.push({type:"elem",elem:Oe,shift:rt})}for(a=0,de=0;a<s||de<fe.length;++a,++de){for(var Ie=fe[de]||{},_=!0;Ie.type==="separator";){if(_||(Q=z(["arraycolsep"],[]),Q.style.width=W(r.fontMetrics().doubleRuleSep),ne.push(Q)),Ie.separator==="|"||Ie.separator===":"){var Ve=Ie.separator==="|"?"solid":"dashed",Xe=z(["vertical-separator"],[],r);Xe.style.height=W(R),Xe.style.borderRightWidth=W(f),Xe.style.borderRightStyle=Ve,Xe.style.margin="0 "+W(-f/2);var Le=R-J;Le&&(Xe.style.verticalAlign=W(-Le)),ne.push(Xe)}else throw new q("Invalid separator type: "+Ie.separator);de++,Ie=fe[de]||{},_=!1}if(!(a>=s)){var lt=void 0;if(a>0||t.hskipBeforeAndAfter){var mt;lt=(mt=Ie.pregap)!=null?mt:g,lt!==0&&(Q=z(["arraycolsep"],[]),Q.style.width=W(lt),ne.push(Q))}var nt=[];for(n=0;n<i;++n){var pt=l[n],Dt=pt[a];if(Dt){var R0=pt.pos-J;Dt.depth=pt.depth,Dt.height=pt.height,nt.push({type:"elem",elem:Dt,shift:R0})}}if(nt=ge({positionType:"individualShift",children:nt}),nt=z(["col-align-"+(Ie.align||"c")],[nt]),ne.push(nt),a<s-1||t.hskipBeforeAndAfter){var _n;lt=(_n=Ie.postgap)!=null?_n:g,lt!==0&&(Q=z(["arraycolsep"],[]),Q.style.width=W(lt),ne.push(Q))}}}if(l=z(["mtable"],ne),o.length>0){for(var M0=Or("hline",r,f),Nn=Or("hdashline",r,f),br=[{type:"elem",elem:l,shift:0}];o.length>0;){var Yr=o.pop(),Dn=Yr.pos-J;Yr.isDashed?br.push({type:"elem",elem:Nn,shift:Dn}):br.push({type:"elem",elem:M0,shift:Dn})}l=ge({positionType:"individualShift",children:br})}if(ye.length===0)return z(["mord"],[l],r);var Er=ge({positionType:"individualShift",children:ye});return Er=z(["tag"],[Er],r),Vt([l,Er])},pp={c:"center ",l:"left ",r:"right "},Nt=function(t,r){for(var n=[],a=new Y("mtd",[],["mtr-glue"]),i=new Y("mtd",[],["mml-eqn-num"]),u=0;u<t.body.length;u++){for(var s=t.body[u],l=[],o=0;o<s.length;o++)l.push(new Y("mtd",[Te(s[o],r)]));t.tags&&t.tags[u]&&(l.unshift(a),l.push(a),t.leqno?l.unshift(i):l.push(i)),n.push(new Y("mtr",l))}var f=new Y("mtable",n),d=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);f.setAttribute("rowspacing",W(d));var g="",p="";if(t.cols&&t.cols.length>0){var T=t.cols,v="",I=!1,w=0,D=T.length;T[0].type==="separator"&&(g+="top ",w=1),T[T.length-1].type==="separator"&&(g+="bottom ",D-=1);for(var R=w;R<D;R++)T[R].type==="align"?(p+=pp[T[R].align],I&&(v+="none "),I=!0):T[R].type==="separator"&&I&&(v+=T[R].separator==="|"?"solid ":"dashed ",I=!1);f.setAttribute("columnalign",p.trim()),/[sd]/.test(v)&&f.setAttribute("columnlines",v.trim())}if(t.colSeparationType==="align"){for(var j=t.cols||[],V="",O=1;O<j.length;O++)V+=O%2?"0em ":"1em ";f.setAttribute("columnspacing",V.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?f.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?f.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?f.setAttribute("columnspacing","0.5em"):f.setAttribute("columnspacing","1em");var X="",re=t.hLinesBeforeRow;g+=re[0].length>0?"left ":"",g+=re[re.length-1].length>0?"right ":"";for(var G=1;G<re.length-1;G++)X+=re[G].length===0?"none ":re[G][0]?"dashed ":"solid ";return/[sd]/.test(X)&&f.setAttribute("rowlines",X.trim()),g!==""&&(f=new Y("menclose",[f]),f.setAttribute("notation",g.trim())),t.arraystretch&&t.arraystretch<1&&(f=new Y("mstyle",[f]),f.setAttribute("scriptlevel","1")),f},Pc=function(t,r){t.envName.includes("ed")||I0(t);var n=[],a=t.envName.includes("at")?"alignat":"align",i=t.envName==="split",u=nr(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:Ki(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),s,l=0,o={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var f="",d=0;d<r[0].body.length;d++){var g=ce(r[0].body[d],"textord");f+=g.text}s=Number(f),l=s*2}var p=!l;u.body.forEach(function(w){for(var D=1;D<w.length;D+=2){var R=ce(w[D],"styling"),j=ce(R.body[0],"ordgroup");j.body.unshift(o)}if(p)l<w.length&&(l=w.length);else{var V=w.length/2;if(s<V)throw new q("Too many math in a row: "+("expected "+s+", but got "+V),w[0])}});for(var T=0;T<l;++T){var v="r",I=0;T%2===1?v="l":T>0&&p&&(I=1),n[T]={type:"align",align:v,pregap:I,postgap:0}}return u.colSeparationType=p?"align":"alignat",u};It({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=k0(t[0]),n=r?[t[0]]:ce(t[0],"ordgroup").body,a=n.map(function(u){var s=$i(u),l=s.text;if("lcr".includes(l))return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+l,u)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return nr(e.parser,i,Ji(e.envName))},htmlBuilder:_t,mathmlBuilder:Nt});It({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,!"lcr".includes(r))throw new q("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=nr(e.parser,n,Ji(e.envName)),u=Math.max(0,...i.body.map(s=>s.length));return i.cols=new Array(u).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:_t,mathmlBuilder:Nt});It({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=nr(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:_t,mathmlBuilder:Nt});It({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=k0(t[0]),n=r?[t[0]]:ce(t[0],"ordgroup").body,a=n.map(function(u){var s=$i(u),l=s.text;if("lc".includes(l))return{type:"align",align:l};throw new q("Unknown column alignment: "+l,u)});if(a.length>1)throw new q("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=nr(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new q("{subarray} can contain only one column");return i},htmlBuilder:_t,mathmlBuilder:Nt});It({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=nr(e.parser,t,Ji(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:_t,mathmlBuilder:Nt});It({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Pc,htmlBuilder:_t,mathmlBuilder:Nt});It({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){mp.has(e.envName)&&I0(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ki(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return nr(e.parser,t,"display")},htmlBuilder:_t,mathmlBuilder:Nt});It({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Pc,htmlBuilder:_t,mathmlBuilder:Nt});It({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){I0(e);var t={autoTag:Ki(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return nr(e.parser,t,"display")},htmlBuilder:_t,mathmlBuilder:Nt});It({type:"array",names:["CD"],props:{numArgs:0},handler(e){return I0(e),rp(e.parser)},htmlBuilder:_t,mathmlBuilder:Nt});E("\\nonumber","\\gdef\\@eqnsw{0}");E("\\notag","\\nonumber");ee({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new q(e.funcName+" valid only within array environment")}});var Ns=Rc;ee({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if(a.type!=="ordgroup")throw new q("Invalid environment name",a);for(var i="",u=0;u<a.body.length;++u)i+=ce(a.body[u],"textord").text;if(n==="\\begin"){if(!Ns.hasOwnProperty(i))throw new q("No such environment: "+i,a);var s=Ns[i],{args:l,optArgs:o}=r.parseArguments("\\begin{"+i+"}",s),f={mode:r.mode,envName:i,parser:r},d=s.handler(f,l,o);r.expect("\\end",!1);var g=r.nextToken,p=ce(r.parseFunction(),"environment");if(p.name!==i)throw new q("Mismatch: \\begin{"+i+"} matched by \\end{"+p.name+"}",g);return d}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var Bc=(e,t)=>{var r=e.font,n=t.withFont(r);return pe(e.body,n)},Fc=(e,t)=>{var r=e.font,n=t.withFont(r);return Te(e.body,n)},Ds={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ee({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=c0(t[0]),i=n;return i in Ds&&(i=Ds[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:Bc,mathmlBuilder:Fc});ee({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:w0(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:qt(n)}}});ee({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:i}=r,u=r.parseExpression(!0,a),s="math"+n.slice(1);return{type:"font",mode:i,font:s,body:{type:"ordgroup",mode:r.mode,body:u}}},htmlBuilder:Bc,mathmlBuilder:Fc});var gp=(e,t)=>{var r=t.style,n=r.fracNum(),a=r.fracDen(),i;i=t.havingStyle(n);var u=pe(e.numer,i,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;u.height=u.height<s?s:u.height,u.depth=u.depth<l?l:u.depth}i=t.havingStyle(a);var o=pe(e.denom,i,t),f,d,g;e.hasBarLine?(e.barSize?(d=Ce(e.barSize,t),f=Or("frac-line",t,d)):f=Or("frac-line",t),d=f.height,g=f.height):(f=null,d=0,g=t.fontMetrics().defaultRuleThickness);var p,T,v;r.size===se.DISPLAY.size?(p=t.fontMetrics().num1,d>0?T=3*g:T=7*g,v=t.fontMetrics().denom1):(d>0?(p=t.fontMetrics().num2,T=g):(p=t.fontMetrics().num3,T=3*g),v=t.fontMetrics().denom2);var I;if(f){var D=t.fontMetrics().axisHeight;p-u.depth-(D+.5*d)<T&&(p+=T-(p-u.depth-(D+.5*d))),D-.5*d-(o.height-v)<T&&(v+=T-(D-.5*d-(o.height-v)));var R=-(D-.5*d);I=ge({positionType:"individualShift",children:[{type:"elem",elem:o,shift:v},{type:"elem",elem:f,shift:R},{type:"elem",elem:u,shift:-p}]})}else{var w=p-u.depth-(o.height-v);w<T&&(p+=.5*(T-w),v+=.5*(T-w)),I=ge({positionType:"individualShift",children:[{type:"elem",elem:o,shift:v},{type:"elem",elem:u,shift:-p}]})}i=t.havingStyle(r),I.height*=i.sizeMultiplier/t.sizeMultiplier,I.depth*=i.sizeMultiplier/t.sizeMultiplier;var j;r.size===se.DISPLAY.size?j=t.fontMetrics().delim1:r.size===se.SCRIPTSCRIPT.size?j=t.havingStyle(se.SCRIPT).fontMetrics().delim2:j=t.fontMetrics().delim2;var V,O;return e.leftDelim==null?V=bn(t,["mopen"]):V=li(e.leftDelim,j,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?O=z([]):e.rightDelim==null?O=bn(t,["mclose"]):O=li(e.rightDelim,j,!0,t.havingStyle(r),e.mode,["mclose"]),z(["mord"].concat(i.sizingClasses(t)),[V,z(["mfrac"],[I]),O],t)},bp=(e,t)=>{var r=new Y("mfrac",[Te(e.numer,t),Te(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Ce(e.barSize,t);r.setAttribute("linethickness",W(n))}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var i=new Y("mo",[new Me(e.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}if(a.push(r),e.rightDelim!=null){var u=new Y("mo",[new Me(e.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),a.push(u)}return Vi(a)}return r},Hc=(e,t)=>{if(!t)return e;var r={type:"styling",mode:e.mode,style:t,body:[e]};return r};ee({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1],u,s=null,l=null;switch(n){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":u=!0;break;case"\\\\atopfrac":u=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":u=!1,s="(",l=")";break;case"\\\\bracefrac":u=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":u=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}var o=n==="\\cfrac",f=null;return o||n.startsWith("\\d")?f="display":n.startsWith("\\t")&&(f="text"),Hc({type:"genfrac",mode:r.mode,numer:a,denom:i,continued:o,hasBarLine:u,leftDelim:s,rightDelim:l,barSize:null},f)},htmlBuilder:gp,mathmlBuilder:bp});ee({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:n}}});var Os=["display","text","script","scriptscript"],Ls=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};ee({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],a=t[5],i=c0(t[0]),u=i.type==="atom"&&i.family==="open"?Ls(i.text):null,s=c0(t[1]),l=s.type==="atom"&&s.family==="close"?Ls(s.text):null,o=ce(t[2],"size"),f,d=null;o.isBlank?f=!0:(d=o.value,f=d.number>0);var g=null,p=t[3];if(p.type==="ordgroup"){if(p.body.length>0){var T=ce(p.body[0],"textord");g=Os[Number(T.text)]}}else p=ce(p,"textord"),g=Os[Number(p.text)];return Hc({type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:f,barSize:d,leftDelim:u,rightDelim:l},g)}});ee({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:ce(t[0],"size").value,token:a}}});ee({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=ce(t[1],"infix").size;if(!i)throw new Error("\\\\abovefrac expected size, but got "+String(i));var u=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:u,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null}}});var zc=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?pe(e.sup,t.havingStyle(r.sup()),t):pe(e.sub,t.havingStyle(r.sub()),t),a=ce(e.base,"horizBrace")):a=ce(e,"horizBrace");var i=pe(a.base,t.havingBaseStyle(se.DISPLAY)),u=S0(a,t),s;if(a.isOver?(s=ge({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:u}]}),s.children[0].children[0].children[1].classes.push("svg-align")):(s=ge({positionType:"bottom",positionData:i.depth+.1+u.height,children:[{type:"elem",elem:u},{type:"kern",size:.1},{type:"elem",elem:i}]}),s.children[0].children[0].children[0].classes.push("svg-align")),n){var l=z(["mord",a.isOver?"mover":"munder"],[s],t);a.isOver?s=ge({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]}):s=ge({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]})}return z(["mord",a.isOver?"mover":"munder"],[s],t)},Ep=(e,t)=>{var r=A0(e.label);return new Y(e.isOver?"mover":"munder",[Te(e.base,t),r])};ee({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:zc,mathmlBuilder:Ep});ee({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=ce(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:De(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Be(e.body,t,!1);return M6(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=tr(e.body,t);return r instanceof Y||(r=new Y("mrow",[r])),r.setAttribute("href",e.href),r}});ee({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=ce(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var u=n[i];u==="~"&&(u="\\textasciitilde"),a.push({type:"textord",mode:"text",text:u})}var s={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:De(s)}}});ee({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:De(t[0])}},htmlBuilder(e,t){var r=Be(e.body,t,!1);return Vt(r)},mathmlBuilder(e,t){return new Y("mrow",tt(e.body,t))}});ee({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:a}=e,i=ce(t[0],"raw").string,u=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(n){case"\\htmlClass":l.class=i,s={command:"\\htmlClass",class:i};break;case"\\htmlId":l.id=i,s={command:"\\htmlId",id:i};break;case"\\htmlStyle":l.style=i,s={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var o=i.split(","),f=0;f<o.length;f++){var d=o[f],g=d.indexOf("=");if(g<0)throw new q("\\htmlData key/value '"+d+"' missing equals sign");var p=d.slice(0,g),T=d.slice(g+1);l["data-"+p.trim()]=T}s={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(s)?{type:"html",mode:r.mode,attributes:l,body:De(u)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Be(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=z(n,r,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&a.setAttribute(i,e.attributes[i]);return a},mathmlBuilder:(e,t)=>tr(e.body,t)});ee({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:De(t[0]),mathml:De(t[1])}},htmlBuilder:(e,t)=>{var r=Be(e.html,t,!1);return Vt(r)},mathmlBuilder:(e,t)=>tr(e.mathml,t)});var da=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new q("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!ac(n))throw new q("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ee({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},i={number:.9,unit:"em"},u={number:0,unit:"em"},s="";if(r[0])for(var l=ce(r[0],"raw").string,o=l.split(","),f=0;f<o.length;f++){var d=o[f].split("=");if(d.length===2){var g=d[1].trim();switch(d[0].trim()){case"alt":s=g;break;case"width":a=da(g);break;case"height":i=da(g);break;case"totalheight":u=da(g);break;default:throw new q("Invalid key: '"+d[0]+"' in \\includegraphics.")}}}var p=ce(t[0],"url").url;return s===""&&(s=p,s=s.replace(/^.*[\\/]/,""),s=s.substring(0,s.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:s,width:a,height:i,totalheight:u,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Ce(e.height,t),n=0;e.totalheight.number>0&&(n=Ce(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=Ce(e.width,t));var i={height:W(r+n)};a>0&&(i.width=W(a)),n>0&&(i.verticalAlign=W(-n));var u=new C6(e.src,e.alt,i);return u.height=r,u.depth=n,u},mathmlBuilder:(e,t)=>{var r=new Y("mglyph",[]);r.setAttribute("alt",e.alt);var n=Ce(e.height,t),a=0;if(e.totalheight.number>0&&(a=Ce(e.totalheight,t)-n,r.setAttribute("valign",W(-a))),r.setAttribute("height",W(n+a)),e.width.number>0){var i=Ce(e.width,t);r.setAttribute("width",W(i))}return r.setAttribute("src",e.src),r}});ee({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=ce(t[0],"size");if(r.settings.strict){var i=n[1]==="m",u=a.value.unit==="mu";i?(u||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):u&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder(e,t){return cc(e.dimension,t)},mathmlBuilder(e,t){var r=Ce(e.dimension,t);return new gc(r)}});ee({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=z([],[pe(e.body,t)]),r=z(["inner"],[r],t)):r=z(["inner"],[pe(e.body,t)]);var n=z(["fix"],[]),a=z([e.alignment],[r,n],t),i=z(["strut"]);return i.style.height=W(a.height+a.depth),a.depth&&(i.style.verticalAlign=W(-a.depth)),a.children.unshift(i),a=z(["thinbox"],[a],t),z(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new Y("mpadded",[Te(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});ee({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",u=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:u}}});ee({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new q("Mismatched "+e.funcName)}});var Rs=(e,t)=>{switch(t.style.size){case se.DISPLAY.size:return e.display;case se.TEXT.size:return e.text;case se.SCRIPT.size:return e.script;case se.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ee({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:De(t[0]),text:De(t[1]),script:De(t[2]),scriptscript:De(t[3])}},htmlBuilder:(e,t)=>{var r=Rs(e,t),n=Be(r,t,!1);return Vt(n)},mathmlBuilder:(e,t)=>{var r=Rs(e,t);return tr(r,t)}});var Uc=(e,t,r,n,a,i,u)=>{e=z([],[e]);var s=r&&qt(r),l,o;if(t){var f=pe(t,n.havingStyle(a.sup()),n);o={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-f.depth)}}if(r){var d=pe(r,n.havingStyle(a.sub()),n);l={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-d.height)}}var g;if(o&&l){var p=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+u;g=ge({positionType:"bottom",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:W(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:o.kern},{type:"elem",elem:o.elem,marginLeft:W(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(l){var T=e.height-u;g=ge({positionType:"top",positionData:T,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:W(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e}]})}else if(o){var v=e.depth+u;g=ge({positionType:"bottom",positionData:v,children:[{type:"elem",elem:e},{type:"kern",size:o.kern},{type:"elem",elem:o.elem,marginLeft:W(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else return e;var I=[g];if(l&&i!==0&&!s){var w=z(["mspace"],[],n);w.style.marginRight=W(i),I.unshift(w)}return z(["mop","op-limits"],I,n)},qc=new Set(["\\smallint"]),Hr=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=ce(e.base,"op"),a=!0):i=ce(e,"op");var u=t.style,s=!1;u.size===se.DISPLAY.size&&i.symbol&&!qc.has(i.name)&&(s=!0);var l;if(i.symbol){var o=s?"Size2-Regular":"Size1-Regular",f="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(f=i.name.slice(1),i.name=f==="oiint"?"\\iint":"\\iiint"),l=$e(i.name,o,"math",t,["mop","op-symbol",s?"large-op":"small-op"]),f.length>0){var d=l.italic,g=fc(f+"Size"+(s?"2":"1"),t);l=ge({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:g,shift:s?.08:0}]}),i.name="\\"+f,l.classes.unshift("mop"),l.italic=d}}else if(i.body){var p=Be(i.body,t,!0);p.length===1&&p[0]instanceof ft?(l=p[0],l.classes[0]="mop"):l=z(["mop"],p,t)}else{for(var T=[],v=1;v<i.name.length;v++)T.push(qi(i.name[v],i.mode,t));l=z(["mop"],T,t)}var I=0,w=0;return(l instanceof ft||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(I=(l.height-l.depth)/2-t.fontMetrics().axisHeight,w=l.italic),a?Uc(l,r,n,t,u,w,I):(I&&(l.style.position="relative",l.style.top=W(I)),l)},kn=(e,t)=>{var r;if(e.symbol)r=new Y("mo",[dt(e.name,e.mode)]),qc.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Y("mo",tt(e.body,t));else{r=new Y("mi",[new Me(e.name.slice(1))]);var n=new Y("mo",[dt("⁡","text")]);e.parentIsSupSub?r=new Y("mrow",[r,n]):r=pc([r,n])}return r},Tp={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ee({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=n;return a.length===1&&(a=Tp[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Hr,mathmlBuilder:kn});ee({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:De(n)}},htmlBuilder:Hr,mathmlBuilder:kn});var yp={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ee({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Hr,mathmlBuilder:kn});ee({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Hr,mathmlBuilder:kn});ee({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=yp[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Hr,mathmlBuilder:kn});var Yc=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=ce(e.base,"operatorname"),a=!0):i=ce(e,"operatorname");var u;if(i.body.length>0){for(var s=i.body.map(d=>{var g=d.text;return typeof g=="string"?{type:"textord",mode:d.mode,text:g}:d}),l=Be(s,t.withFont("mathrm"),!0),o=0;o<l.length;o++){var f=l[o];f instanceof ft&&(f.text=f.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}u=z(["mop"],l,t)}else u=z(["mop"],[],t);return a?Uc(u,r,n,t,t.style,0,0):u},xp=(e,t)=>{for(var r=tt(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof gc))if(i instanceof Y)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var u=i.children[0];i.children.length===1&&u instanceof Me?u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var s=r.map(f=>f.toText()).join("");r=[new Me(s)]}var l=new Y("mi",r);l.setAttribute("mathvariant","normal");var o=new Y("mo",[dt("⁡","text")]);return e.parentIsSupSub?new Y("mrow",[l,o]):pc([l,o])};ee({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:De(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Yc,mathmlBuilder:xp});E("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");mr({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Vt(Be(e.body,t,!1)):z(["mord"],Be(e.body,t,!0),t)},mathmlBuilder(e,t){return tr(e.body,t,!0)}});ee({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=pe(e.body,t.havingCrampedStyle()),n=Or("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=ge({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]});return z(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new Y("mo",[new Me("‾")]);r.setAttribute("stretchy","true");var n=new Y("mover",[Te(e.body,t),r]);return n.setAttribute("accent","true"),n}});ee({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:De(n)}},htmlBuilder:(e,t)=>{var r=Be(e.body,t.withPhantom(),!1);return Vt(r)},mathmlBuilder:(e,t)=>{var r=tt(e.body,t);return new Y("mphantom",r)}});ee({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=z([],[pe(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=ge({positionType:"firstBaseline",children:[{type:"elem",elem:r}]}),z(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=tt(De(e.body),t),n=new Y("mphantom",r),a=new Y("mpadded",[n]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});ee({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=z(["inner"],[pe(e.body,t.withPhantom())]),n=z(["fix"],[]);return z(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=tt(De(e.body),t),n=new Y("mphantom",r),a=new Y("mpadded",[n]);return a.setAttribute("width","0px"),a}});ee({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=ce(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=pe(e.body,t),n=Ce(e.dy,t);return ge({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new Y("mpadded",[Te(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});ee({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ee({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,a=r[0],i=ce(t[0],"size"),u=ce(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&ce(a,"size").value,width:i.value,height:u.value}},htmlBuilder(e,t){var r=z(["mord","rule"],[],t),n=Ce(e.width,t),a=Ce(e.height,t),i=e.shift?Ce(e.shift,t):0;return r.style.borderRightWidth=W(n),r.style.borderTopWidth=W(a),r.style.bottom=W(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Ce(e.width,t),n=Ce(e.height,t),a=e.shift?Ce(e.shift,t):0,i=t.color&&t.getColor()||"black",u=new Y("mspace");u.setAttribute("mathbackground",i),u.setAttribute("width",W(r)),u.setAttribute("height",W(n));var s=new Y("mpadded",[u]);return a>=0?s.setAttribute("height",W(a)):(s.setAttribute("height",W(a)),s.setAttribute("depth",W(-a))),s.setAttribute("voffset",W(a)),s}});function Vc(e,t,r){for(var n=Be(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var u=n[i].classes.indexOf("sizing");u<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[u+1]==="reset-size"+t.size&&(n[i].classes[u+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return Vt(n)}var Ms=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],vp=(e,t)=>{var r=t.havingSize(e.size);return Vc(e.body,r,t)};ee({type:"sizing",names:Ms,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:Ms.indexOf(n)+1,body:i}},htmlBuilder:vp,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=tt(e.body,r),a=new Y("mstyle",n);return a.setAttribute("mathsize",W(r.sizeMultiplier)),a}});ee({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,i=!1,u=r[0]&&ce(r[0],"ordgroup");if(u)for(var s="",l=0;l<u.body.length;++l){var o=u.body[l];if(s=o.text,s==="t")a=!0;else if(s==="b")i=!0;else{a=!1,i=!1;break}}else a=!0,i=!0;var f=t[0];return{type:"smash",mode:n.mode,body:f,smashHeight:a,smashDepth:i}},htmlBuilder:(e,t)=>{var r=z([],[pe(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].depth=0;var i=ge({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return z(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new Y("mpadded",[Te(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});ee({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=pe(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=Lr(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,i=a;t.style.id<se.TEXT.id&&(i=t.fontMetrics().xHeight);var u=a+i/4,s=r.height+r.depth+u+a,{span:l,ruleWidth:o,advanceWidth:f}=lp(s,t),d=l.height-o;d>r.height+r.depth+u&&(u=(u+d-r.height-r.depth)/2);var g=l.height-r.height-u-o;r.style.paddingLeft=W(f);var p=ge({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+g)},{type:"elem",elem:l},{type:"kern",size:o}]});if(e.index){var T=t.havingStyle(se.SCRIPTSCRIPT),v=pe(e.index,T,t),I=.6*(p.height-p.depth),w=ge({positionType:"shift",positionData:-I,children:[{type:"elem",elem:v}]}),D=z(["root"],[w]);return z(["mord","sqrt"],[D,p],t)}else return z(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new Y("mroot",[Te(r,t),Te(n,t)]):new Y("msqrt",[Te(r,t)])}});var Ps={display:se.DISPLAY,text:se.TEXT,script:se.SCRIPT,scriptscript:se.SCRIPTSCRIPT};ee({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!0,r),u=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:u,body:i}},htmlBuilder(e,t){var r=Ps[e.style],n=t.havingStyle(r).withFont("");return Vc(e.body,n,t)},mathmlBuilder(e,t){var r=Ps[e.style],n=t.havingStyle(r),a=tt(e.body,n),i=new Y("mstyle",a),u={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=u[e.style];return i.setAttribute("scriptlevel",s[0]),i.setAttribute("displaystyle",s[1]),i}});var Ap=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===se.DISPLAY.size||n.alwaysHandleSupSub);return a?Hr:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===se.DISPLAY.size||n.limits);return i?Yc:null}else{if(n.type==="accent")return qt(n.base)?Wi:null;if(n.type==="horizBrace"){var u=!t.sub;return u===n.isOver?zc:null}else return null}else return null};mr({type:"supsub",htmlBuilder(e,t){var r=Ap(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:i}=e,u=pe(n,t),s,l,o=t.fontMetrics(),f=0,d=0,g=n&&qt(n);if(a){var p=t.havingStyle(t.style.sup());s=pe(a,p,t),g||(f=u.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(i){var T=t.havingStyle(t.style.sub());l=pe(i,T,t),g||(d=u.depth+T.fontMetrics().subDrop*T.sizeMultiplier/t.sizeMultiplier)}var v;t.style===se.DISPLAY?v=o.sup1:t.style.cramped?v=o.sup3:v=o.sup2;var I=t.sizeMultiplier,w=W(.5/o.ptPerEm/I),D=null;if(l){var R=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(u instanceof ft||R)&&(D=W(-u.italic))}var j;if(s&&l){f=Math.max(f,v,s.depth+.25*o.xHeight),d=Math.max(d,o.sub2);var V=o.defaultRuleThickness,O=4*V;if(f-s.depth-(l.height-d)<O){d=O-(f-s.depth)+l.height;var X=.8*o.xHeight-(f-s.depth);X>0&&(f+=X,d-=X)}var re=[{type:"elem",elem:l,shift:d,marginRight:w,marginLeft:D},{type:"elem",elem:s,shift:-f,marginRight:w}];j=ge({positionType:"individualShift",children:re})}else if(l){d=Math.max(d,o.sub1,l.height-.8*o.xHeight);var G=[{type:"elem",elem:l,marginLeft:D,marginRight:w}];j=ge({positionType:"shift",positionData:d,children:G})}else if(s)f=Math.max(f,v,s.depth+.25*o.xHeight),j=ge({positionType:"shift",positionData:-f,children:[{type:"elem",elem:s,marginRight:w}]});else throw new Error("supsub must have either sup or sub.");var M=ai(u,"right")||"mord";return z([M],[u,z(["msupsub"],[j])],t)},mathmlBuilder(e,t){var r=!1,n,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[Te(e.base,t)];e.sub&&i.push(Te(e.sub,t)),e.sup&&i.push(Te(e.sup,t));var u;if(r)u=n?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;o&&o.type==="op"&&o.limits&&t.style===se.DISPLAY||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(t.style===se.DISPLAY||o.limits)?u="munderover":u="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===se.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===se.DISPLAY)?u="munder":u="msub"}else{var s=e.base;s&&s.type==="op"&&s.limits&&(t.style===se.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||t.style===se.DISPLAY)?u="mover":u="msup"}return new Y(u,i)}});mr({type:"atom",htmlBuilder(e,t){return qi(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new Y("mo",[dt(e.text,e.mode)]);if(e.family==="bin"){var n=Gi(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var Gc={mi:"italic",mn:"normal",mtext:"normal"};mr({type:"mathord",htmlBuilder(e,t){return v0(e,t,"mathord")},mathmlBuilder(e,t){var r=new Y("mi",[dt(e.text,e.mode,t)]),n=Gi(e,t)||"italic";return n!==Gc[r.type]&&r.setAttribute("mathvariant",n),r}});mr({type:"textord",htmlBuilder(e,t){return v0(e,t,"textord")},mathmlBuilder(e,t){var r=dt(e.text,e.mode,t),n=Gi(e,t)||"normal",a;return e.mode==="text"?a=new Y("mtext",[r]):/[0-9]/.test(e.text)?a=new Y("mn",[r]):e.text==="\\prime"?a=new Y("mo",[r]):a=new Y("mi",[r]),n!==Gc[a.type]&&a.setAttribute("mathvariant",n),a}});var ma={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},pa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};mr({type:"spacing",htmlBuilder(e,t){if(pa.hasOwnProperty(e.text)){var r=pa[e.text].className||"";if(e.mode==="text"){var n=v0(e,t,"textord");return n.classes.push(r),n}else return z(["mspace",r],[qi(e.text,e.mode,t)],t)}else{if(ma.hasOwnProperty(e.text))return z(["mspace",ma[e.text]],[],t);throw new q('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(pa.hasOwnProperty(e.text))r=new Y("mtext",[new Me(" ")]);else{if(ma.hasOwnProperty(e.text))return new Y("mspace");throw new q('Unknown type of space "'+e.text+'"')}return r}});var Bs=()=>{var e=new Y("mtd",[]);return e.setAttribute("width","50%"),e};mr({type:"tag",mathmlBuilder(e,t){var r=new Y("mtable",[new Y("mtr",[Bs(),new Y("mtd",[tr(e.body,t)]),Bs(),new Y("mtd",[tr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Fs={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Hs={"\\textbf":"textbf","\\textmd":"textmd"},Sp={"\\textit":"textit","\\textup":"textup"},zs=(e,t)=>{var r=e.font;if(r){if(Fs[r])return t.withTextFontFamily(Fs[r]);if(Hs[r])return t.withTextFontWeight(Hs[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Sp[r])};ee({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"text",mode:r.mode,body:De(a),font:n}},htmlBuilder(e,t){var r=zs(e,t),n=Be(e.body,r,!0);return z(["mord","text"],n,r)},mathmlBuilder(e,t){var r=zs(e,t);return tr(e.body,r)}});ee({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=pe(e.body,t),n=Or("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=ge({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]});return z(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new Y("mo",[new Me("‾")]);r.setAttribute("stretchy","true");var n=new Y("munder",[Te(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});ee({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=pe(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return ge({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){return new Y("mpadded",[Te(e.body,t)],["vcenter"])}});ee({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Us(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var u=r[i];u==="~"&&(u="\\textasciitilde"),n.push($e(u,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return z(["mord","text"].concat(a.sizingClasses(t)),oc(n),a)},mathmlBuilder(e,t){var r=new Me(Us(e)),n=new Y("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Us=e=>e.body.replace(/ /g,e.star?"␣":" "),Qt=dc,$c=`[ \r
289
+ ]`,kp="\\\\[a-zA-Z@]+",wp="\\\\[^\uD800-\uDFFF]",Cp="("+kp+")"+$c+"*",Ip=`\\\\(
290
+ |[ \r ]+
291
+ ?)[ \r ]*`,oi="[̀-ͯ]",_p=new RegExp(oi+"+$"),Np="("+$c+"+)|"+(Ip+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(oi+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(oi+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Cp)+("|"+wp+")");class qs{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(Np,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new ut("EOF",new Je(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new q("Unexpected character: '"+t[r]+"'",new ut(t[r],new Je(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(`
292
+ `,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new ut(a,new Je(this,r,this.tokenRegex.lastIndex))}}class Dp{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new q("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var Op=Mc;E("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});E("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});E("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});E("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});E("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});E("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");E("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Ys={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};E("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new q("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=Ys[t.text],n==null||n>=r)throw new q("Invalid base-"+r+" digit "+t.text);for(var a;(a=Ys[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var Zi=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new q("\\newcommand's first argument must be a macro name");var i=a[0].text,u=e.isDefined(i);if(u&&!t)throw new q("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!u&&!r)throw new q("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var l="",o=e.expandNextToken();o.text!=="]"&&o.text!=="EOF";)l+=o.text,o=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new q("Invalid number of arguments: "+l);s=parseInt(l),a=e.consumeArg().tokens}return u&&n||e.macros.set(i,{tokens:a,numArgs:s}),""};E("\\newcommand",e=>Zi(e,!1,!0,!1));E("\\renewcommand",e=>Zi(e,!0,!1,!1));E("\\providecommand",e=>Zi(e,!0,!0,!0));E("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});E("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});E("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Qt[r],Ae.math[r],Ae.text[r]),""});E("\\bgroup","{");E("\\egroup","}");E("~","\\nobreakspace");E("\\lq","`");E("\\rq","'");E("\\aa","\\r a");E("\\AA","\\r A");E("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");E("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");E("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");E("ℬ","\\mathscr{B}");E("ℰ","\\mathscr{E}");E("ℱ","\\mathscr{F}");E("ℋ","\\mathscr{H}");E("ℐ","\\mathscr{I}");E("ℒ","\\mathscr{L}");E("ℳ","\\mathscr{M}");E("ℛ","\\mathscr{R}");E("ℭ","\\mathfrak{C}");E("ℌ","\\mathfrak{H}");E("ℨ","\\mathfrak{Z}");E("\\Bbbk","\\Bbb{k}");E("·","\\cdotp");E("\\llap","\\mathllap{\\textrm{#1}}");E("\\rlap","\\mathrlap{\\textrm{#1}}");E("\\clap","\\mathclap{\\textrm{#1}}");E("\\mathstrut","\\vphantom{(}");E("\\underbar","\\underline{\\text{#1}}");E("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');E("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");E("\\ne","\\neq");E("≠","\\neq");E("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");E("∉","\\notin");E("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");E("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");E("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");E("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");E("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");E("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");E("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");E("⟂","\\perp");E("‼","\\mathclose{!\\mkern-0.8mu!}");E("∌","\\notni");E("⌜","\\ulcorner");E("⌝","\\urcorner");E("⌞","\\llcorner");E("⌟","\\lrcorner");E("©","\\copyright");E("®","\\textregistered");E("️","\\textregistered");E("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');E("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');E("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');E("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');E("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");E("⋮","\\vdots");E("\\varGamma","\\mathit{\\Gamma}");E("\\varDelta","\\mathit{\\Delta}");E("\\varTheta","\\mathit{\\Theta}");E("\\varLambda","\\mathit{\\Lambda}");E("\\varXi","\\mathit{\\Xi}");E("\\varPi","\\mathit{\\Pi}");E("\\varSigma","\\mathit{\\Sigma}");E("\\varUpsilon","\\mathit{\\Upsilon}");E("\\varPhi","\\mathit{\\Phi}");E("\\varPsi","\\mathit{\\Psi}");E("\\varOmega","\\mathit{\\Omega}");E("\\substack","\\begin{subarray}{c}#1\\end{subarray}");E("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");E("\\boxed","\\fbox{$\\displaystyle{#1}$}");E("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");E("\\implies","\\DOTSB\\;\\Longrightarrow\\;");E("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");E("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");E("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Vs={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"},Lp=new Set(["bin","rel"]);E("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Vs?t=Vs[r]:(r.slice(0,4)==="\\not"||r in Ae.math&&Lp.has(Ae.math[r].group))&&(t="\\dotsb"),t});var eu={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};E("\\dotso",function(e){var t=e.future().text;return t in eu?"\\ldots\\,":"\\ldots"});E("\\dotsc",function(e){var t=e.future().text;return t in eu&&t!==","?"\\ldots\\,":"\\ldots"});E("\\cdots",function(e){var t=e.future().text;return t in eu?"\\@cdots\\,":"\\@cdots"});E("\\dotsb","\\cdots");E("\\dotsm","\\cdots");E("\\dotsi","\\!\\cdots");E("\\dotsx","\\ldots\\,");E("\\DOTSI","\\relax");E("\\DOTSB","\\relax");E("\\DOTSX","\\relax");E("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");E("\\,","\\tmspace+{3mu}{.1667em}");E("\\thinspace","\\,");E("\\>","\\mskip{4mu}");E("\\:","\\tmspace+{4mu}{.2222em}");E("\\medspace","\\:");E("\\;","\\tmspace+{5mu}{.2777em}");E("\\thickspace","\\;");E("\\!","\\tmspace-{3mu}{.1667em}");E("\\negthinspace","\\!");E("\\negmedspace","\\tmspace-{4mu}{.2222em}");E("\\negthickspace","\\tmspace-{5mu}{.277em}");E("\\enspace","\\kern.5em ");E("\\enskip","\\hskip.5em\\relax");E("\\quad","\\hskip1em\\relax");E("\\qquad","\\hskip2em\\relax");E("\\tag","\\@ifstar\\tag@literal\\tag@paren");E("\\tag@paren","\\tag@literal{({#1})}");E("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});E("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");E("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");E("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");E("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");E("\\newline","\\\\\\relax");E("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Wc=W(At["Main-Regular"][84][1]-.7*At["Main-Regular"][65][1]);E("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Wc+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");E("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Wc+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");E("\\hspace","\\@ifstar\\@hspacer\\@hspace");E("\\@hspace","\\hskip #1\\relax");E("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");E("\\ordinarycolon",":");E("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");E("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');E("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');E("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');E("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');E("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');E("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');E("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');E("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');E("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');E("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');E("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');E("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');E("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');E("∷","\\dblcolon");E("∹","\\eqcolon");E("≔","\\coloneqq");E("≕","\\eqqcolon");E("⩴","\\Coloneqq");E("\\ratio","\\vcentcolon");E("\\coloncolon","\\dblcolon");E("\\colonequals","\\coloneqq");E("\\coloncolonequals","\\Coloneqq");E("\\equalscolon","\\eqqcolon");E("\\equalscoloncolon","\\Eqqcolon");E("\\colonminus","\\coloneq");E("\\coloncolonminus","\\Coloneq");E("\\minuscolon","\\eqcolon");E("\\minuscoloncolon","\\Eqcolon");E("\\coloncolonapprox","\\Colonapprox");E("\\coloncolonsim","\\Colonsim");E("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");E("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");E("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");E("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");E("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");E("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");E("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");E("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");E("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");E("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");E("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");E("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");E("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");E("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");E("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");E("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");E("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");E("\\nleqq","\\html@mathml{\\@nleqq}{≰}");E("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");E("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");E("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");E("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");E("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");E("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");E("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");E("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");E("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");E("\\imath","\\html@mathml{\\@imath}{ı}");E("\\jmath","\\html@mathml{\\@jmath}{ȷ}");E("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");E("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");E("⟦","\\llbracket");E("⟧","\\rrbracket");E("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");E("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");E("⦃","\\lBrace");E("⦄","\\rBrace");E("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");E("⦵","\\minuso");E("\\darr","\\downarrow");E("\\dArr","\\Downarrow");E("\\Darr","\\Downarrow");E("\\lang","\\langle");E("\\rang","\\rangle");E("\\uarr","\\uparrow");E("\\uArr","\\Uparrow");E("\\Uarr","\\Uparrow");E("\\N","\\mathbb{N}");E("\\R","\\mathbb{R}");E("\\Z","\\mathbb{Z}");E("\\alef","\\aleph");E("\\alefsym","\\aleph");E("\\Alpha","\\mathrm{A}");E("\\Beta","\\mathrm{B}");E("\\bull","\\bullet");E("\\Chi","\\mathrm{X}");E("\\clubs","\\clubsuit");E("\\cnums","\\mathbb{C}");E("\\Complex","\\mathbb{C}");E("\\Dagger","\\ddagger");E("\\diamonds","\\diamondsuit");E("\\empty","\\emptyset");E("\\Epsilon","\\mathrm{E}");E("\\Eta","\\mathrm{H}");E("\\exist","\\exists");E("\\harr","\\leftrightarrow");E("\\hArr","\\Leftrightarrow");E("\\Harr","\\Leftrightarrow");E("\\hearts","\\heartsuit");E("\\image","\\Im");E("\\infin","\\infty");E("\\Iota","\\mathrm{I}");E("\\isin","\\in");E("\\Kappa","\\mathrm{K}");E("\\larr","\\leftarrow");E("\\lArr","\\Leftarrow");E("\\Larr","\\Leftarrow");E("\\lrarr","\\leftrightarrow");E("\\lrArr","\\Leftrightarrow");E("\\Lrarr","\\Leftrightarrow");E("\\Mu","\\mathrm{M}");E("\\natnums","\\mathbb{N}");E("\\Nu","\\mathrm{N}");E("\\Omicron","\\mathrm{O}");E("\\plusmn","\\pm");E("\\rarr","\\rightarrow");E("\\rArr","\\Rightarrow");E("\\Rarr","\\Rightarrow");E("\\real","\\Re");E("\\reals","\\mathbb{R}");E("\\Reals","\\mathbb{R}");E("\\Rho","\\mathrm{P}");E("\\sdot","\\cdot");E("\\sect","\\S");E("\\spades","\\spadesuit");E("\\sub","\\subset");E("\\sube","\\subseteq");E("\\supe","\\supseteq");E("\\Tau","\\mathrm{T}");E("\\thetasym","\\vartheta");E("\\weierp","\\wp");E("\\Zeta","\\mathrm{Z}");E("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");E("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");E("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");E("\\bra","\\mathinner{\\langle{#1}|}");E("\\ket","\\mathinner{|{#1}\\rangle}");E("\\braket","\\mathinner{\\langle{#1}\\rangle}");E("\\Bra","\\left\\langle#1\\right|");E("\\Ket","\\left|#1\\right\\rangle");var jc=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,u=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=d=>g=>{e&&(g.macros.set("|",u),a.length&&g.macros.set("\\|",s));var p=d;if(!d&&a.length){var T=g.future();T.text==="|"&&(g.popToken(),p=!0)}return{tokens:p?a:n,numArgs:0}};t.macros.set("|",l(!1)),a.length&&t.macros.set("\\|",l(!0));var o=t.consumeArg().tokens,f=t.expandTokens([...i,...o,...r]);return t.macros.endGroup(),{tokens:f.reverse(),numArgs:0}};E("\\bra@ket",jc(!1));E("\\bra@set",jc(!0));E("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");E("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");E("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");E("\\angln","{\\angl n}");E("\\blue","\\textcolor{##6495ed}{#1}");E("\\orange","\\textcolor{##ffa500}{#1}");E("\\pink","\\textcolor{##ff00af}{#1}");E("\\red","\\textcolor{##df0030}{#1}");E("\\green","\\textcolor{##28ae7b}{#1}");E("\\gray","\\textcolor{gray}{#1}");E("\\purple","\\textcolor{##9d38bd}{#1}");E("\\blueA","\\textcolor{##ccfaff}{#1}");E("\\blueB","\\textcolor{##80f6ff}{#1}");E("\\blueC","\\textcolor{##63d9ea}{#1}");E("\\blueD","\\textcolor{##11accd}{#1}");E("\\blueE","\\textcolor{##0c7f99}{#1}");E("\\tealA","\\textcolor{##94fff5}{#1}");E("\\tealB","\\textcolor{##26edd5}{#1}");E("\\tealC","\\textcolor{##01d1c1}{#1}");E("\\tealD","\\textcolor{##01a995}{#1}");E("\\tealE","\\textcolor{##208170}{#1}");E("\\greenA","\\textcolor{##b6ffb0}{#1}");E("\\greenB","\\textcolor{##8af281}{#1}");E("\\greenC","\\textcolor{##74cf70}{#1}");E("\\greenD","\\textcolor{##1fab54}{#1}");E("\\greenE","\\textcolor{##0d923f}{#1}");E("\\goldA","\\textcolor{##ffd0a9}{#1}");E("\\goldB","\\textcolor{##ffbb71}{#1}");E("\\goldC","\\textcolor{##ff9c39}{#1}");E("\\goldD","\\textcolor{##e07d10}{#1}");E("\\goldE","\\textcolor{##a75a05}{#1}");E("\\redA","\\textcolor{##fca9a9}{#1}");E("\\redB","\\textcolor{##ff8482}{#1}");E("\\redC","\\textcolor{##f9685d}{#1}");E("\\redD","\\textcolor{##e84d39}{#1}");E("\\redE","\\textcolor{##bc2612}{#1}");E("\\maroonA","\\textcolor{##ffbde0}{#1}");E("\\maroonB","\\textcolor{##ff92c6}{#1}");E("\\maroonC","\\textcolor{##ed5fa6}{#1}");E("\\maroonD","\\textcolor{##ca337c}{#1}");E("\\maroonE","\\textcolor{##9e034e}{#1}");E("\\purpleA","\\textcolor{##ddd7ff}{#1}");E("\\purpleB","\\textcolor{##c6b9fc}{#1}");E("\\purpleC","\\textcolor{##aa87ff}{#1}");E("\\purpleD","\\textcolor{##7854ab}{#1}");E("\\purpleE","\\textcolor{##543b78}{#1}");E("\\mintA","\\textcolor{##f5f9e8}{#1}");E("\\mintB","\\textcolor{##edf2df}{#1}");E("\\mintC","\\textcolor{##e0e5cc}{#1}");E("\\grayA","\\textcolor{##f6f7f7}{#1}");E("\\grayB","\\textcolor{##f0f1f2}{#1}");E("\\grayC","\\textcolor{##e3e5e6}{#1}");E("\\grayD","\\textcolor{##d6d8da}{#1}");E("\\grayE","\\textcolor{##babec2}{#1}");E("\\grayF","\\textcolor{##888d93}{#1}");E("\\grayG","\\textcolor{##626569}{#1}");E("\\grayH","\\textcolor{##3b3e40}{#1}");E("\\grayI","\\textcolor{##21242c}{#1}");E("\\kaBlue","\\textcolor{##314453}{#1}");E("\\kaGreen","\\textcolor{##71B307}{#1}");var Xc={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Rp{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new Dp(Op,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new qs(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new ut("EOF",n.loc)),this.pushTokens(a),new ut("",Je.range(r,n))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var a=this.future(),i,u=0,s=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++u;else if(i.text==="}"){if(--u,u===-1)throw new q("Extra }",i)}else if(i.text==="EOF")throw new q("Unexpected end of input in a macro argument, expected '"+(t&&n?t[s]:"}")+"'",i);if(t&&n)if((u===0||u===1&&t[s]==="{")&&i.text===t[s]){if(++s,s===t.length){r.splice(-s,s);break}}else s=0}while(u!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:i}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new q("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;a<n.length;a++){var i=this.popToken();if(n[a]!==i.text)throw new q("Use of the macro doesn't match its definition",i)}}for(var u=[],s=0;s<t;s++)u.push(this.consumeArg(r&&r[s+1]).tokens);return u}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new q("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||t&&a.unexpandable){if(t&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new q("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var i=a.tokens,u=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var s=i.length-1;s>=0;--s){var l=i[s];if(l.text==="#"){if(s===0)throw new q("Incomplete placeholder at end of macro body",l);if(l=i[--s],l.text==="#")i.splice(s+1,1);else if(/^[1-9]$/.test(l.text))i.splice(s,2,...u[+l.text-1]);else throw new q("Not a valid argument number",l)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new ut(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var a=typeof r=="function"?r(this):r;if(typeof a=="string"){var i=0;if(a.includes("#"))for(var u=a.replace(/##/g,"");u.includes("#"+(i+1));)++i;for(var s=new qs(a,this.settings),l=[],o=s.lex();o.text!=="EOF";)l.push(o),o=s.lex();l.reverse();var f={tokens:l,numArgs:i};return f}return a}isDefined(t){return this.macros.has(t)||Qt.hasOwnProperty(t)||Ae.math.hasOwnProperty(t)||Ae.text.hasOwnProperty(t)||Xc.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Qt.hasOwnProperty(t)&&!Qt[t].primitive}}var Gs=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,$n=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),ga={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},$s={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let Qc=class Kc{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Rp(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new q("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new ut("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(Kc.endOfExpression.has(a.text)||r&&a.text===r||t&&Qt[a.text]&&Qt[a.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,a=0;a<t.length;a++)if(t[a].type==="infix"){if(r!==-1)throw new q("only one infix operator per group",t[a].token);r=a,n=t[a].replaceWith}if(r!==-1&&n){var i,u,s=t.slice(0,r),l=t.slice(r+1);s.length===1&&s[0].type==="ordgroup"?i=s[0]:i={type:"ordgroup",mode:this.mode,body:s},l.length===1&&l[0].type==="ordgroup"?u=l[0]:u={type:"ordgroup",mode:this.mode,body:l};var o;return n==="\\\\abovefrac"?o=this.callFunction(n,[i,t[r],u],[]):o=this.callFunction(n,[i,u],[]),[o]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var a;do{var i;a=this.parseGroup(t)}while(((i=a)==null?void 0:i.type)==="internal");if(!a)throw new q("Expected group after '"+n+"'",r);return a}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var a={type:"text",mode:this.mode,body:r},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return i}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,a;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(r&&r.type==="op"){var u=i.text==="\\limits";r.limits=u,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=i.text==="\\limits");else throw new q("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new q("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new q("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new q("Double superscript",i);var s={type:"textord",mode:this.mode,text:"\\prime"},l=[s];for(this.consume();this.fetch().text==="'";)l.push(s),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:l}}else if($n[i.text]){var o=Gs.test(i.text),f=[];for(f.push(new ut($n[i.text])),this.consume();;){var d=this.fetch().text;if(!$n[d]||Gs.test(d)!==o)break;f.unshift(new ut($n[d])),this.consume()}var g=this.subparse(f);o?a={type:"ordgroup",mode:"math",body:g}:n={type:"ordgroup",mode:"math",body:g}}else break}return n||a?{type:"supsub",mode:this.mode,base:r,sup:n,sub:a}:r}parseFunction(t,r){var n=this.fetch(),a=n.text,i=Qt[a];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new q("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new q("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new q("Can't use function '"+a+"' in math mode",n);var{args:u,optArgs:s}=this.parseArguments(a,i);return this.callFunction(a,u,s,n,t)}callFunction(t,r,n,a,i){var u={funcName:t,parser:this,token:a,breakOnTokenText:i},s=Qt[t];if(s&&s.handler)return s.handler(u,r,n);throw new q("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var a=[],i=[],u=0;u<n;u++){var s=r.argTypes&&r.argTypes[u],l=u<r.numOptionalArgs;(r.primitive&&s==null||r.type==="sqrt"&&u===1&&i[0]==null)&&(s="primitive");var o=this.parseGroupOfType("argument to '"+t+"'",s,l);if(l)i.push(o);else if(o!=null)a.push(o);else throw new q("Null argument, please report this as a bug")}return{args:a,optArgs:i}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var i=this.parseStringGroup("raw",n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new q("A primitive argument cannot be optional");var u=this.parseGroup(t);if(u==null)throw new q("Expected group as "+t,this.fetch());return u}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new q("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var a="",i;(i=this.fetch()).text!=="EOF";)a+=i.text,this.consume();return this.consume(),n.text=a,n}parseRegexGroup(t,r){for(var n=this.fetch(),a=n,i="",u;(u=this.fetch()).text!=="EOF"&&t.test(i+u.text);)a=u,i+=a.text,this.consume();if(i==="")throw new q("Invalid "+r+": '"+n.text+"'",n);return n.range(a,i)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new q("Invalid color: '"+r.text+"'",r);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!a)throw new q("Invalid size: '"+r.text+"'",r);var i={number:+(a[1]+a[2]),unit:a[3]};if(!ac(i))throw new q("Invalid unit: '"+i.unit+"'",r);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var a=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var u={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return r&&this.switchMode(a),u}parseGroup(t,r){var n=this.fetch(),a=n.text,i;if(a==="{"||a==="\\begingroup"){this.consume();var u=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var s=this.parseExpression(!1,u),l=this.fetch();this.expect(u),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:Je.range(n,l),body:s,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!Xc.hasOwnProperty(a)){if(this.settings.throwOnError)throw new q("Undefined control sequence: "+a,n);i=this.formatUnsupportedCmd(a),this.consume()}return i}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var a=t[n],i=a.text;i==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:Je.range(a,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:Je.range(a,t[n+1]),text:"--"}),r-=1)),(i==="'"||i==="`")&&t[n+1].text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:Je.range(a,t[n+1]),text:i+i}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new q(`\\verb assertion failed --
293
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}$s.hasOwnProperty(r[0])&&!Ae[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=$s[r[0]]+r.slice(1));var i=_p.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var u;if(Ae[this.mode][r]){this.settings.strict&&this.mode==="math"&&ri.includes(r)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var s=Ae[this.mode][r].group,l=Je.range(t),o;if(N6.hasOwnProperty(s)){var f=s;o={type:"atom",mode:this.mode,family:f,loc:l,text:r}}else o={type:s,mode:this.mode,loc:l,text:r};u=o}else if(r.charCodeAt(0)>=128)this.settings.strict&&(rc(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),u={type:"textord",mode:"text",loc:Je.range(t),text:r};else return null;if(this.consume(),i)for(var d=0;d<i[0].length;d++){var g=i[0][d];if(!ga[g])throw new q("Unknown accent ' "+g+"'",t);var p=ga[g][this.mode]||ga[g].text;if(!p)throw new q("Accent "+g+" unsupported in "+this.mode+" mode",t);u={type:"accent",mode:this.mode,loc:Je.range(t),label:p,isStretchy:!1,isShifty:!0,base:u}}return u}};Qc.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var tu=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Qc(t,r);delete n.gullet.macros.current["\\df@tag"];var a=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new q("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new ut("\\df@tag")])}]}return a},ru=function(t,r,n){r.textContent="";var a=_0(t,n).toNode();r.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),ru=function(){throw new q("KaTeX doesn't work in quirks mode.")});var Jc=function(t,r){var n=_0(t,r).toMarkup();return n},Zc=function(t,r){var n=new Fi(r);return tu(t,n)},e1=function(t,r,n){if(n.throwOnError||!(t instanceof q))throw t;var a=z(["katex-error"],[new ft(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},_0=function(t,r){var n=new Fi(r);try{var a=tu(t,n);return $6(a,t,n)}catch(i){return e1(i,t,n)}},t1=function(t,r){var n=new Fi(r);try{var a=tu(t,n);return W6(a,t,n)}catch(i){return e1(i,t,n)}},r1="0.16.33",n1={Span:Sn,Anchor:Ui,SymbolNode:ft,SvgNode:Ht,PathNode:Zt,LineNode:ti},ci={version:r1,render:ru,renderToString:Jc,ParseError:q,SETTINGS_SCHEMA:an,__parse:Zc,__renderToDomTree:_0,__renderToHTMLTree:t1,__setFontMetrics:nc,__defineSymbol:h,__defineFunction:ee,__defineMacro:E,__domTree:n1};const qg=Object.freeze(Object.defineProperty({__proto__:null,ParseError:q,SETTINGS_SCHEMA:an,__defineFunction:ee,__defineMacro:E,__defineSymbol:h,__domTree:n1,__parse:Zc,__renderToDomTree:_0,__renderToHTMLTree:t1,__setFontMetrics:nc,default:ci,get render(){return ru},renderToString:Jc,version:r1},Symbol.toStringTag,{value:"Module"})),Mp={};function Yg(e){const t=this,r=e||Mp,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),u=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(Z3(r)),i.push(G3()),u.push($3(r))}const Ws=/[#.]/g;function Pp(e,t){const r=e||"",n={};let a=0,i,u;for(;a<r.length;){Ws.lastIndex=a;const s=Ws.exec(r),l=r.slice(a,s?s.index:r.length);l&&(i?i==="#"?n.id=l:Array.isArray(n.className)?n.className.push(l):n.className=[l]:u=l,a+=l.length),s&&(i=s[0],a++)}return{type:"element",tagName:u||t||"div",properties:n,children:[]}}function a1(e,t,r){const n=r?zp(r):void 0;function a(i,u,...s){let l;if(i==null){l={type:"root",children:[]};const o=u;s.unshift(o)}else{l=Pp(i,t);const o=l.tagName.toLowerCase(),f=n?n.get(o):void 0;if(l.tagName=f||o,Bp(u))s.unshift(u);else for(const[d,g]of Object.entries(u))Fp(e,l.properties,d,g)}for(const o of s)hi(l.children,o);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return a}function Bp(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const a=t[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const u of i)if(typeof u!="number"&&typeof u!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function Fp(e,t,r,n){const a=yn(e,r);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?a.spaceSeparated?i=r0(n):a.commaSeparated?i=t0(n):a.commaOrSpaceSeparated?i=r0(t0(n).join(" ")):i=js(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?Hp(n):String(n);if(Array.isArray(i)){const u=[];for(const s of i)u.push(js(a,a.property,s));i=u}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function hi(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)hi(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?hi(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function js(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||fr(r)===fr(t)))return!0}return r}function Hp(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function zp(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const Up=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],qp=a1(Pr,"div"),Yp=a1(zt,"g",Up),St={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Vp(e,t){return i1(e,{})||{type:"root",children:[]}}function i1(e,t){const r=Gp(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function Gp(e,t){switch(e.nodeType){case 1:return Xp(e,t);case 3:return Wp(e);case 8:return jp(e);case 9:return Xs(e,t);case 10:return $p();case 11:return Xs(e,t);default:return}}function Xs(e,t){return{type:"root",children:u1(e,t)}}function $p(){return{type:"doctype"}}function Wp(e){return{type:"text",value:e.nodeValue||""}}function jp(e){return{type:"comment",value:e.nodeValue||""}}function Xp(e,t){const r=e.namespaceURI,n=r===St.svg?Yp:qp,a=r===St.html?e.tagName.toLowerCase():e.tagName,i=r===St.html&&a==="template"?e.content:e,u=e.getAttributeNames(),s={};let l=-1;for(;++l<u.length;)s[u[l]]=e.getAttribute(u[l])||"";return n(a,s,u1(i,t))}function u1(e,t){const r=e.childNodes,n=[];let a=-1;for(;++a<r.length;){const i=i1(r[a],t);i!==void 0&&n.push(i)}return n}new DOMParser;function Qp(e,t){const r=Kp(e);return Vp(r)}function Kp(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const Qs=(function(e,t,r){const n=xn(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]}),pr=(function(e){if(e==null)return e5;if(typeof e=="string")return Zp(e);if(typeof e=="object")return Jp(e);if(typeof e=="function")return nu(e);throw new Error("Expected function, string, or array as `test`")});function Jp(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=pr(e[r]);return nu(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function Zp(e){return nu(t);function t(r){return r.tagName===e}}function nu(e){return t;function t(r,n,a){return!!(t5(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function e5(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function t5(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Ks=/\n/g,Js=/[\t ]+/g,fi=pr("br"),Zs=pr(o5),r5=pr("p"),el=pr("tr"),n5=pr(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",l5,c5]),s1=pr(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function a5(e,t){const r=t||{},n="children"in e?e.children:[],a=s1(e),i=c1(e,{whitespace:r.whitespace||"normal"}),u=[];(e.type==="text"||e.type==="comment")&&u.push(...o1(e,{breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<n.length;)u.push(...l1(n[s],e,{whitespace:i,breakBefore:s?void 0:a,breakAfter:s<n.length-1?fi(n[s+1]):a}));const l=[];let o;for(s=-1;++s<u.length;){const f=u[s];typeof f=="number"?o!==void 0&&f>o&&(o=f):f&&(o!==void 0&&o>-1&&l.push(`
294
+ `.repeat(o)||" "),o=-1,l.push(f))}return l.join("")}function l1(e,t,r){return e.type==="element"?i5(e,t,r):e.type==="text"?r.whitespace==="normal"?o1(e,r):u5(e):[]}function i5(e,t,r){const n=c1(e,r),a=e.children||[];let i=-1,u=[];if(n5(e))return u;let s,l;for(fi(e)||el(e)&&Qs(t,e,el)?l=`
295
+ `:r5(e)?(s=2,l=2):s1(e)&&(s=1,l=1);++i<a.length;)u=u.concat(l1(a[i],e,{whitespace:n,breakBefore:i?void 0:s,breakAfter:i<a.length-1?fi(a[i+1]):l}));return Zs(e)&&Qs(t,e,Zs)&&u.push(" "),s&&u.unshift(s),l&&u.push(l),u}function o1(e,t){const r=String(e.value),n=[],a=[];let i=0;for(;i<=r.length;){Ks.lastIndex=i;const l=Ks.exec(r),o=l&&"index"in l?l.index:r.length;n.push(s5(r.slice(i,o).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?t.breakBefore:!0,o===r.length?t.breakAfter:!0)),i=o+1}let u=-1,s;for(;++u<n.length;)n[u].charCodeAt(n[u].length-1)===8203||u<n.length-1&&n[u+1].charCodeAt(0)===8203?(a.push(n[u]),s=void 0):n[u]?(typeof s=="number"&&a.push(s),a.push(n[u]),s=0):(u===0||u===n.length-1)&&a.push(0);return a}function u5(e){return[String(e.value)]}function s5(e,t,r){const n=[];let a=0,i;for(;a<e.length;){Js.lastIndex=a;const u=Js.exec(e);i=u?u.index:e.length,!a&&!i&&u&&!t&&n.push(""),a!==i&&n.push(e.slice(a,i)),a=u?i+u[0].length:i}return a!==i&&!r&&n.push(""),n.join(" ")}function c1(e,t){if(e.type==="element"){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function l5(e){return!!(e.properties||{}).hidden}function o5(e){return e.tagName==="td"||e.tagName==="th"}function c5(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const h5={},f5=[];function Vg(e){const t=e||h5;return function(r,n){_i(r,"element",function(a,i){const u=Array.isArray(a.properties.className)?a.properties.className:f5,s=u.includes("language-math"),l=u.includes("math-display"),o=u.includes("math-inline");let f=l;if(!s&&!l&&!o)return;let d=i[i.length-1],g=a;if(a.tagName==="code"&&s&&d&&d.type==="element"&&d.tagName==="pre"&&(g=d,d=i[i.length-2],f=!0),!d)return;const p=a5(g,{whitespace:"pre"});let T;try{T=ci.renderToString(p,{...t,displayMode:f,throwOnError:!0})}catch(I){const w=I,D=w.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:w,place:a.position,ruleId:D,source:"rehype-katex"});try{T=ci.renderToString(p,{...t,displayMode:f,strict:"ignore",throwOnError:!1})}catch{T=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(I)},children:[{type:"text",value:p}]}]}}typeof T=="string"&&(T=Qp(T).children);const v=d.children.indexOf(g);return d.children.splice(v,1,...T),vo})}}var ba,tl;function d5(){if(tl)return ba;tl=1,ba=t;var e=Object.prototype.hasOwnProperty;function t(){for(var r={},n=0;n<arguments.length;n++){var a=arguments[n];for(var i in a)e.call(a,i)&&(r[i]=a[i])}return r}return ba}var Ea,rl;function h1(){if(rl)return Ea;rl=1,Ea=t;var e=t.prototype;e.space=null,e.normal={},e.property={};function t(r,n,a){this.property=r,this.normal=n,a&&(this.space=a)}return Ea}var Ta,nl;function m5(){if(nl)return Ta;nl=1;var e=d5(),t=h1();Ta=r;function r(n){for(var a=n.length,i=[],u=[],s=-1,l,o;++s<a;)l=n[s],i.push(l.property),u.push(l.normal),o=l.space;return new t(e.apply(null,i),e.apply(null,u),o)}return Ta}var ya,al;function au(){if(al)return ya;al=1,ya=e;function e(t){return t.toLowerCase()}return ya}var xa,il;function f1(){if(il)return xa;il=1,xa=t;var e=t.prototype;e.space=null,e.attribute=null,e.property=null,e.boolean=!1,e.booleanish=!1,e.overloadedBoolean=!1,e.number=!1,e.commaSeparated=!1,e.spaceSeparated=!1,e.commaOrSpaceSeparated=!1,e.mustUseProperty=!1,e.defined=!1;function t(r,n){this.property=r,this.attribute=n}return xa}var Mt={},ul;function iu(){if(ul)return Mt;ul=1;var e=0;Mt.boolean=t(),Mt.booleanish=t(),Mt.overloadedBoolean=t(),Mt.number=t(),Mt.spaceSeparated=t(),Mt.commaSeparated=t(),Mt.commaOrSpaceSeparated=t();function t(){return Math.pow(2,++e)}return Mt}var va,sl;function d1(){if(sl)return va;sl=1;var e=f1(),t=iu();va=a,a.prototype=new e,a.prototype.defined=!0;var r=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],n=r.length;function a(u,s,l,o){var f=-1,d;for(i(this,"space",o),e.call(this,u,s);++f<n;)d=r[f],i(this,d,(l&t[d])===t[d])}function i(u,s,l){l&&(u[s]=l)}return va}var Aa,ll;function wn(){if(ll)return Aa;ll=1;var e=au(),t=h1(),r=d1();Aa=n;function n(a){var i=a.space,u=a.mustUseProperty||[],s=a.attributes||{},l=a.properties,o=a.transform,f={},d={},g,p;for(g in l)p=new r(g,o(s,g),l[g],i),u.indexOf(g)!==-1&&(p.mustUseProperty=!0),f[g]=p,d[e(g)]=g,d[e(p.attribute)]=g;return new t(f,d,i)}return Aa}var Sa,ol;function p5(){if(ol)return Sa;ol=1;var e=wn();Sa=e({space:"xlink",transform:t,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function t(r,n){return"xlink:"+n.slice(5).toLowerCase()}return Sa}var ka,cl;function g5(){if(cl)return ka;cl=1;var e=wn();ka=e({space:"xml",transform:t,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function t(r,n){return"xml:"+n.slice(3).toLowerCase()}return ka}var wa,hl;function b5(){if(hl)return wa;hl=1,wa=e;function e(t,r){return r in t?t[r]:r}return wa}var Ca,fl;function m1(){if(fl)return Ca;fl=1;var e=b5();Ca=t;function t(r,n){return e(r,n.toLowerCase())}return Ca}var Ia,dl;function E5(){if(dl)return Ia;dl=1;var e=wn(),t=m1();return Ia=e({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:t,properties:{xmlns:null,xmlnsXLink:null}}),Ia}var _a,ml;function T5(){if(ml)return _a;ml=1;var e=iu(),t=wn(),r=e.booleanish,n=e.number,a=e.spaceSeparated;_a=t({transform:i,properties:{ariaActiveDescendant:null,ariaAtomic:r,ariaAutoComplete:null,ariaBusy:r,ariaChecked:r,ariaColCount:n,ariaColIndex:n,ariaColSpan:n,ariaControls:a,ariaCurrent:null,ariaDescribedBy:a,ariaDetails:null,ariaDisabled:r,ariaDropEffect:a,ariaErrorMessage:null,ariaExpanded:r,ariaFlowTo:a,ariaGrabbed:r,ariaHasPopup:null,ariaHidden:r,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:a,ariaLevel:n,ariaLive:null,ariaModal:r,ariaMultiLine:r,ariaMultiSelectable:r,ariaOrientation:null,ariaOwns:a,ariaPlaceholder:null,ariaPosInSet:n,ariaPressed:r,ariaReadOnly:r,ariaRelevant:null,ariaRequired:r,ariaRoleDescription:a,ariaRowCount:n,ariaRowIndex:n,ariaRowSpan:n,ariaSelected:r,ariaSetSize:n,ariaSort:null,ariaValueMax:n,ariaValueMin:n,ariaValueNow:n,ariaValueText:null,role:null}});function i(u,s){return s==="role"?s:"aria-"+s.slice(4).toLowerCase()}return _a}var Na,pl;function y5(){if(pl)return Na;pl=1;var e=iu(),t=wn(),r=m1(),n=e.boolean,a=e.overloadedBoolean,i=e.booleanish,u=e.number,s=e.spaceSeparated,l=e.commaSeparated;return Na=t({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:r,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:l,acceptCharset:s,accessKey:s,action:null,allow:null,allowFullScreen:n,allowPaymentRequest:n,allowUserMedia:n,alt:null,as:null,async:n,autoCapitalize:null,autoComplete:s,autoFocus:n,autoPlay:n,capture:n,charSet:null,checked:n,cite:null,className:s,cols:u,colSpan:null,content:null,contentEditable:i,controls:n,controlsList:s,coords:u|l,crossOrigin:null,data:null,dateTime:null,decoding:null,default:n,defer:n,dir:null,dirName:null,disabled:n,download:a,draggable:i,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:n,formTarget:null,headers:s,height:u,hidden:n,high:u,href:null,hrefLang:null,htmlFor:s,httpEquiv:s,id:null,imageSizes:null,imageSrcSet:l,inputMode:null,integrity:null,is:null,isMap:n,itemId:null,itemProp:s,itemRef:s,itemScope:n,itemType:s,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:n,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:n,muted:n,name:null,nonce:null,noModule:n,noValidate:n,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu: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,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:n,optimum:u,pattern:null,ping:s,placeholder:null,playsInline:n,poster:null,preload:null,readOnly:n,referrerPolicy:null,rel:s,required:n,reversed:n,rows:u,rowSpan:u,sandbox:s,scope:null,scoped:n,seamless:n,selected:n,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:i,src:null,srcDoc:null,srcLang:null,srcSet:l,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:n,useMap:null,value:i,width:u,wrap:null,align:null,aLink:null,archive:s,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:n,declare:n,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:n,noHref:n,noShade:n,noWrap:n,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:i,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:n,disableRemotePlayback:n,prefix:null,property:null,results:u,security:null,unselectable:null}}),Na}var Da,gl;function x5(){if(gl)return Da;gl=1;var e=m5(),t=p5(),r=g5(),n=E5(),a=T5(),i=y5();return Da=e([r,t,n,a,i]),Da}var Oa,bl;function v5(){if(bl)return Oa;bl=1;var e=au(),t=d1(),r=f1(),n="data";Oa=s;var a=/^data[-\w.:]+$/i,i=/-[a-z]/g,u=/[A-Z]/g;function s(g,p){var T=e(p),v=p,I=r;return T in g.normal?g.property[g.normal[T]]:(T.length>4&&T.slice(0,4)===n&&a.test(p)&&(p.charAt(4)==="-"?v=l(p):p=o(p),I=t),new I(v,p))}function l(g){var p=g.slice(5).replace(i,d);return n+p.charAt(0).toUpperCase()+p.slice(1)}function o(g){var p=g.slice(4);return i.test(p)?g:(p=p.replace(u,f),p.charAt(0)!=="-"&&(p="-"+p),n+p)}function f(g){return"-"+g.toLowerCase()}function d(g){return g.charAt(1).toUpperCase()}return Oa}var La,El;function A5(){if(El)return La;El=1,La=t;var e=/[#.]/g;function t(r,n){for(var a=r||"",i=n||"div",u={},s=0,l,o,f;s<a.length;)e.lastIndex=s,f=e.exec(a),l=a.slice(s,f?f.index:a.length),l&&(o?o==="#"?u.id=l:u.className?u.className.push(l):u.className=[l]:i=l,s+=l.length),f&&(o=f[0],s++);return{type:"element",tagName:i,properties:u,children:[]}}return La}var Wn={},Tl;function S5(){if(Tl)return Wn;Tl=1,Wn.parse=n,Wn.stringify=a;var e="",t=" ",r=/[ \t\n\r\f]+/g;function n(i){var u=String(i||e).trim();return u===e?[]:u.split(r)}function a(i){return i.join(t).trim()}return Wn}var jn={},yl;function k5(){if(yl)return jn;yl=1,jn.parse=n,jn.stringify=a;var e=",",t=" ",r="";function n(i){for(var u=[],s=String(i||r),l=s.indexOf(e),o=0,f=!1,d;!f;)l===-1&&(l=s.length,f=!0),d=s.slice(o,l).trim(),(d||!f)&&u.push(d),o=l+1,l=s.indexOf(e,o);return u}function a(i,u){var s=u||{},l=s.padLeft===!1?r:t,o=s.padRight?t:r;return i[i.length-1]===r&&(i=i.concat(r)),i.join(o+e+l).trim()}return jn}var Ra,xl;function w5(){if(xl)return Ra;xl=1;var e=v5(),t=au(),r=A5(),n=S5().parse,a=k5().parse;Ra=u;var i={}.hasOwnProperty;function u(T,v,I){var w=I?p(I):null;return D;function D(j,V){var O=r(j,v),X=Array.prototype.slice.call(arguments,2),re=O.tagName.toLowerCase(),G;if(O.tagName=w&&i.call(w,re)?w[re]:re,V&&s(V,O)&&(X.unshift(V),V=null),V)for(G in V)R(O.properties,G,V[G]);return o(O.children,X),O.tagName==="template"&&(O.content={type:"root",children:O.children},O.children=[]),O}function R(j,V,O){var X,re,G;O==null||O!==O||(X=e(T,V),re=X.property,G=O,typeof G=="string"&&(X.spaceSeparated?G=n(G):X.commaSeparated?G=a(G):X.commaOrSpaceSeparated&&(G=n(a(G).join(" ")))),re==="style"&&typeof O!="string"&&(G=g(G)),re==="className"&&j.className&&(G=j.className.concat(G)),j[re]=f(X,re,G))}}function s(T,v){return typeof T=="string"||"length"in T||l(v.tagName,T)}function l(T,v){var I=v.type;return T==="input"||!I||typeof I!="string"?!1:typeof v.children=="object"&&"length"in v.children?!0:(I=I.toLowerCase(),T==="button"?I!=="menu"&&I!=="submit"&&I!=="reset"&&I!=="button":"value"in v)}function o(T,v){var I,w;if(typeof v=="string"||typeof v=="number"){T.push({type:"text",value:String(v)});return}if(typeof v=="object"&&"length"in v){for(I=-1,w=v.length;++I<w;)o(T,v[I]);return}if(typeof v!="object"||!("type"in v))throw new Error("Expected node, nodes, or string, got `"+v+"`");T.push(v)}function f(T,v,I){var w,D,R;if(typeof I!="object"||!("length"in I))return d(T,v,I);for(D=I.length,w=-1,R=[];++w<D;)R[w]=d(T,v,I[w]);return R}function d(T,v,I){var w=I;return T.number||T.positiveNumber?!isNaN(w)&&w!==""&&(w=Number(w)):(T.boolean||T.overloadedBoolean)&&typeof w=="string"&&(w===""||t(I)===t(v))&&(w=!0),w}function g(T){var v=[],I;for(I in T)v.push([I,T[I]].join(": "));return v.join("; ")}function p(T){for(var v=T.length,I=-1,w={},D;++I<v;)D=T[I],w[D.toLowerCase()]=D;return w}return Ra}var Ma,vl;function C5(){if(vl)return Ma;vl=1;var e=x5(),t=w5(),r=t(e,"div");return r.displayName="html",Ma=r,Ma}var Pa,Al;function Gg(){return Al||(Al=1,Pa=C5()),Pa}const Sl=/[#.]/g;function I5(e,t){const r=e||"",n={};let a=0,i,u;for(;a<r.length;){Sl.lastIndex=a;const s=Sl.exec(r),l=r.slice(a,s?s.index:r.length);l&&(i?i==="#"?n.id=l:Array.isArray(n.className)?n.className.push(l):n.className=[l]:u=l,a+=l.length),s&&(i=s[0],a++)}return{type:"element",tagName:u||t||"div",properties:n,children:[]}}function p1(e,t,r){const n=r?O5(r):void 0;function a(i,u,...s){let l;if(i==null){l={type:"root",children:[]};const o=u;s.unshift(o)}else{l=I5(i,t);const o=l.tagName.toLowerCase(),f=n?n.get(o):void 0;if(l.tagName=f||o,_5(u))s.unshift(u);else for(const[d,g]of Object.entries(u))N5(e,l.properties,d,g)}for(const o of s)di(l.children,o);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return a}function _5(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const a=t[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const u of i)if(typeof u!="number"&&typeof u!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function N5(e,t,r,n){const a=yn(e,r);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?a.spaceSeparated?i=r0(n):a.commaSeparated?i=t0(n):a.commaOrSpaceSeparated?i=r0(t0(n).join(" ")):i=kl(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?D5(n):String(n);if(Array.isArray(i)){const u=[];for(const s of i)u.push(kl(a,a.property,s));i=u}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function di(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)di(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?di(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function kl(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||fr(r)===fr(t)))return!0}return r}function D5(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function O5(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const L5=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],R5=p1(Pr,"div"),M5=p1(zt,"g",L5);function P5(e){const t=String(e),r=[];return{toOffset:a,toPoint:n};function n(i){if(typeof i=="number"&&i>-1&&i<=t.length){let u=0;for(;;){let s=r[u];if(s===void 0){const l=wl(t,r[u-1]);s=l===-1?t.length+1:l+1,r[u]=s}if(s>i)return{line:u+1,column:i-(u>0?r[u-1]:0)+1,offset:i};u++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;r.length<i.line;){const s=r[r.length-1],l=wl(t,s),o=l===-1?t.length+1:l+1;if(s===o)break;r.push(o)}const u=(i.line>1?r[i.line-2]:0)+i.column-1;if(u<r[i.line-1])return u}}}function wl(e,t){const r=e.indexOf("\r",t),n=e.indexOf(`
296
+ `,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const g1={}.hasOwnProperty,B5=Object.prototype;function F5(e,t){const r=t||{};return uu({file:r.file||void 0,location:!1,schema:r.space==="svg"?zt:Pr,verbose:r.verbose||!1},e)}function uu(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},Zn(e,n,r),r}case"#document":case"#document-fragment":{const n=t,a="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:b1(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),u=P5(i),s=u.toPoint(0),l=u.toPoint(i.length);r.position={start:s,end:l}}return r}case"#documentType":{const n=t;return r={type:"doctype"},Zn(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},Zn(e,n,r),r}default:return r=H5(e,t),r}}function b1(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=uu(e,t[r]);n.push(a)}return n}function H5(e,t){const r=e.schema;e.schema=t.namespaceURI===St.svg?zt:Pr;let n=-1;const a={};for(;++n<t.attrs.length;){const s=t.attrs[n],l=(s.prefix?s.prefix+":":"")+s.name;g1.call(B5,l)||(a[l]=s.value)}const u=(e.schema.space==="svg"?M5:R5)(t.tagName,a,b1(e,t.childNodes));if(Zn(e,t,u),u.tagName==="template"){const s=t,l=s.sourceCodeLocation,o=l&&l.startTag&&kr(l.startTag),f=l&&l.endTag&&kr(l.endTag),d=uu(e,s.content);o&&f&&e.file&&(d.position={start:o.end,end:f.start}),u.content=d}return e.schema=r,u}function Zn(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=z5(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function z5(e,t,r){const n=kr(r);if(t.type==="element"){const a=t.children[t.children.length-1];if(n&&!r.endTag&&a&&a.position&&a.position.end&&(n.end=Object.assign({},a.position.end)),e.verbose){const i={};let u;if(r.attrs)for(u in r.attrs)g1.call(r.attrs,u)&&(i[yn(e.schema,u).property]=kr(r.attrs[u]));r.startTag;const s=kr(r.startTag),l=r.endTag?kr(r.endTag):void 0,o={opening:s};l&&(o.closing=l),o.properties=i,t.data={position:o}}}return n}function kr(e){const t=Cl({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=Cl({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function Cl(e){return e.line&&e.column?e:void 0}const U5={},q5={}.hasOwnProperty,E1=No("type",{handlers:{root:V5,element:X5,text:W5,comment:j5,doctype:$5}});function Y5(e,t){const n=(t||U5).space;return E1(e,n==="svg"?zt:Pr)}function V5(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=su(e.children,r,t),zr(e,r),r}function G5(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=su(e.children,r,t),zr(e,r),r}function $5(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return zr(e,t),t}function W5(e){const t={nodeName:"#text",value:e.value,parentNode:null};return zr(e,t),t}function j5(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return zr(e,t),t}function X5(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=zt);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&q5.call(e.properties,i)){const l=Q5(n,i,e.properties[i]);l&&a.push(l)}}const u=n.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:St[u],childNodes:[],parentNode:null};return s.childNodes=su(e.children,s,n),zr(e,s),e.tagName==="template"&&e.content&&(s.content=G5(e.content,n)),s}function Q5(e,t,r){const n=yn(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?ql(r):Ql(r));const a={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=n.attribute.slice(0,i)),a.namespace=St[n.space]}return a}function su(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const i=E1(e[n],r);i.parentNode=t,a.push(i)}return a}function zr(e,t){const r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const K5=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],J5=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Se="�";var y;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(y||(y={}));const Qe={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function T1(e){return e>=55296&&e<=57343}function Z5(e){return e>=56320&&e<=57343}function e7(e,t){return(e-55296)*1024+9216+t}function y1(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function x1(e){return e>=64976&&e<=65007||J5.has(e)}var P;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(P||(P={}));const t7=65536;class r7{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=t7,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,r){const{line:n,col:a,offset:i}=this,u=a+r,s=i+r;return{code:t,startLine:n,endLine:n,startCol:u,endCol:u,startOffset:s,endOffset:s}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const r=this.html.charCodeAt(this.pos+1);if(Z5(r))return this.pos++,this._addGap(),e7(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,y.EOF;return this._err(P.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,y.EOF;const n=this.html.charCodeAt(r);return n===y.CARRIAGE_RETURN?y.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,y.EOF;let t=this.html.charCodeAt(this.pos);return t===y.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,y.LINE_FEED):t===y.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,T1(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===y.LINE_FEED||t===y.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){y1(t)?this._err(P.controlCharacterInInputStream):x1(t)&&this._err(P.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var he;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(he||(he={}));function v1(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}const n7=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),a7=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function i7(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=a7.get(e))!==null&&t!==void 0?t:e}var ze;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(ze||(ze={}));const u7=32;var Kt;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Kt||(Kt={}));function mi(e){return e>=ze.ZERO&&e<=ze.NINE}function s7(e){return e>=ze.UPPER_A&&e<=ze.UPPER_F||e>=ze.LOWER_A&&e<=ze.LOWER_F}function l7(e){return e>=ze.UPPER_A&&e<=ze.UPPER_Z||e>=ze.LOWER_A&&e<=ze.LOWER_Z||mi(e)}function o7(e){return e===ze.EQUALS||l7(e)}var He;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(He||(He={}));var Bt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Bt||(Bt={}));class c7{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=He.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Bt.Strict}startEntity(t){this.decodeMode=t,this.state=He.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case He.EntityStart:return t.charCodeAt(r)===ze.NUM?(this.state=He.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=He.NamedEntity,this.stateNamedEntity(t,r));case He.NumericStart:return this.stateNumericStart(t,r);case He.NumericDecimal:return this.stateNumericDecimal(t,r);case He.NumericHex:return this.stateNumericHex(t,r);case He.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|u7)===ze.LOWER_X?(this.state=He.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=He.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,a){if(r!==n){const i=n-r;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(r,i),a),this.consumed+=i}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(mi(a)||s7(a))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(mi(a))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ze.SEMI)this.consumed+=1;else if(this.decodeMode===Bt.Strict)return 0;return this.emitCodePoint(i7(this.result),this.consumed),this.errors&&(t!==ze.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let a=n[this.treeIndex],i=(a&Kt.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const u=t.charCodeAt(r);if(this.treeIndex=h7(n,a,this.treeIndex+Math.max(1,i),u),this.treeIndex<0)return this.result===0||this.decodeMode===Bt.Attribute&&(i===0||o7(u))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&Kt.VALUE_LENGTH)>>14,i!==0){if(u===ze.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Bt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,a=(n[r]&Kt.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:a}=this;return this.emitCodePoint(r===1?a[t]&~Kt.VALUE_LENGTH:a[t+1],n),r===3&&this.emitCodePoint(a[t+2],n),n}end(){var t;switch(this.state){case He.NamedEntity:return this.result!==0&&(this.decodeMode!==Bt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case He.NumericDecimal:return this.emitNumericEntity(0,2);case He.NumericHex:return this.emitNumericEntity(0,3);case He.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case He.EntityStart:return 0}}}function h7(e,t,r,n){const a=(t&Kt.BRANCH_LENGTH)>>7,i=t&Kt.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const l=n-i;return l<0||l>=a?-1:e[r+l]-1}let u=r,s=u+a-1;for(;u<=s;){const l=u+s>>>1,o=e[l];if(o<n)u=l+1;else if(o>n)s=l-1;else return e[l+a]}return-1}var H;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(H||(H={}));var hr;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(hr||(hr={}));var ct;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(ct||(ct={}));var L;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(L||(L={}));var c;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(c||(c={}));const f7=new Map([[L.A,c.A],[L.ADDRESS,c.ADDRESS],[L.ANNOTATION_XML,c.ANNOTATION_XML],[L.APPLET,c.APPLET],[L.AREA,c.AREA],[L.ARTICLE,c.ARTICLE],[L.ASIDE,c.ASIDE],[L.B,c.B],[L.BASE,c.BASE],[L.BASEFONT,c.BASEFONT],[L.BGSOUND,c.BGSOUND],[L.BIG,c.BIG],[L.BLOCKQUOTE,c.BLOCKQUOTE],[L.BODY,c.BODY],[L.BR,c.BR],[L.BUTTON,c.BUTTON],[L.CAPTION,c.CAPTION],[L.CENTER,c.CENTER],[L.CODE,c.CODE],[L.COL,c.COL],[L.COLGROUP,c.COLGROUP],[L.DD,c.DD],[L.DESC,c.DESC],[L.DETAILS,c.DETAILS],[L.DIALOG,c.DIALOG],[L.DIR,c.DIR],[L.DIV,c.DIV],[L.DL,c.DL],[L.DT,c.DT],[L.EM,c.EM],[L.EMBED,c.EMBED],[L.FIELDSET,c.FIELDSET],[L.FIGCAPTION,c.FIGCAPTION],[L.FIGURE,c.FIGURE],[L.FONT,c.FONT],[L.FOOTER,c.FOOTER],[L.FOREIGN_OBJECT,c.FOREIGN_OBJECT],[L.FORM,c.FORM],[L.FRAME,c.FRAME],[L.FRAMESET,c.FRAMESET],[L.H1,c.H1],[L.H2,c.H2],[L.H3,c.H3],[L.H4,c.H4],[L.H5,c.H5],[L.H6,c.H6],[L.HEAD,c.HEAD],[L.HEADER,c.HEADER],[L.HGROUP,c.HGROUP],[L.HR,c.HR],[L.HTML,c.HTML],[L.I,c.I],[L.IMG,c.IMG],[L.IMAGE,c.IMAGE],[L.INPUT,c.INPUT],[L.IFRAME,c.IFRAME],[L.KEYGEN,c.KEYGEN],[L.LABEL,c.LABEL],[L.LI,c.LI],[L.LINK,c.LINK],[L.LISTING,c.LISTING],[L.MAIN,c.MAIN],[L.MALIGNMARK,c.MALIGNMARK],[L.MARQUEE,c.MARQUEE],[L.MATH,c.MATH],[L.MENU,c.MENU],[L.META,c.META],[L.MGLYPH,c.MGLYPH],[L.MI,c.MI],[L.MO,c.MO],[L.MN,c.MN],[L.MS,c.MS],[L.MTEXT,c.MTEXT],[L.NAV,c.NAV],[L.NOBR,c.NOBR],[L.NOFRAMES,c.NOFRAMES],[L.NOEMBED,c.NOEMBED],[L.NOSCRIPT,c.NOSCRIPT],[L.OBJECT,c.OBJECT],[L.OL,c.OL],[L.OPTGROUP,c.OPTGROUP],[L.OPTION,c.OPTION],[L.P,c.P],[L.PARAM,c.PARAM],[L.PLAINTEXT,c.PLAINTEXT],[L.PRE,c.PRE],[L.RB,c.RB],[L.RP,c.RP],[L.RT,c.RT],[L.RTC,c.RTC],[L.RUBY,c.RUBY],[L.S,c.S],[L.SCRIPT,c.SCRIPT],[L.SEARCH,c.SEARCH],[L.SECTION,c.SECTION],[L.SELECT,c.SELECT],[L.SOURCE,c.SOURCE],[L.SMALL,c.SMALL],[L.SPAN,c.SPAN],[L.STRIKE,c.STRIKE],[L.STRONG,c.STRONG],[L.STYLE,c.STYLE],[L.SUB,c.SUB],[L.SUMMARY,c.SUMMARY],[L.SUP,c.SUP],[L.TABLE,c.TABLE],[L.TBODY,c.TBODY],[L.TEMPLATE,c.TEMPLATE],[L.TEXTAREA,c.TEXTAREA],[L.TFOOT,c.TFOOT],[L.TD,c.TD],[L.TH,c.TH],[L.THEAD,c.THEAD],[L.TITLE,c.TITLE],[L.TR,c.TR],[L.TRACK,c.TRACK],[L.TT,c.TT],[L.U,c.U],[L.UL,c.UL],[L.SVG,c.SVG],[L.VAR,c.VAR],[L.WBR,c.WBR],[L.XMP,c.XMP]]);function Ur(e){var t;return(t=f7.get(e))!==null&&t!==void 0?t:c.UNKNOWN}const U=c,d7={[H.HTML]:new Set([U.ADDRESS,U.APPLET,U.AREA,U.ARTICLE,U.ASIDE,U.BASE,U.BASEFONT,U.BGSOUND,U.BLOCKQUOTE,U.BODY,U.BR,U.BUTTON,U.CAPTION,U.CENTER,U.COL,U.COLGROUP,U.DD,U.DETAILS,U.DIR,U.DIV,U.DL,U.DT,U.EMBED,U.FIELDSET,U.FIGCAPTION,U.FIGURE,U.FOOTER,U.FORM,U.FRAME,U.FRAMESET,U.H1,U.H2,U.H3,U.H4,U.H5,U.H6,U.HEAD,U.HEADER,U.HGROUP,U.HR,U.HTML,U.IFRAME,U.IMG,U.INPUT,U.LI,U.LINK,U.LISTING,U.MAIN,U.MARQUEE,U.MENU,U.META,U.NAV,U.NOEMBED,U.NOFRAMES,U.NOSCRIPT,U.OBJECT,U.OL,U.P,U.PARAM,U.PLAINTEXT,U.PRE,U.SCRIPT,U.SECTION,U.SELECT,U.SOURCE,U.STYLE,U.SUMMARY,U.TABLE,U.TBODY,U.TD,U.TEMPLATE,U.TEXTAREA,U.TFOOT,U.TH,U.THEAD,U.TITLE,U.TR,U.TRACK,U.UL,U.WBR,U.XMP]),[H.MATHML]:new Set([U.MI,U.MO,U.MN,U.MS,U.MTEXT,U.ANNOTATION_XML]),[H.SVG]:new Set([U.TITLE,U.FOREIGN_OBJECT,U.DESC]),[H.XLINK]:new Set,[H.XML]:new Set,[H.XMLNS]:new Set},pi=new Set([U.H1,U.H2,U.H3,U.H4,U.H5,U.H6]);L.STYLE,L.SCRIPT,L.XMP,L.IFRAME,L.NOEMBED,L.NOFRAMES,L.PLAINTEXT;var x;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(x||(x={}));const Ne={DATA:x.DATA,RCDATA:x.RCDATA,RAWTEXT:x.RAWTEXT,SCRIPT_DATA:x.SCRIPT_DATA,PLAINTEXT:x.PLAINTEXT,CDATA_SECTION:x.CDATA_SECTION};function m7(e){return e>=y.DIGIT_0&&e<=y.DIGIT_9}function en(e){return e>=y.LATIN_CAPITAL_A&&e<=y.LATIN_CAPITAL_Z}function p7(e){return e>=y.LATIN_SMALL_A&&e<=y.LATIN_SMALL_Z}function jt(e){return p7(e)||en(e)}function Il(e){return jt(e)||m7(e)}function Xn(e){return e+32}function A1(e){return e===y.SPACE||e===y.LINE_FEED||e===y.TABULATION||e===y.FORM_FEED}function _l(e){return A1(e)||e===y.SOLIDUS||e===y.GREATER_THAN_SIGN}function g7(e){return e===y.NULL?P.nullCharacterReference:e>1114111?P.characterReferenceOutsideUnicodeRange:T1(e)?P.surrogateCharacterReference:x1(e)?P.noncharacterCharacterReference:y1(e)||e===y.CARRIAGE_RETURN?P.controlCharacterReference:null}class b7{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=x.DATA,this.returnState=x.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new r7(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new c7(n7,(n,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(P.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(P.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const a=g7(n);a&&this._err(a,1)}}:void 0)}_err(t,r=0){var n,a;(a=(n=this.handler).onParseError)===null||a===void 0||a.call(n,this.preprocessor.getError(t,r))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n==null||n()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:he.START_TAG,tagName:"",tagID:c.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:he.END_TAG,tagName:"",tagID:c.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:he.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:he.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;const n=this.currentToken;if(v1(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const a=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(P.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Ur(t.tagName),t.type===he.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(P.endTagWithAttributes),t.selfClosing&&this._err(P.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case he.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case he.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case he.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:he.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){const r=A1(t)?he.WHITESPACE_CHARACTER:t===y.NULL?he.NULL_CHARACTER:he.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(he.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=x.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Bt.Attribute:Bt.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===x.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===x.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===x.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case x.DATA:{this._stateData(t);break}case x.RCDATA:{this._stateRcdata(t);break}case x.RAWTEXT:{this._stateRawtext(t);break}case x.SCRIPT_DATA:{this._stateScriptData(t);break}case x.PLAINTEXT:{this._statePlaintext(t);break}case x.TAG_OPEN:{this._stateTagOpen(t);break}case x.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case x.TAG_NAME:{this._stateTagName(t);break}case x.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case x.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case x.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case x.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case x.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case x.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case x.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case x.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case x.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case x.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case x.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case x.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case x.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case x.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case x.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case x.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case x.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case x.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case x.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case x.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case x.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case x.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case x.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case x.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case x.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case x.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case x.BOGUS_COMMENT:{this._stateBogusComment(t);break}case x.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case x.COMMENT_START:{this._stateCommentStart(t);break}case x.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case x.COMMENT:{this._stateComment(t);break}case x.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case x.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case x.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case x.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case x.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case x.COMMENT_END:{this._stateCommentEnd(t);break}case x.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case x.DOCTYPE:{this._stateDoctype(t);break}case x.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case x.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case x.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case x.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case x.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case x.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case x.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case x.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case x.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case x.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case x.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case x.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case x.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case x.CDATA_SECTION:{this._stateCdataSection(t);break}case x.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case x.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case x.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case x.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case y.LESS_THAN_SIGN:{this.state=x.TAG_OPEN;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.NULL:{this._err(P.unexpectedNullCharacter),this._emitCodePoint(t);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case y.AMPERSAND:{this._startCharacterReference();break}case y.LESS_THAN_SIGN:{this.state=x.RCDATA_LESS_THAN_SIGN;break}case y.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Se);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case y.LESS_THAN_SIGN:{this.state=x.RAWTEXT_LESS_THAN_SIGN;break}case y.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Se);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case y.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_LESS_THAN_SIGN;break}case y.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Se);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case y.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Se);break}case y.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(jt(t))this._createStartTagToken(),this.state=x.TAG_NAME,this._stateTagName(t);else switch(t){case y.EXCLAMATION_MARK:{this.state=x.MARKUP_DECLARATION_OPEN;break}case y.SOLIDUS:{this.state=x.END_TAG_OPEN;break}case y.QUESTION_MARK:{this._err(P.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=x.BOGUS_COMMENT,this._stateBogusComment(t);break}case y.EOF:{this._err(P.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(P.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=x.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(jt(t))this._createEndTagToken(),this.state=x.TAG_NAME,this._stateTagName(t);else switch(t){case y.GREATER_THAN_SIGN:{this._err(P.missingEndTagName),this.state=x.DATA;break}case y.EOF:{this._err(P.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(P.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=x.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=x.BEFORE_ATTRIBUTE_NAME;break}case y.SOLIDUS:{this.state=x.SELF_CLOSING_START_TAG;break}case y.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentTagToken();break}case y.NULL:{this._err(P.unexpectedNullCharacter),r.tagName+=Se;break}case y.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(en(t)?Xn(t):t)}}_stateRcdataLessThanSign(t){t===y.SOLIDUS?this.state=x.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=x.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){jt(t)?(this.state=x.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=x.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=x.BEFORE_ATTRIBUTE_NAME,!1;case y.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=x.SELF_CLOSING_START_TAG,!1;case y.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=x.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=x.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===y.SOLIDUS?this.state=x.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=x.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){jt(t)?(this.state=x.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=x.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=x.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case y.SOLIDUS:{this.state=x.SCRIPT_DATA_END_TAG_OPEN;break}case y.EXCLAMATION_MARK:{this.state=x.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=x.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){jt(t)?(this.state=x.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=x.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=x.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===y.HYPHEN_MINUS?(this.state=x.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=x.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===y.HYPHEN_MINUS?(this.state=x.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=x.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case y.HYPHEN_MINUS:{this.state=x.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case y.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Se);break}case y.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case y.HYPHEN_MINUS:{this.state=x.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case y.NULL:{this._err(P.unexpectedNullCharacter),this.state=x.SCRIPT_DATA_ESCAPED,this._emitChars(Se);break}case y.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=x.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case y.HYPHEN_MINUS:{this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case y.GREATER_THAN_SIGN:{this.state=x.SCRIPT_DATA,this._emitChars(">");break}case y.NULL:{this._err(P.unexpectedNullCharacter),this.state=x.SCRIPT_DATA_ESCAPED,this._emitChars(Se);break}case y.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=x.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===y.SOLIDUS?this.state=x.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:jt(t)?(this._emitChars("<"),this.state=x.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=x.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){jt(t)?(this.state=x.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=x.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=x.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Qe.SCRIPT,!1)&&_l(this.preprocessor.peek(Qe.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Qe.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=x.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case y.HYPHEN_MINUS:{this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case y.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Se);break}case y.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case y.HYPHEN_MINUS:{this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case y.NULL:{this._err(P.unexpectedNullCharacter),this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Se);break}case y.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case y.HYPHEN_MINUS:{this._emitChars("-");break}case y.LESS_THAN_SIGN:{this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case y.GREATER_THAN_SIGN:{this.state=x.SCRIPT_DATA,this._emitChars(">");break}case y.NULL:{this._err(P.unexpectedNullCharacter),this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Se);break}case y.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===y.SOLIDUS?(this.state=x.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Qe.SCRIPT,!1)&&_l(this.preprocessor.peek(Qe.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Qe.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=x.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=x.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.SOLIDUS:case y.GREATER_THAN_SIGN:case y.EOF:{this.state=x.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case y.EQUALS_SIGN:{this._err(P.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=x.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=x.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:case y.SOLIDUS:case y.GREATER_THAN_SIGN:case y.EOF:{this._leaveAttrName(),this.state=x.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case y.EQUALS_SIGN:{this._leaveAttrName(),this.state=x.BEFORE_ATTRIBUTE_VALUE;break}case y.QUOTATION_MARK:case y.APOSTROPHE:case y.LESS_THAN_SIGN:{this._err(P.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case y.NULL:{this._err(P.unexpectedNullCharacter),this.currentAttr.name+=Se;break}default:this.currentAttr.name+=String.fromCodePoint(en(t)?Xn(t):t)}}_stateAfterAttributeName(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.SOLIDUS:{this.state=x.SELF_CLOSING_START_TAG;break}case y.EQUALS_SIGN:{this.state=x.BEFORE_ATTRIBUTE_VALUE;break}case y.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentTagToken();break}case y.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=x.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:{this.state=x.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this.state=x.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(P.missingAttributeValue),this.state=x.DATA,this.emitCurrentTagToken();break}default:this.state=x.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case y.QUOTATION_MARK:{this.state=x.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.NULL:{this._err(P.unexpectedNullCharacter),this.currentAttr.value+=Se;break}case y.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case y.APOSTROPHE:{this.state=x.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.NULL:{this._err(P.unexpectedNullCharacter),this.currentAttr.value+=Se;break}case y.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this._leaveAttrValue(),this.state=x.BEFORE_ATTRIBUTE_NAME;break}case y.AMPERSAND:{this._startCharacterReference();break}case y.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=x.DATA,this.emitCurrentTagToken();break}case y.NULL:{this._err(P.unexpectedNullCharacter),this.currentAttr.value+=Se;break}case y.QUOTATION_MARK:case y.APOSTROPHE:case y.LESS_THAN_SIGN:case y.EQUALS_SIGN:case y.GRAVE_ACCENT:{this._err(P.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case y.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this._leaveAttrValue(),this.state=x.BEFORE_ATTRIBUTE_NAME;break}case y.SOLIDUS:{this._leaveAttrValue(),this.state=x.SELF_CLOSING_START_TAG;break}case y.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=x.DATA,this.emitCurrentTagToken();break}case y.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this._err(P.missingWhitespaceBetweenAttributes),this.state=x.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case y.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=x.DATA,this.emitCurrentTagToken();break}case y.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this._err(P.unexpectedSolidusInTag),this.state=x.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case y.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentComment(r);break}case y.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case y.NULL:{this._err(P.unexpectedNullCharacter),r.data+=Se;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Qe.DASH_DASH,!0)?(this._createCommentToken(Qe.DASH_DASH.length+1),this.state=x.COMMENT_START):this._consumeSequenceIfMatch(Qe.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Qe.DOCTYPE.length+1),this.state=x.DOCTYPE):this._consumeSequenceIfMatch(Qe.CDATA_START,!0)?this.inForeignNode?this.state=x.CDATA_SECTION:(this._err(P.cdataInHtmlContent),this._createCommentToken(Qe.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=x.BOGUS_COMMENT):this._ensureHibernation()||(this._err(P.incorrectlyOpenedComment),this._createCommentToken(2),this.state=x.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case y.HYPHEN_MINUS:{this.state=x.COMMENT_START_DASH;break}case y.GREATER_THAN_SIGN:{this._err(P.abruptClosingOfEmptyComment),this.state=x.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=x.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case y.HYPHEN_MINUS:{this.state=x.COMMENT_END;break}case y.GREATER_THAN_SIGN:{this._err(P.abruptClosingOfEmptyComment),this.state=x.DATA,this.emitCurrentComment(r);break}case y.EOF:{this._err(P.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=x.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case y.HYPHEN_MINUS:{this.state=x.COMMENT_END_DASH;break}case y.LESS_THAN_SIGN:{r.data+="<",this.state=x.COMMENT_LESS_THAN_SIGN;break}case y.NULL:{this._err(P.unexpectedNullCharacter),r.data+=Se;break}case y.EOF:{this._err(P.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const r=this.currentToken;switch(t){case y.EXCLAMATION_MARK:{r.data+="!",this.state=x.COMMENT_LESS_THAN_SIGN_BANG;break}case y.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=x.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===y.HYPHEN_MINUS?this.state=x.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=x.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===y.HYPHEN_MINUS?this.state=x.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=x.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==y.GREATER_THAN_SIGN&&t!==y.EOF&&this._err(P.nestedComment),this.state=x.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case y.HYPHEN_MINUS:{this.state=x.COMMENT_END;break}case y.EOF:{this._err(P.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=x.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case y.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentComment(r);break}case y.EXCLAMATION_MARK:{this.state=x.COMMENT_END_BANG;break}case y.HYPHEN_MINUS:{r.data+="-";break}case y.EOF:{this._err(P.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=x.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case y.HYPHEN_MINUS:{r.data+="--!",this.state=x.COMMENT_END_DASH;break}case y.GREATER_THAN_SIGN:{this._err(P.incorrectlyClosedComment),this.state=x.DATA,this.emitCurrentComment(r);break}case y.EOF:{this._err(P.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=x.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=x.BEFORE_DOCTYPE_NAME;break}case y.GREATER_THAN_SIGN:{this.state=x.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case y.EOF:{this._err(P.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingWhitespaceBeforeDoctypeName),this.state=x.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(en(t))this._createDoctypeToken(String.fromCharCode(Xn(t))),this.state=x.DOCTYPE_NAME;else switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.NULL:{this._err(P.unexpectedNullCharacter),this._createDoctypeToken(Se),this.state=x.DOCTYPE_NAME;break}case y.GREATER_THAN_SIGN:{this._err(P.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=x.DATA;break}case y.EOF:{this._err(P.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=x.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=x.AFTER_DOCTYPE_NAME;break}case y.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentDoctype(r);break}case y.NULL:{this._err(P.unexpectedNullCharacter),r.name+=Se;break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(en(t)?Xn(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentDoctype(r);break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Qe.PUBLIC,!1)?this.state=x.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Qe.SYSTEM,!1)?this.state=x.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(P.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=x.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case y.QUOTATION_MARK:{this._err(P.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=x.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this._err(P.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=x.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(P.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=x.DATA,this.emitCurrentDoctype(r);break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:{r.publicId="",this.state=x.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{r.publicId="",this.state=x.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(P.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=x.DATA,this.emitCurrentDoctype(r);break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case y.QUOTATION_MARK:{this.state=x.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case y.NULL:{this._err(P.unexpectedNullCharacter),r.publicId+=Se;break}case y.GREATER_THAN_SIGN:{this._err(P.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=x.DATA;break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case y.APOSTROPHE:{this.state=x.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case y.NULL:{this._err(P.unexpectedNullCharacter),r.publicId+=Se;break}case y.GREATER_THAN_SIGN:{this._err(P.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=x.DATA;break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=x.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case y.GREATER_THAN_SIGN:{this.state=x.DATA,this.emitCurrentDoctype(r);break}case y.QUOTATION_MARK:{this._err(P.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this._err(P.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=x.DATA;break}case y.QUOTATION_MARK:{r.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{r.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:{this.state=x.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case y.QUOTATION_MARK:{this._err(P.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{this._err(P.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(P.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=x.DATA,this.emitCurrentDoctype(r);break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.QUOTATION_MARK:{r.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case y.APOSTROPHE:{r.systemId="",this.state=x.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case y.GREATER_THAN_SIGN:{this._err(P.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=x.DATA,this.emitCurrentDoctype(r);break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case y.QUOTATION_MARK:{this.state=x.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case y.NULL:{this._err(P.unexpectedNullCharacter),r.systemId+=Se;break}case y.GREATER_THAN_SIGN:{this._err(P.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=x.DATA;break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case y.APOSTROPHE:{this.state=x.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case y.NULL:{this._err(P.unexpectedNullCharacter),r.systemId+=Se;break}case y.GREATER_THAN_SIGN:{this._err(P.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=x.DATA;break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case y.SPACE:case y.LINE_FEED:case y.TABULATION:case y.FORM_FEED:break;case y.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=x.DATA;break}case y.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=x.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case y.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=x.DATA;break}case y.NULL:{this._err(P.unexpectedNullCharacter);break}case y.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case y.RIGHT_SQUARE_BRACKET:{this.state=x.CDATA_SECTION_BRACKET;break}case y.EOF:{this._err(P.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===y.RIGHT_SQUARE_BRACKET?this.state=x.CDATA_SECTION_END:(this._emitChars("]"),this.state=x.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case y.GREATER_THAN_SIGN:{this.state=x.DATA;break}case y.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=x.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(y.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Il(this.preprocessor.peek(1))?x.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Il(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===y.SEMICOLON&&this._err(P.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const S1=new Set([c.DD,c.DT,c.LI,c.OPTGROUP,c.OPTION,c.P,c.RB,c.RP,c.RT,c.RTC]),Nl=new Set([...S1,c.CAPTION,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]),h0=new Set([c.APPLET,c.CAPTION,c.HTML,c.MARQUEE,c.OBJECT,c.TABLE,c.TD,c.TEMPLATE,c.TH]),E7=new Set([...h0,c.OL,c.UL]),T7=new Set([...h0,c.BUTTON]),Dl=new Set([c.ANNOTATION_XML,c.MI,c.MN,c.MO,c.MS,c.MTEXT]),Ol=new Set([c.DESC,c.FOREIGN_OBJECT,c.TITLE]),y7=new Set([c.TR,c.TEMPLATE,c.HTML]),x7=new Set([c.TBODY,c.TFOOT,c.THEAD,c.TEMPLATE,c.HTML]),v7=new Set([c.TABLE,c.TEMPLATE,c.HTML]),A7=new Set([c.TD,c.TH]);class S7{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=c.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===c.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===H.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){const n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){const a=this._indexOf(t)+1;this.items.splice(a,0,r),this.tagIDs.splice(a,0,n),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==H.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(t){for(;this.stackTop>=t;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){const r=this._indexOf(t);this.shortenToLength(Math.max(r,0))}popUntilPopped(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(pi,H.HTML)}popUntilTableCellPopped(){this.popUntilPopped(A7,H.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(v7,H.HTML)}clearBackToTableBodyContext(){this.clearBackTo(x7,H.HTML)}clearBackToTableRowContext(){this.clearBackTo(y7,H.HTML)}remove(t){const r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===c.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===c.HTML}hasInDynamicScope(t,r){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case H.HTML:{if(a===t)return!0;if(r.has(a))return!1;break}case H.SVG:{if(Ol.has(a))return!1;break}case H.MATHML:{if(Dl.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,h0)}hasInListItemScope(t){return this.hasInDynamicScope(t,E7)}hasInButtonScope(t){return this.hasInDynamicScope(t,T7)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case H.HTML:{if(pi.has(r))return!0;if(h0.has(r))return!1;break}case H.SVG:{if(Ol.has(r))return!1;break}case H.MATHML:{if(Dl.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===H.HTML)switch(this.tagIDs[r]){case t:return!0;case c.TABLE:case c.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===H.HTML)switch(this.tagIDs[t]){case c.TBODY:case c.THEAD:case c.TFOOT:return!0;case c.TABLE:case c.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===H.HTML)switch(this.tagIDs[r]){case t:return!0;case c.OPTION:case c.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&S1.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Nl.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Nl.has(this.currentTagId);)this.pop()}}const Ba=3;var xt;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(xt||(xt={}));const Ll={type:xt.Marker};class k7{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){const n=[],a=r.length,i=this.treeAdapter.getTagName(t),u=this.treeAdapter.getNamespaceURI(t);for(let s=0;s<this.entries.length;s++){const l=this.entries[s];if(l.type===xt.Marker)break;const{element:o}=l;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===u){const f=this.treeAdapter.getAttrList(o);f.length===a&&n.push({idx:s,attrs:f})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<Ba)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<Ba)return;const a=new Map(r.map(u=>[u.name,u.value]));let i=0;for(let u=0;u<n.length;u++){const s=n[u];s.attrs.every(l=>a.get(l.name)===l.value)&&(i+=1,i>=Ba&&this.entries.splice(s.idx,1))}}insertMarker(){this.entries.unshift(Ll)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:xt.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:xt.Element,element:t,token:r})}removeEntry(t){const r=this.entries.indexOf(t);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){const t=this.entries.indexOf(Ll);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===xt.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===xt.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===xt.Element&&r.element===t)}}const Xt={createDocument(){return{nodeName:"#document",mode:ct.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=r,a.systemId=n;else{const i={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};Xt.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const r=e.childNodes[e.childNodes.length-1];if(Xt.isTextNode(r)){r.value+=t;return}}Xt.appendChild(e,Xt.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&Xt.isTextNode(n)?n.value+=t:Xt.insertBefore(e,Xt.createTextNode(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},k1="html",w7="about:legacy-compat",C7="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",w1=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],I7=[...w1,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],_7=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),C1=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],N7=[...C1,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Rl(e,t){return t.some(r=>e.startsWith(r))}function D7(e){return e.name===k1&&e.publicId===null&&(e.systemId===null||e.systemId===w7)}function O7(e){if(e.name!==k1)return ct.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===C7)return ct.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),_7.has(r))return ct.QUIRKS;let n=t===null?I7:w1;if(Rl(r,n))return ct.QUIRKS;if(n=t===null?C1:N7,Rl(r,n))return ct.LIMITED_QUIRKS}return ct.NO_QUIRKS}const Ml={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},L7="definitionurl",R7="definitionURL",M7=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),P7=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:H.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:H.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:H.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:H.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:H.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:H.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:H.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:H.XML}],["xml:space",{prefix:"xml",name:"space",namespace:H.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:H.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:H.XMLNS}]]),B7=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),F7=new Set([c.B,c.BIG,c.BLOCKQUOTE,c.BODY,c.BR,c.CENTER,c.CODE,c.DD,c.DIV,c.DL,c.DT,c.EM,c.EMBED,c.H1,c.H2,c.H3,c.H4,c.H5,c.H6,c.HEAD,c.HR,c.I,c.IMG,c.LI,c.LISTING,c.MENU,c.META,c.NOBR,c.OL,c.P,c.PRE,c.RUBY,c.S,c.SMALL,c.SPAN,c.STRONG,c.STRIKE,c.SUB,c.SUP,c.TABLE,c.TT,c.U,c.UL,c.VAR]);function H7(e){const t=e.tagID;return t===c.FONT&&e.attrs.some(({name:n})=>n===hr.COLOR||n===hr.SIZE||n===hr.FACE)||F7.has(t)}function I1(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===L7){e.attrs[t].name=R7;break}}function _1(e){for(let t=0;t<e.attrs.length;t++){const r=M7.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function lu(e){for(let t=0;t<e.attrs.length;t++){const r=P7.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function z7(e){const t=B7.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Ur(e.tagName))}function U7(e,t){return t===H.MATHML&&(e===c.MI||e===c.MO||e===c.MN||e===c.MS||e===c.MTEXT)}function q7(e,t,r){if(t===H.MATHML&&e===c.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===hr.ENCODING){const a=r[n].value.toLowerCase();return a===Ml.TEXT_HTML||a===Ml.APPLICATION_XML}}return t===H.SVG&&(e===c.FOREIGN_OBJECT||e===c.DESC||e===c.TITLE)}function Y7(e,t,r,n){return(!n||n===H.HTML)&&q7(e,t,r)||(!n||n===H.MATHML)&&U7(e,t)}const V7="hidden",G7=8,$7=3;var k;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(k||(k={}));const W7={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},N1=new Set([c.TABLE,c.TBODY,c.TFOOT,c.THEAD,c.TR]),Pl={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Xt,onParseError:null};class Bl{constructor(t,r,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=k.INITIAL,this.originalInsertionMode=k.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Pl,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r??this.treeAdapter.createDocument(),this.tokenizer=new b7(this.options,this),this.activeFormattingElements=new k7(this.treeAdapter),this.fragmentContextID=n?Ur(this.treeAdapter.getTagName(n)):c.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new S7(this.document,this.treeAdapter,this)}static parse(t,r){const n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){const n={...Pl,...r};t??(t=n.treeAdapter.createElement(L.TEMPLATE,H.HTML,[]));const a=n.treeAdapter.createElement("documentmock",H.HTML,[]),i=new this(n,a,t);return i.fragmentContextID===c.TEMPLATE&&i.tmplInsertionModeStack.unshift(k.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:W7,u={code:r,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(u)}onItemPush(t,r,n){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(n=this.treeAdapter).onItemPop)===null||a===void 0||a.call(n,t,this.openElements.current),r){let i,u;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,u=this.fragmentContextID):{current:i,currentTagId:u}=this.openElements,this._setContextModes(i,u)}}_setContextModes(t,r){const n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===H.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,H.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=k.TEXT}switchToPlaintextParsing(){this.insertionMode=k.TEXT,this.originalInsertionMode=k.IN_BODY,this.tokenizer.state=Ne.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===L.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==H.HTML))switch(this.fragmentContextID){case c.TITLE:case c.TEXTAREA:{this.tokenizer.state=Ne.RCDATA;break}case c.STYLE:case c.XMP:case c.IFRAME:case c.NOEMBED:case c.NOFRAMES:case c.NOSCRIPT:{this.tokenizer.state=Ne.RAWTEXT;break}case c.SCRIPT:{this.tokenizer.state=Ne.SCRIPT_DATA;break}case c.PLAINTEXT:{this.tokenizer.state=Ne.PLAINTEXT;break}}}_setDocumentType(t){const r=t.name||"",n=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,a),t.location){const u=this.treeAdapter.getChildNodes(this.document).find(s=>this.treeAdapter.isDocumentTypeNode(s));u&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n??this.document,t)}}_appendElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){const n=this.treeAdapter.createElement(t,H.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,H.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(L.HTML,H.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,c.HTML)}_appendCommentNode(t,r){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(r),i=n?a.lastIndexOf(n):a.length,u=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(u)){const{endLine:l,endCol:o,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(u,{endLine:l,endCol:o,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(u,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){const n=r.location,a=this.treeAdapter.getTagName(t),i=r.type===he.END_TAG&&a===r.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===c.SVG&&this.treeAdapter.getTagName(r)===L.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===H.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===c.MGLYPH||t.tagID===c.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,H.HTML)}_processToken(t){switch(t.type){case he.CHARACTER:{this.onCharacter(t);break}case he.NULL_CHARACTER:{this.onNullCharacter(t);break}case he.COMMENT:{this.onComment(t);break}case he.DOCTYPE:{this.onDoctype(t);break}case he.START_TAG:{this._processStartTag(t);break}case he.END_TAG:{this.onEndTag(t);break}case he.EOF:{this.onEof(t);break}case he.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return Y7(t,a,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===xt.Marker||this.openElements.contains(a.element)),n=r===-1?t-1:r-1;for(let a=n;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=k.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(c.P),this.openElements.popUntilTagNamePopped(c.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case c.TR:{this.insertionMode=k.IN_ROW;return}case c.TBODY:case c.THEAD:case c.TFOOT:{this.insertionMode=k.IN_TABLE_BODY;return}case c.CAPTION:{this.insertionMode=k.IN_CAPTION;return}case c.COLGROUP:{this.insertionMode=k.IN_COLUMN_GROUP;return}case c.TABLE:{this.insertionMode=k.IN_TABLE;return}case c.BODY:{this.insertionMode=k.IN_BODY;return}case c.FRAMESET:{this.insertionMode=k.IN_FRAMESET;return}case c.SELECT:{this._resetInsertionModeForSelect(t);return}case c.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case c.HTML:{this.insertionMode=this.headElement?k.AFTER_HEAD:k.BEFORE_HEAD;return}case c.TD:case c.TH:{if(t>0){this.insertionMode=k.IN_CELL;return}break}case c.HEAD:{if(t>0){this.insertionMode=k.IN_HEAD;return}break}}this.insertionMode=k.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===c.TEMPLATE)break;if(n===c.TABLE){this.insertionMode=k.IN_SELECT_IN_TABLE;return}}this.insertionMode=k.IN_SELECT}_isElementCausesFosterParenting(t){return N1.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case c.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===H.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case c.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){const n=this.treeAdapter.getNamespaceURI(t);return d7[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Ag(this,t);return}switch(this.insertionMode){case k.INITIAL:{Kr(this,t);break}case k.BEFORE_HTML:{sn(this,t);break}case k.BEFORE_HEAD:{ln(this,t);break}case k.IN_HEAD:{on(this,t);break}case k.IN_HEAD_NO_SCRIPT:{cn(this,t);break}case k.AFTER_HEAD:{hn(this,t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:{O1(this,t);break}case k.TEXT:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{Fa(this,t);break}case k.IN_TABLE_TEXT:{F1(this,t);break}case k.IN_COLUMN_GROUP:{f0(this,t);break}case k.AFTER_BODY:{d0(this,t);break}case k.AFTER_AFTER_BODY:{e0(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){vg(this,t);return}switch(this.insertionMode){case k.INITIAL:{Kr(this,t);break}case k.BEFORE_HTML:{sn(this,t);break}case k.BEFORE_HEAD:{ln(this,t);break}case k.IN_HEAD:{on(this,t);break}case k.IN_HEAD_NO_SCRIPT:{cn(this,t);break}case k.AFTER_HEAD:{hn(this,t);break}case k.TEXT:{this._insertCharacters(t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{Fa(this,t);break}case k.IN_COLUMN_GROUP:{f0(this,t);break}case k.AFTER_BODY:{d0(this,t);break}case k.AFTER_AFTER_BODY:{e0(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){gi(this,t);return}switch(this.insertionMode){case k.INITIAL:case k.BEFORE_HTML:case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_TEMPLATE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{gi(this,t);break}case k.IN_TABLE_TEXT:{Jr(this,t);break}case k.AFTER_BODY:{e8(this,t);break}case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{t8(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case k.INITIAL:{r8(this,t);break}case k.BEFORE_HEAD:case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:{this._err(t,P.misplacedDoctype);break}case k.IN_TABLE_TEXT:{Jr(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,P.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Sg(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{Kr(this,t);break}case k.BEFORE_HTML:{n8(this,t);break}case k.BEFORE_HEAD:{i8(this,t);break}case k.IN_HEAD:{Et(this,t);break}case k.IN_HEAD_NO_SCRIPT:{l8(this,t);break}case k.AFTER_HEAD:{c8(this,t);break}case k.IN_BODY:{Ye(this,t);break}case k.IN_TABLE:{Rr(this,t);break}case k.IN_TABLE_TEXT:{Jr(this,t);break}case k.IN_CAPTION:{ug(this,t);break}case k.IN_COLUMN_GROUP:{hu(this,t);break}case k.IN_TABLE_BODY:{O0(this,t);break}case k.IN_ROW:{L0(this,t);break}case k.IN_CELL:{og(this,t);break}case k.IN_SELECT:{U1(this,t);break}case k.IN_SELECT_IN_TABLE:{hg(this,t);break}case k.IN_TEMPLATE:{dg(this,t);break}case k.AFTER_BODY:{pg(this,t);break}case k.IN_FRAMESET:{gg(this,t);break}case k.AFTER_FRAMESET:{Eg(this,t);break}case k.AFTER_AFTER_BODY:{yg(this,t);break}case k.AFTER_AFTER_FRAMESET:{xg(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?kg(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case k.INITIAL:{Kr(this,t);break}case k.BEFORE_HTML:{a8(this,t);break}case k.BEFORE_HEAD:{u8(this,t);break}case k.IN_HEAD:{s8(this,t);break}case k.IN_HEAD_NO_SCRIPT:{o8(this,t);break}case k.AFTER_HEAD:{h8(this,t);break}case k.IN_BODY:{D0(this,t);break}case k.TEXT:{Q8(this,t);break}case k.IN_TABLE:{En(this,t);break}case k.IN_TABLE_TEXT:{Jr(this,t);break}case k.IN_CAPTION:{sg(this,t);break}case k.IN_COLUMN_GROUP:{lg(this,t);break}case k.IN_TABLE_BODY:{bi(this,t);break}case k.IN_ROW:{z1(this,t);break}case k.IN_CELL:{cg(this,t);break}case k.IN_SELECT:{q1(this,t);break}case k.IN_SELECT_IN_TABLE:{fg(this,t);break}case k.IN_TEMPLATE:{mg(this,t);break}case k.AFTER_BODY:{V1(this,t);break}case k.IN_FRAMESET:{bg(this,t);break}case k.AFTER_FRAMESET:{Tg(this,t);break}case k.AFTER_AFTER_BODY:{e0(this,t);break}}}onEof(t){switch(this.insertionMode){case k.INITIAL:{Kr(this,t);break}case k.BEFORE_HTML:{sn(this,t);break}case k.BEFORE_HEAD:{ln(this,t);break}case k.IN_HEAD:{on(this,t);break}case k.IN_HEAD_NO_SCRIPT:{cn(this,t);break}case k.AFTER_HEAD:{hn(this,t);break}case k.IN_BODY:case k.IN_TABLE:case k.IN_CAPTION:case k.IN_COLUMN_GROUP:case k.IN_TABLE_BODY:case k.IN_ROW:case k.IN_CELL:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:{P1(this,t);break}case k.TEXT:{K8(this,t);break}case k.IN_TABLE_TEXT:{Jr(this,t);break}case k.IN_TEMPLATE:{Y1(this,t);break}case k.AFTER_BODY:case k.IN_FRAMESET:case k.AFTER_FRAMESET:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{cu(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===y.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case k.IN_HEAD:case k.IN_HEAD_NO_SCRIPT:case k.AFTER_HEAD:case k.TEXT:case k.IN_COLUMN_GROUP:case k.IN_SELECT:case k.IN_SELECT_IN_TABLE:case k.IN_FRAMESET:case k.AFTER_FRAMESET:{this._insertCharacters(t);break}case k.IN_BODY:case k.IN_CAPTION:case k.IN_CELL:case k.IN_TEMPLATE:case k.AFTER_BODY:case k.AFTER_AFTER_BODY:case k.AFTER_AFTER_FRAMESET:{D1(this,t);break}case k.IN_TABLE:case k.IN_TABLE_BODY:case k.IN_ROW:{Fa(this,t);break}case k.IN_TABLE_TEXT:{B1(this,t);break}}}}function j7(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):M1(e,t),r}function X7(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const a=e.openElements.items[n];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[n])&&(r=a)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}function Q7(e,t,r){let n=t,a=e.openElements.getCommonAncestor(t);for(let i=0,u=a;u!==r;i++,u=a){a=e.openElements.getCommonAncestor(u);const s=e.activeFormattingElements.getElementEntry(u),l=s&&i>=$7;!s||l?(l&&e.activeFormattingElements.removeEntry(s),e.openElements.remove(u)):(u=K7(e,s),n===t&&(e.activeFormattingElements.bookmark=s),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(u,n),n=u)}return n}function K7(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function J7(e,t,r){const n=e.treeAdapter.getTagName(t),a=Ur(n);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(r);else{const i=e.treeAdapter.getNamespaceURI(t);a===c.TEMPLATE&&i===H.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function Z7(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:a}=r,i=e.treeAdapter.createElement(a.tagName,n,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,a.tagID)}function ou(e,t){for(let r=0;r<G7;r++){const n=j7(e,t);if(!n)break;const a=X7(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;const i=Q7(e,a,n.element),u=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),u&&J7(e,u,i),Z7(e,a,n)}}function gi(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e8(e,t){e._appendCommentNode(t,e.openElements.items[0])}function t8(e,t){e._appendCommentNode(t,e.document)}function cu(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(n);if(a&&!a.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],u=e.treeAdapter.getNodeSourceCodeLocation(i);u&&!u.endTag&&e._setEndLocation(i,t)}}}}function r8(e,t){e._setDocumentType(t);const r=t.forceQuirks?ct.QUIRKS:O7(t);D7(t)||e._err(t,P.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=k.BEFORE_HTML}function Kr(e,t){e._err(t,P.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ct.QUIRKS),e.insertionMode=k.BEFORE_HTML,e._processToken(t)}function n8(e,t){t.tagID===c.HTML?(e._insertElement(t,H.HTML),e.insertionMode=k.BEFORE_HEAD):sn(e,t)}function a8(e,t){const r=t.tagID;(r===c.HTML||r===c.HEAD||r===c.BODY||r===c.BR)&&sn(e,t)}function sn(e,t){e._insertFakeRootElement(),e.insertionMode=k.BEFORE_HEAD,e._processToken(t)}function i8(e,t){switch(t.tagID){case c.HTML:{Ye(e,t);break}case c.HEAD:{e._insertElement(t,H.HTML),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD;break}default:ln(e,t)}}function u8(e,t){const r=t.tagID;r===c.HEAD||r===c.BODY||r===c.HTML||r===c.BR?ln(e,t):e._err(t,P.endTagWithoutMatchingOpenElement)}function ln(e,t){e._insertFakeElement(L.HEAD,c.HEAD),e.headElement=e.openElements.current,e.insertionMode=k.IN_HEAD,e._processToken(t)}function Et(e,t){switch(t.tagID){case c.HTML:{Ye(e,t);break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:{e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case c.TITLE:{e._switchToTextParsing(t,Ne.RCDATA);break}case c.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Ne.RAWTEXT):(e._insertElement(t,H.HTML),e.insertionMode=k.IN_HEAD_NO_SCRIPT);break}case c.NOFRAMES:case c.STYLE:{e._switchToTextParsing(t,Ne.RAWTEXT);break}case c.SCRIPT:{e._switchToTextParsing(t,Ne.SCRIPT_DATA);break}case c.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=k.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(k.IN_TEMPLATE);break}case c.HEAD:{e._err(t,P.misplacedStartTagForHeadElement);break}default:on(e,t)}}function s8(e,t){switch(t.tagID){case c.HEAD:{e.openElements.pop(),e.insertionMode=k.AFTER_HEAD;break}case c.BODY:case c.BR:case c.HTML:{on(e,t);break}case c.TEMPLATE:{gr(e,t);break}default:e._err(t,P.endTagWithoutMatchingOpenElement)}}function gr(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==c.TEMPLATE&&e._err(t,P.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,P.endTagWithoutMatchingOpenElement)}function on(e,t){e.openElements.pop(),e.insertionMode=k.AFTER_HEAD,e._processToken(t)}function l8(e,t){switch(t.tagID){case c.HTML:{Ye(e,t);break}case c.BASEFONT:case c.BGSOUND:case c.HEAD:case c.LINK:case c.META:case c.NOFRAMES:case c.STYLE:{Et(e,t);break}case c.NOSCRIPT:{e._err(t,P.nestedNoscriptInHead);break}default:cn(e,t)}}function o8(e,t){switch(t.tagID){case c.NOSCRIPT:{e.openElements.pop(),e.insertionMode=k.IN_HEAD;break}case c.BR:{cn(e,t);break}default:e._err(t,P.endTagWithoutMatchingOpenElement)}}function cn(e,t){const r=t.type===he.EOF?P.openElementsLeftAfterEof:P.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=k.IN_HEAD,e._processToken(t)}function c8(e,t){switch(t.tagID){case c.HTML:{Ye(e,t);break}case c.BODY:{e._insertElement(t,H.HTML),e.framesetOk=!1,e.insertionMode=k.IN_BODY;break}case c.FRAMESET:{e._insertElement(t,H.HTML),e.insertionMode=k.IN_FRAMESET;break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{e._err(t,P.abandonedHeadElementChild),e.openElements.push(e.headElement,c.HEAD),Et(e,t),e.openElements.remove(e.headElement);break}case c.HEAD:{e._err(t,P.misplacedStartTagForHeadElement);break}default:hn(e,t)}}function h8(e,t){switch(t.tagID){case c.BODY:case c.HTML:case c.BR:{hn(e,t);break}case c.TEMPLATE:{gr(e,t);break}default:e._err(t,P.endTagWithoutMatchingOpenElement)}}function hn(e,t){e._insertFakeElement(L.BODY,c.BODY),e.insertionMode=k.IN_BODY,N0(e,t)}function N0(e,t){switch(t.type){case he.CHARACTER:{O1(e,t);break}case he.WHITESPACE_CHARACTER:{D1(e,t);break}case he.COMMENT:{gi(e,t);break}case he.START_TAG:{Ye(e,t);break}case he.END_TAG:{D0(e,t);break}case he.EOF:{P1(e,t);break}}}function D1(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function O1(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function f8(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function d8(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function m8(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,H.HTML),e.insertionMode=k.IN_FRAMESET)}function p8(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML)}function g8(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&pi.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,H.HTML)}function b8(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function E8(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML),r||(e.formElement=e.openElements.current))}function T8(e,t){e.framesetOk=!1;const r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){const a=e.openElements.tagIDs[n];if(r===c.LI&&a===c.LI||(r===c.DD||r===c.DT)&&(a===c.DD||a===c.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==c.ADDRESS&&a!==c.DIV&&a!==c.P&&e._isSpecialElement(e.openElements.items[n],a))break}e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML)}function y8(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.tokenizer.state=Ne.PLAINTEXT}function x8(e,t){e.openElements.hasInScope(c.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.framesetOk=!1}function v8(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(L.A);r&&(ou(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function A8(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function S8(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(c.NOBR)&&(ou(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,H.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function k8(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function w8(e,t){e.treeAdapter.getDocumentMode(e.document)!==ct.QUIRKS&&e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,H.HTML),e.framesetOk=!1,e.insertionMode=k.IN_TABLE}function L1(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,H.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function R1(e){const t=v1(e,hr.TYPE);return t!=null&&t.toLowerCase()===V7}function C8(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,H.HTML),R1(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function I8(e,t){e._appendElement(t,H.HTML),t.ackSelfClosing=!0}function _8(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._appendElement(t,H.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function N8(e,t){t.tagName=L.IMG,t.tagID=c.IMG,L1(e,t)}function D8(e,t){e._insertElement(t,H.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ne.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=k.TEXT}function O8(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ne.RAWTEXT)}function L8(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ne.RAWTEXT)}function Fl(e,t){e._switchToTextParsing(t,Ne.RAWTEXT)}function R8(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===k.IN_TABLE||e.insertionMode===k.IN_CAPTION||e.insertionMode===k.IN_TABLE_BODY||e.insertionMode===k.IN_ROW||e.insertionMode===k.IN_CELL?k.IN_SELECT_IN_TABLE:k.IN_SELECT}function M8(e,t){e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML)}function P8(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,H.HTML)}function B8(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(c.RTC),e._insertElement(t,H.HTML)}function F8(e,t){e._reconstructActiveFormattingElements(),I1(t),lu(t),t.selfClosing?e._appendElement(t,H.MATHML):e._insertElement(t,H.MATHML),t.ackSelfClosing=!0}function H8(e,t){e._reconstructActiveFormattingElements(),_1(t),lu(t),t.selfClosing?e._appendElement(t,H.SVG):e._insertElement(t,H.SVG),t.ackSelfClosing=!0}function Hl(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,H.HTML)}function Ye(e,t){switch(t.tagID){case c.I:case c.S:case c.B:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.SMALL:case c.STRIKE:case c.STRONG:{A8(e,t);break}case c.A:{v8(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{g8(e,t);break}case c.P:case c.DL:case c.OL:case c.UL:case c.DIV:case c.DIR:case c.NAV:case c.MAIN:case c.MENU:case c.ASIDE:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.DETAILS:case c.ADDRESS:case c.ARTICLE:case c.SEARCH:case c.SECTION:case c.SUMMARY:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{p8(e,t);break}case c.LI:case c.DD:case c.DT:{T8(e,t);break}case c.BR:case c.IMG:case c.WBR:case c.AREA:case c.EMBED:case c.KEYGEN:{L1(e,t);break}case c.HR:{_8(e,t);break}case c.RB:case c.RTC:{P8(e,t);break}case c.RT:case c.RP:{B8(e,t);break}case c.PRE:case c.LISTING:{b8(e,t);break}case c.XMP:{O8(e,t);break}case c.SVG:{H8(e,t);break}case c.HTML:{f8(e,t);break}case c.BASE:case c.LINK:case c.META:case c.STYLE:case c.TITLE:case c.SCRIPT:case c.BGSOUND:case c.BASEFONT:case c.TEMPLATE:{Et(e,t);break}case c.BODY:{d8(e,t);break}case c.FORM:{E8(e,t);break}case c.NOBR:{S8(e,t);break}case c.MATH:{F8(e,t);break}case c.TABLE:{w8(e,t);break}case c.INPUT:{C8(e,t);break}case c.PARAM:case c.TRACK:case c.SOURCE:{I8(e,t);break}case c.IMAGE:{N8(e,t);break}case c.BUTTON:{x8(e,t);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{k8(e,t);break}case c.IFRAME:{L8(e,t);break}case c.SELECT:{R8(e,t);break}case c.OPTION:case c.OPTGROUP:{M8(e,t);break}case c.NOEMBED:case c.NOFRAMES:{Fl(e,t);break}case c.FRAMESET:{m8(e,t);break}case c.TEXTAREA:{D8(e,t);break}case c.NOSCRIPT:{e.options.scriptingEnabled?Fl(e,t):Hl(e,t);break}case c.PLAINTEXT:{y8(e,t);break}case c.COL:case c.TH:case c.TD:case c.TR:case c.HEAD:case c.FRAME:case c.TBODY:case c.TFOOT:case c.THEAD:case c.CAPTION:case c.COLGROUP:break;default:Hl(e,t)}}function z8(e,t){if(e.openElements.hasInScope(c.BODY)&&(e.insertionMode=k.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function U8(e,t){e.openElements.hasInScope(c.BODY)&&(e.insertionMode=k.AFTER_BODY,V1(e,t))}function q8(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function Y8(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(c.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(c.FORM):r&&e.openElements.remove(r))}function V8(e){e.openElements.hasInButtonScope(c.P)||e._insertFakeElement(L.P,c.P),e._closePElement()}function G8(e){e.openElements.hasInListItemScope(c.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(c.LI),e.openElements.popUntilTagNamePopped(c.LI))}function $8(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function W8(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function j8(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function X8(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(L.BR,c.BR),e.openElements.pop(),e.framesetOk=!1}function M1(e,t){const r=t.tagName,n=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],u=e.openElements.tagIDs[a];if(n===u&&(n!==c.UNKNOWN||e.treeAdapter.getTagName(i)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,u))break}}function D0(e,t){switch(t.tagID){case c.A:case c.B:case c.I:case c.S:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.NOBR:case c.SMALL:case c.STRIKE:case c.STRONG:{ou(e,t);break}case c.P:{V8(e);break}case c.DL:case c.UL:case c.OL:case c.DIR:case c.DIV:case c.NAV:case c.PRE:case c.MAIN:case c.MENU:case c.ASIDE:case c.BUTTON:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.ADDRESS:case c.ARTICLE:case c.DETAILS:case c.SEARCH:case c.SECTION:case c.SUMMARY:case c.LISTING:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{q8(e,t);break}case c.LI:{G8(e);break}case c.DD:case c.DT:{$8(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{W8(e);break}case c.BR:{X8(e);break}case c.BODY:{z8(e,t);break}case c.HTML:{U8(e,t);break}case c.FORM:{Y8(e);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{j8(e,t);break}case c.TEMPLATE:{gr(e,t);break}default:M1(e,t)}}function P1(e,t){e.tmplInsertionModeStack.length>0?Y1(e,t):cu(e,t)}function Q8(e,t){var r;t.tagID===c.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function K8(e,t){e._err(t,P.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Fa(e,t){if(e.openElements.currentTagId!==void 0&&N1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=k.IN_TABLE_TEXT,t.type){case he.CHARACTER:{F1(e,t);break}case he.WHITESPACE_CHARACTER:{B1(e,t);break}}else Cn(e,t)}function J8(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,H.HTML),e.insertionMode=k.IN_CAPTION}function Z8(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,H.HTML),e.insertionMode=k.IN_COLUMN_GROUP}function eg(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(L.COLGROUP,c.COLGROUP),e.insertionMode=k.IN_COLUMN_GROUP,hu(e,t)}function tg(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,H.HTML),e.insertionMode=k.IN_TABLE_BODY}function rg(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(L.TBODY,c.TBODY),e.insertionMode=k.IN_TABLE_BODY,O0(e,t)}function ng(e,t){e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function ag(e,t){R1(t)?e._appendElement(t,H.HTML):Cn(e,t),t.ackSelfClosing=!0}function ig(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,H.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Rr(e,t){switch(t.tagID){case c.TD:case c.TH:case c.TR:{rg(e,t);break}case c.STYLE:case c.SCRIPT:case c.TEMPLATE:{Et(e,t);break}case c.COL:{eg(e,t);break}case c.FORM:{ig(e,t);break}case c.TABLE:{ng(e,t);break}case c.TBODY:case c.TFOOT:case c.THEAD:{tg(e,t);break}case c.INPUT:{ag(e,t);break}case c.CAPTION:{J8(e,t);break}case c.COLGROUP:{Z8(e,t);break}default:Cn(e,t)}}function En(e,t){switch(t.tagID){case c.TABLE:{e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode());break}case c.TEMPLATE:{gr(e,t);break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TBODY:case c.TD:case c.TFOOT:case c.TH:case c.THEAD:case c.TR:break;default:Cn(e,t)}}function Cn(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,N0(e,t),e.fosterParentingEnabled=r}function B1(e,t){e.pendingCharacterTokens.push(t)}function F1(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Jr(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)Cn(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const H1=new Set([c.CAPTION,c.COL,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]);function ug(e,t){const r=t.tagID;H1.has(r)?e.openElements.hasInTableScope(c.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=k.IN_TABLE,Rr(e,t)):Ye(e,t)}function sg(e,t){const r=t.tagID;switch(r){case c.CAPTION:case c.TABLE:{e.openElements.hasInTableScope(c.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=k.IN_TABLE,r===c.TABLE&&En(e,t));break}case c.BODY:case c.COL:case c.COLGROUP:case c.HTML:case c.TBODY:case c.TD:case c.TFOOT:case c.TH:case c.THEAD:case c.TR:break;default:D0(e,t)}}function hu(e,t){switch(t.tagID){case c.HTML:{Ye(e,t);break}case c.COL:{e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case c.TEMPLATE:{Et(e,t);break}default:f0(e,t)}}function lg(e,t){switch(t.tagID){case c.COLGROUP:{e.openElements.currentTagId===c.COLGROUP&&(e.openElements.pop(),e.insertionMode=k.IN_TABLE);break}case c.TEMPLATE:{gr(e,t);break}case c.COL:break;default:f0(e,t)}}function f0(e,t){e.openElements.currentTagId===c.COLGROUP&&(e.openElements.pop(),e.insertionMode=k.IN_TABLE,e._processToken(t))}function O0(e,t){switch(t.tagID){case c.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,H.HTML),e.insertionMode=k.IN_ROW;break}case c.TH:case c.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(L.TR,c.TR),e.insertionMode=k.IN_ROW,L0(e,t);break}case c.CAPTION:case c.COL:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE,Rr(e,t));break}default:Rr(e,t)}}function bi(e,t){const r=t.tagID;switch(t.tagID){case c.TBODY:case c.TFOOT:case c.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE);break}case c.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE,En(e,t));break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TD:case c.TH:case c.TR:break;default:En(e,t)}}function L0(e,t){switch(t.tagID){case c.TH:case c.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,H.HTML),e.insertionMode=k.IN_CELL,e.activeFormattingElements.insertMarker();break}case c.CAPTION:case c.COL:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:case c.TR:{e.openElements.hasInTableScope(c.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY,O0(e,t));break}default:Rr(e,t)}}function z1(e,t){switch(t.tagID){case c.TR:{e.openElements.hasInTableScope(c.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY);break}case c.TABLE:{e.openElements.hasInTableScope(c.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY,bi(e,t));break}case c.TBODY:case c.TFOOT:case c.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(c.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=k.IN_TABLE_BODY,bi(e,t));break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TD:case c.TH:break;default:En(e,t)}}function og(e,t){const r=t.tagID;H1.has(r)?(e.openElements.hasInTableScope(c.TD)||e.openElements.hasInTableScope(c.TH))&&(e._closeTableCell(),L0(e,t)):Ye(e,t)}function cg(e,t){const r=t.tagID;switch(r){case c.TD:case c.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=k.IN_ROW);break}case c.TABLE:case c.TBODY:case c.TFOOT:case c.THEAD:case c.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),z1(e,t));break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:break;default:D0(e,t)}}function U1(e,t){switch(t.tagID){case c.HTML:{Ye(e,t);break}case c.OPTION:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._insertElement(t,H.HTML);break}case c.OPTGROUP:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop(),e._insertElement(t,H.HTML);break}case c.HR:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop(),e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case c.INPUT:case c.KEYGEN:case c.TEXTAREA:case c.SELECT:{e.openElements.hasInSelectScope(c.SELECT)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),t.tagID!==c.SELECT&&e._processStartTag(t));break}case c.SCRIPT:case c.TEMPLATE:{Et(e,t);break}}}function q1(e,t){switch(t.tagID){case c.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===c.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===c.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop();break}case c.OPTION:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop();break}case c.SELECT:{e.openElements.hasInSelectScope(c.SELECT)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode());break}case c.TEMPLATE:{gr(e,t);break}}}function hg(e,t){const r=t.tagID;r===c.CAPTION||r===c.TABLE||r===c.TBODY||r===c.TFOOT||r===c.THEAD||r===c.TR||r===c.TD||r===c.TH?(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e._processStartTag(t)):U1(e,t)}function fg(e,t){const r=t.tagID;r===c.CAPTION||r===c.TABLE||r===c.TBODY||r===c.TFOOT||r===c.THEAD||r===c.TR||r===c.TD||r===c.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e.onEndTag(t)):q1(e,t)}function dg(e,t){switch(t.tagID){case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{Et(e,t);break}case c.CAPTION:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:{e.tmplInsertionModeStack[0]=k.IN_TABLE,e.insertionMode=k.IN_TABLE,Rr(e,t);break}case c.COL:{e.tmplInsertionModeStack[0]=k.IN_COLUMN_GROUP,e.insertionMode=k.IN_COLUMN_GROUP,hu(e,t);break}case c.TR:{e.tmplInsertionModeStack[0]=k.IN_TABLE_BODY,e.insertionMode=k.IN_TABLE_BODY,O0(e,t);break}case c.TD:case c.TH:{e.tmplInsertionModeStack[0]=k.IN_ROW,e.insertionMode=k.IN_ROW,L0(e,t);break}default:e.tmplInsertionModeStack[0]=k.IN_BODY,e.insertionMode=k.IN_BODY,Ye(e,t)}}function mg(e,t){t.tagID===c.TEMPLATE&&gr(e,t)}function Y1(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):cu(e,t)}function pg(e,t){t.tagID===c.HTML?Ye(e,t):d0(e,t)}function V1(e,t){var r;if(t.tagID===c.HTML){if(e.fragmentContext||(e.insertionMode=k.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===c.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else d0(e,t)}function d0(e,t){e.insertionMode=k.IN_BODY,N0(e,t)}function gg(e,t){switch(t.tagID){case c.HTML:{Ye(e,t);break}case c.FRAMESET:{e._insertElement(t,H.HTML);break}case c.FRAME:{e._appendElement(t,H.HTML),t.ackSelfClosing=!0;break}case c.NOFRAMES:{Et(e,t);break}}}function bg(e,t){t.tagID===c.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==c.FRAMESET&&(e.insertionMode=k.AFTER_FRAMESET))}function Eg(e,t){switch(t.tagID){case c.HTML:{Ye(e,t);break}case c.NOFRAMES:{Et(e,t);break}}}function Tg(e,t){t.tagID===c.HTML&&(e.insertionMode=k.AFTER_AFTER_FRAMESET)}function yg(e,t){t.tagID===c.HTML?Ye(e,t):e0(e,t)}function e0(e,t){e.insertionMode=k.IN_BODY,N0(e,t)}function xg(e,t){switch(t.tagID){case c.HTML:{Ye(e,t);break}case c.NOFRAMES:{Et(e,t);break}}}function vg(e,t){t.chars=Se,e._insertCharacters(t)}function Ag(e,t){e._insertCharacters(t),e.framesetOk=!1}function G1(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==H.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Sg(e,t){if(H7(t))G1(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===H.MATHML?I1(t):n===H.SVG&&(z7(t),_1(t)),lu(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function kg(e,t){if(t.tagID===c.P||t.tagID===c.BR){G1(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===H.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(n);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(r);break}}}L.AREA,L.BASE,L.BASEFONT,L.BGSOUND,L.BR,L.COL,L.EMBED,L.FRAME,L.HR,L.IMG,L.INPUT,L.KEYGEN,L.LINK,L.META,L.PARAM,L.SOURCE,L.TRACK,L.WBR;const wg=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Cg=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),zl={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function $1(e,t){const r=Bg(e),n=No("type",{handlers:{root:Ig,element:_g,text:Ng,comment:j1,doctype:Dg,raw:Lg},unknown:Rg}),a={parser:r?new Bl(zl):Bl.getFragmentParser(void 0,zl),handle(s){n(s,a)},stitches:!1,options:t||{}};n(e,a),qr(a,wt());const i=r?a.parser.document:a.parser.getFragment(),u=F5(i,{file:a.options.file});return a.stitches&&E0(u,"comment",function(s,l,o){const f=s;if(f.value.stitch&&o&&l!==void 0){const d=o.children;return d[l]=f.value.stitch,l}}),u.type==="root"&&u.children.length===1&&u.children[0].type===e.type?u.children[0]:u}function W1(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function Ig(e,t){W1(e.children,t)}function _g(e,t){Mg(e,t),W1(e.children,t),Pg(e,t)}function Ng(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:he.CHARACTER,chars:e.value,location:In(e)};qr(t,wt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Dg(e,t){const r={type:he.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:In(e)};qr(t,wt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Og(e,t){t.stitches=!0;const r=Fg(e);if("children"in e&&"children"in r){const n=$1({type:"root",children:e.children},t.options);r.children=n.children}j1({type:"comment",value:{stitch:r}},t)}function j1(e,t){const r=e.value,n={type:he.COMMENT,data:r,location:In(e)};qr(t,wt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Lg(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,X1(t,wt(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(wg,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function Rg(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))Og(r,t);else{let n="";throw Cg.has(r.type)&&(n=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+n)}}function qr(e,t){X1(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ne.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function X1(e,t){if(t&&t.offset!==void 0){const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function Mg(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Ne.PLAINTEXT)return;qr(t,wt(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:St.html;a===St.html&&r==="svg"&&(a=St.svg);const i=Y5({...e,children:[]},{space:a===St.svg?"svg":"html"}),u={type:he.START_TAG,tagName:r,tagID:Ur(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:In(e)};t.parser.currentToken=u,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function Pg(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&K5.includes(r)||t.parser.tokenizer.state===Ne.PLAINTEXT)return;qr(t,m0(e));const n={type:he.END_TAG,tagName:r,tagID:Ur(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:In(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Ne.RCDATA||t.parser.tokenizer.state===Ne.RAWTEXT||t.parser.tokenizer.state===Ne.SCRIPT_DATA)&&(t.parser.tokenizer.state=Ne.DATA)}function Bg(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function In(e){const t=wt(e)||{line:void 0,column:void 0,offset:void 0},r=m0(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function Fg(e){return"children"in e?_r({...e,children:[]}):_r(e)}function $g(e){return function(t,r){return $1(t,{...e,file:r})}}export{zg as M,Ug as a,Yg as b,Vg as c,$g as d,qg as k,Gg as r};