drive-coding 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/LICENSE +21 -0
  2. package/README.he.md +98 -0
  3. package/README.md +97 -0
  4. package/dist/drive-coding.js +126981 -0
  5. package/frontend-dist/_app/env.js +1 -0
  6. package/frontend-dist/_app/immutable/assets/0.CU-P_407.css +1 -0
  7. package/frontend-dist/_app/immutable/assets/2.D9ALpOww.css +1 -0
  8. package/frontend-dist/_app/immutable/assets/3.E6ED7Syh.css +1 -0
  9. package/frontend-dist/_app/immutable/assets/5.YWA13FkN.css +1 -0
  10. package/frontend-dist/_app/immutable/assets/KaTeX_AMS-Regular.BQhdFMY1.woff2 +0 -0
  11. package/frontend-dist/_app/immutable/assets/KaTeX_AMS-Regular.DMm9YOAa.woff +0 -0
  12. package/frontend-dist/_app/immutable/assets/KaTeX_AMS-Regular.DRggAlZN.ttf +0 -0
  13. package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Bold.ATXxdsX0.ttf +0 -0
  14. package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Bold.BEiXGLvX.woff +0 -0
  15. package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Bold.Dq_IR9rO.woff2 +0 -0
  16. package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Regular.CTRA-rTL.woff +0 -0
  17. package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Regular.Di6jR-x-.woff2 +0 -0
  18. package/frontend-dist/_app/immutable/assets/KaTeX_Caligraphic-Regular.wX97UBjC.ttf +0 -0
  19. package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Bold.BdnERNNW.ttf +0 -0
  20. package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Bold.BsDP51OF.woff +0 -0
  21. package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Bold.CL6g_b3V.woff2 +0 -0
  22. package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Regular.CB_wures.ttf +0 -0
  23. package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Regular.CTYiF6lA.woff2 +0 -0
  24. package/frontend-dist/_app/immutable/assets/KaTeX_Fraktur-Regular.Dxdc4cR9.woff +0 -0
  25. package/frontend-dist/_app/immutable/assets/KaTeX_Main-Bold.Cx986IdX.woff2 +0 -0
  26. package/frontend-dist/_app/immutable/assets/KaTeX_Main-Bold.Jm3AIy58.woff +0 -0
  27. package/frontend-dist/_app/immutable/assets/KaTeX_Main-Bold.waoOVXN0.ttf +0 -0
  28. package/frontend-dist/_app/immutable/assets/KaTeX_Main-BoldItalic.DxDJ3AOS.woff2 +0 -0
  29. package/frontend-dist/_app/immutable/assets/KaTeX_Main-BoldItalic.DzxPMmG6.ttf +0 -0
  30. package/frontend-dist/_app/immutable/assets/KaTeX_Main-BoldItalic.SpSLRI95.woff +0 -0
  31. package/frontend-dist/_app/immutable/assets/KaTeX_Main-Italic.3WenGoN9.ttf +0 -0
  32. package/frontend-dist/_app/immutable/assets/KaTeX_Main-Italic.BMLOBm91.woff +0 -0
  33. package/frontend-dist/_app/immutable/assets/KaTeX_Main-Italic.NWA7e6Wa.woff2 +0 -0
  34. package/frontend-dist/_app/immutable/assets/KaTeX_Main-Regular.B22Nviop.woff2 +0 -0
  35. package/frontend-dist/_app/immutable/assets/KaTeX_Main-Regular.Dr94JaBh.woff +0 -0
  36. package/frontend-dist/_app/immutable/assets/KaTeX_Main-Regular.ypZvNtVU.ttf +0 -0
  37. package/frontend-dist/_app/immutable/assets/KaTeX_Math-BoldItalic.B3XSjfu4.ttf +0 -0
  38. package/frontend-dist/_app/immutable/assets/KaTeX_Math-BoldItalic.CZnvNsCZ.woff2 +0 -0
  39. package/frontend-dist/_app/immutable/assets/KaTeX_Math-BoldItalic.iY-2wyZ7.woff +0 -0
  40. package/frontend-dist/_app/immutable/assets/KaTeX_Math-Italic.DA0__PXp.woff +0 -0
  41. package/frontend-dist/_app/immutable/assets/KaTeX_Math-Italic.flOr_0UB.ttf +0 -0
  42. package/frontend-dist/_app/immutable/assets/KaTeX_Math-Italic.t53AETM-.woff2 +0 -0
  43. package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Bold.CFMepnvq.ttf +0 -0
  44. package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Bold.D1sUS0GD.woff2 +0 -0
  45. package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Bold.DbIhKOiC.woff +0 -0
  46. package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Italic.C3H0VqGB.woff2 +0 -0
  47. package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Italic.DN2j7dab.woff +0 -0
  48. package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Italic.YYjJ1zSn.ttf +0 -0
  49. package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Regular.BNo7hRIc.ttf +0 -0
  50. package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Regular.CS6fqUqJ.woff +0 -0
  51. package/frontend-dist/_app/immutable/assets/KaTeX_SansSerif-Regular.DDBCnlJ7.woff2 +0 -0
  52. package/frontend-dist/_app/immutable/assets/KaTeX_Script-Regular.C5JkGWo-.ttf +0 -0
  53. package/frontend-dist/_app/immutable/assets/KaTeX_Script-Regular.D3wIWfF6.woff2 +0 -0
  54. package/frontend-dist/_app/immutable/assets/KaTeX_Script-Regular.D5yQViql.woff +0 -0
  55. package/frontend-dist/_app/immutable/assets/KaTeX_Size1-Regular.C195tn64.woff +0 -0
  56. package/frontend-dist/_app/immutable/assets/KaTeX_Size1-Regular.Dbsnue_I.ttf +0 -0
  57. package/frontend-dist/_app/immutable/assets/KaTeX_Size1-Regular.mCD8mA8B.woff2 +0 -0
  58. package/frontend-dist/_app/immutable/assets/KaTeX_Size2-Regular.B7gKUWhC.ttf +0 -0
  59. package/frontend-dist/_app/immutable/assets/KaTeX_Size2-Regular.Dy4dx90m.woff2 +0 -0
  60. package/frontend-dist/_app/immutable/assets/KaTeX_Size2-Regular.oD1tc_U0.woff +0 -0
  61. package/frontend-dist/_app/immutable/assets/KaTeX_Size3-Regular.CTq5MqoE.woff +0 -0
  62. package/frontend-dist/_app/immutable/assets/KaTeX_Size3-Regular.DgpXs0kz.ttf +0 -0
  63. package/frontend-dist/_app/immutable/assets/KaTeX_Size4-Regular.BF-4gkZK.woff +0 -0
  64. package/frontend-dist/_app/immutable/assets/KaTeX_Size4-Regular.DWFBv043.ttf +0 -0
  65. package/frontend-dist/_app/immutable/assets/KaTeX_Size4-Regular.Dl5lxZxV.woff2 +0 -0
  66. package/frontend-dist/_app/immutable/assets/KaTeX_Typewriter-Regular.C0xS9mPB.woff +0 -0
  67. package/frontend-dist/_app/immutable/assets/KaTeX_Typewriter-Regular.CO6r4hn1.woff2 +0 -0
  68. package/frontend-dist/_app/immutable/assets/KaTeX_Typewriter-Regular.D3Ib7_Hf.ttf +0 -0
  69. package/frontend-dist/_app/immutable/assets/LoadingModal.DNP0Snt_.css +1 -0
  70. package/frontend-dist/_app/immutable/assets/ort-wasm-simd-threaded.jsep.CyqnNavA.wasm +0 -0
  71. package/frontend-dist/_app/immutable/chunks/6wE5kWJZ.js +1 -0
  72. package/frontend-dist/_app/immutable/chunks/BQWUQCb9.js +1 -0
  73. package/frontend-dist/_app/immutable/chunks/Ba9FG7d8.js +1 -0
  74. package/frontend-dist/_app/immutable/chunks/BeCtfktE.js +292 -0
  75. package/frontend-dist/_app/immutable/chunks/Bg0A44SF.js +1 -0
  76. package/frontend-dist/_app/immutable/chunks/CKhUHIER.js +1 -0
  77. package/frontend-dist/_app/immutable/chunks/CeZBaqrV.js +1 -0
  78. package/frontend-dist/_app/immutable/chunks/CisdKsFD.js +1 -0
  79. package/frontend-dist/_app/immutable/chunks/CqwDxRdj.js +1 -0
  80. package/frontend-dist/_app/immutable/chunks/CuPEg3Gz.js +2 -0
  81. package/frontend-dist/_app/immutable/chunks/CuT6ZSeQ.js +1 -0
  82. package/frontend-dist/_app/immutable/chunks/DgOhoED9.js +1 -0
  83. package/frontend-dist/_app/immutable/chunks/DvwKyUJ9.js +1 -0
  84. package/frontend-dist/_app/immutable/chunks/JqqgS7yq.js +1 -0
  85. package/frontend-dist/_app/immutable/chunks/LL0hSDod.js +1 -0
  86. package/frontend-dist/_app/immutable/chunks/LNR4j0nK.js +7 -0
  87. package/frontend-dist/_app/immutable/chunks/Oe6tjNLB.js +1 -0
  88. package/frontend-dist/_app/immutable/chunks/SrseV9LB.js +109 -0
  89. package/frontend-dist/_app/immutable/chunks/cseHWQnP.js +2 -0
  90. package/frontend-dist/_app/immutable/chunks/iM4ae5dg.js +1 -0
  91. package/frontend-dist/_app/immutable/entry/app.Dtr_WULu.js +2 -0
  92. package/frontend-dist/_app/immutable/entry/start.DNvi4k83.js +1 -0
  93. package/frontend-dist/_app/immutable/nodes/0.D_beALrd.js +423 -0
  94. package/frontend-dist/_app/immutable/nodes/1.BDPrJE0T.js +1 -0
  95. package/frontend-dist/_app/immutable/nodes/2.CFtWC6Ki.js +1 -0
  96. package/frontend-dist/_app/immutable/nodes/3.D_3DlZlE.js +9 -0
  97. package/frontend-dist/_app/immutable/nodes/4.xmsDSvqR.js +4 -0
  98. package/frontend-dist/_app/immutable/nodes/5.CihE_QrF.js +2881 -0
  99. package/frontend-dist/_app/version.json +1 -0
  100. package/frontend-dist/icons/apple-touch-icon.png +0 -0
  101. package/frontend-dist/icons/favicon-64.png +0 -0
  102. package/frontend-dist/icons/icon-180.png +0 -0
  103. package/frontend-dist/icons/icon-192.png +0 -0
  104. package/frontend-dist/icons/icon-512-maskable.png +0 -0
  105. package/frontend-dist/icons/icon-512.png +0 -0
  106. package/frontend-dist/index.html +67 -0
  107. package/frontend-dist/manifest.webmanifest +17 -0
  108. package/frontend-dist/wake-word/models/alexa_v0.1.onnx +0 -0
  109. package/frontend-dist/wake-word/models/embedding_model.onnx +0 -0
  110. package/frontend-dist/wake-word/models/hey_jarvis_v0.1.onnx +0 -0
  111. package/frontend-dist/wake-word/models/hey_mycroft_v0.1.onnx +0 -0
  112. package/frontend-dist/wake-word/models/hey_rhasspy_v0.1.onnx +0 -0
  113. package/frontend-dist/wake-word/models/melspectrogram.onnx +0 -0
  114. package/frontend-dist/wake-word/models/silero_vad.onnx +0 -0
  115. package/package.json +42 -0
  116. package/plugins/README.md +47 -0
  117. package/plugins/prompt-injector.ts +83 -0
@@ -0,0 +1,292 @@
1
+ var i4=Object.defineProperty;var s4=Object.getPrototypeOf;var o4=Reflect.get;var Bu=t=>{throw TypeError(t)};var l4=(t,e,r)=>e in t?i4(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var he=(t,e,r)=>l4(t,typeof e!="symbol"?e+"":e,r),ol=(t,e,r)=>e.has(t)||Bu("Cannot "+r);var p=(t,e,r)=>(ol(t,e,"read from private field"),r?r.call(t):e.get(t)),N=(t,e,r)=>e.has(t)?Bu("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),j=(t,e,r,n)=>(ol(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),pe=(t,e,r)=>(ol(t,e,"access private method"),r);var Fu=(t,e,r,n)=>({set _(a){j(t,e,a,r)},get _(){return p(t,e,n)}}),Hu=(t,e,r)=>o4(s4(t),r,e);import{A as c4,ay as er,aw as Za,aK as u4,Y as Ad,be as Va,ar as V0,bp as Ft,O as Td,b0 as d4,ax as Ka,d as h4,as as f4,aA as m4,o as p4,a4 as _d,v as kd,u as g4,m as v4,l as b4,a5 as y4,bf as Uu,bo as w4,af as x4,bs as e0,b2 as Uc,a7 as Md,b7 as S4,aM as Od,a6 as Ia,bq as Cd,a1 as E4,bw as Nd,bv as tr,b5 as A4,b6 as qu,am as T,ab as T4,bu as ie,bl as Oe,aY as X0,b9 as Y,bt as Gu,bk as _4,aB as za,av as k4,ao as Fl,ba as M4,aZ as st,aj as we,aW as ot,_ as Fe,aS as Et,b3 as De,an as O4,ag as C4,ai as N4,aU as R4,bi as Je,br as D4,aR as Zs,ac as I4}from"./LL0hSDod.js";import{b as qs,p as wa,c as Re,a as Q,f as He,d as z4,t as qc}from"./DgOhoED9.js";import{g as L4,a as Rd,o as Kt,m as P4,u as B4,d as Dd,s as Vt,e as Fn}from"./CuPEg3Gz.js";import{i as at}from"./6wE5kWJZ.js";import{c as ll,a as zr,e as Ja,i as Id,f as Ya,h as Ha,b as F4,r as H4,g as U4}from"./cseHWQnP.js";import{p as H,r as Yt,s as wr,c as Bt}from"./CisdKsFD.js";import{b as zd,K as $e,l as q4,f as Fo,n as G4,i as W4,e as V4,d as K4}from"./BQWUQCb9.js";import{g as Ld}from"./SrseV9LB.js";import{B as Pd}from"./CKhUHIER.js";function Y4(){return Symbol(c4)}const X4=Symbol("NaN");function j4(t,e,r){er&&Za();var n=new Pd(t),a=!u4();Ad(()=>{var i=e();i!==i&&(i=X4),a&&i!==null&&typeof i=="object"&&(i={}),n.ensure(i,r)})}function Z4(t,e,r=!1,n=!1,a=!1,i=!1){var s=t,o="";if(r){var c=t;er&&(s=Va(V0(c)))}Ft(()=>{var d=Td;if(o===(o=e()??"")){er&&Za();return}if(r&&!er){d.nodes=null,c.innerHTML=o,o!==""&&qs(V0(c),c.lastChild);return}if(d.nodes!==null&&(d4(d.nodes.start,d.nodes.end),d.nodes=null),o!==""){if(er){Ka.data;for(var h=Za(),m=h;h!==null&&(h.nodeType!==h4||h.data!=="");)m=h,h=f4(h);if(h===null)throw m4(),p4;qs(Ka,m),s=Va(h);return}var b=n?kd:a?g4:void 0,v=_d(n?"svg":a?"math":"template",b);v.innerHTML=o;var y=n||a?v:v.content;if(qs(V0(y),y.lastChild),n||a)for(;V0(y);)s.before(V0(y));else s.before(y)}})}function J4(t,e,r,n,a,i){let s=er;er&&Za();var o=null;er&&Ka.nodeType===v4&&(o=Ka,Za());var c=er?Ka:t,d=new Pd(c,!1);Ad(()=>{const h=e()||null;var m=r||h==="svg"?kd:void 0;if(h===null){d.ensure(null,null);return}return d.ensure(h,b=>{if(h){if(o=er?o:_d(h,m),qs(o,o),n){er&&L4(h)&&o.append(document.createComment(""));var v=er?V0(o):o.appendChild(y4());er&&(v===null?Uu(!1):Va(v)),n(o,v)}Td.nodes.end=o,b.before(o)}er&&Va(b)}),()=>{}},b4),w4(()=>{}),s&&(Uu(!0),Va(c))}function Q4(t,e,r){x4(()=>{var n=e0(()=>e(t,r==null?void 0:r())||{});if(r&&(n!=null&&n.update)){var a=!1,i={};Uc(()=>{var s=r();Md(s),a&&S4(i,s)&&(i=s,n.update(s))}),a=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function b7(t,e,r=e){var n=new WeakSet;Od(t,"input",async a=>{var i=a?t.defaultValue:t.value;if(i=cl(t)?ul(i):i,r(i),Ia!==null&&n.add(Ia),await Cd(),i!==(i=e())){var s=t.selectionStart,o=t.selectionEnd,c=t.value.length;if(t.value=i??"",o!==null){var d=t.value.length;s===o&&o===c&&d>c?(t.selectionStart=d,t.selectionEnd=d):(t.selectionStart=s,t.selectionEnd=Math.min(o,d))}}}),(er&&t.defaultValue!==t.value||e0(e)==null&&t.value)&&(r(cl(t)?ul(t.value):t.value),Ia!==null&&n.add(Ia)),Uc(()=>{var a=e();if(t===document.activeElement){var i=Ia;if(n.has(i))return}cl(t)&&a===ul(t.value)||t.type==="date"&&!a&&!t.value||a!==t.value&&(t.value=a??"")})}function y7(t,e,r=e){Od(t,"change",n=>{var a=n?t.defaultChecked:t.checked;r(a)}),(er&&t.defaultChecked!==t.checked||e0(e)==null)&&r(t.checked),Uc(()=>{var n=e();t.checked=!!n})}function cl(t){var e=t.type;return e==="number"||e==="range"}function ul(t){return t===""?null:+t}function $4(t=!1){const e=E4,r=e.l.u;if(!r)return;let n=()=>Md(e.s);if(t){let a=0,i={};const s=T4(()=>{let o=!1;const c=e.s;for(const d in c)c[d]!==i[d]&&(i[d]=c[d],o=!0);return o&&a++,a});n=()=>T(s)}r.b.length&&Nd(()=>{Wu(e,n),qu(r.b)}),tr(()=>{const a=e0(()=>r.m.map(A4));return()=>{for(const i of a)typeof i=="function"&&i()}}),r.a.length&&tr(()=>{Wu(e,n),qu(r.a)})}function Wu(t,e){if(t.l.s)for(const r of t.l.s)T(r);e()}async function em(){const t=await fetch(zd("/api/options"));if(!t.ok)throw new Error(`/api/options ${t.status}`);return t.json()}function tm(t){return typeof t=="function"}function gs(t){return t!==null&&typeof t=="object"}const rm=["string","number","bigint","boolean"];function Hl(t){return t==null||rm.includes(typeof t)?!0:Array.isArray(t)?t.every(e=>Hl(e)):typeof t=="object"?Object.getPrototypeOf(t)===Object.prototype:!1}const Js=Symbol("box"),Bd=Symbol("is-writable");function ne(t,e){const r=ie(t);return e?{[Js]:!0,[Bd]:!0,get current(){return T(r)},set current(n){e(n)}}:{[Js]:!0,get current(){return t()}}}function Fd(t){return gs(t)&&Js in t}function nm(t){return Fd(t)?t:tm(t)?ne(t):Qr(t)}function Qr(t){let e=Oe(X0(t));return{[Js]:!0,[Bd]:!0,get current(){return T(e)},set current(r){Y(e,r,!0)}}}function Hd(...t){return function(e){var r;for(const n of t)if(n){if(e.defaultPrevented)return;typeof n=="function"?n.call(this,e):(r=n.current)==null||r.call(this,e)}}}var Vu=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,am=/\n/g,im=/^\s*/,sm=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,om=/^:\s*/,lm=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,cm=/^[;\s]*/,um=/^\s+|\s+$/g,dm=`
2
+ `,Ku="/",Yu="*",p0="",hm="comment",fm="declaration";function mm(t,e){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var r=1,n=1;function a(y){var w=y.match(am);w&&(r+=w.length);var k=y.lastIndexOf(dm);n=~k?y.length-k:n+y.length}function i(){var y={line:r,column:n};return function(w){return w.position=new s(y),d(),w}}function s(y){this.start=y,this.end={line:r,column:n},this.source=e.source}s.prototype.content=t;function o(y){var w=new Error(e.source+":"+r+":"+n+": "+y);if(w.reason=y,w.filename=e.source,w.line=r,w.column=n,w.source=t,!e.silent)throw w}function c(y){var w=y.exec(t);if(w){var k=w[0];return a(k),t=t.slice(k.length),w}}function d(){c(im)}function h(y){var w;for(y=y||[];w=m();)w!==!1&&y.push(w);return y}function m(){var y=i();if(!(Ku!=t.charAt(0)||Yu!=t.charAt(1))){for(var w=2;p0!=t.charAt(w)&&(Yu!=t.charAt(w)||Ku!=t.charAt(w+1));)++w;if(w+=2,p0===t.charAt(w-1))return o("End of comment missing");var k=t.slice(2,w-2);return n+=2,a(k),t=t.slice(w),n+=2,y({type:hm,comment:k})}}function b(){var y=i(),w=c(sm);if(w){if(m(),!c(om))return o("property missing ':'");var k=c(lm),M=y({type:fm,property:Xu(w[0].replace(Vu,p0)),value:k?Xu(k[0].replace(Vu,p0)):p0});return c(cm),M}}function v(){var y=[];h(y);for(var w;w=b();)w!==!1&&(y.push(w),h(y));return y}return d(),v()}function Xu(t){return t?t.replace(um,p0):p0}function pm(t,e){let r=null;if(!t||typeof t!="string")return r;const n=mm(t),a=typeof e=="function";return n.forEach(i=>{if(i.type!=="declaration")return;const{property:s,value:o}=i;a?e(s,o,i):o&&(r=r||{},r[s]=o)}),r}const gm=/\d/,vm=["-","_","/","."];function bm(t=""){if(!gm.test(t))return t!==t.toLowerCase()}function ym(t){const e=[];let r="",n,a;for(const i of t){const s=vm.includes(i);if(s===!0){e.push(r),r="",n=void 0;continue}const o=bm(i);if(a===!1){if(n===!1&&o===!0){e.push(r),r=i,n=o;continue}if(n===!0&&o===!1&&r.length>1){const c=r.at(-1);e.push(r.slice(0,Math.max(0,r.length-1))),r=c+i,n=o;continue}}r+=i,n=o,a=s}return e.push(r),e}function Ud(t){return t?ym(t).map(e=>xm(e)).join(""):""}function wm(t){return Sm(Ud(t||""))}function xm(t){return t?t[0].toUpperCase()+t.slice(1):""}function Sm(t){return t?t[0].toLowerCase()+t.slice(1):""}function Ua(t){if(!t)return{};const e={};function r(n,a){if(n.startsWith("-moz-")||n.startsWith("-webkit-")||n.startsWith("-ms-")||n.startsWith("-o-")){e[Ud(n)]=a;return}if(n.startsWith("--")){e[n]=a;return}e[wm(n)]=a}return pm(t,r),e}function Xa(...t){return(...e)=>{for(const r of t)typeof r=="function"&&r(...e)}}function Em(t,e){const r=RegExp(t,"g");return n=>{if(typeof n!="string")throw new TypeError(`expected an argument of type string, but got ${typeof n}`);return n.match(r)?n.replace(r,e):n}}const Am=Em(/[A-Z]/,t=>`-${t.toLowerCase()}`);function Tm(t){if(!t||typeof t!="object"||Array.isArray(t))throw new TypeError(`expected an argument of type object, but got ${typeof t}`);return Object.keys(t).map(e=>`${Am(e)}: ${t[e]};`).join(`
3
+ `)}function qd(t={}){return Tm(t).replace(`
4
+ `," ")}const _m=["onabort","onanimationcancel","onanimationend","onanimationiteration","onanimationstart","onauxclick","onbeforeinput","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncompositionend","oncompositionstart","oncompositionupdate","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onfocusin","onfocusout","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onselectionchange","onselectstart","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitioncancel","ontransitionend","ontransitionrun","ontransitionstart","onvolumechange","onwaiting","onwebkitanimationend","onwebkitanimationiteration","onwebkitanimationstart","onwebkittransitionend","onwheel"],km=new Set(_m);function Mm(t){return km.has(t)}function xr(...t){const e={...t[0]};for(let r=1;r<t.length;r++){const n=t[r];if(n){for(const a of Object.keys(n)){const i=e[a],s=n[a],o=typeof i=="function",c=typeof s=="function";if(o&&Mm(a)){const d=i,h=s;e[a]=Hd(d,h)}else if(o&&c)e[a]=Xa(i,s);else if(a==="class"){const d=Hl(i),h=Hl(s);d&&h?e[a]=ll(i,s):d?e[a]=ll(i):h&&(e[a]=ll(s))}else if(a==="style"){const d=typeof i=="object",h=typeof s=="object",m=typeof i=="string",b=typeof s=="string";if(d&&h)e[a]={...i,...s};else if(d&&b){const v=Ua(s);e[a]={...i,...v}}else if(m&&h){const v=Ua(i);e[a]={...v,...s}}else if(m&&b){const v=Ua(i),y=Ua(s);e[a]={...v,...y}}else d?e[a]=i:h?e[a]=s:m?e[a]=i:b&&(e[a]=s)}else e[a]=s!==void 0?s:i}for(const a of Object.getOwnPropertySymbols(n)){const i=e[a],s=n[a];e[a]=s!==void 0?s:i}}}return typeof e.style=="object"&&(e.style=qd(e.style).replaceAll(`
5
+ `," ")),e.hidden===!1&&(e.hidden=void 0,delete e.hidden),e.disabled===!1&&(e.disabled=void 0,delete e.disabled),e}const Gd=typeof window<"u"?window:void 0;function Om(t){let e=t.activeElement;for(;e!=null&&e.shadowRoot;){const r=e.shadowRoot.activeElement;if(r===e)break;e=r}return e}var Kr,Yr,mn,bo,Lr,qa,Gs;const xu=class xu extends Map{constructor(r){super();N(this,Lr);N(this,Kr,new Map);N(this,Yr,Oe(0));N(this,mn,Oe(0));N(this,bo,Gu||-1);if(r){for(var[n,a]of r)super.set(n,a);p(this,mn).v=super.size}}has(r){var n=p(this,Kr),a=n.get(r);if(a===void 0)if(super.has(r))a=pe(this,Lr,qa).call(this,0),n.set(r,a);else return T(p(this,Yr)),!1;return T(a),!0}forEach(r,n){pe(this,Lr,Gs).call(this),super.forEach(r,n)}get(r){var n=p(this,Kr),a=n.get(r);if(a===void 0)if(super.has(r))a=pe(this,Lr,qa).call(this,0),n.set(r,a);else{T(p(this,Yr));return}return T(a),super.get(r)}set(r,n){var m;var a=p(this,Kr),i=a.get(r),s=super.get(r),o=super.set(r,n),c=p(this,Yr);if(i===void 0)i=pe(this,Lr,qa).call(this,0),a.set(r,i),Y(p(this,mn),super.size),za(c);else if(s!==n){za(i);var d=c.reactions===null?null:new Set(c.reactions),h=d===null||!((m=i.reactions)!=null&&m.every(b=>d.has(b)));h&&za(c)}return o}delete(r){var n=p(this,Kr),a=n.get(r),i=super.delete(r);return a!==void 0&&(n.delete(r),Y(a,-1)),i&&(Y(p(this,mn),super.size),za(p(this,Yr))),i}clear(){if(super.size!==0){super.clear();var r=p(this,Kr);Y(p(this,mn),0);for(var n of r.values())Y(n,-1);za(p(this,Yr)),r.clear()}}keys(){return T(p(this,Yr)),super.keys()}values(){return pe(this,Lr,Gs).call(this),super.values()}entries(){return pe(this,Lr,Gs).call(this),super.entries()}[Symbol.iterator](){return this.entries()}get size(){return T(p(this,mn)),super.size}};Kr=new WeakMap,Yr=new WeakMap,mn=new WeakMap,bo=new WeakMap,Lr=new WeakSet,qa=function(r){return Gu===p(this,bo)?Oe(r):_4(r)},Gs=function(){T(p(this,Yr));var r=p(this,Kr);if(p(this,mn).v!==r.size){for(var n of Hu(xu.prototype,this,"keys").call(this))if(!r.has(n)){var a=pe(this,Lr,qa).call(this,0);r.set(n,a)}}for([,a]of p(this,Kr))T(a)};let Ul=xu;var J0,ai;class Cm{constructor(e={}){N(this,J0);N(this,ai);const{window:r=Gd,document:n=r==null?void 0:r.document}=e;r!==void 0&&(j(this,J0,n),j(this,ai,Rd(a=>{const i=Kt(r,"focusin",a),s=Kt(r,"focusout",a);return()=>{i(),s()}})))}get current(){var e;return(e=p(this,ai))==null||e.call(this),p(this,J0)?Om(p(this,J0)):null}}J0=new WeakMap,ai=new WeakMap;new Cm;function Nm(t){return typeof t=="function"}var ii,pn;class xa{constructor(e){N(this,ii);N(this,pn);j(this,ii,e),j(this,pn,Symbol(e))}get key(){return p(this,pn)}exists(){return k4(p(this,pn))}get(){const e=Fl(p(this,pn));if(e===void 0)throw new Error(`Context "${p(this,ii)}" not found`);return e}getOr(e){const r=Fl(p(this,pn));return r===void 0?e:r}set(e){return M4(p(this,pn),e)}}ii=new WeakMap,pn=new WeakMap;function Rm(t,e){switch(t){case"post":tr(e);break;case"pre":Nd(e);break}}function Wd(t,e,r,n={}){const{lazy:a=!1}=n;let i=!a,s=Array.isArray(t)?[]:void 0;Rm(e,()=>{const o=Array.isArray(t)?t.map(d=>d()):t();if(!i){i=!0,s=o;return}const c=e0(()=>r(o,s));return s=o,c})}function ur(t,e,r){Wd(t,"post",e,r)}function Dm(t,e,r){Wd(t,"pre",e,r)}ur.pre=Dm;function ju(t){return Nm(t)?t():t}var Hn,Q0,$0,ea,Un,yo,wo,ta;class Im{constructor(e,r={box:"border-box"}){N(this,Hn,{width:0,height:0});N(this,Q0,!1);N(this,$0);N(this,ea);N(this,Un);N(this,yo,ie(()=>{var e;return(e=T(p(this,ta)))==null||e(),this.getSize().width}));N(this,wo,ie(()=>{var e;return(e=T(p(this,ta)))==null||e(),this.getSize().height}));N(this,ta,ie(()=>{const e=ju(p(this,ea));if(e)return Rd(r=>{if(!p(this,Un))return;const n=new(p(this,Un)).ResizeObserver(a=>{j(this,Q0,!0);for(const i of a){const s=p(this,$0).box==="content-box"?i.contentBoxSize:i.borderBoxSize,o=Array.isArray(s)?s:[s];p(this,Hn).width=o.reduce((c,d)=>Math.max(c,d.inlineSize),0),p(this,Hn).height=o.reduce((c,d)=>Math.max(c,d.blockSize),0)}r()});return n.observe(e),()=>{j(this,Q0,!1),n.disconnect()}})}));j(this,Un,r.window??Gd),j(this,$0,r),j(this,ea,e),j(this,Hn,{width:0,height:0})}calculateSize(){const e=ju(p(this,ea));if(!e||!p(this,Un))return;const r=e.offsetWidth,n=e.offsetHeight;if(p(this,$0).box==="border-box")return{width:r,height:n};const a=p(this,Un).getComputedStyle(e),i=parseFloat(a.paddingLeft)+parseFloat(a.paddingRight),s=parseFloat(a.paddingTop)+parseFloat(a.paddingBottom),o=parseFloat(a.borderLeftWidth)+parseFloat(a.borderRightWidth),c=parseFloat(a.borderTopWidth)+parseFloat(a.borderBottomWidth),d=r-i-o,h=n-s-c;return{width:d,height:h}}getSize(){return p(this,Q0)?p(this,Hn):this.calculateSize()??p(this,Hn)}get current(){var e;return(e=T(p(this,ta)))==null||e(),this.getSize()}get width(){return T(p(this,yo))}get height(){return T(p(this,wo))}}Hn=new WeakMap,Q0=new WeakMap,$0=new WeakMap,ea=new WeakMap,Un=new WeakMap,yo=new WeakMap,wo=new WeakMap,ta=new WeakMap;function N0(t){tr(()=>()=>{t()})}function zm(t,e){return setTimeout(e,t)}function Gc(t){Cd().then(t)}const Lm=1,Pm=9,Bm=11;function ql(t){return gs(t)&&t.nodeType===Lm&&typeof t.nodeName=="string"}function Vd(t){return gs(t)&&t.nodeType===Pm}function Fm(t){var e;return gs(t)&&((e=t.constructor)==null?void 0:e.name)==="VisualViewport"}function Hm(t){return gs(t)&&t.nodeType!==void 0}function Kd(t){return Hm(t)&&t.nodeType===Bm&&"host"in t}function Um(t,e){var n;if(!t||!e||!ql(t)||!ql(e))return!1;const r=(n=e.getRootNode)==null?void 0:n.call(e);if(t===e||t.contains(e))return!0;if(r&&Kd(r)){let a=e;for(;a;){if(t===a)return!0;a=a.parentNode||a.host}}return!1}function Yd(t){return Vd(t)?t:Fm(t)?t.document:(t==null?void 0:t.ownerDocument)??document}function Xd(t){var e;return Kd(t)?Xd(t.host):Vd(t)?t.defaultView??window:ql(t)?((e=t.ownerDocument)==null?void 0:e.defaultView)??window:window}function qm(t){let e=t.activeElement;for(;e!=null&&e.shadowRoot;){const r=e.shadowRoot.activeElement;if(r===e)break;e=r}return e}var si;class Wc{constructor(e){he(this,"element");N(this,si,ie(()=>this.element.current?this.element.current.getRootNode()??document:document));he(this,"getDocument",()=>Yd(this.root));he(this,"getWindow",()=>this.getDocument().defaultView??window);he(this,"getActiveElement",()=>qm(this.root));he(this,"isActiveElement",e=>e===this.getActiveElement());he(this,"querySelector",e=>this.root?this.root.querySelector(e):null);he(this,"querySelectorAll",e=>this.root?this.root.querySelectorAll(e):[]);he(this,"setTimeout",(e,r)=>this.getWindow().setTimeout(e,r));he(this,"clearTimeout",e=>this.getWindow().clearTimeout(e));typeof e=="function"?this.element=ne(e):this.element=e}get root(){return T(p(this,si))}set root(e){Y(p(this,si),e)}getElementById(e){return this.root.getElementById(e)}}si=new WeakMap;function Sn(t,e){return{[Y4()]:r=>Fd(t)?(t.current=r,e0(()=>e==null?void 0:e(r)),()=>{"isConnected"in r&&r.isConnected||(t.current=null,e==null||e(null))}):(t(r),e0(()=>e==null?void 0:e(r)),()=>{"isConnected"in r&&r.isConnected||(t(null),e==null||e(null))})}}function Gm(t){return t?"true":"false"}function Qs(t){return t?"":void 0}function w7(t){return t?!0:void 0}function Vc(t){return t?"open":"closed"}function x7(t){return t?"checked":"unchecked"}function Kc(t){return t==="starting"?{"data-starting-style":""}:t==="ending"?{"data-ending-style":""}:{}}function S7(t,e){return t?"true":"false"}var ra,oi;class Wm{constructor(e){N(this,ra);N(this,oi);he(this,"attrs");j(this,ra,e.getVariant?e.getVariant():null),j(this,oi,p(this,ra)?`data-${p(this,ra)}-`:`data-${e.component}-`),this.getAttr=this.getAttr.bind(this),this.selector=this.selector.bind(this),this.attrs=Object.fromEntries(e.parts.map(r=>[r,this.getAttr(r)]))}getAttr(e,r){return r?`data-${r}-${e}`:`${p(this,oi)}${e}`}selector(e,r){return`[${this.getAttr(e,r)}]`}}ra=new WeakMap,oi=new WeakMap;function Yc(t){const e=new Wm(t);return{...e.attrs,selector:e.selector,getAttr:e.getAttr}}const jd="Enter",Vm="Escape",Zd=" ",Jd=typeof document<"u",Zu=Km();function Km(){var t,e;return Jd&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ju(t){return t instanceof HTMLElement}function v0(t){return t instanceof Element}function Ym(t){return t instanceof Element||t instanceof SVGElement}function $s(t){return t.pointerType==="touch"}function Xm(t){return t!==null}var y0,Xr,gn,vn,o0,Gl,Wl;class jm{constructor(e){N(this,o0);N(this,y0);N(this,Xr,null);N(this,gn,null);N(this,vn,0);j(this,y0,e),N0(()=>pe(this,o0,Gl).call(this))}run(e){pe(this,o0,Gl).call(this);const r=p(this,y0).ref.current;if(!r)return;if(typeof r.getAnimations!="function"){pe(this,o0,Wl).call(this,e);return}const n=p(this,vn),a=()=>{n===p(this,vn)&&pe(this,o0,Wl).call(this,e)},i=()=>{if(n!==p(this,vn))return;const o=r.getAnimations();if(o.length===0){a();return}Promise.all(o.map(c=>c.finished)).then(()=>{a()}).catch(()=>{if(n!==p(this,vn))return;if(r.getAnimations().some(h=>h.pending||h.playState!=="finished")){i();return}a()})},s=()=>{j(this,Xr,window.requestAnimationFrame(()=>{j(this,Xr,null),i()}))};if(!p(this,y0).afterTick.current){s();return}j(this,Xr,window.requestAnimationFrame(()=>{j(this,Xr,null);const o="data-starting-style";if(!r.hasAttribute(o)){s();return}j(this,gn,new MutationObserver(()=>{var c;n===p(this,vn)&&(r.hasAttribute(o)||((c=p(this,gn))==null||c.disconnect(),j(this,gn,null),s()))})),p(this,gn).observe(r,{attributes:!0,attributeFilter:[o]})}))}}y0=new WeakMap,Xr=new WeakMap,gn=new WeakMap,vn=new WeakMap,o0=new WeakSet,Gl=function(){var e;p(this,Xr)!==null&&(window.cancelAnimationFrame(p(this,Xr)),j(this,Xr,null)),(e=p(this,gn))==null||e.disconnect(),j(this,gn,null),Fu(this,vn)._++},Wl=function(e){const r=()=>{e()};p(this,y0).afterTick?Gc(r):r()};var pr,li,ci,bn,yn,ui,qn,di,Vl;class eo{constructor(e){N(this,di);N(this,pr);N(this,li);N(this,ci);N(this,bn,Oe(!1));N(this,yn,Oe(void 0));N(this,ui,!1);N(this,qn,null);j(this,pr,e),Y(p(this,bn),e.open.current,!0),j(this,li,e.enabled??!0),j(this,ci,new jm({ref:p(this,pr).ref,afterTick:p(this,pr).open})),N0(()=>pe(this,di,Vl).call(this)),ur(()=>p(this,pr).open.current,r=>{var n,a,i,s,o,c;if(!p(this,ui)){j(this,ui,!0);return}if(pe(this,di,Vl).call(this),!r&&((a=(n=p(this,pr)).shouldSkipExitAnimation)!=null&&a.call(n))){Y(p(this,bn),!1),Y(p(this,yn),void 0),(s=(i=p(this,pr)).onComplete)==null||s.call(i);return}if(r&&Y(p(this,bn),!0),Y(p(this,yn),r?"starting":"ending",!0),r&&j(this,qn,window.requestAnimationFrame(()=>{j(this,qn,null),p(this,pr).open.current&&Y(p(this,yn),void 0)})),!p(this,li)){r||Y(p(this,bn),!1),Y(p(this,yn),void 0),(c=(o=p(this,pr)).onComplete)==null||c.call(o);return}p(this,ci).run(()=>{var d,h;r===p(this,pr).open.current&&(p(this,pr).open.current||Y(p(this,bn),!1),Y(p(this,yn),void 0),(h=(d=p(this,pr)).onComplete)==null||h.call(d))})})}get shouldRender(){return T(p(this,bn))}get transitionStatus(){return T(p(this,yn))}}pr=new WeakMap,li=new WeakMap,ci=new WeakMap,bn=new WeakMap,yn=new WeakMap,ui=new WeakMap,qn=new WeakMap,di=new WeakSet,Vl=function(){p(this,qn)!==null&&(window.cancelAnimationFrame(p(this,qn)),j(this,qn,null))};function it(){}function Sa(t,e){return`bits-${t}`}const Zm=Yc({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),fa=new xa("Dialog.Root | AlertDialog.Root");var hi,fi,mi,pi,gi,vi,bi,yi,wi,xi,Si;const Su=class Su{constructor(e,r){he(this,"opts");N(this,hi,Oe(null));N(this,fi,Oe(null));N(this,mi,Oe(null));N(this,pi,Oe(null));N(this,gi,Oe(void 0));N(this,vi,Oe(void 0));N(this,bi,Oe(void 0));N(this,yi,Oe(void 0));N(this,wi,Oe(null));N(this,xi,Oe(0));he(this,"depth");he(this,"parent");he(this,"contentPresence");he(this,"overlayPresence");he(this,"getBitsAttr",e=>Zm.getAttr(e,this.opts.variant.current));N(this,Si,ie(()=>({"data-state":Vc(this.opts.open.current)})));this.opts=e,this.parent=r,this.depth=r?r.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new eo({ref:ne(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new eo({ref:ne(()=>this.overlayNode),open:this.opts.open,enabled:!0}),ur(()=>this.opts.open.current,n=>{this.parent&&(n?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),N0(()=>{var n;this.opts.open.current&&((n=this.parent)==null||n.decrementNested())})}static create(e){const r=fa.getOr(null);return fa.set(new Su(e,r))}get triggerNode(){return T(p(this,hi))}set triggerNode(e){Y(p(this,hi),e,!0)}get contentNode(){return T(p(this,fi))}set contentNode(e){Y(p(this,fi),e,!0)}get overlayNode(){return T(p(this,mi))}set overlayNode(e){Y(p(this,mi),e,!0)}get descriptionNode(){return T(p(this,pi))}set descriptionNode(e){Y(p(this,pi),e,!0)}get contentId(){return T(p(this,gi))}set contentId(e){Y(p(this,gi),e,!0)}get titleId(){return T(p(this,vi))}set titleId(e){Y(p(this,vi),e,!0)}get triggerId(){return T(p(this,bi))}set triggerId(e){Y(p(this,bi),e,!0)}get descriptionId(){return T(p(this,yi))}set descriptionId(e){Y(p(this,yi),e,!0)}get cancelNode(){return T(p(this,wi))}set cancelNode(e){Y(p(this,wi),e,!0)}get nestedOpenCount(){return T(p(this,xi))}set nestedOpenCount(e){Y(p(this,xi),e,!0)}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}incrementNested(){var e;this.nestedOpenCount++,(e=this.parent)==null||e.incrementNested()}decrementNested(){var e;this.nestedOpenCount!==0&&(this.nestedOpenCount--,(e=this.parent)==null||e.decrementNested())}get sharedProps(){return T(p(this,Si))}set sharedProps(e){Y(p(this,Si),e)}};hi=new WeakMap,fi=new WeakMap,mi=new WeakMap,pi=new WeakMap,gi=new WeakMap,vi=new WeakMap,bi=new WeakMap,yi=new WeakMap,wi=new WeakMap,xi=new WeakMap,Si=new WeakMap;let Kl=Su;var Ei;const Eu=class Eu{constructor(e,r){he(this,"opts");he(this,"root");he(this,"attachment");N(this,Ei,ie(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=Sn(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Eu(e,fa.get())}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===Zd||e.key===jd)&&(e.preventDefault(),this.root.handleClose())}get props(){return T(p(this,Ei))}set props(e){Y(p(this,Ei),e)}};Ei=new WeakMap;let Yl=Eu;var Ai;const Au=class Au{constructor(e,r){he(this,"opts");he(this,"root");he(this,"attachment");N(this,Ai,ie(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.titleId=this.opts.id.current,this.attachment=Sn(this.opts.ref),ur.pre(()=>this.opts.id.current,n=>{this.root.titleId=n})}static create(e){return new Au(e,fa.get())}get props(){return T(p(this,Ai))}set props(e){Y(p(this,Ai),e)}};Ai=new WeakMap;let Xl=Au;var Ti,_i;const Tu=class Tu{constructor(e,r){he(this,"opts");he(this,"root");he(this,"attachment");N(this,Ti,ie(()=>({open:this.root.opts.open.current})));N(this,_i,ie(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":Qs(this.root.nestedOpenCount>0),"data-nested":Qs(this.root.parent!==null),...Kc(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=Sn(this.opts.ref,n=>{this.root.contentNode=n,this.root.contentId=n==null?void 0:n.id})}static create(e){return new Tu(e,fa.get())}get snippetProps(){return T(p(this,Ti))}set snippetProps(e){Y(p(this,Ti),e)}get props(){return T(p(this,_i))}set props(e){Y(p(this,_i),e)}get shouldRender(){return this.root.contentPresence.shouldRender}};Ti=new WeakMap,_i=new WeakMap;let jl=Tu;var ki,Mi;const _u=class _u{constructor(e,r){he(this,"opts");he(this,"root");he(this,"attachment");N(this,ki,ie(()=>({open:this.root.opts.open.current})));N(this,Mi,ie(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":Qs(this.root.nestedOpenCount>0),"data-nested":Qs(this.root.parent!==null),...Kc(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=Sn(this.opts.ref,n=>this.root.overlayNode=n)}static create(e){return new _u(e,fa.get())}get snippetProps(){return T(p(this,ki))}set snippetProps(e){Y(p(this,ki),e)}get props(){return T(p(this,Mi))}set props(e){Y(p(this,Mi),e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};ki=new WeakMap,Mi=new WeakMap;let Zl=_u;var Jm=He("<div><!></div>");function Xc(t,e){const r=wa();st(e,!0);let n=H(e,"id",19,()=>Sa(r)),a=H(e,"ref",15,null),i=H(e,"level",3,2),s=Yt(e,["$$slots","$$events","$$legacy","id","ref","child","children","level"]);const o=Xl.create({id:ne(()=>n()),level:ne(()=>i()),ref:ne(()=>a(),v=>a(v))}),c=ie(()=>xr(s,o.props));var d=Re(),h=we(d);{var m=v=>{var y=Re(),w=we(y);$e(w,()=>e.child,()=>({props:T(c)})),Q(v,y)},b=v=>{var y=Jm();zr(y,()=>({...T(c)}));var w=Fe(y);$e(w,()=>e.children??Et),De(y),Q(v,y)};at(h,v=>{e.child?v(m):v(b,-1)})}Q(t,d),ot()}function Qm(t,e){var r=Re(),n=we(r);j4(n,()=>e.children,a=>{var i=Re(),s=we(i);$e(s,()=>e.children??Et),Q(a,i)}),Q(t,r)}const $m=new xa("BitsConfig");function e2(){const t=new t2(null,{});return $m.getOr(t).opts}class t2{constructor(e,r){he(this,"opts");const n=r2(e,r);this.opts={defaultPortalTo:n(a=>a.defaultPortalTo),defaultLocale:n(a=>a.defaultLocale)}}}function r2(t,e){return r=>ne(()=>{var i,s;const a=(i=r(e))==null?void 0:i.current;if(a!==void 0)return a;if(t!==null)return(s=r(t.opts))==null?void 0:s.current})}function n2(t,e){return r=>{const n=e2();return ne(()=>{const a=r();if(a!==void 0)return a;const i=t(n).current;return i!==void 0?i:e})}}const a2=n2(t=>t.defaultPortalTo,"body");function Qa(t,e){st(e,!0);const r=a2(()=>e.to),n=O4();let a=ie(i);function i(){if(!Jd||e.disabled)return null;let m=null;return typeof r.current=="string"?m=document.querySelector(r.current):m=r.current,m}let s;function o(){s&&(B4(s),s=null)}ur([()=>T(a),()=>e.disabled],([m,b])=>{if(!m||b){o();return}return s=P4(Qm,{target:m,props:{children:e.children},context:n}),()=>{o()}});var c=Re(),d=we(c);{var h=m=>{var b=Re(),v=we(b);$e(v,()=>e.children??Et),Q(m,b)};at(d,m=>{e.disabled&&m(h)})}Q(t,c),ot()}function Qu(t,e=500){let r=null;const n=(...a)=>{r!==null&&clearTimeout(r),r=setTimeout(()=>{t(...a)},e)};return n.destroy=()=>{r!==null&&(clearTimeout(r),r=null)},n}function Qd(t,e){return t===e||t.contains(e)}function $d(t){return(t==null?void 0:t.ownerDocument)??document}function i2(t,e){const{clientX:r,clientY:n}=t,a=e.getBoundingClientRect();return r<a.left||r>a.right||n<a.top||n>a.bottom}/*!
6
+ * tabbable 6.4.0
7
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
8
+ */var eh=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],to=eh.join(","),th=typeof Element>"u",O0=th?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ro=!th&&Element.prototype.getRootNode?function(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}:function(t){return t==null?void 0:t.ownerDocument},no=function(e,r){var n;r===void 0&&(r=!0);var a=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),i=a===""||a==="true",s=i||r&&e&&(typeof e.closest=="function"?e.closest("[inert]"):no(e.parentNode));return s},s2=function(e){var r,n=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"contenteditable");return n===""||n==="true"},rh=function(e,r,n){if(no(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(to));return r&&O0.call(e,to)&&a.unshift(e),a=a.filter(n),a},ao=function(e,r,n){for(var a=[],i=Array.from(e);i.length;){var s=i.shift();if(!no(s,!1))if(s.tagName==="SLOT"){var o=s.assignedElements(),c=o.length?o:s.children,d=ao(c,!0,n);n.flatten?a.push.apply(a,d):a.push({scopeParent:s,candidates:d})}else{var h=O0.call(s,to);h&&n.filter(s)&&(r||!e.includes(s))&&a.push(s);var m=s.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(s),b=!no(m,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(s));if(m&&b){var v=ao(m===!0?s.children:m.children,!0,n);n.flatten?a.push.apply(a,v):a.push({scopeParent:s,candidates:v})}else i.unshift.apply(i,s.children)}}return a},nh=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ah=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||s2(e))&&!nh(e)?0:e.tabIndex},o2=function(e,r){var n=ah(e);return n<0&&r&&!nh(e)?0:n},l2=function(e,r){return e.tabIndex===r.tabIndex?e.documentOrder-r.documentOrder:e.tabIndex-r.tabIndex},ih=function(e){return e.tagName==="INPUT"},c2=function(e){return ih(e)&&e.type==="hidden"},u2=function(e){var r=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return r},d2=function(e,r){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===r)return e[n]},h2=function(e){if(!e.name)return!0;var r=e.form||ro(e),n=function(o){return r.querySelectorAll('input[type="radio"][name="'+o+'"]')},a;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")a=n(window.CSS.escape(e.name));else try{a=n(e.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var i=d2(a,e.form);return!i||i===e},f2=function(e){return ih(e)&&e.type==="radio"},m2=function(e){return f2(e)&&!h2(e)},p2=function(e){var r,n=e&&ro(e),a=(r=n)===null||r===void 0?void 0:r.host,i=!1;if(n&&n!==e){var s,o,c;for(i=!!((s=a)!==null&&s!==void 0&&(o=s.ownerDocument)!==null&&o!==void 0&&o.contains(a)||e!=null&&(c=e.ownerDocument)!==null&&c!==void 0&&c.contains(e));!i&&a;){var d,h,m;n=ro(a),a=(d=n)===null||d===void 0?void 0:d.host,i=!!((h=a)!==null&&h!==void 0&&(m=h.ownerDocument)!==null&&m!==void 0&&m.contains(a))}}return i},$u=function(e){var r=e.getBoundingClientRect(),n=r.width,a=r.height;return n===0&&a===0},g2=function(e,r){var n=r.displayCheck,a=r.getShadowRoot;if(n==="full-native"&&"checkVisibility"in e){var i=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!i}if(getComputedStyle(e).visibility==="hidden")return!0;var s=O0.call(e,"details>summary:first-of-type"),o=s?e.parentElement:e;if(O0.call(o,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof a=="function"){for(var c=e;e;){var d=e.parentElement,h=ro(e);if(d&&!d.shadowRoot&&a(d)===!0)return $u(e);e.assignedSlot?e=e.assignedSlot:!d&&h!==e.ownerDocument?e=h.host:e=d}e=c}if(p2(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return $u(e);return!1},v2=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var r=e.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var a=r.children.item(n);if(a.tagName==="LEGEND")return O0.call(r,"fieldset[disabled] *")?!0:!a.contains(e)}return!0}r=r.parentElement}return!1},io=function(e,r){return!(r.disabled||c2(r)||g2(r,e)||u2(r)||v2(r))},Jl=function(e,r){return!(m2(r)||ah(r)<0||!io(e,r))},b2=function(e){var r=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},sh=function(e){var r=[],n=[];return e.forEach(function(a,i){var s=!!a.scopeParent,o=s?a.scopeParent:a,c=o2(o,s),d=s?sh(a.candidates):o;c===0?s?r.push.apply(r,d):r.push(o):n.push({documentOrder:i,tabIndex:c,item:a,isScope:s,content:d})}),n.sort(l2).reduce(function(a,i){return i.isScope?a.push.apply(a,i.content):a.push(i.content),a},[]).concat(r)},y2=function(e,r){r=r||{};var n;return r.getShadowRoot?n=ao([e],r.includeContainer,{filter:Jl.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:b2}):n=rh(e,r.includeContainer,Jl.bind(null,r)),sh(n)},w2=function(e,r){r=r||{};var n;return r.getShadowRoot?n=ao([e],r.includeContainer,{filter:io.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):n=rh(e,r.includeContainer,io.bind(null,r)),n},x2=function(e,r){if(r=r||{},!e)throw new Error("No node provided");return O0.call(e,to)===!1?!1:Jl(r,e)},S2=eh.concat("iframe:not([inert]):not([inert] *)").join(","),E2=function(e,r){if(r=r||{},!e)throw new Error("No node provided");return O0.call(e,S2)===!1?!1:io(r,e)};const A2="data-context-menu-trigger",T2="data-context-menu-content";Yc({component:"menu",parts:["trigger","content","sub-trigger","item","group","group-heading","checkbox-group","checkbox-item","radio-group","radio-item","separator","sub-content","arrow"]});globalThis.bitsDismissableLayers??(globalThis.bitsDismissableLayers=new Map);var na,w0,Gn,aa,ia,Wn,Oi,wn,xo,ya,oh,So,sa,Eo,Ao,To,_o,Ci,lh,ko,Mo;const ku=class ku{constructor(e){N(this,ya);he(this,"opts");N(this,na);N(this,w0);N(this,Gn,{pointerdown:!1});N(this,aa,!1);N(this,ia,!1);N(this,Wn);N(this,Oi);N(this,wn,it);N(this,xo,e=>{e.defaultPrevented||this.opts.ref.current&&Gc(()=>{var r,n;!this.opts.ref.current||p(this,_o).call(this,e.target)||e.target&&!p(this,ia)&&((n=(r=p(this,Oi)).current)==null||n.call(r,e))})});N(this,So,e=>{let r=e;r.defaultPrevented&&(r=e1(e)),p(this,na).current(e)});N(this,sa,Qu(e=>{if(!this.opts.ref.current){p(this,wn).call(this);return}const r=this.opts.isValidEvent.current(e,this.opts.ref.current)||M2(e,this.opts.ref.current);if(!p(this,aa)||pe(this,ya,lh).call(this)||!r){p(this,wn).call(this);return}let n=e;if(n.defaultPrevented&&(n=e1(n)),p(this,w0).current!=="close"&&p(this,w0).current!=="defer-otherwise-close"){p(this,wn).call(this);return}e.pointerType==="touch"?(p(this,wn).call(this),j(this,wn,Kt(p(this,Wn),"click",p(this,So),{once:!0}))):p(this,na).current(n)},10));N(this,Eo,e=>{p(this,Gn)[e.type]=!0});N(this,Ao,e=>{p(this,Gn)[e.type]=!1});N(this,To,()=>{this.opts.ref.current&&j(this,aa,k2(this.opts.ref.current))});N(this,_o,e=>this.opts.ref.current?Qd(this.opts.ref.current,e):!1);N(this,Ci,Qu(()=>{for(const e in p(this,Gn))p(this,Gn)[e]=!1;j(this,aa,!1)},20));N(this,ko,()=>{j(this,ia,!0)});N(this,Mo,()=>{j(this,ia,!1)});he(this,"props",{onfocuscapture:p(this,ko),onblurcapture:p(this,Mo)});this.opts=e,j(this,w0,e.interactOutsideBehavior),j(this,na,e.onInteractOutside),j(this,Oi,e.onFocusOutside),tr(()=>{j(this,Wn,$d(this.opts.ref.current))});let r=it;const n=()=>{p(this,Ci).call(this),globalThis.bitsDismissableLayers.delete(this),p(this,sa).destroy(),r()};ur([()=>this.opts.enabled.current,()=>this.opts.ref.current],()=>{if(!(!this.opts.enabled.current||!this.opts.ref.current))return zm(1,()=>{this.opts.ref.current&&(globalThis.bitsDismissableLayers.set(this,p(this,w0)),r(),r=pe(this,ya,oh).call(this))}),n}),N0(()=>{p(this,Ci).destroy(),globalThis.bitsDismissableLayers.delete(this),p(this,sa).destroy(),p(this,wn).call(this),r()})}static create(e){return new ku(e)}};na=new WeakMap,w0=new WeakMap,Gn=new WeakMap,aa=new WeakMap,ia=new WeakMap,Wn=new WeakMap,Oi=new WeakMap,wn=new WeakMap,xo=new WeakMap,ya=new WeakSet,oh=function(){return Xa(Kt(p(this,Wn),"pointerdown",Xa(p(this,Eo),p(this,To)),{capture:!0}),Kt(p(this,Wn),"pointerdown",Xa(p(this,Ao),p(this,sa))),Kt(p(this,Wn),"focusin",p(this,xo)))},So=new WeakMap,sa=new WeakMap,Eo=new WeakMap,Ao=new WeakMap,To=new WeakMap,_o=new WeakMap,Ci=new WeakMap,lh=function(){return Object.values(p(this,Gn)).some(Boolean)},ko=new WeakMap,Mo=new WeakMap;let Ql=ku;function _2(t=[...globalThis.bitsDismissableLayers]){return t.findLast(([e,{current:r}])=>r==="close"||r==="ignore")}function k2(t){const e=[...globalThis.bitsDismissableLayers],r=_2(e);if(r)return r[0].opts.ref.current===t;const[n]=e[0];return n.opts.ref.current===t}function M2(t,e){const r=t.target;if(!Ym(r))return!1;const n=!!r.closest(`[${A2}]`),a=!!e.closest(`[${T2}]`);return"button"in t&&t.button>0&&!n?!1:"button"in t&&t.button===0&&n&&a?!0:n&&a?!1:$d(r).documentElement.contains(r)&&!Qd(e,r)&&i2(t,e)}function e1(t){const e=t.currentTarget,r=t.target;let n;t instanceof PointerEvent?n=new PointerEvent(t.type,t):n=new PointerEvent("pointerdown",t);let a=!1;return new Proxy(n,{get:(s,o)=>o==="currentTarget"?e:o==="target"?r:o==="preventDefault"?()=>{a=!0,typeof s.preventDefault=="function"&&s.preventDefault()}:o==="defaultPrevented"?a:o in s?s[o]:t[o]})}function ch(t,e){st(e,!0);let r=H(e,"interactOutsideBehavior",3,"close"),n=H(e,"onInteractOutside",3,it),a=H(e,"onFocusOutside",3,it),i=H(e,"isValidEvent",3,()=>!1);const s=Ql.create({id:ne(()=>e.id),interactOutsideBehavior:ne(()=>r()),onInteractOutside:ne(()=>n()),enabled:ne(()=>e.enabled),onFocusOutside:ne(()=>a()),isValidEvent:ne(()=>i()),ref:e.ref});var o=Re(),c=we(o);$e(c,()=>e.children??Et,()=>({props:s.props})),Q(t,o),ot()}globalThis.bitsEscapeLayers??(globalThis.bitsEscapeLayers=new Map);var Oo,Co;const Mu=class Mu{constructor(e){he(this,"opts");he(this,"domContext");N(this,Oo,()=>Kt(this.domContext.getDocument(),"keydown",p(this,Co),{passive:!1}));N(this,Co,e=>{if(e.key!==Vm||!O2(this))return;const r=new KeyboardEvent(e.type,e);e.preventDefault();const n=this.opts.escapeKeydownBehavior.current;n!=="close"&&n!=="defer-otherwise-close"||this.opts.onEscapeKeydown.current(r)});this.opts=e,this.domContext=new Wc(this.opts.ref);let r=it;ur(()=>e.enabled.current,n=>(n&&(globalThis.bitsEscapeLayers.set(this,e.escapeKeydownBehavior),r=p(this,Oo).call(this)),()=>{r(),globalThis.bitsEscapeLayers.delete(this)}))}static create(e){return new Mu(e)}};Oo=new WeakMap,Co=new WeakMap;let $l=Mu;function O2(t){const e=[...globalThis.bitsEscapeLayers],r=e.findLast(([a,{current:i}])=>i==="close"||i==="ignore");if(r)return r[0]===t;const[n]=e[0];return n===t}function uh(t,e){st(e,!0);let r=H(e,"escapeKeydownBehavior",3,"close"),n=H(e,"onEscapeKeydown",3,it);$l.create({escapeKeydownBehavior:ne(()=>r()),onEscapeKeydown:ne(()=>n()),enabled:ne(()=>e.enabled),ref:e.ref});var a=Re(),i=we(a);$e(i,()=>e.children??Et),Q(t,a),ot()}var xn,Ni,x0;const No=class No{constructor(){N(this,xn,Qr([]));N(this,Ni,new WeakMap);N(this,x0,new WeakMap)}static getInstance(){return this.instance||(this.instance=new No),this.instance}register(e){const r=this.getActive();r&&r!==e&&r.pause();const n=document.activeElement;n&&n!==document.body&&p(this,x0).set(e,n),p(this,xn).current=p(this,xn).current.filter(a=>a!==e),p(this,xn).current.unshift(e)}unregister(e){p(this,xn).current=p(this,xn).current.filter(n=>n!==e);const r=this.getActive();r&&r.resume()}getActive(){return p(this,xn).current[0]}setFocusMemory(e,r){p(this,Ni).set(e,r)}getFocusMemory(e){return p(this,Ni).get(e)}isActiveScope(e){return this.getActive()===e}setPreFocusMemory(e,r){p(this,x0).set(e,r)}getPreFocusMemory(e){return p(this,x0).get(e)}clearPreFocusMemory(e){p(this,x0).delete(e)}};xn=new WeakMap,Ni=new WeakMap,x0=new WeakMap,he(No,"instance");let ec=No;var Vn,$t,gr,S0,Kn,Nt,dh,hh,fh,mh,rc,Ws,nc;const Ou=class Ou{constructor(e){N(this,Nt);N(this,Vn,!1);N(this,$t,null);N(this,gr,ec.getInstance());N(this,S0,[]);N(this,Kn);j(this,Kn,e)}get paused(){return p(this,Vn)}pause(){j(this,Vn,!0)}resume(){j(this,Vn,!1)}mount(e){p(this,$t)&&this.unmount(),j(this,$t,e),p(this,gr).register(this),pe(this,Nt,mh).call(this),pe(this,Nt,hh).call(this)}unmount(){p(this,$t)&&(pe(this,Nt,dh).call(this),pe(this,Nt,fh).call(this),p(this,gr).unregister(this),p(this,gr).clearPreFocusMemory(this),j(this,$t,null))}static use(e){let r=null;return ur([()=>e.ref.current,()=>e.enabled.current],([n,a])=>{n&&a?(r||(r=new Ou(e)),r.mount(n)):r&&(r.unmount(),r=null)}),N0(()=>{r==null||r.unmount()}),{get props(){return{tabindex:-1}}}}};Vn=new WeakMap,$t=new WeakMap,gr=new WeakMap,S0=new WeakMap,Kn=new WeakMap,Nt=new WeakSet,dh=function(){for(const e of p(this,S0))e();j(this,S0,[])},hh=function(){if(!p(this,$t))return;const e=new CustomEvent("focusScope.onOpenAutoFocus",{bubbles:!1,cancelable:!0});p(this,Kn).onOpenAutoFocus.current(e),e.defaultPrevented||requestAnimationFrame(()=>{if(!p(this,$t))return;const r=pe(this,Nt,Ws).call(this);r?(r.focus(),p(this,gr).setFocusMemory(this,r)):p(this,$t).focus()})},fh=function(){var r,n;const e=new CustomEvent("focusScope.onCloseAutoFocus",{bubbles:!1,cancelable:!0});if((n=(r=p(this,Kn).onCloseAutoFocus).current)==null||n.call(r,e),!e.defaultPrevented){const a=p(this,gr).getPreFocusMemory(this);if(a&&document.contains(a))try{a.focus()}catch{document.body.focus()}}},mh=function(){if(!p(this,$t)||!p(this,Kn).trap.current)return;const e=p(this,$t),r=e.ownerDocument,n=s=>{if(p(this,Vn)||!p(this,gr).isActiveScope(this))return;const o=s.target;if(!o)return;if(e.contains(o))p(this,gr).setFocusMemory(this,o);else{const d=p(this,gr).getFocusMemory(this);if(d&&e.contains(d)&&E2(d))s.preventDefault(),d.focus();else{const h=pe(this,Nt,Ws).call(this),m=pe(this,Nt,nc).call(this)[0];(h||m||e).focus()}}},a=s=>{if(!p(this,Kn).loop||p(this,Vn)||s.key!=="Tab"||!p(this,gr).isActiveScope(this))return;const o=pe(this,Nt,rc).call(this);if(o.length===0)return;const c=o[0],d=o[o.length-1];!s.shiftKey&&r.activeElement===d?(s.preventDefault(),c.focus()):s.shiftKey&&r.activeElement===c&&(s.preventDefault(),d.focus())};p(this,S0).push(Kt(r,"focusin",n,{capture:!0}),Kt(e,"keydown",a));const i=new MutationObserver(()=>{const s=p(this,gr).getFocusMemory(this);if(s&&!e.contains(s)){const o=pe(this,Nt,Ws).call(this),c=pe(this,Nt,nc).call(this)[0],d=o||c;d?(d.focus(),p(this,gr).setFocusMemory(this,d)):e.focus()}});i.observe(e,{childList:!0,subtree:!0}),p(this,S0).push(()=>i.disconnect())},rc=function(){return p(this,$t)?y2(p(this,$t),{includeContainer:!1,getShadowRoot:!0}):[]},Ws=function(){return pe(this,Nt,rc).call(this)[0]||null},nc=function(){return p(this,$t)?w2(p(this,$t),{includeContainer:!1,getShadowRoot:!0}):[]};let tc=Ou;function ph(t,e){st(e,!0);let r=H(e,"enabled",3,!1),n=H(e,"trapFocus",3,!1),a=H(e,"loop",3,!1),i=H(e,"onCloseAutoFocus",3,it),s=H(e,"onOpenAutoFocus",3,it);const o=tc.use({enabled:ne(()=>r()),trap:ne(()=>n()),loop:a(),onCloseAutoFocus:ne(()=>i()),onOpenAutoFocus:ne(()=>s()),ref:e.ref});var c=Re(),d=we(c);$e(d,()=>e.focusScope??Et,()=>({props:o.props})),Q(t,c),ot()}const t1=()=>{};globalThis.bitsTextSelectionLayers??(globalThis.bitsTextSelectionLayers=new Map);var oa,la,Ri,Di,Ro,gh,Do,Io,Ii;const Cu=class Cu{constructor(e){N(this,Ro);he(this,"opts");he(this,"domContext");N(this,oa,it);N(this,la,!1);N(this,Ri,t1);N(this,Di,t1);N(this,Do,e=>{p(this,Di).call(this,e)});N(this,Io,e=>{const r=this.opts.ref.current,n=e.target;!Ju(r)||!Ju(n)||!p(this,la)||!N2(this)||!Um(r,n)||(p(this,Ri).call(this,e),!e.defaultPrevented&&j(this,oa,C2(r,this.domContext.getDocument().body)))});N(this,Ii,()=>{p(this,oa).call(this),j(this,oa,it)});this.opts=e,this.domContext=new Wc(e.ref);let r=it;ur(()=>[this.opts.enabled.current,this.opts.onPointerDown.current,this.opts.onPointerUp.current],([n,a,i])=>(j(this,la,n),j(this,Ri,a),j(this,Di,i),n&&(globalThis.bitsTextSelectionLayers.set(this,this.opts.enabled),r(),r=pe(this,Ro,gh).call(this)),()=>{j(this,la,!1),r(),p(this,Ii).call(this),globalThis.bitsTextSelectionLayers.delete(this)}))}static create(e){return new Cu(e)}};oa=new WeakMap,la=new WeakMap,Ri=new WeakMap,Di=new WeakMap,Ro=new WeakSet,gh=function(){return Xa(Kt(this.domContext.getDocument(),"pointerdown",p(this,Io)),Kt(this.domContext.getDocument(),"pointerup",Hd(p(this,Ii),p(this,Do))))},Do=new WeakMap,Io=new WeakMap,Ii=new WeakMap;let ac=Cu;const r1=t=>t.style.userSelect||t.style.webkitUserSelect;function C2(t,e){const r=r1(e),n=r1(t);return ks(e,"none"),ks(t,"text"),()=>{ks(e,r),ks(t,n)}}function ks(t,e){t.style.userSelect=e,t.style.webkitUserSelect=e}function N2(t){const e=[...globalThis.bitsTextSelectionLayers];if(!e.length)return!1;const r=e.at(-1);return r?r[0]===t:!1}function vh(t,e){st(e,!0);let r=H(e,"preventOverflowTextSelection",3,!0),n=H(e,"onPointerDown",3,it),a=H(e,"onPointerUp",3,it);ac.create({id:ne(()=>e.id),onPointerDown:ne(()=>n()),onPointerUp:ne(()=>a()),enabled:ne(()=>e.enabled&&r()),ref:e.ref});var i=Re(),s=we(i);$e(s,()=>e.children??Et),Q(t,i),ot()}globalThis.bitsIdCounter??(globalThis.bitsIdCounter={current:0});function jc(t="bits"){return globalThis.bitsIdCounter.current++,`${t}-${globalThis.bitsIdCounter.current}`}var zi,ca,E0,A0,zo,bh;class R2{constructor(e){N(this,zo);N(this,zi);N(this,ca,0);N(this,E0,Oe());N(this,A0);j(this,zi,e)}get(...e){return j(this,ca,p(this,ca)+1),T(p(this,E0))===void 0&&j(this,A0,C4(()=>{Y(p(this,E0),p(this,zi).call(this,...e),!0)})),tr(()=>()=>{pe(this,zo,bh).call(this)}),T(p(this,E0))}}zi=new WeakMap,ca=new WeakMap,E0=new WeakMap,A0=new WeakMap,zo=new WeakSet,bh=function(){j(this,ca,p(this,ca)-1),p(this,A0)&&p(this,ca)<=0&&(p(this,A0).call(this),Y(p(this,E0),void 0),j(this,A0,void 0))};const Vs=new Ul;let Ms=Oe(null),u0=null,La=null,Pa=!1;const n1=ne(()=>{for(const t of Vs.values())if(t)return!0;return!1});let dl=null;const D2=new R2(()=>{function t(){document.body.setAttribute("style",T(Ms)??""),document.body.style.removeProperty("--scrollbar-width"),Zu&&(u0==null||u0()),Y(Ms,null)}function e(){La!==null&&(window.clearTimeout(La),La=null)}function r(a,i){e(),Pa=!0,dl=Date.now();const s=dl,o=()=>{La=null,dl===s&&(yh(Vs)?Pa=!1:(Pa=!1,i()))},c=a===null?24:a;La=window.setTimeout(o,c)}function n(){T(Ms)===null&&Vs.size===0&&!Pa&&Y(Ms,document.body.getAttribute("style"),!0)}return ur(()=>n1.current,()=>{var h,m;if(!n1.current)return;n(),Pa=!1;const a=getComputedStyle(document.documentElement),i=getComputedStyle(document.body),s=((h=a.scrollbarGutter)==null?void 0:h.includes("stable"))||((m=i.scrollbarGutter)==null?void 0:m.includes("stable")),o=window.innerWidth-document.documentElement.clientWidth,d={padding:Number.parseInt(i.paddingRight??"0",10)+o,margin:Number.parseInt(i.marginRight??"0",10)};o>0&&!s&&(document.body.style.paddingRight=`${d.padding}px`,document.body.style.marginRight=`${d.margin}px`,document.body.style.setProperty("--scrollbar-width",`${o}px`)),document.body.style.overflow="hidden",Zu&&(u0=Kt(document,"touchmove",b=>{b.target===document.documentElement&&(b.touches.length>1||b.preventDefault())},{passive:!1})),Gc(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})}),N0(()=>()=>{u0==null||u0()}),{get lockMap(){return Vs},resetBodyStyle:t,scheduleCleanupIfNoNewLocks:r,cancelPendingCleanup:e,ensureInitialStyleCaptured:n}});var T0,Li,Pi,vr;class I2{constructor(e,r=()=>null){N(this,T0,jc());N(this,Li);N(this,Pi,()=>null);N(this,vr);he(this,"locked");j(this,Li,e),j(this,Pi,r),j(this,vr,D2.get()),p(this,vr)&&(p(this,vr).cancelPendingCleanup(),p(this,vr).ensureInitialStyleCaptured(),p(this,vr).lockMap.set(p(this,T0),p(this,Li)??!1),this.locked=ne(()=>p(this,vr).lockMap.get(p(this,T0))??!1,n=>p(this,vr).lockMap.set(p(this,T0),n)),N0(()=>{if(p(this,vr).lockMap.delete(p(this,T0)),yh(p(this,vr).lockMap))return;const n=p(this,Pi).call(this);p(this,vr).scheduleCleanupIfNoNewLocks(n,()=>{p(this,vr).resetBodyStyle()})}))}}T0=new WeakMap,Li=new WeakMap,Pi=new WeakMap,vr=new WeakMap;function yh(t){for(const[e,r]of t)if(r)return!0;return!1}function so(t,e){st(e,!0);let r=H(e,"preventScroll",3,!0),n=H(e,"restoreScrollDelay",3,null);r()&&new I2(r(),()=>n()),ot()}var z2=He("<div><!></div>");function Ho(t,e){const r=wa();st(e,!0);let n=H(e,"id",19,()=>Sa(r)),a=H(e,"forceMount",3,!1),i=H(e,"ref",15,null),s=Yt(e,["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]);const o=Zl.create({id:ne(()=>n()),ref:ne(()=>i(),b=>i(b))}),c=ie(()=>xr(s,o.props));var d=Re(),h=we(d);{var m=b=>{var v=Re(),y=we(v);{var w=M=>{var C=Re(),D=we(C);{let I=ie(()=>({props:xr(T(c)),...o.snippetProps}));$e(D,()=>e.child,()=>T(I))}Q(M,C)},k=M=>{var C=z2();zr(C,I=>({...I}),[()=>xr(T(c))]);var D=Fe(C);$e(D,()=>e.children??Et,()=>o.snippetProps),De(C),Q(M,C)};at(y,M=>{e.child?M(w):M(k,-1)})}Q(b,v)};at(h,b=>{(o.shouldRender||a())&&b(m)})}Q(t,d),ot()}N4();const L2=["top","right","bottom","left"],t0=Math.min,Er=Math.max,oo=Math.round,Os=Math.floor,tn=t=>({x:t,y:t}),P2={left:"right",right:"left",bottom:"top",top:"bottom"};function ic(t,e,r){return Er(t,t0(e,r))}function Tn(t,e){return typeof t=="function"?t(e):t}function _n(t){return t.split("-")[0]}function Ea(t){return t.split("-")[1]}function Zc(t){return t==="x"?"y":"x"}function Jc(t){return t==="y"?"height":"width"}function $r(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function Qc(t){return Zc($r(t))}function B2(t,e,r){r===void 0&&(r=!1);const n=Ea(t),a=Qc(t),i=Jc(a);let s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=lo(s)),[s,lo(s)]}function F2(t){const e=lo(t);return[sc(t),e,sc(e)]}function sc(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const a1=["left","right"],i1=["right","left"],H2=["top","bottom"],U2=["bottom","top"];function q2(t,e,r){switch(t){case"top":case"bottom":return r?e?i1:a1:e?a1:i1;case"left":case"right":return e?H2:U2;default:return[]}}function G2(t,e,r,n){const a=Ea(t);let i=q2(_n(t),r==="start",n);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(sc)))),i}function lo(t){const e=_n(t);return P2[e]+t.slice(e.length)}function W2(t){return{top:0,right:0,bottom:0,left:0,...t}}function wh(t){return typeof t!="number"?W2(t):{top:t,right:t,bottom:t,left:t}}function co(t){const{x:e,y:r,width:n,height:a}=t;return{width:n,height:a,top:r,left:e,right:e+n,bottom:r+a,x:e,y:r}}function s1(t,e,r){let{reference:n,floating:a}=t;const i=$r(e),s=Qc(e),o=Jc(s),c=_n(e),d=i==="y",h=n.x+n.width/2-a.width/2,m=n.y+n.height/2-a.height/2,b=n[o]/2-a[o]/2;let v;switch(c){case"top":v={x:h,y:n.y-a.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:m};break;case"left":v={x:n.x-a.width,y:m};break;default:v={x:n.x,y:n.y}}switch(Ea(e)){case"start":v[s]-=b*(r&&d?-1:1);break;case"end":v[s]+=b*(r&&d?-1:1);break}return v}async function V2(t,e){var r;e===void 0&&(e={});const{x:n,y:a,platform:i,rects:s,elements:o,strategy:c}=t,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:b=!1,padding:v=0}=Tn(e,t),y=wh(v),k=o[b?m==="floating"?"reference":"floating":m],M=co(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(k)))==null||r?k:k.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:d,rootBoundary:h,strategy:c})),C=m==="floating"?{x:n,y:a,width:s.floating.width,height:s.floating.height}:s.reference,D=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),I=await(i.isElement==null?void 0:i.isElement(D))?await(i.getScale==null?void 0:i.getScale(D))||{x:1,y:1}:{x:1,y:1},L=co(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:C,offsetParent:D,strategy:c}):C);return{top:(M.top-L.top+y.top)/I.y,bottom:(L.bottom-M.bottom+y.bottom)/I.y,left:(M.left-L.left+y.left)/I.x,right:(L.right-M.right+y.right)/I.x}}const K2=50,Y2=async(t,e,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,o=s.detectOverflow?s:{...s,detectOverflow:V2},c=await(s.isRTL==null?void 0:s.isRTL(e));let d=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:m}=s1(d,n,c),b=n,v=0;const y={};for(let w=0;w<i.length;w++){const k=i[w];if(!k)continue;const{name:M,fn:C}=k,{x:D,y:I,data:L,reset:R}=await C({x:h,y:m,initialPlacement:n,placement:b,strategy:a,middlewareData:y,rects:d,platform:o,elements:{reference:t,floating:e}});h=D??h,m=I??m,y[M]={...y[M],...L},R&&v<K2&&(v++,typeof R=="object"&&(R.placement&&(b=R.placement),R.rects&&(d=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):R.rects),{x:h,y:m}=s1(d,b,c)),w=-1)}return{x:h,y:m,placement:b,strategy:a,middlewareData:y}},X2=t=>({name:"arrow",options:t,async fn(e){const{x:r,y:n,placement:a,rects:i,platform:s,elements:o,middlewareData:c}=e,{element:d,padding:h=0}=Tn(t,e)||{};if(d==null)return{};const m=wh(h),b={x:r,y:n},v=Qc(a),y=Jc(v),w=await s.getDimensions(d),k=v==="y",M=k?"top":"left",C=k?"bottom":"right",D=k?"clientHeight":"clientWidth",I=i.reference[y]+i.reference[v]-b[v]-i.floating[y],L=b[v]-i.reference[v],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(d));let K=R?R[D]:0;(!K||!await(s.isElement==null?void 0:s.isElement(R)))&&(K=o.floating[D]||i.floating[y]);const F=I/2-L/2,B=K/2-w[y]/2-1,q=t0(m[M],B),ee=t0(m[C],B),re=q,xe=K-w[y]-ee,te=K/2-w[y]/2+F,be=ic(re,te,xe),ve=!c.arrow&&Ea(a)!=null&&te!==be&&i.reference[y]/2-(te<re?q:ee)-w[y]/2<0,fe=ve?te<re?te-re:te-xe:0;return{[v]:b[v]+fe,data:{[v]:be,centerOffset:te-be-fe,...ve&&{alignmentOffset:fe}},reset:ve}}}),j2=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,n;const{placement:a,middlewareData:i,rects:s,initialPlacement:o,platform:c,elements:d}=e,{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:b,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:w=!0,...k}=Tn(t,e);if((r=i.arrow)!=null&&r.alignmentOffset)return{};const M=_n(a),C=$r(o),D=_n(o)===o,I=await(c.isRTL==null?void 0:c.isRTL(d.floating)),L=b||(D||!w?[lo(o)]:F2(o)),R=y!=="none";!b&&R&&L.push(...G2(o,w,y,I));const K=[o,...L],F=await c.detectOverflow(e,k),B=[];let q=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&B.push(F[M]),m){const te=B2(a,s,I);B.push(F[te[0]],F[te[1]])}if(q=[...q,{placement:a,overflows:B}],!B.every(te=>te<=0)){var ee,re;const te=(((ee=i.flip)==null?void 0:ee.index)||0)+1,be=K[te];if(be&&(!(m==="alignment"?C!==$r(be):!1)||q.every(X=>$r(X.placement)===C?X.overflows[0]>0:!0)))return{data:{index:te,overflows:q},reset:{placement:be}};let ve=(re=q.filter(fe=>fe.overflows[0]<=0).sort((fe,X)=>fe.overflows[1]-X.overflows[1])[0])==null?void 0:re.placement;if(!ve)switch(v){case"bestFit":{var xe;const fe=(xe=q.filter(X=>{if(R){const ce=$r(X.placement);return ce===C||ce==="y"}return!0}).map(X=>[X.placement,X.overflows.filter(ce=>ce>0).reduce((ce,me)=>ce+me,0)]).sort((X,ce)=>X[1]-ce[1])[0])==null?void 0:xe[0];fe&&(ve=fe);break}case"initialPlacement":ve=o;break}if(a!==ve)return{reset:{placement:ve}}}return{}}}};function o1(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function l1(t){return L2.some(e=>t[e]>=0)}const Z2=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:r,platform:n}=e,{strategy:a="referenceHidden",...i}=Tn(t,e);switch(a){case"referenceHidden":{const s=await n.detectOverflow(e,{...i,elementContext:"reference"}),o=o1(s,r.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:l1(o)}}}case"escaped":{const s=await n.detectOverflow(e,{...i,altBoundary:!0}),o=o1(s,r.floating);return{data:{escapedOffsets:o,escaped:l1(o)}}}default:return{}}}}},xh=new Set(["left","top"]);async function J2(t,e){const{placement:r,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=_n(r),o=Ea(r),c=$r(r)==="y",d=xh.has(s)?-1:1,h=i&&c?-1:1,m=Tn(e,t);let{mainAxis:b,crossAxis:v,alignmentAxis:y}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return o&&typeof y=="number"&&(v=o==="end"?y*-1:y),c?{x:v*h,y:b*d}:{x:b*d,y:v*h}}const Q2=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;const{x:a,y:i,placement:s,middlewareData:o}=e,c=await J2(e,t);return s===((r=o.offset)==null?void 0:r.placement)&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:a+c.x,y:i+c.y,data:{...c,placement:s}}}}},$2=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:a,platform:i}=e,{mainAxis:s=!0,crossAxis:o=!1,limiter:c={fn:M=>{let{x:C,y:D}=M;return{x:C,y:D}}},...d}=Tn(t,e),h={x:r,y:n},m=await i.detectOverflow(e,d),b=$r(_n(a)),v=Zc(b);let y=h[v],w=h[b];if(s){const M=v==="y"?"top":"left",C=v==="y"?"bottom":"right",D=y+m[M],I=y-m[C];y=ic(D,y,I)}if(o){const M=b==="y"?"top":"left",C=b==="y"?"bottom":"right",D=w+m[M],I=w-m[C];w=ic(D,w,I)}const k=c.fn({...e,[v]:y,[b]:w});return{...k,data:{x:k.x-r,y:k.y-n,enabled:{[v]:s,[b]:o}}}}}},ep=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:r,y:n,placement:a,rects:i,middlewareData:s}=e,{offset:o=0,mainAxis:c=!0,crossAxis:d=!0}=Tn(t,e),h={x:r,y:n},m=$r(a),b=Zc(m);let v=h[b],y=h[m];const w=Tn(o,e),k=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(c){const D=b==="y"?"height":"width",I=i.reference[b]-i.floating[D]+k.mainAxis,L=i.reference[b]+i.reference[D]-k.mainAxis;v<I?v=I:v>L&&(v=L)}if(d){var M,C;const D=b==="y"?"width":"height",I=xh.has(_n(a)),L=i.reference[m]-i.floating[D]+(I&&((M=s.offset)==null?void 0:M[m])||0)+(I?0:k.crossAxis),R=i.reference[m]+i.reference[D]+(I?0:((C=s.offset)==null?void 0:C[m])||0)-(I?k.crossAxis:0);y<L?y=L:y>R&&(y=R)}return{[b]:v,[m]:y}}}},tp=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,n;const{placement:a,rects:i,platform:s,elements:o}=e,{apply:c=()=>{},...d}=Tn(t,e),h=await s.detectOverflow(e,d),m=_n(a),b=Ea(a),v=$r(a)==="y",{width:y,height:w}=i.floating;let k,M;m==="top"||m==="bottom"?(k=m,M=b===(await(s.isRTL==null?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(M=m,k=b==="end"?"top":"bottom");const C=w-h.top-h.bottom,D=y-h.left-h.right,I=t0(w-h[k],C),L=t0(y-h[M],D),R=!e.middlewareData.shift;let K=I,F=L;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(F=D),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(K=C),R&&!b){const q=Er(h.left,0),ee=Er(h.right,0),re=Er(h.top,0),xe=Er(h.bottom,0);v?F=y-2*(q!==0||ee!==0?q+ee:Er(h.left,h.right)):K=w-2*(re!==0||xe!==0?re+xe:Er(h.top,h.bottom))}await c({...e,availableWidth:F,availableHeight:K});const B=await s.getDimensions(o.floating);return y!==B.width||w!==B.height?{reset:{rects:!0}}:{}}}};function Uo(){return typeof window<"u"}function Aa(t){return Sh(t)?(t.nodeName||"").toLowerCase():"#document"}function Ar(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function rn(t){var e;return(e=(Sh(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Sh(t){return Uo()?t instanceof Node||t instanceof Ar(t).Node:!1}function Pr(t){return Uo()?t instanceof Element||t instanceof Ar(t).Element:!1}function Mn(t){return Uo()?t instanceof HTMLElement||t instanceof Ar(t).HTMLElement:!1}function c1(t){return!Uo()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ar(t).ShadowRoot}function vs(t){const{overflow:e,overflowX:r,overflowY:n,display:a}=Br(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&a!=="inline"&&a!=="contents"}function rp(t){return/^(table|td|th)$/.test(Aa(t))}function qo(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const np=/transform|translate|scale|rotate|perspective|filter/,ap=/paint|layout|strict|content/,d0=t=>!!t&&t!=="none";let hl;function $c(t){const e=Pr(t)?Br(t):t;return d0(e.transform)||d0(e.translate)||d0(e.scale)||d0(e.rotate)||d0(e.perspective)||!eu()&&(d0(e.backdropFilter)||d0(e.filter))||np.test(e.willChange||"")||ap.test(e.contain||"")}function ip(t){let e=r0(t);for(;Mn(e)&&!ma(e);){if($c(e))return e;if(qo(e))return null;e=r0(e)}return null}function eu(){return hl==null&&(hl=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),hl}function ma(t){return/^(html|body|#document)$/.test(Aa(t))}function Br(t){return Ar(t).getComputedStyle(t)}function Go(t){return Pr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function r0(t){if(Aa(t)==="html")return t;const e=t.assignedSlot||t.parentNode||c1(t)&&t.host||rn(t);return c1(e)?e.host:e}function Eh(t){const e=r0(t);return ma(e)?t.ownerDocument?t.ownerDocument.body:t.body:Mn(e)&&vs(e)?e:Eh(e)}function $a(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const a=Eh(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Ar(a);if(i){const o=oc(s);return e.concat(s,s.visualViewport||[],vs(a)?a:[],o&&r?$a(o):[])}else return e.concat(a,$a(a,[],r))}function oc(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ah(t){const e=Br(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const a=Mn(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,o=oo(r)!==i||oo(n)!==s;return o&&(r=i,n=s),{width:r,height:n,$:o}}function tu(t){return Pr(t)?t:t.contextElement}function j0(t){const e=tu(t);if(!Mn(e))return tn(1);const r=e.getBoundingClientRect(),{width:n,height:a,$:i}=Ah(e);let s=(i?oo(r.width):r.width)/n,o=(i?oo(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!o||!Number.isFinite(o))&&(o=1),{x:s,y:o}}const sp=tn(0);function Th(t){const e=Ar(t);return!eu()||!e.visualViewport?sp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function op(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ar(t)?!1:e}function C0(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const a=t.getBoundingClientRect(),i=tu(t);let s=tn(1);e&&(n?Pr(n)&&(s=j0(n)):s=j0(t));const o=op(i,r,n)?Th(i):tn(0);let c=(a.left+o.x)/s.x,d=(a.top+o.y)/s.y,h=a.width/s.x,m=a.height/s.y;if(i){const b=Ar(i),v=n&&Pr(n)?Ar(n):n;let y=b,w=oc(y);for(;w&&n&&v!==y;){const k=j0(w),M=w.getBoundingClientRect(),C=Br(w),D=M.left+(w.clientLeft+parseFloat(C.paddingLeft))*k.x,I=M.top+(w.clientTop+parseFloat(C.paddingTop))*k.y;c*=k.x,d*=k.y,h*=k.x,m*=k.y,c+=D,d+=I,y=Ar(w),w=oc(y)}}return co({width:h,height:m,x:c,y:d})}function Wo(t,e){const r=Go(t).scrollLeft;return e?e.left+r:C0(rn(t)).left+r}function _h(t,e){const r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Wo(t,r),a=r.top+e.scrollTop;return{x:n,y:a}}function lp(t){let{elements:e,rect:r,offsetParent:n,strategy:a}=t;const i=a==="fixed",s=rn(n),o=e?qo(e.floating):!1;if(n===s||o&&i)return r;let c={scrollLeft:0,scrollTop:0},d=tn(1);const h=tn(0),m=Mn(n);if((m||!m&&!i)&&((Aa(n)!=="body"||vs(s))&&(c=Go(n)),m)){const v=C0(n);d=j0(n),h.x=v.x+n.clientLeft,h.y=v.y+n.clientTop}const b=s&&!m&&!i?_h(s,c):tn(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-c.scrollLeft*d.x+h.x+b.x,y:r.y*d.y-c.scrollTop*d.y+h.y+b.y}}function cp(t){return Array.from(t.getClientRects())}function up(t){const e=rn(t),r=Go(t),n=t.ownerDocument.body,a=Er(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Er(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Wo(t);const o=-r.scrollTop;return Br(n).direction==="rtl"&&(s+=Er(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:o}}const u1=25;function dp(t,e){const r=Ar(t),n=rn(t),a=r.visualViewport;let i=n.clientWidth,s=n.clientHeight,o=0,c=0;if(a){i=a.width,s=a.height;const h=eu();(!h||h&&e==="fixed")&&(o=a.offsetLeft,c=a.offsetTop)}const d=Wo(n);if(d<=0){const h=n.ownerDocument,m=h.body,b=getComputedStyle(m),v=h.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,y=Math.abs(n.clientWidth-m.clientWidth-v);y<=u1&&(i-=y)}else d<=u1&&(i+=d);return{width:i,height:s,x:o,y:c}}function hp(t,e){const r=C0(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=Mn(t)?j0(t):tn(1),s=t.clientWidth*i.x,o=t.clientHeight*i.y,c=a*i.x,d=n*i.y;return{width:s,height:o,x:c,y:d}}function d1(t,e,r){let n;if(e==="viewport")n=dp(t,r);else if(e==="document")n=up(rn(t));else if(Pr(e))n=hp(e,r);else{const a=Th(t);n={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return co(n)}function kh(t,e){const r=r0(t);return r===e||!Pr(r)||ma(r)?!1:Br(r).position==="fixed"||kh(r,e)}function fp(t,e){const r=e.get(t);if(r)return r;let n=$a(t,[],!1).filter(o=>Pr(o)&&Aa(o)!=="body"),a=null;const i=Br(t).position==="fixed";let s=i?r0(t):t;for(;Pr(s)&&!ma(s);){const o=Br(s),c=$c(s);!c&&o.position==="fixed"&&(a=null),(i?!c&&!a:!c&&o.position==="static"&&!!a&&(a.position==="absolute"||a.position==="fixed")||vs(s)&&!c&&kh(t,s))?n=n.filter(h=>h!==s):a=o,s=r0(s)}return e.set(t,n),n}function mp(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t;const s=[...r==="clippingAncestors"?qo(e)?[]:fp(e,this._c):[].concat(r),n],o=d1(e,s[0],a);let c=o.top,d=o.right,h=o.bottom,m=o.left;for(let b=1;b<s.length;b++){const v=d1(e,s[b],a);c=Er(v.top,c),d=t0(v.right,d),h=t0(v.bottom,h),m=Er(v.left,m)}return{width:d-m,height:h-c,x:m,y:c}}function pp(t){const{width:e,height:r}=Ah(t);return{width:e,height:r}}function gp(t,e,r){const n=Mn(e),a=rn(e),i=r==="fixed",s=C0(t,!0,i,e);let o={scrollLeft:0,scrollTop:0};const c=tn(0);function d(){c.x=Wo(a)}if(n||!n&&!i)if((Aa(e)!=="body"||vs(a))&&(o=Go(e)),n){const v=C0(e,!0,i,e);c.x=v.x+e.clientLeft,c.y=v.y+e.clientTop}else a&&d();i&&!n&&a&&d();const h=a&&!n&&!i?_h(a,o):tn(0),m=s.left+o.scrollLeft-c.x-h.x,b=s.top+o.scrollTop-c.y-h.y;return{x:m,y:b,width:s.width,height:s.height}}function fl(t){return Br(t).position==="static"}function h1(t,e){if(!Mn(t)||Br(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return rn(t)===r&&(r=r.ownerDocument.body),r}function Mh(t,e){const r=Ar(t);if(qo(t))return r;if(!Mn(t)){let a=r0(t);for(;a&&!ma(a);){if(Pr(a)&&!fl(a))return a;a=r0(a)}return r}let n=h1(t,e);for(;n&&rp(n)&&fl(n);)n=h1(n,e);return n&&ma(n)&&fl(n)&&!$c(n)?r:n||ip(t)||r}const vp=async function(t){const e=this.getOffsetParent||Mh,r=this.getDimensions,n=await r(t.floating);return{reference:gp(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function bp(t){return Br(t).direction==="rtl"}const yp={convertOffsetParentRelativeRectToViewportRelativeRect:lp,getDocumentElement:rn,getClippingRect:mp,getOffsetParent:Mh,getElementRects:vp,getClientRects:cp,getDimensions:pp,getScale:j0,isElement:Pr,isRTL:bp};function Oh(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function wp(t,e){let r=null,n;const a=rn(t);function i(){var o;clearTimeout(n),(o=r)==null||o.disconnect(),r=null}function s(o,c){o===void 0&&(o=!1),c===void 0&&(c=1),i();const d=t.getBoundingClientRect(),{left:h,top:m,width:b,height:v}=d;if(o||e(),!b||!v)return;const y=Os(m),w=Os(a.clientWidth-(h+b)),k=Os(a.clientHeight-(m+v)),M=Os(h),D={rootMargin:-y+"px "+-w+"px "+-k+"px "+-M+"px",threshold:Er(0,t0(1,c))||1};let I=!0;function L(R){const K=R[0].intersectionRatio;if(K!==c){if(!I)return s();K?s(!1,K):n=setTimeout(()=>{s(!1,1e-7)},1e3)}K===1&&!Oh(d,t.getBoundingClientRect())&&s(),I=!1}try{r=new IntersectionObserver(L,{...D,root:a.ownerDocument})}catch{r=new IntersectionObserver(L,D)}r.observe(t)}return s(!0),i}function xp(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:o=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,d=tu(t),h=a||i?[...d?$a(d):[],...e?$a(e):[]]:[];h.forEach(M=>{a&&M.addEventListener("scroll",r,{passive:!0}),i&&M.addEventListener("resize",r)});const m=d&&o?wp(d,r):null;let b=-1,v=null;s&&(v=new ResizeObserver(M=>{let[C]=M;C&&C.target===d&&v&&e&&(v.unobserve(e),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var D;(D=v)==null||D.observe(e)})),r()}),d&&!c&&v.observe(d),e&&v.observe(e));let y,w=c?C0(t):null;c&&k();function k(){const M=C0(t);w&&!Oh(w,M)&&r(),w=M,y=requestAnimationFrame(k)}return r(),()=>{var M;h.forEach(C=>{a&&C.removeEventListener("scroll",r),i&&C.removeEventListener("resize",r)}),m==null||m(),(M=v)==null||M.disconnect(),v=null,c&&cancelAnimationFrame(y)}}const Sp=Q2,Ep=$2,Ap=j2,Tp=tp,_p=Z2,kp=X2,Mp=ep,Op=(t,e,r)=>{const n=new Map,a={platform:yp,...r},i={...a.platform,_c:n};return Y2(t,e,{...a,platform:i})};function h0(t){return typeof t=="function"?t():t}function Ch(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function f1(t,e){const r=Ch(t);return Math.round(e*r)/r}function m1(t){return{[`--bits-${t}-content-transform-origin`]:"var(--bits-floating-transform-origin)",[`--bits-${t}-content-available-width`]:"var(--bits-floating-available-width)",[`--bits-${t}-content-available-height`]:"var(--bits-floating-available-height)",[`--bits-${t}-anchor-width`]:"var(--bits-floating-anchor-width)",[`--bits-${t}-anchor-height`]:"var(--bits-floating-anchor-height)"}}function Cp(t){const e=t.whileElementsMounted,r=ie(()=>h0(t.open)??!0),n=ie(()=>h0(t.middleware)),a=ie(()=>h0(t.transform)??!0),i=ie(()=>h0(t.placement)??"bottom"),s=ie(()=>h0(t.strategy)??"absolute"),o=ie(()=>h0(t.sideOffset)??0),c=ie(()=>h0(t.alignOffset)??0),d=t.reference;let h=Oe(0),m=Oe(0);const b=Qr(null);let v=Oe(X0(T(s))),y=Oe(X0(T(i))),w=Oe(X0({})),k=Oe(!1),M=!1,C=0;const D=ie(()=>{const q=b.current?f1(b.current,T(h)):T(h),ee=b.current?f1(b.current,T(m)):T(m);return T(a)?{position:T(v),left:"0",top:"0",transform:`translate(${q}px, ${ee}px)`,...b.current&&Ch(b.current)>=1.5&&{willChange:"transform"}}:{position:T(v),left:`${q}px`,top:`${ee}px`}});let I;function L(){if(d.current===null||b.current===null)return;const q=d.current,ee=b.current,re=++C;Op(q,ee,{middleware:T(n),placement:T(i),strategy:T(s)}).then(xe=>{if(re!==C||d.current!==q||b.current!==ee)return;if(Np(q)){Y(w,{...T(w),hide:{...T(w).hide,referenceHidden:!0}},!0);return}if(!T(r)&&T(h)!==0&&T(m)!==0){const be=Math.max(Math.abs(T(o)),Math.abs(T(c)),15);if(xe.x<=be&&xe.y<=be)return}Y(h,xe.x,!0),Y(m,xe.y,!0),Y(v,xe.strategy,!0),Y(y,xe.placement,!0),Y(w,xe.middlewareData,!0),Y(k,!0)})}function R(){typeof I=="function"&&(I(),I=void 0),C++}function K(){if(R(),e===void 0){L();return}T(r)&&(d.current===null||b.current===null||(I=e(d.current,b.current,L)))}function F(){!T(r)&&b.current===null&&Y(k,!1)}function B(){return[T(n),T(i),T(s),T(o),T(c),T(r)]}return tr(()=>{e===void 0&&T(r)&&L()}),tr(K),tr(()=>{if(e!==void 0){if(B(),!T(r)){M=!1;return}if(!T(k)){M=!1;return}if(!M){M=!0;return}L()}}),tr(F),tr(()=>R),{floating:b,reference:d,get strategy(){return T(v)},get placement(){return T(y)},get middlewareData(){return T(w)},get isPositioned(){return T(k)},get floatingStyles(){return T(D)},get update(){return L}}}function Np(t){return t instanceof Element?!t.isConnected||t instanceof HTMLElement&&t.hidden?!0:t.getClientRects().length===0:!1}const Rp={top:"bottom",right:"left",bottom:"top",left:"right"},ru=new xa("Floating.Root"),p1=new xa("Floating.Content"),nu=new xa("Floating.Root");class uo{constructor(){he(this,"anchorNode",Qr(null));he(this,"customAnchorNode",Qr(null));he(this,"triggerNode",Qr(null));tr(()=>{this.customAnchorNode.current?typeof this.customAnchorNode.current=="string"?this.anchorNode.current=document.querySelector(this.customAnchorNode.current):this.anchorNode.current=this.customAnchorNode.current:this.anchorNode.current=this.triggerNode.current})}static create(e=!1){return e?nu.set(new uo):ru.set(new uo)}}var Bi,Fi,Hi,Lo,Ui,Po,qi,Gi,Wi,Vi,Ki,Yi,Xi,ji,Zi,Ji,Qi,$i,es,ts,rs,ns,as,is;const Bo=class Bo{constructor(e,r){he(this,"opts");he(this,"root");he(this,"contentRef",Qr(null));he(this,"wrapperRef",Qr(null));he(this,"arrowRef",Qr(null));he(this,"contentAttachment",Sn(this.contentRef));he(this,"wrapperAttachment",Sn(this.wrapperRef));he(this,"arrowAttachment",Sn(this.arrowRef));he(this,"arrowId",Qr(jc()));N(this,Bi,ie(()=>{if(typeof this.opts.style=="string")return Ua(this.opts.style);if(!this.opts.style)return{}}));N(this,Fi);N(this,Hi,new Im(()=>this.arrowRef.current??void 0));N(this,Lo,ie(()=>{var e;return((e=p(this,Hi))==null?void 0:e.width)??0}));N(this,Ui,ie(()=>{var e;return((e=p(this,Hi))==null?void 0:e.height)??0}));N(this,Po,ie(()=>{var e;return((e=this.opts.side)==null?void 0:e.current)+(this.opts.align.current!=="center"?`-${this.opts.align.current}`:"")}));N(this,qi,ie(()=>Array.isArray(this.opts.collisionBoundary.current)?this.opts.collisionBoundary.current:[this.opts.collisionBoundary.current]));N(this,Gi,ie(()=>T(p(this,qi)).length>0));N(this,Wi,ie(()=>({padding:this.opts.collisionPadding.current,boundary:T(p(this,qi)).filter(Xm),altBoundary:this.hasExplicitBoundaries})));N(this,Vi,Oe(void 0));N(this,Ki,Oe(void 0));N(this,Yi,Oe(void 0));N(this,Xi,Oe(void 0));N(this,ji,ie(()=>[Sp({mainAxis:this.opts.sideOffset.current+T(p(this,Ui)),alignmentAxis:this.opts.alignOffset.current}),this.opts.avoidCollisions.current&&Ep({mainAxis:!0,crossAxis:!1,limiter:this.opts.sticky.current==="partial"?Mp():void 0,...this.detectOverflowOptions}),this.opts.avoidCollisions.current&&Ap({...this.detectOverflowOptions}),Tp({...this.detectOverflowOptions,apply:({rects:e,availableWidth:r,availableHeight:n})=>{const{width:a,height:i}=e.reference;Y(p(this,Vi),r,!0),Y(p(this,Ki),n,!0),Y(p(this,Yi),a,!0),Y(p(this,Xi),i,!0)}}),this.arrowRef.current&&kp({element:this.arrowRef.current,padding:this.opts.arrowPadding.current}),Dp({arrowWidth:T(p(this,Lo)),arrowHeight:T(p(this,Ui))}),this.opts.hideWhenDetached.current&&_p({strategy:"referenceHidden",...this.detectOverflowOptions})].filter(Boolean)));he(this,"floating");N(this,Zi,ie(()=>Ip(this.floating.placement)));N(this,Ji,ie(()=>zp(this.floating.placement)));N(this,Qi,ie(()=>{var e;return((e=this.floating.middlewareData.arrow)==null?void 0:e.x)??0}));N(this,$i,ie(()=>{var e;return((e=this.floating.middlewareData.arrow)==null?void 0:e.y)??0}));N(this,es,ie(()=>{var e;return((e=this.floating.middlewareData.arrow)==null?void 0:e.centerOffset)!==0}));N(this,ts,Oe());N(this,rs,ie(()=>Rp[this.placedSide]));N(this,ns,ie(()=>{var e,r,n;return{id:this.opts.wrapperId.current,"data-bits-floating-content-wrapper":"",style:{...this.floating.floatingStyles,transform:this.floating.isPositioned?this.floating.floatingStyles.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:this.contentZIndex,"--bits-floating-transform-origin":`${(e=this.floating.middlewareData.transformOrigin)==null?void 0:e.x} ${(r=this.floating.middlewareData.transformOrigin)==null?void 0:r.y}`,"--bits-floating-available-width":`${T(p(this,Vi))}px`,"--bits-floating-available-height":`${T(p(this,Ki))}px`,"--bits-floating-anchor-width":`${T(p(this,Yi))}px`,"--bits-floating-anchor-height":`${T(p(this,Xi))}px`,...((n=this.floating.middlewareData.hide)==null?void 0:n.referenceHidden)&&{visibility:"hidden","pointer-events":"none"},...T(p(this,Bi))},dir:this.opts.dir.current,...this.wrapperAttachment}}));N(this,as,ie(()=>({"data-side":this.placedSide,"data-align":this.placedAlign,style:qd({...T(p(this,Bi))}),...this.contentAttachment})));N(this,is,ie(()=>({position:"absolute",left:this.arrowX?`${this.arrowX}px`:void 0,top:this.arrowY?`${this.arrowY}px`:void 0,[this.arrowBaseSide]:0,"transform-origin":{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[this.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[this.placedSide],visibility:this.cannotCenterArrow?"hidden":void 0})));this.opts=e,this.root=r,j(this,Fi,e.updatePositionStrategy),e.customAnchor&&(this.root.customAnchorNode.current=e.customAnchor.current),ur(()=>e.customAnchor.current,n=>{this.root.customAnchorNode.current=n}),this.floating=Cp({strategy:()=>this.opts.strategy.current,placement:()=>T(p(this,Po)),middleware:()=>this.middleware,reference:this.root.anchorNode,whileElementsMounted:(...n)=>{var i;return xp(...n,{animationFrame:((i=p(this,Fi))==null?void 0:i.current)==="always"})},open:()=>this.opts.enabled.current,sideOffset:()=>this.opts.sideOffset.current,alignOffset:()=>this.opts.alignOffset.current}),tr(()=>{var n;this.floating.isPositioned&&((n=this.opts.onPlaced)==null||n.current())}),ur(()=>this.contentRef.current,n=>{if(!n||!this.opts.enabled.current)return;const a=Xd(n),i=a.requestAnimationFrame(()=>{if(this.contentRef.current!==n||!this.opts.enabled.current)return;const s=a.getComputedStyle(n).zIndex;s!==this.contentZIndex&&(this.contentZIndex=s)});return()=>{a.cancelAnimationFrame(i)}}),tr(()=>{this.floating.floating.current=this.wrapperRef.current})}static create(e,r=!1){return r?p1.set(new Bo(e,nu.get())):p1.set(new Bo(e,ru.get()))}get hasExplicitBoundaries(){return T(p(this,Gi))}set hasExplicitBoundaries(e){Y(p(this,Gi),e)}get detectOverflowOptions(){return T(p(this,Wi))}set detectOverflowOptions(e){Y(p(this,Wi),e)}get middleware(){return T(p(this,ji))}set middleware(e){Y(p(this,ji),e)}get placedSide(){return T(p(this,Zi))}set placedSide(e){Y(p(this,Zi),e)}get placedAlign(){return T(p(this,Ji))}set placedAlign(e){Y(p(this,Ji),e)}get arrowX(){return T(p(this,Qi))}set arrowX(e){Y(p(this,Qi),e)}get arrowY(){return T(p(this,$i))}set arrowY(e){Y(p(this,$i),e)}get cannotCenterArrow(){return T(p(this,es))}set cannotCenterArrow(e){Y(p(this,es),e)}get contentZIndex(){return T(p(this,ts))}set contentZIndex(e){Y(p(this,ts),e,!0)}get arrowBaseSide(){return T(p(this,rs))}set arrowBaseSide(e){Y(p(this,rs),e)}get wrapperProps(){return T(p(this,ns))}set wrapperProps(e){Y(p(this,ns),e)}get props(){return T(p(this,as))}set props(e){Y(p(this,as),e)}get arrowStyle(){return T(p(this,is))}set arrowStyle(e){Y(p(this,is),e)}};Bi=new WeakMap,Fi=new WeakMap,Hi=new WeakMap,Lo=new WeakMap,Ui=new WeakMap,Po=new WeakMap,qi=new WeakMap,Gi=new WeakMap,Wi=new WeakMap,Vi=new WeakMap,Ki=new WeakMap,Yi=new WeakMap,Xi=new WeakMap,ji=new WeakMap,Zi=new WeakMap,Ji=new WeakMap,Qi=new WeakMap,$i=new WeakMap,es=new WeakMap,ts=new WeakMap,rs=new WeakMap,ns=new WeakMap,as=new WeakMap,is=new WeakMap;let lc=Bo;class ho{constructor(e,r){he(this,"opts");he(this,"root");this.opts=e,this.root=r,e.virtualEl&&e.virtualEl.current?r.triggerNode=nm(e.virtualEl.current):r.triggerNode=e.ref}static create(e,r=!1){return r?new ho(e,nu.get()):new ho(e,ru.get())}}function Dp(t){return{name:"transformOrigin",options:t,fn(e){var k,M,C;const{placement:r,rects:n,middlewareData:a}=e,s=((k=a.arrow)==null?void 0:k.centerOffset)!==0,o=s?0:t.arrowWidth,c=s?0:t.arrowHeight,[d,h]=au(r),m={start:"0%",center:"50%",end:"100%"}[h],b=(((M=a.arrow)==null?void 0:M.x)??0)+o/2,v=(((C=a.arrow)==null?void 0:C.y)??0)+c/2;let y="",w="";return d==="bottom"?(y=s?m:`${b}px`,w=`${-c}px`):d==="top"?(y=s?m:`${b}px`,w=`${n.floating.height+c}px`):d==="right"?(y=`${-c}px`,w=s?m:`${v}px`):d==="left"&&(y=`${n.floating.width+c}px`,w=s?m:`${v}px`),{data:{x:y,y:w}}}}}function au(t){const[e,r="center"]=t.split("-");return[e,r]}function Ip(t){return au(t)[0]}function zp(t){return au(t)[1]}function Lp(t,e){st(e,!0);let r=H(e,"tooltip",3,!1);uo.create(r());var n=Re(),a=we(n);$e(a,()=>e.children??Et),Q(t,n),ot()}function Pp(t,e){st(e,!0);let r=H(e,"tooltip",3,!1);ho.create({id:ne(()=>e.id),virtualEl:ne(()=>e.virtualEl),ref:e.ref},r());var n=Re(),a=we(n);$e(a,()=>e.children??Et),Q(t,n),ot()}function Bp(t,e){st(e,!0);let r=H(e,"side",3,"bottom"),n=H(e,"sideOffset",3,0),a=H(e,"align",3,"center"),i=H(e,"alignOffset",3,0),s=H(e,"arrowPadding",3,0),o=H(e,"avoidCollisions",3,!0),c=H(e,"collisionBoundary",19,()=>[]),d=H(e,"collisionPadding",3,0),h=H(e,"hideWhenDetached",3,!1),m=H(e,"onPlaced",3,()=>{}),b=H(e,"sticky",3,"partial"),v=H(e,"updatePositionStrategy",3,"optimized"),y=H(e,"strategy",3,"fixed"),w=H(e,"dir",3,"ltr"),k=H(e,"style",19,()=>({})),M=H(e,"wrapperId",19,jc),C=H(e,"customAnchor",3,null),D=H(e,"tooltip",3,!1);const I=lc.create({side:ne(()=>r()),sideOffset:ne(()=>n()),align:ne(()=>a()),alignOffset:ne(()=>i()),id:ne(()=>e.id),arrowPadding:ne(()=>s()),avoidCollisions:ne(()=>o()),collisionBoundary:ne(()=>c()),collisionPadding:ne(()=>d()),hideWhenDetached:ne(()=>h()),onPlaced:ne(()=>m()),sticky:ne(()=>b()),updatePositionStrategy:ne(()=>v()),strategy:ne(()=>y()),dir:ne(()=>w()),style:ne(()=>k()),enabled:ne(()=>e.enabled),wrapperId:ne(()=>M()),customAnchor:ne(()=>C())},D()),L=ie(()=>xr(I.wrapperProps,{style:{pointerEvents:"auto"}}));var R=Re(),K=we(R);$e(K,()=>e.content??Et,()=>({props:I.props,wrapperProps:T(L)})),Q(t,R),ot()}function Fp(t,e){st(e,!0),R4(()=>{var a;(a=e.onPlaced)==null||a.call(e)});var r=Re(),n=we(r);$e(n,()=>e.content??Et,()=>({props:{},wrapperProps:{}})),Q(t,r),ot()}function Hp(t,e){let r=H(e,"isStatic",3,!1),n=Yt(e,["$$slots","$$events","$$legacy","content","isStatic","onPlaced"]);var a=Re(),i=we(a);{var s=c=>{Fp(c,{get content(){return e.content},get onPlaced(){return e.onPlaced}})},o=c=>{Bp(c,wr({get content(){return e.content},get onPlaced(){return e.onPlaced}},()=>n))};at(i,c=>{r()?c(s):c(o,-1)})}Q(t,a)}var Up=He("<!> <!>",1);function Nh(t,e){st(e,!0);let r=H(e,"interactOutsideBehavior",3,"close"),n=H(e,"trapFocus",3,!0),a=H(e,"isValidEvent",3,()=>!1),i=H(e,"customAnchor",3,null),s=H(e,"isStatic",3,!1),o=H(e,"tooltip",3,!1),c=H(e,"contentPointerEvents",3,"auto"),d=Yt(e,["$$slots","$$events","$$legacy","popper","onEscapeKeydown","escapeKeydownBehavior","preventOverflowTextSelection","id","onPointerDown","onPointerUp","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","strategy","dir","preventScroll","wrapperId","style","onPlaced","onInteractOutside","onCloseAutoFocus","onOpenAutoFocus","onFocusOutside","interactOutsideBehavior","loop","trapFocus","isValidEvent","customAnchor","isStatic","enabled","ref","tooltip","contentPointerEvents"]);const h=ie(()=>e.preventScroll??!0),m=ie(()=>e.strategy??(T(h)?"fixed":"absolute"));Hp(t,{get isStatic(){return s()},get id(){return e.id},get side(){return e.side},get sideOffset(){return e.sideOffset},get align(){return e.align},get alignOffset(){return e.alignOffset},get arrowPadding(){return e.arrowPadding},get avoidCollisions(){return e.avoidCollisions},get collisionBoundary(){return e.collisionBoundary},get collisionPadding(){return e.collisionPadding},get sticky(){return e.sticky},get hideWhenDetached(){return e.hideWhenDetached},get updatePositionStrategy(){return e.updatePositionStrategy},get strategy(){return T(m)},get dir(){return e.dir},get wrapperId(){return e.wrapperId},get style(){return e.style},get onPlaced(){return e.onPlaced},get customAnchor(){return i()},get enabled(){return e.enabled},get tooltip(){return o()},content:(v,y)=>{let w=()=>y==null?void 0:y().props,k=()=>y==null?void 0:y().wrapperProps;var M=Up(),C=we(M);{var D=R=>{so(R,{get preventScroll(){return T(h)}})},I=R=>{so(R,{get preventScroll(){return T(h)}})};at(C,R=>{e.forceMount&&e.enabled?R(D):e.forceMount||R(I,1)})}var L=Je(C,2);ph(L,{get onOpenAutoFocus(){return e.onOpenAutoFocus},get onCloseAutoFocus(){return e.onCloseAutoFocus},get loop(){return e.loop},get enabled(){return e.enabled},get trapFocus(){return n()},get forceMount(){return e.forceMount},get ref(){return e.ref},focusScope:(K,F)=>{let B=()=>F==null?void 0:F().props;uh(K,{get onEscapeKeydown(){return e.onEscapeKeydown},get escapeKeydownBehavior(){return e.escapeKeydownBehavior},get enabled(){return e.enabled},get ref(){return e.ref},children:(q,ee)=>{ch(q,{get id(){return e.id},get onInteractOutside(){return e.onInteractOutside},get onFocusOutside(){return e.onFocusOutside},get interactOutsideBehavior(){return r()},get isValidEvent(){return a()},get enabled(){return e.enabled},get ref(){return e.ref},children:(xe,te)=>{let be=()=>te==null?void 0:te().props;vh(xe,{get id(){return e.id},get preventOverflowTextSelection(){return e.preventOverflowTextSelection},get onPointerDown(){return e.onPointerDown},get onPointerUp(){return e.onPointerUp},get enabled(){return e.enabled},get ref(){return e.ref},children:(ve,fe)=>{var X=Re(),ce=we(X);{let me=ie(()=>({props:xr(d,w(),be(),B(),{style:{pointerEvents:c()}}),wrapperProps:k()}));$e(ce,()=>e.popper??Et,()=>T(me))}Q(ve,X)},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{default:!0}})},$$slots:{focusScope:!0}}),Q(v,M)},$$slots:{content:!0}}),ot()}function qp(t,e){let r=H(e,"interactOutsideBehavior",3,"close"),n=H(e,"trapFocus",3,!0),a=H(e,"isValidEvent",3,()=>!1),i=H(e,"customAnchor",3,null),s=H(e,"isStatic",3,!1),o=Yt(e,["$$slots","$$events","$$legacy","popper","open","onEscapeKeydown","escapeKeydownBehavior","preventOverflowTextSelection","id","onPointerDown","onPointerUp","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","strategy","dir","preventScroll","wrapperId","style","onPlaced","onInteractOutside","onCloseAutoFocus","onOpenAutoFocus","onFocusOutside","interactOutsideBehavior","loop","trapFocus","isValidEvent","customAnchor","isStatic","ref","shouldRender"]);var c=Re(),d=we(c);{var h=m=>{Nh(m,wr({get popper(){return e.popper},get onEscapeKeydown(){return e.onEscapeKeydown},get escapeKeydownBehavior(){return e.escapeKeydownBehavior},get preventOverflowTextSelection(){return e.preventOverflowTextSelection},get id(){return e.id},get onPointerDown(){return e.onPointerDown},get onPointerUp(){return e.onPointerUp},get side(){return e.side},get sideOffset(){return e.sideOffset},get align(){return e.align},get alignOffset(){return e.alignOffset},get arrowPadding(){return e.arrowPadding},get avoidCollisions(){return e.avoidCollisions},get collisionBoundary(){return e.collisionBoundary},get collisionPadding(){return e.collisionPadding},get sticky(){return e.sticky},get hideWhenDetached(){return e.hideWhenDetached},get updatePositionStrategy(){return e.updatePositionStrategy},get strategy(){return e.strategy},get dir(){return e.dir},get preventScroll(){return e.preventScroll},get wrapperId(){return e.wrapperId},get style(){return e.style},get onPlaced(){return e.onPlaced},get customAnchor(){return i()},get isStatic(){return s()},get enabled(){return e.open},get onInteractOutside(){return e.onInteractOutside},get onCloseAutoFocus(){return e.onCloseAutoFocus},get onOpenAutoFocus(){return e.onOpenAutoFocus},get interactOutsideBehavior(){return r()},get loop(){return e.loop},get trapFocus(){return n()},get isValidEvent(){return a()},get onFocusOutside(){return e.onFocusOutside},forceMount:!1,get ref(){return e.ref}},()=>o))};at(d,m=>{e.shouldRender&&m(h)})}Q(t,c)}function Gp(t,e){let r=H(e,"interactOutsideBehavior",3,"close"),n=H(e,"trapFocus",3,!0),a=H(e,"isValidEvent",3,()=>!1),i=H(e,"customAnchor",3,null),s=H(e,"isStatic",3,!1),o=Yt(e,["$$slots","$$events","$$legacy","popper","onEscapeKeydown","escapeKeydownBehavior","preventOverflowTextSelection","id","onPointerDown","onPointerUp","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPadding","sticky","hideWhenDetached","updatePositionStrategy","strategy","dir","preventScroll","wrapperId","style","onPlaced","onInteractOutside","onCloseAutoFocus","onOpenAutoFocus","onFocusOutside","interactOutsideBehavior","loop","trapFocus","isValidEvent","customAnchor","isStatic","enabled"]);Nh(t,wr({get popper(){return e.popper},get onEscapeKeydown(){return e.onEscapeKeydown},get escapeKeydownBehavior(){return e.escapeKeydownBehavior},get preventOverflowTextSelection(){return e.preventOverflowTextSelection},get id(){return e.id},get onPointerDown(){return e.onPointerDown},get onPointerUp(){return e.onPointerUp},get side(){return e.side},get sideOffset(){return e.sideOffset},get align(){return e.align},get alignOffset(){return e.alignOffset},get arrowPadding(){return e.arrowPadding},get avoidCollisions(){return e.avoidCollisions},get collisionBoundary(){return e.collisionBoundary},get collisionPadding(){return e.collisionPadding},get sticky(){return e.sticky},get hideWhenDetached(){return e.hideWhenDetached},get updatePositionStrategy(){return e.updatePositionStrategy},get strategy(){return e.strategy},get dir(){return e.dir},get preventScroll(){return e.preventScroll},get wrapperId(){return e.wrapperId},get style(){return e.style},get onPlaced(){return e.onPlaced},get customAnchor(){return i()},get isStatic(){return s()},get enabled(){return e.enabled},get onInteractOutside(){return e.onInteractOutside},get onCloseAutoFocus(){return e.onCloseAutoFocus},get onOpenAutoFocus(){return e.onOpenAutoFocus},get interactOutsideBehavior(){return r()},get loop(){return e.loop},get trapFocus(){return n()},get isValidEvent(){return a()},get onFocusOutside(){return e.onFocusOutside}},()=>o,{forceMount:!0}))}function ml(t,e){const[r,n]=t;let a=!1;const i=e.length;for(let s=0,o=i-1;s<i;o=s++){const[c,d]=e[s]??[0,0],[h,m]=e[o]??[0,0];d>=n!=m>=n&&r<=(h-c)*(n-d)/(m-d)+c&&(a=!a)}return a}function pl(t,e){return t[0]>=e.left&&t[0]<=e.right&&t[1]>=e.top&&t[1]<=e.bottom}function g1(t,e){const r=t.left+t.width/2,n=t.top+t.height/2,a=e.left+e.width/2,i=e.top+e.height/2,s=a-r,o=i-n;return Math.abs(s)>Math.abs(o)?s>0?"right":"left":o>0?"bottom":"top"}var Yn,ua,da,jr,br,_0,k0,Xn,jn,We,Ks,cc,uc,Rh,Dh,Wr,dc,Ih,zh;class Wp{constructor(e){N(this,We);N(this,Yn);N(this,ua);N(this,da);N(this,jr,null);N(this,br,null);N(this,_0,[]);N(this,k0,null);N(this,Xn,null);N(this,jn,null);j(this,Yn,e),j(this,ua,e.buffer??1);const r=e.transitIntentTimeout;j(this,da,typeof r=="number"&&r>0?r:null),ur([e.triggerNode,e.contentNode,e.enabled],([n,a,i])=>{if(!n||!a||!i){j(this,k0,null),pe(this,We,Wr).call(this);return}p(this,k0)&&p(this,k0)!==n&&pe(this,We,Wr).call(this),j(this,k0,n);const s=Yd(n),o=b=>{pe(this,We,Dh).call(this,[b.clientX,b.clientY],n,a)},c=b=>{var w,k;const v=b.relatedTarget;if(v0(v)&&a.contains(v))return;const y=((k=(w=p(this,Yn)).ignoredTargets)==null?void 0:k.call(w))??[];v0(v)&&y.some(M=>M===v||M.contains(v))||(j(this,_0,v0(v)&&y.length>0?y.filter(M=>v.contains(M)):[]),j(this,jr,[b.clientX,b.clientY]),j(this,br,"content"),pe(this,We,cc).call(this))},d=()=>{pe(this,We,Wr).call(this)},h=()=>{pe(this,We,Wr).call(this)},m=b=>{const v=b.relatedTarget;v0(v)&&n.contains(v)||(j(this,jr,[b.clientX,b.clientY]),j(this,br,"trigger"),pe(this,We,cc).call(this))};return[Kt(s,"pointermove",o),Kt(n,"pointerleave",c),Kt(n,"pointerenter",d),Kt(a,"pointerenter",h),Kt(a,"pointerleave",m)].reduce((b,v)=>()=>{b(),v()},()=>{})})}}Yn=new WeakMap,ua=new WeakMap,da=new WeakMap,jr=new WeakMap,br=new WeakMap,_0=new WeakMap,k0=new WeakMap,Xn=new WeakMap,jn=new WeakMap,We=new WeakSet,Ks=function(){p(this,Xn)!==null&&(cancelAnimationFrame(p(this,Xn)),j(this,Xn,null))},cc=function(){pe(this,We,Ks).call(this),j(this,Xn,requestAnimationFrame(()=>{j(this,Xn,null),!(!p(this,jr)||!p(this,br))&&(pe(this,We,Wr).call(this),p(this,Yn).onPointerExit())}))},uc=function(){p(this,jn)!==null&&(clearTimeout(p(this,jn)),j(this,jn,null))},Rh=function(){p(this,da)!==null&&(pe(this,We,uc).call(this),j(this,jn,window.setTimeout(()=>{j(this,jn,null),!(!p(this,jr)||!p(this,br))&&(pe(this,We,Wr).call(this),p(this,Yn).onPointerExit())},p(this,da))))},Dh=function(e,r,n){if(!p(this,jr)||!p(this,br))return;pe(this,We,Ks).call(this),pe(this,We,Rh).call(this);const a=r.getBoundingClientRect(),i=n.getBoundingClientRect();if(p(this,br)==="content"&&pl(e,i)){pe(this,We,Wr).call(this);return}if(p(this,br)==="trigger"&&pl(e,a)){pe(this,We,Wr).call(this);return}if(p(this,br)==="content"&&p(this,_0).length>0)for(const h of p(this,_0)){const m=h.getBoundingClientRect();if(pl(e,m))return;const b=g1(a,m),v=pe(this,We,dc).call(this,a,m,b);if(v&&ml(e,v))return}const s=g1(a,i),o=pe(this,We,dc).call(this,a,i,s);if(o&&ml(e,o))return;const c=p(this,br)==="content"?i:a,d=pe(this,We,Ih).call(this,p(this,jr),c,s,p(this,br));ml(e,d)||(pe(this,We,Wr).call(this),p(this,Yn).onPointerExit())},Wr=function(){j(this,jr,null),j(this,br,null),j(this,_0,[]),pe(this,We,Ks).call(this),pe(this,We,uc).call(this)},dc=function(e,r,n){const a=p(this,ua);switch(n){case"top":return[[Math.min(e.left,r.left)-a,e.top],[Math.min(e.left,r.left)-a,r.bottom],[Math.max(e.right,r.right)+a,r.bottom],[Math.max(e.right,r.right)+a,e.top]];case"bottom":return[[Math.min(e.left,r.left)-a,e.bottom],[Math.min(e.left,r.left)-a,r.top],[Math.max(e.right,r.right)+a,r.top],[Math.max(e.right,r.right)+a,e.bottom]];case"left":return[[e.left,Math.min(e.top,r.top)-a],[r.right,Math.min(e.top,r.top)-a],[r.right,Math.max(e.bottom,r.bottom)+a],[e.left,Math.max(e.bottom,r.bottom)+a]];case"right":return[[e.right,Math.min(e.top,r.top)-a],[r.left,Math.min(e.top,r.top)-a],[r.left,Math.max(e.bottom,r.bottom)+a],[e.right,Math.max(e.bottom,r.bottom)+a]]}},Ih=function(e,r,n,a){const i=p(this,ua)*4,[s,o]=e;switch(a==="trigger"?pe(this,We,zh).call(this,n):n){case"top":return[[s-i,o+i],[s+i,o+i],[r.right+i,r.bottom],[r.right+i,r.top],[r.left-i,r.top],[r.left-i,r.bottom]];case"bottom":return[[s-i,o-i],[s+i,o-i],[r.right+i,r.top],[r.right+i,r.bottom],[r.left-i,r.bottom],[r.left-i,r.top]];case"left":return[[s+i,o-i],[s+i,o+i],[r.right,r.bottom+i],[r.left,r.bottom+i],[r.left,r.top-i],[r.right,r.top-i]];case"right":return[[s-i,o-i],[s-i,o+i],[r.left,r.bottom+i],[r.right,r.bottom+i],[r.right,r.top-i],[r.left,r.top-i]]}},zh=function(e){switch(e){case"top":return"bottom";case"bottom":return"top";case"left":return"right";case"right":return"left"}};const hc=Yc({component:"popover",parts:["root","trigger","content","close","overlay"]}),iu=new xa("Popover.Root");var ss,os,ls,cs,us,ds,hs,Zn,Jn,Zr,Bn;const Nu=class Nu{constructor(e){N(this,Zr);he(this,"opts");N(this,ss,Oe(null));he(this,"contentPresence");N(this,os,Oe(null));N(this,ls,Oe(null));he(this,"overlayPresence");N(this,cs,Oe(!1));N(this,us,Oe(!1));N(this,ds,Oe(!1));N(this,hs,Oe(0));N(this,Zn,null);N(this,Jn,null);this.opts=e,this.contentPresence=new eo({ref:ne(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new eo({ref:ne(()=>this.overlayNode),open:this.opts.open}),ur(()=>this.opts.open.current,r=>{r||(this.openedViaHover=!1,this.hasInteractedWithContent=!1,pe(this,Zr,Bn).call(this))})}static create(e){return iu.set(new Nu(e))}get contentNode(){return T(p(this,ss))}set contentNode(e){Y(p(this,ss),e,!0)}get triggerNode(){return T(p(this,os))}set triggerNode(e){Y(p(this,os),e,!0)}get overlayNode(){return T(p(this,ls))}set overlayNode(e){Y(p(this,ls),e,!0)}get openedViaHover(){return T(p(this,cs))}set openedViaHover(e){Y(p(this,cs),e,!0)}get hasInteractedWithContent(){return T(p(this,us))}set hasInteractedWithContent(e){Y(p(this,us),e,!0)}get hoverCooldown(){return T(p(this,ds))}set hoverCooldown(e){Y(p(this,ds),e,!0)}get closeDelay(){return T(p(this,hs))}set closeDelay(e){Y(p(this,hs),e,!0)}setDomContext(e){j(this,Jn,e)}toggleOpen(){pe(this,Zr,Bn).call(this),this.opts.open.current=!this.opts.open.current}handleClose(){pe(this,Zr,Bn).call(this),this.opts.open.current&&(this.opts.open.current=!1)}handleHoverOpen(){pe(this,Zr,Bn).call(this),!this.opts.open.current&&(this.openedViaHover=!0,this.opts.open.current=!0)}handleHoverClose(){this.opts.open.current&&this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1)}handleDelayedHoverClose(){this.opts.open.current&&(!this.openedViaHover||this.hasInteractedWithContent||(pe(this,Zr,Bn).call(this),this.closeDelay<=0?this.opts.open.current=!1:p(this,Jn)&&j(this,Zn,p(this,Jn).setTimeout(()=>{this.openedViaHover&&!this.hasInteractedWithContent&&(this.opts.open.current=!1),j(this,Zn,null)},this.closeDelay))))}cancelDelayedClose(){pe(this,Zr,Bn).call(this)}markInteraction(){this.hasInteractedWithContent=!0,pe(this,Zr,Bn).call(this)}};ss=new WeakMap,os=new WeakMap,ls=new WeakMap,cs=new WeakMap,us=new WeakMap,ds=new WeakMap,hs=new WeakMap,Zn=new WeakMap,Jn=new WeakMap,Zr=new WeakSet,Bn=function(){p(this,Zn)!==null&&p(this,Jn)&&(p(this,Jn).clearTimeout(p(this,Zn)),j(this,Zn,null))};let fc=Nu;var Qn,ha,M0,kr,pc,gc,vc,Lh,fs;const Ru=class Ru{constructor(e,r){N(this,kr);he(this,"opts");he(this,"root");he(this,"attachment");he(this,"domContext");N(this,Qn,null);N(this,ha,null);N(this,M0,Oe(!1));N(this,fs,ie(()=>({id:this.opts.id.current,"aria-haspopup":"dialog","aria-expanded":Gm(this.root.opts.open.current),"data-state":Vc(this.root.opts.open.current),"aria-controls":pe(this,kr,Lh).call(this),[hc.trigger]:"",disabled:this.opts.disabled.current,onkeydown:this.onkeydown,onclick:this.onclick,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment})));this.opts=e,this.root=r,this.attachment=Sn(this.opts.ref,n=>this.root.triggerNode=n),this.domContext=new Wc(e.ref),this.root.setDomContext(this.domContext),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),ur(()=>this.opts.closeDelay.current,n=>{this.root.closeDelay=n})}static create(e){return new Ru(e,iu.get())}onpointerenter(e){if(this.opts.disabled.current||!this.opts.openOnHover.current||$s(e)||(Y(p(this,M0),!0),pe(this,kr,gc).call(this),this.root.cancelDelayedClose(),this.root.opts.open.current||this.root.hoverCooldown))return;const r=this.opts.openDelay.current;r<=0?this.root.handleHoverOpen():j(this,Qn,this.domContext.setTimeout(()=>{this.root.handleHoverOpen(),j(this,Qn,null)},r))}onpointerleave(e){this.opts.disabled.current||this.opts.openOnHover.current&&($s(e)||(Y(p(this,M0),!1),pe(this,kr,pc).call(this),this.root.hoverCooldown=!1))}onclick(e){if(!this.opts.disabled.current&&e.button===0){if(pe(this,kr,vc).call(this),T(p(this,M0))&&this.root.opts.open.current&&this.root.openedViaHover){this.root.openedViaHover=!1,this.root.hasInteractedWithContent=!0;return}T(p(this,M0))&&this.opts.openOnHover.current&&this.root.opts.open.current&&(this.root.hoverCooldown=!0),this.root.hoverCooldown&&!this.root.opts.open.current&&(this.root.hoverCooldown=!1),this.root.toggleOpen()}}onkeydown(e){this.opts.disabled.current||(e.key===jd||e.key===Zd)&&(e.preventDefault(),pe(this,kr,vc).call(this),this.root.toggleOpen())}get props(){return T(p(this,fs))}set props(e){Y(p(this,fs),e)}};Qn=new WeakMap,ha=new WeakMap,M0=new WeakMap,kr=new WeakSet,pc=function(){p(this,Qn)!==null&&(this.domContext.clearTimeout(p(this,Qn)),j(this,Qn,null))},gc=function(){p(this,ha)!==null&&(this.domContext.clearTimeout(p(this,ha)),j(this,ha,null))},vc=function(){pe(this,kr,pc).call(this),pe(this,kr,gc).call(this)},Lh=function(){var e,r;if(this.root.opts.open.current&&((e=this.root.contentNode)!=null&&e.id))return(r=this.root.contentNode)==null?void 0:r.id},fs=new WeakMap;let mc=Ru;var ms,ps;const Du=class Du{constructor(e,r){he(this,"opts");he(this,"root");he(this,"attachment");he(this,"onInteractOutside",e=>{if(this.opts.onInteractOutside.current(e),e.defaultPrevented||!v0(e.target))return;const r=e.target.closest(hc.selector("trigger"));if(!(r&&r===this.root.triggerNode)){if(this.opts.customAnchor.current){if(v0(this.opts.customAnchor.current)){if(this.opts.customAnchor.current.contains(e.target))return}else if(typeof this.opts.customAnchor.current=="string"){const n=document.querySelector(this.opts.customAnchor.current);if(n&&n.contains(e.target))return}}this.root.handleClose()}});he(this,"onEscapeKeydown",e=>{this.opts.onEscapeKeydown.current(e),!e.defaultPrevented&&this.root.handleClose()});N(this,ms,ie(()=>({open:this.root.opts.open.current})));N(this,ps,ie(()=>({id:this.opts.id.current,tabindex:-1,"data-state":Vc(this.root.opts.open.current),...Kc(this.root.contentPresence.transitionStatus),[hc.content]:"",style:{pointerEvents:"auto",contain:"layout style"},onpointerdown:this.onpointerdown,onfocusin:this.onfocusin,onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave,...this.attachment})));he(this,"popperProps",{onInteractOutside:this.onInteractOutside,onEscapeKeydown:this.onEscapeKeydown});this.opts=e,this.root=r,this.attachment=Sn(this.opts.ref,n=>this.root.contentNode=n),this.onpointerdown=this.onpointerdown.bind(this),this.onfocusin=this.onfocusin.bind(this),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this),new Wp({triggerNode:()=>this.root.triggerNode,contentNode:()=>this.root.contentNode,enabled:()=>this.root.opts.open.current&&this.root.openedViaHover&&!this.root.hasInteractedWithContent,onPointerExit:()=>{this.root.handleDelayedHoverClose()}})}static create(e){return new Du(e,iu.get())}onpointerdown(e){this.root.markInteraction()}onfocusin(e){const r=e.target;v0(r)&&x2(r)&&this.root.markInteraction()}onpointerenter(e){$s(e)||this.root.cancelDelayedClose()}onpointerleave(e){$s(e)}get shouldRender(){return this.root.contentPresence.shouldRender}get shouldTrapFocus(){return!(this.root.openedViaHover&&!this.root.hasInteractedWithContent)}get snippetProps(){return T(p(this,ms))}set snippetProps(e){Y(p(this,ms),e)}get props(){return T(p(this,ps))}set props(e){Y(p(this,ps),e)}};ms=new WeakMap,ps=new WeakMap;let bc=Du;var Vp=He("<div><div><!></div></div>"),Kp=He("<div><div><!></div></div>");function Yp(t,e){const r=wa();st(e,!0);let n=H(e,"ref",15,null),a=H(e,"id",19,()=>Sa(r)),i=H(e,"forceMount",3,!1),s=H(e,"onOpenAutoFocus",3,it),o=H(e,"onCloseAutoFocus",3,it),c=H(e,"onEscapeKeydown",3,it),d=H(e,"onInteractOutside",3,it),h=H(e,"trapFocus",3,!0),m=H(e,"preventScroll",3,!1),b=H(e,"customAnchor",3,null),v=Yt(e,["$$slots","$$events","$$legacy","child","children","ref","id","forceMount","onOpenAutoFocus","onCloseAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","customAnchor","style"]);const y=bc.create({id:ne(()=>a()),ref:ne(()=>n(),R=>n(R)),onInteractOutside:ne(()=>d()),onEscapeKeydown:ne(()=>c()),customAnchor:ne(()=>b())}),w=ie(()=>xr(v,y.props)),k=ie(()=>h()&&y.shouldTrapFocus);function M(R){y.shouldTrapFocus||R.preventDefault(),s()(R)}var C=Re(),D=we(C);{var I=R=>{Gp(R,wr(()=>T(w),()=>y.popperProps,{get ref(){return y.opts.ref},get enabled(){return y.root.opts.open.current},get id(){return a()},get trapFocus(){return T(k)},get preventScroll(){return m()},loop:!0,forceMount:!0,get customAnchor(){return b()},onOpenAutoFocus:M,get onCloseAutoFocus(){return o()},get shouldRender(){return y.shouldRender},popper:(F,B)=>{let q=()=>B==null?void 0:B().props,ee=()=>B==null?void 0:B().wrapperProps;const re=ie(()=>xr(q(),{style:m1("popover")},{style:e.style}));var xe=Re(),te=we(xe);{var be=fe=>{var X=Re(),ce=we(X);{let me=ie(()=>({props:T(re),wrapperProps:ee(),...y.snippetProps}));$e(ce,()=>e.child,()=>T(me))}Q(fe,X)},ve=fe=>{var X=Vp();zr(X,()=>({...ee()}));var ce=Fe(X);zr(ce,()=>({...T(re)}));var me=Fe(ce);$e(me,()=>e.children??Et),De(ce),De(X),Q(fe,X)};at(te,fe=>{e.child?fe(be):fe(ve,-1)})}Q(F,xe)},$$slots:{popper:!0}}))},L=R=>{qp(R,wr(()=>T(w),()=>y.popperProps,{get ref(){return y.opts.ref},get open(){return y.root.opts.open.current},get id(){return a()},get trapFocus(){return T(k)},get preventScroll(){return m()},loop:!0,forceMount:!1,get customAnchor(){return b()},onOpenAutoFocus:M,get onCloseAutoFocus(){return o()},get shouldRender(){return y.shouldRender},popper:(F,B)=>{let q=()=>B==null?void 0:B().props,ee=()=>B==null?void 0:B().wrapperProps;const re=ie(()=>xr(q(),{style:m1("popover")},{style:e.style}));var xe=Re(),te=we(xe);{var be=fe=>{var X=Re(),ce=we(X);{let me=ie(()=>({props:T(re),wrapperProps:ee(),...y.snippetProps}));$e(ce,()=>e.child,()=>T(me))}Q(fe,X)},ve=fe=>{var X=Kp();zr(X,()=>({...ee()}));var ce=Fe(X);zr(ce,()=>({...T(re)}));var me=Fe(ce);$e(me,()=>e.children??Et),De(ce),De(X),Q(fe,X)};at(te,fe=>{e.child?fe(be):fe(ve,-1)})}Q(F,xe)},$$slots:{popper:!0}}))};at(D,R=>{i()?R(I):i()||R(L,1)})}Q(t,C),ot()}var Xp=He("<button><!></button>");function jp(t,e){const r=wa();st(e,!0);let n=H(e,"id",19,()=>Sa(r)),a=H(e,"ref",15,null),i=H(e,"type",3,"button"),s=H(e,"disabled",3,!1),o=H(e,"openOnHover",3,!1),c=H(e,"openDelay",3,700),d=H(e,"closeDelay",3,300),h=Yt(e,["$$slots","$$events","$$legacy","children","child","id","ref","type","disabled","openOnHover","openDelay","closeDelay"]);const m=mc.create({id:ne(()=>n()),ref:ne(()=>a(),v=>a(v)),disabled:ne(()=>!!s()),openOnHover:ne(()=>o()),openDelay:ne(()=>c()),closeDelay:ne(()=>d())}),b=ie(()=>xr(h,m.props,{type:i()}));Pp(t,{get id(){return n()},get ref(){return m.opts.ref},children:(v,y)=>{var w=Re(),k=we(w);{var M=D=>{var I=Re(),L=we(I);$e(L,()=>e.child,()=>({props:T(b)})),Q(D,I)},C=D=>{var I=Xp();zr(I,()=>({...T(b)}));var L=Fe(I);$e(L,()=>e.children??Et),De(I),Q(D,I)};at(k,D=>{e.child?D(M):D(C,-1)})}Q(v,w)},$$slots:{default:!0}}),ot()}function Vo(t,e){st(e,!0);let r=H(e,"open",15,!1),n=H(e,"onOpenChange",3,it),a=H(e,"onOpenChangeComplete",3,it);Kl.create({variant:ne(()=>"dialog"),open:ne(()=>r(),o=>{r(o),n()(o)}),onOpenChangeComplete:ne(()=>a())});var i=Re(),s=we(i);$e(s,()=>e.children??Et),Q(t,i),ot()}var Zp=He("<button><!></button>");function Ph(t,e){const r=wa();st(e,!0);let n=H(e,"id",19,()=>Sa(r)),a=H(e,"ref",15,null),i=H(e,"disabled",3,!1),s=Yt(e,["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]);const o=Yl.create({variant:ne(()=>"close"),id:ne(()=>n()),ref:ne(()=>a(),v=>a(v)),disabled:ne(()=>!!i())}),c=ie(()=>xr(s,o.props));var d=Re(),h=we(d);{var m=v=>{var y=Re(),w=we(y);$e(w,()=>e.child,()=>({props:T(c)})),Q(v,y)},b=v=>{var y=Zp();zr(y,()=>({...T(c)}));var w=Fe(y);$e(w,()=>e.children??Et),De(y),Q(v,y)};at(h,v=>{e.child?v(m):v(b,-1)})}Q(t,d),ot()}var Jp=He("<!> <!>",1),Qp=He("<!> <div><!></div>",1);function Ko(t,e){const r=wa();st(e,!0);let n=H(e,"id",19,()=>Sa(r)),a=H(e,"ref",15,null),i=H(e,"forceMount",3,!1),s=H(e,"onCloseAutoFocus",3,it),o=H(e,"onOpenAutoFocus",3,it),c=H(e,"onEscapeKeydown",3,it),d=H(e,"onInteractOutside",3,it),h=H(e,"trapFocus",3,!0),m=H(e,"preventScroll",3,!0),b=H(e,"restoreScrollDelay",3,null),v=Yt(e,["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]);const y=jl.create({id:ne(()=>n()),ref:ne(()=>a(),D=>a(D))}),w=ie(()=>xr(v,y.props));var k=Re(),M=we(k);{var C=D=>{ph(D,{get ref(){return y.opts.ref},loop:!0,get trapFocus(){return h()},get enabled(){return y.root.opts.open.current},get onOpenAutoFocus(){return o()},get onCloseAutoFocus(){return s()},focusScope:(L,R)=>{let K=()=>R==null?void 0:R().props;uh(L,wr(()=>T(w),{get enabled(){return y.root.opts.open.current},get ref(){return y.opts.ref},onEscapeKeydown:F=>{c()(F),!F.defaultPrevented&&y.root.handleClose()},children:(F,B)=>{ch(F,wr(()=>T(w),{get ref(){return y.opts.ref},get enabled(){return y.root.opts.open.current},onInteractOutside:q=>{d()(q),!q.defaultPrevented&&y.root.handleClose()},children:(q,ee)=>{vh(q,wr(()=>T(w),{get ref(){return y.opts.ref},get enabled(){return y.root.opts.open.current},children:(re,xe)=>{var te=Re(),be=we(te);{var ve=X=>{var ce=Jp(),me=we(ce);{var Ae=Ie=>{so(Ie,{get preventScroll(){return m()},get restoreScrollDelay(){return b()}})};at(me,Ie=>{y.root.opts.open.current&&Ie(Ae)})}var Ue=Je(me,2);{let Ie=ie(()=>({props:xr(T(w),K()),...y.snippetProps}));$e(Ue,()=>e.child,()=>T(Ie))}Q(X,ce)},fe=X=>{var ce=Qp(),me=we(ce);so(me,{get preventScroll(){return m()}});var Ae=Je(me,2);zr(Ae,Ie=>({...Ie}),[()=>xr(T(w),K())]);var Ue=Fe(Ae);$e(Ue,()=>e.children??Et),De(Ae),Q(X,ce)};at(be,X=>{e.child?X(ve):X(fe,-1)})}Q(re,te)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};at(M,D=>{(y.shouldRender||i())&&D(C)})}Q(t,k),ot()}function $p(t,e){st(e,!0);let r=H(e,"open",15,!1),n=H(e,"onOpenChange",3,it),a=H(e,"onOpenChangeComplete",3,it);fc.create({open:ne(()=>r(),i=>{r(i),n()(i)}),onOpenChangeComplete:ne(()=>a())}),Lp(t,{children:(i,s)=>{var o=Re(),c=we(o);$e(c,()=>e.children??Et),Q(i,o)},$$slots:{default:!0}}),ot()}/**
9
+ * @file
10
+ * @license @lucide/svelte v1.17.0 - ISC
11
+ *
12
+ * This source code is licensed under the ISC license.
13
+ * See the LICENSE file in the root directory of this source tree.
14
+ */const e5={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
15
+ * @file
16
+ * @license @lucide/svelte v1.17.0 - ISC
17
+ *
18
+ * This source code is licensed under the ISC license.
19
+ * See the LICENSE file in the root directory of this source tree.
20
+ */const t5=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0;return!1};/**
21
+ * @file
22
+ * @license @lucide/svelte v1.17.0 - ISC
23
+ *
24
+ * This source code is licensed under the ISC license.
25
+ * See the LICENSE file in the root directory of this source tree.
26
+ */const r5=Symbol("lucide-context"),n5=()=>Fl(r5);var a5=z4("<svg><!><!></svg>");function Ta(t,e){st(e,!0);const r=n5()??{},n=H(e,"color",19,()=>r.color??"currentColor"),a=H(e,"size",19,()=>r.size??24),i=H(e,"strokeWidth",19,()=>r.strokeWidth??2),s=H(e,"absoluteStrokeWidth",19,()=>r.absoluteStrokeWidth??!1),o=H(e,"iconNode",19,()=>[]),c=Yt(e,["$$slots","$$events","$$legacy","name","color","size","strokeWidth","absoluteStrokeWidth","iconNode","children"]),d=ie(()=>s()?Number(i())*24/Number(a()):i());var h=a5();zr(h,v=>({...e5,...v,...c,width:a(),height:a(),stroke:n(),"stroke-width":T(d),class:["lucide-icon lucide",r.class,e.name&&`lucide-${e.name}`,e.class]}),[()=>!e.children&&!t5(c)&&{"aria-hidden":"true"}]);var m=Fe(h);Ja(m,17,o,Id,(v,y)=>{var w=ie(()=>D4(T(y),2));let k=()=>T(w)[0],M=()=>T(w)[1];var C=Re(),D=we(C);J4(D,k,!0,(I,L)=>{zr(I,()=>({...M()}))}),Q(v,C)});var b=Je(m);$e(b,()=>e.children??Et),De(h),Q(t,h),ot()}function i5(t,e){let r=Yt(e,["$$slots","$$events","$$legacy"]);const n=[["path",{d:"M20 6 9 17l-5-5"}]];Ta(t,wr({name:"check"},()=>r,{get iconNode(){return n}}))}function v1(t,e){let r=Yt(e,["$$slots","$$events","$$legacy"]);const n=[["path",{d:"m6 9 6 6 6-6"}]];Ta(t,wr({name:"chevron-down"},()=>r,{get iconNode(){return n}}))}var s5=He('<span class="truncate min-w-0" dir="auto"> </span> <!>',1),o5=He('<div style="background:var(--bg-elev); color:var(--fg-muted)"> </div>'),l5=He('<span class="line-clamp-2 text-[11px] leading-snug text-start" style="color:var(--fg-dim)" dir="auto"> </span>'),c5=He('<button type="button" style="color:var(--fg)"><span class="flex flex-col min-w-0 gap-0.5"><span class="line-clamp-2 text-start" dir="auto"> </span> <!></span> <!></button>'),u5=He("<!> <!>",1),d5=He('<div class="flex flex-col overflow-y-auto px-2 pb-3"></div>'),h5=He('<div class="flex flex-col min-h-0"><!> <!></div>'),f5=He("<!> <!>",1),m5=He('<button type="button" style="background:var(--bg-card); border-color:var(--border); color:var(--fg)"><!></button> <!>',1),p5=He("<!> <!>",1),g5=He('<button type="button" class="px-1 text-[11px] leading-snug text-start flex items-start gap-1 cursor-pointer outline-none" style="color:var(--fg-dim)"><span dir="auto"> </span> <!></button>'),v5=He('<span class="px-1 text-[11px] leading-snug line-clamp-2" style="color:var(--fg-dim)" dir="auto"> </span>'),b5=He('<div class="flex flex-col gap-1 min-w-0"><!> <!></div>');function E7(t,e){st(e,!0);const r=q=>{var ee=s5(),re=we(ee),xe=Fe(re,!0);De(re);var te=Je(re,2);v1(te,{size:15,style:"color:var(--fg-dim)",class:"shrink-0"}),Ft(()=>{Vt(xe,T(b)),re.dir=re.dir}),Q(q,ee)},n=(q,ee=Et)=>{var re=d5();Ja(re,21,()=>T(h),xe=>xe.group,(xe,te)=>{var be=u5(),ve=we(be);{var fe=ce=>{var me=o5();let Ae;var Ue=Fe(me,!0);De(me),Ft(()=>{Ae=Ha(me,1,"px-3 pt-3 pb-1 text-[11px] font-semibold uppercase tracking-wide",null,Ae,{sticky:ee(),"top-0":ee()}),Vt(Ue,T(te).group)}),Q(ce,me)};at(ve,ce=>{T(te).group&&ce(fe)})}var X=Je(ve,2);Ja(X,17,()=>T(te).items,ce=>ce.value,(ce,me)=>{var Ae=c5();let Ue;var Ie=Fe(Ae),Pe=Fe(Ie),It=Fe(Pe,!0);De(Pe);var Ge=Je(Pe,2);{var At=et=>{var zt=l5(),Tt=Fe(zt,!0);De(zt),Ft(nr=>{Vt(Tt,nr),zt.dir=zt.dir},[()=>v(T(me).description)]),Q(et,zt)},qe=ie(()=>v(T(me).description));at(Ge,et=>{T(qe)&&et(At)})}De(Ie);var rt=Je(Ie,2);{var kt=et=>{i5(et,{size:18,style:"color:var(--accent)",class:"shrink-0 mt-0.5"})};at(rt,et=>{T(me).value===a()&&et(kt)})}De(Ae),Ft(()=>{Ae.disabled=T(me).disabled,Ue=Ha(Ae,1,"rounded-lg px-3 py-3 text-sm flex items-start justify-between gap-2 text-start hover:bg-white/5 disabled:opacity-40 svelte-gjx2ev",null,Ue,{"is-selected":T(me).value===a()}),Vt(It,T(me).label),Pe.dir=Pe.dir}),Fn("click",Ae,()=>C(T(me).value)),Q(ce,Ae)}),Q(xe,be)}),De(re),Q(q,re)};let a=H(e,"value",15,""),i=H(e,"placeholder",3,""),s=H(e,"disabled",3,!1),o=H(e,"compact",3,!1);const c=q4();let d=Oe(!1);const h=ie(()=>e.groups??[{group:"",items:e.options??[]}]),m=ie(()=>T(h).flatMap(q=>q.items)),b=ie(()=>{var q;return((q=T(m).find(ee=>ee.value===a()))==null?void 0:q.label)??i()});function v(q){if(!q)return"";const ee=q.split(`
27
+ `)[0];return ee?ee.trim():""}const y=ie(()=>{var q;return v((q=T(m).find(ee=>ee.value===a()))==null?void 0:q.description)}),w=ie(()=>{var q;return(((q=T(m).find(ee=>ee.value===a()))==null?void 0:q.description)??"").trim()}),k=ie(()=>T(w)!==T(y)||T(y).length>45);let M=Oe(!1);tr(()=>{a(),Y(M,!1)});function C(q){var ee;a(q),(ee=e.onchange)==null||ee.call(e,q),Y(d,!1)}const D=ie(()=>"rounded-xl px-3 py-2.5 text-sm border flex items-center gap-2 outline-none disabled:opacity-50 disabled:cursor-not-allowed"+(o()?"":" w-full justify-between"));var I=b5(),L=Fe(I);{var R=q=>{var ee=m5(),re=we(ee),xe=Fe(re);r(xe),De(re);var te=Je(re,2);Bt(te,()=>Vo,(be,ve)=>{ve(be,{get open(){return T(d)},set open(fe){Y(d,fe,!0)},children:(fe,X)=>{var ce=Re(),me=we(ce);Bt(me,()=>Qa,(Ae,Ue)=>{Ue(Ae,{children:(Ie,Pe)=>{var It=f5(),Ge=we(It);Bt(Ge,()=>Ho,(qe,rt)=>{rt(qe,{class:"fixed inset-0 z-40 bg-black/60"})});var At=Je(Ge,2);Bt(At,()=>Ko,(qe,rt)=>{rt(qe,{class:"fixed left-1/2 top-1/2 z-50 -translate-x-1/2 -translate-y-1/2 w-[88%] max-w-sm max-h-[70dvh] flex flex-col rounded-2xl border shadow-xl",style:"background:var(--bg-elev); border-color:var(--border)",children:(kt,et)=>{var zt=h5(),Tt=Fe(zt);{var nr=Ut=>{var fr=Re(),qt=we(fr);Bt(qt,()=>Xc,(Xt,ar)=>{ar(Xt,{class:"px-4 pt-4 pb-2 text-sm font-semibold shrink-0",style:"color:var(--fg-dim)",children:(jt,Dr)=>{Zs();var Ve=qc();Ft(()=>Vt(Ve,e.title)),Q(jt,Ve)},$$slots:{default:!0}})}),Q(Ut,fr)};at(Tt,Ut=>{e.title&&Ut(nr)})}var Fr=Je(Tt,2);n(Fr,()=>!0),De(zt),Q(kt,zt)},$$slots:{default:!0}})}),Q(Ie,It)},$$slots:{default:!0}})}),Q(fe,ce)},$$slots:{default:!0}})}),Ft(()=>{re.disabled=s(),Ya(re,"aria-label",e.ariaLabel??e.title),Ha(re,1,F4(T(D)),"svelte-gjx2ev")}),Fn("click",re,()=>Y(d,!0)),Q(q,ee)},K=q=>{var ee=Re(),re=we(ee);Bt(re,()=>$p,(xe,te)=>{te(xe,{get open(){return T(d)},set open(be){Y(d,be,!0)},children:(be,ve)=>{var fe=p5(),X=we(fe);{let me=ie(()=>e.ariaLabel??e.title);Bt(X,()=>jp,(Ae,Ue)=>{Ue(Ae,{get disabled(){return s()},get"aria-label"(){return T(me)},get class(){return T(D)},style:"background:var(--bg-card); border-color:var(--border); color:var(--fg)",children:(Ie,Pe)=>{r(Ie)},$$slots:{default:!0}})})}var ce=Je(X,2);Bt(ce,()=>Qa,(me,Ae)=>{Ae(me,{children:(Ue,Ie)=>{var Pe=Re(),It=we(Pe);Bt(It,()=>Yp,(Ge,At)=>{At(Ge,{sideOffset:6,align:"start",class:"z-50 max-h-[60dvh] w-(--bits-floating-anchor-width) max-w-[92vw] flex flex-col rounded-xl border shadow-xl overflow-hidden",style:"background:var(--bg-elev); border-color:var(--border)",children:(qe,rt)=>{n(qe,()=>!1)},$$slots:{default:!0}})}),Q(Ue,Pe)},$$slots:{default:!0}})}),Q(be,fe)},$$slots:{default:!0}})}),Q(q,ee)};at(L,q=>{c.isMobile?q(R):q(K,-1)})}var F=Je(L,2);{var B=q=>{var ee=Re(),re=we(ee);{var xe=be=>{var ve=g5(),fe=Fe(ve),X=Fe(fe,!0);De(fe);var ce=Je(fe,2);{let me=ie(()=>T(M)?180:0);v1(ce,{size:12,class:"shrink-0 mt-0.5 transition-transform",get style(){return`transform:rotate(${T(me)??""}deg)`}})}De(ve),Ft(()=>{Ya(ve,"aria-expanded",T(M)),Ya(ve,"title",T(M)?void 0:T(w)),Ha(fe,1,`min-w-0 ${T(M)?"whitespace-pre-wrap":"line-clamp-2"}`),Vt(X,T(M)?T(w):T(y)),fe.dir=fe.dir}),Fn("click",ve,()=>Y(M,!T(M))),Q(be,ve)},te=be=>{var ve=v5(),fe=Fe(ve,!0);De(ve),Ft(()=>{Vt(fe,T(y)),ve.dir=ve.dir}),Q(be,ve)};at(re,be=>{T(k)?be(xe):be(te,-1)})}Q(q,ee)};at(F,q=>{T(y)&&q(B)})}De(I),Q(t,I),ot()}Dd(["click"]);function A7(t){return t.split(/[/\\]/).filter(Boolean).at(-1)??t}function y5(t,e){let r=Yt(e,["$$slots","$$events","$$legacy"]);const n=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"}]];Ta(t,wr({name:"folder"},()=>r,{get iconNode(){return n}}))}function w5(t,e){let r=Yt(e,["$$slots","$$events","$$legacy"]);const n=[["path",{d:"m5 12 7-7 7 7"}],["path",{d:"M12 19V5"}]];Ta(t,wr({name:"arrow-up"},()=>r,{get iconNode(){return n}}))}function Bh(t,e){let r=Yt(e,["$$slots","$$events","$$legacy"]);const n=[["path",{d:"M18 6 6 18"}],["path",{d:"m6 6 12 12"}]];Ta(t,wr({name:"x"},()=>r,{get iconNode(){return n}}))}async function x5(t,e=!1){const r=new URLSearchParams({path:t});e&&r.set("showHidden","true");const n=await fetch(zd(`/api/fs/browse?${r}`));if(!n.ok)throw new Error(`browse failed: ${n.status}`);return n.json()}var S5=He('<span class="opacity-40 mx-1">/</span>'),E5=He('<button type="button" class="hover:underline inline" style="color:var(--accent-hi)"> </button> <!>',1),A5=He('<div class="text-center py-8 opacity-50 text-sm"> </div>'),T5=He('<div class="text-center py-4 text-sm" style="color:var(--recording)"> </div>'),_5=He('<button class="flex items-center gap-3 px-3 py-3.5 rounded-xl text-sm text-start" style="background:var(--bg-card); color:var(--fg-muted)"><!> ..</button>'),k5=He('<button class="flex items-center gap-3 px-3 py-3.5 rounded-xl text-sm text-start" style="background:var(--bg-card)"><!> </button>'),M5=He("<!> <!>",1),O5=He('<div class="w-full max-w-lg rounded-2xl flex flex-col overflow-hidden" style="background:var(--bg-elev); border:1px solid var(--border); max-height:80dvh"><div class="flex items-center justify-between px-4 py-3 border-b shrink-0" style="border-color:var(--border)"><!> <!></div> <div class="mx-4 my-2 px-3 py-2 rounded-lg font-mono text-xs overflow-x-auto whitespace-nowrap shrink-0" style="background:var(--bg-card); color:var(--fg-dim)" dir="ltr"></div> <label class="mx-4 mb-1 flex items-center gap-2 text-xs shrink-0" style="color:var(--fg-dim)"><input type="checkbox" class="cursor-pointer"/> </label> <div class="flex-1 overflow-y-auto chat-scroll px-4 pb-2 flex flex-col gap-1.5" dir="ltr"><!></div> <div class="px-4 py-3 border-t flex items-center justify-between gap-3 shrink-0" style="border-color:var(--border); background:var(--bg-elev)"><span class="text-xs truncate" style="color:var(--fg-muted)" dir="ltr"> </span> <button class="px-5 py-2.5 rounded-xl text-sm font-semibold text-white shrink-0" style="background:var(--accent)"> </button></div></div>'),C5=He("<!> <!>",1);function T7(t,e){st(e,!0);let r=H(e,"startPath",3,"");const n=Fo().t,a=G4(),i=W4();let s=Oe(X0(a.lastCwd||"")),o=Oe(X0([])),c=Oe(!1),d=Oe(null),h=Oe(!1);tr(()=>{const F=i.folderOpen;e0(()=>{F&&(Y(h,!1),m())})});async function m(){let F=r().trim()||a.lastCwd;if(!F)try{F=(await em()).homeDir}catch{}Y(s,F||"",!0),await w(T(s))}const b=ie(()=>T(s).split(/[\\/]/).filter(Boolean));function v(F){return F.includes("\\")?"\\":"/"}function y(F){return F==="/"||/^[a-zA-Z]:[\\/]?$/.test(F)}async function w(F){if(F){Y(c,!0),Y(d,null);try{const B=await x5(F,T(h));Y(s,B.path,!0),Y(o,B.entries.filter(q=>q.isDir),!0)}catch(B){Y(d,B instanceof Error?B.message:String(B),!0)}finally{Y(c,!1)}}}function k(){Y(h,!T(h)),w(T(s))}function M(F){i.folderOpen=F}function C(F){const B=v(T(s)),q=T(s).replace(/[\\/]+$/,"");w(`${q}${B}${F}`)}function D(F){const B=T(b).slice(0,F+1),q=v(T(s));let ee;B.length>0&&B[0]!==void 0&&/^[a-zA-Z]:$/.test(B[0])?ee=B[0]+q+B.slice(1).join(q):ee="/"+B.join("/"),w(ee)}function I(){const F=v(T(s)),B=T(s).replace(/[\\/]+$/,""),q=Math.max(B.lastIndexOf("/"),B.lastIndexOf("\\"));if(q<=0){w("/");return}const ee=B.slice(0,q);if(/^[a-zA-Z]:$/.test(ee)){w(ee+F);return}w(ee)}function L(){a.setLastCwd(T(s)),i.closeFolder()}var R=Re(),K=we(R);Bt(K,()=>Vo,(F,B)=>{B(F,{get open(){return i.folderOpen},onOpenChange:M,children:(q,ee)=>{var re=Re(),xe=we(re);Bt(xe,()=>Qa,(te,be)=>{be(te,{children:(ve,fe)=>{var X=C5(),ce=we(X);Bt(ce,()=>Ho,(Ae,Ue)=>{Ue(Ae,{class:"fixed inset-0 z-40 bg-black/60 backdrop-blur-sm"})});var me=Je(ce,2);Bt(me,()=>Ko,(Ae,Ue)=>{Ue(Ae,{class:"fixed inset-0 z-50 flex items-center justify-center p-4",children:(Ie,Pe)=>{var It=O5(),Ge=Fe(It),At=Fe(Ge);Bt(At,()=>Xc,(Ve,Ke)=>{Ke(Ve,{class:"text-lg font-semibold",children:(vt,dt)=>{Zs();var _t=qc();Ft(Lt=>Vt(_t,Lt),[()=>n("modal.folder.title")]),Q(vt,_t)},$$slots:{default:!0}})});var qe=Je(At,2);{let Ve=ie(()=>n("modal.close"));Bt(qe,()=>Ph,(Ke,vt)=>{vt(Ke,{class:"size-8 grid place-items-center rounded-lg",style:"color:var(--fg-dim)",get"aria-label"(){return T(Ve)},children:(dt,_t)=>{Bh(dt,{size:16,strokeWidth:2})},$$slots:{default:!0}})})}De(Ge);var rt=Je(Ge,2);Ja(rt,21,()=>T(b),Id,(Ve,Ke,vt)=>{var dt=E5(),_t=we(dt),Lt=Fe(_t,!0);De(_t);var ht=Je(_t,2);{var bt=Zt=>{var on=S5();Q(Zt,on)};at(ht,Zt=>{vt<T(b).length-1&&Zt(bt)})}Ft(()=>Vt(Lt,T(Ke))),Fn("click",_t,()=>D(vt)),Q(Ve,dt)}),De(rt);var kt=Je(rt,2),et=Fe(kt);H4(et);var zt=Je(et);De(kt);var Tt=Je(kt,2),nr=Fe(Tt);{var Fr=Ve=>{var Ke=A5(),vt=Fe(Ke,!0);De(Ke),Ft(dt=>Vt(vt,dt),[()=>n("modal.folder.loading")]),Q(Ve,Ke)},Ut=Ve=>{var Ke=T5(),vt=Fe(Ke);De(Ke),Ft(dt=>Vt(vt,`${dt??""}: ${T(d)??""}`),[()=>n("modal.folder.error")]),Q(Ve,Ke)},fr=Ve=>{var Ke=M5(),vt=we(Ke);{var dt=ht=>{var bt=_5(),Zt=Fe(bt);w5(Zt,{size:16,strokeWidth:2}),Zs(),De(bt),Fn("click",bt,I),Q(ht,bt)},_t=ie(()=>!y(T(s))&&T(s)!=="");at(vt,ht=>{T(_t)&&ht(dt)})}var Lt=Je(vt,2);Ja(Lt,17,()=>T(o),ht=>ht.name,(ht,bt)=>{var Zt=k5(),on=Fe(Zt);y5(on,{size:16,strokeWidth:1.5,style:"color:var(--accent)"});var D0=Je(on);De(Zt),Ft(()=>Vt(D0,` ${T(bt).name??""}`)),Fn("click",Zt,()=>C(T(bt).name)),Q(ht,Zt)}),Q(Ve,Ke)};at(nr,Ve=>{T(c)?Ve(Fr):T(d)?Ve(Ut,1):Ve(fr,-1)})}De(Tt);var qt=Je(Tt,2),Xt=Fe(qt),ar=Fe(Xt,!0);De(Xt);var jt=Je(Xt,2),Dr=Fe(jt,!0);De(jt),De(qt),De(It),Ft((Ve,Ke)=>{rt.dir=rt.dir,U4(et,T(h)),Vt(zt,` ${Ve??""}`),Tt.dir=Tt.dir,Vt(ar,T(s)),Xt.dir=Xt.dir,Vt(Dr,Ke)},[()=>n("modal.folder.showHidden"),()=>n("modal.folder.pick")]),Fn("change",et,k),Fn("click",jt,L),Q(Ie,It)},$$slots:{default:!0}})}),Q(ve,X)},$$slots:{default:!0}})}),Q(q,re)},$$slots:{default:!0}})}),Q(t,R),ot()}Dd(["click","change"]);/*! @license DOMPurify 3.4.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.7/LICENSE */function b1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function N5(t){if(Array.isArray(t))return t}function R5(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,a,i,s,o=[],c=!0,d=!1;try{if(i=(r=r.call(t)).next,e!==0)for(;!(c=(n=i.call(r)).done)&&(o.push(n.value),o.length!==e);c=!0);}catch(h){d=!0,a=h}finally{try{if(!c&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(d)throw a}}return o}}function D5(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
28
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I5(t,e){return N5(t)||R5(t,e)||z5(t,e)||D5()}function z5(t,e){if(t){if(typeof t=="string")return b1(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b1(t,e):void 0}}const Fh=Object.entries,y1=Object.setPrototypeOf,L5=Object.isFrozen,P5=Object.getPrototypeOf,B5=Object.getOwnPropertyDescriptor;let dr=Object.freeze,Nr=Object.seal,K0=Object.create,Hh=typeof Reflect<"u"&&Reflect,yc=Hh.apply,wc=Hh.construct;dr||(dr=function(e){return e});Nr||(Nr=function(e){return e});yc||(yc=function(e,r){for(var n=arguments.length,a=new Array(n>2?n-2:0),i=2;i<n;i++)a[i-2]=arguments[i];return e.apply(r,a)});wc||(wc=function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return new e(...n)});const U0=Rt(Array.prototype.forEach),F5=Rt(Array.prototype.lastIndexOf),w1=Rt(Array.prototype.pop),q0=Rt(Array.prototype.push),H5=Rt(Array.prototype.splice),or=Array.isArray,Ga=Rt(String.prototype.toLowerCase),gl=Rt(String.prototype.toString),x1=Rt(String.prototype.match),G0=Rt(String.prototype.replace),S1=Rt(String.prototype.indexOf),U5=Rt(String.prototype.trim),q5=Rt(Number.prototype.toString),G5=Rt(Boolean.prototype.toString),E1=typeof BigInt>"u"?null:Rt(BigInt.prototype.toString),A1=typeof Symbol>"u"?null:Rt(Symbol.prototype.toString),St=Rt(Object.prototype.hasOwnProperty),Ba=Rt(Object.prototype.toString),Wt=Rt(RegExp.prototype.test),Fa=W5(TypeError);function Rt(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return yc(t,e,n)}}function W5(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return wc(t,r)}}function ze(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ga;if(y1&&y1(t,null),!or(e))return t;let n=e.length;for(;n--;){let a=e[n];if(typeof a=="string"){const i=r(a);i!==a&&(L5(e)||(e[n]=i),a=i)}t[a]=!0}return t}function V5(t){for(let e=0;e<t.length;e++)St(t,e)||(t[e]=null);return t}function Qt(t){const e=K0(null);for(const n of Fh(t)){var r=I5(n,2);const a=r[0],i=r[1];St(t,a)&&(or(i)?e[a]=V5(i):i&&typeof i=="object"&&i.constructor===Object?e[a]=Qt(i):e[a]=i)}return e}function K5(t){switch(typeof t){case"string":return t;case"number":return q5(t);case"boolean":return G5(t);case"bigint":return E1?E1(t):"0";case"symbol":return A1?A1(t):"Symbol()";case"undefined":return Ba(t);case"function":case"object":{if(t===null)return Ba(t);const e=t,r=Vr(e,"toString");if(typeof r=="function"){const n=r(e);return typeof n=="string"?n:Ba(n)}return Ba(t)}default:return Ba(t)}}function Vr(t,e){for(;t!==null;){const n=B5(t,e);if(n){if(n.get)return Rt(n.get);if(typeof n.value=="function")return Rt(n.value)}t=P5(t)}function r(){return null}return r}function Y5(t){try{return Wt(t,""),!0}catch{return!1}}const T1=dr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),vl=dr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),bl=dr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),X5=dr(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),yl=dr(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),j5=dr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),_1=dr(["#text"]),k1=dr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),wl=dr(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),M1=dr(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Cs=dr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Z5=Nr(/{{[\w\W]*|^[\w\W]*}}/g),J5=Nr(/<%[\w\W]*|^[\w\W]*%>/g),Q5=Nr(/\${[\w\W]*/g),$5=Nr(/^data-[\-\w.\u00B7-\uFFFF]+$/),e3=Nr(/^aria-[\-\w]+$/),O1=Nr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),t3=Nr(/^(?:\w+script|data):/i),r3=Nr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),n3=Nr(/^html$/i),a3=Nr(/^[a-z][.\w]*(-[.\w]+)+$/i),Gr={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},i3=function(){return typeof window>"u"?null:window},s3=function(e,r){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;const a="data-tt-policy-suffix";r&&r.hasAttribute(a)&&(n=r.getAttribute(a));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},C1=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Uh(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i3();const e=ge=>Uh(ge);if(e.version="3.4.7",e.removed=[],!t||!t.document||t.document.nodeType!==Gr.document||!t.Element)return e.isSupported=!1,e;let r=t.document;const n=r,a=n.currentScript;t.DocumentFragment;const i=t.HTMLTemplateElement,s=t.Node,o=t.Element,c=t.NodeFilter,d=t.NamedNodeMap;d===void 0&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const h=t.DOMParser,m=t.trustedTypes,b=o.prototype,v=Vr(b,"cloneNode"),y=Vr(b,"remove"),w=Vr(b,"nextSibling"),k=Vr(b,"childNodes"),M=Vr(b,"parentNode"),C=Vr(b,"shadowRoot"),D=Vr(b,"attributes"),I=s&&s.prototype?Vr(s.prototype,"nodeType"):null,L=s&&s.prototype?Vr(s.prototype,"nodeName"):null;if(typeof i=="function"){const ge=r.createElement("template");ge.content&&ge.content.ownerDocument&&(r=ge.content.ownerDocument)}let R,K="";const F=r,B=F.implementation,q=F.createNodeIterator,ee=F.createDocumentFragment,re=F.getElementsByTagName,xe=n.importNode;let te=C1();e.isSupported=typeof Fh=="function"&&typeof M=="function"&&B&&B.createHTMLDocument!==void 0;const be=Z5,ve=J5,fe=Q5,X=$5,ce=e3,me=t3,Ae=r3,Ue=a3;let Ie=O1,Pe=null;const It=ze({},[...T1,...vl,...bl,...yl,..._1]);let Ge=null;const At=ze({},[...k1,...wl,...M1,...Cs]);let qe=Object.seal(K0(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),rt=null,kt=null;const et=Object.seal(K0(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let zt=!0,Tt=!0,nr=!1,Fr=!0,Ut=!1,fr=!0,qt=!1,Xt=!1,ar=!1,jt=!1,Dr=!1,Ve=!1,Ke=!0,vt=!1;const dt="user-content-";let _t=!0,Lt=!1,ht={},bt=null;const Zt=ze({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let on=null;const D0=ze({},["audio","video","img","source","image","track"]);let I0=null;const ys=ze({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),z0="http://www.w3.org/1998/Math/MathML",L0="http://www.w3.org/2000/svg",mr="http://www.w3.org/1999/xhtml";let ln=mr,P0=!1,Oa=null;const ws=ze({},[z0,L0,mr],gl);let Hr=ze({},["mi","mo","mn","ms","mtext"]),A=ze({},["annotation-xml"]);const P=ze({},["title","style","font","a","script"]);let $=null;const ke=["application/xhtml+xml","text/html"],ft="text/html";let Ce=null,ue=null;const de=r.createElement("form"),Te=function(x){return x instanceof RegExp||x instanceof Function},yt=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ue&&ue===x)return;(!x||typeof x!="object")&&(x={}),x=Qt(x),$=ke.indexOf(x.PARSER_MEDIA_TYPE)===-1?ft:x.PARSER_MEDIA_TYPE,Ce=$==="application/xhtml+xml"?gl:Ga,Pe=St(x,"ALLOWED_TAGS")&&or(x.ALLOWED_TAGS)?ze({},x.ALLOWED_TAGS,Ce):It,Ge=St(x,"ALLOWED_ATTR")&&or(x.ALLOWED_ATTR)?ze({},x.ALLOWED_ATTR,Ce):At,Oa=St(x,"ALLOWED_NAMESPACES")&&or(x.ALLOWED_NAMESPACES)?ze({},x.ALLOWED_NAMESPACES,gl):ws,I0=St(x,"ADD_URI_SAFE_ATTR")&&or(x.ADD_URI_SAFE_ATTR)?ze(Qt(ys),x.ADD_URI_SAFE_ATTR,Ce):ys,on=St(x,"ADD_DATA_URI_TAGS")&&or(x.ADD_DATA_URI_TAGS)?ze(Qt(D0),x.ADD_DATA_URI_TAGS,Ce):D0,bt=St(x,"FORBID_CONTENTS")&&or(x.FORBID_CONTENTS)?ze({},x.FORBID_CONTENTS,Ce):Zt,rt=St(x,"FORBID_TAGS")&&or(x.FORBID_TAGS)?ze({},x.FORBID_TAGS,Ce):Qt({}),kt=St(x,"FORBID_ATTR")&&or(x.FORBID_ATTR)?ze({},x.FORBID_ATTR,Ce):Qt({}),ht=St(x,"USE_PROFILES")?x.USE_PROFILES&&typeof x.USE_PROFILES=="object"?Qt(x.USE_PROFILES):x.USE_PROFILES:!1,zt=x.ALLOW_ARIA_ATTR!==!1,Tt=x.ALLOW_DATA_ATTR!==!1,nr=x.ALLOW_UNKNOWN_PROTOCOLS||!1,Fr=x.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ut=x.SAFE_FOR_TEMPLATES||!1,fr=x.SAFE_FOR_XML!==!1,qt=x.WHOLE_DOCUMENT||!1,jt=x.RETURN_DOM||!1,Dr=x.RETURN_DOM_FRAGMENT||!1,Ve=x.RETURN_TRUSTED_TYPE||!1,ar=x.FORCE_BODY||!1,Ke=x.SANITIZE_DOM!==!1,vt=x.SANITIZE_NAMED_PROPS||!1,_t=x.KEEP_CONTENT!==!1,Lt=x.IN_PLACE||!1,Ie=Y5(x.ALLOWED_URI_REGEXP)?x.ALLOWED_URI_REGEXP:O1,ln=typeof x.NAMESPACE=="string"?x.NAMESPACE:mr,Hr=St(x,"MATHML_TEXT_INTEGRATION_POINTS")&&x.MATHML_TEXT_INTEGRATION_POINTS&&typeof x.MATHML_TEXT_INTEGRATION_POINTS=="object"?Qt(x.MATHML_TEXT_INTEGRATION_POINTS):ze({},["mi","mo","mn","ms","mtext"]),A=St(x,"HTML_INTEGRATION_POINTS")&&x.HTML_INTEGRATION_POINTS&&typeof x.HTML_INTEGRATION_POINTS=="object"?Qt(x.HTML_INTEGRATION_POINTS):ze({},["annotation-xml"]);const z=St(x,"CUSTOM_ELEMENT_HANDLING")&&x.CUSTOM_ELEMENT_HANDLING&&typeof x.CUSTOM_ELEMENT_HANDLING=="object"?Qt(x.CUSTOM_ELEMENT_HANDLING):K0(null);if(qe=K0(null),St(z,"tagNameCheck")&&Te(z.tagNameCheck)&&(qe.tagNameCheck=z.tagNameCheck),St(z,"attributeNameCheck")&&Te(z.attributeNameCheck)&&(qe.attributeNameCheck=z.attributeNameCheck),St(z,"allowCustomizedBuiltInElements")&&typeof z.allowCustomizedBuiltInElements=="boolean"&&(qe.allowCustomizedBuiltInElements=z.allowCustomizedBuiltInElements),Ut&&(Tt=!1),Dr&&(jt=!0),ht&&(Pe=ze({},_1),Ge=K0(null),ht.html===!0&&(ze(Pe,T1),ze(Ge,k1)),ht.svg===!0&&(ze(Pe,vl),ze(Ge,wl),ze(Ge,Cs)),ht.svgFilters===!0&&(ze(Pe,bl),ze(Ge,wl),ze(Ge,Cs)),ht.mathMl===!0&&(ze(Pe,yl),ze(Ge,M1),ze(Ge,Cs))),et.tagCheck=null,et.attributeCheck=null,St(x,"ADD_TAGS")&&(typeof x.ADD_TAGS=="function"?et.tagCheck=x.ADD_TAGS:or(x.ADD_TAGS)&&(Pe===It&&(Pe=Qt(Pe)),ze(Pe,x.ADD_TAGS,Ce))),St(x,"ADD_ATTR")&&(typeof x.ADD_ATTR=="function"?et.attributeCheck=x.ADD_ATTR:or(x.ADD_ATTR)&&(Ge===At&&(Ge=Qt(Ge)),ze(Ge,x.ADD_ATTR,Ce))),St(x,"ADD_URI_SAFE_ATTR")&&or(x.ADD_URI_SAFE_ATTR)&&ze(I0,x.ADD_URI_SAFE_ATTR,Ce),St(x,"FORBID_CONTENTS")&&or(x.FORBID_CONTENTS)&&(bt===Zt&&(bt=Qt(bt)),ze(bt,x.FORBID_CONTENTS,Ce)),St(x,"ADD_FORBID_CONTENTS")&&or(x.ADD_FORBID_CONTENTS)&&(bt===Zt&&(bt=Qt(bt)),ze(bt,x.ADD_FORBID_CONTENTS,Ce)),_t&&(Pe["#text"]=!0),qt&&ze(Pe,["html","head","body"]),Pe.table&&(ze(Pe,["tbody"]),delete rt.tbody),x.TRUSTED_TYPES_POLICY){if(typeof x.TRUSTED_TYPES_POLICY.createHTML!="function")throw Fa('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof x.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Fa('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');R=x.TRUSTED_TYPES_POLICY,K=R.createHTML("")}else R===void 0&&(R=s3(m,a)),R!==null&&typeof K=="string"&&(K=R.createHTML(""));(te.uponSanitizeElement.length>0||te.uponSanitizeAttribute.length>0)&&Pe===It&&(Pe=Qt(Pe)),te.uponSanitizeAttribute.length>0&&Ge===At&&(Ge=Qt(Ge)),dr&&dr(x),ue=x},mt=ze({},[...vl,...bl,...X5]),Rn=ze({},[...yl,...j5]),Ca=function(x){let z=M(x);(!z||!z.tagName)&&(z={namespaceURI:ln,tagName:"template"});const O=Ga(x.tagName),J=Ga(z.tagName);return Oa[x.namespaceURI]?x.namespaceURI===L0?z.namespaceURI===mr?O==="svg":z.namespaceURI===z0?O==="svg"&&(J==="annotation-xml"||Hr[J]):!!mt[O]:x.namespaceURI===z0?z.namespaceURI===mr?O==="math":z.namespaceURI===L0?O==="math"&&A[J]:!!Rn[O]:x.namespaceURI===mr?z.namespaceURI===L0&&!A[J]||z.namespaceURI===z0&&!Hr[J]?!1:!Rn[O]&&(P[O]||!mt[O]):!!($==="application/xhtml+xml"&&Oa[x.namespaceURI]):!1},ir=function(x){q0(e.removed,{element:x});try{M(x).removeChild(x)}catch{y(x)}},cn=function(x,z){try{q0(e.removed,{attribute:z.getAttributeNode(x),from:z})}catch{q0(e.removed,{attribute:null,from:z})}if(z.removeAttribute(x),x==="is")if(jt||Dr)try{ir(z)}catch{}else try{z.setAttribute(x,"")}catch{}},B0=function(x){let z=null,O=null;if(ar)x="<remove></remove>"+x;else{const Se=x1(x,/^[\r\n\t ]+/);O=Se&&Se[0]}$==="application/xhtml+xml"&&ln===mr&&(x='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+x+"</body></html>");const J=R?R.createHTML(x):x;if(ln===mr)try{z=new h().parseFromString(J,$)}catch{}if(!z||!z.documentElement){z=B.createDocument(ln,"template",null);try{z.documentElement.innerHTML=P0?K:J}catch{}}const se=z.body||z.documentElement;return x&&O&&se.insertBefore(r.createTextNode(O),se.childNodes[0]||null),ln===mr?re.call(z,qt?"html":"body")[0]:qt?z.documentElement:se},xs=function(x){return q.call(x.ownerDocument||x,x,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Ss=function(x){x.normalize();const z=q.call(x.ownerDocument||x,x,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let O=z.nextNode();for(;O;){let J=O.data;U0([be,ve,fe],se=>{J=G0(J,se," ")}),O.data=J,O=z.nextNode()}},F0=function(x){const z=L?L(x):null;return typeof z!="string"||Ce(z)!=="form"?!1:typeof x.nodeName!="string"||typeof x.textContent!="string"||typeof x.removeChild!="function"||x.attributes!==D(x)||typeof x.removeAttribute!="function"||typeof x.setAttribute!="function"||typeof x.namespaceURI!="string"||typeof x.insertBefore!="function"||typeof x.hasChildNodes!="function"||x.nodeType!==I(x)||x.childNodes!==k(x)},Dn=function(x){if(!I||typeof x!="object"||x===null)return!1;try{return I(x)===Gr.documentFragment}catch{return!1}},un=function(x){if(!I||typeof x!="object"||x===null)return!1;try{return typeof I(x)=="number"}catch{return!1}};function Ir(ge,x,z){U0(ge,O=>{O.call(e,x,z,ue)})}const Es=function(x){let z=null;if(Ir(te.beforeSanitizeElements,x,null),F0(x))return ir(x),!0;const O=Ce(x.nodeName);if(Ir(te.uponSanitizeElement,x,{tagName:O,allowedTags:Pe}),fr&&x.hasChildNodes()&&!un(x.firstElementChild)&&Wt(/<[/\w!]/g,x.innerHTML)&&Wt(/<[/\w!]/g,x.textContent)||fr&&x.namespaceURI===mr&&O==="style"&&un(x.firstElementChild)||x.nodeType===Gr.progressingInstruction||fr&&x.nodeType===Gr.comment&&Wt(/<[/\w]/g,x.data))return ir(x),!0;if(rt[O]||!(et.tagCheck instanceof Function&&et.tagCheck(O))&&!Pe[O]){if(!rt[O]&&Na(O)&&(qe.tagNameCheck instanceof RegExp&&Wt(qe.tagNameCheck,O)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(O)))return!1;if(_t&&!bt[O]){const se=M(x),Se=k(x);if(Se&&se){const Ye=Se.length;for(let wt=Ye-1;wt>=0;--wt){const Mt=v(Se[wt],!0);se.insertBefore(Mt,w(x))}}}return ir(x),!0}return(I?I(x):x.nodeType)===Gr.element&&!Ca(x)||(O==="noscript"||O==="noembed"||O==="noframes")&&Wt(/<\/no(script|embed|frames)/i,x.innerHTML)?(ir(x),!0):(Ut&&x.nodeType===Gr.text&&(z=x.textContent,U0([be,ve,fe],se=>{z=G0(z,se," ")}),x.textContent!==z&&(q0(e.removed,{element:x.cloneNode()}),x.textContent=z)),Ir(te.afterSanitizeElements,x,null),!1)},As=function(x,z,O){if(kt[z]||Ke&&(z==="id"||z==="name")&&(O in r||O in de))return!1;const J=Ge[z]||et.attributeCheck instanceof Function&&et.attributeCheck(z,x);if(!(Tt&&!kt[z]&&Wt(X,z))){if(!(zt&&Wt(ce,z))){if(!J||kt[z]){if(!(Na(x)&&(qe.tagNameCheck instanceof RegExp&&Wt(qe.tagNameCheck,x)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(x))&&(qe.attributeNameCheck instanceof RegExp&&Wt(qe.attributeNameCheck,z)||qe.attributeNameCheck instanceof Function&&qe.attributeNameCheck(z,x))||z==="is"&&qe.allowCustomizedBuiltInElements&&(qe.tagNameCheck instanceof RegExp&&Wt(qe.tagNameCheck,O)||qe.tagNameCheck instanceof Function&&qe.tagNameCheck(O))))return!1}else if(!I0[z]){if(!Wt(Ie,G0(O,Ae,""))){if(!((z==="src"||z==="xlink:href"||z==="href")&&x!=="script"&&S1(O,"data:")===0&&on[x])){if(!(nr&&!Wt(me,G0(O,Ae,"")))){if(O)return!1}}}}}}return!0},Ur=ze({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Na=function(x){return!Ur[Ga(x)]&&Wt(Ue,x)},Ra=function(x){Ir(te.beforeSanitizeAttributes,x,null);const z=x.attributes;if(!z||F0(x))return;const O={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ge,forceKeepAttr:void 0};let J=z.length;for(;J--;){const se=z[J],Se=se.name,Ye=se.namespaceURI,wt=se.value,Mt=Ce(Se),zn=wt;let Xe=Se==="value"?zn:U5(zn);if(O.attrName=Mt,O.attrValue=Xe,O.keepAttr=!0,O.forceKeepAttr=void 0,Ir(te.uponSanitizeAttribute,x,O),Xe=O.attrValue,vt&&(Mt==="id"||Mt==="name")&&S1(Xe,dt)!==0&&(cn(Se,x),Xe=dt+Xe),fr&&Wt(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Xe)){cn(Se,x);continue}if(Mt==="attributename"&&x1(Xe,"href")){cn(Se,x);continue}if(O.forceKeepAttr)continue;if(!O.keepAttr){cn(Se,x);continue}if(!Fr&&Wt(/\/>/i,Xe)){cn(Se,x);continue}Ut&&U0([be,ve,fe],Da=>{Xe=G0(Xe,Da," ")});const Sr=Ce(x.nodeName);if(!As(Sr,Mt,Xe)){cn(Se,x);continue}if(R&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!Ye)switch(m.getAttributeType(Sr,Mt)){case"TrustedHTML":{Xe=R.createHTML(Xe);break}case"TrustedScriptURL":{Xe=R.createScriptURL(Xe);break}}if(Xe!==zn)try{Ye?x.setAttributeNS(Ye,Se,Xe):x.setAttribute(Se,Xe),F0(x)?ir(x):w1(e.removed)}catch{cn(Se,x)}}Ir(te.afterSanitizeAttributes,x,null)},H0=function(x){let z=null;const O=xs(x);for(Ir(te.beforeSanitizeShadowDOM,x,null);z=O.nextNode();)if(Ir(te.uponSanitizeShadowNode,z,null),Es(z),Ra(z),Dn(z.content)&&H0(z.content),(I?I(z):z.nodeType)===Gr.element){const se=C?C(z):z.shadowRoot;Dn(se)&&(In(se),H0(se))}Ir(te.afterSanitizeShadowDOM,x,null)},In=function(x){const z=I?I(x):x.nodeType;if(z===Gr.element){const se=C?C(x):x.shadowRoot;Dn(se)&&(In(se),H0(se))}const O=k?k(x):x.childNodes;if(!O)return;const J=[];U0(O,se=>{q0(J,se)});for(const se of J)In(se);if(z===Gr.element){const se=L?L(x):null;if(typeof se=="string"&&Ce(se)==="template"){const Se=x.content;Dn(Se)&&In(Se)}}};return e.sanitize=function(ge){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},z=null,O=null,J=null,se=null;if(P0=!ge,P0&&(ge="<!-->"),typeof ge!="string"&&!un(ge)&&(ge=K5(ge),typeof ge!="string"))throw Fa("dirty is not a string, aborting");if(!e.isSupported)return ge;if(Xt||yt(x),e.removed=[],typeof ge=="string"&&(Lt=!1),Lt){const wt=L?L(ge):ge.nodeName;if(typeof wt=="string"){const Mt=Ce(wt);if(!Pe[Mt]||rt[Mt])throw Fa("root node is forbidden and cannot be sanitized in-place")}if(F0(ge))throw Fa("root node is clobbered and cannot be sanitized in-place");In(ge)}else if(un(ge))z=B0("<!---->"),O=z.ownerDocument.importNode(ge,!0),O.nodeType===Gr.element&&O.nodeName==="BODY"||O.nodeName==="HTML"?z=O:z.appendChild(O),In(O);else{if(!jt&&!Ut&&!qt&&ge.indexOf("<")===-1)return R&&Ve?R.createHTML(ge):ge;if(z=B0(ge),!z)return jt?null:Ve?K:""}z&&ar&&ir(z.firstChild);const Se=xs(Lt?ge:z);for(;J=Se.nextNode();)Es(J),Ra(J),Dn(J.content)&&H0(J.content);if(Lt)return Ut&&Ss(ge),ge;if(jt){if(Ut&&Ss(z),Dr)for(se=ee.call(z.ownerDocument);z.firstChild;)se.appendChild(z.firstChild);else se=z;return(Ge.shadowroot||Ge.shadowrootmode)&&(se=xe.call(n,se,!0)),se}let Ye=qt?z.outerHTML:z.innerHTML;return qt&&Pe["!doctype"]&&z.ownerDocument&&z.ownerDocument.doctype&&z.ownerDocument.doctype.name&&Wt(n3,z.ownerDocument.doctype.name)&&(Ye="<!DOCTYPE "+z.ownerDocument.doctype.name+`>
29
+ `+Ye),Ut&&U0([be,ve,fe],wt=>{Ye=G0(Ye,wt," ")}),R&&Ve?R.createHTML(Ye):Ye},e.setConfig=function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};yt(ge),Xt=!0},e.clearConfig=function(){ue=null,Xt=!1},e.isValidAttribute=function(ge,x,z){ue||yt({});const O=Ce(ge),J=Ce(x);return As(O,J,z)},e.addHook=function(ge,x){typeof x=="function"&&q0(te[ge],x)},e.removeHook=function(ge,x){if(x!==void 0){const z=F5(te[ge],x);return z===-1?void 0:H5(te[ge],z,1)[0]}return w1(te[ge])},e.removeHooks=function(ge){te[ge]=[]},e.removeAllHooks=function(){te=C1()},e}var Ys=Uh();class W extends Error{constructor(e,r){var n="KaTeX parse error: "+e,a,i,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;a=s.start,i=s.end,a===o.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var c=o.slice(a,i).replace(/[^]/g,"$&̲"),d;a>15?d="…"+o.slice(a-15,a):d=o.slice(0,a);var h;i+15<o.length?h=o.slice(i,i+15)+"…":h=o.slice(i),n+=d+c+h}super(n),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,W.prototype),this.position=a,a!=null&&i!=null&&(this.length=i-a),this.rawMessage=e}}var o3=/([A-Z])/g,l3=t=>t.replace(o3,"-$1").toLowerCase(),c3={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},u3=/[&><"']/g,rr=t=>String(t).replace(u3,e=>c3[e]),Xs=t=>t.type==="ordgroup"||t.type==="color"?t.body.length===1?Xs(t.body[0]):t:t.type==="font"?Xs(t.body):t,d3=new Set(["mathord","textord","atom"]),On=t=>d3.has(Xs(t).type),h3=t=>{var e=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return e?e[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?null:e[1].toLowerCase():"_relative"},xc={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 f3(t){if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}function m3(t){if(t.default!==void 0)return t.default;var e=Array.isArray(t.type)?t.type[0]:t.type;return f3(e)}function p3(t,e,r,n){var a=r[e];t[e]=a!==void 0?n.processor?n.processor(a):a:m3(n)}class su{constructor(e){e===void 0&&(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 of Object.keys(xc)){var n=xc[r];n&&p3(this,r,e,n)}}reportNonstrict(e,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(e,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new W("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),n);a==="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 '"+a+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,n){var a=this.strict;if(typeof a=="function")try{a=a(e,r,n)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if("url"in e&&e.url&&!e.protocol){var r=h3(e.url);if(r==null)return!1;e.protocol=r}var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}}class Ln{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 Jr[g3[this.id]]}sub(){return Jr[v3[this.id]]}fracNum(){return Jr[b3[this.id]]}fracDen(){return Jr[y3[this.id]]}cramp(){return Jr[w3[this.id]]}text(){return Jr[x3[this.id]]}isTight(){return this.size>=2}}var ou=0,fo=1,Z0=2,En=3,ei=4,Cr=5,pa=6,cr=7,Jr=[new Ln(ou,0,!1),new Ln(fo,0,!0),new Ln(Z0,1,!1),new Ln(En,1,!0),new Ln(ei,2,!1),new Ln(Cr,2,!0),new Ln(pa,3,!1),new Ln(cr,3,!0)],g3=[ei,Cr,ei,Cr,pa,cr,pa,cr],v3=[Cr,Cr,Cr,Cr,cr,cr,cr,cr],b3=[Z0,En,ei,Cr,pa,cr,pa,cr],y3=[En,En,Cr,Cr,cr,cr,cr,cr],w3=[fo,fo,En,En,Cr,Cr,cr,cr],x3=[ou,fo,Z0,En,Z0,En,Z0,En],Me={DISPLAY:Jr[ou],TEXT:Jr[Z0],SCRIPT:Jr[ei],SCRIPTSCRIPT:Jr[pa]},Sc=[{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 S3(t){for(var e=0;e<Sc.length;e++)for(var r=Sc[e],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(t>=a[0]&&t<=a[1])return r.name}return null}var js=[];Sc.forEach(t=>t.blocks.forEach(e=>js.push(...e)));function qh(t){for(var e=0;e<js.length;e+=2)if(t>=js[e]&&t<=js[e+1])return!0;return!1}var Pt=t=>t+" "+t,W0=80,E3=function(e,r){return"M95,"+(622+e+r)+`
30
+ c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
31
+ c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
32
+ 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
33
+ s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
34
+ c69,-144,104.5,-217.7,106.5,-221
35
+ l`+e/2.075+" -"+e+`
36
+ c5.3,-9.3,12,-14,20,-14
37
+ H400000v`+(40+e)+`H845.2724
38
+ s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
39
+ c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
40
+ M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},A3=function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119
41
+ c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
42
+ c340,-704.7,510.7,-1060.3,512,-1067
43
+ l`+e/2.084+" -"+e+`
44
+ c4.7,-7.3,11,-11,19,-11
45
+ H40000v`+(40+e)+`H1012.3
46
+ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
47
+ 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
48
+ s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
49
+ c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
50
+ M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},T3=function(e,r){return"M983 "+(10+e+r)+`
51
+ l`+e/3.13+" -"+e+`
52
+ c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
53
+ 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
54
+ 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
55
+ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
56
+ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
57
+ c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
58
+ c53.7,-170.3,84.5,-266.8,92.5,-289.5z
59
+ M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},_3=function(e,r){return"M424,"+(2398+e+r)+`
60
+ c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
61
+ 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
62
+ s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
63
+ s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
64
+ l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000
65
+ v`+(40+e)+`H1014.6
66
+ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
67
+ c-2,6,-10,9,-24,9
68
+ c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+r+`
69
+ h400000v`+(40+e)+"h-400000z"},k3=function(e,r){return"M473,"+(2713+e+r)+`
70
+ c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
71
+ c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
72
+ s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
73
+ 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
74
+ 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
75
+ s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
76
+ 606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},M3=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},O3=function(e,r,n){var a=n-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+`
77
+ H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
78
+ h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
79
+ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
80
+ 219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},C3=function(e,r,n){r=1e3*r;var a="";switch(e){case"sqrtMain":a=E3(r,W0);break;case"sqrtSize1":a=A3(r,W0);break;case"sqrtSize2":a=T3(r,W0);break;case"sqrtSize3":a=_3(r,W0);break;case"sqrtSize4":a=k3(r,W0);break;case"sqrtTall":a=O3(r,W0,n)}return a},N3=function(e,r){switch(e){case"⎜":return Pt("M291 0 H417 V"+r+" H291z");case"∣":return Pt("M145 0 H188 V"+r+" H145z");case"∥":return Pt("M145 0 H188 V"+r+" H145z")+Pt("M367 0 H410 V"+r+" H367z");case"⎟":return Pt("M457 0 H583 V"+r+" H457z");case"⎢":return Pt("M319 0 H403 V"+r+" H319z");case"⎥":return Pt("M263 0 H347 V"+r+" H263z");case"⎪":return Pt("M384 0 H504 V"+r+" H384z");case"⏐":return Pt("M312 0 H355 V"+r+" H312z");case"‖":return Pt("M257 0 H300 V"+r+" H257z")+Pt("M478 0 H521 V"+r+" H478z");default:return""}},N1={doubleleftarrow:`M262 157
81
+ 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
82
+ 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
83
+ 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
84
+ c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
85
+ 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
86
+ -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
87
+ -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
88
+ m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
89
+ -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
90
+ 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
91
+ -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
92
+ -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
93
+ -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
94
+ c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
95
+ -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
96
+ 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
97
+ -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
98
+ c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
99
+ 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
100
+ 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
101
+ l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
102
+ -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
103
+ 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
104
+ 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
105
+ 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
106
+ -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
107
+ H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
108
+ 435 0h399565z`,leftgroupunder:`M400000 262
109
+ H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
110
+ 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
111
+ -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
112
+ -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
113
+ -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
114
+ 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
115
+ -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
116
+ -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
117
+ m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
118
+ 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
119
+ 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
120
+ -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
121
+ 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
122
+ -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
123
+ v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
124
+ -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
125
+ -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
126
+ 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:Pt("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:Pt("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:Pt("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:Pt("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
127
+ -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
128
+ c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
129
+ 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:Pt("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334
130
+ c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
131
+ -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
132
+ 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
133
+ 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
134
+ c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
135
+ 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
136
+ 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
137
+ -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
138
+ -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
139
+ m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
140
+ 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
141
+ -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
142
+ m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
143
+ c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
144
+ -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
145
+ m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
146
+ 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
147
+ -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
148
+ m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
149
+ c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
150
+ -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
151
+ 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
152
+ 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
153
+ -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
154
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
155
+ 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
156
+ -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
157
+ s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
158
+ c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
159
+ 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
160
+ -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
161
+ 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
162
+ 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
163
+ -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
164
+ -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
165
+ 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
166
+ -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
167
+ 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
168
+ m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
169
+ 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
170
+ -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
171
+ -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
172
+ 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
173
+ 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
174
+ -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
175
+ m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
176
+ 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
177
+ -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
178
+ 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:Pt("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:Pt("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:Pt("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
179
+ 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
180
+ -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
181
+ -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
182
+ 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
183
+ -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
184
+ -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
185
+ -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
186
+ 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
187
+ c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
188
+ 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
189
+ 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
190
+ -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
191
+ 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
192
+ -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
193
+ 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
194
+ 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
195
+ -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
196
+ -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
197
+ 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
198
+ c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
199
+ 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
200
+ -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
201
+ 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
202
+ 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
203
+ -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
204
+ -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
205
+ 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
206
+ 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
207
+ -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
208
+ 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
209
+ 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
210
+ -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
211
+ -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
212
+ H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
213
+ c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
214
+ c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
215
+ -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
216
+ -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
217
+ -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
218
+ -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
219
+ -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
220
+ -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
221
+ -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
222
+ c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
223
+ c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
224
+ s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
225
+ 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
226
+ s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
227
+ c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
228
+ M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
229
+ -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
230
+ 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
231
+ -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
232
+ -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
233
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
234
+ 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
235
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
236
+ c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
237
+ c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
238
+ c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
239
+ M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
240
+ 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,
241
+ -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
242
+ 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
243
+ M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
244
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
245
+ 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
246
+ -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
247
+ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
248
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
249
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
250
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
251
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},R3=function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 v84 h347 v-84
252
+ H403z M403 1759 V0 H319 V1759 v`+r+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
253
+ 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
254
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
255
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
256
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
257
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
258
+ M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
259
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
260
+ c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
261
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
262
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
263
+ M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
264
+ M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
265
+ c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
266
+ -36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
267
+ 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
268
+ c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
269
+ -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
270
+ l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
271
+ -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
272
+ 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
273
+ c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
274
+ c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
275
+ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
276
+ 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
277
+ c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
278
+ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
279
+ -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.")}};function D3(t){return"toText"in t}class _a{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 this.classes.includes(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(){return this.children.map(e=>{if(D3(e))return e.toText();throw new Error("Expected MathDomNode with toText, got "+e.constructor.name)}).join("")}}var Ec={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},I3={ex:!0,em:!0,mu:!0},Gh=function(e){return typeof e!="string"&&(e=e.unit),e in Ec||e in I3||e==="ex"},gt=function(e,r){var n;if(e.unit in Ec)n=Ec[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,e.unit==="ex")n=a.fontMetrics().xHeight;else if(e.unit==="em")n=a.fontMetrics().quad;else throw new W("Invalid unit: '"+e.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*n,r.maxSize)},Z=function(e){return+e.toFixed(4)+"em"},n0=function(e){return e.filter(r=>r).join(" ")},lu=function(e){var r="";for(var n of Object.keys(e)){var a=e[n];a!==void 0&&(r+=l3(n)+":"+a+";")}return r},Wh=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 a=r.getColor();a&&(this.style.color=a)}},Vh=function(e){var r=document.createElement(e);r.className=n0(this.classes),Object.assign(r.style,this.style);for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r},z3=/[\s"'>/=\x00-\x1f]/,Kh=function(e){var r="<"+e;this.classes.length&&(r+=' class="'+rr(n0(this.classes))+'"');var n=lu(this.style);n&&(r+=' style="'+rr(n)+'"');for(var a of Object.keys(this.attributes)){if(z3.test(a))throw new W("Invalid attribute name '"+a+"'");r+=" "+a+'="'+rr(this.attributes[a])+'"'}r+=">";for(var i=0;i<this.children.length;i++)r+=this.children[i].toMarkup();return r+="</"+e+">",r};class ka{constructor(e,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,Wh.call(this,e,n,a),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return this.classes.includes(e)}toNode(){return Vh.call(this,"span")}toMarkup(){return Kh.call(this,"span")}}class Yo{constructor(e,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Wh.call(this,r,a),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return this.classes.includes(e)}toNode(){return Vh.call(this,"a")}toMarkup(){return Kh.call(this,"a")}}class L3{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.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");return e.src=this.src,e.alt=this.alt,e.className="mord",Object.assign(e.style,this.style),e}toMarkup(){var e='<img src="'+rr(this.src)+'"'+(' alt="'+rr(this.alt)+'"'),r=lu(this.style);return r&&(e+=' style="'+rr(r)+'"'),e+="'/>",e}}var P3={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class _r{constructor(e,r,n,a,i,s,o,c){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=a||0,this.skew=i||0,this.width=s||0,this.classes=o||[],this.style=c||{},this.maxFontSize=0;var d=S3(this.text.charCodeAt(0));d&&this.classes.push(d+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=P3[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),r=null;return this.italic>0&&(r=document.createElement("span"),r.style.marginRight=Z(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=n0(this.classes)),Object.keys(this.style).length>0&&(r=r||document.createElement("span"),Object.assign(r.style,this.style)),r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="<span";this.classes.length&&(e=!0,r+=' class="',r+=rr(n0(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+Z(this.italic)+";"),n+=lu(this.style),n&&(e=!0,r+=' style="'+rr(n)+'"');var a=rr(this.text);return e?(r+=">",r+=a,r+="</span>",r):a}}class kn{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 of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var r of Object.keys(this.attributes))e+=" "+r+'="'+rr(this.attributes[r])+'"';e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>",e}}class a0{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",N1[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+rr(this.alternate)+'"/>':'<path d="'+rr(N1[this.pathName])+'"/>'}}class Ac{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 of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var e="<line";for(var r of Object.keys(this.attributes))e+=" "+r+'="'+rr(this.attributes[r])+'"';return e+="/>",e}}function B3(t){if(t instanceof _r)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function F3(t){if(t instanceof ka)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}var H3=t=>t instanceof ka||t instanceof Yo||t instanceof _a,en={"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]}},Ns={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]},R1={Å:"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 U3(t,e){en[t]=e}function cu(t,e,r){if(!en[e])throw new Error("Font metrics not found for font: "+e+".");var n=t.charCodeAt(0),a=en[e][n];if(!a&&t[0]in R1&&(n=R1[t[0]].charCodeAt(0),a=en[e][n]),!a&&r==="text"&&qh(n)&&(a=en[e][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var xl={};function q3(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!xl[e]){var r=xl[e]={cssEmPerMu:Ns.quad[e]/18};for(var n in Ns)Ns.hasOwnProperty(n)&&(r[n]=Ns[n][e])}return xl[e]}var lt={math:{},text:{}};function l(t,e,r,n,a,i){lt[t][a]={font:e,group:r,replace:n},i&&n&&(lt[t][n]=lt[t][a])}var u="math",U="text",f="main",S="ams",ut="accent-token",le="bin",hr="close",Ma="inner",Ee="mathord",Dt="op-token",Mr="open",bs="punct",E="rel",Cn="spacing",_="textord";l(u,f,E,"≡","\\equiv",!0);l(u,f,E,"≺","\\prec",!0);l(u,f,E,"≻","\\succ",!0);l(u,f,E,"∼","\\sim",!0);l(u,f,E,"⊥","\\perp");l(u,f,E,"⪯","\\preceq",!0);l(u,f,E,"⪰","\\succeq",!0);l(u,f,E,"≃","\\simeq",!0);l(u,f,E,"∣","\\mid",!0);l(u,f,E,"≪","\\ll",!0);l(u,f,E,"≫","\\gg",!0);l(u,f,E,"≍","\\asymp",!0);l(u,f,E,"∥","\\parallel");l(u,f,E,"⋈","\\bowtie",!0);l(u,f,E,"⌣","\\smile",!0);l(u,f,E,"⊑","\\sqsubseteq",!0);l(u,f,E,"⊒","\\sqsupseteq",!0);l(u,f,E,"≐","\\doteq",!0);l(u,f,E,"⌢","\\frown",!0);l(u,f,E,"∋","\\ni",!0);l(u,f,E,"∝","\\propto",!0);l(u,f,E,"⊢","\\vdash",!0);l(u,f,E,"⊣","\\dashv",!0);l(u,f,E,"∋","\\owns");l(u,f,bs,".","\\ldotp");l(u,f,bs,"⋅","\\cdotp");l(u,f,bs,"⋅","·");l(U,f,_,"⋅","·");l(u,f,_,"#","\\#");l(U,f,_,"#","\\#");l(u,f,_,"&","\\&");l(U,f,_,"&","\\&");l(u,f,_,"ℵ","\\aleph",!0);l(u,f,_,"∀","\\forall",!0);l(u,f,_,"ℏ","\\hbar",!0);l(u,f,_,"∃","\\exists",!0);l(u,f,_,"∇","\\nabla",!0);l(u,f,_,"♭","\\flat",!0);l(u,f,_,"ℓ","\\ell",!0);l(u,f,_,"♮","\\natural",!0);l(u,f,_,"♣","\\clubsuit",!0);l(u,f,_,"℘","\\wp",!0);l(u,f,_,"♯","\\sharp",!0);l(u,f,_,"♢","\\diamondsuit",!0);l(u,f,_,"ℜ","\\Re",!0);l(u,f,_,"♡","\\heartsuit",!0);l(u,f,_,"ℑ","\\Im",!0);l(u,f,_,"♠","\\spadesuit",!0);l(u,f,_,"§","\\S",!0);l(U,f,_,"§","\\S");l(u,f,_,"¶","\\P",!0);l(U,f,_,"¶","\\P");l(u,f,_,"†","\\dag");l(U,f,_,"†","\\dag");l(U,f,_,"†","\\textdagger");l(u,f,_,"‡","\\ddag");l(U,f,_,"‡","\\ddag");l(U,f,_,"‡","\\textdaggerdbl");l(u,f,hr,"⎱","\\rmoustache",!0);l(u,f,Mr,"⎰","\\lmoustache",!0);l(u,f,hr,"⟯","\\rgroup",!0);l(u,f,Mr,"⟮","\\lgroup",!0);l(u,f,le,"∓","\\mp",!0);l(u,f,le,"⊖","\\ominus",!0);l(u,f,le,"⊎","\\uplus",!0);l(u,f,le,"⊓","\\sqcap",!0);l(u,f,le,"∗","\\ast");l(u,f,le,"⊔","\\sqcup",!0);l(u,f,le,"◯","\\bigcirc",!0);l(u,f,le,"∙","\\bullet",!0);l(u,f,le,"‡","\\ddagger");l(u,f,le,"≀","\\wr",!0);l(u,f,le,"⨿","\\amalg");l(u,f,le,"&","\\And");l(u,f,E,"⟵","\\longleftarrow",!0);l(u,f,E,"⇐","\\Leftarrow",!0);l(u,f,E,"⟸","\\Longleftarrow",!0);l(u,f,E,"⟶","\\longrightarrow",!0);l(u,f,E,"⇒","\\Rightarrow",!0);l(u,f,E,"⟹","\\Longrightarrow",!0);l(u,f,E,"↔","\\leftrightarrow",!0);l(u,f,E,"⟷","\\longleftrightarrow",!0);l(u,f,E,"⇔","\\Leftrightarrow",!0);l(u,f,E,"⟺","\\Longleftrightarrow",!0);l(u,f,E,"↦","\\mapsto",!0);l(u,f,E,"⟼","\\longmapsto",!0);l(u,f,E,"↗","\\nearrow",!0);l(u,f,E,"↩","\\hookleftarrow",!0);l(u,f,E,"↪","\\hookrightarrow",!0);l(u,f,E,"↘","\\searrow",!0);l(u,f,E,"↼","\\leftharpoonup",!0);l(u,f,E,"⇀","\\rightharpoonup",!0);l(u,f,E,"↙","\\swarrow",!0);l(u,f,E,"↽","\\leftharpoondown",!0);l(u,f,E,"⇁","\\rightharpoondown",!0);l(u,f,E,"↖","\\nwarrow",!0);l(u,f,E,"⇌","\\rightleftharpoons",!0);l(u,S,E,"≮","\\nless",!0);l(u,S,E,"","\\@nleqslant");l(u,S,E,"","\\@nleqq");l(u,S,E,"⪇","\\lneq",!0);l(u,S,E,"≨","\\lneqq",!0);l(u,S,E,"","\\@lvertneqq");l(u,S,E,"⋦","\\lnsim",!0);l(u,S,E,"⪉","\\lnapprox",!0);l(u,S,E,"⊀","\\nprec",!0);l(u,S,E,"⋠","\\npreceq",!0);l(u,S,E,"⋨","\\precnsim",!0);l(u,S,E,"⪹","\\precnapprox",!0);l(u,S,E,"≁","\\nsim",!0);l(u,S,E,"","\\@nshortmid");l(u,S,E,"∤","\\nmid",!0);l(u,S,E,"⊬","\\nvdash",!0);l(u,S,E,"⊭","\\nvDash",!0);l(u,S,E,"⋪","\\ntriangleleft");l(u,S,E,"⋬","\\ntrianglelefteq",!0);l(u,S,E,"⊊","\\subsetneq",!0);l(u,S,E,"","\\@varsubsetneq");l(u,S,E,"⫋","\\subsetneqq",!0);l(u,S,E,"","\\@varsubsetneqq");l(u,S,E,"≯","\\ngtr",!0);l(u,S,E,"","\\@ngeqslant");l(u,S,E,"","\\@ngeqq");l(u,S,E,"⪈","\\gneq",!0);l(u,S,E,"≩","\\gneqq",!0);l(u,S,E,"","\\@gvertneqq");l(u,S,E,"⋧","\\gnsim",!0);l(u,S,E,"⪊","\\gnapprox",!0);l(u,S,E,"⊁","\\nsucc",!0);l(u,S,E,"⋡","\\nsucceq",!0);l(u,S,E,"⋩","\\succnsim",!0);l(u,S,E,"⪺","\\succnapprox",!0);l(u,S,E,"≆","\\ncong",!0);l(u,S,E,"","\\@nshortparallel");l(u,S,E,"∦","\\nparallel",!0);l(u,S,E,"⊯","\\nVDash",!0);l(u,S,E,"⋫","\\ntriangleright");l(u,S,E,"⋭","\\ntrianglerighteq",!0);l(u,S,E,"","\\@nsupseteqq");l(u,S,E,"⊋","\\supsetneq",!0);l(u,S,E,"","\\@varsupsetneq");l(u,S,E,"⫌","\\supsetneqq",!0);l(u,S,E,"","\\@varsupsetneqq");l(u,S,E,"⊮","\\nVdash",!0);l(u,S,E,"⪵","\\precneqq",!0);l(u,S,E,"⪶","\\succneqq",!0);l(u,S,E,"","\\@nsubseteqq");l(u,S,le,"⊴","\\unlhd");l(u,S,le,"⊵","\\unrhd");l(u,S,E,"↚","\\nleftarrow",!0);l(u,S,E,"↛","\\nrightarrow",!0);l(u,S,E,"⇍","\\nLeftarrow",!0);l(u,S,E,"⇏","\\nRightarrow",!0);l(u,S,E,"↮","\\nleftrightarrow",!0);l(u,S,E,"⇎","\\nLeftrightarrow",!0);l(u,S,E,"△","\\vartriangle");l(u,S,_,"ℏ","\\hslash");l(u,S,_,"▽","\\triangledown");l(u,S,_,"◊","\\lozenge");l(u,S,_,"Ⓢ","\\circledS");l(u,S,_,"®","\\circledR");l(U,S,_,"®","\\circledR");l(u,S,_,"∡","\\measuredangle",!0);l(u,S,_,"∄","\\nexists");l(u,S,_,"℧","\\mho");l(u,S,_,"Ⅎ","\\Finv",!0);l(u,S,_,"⅁","\\Game",!0);l(u,S,_,"‵","\\backprime");l(u,S,_,"▲","\\blacktriangle");l(u,S,_,"▼","\\blacktriangledown");l(u,S,_,"■","\\blacksquare");l(u,S,_,"⧫","\\blacklozenge");l(u,S,_,"★","\\bigstar");l(u,S,_,"∢","\\sphericalangle",!0);l(u,S,_,"∁","\\complement",!0);l(u,S,_,"ð","\\eth",!0);l(U,f,_,"ð","ð");l(u,S,_,"╱","\\diagup");l(u,S,_,"╲","\\diagdown");l(u,S,_,"□","\\square");l(u,S,_,"□","\\Box");l(u,S,_,"◊","\\Diamond");l(u,S,_,"¥","\\yen",!0);l(U,S,_,"¥","\\yen",!0);l(u,S,_,"✓","\\checkmark",!0);l(U,S,_,"✓","\\checkmark");l(u,S,_,"ℶ","\\beth",!0);l(u,S,_,"ℸ","\\daleth",!0);l(u,S,_,"ℷ","\\gimel",!0);l(u,S,_,"ϝ","\\digamma",!0);l(u,S,_,"ϰ","\\varkappa");l(u,S,Mr,"┌","\\@ulcorner",!0);l(u,S,hr,"┐","\\@urcorner",!0);l(u,S,Mr,"└","\\@llcorner",!0);l(u,S,hr,"┘","\\@lrcorner",!0);l(u,S,E,"≦","\\leqq",!0);l(u,S,E,"⩽","\\leqslant",!0);l(u,S,E,"⪕","\\eqslantless",!0);l(u,S,E,"≲","\\lesssim",!0);l(u,S,E,"⪅","\\lessapprox",!0);l(u,S,E,"≊","\\approxeq",!0);l(u,S,le,"⋖","\\lessdot");l(u,S,E,"⋘","\\lll",!0);l(u,S,E,"≶","\\lessgtr",!0);l(u,S,E,"⋚","\\lesseqgtr",!0);l(u,S,E,"⪋","\\lesseqqgtr",!0);l(u,S,E,"≑","\\doteqdot");l(u,S,E,"≓","\\risingdotseq",!0);l(u,S,E,"≒","\\fallingdotseq",!0);l(u,S,E,"∽","\\backsim",!0);l(u,S,E,"⋍","\\backsimeq",!0);l(u,S,E,"⫅","\\subseteqq",!0);l(u,S,E,"⋐","\\Subset",!0);l(u,S,E,"⊏","\\sqsubset",!0);l(u,S,E,"≼","\\preccurlyeq",!0);l(u,S,E,"⋞","\\curlyeqprec",!0);l(u,S,E,"≾","\\precsim",!0);l(u,S,E,"⪷","\\precapprox",!0);l(u,S,E,"⊲","\\vartriangleleft");l(u,S,E,"⊴","\\trianglelefteq");l(u,S,E,"⊨","\\vDash",!0);l(u,S,E,"⊪","\\Vvdash",!0);l(u,S,E,"⌣","\\smallsmile");l(u,S,E,"⌢","\\smallfrown");l(u,S,E,"≏","\\bumpeq",!0);l(u,S,E,"≎","\\Bumpeq",!0);l(u,S,E,"≧","\\geqq",!0);l(u,S,E,"⩾","\\geqslant",!0);l(u,S,E,"⪖","\\eqslantgtr",!0);l(u,S,E,"≳","\\gtrsim",!0);l(u,S,E,"⪆","\\gtrapprox",!0);l(u,S,le,"⋗","\\gtrdot");l(u,S,E,"⋙","\\ggg",!0);l(u,S,E,"≷","\\gtrless",!0);l(u,S,E,"⋛","\\gtreqless",!0);l(u,S,E,"⪌","\\gtreqqless",!0);l(u,S,E,"≖","\\eqcirc",!0);l(u,S,E,"≗","\\circeq",!0);l(u,S,E,"≜","\\triangleq",!0);l(u,S,E,"∼","\\thicksim");l(u,S,E,"≈","\\thickapprox");l(u,S,E,"⫆","\\supseteqq",!0);l(u,S,E,"⋑","\\Supset",!0);l(u,S,E,"⊐","\\sqsupset",!0);l(u,S,E,"≽","\\succcurlyeq",!0);l(u,S,E,"⋟","\\curlyeqsucc",!0);l(u,S,E,"≿","\\succsim",!0);l(u,S,E,"⪸","\\succapprox",!0);l(u,S,E,"⊳","\\vartriangleright");l(u,S,E,"⊵","\\trianglerighteq");l(u,S,E,"⊩","\\Vdash",!0);l(u,S,E,"∣","\\shortmid");l(u,S,E,"∥","\\shortparallel");l(u,S,E,"≬","\\between",!0);l(u,S,E,"⋔","\\pitchfork",!0);l(u,S,E,"∝","\\varpropto");l(u,S,E,"◀","\\blacktriangleleft");l(u,S,E,"∴","\\therefore",!0);l(u,S,E,"∍","\\backepsilon");l(u,S,E,"▶","\\blacktriangleright");l(u,S,E,"∵","\\because",!0);l(u,S,E,"⋘","\\llless");l(u,S,E,"⋙","\\gggtr");l(u,S,le,"⊲","\\lhd");l(u,S,le,"⊳","\\rhd");l(u,S,E,"≂","\\eqsim",!0);l(u,f,E,"⋈","\\Join");l(u,S,E,"≑","\\Doteq",!0);l(u,S,le,"∔","\\dotplus",!0);l(u,S,le,"∖","\\smallsetminus");l(u,S,le,"⋒","\\Cap",!0);l(u,S,le,"⋓","\\Cup",!0);l(u,S,le,"⩞","\\doublebarwedge",!0);l(u,S,le,"⊟","\\boxminus",!0);l(u,S,le,"⊞","\\boxplus",!0);l(u,S,le,"⋇","\\divideontimes",!0);l(u,S,le,"⋉","\\ltimes",!0);l(u,S,le,"⋊","\\rtimes",!0);l(u,S,le,"⋋","\\leftthreetimes",!0);l(u,S,le,"⋌","\\rightthreetimes",!0);l(u,S,le,"⋏","\\curlywedge",!0);l(u,S,le,"⋎","\\curlyvee",!0);l(u,S,le,"⊝","\\circleddash",!0);l(u,S,le,"⊛","\\circledast",!0);l(u,S,le,"⋅","\\centerdot");l(u,S,le,"⊺","\\intercal",!0);l(u,S,le,"⋒","\\doublecap");l(u,S,le,"⋓","\\doublecup");l(u,S,le,"⊠","\\boxtimes",!0);l(u,S,E,"⇢","\\dashrightarrow",!0);l(u,S,E,"⇠","\\dashleftarrow",!0);l(u,S,E,"⇇","\\leftleftarrows",!0);l(u,S,E,"⇆","\\leftrightarrows",!0);l(u,S,E,"⇚","\\Lleftarrow",!0);l(u,S,E,"↞","\\twoheadleftarrow",!0);l(u,S,E,"↢","\\leftarrowtail",!0);l(u,S,E,"↫","\\looparrowleft",!0);l(u,S,E,"⇋","\\leftrightharpoons",!0);l(u,S,E,"↶","\\curvearrowleft",!0);l(u,S,E,"↺","\\circlearrowleft",!0);l(u,S,E,"↰","\\Lsh",!0);l(u,S,E,"⇈","\\upuparrows",!0);l(u,S,E,"↿","\\upharpoonleft",!0);l(u,S,E,"⇃","\\downharpoonleft",!0);l(u,f,E,"⊶","\\origof",!0);l(u,f,E,"⊷","\\imageof",!0);l(u,S,E,"⊸","\\multimap",!0);l(u,S,E,"↭","\\leftrightsquigarrow",!0);l(u,S,E,"⇉","\\rightrightarrows",!0);l(u,S,E,"⇄","\\rightleftarrows",!0);l(u,S,E,"↠","\\twoheadrightarrow",!0);l(u,S,E,"↣","\\rightarrowtail",!0);l(u,S,E,"↬","\\looparrowright",!0);l(u,S,E,"↷","\\curvearrowright",!0);l(u,S,E,"↻","\\circlearrowright",!0);l(u,S,E,"↱","\\Rsh",!0);l(u,S,E,"⇊","\\downdownarrows",!0);l(u,S,E,"↾","\\upharpoonright",!0);l(u,S,E,"⇂","\\downharpoonright",!0);l(u,S,E,"⇝","\\rightsquigarrow",!0);l(u,S,E,"⇝","\\leadsto");l(u,S,E,"⇛","\\Rrightarrow",!0);l(u,S,E,"↾","\\restriction");l(u,f,_,"‘","`");l(u,f,_,"$","\\$");l(U,f,_,"$","\\$");l(U,f,_,"$","\\textdollar");l(u,f,_,"%","\\%");l(U,f,_,"%","\\%");l(u,f,_,"_","\\_");l(U,f,_,"_","\\_");l(U,f,_,"_","\\textunderscore");l(u,f,_,"∠","\\angle",!0);l(u,f,_,"∞","\\infty",!0);l(u,f,_,"′","\\prime");l(u,f,_,"△","\\triangle");l(u,f,_,"Γ","\\Gamma",!0);l(u,f,_,"Δ","\\Delta",!0);l(u,f,_,"Θ","\\Theta",!0);l(u,f,_,"Λ","\\Lambda",!0);l(u,f,_,"Ξ","\\Xi",!0);l(u,f,_,"Π","\\Pi",!0);l(u,f,_,"Σ","\\Sigma",!0);l(u,f,_,"Υ","\\Upsilon",!0);l(u,f,_,"Φ","\\Phi",!0);l(u,f,_,"Ψ","\\Psi",!0);l(u,f,_,"Ω","\\Omega",!0);l(u,f,_,"A","Α");l(u,f,_,"B","Β");l(u,f,_,"E","Ε");l(u,f,_,"Z","Ζ");l(u,f,_,"H","Η");l(u,f,_,"I","Ι");l(u,f,_,"K","Κ");l(u,f,_,"M","Μ");l(u,f,_,"N","Ν");l(u,f,_,"O","Ο");l(u,f,_,"P","Ρ");l(u,f,_,"T","Τ");l(u,f,_,"X","Χ");l(u,f,_,"¬","\\neg",!0);l(u,f,_,"¬","\\lnot");l(u,f,_,"⊤","\\top");l(u,f,_,"⊥","\\bot");l(u,f,_,"∅","\\emptyset");l(u,S,_,"∅","\\varnothing");l(u,f,Ee,"α","\\alpha",!0);l(u,f,Ee,"β","\\beta",!0);l(u,f,Ee,"γ","\\gamma",!0);l(u,f,Ee,"δ","\\delta",!0);l(u,f,Ee,"ϵ","\\epsilon",!0);l(u,f,Ee,"ζ","\\zeta",!0);l(u,f,Ee,"η","\\eta",!0);l(u,f,Ee,"θ","\\theta",!0);l(u,f,Ee,"ι","\\iota",!0);l(u,f,Ee,"κ","\\kappa",!0);l(u,f,Ee,"λ","\\lambda",!0);l(u,f,Ee,"μ","\\mu",!0);l(u,f,Ee,"ν","\\nu",!0);l(u,f,Ee,"ξ","\\xi",!0);l(u,f,Ee,"ο","\\omicron",!0);l(u,f,Ee,"π","\\pi",!0);l(u,f,Ee,"ρ","\\rho",!0);l(u,f,Ee,"σ","\\sigma",!0);l(u,f,Ee,"τ","\\tau",!0);l(u,f,Ee,"υ","\\upsilon",!0);l(u,f,Ee,"ϕ","\\phi",!0);l(u,f,Ee,"χ","\\chi",!0);l(u,f,Ee,"ψ","\\psi",!0);l(u,f,Ee,"ω","\\omega",!0);l(u,f,Ee,"ε","\\varepsilon",!0);l(u,f,Ee,"ϑ","\\vartheta",!0);l(u,f,Ee,"ϖ","\\varpi",!0);l(u,f,Ee,"ϱ","\\varrho",!0);l(u,f,Ee,"ς","\\varsigma",!0);l(u,f,Ee,"φ","\\varphi",!0);l(u,f,le,"∗","*",!0);l(u,f,le,"+","+");l(u,f,le,"−","-",!0);l(u,f,le,"⋅","\\cdot",!0);l(u,f,le,"∘","\\circ",!0);l(u,f,le,"÷","\\div",!0);l(u,f,le,"±","\\pm",!0);l(u,f,le,"×","\\times",!0);l(u,f,le,"∩","\\cap",!0);l(u,f,le,"∪","\\cup",!0);l(u,f,le,"∖","\\setminus",!0);l(u,f,le,"∧","\\land");l(u,f,le,"∨","\\lor");l(u,f,le,"∧","\\wedge",!0);l(u,f,le,"∨","\\vee",!0);l(u,f,_,"√","\\surd");l(u,f,Mr,"⟨","\\langle",!0);l(u,f,Mr,"∣","\\lvert");l(u,f,Mr,"∥","\\lVert");l(u,f,hr,"?","?");l(u,f,hr,"!","!");l(u,f,hr,"⟩","\\rangle",!0);l(u,f,hr,"∣","\\rvert");l(u,f,hr,"∥","\\rVert");l(u,f,E,"=","=");l(u,f,E,":",":");l(u,f,E,"≈","\\approx",!0);l(u,f,E,"≅","\\cong",!0);l(u,f,E,"≥","\\ge");l(u,f,E,"≥","\\geq",!0);l(u,f,E,"←","\\gets");l(u,f,E,">","\\gt",!0);l(u,f,E,"∈","\\in",!0);l(u,f,E,"","\\@not");l(u,f,E,"⊂","\\subset",!0);l(u,f,E,"⊃","\\supset",!0);l(u,f,E,"⊆","\\subseteq",!0);l(u,f,E,"⊇","\\supseteq",!0);l(u,S,E,"⊈","\\nsubseteq",!0);l(u,S,E,"⊉","\\nsupseteq",!0);l(u,f,E,"⊨","\\models");l(u,f,E,"←","\\leftarrow",!0);l(u,f,E,"≤","\\le");l(u,f,E,"≤","\\leq",!0);l(u,f,E,"<","\\lt",!0);l(u,f,E,"→","\\rightarrow",!0);l(u,f,E,"→","\\to");l(u,S,E,"≱","\\ngeq",!0);l(u,S,E,"≰","\\nleq",!0);l(u,f,Cn," ","\\ ");l(u,f,Cn," ","\\space");l(u,f,Cn," ","\\nobreakspace");l(U,f,Cn," ","\\ ");l(U,f,Cn," "," ");l(U,f,Cn," ","\\space");l(U,f,Cn," ","\\nobreakspace");l(u,f,Cn,"","\\nobreak");l(u,f,Cn,"","\\allowbreak");l(u,f,bs,",",",");l(u,f,bs,";",";");l(u,S,le,"⊼","\\barwedge",!0);l(u,S,le,"⊻","\\veebar",!0);l(u,f,le,"⊙","\\odot",!0);l(u,f,le,"⊕","\\oplus",!0);l(u,f,le,"⊗","\\otimes",!0);l(u,f,_,"∂","\\partial",!0);l(u,f,le,"⊘","\\oslash",!0);l(u,S,le,"⊚","\\circledcirc",!0);l(u,S,le,"⊡","\\boxdot",!0);l(u,f,le,"△","\\bigtriangleup");l(u,f,le,"▽","\\bigtriangledown");l(u,f,le,"†","\\dagger");l(u,f,le,"⋄","\\diamond");l(u,f,le,"⋆","\\star");l(u,f,le,"◃","\\triangleleft");l(u,f,le,"▹","\\triangleright");l(u,f,Mr,"{","\\{");l(U,f,_,"{","\\{");l(U,f,_,"{","\\textbraceleft");l(u,f,hr,"}","\\}");l(U,f,_,"}","\\}");l(U,f,_,"}","\\textbraceright");l(u,f,Mr,"{","\\lbrace");l(u,f,hr,"}","\\rbrace");l(u,f,Mr,"[","\\lbrack",!0);l(U,f,_,"[","\\lbrack",!0);l(u,f,hr,"]","\\rbrack",!0);l(U,f,_,"]","\\rbrack",!0);l(u,f,Mr,"(","\\lparen",!0);l(u,f,hr,")","\\rparen",!0);l(U,f,_,"<","\\textless",!0);l(U,f,_,">","\\textgreater",!0);l(u,f,Mr,"⌊","\\lfloor",!0);l(u,f,hr,"⌋","\\rfloor",!0);l(u,f,Mr,"⌈","\\lceil",!0);l(u,f,hr,"⌉","\\rceil",!0);l(u,f,_,"\\","\\backslash");l(u,f,_,"∣","|");l(u,f,_,"∣","\\vert");l(U,f,_,"|","\\textbar",!0);l(u,f,_,"∥","\\|");l(u,f,_,"∥","\\Vert");l(U,f,_,"∥","\\textbardbl");l(U,f,_,"~","\\textasciitilde");l(U,f,_,"\\","\\textbackslash");l(U,f,_,"^","\\textasciicircum");l(u,f,E,"↑","\\uparrow",!0);l(u,f,E,"⇑","\\Uparrow",!0);l(u,f,E,"↓","\\downarrow",!0);l(u,f,E,"⇓","\\Downarrow",!0);l(u,f,E,"↕","\\updownarrow",!0);l(u,f,E,"⇕","\\Updownarrow",!0);l(u,f,Dt,"∐","\\coprod");l(u,f,Dt,"⋁","\\bigvee");l(u,f,Dt,"⋀","\\bigwedge");l(u,f,Dt,"⨄","\\biguplus");l(u,f,Dt,"⋂","\\bigcap");l(u,f,Dt,"⋃","\\bigcup");l(u,f,Dt,"∫","\\int");l(u,f,Dt,"∫","\\intop");l(u,f,Dt,"∬","\\iint");l(u,f,Dt,"∭","\\iiint");l(u,f,Dt,"∏","\\prod");l(u,f,Dt,"∑","\\sum");l(u,f,Dt,"⨂","\\bigotimes");l(u,f,Dt,"⨁","\\bigoplus");l(u,f,Dt,"⨀","\\bigodot");l(u,f,Dt,"∮","\\oint");l(u,f,Dt,"∯","\\oiint");l(u,f,Dt,"∰","\\oiiint");l(u,f,Dt,"⨆","\\bigsqcup");l(u,f,Dt,"∫","\\smallint");l(U,f,Ma,"…","\\textellipsis");l(u,f,Ma,"…","\\mathellipsis");l(U,f,Ma,"…","\\ldots",!0);l(u,f,Ma,"…","\\ldots",!0);l(u,f,Ma,"⋯","\\@cdots",!0);l(u,f,Ma,"⋱","\\ddots",!0);l(u,f,_,"⋮","\\varvdots");l(U,f,_,"⋮","\\varvdots");l(u,f,ut,"ˊ","\\acute");l(u,f,ut,"ˋ","\\grave");l(u,f,ut,"¨","\\ddot");l(u,f,ut,"~","\\tilde");l(u,f,ut,"ˉ","\\bar");l(u,f,ut,"˘","\\breve");l(u,f,ut,"ˇ","\\check");l(u,f,ut,"^","\\hat");l(u,f,ut,"⃗","\\vec");l(u,f,ut,"˙","\\dot");l(u,f,ut,"˚","\\mathring");l(u,f,Ee,"","\\@imath");l(u,f,Ee,"","\\@jmath");l(u,f,_,"ı","ı");l(u,f,_,"ȷ","ȷ");l(U,f,_,"ı","\\i",!0);l(U,f,_,"ȷ","\\j",!0);l(U,f,_,"ß","\\ss",!0);l(U,f,_,"æ","\\ae",!0);l(U,f,_,"œ","\\oe",!0);l(U,f,_,"ø","\\o",!0);l(U,f,_,"Æ","\\AE",!0);l(U,f,_,"Œ","\\OE",!0);l(U,f,_,"Ø","\\O",!0);l(U,f,ut,"ˊ","\\'");l(U,f,ut,"ˋ","\\`");l(U,f,ut,"ˆ","\\^");l(U,f,ut,"˜","\\~");l(U,f,ut,"ˉ","\\=");l(U,f,ut,"˘","\\u");l(U,f,ut,"˙","\\.");l(U,f,ut,"¸","\\c");l(U,f,ut,"˚","\\r");l(U,f,ut,"ˇ","\\v");l(U,f,ut,"¨",'\\"');l(U,f,ut,"˝","\\H");l(U,f,ut,"◯","\\textcircled");var Yh={"--":!0,"---":!0,"``":!0,"''":!0};l(U,f,_,"–","--",!0);l(U,f,_,"–","\\textendash");l(U,f,_,"—","---",!0);l(U,f,_,"—","\\textemdash");l(U,f,_,"‘","`",!0);l(U,f,_,"‘","\\textquoteleft");l(U,f,_,"’","'",!0);l(U,f,_,"’","\\textquoteright");l(U,f,_,"“","``",!0);l(U,f,_,"“","\\textquotedblleft");l(U,f,_,"”","''",!0);l(U,f,_,"”","\\textquotedblright");l(u,f,_,"°","\\degree",!0);l(U,f,_,"°","\\degree");l(U,f,_,"°","\\textdegree",!0);l(u,f,_,"£","\\pounds");l(u,f,_,"£","\\mathsterling",!0);l(U,f,_,"£","\\pounds");l(U,f,_,"£","\\textsterling",!0);l(u,S,_,"✠","\\maltese");l(U,S,_,"✠","\\maltese");var D1='0123456789/@."';for(var Sl=0;Sl<D1.length;Sl++){var I1=D1.charAt(Sl);l(u,f,_,I1,I1)}var z1='0123456789!@*()-=+";:?/.,';for(var El=0;El<z1.length;El++){var L1=z1.charAt(El);l(U,f,_,L1,L1)}var mo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Al=0;Al<mo.length;Al++){var Rs=mo.charAt(Al);l(u,f,Ee,Rs,Rs),l(U,f,_,Rs,Rs)}l(u,S,_,"C","ℂ");l(U,S,_,"C","ℂ");l(u,S,_,"H","ℍ");l(U,S,_,"H","ℍ");l(u,S,_,"N","ℕ");l(U,S,_,"N","ℕ");l(u,S,_,"P","ℙ");l(U,S,_,"P","ℙ");l(u,S,_,"Q","ℚ");l(U,S,_,"Q","ℚ");l(u,S,_,"R","ℝ");l(U,S,_,"R","ℝ");l(u,S,_,"Z","ℤ");l(U,S,_,"Z","ℤ");l(u,f,Ee,"h","ℎ");l(U,f,Ee,"h","ℎ");var _e;for(var sr=0;sr<mo.length;sr++){var xt=mo.charAt(sr);_e=String.fromCharCode(55349,56320+sr),l(u,f,Ee,xt,_e),l(U,f,_,xt,_e),_e=String.fromCharCode(55349,56372+sr),l(u,f,Ee,xt,_e),l(U,f,_,xt,_e),_e=String.fromCharCode(55349,56424+sr),l(u,f,Ee,xt,_e),l(U,f,_,xt,_e),_e=String.fromCharCode(55349,56580+sr),l(u,f,Ee,xt,_e),l(U,f,_,xt,_e),_e=String.fromCharCode(55349,56684+sr),l(u,f,Ee,xt,_e),l(U,f,_,xt,_e),_e=String.fromCharCode(55349,56736+sr),l(u,f,Ee,xt,_e),l(U,f,_,xt,_e),_e=String.fromCharCode(55349,56788+sr),l(u,f,Ee,xt,_e),l(U,f,_,xt,_e),_e=String.fromCharCode(55349,56840+sr),l(u,f,Ee,xt,_e),l(U,f,_,xt,_e),_e=String.fromCharCode(55349,56944+sr),l(u,f,Ee,xt,_e),l(U,f,_,xt,_e),sr<26&&(_e=String.fromCharCode(55349,56632+sr),l(u,f,Ee,xt,_e),l(U,f,_,xt,_e),_e=String.fromCharCode(55349,56476+sr),l(u,f,Ee,xt,_e),l(U,f,_,xt,_e))}_e="𝕜";l(u,f,Ee,"k",_e);l(U,f,_,"k",_e);for(var f0=0;f0<10;f0++){var Pn=f0.toString();_e=String.fromCharCode(55349,57294+f0),l(u,f,Ee,Pn,_e),l(U,f,_,Pn,_e),_e=String.fromCharCode(55349,57314+f0),l(u,f,Ee,Pn,_e),l(U,f,_,Pn,_e),_e=String.fromCharCode(55349,57324+f0),l(u,f,Ee,Pn,_e),l(U,f,_,Pn,_e),_e=String.fromCharCode(55349,57334+f0),l(u,f,Ee,Pn,_e),l(U,f,_,Pn,_e)}var Tc="ÐÞþ";for(var Tl=0;Tl<Tc.length;Tl++){var Ds=Tc.charAt(Tl);l(u,f,Ee,Ds,Ds),l(U,f,_,Ds,Ds)}var _c={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},P1={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},B1={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},G3={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},g0={mathClass:"",textClass:"",font:""},F1={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},H1={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},U1={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},kc={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},Mc={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},q1={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},Oc={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},G1=[_c,_c,P1,P1,B1,B1,G3,g0,g0,g0,F1,F1,H1,H1,U1,U1,kc,kc,Mc,Mc,q1,q1,g0,g0,Oc,Oc],W3=[_c,g0,kc,Mc,Oc],V3=t=>{var e=t.charCodeAt(0),r=t.charCodeAt(1),n=(e-55296)*1024+(r-56320)+65536;if(119808<=n&&n<120484){var a=Math.floor((n-119808)/26);return G1[a]}else if(120782<=n&&n<=120831){var i=Math.floor((n-120782)/10);return W3[i]}else{if(n===120485||n===120486)return G1[0];if(120486<n&&n<120782)return g0;throw new W("Unsupported character: "+t)}},Xo=function(e,r,n){if(lt[n][e]){var a=lt[n][e].replace;a&&(e=a)}return{value:e,metrics:cu(e,r,n)}},lr=function(e,r,n,a,i){var s=Xo(e,r,n),o=s.metrics;e=s.value;var c;if(o){var d=o.italic;(n==="text"||a&&a.font==="mathit")&&(d=0),c=new _r(e,o.height,o.depth,d,o.skew,o.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+r+"' and mode '"+n+"'")),c=new _r(e,0,0,0,0,0,i);if(a){c.maxFontSize=a.sizeMultiplier,a.style.isTight()&&c.classes.push("mtight");var h=a.getColor();h&&(c.style.color=h)}return c},uu=function(e,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&Xo(e,"Main-Bold",r).metrics?lr(e,"Main-Bold",r,n,a.concat(["mathbf"])):e==="\\"||lt[r][e].font==="main"?lr(e,"Main-Regular",r,n,a):lr(e,"AMS-Regular",r,n,a.concat(["amsrm"]))},K3=function(e,r,n){return n!=="textord"&&Xo(e,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},jo=function(e,r){var n=e.type==="mathord"?"mathord":"textord",a=e.mode,i=e.text,s=["mord"],{font:o,fontFamily:c,fontWeight:d,fontShape:h}=r,m=a==="math"||a==="text"&&!!o,b=m?o:c,v="",y="";if(i.charCodeAt(0)===55349){var w=V3(i);v=w.font,y=w[a+"Class"]}if(v)return lr(i,v,a,r,s.concat(y));if(b){var k,M;if(b==="boldsymbol"){var C=K3(i,a,n);k=C.fontName,M=[C.fontClass]}else m?(k=Cc[o].fontName,M=[o]):(k=Is(c,d,h),M=[c,d,h]);if(Xo(i,k,a).metrics)return lr(i,k,a,r,s.concat(M));if(Yh.hasOwnProperty(i)&&k.slice(0,10)==="Typewriter"){for(var D=[],I=0;I<i.length;I++)D.push(lr(i[I],k,a,r,s.concat(M)));return Nn(D)}}if(n==="mathord")return lr(i,"Math-Italic",a,r,s.concat(["mathnormal"]));if(n==="textord"){var L=lt[a][i]&&lt[a][i].font;if(L==="ams"){var R=Is("amsrm",d,h);return lr(i,R,a,r,s.concat("amsrm",d,h))}else if(L==="main"||!L){var K=Is("textrm",d,h);return lr(i,K,a,r,s.concat(d,h))}else{var F=Is(L,d,h);return lr(i,F,a,r,s.concat(F,d,h))}}else throw new Error("unexpected type: "+n+" in makeOrd")},Y3=(t,e)=>{if(n0(t.classes)!==n0(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize||t.italic!==0&&t.hasClass("mathnormal"))return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n of Object.keys(t.style))if(t.style[n]!==e.style[n])return!1;for(var a of Object.keys(e.style))if(t.style[a]!==e.style[a])return!1;return!0},Xh=t=>{for(var e=0;e<t.length-1;e++){var r=t[e],n=t[e+1];r instanceof _r&&n instanceof _r&&Y3(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},du=function(e){for(var r=0,n=0,a=0,i=0;i<e.children.length;i++){var s=e.children[i];s.height>r&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>a&&(a=s.maxFontSize)}e.height=r,e.depth=n,e.maxFontSize=a},G=function(e,r,n,a){var i=new ka(e,r,n,a);return du(i),i},i0=(t,e,r,n)=>new ka(t,e,r,n),ga=function(e,r,n){var a=G([e],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=Z(a.height),a.maxFontSize=1,a},X3=function(e,r,n,a){var i=new Yo(e,r,n,a);return du(i),i},Nn=function(e){var r=new _a(e);return du(r),r},va=function(e,r){return e instanceof _a?G([],[e],r):e},j3=function(e){if(e.positionType==="individualShift"){for(var r=e.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,i=a,s=1;s<r.length;s++){var o=-r[s].shift-i-r[s].elem.depth,c=o-(r[s-1].elem.height+r[s-1].elem.depth);i=i+o,n.push({type:"kern",size:c}),n.push(r[s])}return{children:n,depth:a}}var d;if(e.positionType==="top"){for(var h=e.positionData,m=0;m<e.children.length;m++){var b=e.children[m];h-=b.type==="kern"?b.size:b.elem.height+b.elem.depth}d=h}else if(e.positionType==="bottom")d=-e.positionData;else{var v=e.children[0];if(v.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")d=-v.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")d=-v.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:d}},je=function(e,r){for(var{children:n,depth:a}=j3(e),i=0,s=0;s<n.length;s++){var o=n[s];if(o.type==="elem"){var c=o.elem;i=Math.max(i,c.maxFontSize,c.height)}}i+=2;var d=G(["pstrut"],[]);d.style.height=Z(i);for(var h=[],m=a,b=a,v=a,y=0;y<n.length;y++){var w=n[y];if(w.type==="kern")v+=w.size;else{var k=w.elem,M=w.wrapperClasses||[],C=w.wrapperStyle||{},D=G(M,[d,k],void 0,C);D.style.top=Z(-i-v-k.depth),w.marginLeft&&(D.style.marginLeft=w.marginLeft),w.marginRight&&(D.style.marginRight=w.marginRight),h.push(D),v+=k.height+k.depth}m=Math.min(m,v),b=Math.max(b,v)}var I=G(["vlist"],h);I.style.height=Z(b);var L;if(m<0){var R=G([],[]),K=G(["vlist"],[R]);K.style.height=Z(-m);var F=G(["vlist-s"],[new _r("​")]);L=[G(["vlist-r"],[I,F]),G(["vlist-r"],[K])]}else L=[G(["vlist-r"],[I])];var B=G(["vlist-t"],L);return L.length===2&&B.classes.push("vlist-t2"),B.height=b,B.depth=-m,B},jh=(t,e)=>{var r=G(["mspace"],[],e),n=gt(t,e);return r.style.marginRight=Z(n),r},Is=(t,e,r)=>{var n,a;switch(t){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=t}return e==="textbf"&&r==="textit"?a="BoldItalic":e==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",n+"-"+a},Cc={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"}},Zh={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Jh=function(e,r){var[n,a,i]=Zh[e],s=new a0(n),o=new kn([s],{width:Z(a),height:Z(i),style:"width:"+Z(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),c=i0(["overlay"],[o],r);return c.height=i,c.style.height=Z(i),c.style.width=Z(a),c},pt={number:3,unit:"mu"},m0={number:4,unit:"mu"},hn={number:5,unit:"mu"},Z3={mord:{mop:pt,mbin:m0,mrel:hn,minner:pt},mop:{mord:pt,mop:pt,mrel:hn,minner:pt},mbin:{mord:m0,mop:m0,mopen:m0,minner:m0},mrel:{mord:hn,mop:hn,mopen:hn,minner:hn},mopen:{},mclose:{mop:pt,mbin:m0,mrel:hn,minner:pt},mpunct:{mord:pt,mop:pt,mrel:hn,mopen:pt,mclose:pt,mpunct:pt,minner:pt},minner:{mord:pt,mop:pt,mbin:m0,mrel:hn,mopen:pt,mpunct:pt,minner:pt}},J3={mord:{mop:pt},mop:{mord:pt,mop:pt},mbin:{},mrel:{},mopen:{},mclose:{mop:pt},mpunct:{},minner:{mop:pt}},Qh={},ti={},ri={};function oe(t){for(var{type:e,names:r,htmlBuilder:n,mathmlBuilder:a}=t,i=0;i<r.length;++i)Qh[r[i]]=t;e&&(n&&(ti[e]=n),a&&(ri[e]=a))}function R0(t){var{type:e,htmlBuilder:r,mathmlBuilder:n}=t;r&&(ti[e]=r),n&&(ri[e]=n)}var po=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},Ot=function(e){return e.type==="ordgroup"?e.body:[e]},Q3=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),$3=new Set(["rightmost","mrel","mclose","mpunct"]),e6={display:Me.DISPLAY,text:Me.TEXT,script:Me.SCRIPT,scriptscript:Me.SCRIPTSCRIPT},t6={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ht=function(e,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],s=0;s<e.length;s++){var o=Ze(e[s],r);if(o instanceof _a){var c=o.children;i.push(...c)}else i.push(o)}if(Xh(i),!n)return i;var d=r;if(e.length===1){var h=e[0];h.type==="sizing"?d=r.havingSize(h.size):h.type==="styling"&&(d=r.havingStyle(e6[h.style]))}var m=G([a[0]||"leftmost"],[],r),b=G([a[1]||"rightmost"],[],r),v=n==="root";return Nc(i,(y,w)=>{var k=w.classes[0],M=y.classes[0];k==="mbin"&&$3.has(M)?w.classes[0]="mord":M==="mbin"&&Q3.has(k)&&(y.classes[0]="mord")},{node:m},b,v),Nc(i,(y,w)=>{var k,M,C=Dc(w),D=Dc(y),I=C&&D?y.hasClass("mtight")?(k=J3[C])==null?void 0:k[D]:(M=Z3[C])==null?void 0:M[D]:null;if(I)return jh(I,d)},{node:m},b,v),i},Nc=function(e,r,n,a,i){a&&e.push(a);for(var s=0;s<e.length;s++){var o=e[s],c=$h(o);if(c){Nc(c.children,r,n,null,i);continue}var d=!o.hasClass("mspace");if(d){var h=r(o,n.node);h&&(n.insertAfter?n.insertAfter(h):(e.unshift(h),s++))}d?n.node=o:i&&o.hasClass("newline")&&(n.node=G(["leftmost"])),n.insertAfter=(m=>b=>{e.splice(m+1,0,b),s++})(s)}a&&e.pop()},$h=function(e){return e instanceof _a||e instanceof Yo||e instanceof ka&&e.hasClass("enclosing")?e:null},Rc=function(e,r){var n=$h(e);if(n){var a=n.children;if(a.length){if(r==="right")return Rc(a[a.length-1],"right");if(r==="left")return Rc(a[0],"left")}}return e},Dc=function(e,r){if(!e)return null;r&&(e=Rc(e,r));var n=e.classes[0];return t6[n]||null},ni=function(e,r){var n=["nulldelimiter"].concat(e.baseSizingClasses());return G(r.concat(n))},Ze=function(e,r,n){if(!e)return G();if(ti[e.type]){var a=ti[e.type](e,r);if(n&&r.size!==n.size){a=G(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new W("Got group of unknown type: '"+e.type+"'")};function zs(t,e){var r=G(["base"],t,e),n=G(["strut"]);return n.style.height=Z(r.height+r.depth),r.depth&&(n.style.verticalAlign=Z(-r.depth)),r.children.unshift(n),r}function Ic(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var n=Ht(t,e,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],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 c=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,s.push(n[o]),n[o].hasClass("nobreak")&&(c=!0);c||(i.push(zs(s,e)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(i.push(zs(s,e)),s=[]),i.push(n[o]));s.length>0&&i.push(zs(s,e));var d;r?(d=zs(Ht(r,e,!0),e),d.classes=["tag"],i.push(d)):a&&i.push(a);var h=G(["katex-html"],i);if(h.setAttribute("aria-hidden","true"),d){var m=d.children[0];m.style.height=Z(h.height+h.depth),h.depth&&(m.style.verticalAlign=Z(-h.depth))}return h}function ef(t){return new _a(t)}class V{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=n0(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Ct&&this.children[n+1]instanceof Ct){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Ct;)a+=this.children[++n].toText();e.appendChild(new Ct(a).toNode())}else 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+=rr(this.attributes[r]),e+='"');this.classes.length>0&&(e+=' class ="'+rr(n0(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 Ct{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return rr(this.toText())}toText(){return this.text}}class tf{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",Z(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Z(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var r6=new Set(["\\imath","\\jmath"]),n6=new Set(["mrow","mtable"]),Rr=function(e,r,n){return lt[r][e]&&lt[r][e].replace&&e.charCodeAt(0)!==55349&&!(Yh.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=lt[r][e].replace),new Ct(e)},hu=function(e){return e.length===1?e[0]:new V("mrow",e)},a6={mathit:"italic",boldsymbol:t=>t.type==="textord"?"bold":"bold-italic",mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},fu=(t,e)=>{if(t.mode==="text"){if(e.fontFamily==="texttt")return"monospace";if(e.fontFamily==="textsf")return e.fontShape==="textit"&&e.fontWeight==="textbf"?"sans-serif-bold-italic":e.fontShape==="textit"?"sans-serif-italic":e.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(e.fontShape==="textit"&&e.fontWeight==="textbf")return"bold-italic";if(e.fontShape==="textit")return"italic";if(e.fontWeight==="textbf")return"bold"}var r=e.font;if(!r||r==="mathnormal")return null;var n=t.mode,a=a6[r];if(a)return typeof a=="function"?a(t):a;var i=t.text;if(r6.has(i))return null;if(lt[n][i]){var s=lt[n][i].replace;s&&(i=s)}var o=Cc[r].fontName;return cu(i,o,n)?Cc[r].variant:null};function _l(t){if(!t)return!1;if(t.type==="mi"&&t.children.length===1){var e=t.children[0];return e instanceof Ct&&e.text==="."}else if(t.type==="mo"&&t.children.length===1&&t.getAttribute("separator")==="true"&&t.getAttribute("lspace")==="0em"&&t.getAttribute("rspace")==="0em"){var r=t.children[0];return r instanceof Ct&&r.text===","}else return!1}var Or=function(e,r,n){if(e.length===1){var a=tt(e[0],r);return n&&a instanceof V&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],s,o=0;o<e.length;o++){var c=tt(e[o],r);if(c instanceof V&&s instanceof V){if(c.type==="mtext"&&s.type==="mtext"&&c.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...c.children);continue}else if(c.type==="mn"&&s.type==="mn"){s.children.push(...c.children);continue}else if(_l(c)&&s.type==="mn"){s.children.push(...c.children);continue}else if(c.type==="mn"&&_l(s))c.children=[...s.children,...c.children],i.pop();else if((c.type==="msup"||c.type==="msub")&&c.children.length>=1&&(s.type==="mn"||_l(s))){var d=c.children[0];d instanceof V&&d.type==="mn"&&(d.children=[...s.children,...d.children],i.pop())}else if(s.type==="mi"&&s.children.length===1){var h=s.children[0];if(h instanceof Ct&&h.text==="̸"&&(c.type==="mo"||c.type==="mi"||c.type==="mn")){var m=c.children[0];m instanceof Ct&&m.text.length>0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),i.pop())}}}i.push(c),s=c}return i},s0=function(e,r,n){return hu(Or(e,r,n))},tt=function(e,r){if(!e)return new V("mrow");if(ri[e.type])return ri[e.type](e,r);throw new W("Got group of unknown type: '"+e.type+"'")};function W1(t,e,r,n,a){var i=Or(t,r),s;i.length===1&&i[0]instanceof V&&n6.has(i[0].type)?s=i[0]:s=new V("mrow",i);var o=new V("annotation",[new Ct(e)]);o.setAttribute("encoding","application/x-tex");var c=new V("semantics",[s,o]),d=new V("math",[c]);d.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&d.setAttribute("display","block");var h=a?"katex":"katex-mathml";return G([h],[d])}var i6=[[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]],V1=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],K1=function(e,r){return r.size<2?e:i6[e-1][r.size-1]};class fn{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||fn.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=V1[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};return Object.assign(r,e),new fn(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:K1(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:V1[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=K1(fn.BASESIZE,e);return this.size===r&&this.textSize===fn.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!==fn.BASESIZE?["sizing","reset-size"+this.size,"size"+fn.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=q3(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}fn.BASESIZE=6;var rf=function(e){return new fn({style:e.displayMode?Me.DISPLAY:Me.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},nf=function(e,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),e=G(n,[e])}return e},s6=function(e,r,n){var a=rf(n),i;if(n.output==="mathml")return W1(e,r,a,n.displayMode,!0);if(n.output==="html"){var s=Ic(e,a);i=G(["katex"],[s])}else{var o=W1(e,r,a,n.displayMode,!1),c=Ic(e,a);i=G(["katex"],[o,c])}return nf(i,n)},o6=function(e,r,n){var a=rf(n),i=Ic(e,a),s=G(["katex"],[i]);return nf(s,n)},l6={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",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":"="},Zo=function(e){var r=new V("mo",[new Ct(l6[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},c6={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],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],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]},u6=new Set(["widehat","widecheck","widetilde","utilde"]),Jo=function(e,r){function n(){var o=4e5,c=e.label.slice(1);if(u6.has(c)&&"base"in e){var d=e.base.type==="ordgroup"?e.base.body.length:1,h,m,b;if(d>5)c==="widehat"||c==="widecheck"?(h=420,o=2364,b=.42,m=c+"4"):(h=312,o=2340,b=.34,m="tilde4");else{var v=[1,1,2,2,3,3][d];c==="widehat"||c==="widecheck"?(o=[0,1062,2364,2364,2364][v],h=[0,239,300,360,420][v],b=[0,.24,.3,.3,.36,.42][v],m=c+v):(o=[0,600,1033,2339,2340][v],h=[0,260,286,306,312][v],b=[0,.26,.286,.3,.306,.34][v],m="tilde"+v)}var y=new a0(m),w=new kn([y],{width:"100%",height:Z(b),viewBox:"0 0 "+o+" "+h,preserveAspectRatio:"none"});return{span:i0([],[w],r),minWidth:0,height:b}}else{var k=[],M=c6[c];if(!M)throw new Error('No SVG data for "'+c+'".');var[C,D,I]=M,L=I/1e3,R=C.length,K,F;if(R===1){if(M.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+c+'".');K=["hide-tail"],F=[M[3]]}else if(R===2)K=["halfarrow-left","halfarrow-right"],F=["xMinYMin","xMaxYMin"];else if(R===3)K=["brace-left","brace-center","brace-right"],F=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
280
+ `+R+" children.");for(var B=0;B<R;B++){var q=new a0(C[B]),ee=new kn([q],{width:"400em",height:Z(L),viewBox:"0 0 "+o+" "+I,preserveAspectRatio:F[B]+" slice"}),re=i0([K[B]],[ee],r);if(R===1)return{span:re,minWidth:D,height:L};re.style.height=Z(L),k.push(re)}return{span:G(["stretchy"],k,r),minWidth:D,height:L}}}var{span:a,minWidth:i,height:s}=n();return a.height=s,a.style.height=Z(s),i>0&&(a.style.minWidth=Z(i)),a},d6=function(e,r,n,a,i){var s,o=e.height+e.depth+n+a;if(/fbox|color|angl/.test(r)){if(s=G(["stretchy",r],[],i),r==="fbox"){var c=i.color&&i.getColor();c&&(s.style.borderColor=c)}}else{var d=[];/^[bx]cancel$/.test(r)&&d.push(new Ac({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&d.push(new Ac({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new kn(d,{width:"100%",height:Z(o)});s=i0([],[h],i)}return s.height=o,s.style.height=Z(o),s},h6={bin:1,close:1,inner:1,open:1,punct:1,rel:1},f6={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function m6(t){return t in h6}function Le(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 Qo(t){var e=$o(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 $o(t){return t&&(t.type==="atom"||f6.hasOwnProperty(t.type))?t:null}var af=t=>{if(t instanceof _r)return t;if(H3(t)&&t.children.length===1)return af(t.children[0])},sf=(t,e)=>{var r,n,a;t&&t.type==="supsub"?(n=Le(t.base,"accent"),r=n.base,t.base=r,a=F3(Ze(t,e)),t.base=n):(n=Le(t,"accent"),r=n.base);var i=Ze(r,e.havingCrampedStyle()),s=n.isShifty&&On(r),o=0;if(s){var c,d;o=(c=(d=af(i))==null?void 0:d.skew)!=null?c:0}var h=n.label==="\\c",m=h?i.height+i.depth:Math.min(i.height,e.fontMetrics().xHeight),b;if(n.isStretchy)b=Jo(n,e),b=je({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:b,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+Z(2*o)+")",marginLeft:Z(2*o)}:void 0}]});else{var v,y;n.label==="\\vec"?(v=Jh("vec",e),y=Zh.vec[1]):(v=jo({type:"textord",mode:n.mode,text:n.label},e),v=B3(v),v.italic=0,y=v.width,h&&(m+=v.depth)),b=G(["accent-body"],[v]);var w=n.label==="\\textcircled";w&&(b.classes.push("accent-full"),m=i.height);var k=o;w||(k-=y/2),b.style.left=Z(k),n.label==="\\textcircled"&&(b.style.top=".2em"),b=je({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-m},{type:"elem",elem:b}]})}var M=G(["mord","accent"],[b],e);return a?(a.children[0]=M,a.height=Math.max(M.height,a.height),a.classes[0]="mord",a):M},p6=(t,e)=>{var r=t.isStretchy?Zo(t.label):new V("mo",[Rr(t.label,t.mode)]),n=new V("mover",[tt(t.base,e),r]);return n.setAttribute("accent","true"),n},g6=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));oe({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"],numArgs:1,handler:(t,e)=>{var r=po(e[0]),n=!g6.test(t.funcName),a=!n||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:sf,mathmlBuilder:p6});oe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],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}}});oe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],numArgs:1,handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(t,e)=>{var r=Ze(t.base,e),n=Jo(t,e),a=t.label==="\\utilde"?.12:0,i=je({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]});return G(["mord","accentunder"],[i],e)},mathmlBuilder:(t,e)=>{var r=Zo(t.label),n=new V("munder",[tt(t.base,e),r]);return n.setAttribute("accentunder","true"),n}});var Ls=t=>{var e=new V("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};oe({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"],numArgs:1,numOptionalArgs:1,handler(t,e,r){var{parser:n,funcName:a}=t;return{type:"xArrow",mode:n.mode,label:a,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,n=e.havingStyle(r.sup()),a=va(Ze(t.body,n,e),e),i=t.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var s;t.below&&(n=e.havingStyle(r.sub()),s=va(Ze(t.below,n,e),e),s.classes.push(i+"-arrow-pad"));var o=Jo(t,e),c=-e.fontMetrics().axisHeight+.5*o.height,d=-e.fontMetrics().axisHeight-.5*o.height-.111;(a.depth>.25||t.label==="\\xleftequilibrium")&&(d-=a.depth);var h;if(s){var m=-e.fontMetrics().axisHeight+s.height+.5*o.height+.111;h=je({positionType:"individualShift",children:[{type:"elem",elem:a,shift:d},{type:"elem",elem:o,shift:c,wrapperClasses:["svg-align"]},{type:"elem",elem:s,shift:m}]})}else h=je({positionType:"individualShift",children:[{type:"elem",elem:a,shift:d},{type:"elem",elem:o,shift:c,wrapperClasses:["svg-align"]}]});return G(["mrel","x-arrow"],[h],e)},mathmlBuilder(t,e){var r=Zo(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(t.body){var a=Ls(tt(t.body,e));if(t.below){var i=Ls(tt(t.below,e));n=new V("munderover",[r,i,a])}else n=new V("mover",[r,a])}else if(t.below){var s=Ls(tt(t.below,e));n=new V("munder",[r,s])}else n=Ls(),n=new V("mover",[r,n]);return n}});function v6(t,e){var r=Ht(t.body,e,!0);return G([t.mclass],r,e)}function b6(t,e){var r,n=Or(t.body,e);return t.mclass==="minner"?r=new V("mpadded",n):t.mclass==="mord"?t.isCharacterBox?(r=n[0],r.type="mi"):r=new V("mi",n):(t.isCharacterBox?(r=n[0],r.type="mo"):r=new V("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")),r}oe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],numArgs:1,primitive:!0,handler(t,e){var{parser:r,funcName:n}=t,a=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Ot(a),isCharacterBox:On(a)}},htmlBuilder:v6,mathmlBuilder:b6});var el=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"};oe({type:"mclass",names:["\\@binrel"],numArgs:2,handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:el(e[0]),body:Ot(e[1]),isCharacterBox:On(e[1])}}});oe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],numArgs:2,handler(t,e){var{parser:r,funcName:n}=t,a=e[1],i=e[0],s;n!=="\\stackrel"?s=el(a):s="mrel";var o={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ot(a)},c=n==="\\underset"?{type:"supsub",mode:i.mode,base:o,sub:i}:{type:"supsub",mode:i.mode,base:o,sup:i};return{type:"mclass",mode:r.mode,mclass:s,body:[c],isCharacterBox:On(c)}}});oe({type:"pmb",names:["\\pmb"],numArgs:1,allowedInText:!0,handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:el(e[0]),body:Ot(e[0])}},htmlBuilder(t,e){var r=Ht(t.body,e,!0),n=G([t.mclass],r,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(t,e){var r=Or(t.body,e),n=new V("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var y6={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Y1=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),X1=t=>t.type==="textord"&&t.text==="@",w6=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function x6(t,e,r){var n=y6[t];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[e[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[i],[]),o=r.callFunction("\\\\cdright",[e[1]],[]),c={type:"ordgroup",mode:"math",body:[a,s,o]};return r.callFunction("\\\\cdparent",[c],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var d={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[d],[])}default:return{type:"textord",text:" ",mode:"math"}}}function S6(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 W("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var n=[],a=[n],i=0;i<e.length;i++){for(var s=e[i],o=Y1(),c=0;c<s.length;c++)if(!X1(s[c]))o.body.push(s[c]);else{n.push(o),c+=1;var d=Qo(s[c]).text,h=new Array(2);if(h[0]={type:"ordgroup",mode:"math",body:[]},h[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(d))if("<>AV".includes(d))for(var m=0;m<2;m++){for(var b=!0,v=c+1;v<s.length;v++){if(w6(s[v],d)){b=!1,c=v;break}if(X1(s[v]))throw new W("Missing a "+d+" character to complete a CD arrow.",s[v]);h[m].body.push(s[v])}if(b)throw new W("Missing a "+d+" character to complete a CD arrow.",s[c])}else throw new W('Expected one of "<>AV=|." after @',s[c]);var y=x6(d,h,t),w={type:"styling",body:[y],mode:"math",style:"display",resetFont:!0};n.push(w),o=Y1()}i%2===0?n.push(o):n.shift(),n=[],a.push(n)}t.gullet.endGroup(),t.gullet.endGroup();var k=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:k,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}oe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],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=va(Ze(t.label,r,e),e);return n.classes.push("cd-label-"+t.side),n.style.bottom=Z(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(t,e){var r=new V("mrow",[tt(t.label,e)]);return r=new V("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new V("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});oe({type:"cdlabelparent",names:["\\\\cdparent"],numArgs:1,handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=va(Ze(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new V("mrow",[tt(t.fragment,e)])}});oe({type:"textord",names:["\\@char"],numArgs:1,allowedInText:!0,handler(t,e){for(var{parser:r}=t,n=Le(e[0],"ordgroup"),a=n.body,i="",s=0;s<a.length;s++){var o=Le(a[s],"textord");i+=o.text}var c=parseInt(i),d;if(isNaN(c))throw new W("\\@char has non-numeric argument "+i);if(c<0||c>=1114111)throw new W("\\@char with invalid code point "+i);return c<=65535?d=String.fromCharCode(c):(c-=65536,d=String.fromCharCode((c>>10)+55296,(c&1023)+56320)),{type:"textord",mode:r.mode,text:d}}});var E6=(t,e)=>{var r=Ht(t.body,e.withColor(t.color),!1);return Nn(r)},A6=(t,e)=>{var r=Or(t.body,e.withColor(t.color)),n=new V("mstyle",r);return n.setAttribute("mathcolor",t.color),n};oe({type:"color",names:["\\textcolor"],numArgs:2,allowedInText:!0,argTypes:["color","original"],handler(t,e){var{parser:r}=t,n=Le(e[0],"color-token").color,a=e[1];return{type:"color",mode:r.mode,color:n,body:Ot(a)}},htmlBuilder:E6,mathmlBuilder:A6});oe({type:"color",names:["\\color"],numArgs:1,allowedInText:!0,argTypes:["color"],handler(t,e){var{parser:r,breakOnTokenText:n}=t,a=Le(e[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}}});oe({type:"cr",names:["\\\\"],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(t,e,r){var{parser:n}=t,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&Le(a,"size").value}},htmlBuilder(t,e){var r=G(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=Z(gt(t.size,e)))),r},mathmlBuilder(t,e){var r=new V("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",Z(gt(t.size,e)))),r}});var zc={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},of=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new W("Expected a control sequence",t);return e},T6=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},lf=(t,e,r,n)=>{var a=t.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,a,n)};oe({type:"internal",names:["\\global","\\long","\\\\globallong"],numArgs:0,allowedInText:!0,handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var n=e.fetch();if(zc[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=zc[n.text]),Le(e.parseFunction(),"internal");throw new W("Invalid token after macro prefix",n)}});oe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],numArgs:0,allowedInText:!0,primitive:!0,handler(t){var{parser:e,funcName:r}=t,n=e.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new W("Expected a control sequence",n);for(var i=0,s,o=[[]];e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){s=e.gullet.future(),o[i].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new W('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new W('Argument number "'+n.text+'" out of order');i++,o.push([])}else{if(n.text==="EOF")throw new W("Expected a macro definition");o[i].push(n.text)}var{tokens:c}=e.gullet.consumeArg();return s&&c.unshift(s),(r==="\\edef"||r==="\\xdef")&&(c=e.gullet.expandTokens(c),c.reverse()),e.gullet.macros.set(a,{tokens:c,numArgs:i,delimiters:o},r===zc[r]),{type:"internal",mode:e.mode}}});oe({type:"internal",names:["\\let","\\\\globallet"],numArgs:0,allowedInText:!0,primitive:!0,handler(t){var{parser:e,funcName:r}=t,n=of(e.gullet.popToken());e.gullet.consumeSpaces();var a=T6(e);return lf(e,n,a,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});oe({type:"internal",names:["\\futurelet","\\\\globalfuture"],numArgs:0,allowedInText:!0,primitive:!0,handler(t){var{parser:e,funcName:r}=t,n=of(e.gullet.popToken()),a=e.gullet.popToken(),i=e.gullet.popToken();return lf(e,n,i,r==="\\\\globalfuture"),e.gullet.pushToken(i),e.gullet.pushToken(a),{type:"internal",mode:e.mode}}});var Wa=function(e,r,n){var a=lt.math[e]&&lt.math[e].replace,i=cu(a||e,r,n);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return i},mu=function(e,r,n,a){var i=n.havingBaseStyle(r),s=G(a.concat(i.sizingClasses(n)),[e],n),o=i.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=i.sizeMultiplier,s},cf=function(e,r,n){var a=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Z(i),e.height-=i,e.depth+=i},_6=function(e,r,n,a,i,s){var o=lr(e,"Main-Regular",i,a),c=mu(o,r,a,s);return cf(c,a,r),c},k6=function(e,r,n,a){return lr(e,"Size"+r+"-Regular",n,a)},uf=function(e,r,n,a,i,s){var o=k6(e,r,i,a),c=mu(G(["delimsizing","size"+r],[o],a),Me.TEXT,a,s);return n&&cf(c,a,Me.TEXT),c},kl=function(e,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=G(["delimsizinginner",a],[G([],[lr(e,r,n)])]);return{type:"elem",elem:i}},Ml=function(e,r,n){var a=en["Size4-Regular"][e.charCodeAt(0)]?en["Size4-Regular"][e.charCodeAt(0)][4]:en["Size1-Regular"][e.charCodeAt(0)][4],i=new a0("inner",N3(e,Math.round(1e3*r))),s=new kn([i],{width:Z(a),height:Z(r),style:"width:"+Z(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=i0([],[s],n);return o.height=r,o.style.height=Z(r),o.style.width=Z(a),{type:"elem",elem:o}},Lc=.008,Ps={type:"kern",size:-1*Lc},M6=new Set(["|","\\lvert","\\rvert","\\vert"]),O6=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),df=function(e,r,n,a,i,s){var o,c,d,h,m="",b=0;o=d=h=e,c=null;var v="Size1-Regular";e==="\\uparrow"?d=h="⏐":e==="\\Uparrow"?d=h="‖":e==="\\downarrow"?o=d="⏐":e==="\\Downarrow"?o=d="‖":e==="\\updownarrow"?(o="\\uparrow",d="⏐",h="\\downarrow"):e==="\\Updownarrow"?(o="\\Uparrow",d="‖",h="\\Downarrow"):M6.has(e)?(d="∣",m="vert",b=333):O6.has(e)?(d="∥",m="doublevert",b=556):e==="["||e==="\\lbrack"?(o="⎡",d="⎢",h="⎣",v="Size4-Regular",m="lbrack",b=667):e==="]"||e==="\\rbrack"?(o="⎤",d="⎥",h="⎦",v="Size4-Regular",m="rbrack",b=667):e==="\\lfloor"||e==="⌊"?(d=o="⎢",h="⎣",v="Size4-Regular",m="lfloor",b=667):e==="\\lceil"||e==="⌈"?(o="⎡",d=h="⎢",v="Size4-Regular",m="lceil",b=667):e==="\\rfloor"||e==="⌋"?(d=o="⎥",h="⎦",v="Size4-Regular",m="rfloor",b=667):e==="\\rceil"||e==="⌉"?(o="⎤",d=h="⎥",v="Size4-Regular",m="rceil",b=667):e==="("||e==="\\lparen"?(o="⎛",d="⎜",h="⎝",v="Size4-Regular",m="lparen",b=875):e===")"||e==="\\rparen"?(o="⎞",d="⎟",h="⎠",v="Size4-Regular",m="rparen",b=875):e==="\\{"||e==="\\lbrace"?(o="⎧",c="⎨",h="⎩",d="⎪",v="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(o="⎫",c="⎬",h="⎭",d="⎪",v="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(o="⎧",h="⎩",d="⎪",v="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(o="⎫",h="⎭",d="⎪",v="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(o="⎧",h="⎭",d="⎪",v="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(o="⎫",h="⎩",d="⎪",v="Size4-Regular");var y=Wa(o,v,i),w=y.height+y.depth,k=Wa(d,v,i),M=k.height+k.depth,C=Wa(h,v,i),D=C.height+C.depth,I=0,L=1;if(c!==null){var R=Wa(c,v,i);I=R.height+R.depth,L=2}var K=w+D+I,F=Math.max(0,Math.ceil((r-K)/(L*M))),B=K+F*L*M,q=a.fontMetrics().axisHeight;n&&(q*=a.sizeMultiplier);var ee=B/2-q,re=[];if(m.length>0){var xe=B-w-D,te=Math.round(B*1e3),be=R3(m,Math.round(xe*1e3)),ve=new a0(m,be),fe=Z(b/1e3),X=Z(te/1e3),ce=new kn([ve],{width:fe,height:X,viewBox:"0 0 "+b+" "+te}),me=i0([],[ce],a);me.height=te/1e3,me.style.width=fe,me.style.height=X,re.push({type:"elem",elem:me})}else{if(re.push(kl(h,v,i)),re.push(Ps),c===null){var Ae=B-w-D+2*Lc;re.push(Ml(d,Ae,a))}else{var Ue=(B-w-D-I)/2+2*Lc;re.push(Ml(d,Ue,a)),re.push(Ps),re.push(kl(c,v,i)),re.push(Ps),re.push(Ml(d,Ue,a))}re.push(Ps),re.push(kl(o,v,i))}var Ie=a.havingBaseStyle(Me.TEXT),Pe=je({positionType:"bottom",positionData:ee,children:re});return mu(G(["delimsizing","mult"],[Pe],Ie),Me.TEXT,a,s)},Ol=80,Cl=.08,Nl=function(e,r,n,a,i){var s=C3(e,a,n),o=new a0(e,s),c=new kn([o],{width:"400em",height:Z(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return i0(["hide-tail"],[c],i)},C6=function(e,r){var n=r.havingBaseSizing(),a=gf("\\surd",e*n.sizeMultiplier,pf,n),i=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,c,d,h,m;return a.type==="small"?(h=1e3+1e3*s+Ol,e<1?i=1:e<1.4&&(i=.7),c=(1+s+Cl)/i,d=(1+s)/i,o=Nl("sqrtMain",c,h,s,r),o.style.minWidth="0.853em",m=.833/i):a.type==="large"?(h=(1e3+Ol)*ja[a.size],d=(ja[a.size]+s)/i,c=(ja[a.size]+s+Cl)/i,o=Nl("sqrtSize"+a.size,c,h,s,r),o.style.minWidth="1.02em",m=1/i):(c=e+s+Cl,d=e+s,h=Math.floor(1e3*e+s)+Ol,o=Nl("sqrtTall",c,h,s,r),o.style.minWidth="0.742em",m=1.056),o.height=d,o.style.height=Z(c),{span:o,advanceWidth:m,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*i}},hf=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),N6=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),ff=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),ja=[0,1.2,1.8,2.4,3],mf=function(e,r,n,a,i){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),hf.has(e)||ff.has(e))return uf(e,r,!1,n,a,i);if(N6.has(e))return df(e,ja[r],!1,n,a,i);throw new W("Illegal delimiter: '"+e+"'")},R6=[{type:"small",style:Me.SCRIPTSCRIPT},{type:"small",style:Me.SCRIPT},{type:"small",style:Me.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],D6=[{type:"small",style:Me.SCRIPTSCRIPT},{type:"small",style:Me.SCRIPT},{type:"small",style:Me.TEXT},{type:"stack"}],pf=[{type:"small",style:Me.SCRIPTSCRIPT},{type:"small",style:Me.SCRIPT},{type:"small",style:Me.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],I6=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";var r=e.type;throw new Error("Add support for delim type '"+r+"' here.")},gf=function(e,r,n,a){for(var i=Math.min(2,3-a.style.size),s=i;s<n.length;s++){var o=n[s];if(o.type==="stack")break;var c=Wa(e,I6(o),"math"),d=c.height+c.depth;if(o.type==="small"){var h=a.havingBaseStyle(o.style);d*=h.sizeMultiplier}if(d>r)return o}return n[n.length-1]},Pc=function(e,r,n,a,i,s){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var o;ff.has(e)?o=R6:hf.has(e)?o=pf:o=D6;var c=gf(e,r,o,a);return c.type==="small"?_6(e,c.style,n,a,i,s):c.type==="large"?uf(e,c.size,n,a,i,s):df(e,r,n,a,i,s)},Rl=function(e,r,n,a,i,s){var o=a.fontMetrics().axisHeight*a.sizeMultiplier,c=901,d=5/a.fontMetrics().ptPerEm,h=Math.max(r-o,n+o),m=Math.max(h/500*c,2*h-d);return Pc(e,m,!0,a,i,s)},j1={"\\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}},z6=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function Z1(t){return"isMiddle"in t}function tl(t,e){var r=$o(t);if(r&&z6.has(r.text))return r;throw r?new W("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new W("Invalid delimiter type '"+t.type+"'",t)}oe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],numArgs:1,argTypes:["primitive"],handler:(t,e)=>{var r=tl(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:j1[t.funcName].size,mclass:j1[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?G([t.mclass]):mf(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Rr(t.delim,t.mode));var r=new V("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=Z(ja[t.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function J1(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}oe({type:"leftright-right",names:["\\right"],numArgs:1,primitive:!0,handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new W("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:tl(e[0],t).text,color:r}}});oe({type:"leftright",names:["\\left"],numArgs:1,primitive:!0,handler:(t,e)=>{var r=tl(e[0],t),n=t.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=Le(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(t,e)=>{J1(t);for(var r=Ht(t.body,e,!0,["mopen","mclose"]),n=0,a=0,i=!1,s=0;s<r.length;s++){var o=r[s];Z1(o)?i=!0:(n=Math.max(r[s].height,n),a=Math.max(r[s].depth,a))}n*=e.sizeMultiplier,a*=e.sizeMultiplier;var c;if(t.left==="."?c=ni(e,["mopen"]):c=Rl(t.left,n,a,e,t.mode,["mopen"]),r.unshift(c),i)for(var d=1;d<r.length;d++){var h=r[d];if(Z1(h)){var m=h.isMiddle;r[d]=Rl(m.delim,n,a,m.options,t.mode,[])}}var b;if(t.right===".")b=ni(e,["mclose"]);else{var v=t.rightColor?e.withColor(t.rightColor):e;b=Rl(t.right,n,a,v,t.mode,["mclose"])}return r.push(b),G(["minner"],r,e)},mathmlBuilder:(t,e)=>{J1(t);var r=Or(t.body,e);if(t.left!=="."){var n=new V("mo",[Rr(t.left,t.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(t.right!=="."){var a=new V("mo",[Rr(t.right,t.mode)]);a.setAttribute("fence","true"),t.rightColor&&a.setAttribute("mathcolor",t.rightColor),r.push(a)}return hu(r)}});oe({type:"middle",names:["\\middle"],numArgs:1,primitive:!0,handler:(t,e)=>{var r=tl(e[0],t);if(!t.parser.leftrightDepth)throw new W("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;return t.delim==="."?r=ni(e,[]):(r=mf(t.delim,1,e,t.mode,[]),r.isMiddle={delim:t.delim,options:e}),r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?Rr("|","text"):Rr(t.delim,t.mode),n=new V("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var L6=(t,e)=>{var r=va(Ze(t.body,e),e),n=t.label.slice(1),a=e.sizeMultiplier,i,s,o=On(t.body);if(n==="sout")i=G(["stretchy","sout"]),i.height=e.fontMetrics().defaultRuleThickness/a,s=-.5*e.fontMetrics().xHeight;else if(n==="phase"){var c=gt({number:.6,unit:"pt"},e),d=gt({number:.35,unit:"ex"},e),h=e.havingBaseSizing();a=a/h.sizeMultiplier;var m=r.height+r.depth+c+d;r.style.paddingLeft=Z(m/2+c);var b=Math.floor(1e3*m*a),v=M3(b),y=new kn([new a0("phase",v)],{width:"400em",height:Z(b/1e3),viewBox:"0 0 400000 "+b,preserveAspectRatio:"xMinYMin slice"});i=i0(["hide-tail"],[y],e),i.style.height=Z(m),s=r.depth+c+d}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var w,k,M=0;/box/.test(n)?(M=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),w=e.fontMetrics().fboxsep+(n==="colorbox"?0:M),k=w):n==="angl"?(M=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),w=4*M,k=Math.max(0,.25-r.depth)):(w=o?.2:0,k=w),i=d6(r,n,w,k,e),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=Z(M)):n==="angl"&&M!==.049&&(i.style.borderTopWidth=Z(M),i.style.borderRightWidth=Z(M)),s=r.depth+k,t.backgroundColor&&(i.style.backgroundColor=t.backgroundColor,t.borderColor&&(i.style.borderColor=t.borderColor))}var C;if(t.backgroundColor)C=je({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:r,shift:0}]});else{var D=/cancel|phase/.test(n)?["svg-align"]:[];C=je({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:D}]})}return/cancel/.test(n)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(n)&&!o?G(["mord","cancel-lap"],[C],e):G(["mord"],[C],e)},P6=(t,e)=>{var r,n=new V(t.label.includes("colorbox")?"mpadded":"menclose",[tt(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 a=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+Z(a)+" solid "+t.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&n.setAttribute("mathbackground",t.backgroundColor),n};oe({type:"enclose",names:["\\colorbox"],numArgs:2,allowedInText:!0,argTypes:["color","hbox"],handler(t,e,r){var{parser:n,funcName:a}=t,i=Le(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:s}},htmlBuilder:L6,mathmlBuilder:P6});oe({type:"enclose",names:["\\fcolorbox"],numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"],handler(t,e,r){var{parser:n,funcName:a}=t,i=Le(e[0],"color-token").color,s=Le(e[1],"color-token").color,o=e[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,borderColor:i,body:o}}});oe({type:"enclose",names:["\\fbox"],numArgs:1,argTypes:["hbox"],allowedInText:!0,handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});oe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],numArgs:1,handler(t,e){var{parser:r,funcName:n}=t,a=e[0];return{type:"enclose",mode:r.mode,label:n,body:a}}});oe({type:"enclose",names:["\\sout"],numArgs:1,allowedInText:!0,handler(t,e){var{parser:r,funcName:n}=t;r.mode==="math"&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var a=e[0];return{type:"enclose",mode:r.mode,label:n,body:a}}});oe({type:"enclose",names:["\\angl"],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 vf={};function nn(t){for(var{type:e,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=t,o={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},c=0;c<r.length;++c)vf[r[c]]=o;i&&(ti[e]=i),s&&(ri[e]=s)}var bf={};function g(t,e){bf[t]=e}class yr{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 yr(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}class Tr{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 Tr(r,yr.range(this,e))}}function Q1(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 rl=t=>{var e=t.parser.settings;if(!e.displayMode)throw new W("{"+t.envName+"} can be used only in display mode.")},B6=new Set(["gather","gather*"]);function pu(t){if(!t.includes("ed"))return!t.includes("*")}function l0(t,e,r){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:s,colSeparationType:o,autoTag:c,singleRow:d,emptySingleRow:h,maxNumCols:m,leqno:b}=e;if(t.gullet.beginGroup(),d||t.gullet.macros.set("\\cr","\\\\\\relax"),!s){var v=t.gullet.expandMacroAsText("\\arraystretch");if(v==null)s=1;else if(s=parseFloat(v),!s||s<0)throw new W("Invalid \\arraystretch: "+v)}t.gullet.beginGroup();var y=[],w=[y],k=[],M=[],C=c!=null?[]:void 0;function D(){c&&t.gullet.macros.set("\\@eqnsw","1",!0)}function I(){C&&(t.gullet.macros.get("\\df@tag")?(C.push(t.subparse([new Tr("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):C.push(!!c&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(D(),M.push(Q1(t));;){var L=t.parseExpression(!1,d?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup();var R={type:"ordgroup",mode:t.mode,body:L};r&&(R={type:"styling",mode:t.mode,style:r,resetFont:!0,body:[R]}),y.push(R);var K=t.fetch().text;if(K==="&"){if(m&&y.length===m){if(d||o)throw new W("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(K==="\\end"){I(),y.length===1&&R.type==="styling"&&R.body.length===1&&R.body[0].type==="ordgroup"&&R.body[0].body.length===0&&(w.length>1||!h)&&w.pop(),M.length<w.length+1&&M.push([]);break}else if(K==="\\\\"){t.consume();var F=void 0;t.gullet.future().text!==" "&&(F=t.parseSizeGroup(!0)),k.push(F?F.value:null),I(),M.push(Q1(t)),y=[],w.push(y),D()}else throw new W("Expected & or \\\\ or \\cr or \\end",t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:a,arraystretch:s,body:w,cols:i,rowGaps:k,hskipBeforeAndAfter:n,hLinesBeforeRow:M,colSeparationType:o,tags:C,leqno:b}}function gu(t){return t.slice(0,1)==="d"?"display":"text"}var an=function(e,r){var n,a,i=e.body.length,s=e.hLinesBeforeRow,o=0,c=new Array(i),d=[],h=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),m=1/r.fontMetrics().ptPerEm,b=5*m;if(e.colSeparationType&&e.colSeparationType==="small"){var v=r.havingStyle(Me.SCRIPT).sizeMultiplier;b=.2778*(v/r.sizeMultiplier)}var y=e.colSeparationType==="CD"?gt({number:3,unit:"ex"},r):12*m,w=3*m,k=e.arraystretch*y,M=.7*k,C=.3*k,D=0;function I(Lt){for(var ht=0;ht<Lt.length;++ht)ht>0&&(D+=.25),d.push({pos:D,isDashed:Lt[ht]})}for(I(s[0]),n=0;n<e.body.length;++n){var L=e.body[n],R=M,K=C;o<L.length&&(o=L.length);var F={cells:new Array(L.length),height:0,depth:0,pos:0};for(a=0;a<L.length;++a){var B=Ze(L[a],r);K<B.depth&&(K=B.depth),R<B.height&&(R=B.height),F.cells[a]=B}var q=e.rowGaps[n],ee=0;q&&(ee=gt(q,r),ee>0&&(ee+=C,K<ee&&(K=ee),ee=0)),e.addJot&&n<e.body.length-1&&(K+=w),F.height=R,F.depth=K,D+=R,F.pos=D,D+=K+ee,c[n]=F,I(s[n+1])}var re=D/2+r.fontMetrics().axisHeight,xe=e.cols||[],te=[],be,ve,fe=[];if(e.tags&&e.tags.some(Lt=>Lt))for(n=0;n<i;++n){var X=c[n],ce=X.pos-re,me=e.tags[n],Ae=void 0;me===!0?Ae=G(["eqn-num"],[],r):me===!1?Ae=G([],[],r):Ae=G([],Ht(me,r,!0),r),Ae.depth=X.depth,Ae.height=X.height,fe.push({type:"elem",elem:Ae,shift:ce})}for(a=0,ve=0;a<o||ve<xe.length;++a,++ve){for(var Ue,Ie=xe[ve],Pe=!0;((It=Ie)==null?void 0:It.type)==="separator";){var It;if(Pe||(be=G(["arraycolsep"],[]),be.style.width=Z(r.fontMetrics().doubleRuleSep),te.push(be)),Ie.separator==="|"||Ie.separator===":"){var Ge=Ie.separator==="|"?"solid":"dashed",At=G(["vertical-separator"],[],r);At.style.height=Z(D),At.style.borderRightWidth=Z(h),At.style.borderRightStyle=Ge,At.style.margin="0 "+Z(-h/2);var qe=D-re;qe&&(At.style.verticalAlign=Z(-qe)),te.push(At)}else throw new W("Invalid separator type: "+Ie.separator);ve++,Ie=xe[ve],Pe=!1}if(!(a>=o)){var rt=void 0;if(a>0||e.hskipBeforeAndAfter){var kt,et;rt=(kt=(et=Ie)==null?void 0:et.pregap)!=null?kt:b,rt!==0&&(be=G(["arraycolsep"],[]),be.style.width=Z(rt),te.push(be))}var zt=[];for(n=0;n<i;++n){var Tt=c[n],nr=Tt.cells[a];if(nr){var Fr=Tt.pos-re;nr.depth=Tt.depth,nr.height=Tt.height,zt.push({type:"elem",elem:nr,shift:Fr})}}var Ut=je({positionType:"individualShift",children:zt}),fr=G(["col-align-"+(((Ue=Ie)==null?void 0:Ue.align)||"c")],[Ut]);if(te.push(fr),a<o-1||e.hskipBeforeAndAfter){var qt,Xt;rt=(qt=(Xt=Ie)==null?void 0:Xt.postgap)!=null?qt:b,rt!==0&&(be=G(["arraycolsep"],[]),be.style.width=Z(rt),te.push(be))}}}var ar=G(["mtable"],te);if(d.length>0){for(var jt=ga("hline",r,h),Dr=ga("hdashline",r,h),Ve=[{type:"elem",elem:ar,shift:0}];d.length>0;){var Ke=d.pop(),vt=Ke.pos-re;Ke.isDashed?Ve.push({type:"elem",elem:Dr,shift:vt}):Ve.push({type:"elem",elem:jt,shift:vt})}ar=je({positionType:"individualShift",children:Ve})}if(fe.length===0)return G(["mord"],[ar],r);var dt=je({positionType:"individualShift",children:fe}),_t=G(["tag"],[dt],r);return Nn([ar,_t])},F6={c:"center ",l:"left ",r:"right "},sn=function(e,r){for(var n=[],a=new V("mtd",[],["mtr-glue"]),i=new V("mtd",[],["mml-eqn-num"]),s=0;s<e.body.length;s++){for(var o=e.body[s],c=[],d=0;d<o.length;d++)c.push(new V("mtd",[tt(o[d],r)]));e.tags&&e.tags[s]&&(c.unshift(a),c.push(a),e.leqno?c.unshift(i):c.push(i)),n.push(new V("mtr",c))}var h=new V("mtable",n),m=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);h.setAttribute("rowspacing",Z(m));var b="",v="";if(e.cols&&e.cols.length>0){var y=e.cols,w="",k=!1,M=0,C=y.length;y[0].type==="separator"&&(b+="top ",M=1),y[y.length-1].type==="separator"&&(b+="bottom ",C-=1);for(var D=M;D<C;D++){var I=y[D];I.type==="align"?(v+=F6[I.align],k&&(w+="none "),k=!0):I.type==="separator"&&k&&(w+=I.separator==="|"?"solid ":"dashed ",k=!1)}h.setAttribute("columnalign",v.trim()),/[sd]/.test(w)&&h.setAttribute("columnlines",w.trim())}if(e.colSeparationType==="align"){for(var L=e.cols||[],R="",K=1;K<L.length;K++)R+=K%2?"0em ":"1em ";h.setAttribute("columnspacing",R.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?h.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?h.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?h.setAttribute("columnspacing","0.5em"):h.setAttribute("columnspacing","1em");var F="",B=e.hLinesBeforeRow;b+=B[0].length>0?"left ":"",b+=B[B.length-1].length>0?"right ":"";for(var q=1;q<B.length-1;q++)F+=B[q].length===0?"none ":B[q][0]?"dashed ":"solid ";return/[sd]/.test(F)&&h.setAttribute("rowlines",F.trim()),b!==""&&(h=new V("menclose",[h]),h.setAttribute("notation",b.trim())),e.arraystretch&&e.arraystretch<1&&(h=new V("mstyle",[h]),h.setAttribute("scriptlevel","1")),h},yf=function(e,r){e.envName.includes("ed")||rl(e);var n=[],a=e.envName==="split",i=l0(e.parser,{cols:n,addJot:!0,autoTag:a?void 0:pu(e.envName),emptySingleRow:!0,colSeparationType:e.envName.includes("at")?"alignat":"align",maxNumCols:a?2:void 0,leqno:e.parser.settings.leqno},"display"),s=0,o=0,c={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var d="",h=0;h<r[0].body.length;h++){var m=Le(r[0].body[h],"textord");d+=m.text}s=Number(d),o=s*2}var b=!o;i.body.forEach(function(k){for(var M=1;M<k.length;M+=2){var C=Le(k[M],"styling"),D=Le(C.body[0],"ordgroup");D.body.unshift(c)}if(b)o<k.length&&(o=k.length);else{var I=k.length/2;if(s<I)throw new W("Too many math in a row: "+("expected "+s+", but got "+I),k[0])}});for(var v=0;v<o;++v){var y="r",w=0;v%2===1?y="l":v>0&&b&&(w=1),n[v]={type:"align",align:y,pregap:w,postgap:0}}return i.colSeparationType=b?"align":"alignat",i};nn({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=$o(e[0]),n=r?[e[0]]:Le(e[0],"ordgroup").body,a=n.map(function(s){var o=Qo(s),c=o.text;if("lcr".includes(c))return{type:"align",align:c};if(c==="|")return{type:"separator",separator:"|"};if(c===":")return{type:"separator",separator:":"};throw new W("Unknown column alignment: "+c,s)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return l0(t.parser,i,gu(t.envName))},htmlBuilder:an,mathmlBuilder:sn});nn({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 a=t.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,!"lcr".includes(r))throw new W("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=l0(t.parser,n,gu(t.envName)),s=Math.max(0,...i.body.map(o=>o.length));return i.cols=new Array(s).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[i],left:e[0],right:e[1],rightColor:void 0}:i},htmlBuilder:an,mathmlBuilder:sn});nn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=l0(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:an,mathmlBuilder:sn});nn({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=$o(e[0]),n=r?[e[0]]:Le(e[0],"ordgroup").body,a=n.map(function(o){var c=Qo(o),d=c.text;if("lc".includes(d))return{type:"align",align:d};throw new W("Unknown column alignment: "+d,o)});if(a.length>1)throw new W("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5},s=l0(t.parser,i,"script");if(s.body.length>0&&s.body[0].length>1)throw new W("{subarray} can contain only one column");return s},htmlBuilder:an,mathmlBuilder:sn});nn({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=l0(t.parser,e,gu(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.includes("r")?".":"\\{",right:t.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:an,mathmlBuilder:sn});nn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:yf,htmlBuilder:an,mathmlBuilder:sn});nn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){B6.has(t.envName)&&rl(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:pu(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return l0(t.parser,e,"display")},htmlBuilder:an,mathmlBuilder:sn});nn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:yf,htmlBuilder:an,mathmlBuilder:sn});nn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){rl(t);var e={autoTag:pu(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return l0(t.parser,e,"display")},htmlBuilder:an,mathmlBuilder:sn});nn({type:"array",names:["CD"],props:{numArgs:0},handler(t){return rl(t),S6(t.parser)},htmlBuilder:an,mathmlBuilder:sn});g("\\nonumber","\\gdef\\@eqnsw{0}");g("\\notag","\\nonumber");oe({type:"text",names:["\\hline","\\hdashline"],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(t,e){throw new W(t.funcName+" valid only within array environment")}});var $1=vf;oe({type:"environment",names:["\\begin","\\end"],numArgs:1,argTypes:["text"],handler(t,e){var{parser:r,funcName:n}=t,a=e[0];if(a.type!=="ordgroup")throw new W("Invalid environment name",a);for(var i="",s=0;s<a.body.length;++s)i+=Le(a.body[s],"textord").text;if(n==="\\begin"){if(!$1.hasOwnProperty(i))throw new W("No such environment: "+i,a);var o=$1[i],{args:c,optArgs:d}=r.parseArguments("\\begin{"+i+"}",o),h={mode:r.mode,envName:i,parser:r},m=o.handler(h,c,d);r.expect("\\end",!1);var b=r.nextToken,v=Le(r.parseFunction(),"environment");if(v.name!==i)throw new W("Mismatch: \\begin{"+i+"} matched by \\end{"+v.name+"}",b);return m}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var H6=(t,e)=>{var r=t.font,n=e.withFont(r);return Ze(t.body,n)},U6=(t,e)=>{var r=t.font,n=e.withFont(r);return tt(t.body,n)},ed={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};oe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],numArgs:1,allowedInArgument:!0,handler:(t,e)=>{var{parser:r,funcName:n}=t,a=po(e[0]),i=n in ed?ed[n]:n;return{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:H6,mathmlBuilder:U6});oe({type:"mclass",names:["\\boldsymbol","\\bm"],numArgs:1,handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"mclass",mode:r.mode,mclass:el(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:On(n)}}});oe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],numArgs:0,allowedInText:!0,handler:(t,e)=>{var{parser:r,funcName:n,breakOnTokenText:a}=t,{mode:i}=r,s=r.parseExpression(!0,a);return{type:"font",mode:i,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:s}}}});var q6=(t,e)=>{var r=e.style,n=r.fracNum(),a=r.fracDen(),i;i=e.havingStyle(n);var s=Ze(t.numer,i,e);if(t.continued){var o=8.5/e.fontMetrics().ptPerEm,c=3.5/e.fontMetrics().ptPerEm;s.height=s.height<o?o:s.height,s.depth=s.depth<c?c:s.depth}i=e.havingStyle(a);var d=Ze(t.denom,i,e),h,m,b;t.hasBarLine?(t.barSize?(m=gt(t.barSize,e),h=ga("frac-line",e,m)):h=ga("frac-line",e),m=h.height,b=h.height):(h=null,m=0,b=e.fontMetrics().defaultRuleThickness);var v,y,w;r.size===Me.DISPLAY.size?(v=e.fontMetrics().num1,m>0?y=3*b:y=7*b,w=e.fontMetrics().denom1):(m>0?(v=e.fontMetrics().num2,y=b):(v=e.fontMetrics().num3,y=3*b),w=e.fontMetrics().denom2);var k;if(h){var C=e.fontMetrics().axisHeight;v-s.depth-(C+.5*m)<y&&(v+=y-(v-s.depth-(C+.5*m))),C-.5*m-(d.height-w)<y&&(w+=y-(C-.5*m-(d.height-w)));var D=-(C-.5*m);k=je({positionType:"individualShift",children:[{type:"elem",elem:d,shift:w},{type:"elem",elem:h,shift:D},{type:"elem",elem:s,shift:-v}]})}else{var M=v-s.depth-(d.height-w);M<y&&(v+=.5*(y-M),w+=.5*(y-M)),k=je({positionType:"individualShift",children:[{type:"elem",elem:d,shift:w},{type:"elem",elem:s,shift:-v}]})}i=e.havingStyle(r),k.height*=i.sizeMultiplier/e.sizeMultiplier,k.depth*=i.sizeMultiplier/e.sizeMultiplier;var I;r.size===Me.DISPLAY.size?I=e.fontMetrics().delim1:r.size===Me.SCRIPTSCRIPT.size?I=e.havingStyle(Me.SCRIPT).fontMetrics().delim2:I=e.fontMetrics().delim2;var L,R;return t.leftDelim==null?L=ni(e,["mopen"]):L=Pc(t.leftDelim,I,!0,e.havingStyle(r),t.mode,["mopen"]),t.continued?R=G([]):t.rightDelim==null?R=ni(e,["mclose"]):R=Pc(t.rightDelim,I,!0,e.havingStyle(r),t.mode,["mclose"]),G(["mord"].concat(i.sizingClasses(e)),[L,G(["mfrac"],[k]),R],e)},G6=(t,e)=>{var r=new V("mfrac",[tt(t.numer,e),tt(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var n=gt(t.barSize,e);r.setAttribute("linethickness",Z(n))}if(t.leftDelim!=null||t.rightDelim!=null){var a=[];if(t.leftDelim!=null){var i=new V("mo",[new Ct(t.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}if(a.push(r),t.rightDelim!=null){var s=new V("mo",[new Ct(t.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}return hu(a)}return r},wf=(t,e)=>{if(!e)return t;var r={type:"styling",mode:t.mode,style:e,body:[t]};return r};oe({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],numArgs:2,allowedInArgument:!0,handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0],i=e[1],s,o=null,c=null;switch(n){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",c=")";break;case"\\\\bracefrac":s=!1,o="\\{",c="\\}";break;case"\\\\brackfrac":s=!1,o="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}var d=n==="\\cfrac",h=null;return d||n.startsWith("\\d")?h="display":n.startsWith("\\t")&&(h="text"),wf({type:"genfrac",mode:r.mode,numer:a,denom:i,continued:d,hasBarLine:s,leftDelim:o,rightDelim:c,barSize:null},h)},htmlBuilder:q6,mathmlBuilder:G6});oe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],numArgs:0,infix:!0,handler(t){var{parser:e,funcName:r,token:n}=t,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:a,token:n}}});var td=["display","text","script","scriptscript"],rd=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};oe({type:"genfrac",names:["\\genfrac"],numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"],handler(t,e){var{parser:r}=t,n=e[4],a=e[5],i=po(e[0]),s=i.type==="atom"&&i.family==="open"?rd(i.text):null,o=po(e[1]),c=o.type==="atom"&&o.family==="close"?rd(o.text):null,d=Le(e[2],"size"),h,m=null;d.isBlank?h=!0:(m=d.value,h=m.number>0);var b=null,v=e[3];if(v.type==="ordgroup"){if(v.body.length>0){var y=Le(v.body[0],"textord");b=td[Number(y.text)]}}else v=Le(v,"textord"),b=td[Number(v.text)];return wf({type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:h,barSize:m,leftDelim:s,rightDelim:c},b)}});oe({type:"infix",names:["\\above"],numArgs:1,argTypes:["size"],infix:!0,handler(t,e){var{parser:r,funcName:n,token:a}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Le(e[0],"size").value,token:a}}});oe({type:"genfrac",names:["\\\\abovefrac"],numArgs:3,argTypes:["math","size","math"],handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0],i=Le(e[1],"infix").size;if(!i)throw new Error("\\\\abovefrac expected size, but got "+String(i));var s=e[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:s,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null}}});var xf=(t,e)=>{var r=e.style,n,a;t.type==="supsub"?(n=t.sup?Ze(t.sup,e.havingStyle(r.sup()),e):Ze(t.sub,e.havingStyle(r.sub()),e),a=Le(t.base,"horizBrace")):a=Le(t,"horizBrace");var i=Ze(a.base,e.havingBaseStyle(Me.DISPLAY)),s=Jo(a,e),o;if(a.isOver?o=je({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s,wrapperClasses:["svg-align"]}]}):o=je({positionType:"bottom",positionData:i.depth+.1+s.height,children:[{type:"elem",elem:s,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:i}]}),n){var c=G(["minner",a.isOver?"mover":"munder"],[o],e);a.isOver?o=je({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:n}]}):o=je({positionType:"bottom",positionData:c.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:c}]})}return G(["minner",a.isOver?"mover":"munder"],[o],e)},W6=(t,e)=>{var r=Zo(t.label);return new V(t.isOver?"mover":"munder",[tt(t.base,e),r])};oe({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],numArgs:1,handler(t,e){var{parser:r,funcName:n}=t;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:e[0]}},htmlBuilder:xf,mathmlBuilder:W6});oe({type:"href",names:["\\href"],numArgs:2,argTypes:["url","original"],allowedInText:!0,handler:(t,e)=>{var{parser:r}=t,n=e[1],a=Le(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:Ot(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=Ht(t.body,e,!1);return X3(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=s0(t.body,e);return r instanceof V||(r=new V("mrow",[r])),r.setAttribute("href",t.href),r}});oe({type:"href",names:["\\url"],numArgs:1,argTypes:["url"],allowedInText:!0,handler:(t,e)=>{var{parser:r}=t,n=Le(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var s=n[i];s==="~"&&(s="\\textasciitilde"),a.push({type:"textord",mode:"text",text:s})}var o={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:Ot(o)}}});oe({type:"hbox",names:["\\hbox"],numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0,handler(t,e){var{parser:r}=t;return{type:"hbox",mode:r.mode,body:Ot(e[0])}},htmlBuilder(t,e){var r=Ht(t.body,e.withFont(""),!1);return Nn(r)},mathmlBuilder(t,e){return new V("mrow",Or(t.body,e.withFont("")))}});oe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],numArgs:2,argTypes:["raw","original"],allowedInText:!0,handler:(t,e)=>{var{parser:r,funcName:n,token:a}=t,i=Le(e[0],"raw").string,s=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,c={};switch(n){case"\\htmlClass":c.class=i,o={command:"\\htmlClass",class:i};break;case"\\htmlId":c.id=i,o={command:"\\htmlId",id:i};break;case"\\htmlStyle":c.style=i,o={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var d=i.split(","),h=0;h<d.length;h++){var m=d[h],b=m.indexOf("=");if(b<0)throw new W("\\htmlData key/value '"+m+"' missing equals sign");var v=m.slice(0,b),y=m.slice(b+1);c["data-"+v.trim()]=y}o={command:"\\htmlData",attributes:c};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:c,body:Ot(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(t,e)=>{var r=Ht(t.body,e,!1),n=["enclosing"];t.attributes.class&&n.push(...t.attributes.class.trim().split(/\s+/));var a=G(n,r,e);for(var i in t.attributes)i!=="class"&&t.attributes.hasOwnProperty(i)&&a.setAttribute(i,t.attributes[i]);return a},mathmlBuilder:(t,e)=>s0(t.body,e)});oe({type:"htmlmathml",names:["\\html@mathml"],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:Ot(e[0]),mathml:Ot(e[1])}},htmlBuilder:(t,e)=>{var r=Ht(t.html,e,!1);return Nn(r)},mathmlBuilder:(t,e)=>s0(t.mathml,e)});var Dl=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 W("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!Gh(n))throw new W("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};oe({type:"includegraphics",names:["\\includegraphics"],numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1,handler:(t,e,r)=>{var{parser:n}=t,a={number:0,unit:"em"},i={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var c=Le(r[0],"raw").string,d=c.split(","),h=0;h<d.length;h++){var m=d[h].split("=");if(m.length===2){var b=m[1].trim();switch(m[0].trim()){case"alt":o=b;break;case"width":a=Dl(b);break;case"height":i=Dl(b);break;case"totalheight":s=Dl(b);break;default:throw new W("Invalid key: '"+m[0]+"' in \\includegraphics.")}}}var v=Le(e[0],"url").url;return o===""&&(o=v,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:v})?{type:"includegraphics",mode:n.mode,alt:o,width:a,height:i,totalheight:s,src:v}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{var r=gt(t.height,e),n=0;t.totalheight.number>0&&(n=gt(t.totalheight,e)-r);var a=0;t.width.number>0&&(a=gt(t.width,e));var i={height:Z(r+n)};a>0&&(i.width=Z(a)),n>0&&(i.verticalAlign=Z(-n));var s=new L3(t.src,t.alt,i);return s.height=r,s.depth=n,s},mathmlBuilder:(t,e)=>{var r=new V("mglyph",[]);r.setAttribute("alt",t.alt);var n=gt(t.height,e),a=0;if(t.totalheight.number>0&&(a=gt(t.totalheight,e)-n,r.setAttribute("valign",Z(-a))),r.setAttribute("height",Z(n+a)),t.width.number>0){var i=gt(t.width,e);r.setAttribute("width",Z(i))}return r.setAttribute("src",t.src),r}});oe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0,handler(t,e){var{parser:r,funcName:n}=t,a=Le(e[0],"size");if(r.settings.strict){var i=n[1]==="m",s=a.value.unit==="mu";i?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder(t,e){return jh(t.dimension,e)},mathmlBuilder(t,e){var r=gt(t.dimension,e);return new tf(r)}});oe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],numArgs:1,allowedInText:!0,handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=G([],[Ze(t.body,e)]),r=G(["inner"],[r],e)):r=G(["inner"],[Ze(t.body,e)]);var n=G(["fix"],[]),a=G([t.alignment],[r,n],e),i=G(["strut"]);return i.style.height=Z(a.height+a.depth),a.depth&&(i.style.verticalAlign=Z(-a.depth)),a.children.unshift(i),a=G(["thinbox"],[a],e),G(["mord","vbox"],[a],e)},mathmlBuilder:(t,e)=>{var r=new V("mpadded",[tt(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}});oe({type:"styling",names:["\\(","$"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(t,e){var{funcName:r,parser:n}=t,a=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",s=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",resetFont:!0,body:s}}});oe({type:"text",names:["\\)","\\]"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(t,e){throw new W("Mismatched "+t.funcName)}});var nd=(t,e)=>{switch(e.style.size){case Me.DISPLAY.size:return t.display;case Me.TEXT.size:return t.text;case Me.SCRIPT.size:return t.script;case Me.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};oe({type:"mathchoice",names:["\\mathchoice"],numArgs:4,primitive:!0,handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:Ot(e[0]),text:Ot(e[1]),script:Ot(e[2]),scriptscript:Ot(e[3])}},htmlBuilder:(t,e)=>{var r=nd(t,e),n=Ht(r,e,!1);return Nn(n)},mathmlBuilder:(t,e)=>{var r=nd(t,e);return s0(r,e)}});var Sf=(t,e,r,n,a,i,s)=>{t=G([],[t]);var o=r&&On(r),c,d;if(e){var h=Ze(e,n.havingStyle(a.sup()),n);d={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-h.depth)}}if(r){var m=Ze(r,n.havingStyle(a.sub()),n);c={elem:m,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-m.height)}}var b;if(d&&c){var v=n.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+t.depth+s;b=je({positionType:"bottom",positionData:v,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:Z(-i)},{type:"kern",size:c.kern},{type:"elem",elem:t},{type:"kern",size:d.kern},{type:"elem",elem:d.elem,marginLeft:Z(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(c){var y=t.height-s;b=je({positionType:"top",positionData:y,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:Z(-i)},{type:"kern",size:c.kern},{type:"elem",elem:t}]})}else if(d){var w=t.depth+s;b=je({positionType:"bottom",positionData:w,children:[{type:"elem",elem:t},{type:"kern",size:d.kern},{type:"elem",elem:d.elem,marginLeft:Z(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else return t;var k=[b];if(c&&i!==0&&!o){var M=G(["mspace"],[],n);M.style.marginRight=Z(i),k.unshift(M)}return G(["mop","op-limits"],k,n)},Ef=new Set(["\\smallint"]),Af=(t,e)=>{var r,n,a=!1,i;t.type==="supsub"?(r=t.sup,n=t.sub,i=Le(t.base,"op"),a=!0):i=Le(t,"op");var s=e.style,o=!1;s.size===Me.DISPLAY.size&&i.symbol&&!Ef.has(i.name)&&(o=!0);var c,d;if(i.symbol){var h=o?"Size2-Regular":"Size1-Regular",m="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(m=i.name.slice(1),i.name=m==="oiint"?"\\iint":"\\iiint"),c=lr(i.name,h,"math",e,["mop","op-symbol",o?"large-op":"small-op"]),d=c.italic,m.length>0){var b=Jh(m+"Size"+(o?"2":"1"),e);c=je({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:b,shift:o?.08:0}]}),i.name="\\"+m,c.classes.unshift("mop"),c.italic=d}}else if(i.body){var v=Ht(i.body,e,!0);v.length===1&&v[0]instanceof _r?(c=v[0],c.classes[0]="mop"):c=G(["mop"],v,e)}else{for(var y=[],w=1;w<i.name.length;w++)y.push(uu(i.name[w],i.mode,e));c=G(["mop"],y,e)}var k=0,M=0;if((c instanceof _r||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift){var C;k=(c.height-c.depth)/2-e.fontMetrics().axisHeight,M=(C=c.italic)!=null?C:0}return a?Sf(c,r,n,e,s,M,k):(k&&(c.style.position="relative",c.style.top=Z(k)),c)},V6=(t,e)=>{var r;if(t.symbol)r=new V("mo",[Rr(t.name,t.mode)]),Ef.has(t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new V("mo",Or(t.body,e));else{r=new V("mi",[new Ct(t.name.slice(1))]);var n=new V("mo",[Rr("⁡","text")]);t.parentIsSupSub?r=new V("mrow",[r,n]):r=ef([r,n])}return r},K6={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};oe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],numArgs:0,handler:(t,e)=>{var{parser:r,funcName:n}=t,a=n;return a.length===1&&(a=K6[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Af,mathmlBuilder:V6});oe({type:"op",names:["\\mathop"],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:Ot(n)}}});var Y6={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};oe({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"],numArgs:0,handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}}});oe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],numArgs:0,handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}}});oe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],numArgs:0,allowedInArgument:!0,handler(t){var{parser:e,funcName:r}=t,n=r;return n.length===1&&(n=Y6[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}}});var Tf=(t,e)=>{var r,n,a=!1,i;t.type==="supsub"?(r=t.sup,n=t.sub,i=Le(t.base,"operatorname"),a=!0):i=Le(t,"operatorname");var s;if(i.body.length>0){for(var o=i.body.map(m=>{var b="text"in m?m.text:void 0;return typeof b=="string"?{type:"textord",mode:m.mode,text:b}:m}),c=Ht(o,e.withFont("mathrm"),!0),d=0;d<c.length;d++){var h=c[d];h instanceof _r&&(h.text=h.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=G(["mop"],c,e)}else s=G(["mop"],[],e);return a?Sf(s,r,n,e,e.style,0,0):s},X6=(t,e)=>{for(var r=Or(t.body,e.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof tf))if(i instanceof V)switch(i.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var s=i.children[0];i.children.length===1&&s instanceof Ct?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(h=>h.toText()).join("");r=[new Ct(o)]}var c=new V("mi",r);c.setAttribute("mathvariant","normal");var d=new V("mo",[Rr("⁡","text")]);return t.parentIsSupSub?new V("mrow",[c,d]):ef([c,d])};oe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],numArgs:1,handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0];return{type:"operatorname",mode:r.mode,body:Ot(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Tf,mathmlBuilder:X6});g("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");R0({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?Nn(Ht(t.body,e,!1)):G(["mord"],Ht(t.body,e,!0),e)},mathmlBuilder(t,e){return s0(t.body,e,!0)}});oe({type:"overline",names:["\\overline"],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=ga("overline-line",e),a=e.fontMetrics().defaultRuleThickness,i=je({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]});return G(["mord","overline"],[i],e)},mathmlBuilder(t,e){var r=new V("mo",[new Ct("‾")]);r.setAttribute("stretchy","true");var n=new V("mover",[tt(t.body,e),r]);return n.setAttribute("accent","true"),n}});oe({type:"phantom",names:["\\phantom"],numArgs:1,allowedInText:!0,handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"phantom",mode:r.mode,body:Ot(n)}},htmlBuilder:(t,e)=>{var r=Ht(t.body,e.withPhantom(),!1);return Nn(r)},mathmlBuilder:(t,e)=>{var r=Or(t.body,e);return new V("mphantom",r)}});g("\\hphantom","\\smash{\\phantom{#1}}");oe({type:"vphantom",names:["\\vphantom"],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=G(["inner"],[Ze(t.body,e.withPhantom())]),n=G(["fix"],[]);return G(["mord","rlap"],[r,n],e)},mathmlBuilder:(t,e)=>{var r=Or(Ot(t.body),e),n=new V("mphantom",r),a=new V("mpadded",[n]);return a.setAttribute("width","0px"),a}});oe({type:"raisebox",names:["\\raisebox"],numArgs:2,argTypes:["size","hbox"],allowedInText:!0,handler(t,e){var{parser:r}=t,n=Le(e[0],"size").value,a=e[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(t,e){var r=Ze(t.body,e),n=gt(t.dy,e);return je({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(t,e){var r=new V("mpadded",[tt(t.body,e)]),n=t.dy.number+t.dy.unit;return r.setAttribute("voffset",n),r}});oe({type:"internal",names:["\\relax"],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});oe({type:"rule",names:["\\rule"],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"],handler(t,e,r){var{parser:n}=t,a=r[0],i=Le(e[0],"size"),s=Le(e[1],"size");return{type:"rule",mode:n.mode,shift:a&&Le(a,"size").value,width:i.value,height:s.value}},htmlBuilder(t,e){var r=G(["mord","rule"],[],e),n=gt(t.width,e),a=gt(t.height,e),i=t.shift?gt(t.shift,e):0;return r.style.borderRightWidth=Z(n),r.style.borderTopWidth=Z(a),r.style.bottom=Z(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=gt(t.width,e),n=gt(t.height,e),a=t.shift?gt(t.shift,e):0,i=e.color&&e.getColor()||"black",s=new V("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",Z(r)),s.setAttribute("height",Z(n));var o=new V("mpadded",[s]);return a>=0?o.setAttribute("height",Z(a)):(o.setAttribute("height",Z(a)),o.setAttribute("depth",Z(-a))),o.setAttribute("voffset",Z(a)),o}});function _f(t,e,r){for(var n=Ht(t,e,!1),a=e.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var s=n[i].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[i].classes,e.sizingClasses(r)):n[i].classes[s+1]==="reset-size"+e.size&&(n[i].classes[s+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return Nn(n)}var ad=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],j6=(t,e)=>{var r=e.havingSize(t.size);return _f(t.body,r,e)};oe({type:"sizing",names:ad,numArgs:0,allowedInText:!0,handler:(t,e)=>{var{breakOnTokenText:r,funcName:n,parser:a}=t,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:ad.indexOf(n)+1,body:i}},htmlBuilder:j6,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),n=Or(t.body,r),a=new V("mstyle",n);return a.setAttribute("mathsize",Z(r.sizeMultiplier)),a}});oe({type:"smash",names:["\\smash"],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(t,e,r)=>{var{parser:n}=t,a=!1,i=!1,s=r[0]&&Le(r[0],"ordgroup");if(s)for(var o,c=0;c<s.body.length;++c){var d=s.body[c];if(o=Qo(d).text,o==="t")a=!0;else if(o==="b")i=!0;else{a=!1,i=!1;break}}else a=!0,i=!0;var h=e[0];return{type:"smash",mode:n.mode,body:h,smashHeight:a,smashDepth:i}},htmlBuilder:(t,e)=>{var r=G([],[Ze(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0),t.smashDepth&&(r.depth=0),t.smashHeight&&t.smashDepth)return G(["mord","smash"],[r],e);if(r.children)for(var n=0;n<r.children.length;n++)t.smashHeight&&(r.children[n].height=0),t.smashDepth&&(r.children[n].depth=0);var a=je({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return G(["mord"],[a],e)},mathmlBuilder:(t,e)=>{var r=new V("mpadded",[tt(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}});oe({type:"sqrt",names:["\\sqrt"],numArgs:1,numOptionalArgs:1,handler(t,e,r){var{parser:n}=t,a=r[0],i=e[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(t,e){var r=Ze(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=va(r,e);var n=e.fontMetrics(),a=n.defaultRuleThickness,i=a;e.style.id<Me.TEXT.id&&(i=e.fontMetrics().xHeight);var s=a+i/4,o=r.height+r.depth+s+a,{span:c,ruleWidth:d,advanceWidth:h}=C6(o,e),m=c.height-d;m>r.height+r.depth+s&&(s=(s+m-r.height-r.depth)/2);var b=c.height-r.height-s-d;r.style.paddingLeft=Z(h);var v=je({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+b)},{type:"elem",elem:c},{type:"kern",size:d}]});if(t.index){var y=e.havingStyle(Me.SCRIPTSCRIPT),w=Ze(t.index,y,e),k=.6*(v.height-v.depth),M=je({positionType:"shift",positionData:-k,children:[{type:"elem",elem:w}]}),C=G(["root"],[M]);return G(["mord","sqrt"],[C,v],e)}else return G(["mord","sqrt"],[v],e)},mathmlBuilder(t,e){var{body:r,index:n}=t;return n?new V("mroot",[tt(r,e),tt(n,e)]):new V("msqrt",[tt(r,e)])}});var Bc={display:Me.DISPLAY,text:Me.TEXT,script:Me.SCRIPT,scriptscript:Me.SCRIPTSCRIPT};function Z6(t){return t in Bc}oe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],numArgs:0,allowedInText:!0,primitive:!0,handler(t,e){var{breakOnTokenText:r,funcName:n,parser:a}=t,i=a.parseExpression(!0,r),s=n.slice(1,n.length-5);if(!Z6(s))throw new Error("Unknown style: "+s);return{type:"styling",mode:a.mode,style:s,body:i}},htmlBuilder(t,e){var r=Bc[t.style],n=e.havingStyle(r);return t.resetFont&&(n=n.withFont("")),_f(t.body,n,e)},mathmlBuilder(t,e){var r=Bc[t.style],n=e.havingStyle(r);t.resetFont&&(n=n.withFont(""));var a=Or(t.body,n),i=new V("mstyle",a),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[t.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}});var J6=function(e,r){var n=e.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===Me.DISPLAY.size||n.alwaysHandleSupSub);return a?Af:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===Me.DISPLAY.size||n.limits);return i?Tf:null}else{if(n.type==="accent")return On(n.base)?sf:null;if(n.type==="horizBrace"){var s=!e.sub;return s===n.isOver?xf:null}else return null}else return null};R0({type:"supsub",htmlBuilder(t,e){var r=J6(t,e);if(r)return r(t,e);var{base:n,sup:a,sub:i}=t,s=Ze(n,e),o,c,d=e.fontMetrics(),h=0,m=0,b=n&&On(n);if(a){var v=e.havingStyle(e.style.sup());o=Ze(a,v,e),b||(h=s.height-v.fontMetrics().supDrop*v.sizeMultiplier/e.sizeMultiplier)}if(i){var y=e.havingStyle(e.style.sub());c=Ze(i,y,e),b||(m=s.depth+y.fontMetrics().subDrop*y.sizeMultiplier/e.sizeMultiplier)}var w;e.style===Me.DISPLAY?w=d.sup1:e.style.cramped?w=d.sup3:w=d.sup2;var k=e.sizeMultiplier,M=Z(.5/d.ptPerEm/k),C=null;if(c){var D=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");if(s instanceof _r||D){var I;C=Z(-((I=s.italic)!=null?I:0))}}var L;if(o&&c){h=Math.max(h,w,o.depth+.25*d.xHeight),m=Math.max(m,d.sub2);var R=d.defaultRuleThickness,K=4*R;if(h-o.depth-(c.height-m)<K){m=K-(h-o.depth)+c.height;var F=.8*d.xHeight-(h-o.depth);F>0&&(h+=F,m-=F)}var B=[{type:"elem",elem:c,shift:m,marginRight:M,marginLeft:C},{type:"elem",elem:o,shift:-h,marginRight:M}];L=je({positionType:"individualShift",children:B})}else if(c){m=Math.max(m,d.sub1,c.height-.8*d.xHeight);var q=[{type:"elem",elem:c,marginLeft:C,marginRight:M}];L=je({positionType:"shift",positionData:m,children:q})}else if(o)h=Math.max(h,w,o.depth+.25*d.xHeight),L=je({positionType:"shift",positionData:-h,children:[{type:"elem",elem:o,marginRight:M}]});else throw new Error("supsub must have either sup or sub.");var ee=Dc(s,"right")||"mord";return G([ee],[s,G(["msupsub"],[L])],e)},mathmlBuilder(t,e){var r=!1,n,a;t.base&&t.base.type==="horizBrace"&&(a=!!t.sup,a===t.base.isOver&&(r=!0,n=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var i=[tt(t.base,e)];t.sub&&i.push(tt(t.sub,e)),t.sup&&i.push(tt(t.sup,e));var s;if(r)s=n?"mover":"munder";else if(t.sub)if(t.sup){var d=t.base;d&&d.type==="op"&&d.limits&&e.style===Me.DISPLAY||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(e.style===Me.DISPLAY||d.limits)?s="munderover":s="msubsup"}else{var c=t.base;c&&c.type==="op"&&c.limits&&(e.style===Me.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||e.style===Me.DISPLAY)?s="munder":s="msub"}else{var o=t.base;o&&o.type==="op"&&o.limits&&(e.style===Me.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||e.style===Me.DISPLAY)?s="mover":s="msup"}return new V(s,i)}});R0({type:"atom",htmlBuilder(t,e){return uu(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new V("mo",[Rr(t.text,t.mode)]);if(t.family==="bin"){var n=fu(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 kf={mi:"italic",mn:"normal",mtext:"normal"};R0({type:"mathord",htmlBuilder(t,e){return jo(t,e)},mathmlBuilder(t,e){var r=new V("mi",[Rr(t.text,t.mode,e)]),n=fu(t,e)||"italic";return n!==kf[r.type]&&r.setAttribute("mathvariant",n),r}});R0({type:"textord",htmlBuilder(t,e){return jo(t,e)},mathmlBuilder(t,e){var r=Rr(t.text,t.mode,e),n=fu(t,e)||"normal",a;return t.mode==="text"?a=new V("mtext",[r]):/[0-9]/.test(t.text)?a=new V("mn",[r]):t.text==="\\prime"?a=new V("mo",[r]):a=new V("mi",[r]),n!==kf[a.type]&&a.setAttribute("mathvariant",n),a}});var Il={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},zl={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};R0({type:"spacing",htmlBuilder(t,e){if(zl.hasOwnProperty(t.text)){var r=zl[t.text].className||"";if(t.mode==="text"){var n=jo(t,e);return n.classes.push(r),n}else return G(["mspace",r],[uu(t.text,t.mode,e)],e)}else{if(Il.hasOwnProperty(t.text))return G(["mspace",Il[t.text]],[],e);throw new W('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(zl.hasOwnProperty(t.text))r=new V("mtext",[new Ct(" ")]);else{if(Il.hasOwnProperty(t.text))return new V("mspace");throw new W('Unknown type of space "'+t.text+'"')}return r}});var id=()=>{var t=new V("mtd",[]);return t.setAttribute("width","50%"),t};R0({type:"tag",mathmlBuilder(t,e){var r=new V("mtable",[new V("mtr",[id(),new V("mtd",[s0(t.body,e)]),id(),new V("mtd",[s0(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var sd={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},od={"\\textbf":"textbf","\\textmd":"textmd"},Q6={"\\textit":"textit","\\textup":"textup"},ld=(t,e)=>{var r=t.font;if(r){if(sd[r])return e.withTextFontFamily(sd[r]);if(od[r])return e.withTextFontWeight(od[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(Q6[r])};oe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0,handler(t,e){var{parser:r,funcName:n}=t,a=e[0];return{type:"text",mode:r.mode,body:Ot(a),font:n}},htmlBuilder(t,e){var r=ld(t,e),n=Ht(t.body,r,!0);return G(["mord","text"],n,r)},mathmlBuilder(t,e){var r=ld(t,e);return s0(t.body,r)}});oe({type:"underline",names:["\\underline"],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=ga("underline-line",e),a=e.fontMetrics().defaultRuleThickness,i=je({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]});return G(["mord","underline"],[i],e)},mathmlBuilder(t,e){var r=new V("mo",[new Ct("‾")]);r.setAttribute("stretchy","true");var n=new V("munder",[tt(t.body,e),r]);return n.setAttribute("accentunder","true"),n}});oe({type:"vcenter",names:["\\vcenter"],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,a=.5*(r.height-n-(r.depth+n));return je({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]})},mathmlBuilder(t,e){var r=new V("mpadded",[tt(t.body,e)],["vcenter"]);return new V("mrow",[r])}});oe({type:"verb",names:["\\verb"],numArgs:0,allowedInText:!0,handler(t,e,r){throw new W("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=cd(t),n=[],a=e.havingStyle(e.style.text()),i=0;i<r.length;i++){var s=r[i];s==="~"&&(s="\\textasciitilde"),n.push(lr(s,"Typewriter-Regular",t.mode,a,["mord","texttt"]))}return G(["mord","text"].concat(a.sizingClasses(e)),Xh(n),a)},mathmlBuilder(t,e){var r=new Ct(cd(t)),n=new V("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var cd=t=>t.body.replace(/ /g,t.star?"␣":" "),$n=Qh,Mf=`[ \r
281
+ ]`,$6="\\\\[a-zA-Z@]+",eg="\\\\[^\uD800-\uDFFF]",tg="("+$6+")"+Mf+"*",rg=`\\\\(
282
+ |[ \r ]+
283
+ ?)[ \r ]*`,Fc="[̀-ͯ]",ng=new RegExp(Fc+"+$"),ag="("+Mf+"+)|"+(rg+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Fc+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Fc+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+tg)+("|"+eg+")");class ud{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(ag,"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 Tr("EOF",new yr(this,r,r));var n=this.tokenRegex.exec(e);if(n===null||n.index!==r)throw new W("Unexpected character: '"+e[r]+"'",new Tr(e[r],new yr(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=e.indexOf(`
284
+ `,this.tokenRegex.lastIndex);return i===-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=i+1,this.lex()}return new Tr(a,new yr(this,r,this.tokenRegex.lastIndex))}}class ig{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 W("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 a=0;a<this.undefStack.length;a++)delete this.undefStack[a][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var sg=bf;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 dd={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=0;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 W("\\char` missing argument");n=e.text.charCodeAt(0)}else r=10;if(r){if(n=dd[e.text],n==null||n>=r)throw new W("Invalid base-"+r+" digit "+e.text);for(var a;(a=dd[t.future().text])!=null&&a<r;)n*=r,n+=a,t.popToken()}return"\\@char{"+n+"}"});var vu=(t,e,r,n)=>{var a=t.consumeArg().tokens;if(a.length!==1)throw new W("\\newcommand's first argument must be a macro name");var i=a[0].text,s=t.isDefined(i);if(s&&!e)throw new W("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!s&&!r)throw new W("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var o=0;if(a=t.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var c="",d=t.expandNextToken();d.text!=="]"&&d.text!=="EOF";)c+=d.text,d=t.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new W("Invalid number of arguments: "+c);o=parseInt(c),a=t.consumeArg().tokens}return s&&n||t.macros.set(i,{tokens:a,numArgs:o}),""};g("\\newcommand",t=>vu(t,!1,!0,!1));g("\\renewcommand",t=>vu(t,!0,!1,!1));g("\\providecommand",t=>vu(t,!0,!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),$n[r],lt.math[r],lt.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("\\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}\\nobreak}{\\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("\\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 hd={",":"\\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"},og=new Set(["bin","rel"]);g("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in hd?e=hd[r]:(r.slice(0,4)==="\\not"||r in lt.math&&og.has(lt.math[r].group))&&(e="\\dotsb"),e});var bu={")":!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 bu?"\\ldots\\,":"\\ldots"});g("\\dotsc",function(t){var e=t.future().text;return e in bu&&e!==","?"\\ldots\\,":"\\ldots"});g("\\cdots",function(t){var e=t.future().text;return e in bu?"\\@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 W("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 Of=Z(en["Main-Regular"][84][1]-.7*en["Main-Regular"][65][1]);g("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Of+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");g("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Of+"}{\\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 Cf=t=>e=>{var r=e.consumeArg().tokens,n=e.consumeArg().tokens,a=e.consumeArg().tokens,i=e.consumeArg().tokens,s=e.macros.get("|"),o=e.macros.get("\\|");e.macros.beginGroup();var c=m=>b=>{t&&(b.macros.set("|",s),a.length&&b.macros.set("\\|",o));var v=m;if(!m&&a.length){var y=b.future();y.text==="|"&&(b.popToken(),v=!0)}return{tokens:v?a:n,numArgs:0}};e.macros.set("|",c(!1)),a.length&&e.macros.set("\\|",c(!0));var d=e.consumeArg().tokens,h=e.expandTokens([...i,...d,...r]);return e.macros.endGroup(),{tokens:h.reverse(),numArgs:0}};g("\\bra@ket",Cf(!1));g("\\bra@set",Cf(!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 Nf={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class lg{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 ig(sg,r.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new ud(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,a;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new Tr("EOF",n.loc)),this.pushTokens(a),new Tr("",yr.range(r,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 a=this.future(),i,s=0,o=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++s;else if(i.text==="}"){if(--s,s===-1)throw new W("Extra }",i)}else if(i.text==="EOF")throw new W("Unexpected end of input in a macro argument, expected '"+(e&&n?e[o]:"}")+"'",i);if(e&&n)if((s===0||s===1&&e[o]==="{")&&i.text===e[o]){if(++o,o===e.length){r.splice(-o,o);break}}else o=0}while(s!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:i}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new W("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;a<n.length;a++){var i=this.popToken();if(n[a]!==i.text)throw new W("Use of the macro doesn't match its definition",i)}}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 W("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||e&&a.unexpandable){if(e&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new W("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var i=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var c=i[o];if(c.text==="#"){if(o===0)throw new W("Incomplete placeholder at end of macro body",c);if(c=i[--o],c.text==="#")i.splice(o+1,1);else if(/^[1-9]$/.test(c.text))i.splice(o,2,...s[+c.text-1]);else throw new W("Not a valid argument number",c)}}}return this.pushTokens(i),i.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}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Tr(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 a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}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 a=typeof r=="function"?r(this):r;if(typeof a=="string"){var i=0;if(a.includes("#"))for(var s=a.replace(/##/g,"");s.includes("#"+(i+1));)++i;for(var o=new ud(a,this.settings),c=[],d=o.lex();d.text!=="EOF";)c.push(d),d=o.lex();c.reverse();var h={tokens:c,numArgs:i};return h}return a}isDefined(e){return this.macros.has(e)||$n.hasOwnProperty(e)||lt.math.hasOwnProperty(e)||lt.text.hasOwnProperty(e)||Nf.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:$n.hasOwnProperty(e)&&!$n[e].primitive}}var fd=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Bs=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Ll={"́":{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"}},md={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class nl{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 lg(e,r,this.mode),this.settings=r,this.leftrightDepth=0,this.nextToken=null}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new W("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 Tr("}")),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 a=this.fetch();if(nl.endOfExpression.has(a.text)||r&&a.text===r||e&&$n[a.text]&&$n[a.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var r=-1,n,a=0;a<e.length;a++){var i=e[a];if(i.type==="infix"){if(r!==-1)throw new W("only one infix operator per group",i.token);r=a,n=i.replaceWith}}if(r!==-1&&n){var s,o,c=e.slice(0,r),d=e.slice(r+1);c.length===1&&c[0].type==="ordgroup"?s=c[0]:s={type:"ordgroup",mode:this.mode,body:c},d.length===1&&d[0].type==="ordgroup"?o=d[0]:o={type:"ordgroup",mode:this.mode,body:d};var h;return n==="\\\\abovefrac"?h=this.callFunction(n,[s,e[r],o],[]):h=this.callFunction(n,[s,o],[]),[h]}else return e}handleSupSubscript(e){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var a;do{var i;a=this.parseGroup(e)}while(((i=a)==null?void 0:i.type)==="internal");if(!a)throw new W("Expected group after '"+n+"'",r);return a}formatUnsupportedCmd(e){for(var r=[],n=0;n<e.length;n++)r.push({type:"textord",mode:"text",text:e[n]});var a={type:"text",mode:this.mode,body:r},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return i}parseAtom(e){var r=this.parseGroup("atom",e);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,a;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(r&&r.type==="op")r.limits=i.text==="\\limits",r.alwaysHandleSupSub=!0;else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=i.text==="\\limits");else throw new W("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new W("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new W("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new W("Double superscript",i);var s={type:"textord",mode:this.mode,text:"\\prime"},o=[s];for(this.consume();this.fetch().text==="'";)o.push(s),this.consume();this.fetch().text==="^"&&o.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:o}}else if(Bs[i.text]){var c=fd.test(i.text),d=[];for(d.push(new Tr(Bs[i.text])),this.consume();;){var h=this.fetch().text;if(!Bs[h]||fd.test(h)!==c)break;d.unshift(new Tr(Bs[h])),this.consume()}var m=this.subparse(d);c?a={type:"ordgroup",mode:"math",body:m}:n={type:"ordgroup",mode:"math",body:m}}else break}return n&&a?{type:"supsub",mode:this.mode,base:r,sup:n,sub:a}:n?{type:"supsub",mode:this.mode,base:r,sup:n}:a?{type:"supsub",mode:this.mode,base:r,sub:a}:r}parseFunction(e,r){var n=this.fetch(),a=n.text,i=$n[a];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new W("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new W("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new W("Can't use function '"+a+"' in math mode",n);var{args:s,optArgs:o}=this.parseArguments(a,i);return this.callFunction(a,s,o,n,e)}callFunction(e,r,n,a,i){var s={funcName:e,parser:this,token:a,breakOnTokenText:i},o=$n[e];if(o&&o.handler)return o.handler(s,r,n);throw new W("No function handler for "+e)}parseArguments(e,r){var n,a=(n=r.numOptionalArgs)!=null?n:0,i=r.numArgs+a;if(i===0)return{args:[],optArgs:[]};for(var s=[],o=[],c=0;c<i;c++){var d,h=(d=r.argTypes)==null?void 0:d[c],m=c<a;("primitive"in r&&r.primitive&&h==null||r.type==="sqrt"&&c===1&&o[0]==null)&&(h="primitive");var b=this.parseGroupOfType("argument to '"+e+"'",h,m);if(m)o.push(b);else if(b!=null)s.push(b);else throw new W("Null argument, please report this as a bug")}return{args:s,optArgs:o}}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 a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text",resetFont:!0}:null}case"raw":{var i=this.parseStringGroup(n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new W("A primitive argument cannot be optional");var s=this.parseGroup(e);if(s==null)throw new W("Expected group as "+e,this.fetch());return s}case"original":case void 0:return this.parseArgumentGroup(n);default:throw new W("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e){var r=this.gullet.scanArgument(e);if(r==null)return null;for(var n="",a;(a=this.fetch()).text!=="EOF";)n+=a.text,this.consume();return this.consume(),r.text=n,r}parseRegexGroup(e,r){for(var n=this.fetch(),a=n,i="",s;(s=this.fetch()).text!=="EOF"&&e.test(i+s.text);)a=s,i+=a.text,this.consume();if(i==="")throw new W("Invalid "+r+": '"+n.text+"'",n);return n.range(a,i)}parseColorGroup(e){var r=this.parseStringGroup(e);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new W("Invalid color: '"+r.text+"'",r);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(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(e),!r)return null;!e&&r.text.length===0&&(r.text="0pt",n=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!a)throw new W("Invalid size: '"+r.text+"'",r);var i={number:+(a[1]+a[2]),unit:a[3]};if(!Gh(i))throw new W("Invalid unit: '"+i.unit+"'",r);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup(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 a=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return r&&this.switchMode(a),s}parseGroup(e,r){var n=this.fetch(),a=n.text,i;if(a==="{"||a==="\\begingroup"){this.consume();var s=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,s),c=this.fetch();this.expect(s),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:yr.range(n,c),body:o,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,e)||this.parseSymbol(),i==null&&a[0]==="\\"&&!Nf.hasOwnProperty(a)){if(this.settings.throwOnError)throw new W("Undefined control sequence: "+a,n);i=this.formatUnsupportedCmd(a),this.consume()}return i}formLigatures(e){for(var r=e.length-1,n=0;n<r;++n){var a=e[n];if(a.type==="textord"){var i=a.text,s=e[n+1];if(!(!s||s.type!=="textord")){if(i==="-"&&s.text==="-"){var o=e[n+2];n+1<r&&o&&o.type==="textord"&&o.text==="-"?(e.splice(n,3,{type:"textord",mode:"text",loc:yr.range(a,o),text:"---"}),r-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:yr.range(a,s),text:"--"}),r-=1)}(i==="'"||i==="`")&&s.text===i&&(e.splice(n,2,{type:"textord",mode:"text",loc:yr.range(a,s),text:i+i}),r-=1)}}}}parseSymbol(){var e=this.fetch(),r=e.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new W(`\\verb assertion failed --
285
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}md.hasOwnProperty(r[0])&&!lt[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=md[r[0]]+r.slice(1));var i=ng.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(lt[this.mode][r]){this.settings.strict&&this.mode==="math"&&Tc.includes(r)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var o=lt[this.mode][r].group,c=yr.range(e),d;m6(o)?d={type:"atom",mode:this.mode,family:o,loc:c,text:r}:d={type:o,mode:this.mode,loc:c,text:r},s=d}else if(r.charCodeAt(0)>=128)this.settings.strict&&(qh(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:yr.range(e),text:r};else return null;if(this.consume(),i)for(var h=0;h<i[0].length;h++){var m=i[0][h];if(!Ll[m])throw new W("Unknown accent ' "+m+"'",e);var b=Ll[m][this.mode]||Ll[m].text;if(!b)throw new W("Accent "+m+" unsupported in "+this.mode+" mode",e);s={type:"accent",mode:this.mode,loc:yr.range(e),label:b,isStretchy:!1,isShifty:!0,base:s}}return s}}nl.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var yu=function(e,r){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new nl(e,r);delete n.gullet.macros.current["\\df@tag"];var a=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new W("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new Tr("\\df@tag")])}]}return a},Rf=function(e,r,n){r.textContent="";var a=wu(e,n).toNode();r.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Rf=function(){throw new W("KaTeX doesn't work in quirks mode.")});var cg=function(e,r){var n=wu(e,r).toMarkup();return n},ug=function(e,r){var n=new su(r);return yu(e,n)},Df=function(e,r,n){if(n.throwOnError||!(e instanceof W))throw e;var a=G(["katex-error"],[new _r(r)]);return a.setAttribute("title",e.toString()),a.setAttribute("style","color:"+n.errorColor),a},wu=function(e,r){var n=new su(r);try{var a=yu(e,n);return s6(a,e,n)}catch(i){return Df(i,e,n)}},dg=function(e,r){var n=new su(r);try{var a=yu(e,n);return o6(a,e,n)}catch(i){return Df(i,e,n)}},hg="0.17.0",fg={Span:ka,Anchor:Yo,SymbolNode:_r,SvgNode:kn,PathNode:a0,LineNode:Ac},mg={version:hg,render:Rf,renderToString:cg,ParseError:W,SETTINGS_SCHEMA:xc,__parse:ug,__renderToDomTree:wu,__renderToHTMLTree:dg,__setFontMetrics:U3,__defineSymbol:l,__defineFunction:oe,__defineMacro:g,__domTree:fg},Pl,pd;function pg(){if(pd)return Pl;pd=1;function t(A){return A instanceof Map?A.clear=A.delete=A.set=function(){throw new Error("map is read-only")}:A instanceof Set&&(A.add=A.clear=A.delete=function(){throw new Error("set is read-only")}),Object.freeze(A),Object.getOwnPropertyNames(A).forEach(P=>{const $=A[P],ke=typeof $;(ke==="object"||ke==="function")&&!Object.isFrozen($)&&t($)}),A}class e{constructor(P){P.data===void 0&&(P.data={}),this.data=P.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(A){return A.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function n(A,...P){const $=Object.create(null);for(const ke in A)$[ke]=A[ke];return P.forEach(function(ke){for(const ft in ke)$[ft]=ke[ft]}),$}const a="</span>",i=A=>!!A.scope,s=(A,{prefix:P})=>{if(A.startsWith("language:"))return A.replace("language:","language-");if(A.includes(".")){const $=A.split(".");return[`${P}${$.shift()}`,...$.map((ke,ft)=>`${ke}${"_".repeat(ft+1)}`)].join(" ")}return`${P}${A}`};class o{constructor(P,$){this.buffer="",this.classPrefix=$.classPrefix,P.walk(this)}addText(P){this.buffer+=r(P)}openNode(P){if(!i(P))return;const $=s(P.scope,{prefix:this.classPrefix});this.span($)}closeNode(P){i(P)&&(this.buffer+=a)}value(){return this.buffer}span(P){this.buffer+=`<span class="${P}">`}}const c=(A={})=>{const P={children:[]};return Object.assign(P,A),P};class d{constructor(){this.rootNode=c(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(P){this.top.children.push(P)}openNode(P){const $=c({scope:P});this.add($),this.stack.push($)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(P){return this.constructor._walk(P,this.rootNode)}static _walk(P,$){return typeof $=="string"?P.addText($):$.children&&(P.openNode($),$.children.forEach(ke=>this._walk(P,ke)),P.closeNode($)),P}static _collapse(P){typeof P!="string"&&P.children&&(P.children.every($=>typeof $=="string")?P.children=[P.children.join("")]:P.children.forEach($=>{d._collapse($)}))}}class h extends d{constructor(P){super(),this.options=P}addText(P){P!==""&&this.add(P)}startScope(P){this.openNode(P)}endScope(){this.closeNode()}__addSublanguage(P,$){const ke=P.root;$&&(ke.scope=`language:${$}`),this.add(ke)}toHTML(){return new o(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function m(A){return A?typeof A=="string"?A:A.source:null}function b(A){return w("(?=",A,")")}function v(A){return w("(?:",A,")*")}function y(A){return w("(?:",A,")?")}function w(...A){return A.map($=>m($)).join("")}function k(A){const P=A[A.length-1];return typeof P=="object"&&P.constructor===Object?(A.splice(A.length-1,1),P):{}}function M(...A){return"("+(k(A).capture?"":"?:")+A.map(ke=>m(ke)).join("|")+")"}function C(A){return new RegExp(A.toString()+"|").exec("").length-1}function D(A,P){const $=A&&A.exec(P);return $&&$.index===0}const I=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function L(A,{joinWith:P}){let $=0;return A.map(ke=>{$+=1;const ft=$;let Ce=m(ke),ue="";for(;Ce.length>0;){const de=I.exec(Ce);if(!de){ue+=Ce;break}ue+=Ce.substring(0,de.index),Ce=Ce.substring(de.index+de[0].length),de[0][0]==="\\"&&de[1]?ue+="\\"+String(Number(de[1])+ft):(ue+=de[0],de[0]==="("&&$++)}return ue}).map(ke=>`(${ke})`).join(P)}const R=/\b\B/,K="[a-zA-Z]\\w*",F="[a-zA-Z_]\\w*",B="\\b\\d+(\\.\\d+)?",q="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ee="\\b(0b[01]+)",re="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",xe=(A={})=>{const P=/^#![ ]*\//;return A.binary&&(A.begin=w(P,/.*\b/,A.binary,/\b.*/)),n({scope:"meta",begin:P,end:/$/,relevance:0,"on:begin":($,ke)=>{$.index!==0&&ke.ignoreMatch()}},A)},te={begin:"\\\\[\\s\\S]",relevance:0},be={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[te]},ve={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[te]},fe={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/},X=function(A,P,$={}){const ke=n({scope:"comment",begin:A,end:P,contains:[]},$);ke.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 ft=M("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 ke.contains.push({begin:w(/[ ]+/,"(",ft,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),ke},ce=X("//","$"),me=X("/\\*","\\*/"),Ae=X("#","$"),Ue={scope:"number",begin:B,relevance:0},Ie={scope:"number",begin:q,relevance:0},Pe={scope:"number",begin:ee,relevance:0},It={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[te,{begin:/\[/,end:/\]/,relevance:0,contains:[te]}]},Ge={scope:"title",begin:K,relevance:0},At={scope:"title",begin:F,relevance:0},qe={begin:"\\.\\s*"+F,relevance:0};var kt=Object.freeze({__proto__:null,APOS_STRING_MODE:be,BACKSLASH_ESCAPE:te,BINARY_NUMBER_MODE:Pe,BINARY_NUMBER_RE:ee,COMMENT:X,C_BLOCK_COMMENT_MODE:me,C_LINE_COMMENT_MODE:ce,C_NUMBER_MODE:Ie,C_NUMBER_RE:q,END_SAME_AS_BEGIN:function(A){return Object.assign(A,{"on:begin":(P,$)=>{$.data._beginMatch=P[1]},"on:end":(P,$)=>{$.data._beginMatch!==P[1]&&$.ignoreMatch()}})},HASH_COMMENT_MODE:Ae,IDENT_RE:K,MATCH_NOTHING_RE:R,METHOD_GUARD:qe,NUMBER_MODE:Ue,NUMBER_RE:B,PHRASAL_WORDS_MODE:fe,QUOTE_STRING_MODE:ve,REGEXP_MODE:It,RE_STARTERS_RE:re,SHEBANG:xe,TITLE_MODE:Ge,UNDERSCORE_IDENT_RE:F,UNDERSCORE_TITLE_MODE:At});function et(A,P){A.input[A.index-1]==="."&&P.ignoreMatch()}function zt(A,P){A.className!==void 0&&(A.scope=A.className,delete A.className)}function Tt(A,P){P&&A.beginKeywords&&(A.begin="\\b("+A.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",A.__beforeBegin=et,A.keywords=A.keywords||A.beginKeywords,delete A.beginKeywords,A.relevance===void 0&&(A.relevance=0))}function nr(A,P){Array.isArray(A.illegal)&&(A.illegal=M(...A.illegal))}function Fr(A,P){if(A.match){if(A.begin||A.end)throw new Error("begin & end are not supported with match");A.begin=A.match,delete A.match}}function Ut(A,P){A.relevance===void 0&&(A.relevance=1)}const fr=(A,P)=>{if(!A.beforeMatch)return;if(A.starts)throw new Error("beforeMatch cannot be used with starts");const $=Object.assign({},A);Object.keys(A).forEach(ke=>{delete A[ke]}),A.keywords=$.keywords,A.begin=w($.beforeMatch,b($.begin)),A.starts={relevance:0,contains:[Object.assign($,{endsParent:!0})]},A.relevance=0,delete $.beforeMatch},qt=["of","and","for","in","not","or","if","then","parent","list","value"],Xt="keyword";function ar(A,P,$=Xt){const ke=Object.create(null);return typeof A=="string"?ft($,A.split(" ")):Array.isArray(A)?ft($,A):Object.keys(A).forEach(function(Ce){Object.assign(ke,ar(A[Ce],P,Ce))}),ke;function ft(Ce,ue){P&&(ue=ue.map(de=>de.toLowerCase())),ue.forEach(function(de){const Te=de.split("|");ke[Te[0]]=[Ce,jt(Te[0],Te[1])]})}}function jt(A,P){return P?Number(P):Dr(A)?0:1}function Dr(A){return qt.includes(A.toLowerCase())}const Ve={},Ke=A=>{console.error(A)},vt=(A,...P)=>{console.log(`WARN: ${A}`,...P)},dt=(A,P)=>{Ve[`${A}/${P}`]||(console.log(`Deprecated as of ${A}. ${P}`),Ve[`${A}/${P}`]=!0)},_t=new Error;function Lt(A,P,{key:$}){let ke=0;const ft=A[$],Ce={},ue={};for(let de=1;de<=P.length;de++)ue[de+ke]=ft[de],Ce[de+ke]=!0,ke+=C(P[de-1]);A[$]=ue,A[$]._emit=Ce,A[$]._multi=!0}function ht(A){if(Array.isArray(A.begin)){if(A.skip||A.excludeBegin||A.returnBegin)throw Ke("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),_t;if(typeof A.beginScope!="object"||A.beginScope===null)throw Ke("beginScope must be object"),_t;Lt(A,A.begin,{key:"beginScope"}),A.begin=L(A.begin,{joinWith:""})}}function bt(A){if(Array.isArray(A.end)){if(A.skip||A.excludeEnd||A.returnEnd)throw Ke("skip, excludeEnd, returnEnd not compatible with endScope: {}"),_t;if(typeof A.endScope!="object"||A.endScope===null)throw Ke("endScope must be object"),_t;Lt(A,A.end,{key:"endScope"}),A.end=L(A.end,{joinWith:""})}}function Zt(A){A.scope&&typeof A.scope=="object"&&A.scope!==null&&(A.beginScope=A.scope,delete A.scope)}function on(A){Zt(A),typeof A.beginScope=="string"&&(A.beginScope={_wrap:A.beginScope}),typeof A.endScope=="string"&&(A.endScope={_wrap:A.endScope}),ht(A),bt(A)}function D0(A){function P(ue,de){return new RegExp(m(ue),"m"+(A.case_insensitive?"i":"")+(A.unicodeRegex?"u":"")+(de?"g":""))}class ${constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(de,Te){Te.position=this.position++,this.matchIndexes[this.matchAt]=Te,this.regexes.push([Te,de]),this.matchAt+=C(de)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const de=this.regexes.map(Te=>Te[1]);this.matcherRe=P(L(de,{joinWith:"|"}),!0),this.lastIndex=0}exec(de){this.matcherRe.lastIndex=this.lastIndex;const Te=this.matcherRe.exec(de);if(!Te)return null;const yt=Te.findIndex((Rn,Ca)=>Ca>0&&Rn!==void 0),mt=this.matchIndexes[yt];return Te.splice(0,yt),Object.assign(Te,mt)}}class ke{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(de){if(this.multiRegexes[de])return this.multiRegexes[de];const Te=new $;return this.rules.slice(de).forEach(([yt,mt])=>Te.addRule(yt,mt)),Te.compile(),this.multiRegexes[de]=Te,Te}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(de,Te){this.rules.push([de,Te]),Te.type==="begin"&&this.count++}exec(de){const Te=this.getMatcher(this.regexIndex);Te.lastIndex=this.lastIndex;let yt=Te.exec(de);if(this.resumingScanAtSamePosition()&&!(yt&&yt.index===this.lastIndex)){const mt=this.getMatcher(0);mt.lastIndex=this.lastIndex+1,yt=mt.exec(de)}return yt&&(this.regexIndex+=yt.position+1,this.regexIndex===this.count&&this.considerAll()),yt}}function ft(ue){const de=new ke;return ue.contains.forEach(Te=>de.addRule(Te.begin,{rule:Te,type:"begin"})),ue.terminatorEnd&&de.addRule(ue.terminatorEnd,{type:"end"}),ue.illegal&&de.addRule(ue.illegal,{type:"illegal"}),de}function Ce(ue,de){const Te=ue;if(ue.isCompiled)return Te;[zt,Fr,on,fr].forEach(mt=>mt(ue,de)),A.compilerExtensions.forEach(mt=>mt(ue,de)),ue.__beforeBegin=null,[Tt,nr,Ut].forEach(mt=>mt(ue,de)),ue.isCompiled=!0;let yt=null;return typeof ue.keywords=="object"&&ue.keywords.$pattern&&(ue.keywords=Object.assign({},ue.keywords),yt=ue.keywords.$pattern,delete ue.keywords.$pattern),yt=yt||/\w+/,ue.keywords&&(ue.keywords=ar(ue.keywords,A.case_insensitive)),Te.keywordPatternRe=P(yt,!0),de&&(ue.begin||(ue.begin=/\B|\b/),Te.beginRe=P(Te.begin),!ue.end&&!ue.endsWithParent&&(ue.end=/\B|\b/),ue.end&&(Te.endRe=P(Te.end)),Te.terminatorEnd=m(Te.end)||"",ue.endsWithParent&&de.terminatorEnd&&(Te.terminatorEnd+=(ue.end?"|":"")+de.terminatorEnd)),ue.illegal&&(Te.illegalRe=P(ue.illegal)),ue.contains||(ue.contains=[]),ue.contains=[].concat(...ue.contains.map(function(mt){return ys(mt==="self"?ue:mt)})),ue.contains.forEach(function(mt){Ce(mt,Te)}),ue.starts&&Ce(ue.starts,de),Te.matcher=ft(Te),Te}if(A.compilerExtensions||(A.compilerExtensions=[]),A.contains&&A.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return A.classNameAliases=n(A.classNameAliases||{}),Ce(A)}function I0(A){return A?A.endsWithParent||I0(A.starts):!1}function ys(A){return A.variants&&!A.cachedVariants&&(A.cachedVariants=A.variants.map(function(P){return n(A,{variants:null},P)})),A.cachedVariants?A.cachedVariants:I0(A)?n(A,{starts:A.starts?n(A.starts):null}):Object.isFrozen(A)?n(A):A}var z0="11.11.1";class L0 extends Error{constructor(P,$){super(P),this.name="HTMLInjectionError",this.html=$}}const mr=r,ln=n,P0=Symbol("nomatch"),Oa=7,ws=function(A){const P=Object.create(null),$=Object.create(null),ke=[];let ft=!0;const Ce="Could not find the language '{}', did you forget to load/include a language module?",ue={disableAutodetect:!0,name:"Plain text",contains:[]};let de={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:h};function Te(O){return de.noHighlightRe.test(O)}function yt(O){let J=O.className+" ";J+=O.parentNode?O.parentNode.className:"";const se=de.languageDetectRe.exec(J);if(se){const Se=Ur(se[1]);return Se||(vt(Ce.replace("{}",se[1])),vt("Falling back to no-highlight mode for this block.",O)),Se?se[1]:"no-highlight"}return J.split(/\s+/).find(Se=>Te(Se)||Ur(Se))}function mt(O,J,se){let Se="",Ye="";typeof J=="object"?(Se=O,se=J.ignoreIllegals,Ye=J.language):(dt("10.7.0","highlight(lang, code, ...args) has been deprecated."),dt("10.7.0",`Please use highlight(code, options) instead.
286
+ https://github.com/highlightjs/highlight.js/issues/2277`),Ye=O,Se=J),se===void 0&&(se=!0);const wt={code:Se,language:Ye};x("before:highlight",wt);const Mt=wt.result?wt.result:Rn(wt.language,wt.code,se);return Mt.code=wt.code,x("after:highlight",Mt),Mt}function Rn(O,J,se,Se){const Ye=Object.create(null);function wt(ae,ye){return ae.keywords[ye]}function Mt(){if(!Ne.keywords){Gt.addText(nt);return}let ae=0;Ne.keywordPatternRe.lastIndex=0;let ye=Ne.keywordPatternRe.exec(nt),Be="";for(;ye;){Be+=nt.substring(ae,ye.index);const Qe=qr.case_insensitive?ye[0].toLowerCase():ye[0],Jt=wt(Ne,Qe);if(Jt){const[dn,n4]=Jt;if(Gt.addText(Be),Be="",Ye[Qe]=(Ye[Qe]||0)+1,Ye[Qe]<=Oa&&(_s+=n4),dn.startsWith("_"))Be+=ye[0];else{const a4=qr.classNameAliases[dn]||dn;Sr(ye[0],a4)}}else Be+=ye[0];ae=Ne.keywordPatternRe.lastIndex,ye=Ne.keywordPatternRe.exec(nt)}Be+=nt.substring(ae),Gt.addText(Be)}function zn(){if(nt==="")return;let ae=null;if(typeof Ne.subLanguage=="string"){if(!P[Ne.subLanguage]){Gt.addText(nt);return}ae=Rn(Ne.subLanguage,nt,!0,Pu[Ne.subLanguage]),Pu[Ne.subLanguage]=ae._top}else ae=ir(nt,Ne.subLanguage.length?Ne.subLanguage:null);Ne.relevance>0&&(_s+=ae.relevance),Gt.__addSublanguage(ae._emitter,ae.language)}function Xe(){Ne.subLanguage!=null?zn():Mt(),nt=""}function Sr(ae,ye){ae!==""&&(Gt.startScope(ye),Gt.addText(ae),Gt.endScope())}function Da(ae,ye){let Be=1;const Qe=ye.length-1;for(;Be<=Qe;){if(!ae._emit[Be]){Be++;continue}const Jt=qr.classNameAliases[ae[Be]]||ae[Be],dn=ye[Be];Jt?Sr(dn,Jt):(nt=dn,Mt(),nt=""),Be++}}function Iu(ae,ye){return ae.scope&&typeof ae.scope=="string"&&Gt.openNode(qr.classNameAliases[ae.scope]||ae.scope),ae.beginScope&&(ae.beginScope._wrap?(Sr(nt,qr.classNameAliases[ae.beginScope._wrap]||ae.beginScope._wrap),nt=""):ae.beginScope._multi&&(Da(ae.beginScope,ye),nt="")),Ne=Object.create(ae,{parent:{value:Ne}}),Ne}function zu(ae,ye,Be){let Qe=D(ae.endRe,Be);if(Qe){if(ae["on:end"]){const Jt=new e(ae);ae["on:end"](ye,Jt),Jt.isMatchIgnored&&(Qe=!1)}if(Qe){for(;ae.endsParent&&ae.parent;)ae=ae.parent;return ae}}if(ae.endsWithParent)return zu(ae.parent,ye,Be)}function Qf(ae){return Ne.matcher.regexIndex===0?(nt+=ae[0],1):(sl=!0,0)}function $f(ae){const ye=ae[0],Be=ae.rule,Qe=new e(Be),Jt=[Be.__beforeBegin,Be["on:begin"]];for(const dn of Jt)if(dn&&(dn(ae,Qe),Qe.isMatchIgnored))return Qf(ye);return Be.skip?nt+=ye:(Be.excludeBegin&&(nt+=ye),Xe(),!Be.returnBegin&&!Be.excludeBegin&&(nt=ye)),Iu(Be,ae),Be.returnBegin?0:ye.length}function e4(ae){const ye=ae[0],Be=J.substring(ae.index),Qe=zu(Ne,ae,Be);if(!Qe)return P0;const Jt=Ne;Ne.endScope&&Ne.endScope._wrap?(Xe(),Sr(ye,Ne.endScope._wrap)):Ne.endScope&&Ne.endScope._multi?(Xe(),Da(Ne.endScope,ae)):Jt.skip?nt+=ye:(Jt.returnEnd||Jt.excludeEnd||(nt+=ye),Xe(),Jt.excludeEnd&&(nt=ye));do Ne.scope&&Gt.closeNode(),!Ne.skip&&!Ne.subLanguage&&(_s+=Ne.relevance),Ne=Ne.parent;while(Ne!==Qe.parent);return Qe.starts&&Iu(Qe.starts,ae),Jt.returnEnd?0:ye.length}function t4(){const ae=[];for(let ye=Ne;ye!==qr;ye=ye.parent)ye.scope&&ae.unshift(ye.scope);ae.forEach(ye=>Gt.openNode(ye))}let Ts={};function Lu(ae,ye){const Be=ye&&ye[0];if(nt+=ae,Be==null)return Xe(),0;if(Ts.type==="begin"&&ye.type==="end"&&Ts.index===ye.index&&Be===""){if(nt+=J.slice(ye.index,ye.index+1),!ft){const Qe=new Error(`0 width match regex (${O})`);throw Qe.languageName=O,Qe.badRule=Ts.rule,Qe}return 1}if(Ts=ye,ye.type==="begin")return $f(ye);if(ye.type==="illegal"&&!se){const Qe=new Error('Illegal lexeme "'+Be+'" for mode "'+(Ne.scope||"<unnamed>")+'"');throw Qe.mode=Ne,Qe}else if(ye.type==="end"){const Qe=e4(ye);if(Qe!==P0)return Qe}if(ye.type==="illegal"&&Be==="")return nt+=`
287
+ `,1;if(il>1e5&&il>ye.index*3)throw new Error("potential infinite loop, way more iterations than matches");return nt+=Be,Be.length}const qr=Ur(O);if(!qr)throw Ke(Ce.replace("{}",O)),new Error('Unknown language: "'+O+'"');const r4=D0(qr);let al="",Ne=Se||r4;const Pu={},Gt=new de.__emitter(de);t4();let nt="",_s=0,c0=0,il=0,sl=!1;try{if(qr.__emitTokens)qr.__emitTokens(J,Gt);else{for(Ne.matcher.considerAll();;){il++,sl?sl=!1:Ne.matcher.considerAll(),Ne.matcher.lastIndex=c0;const ae=Ne.matcher.exec(J);if(!ae)break;const ye=J.substring(c0,ae.index),Be=Lu(ye,ae);c0=ae.index+Be}Lu(J.substring(c0))}return Gt.finalize(),al=Gt.toHTML(),{language:O,value:al,relevance:_s,illegal:!1,_emitter:Gt,_top:Ne}}catch(ae){if(ae.message&&ae.message.includes("Illegal"))return{language:O,value:mr(J),illegal:!0,relevance:0,_illegalBy:{message:ae.message,index:c0,context:J.slice(c0-100,c0+100),mode:ae.mode,resultSoFar:al},_emitter:Gt};if(ft)return{language:O,value:mr(J),illegal:!1,relevance:0,errorRaised:ae,_emitter:Gt,_top:Ne};throw ae}}function Ca(O){const J={value:mr(O),illegal:!1,relevance:0,_top:ue,_emitter:new de.__emitter(de)};return J._emitter.addText(O),J}function ir(O,J){J=J||de.languages||Object.keys(P);const se=Ca(O),Se=J.filter(Ur).filter(Ra).map(Xe=>Rn(Xe,O,!1));Se.unshift(se);const Ye=Se.sort((Xe,Sr)=>{if(Xe.relevance!==Sr.relevance)return Sr.relevance-Xe.relevance;if(Xe.language&&Sr.language){if(Ur(Xe.language).supersetOf===Sr.language)return 1;if(Ur(Sr.language).supersetOf===Xe.language)return-1}return 0}),[wt,Mt]=Ye,zn=wt;return zn.secondBest=Mt,zn}function cn(O,J,se){const Se=J&&$[J]||se;O.classList.add("hljs"),O.classList.add(`language-${Se}`)}function B0(O){let J=null;const se=yt(O);if(Te(se))return;if(x("before:highlightElement",{el:O,language:se}),O.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",O);return}if(O.children.length>0&&(de.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)),de.throwUnescapedHTML))throw new L0("One of your code blocks includes unescaped HTML.",O.innerHTML);J=O;const Se=J.textContent,Ye=se?mt(Se,{language:se,ignoreIllegals:!0}):ir(Se);O.innerHTML=Ye.value,O.dataset.highlighted="yes",cn(O,se,Ye.language),O.result={language:Ye.language,re:Ye.relevance,relevance:Ye.relevance},Ye.secondBest&&(O.secondBest={language:Ye.secondBest.language,relevance:Ye.secondBest.relevance}),x("after:highlightElement",{el:O,result:Ye,text:Se})}function xs(O){de=ln(de,O)}const Ss=()=>{un(),dt("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function F0(){un(),dt("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Dn=!1;function un(){function O(){un()}if(document.readyState==="loading"){Dn||window.addEventListener("DOMContentLoaded",O,!1),Dn=!0;return}document.querySelectorAll(de.cssSelector).forEach(B0)}function Ir(O,J){let se=null;try{se=J(A)}catch(Se){if(Ke("Language definition for '{}' could not be registered.".replace("{}",O)),ft)Ke(Se);else throw Se;se=ue}se.name||(se.name=O),P[O]=se,se.rawDefinition=J.bind(null,A),se.aliases&&Na(se.aliases,{languageName:O})}function Es(O){delete P[O];for(const J of Object.keys($))$[J]===O&&delete $[J]}function As(){return Object.keys(P)}function Ur(O){return O=(O||"").toLowerCase(),P[O]||P[$[O]]}function Na(O,{languageName:J}){typeof O=="string"&&(O=[O]),O.forEach(se=>{$[se.toLowerCase()]=J})}function Ra(O){const J=Ur(O);return J&&!J.disableAutodetect}function H0(O){O["before:highlightBlock"]&&!O["before:highlightElement"]&&(O["before:highlightElement"]=J=>{O["before:highlightBlock"](Object.assign({block:J.el},J))}),O["after:highlightBlock"]&&!O["after:highlightElement"]&&(O["after:highlightElement"]=J=>{O["after:highlightBlock"](Object.assign({block:J.el},J))})}function In(O){H0(O),ke.push(O)}function ge(O){const J=ke.indexOf(O);J!==-1&&ke.splice(J,1)}function x(O,J){const se=O;ke.forEach(function(Se){Se[se]&&Se[se](J)})}function z(O){return dt("10.7.0","highlightBlock will be removed entirely in v12.0"),dt("10.7.0","Please use highlightElement now."),B0(O)}Object.assign(A,{highlight:mt,highlightAuto:ir,highlightAll:un,highlightElement:B0,highlightBlock:z,configure:xs,initHighlighting:Ss,initHighlightingOnLoad:F0,registerLanguage:Ir,unregisterLanguage:Es,listLanguages:As,getLanguage:Ur,registerAliases:Na,autoDetection:Ra,inherit:ln,addPlugin:In,removePlugin:ge}),A.debugMode=function(){ft=!1},A.safeMode=function(){ft=!0},A.versionString=z0,A.regex={concat:w,lookahead:b,either:M,optional:y,anyNumberOfTimes:v};for(const O in kt)typeof kt[O]=="object"&&t(kt[O]);return Object.assign(A,kt),A},Hr=ws({});return Hr.newInstance=()=>ws({}),Pl=Hr,Hr.HighlightJS=Hr,Hr.default=Hr,Pl}var gg=pg();const ct=V4(gg);function If(t){const e=t.regex,r={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:e.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});const a={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},i=t.inherit(t.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},o={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,r,a]};a.contains.push(o);const c={match:/\\"/},d={className:"string",begin:/'/,end:/'/},h={match:/\\'/},m={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,r]},b=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],v=t.SHEBANG({binary:`(${b.join("|")})`,relevance:10}),y={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},w=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],k=["true","false"],M={match:/(\/[a-z._-]+)+/},C=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],D=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],I=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],L=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:w,literal:k,built_in:[...C,...D,"set","shopt",...I,...L]},contains:[v,t.SHEBANG(),y,m,i,s,M,o,c,d,h,r]}}function vg(t){const e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",a="[a-zA-Z_]\\w*::",s="("+n+"|"+e.optional(a)+"[a-zA-Z_]\\w*"+e.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},m={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},b={className:"title",begin:e.optional(a)+t.IDENT_RE,relevance:0},v=e.optional(a)+t.IDENT_RE+"\\s*\\(",k={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},M=[m,o,r,t.C_BLOCK_COMMENT_MODE,h,d],C={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:k,contains:M.concat([{begin:/\(/,end:/\)/,keywords:k,contains:M.concat(["self"]),relevance:0}]),relevance:0},D={begin:"("+s+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:k,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:k,relevance:0},{begin:v,returnBegin:!0,contains:[t.inherit(b,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:k,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,d,h,o,{begin:/\(/,end:/\)/,keywords:k,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,d,h,o]}]},o,r,t.C_BLOCK_COMMENT_MODE,m]};return{name:"C",aliases:["h"],keywords:k,disableAutodetect:!0,illegal:"</",contains:[].concat(C,D,M,[m,{begin:t.IDENT_RE+"::",keywords:k},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:m,strings:d,keywords:k}}}const bg=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_-]*/}}),yg=["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"],wg=["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"],xg=[...yg,...wg],Sg=["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(),Eg=["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(),Ag=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Tg=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","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-end-end-radius","border-end-start-radius","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-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-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","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","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","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","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","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","margin-trim","marker","marker-end","marker-mid","marker-start","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","masonry-auto-flow","math-depth","math-shift","math-style","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","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-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","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","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","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","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-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function _g(t){const e=t.regex,r=bg(t),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},a="and or not only",i=/@-?\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:":("+Eg.join("|")+")"},{begin:":(:)?("+Ag.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Tg.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:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:a,attribute:Sg.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+xg.join("|")+")\\b"}]}}function kg(t){const e=t.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:e.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:e.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function Mg(t){const i={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:i,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:i,illegal:/["']/}]}]}}var Y0="[0-9](_*[0-9])*",Fs=`\\.(${Y0})`,Hs="[0-9a-fA-F](_*[0-9a-fA-F])*",gd={className:"number",variants:[{begin:`(\\b(${Y0})((${Fs})|\\.)?|(${Fs}))[eE][+-]?(${Y0})[fFdD]?\\b`},{begin:`\\b(${Y0})((${Fs})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Fs})[fFdD]?\\b`},{begin:`\\b(${Y0})[fFdD]\\b`},{begin:`\\b0[xX]((${Hs})\\.?|(${Hs})?\\.(${Hs}))[pP][+-]?(${Y0})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Hs})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function zf(t,e,r){return r===-1?"":t.replace(e,n=>zf(t,e,r-1))}function Og(t){const e=t.regex,r="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n=r+zf("(?:<"+r+"~~~(?:\\s*,\\s*"+r+"~~~)*>)?",/~~~/g,2),c={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},d={className:"meta",begin:"@"+r,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},h={className:"params",begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:c,illegal:/<\/|#/,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[t.BACKSLASH_ESCAPE]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[e.concat(/(?!else)/,r),/\s+/,r,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,r],className:{1:"keyword",3:"title.class"},contains:[h,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",t.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:c,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:c,relevance:0,contains:[d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,gd,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},gd,d]}}const vd="[A-Za-z$_][0-9A-Za-z$_]*",Cg=["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","using"],Ng=["true","false","null","undefined","NaN","Infinity"],Lf=["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"],Pf=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Bf=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Rg=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Dg=[].concat(Bf,Lf,Pf);function Ff(t){const e=t.regex,r=(X,{after:ce})=>{const me="</"+X[0].slice(1);return X.input.indexOf(me,ce)!==-1},n=vd,a={begin:"<>",end:"</>"},i=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(X,ce)=>{const me=X[0].length+X.index,Ae=X.input[me];if(Ae==="<"||Ae===","){ce.ignoreMatch();return}Ae===">"&&(r(X,{after:me})||ce.ignoreMatch());let Ue;const Ie=X.input.substring(me);if(Ue=Ie.match(/^\s*=/)){ce.ignoreMatch();return}if((Ue=Ie.match(/^\s+extends\s+/))&&Ue.index===0){ce.ignoreMatch();return}}},o={$pattern:vd,keyword:Cg,literal:Ng,built_in:Dg,"variable.language":Rg},c="[0-9](_?[0-9])*",d=`\\.(${c})`,h="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",m={className:"number",variants:[{begin:`(\\b(${h})((${d})|\\.)?|(${d}))[eE][+-]?(${c})\\b`},{begin:`\\b(${h})\\b((${d})\\b|\\.)?|(${d})\\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:[]},v={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"xml"}},y={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"css"}},w={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,b]},C={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]},D=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,v,y,w,k,{match:/\$\d+/},m];b.contains=D.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(D)});const I=[].concat(C,b.contains),L=I.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(I)}]),R={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:L},K={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"}}]},F={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:{_:[...Lf,...Pf]}},B={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[R],illegal:/%/},ee={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function re(X){return e.concat("(?!",X.join("|"),")")}const xe={match:e.concat(/\b/,re([...Bf,"super","import"].map(X=>`${X}\\s*\\(`)),n,e.lookahead(/\s*\(/)),className:"title.function",relevance:0},te={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},be={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},R]},ve="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",fe={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(ve)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[R]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:L,CLASS_REFERENCE:F},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),B,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,v,y,w,k,C,{match:/\$\d+/},m,F,{scope:"attr",match:n+e.lookahead(":"),relevance:0},fe,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[C,t.REGEXP_MODE,{className:"function",begin:ve,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:L}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:a.begin,end:a.end},{match:i},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[R,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},te,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[R]},xe,ee,K,be,{match:/\$[(.]/}]}}function Ig(t){const e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},n=["true","false","null"],a={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:n},contains:[e,r,t.QUOTE_STRING_MODE,a,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function zg(t){const e=t.regex,r={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},n={begin:"^[-\\*]{3,}",end:"$"},a={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},i={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},s={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},o=/[A-Za-z][A-Za-z0-9+.-]*/,c={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.concat(/\[.+?\]\(/,o,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},d={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},h={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},m=t.inherit(d,{contains:[]}),b=t.inherit(h,{contains:[]});d.contains.push(b),h.contains.push(m);let v=[r,c];return[d,h,m,b].forEach(M=>{M.contains=M.contains.concat(v)}),v=v.concat(d,h),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:v},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:v}]}]},r,i,d,h,{className:"quote",begin:"^>\\s+",contains:v,end:"$"},a,n,c,s,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function Hf(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"]},c={className:"meta",begin:/^(>>>|\.\.\.) /},d={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},h={begin:/\{\{/,relevance:0},m={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,c],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,c,h,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,c,h,d]},{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,h,d]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,h,d]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},b="[0-9](_?[0-9])*",v=`(\\b(${b}))?\\.(${b})|\\b(${b})\\.`,y=`\\b|${n.join("|")}`,w={className:"number",relevance:0,variants:[{begin:`(\\b(${b})|(${v}))[eE][+-]?(${b})[jJ]?(?=${y})`},{begin:`(${v})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${y})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${y})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${y})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${y})`},{begin:`\\b(${b})[jJ](?=${y})`}]},k={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},M={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",c,w,m,t.HASH_COMMENT_MODE]}]};return d.contains=[m,w,c],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|\?)|=>/,contains:[c,w,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},m,k,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[M]},{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:[w,M,m]}]}}function Uf(t){const e=t.regex,r=/(r#)?/,n=e.concat(r,t.UNDERSCORE_IDENT_RE),a=e.concat(r,t.IDENT_RE),i={className:"title.function.invoke",relevance:0,begin:e.concat(/\b/,/(?!let|for|while|if|else|match\b)/,a,e.lookahead(/\s*\(/))},s="([ui](8|16|32|64|128|size)|f(32|64))?",o=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],c=["true","false","Some","None","Ok","Err"],d=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],h=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:t.IDENT_RE+"!?",type:h,keyword:o,literal:c,built_in:d},illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),t.inherit(t.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+s},{begin:"\\b0o([0-7_]+)"+s},{begin:"\\b0x([A-Fa-f0-9_]+)"+s},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+s}],relevance:0},{begin:[/fn/,/\s+/,n],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,n],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,n,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{begin:t.IDENT_RE+"::",keywords:{keyword:"Self",built_in:d,type:h}},{className:"punctuation",begin:"->"},i]}}function Lg(t){const e=t.regex,r=t.COMMENT("--","$"),n={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},a={begin:/"/,end:/"/,contains:[{match:/""/}]},i=["true","false","unknown"],s=["double precision","large object","with timezone","without timezone"],o=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],c=["add","asc","collation","desc","final","first","last","view"],d=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],h=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],m=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],b=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],v=h,y=[...d,...c].filter(L=>!h.includes(L)),w={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},k={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},M={match:e.concat(/\b/,e.either(...v),/\s*\(/),relevance:0,keywords:{built_in:v}};function C(L){return e.concat(/\b/,e.either(...L.map(R=>R.replace(/\s+/,"\\s+"))),/\b/)}const D={scope:"keyword",match:C(b),relevance:0};function I(L,{exceptions:R,when:K}={}){const F=K;return R=R||[],L.map(B=>B.match(/\|\d+$/)||R.includes(B)?B:F(B)?`${B}|0`:B)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:I(y,{when:L=>L.length<3}),literal:i,type:o,built_in:m},contains:[{scope:"type",match:C(s)},D,M,w,n,a,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,k]}}const go="[A-Za-z$_][0-9A-Za-z$_]*",qf=["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","using"],Gf=["true","false","null","undefined","NaN","Infinity"],Wf=["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"],Vf=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Kf=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Yf=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Xf=[].concat(Kf,Wf,Vf);function Pg(t){const e=t.regex,r=(X,{after:ce})=>{const me="</"+X[0].slice(1);return X.input.indexOf(me,ce)!==-1},n=go,a={begin:"<>",end:"</>"},i=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(X,ce)=>{const me=X[0].length+X.index,Ae=X.input[me];if(Ae==="<"||Ae===","){ce.ignoreMatch();return}Ae===">"&&(r(X,{after:me})||ce.ignoreMatch());let Ue;const Ie=X.input.substring(me);if(Ue=Ie.match(/^\s*=/)){ce.ignoreMatch();return}if((Ue=Ie.match(/^\s+extends\s+/))&&Ue.index===0){ce.ignoreMatch();return}}},o={$pattern:go,keyword:qf,literal:Gf,built_in:Xf,"variable.language":Yf},c="[0-9](_?[0-9])*",d=`\\.(${c})`,h="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",m={className:"number",variants:[{begin:`(\\b(${h})((${d})|\\.)?|(${d}))[eE][+-]?(${c})\\b`},{begin:`\\b(${h})\\b((${d})\\b|\\.)?|(${d})\\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:[]},v={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"xml"}},y={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"css"}},w={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,b],subLanguage:"graphql"}},k={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,b]},C={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]},D=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,v,y,w,k,{match:/\$\d+/},m];b.contains=D.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(D)});const I=[].concat(C,b.contains),L=I.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(I)}]),R={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:L},K={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"}}]},F={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:{_:[...Wf,...Vf]}},B={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[R],illegal:/%/},ee={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function re(X){return e.concat("(?!",X.join("|"),")")}const xe={match:e.concat(/\b/,re([...Kf,"super","import"].map(X=>`${X}\\s*\\(`)),n,e.lookahead(/\s*\(/)),className:"title.function",relevance:0},te={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},be={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},R]},ve="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",fe={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(ve)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[R]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:L,CLASS_REFERENCE:F},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),B,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,v,y,w,k,C,{match:/\$\d+/},m,F,{scope:"attr",match:n+e.lookahead(":"),relevance:0},fe,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[C,t.REGEXP_MODE,{className:"function",begin:ve,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:L}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:a.begin,end:a.end},{match:i},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[R,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},te,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[R]},xe,ee,K,be,{match:/\$[(.]/}]}}function jf(t){const e=t.regex,r=Pg(t),n=go,a=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={begin:[/namespace/,/\s+/,t.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},s={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:a},contains:[r.exports.CLASS_REFERENCE]},o={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},c=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],d={$pattern:go,keyword:qf.concat(c),literal:Gf,built_in:Xf.concat(a),"variable.language":Yf},h={className:"meta",begin:"@"+n},m=(w,k,M)=>{const C=w.contains.findIndex(D=>D.label===k);if(C===-1)throw new Error("can not find mode to replace");w.contains.splice(C,1,M)};Object.assign(r.keywords,d),r.exports.PARAMS_CONTAINS.push(h);const b=r.contains.find(w=>w.scope==="attr"),v=Object.assign({},b,{match:e.concat(n,e.lookahead(/\s*\?:/))});r.exports.PARAMS_CONTAINS.push([r.exports.CLASS_REFERENCE,b,v]),r.contains=r.contains.concat([h,i,s,v]),m(r,"shebang",t.SHEBANG()),m(r,"use_strict",o);const y=r.contains.find(w=>w.label==="func.def");return y.relevance=0,Object.assign(r,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),r}function Zf(t){const e=t.regex,r=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n=/[\p{L}0-9._:-]+/u,a={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=t.inherit(i,{begin:/\(/,end:/\)/}),o=t.inherit(t.APOS_STRING_MODE,{className:"string"}),c=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),d={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:n,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[a]},{begin:/'/,end:/'/,contains:[a]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[i,c,o,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[i,s,c,o]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},a,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[d],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[d],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(r,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:d}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function Jf(t){const e="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},a={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},s={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,a]},o=t.inherit(s,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),b={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},v={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},y={begin:/\{/,end:/\}/,contains:[v],illegal:"\\n",relevance:0},w={begin:"\\[",end:"\\]",contains:[v],illegal:"\\n",relevance:0},k=[n,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},b,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},y,w,i,s],M=[...k];return M.pop(),M.push(o),v.contains=M,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:k}}ct.registerLanguage("typescript",jf);ct.registerLanguage("javascript",Ff);ct.registerLanguage("json",Ig);ct.registerLanguage("bash",If);ct.registerLanguage("python",Hf);ct.registerLanguage("xml",Zf);ct.registerLanguage("html",Zf);ct.registerLanguage("css",_g);ct.registerLanguage("markdown",zg);ct.registerLanguage("diff",kg);ct.registerLanguage("yaml",Jf);ct.registerLanguage("sql",Lg);ct.registerLanguage("rust",Uf);ct.registerLanguage("go",Mg);ct.registerLanguage("c",vg);ct.registerLanguage("java",Og);ct.registerLanguage("ts",jf);ct.registerLanguage("js",Ff);ct.registerLanguage("sh",If);ct.registerLanguage("py",Hf);ct.registerLanguage("yml",Jf);ct.registerLanguage("rs",Uf);function Bg(t,e){const r=(e==null?void 0:e.trim().toLowerCase())??"";if(r&&ct.getLanguage(r))try{return ct.highlight(t,{language:r,ignoreIllegals:!0}).value}catch{return bd(t)}return bd(t)}function bd(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}const ba="",vo="";let An=[],b0=[];const Fg=/^[a-z0-9+#-]+$/i;function Us(t,e){return mg.renderToString(t,{displayMode:e,throwOnError:!1,output:"htmlAndMathml",maxSize:50,maxExpand:1e3,trust:!1})}function yd(t){const e=An.length;return An.push(t),b0.push("katex"),`${ba}${e}${ba}`}function wd(t){const e=An.length;return An.push(t),b0.push("katex"),`${vo}${e}${vo}`}function Hg(t){const e=An.length;return An.push(t),b0.push("code"),`${ba}${e}${ba}`}Ld.use({renderer:{code(t){const e=t.text,r=t.lang??"",n=Fg.test(r)?r.toLowerCase():"",a=n?` language-${n}`:"",i=Bg(e,n||void 0),s=`<pre><code class="hljs${a}">${i}</code></pre>`;return Hg(s)}},extensions:[{name:"mathBlock",level:"block",start(t){return t.indexOf("$$")},tokenizer(t){const e=/^\$\$([\s\S]+?)\$\$/.exec(t);if(e)return{type:"mathBlock",raw:e[0],text:(e[1]??"").trim()}},renderer(t){return yd(Us(String(t.text??""),!0))}},{name:"mathBlockBracket",level:"block",start(t){return t.indexOf("\\[")},tokenizer(t){const e=/^\\\[([\s\S]+?)\\\]/.exec(t);if(e)return{type:"mathBlockBracket",raw:e[0],text:(e[1]??"").trim()}},renderer(t){return yd(Us(String(t.text??""),!0))}},{name:"mathInline",level:"inline",start(t){return t.indexOf("$")},tokenizer(t){const e=/^\$([^$\n]+?)\$/.exec(t);if(e)return{type:"mathInline",raw:e[0],text:(e[1]??"").trim()}},renderer(t){return wd(Us(String(t.text??""),!1))}},{name:"mathInlineParen",level:"inline",start(t){return t.indexOf("\\(")},tokenizer(t){const e=/^\\\(([\s\S]+?)\\\)/.exec(t);if(e)return{type:"mathInlineParen",raw:e[0],text:(e[1]??"").trim()}},renderer(t){return wd(Us(String(t.text??""),!1))}}]});const Hc="\\u200B-\\u200F\\u202A-\\u202E\\u2060\\u2066-\\u2069\\uFEFF\\u00AD\\u061C",Ug="\\u00A0\\u202F",xd=new RegExp(`[${Hc}]`,"gu");function qg(t){let e=t.replace(new RegExp(`[${Ug}]`,"gu")," ");return e=e.replace(/^.*$/gm,r=>{const n=r.replace(xd,"");return/\|/.test(n)&&/^[\s|:-]*-[\s|:-]*$/.test(n)?n:r}),e=e.replace(/\$\$[\s\S]+?\$\$|\\\[[\s\S]+?\\\]|\\\([\s\S]+?\\\)/g,r=>r.replace(xd,"")),e=e.replace(new RegExp(`^[${Hc}]+(?=\\$\\$|\\\\\\[)`,"gmu"),""),e=e.replace(new RegExp(`^([${Hc}]+)(#{1,6} |>+ |[-*+] |\\d+[.)] |\\| ?)`,"gmu"),"$2$1"),e}function Gg(t){An=[],b0=[];const e=qg(t),r=Ld.parse(e,{async:!1,breaks:!0,gfm:!0}),n=An.filter((i,s)=>b0[s]==="katex"),a=An.filter((i,s)=>b0[s]==="code");return{html:r,katexFragments:n,codeFragments:a,fragmentKinds:b0}}const Wg=new Set(["P","LI","H1","H2","H3","H4","H5","H6","BLOCKQUOTE","TD","TH"]),Vg=["p","br","strong","em","code","pre","blockquote","ul","ol","li","h1","h2","h3","h4","h5","h6","a","hr","table","thead","tbody","tfoot","tr","th","td","caption","colgroup","col"],Kg=["href","title","lang","dir","target","rel","align"],Yg=["span","math","semantics","annotation","mrow","mi","mn","mo","mtext","mfrac","msup","msub","msubsup","msqrt","mroot","mspace","mtable","mtr","mtd","mstyle","munderover","mover","munder","mpadded","svg","path","line"],Xg=["class","style","aria-hidden","encoding","xmlns","display","mathvariant","stretchy","fence","accent","accentunder","rowspacing","columnalign","columnspacing","scriptlevel","displaystyle","mathcolor","linethickness","lspace","minsize","viewBox","d","width","height","preserveAspectRatio"],jg=["pre","code","span"],Zg=["class"];typeof document<"u"&&Ys.addHook("afterSanitizeAttributes",t=>{t.tagName==="A"&&t.hasAttribute("href")&&(t.setAttribute("target","_blank"),t.setAttribute("rel","noopener noreferrer")),Wg.has(t.tagName)&&!t.hasAttribute("dir")&&t.setAttribute("dir","auto")});function Jg(t){if(t.length===0)return"";const{html:e,katexFragments:r,codeFragments:n,fragmentKinds:a}=Gg(t);if(typeof document>"u"){let m=0,b=0;const v=a.map(y=>y==="katex"?r[m++]??"":n[b++]??"");return Sd(e,v)}const i=Ys.sanitize(e,{ALLOWED_TAGS:Vg,ALLOWED_ATTR:Kg,ALLOW_DATA_ATTR:!1}),s=r.map(m=>Ys.sanitize(m,{ALLOWED_TAGS:Yg,ALLOWED_ATTR:Xg,ALLOW_DATA_ATTR:!1})),o=n.map(m=>Ys.sanitize(m,{ALLOWED_TAGS:jg,ALLOWED_ATTR:Zg,ALLOW_DATA_ATTR:!1}));let c=0,d=0;const h=a.map(m=>m==="katex"?s[c++]??"":o[d++]??"");return Sd(i,h)}function Sd(t,e){let r=t.replace(new RegExp(`${ba}(\\d+)${ba}`,"g"),(n,a)=>e[Number(a)]??"");return r=r.replace(new RegExp(`${vo}(\\d+)${vo}`,"g"),(n,a)=>e[Number(a)]??""),r}async function Qg(t){try{return typeof navigator>"u"||!navigator.clipboard?!1:(await navigator.clipboard.writeText(t),!0)}catch{return!1}}const Ed=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
288
+ <rect width="14" height="14" x="8" y="8" rx="2" ry="2"/>
289
+ <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/>
290
+ </svg>`,$g=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
291
+ <path d="M20 6 9 17l-5-5"/>
292
+ </svg>`,Bl=(t,e)=>{let r=e;function n(i){const s=t.querySelectorAll("pre:not([data-copy-ready])");for(const o of s){o.dataset.copyReady="1";const c=document.createElement("button");c.className="code-copy-btn",c.type="button",c.setAttribute("aria-label",i.labelCopy),c.innerHTML=Ed,o.appendChild(c)}}async function a(i){const s=i.target,o=s==null?void 0:s.closest(".code-copy-btn");if(!o)return;const c=o.closest("pre");if(!c)return;const d=c.querySelector("code"),h=((d==null?void 0:d.textContent)??c.textContent??"").trimEnd();await Qg(h)&&(o.innerHTML=$g,o.setAttribute("aria-label",r.labelCopied),o.dataset.copied="1",setTimeout(()=>{o.innerHTML=Ed,o.setAttribute("aria-label",r.labelCopy),delete o.dataset.copied},2e3))}return t.addEventListener("click",a),n(r),{update(i){r=i,n(i)},destroy(){t.removeEventListener("click",a)}}};var e7=He('<div dir="auto"></div>');function t7(t,e){st(e,!0);let r=H(e,"variant",3,"bubble");const n=Fo().t;var a=e7();let i;Z4(a,()=>Jg(e.text),!0),De(a),Q4(a,(s,o)=>Bl==null?void 0:Bl(s,o),()=>({text:e.text,labelCopy:n("bubble.copy"),labelCopied:n("bubble.copied")})),Ft(()=>{i=Ha(a,1,"md-content svelte-19aiouh",null,i,{viewer:r()==="viewer"}),a.dir=a.dir}),Q(t,a),ot()}var r7=He('<img class="viewer-image svelte-1nxcnxa"/>'),n7=He('<div class="w-full max-w-3xl mx-auto flex flex-col overflow-hidden rounded-2xl" style="background:var(--bg-elev); border:1px solid var(--border); max-height:100dvh"><div class="flex items-center justify-between px-4 py-3 border-b shrink-0" style="border-color:var(--border)"><!> <!></div> <div class="flex-1 overflow-y-auto chat-scroll px-4 py-3"><!></div></div>'),a7=He("<!> <!>",1);function _7(t,e){st(e,!1);const r=Fo().t,n=K4();function a(i){i||n.close()}$4(),Vo(t,{get open(){return n.open},onOpenChange:a,children:(i,s)=>{Qa(i,{children:(o,c)=>{var d=a7(),h=we(d);Ho(h,{class:"fixed inset-0 z-40 bg-black/60 backdrop-blur-sm"});var m=Je(h,2);Ko(m,{class:"fixed inset-0 z-50 flex items-center justify-center p-4",onclick:b=>{b.target===b.currentTarget&&n.close()},children:(b,v)=>{var y=n7(),w=Fe(y),k=Fe(w);Xc(k,{class:"text-lg font-semibold",children:(R,K)=>{Zs();var F=qc();Ft(B=>Vt(F,B),[()=>{var B;return((B=n.payload)==null?void 0:B.kind)==="markdown"&&n.payload.title?n.payload.title:r("contentViewer.title")}]),Q(R,F)},$$slots:{default:!0}});var M=Je(k,2);{let R=I4(()=>r("contentViewer.close"));Ph(M,{class:"size-8 grid place-items-center rounded-lg",style:"color:var(--fg-dim)",get"aria-label"(){return T(R)},children:(K,F)=>{Bh(K,{size:16,strokeWidth:2})},$$slots:{default:!0}})}De(w);var C=Je(w,2),D=Fe(C);{var I=R=>{t7(R,{get text(){return n.payload.text},variant:"viewer"})},L=R=>{var K=r7();Ft(F=>{Ya(K,"src",n.payload.src),Ya(K,"alt",F)},[()=>n.payload.alt??r("contentViewer.title")]),Q(R,K)};at(D,R=>{var K,F;((K=n.payload)==null?void 0:K.kind)==="markdown"?R(I):((F=n.payload)==null?void 0:F.kind)==="image"&&R(L,1)})}De(C),De(y),Q(b,y)},$$slots:{default:!0}}),Q(o,d)},$$slots:{default:!0}})},$$slots:{default:!0}}),ot()}function i7(t,e){let r=Yt(e,["$$slots","$$events","$$legacy"]);const n=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56"}]];Ta(t,wr({name:"loader-circle"},()=>r,{get iconNode(){return n}}))}var s7=He('<div class="flex flex-col items-center gap-4 rounded-2xl px-8 py-6" style="background:var(--bg-elev); border:1px solid var(--border)"><!> <span class="text-sm" style="color:var(--fg-dim)"> </span></div>'),o7=He("<!> <!>",1);function k7(t,e){st(e,!0);const r=Fo().t;var n=Re(),a=we(n);Bt(a,()=>Vo,(i,s)=>{s(i,{get open(){return e.open},onOpenChange:()=>{},children:(o,c)=>{var d=Re(),h=we(d);Bt(h,()=>Qa,(m,b)=>{b(m,{children:(v,y)=>{var w=o7(),k=we(w);Bt(k,()=>Ho,(C,D)=>{D(C,{class:"fixed inset-0 z-40 bg-black/60 backdrop-blur-sm"})});var M=Je(k,2);Bt(M,()=>Ko,(C,D)=>{D(C,{class:"fixed inset-0 z-50 flex items-center justify-center",children:(I,L)=>{var R=s7(),K=Fe(R);i7(K,{size:32,class:"animate-spin",style:"color:var(--accent)"});var F=Je(K,2),B=Fe(F,!0);De(F),De(R),Ft(q=>Vt(B,q),[()=>e.label??r("modal.loading.session")]),Q(I,R)},$$slots:{default:!0}})}),Q(v,w)},$$slots:{default:!0}})}),Q(o,d)},$$slots:{default:!0}})}),Q(t,n),ot()}export{$4 as A,xr as B,i5 as C,Vo as D,jd as E,y5 as F,it as G,Jg as H,Ta as I,qd as J,i7 as L,t7 as M,Qa as P,Zd as S,Bh as X,_7 as a,xa as b,Ph as c,Ko as d,Ho as e,Xc as f,T7 as g,k7 as h,E7 as i,Q4 as j,Sn as k,A7 as l,y7 as m,b7 as n,Qs as o,Gm as p,w7 as q,ne as r,Qg as s,Yc as t,Sa as u,J4 as v,em as w,S7 as x,x7 as y,Z4 as z};