@veracity/ai 1.0.1 → 2.0.1

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 (111) hide show
  1. package/dist/{ChatCompletionSSE.d.ts → ChatClient.d.ts} +22 -13
  2. package/dist/ChatClient.d.ts.map +1 -0
  3. package/dist/ChatMessageItem.d.ts +1 -1
  4. package/dist/ClientFunctionInvocation.d.ts +14 -0
  5. package/dist/ClientFunctionInvocation.d.ts.map +1 -0
  6. package/dist/ClientFunctionInvocationContext.d.ts +10 -0
  7. package/dist/ClientFunctionInvocationContext.d.ts.map +1 -0
  8. package/dist/Markdown/index.d.ts +2 -2
  9. package/dist/Markdown/index.d.ts.map +1 -1
  10. package/dist/Markdown/math.d.ts.map +1 -1
  11. package/dist/MaxInputLimitReachedError.d.ts +4 -0
  12. package/dist/MaxInputLimitReachedError.d.ts.map +1 -0
  13. package/dist/Pyodide.d.ts +1 -1
  14. package/dist/Pyodide.d.ts.map +1 -1
  15. package/dist/ToolCallBuilder.d.ts +13 -0
  16. package/dist/ToolCallBuilder.d.ts.map +1 -0
  17. package/dist/UnexpectedEndOfStreamError.d.ts +4 -0
  18. package/dist/UnexpectedEndOfStreamError.d.ts.map +1 -0
  19. package/dist/components/Button.d.ts +1 -0
  20. package/dist/components/Button.d.ts.map +1 -1
  21. package/dist/components/ButtonOptionsDialog.d.ts +27 -0
  22. package/dist/components/ButtonOptionsDialog.d.ts.map +1 -0
  23. package/dist/components/Chat/index.d.ts +39 -0
  24. package/dist/components/Chat/index.d.ts.map +1 -0
  25. package/dist/components/Conversation.d.ts +54 -0
  26. package/dist/components/Conversation.d.ts.map +1 -0
  27. package/dist/components/ConversationMessage.d.ts +53 -0
  28. package/dist/components/ConversationMessage.d.ts.map +1 -0
  29. package/dist/components/PythonCodeInterpreter.d.ts +38 -0
  30. package/dist/components/PythonCodeInterpreter.d.ts.map +1 -0
  31. package/dist/components/Search.d.ts +16 -0
  32. package/dist/components/Search.d.ts.map +1 -0
  33. package/dist/components/icons/AngleDown.d.ts +3 -0
  34. package/dist/components/icons/AngleDown.d.ts.map +1 -0
  35. package/dist/components/icons/ArrowDown.d.ts +1 -1
  36. package/dist/components/icons/Check.d.ts +1 -1
  37. package/dist/components/icons/CheckCircle.d.ts +3 -0
  38. package/dist/components/icons/CheckCircle.d.ts.map +1 -0
  39. package/dist/components/icons/ExclamationCircle.d.ts +1 -1
  40. package/dist/components/icons/ExclamationTriangle.d.ts +1 -1
  41. package/dist/components/icons/InfoCircle.d.ts +1 -1
  42. package/dist/components/icons/QuestionCircle.d.ts +1 -1
  43. package/dist/components/icons/SearchIcon.d.ts +3 -0
  44. package/dist/components/icons/SearchIcon.d.ts.map +1 -0
  45. package/dist/components/icons/Spinner.d.ts +1 -1
  46. package/dist/components/icons/Times.d.ts +3 -0
  47. package/dist/components/icons/Times.d.ts.map +1 -0
  48. package/dist/components/icons/TimesCircle.d.ts +1 -1
  49. package/dist/core-CdG-ENX3.js +1069 -0
  50. package/dist/{csharp-Cigc7XMa.js → csharp-EkcwwkCa.js} +18 -13
  51. package/dist/{css-B-yPI1XM.js → css-CJS6IEi0.js} +127 -18
  52. package/dist/dtos.d.ts +34 -4
  53. package/dist/dtos.d.ts.map +1 -1
  54. package/dist/enums.d.ts +13 -29
  55. package/dist/enums.d.ts.map +1 -1
  56. package/dist/index.d.ts +2 -2
  57. package/dist/index.d.ts.map +1 -1
  58. package/dist/{javascript-CDslspYb.js → javascript-B2FVNeJt.js} +26 -24
  59. package/dist/{katex-Cj8zHzei.js → katex-c21813vb.js} +454 -428
  60. package/dist/{python-CzH_tl5q.js → python-CymlFLB0.js} +21 -19
  61. package/dist/{typescript-Bx5cZccb.js → typescript-Cg8DWaxm.js} +163 -148
  62. package/dist/utils/CancellationToken.d.ts.map +1 -1
  63. package/dist/utils/Channel.d.ts +42 -1
  64. package/dist/utils/Channel.d.ts.map +1 -1
  65. package/dist/utils/animateAsync.d.ts +1 -1
  66. package/dist/utils/createDeferred.d.ts.map +1 -1
  67. package/dist/utils/parsePartialJSON.d.ts +1 -1
  68. package/dist/utils/parsePartialJSON.d.ts.map +1 -1
  69. package/dist/veracity-ai.es.js +5359 -5416
  70. package/dist/veracity-ai.umd.js +37 -40
  71. package/package.json +28 -20
  72. package/dist/ChatCompletionSSE.d.ts.map +0 -1
  73. package/dist/Markdown copy.d.ts +0 -2
  74. package/dist/Markdown copy.d.ts.map +0 -1
  75. package/dist/MessageLimitExceededError.d.ts +0 -6
  76. package/dist/MessageLimitExceededError.d.ts.map +0 -1
  77. package/dist/Pyodide_test.d.ts +0 -1
  78. package/dist/Pyodide_test.d.ts.map +0 -1
  79. package/dist/components/AIChat/index.d.ts +0 -42
  80. package/dist/components/AIChat/index.d.ts.map +0 -1
  81. package/dist/components/AIChatAgentMessage.d.ts +0 -28
  82. package/dist/components/AIChatAgentMessage.d.ts.map +0 -1
  83. package/dist/components/AIChatMessage.d.ts +0 -1
  84. package/dist/components/AIChatMessage.d.ts.map +0 -1
  85. package/dist/components/AIChatToolCallGroup.d.ts +0 -21
  86. package/dist/components/AIChatToolCallGroup.d.ts.map +0 -1
  87. package/dist/components/AIChatUserMessage.d.ts +0 -14
  88. package/dist/components/AIChatUserMessage.d.ts.map +0 -1
  89. package/dist/components/AIConversation.d.ts +0 -8
  90. package/dist/components/AIConversation.d.ts.map +0 -1
  91. package/dist/components/AIParent.d.ts +0 -8
  92. package/dist/components/AIParent.d.ts.map +0 -1
  93. package/dist/components/ErrorNotification.d.ts +0 -2
  94. package/dist/components/ErrorNotification.d.ts.map +0 -1
  95. package/dist/components/ToolCallComponent/TaskItemComponent.d.ts +0 -14
  96. package/dist/components/ToolCallComponent/TaskItemComponent.d.ts.map +0 -1
  97. package/dist/components/ToolCallComponent/index.d.ts +0 -86
  98. package/dist/components/ToolCallComponent/index.d.ts.map +0 -1
  99. package/dist/components/VeracityAvatar.d.ts +0 -3
  100. package/dist/components/VeracityAvatar.d.ts.map +0 -1
  101. package/dist/components/VeracityLogoSquare.d.ts +0 -3
  102. package/dist/components/VeracityLogoSquare.d.ts.map +0 -1
  103. package/dist/core-Diwflo5W.js +0 -1077
  104. package/dist/modals.d.ts +0 -9
  105. package/dist/modals.d.ts.map +0 -1
  106. package/dist/utils/decodePythonTripleQuotedString.d.ts +0 -2
  107. package/dist/utils/decodePythonTripleQuotedString.d.ts.map +0 -1
  108. package/dist/utils/generateAvatarLetter.d.ts +0 -2
  109. package/dist/utils/generateAvatarLetter.d.ts.map +0 -1
  110. package/dist/utils/getElementTextPreserveNewlines.d.ts +0 -2
  111. package/dist/utils/getElementTextPreserveNewlines.d.ts.map +0 -1
@@ -1,57 +1,60 @@
1
- (function(nt,q){typeof exports=="object"&&typeof module<"u"?q(exports):typeof define=="function"&&define.amd?define(["exports"],q):(nt=typeof globalThis<"u"?globalThis:nt||self,q(nt.VeracityAI={}))})(this,function(nt){"use strict";var Yd=Object.defineProperty;var Zd=(nt,q,qe)=>q in nt?Yd(nt,q,{enumerable:!0,configurable:!0,writable:!0,value:qe}):nt[q]=qe;var K=(nt,q,qe)=>(Zd(nt,typeof q!="symbol"?q+"":q,qe),qe);function q(e,t,...r){switch(typeof e){case"string":{const n=document.createElement(e);qe(n,t);for(const i of r)wn(n,i);return n}case"function":return e(t||{},r)}throw new Error(`Unable to create element of type '${typeof e}'`)}function qe(e,t){if(t)for(const r in t){const n=t[r];if(r in e)if(r==="classList"){if(n)for(const i of n)e.classList.add(i)}else e[r]=n;else r in e.style?e.style[r]=n:e.setAttribute(r,n)}}function ho(e){if(e instanceof Node)return e;if(typeof e=="string")return document.createTextNode(e);if(e!=null&&e[Symbol.iterator]){const t=document.createDocumentFragment();for(const r of e)wn(t,r);return t}else return e?document.createTextNode(e):document.createComment(` ${e} `)}function wn(e,t){const r=ho(t);e.appendChild(r)}function xn(e,...t){const r=document.createDocumentFragment();for(const n of t)wn(r,n);return r}const mo=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Avenir Next,Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}b,strong{font-weight:600}:root{--Dark-Blue-5: hsl(223, 67%, 5%);--Dark-Blue-10: hsl(223, 67%, 10%);--Dark-Blue-15: hsl(223, 67%, 15%);--Dark-Blue-20: hsl(223, 67%, 20%);--Dark-Blue-25: hsl(223, 67%, 25%);--Dark-Blue-30: hsl(223, 67%, 30%);--Dark-Blue-35: hsl(223, 67%, 35%);--Dark-Blue-40: hsl(223, 67%, 40%);--Dark-Blue-45: hsl(223, 67%, 45%);--Dark-Blue-50: hsl(223, 67%, 50%);--Dark-Blue-55: hsl(223, 67%, 55%);--Dark-Blue-60: hsl(223, 67%, 60%);--Dark-Blue-65: hsl(223, 67%, 65%);--Dark-Blue-70: hsl(223, 67%, 70%);--Dark-Blue-75: hsl(223, 67%, 75%);--Dark-Blue-80: hsl(223, 67%, 80%);--Dark-Blue-85: hsl(223, 67%, 85%);--Dark-Blue-90: hsl(223, 67%, 90%);--Dark-Blue-95: hsl(223, 67%, 95%);--Dark-Blue-Main-18: hsl(223, 67%, 18%);--Sea-Blue-5: hsl(218, 100%, 5%);--Sea-Blue-10: hsl(218, 100%, 10%);--Sea-Blue-15: hsl(218, 100%, 15%);--Sea-Blue-20: hsl(218, 100%, 20%);--Sea-Blue-25: hsl(218, 100%, 25%);--Sea-Blue-30: hsl(218, 100%, 30%);--Sea-Blue-35: hsl(218, 100%, 35%);--Sea-Blue-40: hsl(218, 100%, 40%);--Sea-Blue-45: hsl(218, 100%, 45%);--Sea-Blue-50: hsl(218, 100%, 50%);--Sea-Blue-55: hsl(218, 100%, 55%);--Sea-Blue-60: hsl(218, 100%, 60%);--Sea-Blue-65: hsl(218, 100%, 65%);--Sea-Blue-70: hsl(218, 100%, 70%);--Sea-Blue-75: hsl(218, 100%, 75%);--Sea-Blue-80: hsl(218, 100%, 80%);--Sea-Blue-85: hsl(218, 100%, 85%);--Sea-Blue-90: hsl(218, 100%, 90%);--Sea-Blue-95: hsl(218, 100%, 95%);--Sea-Blue-Main-28: hsl(218, 100%, 28%);--Sky-Blue-5: hsl(196, 74%, 5%);--Sky-Blue-10: hsl(196, 74%, 10%);--Sky-Blue-15: hsl(196, 74%, 15%);--Sky-Blue-20: hsl(196, 74%, 20%);--Sky-Blue-25: hsl(196, 74%, 25%);--Sky-Blue-30: hsl(196, 74%, 30%);--Sky-Blue-35: hsl(196, 74%, 35%);--Sky-Blue-40: hsl(196, 74%, 40%);--Sky-Blue-45: hsl(196, 74%, 45%);--Sky-Blue-50: hsl(196, 74%, 50%);--Sky-Blue-55: hsl(196, 74%, 55%);--Sky-Blue-60: hsl(196, 74%, 60%);--Sky-Blue-65: hsl(196, 74%, 65%);--Sky-Blue-70: hsl(196, 74%, 70%);--Sky-Blue-75: hsl(196, 74%, 75%);--Sky-Blue-80: hsl(196, 74%, 80%);--Sky-Blue-85: hsl(196, 74%, 85%);--Sky-Blue-90: hsl(196, 74%, 90%);--Sky-Blue-95: hsl(196, 74%, 95%);--Sky-Blue-97: hsl(196, 74%, 97%);--Sky-Blue-Main-77: hsl(196, 74%, 77%);--Digi-Green-5: hsl(139, 100%, 5%);--Digi-Green-10: hsl(139, 100%, 10%);--Digi-Green-15: hsl(139, 100%, 15%);--Digi-Green-20: hsl(139, 100%, 20%);--Digi-Green-25: hsl(139, 100%, 25%);--Digi-Green-30: hsl(139, 100%, 30%);--Digi-Green-35: hsl(139, 100%, 35%);--Digi-Green-40: hsl(139, 100%, 40%);--Digi-Green-45: hsl(139, 100%, 45%);--Digi-Green-50: hsl(139, 100%, 50%);--Digi-Green-55: hsl(139, 100%, 55%);--Digi-Green-60: hsl(139, 100%, 60%);--Digi-Green-65: hsl(139, 100%, 65%);--Digi-Green-70: hsl(139, 100%, 70%);--Digi-Green-75: hsl(139, 100%, 75%);--Digi-Green-80: hsl(139, 100%, 80%);--Digi-Green-85: hsl(139, 100%, 85%);--Digi-Green-90: hsl(139, 100%, 90%);--Digi-Green-95: hsl(139, 100%, 95%);--Digi-Green-Main-78: hsl(139, 100%, 78%);--Sandstone-5: hsl(40, 3%, 5%);--Sandstone-10: hsl(40, 3%, 10%);--Sandstone-15: hsl(40, 3%, 15%);--Sandstone-20: hsl(40, 3%, 20%);--Sandstone-25: hsl(40, 3%, 25%);--Sandstone-30: hsl(40, 3%, 30%);--Sandstone-35: hsl(40, 3%, 35%);--Sandstone-40: hsl(40, 3%, 40%);--Sandstone-45: hsl(40, 3%, 45%);--Sandstone-50: hsl(40, 3%, 50%);--Sandstone-55: hsl(40, 3%, 55%);--Sandstone-60: hsl(40, 3%, 60%);--Sandstone-65: hsl(40, 3%, 65%);--Sandstone-70: hsl(40, 3%, 70%);--Sandstone-75: hsl(40, 3%, 75%);--Sandstone-80: hsl(40, 3%, 80%);--Sandstone-85: hsl(40, 3%, 85%);--Sandstone-90: hsl(40, 3%, 90%);--Sandstone-95: hsl(40, 3%, 95%);--Sandstone-97: hsl(40, 3%, 97%);--Sandstone-Main-79: hsl(40, 3%, 79%);--Warm-Grey-5: hsl(30, 8%, 5%);--Warm-Grey-10: hsl(30, 8%, 10%);--Warm-Grey-15: hsl(30, 8%, 15%);--Warm-Grey-20: hsl(30, 8%, 20%);--Warm-Grey-25: hsl(30, 8%, 25%);--Warm-Grey-30: hsl(30, 8%, 30%);--Warm-Grey-35: hsl(30, 8%, 35%);--Warm-Grey-40: hsl(30, 8%, 40%);--Warm-Grey-45: hsl(30, 8%, 45%);--Warm-Grey-50: hsl(30, 8%, 50%);--Warm-Grey-55: hsl(30, 8%, 55%);--Warm-Grey-60: hsl(30, 8%, 60%);--Warm-Grey-65: hsl(30, 8%, 65%);--Warm-Grey-70: hsl(30, 8%, 70%);--Warm-Grey-75: hsl(30, 8%, 75%);--Warm-Grey-80: hsl(30, 8%, 80%);--Warm-Grey-85: hsl(30, 8%, 85%);--Warm-Grey-90: hsl(30, 8%, 90%);--Warm-Grey-95: hsl(30, 8%, 95%);--Warm-Grey-Main-56: hsl(30, 8%, 56%);--Earth-5: hsl(35, 53%, 5%);--Earth-10: hsl(35, 53%, 10%);--Earth-15: hsl(35, 53%, 15%);--Earth-20: hsl(35, 53%, 20%);--Earth-25: hsl(35, 53%, 25%);--Earth-30: hsl(35, 53%, 30%);--Earth-35: hsl(35, 53%, 35%);--Earth-40: hsl(35, 53%, 40%);--Earth-45: hsl(35, 53%, 45%);--Earth-50: hsl(35, 53%, 50%);--Earth-55: hsl(35, 53%, 55%);--Earth-60: hsl(35, 53%, 60%);--Earth-65: hsl(35, 53%, 65%);--Earth-70: hsl(35, 53%, 70%);--Earth-75: hsl(35, 53%, 75%);--Earth-80: hsl(35, 53%, 80%);--Earth-85: hsl(35, 53%, 85%);--Earth-90: hsl(35, 53%, 90%);--Earth-95: hsl(35, 53%, 95%);--Earth-97: hsl(35, 53%, 97%);--Earth-Main-89: hsl(35, 53%, 89%);--Pine-5: hsl(195, 46%, 5%);--Pine-10: hsl(195, 46%, 10%);--Pine-15: hsl(195, 46%, 15%);--Pine-20: hsl(195, 46%, 20%);--Pine-25: hsl(195, 46%, 25%);--Pine-30: hsl(195, 46%, 30%);--Pine-35: hsl(195, 46%, 35%);--Pine-40: hsl(195, 46%, 40%);--Pine-45: hsl(195, 46%, 45%);--Pine-50: hsl(195, 46%, 50%);--Pine-55: hsl(195, 46%, 55%);--Pine-60: hsl(195, 46%, 60%);--Pine-65: hsl(195, 46%, 65%);--Pine-70: hsl(195, 46%, 70%);--Pine-75: hsl(195, 46%, 75%);--Pine-80: hsl(195, 46%, 80%);--Pine-85: hsl(195, 46%, 85%);--Pine-90: hsl(195, 46%, 90%);--Pine-95: hsl(195, 46%, 95%);--Pine-Main-30: hsl(195, 46%, 30%);--Eucalyptus-5: hsl(178, 80%, 5%);--Eucalyptus-10: hsl(178, 80%, 10%);--Eucalyptus-15: hsl(178, 80%, 15%);--Eucalyptus-20: hsl(178, 80%, 20%);--Eucalyptus-25: hsl(178, 80%, 25%);--Eucalyptus-30: hsl(178, 80%, 30%);--Eucalyptus-35: hsl(178, 80%, 35%);--Eucalyptus-40: hsl(178, 80%, 40%);--Eucalyptus-45: hsl(178, 80%, 45%);--Eucalyptus-50: hsl(178, 80%, 50%);--Eucalyptus-55: hsl(178, 80%, 55%);--Eucalyptus-60: hsl(178, 80%, 60%);--Eucalyptus-65: hsl(178, 80%, 65%);--Eucalyptus-70: hsl(178, 80%, 70%);--Eucalyptus-75: hsl(178, 80%, 75%);--Eucalyptus-80: hsl(178, 80%, 80%);--Eucalyptus-85: hsl(178, 80%, 85%);--Eucalyptus-90: hsl(178, 80%, 90%);--Eucalyptus-95: hsl(178, 80%, 95%);--Eucalyptus-Main-41: hsl(178, 80%, 41%);--Lavender-5: hsl(232, 58%, 5%);--Lavender-10: hsl(232, 58%, 10%);--Lavender-15: hsl(232, 58%, 15%);--Lavender-20: hsl(232, 58%, 20%);--Lavender-25: hsl(232, 58%, 25%);--Lavender-30: hsl(232, 58%, 30%);--Lavender-35: hsl(232, 58%, 35%);--Lavender-40: hsl(232, 58%, 40%);--Lavender-45: hsl(232, 58%, 45%);--Lavender-50: hsl(232, 58%, 50%);--Lavender-55: hsl(232, 58%, 55%);--Lavender-60: hsl(232, 58%, 60%);--Lavender-65: hsl(232, 58%, 65%);--Lavender-70: hsl(232, 58%, 70%);--Lavender-75: hsl(232, 58%, 75%);--Lavender-80: hsl(232, 58%, 80%);--Lavender-85: hsl(232, 58%, 85%);--Lavender-90: hsl(232, 58%, 90%);--Lavender-95: hsl(232, 58%, 95%);--Lavender-Main-77: hsl(232, 58%, 77%);--Terracotta-5: hsl(34, 100%, 5%);--Terracotta-10: hsl(34, 100%, 10%);--Terracotta-15: hsl(34, 100%, 15%);--Terracotta-20: hsl(34, 100%, 20%);--Terracotta-25: hsl(34, 100%, 25%);--Terracotta-30: hsl(34, 100%, 30%);--Terracotta-35: hsl(34, 100%, 35%);--Terracotta-40: hsl(34, 100%, 40%);--Terracotta-45: hsl(34, 100%, 45%);--Terracotta-50: hsl(34, 100%, 50%);--Terracotta-55: hsl(34, 100%, 55%);--Terracotta-60: hsl(34, 100%, 60%);--Terracotta-65: hsl(34, 100%, 65%);--Terracotta-70: hsl(34, 100%, 70%);--Terracotta-75: hsl(34, 100%, 75%);--Terracotta-80: hsl(34, 100%, 80%);--Terracotta-85: hsl(34, 100%, 85%);--Terracotta-90: hsl(34, 100%, 90%);--Terracotta-95: hsl(34, 100%, 95%);--Terracotta-Main-35: hsl(34, 100%, 35%);--Land-Green-5: hsl(114, 49%, 5%);--Land-Green-10: hsl(114, 49%, 10%);--Land-Green-15: hsl(114, 49%, 15%);--Land-Green-20: hsl(114, 49%, 20%);--Land-Green-25: hsl(114, 49%, 25%);--Land-Green-30: hsl(114, 49%, 30%);--Land-Green-35: hsl(114, 49%, 35%);--Land-Green-40: hsl(114, 49%, 40%);--Land-Green-45: hsl(114, 49%, 45%);--Land-Green-50: hsl(114, 49%, 50%);--Land-Green-55: hsl(114, 49%, 55%);--Land-Green-60: hsl(114, 49%, 60%);--Land-Green-65: hsl(114, 49%, 65%);--Land-Green-70: hsl(114, 49%, 70%);--Land-Green-75: hsl(114, 49%, 75%);--Land-Green-80: hsl(114, 49%, 80%);--Land-Green-85: hsl(114, 49%, 85%);--Land-Green-90: hsl(114, 49%, 90%);--Land-Green-95: hsl(114, 49%, 95%);--Land-Green-Main-41: hsl(114, 49%, 41%);--Sunflower-5: hsl(55, 100%, 5%);--Sunflower-10: hsl(55, 100%, 10%);--Sunflower-15: hsl(55, 100%, 15%);--Sunflower-20: hsl(55, 100%, 20%);--Sunflower-25: hsl(55, 100%, 25%);--Sunflower-30: hsl(55, 100%, 30%);--Sunflower-35: hsl(55, 100%, 35%);--Sunflower-40: hsl(55, 100%, 40%);--Sunflower-45: hsl(55, 100%, 45%);--Sunflower-50: hsl(55, 100%, 50%);--Sunflower-55: hsl(55, 100%, 55%);--Sunflower-60: hsl(55, 100%, 60%);--Sunflower-65: hsl(55, 100%, 65%);--Sunflower-70: hsl(55, 100%, 70%);--Sunflower-75: hsl(55, 100%, 75%);--Sunflower-80: hsl(55, 100%, 80%);--Sunflower-85: hsl(55, 100%, 85%);--Sunflower-90: hsl(55, 100%, 90%);--Sunflower-95: hsl(55, 100%, 95%);--Sunflower-Main-73: hsl(55, 100%, 73%);--Energy-Red-5: hsl(357, 83%, 5%);--Energy-Red-10: hsl(357, 83%, 10%);--Energy-Red-15: hsl(357, 83%, 15%);--Energy-Red-20: hsl(357, 83%, 20%);--Energy-Red-25: hsl(357, 83%, 25%);--Energy-Red-30: hsl(357, 83%, 30%);--Energy-Red-35: hsl(357, 83%, 35%);--Energy-Red-40: hsl(357, 83%, 40%);--Energy-Red-45: hsl(357, 83%, 45%);--Energy-Red-50: hsl(357, 83%, 50%);--Energy-Red-55: hsl(357, 83%, 55%);--Energy-Red-60: hsl(357, 83%, 60%);--Energy-Red-65: hsl(357, 83%, 65%);--Energy-Red-70: hsl(357, 83%, 70%);--Energy-Red-75: hsl(357, 83%, 75%);--Energy-Red-80: hsl(357, 83%, 80%);--Energy-Red-85: hsl(357, 83%, 85%);--Energy-Red-90: hsl(357, 83%, 90%);--Energy-Red-95: hsl(357, 83%, 95%);--Energy-Red-Main-54: hsl(357, 83%, 54%);--Cyan-5: hsl(196, 100%, 5%);--Cyan-10: hsl(196, 100%, 10%);--Cyan-15: hsl(196, 100%, 15%);--Cyan-20: hsl(196, 100%, 20%);--Cyan-25: hsl(196, 100%, 25%);--Cyan-30: hsl(196, 100%, 30%);--Cyan-35: hsl(196, 100%, 35%);--Cyan-40: hsl(196, 100%, 40%);--Cyan-45: hsl(196, 100%, 45%);--Cyan-50: hsl(196, 100%, 50%);--Cyan-55: hsl(196, 100%, 55%);--Cyan-60: hsl(196, 100%, 60%);--Cyan-65: hsl(196, 100%, 65%);--Cyan-70: hsl(196, 100%, 70%);--Cyan-75: hsl(196, 100%, 75%);--Cyan-80: hsl(196, 100%, 80%);--Cyan-85: hsl(196, 100%, 85%);--Cyan-90: hsl(196, 100%, 90%);--Cyan-95: hsl(196, 100%, 95%);--Cyan-Main-43: hsl(196, 100%, 43%);--Black: hsl(40 3% 10%);--White: hsl(40 3% 100%);--Light: hsl(40, 3%, 90%);--Default: hsl(40, 3%, 79%);--Medium: hsl(40, 3%, 75%);--Strong: hsl(218, 100%, 28%);--Emphasis: hsl(223, 67%, 18%);--vui-animation-duration-0: 0ms;--vui-animation-duration-100: .13s;--vui-animation-duration-200: .16s;--vui-animation-duration-300: .19s;--vui-animation-duration-400: .22s;--vui-animation-duration-500: .25s;--vui-animation-duration-600: .3s;--vui-animation-duration-700: .35s;--vui-animation-duration-800: .4s;--vui-animation-duration-900: .45s;--vui-animation-duration-1000: .5s;--vui-animation-duration-2000: 1s;--vui-animation-duration-4000: 2s;--vui-animation-ease-in-out: cubic-bezier(.45, 0, .4, 1);--vui-animation-ease-in: cubic-bezier(.5, 0, 1, 1);--vui-animation-ease-out: cubic-bezier(0, 0, .4, 1);--vui-animation-linear: cubic-bezier(0, 0, 1, 1);--vui-elevation-1: 0 6px 23px -10px hsla(223, 67%, 18%, .2);--vui-elevation-2: 0 9px 20px -6px hsla(223, 67%, 18%, .2);--vui-elevation-3: 0 12px 23px -4px hsla(223, 67%, 18%, .2);--vui-elevation-4: 0 15px 23px 0 hsla(223, 67%, 18%, .2);--fluent-depth-0: 0 0 0 0 transparent;--fluent-depth-4: 0 1.6px 3.6px 0 rgba(0, 0, 0, .132), 0 .3px .9px 0 rgba(0, 0, 0, .108);--fluent-depth-8: 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108);--fluent-depth-16: 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108);--fluent-depth-64: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)}h1,.h1{font-size:3.125rem;font-style:normal;font-weight:400;line-height:1.24}@media only screen and (max-width: 992px){h1,.h1{font-size:1.9375rem;line-height:1.5483870967741935}}h1,.h1{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h1),:is(.dark .h1){color:var(--White, hsl(40 3% 100%))}h2,.h2{font-size:2rem;font-style:normal;font-weight:400;line-height:1.3125}@media only screen and (max-width: 992px){h2,.h2{font-size:1.75rem;line-height:1.3571428571428572}}h2,.h2{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h2),:is(.dark .h2){color:var(--White, hsl(40 3% 100%))}h3,.h3{font-size:1.5rem;font-style:normal;font-weight:400;line-height:1.3333333333333333}@media only screen and (max-width: 992px){h3,.h3{font-size:1.375rem;line-height:1.4545454545454546}}h3,.h3{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h3),:is(.dark .h3){color:var(--White, hsl(40 3% 100%))}h4,.h4{font-size:1.25rem;font-style:normal;font-weight:600;line-height:1.2}@media only screen and (max-width: 992px){h4,.h4{font-size:1.125rem;line-height:1.3333333333333333}}h4,.h4{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h4),:is(.dark .h4){color:var(--White, hsl(40 3% 100%))}h5,.h5{font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.4444444444444444}@media only screen and (max-width: 992px){h5,.h5{font-size:1rem;line-height:1.375}}h5,.h5{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h5),:is(.dark .h5){color:var(--White, hsl(40 3% 100%))}h6,.h6{font-size:1rem;font-style:normal;font-weight:600;line-height:1.375;color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h6),:is(.dark .h6){color:var(--White, hsl(40 3% 100%))}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.btn{font-weight:500;font-style:normal;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;display:inline-flex}.btn>*{flex-shrink:0}.btn{height:auto;margin:0;outline:none;text-decoration:none;transition:background var(--vui-animation-duration-100) ease-out,border-color var(--vui-animation-duration-100) ease-out,color var(--vui-animation-duration-100) ease-out,box-shadow var(--vui-animation-duration-100) ease-out;white-space:nowrap}.btn:focus-visible,.btn.focus-visible{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: hsl(196, 100%, 43%);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.btn:disabled{opacity:.5}.btn.btn-xl,.btn-xl{font-size:1.125rem;line-height:1.5555555555555556;gap:.625rem;padding:.625rem 1.25rem}.btn.btn-lg,.btn-lg{font-size:1rem;line-height:1.5;gap:.5rem;padding:.5rem 1rem}.btn.btn-md,.btn-md{font-size:.875rem;line-height:1.4285714285714286;gap:.375rem;padding:.375rem .75rem}.btn.btn-sm,.btn-sm{font-size:.75rem;line-height:1.3333333333333333;gap:.25rem;padding:.25rem .5rem}.btn.btn-primary,.btn-primary{background:var(--Sea-Blue-Main-28, #00348F);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-primary:hover,.btn-primary:hover{background:var(--Sea-Blue-20, #002566)}.btn.btn-primary:active,.btn.btn-primary.active,.btn-primary:active,.btn-primary.active{background:var(--Sea-Blue-35, #0041B3)}:is(.dark .btn.btn-primary),:is(.dark .btn-primary){background:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Dark-Blue-Main-18, #0F214D)}:is(.dark .btn.btn-primary):hover,:is(.dark .btn-primary):hover{background:var(--Digi-Green-70, #66FF96)}:is(.dark .btn.btn-primary):active,:is(.dark .btn.btn-primary).active,:is(.dark .btn-primary):active,:is(.dark .btn-primary).active{background:var(--Digi-Green-85, #B3FFCB)}.btn.btn-secondary,.btn-secondary{background:transparent;border:1px solid var(--Sea-Blue-Main-28, #00348F);color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-secondary:hover,.btn-secondary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-secondary:active,.btn.btn-secondary.active,.btn-secondary:active,.btn-secondary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-secondary),:is(.dark .btn-secondary){border-color:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-secondary):hover,:is(.dark .btn-secondary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-secondary):active,:is(.dark .btn.btn-secondary).active,:is(.dark .btn-secondary):active,:is(.dark .btn-secondary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-tertiary,.btn-tertiary{background:transparent;color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-tertiary:hover,.btn-tertiary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-tertiary:active,.btn.btn-tertiary.active,.btn-tertiary:active,.btn-tertiary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-tertiary),:is(.dark .btn-tertiary){color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-tertiary):hover,:is(.dark .btn-tertiary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-tertiary):active,:is(.dark .btn.btn-tertiary).active,:is(.dark .btn-tertiary):active,:is(.dark .btn-tertiary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-marketplaceCTA,.btn-marketplaceCTA{background:var(--Land-Green-35, #36852E);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-marketplaceCTA:hover,.btn-marketplaceCTA:hover{background:var(--Land-Green-25, #275F21)}.btn.btn-marketplaceCTA:active,.btn.btn-marketplaceCTA.active,.btn-marketplaceCTA:active,.btn-marketplaceCTA.active{background:var(--Land-Green-Main-41, #409C35)}.btn.btn-destructive,.btn-destructive{background:var(--Energy-Red-45, #D2141D);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-destructive:hover,.btn-destructive:hover{background:var(--Energy-Red-35, #A30F17)}.btn.btn-destructive:active,.btn.btn-destructive.active,.btn-destructive:active,.btn-destructive.active{background:var(--Energy-Red-50, #E91620)}.sideMenuItem>.icon{width:24px;height:24px}.input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid var(--Sandstone-60, #9C9A96);border-radius:0;color:#1a1a19;display:block;font-weight:400;font-style:normal;outline:0 solid transparent;width:100%}.input:focus{border:1px solid var(--Cyan-Main-43, #00A1DB);outline:1px solid var(--Cyan-Main-43, #00A1DB)}.input:disabled,.input[aria-disabled=true],fieldset:disabled .input{background:var(--Sandstone-90, #E6E6E5);border-color:var(--Sandstone-90, #E6E6E5)}.input::-moz-placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input::placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input.input-xl,.input-xl{font-size:1rem;line-height:1.625;padding:.4375rem .5rem}.input.input-lg,.input-lg{font-size:1rem;line-height:1.625;padding:.375rem .5rem}.input.input-md,.input-md{font-size:.875rem;line-height:1.5714285714285714;padding:.25rem .5rem}.input.input-sm,.input-sm{font-size:.875rem;line-height:1.5714285714285714;padding:.0625rem .5rem}.input.input-validated,.input.input-validated:focus,.input-validated,.input-validated:focus{border-color:var(--Land-Green-35, #36852E)}.input.input-validated,.input-validated{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M20.8831 4.31025L7.75741 17.436L3.11702 12.7956C2.89736 12.5759 2.54121 12.5759 2.3215 12.7956L1.79121 13.3259C1.57155 13.5455 1.57155 13.9017 1.79121 14.1214L7.35968 19.6898C7.57933 19.9095 7.93549 19.9095 8.15519 19.6898L22.2089 5.63611C22.4286 5.41645 22.4286 5.0603 22.2089 4.84059L21.6786 4.31025C21.4589 4.09059 21.1028 4.09059 20.8831 4.31025Z' fill='var(--Land-Green-35%2c %2336852E)'/%3e%3c/svg%3e");background-repeat:no-repeat}.input.input-error,.input.input-error:focus,.input-error,.input-error:focus{border-color:var(--Energy-Red-45, #D2141D)}.input.input-select,.input-select{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.6018 15.3255L6.16426 9.80359C5.94395 9.58328 5.94395 9.22703 6.16426 9.00671L6.49707 8.6739C6.71738 8.45359 7.07363 8.45359 7.29395 8.6739L12.0002 13.4692L16.7064 8.67859C16.9268 8.45828 17.283 8.45828 17.5033 8.67859L17.8361 9.0114C18.0564 9.23171 18.0564 9.58796 17.8361 9.80828L12.3986 15.3302C12.1783 15.5458 11.8221 15.5458 11.6018 15.3255Z' fill='var(--Sea-Blue-Main-28%2c %2300348F)'/%3e%3c/svg%3e");background-repeat:no-repeat}.avatar{font-weight:500;font-style:normal;align-items:center;background:#e6e6e5;border-radius:9999px;color:#353431;display:inline-flex;justify-content:center;overflow:hidden;text-transform:uppercase}.avatar.avatar-xl,.avatar-xl{font-size:1.125rem;line-height:1.5555555555555556;height:3rem;width:3rem}.avatar.avatar-lg,.avatar-lg{font-size:1rem;line-height:1.5;height:2.5rem;width:2.5rem}.avatar.avatar-md,.avatar-md{font-size:.875rem;line-height:1.4285714285714286;height:2rem;width:2rem}.avatar.avatar-sm,.avatar-sm{font-size:.75rem;line-height:1.3333333333333333;height:1.5rem;width:1.5rem}.avatar.avatar-xxl,.avatar-xxl{font-size:1.125rem;line-height:1.5555555555555556;height:3.5rem;width:3.5rem}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"\`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose :where(ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important}.prose :where(ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0!important}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding:.1428571em .3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding:.6666667em 1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-left:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:1em;padding-bottom:.6666667em;padding-left:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.6666667em 1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-neutral{--tw-prose-body: #404040;--tw-prose-headings: #171717;--tw-prose-lead: #525252;--tw-prose-links: #171717;--tw-prose-bold: #171717;--tw-prose-counters: #737373;--tw-prose-bullets: #d4d4d4;--tw-prose-hr: #e5e5e5;--tw-prose-quotes: #171717;--tw-prose-quote-borders: #e5e5e5;--tw-prose-captions: #737373;--tw-prose-kbd: #171717;--tw-prose-kbd-shadows: 23 23 23;--tw-prose-code: #171717;--tw-prose-pre-code: #e5e5e5;--tw-prose-pre-bg: #262626;--tw-prose-th-borders: #d4d4d4;--tw-prose-td-borders: #e5e5e5;--tw-prose-invert-body: #d4d4d4;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #a3a3a3;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #a3a3a3;--tw-prose-invert-bullets: #525252;--tw-prose-invert-hr: #404040;--tw-prose-invert-quotes: #f5f5f5;--tw-prose-invert-quote-borders: #404040;--tw-prose-invert-captions: #a3a3a3;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d4d4d4;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #525252;--tw-prose-invert-td-borders: #404040}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-\\[-3\\.25rem\\]{left:-3.25rem}.top-0{top:0}.top-\\[\\.05em\\]{top:.05em}.top-\\[3\\%\\]{top:3%}.z-10{z-index:10}.col-span-2{grid-column:span 2 / span 2}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.ml-auto{margin-left:auto}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.list-item{display:list-item}.h-6{height:1.5rem}.h-\\[1\\.421875rem\\]{height:1.421875rem}.h-full{height:100%}.min-h-full{min-height:100%}.w-6{width:1.5rem}.w-full{width:100%}.w-screen{width:100vw}.max-w-none{max-width:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-\\[32px\\,1fr\\]{grid-template-columns:32px 1fr}.grid-cols-\\[auto\\,1fr\\]{grid-template-columns:auto 1fr}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.bg-Dark-Blue-Main-18{--tw-bg-opacity: 1;background-color:hsl(223 67% 18% / var(--tw-bg-opacity))}.bg-Energy-Red-95{--tw-bg-opacity: 1;background-color:hsl(357 83% 95% / var(--tw-bg-opacity))}.bg-Eucalyptus-85{--tw-bg-opacity: 1;background-color:hsl(178 80% 85% / var(--tw-bg-opacity))}.bg-Land-Green-95{--tw-bg-opacity: 1;background-color:hsl(114 49% 95% / var(--tw-bg-opacity))}.bg-Lavender-90{--tw-bg-opacity: 1;background-color:hsl(232 58% 90% / var(--tw-bg-opacity))}.bg-Sea-Blue-5{--tw-bg-opacity: 1;background-color:hsl(218 100% 5% / var(--tw-bg-opacity))}.bg-Sea-Blue-Main-28{--tw-bg-opacity: 1;background-color:hsl(218 100% 28% / var(--tw-bg-opacity))}.bg-Sky-Blue-95{--tw-bg-opacity: 1;background-color:hsl(196 74% 95% / var(--tw-bg-opacity))}.bg-Sunflower-85{--tw-bg-opacity: 1;background-color:hsl(55 100% 85% / var(--tw-bg-opacity))}.bg-Terracotta-85{--tw-bg-opacity: 1;background-color:hsl(34 100% 85% / var(--tw-bg-opacity))}.bg-White{--tw-bg-opacity: 1;background-color:hsl(40 3% 100% / var(--tw-bg-opacity))}.bg-\\[\\#262626\\]{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.bg-\\[\\#333333\\]{--tw-bg-opacity: 1;background-color:rgb(51 51 51 / var(--tw-bg-opacity))}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-5{padding-bottom:1.25rem}.pr-4{padding-right:1rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-\\[\\.875rem\\]{font-size:.875rem}.font-demiBold{font-weight:600}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-Energy-Red-45{--tw-text-opacity: 1;color:hsl(357 83% 45% / var(--tw-text-opacity))}.text-Eucalyptus-20{--tw-text-opacity: 1;color:hsl(178 80% 20% / var(--tw-text-opacity))}.text-Land-Green-30{--tw-text-opacity: 1;color:hsl(114 49% 30% / var(--tw-text-opacity))}.text-Lavender-50{--tw-text-opacity: 1;color:hsl(232 58% 50% / var(--tw-text-opacity))}.text-Sandstone-Main-79{--tw-text-opacity: 1;color:hsl(40 3% 79% / var(--tw-text-opacity))}.text-Sea-Blue-Main-28{--tw-text-opacity: 1;color:hsl(218 100% 28% / var(--tw-text-opacity))}.text-Sky-Blue-95{--tw-text-opacity: 1;color:hsl(196 74% 95% / var(--tw-text-opacity))}.text-Sunflower-20{--tw-text-opacity: 1;color:hsl(55 100% 20% / var(--tw-text-opacity))}.text-Terracotta-20{--tw-text-opacity: 1;color:hsl(34 100% 20% / var(--tw-text-opacity))}.text-Terracotta-30{--tw-text-opacity: 1;color:hsl(34 100% 30% / var(--tw-text-opacity))}.text-Terracotta-Main-35{--tw-text-opacity: 1;color:hsl(34 100% 35% / var(--tw-text-opacity))}.text-White{--tw-text-opacity: 1;color:hsl(40 3% 100% / var(--tw-text-opacity))}.text-\\[\\#e5e5e5\\]{--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.title{font-size:4rem;font-style:normal;font-weight:400;line-height:1.15625}@media only screen and (max-width: 992px){.title{font-size:2.625rem;line-height:1.2380952380952381}}.title{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .title){color:var(--White, hsl(40 3% 100%))}.elevation-4{box-shadow:var(--vui-elevation-4, 0 15px 23px 0 hsla(223, 67%, 18%, .2))}.fluent-depth-0{box-shadow:var(--fluent-depth-0, 0 0 0 0 transparent)}.fluent-depth-16{box-shadow:var(--fluent-depth-16, 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108))}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .2s cubic-bezier(.4,0,1,1)}.first\\:mt-0:first-child{margin-top:0}.hover\\:bg-Sky-Blue-90:hover{--tw-bg-opacity: 1;background-color:hsl(196 74% 90% / var(--tw-bg-opacity))}.hover\\:fluent-depth-8:hover{box-shadow:var(--fluent-depth-8, 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108))}.active\\:select-none:active{-webkit-user-select:none;-moz-user-select:none;user-select:none}.active\\:bg-Sky-Blue-85:active{--tw-bg-opacity: 1;background-color:hsl(196 74% 85% / var(--tw-bg-opacity))}.active\\:fluent-depth-4:active{box-shadow:var(--fluent-depth-4, 0 1.6px 3.6px 0 rgba(0, 0, 0, .132), 0 .3px .9px 0 rgba(0, 0, 0, .108))}.group:hover .group-hover\\:opacity-100{opacity:1}.aria-expanded\\:fluent-depth-16[aria-expanded=true]{box-shadow:var(--fluent-depth-16, 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108))}.active\\:aria-expanded\\:fluent-depth-8[aria-expanded=true]:active{box-shadow:var(--fluent-depth-8, 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108))}.data-\\[expanded\\=true\\]\\:bg-Sky-Blue-85[data-expanded=true]{--tw-bg-opacity: 1;background-color:hsl(196 74% 85% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:bg-Energy-Red-95[data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 95% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:data-\\[expanded\\=true\\]\\:bg-Energy-Red-85[data-expanded=true][data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 85% / var(--tw-bg-opacity))}.data-\\[expanded\\=true\\]\\:hover\\:bg-Sky-Blue-80:hover[data-expanded=true]{--tw-bg-opacity: 1;background-color:hsl(196 74% 80% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:data-\\[expanded\\=true\\]\\:hover\\:bg-Energy-Red-80:hover[data-expanded=true][data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 80% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:hover\\:bg-Energy-Red-90:hover[data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 90% / var(--tw-bg-opacity))}.data-\\[expanded\\=true\\]\\:active\\:bg-Sky-Blue-75:active[data-expanded=true]{--tw-bg-opacity: 1;background-color:hsl(196 74% 75% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:active\\:bg-Energy-Red-85:active[data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 85% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:data-\\[expanded\\=true\\]\\:active\\:bg-Energy-Red-75:active[data-expanded=true][data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 75% / var(--tw-bg-opacity))}.group[data-expanded=true] .group-data-\\[expanded\\=true\\]\\:-rotate-180{--tw-rotate: -180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-status=error] .group-data-\\[status\\=error\\]\\:text-Energy-Red-45{--tw-text-opacity: 1;color:hsl(357 83% 45% / var(--tw-text-opacity))}.group[data-expanded=true] .group-data-\\[expanded\\=true\\]\\:opacity-100{opacity:1}.prose-code\\:text-\\[1em\\] :is(:where(code):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:1em}@media (min-width: 640px){.sm\\:mx-0{margin-left:0;margin-right:0}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:ml-3{margin-left:.75rem}.sm\\:ml-4{margin-left:1rem}.sm\\:mt-0{margin-top:0}.sm\\:flex{display:flex}.sm\\:w-auto{width:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:32rem}.sm\\:flex-row-reverse{flex-direction:row-reverse}.sm\\:items-start{align-items:flex-start}.sm\\:items-center{align-items:center}.sm\\:p-0{padding:0}.sm\\:text-left{text-align:left}}`,po="pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#2e3440}.hljs,.hljs-subst{color:#d8dee9}.hljs-selector-tag{color:#81a1c1}.hljs-selector-id{color:#8fbcbb;font-weight:700}.hljs-selector-class,.hljs-selector-attr{color:#8fbcbb}.hljs-property,.hljs-selector-pseudo{color:#88c0d0}.hljs-addition{background-color:#a3be8c80}.hljs-deletion{background-color:#bf616a80}.hljs-built_in,.hljs-type,.hljs-class{color:#8fbcbb}.hljs-function{color:#88c0d0}.hljs-title.hljs-function,.hljs-function>.hljs-title{color:#88c0d0}.hljs-keyword,.hljs-literal,.hljs-symbol{color:#81a1c1}.hljs-number{color:#b48ead}.hljs-regexp{color:#ebcb8b}.hljs-string{color:#a3be8c}.hljs-title{color:#8fbcbb}.hljs-params{color:#d8dee9}.hljs-bullet{color:#81a1c1}.hljs-code{color:#8fbcbb}.hljs-emphasis{font-style:italic}.hljs-formula{color:#8fbcbb}.hljs-strong{font-weight:700}.hljs-link:hover{text-decoration:underline}.hljs-quote,.hljs-comment{color:#4c566a}.hljs-doctag{color:#8fbcbb}.hljs-meta,.hljs-meta .hljs-keyword{color:#5e81ac}.hljs-meta .hljs-string{color:#a3be8c}.hljs-attr{color:#8fbcbb}.hljs-attribute{color:#d8dee9}.hljs-name{color:#81a1c1}.hljs-section{color:#88c0d0}.hljs-tag{color:#81a1c1}.hljs-variable,.hljs-template-variable{color:#d8dee9}.hljs-template-tag{color:#5e81ac}.language-abnf .hljs-attribute{color:#88c0d0}.language-abnf .hljs-symbol{color:#ebcb8b}.language-apache .hljs-attribute{color:#88c0d0}.language-apache .hljs-section{color:#81a1c1}.language-arduino .hljs-built_in{color:#88c0d0}.language-aspectj .hljs-meta{color:#d08770}.language-aspectj>.hljs-title{color:#88c0d0}.language-bnf .hljs-attribute{color:#8fbcbb}.language-clojure .hljs-name{color:#88c0d0}.language-clojure .hljs-symbol{color:#ebcb8b}.language-coq .hljs-built_in{color:#88c0d0}.language-cpp .hljs-meta .hljs-string{color:#8fbcbb}.language-css .hljs-built_in{color:#88c0d0}.language-css .hljs-keyword{color:#d08770}.language-diff .hljs-meta,.language-ebnf .hljs-attribute{color:#8fbcbb}.language-glsl .hljs-built_in{color:#88c0d0}.language-groovy .hljs-meta:not(:first-child){color:#d08770}.language-haxe .hljs-meta,.language-java .hljs-meta{color:#d08770}.language-ldif .hljs-attribute{color:#8fbcbb}.language-lisp .hljs-name,.language-lua .hljs-built_in,.language-moonscript .hljs-built_in,.language-nginx .hljs-attribute{color:#88c0d0}.language-nginx .hljs-section{color:#5e81ac}.language-pf .hljs-built_in,.language-processing .hljs-built_in{color:#88c0d0}.language-scss .hljs-keyword,.language-stylus .hljs-keyword{color:#81a1c1}.language-swift .hljs-meta{color:#d08770}.language-vim .hljs-built_in{color:#88c0d0;font-style:italic}.language-yaml .hljs-meta{color:#d08770}",fo='.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;display:inline-block;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{display:inline-flex;flex-direction:column;align-items:baseline}.katex .hbox{display:inline-flex;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline,.katex .hdashline,.katex .rule{min-height:1px}.katex .mspace{display:inline-block}.katex .llap,.katex .rlap,.katex .clap{width:0;position:relative}.katex .llap>.inner,.katex .rlap>.inner,.katex .clap>.inner{position:absolute}.katex .llap>.fix,.katex .rlap>.fix,.katex .clap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .rlap>.inner,.katex .clap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:solid 0;position:relative}.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .sizing.reset-size1.size1,.katex .fontsize-ensurer.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2,.katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3,.katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4,.katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5,.katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6,.katex .fontsize-ensurer.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7,.katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8,.katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9,.katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10,.katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11,.katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1,.katex .fontsize-ensurer.reset-size2.size1{font-size:.83333333em}.katex .sizing.reset-size2.size2,.katex .fontsize-ensurer.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3,.katex .fontsize-ensurer.reset-size2.size3{font-size:1.16666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.33333333em}.katex .sizing.reset-size2.size5,.katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6,.katex .fontsize-ensurer.reset-size2.size6{font-size:1.66666667em}.katex .sizing.reset-size2.size7,.katex .fontsize-ensurer.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8,.katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9,.katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10,.katex .fontsize-ensurer.reset-size2.size10{font-size:3.45666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.14666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.71428571em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.85714286em}.katex .sizing.reset-size3.size3,.katex .fontsize-ensurer.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4,.katex .fontsize-ensurer.reset-size3.size4{font-size:1.14285714em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.28571429em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.42857143em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.71428571em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.05714286em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.46857143em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.96285714em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.55428571em}.katex .sizing.reset-size4.size1,.katex .fontsize-ensurer.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2,.katex .fontsize-ensurer.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3,.katex .fontsize-ensurer.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4,.katex .fontsize-ensurer.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5,.katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6,.katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7,.katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8,.katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9,.katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10,.katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11,.katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1,.katex .fontsize-ensurer.reset-size5.size1{font-size:.55555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.66666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.77777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.88888889em}.katex .sizing.reset-size5.size5,.katex .fontsize-ensurer.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6,.katex .fontsize-ensurer.reset-size5.size6{font-size:1.11111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.33333333em}.katex .sizing.reset-size5.size8,.katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9,.katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10,.katex .fontsize-ensurer.reset-size5.size10{font-size:2.30444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.76444444em}.katex .sizing.reset-size6.size1,.katex .fontsize-ensurer.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2,.katex .fontsize-ensurer.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3,.katex .fontsize-ensurer.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4,.katex .fontsize-ensurer.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5,.katex .fontsize-ensurer.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6,.katex .fontsize-ensurer.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7,.katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8,.katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9,.katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10,.katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11,.katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1,.katex .fontsize-ensurer.reset-size7.size1{font-size:.41666667em}.katex .sizing.reset-size7.size2,.katex .fontsize-ensurer.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3,.katex .fontsize-ensurer.reset-size7.size3{font-size:.58333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.66666667em}.katex .sizing.reset-size7.size5,.katex .fontsize-ensurer.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6,.katex .fontsize-ensurer.reset-size7.size6{font-size:.83333333em}.katex .sizing.reset-size7.size7,.katex .fontsize-ensurer.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8,.katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9,.katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10,.katex .fontsize-ensurer.reset-size7.size10{font-size:1.72833333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.07333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.34722222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.41666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.48611111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.55555556em}.katex .sizing.reset-size8.size5,.katex .fontsize-ensurer.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6,.katex .fontsize-ensurer.reset-size8.size6{font-size:.69444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.83333333em}.katex .sizing.reset-size8.size8,.katex .fontsize-ensurer.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9,.katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10,.katex .fontsize-ensurer.reset-size8.size10{font-size:1.44027778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.72777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.28935185em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.34722222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.40509259em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.46296296em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.52083333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.69444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.83333333em}.katex .sizing.reset-size9.size9,.katex .fontsize-ensurer.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10,.katex .fontsize-ensurer.reset-size9.size10{font-size:1.20023148em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.43981481em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.24108004em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.28929605em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.33751205em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.38572806em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.43394407em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.48216008em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.57859209em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.69431051em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.83317261em}.katex .sizing.reset-size10.size10,.katex .fontsize-ensurer.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11,.katex .fontsize-ensurer.reset-size10.size11{font-size:1.19961427em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.20096463em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.24115756em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.28135048em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.32154341em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.36173633em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.40192926em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.48231511em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.57877814em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.69453376em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.83360129em}.katex .sizing.reset-size11.size11,.katex .fontsize-ensurer.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:before,.katex .stretchy:after{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .x-arrow,.katex .mover,.katex .munder{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{counter-increment:katexEqnNo;content:"(" counter(katexEqnNo) ")"}.katex .mml-eqn-num:before{counter-increment:mmlEqnNo;content:"(" counter(mmlEqnNo) ")"}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + .3em);text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}:host{counter-reset:katexEqnNo mmlEqnNo}';var ir=(e=>(e[e.Messages=0]="Messages",e[e.OperationResult=1]="OperationResult",e[e.OperationError=2]="OperationError",e))(ir||{}),ze=(e=>(e[e.Init=0]="Init",e[e.Done=1]="Done",e[e.Error=2]="Error",e[e.AppendMessage=3]="AppendMessage",e[e.ToolCallUpdate=4]="ToolCallUpdate",e[e.Loop=5]="Loop",e[e.ToolCallTaskItemStatus=6]="ToolCallTaskItemStatus",e[e.ToolCallTitle=7]="ToolCallTitle",e[e.ToolCallLog=8]="ToolCallLog",e[e.ToolCallPython=9]="ToolCallPython",e[e.ToolCallDone=10]="ToolCallDone",e[e.ToolCallError=11]="ToolCallError",e[e.InvokeFrontEnd=12]="InvokeFrontEnd",e))(ze||{}),ut=(e=>(e.Progress="progress",e.Complete="complete",e.Info="info",e.Warning="warning",e.Error="error",e.Undetermined="undetermined",e))(ut||{});const go={};function bo(e,t){const r=t||go,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return U0(e,n,i)}function U0(e,t,r){if(vo(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 G0(e.children,t,r)}return Array.isArray(e)?G0(e,t,r):""}function G0(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=U0(e[i],t,r);return n.join("")}function vo(e){return!!(e&&typeof e=="object")}const j0=document.createElement("i");function kn(e){const t="&"+e+";";j0.innerHTML=t;const r=j0.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function ft(e,t,r,n){const i=e.length;let a=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(t,r),e.splice(...s);else for(r&&e.splice(t,r);a<n.length;)s=n.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function at(e,t){return e.length>0?(ft(e,e.length,0,t),e):t}const $0={}.hasOwnProperty;function yo(e){const t={};let r=-1;for(;++r<e.length;)wo(t,e[r]);return t}function wo(e,t){let r;for(r in t){const i=($0.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let s;if(a)for(s in a){$0.call(i,s)||(i[s]=[]);const o=a[s];xo(i[s],Array.isArray(o)?o:o?[o]:[])}}}function xo(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);ft(e,0,0,n)}function V0(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 sr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const gt=Lt(/[A-Za-z]/),ct=Lt(/[\dA-Za-z]/),ko=Lt(/[#-'*+\--9=?A-Z^-~]/);function zn(e){return e!==null&&(e<32||e===127)}const Sn=Lt(/\d/),zo=Lt(/[\dA-Fa-f]/),So=Lt(/[!-/:-@[-`{-~]/);function te(e){return e!==null&&e<-2}function He(e){return e!==null&&(e<0||e===32)}function fe(e){return e===-2||e===-1||e===32}const Eo=Lt(new RegExp("\\p{P}|\\p{S}","u")),Ao=Lt(/\s/);function Lt(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function ge(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(l){return fe(l)?(e.enter(r),o(l)):t(l)}function o(l){return fe(l)&&a++<i?(e.consume(l),o):(e.exit(r),t(l))}}const To={tokenize:Mo};function Mo(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ge(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const l=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return te(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),s)}}const Co={tokenize:No},W0={tokenize:_o};function No(e){const t=this,r=[];let n=0,i,a,s;return o;function o(R){if(n<r.length){const W=r[n];return t.containerState=W[1],e.attempt(W[0].continuation,l,h)(R)}return h(R)}function l(R){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&C();const W=t.events.length;let H=W,T;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){T=t.events[H][1].end;break}A(n);let X=W;for(;X<t.events.length;)t.events[X][1].end=Object.assign({},T),X++;return ft(t.events,H+1,0,t.events.slice(W)),t.events.length=X,h(R)}return o(R)}function h(R){if(n===r.length){if(!i)return g(R);if(i.currentConstruct&&i.currentConstruct.concrete)return z(R);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(W0,d,p)(R)}function d(R){return i&&C(),A(n),g(R)}function p(R){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,z(R)}function g(R){return t.containerState={},e.attempt(W0,m,z)(R)}function m(R){return n++,r.push([t.currentConstruct,t.containerState]),g(R)}function z(R){if(R===null){i&&C(),A(0),e.consume(R);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:i}),k(R)}function k(R){if(R===null){N(e.exit("chunkFlow"),!0),A(0),e.consume(R);return}return te(R)?(e.consume(R),N(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(R),k)}function N(R,W){const H=t.sliceStream(R);if(W&&H.push(null),R.previous=a,a&&(a.next=R),a=R,i.defineSkip(R.start),i.write(H),t.parser.lazy[R.start.line]){let T=i.events.length;for(;T--;)if(i.events[T][1].start.offset<s&&(!i.events[T][1].end||i.events[T][1].end.offset>s))return;const X=t.events.length;let ee=X,G,M;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(G){M=t.events[ee][1].end;break}G=!0}for(A(n),T=X;T<t.events.length;)t.events[T][1].end=Object.assign({},M),T++;ft(t.events,ee+1,0,t.events.slice(X)),t.events.length=T}}function A(R){let W=r.length;for(;W-- >R;){const H=r[W];t.containerState=H[1],H[0].exit.call(t,e)}r.length=R}function C(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function _o(e,t,r){return ge(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function X0(e){if(e===null||He(e)||Ao(e))return 1;if(Eo(e))return 2}function En(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}const An={name:"attention",tokenize:Ro,resolveAll:Bo};function Bo(e,t){let r=-1,n,i,a,s,o,l,h,d;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 p=Object.assign({},e[n][1].end),g=Object.assign({},e[r][1].start);K0(p,-l),K0(g,l),s={type:l>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[n][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[r][1].start),end:g},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},s.start),e[r][1].start=Object.assign({},o.end),h=[],e[n][1].end.offset-e[n][1].start.offset&&(h=at(h,[["enter",e[n][1],t],["exit",e[n][1],t]])),h=at(h,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),h=at(h,En(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),h=at(h,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(d=2,h=at(h,[["enter",e[r][1],t],["exit",e[r][1],t]])):d=0,ft(e,n-1,r-n+3,h),r=n+h.length-d-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function Ro(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=X0(n);let a;return s;function s(l){return a=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===a)return e.consume(l),o;const h=e.exit("attentionSequence"),d=X0(l),p=!d||d===2&&i||r.includes(l),g=!i||i===2&&d||r.includes(n);return h._open=!!(a===42?p:p&&(i||!g)),h._close=!!(a===42?g:g&&(d||!p)),t(l)}}function K0(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Oo={name:"autolink",tokenize:Io};function Io(e,t,r){let n=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return gt(m)?(e.consume(m),s):h(m)}function s(m){return m===43||m===45||m===46||ct(m)?(n=1,o(m)):h(m)}function o(m){return m===58?(e.consume(m),n=0,l):(m===43||m===45||m===46||ct(m))&&n++<32?(e.consume(m),o):(n=0,h(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||zn(m)?r(m):(e.consume(m),l)}function h(m){return m===64?(e.consume(m),d):ko(m)?(e.consume(m),h):r(m)}function d(m){return ct(m)?p(m):r(m)}function p(m){return m===46?(e.consume(m),n=0,d):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):g(m)}function g(m){if((m===45||ct(m))&&n++<63){const z=m===45?g:p;return e.consume(m),z}return r(m)}}const Dr={tokenize:Do,partial:!0};function Do(e,t,r){return n;function n(a){return fe(a)?ge(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||te(a)?t(a):r(a)}}const Y0={name:"blockQuote",tokenize:Lo,continuation:{tokenize:Fo},exit:Po};function Lo(e,t,r){const n=this;return i;function i(s){if(s===62){const o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return r(s)}function a(s){return fe(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Fo(e,t,r){const n=this;return i;function i(s){return fe(s)?ge(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(Y0,t,r)(s)}}function Po(e){e.exit("blockQuote")}const Z0={name:"characterEscape",tokenize:qo};function qo(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return So(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}const J0={name:"characterReference",tokenize:Ho};function Ho(e,t,r){const n=this;let i=0,a,s;return o;function o(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),l}function l(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),a=31,s=ct,d(p))}function h(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=zo,d):(e.enter("characterReferenceValue"),a=7,s=Sn,d(p))}function d(p){if(p===59&&i){const g=e.exit("characterReferenceValue");return s===ct&&!kn(n.sliceSerialize(g))?r(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(p)&&i++<a?(e.consume(p),d):r(p)}}const Q0={tokenize:Go,partial:!0},ea={name:"codeFenced",tokenize:Uo,concrete:!0};function Uo(e,t,r){const n=this,i={tokenize:H,partial:!0};let a=0,s=0,o;return l;function l(T){return h(T)}function h(T){const X=n.events[n.events.length-1];return a=X&&X[1].type==="linePrefix"?X[2].sliceSerialize(X[1],!0).length:0,o=T,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(T)}function d(T){return T===o?(s++,e.consume(T),d):s<3?r(T):(e.exit("codeFencedFenceSequence"),fe(T)?ge(e,p,"whitespace")(T):p(T))}function p(T){return T===null||te(T)?(e.exit("codeFencedFence"),n.interrupt?t(T):e.check(Q0,k,W)(T)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(T))}function g(T){return T===null||te(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(T)):fe(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ge(e,m,"whitespace")(T)):T===96&&T===o?r(T):(e.consume(T),g)}function m(T){return T===null||te(T)?p(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),z(T))}function z(T){return T===null||te(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(T)):T===96&&T===o?r(T):(e.consume(T),z)}function k(T){return e.attempt(i,W,N)(T)}function N(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),A}function A(T){return a>0&&fe(T)?ge(e,C,"linePrefix",a+1)(T):C(T)}function C(T){return T===null||te(T)?e.check(Q0,k,W)(T):(e.enter("codeFlowValue"),R(T))}function R(T){return T===null||te(T)?(e.exit("codeFlowValue"),C(T)):(e.consume(T),R)}function W(T){return e.exit("codeFenced"),t(T)}function H(T,X,ee){let G=0;return M;function M(re){return T.enter("lineEnding"),T.consume(re),T.exit("lineEnding"),V}function V(re){return T.enter("codeFencedFence"),fe(re)?ge(T,$,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(re):$(re)}function $(re){return re===o?(T.enter("codeFencedFenceSequence"),de(re)):ee(re)}function de(re){return re===o?(G++,T.consume(re),de):G>=s?(T.exit("codeFencedFenceSequence"),fe(re)?ge(T,ue,"whitespace")(re):ue(re)):ee(re)}function ue(re){return re===null||te(re)?(T.exit("codeFencedFence"),X(re)):ee(re)}}}function Go(e,t,r){const n=this;return i;function i(s){return s===null?r(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}const Tn={name:"codeIndented",tokenize:$o},jo={tokenize:Vo,partial:!0};function $o(e,t,r){const n=this;return i;function i(h){return e.enter("codeIndented"),ge(e,a,"linePrefix",5)(h)}function a(h){const d=n.events[n.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?s(h):r(h)}function s(h){return h===null?l(h):te(h)?e.attempt(jo,s,l)(h):(e.enter("codeFlowValue"),o(h))}function o(h){return h===null||te(h)?(e.exit("codeFlowValue"),s(h)):(e.consume(h),o)}function l(h){return e.exit("codeIndented"),t(h)}}function Vo(e,t,r){const n=this;return i;function i(s){return n.parser.lazy[n.now().line]?r(s):te(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):ge(e,a,"linePrefix",5)(s)}function a(s){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):te(s)?i(s):r(s)}}const Wo={name:"codeText",tokenize:Yo,resolve:Xo,previous:Ko};function Xo(e){let t=e.length-4,r=3,n,i;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;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function Ko(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Yo(e,t,r){let n=0,i,a;return s;function s(p){return e.enter("codeText"),e.enter("codeTextSequence"),o(p)}function o(p){return p===96?(e.consume(p),n++,o):(e.exit("codeTextSequence"),l(p))}function l(p){return p===null?r(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),l):p===96?(a=e.enter("codeTextSequence"),i=0,d(p)):te(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("codeTextData"),h(p))}function h(p){return p===null||p===32||p===96||te(p)?(e.exit("codeTextData"),l(p)):(e.consume(p),h)}function d(p){return p===96?(e.consume(p),i++,d):i===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(a.type="codeTextData",h(p))}}function ta(e){const t={};let r=-1,n,i,a,s,o,l,h;for(;++r<e.length;){for(;r in t;)r=t[r];if(n=e[r],r&&n[1].type==="chunkFlow"&&e[r-1][1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,a=0,a<l.length&&l[a][1].type==="lineEndingBlank"&&(a+=2),a<l.length&&l[a][1].type==="content"))for(;++a<l.length&&l[a][1].type!=="content";)l[a][1].type==="chunkText"&&(l[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,Zo(e,r)),r=t[r],h=!0);else if(n[1]._container){for(a=r,i=void 0;a--&&(s=e[a],s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(i&&(e[i][1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);i&&(n[1].end=Object.assign({},e[i][1].start),o=e.slice(i,r),o.unshift(n),ft(e,i,r-i+1,o))}}return!h}function Zo(e,t){const r=e[t][1],n=e[t][2];let i=t-1;const a=[],s=r._tokenizer||n.parser[r.contentType](r.start),o=s.events,l=[],h={};let d,p,g=-1,m=r,z=0,k=0;const N=[k];for(;m;){for(;e[++i][1]!==m;);a.push(i),m._tokenizer||(d=n.sliceStream(m),m.next||d.push(null),p&&s.defineSkip(m.start),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(d),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=m,m=m.next}for(m=r;++g<o.length;)o[g][0]==="exit"&&o[g-1][0]==="enter"&&o[g][1].type===o[g-1][1].type&&o[g][1].start.line!==o[g][1].end.line&&(k=g+1,N.push(k),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(s.events=[],m?(m._tokenizer=void 0,m.previous=void 0):N.pop(),g=N.length;g--;){const A=o.slice(N[g],N[g+1]),C=a.pop();l.unshift([C,C+A.length-1]),ft(e,C,2,A)}for(g=-1;++g<l.length;)h[z+l[g][0]]=z+l[g][1],z+=l[g][1]-l[g][0]-1;return h}const Jo={tokenize:tl,resolve:el},Qo={tokenize:rl,partial:!0};function el(e){return ta(e),e}function tl(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):te(o)?e.check(Qo,s,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function rl(e,t,r){const n=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ge(e,a,"linePrefix")}function a(s){if(s===null||te(s))return r(s);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,r,t)(s)}}function ra(e,t,r,n,i,a,s,o,l){const h=l||Number.POSITIVE_INFINITY;let d=0;return p;function p(A){return A===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(A),e.exit(a),g):A===null||A===32||A===41||zn(A)?r(A):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),k(A))}function g(A){return A===62?(e.enter(a),e.consume(A),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(A))}function m(A){return A===62?(e.exit("chunkString"),e.exit(o),g(A)):A===null||A===60||te(A)?r(A):(e.consume(A),A===92?z:m)}function z(A){return A===60||A===62||A===92?(e.consume(A),m):m(A)}function k(A){return!d&&(A===null||A===41||He(A))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(A)):d<h&&A===40?(e.consume(A),d++,k):A===41?(e.consume(A),d--,k):A===null||A===32||A===40||zn(A)?r(A):(e.consume(A),A===92?N:k)}function N(A){return A===40||A===41||A===92?(e.consume(A),k):k(A)}}function na(e,t,r,n,i,a){const s=this;let o=0,l;return h;function h(m){return e.enter(n),e.enter(i),e.consume(m),e.exit(i),e.enter(a),d}function d(m){return o>999||m===null||m===91||m===93&&!l||m===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(n),t):te(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),p(m))}function p(m){return m===null||m===91||m===93||te(m)||o++>999?(e.exit("chunkString"),d(m)):(e.consume(m),l||(l=!fe(m)),m===92?g:p)}function g(m){return m===91||m===92||m===93?(e.consume(m),o++,p):p(m)}}function aa(e,t,r,n,i,a){let s;return o;function o(g){return g===34||g===39||g===40?(e.enter(n),e.enter(i),e.consume(g),e.exit(i),s=g===40?41:g,l):r(g)}function l(g){return g===s?(e.enter(i),e.consume(g),e.exit(i),e.exit(n),t):(e.enter(a),h(g))}function h(g){return g===s?(e.exit(a),l(s)):g===null?r(g):te(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),ge(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(g))}function d(g){return g===s||g===null||te(g)?(e.exit("chunkString"),h(g)):(e.consume(g),g===92?p:d)}function p(g){return g===s||g===92?(e.consume(g),d):d(g)}}function yr(e,t){let r;return n;function n(i){return te(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):fe(i)?ge(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}const nl={name:"definition",tokenize:il},al={tokenize:sl,partial:!0};function il(e,t,r){const n=this;let i;return a;function a(m){return e.enter("definition"),s(m)}function s(m){return na.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return i=sr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):r(m)}function l(m){return He(m)?yr(e,h)(m):h(m)}function h(m){return ra(e,d,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function d(m){return e.attempt(al,p,p)(m)}function p(m){return fe(m)?ge(e,g,"whitespace")(m):g(m)}function g(m){return m===null||te(m)?(e.exit("definition"),n.parser.defined.push(i),t(m)):r(m)}}function sl(e,t,r){return n;function n(o){return He(o)?yr(e,i)(o):r(o)}function i(o){return aa(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return fe(o)?ge(e,s,"whitespace")(o):s(o)}function s(o){return o===null||te(o)?t(o):r(o)}}const ol={name:"hardBreakEscape",tokenize:ll};function ll(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return te(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}const ul={name:"headingAtx",tokenize:hl,resolve:cl};function cl(e,t){let r=e.length-2,n=3,i,a;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&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},ft(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function hl(e,t,r){let n=0;return i;function i(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),s(d)}function s(d){return d===35&&n++<6?(e.consume(d),s):d===null||He(d)?(e.exit("atxHeadingSequence"),o(d)):r(d)}function o(d){return d===35?(e.enter("atxHeadingSequence"),l(d)):d===null||te(d)?(e.exit("atxHeading"),t(d)):fe(d)?ge(e,o,"whitespace")(d):(e.enter("atxHeadingText"),h(d))}function l(d){return d===35?(e.consume(d),l):(e.exit("atxHeadingSequence"),o(d))}function h(d){return d===null||d===35||He(d)?(e.exit("atxHeadingText"),o(d)):(e.consume(d),h)}}const dl=["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"],ia=["pre","script","style","textarea"],ml={name:"htmlFlow",tokenize:bl,resolveTo:gl,concrete:!0},pl={tokenize:yl,partial:!0},fl={tokenize:vl,partial:!0};function gl(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 bl(e,t,r){const n=this;let i,a,s,o,l;return h;function h(x){return d(x)}function d(x){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(x),p}function p(x){return x===33?(e.consume(x),g):x===47?(e.consume(x),a=!0,k):x===63?(e.consume(x),i=3,n.interrupt?t:v):gt(x)?(e.consume(x),s=String.fromCharCode(x),N):r(x)}function g(x){return x===45?(e.consume(x),i=2,m):x===91?(e.consume(x),i=5,o=0,z):gt(x)?(e.consume(x),i=4,n.interrupt?t:v):r(x)}function m(x){return x===45?(e.consume(x),n.interrupt?t:v):r(x)}function z(x){const Oe="CDATA[";return x===Oe.charCodeAt(o++)?(e.consume(x),o===Oe.length?n.interrupt?t:$:z):r(x)}function k(x){return gt(x)?(e.consume(x),s=String.fromCharCode(x),N):r(x)}function N(x){if(x===null||x===47||x===62||He(x)){const Oe=x===47,we=s.toLowerCase();return!Oe&&!a&&ia.includes(we)?(i=1,n.interrupt?t(x):$(x)):dl.includes(s.toLowerCase())?(i=6,Oe?(e.consume(x),A):n.interrupt?t(x):$(x)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(x):a?C(x):R(x))}return x===45||ct(x)?(e.consume(x),s+=String.fromCharCode(x),N):r(x)}function A(x){return x===62?(e.consume(x),n.interrupt?t:$):r(x)}function C(x){return fe(x)?(e.consume(x),C):M(x)}function R(x){return x===47?(e.consume(x),M):x===58||x===95||gt(x)?(e.consume(x),W):fe(x)?(e.consume(x),R):M(x)}function W(x){return x===45||x===46||x===58||x===95||ct(x)?(e.consume(x),W):H(x)}function H(x){return x===61?(e.consume(x),T):fe(x)?(e.consume(x),H):R(x)}function T(x){return x===null||x===60||x===61||x===62||x===96?r(x):x===34||x===39?(e.consume(x),l=x,X):fe(x)?(e.consume(x),T):ee(x)}function X(x){return x===l?(e.consume(x),l=null,G):x===null||te(x)?r(x):(e.consume(x),X)}function ee(x){return x===null||x===34||x===39||x===47||x===60||x===61||x===62||x===96||He(x)?H(x):(e.consume(x),ee)}function G(x){return x===47||x===62||fe(x)?R(x):r(x)}function M(x){return x===62?(e.consume(x),V):r(x)}function V(x){return x===null||te(x)?$(x):fe(x)?(e.consume(x),V):r(x)}function $(x){return x===45&&i===2?(e.consume(x),ve):x===60&&i===1?(e.consume(x),O):x===62&&i===4?(e.consume(x),se):x===63&&i===3?(e.consume(x),v):x===93&&i===5?(e.consume(x),Q):te(x)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(pl,ce,de)(x)):x===null||te(x)?(e.exit("htmlFlowData"),de(x)):(e.consume(x),$)}function de(x){return e.check(fl,ue,ce)(x)}function ue(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),re}function re(x){return x===null||te(x)?de(x):(e.enter("htmlFlowData"),$(x))}function ve(x){return x===45?(e.consume(x),v):$(x)}function O(x){return x===47?(e.consume(x),s="",L):$(x)}function L(x){if(x===62){const Oe=s.toLowerCase();return ia.includes(Oe)?(e.consume(x),se):$(x)}return gt(x)&&s.length<8?(e.consume(x),s+=String.fromCharCode(x),L):$(x)}function Q(x){return x===93?(e.consume(x),v):$(x)}function v(x){return x===62?(e.consume(x),se):x===45&&i===2?(e.consume(x),v):$(x)}function se(x){return x===null||te(x)?(e.exit("htmlFlowData"),ce(x)):(e.consume(x),se)}function ce(x){return e.exit("htmlFlow"),t(x)}}function vl(e,t,r){const n=this;return i;function i(s){return te(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):r(s)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function yl(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Dr,t,r)}}const wl={name:"htmlText",tokenize:xl};function xl(e,t,r){const n=this;let i,a,s;return o;function o(v){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(v),l}function l(v){return v===33?(e.consume(v),h):v===47?(e.consume(v),H):v===63?(e.consume(v),R):gt(v)?(e.consume(v),ee):r(v)}function h(v){return v===45?(e.consume(v),d):v===91?(e.consume(v),a=0,z):gt(v)?(e.consume(v),C):r(v)}function d(v){return v===45?(e.consume(v),m):r(v)}function p(v){return v===null?r(v):v===45?(e.consume(v),g):te(v)?(s=p,O(v)):(e.consume(v),p)}function g(v){return v===45?(e.consume(v),m):p(v)}function m(v){return v===62?ve(v):v===45?g(v):p(v)}function z(v){const se="CDATA[";return v===se.charCodeAt(a++)?(e.consume(v),a===se.length?k:z):r(v)}function k(v){return v===null?r(v):v===93?(e.consume(v),N):te(v)?(s=k,O(v)):(e.consume(v),k)}function N(v){return v===93?(e.consume(v),A):k(v)}function A(v){return v===62?ve(v):v===93?(e.consume(v),A):k(v)}function C(v){return v===null||v===62?ve(v):te(v)?(s=C,O(v)):(e.consume(v),C)}function R(v){return v===null?r(v):v===63?(e.consume(v),W):te(v)?(s=R,O(v)):(e.consume(v),R)}function W(v){return v===62?ve(v):R(v)}function H(v){return gt(v)?(e.consume(v),T):r(v)}function T(v){return v===45||ct(v)?(e.consume(v),T):X(v)}function X(v){return te(v)?(s=X,O(v)):fe(v)?(e.consume(v),X):ve(v)}function ee(v){return v===45||ct(v)?(e.consume(v),ee):v===47||v===62||He(v)?G(v):r(v)}function G(v){return v===47?(e.consume(v),ve):v===58||v===95||gt(v)?(e.consume(v),M):te(v)?(s=G,O(v)):fe(v)?(e.consume(v),G):ve(v)}function M(v){return v===45||v===46||v===58||v===95||ct(v)?(e.consume(v),M):V(v)}function V(v){return v===61?(e.consume(v),$):te(v)?(s=V,O(v)):fe(v)?(e.consume(v),V):G(v)}function $(v){return v===null||v===60||v===61||v===62||v===96?r(v):v===34||v===39?(e.consume(v),i=v,de):te(v)?(s=$,O(v)):fe(v)?(e.consume(v),$):(e.consume(v),ue)}function de(v){return v===i?(e.consume(v),i=void 0,re):v===null?r(v):te(v)?(s=de,O(v)):(e.consume(v),de)}function ue(v){return v===null||v===34||v===39||v===60||v===61||v===96?r(v):v===47||v===62||He(v)?G(v):(e.consume(v),ue)}function re(v){return v===47||v===62||He(v)?G(v):r(v)}function ve(v){return v===62?(e.consume(v),e.exit("htmlTextData"),e.exit("htmlText"),t):r(v)}function O(v){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),L}function L(v){return fe(v)?ge(e,Q,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):Q(v)}function Q(v){return e.enter("htmlTextData"),s(v)}}const Mn={name:"labelEnd",tokenize:Tl,resolveTo:Al,resolveAll:El},kl={tokenize:Ml},zl={tokenize:Cl},Sl={tokenize:Nl};function El(e){let t=-1;for(;++t<e.length;){const r=e[t][1];(r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd")&&(e.splice(t+1,r.type==="labelImage"?4:2),r.type="data",t++)}return e}function Al(e,t){let r=e.length,n=0,i,a,s,o;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(s=r);const l={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},h={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[s][1].end)},d={type:"labelText",start:Object.assign({},e[a+n+2][1].end),end:Object.assign({},e[s-2][1].start)};return o=[["enter",l,t],["enter",h,t]],o=at(o,e.slice(a+1,a+n+3)),o=at(o,[["enter",d,t]]),o=at(o,En(t.parser.constructs.insideSpan.null,e.slice(a+n+4,s-3),t)),o=at(o,[["exit",d,t],e[s-2],e[s-1],["exit",h,t]]),o=at(o,e.slice(s+1)),o=at(o,[["exit",l,t]]),ft(e,a,e.length,o),e}function Tl(e,t,r){const n=this;let i=n.events.length,a,s;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return o;function o(g){return a?a._inactive?p(g):(s=n.parser.defined.includes(sr(n.sliceSerialize({start:a.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(kl,d,s?d:p)(g):g===91?e.attempt(zl,d,s?h:p)(g):s?d(g):p(g)}function h(g){return e.attempt(Sl,d,p)(g)}function d(g){return t(g)}function p(g){return a._balanced=!0,r(g)}}function Ml(e,t,r){return n;function n(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),i}function i(p){return He(p)?yr(e,a)(p):a(p)}function a(p){return p===41?d(p):ra(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function s(p){return He(p)?yr(e,l)(p):d(p)}function o(p){return r(p)}function l(p){return p===34||p===39||p===40?aa(e,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):d(p)}function h(p){return He(p)?yr(e,d)(p):d(p)}function d(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):r(p)}}function Cl(e,t,r){const n=this;return i;function i(o){return na.call(n,e,a,s,"reference","referenceMarker","referenceString")(o)}function a(o){return n.parser.defined.includes(sr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function s(o){return r(o)}}function Nl(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}const _l={name:"labelStartImage",tokenize:Bl,resolveAll:Mn.resolveAll};function Bl(e,t,r){const n=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),s):r(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}const Rl={name:"labelStartLink",tokenize:Ol,resolveAll:Mn.resolveAll};function Ol(e,t,r){const n=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const Cn={name:"lineEnding",tokenize:Il};function Il(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ge(e,t,"linePrefix")}}const Lr={name:"thematicBreak",tokenize:Dl};function Dl(e,t,r){let n=0,i;return a;function a(h){return e.enter("thematicBreak"),s(h)}function s(h){return i=h,o(h)}function o(h){return h===i?(e.enter("thematicBreakSequence"),l(h)):n>=3&&(h===null||te(h))?(e.exit("thematicBreak"),t(h)):r(h)}function l(h){return h===i?(e.consume(h),n++,l):(e.exit("thematicBreakSequence"),fe(h)?ge(e,o,"whitespace")(h):o(h))}}const Ke={name:"list",tokenize:Pl,continuation:{tokenize:ql},exit:Ul},Ll={tokenize:Gl,partial:!0},Fl={tokenize:Hl,partial:!0};function Pl(e,t,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return o;function o(m){const z=n.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(z==="listUnordered"?!n.containerState.marker||m===n.containerState.marker:Sn(m)){if(n.containerState.type||(n.containerState.type=z,e.enter(z,{_container:!0})),z==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Lr,r,h)(m):h(m);if(!n.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return r(m)}function l(m){return Sn(m)&&++s<10?(e.consume(m),l):(!n.interrupt||s<2)&&(n.containerState.marker?m===n.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),h(m)):r(m)}function h(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||m,e.check(Dr,n.interrupt?r:d,e.attempt(Ll,g,p))}function d(m){return n.containerState.initialBlankLine=!0,a++,g(m)}function p(m){return fe(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),g):r(m)}function g(m){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function ql(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(Dr,i,a);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ge(e,t,"listItemIndent",n.containerState.size+1)(o)}function a(o){return n.containerState.furtherBlankLines||!fe(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(Fl,t,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,ge(e,e.attempt(Ke,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Hl(e,t,r){const n=this;return ge(e,i,"listItemIndent",n.containerState.size+1);function i(a){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?t(a):r(a)}}function Ul(e){e.exit(this.containerState.type)}function Gl(e,t,r){const n=this;return ge(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=n.events[n.events.length-1];return!fe(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}const sa={name:"setextUnderline",tokenize:$l,resolveTo:jl};function jl(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);const s={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",s,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}function $l(e,t,r){const n=this;let i;return a;function a(h){let d=n.events.length,p;for(;d--;)if(n.events[d][1].type!=="lineEnding"&&n.events[d][1].type!=="linePrefix"&&n.events[d][1].type!=="content"){p=n.events[d][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||p)?(e.enter("setextHeadingLine"),i=h,s(h)):r(h)}function s(h){return e.enter("setextHeadingLineSequence"),o(h)}function o(h){return h===i?(e.consume(h),o):(e.exit("setextHeadingLineSequence"),fe(h)?ge(e,l,"lineSuffix")(h):l(h))}function l(h){return h===null||te(h)?(e.exit("setextHeadingLine"),t(h)):r(h)}}const Vl={tokenize:Wl};function Wl(e){const t=this,r=e.attempt(Dr,n,e.attempt(this.parser.constructs.flowInitial,i,ge(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Jo,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const Xl={resolveAll:la()},Kl=oa("string"),Yl=oa("text");function oa(e){return{tokenize:t,resolveAll:la(e==="text"?Zl:void 0)};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,s,o);return s;function s(d){return h(d)?a(d):o(d)}function o(d){if(d===null){r.consume(d);return}return r.enter("data"),r.consume(d),l}function l(d){return h(d)?(r.exit("data"),a(d)):(r.consume(d),l)}function h(d){if(d===null)return!0;const p=i[d];let g=-1;if(p)for(;++g<p.length;){const m=p[g];if(!m.previous||m.previous.call(n,n.previous))return!0}return!1}}}function la(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function Zl(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],i=t.sliceStream(n);let a=i.length,s=-1,o=0,l;for(;a--;){const h=i[a];if(typeof h=="string"){for(s=h.length;h.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(h===-2)l=!0,o++;else if(h!==-1){a++;break}}if(o){const h={type:r===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-o,offset:n.end.offset-o,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},h.start),n.start.offset===n.end.offset?Object.assign(n,h):(e.splice(r,0,["enter",h,t],["exit",h,t]),r+=2)}r++}return e}function Jl(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},a=[];let s=[],o=[];const l={consume:C,enter:R,exit:W,attempt:X(H),check:X(T),interrupt:X(T,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:g,now:z,defineSkip:k,write:p};let d=t.tokenize.call(h,l);return t.resolveAll&&a.push(t),h;function p(V){return s=at(s,V),N(),s[s.length-1]!==null?[]:(ee(t,0),h.events=En(a,h.events,h),h.events)}function g(V,$){return eu(m(V),$)}function m(V){return Ql(s,V)}function z(){const{line:V,column:$,offset:de,_index:ue,_bufferIndex:re}=n;return{line:V,column:$,offset:de,_index:ue,_bufferIndex:re}}function k(V){i[V.line]=V.column,M()}function N(){let V;for(;n._index<s.length;){const $=s[n._index];if(typeof $=="string")for(V=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===V&&n._bufferIndex<$.length;)A($.charCodeAt(n._bufferIndex));else A($)}}function A(V){d=d(V)}function C(V){te(V)?(n.line++,n.column=1,n.offset+=V===-3?2:1,M()):V!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),h.previous=V}function R(V,$){const de=$||{};return de.type=V,de.start=z(),h.events.push(["enter",de,h]),o.push(de),de}function W(V){const $=o.pop();return $.end=z(),h.events.push(["exit",$,h]),$}function H(V,$){ee(V,$.from)}function T(V,$){$.restore()}function X(V,$){return de;function de(ue,re,ve){let O,L,Q,v;return Array.isArray(ue)?ce(ue):"tokenize"in ue?ce([ue]):se(ue);function se(ye){return Xe;function Xe(Fe){const Je=Fe!==null&&ye[Fe],Qe=Fe!==null&&ye.null,tr=[...Array.isArray(Je)?Je:Je?[Je]:[],...Array.isArray(Qe)?Qe:Qe?[Qe]:[]];return ce(tr)(Fe)}}function ce(ye){return O=ye,L=0,ye.length===0?ve:x(ye[L])}function x(ye){return Xe;function Xe(Fe){return v=G(),Q=ye,ye.partial||(h.currentConstruct=ye),ye.name&&h.parser.constructs.disable.null.includes(ye.name)?we():ye.tokenize.call($?Object.assign(Object.create(h),$):h,l,Oe,we)(Fe)}}function Oe(ye){return V(Q,v),re}function we(ye){return v.restore(),++L<O.length?x(O[L]):ve}}}function ee(V,$){V.resolveAll&&!a.includes(V)&&a.push(V),V.resolve&&ft(h.events,$,h.events.length-$,V.resolve(h.events.slice($),h)),V.resolveTo&&(h.events=V.resolveTo(h.events,h))}function G(){const V=z(),$=h.previous,de=h.currentConstruct,ue=h.events.length,re=Array.from(o);return{restore:ve,from:ue};function ve(){n=V,h.previous=$,h.currentConstruct=de,h.events.length=ue,o=re,M()}}function M(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function Ql(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let s;if(r===i)s=[e[r].slice(n,a)];else{if(s=e.slice(r,i),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function eu(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
1
+ (function(kt,F){typeof exports=="object"&&typeof module<"u"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(kt=typeof globalThis<"u"?globalThis:kt||self,F(kt.VeracityAI={}))})(this,function(kt){"use strict";var t4=Object.defineProperty;var r4=(kt,F,ht)=>F in kt?t4(kt,F,{enumerable:!0,configurable:!0,writable:!0,value:ht}):kt[F]=ht;var W=(kt,F,ht)=>r4(kt,typeof F!="symbol"?F+"":F,ht);function F(t,e,...r){switch(typeof t){case"string":{const n=document.createElement(t);ht(n,e);for(const i of r)Aa(n,i);return n}case"function":return t(e||{},r)}throw new Error(`Unable to create element of type '${typeof t}'`)}function ht(t,e){if(e)for(const r in e){const n=e[r];if(r in t)if(r==="classList"){if(n)for(const i of n)t.classList.add(i)}else t[r]=n;else r in t.style?t.style[r]=n:t.setAttribute(r,n)}}function Jo(t){if(t instanceof Node)return t;if(typeof t=="string")return document.createTextNode(t);if(t!=null&&t[Symbol.iterator]){const e=document.createDocumentFragment();for(const r of t)Aa(e,r);return e}else return t?document.createTextNode(t):document.createComment(` ${t} `)}function Aa(t,e){const r=Jo(e);t.appendChild(r)}const Qo=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Avenir Next,Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}b,strong{font-weight:600}:root{--Dark-Blue-5: hsl(223, 67%, 5%);--Dark-Blue-10: hsl(223, 67%, 10%);--Dark-Blue-15: hsl(223, 67%, 15%);--Dark-Blue-20: hsl(223, 67%, 20%);--Dark-Blue-25: hsl(223, 67%, 25%);--Dark-Blue-30: hsl(223, 67%, 30%);--Dark-Blue-35: hsl(223, 67%, 35%);--Dark-Blue-40: hsl(223, 67%, 40%);--Dark-Blue-45: hsl(223, 67%, 45%);--Dark-Blue-50: hsl(223, 67%, 50%);--Dark-Blue-55: hsl(223, 67%, 55%);--Dark-Blue-60: hsl(223, 67%, 60%);--Dark-Blue-65: hsl(223, 67%, 65%);--Dark-Blue-70: hsl(223, 67%, 70%);--Dark-Blue-75: hsl(223, 67%, 75%);--Dark-Blue-80: hsl(223, 67%, 80%);--Dark-Blue-85: hsl(223, 67%, 85%);--Dark-Blue-90: hsl(223, 67%, 90%);--Dark-Blue-95: hsl(223, 67%, 95%);--Dark-Blue-Main-18: hsl(223, 67%, 18%);--Sea-Blue-5: hsl(218, 100%, 5%);--Sea-Blue-10: hsl(218, 100%, 10%);--Sea-Blue-15: hsl(218, 100%, 15%);--Sea-Blue-20: hsl(218, 100%, 20%);--Sea-Blue-25: hsl(218, 100%, 25%);--Sea-Blue-30: hsl(218, 100%, 30%);--Sea-Blue-35: hsl(218, 100%, 35%);--Sea-Blue-40: hsl(218, 100%, 40%);--Sea-Blue-45: hsl(218, 100%, 45%);--Sea-Blue-50: hsl(218, 100%, 50%);--Sea-Blue-55: hsl(218, 100%, 55%);--Sea-Blue-60: hsl(218, 100%, 60%);--Sea-Blue-65: hsl(218, 100%, 65%);--Sea-Blue-70: hsl(218, 100%, 70%);--Sea-Blue-75: hsl(218, 100%, 75%);--Sea-Blue-80: hsl(218, 100%, 80%);--Sea-Blue-85: hsl(218, 100%, 85%);--Sea-Blue-90: hsl(218, 100%, 90%);--Sea-Blue-95: hsl(218, 100%, 95%);--Sea-Blue-Main-28: hsl(218, 100%, 28%);--Sky-Blue-5: hsl(196, 74%, 5%);--Sky-Blue-10: hsl(196, 74%, 10%);--Sky-Blue-15: hsl(196, 74%, 15%);--Sky-Blue-20: hsl(196, 74%, 20%);--Sky-Blue-25: hsl(196, 74%, 25%);--Sky-Blue-30: hsl(196, 74%, 30%);--Sky-Blue-35: hsl(196, 74%, 35%);--Sky-Blue-40: hsl(196, 74%, 40%);--Sky-Blue-45: hsl(196, 74%, 45%);--Sky-Blue-50: hsl(196, 74%, 50%);--Sky-Blue-55: hsl(196, 74%, 55%);--Sky-Blue-60: hsl(196, 74%, 60%);--Sky-Blue-65: hsl(196, 74%, 65%);--Sky-Blue-70: hsl(196, 74%, 70%);--Sky-Blue-75: hsl(196, 74%, 75%);--Sky-Blue-80: hsl(196, 74%, 80%);--Sky-Blue-85: hsl(196, 74%, 85%);--Sky-Blue-90: hsl(196, 74%, 90%);--Sky-Blue-95: hsl(196, 74%, 95%);--Sky-Blue-97: hsl(196, 74%, 97%);--Sky-Blue-Main-77: hsl(196, 74%, 77%);--Digi-Green-5: hsl(139, 100%, 5%);--Digi-Green-10: hsl(139, 100%, 10%);--Digi-Green-15: hsl(139, 100%, 15%);--Digi-Green-20: hsl(139, 100%, 20%);--Digi-Green-25: hsl(139, 100%, 25%);--Digi-Green-30: hsl(139, 100%, 30%);--Digi-Green-35: hsl(139, 100%, 35%);--Digi-Green-40: hsl(139, 100%, 40%);--Digi-Green-45: hsl(139, 100%, 45%);--Digi-Green-50: hsl(139, 100%, 50%);--Digi-Green-55: hsl(139, 100%, 55%);--Digi-Green-60: hsl(139, 100%, 60%);--Digi-Green-65: hsl(139, 100%, 65%);--Digi-Green-70: hsl(139, 100%, 70%);--Digi-Green-75: hsl(139, 100%, 75%);--Digi-Green-80: hsl(139, 100%, 80%);--Digi-Green-85: hsl(139, 100%, 85%);--Digi-Green-90: hsl(139, 100%, 90%);--Digi-Green-95: hsl(139, 100%, 95%);--Digi-Green-Main-78: hsl(139, 100%, 78%);--Sandstone-5: hsl(40, 3%, 5%);--Sandstone-10: hsl(40, 3%, 10%);--Sandstone-15: hsl(40, 3%, 15%);--Sandstone-20: hsl(40, 3%, 20%);--Sandstone-25: hsl(40, 3%, 25%);--Sandstone-30: hsl(40, 3%, 30%);--Sandstone-35: hsl(40, 3%, 35%);--Sandstone-40: hsl(40, 3%, 40%);--Sandstone-45: hsl(40, 3%, 45%);--Sandstone-50: hsl(40, 3%, 50%);--Sandstone-55: hsl(40, 3%, 55%);--Sandstone-60: hsl(40, 3%, 60%);--Sandstone-65: hsl(40, 3%, 65%);--Sandstone-70: hsl(40, 3%, 70%);--Sandstone-75: hsl(40, 3%, 75%);--Sandstone-80: hsl(40, 3%, 80%);--Sandstone-85: hsl(40, 3%, 85%);--Sandstone-90: hsl(40, 3%, 90%);--Sandstone-95: hsl(40, 3%, 95%);--Sandstone-97: hsl(40, 3%, 97%);--Sandstone-Main-79: hsl(40, 3%, 79%);--Warm-Grey-5: hsl(30, 8%, 5%);--Warm-Grey-10: hsl(30, 8%, 10%);--Warm-Grey-15: hsl(30, 8%, 15%);--Warm-Grey-20: hsl(30, 8%, 20%);--Warm-Grey-25: hsl(30, 8%, 25%);--Warm-Grey-30: hsl(30, 8%, 30%);--Warm-Grey-35: hsl(30, 8%, 35%);--Warm-Grey-40: hsl(30, 8%, 40%);--Warm-Grey-45: hsl(30, 8%, 45%);--Warm-Grey-50: hsl(30, 8%, 50%);--Warm-Grey-55: hsl(30, 8%, 55%);--Warm-Grey-60: hsl(30, 8%, 60%);--Warm-Grey-65: hsl(30, 8%, 65%);--Warm-Grey-70: hsl(30, 8%, 70%);--Warm-Grey-75: hsl(30, 8%, 75%);--Warm-Grey-80: hsl(30, 8%, 80%);--Warm-Grey-85: hsl(30, 8%, 85%);--Warm-Grey-90: hsl(30, 8%, 90%);--Warm-Grey-95: hsl(30, 8%, 95%);--Warm-Grey-Main-56: hsl(30, 8%, 56%);--Earth-5: hsl(35, 53%, 5%);--Earth-10: hsl(35, 53%, 10%);--Earth-15: hsl(35, 53%, 15%);--Earth-20: hsl(35, 53%, 20%);--Earth-25: hsl(35, 53%, 25%);--Earth-30: hsl(35, 53%, 30%);--Earth-35: hsl(35, 53%, 35%);--Earth-40: hsl(35, 53%, 40%);--Earth-45: hsl(35, 53%, 45%);--Earth-50: hsl(35, 53%, 50%);--Earth-55: hsl(35, 53%, 55%);--Earth-60: hsl(35, 53%, 60%);--Earth-65: hsl(35, 53%, 65%);--Earth-70: hsl(35, 53%, 70%);--Earth-75: hsl(35, 53%, 75%);--Earth-80: hsl(35, 53%, 80%);--Earth-85: hsl(35, 53%, 85%);--Earth-90: hsl(35, 53%, 90%);--Earth-95: hsl(35, 53%, 95%);--Earth-97: hsl(35, 53%, 97%);--Earth-Main-89: hsl(35, 53%, 89%);--Pine-5: hsl(195, 46%, 5%);--Pine-10: hsl(195, 46%, 10%);--Pine-15: hsl(195, 46%, 15%);--Pine-20: hsl(195, 46%, 20%);--Pine-25: hsl(195, 46%, 25%);--Pine-30: hsl(195, 46%, 30%);--Pine-35: hsl(195, 46%, 35%);--Pine-40: hsl(195, 46%, 40%);--Pine-45: hsl(195, 46%, 45%);--Pine-50: hsl(195, 46%, 50%);--Pine-55: hsl(195, 46%, 55%);--Pine-60: hsl(195, 46%, 60%);--Pine-65: hsl(195, 46%, 65%);--Pine-70: hsl(195, 46%, 70%);--Pine-75: hsl(195, 46%, 75%);--Pine-80: hsl(195, 46%, 80%);--Pine-85: hsl(195, 46%, 85%);--Pine-90: hsl(195, 46%, 90%);--Pine-95: hsl(195, 46%, 95%);--Pine-Main-30: hsl(195, 46%, 30%);--Eucalyptus-5: hsl(178, 80%, 5%);--Eucalyptus-10: hsl(178, 80%, 10%);--Eucalyptus-15: hsl(178, 80%, 15%);--Eucalyptus-20: hsl(178, 80%, 20%);--Eucalyptus-25: hsl(178, 80%, 25%);--Eucalyptus-30: hsl(178, 80%, 30%);--Eucalyptus-35: hsl(178, 80%, 35%);--Eucalyptus-40: hsl(178, 80%, 40%);--Eucalyptus-45: hsl(178, 80%, 45%);--Eucalyptus-50: hsl(178, 80%, 50%);--Eucalyptus-55: hsl(178, 80%, 55%);--Eucalyptus-60: hsl(178, 80%, 60%);--Eucalyptus-65: hsl(178, 80%, 65%);--Eucalyptus-70: hsl(178, 80%, 70%);--Eucalyptus-75: hsl(178, 80%, 75%);--Eucalyptus-80: hsl(178, 80%, 80%);--Eucalyptus-85: hsl(178, 80%, 85%);--Eucalyptus-90: hsl(178, 80%, 90%);--Eucalyptus-95: hsl(178, 80%, 95%);--Eucalyptus-Main-41: hsl(178, 80%, 41%);--Lavender-5: hsl(232, 58%, 5%);--Lavender-10: hsl(232, 58%, 10%);--Lavender-15: hsl(232, 58%, 15%);--Lavender-20: hsl(232, 58%, 20%);--Lavender-25: hsl(232, 58%, 25%);--Lavender-30: hsl(232, 58%, 30%);--Lavender-35: hsl(232, 58%, 35%);--Lavender-40: hsl(232, 58%, 40%);--Lavender-45: hsl(232, 58%, 45%);--Lavender-50: hsl(232, 58%, 50%);--Lavender-55: hsl(232, 58%, 55%);--Lavender-60: hsl(232, 58%, 60%);--Lavender-65: hsl(232, 58%, 65%);--Lavender-70: hsl(232, 58%, 70%);--Lavender-75: hsl(232, 58%, 75%);--Lavender-80: hsl(232, 58%, 80%);--Lavender-85: hsl(232, 58%, 85%);--Lavender-90: hsl(232, 58%, 90%);--Lavender-95: hsl(232, 58%, 95%);--Lavender-Main-77: hsl(232, 58%, 77%);--Terracotta-5: hsl(34, 100%, 5%);--Terracotta-10: hsl(34, 100%, 10%);--Terracotta-15: hsl(34, 100%, 15%);--Terracotta-20: hsl(34, 100%, 20%);--Terracotta-25: hsl(34, 100%, 25%);--Terracotta-30: hsl(34, 100%, 30%);--Terracotta-35: hsl(34, 100%, 35%);--Terracotta-40: hsl(34, 100%, 40%);--Terracotta-45: hsl(34, 100%, 45%);--Terracotta-50: hsl(34, 100%, 50%);--Terracotta-55: hsl(34, 100%, 55%);--Terracotta-60: hsl(34, 100%, 60%);--Terracotta-65: hsl(34, 100%, 65%);--Terracotta-70: hsl(34, 100%, 70%);--Terracotta-75: hsl(34, 100%, 75%);--Terracotta-80: hsl(34, 100%, 80%);--Terracotta-85: hsl(34, 100%, 85%);--Terracotta-90: hsl(34, 100%, 90%);--Terracotta-95: hsl(34, 100%, 95%);--Terracotta-Main-35: hsl(34, 100%, 35%);--Land-Green-5: hsl(114, 49%, 5%);--Land-Green-10: hsl(114, 49%, 10%);--Land-Green-15: hsl(114, 49%, 15%);--Land-Green-20: hsl(114, 49%, 20%);--Land-Green-25: hsl(114, 49%, 25%);--Land-Green-30: hsl(114, 49%, 30%);--Land-Green-35: hsl(114, 49%, 35%);--Land-Green-40: hsl(114, 49%, 40%);--Land-Green-45: hsl(114, 49%, 45%);--Land-Green-50: hsl(114, 49%, 50%);--Land-Green-55: hsl(114, 49%, 55%);--Land-Green-60: hsl(114, 49%, 60%);--Land-Green-65: hsl(114, 49%, 65%);--Land-Green-70: hsl(114, 49%, 70%);--Land-Green-75: hsl(114, 49%, 75%);--Land-Green-80: hsl(114, 49%, 80%);--Land-Green-85: hsl(114, 49%, 85%);--Land-Green-90: hsl(114, 49%, 90%);--Land-Green-95: hsl(114, 49%, 95%);--Land-Green-Main-41: hsl(114, 49%, 41%);--Sunflower-5: hsl(55, 100%, 5%);--Sunflower-10: hsl(55, 100%, 10%);--Sunflower-15: hsl(55, 100%, 15%);--Sunflower-20: hsl(55, 100%, 20%);--Sunflower-25: hsl(55, 100%, 25%);--Sunflower-30: hsl(55, 100%, 30%);--Sunflower-35: hsl(55, 100%, 35%);--Sunflower-40: hsl(55, 100%, 40%);--Sunflower-45: hsl(55, 100%, 45%);--Sunflower-50: hsl(55, 100%, 50%);--Sunflower-55: hsl(55, 100%, 55%);--Sunflower-60: hsl(55, 100%, 60%);--Sunflower-65: hsl(55, 100%, 65%);--Sunflower-70: hsl(55, 100%, 70%);--Sunflower-75: hsl(55, 100%, 75%);--Sunflower-80: hsl(55, 100%, 80%);--Sunflower-85: hsl(55, 100%, 85%);--Sunflower-90: hsl(55, 100%, 90%);--Sunflower-95: hsl(55, 100%, 95%);--Sunflower-Main-73: hsl(55, 100%, 73%);--Energy-Red-5: hsl(357, 83%, 5%);--Energy-Red-10: hsl(357, 83%, 10%);--Energy-Red-15: hsl(357, 83%, 15%);--Energy-Red-20: hsl(357, 83%, 20%);--Energy-Red-25: hsl(357, 83%, 25%);--Energy-Red-30: hsl(357, 83%, 30%);--Energy-Red-35: hsl(357, 83%, 35%);--Energy-Red-40: hsl(357, 83%, 40%);--Energy-Red-45: hsl(357, 83%, 45%);--Energy-Red-50: hsl(357, 83%, 50%);--Energy-Red-55: hsl(357, 83%, 55%);--Energy-Red-60: hsl(357, 83%, 60%);--Energy-Red-65: hsl(357, 83%, 65%);--Energy-Red-70: hsl(357, 83%, 70%);--Energy-Red-75: hsl(357, 83%, 75%);--Energy-Red-80: hsl(357, 83%, 80%);--Energy-Red-85: hsl(357, 83%, 85%);--Energy-Red-90: hsl(357, 83%, 90%);--Energy-Red-95: hsl(357, 83%, 95%);--Energy-Red-Main-54: hsl(357, 83%, 54%);--Cyan-5: hsl(196, 100%, 5%);--Cyan-10: hsl(196, 100%, 10%);--Cyan-15: hsl(196, 100%, 15%);--Cyan-20: hsl(196, 100%, 20%);--Cyan-25: hsl(196, 100%, 25%);--Cyan-30: hsl(196, 100%, 30%);--Cyan-35: hsl(196, 100%, 35%);--Cyan-40: hsl(196, 100%, 40%);--Cyan-45: hsl(196, 100%, 45%);--Cyan-50: hsl(196, 100%, 50%);--Cyan-55: hsl(196, 100%, 55%);--Cyan-60: hsl(196, 100%, 60%);--Cyan-65: hsl(196, 100%, 65%);--Cyan-70: hsl(196, 100%, 70%);--Cyan-75: hsl(196, 100%, 75%);--Cyan-80: hsl(196, 100%, 80%);--Cyan-85: hsl(196, 100%, 85%);--Cyan-90: hsl(196, 100%, 90%);--Cyan-95: hsl(196, 100%, 95%);--Cyan-Main-43: hsl(196, 100%, 43%);--Black: hsl(40 3% 10%);--White: hsl(40 3% 100%);--Light: hsl(40, 3%, 90%);--Default: hsl(40, 3%, 79%);--Medium: hsl(40, 3%, 75%);--Strong: hsl(218, 100%, 28%);--Emphasis: hsl(223, 67%, 18%);--vui-animation-duration-0: 0ms;--vui-animation-duration-100: .13s;--vui-animation-duration-200: .16s;--vui-animation-duration-300: .19s;--vui-animation-duration-400: .22s;--vui-animation-duration-500: .25s;--vui-animation-duration-600: .3s;--vui-animation-duration-700: .35s;--vui-animation-duration-800: .4s;--vui-animation-duration-900: .45s;--vui-animation-duration-1000: .5s;--vui-animation-duration-2000: 1s;--vui-animation-duration-4000: 2s;--vui-animation-ease-in-out: cubic-bezier(.45, 0, .4, 1);--vui-animation-ease-in: cubic-bezier(.5, 0, 1, 1);--vui-animation-ease-out: cubic-bezier(0, 0, .4, 1);--vui-animation-linear: cubic-bezier(0, 0, 1, 1);--vui-elevation-1: 0 6px 23px -10px hsla(223, 67%, 18%, .2);--vui-elevation-2: 0 9px 20px -6px hsla(223, 67%, 18%, .2);--vui-elevation-3: 0 12px 23px -4px hsla(223, 67%, 18%, .2);--vui-elevation-4: 0 15px 23px 0 hsla(223, 67%, 18%, .2);--fluent-depth-0: 0 0 0 0 transparent;--fluent-depth-4: 0 1.6px 3.6px 0 rgba(0, 0, 0, .132), 0 .3px .9px 0 rgba(0, 0, 0, .108);--fluent-depth-8: 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108);--fluent-depth-16: 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108);--fluent-depth-64: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)}.h1{font-size:3.125rem;font-style:normal;font-weight:400;line-height:1.24}@media only screen and (max-width: 992px){.h1{font-size:1.9375rem;line-height:1.5483870967741935}}.h1{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h1){color:var(--White, hsl(40 3% 100%))}.h2{font-size:2rem;font-style:normal;font-weight:400;line-height:1.3125}@media only screen and (max-width: 992px){.h2{font-size:1.75rem;line-height:1.3571428571428572}}.h2{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h2){color:var(--White, hsl(40 3% 100%))}.h3{font-size:1.5rem;font-style:normal;font-weight:400;line-height:1.3333333333333333}@media only screen and (max-width: 992px){.h3{font-size:1.375rem;line-height:1.4545454545454546}}.h3{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h3){color:var(--White, hsl(40 3% 100%))}.h4{font-size:1.25rem;font-style:normal;font-weight:600;line-height:1.2}@media only screen and (max-width: 992px){.h4{font-size:1.125rem;line-height:1.3333333333333333}}.h4{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h4){color:var(--White, hsl(40 3% 100%))}.h5{font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.4444444444444444}@media only screen and (max-width: 992px){.h5{font-size:1rem;line-height:1.375}}.h5{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h5){color:var(--White, hsl(40 3% 100%))}.h6{font-size:1rem;font-style:normal;font-weight:600;line-height:1.375;color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h6){color:var(--White, hsl(40 3% 100%))}.btn{font-weight:500;font-style:normal;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;display:inline-flex}.btn>*{flex-shrink:0}.btn{height:auto;margin:0;outline:none;text-decoration:none;transition:background var(--vui-animation-duration-100) ease-out,border-color var(--vui-animation-duration-100) ease-out,color var(--vui-animation-duration-100) ease-out,box-shadow var(--vui-animation-duration-100) ease-out;white-space:nowrap}.btn:focus-visible,.btn.focus-visible{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: hsl(196, 100%, 43%);--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.btn:disabled{opacity:.5}.btn.btn-xl,.btn-xl{font-size:1.125rem;line-height:1.5555555555555556;gap:.625rem;padding:.625rem 1.25rem}.btn.btn-lg,.btn-lg{font-size:1rem;line-height:1.5;gap:.5rem;padding:.5rem 1rem}.btn.btn-md,.btn-md{font-size:.875rem;line-height:1.4285714285714286;gap:.375rem;padding:.375rem .75rem}.btn.btn-sm,.btn-sm{font-size:.75rem;line-height:1.3333333333333333;gap:.25rem;padding:.25rem .5rem}.btn.btn-primary,.btn-primary{background:var(--Sea-Blue-Main-28, #00348F);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-primary:hover,.btn-primary:hover{background:var(--Sea-Blue-20, #002566)}.btn.btn-primary:active,.btn.btn-primary.active,.btn-primary:active,.btn-primary.active{background:var(--Sea-Blue-35, #0041B3)}:is(.dark .btn.btn-primary),:is(.dark .btn-primary){background:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Dark-Blue-Main-18, #0F214D)}:is(.dark .btn.btn-primary):hover,:is(.dark .btn-primary):hover{background:var(--Digi-Green-70, #66FF96)}:is(.dark .btn.btn-primary):active,:is(.dark .btn.btn-primary).active,:is(.dark .btn-primary):active,:is(.dark .btn-primary).active{background:var(--Digi-Green-85, #B3FFCB)}.btn.btn-secondary,.btn-secondary{background:transparent;border:1px solid var(--Sea-Blue-Main-28, #00348F);color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-secondary:hover,.btn-secondary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-secondary:active,.btn.btn-secondary.active,.btn-secondary:active,.btn-secondary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-secondary),:is(.dark .btn-secondary){border-color:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-secondary):hover,:is(.dark .btn-secondary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-secondary):active,:is(.dark .btn.btn-secondary).active,:is(.dark .btn-secondary):active,:is(.dark .btn-secondary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-tertiary,.btn-tertiary{background:transparent;color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-tertiary:hover,.btn-tertiary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-tertiary:active,.btn.btn-tertiary.active,.btn-tertiary:active,.btn-tertiary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-tertiary),:is(.dark .btn-tertiary){color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-tertiary):hover,:is(.dark .btn-tertiary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-tertiary):active,:is(.dark .btn.btn-tertiary).active,:is(.dark .btn-tertiary):active,:is(.dark .btn-tertiary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-badge,.btn-badge{background:var(--Sky-Blue-95, #E9F7FC);border-radius:9999px;color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-badge:hover,.btn-badge:hover{background:var(--Sky-Blue-90, #D3EEF8)}.btn.btn-badge:active,.btn.btn-badge.active,.btn-badge:active,.btn-badge.active{background:var(--Sky-Blue-85, #BCE6F5)}.btn.btn-badge[data-status=success],.btn-badge[data-status=success]{background:var(--Land-Green-95, #EDF8EC);color:var(--Land-Green-30, #2F7227)}.btn.btn-badge[data-status=success]:hover,.btn-badge[data-status=success]:hover{background:var(--Land-Green-90, #DCF2D9)}.btn.btn-badge[data-status=success]:active,.btn.btn-badge[data-status=success].active,.btn-badge[data-status=success]:active,.btn-badge[data-status=success].active{background:var(--Land-Green-85, #CAEBC6)}.btn.btn-badge[data-status=error],.btn-badge[data-status=error]{background:var(--Energy-Red-95, #FDE8E9);color:var(--Energy-Red-30, #8C0D13)}.btn.btn-badge[data-status=error]:hover,.btn-badge[data-status=error]:hover{background:var(--Energy-Red-90, #FBD0D2)}.btn.btn-badge[data-status=error]:active,.btn.btn-badge[data-status=error].active,.btn-badge[data-status=error]:active,.btn-badge[data-status=error].active{background:var(--Energy-Red-85, #F8B9BC)}.btn.btn-marketplaceCTA,.btn-marketplaceCTA{background:var(--Land-Green-35, #36852E);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-marketplaceCTA:hover,.btn-marketplaceCTA:hover{background:var(--Land-Green-25, #275F21)}.btn.btn-marketplaceCTA:active,.btn.btn-marketplaceCTA.active,.btn-marketplaceCTA:active,.btn-marketplaceCTA.active{background:var(--Land-Green-Main-41, #409C35)}.btn.btn-destructive,.btn-destructive{background:var(--Energy-Red-45, #D2141D);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-destructive:hover,.btn-destructive:hover{background:var(--Energy-Red-35, #A30F17)}.btn.btn-destructive:active,.btn.btn-destructive.active,.btn-destructive:active,.btn-destructive.active{background:var(--Energy-Red-50, #E91620)}.sideMenuItem>.icon{width:24px;height:24px}.input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid var(--Sandstone-60, #9C9A96);border-radius:0;color:#1a1a19;display:block;font-weight:400;font-style:normal;outline:0 solid transparent;width:100%}.input:focus{border:1px solid var(--Cyan-Main-43, #00A1DB);outline:1px solid var(--Cyan-Main-43, #00A1DB)}.input:disabled,.input[aria-disabled=true],fieldset:disabled .input{background:var(--Sandstone-90, #E6E6E5);border-color:var(--Sandstone-90, #E6E6E5)}.input::-moz-placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input::placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input.input-xl,.input-xl{font-size:1rem;line-height:1.625;padding:.4375rem .5rem}.input.input-lg,.input-lg{font-size:1rem;line-height:1.625;padding:.375rem .5rem}.input.input-md,.input-md{font-size:.875rem;line-height:1.5714285714285714;padding:.25rem .5rem}.input.input-sm,.input-sm{font-size:.875rem;line-height:1.5714285714285714;padding:.0625rem .5rem}.input.input-validated,.input.input-validated:focus,.input-validated,.input-validated:focus{border-color:var(--Land-Green-35, #36852E)}.input.input-validated,.input-validated{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M20.8831 4.31025L7.75741 17.436L3.11702 12.7956C2.89736 12.5759 2.54121 12.5759 2.3215 12.7956L1.79121 13.3259C1.57155 13.5455 1.57155 13.9017 1.79121 14.1214L7.35968 19.6898C7.57933 19.9095 7.93549 19.9095 8.15519 19.6898L22.2089 5.63611C22.4286 5.41645 22.4286 5.0603 22.2089 4.84059L21.6786 4.31025C21.4589 4.09059 21.1028 4.09059 20.8831 4.31025Z' fill='var(--Land-Green-35%2c %2336852E)'/%3e%3c/svg%3e");background-repeat:no-repeat}.input.input-error,.input.input-error:focus,.input-error,.input-error:focus{border-color:var(--Energy-Red-45, #D2141D)}.input.input-select,.input-select{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.6018 15.3255L6.16426 9.80359C5.94395 9.58328 5.94395 9.22703 6.16426 9.00671L6.49707 8.6739C6.71738 8.45359 7.07363 8.45359 7.29395 8.6739L12.0002 13.4692L16.7064 8.67859C16.9268 8.45828 17.283 8.45828 17.5033 8.67859L17.8361 9.0114C18.0564 9.23171 18.0564 9.58796 17.8361 9.80828L12.3986 15.3302C12.1783 15.5458 11.8221 15.5458 11.6018 15.3255Z' fill='var(--Sea-Blue-Main-28%2c %2300348F)'/%3e%3c/svg%3e");background-repeat:no-repeat}.avatar{font-weight:500;font-style:normal;align-items:center;background:#e6e6e5;border-radius:9999px;color:#353431;display:inline-flex;justify-content:center;overflow:hidden;text-transform:uppercase}.avatar.avatar-xl,.avatar-xl{font-size:1.125rem;line-height:1.5555555555555556;height:3rem;width:3rem}.avatar.avatar-lg,.avatar-lg{font-size:1rem;line-height:1.5;height:2.5rem;width:2.5rem}.avatar.avatar-md,.avatar-md{font-size:.875rem;line-height:1.4285714285714286;height:2rem;width:2rem}.avatar.avatar-sm,.avatar-sm{font-size:.75rem;line-height:1.3333333333333333;height:1.5rem;width:1.5rem}.avatar.avatar-xxl,.avatar-xxl{font-size:1.125rem;line-height:1.5555555555555556;height:3.5rem;width:3.5rem}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"\`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose :where(ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important}.prose :where(ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0!important}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-neutral{--tw-prose-body: #404040;--tw-prose-headings: #171717;--tw-prose-lead: #525252;--tw-prose-links: #171717;--tw-prose-bold: #171717;--tw-prose-counters: #737373;--tw-prose-bullets: #d4d4d4;--tw-prose-hr: #e5e5e5;--tw-prose-quotes: #171717;--tw-prose-quote-borders: #e5e5e5;--tw-prose-captions: #737373;--tw-prose-kbd: #171717;--tw-prose-kbd-shadows: 23 23 23;--tw-prose-code: #171717;--tw-prose-pre-code: #e5e5e5;--tw-prose-pre-bg: #262626;--tw-prose-th-borders: #d4d4d4;--tw-prose-td-borders: #e5e5e5;--tw-prose-invert-body: #d4d4d4;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #a3a3a3;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #a3a3a3;--tw-prose-invert-bullets: #525252;--tw-prose-invert-hr: #404040;--tw-prose-invert-quotes: #f5f5f5;--tw-prose-invert-quote-borders: #404040;--tw-prose-invert-captions: #a3a3a3;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d4d4d4;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #525252;--tw-prose-invert-td-borders: #404040}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.m-2{margin:.5rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.mb-2{margin-bottom:.5rem!important}.ml-\\[1ch\\]{margin-left:1ch!important}.mt-2{margin-top:.5rem!important}.block{display:block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.table{display:table!important}.grid{display:grid!important}.h-3{height:.75rem!important}.h-full{height:100%!important}.w-3{width:.75rem!important}.w-full{width:100%!important}.min-w-24{min-width:6rem!important}.max-w-lg{max-width:32rem!important}.max-w-none{max-width:none!important}.flex-1{flex:1 1 0%!important}.shrink-0{flex-shrink:0!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite!important}.select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.flex-col{flex-direction:column!important}.justify-end{justify-content:flex-end!important}.gap-2{gap:.5rem!important}.gap-3{gap:.75rem!important}.gap-5{gap:1.25rem!important}.overflow-hidden{overflow:hidden!important}.overflow-x-auto{overflow-x:auto!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-l-4{border-left-width:4px!important}.border-t{border-top-width:1px!important}.border-Energy-Red-45{--tw-border-opacity: 1 !important;border-color:hsl(357 83% 45% / var(--tw-border-opacity, 1))!important}.border-Light{--tw-border-opacity: 1 !important;border-color:hsl(40 3% 90% / var(--tw-border-opacity, 1))!important}.border-t-Light{--tw-border-opacity: 1 !important;border-top-color:hsl(40 3% 90% / var(--tw-border-opacity, 1))!important}.bg-Black{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 10% / var(--tw-bg-opacity, 1))!important}.bg-Energy-Red-95{--tw-bg-opacity: 1 !important;background-color:hsl(357 83% 95% / var(--tw-bg-opacity, 1))!important}.bg-Eucalyptus-85{--tw-bg-opacity: 1 !important;background-color:hsl(178 80% 85% / var(--tw-bg-opacity, 1))!important}.bg-Land-Green-95{--tw-bg-opacity: 1 !important;background-color:hsl(114 49% 95% / var(--tw-bg-opacity, 1))!important}.bg-Lavender-90{--tw-bg-opacity: 1 !important;background-color:hsl(232 58% 90% / var(--tw-bg-opacity, 1))!important}.bg-Sandstone-95{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 95% / var(--tw-bg-opacity, 1))!important}.bg-Sandstone-97{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 97% / var(--tw-bg-opacity, 1))!important}.bg-Sea-Blue-Main-28{--tw-bg-opacity: 1 !important;background-color:hsl(218 100% 28% / var(--tw-bg-opacity, 1))!important}.bg-Sky-Blue-80{--tw-bg-opacity: 1 !important;background-color:hsl(196 74% 80% / var(--tw-bg-opacity, 1))!important}.bg-Sky-Blue-Main-77{--tw-bg-opacity: 1 !important;background-color:hsl(196 74% 77% / var(--tw-bg-opacity, 1))!important}.bg-Sunflower-85{--tw-bg-opacity: 1 !important;background-color:hsl(55 100% 85% / var(--tw-bg-opacity, 1))!important}.bg-Terracotta-85{--tw-bg-opacity: 1 !important;background-color:hsl(34 100% 85% / var(--tw-bg-opacity, 1))!important}.p-2{padding:.5rem!important}.p-3{padding:.75rem!important}.p-6{padding:1.5rem!important}.pb-3{padding-bottom:.75rem!important}.pr-3{padding-right:.75rem!important}.pt-3{padding-top:.75rem!important}.text-left{text-align:left!important}.text-base{font-size:1rem!important;line-height:1.625!important}.text-sm{font-size:.75rem!important;line-height:1.5!important}.font-medium{font-weight:500!important}.uppercase{text-transform:uppercase!important}.leading-5{line-height:1.25rem!important}.text-Black{--tw-text-opacity: 1 !important;color:hsl(40 3% 10% / var(--tw-text-opacity, 1))!important}.text-Energy-Red-45{--tw-text-opacity: 1 !important;color:hsl(357 83% 45% / var(--tw-text-opacity, 1))!important}.text-Eucalyptus-20{--tw-text-opacity: 1 !important;color:hsl(178 80% 20% / var(--tw-text-opacity, 1))!important}.text-Land-Green-30{--tw-text-opacity: 1 !important;color:hsl(114 49% 30% / var(--tw-text-opacity, 1))!important}.text-Lavender-50{--tw-text-opacity: 1 !important;color:hsl(232 58% 50% / var(--tw-text-opacity, 1))!important}.text-Sea-Blue-Main-28{--tw-text-opacity: 1 !important;color:hsl(218 100% 28% / var(--tw-text-opacity, 1))!important}.text-Sky-Blue-95{--tw-text-opacity: 1 !important;color:hsl(196 74% 95% / var(--tw-text-opacity, 1))!important}.text-Sunflower-20{--tw-text-opacity: 1 !important;color:hsl(55 100% 20% / var(--tw-text-opacity, 1))!important}.text-Terracotta-20{--tw-text-opacity: 1 !important;color:hsl(34 100% 20% / var(--tw-text-opacity, 1))!important}.text-Terracotta-30{--tw-text-opacity: 1 !important;color:hsl(34 100% 30% / var(--tw-text-opacity, 1))!important}.text-White{--tw-text-opacity: 1 !important;color:hsl(40 3% 100% / var(--tw-text-opacity, 1))!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-300{transition-duration:.3s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.title{font-size:4rem!important;font-style:normal!important;font-weight:400!important;line-height:1.15625!important}@media only screen and (max-width: 992px){.title{font-size:2.625rem!important;line-height:1.2380952380952381!important}}.title{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))!important}:is(.dark .title){color:var(--White, hsl(40 3% 100%))!important}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .2s cubic-bezier(.4,0,1,1)}@keyframes pulse{0%{transform:scale(.75);opacity:.6}50%{transform:scale(1.25);opacity:1}to{transform:scale(.75);opacity:.6}}.group[data-expanded=true] .group-data-\\[expanded\\=true\\]\\:-rotate-180{--tw-rotate: -180deg !important;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}`,el="pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#383a42;background:#fafafa}.hljs-comment,.hljs-quote{color:#a0a1a7;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#a626a4}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e45649}.hljs-literal{color:#0184bb}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#50a14f}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#986801}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#4078f2}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#c18401}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}",tl='@font-face{font-family:KaTeX_AMS;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.15"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;display:inline-block;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathsfit,.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{display:inline-flex;flex-direction:column;align-items:baseline}.katex .hbox{display:inline-flex;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline,.katex .hdashline,.katex .rule{min-height:1px}.katex .mspace{display:inline-block}.katex .llap,.katex .rlap,.katex .clap{width:0;position:relative}.katex .llap>.inner,.katex .rlap>.inner,.katex .clap>.inner{position:absolute}.katex .llap>.fix,.katex .rlap>.fix,.katex .clap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .rlap>.inner,.katex .clap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:solid 0;position:relative}.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .sizing.reset-size1.size1,.katex .fontsize-ensurer.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2,.katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3,.katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4,.katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5,.katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6,.katex .fontsize-ensurer.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7,.katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8,.katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9,.katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10,.katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11,.katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1,.katex .fontsize-ensurer.reset-size2.size1{font-size:.8333333333em}.katex .sizing.reset-size2.size2,.katex .fontsize-ensurer.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3,.katex .fontsize-ensurer.reset-size2.size3{font-size:1.1666666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.3333333333em}.katex .sizing.reset-size2.size5,.katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6,.katex .fontsize-ensurer.reset-size2.size6{font-size:1.6666666667em}.katex .sizing.reset-size2.size7,.katex .fontsize-ensurer.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8,.katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9,.katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10,.katex .fontsize-ensurer.reset-size2.size10{font-size:3.4566666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.1466666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.7142857143em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.8571428571em}.katex .sizing.reset-size3.size3,.katex .fontsize-ensurer.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4,.katex .fontsize-ensurer.reset-size3.size4{font-size:1.1428571429em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.2857142857em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.4285714286em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.7142857143em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.0571428571em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.4685714286em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.9628571429em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.5542857143em}.katex .sizing.reset-size4.size1,.katex .fontsize-ensurer.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2,.katex .fontsize-ensurer.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3,.katex .fontsize-ensurer.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4,.katex .fontsize-ensurer.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5,.katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6,.katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7,.katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8,.katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9,.katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10,.katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11,.katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1,.katex .fontsize-ensurer.reset-size5.size1{font-size:.5555555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.6666666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.7777777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.8888888889em}.katex .sizing.reset-size5.size5,.katex .fontsize-ensurer.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6,.katex .fontsize-ensurer.reset-size5.size6{font-size:1.1111111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.3333333333em}.katex .sizing.reset-size5.size8,.katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9,.katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10,.katex .fontsize-ensurer.reset-size5.size10{font-size:2.3044444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.7644444444em}.katex .sizing.reset-size6.size1,.katex .fontsize-ensurer.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2,.katex .fontsize-ensurer.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3,.katex .fontsize-ensurer.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4,.katex .fontsize-ensurer.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5,.katex .fontsize-ensurer.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6,.katex .fontsize-ensurer.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7,.katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8,.katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9,.katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10,.katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11,.katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1,.katex .fontsize-ensurer.reset-size7.size1{font-size:.4166666667em}.katex .sizing.reset-size7.size2,.katex .fontsize-ensurer.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3,.katex .fontsize-ensurer.reset-size7.size3{font-size:.5833333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.6666666667em}.katex .sizing.reset-size7.size5,.katex .fontsize-ensurer.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6,.katex .fontsize-ensurer.reset-size7.size6{font-size:.8333333333em}.katex .sizing.reset-size7.size7,.katex .fontsize-ensurer.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8,.katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9,.katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10,.katex .fontsize-ensurer.reset-size7.size10{font-size:1.7283333333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.0733333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.3472222222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.4166666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.4861111111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.5555555556em}.katex .sizing.reset-size8.size5,.katex .fontsize-ensurer.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6,.katex .fontsize-ensurer.reset-size8.size6{font-size:.6944444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.8333333333em}.katex .sizing.reset-size8.size8,.katex .fontsize-ensurer.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9,.katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10,.katex .fontsize-ensurer.reset-size8.size10{font-size:1.4402777778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.7277777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.2893518519em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.3472222222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.4050925926em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.462962963em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.5208333333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.6944444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.8333333333em}.katex .sizing.reset-size9.size9,.katex .fontsize-ensurer.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10,.katex .fontsize-ensurer.reset-size9.size10{font-size:1.2002314815em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.4398148148em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.2410800386em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.2892960463em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.337512054em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.3857280617em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.4339440694em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.4821600771em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.5785920926em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.6943105111em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.8331726133em}.katex .sizing.reset-size10.size10,.katex .fontsize-ensurer.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11,.katex .fontsize-ensurer.reset-size10.size11{font-size:1.1996142719em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.2009646302em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.2411575563em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.2813504823em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.3215434084em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.3617363344em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.4019292605em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.4823151125em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.578778135em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.6945337621em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.8336012862em}.katex .sizing.reset-size11.size11,.katex .fontsize-ensurer.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:before,.katex .stretchy:after{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .x-arrow,.katex .mover,.katex .munder{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{counter-increment:katexEqnNo;content:"(" counter(katexEqnNo) ")"}.katex .mml-eqn-num:before{counter-increment:mmlEqnNo;content:"(" counter(mmlEqnNo) ")"}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + .3em);text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}:host{counter-reset:katexEqnNo mmlEqnNo}';class Ma extends Error{constructor(){super("Max input limit reached.")}}var gn=(t=>(t[t.Messages=0]="Messages",t[t.OperationResult=1]="OperationResult",t[t.OperationError=2]="OperationError",t))(gn||{}),Be=(t=>(t[t.MessageBegin=0]="MessageBegin",t[t.MessageAppend=1]="MessageAppend",t[t.MessageToolCallUpdate=2]="MessageToolCallUpdate",t[t.MessageToolCallResult=3]="MessageToolCallResult",t[t.MessageToolCallError=4]="MessageToolCallError",t[t.MessageExecuteLlmFunctionsBegin=5]="MessageExecuteLlmFunctionsBegin",t[t.MessageExecuteLlmFunctionsEnd=6]="MessageExecuteLlmFunctionsEnd",t[t.MessageInvokeClientFunction=7]="MessageInvokeClientFunction",t[t.MessageInvokeClientFunctionResult=8]="MessageInvokeClientFunctionResult",t[t.MessageInvokeClientFunctionError=9]="MessageInvokeClientFunctionError",t[t.MessageSubConversationBegin=10]="MessageSubConversationBegin",t[t.ConversationEnd=11]="ConversationEnd",t[t.ConversationError=12]="ConversationError",t))(Be||{});class bn extends Error{constructor(e="Operation was cancelled."){super(e)}}class Fr{constructor(){W(this,"isCancellationRequested",!1);W(this,"listeners",new Set)}addListener(e){this.isCancellationRequested?e():this.listeners.add(e)}cancel(){if(!this.isCancellationRequested){this.isCancellationRequested=!0;for(const e of this.listeners)e();this.listeners.clear()}}removeListener(e){this.listeners.delete(e)}throwIfCancellationRequested(){if(this.isCancellationRequested)throw new bn}}class rl{constructor(){W(this,"_queue",[]);W(this,"_waitToReadDeferred");W(this,"_isCompleted",!1)}resolveWaitToReadDeferred(e){const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.resolve(e))}complete(){this._isCompleted||(this._isCompleted=!0,this.resolveWaitToReadDeferred(!!this._queue.length))}completeWithError(e){if(this._isCompleted)return;this._isCompleted=!0;const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.reject(e))}tryWrite(e){return this._isCompleted?!1:(this._queue.push(e),this.resolveWaitToReadDeferred(!0),!0)}waitToReadAsync(e){if(e.isCancellationRequested)return Promise.reject(new bn);if(this._waitToReadDeferred)return Promise.reject(new Error("Multiple readers are not supported."));if(this._queue.length)return Promise.resolve(!0);if(this._isCompleted)return Promise.resolve(!1);const r={};r.cancellationTokenListener=()=>{this._waitToReadDeferred===r&&(this._waitToReadDeferred=null,r.reject(new bn))},r.cancellationToken=e,e.addListener(r.cancellationTokenListener);const n=new Promise((i,a)=>{r.resolve=i,r.reject=a});return this._waitToReadDeferred=r,n}read(){const e=this._queue;return this._queue=[],e}}class nl extends rl{constructor(){super(...arguments);W(this,"_reader");W(this,"_buffer",new Uint8Array(0));W(this,"_bufferOffset",0);W(this,"_abortController");W(this,"_cancellationToken");W(this,"_textDecoder",new TextDecoder)}async startAsync(r,n,i){this._abortController=new AbortController,(this._cancellationToken=new Fr).addListener(()=>this._abortController.abort());const a=await r(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:gn.Messages,messages:i}),signal:this._abortController.signal});if(a.status===429)throw new Ma;if(!a.ok)throw new Error(`Failed to start chat completion SSE: ${a.status} ${a.statusText}`);this._reader=a.body.getReader(),this.readMessagesAsync()}stop(){this._cancellationToken.cancel()}get wasStopped(){return this._cancellationToken.isCancellationRequested}async readBytesAsync(r){if(this._buffer.length-this._bufferOffset>=r){const i=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,i}for(;this._buffer.length-this._bufferOffset<r;){const{done:i,value:a}=await this._reader.read();if(i){const s=this._buffer.subarray(this._bufferOffset);return this._buffer=new Uint8Array(0),this._bufferOffset=0,s}this._buffer=il(this._buffer,a,this._bufferOffset),this._bufferOffset=0}const n=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,n}async readLittleEndianInt32Async(){const r=await this.readBytesAsync(4),n=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength);return new DataView(n).getInt32(0,!0)}async readUtf8StringAsync(){const r=await this.readLittleEndianInt32Async();if(r===-1)return null;const n=await this.readBytesAsync(r);return this._textDecoder.decode(n)}async readMessageAsync(){const r=await this.readBytesAsync(1);if(r.length==0)return null;const n=r[0];switch(n){case Be.MessageBegin:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync(),h=await this.readUtf8StringAsync();return{type:n,conversationId:i,messageAuthorRole:a,messageAuthorId:s,messageAuthorPictureUrl:o,messageAuthorDisplayName:u,messageAuthorEmail:h}}case Be.MessageAppend:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,conversationId:i,appendMessageMarkdown:a}}case Be.MessageToolCallUpdate:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readLittleEndianInt32Async(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,toolCallUpdateIndex:s,toolCallUpdateName:o,toolCallUpdateArguments:u}}case Be.MessageInvokeClientFunction:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,operationId:s,clientFunctionName:o,argumentsAsJSON:u}}case Be.MessageInvokeClientFunctionResult:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,operationId:i,result:a}}case Be.MessageInvokeClientFunctionError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,operationId:i,error:a}}case Be.MessageSubConversationBegin:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),u=await this.readUtf8StringAsync(),h=await this.readUtf8StringAsync(),d=await this.readUtf8StringAsync();return{type:n,conversationId:i,subConversationId:a,messageAuthorId:s,messageAuthorPictureUrl:o,messageAuthorDisplayName:u,messageAuthorEmail:h,subConversationTitle:d}}case Be.ConversationEnd:{const i=await this.readUtf8StringAsync();return{type:n,conversationId:i}}case Be.ConversationError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,conversationId:i,error:a,stackTrace:s}}case Be.MessageExecuteLlmFunctionsBegin:case Be.MessageExecuteLlmFunctionsEnd:{const i=await this.readUtf8StringAsync();return{type:n,conversationId:i}}case Be.MessageToolCallResult:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,result:s}}case Be.MessageToolCallError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,conversationId:i,llmFunctionId:a,error:s}}default:throw new Error(`Unexpected message type: ${n}`)}}async readMessagesAsync(){try{for(;;){const r=await this.readMessageAsync();if(!r){this.complete();return}this.tryWrite(r)}}catch(r){this.completeWithError(r)}}waitToReadAsync(){return super.waitToReadAsync(this._cancellationToken)}}function il(t,e,r){r>0&&t.copyWithin(0,r);let n=new Uint8Array(t.length-r+e.length);return n.set(t.subarray(0,t.length-r),0),n.set(e,t.length-r),n}var al=Object.defineProperty,Se=(t,e)=>al(t,"name",{value:e,configurable:!0}),Ca=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')});function _a(t){return!isNaN(parseFloat(t))&&isFinite(t)}Se(_a,"_isNumber");function or(t){return t.charAt(0).toUpperCase()+t.substring(1)}Se(or,"_capitalize");function vn(t){return function(){return this[t]}}Se(vn,"_getter");var Pr=["isConstructor","isEval","isNative","isToplevel"],qr=["columnNumber","lineNumber"],Hr=["fileName","functionName","source"],sl=["args"],ol=["evalOrigin"],yn=Pr.concat(qr,Hr,sl,ol);function gt(t){if(t)for(var e=0;e<yn.length;e++)t[yn[e]]!==void 0&&this["set"+or(yn[e])](t[yn[e]])}for(Se(gt,"StackFrame"),gt.prototype={getArgs:function(){return this.args},setArgs:function(t){if(Object.prototype.toString.call(t)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=t},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(t){if(t instanceof gt)this.evalOrigin=t;else if(t instanceof Object)this.evalOrigin=new gt(t);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var t=this.getFileName()||"",e=this.getLineNumber()||"",r=this.getColumnNumber()||"",n=this.getFunctionName()||"";return this.getIsEval()?t?"[eval] ("+t+":"+e+":"+r+")":"[eval]:"+e+":"+r:n?n+" ("+t+":"+e+":"+r+")":t+":"+e+":"+r}},gt.fromString=Se(function(t){var e=t.indexOf("("),r=t.lastIndexOf(")"),n=t.substring(0,e),i=t.substring(e+1,r).split(","),a=t.substring(r+1);if(a.indexOf("@")===0)var s=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(a,""),o=s[1],u=s[2],h=s[3];return new gt({functionName:n,args:i||void 0,fileName:o,lineNumber:u||void 0,columnNumber:h||void 0})},"StackFrame$$fromString"),Er=0;Er<Pr.length;Er++)gt.prototype["get"+or(Pr[Er])]=vn(Pr[Er]),gt.prototype["set"+or(Pr[Er])]=function(t){return function(e){this[t]=!!e}}(Pr[Er]);var Er;for(Tr=0;Tr<qr.length;Tr++)gt.prototype["get"+or(qr[Tr])]=vn(qr[Tr]),gt.prototype["set"+or(qr[Tr])]=function(t){return function(e){if(!_a(e))throw new TypeError(t+" must be a Number");this[t]=Number(e)}}(qr[Tr]);var Tr;for(Ar=0;Ar<Hr.length;Ar++)gt.prototype["get"+or(Hr[Ar])]=vn(Hr[Ar]),gt.prototype["set"+or(Hr[Ar])]=function(t){return function(e){this[t]=String(e)}}(Hr[Ar]);var Ar,oi=gt;function Na(){var t=/^\s*at .*(\S+:\d+|\(native\))/m,e=/^(eval@)?(\[native code])?$/;return{parse:Se(function(r){if(r.stack&&r.stack.match(t))return this.parseV8OrIE(r);if(r.stack)return this.parseFFOrSafari(r);throw new Error("Cannot parse given Error object")},"ErrorStackParser$$parse"),extractLocation:Se(function(r){if(r.indexOf(":")===-1)return[r];var n=/(.+?)(?::(\d+))?(?::(\d+))?$/,i=n.exec(r.replace(/[()]/g,""));return[i[1],i[2]||void 0,i[3]||void 0]},"ErrorStackParser$$extractLocation"),parseV8OrIE:Se(function(r){var n=r.stack.split(`
2
+ `).filter(function(i){return!!i.match(t)},this);return n.map(function(i){i.indexOf("(eval ")>-1&&(i=i.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var a=i.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),s=a.match(/ (\(.+\)$)/);a=s?a.replace(s[0],""):a;var o=this.extractLocation(s?s[1]:a),u=s&&a||void 0,h=["eval","<anonymous>"].indexOf(o[0])>-1?void 0:o[0];return new oi({functionName:u,fileName:h,lineNumber:o[1],columnNumber:o[2],source:i})},this)},"ErrorStackParser$$parseV8OrIE"),parseFFOrSafari:Se(function(r){var n=r.stack.split(`
3
+ `).filter(function(i){return!i.match(e)},this);return n.map(function(i){if(i.indexOf(" > eval")>-1&&(i=i.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),i.indexOf("@")===-1&&i.indexOf(":")===-1)return new oi({functionName:i});var a=/((.*".+"[^@]*)?[^@]*)(?:@)/,s=i.match(a),o=s&&s[1]?s[1]:void 0,u=this.extractLocation(i.replace(a,""));return new oi({functionName:o,fileName:u[0],lineNumber:u[1],columnNumber:u[2],source:i})},this)},"ErrorStackParser$$parseFFOrSafari")}}Se(Na,"ErrorStackParser");var ll=new Na,ul=ll,It=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string"&&!process.browser,Ba=It&&typeof module<"u"&&typeof module.exports<"u"&&typeof Ca<"u"&&typeof __dirname<"u",cl=It&&!Ba,hl=typeof Deno<"u",Ra=!It&&!hl,dl=Ra&&typeof window=="object"&&typeof document=="object"&&typeof document.createElement=="function"&&"sessionStorage"in window&&typeof importScripts!="function",ml=Ra&&typeof importScripts=="function"&&typeof self=="object";typeof navigator=="object"&&typeof navigator.userAgent=="string"&&navigator.userAgent.indexOf("Chrome")==-1&&navigator.userAgent.indexOf("Safari")>-1;var Ia,li,Oa,Da,ui;async function ci(){if(!It||(Ia=(await Promise.resolve().then(()=>Gt)).default,Da=await Promise.resolve().then(()=>Gt),ui=await Promise.resolve().then(()=>Gt),Oa=(await Promise.resolve().then(()=>Gt)).default,li=await Promise.resolve().then(()=>Gt),di=li.sep,typeof Ca<"u"))return;let t=Da,e=await Promise.resolve().then(()=>Gt),r=await Promise.resolve().then(()=>Gt),n=await Promise.resolve().then(()=>Gt),i={fs:t,crypto:e,ws:r,child_process:n};globalThis.require=function(a){return i[a]}}Se(ci,"initNodeModules");function La(t,e){return li.resolve(e||".",t)}Se(La,"node_resolvePath");function Fa(t,e){return e===void 0&&(e=location),new URL(t,e).toString()}Se(Fa,"browser_resolvePath");var hi;It?hi=La:hi=Fa;var di;It||(di="/");function Pa(t,e){return t.startsWith("file://")&&(t=t.slice(7)),t.includes("://")?{response:fetch(t)}:{binary:ui.readFile(t).then(r=>new Uint8Array(r.buffer,r.byteOffset,r.byteLength))}}Se(Pa,"node_getBinaryResponse");function qa(t,e){let r=new URL(t,location);return{response:fetch(r,e?{integrity:e}:{})}}Se(qa,"browser_getBinaryResponse");var wn;It?wn=Pa:wn=qa;async function Ha(t,e){let{response:r,binary:n}=wn(t,e);if(n)return n;let i=await r;if(!i.ok)throw new Error(`Failed to load '${t}': request failed.`);return new Uint8Array(await i.arrayBuffer())}Se(Ha,"loadBinaryFile");var xn;if(dl)xn=Se(async t=>await import(t),"loadScript");else if(ml)xn=Se(async t=>{try{globalThis.importScripts(t)}catch(e){if(e instanceof TypeError)await import(t);else throw e}},"loadScript");else if(It)xn=Ua;else throw new Error("Cannot determine runtime environment");async function Ua(t){t.startsWith("file://")&&(t=t.slice(7)),t.includes("://")?Oa.runInThisContext(await(await fetch(t)).text()):await import(Ia.pathToFileURL(t).href)}Se(Ua,"nodeLoadScript");async function Ga(t){if(It){await ci();let e=await ui.readFile(t,{encoding:"utf8"});return JSON.parse(e)}else return await(await fetch(t)).json()}Se(Ga,"loadLockFile");async function $a(){if(Ba)return __dirname;let t;try{throw new Error}catch(n){t=n}let e=ul.parse(t)[0].fileName;if(It&&!e.startsWith("file://")&&(e=`file://${e}`),cl){let n=await Promise.resolve().then(()=>Gt);return(await Promise.resolve().then(()=>Gt)).fileURLToPath(n.dirname(e))}let r=e.lastIndexOf(di);if(r===-1)throw new Error("Could not extract indexURL path from pyodide module location");return e.slice(0,r)}Se($a,"calculateDirname");function Wa(t){let e=t.FS,r=t.FS.filesystems.MEMFS,n=t.PATH,i={DIR_MODE:16895,FILE_MODE:33279,mount:function(a){if(!a.opts.fileSystemHandle)throw new Error("opts.fileSystemHandle is required");return r.mount.apply(null,arguments)},syncfs:async(a,s,o)=>{try{let u=i.getLocalSet(a),h=await i.getRemoteSet(a),d=s?h:u,f=s?u:h;await i.reconcile(a,d,f),o(null)}catch(u){o(u)}},getLocalSet:a=>{let s=Object.create(null);function o(d){return d!=="."&&d!==".."}Se(o,"isRealDir");function u(d){return f=>n.join2(d,f)}Se(u,"toAbsolute");let h=e.readdir(a.mountpoint).filter(o).map(u(a.mountpoint));for(;h.length;){let d=h.pop(),f=e.stat(d);e.isDir(f.mode)&&h.push.apply(h,e.readdir(d).filter(o).map(u(d))),s[d]={timestamp:f.mtime,mode:f.mode}}return{type:"local",entries:s}},getRemoteSet:async a=>{let s=Object.create(null),o=await pl(a.opts.fileSystemHandle);for(let[u,h]of o)u!=="."&&(s[n.join2(a.mountpoint,u)]={timestamp:h.kind==="file"?(await h.getFile()).lastModifiedDate:new Date,mode:h.kind==="file"?i.FILE_MODE:i.DIR_MODE});return{type:"remote",entries:s,handles:o}},loadLocalEntry:a=>{let s=e.lookupPath(a).node,o=e.stat(a);if(e.isDir(o.mode))return{timestamp:o.mtime,mode:o.mode};if(e.isFile(o.mode))return s.contents=r.getFileDataAsTypedArray(s),{timestamp:o.mtime,mode:o.mode,contents:s.contents};throw new Error("node type not supported")},storeLocalEntry:(a,s)=>{if(e.isDir(s.mode))e.mkdirTree(a,s.mode);else if(e.isFile(s.mode))e.writeFile(a,s.contents,{canOwn:!0});else throw new Error("node type not supported");e.chmod(a,s.mode),e.utime(a,s.timestamp,s.timestamp)},removeLocalEntry:a=>{var s=e.stat(a);e.isDir(s.mode)?e.rmdir(a):e.isFile(s.mode)&&e.unlink(a)},loadRemoteEntry:async a=>{if(a.kind==="file"){let s=await a.getFile();return{contents:new Uint8Array(await s.arrayBuffer()),mode:i.FILE_MODE,timestamp:s.lastModifiedDate}}else{if(a.kind==="directory")return{mode:i.DIR_MODE,timestamp:new Date};throw new Error("unknown kind: "+a.kind)}},storeRemoteEntry:async(a,s,o)=>{let u=a.get(n.dirname(s)),h=e.isFile(o.mode)?await u.getFileHandle(n.basename(s),{create:!0}):await u.getDirectoryHandle(n.basename(s),{create:!0});if(h.kind==="file"){let d=await h.createWritable();await d.write(o.contents),await d.close()}a.set(s,h)},removeRemoteEntry:async(a,s)=>{await a.get(n.dirname(s)).removeEntry(n.basename(s)),a.delete(s)},reconcile:async(a,s,o)=>{let u=0,h=[];Object.keys(s.entries).forEach(function(b){let p=s.entries[b],z=o.entries[b];(!z||e.isFile(p.mode)&&p.timestamp.getTime()>z.timestamp.getTime())&&(h.push(b),u++)}),h.sort();let d=[];if(Object.keys(o.entries).forEach(function(b){s.entries[b]||(d.push(b),u++)}),d.sort().reverse(),!u)return;let f=s.type==="remote"?s.handles:o.handles;for(let b of h){let p=n.normalize(b.replace(a.mountpoint,"/")).substring(1);if(o.type==="local"){let z=f.get(p),E=await i.loadRemoteEntry(z);i.storeLocalEntry(b,E)}else{let z=i.loadLocalEntry(b);await i.storeRemoteEntry(f,p,z)}}for(let b of d)if(o.type==="local")i.removeLocalEntry(b);else{let p=n.normalize(b.replace(a.mountpoint,"/")).substring(1);await i.removeRemoteEntry(f,p)}}};t.FS.filesystems.NATIVEFS_ASYNC=i}Se(Wa,"initializeNativeFS");var pl=Se(async t=>{let e=[];async function r(i){for await(let a of i.values())e.push(a),a.kind==="directory"&&await r(a)}Se(r,"collect"),await r(t);let n=new Map;n.set(".",t);for(let i of e){let a=(await t.resolve(i)).join("/");n.set(a,i)}return n},"getFsHandles");function ja(t){let e={noImageDecoding:!0,noAudioDecoding:!0,noWasmDecoding:!1,preRun:Za(t),quit(r,n){throw e.exited={status:r,toThrow:n},n},print:t.stdout,printErr:t.stderr,arguments:t.args,API:{config:t},locateFile:r=>t.indexURL+r,instantiateWasm:Ja(t.indexURL)};return e}Se(ja,"createSettings");function Va(t){return function(e){let r="/";try{e.FS.mkdirTree(t)}catch(n){console.error(`Error occurred while making a home directory '${t}':`),console.error(n),console.error(`Using '${r}' for a home directory instead`),t=r}e.FS.chdir(t)}}Se(Va,"createHomeDirectory");function Xa(t){return function(e){Object.assign(e.ENV,t)}}Se(Xa,"setEnvironment");function Ka(t){return e=>{for(let r of t)e.FS.mkdirTree(r),e.FS.mount(e.FS.filesystems.NODEFS,{root:r},r)}}Se(Ka,"mountLocalDirectories");function Ya(t){let e=Ha(t);return r=>{let n=r._py_version_major(),i=r._py_version_minor();r.FS.mkdirTree("/lib"),r.FS.mkdirTree(`/lib/python${n}.${i}/site-packages`),r.addRunDependency("install-stdlib"),e.then(a=>{r.FS.writeFile(`/lib/python${n}${i}.zip`,a)}).catch(a=>{console.error("Error occurred while installing the standard library:"),console.error(a)}).finally(()=>{r.removeRunDependency("install-stdlib")})}}Se(Ya,"installStdlib");function Za(t){let e;return t.stdLibURL!=null?e=t.stdLibURL:e=t.indexURL+"python_stdlib.zip",[Ya(e),Va(t.env.HOME),Xa(t.env),Ka(t._node_mounts),Wa]}Se(Za,"getFileSystemInitializationFuncs");function Ja(t){let{binary:e,response:r}=wn(t+"pyodide.asm.wasm");return function(n,i){return async function(){try{let a;r?a=await WebAssembly.instantiateStreaming(r,n):a=await WebAssembly.instantiate(await e,n);let{instance:s,module:o}=a;typeof WasmOffsetConverter<"u"&&(wasmOffsetConverter=new WasmOffsetConverter(wasmBinary,o)),i(s,o)}catch(a){console.warn("wasm instantiation failed!"),console.warn(a)}}(),{}}}Se(Ja,"getInstantiateWasmFunc");var Qa="0.26.4";async function e0(t={}){var e,r;await ci();let n=t.indexURL||await $a();n=hi(n),n.endsWith("/")||(n+="/"),t.indexURL=n;let i={fullStdLib:!1,jsglobals:globalThis,stdin:globalThis.prompt?globalThis.prompt:void 0,lockFileURL:n+"pyodide-lock.json",args:[],_node_mounts:[],env:{},packageCacheDir:n,packages:[],enableRunUntilComplete:!1,checkAPIVersion:!0},a=Object.assign(i,t);(e=a.env).HOME??(e.HOME="/home/pyodide"),(r=a.env).PYTHONINSPECT??(r.PYTHONINSPECT="1");let s=ja(a),o=s.API;if(o.lockFilePromise=Ga(a.lockFileURL),typeof _createPyodideModule!="function"){let b=`${a.indexURL}pyodide.asm.js`;await xn(b)}let u;if(t._loadSnapshot){let b=await t._loadSnapshot;ArrayBuffer.isView(b)?u=b:u=new Uint8Array(b),s.noInitialRun=!0,s.INITIAL_MEMORY=u.length}let h=await _createPyodideModule(s);if(s.exited)throw s.exited.toThrow;if(t.pyproxyToStringRepr&&o.setPyProxyToStringMethod(!0),o.version!==Qa&&a.checkAPIVersion)throw new Error(`Pyodide version does not match: '${Qa}' <==> '${o.version}'. If you updated the Pyodide version, make sure you also updated the 'indexURL' parameter passed to loadPyodide.`);h.locateFile=b=>{throw new Error("Didn't expect to load any more file_packager files!")};let d;u&&(d=o.restoreSnapshot(u));let f=o.finalizeBootstrap(d);return o.sys.path.insert(0,o.config.env.HOME),f.version.includes("dev")||o.setCdnUrl(`https://cdn.jsdelivr.net/pyodide/v${f.version}/full/`),o._pyodide.set_excepthook(),await o.packageIndexReady,o.initializeStreams(a.stdin,a.stdout,a.stderr),f}Se(e0,"loadPyodide");var Ze=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global||{},st={searchParams:"URLSearchParams"in Ze,iterable:"Symbol"in Ze&&"iterator"in Symbol,blob:"FileReader"in Ze&&"Blob"in Ze&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in Ze,arrayBuffer:"ArrayBuffer"in Ze};function fl(t){return t&&DataView.prototype.isPrototypeOf(t)}if(st.arrayBuffer)var gl=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],bl=ArrayBuffer.isView||function(t){return t&&gl.indexOf(Object.prototype.toString.call(t))>-1};function Ur(t){if(typeof t!="string"&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||t==="")throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function mi(t){return typeof t!="string"&&(t=String(t)),t}function pi(t){var e={next:function(){var r=t.shift();return{done:r===void 0,value:r}}};return st.iterable&&(e[Symbol.iterator]=function(){return e}),e}function Ve(t){this.map={},t instanceof Ve?t.forEach(function(e,r){this.append(r,e)},this):Array.isArray(t)?t.forEach(function(e){if(e.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}Ve.prototype.append=function(t,e){t=Ur(t),e=mi(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},Ve.prototype.delete=function(t){delete this.map[Ur(t)]},Ve.prototype.get=function(t){return t=Ur(t),this.has(t)?this.map[t]:null},Ve.prototype.has=function(t){return this.map.hasOwnProperty(Ur(t))},Ve.prototype.set=function(t,e){this.map[Ur(t)]=mi(e)},Ve.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},Ve.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),pi(t)},Ve.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),pi(t)},Ve.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),pi(t)},st.iterable&&(Ve.prototype[Symbol.iterator]=Ve.prototype.entries);function fi(t){if(!t._noBody){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}}function t0(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function vl(t){var e=new FileReader,r=t0(e);return e.readAsArrayBuffer(t),r}function yl(t){var e=new FileReader,r=t0(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),i=n?n[1]:"utf-8";return e.readAsText(t,i),r}function wl(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}function r0(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function n0(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?typeof t=="string"?this._bodyText=t:st.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:st.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:st.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():st.arrayBuffer&&st.blob&&fl(t)?(this._bodyArrayBuffer=r0(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):st.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||bl(t))?this._bodyArrayBuffer=r0(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof t=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):st.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},st.blob&&(this.blob=function(){var t=fi(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=fi(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(st.blob)return this.blob().then(vl);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var t=fi(this);if(t)return t;if(this._bodyBlob)return yl(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(wl(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},st.formData&&(this.formData=function(){return this.text().then(Sl)}),this.json=function(){return this.text().then(JSON.parse)},this}var xl=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function kl(t){var e=t.toUpperCase();return xl.indexOf(e)>-1?e:t}function Mr(t,e){if(!(this instanceof Mr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{};var r=e.body;if(t instanceof Mr){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new Ve(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,!r&&t._bodyInit!=null&&(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",(e.headers||!this.headers)&&(this.headers=new Ve(e.headers)),this.method=kl(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in Ze){var a=new AbortController;return a.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(e.cache==="no-store"||e.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Mr.prototype.clone=function(){return new Mr(this,{body:this._bodyInit})};function Sl(t){var e=new FormData;return t.trim().split("&").forEach(function(r){if(r){var n=r.split("="),i=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(a))}}),e}function zl(t){var e=new Ve,r=t.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(`
4
+ `)===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),a=i.shift().trim();if(a){var s=i.join(":").trim();try{e.append(a,s)}catch(o){console.warn("Response "+o.message)}}}),e}n0.call(Mr.prototype);function Ot(t,e){if(!(this instanceof Ot))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=e.status===void 0?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText===void 0?"":""+e.statusText,this.headers=new Ve(e.headers),this.url=e.url||"",this._initBody(t)}n0.call(Ot.prototype),Ot.prototype.clone=function(){return new Ot(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ve(this.headers),url:this.url})},Ot.error=function(){var t=new Ot(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var El=[301,302,303,307,308];Ot.redirect=function(t,e){if(El.indexOf(e)===-1)throw new RangeError("Invalid status code");return new Ot(null,{status:e,headers:{location:t}})};var Cr=Ze.DOMException;try{new Cr}catch{Cr=function(e,r){this.message=e,this.name=r;var n=Error(e);this.stack=n.stack},Cr.prototype=Object.create(Error.prototype),Cr.prototype.constructor=Cr}function i0(t,e){return new Promise(function(r,n){var i=new Mr(t,e);if(i.signal&&i.signal.aborted)return n(new Cr("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}a.onload=function(){var h={statusText:a.statusText,headers:zl(a.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(a.status<200||a.status>599)?h.status=200:h.status=a.status,h.url="responseURL"in a?a.responseURL:h.headers.get("X-Request-URL");var d="response"in a?a.response:a.responseText;setTimeout(function(){r(new Ot(d,h))},0)},a.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){n(new Cr("Aborted","AbortError"))},0)};function o(h){try{return h===""&&Ze.location.href?Ze.location.href:h}catch{return h}}if(a.open(i.method,o(i.url),!0),i.credentials==="include"?a.withCredentials=!0:i.credentials==="omit"&&(a.withCredentials=!1),"responseType"in a&&(st.blob?a.responseType="blob":st.arrayBuffer&&(a.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof Ve||Ze.Headers&&e.headers instanceof Ze.Headers)){var u=[];Object.getOwnPropertyNames(e.headers).forEach(function(h){u.push(Ur(h)),a.setRequestHeader(h,mi(e.headers[h]))}),i.headers.forEach(function(h,d){u.indexOf(d)===-1&&a.setRequestHeader(d,h)})}else i.headers.forEach(function(h,d){a.setRequestHeader(d,h)});i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){a.readyState===4&&i.signal.removeEventListener("abort",s)}),a.send(typeof i._bodyInit>"u"?null:i._bodyInit)})}i0.polyfill=!0,Ze.fetch||(Ze.fetch=i0,Ze.Headers=Ve,Ze.Request=Mr,Ze.Response=Ot);class Tl extends Error{constructor(e="Unexpected end of stream"){super(e)}}function lr(t,e,r,n){return n?new Promise((i,a)=>{const s=t.animate(e,r),o=()=>{s.pause()};n.addListener(o),s.onfinish=()=>{n.removeListener(o),i()},s.oncancel=()=>{a(new bn)}}):new Promise(i=>{const a=t.animate(e,r);a.onfinish=i})}var jt=(t=>(t.Primary="btn-primary",t.Secondary="btn-secondary",t.Tertiary="btn-tertiary",t.Badge="btn-badge",t.CTA="btn-cta",t.Destructive="btn-destructive",t))(jt||{}),Qr=(t=>(t.Small="btn-sm",t.Medium="btn-md",t.Large="btn-lg",t.ExtraLarge="btn-xl",t))(Qr||{});function kn({as:t="button",type:e,variant:r="btn-primary",size:n="btn-lg",...i},a){const s=F(t,{...i},a);return t==="button"&&(s.type=e||"button"),s.classList.add("btn"),r&&s.classList.add(r),n&&s.classList.add(n),s}class a0{constructor(e,r,n){this.llmFunctionId=e,this.operationId=r,this.conversationMessage=n}async postResultAsync(e){const r=await this.conversationMessage.chat.fetch(this.conversationMessage.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:gn.OperationResult,operationId:this.operationId,operationResult:e})});if(!r.ok)throw new Error(`Failed to post the result for the operation with id ${this.operationId} that was called from the LLM function with id ${this.llmFunctionId} because the server responded with ${r.status} ${r.statusText}`)}async postErrorAsync(e){const r=await this.conversationMessage.chat.fetch(this.conversationMessage.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:gn.OperationError,operationId:this.operationId,operationError:e})});if(!r.ok)throw new Error(`Failed to post the error for the operation with id ${this.operationId} that was called from the LLM function with id ${this.llmFunctionId} because the server responded with ${r.status} ${r.statusText}`)}}const Al={};function Ml(t,e){const r=Al,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return s0(t,n,i)}function s0(t,e,r){if(Cl(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return o0(t.children,e,r)}return Array.isArray(t)?o0(t,e,r):""}function o0(t,e,r){const n=[];let i=-1;for(;++i<t.length;)n[i]=s0(t[i],e,r);return n.join("")}function Cl(t){return!!(t&&typeof t=="object")}const l0=document.createElement("i");function gi(t){const e="&"+t+";";l0.innerHTML=e;const r=l0.textContent;return r.charCodeAt(r.length-1)===59&&t!=="semi"||r===e?!1:r}function Dt(t,e,r,n){const i=t.length;let a=0,s;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(e,r),t.splice(...s);else for(r&&t.splice(e,r);a<n.length;)s=n.slice(a,a+1e4),s.unshift(e,0),t.splice(...s),a+=1e4,e+=1e4}function St(t,e){return t.length>0?(Dt(t,t.length,0,e),t):e}const u0={}.hasOwnProperty;function _l(t){const e={};let r=-1;for(;++r<t.length;)Nl(e,t[r]);return e}function Nl(t,e){let r;for(r in e){const i=(u0.call(t,r)?t[r]:void 0)||(t[r]={}),a=e[r];let s;if(a)for(s in a){u0.call(i,s)||(i[s]=[]);const o=a[s];Bl(i[s],Array.isArray(o)?o:o?[o]:[])}}}function Bl(t,e){let r=-1;const n=[];for(;++r<e.length;)(e[r].add==="after"?t:n).push(e[r]);Dt(t,0,0,n)}function c0(t,e){const r=Number.parseInt(t,e);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 Gr(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Lt=ur(/[A-Za-z]/),_t=ur(/[\dA-Za-z]/),Rl=ur(/[#-'*+\--9=?A-Z^-~]/);function bi(t){return t!==null&&(t<32||t===127)}const vi=ur(/\d/),Il=ur(/[\dA-Fa-f]/),Ol=ur(/[!-/:-@[-`{-~]/);function re(t){return t!==null&&t<-2}function rt(t){return t!==null&&(t<0||t===32)}function we(t){return t===-2||t===-1||t===32}const Dl=ur(new RegExp("\\p{P}|\\p{S}","u")),Ll=ur(/\s/);function ur(t){return e;function e(r){return r!==null&&r>-1&&t.test(String.fromCharCode(r))}}function xe(t,e,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(u){return we(u)?(t.enter(r),o(u)):e(u)}function o(u){return we(u)&&a++<i?(t.consume(u),o):(t.exit(r),e(u))}}const Fl={tokenize:Pl};function Pl(t){const e=t.attempt(this.parser.constructs.contentInitial,n,i);let r;return e;function n(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),xe(t,e,"linePrefix")}function i(o){return t.enter("paragraph"),a(o)}function a(o){const u=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=u),r=u,s(o)}function s(o){if(o===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(o);return}return re(o)?(t.consume(o),t.exit("chunkText"),a):(t.consume(o),s)}}const ql={tokenize:Hl},h0={tokenize:Ul};function Hl(t){const e=this,r=[];let n=0,i,a,s;return o;function o(R){if(n<r.length){const Y=r[n];return e.containerState=Y[1],t.attempt(Y[0].continuation,u,h)(R)}return h(R)}function u(R){if(n++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&_();const Y=e.events.length;let U=Y,C;for(;U--;)if(e.events[U][0]==="exit"&&e.events[U][1].type==="chunkFlow"){C=e.events[U][1].end;break}A(n);let V=Y;for(;V<e.events.length;)e.events[V][1].end=Object.assign({},C),V++;return Dt(e.events,U+1,0,e.events.slice(Y)),e.events.length=V,h(R)}return o(R)}function h(R){if(n===r.length){if(!i)return b(R);if(i.currentConstruct&&i.currentConstruct.concrete)return z(R);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(h0,d,f)(R)}function d(R){return i&&_(),A(n),b(R)}function f(R){return e.parser.lazy[e.now().line]=n!==r.length,s=e.now().offset,z(R)}function b(R){return e.containerState={},t.attempt(h0,p,z)(R)}function p(R){return n++,r.push([e.currentConstruct,e.containerState]),b(R)}function z(R){if(R===null){i&&_(),A(0),t.consume(R);return}return i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:i}),E(R)}function E(R){if(R===null){I(t.exit("chunkFlow"),!0),A(0),t.consume(R);return}return re(R)?(t.consume(R),I(t.exit("chunkFlow")),n=0,e.interrupt=void 0,o):(t.consume(R),E)}function I(R,Y){const U=e.sliceStream(R);if(Y&&U.push(null),R.previous=a,a&&(a.next=R),a=R,i.defineSkip(R.start),i.write(U),e.parser.lazy[R.start.line]){let C=i.events.length;for(;C--;)if(i.events[C][1].start.offset<s&&(!i.events[C][1].end||i.events[C][1].end.offset>s))return;const V=e.events.length;let ee=V,j,M;for(;ee--;)if(e.events[ee][0]==="exit"&&e.events[ee][1].type==="chunkFlow"){if(j){M=e.events[ee][1].end;break}j=!0}for(A(n),C=V;C<e.events.length;)e.events[C][1].end=Object.assign({},M),C++;Dt(e.events,ee+1,0,e.events.slice(V)),e.events.length=C}}function A(R){let Y=r.length;for(;Y-- >R;){const U=r[Y];e.containerState=U[1],U[0].exit.call(e,t)}r.length=R}function _(){i.write([null]),a=void 0,i=void 0,e.containerState._closeFlow=void 0}}function Ul(t,e,r){return xe(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function d0(t){if(t===null||rt(t)||Ll(t))return 1;if(Dl(t))return 2}function yi(t,e,r){const n=[];let i=-1;for(;++i<t.length;){const a=t[i].resolveAll;a&&!n.includes(a)&&(e=a(e,r),n.push(a))}return e}const wi={name:"attention",tokenize:$l,resolveAll:Gl};function Gl(t,e){let r=-1,n,i,a,s,o,u,h,d;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(n=r;n--;)if(t[n][0]==="exit"&&t[n][1].type==="attentionSequence"&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[n][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;u=t[n][1].end.offset-t[n][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;const f=Object.assign({},t[n][1].end),b=Object.assign({},t[r][1].start);m0(f,-u),m0(b,u),s={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},t[n][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[r][1].start),end:b},a={type:u>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[r][1].start)},i={type:u>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},t[n][1].end=Object.assign({},s.start),t[r][1].start=Object.assign({},o.end),h=[],t[n][1].end.offset-t[n][1].start.offset&&(h=St(h,[["enter",t[n][1],e],["exit",t[n][1],e]])),h=St(h,[["enter",i,e],["enter",s,e],["exit",s,e],["enter",a,e]]),h=St(h,yi(e.parser.constructs.insideSpan.null,t.slice(n+1,r),e)),h=St(h,[["exit",a,e],["enter",o,e],["exit",o,e],["exit",i,e]]),t[r][1].end.offset-t[r][1].start.offset?(d=2,h=St(h,[["enter",t[r][1],e],["exit",t[r][1],e]])):d=0,Dt(t,n-1,r-n+3,h),r=n+h.length-d-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function $l(t,e){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=d0(n);let a;return s;function s(u){return a=u,t.enter("attentionSequence"),o(u)}function o(u){if(u===a)return t.consume(u),o;const h=t.exit("attentionSequence"),d=d0(u),f=!d||d===2&&i||r.includes(u),b=!i||i===2&&d||r.includes(n);return h._open=!!(a===42?f:f&&(i||!b)),h._close=!!(a===42?b:b&&(d||!f)),e(u)}}function m0(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const Wl={name:"autolink",tokenize:jl};function jl(t,e,r){let n=0;return i;function i(p){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),a}function a(p){return Lt(p)?(t.consume(p),s):h(p)}function s(p){return p===43||p===45||p===46||_t(p)?(n=1,o(p)):h(p)}function o(p){return p===58?(t.consume(p),n=0,u):(p===43||p===45||p===46||_t(p))&&n++<32?(t.consume(p),o):(n=0,h(p))}function u(p){return p===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.exit("autolink"),e):p===null||p===32||p===60||bi(p)?r(p):(t.consume(p),u)}function h(p){return p===64?(t.consume(p),d):Rl(p)?(t.consume(p),h):r(p)}function d(p){return _t(p)?f(p):r(p)}function f(p){return p===46?(t.consume(p),n=0,d):p===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(p),t.exit("autolinkMarker"),t.exit("autolink"),e):b(p)}function b(p){if((p===45||_t(p))&&n++<63){const z=p===45?b:f;return t.consume(p),z}return r(p)}}const Sn={tokenize:Vl,partial:!0};function Vl(t,e,r){return n;function n(a){return we(a)?xe(t,i,"linePrefix")(a):i(a)}function i(a){return a===null||re(a)?e(a):r(a)}}const p0={name:"blockQuote",tokenize:Xl,continuation:{tokenize:Kl},exit:Yl};function Xl(t,e,r){const n=this;return i;function i(s){if(s===62){const o=n.containerState;return o.open||(t.enter("blockQuote",{_container:!0}),o.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(s),t.exit("blockQuoteMarker"),a}return r(s)}function a(s){return we(s)?(t.enter("blockQuotePrefixWhitespace"),t.consume(s),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(s))}}function Kl(t,e,r){const n=this;return i;function i(s){return we(s)?xe(t,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return t.attempt(p0,e,r)(s)}}function Yl(t){t.exit("blockQuote")}const f0={name:"characterEscape",tokenize:Zl};function Zl(t,e,r){return n;function n(a){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(a),t.exit("escapeMarker"),i}function i(a){return Ol(a)?(t.enter("characterEscapeValue"),t.consume(a),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):r(a)}}const g0={name:"characterReference",tokenize:Jl};function Jl(t,e,r){const n=this;let i=0,a,s;return o;function o(f){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),u}function u(f){return f===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(f),t.exit("characterReferenceMarkerNumeric"),h):(t.enter("characterReferenceValue"),a=31,s=_t,d(f))}function h(f){return f===88||f===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(f),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),a=6,s=Il,d):(t.enter("characterReferenceValue"),a=7,s=vi,d(f))}function d(f){if(f===59&&i){const b=t.exit("characterReferenceValue");return s===_t&&!gi(n.sliceSerialize(b))?r(f):(t.enter("characterReferenceMarker"),t.consume(f),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return s(f)&&i++<a?(t.consume(f),d):r(f)}}const b0={tokenize:eu,partial:!0},v0={name:"codeFenced",tokenize:Ql,concrete:!0};function Ql(t,e,r){const n=this,i={tokenize:U,partial:!0};let a=0,s=0,o;return u;function u(C){return h(C)}function h(C){const V=n.events[n.events.length-1];return a=V&&V[1].type==="linePrefix"?V[2].sliceSerialize(V[1],!0).length:0,o=C,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),d(C)}function d(C){return C===o?(s++,t.consume(C),d):s<3?r(C):(t.exit("codeFencedFenceSequence"),we(C)?xe(t,f,"whitespace")(C):f(C))}function f(C){return C===null||re(C)?(t.exit("codeFencedFence"),n.interrupt?e(C):t.check(b0,E,Y)(C)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),b(C))}function b(C){return C===null||re(C)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),f(C)):we(C)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),xe(t,p,"whitespace")(C)):C===96&&C===o?r(C):(t.consume(C),b)}function p(C){return C===null||re(C)?f(C):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),z(C))}function z(C){return C===null||re(C)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),f(C)):C===96&&C===o?r(C):(t.consume(C),z)}function E(C){return t.attempt(i,Y,I)(C)}function I(C){return t.enter("lineEnding"),t.consume(C),t.exit("lineEnding"),A}function A(C){return a>0&&we(C)?xe(t,_,"linePrefix",a+1)(C):_(C)}function _(C){return C===null||re(C)?t.check(b0,E,Y)(C):(t.enter("codeFlowValue"),R(C))}function R(C){return C===null||re(C)?(t.exit("codeFlowValue"),_(C)):(t.consume(C),R)}function Y(C){return t.exit("codeFenced"),e(C)}function U(C,V,ee){let j=0;return M;function M(le){return C.enter("lineEnding"),C.consume(le),C.exit("lineEnding"),$}function $(le){return C.enter("codeFencedFence"),we(le)?xe(C,G,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(le):G(le)}function G(le){return le===o?(C.enter("codeFencedFenceSequence"),be(le)):ee(le)}function be(le){return le===o?(j++,C.consume(le),be):j>=s?(C.exit("codeFencedFenceSequence"),we(le)?xe(C,he,"whitespace")(le):he(le)):ee(le)}function he(le){return le===null||re(le)?(C.exit("codeFencedFence"),V(le)):ee(le)}}}function eu(t,e,r){const n=this;return i;function i(s){return s===null?r(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):e(s)}}const xi={name:"codeIndented",tokenize:ru},tu={tokenize:nu,partial:!0};function ru(t,e,r){const n=this;return i;function i(h){return t.enter("codeIndented"),xe(t,a,"linePrefix",5)(h)}function a(h){const d=n.events[n.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?s(h):r(h)}function s(h){return h===null?u(h):re(h)?t.attempt(tu,s,u)(h):(t.enter("codeFlowValue"),o(h))}function o(h){return h===null||re(h)?(t.exit("codeFlowValue"),s(h)):(t.consume(h),o)}function u(h){return t.exit("codeIndented"),e(h)}}function nu(t,e,r){const n=this;return i;function i(s){return n.parser.lazy[n.now().line]?r(s):re(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),i):xe(t,a,"linePrefix",5)(s)}function a(s){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(s):re(s)?i(s):r(s)}}const iu={name:"codeText",tokenize:ou,resolve:au,previous:su};function au(t){let e=t.length-4,r=3,n,i;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(n=r;++n<e;)if(t[n][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[e][1].type="codeTextPadding",r+=2,e-=2;break}}for(n=r-1,e++;++n<=e;)i===void 0?n!==e&&t[n][1].type!=="lineEnding"&&(i=n):(n===e||t[n][1].type==="lineEnding")&&(t[i][1].type="codeTextData",n!==i+2&&(t[i][1].end=t[n-1][1].end,t.splice(i+2,n-i-2),e-=n-i-2,n=i+2),i=void 0);return t}function su(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ou(t,e,r){let n=0,i,a;return s;function s(f){return t.enter("codeText"),t.enter("codeTextSequence"),o(f)}function o(f){return f===96?(t.consume(f),n++,o):(t.exit("codeTextSequence"),u(f))}function u(f){return f===null?r(f):f===32?(t.enter("space"),t.consume(f),t.exit("space"),u):f===96?(a=t.enter("codeTextSequence"),i=0,d(f)):re(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),u):(t.enter("codeTextData"),h(f))}function h(f){return f===null||f===32||f===96||re(f)?(t.exit("codeTextData"),u(f)):(t.consume(f),h)}function d(f){return f===96?(t.consume(f),i++,d):i===n?(t.exit("codeTextSequence"),t.exit("codeText"),e(f)):(a.type="codeTextData",h(f))}}function y0(t){const e={};let r=-1,n,i,a,s,o,u,h;for(;++r<t.length;){for(;r in e;)r=e[r];if(n=t[r],r&&n[1].type==="chunkFlow"&&t[r-1][1].type==="listItemPrefix"&&(u=n[1]._tokenizer.events,a=0,a<u.length&&u[a][1].type==="lineEndingBlank"&&(a+=2),a<u.length&&u[a][1].type==="content"))for(;++a<u.length&&u[a][1].type!=="content";)u[a][1].type==="chunkText"&&(u[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(e,lu(t,r)),r=e[r],h=!0);else if(n[1]._container){for(a=r,i=void 0;a--&&(s=t[a],s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(i&&(t[i][1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);i&&(n[1].end=Object.assign({},t[i][1].start),o=t.slice(i,r),o.unshift(n),Dt(t,i,r-i+1,o))}}return!h}function lu(t,e){const r=t[e][1],n=t[e][2];let i=e-1;const a=[],s=r._tokenizer||n.parser[r.contentType](r.start),o=s.events,u=[],h={};let d,f,b=-1,p=r,z=0,E=0;const I=[E];for(;p;){for(;t[++i][1]!==p;);a.push(i),p._tokenizer||(d=n.sliceStream(p),p.next||d.push(null),f&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(d),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=r;++b<o.length;)o[b][0]==="exit"&&o[b-1][0]==="enter"&&o[b][1].type===o[b-1][1].type&&o[b][1].start.line!==o[b][1].end.line&&(E=b+1,I.push(E),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):I.pop(),b=I.length;b--;){const A=o.slice(I[b],I[b+1]),_=a.pop();u.unshift([_,_+A.length-1]),Dt(t,_,2,A)}for(b=-1;++b<u.length;)h[z+u[b][0]]=z+u[b][1],z+=u[b][1]-u[b][0]-1;return h}const uu={tokenize:du,resolve:hu},cu={tokenize:mu,partial:!0};function hu(t){return y0(t),t}function du(t,e){let r;return n;function n(o){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):re(o)?t.check(cu,s,a)(o):(t.consume(o),i)}function a(o){return t.exit("chunkContent"),t.exit("content"),e(o)}function s(o){return t.consume(o),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function mu(t,e,r){const n=this;return i;function i(s){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),xe(t,a,"linePrefix")}function a(s){if(s===null||re(s))return r(s);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?e(s):t.interrupt(n.parser.constructs.flow,r,e)(s)}}function w0(t,e,r,n,i,a,s,o,u){const h=u||Number.POSITIVE_INFINITY;let d=0;return f;function f(A){return A===60?(t.enter(n),t.enter(i),t.enter(a),t.consume(A),t.exit(a),b):A===null||A===32||A===41||bi(A)?r(A):(t.enter(n),t.enter(s),t.enter(o),t.enter("chunkString",{contentType:"string"}),E(A))}function b(A){return A===62?(t.enter(a),t.consume(A),t.exit(a),t.exit(i),t.exit(n),e):(t.enter(o),t.enter("chunkString",{contentType:"string"}),p(A))}function p(A){return A===62?(t.exit("chunkString"),t.exit(o),b(A)):A===null||A===60||re(A)?r(A):(t.consume(A),A===92?z:p)}function z(A){return A===60||A===62||A===92?(t.consume(A),p):p(A)}function E(A){return!d&&(A===null||A===41||rt(A))?(t.exit("chunkString"),t.exit(o),t.exit(s),t.exit(n),e(A)):d<h&&A===40?(t.consume(A),d++,E):A===41?(t.consume(A),d--,E):A===null||A===32||A===40||bi(A)?r(A):(t.consume(A),A===92?I:E)}function I(A){return A===40||A===41||A===92?(t.consume(A),E):E(A)}}function x0(t,e,r,n,i,a){const s=this;let o=0,u;return h;function h(p){return t.enter(n),t.enter(i),t.consume(p),t.exit(i),t.enter(a),d}function d(p){return o>999||p===null||p===91||p===93&&!u||p===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(p):p===93?(t.exit(a),t.enter(i),t.consume(p),t.exit(i),t.exit(n),e):re(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||re(p)||o++>999?(t.exit("chunkString"),d(p)):(t.consume(p),u||(u=!we(p)),p===92?b:f)}function b(p){return p===91||p===92||p===93?(t.consume(p),o++,f):f(p)}}function k0(t,e,r,n,i,a){let s;return o;function o(b){return b===34||b===39||b===40?(t.enter(n),t.enter(i),t.consume(b),t.exit(i),s=b===40?41:b,u):r(b)}function u(b){return b===s?(t.enter(i),t.consume(b),t.exit(i),t.exit(n),e):(t.enter(a),h(b))}function h(b){return b===s?(t.exit(a),u(s)):b===null?r(b):re(b)?(t.enter("lineEnding"),t.consume(b),t.exit("lineEnding"),xe(t,h,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(b))}function d(b){return b===s||b===null||re(b)?(t.exit("chunkString"),h(b)):(t.consume(b),b===92?f:d)}function f(b){return b===s||b===92?(t.consume(b),d):d(b)}}function en(t,e){let r;return n;function n(i){return re(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),r=!0,n):we(i)?xe(t,n,r?"linePrefix":"lineSuffix")(i):e(i)}}const pu={name:"definition",tokenize:gu},fu={tokenize:bu,partial:!0};function gu(t,e,r){const n=this;let i;return a;function a(p){return t.enter("definition"),s(p)}function s(p){return x0.call(n,t,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return i=Gr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),u):r(p)}function u(p){return rt(p)?en(t,h)(p):h(p)}function h(p){return w0(t,d,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function d(p){return t.attempt(fu,f,f)(p)}function f(p){return we(p)?xe(t,b,"whitespace")(p):b(p)}function b(p){return p===null||re(p)?(t.exit("definition"),n.parser.defined.push(i),e(p)):r(p)}}function bu(t,e,r){return n;function n(o){return rt(o)?en(t,i)(o):r(o)}function i(o){return k0(t,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return we(o)?xe(t,s,"whitespace")(o):s(o)}function s(o){return o===null||re(o)?e(o):r(o)}}const vu={name:"hardBreakEscape",tokenize:yu};function yu(t,e,r){return n;function n(a){return t.enter("hardBreakEscape"),t.consume(a),i}function i(a){return re(a)?(t.exit("hardBreakEscape"),e(a)):r(a)}}const wu={name:"headingAtx",tokenize:ku,resolve:xu};function xu(t,e){let r=t.length-2,n=3,i,a;return t[n][1].type==="whitespace"&&(n+=2),r-2>n&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&t[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:t[n][1].start,end:t[r][1].end},a={type:"chunkText",start:t[n][1].start,end:t[r][1].end,contentType:"text"},Dt(t,n,r-n+1,[["enter",i,e],["enter",a,e],["exit",a,e],["exit",i,e]])),t}function ku(t,e,r){let n=0;return i;function i(d){return t.enter("atxHeading"),a(d)}function a(d){return t.enter("atxHeadingSequence"),s(d)}function s(d){return d===35&&n++<6?(t.consume(d),s):d===null||rt(d)?(t.exit("atxHeadingSequence"),o(d)):r(d)}function o(d){return d===35?(t.enter("atxHeadingSequence"),u(d)):d===null||re(d)?(t.exit("atxHeading"),e(d)):we(d)?xe(t,o,"whitespace")(d):(t.enter("atxHeadingText"),h(d))}function u(d){return d===35?(t.consume(d),u):(t.exit("atxHeadingSequence"),o(d))}function h(d){return d===null||d===35||rt(d)?(t.exit("atxHeadingText"),o(d)):(t.consume(d),h)}}const Su=["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"],S0=["pre","script","style","textarea"],zu={name:"htmlFlow",tokenize:Mu,resolveTo:Au,concrete:!0},Eu={tokenize:_u,partial:!0},Tu={tokenize:Cu,partial:!0};function Au(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function Mu(t,e,r){const n=this;let i,a,s,o,u;return h;function h(k){return d(k)}function d(k){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(k),f}function f(k){return k===33?(t.consume(k),b):k===47?(t.consume(k),a=!0,E):k===63?(t.consume(k),i=3,n.interrupt?e:w):Lt(k)?(t.consume(k),s=String.fromCharCode(k),I):r(k)}function b(k){return k===45?(t.consume(k),i=2,p):k===91?(t.consume(k),i=5,o=0,z):Lt(k)?(t.consume(k),i=4,n.interrupt?e:w):r(k)}function p(k){return k===45?(t.consume(k),n.interrupt?e:w):r(k)}function z(k){const Qe="CDATA[";return k===Qe.charCodeAt(o++)?(t.consume(k),o===Qe.length?n.interrupt?e:G:z):r(k)}function E(k){return Lt(k)?(t.consume(k),s=String.fromCharCode(k),I):r(k)}function I(k){if(k===null||k===47||k===62||rt(k)){const Qe=k===47,nt=s.toLowerCase();return!Qe&&!a&&S0.includes(nt)?(i=1,n.interrupt?e(k):G(k)):Su.includes(s.toLowerCase())?(i=6,Qe?(t.consume(k),A):n.interrupt?e(k):G(k)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(k):a?_(k):R(k))}return k===45||_t(k)?(t.consume(k),s+=String.fromCharCode(k),I):r(k)}function A(k){return k===62?(t.consume(k),n.interrupt?e:G):r(k)}function _(k){return we(k)?(t.consume(k),_):M(k)}function R(k){return k===47?(t.consume(k),M):k===58||k===95||Lt(k)?(t.consume(k),Y):we(k)?(t.consume(k),R):M(k)}function Y(k){return k===45||k===46||k===58||k===95||_t(k)?(t.consume(k),Y):U(k)}function U(k){return k===61?(t.consume(k),C):we(k)?(t.consume(k),U):R(k)}function C(k){return k===null||k===60||k===61||k===62||k===96?r(k):k===34||k===39?(t.consume(k),u=k,V):we(k)?(t.consume(k),C):ee(k)}function V(k){return k===u?(t.consume(k),u=null,j):k===null||re(k)?r(k):(t.consume(k),V)}function ee(k){return k===null||k===34||k===39||k===47||k===60||k===61||k===62||k===96||rt(k)?U(k):(t.consume(k),ee)}function j(k){return k===47||k===62||we(k)?R(k):r(k)}function M(k){return k===62?(t.consume(k),$):r(k)}function $(k){return k===null||re(k)?G(k):we(k)?(t.consume(k),$):r(k)}function G(k){return k===45&&i===2?(t.consume(k),Ee):k===60&&i===1?(t.consume(k),Me):k===62&&i===4?(t.consume(k),Te):k===63&&i===3?(t.consume(k),w):k===93&&i===5?(t.consume(k),Ce):re(k)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(Eu,Ae,be)(k)):k===null||re(k)?(t.exit("htmlFlowData"),be(k)):(t.consume(k),G)}function be(k){return t.check(Tu,he,Ae)(k)}function he(k){return t.enter("lineEnding"),t.consume(k),t.exit("lineEnding"),le}function le(k){return k===null||re(k)?be(k):(t.enter("htmlFlowData"),G(k))}function Ee(k){return k===45?(t.consume(k),w):G(k)}function Me(k){return k===47?(t.consume(k),s="",ue):G(k)}function ue(k){if(k===62){const Qe=s.toLowerCase();return S0.includes(Qe)?(t.consume(k),Te):G(k)}return Lt(k)&&s.length<8?(t.consume(k),s+=String.fromCharCode(k),ue):G(k)}function Ce(k){return k===93?(t.consume(k),w):G(k)}function w(k){return k===62?(t.consume(k),Te):k===45&&i===2?(t.consume(k),w):G(k)}function Te(k){return k===null||re(k)?(t.exit("htmlFlowData"),Ae(k)):(t.consume(k),Te)}function Ae(k){return t.exit("htmlFlow"),e(k)}}function Cu(t,e,r){const n=this;return i;function i(s){return re(s)?(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),a):r(s)}function a(s){return n.parser.lazy[n.now().line]?r(s):e(s)}}function _u(t,e,r){return n;function n(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(Sn,e,r)}}const Nu={name:"htmlText",tokenize:Bu};function Bu(t,e,r){const n=this;let i,a,s;return o;function o(w){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(w),u}function u(w){return w===33?(t.consume(w),h):w===47?(t.consume(w),U):w===63?(t.consume(w),R):Lt(w)?(t.consume(w),ee):r(w)}function h(w){return w===45?(t.consume(w),d):w===91?(t.consume(w),a=0,z):Lt(w)?(t.consume(w),_):r(w)}function d(w){return w===45?(t.consume(w),p):r(w)}function f(w){return w===null?r(w):w===45?(t.consume(w),b):re(w)?(s=f,Me(w)):(t.consume(w),f)}function b(w){return w===45?(t.consume(w),p):f(w)}function p(w){return w===62?Ee(w):w===45?b(w):f(w)}function z(w){const Te="CDATA[";return w===Te.charCodeAt(a++)?(t.consume(w),a===Te.length?E:z):r(w)}function E(w){return w===null?r(w):w===93?(t.consume(w),I):re(w)?(s=E,Me(w)):(t.consume(w),E)}function I(w){return w===93?(t.consume(w),A):E(w)}function A(w){return w===62?Ee(w):w===93?(t.consume(w),A):E(w)}function _(w){return w===null||w===62?Ee(w):re(w)?(s=_,Me(w)):(t.consume(w),_)}function R(w){return w===null?r(w):w===63?(t.consume(w),Y):re(w)?(s=R,Me(w)):(t.consume(w),R)}function Y(w){return w===62?Ee(w):R(w)}function U(w){return Lt(w)?(t.consume(w),C):r(w)}function C(w){return w===45||_t(w)?(t.consume(w),C):V(w)}function V(w){return re(w)?(s=V,Me(w)):we(w)?(t.consume(w),V):Ee(w)}function ee(w){return w===45||_t(w)?(t.consume(w),ee):w===47||w===62||rt(w)?j(w):r(w)}function j(w){return w===47?(t.consume(w),Ee):w===58||w===95||Lt(w)?(t.consume(w),M):re(w)?(s=j,Me(w)):we(w)?(t.consume(w),j):Ee(w)}function M(w){return w===45||w===46||w===58||w===95||_t(w)?(t.consume(w),M):$(w)}function $(w){return w===61?(t.consume(w),G):re(w)?(s=$,Me(w)):we(w)?(t.consume(w),$):j(w)}function G(w){return w===null||w===60||w===61||w===62||w===96?r(w):w===34||w===39?(t.consume(w),i=w,be):re(w)?(s=G,Me(w)):we(w)?(t.consume(w),G):(t.consume(w),he)}function be(w){return w===i?(t.consume(w),i=void 0,le):w===null?r(w):re(w)?(s=be,Me(w)):(t.consume(w),be)}function he(w){return w===null||w===34||w===39||w===60||w===61||w===96?r(w):w===47||w===62||rt(w)?j(w):(t.consume(w),he)}function le(w){return w===47||w===62||rt(w)?j(w):r(w)}function Ee(w){return w===62?(t.consume(w),t.exit("htmlTextData"),t.exit("htmlText"),e):r(w)}function Me(w){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(w),t.exit("lineEnding"),ue}function ue(w){return we(w)?xe(t,Ce,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):Ce(w)}function Ce(w){return t.enter("htmlTextData"),s(w)}}const ki={name:"labelEnd",tokenize:Fu,resolveTo:Lu,resolveAll:Du},Ru={tokenize:Pu},Iu={tokenize:qu},Ou={tokenize:Hu};function Du(t){let e=-1;for(;++e<t.length;){const r=t[e][1];(r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd")&&(t.splice(e+1,r.type==="labelImage"?4:2),r.type="data",e++)}return t}function Lu(t,e){let r=t.length,n=0,i,a,s,o;for(;r--;)if(i=t[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(t[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(s=r);const u={type:t[a][1].type==="labelLink"?"link":"image",start:Object.assign({},t[a][1].start),end:Object.assign({},t[t.length-1][1].end)},h={type:"label",start:Object.assign({},t[a][1].start),end:Object.assign({},t[s][1].end)},d={type:"labelText",start:Object.assign({},t[a+n+2][1].end),end:Object.assign({},t[s-2][1].start)};return o=[["enter",u,e],["enter",h,e]],o=St(o,t.slice(a+1,a+n+3)),o=St(o,[["enter",d,e]]),o=St(o,yi(e.parser.constructs.insideSpan.null,t.slice(a+n+4,s-3),e)),o=St(o,[["exit",d,e],t[s-2],t[s-1],["exit",h,e]]),o=St(o,t.slice(s+1)),o=St(o,[["exit",u,e]]),Dt(t,a,t.length,o),t}function Fu(t,e,r){const n=this;let i=n.events.length,a,s;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return o;function o(b){return a?a._inactive?f(b):(s=n.parser.defined.includes(Gr(n.sliceSerialize({start:a.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(b),t.exit("labelMarker"),t.exit("labelEnd"),u):r(b)}function u(b){return b===40?t.attempt(Ru,d,s?d:f)(b):b===91?t.attempt(Iu,d,s?h:f)(b):s?d(b):f(b)}function h(b){return t.attempt(Ou,d,f)(b)}function d(b){return e(b)}function f(b){return a._balanced=!0,r(b)}}function Pu(t,e,r){return n;function n(f){return t.enter("resource"),t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),i}function i(f){return rt(f)?en(t,a)(f):a(f)}function a(f){return f===41?d(f):w0(t,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return rt(f)?en(t,u)(f):d(f)}function o(f){return r(f)}function u(f){return f===34||f===39||f===40?k0(t,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):d(f)}function h(f){return rt(f)?en(t,d)(f):d(f)}function d(f){return f===41?(t.enter("resourceMarker"),t.consume(f),t.exit("resourceMarker"),t.exit("resource"),e):r(f)}}function qu(t,e,r){const n=this;return i;function i(o){return x0.call(n,t,a,s,"reference","referenceMarker","referenceString")(o)}function a(o){return n.parser.defined.includes(Gr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?e(o):r(o)}function s(o){return r(o)}}function Hu(t,e,r){return n;function n(a){return t.enter("reference"),t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),i}function i(a){return a===93?(t.enter("referenceMarker"),t.consume(a),t.exit("referenceMarker"),t.exit("reference"),e):r(a)}}const Uu={name:"labelStartImage",tokenize:Gu,resolveAll:ki.resolveAll};function Gu(t,e,r){const n=this;return i;function i(o){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(o),t.exit("labelImageMarker"),a}function a(o){return o===91?(t.enter("labelMarker"),t.consume(o),t.exit("labelMarker"),t.exit("labelImage"),s):r(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):e(o)}}const $u={name:"labelStartLink",tokenize:Wu,resolveAll:ki.resolveAll};function Wu(t,e,r){const n=this;return i;function i(s){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(s),t.exit("labelMarker"),t.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):e(s)}}const Si={name:"lineEnding",tokenize:ju};function ju(t,e){return r;function r(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),xe(t,e,"linePrefix")}}const zn={name:"thematicBreak",tokenize:Vu};function Vu(t,e,r){let n=0,i;return a;function a(h){return t.enter("thematicBreak"),s(h)}function s(h){return i=h,o(h)}function o(h){return h===i?(t.enter("thematicBreakSequence"),u(h)):n>=3&&(h===null||re(h))?(t.exit("thematicBreak"),e(h)):r(h)}function u(h){return h===i?(t.consume(h),n++,u):(t.exit("thematicBreakSequence"),we(h)?xe(t,o,"whitespace")(h):o(h))}}const dt={name:"list",tokenize:Yu,continuation:{tokenize:Zu},exit:Qu},Xu={tokenize:e1,partial:!0},Ku={tokenize:Ju,partial:!0};function Yu(t,e,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return o;function o(p){const z=n.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(z==="listUnordered"?!n.containerState.marker||p===n.containerState.marker:vi(p)){if(n.containerState.type||(n.containerState.type=z,t.enter(z,{_container:!0})),z==="listUnordered")return t.enter("listItemPrefix"),p===42||p===45?t.check(zn,r,h)(p):h(p);if(!n.interrupt||p===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),u(p)}return r(p)}function u(p){return vi(p)&&++s<10?(t.consume(p),u):(!n.interrupt||s<2)&&(n.containerState.marker?p===n.containerState.marker:p===41||p===46)?(t.exit("listItemValue"),h(p)):r(p)}function h(p){return t.enter("listItemMarker"),t.consume(p),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||p,t.check(Sn,n.interrupt?r:d,t.attempt(Xu,b,f))}function d(p){return n.containerState.initialBlankLine=!0,a++,b(p)}function f(p){return we(p)?(t.enter("listItemPrefixWhitespace"),t.consume(p),t.exit("listItemPrefixWhitespace"),b):r(p)}function b(p){return n.containerState.size=a+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(p)}}function Zu(t,e,r){const n=this;return n.containerState._closeFlow=void 0,t.check(Sn,i,a);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,xe(t,e,"listItemIndent",n.containerState.size+1)(o)}function a(o){return n.containerState.furtherBlankLines||!we(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(Ku,e,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,xe(t,t.attempt(dt,e,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Ju(t,e,r){const n=this;return xe(t,i,"listItemIndent",n.containerState.size+1);function i(a){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?e(a):r(a)}}function Qu(t){t.exit(this.containerState.type)}function e1(t,e,r){const n=this;return xe(t,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=n.events[n.events.length-1];return!we(a)&&s&&s[1].type==="listItemPrefixWhitespace"?e(a):r(a)}}const z0={name:"setextUnderline",tokenize:r1,resolveTo:t1};function t1(t,e){let r=t.length,n,i,a;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){n=r;break}t[r][1].type==="paragraph"&&(i=r)}else t[r][1].type==="content"&&t.splice(r,1),!a&&t[r][1].type==="definition"&&(a=r);const s={type:"setextHeading",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[i][1].type="setextHeadingText",a?(t.splice(i,0,["enter",s,e]),t.splice(a+1,0,["exit",t[n][1],e]),t[n][1].end=Object.assign({},t[a][1].end)):t[n][1]=s,t.push(["exit",s,e]),t}function r1(t,e,r){const n=this;let i;return a;function a(h){let d=n.events.length,f;for(;d--;)if(n.events[d][1].type!=="lineEnding"&&n.events[d][1].type!=="linePrefix"&&n.events[d][1].type!=="content"){f=n.events[d][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(t.enter("setextHeadingLine"),i=h,s(h)):r(h)}function s(h){return t.enter("setextHeadingLineSequence"),o(h)}function o(h){return h===i?(t.consume(h),o):(t.exit("setextHeadingLineSequence"),we(h)?xe(t,u,"lineSuffix")(h):u(h))}function u(h){return h===null||re(h)?(t.exit("setextHeadingLine"),e(h)):r(h)}}const n1={tokenize:i1};function i1(t){const e=this,r=t.attempt(Sn,n,t.attempt(this.parser.constructs.flowInitial,i,xe(t,t.attempt(this.parser.constructs.flow,i,t.attempt(uu,i)),"linePrefix")));return r;function n(a){if(a===null){t.consume(a);return}return t.enter("lineEndingBlank"),t.consume(a),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function i(a){if(a===null){t.consume(a);return}return t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),e.currentConstruct=void 0,r}}const a1={resolveAll:T0()},s1=E0("string"),o1=E0("text");function E0(t){return{tokenize:e,resolveAll:T0(t==="text"?l1:void 0)};function e(r){const n=this,i=this.parser.constructs[t],a=r.attempt(i,s,o);return s;function s(d){return h(d)?a(d):o(d)}function o(d){if(d===null){r.consume(d);return}return r.enter("data"),r.consume(d),u}function u(d){return h(d)?(r.exit("data"),a(d)):(r.consume(d),u)}function h(d){if(d===null)return!0;const f=i[d];let b=-1;if(f)for(;++b<f.length;){const p=f[b];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function T0(t){return e;function e(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return t?t(r,n):r}}function l1(t,e){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){const n=t[r-1][1],i=e.sliceStream(n);let a=i.length,s=-1,o=0,u;for(;a--;){const h=i[a];if(typeof h=="string"){for(s=h.length;h.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(h===-2)u=!0,o++;else if(h!==-1){a++;break}}if(o){const h={type:r===t.length||u||o<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-o,offset:n.end.offset-o,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},h.start),n.start.offset===n.end.offset?Object.assign(n,h):(t.splice(r,0,["enter",h,e],["exit",h,e]),r+=2)}r++}return t}function u1(t,e,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},a=[];let s=[],o=[];const u={consume:_,enter:R,exit:Y,attempt:V(U),check:V(C),interrupt:V(C,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:p,sliceSerialize:b,now:z,defineSkip:E,write:f};let d=e.tokenize.call(h,u);return e.resolveAll&&a.push(e),h;function f($){return s=St(s,$),I(),s[s.length-1]!==null?[]:(ee(e,0),h.events=yi(a,h.events,h),h.events)}function b($,G){return h1(p($),G)}function p($){return c1(s,$)}function z(){const{line:$,column:G,offset:be,_index:he,_bufferIndex:le}=n;return{line:$,column:G,offset:be,_index:he,_bufferIndex:le}}function E($){i[$.line]=$.column,M()}function I(){let $;for(;n._index<s.length;){const G=s[n._index];if(typeof G=="string")for($=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===$&&n._bufferIndex<G.length;)A(G.charCodeAt(n._bufferIndex));else A(G)}}function A($){d=d($)}function _($){re($)?(n.line++,n.column=1,n.offset+=$===-3?2:1,M()):$!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),h.previous=$}function R($,G){const be=G||{};return be.type=$,be.start=z(),h.events.push(["enter",be,h]),o.push(be),be}function Y($){const G=o.pop();return G.end=z(),h.events.push(["exit",G,h]),G}function U($,G){ee($,G.from)}function C($,G){G.restore()}function V($,G){return be;function be(he,le,Ee){let Me,ue,Ce,w;return Array.isArray(he)?Ae(he):"tokenize"in he?Ae([he]):Te(he);function Te(He){return ft;function ft(et){const Ct=et!==null&&He[et],it=et!==null&&He.null,vr=[...Array.isArray(Ct)?Ct:Ct?[Ct]:[],...Array.isArray(it)?it:it?[it]:[]];return Ae(vr)(et)}}function Ae(He){return Me=He,ue=0,He.length===0?Ee:k(He[ue])}function k(He){return ft;function ft(et){return w=j(),Ce=He,He.partial||(h.currentConstruct=He),He.name&&h.parser.constructs.disable.null.includes(He.name)?nt():He.tokenize.call(G?Object.assign(Object.create(h),G):h,u,Qe,nt)(et)}}function Qe(He){return $(Ce,w),le}function nt(He){return w.restore(),++ue<Me.length?k(Me[ue]):Ee}}}function ee($,G){$.resolveAll&&!a.includes($)&&a.push($),$.resolve&&Dt(h.events,G,h.events.length-G,$.resolve(h.events.slice(G),h)),$.resolveTo&&(h.events=$.resolveTo(h.events,h))}function j(){const $=z(),G=h.previous,be=h.currentConstruct,he=h.events.length,le=Array.from(o);return{restore:Ee,from:he};function Ee(){n=$,h.previous=G,h.currentConstruct=be,h.events.length=he,o=le,M()}}function M(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function c1(t,e){const r=e.start._index,n=e.start._bufferIndex,i=e.end._index,a=e.end._bufferIndex;let s;if(r===i)s=[t[r].slice(n,a)];else{if(s=t.slice(r,i),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}a>0&&s.push(t[i].slice(0,a))}return s}function h1(t,e){let r=-1;const n=[];let i;for(;++r<t.length;){const a=t[r];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
2
5
  `;break}case-3:{s=`\r
3
- `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(a)}i=a===-2,n.push(s)}return n.join("")}const tu=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:nl},disable:{null:[]},document:{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:Y0},flow:{35:ul,42:Lr,45:[sa,Lr],60:ml,61:sa,95:Lr,96:ea,126:ea},flowInitial:{[-2]:Tn,[-1]:Tn,32:Tn},insideSpan:{null:[An,Xl]},string:{38:J0,92:Z0},text:{[-5]:Cn,[-4]:Cn,[-3]:Cn,33:_l,38:J0,42:An,60:[Oo,wl],91:Rl,92:[ol,Z0],93:Mn,95:An,96:Wo}},Symbol.toStringTag,{value:"Module"}));function ru(e){const r=yo([tu,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:r,content:i(To),document:i(Co),flow:i(Vl),string:i(Kl),text:i(Yl)};return n;function i(a){return s;function s(o){return Jl(n,a,o)}}}function nu(e){for(;!ta(e););return e}const ua=/[\0\t\n\r]/g;function au(){let e=1,t="",r=!0,n;return i;function i(a,s,o){const l=[];let h,d,p,g,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),p=0,t="",r&&(a.charCodeAt(0)===65279&&p++,r=void 0);p<a.length;){if(ua.lastIndex=p,h=ua.exec(a),g=h&&h.index!==void 0?h.index:a.length,m=a.charCodeAt(g),!h){t=a.slice(p);break}if(m===10&&p===g&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),p<g&&(l.push(a.slice(p,g)),e+=g-p),m){case 0:{l.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,l.push(-2);e++<d;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:n=!0,e=1}p=g+1}return o&&(n&&l.push(-5),t&&l.push(t),l.push(null)),l}}const iu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function su(e){return e.replace(iu,ou)}function ou(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return V0(r.slice(a?2:1),a?16:10)}return kn(r)||e}function Fr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ca(e.position):"start"in e||"end"in e?ca(e):"line"in e||"column"in e?Nn(e):""}function Nn(e){return ha(e&&e.line)+":"+ha(e&&e.column)}function ca(e){return Nn(e&&e.start)+"-"+Nn(e&&e.end)}function ha(e){return e&&typeof e=="number"?e:1}const da={}.hasOwnProperty;function lu(e,t,r){return typeof t!="string"&&(r=t,t=void 0),uu(r)(nu(ru(r).document().write(au()(e,t,!0))))}function uu(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(pt),autolinkProtocol:G,autolinkEmail:G,atxHeading:a(mt),blockQuote:a(Je),characterEscape:G,characterReference:G,codeFenced:a(Qe),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(Qe,s),codeText:a(tr,s),codeTextData:G,data:G,codeFlowValue:G,definition:a(Or),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Ir),hardBreakEscape:a(Kt),hardBreakTrailing:a(Kt),htmlFlow:a(Ge,s),htmlFlowData:G,htmlText:a(Ge,s),htmlTextData:G,image:a(rr),label:s,link:a(pt),listItem:a(yn),listItemValue:g,listOrdered:a(ie,p),listUnordered:a(ie),paragraph:a(De),reference:x,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(mt),strong:a(ke),thematicBreak:a(It)},exit:{atxHeading:l(),atxHeadingSequence:H,autolink:l(),autolinkEmail:Fe,autolinkProtocol:Xe,blockQuote:l(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:we,characterReferenceMarkerNumeric:we,characterReferenceValue:ye,codeFenced:l(N),codeFencedFence:k,codeFencedFenceInfo:m,codeFencedFenceMeta:z,codeFlowValue:M,codeIndented:l(A),codeText:l(re),codeTextData:M,data:M,definition:l(),definitionDestinationString:W,definitionLabelString:C,definitionTitleString:R,emphasis:l(),hardBreakEscape:l($),hardBreakTrailing:l($),htmlFlow:l(de),htmlFlowData:M,htmlText:l(ue),htmlTextData:M,image:l(O),label:Q,labelText:L,lineEnding:V,link:l(ve),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Oe,resourceDestinationString:v,resourceTitleString:se,resource:ce,setextHeading:l(ee),setextHeadingLineSequence:X,setextHeadingText:T,strong:l(),thematicBreak:l()}};ma(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(_){let j={type:"root",children:[]};const B={stack:[j],tokenStack:[],config:t,enter:o,exit:h,buffer:s,resume:d,data:r},F=[];let J=-1;for(;++J<_.length;)if(_[J][1].type==="listOrdered"||_[J][1].type==="listUnordered")if(_[J][0]==="enter")F.push(J);else{const me=F.pop();J=i(_,me,J)}for(J=-1;++J<_.length;){const me=t[_[J][0]];da.call(me,_[J][1].type)&&me[_[J][1].type].call(Object.assign({sliceSerialize:_[J][2].sliceSerialize},B),_[J][1])}if(B.tokenStack.length>0){const me=B.tokenStack[B.tokenStack.length-1];(me[1]||pa).call(B,void 0,me[0])}for(j.position={start:Ft(_.length>0?_[0][1].start:{line:1,column:1,offset:0}),end:Ft(_.length>0?_[_.length-2][1].end:{line:1,column:1,offset:0})},J=-1;++J<t.transforms.length;)j=t.transforms[J](j)||j;return j}function i(_,j,B){let F=j-1,J=-1,me=!1,Ae,Le,nr,ar;for(;++F<=B;){const rt=_[F];switch(rt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{rt[0]==="enter"?J++:J--,ar=void 0;break}case"lineEndingBlank":{rt[0]==="enter"&&(Ae&&!ar&&!J&&!nr&&(nr=F),ar=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ar=void 0}if(!J&&rt[0]==="enter"&&rt[1].type==="listItemPrefix"||J===-1&&rt[0]==="exit"&&(rt[1].type==="listUnordered"||rt[1].type==="listOrdered")){if(Ae){let vr=F;for(Le=void 0;vr--;){const Dt=_[vr];if(Dt[1].type==="lineEnding"||Dt[1].type==="lineEndingBlank"){if(Dt[0]==="exit")continue;Le&&(_[Le][1].type="lineEndingBlank",me=!0),Dt[1].type="lineEnding",Le=vr}else if(!(Dt[1].type==="linePrefix"||Dt[1].type==="blockQuotePrefix"||Dt[1].type==="blockQuotePrefixWhitespace"||Dt[1].type==="blockQuoteMarker"||Dt[1].type==="listItemIndent"))break}nr&&(!Le||nr<Le)&&(Ae._spread=!0),Ae.end=Object.assign({},Le?_[Le][1].start:rt[1].end),_.splice(Le||F,0,["exit",Ae,rt[2]]),F++,B++}if(rt[1].type==="listItemPrefix"){const vr={type:"listItem",_spread:!1,start:Object.assign({},rt[1].start),end:void 0};Ae=vr,_.splice(F,0,["enter",vr,rt[2]]),F++,B++,nr=void 0,ar=!0}}}return _[j][1]._spread=me,B}function a(_,j){return B;function B(F){o.call(this,_(F),F),j&&j.call(this,F)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(_,j,B){this.stack[this.stack.length-1].children.push(_),this.stack.push(_),this.tokenStack.push([j,B]),_.position={start:Ft(j.start),end:void 0}}function l(_){return j;function j(B){_&&_.call(this,B),h.call(this,B)}}function h(_,j){const B=this.stack.pop(),F=this.tokenStack.pop();if(F)F[0].type!==_.type&&(j?j.call(this,_,F[0]):(F[1]||pa).call(this,_,F[0]));else throw new Error("Cannot close `"+_.type+"` ("+Fr({start:_.start,end:_.end})+"): it’s not open");B.position.end=Ft(_.end)}function d(){return bo(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function g(_){if(this.data.expectingFirstListItemValue){const j=this.stack[this.stack.length-2];j.start=Number.parseInt(this.sliceSerialize(_),10),this.data.expectingFirstListItemValue=void 0}}function m(){const _=this.resume(),j=this.stack[this.stack.length-1];j.lang=_}function z(){const _=this.resume(),j=this.stack[this.stack.length-1];j.meta=_}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_.replace(/(\r?\n|\r)$/g,"")}function C(_){const j=this.resume(),B=this.stack[this.stack.length-1];B.label=j,B.identifier=sr(this.sliceSerialize(_)).toLowerCase()}function R(){const _=this.resume(),j=this.stack[this.stack.length-1];j.title=_}function W(){const _=this.resume(),j=this.stack[this.stack.length-1];j.url=_}function H(_){const j=this.stack[this.stack.length-1];if(!j.depth){const B=this.sliceSerialize(_).length;j.depth=B}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function X(_){const j=this.stack[this.stack.length-1];j.depth=this.sliceSerialize(_).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function G(_){const B=this.stack[this.stack.length-1].children;let F=B[B.length-1];(!F||F.type!=="text")&&(F=br(),F.position={start:Ft(_.start),end:void 0},B.push(F)),this.stack.push(F)}function M(_){const j=this.stack.pop();j.value+=this.sliceSerialize(_),j.position.end=Ft(_.end)}function V(_){const j=this.stack[this.stack.length-1];if(this.data.atHardBreak){const B=j.children[j.children.length-1];B.position.end=Ft(_.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(j.type)&&(G.call(this,_),M.call(this,_))}function $(){this.data.atHardBreak=!0}function de(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_}function ue(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_}function re(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_}function ve(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const j=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=j,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function O(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const j=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=j,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function L(_){const j=this.sliceSerialize(_),B=this.stack[this.stack.length-2];B.label=su(j),B.identifier=sr(j).toLowerCase()}function Q(){const _=this.stack[this.stack.length-1],j=this.resume(),B=this.stack[this.stack.length-1];if(this.data.inReference=!0,B.type==="link"){const F=_.children;B.children=F}else B.alt=j}function v(){const _=this.resume(),j=this.stack[this.stack.length-1];j.url=_}function se(){const _=this.resume(),j=this.stack[this.stack.length-1];j.title=_}function ce(){this.data.inReference=void 0}function x(){this.data.referenceType="collapsed"}function Oe(_){const j=this.resume(),B=this.stack[this.stack.length-1];B.label=j,B.identifier=sr(this.sliceSerialize(_)).toLowerCase(),this.data.referenceType="full"}function we(_){this.data.characterReferenceType=_.type}function ye(_){const j=this.sliceSerialize(_),B=this.data.characterReferenceType;let F;B?(F=V0(j,B==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):F=kn(j);const J=this.stack.pop();J.value+=F,J.position.end=Ft(_.end)}function Xe(_){M.call(this,_);const j=this.stack[this.stack.length-1];j.url=this.sliceSerialize(_)}function Fe(_){M.call(this,_);const j=this.stack[this.stack.length-1];j.url="mailto:"+this.sliceSerialize(_)}function Je(){return{type:"blockquote",children:[]}}function Qe(){return{type:"code",lang:null,meta:null,value:""}}function tr(){return{type:"inlineCode",value:""}}function Or(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ir(){return{type:"emphasis",children:[]}}function mt(){return{type:"heading",depth:0,children:[]}}function Kt(){return{type:"break"}}function Ge(){return{type:"html",value:""}}function rr(){return{type:"image",title:null,url:"",alt:null}}function pt(){return{type:"link",title:null,url:"",children:[]}}function ie(_){return{type:"list",ordered:_.type==="listOrdered",start:null,spread:_._spread,children:[]}}function yn(_){return{type:"listItem",spread:_._spread,checked:null,children:[]}}function De(){return{type:"paragraph",children:[]}}function ke(){return{type:"strong",children:[]}}function br(){return{type:"text",value:""}}function It(){return{type:"thematicBreak"}}}function Ft(e){return{line:e.line,column:e.column,offset:e.offset}}function ma(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?ma(e,n):cu(e,n)}}function cu(e,t){let r;for(r in t)if(da.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 pa(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Fr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Fr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Fr({start:t.start,end:t.end})+") is still open")}class hu{constructor(){this.map=[]}add(t,r,n){du(this,t,r,n)}consume(t){if(this.map.sort(function(a,s){return a[0]-s[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]),t.length=0;let i=n.pop();for(;i;)t.push(...i),i=n.pop();this.map.length=0}}function du(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}function mu(e,t){let r=!1;const n=[];for(;t<e.length;){const i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function pu(){return{flow:{null:{tokenize:fu,resolveAll:gu}}}}function fu(e,t,r){const n=this;let i=0,a=0,s;return o;function o(M){let V=n.events.length-1;for(;V>-1;){const ue=n.events[V][1].type;if(ue==="lineEnding"||ue==="linePrefix")V--;else break}const $=V>-1?n.events[V][1].type:null,de=$==="tableHead"||$==="tableRow"?T:l;return de===T&&n.parser.lazy[n.now().line]?r(M):de(M)}function l(M){return e.enter("tableHead"),e.enter("tableRow"),h(M)}function h(M){return M===124||(s=!0,a+=1),d(M)}function d(M){return M===null?r(M):te(M)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),m):r(M):fe(M)?ge(e,d,"whitespace")(M):(a+=1,s&&(s=!1,i+=1),M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),s=!0,d):(e.enter("data"),p(M)))}function p(M){return M===null||M===124||He(M)?(e.exit("data"),d(M)):(e.consume(M),M===92?g:p)}function g(M){return M===92||M===124?(e.consume(M),p):p(M)}function m(M){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(M):(e.enter("tableDelimiterRow"),s=!1,fe(M)?ge(e,z,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):z(M))}function z(M){return M===45||M===58?N(M):M===124?(s=!0,e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),k):H(M)}function k(M){return fe(M)?ge(e,N,"whitespace")(M):N(M)}function N(M){return M===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),A):M===45?(a+=1,A(M)):M===null||te(M)?W(M):H(M)}function A(M){return M===45?(e.enter("tableDelimiterFiller"),C(M)):H(M)}function C(M){return M===45?(e.consume(M),C):M===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),R):(e.exit("tableDelimiterFiller"),R(M))}function R(M){return fe(M)?ge(e,W,"whitespace")(M):W(M)}function W(M){return M===124?z(M):M===null||te(M)?!s||i!==a?H(M):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(M)):H(M)}function H(M){return r(M)}function T(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||te(M)?(e.exit("tableRow"),t(M)):fe(M)?ge(e,X,"whitespace")(M):(e.enter("data"),ee(M))}function ee(M){return M===null||M===124||He(M)?(e.exit("data"),X(M)):(e.consume(M),M===92?G:ee)}function G(M){return M===92||M===124?(e.consume(M),ee):ee(M)}}function gu(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],o=!1,l=0,h,d,p;const g=new hu;for(;++r<e.length;){const m=e[r],z=m[1];m[0]==="enter"?z.type==="tableHead"?(o=!1,l!==0&&(fa(g,t,l,h,d),d=void 0,l=0),h={type:"table",start:Object.assign({},z.start),end:Object.assign({},z.end)},g.add(r,0,[["enter",h,t]])):z.type==="tableRow"||z.type==="tableDelimiterRow"?(n=!0,p=void 0,a=[0,0,0,0],s=[0,r+1,0,0],o&&(o=!1,d={type:"tableBody",start:Object.assign({},z.start),end:Object.assign({},z.end)},g.add(r,0,[["enter",d,t]])),i=z.type==="tableDelimiterRow"?2:d?3:1):i&&(z.type==="data"||z.type==="tableDelimiterMarker"||z.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],p=Pr(g,t,a,i,void 0,p),a=[0,0,0,0]),s[2]=r)):z.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(s[0]=s[1],p=Pr(g,t,a,i,void 0,p)),a=s,s=[a[1],r,0,0])):z.type==="tableHead"?(o=!0,l=r):z.type==="tableRow"||z.type==="tableDelimiterRow"?(l=r,a[1]!==0?(s[0]=s[1],p=Pr(g,t,a,i,r,p)):s[1]!==0&&(p=Pr(g,t,s,i,r,p)),i=0):i&&(z.type==="data"||z.type==="tableDelimiterMarker"||z.type==="tableDelimiterFiller")&&(s[3]=r)}for(l!==0&&fa(g,t,l,h,d),g.consume(t.events),r=-1;++r<t.events.length;){const m=t.events[r];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=mu(t.events,r))}return e}function Pr(e,t,r,n,i,a){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(a.end=Object.assign({},or(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));const l=or(t.events,r[1]);if(a={type:s,start:Object.assign({},l),end:Object.assign({},l)},e.add(r[1],0,[["enter",a,t]]),r[2]!==0){const h=or(t.events,r[2]),d=or(t.events,r[3]),p={type:o,start:Object.assign({},h),end:Object.assign({},d)};if(e.add(r[2],0,[["enter",p,t]]),n!==2){const g=t.events[r[2]],m=t.events[r[3]];if(g[1].end=Object.assign({},m[1].end),g[1].type="chunkText",g[1].contentType="text",r[3]>r[2]+1){const z=r[2]+1,k=r[3]-r[2]-1;e.add(z,k,[])}}e.add(r[3]+1,0,[["exit",p,t]])}return i!==void 0&&(a.end=Object.assign({},or(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function fa(e,t,r,n,i){const a=[],s=or(t.events,r);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),n.end=Object.assign({},s),a.push(["exit",n,t]),e.add(r+1,0,a)}function or(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}function o4(){}function bu(){return{enter:{table:vu,tableData:ga,tableHeader:ga,tableRow:wu},exit:{codeText:xu,table:yu,tableData:_n,tableHeader:_n,tableRow:_n}}}function vu(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 yu(e){this.exit(e),this.data.inTable=void 0}function wu(e){this.enter({type:"tableRow",children:[]},e)}function _n(e){this.exit(e)}function ga(e){this.enter({type:"tableCell",children:[]},e)}function xu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ku));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function ku(e,t){return t==="|"?t:e}class qr extends Error{constructor(t="Operation was cancelled."){super(t)}}class wr{constructor(){K(this,"isCancellationRequested",!1);K(this,"listeners",new Set)}addListener(t){this.isCancellationRequested?t():this.listeners.add(t)}cancel(){if(!this.isCancellationRequested){this.isCancellationRequested=!0;for(const t of this.listeners)t();this.listeners.clear()}}removeListener(t){this.listeners.delete(t)}throwIfCancellationRequested(){if(this.isCancellationRequested)throw new qr}}class ba{constructor(t,r){K(this,"node");K(this,"codeNode");K(this,"_language");K(this,"_code");K(this,"_ct");this.node=q("pre",null,this.codeNode=q("code",null)),this.updateCodeAsync(t,r,this._ct=new wr)}async updateCodeAsync(t,r,n){const i=Su(t);if(i){if(await i.promise,n.isCancellationRequested)return;this._language=t,this._code=r,this.codeNode.innerHTML=St.result.default.highlight(r,{language:t}).value}else this._language=t,this._code=r,this.codeNode.textContent=r}updateCode(t,r){this._ct.cancel(),!(this._language===t&&this._code===r)&&this.updateCodeAsync(t,r,this._ct=new wr)}}let St;function zu(){return St||(St={promise:Promise.resolve().then(()=>Md)},St.promise.then(e=>St.result=e).catch(e=>St.error=e),St)}const va={};function Su(e){let t=va[e];if(t)return t;zu();let r;switch(e){case"javascript":r=Promise.resolve().then(()=>Od);break;case"csharp":r=Promise.resolve().then(()=>Dd);break;case"python":r=Promise.resolve().then(()=>Fd);break;case"css":r=Promise.resolve().then(()=>Vd);break;case"typescript":r=Promise.resolve().then(()=>Kd);break;default:return null}return t={promise:(async()=>{const n=await r;return(await St.promise).default.registerLanguage(e,n.default),n.default})()},va[e]=t,t.promise.then(n=>t.result=n).catch(n=>t.error=n),t}function Eu(e,t){const r=e.FS.readFile(t,{encoding:"binary"}),n=new Blob([r],{type:"image/png"});return URL.createObjectURL(n)}const Au={tokenize:Tu,concrete:!0},ya={tokenize:Mu,partial:!0};function Tu(e,t,r){const n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let s=0;return o;function o(C){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(C)}function l(C){return C===36?(e.consume(C),s++,l):s<2?r(C):(e.exit("mathFlowFenceSequence"),ge(e,h,"whitespace")(C))}function h(C){return C===null||te(C)?p(C):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(C))}function d(C){return C===null||te(C)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),p(C)):C===36?r(C):(e.consume(C),d)}function p(C){return e.exit("mathFlowFence"),n.interrupt?t(C):e.attempt(ya,g,N)(C)}function g(C){return e.attempt({tokenize:A,partial:!0},N,m)(C)}function m(C){return(a?ge(e,z,"linePrefix",a+1):z)(C)}function z(C){return C===null?N(C):te(C)?e.attempt(ya,g,N)(C):(e.enter("mathFlowValue"),k(C))}function k(C){return C===null||te(C)?(e.exit("mathFlowValue"),z(C)):(e.consume(C),k)}function N(C){return e.exit("mathFlow"),t(C)}function A(C,R,W){let H=0;return ge(C,T,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function T(G){return C.enter("mathFlowFence"),C.enter("mathFlowFenceSequence"),X(G)}function X(G){return G===36?(H++,C.consume(G),X):H<s?W(G):(C.exit("mathFlowFenceSequence"),ge(C,ee,"whitespace")(G))}function ee(G){return G===null||te(G)?(C.exit("mathFlowFence"),R(G)):W(G)}}}function Mu(e,t,r){const n=this;return i;function i(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function Cu(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:Nu,previous:_u};function n(i,a,s){let o=0,l,h;return d;function d(k){return i.enter("mathText"),i.enter("mathTextSequence"),p(k)}function p(k){return k===36?(i.consume(k),o++,p):o<2&&!r?s(k):(i.exit("mathTextSequence"),g(k))}function g(k){return k===null?s(k):k===36?(h=i.enter("mathTextSequence"),l=0,z(k)):k===32?(i.enter("space"),i.consume(k),i.exit("space"),g):te(k)?(i.enter("lineEnding"),i.consume(k),i.exit("lineEnding"),g):(i.enter("mathTextData"),m(k))}function m(k){return k===null||k===32||k===36||te(k)?(i.exit("mathTextData"),g(k)):(i.consume(k),m)}function z(k){return k===36?(i.consume(k),l++,z):l===o?(i.exit("mathTextSequence"),i.exit("mathText"),a(k)):(h.type="mathTextData",m(k))}}}function Nu(e){let t=e.length-4,r=3,n,i;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;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="mathTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function _u(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Bu(e){return{flow:{36:Au},text:{36:Cu(e)}}}class et{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 et(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class bt{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 bt(r,et.range(this,t))}}class P{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,i,a,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;i=s.start,a=s.end,i===o.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var l=o.slice(i,a).replace(/[^]/g,"$&̲"),h;i>15?h="…"+o.slice(i-15,i):h=o.slice(0,i);var d;a+15<o.length?d=o.slice(a,a+15)+"…":d=o.slice(a),n+=h+l+d}var p=new Error(n);return p.name="ParseError",p.__proto__=P.prototype,p.position=i,i!=null&&a!=null&&(p.length=a-i),p.rawMessage=t,p}}P.prototype.__proto__=Error.prototype;var Ru=function(t,r){return t.indexOf(r)!==-1},Ou=function(t,r){return t===void 0?r:t},Iu=/([A-Z])/g,Du=function(t){return t.replace(Iu,"-$1").toLowerCase()},Lu={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Fu=/[&><"']/g;function Pu(e){return String(e).replace(Fu,t=>Lu[t])}var wa=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},qu=function(t){var r=wa(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Hu=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Uu=function(t){var r=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(t);return r!=null?r[1]:"_relative"},oe={contains:Ru,deflt:Ou,escape:Pu,hyphenate:Du,getBaseElem:wa,isCharacterBox:qu,protocolFromUrl:Uu},Hr={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 Gu(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 Bn{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 Hr)if(Hr.hasOwnProperty(r)){var n=Hr[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:Gu(n)}}reportNonstrict(t,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(t,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new P("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);i==="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 '"+i+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var i=this.strict;if(typeof i=="function")try{i=i(t,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="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 '"+i+"': "+r+" ["+t+"]")),!1)}isTrusted(t){t.url&&!t.protocol&&(t.protocol=oe.protocolFromUrl(t.url));var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class Pt{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 vt[ju[this.id]]}sub(){return vt[$u[this.id]]}fracNum(){return vt[Vu[this.id]]}fracDen(){return vt[Wu[this.id]]}cramp(){return vt[Xu[this.id]]}text(){return vt[Ku[this.id]]}isTight(){return this.size>=2}}var Rn=0,Ur=1,lr=2,Et=3,xr=4,it=5,ur=6,je=7,vt=[new Pt(Rn,0,!1),new Pt(Ur,0,!0),new Pt(lr,1,!1),new Pt(Et,1,!0),new Pt(xr,2,!1),new Pt(it,2,!0),new Pt(ur,3,!1),new Pt(je,3,!0)],ju=[xr,it,xr,it,ur,je,ur,je],$u=[it,it,it,it,je,je,je,je],Vu=[lr,Et,xr,it,ur,je,ur,je],Wu=[Et,Et,it,it,je,je,je,je],Xu=[Ur,Ur,Et,Et,it,it,je,je],Ku=[Rn,Ur,lr,Et,lr,Et,lr,Et],ne={DISPLAY:vt[Rn],TEXT:vt[lr],SCRIPT:vt[xr],SCRIPTSCRIPT:vt[ur]},On=[{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 Yu(e){for(var t=0;t<On.length;t++)for(var r=On[t],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(e>=i[0]&&e<=i[1])return r.name}return null}var Gr=[];On.forEach(e=>e.blocks.forEach(t=>Gr.push(...t)));function xa(e){for(var t=0;t<Gr.length;t+=2)if(e>=Gr[t]&&e<=Gr[t+1])return!0;return!1}var cr=80,Zu=function(t,r){return"M95,"+(622+t+r)+`
6
+ `;break}case-2:{s=e?" ":" ";break}case-1:{if(!e&&i)continue;s=" ";break}default:s=String.fromCharCode(a)}i=a===-2,n.push(s)}return n.join("")}const d1=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:pu},disable:{null:[]},document:{42:dt,43:dt,45:dt,48:dt,49:dt,50:dt,51:dt,52:dt,53:dt,54:dt,55:dt,56:dt,57:dt,62:p0},flow:{35:wu,42:zn,45:[z0,zn],60:zu,61:z0,95:zn,96:v0,126:v0},flowInitial:{[-2]:xi,[-1]:xi,32:xi},insideSpan:{null:[wi,a1]},string:{38:g0,92:f0},text:{[-5]:Si,[-4]:Si,[-3]:Si,33:Uu,38:g0,42:wi,60:[Wl,Nu],91:$u,92:[vu,f0],93:ki,95:wi,96:iu}},Symbol.toStringTag,{value:"Module"}));function m1(t){const r=_l([d1,...(t||{}).extensions||[]]),n={defined:[],lazy:{},constructs:r,content:i(Fl),document:i(ql),flow:i(n1),string:i(s1),text:i(o1)};return n;function i(a){return s;function s(o){return u1(n,a,o)}}}function p1(t){for(;!y0(t););return t}const A0=/[\0\t\n\r]/g;function f1(){let t=1,e="",r=!0,n;return i;function i(a,s,o){const u=[];let h,d,f,b,p;for(a=e+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),f=0,e="",r&&(a.charCodeAt(0)===65279&&f++,r=void 0);f<a.length;){if(A0.lastIndex=f,h=A0.exec(a),b=h&&h.index!==void 0?h.index:a.length,p=a.charCodeAt(b),!h){e=a.slice(f);break}if(p===10&&f===b&&n)u.push(-3),n=void 0;else switch(n&&(u.push(-5),n=void 0),f<b&&(u.push(a.slice(f,b)),t+=b-f),p){case 0:{u.push(65533),t++;break}case 9:{for(d=Math.ceil(t/4)*4,u.push(-2);t++<d;)u.push(-1);break}case 10:{u.push(-4),t=1;break}default:n=!0,t=1}f=b+1}return o&&(n&&u.push(-5),e&&u.push(e),u.push(null)),u}}const g1=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function b1(t){return t.replace(g1,v1)}function v1(t,e,r){if(e)return e;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return c0(r.slice(a?2:1),a?16:10)}return gi(r)||t}function En(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?M0(t.position):"start"in t||"end"in t?M0(t):"line"in t||"column"in t?zi(t):""}function zi(t){return C0(t&&t.line)+":"+C0(t&&t.column)}function M0(t){return zi(t&&t.start)+"-"+zi(t&&t.end)}function C0(t){return t&&typeof t=="number"?t:1}const _0={}.hasOwnProperty;function y1(t,e,r){return typeof e!="string"&&(r=e,e=void 0),w1(r)(p1(m1(r).document().write(f1()(t,e,!0))))}function w1(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(nr),autolinkProtocol:j,autolinkEmail:j,atxHeading:a(Ir),blockQuote:a(it),characterEscape:j,characterReference:j,codeFenced:a(vr),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(vr,s),codeText:a(dn,s),codeTextData:j,data:j,codeFlowValue:j,definition:a(mn),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Rr),hardBreakEscape:a(Or),hardBreakTrailing:a(Or),htmlFlow:a(yr,s),htmlFlowData:j,htmlText:a(yr,s),htmlTextData:j,image:a(wr),label:s,link:a(nr),listItem:a(ya),listItemValue:b,listOrdered:a(pn,f),listUnordered:a(pn),paragraph:a(wa),reference:k,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(Ir),strong:a(ei),thematicBreak:a(ti)},exit:{atxHeading:u(),atxHeadingSequence:U,autolink:u(),autolinkEmail:Ct,autolinkProtocol:et,blockQuote:u(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:nt,characterReferenceMarkerNumeric:nt,characterReferenceValue:He,characterReference:ft,codeFenced:u(I),codeFencedFence:E,codeFencedFenceInfo:p,codeFencedFenceMeta:z,codeFlowValue:M,codeIndented:u(A),codeText:u(le),codeTextData:M,data:M,definition:u(),definitionDestinationString:Y,definitionLabelString:_,definitionTitleString:R,emphasis:u(),hardBreakEscape:u(G),hardBreakTrailing:u(G),htmlFlow:u(be),htmlFlowData:M,htmlText:u(he),htmlTextData:M,image:u(Me),label:Ce,labelText:ue,lineEnding:$,link:u(Ee),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:Qe,resourceDestinationString:w,resourceTitleString:Te,resource:Ae,setextHeading:u(ee),setextHeadingLineSequence:V,setextHeadingText:C,strong:u(),thematicBreak:u()}};N0(e,(t||{}).mdastExtensions||[]);const r={};return n;function n(N){let q={type:"root",children:[]};const de={stack:[q],tokenStack:[],config:e,enter:o,exit:h,buffer:s,resume:d,data:r},ye=[];let _e=-1;for(;++_e<N.length;)if(N[_e][1].type==="listOrdered"||N[_e][1].type==="listUnordered")if(N[_e][0]==="enter")ye.push(_e);else{const yt=ye.pop();_e=i(N,yt,_e)}for(_e=-1;++_e<N.length;){const yt=e[N[_e][0]];_0.call(yt,N[_e][1].type)&&yt[N[_e][1].type].call(Object.assign({sliceSerialize:N[_e][2].sliceSerialize},de),N[_e][1])}if(de.tokenStack.length>0){const yt=de.tokenStack[de.tokenStack.length-1];(yt[1]||B0).call(de,void 0,yt[0])}for(q.position={start:cr(N.length>0?N[0][1].start:{line:1,column:1,offset:0}),end:cr(N.length>0?N[N.length-2][1].end:{line:1,column:1,offset:0})},_e=-1;++_e<e.transforms.length;)q=e.transforms[_e](q)||q;return q}function i(N,q,de){let ye=q-1,_e=-1,yt=!1,ar,Bt,xr,Dr;for(;++ye<=de;){const ct=N[ye];switch(ct[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ct[0]==="enter"?_e++:_e--,Dr=void 0;break}case"lineEndingBlank":{ct[0]==="enter"&&(ar&&!Dr&&!_e&&!xr&&(xr=ye),Dr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Dr=void 0}if(!_e&&ct[0]==="enter"&&ct[1].type==="listItemPrefix"||_e===-1&&ct[0]==="exit"&&(ct[1].type==="listUnordered"||ct[1].type==="listOrdered")){if(ar){let kr=ye;for(Bt=void 0;kr--;){const wt=N[kr];if(wt[1].type==="lineEnding"||wt[1].type==="lineEndingBlank"){if(wt[0]==="exit")continue;Bt&&(N[Bt][1].type="lineEndingBlank",yt=!0),wt[1].type="lineEnding",Bt=kr}else if(!(wt[1].type==="linePrefix"||wt[1].type==="blockQuotePrefix"||wt[1].type==="blockQuotePrefixWhitespace"||wt[1].type==="blockQuoteMarker"||wt[1].type==="listItemIndent"))break}xr&&(!Bt||xr<Bt)&&(ar._spread=!0),ar.end=Object.assign({},Bt?N[Bt][1].start:ct[1].end),N.splice(Bt||ye,0,["exit",ar,ct[2]]),ye++,de++}if(ct[1].type==="listItemPrefix"){const kr={type:"listItem",_spread:!1,start:Object.assign({},ct[1].start),end:void 0};ar=kr,N.splice(ye,0,["enter",kr,ct[2]]),ye++,de++,xr=void 0,Dr=!0}}}return N[q][1]._spread=yt,de}function a(N,q){return de;function de(ye){o.call(this,N(ye),ye),q&&q.call(this,ye)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(N,q,de){this.stack[this.stack.length-1].children.push(N),this.stack.push(N),this.tokenStack.push([q,de||void 0]),N.position={start:cr(q.start),end:void 0}}function u(N){return q;function q(de){N&&N.call(this,de),h.call(this,de)}}function h(N,q){const de=this.stack.pop(),ye=this.tokenStack.pop();if(ye)ye[0].type!==N.type&&(q?q.call(this,N,ye[0]):(ye[1]||B0).call(this,N,ye[0]));else throw new Error("Cannot close `"+N.type+"` ("+En({start:N.start,end:N.end})+"): it’s not open");de.position.end=cr(N.end)}function d(){return Ml(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function b(N){if(this.data.expectingFirstListItemValue){const q=this.stack[this.stack.length-2];q.start=Number.parseInt(this.sliceSerialize(N),10),this.data.expectingFirstListItemValue=void 0}}function p(){const N=this.resume(),q=this.stack[this.stack.length-1];q.lang=N}function z(){const N=this.resume(),q=this.stack[this.stack.length-1];q.meta=N}function E(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const N=this.resume(),q=this.stack[this.stack.length-1];q.value=N.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const N=this.resume(),q=this.stack[this.stack.length-1];q.value=N.replace(/(\r?\n|\r)$/g,"")}function _(N){const q=this.resume(),de=this.stack[this.stack.length-1];de.label=q,de.identifier=Gr(this.sliceSerialize(N)).toLowerCase()}function R(){const N=this.resume(),q=this.stack[this.stack.length-1];q.title=N}function Y(){const N=this.resume(),q=this.stack[this.stack.length-1];q.url=N}function U(N){const q=this.stack[this.stack.length-1];if(!q.depth){const de=this.sliceSerialize(N).length;q.depth=de}}function C(){this.data.setextHeadingSlurpLineEnding=!0}function V(N){const q=this.stack[this.stack.length-1];q.depth=this.sliceSerialize(N).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function j(N){const de=this.stack[this.stack.length-1].children;let ye=de[de.length-1];(!ye||ye.type!=="text")&&(ye=ir(),ye.position={start:cr(N.start),end:void 0},de.push(ye)),this.stack.push(ye)}function M(N){const q=this.stack.pop();q.value+=this.sliceSerialize(N),q.position.end=cr(N.end)}function $(N){const q=this.stack[this.stack.length-1];if(this.data.atHardBreak){const de=q.children[q.children.length-1];de.position.end=cr(N.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&e.canContainEols.includes(q.type)&&(j.call(this,N),M.call(this,N))}function G(){this.data.atHardBreak=!0}function be(){const N=this.resume(),q=this.stack[this.stack.length-1];q.value=N}function he(){const N=this.resume(),q=this.stack[this.stack.length-1];q.value=N}function le(){const N=this.resume(),q=this.stack[this.stack.length-1];q.value=N}function Ee(){const N=this.stack[this.stack.length-1];if(this.data.inReference){const q=this.data.referenceType||"shortcut";N.type+="Reference",N.referenceType=q,delete N.url,delete N.title}else delete N.identifier,delete N.label;this.data.referenceType=void 0}function Me(){const N=this.stack[this.stack.length-1];if(this.data.inReference){const q=this.data.referenceType||"shortcut";N.type+="Reference",N.referenceType=q,delete N.url,delete N.title}else delete N.identifier,delete N.label;this.data.referenceType=void 0}function ue(N){const q=this.sliceSerialize(N),de=this.stack[this.stack.length-2];de.label=b1(q),de.identifier=Gr(q).toLowerCase()}function Ce(){const N=this.stack[this.stack.length-1],q=this.resume(),de=this.stack[this.stack.length-1];if(this.data.inReference=!0,de.type==="link"){const ye=N.children;de.children=ye}else de.alt=q}function w(){const N=this.resume(),q=this.stack[this.stack.length-1];q.url=N}function Te(){const N=this.resume(),q=this.stack[this.stack.length-1];q.title=N}function Ae(){this.data.inReference=void 0}function k(){this.data.referenceType="collapsed"}function Qe(N){const q=this.resume(),de=this.stack[this.stack.length-1];de.label=q,de.identifier=Gr(this.sliceSerialize(N)).toLowerCase(),this.data.referenceType="full"}function nt(N){this.data.characterReferenceType=N.type}function He(N){const q=this.sliceSerialize(N),de=this.data.characterReferenceType;let ye;de?(ye=c0(q,de==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ye=gi(q);const _e=this.stack[this.stack.length-1];_e.value+=ye}function ft(N){const q=this.stack.pop();q.position.end=cr(N.end)}function et(N){M.call(this,N);const q=this.stack[this.stack.length-1];q.url=this.sliceSerialize(N)}function Ct(N){M.call(this,N);const q=this.stack[this.stack.length-1];q.url="mailto:"+this.sliceSerialize(N)}function it(){return{type:"blockquote",children:[]}}function vr(){return{type:"code",lang:null,meta:null,value:""}}function dn(){return{type:"inlineCode",value:""}}function mn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Rr(){return{type:"emphasis",children:[]}}function Ir(){return{type:"heading",depth:0,children:[]}}function Or(){return{type:"break"}}function yr(){return{type:"html",value:""}}function wr(){return{type:"image",title:null,url:"",alt:null}}function nr(){return{type:"link",title:null,url:"",children:[]}}function pn(N){return{type:"list",ordered:N.type==="listOrdered",start:null,spread:N._spread,children:[]}}function ya(N){return{type:"listItem",spread:N._spread,checked:null,children:[]}}function wa(){return{type:"paragraph",children:[]}}function ei(){return{type:"strong",children:[]}}function ir(){return{type:"text",value:""}}function ti(){return{type:"thematicBreak"}}}function cr(t){return{line:t.line,column:t.column,offset:t.offset}}function N0(t,e){let r=-1;for(;++r<e.length;){const n=e[r];Array.isArray(n)?N0(t,n):x1(t,n)}}function x1(t,e){let r;for(r in e)if(_0.call(e,r))switch(r){case"canContainEols":{const n=e[r];n&&t[r].push(...n);break}case"transforms":{const n=e[r];n&&t[r].push(...n);break}case"enter":case"exit":{const n=e[r];n&&Object.assign(t[r],n);break}}}function B0(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+En({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+En({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+En({start:e.start,end:e.end})+") is still open")}class k1{constructor(){this.map=[]}add(e,r,n){S1(this,e,r,n)}consume(e){if(this.map.sort(function(a,s){return a[0]-s[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(e.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),e.length=this.map[r][0];n.push([...e]),e.length=0;let i=n.pop();for(;i;)e.push(...i),i=n.pop();this.map.length=0}}function S1(t,e,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<t.map.length;){if(t.map[i][0]===e){t.map[i][1]+=r,t.map[i][2].push(...n);return}i+=1}t.map.push([e,r,n])}}function z1(t,e){let r=!1;const n=[];for(;e<t.length;){const i=t[e];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){const a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);e+=1}return n}function E1(){return{flow:{null:{name:"table",tokenize:T1,resolveAll:A1}}}}function T1(t,e,r){const n=this;let i=0,a=0,s;return o;function o(M){let $=n.events.length-1;for(;$>-1;){const he=n.events[$][1].type;if(he==="lineEnding"||he==="linePrefix")$--;else break}const G=$>-1?n.events[$][1].type:null,be=G==="tableHead"||G==="tableRow"?C:u;return be===C&&n.parser.lazy[n.now().line]?r(M):be(M)}function u(M){return t.enter("tableHead"),t.enter("tableRow"),h(M)}function h(M){return M===124||(s=!0,a+=1),d(M)}function d(M){return M===null?r(M):re(M)?a>1?(a=0,n.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(M),t.exit("lineEnding"),p):r(M):we(M)?xe(t,d,"whitespace")(M):(a+=1,s&&(s=!1,i+=1),M===124?(t.enter("tableCellDivider"),t.consume(M),t.exit("tableCellDivider"),s=!0,d):(t.enter("data"),f(M)))}function f(M){return M===null||M===124||rt(M)?(t.exit("data"),d(M)):(t.consume(M),M===92?b:f)}function b(M){return M===92||M===124?(t.consume(M),f):f(M)}function p(M){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(M):(t.enter("tableDelimiterRow"),s=!1,we(M)?xe(t,z,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):z(M))}function z(M){return M===45||M===58?I(M):M===124?(s=!0,t.enter("tableCellDivider"),t.consume(M),t.exit("tableCellDivider"),E):U(M)}function E(M){return we(M)?xe(t,I,"whitespace")(M):I(M)}function I(M){return M===58?(a+=1,s=!0,t.enter("tableDelimiterMarker"),t.consume(M),t.exit("tableDelimiterMarker"),A):M===45?(a+=1,A(M)):M===null||re(M)?Y(M):U(M)}function A(M){return M===45?(t.enter("tableDelimiterFiller"),_(M)):U(M)}function _(M){return M===45?(t.consume(M),_):M===58?(s=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(M),t.exit("tableDelimiterMarker"),R):(t.exit("tableDelimiterFiller"),R(M))}function R(M){return we(M)?xe(t,Y,"whitespace")(M):Y(M)}function Y(M){return M===124?z(M):M===null||re(M)?!s||i!==a?U(M):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(M)):U(M)}function U(M){return r(M)}function C(M){return t.enter("tableRow"),V(M)}function V(M){return M===124?(t.enter("tableCellDivider"),t.consume(M),t.exit("tableCellDivider"),V):M===null||re(M)?(t.exit("tableRow"),e(M)):we(M)?xe(t,V,"whitespace")(M):(t.enter("data"),ee(M))}function ee(M){return M===null||M===124||rt(M)?(t.exit("data"),V(M)):(t.consume(M),M===92?j:ee)}function j(M){return M===92||M===124?(t.consume(M),ee):ee(M)}}function A1(t,e){let r=-1,n=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],o=!1,u=0,h,d,f;const b=new k1;for(;++r<t.length;){const p=t[r],z=p[1];p[0]==="enter"?z.type==="tableHead"?(o=!1,u!==0&&(R0(b,e,u,h,d),d=void 0,u=0),h={type:"table",start:Object.assign({},z.start),end:Object.assign({},z.end)},b.add(r,0,[["enter",h,e]])):z.type==="tableRow"||z.type==="tableDelimiterRow"?(n=!0,f=void 0,a=[0,0,0,0],s=[0,r+1,0,0],o&&(o=!1,d={type:"tableBody",start:Object.assign({},z.start),end:Object.assign({},z.end)},b.add(r,0,[["enter",d,e]])),i=z.type==="tableDelimiterRow"?2:d?3:1):i&&(z.type==="data"||z.type==="tableDelimiterMarker"||z.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],f=Tn(b,e,a,i,void 0,f),a=[0,0,0,0]),s[2]=r)):z.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(s[0]=s[1],f=Tn(b,e,a,i,void 0,f)),a=s,s=[a[1],r,0,0])):z.type==="tableHead"?(o=!0,u=r):z.type==="tableRow"||z.type==="tableDelimiterRow"?(u=r,a[1]!==0?(s[0]=s[1],f=Tn(b,e,a,i,r,f)):s[1]!==0&&(f=Tn(b,e,s,i,r,f)),i=0):i&&(z.type==="data"||z.type==="tableDelimiterMarker"||z.type==="tableDelimiterFiller")&&(s[3]=r)}for(u!==0&&R0(b,e,u,h,d),b.consume(e.events),r=-1;++r<e.events.length;){const p=e.events[r];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=z1(e.events,r))}return t}function Tn(t,e,r,n,i,a){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(a.end=Object.assign({},$r(e.events,r[0])),t.add(r[0],0,[["exit",a,e]]));const u=$r(e.events,r[1]);if(a={type:s,start:Object.assign({},u),end:Object.assign({},u)},t.add(r[1],0,[["enter",a,e]]),r[2]!==0){const h=$r(e.events,r[2]),d=$r(e.events,r[3]),f={type:o,start:Object.assign({},h),end:Object.assign({},d)};if(t.add(r[2],0,[["enter",f,e]]),n!==2){const b=e.events[r[2]],p=e.events[r[3]];if(b[1].end=Object.assign({},p[1].end),b[1].type="chunkText",b[1].contentType="text",r[3]>r[2]+1){const z=r[2]+1,E=r[3]-r[2]-1;t.add(z,E,[])}}t.add(r[3]+1,0,[["exit",f,e]])}return i!==void 0&&(a.end=Object.assign({},$r(e.events,i)),t.add(i,0,[["exit",a,e]]),a=void 0),a}function R0(t,e,r,n,i){const a=[],s=$r(e.events,r);i&&(i.end=Object.assign({},s),a.push(["exit",i,e])),n.end=Object.assign({},s),a.push(["exit",n,e]),t.add(r+1,0,a)}function $r(t,e){const r=t[e],n=r[0]==="enter"?"start":"end";return r[1][n]}function d4(){}function M1(){return{enter:{table:C1,tableData:I0,tableHeader:I0,tableRow:N1},exit:{codeText:B1,table:_1,tableData:Ei,tableHeader:Ei,tableRow:Ei}}}function C1(t){const e=t._align;this.enter({type:"table",align:e.map(function(r){return r==="none"?null:r}),children:[]},t),this.data.inTable=!0}function _1(t){this.exit(t),this.data.inTable=void 0}function N1(t){this.enter({type:"tableRow",children:[]},t)}function Ei(t){this.exit(t)}function I0(t){this.enter({type:"tableCell",children:[]},t)}function B1(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,R1));const r=this.stack[this.stack.length-1];r.type,r.value=e,this.exit(t)}function R1(t,e){return e==="|"?e:t}class O0{constructor(e,r){W(this,"node");W(this,"codeNode");W(this,"_language");W(this,"_code");W(this,"_ct");this.node=F("pre",null,this.codeNode=F("code",null)),this.updateCodeAsync(e,r,this._ct=new Fr)}async updateCodeAsync(e,r,n){const i=O1(e);if(i){if(await i.promise,n.isCancellationRequested)return;this._language=e,this._code=r,this.codeNode.innerHTML=Vt.result.default.highlight(r,{language:e}).value}else this._language=e,this._code=r,this.codeNode.textContent=r}updateCode(e,r){this._ct.cancel(),!(this._language===e&&this._code===r)&&this.updateCodeAsync(e,r,this._ct=new Fr)}}let Vt;function I1(){return Vt||(Vt={promise:Promise.resolve().then(()=>hd)},Vt.promise.then(t=>Vt.result=t).catch(t=>Vt.error=t),Vt)}const D0={};function O1(t){let e=D0[t];if(e)return e;I1();let r;switch(t){case"javascript":r=Promise.resolve().then(()=>bd);break;case"csharp":r=Promise.resolve().then(()=>yd);break;case"python":r=Promise.resolve().then(()=>xd);break;case"css":r=Promise.resolve().then(()=>Nd);break;case"typescript":r=Promise.resolve().then(()=>Id);break;default:return null}return e={promise:(async()=>{const n=await r;return(await Vt.promise).default.registerLanguage(t,n.default),n.default})()},D0[t]=e,e.promise.then(n=>e.result=n).catch(n=>e.error=n),e}function D1(t,e){console.debug("getImageFromPyodide",e);var r=t.FS.readFile(e,{encoding:"binary"});const n=new Blob([r],{type:"image/png"});return URL.createObjectURL(n)}const L1={tokenize:F1,concrete:!0,name:"mathFlow"},L0={tokenize:P1,partial:!0};function F1(t,e,r){const n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let s=0;return o;function o(_){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),u(_)}function u(_){return _===36?(t.consume(_),s++,u):s<2?r(_):(t.exit("mathFlowFenceSequence"),xe(t,h,"whitespace")(_))}function h(_){return _===null||re(_)?f(_):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),d(_))}function d(_){return _===null||re(_)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),f(_)):_===36?r(_):(t.consume(_),d)}function f(_){return t.exit("mathFlowFence"),n.interrupt?e(_):t.attempt(L0,b,I)(_)}function b(_){return t.attempt({tokenize:A,partial:!0},I,p)(_)}function p(_){return(a?xe(t,z,"linePrefix",a+1):z)(_)}function z(_){return _===null?I(_):re(_)?t.attempt(L0,b,I)(_):(t.enter("mathFlowValue"),E(_))}function E(_){return _===null||re(_)?(t.exit("mathFlowValue"),z(_)):(t.consume(_),E)}function I(_){return t.exit("mathFlow"),e(_)}function A(_,R,Y){let U=0;return xe(_,C,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function C(j){return _.enter("mathFlowFence"),_.enter("mathFlowFenceSequence"),V(j)}function V(j){return j===36?(U++,_.consume(j),V):U<s?Y(j):(_.exit("mathFlowFenceSequence"),xe(_,ee,"whitespace")(j))}function ee(j){return j===null||re(j)?(_.exit("mathFlowFence"),R(j)):Y(j)}}}function P1(t,e,r){const n=this;return i;function i(s){return s===null?e(s):(t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):e(s)}}function q1(t){let r={}.singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:H1,previous:U1,name:"mathText"};function n(i,a,s){let o=0,u,h;return d;function d(E){return i.enter("mathText"),i.enter("mathTextSequence"),f(E)}function f(E){return E===36?(i.consume(E),o++,f):o<2&&!r?s(E):(i.exit("mathTextSequence"),b(E))}function b(E){return E===null?s(E):E===36?(h=i.enter("mathTextSequence"),u=0,z(E)):E===32?(i.enter("space"),i.consume(E),i.exit("space"),b):re(E)?(i.enter("lineEnding"),i.consume(E),i.exit("lineEnding"),b):(i.enter("mathTextData"),p(E))}function p(E){return E===null||E===32||E===36||re(E)?(i.exit("mathTextData"),b(E)):(i.consume(E),p)}function z(E){return E===36?(i.consume(E),u++,z):u===o?(i.exit("mathTextSequence"),i.exit("mathText"),a(E)):(h.type="mathTextData",p(E))}}}function H1(t){let e=t.length-4,r=3,n,i;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(n=r;++n<e;)if(t[n][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[r][1].type="mathTextPadding",r+=2,e-=2;break}}for(n=r-1,e++;++n<=e;)i===void 0?n!==e&&t[n][1].type!=="lineEnding"&&(i=n):(n===e||t[n][1].type==="lineEnding")&&(t[i][1].type="mathTextData",n!==i+2&&(t[i][1].end=t[n-1][1].end,t.splice(i+2,n-i-2),e-=n-i-2,n=i+2),i=void 0);return t}function U1(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function G1(t){return{flow:{36:L1},text:{36:q1()}}}class bt{constructor(e,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=n}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new bt(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}class zt{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new zt(r,bt.range(this,e))}}class L{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+e,i,a,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;i=s.start,a=s.end,i===o.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var u=o.slice(i,a).replace(/[^]/g,"$&̲"),h;i>15?h="…"+o.slice(i-15,i):h=o.slice(0,i);var d;a+15<o.length?d=o.slice(a,a+15)+"…":d=o.slice(a),n+=h+u+d}var f=new Error(n);return f.name="ParseError",f.__proto__=L.prototype,f.position=i,i!=null&&a!=null&&(f.length=a-i),f.rawMessage=e,f}}L.prototype.__proto__=Error.prototype;var $1=function(e,r){return e.indexOf(r)!==-1},W1=function(e,r){return e===void 0?r:e},j1=/([A-Z])/g,V1=function(e){return e.replace(j1,"-$1").toLowerCase()},X1={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},K1=/[&><"']/g;function Y1(t){return String(t).replace(K1,e=>X1[e])}var F0=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},Z1=function(e){var r=F0(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},J1=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},Q1=function(e){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},ie={contains:$1,deflt:W1,escape:Y1,hyphenate:V1,getBaseElem:F0,isCharacterBox:Z1,protocolFromUrl:Q1},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:t=>"#"+t},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:(t,e)=>(e.push(t),e)},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:t=>Math.max(0,t),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:t=>Math.max(0,t),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:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function ec(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;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 Ti{constructor(e){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,e=e||{};for(var r in An)if(An.hasOwnProperty(r)){var n=An[r];this[r]=e[r]!==void 0?n.processor?n.processor(e[r]):e[r]:ec(n)}}reportNonstrict(e,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(e,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new L("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,n){var i=this.strict;if(typeof i=="function")try{i=i(e,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=ie.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}}class hr{constructor(e,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=n}sup(){return Ft[tc[this.id]]}sub(){return Ft[rc[this.id]]}fracNum(){return Ft[nc[this.id]]}fracDen(){return Ft[ic[this.id]]}cramp(){return Ft[ac[this.id]]}text(){return Ft[sc[this.id]]}isTight(){return this.size>=2}}var Ai=0,Mn=1,Wr=2,Xt=3,tn=4,Et=5,jr=6,ot=7,Ft=[new hr(Ai,0,!1),new hr(Mn,0,!0),new hr(Wr,1,!1),new hr(Xt,1,!0),new hr(tn,2,!1),new hr(Et,2,!0),new hr(jr,3,!1),new hr(ot,3,!0)],tc=[tn,Et,tn,Et,jr,ot,jr,ot],rc=[Et,Et,Et,Et,ot,ot,ot,ot],nc=[Wr,Xt,tn,Et,jr,ot,jr,ot],ic=[Xt,Xt,Et,Et,ot,ot,ot,ot],ac=[Mn,Mn,Xt,Xt,Et,Et,ot,ot],sc=[Ai,Mn,Wr,Xt,Wr,Xt,Wr,Xt],se={DISPLAY:Ft[Ai],TEXT:Ft[Wr],SCRIPT:Ft[tn],SCRIPTSCRIPT:Ft[jr]},Mi=[{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 oc(t){for(var e=0;e<Mi.length;e++)for(var r=Mi[e],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(t>=i[0]&&t<=i[1])return r.name}return null}var Cn=[];Mi.forEach(t=>t.blocks.forEach(e=>Cn.push(...e)));function P0(t){for(var e=0;e<Cn.length;e+=2)if(t>=Cn[e]&&t<=Cn[e+1])return!0;return!1}var Vr=80,lc=function(e,r){return"M95,"+(622+e+r)+`
4
7
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
5
8
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
6
9
  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
7
10
  s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
8
11
  c69,-144,104.5,-217.7,106.5,-221
9
- l`+t/2.075+" -"+t+`
12
+ l`+e/2.075+" -"+e+`
10
13
  c5.3,-9.3,12,-14,20,-14
11
- H400000v`+(40+t)+`H845.2724
14
+ H400000v`+(40+e)+`H845.2724
12
15
  s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
13
16
  c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
14
- M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Ju=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
17
+ M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},uc=function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119
15
18
  c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
16
19
  c340,-704.7,510.7,-1060.3,512,-1067
17
- l`+t/2.084+" -"+t+`
20
+ l`+e/2.084+" -"+e+`
18
21
  c4.7,-7.3,11,-11,19,-11
19
- H40000v`+(40+t)+`H1012.3
22
+ H40000v`+(40+e)+`H1012.3
20
23
  s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
21
24
  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
22
25
  s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
23
26
  c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
24
- M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Qu=function(t,r){return"M983 "+(10+t+r)+`
25
- l`+t/3.13+" -"+t+`
26
- c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
27
+ M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},cc=function(e,r){return"M983 "+(10+e+r)+`
28
+ l`+e/3.13+" -"+e+`
29
+ c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
27
30
  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
28
31
  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
29
32
  c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
30
33
  c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
31
34
  c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
32
35
  c53.7,-170.3,84.5,-266.8,92.5,-289.5z
33
- M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},e1=function(t,r){return"M424,"+(2398+t+r)+`
36
+ M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},hc=function(e,r){return"M424,"+(2398+e+r)+`
34
37
  c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
35
38
  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
36
39
  s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
37
40
  s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
38
- l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
39
- v`+(40+t)+`H1014.6
41
+ l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000
42
+ v`+(40+e)+`H1014.6
40
43
  s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
41
44
  c-2,6,-10,9,-24,9
42
- c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
43
- h400000v`+(40+t)+"h-400000z"},t1=function(t,r){return"M473,"+(2713+t+r)+`
44
- c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
45
- c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
45
+ c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+r+`
46
+ h400000v`+(40+e)+"h-400000z"},dc=function(e,r){return"M473,"+(2713+e+r)+`
47
+ c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
48
+ c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
46
49
  s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
47
50
  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
48
51
  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
49
52
  s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
50
- 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},r1=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},n1=function(t,r,n){var i=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
53
+ 606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},mc=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},pc=function(e,r,n){var i=n-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+`
51
54
  H742v`+i+`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
52
55
  h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
53
56
  c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
54
- 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},a1=function(t,r,n){r=1e3*r;var i="";switch(t){case"sqrtMain":i=Zu(r,cr);break;case"sqrtSize1":i=Ju(r,cr);break;case"sqrtSize2":i=Qu(r,cr);break;case"sqrtSize3":i=e1(r,cr);break;case"sqrtSize4":i=t1(r,cr);break;case"sqrtTall":i=n1(r,cr,n)}return i},i1=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""}},ka={doubleleftarrow:`M262 157
57
+ 219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},fc=function(e,r,n){r=1e3*r;var i="";switch(e){case"sqrtMain":i=lc(r,Vr);break;case"sqrtSize1":i=uc(r,Vr);break;case"sqrtSize2":i=cc(r,Vr);break;case"sqrtSize3":i=hc(r,Vr);break;case"sqrtSize4":i=dc(r,Vr);break;case"sqrtTall":i=pc(r,Vr,n)}return i},gc=function(e,r){switch(e){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""}},q0={doubleleftarrow:`M262 157
55
58
  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
56
59
  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
57
60
  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
@@ -226,7 +229,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`
226
229
  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,
227
230
  -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
228
231
  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
229
- M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},s1=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
232
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},bc=function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
230
233
  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
231
234
  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
232
235
  c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
@@ -254,24 +257,18 @@ 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
254
257
  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
255
258
  c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
256
259
  l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
257
- -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 kr{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 oe.contains(this.classes,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 yt={"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]}},jr={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]},za={Å:"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 o1(e,t){yt[e]=t}function In(e,t,r){if(!yt[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=yt[t][n];if(!i&&e[0]in za&&(n=za[e[0]].charCodeAt(0),i=yt[t][n]),!i&&r==="text"&&xa(n)&&(i=yt[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Dn={};function l1(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Dn[t]){var r=Dn[t]={cssEmPerMu:jr.quad[t]/18};for(var n in jr)jr.hasOwnProperty(n)&&(r[n]=jr[n][t])}return Dn[t]}var u1=[[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]],Sa=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ea=function(t,r){return r.size<2?t:u1[t-1][r.size-1]};class At{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||At.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=Sa[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 At(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Ea(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:Sa[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Ea(At.BASESIZE,t);return this.size===r&&this.textSize===At.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!==At.BASESIZE?["sizing","reset-size"+this.size,"size"+At.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=l1(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}At.BASESIZE=6;var Ln={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},c1={ex:!0,em:!0,mu:!0},Aa=function(t){return typeof t!="string"&&(t=t.unit),t in Ln||t in c1||t==="ex"},Te=function(t,r){var n;if(t.unit in Ln)n=Ln[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,t.unit==="ex")n=i.fontMetrics().xHeight;else if(t.unit==="em")n=i.fontMetrics().quad;else throw new P("Invalid unit: '"+t.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},U=function(t){return+t.toFixed(4)+"em"},qt=function(t){return t.filter(r=>r).join(" ")},Ta=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 i=r.getColor();i&&(this.style.color=i)}},Ma=function(t){var r=document.createElement(t);r.className=qt(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r},Ca=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+oe.escape(qt(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=oe.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+oe.escape(n)+'"');for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&(r+=" "+a+'="'+oe.escape(this.attributes[a])+'"');r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class zr{constructor(t,r,n,i){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,Ta.call(this,t,n,i),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return oe.contains(this.classes,t)}toNode(){return Ma.call(this,"span")}toMarkup(){return Ca.call(this,"span")}}class Fn{constructor(t,r,n,i){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,Ta.call(this,r,i),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return oe.contains(this.classes,t)}toNode(){return Ma.call(this,"a")}toMarkup(){return Ca.call(this,"a")}}class h1{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 oe.contains(this.classes,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='"+this.src+" 'alt='"+this.alt+"' ",r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=oe.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+oe.escape(r)+'"'),t+="'/>",t}}var d1={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class st{constructor(t,r,n,i,a,s,o,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=i||0,this.skew=a||0,this.width=s||0,this.classes=o||[],this.style=l||{},this.maxFontSize=0;var h=Yu(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=d1[this.text])}hasClass(t){return oe.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=U(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=qt(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+=oe.escape(qt(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=oe.hyphenate(i)+":"+this.style[i]+";");n&&(t=!0,r+=' style="'+oe.escape(n)+'"');var a=oe.escape(this.text);return t?(r+=">",r+=a,r+="</span>",r):a}}class Tt{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 i=0;i<this.children.length;i++)r.appendChild(this.children[i].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+"='"+this.attributes[r]+"'");t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class Ht{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",ka[this.pathName]),r}toMarkup(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+ka[this.pathName]+"'/>"}}class Pn{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+"='"+this.attributes[r]+"'");return t+="/>",t}}function Na(e){if(e instanceof st)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function m1(e){if(e instanceof zr)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var p1={bin:1,close:1,inner:1,open:1,punct:1,rel:1},f1={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Se={math:{},text:{}};function u(e,t,r,n,i,a){Se[e][i]={font:t,group:r,replace:n},a&&n&&(Se[e][n]=Se[e][i])}var c="math",I="text",f="main",y="ams",Ee="accent-token",Z="bin",$e="close",hr="inner",ae="mathord",_e="op-token",tt="open",$r="punct",w="rel",Mt="spacing",S="textord";u(c,f,w,"≡","\\equiv",!0),u(c,f,w,"≺","\\prec",!0),u(c,f,w,"≻","\\succ",!0),u(c,f,w,"∼","\\sim",!0),u(c,f,w,"⊥","\\perp"),u(c,f,w,"⪯","\\preceq",!0),u(c,f,w,"⪰","\\succeq",!0),u(c,f,w,"≃","\\simeq",!0),u(c,f,w,"∣","\\mid",!0),u(c,f,w,"≪","\\ll",!0),u(c,f,w,"≫","\\gg",!0),u(c,f,w,"≍","\\asymp",!0),u(c,f,w,"∥","\\parallel"),u(c,f,w,"⋈","\\bowtie",!0),u(c,f,w,"⌣","\\smile",!0),u(c,f,w,"⊑","\\sqsubseteq",!0),u(c,f,w,"⊒","\\sqsupseteq",!0),u(c,f,w,"≐","\\doteq",!0),u(c,f,w,"⌢","\\frown",!0),u(c,f,w,"∋","\\ni",!0),u(c,f,w,"∝","\\propto",!0),u(c,f,w,"⊢","\\vdash",!0),u(c,f,w,"⊣","\\dashv",!0),u(c,f,w,"∋","\\owns"),u(c,f,$r,".","\\ldotp"),u(c,f,$r,"⋅","\\cdotp"),u(c,f,S,"#","\\#"),u(I,f,S,"#","\\#"),u(c,f,S,"&","\\&"),u(I,f,S,"&","\\&"),u(c,f,S,"ℵ","\\aleph",!0),u(c,f,S,"∀","\\forall",!0),u(c,f,S,"ℏ","\\hbar",!0),u(c,f,S,"∃","\\exists",!0),u(c,f,S,"∇","\\nabla",!0),u(c,f,S,"♭","\\flat",!0),u(c,f,S,"ℓ","\\ell",!0),u(c,f,S,"♮","\\natural",!0),u(c,f,S,"♣","\\clubsuit",!0),u(c,f,S,"℘","\\wp",!0),u(c,f,S,"♯","\\sharp",!0),u(c,f,S,"♢","\\diamondsuit",!0),u(c,f,S,"ℜ","\\Re",!0),u(c,f,S,"♡","\\heartsuit",!0),u(c,f,S,"ℑ","\\Im",!0),u(c,f,S,"♠","\\spadesuit",!0),u(c,f,S,"§","\\S",!0),u(I,f,S,"§","\\S"),u(c,f,S,"¶","\\P",!0),u(I,f,S,"¶","\\P"),u(c,f,S,"†","\\dag"),u(I,f,S,"†","\\dag"),u(I,f,S,"†","\\textdagger"),u(c,f,S,"‡","\\ddag"),u(I,f,S,"‡","\\ddag"),u(I,f,S,"‡","\\textdaggerdbl"),u(c,f,$e,"⎱","\\rmoustache",!0),u(c,f,tt,"⎰","\\lmoustache",!0),u(c,f,$e,"⟯","\\rgroup",!0),u(c,f,tt,"⟮","\\lgroup",!0),u(c,f,Z,"∓","\\mp",!0),u(c,f,Z,"⊖","\\ominus",!0),u(c,f,Z,"⊎","\\uplus",!0),u(c,f,Z,"⊓","\\sqcap",!0),u(c,f,Z,"∗","\\ast"),u(c,f,Z,"⊔","\\sqcup",!0),u(c,f,Z,"◯","\\bigcirc",!0),u(c,f,Z,"∙","\\bullet",!0),u(c,f,Z,"‡","\\ddagger"),u(c,f,Z,"≀","\\wr",!0),u(c,f,Z,"⨿","\\amalg"),u(c,f,Z,"&","\\And"),u(c,f,w,"⟵","\\longleftarrow",!0),u(c,f,w,"⇐","\\Leftarrow",!0),u(c,f,w,"⟸","\\Longleftarrow",!0),u(c,f,w,"⟶","\\longrightarrow",!0),u(c,f,w,"⇒","\\Rightarrow",!0),u(c,f,w,"⟹","\\Longrightarrow",!0),u(c,f,w,"↔","\\leftrightarrow",!0),u(c,f,w,"⟷","\\longleftrightarrow",!0),u(c,f,w,"⇔","\\Leftrightarrow",!0),u(c,f,w,"⟺","\\Longleftrightarrow",!0),u(c,f,w,"↦","\\mapsto",!0),u(c,f,w,"⟼","\\longmapsto",!0),u(c,f,w,"↗","\\nearrow",!0),u(c,f,w,"↩","\\hookleftarrow",!0),u(c,f,w,"↪","\\hookrightarrow",!0),u(c,f,w,"↘","\\searrow",!0),u(c,f,w,"↼","\\leftharpoonup",!0),u(c,f,w,"⇀","\\rightharpoonup",!0),u(c,f,w,"↙","\\swarrow",!0),u(c,f,w,"↽","\\leftharpoondown",!0),u(c,f,w,"⇁","\\rightharpoondown",!0),u(c,f,w,"↖","\\nwarrow",!0),u(c,f,w,"⇌","\\rightleftharpoons",!0),u(c,y,w,"≮","\\nless",!0),u(c,y,w,"","\\@nleqslant"),u(c,y,w,"","\\@nleqq"),u(c,y,w,"⪇","\\lneq",!0),u(c,y,w,"≨","\\lneqq",!0),u(c,y,w,"","\\@lvertneqq"),u(c,y,w,"⋦","\\lnsim",!0),u(c,y,w,"⪉","\\lnapprox",!0),u(c,y,w,"⊀","\\nprec",!0),u(c,y,w,"⋠","\\npreceq",!0),u(c,y,w,"⋨","\\precnsim",!0),u(c,y,w,"⪹","\\precnapprox",!0),u(c,y,w,"≁","\\nsim",!0),u(c,y,w,"","\\@nshortmid"),u(c,y,w,"∤","\\nmid",!0),u(c,y,w,"⊬","\\nvdash",!0),u(c,y,w,"⊭","\\nvDash",!0),u(c,y,w,"⋪","\\ntriangleleft"),u(c,y,w,"⋬","\\ntrianglelefteq",!0),u(c,y,w,"⊊","\\subsetneq",!0),u(c,y,w,"","\\@varsubsetneq"),u(c,y,w,"⫋","\\subsetneqq",!0),u(c,y,w,"","\\@varsubsetneqq"),u(c,y,w,"≯","\\ngtr",!0),u(c,y,w,"","\\@ngeqslant"),u(c,y,w,"","\\@ngeqq"),u(c,y,w,"⪈","\\gneq",!0),u(c,y,w,"≩","\\gneqq",!0),u(c,y,w,"","\\@gvertneqq"),u(c,y,w,"⋧","\\gnsim",!0),u(c,y,w,"⪊","\\gnapprox",!0),u(c,y,w,"⊁","\\nsucc",!0),u(c,y,w,"⋡","\\nsucceq",!0),u(c,y,w,"⋩","\\succnsim",!0),u(c,y,w,"⪺","\\succnapprox",!0),u(c,y,w,"≆","\\ncong",!0),u(c,y,w,"","\\@nshortparallel"),u(c,y,w,"∦","\\nparallel",!0),u(c,y,w,"⊯","\\nVDash",!0),u(c,y,w,"⋫","\\ntriangleright"),u(c,y,w,"⋭","\\ntrianglerighteq",!0),u(c,y,w,"","\\@nsupseteqq"),u(c,y,w,"⊋","\\supsetneq",!0),u(c,y,w,"","\\@varsupsetneq"),u(c,y,w,"⫌","\\supsetneqq",!0),u(c,y,w,"","\\@varsupsetneqq"),u(c,y,w,"⊮","\\nVdash",!0),u(c,y,w,"⪵","\\precneqq",!0),u(c,y,w,"⪶","\\succneqq",!0),u(c,y,w,"","\\@nsubseteqq"),u(c,y,Z,"⊴","\\unlhd"),u(c,y,Z,"⊵","\\unrhd"),u(c,y,w,"↚","\\nleftarrow",!0),u(c,y,w,"↛","\\nrightarrow",!0),u(c,y,w,"⇍","\\nLeftarrow",!0),u(c,y,w,"⇏","\\nRightarrow",!0),u(c,y,w,"↮","\\nleftrightarrow",!0),u(c,y,w,"⇎","\\nLeftrightarrow",!0),u(c,y,w,"△","\\vartriangle"),u(c,y,S,"ℏ","\\hslash"),u(c,y,S,"▽","\\triangledown"),u(c,y,S,"◊","\\lozenge"),u(c,y,S,"Ⓢ","\\circledS"),u(c,y,S,"®","\\circledR"),u(I,y,S,"®","\\circledR"),u(c,y,S,"∡","\\measuredangle",!0),u(c,y,S,"∄","\\nexists"),u(c,y,S,"℧","\\mho"),u(c,y,S,"Ⅎ","\\Finv",!0),u(c,y,S,"⅁","\\Game",!0),u(c,y,S,"‵","\\backprime"),u(c,y,S,"▲","\\blacktriangle"),u(c,y,S,"▼","\\blacktriangledown"),u(c,y,S,"■","\\blacksquare"),u(c,y,S,"⧫","\\blacklozenge"),u(c,y,S,"★","\\bigstar"),u(c,y,S,"∢","\\sphericalangle",!0),u(c,y,S,"∁","\\complement",!0),u(c,y,S,"ð","\\eth",!0),u(I,f,S,"ð","ð"),u(c,y,S,"╱","\\diagup"),u(c,y,S,"╲","\\diagdown"),u(c,y,S,"□","\\square"),u(c,y,S,"□","\\Box"),u(c,y,S,"◊","\\Diamond"),u(c,y,S,"¥","\\yen",!0),u(I,y,S,"¥","\\yen",!0),u(c,y,S,"✓","\\checkmark",!0),u(I,y,S,"✓","\\checkmark"),u(c,y,S,"ℶ","\\beth",!0),u(c,y,S,"ℸ","\\daleth",!0),u(c,y,S,"ℷ","\\gimel",!0),u(c,y,S,"ϝ","\\digamma",!0),u(c,y,S,"ϰ","\\varkappa"),u(c,y,tt,"┌","\\@ulcorner",!0),u(c,y,$e,"┐","\\@urcorner",!0),u(c,y,tt,"└","\\@llcorner",!0),u(c,y,$e,"┘","\\@lrcorner",!0),u(c,y,w,"≦","\\leqq",!0),u(c,y,w,"⩽","\\leqslant",!0),u(c,y,w,"⪕","\\eqslantless",!0),u(c,y,w,"≲","\\lesssim",!0),u(c,y,w,"⪅","\\lessapprox",!0),u(c,y,w,"≊","\\approxeq",!0),u(c,y,Z,"⋖","\\lessdot"),u(c,y,w,"⋘","\\lll",!0),u(c,y,w,"≶","\\lessgtr",!0),u(c,y,w,"⋚","\\lesseqgtr",!0),u(c,y,w,"⪋","\\lesseqqgtr",!0),u(c,y,w,"≑","\\doteqdot"),u(c,y,w,"≓","\\risingdotseq",!0),u(c,y,w,"≒","\\fallingdotseq",!0),u(c,y,w,"∽","\\backsim",!0),u(c,y,w,"⋍","\\backsimeq",!0),u(c,y,w,"⫅","\\subseteqq",!0),u(c,y,w,"⋐","\\Subset",!0),u(c,y,w,"⊏","\\sqsubset",!0),u(c,y,w,"≼","\\preccurlyeq",!0),u(c,y,w,"⋞","\\curlyeqprec",!0),u(c,y,w,"≾","\\precsim",!0),u(c,y,w,"⪷","\\precapprox",!0),u(c,y,w,"⊲","\\vartriangleleft"),u(c,y,w,"⊴","\\trianglelefteq"),u(c,y,w,"⊨","\\vDash",!0),u(c,y,w,"⊪","\\Vvdash",!0),u(c,y,w,"⌣","\\smallsmile"),u(c,y,w,"⌢","\\smallfrown"),u(c,y,w,"≏","\\bumpeq",!0),u(c,y,w,"≎","\\Bumpeq",!0),u(c,y,w,"≧","\\geqq",!0),u(c,y,w,"⩾","\\geqslant",!0),u(c,y,w,"⪖","\\eqslantgtr",!0),u(c,y,w,"≳","\\gtrsim",!0),u(c,y,w,"⪆","\\gtrapprox",!0),u(c,y,Z,"⋗","\\gtrdot"),u(c,y,w,"⋙","\\ggg",!0),u(c,y,w,"≷","\\gtrless",!0),u(c,y,w,"⋛","\\gtreqless",!0),u(c,y,w,"⪌","\\gtreqqless",!0),u(c,y,w,"≖","\\eqcirc",!0),u(c,y,w,"≗","\\circeq",!0),u(c,y,w,"≜","\\triangleq",!0),u(c,y,w,"∼","\\thicksim"),u(c,y,w,"≈","\\thickapprox"),u(c,y,w,"⫆","\\supseteqq",!0),u(c,y,w,"⋑","\\Supset",!0),u(c,y,w,"⊐","\\sqsupset",!0),u(c,y,w,"≽","\\succcurlyeq",!0),u(c,y,w,"⋟","\\curlyeqsucc",!0),u(c,y,w,"≿","\\succsim",!0),u(c,y,w,"⪸","\\succapprox",!0),u(c,y,w,"⊳","\\vartriangleright"),u(c,y,w,"⊵","\\trianglerighteq"),u(c,y,w,"⊩","\\Vdash",!0),u(c,y,w,"∣","\\shortmid"),u(c,y,w,"∥","\\shortparallel"),u(c,y,w,"≬","\\between",!0),u(c,y,w,"⋔","\\pitchfork",!0),u(c,y,w,"∝","\\varpropto"),u(c,y,w,"◀","\\blacktriangleleft"),u(c,y,w,"∴","\\therefore",!0),u(c,y,w,"∍","\\backepsilon"),u(c,y,w,"▶","\\blacktriangleright"),u(c,y,w,"∵","\\because",!0),u(c,y,w,"⋘","\\llless"),u(c,y,w,"⋙","\\gggtr"),u(c,y,Z,"⊲","\\lhd"),u(c,y,Z,"⊳","\\rhd"),u(c,y,w,"≂","\\eqsim",!0),u(c,f,w,"⋈","\\Join"),u(c,y,w,"≑","\\Doteq",!0),u(c,y,Z,"∔","\\dotplus",!0),u(c,y,Z,"∖","\\smallsetminus"),u(c,y,Z,"⋒","\\Cap",!0),u(c,y,Z,"⋓","\\Cup",!0),u(c,y,Z,"⩞","\\doublebarwedge",!0),u(c,y,Z,"⊟","\\boxminus",!0),u(c,y,Z,"⊞","\\boxplus",!0),u(c,y,Z,"⋇","\\divideontimes",!0),u(c,y,Z,"⋉","\\ltimes",!0),u(c,y,Z,"⋊","\\rtimes",!0),u(c,y,Z,"⋋","\\leftthreetimes",!0),u(c,y,Z,"⋌","\\rightthreetimes",!0),u(c,y,Z,"⋏","\\curlywedge",!0),u(c,y,Z,"⋎","\\curlyvee",!0),u(c,y,Z,"⊝","\\circleddash",!0),u(c,y,Z,"⊛","\\circledast",!0),u(c,y,Z,"⋅","\\centerdot"),u(c,y,Z,"⊺","\\intercal",!0),u(c,y,Z,"⋒","\\doublecap"),u(c,y,Z,"⋓","\\doublecup"),u(c,y,Z,"⊠","\\boxtimes",!0),u(c,y,w,"⇢","\\dashrightarrow",!0),u(c,y,w,"⇠","\\dashleftarrow",!0),u(c,y,w,"⇇","\\leftleftarrows",!0),u(c,y,w,"⇆","\\leftrightarrows",!0),u(c,y,w,"⇚","\\Lleftarrow",!0),u(c,y,w,"↞","\\twoheadleftarrow",!0),u(c,y,w,"↢","\\leftarrowtail",!0),u(c,y,w,"↫","\\looparrowleft",!0),u(c,y,w,"⇋","\\leftrightharpoons",!0),u(c,y,w,"↶","\\curvearrowleft",!0),u(c,y,w,"↺","\\circlearrowleft",!0),u(c,y,w,"↰","\\Lsh",!0),u(c,y,w,"⇈","\\upuparrows",!0),u(c,y,w,"↿","\\upharpoonleft",!0),u(c,y,w,"⇃","\\downharpoonleft",!0),u(c,f,w,"⊶","\\origof",!0),u(c,f,w,"⊷","\\imageof",!0),u(c,y,w,"⊸","\\multimap",!0),u(c,y,w,"↭","\\leftrightsquigarrow",!0),u(c,y,w,"⇉","\\rightrightarrows",!0),u(c,y,w,"⇄","\\rightleftarrows",!0),u(c,y,w,"↠","\\twoheadrightarrow",!0),u(c,y,w,"↣","\\rightarrowtail",!0),u(c,y,w,"↬","\\looparrowright",!0),u(c,y,w,"↷","\\curvearrowright",!0),u(c,y,w,"↻","\\circlearrowright",!0),u(c,y,w,"↱","\\Rsh",!0),u(c,y,w,"⇊","\\downdownarrows",!0),u(c,y,w,"↾","\\upharpoonright",!0),u(c,y,w,"⇂","\\downharpoonright",!0),u(c,y,w,"⇝","\\rightsquigarrow",!0),u(c,y,w,"⇝","\\leadsto"),u(c,y,w,"⇛","\\Rrightarrow",!0),u(c,y,w,"↾","\\restriction"),u(c,f,S,"‘","`"),u(c,f,S,"$","\\$"),u(I,f,S,"$","\\$"),u(I,f,S,"$","\\textdollar"),u(c,f,S,"%","\\%"),u(I,f,S,"%","\\%"),u(c,f,S,"_","\\_"),u(I,f,S,"_","\\_"),u(I,f,S,"_","\\textunderscore"),u(c,f,S,"∠","\\angle",!0),u(c,f,S,"∞","\\infty",!0),u(c,f,S,"′","\\prime"),u(c,f,S,"△","\\triangle"),u(c,f,S,"Γ","\\Gamma",!0),u(c,f,S,"Δ","\\Delta",!0),u(c,f,S,"Θ","\\Theta",!0),u(c,f,S,"Λ","\\Lambda",!0),u(c,f,S,"Ξ","\\Xi",!0),u(c,f,S,"Π","\\Pi",!0),u(c,f,S,"Σ","\\Sigma",!0),u(c,f,S,"Υ","\\Upsilon",!0),u(c,f,S,"Φ","\\Phi",!0),u(c,f,S,"Ψ","\\Psi",!0),u(c,f,S,"Ω","\\Omega",!0),u(c,f,S,"A","Α"),u(c,f,S,"B","Β"),u(c,f,S,"E","Ε"),u(c,f,S,"Z","Ζ"),u(c,f,S,"H","Η"),u(c,f,S,"I","Ι"),u(c,f,S,"K","Κ"),u(c,f,S,"M","Μ"),u(c,f,S,"N","Ν"),u(c,f,S,"O","Ο"),u(c,f,S,"P","Ρ"),u(c,f,S,"T","Τ"),u(c,f,S,"X","Χ"),u(c,f,S,"¬","\\neg",!0),u(c,f,S,"¬","\\lnot"),u(c,f,S,"⊤","\\top"),u(c,f,S,"⊥","\\bot"),u(c,f,S,"∅","\\emptyset"),u(c,y,S,"∅","\\varnothing"),u(c,f,ae,"α","\\alpha",!0),u(c,f,ae,"β","\\beta",!0),u(c,f,ae,"γ","\\gamma",!0),u(c,f,ae,"δ","\\delta",!0),u(c,f,ae,"ϵ","\\epsilon",!0),u(c,f,ae,"ζ","\\zeta",!0),u(c,f,ae,"η","\\eta",!0),u(c,f,ae,"θ","\\theta",!0),u(c,f,ae,"ι","\\iota",!0),u(c,f,ae,"κ","\\kappa",!0),u(c,f,ae,"λ","\\lambda",!0),u(c,f,ae,"μ","\\mu",!0),u(c,f,ae,"ν","\\nu",!0),u(c,f,ae,"ξ","\\xi",!0),u(c,f,ae,"ο","\\omicron",!0),u(c,f,ae,"π","\\pi",!0),u(c,f,ae,"ρ","\\rho",!0),u(c,f,ae,"σ","\\sigma",!0),u(c,f,ae,"τ","\\tau",!0),u(c,f,ae,"υ","\\upsilon",!0),u(c,f,ae,"ϕ","\\phi",!0),u(c,f,ae,"χ","\\chi",!0),u(c,f,ae,"ψ","\\psi",!0),u(c,f,ae,"ω","\\omega",!0),u(c,f,ae,"ε","\\varepsilon",!0),u(c,f,ae,"ϑ","\\vartheta",!0),u(c,f,ae,"ϖ","\\varpi",!0),u(c,f,ae,"ϱ","\\varrho",!0),u(c,f,ae,"ς","\\varsigma",!0),u(c,f,ae,"φ","\\varphi",!0),u(c,f,Z,"∗","*",!0),u(c,f,Z,"+","+"),u(c,f,Z,"−","-",!0),u(c,f,Z,"⋅","\\cdot",!0),u(c,f,Z,"∘","\\circ",!0),u(c,f,Z,"÷","\\div",!0),u(c,f,Z,"±","\\pm",!0),u(c,f,Z,"×","\\times",!0),u(c,f,Z,"∩","\\cap",!0),u(c,f,Z,"∪","\\cup",!0),u(c,f,Z,"∖","\\setminus",!0),u(c,f,Z,"∧","\\land"),u(c,f,Z,"∨","\\lor"),u(c,f,Z,"∧","\\wedge",!0),u(c,f,Z,"∨","\\vee",!0),u(c,f,S,"√","\\surd"),u(c,f,tt,"⟨","\\langle",!0),u(c,f,tt,"∣","\\lvert"),u(c,f,tt,"∥","\\lVert"),u(c,f,$e,"?","?"),u(c,f,$e,"!","!"),u(c,f,$e,"⟩","\\rangle",!0),u(c,f,$e,"∣","\\rvert"),u(c,f,$e,"∥","\\rVert"),u(c,f,w,"=","="),u(c,f,w,":",":"),u(c,f,w,"≈","\\approx",!0),u(c,f,w,"≅","\\cong",!0),u(c,f,w,"≥","\\ge"),u(c,f,w,"≥","\\geq",!0),u(c,f,w,"←","\\gets"),u(c,f,w,">","\\gt",!0),u(c,f,w,"∈","\\in",!0),u(c,f,w,"","\\@not"),u(c,f,w,"⊂","\\subset",!0),u(c,f,w,"⊃","\\supset",!0),u(c,f,w,"⊆","\\subseteq",!0),u(c,f,w,"⊇","\\supseteq",!0),u(c,y,w,"⊈","\\nsubseteq",!0),u(c,y,w,"⊉","\\nsupseteq",!0),u(c,f,w,"⊨","\\models"),u(c,f,w,"←","\\leftarrow",!0),u(c,f,w,"≤","\\le"),u(c,f,w,"≤","\\leq",!0),u(c,f,w,"<","\\lt",!0),u(c,f,w,"→","\\rightarrow",!0),u(c,f,w,"→","\\to"),u(c,y,w,"≱","\\ngeq",!0),u(c,y,w,"≰","\\nleq",!0),u(c,f,Mt," ","\\ "),u(c,f,Mt," ","\\space"),u(c,f,Mt," ","\\nobreakspace"),u(I,f,Mt," ","\\ "),u(I,f,Mt," "," "),u(I,f,Mt," ","\\space"),u(I,f,Mt," ","\\nobreakspace"),u(c,f,Mt,null,"\\nobreak"),u(c,f,Mt,null,"\\allowbreak"),u(c,f,$r,",",","),u(c,f,$r,";",";"),u(c,y,Z,"⊼","\\barwedge",!0),u(c,y,Z,"⊻","\\veebar",!0),u(c,f,Z,"⊙","\\odot",!0),u(c,f,Z,"⊕","\\oplus",!0),u(c,f,Z,"⊗","\\otimes",!0),u(c,f,S,"∂","\\partial",!0),u(c,f,Z,"⊘","\\oslash",!0),u(c,y,Z,"⊚","\\circledcirc",!0),u(c,y,Z,"⊡","\\boxdot",!0),u(c,f,Z,"△","\\bigtriangleup"),u(c,f,Z,"▽","\\bigtriangledown"),u(c,f,Z,"†","\\dagger"),u(c,f,Z,"⋄","\\diamond"),u(c,f,Z,"⋆","\\star"),u(c,f,Z,"◃","\\triangleleft"),u(c,f,Z,"▹","\\triangleright"),u(c,f,tt,"{","\\{"),u(I,f,S,"{","\\{"),u(I,f,S,"{","\\textbraceleft"),u(c,f,$e,"}","\\}"),u(I,f,S,"}","\\}"),u(I,f,S,"}","\\textbraceright"),u(c,f,tt,"{","\\lbrace"),u(c,f,$e,"}","\\rbrace"),u(c,f,tt,"[","\\lbrack",!0),u(I,f,S,"[","\\lbrack",!0),u(c,f,$e,"]","\\rbrack",!0),u(I,f,S,"]","\\rbrack",!0),u(c,f,tt,"(","\\lparen",!0),u(c,f,$e,")","\\rparen",!0),u(I,f,S,"<","\\textless",!0),u(I,f,S,">","\\textgreater",!0),u(c,f,tt,"⌊","\\lfloor",!0),u(c,f,$e,"⌋","\\rfloor",!0),u(c,f,tt,"⌈","\\lceil",!0),u(c,f,$e,"⌉","\\rceil",!0),u(c,f,S,"\\","\\backslash"),u(c,f,S,"∣","|"),u(c,f,S,"∣","\\vert"),u(I,f,S,"|","\\textbar",!0),u(c,f,S,"∥","\\|"),u(c,f,S,"∥","\\Vert"),u(I,f,S,"∥","\\textbardbl"),u(I,f,S,"~","\\textasciitilde"),u(I,f,S,"\\","\\textbackslash"),u(I,f,S,"^","\\textasciicircum"),u(c,f,w,"↑","\\uparrow",!0),u(c,f,w,"⇑","\\Uparrow",!0),u(c,f,w,"↓","\\downarrow",!0),u(c,f,w,"⇓","\\Downarrow",!0),u(c,f,w,"↕","\\updownarrow",!0),u(c,f,w,"⇕","\\Updownarrow",!0),u(c,f,_e,"∐","\\coprod"),u(c,f,_e,"⋁","\\bigvee"),u(c,f,_e,"⋀","\\bigwedge"),u(c,f,_e,"⨄","\\biguplus"),u(c,f,_e,"⋂","\\bigcap"),u(c,f,_e,"⋃","\\bigcup"),u(c,f,_e,"∫","\\int"),u(c,f,_e,"∫","\\intop"),u(c,f,_e,"∬","\\iint"),u(c,f,_e,"∭","\\iiint"),u(c,f,_e,"∏","\\prod"),u(c,f,_e,"∑","\\sum"),u(c,f,_e,"⨂","\\bigotimes"),u(c,f,_e,"⨁","\\bigoplus"),u(c,f,_e,"⨀","\\bigodot"),u(c,f,_e,"∮","\\oint"),u(c,f,_e,"∯","\\oiint"),u(c,f,_e,"∰","\\oiiint"),u(c,f,_e,"⨆","\\bigsqcup"),u(c,f,_e,"∫","\\smallint"),u(I,f,hr,"…","\\textellipsis"),u(c,f,hr,"…","\\mathellipsis"),u(I,f,hr,"…","\\ldots",!0),u(c,f,hr,"…","\\ldots",!0),u(c,f,hr,"⋯","\\@cdots",!0),u(c,f,hr,"⋱","\\ddots",!0),u(c,f,S,"⋮","\\varvdots"),u(c,f,Ee,"ˊ","\\acute"),u(c,f,Ee,"ˋ","\\grave"),u(c,f,Ee,"¨","\\ddot"),u(c,f,Ee,"~","\\tilde"),u(c,f,Ee,"ˉ","\\bar"),u(c,f,Ee,"˘","\\breve"),u(c,f,Ee,"ˇ","\\check"),u(c,f,Ee,"^","\\hat"),u(c,f,Ee,"⃗","\\vec"),u(c,f,Ee,"˙","\\dot"),u(c,f,Ee,"˚","\\mathring"),u(c,f,ae,"","\\@imath"),u(c,f,ae,"","\\@jmath"),u(c,f,S,"ı","ı"),u(c,f,S,"ȷ","ȷ"),u(I,f,S,"ı","\\i",!0),u(I,f,S,"ȷ","\\j",!0),u(I,f,S,"ß","\\ss",!0),u(I,f,S,"æ","\\ae",!0),u(I,f,S,"œ","\\oe",!0),u(I,f,S,"ø","\\o",!0),u(I,f,S,"Æ","\\AE",!0),u(I,f,S,"Œ","\\OE",!0),u(I,f,S,"Ø","\\O",!0),u(I,f,Ee,"ˊ","\\'"),u(I,f,Ee,"ˋ","\\`"),u(I,f,Ee,"ˆ","\\^"),u(I,f,Ee,"˜","\\~"),u(I,f,Ee,"ˉ","\\="),u(I,f,Ee,"˘","\\u"),u(I,f,Ee,"˙","\\."),u(I,f,Ee,"¸","\\c"),u(I,f,Ee,"˚","\\r"),u(I,f,Ee,"ˇ","\\v"),u(I,f,Ee,"¨",'\\"'),u(I,f,Ee,"˝","\\H"),u(I,f,Ee,"◯","\\textcircled");var _a={"--":!0,"---":!0,"``":!0,"''":!0};u(I,f,S,"–","--",!0),u(I,f,S,"–","\\textendash"),u(I,f,S,"—","---",!0),u(I,f,S,"—","\\textemdash"),u(I,f,S,"‘","`",!0),u(I,f,S,"‘","\\textquoteleft"),u(I,f,S,"’","'",!0),u(I,f,S,"’","\\textquoteright"),u(I,f,S,"“","``",!0),u(I,f,S,"“","\\textquotedblleft"),u(I,f,S,"”","''",!0),u(I,f,S,"”","\\textquotedblright"),u(c,f,S,"°","\\degree",!0),u(I,f,S,"°","\\degree"),u(I,f,S,"°","\\textdegree",!0),u(c,f,S,"£","\\pounds"),u(c,f,S,"£","\\mathsterling",!0),u(I,f,S,"£","\\pounds"),u(I,f,S,"£","\\textsterling",!0),u(c,y,S,"✠","\\maltese"),u(I,y,S,"✠","\\maltese");for(var Ba='0123456789/@."',qn=0;qn<Ba.length;qn++){var Ra=Ba.charAt(qn);u(c,f,S,Ra,Ra)}for(var Oa='0123456789!@*()-=+";:?/.,',Hn=0;Hn<Oa.length;Hn++){var Ia=Oa.charAt(Hn);u(I,f,S,Ia,Ia)}for(var Vr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Un=0;Un<Vr.length;Un++){var Wr=Vr.charAt(Un);u(c,f,ae,Wr,Wr),u(I,f,S,Wr,Wr)}u(c,y,S,"C","ℂ"),u(I,y,S,"C","ℂ"),u(c,y,S,"H","ℍ"),u(I,y,S,"H","ℍ"),u(c,y,S,"N","ℕ"),u(I,y,S,"N","ℕ"),u(c,y,S,"P","ℙ"),u(I,y,S,"P","ℙ"),u(c,y,S,"Q","ℚ"),u(I,y,S,"Q","ℚ"),u(c,y,S,"R","ℝ"),u(I,y,S,"R","ℝ"),u(c,y,S,"Z","ℤ"),u(I,y,S,"Z","ℤ"),u(c,f,ae,"h","ℎ"),u(I,f,ae,"h","ℎ");for(var le="",Ve=0;Ve<Vr.length;Ve++){var Ce=Vr.charAt(Ve);le=String.fromCharCode(55349,56320+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56372+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56424+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56580+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56684+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56736+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56788+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56840+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56944+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),Ve<26&&(le=String.fromCharCode(55349,56632+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56476+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le))}le="𝕜",u(c,f,ae,"k",le),u(I,f,S,"k",le);for(var Yt=0;Yt<10;Yt++){var Ut=Yt.toString();le=String.fromCharCode(55349,57294+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le),le=String.fromCharCode(55349,57314+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le),le=String.fromCharCode(55349,57324+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le),le=String.fromCharCode(55349,57334+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le)}for(var Gn="ÐÞþ",jn=0;jn<Gn.length;jn++){var Xr=Gn.charAt(jn);u(c,f,ae,Xr,Xr),u(I,f,S,Xr,Xr)}var Kr=[["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"]],Da=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],g1=function(t,r){var n=t.charCodeAt(0),i=t.charCodeAt(1),a=(n-55296)*1024+(i-56320)+65536,s=r==="math"?0:1;if(119808<=a&&a<120484){var o=Math.floor((a-119808)/26);return[Kr[o][2],Kr[o][s]]}else if(120782<=a&&a<=120831){var l=Math.floor((a-120782)/10);return[Da[l][2],Da[l][s]]}else{if(a===120485||a===120486)return[Kr[0][2],Kr[0][s]];if(120486<a&&a<120782)return["",""];throw new P("Unsupported character: "+t)}},Yr=function(t,r,n){return Se[n][t]&&Se[n][t].replace&&(t=Se[n][t].replace),{value:t,metrics:In(t,r,n)}},ht=function(t,r,n,i,a){var s=Yr(t,r,n),o=s.metrics;t=s.value;var l;if(o){var h=o.italic;(n==="text"||i&&i.font==="mathit")&&(h=0),l=new st(t,o.height,o.depth,h,o.skew,o.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),l=new st(t,0,0,0,0,0,a);if(i){l.maxFontSize=i.sizeMultiplier,i.style.isTight()&&l.classes.push("mtight");var d=i.getColor();d&&(l.style.color=d)}return l},b1=function(t,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&Yr(t,"Main-Bold",r).metrics?ht(t,"Main-Bold",r,n,i.concat(["mathbf"])):t==="\\"||Se[r][t].font==="main"?ht(t,"Main-Regular",r,n,i):ht(t,"AMS-Regular",r,n,i.concat(["amsrm"]))},v1=function(t,r,n,i,a){return a!=="textord"&&Yr(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},y1=function(t,r,n){var i=t.mode,a=t.text,s=["mord"],o=i==="math"||i==="text"&&r.font,l=o?r.font:r.fontFamily,h="",d="";if(a.charCodeAt(0)===55349&&([h,d]=g1(a,i)),h.length>0)return ht(a,h,i,r,s.concat(d));if(l){var p,g;if(l==="boldsymbol"){var m=v1(a,i,r,s,n);p=m.fontName,g=[m.fontClass]}else o?(p=Pa[l].fontName,g=[l]):(p=Zr(l,r.fontWeight,r.fontShape),g=[l,r.fontWeight,r.fontShape]);if(Yr(a,p,i).metrics)return ht(a,p,i,r,s.concat(g));if(_a.hasOwnProperty(a)&&p.slice(0,10)==="Typewriter"){for(var z=[],k=0;k<a.length;k++)z.push(ht(a[k],p,i,r,s.concat(g)));return Fa(z)}}if(n==="mathord")return ht(a,"Math-Italic",i,r,s.concat(["mathnormal"]));if(n==="textord"){var N=Se[i][a]&&Se[i][a].font;if(N==="ams"){var A=Zr("amsrm",r.fontWeight,r.fontShape);return ht(a,A,i,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(N==="main"||!N){var C=Zr("textrm",r.fontWeight,r.fontShape);return ht(a,C,i,r,s.concat(r.fontWeight,r.fontShape))}else{var R=Zr(N,r.fontWeight,r.fontShape);return ht(a,R,i,r,s.concat(R,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},w1=(e,t)=>{if(qt(e.classes)!==qt(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)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 i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},x1=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof st&&n instanceof st&&w1(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},$n=function(t){for(var r=0,n=0,i=0,a=0;a<t.children.length;a++){var s=t.children[a];s.height>r&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>i&&(i=s.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=i},Ye=function(t,r,n,i){var a=new zr(t,r,n,i);return $n(a),a},La=(e,t,r,n)=>new zr(e,t,r,n),k1=function(t,r,n){var i=Ye([t],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=U(i.height),i.maxFontSize=1,i},z1=function(t,r,n,i){var a=new Fn(t,r,n,i);return $n(a),a},Fa=function(t){var r=new kr(t);return $n(r),r},S1=function(t,r){return t instanceof kr?Ye([],[t],r):t},E1=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,s=1;s<r.length;s++){var o=-r[s].shift-a-r[s].elem.depth,l=o-(r[s-1].elem.height+r[s-1].elem.depth);a=a+o,n.push({type:"kern",size:l}),n.push(r[s])}return{children:n,depth:i}}var h;if(t.positionType==="top"){for(var d=t.positionData,p=0;p<t.children.length;p++){var g=t.children[p];d-=g.type==="kern"?g.size:g.elem.height+g.elem.depth}h=d}else if(t.positionType==="bottom")h=-t.positionData;else{var m=t.children[0];if(m.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")h=-m.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")h=-m.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:h}},A1=function(t,r){for(var{children:n,depth:i}=E1(t),a=0,s=0;s<n.length;s++){var o=n[s];if(o.type==="elem"){var l=o.elem;a=Math.max(a,l.maxFontSize,l.height)}}a+=2;var h=Ye(["pstrut"],[]);h.style.height=U(a);for(var d=[],p=i,g=i,m=i,z=0;z<n.length;z++){var k=n[z];if(k.type==="kern")m+=k.size;else{var N=k.elem,A=k.wrapperClasses||[],C=k.wrapperStyle||{},R=Ye(A,[h,N],void 0,C);R.style.top=U(-a-m-N.depth),k.marginLeft&&(R.style.marginLeft=k.marginLeft),k.marginRight&&(R.style.marginRight=k.marginRight),d.push(R),m+=N.height+N.depth}p=Math.min(p,m),g=Math.max(g,m)}var W=Ye(["vlist"],d);W.style.height=U(g);var H;if(p<0){var T=Ye([],[]),X=Ye(["vlist"],[T]);X.style.height=U(-p);var ee=Ye(["vlist-s"],[new st("​")]);H=[Ye(["vlist-r"],[W,ee]),Ye(["vlist-r"],[X])]}else H=[Ye(["vlist-r"],[W])];var G=Ye(["vlist-t"],H);return H.length===2&&G.classes.push("vlist-t2"),G.height=g,G.depth=-p,G},T1=(e,t)=>{var r=Ye(["mspace"],[],t),n=Te(e,t);return r.style.marginRight=U(n),r},Zr=function(t,r,n){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return r==="textbf"&&n==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",i+"-"+a},Pa={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"},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"}},qa={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},M1=function(t,r){var[n,i,a]=qa[t],s=new Ht(n),o=new Tt([s],{width:U(i),height:U(a),style:"width:"+U(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=La(["overlay"],[o],r);return l.height=a,l.style.height=U(a),l.style.width=U(i),l},E={fontMap:Pa,makeSymbol:ht,mathsym:b1,makeSpan:Ye,makeSvgSpan:La,makeLineSpan:k1,makeAnchor:z1,makeFragment:Fa,wrapFragment:S1,makeVList:A1,makeOrd:y1,makeGlue:T1,staticSvg:M1,svgData:qa,tryCombineChars:x1},Me={number:3,unit:"mu"},Zt={number:4,unit:"mu"},Ct={number:5,unit:"mu"},C1={mord:{mop:Me,mbin:Zt,mrel:Ct,minner:Me},mop:{mord:Me,mop:Me,mrel:Ct,minner:Me},mbin:{mord:Zt,mop:Zt,mopen:Zt,minner:Zt},mrel:{mord:Ct,mop:Ct,mopen:Ct,minner:Ct},mopen:{},mclose:{mop:Me,mbin:Zt,mrel:Ct,minner:Me},mpunct:{mord:Me,mop:Me,mrel:Ct,mopen:Me,mclose:Me,mpunct:Me,minner:Me},minner:{mord:Me,mop:Me,mbin:Zt,mrel:Ct,mopen:Me,mpunct:Me,minner:Me}},N1={mord:{mop:Me},mop:{mord:Me,mop:Me},mbin:{},mrel:{},mopen:{},mclose:{mop:Me},mpunct:{},minner:{mop:Me}},Ha={},Jr={},Qr={};function Y(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={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:i},l=0;l<r.length;++l)Ha[r[l]]=o;t&&(a&&(Jr[t]=a),s&&(Qr[t]=s))}function Jt(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;Y({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var en=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Ne=function(t){return t.type==="ordgroup"?t.body:[t]},Nt=E.makeSpan,_1=["leftmost","mbin","mopen","mrel","mop","mpunct"],B1=["rightmost","mrel","mclose","mpunct"],R1={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT},O1={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ie=function(t,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],s=0;s<t.length;s++){var o=be(t[s],r);if(o instanceof kr){var l=o.children;a.push(...l)}else a.push(o)}if(E.tryCombineChars(a),!n)return a;var h=r;if(t.length===1){var d=t[0];d.type==="sizing"?h=r.havingSize(d.size):d.type==="styling"&&(h=r.havingStyle(R1[d.style]))}var p=Nt([i[0]||"leftmost"],[],r),g=Nt([i[1]||"rightmost"],[],r),m=n==="root";return Ua(a,(z,k)=>{var N=k.classes[0],A=z.classes[0];N==="mbin"&&oe.contains(B1,A)?k.classes[0]="mord":A==="mbin"&&oe.contains(_1,N)&&(z.classes[0]="mord")},{node:p},g,m),Ua(a,(z,k)=>{var N=Vn(k),A=Vn(z),C=N&&A?z.hasClass("mtight")?N1[N][A]:C1[N][A]:null;if(C)return E.makeGlue(C,h)},{node:p},g,m),a},Ua=function e(t,r,n,i,a){i&&t.push(i);for(var s=0;s<t.length;s++){var o=t[s],l=Ga(o);if(l){e(l.children,r,n,null,a);continue}var h=!o.hasClass("mspace");if(h){var d=r(o,n.node);d&&(n.insertAfter?n.insertAfter(d):(t.unshift(d),s++))}h?n.node=o:a&&o.hasClass("newline")&&(n.node=Nt(["leftmost"])),n.insertAfter=(p=>g=>{t.splice(p+1,0,g),s++})(s)}i&&t.pop()},Ga=function(t){return t instanceof kr||t instanceof Fn||t instanceof zr&&t.hasClass("enclosing")?t:null},I1=function e(t,r){var n=Ga(t);if(n){var i=n.children;if(i.length){if(r==="right")return e(i[i.length-1],"right");if(r==="left")return e(i[0],"left")}}return t},Vn=function(t,r){return t?(r&&(t=I1(t,r)),O1[t.classes[0]]||null):null},Sr=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Nt(r.concat(n))},be=function(t,r,n){if(!t)return Nt();if(Jr[t.type]){var i=Jr[t.type](t,r);if(n&&r.size!==n.size){i=Nt(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new P("Got group of unknown type: '"+t.type+"'")};function tn(e,t){var r=Nt(["base"],e,t),n=Nt(["strut"]);return n.style.height=U(r.height+r.depth),r.depth&&(n.style.verticalAlign=U(-r.depth)),r.children.unshift(n),r}function Wn(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Ie(e,t,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],s=[],o=0;o<n.length;o++)if(s.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var l=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,s.push(n[o]),n[o].hasClass("nobreak")&&(l=!0);l||(a.push(tn(s,t)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(tn(s,t)),s=[]),a.push(n[o]));s.length>0&&a.push(tn(s,t));var h;r?(h=tn(Ie(r,t,!0)),h.classes=["tag"],a.push(h)):i&&a.push(i);var d=Nt(["katex-html"],a);if(d.setAttribute("aria-hidden","true"),h){var p=h.children[0];p.style.height=U(d.height+d.depth),d.depth&&(p.style.verticalAlign=U(-d.depth))}return d}function ja(e){return new kr(e)}class ot{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=qt(this.classes));for(var n=0;n<this.children.length;n++)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+=oe.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+oe.escape(qt(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 Er{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return oe.escape(this.toText())}toText(){return this.text}}class D1{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",U(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+U(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var D={MathNode:ot,TextNode:Er,SpaceNode:D1,newDocumentFragment:ja},lt=function(t,r,n){return Se[r][t]&&Se[r][t].replace&&t.charCodeAt(0)!==55349&&!(_a.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Se[r][t].replace),new D.TextNode(t)},Xn=function(t){return t.length===1?t[0]:new D.MathNode("mrow",t)},Kn=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 i=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==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var a=t.text;if(oe.contains(["\\imath","\\jmath"],a))return null;Se[i][a]&&Se[i][a].replace&&(a=Se[i][a].replace);var s=E.fontMap[n].fontName;return In(a,s,i)?E.fontMap[n].variant:null},Ze=function(t,r,n){if(t.length===1){var i=xe(t[0],r);return n&&i instanceof ot&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],s,o=0;o<t.length;o++){var l=xe(t[o],r);if(l instanceof ot&&s instanceof ot){if(l.type==="mtext"&&s.type==="mtext"&&l.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...l.children);continue}else if(l.type==="mn"&&s.type==="mn"){s.children.push(...l.children);continue}else if(l.type==="mi"&&l.children.length===1&&s.type==="mn"){var h=l.children[0];if(h instanceof Er&&h.text==="."){s.children.push(...l.children);continue}}else if(s.type==="mi"&&s.children.length===1){var d=s.children[0];if(d instanceof Er&&d.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var p=l.children[0];p instanceof Er&&p.text.length>0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),a.pop())}}}a.push(l),s=l}return a},Gt=function(t,r,n){return Xn(Ze(t,r,n))},xe=function(t,r){if(!t)return new D.MathNode("mrow");if(Qr[t.type]){var n=Qr[t.type](t,r);return n}else throw new P("Got group of unknown type: '"+t.type+"'")};function $a(e,t,r,n,i){var a=Ze(e,r),s;a.length===1&&a[0]instanceof ot&&oe.contains(["mrow","mtable"],a[0].type)?s=a[0]:s=new D.MathNode("mrow",a);var o=new D.MathNode("annotation",[new D.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new D.MathNode("semantics",[s,o]),h=new D.MathNode("math",[l]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&h.setAttribute("display","block");var d=i?"katex":"katex-mathml";return E.makeSpan([d],[h])}var Va=function(t){return new At({style:t.displayMode?ne.DISPLAY:ne.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Wa=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=E.makeSpan(n,[t])}return t},L1=function(t,r,n){var i=Va(n),a;if(n.output==="mathml")return $a(t,r,i,n.displayMode,!0);if(n.output==="html"){var s=Wn(t,i);a=E.makeSpan(["katex"],[s])}else{var o=$a(t,r,i,n.displayMode,!1),l=Wn(t,i);a=E.makeSpan(["katex"],[o,l])}return Wa(a,n)},F1=function(t,r,n){var i=Va(n),a=Wn(t,i),s=E.makeSpan(["katex"],[a]);return Wa(s,n)},P1={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":"="},q1=function(t){var r=new D.MathNode("mo",[new D.TextNode(P1[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},H1={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]},U1=function(t){return t.type==="ordgroup"?t.body.length:1},G1=function(t,r){function n(){var o=4e5,l=t.label.slice(1);if(oe.contains(["widehat","widecheck","widetilde","utilde"],l)){var h=t,d=U1(h.base),p,g,m;if(d>5)l==="widehat"||l==="widecheck"?(p=420,o=2364,m=.42,g=l+"4"):(p=312,o=2340,m=.34,g="tilde4");else{var z=[1,1,2,2,3,3][d];l==="widehat"||l==="widecheck"?(o=[0,1062,2364,2364,2364][z],p=[0,239,300,360,420][z],m=[0,.24,.3,.3,.36,.42][z],g=l+z):(o=[0,600,1033,2339,2340][z],p=[0,260,286,306,312][z],m=[0,.26,.286,.3,.306,.34][z],g="tilde"+z)}var k=new Ht(g),N=new Tt([k],{width:"100%",height:U(m),viewBox:"0 0 "+o+" "+p,preserveAspectRatio:"none"});return{span:E.makeSvgSpan([],[N],r),minWidth:0,height:m}}else{var A=[],C=H1[l],[R,W,H]=C,T=H/1e3,X=R.length,ee,G;if(X===1){var M=C[3];ee=["hide-tail"],G=[M]}else if(X===2)ee=["halfarrow-left","halfarrow-right"],G=["xMinYMin","xMaxYMin"];else if(X===3)ee=["brace-left","brace-center","brace-right"],G=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
258
- `+X+" children.");for(var V=0;V<X;V++){var $=new Ht(R[V]),de=new Tt([$],{width:"400em",height:U(T),viewBox:"0 0 "+o+" "+H,preserveAspectRatio:G[V]+" slice"}),ue=E.makeSvgSpan([ee[V]],[de],r);if(X===1)return{span:ue,minWidth:W,height:T};ue.style.height=U(T),A.push(ue)}return{span:E.makeSpan(["stretchy"],A,r),minWidth:W,height:T}}}var{span:i,minWidth:a,height:s}=n();return i.height=s,i.style.height=U(s),a>0&&(i.style.minWidth=U(a)),i},j1=function(t,r,n,i,a){var s,o=t.height+t.depth+n+i;if(/fbox|color|angl/.test(r)){if(s=E.makeSpan(["stretchy",r],[],a),r==="fbox"){var l=a.color&&a.getColor();l&&(s.style.borderColor=l)}}else{var h=[];/^[bx]cancel$/.test(r)&&h.push(new Pn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&h.push(new Pn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new Tt(h,{width:"100%",height:U(o)});s=E.makeSvgSpan([],[d],a)}return s.height=o,s.style.height=U(o),s},_t={encloseSpan:j1,mathMLnode:q1,svgSpan:G1};function he(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 Yn(e){var t=rn(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 rn(e){return e&&(e.type==="atom"||f1.hasOwnProperty(e.type))?e:null}var Zn=(e,t)=>{var r,n,i;e&&e.type==="supsub"?(n=he(e.base,"accent"),r=n.base,e.base=r,i=m1(be(e,t)),e.base=n):(n=he(e,"accent"),r=n.base);var a=be(r,t.havingCrampedStyle()),s=n.isShifty&&oe.isCharacterBox(r),o=0;if(s){var l=oe.getBaseElem(r),h=be(l,t.havingCrampedStyle());o=Na(h).skew}var d=n.label==="\\c",p=d?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),g;if(n.isStretchy)g=_t.svgSpan(n,t),g=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:g,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+U(2*o)+")",marginLeft:U(2*o)}:void 0}]},t);else{var m,z;n.label==="\\vec"?(m=E.staticSvg("vec",t),z=E.svgData.vec[1]):(m=E.makeOrd({mode:n.mode,text:n.label},t,"textord"),m=Na(m),m.italic=0,z=m.width,d&&(p+=m.depth)),g=E.makeSpan(["accent-body"],[m]);var k=n.label==="\\textcircled";k&&(g.classes.push("accent-full"),p=a.height);var N=o;k||(N-=z/2),g.style.left=U(N),n.label==="\\textcircled"&&(g.style.top=".2em"),g=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-p},{type:"elem",elem:g}]},t)}var A=E.makeSpan(["mord","accent"],[g],t);return i?(i.children[0]=A,i.height=Math.max(A.height,i.height),i.classes[0]="mord",i):A},Xa=(e,t)=>{var r=e.isStretchy?_t.mathMLnode(e.label):new D.MathNode("mo",[lt(e.label,e.mode)]),n=new D.MathNode("mover",[xe(e.base,t),r]);return n.setAttribute("accent","true"),n},$1=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Y({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=en(t[0]),n=!$1.test(e.funcName),i=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:Zn,mathmlBuilder:Xa}),Y({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:Zn,mathmlBuilder:Xa}),Y({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(e,t)=>{var r=be(e.base,t),n=_t.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=E.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},t);return E.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=_t.mathMLnode(e.label),n=new D.MathNode("munder",[xe(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var nn=e=>{var t=new D.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Y({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:i}=e;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),i=E.wrapFragment(be(e.body,n,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=E.wrapFragment(be(e.below,n,t),t),s.classes.push(a+"-arrow-pad"));var o=_t.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*o.height,h=-t.fontMetrics().axisHeight-.5*o.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(h-=i.depth);var d;if(s){var p=-t.fontMetrics().axisHeight+s.height+.5*o.height+.111;d=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:o,shift:l},{type:"elem",elem:s,shift:p}]},t)}else d=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:o,shift:l}]},t);return d.children[0].children[0].children[1].classes.push("svg-align"),E.makeSpan(["mrel","x-arrow"],[d],t)},mathmlBuilder(e,t){var r=_t.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var i=nn(xe(e.body,t));if(e.below){var a=nn(xe(e.below,t));n=new D.MathNode("munderover",[r,a,i])}else n=new D.MathNode("mover",[r,i])}else if(e.below){var s=nn(xe(e.below,t));n=new D.MathNode("munder",[r,s])}else n=nn(),n=new D.MathNode("mover",[r,n]);return n}});var V1=E.makeSpan;function Ka(e,t){var r=Ie(e.body,t,!0);return V1([e.mclass],r,t)}function Ya(e,t){var r,n=Ze(e.body,t);return e.mclass==="minner"?r=new D.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new D.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new D.MathNode("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}Y({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Ne(i),isCharacterBox:oe.isCharacterBox(i)}},htmlBuilder:Ka,mathmlBuilder:Ya});var an=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"};Y({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:an(t[0]),body:Ne(t[1]),isCharacterBox:oe.isCharacterBox(t[1])}}}),Y({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,i=t[1],a=t[0],s;n!=="\\stackrel"?s=an(i):s="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ne(i)},l={type:"supsub",mode:a.mode,base:o,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:s,body:[l],isCharacterBox:oe.isCharacterBox(l)}},htmlBuilder:Ka,mathmlBuilder:Ya}),Y({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:an(t[0]),body:Ne(t[0])}},htmlBuilder(e,t){var r=Ie(e.body,t,!0),n=E.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Ze(e.body,t),n=new D.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var W1={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Za=()=>({type:"styling",body:[],mode:"math",style:"display"}),Ja=e=>e.type==="textord"&&e.text==="@",X1=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function K1(e,t,r){var n=W1[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[a],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,s,o]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var h={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[h],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Y1(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 P("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],a=0;a<t.length;a++){for(var s=t[a],o=Za(),l=0;l<s.length;l++)if(!Ja(s[l]))o.body.push(s[l]);else{n.push(o),l+=1;var h=Yn(s[l]).text,d=new Array(2);if(d[0]={type:"ordgroup",mode:"math",body:[]},d[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(h)>-1))if("<>AV".indexOf(h)>-1)for(var p=0;p<2;p++){for(var g=!0,m=l+1;m<s.length;m++){if(X1(s[m],h)){g=!1,l=m;break}if(Ja(s[m]))throw new P("Missing a "+h+" character to complete a CD arrow.",s[m]);d[p].body.push(s[m])}if(g)throw new P("Missing a "+h+" character to complete a CD arrow.",s[l])}else throw new P('Expected one of "<>AV=|." after @',s[l]);var z=K1(h,d,e),k={type:"styling",body:[z],mode:"math",style:"display"};n.push(k),o=Za()}a%2===0?n.push(o):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var N=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:N,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}Y({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=E.wrapFragment(be(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=U(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new D.MathNode("mrow",[xe(e.label,t)]);return r=new D.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new D.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),Y({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=E.wrapFragment(be(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new D.MathNode("mrow",[xe(e.fragment,t)])}}),Y({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=he(t[0],"ordgroup"),i=n.body,a="",s=0;s<i.length;s++){var o=he(i[s],"textord");a+=o.text}var l=parseInt(a),h;if(isNaN(l))throw new P("\\@char has non-numeric argument "+a);if(l<0||l>=1114111)throw new P("\\@char with invalid code point "+a);return l<=65535?h=String.fromCharCode(l):(l-=65536,h=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:h}}});var Qa=(e,t)=>{var r=Ie(e.body,t.withColor(e.color),!1);return E.makeFragment(r)},ei=(e,t)=>{var r=Ze(e.body,t.withColor(e.color)),n=new D.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};Y({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=he(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:Ne(i)}},htmlBuilder:Qa,mathmlBuilder:ei}),Y({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=he(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:Qa,mathmlBuilder:ei}),Y({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&he(i,"size").value}},htmlBuilder(e,t){var r=E.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=U(Te(e.size,t)))),r},mathmlBuilder(e,t){var r=new D.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",U(Te(e.size,t)))),r}});var Jn={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},ti=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new P("Expected a control sequence",e);return t},Z1=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},ri=(e,t,r,n)=>{var i=e.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,i,n)};Y({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(Jn[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=Jn[n.text]),he(t.parseFunction(),"internal");throw new P("Invalid token after macro prefix",n)}}),Y({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(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new P("Expected a control sequence",n);for(var a=0,s,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),o[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new P('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new P('Argument number "'+n.text+'" out of order');a++,o.push([])}else{if(n.text==="EOF")throw new P("Expected a macro definition");o[a].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return s&&l.unshift(s),(r==="\\edef"||r==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(i,{tokens:l,numArgs:a,delimiters:o},r===Jn[r]),{type:"internal",mode:t.mode}}}),Y({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=ti(t.gullet.popToken());t.gullet.consumeSpaces();var i=Z1(t);return ri(t,n,i,r==="\\\\globallet"),{type:"internal",mode:t.mode}}}),Y({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=ti(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return ri(t,n,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var Ar=function(t,r,n){var i=Se.math[t]&&Se.math[t].replace,a=In(i||t,r,n);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},Qn=function(t,r,n,i){var a=n.havingBaseStyle(r),s=E.makeSpan(i.concat(a.sizingClasses(n)),[t],n),o=a.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=a.sizeMultiplier,s},ni=function(t,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=U(a),t.height-=a,t.depth+=a},J1=function(t,r,n,i,a,s){var o=E.makeSymbol(t,"Main-Regular",a,i),l=Qn(o,r,i,s);return n&&ni(l,i,r),l},Q1=function(t,r,n,i){return E.makeSymbol(t,"Size"+r+"-Regular",n,i)},ai=function(t,r,n,i,a,s){var o=Q1(t,r,a,i),l=Qn(E.makeSpan(["delimsizing","size"+r],[o],i),ne.TEXT,i,s);return n&&ni(l,i,ne.TEXT),l},e0=function(t,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=E.makeSpan(["delimsizinginner",i],[E.makeSpan([],[E.makeSymbol(t,r,n)])]);return{type:"elem",elem:a}},t0=function(t,r,n){var i=yt["Size4-Regular"][t.charCodeAt(0)]?yt["Size4-Regular"][t.charCodeAt(0)][4]:yt["Size1-Regular"][t.charCodeAt(0)][4],a=new Ht("inner",i1(t,Math.round(1e3*r))),s=new Tt([a],{width:U(i),height:U(r),style:"width:"+U(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=E.makeSvgSpan([],[s],n);return o.height=r,o.style.height=U(r),o.style.width=U(i),{type:"elem",elem:o}},r0=.008,sn={type:"kern",size:-1*r0},ec=["|","\\lvert","\\rvert","\\vert"],tc=["\\|","\\lVert","\\rVert","\\Vert"],ii=function(t,r,n,i,a,s){var o,l,h,d,p="",g=0;o=h=d=t,l=null;var m="Size1-Regular";t==="\\uparrow"?h=d="⏐":t==="\\Uparrow"?h=d="‖":t==="\\downarrow"?o=h="⏐":t==="\\Downarrow"?o=h="‖":t==="\\updownarrow"?(o="\\uparrow",h="⏐",d="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",h="‖",d="\\Downarrow"):oe.contains(ec,t)?(h="∣",p="vert",g=333):oe.contains(tc,t)?(h="∥",p="doublevert",g=556):t==="["||t==="\\lbrack"?(o="⎡",h="⎢",d="⎣",m="Size4-Regular",p="lbrack",g=667):t==="]"||t==="\\rbrack"?(o="⎤",h="⎥",d="⎦",m="Size4-Regular",p="rbrack",g=667):t==="\\lfloor"||t==="⌊"?(h=o="⎢",d="⎣",m="Size4-Regular",p="lfloor",g=667):t==="\\lceil"||t==="⌈"?(o="⎡",h=d="⎢",m="Size4-Regular",p="lceil",g=667):t==="\\rfloor"||t==="⌋"?(h=o="⎥",d="⎦",m="Size4-Regular",p="rfloor",g=667):t==="\\rceil"||t==="⌉"?(o="⎤",h=d="⎥",m="Size4-Regular",p="rceil",g=667):t==="("||t==="\\lparen"?(o="⎛",h="⎜",d="⎝",m="Size4-Regular",p="lparen",g=875):t===")"||t==="\\rparen"?(o="⎞",h="⎟",d="⎠",m="Size4-Regular",p="rparen",g=875):t==="\\{"||t==="\\lbrace"?(o="⎧",l="⎨",d="⎩",h="⎪",m="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",l="⎬",d="⎭",h="⎪",m="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",d="⎩",h="⎪",m="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",d="⎭",h="⎪",m="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",d="⎭",h="⎪",m="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",d="⎩",h="⎪",m="Size4-Regular");var z=Ar(o,m,a),k=z.height+z.depth,N=Ar(h,m,a),A=N.height+N.depth,C=Ar(d,m,a),R=C.height+C.depth,W=0,H=1;if(l!==null){var T=Ar(l,m,a);W=T.height+T.depth,H=2}var X=k+R+W,ee=Math.max(0,Math.ceil((r-X)/(H*A))),G=X+ee*H*A,M=i.fontMetrics().axisHeight;n&&(M*=i.sizeMultiplier);var V=G/2-M,$=[];if(p.length>0){var de=G-k-R,ue=Math.round(G*1e3),re=s1(p,Math.round(de*1e3)),ve=new Ht(p,re),O=(g/1e3).toFixed(3)+"em",L=(ue/1e3).toFixed(3)+"em",Q=new Tt([ve],{width:O,height:L,viewBox:"0 0 "+g+" "+ue}),v=E.makeSvgSpan([],[Q],i);v.height=ue/1e3,v.style.width=O,v.style.height=L,$.push({type:"elem",elem:v})}else{if($.push(e0(d,m,a)),$.push(sn),l===null){var se=G-k-R+2*r0;$.push(t0(h,se,i))}else{var ce=(G-k-R-W)/2+2*r0;$.push(t0(h,ce,i)),$.push(sn),$.push(e0(l,m,a)),$.push(sn),$.push(t0(h,ce,i))}$.push(sn),$.push(e0(o,m,a))}var x=i.havingBaseStyle(ne.TEXT),Oe=E.makeVList({positionType:"bottom",positionData:V,children:$},x);return Qn(E.makeSpan(["delimsizing","mult"],[Oe],x),ne.TEXT,i,s)},n0=80,a0=.08,i0=function(t,r,n,i,a){var s=a1(t,i,n),o=new Ht(t,s),l=new Tt([o],{width:"400em",height:U(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return E.makeSvgSpan(["hide-tail"],[l],a)},rc=function(t,r){var n=r.havingBaseSizing(),i=ui("\\surd",t*n.sizeMultiplier,li,n),a=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,l=0,h=0,d=0,p;return i.type==="small"?(d=1e3+1e3*s+n0,t<1?a=1:t<1.4&&(a=.7),l=(1+s+a0)/a,h=(1+s)/a,o=i0("sqrtMain",l,d,s,r),o.style.minWidth="0.853em",p=.833/a):i.type==="large"?(d=(1e3+n0)*Tr[i.size],h=(Tr[i.size]+s)/a,l=(Tr[i.size]+s+a0)/a,o=i0("sqrtSize"+i.size,l,d,s,r),o.style.minWidth="1.02em",p=1/a):(l=t+s+a0,h=t+s,d=Math.floor(1e3*t+s)+n0,o=i0("sqrtTall",l,d,s,r),o.style.minWidth="0.742em",p=1.056),o.height=h,o.style.height=U(l),{span:o,advanceWidth:p,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*a}},si=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],nc=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],oi=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Tr=[0,1.2,1.8,2.4,3],ac=function(t,r,n,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),oe.contains(si,t)||oe.contains(oi,t))return ai(t,r,!1,n,i,a);if(oe.contains(nc,t))return ii(t,Tr[r],!1,n,i,a);throw new P("Illegal delimiter: '"+t+"'")},ic=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],sc=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"stack"}],li=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],oc=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.")},ui=function(t,r,n,i){for(var a=Math.min(2,3-i.style.size),s=a;s<n.length&&n[s].type!=="stack";s++){var o=Ar(t,oc(n[s]),"math"),l=o.height+o.depth;if(n[s].type==="small"){var h=i.havingBaseStyle(n[s].style);l*=h.sizeMultiplier}if(l>r)return n[s]}return n[n.length-1]},ci=function(t,r,n,i,a,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;oe.contains(oi,t)?o=ic:oe.contains(si,t)?o=li:o=sc;var l=ui(t,r,o,i);return l.type==="small"?J1(t,l.style,n,i,a,s):l.type==="large"?ai(t,l.size,n,i,a,s):ii(t,r,n,i,a,s)},lc=function(t,r,n,i,a,s){var o=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,h=5/i.fontMetrics().ptPerEm,d=Math.max(r-o,n+o),p=Math.max(d/500*l,2*d-h);return ci(t,p,!0,i,a,s)},Bt={sqrtImage:rc,sizedDelim:ac,sizeToMaxHeight:Tr,customSizedDelim:ci,leftRightDelim:lc},hi={"\\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}},uc=["(","\\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 on(e,t){var r=rn(e);if(r&&oe.contains(uc,r.text))return r;throw r?new P("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new P("Invalid delimiter type '"+e.type+"'",e)}Y({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=on(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:hi[e.funcName].size,mclass:hi[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?E.makeSpan([e.mclass]):Bt.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(lt(e.delim,e.mode));var r=new D.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=U(Bt.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function di(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Y({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 P("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:on(t[0],e).text,color:r}}}),Y({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=on(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=he(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{di(e);for(var r=Ie(e.body,t,!0,["mopen","mclose"]),n=0,i=0,a=!1,s=0;s<r.length;s++)r[s].isMiddle?a=!0:(n=Math.max(r[s].height,n),i=Math.max(r[s].depth,i));n*=t.sizeMultiplier,i*=t.sizeMultiplier;var o;if(e.left==="."?o=Sr(t,["mopen"]):o=Bt.leftRightDelim(e.left,n,i,t,e.mode,["mopen"]),r.unshift(o),a)for(var l=1;l<r.length;l++){var h=r[l],d=h.isMiddle;d&&(r[l]=Bt.leftRightDelim(d.delim,n,i,d.options,e.mode,[]))}var p;if(e.right===".")p=Sr(t,["mclose"]);else{var g=e.rightColor?t.withColor(e.rightColor):t;p=Bt.leftRightDelim(e.right,n,i,g,e.mode,["mclose"])}return r.push(p),E.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{di(e);var r=Ze(e.body,t);if(e.left!=="."){var n=new D.MathNode("mo",[lt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var i=new D.MathNode("mo",[lt(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return Xn(r)}}),Y({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=on(t[0],e);if(!e.parser.leftrightDepth)throw new P("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Sr(t,[]);else{r=Bt.sizedDelim(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==="|"?lt("|","text"):lt(e.delim,e.mode),n=new D.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var s0=(e,t)=>{var r=E.wrapFragment(be(e.body,t),t),n=e.label.slice(1),i=t.sizeMultiplier,a,s=0,o=oe.isCharacterBox(e.body);if(n==="sout")a=E.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var l=Te({number:.6,unit:"pt"},t),h=Te({number:.35,unit:"ex"},t),d=t.havingBaseSizing();i=i/d.sizeMultiplier;var p=r.height+r.depth+l+h;r.style.paddingLeft=U(p/2+l);var g=Math.floor(1e3*p*i),m=r1(g),z=new Tt([new Ht("phase",m)],{width:"400em",height:U(g/1e3),viewBox:"0 0 400000 "+g,preserveAspectRatio:"xMinYMin slice"});a=E.makeSvgSpan(["hide-tail"],[z],t),a.style.height=U(p),s=r.depth+l+h}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var k=0,N=0,A=0;/box/.test(n)?(A=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),k=t.fontMetrics().fboxsep+(n==="colorbox"?0:A),N=k):n==="angl"?(A=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),k=4*A,N=Math.max(0,.25-r.depth)):(k=o?.2:0,N=k),a=_t.encloseSpan(r,n,k,N,t),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=U(A)):n==="angl"&&A!==.049&&(a.style.borderTopWidth=U(A),a.style.borderRightWidth=U(A)),s=r.depth+N,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var C;if(e.backgroundColor)C=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:s},{type:"elem",elem:r,shift:0}]},t);else{var R=/cancel|phase/.test(n)?["svg-align"]:[];C=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:R}]},t)}return/cancel/.test(n)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(n)&&!o?E.makeSpan(["mord","cancel-lap"],[C],t):E.makeSpan(["mord"],[C],t)},o0=(e,t)=>{var r=0,n=new D.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[xe(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 i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};Y({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=he(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:s}},htmlBuilder:s0,mathmlBuilder:o0}),Y({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=he(t[0],"color-token").color,s=he(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:s,borderColor:a,body:o}},htmlBuilder:s0,mathmlBuilder:o0}),Y({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]}}}),Y({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:s0,mathmlBuilder:o0}),Y({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 mi={};function wt(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<r.length;++l)mi[r[l]]=o;a&&(Jr[t]=a),s&&(Qr[t]=s)}var pi={};function b(e,t){pi[e]=t}function fi(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 ln=e=>{var t=e.parser.settings;if(!t.displayMode)throw new P("{"+e.envName+"} can be used only in display mode.")};function l0(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function jt(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:s,colSeparationType:o,autoTag:l,singleRow:h,emptySingleRow:d,maxNumCols:p,leqno:g}=t;if(e.gullet.beginGroup(),h||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)s=1;else if(s=parseFloat(m),!s||s<0)throw new P("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var z=[],k=[z],N=[],A=[],C=l!=null?[]:void 0;function R(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function W(){C&&(e.gullet.macros.get("\\df@tag")?(C.push(e.subparse([new bt("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):C.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),A.push(fi(e));;){var H=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),H={type:"ordgroup",mode:e.mode,body:H},r&&(H={type:"styling",mode:e.mode,style:r,body:[H]}),z.push(H);var T=e.fetch().text;if(T==="&"){if(p&&z.length===p){if(h||o)throw new P("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(T==="\\end"){W(),z.length===1&&H.type==="styling"&&H.body[0].body.length===0&&(k.length>1||!d)&&k.pop(),A.length<k.length+1&&A.push([]);break}else if(T==="\\\\"){e.consume();var X=void 0;e.gullet.future().text!==" "&&(X=e.parseSizeGroup(!0)),N.push(X?X.value:null),W(),A.push(fi(e)),z=[],k.push(z),R()}else throw new P("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:s,body:k,cols:a,rowGaps:N,hskipBeforeAndAfter:n,hLinesBeforeRow:A,colSeparationType:o,tags:C,leqno:g}}function u0(e){return e.slice(0,1)==="d"?"display":"text"}var xt=function(t,r){var n,i,a=t.body.length,s=t.hLinesBeforeRow,o=0,l=new Array(a),h=[],d=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),p=1/r.fontMetrics().ptPerEm,g=5*p;if(t.colSeparationType&&t.colSeparationType==="small"){var m=r.havingStyle(ne.SCRIPT).sizeMultiplier;g=.2778*(m/r.sizeMultiplier)}var z=t.colSeparationType==="CD"?Te({number:3,unit:"ex"},r):12*p,k=3*p,N=t.arraystretch*z,A=.7*N,C=.3*N,R=0;function W(pt){for(var ie=0;ie<pt.length;++ie)ie>0&&(R+=.25),h.push({pos:R,isDashed:pt[ie]})}for(W(s[0]),n=0;n<t.body.length;++n){var H=t.body[n],T=A,X=C;o<H.length&&(o=H.length);var ee=new Array(H.length);for(i=0;i<H.length;++i){var G=be(H[i],r);X<G.depth&&(X=G.depth),T<G.height&&(T=G.height),ee[i]=G}var M=t.rowGaps[n],V=0;M&&(V=Te(M,r),V>0&&(V+=C,X<V&&(X=V),V=0)),t.addJot&&(X+=k),ee.height=T,ee.depth=X,R+=T,ee.pos=R,R+=X+V,l[n]=ee,W(s[n+1])}var $=R/2+r.fontMetrics().axisHeight,de=t.cols||[],ue=[],re,ve,O=[];if(t.tags&&t.tags.some(pt=>pt))for(n=0;n<a;++n){var L=l[n],Q=L.pos-$,v=t.tags[n],se=void 0;v===!0?se=E.makeSpan(["eqn-num"],[],r):v===!1?se=E.makeSpan([],[],r):se=E.makeSpan([],Ie(v,r,!0),r),se.depth=L.depth,se.height=L.height,O.push({type:"elem",elem:se,shift:Q})}for(i=0,ve=0;i<o||ve<de.length;++i,++ve){for(var ce=de[ve]||{},x=!0;ce.type==="separator";){if(x||(re=E.makeSpan(["arraycolsep"],[]),re.style.width=U(r.fontMetrics().doubleRuleSep),ue.push(re)),ce.separator==="|"||ce.separator===":"){var Oe=ce.separator==="|"?"solid":"dashed",we=E.makeSpan(["vertical-separator"],[],r);we.style.height=U(R),we.style.borderRightWidth=U(d),we.style.borderRightStyle=Oe,we.style.margin="0 "+U(-d/2);var ye=R-$;ye&&(we.style.verticalAlign=U(-ye)),ue.push(we)}else throw new P("Invalid separator type: "+ce.separator);ve++,ce=de[ve]||{},x=!1}if(!(i>=o)){var Xe=void 0;(i>0||t.hskipBeforeAndAfter)&&(Xe=oe.deflt(ce.pregap,g),Xe!==0&&(re=E.makeSpan(["arraycolsep"],[]),re.style.width=U(Xe),ue.push(re)));var Fe=[];for(n=0;n<a;++n){var Je=l[n],Qe=Je[i];if(Qe){var tr=Je.pos-$;Qe.depth=Je.depth,Qe.height=Je.height,Fe.push({type:"elem",elem:Qe,shift:tr})}}Fe=E.makeVList({positionType:"individualShift",children:Fe},r),Fe=E.makeSpan(["col-align-"+(ce.align||"c")],[Fe]),ue.push(Fe),(i<o-1||t.hskipBeforeAndAfter)&&(Xe=oe.deflt(ce.postgap,g),Xe!==0&&(re=E.makeSpan(["arraycolsep"],[]),re.style.width=U(Xe),ue.push(re)))}}if(l=E.makeSpan(["mtable"],ue),h.length>0){for(var Or=E.makeLineSpan("hline",r,d),Ir=E.makeLineSpan("hdashline",r,d),mt=[{type:"elem",elem:l,shift:0}];h.length>0;){var Kt=h.pop(),Ge=Kt.pos-$;Kt.isDashed?mt.push({type:"elem",elem:Ir,shift:Ge}):mt.push({type:"elem",elem:Or,shift:Ge})}l=E.makeVList({positionType:"individualShift",children:mt},r)}if(O.length===0)return E.makeSpan(["mord"],[l],r);var rr=E.makeVList({positionType:"individualShift",children:O},r);return rr=E.makeSpan(["tag"],[rr],r),E.makeFragment([l,rr])},cc={c:"center ",l:"left ",r:"right "},kt=function(t,r){for(var n=[],i=new D.MathNode("mtd",[],["mtr-glue"]),a=new D.MathNode("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var o=t.body[s],l=[],h=0;h<o.length;h++)l.push(new D.MathNode("mtd",[xe(o[h],r)]));t.tags&&t.tags[s]&&(l.unshift(i),l.push(i),t.leqno?l.unshift(a):l.push(a)),n.push(new D.MathNode("mtr",l))}var d=new D.MathNode("mtable",n),p=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);d.setAttribute("rowspacing",U(p));var g="",m="";if(t.cols&&t.cols.length>0){var z=t.cols,k="",N=!1,A=0,C=z.length;z[0].type==="separator"&&(g+="top ",A=1),z[z.length-1].type==="separator"&&(g+="bottom ",C-=1);for(var R=A;R<C;R++)z[R].type==="align"?(m+=cc[z[R].align],N&&(k+="none "),N=!0):z[R].type==="separator"&&N&&(k+=z[R].separator==="|"?"solid ":"dashed ",N=!1);d.setAttribute("columnalign",m.trim()),/[sd]/.test(k)&&d.setAttribute("columnlines",k.trim())}if(t.colSeparationType==="align"){for(var W=t.cols||[],H="",T=1;T<W.length;T++)H+=T%2?"0em ":"1em ";d.setAttribute("columnspacing",H.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?d.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?d.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?d.setAttribute("columnspacing","0.5em"):d.setAttribute("columnspacing","1em");var X="",ee=t.hLinesBeforeRow;g+=ee[0].length>0?"left ":"",g+=ee[ee.length-1].length>0?"right ":"";for(var G=1;G<ee.length-1;G++)X+=ee[G].length===0?"none ":ee[G][0]?"dashed ":"solid ";return/[sd]/.test(X)&&d.setAttribute("rowlines",X.trim()),g!==""&&(d=new D.MathNode("menclose",[d]),d.setAttribute("notation",g.trim())),t.arraystretch&&t.arraystretch<1&&(d=new D.MathNode("mstyle",[d]),d.setAttribute("scriptlevel","1")),d},gi=function(t,r){t.envName.indexOf("ed")===-1&&ln(t);var n=[],i=t.envName.indexOf("at")>-1?"alignat":"align",a=t.envName==="split",s=jt(t.parser,{cols:n,addJot:!0,autoTag:a?void 0:l0(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),o,l=0,h={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var d="",p=0;p<r[0].body.length;p++){var g=he(r[0].body[p],"textord");d+=g.text}o=Number(d),l=o*2}var m=!l;s.body.forEach(function(A){for(var C=1;C<A.length;C+=2){var R=he(A[C],"styling"),W=he(R.body[0],"ordgroup");W.body.unshift(h)}if(m)l<A.length&&(l=A.length);else{var H=A.length/2;if(o<H)throw new P("Too many math in a row: "+("expected "+o+", but got "+H),A[0])}});for(var z=0;z<l;++z){var k="r",N=0;z%2===1?k="l":z>0&&m&&(N=1),n[z]={type:"align",align:k,pregap:N,postgap:0}}return s.colSeparationType=m?"align":"alignat",s};wt({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=rn(t[0]),n=r?[t[0]]:he(t[0],"ordgroup").body,i=n.map(function(s){var o=Yn(s),l=o.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new P("Unknown column alignment: "+l,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return jt(e.parser,a,u0(e.envName))},htmlBuilder:xt,mathmlBuilder:kt}),wt({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 i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new P("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=jt(e.parser,n,u0(e.envName)),s=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=jt(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=rn(t[0]),n=r?[t[0]]:he(t[0],"ordgroup").body,i=n.map(function(s){var o=Yn(s),l=o.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new P("Unknown column alignment: "+l,s)});if(i.length>1)throw new P("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=jt(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new P("{subarray} can contain only one column");return a},htmlBuilder:xt,mathmlBuilder:kt}),wt({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=jt(e.parser,t,u0(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:gi,htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){oe.contains(["gather","gather*"],e.envName)&&ln(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:l0(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return jt(e.parser,t,"display")},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:gi,htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){ln(e);var t={autoTag:l0(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return jt(e.parser,t,"display")},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["CD"],props:{numArgs:0},handler(e){return ln(e),Y1(e.parser)},htmlBuilder:xt,mathmlBuilder:kt}),b("\\nonumber","\\gdef\\@eqnsw{0}"),b("\\notag","\\nonumber"),Y({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new P(e.funcName+" valid only within array environment")}});var bi=mi;Y({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];if(i.type!=="ordgroup")throw new P("Invalid environment name",i);for(var a="",s=0;s<i.body.length;++s)a+=he(i.body[s],"textord").text;if(n==="\\begin"){if(!bi.hasOwnProperty(a))throw new P("No such environment: "+a,i);var o=bi[a],{args:l,optArgs:h}=r.parseArguments("\\begin{"+a+"}",o),d={mode:r.mode,envName:a,parser:r},p=o.handler(d,l,h);r.expect("\\end",!1);var g=r.nextToken,m=he(r.parseFunction(),"environment");if(m.name!==a)throw new P("Mismatch: \\begin{"+a+"} matched by \\end{"+m.name+"}",g);return p}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var vi=(e,t)=>{var r=e.font,n=t.withFont(r);return be(e.body,n)},yi=(e,t)=>{var r=e.font,n=t.withFont(r);return xe(e.body,n)},wi={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Y({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=en(t[0]),a=n;return a in wi&&(a=wi[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:vi,mathmlBuilder:yi}),Y({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],i=oe.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:an(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}}),Y({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:i}=e,{mode:a}=r,s=r.parseExpression(!0,i),o="math"+n.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:vi,mathmlBuilder:yi});var xi=(e,t)=>{var r=t;return e==="display"?r=r.id>=ne.SCRIPT.id?r.text():ne.DISPLAY:e==="text"&&r.size===ne.DISPLAY.size?r=ne.TEXT:e==="script"?r=ne.SCRIPT:e==="scriptscript"&&(r=ne.SCRIPTSCRIPT),r},c0=(e,t)=>{var r=xi(e.size,t.style),n=r.fracNum(),i=r.fracDen(),a;a=t.havingStyle(n);var s=be(e.numer,a,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;s.height=s.height<o?o:s.height,s.depth=s.depth<l?l:s.depth}a=t.havingStyle(i);var h=be(e.denom,a,t),d,p,g;e.hasBarLine?(e.barSize?(p=Te(e.barSize,t),d=E.makeLineSpan("frac-line",t,p)):d=E.makeLineSpan("frac-line",t),p=d.height,g=d.height):(d=null,p=0,g=t.fontMetrics().defaultRuleThickness);var m,z,k;r.size===ne.DISPLAY.size||e.size==="display"?(m=t.fontMetrics().num1,p>0?z=3*g:z=7*g,k=t.fontMetrics().denom1):(p>0?(m=t.fontMetrics().num2,z=g):(m=t.fontMetrics().num3,z=3*g),k=t.fontMetrics().denom2);var N;if(d){var C=t.fontMetrics().axisHeight;m-s.depth-(C+.5*p)<z&&(m+=z-(m-s.depth-(C+.5*p))),C-.5*p-(h.height-k)<z&&(k+=z-(C-.5*p-(h.height-k)));var R=-(C-.5*p);N=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:d,shift:R},{type:"elem",elem:s,shift:-m}]},t)}else{var A=m-s.depth-(h.height-k);A<z&&(m+=.5*(z-A),k+=.5*(z-A)),N=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:s,shift:-m}]},t)}a=t.havingStyle(r),N.height*=a.sizeMultiplier/t.sizeMultiplier,N.depth*=a.sizeMultiplier/t.sizeMultiplier;var W;r.size===ne.DISPLAY.size?W=t.fontMetrics().delim1:r.size===ne.SCRIPTSCRIPT.size?W=t.havingStyle(ne.SCRIPT).fontMetrics().delim2:W=t.fontMetrics().delim2;var H,T;return e.leftDelim==null?H=Sr(t,["mopen"]):H=Bt.customSizedDelim(e.leftDelim,W,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?T=E.makeSpan([]):e.rightDelim==null?T=Sr(t,["mclose"]):T=Bt.customSizedDelim(e.rightDelim,W,!0,t.havingStyle(r),e.mode,["mclose"]),E.makeSpan(["mord"].concat(a.sizingClasses(t)),[H,E.makeSpan(["mfrac"],[N]),T],t)},h0=(e,t)=>{var r=new D.MathNode("mfrac",[xe(e.numer,t),xe(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Te(e.barSize,t);r.setAttribute("linethickness",U(n))}var i=xi(e.size,t.style);if(i.size!==t.style.size){r=new D.MathNode("mstyle",[r]);var a=i.size===ne.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var s=[];if(e.leftDelim!=null){var o=new D.MathNode("mo",[new D.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),e.rightDelim!=null){var l=new D.MathNode("mo",[new D.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return Xn(s)}return r};Y({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1],s,o=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",l=")";break;case"\\\\bracefrac":s=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,o="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:s,leftDelim:o,rightDelim:l,size:h,barSize:null}},htmlBuilder:c0,mathmlBuilder:h0}),Y({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Y({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:n}}});var ki=["display","text","script","scriptscript"],zi=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};Y({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],i=t[5],a=en(t[0]),s=a.type==="atom"&&a.family==="open"?zi(a.text):null,o=en(t[1]),l=o.type==="atom"&&o.family==="close"?zi(o.text):null,h=he(t[2],"size"),d,p=null;h.isBlank?d=!0:(p=h.value,d=p.number>0);var g="auto",m=t[3];if(m.type==="ordgroup"){if(m.body.length>0){var z=he(m.body[0],"textord");g=ki[Number(z.text)]}}else m=he(m,"textord"),g=ki[Number(m.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:d,barSize:p,leftDelim:s,rightDelim:l,size:g}},htmlBuilder:c0,mathmlBuilder:h0}),Y({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:i}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:he(t[0],"size").value,token:i}}}),Y({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=Hu(he(t[1],"infix").size),s=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:s,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:c0,mathmlBuilder:h0});var Si=(e,t)=>{var r=t.style,n,i;e.type==="supsub"?(n=e.sup?be(e.sup,t.havingStyle(r.sup()),t):be(e.sub,t.havingStyle(r.sub()),t),i=he(e.base,"horizBrace")):i=he(e,"horizBrace");var a=be(i.base,t.havingBaseStyle(ne.DISPLAY)),s=_t.svgSpan(i,t),o;if(i.isOver?(o=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=E.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var l=E.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t);i.isOver?o=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):o=E.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return E.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t)},hc=(e,t)=>{var r=_t.mathMLnode(e.label);return new D.MathNode(e.isOver?"mover":"munder",[xe(e.base,t),r])};Y({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:Si,mathmlBuilder:hc}),Y({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=he(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:Ne(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Ie(e.body,t,!1);return E.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Gt(e.body,t);return r instanceof ot||(r=new ot("mrow",[r])),r.setAttribute("href",e.href),r}}),Y({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=he(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var s=n[a];s==="~"&&(s="\\textasciitilde"),i.push({type:"textord",mode:"text",text:s})}var o={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:Ne(o)}}}),Y({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:Ne(t[0])}},htmlBuilder(e,t){var r=Ie(e.body,t,!1);return E.makeFragment(r)},mathmlBuilder(e,t){return new D.MathNode("mrow",Ze(e.body,t))}}),Y({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:i}=e,a=he(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,l={};switch(n){case"\\htmlClass":l.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var h=a.split(","),d=0;d<h.length;d++){var p=h[d].split("=");if(p.length!==2)throw new P("Error parsing key-value for \\htmlData");l["data-"+p[0].trim()]=p[1].trim()}o={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:l,body:Ne(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Ie(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=E.makeSpan(n,r,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>Gt(e.body,t)}),Y({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Ne(t[0]),mathml:Ne(t[1])}},htmlBuilder:(e,t)=>{var r=Ie(e.html,t,!1);return E.makeFragment(r)},mathmlBuilder:(e,t)=>Gt(e.mathml,t)});var d0=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 P("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!Aa(n))throw new P("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};Y({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var l=he(r[0],"raw").string,h=l.split(","),d=0;d<h.length;d++){var p=h[d].split("=");if(p.length===2){var g=p[1].trim();switch(p[0].trim()){case"alt":o=g;break;case"width":i=d0(g);break;case"height":a=d0(g);break;case"totalheight":s=d0(g);break;default:throw new P("Invalid key: '"+p[0]+"' in \\includegraphics.")}}}var m=he(t[0],"url").url;return o===""&&(o=m,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:m})?{type:"includegraphics",mode:n.mode,alt:o,width:i,height:a,totalheight:s,src:m}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Te(e.height,t),n=0;e.totalheight.number>0&&(n=Te(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=Te(e.width,t));var a={height:U(r+n)};i>0&&(a.width=U(i)),n>0&&(a.verticalAlign=U(-n));var s=new h1(e.src,e.alt,a);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new D.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=Te(e.height,t),i=0;if(e.totalheight.number>0&&(i=Te(e.totalheight,t)-n,r.setAttribute("valign",U(-i))),r.setAttribute("height",U(n+i)),e.width.number>0){var a=Te(e.width,t);r.setAttribute("width",U(a))}return r.setAttribute("src",e.src),r}}),Y({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,i=he(t[0],"size");if(r.settings.strict){var a=n[1]==="m",s=i.value.unit==="mu";a?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(e,t){return E.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=Te(e.dimension,t);return new D.SpaceNode(r)}}),Y({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=E.makeSpan([],[be(e.body,t)]),r=E.makeSpan(["inner"],[r],t)):r=E.makeSpan(["inner"],[be(e.body,t)]);var n=E.makeSpan(["fix"],[]),i=E.makeSpan([e.alignment],[r,n],t),a=E.makeSpan(["strut"]);return a.style.height=U(i.height+i.depth),i.depth&&(a.style.verticalAlign=U(-i.depth)),i.children.unshift(a),i=E.makeSpan(["thinbox"],[i],t),E.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new D.MathNode("mpadded",[xe(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}}),Y({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",s=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:s}}}),Y({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new P("Mismatched "+e.funcName)}});var Ei=(e,t)=>{switch(t.style.size){case ne.DISPLAY.size:return e.display;case ne.TEXT.size:return e.text;case ne.SCRIPT.size:return e.script;case ne.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Y({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Ne(t[0]),text:Ne(t[1]),script:Ne(t[2]),scriptscript:Ne(t[3])}},htmlBuilder:(e,t)=>{var r=Ei(e,t),n=Ie(r,t,!1);return E.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=Ei(e,t);return Gt(r,t)}});var Ai=(e,t,r,n,i,a,s)=>{e=E.makeSpan([],[e]);var o=r&&oe.isCharacterBox(r),l,h;if(t){var d=be(t,n.havingStyle(i.sup()),n);h={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var p=be(r,n.havingStyle(i.sub()),n);l={elem:p,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-p.height)}}var g;if(h&&l){var m=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+s;g=E.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:U(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:U(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(l){var z=e.height-s;g=E.makeVList({positionType:"top",positionData:z,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:U(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},n)}else if(h){var k=e.depth+s;g=E.makeVList({positionType:"bottom",positionData:k,children:[{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:U(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var N=[g];if(l&&a!==0&&!o){var A=E.makeSpan(["mspace"],[],n);A.style.marginRight=U(a),N.unshift(A)}return E.makeSpan(["mop","op-limits"],N,n)},Ti=["\\smallint"],dr=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=he(e.base,"op"),i=!0):a=he(e,"op");var s=t.style,o=!1;s.size===ne.DISPLAY.size&&a.symbol&&!oe.contains(Ti,a.name)&&(o=!0);var l;if(a.symbol){var h=o?"Size2-Regular":"Size1-Regular",d="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(d=a.name.slice(1),a.name=d==="oiint"?"\\iint":"\\iiint"),l=E.makeSymbol(a.name,h,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),d.length>0){var p=l.italic,g=E.staticSvg(d+"Size"+(o?"2":"1"),t);l=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:g,shift:o?.08:0}]},t),a.name="\\"+d,l.classes.unshift("mop"),l.italic=p}}else if(a.body){var m=Ie(a.body,t,!0);m.length===1&&m[0]instanceof st?(l=m[0],l.classes[0]="mop"):l=E.makeSpan(["mop"],m,t)}else{for(var z=[],k=1;k<a.name.length;k++)z.push(E.mathsym(a.name[k],a.mode,t));l=E.makeSpan(["mop"],z,t)}var N=0,A=0;return(l instanceof st||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift&&(N=(l.height-l.depth)/2-t.fontMetrics().axisHeight,A=l.italic),i?Ai(l,r,n,t,s,A,N):(N&&(l.style.position="relative",l.style.top=U(N)),l)},Mr=(e,t)=>{var r;if(e.symbol)r=new ot("mo",[lt(e.name,e.mode)]),oe.contains(Ti,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new ot("mo",Ze(e.body,t));else{r=new ot("mi",[new Er(e.name.slice(1))]);var n=new ot("mo",[lt("⁡","text")]);e.parentIsSupSub?r=new ot("mrow",[r,n]):r=ja([r,n])}return r},dc={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Y({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,i=n;return i.length===1&&(i=dc[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:dr,mathmlBuilder:Mr}),Y({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:Ne(n)}},htmlBuilder:dr,mathmlBuilder:Mr});var mc={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Y({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:dr,mathmlBuilder:Mr}),Y({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:dr,mathmlBuilder:Mr}),Y({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=mc[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:dr,mathmlBuilder:Mr});var Mi=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=he(e.base,"operatorname"),i=!0):a=he(e,"operatorname");var s;if(a.body.length>0){for(var o=a.body.map(p=>{var g=p.text;return typeof g=="string"?{type:"textord",mode:p.mode,text:g}:p}),l=Ie(o,t.withFont("mathrm"),!0),h=0;h<l.length;h++){var d=l[h];d instanceof st&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=E.makeSpan(["mop"],l,t)}else s=E.makeSpan(["mop"],[],t);return i?Ai(s,r,n,t,t.style,0,0):s},pc=(e,t)=>{for(var r=Ze(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(!(a instanceof D.SpaceNode))if(a instanceof D.MathNode)switch(a.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var s=a.children[0];a.children.length===1&&s instanceof D.TextNode?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(d=>d.toText()).join("");r=[new D.TextNode(o)]}var l=new D.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new D.MathNode("mo",[lt("⁡","text")]);return e.parentIsSupSub?new D.MathNode("mrow",[l,h]):D.newDocumentFragment([l,h])};Y({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"operatorname",mode:r.mode,body:Ne(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Mi,mathmlBuilder:pc}),b("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Jt({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?E.makeFragment(Ie(e.body,t,!1)):E.makeSpan(["mord"],Ie(e.body,t,!0),t)},mathmlBuilder(e,t){return Gt(e.body,t,!0)}}),Y({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=be(e.body,t.havingCrampedStyle()),n=E.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},t);return E.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new D.MathNode("mo",[new D.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new D.MathNode("mover",[xe(e.body,t),r]);return n.setAttribute("accent","true"),n}}),Y({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:Ne(n)}},htmlBuilder:(e,t)=>{var r=Ie(e.body,t.withPhantom(),!1);return E.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Ze(e.body,t);return new D.MathNode("mphantom",r)}}),Y({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=E.makeSpan([],[be(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=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),E.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=Ze(Ne(e.body),t),n=new D.MathNode("mphantom",r),i=new D.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),Y({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=E.makeSpan(["inner"],[be(e.body,t.withPhantom())]),n=E.makeSpan(["fix"],[]);return E.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Ze(Ne(e.body),t),n=new D.MathNode("mphantom",r),i=new D.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}}),Y({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=he(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=be(e.body,t),n=Te(e.dy,t);return E.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new D.MathNode("mpadded",[xe(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),Y({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),Y({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,i=r[0],a=he(t[0],"size"),s=he(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&he(i,"size").value,width:a.value,height:s.value}},htmlBuilder(e,t){var r=E.makeSpan(["mord","rule"],[],t),n=Te(e.width,t),i=Te(e.height,t),a=e.shift?Te(e.shift,t):0;return r.style.borderRightWidth=U(n),r.style.borderTopWidth=U(i),r.style.bottom=U(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Te(e.width,t),n=Te(e.height,t),i=e.shift?Te(e.shift,t):0,a=t.color&&t.getColor()||"black",s=new D.MathNode("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",U(r)),s.setAttribute("height",U(n));var o=new D.MathNode("mpadded",[s]);return i>=0?o.setAttribute("height",U(i)):(o.setAttribute("height",U(i)),o.setAttribute("depth",U(-i))),o.setAttribute("voffset",U(i)),o}});function Ci(e,t,r){for(var n=Ie(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var s=n[a].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[a].classes,t.sizingClasses(r)):n[a].classes[s+1]==="reset-size"+t.size&&(n[a].classes[s+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return E.makeFragment(n)}var Ni=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],fc=(e,t)=>{var r=t.havingSize(e.size);return Ci(e.body,r,t)};Y({type:"sizing",names:Ni,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:Ni.indexOf(n)+1,body:a}},htmlBuilder:fc,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Ze(e.body,r),i=new D.MathNode("mstyle",n);return i.setAttribute("mathsize",U(r.sizeMultiplier)),i}}),Y({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,i=!1,a=!1,s=r[0]&&he(r[0],"ordgroup");if(s)for(var o="",l=0;l<s.body.length;++l){var h=s.body[l];if(o=h.text,o==="t")i=!0;else if(o==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var d=t[0];return{type:"smash",mode:n.mode,body:d,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var r=E.makeSpan([],[be(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 i=0;i<r.children.length;i++)r.children[i].depth=0;var a=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return E.makeSpan(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new D.MathNode("mpadded",[xe(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),Y({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,i=r[0],a=t[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(e,t){var r=be(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=E.wrapFragment(r,t);var n=t.fontMetrics(),i=n.defaultRuleThickness,a=i;t.style.id<ne.TEXT.id&&(a=t.fontMetrics().xHeight);var s=i+a/4,o=r.height+r.depth+s+i,{span:l,ruleWidth:h,advanceWidth:d}=Bt.sqrtImage(o,t),p=l.height-h;p>r.height+r.depth+s&&(s=(s+p-r.height-r.depth)/2);var g=l.height-r.height-s-h;r.style.paddingLeft=U(d);var m=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+g)},{type:"elem",elem:l},{type:"kern",size:h}]},t);if(e.index){var z=t.havingStyle(ne.SCRIPTSCRIPT),k=be(e.index,z,t),N=.6*(m.height-m.depth),A=E.makeVList({positionType:"shift",positionData:-N,children:[{type:"elem",elem:k}]},t),C=E.makeSpan(["root"],[A]);return E.makeSpan(["mord","sqrt"],[C,m],t)}else return E.makeSpan(["mord","sqrt"],[m],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new D.MathNode("mroot",[xe(r,t),xe(n,t)]):new D.MathNode("msqrt",[xe(r,t)])}});var _i={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT};Y({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:s,body:a}},htmlBuilder(e,t){var r=_i[e.style],n=t.havingStyle(r).withFont("");return Ci(e.body,n,t)},mathmlBuilder(e,t){var r=_i[e.style],n=t.havingStyle(r),i=Ze(e.body,n),a=new D.MathNode("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var gc=function(t,r){var n=t.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===ne.DISPLAY.size||n.alwaysHandleSupSub);return i?dr:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===ne.DISPLAY.size||n.limits);return a?Mi:null}else{if(n.type==="accent")return oe.isCharacterBox(n.base)?Zn:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?Si:null}else return null}else return null};Jt({type:"supsub",htmlBuilder(e,t){var r=gc(e,t);if(r)return r(e,t);var{base:n,sup:i,sub:a}=e,s=be(n,t),o,l,h=t.fontMetrics(),d=0,p=0,g=n&&oe.isCharacterBox(n);if(i){var m=t.havingStyle(t.style.sup());o=be(i,m,t),g||(d=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(a){var z=t.havingStyle(t.style.sub());l=be(a,z,t),g||(p=s.depth+z.fontMetrics().subDrop*z.sizeMultiplier/t.sizeMultiplier)}var k;t.style===ne.DISPLAY?k=h.sup1:t.style.cramped?k=h.sup3:k=h.sup2;var N=t.sizeMultiplier,A=U(.5/h.ptPerEm/N),C=null;if(l){var R=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof st||R)&&(C=U(-s.italic))}var W;if(o&&l){d=Math.max(d,k,o.depth+.25*h.xHeight),p=Math.max(p,h.sub2);var H=h.defaultRuleThickness,T=4*H;if(d-o.depth-(l.height-p)<T){p=T-(d-o.depth)+l.height;var X=.8*h.xHeight-(d-o.depth);X>0&&(d+=X,p-=X)}var ee=[{type:"elem",elem:l,shift:p,marginRight:A,marginLeft:C},{type:"elem",elem:o,shift:-d,marginRight:A}];W=E.makeVList({positionType:"individualShift",children:ee},t)}else if(l){p=Math.max(p,h.sub1,l.height-.8*h.xHeight);var G=[{type:"elem",elem:l,marginLeft:C,marginRight:A}];W=E.makeVList({positionType:"shift",positionData:p,children:G},t)}else if(o)d=Math.max(d,k,o.depth+.25*h.xHeight),W=E.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:o,marginRight:A}]},t);else throw new Error("supsub must have either sup or sub.");var M=Vn(s,"right")||"mord";return E.makeSpan([M],[s,E.makeSpan(["msupsub"],[W])],t)},mathmlBuilder(e,t){var r=!1,n,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[xe(e.base,t)];e.sub&&a.push(xe(e.sub,t)),e.sup&&a.push(xe(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var h=e.base;h&&h.type==="op"&&h.limits&&t.style===ne.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(t.style===ne.DISPLAY||h.limits)?s="munderover":s="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===ne.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===ne.DISPLAY)?s="munder":s="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===ne.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===ne.DISPLAY)?s="mover":s="msup"}return new D.MathNode(s,a)}}),Jt({type:"atom",htmlBuilder(e,t){return E.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new D.MathNode("mo",[lt(e.text,e.mode)]);if(e.family==="bin"){var n=Kn(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 Bi={mi:"italic",mn:"normal",mtext:"normal"};Jt({type:"mathord",htmlBuilder(e,t){return E.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new D.MathNode("mi",[lt(e.text,e.mode,t)]),n=Kn(e,t)||"italic";return n!==Bi[r.type]&&r.setAttribute("mathvariant",n),r}}),Jt({type:"textord",htmlBuilder(e,t){return E.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=lt(e.text,e.mode,t),n=Kn(e,t)||"normal",i;return e.mode==="text"?i=new D.MathNode("mtext",[r]):/[0-9]/.test(e.text)?i=new D.MathNode("mn",[r]):e.text==="\\prime"?i=new D.MathNode("mo",[r]):i=new D.MathNode("mi",[r]),n!==Bi[i.type]&&i.setAttribute("mathvariant",n),i}});var m0={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},p0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Jt({type:"spacing",htmlBuilder(e,t){if(p0.hasOwnProperty(e.text)){var r=p0[e.text].className||"";if(e.mode==="text"){var n=E.makeOrd(e,t,"textord");return n.classes.push(r),n}else return E.makeSpan(["mspace",r],[E.mathsym(e.text,e.mode,t)],t)}else{if(m0.hasOwnProperty(e.text))return E.makeSpan(["mspace",m0[e.text]],[],t);throw new P('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(p0.hasOwnProperty(e.text))r=new D.MathNode("mtext",[new D.TextNode(" ")]);else{if(m0.hasOwnProperty(e.text))return new D.MathNode("mspace");throw new P('Unknown type of space "'+e.text+'"')}return r}});var Ri=()=>{var e=new D.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Jt({type:"tag",mathmlBuilder(e,t){var r=new D.MathNode("mtable",[new D.MathNode("mtr",[Ri(),new D.MathNode("mtd",[Gt(e.body,t)]),Ri(),new D.MathNode("mtd",[Gt(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Oi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ii={"\\textbf":"textbf","\\textmd":"textmd"},bc={"\\textit":"textit","\\textup":"textup"},Di=(e,t)=>{var r=e.font;return r?Oi[r]?t.withTextFontFamily(Oi[r]):Ii[r]?t.withTextFontWeight(Ii[r]):t.withTextFontShape(bc[r]):t};Y({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"text",mode:r.mode,body:Ne(i),font:n}},htmlBuilder(e,t){var r=Di(e,t),n=Ie(e.body,r,!0);return E.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Di(e,t);return Gt(e.body,r)}}),Y({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=be(e.body,t),n=E.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=E.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},t);return E.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new D.MathNode("mo",[new D.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new D.MathNode("munder",[xe(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),Y({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=be(e.body,t),n=t.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return E.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new D.MathNode("mpadded",[xe(e.body,t)],["vcenter"])}}),Y({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new P("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Li(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var s=r[a];s==="~"&&(s="\\textasciitilde"),n.push(E.makeSymbol(s,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return E.makeSpan(["mord","text"].concat(i.sizingClasses(t)),E.tryCombineChars(n),i)},mathmlBuilder(e,t){var r=new D.TextNode(Li(e)),n=new D.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Li=e=>e.body.replace(/ /g,e.star?"␣":" "),$t=Ha,Fi=`[ \r
259
- ]`,vc="\\\\[a-zA-Z@]+",yc="\\\\[^\uD800-\uDFFF]",wc="("+vc+")"+Fi+"*",xc=`\\\\(
260
+ -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 rn{constructor(e){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=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return ie.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){for(var e="",r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e}toText(){var e=r=>r.toText();return this.children.map(e).join("")}}var Pt={"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]}},_n={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]},H0={Å:"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 vc(t,e){Pt[t]=e}function Ci(t,e,r){if(!Pt[e])throw new Error("Font metrics not found for font: "+e+".");var n=t.charCodeAt(0),i=Pt[e][n];if(!i&&t[0]in H0&&(n=H0[t[0]].charCodeAt(0),i=Pt[e][n]),!i&&r==="text"&&P0(n)&&(i=Pt[e][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var _i={};function yc(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!_i[e]){var r=_i[e]={cssEmPerMu:_n.quad[e]/18};for(var n in _n)_n.hasOwnProperty(n)&&(r[n]=_n[n][e])}return _i[e]}var wc=[[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]],U0=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],G0=function(e,r){return r.size<2?e:wc[e-1][r.size-1]};class Kt{constructor(e){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=e.style,this.color=e.color,this.size=e.size||Kt.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=U0[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){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 e)e.hasOwnProperty(n)&&(r[n]=e[n]);return new Kt(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:G0(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:U0[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=G0(Kt.BASESIZE,e);return this.size===r&&this.textSize===Kt.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Kt.BASESIZE?["sizing","reset-size"+this.size,"size"+Kt.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=yc(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Kt.BASESIZE=6;var Ni={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},xc={ex:!0,em:!0,mu:!0},$0=function(e){return typeof e!="string"&&(e=e.unit),e in Ni||e in xc||e==="ex"},Fe=function(e,r){var n;if(e.unit in Ni)n=Ni[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,e.unit==="ex")n=i.fontMetrics().xHeight;else if(e.unit==="em")n=i.fontMetrics().quad;else throw new L("Invalid unit: '"+e.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*n,r.maxSize)},H=function(e){return+e.toFixed(4)+"em"},dr=function(e){return e.filter(r=>r).join(" ")},W0=function(e,r,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},j0=function(e){var r=document.createElement(e);r.className=dr(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r},V0=function(e){var r="<"+e;this.classes.length&&(r+=' class="'+ie.escape(dr(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=ie.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+ie.escape(n)+'"');for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&(r+=" "+a+'="'+ie.escape(this.attributes[a])+'"');r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+e+">",r};class nn{constructor(e,r,n,i){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,W0.call(this,e,n,i),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return ie.contains(this.classes,e)}toNode(){return j0.call(this,"span")}toMarkup(){return V0.call(this,"span")}}class Bi{constructor(e,r,n,i){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,W0.call(this,r,i),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return ie.contains(this.classes,e)}toNode(){return j0.call(this,"a")}toMarkup(){return V0.call(this,"a")}}class kc{constructor(e,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=e,this.classes=["mord"],this.style=n}hasClass(e){return ie.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e='<img src="'+ie.escape(this.src)+'"'+(' alt="'+ie.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=ie.hyphenate(n)+":"+this.style[n]+";");return r&&(e+=' style="'+ie.escape(r)+'"'),e+="'/>",e}}var Sc={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Tt{constructor(e,r,n,i,a,s,o,u){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=e,this.height=r||0,this.depth=n||0,this.italic=i||0,this.skew=a||0,this.width=s||0,this.classes=o||[],this.style=u||{},this.maxFontSize=0;var h=oc(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Sc[this.text])}hasClass(e){return ie.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=H(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=dr(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(e),r):e}toMarkup(){var e=!1,r="<span";this.classes.length&&(e=!0,r+=' class="',r+=ie.escape(dr(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=ie.hyphenate(i)+":"+this.style[i]+";");n&&(e=!0,r+=' style="'+ie.escape(n)+'"');var a=ie.escape(this.text);return e?(r+=">",r+=a,r+="</span>",r):a}}class Yt{constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+ie.escape(this.attributes[r])+'"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>",e}}class mr{constructor(e,r){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=r}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",q0[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+ie.escape(this.alternate)+'"/>':'<path d="'+ie.escape(q0[this.pathName])+'"/>'}}class Ri{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var e="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+ie.escape(this.attributes[r])+'"');return e+="/>",e}}function X0(t){if(t instanceof Tt)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function zc(t){if(t instanceof nn)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}var Ec={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Tc={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ie={math:{},text:{}};function l(t,e,r,n,i,a){Ie[t][i]={font:e,group:r,replace:n},a&&n&&(Ie[t][n]=Ie[t][i])}var c="math",O="text",m="main",v="ams",Le="accent-token",J="bin",lt="close",Xr="inner",oe="mathord",We="op-token",vt="open",Nn="punct",y="rel",Zt="spacing",S="textord";l(c,m,y,"≡","\\equiv",!0),l(c,m,y,"≺","\\prec",!0),l(c,m,y,"≻","\\succ",!0),l(c,m,y,"∼","\\sim",!0),l(c,m,y,"⊥","\\perp"),l(c,m,y,"⪯","\\preceq",!0),l(c,m,y,"⪰","\\succeq",!0),l(c,m,y,"≃","\\simeq",!0),l(c,m,y,"∣","\\mid",!0),l(c,m,y,"≪","\\ll",!0),l(c,m,y,"≫","\\gg",!0),l(c,m,y,"≍","\\asymp",!0),l(c,m,y,"∥","\\parallel"),l(c,m,y,"⋈","\\bowtie",!0),l(c,m,y,"⌣","\\smile",!0),l(c,m,y,"⊑","\\sqsubseteq",!0),l(c,m,y,"⊒","\\sqsupseteq",!0),l(c,m,y,"≐","\\doteq",!0),l(c,m,y,"⌢","\\frown",!0),l(c,m,y,"∋","\\ni",!0),l(c,m,y,"∝","\\propto",!0),l(c,m,y,"⊢","\\vdash",!0),l(c,m,y,"⊣","\\dashv",!0),l(c,m,y,"∋","\\owns"),l(c,m,Nn,".","\\ldotp"),l(c,m,Nn,"⋅","\\cdotp"),l(c,m,S,"#","\\#"),l(O,m,S,"#","\\#"),l(c,m,S,"&","\\&"),l(O,m,S,"&","\\&"),l(c,m,S,"ℵ","\\aleph",!0),l(c,m,S,"∀","\\forall",!0),l(c,m,S,"ℏ","\\hbar",!0),l(c,m,S,"∃","\\exists",!0),l(c,m,S,"∇","\\nabla",!0),l(c,m,S,"♭","\\flat",!0),l(c,m,S,"ℓ","\\ell",!0),l(c,m,S,"♮","\\natural",!0),l(c,m,S,"♣","\\clubsuit",!0),l(c,m,S,"℘","\\wp",!0),l(c,m,S,"♯","\\sharp",!0),l(c,m,S,"♢","\\diamondsuit",!0),l(c,m,S,"ℜ","\\Re",!0),l(c,m,S,"♡","\\heartsuit",!0),l(c,m,S,"ℑ","\\Im",!0),l(c,m,S,"♠","\\spadesuit",!0),l(c,m,S,"§","\\S",!0),l(O,m,S,"§","\\S"),l(c,m,S,"¶","\\P",!0),l(O,m,S,"¶","\\P"),l(c,m,S,"†","\\dag"),l(O,m,S,"†","\\dag"),l(O,m,S,"†","\\textdagger"),l(c,m,S,"‡","\\ddag"),l(O,m,S,"‡","\\ddag"),l(O,m,S,"‡","\\textdaggerdbl"),l(c,m,lt,"⎱","\\rmoustache",!0),l(c,m,vt,"⎰","\\lmoustache",!0),l(c,m,lt,"⟯","\\rgroup",!0),l(c,m,vt,"⟮","\\lgroup",!0),l(c,m,J,"∓","\\mp",!0),l(c,m,J,"⊖","\\ominus",!0),l(c,m,J,"⊎","\\uplus",!0),l(c,m,J,"⊓","\\sqcap",!0),l(c,m,J,"∗","\\ast"),l(c,m,J,"⊔","\\sqcup",!0),l(c,m,J,"◯","\\bigcirc",!0),l(c,m,J,"∙","\\bullet",!0),l(c,m,J,"‡","\\ddagger"),l(c,m,J,"≀","\\wr",!0),l(c,m,J,"⨿","\\amalg"),l(c,m,J,"&","\\And"),l(c,m,y,"⟵","\\longleftarrow",!0),l(c,m,y,"⇐","\\Leftarrow",!0),l(c,m,y,"⟸","\\Longleftarrow",!0),l(c,m,y,"⟶","\\longrightarrow",!0),l(c,m,y,"⇒","\\Rightarrow",!0),l(c,m,y,"⟹","\\Longrightarrow",!0),l(c,m,y,"↔","\\leftrightarrow",!0),l(c,m,y,"⟷","\\longleftrightarrow",!0),l(c,m,y,"⇔","\\Leftrightarrow",!0),l(c,m,y,"⟺","\\Longleftrightarrow",!0),l(c,m,y,"↦","\\mapsto",!0),l(c,m,y,"⟼","\\longmapsto",!0),l(c,m,y,"↗","\\nearrow",!0),l(c,m,y,"↩","\\hookleftarrow",!0),l(c,m,y,"↪","\\hookrightarrow",!0),l(c,m,y,"↘","\\searrow",!0),l(c,m,y,"↼","\\leftharpoonup",!0),l(c,m,y,"⇀","\\rightharpoonup",!0),l(c,m,y,"↙","\\swarrow",!0),l(c,m,y,"↽","\\leftharpoondown",!0),l(c,m,y,"⇁","\\rightharpoondown",!0),l(c,m,y,"↖","\\nwarrow",!0),l(c,m,y,"⇌","\\rightleftharpoons",!0),l(c,v,y,"≮","\\nless",!0),l(c,v,y,"","\\@nleqslant"),l(c,v,y,"","\\@nleqq"),l(c,v,y,"⪇","\\lneq",!0),l(c,v,y,"≨","\\lneqq",!0),l(c,v,y,"","\\@lvertneqq"),l(c,v,y,"⋦","\\lnsim",!0),l(c,v,y,"⪉","\\lnapprox",!0),l(c,v,y,"⊀","\\nprec",!0),l(c,v,y,"⋠","\\npreceq",!0),l(c,v,y,"⋨","\\precnsim",!0),l(c,v,y,"⪹","\\precnapprox",!0),l(c,v,y,"≁","\\nsim",!0),l(c,v,y,"","\\@nshortmid"),l(c,v,y,"∤","\\nmid",!0),l(c,v,y,"⊬","\\nvdash",!0),l(c,v,y,"⊭","\\nvDash",!0),l(c,v,y,"⋪","\\ntriangleleft"),l(c,v,y,"⋬","\\ntrianglelefteq",!0),l(c,v,y,"⊊","\\subsetneq",!0),l(c,v,y,"","\\@varsubsetneq"),l(c,v,y,"⫋","\\subsetneqq",!0),l(c,v,y,"","\\@varsubsetneqq"),l(c,v,y,"≯","\\ngtr",!0),l(c,v,y,"","\\@ngeqslant"),l(c,v,y,"","\\@ngeqq"),l(c,v,y,"⪈","\\gneq",!0),l(c,v,y,"≩","\\gneqq",!0),l(c,v,y,"","\\@gvertneqq"),l(c,v,y,"⋧","\\gnsim",!0),l(c,v,y,"⪊","\\gnapprox",!0),l(c,v,y,"⊁","\\nsucc",!0),l(c,v,y,"⋡","\\nsucceq",!0),l(c,v,y,"⋩","\\succnsim",!0),l(c,v,y,"⪺","\\succnapprox",!0),l(c,v,y,"≆","\\ncong",!0),l(c,v,y,"","\\@nshortparallel"),l(c,v,y,"∦","\\nparallel",!0),l(c,v,y,"⊯","\\nVDash",!0),l(c,v,y,"⋫","\\ntriangleright"),l(c,v,y,"⋭","\\ntrianglerighteq",!0),l(c,v,y,"","\\@nsupseteqq"),l(c,v,y,"⊋","\\supsetneq",!0),l(c,v,y,"","\\@varsupsetneq"),l(c,v,y,"⫌","\\supsetneqq",!0),l(c,v,y,"","\\@varsupsetneqq"),l(c,v,y,"⊮","\\nVdash",!0),l(c,v,y,"⪵","\\precneqq",!0),l(c,v,y,"⪶","\\succneqq",!0),l(c,v,y,"","\\@nsubseteqq"),l(c,v,J,"⊴","\\unlhd"),l(c,v,J,"⊵","\\unrhd"),l(c,v,y,"↚","\\nleftarrow",!0),l(c,v,y,"↛","\\nrightarrow",!0),l(c,v,y,"⇍","\\nLeftarrow",!0),l(c,v,y,"⇏","\\nRightarrow",!0),l(c,v,y,"↮","\\nleftrightarrow",!0),l(c,v,y,"⇎","\\nLeftrightarrow",!0),l(c,v,y,"△","\\vartriangle"),l(c,v,S,"ℏ","\\hslash"),l(c,v,S,"▽","\\triangledown"),l(c,v,S,"◊","\\lozenge"),l(c,v,S,"Ⓢ","\\circledS"),l(c,v,S,"®","\\circledR"),l(O,v,S,"®","\\circledR"),l(c,v,S,"∡","\\measuredangle",!0),l(c,v,S,"∄","\\nexists"),l(c,v,S,"℧","\\mho"),l(c,v,S,"Ⅎ","\\Finv",!0),l(c,v,S,"⅁","\\Game",!0),l(c,v,S,"‵","\\backprime"),l(c,v,S,"▲","\\blacktriangle"),l(c,v,S,"▼","\\blacktriangledown"),l(c,v,S,"■","\\blacksquare"),l(c,v,S,"⧫","\\blacklozenge"),l(c,v,S,"★","\\bigstar"),l(c,v,S,"∢","\\sphericalangle",!0),l(c,v,S,"∁","\\complement",!0),l(c,v,S,"ð","\\eth",!0),l(O,m,S,"ð","ð"),l(c,v,S,"╱","\\diagup"),l(c,v,S,"╲","\\diagdown"),l(c,v,S,"□","\\square"),l(c,v,S,"□","\\Box"),l(c,v,S,"◊","\\Diamond"),l(c,v,S,"¥","\\yen",!0),l(O,v,S,"¥","\\yen",!0),l(c,v,S,"✓","\\checkmark",!0),l(O,v,S,"✓","\\checkmark"),l(c,v,S,"ℶ","\\beth",!0),l(c,v,S,"ℸ","\\daleth",!0),l(c,v,S,"ℷ","\\gimel",!0),l(c,v,S,"ϝ","\\digamma",!0),l(c,v,S,"ϰ","\\varkappa"),l(c,v,vt,"┌","\\@ulcorner",!0),l(c,v,lt,"┐","\\@urcorner",!0),l(c,v,vt,"└","\\@llcorner",!0),l(c,v,lt,"┘","\\@lrcorner",!0),l(c,v,y,"≦","\\leqq",!0),l(c,v,y,"⩽","\\leqslant",!0),l(c,v,y,"⪕","\\eqslantless",!0),l(c,v,y,"≲","\\lesssim",!0),l(c,v,y,"⪅","\\lessapprox",!0),l(c,v,y,"≊","\\approxeq",!0),l(c,v,J,"⋖","\\lessdot"),l(c,v,y,"⋘","\\lll",!0),l(c,v,y,"≶","\\lessgtr",!0),l(c,v,y,"⋚","\\lesseqgtr",!0),l(c,v,y,"⪋","\\lesseqqgtr",!0),l(c,v,y,"≑","\\doteqdot"),l(c,v,y,"≓","\\risingdotseq",!0),l(c,v,y,"≒","\\fallingdotseq",!0),l(c,v,y,"∽","\\backsim",!0),l(c,v,y,"⋍","\\backsimeq",!0),l(c,v,y,"⫅","\\subseteqq",!0),l(c,v,y,"⋐","\\Subset",!0),l(c,v,y,"⊏","\\sqsubset",!0),l(c,v,y,"≼","\\preccurlyeq",!0),l(c,v,y,"⋞","\\curlyeqprec",!0),l(c,v,y,"≾","\\precsim",!0),l(c,v,y,"⪷","\\precapprox",!0),l(c,v,y,"⊲","\\vartriangleleft"),l(c,v,y,"⊴","\\trianglelefteq"),l(c,v,y,"⊨","\\vDash",!0),l(c,v,y,"⊪","\\Vvdash",!0),l(c,v,y,"⌣","\\smallsmile"),l(c,v,y,"⌢","\\smallfrown"),l(c,v,y,"≏","\\bumpeq",!0),l(c,v,y,"≎","\\Bumpeq",!0),l(c,v,y,"≧","\\geqq",!0),l(c,v,y,"⩾","\\geqslant",!0),l(c,v,y,"⪖","\\eqslantgtr",!0),l(c,v,y,"≳","\\gtrsim",!0),l(c,v,y,"⪆","\\gtrapprox",!0),l(c,v,J,"⋗","\\gtrdot"),l(c,v,y,"⋙","\\ggg",!0),l(c,v,y,"≷","\\gtrless",!0),l(c,v,y,"⋛","\\gtreqless",!0),l(c,v,y,"⪌","\\gtreqqless",!0),l(c,v,y,"≖","\\eqcirc",!0),l(c,v,y,"≗","\\circeq",!0),l(c,v,y,"≜","\\triangleq",!0),l(c,v,y,"∼","\\thicksim"),l(c,v,y,"≈","\\thickapprox"),l(c,v,y,"⫆","\\supseteqq",!0),l(c,v,y,"⋑","\\Supset",!0),l(c,v,y,"⊐","\\sqsupset",!0),l(c,v,y,"≽","\\succcurlyeq",!0),l(c,v,y,"⋟","\\curlyeqsucc",!0),l(c,v,y,"≿","\\succsim",!0),l(c,v,y,"⪸","\\succapprox",!0),l(c,v,y,"⊳","\\vartriangleright"),l(c,v,y,"⊵","\\trianglerighteq"),l(c,v,y,"⊩","\\Vdash",!0),l(c,v,y,"∣","\\shortmid"),l(c,v,y,"∥","\\shortparallel"),l(c,v,y,"≬","\\between",!0),l(c,v,y,"⋔","\\pitchfork",!0),l(c,v,y,"∝","\\varpropto"),l(c,v,y,"◀","\\blacktriangleleft"),l(c,v,y,"∴","\\therefore",!0),l(c,v,y,"∍","\\backepsilon"),l(c,v,y,"▶","\\blacktriangleright"),l(c,v,y,"∵","\\because",!0),l(c,v,y,"⋘","\\llless"),l(c,v,y,"⋙","\\gggtr"),l(c,v,J,"⊲","\\lhd"),l(c,v,J,"⊳","\\rhd"),l(c,v,y,"≂","\\eqsim",!0),l(c,m,y,"⋈","\\Join"),l(c,v,y,"≑","\\Doteq",!0),l(c,v,J,"∔","\\dotplus",!0),l(c,v,J,"∖","\\smallsetminus"),l(c,v,J,"⋒","\\Cap",!0),l(c,v,J,"⋓","\\Cup",!0),l(c,v,J,"⩞","\\doublebarwedge",!0),l(c,v,J,"⊟","\\boxminus",!0),l(c,v,J,"⊞","\\boxplus",!0),l(c,v,J,"⋇","\\divideontimes",!0),l(c,v,J,"⋉","\\ltimes",!0),l(c,v,J,"⋊","\\rtimes",!0),l(c,v,J,"⋋","\\leftthreetimes",!0),l(c,v,J,"⋌","\\rightthreetimes",!0),l(c,v,J,"⋏","\\curlywedge",!0),l(c,v,J,"⋎","\\curlyvee",!0),l(c,v,J,"⊝","\\circleddash",!0),l(c,v,J,"⊛","\\circledast",!0),l(c,v,J,"⋅","\\centerdot"),l(c,v,J,"⊺","\\intercal",!0),l(c,v,J,"⋒","\\doublecap"),l(c,v,J,"⋓","\\doublecup"),l(c,v,J,"⊠","\\boxtimes",!0),l(c,v,y,"⇢","\\dashrightarrow",!0),l(c,v,y,"⇠","\\dashleftarrow",!0),l(c,v,y,"⇇","\\leftleftarrows",!0),l(c,v,y,"⇆","\\leftrightarrows",!0),l(c,v,y,"⇚","\\Lleftarrow",!0),l(c,v,y,"↞","\\twoheadleftarrow",!0),l(c,v,y,"↢","\\leftarrowtail",!0),l(c,v,y,"↫","\\looparrowleft",!0),l(c,v,y,"⇋","\\leftrightharpoons",!0),l(c,v,y,"↶","\\curvearrowleft",!0),l(c,v,y,"↺","\\circlearrowleft",!0),l(c,v,y,"↰","\\Lsh",!0),l(c,v,y,"⇈","\\upuparrows",!0),l(c,v,y,"↿","\\upharpoonleft",!0),l(c,v,y,"⇃","\\downharpoonleft",!0),l(c,m,y,"⊶","\\origof",!0),l(c,m,y,"⊷","\\imageof",!0),l(c,v,y,"⊸","\\multimap",!0),l(c,v,y,"↭","\\leftrightsquigarrow",!0),l(c,v,y,"⇉","\\rightrightarrows",!0),l(c,v,y,"⇄","\\rightleftarrows",!0),l(c,v,y,"↠","\\twoheadrightarrow",!0),l(c,v,y,"↣","\\rightarrowtail",!0),l(c,v,y,"↬","\\looparrowright",!0),l(c,v,y,"↷","\\curvearrowright",!0),l(c,v,y,"↻","\\circlearrowright",!0),l(c,v,y,"↱","\\Rsh",!0),l(c,v,y,"⇊","\\downdownarrows",!0),l(c,v,y,"↾","\\upharpoonright",!0),l(c,v,y,"⇂","\\downharpoonright",!0),l(c,v,y,"⇝","\\rightsquigarrow",!0),l(c,v,y,"⇝","\\leadsto"),l(c,v,y,"⇛","\\Rrightarrow",!0),l(c,v,y,"↾","\\restriction"),l(c,m,S,"‘","`"),l(c,m,S,"$","\\$"),l(O,m,S,"$","\\$"),l(O,m,S,"$","\\textdollar"),l(c,m,S,"%","\\%"),l(O,m,S,"%","\\%"),l(c,m,S,"_","\\_"),l(O,m,S,"_","\\_"),l(O,m,S,"_","\\textunderscore"),l(c,m,S,"∠","\\angle",!0),l(c,m,S,"∞","\\infty",!0),l(c,m,S,"′","\\prime"),l(c,m,S,"△","\\triangle"),l(c,m,S,"Γ","\\Gamma",!0),l(c,m,S,"Δ","\\Delta",!0),l(c,m,S,"Θ","\\Theta",!0),l(c,m,S,"Λ","\\Lambda",!0),l(c,m,S,"Ξ","\\Xi",!0),l(c,m,S,"Π","\\Pi",!0),l(c,m,S,"Σ","\\Sigma",!0),l(c,m,S,"Υ","\\Upsilon",!0),l(c,m,S,"Φ","\\Phi",!0),l(c,m,S,"Ψ","\\Psi",!0),l(c,m,S,"Ω","\\Omega",!0),l(c,m,S,"A","Α"),l(c,m,S,"B","Β"),l(c,m,S,"E","Ε"),l(c,m,S,"Z","Ζ"),l(c,m,S,"H","Η"),l(c,m,S,"I","Ι"),l(c,m,S,"K","Κ"),l(c,m,S,"M","Μ"),l(c,m,S,"N","Ν"),l(c,m,S,"O","Ο"),l(c,m,S,"P","Ρ"),l(c,m,S,"T","Τ"),l(c,m,S,"X","Χ"),l(c,m,S,"¬","\\neg",!0),l(c,m,S,"¬","\\lnot"),l(c,m,S,"⊤","\\top"),l(c,m,S,"⊥","\\bot"),l(c,m,S,"∅","\\emptyset"),l(c,v,S,"∅","\\varnothing"),l(c,m,oe,"α","\\alpha",!0),l(c,m,oe,"β","\\beta",!0),l(c,m,oe,"γ","\\gamma",!0),l(c,m,oe,"δ","\\delta",!0),l(c,m,oe,"ϵ","\\epsilon",!0),l(c,m,oe,"ζ","\\zeta",!0),l(c,m,oe,"η","\\eta",!0),l(c,m,oe,"θ","\\theta",!0),l(c,m,oe,"ι","\\iota",!0),l(c,m,oe,"κ","\\kappa",!0),l(c,m,oe,"λ","\\lambda",!0),l(c,m,oe,"μ","\\mu",!0),l(c,m,oe,"ν","\\nu",!0),l(c,m,oe,"ξ","\\xi",!0),l(c,m,oe,"ο","\\omicron",!0),l(c,m,oe,"π","\\pi",!0),l(c,m,oe,"ρ","\\rho",!0),l(c,m,oe,"σ","\\sigma",!0),l(c,m,oe,"τ","\\tau",!0),l(c,m,oe,"υ","\\upsilon",!0),l(c,m,oe,"ϕ","\\phi",!0),l(c,m,oe,"χ","\\chi",!0),l(c,m,oe,"ψ","\\psi",!0),l(c,m,oe,"ω","\\omega",!0),l(c,m,oe,"ε","\\varepsilon",!0),l(c,m,oe,"ϑ","\\vartheta",!0),l(c,m,oe,"ϖ","\\varpi",!0),l(c,m,oe,"ϱ","\\varrho",!0),l(c,m,oe,"ς","\\varsigma",!0),l(c,m,oe,"φ","\\varphi",!0),l(c,m,J,"∗","*",!0),l(c,m,J,"+","+"),l(c,m,J,"−","-",!0),l(c,m,J,"⋅","\\cdot",!0),l(c,m,J,"∘","\\circ",!0),l(c,m,J,"÷","\\div",!0),l(c,m,J,"±","\\pm",!0),l(c,m,J,"×","\\times",!0),l(c,m,J,"∩","\\cap",!0),l(c,m,J,"∪","\\cup",!0),l(c,m,J,"∖","\\setminus",!0),l(c,m,J,"∧","\\land"),l(c,m,J,"∨","\\lor"),l(c,m,J,"∧","\\wedge",!0),l(c,m,J,"∨","\\vee",!0),l(c,m,S,"√","\\surd"),l(c,m,vt,"⟨","\\langle",!0),l(c,m,vt,"∣","\\lvert"),l(c,m,vt,"∥","\\lVert"),l(c,m,lt,"?","?"),l(c,m,lt,"!","!"),l(c,m,lt,"⟩","\\rangle",!0),l(c,m,lt,"∣","\\rvert"),l(c,m,lt,"∥","\\rVert"),l(c,m,y,"=","="),l(c,m,y,":",":"),l(c,m,y,"≈","\\approx",!0),l(c,m,y,"≅","\\cong",!0),l(c,m,y,"≥","\\ge"),l(c,m,y,"≥","\\geq",!0),l(c,m,y,"←","\\gets"),l(c,m,y,">","\\gt",!0),l(c,m,y,"∈","\\in",!0),l(c,m,y,"","\\@not"),l(c,m,y,"⊂","\\subset",!0),l(c,m,y,"⊃","\\supset",!0),l(c,m,y,"⊆","\\subseteq",!0),l(c,m,y,"⊇","\\supseteq",!0),l(c,v,y,"⊈","\\nsubseteq",!0),l(c,v,y,"⊉","\\nsupseteq",!0),l(c,m,y,"⊨","\\models"),l(c,m,y,"←","\\leftarrow",!0),l(c,m,y,"≤","\\le"),l(c,m,y,"≤","\\leq",!0),l(c,m,y,"<","\\lt",!0),l(c,m,y,"→","\\rightarrow",!0),l(c,m,y,"→","\\to"),l(c,v,y,"≱","\\ngeq",!0),l(c,v,y,"≰","\\nleq",!0),l(c,m,Zt," ","\\ "),l(c,m,Zt," ","\\space"),l(c,m,Zt," ","\\nobreakspace"),l(O,m,Zt," ","\\ "),l(O,m,Zt," "," "),l(O,m,Zt," ","\\space"),l(O,m,Zt," ","\\nobreakspace"),l(c,m,Zt,null,"\\nobreak"),l(c,m,Zt,null,"\\allowbreak"),l(c,m,Nn,",",","),l(c,m,Nn,";",";"),l(c,v,J,"⊼","\\barwedge",!0),l(c,v,J,"⊻","\\veebar",!0),l(c,m,J,"⊙","\\odot",!0),l(c,m,J,"⊕","\\oplus",!0),l(c,m,J,"⊗","\\otimes",!0),l(c,m,S,"∂","\\partial",!0),l(c,m,J,"⊘","\\oslash",!0),l(c,v,J,"⊚","\\circledcirc",!0),l(c,v,J,"⊡","\\boxdot",!0),l(c,m,J,"△","\\bigtriangleup"),l(c,m,J,"▽","\\bigtriangledown"),l(c,m,J,"†","\\dagger"),l(c,m,J,"⋄","\\diamond"),l(c,m,J,"⋆","\\star"),l(c,m,J,"◃","\\triangleleft"),l(c,m,J,"▹","\\triangleright"),l(c,m,vt,"{","\\{"),l(O,m,S,"{","\\{"),l(O,m,S,"{","\\textbraceleft"),l(c,m,lt,"}","\\}"),l(O,m,S,"}","\\}"),l(O,m,S,"}","\\textbraceright"),l(c,m,vt,"{","\\lbrace"),l(c,m,lt,"}","\\rbrace"),l(c,m,vt,"[","\\lbrack",!0),l(O,m,S,"[","\\lbrack",!0),l(c,m,lt,"]","\\rbrack",!0),l(O,m,S,"]","\\rbrack",!0),l(c,m,vt,"(","\\lparen",!0),l(c,m,lt,")","\\rparen",!0),l(O,m,S,"<","\\textless",!0),l(O,m,S,">","\\textgreater",!0),l(c,m,vt,"⌊","\\lfloor",!0),l(c,m,lt,"⌋","\\rfloor",!0),l(c,m,vt,"⌈","\\lceil",!0),l(c,m,lt,"⌉","\\rceil",!0),l(c,m,S,"\\","\\backslash"),l(c,m,S,"∣","|"),l(c,m,S,"∣","\\vert"),l(O,m,S,"|","\\textbar",!0),l(c,m,S,"∥","\\|"),l(c,m,S,"∥","\\Vert"),l(O,m,S,"∥","\\textbardbl"),l(O,m,S,"~","\\textasciitilde"),l(O,m,S,"\\","\\textbackslash"),l(O,m,S,"^","\\textasciicircum"),l(c,m,y,"↑","\\uparrow",!0),l(c,m,y,"⇑","\\Uparrow",!0),l(c,m,y,"↓","\\downarrow",!0),l(c,m,y,"⇓","\\Downarrow",!0),l(c,m,y,"↕","\\updownarrow",!0),l(c,m,y,"⇕","\\Updownarrow",!0),l(c,m,We,"∐","\\coprod"),l(c,m,We,"⋁","\\bigvee"),l(c,m,We,"⋀","\\bigwedge"),l(c,m,We,"⨄","\\biguplus"),l(c,m,We,"⋂","\\bigcap"),l(c,m,We,"⋃","\\bigcup"),l(c,m,We,"∫","\\int"),l(c,m,We,"∫","\\intop"),l(c,m,We,"∬","\\iint"),l(c,m,We,"∭","\\iiint"),l(c,m,We,"∏","\\prod"),l(c,m,We,"∑","\\sum"),l(c,m,We,"⨂","\\bigotimes"),l(c,m,We,"⨁","\\bigoplus"),l(c,m,We,"⨀","\\bigodot"),l(c,m,We,"∮","\\oint"),l(c,m,We,"∯","\\oiint"),l(c,m,We,"∰","\\oiiint"),l(c,m,We,"⨆","\\bigsqcup"),l(c,m,We,"∫","\\smallint"),l(O,m,Xr,"…","\\textellipsis"),l(c,m,Xr,"…","\\mathellipsis"),l(O,m,Xr,"…","\\ldots",!0),l(c,m,Xr,"…","\\ldots",!0),l(c,m,Xr,"⋯","\\@cdots",!0),l(c,m,Xr,"⋱","\\ddots",!0),l(c,m,S,"⋮","\\varvdots"),l(O,m,S,"⋮","\\varvdots"),l(c,m,Le,"ˊ","\\acute"),l(c,m,Le,"ˋ","\\grave"),l(c,m,Le,"¨","\\ddot"),l(c,m,Le,"~","\\tilde"),l(c,m,Le,"ˉ","\\bar"),l(c,m,Le,"˘","\\breve"),l(c,m,Le,"ˇ","\\check"),l(c,m,Le,"^","\\hat"),l(c,m,Le,"⃗","\\vec"),l(c,m,Le,"˙","\\dot"),l(c,m,Le,"˚","\\mathring"),l(c,m,oe,"","\\@imath"),l(c,m,oe,"","\\@jmath"),l(c,m,S,"ı","ı"),l(c,m,S,"ȷ","ȷ"),l(O,m,S,"ı","\\i",!0),l(O,m,S,"ȷ","\\j",!0),l(O,m,S,"ß","\\ss",!0),l(O,m,S,"æ","\\ae",!0),l(O,m,S,"œ","\\oe",!0),l(O,m,S,"ø","\\o",!0),l(O,m,S,"Æ","\\AE",!0),l(O,m,S,"Œ","\\OE",!0),l(O,m,S,"Ø","\\O",!0),l(O,m,Le,"ˊ","\\'"),l(O,m,Le,"ˋ","\\`"),l(O,m,Le,"ˆ","\\^"),l(O,m,Le,"˜","\\~"),l(O,m,Le,"ˉ","\\="),l(O,m,Le,"˘","\\u"),l(O,m,Le,"˙","\\."),l(O,m,Le,"¸","\\c"),l(O,m,Le,"˚","\\r"),l(O,m,Le,"ˇ","\\v"),l(O,m,Le,"¨",'\\"'),l(O,m,Le,"˝","\\H"),l(O,m,Le,"◯","\\textcircled");var K0={"--":!0,"---":!0,"``":!0,"''":!0};l(O,m,S,"–","--",!0),l(O,m,S,"–","\\textendash"),l(O,m,S,"—","---",!0),l(O,m,S,"—","\\textemdash"),l(O,m,S,"‘","`",!0),l(O,m,S,"‘","\\textquoteleft"),l(O,m,S,"’","'",!0),l(O,m,S,"’","\\textquoteright"),l(O,m,S,"“","``",!0),l(O,m,S,"“","\\textquotedblleft"),l(O,m,S,"”","''",!0),l(O,m,S,"”","\\textquotedblright"),l(c,m,S,"°","\\degree",!0),l(O,m,S,"°","\\degree"),l(O,m,S,"°","\\textdegree",!0),l(c,m,S,"£","\\pounds"),l(c,m,S,"£","\\mathsterling",!0),l(O,m,S,"£","\\pounds"),l(O,m,S,"£","\\textsterling",!0),l(c,v,S,"✠","\\maltese"),l(O,v,S,"✠","\\maltese");for(var Y0='0123456789/@."',Ii=0;Ii<Y0.length;Ii++){var Z0=Y0.charAt(Ii);l(c,m,S,Z0,Z0)}for(var J0='0123456789!@*()-=+";:?/.,',Oi=0;Oi<J0.length;Oi++){var Q0=J0.charAt(Oi);l(O,m,S,Q0,Q0)}for(var Bn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Di=0;Di<Bn.length;Di++){var Rn=Bn.charAt(Di);l(c,m,oe,Rn,Rn),l(O,m,S,Rn,Rn)}l(c,v,S,"C","ℂ"),l(O,v,S,"C","ℂ"),l(c,v,S,"H","ℍ"),l(O,v,S,"H","ℍ"),l(c,v,S,"N","ℕ"),l(O,v,S,"N","ℕ"),l(c,v,S,"P","ℙ"),l(O,v,S,"P","ℙ"),l(c,v,S,"Q","ℚ"),l(O,v,S,"Q","ℚ"),l(c,v,S,"R","ℝ"),l(O,v,S,"R","ℝ"),l(c,v,S,"Z","ℤ"),l(O,v,S,"Z","ℤ"),l(c,m,oe,"h","ℎ"),l(O,m,oe,"h","ℎ");for(var ce="",ut=0;ut<Bn.length;ut++){var qe=Bn.charAt(ut);ce=String.fromCharCode(55349,56320+ut),l(c,m,oe,qe,ce),l(O,m,S,qe,ce),ce=String.fromCharCode(55349,56372+ut),l(c,m,oe,qe,ce),l(O,m,S,qe,ce),ce=String.fromCharCode(55349,56424+ut),l(c,m,oe,qe,ce),l(O,m,S,qe,ce),ce=String.fromCharCode(55349,56580+ut),l(c,m,oe,qe,ce),l(O,m,S,qe,ce),ce=String.fromCharCode(55349,56684+ut),l(c,m,oe,qe,ce),l(O,m,S,qe,ce),ce=String.fromCharCode(55349,56736+ut),l(c,m,oe,qe,ce),l(O,m,S,qe,ce),ce=String.fromCharCode(55349,56788+ut),l(c,m,oe,qe,ce),l(O,m,S,qe,ce),ce=String.fromCharCode(55349,56840+ut),l(c,m,oe,qe,ce),l(O,m,S,qe,ce),ce=String.fromCharCode(55349,56944+ut),l(c,m,oe,qe,ce),l(O,m,S,qe,ce),ut<26&&(ce=String.fromCharCode(55349,56632+ut),l(c,m,oe,qe,ce),l(O,m,S,qe,ce),ce=String.fromCharCode(55349,56476+ut),l(c,m,oe,qe,ce),l(O,m,S,qe,ce))}ce="𝕜",l(c,m,oe,"k",ce),l(O,m,S,"k",ce);for(var _r=0;_r<10;_r++){var pr=_r.toString();ce=String.fromCharCode(55349,57294+_r),l(c,m,oe,pr,ce),l(O,m,S,pr,ce),ce=String.fromCharCode(55349,57314+_r),l(c,m,oe,pr,ce),l(O,m,S,pr,ce),ce=String.fromCharCode(55349,57324+_r),l(c,m,oe,pr,ce),l(O,m,S,pr,ce),ce=String.fromCharCode(55349,57334+_r),l(c,m,oe,pr,ce),l(O,m,S,pr,ce)}for(var Li="ÐÞþ",Fi=0;Fi<Li.length;Fi++){var In=Li.charAt(Fi);l(c,m,oe,In,In),l(O,m,S,In,In)}var On=[["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"]],es=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ac=function(e,r){var n=e.charCodeAt(0),i=e.charCodeAt(1),a=(n-55296)*1024+(i-56320)+65536,s=r==="math"?0:1;if(119808<=a&&a<120484){var o=Math.floor((a-119808)/26);return[On[o][2],On[o][s]]}else if(120782<=a&&a<=120831){var u=Math.floor((a-120782)/10);return[es[u][2],es[u][s]]}else{if(a===120485||a===120486)return[On[0][2],On[0][s]];if(120486<a&&a<120782)return["",""];throw new L("Unsupported character: "+e)}},Dn=function(e,r,n){return Ie[n][e]&&Ie[n][e].replace&&(e=Ie[n][e].replace),{value:e,metrics:Ci(e,r,n)}},Nt=function(e,r,n,i,a){var s=Dn(e,r,n),o=s.metrics;e=s.value;var u;if(o){var h=o.italic;(n==="text"||i&&i.font==="mathit")&&(h=0),u=new Tt(e,o.height,o.depth,h,o.skew,o.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+r+"' and mode '"+n+"'")),u=new Tt(e,0,0,0,0,0,a);if(i){u.maxFontSize=i.sizeMultiplier,i.style.isTight()&&u.classes.push("mtight");var d=i.getColor();d&&(u.style.color=d)}return u},Mc=function(e,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&Dn(e,"Main-Bold",r).metrics?Nt(e,"Main-Bold",r,n,i.concat(["mathbf"])):e==="\\"||Ie[r][e].font==="main"?Nt(e,"Main-Regular",r,n,i):Nt(e,"AMS-Regular",r,n,i.concat(["amsrm"]))},Cc=function(e,r,n,i,a){return a!=="textord"&&Dn(e,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},_c=function(e,r,n){var i=e.mode,a=e.text,s=["mord"],o=i==="math"||i==="text"&&r.font,u=o?r.font:r.fontFamily,h="",d="";if(a.charCodeAt(0)===55349&&([h,d]=Ac(a,i)),h.length>0)return Nt(a,h,i,r,s.concat(d));if(u){var f,b;if(u==="boldsymbol"){var p=Cc(a,i,r,s,n);f=p.fontName,b=[p.fontClass]}else o?(f=ns[u].fontName,b=[u]):(f=Ln(u,r.fontWeight,r.fontShape),b=[u,r.fontWeight,r.fontShape]);if(Dn(a,f,i).metrics)return Nt(a,f,i,r,s.concat(b));if(K0.hasOwnProperty(a)&&f.slice(0,10)==="Typewriter"){for(var z=[],E=0;E<a.length;E++)z.push(Nt(a[E],f,i,r,s.concat(b)));return rs(z)}}if(n==="mathord")return Nt(a,"Math-Italic",i,r,s.concat(["mathnormal"]));if(n==="textord"){var I=Ie[i][a]&&Ie[i][a].font;if(I==="ams"){var A=Ln("amsrm",r.fontWeight,r.fontShape);return Nt(a,A,i,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(I==="main"||!I){var _=Ln("textrm",r.fontWeight,r.fontShape);return Nt(a,_,i,r,s.concat(r.fontWeight,r.fontShape))}else{var R=Ln(I,r.fontWeight,r.fontShape);return Nt(a,R,i,r,s.concat(R,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},Nc=(t,e)=>{if(dr(t.classes)!==dr(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in t.style)if(t.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;for(var i in e.style)if(e.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;return!0},Bc=t=>{for(var e=0;e<t.length-1;e++){var r=t[e],n=t[e+1];r instanceof Tt&&n instanceof Tt&&Nc(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,t.splice(e+1,1),e--)}return t},Pi=function(e){for(var r=0,n=0,i=0,a=0;a<e.children.length;a++){var s=e.children[a];s.height>r&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>i&&(i=s.maxFontSize)}e.height=r,e.depth=n,e.maxFontSize=i},mt=function(e,r,n,i){var a=new nn(e,r,n,i);return Pi(a),a},ts=(t,e,r,n)=>new nn(t,e,r,n),Rc=function(e,r,n){var i=mt([e],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=H(i.height),i.maxFontSize=1,i},Ic=function(e,r,n,i){var a=new Bi(e,r,n,i);return Pi(a),a},rs=function(e){var r=new rn(e);return Pi(r),r},Oc=function(e,r){return e instanceof rn?mt([],[e],r):e},Dc=function(e){if(e.positionType==="individualShift"){for(var r=e.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,s=1;s<r.length;s++){var o=-r[s].shift-a-r[s].elem.depth,u=o-(r[s-1].elem.height+r[s-1].elem.depth);a=a+o,n.push({type:"kern",size:u}),n.push(r[s])}return{children:n,depth:i}}var h;if(e.positionType==="top"){for(var d=e.positionData,f=0;f<e.children.length;f++){var b=e.children[f];d-=b.type==="kern"?b.size:b.elem.height+b.elem.depth}h=d}else if(e.positionType==="bottom")h=-e.positionData;else{var p=e.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")h=-p.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")h=-p.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:h}},Lc=function(e,r){for(var{children:n,depth:i}=Dc(e),a=0,s=0;s<n.length;s++){var o=n[s];if(o.type==="elem"){var u=o.elem;a=Math.max(a,u.maxFontSize,u.height)}}a+=2;var h=mt(["pstrut"],[]);h.style.height=H(a);for(var d=[],f=i,b=i,p=i,z=0;z<n.length;z++){var E=n[z];if(E.type==="kern")p+=E.size;else{var I=E.elem,A=E.wrapperClasses||[],_=E.wrapperStyle||{},R=mt(A,[h,I],void 0,_);R.style.top=H(-a-p-I.depth),E.marginLeft&&(R.style.marginLeft=E.marginLeft),E.marginRight&&(R.style.marginRight=E.marginRight),d.push(R),p+=I.height+I.depth}f=Math.min(f,p),b=Math.max(b,p)}var Y=mt(["vlist"],d);Y.style.height=H(b);var U;if(f<0){var C=mt([],[]),V=mt(["vlist"],[C]);V.style.height=H(-f);var ee=mt(["vlist-s"],[new Tt("​")]);U=[mt(["vlist-r"],[Y,ee]),mt(["vlist-r"],[V])]}else U=[mt(["vlist-r"],[Y])];var j=mt(["vlist-t"],U);return U.length===2&&j.classes.push("vlist-t2"),j.height=b,j.depth=-f,j},Fc=(t,e)=>{var r=mt(["mspace"],[],e),n=Fe(t,e);return r.style.marginRight=H(n),r},Ln=function(e,r,n){var i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}var a;return r==="textbf"&&n==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",i+"-"+a},ns={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"}},is={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Pc=function(e,r){var[n,i,a]=is[e],s=new mr(n),o=new Yt([s],{width:H(i),height:H(a),style:"width:"+H(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),u=ts(["overlay"],[o],r);return u.height=a,u.style.height=H(a),u.style.width=H(i),u},T={fontMap:ns,makeSymbol:Nt,mathsym:Mc,makeSpan:mt,makeSvgSpan:ts,makeLineSpan:Rc,makeAnchor:Ic,makeFragment:rs,wrapFragment:Oc,makeVList:Lc,makeOrd:_c,makeGlue:Fc,staticSvg:Pc,svgData:is,tryCombineChars:Bc},Pe={number:3,unit:"mu"},Nr={number:4,unit:"mu"},Jt={number:5,unit:"mu"},qc={mord:{mop:Pe,mbin:Nr,mrel:Jt,minner:Pe},mop:{mord:Pe,mop:Pe,mrel:Jt,minner:Pe},mbin:{mord:Nr,mop:Nr,mopen:Nr,minner:Nr},mrel:{mord:Jt,mop:Jt,mopen:Jt,minner:Jt},mopen:{},mclose:{mop:Pe,mbin:Nr,mrel:Jt,minner:Pe},mpunct:{mord:Pe,mop:Pe,mrel:Jt,mopen:Pe,mclose:Pe,mpunct:Pe,minner:Pe},minner:{mord:Pe,mop:Pe,mbin:Nr,mrel:Jt,mopen:Pe,mpunct:Pe,minner:Pe}},Hc={mord:{mop:Pe},mop:{mord:Pe,mop:Pe},mbin:{},mrel:{},mopen:{},mclose:{mop:Pe},mpunct:{},minner:{mop:Pe}},as={},Fn={},Pn={};function K(t){for(var{type:e,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=t,o={type:e,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:i},u=0;u<r.length;++u)as[r[u]]=o;e&&(a&&(Fn[e]=a),s&&(Pn[e]=s))}function Br(t){var{type:e,htmlBuilder:r,mathmlBuilder:n}=t;K({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var qn=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},Ue=function(e){return e.type==="ordgroup"?e.body:[e]},Qt=T.makeSpan,Uc=["leftmost","mbin","mopen","mrel","mop","mpunct"],Gc=["rightmost","mrel","mclose","mpunct"],$c={display:se.DISPLAY,text:se.TEXT,script:se.SCRIPT,scriptscript:se.SCRIPTSCRIPT},Wc={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Xe=function(e,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],s=0;s<e.length;s++){var o=ze(e[s],r);if(o instanceof rn){var u=o.children;a.push(...u)}else a.push(o)}if(T.tryCombineChars(a),!n)return a;var h=r;if(e.length===1){var d=e[0];d.type==="sizing"?h=r.havingSize(d.size):d.type==="styling"&&(h=r.havingStyle($c[d.style]))}var f=Qt([i[0]||"leftmost"],[],r),b=Qt([i[1]||"rightmost"],[],r),p=n==="root";return ss(a,(z,E)=>{var I=E.classes[0],A=z.classes[0];I==="mbin"&&ie.contains(Gc,A)?E.classes[0]="mord":A==="mbin"&&ie.contains(Uc,I)&&(z.classes[0]="mord")},{node:f},b,p),ss(a,(z,E)=>{var I=qi(E),A=qi(z),_=I&&A?z.hasClass("mtight")?Hc[I][A]:qc[I][A]:null;if(_)return T.makeGlue(_,h)},{node:f},b,p),a},ss=function t(e,r,n,i,a){i&&e.push(i);for(var s=0;s<e.length;s++){var o=e[s],u=os(o);if(u){t(u.children,r,n,null,a);continue}var h=!o.hasClass("mspace");if(h){var d=r(o,n.node);d&&(n.insertAfter?n.insertAfter(d):(e.unshift(d),s++))}h?n.node=o:a&&o.hasClass("newline")&&(n.node=Qt(["leftmost"])),n.insertAfter=(f=>b=>{e.splice(f+1,0,b),s++})(s)}i&&e.pop()},os=function(e){return e instanceof rn||e instanceof Bi||e instanceof nn&&e.hasClass("enclosing")?e:null},jc=function t(e,r){var n=os(e);if(n){var i=n.children;if(i.length){if(r==="right")return t(i[i.length-1],"right");if(r==="left")return t(i[0],"left")}}return e},qi=function(e,r){return e?(r&&(e=jc(e,r)),Wc[e.classes[0]]||null):null},an=function(e,r){var n=["nulldelimiter"].concat(e.baseSizingClasses());return Qt(r.concat(n))},ze=function(e,r,n){if(!e)return Qt();if(Fn[e.type]){var i=Fn[e.type](e,r);if(n&&r.size!==n.size){i=Qt(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new L("Got group of unknown type: '"+e.type+"'")};function Hn(t,e){var r=Qt(["base"],t,e),n=Qt(["strut"]);return n.style.height=H(r.height+r.depth),r.depth&&(n.style.verticalAlign=H(-r.depth)),r.children.unshift(n),r}function Hi(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var n=Xe(t,e,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],s=[],o=0;o<n.length;o++)if(s.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var u=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,s.push(n[o]),n[o].hasClass("nobreak")&&(u=!0);u||(a.push(Hn(s,e)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(Hn(s,e)),s=[]),a.push(n[o]));s.length>0&&a.push(Hn(s,e));var h;r?(h=Hn(Xe(r,e,!0)),h.classes=["tag"],a.push(h)):i&&a.push(i);var d=Qt(["katex-html"],a);if(d.setAttribute("aria-hidden","true"),h){var f=h.children[0];f.style.height=H(d.height+d.depth),d.depth&&(f.style.verticalAlign=H(-d.depth))}return d}function ls(t){return new rn(t)}class At{constructor(e,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=dr(this.classes));for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){var e="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=ie.escape(this.attributes[r]),e+='"');this.classes.length>0&&(e+=' class ="'+ie.escape(dr(this.classes))+'"'),e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class sn{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return ie.escape(this.toText())}toText(){return this.text}}class Vc{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=" ":e>=.1666&&e<=.1667?this.character=" ":e>=.2222&&e<=.2223?this.character=" ":e>=.2777&&e<=.2778?this.character="  ":e>=-.05556&&e<=-.05555?this.character=" ⁣":e>=-.1667&&e<=-.1666?this.character=" ⁣":e>=-.2223&&e<=-.2222?this.character=" ⁣":e>=-.2778&&e<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",H(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+H(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var D={MathNode:At,TextNode:sn,SpaceNode:Vc,newDocumentFragment:ls},Mt=function(e,r,n){return Ie[r][e]&&Ie[r][e].replace&&e.charCodeAt(0)!==55349&&!(K0.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=Ie[r][e].replace),new D.TextNode(e)},Ui=function(e){return e.length===1?e[0]:new D.MathNode("mrow",e)},Gi=function(e,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 i=e.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return e.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 a=e.text;if(ie.contains(["\\imath","\\jmath"],a))return null;Ie[i][a]&&Ie[i][a].replace&&(a=Ie[i][a].replace);var s=T.fontMap[n].fontName;return Ci(a,s,i)?T.fontMap[n].variant:null},pt=function(e,r,n){if(e.length===1){var i=Re(e[0],r);return n&&i instanceof At&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],s,o=0;o<e.length;o++){var u=Re(e[o],r);if(u instanceof At&&s instanceof At){if(u.type==="mtext"&&s.type==="mtext"&&u.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...u.children);continue}else if(u.type==="mn"&&s.type==="mn"){s.children.push(...u.children);continue}else if(u.type==="mi"&&u.children.length===1&&s.type==="mn"){var h=u.children[0];if(h instanceof sn&&h.text==="."){s.children.push(...u.children);continue}}else if(s.type==="mi"&&s.children.length===1){var d=s.children[0];if(d instanceof sn&&d.text==="̸"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var f=u.children[0];f instanceof sn&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),a.pop())}}}a.push(u),s=u}return a},fr=function(e,r,n){return Ui(pt(e,r,n))},Re=function(e,r){if(!e)return new D.MathNode("mrow");if(Pn[e.type]){var n=Pn[e.type](e,r);return n}else throw new L("Got group of unknown type: '"+e.type+"'")};function us(t,e,r,n,i){var a=pt(t,r),s;a.length===1&&a[0]instanceof At&&ie.contains(["mrow","mtable"],a[0].type)?s=a[0]:s=new D.MathNode("mrow",a);var o=new D.MathNode("annotation",[new D.TextNode(e)]);o.setAttribute("encoding","application/x-tex");var u=new D.MathNode("semantics",[s,o]),h=new D.MathNode("math",[u]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&h.setAttribute("display","block");var d=i?"katex":"katex-mathml";return T.makeSpan([d],[h])}var cs=function(e){return new Kt({style:e.displayMode?se.DISPLAY:se.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},hs=function(e,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),e=T.makeSpan(n,[e])}return e},Xc=function(e,r,n){var i=cs(n),a;if(n.output==="mathml")return us(e,r,i,n.displayMode,!0);if(n.output==="html"){var s=Hi(e,i);a=T.makeSpan(["katex"],[s])}else{var o=us(e,r,i,n.displayMode,!1),u=Hi(e,i);a=T.makeSpan(["katex"],[o,u])}return hs(a,n)},Kc=function(e,r,n){var i=cs(n),a=Hi(e,i),s=T.makeSpan(["katex"],[a]);return hs(s,n)},Yc={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":"="},Zc=function(e){var r=new D.MathNode("mo",[new D.TextNode(Yc[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Jc={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]},Qc=function(e){return e.type==="ordgroup"?e.body.length:1},eh=function(e,r){function n(){var o=4e5,u=e.label.slice(1);if(ie.contains(["widehat","widecheck","widetilde","utilde"],u)){var h=e,d=Qc(h.base),f,b,p;if(d>5)u==="widehat"||u==="widecheck"?(f=420,o=2364,p=.42,b=u+"4"):(f=312,o=2340,p=.34,b="tilde4");else{var z=[1,1,2,2,3,3][d];u==="widehat"||u==="widecheck"?(o=[0,1062,2364,2364,2364][z],f=[0,239,300,360,420][z],p=[0,.24,.3,.3,.36,.42][z],b=u+z):(o=[0,600,1033,2339,2340][z],f=[0,260,286,306,312][z],p=[0,.26,.286,.3,.306,.34][z],b="tilde"+z)}var E=new mr(b),I=new Yt([E],{width:"100%",height:H(p),viewBox:"0 0 "+o+" "+f,preserveAspectRatio:"none"});return{span:T.makeSvgSpan([],[I],r),minWidth:0,height:p}}else{var A=[],_=Jc[u],[R,Y,U]=_,C=U/1e3,V=R.length,ee,j;if(V===1){var M=_[3];ee=["hide-tail"],j=[M]}else if(V===2)ee=["halfarrow-left","halfarrow-right"],j=["xMinYMin","xMaxYMin"];else if(V===3)ee=["brace-left","brace-center","brace-right"],j=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
261
+ `+V+" children.");for(var $=0;$<V;$++){var G=new mr(R[$]),be=new Yt([G],{width:"400em",height:H(C),viewBox:"0 0 "+o+" "+U,preserveAspectRatio:j[$]+" slice"}),he=T.makeSvgSpan([ee[$]],[be],r);if(V===1)return{span:he,minWidth:Y,height:C};he.style.height=H(C),A.push(he)}return{span:T.makeSpan(["stretchy"],A,r),minWidth:Y,height:C}}}var{span:i,minWidth:a,height:s}=n();return i.height=s,i.style.height=H(s),a>0&&(i.style.minWidth=H(a)),i},th=function(e,r,n,i,a){var s,o=e.height+e.depth+n+i;if(/fbox|color|angl/.test(r)){if(s=T.makeSpan(["stretchy",r],[],a),r==="fbox"){var u=a.color&&a.getColor();u&&(s.style.borderColor=u)}}else{var h=[];/^[bx]cancel$/.test(r)&&h.push(new Ri({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&h.push(new Ri({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new Yt(h,{width:"100%",height:H(o)});s=T.makeSvgSpan([],[d],a)}return s.height=o,s.style.height=H(o),s},er={encloseSpan:th,mathMLnode:Zc,svgSpan:eh};function ge(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function $i(t){var e=Un(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function Un(t){return t&&(t.type==="atom"||Tc.hasOwnProperty(t.type))?t:null}var Wi=(t,e)=>{var r,n,i;t&&t.type==="supsub"?(n=ge(t.base,"accent"),r=n.base,t.base=r,i=zc(ze(t,e)),t.base=n):(n=ge(t,"accent"),r=n.base);var a=ze(r,e.havingCrampedStyle()),s=n.isShifty&&ie.isCharacterBox(r),o=0;if(s){var u=ie.getBaseElem(r),h=ze(u,e.havingCrampedStyle());o=X0(h).skew}var d=n.label==="\\c",f=d?a.height+a.depth:Math.min(a.height,e.fontMetrics().xHeight),b;if(n.isStretchy)b=er.svgSpan(n,e),b=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:b,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+H(2*o)+")",marginLeft:H(2*o)}:void 0}]},e);else{var p,z;n.label==="\\vec"?(p=T.staticSvg("vec",e),z=T.svgData.vec[1]):(p=T.makeOrd({mode:n.mode,text:n.label},e,"textord"),p=X0(p),p.italic=0,z=p.width,d&&(f+=p.depth)),b=T.makeSpan(["accent-body"],[p]);var E=n.label==="\\textcircled";E&&(b.classes.push("accent-full"),f=a.height);var I=o;E||(I-=z/2),b.style.left=H(I),n.label==="\\textcircled"&&(b.style.top=".2em"),b=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-f},{type:"elem",elem:b}]},e)}var A=T.makeSpan(["mord","accent"],[b],e);return i?(i.children[0]=A,i.height=Math.max(A.height,i.height),i.classes[0]="mord",i):A},ds=(t,e)=>{var r=t.isStretchy?er.mathMLnode(t.label):new D.MathNode("mo",[Mt(t.label,t.mode)]),n=new D.MathNode("mover",[Re(t.base,e),r]);return n.setAttribute("accent","true"),n},rh=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));K({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:(t,e)=>{var r=qn(e[0]),n=!rh.test(t.funcName),i=!n||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:Wi,mathmlBuilder:ds}),K({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],n=t.parser.mode;return n==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Wi,mathmlBuilder:ds}),K({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(t,e)=>{var r=ze(t.base,e),n=er.svgSpan(t,e),i=t.label==="\\utilde"?.12:0,a=T.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},e);return T.makeSpan(["mord","accentunder"],[a],e)},mathmlBuilder:(t,e)=>{var r=er.mathMLnode(t.label),n=new D.MathNode("munder",[Re(t.base,e),r]);return n.setAttribute("accentunder","true"),n}});var Gn=t=>{var e=new D.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};K({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(t,e,r){var{parser:n,funcName:i}=t;return{type:"xArrow",mode:n.mode,label:i,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,n=e.havingStyle(r.sup()),i=T.wrapFragment(ze(t.body,n,e),e),a=t.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var s;t.below&&(n=e.havingStyle(r.sub()),s=T.wrapFragment(ze(t.below,n,e),e),s.classes.push(a+"-arrow-pad"));var o=er.svgSpan(t,e),u=-e.fontMetrics().axisHeight+.5*o.height,h=-e.fontMetrics().axisHeight-.5*o.height-.111;(i.depth>.25||t.label==="\\xleftequilibrium")&&(h-=i.depth);var d;if(s){var f=-e.fontMetrics().axisHeight+s.height+.5*o.height+.111;d=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:f}]},e)}else d=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:o,shift:u}]},e);return d.children[0].children[0].children[1].classes.push("svg-align"),T.makeSpan(["mrel","x-arrow"],[d],e)},mathmlBuilder(t,e){var r=er.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(t.body){var i=Gn(Re(t.body,e));if(t.below){var a=Gn(Re(t.below,e));n=new D.MathNode("munderover",[r,a,i])}else n=new D.MathNode("mover",[r,i])}else if(t.below){var s=Gn(Re(t.below,e));n=new D.MathNode("munder",[r,s])}else n=Gn(),n=new D.MathNode("mover",[r,n]);return n}});var nh=T.makeSpan;function ms(t,e){var r=Xe(t.body,e,!0);return nh([t.mclass],r,e)}function ps(t,e){var r,n=pt(t.body,e);return t.mclass==="minner"?r=new D.MathNode("mpadded",n):t.mclass==="mord"?t.isCharacterBox?(r=n[0],r.type="mi"):r=new D.MathNode("mi",n):(t.isCharacterBox?(r=n[0],r.type="mo"):r=new D.MathNode("mo",n),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}K({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Ue(i),isCharacterBox:ie.isCharacterBox(i)}},htmlBuilder:ms,mathmlBuilder:ps});var $n=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};K({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:$n(e[0]),body:Ue(e[1]),isCharacterBox:ie.isCharacterBox(e[1])}}}),K({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:n}=t,i=e[1],a=e[0],s;n!=="\\stackrel"?s=$n(i):s="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ue(i)},u={type:"supsub",mode:a.mode,base:o,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:s,body:[u],isCharacterBox:ie.isCharacterBox(u)}},htmlBuilder:ms,mathmlBuilder:ps}),K({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:$n(e[0]),body:Ue(e[0])}},htmlBuilder(t,e){var r=Xe(t.body,e,!0),n=T.makeSpan([t.mclass],r,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(t,e){var r=pt(t.body,e),n=new D.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var ih={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},fs=()=>({type:"styling",body:[],mode:"math",style:"display"}),gs=t=>t.type==="textord"&&t.text==="@",ah=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function sh(t,e,r){var n=ih[t];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[e[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[a],[]),o=r.callFunction("\\\\cdright",[e[1]],[]),u={type:"ordgroup",mode:"math",body:[i,s,o]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var h={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[h],[])}default:return{type:"textord",text:" ",mode:"math"}}}function oh(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new L("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var n=[],i=[n],a=0;a<e.length;a++){for(var s=e[a],o=fs(),u=0;u<s.length;u++)if(!gs(s[u]))o.body.push(s[u]);else{n.push(o),u+=1;var h=$i(s[u]).text,d=new Array(2);if(d[0]={type:"ordgroup",mode:"math",body:[]},d[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(h)>-1))if("<>AV".indexOf(h)>-1)for(var f=0;f<2;f++){for(var b=!0,p=u+1;p<s.length;p++){if(ah(s[p],h)){b=!1,u=p;break}if(gs(s[p]))throw new L("Missing a "+h+" character to complete a CD arrow.",s[p]);d[f].body.push(s[p])}if(b)throw new L("Missing a "+h+" character to complete a CD arrow.",s[u])}else throw new L('Expected one of "<>AV=|." after @',s[u]);var z=sh(h,d,t),E={type:"styling",body:[z],mode:"math",style:"display"};n.push(E),o=fs()}a%2===0?n.push(o):n.shift(),n=[],i.push(n)}t.gullet.endGroup(),t.gullet.endGroup();var I=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:I,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}K({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),n=T.wrapFragment(ze(t.label,r,e),e);return n.classes.push("cd-label-"+t.side),n.style.bottom=H(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(t,e){var r=new D.MathNode("mrow",[Re(t.label,e)]);return r=new D.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new D.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),K({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=T.wrapFragment(ze(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new D.MathNode("mrow",[Re(t.fragment,e)])}}),K({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,n=ge(e[0],"ordgroup"),i=n.body,a="",s=0;s<i.length;s++){var o=ge(i[s],"textord");a+=o.text}var u=parseInt(a),h;if(isNaN(u))throw new L("\\@char has non-numeric argument "+a);if(u<0||u>=1114111)throw new L("\\@char with invalid code point "+a);return u<=65535?h=String.fromCharCode(u):(u-=65536,h=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:h}}});var bs=(t,e)=>{var r=Xe(t.body,e.withColor(t.color),!1);return T.makeFragment(r)},vs=(t,e)=>{var r=pt(t.body,e.withColor(t.color)),n=new D.MathNode("mstyle",r);return n.setAttribute("mathcolor",t.color),n};K({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,n=ge(e[0],"color-token").color,i=e[1];return{type:"color",mode:r.mode,color:n,body:Ue(i)}},htmlBuilder:bs,mathmlBuilder:vs}),K({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:n}=t,i=ge(e[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:bs,mathmlBuilder:vs}),K({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:n}=t,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&ge(i,"size").value}},htmlBuilder(t,e){var r=T.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=H(Fe(t.size,e)))),r},mathmlBuilder(t,e){var r=new D.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",H(Fe(t.size,e)))),r}});var ji={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},ys=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new L("Expected a control sequence",t);return e},lh=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},ws=(t,e,r,n)=>{var i=t.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,i,n)};K({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var n=e.fetch();if(ji[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=ji[n.text]),ge(e.parseFunction(),"internal");throw new L("Invalid token after macro prefix",n)}}),K({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=e.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new L("Expected a control sequence",n);for(var a=0,s,o=[[]];e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){s=e.gullet.future(),o[a].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new L('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new L('Argument number "'+n.text+'" out of order');a++,o.push([])}else{if(n.text==="EOF")throw new L("Expected a macro definition");o[a].push(n.text)}var{tokens:u}=e.gullet.consumeArg();return s&&u.unshift(s),(r==="\\edef"||r==="\\xdef")&&(u=e.gullet.expandTokens(u),u.reverse()),e.gullet.macros.set(i,{tokens:u,numArgs:a,delimiters:o},r===ji[r]),{type:"internal",mode:e.mode}}}),K({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=ys(e.gullet.popToken());e.gullet.consumeSpaces();var i=lh(e);return ws(e,n,i,r==="\\\\globallet"),{type:"internal",mode:e.mode}}}),K({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=ys(e.gullet.popToken()),i=e.gullet.popToken(),a=e.gullet.popToken();return ws(e,n,a,r==="\\\\globalfuture"),e.gullet.pushToken(a),e.gullet.pushToken(i),{type:"internal",mode:e.mode}}});var on=function(e,r,n){var i=Ie.math[e]&&Ie.math[e].replace,a=Ci(i||e,r,n);if(!a)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return a},Vi=function(e,r,n,i){var a=n.havingBaseStyle(r),s=T.makeSpan(i.concat(a.sizingClasses(n)),[e],n),o=a.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=a.sizeMultiplier,s},xs=function(e,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=H(a),e.height-=a,e.depth+=a},uh=function(e,r,n,i,a,s){var o=T.makeSymbol(e,"Main-Regular",a,i),u=Vi(o,r,i,s);return n&&xs(u,i,r),u},ch=function(e,r,n,i){return T.makeSymbol(e,"Size"+r+"-Regular",n,i)},ks=function(e,r,n,i,a,s){var o=ch(e,r,a,i),u=Vi(T.makeSpan(["delimsizing","size"+r],[o],i),se.TEXT,i,s);return n&&xs(u,i,se.TEXT),u},Xi=function(e,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=T.makeSpan(["delimsizinginner",i],[T.makeSpan([],[T.makeSymbol(e,r,n)])]);return{type:"elem",elem:a}},Ki=function(e,r,n){var i=Pt["Size4-Regular"][e.charCodeAt(0)]?Pt["Size4-Regular"][e.charCodeAt(0)][4]:Pt["Size1-Regular"][e.charCodeAt(0)][4],a=new mr("inner",gc(e,Math.round(1e3*r))),s=new Yt([a],{width:H(i),height:H(r),style:"width:"+H(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=T.makeSvgSpan([],[s],n);return o.height=r,o.style.height=H(r),o.style.width=H(i),{type:"elem",elem:o}},Yi=.008,Wn={type:"kern",size:-1*Yi},hh=["|","\\lvert","\\rvert","\\vert"],dh=["\\|","\\lVert","\\rVert","\\Vert"],Ss=function(e,r,n,i,a,s){var o,u,h,d,f="",b=0;o=h=d=e,u=null;var p="Size1-Regular";e==="\\uparrow"?h=d="⏐":e==="\\Uparrow"?h=d="‖":e==="\\downarrow"?o=h="⏐":e==="\\Downarrow"?o=h="‖":e==="\\updownarrow"?(o="\\uparrow",h="⏐",d="\\downarrow"):e==="\\Updownarrow"?(o="\\Uparrow",h="‖",d="\\Downarrow"):ie.contains(hh,e)?(h="∣",f="vert",b=333):ie.contains(dh,e)?(h="∥",f="doublevert",b=556):e==="["||e==="\\lbrack"?(o="⎡",h="⎢",d="⎣",p="Size4-Regular",f="lbrack",b=667):e==="]"||e==="\\rbrack"?(o="⎤",h="⎥",d="⎦",p="Size4-Regular",f="rbrack",b=667):e==="\\lfloor"||e==="⌊"?(h=o="⎢",d="⎣",p="Size4-Regular",f="lfloor",b=667):e==="\\lceil"||e==="⌈"?(o="⎡",h=d="⎢",p="Size4-Regular",f="lceil",b=667):e==="\\rfloor"||e==="⌋"?(h=o="⎥",d="⎦",p="Size4-Regular",f="rfloor",b=667):e==="\\rceil"||e==="⌉"?(o="⎤",h=d="⎥",p="Size4-Regular",f="rceil",b=667):e==="("||e==="\\lparen"?(o="⎛",h="⎜",d="⎝",p="Size4-Regular",f="lparen",b=875):e===")"||e==="\\rparen"?(o="⎞",h="⎟",d="⎠",p="Size4-Regular",f="rparen",b=875):e==="\\{"||e==="\\lbrace"?(o="⎧",u="⎨",d="⎩",h="⎪",p="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(o="⎫",u="⎬",d="⎭",h="⎪",p="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(o="⎧",d="⎩",h="⎪",p="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(o="⎫",d="⎭",h="⎪",p="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(o="⎧",d="⎭",h="⎪",p="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(o="⎫",d="⎩",h="⎪",p="Size4-Regular");var z=on(o,p,a),E=z.height+z.depth,I=on(h,p,a),A=I.height+I.depth,_=on(d,p,a),R=_.height+_.depth,Y=0,U=1;if(u!==null){var C=on(u,p,a);Y=C.height+C.depth,U=2}var V=E+R+Y,ee=Math.max(0,Math.ceil((r-V)/(U*A))),j=V+ee*U*A,M=i.fontMetrics().axisHeight;n&&(M*=i.sizeMultiplier);var $=j/2-M,G=[];if(f.length>0){var be=j-E-R,he=Math.round(j*1e3),le=bc(f,Math.round(be*1e3)),Ee=new mr(f,le),Me=(b/1e3).toFixed(3)+"em",ue=(he/1e3).toFixed(3)+"em",Ce=new Yt([Ee],{width:Me,height:ue,viewBox:"0 0 "+b+" "+he}),w=T.makeSvgSpan([],[Ce],i);w.height=he/1e3,w.style.width=Me,w.style.height=ue,G.push({type:"elem",elem:w})}else{if(G.push(Xi(d,p,a)),G.push(Wn),u===null){var Te=j-E-R+2*Yi;G.push(Ki(h,Te,i))}else{var Ae=(j-E-R-Y)/2+2*Yi;G.push(Ki(h,Ae,i)),G.push(Wn),G.push(Xi(u,p,a)),G.push(Wn),G.push(Ki(h,Ae,i))}G.push(Wn),G.push(Xi(o,p,a))}var k=i.havingBaseStyle(se.TEXT),Qe=T.makeVList({positionType:"bottom",positionData:$,children:G},k);return Vi(T.makeSpan(["delimsizing","mult"],[Qe],k),se.TEXT,i,s)},Zi=80,Ji=.08,Qi=function(e,r,n,i,a){var s=fc(e,i,n),o=new mr(e,s),u=new Yt([o],{width:"400em",height:H(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return T.makeSvgSpan(["hide-tail"],[u],a)},mh=function(e,r){var n=r.havingBaseSizing(),i=As("\\surd",e*n.sizeMultiplier,Ts,n),a=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,u=0,h=0,d=0,f;return i.type==="small"?(d=1e3+1e3*s+Zi,e<1?a=1:e<1.4&&(a=.7),u=(1+s+Ji)/a,h=(1+s)/a,o=Qi("sqrtMain",u,d,s,r),o.style.minWidth="0.853em",f=.833/a):i.type==="large"?(d=(1e3+Zi)*ln[i.size],h=(ln[i.size]+s)/a,u=(ln[i.size]+s+Ji)/a,o=Qi("sqrtSize"+i.size,u,d,s,r),o.style.minWidth="1.02em",f=1/a):(u=e+s+Ji,h=e+s,d=Math.floor(1e3*e+s)+Zi,o=Qi("sqrtTall",u,d,s,r),o.style.minWidth="0.742em",f=1.056),o.height=h,o.style.height=H(u),{span:o,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*a}},zs=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],ph=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Es=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ln=[0,1.2,1.8,2.4,3],fh=function(e,r,n,i,a){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),ie.contains(zs,e)||ie.contains(Es,e))return ks(e,r,!1,n,i,a);if(ie.contains(ph,e))return Ss(e,ln[r],!1,n,i,a);throw new L("Illegal delimiter: '"+e+"'")},gh=[{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}],bh=[{type:"small",style:se.SCRIPTSCRIPT},{type:"small",style:se.SCRIPT},{type:"small",style:se.TEXT},{type:"stack"}],Ts=[{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"}],vh=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},As=function(e,r,n,i){for(var a=Math.min(2,3-i.style.size),s=a;s<n.length&&n[s].type!=="stack";s++){var o=on(e,vh(n[s]),"math"),u=o.height+o.depth;if(n[s].type==="small"){var h=i.havingBaseStyle(n[s].style);u*=h.sizeMultiplier}if(u>r)return n[s]}return n[n.length-1]},Ms=function(e,r,n,i,a,s){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var o;ie.contains(Es,e)?o=gh:ie.contains(zs,e)?o=Ts:o=bh;var u=As(e,r,o,i);return u.type==="small"?uh(e,u.style,n,i,a,s):u.type==="large"?ks(e,u.size,n,i,a,s):Ss(e,r,n,i,a,s)},yh=function(e,r,n,i,a,s){var o=i.fontMetrics().axisHeight*i.sizeMultiplier,u=901,h=5/i.fontMetrics().ptPerEm,d=Math.max(r-o,n+o),f=Math.max(d/500*u,2*d-h);return Ms(e,f,!0,i,a,s)},tr={sqrtImage:mh,sizedDelim:fh,sizeToMaxHeight:ln,customSizedDelim:Ms,leftRightDelim:yh},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}},wh=["(","\\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 jn(t,e){var r=Un(t);if(r&&ie.contains(wh,r.text))return r;throw r?new L("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new L("Invalid delimiter type '"+t.type+"'",t)}K({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:(t,e)=>{var r=jn(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:Cs[t.funcName].size,mclass:Cs[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?T.makeSpan([t.mclass]):tr.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Mt(t.delim,t.mode));var r=new D.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=H(tr.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function _s(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}K({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new L("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:jn(e[0],t).text,color:r}}}),K({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=jn(e[0],t),n=t.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=ge(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(t,e)=>{_s(t);for(var r=Xe(t.body,e,!0,["mopen","mclose"]),n=0,i=0,a=!1,s=0;s<r.length;s++)r[s].isMiddle?a=!0:(n=Math.max(r[s].height,n),i=Math.max(r[s].depth,i));n*=e.sizeMultiplier,i*=e.sizeMultiplier;var o;if(t.left==="."?o=an(e,["mopen"]):o=tr.leftRightDelim(t.left,n,i,e,t.mode,["mopen"]),r.unshift(o),a)for(var u=1;u<r.length;u++){var h=r[u],d=h.isMiddle;d&&(r[u]=tr.leftRightDelim(d.delim,n,i,d.options,t.mode,[]))}var f;if(t.right===".")f=an(e,["mclose"]);else{var b=t.rightColor?e.withColor(t.rightColor):e;f=tr.leftRightDelim(t.right,n,i,b,t.mode,["mclose"])}return r.push(f),T.makeSpan(["minner"],r,e)},mathmlBuilder:(t,e)=>{_s(t);var r=pt(t.body,e);if(t.left!=="."){var n=new D.MathNode("mo",[Mt(t.left,t.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(t.right!=="."){var i=new D.MathNode("mo",[Mt(t.right,t.mode)]);i.setAttribute("fence","true"),t.rightColor&&i.setAttribute("mathcolor",t.rightColor),r.push(i)}return Ui(r)}}),K({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=jn(e[0],t);if(!t.parser.leftrightDepth)throw new L("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=an(e,[]);else{r=tr.sizedDelim(t.delim,1,e,t.mode,[]);var n={delim:t.delim,options:e};r.isMiddle=n}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?Mt("|","text"):Mt(t.delim,t.mode),n=new D.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var ea=(t,e)=>{var r=T.wrapFragment(ze(t.body,e),e),n=t.label.slice(1),i=e.sizeMultiplier,a,s=0,o=ie.isCharacterBox(t.body);if(n==="sout")a=T.makeSpan(["stretchy","sout"]),a.height=e.fontMetrics().defaultRuleThickness/i,s=-.5*e.fontMetrics().xHeight;else if(n==="phase"){var u=Fe({number:.6,unit:"pt"},e),h=Fe({number:.35,unit:"ex"},e),d=e.havingBaseSizing();i=i/d.sizeMultiplier;var f=r.height+r.depth+u+h;r.style.paddingLeft=H(f/2+u);var b=Math.floor(1e3*f*i),p=mc(b),z=new Yt([new mr("phase",p)],{width:"400em",height:H(b/1e3),viewBox:"0 0 400000 "+b,preserveAspectRatio:"xMinYMin slice"});a=T.makeSvgSpan(["hide-tail"],[z],e),a.style.height=H(f),s=r.depth+u+h}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var E=0,I=0,A=0;/box/.test(n)?(A=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),E=e.fontMetrics().fboxsep+(n==="colorbox"?0:A),I=E):n==="angl"?(A=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),E=4*A,I=Math.max(0,.25-r.depth)):(E=o?.2:0,I=E),a=er.encloseSpan(r,n,E,I,e),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=H(A)):n==="angl"&&A!==.049&&(a.style.borderTopWidth=H(A),a.style.borderRightWidth=H(A)),s=r.depth+I,t.backgroundColor&&(a.style.backgroundColor=t.backgroundColor,t.borderColor&&(a.style.borderColor=t.borderColor))}var _;if(t.backgroundColor)_=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:s},{type:"elem",elem:r,shift:0}]},e);else{var R=/cancel|phase/.test(n)?["svg-align"]:[];_=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:R}]},e)}return/cancel/.test(n)&&(_.height=r.height,_.depth=r.depth),/cancel/.test(n)&&!o?T.makeSpan(["mord","cancel-lap"],[_],e):T.makeSpan(["mord"],[_],e)},ta=(t,e)=>{var r=0,n=new D.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Re(t.body,e)]);switch(t.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=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var i=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(t.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&n.setAttribute("mathbackground",t.backgroundColor),n};K({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:n,funcName:i}=t,a=ge(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:s}},htmlBuilder:ea,mathmlBuilder:ta}),K({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:n,funcName:i}=t,a=ge(e[0],"color-token").color,s=ge(e[1],"color-token").color,o=e[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:s,borderColor:a,body:o}},htmlBuilder:ea,mathmlBuilder:ta}),K({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}}),K({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:ea,mathmlBuilder:ta}),K({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var Ns={};function qt(t){for(var{type:e,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=t,o={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},u=0;u<r.length;++u)Ns[r[u]]=o;a&&(Fn[e]=a),s&&(Pn[e]=s)}var Bs={};function g(t,e){Bs[t]=e}function Rs(t){var e=[];t.consumeSpaces();var r=t.fetch().text;for(r==="\\relax"&&(t.consume(),t.consumeSpaces(),r=t.fetch().text);r==="\\hline"||r==="\\hdashline";)t.consume(),e.push(r==="\\hdashline"),t.consumeSpaces(),r=t.fetch().text;return e}var Vn=t=>{var e=t.parser.settings;if(!e.displayMode)throw new L("{"+t.envName+"} can be used only in display mode.")};function ra(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function gr(t,e,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:s,colSeparationType:o,autoTag:u,singleRow:h,emptySingleRow:d,maxNumCols:f,leqno:b}=e;if(t.gullet.beginGroup(),h||t.gullet.macros.set("\\cr","\\\\\\relax"),!s){var p=t.gullet.expandMacroAsText("\\arraystretch");if(p==null)s=1;else if(s=parseFloat(p),!s||s<0)throw new L("Invalid \\arraystretch: "+p)}t.gullet.beginGroup();var z=[],E=[z],I=[],A=[],_=u!=null?[]:void 0;function R(){u&&t.gullet.macros.set("\\@eqnsw","1",!0)}function Y(){_&&(t.gullet.macros.get("\\df@tag")?(_.push(t.subparse([new zt("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):_.push(!!u&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),A.push(Rs(t));;){var U=t.parseExpression(!1,h?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),U={type:"ordgroup",mode:t.mode,body:U},r&&(U={type:"styling",mode:t.mode,style:r,body:[U]}),z.push(U);var C=t.fetch().text;if(C==="&"){if(f&&z.length===f){if(h||o)throw new L("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(C==="\\end"){Y(),z.length===1&&U.type==="styling"&&U.body[0].body.length===0&&(E.length>1||!d)&&E.pop(),A.length<E.length+1&&A.push([]);break}else if(C==="\\\\"){t.consume();var V=void 0;t.gullet.future().text!==" "&&(V=t.parseSizeGroup(!0)),I.push(V?V.value:null),Y(),A.push(Rs(t)),z=[],E.push(z),R()}else throw new L("Expected & or \\\\ or \\cr or \\end",t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:i,arraystretch:s,body:E,cols:a,rowGaps:I,hskipBeforeAndAfter:n,hLinesBeforeRow:A,colSeparationType:o,tags:_,leqno:b}}function na(t){return t.slice(0,1)==="d"?"display":"text"}var Ht=function(e,r){var n,i,a=e.body.length,s=e.hLinesBeforeRow,o=0,u=new Array(a),h=[],d=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),f=1/r.fontMetrics().ptPerEm,b=5*f;if(e.colSeparationType&&e.colSeparationType==="small"){var p=r.havingStyle(se.SCRIPT).sizeMultiplier;b=.2778*(p/r.sizeMultiplier)}var z=e.colSeparationType==="CD"?Fe({number:3,unit:"ex"},r):12*f,E=3*f,I=e.arraystretch*z,A=.7*I,_=.3*I,R=0;function Y(wr){for(var nr=0;nr<wr.length;++nr)nr>0&&(R+=.25),h.push({pos:R,isDashed:wr[nr]})}for(Y(s[0]),n=0;n<e.body.length;++n){var U=e.body[n],C=A,V=_;o<U.length&&(o=U.length);var ee=new Array(U.length);for(i=0;i<U.length;++i){var j=ze(U[i],r);V<j.depth&&(V=j.depth),C<j.height&&(C=j.height),ee[i]=j}var M=e.rowGaps[n],$=0;M&&($=Fe(M,r),$>0&&($+=_,V<$&&(V=$),$=0)),e.addJot&&(V+=E),ee.height=C,ee.depth=V,R+=C,ee.pos=R,R+=V+$,u[n]=ee,Y(s[n+1])}var G=R/2+r.fontMetrics().axisHeight,be=e.cols||[],he=[],le,Ee,Me=[];if(e.tags&&e.tags.some(wr=>wr))for(n=0;n<a;++n){var ue=u[n],Ce=ue.pos-G,w=e.tags[n],Te=void 0;w===!0?Te=T.makeSpan(["eqn-num"],[],r):w===!1?Te=T.makeSpan([],[],r):Te=T.makeSpan([],Xe(w,r,!0),r),Te.depth=ue.depth,Te.height=ue.height,Me.push({type:"elem",elem:Te,shift:Ce})}for(i=0,Ee=0;i<o||Ee<be.length;++i,++Ee){for(var Ae=be[Ee]||{},k=!0;Ae.type==="separator";){if(k||(le=T.makeSpan(["arraycolsep"],[]),le.style.width=H(r.fontMetrics().doubleRuleSep),he.push(le)),Ae.separator==="|"||Ae.separator===":"){var Qe=Ae.separator==="|"?"solid":"dashed",nt=T.makeSpan(["vertical-separator"],[],r);nt.style.height=H(R),nt.style.borderRightWidth=H(d),nt.style.borderRightStyle=Qe,nt.style.margin="0 "+H(-d/2);var He=R-G;He&&(nt.style.verticalAlign=H(-He)),he.push(nt)}else throw new L("Invalid separator type: "+Ae.separator);Ee++,Ae=be[Ee]||{},k=!1}if(!(i>=o)){var ft=void 0;(i>0||e.hskipBeforeAndAfter)&&(ft=ie.deflt(Ae.pregap,b),ft!==0&&(le=T.makeSpan(["arraycolsep"],[]),le.style.width=H(ft),he.push(le)));var et=[];for(n=0;n<a;++n){var Ct=u[n],it=Ct[i];if(it){var vr=Ct.pos-G;it.depth=Ct.depth,it.height=Ct.height,et.push({type:"elem",elem:it,shift:vr})}}et=T.makeVList({positionType:"individualShift",children:et},r),et=T.makeSpan(["col-align-"+(Ae.align||"c")],[et]),he.push(et),(i<o-1||e.hskipBeforeAndAfter)&&(ft=ie.deflt(Ae.postgap,b),ft!==0&&(le=T.makeSpan(["arraycolsep"],[]),le.style.width=H(ft),he.push(le)))}}if(u=T.makeSpan(["mtable"],he),h.length>0){for(var dn=T.makeLineSpan("hline",r,d),mn=T.makeLineSpan("hdashline",r,d),Rr=[{type:"elem",elem:u,shift:0}];h.length>0;){var Ir=h.pop(),Or=Ir.pos-G;Ir.isDashed?Rr.push({type:"elem",elem:mn,shift:Or}):Rr.push({type:"elem",elem:dn,shift:Or})}u=T.makeVList({positionType:"individualShift",children:Rr},r)}if(Me.length===0)return T.makeSpan(["mord"],[u],r);var yr=T.makeVList({positionType:"individualShift",children:Me},r);return yr=T.makeSpan(["tag"],[yr],r),T.makeFragment([u,yr])},xh={c:"center ",l:"left ",r:"right "},Ut=function(e,r){for(var n=[],i=new D.MathNode("mtd",[],["mtr-glue"]),a=new D.MathNode("mtd",[],["mml-eqn-num"]),s=0;s<e.body.length;s++){for(var o=e.body[s],u=[],h=0;h<o.length;h++)u.push(new D.MathNode("mtd",[Re(o[h],r)]));e.tags&&e.tags[s]&&(u.unshift(i),u.push(i),e.leqno?u.unshift(a):u.push(a)),n.push(new D.MathNode("mtr",u))}var d=new D.MathNode("mtable",n),f=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);d.setAttribute("rowspacing",H(f));var b="",p="";if(e.cols&&e.cols.length>0){var z=e.cols,E="",I=!1,A=0,_=z.length;z[0].type==="separator"&&(b+="top ",A=1),z[z.length-1].type==="separator"&&(b+="bottom ",_-=1);for(var R=A;R<_;R++)z[R].type==="align"?(p+=xh[z[R].align],I&&(E+="none "),I=!0):z[R].type==="separator"&&I&&(E+=z[R].separator==="|"?"solid ":"dashed ",I=!1);d.setAttribute("columnalign",p.trim()),/[sd]/.test(E)&&d.setAttribute("columnlines",E.trim())}if(e.colSeparationType==="align"){for(var Y=e.cols||[],U="",C=1;C<Y.length;C++)U+=C%2?"0em ":"1em ";d.setAttribute("columnspacing",U.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?d.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?d.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?d.setAttribute("columnspacing","0.5em"):d.setAttribute("columnspacing","1em");var V="",ee=e.hLinesBeforeRow;b+=ee[0].length>0?"left ":"",b+=ee[ee.length-1].length>0?"right ":"";for(var j=1;j<ee.length-1;j++)V+=ee[j].length===0?"none ":ee[j][0]?"dashed ":"solid ";return/[sd]/.test(V)&&d.setAttribute("rowlines",V.trim()),b!==""&&(d=new D.MathNode("menclose",[d]),d.setAttribute("notation",b.trim())),e.arraystretch&&e.arraystretch<1&&(d=new D.MathNode("mstyle",[d]),d.setAttribute("scriptlevel","1")),d},Is=function(e,r){e.envName.indexOf("ed")===-1&&Vn(e);var n=[],i=e.envName.indexOf("at")>-1?"alignat":"align",a=e.envName==="split",s=gr(e.parser,{cols:n,addJot:!0,autoTag:a?void 0:ra(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display"),o,u=0,h={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var d="",f=0;f<r[0].body.length;f++){var b=ge(r[0].body[f],"textord");d+=b.text}o=Number(d),u=o*2}var p=!u;s.body.forEach(function(A){for(var _=1;_<A.length;_+=2){var R=ge(A[_],"styling"),Y=ge(R.body[0],"ordgroup");Y.body.unshift(h)}if(p)u<A.length&&(u=A.length);else{var U=A.length/2;if(o<U)throw new L("Too many math in a row: "+("expected "+o+", but got "+U),A[0])}});for(var z=0;z<u;++z){var E="r",I=0;z%2===1?E="l":z>0&&p&&(I=1),n[z]={type:"align",align:E,pregap:I,postgap:0}}return s.colSeparationType=p?"align":"alignat",s};qt({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=Un(e[0]),n=r?[e[0]]:ge(e[0],"ordgroup").body,i=n.map(function(s){var o=$i(s),u=o.text;if("lcr".indexOf(u)!==-1)return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new L("Unknown column alignment: "+u,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return gr(t.parser,a,na(t.envName))},htmlBuilder:Ht,mathmlBuilder:Ut}),qt({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var i=t.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new L("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=gr(t.parser,n,na(t.envName)),s=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(s).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[a],left:e[0],right:e[1],rightColor:void 0}:a},htmlBuilder:Ht,mathmlBuilder:Ut}),qt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=gr(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:Ht,mathmlBuilder:Ut}),qt({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=Un(e[0]),n=r?[e[0]]:ge(e[0],"ordgroup").body,i=n.map(function(s){var o=$i(s),u=o.text;if("lc".indexOf(u)!==-1)return{type:"align",align:u};throw new L("Unknown column alignment: "+u,s)});if(i.length>1)throw new L("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=gr(t.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new L("{subarray} can contain only one column");return a},htmlBuilder:Ht,mathmlBuilder:Ut}),qt({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=gr(t.parser,e,na(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Ht,mathmlBuilder:Ut}),qt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Is,htmlBuilder:Ht,mathmlBuilder:Ut}),qt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){ie.contains(["gather","gather*"],t.envName)&&Vn(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:ra(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return gr(t.parser,e,"display")},htmlBuilder:Ht,mathmlBuilder:Ut}),qt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Is,htmlBuilder:Ht,mathmlBuilder:Ut}),qt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){Vn(t);var e={autoTag:ra(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return gr(t.parser,e,"display")},htmlBuilder:Ht,mathmlBuilder:Ut}),qt({type:"array",names:["CD"],props:{numArgs:0},handler(t){return Vn(t),oh(t.parser)},htmlBuilder:Ht,mathmlBuilder:Ut}),g("\\nonumber","\\gdef\\@eqnsw{0}"),g("\\notag","\\nonumber"),K({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new L(t.funcName+" valid only within array environment")}});var Os=Ns;K({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];if(i.type!=="ordgroup")throw new L("Invalid environment name",i);for(var a="",s=0;s<i.body.length;++s)a+=ge(i.body[s],"textord").text;if(n==="\\begin"){if(!Os.hasOwnProperty(a))throw new L("No such environment: "+a,i);var o=Os[a],{args:u,optArgs:h}=r.parseArguments("\\begin{"+a+"}",o),d={mode:r.mode,envName:a,parser:r},f=o.handler(d,u,h);r.expect("\\end",!1);var b=r.nextToken,p=ge(r.parseFunction(),"environment");if(p.name!==a)throw new L("Mismatch: \\begin{"+a+"} matched by \\end{"+p.name+"}",b);return f}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var Ds=(t,e)=>{var r=t.font,n=e.withFont(r);return ze(t.body,n)},Ls=(t,e)=>{var r=t.font,n=e.withFont(r);return Re(t.body,n)},Fs={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};K({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=qn(e[0]),a=n;return a in Fs&&(a=Fs[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:Ds,mathmlBuilder:Ls}),K({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,n=e[0],i=ie.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:$n(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}}),K({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n,breakOnTokenText:i}=t,{mode:a}=r,s=r.parseExpression(!0,i),o="math"+n.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:Ds,mathmlBuilder:Ls});var Ps=(t,e)=>{var r=e;return t==="display"?r=r.id>=se.SCRIPT.id?r.text():se.DISPLAY:t==="text"&&r.size===se.DISPLAY.size?r=se.TEXT:t==="script"?r=se.SCRIPT:t==="scriptscript"&&(r=se.SCRIPTSCRIPT),r},ia=(t,e)=>{var r=Ps(t.size,e.style),n=r.fracNum(),i=r.fracDen(),a;a=e.havingStyle(n);var s=ze(t.numer,a,e);if(t.continued){var o=8.5/e.fontMetrics().ptPerEm,u=3.5/e.fontMetrics().ptPerEm;s.height=s.height<o?o:s.height,s.depth=s.depth<u?u:s.depth}a=e.havingStyle(i);var h=ze(t.denom,a,e),d,f,b;t.hasBarLine?(t.barSize?(f=Fe(t.barSize,e),d=T.makeLineSpan("frac-line",e,f)):d=T.makeLineSpan("frac-line",e),f=d.height,b=d.height):(d=null,f=0,b=e.fontMetrics().defaultRuleThickness);var p,z,E;r.size===se.DISPLAY.size||t.size==="display"?(p=e.fontMetrics().num1,f>0?z=3*b:z=7*b,E=e.fontMetrics().denom1):(f>0?(p=e.fontMetrics().num2,z=b):(p=e.fontMetrics().num3,z=3*b),E=e.fontMetrics().denom2);var I;if(d){var _=e.fontMetrics().axisHeight;p-s.depth-(_+.5*f)<z&&(p+=z-(p-s.depth-(_+.5*f))),_-.5*f-(h.height-E)<z&&(E+=z-(_-.5*f-(h.height-E)));var R=-(_-.5*f);I=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:E},{type:"elem",elem:d,shift:R},{type:"elem",elem:s,shift:-p}]},e)}else{var A=p-s.depth-(h.height-E);A<z&&(p+=.5*(z-A),E+=.5*(z-A)),I=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:E},{type:"elem",elem:s,shift:-p}]},e)}a=e.havingStyle(r),I.height*=a.sizeMultiplier/e.sizeMultiplier,I.depth*=a.sizeMultiplier/e.sizeMultiplier;var Y;r.size===se.DISPLAY.size?Y=e.fontMetrics().delim1:r.size===se.SCRIPTSCRIPT.size?Y=e.havingStyle(se.SCRIPT).fontMetrics().delim2:Y=e.fontMetrics().delim2;var U,C;return t.leftDelim==null?U=an(e,["mopen"]):U=tr.customSizedDelim(t.leftDelim,Y,!0,e.havingStyle(r),t.mode,["mopen"]),t.continued?C=T.makeSpan([]):t.rightDelim==null?C=an(e,["mclose"]):C=tr.customSizedDelim(t.rightDelim,Y,!0,e.havingStyle(r),t.mode,["mclose"]),T.makeSpan(["mord"].concat(a.sizingClasses(e)),[U,T.makeSpan(["mfrac"],[I]),C],e)},aa=(t,e)=>{var r=new D.MathNode("mfrac",[Re(t.numer,e),Re(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var n=Fe(t.barSize,e);r.setAttribute("linethickness",H(n))}var i=Ps(t.size,e.style);if(i.size!==e.style.size){r=new D.MathNode("mstyle",[r]);var a=i.size===se.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var s=[];if(t.leftDelim!=null){var o=new D.MathNode("mo",[new D.TextNode(t.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),t.rightDelim!=null){var u=new D.MathNode("mo",[new D.TextNode(t.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),s.push(u)}return Ui(s)}return r};K({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0],a=e[1],s,o=null,u=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",u=")";break;case"\\\\bracefrac":s=!1,o="\\{",u="\\}";break;case"\\\\brackfrac":s=!1,o="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:s,leftDelim:o,rightDelim:u,size:h,barSize:null}},htmlBuilder:ia,mathmlBuilder:aa}),K({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0],a=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),K({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:n}=t,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:i,token:n}}});var qs=["display","text","script","scriptscript"],Hs=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};K({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,n=e[4],i=e[5],a=qn(e[0]),s=a.type==="atom"&&a.family==="open"?Hs(a.text):null,o=qn(e[1]),u=o.type==="atom"&&o.family==="close"?Hs(o.text):null,h=ge(e[2],"size"),d,f=null;h.isBlank?d=!0:(f=h.value,d=f.number>0);var b="auto",p=e[3];if(p.type==="ordgroup"){if(p.body.length>0){var z=ge(p.body[0],"textord");b=qs[Number(z.text)]}}else p=ge(p,"textord"),b=qs[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:d,barSize:f,leftDelim:s,rightDelim:u,size:b}},htmlBuilder:ia,mathmlBuilder:aa}),K({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:n,token:i}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:ge(e[0],"size").value,token:i}}}),K({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0],a=J1(ge(e[1],"infix").size),s=e[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:s,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ia,mathmlBuilder:aa});var Us=(t,e)=>{var r=e.style,n,i;t.type==="supsub"?(n=t.sup?ze(t.sup,e.havingStyle(r.sup()),e):ze(t.sub,e.havingStyle(r.sub()),e),i=ge(t.base,"horizBrace")):i=ge(t,"horizBrace");var a=ze(i.base,e.havingBaseStyle(se.DISPLAY)),s=er.svgSpan(i,e),o;if(i.isOver?(o=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},e),o.children[0].children[0].children[1].classes.push("svg-align")):(o=T.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},e),o.children[0].children[0].children[0].classes.push("svg-align")),n){var u=T.makeSpan(["mord",i.isOver?"mover":"munder"],[o],e);i.isOver?o=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]},e):o=T.makeVList({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]},e)}return T.makeSpan(["mord",i.isOver?"mover":"munder"],[o],e)},kh=(t,e)=>{var r=er.mathMLnode(t.label);return new D.MathNode(t.isOver?"mover":"munder",[Re(t.base,e),r])};K({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:e[0]}},htmlBuilder:Us,mathmlBuilder:kh}),K({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[1],i=ge(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:Ue(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=Xe(t.body,e,!1);return T.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=fr(t.body,e);return r instanceof At||(r=new At("mrow",[r])),r.setAttribute("href",t.href),r}}),K({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=ge(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var s=n[a];s==="~"&&(s="\\textasciitilde"),i.push({type:"textord",mode:"text",text:s})}var o={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:Ue(o)}}}),K({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(t,e){var{parser:r}=t;return{type:"hbox",mode:r.mode,body:Ue(e[0])}},htmlBuilder(t,e){var r=Xe(t.body,e,!1);return T.makeFragment(r)},mathmlBuilder(t,e){return new D.MathNode("mrow",pt(t.body,e))}}),K({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n,token:i}=t,a=ge(e[0],"raw").string,s=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,u={};switch(n){case"\\htmlClass":u.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":u.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":u.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var h=a.split(","),d=0;d<h.length;d++){var f=h[d].split("=");if(f.length!==2)throw new L("Error parsing key-value for \\htmlData");u["data-"+f[0].trim()]=f[1].trim()}o={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:u,body:Ue(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(t,e)=>{var r=Xe(t.body,e,!1),n=["enclosing"];t.attributes.class&&n.push(...t.attributes.class.trim().split(/\s+/));var i=T.makeSpan(n,r,e);for(var a in t.attributes)a!=="class"&&t.attributes.hasOwnProperty(a)&&i.setAttribute(a,t.attributes[a]);return i},mathmlBuilder:(t,e)=>fr(t.body,e)}),K({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:Ue(e[0]),mathml:Ue(e[1])}},htmlBuilder:(t,e)=>{var r=Xe(t.html,e,!1);return T.makeFragment(r)},mathmlBuilder:(t,e)=>fr(t.mathml,e)});var sa=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new L("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!$0(n))throw new L("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};K({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:n}=t,i={number:0,unit:"em"},a={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var u=ge(r[0],"raw").string,h=u.split(","),d=0;d<h.length;d++){var f=h[d].split("=");if(f.length===2){var b=f[1].trim();switch(f[0].trim()){case"alt":o=b;break;case"width":i=sa(b);break;case"height":a=sa(b);break;case"totalheight":s=sa(b);break;default:throw new L("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var p=ge(e[0],"url").url;return o===""&&(o=p,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:o,width:i,height:a,totalheight:s,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{var r=Fe(t.height,e),n=0;t.totalheight.number>0&&(n=Fe(t.totalheight,e)-r);var i=0;t.width.number>0&&(i=Fe(t.width,e));var a={height:H(r+n)};i>0&&(a.width=H(i)),n>0&&(a.verticalAlign=H(-n));var s=new kc(t.src,t.alt,a);return s.height=r,s.depth=n,s},mathmlBuilder:(t,e)=>{var r=new D.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var n=Fe(t.height,e),i=0;if(t.totalheight.number>0&&(i=Fe(t.totalheight,e)-n,r.setAttribute("valign",H(-i))),r.setAttribute("height",H(n+i)),t.width.number>0){var a=Fe(t.width,e);r.setAttribute("width",H(a))}return r.setAttribute("src",t.src),r}}),K({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,i=ge(e[0],"size");if(r.settings.strict){var a=n[1]==="m",s=i.value.unit==="mu";a?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(t,e){return T.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=Fe(t.dimension,e);return new D.SpaceNode(r)}}),K({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=T.makeSpan([],[ze(t.body,e)]),r=T.makeSpan(["inner"],[r],e)):r=T.makeSpan(["inner"],[ze(t.body,e)]);var n=T.makeSpan(["fix"],[]),i=T.makeSpan([t.alignment],[r,n],e),a=T.makeSpan(["strut"]);return a.style.height=H(i.height+i.depth),i.depth&&(a.style.verticalAlign=H(-i.depth)),i.children.unshift(a),i=T.makeSpan(["thinbox"],[i],e),T.makeSpan(["mord","vbox"],[i],e)},mathmlBuilder:(t,e)=>{var r=new D.MathNode("mpadded",[Re(t.body,e)]);if(t.alignment!=="rlap"){var n=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),K({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:n}=t,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",s=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:s}}}),K({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new L("Mismatched "+t.funcName)}});var Gs=(t,e)=>{switch(e.style.size){case se.DISPLAY.size:return t.display;case se.TEXT.size:return t.text;case se.SCRIPT.size:return t.script;case se.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};K({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:Ue(e[0]),text:Ue(e[1]),script:Ue(e[2]),scriptscript:Ue(e[3])}},htmlBuilder:(t,e)=>{var r=Gs(t,e),n=Xe(r,e,!1);return T.makeFragment(n)},mathmlBuilder:(t,e)=>{var r=Gs(t,e);return fr(r,e)}});var $s=(t,e,r,n,i,a,s)=>{t=T.makeSpan([],[t]);var o=r&&ie.isCharacterBox(r),u,h;if(e){var d=ze(e,n.havingStyle(i.sup()),n);h={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var f=ze(r,n.havingStyle(i.sub()),n);u={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}var b;if(h&&u){var p=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+t.depth+s;b=T.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:H(-a)},{type:"kern",size:u.kern},{type:"elem",elem:t},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:H(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(u){var z=t.height-s;b=T.makeVList({positionType:"top",positionData:z,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:H(-a)},{type:"kern",size:u.kern},{type:"elem",elem:t}]},n)}else if(h){var E=t.depth+s;b=T.makeVList({positionType:"bottom",positionData:E,children:[{type:"elem",elem:t},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:H(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return t;var I=[b];if(u&&a!==0&&!o){var A=T.makeSpan(["mspace"],[],n);A.style.marginRight=H(a),I.unshift(A)}return T.makeSpan(["mop","op-limits"],I,n)},Ws=["\\smallint"],Kr=(t,e)=>{var r,n,i=!1,a;t.type==="supsub"?(r=t.sup,n=t.sub,a=ge(t.base,"op"),i=!0):a=ge(t,"op");var s=e.style,o=!1;s.size===se.DISPLAY.size&&a.symbol&&!ie.contains(Ws,a.name)&&(o=!0);var u;if(a.symbol){var h=o?"Size2-Regular":"Size1-Regular",d="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(d=a.name.slice(1),a.name=d==="oiint"?"\\iint":"\\iiint"),u=T.makeSymbol(a.name,h,"math",e,["mop","op-symbol",o?"large-op":"small-op"]),d.length>0){var f=u.italic,b=T.staticSvg(d+"Size"+(o?"2":"1"),e);u=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:b,shift:o?.08:0}]},e),a.name="\\"+d,u.classes.unshift("mop"),u.italic=f}}else if(a.body){var p=Xe(a.body,e,!0);p.length===1&&p[0]instanceof Tt?(u=p[0],u.classes[0]="mop"):u=T.makeSpan(["mop"],p,e)}else{for(var z=[],E=1;E<a.name.length;E++)z.push(T.mathsym(a.name[E],a.mode,e));u=T.makeSpan(["mop"],z,e)}var I=0,A=0;return(u instanceof Tt||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift&&(I=(u.height-u.depth)/2-e.fontMetrics().axisHeight,A=u.italic),i?$s(u,r,n,e,s,A,I):(I&&(u.style.position="relative",u.style.top=H(I)),u)},un=(t,e)=>{var r;if(t.symbol)r=new At("mo",[Mt(t.name,t.mode)]),ie.contains(Ws,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new At("mo",pt(t.body,e));else{r=new At("mi",[new sn(t.name.slice(1))]);var n=new At("mo",[Mt("⁡","text")]);t.parentIsSupSub?r=new At("mrow",[r,n]):r=ls([r,n])}return r},Sh={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};K({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=n;return i.length===1&&(i=Sh[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Kr,mathmlBuilder:un}),K({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ue(n)}},htmlBuilder:Kr,mathmlBuilder:un});var zh={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};K({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(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kr,mathmlBuilder:un}),K({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kr,mathmlBuilder:un}),K({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,n=r;return n.length===1&&(n=zh[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Kr,mathmlBuilder:un});var js=(t,e)=>{var r,n,i=!1,a;t.type==="supsub"?(r=t.sup,n=t.sub,a=ge(t.base,"operatorname"),i=!0):a=ge(t,"operatorname");var s;if(a.body.length>0){for(var o=a.body.map(f=>{var b=f.text;return typeof b=="string"?{type:"textord",mode:f.mode,text:b}:f}),u=Xe(o,e.withFont("mathrm"),!0),h=0;h<u.length;h++){var d=u[h];d instanceof Tt&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=T.makeSpan(["mop"],u,e)}else s=T.makeSpan(["mop"],[],e);return i?$s(s,r,n,e,e.style,0,0):s},Eh=(t,e)=>{for(var r=pt(t.body,e.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(!(a instanceof D.SpaceNode))if(a instanceof D.MathNode)switch(a.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var s=a.children[0];a.children.length===1&&s instanceof D.TextNode?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(d=>d.toText()).join("");r=[new D.TextNode(o)]}var u=new D.MathNode("mi",r);u.setAttribute("mathvariant","normal");var h=new D.MathNode("mo",[Mt("⁡","text")]);return t.parentIsSupSub?new D.MathNode("mrow",[u,h]):D.newDocumentFragment([u,h])};K({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"operatorname",mode:r.mode,body:Ue(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:js,mathmlBuilder:Eh}),g("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Br({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?T.makeFragment(Xe(t.body,e,!1)):T.makeSpan(["mord"],Xe(t.body,e,!0),e)},mathmlBuilder(t,e){return fr(t.body,e,!0)}}),K({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,n=e[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(t,e){var r=ze(t.body,e.havingCrampedStyle()),n=T.makeLineSpan("overline-line",e),i=e.fontMetrics().defaultRuleThickness,a=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},e);return T.makeSpan(["mord","overline"],[a],e)},mathmlBuilder(t,e){var r=new D.MathNode("mo",[new D.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new D.MathNode("mover",[Re(t.body,e),r]);return n.setAttribute("accent","true"),n}}),K({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"phantom",mode:r.mode,body:Ue(n)}},htmlBuilder:(t,e)=>{var r=Xe(t.body,e.withPhantom(),!1);return T.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=pt(t.body,e);return new D.MathNode("mphantom",r)}}),K({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{var r=T.makeSpan([],[ze(t.body,e.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=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e),T.makeSpan(["mord"],[r],e)},mathmlBuilder:(t,e)=>{var r=pt(Ue(t.body),e),n=new D.MathNode("mphantom",r),i=new D.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),K({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{var r=T.makeSpan(["inner"],[ze(t.body,e.withPhantom())]),n=T.makeSpan(["fix"],[]);return T.makeSpan(["mord","rlap"],[r,n],e)},mathmlBuilder:(t,e)=>{var r=pt(Ue(t.body),e),n=new D.MathNode("mphantom",r),i=new D.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}}),K({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,n=ge(e[0],"size").value,i=e[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(t,e){var r=ze(t.body,e),n=Fe(t.dy,e);return T.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new D.MathNode("mpadded",[Re(t.body,e)]),n=t.dy.number+t.dy.unit;return r.setAttribute("voffset",n),r}}),K({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}}),K({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(t,e,r){var{parser:n}=t,i=r[0],a=ge(e[0],"size"),s=ge(e[1],"size");return{type:"rule",mode:n.mode,shift:i&&ge(i,"size").value,width:a.value,height:s.value}},htmlBuilder(t,e){var r=T.makeSpan(["mord","rule"],[],e),n=Fe(t.width,e),i=Fe(t.height,e),a=t.shift?Fe(t.shift,e):0;return r.style.borderRightWidth=H(n),r.style.borderTopWidth=H(i),r.style.bottom=H(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=Fe(t.width,e),n=Fe(t.height,e),i=t.shift?Fe(t.shift,e):0,a=e.color&&e.getColor()||"black",s=new D.MathNode("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",H(r)),s.setAttribute("height",H(n));var o=new D.MathNode("mpadded",[s]);return i>=0?o.setAttribute("height",H(i)):(o.setAttribute("height",H(i)),o.setAttribute("depth",H(-i))),o.setAttribute("voffset",H(i)),o}});function Vs(t,e,r){for(var n=Xe(t,e,!1),i=e.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var s=n[a].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[a].classes,e.sizingClasses(r)):n[a].classes[s+1]==="reset-size"+e.size&&(n[a].classes[s+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return T.makeFragment(n)}var Xs=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Th=(t,e)=>{var r=e.havingSize(t.size);return Vs(t.body,r,e)};K({type:"sizing",names:Xs,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:n,parser:i}=t,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:Xs.indexOf(n)+1,body:a}},htmlBuilder:Th,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),n=pt(t.body,r),i=new D.MathNode("mstyle",n);return i.setAttribute("mathsize",H(r.sizeMultiplier)),i}}),K({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:n}=t,i=!1,a=!1,s=r[0]&&ge(r[0],"ordgroup");if(s)for(var o="",u=0;u<s.body.length;++u){var h=s.body[u];if(o=h.text,o==="t")i=!0;else if(o==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var d=e[0];return{type:"smash",mode:n.mode,body:d,smashHeight:i,smashDepth:a}},htmlBuilder:(t,e)=>{var r=T.makeSpan([],[ze(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(t.smashDepth&&(r.depth=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].depth=0;var a=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e);return T.makeSpan(["mord"],[a],e)},mathmlBuilder:(t,e)=>{var r=new D.MathNode("mpadded",[Re(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}}),K({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:n}=t,i=r[0],a=e[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(t,e){var r=ze(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=T.wrapFragment(r,e);var n=e.fontMetrics(),i=n.defaultRuleThickness,a=i;e.style.id<se.TEXT.id&&(a=e.fontMetrics().xHeight);var s=i+a/4,o=r.height+r.depth+s+i,{span:u,ruleWidth:h,advanceWidth:d}=tr.sqrtImage(o,e),f=u.height-h;f>r.height+r.depth+s&&(s=(s+f-r.height-r.depth)/2);var b=u.height-r.height-s-h;r.style.paddingLeft=H(d);var p=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+b)},{type:"elem",elem:u},{type:"kern",size:h}]},e);if(t.index){var z=e.havingStyle(se.SCRIPTSCRIPT),E=ze(t.index,z,e),I=.6*(p.height-p.depth),A=T.makeVList({positionType:"shift",positionData:-I,children:[{type:"elem",elem:E}]},e),_=T.makeSpan(["root"],[A]);return T.makeSpan(["mord","sqrt"],[_,p],e)}else return T.makeSpan(["mord","sqrt"],[p],e)},mathmlBuilder(t,e){var{body:r,index:n}=t;return n?new D.MathNode("mroot",[Re(r,e),Re(n,e)]):new D.MathNode("msqrt",[Re(r,e)])}});var Ks={display:se.DISPLAY,text:se.TEXT,script:se.SCRIPT,scriptscript:se.SCRIPTSCRIPT};K({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:n,parser:i}=t,a=i.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:s,body:a}},htmlBuilder(t,e){var r=Ks[t.style],n=e.havingStyle(r).withFont("");return Vs(t.body,n,e)},mathmlBuilder(t,e){var r=Ks[t.style],n=e.havingStyle(r),i=pt(t.body,n),a=new D.MathNode("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[t.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var Ah=function(e,r){var n=e.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===se.DISPLAY.size||n.alwaysHandleSupSub);return i?Kr:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===se.DISPLAY.size||n.limits);return a?js:null}else{if(n.type==="accent")return ie.isCharacterBox(n.base)?Wi:null;if(n.type==="horizBrace"){var s=!e.sub;return s===n.isOver?Us:null}else return null}else return null};Br({type:"supsub",htmlBuilder(t,e){var r=Ah(t,e);if(r)return r(t,e);var{base:n,sup:i,sub:a}=t,s=ze(n,e),o,u,h=e.fontMetrics(),d=0,f=0,b=n&&ie.isCharacterBox(n);if(i){var p=e.havingStyle(e.style.sup());o=ze(i,p,e),b||(d=s.height-p.fontMetrics().supDrop*p.sizeMultiplier/e.sizeMultiplier)}if(a){var z=e.havingStyle(e.style.sub());u=ze(a,z,e),b||(f=s.depth+z.fontMetrics().subDrop*z.sizeMultiplier/e.sizeMultiplier)}var E;e.style===se.DISPLAY?E=h.sup1:e.style.cramped?E=h.sup3:E=h.sup2;var I=e.sizeMultiplier,A=H(.5/h.ptPerEm/I),_=null;if(u){var R=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(s instanceof Tt||R)&&(_=H(-s.italic))}var Y;if(o&&u){d=Math.max(d,E,o.depth+.25*h.xHeight),f=Math.max(f,h.sub2);var U=h.defaultRuleThickness,C=4*U;if(d-o.depth-(u.height-f)<C){f=C-(d-o.depth)+u.height;var V=.8*h.xHeight-(d-o.depth);V>0&&(d+=V,f-=V)}var ee=[{type:"elem",elem:u,shift:f,marginRight:A,marginLeft:_},{type:"elem",elem:o,shift:-d,marginRight:A}];Y=T.makeVList({positionType:"individualShift",children:ee},e)}else if(u){f=Math.max(f,h.sub1,u.height-.8*h.xHeight);var j=[{type:"elem",elem:u,marginLeft:_,marginRight:A}];Y=T.makeVList({positionType:"shift",positionData:f,children:j},e)}else if(o)d=Math.max(d,E,o.depth+.25*h.xHeight),Y=T.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:o,marginRight:A}]},e);else throw new Error("supsub must have either sup or sub.");var M=qi(s,"right")||"mord";return T.makeSpan([M],[s,T.makeSpan(["msupsub"],[Y])],e)},mathmlBuilder(t,e){var r=!1,n,i;t.base&&t.base.type==="horizBrace"&&(i=!!t.sup,i===t.base.isOver&&(r=!0,n=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var a=[Re(t.base,e)];t.sub&&a.push(Re(t.sub,e)),t.sup&&a.push(Re(t.sup,e));var s;if(r)s=n?"mover":"munder";else if(t.sub)if(t.sup){var h=t.base;h&&h.type==="op"&&h.limits&&e.style===se.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(e.style===se.DISPLAY||h.limits)?s="munderover":s="msubsup"}else{var u=t.base;u&&u.type==="op"&&u.limits&&(e.style===se.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||e.style===se.DISPLAY)?s="munder":s="msub"}else{var o=t.base;o&&o.type==="op"&&o.limits&&(e.style===se.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||e.style===se.DISPLAY)?s="mover":s="msup"}return new D.MathNode(s,a)}}),Br({type:"atom",htmlBuilder(t,e){return T.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new D.MathNode("mo",[Mt(t.text,t.mode)]);if(t.family==="bin"){var n=Gi(t,e);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var Ys={mi:"italic",mn:"normal",mtext:"normal"};Br({type:"mathord",htmlBuilder(t,e){return T.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new D.MathNode("mi",[Mt(t.text,t.mode,e)]),n=Gi(t,e)||"italic";return n!==Ys[r.type]&&r.setAttribute("mathvariant",n),r}}),Br({type:"textord",htmlBuilder(t,e){return T.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Mt(t.text,t.mode,e),n=Gi(t,e)||"normal",i;return t.mode==="text"?i=new D.MathNode("mtext",[r]):/[0-9]/.test(t.text)?i=new D.MathNode("mn",[r]):t.text==="\\prime"?i=new D.MathNode("mo",[r]):i=new D.MathNode("mi",[r]),n!==Ys[i.type]&&i.setAttribute("mathvariant",n),i}});var oa={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},la={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Br({type:"spacing",htmlBuilder(t,e){if(la.hasOwnProperty(t.text)){var r=la[t.text].className||"";if(t.mode==="text"){var n=T.makeOrd(t,e,"textord");return n.classes.push(r),n}else return T.makeSpan(["mspace",r],[T.mathsym(t.text,t.mode,e)],e)}else{if(oa.hasOwnProperty(t.text))return T.makeSpan(["mspace",oa[t.text]],[],e);throw new L('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(la.hasOwnProperty(t.text))r=new D.MathNode("mtext",[new D.TextNode(" ")]);else{if(oa.hasOwnProperty(t.text))return new D.MathNode("mspace");throw new L('Unknown type of space "'+t.text+'"')}return r}});var Zs=()=>{var t=new D.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Br({type:"tag",mathmlBuilder(t,e){var r=new D.MathNode("mtable",[new D.MathNode("mtr",[Zs(),new D.MathNode("mtd",[fr(t.body,e)]),Zs(),new D.MathNode("mtd",[fr(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var Js={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Qs={"\\textbf":"textbf","\\textmd":"textmd"},Mh={"\\textit":"textit","\\textup":"textup"},eo=(t,e)=>{var r=t.font;if(r){if(Js[r])return e.withTextFontFamily(Js[r]);if(Qs[r])return e.withTextFontWeight(Qs[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(Mh[r])};K({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"text",mode:r.mode,body:Ue(i),font:n}},htmlBuilder(t,e){var r=eo(t,e),n=Xe(t.body,r,!0);return T.makeSpan(["mord","text"],n,r)},mathmlBuilder(t,e){var r=eo(t,e);return fr(t.body,r)}}),K({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=ze(t.body,e),n=T.makeLineSpan("underline-line",e),i=e.fontMetrics().defaultRuleThickness,a=T.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},e);return T.makeSpan(["mord","underline"],[a],e)},mathmlBuilder(t,e){var r=new D.MathNode("mo",[new D.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new D.MathNode("munder",[Re(t.body,e),r]);return n.setAttribute("accentunder","true"),n}}),K({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=ze(t.body,e),n=e.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return T.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new D.MathNode("mpadded",[Re(t.body,e)],["vcenter"])}}),K({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new L("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=to(t),n=[],i=e.havingStyle(e.style.text()),a=0;a<r.length;a++){var s=r[a];s==="~"&&(s="\\textasciitilde"),n.push(T.makeSymbol(s,"Typewriter-Regular",t.mode,i,["mord","texttt"]))}return T.makeSpan(["mord","text"].concat(i.sizingClasses(e)),T.tryCombineChars(n),i)},mathmlBuilder(t,e){var r=new D.TextNode(to(t)),n=new D.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var to=t=>t.body.replace(/ /g,t.star?"␣":" "),br=as,ro=`[ \r
262
+ ]`,Ch="\\\\[a-zA-Z@]+",_h="\\\\[^\uD800-\uDFFF]",Nh="("+Ch+")"+ro+"*",Bh=`\\\\(
260
263
  |[ \r ]+
261
- ?)[ \r ]*`,f0="[̀-ͯ]",kc=new RegExp(f0+"+$"),zc="("+Fi+"+)|"+(xc+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(f0+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(f0+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+wc)+("|"+yc+")");class Pi{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(zc,"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 bt("EOF",new et(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new P("Unexpected character: '"+t[r]+"'",new bt(t[r],new et(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(`
262
- `,this.tokenRegex.lastIndex);return a===-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=a+1,this.lex()}return new bt(i,new et(this,r,this.tokenRegex.lastIndex))}}class Sc{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 P("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 i=0;i<this.undefStack.length;i++)delete this.undefStack[i][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var Ec=pi;b("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),b("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),b("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}}),b("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}}),b("\\@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}}),b("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),b("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var qi={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};b("\\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 P("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=qi[t.text],n==null||n>=r)throw new P("Invalid base-"+r+" digit "+t.text);for(var i;(i=qi[e.future().text])!=null&&i<r;)n*=r,n+=i,e.popToken()}return"\\@char{"+n+"}"});var g0=(e,t,r)=>{var n=e.consumeArg().tokens;if(n.length!==1)throw new P("\\newcommand's first argument must be a macro name");var i=n[0].text,a=e.isDefined(i);if(a&&!t)throw new P("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!r)throw new P("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(n=e.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var o="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)o+=l.text,l=e.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new P("Invalid number of arguments: "+o);s=parseInt(o),n=e.consumeArg().tokens}return e.macros.set(i,{tokens:n,numArgs:s}),""};b("\\newcommand",e=>g0(e,!1,!0)),b("\\renewcommand",e=>g0(e,!0,!1)),b("\\providecommand",e=>g0(e,!0,!0)),b("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""}),b("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""}),b("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),$t[r],Se.math[r],Se.text[r]),""}),b("\\bgroup","{"),b("\\egroup","}"),b("~","\\nobreakspace"),b("\\lq","`"),b("\\rq","'"),b("\\aa","\\r a"),b("\\AA","\\r A"),b("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),b("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),b("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),b("ℬ","\\mathscr{B}"),b("ℰ","\\mathscr{E}"),b("ℱ","\\mathscr{F}"),b("ℋ","\\mathscr{H}"),b("ℐ","\\mathscr{I}"),b("ℒ","\\mathscr{L}"),b("ℳ","\\mathscr{M}"),b("ℛ","\\mathscr{R}"),b("ℭ","\\mathfrak{C}"),b("ℌ","\\mathfrak{H}"),b("ℨ","\\mathfrak{Z}"),b("\\Bbbk","\\Bbb{k}"),b("·","\\cdotp"),b("\\llap","\\mathllap{\\textrm{#1}}"),b("\\rlap","\\mathrlap{\\textrm{#1}}"),b("\\clap","\\mathclap{\\textrm{#1}}"),b("\\mathstrut","\\vphantom{(}"),b("\\underbar","\\underline{\\text{#1}}"),b("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),b("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),b("\\ne","\\neq"),b("≠","\\neq"),b("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),b("∉","\\notin"),b("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),b("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),b("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),b("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),b("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),b("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),b("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),b("⟂","\\perp"),b("‼","\\mathclose{!\\mkern-0.8mu!}"),b("∌","\\notni"),b("⌜","\\ulcorner"),b("⌝","\\urcorner"),b("⌞","\\llcorner"),b("⌟","\\lrcorner"),b("©","\\copyright"),b("®","\\textregistered"),b("️","\\textregistered"),b("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),b("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),b("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),b("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),b("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),b("⋮","\\vdots"),b("\\varGamma","\\mathit{\\Gamma}"),b("\\varDelta","\\mathit{\\Delta}"),b("\\varTheta","\\mathit{\\Theta}"),b("\\varLambda","\\mathit{\\Lambda}"),b("\\varXi","\\mathit{\\Xi}"),b("\\varPi","\\mathit{\\Pi}"),b("\\varSigma","\\mathit{\\Sigma}"),b("\\varUpsilon","\\mathit{\\Upsilon}"),b("\\varPhi","\\mathit{\\Phi}"),b("\\varPsi","\\mathit{\\Psi}"),b("\\varOmega","\\mathit{\\Omega}"),b("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),b("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),b("\\boxed","\\fbox{$\\displaystyle{#1}$}"),b("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),b("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),b("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Hi={",":"\\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"};b("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Hi?t=Hi[r]:(r.slice(0,4)==="\\not"||r in Se.math&&oe.contains(["bin","rel"],Se.math[r].group))&&(t="\\dotsb"),t});var b0={")":!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};b("\\dotso",function(e){var t=e.future().text;return t in b0?"\\ldots\\,":"\\ldots"}),b("\\dotsc",function(e){var t=e.future().text;return t in b0&&t!==","?"\\ldots\\,":"\\ldots"}),b("\\cdots",function(e){var t=e.future().text;return t in b0?"\\@cdots\\,":"\\@cdots"}),b("\\dotsb","\\cdots"),b("\\dotsm","\\cdots"),b("\\dotsi","\\!\\cdots"),b("\\dotsx","\\ldots\\,"),b("\\DOTSI","\\relax"),b("\\DOTSB","\\relax"),b("\\DOTSX","\\relax"),b("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),b("\\,","\\tmspace+{3mu}{.1667em}"),b("\\thinspace","\\,"),b("\\>","\\mskip{4mu}"),b("\\:","\\tmspace+{4mu}{.2222em}"),b("\\medspace","\\:"),b("\\;","\\tmspace+{5mu}{.2777em}"),b("\\thickspace","\\;"),b("\\!","\\tmspace-{3mu}{.1667em}"),b("\\negthinspace","\\!"),b("\\negmedspace","\\tmspace-{4mu}{.2222em}"),b("\\negthickspace","\\tmspace-{5mu}{.277em}"),b("\\enspace","\\kern.5em "),b("\\enskip","\\hskip.5em\\relax"),b("\\quad","\\hskip1em\\relax"),b("\\qquad","\\hskip2em\\relax"),b("\\tag","\\@ifstar\\tag@literal\\tag@paren"),b("\\tag@paren","\\tag@literal{({#1})}"),b("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new P("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),b("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),b("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),b("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),b("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),b("\\newline","\\\\\\relax"),b("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ui=U(yt["Main-Regular"][84][1]-.7*yt["Main-Regular"][65][1]);b("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ui+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),b("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ui+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),b("\\hspace","\\@ifstar\\@hspacer\\@hspace"),b("\\@hspace","\\hskip #1\\relax"),b("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),b("\\ordinarycolon",":"),b("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),b("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),b("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),b("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),b("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),b("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),b("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),b("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),b("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),b("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),b("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),b("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),b("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),b("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),b("∷","\\dblcolon"),b("∹","\\eqcolon"),b("≔","\\coloneqq"),b("≕","\\eqqcolon"),b("⩴","\\Coloneqq"),b("\\ratio","\\vcentcolon"),b("\\coloncolon","\\dblcolon"),b("\\colonequals","\\coloneqq"),b("\\coloncolonequals","\\Coloneqq"),b("\\equalscolon","\\eqqcolon"),b("\\equalscoloncolon","\\Eqqcolon"),b("\\colonminus","\\coloneq"),b("\\coloncolonminus","\\Coloneq"),b("\\minuscolon","\\eqcolon"),b("\\minuscoloncolon","\\Eqcolon"),b("\\coloncolonapprox","\\Colonapprox"),b("\\coloncolonsim","\\Colonsim"),b("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),b("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),b("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),b("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),b("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),b("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),b("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),b("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),b("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),b("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),b("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),b("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),b("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),b("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),b("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),b("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),b("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),b("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),b("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),b("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),b("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),b("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),b("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),b("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),b("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),b("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),b("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),b("\\imath","\\html@mathml{\\@imath}{ı}"),b("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),b("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),b("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),b("⟦","\\llbracket"),b("⟧","\\rrbracket"),b("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),b("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),b("⦃","\\lBrace"),b("⦄","\\rBrace"),b("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),b("⦵","\\minuso"),b("\\darr","\\downarrow"),b("\\dArr","\\Downarrow"),b("\\Darr","\\Downarrow"),b("\\lang","\\langle"),b("\\rang","\\rangle"),b("\\uarr","\\uparrow"),b("\\uArr","\\Uparrow"),b("\\Uarr","\\Uparrow"),b("\\N","\\mathbb{N}"),b("\\R","\\mathbb{R}"),b("\\Z","\\mathbb{Z}"),b("\\alef","\\aleph"),b("\\alefsym","\\aleph"),b("\\Alpha","\\mathrm{A}"),b("\\Beta","\\mathrm{B}"),b("\\bull","\\bullet"),b("\\Chi","\\mathrm{X}"),b("\\clubs","\\clubsuit"),b("\\cnums","\\mathbb{C}"),b("\\Complex","\\mathbb{C}"),b("\\Dagger","\\ddagger"),b("\\diamonds","\\diamondsuit"),b("\\empty","\\emptyset"),b("\\Epsilon","\\mathrm{E}"),b("\\Eta","\\mathrm{H}"),b("\\exist","\\exists"),b("\\harr","\\leftrightarrow"),b("\\hArr","\\Leftrightarrow"),b("\\Harr","\\Leftrightarrow"),b("\\hearts","\\heartsuit"),b("\\image","\\Im"),b("\\infin","\\infty"),b("\\Iota","\\mathrm{I}"),b("\\isin","\\in"),b("\\Kappa","\\mathrm{K}"),b("\\larr","\\leftarrow"),b("\\lArr","\\Leftarrow"),b("\\Larr","\\Leftarrow"),b("\\lrarr","\\leftrightarrow"),b("\\lrArr","\\Leftrightarrow"),b("\\Lrarr","\\Leftrightarrow"),b("\\Mu","\\mathrm{M}"),b("\\natnums","\\mathbb{N}"),b("\\Nu","\\mathrm{N}"),b("\\Omicron","\\mathrm{O}"),b("\\plusmn","\\pm"),b("\\rarr","\\rightarrow"),b("\\rArr","\\Rightarrow"),b("\\Rarr","\\Rightarrow"),b("\\real","\\Re"),b("\\reals","\\mathbb{R}"),b("\\Reals","\\mathbb{R}"),b("\\Rho","\\mathrm{P}"),b("\\sdot","\\cdot"),b("\\sect","\\S"),b("\\spades","\\spadesuit"),b("\\sub","\\subset"),b("\\sube","\\subseteq"),b("\\supe","\\supseteq"),b("\\Tau","\\mathrm{T}"),b("\\thetasym","\\vartheta"),b("\\weierp","\\wp"),b("\\Zeta","\\mathrm{Z}"),b("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),b("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),b("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),b("\\bra","\\mathinner{\\langle{#1}|}"),b("\\ket","\\mathinner{|{#1}\\rangle}"),b("\\braket","\\mathinner{\\langle{#1}\\rangle}"),b("\\Bra","\\left\\langle#1\\right|"),b("\\Ket","\\left|#1\\right\\rangle");var Gi=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var l=p=>g=>{e&&(g.macros.set("|",s),i.length&&g.macros.set("\\|",o));var m=p;if(!p&&i.length){var z=g.future();z.text==="|"&&(g.popToken(),m=!0)}return{tokens:m?i:n,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,d=t.expandTokens([...a,...h,...r]);return t.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};b("\\bra@ket",Gi(!1)),b("\\bra@set",Gi(!0)),b("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),b("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),b("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),b("\\angln","{\\angl n}"),b("\\blue","\\textcolor{##6495ed}{#1}"),b("\\orange","\\textcolor{##ffa500}{#1}"),b("\\pink","\\textcolor{##ff00af}{#1}"),b("\\red","\\textcolor{##df0030}{#1}"),b("\\green","\\textcolor{##28ae7b}{#1}"),b("\\gray","\\textcolor{gray}{#1}"),b("\\purple","\\textcolor{##9d38bd}{#1}"),b("\\blueA","\\textcolor{##ccfaff}{#1}"),b("\\blueB","\\textcolor{##80f6ff}{#1}"),b("\\blueC","\\textcolor{##63d9ea}{#1}"),b("\\blueD","\\textcolor{##11accd}{#1}"),b("\\blueE","\\textcolor{##0c7f99}{#1}"),b("\\tealA","\\textcolor{##94fff5}{#1}"),b("\\tealB","\\textcolor{##26edd5}{#1}"),b("\\tealC","\\textcolor{##01d1c1}{#1}"),b("\\tealD","\\textcolor{##01a995}{#1}"),b("\\tealE","\\textcolor{##208170}{#1}"),b("\\greenA","\\textcolor{##b6ffb0}{#1}"),b("\\greenB","\\textcolor{##8af281}{#1}"),b("\\greenC","\\textcolor{##74cf70}{#1}"),b("\\greenD","\\textcolor{##1fab54}{#1}"),b("\\greenE","\\textcolor{##0d923f}{#1}"),b("\\goldA","\\textcolor{##ffd0a9}{#1}"),b("\\goldB","\\textcolor{##ffbb71}{#1}"),b("\\goldC","\\textcolor{##ff9c39}{#1}"),b("\\goldD","\\textcolor{##e07d10}{#1}"),b("\\goldE","\\textcolor{##a75a05}{#1}"),b("\\redA","\\textcolor{##fca9a9}{#1}"),b("\\redB","\\textcolor{##ff8482}{#1}"),b("\\redC","\\textcolor{##f9685d}{#1}"),b("\\redD","\\textcolor{##e84d39}{#1}"),b("\\redE","\\textcolor{##bc2612}{#1}"),b("\\maroonA","\\textcolor{##ffbde0}{#1}"),b("\\maroonB","\\textcolor{##ff92c6}{#1}"),b("\\maroonC","\\textcolor{##ed5fa6}{#1}"),b("\\maroonD","\\textcolor{##ca337c}{#1}"),b("\\maroonE","\\textcolor{##9e034e}{#1}"),b("\\purpleA","\\textcolor{##ddd7ff}{#1}"),b("\\purpleB","\\textcolor{##c6b9fc}{#1}"),b("\\purpleC","\\textcolor{##aa87ff}{#1}"),b("\\purpleD","\\textcolor{##7854ab}{#1}"),b("\\purpleE","\\textcolor{##543b78}{#1}"),b("\\mintA","\\textcolor{##f5f9e8}{#1}"),b("\\mintB","\\textcolor{##edf2df}{#1}"),b("\\mintC","\\textcolor{##e0e5cc}{#1}"),b("\\grayA","\\textcolor{##f6f7f7}{#1}"),b("\\grayB","\\textcolor{##f0f1f2}{#1}"),b("\\grayC","\\textcolor{##e3e5e6}{#1}"),b("\\grayD","\\textcolor{##d6d8da}{#1}"),b("\\grayE","\\textcolor{##babec2}{#1}"),b("\\grayF","\\textcolor{##888d93}{#1}"),b("\\grayG","\\textcolor{##626569}{#1}"),b("\\grayH","\\textcolor{##3b3e40}{#1}"),b("\\grayI","\\textcolor{##21242c}{#1}"),b("\\kaBlue","\\textcolor{##314453}{#1}"),b("\\kaGreen","\\textcolor{##71B307}{#1}");var ji={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Ac{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 Sc(Ec,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new Pi(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,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new bt("EOF",n.loc)),this.pushTokens(i),r.range(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 i=this.future(),a,s=0,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++s;else if(a.text==="}"){if(--s,s===-1)throw new P("Extra }",a)}else if(a.text==="EOF")throw new P("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",a);if(t&&n)if((s===0||s===1&&t[o]==="{")&&a.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(s!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new P("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;i<n.length;i++){var a=this.popToken();if(n[i]!==a.text)throw new P("Use of the macro doesn't match its definition",a)}}for(var s=[],o=0;o<t;o++)s.push(this.consumeArg(r&&r[o+1]).tokens);return s}expandOnce(t){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||t&&i.unexpandable){if(t&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new P("Undefined control sequence: "+n);return this.pushToken(r),!1}if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new P("Too many expansions: infinite loop or need to increase maxExpand setting");var a=i.tokens,s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var l=a[o];if(l.text==="#"){if(o===0)throw new P("Incomplete placeholder at end of macro body",l);if(l=a[--o],l.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(l.text))a.splice(o,2,...s[+l.text-1]);else throw new P("Not a valid argument number",l)}}}return this.pushTokens(a),a.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 bt(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 i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return 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 i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var s=i.replace(/##/g,"");s.indexOf("#"+(a+1))!==-1;)++a;for(var o=new Pi(i,this.settings),l=[],h=o.lex();h.text!=="EOF";)l.push(h),h=o.lex();l.reverse();var d={tokens:l,numArgs:a};return d}return i}isDefined(t){return this.macros.has(t)||$t.hasOwnProperty(t)||Se.math.hasOwnProperty(t)||Se.text.hasOwnProperty(t)||ji.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:$t.hasOwnProperty(t)&&!$t[t].primitive}}var $i=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,un=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),v0={"́":{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"}},Vi={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Cr{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 Ac(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 P("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 bt("}")),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 i=this.fetch();if(Cr.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||t&&$t[i.text]&&$t[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,i=0;i<t.length;i++)if(t[i].type==="infix"){if(r!==-1)throw new P("only one infix operator per group",t[i].token);r=i,n=t[i].replaceWith}if(r!==-1&&n){var a,s,o=t.slice(0,r),l=t.slice(r+1);o.length===1&&o[0].type==="ordgroup"?a=o[0]:a={type:"ordgroup",mode:this.mode,body:o},l.length===1&&l[0].type==="ordgroup"?s=l[0]:s={type:"ordgroup",mode:this.mode,body:l};var h;return n==="\\\\abovefrac"?h=this.callFunction(n,[a,t[r],s],[]):h=this.callFunction(n,[a,s],[]),[h]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var i=this.parseGroup(t);if(!i)throw new P("Expected group after '"+n+"'",r);return i}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var i={type:"text",mode:this.mode,body:r},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(t){var r=this.parseGroup("atom",t);if(this.mode==="text")return r;for(var n,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(r&&r.type==="op"){var s=a.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=a.text==="\\limits");else throw new P("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(n)throw new P("Double superscript",a);n=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new P("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(n)throw new P("Double superscript",a);var o={type:"textord",mode:this.mode,text:"\\prime"},l=[o];for(this.consume();this.fetch().text==="'";)l.push(o),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:l}}else if(un[a.text]){var h=un[a.text],d=$i.test(a.text);for(this.consume();;){var p=this.fetch().text;if(!un[p]||$i.test(p)!==d)break;this.consume(),h+=un[p]}var g=new Cr(h,this.settings).parse();d?i={type:"ordgroup",mode:"math",body:g}:n={type:"ordgroup",mode:"math",body:g}}else break}return n||i?{type:"supsub",mode:this.mode,base:r,sup:n,sub:i}:r}parseFunction(t,r){var n=this.fetch(),i=n.text,a=$t[i];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new P("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!a.allowedInText)throw new P("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&a.allowedInMath===!1)throw new P("Can't use function '"+i+"' in math mode",n);var{args:s,optArgs:o}=this.parseArguments(i,a);return this.callFunction(i,s,o,n,t)}callFunction(t,r,n,i,a){var s={funcName:t,parser:this,token:i,breakOnTokenText:a},o=$t[t];if(o&&o.handler)return o.handler(s,r,n);throw new P("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var i=[],a=[],s=0;s<n;s++){var o=r.argTypes&&r.argTypes[s],l=s<r.numOptionalArgs;(r.primitive&&o==null||r.type==="sqrt"&&s===1&&a[0]==null)&&(o="primitive");var h=this.parseGroupOfType("argument to '"+t+"'",o,l);if(l)a.push(h);else if(h!=null)i.push(h);else throw new P("Null argument, please report this as a bug")}return{args:i,optArgs:a}}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 i=this.parseArgumentGroup(n,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",n);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(n)throw new P("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new P("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new P("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 i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(t,r){for(var n=this.fetch(),i=n,a="",s;(s=this.fetch()).text!=="EOF"&&t.test(a+s.text);)i=s,a+=i.text,this.consume();if(a==="")throw new P("Invalid "+r+": '"+n.text+"'",n);return n.range(i,a)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new P("Invalid color: '"+r.text+"'",r);var i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}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 i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!i)throw new P("Invalid size: '"+r.text+"'",r);var a={number:+(i[1]+i[2]),unit:i[3]};if(!Aa(a))throw new P("Invalid unit: '"+a.unit+"'",r);return{type:"size",mode:this.mode,value:a,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 i=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:a};return r&&this.switchMode(i),s}parseGroup(t,r){var n=this.fetch(),i=n.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var s=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,s),l=this.fetch();this.expect(s),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:et.range(n,l),body:o,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,t)||this.parseSymbol(),a==null&&i[0]==="\\"&&!ji.hasOwnProperty(i)){if(this.settings.throwOnError)throw new P("Undefined control sequence: "+i,n);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var i=t[n],a=i.text;a==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:et.range(i,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:et.range(i,t[n+1]),text:"--"}),r-=1)),(a==="'"||a==="`")&&t[n+1].text===a&&(t.splice(n,2,{type:"textord",mode:"text",loc:et.range(i,t[n+1]),text:a+a}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),i=n.charAt(0)==="*";if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new P(`\\verb assertion failed --
263
- please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}Vi.hasOwnProperty(r[0])&&!Se[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=Vi[r[0]]+r.slice(1));var a=kc.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(Se[this.mode][r]){this.settings.strict&&this.mode==="math"&&Gn.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=Se[this.mode][r].group,l=et.range(t),h;if(p1.hasOwnProperty(o)){var d=o;h={type:"atom",mode:this.mode,family:d,loc:l,text:r}}else h={type:o,mode:this.mode,loc:l,text:r};s=h}else if(r.charCodeAt(0)>=128)this.settings.strict&&(xa(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)),s={type:"textord",mode:"text",loc:et.range(t),text:r};else return null;if(this.consume(),a)for(var p=0;p<a[0].length;p++){var g=a[0][p];if(!v0[g])throw new P("Unknown accent ' "+g+"'",t);var m=v0[g][this.mode]||v0[g].text;if(!m)throw new P("Accent "+g+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:et.range(t),label:m,isStretchy:!1,isShifty:!0,base:s}}return s}}Cr.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var y0=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Cr(t,r);delete n.gullet.macros.current["\\df@tag"];var i=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 P("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new bt("\\df@tag")])}]}return i},Wi=function(t,r,n){r.textContent="";var i=w0(t,n).toNode();r.appendChild(i)};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."),Wi=function(){throw new P("KaTeX doesn't work in quirks mode.")});var Tc=function(t,r){var n=w0(t,r).toMarkup();return n},Mc=function(t,r){var n=new Bn(r);return y0(t,n)},Xi=function(t,r,n){if(n.throwOnError||!(t instanceof P))throw t;var i=E.makeSpan(["katex-error"],[new st(r)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+n.errorColor),i},w0=function(t,r){var n=new Bn(r);try{var i=y0(t,n);return L1(i,t,n)}catch(a){return Xi(a,t,n)}},Cc=function(t,r){var n=new Bn(r);try{var i=y0(t,n);return F1(i,t,n)}catch(a){return Xi(a,t,n)}},Nc={version:"0.16.9",render:Wi,renderToString:Tc,ParseError:P,SETTINGS_SCHEMA:Hr,__parse:Mc,__renderToDomTree:w0,__renderToHTMLTree:Cc,__setFontMetrics:o1,__defineSymbol:u,__defineFunction:Y,__defineMacro:b,__domTree:{Span:zr,Anchor:Fn,SymbolNode:st,SvgNode:Tt,PathNode:Ht,LineNode:Pn}};const _c=Object.freeze(Object.defineProperty({__proto__:null,default:Nc},Symbol.toStringTag,{value:"Module"}));function Bc(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function e(l){const h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},l)}function t(){this.buffer()}function r(){const l=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(l){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=h;const p=d.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function a(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function s(l){const h=this.resume(),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=h,d.data.hChildren.push({type:"text",value:h})}function o(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function Rc(e){const t=/(```[\s\S]+?```|~~~[\s\S]+?~~~)/g,r=e.split(t),n=/\\\((.*?)\\\)/g,i=/\\\[([\s\S]*?)\\\]/g;for(let a=0;a<r.length;a++)a%2===0&&(r[a]=r[a].replace(n,(s,o)=>`$${o}$`).replace(i,(s,o)=>`$$${o}$$`));return r.join("")}function Nr(e,t,r,n){const i=lu(Rc(t),{extensions:[pu(),Bu()],mdastExtensions:[bu(),Bc(),...n]}),a={},s={};Ki(i,a,s),x0(i,e,a,s,r)}function Ki(e,t,r){for(const n of e.children){switch(n.type){case"definition":const i=n.identifier;i&&(t[i]=n,r[i.toLowerCase()]=n);continue}n.children&&Ki(n,t,r)}}function x0(e,t,r,n,i){var s;let a=t.firstChild;for(const o of e.children){let l;switch(o.type){case"inlineMath":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN"&&cn.has(a))){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("span"),t.appendChild(a)}Yi(a,o.value),a=a.nextSibling;continue}case"math":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="DIV"&&cn.has(a))){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("div"),t.appendChild(a)}Yi(a,o.value),a=a.nextSibling;continue}case"code":{let m=Zi.get(a);if(m)m.updateCode(o.lang,o.value);else{for(;a;){const z=a.nextSibling;a.remove(),a=z}m=new ba(o.lang,o.value),a=m.node,Zi.set(a,m),t.appendChild(a)}a=a.nextSibling;continue}case"html":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("span"),t.appendChild(a)}a.innerHTML=o.value,a=a.nextSibling;continue;case"inlineCode":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="CODE")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("code"),t.appendChild(a)}a.textContent=o.value,a=a.nextSibling;continue;case"text":let h=o.value,d;for(;_r.has(a);){d=a;const m=_r.get(a);if(h.startsWith(m))h=h.substring(m.length),a=a.nextSibling;else break}if(!h)continue;for(;a;){const m=a.nextSibling;a.remove(),a=m}if(d&&!h.trim()){const m=_r.get(d)+h;d.textContent=m,_r.set(d,m);continue}const p=document.createElement("span");p.textContent=h,_r.set(p,h),t.appendChild(p);continue;case"yaml":continue;case"break":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="BR")){for(;a;){const m=a.nextSibling;a.remove(),a=m}t.appendChild(a=document.createElement("br"))}a=a.nextSibling;continue;case"thematicBreak":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="HR")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("hr"),t.appendChild(a)}a=a.nextSibling;continue;case"image":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="IMG")){for(;a;){const z=a.nextSibling;a.remove(),a=z}a=document.createElement("img"),t.appendChild(a)}const m=o.url;if(m)if(m.startsWith("python://")){const z=m.substring(9);a.src=Eu(i,z)}else a.src=m;else a.src="";a.alt=o.alt||"",a.title=o.title||"",a=a.nextSibling;continue}case"linkReference":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="A")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("a"),t.appendChild(a)}x0(o,a,r,n,i);let g;switch(o.referenceType){case"shortcut":g=r[a.textContent.toLowerCase()];break;case"collapsed":g=n[a.textContent.toLowerCase()]||r[a.textContent.toLowerCase()];break;case"full":g=n[(s=o.identifier)==null?void 0:s.toLowerCase()];break}a.href=(g==null?void 0:g.url)||"",a.target="_blank",a.title=(g==null?void 0:g.title)||"",a=a.nextSibling;continue;case"definition":continue;case"footnoteDefinition":case"footnoteReference":case"imageReference":continue;case"blockquote":l="BLOCKQUOTE";break;case"delete":l="DEL";break;case"emphasis":l="EM";break;case"heading":l="H"+o.depth;break;case"link":l="A";break;case"list":l=o.ordered?"OL":"UL";break;case"listItem":l="LI";break;case"paragraph":l="P";break;case"strong":l="STRONG";break;case"table":l="TABLE";break;case"tableCell":l="TD";break;case"tableRow":l="TR";break;default:console.warn("Unknown MDAST node type: "+o.type);continue}if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName===l)){for(;a;){const h=a.nextSibling;a.remove(),a=h}a=document.createElement(l),t.appendChild(a)}l==="A"&&(a.href=o.url||"",a.target="_blank",a.title=o.title||""),x0(o,a,r,n,i),a=a.nextSibling}for(;a;){const o=a.nextSibling;a.remove(),a=o}}let k0;function Oc(){return k0||(k0=Promise.resolve().then(()=>_c)),k0}async function Yi(e,t){let r=cn.get(e);r==null||r.cancel(),cn.set(e,r=new wr),(async()=>{const n=await Oc();r.isCancellationRequested||n.default.render(t,e,{throwOnError:!1})})()}const cn=new WeakMap,Zi=new WeakMap,_r=new WeakMap;function Ic(e){const t=[...Dc(e)];if(t.length){const n=t[t.length-1];n===","?t.pop():n===":"&&t.push("undefined")}const r=[];for(const n of t)if(n==="{"||n==="[")r.push(n);else if(n==="}")if(r.length&&r[r.length-1]==="{")r.pop();else throw new Error("Invalid JSON");else if(n==="]")if(r.length&&r[r.length-1]==="[")r.pop();else throw new Error("Invalid JSON");for(;r.length;)r.pop()==="{"?t.push("}"):t.push("]");return JSON.parse(t.join(""))}function*Dc(e){for(let t=0;t<e.length;++t){let r=e[t];switch(r){case" ":case" ":case`
264
- `:case"\r":break;case",":case":":case"{":case"}":case"[":case"]":yield r;break;case'"':let n=t++;for(;;++t)if(t<e.length){if(r=e[t],r==='"'){yield e.substring(n,t+1);break}if(r==="\\")if(t+1<e.length)if(e[t+1]==="u")if(t+5<e.length)t+=5;else{yield e.substring(n,t)+'"';return}else++t;else{yield e.substring(n,t)+'"';return}}else{yield e.substring(n,t)+'"';return}break;default:yield r;break}}}function Lc(e){const t=[];let r=0;for(;r<e.length;)if(e[r]==="\\"&&r+1<e.length){switch(e[r+1]){case"n":t.push(`
265
- `);break;case"t":t.push(" ");break;case"r":t.push("\r");break;case"\\":t.push("\\");break;case"'":t.push("'");break;case'"':t.push('"');break;case"b":t.push("\b");break;case"f":t.push("\f");break;case"v":t.push("\v");break;case"a":t.push("a");break;case"0":t.push("\0");break;case"u":r+5<e.length&&(t.push(String.fromCharCode(parseInt(e.substring(r+2,r+6),16))),r+=4);break;case"U":r+9<e.length&&(t.push(String.fromCodePoint(parseInt(e.substring(r+2,r+10),16))),r+=8);break;default:t.push(e[r+1]);break}r+=2}else t.push(e[r]),r++;return t.join("")}class Fc{constructor(t){K(this,"node");K(this,"preliminaryToolCallsByIndex",{});K(this,"toolCallsByIndex",{});this.chat=t,this.node=q("div",{class:"flex flex-col gap-1 items-start"})}getToolCall(t,r,n,i){let a=this.toolCallsByIndex[t];if(!a){let s=this.preliminaryToolCallsByIndex[t];return s||(this.preliminaryToolCallsByIndex[t]=s={id:void 0,name:void 0,args:""}),r&&(s.id=r),n&&(s.name=n),i&&(s.args+=i),s.name?(a=new Rt(this.chat,t,s.name,s.args),this.node.appendChild((this.toolCallsByIndex[t]=a).node),a.functionId=s.id,a.appendArguments(s.args),a):null}return r&&(a.functionId=r),i&&a.appendArguments(i),a}}var mr=(e=>(e.Medium="avatar-md",e.Large="avatar-lg",e.ExtraLarge="avatar-xl",e.ExtraExtraLarge="avatar-xxl",e))(mr||{});function z0({as:e="div",size:t="avatar-lg",id:r,...n},i){const a=q(e,{...n},i);return e==="button"&&!("type"in n)&&(a.type="button"),a.classList.add("avatar"),t&&a.classList.add(t),r&&a.classList.add(...Pc(r)),a}const Ji=[["bg-Land-Green-95","text-Land-Green-30"],["bg-Sunflower-85","text-Sunflower-20"],["bg-Energy-Red-95","text-Energy-Red-45"],["bg-Sea-Blue-Main-28","text-Sky-Blue-95"],["bg-Lavender-90","text-Lavender-50"],["bg-Eucalyptus-85","text-Eucalyptus-20"],["bg-Terracotta-85","text-Terracotta-20"]];function Pc(e){const t=qc(e);return Ji[Math.floor(Math.abs(t%Ji.length))]}function qc(e){let t=0;for(let r=0;r<e.length;r++)t=e.charCodeAt(r)+((t<<5)-t);return t}function Be(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Hc({size:e="48",...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 48 48"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);let n=Be("path");return n.setAttribute("d","M33.4942 11.8621H39.9088L27.3731 36.1775H20.9585L33.4942 11.8621Z"),r.appendChild(n),n=Be("path"),n.setAttribute("d","M22.4844 27.0056L19.3817 33.1261L8.0625 11.9116H14.3083L22.4844 27.0056Z"),r.appendChild(n),r.classList.add("icon"),r}function Uc(e){const t=q(z0,e,q(Hc,{size:"100%",class:"relative top-[3%] shrink-0"}));return t.classList.add("bg-Dark-Blue-Main-18","text-White"),t}class Qi{constructor(t,r,n,i,a){K(this,"node");K(this,"nameNode");K(this,"contentNode");K(this,"_currentMarkdown");K(this,"_currentMarkdownNode");K(this,"_latestMarkdown");K(this,"_currentToolCallGroup");this.chat=t,this.size=a,this.node=q(xn,null,Gc(r,n,i,a),this.contentNode=q("div",{class:"flex flex-col gap-3"},this.nameNode=q("div",{class:"font-demiBold sr-only"},r))),a===0&&this.nameNode.classList.add("text-[.875rem]")}toDto(){return{role:"assistant",content:this._latestMarkdown}}appendAgentMarkdownMessage(t){this._currentMarkdownNode||(this.reset(),this.contentNode.appendChild(this._currentMarkdownNode=q("div",{class:"mt-1.5 prose prose-neutral max-w-none"})),this.size===0&&this._currentMarkdownNode.classList.add("prose-sm")),this._currentMarkdown?this._currentMarkdown+=t:this._currentMarkdown=t,this._latestMarkdown=this._currentMarkdown,Nr(this._currentMarkdownNode,this._currentMarkdown,this.chat.pyodide,this.chat.mdastExtensions)}getOrAppendToolCallGroup(){return this._currentToolCallGroup||(this.reset(),this.contentNode.appendChild((this._currentToolCallGroup=new Fc(this.chat)).node)),this._currentToolCallGroup}reset(){this._currentMarkdown=null,this._currentMarkdownNode=null,this._currentToolCallGroup=null}done(){this.reset()}}var S0=(e=>(e[e.Small=0]="Small",e[e.Medium=1]="Medium",e))(S0||{});function Gc(e,t,r,n){return n===0?mr.Medium:mr.Large,r?q(z0,{class:"mt-1",size:mr.Medium},q("img",{src:r,class:"w-full h-full"})):q(Uc,{class:"mt-1",size:mr.Medium})}var Ue=(e=>(e.ExtraSmall="16",e.Small="20",e.Medium="24",e.Large="28",e.ExtraLarge="32",e.ExtraExtraLarge="40",e))(Ue||{});function jc({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M443.5 248.5l-7.1-7.1c-4.7-4.7-12.3-4.7-17 0L241 419.9V44c0-6.6-5.4-12-12-12h-10c-6.6 0-12 5.4-12 12v375.9L28.5 241.4c-4.7-4.7-12.3-4.7-17 0l-7.1 7.1c-4.7 4.7-4.7 12.3 0 17l211 211.1c4.7 4.7 12.3 4.7 17 0l211-211.1c4.8-4.8 4.8-12.3.1-17z"),r.appendChild(n),r.classList.add("icon"),r}function es({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M413.505 91.951L133.49 371.966l-98.995-98.995c-4.686-4.686-12.284-4.686-16.971 0L6.211 284.284c-4.686 4.686-4.686 12.284 0 16.971l118.794 118.794c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.686-4.686-12.284-4.686-16.97 0z"),r.appendChild(n),r.classList.add("icon"),r}var E0=(e=>(e.ExtraSmall="20",e.Small="24",e.Medium="32",e.Large="40",e.ExtraLarge="48",e.ExtraExtraLarge="60",e.ExtraExtraExtraLarge="80",e.ExtraExtraExtraExtraLarge="120",e))(E0||{});function ts({size:e="80",...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 80 80"),r.setAttribute("fill","none"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t),r.setAttribute("class",(r.getAttribute("class")??"")+" animate-spin");const n=Be("path");n.setAttribute("d","M40 6.15385C21.3073 6.15385 6.15385 21.3073 6.15385 40C6.15385 58.6927 21.3073 73.8462 40 73.8462C58.6927 73.8462 73.8462 58.6927 73.8462 40C73.8462 21.3073 58.6927 6.15385 40 6.15385ZM0 40C0 17.9086 17.9086 0 40 0C62.0914 0 80 17.9086 80 40C80 62.0914 62.0914 80 40 80C17.9086 80 0 62.0914 0 40Z"),n.setAttribute("fill","#99BEFF"),r.appendChild(n);const i=Be("path");return i.setAttribute("d","M36.9229 3.07692C36.9229 1.37759 38.3004 0 39.9998 0C45.2526 0 50.4541 1.03463 55.3071 3.04482C60.1601 5.05501 64.5697 8.00138 68.284 11.7157C71.9984 15.4301 74.9448 19.8396 76.955 24.6927C78.9651 29.5457 79.9998 34.7471 79.9998 40C79.9998 41.6993 78.6222 43.0769 76.9228 43.0769C75.2235 43.0769 73.8459 41.6993 73.8459 40C73.8459 35.5553 72.9705 31.154 71.2695 27.0476C69.5686 22.9412 67.0755 19.2101 63.9326 16.0672C60.7897 12.9242 57.0585 10.4312 52.9521 8.73023C48.8457 7.0293 44.4445 6.15385 39.9998 6.15385C38.3004 6.15385 36.9229 4.77626 36.9229 3.07692Z"),i.setAttribute("fill","#003591"),r.appendChild(i),r}function rs({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 464c-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216 0 118.7-96.1 216-216 216zm94.8-285.3L281.5 256l69.3 69.3c4.7 4.7 4.7 12.3 0 17l-8.5 8.5c-4.7 4.7-12.3 4.7-17 0L256 281.5l-69.3 69.3c-4.7 4.7-12.3 4.7-17 0l-8.5-8.5c-4.7-4.7-4.7-12.3 0-17l69.3-69.3-69.3-69.3c-4.7-4.7-4.7-12.3 0-17l8.5-8.5c4.7-4.7 12.3-4.7 17 0l69.3 69.3 69.3-69.3c4.7-4.7 12.3-4.7 17 0l8.5 8.5c4.6 4.7 4.6 12.3 0 17z"),r.appendChild(n),r.classList.add("icon"),r}function ns({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-36 344h12V232h-12c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h48c6.627 0 12 5.373 12 12v140h12c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12h-72c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12zm36-240c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z"),r.appendChild(n),r.classList.add("icon"),r}function $c({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 32 32"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M14.75 21.75C15.0833 21.4167 15.5 21.25 16 21.25C16.5 21.25 16.9167 21.4167 17.25 21.75C17.5833 22.0833 17.75 22.5 17.75 23C17.75 23.5 17.5833 23.9167 17.25 24.25C16.9167 24.5833 16.5 24.75 16 24.75C15.5 24.75 15.0833 24.5833 14.75 24.25C14.4167 23.9167 14.25 23.5 14.25 23C14.25 22.5 14.4167 22.0833 14.75 21.75ZM16.5 19.75H15.5C15.2917 19.75 15.1042 19.6875 14.9375 19.5625C14.8125 19.3958 14.75 19.2083 14.75 19C14.75 18 15 17.1667 15.5 16.5C16 15.7917 16.5417 15.2917 17.125 15C17.75 14.7083 18.3125 14.3333 18.8125 13.875C19.3125 13.4167 19.5625 12.875 19.5625 12.25C19.5625 11.8333 19.4375 11.4375 19.1875 11.0625C18.9375 10.6875 18.5417 10.375 18 10.125C17.4583 9.875 16.7917 9.75 16 9.75C14.4583 9.75 13.2083 10.3542 12.25 11.5625C12 11.9375 11.6667 11.9792 11.25 11.6875L10.4375 11.125C10.0208 10.8333 9.95833 10.4792 10.25 10.0625C11.7083 8.1875 13.625 7.25 16 7.25C17.7083 7.25 19.1458 7.70833 20.3125 8.625C21.4792 9.54167 22.0625 10.75 22.0625 12.25C22.0625 13.2083 21.8125 14.0417 21.3125 14.75C20.8125 15.4167 20.25 15.8958 19.625 16.1875C19.0417 16.4792 18.5 16.875 18 17.375C17.5 17.8333 17.25 18.375 17.25 19C17.25 19.2083 17.1667 19.3958 17 19.5625C16.875 19.6875 16.7083 19.75 16.5 19.75ZM16 2.5C12.25 2.5 9.0625 3.83333 6.4375 6.5C3.8125 9.125 2.5 12.2917 2.5 16C2.5 19.75 3.8125 22.9375 6.4375 25.5625C9.10417 28.1875 12.2917 29.5 16 29.5C19.75 29.5 22.9375 28.1875 25.5625 25.5625C28.1875 22.8958 29.5 19.7083 29.5 16C29.5 12.25 28.1667 9.0625 25.5 6.4375C22.875 3.8125 19.7083 2.5 16 2.5ZM5 5.0625C8.04167 2.02083 11.7083 0.5 16 0.5C20.2917 0.5 23.9375 2.02083 26.9375 5.0625C29.9792 8.0625 31.5 11.7083 31.5 16C31.5 20.2917 29.9792 23.9583 26.9375 27C23.9375 30 20.2917 31.5 16 31.5C11.7083 31.5 8.04167 30 5 27C2 23.9583 0.5 20.2917 0.5 16C0.5 11.7083 2 8.0625 5 5.0625Z"),r.appendChild(n),r.classList.add("icon"),r}class Vc{constructor(t,r){K(this,"node");K(this,"_icon");K(this,"_iconNode");K(this,"_markdown");K(this,"_markdownNode");this._icon=t,this._markdown=r,this.node=q(xn,null,this._iconNode=as(t),this._markdownNode=q("span",null)),Nr(this._markdownNode,this._markdown,null,[])}get icon(){return this._icon}set icon(t){t!==this._icon&&(this._iconNode.replaceWith(this._iconNode=as(t)),this._icon=t)}get markdown(){return this._markdown}set markdown(t){t!==this._markdown&&(Nr(this._markdownNode,this._markdown=t,null,[]),this._markdown=t)}status(t,r,n){this.icon=r,this.markdown=n}}function as(e){switch(e){case ut.Progress:return q(ts,{size:E0.Small,class:"mx-auto"});case ut.Complete:return q(es,{size:Ue.Medium,class:"text-Land-Green-30 mx-auto"});case ut.Info:return q(ns,{size:Ue.Medium,class:"text-Sea-Blue-Main-28 mx-auto"});case ut.Warning:return q(ns,{size:Ue.Medium,class:"text-Terracotta-Main-35 mx-auto"});case ut.Error:return q(rs,{size:Ue.Medium,class:"text-Energy-Red-45 mx-auto"})}return e!=null&&e.startsWith("https://")?q("img",{src:e,alt:"",class:"w-6 h-6 mx-auto"}):(e&&e!==ut.Undetermined&&console.warn(`Unknown task item icon '${e}'. Defaulting to undetermined.`),q($c,{size:Ue.Medium,class:"text-Sandstone-Main-79 mx-auto"}))}class Rt{constructor(t,r,n,i,a=!0){K(this,"node");K(this,"functionId");K(this,"_titleNode");K(this,"_titleStatusIconNode");K(this,"_titleTextNode");K(this,"_bodyWrapperNode");K(this,"_bodyNode");K(this,"_taskItemsById",{});K(this,"_expanded");K(this,"_highlightCode");K(this,"_pythonStdouterrContainerNode");K(this,"_pythonStdouterrNode");K(this,"_agentName");K(this,"_agentBackgroundColor");K(this,"_agentIcon");K(this,"_gridLayoutNode");K(this,"_agentMessage");if(this.chat=t,this.functionIndex=r,this.functionName=n,this.functionAccumulatedArguments=i,this._expanded=a,this.node=q("div",{classList:["w-full","overflow-hidden","text-[.875rem]","transition-all","fluent-depth-0","hover:fluent-depth-8","active:fluent-depth-4","aria-expanded:fluent-depth-16","active:aria-expanded:fluent-depth-8"],"aria-expanded":a},this._titleNode=q("div",{classList:["group","px-3","py-2","flex","gap-3","items-center","cursor-pointer","active:select-none","transition-colors","bg-transparent","hover:bg-Sky-Blue-90","active:bg-Sky-Blue-85","data-[expanded=true]:bg-Sky-Blue-85","data-[expanded=true]:hover:bg-Sky-Blue-80","data-[expanded=true]:active:bg-Sky-Blue-75","data-[status=error]:hover:bg-Energy-Red-90","data-[status=error]:active:bg-Energy-Red-85","data-[status=error]:data-[expanded=true]:bg-Energy-Red-85","data-[status=error]:data-[expanded=true]:hover:bg-Energy-Red-80","data-[status=error]:data-[expanded=true]:active:bg-Energy-Red-75"],"data-expanded":a,role:"button",onclick:()=>this.expanded=!this.expanded},this._titleStatusIconNode=q(ts,{size:E0.Small,class:"flex-shrink-0"}),this._titleTextNode=q("p",{class:"font-medium relative top-[.05em] group-data-[status=error]:text-Energy-Red-45"},"Gather information"),q(jc,{size:Ue.Small,classList:["flex-shrink-0","ml-auto","text-Sea-Blue-Main-28","group-data-[status=error]:text-Energy-Red-45","transition-all","group-data-[expanded=true]:-rotate-180","duration-300","opacity-50","group-hover:opacity-100","group-data-[expanded=true]:opacity-100"]})),this._bodyWrapperNode=q("div",{class:"grid transition-[grid-template-rows] duration-300",gridTemplateRows:a?"1fr":"0fr","data-expanded":a},q("div",{class:"overflow-hidden"},this._bodyNode=q("div",{class:"transition-colors bg-Sky-Blue-95 data-[status=error]:bg-Energy-Red-95"})))),n==="python"){this.invalidatePythonArguments();const s=this.appendArguments;this.appendArguments=o=>{s.call(this,o),this.invalidatePythonArguments()}}}get expanded(){return this._expanded}set expanded(t){t!==this._expanded&&(this._bodyWrapperNode.style.gridTemplateRows=t?"1fr":"0fr",this.node.setAttribute("aria-expanded",String(t)),this._titleNode.setAttribute("data-expanded",String(t)),this._bodyWrapperNode.setAttribute("data-expanded",String(t)),this._expanded=t)}appendArguments(t){this.functionAccumulatedArguments?this.functionAccumulatedArguments+=t:this.functionAccumulatedArguments=t}invalidatePythonArguments(){this._highlightCode?this._highlightCode.updateCode("python",this.extractCodeFromAccumulatedArguments()):(this.chat.initializePyodideAsync(),this._gridLayoutNode=null,this._agentMessage=null,this._highlightCode=new ba("python",this.extractCodeFromAccumulatedArguments()),this._highlightCode.node.classList.add("p-3","bg-[#262626]","text-[#e5e5e5]","overflow-x-auto"),this._bodyNode.appendChild(this._highlightCode.node))}extractCodeFromAccumulatedArguments(){let t=this.functionAccumulatedArguments;if(!t.startsWith("{"))return t;var r=t.indexOf("Code:");if(r!=-1&&t.substring(0,r).trim()=="{"&&(t='{"Code":'+t.substring(r+5)),r=t.indexOf('"""'),r!=-1){var n=t.lastIndexOf('"""');if(r<n&&t.substring(n+3).trim()=="}"){var i=Lc(t.substring(r+3,n-(r+3))),a=t.substring(0,r)+JSON.stringify(i)+t.substring(n+3);t=a}}try{var s=Ic(t)}catch{return console.warn("Error parsing Python code arguments provided as JSON.",this.functionAccumulatedArguments),""}return(s==null?void 0:s.Code)||""}async python(t,r){try{await this.chat.initializePyodideAsync();var n="",i="";this.chat.pyodide.setStdout({batched:l=>{n+=l,this.appendPythonStdouterr(l,!1)}}),this.chat.pyodide.setStderr({batched:l=>{i+=l,this.appendPythonStdouterr(l,!0)}}),this._pythonStdouterrContainerNode=null;var a=await this.chat.runPythonCodeAsync(r),s=String(a);if(1e3<=s.length)throw new Error("The Python code executed successfully, but the result is too long to be suitable as an input for an LLM. Focus on returning summary statistics or specific values instead of large datasets, like counts instead of entire lists. If operations produce large structures (e.g., arrays, maps), process them within Python and return only the relevant result. Perform calculations, filtering, or summarization within Python to avoid transferring large data back to the LLM.")}catch(l){console.error(l);const h=String(l);this.appendPythonResultRow(h,!0);const d=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationError,operationId:t,operationResult:{error:h,stdout:n,stderr:i}})});if(!d.ok)throw new Error(`Server returned ${d.status} ${d.statusText}`);return}this.appendPythonResultRow(s,!1);const o=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationResult,operationId:t,operationResult:{resultAsString:s,stdout:n,stderr:i}})});if(!o.ok)throw new Error(`Server returned ${o.status} ${o.statusText}`)}appendPythonResultRow(t,r){t!=null&&t.trim()||(t="<EMPTY>");let n;const i=q("div",{class:"p-3 bg-[#333333] text-[#e5e5e5] overflow-x-auto"},q("p",{class:"font-medium mb-1"},"RESULT OF COMPUTATION"),n=q("pre",null));this._bodyNode.appendChild(i),n.classList.toggle("text-Energy-Red-45",r),n.textContent=t}appendPythonStdouterr(t,r){this._pythonStdouterrContainerNode||(this._pythonStdouterrContainerNode=q("div",{class:"p-3 bg-[#333333] text-[#e5e5e5] overflow-x-auto"},q("p",{class:"font-medium mb-1"},"STDOUT / STDERR"),this._pythonStdouterrNode=q("pre",null)),this._bodyNode.appendChild(this._pythonStdouterrContainerNode)),r?this._pythonStdouterrNode.appendChild(q("span",{class:"text-Energy-Red-45"},t)):this._pythonStdouterrNode.appendChild(document.createTextNode(t))}async invokeFrontEnd(t,r,n){try{const s=this.chat.frontEndFunctions[r];if(!s)throw new Error(`Front-end function '${r}' not found. This occurs if a tool / function has been invoked, that requires some sort of user interaction (e.g. to obtain confirmation through a dialog, or to fill out some form values), then contacts the front-end to obtain a response, but the front-end is unable to handle the request because the function to be invoked does not exist. This error was thrown in the front-end.`);let o=s(...JSON.parse(n));o instanceof Promise&&(o=await o);var i=JSON.stringify(o)}catch(s){console.error(s);const o=s&&String(s),l=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationError,operationId:t,operationResult:{error:o}})});if(!l.ok)throw new Error(`Server returned ${l.status} ${l.statusText}`);return}const a=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationResult,operationId:t,operationResult:{resultAsJson:i}})});if(!a.ok)throw new Error(`Server returned ${a.status} ${a.statusText}`)}initAgent(t,r,n){this._agentName=t,this._agentBackgroundColor=r,this._agentIcon=n}appendAgentMarkdownMessage(t){this.getOrAppendAgentMessage().appendAgentMarkdownMessage(t)}getOrAppendToolCallGroup(){return this.getOrAppendAgentMessage().getOrAppendToolCallGroup()}getOrAppendGridLayoutNode(t=!0){return this._gridLayoutNode||(this._highlightCode=null,this._bodyNode.appendChild(this._gridLayoutNode=q("div",{class:"p-3 pr-4 grid grid-cols-[32px,1fr] gap-3"}))),this._gridLayoutNode}getOrAppendAgentMessage(){return this._agentMessage||this.getOrAppendGridLayoutNode().appendChild((this._agentMessage=new Qi(this.chat,this._agentName,this._agentBackgroundColor,this._agentIcon,S0.Small)).node),this._agentMessage}reset(){this._agentMessage?this._agentMessage.reset():this._highlightCode=null}log(t,r,n){}setTaskItemStatus(t,r,n,i){let a;if(!(a=this._taskItemsById[t])){this._taskItemsById[t]=a=new Vc(n,i),this.getOrAppendGridLayoutNode(!1).appendChild(a.node);return}a.status(r,n,i)}setTitle(t){Nr(this._titleTextNode,t,null,[])}done(){if(this.node.getAttribute("data-status")==="error")return;this.node.setAttribute("data-status","success");const t=this._titleStatusIconNode;t.parentNode.replaceChild(this._titleStatusIconNode=q(es,{size:Ue.Medium,class:"text-Land-Green-30 flex-shrink-0"}),t);for(const r in this._taskItemsById){const n=this._taskItemsById[r];n.icon===ut.Progress&&(n.icon=ut.Undetermined)}}error(t){this.node.setAttribute("data-status","error"),this._titleNode.setAttribute("data-status","error"),this._bodyNode.setAttribute("data-status","error");const r=this._titleStatusIconNode;r.parentNode.replaceChild(this._titleStatusIconNode=q(rs,{size:Ue.Medium,class:"text-Energy-Red-45 flex-shrink-0"}),r);for(const n in this._taskItemsById){const i=this._taskItemsById[n];i.icon===ut.Progress&&(i.icon=ut.Undetermined)}this.appendError(t)}appendError(t){t!=null&&t.trim()||(t="<EMPTY>");let r;const n=q("div",{class:"p-3 overflow-x-auto text-Energy-Red-45"},q("p",{class:"font-medium mb-1"},"ERROR"),r=q("pre",null));this._bodyNode.appendChild(n),r.textContent=t}}class Wc{constructor(){K(this,"parentsByFunctionId",new Map)}async readMessagesAsync(t,r){try{for(;await t.waitToReadAsync();)for(const n of t.read()){let i;if(n.type===ze.Init&&!n.parentFunctionId&&(i=r(n.agentManifestName,n.agentManifestBackgroundColor,n.agentManifestIcon),this.parentsByFunctionId.set(null,i)),i=this.parentsByFunctionId.get(n.parentFunctionId),i)switch(n.type){case ze.Init:i instanceof Rt&&i.initAgent(n.agentManifestName,n.agentManifestBackgroundColor,n.agentManifestIcon);break;case ze.AppendMessage:i.appendAgentMarkdownMessage(n.appendMessageMarkdown);break;case ze.ToolCallUpdate:{const s=i.getOrAppendToolCallGroup().getToolCall(n.toolCallUpdateIndex,n.toolCallFunctionId,n.toolCallUpdateName,n.toolCallUpdateArguments);s&&n.toolCallFunctionId&&this.parentsByFunctionId.set(n.toolCallFunctionId,s);break}case ze.ToolCallTaskItemStatus:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.setTaskItemStatus(n.toolCallTaskItemId,n.toolCallTaskItemProgress,n.toolCallTaskItemIcon,n.toolCallTaskItemMarkdown);break}case ze.ToolCallTitle:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.setTitle(n.toolCallMarkdownTitle);break}case ze.ToolCallLog:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.log(n.toolCallLogLevel,n.toolCallTime,n.toolCallTaskItemMarkdown);break}case ze.ToolCallPython:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.python(n.toolCallOperationId,n.toolCallCode);break}case ze.Loop:i.reset();break;case ze.ToolCallDone:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.done();break}case ze.ToolCallError:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.error(n.toolCallError);break}case ze.InvokeFrontEnd:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.invokeFrontEnd(n.toolCallOperationId,n.toolCallFrontendFunctionName,n.toolCallFrontendArgumentsAsJson);break}}else console.error("No parent found for function id",n.parentFunctionId)}}finally{for(const n of this.parentsByFunctionId.values())n.done()}}}function Xc(e){const r=e.trim().replace(/[^\w\s]|_/g,"").replace(/\s+/g," ").toUpperCase().split(" ");if(r.length===1&&r[0]==="")return"?";let n=r[0][0];return r.length>1&&(n+=r[1][0]),n}class Kc{constructor(t,r,n,i,a,s){K(this,"node");K(this,"userId");K(this,"givenName");K(this,"surname");K(this,"displayName");K(this,"avatarLetters");K(this,"_message");this.node=q(xn,null,q(z0,{class:"mt-1",id:t,size:mr.Medium,title:i},q("span",{marginTop:"-.1em"},a)),q("div",{class:"mt-1.5"},q("div",{class:"font-demiBold sr-only"},i),q("pre",{fontFamily:"inherit",fontWeight:"inherit",lineHeight:"inherit"},s))),this._message=s}toDto(){return{role:"user",content:this._message}}}class is extends Error{constructor(t){super(`You have reached our limit of ${t.maxMessages} messages per ${t.maxMessagesPerHours} hours. Please try again later.`),this.limits=t}}class Yc{constructor(){K(this,"_queue",[]);K(this,"_waitToReadDeferred");K(this,"_isCompleted",!1)}resolveWaitToReadDeferred(t){const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.resolve(t))}complete(){this._isCompleted||(this._isCompleted=!0,this.resolveWaitToReadDeferred(!!this._queue.length))}completeWithError(t){if(this._isCompleted)return;this._isCompleted=!0;const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.reject(t))}tryWrite(t){return this._isCompleted?!1:(this._queue.push(t),this.resolveWaitToReadDeferred(!0),!0)}waitToReadAsync(t){if(t.isCancellationRequested)return Promise.reject(new qr);if(this._waitToReadDeferred)return Promise.reject(new Error("Multiple readers are not supported."));if(this._queue.length)return Promise.resolve(!0);if(this._isCompleted)return Promise.resolve(!1);let r,n,i=new Promise((o,l)=>{r=o,n=l}),a,s=()=>{this._waitToReadDeferred===a&&(this._waitToReadDeferred=null),n(new qr)};return t.addListener(s),this._waitToReadDeferred={resolve:r,reject:n,cancellationToken:t,cancellationTokenListener:s},i}read(){const t=this._queue;return this._queue=[],t}}class Zc extends Yc{constructor(){super(...arguments);K(this,"_reader");K(this,"_buffer",new Uint8Array(0));K(this,"_bufferOffset",0);K(this,"_abortController");K(this,"_cancellationToken");K(this,"_textDecoder",new TextDecoder)}async startAsync(r,n,i){this._abortController=new AbortController,(this._cancellationToken=new wr).addListener(()=>this._abortController.abort());const a=await r(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.Messages,messages:i}),signal:this._abortController.signal});if(a.status===429){const s=await a.json();throw new is(s)}this._reader=a.body.getReader(),this.readMessagesAsync()}stop(){this._cancellationToken.cancel()}async readBytesAsync(r){if(this._buffer.length-this._bufferOffset>=r){const i=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,i}for(;this._buffer.length-this._bufferOffset<r;){const{done:i,value:a}=await this._reader.read();if(i){const s=this._buffer.subarray(this._bufferOffset);return this._buffer=new Uint8Array(0),this._bufferOffset=0,s}this._buffer=Jc(this._buffer,a,this._bufferOffset),this._bufferOffset=0}const n=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,n}async readLittleEndianInt32Async(){const r=await this.readBytesAsync(4),n=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength);return new DataView(n).getInt32(0,!0)}async readLittleEndianDoubleAsync(){const r=await this.readBytesAsync(8),n=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength);return new DataView(n).getFloat64(0,!0)}async readUtf8StringAsync(){const r=await this.readLittleEndianInt32Async();if(r===-1)return null;const n=await this.readBytesAsync(r);return this._textDecoder.decode(n)}async readMessageAsync(){const r=await this.readBytesAsync(1);if(r.length==0)return null;const n=r[0];switch(n){case ze.Init:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,agentManifestName:a,agentManifestBackgroundColor:s,agentManifestIcon:o}}case ze.Done:{const i=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i}}case ze.Error:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,errorMarkdown:a}}case ze.AppendMessage:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,appendMessageMarkdown:a}}case ze.ToolCallUpdate:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readLittleEndianInt32Async(),o=await this.readUtf8StringAsync(),l=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallUpdateIndex:s,toolCallUpdateName:o,toolCallUpdateArguments:l}}case ze.Loop:{const i=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i}}case ze.ToolCallTaskItemStatus:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readLittleEndianInt32Async(),o=await this.readLittleEndianDoubleAsync(),l=await this.readUtf8StringAsync(),h=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallTaskItemId:s,toolCallTaskItemProgress:o,toolCallTaskItemIcon:l,toolCallTaskItemMarkdown:h}}case ze.ToolCallTitle:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallMarkdownTitle:s}}case ze.ToolCallLog:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readBytesAsync(1);if(s.length==0)return null;const o=s[0],l=await this.readLittleEndianDoubleAsync(),h=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallLogLevel:o,toolCallTime:l,toolCallTaskItemMarkdown:h}}case ze.ToolCallPython:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallOperationId:s,toolCallCode:o}}case ze.ToolCallDone:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a}}case ze.ToolCallError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallError:s}}case ze.InvokeFrontEnd:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),l=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallOperationId:s,toolCallFrontendFunctionName:o,toolCallFrontendArgumentsAsJson:l}}default:throw new Error(`Unexpected message type: ${n}`)}}async readMessagesAsync(){try{for(;;){const r=await this.readMessageAsync();if(!r){this.complete();return}this.tryWrite(r)}}catch(r){this.completeWithError(r)}}waitToReadAsync(){return super.waitToReadAsync(this._cancellationToken)}}function Jc(e,t,r){r>0&&e.copyWithin(0,r);let n=new Uint8Array(e.length-r+t.length);return n.set(e.subarray(0,e.length-r),0),n.set(t,e.length-r),n}function Qc({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-11.49 120h22.979c6.823 0 12.274 5.682 11.99 12.5l-7 168c-.268 6.428-5.556 11.5-11.99 11.5h-8.979c-6.433 0-11.722-5.073-11.99-11.5l-7-168c-.283-6.818 5.167-12.5 11.99-12.5zM256 340c-15.464 0-28 12.536-28 28s12.536 28 28 28 28-12.536 28-28-12.536-28-28-28z"),r.appendChild(n),r.classList.add("icon"),r}function eh(e,t){const r=q("div",{gridTemplateColumns:"24px 1fr",...e},q(Qc,null),q("div",null,t));return r.classList.add("fluent-depth-16","bg-Energy-Red-95","text-Energy-Red-45","p-4","grid","gap-4"),r}var ss=(e=>(e.Primary="btn-primary",e.Secondary="btn-secondary",e.Tertiary="btn-tertiary",e.CTA="btn-cta",e.Destructive="btn-destructive",e))(ss||{});function os({as:e="button",type:t,variant:r="btn-primary",size:n="btn-lg",...i},a){const s=q(e,{...i},a);return e==="button"&&(s.type=t||"button"),s.classList.add("btn"),r&&s.classList.add(r),n&&s.classList.add(n),s}function th({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 576 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M270.2 160h35.5c3.4 0 6.1 2.8 6 6.2l-7.5 196c-.1 3.2-2.8 5.8-6 5.8h-20.5c-3.2 0-5.9-2.5-6-5.8l-7.5-196c-.1-3.4 2.6-6.2 6-6.2zM288 388c-15.5 0-28 12.5-28 28s12.5 28 28 28 28-12.5 28-28-12.5-28-28-28zm281.5 52L329.6 24c-18.4-32-64.7-32-83.2 0L6.5 440c-18.4 31.9 4.6 72 41.6 72H528c36.8 0 60-40 41.5-72zM528 480H48c-12.3 0-20-13.3-13.9-24l240-416c6.1-10.6 21.6-10.7 27.7 0l240 416c6.2 10.6-1.5 24-13.8 24z"),r.appendChild(n),r.classList.add("icon"),r}function hn(e,t,r,n){return n?new Promise((i,a)=>{const s=e.animate(t,r),o=()=>{s.cancel()};n.addListener(o),s.onfinish=()=>{n.removeListener(o),i()},s.oncancel=()=>{a(new qr)}}):new Promise(i=>{const a=e.animate(t,r);a.onfinish=i})}function rh(){let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}function nh({parentNode:e,createModalElement:t,animateModalElement:r=!0,onDismiss:n}){const i=document.activeElement,a=rh(),s=new wr,o=a.promise.finally(()=>g()),l=t(a.resolve,a.reject);l.style.pointerEvents="auto",r&&(l.style.opacity="0",l.style.transform="translateY(-20px)");let h;const d=q("div",{class:"relative","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",zIndex:"1000"},h=q("div",{class:"fixed inset-0 bg-Sea-Blue-5",opacity:"0"}),q("div",{class:"fixed inset-0 z-10 w-screen overflow-y-auto pointer-events-none"},q("div",{class:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"},l)));n&&h.addEventListener("click",()=>n(a.resolve,a.reject)),e.appendChild(d);async function p(){try{const z=hn(h,[{opacity:".5"}],{duration:300,easing:"ease-out",fill:"forwards"},s);if(r)var m=hn(l,[{transform:"translateY(0)",opacity:"1"}],{duration:300,easing:"ease-out",fill:"forwards"},s);await z,m&&await m}catch(z){if(!s.isCancellationRequested)throw z}}p();async function g(){s.cancel();const m=hn(h,[{opacity:"0"}],{duration:200,easing:"ease-in",fill:"forwards"});if(r)var z=hn(l,[{transform:"translateY(-20px)",opacity:"0"}],{duration:200,easing:"ease-in",fill:"forwards"});await m,z&&await z,d.remove(),i==null||i.focus()}return o}function ah(e,t,r){return nh({parentNode:r,onDismiss:(n,i)=>n(!1),createModalElement:(n,i)=>{let a;const s=q("div",{class:"relative transform overflow-hidden bg-white text-left elevation-4 sm:my-8 sm:w-full sm:max-w-lg"},q("div",{class:"bg-White p-6 pb-5"},q("div",{class:"sm:flex sm:items-start"},q(th,{class:"text-Terracotta-30 mx-auto flex-shrink-0 sm:mx-0","aria-hidden":"true"}),q("div",{class:"mt-3 text-center sm:ml-4 sm:mt-0 sm:text-left"},q("h4",{id:"modal-title"},e),a=q("div",{class:"mt-2 prose prose-neutral"})))),q("div",{class:"bg-White p-6 pt-5 sm:flex sm:flex-row-reverse"},q(os,{class:"w-full sm:ml-3 sm:w-auto",onclick:()=>n(!0)},"Yes, proceed"),q(os,{variant:ss.Secondary,class:"mt-3 w-full sm:mt-0 sm:w-auto",onclick:()=>n(!1)},"No, cancel")));return Nr(a,t,null,[]),s}})}var ih=Object.create,A0=Object.defineProperty,sh=Object.getOwnPropertyDescriptor,oh=Object.getOwnPropertyNames,lh=Object.getPrototypeOf,uh=Object.prototype.hasOwnProperty,pe=(e,t)=>A0(e,"name",{value:t,configurable:!0}),ls=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')}),us=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ch=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oh(t))!uh.call(e,i)&&i!==r&&A0(e,i,{get:()=>t[i],enumerable:!(n=sh(t,i))||n.enumerable});return e},hh=(e,t,r)=>(r=e!=null?ih(lh(e)):{},ch(t||!e||!e.__esModule?A0(r,"default",{value:e,enumerable:!0}):r,e)),dh=us((e,t)=>{(function(r,n){typeof define=="function"&&define.amd?define("stackframe",[],n):typeof e=="object"?t.exports=n():r.StackFrame=n()})(e,function(){function r(k){return!isNaN(parseFloat(k))&&isFinite(k)}pe(r,"_isNumber");function n(k){return k.charAt(0).toUpperCase()+k.substring(1)}pe(n,"_capitalize");function i(k){return function(){return this[k]}}pe(i,"_getter");var a=["isConstructor","isEval","isNative","isToplevel"],s=["columnNumber","lineNumber"],o=["fileName","functionName","source"],l=["args"],h=["evalOrigin"],d=a.concat(s,o,l,h);function p(k){if(k)for(var N=0;N<d.length;N++)k[d[N]]!==void 0&&this["set"+n(d[N])](k[d[N]])}pe(p,"StackFrame"),p.prototype={getArgs:function(){return this.args},setArgs:function(k){if(Object.prototype.toString.call(k)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=k},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(k){if(k instanceof p)this.evalOrigin=k;else if(k instanceof Object)this.evalOrigin=new p(k);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var k=this.getFileName()||"",N=this.getLineNumber()||"",A=this.getColumnNumber()||"",C=this.getFunctionName()||"";return this.getIsEval()?k?"[eval] ("+k+":"+N+":"+A+")":"[eval]:"+N+":"+A:C?C+" ("+k+":"+N+":"+A+")":k+":"+N+":"+A}},p.fromString=pe(function(k){var N=k.indexOf("("),A=k.lastIndexOf(")"),C=k.substring(0,N),R=k.substring(N+1,A).split(","),W=k.substring(A+1);if(W.indexOf("@")===0)var H=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(W,""),T=H[1],X=H[2],ee=H[3];return new p({functionName:C,args:R||void 0,fileName:T,lineNumber:X||void 0,columnNumber:ee||void 0})},"StackFrame$$fromString");for(var g=0;g<a.length;g++)p.prototype["get"+n(a[g])]=i(a[g]),p.prototype["set"+n(a[g])]=function(k){return function(N){this[k]=!!N}}(a[g]);for(var m=0;m<s.length;m++)p.prototype["get"+n(s[m])]=i(s[m]),p.prototype["set"+n(s[m])]=function(k){return function(N){if(!r(N))throw new TypeError(k+" must be a Number");this[k]=Number(N)}}(s[m]);for(var z=0;z<o.length;z++)p.prototype["get"+n(o[z])]=i(o[z]),p.prototype["set"+n(o[z])]=function(k){return function(N){this[k]=String(N)}}(o[z]);return p})}),mh=us((e,t)=>{(function(r,n){typeof define=="function"&&define.amd?define("error-stack-parser",["stackframe"],n):typeof e=="object"?t.exports=n(dh()):r.ErrorStackParser=n(r.StackFrame)})(e,pe(function(r){var n=/(^|@)\S+:\d+/,i=/^\s*at .*(\S+:\d+|\(native\))/m,a=/^(eval@)?(\[native code])?$/;return{parse:pe(function(s){if(typeof s.stacktrace<"u"||typeof s["opera#sourceloc"]<"u")return this.parseOpera(s);if(s.stack&&s.stack.match(i))return this.parseV8OrIE(s);if(s.stack)return this.parseFFOrSafari(s);throw new Error("Cannot parse given Error object")},"ErrorStackParser$$parse"),extractLocation:pe(function(s){if(s.indexOf(":")===-1)return[s];var o=/(.+?)(?::(\d+))?(?::(\d+))?$/,l=o.exec(s.replace(/[()]/g,""));return[l[1],l[2]||void 0,l[3]||void 0]},"ErrorStackParser$$extractLocation"),parseV8OrIE:pe(function(s){var o=s.stack.split(`
266
- `).filter(function(l){return!!l.match(i)},this);return o.map(function(l){l.indexOf("(eval ")>-1&&(l=l.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var h=l.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),d=h.match(/ (\(.+\)$)/);h=d?h.replace(d[0],""):h;var p=this.extractLocation(d?d[1]:h),g=d&&h||void 0,m=["eval","<anonymous>"].indexOf(p[0])>-1?void 0:p[0];return new r({functionName:g,fileName:m,lineNumber:p[1],columnNumber:p[2],source:l})},this)},"ErrorStackParser$$parseV8OrIE"),parseFFOrSafari:pe(function(s){var o=s.stack.split(`
267
- `).filter(function(l){return!l.match(a)},this);return o.map(function(l){if(l.indexOf(" > eval")>-1&&(l=l.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),l.indexOf("@")===-1&&l.indexOf(":")===-1)return new r({functionName:l});var h=/((.*".+"[^@]*)?[^@]*)(?:@)/,d=l.match(h),p=d&&d[1]?d[1]:void 0,g=this.extractLocation(l.replace(h,""));return new r({functionName:p,fileName:g[0],lineNumber:g[1],columnNumber:g[2],source:l})},this)},"ErrorStackParser$$parseFFOrSafari"),parseOpera:pe(function(s){return!s.stacktrace||s.message.indexOf(`
268
- `)>-1&&s.message.split(`
269
- `).length>s.stacktrace.split(`
270
- `).length?this.parseOpera9(s):s.stack?this.parseOpera11(s):this.parseOpera10(s)},"ErrorStackParser$$parseOpera"),parseOpera9:pe(function(s){for(var o=/Line (\d+).*script (?:in )?(\S+)/i,l=s.message.split(`
271
- `),h=[],d=2,p=l.length;d<p;d+=2){var g=o.exec(l[d]);g&&h.push(new r({fileName:g[2],lineNumber:g[1],source:l[d]}))}return h},"ErrorStackParser$$parseOpera9"),parseOpera10:pe(function(s){for(var o=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,l=s.stacktrace.split(`
272
- `),h=[],d=0,p=l.length;d<p;d+=2){var g=o.exec(l[d]);g&&h.push(new r({functionName:g[3]||void 0,fileName:g[2],lineNumber:g[1],source:l[d]}))}return h},"ErrorStackParser$$parseOpera10"),parseOpera11:pe(function(s){var o=s.stack.split(`
273
- `).filter(function(l){return!!l.match(n)&&!l.match(/^Error created at/)},this);return o.map(function(l){var h=l.split("@"),d=this.extractLocation(h.pop()),p=h.shift()||"",g=p.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,m;p.match(/\(([^)]*)\)/)&&(m=p.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var z=m===void 0||m==="[arguments not available]"?void 0:m.split(",");return new r({functionName:g,args:z,fileName:d[0],lineNumber:d[1],columnNumber:d[2],source:l})},this)},"ErrorStackParser$$parseOpera11")}},"ErrorStackParser"))}),ph=hh(mh()),Ot=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string"&&typeof process.browser>"u",cs=Ot&&typeof module<"u"&&typeof module.exports<"u"&&typeof ls<"u"&&typeof __dirname<"u",fh=Ot&&!cs,gh=typeof Deno<"u",hs=!Ot&&!gh,bh=hs&&typeof window<"u"&&typeof document<"u"&&typeof document.createElement<"u"&&typeof sessionStorage<"u",vh=hs&&typeof importScripts<"u"&&typeof self<"u",ds,dn,T0,ms,M0,yh=`"fetch" is not defined, maybe you're using node < 18? From Pyodide >= 0.25.0, node >= 18 is required. Older versions of Node.js may work, but it is not guaranteed or supported. Falling back to "node-fetch".`;async function C0(){if(!Ot||(ds=(await Promise.resolve().then(()=>zt)).default,M0=await Promise.resolve().then(()=>zt),globalThis.fetch?dn=fetch:(console.warn(yh),dn=(await Promise.resolve().then(()=>Bh)).default),ms=(await Promise.resolve().then(()=>zt)).default,T0=await Promise.resolve().then(()=>zt),_0=T0.sep,typeof ls<"u"))return;let e=await Promise.resolve().then(()=>zt),t=await Promise.resolve().then(()=>zt),r=await Promise.resolve().then(()=>zt),n=await Promise.resolve().then(()=>zt),i={fs:e,crypto:t,ws:r,child_process:n};globalThis.require=function(a){return i[a]}}pe(C0,"initNodeModules");function ps(e,t){return T0.resolve(t||".",e)}pe(ps,"node_resolvePath");function fs(e,t){return t===void 0&&(t=location),new URL(e,t).toString()}pe(fs,"browser_resolvePath");var N0;Ot?N0=ps:N0=fs;var _0;Ot||(_0="/");function gs(e,t){return e.startsWith("file://")&&(e=e.slice(7)),e.includes("://")?{response:dn(e)}:{binary:M0.readFile(e).then(r=>new Uint8Array(r.buffer,r.byteOffset,r.byteLength))}}pe(gs,"node_getBinaryResponse");function bs(e,t){let r=new URL(e,location);return{response:fetch(r,t?{integrity:t}:{})}}pe(bs,"browser_getBinaryResponse");var mn;Ot?mn=gs:mn=bs;async function vs(e,t){let{response:r,binary:n}=mn(e,t);if(n)return n;let i=await r;if(!i.ok)throw new Error(`Failed to load '${e}': request failed.`);return new Uint8Array(await i.arrayBuffer())}pe(vs,"loadBinaryFile");var pn;if(bh)pn=pe(async e=>await import(e),"loadScript");else if(vh)pn=pe(async e=>{try{globalThis.importScripts(e)}catch(t){if(t instanceof TypeError)await import(e);else throw t}},"loadScript");else if(Ot)pn=ys;else throw new Error("Cannot determine runtime environment");async function ys(e){e.startsWith("file://")&&(e=e.slice(7)),e.includes("://")?ms.runInThisContext(await(await dn(e)).text()):await import(ds.pathToFileURL(e).href)}pe(ys,"nodeLoadScript");async function ws(e){if(Ot){await C0();let t=await M0.readFile(e);return JSON.parse(t)}else return await(await fetch(e)).json()}pe(ws,"loadLockFile");async function xs(){if(cs)return __dirname;let e;try{throw new Error}catch(n){e=n}let t=ph.default.parse(e)[0].fileName;if(fh){let n=await Promise.resolve().then(()=>zt);return(await Promise.resolve().then(()=>zt)).fileURLToPath(n.dirname(t))}let r=t.lastIndexOf(_0);if(r===-1)throw new Error("Could not extract indexURL path from pyodide module location");return t.slice(0,r)}pe(xs,"calculateDirname");function ks(e){let t=e.FS,r=e.FS.filesystems.MEMFS,n=e.PATH,i={DIR_MODE:16895,FILE_MODE:33279,mount:function(a){if(!a.opts.fileSystemHandle)throw new Error("opts.fileSystemHandle is required");return r.mount.apply(null,arguments)},syncfs:async(a,s,o)=>{try{let l=i.getLocalSet(a),h=await i.getRemoteSet(a),d=s?h:l,p=s?l:h;await i.reconcile(a,d,p),o(null)}catch(l){o(l)}},getLocalSet:a=>{let s=Object.create(null);function o(d){return d!=="."&&d!==".."}pe(o,"isRealDir");function l(d){return p=>n.join2(d,p)}pe(l,"toAbsolute");let h=t.readdir(a.mountpoint).filter(o).map(l(a.mountpoint));for(;h.length;){let d=h.pop(),p=t.stat(d);t.isDir(p.mode)&&h.push.apply(h,t.readdir(d).filter(o).map(l(d))),s[d]={timestamp:p.mtime,mode:p.mode}}return{type:"local",entries:s}},getRemoteSet:async a=>{let s=Object.create(null),o=await wh(a.opts.fileSystemHandle);for(let[l,h]of o)l!=="."&&(s[n.join2(a.mountpoint,l)]={timestamp:h.kind==="file"?(await h.getFile()).lastModifiedDate:new Date,mode:h.kind==="file"?i.FILE_MODE:i.DIR_MODE});return{type:"remote",entries:s,handles:o}},loadLocalEntry:a=>{let s=t.lookupPath(a).node,o=t.stat(a);if(t.isDir(o.mode))return{timestamp:o.mtime,mode:o.mode};if(t.isFile(o.mode))return s.contents=r.getFileDataAsTypedArray(s),{timestamp:o.mtime,mode:o.mode,contents:s.contents};throw new Error("node type not supported")},storeLocalEntry:(a,s)=>{if(t.isDir(s.mode))t.mkdirTree(a,s.mode);else if(t.isFile(s.mode))t.writeFile(a,s.contents,{canOwn:!0});else throw new Error("node type not supported");t.chmod(a,s.mode),t.utime(a,s.timestamp,s.timestamp)},removeLocalEntry:a=>{var s=t.stat(a);t.isDir(s.mode)?t.rmdir(a):t.isFile(s.mode)&&t.unlink(a)},loadRemoteEntry:async a=>{if(a.kind==="file"){let s=await a.getFile();return{contents:new Uint8Array(await s.arrayBuffer()),mode:i.FILE_MODE,timestamp:s.lastModifiedDate}}else{if(a.kind==="directory")return{mode:i.DIR_MODE,timestamp:new Date};throw new Error("unknown kind: "+a.kind)}},storeRemoteEntry:async(a,s,o)=>{let l=a.get(n.dirname(s)),h=t.isFile(o.mode)?await l.getFileHandle(n.basename(s),{create:!0}):await l.getDirectoryHandle(n.basename(s),{create:!0});if(h.kind==="file"){let d=await h.createWritable();await d.write(o.contents),await d.close()}a.set(s,h)},removeRemoteEntry:async(a,s)=>{await a.get(n.dirname(s)).removeEntry(n.basename(s)),a.delete(s)},reconcile:async(a,s,o)=>{let l=0,h=[];Object.keys(s.entries).forEach(function(g){let m=s.entries[g],z=o.entries[g];(!z||t.isFile(m.mode)&&m.timestamp.getTime()>z.timestamp.getTime())&&(h.push(g),l++)}),h.sort();let d=[];if(Object.keys(o.entries).forEach(function(g){s.entries[g]||(d.push(g),l++)}),d.sort().reverse(),!l)return;let p=s.type==="remote"?s.handles:o.handles;for(let g of h){let m=n.normalize(g.replace(a.mountpoint,"/")).substring(1);if(o.type==="local"){let z=p.get(m),k=await i.loadRemoteEntry(z);i.storeLocalEntry(g,k)}else{let z=i.loadLocalEntry(g);await i.storeRemoteEntry(p,m,z)}}for(let g of d)if(o.type==="local")i.removeLocalEntry(g);else{let m=n.normalize(g.replace(a.mountpoint,"/")).substring(1);await i.removeRemoteEntry(p,m)}}};e.FS.filesystems.NATIVEFS_ASYNC=i}pe(ks,"initializeNativeFS");var wh=pe(async e=>{let t=[];async function r(i){for await(let a of i.values())t.push(a),a.kind==="directory"&&await r(a)}pe(r,"collect"),await r(e);let n=new Map;n.set(".",e);for(let i of t){let a=(await e.resolve(i)).join("/");n.set(a,i)}return n},"getFsHandles");function zs(){let e={};return e.noImageDecoding=!0,e.noAudioDecoding=!0,e.noWasmDecoding=!1,e.preRun=[],e.quit=(t,r)=>{throw e.exited={status:t,toThrow:r},r},e}pe(zs,"createModule");function Ss(e,t){e.preRun.push(function(){let r="/";try{e.FS.mkdirTree(t)}catch(n){console.error(`Error occurred while making a home directory '${t}':`),console.error(n),console.error(`Using '${r}' for a home directory instead`),t=r}e.FS.chdir(t)})}pe(Ss,"createHomeDirectory");function Es(e,t){e.preRun.push(function(){Object.assign(e.ENV,t)})}pe(Es,"setEnvironment");function As(e,t){e.preRun.push(()=>{for(let r of t)e.FS.mkdirTree(r),e.FS.mount(e.FS.filesystems.NODEFS,{root:r},r)})}pe(As,"mountLocalDirectories");function Ts(e,t){let r=vs(t);e.preRun.push(()=>{let n=e._py_version_major(),i=e._py_version_minor();e.FS.mkdirTree("/lib"),e.FS.mkdirTree(`/lib/python${n}.${i}/site-packages`),e.addRunDependency("install-stdlib"),r.then(a=>{e.FS.writeFile(`/lib/python${n}${i}.zip`,a)}).catch(a=>{console.error("Error occurred while installing the standard library:"),console.error(a)}).finally(()=>{e.removeRunDependency("install-stdlib")})})}pe(Ts,"installStdlib");function Ms(e,t){let r;t.stdLibURL!=null?r=t.stdLibURL:r=t.indexURL+"python_stdlib.zip",Ts(e,r),Ss(e,t.env.HOME),Es(e,t.env),As(e,t._node_mounts),e.preRun.push(()=>ks(e))}pe(Ms,"initializeFileSystem");function Cs(e,t){let{binary:r,response:n}=mn(t+"pyodide.asm.wasm");e.instantiateWasm=function(i,a){return async function(){try{let s;n?s=await WebAssembly.instantiateStreaming(n,i):s=await WebAssembly.instantiate(await r,i);let{instance:o,module:l}=s;typeof WasmOffsetConverter<"u"&&(wasmOffsetConverter=new WasmOffsetConverter(wasmBinary,l)),a(o,l)}catch(s){console.warn("wasm instantiation failed!"),console.warn(s)}}(),{}}}pe(Cs,"preloadWasm");var B0="0.25.0";async function Ns(e={}){await C0();let t=e.indexURL||await xs();t=N0(t),t.endsWith("/")||(t+="/"),e.indexURL=t;let r={fullStdLib:!1,jsglobals:globalThis,stdin:globalThis.prompt?globalThis.prompt:void 0,lockFileURL:t+"pyodide-lock.json",args:[],_node_mounts:[],env:{},packageCacheDir:t,packages:[]},n=Object.assign(r,e);n.env.HOME||(n.env.HOME="/home/pyodide");let i=zs();i.print=n.stdout,i.printErr=n.stderr,i.arguments=n.args;let a={config:n};i.API=a,a.lockFilePromise=ws(n.lockFileURL),Cs(i,t),Ms(i,n);let s=new Promise(l=>i.postRun=l);if(i.locateFile=l=>n.indexURL+l,typeof _createPyodideModule!="function"){let l=`${n.indexURL}pyodide.asm.js`;await pn(l)}if(await _createPyodideModule(i),await s,i.exited)throw i.exited.toThrow;if(e.pyproxyToStringRepr&&a.setPyProxyToStringMethod(!0),a.version!==B0)throw new Error(`Pyodide version does not match: '${B0}' <==> '${a.version}'. If you updated the Pyodide version, make sure you also updated the 'indexURL' parameter passed to loadPyodide.`);i.locateFile=l=>{throw new Error("Didn't expect to load any more file_packager files!")};let o=a.finalizeBootstrap();if(o.version.includes("dev")||a.setCdnUrl(`https://cdn.jsdelivr.net/pyodide/v${o.version}/full/`),await a.packageIndexReady,a._pyodide._importhook.register_module_not_found_hook(a._import_name_to_package_name,a.lockfile_unvendored_stdlibs_and_test),a.lockfile_info.version!==B0)throw new Error("Lock file version doesn't match Pyodide version");return a.package_loader.init_loaded_packages(),n.fullStdLib&&await o.loadPackage(a.lockfile_unvendored_stdlibs),a.initializeStreams(n.stdin,n.stdout,n.stderr),o}pe(Ns,"loadPyodide");var Pe=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global||{},We={searchParams:"URLSearchParams"in Pe,iterable:"Symbol"in Pe&&"iterator"in Symbol,blob:"FileReader"in Pe&&"Blob"in Pe&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in Pe,arrayBuffer:"ArrayBuffer"in Pe};function xh(e){return e&&DataView.prototype.isPrototypeOf(e)}if(We.arrayBuffer)var kh=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],zh=ArrayBuffer.isView||function(e){return e&&kh.indexOf(Object.prototype.toString.call(e))>-1};function pr(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function R0(e){return typeof e!="string"&&(e=String(e)),e}function O0(e){var t={next:function(){var r=e.shift();return{done:r===void 0,value:r}}};return We.iterable&&(t[Symbol.iterator]=function(){return t}),t}function Re(e){this.map={},e instanceof Re?e.forEach(function(t,r){this.append(r,t)},this):Array.isArray(e)?e.forEach(function(t){if(t.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}Re.prototype.append=function(e,t){e=pr(e),t=R0(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},Re.prototype.delete=function(e){delete this.map[pr(e)]},Re.prototype.get=function(e){return e=pr(e),this.has(e)?this.map[e]:null},Re.prototype.has=function(e){return this.map.hasOwnProperty(pr(e))},Re.prototype.set=function(e,t){this.map[pr(e)]=R0(t)},Re.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},Re.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),O0(e)},Re.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),O0(e)},Re.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),O0(e)},We.iterable&&(Re.prototype[Symbol.iterator]=Re.prototype.entries);function I0(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}}function _s(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function Sh(e){var t=new FileReader,r=_s(t);return t.readAsArrayBuffer(e),r}function Eh(e){var t=new FileReader,r=_s(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=n?n[1]:"utf-8";return t.readAsText(e,i),r}function Ah(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function Bs(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Rs(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?typeof e=="string"?this._bodyText=e:We.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:We.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:We.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():We.arrayBuffer&&We.blob&&xh(e)?(this._bodyArrayBuffer=Bs(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):We.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||zh(e))?this._bodyArrayBuffer=Bs(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof e=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):We.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},We.blob&&(this.blob=function(){var e=I0(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=I0(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(We.blob)return this.blob().then(Sh);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var e=I0(this);if(e)return e;if(this._bodyBlob)return Eh(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Ah(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},We.formData&&(this.formData=function(){return this.text().then(Ch)}),this.json=function(){return this.text().then(JSON.parse)},this}var Th=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Mh(e){var t=e.toUpperCase();return Th.indexOf(t)>-1?t:e}function Vt(e,t){if(!(this instanceof Vt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var r=t.body;if(e instanceof Vt){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Re(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!r&&e._bodyInit!=null&&(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new Re(t.headers)),this.method=Mh(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Pe){var a=new AbortController;return a.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Vt.prototype.clone=function(){return new Vt(this,{body:this._bodyInit})};function Ch(e){var t=new FormData;return e.trim().split("&").forEach(function(r){if(r){var n=r.split("="),i=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(a))}}),t}function Nh(e){var t=new Re,r=e.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(`
274
- `)===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),a=i.shift().trim();if(a){var s=i.join(":").trim();try{t.append(a,s)}catch(o){console.warn("Response "+o.message)}}}),t}Rs.call(Vt.prototype);function dt(e,t){if(!(this instanceof dt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new Re(t.headers),this.url=t.url||"",this._initBody(e)}Rs.call(dt.prototype),dt.prototype.clone=function(){return new dt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Re(this.headers),url:this.url})},dt.error=function(){var e=new dt(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var _h=[301,302,303,307,308];dt.redirect=function(e,t){if(_h.indexOf(t)===-1)throw new RangeError("Invalid status code");return new dt(null,{status:t,headers:{location:e}})};var Wt=Pe.DOMException;try{new Wt}catch{Wt=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},Wt.prototype=Object.create(Error.prototype),Wt.prototype.constructor=Wt}function D0(e,t){return new Promise(function(r,n){var i=new Vt(e,t);if(i.signal&&i.signal.aborted)return n(new Wt("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}a.onload=function(){var h={statusText:a.statusText,headers:Nh(a.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(a.status<200||a.status>599)?h.status=200:h.status=a.status,h.url="responseURL"in a?a.responseURL:h.headers.get("X-Request-URL");var d="response"in a?a.response:a.responseText;setTimeout(function(){r(new dt(d,h))},0)},a.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){n(new Wt("Aborted","AbortError"))},0)};function o(h){try{return h===""&&Pe.location.href?Pe.location.href:h}catch{return h}}if(a.open(i.method,o(i.url),!0),i.credentials==="include"?a.withCredentials=!0:i.credentials==="omit"&&(a.withCredentials=!1),"responseType"in a&&(We.blob?a.responseType="blob":We.arrayBuffer&&(a.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof Re||Pe.Headers&&t.headers instanceof Pe.Headers)){var l=[];Object.getOwnPropertyNames(t.headers).forEach(function(h){l.push(pr(h)),a.setRequestHeader(h,R0(t.headers[h]))}),i.headers.forEach(function(h,d){l.indexOf(d)===-1&&a.setRequestHeader(d,h)})}else i.headers.forEach(function(h,d){a.setRequestHeader(d,h)});i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){a.readyState===4&&i.signal.removeEventListener("abort",s)}),a.send(typeof i._bodyInit>"u"?null:i._bodyInit)})}D0.polyfill=!0,Pe.fetch||(Pe.fetch=D0,Pe.Headers=Re,Pe.Request=Vt,Pe.Response=dt);const Bh=Object.freeze(Object.defineProperty({__proto__:null,get DOMException(){return Wt},Headers:Re,Request:Vt,Response:dt,fetch:D0},Symbol.toStringTag,{value:"Module"}));class Rh{constructor(){K(this,"node");K(this,"messages",[]);this.node=q("div",{class:"grid grid-cols-[auto,1fr] gap-4"})}}class Oh{constructor(t){K(this,"node");K(this,"userId");K(this,"givenName");K(this,"surname");K(this,"displayName");K(this,"avatarLetters");K(this,"url");K(this,"fetch");K(this,"chatBase",new Rh);K(this,"statusNode");K(this,"frontEndFunctions",{});K(this,"mdastExtensions",[]);K(this,"pyodide");K(this,"_initializePyodidePromise");K(this,"_completion");var i;this.userId=t.userId,this.givenName=t.givenName,this.surname=t.surname,this.displayName=t.displayName,this.avatarLetters=Xc(((i=t.displayName)==null?void 0:i.trim())||(t.givenName||"")+" "+(t.surname||"")),this.url=t.url,this.fetch=t.fetch??fetch.bind(window),this.node=q("div",null);const r=document.createElement("style");r.textContent=mo+`
275
- `+po+`
276
- `+fo;const n=this.node.attachShadow({mode:"closed"});n.appendChild(r),n.appendChild(q("div",{class:"flex flex-col gap-4"},document.createComment(" CHAT "),this.chatBase.node,this.statusNode=q("div",{class:"select-none h-[1.421875rem] overflow-hidden"}))),this.frontEndFunctions.confirmAsync=(a,s)=>ah(a,s,n)}initializePyodideAsync(){return this._initializePyodidePromise??(this._initializePyodidePromise=this.doInitializePyodide())}async doInitializePyodide(){return this.pyodide=await Ns({indexURL:"https://cdn.veracity.com/anai/pyodide-0.25.0/pyodide/"}),this.pyodide}async runPythonCodeAsync(t){return await this.pyodide.loadPackagesFromImports(t),await this.pyodide.runPythonAsync(t)}get canSubmit(){return!this._completion}async submitMessageAsync(t){if(!this.canSubmit)throw new Error("Cannot submit message because another message is currently being processed");this._completion=new Zc;try{const r=new Kc(this.userId,this.givenName,this.surname,this.displayName,this.avatarLetters,t);this.chatBase.messages.push(r),this.chatBase.node.appendChild(r.node);try{await this._completion.startAsync(this.fetch,this.url,this.chatBase.messages.map(i=>i.toDto()))}catch(i){if(i instanceof is){this.chatBase.node.appendChild(q(eh,{class:"col-span-2"},i.message));return}else throw i}await new Wc().readMessagesAsync(this._completion,(i,a,s)=>{const o=new Qi(this,i,a,s,S0.Medium);return this.chatBase.node.appendChild(o.node),this.chatBase.messages.push(o),o})}finally{this._completion=null}}stop(){var t;(t=this._completion)==null||t.stop()}}function Ih(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Os(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const r=e[t],n=typeof r;(n==="object"||n==="function")&&!Object.isFrozen(r)&&Os(r)}),e}class Is{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Ds(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Xt(e,...t){const r=Object.create(null);for(const n in e)r[n]=e[n];return t.forEach(function(n){for(const i in n)r[i]=n[i]}),r}const Dh="</span>",Ls=e=>!!e.scope,Lh=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const r=e.split(".");return[`${t}${r.shift()}`,...r.map((n,i)=>`${n}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};class Fh{constructor(t,r){this.buffer="",this.classPrefix=r.classPrefix,t.walk(this)}addText(t){this.buffer+=Ds(t)}openNode(t){if(!Ls(t))return;const r=Lh(t.scope,{prefix:this.classPrefix});this.span(r)}closeNode(t){Ls(t)&&(this.buffer+=Dh)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}const Fs=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class L0{constructor(){this.rootNode=Fs(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const r=Fs({scope:t});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,r){return typeof r=="string"?t.addText(r):r.children&&(t.openNode(r),r.children.forEach(n=>this._walk(t,n)),t.closeNode(r)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(r=>typeof r=="string")?t.children=[t.children.join("")]:t.children.forEach(r=>{L0._collapse(r)}))}}class Ph extends L0{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,r){const n=t.root;r&&(n.scope=`language:${r}`),this.add(n)}toHTML(){return new Fh(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Br(e){return e?typeof e=="string"?e:e.source:null}function Ps(e){return Qt("(?=",e,")")}function qh(e){return Qt("(?:",e,")*")}function Hh(e){return Qt("(?:",e,")?")}function Qt(...e){return e.map(r=>Br(r)).join("")}function Uh(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function F0(...e){return"("+(Uh(e).capture?"":"?:")+e.map(n=>Br(n)).join("|")+")"}function qs(e){return new RegExp(e.toString()+"|").exec("").length-1}function Gh(e,t){const r=e&&e.exec(t);return r&&r.index===0}const jh=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function P0(e,{joinWith:t}){let r=0;return e.map(n=>{r+=1;const i=r;let a=Br(n),s="";for(;a.length>0;){const o=jh.exec(a);if(!o){s+=a;break}s+=a.substring(0,o.index),a=a.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?s+="\\"+String(Number(o[1])+i):(s+=o[0],o[0]==="("&&r++)}return s}).map(n=>`(${n})`).join(t)}const $h=/\b\B/,Hs="[a-zA-Z]\\w*",q0="[a-zA-Z_]\\w*",Us="\\b\\d+(\\.\\d+)?",Gs="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",js="\\b(0b[01]+)",Vh="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Wh=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=Qt(t,/.*\b/,e.binary,/\b.*/)),Xt({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(r,n)=>{r.index!==0&&n.ignoreMatch()}},e)},Rr={begin:"\\\\[\\s\\S]",relevance:0},Xh={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Rr]},Kh={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Rr]},Yh={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},fn=function(e,t,r={}){const n=Xt({scope:"comment",begin:e,end:t,contains:[]},r);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=F0("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:Qt(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},Zh=fn("//","$"),Jh=fn("/\\*","\\*/"),Qh=fn("#","$"),ed={scope:"number",begin:Us,relevance:0},td={scope:"number",begin:Gs,relevance:0},rd={scope:"number",begin:js,relevance:0},nd={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Rr,{begin:/\[/,end:/\]/,relevance:0,contains:[Rr]}]},ad={scope:"title",begin:Hs,relevance:0},id={scope:"title",begin:q0,relevance:0},sd={begin:"\\.\\s*"+q0,relevance:0};var gn=Object.freeze({__proto__:null,APOS_STRING_MODE:Xh,BACKSLASH_ESCAPE:Rr,BINARY_NUMBER_MODE:rd,BINARY_NUMBER_RE:js,COMMENT:fn,C_BLOCK_COMMENT_MODE:Jh,C_LINE_COMMENT_MODE:Zh,C_NUMBER_MODE:td,C_NUMBER_RE:Gs,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,r)=>{r.data._beginMatch=t[1]},"on:end":(t,r)=>{r.data._beginMatch!==t[1]&&r.ignoreMatch()}})},HASH_COMMENT_MODE:Qh,IDENT_RE:Hs,MATCH_NOTHING_RE:$h,METHOD_GUARD:sd,NUMBER_MODE:ed,NUMBER_RE:Us,PHRASAL_WORDS_MODE:Yh,QUOTE_STRING_MODE:Kh,REGEXP_MODE:nd,RE_STARTERS_RE:Vh,SHEBANG:Wh,TITLE_MODE:ad,UNDERSCORE_IDENT_RE:q0,UNDERSCORE_TITLE_MODE:id});function od(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function ld(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function ud(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=od,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function cd(e,t){Array.isArray(e.illegal)&&(e.illegal=F0(...e.illegal))}function hd(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function dd(e,t){e.relevance===void 0&&(e.relevance=1)}const md=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},e);Object.keys(e).forEach(n=>{delete e[n]}),e.keywords=r.keywords,e.begin=Qt(r.beforeMatch,Ps(r.begin)),e.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},e.relevance=0,delete r.beforeMatch},pd=["of","and","for","in","not","or","if","then","parent","list","value"],fd="keyword";function $s(e,t,r=fd){const n=Object.create(null);return typeof e=="string"?i(r,e.split(" ")):Array.isArray(e)?i(r,e):Object.keys(e).forEach(function(a){Object.assign(n,$s(e[a],t,a))}),n;function i(a,s){t&&(s=s.map(o=>o.toLowerCase())),s.forEach(function(o){const l=o.split("|");n[l[0]]=[a,gd(l[0],l[1])]})}}function gd(e,t){return t?Number(t):bd(e)?0:1}function bd(e){return pd.includes(e.toLowerCase())}const Vs={},er=e=>{console.error(e)},Ws=(e,...t)=>{console.log(`WARN: ${e}`,...t)},fr=(e,t)=>{Vs[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Vs[`${e}/${t}`]=!0)},bn=new Error;function Xs(e,t,{key:r}){let n=0;const i=e[r],a={},s={};for(let o=1;o<=t.length;o++)s[o+n]=i[o],a[o+n]=!0,n+=qs(t[o-1]);e[r]=s,e[r]._emit=a,e[r]._multi=!0}function vd(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw er("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),bn;if(typeof e.beginScope!="object"||e.beginScope===null)throw er("beginScope must be object"),bn;Xs(e,e.begin,{key:"beginScope"}),e.begin=P0(e.begin,{joinWith:""})}}function yd(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw er("skip, excludeEnd, returnEnd not compatible with endScope: {}"),bn;if(typeof e.endScope!="object"||e.endScope===null)throw er("endScope must be object"),bn;Xs(e,e.end,{key:"endScope"}),e.end=P0(e.end,{joinWith:""})}}function wd(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function xd(e){wd(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),vd(e),yd(e)}function kd(e){function t(s,o){return new RegExp(Br(s),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(o?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=qs(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=t(P0(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const h=l.findIndex((p,g)=>g>0&&p!==void 0),d=this.matchIndexes[h];return l.splice(0,h),Object.assign(l,d)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new r;return this.rules.slice(o).forEach(([h,d])=>l.addRule(h,d)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let h=l.exec(o);if(this.resumingScanAtSamePosition()&&!(h&&h.index===this.lastIndex)){const d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,h=d.exec(o)}return h&&(this.regexIndex+=h.position+1,this.regexIndex===this.count&&this.considerAll()),h}}function i(s){const o=new n;return s.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),o}function a(s,o){const l=s;if(s.isCompiled)return l;[ld,hd,xd,md].forEach(d=>d(s,o)),e.compilerExtensions.forEach(d=>d(s,o)),s.__beforeBegin=null,[ud,cd,dd].forEach(d=>d(s,o)),s.isCompiled=!0;let h=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),h=s.keywords.$pattern,delete s.keywords.$pattern),h=h||/\w+/,s.keywords&&(s.keywords=$s(s.keywords,e.case_insensitive)),l.keywordPatternRe=t(h,!0),o&&(s.begin||(s.begin=/\B|\b/),l.beginRe=t(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=t(l.end)),l.terminatorEnd=Br(l.end)||"",s.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+o.terminatorEnd)),s.illegal&&(l.illegalRe=t(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(d){return zd(d==="self"?s:d)})),s.contains.forEach(function(d){a(d,l)}),s.starts&&a(s.starts,o),l.matcher=i(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Xt(e.classNameAliases||{}),a(e)}function Ks(e){return e?e.endsWithParent||Ks(e.starts):!1}function zd(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Xt(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Ks(e)?Xt(e,{starts:e.starts?Xt(e.starts):null}):Object.isFrozen(e)?Xt(e):e}var Sd="11.9.0";class Ed extends Error{constructor(t,r){super(t),this.name="HTMLInjectionError",this.html=r}}const H0=Ds,Ys=Xt,Zs=Symbol("nomatch"),Ad=7,Js=function(e){const t=Object.create(null),r=Object.create(null),n=[];let i=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Ph};function l(O){return o.noHighlightRe.test(O)}function h(O){let L=O.className+" ";L+=O.parentNode?O.parentNode.className:"";const Q=o.languageDetectRe.exec(L);if(Q){const v=G(Q[1]);return v||(Ws(a.replace("{}",Q[1])),Ws("Falling back to no-highlight mode for this block.",O)),v?Q[1]:"no-highlight"}return L.split(/\s+/).find(v=>l(v)||G(v))}function d(O,L,Q){let v="",se="";typeof L=="object"?(v=O,Q=L.ignoreIllegals,se=L.language):(fr("10.7.0","highlight(lang, code, ...args) has been deprecated."),fr("10.7.0",`Please use highlight(code, options) instead.
277
- https://github.com/highlightjs/highlight.js/issues/2277`),se=O,v=L),Q===void 0&&(Q=!0);const ce={code:v,language:se};re("before:highlight",ce);const x=ce.result?ce.result:p(ce.language,ce.code,Q);return x.code=ce.code,re("after:highlight",x),x}function p(O,L,Q,v){const se=Object.create(null);function ce(B,F){return B.keywords[F]}function x(){if(!ie.keywords){De.addText(ke);return}let B=0;ie.keywordPatternRe.lastIndex=0;let F=ie.keywordPatternRe.exec(ke),J="";for(;F;){J+=ke.substring(B,F.index);const me=Ge.case_insensitive?F[0].toLowerCase():F[0],Ae=ce(ie,me);if(Ae){const[Le,nr]=Ae;if(De.addText(J),J="",se[me]=(se[me]||0)+1,se[me]<=Ad&&(br+=nr),Le.startsWith("_"))J+=F[0];else{const ar=Ge.classNameAliases[Le]||Le;ye(F[0],ar)}}else J+=F[0];B=ie.keywordPatternRe.lastIndex,F=ie.keywordPatternRe.exec(ke)}J+=ke.substring(B),De.addText(J)}function Oe(){if(ke==="")return;let B=null;if(typeof ie.subLanguage=="string"){if(!t[ie.subLanguage]){De.addText(ke);return}B=p(ie.subLanguage,ke,!0,yn[ie.subLanguage]),yn[ie.subLanguage]=B._top}else B=m(ke,ie.subLanguage.length?ie.subLanguage:null);ie.relevance>0&&(br+=B.relevance),De.__addSublanguage(B._emitter,B.language)}function we(){ie.subLanguage!=null?Oe():x(),ke=""}function ye(B,F){B!==""&&(De.startScope(F),De.addText(B),De.endScope())}function Xe(B,F){let J=1;const me=F.length-1;for(;J<=me;){if(!B._emit[J]){J++;continue}const Ae=Ge.classNameAliases[B[J]]||B[J],Le=F[J];Ae?ye(Le,Ae):(ke=Le,x(),ke=""),J++}}function Fe(B,F){return B.scope&&typeof B.scope=="string"&&De.openNode(Ge.classNameAliases[B.scope]||B.scope),B.beginScope&&(B.beginScope._wrap?(ye(ke,Ge.classNameAliases[B.beginScope._wrap]||B.beginScope._wrap),ke=""):B.beginScope._multi&&(Xe(B.beginScope,F),ke="")),ie=Object.create(B,{parent:{value:ie}}),ie}function Je(B,F,J){let me=Gh(B.endRe,J);if(me){if(B["on:end"]){const Ae=new Is(B);B["on:end"](F,Ae),Ae.isMatchIgnored&&(me=!1)}if(me){for(;B.endsParent&&B.parent;)B=B.parent;return B}}if(B.endsWithParent)return Je(B.parent,F,J)}function Qe(B){return ie.matcher.regexIndex===0?(ke+=B[0],1):(j=!0,0)}function tr(B){const F=B[0],J=B.rule,me=new Is(J),Ae=[J.__beforeBegin,J["on:begin"]];for(const Le of Ae)if(Le&&(Le(B,me),me.isMatchIgnored))return Qe(F);return J.skip?ke+=F:(J.excludeBegin&&(ke+=F),we(),!J.returnBegin&&!J.excludeBegin&&(ke=F)),Fe(J,B),J.returnBegin?0:F.length}function Or(B){const F=B[0],J=L.substring(B.index),me=Je(ie,B,J);if(!me)return Zs;const Ae=ie;ie.endScope&&ie.endScope._wrap?(we(),ye(F,ie.endScope._wrap)):ie.endScope&&ie.endScope._multi?(we(),Xe(ie.endScope,B)):Ae.skip?ke+=F:(Ae.returnEnd||Ae.excludeEnd||(ke+=F),we(),Ae.excludeEnd&&(ke=F));do ie.scope&&De.closeNode(),!ie.skip&&!ie.subLanguage&&(br+=ie.relevance),ie=ie.parent;while(ie!==me.parent);return me.starts&&Fe(me.starts,B),Ae.returnEnd?0:F.length}function Ir(){const B=[];for(let F=ie;F!==Ge;F=F.parent)F.scope&&B.unshift(F.scope);B.forEach(F=>De.openNode(F))}let mt={};function Kt(B,F){const J=F&&F[0];if(ke+=B,J==null)return we(),0;if(mt.type==="begin"&&F.type==="end"&&mt.index===F.index&&J===""){if(ke+=L.slice(F.index,F.index+1),!i){const me=new Error(`0 width match regex (${O})`);throw me.languageName=O,me.badRule=mt.rule,me}return 1}if(mt=F,F.type==="begin")return tr(F);if(F.type==="illegal"&&!Q){const me=new Error('Illegal lexeme "'+J+'" for mode "'+(ie.scope||"<unnamed>")+'"');throw me.mode=ie,me}else if(F.type==="end"){const me=Or(F);if(me!==Zs)return me}if(F.type==="illegal"&&J==="")return 1;if(_>1e5&&_>F.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ke+=J,J.length}const Ge=G(O);if(!Ge)throw er(a.replace("{}",O)),new Error('Unknown language: "'+O+'"');const rr=kd(Ge);let pt="",ie=v||rr;const yn={},De=new o.__emitter(o);Ir();let ke="",br=0,It=0,_=0,j=!1;try{if(Ge.__emitTokens)Ge.__emitTokens(L,De);else{for(ie.matcher.considerAll();;){_++,j?j=!1:ie.matcher.considerAll(),ie.matcher.lastIndex=It;const B=ie.matcher.exec(L);if(!B)break;const F=L.substring(It,B.index),J=Kt(F,B);It=B.index+J}Kt(L.substring(It))}return De.finalize(),pt=De.toHTML(),{language:O,value:pt,relevance:br,illegal:!1,_emitter:De,_top:ie}}catch(B){if(B.message&&B.message.includes("Illegal"))return{language:O,value:H0(L),illegal:!0,relevance:0,_illegalBy:{message:B.message,index:It,context:L.slice(It-100,It+100),mode:B.mode,resultSoFar:pt},_emitter:De};if(i)return{language:O,value:H0(L),illegal:!1,relevance:0,errorRaised:B,_emitter:De,_top:ie};throw B}}function g(O){const L={value:H0(O),illegal:!1,relevance:0,_top:s,_emitter:new o.__emitter(o)};return L._emitter.addText(O),L}function m(O,L){L=L||o.languages||Object.keys(t);const Q=g(O),v=L.filter(G).filter(V).map(we=>p(we,O,!1));v.unshift(Q);const se=v.sort((we,ye)=>{if(we.relevance!==ye.relevance)return ye.relevance-we.relevance;if(we.language&&ye.language){if(G(we.language).supersetOf===ye.language)return 1;if(G(ye.language).supersetOf===we.language)return-1}return 0}),[ce,x]=se,Oe=ce;return Oe.secondBest=x,Oe}function z(O,L,Q){const v=L&&r[L]||Q;O.classList.add("hljs"),O.classList.add(`language-${v}`)}function k(O){let L=null;const Q=h(O);if(l(Q))return;if(re("before:highlightElement",{el:O,language:Q}),O.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",O);return}if(O.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(O)),o.throwUnescapedHTML))throw new Ed("One of your code blocks includes unescaped HTML.",O.innerHTML);L=O;const v=L.textContent,se=Q?d(v,{language:Q,ignoreIllegals:!0}):m(v);O.innerHTML=se.value,O.dataset.highlighted="yes",z(O,Q,se.language),O.result={language:se.language,re:se.relevance,relevance:se.relevance},se.secondBest&&(O.secondBest={language:se.secondBest.language,relevance:se.secondBest.relevance}),re("after:highlightElement",{el:O,result:se,text:v})}function N(O){o=Ys(o,O)}const A=()=>{W(),fr("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function C(){W(),fr("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let R=!1;function W(){if(document.readyState==="loading"){R=!0;return}document.querySelectorAll(o.cssSelector).forEach(k)}function H(){R&&W()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",H,!1);function T(O,L){let Q=null;try{Q=L(e)}catch(v){if(er("Language definition for '{}' could not be registered.".replace("{}",O)),i)er(v);else throw v;Q=s}Q.name||(Q.name=O),t[O]=Q,Q.rawDefinition=L.bind(null,e),Q.aliases&&M(Q.aliases,{languageName:O})}function X(O){delete t[O];for(const L of Object.keys(r))r[L]===O&&delete r[L]}function ee(){return Object.keys(t)}function G(O){return O=(O||"").toLowerCase(),t[O]||t[r[O]]}function M(O,{languageName:L}){typeof O=="string"&&(O=[O]),O.forEach(Q=>{r[Q.toLowerCase()]=L})}function V(O){const L=G(O);return L&&!L.disableAutodetect}function $(O){O["before:highlightBlock"]&&!O["before:highlightElement"]&&(O["before:highlightElement"]=L=>{O["before:highlightBlock"](Object.assign({block:L.el},L))}),O["after:highlightBlock"]&&!O["after:highlightElement"]&&(O["after:highlightElement"]=L=>{O["after:highlightBlock"](Object.assign({block:L.el},L))})}function de(O){$(O),n.push(O)}function ue(O){const L=n.indexOf(O);L!==-1&&n.splice(L,1)}function re(O,L){const Q=O;n.forEach(function(v){v[Q]&&v[Q](L)})}function ve(O){return fr("10.7.0","highlightBlock will be removed entirely in v12.0"),fr("10.7.0","Please use highlightElement now."),k(O)}Object.assign(e,{highlight:d,highlightAuto:m,highlightAll:W,highlightElement:k,highlightBlock:ve,configure:N,initHighlighting:A,initHighlightingOnLoad:C,registerLanguage:T,unregisterLanguage:X,listLanguages:ee,getLanguage:G,registerAliases:M,autoDetection:V,inherit:Ys,addPlugin:de,removePlugin:ue}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=Sd,e.regex={concat:Qt,lookahead:Ps,either:F0,optional:Hh,anyNumberOfTimes:qh};for(const O in gn)typeof gn[O]=="object"&&Os(gn[O]);return Object.assign(e,gn),e},gr=Js({});gr.newInstance=()=>Js({});var Td=gr;gr.HighlightJS=gr,gr.default=gr;const Qs=Ih(Td),Md=Object.freeze(Object.defineProperty({__proto__:null,HighlightJS:Qs,default:Qs},Symbol.toStringTag,{value:"Module"})),eo="[A-Za-z$_][0-9A-Za-z$_]*",Cd=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Nd=["true","false","null","undefined","NaN","Infinity"],to=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ro=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],no=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],_d=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Bd=[].concat(no,to,ro);function Rd(e){const t=e.regex,r=(L,{after:Q})=>{const v="</"+L[0].slice(1);return L.input.indexOf(v,Q)!==-1},n=eo,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(L,Q)=>{const v=L[0].length+L.index,se=L.input[v];if(se==="<"||se===","){Q.ignoreMatch();return}se===">"&&(r(L,{after:v})||Q.ignoreMatch());let ce;const x=L.input.substring(v);if(ce=x.match(/^\s*=/)){Q.ignoreMatch();return}if((ce=x.match(/^\s+extends\s+/))&&ce.index===0){Q.ignoreMatch();return}}},o={$pattern:eo,keyword:Cd,literal:Nd,built_in:Bd,"variable.language":_d},l="[0-9](_?[0-9])*",h=`\\.(${l})`,d="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:`(\\b(${d})((${h})|\\.)?|(${h}))[eE][+-]?(${l})\\b`},{begin:`\\b(${d})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},g={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"xml"}},z={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"graphql"}},N={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,g]},C={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,z,k,N,{match:/\$\d+/},p];g.contains=R.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(R)});const W=[].concat(C,g.contains),H=W.concat([{begin:/\(/,end:/\)/,keywords:o,contains:["self"].concat(W)}]),T={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:H},X={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},ee={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...to,...ro]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[T],illegal:/%/},V={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function $(L){return t.concat("(?!",L.join("|"),")")}const de={match:t.concat(/\b/,$([...no,"super","import"]),n,t.lookahead(/\(/)),className:"title.function",relevance:0},ue={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},re={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},ve="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",O={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(ve)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:H,CLASS_REFERENCE:ee},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,z,k,N,C,{match:/\$\d+/},p,ee,{className:"attr",begin:n+t.lookahead(":"),relevance:0},O,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[C,e.REGEXP_MODE,{className:"function",begin:ve,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:H}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[T,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},ue,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},de,V,X,re,{match:/\$[(.]/}]}}const Od=Object.freeze(Object.defineProperty({__proto__:null,default:Rd},Symbol.toStringTag,{value:"Module"}));function Id(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],n=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],a=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:i.concat(a),built_in:t,literal:n},o=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},d=e.inherit(h,{illegal:/\n/}),p={className:"subst",begin:/\{/,end:/\}/,keywords:s},g=e.inherit(p,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},z={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]},k=e.inherit(z,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});p.contains=[z,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.C_BLOCK_COMMENT_MODE],g.contains=[k,m,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const N={variants:[z,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},A={begin:"<",end:">",contains:[{beginKeywords:"in out"},o]},C=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",R={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},N,l,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},o,A,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,A,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+C+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,A],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[N,l,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},R]}}const Dd=Object.freeze(Object.defineProperty({__proto__:null,default:Id},Symbol.toStringTag,{value:"Module"}));function Ld(e){const t=e.regex,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},h={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},d={begin:/\{\{/,relevance:0},p={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l,d,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l,d,h]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,d,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,d,h]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",m=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,z=`\\b|${n.join("|")}`,k={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${m}))[eE][+-]?(${g})[jJ]?(?=${z})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${z})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${z})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${z})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${z})`},{begin:`\\b(${g})[jJ](?=${z})`}]},N={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},A={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",l,k,p,e.HASH_COMMENT_MODE]}]};return h.contains=[p,k,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|\?)|=>/,contains:[l,k,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},p,N,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[A]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[k,A,p]}]}}const Fd=Object.freeze(Object.defineProperty({__proto__:null,default:Ld},Symbol.toStringTag,{value:"Module"})),Pd=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qd=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Hd=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],Ud=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Gd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],jd=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function $d(e){const t=e.regex,r=Pd(e),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",a=/@-?\w[\w]*(-\w+)*/,s="[a-zA-Z-][a-zA-Z0-9_-]*",o=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,n,r.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+s,relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+Ud.join("|")+")"},{begin:":(:)?("+Gd.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+jd.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:Hd.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+qd.join("|")+")\\b"}]}}const Vd=Object.freeze(Object.defineProperty({__proto__:null,default:$d},Symbol.toStringTag,{value:"Module"})),vn="[A-Za-z$_][0-9A-Za-z$_]*",ao=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],io=["true","false","null","undefined","NaN","Infinity"],so=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],oo=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],lo=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],uo=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],co=[].concat(lo,so,oo);function Wd(e){const t=e.regex,r=(L,{after:Q})=>{const v="</"+L[0].slice(1);return L.input.indexOf(v,Q)!==-1},n=vn,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(L,Q)=>{const v=L[0].length+L.index,se=L.input[v];if(se==="<"||se===","){Q.ignoreMatch();return}se===">"&&(r(L,{after:v})||Q.ignoreMatch());let ce;const x=L.input.substring(v);if(ce=x.match(/^\s*=/)){Q.ignoreMatch();return}if((ce=x.match(/^\s+extends\s+/))&&ce.index===0){Q.ignoreMatch();return}}},o={$pattern:vn,keyword:ao,literal:io,built_in:co,"variable.language":uo},l="[0-9](_?[0-9])*",h=`\\.(${l})`,d="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:`(\\b(${d})((${h})|\\.)?|(${h}))[eE][+-]?(${l})\\b`},{begin:`\\b(${d})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},g={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"xml"}},z={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"graphql"}},N={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,g]},C={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,z,k,N,{match:/\$\d+/},p];g.contains=R.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(R)});const W=[].concat(C,g.contains),H=W.concat([{begin:/\(/,end:/\)/,keywords:o,contains:["self"].concat(W)}]),T={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:H},X={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},ee={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...so,...oo]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[T],illegal:/%/},V={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function $(L){return t.concat("(?!",L.join("|"),")")}const de={match:t.concat(/\b/,$([...lo,"super","import"]),n,t.lookahead(/\(/)),className:"title.function",relevance:0},ue={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},re={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},ve="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",O={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(ve)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:H,CLASS_REFERENCE:ee},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,z,k,N,C,{match:/\$\d+/},p,ee,{className:"attr",begin:n+t.lookahead(":"),relevance:0},O,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[C,e.REGEXP_MODE,{className:"function",begin:ve,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:H}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[T,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},ue,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},de,V,X,re,{match:/\$[(.]/}]}}function Xd(e){const t=Wd(e),r=vn,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[t.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},o=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],l={$pattern:vn,keyword:ao.concat(o),literal:io,built_in:co.concat(n),"variable.language":uo},h={className:"meta",begin:"@"+r},d=(g,m,z)=>{const k=g.contains.findIndex(N=>N.label===m);if(k===-1)throw new Error("can not find mode to replace");g.contains.splice(k,1,z)};Object.assign(t.keywords,l),t.exports.PARAMS_CONTAINS.push(h),t.contains=t.contains.concat([h,i,a]),d(t,"shebang",e.SHEBANG()),d(t,"use_strict",s);const p=t.contains.find(g=>g.label==="func.def");return p.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t}const Kd=Object.freeze(Object.defineProperty({__proto__:null,default:Xd},Symbol.toStringTag,{value:"Module"})),zt=Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}));nt.AIChat=Oh,Object.defineProperty(nt,Symbol.toStringTag,{value:"Module"})});
264
+ ?)[ \r ]*`,ua="[̀-ͯ]",Rh=new RegExp(ua+"+$"),Ih="("+ro+"+)|"+(Bh+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(ua+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ua+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Nh)+("|"+_h+")");class no{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(Ih,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new zt("EOF",new bt(this,r,r));var n=this.tokenRegex.exec(e);if(n===null||n.index!==r)throw new L("Unexpected character: '"+e[r]+"'",new zt(e[r],new bt(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=e.indexOf(`
265
+ `,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=e.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=a+1,this.lex()}return new zt(i,new bt(this,r,this.tokenRegex.lastIndex))}}class Oh{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new L("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(e)&&(a[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var Dh=Bs;g("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),g("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}}),g("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}}),g("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}}),g("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),g("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),g("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var io={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};g("\\char",function(t){var e=t.popToken(),r,n="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")n=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new L("\\char` missing argument");n=e.text.charCodeAt(0)}else r=10;if(r){if(n=io[e.text],n==null||n>=r)throw new L("Invalid base-"+r+" digit "+e.text);for(var i;(i=io[t.future().text])!=null&&i<r;)n*=r,n+=i,t.popToken()}return"\\@char{"+n+"}"});var ca=(t,e,r)=>{var n=t.consumeArg().tokens;if(n.length!==1)throw new L("\\newcommand's first argument must be a macro name");var i=n[0].text,a=t.isDefined(i);if(a&&!e)throw new L("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!r)throw new L("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(n=t.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var o="",u=t.expandNextToken();u.text!=="]"&&u.text!=="EOF";)o+=u.text,u=t.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new L("Invalid number of arguments: "+o);s=parseInt(o),n=t.consumeArg().tokens}return t.macros.set(i,{tokens:n,numArgs:s}),""};g("\\newcommand",t=>ca(t,!1,!0)),g("\\renewcommand",t=>ca(t,!0,!1)),g("\\providecommand",t=>ca(t,!0,!0)),g("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""}),g("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""}),g("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),br[r],Ie.math[r],Ie.text[r]),""}),g("\\bgroup","{"),g("\\egroup","}"),g("~","\\nobreakspace"),g("\\lq","`"),g("\\rq","'"),g("\\aa","\\r a"),g("\\AA","\\r A"),g("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),g("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),g("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),g("ℬ","\\mathscr{B}"),g("ℰ","\\mathscr{E}"),g("ℱ","\\mathscr{F}"),g("ℋ","\\mathscr{H}"),g("ℐ","\\mathscr{I}"),g("ℒ","\\mathscr{L}"),g("ℳ","\\mathscr{M}"),g("ℛ","\\mathscr{R}"),g("ℭ","\\mathfrak{C}"),g("ℌ","\\mathfrak{H}"),g("ℨ","\\mathfrak{Z}"),g("\\Bbbk","\\Bbb{k}"),g("·","\\cdotp"),g("\\llap","\\mathllap{\\textrm{#1}}"),g("\\rlap","\\mathrlap{\\textrm{#1}}"),g("\\clap","\\mathclap{\\textrm{#1}}"),g("\\mathstrut","\\vphantom{(}"),g("\\underbar","\\underline{\\text{#1}}"),g("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),g("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),g("\\ne","\\neq"),g("≠","\\neq"),g("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),g("∉","\\notin"),g("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),g("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),g("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),g("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),g("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),g("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),g("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),g("⟂","\\perp"),g("‼","\\mathclose{!\\mkern-0.8mu!}"),g("∌","\\notni"),g("⌜","\\ulcorner"),g("⌝","\\urcorner"),g("⌞","\\llcorner"),g("⌟","\\lrcorner"),g("©","\\copyright"),g("®","\\textregistered"),g("️","\\textregistered"),g("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),g("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),g("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),g("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),g("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),g("⋮","\\vdots"),g("\\varGamma","\\mathit{\\Gamma}"),g("\\varDelta","\\mathit{\\Delta}"),g("\\varTheta","\\mathit{\\Theta}"),g("\\varLambda","\\mathit{\\Lambda}"),g("\\varXi","\\mathit{\\Xi}"),g("\\varPi","\\mathit{\\Pi}"),g("\\varSigma","\\mathit{\\Sigma}"),g("\\varUpsilon","\\mathit{\\Upsilon}"),g("\\varPhi","\\mathit{\\Phi}"),g("\\varPsi","\\mathit{\\Psi}"),g("\\varOmega","\\mathit{\\Omega}"),g("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),g("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),g("\\boxed","\\fbox{$\\displaystyle{#1}$}"),g("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),g("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),g("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),g("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),g("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var ao={",":"\\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"};g("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in ao?e=ao[r]:(r.slice(0,4)==="\\not"||r in Ie.math&&ie.contains(["bin","rel"],Ie.math[r].group))&&(e="\\dotsb"),e});var ha={")":!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};g("\\dotso",function(t){var e=t.future().text;return e in ha?"\\ldots\\,":"\\ldots"}),g("\\dotsc",function(t){var e=t.future().text;return e in ha&&e!==","?"\\ldots\\,":"\\ldots"}),g("\\cdots",function(t){var e=t.future().text;return e in ha?"\\@cdots\\,":"\\@cdots"}),g("\\dotsb","\\cdots"),g("\\dotsm","\\cdots"),g("\\dotsi","\\!\\cdots"),g("\\dotsx","\\ldots\\,"),g("\\DOTSI","\\relax"),g("\\DOTSB","\\relax"),g("\\DOTSX","\\relax"),g("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),g("\\,","\\tmspace+{3mu}{.1667em}"),g("\\thinspace","\\,"),g("\\>","\\mskip{4mu}"),g("\\:","\\tmspace+{4mu}{.2222em}"),g("\\medspace","\\:"),g("\\;","\\tmspace+{5mu}{.2777em}"),g("\\thickspace","\\;"),g("\\!","\\tmspace-{3mu}{.1667em}"),g("\\negthinspace","\\!"),g("\\negmedspace","\\tmspace-{4mu}{.2222em}"),g("\\negthickspace","\\tmspace-{5mu}{.277em}"),g("\\enspace","\\kern.5em "),g("\\enskip","\\hskip.5em\\relax"),g("\\quad","\\hskip1em\\relax"),g("\\qquad","\\hskip2em\\relax"),g("\\tag","\\@ifstar\\tag@literal\\tag@paren"),g("\\tag@paren","\\tag@literal{({#1})}"),g("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new L("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),g("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),g("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),g("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),g("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),g("\\newline","\\\\\\relax"),g("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var so=H(Pt["Main-Regular"][84][1]-.7*Pt["Main-Regular"][65][1]);g("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+so+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),g("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+so+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),g("\\hspace","\\@ifstar\\@hspacer\\@hspace"),g("\\@hspace","\\hskip #1\\relax"),g("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),g("\\ordinarycolon",":"),g("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),g("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),g("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),g("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),g("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),g("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),g("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),g("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),g("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),g("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),g("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),g("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),g("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),g("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),g("∷","\\dblcolon"),g("∹","\\eqcolon"),g("≔","\\coloneqq"),g("≕","\\eqqcolon"),g("⩴","\\Coloneqq"),g("\\ratio","\\vcentcolon"),g("\\coloncolon","\\dblcolon"),g("\\colonequals","\\coloneqq"),g("\\coloncolonequals","\\Coloneqq"),g("\\equalscolon","\\eqqcolon"),g("\\equalscoloncolon","\\Eqqcolon"),g("\\colonminus","\\coloneq"),g("\\coloncolonminus","\\Coloneq"),g("\\minuscolon","\\eqcolon"),g("\\minuscoloncolon","\\Eqcolon"),g("\\coloncolonapprox","\\Colonapprox"),g("\\coloncolonsim","\\Colonsim"),g("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),g("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),g("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),g("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),g("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),g("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),g("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),g("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),g("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),g("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),g("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),g("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),g("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),g("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),g("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),g("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),g("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),g("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),g("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),g("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),g("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),g("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),g("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),g("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),g("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),g("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),g("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),g("\\imath","\\html@mathml{\\@imath}{ı}"),g("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),g("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),g("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),g("⟦","\\llbracket"),g("⟧","\\rrbracket"),g("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),g("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),g("⦃","\\lBrace"),g("⦄","\\rBrace"),g("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),g("⦵","\\minuso"),g("\\darr","\\downarrow"),g("\\dArr","\\Downarrow"),g("\\Darr","\\Downarrow"),g("\\lang","\\langle"),g("\\rang","\\rangle"),g("\\uarr","\\uparrow"),g("\\uArr","\\Uparrow"),g("\\Uarr","\\Uparrow"),g("\\N","\\mathbb{N}"),g("\\R","\\mathbb{R}"),g("\\Z","\\mathbb{Z}"),g("\\alef","\\aleph"),g("\\alefsym","\\aleph"),g("\\Alpha","\\mathrm{A}"),g("\\Beta","\\mathrm{B}"),g("\\bull","\\bullet"),g("\\Chi","\\mathrm{X}"),g("\\clubs","\\clubsuit"),g("\\cnums","\\mathbb{C}"),g("\\Complex","\\mathbb{C}"),g("\\Dagger","\\ddagger"),g("\\diamonds","\\diamondsuit"),g("\\empty","\\emptyset"),g("\\Epsilon","\\mathrm{E}"),g("\\Eta","\\mathrm{H}"),g("\\exist","\\exists"),g("\\harr","\\leftrightarrow"),g("\\hArr","\\Leftrightarrow"),g("\\Harr","\\Leftrightarrow"),g("\\hearts","\\heartsuit"),g("\\image","\\Im"),g("\\infin","\\infty"),g("\\Iota","\\mathrm{I}"),g("\\isin","\\in"),g("\\Kappa","\\mathrm{K}"),g("\\larr","\\leftarrow"),g("\\lArr","\\Leftarrow"),g("\\Larr","\\Leftarrow"),g("\\lrarr","\\leftrightarrow"),g("\\lrArr","\\Leftrightarrow"),g("\\Lrarr","\\Leftrightarrow"),g("\\Mu","\\mathrm{M}"),g("\\natnums","\\mathbb{N}"),g("\\Nu","\\mathrm{N}"),g("\\Omicron","\\mathrm{O}"),g("\\plusmn","\\pm"),g("\\rarr","\\rightarrow"),g("\\rArr","\\Rightarrow"),g("\\Rarr","\\Rightarrow"),g("\\real","\\Re"),g("\\reals","\\mathbb{R}"),g("\\Reals","\\mathbb{R}"),g("\\Rho","\\mathrm{P}"),g("\\sdot","\\cdot"),g("\\sect","\\S"),g("\\spades","\\spadesuit"),g("\\sub","\\subset"),g("\\sube","\\subseteq"),g("\\supe","\\supseteq"),g("\\Tau","\\mathrm{T}"),g("\\thetasym","\\vartheta"),g("\\weierp","\\wp"),g("\\Zeta","\\mathrm{Z}"),g("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),g("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),g("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),g("\\bra","\\mathinner{\\langle{#1}|}"),g("\\ket","\\mathinner{|{#1}\\rangle}"),g("\\braket","\\mathinner{\\langle{#1}\\rangle}"),g("\\Bra","\\left\\langle#1\\right|"),g("\\Ket","\\left|#1\\right\\rangle");var oo=t=>e=>{var r=e.consumeArg().tokens,n=e.consumeArg().tokens,i=e.consumeArg().tokens,a=e.consumeArg().tokens,s=e.macros.get("|"),o=e.macros.get("\\|");e.macros.beginGroup();var u=f=>b=>{t&&(b.macros.set("|",s),i.length&&b.macros.set("\\|",o));var p=f;if(!f&&i.length){var z=b.future();z.text==="|"&&(b.popToken(),p=!0)}return{tokens:p?i:n,numArgs:0}};e.macros.set("|",u(!1)),i.length&&e.macros.set("\\|",u(!0));var h=e.consumeArg().tokens,d=e.expandTokens([...a,...h,...r]);return e.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};g("\\bra@ket",oo(!1)),g("\\bra@set",oo(!0)),g("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),g("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),g("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),g("\\angln","{\\angl n}"),g("\\blue","\\textcolor{##6495ed}{#1}"),g("\\orange","\\textcolor{##ffa500}{#1}"),g("\\pink","\\textcolor{##ff00af}{#1}"),g("\\red","\\textcolor{##df0030}{#1}"),g("\\green","\\textcolor{##28ae7b}{#1}"),g("\\gray","\\textcolor{gray}{#1}"),g("\\purple","\\textcolor{##9d38bd}{#1}"),g("\\blueA","\\textcolor{##ccfaff}{#1}"),g("\\blueB","\\textcolor{##80f6ff}{#1}"),g("\\blueC","\\textcolor{##63d9ea}{#1}"),g("\\blueD","\\textcolor{##11accd}{#1}"),g("\\blueE","\\textcolor{##0c7f99}{#1}"),g("\\tealA","\\textcolor{##94fff5}{#1}"),g("\\tealB","\\textcolor{##26edd5}{#1}"),g("\\tealC","\\textcolor{##01d1c1}{#1}"),g("\\tealD","\\textcolor{##01a995}{#1}"),g("\\tealE","\\textcolor{##208170}{#1}"),g("\\greenA","\\textcolor{##b6ffb0}{#1}"),g("\\greenB","\\textcolor{##8af281}{#1}"),g("\\greenC","\\textcolor{##74cf70}{#1}"),g("\\greenD","\\textcolor{##1fab54}{#1}"),g("\\greenE","\\textcolor{##0d923f}{#1}"),g("\\goldA","\\textcolor{##ffd0a9}{#1}"),g("\\goldB","\\textcolor{##ffbb71}{#1}"),g("\\goldC","\\textcolor{##ff9c39}{#1}"),g("\\goldD","\\textcolor{##e07d10}{#1}"),g("\\goldE","\\textcolor{##a75a05}{#1}"),g("\\redA","\\textcolor{##fca9a9}{#1}"),g("\\redB","\\textcolor{##ff8482}{#1}"),g("\\redC","\\textcolor{##f9685d}{#1}"),g("\\redD","\\textcolor{##e84d39}{#1}"),g("\\redE","\\textcolor{##bc2612}{#1}"),g("\\maroonA","\\textcolor{##ffbde0}{#1}"),g("\\maroonB","\\textcolor{##ff92c6}{#1}"),g("\\maroonC","\\textcolor{##ed5fa6}{#1}"),g("\\maroonD","\\textcolor{##ca337c}{#1}"),g("\\maroonE","\\textcolor{##9e034e}{#1}"),g("\\purpleA","\\textcolor{##ddd7ff}{#1}"),g("\\purpleB","\\textcolor{##c6b9fc}{#1}"),g("\\purpleC","\\textcolor{##aa87ff}{#1}"),g("\\purpleD","\\textcolor{##7854ab}{#1}"),g("\\purpleE","\\textcolor{##543b78}{#1}"),g("\\mintA","\\textcolor{##f5f9e8}{#1}"),g("\\mintB","\\textcolor{##edf2df}{#1}"),g("\\mintC","\\textcolor{##e0e5cc}{#1}"),g("\\grayA","\\textcolor{##f6f7f7}{#1}"),g("\\grayB","\\textcolor{##f0f1f2}{#1}"),g("\\grayC","\\textcolor{##e3e5e6}{#1}"),g("\\grayD","\\textcolor{##d6d8da}{#1}"),g("\\grayE","\\textcolor{##babec2}{#1}"),g("\\grayF","\\textcolor{##888d93}{#1}"),g("\\grayG","\\textcolor{##626569}{#1}"),g("\\grayH","\\textcolor{##3b3e40}{#1}"),g("\\grayI","\\textcolor{##21242c}{#1}"),g("\\kaBlue","\\textcolor{##314453}{#1}"),g("\\kaGreen","\\textcolor{##71B307}{#1}");var lo={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Lh{constructor(e,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(e),this.macros=new Oh(Dh,r.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new no(e,this.settings)}switchMode(e){this.mode=e}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(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,n,i;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new zt("EOF",n.loc)),this.pushTokens(i),r.range(n,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],n=e&&e.length>0;n||this.consumeSpaces();var i=this.future(),a,s=0,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++s;else if(a.text==="}"){if(--s,s===-1)throw new L("Extra }",a)}else if(a.text==="EOF")throw new L("Unexpected end of input in a macro argument, expected '"+(e&&n?e[o]:"}")+"'",a);if(e&&n)if((s===0||s===1&&e[o]==="{")&&a.text===e[o]){if(++o,o===e.length){r.splice(-o,o);break}}else o=0}while(s!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new L("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;i<n.length;i++){var a=this.popToken();if(n[i]!==a.text)throw new L("Use of the macro doesn't match its definition",a)}}for(var s=[],o=0;o<e;o++)s.push(this.consumeArg(r&&r[o+1]).tokens);return s}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new L("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||e&&i.unexpandable){if(e&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new L("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var a=i.tokens,s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var u=a[o];if(u.text==="#"){if(o===0)throw new L("Incomplete placeholder at end of macro body",u);if(u=a[--o],u.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(u.text))a.splice(o,2,...s[+u.text-1]);else throw new L("Not a valid argument number",u)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new zt(e)]):void 0}expandTokens(e){var r=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(n=>n.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var s=i.replace(/##/g,"");s.indexOf("#"+(a+1))!==-1;)++a;for(var o=new no(i,this.settings),u=[],h=o.lex();h.text!=="EOF";)u.push(h),h=o.lex();u.reverse();var d={tokens:u,numArgs:a};return d}return i}isDefined(e){return this.macros.has(e)||br.hasOwnProperty(e)||Ie.math.hasOwnProperty(e)||Ie.text.hasOwnProperty(e)||lo.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:br.hasOwnProperty(e)&&!br[e].primitive}}var uo=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Xn=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),da={"́":{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"}},co={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Kn{constructor(e,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 Lh(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new L("Expected '"+e+"', 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(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new zt("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(e,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(Kn.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||e&&br[i.text]&&br[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var r=-1,n,i=0;i<e.length;i++)if(e[i].type==="infix"){if(r!==-1)throw new L("only one infix operator per group",e[i].token);r=i,n=e[i].replaceWith}if(r!==-1&&n){var a,s,o=e.slice(0,r),u=e.slice(r+1);o.length===1&&o[0].type==="ordgroup"?a=o[0]:a={type:"ordgroup",mode:this.mode,body:o},u.length===1&&u[0].type==="ordgroup"?s=u[0]:s={type:"ordgroup",mode:this.mode,body:u};var h;return n==="\\\\abovefrac"?h=this.callFunction(n,[a,e[r],s],[]):h=this.callFunction(n,[a,s],[]),[h]}else return e}handleSupSubscript(e){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var i=this.parseGroup(e);if(!i)throw new L("Expected group after '"+n+"'",r);return i}formatUnsupportedCmd(e){for(var r=[],n=0;n<e.length;n++)r.push({type:"textord",mode:"text",text:e[n]});var i={type:"text",mode:this.mode,body:r},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(e){var r=this.parseGroup("atom",e);if(this.mode==="text")return r;for(var n,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(r&&r.type==="op"){var s=a.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=a.text==="\\limits");else throw new L("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(n)throw new L("Double superscript",a);n=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new L("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(n)throw new L("Double superscript",a);var o={type:"textord",mode:this.mode,text:"\\prime"},u=[o];for(this.consume();this.fetch().text==="'";)u.push(o),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:u}}else if(Xn[a.text]){var h=uo.test(a.text),d=[];for(d.push(new zt(Xn[a.text])),this.consume();;){var f=this.fetch().text;if(!Xn[f]||uo.test(f)!==h)break;d.unshift(new zt(Xn[f])),this.consume()}var b=this.subparse(d);h?i={type:"ordgroup",mode:"math",body:b}:n={type:"ordgroup",mode:"math",body:b}}else break}return n||i?{type:"supsub",mode:this.mode,base:r,sup:n,sub:i}:r}parseFunction(e,r){var n=this.fetch(),i=n.text,a=br[i];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new L("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!a.allowedInText)throw new L("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&a.allowedInMath===!1)throw new L("Can't use function '"+i+"' in math mode",n);var{args:s,optArgs:o}=this.parseArguments(i,a);return this.callFunction(i,s,o,n,e)}callFunction(e,r,n,i,a){var s={funcName:e,parser:this,token:i,breakOnTokenText:a},o=br[e];if(o&&o.handler)return o.handler(s,r,n);throw new L("No function handler for "+e)}parseArguments(e,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var i=[],a=[],s=0;s<n;s++){var o=r.argTypes&&r.argTypes[s],u=s<r.numOptionalArgs;(r.primitive&&o==null||r.type==="sqrt"&&s===1&&a[0]==null)&&(o="primitive");var h=this.parseGroupOfType("argument to '"+e+"'",o,u);if(u)a.push(h);else if(h!=null)i.push(h);else throw new L("Null argument, please report this as a bug")}return{args:i,optArgs:a}}parseGroupOfType(e,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 i=this.parseArgumentGroup(n,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",n);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(n)throw new L("A primitive argument cannot be optional");var s=this.parseGroup(e);if(s==null)throw new L("Expected group as "+e,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new L("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(e,r){for(var n=this.fetch(),i=n,a="",s;(s=this.fetch()).text!=="EOF"&&e.test(a+s.text);)i=s,a+=i.text,this.consume();if(a==="")throw new L("Invalid "+r+": '"+n.text+"'",n);return n.range(i,a)}parseColorGroup(e){var r=this.parseStringGroup("color",e);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new L("Invalid color: '"+r.text+"'",r);var i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(e){var r,n=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",e),!r)return null;!e&&r.text.length===0&&(r.text="0pt",n=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!i)throw new L("Invalid size: '"+r.text+"'",r);var a={number:+(i[1]+i[2]),unit:i[3]};if(!$0(a))throw new L("Invalid unit: '"+a.unit+"'",r);return{type:"size",mode:this.mode,value:a,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",e);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(e,r){var n=this.gullet.scanArgument(e);if(n==null)return null;var i=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:a};return r&&this.switchMode(i),s}parseGroup(e,r){var n=this.fetch(),i=n.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var s=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,s),u=this.fetch();this.expect(s),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:bt.range(n,u),body:o,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,e)||this.parseSymbol(),a==null&&i[0]==="\\"&&!lo.hasOwnProperty(i)){if(this.settings.throwOnError)throw new L("Undefined control sequence: "+i,n);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(e){for(var r=e.length-1,n=0;n<r;++n){var i=e[n],a=i.text;a==="-"&&e[n+1].text==="-"&&(n+1<r&&e[n+2].text==="-"?(e.splice(n,3,{type:"textord",mode:"text",loc:bt.range(i,e[n+2]),text:"---"}),r-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:bt.range(i,e[n+1]),text:"--"}),r-=1)),(a==="'"||a==="`")&&e[n+1].text===a&&(e.splice(n,2,{type:"textord",mode:"text",loc:bt.range(i,e[n+1]),text:a+a}),r-=1)}}parseSymbol(){var e=this.fetch(),r=e.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),i=n.charAt(0)==="*";if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new L(`\\verb assertion failed --
266
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}co.hasOwnProperty(r[0])&&!Ie[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',e),r=co[r[0]]+r.slice(1));var a=Rh.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(Ie[this.mode][r]){this.settings.strict&&this.mode==="math"&&Li.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var o=Ie[this.mode][r].group,u=bt.range(e),h;if(Ec.hasOwnProperty(o)){var d=o;h={type:"atom",mode:this.mode,family:d,loc:u,text:r}}else h={type:o,mode:this.mode,loc:u,text:r};s=h}else if(r.charCodeAt(0)>=128)this.settings.strict&&(P0(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:bt.range(e),text:r};else return null;if(this.consume(),a)for(var f=0;f<a[0].length;f++){var b=a[0][f];if(!da[b])throw new L("Unknown accent ' "+b+"'",e);var p=da[b][this.mode]||da[b].text;if(!p)throw new L("Accent "+b+" unsupported in "+this.mode+" mode",e);s={type:"accent",mode:this.mode,loc:bt.range(e),label:p,isStretchy:!1,isShifty:!0,base:s}}return s}}Kn.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var ma=function(e,r){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Kn(e,r);delete n.gullet.macros.current["\\df@tag"];var i=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 L("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new zt("\\df@tag")])}]}return i},ho=function(e,r,n){r.textContent="";var i=pa(e,n).toNode();r.appendChild(i)};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."),ho=function(){throw new L("KaTeX doesn't work in quirks mode.")});var Fh=function(e,r){var n=pa(e,r).toMarkup();return n},Ph=function(e,r){var n=new Ti(r);return ma(e,n)},mo=function(e,r,n){if(n.throwOnError||!(e instanceof L))throw e;var i=T.makeSpan(["katex-error"],[new Tt(r)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+n.errorColor),i},pa=function(e,r){var n=new Ti(r);try{var i=ma(e,n);return Xc(i,e,n)}catch(a){return mo(a,e,n)}},qh=function(e,r){var n=new Ti(r);try{var i=ma(e,n);return Kc(i,e,n)}catch(a){return mo(a,e,n)}},Hh={version:"0.16.15",render:ho,renderToString:Fh,ParseError:L,SETTINGS_SCHEMA:An,__parse:Ph,__renderToDomTree:pa,__renderToHTMLTree:qh,__setFontMetrics:vc,__defineSymbol:l,__defineFunction:K,__defineMacro:g,__domTree:{Span:nn,Anchor:Bi,SymbolNode:Tt,SvgNode:Yt,PathNode:mr,LineNode:Ri}};const Uh=Object.freeze(Object.defineProperty({__proto__:null,default:Hh},Symbol.toStringTag,{value:"Module"}));function Gh(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function t(u){const h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},u)}function e(){this.buffer()}function r(){const u=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=u}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(u){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.stack[this.stack.length-1];d.type,this.exit(u),d.value=h;const f=d.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function a(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function s(u){const h=this.resume(),d=this.stack[this.stack.length-1];d.type,this.exit(u),d.value=h,d.data.hChildren.push({type:"text",value:h})}function o(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function $h(t){const e=/(```[\s\S]+?```|~~~[\s\S]+?~~~)/g,r=t.split(e),n=/\\\((.*?)\\\)/g,i=/\\\[([\s\S]*?)\\\]/g;for(let a=0;a<r.length;a++)a%2===0&&(r[a]=r[a].replace(n,(s,o)=>`$${o}$`).replace(i,(s,o)=>`$$${o}$$`));return r.join("")}function po(t,e,r,n){const i=y1($h(e),{extensions:[E1(),G1()],mdastExtensions:[M1(),Gh(),...n]}),a={},s={};fo(i,a,s),fa(i,t,a,s,r)}function fo(t,e,r){for(const n of t.children){switch(n.type){case"definition":const i=n.identifier;i&&(e[i]=n,r[i.toLowerCase()]=n);continue}n.children&&fo(n,e,r)}}function fa(t,e,r,n,i){var s;let a=e.firstChild;for(const o of t.children){let u;switch(o.type){case"inlineMath":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN"&&Yn.has(a))){for(;a;){const p=a.nextSibling;a.remove(),a=p}a=document.createElement("span"),e.appendChild(a)}go(a,o.value),a=a.nextSibling;continue}case"math":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="DIV"&&Yn.has(a))){for(;a;){const p=a.nextSibling;a.remove(),a=p}a=document.createElement("div"),e.appendChild(a)}go(a,o.value),a=a.nextSibling;continue}case"code":{let p=bo.get(a);if(p)p.updateCode(o.lang,o.value);else{for(;a;){const z=a.nextSibling;a.remove(),a=z}p=new O0(o.lang,o.value),a=p.node,bo.set(a,p),e.appendChild(a)}a=a.nextSibling;continue}case"html":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN")){for(;a;){const p=a.nextSibling;a.remove(),a=p}a=document.createElement("span"),e.appendChild(a)}a.innerHTML=o.value,a=a.nextSibling;continue;case"inlineCode":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="CODE")){for(;a;){const p=a.nextSibling;a.remove(),a=p}a=document.createElement("code"),e.appendChild(a)}a.textContent=o.value,a=a.nextSibling;continue;case"text":let h=o.value,d;for(;cn.has(a);){d=a;const p=cn.get(a);if(h.startsWith(p))h=h.substring(p.length),a=a.nextSibling;else break}if(!h)continue;for(;a;){const p=a.nextSibling;a.remove(),a=p}if(d&&!h.trim()){const p=cn.get(d)+h;d.textContent=p,cn.set(d,p);continue}const f=document.createElement("span");f.textContent=h,cn.set(f,h),e.appendChild(f);continue;case"yaml":continue;case"break":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="BR")){for(;a;){const p=a.nextSibling;a.remove(),a=p}e.appendChild(a=document.createElement("br"))}a=a.nextSibling;continue;case"thematicBreak":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="HR")){for(;a;){const p=a.nextSibling;a.remove(),a=p}a=document.createElement("hr"),e.appendChild(a)}a=a.nextSibling;continue;case"image":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="IMG")){for(;a;){const z=a.nextSibling;a.remove(),a=z}a=document.createElement("img"),e.appendChild(a)}const p=o.url;if(p)if(p.startsWith("python://")){let z=p.substring(9);try{a.src=D1(i,z)}catch(E){console.error(E),a.src=""}}else a.src=p;else a.src="";a.alt=o.alt||"",a.title=o.title||"",a=a.nextSibling;continue}case"linkReference":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="A")){for(;a;){const p=a.nextSibling;a.remove(),a=p}a=document.createElement("a"),e.appendChild(a)}fa(o,a,r,n,i);let b;switch(o.referenceType){case"shortcut":b=r[a.textContent.toLowerCase()];break;case"collapsed":b=n[a.textContent.toLowerCase()]||r[a.textContent.toLowerCase()];break;case"full":b=n[(s=o.identifier)==null?void 0:s.toLowerCase()];break}a.href=(b==null?void 0:b.url)||"",a.target="_blank",a.title=(b==null?void 0:b.title)||"",a=a.nextSibling;continue;case"definition":continue;case"footnoteDefinition":case"footnoteReference":case"imageReference":continue;case"blockquote":u="BLOCKQUOTE";break;case"delete":u="DEL";break;case"emphasis":u="EM";break;case"heading":u="H"+o.depth;break;case"link":u="A";break;case"list":u=o.ordered?"OL":"UL";break;case"listItem":u="LI";break;case"paragraph":u="P";break;case"strong":u="STRONG";break;case"table":u="TABLE";break;case"tableCell":u="TD";break;case"tableRow":u="TR";break;default:console.warn("Unknown MDAST node type: "+o.type);continue}if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName===u)){for(;a;){const h=a.nextSibling;a.remove(),a=h}a=document.createElement(u),e.appendChild(a)}u==="A"&&(a.href=o.url||"",a.target="_blank",a.title=o.title||""),fa(o,a,r,n,i),a=a.nextSibling}for(;a;){const o=a.nextSibling;a.remove(),a=o}}let ga;function Wh(){return ga||(ga=Promise.resolve().then(()=>Uh)),ga}async function go(t,e){let r=Yn.get(t);r==null||r.cancel(),Yn.set(t,r=new Fr),(async()=>{const n=await Wh();r.isCancellationRequested||n.default.render(e,t,{throwOnError:!1})})()}const Yn=new WeakMap,bo=new WeakMap,cn=new WeakMap;function jh(t){const r=t.trim().replace(/[^\w\s]|_/g,"").replace(/\s+/g," ").toUpperCase().split(" ");if(r.length===1&&r[0]==="")return"?";let n=r[0][0];return r.length>1&&(n+=r[1][0]),n}function Vh({as:t="div",size:e="avatar-lg",id:r,...n},i){const a=F(t,{...n},i);return t==="button"&&!("type"in n)&&(a.type="button"),a.classList.add("avatar"),e&&a.classList.add(e),r&&a.classList.add(...Xh(r)),a}const vo=[["bg-Land-Green-95","text-Land-Green-30"],["bg-Sunflower-85","text-Sunflower-20"],["bg-Energy-Red-95","text-Energy-Red-45"],["bg-Sea-Blue-Main-28","text-Sky-Blue-95"],["bg-Lavender-90","text-Lavender-50"],["bg-Eucalyptus-85","text-Eucalyptus-20"],["bg-Terracotta-85","text-Terracotta-20"]];function Xh(t){const e=Kh(t);return vo[Math.floor(Math.abs(e%vo.length))]}function Kh(t){let e=0;for(let r=0;r<t.length;r++)e=t.charCodeAt(r)+((e<<5)-e);return e}var Yr=(t=>(t[t.Error=0]="Error",t[t.Danger=1]="Danger",t[t.Warning=2]="Warning",t[t.Info=3]="Info",t[t.Success=4]="Success",t))(Yr||{}),Zr=(t=>(t[t.Primary=0]="Primary",t[t.Secondary=1]="Secondary",t[t.Tertiary=2]="Tertiary",t[t.Destructive=3]="Destructive",t[t.CTA=4]="CTA",t))(Zr||{});function Je(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}var rr=(t=>(t.ExtraSmall="16",t.Small="20",t.Medium="24",t.Large="28",t.ExtraLarge="32",t.ExtraExtraLarge="40",t))(rr||{});function Zn({size:t=rr.Medium,...e}){const r=Je("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),ht(r,e);const n=Je("path");return n.setAttribute("d","M413.505 91.951L133.49 371.966l-98.995-98.995c-4.686-4.686-12.284-4.686-16.971 0L6.211 284.284c-4.686 4.686-4.686 12.284 0 16.971l118.794 118.794c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.686-4.686-12.284-4.686-16.97 0z"),r.appendChild(n),r.classList.add("icon"),r}function Yh({size:t=rr.Medium,...e}){const r=Je("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),ht(r,e);const n=Je("path");return n.setAttribute("d","M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 464c-118.664 0-216-96.055-216-216 0-118.663 96.055-216 216-216 118.664 0 216 96.055 216 216 0 118.663-96.055 216-216 216zm141.63-274.961L217.15 376.071c-4.705 4.667-12.303 4.637-16.97-.068l-85.878-86.572c-4.667-4.705-4.637-12.303.068-16.97l8.52-8.451c4.705-4.667 12.303-4.637 16.97.068l68.976 69.533 163.441-162.13c4.705-4.667 12.303-4.637 16.97.068l8.451 8.52c4.668 4.705 4.637 12.303-.068 16.97z"),r.appendChild(n),r}function yo({size:t=rr.Medium,...e}){const r=Je("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),ht(r,e);const n=Je("path");return n.setAttribute("d","M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-11.49 120h22.979c6.823 0 12.274 5.682 11.99 12.5l-7 168c-.268 6.428-5.556 11.5-11.99 11.5h-8.979c-6.433 0-11.722-5.073-11.99-11.5l-7-168c-.283-6.818 5.167-12.5 11.99-12.5zM256 340c-15.464 0-28 12.536-28 28s12.536 28 28 28 28-12.536 28-28-12.536-28-28-28z"),r.appendChild(n),r.classList.add("icon"),r}function wo({size:t=rr.Medium,...e}){const r=Je("svg");r.setAttribute("viewBox","0 0 576 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),ht(r,e);const n=Je("path");return n.setAttribute("d","M270.2 160h35.5c3.4 0 6.1 2.8 6 6.2l-7.5 196c-.1 3.2-2.8 5.8-6 5.8h-20.5c-3.2 0-5.9-2.5-6-5.8l-7.5-196c-.1-3.4 2.6-6.2 6-6.2zM288 388c-15.5 0-28 12.5-28 28s12.5 28 28 28 28-12.5 28-28-12.5-28-28-28zm281.5 52L329.6 24c-18.4-32-64.7-32-83.2 0L6.5 440c-18.4 31.9 4.6 72 41.6 72H528c36.8 0 60-40 41.5-72zM528 480H48c-12.3 0-20-13.3-13.9-24l240-416c6.1-10.6 21.6-10.7 27.7 0l240 416c6.2 10.6-1.5 24-13.8 24z"),r.appendChild(n),r.classList.add("icon"),r}function xo({size:t=rr.Medium,...e}){const r=Je("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),ht(r,e);const n=Je("path");return n.setAttribute("d","M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-36 344h12V232h-12c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h48c6.627 0 12 5.373 12 12v140h12c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12h-72c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12zm36-240c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z"),r.appendChild(n),r.classList.add("icon"),r}var hn=(t=>(t.ExtraSmall="20",t.Small="24",t.Medium="32",t.Large="40",t.ExtraLarge="48",t.ExtraExtraLarge="60",t.ExtraExtraExtraLarge="80",t.ExtraExtraExtraExtraLarge="120",t))(hn||{});function Jn({size:t="80",...e}){const r=Je("svg");r.setAttribute("viewBox","0 0 80 80"),r.setAttribute("fill","none"),r.setAttribute("width",t),r.setAttribute("height",t),ht(r,e),r.setAttribute("class",(r.getAttribute("class")??"")+" animate-spin");const n=Je("path");n.setAttribute("d","M40 6.15385C21.3073 6.15385 6.15385 21.3073 6.15385 40C6.15385 58.6927 21.3073 73.8462 40 73.8462C58.6927 73.8462 73.8462 58.6927 73.8462 40C73.8462 21.3073 58.6927 6.15385 40 6.15385ZM0 40C0 17.9086 17.9086 0 40 0C62.0914 0 80 17.9086 80 40C80 62.0914 62.0914 80 40 80C17.9086 80 0 62.0914 0 40Z"),n.setAttribute("fill","#99BEFF"),r.appendChild(n);const i=Je("path");return i.setAttribute("d","M36.9229 3.07692C36.9229 1.37759 38.3004 0 39.9998 0C45.2526 0 50.4541 1.03463 55.3071 3.04482C60.1601 5.05501 64.5697 8.00138 68.284 11.7157C71.9984 15.4301 74.9448 19.8396 76.955 24.6927C78.9651 29.5457 79.9998 34.7471 79.9998 40C79.9998 41.6993 78.6222 43.0769 76.9228 43.0769C75.2235 43.0769 73.8459 41.6993 73.8459 40C73.8459 35.5553 72.9705 31.154 71.2695 27.0476C69.5686 22.9412 67.0755 19.2101 63.9326 16.0672C60.7897 12.9242 57.0585 10.4312 52.9521 8.73023C48.8457 7.0293 44.4445 6.15385 39.9998 6.15385C38.3004 6.15385 36.9229 4.77626 36.9229 3.07692Z"),i.setAttribute("fill","#003591"),r.appendChild(i),r}class Zh{constructor(e,r){W(this,"node");W(this,"buttons",{});W(this,"buttonsFieldset");this.context=e;let n;switch(r.type){case Yr.Error:n=F(yo,{class:"text-Energy-Red-45"});break;case Yr.Danger:n=F(wo,{class:"text-Energy-Red-45"});break;case Yr.Warning:n=F(wo,{class:"text-Terracotta-30"});break;case Yr.Info:n=F(xo,{class:"text-Sea-Blue-Main-28"});break;case Yr.Success:n=F(Yh,{class:"text-Land-Green-30"});break}n.classList.add("shrink-0");for(const a of r.buttons)this.buttons[a.value]=new Jh(this,a);let i;this.node=F("section",{class:"max-w-lg text-left my-2 bg-Sandstone-97 select-none border border-Light"},F("div",{class:"p-6 pb-3 flex gap-5"},n,F("div",null,F("h6",null,r.title),i=F("div",{class:"prose prose-sm prose-neutral"}))),this.buttonsFieldset=F("fieldset",{class:"p-6 pt-3 flex justify-end gap-3"},Object.values(this.buttons).map(a=>a.node))),po(i,r.textInMarkdown,this.context.conversationMessage.chat.pyodide,this.context.conversationMessage.chat.mdastExtensions)}onClientResult(e){this.buttons[e].selected()}onOpcodeMessageToolCallErrorReceived(e){this.buttonsFieldset.disabled=!0;for(const r in this.buttons)this.buttons[r].possiblyRemoveSpinner()}onErrorWhileReadingBodyStream(e){this.buttonsFieldset.disabled=!0;for(const r in this.buttons)this.buttons[r].possiblyRemoveSpinner()}}class Jh{constructor(e,r){W(this,"node");W(this,"_spinner");this.dialog=e,this.buttonOption=r,this.node=F(kn,{class:Qh(this.buttonOption.variant)+" min-w-24",size:Qr.Medium,onclick:()=>this.onClickAsync()},this.buttonOption.text)}async onClickAsync(){this.dialog.buttonsFieldset.disabled=!0,this.node.insertBefore(this._spinner=F(Jn,{size:hn.ExtraSmall}),this.node.firstChild);try{await this.dialog.context.postResultAsync(this.buttonOption.value)}catch(e){throw e}}selected(){this.node.insertBefore(F(Zn,{size:rr.Small}),this.node.firstChild)}possiblyRemoveSpinner(){var e;(e=this._spinner)==null||e.remove()}}function Qh(t){switch(t){case Zr.Primary:return jt.Primary;case Zr.Secondary:return jt.Secondary;case Zr.Tertiary:return jt.Tertiary;case Zr.Destructive:return jt.Destructive;case Zr.CTA:return jt.CTA}}class ed{constructor(){W(this,"_dataByIndex",{})}append(e){const r=this._dataByIndex[e.toolCallUpdateIndex];return r?(e.llmFunctionId&&(r.llmFunctionId=e.llmFunctionId),e.toolCallUpdateName&&(r.functionName=e.toolCallUpdateName),e.toolCallUpdateArguments&&(r.functionArguments+=e.toolCallUpdateArguments),r):this._dataByIndex[e.toolCallUpdateIndex]=new ko(e.llmFunctionId,e.toolCallUpdateName,e.toolCallUpdateArguments??"")}clear(){this._dataByIndex={}}}class ko{constructor(e,r,n){this.llmFunctionId=e,this.functionName=r,this.functionArguments=n}}function td(t){const e=[];let r=0;for(;r<t.length;)if(t[r]==="\\"&&r+1<t.length){switch(t[r+1]){case"n":e.push(`
267
+ `);break;case"t":e.push(" ");break;case"r":e.push("\r");break;case"\\":e.push("\\");break;case"'":e.push("'");break;case'"':e.push('"');break;case"b":e.push("\b");break;case"f":e.push("\f");break;case"v":e.push("\v");break;case"a":e.push("a");break;case"0":e.push("\0");break;case"u":r+5<t.length&&(e.push(String.fromCharCode(parseInt(t.substring(r+2,r+6),16))),r+=4);break;case"U":r+9<t.length&&(e.push(String.fromCodePoint(parseInt(t.substring(r+2,r+10),16))),r+=8);break;default:e.push(t[r+1]);break}r+=2}else e.push(t[r]),r++;return e.join("")}function rd(t){const e=[...nd(t)];if(e.length){const n=e[e.length-1];n===","?e.pop():n===":"&&e.push("undefined")}const r=[];for(const n of e)if(n==="{"||n==="[")r.push(n);else if(n==="}")if(r.length&&r[r.length-1]==="{")r.pop();else throw new Error("Invalid JSON");else if(n==="]")if(r.length&&r[r.length-1]==="[")r.pop();else throw new Error("Invalid JSON");for(;r.length;)r.pop()==="{"?e.push("}"):e.push("]");return JSON.parse(e.join(""))}function*nd(t){for(let e=0;e<t.length;++e){let r=t[e];switch(r){case" ":case" ":case`
268
+ `:case"\r":break;case",":case":":case"{":case"}":case"[":case"]":yield r;break;case'"':let n=e++;for(;;++e)if(e<t.length){if(r=t[e],r==='"'){yield t.substring(n,e+1);break}if(r==="\\")if(e+1<t.length)if(t[e+1]==="u")if(e+5<t.length)e+=5;else{yield t.substring(n,e)+'"';return}else++e;else{yield t.substring(n,e)+'"';return}}else{yield t.substring(n,e)+'"';return}break;default:yield r;break}}}function So({size:t=rr.Medium,...e}){const r=Je("svg");r.setAttribute("viewBox","0 0 256 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),ht(r,e);const n=Je("path");return n.setAttribute("d","M119.5 326.9L3.5 209.1c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0L128 287.3l100.4-102.2c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.7 4.7 12.3 0 17L136.5 327c-4.7 4.6-12.3 4.6-17-.1z"),r.appendChild(n),r.classList.add("icon"),r}function ba({size:t=rr.Medium,...e}){const r=Je("svg");r.setAttribute("viewBox","0 0 320 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",t),r.setAttribute("height",t),ht(r,e);const n=Je("path");return n.setAttribute("d","M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"),r.appendChild(n),r.classList.add("icon"),r}class zo{constructor(e,r){W(this,"node");W(this,"_buttonNode");W(this,"_buttonIconWrapperNode");W(this,"_expanded",!1);W(this,"_expandedCt");W(this,"_contentWrapperNode");W(this,"_contentNode");W(this,"_highlightCode");W(this,"_stdoutStderrNode");W(this,"_stdoutNode");W(this,"_stderrNode");W(this,"_resultNode");W(this,"_resultRawNode");W(this,"_errorNode");W(this,"_ignoreSetResult");this.context=e,this.context.conversationMessage.chat.lazyInitializePyodideAsync(),this._highlightCode=new O0("python",r instanceof ko?Eo(r.functionArguments):r),this._highlightCode.node.classList.add("p-3","bg-Sandstone-97","text-Black","overflow-x-auto"),this.node=F("div",{class:"my-2"},this._buttonNode=F(kn,{class:"p-2 gap-2 group",variant:jt.Badge,size:Qr.Medium,onclick:()=>this.expanded=!this.expanded},this._buttonIconWrapperNode=F("div",{width:"24px",height:"24px"},F(Jn,{size:hn.Small})),"Generate and run Python code",F(So,{class:"transition-all duration-300 group-data-[expanded=true]:-rotate-180"})),this._contentWrapperNode=F("div",{class:"grid",gridTemplateRows:this._expanded?"1fr":"0fr",opacity:this._expanded?"1":"0","aria-expanded":this._expanded},F("div",{class:"overflow-hidden"},this._contentNode=F("section",{class:"mt-2 border border-Light flex flex-col text-sm"},this._highlightCode.node))))}get expanded(){return this._expanded}set expanded(e){var r;if(e!==this._expanded){(r=this._expandedCt)==null||r.cancel();const n=this._expandedCt=new Fr;this._buttonNode.setAttribute("data-expanded",String(this._expanded=e)),e?(async()=>{try{await lr(this._contentWrapperNode,[{gridTemplateRows:"1fr"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt),await lr(this._contentWrapperNode,[{opacity:"1"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt)}catch(i){if(!n.isCancellationRequested)throw i}})():(async()=>{try{await lr(this._contentWrapperNode,[{opacity:"0"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt),await lr(this._contentWrapperNode,[{gridTemplateRows:"0fr"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt)}catch(i){if(!n.isCancellationRequested)throw i}})()}}setButtonSuccess(){this._buttonNode.setAttribute("data-status","success"),this._buttonIconWrapperNode.replaceChild(F(Zn,null),this._buttonIconWrapperNode.firstChild)}setButtonError(){this._buttonNode.setAttribute("data-status","error"),this._buttonIconWrapperNode.replaceChild(F(ba,null),this._buttonIconWrapperNode.firstChild)}getOrAddStdoutStderrNode(){return this._stdoutStderrNode?this._stdoutStderrNode:(this._stdoutStderrNode=F("section",{class:"border-t border-t-Light p-3 bg-Black text-White text-sm"},F("h1",{class:"mb-2"},"STDOUT / STDERR")),this._contentNode.insertBefore(this._stdoutStderrNode,this._highlightCode.node.nextSibling),this._stdoutStderrNode)}getOrAddStdoutNode(){return this._stdoutNode?this._stdoutNode:(this._stderrNode=null,this._stdoutNode=F("pre",null),this.getOrAddStdoutStderrNode().appendChild(this._stdoutNode),this._stdoutNode)}getOrAddStderrNode(){return this._stderrNode?this._stderrNode:(this._stdoutNode=null,this._stderrNode=F("pre",{class:"text-Energy-Red-45"}),this.getOrAddStdoutStderrNode().appendChild(this._stderrNode),this._stderrNode)}getOrAddErrorNode(){return this._errorNode?this._errorNode:(this._errorNode=F("pre",{class:"border-t border-t-Light border-l-4 border-Energy-Red-45 p-3 text-sm"}),this._contentNode.appendChild(this._errorNode),this._errorNode)}getOrAddResultRawNode(){return this._resultRawNode?this._resultRawNode:(this._resultNode=F("section",{class:"border-t border-t-Light p-3 bg-Black text-White text-sm"},F("h1",{class:"mb-2"},"RESULT"),this._resultRawNode=F("pre",null)),this._contentNode.appendChild(this._resultNode),this._resultRawNode)}onClientResult(e){if(!this._ignoreSetResult){if(e.stdoutAndStderr)for(const r of e.stdoutAndStderr)r.isStderr?this.getOrAddStderrNode().textContent+=r.text:this.getOrAddStdoutNode().textContent+=r.text;e.terminatedWithError?(this.setButtonError(),e.error&&(this.getOrAddErrorNode().textContent=e.error)):e.result&&(this.setButtonSuccess(),this.getOrAddResultRawNode().textContent=e.result)}}onOpcodeMessageToolCallErrorReceived(e){this.setButtonError()}onErrorWhileReadingBodyStream(e){this.setButtonError()}async run(e){this._ignoreSetResult=!0;const r=this.context.conversationMessage.chat,n=[];try{await r.lazyInitializePyodideAsync(),r.pyodide.setStdout({batched:s=>{const o=s.split(`
269
+ `);if(n.length){const u=n[n.length-1];u.isStderr?n.push(...o.map(h=>({isStderr:!1,text:h}))):(u.text+=o.shift(),n.push(...o.map(h=>({isStderr:!1,text:h}))))}else n.push(...o.map(u=>({isStderr:!1,text:u})));this.getOrAddStdoutNode().textContent+=s}}),r.pyodide.setStderr({batched:s=>{const o=s.split(`
270
+ `);if(n.length){const u=n[n.length-1];u.isStderr?(u.text+=o.shift(),n.push(...o.map(h=>({isStderr:!0,text:h})))):n.push(...o.map(h=>({isStderr:!0,text:h})))}else n.push(...o.map(u=>({isStderr:!0,text:u})));this.getOrAddStderrNode().textContent+=s}});const a=await r.runPythonCodeAsync(e);var i=a===void 0?"None":String(a)}catch(a){this.setButtonError();const s=String(a);this.getOrAddErrorNode().textContent=s,console.error(a),await this.context.postResultAsync({terminatedWithError:!0,error:s,stdoutAndStderr:n});return}this.setButtonSuccess(),i&&(this.getOrAddResultRawNode().textContent=i),await this.context.postResultAsync({result:i,stdoutAndStderr:n})}updateWithToolCallData(e){this._highlightCode.updateCode("python",Eo(e.functionArguments))}}function Eo(t){if(!t.startsWith("{"))return t;var e=t.indexOf("Code:");if(e!=-1&&t.substring(0,e).trim()=="{"&&(t='{"Code":'+t.substring(e+5)),e=t.indexOf('"""'),e!=-1){var r=t.lastIndexOf('"""');if(e<r&&t.substring(r+3).trim()=="}"){var n=td(t.substring(e+3,r-(e+3))),i=t.substring(0,e)+JSON.stringify(n)+t.substring(r+3);t=i}}try{var a=rd(t)}catch{return console.warn("Error parsing Python code arguments provided as JSON.",t),""}return(a==null?void 0:a.Code)||""}class id{constructor(e,r){W(this,"node");W(this,"_buttonNode");W(this,"_buttonIconWrapperNode");this.context=e,this.node=F("div",{class:"my-2"},this._buttonNode=F(kn,{as:"div",class:"p-2 pr-3 gap-2 select-none",variant:jt.Badge,size:Qr.Medium},this._buttonIconWrapperNode=F("div",{width:"24px",height:"24px"},F(Jn,{size:hn.Small})),`Search for '${r}'`))}setButtonSuccess(){this._buttonNode.setAttribute("data-status","success"),this._buttonIconWrapperNode.replaceChild(F(Zn,null),this._buttonIconWrapperNode.firstChild)}setButtonError(){this._buttonNode.setAttribute("data-status","error"),this._buttonIconWrapperNode.replaceChild(F(ba,null),this._buttonIconWrapperNode.firstChild)}onOpcodeMessageToolCallResultReceived(e){this.setButtonSuccess()}onOpcodeMessageToolCallErrorReceived(e){this.setButtonError()}onErrorWhileReadingBodyStream(e){this.setButtonError()}run(e){}}class To{constructor(e,r,n,i,a,s){W(this,"node");W(this,"_rightColumnNode");W(this,"_currentMessageBlockNode");W(this,"_currentMessageBlockNodeMarkdown");W(this,"_accumulatedMarkdown","");W(this,"_toolCallBuilder",new ed);W(this,"_clientFunctionInvocationsByOperationId",{});W(this,"_clientFunctionInvocationsByLlmFunctionId",{});W(this,"_subConversations",{});W(this,"_pulseNode");W(this,"_pulseNodeAnimation");this.conversation=e,this.authorRole=r,this.authorId=n,this.authorPictureUrl=i,this.authorDisplayName=a,this.authorEmail=s,this.node=F("li",{class:"p-2 flex gap-2"},F(Vh,{class:"shrink-0",id:this.authorId,title:this.authorDisplayName},this.authorPictureUrl?F("img",{src:this.authorPictureUrl,class:"w-full h-full"}):F("span",{marginTop:"-.1em"},jh(this.authorDisplayName))),this._rightColumnNode=F("div",{class:"shrink-0 flex-1"},F("div",{class:"font-medium text-base leading-5"},this.authorDisplayName))),this.ensureCurrentMessageBlockNode()}get chat(){return this.conversation.chat}ensureCurrentMessageBlockNode(){if(!this._currentMessageBlockNode&&(this._rightColumnNode.appendChild(this._currentMessageBlockNode=F("div",{class:"prose prose-neutral prose-sm max-w-none"})),this._currentMessageBlockNodeMarkdown="",this.authorRole==="assistant")){this._pulseNode=F("div",{class:"inline-flex relative h-3 w-3"},F("div",{class:"absolute inline-flex h-full w-full rounded-full bg-Sky-Blue-80"}),F("div",{class:"relative inline-flex rounded-full h-full w-full bg-Sky-Blue-Main-77"})),this._currentMessageBlockNode.appendChild(this._pulseNode);const e=[{transform:"scale(2.5)",opacity:0,offset:.75},{transform:"scale(2.5)",opacity:0,offset:1}],r={duration:1500,iterations:1/0,easing:"cubic-bezier(0, 0, 0.2, 1)"};this._pulseNodeAnimation=this._pulseNode.firstElementChild.animate(e,r)}}removePulseNodeIfItIsThere(){const e=this._pulseNode;e&&(this._pulseNode=null,this._pulseNodeAnimation.cancel(),e.remove())}append(e){if(this._accumulatedMarkdown+=e,this.ensureCurrentMessageBlockNode(),this._currentMessageBlockNodeMarkdown+=e,this._pulseNode){var r=this._pulseNodeAnimation.currentTime;this._pulseNodeAnimation.pause(),this._pulseNode.remove()}po(this._currentMessageBlockNode,this._currentMessageBlockNodeMarkdown,this.chat.pyodide,this.chat.mdastExtensions),this._pulseNode&&(this._pulseNodeAnimation.currentTime=r,this._pulseNode.classList.add("ml-[1ch]"),ad(this._currentMessageBlockNode).appendChild(this._pulseNode),this._pulseNodeAnimation.play())}toolCallUpdate(e){var n;const r=this._toolCallBuilder.append(e);if(r.llmFunctionId&&r.functionName){let i=this._clientFunctionInvocationsByLlmFunctionId[r.llmFunctionId];if(i){(n=i.updateWithToolCallData)==null||n.call(i,r);return}const a=this.chat.clientFunctionInvocationHandlersPartial[r.functionName];if(a){const s=new a0(r.llmFunctionId,null,this),o=a(s,r);this._clientFunctionInvocationsByLlmFunctionId[r.llmFunctionId]=o,this.removePulseNodeIfItIsThere(),o.node&&(this._rightColumnNode.appendChild(o.node),this._currentMessageBlockNode=null,this._currentMessageBlockNodeMarkdown=null)}}}onOpcodeMessageInvokeClientFunctionReceived(e,r,n,i){var h,d;const a=JSON.parse(i);let s=this._clientFunctionInvocationsByOperationId[r];if(s){s.run(...a);return}if(s=this._clientFunctionInvocationsByLlmFunctionId[e],s&&!s.context.operationId){s.context.operationId=r,this.chat.clientFunctionInvocationsByOperationId[r]=s,this._clientFunctionInvocationsByOperationId[r]=s,(h=s.run)==null||h.call(s,...a);return}const o=new a0(e,r,this),u=this.chat.clientFunctionInvocationHandlers[n];if(u)s=u(o,...a),this.chat.clientFunctionInvocationsByOperationId[r]=s,this._clientFunctionInvocationsByOperationId[r]=s,this._clientFunctionInvocationsByLlmFunctionId[e]=s,(d=s.run)==null||d.call(s,...a),this.removePulseNodeIfItIsThere(),s.node&&(this._rightColumnNode.appendChild(s.node),this._currentMessageBlockNode=null,this._currentMessageBlockNodeMarkdown=null);else{const f=`Function '${n}' not found. This occurs if a tool / function has been invoked, that requires some sort of user interaction (e.g. to obtain confirmation or to fill out some form values), then contacts the front-end to obtain a response, but the front-end is unable to handle the request because the function to be invoked does not exist. This error was thrown in the front-end. This most likely indicates that the bot is set up incorrectly, and the user should contact support.`;o.postErrorAsync(f)}}setClientInvocationResult(e,r){var n;(n=e.onClientResult)==null||n.call(e,r)}setClientInvocationError(e,r){var n;(n=e.onClientError)==null||n.call(e,r)}onOpcodeMessageToolCallResultReceived(e,r){var i;let n=this._clientFunctionInvocationsByLlmFunctionId[e];n&&((i=n.onOpcodeMessageToolCallResultReceived)==null||i.call(n,r),this.onClientFunctionInvocationCompleted(n))}onOpcodeMessageToolCallErrorReceived(e,r){const n=this._clientFunctionInvocationsByLlmFunctionId[e];n&&(n.onOpcodeMessageToolCallErrorReceived(r),this.onClientFunctionInvocationCompleted(n))}onClientFunctionInvocationCompleted(e){e.context.llmFunctionId in this._clientFunctionInvocationsByLlmFunctionId&&(delete this._clientFunctionInvocationsByLlmFunctionId[e.context.llmFunctionId],!Object.keys(this._subConversations).length&&!Object.keys(this._clientFunctionInvocationsByLlmFunctionId).length&&this.ensureCurrentMessageBlockNode())}executeLlmFunctionsBegin(){this._toolCallBuilder.clear()}executeLlmFunctionsEnd(){this.ensureCurrentMessageBlockNode(),this._clientFunctionInvocationsByLlmFunctionId={},this._subConversations={}}subConversationBegin(e,r,n,i,a,s){const o=new sd(this.chat,e,this,s);this.chat.conversationsById.set(e,o),this._subConversations[e]=o,this.removePulseNodeIfItIsThere(),this._rightColumnNode.appendChild(o.node),this._currentMessageBlockNode=null,this._currentMessageBlockNodeMarkdown=null}notifySubConversationEnded(e,r){delete this._subConversations[e.id],!r&&!Object.keys(this._subConversations).length&&!Object.keys(this._clientFunctionInvocationsByLlmFunctionId).length&&this.ensureCurrentMessageBlockNode()}onOpcodeEndReceived(){this.removePulseNodeIfItIsThere(),this._toolCallBuilder.clear(),this._clientFunctionInvocationsByLlmFunctionId={},this._subConversations={}}onErrorWhileReadingBodyStream(e){this.removePulseNodeIfItIsThere();for(const r in this._clientFunctionInvocationsByLlmFunctionId)this._clientFunctionInvocationsByLlmFunctionId[r].onErrorWhileReadingBodyStream(e);this._toolCallBuilder.clear(),this._clientFunctionInvocationsByLlmFunctionId={};for(const r in this._subConversations)this._subConversations[r].onErrorWhileReadingBodyStream(e);this._subConversations={}}toDto(){return{role:this.authorRole,content:this._accumulatedMarkdown}}static installClientFunctions(e){e.clientFunctionInvocationHandlers.python=(r,n)=>{const i=new zo(r,n);return i.run(n),i},e.clientFunctionInvocationHandlersPartial.python=(r,n)=>new zo(r,n),e.clientFunctionInvocationHandlers.ButtonOptionsDialog=(r,n)=>new Zh(r,n),e.clientFunctionInvocationHandlers.search=(r,n)=>new id(r,n)}}function ad(t){for(;;)for(let e=t.lastChild;;e=e.previousSibling)if(e){if(e.nodeType===Node.TEXT_NODE)return t;if(e.nodeType===Node.ELEMENT_NODE){if(e.tagName==="TABLE")return t;t=e;break}}else return t}class Ao{constructor(e,r){W(this,"node");W(this,"messagesListNode");W(this,"messages",[]);W(this,"activeMessage");W(this,"_opcodeConversationEndReceived");W(this,"_opcodeConversationErrorReceived");W(this,"_onErrorWhileReadingBodyStreamCalled");this.chat=e,this.id=r,this.node=this.messagesListNode=F("ol",null)}onOpcodeMessageBeginReceived(e,r,n,i,a){const s=new To(this,e,r,n,i,a);return this.messages.push(this.activeMessage=s),this.messagesListNode.appendChild(s.node),s}onOpcodeMessageAppendReceived(e){this.activeMessage.append(e)}onOpcodeMessageExecuteLlmFunctionsBeginReceived(){this.activeMessage.executeLlmFunctionsBegin()}onOpcodeMessageExecuteLlmFunctionsEndReceived(){this.activeMessage.executeLlmFunctionsEnd()}onOpcodeMessageToolCallUpdateReceived(e){this.activeMessage.toolCallUpdate(e)}onOpcodeMessageToolCallResultReceived(e,r){this.activeMessage.onOpcodeMessageToolCallResultReceived(e,r)}onOpcodeMessageToolCallErrorReceived(e,r){this.activeMessage.onOpcodeMessageToolCallErrorReceived(e,r)}onOpcodeMessageInvokeClientFunctionReceived(e,r,n,i){this.activeMessage.onOpcodeMessageInvokeClientFunctionReceived(e,r,n,i)}onOpcodeMessageSubConversationBeginReceived(e,r,n,i,a,s){this.activeMessage.subConversationBegin(e,r,n,i,a,s)}handleMessage(e){switch(e.type){case Be.MessageBegin:return this.onOpcodeMessageBeginReceived(e.messageAuthorRole,e.messageAuthorId,e.messageAuthorPictureUrl,e.messageAuthorDisplayName,e.messageAuthorEmail),!0;case Be.MessageAppend:return this.onOpcodeMessageAppendReceived(e.appendMessageMarkdown),!0;case Be.MessageToolCallUpdate:return this.onOpcodeMessageToolCallUpdateReceived(e),!0;case Be.MessageToolCallResult:return this.onOpcodeMessageToolCallResultReceived(e.llmFunctionId,e.result),!0;case Be.MessageToolCallError:return this.onOpcodeMessageToolCallErrorReceived(e.llmFunctionId,e.error),!0;case Be.MessageExecuteLlmFunctionsBegin:return this.onOpcodeMessageExecuteLlmFunctionsBeginReceived(),!0;case Be.MessageExecuteLlmFunctionsEnd:return this.onOpcodeMessageExecuteLlmFunctionsEndReceived(),!0;case Be.MessageInvokeClientFunction:return this.onOpcodeMessageInvokeClientFunctionReceived(e.llmFunctionId,e.operationId,e.clientFunctionName,e.argumentsAsJSON),!0;case Be.MessageSubConversationBegin:return this.onOpcodeMessageSubConversationBeginReceived(e.subConversationId,e.messageAuthorId,e.messageAuthorPictureUrl,e.messageAuthorDisplayName,e.messageAuthorEmail,e.subConversationTitle),!0;case Be.ConversationEnd:return this.onOpcodeConversationEndReceived(),!0;case Be.ConversationError:return this.onOpcodeConversationErrorReceived(e.error,e.stackTrace),!0}return!1}onRootConversationEndOfBodyStream(){!this._opcodeConversationEndReceived&&!this._opcodeConversationErrorReceived&&!this._onErrorWhileReadingBodyStreamCalled&&this.onRootConversationUnexpectedEndOfBodyStream(),this.activeMessage=null,this._opcodeConversationEndReceived=!1,this._opcodeConversationErrorReceived=!1,this._onErrorWhileReadingBodyStreamCalled=!1}onRootConversationUnexpectedEndOfBodyStream(){var e,r;(r=(e=this.activeMessage)==null?void 0:e.onErrorWhileReadingBodyStream)==null||r.call(e,new Tl),this.displayError("Unexpected end of response","The response ended unexpectedly. Please check your connectivity. Other possible causes include server instability or a bug.")}onOpcodeConversationEndReceived(){var e;this._opcodeConversationEndReceived=!0,(e=this.activeMessage)==null||e.onOpcodeEndReceived()}onOpcodeConversationErrorReceived(e,r){this._opcodeConversationErrorReceived=!0,e&&console.debug(e,r),this.displayError("Error","An undisclosed error occurred. Please contact Veracity Support.")}onErrorBeforeReadingBodyStreamStarted(e,r){if(r){this.displayInfo("Stopped","The generation of the response was stopped.");return}if(e instanceof Ma){this.displayError("Max limit reached","You have reached the maximum input limit. Please try again later.");return}else this.displayError("Error",String(e.message))}onErrorWhileReadingBodyStream(e,r){var n;this._onErrorWhileReadingBodyStreamCalled=!0,(n=this.activeMessage)==null||n.onErrorWhileReadingBodyStream(e),r?this.displayInfo("Stopped","The generation of the response was stopped."):this.displayError("Error while reading response",String(e.message))}displayError(e,r){this.messagesListNode.appendChild(F("li",{class:"m-2 border border-Light p-6 flex gap-5 bg-Sandstone-97"},F(yo,{class:"text-Energy-Red-45"}),F("div",null,F("h6",null,e),F("div",{class:"prose prose-sm prose-neutral"},F("p",null,r)))))}displayInfo(e,r){this.messagesListNode.appendChild(F("li",{class:"m-2 border border-Light p-6 flex gap-5 bg-Sandstone-97"},F(xo,{class:"text-Sea-Blue-Main-28"}),F("div",null,F("h6",null,e),F("div",{class:"prose prose-sm prose-neutral"},F("p",null,r)))))}}class sd extends Ao{constructor(r,n,i,a){super(r,n);W(this,"_buttonNode");W(this,"_buttonIconWrapperNode");W(this,"_buttonTextNode");W(this,"_contentWrapperNode");W(this,"_contentNode");W(this,"_expanded",!1);W(this,"_expandedCt");this.parentMessage=i,this.title=a,this.node=F("div",{class:"my-2"},this._buttonNode=F(kn,{class:"p-2 gap-2 group",variant:jt.Badge,size:Qr.Medium,onclick:()=>this.expanded=!this.expanded},this._buttonIconWrapperNode=F("div",{width:"24px",height:"24px"},F(Jn,{size:hn.Small})),this.title,F(So,{class:"transition-all duration-300 group-data-[expanded=true]:-rotate-180"})),this._contentWrapperNode=F("div",{class:"grid",gridTemplateRows:this._expanded?"1fr":"0fr",opacity:this._expanded?"1":"0","aria-expanded":this._expanded},F("div",{class:"overflow-hidden"},this._contentNode=F("section",{class:"mt-2 border border-Light flex flex-col bg-Sandstone-95 p-3"},this.messagesListNode))))}get expanded(){return this._expanded}set expanded(r){var n;if(r!==this._expanded){(n=this._expandedCt)==null||n.cancel();const i=this._expandedCt=new Fr;this._buttonNode.setAttribute("data-expanded",String(this._expanded=r)),r?(async()=>{try{await lr(this._contentWrapperNode,[{gridTemplateRows:"1fr"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt),await lr(this._contentWrapperNode,[{opacity:"1"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt)}catch(a){if(!i.isCancellationRequested)throw a}})():(async()=>{try{await lr(this._contentWrapperNode,[{opacity:"0"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt),await lr(this._contentWrapperNode,[{gridTemplateRows:"0fr"}],{duration:300,easing:"ease-in-out",fill:"forwards"},this._expandedCt)}catch(a){if(!i.isCancellationRequested)throw a}})()}}onErrorWhileReadingBodyStream(r){var n;(n=this.activeMessage)==null||n.onErrorWhileReadingBodyStream(r),this.setButtonError(),this.parentMessage.notifySubConversationEnded(this,!0)}onOpcodeConversationEndReceived(){var r;(r=this.activeMessage)==null||r.onOpcodeEndReceived(),this.setButtonSuccess(),this.parentMessage.notifySubConversationEnded(this,!1)}onOpcodeConversationErrorReceived(r,n){var s;r&&console.debug(r,n);const i="An undisclosed error occurred. Please contact Veracity Support.";this.displayError("Error",i);const a=new Error(i);(s=this.activeMessage)==null||s.onErrorWhileReadingBodyStream(a),this.setButtonError(),this.parentMessage.notifySubConversationEnded(this,!1)}setButtonSuccess(){this._buttonNode.setAttribute("data-status","success"),this._buttonIconWrapperNode.replaceChild(F(Zn,null),this._buttonIconWrapperNode.firstChild)}setButtonError(){this._buttonNode.setAttribute("data-status","error"),this._buttonIconWrapperNode.replaceChild(F(ba,null),this._buttonIconWrapperNode.firstChild)}}class od{constructor(e){W(this,"node");W(this,"url");W(this,"fetch");W(this,"conversationsById",new Map);W(this,"rootConversation",new Ao(this,null));W(this,"clientFunctionInvocationHandlers",{});W(this,"clientFunctionInvocationHandlersPartial",{});W(this,"clientFunctionInvocationsByOperationId",{});W(this,"mdastExtensions",[]);W(this,"pyodide");W(this,"_lazyInitializePyodidePromise");W(this,"_completion");this.conversationsById.set(null,this.rootConversation),this.url=e.url,this.fetch=e.fetch??fetch.bind(window),this.node=F("div",null);const r=document.createElement("style");r.textContent=Qo+`
271
+ `+el+`
272
+ `+tl;const n=this.node.attachShadow({mode:"closed"});n.appendChild(r),n.appendChild(this.rootConversation.node),To.installClientFunctions(this)}lazyInitializePyodideAsync(){return this._lazyInitializePyodidePromise??(this._lazyInitializePyodidePromise=this.doInitializePyodide())}async doInitializePyodide(){return this.pyodide=await e0({indexURL:"https://cdn.veracity.com/vcb/pyodide-0.26.4/pyodide/"}),this.pyodide.FS.mkdir("/mnt"),this.pyodide.FS.mkdir("/mnt/data"),this.pyodide}async runPythonCodeAsync(e){return await this.pyodide.loadPackagesFromImports(e),await this.pyodide.runPythonAsync(e)}get canSubmit(){return!this._completion}async submitMessageAsync(e){if(!this.canSubmit)throw new Error("Cannot submit message because another message is currently being processed");this._completion=new nl;const r=this.rootConversation.messages.map(n=>n.toDto());r.push({role:"user",content:e});for(let n=0;n<r.length;++n)if(r[n].role==="user"){const i=n+1;for(;i<r.length&&r[i].role==="user";)r[n].content+=`
273
+ `+r[i].content,r.splice(i,1)}try{await this._completion.startAsync(this.fetch,this.url,r)}catch(n){let i=this._completion.wasStopped;this._completion=null,this.rootConversation.onErrorBeforeReadingBodyStreamStarted(n,i);return}try{for(;await this._completion.waitToReadAsync();)for(const n of this._completion.read()){switch(n.type){case Be.MessageInvokeClientFunctionResult:{const i=this.clientFunctionInvocationsByOperationId[n.operationId];i.context.conversationMessage.setClientInvocationResult(i,JSON.parse(n.result));continue}case Be.MessageInvokeClientFunctionError:{const i=this.clientFunctionInvocationsByOperationId[n.operationId];i.context.conversationMessage.setClientInvocationError(i,n.error);continue}}this.conversationsById.get(n.conversationId).handleMessage(n)}}catch(n){this.rootConversation.onErrorWhileReadingBodyStream(n,this._completion.wasStopped)}finally{this._completion=null,this.rootConversation.onRootConversationEndOfBodyStream()}}stop(){var e;(e=this._completion)==null||e.stop()}}const Gt=Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}));function ld(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var va,Mo;function ud(){if(Mo)return va;Mo=1;function t(x){return x instanceof Map?x.clear=x.delete=x.set=function(){throw new Error("map is read-only")}:x instanceof Set&&(x.add=x.clear=x.delete=function(){throw new Error("set is read-only")}),Object.freeze(x),Object.getOwnPropertyNames(x).forEach(B=>{const X=x[B],pe=typeof X;(pe==="object"||pe==="function")&&!Object.isFrozen(X)&&t(X)}),x}class e{constructor(B){B.data===void 0&&(B.data={}),this.data=B.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(x){return x.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function n(x,...B){const X=Object.create(null);for(const pe in x)X[pe]=x[pe];return B.forEach(function(pe){for(const Ge in pe)X[Ge]=pe[Ge]}),X}const i="</span>",a=x=>!!x.scope,s=(x,{prefix:B})=>{if(x.startsWith("language:"))return x.replace("language:","language-");if(x.includes(".")){const X=x.split(".");return[`${B}${X.shift()}`,...X.map((pe,Ge)=>`${pe}${"_".repeat(Ge+1)}`)].join(" ")}return`${B}${x}`};class o{constructor(B,X){this.buffer="",this.classPrefix=X.classPrefix,B.walk(this)}addText(B){this.buffer+=r(B)}openNode(B){if(!a(B))return;const X=s(B.scope,{prefix:this.classPrefix});this.span(X)}closeNode(B){a(B)&&(this.buffer+=i)}value(){return this.buffer}span(B){this.buffer+=`<span class="${B}">`}}const u=(x={})=>{const B={children:[]};return Object.assign(B,x),B};class h{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(B){this.top.children.push(B)}openNode(B){const X=u({scope:B});this.add(X),this.stack.push(X)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(B){return this.constructor._walk(B,this.rootNode)}static _walk(B,X){return typeof X=="string"?B.addText(X):X.children&&(B.openNode(X),X.children.forEach(pe=>this._walk(B,pe)),B.closeNode(X)),B}static _collapse(B){typeof B!="string"&&B.children&&(B.children.every(X=>typeof X=="string")?B.children=[B.children.join("")]:B.children.forEach(X=>{h._collapse(X)}))}}class d extends h{constructor(B){super(),this.options=B}addText(B){B!==""&&this.add(B)}startScope(B){this.openNode(B)}endScope(){this.closeNode()}__addSublanguage(B,X){const pe=B.root;X&&(pe.scope=`language:${X}`),this.add(pe)}toHTML(){return new o(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function f(x){return x?typeof x=="string"?x:x.source:null}function b(x){return E("(?=",x,")")}function p(x){return E("(?:",x,")*")}function z(x){return E("(?:",x,")?")}function E(...x){return x.map(X=>f(X)).join("")}function I(x){const B=x[x.length-1];return typeof B=="object"&&B.constructor===Object?(x.splice(x.length-1,1),B):{}}function A(...x){return"("+(I(x).capture?"":"?:")+x.map(pe=>f(pe)).join("|")+")"}function _(x){return new RegExp(x.toString()+"|").exec("").length-1}function R(x,B){const X=x&&x.exec(B);return X&&X.index===0}const Y=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function U(x,{joinWith:B}){let X=0;return x.map(pe=>{X+=1;const Ge=X;let $e=f(pe),te="";for(;$e.length>0;){const Q=Y.exec($e);if(!Q){te+=$e;break}te+=$e.substring(0,Q.index),$e=$e.substring(Q.index+Q[0].length),Q[0][0]==="\\"&&Q[1]?te+="\\"+String(Number(Q[1])+Ge):(te+=Q[0],Q[0]==="("&&X++)}return te}).map(pe=>`(${pe})`).join(B)}const C=/\b\B/,V="[a-zA-Z]\\w*",ee="[a-zA-Z_]\\w*",j="\\b\\d+(\\.\\d+)?",M="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",$="\\b(0b[01]+)",G="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",be=(x={})=>{const B=/^#![ ]*\//;return x.binary&&(x.begin=E(B,/.*\b/,x.binary,/\b.*/)),n({scope:"meta",begin:B,end:/$/,relevance:0,"on:begin":(X,pe)=>{X.index!==0&&pe.ignoreMatch()}},x)},he={begin:"\\\\[\\s\\S]",relevance:0},le={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[he]},Ee={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[he]},Me={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ue=function(x,B,X={}){const pe=n({scope:"comment",begin:x,end:B,contains:[]},X);pe.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const Ge=A("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return pe.contains.push({begin:E(/[ ]+/,"(",Ge,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),pe},Ce=ue("//","$"),w=ue("/\\*","\\*/"),Te=ue("#","$"),Ae={scope:"number",begin:j,relevance:0},k={scope:"number",begin:M,relevance:0},Qe={scope:"number",begin:$,relevance:0},nt={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[he,{begin:/\[/,end:/\]/,relevance:0,contains:[he]}]},He={scope:"title",begin:V,relevance:0},ft={scope:"title",begin:ee,relevance:0},et={begin:"\\.\\s*"+ee,relevance:0};var it=Object.freeze({__proto__:null,APOS_STRING_MODE:le,BACKSLASH_ESCAPE:he,BINARY_NUMBER_MODE:Qe,BINARY_NUMBER_RE:$,COMMENT:ue,C_BLOCK_COMMENT_MODE:w,C_LINE_COMMENT_MODE:Ce,C_NUMBER_MODE:k,C_NUMBER_RE:M,END_SAME_AS_BEGIN:function(x){return Object.assign(x,{"on:begin":(B,X)=>{X.data._beginMatch=B[1]},"on:end":(B,X)=>{X.data._beginMatch!==B[1]&&X.ignoreMatch()}})},HASH_COMMENT_MODE:Te,IDENT_RE:V,MATCH_NOTHING_RE:C,METHOD_GUARD:et,NUMBER_MODE:Ae,NUMBER_RE:j,PHRASAL_WORDS_MODE:Me,QUOTE_STRING_MODE:Ee,REGEXP_MODE:nt,RE_STARTERS_RE:G,SHEBANG:be,TITLE_MODE:He,UNDERSCORE_IDENT_RE:ee,UNDERSCORE_TITLE_MODE:ft});function vr(x,B){x.input[x.index-1]==="."&&B.ignoreMatch()}function dn(x,B){x.className!==void 0&&(x.scope=x.className,delete x.className)}function mn(x,B){B&&x.beginKeywords&&(x.begin="\\b("+x.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",x.__beforeBegin=vr,x.keywords=x.keywords||x.beginKeywords,delete x.beginKeywords,x.relevance===void 0&&(x.relevance=0))}function Rr(x,B){Array.isArray(x.illegal)&&(x.illegal=A(...x.illegal))}function Ir(x,B){if(x.match){if(x.begin||x.end)throw new Error("begin & end are not supported with match");x.begin=x.match,delete x.match}}function Or(x,B){x.relevance===void 0&&(x.relevance=1)}const yr=(x,B)=>{if(!x.beforeMatch)return;if(x.starts)throw new Error("beforeMatch cannot be used with starts");const X=Object.assign({},x);Object.keys(x).forEach(pe=>{delete x[pe]}),x.keywords=X.keywords,x.begin=E(X.beforeMatch,b(X.begin)),x.starts={relevance:0,contains:[Object.assign(X,{endsParent:!0})]},x.relevance=0,delete X.beforeMatch},wr=["of","and","for","in","not","or","if","then","parent","list","value"],nr="keyword";function pn(x,B,X=nr){const pe=Object.create(null);return typeof x=="string"?Ge(X,x.split(" ")):Array.isArray(x)?Ge(X,x):Object.keys(x).forEach(function($e){Object.assign(pe,pn(x[$e],B,$e))}),pe;function Ge($e,te){B&&(te=te.map(Q=>Q.toLowerCase())),te.forEach(function(Q){const me=Q.split("|");pe[me[0]]=[$e,ya(me[0],me[1])]})}}function ya(x,B){return B?Number(B):wa(x)?0:1}function wa(x){return wr.includes(x.toLowerCase())}const ei={},ir=x=>{console.error(x)},ti=(x,...B)=>{console.log(`WARN: ${x}`,...B)},N=(x,B)=>{ei[`${x}/${B}`]||(console.log(`Deprecated as of ${x}. ${B}`),ei[`${x}/${B}`]=!0)},q=new Error;function de(x,B,{key:X}){let pe=0;const Ge=x[X],$e={},te={};for(let Q=1;Q<=B.length;Q++)te[Q+pe]=Ge[Q],$e[Q+pe]=!0,pe+=_(B[Q-1]);x[X]=te,x[X]._emit=$e,x[X]._multi=!0}function ye(x){if(Array.isArray(x.begin)){if(x.skip||x.excludeBegin||x.returnBegin)throw ir("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),q;if(typeof x.beginScope!="object"||x.beginScope===null)throw ir("beginScope must be object"),q;de(x,x.begin,{key:"beginScope"}),x.begin=U(x.begin,{joinWith:""})}}function _e(x){if(Array.isArray(x.end)){if(x.skip||x.excludeEnd||x.returnEnd)throw ir("skip, excludeEnd, returnEnd not compatible with endScope: {}"),q;if(typeof x.endScope!="object"||x.endScope===null)throw ir("endScope must be object"),q;de(x,x.end,{key:"endScope"}),x.end=U(x.end,{joinWith:""})}}function yt(x){x.scope&&typeof x.scope=="object"&&x.scope!==null&&(x.beginScope=x.scope,delete x.scope)}function ar(x){yt(x),typeof x.beginScope=="string"&&(x.beginScope={_wrap:x.beginScope}),typeof x.endScope=="string"&&(x.endScope={_wrap:x.endScope}),ye(x),_e(x)}function Bt(x){function B(te,Q){return new RegExp(f(te),"m"+(x.case_insensitive?"i":"")+(x.unicodeRegex?"u":"")+(Q?"g":""))}class X{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Q,me){me.position=this.position++,this.matchIndexes[this.matchAt]=me,this.regexes.push([me,Q]),this.matchAt+=_(Q)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const Q=this.regexes.map(me=>me[1]);this.matcherRe=B(U(Q,{joinWith:"|"}),!0),this.lastIndex=0}exec(Q){this.matcherRe.lastIndex=this.lastIndex;const me=this.matcherRe.exec(Q);if(!me)return null;const Ye=me.findIndex((fn,xa)=>xa>0&&fn!==void 0),je=this.matchIndexes[Ye];return me.splice(0,Ye),Object.assign(me,je)}}class pe{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Q){if(this.multiRegexes[Q])return this.multiRegexes[Q];const me=new X;return this.rules.slice(Q).forEach(([Ye,je])=>me.addRule(Ye,je)),me.compile(),this.multiRegexes[Q]=me,me}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Q,me){this.rules.push([Q,me]),me.type==="begin"&&this.count++}exec(Q){const me=this.getMatcher(this.regexIndex);me.lastIndex=this.lastIndex;let Ye=me.exec(Q);if(this.resumingScanAtSamePosition()&&!(Ye&&Ye.index===this.lastIndex)){const je=this.getMatcher(0);je.lastIndex=this.lastIndex+1,Ye=je.exec(Q)}return Ye&&(this.regexIndex+=Ye.position+1,this.regexIndex===this.count&&this.considerAll()),Ye}}function Ge(te){const Q=new pe;return te.contains.forEach(me=>Q.addRule(me.begin,{rule:me,type:"begin"})),te.terminatorEnd&&Q.addRule(te.terminatorEnd,{type:"end"}),te.illegal&&Q.addRule(te.illegal,{type:"illegal"}),Q}function $e(te,Q){const me=te;if(te.isCompiled)return me;[dn,Ir,ar,yr].forEach(je=>je(te,Q)),x.compilerExtensions.forEach(je=>je(te,Q)),te.__beforeBegin=null,[mn,Rr,Or].forEach(je=>je(te,Q)),te.isCompiled=!0;let Ye=null;return typeof te.keywords=="object"&&te.keywords.$pattern&&(te.keywords=Object.assign({},te.keywords),Ye=te.keywords.$pattern,delete te.keywords.$pattern),Ye=Ye||/\w+/,te.keywords&&(te.keywords=pn(te.keywords,x.case_insensitive)),me.keywordPatternRe=B(Ye,!0),Q&&(te.begin||(te.begin=/\B|\b/),me.beginRe=B(me.begin),!te.end&&!te.endsWithParent&&(te.end=/\B|\b/),te.end&&(me.endRe=B(me.end)),me.terminatorEnd=f(me.end)||"",te.endsWithParent&&Q.terminatorEnd&&(me.terminatorEnd+=(te.end?"|":"")+Q.terminatorEnd)),te.illegal&&(me.illegalRe=B(te.illegal)),te.contains||(te.contains=[]),te.contains=[].concat(...te.contains.map(function(je){return Dr(je==="self"?te:je)})),te.contains.forEach(function(je){$e(je,me)}),te.starts&&$e(te.starts,Q),me.matcher=Ge(me),me}if(x.compilerExtensions||(x.compilerExtensions=[]),x.contains&&x.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return x.classNameAliases=n(x.classNameAliases||{}),$e(x)}function xr(x){return x?x.endsWithParent||xr(x.starts):!1}function Dr(x){return x.variants&&!x.cachedVariants&&(x.cachedVariants=x.variants.map(function(B){return n(x,{variants:null},B)})),x.cachedVariants?x.cachedVariants:xr(x)?n(x,{starts:x.starts?n(x.starts):null}):Object.isFrozen(x)?n(x):x}var ct="11.10.0";class kr extends Error{constructor(B,X){super(B),this.name="HTMLInjectionError",this.html=X}}const wt=r,Ho=n,Uo=Symbol("nomatch"),Od=7,Go=function(x){const B=Object.create(null),X=Object.create(null),pe=[];let Ge=!0;const $e="Could not find the language '{}', did you forget to load/include a language module?",te={disableAutodetect:!0,name:"Plain text",contains:[]};let Q={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:d};function me(P){return Q.noHighlightRe.test(P)}function Ye(P){let ae=P.className+" ";ae+=P.parentNode?P.parentNode.className:"";const ke=Q.languageDetectRe.exec(ae);if(ke){const Oe=Sr(ke[1]);return Oe||(ti($e.replace("{}",ke[1])),ti("Falling back to no-highlight mode for this block.",P)),Oe?ke[1]:"no-highlight"}return ae.split(/\s+/).find(Oe=>me(Oe)||Sr(Oe))}function je(P,ae,ke){let Oe="",Ke="";typeof ae=="object"?(Oe=P,ke=ae.ignoreIllegals,Ke=ae.language):(N("10.7.0","highlight(lang, code, ...args) has been deprecated."),N("10.7.0",`Please use highlight(code, options) instead.
274
+ https://github.com/highlightjs/highlight.js/issues/2277`),Ke=P,Oe=ae),ke===void 0&&(ke=!0);const Rt={code:Oe,language:Ke};ni("before:highlight",Rt);const zr=Rt.result?Rt.result:fn(Rt.language,Rt.code,ke);return zr.code=Rt.code,ni("after:highlight",zr),zr}function fn(P,ae,ke,Oe){const Ke=Object.create(null);function Rt(Z,ne){return Z.keywords[ne]}function zr(){if(!fe.keywords){tt.addText(De);return}let Z=0;fe.keywordPatternRe.lastIndex=0;let ne=fe.keywordPatternRe.exec(De),ve="";for(;ne;){ve+=De.substring(Z,ne.index);const Ne=Wt.case_insensitive?ne[0].toLowerCase():ne[0],at=Rt(fe,Ne);if(at){const[sr,Qd]=at;if(tt.addText(ve),ve="",Ke[Ne]=(Ke[Ne]||0)+1,Ke[Ne]<=Od&&(si+=Qd),sr.startsWith("_"))ve+=ne[0];else{const e4=Wt.classNameAliases[sr]||sr;$t(ne[0],e4)}}else ve+=ne[0];Z=fe.keywordPatternRe.lastIndex,ne=fe.keywordPatternRe.exec(De)}ve+=De.substring(Z),tt.addText(ve)}function ii(){if(De==="")return;let Z=null;if(typeof fe.subLanguage=="string"){if(!B[fe.subLanguage]){tt.addText(De);return}Z=fn(fe.subLanguage,De,!0,Zo[fe.subLanguage]),Zo[fe.subLanguage]=Z._top}else Z=ka(De,fe.subLanguage.length?fe.subLanguage:null);fe.relevance>0&&(si+=Z.relevance),tt.__addSublanguage(Z._emitter,Z.language)}function xt(){fe.subLanguage!=null?ii():zr(),De=""}function $t(Z,ne){Z!==""&&(tt.startScope(ne),tt.addText(Z),tt.endScope())}function Vo(Z,ne){let ve=1;const Ne=ne.length-1;for(;ve<=Ne;){if(!Z._emit[ve]){ve++;continue}const at=Wt.classNameAliases[Z[ve]]||Z[ve],sr=ne[ve];at?$t(sr,at):(De=sr,zr(),De=""),ve++}}function Xo(Z,ne){return Z.scope&&typeof Z.scope=="string"&&tt.openNode(Wt.classNameAliases[Z.scope]||Z.scope),Z.beginScope&&(Z.beginScope._wrap?($t(De,Wt.classNameAliases[Z.beginScope._wrap]||Z.beginScope._wrap),De=""):Z.beginScope._multi&&(Vo(Z.beginScope,ne),De="")),fe=Object.create(Z,{parent:{value:fe}}),fe}function Ko(Z,ne,ve){let Ne=R(Z.endRe,ve);if(Ne){if(Z["on:end"]){const at=new e(Z);Z["on:end"](ne,at),at.isMatchIgnored&&(Ne=!1)}if(Ne){for(;Z.endsParent&&Z.parent;)Z=Z.parent;return Z}}if(Z.endsWithParent)return Ko(Z.parent,ne,ve)}function Xd(Z){return fe.matcher.regexIndex===0?(De+=Z[0],1):(Ta=!0,0)}function Kd(Z){const ne=Z[0],ve=Z.rule,Ne=new e(ve),at=[ve.__beforeBegin,ve["on:begin"]];for(const sr of at)if(sr&&(sr(Z,Ne),Ne.isMatchIgnored))return Xd(ne);return ve.skip?De+=ne:(ve.excludeBegin&&(De+=ne),xt(),!ve.returnBegin&&!ve.excludeBegin&&(De=ne)),Xo(ve,Z),ve.returnBegin?0:ne.length}function Yd(Z){const ne=Z[0],ve=ae.substring(Z.index),Ne=Ko(fe,Z,ve);if(!Ne)return Uo;const at=fe;fe.endScope&&fe.endScope._wrap?(xt(),$t(ne,fe.endScope._wrap)):fe.endScope&&fe.endScope._multi?(xt(),Vo(fe.endScope,Z)):at.skip?De+=ne:(at.returnEnd||at.excludeEnd||(De+=ne),xt(),at.excludeEnd&&(De=ne));do fe.scope&&tt.closeNode(),!fe.skip&&!fe.subLanguage&&(si+=fe.relevance),fe=fe.parent;while(fe!==Ne.parent);return Ne.starts&&Xo(Ne.starts,Z),at.returnEnd?0:ne.length}function Zd(){const Z=[];for(let ne=fe;ne!==Wt;ne=ne.parent)ne.scope&&Z.unshift(ne.scope);Z.forEach(ne=>tt.openNode(ne))}let ai={};function Yo(Z,ne){const ve=ne&&ne[0];if(De+=Z,ve==null)return xt(),0;if(ai.type==="begin"&&ne.type==="end"&&ai.index===ne.index&&ve===""){if(De+=ae.slice(ne.index,ne.index+1),!Ge){const Ne=new Error(`0 width match regex (${P})`);throw Ne.languageName=P,Ne.badRule=ai.rule,Ne}return 1}if(ai=ne,ne.type==="begin")return Kd(ne);if(ne.type==="illegal"&&!ke){const Ne=new Error('Illegal lexeme "'+ve+'" for mode "'+(fe.scope||"<unnamed>")+'"');throw Ne.mode=fe,Ne}else if(ne.type==="end"){const Ne=Yd(ne);if(Ne!==Uo)return Ne}if(ne.type==="illegal"&&ve==="")return 1;if(Ea>1e5&&Ea>ne.index*3)throw new Error("potential infinite loop, way more iterations than matches");return De+=ve,ve.length}const Wt=Sr(P);if(!Wt)throw ir($e.replace("{}",P)),new Error('Unknown language: "'+P+'"');const Jd=Bt(Wt);let za="",fe=Oe||Jd;const Zo={},tt=new Q.__emitter(Q);Zd();let De="",si=0,Lr=0,Ea=0,Ta=!1;try{if(Wt.__emitTokens)Wt.__emitTokens(ae,tt);else{for(fe.matcher.considerAll();;){Ea++,Ta?Ta=!1:fe.matcher.considerAll(),fe.matcher.lastIndex=Lr;const Z=fe.matcher.exec(ae);if(!Z)break;const ne=ae.substring(Lr,Z.index),ve=Yo(ne,Z);Lr=Z.index+ve}Yo(ae.substring(Lr))}return tt.finalize(),za=tt.toHTML(),{language:P,value:za,relevance:si,illegal:!1,_emitter:tt,_top:fe}}catch(Z){if(Z.message&&Z.message.includes("Illegal"))return{language:P,value:wt(ae),illegal:!0,relevance:0,_illegalBy:{message:Z.message,index:Lr,context:ae.slice(Lr-100,Lr+100),mode:Z.mode,resultSoFar:za},_emitter:tt};if(Ge)return{language:P,value:wt(ae),illegal:!1,relevance:0,errorRaised:Z,_emitter:tt,_top:fe};throw Z}}function xa(P){const ae={value:wt(P),illegal:!1,relevance:0,_top:te,_emitter:new Q.__emitter(Q)};return ae._emitter.addText(P),ae}function ka(P,ae){ae=ae||Q.languages||Object.keys(B);const ke=xa(P),Oe=ae.filter(Sr).filter(jo).map(xt=>fn(xt,P,!1));Oe.unshift(ke);const Ke=Oe.sort((xt,$t)=>{if(xt.relevance!==$t.relevance)return $t.relevance-xt.relevance;if(xt.language&&$t.language){if(Sr(xt.language).supersetOf===$t.language)return 1;if(Sr($t.language).supersetOf===xt.language)return-1}return 0}),[Rt,zr]=Ke,ii=Rt;return ii.secondBest=zr,ii}function Dd(P,ae,ke){const Oe=ae&&X[ae]||ke;P.classList.add("hljs"),P.classList.add(`language-${Oe}`)}function Sa(P){let ae=null;const ke=Ye(P);if(me(ke))return;if(ni("before:highlightElement",{el:P,language:ke}),P.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",P);return}if(P.children.length>0&&(Q.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(P)),Q.throwUnescapedHTML))throw new kr("One of your code blocks includes unescaped HTML.",P.innerHTML);ae=P;const Oe=ae.textContent,Ke=ke?je(Oe,{language:ke,ignoreIllegals:!0}):ka(Oe);P.innerHTML=Ke.value,P.dataset.highlighted="yes",Dd(P,ke,Ke.language),P.result={language:Ke.language,re:Ke.relevance,relevance:Ke.relevance},Ke.secondBest&&(P.secondBest={language:Ke.secondBest.language,relevance:Ke.secondBest.relevance}),ni("after:highlightElement",{el:P,result:Ke,text:Oe})}function Ld(P){Q=Ho(Q,P)}const Fd=()=>{ri(),N("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Pd(){ri(),N("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let $o=!1;function ri(){if(document.readyState==="loading"){$o=!0;return}document.querySelectorAll(Q.cssSelector).forEach(Sa)}function qd(){$o&&ri()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",qd,!1);function Hd(P,ae){let ke=null;try{ke=ae(x)}catch(Oe){if(ir("Language definition for '{}' could not be registered.".replace("{}",P)),Ge)ir(Oe);else throw Oe;ke=te}ke.name||(ke.name=P),B[P]=ke,ke.rawDefinition=ae.bind(null,x),ke.aliases&&Wo(ke.aliases,{languageName:P})}function Ud(P){delete B[P];for(const ae of Object.keys(X))X[ae]===P&&delete X[ae]}function Gd(){return Object.keys(B)}function Sr(P){return P=(P||"").toLowerCase(),B[P]||B[X[P]]}function Wo(P,{languageName:ae}){typeof P=="string"&&(P=[P]),P.forEach(ke=>{X[ke.toLowerCase()]=ae})}function jo(P){const ae=Sr(P);return ae&&!ae.disableAutodetect}function $d(P){P["before:highlightBlock"]&&!P["before:highlightElement"]&&(P["before:highlightElement"]=ae=>{P["before:highlightBlock"](Object.assign({block:ae.el},ae))}),P["after:highlightBlock"]&&!P["after:highlightElement"]&&(P["after:highlightElement"]=ae=>{P["after:highlightBlock"](Object.assign({block:ae.el},ae))})}function Wd(P){$d(P),pe.push(P)}function jd(P){const ae=pe.indexOf(P);ae!==-1&&pe.splice(ae,1)}function ni(P,ae){const ke=P;pe.forEach(function(Oe){Oe[ke]&&Oe[ke](ae)})}function Vd(P){return N("10.7.0","highlightBlock will be removed entirely in v12.0"),N("10.7.0","Please use highlightElement now."),Sa(P)}Object.assign(x,{highlight:je,highlightAuto:ka,highlightAll:ri,highlightElement:Sa,highlightBlock:Vd,configure:Ld,initHighlighting:Fd,initHighlightingOnLoad:Pd,registerLanguage:Hd,unregisterLanguage:Ud,listLanguages:Gd,getLanguage:Sr,registerAliases:Wo,autoDetection:jo,inherit:Ho,addPlugin:Wd,removePlugin:jd}),x.debugMode=function(){Ge=!1},x.safeMode=function(){Ge=!0},x.versionString=ct,x.regex={concat:E,lookahead:b,either:A,optional:z,anyNumberOfTimes:p};for(const P in it)typeof it[P]=="object"&&t(it[P]);return Object.assign(x,it),x},Jr=Go({});return Jr.newInstance=()=>Go({}),va=Jr,Jr.HighlightJS=Jr,Jr.default=Jr,va}var cd=ud();const Co=ld(cd),hd=Object.freeze(Object.defineProperty({__proto__:null,HighlightJS:Co,default:Co},Symbol.toStringTag,{value:"Module"})),_o="[A-Za-z$_][0-9A-Za-z$_]*",dd=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],md=["true","false","null","undefined","NaN","Infinity"],No=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Bo=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ro=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],pd=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],fd=[].concat(Ro,No,Bo);function gd(t){const e=t.regex,r=(ue,{after:Ce})=>{const w="</"+ue[0].slice(1);return ue.input.indexOf(w,Ce)!==-1},n=_o,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ue,Ce)=>{const w=ue[0].length+ue.index,Te=ue.input[w];if(Te==="<"||Te===","){Ce.ignoreMatch();return}Te===">"&&(r(ue,{after:w})||Ce.ignoreMatch());let Ae;const k=ue.input.substring(w);if(Ae=k.match(/^\s*=/)){Ce.ignoreMatch();return}if((Ae=k.match(/^\s+extends\s+/))&&Ae.index===0){Ce.ignoreMatch();return}}},o={$pattern:_o,keyword:dd,literal:md,built_in:fd,"variable.language":pd},u="[0-9](_?[0-9])*",h=`\\.(${u})`,d="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${d})((${h})|\\.)?|(${h}))[eE][+-]?(${u})\\b`},{begin:`\\b(${d})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},b={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"xml"}},z={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"css"}},E={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"graphql"}},I={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,b]},_={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},R=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,z,E,I,{match:/\$\d+/},f];b.contains=R.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(R)});const Y=[].concat(_,b.contains),U=Y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(Y)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:U},V={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},ee={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...No,...Bo]}},j={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[C],illegal:/%/},$={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function G(ue){return e.concat("(?!",ue.join("|"),")")}const be={match:e.concat(/\b/,G([...Ro,"super","import"].map(ue=>`${ue}\\s*\\(`)),n,e.lookahead(/\s*\(/)),className:"title.function",relevance:0},he={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},le={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},C]},Ee="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",Me={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(Ee)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:U,CLASS_REFERENCE:ee},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),j,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,z,E,I,_,{match:/\$\d+/},f,ee,{className:"attr",begin:n+e.lookahead(":"),relevance:0},Me,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[_,t.REGEXP_MODE,{className:"function",begin:Ee,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:U}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[C,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},he,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[C]},be,$,V,le,{match:/\$[(.]/}]}}const bd=Object.freeze(Object.defineProperty({__proto__:null,default:gd},Symbol.toStringTag,{value:"Module"}));function vd(t){const e=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],n=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],a=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:i.concat(a),built_in:e,literal:n},o=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},f=t.inherit(d,{illegal:/\n/}),b={className:"subst",begin:/\{/,end:/\}/,keywords:s},p=t.inherit(b,{illegal:/\n/}),z={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,p]},E={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},b]},I=t.inherit(E,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]});b.contains=[E,z,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,u,t.C_BLOCK_COMMENT_MODE],p.contains=[I,z,f,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,u,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const A={variants:[h,E,z,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},_={begin:"<",end:">",contains:[{beginKeywords:"in out"},o]},R=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",Y={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},A,u,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},o,_,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,_,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+R+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,_],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[A,u,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},Y]}}const yd=Object.freeze(Object.defineProperty({__proto__:null,default:vd},Symbol.toStringTag,{value:"Module"}));function wd(t){const e=t.regex,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},u={className:"meta",begin:/^(>>>|\.\.\.) /},h={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},d={begin:/\{\{/,relevance:0},f={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,u,d,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,u,d,h]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,d,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,d,h]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},b="[0-9](_?[0-9])*",p=`(\\b(${b}))?\\.(${b})|\\b(${b})\\.`,z=`\\b|${n.join("|")}`,E={className:"number",relevance:0,variants:[{begin:`(\\b(${b})|(${p}))[eE][+-]?(${b})[jJ]?(?=${z})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${z})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${z})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${z})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${z})`},{begin:`\\b(${b})[jJ](?=${z})`}]},I={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},A={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",u,E,f,t.HASH_COMMENT_MODE]}]};return h.contains=[f,E,u],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|\?)|=>/,contains:[u,E,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},f,I,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[A]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[E,A,f]}]}}const xd=Object.freeze(Object.defineProperty({__proto__:null,default:wd},Symbol.toStringTag,{value:"Module"})),kd=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Sd=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],zd=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Ed=[...Sd,...zd],Td=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Ad=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Md=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Cd=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();function _d(t){const e=t.regex,r=kd(t),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",a=/@-?\w[\w]*(-\w+)*/,s="[a-zA-Z-][a-zA-Z0-9_-]*",o=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,n,r.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+s,relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+Ad.join("|")+")"},{begin:":(:)?("+Md.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Cd.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:Td.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Ed.join("|")+")\\b"}]}}const Nd=Object.freeze(Object.defineProperty({__proto__:null,default:_d},Symbol.toStringTag,{value:"Module"})),Qn="[A-Za-z$_][0-9A-Za-z$_]*",Io=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Oo=["true","false","null","undefined","NaN","Infinity"],Do=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Lo=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Fo=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Po=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],qo=[].concat(Fo,Do,Lo);function Bd(t){const e=t.regex,r=(ue,{after:Ce})=>{const w="</"+ue[0].slice(1);return ue.input.indexOf(w,Ce)!==-1},n=Qn,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ue,Ce)=>{const w=ue[0].length+ue.index,Te=ue.input[w];if(Te==="<"||Te===","){Ce.ignoreMatch();return}Te===">"&&(r(ue,{after:w})||Ce.ignoreMatch());let Ae;const k=ue.input.substring(w);if(Ae=k.match(/^\s*=/)){Ce.ignoreMatch();return}if((Ae=k.match(/^\s+extends\s+/))&&Ae.index===0){Ce.ignoreMatch();return}}},o={$pattern:Qn,keyword:Io,literal:Oo,built_in:qo,"variable.language":Po},u="[0-9](_?[0-9])*",h=`\\.(${u})`,d="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${d})((${h})|\\.)?|(${h}))[eE][+-]?(${u})\\b`},{begin:`\\b(${d})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},b={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},p={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"xml"}},z={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"css"}},E={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"graphql"}},I={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,b]},_={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},R=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,z,E,I,{match:/\$\d+/},f];b.contains=R.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(R)});const Y=[].concat(_,b.contains),U=Y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(Y)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:U},V={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},ee={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Do,...Lo]}},j={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[C],illegal:/%/},$={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function G(ue){return e.concat("(?!",ue.join("|"),")")}const be={match:e.concat(/\b/,G([...Fo,"super","import"].map(ue=>`${ue}\\s*\\(`)),n,e.lookahead(/\s*\(/)),className:"title.function",relevance:0},he={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},le={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},C]},Ee="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",Me={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(Ee)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:U,CLASS_REFERENCE:ee},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),j,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,z,E,I,_,{match:/\$\d+/},f,ee,{className:"attr",begin:n+e.lookahead(":"),relevance:0},Me,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[_,t.REGEXP_MODE,{className:"function",begin:Ee,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:U}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[C,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},he,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[C]},be,$,V,le,{match:/\$[(.]/}]}}function Rd(t){const e=Bd(t),r=Qn,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={begin:[/namespace/,/\s+/,t.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[e.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},o=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],u={$pattern:Qn,keyword:Io.concat(o),literal:Oo,built_in:qo.concat(n),"variable.language":Po},h={className:"meta",begin:"@"+r},d=(p,z,E)=>{const I=p.contains.findIndex(A=>A.label===z);if(I===-1)throw new Error("can not find mode to replace");p.contains.splice(I,1,E)};Object.assign(e.keywords,u),e.exports.PARAMS_CONTAINS.push(h);const f=e.contains.find(p=>p.className==="attr");e.exports.PARAMS_CONTAINS.push([e.exports.CLASS_REFERENCE,f]),e.contains=e.contains.concat([h,i,a]),d(e,"shebang",t.SHEBANG()),d(e,"use_strict",s);const b=e.contains.find(p=>p.label==="func.def");return b.relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),e}const Id=Object.freeze(Object.defineProperty({__proto__:null,default:Rd},Symbol.toStringTag,{value:"Module"}));kt.AIChat=od,Object.defineProperty(kt,Symbol.toStringTag,{value:"Module"})});