openpond 0.2.51 → 0.2.52
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.
- package/dist/app-server.js +1 -1
- package/dist/chunks/{app-server-runtime-4YKIZB22.js → app-server-runtime-NITNSHYS.js} +1 -1
- package/dist/chunks/{chunk-42GOV5ZU.js → chunk-AV3WI7JZ.js} +1 -1
- package/dist/chunks/{chunk-OC6UWKBL.js → chunk-CFLMKFOE.js} +1 -1
- package/dist/chunks/{chunk-UBFRWC6I.js → chunk-FQZFLNLY.js} +1 -1
- package/dist/chunks/{chunk-JCCU3VFK.js → chunk-HJEY5LBD.js} +1 -1
- package/dist/chunks/{chunk-TBNBCOW7.js → chunk-L3V4QKRV.js} +1 -1
- package/dist/chunks/chunk-PVSUQGWK.js +9 -0
- package/dist/chunks/{chunk-ZCWHVLJ4.js → chunk-T5T7NCHJ.js} +1 -1
- package/dist/chunks/{chunk-2ZJJFBIA.js → chunk-USMZT5FZ.js} +12 -12
- package/dist/chunks/{chunk-KXEG7HCG.js → chunk-XC7AHL57.js} +114 -113
- package/dist/chunks/{chunk-O7VGFMDO.js → chunk-ZBZBV5TB.js} +1 -1
- package/dist/chunks/{cli-ZLDLOKPL.js → cli-ZYFSCHZK.js} +1 -1
- package/dist/chunks/{dist-BLBZENVB.js → dist-5VFPYEIV.js} +1 -1
- package/dist/chunks/{hosted-experiment-improvement-NTYYSPQX.js → hosted-experiment-improvement-MGBPXXW2.js} +1 -1
- package/dist/chunks/{hosted-harness-runtime-FZZLWLBR.js → hosted-harness-runtime-WOLADXXP.js} +1 -1
- package/dist/chunks/{hosted-profile-compiler-JODGZCA7.js → hosted-profile-compiler-NBMUCZVS.js} +1 -1
- package/dist/chunks/{hosted-profile-evaluation-preparation-F2SPAEKK.js → hosted-profile-evaluation-preparation-I6H6RFT6.js} +1 -1
- package/dist/chunks/{src-STK4YHBI.js → src-MGP3OYHL.js} +115 -115
- package/dist/chunks/{workspaces-XIQNPAP7.js → workspaces-MFZ3OO6O.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/web/assets/App-Dg6mZIQk.js +234 -0
- package/dist/web/assets/{AppDialog-1iGodoot.js → AppDialog-gcj3rrTZ.js} +1 -1
- package/dist/web/assets/{AppTerminalPanel-udtBdWFn.js → AppTerminalPanel-Be-E4qZF.js} +2 -2
- package/dist/web/assets/{AppsView-DhKsU4yi.js → AppsView-BdyPNSpT.js} +1 -1
- package/dist/web/assets/{BrowserSidebar-BnOyqIQT.js → BrowserSidebar-CcQxU0uO.js} +1 -1
- package/dist/web/assets/{CartesianChart-C24DAywn.js → CartesianChart-CN5hB6rV.js} +1 -1
- package/dist/web/assets/{CollaborationTabs-DgmOF5Fe.js → CollaborationTabs-BiDPHgXG.js} +1 -1
- package/dist/web/assets/{CommandMenu-CUNGtHwS.js → CommandMenu-B2qJCgWH.js} +1 -1
- package/dist/web/assets/{CommunityView-CE7qeJnr.js → CommunityView-D1aOQKfS.js} +1 -1
- package/dist/web/assets/{ComposerCreateImproveStrip-BixNsg2a.js → ComposerCreateImproveStrip-f1tdD0QS.js} +1 -1
- package/dist/web/assets/{GetStartedView-B8gCwmBX.js → GetStartedView-CPYs0fYN.js} +1 -1
- package/dist/web/assets/{HostedModelLearningReview-CitgUNfC.js → HostedModelLearningReview-DVfJyUW_.js} +1 -1
- package/dist/web/assets/{HostedModelLearningSettings-WUaqzNsa.js → HostedModelLearningSettings-IEKRXOkG.js} +1 -1
- package/dist/web/assets/{LabModelVersionDetailPage-Cx0kL69J.js → LabModelVersionDetailPage-DkIa0oG_.js} +1 -1
- package/dist/web/assets/{LabSkillSidebar-DRggqZ1j.js → LabSkillSidebar-BUlU1Ti-.js} +1 -1
- package/dist/web/assets/{LabsRoute-BujTZhqC.js → LabsRoute-8cKFNq19.js} +4 -4
- package/dist/web/assets/{MainChatThread-CyA_644R.js → MainChatThread-C5GwaIl_.js} +2 -2
- package/dist/web/assets/MainPane-SMqq5YAM.js +19 -0
- package/dist/web/assets/{MarkdownText-DJI5LwT0.js → MarkdownText-CLnvdLVg.js} +21 -21
- package/dist/web/assets/{NativeSkillSidebar-CkFpWxjd.js → NativeSkillSidebar-B9bVb00x.js} +1 -1
- package/dist/web/assets/{NewExperienceSwitcher-DXcRHHsu.js → NewExperienceSwitcher-CelgG7Ua.js} +1 -1
- package/dist/web/assets/{NewProjectDialog-gDzX_ZIJ.js → NewProjectDialog-eEnsg9s2.js} +1 -1
- package/dist/web/assets/{OutputsPage-J_k-_N82.js → OutputsPage-ByvsTUW-.js} +1 -1
- package/dist/web/assets/{ProjectsPage-BsyZmvlg.js → ProjectsPage-Cl2zFh8X.js} +1 -1
- package/dist/web/assets/{RightChatPanelStack-Bz8puMUB.js → RightChatPanelStack-MnGscF87.js} +1 -1
- package/dist/web/assets/{RightSidebarHomePanel-DmorYb6p.js → RightSidebarHomePanel-C6NXMYuy.js} +1 -1
- package/dist/web/assets/{ScheduledWorkPage-BFDzQUyL.js → ScheduledWorkPage-DCb6d7Lg.js} +1 -1
- package/dist/web/assets/{SettingsView-BB7wCdbr.js → SettingsView-BMFfrxmo.js} +3 -3
- package/dist/web/assets/{TeamChatView-CZ3b7rq2.js → TeamChatView-DW_v2B9E.js} +1 -1
- package/dist/web/assets/{TerminalOverlay-Ck43Qri3.js → TerminalOverlay-BJ7qsr9F.js} +1 -1
- package/dist/web/assets/{TrainingCreationPanel-ejqPZm3g.js → TrainingCreationPanel-GSIwP6f1.js} +1 -1
- package/dist/web/assets/{TrainingDraftPanel-Cy2AQxxL.js → TrainingDraftPanel-DorY6I29.js} +1 -1
- package/dist/web/assets/{UsageSettingsSection-B7nyMItm.js → UsageSettingsSection-DmzStI9q.js} +1 -1
- package/dist/web/assets/{WorkSidebarPanel-BfjAc097.js → WorkSidebarPanel-zsJrGaaL.js} +1 -1
- package/dist/web/assets/WorkspaceDiffPanel-CiFsZjMm.js +14 -0
- package/dist/web/assets/{WorkspaceEnvironmentMenu-B-K9XgFB.js → WorkspaceEnvironmentMenu-vJw9hE0y.js} +1 -1
- package/dist/web/assets/{WorkspaceGitDialogs-BJVFx_L3.js → WorkspaceGitDialogs-BpL-xtRX.js} +1 -1
- package/dist/web/assets/{WorkspaceMonacoEditor-p-FWMXoZ.js → WorkspaceMonacoEditor-CJ3x0GHH.js} +3 -3
- package/dist/web/assets/{arrow-up-right-CFGI2YSt.js → arrow-up-right-C60QSULo.js} +1 -1
- package/dist/web/assets/{chunk-UHVJOMWN-BAlur2vw.js → chunk-UHVJOMWN-BxgPi0yP.js} +1 -1
- package/dist/web/assets/{clipboard-DIIxBort.js → clipboard-QIy0Jd_K.js} +1 -1
- package/dist/web/assets/{cloud-upload-BaQFNCTp.js → cloud-upload-B9L-_gy0.js} +1 -1
- package/dist/web/assets/{cssMode-6LOkSggB.js → cssMode-ffPyPUW9.js} +1 -1
- package/dist/web/assets/{folder-open-DZSxfPtr.js → folder-open-BFy7KXWm.js} +1 -1
- package/dist/web/assets/{folder-plus-21v4D_Vx.js → folder-plus-C3iGtUOI.js} +1 -1
- package/dist/web/assets/{git-commit-horizontal-CgGixL64.js → git-commit-horizontal-DsTniKvi.js} +1 -1
- package/dist/web/assets/{htmlMode-B5uRraNd.js → htmlMode-7ytlsiyK.js} +1 -1
- package/dist/web/assets/{index-DOMrqhcz.js → index-BK8GmZmB.js} +2 -2
- package/dist/web/assets/index-C0H85uUI.css +1 -0
- package/dist/web/assets/{info-BGTcmow7.js → info-C8mwoaIJ.js} +1 -1
- package/dist/web/assets/{jsonMode-D3m8N4Gi.js → jsonMode-BT35NJi4.js} +1 -1
- package/dist/web/assets/{lspLanguageFeatures-DoyipLsB.js → lspLanguageFeatures-BKAwIewO.js} +1 -1
- package/dist/web/assets/{minimize-2-B01qSko4.js → minimize-2-34MApatV.js} +1 -1
- package/dist/web/assets/{monaco.contribution-BJyfaGX2.js → monaco.contribution-9diduNNi.js} +2 -2
- package/dist/web/assets/{monaco.contribution-Bc22foTx.js → monaco.contribution-CxtX0z-m.js} +2 -2
- package/dist/web/assets/{monaco.contribution-DuRhJ6zU.js → monaco.contribution-DVnPUDsR.js} +2 -2
- package/dist/web/assets/{monaco.contribution--U8v3jpa.js → monaco.contribution-Dj4R5U8Z.js} +2 -2
- package/dist/web/assets/{monitor-eZP8ZTHe.js → monitor-4JxqJ7wz.js} +1 -1
- package/dist/web/assets/{play-CGsWFR_B.js → play-C4PtpamL.js} +1 -1
- package/dist/web/assets/{python-BNrLZWud.js → python-0GVncePC.js} +1 -1
- package/dist/web/assets/{save-BLgjrccP.js → save-DjB16eou.js} +1 -1
- package/dist/web/assets/{square-CI1qNtvE.js → square-Coz7UQqd.js} +1 -1
- package/dist/web/assets/{toggleHighContrast-B_GcTCnw.js → toggleHighContrast-D-3108_3.js} +1 -1
- package/dist/web/assets/{tsMode-CmruH_ys.js → tsMode-CV4ktqqR.js} +1 -1
- package/dist/web/assets/{upload-DnlgGS2x.js → upload-D007T9Hm.js} +1 -1
- package/dist/web/assets/{useLocalAgentSchedules-BBhGUfK-.js → useLocalAgentSchedules-BXjFbAVS.js} +1 -1
- package/dist/web/assets/{useProviderSettings-DfhdkKdC.js → useProviderSettings-SY7mp-5B.js} +1 -1
- package/dist/web/assets/{useSessionTurnCache-BwscKl5i.js → useSessionTurnCache-Bee6zbC_.js} +1 -1
- package/dist/web/assets/{wifi-off-Dz-4EDCc.js → wifi-off-BbNZc0za.js} +1 -1
- package/dist/web/assets/{workers-Bi9u46cp.js → workers-DNQ5ne3z.js} +1 -1
- package/dist/web/assets/{yaml-DVTkiRnh.js → yaml-BfAho-gB.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunks/chunk-7K72KS5C.js +0 -9
- package/dist/web/assets/App-BI-uOpnP.js +0 -234
- package/dist/web/assets/MainPane-LaEtxydD.js +0 -19
- package/dist/web/assets/WorkspaceDiffPanel-D9hAV8l7.js +0 -14
- package/dist/web/assets/index-DJcUXSsN.css +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{c as A0,af as $0,ag as je,G as na,bb as v1,X as g1,ar as M0,bu as z0,bv as b1,i as y1}from"./App-BI-uOpnP.js";import{r as G,j as C}from"./index-DOMrqhcz.js";const w1=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],Hs=A0("archive",w1);const x1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Ps=A0("arrow-right",x1);const k1=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],js=A0("chevron-up",k1);const S1=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],M1=A0("code-xml",S1);const z1=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],A1=A0("copy",z1);const T1=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],Us=A0("file",T1);const C1=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],$s=A0("pause",C1);const B1=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Gs=A0("trash-2",B1);const D1=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],Ws=A0("workflow",D1);const I1=[["path",{d:"m16 16-3 3 3 3",key:"117b85"}],["path",{d:"M3 12h14.5a1 1 0 0 1 0 7H13",key:"18xa6z"}],["path",{d:"M3 19h6",key:"1ygdsz"}],["path",{d:"M3 5h18",key:"1u36vt"}]],N1=A0("text-wrap",I1);function ia(r,e,t){const a=sa(r),[n,i]=G.useState(()=>a.getUrl(e,t));return G.useEffect(()=>{let o=!1;return i(a.getUrl(e,t)),a.loadUrl(e,t).then(u=>{o||i(u)}),()=>{o=!0}},[e,t,a]),n}function sa(r){const[,e]=G.useState(0),t=G.useCallback((i,o)=>!r||!i||!o?null:($0.activateConnection(r),$0.get(je(r,"workspace-image",i,o))),[r]),a=G.useCallback(async(i,o)=>{if(!r||!i||!o)return null;$0.activateConnection(r);const u=je(r,"workspace-image",i,o);return $0.load(u,()=>na.signWorkspaceImageUrl(r,{appId:i,path:o})).finally(()=>e(c=>c+1))},[r]),n=G.useCallback((i,o)=>{a(i,o)},[a]);return G.useMemo(()=>({ensureUrl:n,getUrl:t,loadUrl:a}),[n,t,a])}function q1({open:r,src:e,title:t,onClose:a}){const[n,i]=G.useState(!1);if(G.useEffect(()=>{if(!r)return;const c=d=>{d.key==="Escape"&&a()};return window.addEventListener("keydown",c),()=>window.removeEventListener("keydown",c)},[a,r]),G.useEffect(()=>{i(!1)},[e]),!r||!e)return null;const o=(()=>{const c=t.split("/").pop()?.trim();if(c&&/\.[A-Za-z0-9]+$/.test(c))return c;try{const v=new URL(e,window.location.href).pathname.split("/").pop()?.trim();if(v&&/\.[A-Za-z0-9]+$/.test(v))return v}catch{}return"image.png"})(),u=()=>{const c=document.createElement("a");c.href=e,c.download=o,c.rel="noopener",document.body.appendChild(c),c.click(),c.remove()};return C.jsx("div",{className:"image-lightbox-backdrop",role:"presentation",onMouseDown:c=>{c.target===c.currentTarget&&a()},children:C.jsxs("section",{"aria-label":t?`Image preview: ${t}`:"Image preview","aria-modal":"true",className:"image-lightbox-dialog",role:"dialog",children:[C.jsxs("header",{className:"image-lightbox-header",children:[C.jsx("span",{title:t,children:t}),C.jsxs("div",{className:"image-lightbox-actions",children:[C.jsx("button",{type:"button","aria-label":"Download image",title:"Download",onClick:u,children:C.jsx(v1,{size:16})}),C.jsx("button",{type:"button","aria-label":"Close image preview",title:"Close",onClick:a,children:C.jsx(g1,{size:16})})]})]}),C.jsx("div",{className:"image-lightbox-frame",children:n?C.jsx("div",{className:"image-lightbox-error",children:"Image preview unavailable"}):C.jsx("img",{alt:t||"Image preview",decoding:"async",draggable:!1,src:e,onError:()=>i(!0)})})]})})}async function kt(r){if(!r)return!1;try{if(navigator.clipboard?.writeText)return await navigator.clipboard.writeText(r),!0}catch(e){console.warn("Clipboard write failed",e)}try{const e=document.createElement("textarea");e.value=r,e.setAttribute("readonly",""),e.style.position="fixed",e.style.left="-1000px",e.style.top="-1000px",document.body.appendChild(e),e.select();const t=document.execCommand("copy");return e.remove(),t}catch(e){return console.warn("Clipboard fallback failed",e),!1}}const E1=new Set(["bash","c","cc","cjs","cpp","css","csv","env","gif","go","graphql","h","hpp","html","ico","java","jpeg","jpg","js","json","jsx","lock","lockb","md","mdx","m4v","mjs","mov","mp4","png","py","rs","scss","sh","sql","svg","toml","ts","tsx","txt","webp","webm","yaml","yml","zsh"]),R1=new Set(["AGENTS.md","Dockerfile","LICENSE","Makefile","README"]),St=String.raw`[A-Za-z0-9_.@+-]+`,L1=new RegExp(String.raw`^(?:(?:\.{1,2}|~)?[\\/]|[A-Za-z]:[\\/])?(?:${St}[\\/])+${St}(?::\d+(?::\d+)?)?`),O1=new RegExp(String.raw`^${St}(?::\d+(?::\d+)?)?`),F1=/^(?:workspace|sandbox):file:[^\s<>()]+/;function Vs({projectTargetDetail:r,projectTargetValue:e,workspaceRepoPath:t,workspaceTargetValue:a}){const n=t?.trim();return n||(a!=="local"||!e.startsWith("local:")?null:r.trim()||null)}function H1(r,e,t={}){if(!G1(r[e-1]))return null;const a=r.slice(e),n=F1.exec(a),i=n?null:L1.exec(a),o=n||i?null:O1.exec(a),u=la((n??i??o)?.[0]??"");if(!u)return null;const c=Ge(u,t);return c?{...c,end:e+u.length}:null}function Ge(r,e={}){const t=la(r.trim().replace(/^['"`]+|['"`]+$/g,""));if(!t||/^https?:\/\//i.test(t))return null;const n=j1(P1(t)).replace(/:\d+(?::\d+)?$/,"");return $1(n)?{displayPath:t,path:U1(n,e.workspaceRootPath)}:null}function P1(r){const e=/^(workspace|sandbox):file:(.*)$/i.exec(r);if(!e)return r;const t=e[1]?.toLowerCase();let a=e[2]??"";return t==="sandbox"&&(a=a.replace(/^\/workspace\/app\//,"").replace(/^\/workspace\//,"")),a}function j1(r){if(!/^file:\/\//i.test(r))return r;try{return decodeURIComponent(new URL(r).pathname)}catch{return r.replace(/^file:\/\//i,"")}}function U1(r,e){let t=r.replace(/\\/g,"/").replace(/^\.\/+/,"");const a=e?.trim().replace(/\\/g,"/").replace(/\/+$/,"");if(!a)return t;t.startsWith(`${a}/`)&&(t=t.slice(a.length+1));const n=a.split("/").filter(Boolean).at(-1);return n&&t.startsWith(`${n}/`)&&(t=t.slice(n.length+1)),t}function $1(r){const e=r.replace(/\\/g,"/").split("/").filter(Boolean).at(-1)??r;if(R1.has(e)||e.startsWith(".")&&e.length>1)return!0;const t=e.includes(".")?e.split(".").at(-1)?.toLowerCase():null;return!!(t&&E1.has(t))}function G1(r){return!r||/[\s([{<"'`]/.test(r)}function la(r){return r.replace(/[.,;!?]+$/,"").replace(/[\])}]+$/,"")}function oa(r,e){const t=ua(r),[a,n]=G.useState(()=>t.getUrl(e));return G.useEffect(()=>{let i=!1;return n(t.getUrl(e)),t.loadUrl(e).then(o=>{i||n(o)}),()=>{i=!0}},[e,t]),a}function ua(r){const[,e]=G.useState(0),t=G.useCallback(n=>!r||!n?null:($0.activateConnection(r),$0.get(je(r,"local-image",n))),[r]),a=G.useCallback(async n=>{if(!r||!n)return null;$0.activateConnection(r);const i=je(r,"local-image",n);return $0.load(i,()=>na.signLocalImageUrl(r,{path:n})).finally(()=>e(o=>o+1))},[r]);return G.useMemo(()=>({getUrl:t,loadUrl:a}),[t,a])}function Fe(r){const e=r.replace(/\r\n/g,`
|
|
1
|
+
import{c as T0,z as sa,af as M0,ag as oe,G as Ge,aq as yn,bb as wn,X as xn,ar as z0,bu as A0,bv as kn,i as Sn}from"./App-Dg6mZIQk.js";import{r as U,j as B}from"./index-BK8GmZmB.js";const Mn=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],Vs=T0("archive",Mn);const zn=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Xs=T0("arrow-right",zn);const An=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Ys=T0("chevron-up",An);const Tn=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],Cn=T0("code-xml",Tn);const Bn=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],In=T0("copy",Bn);const Dn=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],Zs=T0("file",Dn);const Nn=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],Ks=T0("pause",Nn);const En=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Js=T0("trash-2",En);const qn=[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]],Qs=T0("workflow",qn);const Rn=[["path",{d:"m16 16-3 3 3 3",key:"117b85"}],["path",{d:"M3 12h14.5a1 1 0 0 1 0 7H13",key:"18xa6z"}],["path",{d:"M3 19h6",key:"1ygdsz"}],["path",{d:"M3 5h18",key:"1u36vt"}]],Ln=T0("text-wrap",Rn),fr=r=>/\.html?(?:[?#].*)?$/i.test(r);async function _s(r,e,t,a="local"){return(await sa(r,`/v1/${a==="sandbox"?"sandboxes":"workspaces"}/${encodeURIComponent(e)}/html-preview`,{method:"POST",body:JSON.stringify({path:t})})).url}async function el(r,e,t){return(await sa(r,"/v1/html-previews",{method:"POST",body:JSON.stringify({name:e,content:t})})).url}function la(r,e,t){const[a,n]=U.useState({key:e,url:null,status:"loading"}),i=U.useRef(null);U.useEffect(()=>{if(!r||!e)return;M0.activateConnection(r);const u=M0.watch(e,t,d=>n({...d,key:e}));i.current=u;const c=()=>{document.visibilityState!=="hidden"&&u.refresh()};return window.addEventListener("focus",c),window.addEventListener("openpond-runtime-connected",c),document.addEventListener("visibilitychange",c),()=>{u.close(),i.current=null,window.removeEventListener("focus",c),window.removeEventListener("openpond-runtime-connected",c),document.removeEventListener("visibilitychange",c)}},[r,e,t]);const o=U.useCallback(()=>i.current?.refresh(!0),[]);return{...a.key===e&&r&&e?a:{url:null,status:"loading"},retry:o}}function On(r,e,t){return oa(r,e,t).url}function oa(r,e,t){const a=U.useCallback(()=>Ge.signWorkspaceImageUrl(r,{appId:e,path:t}),[r,e,t]);return la(r,r&&e&&t?oe(r,"workspace-image",e,t):null,a)}function Fn(r){const[,e]=U.useState(0),t=U.useCallback((i,o)=>!r||!i||!o?null:(M0.activateConnection(r),M0.get(oe(r,"workspace-image",i,o))),[r]),a=U.useCallback(async(i,o)=>{if(!r||!i||!o)return null;M0.activateConnection(r);const u=oe(r,"workspace-image",i,o);return M0.load(u,()=>Ge.signWorkspaceImageUrl(r,{appId:i,path:o})).finally(()=>e(c=>c+1))},[r]),n=U.useCallback((i,o)=>{a(i,o)},[a]);return U.useMemo(()=>({ensureUrl:n,getUrl:t,loadUrl:a}),[n,t,a])}async function Pn(r,e){const t=window.openpond?.files?.saveImage;if(t){const d=await t({url:new URL(r,window.location.href).href,suggestedName:e});if(!d.ok&&!d.canceled)throw new Error(d.error||"Could not save image.");return}const a=window.showSaveFilePicker;let n;try{n=a?await a.call(window,{suggestedName:e}):void 0}catch(d){if(d instanceof DOMException&&d.name==="AbortError")return;throw d}const i=await fetch(r);if(!i.ok)throw new Error(`Image download failed (${i.status}).`);const o=await i.blob();if(n){const d=await n.createWritable();try{await d.write(o),await d.close()}catch(v){throw await d.abort().catch(()=>{}),v}return}const u=URL.createObjectURL(o),c=document.createElement("a");c.href=u,c.download=e,document.body.appendChild(c),c.click(),c.remove(),setTimeout(()=>URL.revokeObjectURL(u),6e4)}function Hn({open:r,src:e,title:t,onClose:a}){const[n,i]=U.useState(!1),[o,u]=U.useState(!1),[c,d]=U.useState(null);if(U.useEffect(()=>{if(!r)return;const y=w=>{w.key==="Escape"&&a()};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[a,r]),U.useEffect(()=>{i(!1),d(null)},[e]),!r||!e)return null;const v=(()=>{const y=t.split("/").pop()?.trim();if(y&&/\.[A-Za-z0-9]+$/.test(y))return y;try{const w=new URL(e,window.location.href),z=(w.searchParams.get("path")??w.searchParams.get("storageName")??w.pathname).split(/[\\/]/).pop()?.trim();if(z&&/\.[A-Za-z0-9]+$/.test(z))return z}catch{}return"image.png"})(),b=async()=>{if(!o){u(!0),d(null);try{await Pn(e,v)}catch(y){d(y instanceof Error?y.message:"Could not save image.")}finally{u(!1)}}};return yn.createPortal(B.jsx("div",{className:"image-lightbox-backdrop",role:"presentation",onMouseDown:y=>{y.target===y.currentTarget&&a()},children:B.jsxs("section",{"aria-label":t?`Image preview: ${t}`:"Image preview","aria-modal":"true",className:"image-lightbox-dialog",role:"dialog",children:[B.jsxs("header",{className:"image-lightbox-header",children:[B.jsx("span",{title:t,children:t}),B.jsxs("div",{className:"image-lightbox-actions",children:[B.jsx("button",{type:"button","aria-label":"Download image",title:"Download",disabled:o,"aria-busy":o,onClick:b,children:B.jsx(wn,{size:16})}),B.jsx("button",{type:"button","aria-label":"Close image preview",title:"Close",onClick:a,children:B.jsx(xn,{size:16})})]})]}),c&&B.jsx("div",{className:"image-lightbox-error",role:"alert",children:c}),B.jsx("div",{className:"image-lightbox-frame",children:n?B.jsx("div",{className:"image-lightbox-error",children:"Image preview unavailable"}):B.jsx("img",{alt:t||"Image preview",decoding:"async",draggable:!1,src:e,onError:()=>i(!0)})})]})}),document.body)}async function St(r){if(!r)return!1;try{if(navigator.clipboard?.writeText)return await navigator.clipboard.writeText(r),!0}catch(e){console.warn("Clipboard write failed",e)}try{const e=document.createElement("textarea");e.value=r,e.setAttribute("readonly",""),e.style.position="fixed",e.style.left="-1000px",e.style.top="-1000px",document.body.appendChild(e),e.select();const t=document.execCommand("copy");return e.remove(),t}catch(e){return console.warn("Clipboard fallback failed",e),!1}}const jn=new Set(["bash","c","cc","cjs","cpp","css","csv","docx","env","gif","go","graphql","h","hpp","html","htm","ico","java","jpeg","jpg","js","json","jsx","lock","lockb","md","mdx","m4v","mjs","mov","mp4","pdf","pptx","png","py","rs","scss","sh","sql","svg","toml","ts","tsx","txt","xlsx","webp","webm","yaml","yml","zsh"]),Un=new Set(["AGENTS.md","Dockerfile","LICENSE","Makefile","README"]),Mt=String.raw`[A-Za-z0-9_.@+-]+`,$n=new RegExp(String.raw`^(?:(?:\.{1,2}|~)?[\\/]|[A-Za-z]:[\\/])?(?:${Mt}[\\/])+${Mt}(?::\d+(?::\d+)?)?`),Gn=new RegExp(String.raw`^${Mt}(?::\d+(?::\d+)?)?`),Wn=/^(?:workspace|sandbox):file:[^\s<>()]+/;function tl({projectTargetDetail:r,projectTargetValue:e,workspaceRepoPath:t,workspaceTargetValue:a}){const n=t?.trim();return n||(a!=="local"||!e.startsWith("local:")?null:r.trim()||null)}function Vn(r,e,t={}){if(!Jn(r[e-1]))return null;const a=r.slice(e),n=Wn.exec(a),i=n?null:$n.exec(a),o=n||i?null:Gn.exec(a),u=ua((n??i??o)?.[0]??"");if(!u)return null;const c=We(u,t);return c?{...c,end:e+u.length}:null}function We(r,e={}){const t=ua(r.trim().replace(/^['"`]+|['"`]+$/g,""));if(!t||/^https?:\/\//i.test(t))return null;const n=Yn(Xn(t)).replace(/:\d+(?::\d+)?$/,"");return Kn(n.replace(/(\.html?)[?#].*$/i,"$1"))?{displayPath:t,path:Zn(e.fileBasePath&&!/^(?:workspace|sandbox):file:/i.test(t)&&!/^(?:[~/\\]|[A-Za-z]:|(?:workspace|sandbox):file:)/.test(n)?`${e.fileBasePath.replace(/[\\/]+$/,"")}/${n.replace(/^\.\//,"")}`:n,e.workspaceRootPath)}:null}function Xn(r){const e=/^(workspace|sandbox):file:(.*)$/i.exec(r);if(!e)return r;const t=e[1]?.toLowerCase();let a=e[2]??"";return t==="sandbox"&&(a=a.replace(/^\/workspace\/app\//,"").replace(/^\/workspace\//,"")),a}function Yn(r){if(!/^file:\/\//i.test(r))return r;try{const e=new URL(r);return decodeURIComponent(e.pathname)+(/\.html?$/i.test(e.pathname)?e.search+e.hash:"")}catch{return r.replace(/^file:\/\//i,"")}}function Zn(r,e){let t=r.replace(/\\/g,"/").replace(/^\.\/+/,"");const a=e?.trim().replace(/\\/g,"/").replace(/\/+$/,"");if(!a)return t;t.startsWith(`${a}/`)&&(t=t.slice(a.length+1));const n=a.split("/").filter(Boolean).at(-1);return n&&t.startsWith(`${n}/`)&&(t=t.slice(n.length+1)),t}function Kn(r){if(/[\n\r]/.test(r)||/^[^/\\]*\s/.test(r)||/[=;?<>|]/.test(r))return!1;if(/[\\/]$/.test(r)&&/[^.~/\\]/.test(r))return!0;const e=r.replace(/\\/g,"/").split("/").filter(Boolean).at(-1)??r;if(Un.has(e)||/^\.[A-Za-z_]/.test(e))return!0;const t=e.includes(".")?e.split(".").at(-1)?.toLowerCase():null;return!!(t&&jn.has(t))}function Jn(r){return!r||/[\s([{<"'`]/.test(r)}function ua(r){return r.replace(/[.,;!?]+$/,"").replace(/[\])}]+$/,"")}function Qn(r){return/^(?:#{1,6}\s*)?(?:\*\*)?(?:files|outputs|deliverables|everything)(?:\*\*)?\s*(?:(?:is|are)\s+)?(?:\(\s*)?(?:in|at|under|:)\s*`((?:~[\/]|[\/]|[A-Za-z]:[\/])[^`\n]+[\/])`/i.exec(r.trim())?.[1]??null}function _n(r,e){return ha(r,e).url}function ha(r,e){const t=U.useCallback(()=>Ge.signLocalImageUrl(r,{path:e}),[r,e]);return la(r,r&&e?oe(r,"local-image",e):null,t)}function e1(r){const[,e]=U.useState(0),t=U.useCallback(n=>!r||!n?null:(M0.activateConnection(r),M0.get(oe(r,"local-image",n))),[r]),a=U.useCallback(async n=>{if(!r||!n)return null;M0.activateConnection(r);const i=oe(r,"local-image",n);return M0.load(i,()=>Ge.signLocalImageUrl(r,{path:n})).finally(()=>e(o=>o+1))},[r]);return U.useMemo(()=>({getUrl:t,loadUrl:a}),[t,a])}function Pe(r){const e=r.replace(/\r\n/g,`
|
|
2
2
|
`).split(`
|
|
3
3
|
`),t=[];let a=[],n=[],i=[],o=!1,u,c=null,d,v=0,b=null;function y(){a.length!==0&&(t.push({type:"paragraph",content:a.join(`
|
|
4
4
|
`).trim()}),a=[])}function w(){n.length!==0&&(t.push({type:"blockquote",content:n.join(`
|
|
5
|
-
`)}),n=[])}function
|
|
6
|
-
`),language:d}),c=null,d=void 0,v=0;continue}c.push(
|
|
7
|
-
`).trim()}),b=null;continue}b.lines.push(
|
|
5
|
+
`)}),n=[])}function x(){i.length!==0&&(t.push({type:"list",ordered:o,start:u,items:i}),i=[],o=!1,u=void 0)}for(let z=0;z<e.length;z+=1){const S=e[z];if(c){if(da(S,v)){t.push({type:"code",content:c.join(`
|
|
6
|
+
`),language:d}),c=null,d=void 0,v=0;continue}c.push(S);continue}if(b){const P=ma(S,b.delimiter);if(P){P.content&&b.lines.push(P.content),t.push({type:"math",content:b.lines.join(`
|
|
7
|
+
`).trim()}),b=null;continue}b.lines.push(S);continue}const C=S.match(/^\s*>\s?(.*)$/);if(C){y(),x(),n.push(C[1]??"");continue}w();const E=fa(S);if(E){y(),x(),c=E.firstLine===void 0?[]:[E.firstLine],d=E.language,v=E.ticks;continue}const q=ca(S);if(q){y(),x(),q.closed?t.push({type:"math",content:q.content.trim()}):b={delimiter:q.delimiter,lines:q.content?[q.content]:[],openingLine:S};continue}const R=i1(e,z);if(R){y(),x(),t.push({type:"table",headers:R.headers,rows:R.rows}),z=R.endIndex;continue}const j=S.match(/^\s*(#{1,4})(?:\s+|(?=\d+[.)]\s+))(.+)$/);if(j){y(),x();const P=j[1].length;t.push({type:"heading",level:P,content:j[2].trim()});continue}const L=S.match(pa);if(L){y();const P=!!L[2];i.length>0&&P!==o&&x(),o=P;const G=L[2]?Number(L[2]):null;i.length===0&&(u=G??void 0),i.push(n1(L[3].trim(),G));continue}if(!S.trim()){if(y(),i.length>0&&a1(e,z+1)===o)continue;x();continue}x(),a.push(S)}return c&&t.push({type:"code",content:c.join(`
|
|
8
8
|
`),language:d}),b&&t.push({type:"paragraph",content:[b.openingLine,...b.lines].join(`
|
|
9
|
-
`)}),w(),y(),
|
|
10
|
-
`)+1;return
|
|
11
|
-
`);let t=0,a=null,n=0;for(const i of e){if(t>0){
|
|
9
|
+
`)}),w(),y(),x(),t}const t1=/^\s*(?:#{1,4}\s*|>\s*|\d+[.)]\s*|[-*]\s*)$/;function rl(r,e){if(e)return r;const t=r1(r);if(t!==null)return r.slice(0,t);const a=r.lastIndexOf(`
|
|
10
|
+
`)+1;return t1.test(r.slice(a))?r.slice(0,a):r}function ca(r){const e=r.trim(),t=e.startsWith("\\[")?"bracket":e.startsWith("$$")?"dollar":null;if(!t)return null;const a=2,n=t==="bracket"?"\\]":"$$",i=e.slice(a),o=i.indexOf(n);return o<0?{delimiter:t,content:i.trim(),closed:!1}:i.slice(o+n.length).trim()?null:{delimiter:t,content:i.slice(0,o).trim(),closed:!0}}function ma(r,e){const t=e==="bracket"?"\\]":"$$",a=r.indexOf(t);return a<0||r.slice(a+t.length).trim()?null:{content:r.slice(0,a).trimEnd()}}function r1(r){const e=r.split(`
|
|
11
|
+
`);let t=0,a=null,n=0;for(const i of e){if(t>0){da(i,t)&&(t=0),n+=i.length+1;continue}if(a){ma(i,a.delimiter)&&(a=null),n+=i.length+1;continue}const o=fa(i);if(o){t=o.ticks,n+=i.length+1;continue}const u=ca(i);u&&!u.closed&&(a={delimiter:u.delimiter,offset:n}),n+=i.length+1}return a?.offset??null}function da(r,e){const t=r.match(/^\s*(`{2,})\s*(?:[A-Za-z0-9_-]+)?\s*$/);return!!(t&&t[1].length>=e)}function fa(r){const e=r.match(/^\s*(`{2,})\s*([A-Za-z0-9_-]+)?\s*$/);if(e)return{language:e[2],ticks:e[1].length};const t=r.match(/^\s*(`{2,})\s*([A-Za-z][A-Za-z0-9_-]*)(?:\s+(\S.*)|(\S.*))$/);return t?{language:t[2],firstLine:t[3]??t[4],ticks:t[1].length}:null}const pa=/^\s*(?:([-*])|(\d+)[.)])\s+(.+)$/;function a1(r,e){let t=e;for(;t<r.length&&!r[t].trim();)t+=1;const a=(r[t]??"").match(pa);return a?!!a[2]:null}function n1(r,e){const t=/^\[([ xX])]\s*(.*)$/.exec(r);return t?{content:t[2]??"",checked:t[1]?.toLowerCase()==="x",ordinal:e}:{content:r,checked:null,ordinal:e}}function i1(r,e){const t=r[e]??"",a=r[e+1]??"";if(!t.includes("|")||!s1(a))return null;const n=zt(t);if(n.length===0)return null;const i=[];let o=e+2;for(;o<r.length;){const u=r[o]??"";if(!u.trim()||!u.includes("|"))break;i.push(zt(u)),o+=1}return{headers:n,rows:i,endIndex:o-1}}function s1(r){const e=zt(r);return e.length>0&&e.every(t=>/^:?-{3,}:?$/.test(t.trim()))}function zt(r){return r.trim().replace(/^\|/,"").replace(/\|$/,"").split("|").map(t=>t.trim())}class A extends Error{constructor(e,t){var a="KaTeX parse error: "+e,n,i,o=t&&t.loc;if(o&&o.start<=o.end){var u=o.lexer.input;n=o.start,i=o.end,n===u.length?a+=" at end of input: ":a+=" at position "+(n+1)+": ";var c=u.slice(n,i).replace(/[^]/g,"$&̲"),d;n>15?d="…"+u.slice(n-15,n):d=u.slice(0,n);var v;i+15<u.length?v=u.slice(i,i+15)+"…":v=u.slice(i),a+=d+c+v}super(a),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,A.prototype),this.position=n,n!=null&&i!=null&&(this.length=i-n),this.rawMessage=e}}var l1=/([A-Z])/g,o1=r=>r.replace(l1,"-$1").toLowerCase(),u1={"&":"&",">":">","<":"<",'"':""","'":"'"},h1=/[&><"']/g,l0=r=>String(r).replace(h1,e=>u1[e]),He=r=>r.type==="ordgroup"||r.type==="color"?r.body.length===1?He(r.body[0]):r:r.type==="font"?He(r.body):r,c1=new Set(["mathord","textord","atom"]),L0=r=>c1.has(He(r).type),m1=r=>{var e=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(r);return e?e[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?null:e[1].toLowerCase():"_relative"},pr={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:r=>"#"+r},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:(r,e)=>(e.push(r),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:r=>Math.max(0,r),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:r=>Math.max(0,r),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:r=>Math.max(0,r),cli:"-e, --max-expand <n>",cliProcessor:r=>r==="Infinity"?1/0:parseInt(r)},globalGroup:{type:"boolean",cli:!1}};function d1(r){if(typeof r!="string")return r.enum[0];switch(r){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 f1(r){if(Object.prototype.hasOwnProperty.call(r,"default")&&r.default!==void 0)return r.default;var e=Array.isArray(r.type)?r.type[0]:r.type;return d1(e)}function p1(r,e,t,a){var n=Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0,i=Object.prototype.hasOwnProperty.call(a,"processor")?a.processor:void 0;r[e]=n!==void 0?i?i(n):n:f1(a)}class v1{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 t of Object.keys(pr)){var a=pr[t];a&&p1(this,t,e,a)}}reportNonstrict(e,t,a){var n=this.strict;if(typeof n=="function"&&(n=n(e,t,a)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new A("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),a);n==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,a){var n=this.strict;if(typeof n=="function")try{n=n(e,t,a)}catch{n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" ["+e+"]")),!1)}isTrusted(e){if("url"in e&&e.url&&!e.protocol){var t=m1(e.url);if(t==null)return!1;e.protocol=t}var a=typeof this.trust=="function"?this.trust(e):this.trust;return!!a}}class U0{constructor(e,t,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=a}sup(){return S0[g1[this.id]]}sub(){return S0[b1[this.id]]}fracNum(){return S0[y1[this.id]]}fracDen(){return S0[w1[this.id]]}cramp(){return S0[x1[this.id]]}text(){return S0[k1[this.id]]}isTight(){return this.size>=2}}var Wt=0,Ue=1,le=2,R0=3,ye=4,g0=5,ue=6,h0=7,S0=[new U0(Wt,0,!1),new U0(Ue,0,!0),new U0(le,1,!1),new U0(R0,1,!0),new U0(ye,2,!1),new U0(g0,2,!0),new U0(ue,3,!1),new U0(h0,3,!0)],g1=[ye,g0,ye,g0,ue,h0,ue,h0],b1=[g0,g0,g0,g0,h0,h0,h0,h0],y1=[le,R0,ye,g0,ue,h0,ue,h0],w1=[R0,R0,g0,g0,h0,h0,h0,h0],x1=[Ue,Ue,R0,R0,g0,g0,h0,h0],k1=[Wt,Ue,le,R0,le,R0,le,R0],H={DISPLAY:S0[Wt],TEXT:S0[le],SCRIPT:S0[ye],SCRIPTSCRIPT:S0[ue]},At=[{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 S1(r){for(var e=0;e<At.length;e++)for(var t=At[e],a=0;a<t.blocks.length;a++){var n=t.blocks[a];if(r>=n[0]&&r<=n[1])return t.name}return null}var je=[];At.forEach(r=>r.blocks.forEach(e=>je.push(...e)));function va(r){for(var e=0;e<je.length;e+=2)if(r>=je[e]&&r<=je[e+1])return!0;return!1}var i0=r=>r+" "+r,se=80,M1=function(e,t){return"M95,"+(622+e+t)+`
|
|
12
12
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
13
13
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
14
14
|
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
|
|
@@ -19,7 +19,7 @@ c5.3,-9.3,12,-14,20,-14
|
|
|
19
19
|
H400000v`+(40+e)+`H845.2724
|
|
20
20
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
21
21
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
22
|
-
M`+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},
|
|
22
|
+
M`+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},z1=function(e,t){return"M263,"+(601+e+t)+`c0.7,0,18,39.7,52,119
|
|
23
23
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
24
24
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
25
25
|
l`+e/2.084+" -"+e+`
|
|
@@ -29,7 +29,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,
|
|
|
29
29
|
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
|
|
30
30
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
31
31
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
32
|
-
M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},
|
|
32
|
+
M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},A1=function(e,t){return"M983 "+(10+e+t)+`
|
|
33
33
|
l`+e/3.13+" -"+e+`
|
|
34
34
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
|
|
35
35
|
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
|
|
@@ -38,7 +38,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
|
38
38
|
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
39
39
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
40
40
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
41
|
-
M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},
|
|
41
|
+
M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},T1=function(e,t){return"M424,"+(2398+e+t)+`
|
|
42
42
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
43
43
|
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
|
|
44
44
|
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
@@ -48,18 +48,18 @@ v`+(40+e)+`H1014.6
|
|
|
48
48
|
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
49
49
|
c-2,6,-10,9,-24,9
|
|
50
50
|
c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+t+`
|
|
51
|
-
h400000v`+(40+e)+"h-400000z"},
|
|
51
|
+
h400000v`+(40+e)+"h-400000z"},C1=function(e,t){return"M473,"+(2713+e+t)+`
|
|
52
52
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
|
|
53
53
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
|
|
54
54
|
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
55
55
|
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
|
|
56
56
|
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
|
|
57
57
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
58
|
-
606zM`+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},
|
|
58
|
+
606zM`+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},B1=function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},I1=function(e,t,a){var n=a-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+`
|
|
59
59
|
H742v`+n+`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
|
|
60
60
|
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
61
61
|
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
62
|
-
219 661 l218 661zM702 `+t+"H400000v"+(40+e)+"H742z"},
|
|
62
|
+
219 661 l218 661zM702 `+t+"H400000v"+(40+e)+"H742z"},D1=function(e,t,a){t=1e3*t;var n="";switch(e){case"sqrtMain":n=M1(t,se);break;case"sqrtSize1":n=z1(t,se);break;case"sqrtSize2":n=A1(t,se);break;case"sqrtSize3":n=T1(t,se);break;case"sqrtSize4":n=C1(t,se);break;case"sqrtTall":n=I1(t,se,a)}return n},N1=function(e,t){switch(e){case"⎜":return i0("M291 0 H417 V"+t+" H291z");case"∣":return i0("M145 0 H188 V"+t+" H145z");case"∥":return i0("M145 0 H188 V"+t+" H145z")+i0("M367 0 H410 V"+t+" H367z");case"⎟":return i0("M457 0 H583 V"+t+" H457z");case"⎢":return i0("M319 0 H403 V"+t+" H319z");case"⎥":return i0("M263 0 H347 V"+t+" H263z");case"⎪":return i0("M384 0 H504 V"+t+" H384z");case"⏐":return i0("M312 0 H355 V"+t+" H312z");case"‖":return i0("M257 0 H300 V"+t+" H257z")+i0("M478 0 H521 V"+t+" H478z");default:return""}},vr={doubleleftarrow:`M262 157
|
|
63
63
|
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
|
|
64
64
|
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
|
|
65
65
|
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
|
|
@@ -230,7 +230,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`
|
|
|
230
230
|
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,
|
|
231
231
|
-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
|
|
232
232
|
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
|
|
233
|
-
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
|
|
233
|
+
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},E1=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 v84 h347 v-84
|
|
234
234
|
H403z M403 1759 V0 H319 V1759 v`+t+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z
|
|
235
235
|
M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15
|
|
236
236
|
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
@@ -258,11 +258,11 @@ 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
|
|
|
258
258
|
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
|
|
259
259
|
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
260
260
|
l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
261
|
-
-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 zn(r){return"toText"in r}class ce{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(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map(e=>{if(zn(e))return e.toText();throw new Error("Expected MathDomNode with toText, got "+e.constructor.name)}).join("")}}var At={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},An={ex:!0,em:!0,mu:!0},va=function(e){return typeof e!="string"&&(e=e.unit),e in At||e in An||e==="ex"},_=function(e,t){var a;if(e.unit in At)a=At[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")a=t.fontMetrics().cssEmPerMu;else{var n;if(t.style.isTight()?n=t.havingStyle(t.style.text()):n=t,e.unit==="ex")a=n.fontMetrics().xHeight;else if(e.unit==="em")a=n.fontMetrics().quad;else throw new z("Invalid unit: '"+e.unit+"'");n!==t&&(a*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*a,t.maxSize)},B=function(e){return+e.toFixed(4)+"em"},W0=function(e){return e.filter(t=>t).join(" ")},Wt=function(e){var t="";for(var a of Object.keys(e)){var n=e[a];n!==void 0&&(t+=Q1(a)+":"+n+";")}return t},ga=function(e,t,a){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=a||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},ba=function(e){var t=document.createElement(e);t.className=W0(this.classes),Object.assign(t.style,this.style);for(var a of Object.keys(this.attributes))t.setAttribute(a,this.attributes[a]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},Tn=/[\s"'>/=\x00-\x1f]/,ya=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+l0(W0(this.classes))+'"');var a=Wt(this.style);a&&(t+=' style="'+l0(a)+'"');for(var n of Object.keys(this.attributes)){if(Tn.test(n))throw new z("Invalid attribute name '"+n+"'");t+=" "+n+'="'+l0(this.attributes[n])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">",t};class Se{constructor(e,t,a,n){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,ga.call(this,e,a,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return ba.call(this,"span")}toMarkup(){return ya.call(this,"span")}}class Vt{constructor(e,t,a,n){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,ga.call(this,t,n),this.children=a||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return ba.call(this,"a")}toMarkup(){return ya.call(this,"a")}}class Cn{constructor(e,t,a){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=t,this.src=e,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=a}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="'+l0(this.src)+'"'+(' alt="'+l0(this.alt)+'"'),t=Wt(this.style);return t&&(e+=' style="'+l0(t)+'"'),e+="'/>",e}}var Bn={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class b0{constructor(e,t,a,n,i,o,u,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=t||0,this.depth=a||0,this.italic=n||0,this.skew=i||0,this.width=o||0,this.classes=u||[],this.style=c||{},this.maxFontSize=0;var d=fn(this.text.charCodeAt(0));d&&this.classes.push(d+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Bn[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;return this.italic>0&&(t=document.createElement("span"),t.style.marginRight=B(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=W0(this.classes)),Object.keys(this.style).length>0&&(t=t||document.createElement("span"),Object.assign(t.style,this.style)),t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=l0(W0(this.classes)),t+='"');var a="";this.italic>0&&(a+="margin-right:"+B(this.italic)+";"),a+=Wt(this.style),a&&(e=!0,t+=' style="'+l0(a)+'"');var n=l0(this.text);return e?(t+=">",t+=n,t+="</span>",t):n}}class V0{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var a of Object.keys(this.attributes))t.setAttribute(a,this.attributes[a]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t of Object.keys(this.attributes))e+=" "+t+'="'+l0(this.attributes[t])+'"';e+=">";for(var a=0;a<this.children.length;a++)e+=this.children[a].toMarkup();return e+="</svg>",e}}class _0{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",fr[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+l0(this.alternate)+'"/>':'<path d="'+l0(fr[this.pathName])+'"/>'}}class pr{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var a of Object.keys(this.attributes))t.setAttribute(a,this.attributes[a]);return t}toMarkup(){var e="<line";for(var t of Object.keys(this.attributes))e+=" "+t+'="'+l0(this.attributes[t])+'"';return e+="/>",e}}function Dn(r){if(r instanceof b0)return r;throw new Error("Expected symbolNode but got "+String(r)+".")}function In(r){if(r instanceof Se)return r;throw new Error("Expected span<HtmlDomNode> but got "+String(r)+".")}var Nn=r=>r instanceof Se||r instanceof Vt||r instanceof ce,q0={"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]}},it={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]},vr={Å:"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 Xt(r,e,t){if(!q0[e])throw new Error("Font metrics not found for font: "+e+".");var a=r.charCodeAt(0),n=q0[e][a];if(!n&&r[0]in vr&&(a=vr[r[0]].charCodeAt(0),n=q0[e][a]),!n&&t==="text"&&pa(a)&&(n=q0[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var st={};function qn(r){var e;if(r>=5?e=0:r>=3?e=1:e=2,!st[e]){var t=st[e]={cssEmPerMu:it.quad[e]/18};for(var a of Object.keys(it))t[a]=it[a][e]}return st[e]}var Z={math:{},text:{}};function s(r,e,t,a,n,i){Z[r][n]={font:e,group:t,replace:a},i&&a&&(Z[r][a]=Z[r][n])}var l="math",S="text",h="main",f="ams",K="accent-token",N="bin",c0="close",me="inner",L="mathord",a0="op-token",p0="open",Me="punct",p="rel",L0="spacing",g="textord";s(l,h,p,"≡","\\equiv",!0);s(l,h,p,"≺","\\prec",!0);s(l,h,p,"≻","\\succ",!0);s(l,h,p,"∼","\\sim",!0);s(l,h,p,"⊥","\\perp");s(l,h,p,"⪯","\\preceq",!0);s(l,h,p,"⪰","\\succeq",!0);s(l,h,p,"≃","\\simeq",!0);s(l,h,p,"∣","\\mid",!0);s(l,h,p,"≪","\\ll",!0);s(l,h,p,"≫","\\gg",!0);s(l,h,p,"≍","\\asymp",!0);s(l,h,p,"∥","\\parallel");s(l,h,p,"⋈","\\bowtie",!0);s(l,h,p,"⌣","\\smile",!0);s(l,h,p,"⊑","\\sqsubseteq",!0);s(l,h,p,"⊒","\\sqsupseteq",!0);s(l,h,p,"≐","\\doteq",!0);s(l,h,p,"⌢","\\frown",!0);s(l,h,p,"∋","\\ni",!0);s(l,h,p,"∝","\\propto",!0);s(l,h,p,"⊢","\\vdash",!0);s(l,h,p,"⊣","\\dashv",!0);s(l,h,p,"∋","\\owns");s(l,h,Me,".","\\ldotp");s(l,h,Me,"⋅","\\cdotp");s(l,h,Me,"⋅","·");s(S,h,g,"⋅","·");s(l,h,g,"#","\\#");s(S,h,g,"#","\\#");s(l,h,g,"&","\\&");s(S,h,g,"&","\\&");s(l,h,g,"ℵ","\\aleph",!0);s(l,h,g,"∀","\\forall",!0);s(l,h,g,"ℏ","\\hbar",!0);s(l,h,g,"∃","\\exists",!0);s(l,h,g,"∇","\\nabla",!0);s(l,h,g,"♭","\\flat",!0);s(l,h,g,"ℓ","\\ell",!0);s(l,h,g,"♮","\\natural",!0);s(l,h,g,"♣","\\clubsuit",!0);s(l,h,g,"℘","\\wp",!0);s(l,h,g,"♯","\\sharp",!0);s(l,h,g,"♢","\\diamondsuit",!0);s(l,h,g,"ℜ","\\Re",!0);s(l,h,g,"♡","\\heartsuit",!0);s(l,h,g,"ℑ","\\Im",!0);s(l,h,g,"♠","\\spadesuit",!0);s(l,h,g,"§","\\S",!0);s(S,h,g,"§","\\S");s(l,h,g,"¶","\\P",!0);s(S,h,g,"¶","\\P");s(l,h,g,"†","\\dag");s(S,h,g,"†","\\dag");s(S,h,g,"†","\\textdagger");s(l,h,g,"‡","\\ddag");s(S,h,g,"‡","\\ddag");s(S,h,g,"‡","\\textdaggerdbl");s(l,h,c0,"⎱","\\rmoustache",!0);s(l,h,p0,"⎰","\\lmoustache",!0);s(l,h,c0,"⟯","\\rgroup",!0);s(l,h,p0,"⟮","\\lgroup",!0);s(l,h,N,"∓","\\mp",!0);s(l,h,N,"⊖","\\ominus",!0);s(l,h,N,"⊎","\\uplus",!0);s(l,h,N,"⊓","\\sqcap",!0);s(l,h,N,"∗","\\ast");s(l,h,N,"⊔","\\sqcup",!0);s(l,h,N,"◯","\\bigcirc",!0);s(l,h,N,"∙","\\bullet",!0);s(l,h,N,"‡","\\ddagger");s(l,h,N,"≀","\\wr",!0);s(l,h,N,"⨿","\\amalg");s(l,h,N,"&","\\And");s(l,h,p,"⟵","\\longleftarrow",!0);s(l,h,p,"⇐","\\Leftarrow",!0);s(l,h,p,"⟸","\\Longleftarrow",!0);s(l,h,p,"⟶","\\longrightarrow",!0);s(l,h,p,"⇒","\\Rightarrow",!0);s(l,h,p,"⟹","\\Longrightarrow",!0);s(l,h,p,"↔","\\leftrightarrow",!0);s(l,h,p,"⟷","\\longleftrightarrow",!0);s(l,h,p,"⇔","\\Leftrightarrow",!0);s(l,h,p,"⟺","\\Longleftrightarrow",!0);s(l,h,p,"↦","\\mapsto",!0);s(l,h,p,"⟼","\\longmapsto",!0);s(l,h,p,"↗","\\nearrow",!0);s(l,h,p,"↩","\\hookleftarrow",!0);s(l,h,p,"↪","\\hookrightarrow",!0);s(l,h,p,"↘","\\searrow",!0);s(l,h,p,"↼","\\leftharpoonup",!0);s(l,h,p,"⇀","\\rightharpoonup",!0);s(l,h,p,"↙","\\swarrow",!0);s(l,h,p,"↽","\\leftharpoondown",!0);s(l,h,p,"⇁","\\rightharpoondown",!0);s(l,h,p,"↖","\\nwarrow",!0);s(l,h,p,"⇌","\\rightleftharpoons",!0);s(l,f,p,"≮","\\nless",!0);s(l,f,p,"","\\@nleqslant");s(l,f,p,"","\\@nleqq");s(l,f,p,"⪇","\\lneq",!0);s(l,f,p,"≨","\\lneqq",!0);s(l,f,p,"","\\@lvertneqq");s(l,f,p,"⋦","\\lnsim",!0);s(l,f,p,"⪉","\\lnapprox",!0);s(l,f,p,"⊀","\\nprec",!0);s(l,f,p,"⋠","\\npreceq",!0);s(l,f,p,"⋨","\\precnsim",!0);s(l,f,p,"⪹","\\precnapprox",!0);s(l,f,p,"≁","\\nsim",!0);s(l,f,p,"","\\@nshortmid");s(l,f,p,"∤","\\nmid",!0);s(l,f,p,"⊬","\\nvdash",!0);s(l,f,p,"⊭","\\nvDash",!0);s(l,f,p,"⋪","\\ntriangleleft");s(l,f,p,"⋬","\\ntrianglelefteq",!0);s(l,f,p,"⊊","\\subsetneq",!0);s(l,f,p,"","\\@varsubsetneq");s(l,f,p,"⫋","\\subsetneqq",!0);s(l,f,p,"","\\@varsubsetneqq");s(l,f,p,"≯","\\ngtr",!0);s(l,f,p,"","\\@ngeqslant");s(l,f,p,"","\\@ngeqq");s(l,f,p,"⪈","\\gneq",!0);s(l,f,p,"≩","\\gneqq",!0);s(l,f,p,"","\\@gvertneqq");s(l,f,p,"⋧","\\gnsim",!0);s(l,f,p,"⪊","\\gnapprox",!0);s(l,f,p,"⊁","\\nsucc",!0);s(l,f,p,"⋡","\\nsucceq",!0);s(l,f,p,"⋩","\\succnsim",!0);s(l,f,p,"⪺","\\succnapprox",!0);s(l,f,p,"≆","\\ncong",!0);s(l,f,p,"","\\@nshortparallel");s(l,f,p,"∦","\\nparallel",!0);s(l,f,p,"⊯","\\nVDash",!0);s(l,f,p,"⋫","\\ntriangleright");s(l,f,p,"⋭","\\ntrianglerighteq",!0);s(l,f,p,"","\\@nsupseteqq");s(l,f,p,"⊋","\\supsetneq",!0);s(l,f,p,"","\\@varsupsetneq");s(l,f,p,"⫌","\\supsetneqq",!0);s(l,f,p,"","\\@varsupsetneqq");s(l,f,p,"⊮","\\nVdash",!0);s(l,f,p,"⪵","\\precneqq",!0);s(l,f,p,"⪶","\\succneqq",!0);s(l,f,p,"","\\@nsubseteqq");s(l,f,N,"⊴","\\unlhd");s(l,f,N,"⊵","\\unrhd");s(l,f,p,"↚","\\nleftarrow",!0);s(l,f,p,"↛","\\nrightarrow",!0);s(l,f,p,"⇍","\\nLeftarrow",!0);s(l,f,p,"⇏","\\nRightarrow",!0);s(l,f,p,"↮","\\nleftrightarrow",!0);s(l,f,p,"⇎","\\nLeftrightarrow",!0);s(l,f,p,"△","\\vartriangle");s(l,f,g,"ℏ","\\hslash");s(l,f,g,"▽","\\triangledown");s(l,f,g,"◊","\\lozenge");s(l,f,g,"Ⓢ","\\circledS");s(l,f,g,"®","\\circledR");s(S,f,g,"®","\\circledR");s(l,f,g,"∡","\\measuredangle",!0);s(l,f,g,"∄","\\nexists");s(l,f,g,"℧","\\mho");s(l,f,g,"Ⅎ","\\Finv",!0);s(l,f,g,"⅁","\\Game",!0);s(l,f,g,"‵","\\backprime");s(l,f,g,"▲","\\blacktriangle");s(l,f,g,"▼","\\blacktriangledown");s(l,f,g,"■","\\blacksquare");s(l,f,g,"⧫","\\blacklozenge");s(l,f,g,"★","\\bigstar");s(l,f,g,"∢","\\sphericalangle",!0);s(l,f,g,"∁","\\complement",!0);s(l,f,g,"ð","\\eth",!0);s(S,h,g,"ð","ð");s(l,f,g,"╱","\\diagup");s(l,f,g,"╲","\\diagdown");s(l,f,g,"□","\\square");s(l,f,g,"□","\\Box");s(l,f,g,"◊","\\Diamond");s(l,f,g,"¥","\\yen",!0);s(S,f,g,"¥","\\yen",!0);s(l,f,g,"✓","\\checkmark",!0);s(S,f,g,"✓","\\checkmark");s(l,f,g,"ℶ","\\beth",!0);s(l,f,g,"ℸ","\\daleth",!0);s(l,f,g,"ℷ","\\gimel",!0);s(l,f,g,"ϝ","\\digamma",!0);s(l,f,g,"ϰ","\\varkappa");s(l,f,p0,"┌","\\@ulcorner",!0);s(l,f,c0,"┐","\\@urcorner",!0);s(l,f,p0,"└","\\@llcorner",!0);s(l,f,c0,"┘","\\@lrcorner",!0);s(l,f,p,"≦","\\leqq",!0);s(l,f,p,"⩽","\\leqslant",!0);s(l,f,p,"⪕","\\eqslantless",!0);s(l,f,p,"≲","\\lesssim",!0);s(l,f,p,"⪅","\\lessapprox",!0);s(l,f,p,"≊","\\approxeq",!0);s(l,f,N,"⋖","\\lessdot");s(l,f,p,"⋘","\\lll",!0);s(l,f,p,"≶","\\lessgtr",!0);s(l,f,p,"⋚","\\lesseqgtr",!0);s(l,f,p,"⪋","\\lesseqqgtr",!0);s(l,f,p,"≑","\\doteqdot");s(l,f,p,"≓","\\risingdotseq",!0);s(l,f,p,"≒","\\fallingdotseq",!0);s(l,f,p,"∽","\\backsim",!0);s(l,f,p,"⋍","\\backsimeq",!0);s(l,f,p,"⫅","\\subseteqq",!0);s(l,f,p,"⋐","\\Subset",!0);s(l,f,p,"⊏","\\sqsubset",!0);s(l,f,p,"≼","\\preccurlyeq",!0);s(l,f,p,"⋞","\\curlyeqprec",!0);s(l,f,p,"≾","\\precsim",!0);s(l,f,p,"⪷","\\precapprox",!0);s(l,f,p,"⊲","\\vartriangleleft");s(l,f,p,"⊴","\\trianglelefteq");s(l,f,p,"⊨","\\vDash",!0);s(l,f,p,"⊪","\\Vvdash",!0);s(l,f,p,"⌣","\\smallsmile");s(l,f,p,"⌢","\\smallfrown");s(l,f,p,"≏","\\bumpeq",!0);s(l,f,p,"≎","\\Bumpeq",!0);s(l,f,p,"≧","\\geqq",!0);s(l,f,p,"⩾","\\geqslant",!0);s(l,f,p,"⪖","\\eqslantgtr",!0);s(l,f,p,"≳","\\gtrsim",!0);s(l,f,p,"⪆","\\gtrapprox",!0);s(l,f,N,"⋗","\\gtrdot");s(l,f,p,"⋙","\\ggg",!0);s(l,f,p,"≷","\\gtrless",!0);s(l,f,p,"⋛","\\gtreqless",!0);s(l,f,p,"⪌","\\gtreqqless",!0);s(l,f,p,"≖","\\eqcirc",!0);s(l,f,p,"≗","\\circeq",!0);s(l,f,p,"≜","\\triangleq",!0);s(l,f,p,"∼","\\thicksim");s(l,f,p,"≈","\\thickapprox");s(l,f,p,"⫆","\\supseteqq",!0);s(l,f,p,"⋑","\\Supset",!0);s(l,f,p,"⊐","\\sqsupset",!0);s(l,f,p,"≽","\\succcurlyeq",!0);s(l,f,p,"⋟","\\curlyeqsucc",!0);s(l,f,p,"≿","\\succsim",!0);s(l,f,p,"⪸","\\succapprox",!0);s(l,f,p,"⊳","\\vartriangleright");s(l,f,p,"⊵","\\trianglerighteq");s(l,f,p,"⊩","\\Vdash",!0);s(l,f,p,"∣","\\shortmid");s(l,f,p,"∥","\\shortparallel");s(l,f,p,"≬","\\between",!0);s(l,f,p,"⋔","\\pitchfork",!0);s(l,f,p,"∝","\\varpropto");s(l,f,p,"◀","\\blacktriangleleft");s(l,f,p,"∴","\\therefore",!0);s(l,f,p,"∍","\\backepsilon");s(l,f,p,"▶","\\blacktriangleright");s(l,f,p,"∵","\\because",!0);s(l,f,p,"⋘","\\llless");s(l,f,p,"⋙","\\gggtr");s(l,f,N,"⊲","\\lhd");s(l,f,N,"⊳","\\rhd");s(l,f,p,"≂","\\eqsim",!0);s(l,h,p,"⋈","\\Join");s(l,f,p,"≑","\\Doteq",!0);s(l,f,N,"∔","\\dotplus",!0);s(l,f,N,"∖","\\smallsetminus");s(l,f,N,"⋒","\\Cap",!0);s(l,f,N,"⋓","\\Cup",!0);s(l,f,N,"⩞","\\doublebarwedge",!0);s(l,f,N,"⊟","\\boxminus",!0);s(l,f,N,"⊞","\\boxplus",!0);s(l,f,N,"⋇","\\divideontimes",!0);s(l,f,N,"⋉","\\ltimes",!0);s(l,f,N,"⋊","\\rtimes",!0);s(l,f,N,"⋋","\\leftthreetimes",!0);s(l,f,N,"⋌","\\rightthreetimes",!0);s(l,f,N,"⋏","\\curlywedge",!0);s(l,f,N,"⋎","\\curlyvee",!0);s(l,f,N,"⊝","\\circleddash",!0);s(l,f,N,"⊛","\\circledast",!0);s(l,f,N,"⋅","\\centerdot");s(l,f,N,"⊺","\\intercal",!0);s(l,f,N,"⋒","\\doublecap");s(l,f,N,"⋓","\\doublecup");s(l,f,N,"⊠","\\boxtimes",!0);s(l,f,p,"⇢","\\dashrightarrow",!0);s(l,f,p,"⇠","\\dashleftarrow",!0);s(l,f,p,"⇇","\\leftleftarrows",!0);s(l,f,p,"⇆","\\leftrightarrows",!0);s(l,f,p,"⇚","\\Lleftarrow",!0);s(l,f,p,"↞","\\twoheadleftarrow",!0);s(l,f,p,"↢","\\leftarrowtail",!0);s(l,f,p,"↫","\\looparrowleft",!0);s(l,f,p,"⇋","\\leftrightharpoons",!0);s(l,f,p,"↶","\\curvearrowleft",!0);s(l,f,p,"↺","\\circlearrowleft",!0);s(l,f,p,"↰","\\Lsh",!0);s(l,f,p,"⇈","\\upuparrows",!0);s(l,f,p,"↿","\\upharpoonleft",!0);s(l,f,p,"⇃","\\downharpoonleft",!0);s(l,h,p,"⊶","\\origof",!0);s(l,h,p,"⊷","\\imageof",!0);s(l,f,p,"⊸","\\multimap",!0);s(l,f,p,"↭","\\leftrightsquigarrow",!0);s(l,f,p,"⇉","\\rightrightarrows",!0);s(l,f,p,"⇄","\\rightleftarrows",!0);s(l,f,p,"↠","\\twoheadrightarrow",!0);s(l,f,p,"↣","\\rightarrowtail",!0);s(l,f,p,"↬","\\looparrowright",!0);s(l,f,p,"↷","\\curvearrowright",!0);s(l,f,p,"↻","\\circlearrowright",!0);s(l,f,p,"↱","\\Rsh",!0);s(l,f,p,"⇊","\\downdownarrows",!0);s(l,f,p,"↾","\\upharpoonright",!0);s(l,f,p,"⇂","\\downharpoonright",!0);s(l,f,p,"⇝","\\rightsquigarrow",!0);s(l,f,p,"⇝","\\leadsto");s(l,f,p,"⇛","\\Rrightarrow",!0);s(l,f,p,"↾","\\restriction");s(l,h,g,"‘","`");s(l,h,g,"$","\\$");s(S,h,g,"$","\\$");s(S,h,g,"$","\\textdollar");s(l,h,g,"%","\\%");s(S,h,g,"%","\\%");s(l,h,g,"_","\\_");s(S,h,g,"_","\\_");s(S,h,g,"_","\\textunderscore");s(l,h,g,"∠","\\angle",!0);s(l,h,g,"∞","\\infty",!0);s(l,h,g,"′","\\prime");s(l,h,g,"△","\\triangle");s(l,h,g,"Γ","\\Gamma",!0);s(l,h,g,"Δ","\\Delta",!0);s(l,h,g,"Θ","\\Theta",!0);s(l,h,g,"Λ","\\Lambda",!0);s(l,h,g,"Ξ","\\Xi",!0);s(l,h,g,"Π","\\Pi",!0);s(l,h,g,"Σ","\\Sigma",!0);s(l,h,g,"Υ","\\Upsilon",!0);s(l,h,g,"Φ","\\Phi",!0);s(l,h,g,"Ψ","\\Psi",!0);s(l,h,g,"Ω","\\Omega",!0);s(l,h,g,"A","Α");s(l,h,g,"B","Β");s(l,h,g,"E","Ε");s(l,h,g,"Z","Ζ");s(l,h,g,"H","Η");s(l,h,g,"I","Ι");s(l,h,g,"K","Κ");s(l,h,g,"M","Μ");s(l,h,g,"N","Ν");s(l,h,g,"O","Ο");s(l,h,g,"P","Ρ");s(l,h,g,"T","Τ");s(l,h,g,"X","Χ");s(l,h,g,"¬","\\neg",!0);s(l,h,g,"¬","\\lnot");s(l,h,g,"⊤","\\top");s(l,h,g,"⊥","\\bot");s(l,h,g,"∅","\\emptyset");s(l,f,g,"∅","\\varnothing");s(l,h,L,"α","\\alpha",!0);s(l,h,L,"β","\\beta",!0);s(l,h,L,"γ","\\gamma",!0);s(l,h,L,"δ","\\delta",!0);s(l,h,L,"ϵ","\\epsilon",!0);s(l,h,L,"ζ","\\zeta",!0);s(l,h,L,"η","\\eta",!0);s(l,h,L,"θ","\\theta",!0);s(l,h,L,"ι","\\iota",!0);s(l,h,L,"κ","\\kappa",!0);s(l,h,L,"λ","\\lambda",!0);s(l,h,L,"μ","\\mu",!0);s(l,h,L,"ν","\\nu",!0);s(l,h,L,"ξ","\\xi",!0);s(l,h,L,"ο","\\omicron",!0);s(l,h,L,"π","\\pi",!0);s(l,h,L,"ρ","\\rho",!0);s(l,h,L,"σ","\\sigma",!0);s(l,h,L,"τ","\\tau",!0);s(l,h,L,"υ","\\upsilon",!0);s(l,h,L,"ϕ","\\phi",!0);s(l,h,L,"χ","\\chi",!0);s(l,h,L,"ψ","\\psi",!0);s(l,h,L,"ω","\\omega",!0);s(l,h,L,"ε","\\varepsilon",!0);s(l,h,L,"ϑ","\\vartheta",!0);s(l,h,L,"ϖ","\\varpi",!0);s(l,h,L,"ϱ","\\varrho",!0);s(l,h,L,"ς","\\varsigma",!0);s(l,h,L,"φ","\\varphi",!0);s(l,h,N,"∗","*",!0);s(l,h,N,"+","+");s(l,h,N,"−","-",!0);s(l,h,N,"⋅","\\cdot",!0);s(l,h,N,"∘","\\circ",!0);s(l,h,N,"÷","\\div",!0);s(l,h,N,"±","\\pm",!0);s(l,h,N,"×","\\times",!0);s(l,h,N,"∩","\\cap",!0);s(l,h,N,"∪","\\cup",!0);s(l,h,N,"∖","\\setminus",!0);s(l,h,N,"∧","\\land");s(l,h,N,"∨","\\lor");s(l,h,N,"∧","\\wedge",!0);s(l,h,N,"∨","\\vee",!0);s(l,h,g,"√","\\surd");s(l,h,p0,"⟨","\\langle",!0);s(l,h,p0,"∣","\\lvert");s(l,h,p0,"∥","\\lVert");s(l,h,c0,"?","?");s(l,h,c0,"!","!");s(l,h,c0,"⟩","\\rangle",!0);s(l,h,c0,"∣","\\rvert");s(l,h,c0,"∥","\\rVert");s(l,h,p,"=","=");s(l,h,p,":",":");s(l,h,p,"≈","\\approx",!0);s(l,h,p,"≅","\\cong",!0);s(l,h,p,"≥","\\ge");s(l,h,p,"≥","\\geq",!0);s(l,h,p,"←","\\gets");s(l,h,p,">","\\gt",!0);s(l,h,p,"∈","\\in",!0);s(l,h,p,"","\\@not");s(l,h,p,"⊂","\\subset",!0);s(l,h,p,"⊃","\\supset",!0);s(l,h,p,"⊆","\\subseteq",!0);s(l,h,p,"⊇","\\supseteq",!0);s(l,f,p,"⊈","\\nsubseteq",!0);s(l,f,p,"⊉","\\nsupseteq",!0);s(l,h,p,"⊨","\\models");s(l,h,p,"←","\\leftarrow",!0);s(l,h,p,"≤","\\le");s(l,h,p,"≤","\\leq",!0);s(l,h,p,"<","\\lt",!0);s(l,h,p,"→","\\rightarrow",!0);s(l,h,p,"→","\\to");s(l,f,p,"≱","\\ngeq",!0);s(l,f,p,"≰","\\nleq",!0);s(l,h,L0," ","\\ ");s(l,h,L0," ","\\space");s(l,h,L0," ","\\nobreakspace");s(S,h,L0," ","\\ ");s(S,h,L0," "," ");s(S,h,L0," ","\\space");s(S,h,L0," ","\\nobreakspace");s(l,h,L0,"","\\nobreak");s(l,h,L0,"","\\allowbreak");s(l,h,Me,",",",");s(l,h,Me,";",";");s(l,f,N,"⊼","\\barwedge",!0);s(l,f,N,"⊻","\\veebar",!0);s(l,h,N,"⊙","\\odot",!0);s(l,h,N,"⊕","\\oplus",!0);s(l,h,N,"⊗","\\otimes",!0);s(l,h,g,"∂","\\partial",!0);s(l,h,N,"⊘","\\oslash",!0);s(l,f,N,"⊚","\\circledcirc",!0);s(l,f,N,"⊡","\\boxdot",!0);s(l,h,N,"△","\\bigtriangleup");s(l,h,N,"▽","\\bigtriangledown");s(l,h,N,"†","\\dagger");s(l,h,N,"⋄","\\diamond");s(l,h,N,"⋆","\\star");s(l,h,N,"◃","\\triangleleft");s(l,h,N,"▹","\\triangleright");s(l,h,p0,"{","\\{");s(S,h,g,"{","\\{");s(S,h,g,"{","\\textbraceleft");s(l,h,c0,"}","\\}");s(S,h,g,"}","\\}");s(S,h,g,"}","\\textbraceright");s(l,h,p0,"{","\\lbrace");s(l,h,c0,"}","\\rbrace");s(l,h,p0,"[","\\lbrack",!0);s(S,h,g,"[","\\lbrack",!0);s(l,h,c0,"]","\\rbrack",!0);s(S,h,g,"]","\\rbrack",!0);s(l,h,p0,"(","\\lparen",!0);s(l,h,c0,")","\\rparen",!0);s(S,h,g,"<","\\textless",!0);s(S,h,g,">","\\textgreater",!0);s(l,h,p0,"⌊","\\lfloor",!0);s(l,h,c0,"⌋","\\rfloor",!0);s(l,h,p0,"⌈","\\lceil",!0);s(l,h,c0,"⌉","\\rceil",!0);s(l,h,g,"\\","\\backslash");s(l,h,g,"∣","|");s(l,h,g,"∣","\\vert");s(S,h,g,"|","\\textbar",!0);s(l,h,g,"∥","\\|");s(l,h,g,"∥","\\Vert");s(S,h,g,"∥","\\textbardbl");s(S,h,g,"~","\\textasciitilde");s(S,h,g,"\\","\\textbackslash");s(S,h,g,"^","\\textasciicircum");s(l,h,p,"↑","\\uparrow",!0);s(l,h,p,"⇑","\\Uparrow",!0);s(l,h,p,"↓","\\downarrow",!0);s(l,h,p,"⇓","\\Downarrow",!0);s(l,h,p,"↕","\\updownarrow",!0);s(l,h,p,"⇕","\\Updownarrow",!0);s(l,h,a0,"∐","\\coprod");s(l,h,a0,"⋁","\\bigvee");s(l,h,a0,"⋀","\\bigwedge");s(l,h,a0,"⨄","\\biguplus");s(l,h,a0,"⋂","\\bigcap");s(l,h,a0,"⋃","\\bigcup");s(l,h,a0,"∫","\\int");s(l,h,a0,"∫","\\intop");s(l,h,a0,"∬","\\iint");s(l,h,a0,"∭","\\iiint");s(l,h,a0,"∏","\\prod");s(l,h,a0,"∑","\\sum");s(l,h,a0,"⨂","\\bigotimes");s(l,h,a0,"⨁","\\bigoplus");s(l,h,a0,"⨀","\\bigodot");s(l,h,a0,"∮","\\oint");s(l,h,a0,"∯","\\oiint");s(l,h,a0,"∰","\\oiiint");s(l,h,a0,"⨆","\\bigsqcup");s(l,h,a0,"∫","\\smallint");s(S,h,me,"…","\\textellipsis");s(l,h,me,"…","\\mathellipsis");s(S,h,me,"…","\\ldots",!0);s(l,h,me,"…","\\ldots",!0);s(l,h,me,"⋯","\\@cdots",!0);s(l,h,me,"⋱","\\ddots",!0);s(l,h,g,"⋮","\\varvdots");s(S,h,g,"⋮","\\varvdots");s(l,h,K,"ˊ","\\acute");s(l,h,K,"ˋ","\\grave");s(l,h,K,"¨","\\ddot");s(l,h,K,"~","\\tilde");s(l,h,K,"ˉ","\\bar");s(l,h,K,"˘","\\breve");s(l,h,K,"ˇ","\\check");s(l,h,K,"^","\\hat");s(l,h,K,"⃗","\\vec");s(l,h,K,"˙","\\dot");s(l,h,K,"˚","\\mathring");s(l,h,L,"","\\@imath");s(l,h,L,"","\\@jmath");s(l,h,g,"ı","ı");s(l,h,g,"ȷ","ȷ");s(S,h,g,"ı","\\i",!0);s(S,h,g,"ȷ","\\j",!0);s(S,h,g,"ß","\\ss",!0);s(S,h,g,"æ","\\ae",!0);s(S,h,g,"œ","\\oe",!0);s(S,h,g,"ø","\\o",!0);s(S,h,g,"Æ","\\AE",!0);s(S,h,g,"Œ","\\OE",!0);s(S,h,g,"Ø","\\O",!0);s(S,h,K,"ˊ","\\'");s(S,h,K,"ˋ","\\`");s(S,h,K,"ˆ","\\^");s(S,h,K,"˜","\\~");s(S,h,K,"ˉ","\\=");s(S,h,K,"˘","\\u");s(S,h,K,"˙","\\.");s(S,h,K,"¸","\\c");s(S,h,K,"˚","\\r");s(S,h,K,"ˇ","\\v");s(S,h,K,"¨",'\\"');s(S,h,K,"˝","\\H");s(S,h,K,"◯","\\textcircled");var wa={"--":!0,"---":!0,"``":!0,"''":!0};s(S,h,g,"–","--",!0);s(S,h,g,"–","\\textendash");s(S,h,g,"—","---",!0);s(S,h,g,"—","\\textemdash");s(S,h,g,"‘","`",!0);s(S,h,g,"‘","\\textquoteleft");s(S,h,g,"’","'",!0);s(S,h,g,"’","\\textquoteright");s(S,h,g,"“","``",!0);s(S,h,g,"“","\\textquotedblleft");s(S,h,g,"”","''",!0);s(S,h,g,"”","\\textquotedblright");s(l,h,g,"°","\\degree",!0);s(S,h,g,"°","\\degree");s(S,h,g,"°","\\textdegree",!0);s(l,h,g,"£","\\pounds");s(l,h,g,"£","\\mathsterling",!0);s(S,h,g,"£","\\pounds");s(S,h,g,"£","\\textsterling",!0);s(l,f,g,"✠","\\maltese");s(S,f,g,"✠","\\maltese");var gr='0123456789/@."';for(var lt=0;lt<gr.length;lt++){var br=gr.charAt(lt);s(l,h,g,br,br)}var yr='0123456789!@*()-=+";:?/.,';for(var ot=0;ot<yr.length;ot++){var wr=yr.charAt(ot);s(S,h,g,wr,wr)}var $e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var ut=0;ut<$e.length;ut++){var Ie=$e.charAt(ut);s(l,h,L,Ie,Ie),s(S,h,g,Ie,Ie)}s(l,f,g,"C","ℂ");s(S,f,g,"C","ℂ");s(l,f,g,"H","ℍ");s(S,f,g,"H","ℍ");s(l,f,g,"N","ℕ");s(S,f,g,"N","ℕ");s(l,f,g,"P","ℙ");s(S,f,g,"P","ℙ");s(l,f,g,"Q","ℚ");s(S,f,g,"Q","ℚ");s(l,f,g,"R","ℝ");s(S,f,g,"R","ℝ");s(l,f,g,"Z","ℤ");s(S,f,g,"Z","ℤ");s(l,h,L,"h","ℎ");s(S,h,L,"h","ℎ");var O;for(var o0=0;o0<$e.length;o0++){var e0=$e.charAt(o0);O=String.fromCharCode(55349,56320+o0),s(l,h,L,e0,O),s(S,h,g,e0,O),O=String.fromCharCode(55349,56372+o0),s(l,h,L,e0,O),s(S,h,g,e0,O),O=String.fromCharCode(55349,56424+o0),s(l,h,L,e0,O),s(S,h,g,e0,O),O=String.fromCharCode(55349,56580+o0),s(l,h,L,e0,O),s(S,h,g,e0,O),O=String.fromCharCode(55349,56684+o0),s(l,h,L,e0,O),s(S,h,g,e0,O),O=String.fromCharCode(55349,56736+o0),s(l,h,L,e0,O),s(S,h,g,e0,O),O=String.fromCharCode(55349,56788+o0),s(l,h,L,e0,O),s(S,h,g,e0,O),O=String.fromCharCode(55349,56840+o0),s(l,h,L,e0,O),s(S,h,g,e0,O),O=String.fromCharCode(55349,56944+o0),s(l,h,L,e0,O),s(S,h,g,e0,O),o0<26&&(O=String.fromCharCode(55349,56632+o0),s(l,h,L,e0,O),s(S,h,g,e0,O),O=String.fromCharCode(55349,56476+o0),s(l,h,L,e0,O),s(S,h,g,e0,O))}O="𝕜";s(l,h,L,"k",O);s(S,h,g,"k",O);for(var K0=0;K0<10;K0++){var U0=K0.toString();O=String.fromCharCode(55349,57294+K0),s(l,h,L,U0,O),s(S,h,g,U0,O),O=String.fromCharCode(55349,57314+K0),s(l,h,L,U0,O),s(S,h,g,U0,O),O=String.fromCharCode(55349,57324+K0),s(l,h,L,U0,O),s(S,h,g,U0,O),O=String.fromCharCode(55349,57334+K0),s(l,h,L,U0,O),s(S,h,g,U0,O)}var Tt="ÐÞþ";for(var ht=0;ht<Tt.length;ht++){var Ne=Tt.charAt(ht);s(l,h,L,Ne,Ne),s(S,h,g,Ne,Ne)}var Ct={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},xr={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},kr={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},En={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},Q0={mathClass:"",textClass:"",font:""},Sr={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},Mr={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},zr={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},Bt={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},Dt={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},Ar={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},It={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},Tr=[Ct,Ct,xr,xr,kr,kr,En,Q0,Q0,Q0,Sr,Sr,Mr,Mr,zr,zr,Bt,Bt,Dt,Dt,Ar,Ar,Q0,Q0,It,It],Rn=[Ct,Q0,Bt,Dt,It],Ln=r=>{var e=r.charCodeAt(0),t=r.charCodeAt(1),a=(e-55296)*1024+(t-56320)+65536;if(119808<=a&&a<120484){var n=Math.floor((a-119808)/26);return Tr[n]}else if(120782<=a&&a<=120831){var i=Math.floor((a-120782)/10);return Rn[i]}else{if(a===120485||a===120486)return Tr[0];if(120486<a&&a<120782)return Q0;throw new z("Unsupported character: "+r)}},We=function(e,t,a){if(Z[a][e]){var n=Z[a][e].replace;n&&(e=n)}return{value:e,metrics:Xt(e,t,a)}},u0=function(e,t,a,n,i){var o=We(e,t,a),u=o.metrics;e=o.value;var c;if(u){var d=u.italic;(a==="text"||n&&n.font==="mathit")&&(d=0),c=new b0(e,u.height,u.depth,d,u.skew,u.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '"+a+"'")),c=new b0(e,0,0,0,0,0,i);if(n){c.maxFontSize=n.sizeMultiplier,n.style.isTight()&&c.classes.push("mtight");var v=n.getColor();v&&(c.style.color=v)}return c},Yt=function(e,t,a,n){return n===void 0&&(n=[]),a.font==="boldsymbol"&&We(e,"Main-Bold",t).metrics?u0(e,"Main-Bold",t,a,n.concat(["mathbf"])):e==="\\"||Z[t][e].font==="main"?u0(e,"Main-Regular",t,a,n):u0(e,"AMS-Regular",t,a,n.concat(["amsrm"]))},On=function(e,t,a){return a!=="textord"&&We(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Ve=function(e,t){var a=e.type==="mathord"?"mathord":"textord",n=e.mode,i=e.text,o=["mord"],u=t.font,c=t.fontFamily,d=t.fontWeight,v=t.fontShape,b=n==="math"||n==="text"&&!!u,y=b?u:c,w="",k="";if(i.charCodeAt(0)===55349){var T=Ln(i);w=T.font,k=T[n+"Class"]}if(w)return u0(i,w,n,t,o.concat(k));if(y){var x,D;if(y==="boldsymbol"){var q=On(i,n,a);x=q.fontName,D=[q.fontClass]}else b?(x=Nt[u].fontName,D=[u]):(x=qe(c,d,v),D=[c,d,v]);if(We(i,x,n).metrics)return u0(i,x,n,t,o.concat(D));if(Object.prototype.hasOwnProperty.call(wa,i)&&x.slice(0,10)==="Typewriter"){for(var E=[],H=0;H<i.length;H++)E.push(u0(i[H],x,n,t,o.concat(D)));return O0(E)}}if(a==="mathord")return u0(i,"Math-Italic",n,t,o.concat(["mathnormal"]));if(a==="textord"){var j=Z[n][i]&&Z[n][i].font;if(j==="ams"){var R=qe("amsrm",d,v);return u0(i,R,n,t,o.concat("amsrm",d,v))}else if(j==="main"||!j){var F=qe("textrm",d,v);return u0(i,F,n,t,o.concat(d,v))}else{var $=qe(j,d,v);return u0(i,$,n,t,o.concat($,d,v))}}else throw new Error("unexpected type: "+a+" in makeOrd")},Fn=(r,e)=>{if(W0(r.classes)!==W0(e.classes)||r.skew!==e.skew||r.maxFontSize!==e.maxFontSize||r.italic!==0&&r.hasClass("mathnormal"))return!1;if(r.classes.length===1){var t=r.classes[0];if(t==="mbin"||t==="mord")return!1}for(var a of Object.keys(r.style))if(r.style[a]!==e.style[a])return!1;for(var n of Object.keys(e.style))if(r.style[n]!==e.style[n])return!1;return!0},xa=r=>{for(var e=0;e<r.length-1;e++){var t=r[e],a=r[e+1];t instanceof b0&&a instanceof b0&&Fn(t,a)&&(t.text+=a.text,t.height=Math.max(t.height,a.height),t.depth=Math.max(t.depth,a.depth),t.italic=a.italic,r.splice(e+1,1),e--)}return r},Zt=function(e){for(var t=0,a=0,n=0,i=0;i<e.children.length;i++){var o=e.children[i];o.height>t&&(t=o.height),o.depth>a&&(a=o.depth),o.maxFontSize>n&&(n=o.maxFontSize)}e.height=t,e.depth=a,e.maxFontSize=n},M=function(e,t,a,n){var i=new Se(e,t,a,n);return Zt(i),i},X0=(r,e,t,a)=>new Se(r,e,t,a),ue=function(e,t,a){var n=M([e],[],t);return n.height=Math.max(a||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=B(n.height),n.maxFontSize=1,n},Hn=function(e,t,a,n){var i=new Vt(e,t,a,n);return Zt(i),i},O0=function(e){var t=new ce(e);return Zt(t),t},he=function(e,t){return e instanceof ce?M([],[e],t):e},Pn=function(e){if(e.positionType==="individualShift"){for(var t=e.children,a=[t[0]],n=-t[0].shift-t[0].elem.depth,i=n,o=1;o<t.length;o++){var u=-t[o].shift-i-t[o].elem.depth,c=u-(t[o-1].elem.height+t[o-1].elem.depth);i=i+u,a.push({type:"kern",size:c}),a.push(t[o])}return{children:a,depth:n}}var d;if(e.positionType==="top"){for(var v=e.positionData,b=0;b<e.children.length;b++){var y=e.children[b];v-=y.type==="kern"?y.size:y.elem.height+y.elem.depth}d=v}else if(e.positionType==="bottom")d=-e.positionData;else{var w=e.children[0];if(w.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")d=-w.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")d=-w.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:d}},W=function(e,t){for(var a=Pn(e),n=a.children,i=a.depth,o=0,u=0;u<n.length;u++){var c=n[u];if(c.type==="elem"){var d=c.elem;o=Math.max(o,d.maxFontSize,d.height)}}o+=2;var v=M(["pstrut"],[]);v.style.height=B(o);for(var b=[],y=i,w=i,k=i,T=0;T<n.length;T++){var x=n[T];if(x.type==="kern")k+=x.size;else{var D=x.elem,q=x.wrapperClasses||[],E=x.wrapperStyle||{},H=M(q,[v,D],void 0,E);H.style.top=B(-o-k-D.depth),x.marginLeft&&(H.style.marginLeft=x.marginLeft),x.marginRight&&(H.style.marginRight=x.marginRight),b.push(H),k+=D.height+D.depth}y=Math.min(y,k),w=Math.max(w,k)}var j=M(["vlist"],b);j.style.height=B(w);var R;if(y<0){var F=M([],[]),$=M(["vlist"],[F]);$.style.height=B(-y);var X=M(["vlist-s"],[new b0("")]);R=[M(["vlist-r"],[j,X]),M(["vlist-r"],[$])]}else R=[M(["vlist-r"],[j])];var J=M(["vlist-t"],R);return R.length===2&&J.classes.push("vlist-t2"),J.height=w,J.depth=-y,J},ka=(r,e)=>{var t=M(["mspace"],[],e),a=_(r,e);return t.style.marginRight=B(a),t},qe=(r,e,t)=>{var a,n;switch(r){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=r}return e==="textbf"&&t==="textit"?n="BoldItalic":e==="textbf"?n="Bold":t==="textit"?n="Italic":n="Regular",a+"-"+n},Nt={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"}},Sa={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Ma=function(e,t){var a=Sa[e],n=a[0],i=a[1],o=a[2],u=new _0(n),c=new V0([u],{width:B(i),height:B(o),style:"width:"+B(i),viewBox:"0 0 "+1e3*i+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),d=X0(["katex-overlay"],[c],t);return d.height=o,d.style.height=B(o),d.style.width=B(i),d},Q={number:3,unit:"mu"},J0={number:4,unit:"mu"},I0={number:5,unit:"mu"},jn={mord:{mop:Q,mbin:J0,mrel:I0,minner:Q},mop:{mord:Q,mop:Q,mrel:I0,minner:Q},mbin:{mord:J0,mop:J0,mopen:J0,minner:J0},mrel:{mord:I0,mop:I0,mopen:I0,minner:I0},mopen:{},mclose:{mop:Q,mbin:J0,mrel:I0,minner:Q},mpunct:{mord:Q,mop:Q,mrel:I0,mopen:Q,mclose:Q,mpunct:Q,minner:Q},minner:{mord:Q,mop:Q,mbin:J0,mrel:I0,mopen:Q,mpunct:Q,minner:Q}},Un={mord:{mop:Q},mop:{mord:Q,mop:Q},mbin:{},mrel:{},mopen:{},mclose:{mop:Q},mpunct:{},minner:{mop:Q}},za={},ye={},we={};function I(r){for(var e=r.type,t=r.names,a=r.htmlBuilder,n=r.mathmlBuilder,i=0;i<t.length;++i)za[t[i]]=r;e&&(a&&(ye[e]=a),n&&(we[e]=n))}function ee(r){var e=r.type,t=r.htmlBuilder,a=r.mathmlBuilder;t&&(ye[e]=t),a&&(we[e]=a)}var xe=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},t0=function(e){return e.type==="ordgroup"?e.body:[e]},$n=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),Gn=new Set(["rightmost","mrel","mclose","mpunct"]),Wn={display:P.DISPLAY,text:P.TEXT,script:P.SCRIPT,scriptscript:P.SCRIPTSCRIPT},Vn={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},s0=function(e,t,a,n){n===void 0&&(n=[null,null]);for(var i=[],o=0;o<e.length;o++){var u=V(e[o],t);if(u instanceof ce){var c=u.children;i.push(...c)}else i.push(u)}if(xa(i),!a)return i;var d=t;if(e.length===1){var v=e[0];v.type==="sizing"?d=t.havingSize(v.size):v.type==="styling"&&(d=t.havingStyle(Wn[v.style]))}var b=M([n[0]||"leftmost"],[],t),y=M([n[1]||"rightmost"],[],t),w=a==="root";return qt(i,(k,T)=>{var x=T.classes[0],D=k.classes[0];x==="mbin"&&Gn.has(D)?T.classes[0]="mord":D==="mbin"&&$n.has(x)&&(k.classes[0]="mord")},{node:b},y,w),qt(i,(k,T)=>{var x,D,q=Rt(T),E=Rt(k),H=q&&E?k.hasClass("mtight")?(x=Un[q])==null?void 0:x[E]:(D=jn[q])==null?void 0:D[E]:null;if(H)return ka(H,d)},{node:b},y,w),i},qt=function(e,t,a,n,i){n&&e.push(n);for(var o=0;o<e.length;o++){var u=e[o],c=Aa(u);if(c){qt(c.children,t,a,null,i);continue}var d=!u.hasClass("mspace");if(d){var v=t(u,a.node);v&&(a.insertAfter?a.insertAfter(v):(e.unshift(v),o++))}d?a.node=u:i&&u.hasClass("katex-newline")&&(a.node=M(["leftmost"])),a.insertAfter=(b=>y=>{e.splice(b+1,0,y),o++})(o)}n&&e.pop()},Aa=function(e){return e instanceof ce||e instanceof Vt||e instanceof Se&&e.hasClass("enclosing")?e:null},Et=function(e,t){var a=Aa(e);if(a){var n=a.children;if(n.length){if(t==="right")return Et(n[n.length-1],"right");if(t==="left")return Et(n[0],"left")}}return e},Rt=function(e,t){if(!e)return null;t&&(e=Et(e,t));var a=e.classes[0];return Vn[a]||null},ke=function(e,t){var a=["nulldelimiter"].concat(e.baseSizingClasses());return M(t.concat(a))},V=function(e,t,a){if(!e)return M();if(ye[e.type]){var n=ye[e.type](e,t);if(a&&t.size!==a.size){n=M(t.sizingClasses(a),[n],t);var i=t.sizeMultiplier/a.sizeMultiplier;n.height*=i,n.depth*=i}return n}else throw new z("Got group of unknown type: '"+e.type+"'")};function Ee(r,e){var t=M(["katex-base"],r,e),a=M(["katex-strut"]);return a.style.height=B(t.height+t.depth),t.depth&&(a.style.verticalAlign=B(-t.depth)),t.children.unshift(a),t}function Cr(r,e){var t=null;r.length===1&&r[0].type==="tag"&&(t=r[0].tag,r=r[0].body);var a=s0(r,e,"root"),n;a.length===2&&a[1].hasClass("katex-tag")&&(n=a.pop());for(var i=[],o=[],u=0;u<a.length;u++)if(o.push(a[u]),a[u].hasClass("mbin")||a[u].hasClass("mrel")||a[u].hasClass("allowbreak")){for(var c=!1;u<a.length-1&&a[u+1].hasClass("mspace")&&!a[u+1].hasClass("katex-newline");)u++,o.push(a[u]),a[u].hasClass("nobreak")&&(c=!0);c||(i.push(Ee(o,e)),o=[])}else a[u].hasClass("katex-newline")&&(o.pop(),o.length>0&&(i.push(Ee(o,e)),o=[]),i.push(a[u]));o.length>0&&i.push(Ee(o,e));var d;t?(d=Ee(s0(t,e,!0),e),d.classes=["katex-tag"],i.push(d)):n&&i.push(n);var v=M(["katex-html"],i);if(v.setAttribute("aria-hidden","true"),d){var b=d.children[0];b.style.height=B(v.height+v.depth),v.depth&&(b.style.verticalAlign=B(-v.depth))}return v}function Ta(r){return new ce(r)}class A{constructor(e,t,a){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=a||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t of Object.entries(this.attributes)){var a=t[0],n=t[1];e.setAttribute(a,n)}this.classes.length>0&&(e.className=W0(this.classes));for(var i=0;i<this.children.length;i++)if(this.children[i]instanceof r0&&this.children[i+1]instanceof r0){for(var o=this.children[i].toText()+this.children[++i].toText();this.children[i+1]instanceof r0;)o+=this.children[++i].toText();e.appendChild(new r0(o).toNode())}else e.appendChild(this.children[i].toNode());return e}toMarkup(){var e="<"+this.type;for(var t of Object.entries(this.attributes)){var a=t[0],n=t[1];e+=" "+a+'="',e+=l0(n),e+='"'}this.classes.length>0&&(e+=' class ="'+l0(W0(this.classes))+'"'),e+=">";for(var i=0;i<this.children.length;i++)e+=this.children[i].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class r0{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return l0(this.toText())}toText(){return this.text}}class Ca{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",B(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+B(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Xn=new Set(["\\imath","\\jmath"]),Yn=new Set(["mrow","mtable"]),y0=function(e,t,a){var n,i;return Z[t][e]&&Z[t][e].replace&&e.charCodeAt(0)!==55349&&!(Object.prototype.hasOwnProperty.call(wa,e)&&((a==null||(n=a.fontFamily)==null?void 0:n.slice(4,6))==="tt"||(a==null||(i=a.font)==null?void 0:i.slice(4,6))==="tt"))&&(e=Z[t][e].replace),new r0(e)},Kt=function(e){return e.length===1?e[0]:new A("mrow",e)},Zn={mathit:"italic",boldsymbol:r=>r.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"},Jt=(r,e)=>{if(r.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 t=e.font;if(!t||t==="mathnormal")return null;var a=r.mode,n=Zn[t];if(n)return typeof n=="function"?n(r):n;var i=r.text;if(Xn.has(i))return null;if(Z[a][i]){var o=Z[a][i].replace;o&&(i=o)}var u=Nt[t].fontName;return Xt(i,u,a)?Nt[t].variant:null};function ct(r){if(!r)return!1;if(r.type==="mi"&&r.children.length===1){var e=r.children[0];return e instanceof r0&&e.text==="."}else if(r.type==="mo"&&r.children.length===1&&r.getAttribute("separator")==="true"&&r.getAttribute("lspace")==="0em"&&r.getAttribute("rspace")==="0em"){var t=r.children[0];return t instanceof r0&&t.text===","}else return!1}var v0=function(e,t,a){if(e.length===1){var n=Y(e[0],t);return a&&n instanceof A&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i=[],o,u=0;u<e.length;u++){var c=Y(e[u],t);if(c instanceof A&&o instanceof A){if(c.type==="mtext"&&o.type==="mtext"&&c.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...c.children);continue}else if(c.type==="mn"&&o.type==="mn"){o.children.push(...c.children);continue}else if(ct(c)&&o.type==="mn"){o.children.push(...c.children);continue}else if(c.type==="mn"&&ct(o))c.children=[...o.children,...c.children],i.pop();else if((c.type==="msup"||c.type==="msub")&&c.children.length>=1&&(o.type==="mn"||ct(o))){var d=c.children[0];d instanceof A&&d.type==="mn"&&(d.children=[...o.children,...d.children],i.pop())}else if(o.type==="mi"&&o.children.length===1){var v=o.children[0];if(v instanceof r0&&v.text==="̸"&&(c.type==="mo"||c.type==="mi"||c.type==="mn")){var b=c.children[0];b instanceof r0&&b.text.length>0&&(b.text=b.text.slice(0,1)+"̸"+b.text.slice(1),i.pop())}}}i.push(c),o=c}return i},Y0=function(e,t,a){return Kt(v0(e,t,a))},Y=function(e,t){if(!e)return new A("mrow");if(we[e.type])return we[e.type](e,t);throw new z("Got group of unknown type: '"+e.type+"'")};function Br(r,e,t,a,n){var i=v0(r,t),o;i.length===1&&i[0]instanceof A&&Yn.has(i[0].type)?o=i[0]:o=new A("mrow",i);var u=new A("annotation",[new r0(e)]);u.setAttribute("encoding","application/x-tex");var c=new A("semantics",[o,u]),d=new A("math",[c]);d.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&d.setAttribute("display","block");var v=n?"katex":"katex-mathml";return M([v],[d])}var Kn=[[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]],Dr=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ir=function(e,t){return t.size<2?e:Kn[e-1][t.size-1]};class N0{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||N0.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=Dr[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={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(t,e),new N0(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Ir(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:Dr[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=Ir(N0.BASESIZE,e);return this.size===t&&this.textSize===N0.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}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?["katex-sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==N0.BASESIZE?["katex-sizing","reset-size"+this.size,"size"+N0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=qn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}N0.BASESIZE=6;var Jn=function(e){return new N0({style:e.displayMode?P.DISPLAY:P.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Qn=function(e,t){if(t.displayMode){var a=["katex-display"];t.leqno&&a.push("leqno"),t.fleqn&&a.push("fleqn"),e=M(a,[e])}return e},_n=function(e,t,a){var n=Jn(a),i;if(a.output==="mathml")return Br(e,t,n,a.displayMode,!0);if(a.output==="html"){var o=Cr(e,n);i=M(["katex"],[o])}else{var u=Br(e,t,n,a.displayMode,!1),c=Cr(e,n);i=M(["katex"],[u,c])}return Qn(i,a)},ei={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":"="},Xe=function(e){var t=new A("mo",[new r0(ei[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},ti={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]},ri=new Set(["widehat","widecheck","widetilde","utilde"]),Ye=function(e,t){function a(){var c=4e5,d=e.label.slice(1);if(ri.has(d)&&"base"in e){var v=e.base.type==="ordgroup"?e.base.body.length:1,b,y,w;if(v>5)d==="widehat"||d==="widecheck"?(b=420,c=2364,w=.42,y=d+"4"):(b=312,c=2340,w=.34,y="tilde4");else{var k=[1,1,2,2,3,3][v];d==="widehat"||d==="widecheck"?(c=[0,1062,2364,2364,2364][k],b=[0,239,300,360,420][k],w=[0,.24,.3,.3,.36,.42][k],y=d+k):(c=[0,600,1033,2339,2340][k],b=[0,260,286,306,312][k],w=[0,.26,.286,.3,.306,.34][k],y="tilde"+k)}var T=new _0(y),x=new V0([T],{width:"100%",height:B(w),viewBox:"0 0 "+c+" "+b,preserveAspectRatio:"none"});return{span:X0([],[x],t),minWidth:0,height:w}}else{var D=[],q=ti[d];if(!q)throw new Error('No SVG data for "'+d+'".');var E=q[0],H=q[1],j=q[2],R=j/1e3,F=E.length,$,X;if(F===1){if(q.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+d+'".');$=["hide-tail"],X=[q[3]]}else if(F===2)$=["halfarrow-left","halfarrow-right"],X=["xMinYMin","xMaxYMin"];else if(F===3)$=["brace-left","brace-center","brace-right"],X=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
262
|
-
`+F+" children.");for(var J=0;J<F;J++){var d0=new _0(E[J]),n0=new V0([d0],{width:"400em",height:B(R),viewBox:"0 0 "+c+" "+j,preserveAspectRatio:X[J]+" slice"}),D0=X0([$[J]],[n0],t);if(F===1)return{span:D0,minWidth:H,height:R};D0.style.height=B(R),D.push(D0)}return{span:M(["katex-stretchy"],D,t),minWidth:H,height:R}}}var n=a(),i=n.span,o=n.minWidth,u=n.height;return i.height=u,i.style.height=B(u),o>0&&(i.style.minWidth=B(o)),i},ai=function(e,t,a,n,i){var o,u=e.height+e.depth+a+n;if(/fbox|color|angl/.test(t)){if(o=M(["katex-stretchy",t],[],i),t==="fbox"){var c=i.color&&i.getColor();c&&(o.style.borderColor=c)}}else{var d=[];/^[bx]cancel$/.test(t)&&d.push(new pr({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&d.push(new pr({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var v=new V0(d,{width:"100%",height:B(u)});o=X0([],[v],i)}return o.height=u,o.style.height=B(u),o},ni=["bin","close","inner","open","punct","rel"],ii=["accent-token","mathord","op-token","spacing","textord"],si=new Set(ni),li=new Set(ii);function oi(r){return si.has(r)}function U(r,e){if(!r||r.type!==e)throw new Error("Expected node of type "+e+", but got "+(r?"node of type "+r.type:String(r)));return r}function Ze(r){var e=Ke(r);if(!e)throw new Error("Expected node of symbol group type, but got "+(r?"node of type "+r.type:String(r)));return e}function Ke(r){return r.type==="atom"||li.has(r.type)?r:null}function Qt(r,e,t){var a="";for(var n of r.body)if(n.type==="textord")a+=n.text;else if(t&&n.type==="spacing"&&n.text===" ")a+=" ";else throw new z(e,r);return a}var Ba=r=>{if(r instanceof b0)return r;if(Nn(r)&&r.children.length===1)return Ba(r.children[0])},Da=(r,e)=>{var t,a,n;r&&r.type==="supsub"?(a=U(r.base,"accent"),t=a.base,r.base=t,n=In(V(r,e)),r.base=a):(a=U(r,"accent"),t=a.base);var i=V(t,e.havingCrampedStyle()),o=a.isShifty&&R0(t),u=0;if(o){var c,d;u=(c=(d=Ba(i))==null?void 0:d.skew)!=null?c:0}var v=a.label==="\\c",b=v?i.height+i.depth:Math.min(i.height,e.fontMetrics().xHeight),y;if(a.isStretchy)y=Ye(a,e),y=W({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:y,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+B(2*u)+")",marginLeft:B(2*u)}:void 0}]});else{var w,k;a.label==="\\vec"?(w=Ma("vec",e),k=Sa.vec[1]):(w=Ve({type:"textord",mode:a.mode,text:a.label},e),w=Dn(w),w.italic=0,k=w.width,v&&(b+=w.depth)),y=M(["accent-body"],[w]);var T=a.label==="\\textcircled";T&&(y.classes.push("accent-full"),b=i.height);var x=u;T||(x-=k/2),y.style.left=B(x),a.label==="\\textcircled"&&(y.style.top=".2em"),y=W({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-b},{type:"elem",elem:y}]})}var D=M(["mord","katex-accent"],[y],e);return n?(n.children[0]=D,n.height=Math.max(D.height,n.height),n.classes[0]="mord",n):D},ui=(r,e)=>{var t=r.isStretchy?Xe(r.label):new A("mo",[y0(r.label,r.mode)]),a=new A("mover",[Y(r.base,e),t]);return a.setAttribute("accent","true"),a},hi=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(r=>"\\"+r).join("|"));I({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:(r,e)=>{var t=xe(e[0]),a=!hi.test(r.funcName),n=!a||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:a,isShifty:n,base:t}},htmlBuilder:Da,mathmlBuilder:ui});I({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"],handler:(r,e)=>{var t=e[0],a=r.parser.mode;return a==="math"&&(r.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+r.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:r.funcName,isStretchy:!1,isShifty:!0,base:t}}});I({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],numArgs:1,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=e[0];return{type:"accentUnder",mode:t.mode,label:a,base:n}},htmlBuilder:(r,e)=>{var t=V(r.base,e),a=Ye(r,e),n=r.label==="\\utilde"?.12:0,i=W({positionType:"top",positionData:t.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:t}]});return M(["mord","accentunder"],[i],e)},mathmlBuilder:(r,e)=>{var t=Xe(r.label),a=new A("munder",[Y(r.base,e),t]);return a.setAttribute("accentunder","true"),a}});var Re=r=>{var e=new A("mpadded",r?[r]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};I({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(r,e,t){var a=r.parser,n=r.funcName;return{type:"xArrow",mode:a.mode,label:n,body:e[0],below:t[0]}},htmlBuilder(r,e){var t=e.style,a=e.havingStyle(t.sup()),n=he(V(r.body,a,e),e),i=r.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(i+"-arrow-pad");var o;r.below&&(a=e.havingStyle(t.sub()),o=he(V(r.below,a,e),e),o.classes.push(i+"-arrow-pad"));var u=Ye(r,e),c=-e.fontMetrics().axisHeight+.5*u.height,d=-e.fontMetrics().axisHeight-.5*u.height-.111;(n.depth>.25||r.label==="\\xleftequilibrium")&&(d-=n.depth);var v;if(o){var b=-e.fontMetrics().axisHeight+o.height+.5*u.height+.111;v=W({positionType:"individualShift",children:[{type:"elem",elem:n,shift:d},{type:"elem",elem:u,shift:c,wrapperClasses:["svg-align"]},{type:"elem",elem:o,shift:b}]})}else v=W({positionType:"individualShift",children:[{type:"elem",elem:n,shift:d},{type:"elem",elem:u,shift:c,wrapperClasses:["svg-align"]}]});return M(["mrel","x-arrow"],[v],e)},mathmlBuilder(r,e){var t=Xe(r.label);t.setAttribute("minsize",r.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(r.body){var n=Re(Y(r.body,e));if(r.below){var i=Re(Y(r.below,e));a=new A("munderover",[t,i,n])}else a=new A("mover",[t,n])}else if(r.below){var o=Re(Y(r.below,e));a=new A("munder",[t,o])}else a=Re(),a=new A("mover",[t,a]);return a}});function ci(r,e){var t=s0(r.body,e,!0);return M([r.mclass],t,e)}function mi(r,e){var t,a=v0(r.body,e);return r.mclass==="minner"?t=new A("mpadded",a):r.mclass==="mord"?r.isCharacterBox?(t=a[0],t.type="mi"):t=new A("mi",a):(r.isCharacterBox?(t=a[0],t.type="mo"):t=new A("mo",a),r.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):r.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):(r.mclass==="mopen"||r.mclass==="mclose")&&(t.attributes.lspace="0em",t.attributes.rspace="0em")),t}I({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],numArgs:1,primitive:!0,handler(r,e){var t=r.parser,a=r.funcName,n=e[0];return{type:"mclass",mode:t.mode,mclass:"m"+a.slice(5),body:t0(n),isCharacterBox:R0(n)}},htmlBuilder:ci,mathmlBuilder:mi});var Je=r=>{var e=r.type==="ordgroup"&&r.body.length?r.body[0]:r;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};I({type:"mclass",names:["\\@binrel"],numArgs:2,handler(r,e){var t=r.parser;return{type:"mclass",mode:t.mode,mclass:Je(e[0]),body:t0(e[1]),isCharacterBox:R0(e[1])}}});I({type:"mclass",names:["\\stackrel","\\overset","\\underset"],numArgs:2,handler(r,e){var t=r.parser,a=r.funcName,n=e[1],i=e[0],o;a!=="\\stackrel"?o=Je(n):o="mrel";var u={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:t0(n)},c=a==="\\underset"?{type:"supsub",mode:i.mode,base:u,sub:i}:{type:"supsub",mode:i.mode,base:u,sup:i};return{type:"mclass",mode:t.mode,mclass:o,body:[c],isCharacterBox:R0(c)}}});I({type:"pmb",names:["\\pmb"],numArgs:1,allowedInText:!0,handler(r,e){var t=r.parser;return{type:"pmb",mode:t.mode,mclass:Je(e[0]),body:t0(e[0])}},htmlBuilder(r,e){var t=s0(r.body,e,!0),a=M([r.mclass],t,e);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(r,e){var t=v0(r.body,e),a=new A("mstyle",t);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var di={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Nr=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),qr=r=>r.type==="textord"&&r.text==="@",fi=(r,e)=>(r.type==="mathord"||r.type==="atom")&&r.text===e;function pi(r,e,t){var a=di[r];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(a,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var n=t.callFunction("\\\\cdleft",[e[0]],[]),i={type:"atom",text:a,mode:"math",family:"rel"},o=t.callFunction("\\Big",[i],[]),u=t.callFunction("\\\\cdright",[e[1]],[]),c={type:"ordgroup",mode:"math",body:[n,o,u]};return t.callFunction("\\\\cdparent",[c],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var d={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[d],[])}default:return{type:"textord",text:" ",mode:"math"}}}function vi(r){var e=[];for(r.gullet.beginGroup(),r.gullet.macros.set("\\cr","\\\\\\relax"),r.gullet.beginGroup();;){e.push(r.parseExpression(!1,"\\\\")),r.gullet.endGroup(),r.gullet.beginGroup();var t=r.fetch().text;if(t==="&"||t==="\\\\")r.consume();else if(t==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new z("Expected \\\\ or \\cr or \\end",r.nextToken)}for(var a=[],n=[a],i=0;i<e.length;i++){for(var o=e[i],u=Nr(),c=0;c<o.length;c++)if(!qr(o[c]))u.body.push(o[c]);else{a.push(u),c+=1;var d=Ze(o[c]).text,v=new Array(2);if(v[0]={type:"ordgroup",mode:"math",body:[]},v[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(d))if("<>AV".includes(d))for(var b=0;b<2;b++){for(var y=!0,w=c+1;w<o.length;w++){if(fi(o[w],d)){y=!1,c=w;break}if(qr(o[w]))throw new z("Missing a "+d+" character to complete a CD arrow.",o[w]);v[b].body.push(o[w])}if(y)throw new z("Missing a "+d+" character to complete a CD arrow.",o[c])}else throw new z('Expected one of "<>AV=|." after @',o[c]);var k=pi(d,v,r),T={type:"styling",body:[k],mode:"math",style:"display",resetFont:!0};a.push(T),u=Nr()}i%2===0?a.push(u):a.shift(),a=[],n.push(a)}r.gullet.endGroup(),r.gullet.endGroup();var x=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:x,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}I({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],numArgs:1,handler(r,e){var t=r.parser,a=r.funcName;return{type:"cdlabel",mode:t.mode,side:a.slice(4),label:e[0]}},htmlBuilder(r,e){var t=e.havingStyle(e.style.sup()),a=he(V(r.label,t,e),e);return a.classes.push("cd-label-"+r.side),a.style.bottom=B(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(r,e){var t=new A("mrow",[Y(r.label,e)]);return t=new A("mpadded",[t]),t.setAttribute("width","0"),r.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new A("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});I({type:"cdlabelparent",names:["\\\\cdparent"],numArgs:1,handler(r,e){var t=r.parser;return{type:"cdlabelparent",mode:t.mode,fragment:e[0]}},htmlBuilder(r,e){var t=he(V(r.fragment,e),e);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(r,e){return new A("mrow",[Y(r.fragment,e)])}});I({type:"textord",names:["\\@char"],numArgs:1,allowedInText:!0,handler(r,e){var t=r.parser,a=U(e[0],"ordgroup"),n=Qt(a,"\\@char has non-numeric argument"),i=parseInt(n),o;if(isNaN(i))throw new z("\\@char has non-numeric argument "+n);if(i<0||i>1114111)throw new z("\\@char with invalid code point "+n);return i<=65535?o=String.fromCharCode(i):(i-=65536,o=String.fromCharCode((i>>10)+55296,(i&1023)+56320)),{type:"textord",mode:t.mode,text:o}}});var gi=(r,e)=>{var t=s0(r.body,e.withColor(r.color),!1);return O0(t)},bi=(r,e)=>{var t=v0(r.body,e.withColor(r.color)),a=new A("mstyle",t);return a.setAttribute("mathcolor",r.color),a};I({type:"color",names:["\\textcolor"],numArgs:2,allowedInText:!0,argTypes:["color","original"],handler(r,e){var t=r.parser,a=U(e[0],"color-token").color,n=e[1];return{type:"color",mode:t.mode,color:a,body:t0(n)}},htmlBuilder:gi,mathmlBuilder:bi});I({type:"color",names:["\\color"],numArgs:1,allowedInText:!0,argTypes:["color"],handler(r,e){var t=r.parser,a=r.breakOnTokenText,n=U(e[0],"color-token").color;t.gullet.macros.set("\\current@color",n);var i=t.parseExpression(!0,a);return{type:"color",mode:t.mode,color:n,body:i}}});I({type:"cr",names:["\\\\"],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(r,e,t){var a=r.parser,n=a.gullet.future().text==="["?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&U(n,"size").value}},htmlBuilder(r,e){var t=M(["mspace"],[],e);return r.newLine&&(t.classes.push("katex-newline"),r.size&&(t.style.marginTop=B(_(r.size,e)))),t},mathmlBuilder(r,e){var t=new A("mspace");return r.newLine&&(t.setAttribute("linebreak","newline"),r.size&&t.setAttribute("height",B(_(r.size,e)))),t}});var Lt={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Ia=r=>{var e=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new z("Expected a control sequence",r);return e},yi=r=>{var e=r.gullet.popToken();return e.text==="="&&(e=r.gullet.popToken(),e.text===" "&&(e=r.gullet.popToken())),e},Na=(r,e,t,a)=>{var n=r.gullet.macros.get(t.text);n==null&&(t.noexpand=!0,n={tokens:[t],numArgs:0,unexpandable:!r.gullet.isExpandable(t.text)}),r.gullet.macros.set(e,n,a)};I({type:"internal",names:["\\global","\\long","\\\\globallong"],numArgs:0,allowedInText:!0,handler(r){var e=r.parser,t=r.funcName;e.consumeSpaces();var a=e.fetch();if(Lt[a.text])return(t==="\\global"||t==="\\\\globallong")&&(a.text=Lt[a.text]),U(e.parseFunction(),"internal");throw new z("Invalid token after macro prefix",a)}});I({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],numArgs:0,allowedInText:!0,primitive:!0,handler(r){var e=r.parser,t=r.funcName,a=e.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new z("Expected a control sequence",a);for(var i=0,o,u=[[]];e.gullet.future().text!=="{";)if(a=e.gullet.popToken(),a.text==="#"){if(e.gullet.future().text==="{"){o=e.gullet.future(),u[i].push("{");break}if(a=e.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new z('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==i+1)throw new z('Argument number "'+a.text+'" out of order');i++,u.push([])}else{if(a.text==="EOF")throw new z("Expected a macro definition");u[i].push(a.text)}var c=e.gullet.consumeArg(),d=c.tokens;return o&&d.unshift(o),(t==="\\edef"||t==="\\xdef")&&(d=e.gullet.expandTokens(d),d.reverse()),e.gullet.macros.set(n,{tokens:d,numArgs:i,delimiters:u},t===Lt[t]),{type:"internal",mode:e.mode}}});I({type:"internal",names:["\\let","\\\\globallet"],numArgs:0,allowedInText:!0,primitive:!0,handler(r){var e=r.parser,t=r.funcName,a=Ia(e.gullet.popToken());e.gullet.consumeSpaces();var n=yi(e);return Na(e,a,n,t==="\\\\globallet"),{type:"internal",mode:e.mode}}});I({type:"internal",names:["\\futurelet","\\\\globalfuture"],numArgs:0,allowedInText:!0,primitive:!0,handler(r){var e=r.parser,t=r.funcName,a=Ia(e.gullet.popToken()),n=e.gullet.popToken(),i=e.gullet.popToken();return Na(e,a,i,t==="\\\\globalfuture"),e.gullet.pushToken(i),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var ve=function(e,t,a){var n=Z.math[e]&&Z.math[e].replace,i=Xt(n||e,t,a);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},_t=function(e,t,a,n){var i=a.havingBaseStyle(t),o=M(n.concat(i.sizingClasses(a)),[e],a),u=i.sizeMultiplier/a.sizeMultiplier;return o.height*=u,o.depth*=u,o.maxFontSize=i.sizeMultiplier,o},qa=function(e,t,a){var n=t.havingBaseStyle(a),i=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=B(i),e.height-=i,e.depth+=i},wi=function(e,t,a,n,i,o){var u=u0(e,"Main-Regular",i,n),c=_t(u,t,n,o);return qa(c,n,t),c},xi=function(e,t,a,n){return u0(e,"Size"+t+"-Regular",a,n)},Ea=function(e,t,a,n,i,o){var u=xi(e,t,i,n),c=_t(M(["delimsizing","size"+t],[u],n),P.TEXT,n,o);return a&&qa(c,n,P.TEXT),c},mt=function(e,t,a){var n;t==="Size1-Regular"?n="delim-size1":n="delim-size4";var i=M(["delimsizinginner",n],[M([],[u0(e,t,a)])]);return{type:"elem",elem:i}},dt=function(e,t,a){var n=q0["Size4-Regular"][e.charCodeAt(0)]?q0["Size4-Regular"][e.charCodeAt(0)][4]:q0["Size1-Regular"][e.charCodeAt(0)][4],i=new _0("inner",Sn(e,Math.round(1e3*t))),o=new V0([i],{width:B(n),height:B(t),style:"width:"+B(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),u=X0([],[o],a);return u.height=t,u.style.height=B(t),u.style.width=B(n),{type:"elem",elem:u}},Ot=.008,Le={type:"kern",size:-1*Ot},ki=new Set(["|","\\lvert","\\rvert","\\vert"]),Si=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Ra=function(e,t,a,n,i,o){var u,c,d,v,b="",y=0;u=d=v=e,c=null;var w="Size1-Regular";e==="\\uparrow"?d=v="⏐":e==="\\Uparrow"?d=v="‖":e==="\\downarrow"?u=d="⏐":e==="\\Downarrow"?u=d="‖":e==="\\updownarrow"?(u="\\uparrow",d="⏐",v="\\downarrow"):e==="\\Updownarrow"?(u="\\Uparrow",d="‖",v="\\Downarrow"):ki.has(e)?(d="∣",b="vert",y=333):Si.has(e)?(d="∥",b="doublevert",y=556):e==="["||e==="\\lbrack"?(u="⎡",d="⎢",v="⎣",w="Size4-Regular",b="lbrack",y=667):e==="]"||e==="\\rbrack"?(u="⎤",d="⎥",v="⎦",w="Size4-Regular",b="rbrack",y=667):e==="\\lfloor"||e==="⌊"?(d=u="⎢",v="⎣",w="Size4-Regular",b="lfloor",y=667):e==="\\lceil"||e==="⌈"?(u="⎡",d=v="⎢",w="Size4-Regular",b="lceil",y=667):e==="\\rfloor"||e==="⌋"?(d=u="⎥",v="⎦",w="Size4-Regular",b="rfloor",y=667):e==="\\rceil"||e==="⌉"?(u="⎤",d=v="⎥",w="Size4-Regular",b="rceil",y=667):e==="("||e==="\\lparen"?(u="⎛",d="⎜",v="⎝",w="Size4-Regular",b="lparen",y=875):e===")"||e==="\\rparen"?(u="⎞",d="⎟",v="⎠",w="Size4-Regular",b="rparen",y=875):e==="\\{"||e==="\\lbrace"?(u="⎧",c="⎨",v="⎩",d="⎪",w="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(u="⎫",c="⎬",v="⎭",d="⎪",w="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(u="⎧",v="⎩",d="⎪",w="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(u="⎫",v="⎭",d="⎪",w="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(u="⎧",v="⎭",d="⎪",w="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(u="⎫",v="⎩",d="⎪",w="Size4-Regular");var k=ve(u,w,i),T=k.height+k.depth,x=ve(d,w,i),D=x.height+x.depth,q=ve(v,w,i),E=q.height+q.depth,H=0,j=1;if(c!==null){var R=ve(c,w,i);H=R.height+R.depth,j=2}var F=T+E+H,$=Math.max(0,Math.ceil((t-F)/(j*D))),X=F+$*j*D,J=n.fontMetrics().axisHeight;a&&(J*=n.sizeMultiplier);var d0=X/2-J,n0=[];if(b.length>0){var D0=X-T-E,k0=Math.round(X*1e3),w0=Mn(b,Math.round(D0*1e3)),F0=new _0(b,w0),te=B(y/1e3),re=B(k0/1e3),at=new V0([F0],{width:te,height:re,viewBox:"0 0 "+y+" "+k0}),H0=X0([],[at],n);H0.height=k0/1e3,H0.style.width=te,H0.style.height=re,n0.push({type:"elem",elem:H0})}else{if(n0.push(mt(v,w,i)),n0.push(Le),c===null){var P0=X-T-E+2*Ot;n0.push(dt(d,P0,n))}else{var de=(X-T-E-H)/2+2*Ot;n0.push(dt(d,de,n)),n0.push(Le),n0.push(mt(c,w,i)),n0.push(Le),n0.push(dt(d,de,n))}n0.push(Le),n0.push(mt(u,w,i))}var x0=n.havingBaseStyle(P.TEXT),ze=W({positionType:"bottom",positionData:d0,children:n0});return _t(M(["delimsizing","mult"],[ze],x0),P.TEXT,n,o)},ft=80,pt=.08,vt=function(e,t,a,n,i){var o=kn(e,n,a),u=new _0(e,o),c=new V0([u],{width:"400em",height:B(t),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return X0(["hide-tail"],[c],i)},Mi=function(e,t){var a=t.havingBaseSizing(),n=Pa("\\surd",e*a.sizeMultiplier,Ha,a),i=a.sizeMultiplier,o=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),u,c,d,v,b;return n.type==="small"?(v=1e3+1e3*o+ft,e<1?i=1:e<1.4&&(i=.7),c=(1+o+pt)/i,d=(1+o)/i,u=vt("sqrtMain",c,v,o,t),u.style.minWidth="0.853em",b=.833/i):n.type==="large"?(v=(1e3+ft)*ge[n.size],d=(ge[n.size]+o)/i,c=(ge[n.size]+o+pt)/i,u=vt("sqrtSize"+n.size,c,v,o,t),u.style.minWidth="1.02em",b=1/i):(c=e+o+pt,d=e+o,v=Math.floor(1e3*e+o)+ft,u=vt("sqrtTall",c,v,o,t),u.style.minWidth="0.742em",b=1.056),u.height=d,u.style.height=B(c),{span:u,advanceWidth:b,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*i}},La=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),zi=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Oa=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),ge=[0,1.2,1.8,2.4,3],Fa=function(e,t,a,n,i){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),La.has(e)||Oa.has(e))return Ea(e,t,!1,a,n,i);if(zi.has(e))return Ra(e,ge[t],!1,a,n,i);throw new z("Illegal delimiter: '"+e+"'")},Ai=[{type:"small",style:P.SCRIPTSCRIPT},{type:"small",style:P.SCRIPT},{type:"small",style:P.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ti=[{type:"small",style:P.SCRIPTSCRIPT},{type:"small",style:P.SCRIPT},{type:"small",style:P.TEXT},{type:"stack"}],Ha=[{type:"small",style:P.SCRIPTSCRIPT},{type:"small",style:P.SCRIPT},{type:"small",style:P.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ci=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 t=e.type;throw new Error("Add support for delim type '"+t+"' here.")},Pa=function(e,t,a,n){for(var i=Math.min(2,3-n.style.size),o=i;o<a.length;o++){var u=a[o];if(u.type==="stack")break;var c=ve(e,Ci(u),"math"),d=c.height+c.depth;if(u.type==="small"){var v=n.havingBaseStyle(u.style);d*=v.sizeMultiplier}if(d>t)return u}return a[a.length-1]},Ft=function(e,t,a,n,i,o){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var u;Oa.has(e)?u=Ai:La.has(e)?u=Ha:u=Ti;var c=Pa(e,t,u,n);return c.type==="small"?wi(e,c.style,a,n,i,o):c.type==="large"?Ea(e,c.size,a,n,i,o):Ra(e,t,a,n,i,o)},gt=function(e,t,a,n,i,o){var u=n.fontMetrics().axisHeight*n.sizeMultiplier,c=901,d=5/n.fontMetrics().ptPerEm,v=Math.max(t-u,a+u),b=Math.max(v/500*c,2*v-d);return Ft(e,b,!0,n,i,o)},Er={"\\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}},Bi=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 Rr(r){return"isMiddle"in r}function Qe(r,e){var t=Ke(r);if(t&&Bi.has(t.text))return t;throw t?new z("Invalid delimiter '"+t.text+"' after '"+e.funcName+"'",r):new z("Invalid delimiter type '"+r.type+"'",r)}I({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],numArgs:1,argTypes:["primitive"],handler:(r,e)=>{var t=Qe(xe(e[0]),r);return{type:"delimsizing",mode:r.parser.mode,size:Er[r.funcName].size,mclass:Er[r.funcName].mclass,delim:t.text}},htmlBuilder:(r,e)=>r.delim==="."?M([r.mclass]):Fa(r.delim,r.size,e,r.mode,[r.mclass]),mathmlBuilder:r=>{var e=[];r.delim!=="."&&e.push(y0(r.delim,r.mode));var t=new A("mo",e);r.mclass==="mopen"||r.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var a=B(ge[r.size]);return t.setAttribute("minsize",a),t.setAttribute("maxsize",a),t}});function Lr(r){if(!r.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}I({type:"leftright-right",names:["\\right"],numArgs:1,primitive:!0,handler:(r,e)=>{var t=r.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new z("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:Qe(e[0],r).text,color:t}}});I({type:"leftright",names:["\\left"],numArgs:1,primitive:!0,handler:(r,e)=>{var t=Qe(e[0],r),a=r.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=U(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:t.text,right:i.delim,rightColor:i.color}},htmlBuilder:(r,e)=>{Lr(r);for(var t=s0(r.body,e,!0,["mopen","mclose"]),a=0,n=0,i=!1,o=0;o<t.length;o++){var u=t[o];Rr(u)?i=!0:(a=Math.max(t[o].height,a),n=Math.max(t[o].depth,n))}a*=e.sizeMultiplier,n*=e.sizeMultiplier;var c;if(r.left==="."?c=ke(e,["mopen"]):c=gt(r.left,a,n,e,r.mode,["mopen"]),t.unshift(c),i)for(var d=1;d<t.length;d++){var v=t[d];if(Rr(v)){var b=v.isMiddle;t[d]=gt(b.delim,a,n,b.options,r.mode,[])}}var y;if(r.right===".")y=ke(e,["mclose"]);else{var w=r.rightColor?e.withColor(r.rightColor):e;y=gt(r.right,a,n,w,r.mode,["mclose"])}return t.push(y),M(["minner"],t,e)},mathmlBuilder:(r,e)=>{Lr(r);var t=v0(r.body,e);if(r.left!=="."){var a=new A("mo",[y0(r.left,r.mode)]);a.setAttribute("fence","true"),t.unshift(a)}if(r.right!=="."){var n=new A("mo",[y0(r.right,r.mode)]);n.setAttribute("fence","true"),r.rightColor&&n.setAttribute("mathcolor",r.rightColor),t.push(n)}return Kt(t)}});I({type:"middle",names:["\\middle"],numArgs:1,primitive:!0,handler:(r,e)=>{var t=Qe(e[0],r);if(!r.parser.leftrightDepth)throw new z("\\middle without preceding \\left",t);return{type:"middle",mode:r.parser.mode,delim:t.text}},htmlBuilder:(r,e)=>{var t;return r.delim==="."?t=ke(e,[]):(t=Fa(r.delim,1,e,r.mode,[]),t.isMiddle={delim:r.delim,options:e}),t},mathmlBuilder:(r,e)=>{var t=r.delim==="\\vert"||r.delim==="|"?y0("|","text"):y0(r.delim,r.mode),a=new A("mo",[t]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Di=(r,e)=>{var t=he(V(r.body,e),e),a=r.label.slice(1),n=e.sizeMultiplier,i,o,u=R0(r.body);if(a==="sout")i=M(["katex-stretchy","katex-sout"]),i.height=e.fontMetrics().defaultRuleThickness/n,o=-.5*e.fontMetrics().xHeight;else if(a==="phase"){var c=_({number:.6,unit:"pt"},e),d=_({number:.35,unit:"ex"},e),v=e.havingBaseSizing();n=n/v.sizeMultiplier;var b=t.height+t.depth+c+d;t.style.paddingLeft=B(b/2+c);var y=Math.floor(1e3*b*n),w=wn(y),k=new V0([new _0("phase",w)],{width:"400em",height:B(y/1e3),viewBox:"0 0 400000 "+y,preserveAspectRatio:"xMinYMin slice"});i=X0(["hide-tail"],[k],e),i.style.height=B(b),o=t.depth+c+d}else{/cancel/.test(a)?u||t.classes.push("cancel-pad"):a==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var T,x,D=0;/box/.test(a)?(D=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),T=e.fontMetrics().fboxsep+(a==="colorbox"?0:D),x=T):a==="angl"?(D=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),T=4*D,x=Math.max(0,.25-t.depth)):(T=u?.2:0,x=T),i=ai(t,a,T,x,e),/fbox|boxed|fcolorbox/.test(a)?(i.style.borderStyle="solid",i.style.borderWidth=B(D)):a==="angl"&&D!==.049&&(i.style.borderTopWidth=B(D),i.style.borderRightWidth=B(D)),o=t.depth+x,r.backgroundColor&&(i.style.backgroundColor=r.backgroundColor,r.borderColor&&(i.style.borderColor=r.borderColor))}var q;if(r.backgroundColor)q=W({positionType:"individualShift",children:[{type:"elem",elem:i,shift:o},{type:"elem",elem:t,shift:0}]});else{var E=/cancel|phase/.test(a)?["svg-align"]:[];q=W({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:i,shift:o,wrapperClasses:E}]})}return/cancel/.test(a)&&(q.height=t.height,q.depth=t.depth),/cancel/.test(a)&&!u?M(["mord","cancel-lap"],[q],e):M(["mord"],[q],e)},Ii=(r,e)=>{var t,a=new A(r.label.includes("colorbox")?"mpadded":"menclose",[Y(r.body,e)]);switch(r.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*t+"pt"),a.setAttribute("height","+"+2*t+"pt"),a.setAttribute("lspace",t+"pt"),a.setAttribute("voffset",t+"pt"),r.label==="\\fcolorbox"){var n=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);a.setAttribute("style","border: "+B(n)+" solid "+r.borderColor)}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return r.backgroundColor&&a.setAttribute("mathbackground",r.backgroundColor),a};I({type:"enclose",names:["\\colorbox"],numArgs:2,allowedInText:!0,argTypes:["color","hbox"],handler(r,e,t){var a=r.parser,n=r.funcName,i=U(e[0],"color-token").color,o=e[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:o}},htmlBuilder:Di,mathmlBuilder:Ii});I({type:"enclose",names:["\\fcolorbox"],numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"],handler(r,e,t){var a=r.parser,n=r.funcName,i=U(e[0],"color-token").color,o=U(e[1],"color-token").color,u=e[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:o,borderColor:i,body:u}}});I({type:"enclose",names:["\\fbox"],numArgs:1,argTypes:["hbox"],allowedInText:!0,handler(r,e){var t=r.parser;return{type:"enclose",mode:t.mode,label:"\\fbox",body:e[0]}}});I({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],numArgs:1,handler(r,e){var t=r.parser,a=r.funcName,n=e[0];return{type:"enclose",mode:t.mode,label:a,body:n}}});I({type:"enclose",names:["\\sout"],numArgs:1,allowedInText:!0,handler(r,e){var t=r.parser,a=r.funcName;t.mode==="math"&&t.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var n=e[0];return{type:"enclose",mode:t.mode,label:a,body:n}}});I({type:"enclose",names:["\\angl"],numArgs:1,argTypes:["hbox"],allowedInText:!1,handler(r,e){var t=r.parser;return{type:"enclose",mode:t.mode,label:"\\angl",body:e[0]}}});var ja={};function T0(r){for(var e=r.type,t=r.names,a=r.props,n=r.handler,i=r.htmlBuilder,o=r.mathmlBuilder,u={type:e,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},c=0;c<t.length;++c)ja[t[c]]=u;i&&(ye[e]=i),o&&(we[e]=o)}var Ua={};function m(r,e){Ua[r]=e}class m0{constructor(e,t,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=a}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new m0(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class f0{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new f0(t,m0.range(this,e))}}function Or(r){var e=[];r.consumeSpaces();var t=r.fetch().text;for(t==="\\relax"&&(r.consume(),r.consumeSpaces(),t=r.fetch().text);t==="\\hline"||t==="\\hdashline";)r.consume(),e.push(t==="\\hdashline"),r.consumeSpaces(),t=r.fetch().text;return e}var _e=r=>{var e=r.parser.settings;if(!e.displayMode)throw new z("{"+r.envName+"} can be used only in display mode.")},Ni=new Set(["gather","gather*"]);function er(r){if(!r.includes("ed"))return!r.includes("*")}function Z0(r,e,t){var a=e.hskipBeforeAndAfter,n=e.addJot,i=e.cols,o=e.arraystretch,u=e.colSeparationType,c=e.autoTag,d=e.singleRow,v=e.emptySingleRow,b=e.maxNumCols,y=e.leqno;if(r.gullet.beginGroup(),d||r.gullet.macros.set("\\cr","\\\\\\relax"),!o){var w=r.gullet.expandMacroAsText("\\arraystretch");if(w==null)o=1;else if(o=parseFloat(w),!o||o<0)throw new z("Invalid \\arraystretch: "+w)}r.gullet.beginGroup();var k=[],T=[k],x=[],D=[],q=c!=null?[]:void 0;function E(){c&&r.gullet.macros.set("\\@eqnsw","1",!0)}function H(){q&&(r.gullet.macros.get("\\df@tag")?(q.push(r.subparse([new f0("\\df@tag")])),r.gullet.macros.set("\\df@tag",void 0,!0)):q.push(!!c&&r.gullet.macros.get("\\@eqnsw")==="1"))}for(E(),D.push(Or(r));;){var j=r.parseExpression(!1,d?"\\end":"\\\\");r.gullet.endGroup(),r.gullet.beginGroup();var R={type:"ordgroup",mode:r.mode,body:j};t&&(R={type:"styling",mode:r.mode,style:t,resetFont:!0,body:[R]}),k.push(R);var F=r.fetch().text;if(F==="&"){if(b&&k.length===b){if(d||u)throw new z("Too many tab characters: &",r.nextToken);r.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}r.consume()}else if(F==="\\end"){H(),k.length===1&&R.type==="styling"&&R.body.length===1&&R.body[0].type==="ordgroup"&&R.body[0].body.length===0&&(T.length>1||!v)&&T.pop(),D.length<T.length+1&&D.push([]);break}else if(F==="\\\\"){r.consume();var $=void 0;r.gullet.future().text!==" "&&($=r.parseSizeGroup(!0)),x.push($?$.value:null),H(),D.push(Or(r)),k=[],T.push(k),E()}else throw new z("Expected & or \\\\ or \\cr or \\end",r.nextToken)}return r.gullet.endGroup(),r.gullet.endGroup(),{type:"array",mode:r.mode,addJot:n,arraystretch:o,body:T,cols:i,rowGaps:x,hskipBeforeAndAfter:a,hLinesBeforeRow:D,colSeparationType:u,tags:q,leqno:y}}function tr(r){return r.slice(0,1)==="d"?"display":"text"}var C0=function(e,t){var a,n,i=e.body.length,o=e.hLinesBeforeRow,u=0,c=new Array(i),d=[],v=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),b=1/t.fontMetrics().ptPerEm,y=5*b;if(e.colSeparationType&&e.colSeparationType==="small"){var w=t.havingStyle(P.SCRIPT).sizeMultiplier;y=.2778*(w/t.sizeMultiplier)}var k=e.colSeparationType==="CD"?_({number:3,unit:"ex"},t):12*b,T=3*b,x=e.arraystretch*k,D=.7*x,q=.3*x,E=0;function H(Be){for(var De=0;De<Be.length;++De)De>0&&(E+=.25),d.push({pos:E,isDashed:Be[De]})}for(H(o[0]),a=0;a<e.body.length;++a){var j=e.body[a],R=D,F=q;u<j.length&&(u=j.length);var $={cells:new Array(j.length),height:0,depth:0,pos:0};for(n=0;n<j.length;++n){var X=V(j[n],t);F<X.depth&&(F=X.depth),R<X.height&&(R=X.height),$.cells[n]=X}var J=e.rowGaps[a],d0=0;J&&(d0=_(J,t),d0>0&&(d0+=q,F<d0&&(F=d0),d0=0)),e.addJot&&a<e.body.length-1&&(F+=T),$.height=R,$.depth=F,E+=R,$.pos=E,E+=F+d0,c[a]=$,H(o[a+1])}var n0=E/2+t.fontMetrics().axisHeight,D0=e.cols||[],k0=[],w0,F0,te=[];if(e.tags&&e.tags.some(Be=>Be))for(a=0;a<i;++a){var re=c[a],at=re.pos-n0,H0=e.tags[a],P0=void 0;H0===!0?P0=M(["eqn-num"],[],t):H0===!1?P0=M([],[],t):P0=M([],s0(H0,t,!0),t),P0.depth=re.depth,P0.height=re.height,te.push({type:"elem",elem:P0,shift:at})}for(n=0,F0=0;n<u||F0<D0.length;++n,++F0){for(var de,x0=D0[F0],ze=!0;((nr=x0)==null?void 0:nr.type)==="separator";){var nr;if(ze||(w0=M(["arraycolsep"],[]),w0.style.width=B(t.fontMetrics().doubleRuleSep),k0.push(w0)),x0.separator==="|"||x0.separator===":"){var o1=x0.separator==="|"?"solid":"dashed",ae=M(["vertical-separator"],[],t);ae.style.height=B(E),ae.style.borderRightWidth=B(v),ae.style.borderRightStyle=o1,ae.style.margin="0 "+B(-v/2);var ir=E-n0;ir&&(ae.style.verticalAlign=B(-ir)),k0.push(ae)}else throw new z("Invalid separator type: "+x0.separator);F0++,x0=D0[F0],ze=!1}if(!(n>=u)){var ne=void 0;if(n>0||e.hskipBeforeAndAfter){var sr,lr;ne=(sr=(lr=x0)==null?void 0:lr.pregap)!=null?sr:y,ne!==0&&(w0=M(["arraycolsep"],[]),w0.style.width=B(ne),k0.push(w0))}var or=[];for(a=0;a<i;++a){var Ae=c[a],Te=Ae.cells[n];if(Te){var u1=Ae.pos-n0;Te.depth=Ae.depth,Te.height=Ae.height,or.push({type:"elem",elem:Te,shift:u1})}}var h1=W({positionType:"individualShift",children:or}),c1=M(["col-align-"+(((de=x0)==null?void 0:de.align)||"c")],[h1]);if(k0.push(c1),n<u-1||e.hskipBeforeAndAfter){var ur,hr;ne=(ur=(hr=x0)==null?void 0:hr.postgap)!=null?ur:y,ne!==0&&(w0=M(["arraycolsep"],[]),w0.style.width=B(ne),k0.push(w0))}}}var Ce=M(["mtable"],k0);if(d.length>0){for(var m1=ue("katex-hline",t,v),d1=ue("katex-hdashline",t,v),nt=[{type:"elem",elem:Ce,shift:0}];d.length>0;){var cr=d.pop(),mr=cr.pos-n0;cr.isDashed?nt.push({type:"elem",elem:d1,shift:mr}):nt.push({type:"elem",elem:m1,shift:mr})}Ce=W({positionType:"individualShift",children:nt})}if(te.length===0)return M(["mord"],[Ce],t);var f1=W({positionType:"individualShift",children:te}),p1=M(["katex-tag"],[f1],t);return O0([Ce,p1])},qi={c:"center ",l:"left ",r:"right "},B0=function(e,t){for(var a=[],n=new A("mtd",[],["mtr-glue"]),i=new A("mtd",[],["mml-eqn-num"]),o=0;o<e.body.length;o++){for(var u=e.body[o],c=[],d=0;d<u.length;d++)c.push(new A("mtd",[Y(u[d],t)]));e.tags&&e.tags[o]&&(c.unshift(n),c.push(n),e.leqno?c.unshift(i):c.push(i)),a.push(new A("mtr",c))}var v=new A("mtable",a),b=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);v.setAttribute("rowspacing",B(b));var y="",w="";if(e.cols&&e.cols.length>0){var k=e.cols,T="",x=!1,D=0,q=k.length;k[0].type==="separator"&&(y+="top ",D=1),k[k.length-1].type==="separator"&&(y+="bottom ",q-=1);for(var E=D;E<q;E++){var H=k[E];H.type==="align"?(w+=qi[H.align],x&&(T+="none "),x=!0):H.type==="separator"&&x&&(T+=H.separator==="|"?"solid ":"dashed ",x=!1)}v.setAttribute("columnalign",w.trim()),/[sd]/.test(T)&&v.setAttribute("columnlines",T.trim())}if(e.colSeparationType==="align"){for(var j=e.cols||[],R="",F=1;F<j.length;F++)R+=F%2?"0em ":"1em ";v.setAttribute("columnspacing",R.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?v.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?v.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?v.setAttribute("columnspacing","0.5em"):v.setAttribute("columnspacing","1em");var $="",X=e.hLinesBeforeRow;y+=X[0].length>0?"left ":"",y+=X[X.length-1].length>0?"right ":"";for(var J=1;J<X.length-1;J++)$+=X[J].length===0?"none ":X[J][0]?"dashed ":"solid ";return/[sd]/.test($)&&v.setAttribute("rowlines",$.trim()),y!==""&&(v=new A("menclose",[v]),v.setAttribute("notation",y.trim())),e.arraystretch&&e.arraystretch<1&&(v=new A("mstyle",[v]),v.setAttribute("scriptlevel","1")),v},$a=function(e,t){e.envName.includes("ed")||_e(e);var a=[],n=e.envName==="split",i=Z0(e.parser,{cols:a,addJot:!0,autoTag:n?void 0:er(e.envName),emptySingleRow:!0,colSeparationType:e.envName.includes("at")?"alignat":"align",maxNumCols:n?2:void 0,leqno:e.parser.settings.leqno},"display"),o=0,u=0,c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){var d="Number of columns should be a positive integer",v=Qt(t[0],d);if(!/^[0-9]+$/.test(v)||Number(v)<1)throw new z(d,t[0]);o=Number(v),u=o*2}var b=!u;i.body.forEach(function(T){for(var x=1;x<T.length;x+=2){var D=U(T[x],"styling"),q=U(D.body[0],"ordgroup");q.body.unshift(c)}if(b)u<T.length&&(u=T.length);else{var E=T.length/2;if(o<E)throw new z("Too many math in a row: "+("expected "+o+", but got "+E),T[0])}});for(var y=0;y<u;++y){var w="r",k=0;y%2===1?w="l":y>0&&b&&(k=1),a[y]={type:"align",align:w,pregap:k,postgap:0}}return i.colSeparationType=b?"align":"alignat",i};T0({type:"array",names:["array","darray"],props:{numArgs:1},handler(r,e){var t=Ke(e[0]),a=t?[e[0]]:U(e[0],"ordgroup").body,n=a.map(function(o){var u=Ze(o),c=u.text;if("lcr".includes(c))return{type:"align",align:c};if(c==="|")return{type:"separator",separator:"|"};if(c===":")return{type:"separator",separator:":"};throw new z("Unknown column alignment: "+c,o)}),i={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Z0(r.parser,i,tr(r.envName))},htmlBuilder:C0,mathmlBuilder:B0});T0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(r){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName.replace("*","")],t="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(r.envName.charAt(r.envName.length-1)==="*"){var n=r.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),t=n.fetch().text,!"lcr".includes(t))throw new z("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:t}]}}var i=Z0(r.parser,a,tr(r.envName)),o=Math.max(0,...i.body.map(u=>u.length));return i.cols=new Array(o).fill({type:"align",align:t}),e?{type:"leftright",mode:r.mode,body:[i],left:e[0],right:e[1],rightColor:void 0}:i},htmlBuilder:C0,mathmlBuilder:B0});T0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(r){var e={arraystretch:.5},t=Z0(r.parser,e,"script");return t.colSeparationType="small",t},htmlBuilder:C0,mathmlBuilder:B0});T0({type:"array",names:["subarray"],props:{numArgs:1},handler(r,e){var t=Ke(e[0]),a=t?[e[0]]:U(e[0],"ordgroup").body,n=a.map(function(u){var c=Ze(u),d=c.text;if("lc".includes(d))return{type:"align",align:d};throw new z("Unknown column alignment: "+d,u)});if(n.length>1)throw new z("{subarray} can contain only one column");var i={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5},o=Z0(r.parser,i,"script");if(o.body.length>0&&o.body[0].length>1)throw new z("{subarray} can contain only one column");return o},htmlBuilder:C0,mathmlBuilder:B0});T0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(r){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=Z0(r.parser,e,tr(r.envName));return{type:"leftright",mode:r.mode,body:[t],left:r.envName.includes("r")?".":"\\{",right:r.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:C0,mathmlBuilder:B0});T0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:$a,htmlBuilder:C0,mathmlBuilder:B0});T0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(r){Ni.has(r.envName)&&_e(r);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:er(r.envName),emptySingleRow:!0,leqno:r.parser.settings.leqno};return Z0(r.parser,e,"display")},htmlBuilder:C0,mathmlBuilder:B0});T0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:$a,htmlBuilder:C0,mathmlBuilder:B0});T0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(r){_e(r);var e={autoTag:er(r.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:r.parser.settings.leqno};return Z0(r.parser,e,"display")},htmlBuilder:C0,mathmlBuilder:B0});T0({type:"array",names:["CD"],props:{numArgs:0},handler(r){return _e(r),vi(r.parser)},htmlBuilder:C0,mathmlBuilder:B0});m("\\nonumber","\\gdef\\@eqnsw{0}");m("\\notag","\\nonumber");I({type:"text",names:["\\hline","\\hdashline"],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(r,e){throw new z(r.funcName+" valid only within array environment")}});var Fr=ja;I({type:"environment",names:["\\begin","\\end"],numArgs:1,argTypes:["text"],handler(r,e){var t=r.parser,a=r.funcName,n=e[0];if(n.type!=="ordgroup")throw new z("Invalid environment name",n);var i=Qt(n,"Environment name should contain only text characters and spaces",!0);if(a==="\\begin"){if(!Object.prototype.hasOwnProperty.call(Fr,i))throw new z("No such environment: "+i,n);var o=Fr[i],u=t.parseArguments("\\begin{"+i+"}",o),c=u.args,d=u.optArgs,v={mode:t.mode,envName:i,parser:t},b=o.handler(v,c,d);t.expect("\\end",!1);var y=t.nextToken,w=U(t.parseFunction(),"environment");if(w.name!==i)throw new z("Mismatch: \\begin{"+i+"} matched by \\end{"+w.name+"}",y);return b}return{type:"environment",mode:t.mode,name:i,nameGroup:n}}});var Ei=(r,e)=>{var t=r.font,a=e.withFont(t);return V(r.body,a)},Ri=(r,e)=>{var t=r.font,a=e.withFont(t);return Y(r.body,a)},Hr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};I({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],numArgs:1,allowedInArgument:!0,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=xe(e[0]),i=a in Hr?Hr[a]:a;return{type:"font",mode:t.mode,font:i.slice(1),body:n}},htmlBuilder:Ei,mathmlBuilder:Ri});I({type:"mclass",names:["\\boldsymbol","\\bm"],numArgs:1,handler:(r,e)=>{var t=r.parser,a=e[0];return{type:"mclass",mode:t.mode,mclass:Je(a),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:a}],isCharacterBox:R0(a)}}});I({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],numArgs:0,allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=r.breakOnTokenText,i=t.mode,o=t.parseExpression(!0,n);return{type:"font",mode:i,font:"math"+a.slice(1),body:{type:"ordgroup",mode:t.mode,body:o}}}});var Li=(r,e)=>{var t=e.style,a=t.fracNum(),n=t.fracDen(),i;i=e.havingStyle(a);var o=V(r.numer,i,e);if(r.continued){var u=8.5/e.fontMetrics().ptPerEm,c=3.5/e.fontMetrics().ptPerEm;o.height=o.height<u?u:o.height,o.depth=o.depth<c?c:o.depth}i=e.havingStyle(n);var d=V(r.denom,i,e),v,b,y;r.hasBarLine?(r.barSize?(b=_(r.barSize,e),v=ue("frac-line",e,b)):v=ue("frac-line",e),b=v.height,y=v.height):(v=null,b=0,y=e.fontMetrics().defaultRuleThickness);var w,k,T;t.size===P.DISPLAY.size?(w=e.fontMetrics().num1,b>0?k=3*y:k=7*y,T=e.fontMetrics().denom1):(b>0?(w=e.fontMetrics().num2,k=y):(w=e.fontMetrics().num3,k=3*y),T=e.fontMetrics().denom2);var x;if(v){var q=e.fontMetrics().axisHeight;w-o.depth-(q+.5*b)<k&&(w+=k-(w-o.depth-(q+.5*b))),q-.5*b-(d.height-T)<k&&(T+=k-(q-.5*b-(d.height-T)));var E=-(q-.5*b);x=W({positionType:"individualShift",children:[{type:"elem",elem:d,shift:T},{type:"elem",elem:v,shift:E},{type:"elem",elem:o,shift:-w}]})}else{var D=w-o.depth-(d.height-T);D<k&&(w+=.5*(k-D),T+=.5*(k-D)),x=W({positionType:"individualShift",children:[{type:"elem",elem:d,shift:T},{type:"elem",elem:o,shift:-w}]})}i=e.havingStyle(t),x.height*=i.sizeMultiplier/e.sizeMultiplier,x.depth*=i.sizeMultiplier/e.sizeMultiplier;var H;t.size===P.DISPLAY.size?H=e.fontMetrics().delim1:t.size===P.SCRIPTSCRIPT.size?H=e.havingStyle(P.SCRIPT).fontMetrics().delim2:H=e.fontMetrics().delim2;var j,R;return r.leftDelim==null?j=ke(e,["mopen"]):j=Ft(r.leftDelim,H,!0,e.havingStyle(t),r.mode,["mopen"]),r.continued?R=M([]):r.rightDelim==null?R=ke(e,["mclose"]):R=Ft(r.rightDelim,H,!0,e.havingStyle(t),r.mode,["mclose"]),M(["mord"].concat(i.sizingClasses(e)),[j,M(["mfrac"],[x]),R],e)},Oi=(r,e)=>{var t=new A("mfrac",[Y(r.numer,e),Y(r.denom,e)]);if(!r.hasBarLine)t.setAttribute("linethickness","0px");else if(r.barSize){var a=_(r.barSize,e);t.setAttribute("linethickness",B(a))}if(r.leftDelim!=null||r.rightDelim!=null){var n=[];if(r.leftDelim!=null){var i=new A("mo",[new r0(r.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),n.push(i)}if(n.push(t),r.rightDelim!=null){var o=new A("mo",[new r0(r.rightDelim.replace("\\",""))]);o.setAttribute("fence","true"),n.push(o)}return Kt(n)}return t},Ga=(r,e)=>{if(!e)return r;var t={type:"styling",mode:r.mode,style:e,body:[r]};return t};I({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],numArgs:2,allowedInArgument:!0,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=e[0],i=e[1],o,u=null,c=null;switch(a){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,u="(",c=")";break;case"\\\\bracefrac":o=!1,u="\\{",c="\\}";break;case"\\\\brackfrac":o=!1,u="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}var d=a==="\\cfrac",v=null;return d||a.startsWith("\\d")?v="display":a.startsWith("\\t")&&(v="text"),Ga({type:"genfrac",mode:t.mode,numer:n,denom:i,continued:d,hasBarLine:o,leftDelim:u,rightDelim:c,barSize:null},v)},htmlBuilder:Li,mathmlBuilder:Oi});I({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],numArgs:0,infix:!0,handler(r){var e=r.parser,t=r.funcName,a=r.token,n;switch(t){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:n,token:a}}});var Pr=["display","text","script","scriptscript"],jr=function(e){var t=null;return e.length>0&&(t=e,t=t==="."?null:t),t};I({type:"genfrac",names:["\\genfrac"],numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"],handler(r,e){var t=r.parser,a=e[4],n=e[5],i=xe(e[0]),o=i.type==="atom"&&i.family==="open"?jr(i.text):null,u=xe(e[1]),c=u.type==="atom"&&u.family==="close"?jr(u.text):null,d=U(e[2],"size"),v,b=null;d.isBlank?v=!0:(b=d.value,v=b.number>0);var y=null,w=e[3];if(w.type==="ordgroup"){if(w.body.length>0){var k=U(w.body[0],"textord");y=Pr[Number(k.text)]}}else w=U(w,"textord"),y=Pr[Number(w.text)];return Ga({type:"genfrac",mode:t.mode,numer:a,denom:n,continued:!1,hasBarLine:v,barSize:b,leftDelim:o,rightDelim:c},y)}});I({type:"infix",names:["\\above"],numArgs:1,argTypes:["size"],infix:!0,handler(r,e){var t=r.parser;r.funcName;var a=r.token;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:U(e[0],"size").value,token:a}}});I({type:"genfrac",names:["\\\\abovefrac"],numArgs:3,argTypes:["math","size","math"],handler:(r,e)=>{var t=r.parser;r.funcName;var a=e[0],n=U(e[1],"infix").size;if(!n)throw new Error("\\\\abovefrac expected size, but got "+String(n));var i=e[2],o=n.number>0;return{type:"genfrac",mode:t.mode,numer:a,denom:i,continued:!1,hasBarLine:o,barSize:n,leftDelim:null,rightDelim:null}}});var Wa=(r,e)=>{var t=e.style,a,n;r.type==="supsub"?(a=r.sup?V(r.sup,e.havingStyle(t.sup()),e):V(r.sub,e.havingStyle(t.sub()),e),n=U(r.base,"horizBrace")):n=U(r,"horizBrace");var i=V(n.base,e.havingBaseStyle(P.DISPLAY)),o=Ye(n,e),u;if(n.isOver?u=W({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o,wrapperClasses:["svg-align"]}]}):u=W({positionType:"bottom",positionData:i.depth+.1+o.height,children:[{type:"elem",elem:o,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:i}]}),a){var c=M(["minner",n.isOver?"mover":"munder"],[u],e);n.isOver?u=W({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:a}]}):u=W({positionType:"bottom",positionData:c.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:c}]})}return M(["minner",n.isOver?"mover":"munder"],[u],e)},Fi=(r,e)=>{var t=Xe(r.label);return new A(r.isOver?"mover":"munder",[Y(r.base,e),t])};I({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],numArgs:1,handler(r,e){var t=r.parser,a=r.funcName;return{type:"horizBrace",mode:t.mode,label:a,isOver:a.includes("\\over"),base:e[0]}},htmlBuilder:Wa,mathmlBuilder:Fi});I({type:"href",names:["\\href"],numArgs:2,argTypes:["url","original"],allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=e[1],n=U(e[0],"url").url;return t.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:t.mode,href:n,body:t0(a)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(r,e)=>{var t=s0(r.body,e,!1);return Hn(r.href,[],t,e)},mathmlBuilder:(r,e)=>{var t=Y0(r.body,e);return t instanceof A||(t=new A("mrow",[t])),t.setAttribute("href",r.href),t}});I({type:"href",names:["\\url"],numArgs:1,argTypes:["url"],allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=U(e[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:a}))return t.formatUnsupportedCmd("\\url");for(var n=[],i=0;i<a.length;i++){var o=a[i];o==="~"&&(o="\\textasciitilde"),n.push({type:"textord",mode:"text",text:o})}var u={type:"text",mode:t.mode,font:"\\texttt",body:n};return{type:"href",mode:t.mode,href:a,body:t0(u)}}});I({type:"hbox",names:["\\hbox"],numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0,handler(r,e){var t=r.parser;return{type:"hbox",mode:t.mode,body:t0(e[0])}},htmlBuilder(r,e){var t=s0(r.body,e.withFont(""),!1);return O0(t)},mathmlBuilder(r,e){return new A("mrow",v0(r.body,e.withFont("")))}});I({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],numArgs:2,argTypes:["raw","original"],allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=r.funcName;r.token;var n=U(e[0],"raw").string,i=e[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,u={};switch(a){case"\\htmlClass":u.class=n,o={command:"\\htmlClass",class:n};break;case"\\htmlId":u.id=n,o={command:"\\htmlId",id:n};break;case"\\htmlStyle":u.style=n,o={command:"\\htmlStyle",style:n};break;case"\\htmlData":{for(var c="{,}",d=[],v="",b=0;b<n.length;b++)n.startsWith(c,b)?(v+=",",b+=c.length-1):n[b]===","?(d.push(v),v=""):v+=n[b];d.push(v);for(var y=0;y<d.length;y++){var w=d[y],k=w.indexOf("=");if(k<0)throw new z("\\htmlData key/value '"+w+"' missing equals sign");var T=w.slice(0,k),x=w.slice(k+1);u["data-"+T.trim()]=x}o={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return t.settings.isTrusted(o)?{type:"html",mode:t.mode,attributes:u,body:t0(i)}:t.formatUnsupportedCmd(a)},htmlBuilder:(r,e)=>{var t=s0(r.body,e,!1),a=["enclosing"];r.attributes.class&&a.push(...r.attributes.class.trim().split(/\s+/));var n=M(a,t,e);for(var i of Object.entries(r.attributes)){var o=i[0],u=i[1];o!=="class"&&n.setAttribute(o,u)}return n},mathmlBuilder:(r,e)=>Y0(r.body,e)});I({type:"htmlmathml",names:["\\html@mathml"],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(r,e)=>{var t=r.parser;return{type:"htmlmathml",mode:t.mode,html:t0(e[0]),mathml:t0(e[1])}},htmlBuilder:(r,e)=>{var t=s0(r.html,e,!1);return O0(t)},mathmlBuilder:(r,e)=>Y0(r.mathml,e)});var bt=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new z("Invalid size: '"+e+"' in \\includegraphics");var a={number:+(t[1]+t[2]),unit:t[3]};if(!va(a))throw new z("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};I({type:"includegraphics",names:["\\includegraphics"],numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1,handler:(r,e,t)=>{var a=r.parser,n={number:0,unit:"em"},i={number:.9,unit:"em"},o={number:0,unit:"em"},u="";if(t[0])for(var c=U(t[0],"raw").string,d=c.split(","),v=0;v<d.length;v++){var b=d[v].split("=");if(b.length===2){var y=b[1].trim();switch(b[0].trim()){case"alt":u=y;break;case"width":n=bt(y);break;case"height":i=bt(y);break;case"totalheight":o=bt(y);break;default:throw new z("Invalid key: '"+b[0]+"' in \\includegraphics.")}}}var w=U(e[0],"url").url;return u===""&&(u=w,u=u.replace(/^.*[\\/]/,""),u=u.substring(0,u.lastIndexOf("."))),a.settings.isTrusted({command:"\\includegraphics",url:w})?{type:"includegraphics",mode:a.mode,alt:u,width:n,height:i,totalheight:o,src:w}:a.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(r,e)=>{var t=_(r.height,e),a=0;r.totalheight.number>0&&(a=_(r.totalheight,e)-t);var n=0;r.width.number>0&&(n=_(r.width,e));var i={height:B(t+a)};n>0&&(i.width=B(n)),a>0&&(i.verticalAlign=B(-a));var o=new Cn(r.src,r.alt,i);return o.height=t,o.depth=a,o},mathmlBuilder:(r,e)=>{var t=new A("mglyph",[]);t.setAttribute("alt",r.alt);var a=_(r.height,e),n=0;if(r.totalheight.number>0&&(n=_(r.totalheight,e)-a,t.setAttribute("valign",B(-n))),t.setAttribute("height",B(a+n)),r.width.number>0){var i=_(r.width,e);t.setAttribute("width",B(i))}return t.setAttribute("src",r.src),t}});I({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0,handler(r,e){var t=r.parser,a=r.funcName,n=U(e[0],"size");if(t.settings.strict){var i=a[1]==="m",o=n.value.unit==="mu";i?(o||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+n.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):o&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:n.value}},htmlBuilder(r,e){return ka(r.dimension,e)},mathmlBuilder(r,e){var t=_(r.dimension,e);return new Ca(t)}});I({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],numArgs:1,allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=e[0];return{type:"lap",mode:t.mode,alignment:a.slice(5),body:n}},htmlBuilder:(r,e)=>{var t;r.alignment==="clap"?(t=M([],[V(r.body,e)]),t=M(["katex-inner"],[t],e)):t=M(["katex-inner"],[V(r.body,e)]);var a=M(["katex-fix"],[]),n=M([r.alignment],[t,a],e),i=M(["katex-strut"]);return i.style.height=B(n.height+n.depth),n.depth&&(i.style.verticalAlign=B(-n.depth)),n.children.unshift(i),n=M(["katex-thinbox"],[n],e),M(["mord","katex-vbox"],[n],e)},mathmlBuilder:(r,e)=>{var t=new A("mpadded",[Y(r.body,e)]);if(r.alignment!=="rlap"){var a=r.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",a+"width")}return t.setAttribute("width","0px"),t}});I({type:"styling",names:["\\(","$"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(r,e){var t=r.funcName,a=r.parser,n=a.mode;a.switchMode("math");var i=t==="\\("?"\\)":"$",o=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",resetFont:!0,body:o}}});I({type:"text",names:["\\)","\\]"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(r,e){throw new z("Mismatched "+r.funcName)}});var Ur=(r,e)=>{switch(e.style.size){case P.DISPLAY.size:return r.display;case P.TEXT.size:return r.text;case P.SCRIPT.size:return r.script;case P.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};I({type:"mathchoice",names:["\\mathchoice"],numArgs:4,primitive:!0,handler:(r,e)=>{var t=r.parser;return{type:"mathchoice",mode:t.mode,display:t0(e[0]),text:t0(e[1]),script:t0(e[2]),scriptscript:t0(e[3])}},htmlBuilder:(r,e)=>{var t=Ur(r,e),a=s0(t,e,!1);return O0(a)},mathmlBuilder:(r,e)=>{var t=Ur(r,e);return Y0(t,e)}});var Va=(r,e,t,a,n,i,o)=>{r=M([],[r]);var u=t&&R0(t),c,d;if(e){var v=V(e,a.havingStyle(n.sup()),a);d={elem:v,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-v.depth)}}if(t){var b=V(t,a.havingStyle(n.sub()),a);c={elem:b,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-b.height)}}var y;if(d&&c){var w=a.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+r.depth+o;y=W({positionType:"bottom",positionData:w,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:B(-i)},{type:"kern",size:c.kern},{type:"elem",elem:r},{type:"kern",size:d.kern},{type:"elem",elem:d.elem,marginLeft:B(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]})}else if(c){var k=r.height-o;y=W({positionType:"top",positionData:k,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:B(-i)},{type:"kern",size:c.kern},{type:"elem",elem:r}]})}else if(d){var T=r.depth+o;y=W({positionType:"bottom",positionData:T,children:[{type:"elem",elem:r},{type:"kern",size:d.kern},{type:"elem",elem:d.elem,marginLeft:B(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]})}else return r;var x=[y];if(c&&i!==0&&!u){var D=M(["mspace"],[],a);D.style.marginRight=B(i),x.unshift(D)}return M(["mop","op-limits"],x,a)},Xa=new Set(["\\smallint"]),Ya=(r,e)=>{var t,a,n=!1,i;r.type==="supsub"?(t=r.sup,a=r.sub,i=U(r.base,"op"),n=!0):i=U(r,"op");var o=e.style,u=!1;o.size===P.DISPLAY.size&&i.symbol&&!Xa.has(i.name)&&(u=!0);var c,d;if(i.symbol){var v=u?"Size2-Regular":"Size1-Regular",b="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(b=i.name.slice(1),i.name=b==="oiint"?"\\iint":"\\iiint"),c=u0(i.name,v,"math",e,["mop","op-symbol",u?"large-op":"small-op"]),d=c.italic,b.length>0){var y=Ma(b+"Size"+(u?"2":"1"),e);c=W({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:y,shift:u?.08:0}]}),i.name="\\"+b,c.classes.unshift("mop"),c.italic=d}}else if(i.body){var w=s0(i.body,e,!0);w.length===1&&w[0]instanceof b0?(c=w[0],c.classes[0]="mop"):c=M(["mop"],w,e)}else{for(var k=[],T=1;T<i.name.length;T++)k.push(Yt(i.name[T],i.mode,e));c=M(["mop"],k,e)}var x=0,D=0;if((c instanceof b0||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift){var q;x=(c.height-c.depth)/2-e.fontMetrics().axisHeight,D=(q=c.italic)!=null?q:0}return n?Va(c,t,a,e,o,D,x):(x&&(c.style.position="relative",c.style.top=B(x)),c)},Hi=(r,e)=>{var t;if(r.symbol)t=new A("mo",[y0(r.name,r.mode)]),Xa.has(r.name)&&t.setAttribute("largeop","false");else if(r.body)t=new A("mo",v0(r.body,e));else{t=new A("mi",[new r0(r.name.slice(1))]);var a=new A("mo",[y0("","text")]);r.parentIsSupSub?t=new A("mrow",[t,a]):t=Ta([t,a])}return t},Pi={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};I({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],numArgs:0,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=a;return n.length===1&&(n=Pi[n]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Ya,mathmlBuilder:Hi});I({type:"op",names:["\\mathop"],numArgs:1,primitive:!0,handler:(r,e)=>{var t=r.parser,a=e[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:t0(a)}}});var ji={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};I({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(r){var e=r.parser,t=r.funcName;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}}});I({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],numArgs:0,handler(r){var e=r.parser,t=r.funcName;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}}});I({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],numArgs:0,allowedInArgument:!0,handler(r){var e=r.parser,t=r.funcName,a=t;return a.length===1&&(a=ji[a]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}}});var Za=(r,e)=>{var t,a,n=!1,i;r.type==="supsub"?(t=r.sup,a=r.sub,i=U(r.base,"operatorname"),n=!0):i=U(r,"operatorname");var o;if(i.body.length>0){for(var u=i.body.map(b=>{var y="text"in b?b.text:void 0;return typeof y=="string"?{type:"textord",mode:b.mode,text:y}:b}),c=s0(u,e.withFont("mathrm"),!0),d=0;d<c.length;d++){var v=c[d];v instanceof b0&&(v.text=v.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=M(["mop"],c,e)}else o=M(["mop"],[],e);return n?Va(o,t,a,e,e.style,0,0):o},Ui=(r,e)=>{for(var t=v0(r.body,e.withFont("mathrm")),a=!0,n=0;n<t.length;n++){var i=t[n];if(!(i instanceof Ca))if(i instanceof A)switch(i.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var o=i.children[0];i.children.length===1&&o instanceof r0?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):a=!1;break}default:a=!1}else a=!1}if(a){var u=t.map(v=>v.toText()).join("");t=[new r0(u)]}var c=new A("mi",t);c.setAttribute("mathvariant","normal");var d=new A("mo",[y0("","text")]);return r.parentIsSupSub?new A("mrow",[c,d]):Ta([c,d])};I({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],numArgs:1,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=e[0];return{type:"operatorname",mode:t.mode,body:t0(n),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Za,mathmlBuilder:Ui});m("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");ee({type:"ordgroup",htmlBuilder(r,e){return r.semisimple?O0(s0(r.body,e,!1)):M(["mord"],s0(r.body,e,!0),e)},mathmlBuilder(r,e){return Y0(r.body,e,!0)}});I({type:"overline",names:["\\overline"],numArgs:1,handler(r,e){var t=r.parser,a=e[0];return{type:"overline",mode:t.mode,body:a}},htmlBuilder(r,e){var t=V(r.body,e.havingCrampedStyle()),a=ue("overline-line",e),n=e.fontMetrics().defaultRuleThickness,i=W({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]});return M(["mord","katex-overline"],[i],e)},mathmlBuilder(r,e){var t=new A("mo",[new r0("‾")]);t.setAttribute("stretchy","true");var a=new A("mover",[Y(r.body,e),t]);return a.setAttribute("accent","true"),a}});I({type:"phantom",names:["\\phantom"],numArgs:1,allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=e[0];return{type:"phantom",mode:t.mode,body:t0(a)}},htmlBuilder:(r,e)=>{var t=s0(r.body,e.withPhantom(),!1);return O0(t)},mathmlBuilder:(r,e)=>{var t=v0(r.body,e);return new A("mphantom",t)}});m("\\hphantom","\\smash{\\phantom{#1}}");I({type:"vphantom",names:["\\vphantom"],numArgs:1,allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=e[0];return{type:"vphantom",mode:t.mode,body:a}},htmlBuilder:(r,e)=>{var t=M(["katex-inner"],[V(r.body,e.withPhantom())]),a=M(["katex-fix"],[]);return M(["mord","rlap"],[t,a],e)},mathmlBuilder:(r,e)=>{var t=v0(t0(r.body),e),a=new A("mphantom",t),n=new A("mpadded",[a]);return n.setAttribute("width","0px"),n}});I({type:"raisebox",names:["\\raisebox"],numArgs:2,argTypes:["size","hbox"],allowedInText:!0,handler(r,e){var t=r.parser,a=U(e[0],"size").value,n=e[1];return{type:"raisebox",mode:t.mode,dy:a,body:n}},htmlBuilder(r,e){var t=V(r.body,e),a=_(r.dy,e);return W({positionType:"shift",positionData:-a,children:[{type:"elem",elem:t}]})},mathmlBuilder(r,e){var t=new A("mpadded",[Y(r.body,e)]),a=r.dy.number+r.dy.unit;return t.setAttribute("voffset",a),t}});I({type:"internal",names:["\\relax"],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(r){var e=r.parser;return{type:"internal",mode:e.mode}}});I({type:"rule",names:["\\rule"],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"],handler(r,e,t){var a=r.parser,n=t[0],i=U(e[0],"size"),o=U(e[1],"size");return{type:"rule",mode:a.mode,shift:n&&U(n,"size").value,width:i.value,height:o.value}},htmlBuilder(r,e){var t=M(["mord","katex-rule"],[],e),a=_(r.width,e),n=_(r.height,e),i=r.shift?_(r.shift,e):0;return t.style.borderRightWidth=B(a),t.style.borderTopWidth=B(n),t.style.bottom=B(i),t.width=a,t.height=n+i,t.depth=-i,t.maxFontSize=n*1.125*e.sizeMultiplier,t},mathmlBuilder(r,e){var t=_(r.width,e),a=_(r.height,e),n=r.shift?_(r.shift,e):0,i=e.color&&e.getColor()||"black",o=new A("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",B(t)),o.setAttribute("height",B(a));var u=new A("mpadded",[o]);return n>=0?u.setAttribute("height",B(n)):(u.setAttribute("height",B(n)),u.setAttribute("depth",B(-n))),u.setAttribute("voffset",B(n)),u}});function Ka(r,e,t){for(var a=s0(r,e,!1),n=e.sizeMultiplier/t.sizeMultiplier,i=0;i<a.length;i++){var o=a[i].classes.indexOf("katex-sizing");o<0?Array.prototype.push.apply(a[i].classes,e.sizingClasses(t)):a[i].classes[o+1]==="reset-size"+e.size&&(a[i].classes[o+1]="reset-size"+t.size),a[i].height*=n,a[i].depth*=n}return O0(a)}var $r=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],$i=(r,e)=>{var t=e.havingSize(r.size);return Ka(r.body,t,e)};I({type:"sizing",names:$r,numArgs:0,allowedInText:!0,handler:(r,e)=>{var t=r.breakOnTokenText,a=r.funcName,n=r.parser,i=n.parseExpression(!1,t);return{type:"sizing",mode:n.mode,size:$r.indexOf(a)+1,body:i}},htmlBuilder:$i,mathmlBuilder:(r,e)=>{var t=e.havingSize(r.size),a=v0(r.body,t),n=new A("mstyle",a);return n.setAttribute("mathsize",B(t.sizeMultiplier)),n}});I({type:"smash",names:["\\smash"],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(r,e,t)=>{var a=r.parser,n=!1,i=!1,o=t[0]&&U(t[0],"ordgroup");if(o)for(var u,c=0;c<o.body.length;++c){var d=o.body[c];if(u=Ze(d).text,u==="t")n=!0;else if(u==="b")i=!0;else{n=!1,i=!1;break}}else n=!0,i=!0;var v=e[0];return{type:"smash",mode:a.mode,body:v,smashHeight:n,smashDepth:i}},htmlBuilder:(r,e)=>{var t=M([],[V(r.body,e)]);if(!r.smashHeight&&!r.smashDepth)return t;if(r.smashHeight&&(t.height=0),r.smashDepth&&(t.depth=0),r.smashHeight&&r.smashDepth)return M(["mord","katex-smash"],[t],e);if(t.children)for(var a=0;a<t.children.length;a++)r.smashHeight&&(t.children[a].height=0),r.smashDepth&&(t.children[a].depth=0);var n=W({positionType:"firstBaseline",children:[{type:"elem",elem:t}]});return M(["mord"],[n],e)},mathmlBuilder:(r,e)=>{var t=new A("mpadded",[Y(r.body,e)]);return r.smashHeight&&t.setAttribute("height","0px"),r.smashDepth&&t.setAttribute("depth","0px"),t}});I({type:"sqrt",names:["\\sqrt"],numArgs:1,numOptionalArgs:1,handler(r,e,t){var a=r.parser,n=t[0],i=e[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(r,e){var t=V(r.body,e.havingCrampedStyle());t.height===0&&(t.height=e.fontMetrics().xHeight),t=he(t,e);var a=e.fontMetrics(),n=a.defaultRuleThickness,i=n;e.style.id<P.TEXT.id&&(i=e.fontMetrics().xHeight);var o=n+i/4,u=t.height+t.depth+o+n,c=Mi(u,e),d=c.span,v=c.ruleWidth,b=c.advanceWidth,y=d.height-v;y>t.height+t.depth+o&&(o=(o+y-t.height-t.depth)/2);var w=d.height-t.height-o-v;t.style.paddingLeft=B(b);var k=W({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+w)},{type:"elem",elem:d},{type:"kern",size:v}]});if(r.index){var T=e.havingStyle(P.SCRIPTSCRIPT),x=V(r.index,T,e),D=.6*(k.height-k.depth),q=W({positionType:"shift",positionData:-D,children:[{type:"elem",elem:x}]}),E=M(["katex-root"],[q]);return M(["mord","sqrt"],[E,k],e)}else return M(["mord","sqrt"],[k],e)},mathmlBuilder(r,e){var t=r.body,a=r.index;return a?new A("mroot",[Y(t,e),Y(a,e)]):new A("msqrt",[Y(t,e)])}});var Ht={display:P.DISPLAY,text:P.TEXT,script:P.SCRIPT,scriptscript:P.SCRIPTSCRIPT};function Gi(r){return r in Ht}I({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],numArgs:0,allowedInText:!0,primitive:!0,handler(r,e){var t=r.breakOnTokenText,a=r.funcName,n=r.parser,i=n.parseExpression(!0,t),o=a.slice(1,a.length-5);if(!Gi(o))throw new Error("Unknown style: "+o);return{type:"styling",mode:n.mode,style:o,body:i}},htmlBuilder(r,e){var t=Ht[r.style],a=e.havingStyle(t);return r.resetFont&&(a=a.withFont("")),Ka(r.body,a,e)},mathmlBuilder(r,e){var t=Ht[r.style],a=e.havingStyle(t);r.resetFont&&(a=a.withFont(""));var n=v0(r.body,a),i=new A("mstyle",n),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=o[r.style];return i.setAttribute("scriptlevel",u[0]),i.setAttribute("displaystyle",u[1]),i}});var Wi=function(e,t){var a=e.base;if(a)if(a.type==="op"){var n=a.limits&&(t.style.size===P.DISPLAY.size||a.alwaysHandleSupSub);return n?Ya:null}else if(a.type==="operatorname"){var i=a.alwaysHandleSupSub&&(t.style.size===P.DISPLAY.size||a.limits);return i?Za:null}else{if(a.type==="accent")return R0(a.base)?Da:null;if(a.type==="horizBrace"){var o=!e.sub;return o===a.isOver?Wa:null}else return null}else return null};ee({type:"supsub",htmlBuilder(r,e){var t=Wi(r,e);if(t)return t(r,e);var a=r.base,n=r.sup,i=r.sub,o=V(a,e),u,c,d=e.fontMetrics(),v=0,b=0,y=a&&R0(a);if(n){var w=e.havingStyle(e.style.sup());u=V(n,w,e),y||(v=o.height-w.fontMetrics().supDrop*w.sizeMultiplier/e.sizeMultiplier)}if(i){var k=e.havingStyle(e.style.sub());c=V(i,k,e),y||(b=o.depth+k.fontMetrics().subDrop*k.sizeMultiplier/e.sizeMultiplier)}var T;e.style===P.DISPLAY?T=d.sup1:e.style.cramped?T=d.sup3:T=d.sup2;var x=e.sizeMultiplier,D=B(.5/d.ptPerEm/x),q=null;if(c){var E=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");if(o instanceof b0||E){var H;q=B(-((H=o.italic)!=null?H:0))}}var j;if(u&&c){v=Math.max(v,T,u.depth+.25*d.xHeight),b=Math.max(b,d.sub2);var R=d.defaultRuleThickness,F=4*R;if(v-u.depth-(c.height-b)<F){b=F-(v-u.depth)+c.height;var $=.8*d.xHeight-(v-u.depth);$>0&&(v+=$,b-=$)}var X=[{type:"elem",elem:c,shift:b,marginRight:D,marginLeft:q},{type:"elem",elem:u,shift:-v,marginRight:D}];j=W({positionType:"individualShift",children:X})}else if(c){b=Math.max(b,d.sub1,c.height-.8*d.xHeight);var J=[{type:"elem",elem:c,marginLeft:q,marginRight:D}];j=W({positionType:"shift",positionData:b,children:J})}else if(u)v=Math.max(v,T,u.depth+.25*d.xHeight),j=W({positionType:"shift",positionData:-v,children:[{type:"elem",elem:u,marginRight:D}]});else throw new Error("supsub must have either sup or sub.");var d0=Rt(o,"right")||"mord";return M([d0],[o,M(["msupsub"],[j])],e)},mathmlBuilder(r,e){var t=!1,a,n;r.base&&r.base.type==="horizBrace"&&(n=!!r.sup,n===r.base.isOver&&(t=!0,a=r.base.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var i=[Y(r.base,e)];r.sub&&i.push(Y(r.sub,e)),r.sup&&i.push(Y(r.sup,e));var o;if(t)o=a?"mover":"munder";else if(r.sub)if(r.sup){var d=r.base;d&&d.type==="op"&&d.limits&&e.style===P.DISPLAY||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(e.style===P.DISPLAY||d.limits)?o="munderover":o="msubsup"}else{var c=r.base;c&&c.type==="op"&&c.limits&&(e.style===P.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||e.style===P.DISPLAY)?o="munder":o="msub"}else{var u=r.base;u&&u.type==="op"&&u.limits&&(e.style===P.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||e.style===P.DISPLAY)?o="mover":o="msup"}return new A(o,i)}});ee({type:"atom",htmlBuilder(r,e){return Yt(r.text,r.mode,e,["m"+r.family])},mathmlBuilder(r,e){var t=new A("mo",[y0(r.text,r.mode)]);if(r.family==="bin"){var a=Jt(r,e);a==="bold-italic"&&t.setAttribute("mathvariant",a)}else r.family==="punct"?t.setAttribute("separator","true"):(r.family==="open"||r.family==="close")&&t.setAttribute("stretchy","false");return t}});var Ja={mi:"italic",mn:"normal",mtext:"normal"};ee({type:"mathord",htmlBuilder(r,e){return Ve(r,e)},mathmlBuilder(r,e){var t=new A("mi",[y0(r.text,r.mode,e)]),a=Jt(r,e)||"italic";return a!==Ja[t.type]&&t.setAttribute("mathvariant",a),t}});ee({type:"textord",htmlBuilder(r,e){return Ve(r,e)},mathmlBuilder(r,e){var t=y0(r.text,r.mode,e),a=Jt(r,e)||"normal",n;return r.mode==="text"?n=new A("mtext",[t]):/[0-9]/.test(r.text)?n=new A("mn",[t]):r.text==="\\prime"?n=new A("mo",[t]):n=new A("mi",[t]),a!==Ja[n.type]&&n.setAttribute("mathvariant",a),n}});var Gr=new Map([["\\nobreak","nobreak"],["\\allowbreak","allowbreak"]]),Wr=new Map([[" ",{}],["\\ ",{}],["~",{className:"nobreak"}],["\\space",{}],["\\nobreakspace",{className:"nobreak"}]]);ee({type:"spacing",htmlBuilder(r,e){var t=Wr.get(r.text),a=Gr.get(r.text);if(t){var n=t.className||"";if(r.mode==="text"){var i=Ve(r,e);return i.classes.push(n),i}else return M(["mspace",n],[Yt(r.text,r.mode,e)],e)}else{if(a)return M(["mspace",a],[],e);throw new z('Unknown type of space "'+r.text+'"')}},mathmlBuilder(r,e){var t;if(Wr.has(r.text))t=new A("mtext",[new r0(" ")]);else{if(Gr.has(r.text))return new A("mspace");throw new z('Unknown type of space "'+r.text+'"')}return t}});var Vr=()=>{var r=new A("mtd",[]);return r.setAttribute("width","50%"),r};ee({type:"tag",mathmlBuilder(r,e){var t=new A("mtable",[new A("mtr",[Vr(),new A("mtd",[Y0(r.body,e)]),Vr(),new A("mtd",[Y0(r.tag,e)])])]);return t.setAttribute("width","100%"),t}});var Xr={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Yr={"\\textbf":"textbf","\\textmd":"textmd"},Vi={"\\textit":"textit","\\textup":"textup"},Zr=(r,e)=>{var t=r.font;if(t){if(Xr[t])return e.withTextFontFamily(Xr[t]);if(Yr[t])return e.withTextFontWeight(Yr[t]);if(t==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(Vi[t])};I({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0,handler(r,e){var t=r.parser,a=r.funcName,n=e[0];return{type:"text",mode:t.mode,body:t0(n),font:a}},htmlBuilder(r,e){var t=Zr(r,e),a=s0(r.body,t,!0);return M(["mord","text"],a,t)},mathmlBuilder(r,e){var t=Zr(r,e);return Y0(r.body,t)}});I({type:"underline",names:["\\underline"],numArgs:1,allowedInText:!0,handler(r,e){var t=r.parser;return{type:"underline",mode:t.mode,body:e[0]}},htmlBuilder(r,e){var t=V(r.body,e),a=ue("underline-line",e),n=e.fontMetrics().defaultRuleThickness,i=W({positionType:"top",positionData:t.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:t}]});return M(["mord","katex-underline"],[i],e)},mathmlBuilder(r,e){var t=new A("mo",[new r0("‾")]);t.setAttribute("stretchy","true");var a=new A("munder",[Y(r.body,e),t]);return a.setAttribute("accentunder","true"),a}});I({type:"vcenter",names:["\\vcenter"],numArgs:1,argTypes:["original"],allowedInText:!1,handler(r,e){var t=r.parser;return{type:"vcenter",mode:t.mode,body:e[0]}},htmlBuilder(r,e){var t=V(r.body,e),a=e.fontMetrics().axisHeight,n=.5*(t.height-a-(t.depth+a));return W({positionType:"shift",positionData:n,children:[{type:"elem",elem:t}]})},mathmlBuilder(r,e){var t=new A("mpadded",[Y(r.body,e)],["vcenter"]);return new A("mrow",[t])}});I({type:"verb",names:["\\verb"],numArgs:0,allowedInText:!0,handler(r,e,t){throw new z("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(r,e){for(var t=Kr(r),a=[],n=e.havingStyle(e.style.text()),i=0;i<t.length;i++){var o=t[i];o==="~"&&(o="\\textasciitilde"),a.push(u0(o,"Typewriter-Regular",r.mode,n,["mord","texttt"]))}return M(["mord","text"].concat(n.sizingClasses(e)),xa(a),n)},mathmlBuilder(r,e){var t=new r0(Kr(r)),a=new A("mtext",[t]);return a.setAttribute("mathvariant","monospace"),a}});var Kr=r=>r.body.replace(/ /g,r.star?"␣":" "),G0=za,Qa=`[ \r
|
|
263
|
-
]`,
|
|
261
|
+
-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 q1(r){return"toText"in r}class me{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(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map(e=>{if(q1(e))return e.toText();throw new Error("Expected MathDomNode with toText, got "+e.constructor.name)}).join("")}}var Tt={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},R1={ex:!0,em:!0,mu:!0},ga=function(e){return typeof e!="string"&&(e=e.unit),e in Tt||e in R1||e==="ex"},_=function(e,t){var a;if(e.unit in Tt)a=Tt[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")a=t.fontMetrics().cssEmPerMu;else{var n;if(t.style.isTight()?n=t.havingStyle(t.style.text()):n=t,e.unit==="ex")a=n.fontMetrics().xHeight;else if(e.unit==="em")a=n.fontMetrics().quad;else throw new A("Invalid unit: '"+e.unit+"'");n!==t&&(a*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*a,t.maxSize)},I=function(e){return+e.toFixed(4)+"em"},V0=function(e){return e.filter(t=>t).join(" ")},Vt=function(e){var t="";for(var a of Object.keys(e)){var n=e[a];n!==void 0&&(t+=o1(a)+":"+n+";")}return t},ba=function(e,t,a){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=a||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},ya=function(e){var t=document.createElement(e);t.className=V0(this.classes),Object.assign(t.style,this.style);for(var a of Object.keys(this.attributes))t.setAttribute(a,this.attributes[a]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},L1=/[\s"'>/=\x00-\x1f]/,wa=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+l0(V0(this.classes))+'"');var a=Vt(this.style);a&&(t+=' style="'+l0(a)+'"');for(var n of Object.keys(this.attributes)){if(L1.test(n))throw new A("Invalid attribute name '"+n+"'");t+=" "+n+'="'+l0(this.attributes[n])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">",t};class Me{constructor(e,t,a,n){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,ba.call(this,e,a,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return ya.call(this,"span")}toMarkup(){return wa.call(this,"span")}}class Xt{constructor(e,t,a,n){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,ba.call(this,t,n),this.children=a||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return ya.call(this,"a")}toMarkup(){return wa.call(this,"a")}}class O1{constructor(e,t,a){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=t,this.src=e,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=a}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="'+l0(this.src)+'"'+(' alt="'+l0(this.alt)+'"'),t=Vt(this.style);return t&&(e+=' style="'+l0(t)+'"'),e+="'/>",e}}var F1={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class b0{constructor(e,t,a,n,i,o,u,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=t||0,this.depth=a||0,this.italic=n||0,this.skew=i||0,this.width=o||0,this.classes=u||[],this.style=c||{},this.maxFontSize=0;var d=S1(this.text.charCodeAt(0));d&&this.classes.push(d+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=F1[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;return this.italic>0&&(t=document.createElement("span"),t.style.marginRight=I(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=V0(this.classes)),Object.keys(this.style).length>0&&(t=t||document.createElement("span"),Object.assign(t.style,this.style)),t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=l0(V0(this.classes)),t+='"');var a="";this.italic>0&&(a+="margin-right:"+I(this.italic)+";"),a+=Vt(this.style),a&&(e=!0,t+=' style="'+l0(a)+'"');var n=l0(this.text);return e?(t+=">",t+=n,t+="</span>",t):n}}class X0{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var a of Object.keys(this.attributes))t.setAttribute(a,this.attributes[a]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t of Object.keys(this.attributes))e+=" "+t+'="'+l0(this.attributes[t])+'"';e+=">";for(var a=0;a<this.children.length;a++)e+=this.children[a].toMarkup();return e+="</svg>",e}}class ee{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",vr[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+l0(this.alternate)+'"/>':'<path d="'+l0(vr[this.pathName])+'"/>'}}class gr{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var a of Object.keys(this.attributes))t.setAttribute(a,this.attributes[a]);return t}toMarkup(){var e="<line";for(var t of Object.keys(this.attributes))e+=" "+t+'="'+l0(this.attributes[t])+'"';return e+="/>",e}}function P1(r){if(r instanceof b0)return r;throw new Error("Expected symbolNode but got "+String(r)+".")}function H1(r){if(r instanceof Me)return r;throw new Error("Expected span<HtmlDomNode> but got "+String(r)+".")}var j1=r=>r instanceof Me||r instanceof Xt||r instanceof me,q0={"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]}},st={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]},br={Å:"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 Yt(r,e,t){if(!q0[e])throw new Error("Font metrics not found for font: "+e+".");var a=r.charCodeAt(0),n=q0[e][a];if(!n&&r[0]in br&&(a=br[r[0]].charCodeAt(0),n=q0[e][a]),!n&&t==="text"&&va(a)&&(n=q0[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var lt={};function U1(r){var e;if(r>=5?e=0:r>=3?e=1:e=2,!lt[e]){var t=lt[e]={cssEmPerMu:st.quad[e]/18};for(var a of Object.keys(st))t[a]=st[a][e]}return lt[e]}var Z={math:{},text:{}};function s(r,e,t,a,n,i){Z[r][n]={font:e,group:t,replace:a},i&&a&&(Z[r][a]=Z[r][n])}var l="math",k="text",h="main",f="ams",K="accent-token",N="bin",c0="close",de="inner",O="mathord",a0="op-token",p0="open",ze="punct",p="rel",O0="spacing",g="textord";s(l,h,p,"≡","\\equiv",!0);s(l,h,p,"≺","\\prec",!0);s(l,h,p,"≻","\\succ",!0);s(l,h,p,"∼","\\sim",!0);s(l,h,p,"⊥","\\perp");s(l,h,p,"⪯","\\preceq",!0);s(l,h,p,"⪰","\\succeq",!0);s(l,h,p,"≃","\\simeq",!0);s(l,h,p,"∣","\\mid",!0);s(l,h,p,"≪","\\ll",!0);s(l,h,p,"≫","\\gg",!0);s(l,h,p,"≍","\\asymp",!0);s(l,h,p,"∥","\\parallel");s(l,h,p,"⋈","\\bowtie",!0);s(l,h,p,"⌣","\\smile",!0);s(l,h,p,"⊑","\\sqsubseteq",!0);s(l,h,p,"⊒","\\sqsupseteq",!0);s(l,h,p,"≐","\\doteq",!0);s(l,h,p,"⌢","\\frown",!0);s(l,h,p,"∋","\\ni",!0);s(l,h,p,"∝","\\propto",!0);s(l,h,p,"⊢","\\vdash",!0);s(l,h,p,"⊣","\\dashv",!0);s(l,h,p,"∋","\\owns");s(l,h,ze,".","\\ldotp");s(l,h,ze,"⋅","\\cdotp");s(l,h,ze,"⋅","·");s(k,h,g,"⋅","·");s(l,h,g,"#","\\#");s(k,h,g,"#","\\#");s(l,h,g,"&","\\&");s(k,h,g,"&","\\&");s(l,h,g,"ℵ","\\aleph",!0);s(l,h,g,"∀","\\forall",!0);s(l,h,g,"ℏ","\\hbar",!0);s(l,h,g,"∃","\\exists",!0);s(l,h,g,"∇","\\nabla",!0);s(l,h,g,"♭","\\flat",!0);s(l,h,g,"ℓ","\\ell",!0);s(l,h,g,"♮","\\natural",!0);s(l,h,g,"♣","\\clubsuit",!0);s(l,h,g,"℘","\\wp",!0);s(l,h,g,"♯","\\sharp",!0);s(l,h,g,"♢","\\diamondsuit",!0);s(l,h,g,"ℜ","\\Re",!0);s(l,h,g,"♡","\\heartsuit",!0);s(l,h,g,"ℑ","\\Im",!0);s(l,h,g,"♠","\\spadesuit",!0);s(l,h,g,"§","\\S",!0);s(k,h,g,"§","\\S");s(l,h,g,"¶","\\P",!0);s(k,h,g,"¶","\\P");s(l,h,g,"†","\\dag");s(k,h,g,"†","\\dag");s(k,h,g,"†","\\textdagger");s(l,h,g,"‡","\\ddag");s(k,h,g,"‡","\\ddag");s(k,h,g,"‡","\\textdaggerdbl");s(l,h,c0,"⎱","\\rmoustache",!0);s(l,h,p0,"⎰","\\lmoustache",!0);s(l,h,c0,"⟯","\\rgroup",!0);s(l,h,p0,"⟮","\\lgroup",!0);s(l,h,N,"∓","\\mp",!0);s(l,h,N,"⊖","\\ominus",!0);s(l,h,N,"⊎","\\uplus",!0);s(l,h,N,"⊓","\\sqcap",!0);s(l,h,N,"∗","\\ast");s(l,h,N,"⊔","\\sqcup",!0);s(l,h,N,"◯","\\bigcirc",!0);s(l,h,N,"∙","\\bullet",!0);s(l,h,N,"‡","\\ddagger");s(l,h,N,"≀","\\wr",!0);s(l,h,N,"⨿","\\amalg");s(l,h,N,"&","\\And");s(l,h,p,"⟵","\\longleftarrow",!0);s(l,h,p,"⇐","\\Leftarrow",!0);s(l,h,p,"⟸","\\Longleftarrow",!0);s(l,h,p,"⟶","\\longrightarrow",!0);s(l,h,p,"⇒","\\Rightarrow",!0);s(l,h,p,"⟹","\\Longrightarrow",!0);s(l,h,p,"↔","\\leftrightarrow",!0);s(l,h,p,"⟷","\\longleftrightarrow",!0);s(l,h,p,"⇔","\\Leftrightarrow",!0);s(l,h,p,"⟺","\\Longleftrightarrow",!0);s(l,h,p,"↦","\\mapsto",!0);s(l,h,p,"⟼","\\longmapsto",!0);s(l,h,p,"↗","\\nearrow",!0);s(l,h,p,"↩","\\hookleftarrow",!0);s(l,h,p,"↪","\\hookrightarrow",!0);s(l,h,p,"↘","\\searrow",!0);s(l,h,p,"↼","\\leftharpoonup",!0);s(l,h,p,"⇀","\\rightharpoonup",!0);s(l,h,p,"↙","\\swarrow",!0);s(l,h,p,"↽","\\leftharpoondown",!0);s(l,h,p,"⇁","\\rightharpoondown",!0);s(l,h,p,"↖","\\nwarrow",!0);s(l,h,p,"⇌","\\rightleftharpoons",!0);s(l,f,p,"≮","\\nless",!0);s(l,f,p,"","\\@nleqslant");s(l,f,p,"","\\@nleqq");s(l,f,p,"⪇","\\lneq",!0);s(l,f,p,"≨","\\lneqq",!0);s(l,f,p,"","\\@lvertneqq");s(l,f,p,"⋦","\\lnsim",!0);s(l,f,p,"⪉","\\lnapprox",!0);s(l,f,p,"⊀","\\nprec",!0);s(l,f,p,"⋠","\\npreceq",!0);s(l,f,p,"⋨","\\precnsim",!0);s(l,f,p,"⪹","\\precnapprox",!0);s(l,f,p,"≁","\\nsim",!0);s(l,f,p,"","\\@nshortmid");s(l,f,p,"∤","\\nmid",!0);s(l,f,p,"⊬","\\nvdash",!0);s(l,f,p,"⊭","\\nvDash",!0);s(l,f,p,"⋪","\\ntriangleleft");s(l,f,p,"⋬","\\ntrianglelefteq",!0);s(l,f,p,"⊊","\\subsetneq",!0);s(l,f,p,"","\\@varsubsetneq");s(l,f,p,"⫋","\\subsetneqq",!0);s(l,f,p,"","\\@varsubsetneqq");s(l,f,p,"≯","\\ngtr",!0);s(l,f,p,"","\\@ngeqslant");s(l,f,p,"","\\@ngeqq");s(l,f,p,"⪈","\\gneq",!0);s(l,f,p,"≩","\\gneqq",!0);s(l,f,p,"","\\@gvertneqq");s(l,f,p,"⋧","\\gnsim",!0);s(l,f,p,"⪊","\\gnapprox",!0);s(l,f,p,"⊁","\\nsucc",!0);s(l,f,p,"⋡","\\nsucceq",!0);s(l,f,p,"⋩","\\succnsim",!0);s(l,f,p,"⪺","\\succnapprox",!0);s(l,f,p,"≆","\\ncong",!0);s(l,f,p,"","\\@nshortparallel");s(l,f,p,"∦","\\nparallel",!0);s(l,f,p,"⊯","\\nVDash",!0);s(l,f,p,"⋫","\\ntriangleright");s(l,f,p,"⋭","\\ntrianglerighteq",!0);s(l,f,p,"","\\@nsupseteqq");s(l,f,p,"⊋","\\supsetneq",!0);s(l,f,p,"","\\@varsupsetneq");s(l,f,p,"⫌","\\supsetneqq",!0);s(l,f,p,"","\\@varsupsetneqq");s(l,f,p,"⊮","\\nVdash",!0);s(l,f,p,"⪵","\\precneqq",!0);s(l,f,p,"⪶","\\succneqq",!0);s(l,f,p,"","\\@nsubseteqq");s(l,f,N,"⊴","\\unlhd");s(l,f,N,"⊵","\\unrhd");s(l,f,p,"↚","\\nleftarrow",!0);s(l,f,p,"↛","\\nrightarrow",!0);s(l,f,p,"⇍","\\nLeftarrow",!0);s(l,f,p,"⇏","\\nRightarrow",!0);s(l,f,p,"↮","\\nleftrightarrow",!0);s(l,f,p,"⇎","\\nLeftrightarrow",!0);s(l,f,p,"△","\\vartriangle");s(l,f,g,"ℏ","\\hslash");s(l,f,g,"▽","\\triangledown");s(l,f,g,"◊","\\lozenge");s(l,f,g,"Ⓢ","\\circledS");s(l,f,g,"®","\\circledR");s(k,f,g,"®","\\circledR");s(l,f,g,"∡","\\measuredangle",!0);s(l,f,g,"∄","\\nexists");s(l,f,g,"℧","\\mho");s(l,f,g,"Ⅎ","\\Finv",!0);s(l,f,g,"⅁","\\Game",!0);s(l,f,g,"‵","\\backprime");s(l,f,g,"▲","\\blacktriangle");s(l,f,g,"▼","\\blacktriangledown");s(l,f,g,"■","\\blacksquare");s(l,f,g,"⧫","\\blacklozenge");s(l,f,g,"★","\\bigstar");s(l,f,g,"∢","\\sphericalangle",!0);s(l,f,g,"∁","\\complement",!0);s(l,f,g,"ð","\\eth",!0);s(k,h,g,"ð","ð");s(l,f,g,"╱","\\diagup");s(l,f,g,"╲","\\diagdown");s(l,f,g,"□","\\square");s(l,f,g,"□","\\Box");s(l,f,g,"◊","\\Diamond");s(l,f,g,"¥","\\yen",!0);s(k,f,g,"¥","\\yen",!0);s(l,f,g,"✓","\\checkmark",!0);s(k,f,g,"✓","\\checkmark");s(l,f,g,"ℶ","\\beth",!0);s(l,f,g,"ℸ","\\daleth",!0);s(l,f,g,"ℷ","\\gimel",!0);s(l,f,g,"ϝ","\\digamma",!0);s(l,f,g,"ϰ","\\varkappa");s(l,f,p0,"┌","\\@ulcorner",!0);s(l,f,c0,"┐","\\@urcorner",!0);s(l,f,p0,"└","\\@llcorner",!0);s(l,f,c0,"┘","\\@lrcorner",!0);s(l,f,p,"≦","\\leqq",!0);s(l,f,p,"⩽","\\leqslant",!0);s(l,f,p,"⪕","\\eqslantless",!0);s(l,f,p,"≲","\\lesssim",!0);s(l,f,p,"⪅","\\lessapprox",!0);s(l,f,p,"≊","\\approxeq",!0);s(l,f,N,"⋖","\\lessdot");s(l,f,p,"⋘","\\lll",!0);s(l,f,p,"≶","\\lessgtr",!0);s(l,f,p,"⋚","\\lesseqgtr",!0);s(l,f,p,"⪋","\\lesseqqgtr",!0);s(l,f,p,"≑","\\doteqdot");s(l,f,p,"≓","\\risingdotseq",!0);s(l,f,p,"≒","\\fallingdotseq",!0);s(l,f,p,"∽","\\backsim",!0);s(l,f,p,"⋍","\\backsimeq",!0);s(l,f,p,"⫅","\\subseteqq",!0);s(l,f,p,"⋐","\\Subset",!0);s(l,f,p,"⊏","\\sqsubset",!0);s(l,f,p,"≼","\\preccurlyeq",!0);s(l,f,p,"⋞","\\curlyeqprec",!0);s(l,f,p,"≾","\\precsim",!0);s(l,f,p,"⪷","\\precapprox",!0);s(l,f,p,"⊲","\\vartriangleleft");s(l,f,p,"⊴","\\trianglelefteq");s(l,f,p,"⊨","\\vDash",!0);s(l,f,p,"⊪","\\Vvdash",!0);s(l,f,p,"⌣","\\smallsmile");s(l,f,p,"⌢","\\smallfrown");s(l,f,p,"≏","\\bumpeq",!0);s(l,f,p,"≎","\\Bumpeq",!0);s(l,f,p,"≧","\\geqq",!0);s(l,f,p,"⩾","\\geqslant",!0);s(l,f,p,"⪖","\\eqslantgtr",!0);s(l,f,p,"≳","\\gtrsim",!0);s(l,f,p,"⪆","\\gtrapprox",!0);s(l,f,N,"⋗","\\gtrdot");s(l,f,p,"⋙","\\ggg",!0);s(l,f,p,"≷","\\gtrless",!0);s(l,f,p,"⋛","\\gtreqless",!0);s(l,f,p,"⪌","\\gtreqqless",!0);s(l,f,p,"≖","\\eqcirc",!0);s(l,f,p,"≗","\\circeq",!0);s(l,f,p,"≜","\\triangleq",!0);s(l,f,p,"∼","\\thicksim");s(l,f,p,"≈","\\thickapprox");s(l,f,p,"⫆","\\supseteqq",!0);s(l,f,p,"⋑","\\Supset",!0);s(l,f,p,"⊐","\\sqsupset",!0);s(l,f,p,"≽","\\succcurlyeq",!0);s(l,f,p,"⋟","\\curlyeqsucc",!0);s(l,f,p,"≿","\\succsim",!0);s(l,f,p,"⪸","\\succapprox",!0);s(l,f,p,"⊳","\\vartriangleright");s(l,f,p,"⊵","\\trianglerighteq");s(l,f,p,"⊩","\\Vdash",!0);s(l,f,p,"∣","\\shortmid");s(l,f,p,"∥","\\shortparallel");s(l,f,p,"≬","\\between",!0);s(l,f,p,"⋔","\\pitchfork",!0);s(l,f,p,"∝","\\varpropto");s(l,f,p,"◀","\\blacktriangleleft");s(l,f,p,"∴","\\therefore",!0);s(l,f,p,"∍","\\backepsilon");s(l,f,p,"▶","\\blacktriangleright");s(l,f,p,"∵","\\because",!0);s(l,f,p,"⋘","\\llless");s(l,f,p,"⋙","\\gggtr");s(l,f,N,"⊲","\\lhd");s(l,f,N,"⊳","\\rhd");s(l,f,p,"≂","\\eqsim",!0);s(l,h,p,"⋈","\\Join");s(l,f,p,"≑","\\Doteq",!0);s(l,f,N,"∔","\\dotplus",!0);s(l,f,N,"∖","\\smallsetminus");s(l,f,N,"⋒","\\Cap",!0);s(l,f,N,"⋓","\\Cup",!0);s(l,f,N,"⩞","\\doublebarwedge",!0);s(l,f,N,"⊟","\\boxminus",!0);s(l,f,N,"⊞","\\boxplus",!0);s(l,f,N,"⋇","\\divideontimes",!0);s(l,f,N,"⋉","\\ltimes",!0);s(l,f,N,"⋊","\\rtimes",!0);s(l,f,N,"⋋","\\leftthreetimes",!0);s(l,f,N,"⋌","\\rightthreetimes",!0);s(l,f,N,"⋏","\\curlywedge",!0);s(l,f,N,"⋎","\\curlyvee",!0);s(l,f,N,"⊝","\\circleddash",!0);s(l,f,N,"⊛","\\circledast",!0);s(l,f,N,"⋅","\\centerdot");s(l,f,N,"⊺","\\intercal",!0);s(l,f,N,"⋒","\\doublecap");s(l,f,N,"⋓","\\doublecup");s(l,f,N,"⊠","\\boxtimes",!0);s(l,f,p,"⇢","\\dashrightarrow",!0);s(l,f,p,"⇠","\\dashleftarrow",!0);s(l,f,p,"⇇","\\leftleftarrows",!0);s(l,f,p,"⇆","\\leftrightarrows",!0);s(l,f,p,"⇚","\\Lleftarrow",!0);s(l,f,p,"↞","\\twoheadleftarrow",!0);s(l,f,p,"↢","\\leftarrowtail",!0);s(l,f,p,"↫","\\looparrowleft",!0);s(l,f,p,"⇋","\\leftrightharpoons",!0);s(l,f,p,"↶","\\curvearrowleft",!0);s(l,f,p,"↺","\\circlearrowleft",!0);s(l,f,p,"↰","\\Lsh",!0);s(l,f,p,"⇈","\\upuparrows",!0);s(l,f,p,"↿","\\upharpoonleft",!0);s(l,f,p,"⇃","\\downharpoonleft",!0);s(l,h,p,"⊶","\\origof",!0);s(l,h,p,"⊷","\\imageof",!0);s(l,f,p,"⊸","\\multimap",!0);s(l,f,p,"↭","\\leftrightsquigarrow",!0);s(l,f,p,"⇉","\\rightrightarrows",!0);s(l,f,p,"⇄","\\rightleftarrows",!0);s(l,f,p,"↠","\\twoheadrightarrow",!0);s(l,f,p,"↣","\\rightarrowtail",!0);s(l,f,p,"↬","\\looparrowright",!0);s(l,f,p,"↷","\\curvearrowright",!0);s(l,f,p,"↻","\\circlearrowright",!0);s(l,f,p,"↱","\\Rsh",!0);s(l,f,p,"⇊","\\downdownarrows",!0);s(l,f,p,"↾","\\upharpoonright",!0);s(l,f,p,"⇂","\\downharpoonright",!0);s(l,f,p,"⇝","\\rightsquigarrow",!0);s(l,f,p,"⇝","\\leadsto");s(l,f,p,"⇛","\\Rrightarrow",!0);s(l,f,p,"↾","\\restriction");s(l,h,g,"‘","`");s(l,h,g,"$","\\$");s(k,h,g,"$","\\$");s(k,h,g,"$","\\textdollar");s(l,h,g,"%","\\%");s(k,h,g,"%","\\%");s(l,h,g,"_","\\_");s(k,h,g,"_","\\_");s(k,h,g,"_","\\textunderscore");s(l,h,g,"∠","\\angle",!0);s(l,h,g,"∞","\\infty",!0);s(l,h,g,"′","\\prime");s(l,h,g,"△","\\triangle");s(l,h,g,"Γ","\\Gamma",!0);s(l,h,g,"Δ","\\Delta",!0);s(l,h,g,"Θ","\\Theta",!0);s(l,h,g,"Λ","\\Lambda",!0);s(l,h,g,"Ξ","\\Xi",!0);s(l,h,g,"Π","\\Pi",!0);s(l,h,g,"Σ","\\Sigma",!0);s(l,h,g,"Υ","\\Upsilon",!0);s(l,h,g,"Φ","\\Phi",!0);s(l,h,g,"Ψ","\\Psi",!0);s(l,h,g,"Ω","\\Omega",!0);s(l,h,g,"A","Α");s(l,h,g,"B","Β");s(l,h,g,"E","Ε");s(l,h,g,"Z","Ζ");s(l,h,g,"H","Η");s(l,h,g,"I","Ι");s(l,h,g,"K","Κ");s(l,h,g,"M","Μ");s(l,h,g,"N","Ν");s(l,h,g,"O","Ο");s(l,h,g,"P","Ρ");s(l,h,g,"T","Τ");s(l,h,g,"X","Χ");s(l,h,g,"¬","\\neg",!0);s(l,h,g,"¬","\\lnot");s(l,h,g,"⊤","\\top");s(l,h,g,"⊥","\\bot");s(l,h,g,"∅","\\emptyset");s(l,f,g,"∅","\\varnothing");s(l,h,O,"α","\\alpha",!0);s(l,h,O,"β","\\beta",!0);s(l,h,O,"γ","\\gamma",!0);s(l,h,O,"δ","\\delta",!0);s(l,h,O,"ϵ","\\epsilon",!0);s(l,h,O,"ζ","\\zeta",!0);s(l,h,O,"η","\\eta",!0);s(l,h,O,"θ","\\theta",!0);s(l,h,O,"ι","\\iota",!0);s(l,h,O,"κ","\\kappa",!0);s(l,h,O,"λ","\\lambda",!0);s(l,h,O,"μ","\\mu",!0);s(l,h,O,"ν","\\nu",!0);s(l,h,O,"ξ","\\xi",!0);s(l,h,O,"ο","\\omicron",!0);s(l,h,O,"π","\\pi",!0);s(l,h,O,"ρ","\\rho",!0);s(l,h,O,"σ","\\sigma",!0);s(l,h,O,"τ","\\tau",!0);s(l,h,O,"υ","\\upsilon",!0);s(l,h,O,"ϕ","\\phi",!0);s(l,h,O,"χ","\\chi",!0);s(l,h,O,"ψ","\\psi",!0);s(l,h,O,"ω","\\omega",!0);s(l,h,O,"ε","\\varepsilon",!0);s(l,h,O,"ϑ","\\vartheta",!0);s(l,h,O,"ϖ","\\varpi",!0);s(l,h,O,"ϱ","\\varrho",!0);s(l,h,O,"ς","\\varsigma",!0);s(l,h,O,"φ","\\varphi",!0);s(l,h,N,"∗","*",!0);s(l,h,N,"+","+");s(l,h,N,"−","-",!0);s(l,h,N,"⋅","\\cdot",!0);s(l,h,N,"∘","\\circ",!0);s(l,h,N,"÷","\\div",!0);s(l,h,N,"±","\\pm",!0);s(l,h,N,"×","\\times",!0);s(l,h,N,"∩","\\cap",!0);s(l,h,N,"∪","\\cup",!0);s(l,h,N,"∖","\\setminus",!0);s(l,h,N,"∧","\\land");s(l,h,N,"∨","\\lor");s(l,h,N,"∧","\\wedge",!0);s(l,h,N,"∨","\\vee",!0);s(l,h,g,"√","\\surd");s(l,h,p0,"⟨","\\langle",!0);s(l,h,p0,"∣","\\lvert");s(l,h,p0,"∥","\\lVert");s(l,h,c0,"?","?");s(l,h,c0,"!","!");s(l,h,c0,"⟩","\\rangle",!0);s(l,h,c0,"∣","\\rvert");s(l,h,c0,"∥","\\rVert");s(l,h,p,"=","=");s(l,h,p,":",":");s(l,h,p,"≈","\\approx",!0);s(l,h,p,"≅","\\cong",!0);s(l,h,p,"≥","\\ge");s(l,h,p,"≥","\\geq",!0);s(l,h,p,"←","\\gets");s(l,h,p,">","\\gt",!0);s(l,h,p,"∈","\\in",!0);s(l,h,p,"","\\@not");s(l,h,p,"⊂","\\subset",!0);s(l,h,p,"⊃","\\supset",!0);s(l,h,p,"⊆","\\subseteq",!0);s(l,h,p,"⊇","\\supseteq",!0);s(l,f,p,"⊈","\\nsubseteq",!0);s(l,f,p,"⊉","\\nsupseteq",!0);s(l,h,p,"⊨","\\models");s(l,h,p,"←","\\leftarrow",!0);s(l,h,p,"≤","\\le");s(l,h,p,"≤","\\leq",!0);s(l,h,p,"<","\\lt",!0);s(l,h,p,"→","\\rightarrow",!0);s(l,h,p,"→","\\to");s(l,f,p,"≱","\\ngeq",!0);s(l,f,p,"≰","\\nleq",!0);s(l,h,O0," ","\\ ");s(l,h,O0," ","\\space");s(l,h,O0," ","\\nobreakspace");s(k,h,O0," ","\\ ");s(k,h,O0," "," ");s(k,h,O0," ","\\space");s(k,h,O0," ","\\nobreakspace");s(l,h,O0,"","\\nobreak");s(l,h,O0,"","\\allowbreak");s(l,h,ze,",",",");s(l,h,ze,";",";");s(l,f,N,"⊼","\\barwedge",!0);s(l,f,N,"⊻","\\veebar",!0);s(l,h,N,"⊙","\\odot",!0);s(l,h,N,"⊕","\\oplus",!0);s(l,h,N,"⊗","\\otimes",!0);s(l,h,g,"∂","\\partial",!0);s(l,h,N,"⊘","\\oslash",!0);s(l,f,N,"⊚","\\circledcirc",!0);s(l,f,N,"⊡","\\boxdot",!0);s(l,h,N,"△","\\bigtriangleup");s(l,h,N,"▽","\\bigtriangledown");s(l,h,N,"†","\\dagger");s(l,h,N,"⋄","\\diamond");s(l,h,N,"⋆","\\star");s(l,h,N,"◃","\\triangleleft");s(l,h,N,"▹","\\triangleright");s(l,h,p0,"{","\\{");s(k,h,g,"{","\\{");s(k,h,g,"{","\\textbraceleft");s(l,h,c0,"}","\\}");s(k,h,g,"}","\\}");s(k,h,g,"}","\\textbraceright");s(l,h,p0,"{","\\lbrace");s(l,h,c0,"}","\\rbrace");s(l,h,p0,"[","\\lbrack",!0);s(k,h,g,"[","\\lbrack",!0);s(l,h,c0,"]","\\rbrack",!0);s(k,h,g,"]","\\rbrack",!0);s(l,h,p0,"(","\\lparen",!0);s(l,h,c0,")","\\rparen",!0);s(k,h,g,"<","\\textless",!0);s(k,h,g,">","\\textgreater",!0);s(l,h,p0,"⌊","\\lfloor",!0);s(l,h,c0,"⌋","\\rfloor",!0);s(l,h,p0,"⌈","\\lceil",!0);s(l,h,c0,"⌉","\\rceil",!0);s(l,h,g,"\\","\\backslash");s(l,h,g,"∣","|");s(l,h,g,"∣","\\vert");s(k,h,g,"|","\\textbar",!0);s(l,h,g,"∥","\\|");s(l,h,g,"∥","\\Vert");s(k,h,g,"∥","\\textbardbl");s(k,h,g,"~","\\textasciitilde");s(k,h,g,"\\","\\textbackslash");s(k,h,g,"^","\\textasciicircum");s(l,h,p,"↑","\\uparrow",!0);s(l,h,p,"⇑","\\Uparrow",!0);s(l,h,p,"↓","\\downarrow",!0);s(l,h,p,"⇓","\\Downarrow",!0);s(l,h,p,"↕","\\updownarrow",!0);s(l,h,p,"⇕","\\Updownarrow",!0);s(l,h,a0,"∐","\\coprod");s(l,h,a0,"⋁","\\bigvee");s(l,h,a0,"⋀","\\bigwedge");s(l,h,a0,"⨄","\\biguplus");s(l,h,a0,"⋂","\\bigcap");s(l,h,a0,"⋃","\\bigcup");s(l,h,a0,"∫","\\int");s(l,h,a0,"∫","\\intop");s(l,h,a0,"∬","\\iint");s(l,h,a0,"∭","\\iiint");s(l,h,a0,"∏","\\prod");s(l,h,a0,"∑","\\sum");s(l,h,a0,"⨂","\\bigotimes");s(l,h,a0,"⨁","\\bigoplus");s(l,h,a0,"⨀","\\bigodot");s(l,h,a0,"∮","\\oint");s(l,h,a0,"∯","\\oiint");s(l,h,a0,"∰","\\oiiint");s(l,h,a0,"⨆","\\bigsqcup");s(l,h,a0,"∫","\\smallint");s(k,h,de,"…","\\textellipsis");s(l,h,de,"…","\\mathellipsis");s(k,h,de,"…","\\ldots",!0);s(l,h,de,"…","\\ldots",!0);s(l,h,de,"⋯","\\@cdots",!0);s(l,h,de,"⋱","\\ddots",!0);s(l,h,g,"⋮","\\varvdots");s(k,h,g,"⋮","\\varvdots");s(l,h,K,"ˊ","\\acute");s(l,h,K,"ˋ","\\grave");s(l,h,K,"¨","\\ddot");s(l,h,K,"~","\\tilde");s(l,h,K,"ˉ","\\bar");s(l,h,K,"˘","\\breve");s(l,h,K,"ˇ","\\check");s(l,h,K,"^","\\hat");s(l,h,K,"⃗","\\vec");s(l,h,K,"˙","\\dot");s(l,h,K,"˚","\\mathring");s(l,h,O,"","\\@imath");s(l,h,O,"","\\@jmath");s(l,h,g,"ı","ı");s(l,h,g,"ȷ","ȷ");s(k,h,g,"ı","\\i",!0);s(k,h,g,"ȷ","\\j",!0);s(k,h,g,"ß","\\ss",!0);s(k,h,g,"æ","\\ae",!0);s(k,h,g,"œ","\\oe",!0);s(k,h,g,"ø","\\o",!0);s(k,h,g,"Æ","\\AE",!0);s(k,h,g,"Œ","\\OE",!0);s(k,h,g,"Ø","\\O",!0);s(k,h,K,"ˊ","\\'");s(k,h,K,"ˋ","\\`");s(k,h,K,"ˆ","\\^");s(k,h,K,"˜","\\~");s(k,h,K,"ˉ","\\=");s(k,h,K,"˘","\\u");s(k,h,K,"˙","\\.");s(k,h,K,"¸","\\c");s(k,h,K,"˚","\\r");s(k,h,K,"ˇ","\\v");s(k,h,K,"¨",'\\"');s(k,h,K,"˝","\\H");s(k,h,K,"◯","\\textcircled");var xa={"--":!0,"---":!0,"``":!0,"''":!0};s(k,h,g,"–","--",!0);s(k,h,g,"–","\\textendash");s(k,h,g,"—","---",!0);s(k,h,g,"—","\\textemdash");s(k,h,g,"‘","`",!0);s(k,h,g,"‘","\\textquoteleft");s(k,h,g,"’","'",!0);s(k,h,g,"’","\\textquoteright");s(k,h,g,"“","``",!0);s(k,h,g,"“","\\textquotedblleft");s(k,h,g,"”","''",!0);s(k,h,g,"”","\\textquotedblright");s(l,h,g,"°","\\degree",!0);s(k,h,g,"°","\\degree");s(k,h,g,"°","\\textdegree",!0);s(l,h,g,"£","\\pounds");s(l,h,g,"£","\\mathsterling",!0);s(k,h,g,"£","\\pounds");s(k,h,g,"£","\\textsterling",!0);s(l,f,g,"✠","\\maltese");s(k,f,g,"✠","\\maltese");var yr='0123456789/@."';for(var ot=0;ot<yr.length;ot++){var wr=yr.charAt(ot);s(l,h,g,wr,wr)}var xr='0123456789!@*()-=+";:?/.,';for(var ut=0;ut<xr.length;ut++){var kr=xr.charAt(ut);s(k,h,g,kr,kr)}var $e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var ht=0;ht<$e.length;ht++){var Ne=$e.charAt(ht);s(l,h,O,Ne,Ne),s(k,h,g,Ne,Ne)}s(l,f,g,"C","ℂ");s(k,f,g,"C","ℂ");s(l,f,g,"H","ℍ");s(k,f,g,"H","ℍ");s(l,f,g,"N","ℕ");s(k,f,g,"N","ℕ");s(l,f,g,"P","ℙ");s(k,f,g,"P","ℙ");s(l,f,g,"Q","ℚ");s(k,f,g,"Q","ℚ");s(l,f,g,"R","ℝ");s(k,f,g,"R","ℝ");s(l,f,g,"Z","ℤ");s(k,f,g,"Z","ℤ");s(l,h,O,"h","ℎ");s(k,h,O,"h","ℎ");var F;for(var o0=0;o0<$e.length;o0++){var e0=$e.charAt(o0);F=String.fromCharCode(55349,56320+o0),s(l,h,O,e0,F),s(k,h,g,e0,F),F=String.fromCharCode(55349,56372+o0),s(l,h,O,e0,F),s(k,h,g,e0,F),F=String.fromCharCode(55349,56424+o0),s(l,h,O,e0,F),s(k,h,g,e0,F),F=String.fromCharCode(55349,56580+o0),s(l,h,O,e0,F),s(k,h,g,e0,F),F=String.fromCharCode(55349,56684+o0),s(l,h,O,e0,F),s(k,h,g,e0,F),F=String.fromCharCode(55349,56736+o0),s(l,h,O,e0,F),s(k,h,g,e0,F),F=String.fromCharCode(55349,56788+o0),s(l,h,O,e0,F),s(k,h,g,e0,F),F=String.fromCharCode(55349,56840+o0),s(l,h,O,e0,F),s(k,h,g,e0,F),F=String.fromCharCode(55349,56944+o0),s(l,h,O,e0,F),s(k,h,g,e0,F),o0<26&&(F=String.fromCharCode(55349,56632+o0),s(l,h,O,e0,F),s(k,h,g,e0,F),F=String.fromCharCode(55349,56476+o0),s(l,h,O,e0,F),s(k,h,g,e0,F))}F="𝕜";s(l,h,O,"k",F);s(k,h,g,"k",F);for(var J0=0;J0<10;J0++){var $0=J0.toString();F=String.fromCharCode(55349,57294+J0),s(l,h,O,$0,F),s(k,h,g,$0,F),F=String.fromCharCode(55349,57314+J0),s(l,h,O,$0,F),s(k,h,g,$0,F),F=String.fromCharCode(55349,57324+J0),s(l,h,O,$0,F),s(k,h,g,$0,F),F=String.fromCharCode(55349,57334+J0),s(l,h,O,$0,F),s(k,h,g,$0,F)}var Ct="ÐÞþ";for(var ct=0;ct<Ct.length;ct++){var Ee=Ct.charAt(ct);s(l,h,O,Ee,Ee),s(k,h,g,Ee,Ee)}var Bt={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},Sr={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},Mr={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},$1={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},_0={mathClass:"",textClass:"",font:""},zr={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},Ar={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},Tr={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},It={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},Dt={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},Cr={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},Nt={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},Br=[Bt,Bt,Sr,Sr,Mr,Mr,$1,_0,_0,_0,zr,zr,Ar,Ar,Tr,Tr,It,It,Dt,Dt,Cr,Cr,_0,_0,Nt,Nt],G1=[Bt,_0,It,Dt,Nt],W1=r=>{var e=r.charCodeAt(0),t=r.charCodeAt(1),a=(e-55296)*1024+(t-56320)+65536;if(119808<=a&&a<120484){var n=Math.floor((a-119808)/26);return Br[n]}else if(120782<=a&&a<=120831){var i=Math.floor((a-120782)/10);return G1[i]}else{if(a===120485||a===120486)return Br[0];if(120486<a&&a<120782)return _0;throw new A("Unsupported character: "+r)}},Ve=function(e,t,a){if(Z[a][e]){var n=Z[a][e].replace;n&&(e=n)}return{value:e,metrics:Yt(e,t,a)}},u0=function(e,t,a,n,i){var o=Ve(e,t,a),u=o.metrics;e=o.value;var c;if(u){var d=u.italic;(a==="text"||n&&n.font==="mathit")&&(d=0),c=new b0(e,u.height,u.depth,d,u.skew,u.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '"+a+"'")),c=new b0(e,0,0,0,0,0,i);if(n){c.maxFontSize=n.sizeMultiplier,n.style.isTight()&&c.classes.push("mtight");var v=n.getColor();v&&(c.style.color=v)}return c},Zt=function(e,t,a,n){return n===void 0&&(n=[]),a.font==="boldsymbol"&&Ve(e,"Main-Bold",t).metrics?u0(e,"Main-Bold",t,a,n.concat(["mathbf"])):e==="\\"||Z[t][e].font==="main"?u0(e,"Main-Regular",t,a,n):u0(e,"AMS-Regular",t,a,n.concat(["amsrm"]))},V1=function(e,t,a){return a!=="textord"&&Ve(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Xe=function(e,t){var a=e.type==="mathord"?"mathord":"textord",n=e.mode,i=e.text,o=["mord"],u=t.font,c=t.fontFamily,d=t.fontWeight,v=t.fontShape,b=n==="math"||n==="text"&&!!u,y=b?u:c,w="",x="";if(i.charCodeAt(0)===55349){var z=W1(i);w=z.font,x=z[n+"Class"]}if(w)return u0(i,w,n,t,o.concat(x));if(y){var S,C;if(y==="boldsymbol"){var E=V1(i,n,a);S=E.fontName,C=[E.fontClass]}else b?(S=Et[u].fontName,C=[u]):(S=qe(c,d,v),C=[c,d,v]);if(Ve(i,S,n).metrics)return u0(i,S,n,t,o.concat(C));if(Object.prototype.hasOwnProperty.call(xa,i)&&S.slice(0,10)==="Typewriter"){for(var q=[],R=0;R<i.length;R++)q.push(u0(i[R],S,n,t,o.concat(C)));return F0(q)}}if(a==="mathord")return u0(i,"Math-Italic",n,t,o.concat(["mathnormal"]));if(a==="textord"){var j=Z[n][i]&&Z[n][i].font;if(j==="ams"){var L=qe("amsrm",d,v);return u0(i,L,n,t,o.concat("amsrm",d,v))}else if(j==="main"||!j){var P=qe("textrm",d,v);return u0(i,P,n,t,o.concat(d,v))}else{var G=qe(j,d,v);return u0(i,G,n,t,o.concat(G,d,v))}}else throw new Error("unexpected type: "+a+" in makeOrd")},X1=(r,e)=>{if(V0(r.classes)!==V0(e.classes)||r.skew!==e.skew||r.maxFontSize!==e.maxFontSize||r.italic!==0&&r.hasClass("mathnormal"))return!1;if(r.classes.length===1){var t=r.classes[0];if(t==="mbin"||t==="mord")return!1}for(var a of Object.keys(r.style))if(r.style[a]!==e.style[a])return!1;for(var n of Object.keys(e.style))if(r.style[n]!==e.style[n])return!1;return!0},ka=r=>{for(var e=0;e<r.length-1;e++){var t=r[e],a=r[e+1];t instanceof b0&&a instanceof b0&&X1(t,a)&&(t.text+=a.text,t.height=Math.max(t.height,a.height),t.depth=Math.max(t.depth,a.depth),t.italic=a.italic,r.splice(e+1,1),e--)}return r},Kt=function(e){for(var t=0,a=0,n=0,i=0;i<e.children.length;i++){var o=e.children[i];o.height>t&&(t=o.height),o.depth>a&&(a=o.depth),o.maxFontSize>n&&(n=o.maxFontSize)}e.height=t,e.depth=a,e.maxFontSize=n},M=function(e,t,a,n){var i=new Me(e,t,a,n);return Kt(i),i},Y0=(r,e,t,a)=>new Me(r,e,t,a),he=function(e,t,a){var n=M([e],[],t);return n.height=Math.max(a||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=I(n.height),n.maxFontSize=1,n},Y1=function(e,t,a,n){var i=new Xt(e,t,a,n);return Kt(i),i},F0=function(e){var t=new me(e);return Kt(t),t},ce=function(e,t){return e instanceof me?M([],[e],t):e},Z1=function(e){if(e.positionType==="individualShift"){for(var t=e.children,a=[t[0]],n=-t[0].shift-t[0].elem.depth,i=n,o=1;o<t.length;o++){var u=-t[o].shift-i-t[o].elem.depth,c=u-(t[o-1].elem.height+t[o-1].elem.depth);i=i+u,a.push({type:"kern",size:c}),a.push(t[o])}return{children:a,depth:n}}var d;if(e.positionType==="top"){for(var v=e.positionData,b=0;b<e.children.length;b++){var y=e.children[b];v-=y.type==="kern"?y.size:y.elem.height+y.elem.depth}d=v}else if(e.positionType==="bottom")d=-e.positionData;else{var w=e.children[0];if(w.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")d=-w.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")d=-w.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:d}},W=function(e,t){for(var a=Z1(e),n=a.children,i=a.depth,o=0,u=0;u<n.length;u++){var c=n[u];if(c.type==="elem"){var d=c.elem;o=Math.max(o,d.maxFontSize,d.height)}}o+=2;var v=M(["pstrut"],[]);v.style.height=I(o);for(var b=[],y=i,w=i,x=i,z=0;z<n.length;z++){var S=n[z];if(S.type==="kern")x+=S.size;else{var C=S.elem,E=S.wrapperClasses||[],q=S.wrapperStyle||{},R=M(E,[v,C],void 0,q);R.style.top=I(-o-x-C.depth),S.marginLeft&&(R.style.marginLeft=S.marginLeft),S.marginRight&&(R.style.marginRight=S.marginRight),b.push(R),x+=C.height+C.depth}y=Math.min(y,x),w=Math.max(w,x)}var j=M(["vlist"],b);j.style.height=I(w);var L;if(y<0){var P=M([],[]),G=M(["vlist"],[P]);G.style.height=I(-y);var X=M(["vlist-s"],[new b0("")]);L=[M(["vlist-r"],[j,X]),M(["vlist-r"],[G])]}else L=[M(["vlist-r"],[j])];var J=M(["vlist-t"],L);return L.length===2&&J.classes.push("vlist-t2"),J.height=w,J.depth=-y,J},Sa=(r,e)=>{var t=M(["mspace"],[],e),a=_(r,e);return t.style.marginRight=I(a),t},qe=(r,e,t)=>{var a,n;switch(r){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=r}return e==="textbf"&&t==="textit"?n="BoldItalic":e==="textbf"?n="Bold":t==="textit"?n="Italic":n="Regular",a+"-"+n},Et={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"}},Ma={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},za=function(e,t){var a=Ma[e],n=a[0],i=a[1],o=a[2],u=new ee(n),c=new X0([u],{width:I(i),height:I(o),style:"width:"+I(i),viewBox:"0 0 "+1e3*i+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),d=Y0(["katex-overlay"],[c],t);return d.height=o,d.style.height=I(o),d.style.width=I(i),d},Q={number:3,unit:"mu"},Q0={number:4,unit:"mu"},N0={number:5,unit:"mu"},K1={mord:{mop:Q,mbin:Q0,mrel:N0,minner:Q},mop:{mord:Q,mop:Q,mrel:N0,minner:Q},mbin:{mord:Q0,mop:Q0,mopen:Q0,minner:Q0},mrel:{mord:N0,mop:N0,mopen:N0,minner:N0},mopen:{},mclose:{mop:Q,mbin:Q0,mrel:N0,minner:Q},mpunct:{mord:Q,mop:Q,mrel:N0,mopen:Q,mclose:Q,mpunct:Q,minner:Q},minner:{mord:Q,mop:Q,mbin:Q0,mrel:N0,mopen:Q,mpunct:Q,minner:Q}},J1={mord:{mop:Q},mop:{mord:Q,mop:Q},mbin:{},mrel:{},mopen:{},mclose:{mop:Q},mpunct:{},minner:{mop:Q}},Aa={},we={},xe={};function D(r){for(var e=r.type,t=r.names,a=r.htmlBuilder,n=r.mathmlBuilder,i=0;i<t.length;++i)Aa[t[i]]=r;e&&(a&&(we[e]=a),n&&(xe[e]=n))}function te(r){var e=r.type,t=r.htmlBuilder,a=r.mathmlBuilder;t&&(we[e]=t),a&&(xe[e]=a)}var ke=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},t0=function(e){return e.type==="ordgroup"?e.body:[e]},Q1=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),_1=new Set(["rightmost","mrel","mclose","mpunct"]),ei={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT},ti={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},s0=function(e,t,a,n){n===void 0&&(n=[null,null]);for(var i=[],o=0;o<e.length;o++){var u=V(e[o],t);if(u instanceof me){var c=u.children;i.push(...c)}else i.push(u)}if(ka(i),!a)return i;var d=t;if(e.length===1){var v=e[0];v.type==="sizing"?d=t.havingSize(v.size):v.type==="styling"&&(d=t.havingStyle(ei[v.style]))}var b=M([n[0]||"leftmost"],[],t),y=M([n[1]||"rightmost"],[],t),w=a==="root";return qt(i,(x,z)=>{var S=z.classes[0],C=x.classes[0];S==="mbin"&&_1.has(C)?z.classes[0]="mord":C==="mbin"&&Q1.has(S)&&(x.classes[0]="mord")},{node:b},y,w),qt(i,(x,z)=>{var S,C,E=Lt(z),q=Lt(x),R=E&&q?x.hasClass("mtight")?(S=J1[E])==null?void 0:S[q]:(C=K1[E])==null?void 0:C[q]:null;if(R)return Sa(R,d)},{node:b},y,w),i},qt=function(e,t,a,n,i){n&&e.push(n);for(var o=0;o<e.length;o++){var u=e[o],c=Ta(u);if(c){qt(c.children,t,a,null,i);continue}var d=!u.hasClass("mspace");if(d){var v=t(u,a.node);v&&(a.insertAfter?a.insertAfter(v):(e.unshift(v),o++))}d?a.node=u:i&&u.hasClass("katex-newline")&&(a.node=M(["leftmost"])),a.insertAfter=(b=>y=>{e.splice(b+1,0,y),o++})(o)}n&&e.pop()},Ta=function(e){return e instanceof me||e instanceof Xt||e instanceof Me&&e.hasClass("enclosing")?e:null},Rt=function(e,t){var a=Ta(e);if(a){var n=a.children;if(n.length){if(t==="right")return Rt(n[n.length-1],"right");if(t==="left")return Rt(n[0],"left")}}return e},Lt=function(e,t){if(!e)return null;t&&(e=Rt(e,t));var a=e.classes[0];return ti[a]||null},Se=function(e,t){var a=["nulldelimiter"].concat(e.baseSizingClasses());return M(t.concat(a))},V=function(e,t,a){if(!e)return M();if(we[e.type]){var n=we[e.type](e,t);if(a&&t.size!==a.size){n=M(t.sizingClasses(a),[n],t);var i=t.sizeMultiplier/a.sizeMultiplier;n.height*=i,n.depth*=i}return n}else throw new A("Got group of unknown type: '"+e.type+"'")};function Re(r,e){var t=M(["katex-base"],r,e),a=M(["katex-strut"]);return a.style.height=I(t.height+t.depth),t.depth&&(a.style.verticalAlign=I(-t.depth)),t.children.unshift(a),t}function Ir(r,e){var t=null;r.length===1&&r[0].type==="tag"&&(t=r[0].tag,r=r[0].body);var a=s0(r,e,"root"),n;a.length===2&&a[1].hasClass("katex-tag")&&(n=a.pop());for(var i=[],o=[],u=0;u<a.length;u++)if(o.push(a[u]),a[u].hasClass("mbin")||a[u].hasClass("mrel")||a[u].hasClass("allowbreak")){for(var c=!1;u<a.length-1&&a[u+1].hasClass("mspace")&&!a[u+1].hasClass("katex-newline");)u++,o.push(a[u]),a[u].hasClass("nobreak")&&(c=!0);c||(i.push(Re(o,e)),o=[])}else a[u].hasClass("katex-newline")&&(o.pop(),o.length>0&&(i.push(Re(o,e)),o=[]),i.push(a[u]));o.length>0&&i.push(Re(o,e));var d;t?(d=Re(s0(t,e,!0),e),d.classes=["katex-tag"],i.push(d)):n&&i.push(n);var v=M(["katex-html"],i);if(v.setAttribute("aria-hidden","true"),d){var b=d.children[0];b.style.height=I(v.height+v.depth),v.depth&&(b.style.verticalAlign=I(-v.depth))}return v}function Ca(r){return new me(r)}class T{constructor(e,t,a){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=a||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t of Object.entries(this.attributes)){var a=t[0],n=t[1];e.setAttribute(a,n)}this.classes.length>0&&(e.className=V0(this.classes));for(var i=0;i<this.children.length;i++)if(this.children[i]instanceof r0&&this.children[i+1]instanceof r0){for(var o=this.children[i].toText()+this.children[++i].toText();this.children[i+1]instanceof r0;)o+=this.children[++i].toText();e.appendChild(new r0(o).toNode())}else e.appendChild(this.children[i].toNode());return e}toMarkup(){var e="<"+this.type;for(var t of Object.entries(this.attributes)){var a=t[0],n=t[1];e+=" "+a+'="',e+=l0(n),e+='"'}this.classes.length>0&&(e+=' class ="'+l0(V0(this.classes))+'"'),e+=">";for(var i=0;i<this.children.length;i++)e+=this.children[i].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class r0{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return l0(this.toText())}toText(){return this.text}}class Ba{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",I(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+I(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var ri=new Set(["\\imath","\\jmath"]),ai=new Set(["mrow","mtable"]),y0=function(e,t,a){var n,i;return Z[t][e]&&Z[t][e].replace&&e.charCodeAt(0)!==55349&&!(Object.prototype.hasOwnProperty.call(xa,e)&&((a==null||(n=a.fontFamily)==null?void 0:n.slice(4,6))==="tt"||(a==null||(i=a.font)==null?void 0:i.slice(4,6))==="tt"))&&(e=Z[t][e].replace),new r0(e)},Jt=function(e){return e.length===1?e[0]:new T("mrow",e)},ni={mathit:"italic",boldsymbol:r=>r.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"},Qt=(r,e)=>{if(r.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 t=e.font;if(!t||t==="mathnormal")return null;var a=r.mode,n=ni[t];if(n)return typeof n=="function"?n(r):n;var i=r.text;if(ri.has(i))return null;if(Z[a][i]){var o=Z[a][i].replace;o&&(i=o)}var u=Et[t].fontName;return Yt(i,u,a)?Et[t].variant:null};function mt(r){if(!r)return!1;if(r.type==="mi"&&r.children.length===1){var e=r.children[0];return e instanceof r0&&e.text==="."}else if(r.type==="mo"&&r.children.length===1&&r.getAttribute("separator")==="true"&&r.getAttribute("lspace")==="0em"&&r.getAttribute("rspace")==="0em"){var t=r.children[0];return t instanceof r0&&t.text===","}else return!1}var v0=function(e,t,a){if(e.length===1){var n=Y(e[0],t);return a&&n instanceof T&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i=[],o,u=0;u<e.length;u++){var c=Y(e[u],t);if(c instanceof T&&o instanceof T){if(c.type==="mtext"&&o.type==="mtext"&&c.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...c.children);continue}else if(c.type==="mn"&&o.type==="mn"){o.children.push(...c.children);continue}else if(mt(c)&&o.type==="mn"){o.children.push(...c.children);continue}else if(c.type==="mn"&&mt(o))c.children=[...o.children,...c.children],i.pop();else if((c.type==="msup"||c.type==="msub")&&c.children.length>=1&&(o.type==="mn"||mt(o))){var d=c.children[0];d instanceof T&&d.type==="mn"&&(d.children=[...o.children,...d.children],i.pop())}else if(o.type==="mi"&&o.children.length===1){var v=o.children[0];if(v instanceof r0&&v.text==="̸"&&(c.type==="mo"||c.type==="mi"||c.type==="mn")){var b=c.children[0];b instanceof r0&&b.text.length>0&&(b.text=b.text.slice(0,1)+"̸"+b.text.slice(1),i.pop())}}}i.push(c),o=c}return i},Z0=function(e,t,a){return Jt(v0(e,t,a))},Y=function(e,t){if(!e)return new T("mrow");if(xe[e.type])return xe[e.type](e,t);throw new A("Got group of unknown type: '"+e.type+"'")};function Dr(r,e,t,a,n){var i=v0(r,t),o;i.length===1&&i[0]instanceof T&&ai.has(i[0].type)?o=i[0]:o=new T("mrow",i);var u=new T("annotation",[new r0(e)]);u.setAttribute("encoding","application/x-tex");var c=new T("semantics",[o,u]),d=new T("math",[c]);d.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&d.setAttribute("display","block");var v=n?"katex":"katex-mathml";return M([v],[d])}var ii=[[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]],Nr=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Er=function(e,t){return t.size<2?e:ii[e-1][t.size-1]};class E0{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||E0.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=Nr[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={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(t,e),new E0(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Er(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:Nr[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=Er(E0.BASESIZE,e);return this.size===t&&this.textSize===E0.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}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?["katex-sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==E0.BASESIZE?["katex-sizing","reset-size"+this.size,"size"+E0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=U1(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}E0.BASESIZE=6;var si=function(e){return new E0({style:e.displayMode?H.DISPLAY:H.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},li=function(e,t){if(t.displayMode){var a=["katex-display"];t.leqno&&a.push("leqno"),t.fleqn&&a.push("fleqn"),e=M(a,[e])}return e},oi=function(e,t,a){var n=si(a),i;if(a.output==="mathml")return Dr(e,t,n,a.displayMode,!0);if(a.output==="html"){var o=Ir(e,n);i=M(["katex"],[o])}else{var u=Dr(e,t,n,a.displayMode,!1),c=Ir(e,n);i=M(["katex"],[u,c])}return li(i,a)},ui={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":"="},Ye=function(e){var t=new T("mo",[new r0(ui[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},hi={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]},ci=new Set(["widehat","widecheck","widetilde","utilde"]),Ze=function(e,t){function a(){var c=4e5,d=e.label.slice(1);if(ci.has(d)&&"base"in e){var v=e.base.type==="ordgroup"?e.base.body.length:1,b,y,w;if(v>5)d==="widehat"||d==="widecheck"?(b=420,c=2364,w=.42,y=d+"4"):(b=312,c=2340,w=.34,y="tilde4");else{var x=[1,1,2,2,3,3][v];d==="widehat"||d==="widecheck"?(c=[0,1062,2364,2364,2364][x],b=[0,239,300,360,420][x],w=[0,.24,.3,.3,.36,.42][x],y=d+x):(c=[0,600,1033,2339,2340][x],b=[0,260,286,306,312][x],w=[0,.26,.286,.3,.306,.34][x],y="tilde"+x)}var z=new ee(y),S=new X0([z],{width:"100%",height:I(w),viewBox:"0 0 "+c+" "+b,preserveAspectRatio:"none"});return{span:Y0([],[S],t),minWidth:0,height:w}}else{var C=[],E=hi[d];if(!E)throw new Error('No SVG data for "'+d+'".');var q=E[0],R=E[1],j=E[2],L=j/1e3,P=q.length,G,X;if(P===1){if(E.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+d+'".');G=["hide-tail"],X=[E[3]]}else if(P===2)G=["halfarrow-left","halfarrow-right"],X=["xMinYMin","xMaxYMin"];else if(P===3)G=["brace-left","brace-center","brace-right"],X=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
262
|
+
`+P+" children.");for(var J=0;J<P;J++){var d0=new ee(q[J]),n0=new X0([d0],{width:"400em",height:I(L),viewBox:"0 0 "+c+" "+j,preserveAspectRatio:X[J]+" slice"}),D0=Y0([G[J]],[n0],t);if(P===1)return{span:D0,minWidth:R,height:L};D0.style.height=I(L),C.push(D0)}return{span:M(["katex-stretchy"],C,t),minWidth:R,height:L}}}var n=a(),i=n.span,o=n.minWidth,u=n.height;return i.height=u,i.style.height=I(u),o>0&&(i.style.minWidth=I(o)),i},mi=function(e,t,a,n,i){var o,u=e.height+e.depth+a+n;if(/fbox|color|angl/.test(t)){if(o=M(["katex-stretchy",t],[],i),t==="fbox"){var c=i.color&&i.getColor();c&&(o.style.borderColor=c)}}else{var d=[];/^[bx]cancel$/.test(t)&&d.push(new gr({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&d.push(new gr({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var v=new X0(d,{width:"100%",height:I(u)});o=Y0([],[v],i)}return o.height=u,o.style.height=I(u),o},di=["bin","close","inner","open","punct","rel"],fi=["accent-token","mathord","op-token","spacing","textord"],pi=new Set(di),vi=new Set(fi);function gi(r){return pi.has(r)}function $(r,e){if(!r||r.type!==e)throw new Error("Expected node of type "+e+", but got "+(r?"node of type "+r.type:String(r)));return r}function Ke(r){var e=Je(r);if(!e)throw new Error("Expected node of symbol group type, but got "+(r?"node of type "+r.type:String(r)));return e}function Je(r){return r.type==="atom"||vi.has(r.type)?r:null}function _t(r,e,t){var a="";for(var n of r.body)if(n.type==="textord")a+=n.text;else if(t&&n.type==="spacing"&&n.text===" ")a+=" ";else throw new A(e,r);return a}var Ia=r=>{if(r instanceof b0)return r;if(j1(r)&&r.children.length===1)return Ia(r.children[0])},Da=(r,e)=>{var t,a,n;r&&r.type==="supsub"?(a=$(r.base,"accent"),t=a.base,r.base=t,n=H1(V(r,e)),r.base=a):(a=$(r,"accent"),t=a.base);var i=V(t,e.havingCrampedStyle()),o=a.isShifty&&L0(t),u=0;if(o){var c,d;u=(c=(d=Ia(i))==null?void 0:d.skew)!=null?c:0}var v=a.label==="\\c",b=v?i.height+i.depth:Math.min(i.height,e.fontMetrics().xHeight),y;if(a.isStretchy)y=Ze(a,e),y=W({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:y,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+I(2*u)+")",marginLeft:I(2*u)}:void 0}]});else{var w,x;a.label==="\\vec"?(w=za("vec",e),x=Ma.vec[1]):(w=Xe({type:"textord",mode:a.mode,text:a.label},e),w=P1(w),w.italic=0,x=w.width,v&&(b+=w.depth)),y=M(["accent-body"],[w]);var z=a.label==="\\textcircled";z&&(y.classes.push("accent-full"),b=i.height);var S=u;z||(S-=x/2),y.style.left=I(S),a.label==="\\textcircled"&&(y.style.top=".2em"),y=W({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-b},{type:"elem",elem:y}]})}var C=M(["mord","katex-accent"],[y],e);return n?(n.children[0]=C,n.height=Math.max(C.height,n.height),n.classes[0]="mord",n):C},bi=(r,e)=>{var t=r.isStretchy?Ye(r.label):new T("mo",[y0(r.label,r.mode)]),a=new T("mover",[Y(r.base,e),t]);return a.setAttribute("accent","true"),a},yi=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(r=>"\\"+r).join("|"));D({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:(r,e)=>{var t=ke(e[0]),a=!yi.test(r.funcName),n=!a||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:a,isShifty:n,base:t}},htmlBuilder:Da,mathmlBuilder:bi});D({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"],handler:(r,e)=>{var t=e[0],a=r.parser.mode;return a==="math"&&(r.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+r.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:r.funcName,isStretchy:!1,isShifty:!0,base:t}}});D({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],numArgs:1,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=e[0];return{type:"accentUnder",mode:t.mode,label:a,base:n}},htmlBuilder:(r,e)=>{var t=V(r.base,e),a=Ze(r,e),n=r.label==="\\utilde"?.12:0,i=W({positionType:"top",positionData:t.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:t}]});return M(["mord","accentunder"],[i],e)},mathmlBuilder:(r,e)=>{var t=Ye(r.label),a=new T("munder",[Y(r.base,e),t]);return a.setAttribute("accentunder","true"),a}});var Le=r=>{var e=new T("mpadded",r?[r]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};D({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(r,e,t){var a=r.parser,n=r.funcName;return{type:"xArrow",mode:a.mode,label:n,body:e[0],below:t[0]}},htmlBuilder(r,e){var t=e.style,a=e.havingStyle(t.sup()),n=ce(V(r.body,a,e),e),i=r.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(i+"-arrow-pad");var o;r.below&&(a=e.havingStyle(t.sub()),o=ce(V(r.below,a,e),e),o.classes.push(i+"-arrow-pad"));var u=Ze(r,e),c=-e.fontMetrics().axisHeight+.5*u.height,d=-e.fontMetrics().axisHeight-.5*u.height-.111;(n.depth>.25||r.label==="\\xleftequilibrium")&&(d-=n.depth);var v;if(o){var b=-e.fontMetrics().axisHeight+o.height+.5*u.height+.111;v=W({positionType:"individualShift",children:[{type:"elem",elem:n,shift:d},{type:"elem",elem:u,shift:c,wrapperClasses:["svg-align"]},{type:"elem",elem:o,shift:b}]})}else v=W({positionType:"individualShift",children:[{type:"elem",elem:n,shift:d},{type:"elem",elem:u,shift:c,wrapperClasses:["svg-align"]}]});return M(["mrel","x-arrow"],[v],e)},mathmlBuilder(r,e){var t=Ye(r.label);t.setAttribute("minsize",r.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(r.body){var n=Le(Y(r.body,e));if(r.below){var i=Le(Y(r.below,e));a=new T("munderover",[t,i,n])}else a=new T("mover",[t,n])}else if(r.below){var o=Le(Y(r.below,e));a=new T("munder",[t,o])}else a=Le(),a=new T("mover",[t,a]);return a}});function wi(r,e){var t=s0(r.body,e,!0);return M([r.mclass],t,e)}function xi(r,e){var t,a=v0(r.body,e);return r.mclass==="minner"?t=new T("mpadded",a):r.mclass==="mord"?r.isCharacterBox?(t=a[0],t.type="mi"):t=new T("mi",a):(r.isCharacterBox?(t=a[0],t.type="mo"):t=new T("mo",a),r.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):r.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):(r.mclass==="mopen"||r.mclass==="mclose")&&(t.attributes.lspace="0em",t.attributes.rspace="0em")),t}D({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],numArgs:1,primitive:!0,handler(r,e){var t=r.parser,a=r.funcName,n=e[0];return{type:"mclass",mode:t.mode,mclass:"m"+a.slice(5),body:t0(n),isCharacterBox:L0(n)}},htmlBuilder:wi,mathmlBuilder:xi});var Qe=r=>{var e=r.type==="ordgroup"&&r.body.length?r.body[0]:r;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};D({type:"mclass",names:["\\@binrel"],numArgs:2,handler(r,e){var t=r.parser;return{type:"mclass",mode:t.mode,mclass:Qe(e[0]),body:t0(e[1]),isCharacterBox:L0(e[1])}}});D({type:"mclass",names:["\\stackrel","\\overset","\\underset"],numArgs:2,handler(r,e){var t=r.parser,a=r.funcName,n=e[1],i=e[0],o;a!=="\\stackrel"?o=Qe(n):o="mrel";var u={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:t0(n)},c=a==="\\underset"?{type:"supsub",mode:i.mode,base:u,sub:i}:{type:"supsub",mode:i.mode,base:u,sup:i};return{type:"mclass",mode:t.mode,mclass:o,body:[c],isCharacterBox:L0(c)}}});D({type:"pmb",names:["\\pmb"],numArgs:1,allowedInText:!0,handler(r,e){var t=r.parser;return{type:"pmb",mode:t.mode,mclass:Qe(e[0]),body:t0(e[0])}},htmlBuilder(r,e){var t=s0(r.body,e,!0),a=M([r.mclass],t,e);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(r,e){var t=v0(r.body,e),a=new T("mstyle",t);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var ki={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},qr=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),Rr=r=>r.type==="textord"&&r.text==="@",Si=(r,e)=>(r.type==="mathord"||r.type==="atom")&&r.text===e;function Mi(r,e,t){var a=ki[r];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(a,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var n=t.callFunction("\\\\cdleft",[e[0]],[]),i={type:"atom",text:a,mode:"math",family:"rel"},o=t.callFunction("\\Big",[i],[]),u=t.callFunction("\\\\cdright",[e[1]],[]),c={type:"ordgroup",mode:"math",body:[n,o,u]};return t.callFunction("\\\\cdparent",[c],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var d={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[d],[])}default:return{type:"textord",text:" ",mode:"math"}}}function zi(r){var e=[];for(r.gullet.beginGroup(),r.gullet.macros.set("\\cr","\\\\\\relax"),r.gullet.beginGroup();;){e.push(r.parseExpression(!1,"\\\\")),r.gullet.endGroup(),r.gullet.beginGroup();var t=r.fetch().text;if(t==="&"||t==="\\\\")r.consume();else if(t==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new A("Expected \\\\ or \\cr or \\end",r.nextToken)}for(var a=[],n=[a],i=0;i<e.length;i++){for(var o=e[i],u=qr(),c=0;c<o.length;c++)if(!Rr(o[c]))u.body.push(o[c]);else{a.push(u),c+=1;var d=Ke(o[c]).text,v=new Array(2);if(v[0]={type:"ordgroup",mode:"math",body:[]},v[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(d))if("<>AV".includes(d))for(var b=0;b<2;b++){for(var y=!0,w=c+1;w<o.length;w++){if(Si(o[w],d)){y=!1,c=w;break}if(Rr(o[w]))throw new A("Missing a "+d+" character to complete a CD arrow.",o[w]);v[b].body.push(o[w])}if(y)throw new A("Missing a "+d+" character to complete a CD arrow.",o[c])}else throw new A('Expected one of "<>AV=|." after @',o[c]);var x=Mi(d,v,r),z={type:"styling",body:[x],mode:"math",style:"display",resetFont:!0};a.push(z),u=qr()}i%2===0?a.push(u):a.shift(),a=[],n.push(a)}r.gullet.endGroup(),r.gullet.endGroup();var S=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:S,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}D({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],numArgs:1,handler(r,e){var t=r.parser,a=r.funcName;return{type:"cdlabel",mode:t.mode,side:a.slice(4),label:e[0]}},htmlBuilder(r,e){var t=e.havingStyle(e.style.sup()),a=ce(V(r.label,t,e),e);return a.classes.push("cd-label-"+r.side),a.style.bottom=I(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(r,e){var t=new T("mrow",[Y(r.label,e)]);return t=new T("mpadded",[t]),t.setAttribute("width","0"),r.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new T("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});D({type:"cdlabelparent",names:["\\\\cdparent"],numArgs:1,handler(r,e){var t=r.parser;return{type:"cdlabelparent",mode:t.mode,fragment:e[0]}},htmlBuilder(r,e){var t=ce(V(r.fragment,e),e);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(r,e){return new T("mrow",[Y(r.fragment,e)])}});D({type:"textord",names:["\\@char"],numArgs:1,allowedInText:!0,handler(r,e){var t=r.parser,a=$(e[0],"ordgroup"),n=_t(a,"\\@char has non-numeric argument"),i=parseInt(n),o;if(isNaN(i))throw new A("\\@char has non-numeric argument "+n);if(i<0||i>1114111)throw new A("\\@char with invalid code point "+n);return i<=65535?o=String.fromCharCode(i):(i-=65536,o=String.fromCharCode((i>>10)+55296,(i&1023)+56320)),{type:"textord",mode:t.mode,text:o}}});var Ai=(r,e)=>{var t=s0(r.body,e.withColor(r.color),!1);return F0(t)},Ti=(r,e)=>{var t=v0(r.body,e.withColor(r.color)),a=new T("mstyle",t);return a.setAttribute("mathcolor",r.color),a};D({type:"color",names:["\\textcolor"],numArgs:2,allowedInText:!0,argTypes:["color","original"],handler(r,e){var t=r.parser,a=$(e[0],"color-token").color,n=e[1];return{type:"color",mode:t.mode,color:a,body:t0(n)}},htmlBuilder:Ai,mathmlBuilder:Ti});D({type:"color",names:["\\color"],numArgs:1,allowedInText:!0,argTypes:["color"],handler(r,e){var t=r.parser,a=r.breakOnTokenText,n=$(e[0],"color-token").color;t.gullet.macros.set("\\current@color",n);var i=t.parseExpression(!0,a);return{type:"color",mode:t.mode,color:n,body:i}}});D({type:"cr",names:["\\\\"],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(r,e,t){var a=r.parser,n=a.gullet.future().text==="["?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&$(n,"size").value}},htmlBuilder(r,e){var t=M(["mspace"],[],e);return r.newLine&&(t.classes.push("katex-newline"),r.size&&(t.style.marginTop=I(_(r.size,e)))),t},mathmlBuilder(r,e){var t=new T("mspace");return r.newLine&&(t.setAttribute("linebreak","newline"),r.size&&t.setAttribute("height",I(_(r.size,e)))),t}});var Ot={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Na=r=>{var e=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new A("Expected a control sequence",r);return e},Ci=r=>{var e=r.gullet.popToken();return e.text==="="&&(e=r.gullet.popToken(),e.text===" "&&(e=r.gullet.popToken())),e},Ea=(r,e,t,a)=>{var n=r.gullet.macros.get(t.text);n==null&&(t.noexpand=!0,n={tokens:[t],numArgs:0,unexpandable:!r.gullet.isExpandable(t.text)}),r.gullet.macros.set(e,n,a)};D({type:"internal",names:["\\global","\\long","\\\\globallong"],numArgs:0,allowedInText:!0,handler(r){var e=r.parser,t=r.funcName;e.consumeSpaces();var a=e.fetch();if(Ot[a.text])return(t==="\\global"||t==="\\\\globallong")&&(a.text=Ot[a.text]),$(e.parseFunction(),"internal");throw new A("Invalid token after macro prefix",a)}});D({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],numArgs:0,allowedInText:!0,primitive:!0,handler(r){var e=r.parser,t=r.funcName,a=e.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new A("Expected a control sequence",a);for(var i=0,o,u=[[]];e.gullet.future().text!=="{";)if(a=e.gullet.popToken(),a.text==="#"){if(e.gullet.future().text==="{"){o=e.gullet.future(),u[i].push("{");break}if(a=e.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new A('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==i+1)throw new A('Argument number "'+a.text+'" out of order');i++,u.push([])}else{if(a.text==="EOF")throw new A("Expected a macro definition");u[i].push(a.text)}var c=e.gullet.consumeArg(),d=c.tokens;return o&&d.unshift(o),(t==="\\edef"||t==="\\xdef")&&(d=e.gullet.expandTokens(d),d.reverse()),e.gullet.macros.set(n,{tokens:d,numArgs:i,delimiters:u},t===Ot[t]),{type:"internal",mode:e.mode}}});D({type:"internal",names:["\\let","\\\\globallet"],numArgs:0,allowedInText:!0,primitive:!0,handler(r){var e=r.parser,t=r.funcName,a=Na(e.gullet.popToken());e.gullet.consumeSpaces();var n=Ci(e);return Ea(e,a,n,t==="\\\\globallet"),{type:"internal",mode:e.mode}}});D({type:"internal",names:["\\futurelet","\\\\globalfuture"],numArgs:0,allowedInText:!0,primitive:!0,handler(r){var e=r.parser,t=r.funcName,a=Na(e.gullet.popToken()),n=e.gullet.popToken(),i=e.gullet.popToken();return Ea(e,a,i,t==="\\\\globalfuture"),e.gullet.pushToken(i),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var ge=function(e,t,a){var n=Z.math[e]&&Z.math[e].replace,i=Yt(n||e,t,a);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},er=function(e,t,a,n){var i=a.havingBaseStyle(t),o=M(n.concat(i.sizingClasses(a)),[e],a),u=i.sizeMultiplier/a.sizeMultiplier;return o.height*=u,o.depth*=u,o.maxFontSize=i.sizeMultiplier,o},qa=function(e,t,a){var n=t.havingBaseStyle(a),i=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=I(i),e.height-=i,e.depth+=i},Bi=function(e,t,a,n,i,o){var u=u0(e,"Main-Regular",i,n),c=er(u,t,n,o);return qa(c,n,t),c},Ii=function(e,t,a,n){return u0(e,"Size"+t+"-Regular",a,n)},Ra=function(e,t,a,n,i,o){var u=Ii(e,t,i,n),c=er(M(["delimsizing","size"+t],[u],n),H.TEXT,n,o);return a&&qa(c,n,H.TEXT),c},dt=function(e,t,a){var n;t==="Size1-Regular"?n="delim-size1":n="delim-size4";var i=M(["delimsizinginner",n],[M([],[u0(e,t,a)])]);return{type:"elem",elem:i}},ft=function(e,t,a){var n=q0["Size4-Regular"][e.charCodeAt(0)]?q0["Size4-Regular"][e.charCodeAt(0)][4]:q0["Size1-Regular"][e.charCodeAt(0)][4],i=new ee("inner",N1(e,Math.round(1e3*t))),o=new X0([i],{width:I(n),height:I(t),style:"width:"+I(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),u=Y0([],[o],a);return u.height=t,u.style.height=I(t),u.style.width=I(n),{type:"elem",elem:u}},Ft=.008,Oe={type:"kern",size:-1*Ft},Di=new Set(["|","\\lvert","\\rvert","\\vert"]),Ni=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),La=function(e,t,a,n,i,o){var u,c,d,v,b="",y=0;u=d=v=e,c=null;var w="Size1-Regular";e==="\\uparrow"?d=v="⏐":e==="\\Uparrow"?d=v="‖":e==="\\downarrow"?u=d="⏐":e==="\\Downarrow"?u=d="‖":e==="\\updownarrow"?(u="\\uparrow",d="⏐",v="\\downarrow"):e==="\\Updownarrow"?(u="\\Uparrow",d="‖",v="\\Downarrow"):Di.has(e)?(d="∣",b="vert",y=333):Ni.has(e)?(d="∥",b="doublevert",y=556):e==="["||e==="\\lbrack"?(u="⎡",d="⎢",v="⎣",w="Size4-Regular",b="lbrack",y=667):e==="]"||e==="\\rbrack"?(u="⎤",d="⎥",v="⎦",w="Size4-Regular",b="rbrack",y=667):e==="\\lfloor"||e==="⌊"?(d=u="⎢",v="⎣",w="Size4-Regular",b="lfloor",y=667):e==="\\lceil"||e==="⌈"?(u="⎡",d=v="⎢",w="Size4-Regular",b="lceil",y=667):e==="\\rfloor"||e==="⌋"?(d=u="⎥",v="⎦",w="Size4-Regular",b="rfloor",y=667):e==="\\rceil"||e==="⌉"?(u="⎤",d=v="⎥",w="Size4-Regular",b="rceil",y=667):e==="("||e==="\\lparen"?(u="⎛",d="⎜",v="⎝",w="Size4-Regular",b="lparen",y=875):e===")"||e==="\\rparen"?(u="⎞",d="⎟",v="⎠",w="Size4-Regular",b="rparen",y=875):e==="\\{"||e==="\\lbrace"?(u="⎧",c="⎨",v="⎩",d="⎪",w="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(u="⎫",c="⎬",v="⎭",d="⎪",w="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(u="⎧",v="⎩",d="⎪",w="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(u="⎫",v="⎭",d="⎪",w="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(u="⎧",v="⎭",d="⎪",w="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(u="⎫",v="⎩",d="⎪",w="Size4-Regular");var x=ge(u,w,i),z=x.height+x.depth,S=ge(d,w,i),C=S.height+S.depth,E=ge(v,w,i),q=E.height+E.depth,R=0,j=1;if(c!==null){var L=ge(c,w,i);R=L.height+L.depth,j=2}var P=z+q+R,G=Math.max(0,Math.ceil((t-P)/(j*C))),X=P+G*j*C,J=n.fontMetrics().axisHeight;a&&(J*=n.sizeMultiplier);var d0=X/2-J,n0=[];if(b.length>0){var D0=X-z-q,k0=Math.round(X*1e3),w0=E1(b,Math.round(D0*1e3)),P0=new ee(b,w0),re=I(y/1e3),ae=I(k0/1e3),nt=new X0([P0],{width:re,height:ae,viewBox:"0 0 "+y+" "+k0}),H0=Y0([],[nt],n);H0.height=k0/1e3,H0.style.width=re,H0.style.height=ae,n0.push({type:"elem",elem:H0})}else{if(n0.push(dt(v,w,i)),n0.push(Oe),c===null){var j0=X-z-q+2*Ft;n0.push(ft(d,j0,n))}else{var fe=(X-z-q-R)/2+2*Ft;n0.push(ft(d,fe,n)),n0.push(Oe),n0.push(dt(c,w,i)),n0.push(Oe),n0.push(ft(d,fe,n))}n0.push(Oe),n0.push(dt(u,w,i))}var x0=n.havingBaseStyle(H.TEXT),Ae=W({positionType:"bottom",positionData:d0,children:n0});return er(M(["delimsizing","mult"],[Ae],x0),H.TEXT,n,o)},pt=80,vt=.08,gt=function(e,t,a,n,i){var o=D1(e,n,a),u=new ee(e,o),c=new X0([u],{width:"400em",height:I(t),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return Y0(["hide-tail"],[c],i)},Ei=function(e,t){var a=t.havingBaseSizing(),n=ja("\\surd",e*a.sizeMultiplier,Ha,a),i=a.sizeMultiplier,o=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),u,c,d,v,b;return n.type==="small"?(v=1e3+1e3*o+pt,e<1?i=1:e<1.4&&(i=.7),c=(1+o+vt)/i,d=(1+o)/i,u=gt("sqrtMain",c,v,o,t),u.style.minWidth="0.853em",b=.833/i):n.type==="large"?(v=(1e3+pt)*be[n.size],d=(be[n.size]+o)/i,c=(be[n.size]+o+vt)/i,u=gt("sqrtSize"+n.size,c,v,o,t),u.style.minWidth="1.02em",b=1/i):(c=e+o+vt,d=e+o,v=Math.floor(1e3*e+o)+pt,u=gt("sqrtTall",c,v,o,t),u.style.minWidth="0.742em",b=1.056),u.height=d,u.style.height=I(c),{span:u,advanceWidth:b,ruleWidth:(t.fontMetrics().sqrtRuleThickness+o)*i}},Oa=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),qi=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Fa=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),be=[0,1.2,1.8,2.4,3],Pa=function(e,t,a,n,i){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),Oa.has(e)||Fa.has(e))return Ra(e,t,!1,a,n,i);if(qi.has(e))return La(e,be[t],!1,a,n,i);throw new A("Illegal delimiter: '"+e+"'")},Ri=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Li=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"stack"}],Ha=[{type:"small",style:H.SCRIPTSCRIPT},{type:"small",style:H.SCRIPT},{type:"small",style:H.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Oi=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 t=e.type;throw new Error("Add support for delim type '"+t+"' here.")},ja=function(e,t,a,n){for(var i=Math.min(2,3-n.style.size),o=i;o<a.length;o++){var u=a[o];if(u.type==="stack")break;var c=ge(e,Oi(u),"math"),d=c.height+c.depth;if(u.type==="small"){var v=n.havingBaseStyle(u.style);d*=v.sizeMultiplier}if(d>t)return u}return a[a.length-1]},Pt=function(e,t,a,n,i,o){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var u;Fa.has(e)?u=Ri:Oa.has(e)?u=Ha:u=Li;var c=ja(e,t,u,n);return c.type==="small"?Bi(e,c.style,a,n,i,o):c.type==="large"?Ra(e,c.size,a,n,i,o):La(e,t,a,n,i,o)},bt=function(e,t,a,n,i,o){var u=n.fontMetrics().axisHeight*n.sizeMultiplier,c=901,d=5/n.fontMetrics().ptPerEm,v=Math.max(t-u,a+u),b=Math.max(v/500*c,2*v-d);return Pt(e,b,!0,n,i,o)},Lr={"\\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}},Fi=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 Or(r){return"isMiddle"in r}function _e(r,e){var t=Je(r);if(t&&Fi.has(t.text))return t;throw t?new A("Invalid delimiter '"+t.text+"' after '"+e.funcName+"'",r):new A("Invalid delimiter type '"+r.type+"'",r)}D({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],numArgs:1,argTypes:["primitive"],handler:(r,e)=>{var t=_e(ke(e[0]),r);return{type:"delimsizing",mode:r.parser.mode,size:Lr[r.funcName].size,mclass:Lr[r.funcName].mclass,delim:t.text}},htmlBuilder:(r,e)=>r.delim==="."?M([r.mclass]):Pa(r.delim,r.size,e,r.mode,[r.mclass]),mathmlBuilder:r=>{var e=[];r.delim!=="."&&e.push(y0(r.delim,r.mode));var t=new T("mo",e);r.mclass==="mopen"||r.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var a=I(be[r.size]);return t.setAttribute("minsize",a),t.setAttribute("maxsize",a),t}});function Fr(r){if(!r.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}D({type:"leftright-right",names:["\\right"],numArgs:1,primitive:!0,handler:(r,e)=>{var t=r.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new A("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:_e(e[0],r).text,color:t}}});D({type:"leftright",names:["\\left"],numArgs:1,primitive:!0,handler:(r,e)=>{var t=_e(e[0],r),a=r.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=$(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:t.text,right:i.delim,rightColor:i.color}},htmlBuilder:(r,e)=>{Fr(r);for(var t=s0(r.body,e,!0,["mopen","mclose"]),a=0,n=0,i=!1,o=0;o<t.length;o++){var u=t[o];Or(u)?i=!0:(a=Math.max(t[o].height,a),n=Math.max(t[o].depth,n))}a*=e.sizeMultiplier,n*=e.sizeMultiplier;var c;if(r.left==="."?c=Se(e,["mopen"]):c=bt(r.left,a,n,e,r.mode,["mopen"]),t.unshift(c),i)for(var d=1;d<t.length;d++){var v=t[d];if(Or(v)){var b=v.isMiddle;t[d]=bt(b.delim,a,n,b.options,r.mode,[])}}var y;if(r.right===".")y=Se(e,["mclose"]);else{var w=r.rightColor?e.withColor(r.rightColor):e;y=bt(r.right,a,n,w,r.mode,["mclose"])}return t.push(y),M(["minner"],t,e)},mathmlBuilder:(r,e)=>{Fr(r);var t=v0(r.body,e);if(r.left!=="."){var a=new T("mo",[y0(r.left,r.mode)]);a.setAttribute("fence","true"),t.unshift(a)}if(r.right!=="."){var n=new T("mo",[y0(r.right,r.mode)]);n.setAttribute("fence","true"),r.rightColor&&n.setAttribute("mathcolor",r.rightColor),t.push(n)}return Jt(t)}});D({type:"middle",names:["\\middle"],numArgs:1,primitive:!0,handler:(r,e)=>{var t=_e(e[0],r);if(!r.parser.leftrightDepth)throw new A("\\middle without preceding \\left",t);return{type:"middle",mode:r.parser.mode,delim:t.text}},htmlBuilder:(r,e)=>{var t;return r.delim==="."?t=Se(e,[]):(t=Pa(r.delim,1,e,r.mode,[]),t.isMiddle={delim:r.delim,options:e}),t},mathmlBuilder:(r,e)=>{var t=r.delim==="\\vert"||r.delim==="|"?y0("|","text"):y0(r.delim,r.mode),a=new T("mo",[t]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Pi=(r,e)=>{var t=ce(V(r.body,e),e),a=r.label.slice(1),n=e.sizeMultiplier,i,o,u=L0(r.body);if(a==="sout")i=M(["katex-stretchy","katex-sout"]),i.height=e.fontMetrics().defaultRuleThickness/n,o=-.5*e.fontMetrics().xHeight;else if(a==="phase"){var c=_({number:.6,unit:"pt"},e),d=_({number:.35,unit:"ex"},e),v=e.havingBaseSizing();n=n/v.sizeMultiplier;var b=t.height+t.depth+c+d;t.style.paddingLeft=I(b/2+c);var y=Math.floor(1e3*b*n),w=B1(y),x=new X0([new ee("phase",w)],{width:"400em",height:I(y/1e3),viewBox:"0 0 400000 "+y,preserveAspectRatio:"xMinYMin slice"});i=Y0(["hide-tail"],[x],e),i.style.height=I(b),o=t.depth+c+d}else{/cancel/.test(a)?u||t.classes.push("cancel-pad"):a==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var z,S,C=0;/box/.test(a)?(C=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),z=e.fontMetrics().fboxsep+(a==="colorbox"?0:C),S=z):a==="angl"?(C=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),z=4*C,S=Math.max(0,.25-t.depth)):(z=u?.2:0,S=z),i=mi(t,a,z,S,e),/fbox|boxed|fcolorbox/.test(a)?(i.style.borderStyle="solid",i.style.borderWidth=I(C)):a==="angl"&&C!==.049&&(i.style.borderTopWidth=I(C),i.style.borderRightWidth=I(C)),o=t.depth+S,r.backgroundColor&&(i.style.backgroundColor=r.backgroundColor,r.borderColor&&(i.style.borderColor=r.borderColor))}var E;if(r.backgroundColor)E=W({positionType:"individualShift",children:[{type:"elem",elem:i,shift:o},{type:"elem",elem:t,shift:0}]});else{var q=/cancel|phase/.test(a)?["svg-align"]:[];E=W({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:i,shift:o,wrapperClasses:q}]})}return/cancel/.test(a)&&(E.height=t.height,E.depth=t.depth),/cancel/.test(a)&&!u?M(["mord","cancel-lap"],[E],e):M(["mord"],[E],e)},Hi=(r,e)=>{var t,a=new T(r.label.includes("colorbox")?"mpadded":"menclose",[Y(r.body,e)]);switch(r.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*t+"pt"),a.setAttribute("height","+"+2*t+"pt"),a.setAttribute("lspace",t+"pt"),a.setAttribute("voffset",t+"pt"),r.label==="\\fcolorbox"){var n=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);a.setAttribute("style","border: "+I(n)+" solid "+r.borderColor)}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return r.backgroundColor&&a.setAttribute("mathbackground",r.backgroundColor),a};D({type:"enclose",names:["\\colorbox"],numArgs:2,allowedInText:!0,argTypes:["color","hbox"],handler(r,e,t){var a=r.parser,n=r.funcName,i=$(e[0],"color-token").color,o=e[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:o}},htmlBuilder:Pi,mathmlBuilder:Hi});D({type:"enclose",names:["\\fcolorbox"],numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"],handler(r,e,t){var a=r.parser,n=r.funcName,i=$(e[0],"color-token").color,o=$(e[1],"color-token").color,u=e[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:o,borderColor:i,body:u}}});D({type:"enclose",names:["\\fbox"],numArgs:1,argTypes:["hbox"],allowedInText:!0,handler(r,e){var t=r.parser;return{type:"enclose",mode:t.mode,label:"\\fbox",body:e[0]}}});D({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],numArgs:1,handler(r,e){var t=r.parser,a=r.funcName,n=e[0];return{type:"enclose",mode:t.mode,label:a,body:n}}});D({type:"enclose",names:["\\sout"],numArgs:1,allowedInText:!0,handler(r,e){var t=r.parser,a=r.funcName;t.mode==="math"&&t.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var n=e[0];return{type:"enclose",mode:t.mode,label:a,body:n}}});D({type:"enclose",names:["\\angl"],numArgs:1,argTypes:["hbox"],allowedInText:!1,handler(r,e){var t=r.parser;return{type:"enclose",mode:t.mode,label:"\\angl",body:e[0]}}});var Ua={};function C0(r){for(var e=r.type,t=r.names,a=r.props,n=r.handler,i=r.htmlBuilder,o=r.mathmlBuilder,u={type:e,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},c=0;c<t.length;++c)Ua[t[c]]=u;i&&(we[e]=i),o&&(xe[e]=o)}var $a={};function m(r,e){$a[r]=e}class m0{constructor(e,t,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=a}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new m0(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class f0{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new f0(t,m0.range(this,e))}}function Pr(r){var e=[];r.consumeSpaces();var t=r.fetch().text;for(t==="\\relax"&&(r.consume(),r.consumeSpaces(),t=r.fetch().text);t==="\\hline"||t==="\\hdashline";)r.consume(),e.push(t==="\\hdashline"),r.consumeSpaces(),t=r.fetch().text;return e}var et=r=>{var e=r.parser.settings;if(!e.displayMode)throw new A("{"+r.envName+"} can be used only in display mode.")},ji=new Set(["gather","gather*"]);function tr(r){if(!r.includes("ed"))return!r.includes("*")}function K0(r,e,t){var a=e.hskipBeforeAndAfter,n=e.addJot,i=e.cols,o=e.arraystretch,u=e.colSeparationType,c=e.autoTag,d=e.singleRow,v=e.emptySingleRow,b=e.maxNumCols,y=e.leqno;if(r.gullet.beginGroup(),d||r.gullet.macros.set("\\cr","\\\\\\relax"),!o){var w=r.gullet.expandMacroAsText("\\arraystretch");if(w==null)o=1;else if(o=parseFloat(w),!o||o<0)throw new A("Invalid \\arraystretch: "+w)}r.gullet.beginGroup();var x=[],z=[x],S=[],C=[],E=c!=null?[]:void 0;function q(){c&&r.gullet.macros.set("\\@eqnsw","1",!0)}function R(){E&&(r.gullet.macros.get("\\df@tag")?(E.push(r.subparse([new f0("\\df@tag")])),r.gullet.macros.set("\\df@tag",void 0,!0)):E.push(!!c&&r.gullet.macros.get("\\@eqnsw")==="1"))}for(q(),C.push(Pr(r));;){var j=r.parseExpression(!1,d?"\\end":"\\\\");r.gullet.endGroup(),r.gullet.beginGroup();var L={type:"ordgroup",mode:r.mode,body:j};t&&(L={type:"styling",mode:r.mode,style:t,resetFont:!0,body:[L]}),x.push(L);var P=r.fetch().text;if(P==="&"){if(b&&x.length===b){if(d||u)throw new A("Too many tab characters: &",r.nextToken);r.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}r.consume()}else if(P==="\\end"){R(),x.length===1&&L.type==="styling"&&L.body.length===1&&L.body[0].type==="ordgroup"&&L.body[0].body.length===0&&(z.length>1||!v)&&z.pop(),C.length<z.length+1&&C.push([]);break}else if(P==="\\\\"){r.consume();var G=void 0;r.gullet.future().text!==" "&&(G=r.parseSizeGroup(!0)),S.push(G?G.value:null),R(),C.push(Pr(r)),x=[],z.push(x),q()}else throw new A("Expected & or \\\\ or \\cr or \\end",r.nextToken)}return r.gullet.endGroup(),r.gullet.endGroup(),{type:"array",mode:r.mode,addJot:n,arraystretch:o,body:z,cols:i,rowGaps:S,hskipBeforeAndAfter:a,hLinesBeforeRow:C,colSeparationType:u,tags:E,leqno:y}}function rr(r){return r.slice(0,1)==="d"?"display":"text"}var B0=function(e,t){var a,n,i=e.body.length,o=e.hLinesBeforeRow,u=0,c=new Array(i),d=[],v=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),b=1/t.fontMetrics().ptPerEm,y=5*b;if(e.colSeparationType&&e.colSeparationType==="small"){var w=t.havingStyle(H.SCRIPT).sizeMultiplier;y=.2778*(w/t.sizeMultiplier)}var x=e.colSeparationType==="CD"?_({number:3,unit:"ex"},t):12*b,z=3*b,S=e.arraystretch*x,C=.7*S,E=.3*S,q=0;function R(Ie){for(var De=0;De<Ie.length;++De)De>0&&(q+=.25),d.push({pos:q,isDashed:Ie[De]})}for(R(o[0]),a=0;a<e.body.length;++a){var j=e.body[a],L=C,P=E;u<j.length&&(u=j.length);var G={cells:new Array(j.length),height:0,depth:0,pos:0};for(n=0;n<j.length;++n){var X=V(j[n],t);P<X.depth&&(P=X.depth),L<X.height&&(L=X.height),G.cells[n]=X}var J=e.rowGaps[a],d0=0;J&&(d0=_(J,t),d0>0&&(d0+=E,P<d0&&(P=d0),d0=0)),e.addJot&&a<e.body.length-1&&(P+=z),G.height=L,G.depth=P,q+=L,G.pos=q,q+=P+d0,c[a]=G,R(o[a+1])}var n0=q/2+t.fontMetrics().axisHeight,D0=e.cols||[],k0=[],w0,P0,re=[];if(e.tags&&e.tags.some(Ie=>Ie))for(a=0;a<i;++a){var ae=c[a],nt=ae.pos-n0,H0=e.tags[a],j0=void 0;H0===!0?j0=M(["eqn-num"],[],t):H0===!1?j0=M([],[],t):j0=M([],s0(H0,t,!0),t),j0.depth=ae.depth,j0.height=ae.height,re.push({type:"elem",elem:j0,shift:nt})}for(n=0,P0=0;n<u||P0<D0.length;++n,++P0){for(var fe,x0=D0[P0],Ae=!0;((ir=x0)==null?void 0:ir.type)==="separator";){var ir;if(Ae||(w0=M(["arraycolsep"],[]),w0.style.width=I(t.fontMetrics().doubleRuleSep),k0.push(w0)),x0.separator==="|"||x0.separator===":"){var cn=x0.separator==="|"?"solid":"dashed",ne=M(["vertical-separator"],[],t);ne.style.height=I(q),ne.style.borderRightWidth=I(v),ne.style.borderRightStyle=cn,ne.style.margin="0 "+I(-v/2);var sr=q-n0;sr&&(ne.style.verticalAlign=I(-sr)),k0.push(ne)}else throw new A("Invalid separator type: "+x0.separator);P0++,x0=D0[P0],Ae=!1}if(!(n>=u)){var ie=void 0;if(n>0||e.hskipBeforeAndAfter){var lr,or;ie=(lr=(or=x0)==null?void 0:or.pregap)!=null?lr:y,ie!==0&&(w0=M(["arraycolsep"],[]),w0.style.width=I(ie),k0.push(w0))}var ur=[];for(a=0;a<i;++a){var Te=c[a],Ce=Te.cells[n];if(Ce){var mn=Te.pos-n0;Ce.depth=Te.depth,Ce.height=Te.height,ur.push({type:"elem",elem:Ce,shift:mn})}}var dn=W({positionType:"individualShift",children:ur}),fn=M(["col-align-"+(((fe=x0)==null?void 0:fe.align)||"c")],[dn]);if(k0.push(fn),n<u-1||e.hskipBeforeAndAfter){var hr,cr;ie=(hr=(cr=x0)==null?void 0:cr.postgap)!=null?hr:y,ie!==0&&(w0=M(["arraycolsep"],[]),w0.style.width=I(ie),k0.push(w0))}}}var Be=M(["mtable"],k0);if(d.length>0){for(var pn=he("katex-hline",t,v),vn=he("katex-hdashline",t,v),it=[{type:"elem",elem:Be,shift:0}];d.length>0;){var mr=d.pop(),dr=mr.pos-n0;mr.isDashed?it.push({type:"elem",elem:vn,shift:dr}):it.push({type:"elem",elem:pn,shift:dr})}Be=W({positionType:"individualShift",children:it})}if(re.length===0)return M(["mord"],[Be],t);var gn=W({positionType:"individualShift",children:re}),bn=M(["katex-tag"],[gn],t);return F0([Be,bn])},Ui={c:"center ",l:"left ",r:"right "},I0=function(e,t){for(var a=[],n=new T("mtd",[],["mtr-glue"]),i=new T("mtd",[],["mml-eqn-num"]),o=0;o<e.body.length;o++){for(var u=e.body[o],c=[],d=0;d<u.length;d++)c.push(new T("mtd",[Y(u[d],t)]));e.tags&&e.tags[o]&&(c.unshift(n),c.push(n),e.leqno?c.unshift(i):c.push(i)),a.push(new T("mtr",c))}var v=new T("mtable",a),b=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);v.setAttribute("rowspacing",I(b));var y="",w="";if(e.cols&&e.cols.length>0){var x=e.cols,z="",S=!1,C=0,E=x.length;x[0].type==="separator"&&(y+="top ",C=1),x[x.length-1].type==="separator"&&(y+="bottom ",E-=1);for(var q=C;q<E;q++){var R=x[q];R.type==="align"?(w+=Ui[R.align],S&&(z+="none "),S=!0):R.type==="separator"&&S&&(z+=R.separator==="|"?"solid ":"dashed ",S=!1)}v.setAttribute("columnalign",w.trim()),/[sd]/.test(z)&&v.setAttribute("columnlines",z.trim())}if(e.colSeparationType==="align"){for(var j=e.cols||[],L="",P=1;P<j.length;P++)L+=P%2?"0em ":"1em ";v.setAttribute("columnspacing",L.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?v.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?v.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?v.setAttribute("columnspacing","0.5em"):v.setAttribute("columnspacing","1em");var G="",X=e.hLinesBeforeRow;y+=X[0].length>0?"left ":"",y+=X[X.length-1].length>0?"right ":"";for(var J=1;J<X.length-1;J++)G+=X[J].length===0?"none ":X[J][0]?"dashed ":"solid ";return/[sd]/.test(G)&&v.setAttribute("rowlines",G.trim()),y!==""&&(v=new T("menclose",[v]),v.setAttribute("notation",y.trim())),e.arraystretch&&e.arraystretch<1&&(v=new T("mstyle",[v]),v.setAttribute("scriptlevel","1")),v},Ga=function(e,t){e.envName.includes("ed")||et(e);var a=[],n=e.envName==="split",i=K0(e.parser,{cols:a,addJot:!0,autoTag:n?void 0:tr(e.envName),emptySingleRow:!0,colSeparationType:e.envName.includes("at")?"alignat":"align",maxNumCols:n?2:void 0,leqno:e.parser.settings.leqno},"display"),o=0,u=0,c={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){var d="Number of columns should be a positive integer",v=_t(t[0],d);if(!/^[0-9]+$/.test(v)||Number(v)<1)throw new A(d,t[0]);o=Number(v),u=o*2}var b=!u;i.body.forEach(function(z){for(var S=1;S<z.length;S+=2){var C=$(z[S],"styling"),E=$(C.body[0],"ordgroup");E.body.unshift(c)}if(b)u<z.length&&(u=z.length);else{var q=z.length/2;if(o<q)throw new A("Too many math in a row: "+("expected "+o+", but got "+q),z[0])}});for(var y=0;y<u;++y){var w="r",x=0;y%2===1?w="l":y>0&&b&&(x=1),a[y]={type:"align",align:w,pregap:x,postgap:0}}return i.colSeparationType=b?"align":"alignat",i};C0({type:"array",names:["array","darray"],props:{numArgs:1},handler(r,e){var t=Je(e[0]),a=t?[e[0]]:$(e[0],"ordgroup").body,n=a.map(function(o){var u=Ke(o),c=u.text;if("lcr".includes(c))return{type:"align",align:c};if(c==="|")return{type:"separator",separator:"|"};if(c===":")return{type:"separator",separator:":"};throw new A("Unknown column alignment: "+c,o)}),i={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return K0(r.parser,i,rr(r.envName))},htmlBuilder:B0,mathmlBuilder:I0});C0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(r){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName.replace("*","")],t="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(r.envName.charAt(r.envName.length-1)==="*"){var n=r.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),t=n.fetch().text,!"lcr".includes(t))throw new A("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:t}]}}var i=K0(r.parser,a,rr(r.envName)),o=Math.max(0,...i.body.map(u=>u.length));return i.cols=new Array(o).fill({type:"align",align:t}),e?{type:"leftright",mode:r.mode,body:[i],left:e[0],right:e[1],rightColor:void 0}:i},htmlBuilder:B0,mathmlBuilder:I0});C0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(r){var e={arraystretch:.5},t=K0(r.parser,e,"script");return t.colSeparationType="small",t},htmlBuilder:B0,mathmlBuilder:I0});C0({type:"array",names:["subarray"],props:{numArgs:1},handler(r,e){var t=Je(e[0]),a=t?[e[0]]:$(e[0],"ordgroup").body,n=a.map(function(u){var c=Ke(u),d=c.text;if("lc".includes(d))return{type:"align",align:d};throw new A("Unknown column alignment: "+d,u)});if(n.length>1)throw new A("{subarray} can contain only one column");var i={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5},o=K0(r.parser,i,"script");if(o.body.length>0&&o.body[0].length>1)throw new A("{subarray} can contain only one column");return o},htmlBuilder:B0,mathmlBuilder:I0});C0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(r){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=K0(r.parser,e,rr(r.envName));return{type:"leftright",mode:r.mode,body:[t],left:r.envName.includes("r")?".":"\\{",right:r.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:B0,mathmlBuilder:I0});C0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Ga,htmlBuilder:B0,mathmlBuilder:I0});C0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(r){ji.has(r.envName)&&et(r);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:tr(r.envName),emptySingleRow:!0,leqno:r.parser.settings.leqno};return K0(r.parser,e,"display")},htmlBuilder:B0,mathmlBuilder:I0});C0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Ga,htmlBuilder:B0,mathmlBuilder:I0});C0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(r){et(r);var e={autoTag:tr(r.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:r.parser.settings.leqno};return K0(r.parser,e,"display")},htmlBuilder:B0,mathmlBuilder:I0});C0({type:"array",names:["CD"],props:{numArgs:0},handler(r){return et(r),zi(r.parser)},htmlBuilder:B0,mathmlBuilder:I0});m("\\nonumber","\\gdef\\@eqnsw{0}");m("\\notag","\\nonumber");D({type:"text",names:["\\hline","\\hdashline"],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(r,e){throw new A(r.funcName+" valid only within array environment")}});var Hr=Ua;D({type:"environment",names:["\\begin","\\end"],numArgs:1,argTypes:["text"],handler(r,e){var t=r.parser,a=r.funcName,n=e[0];if(n.type!=="ordgroup")throw new A("Invalid environment name",n);var i=_t(n,"Environment name should contain only text characters and spaces",!0);if(a==="\\begin"){if(!Object.prototype.hasOwnProperty.call(Hr,i))throw new A("No such environment: "+i,n);var o=Hr[i],u=t.parseArguments("\\begin{"+i+"}",o),c=u.args,d=u.optArgs,v={mode:t.mode,envName:i,parser:t},b=o.handler(v,c,d);t.expect("\\end",!1);var y=t.nextToken,w=$(t.parseFunction(),"environment");if(w.name!==i)throw new A("Mismatch: \\begin{"+i+"} matched by \\end{"+w.name+"}",y);return b}return{type:"environment",mode:t.mode,name:i,nameGroup:n}}});var $i=(r,e)=>{var t=r.font,a=e.withFont(t);return V(r.body,a)},Gi=(r,e)=>{var t=r.font,a=e.withFont(t);return Y(r.body,a)},jr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};D({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],numArgs:1,allowedInArgument:!0,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=ke(e[0]),i=a in jr?jr[a]:a;return{type:"font",mode:t.mode,font:i.slice(1),body:n}},htmlBuilder:$i,mathmlBuilder:Gi});D({type:"mclass",names:["\\boldsymbol","\\bm"],numArgs:1,handler:(r,e)=>{var t=r.parser,a=e[0];return{type:"mclass",mode:t.mode,mclass:Qe(a),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:a}],isCharacterBox:L0(a)}}});D({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],numArgs:0,allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=r.breakOnTokenText,i=t.mode,o=t.parseExpression(!0,n);return{type:"font",mode:i,font:"math"+a.slice(1),body:{type:"ordgroup",mode:t.mode,body:o}}}});var Wi=(r,e)=>{var t=e.style,a=t.fracNum(),n=t.fracDen(),i;i=e.havingStyle(a);var o=V(r.numer,i,e);if(r.continued){var u=8.5/e.fontMetrics().ptPerEm,c=3.5/e.fontMetrics().ptPerEm;o.height=o.height<u?u:o.height,o.depth=o.depth<c?c:o.depth}i=e.havingStyle(n);var d=V(r.denom,i,e),v,b,y;r.hasBarLine?(r.barSize?(b=_(r.barSize,e),v=he("frac-line",e,b)):v=he("frac-line",e),b=v.height,y=v.height):(v=null,b=0,y=e.fontMetrics().defaultRuleThickness);var w,x,z;t.size===H.DISPLAY.size?(w=e.fontMetrics().num1,b>0?x=3*y:x=7*y,z=e.fontMetrics().denom1):(b>0?(w=e.fontMetrics().num2,x=y):(w=e.fontMetrics().num3,x=3*y),z=e.fontMetrics().denom2);var S;if(v){var E=e.fontMetrics().axisHeight;w-o.depth-(E+.5*b)<x&&(w+=x-(w-o.depth-(E+.5*b))),E-.5*b-(d.height-z)<x&&(z+=x-(E-.5*b-(d.height-z)));var q=-(E-.5*b);S=W({positionType:"individualShift",children:[{type:"elem",elem:d,shift:z},{type:"elem",elem:v,shift:q},{type:"elem",elem:o,shift:-w}]})}else{var C=w-o.depth-(d.height-z);C<x&&(w+=.5*(x-C),z+=.5*(x-C)),S=W({positionType:"individualShift",children:[{type:"elem",elem:d,shift:z},{type:"elem",elem:o,shift:-w}]})}i=e.havingStyle(t),S.height*=i.sizeMultiplier/e.sizeMultiplier,S.depth*=i.sizeMultiplier/e.sizeMultiplier;var R;t.size===H.DISPLAY.size?R=e.fontMetrics().delim1:t.size===H.SCRIPTSCRIPT.size?R=e.havingStyle(H.SCRIPT).fontMetrics().delim2:R=e.fontMetrics().delim2;var j,L;return r.leftDelim==null?j=Se(e,["mopen"]):j=Pt(r.leftDelim,R,!0,e.havingStyle(t),r.mode,["mopen"]),r.continued?L=M([]):r.rightDelim==null?L=Se(e,["mclose"]):L=Pt(r.rightDelim,R,!0,e.havingStyle(t),r.mode,["mclose"]),M(["mord"].concat(i.sizingClasses(e)),[j,M(["mfrac"],[S]),L],e)},Vi=(r,e)=>{var t=new T("mfrac",[Y(r.numer,e),Y(r.denom,e)]);if(!r.hasBarLine)t.setAttribute("linethickness","0px");else if(r.barSize){var a=_(r.barSize,e);t.setAttribute("linethickness",I(a))}if(r.leftDelim!=null||r.rightDelim!=null){var n=[];if(r.leftDelim!=null){var i=new T("mo",[new r0(r.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),n.push(i)}if(n.push(t),r.rightDelim!=null){var o=new T("mo",[new r0(r.rightDelim.replace("\\",""))]);o.setAttribute("fence","true"),n.push(o)}return Jt(n)}return t},Wa=(r,e)=>{if(!e)return r;var t={type:"styling",mode:r.mode,style:e,body:[r]};return t};D({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],numArgs:2,allowedInArgument:!0,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=e[0],i=e[1],o,u=null,c=null;switch(a){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,u="(",c=")";break;case"\\\\bracefrac":o=!1,u="\\{",c="\\}";break;case"\\\\brackfrac":o=!1,u="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}var d=a==="\\cfrac",v=null;return d||a.startsWith("\\d")?v="display":a.startsWith("\\t")&&(v="text"),Wa({type:"genfrac",mode:t.mode,numer:n,denom:i,continued:d,hasBarLine:o,leftDelim:u,rightDelim:c,barSize:null},v)},htmlBuilder:Wi,mathmlBuilder:Vi});D({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],numArgs:0,infix:!0,handler(r){var e=r.parser,t=r.funcName,a=r.token,n;switch(t){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:n,token:a}}});var Ur=["display","text","script","scriptscript"],$r=function(e){var t=null;return e.length>0&&(t=e,t=t==="."?null:t),t};D({type:"genfrac",names:["\\genfrac"],numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"],handler(r,e){var t=r.parser,a=e[4],n=e[5],i=ke(e[0]),o=i.type==="atom"&&i.family==="open"?$r(i.text):null,u=ke(e[1]),c=u.type==="atom"&&u.family==="close"?$r(u.text):null,d=$(e[2],"size"),v,b=null;d.isBlank?v=!0:(b=d.value,v=b.number>0);var y=null,w=e[3];if(w.type==="ordgroup"){if(w.body.length>0){var x=$(w.body[0],"textord");y=Ur[Number(x.text)]}}else w=$(w,"textord"),y=Ur[Number(w.text)];return Wa({type:"genfrac",mode:t.mode,numer:a,denom:n,continued:!1,hasBarLine:v,barSize:b,leftDelim:o,rightDelim:c},y)}});D({type:"infix",names:["\\above"],numArgs:1,argTypes:["size"],infix:!0,handler(r,e){var t=r.parser;r.funcName;var a=r.token;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:$(e[0],"size").value,token:a}}});D({type:"genfrac",names:["\\\\abovefrac"],numArgs:3,argTypes:["math","size","math"],handler:(r,e)=>{var t=r.parser;r.funcName;var a=e[0],n=$(e[1],"infix").size;if(!n)throw new Error("\\\\abovefrac expected size, but got "+String(n));var i=e[2],o=n.number>0;return{type:"genfrac",mode:t.mode,numer:a,denom:i,continued:!1,hasBarLine:o,barSize:n,leftDelim:null,rightDelim:null}}});var Va=(r,e)=>{var t=e.style,a,n;r.type==="supsub"?(a=r.sup?V(r.sup,e.havingStyle(t.sup()),e):V(r.sub,e.havingStyle(t.sub()),e),n=$(r.base,"horizBrace")):n=$(r,"horizBrace");var i=V(n.base,e.havingBaseStyle(H.DISPLAY)),o=Ze(n,e),u;if(n.isOver?u=W({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o,wrapperClasses:["svg-align"]}]}):u=W({positionType:"bottom",positionData:i.depth+.1+o.height,children:[{type:"elem",elem:o,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:i}]}),a){var c=M(["minner",n.isOver?"mover":"munder"],[u],e);n.isOver?u=W({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:a}]}):u=W({positionType:"bottom",positionData:c.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:c}]})}return M(["minner",n.isOver?"mover":"munder"],[u],e)},Xi=(r,e)=>{var t=Ye(r.label);return new T(r.isOver?"mover":"munder",[Y(r.base,e),t])};D({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],numArgs:1,handler(r,e){var t=r.parser,a=r.funcName;return{type:"horizBrace",mode:t.mode,label:a,isOver:a.includes("\\over"),base:e[0]}},htmlBuilder:Va,mathmlBuilder:Xi});D({type:"href",names:["\\href"],numArgs:2,argTypes:["url","original"],allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=e[1],n=$(e[0],"url").url;return t.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:t.mode,href:n,body:t0(a)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(r,e)=>{var t=s0(r.body,e,!1);return Y1(r.href,[],t,e)},mathmlBuilder:(r,e)=>{var t=Z0(r.body,e);return t instanceof T||(t=new T("mrow",[t])),t.setAttribute("href",r.href),t}});D({type:"href",names:["\\url"],numArgs:1,argTypes:["url"],allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=$(e[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:a}))return t.formatUnsupportedCmd("\\url");for(var n=[],i=0;i<a.length;i++){var o=a[i];o==="~"&&(o="\\textasciitilde"),n.push({type:"textord",mode:"text",text:o})}var u={type:"text",mode:t.mode,font:"\\texttt",body:n};return{type:"href",mode:t.mode,href:a,body:t0(u)}}});D({type:"hbox",names:["\\hbox"],numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0,handler(r,e){var t=r.parser;return{type:"hbox",mode:t.mode,body:t0(e[0])}},htmlBuilder(r,e){var t=s0(r.body,e.withFont(""),!1);return F0(t)},mathmlBuilder(r,e){return new T("mrow",v0(r.body,e.withFont("")))}});D({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],numArgs:2,argTypes:["raw","original"],allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=r.funcName;r.token;var n=$(e[0],"raw").string,i=e[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,u={};switch(a){case"\\htmlClass":u.class=n,o={command:"\\htmlClass",class:n};break;case"\\htmlId":u.id=n,o={command:"\\htmlId",id:n};break;case"\\htmlStyle":u.style=n,o={command:"\\htmlStyle",style:n};break;case"\\htmlData":{for(var c="{,}",d=[],v="",b=0;b<n.length;b++)n.startsWith(c,b)?(v+=",",b+=c.length-1):n[b]===","?(d.push(v),v=""):v+=n[b];d.push(v);for(var y=0;y<d.length;y++){var w=d[y],x=w.indexOf("=");if(x<0)throw new A("\\htmlData key/value '"+w+"' missing equals sign");var z=w.slice(0,x),S=w.slice(x+1);u["data-"+z.trim()]=S}o={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return t.settings.isTrusted(o)?{type:"html",mode:t.mode,attributes:u,body:t0(i)}:t.formatUnsupportedCmd(a)},htmlBuilder:(r,e)=>{var t=s0(r.body,e,!1),a=["enclosing"];r.attributes.class&&a.push(...r.attributes.class.trim().split(/\s+/));var n=M(a,t,e);for(var i of Object.entries(r.attributes)){var o=i[0],u=i[1];o!=="class"&&n.setAttribute(o,u)}return n},mathmlBuilder:(r,e)=>Z0(r.body,e)});D({type:"htmlmathml",names:["\\html@mathml"],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(r,e)=>{var t=r.parser;return{type:"htmlmathml",mode:t.mode,html:t0(e[0]),mathml:t0(e[1])}},htmlBuilder:(r,e)=>{var t=s0(r.html,e,!1);return F0(t)},mathmlBuilder:(r,e)=>Z0(r.mathml,e)});var yt=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new A("Invalid size: '"+e+"' in \\includegraphics");var a={number:+(t[1]+t[2]),unit:t[3]};if(!ga(a))throw new A("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};D({type:"includegraphics",names:["\\includegraphics"],numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1,handler:(r,e,t)=>{var a=r.parser,n={number:0,unit:"em"},i={number:.9,unit:"em"},o={number:0,unit:"em"},u="";if(t[0])for(var c=$(t[0],"raw").string,d=c.split(","),v=0;v<d.length;v++){var b=d[v].split("=");if(b.length===2){var y=b[1].trim();switch(b[0].trim()){case"alt":u=y;break;case"width":n=yt(y);break;case"height":i=yt(y);break;case"totalheight":o=yt(y);break;default:throw new A("Invalid key: '"+b[0]+"' in \\includegraphics.")}}}var w=$(e[0],"url").url;return u===""&&(u=w,u=u.replace(/^.*[\\/]/,""),u=u.substring(0,u.lastIndexOf("."))),a.settings.isTrusted({command:"\\includegraphics",url:w})?{type:"includegraphics",mode:a.mode,alt:u,width:n,height:i,totalheight:o,src:w}:a.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(r,e)=>{var t=_(r.height,e),a=0;r.totalheight.number>0&&(a=_(r.totalheight,e)-t);var n=0;r.width.number>0&&(n=_(r.width,e));var i={height:I(t+a)};n>0&&(i.width=I(n)),a>0&&(i.verticalAlign=I(-a));var o=new O1(r.src,r.alt,i);return o.height=t,o.depth=a,o},mathmlBuilder:(r,e)=>{var t=new T("mglyph",[]);t.setAttribute("alt",r.alt);var a=_(r.height,e),n=0;if(r.totalheight.number>0&&(n=_(r.totalheight,e)-a,t.setAttribute("valign",I(-n))),t.setAttribute("height",I(a+n)),r.width.number>0){var i=_(r.width,e);t.setAttribute("width",I(i))}return t.setAttribute("src",r.src),t}});D({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0,handler(r,e){var t=r.parser,a=r.funcName,n=$(e[0],"size");if(t.settings.strict){var i=a[1]==="m",o=n.value.unit==="mu";i?(o||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+n.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):o&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:n.value}},htmlBuilder(r,e){return Sa(r.dimension,e)},mathmlBuilder(r,e){var t=_(r.dimension,e);return new Ba(t)}});D({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],numArgs:1,allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=e[0];return{type:"lap",mode:t.mode,alignment:a.slice(5),body:n}},htmlBuilder:(r,e)=>{var t;r.alignment==="clap"?(t=M([],[V(r.body,e)]),t=M(["katex-inner"],[t],e)):t=M(["katex-inner"],[V(r.body,e)]);var a=M(["katex-fix"],[]),n=M([r.alignment],[t,a],e),i=M(["katex-strut"]);return i.style.height=I(n.height+n.depth),n.depth&&(i.style.verticalAlign=I(-n.depth)),n.children.unshift(i),n=M(["katex-thinbox"],[n],e),M(["mord","katex-vbox"],[n],e)},mathmlBuilder:(r,e)=>{var t=new T("mpadded",[Y(r.body,e)]);if(r.alignment!=="rlap"){var a=r.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",a+"width")}return t.setAttribute("width","0px"),t}});D({type:"styling",names:["\\(","$"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(r,e){var t=r.funcName,a=r.parser,n=a.mode;a.switchMode("math");var i=t==="\\("?"\\)":"$",o=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",resetFont:!0,body:o}}});D({type:"text",names:["\\)","\\]"],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(r,e){throw new A("Mismatched "+r.funcName)}});var Gr=(r,e)=>{switch(e.style.size){case H.DISPLAY.size:return r.display;case H.TEXT.size:return r.text;case H.SCRIPT.size:return r.script;case H.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};D({type:"mathchoice",names:["\\mathchoice"],numArgs:4,primitive:!0,handler:(r,e)=>{var t=r.parser;return{type:"mathchoice",mode:t.mode,display:t0(e[0]),text:t0(e[1]),script:t0(e[2]),scriptscript:t0(e[3])}},htmlBuilder:(r,e)=>{var t=Gr(r,e),a=s0(t,e,!1);return F0(a)},mathmlBuilder:(r,e)=>{var t=Gr(r,e);return Z0(t,e)}});var Xa=(r,e,t,a,n,i,o)=>{r=M([],[r]);var u=t&&L0(t),c,d;if(e){var v=V(e,a.havingStyle(n.sup()),a);d={elem:v,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-v.depth)}}if(t){var b=V(t,a.havingStyle(n.sub()),a);c={elem:b,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-b.height)}}var y;if(d&&c){var w=a.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+r.depth+o;y=W({positionType:"bottom",positionData:w,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:I(-i)},{type:"kern",size:c.kern},{type:"elem",elem:r},{type:"kern",size:d.kern},{type:"elem",elem:d.elem,marginLeft:I(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]})}else if(c){var x=r.height-o;y=W({positionType:"top",positionData:x,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:I(-i)},{type:"kern",size:c.kern},{type:"elem",elem:r}]})}else if(d){var z=r.depth+o;y=W({positionType:"bottom",positionData:z,children:[{type:"elem",elem:r},{type:"kern",size:d.kern},{type:"elem",elem:d.elem,marginLeft:I(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]})}else return r;var S=[y];if(c&&i!==0&&!u){var C=M(["mspace"],[],a);C.style.marginRight=I(i),S.unshift(C)}return M(["mop","op-limits"],S,a)},Ya=new Set(["\\smallint"]),Za=(r,e)=>{var t,a,n=!1,i;r.type==="supsub"?(t=r.sup,a=r.sub,i=$(r.base,"op"),n=!0):i=$(r,"op");var o=e.style,u=!1;o.size===H.DISPLAY.size&&i.symbol&&!Ya.has(i.name)&&(u=!0);var c,d;if(i.symbol){var v=u?"Size2-Regular":"Size1-Regular",b="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(b=i.name.slice(1),i.name=b==="oiint"?"\\iint":"\\iiint"),c=u0(i.name,v,"math",e,["mop","op-symbol",u?"large-op":"small-op"]),d=c.italic,b.length>0){var y=za(b+"Size"+(u?"2":"1"),e);c=W({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:y,shift:u?.08:0}]}),i.name="\\"+b,c.classes.unshift("mop"),c.italic=d}}else if(i.body){var w=s0(i.body,e,!0);w.length===1&&w[0]instanceof b0?(c=w[0],c.classes[0]="mop"):c=M(["mop"],w,e)}else{for(var x=[],z=1;z<i.name.length;z++)x.push(Zt(i.name[z],i.mode,e));c=M(["mop"],x,e)}var S=0,C=0;if((c instanceof b0||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift){var E;S=(c.height-c.depth)/2-e.fontMetrics().axisHeight,C=(E=c.italic)!=null?E:0}return n?Xa(c,t,a,e,o,C,S):(S&&(c.style.position="relative",c.style.top=I(S)),c)},Yi=(r,e)=>{var t;if(r.symbol)t=new T("mo",[y0(r.name,r.mode)]),Ya.has(r.name)&&t.setAttribute("largeop","false");else if(r.body)t=new T("mo",v0(r.body,e));else{t=new T("mi",[new r0(r.name.slice(1))]);var a=new T("mo",[y0("","text")]);r.parentIsSupSub?t=new T("mrow",[t,a]):t=Ca([t,a])}return t},Zi={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};D({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],numArgs:0,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=a;return n.length===1&&(n=Zi[n]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Za,mathmlBuilder:Yi});D({type:"op",names:["\\mathop"],numArgs:1,primitive:!0,handler:(r,e)=>{var t=r.parser,a=e[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:t0(a)}}});var Ki={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};D({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(r){var e=r.parser,t=r.funcName;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}}});D({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],numArgs:0,handler(r){var e=r.parser,t=r.funcName;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}}});D({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],numArgs:0,allowedInArgument:!0,handler(r){var e=r.parser,t=r.funcName,a=t;return a.length===1&&(a=Ki[a]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}}});var Ka=(r,e)=>{var t,a,n=!1,i;r.type==="supsub"?(t=r.sup,a=r.sub,i=$(r.base,"operatorname"),n=!0):i=$(r,"operatorname");var o;if(i.body.length>0){for(var u=i.body.map(b=>{var y="text"in b?b.text:void 0;return typeof y=="string"?{type:"textord",mode:b.mode,text:y}:b}),c=s0(u,e.withFont("mathrm"),!0),d=0;d<c.length;d++){var v=c[d];v instanceof b0&&(v.text=v.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=M(["mop"],c,e)}else o=M(["mop"],[],e);return n?Xa(o,t,a,e,e.style,0,0):o},Ji=(r,e)=>{for(var t=v0(r.body,e.withFont("mathrm")),a=!0,n=0;n<t.length;n++){var i=t[n];if(!(i instanceof Ba))if(i instanceof T)switch(i.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var o=i.children[0];i.children.length===1&&o instanceof r0?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):a=!1;break}default:a=!1}else a=!1}if(a){var u=t.map(v=>v.toText()).join("");t=[new r0(u)]}var c=new T("mi",t);c.setAttribute("mathvariant","normal");var d=new T("mo",[y0("","text")]);return r.parentIsSupSub?new T("mrow",[c,d]):Ca([c,d])};D({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],numArgs:1,handler:(r,e)=>{var t=r.parser,a=r.funcName,n=e[0];return{type:"operatorname",mode:t.mode,body:t0(n),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ka,mathmlBuilder:Ji});m("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");te({type:"ordgroup",htmlBuilder(r,e){return r.semisimple?F0(s0(r.body,e,!1)):M(["mord"],s0(r.body,e,!0),e)},mathmlBuilder(r,e){return Z0(r.body,e,!0)}});D({type:"overline",names:["\\overline"],numArgs:1,handler(r,e){var t=r.parser,a=e[0];return{type:"overline",mode:t.mode,body:a}},htmlBuilder(r,e){var t=V(r.body,e.havingCrampedStyle()),a=he("overline-line",e),n=e.fontMetrics().defaultRuleThickness,i=W({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]});return M(["mord","katex-overline"],[i],e)},mathmlBuilder(r,e){var t=new T("mo",[new r0("‾")]);t.setAttribute("stretchy","true");var a=new T("mover",[Y(r.body,e),t]);return a.setAttribute("accent","true"),a}});D({type:"phantom",names:["\\phantom"],numArgs:1,allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=e[0];return{type:"phantom",mode:t.mode,body:t0(a)}},htmlBuilder:(r,e)=>{var t=s0(r.body,e.withPhantom(),!1);return F0(t)},mathmlBuilder:(r,e)=>{var t=v0(r.body,e);return new T("mphantom",t)}});m("\\hphantom","\\smash{\\phantom{#1}}");D({type:"vphantom",names:["\\vphantom"],numArgs:1,allowedInText:!0,handler:(r,e)=>{var t=r.parser,a=e[0];return{type:"vphantom",mode:t.mode,body:a}},htmlBuilder:(r,e)=>{var t=M(["katex-inner"],[V(r.body,e.withPhantom())]),a=M(["katex-fix"],[]);return M(["mord","rlap"],[t,a],e)},mathmlBuilder:(r,e)=>{var t=v0(t0(r.body),e),a=new T("mphantom",t),n=new T("mpadded",[a]);return n.setAttribute("width","0px"),n}});D({type:"raisebox",names:["\\raisebox"],numArgs:2,argTypes:["size","hbox"],allowedInText:!0,handler(r,e){var t=r.parser,a=$(e[0],"size").value,n=e[1];return{type:"raisebox",mode:t.mode,dy:a,body:n}},htmlBuilder(r,e){var t=V(r.body,e),a=_(r.dy,e);return W({positionType:"shift",positionData:-a,children:[{type:"elem",elem:t}]})},mathmlBuilder(r,e){var t=new T("mpadded",[Y(r.body,e)]),a=r.dy.number+r.dy.unit;return t.setAttribute("voffset",a),t}});D({type:"internal",names:["\\relax"],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(r){var e=r.parser;return{type:"internal",mode:e.mode}}});D({type:"rule",names:["\\rule"],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"],handler(r,e,t){var a=r.parser,n=t[0],i=$(e[0],"size"),o=$(e[1],"size");return{type:"rule",mode:a.mode,shift:n&&$(n,"size").value,width:i.value,height:o.value}},htmlBuilder(r,e){var t=M(["mord","katex-rule"],[],e),a=_(r.width,e),n=_(r.height,e),i=r.shift?_(r.shift,e):0;return t.style.borderRightWidth=I(a),t.style.borderTopWidth=I(n),t.style.bottom=I(i),t.width=a,t.height=n+i,t.depth=-i,t.maxFontSize=n*1.125*e.sizeMultiplier,t},mathmlBuilder(r,e){var t=_(r.width,e),a=_(r.height,e),n=r.shift?_(r.shift,e):0,i=e.color&&e.getColor()||"black",o=new T("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",I(t)),o.setAttribute("height",I(a));var u=new T("mpadded",[o]);return n>=0?u.setAttribute("height",I(n)):(u.setAttribute("height",I(n)),u.setAttribute("depth",I(-n))),u.setAttribute("voffset",I(n)),u}});function Ja(r,e,t){for(var a=s0(r,e,!1),n=e.sizeMultiplier/t.sizeMultiplier,i=0;i<a.length;i++){var o=a[i].classes.indexOf("katex-sizing");o<0?Array.prototype.push.apply(a[i].classes,e.sizingClasses(t)):a[i].classes[o+1]==="reset-size"+e.size&&(a[i].classes[o+1]="reset-size"+t.size),a[i].height*=n,a[i].depth*=n}return F0(a)}var Wr=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Qi=(r,e)=>{var t=e.havingSize(r.size);return Ja(r.body,t,e)};D({type:"sizing",names:Wr,numArgs:0,allowedInText:!0,handler:(r,e)=>{var t=r.breakOnTokenText,a=r.funcName,n=r.parser,i=n.parseExpression(!1,t);return{type:"sizing",mode:n.mode,size:Wr.indexOf(a)+1,body:i}},htmlBuilder:Qi,mathmlBuilder:(r,e)=>{var t=e.havingSize(r.size),a=v0(r.body,t),n=new T("mstyle",a);return n.setAttribute("mathsize",I(t.sizeMultiplier)),n}});D({type:"smash",names:["\\smash"],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(r,e,t)=>{var a=r.parser,n=!1,i=!1,o=t[0]&&$(t[0],"ordgroup");if(o)for(var u,c=0;c<o.body.length;++c){var d=o.body[c];if(u=Ke(d).text,u==="t")n=!0;else if(u==="b")i=!0;else{n=!1,i=!1;break}}else n=!0,i=!0;var v=e[0];return{type:"smash",mode:a.mode,body:v,smashHeight:n,smashDepth:i}},htmlBuilder:(r,e)=>{var t=M([],[V(r.body,e)]);if(!r.smashHeight&&!r.smashDepth)return t;if(r.smashHeight&&(t.height=0),r.smashDepth&&(t.depth=0),r.smashHeight&&r.smashDepth)return M(["mord","katex-smash"],[t],e);if(t.children)for(var a=0;a<t.children.length;a++)r.smashHeight&&(t.children[a].height=0),r.smashDepth&&(t.children[a].depth=0);var n=W({positionType:"firstBaseline",children:[{type:"elem",elem:t}]});return M(["mord"],[n],e)},mathmlBuilder:(r,e)=>{var t=new T("mpadded",[Y(r.body,e)]);return r.smashHeight&&t.setAttribute("height","0px"),r.smashDepth&&t.setAttribute("depth","0px"),t}});D({type:"sqrt",names:["\\sqrt"],numArgs:1,numOptionalArgs:1,handler(r,e,t){var a=r.parser,n=t[0],i=e[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(r,e){var t=V(r.body,e.havingCrampedStyle());t.height===0&&(t.height=e.fontMetrics().xHeight),t=ce(t,e);var a=e.fontMetrics(),n=a.defaultRuleThickness,i=n;e.style.id<H.TEXT.id&&(i=e.fontMetrics().xHeight);var o=n+i/4,u=t.height+t.depth+o+n,c=Ei(u,e),d=c.span,v=c.ruleWidth,b=c.advanceWidth,y=d.height-v;y>t.height+t.depth+o&&(o=(o+y-t.height-t.depth)/2);var w=d.height-t.height-o-v;t.style.paddingLeft=I(b);var x=W({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+w)},{type:"elem",elem:d},{type:"kern",size:v}]});if(r.index){var z=e.havingStyle(H.SCRIPTSCRIPT),S=V(r.index,z,e),C=.6*(x.height-x.depth),E=W({positionType:"shift",positionData:-C,children:[{type:"elem",elem:S}]}),q=M(["katex-root"],[E]);return M(["mord","sqrt"],[q,x],e)}else return M(["mord","sqrt"],[x],e)},mathmlBuilder(r,e){var t=r.body,a=r.index;return a?new T("mroot",[Y(t,e),Y(a,e)]):new T("msqrt",[Y(t,e)])}});var Ht={display:H.DISPLAY,text:H.TEXT,script:H.SCRIPT,scriptscript:H.SCRIPTSCRIPT};function _i(r){return r in Ht}D({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],numArgs:0,allowedInText:!0,primitive:!0,handler(r,e){var t=r.breakOnTokenText,a=r.funcName,n=r.parser,i=n.parseExpression(!0,t),o=a.slice(1,a.length-5);if(!_i(o))throw new Error("Unknown style: "+o);return{type:"styling",mode:n.mode,style:o,body:i}},htmlBuilder(r,e){var t=Ht[r.style],a=e.havingStyle(t);return r.resetFont&&(a=a.withFont("")),Ja(r.body,a,e)},mathmlBuilder(r,e){var t=Ht[r.style],a=e.havingStyle(t);r.resetFont&&(a=a.withFont(""));var n=v0(r.body,a),i=new T("mstyle",n),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=o[r.style];return i.setAttribute("scriptlevel",u[0]),i.setAttribute("displaystyle",u[1]),i}});var es=function(e,t){var a=e.base;if(a)if(a.type==="op"){var n=a.limits&&(t.style.size===H.DISPLAY.size||a.alwaysHandleSupSub);return n?Za:null}else if(a.type==="operatorname"){var i=a.alwaysHandleSupSub&&(t.style.size===H.DISPLAY.size||a.limits);return i?Ka:null}else{if(a.type==="accent")return L0(a.base)?Da:null;if(a.type==="horizBrace"){var o=!e.sub;return o===a.isOver?Va:null}else return null}else return null};te({type:"supsub",htmlBuilder(r,e){var t=es(r,e);if(t)return t(r,e);var a=r.base,n=r.sup,i=r.sub,o=V(a,e),u,c,d=e.fontMetrics(),v=0,b=0,y=a&&L0(a);if(n){var w=e.havingStyle(e.style.sup());u=V(n,w,e),y||(v=o.height-w.fontMetrics().supDrop*w.sizeMultiplier/e.sizeMultiplier)}if(i){var x=e.havingStyle(e.style.sub());c=V(i,x,e),y||(b=o.depth+x.fontMetrics().subDrop*x.sizeMultiplier/e.sizeMultiplier)}var z;e.style===H.DISPLAY?z=d.sup1:e.style.cramped?z=d.sup3:z=d.sup2;var S=e.sizeMultiplier,C=I(.5/d.ptPerEm/S),E=null;if(c){var q=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");if(o instanceof b0||q){var R;E=I(-((R=o.italic)!=null?R:0))}}var j;if(u&&c){v=Math.max(v,z,u.depth+.25*d.xHeight),b=Math.max(b,d.sub2);var L=d.defaultRuleThickness,P=4*L;if(v-u.depth-(c.height-b)<P){b=P-(v-u.depth)+c.height;var G=.8*d.xHeight-(v-u.depth);G>0&&(v+=G,b-=G)}var X=[{type:"elem",elem:c,shift:b,marginRight:C,marginLeft:E},{type:"elem",elem:u,shift:-v,marginRight:C}];j=W({positionType:"individualShift",children:X})}else if(c){b=Math.max(b,d.sub1,c.height-.8*d.xHeight);var J=[{type:"elem",elem:c,marginLeft:E,marginRight:C}];j=W({positionType:"shift",positionData:b,children:J})}else if(u)v=Math.max(v,z,u.depth+.25*d.xHeight),j=W({positionType:"shift",positionData:-v,children:[{type:"elem",elem:u,marginRight:C}]});else throw new Error("supsub must have either sup or sub.");var d0=Lt(o,"right")||"mord";return M([d0],[o,M(["msupsub"],[j])],e)},mathmlBuilder(r,e){var t=!1,a,n;r.base&&r.base.type==="horizBrace"&&(n=!!r.sup,n===r.base.isOver&&(t=!0,a=r.base.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var i=[Y(r.base,e)];r.sub&&i.push(Y(r.sub,e)),r.sup&&i.push(Y(r.sup,e));var o;if(t)o=a?"mover":"munder";else if(r.sub)if(r.sup){var d=r.base;d&&d.type==="op"&&d.limits&&e.style===H.DISPLAY||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(e.style===H.DISPLAY||d.limits)?o="munderover":o="msubsup"}else{var c=r.base;c&&c.type==="op"&&c.limits&&(e.style===H.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||e.style===H.DISPLAY)?o="munder":o="msub"}else{var u=r.base;u&&u.type==="op"&&u.limits&&(e.style===H.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||e.style===H.DISPLAY)?o="mover":o="msup"}return new T(o,i)}});te({type:"atom",htmlBuilder(r,e){return Zt(r.text,r.mode,e,["m"+r.family])},mathmlBuilder(r,e){var t=new T("mo",[y0(r.text,r.mode)]);if(r.family==="bin"){var a=Qt(r,e);a==="bold-italic"&&t.setAttribute("mathvariant",a)}else r.family==="punct"?t.setAttribute("separator","true"):(r.family==="open"||r.family==="close")&&t.setAttribute("stretchy","false");return t}});var Qa={mi:"italic",mn:"normal",mtext:"normal"};te({type:"mathord",htmlBuilder(r,e){return Xe(r,e)},mathmlBuilder(r,e){var t=new T("mi",[y0(r.text,r.mode,e)]),a=Qt(r,e)||"italic";return a!==Qa[t.type]&&t.setAttribute("mathvariant",a),t}});te({type:"textord",htmlBuilder(r,e){return Xe(r,e)},mathmlBuilder(r,e){var t=y0(r.text,r.mode,e),a=Qt(r,e)||"normal",n;return r.mode==="text"?n=new T("mtext",[t]):/[0-9]/.test(r.text)?n=new T("mn",[t]):r.text==="\\prime"?n=new T("mo",[t]):n=new T("mi",[t]),a!==Qa[n.type]&&n.setAttribute("mathvariant",a),n}});var Vr=new Map([["\\nobreak","nobreak"],["\\allowbreak","allowbreak"]]),Xr=new Map([[" ",{}],["\\ ",{}],["~",{className:"nobreak"}],["\\space",{}],["\\nobreakspace",{className:"nobreak"}]]);te({type:"spacing",htmlBuilder(r,e){var t=Xr.get(r.text),a=Vr.get(r.text);if(t){var n=t.className||"";if(r.mode==="text"){var i=Xe(r,e);return i.classes.push(n),i}else return M(["mspace",n],[Zt(r.text,r.mode,e)],e)}else{if(a)return M(["mspace",a],[],e);throw new A('Unknown type of space "'+r.text+'"')}},mathmlBuilder(r,e){var t;if(Xr.has(r.text))t=new T("mtext",[new r0(" ")]);else{if(Vr.has(r.text))return new T("mspace");throw new A('Unknown type of space "'+r.text+'"')}return t}});var Yr=()=>{var r=new T("mtd",[]);return r.setAttribute("width","50%"),r};te({type:"tag",mathmlBuilder(r,e){var t=new T("mtable",[new T("mtr",[Yr(),new T("mtd",[Z0(r.body,e)]),Yr(),new T("mtd",[Z0(r.tag,e)])])]);return t.setAttribute("width","100%"),t}});var Zr={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Kr={"\\textbf":"textbf","\\textmd":"textmd"},ts={"\\textit":"textit","\\textup":"textup"},Jr=(r,e)=>{var t=r.font;if(t){if(Zr[t])return e.withTextFontFamily(Zr[t]);if(Kr[t])return e.withTextFontWeight(Kr[t]);if(t==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(ts[t])};D({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0,handler(r,e){var t=r.parser,a=r.funcName,n=e[0];return{type:"text",mode:t.mode,body:t0(n),font:a}},htmlBuilder(r,e){var t=Jr(r,e),a=s0(r.body,t,!0);return M(["mord","text"],a,t)},mathmlBuilder(r,e){var t=Jr(r,e);return Z0(r.body,t)}});D({type:"underline",names:["\\underline"],numArgs:1,allowedInText:!0,handler(r,e){var t=r.parser;return{type:"underline",mode:t.mode,body:e[0]}},htmlBuilder(r,e){var t=V(r.body,e),a=he("underline-line",e),n=e.fontMetrics().defaultRuleThickness,i=W({positionType:"top",positionData:t.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:t}]});return M(["mord","katex-underline"],[i],e)},mathmlBuilder(r,e){var t=new T("mo",[new r0("‾")]);t.setAttribute("stretchy","true");var a=new T("munder",[Y(r.body,e),t]);return a.setAttribute("accentunder","true"),a}});D({type:"vcenter",names:["\\vcenter"],numArgs:1,argTypes:["original"],allowedInText:!1,handler(r,e){var t=r.parser;return{type:"vcenter",mode:t.mode,body:e[0]}},htmlBuilder(r,e){var t=V(r.body,e),a=e.fontMetrics().axisHeight,n=.5*(t.height-a-(t.depth+a));return W({positionType:"shift",positionData:n,children:[{type:"elem",elem:t}]})},mathmlBuilder(r,e){var t=new T("mpadded",[Y(r.body,e)],["vcenter"]);return new T("mrow",[t])}});D({type:"verb",names:["\\verb"],numArgs:0,allowedInText:!0,handler(r,e,t){throw new A("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(r,e){for(var t=Qr(r),a=[],n=e.havingStyle(e.style.text()),i=0;i<t.length;i++){var o=t[i];o==="~"&&(o="\\textasciitilde"),a.push(u0(o,"Typewriter-Regular",r.mode,n,["mord","texttt"]))}return M(["mord","text"].concat(n.sizingClasses(e)),ka(a),n)},mathmlBuilder(r,e){var t=new r0(Qr(r)),a=new T("mtext",[t]);return a.setAttribute("mathvariant","monospace"),a}});var Qr=r=>r.body.replace(/ /g,r.star?"␣":" "),W0=Aa,_a=`[ \r
|
|
263
|
+
]`,rs="\\\\[a-zA-Z@]+",as="\\\\[^\uD800-\uDFFF]",ns="("+rs+")"+_a+"*",is=`\\\\(
|
|
264
264
|
|[ \r ]+
|
|
265
|
-
?)[ \r ]*`,
|
|
266
|
-
`,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 f0(n,new m0(this,t,this.tokenRegex.lastIndex))}}class _i{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new z("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t of Object.keys(e))e[t]===void 0?delete this.current[t]:this.current[t]=e[t]}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return Object.prototype.hasOwnProperty.call(this.current,e)||Object.prototype.hasOwnProperty.call(this.builtins,e)}get(e){return Object.prototype.hasOwnProperty.call(this.current,e)?this.current[e]:Object.prototype.hasOwnProperty.call(this.builtins,e)?this.builtins[e]:void 0}set(e,t,a){if(a===void 0&&(a=!1),a){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!Object.prototype.hasOwnProperty.call(i,e)&&(i[e]=Object.prototype.hasOwnProperty.call(this.current,e)?this.current[e]:void 0)}t==null?delete this.current[e]:this.current[e]=t}}var es=Ua;m("\\noexpand",function(r){var e=r.popToken();return r.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});m("\\expandafter",function(r){var e=r.popToken();return r.expandOnce(!0),{tokens:[e],numArgs:0}});m("\\@firstoftwo",function(r){var e=r.consumeArgs(2);return{tokens:e[0],numArgs:0}});m("\\@secondoftwo",function(r){var e=r.consumeArgs(2);return{tokens:e[1],numArgs:0}});m("\\@ifnextchar",function(r){var e=r.consumeArgs(3);r.consumeSpaces();var t=r.future();return e[0].length===1&&e[0][0].text===t.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});m("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");m("\\TextOrMath",function(r){var e=r.consumeArgs(2);return r.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var Qr={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};m("\\char",function(r){var e=r.popToken(),t,a=0;if(e.text==="'")t=8,e=r.popToken();else if(e.text==='"')t=16,e=r.popToken();else if(e.text==="`")if(e=r.popToken(),e.text[0]==="\\")a=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new z("\\char` missing argument");a=e.text.charCodeAt(0)}else t=10;if(t){if(a=Qr[e.text],a==null||a>=t)throw new z("Invalid base-"+t+" digit "+e.text);for(var n;(n=Qr[r.future().text])!=null&&n<t;)a*=t,a+=n,r.popToken()}return"\\@char{"+a+"}"});var rr=(r,e,t,a)=>{var n=r.consumeArg().tokens;if(n.length!==1)throw new z("\\newcommand's first argument must be a macro name");var i=n[0].text,o=r.isDefined(i);if(o&&!e)throw new z("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!o&&!t)throw new z("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var u=0;if(n=r.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var c="",d=r.expandNextToken();d.text!=="]"&&d.text!=="EOF";)c+=d.text,d=r.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new z("Invalid number of arguments: "+c);u=parseInt(c),n=r.consumeArg().tokens}return o&&a||r.macros.set(i,{tokens:n,numArgs:u}),""};m("\\newcommand",r=>rr(r,!1,!0,!1));m("\\renewcommand",r=>rr(r,!0,!1,!1));m("\\providecommand",r=>rr(r,!0,!0,!0));m("\\message",r=>{var e=r.consumeArgs(1)[0];return console.log(e.reverse().map(t=>t.text).join("")),""});m("\\errmessage",r=>{var e=r.consumeArgs(1)[0];return console.error(e.reverse().map(t=>t.text).join("")),""});m("\\show",r=>{var e=r.popToken(),t=e.text;return console.log(e,r.macros.get(t),G0[t],Z.math[t],Z.text[t]),""});m("\\bgroup","{");m("\\egroup","}");m("~","\\nobreakspace");m("\\lq","`");m("\\rq","'");m("\\aa","\\r a");m("\\AA","\\r A");m("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");m("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");m("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");m("ℬ","\\mathscr{B}");m("ℰ","\\mathscr{E}");m("ℱ","\\mathscr{F}");m("ℋ","\\mathscr{H}");m("ℐ","\\mathscr{I}");m("ℒ","\\mathscr{L}");m("ℳ","\\mathscr{M}");m("ℛ","\\mathscr{R}");m("ℭ","\\mathfrak{C}");m("ℌ","\\mathfrak{H}");m("ℨ","\\mathfrak{Z}");m("\\Bbbk","\\Bbb{k}");m("\\llap","\\mathllap{\\textrm{#1}}");m("\\rlap","\\mathrlap{\\textrm{#1}}");m("\\clap","\\mathclap{\\textrm{#1}}");m("\\mathstrut","\\vphantom{(}");m("\\underbar","\\underline{\\text{#1}}");m("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');m("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");m("\\ne","\\neq");m("≠","\\neq");m("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");m("∉","\\notin");m("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");m("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");m("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");m("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");m("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");m("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");m("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");m("⟂","\\perp");m("‼","\\mathclose{!\\mkern-0.8mu!}");m("∌","\\notni");m("⌜","\\ulcorner");m("⌝","\\urcorner");m("⌞","\\llcorner");m("⌟","\\lrcorner");m("©","\\copyright");m("®","\\textregistered");m("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');m("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');m("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');m("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');m("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");m("⋮","\\vdots");m("\\varGamma","\\mathit{\\Gamma}");m("\\varDelta","\\mathit{\\Delta}");m("\\varTheta","\\mathit{\\Theta}");m("\\varLambda","\\mathit{\\Lambda}");m("\\varXi","\\mathit{\\Xi}");m("\\varPi","\\mathit{\\Pi}");m("\\varSigma","\\mathit{\\Sigma}");m("\\varUpsilon","\\mathit{\\Upsilon}");m("\\varPhi","\\mathit{\\Phi}");m("\\varPsi","\\mathit{\\Psi}");m("\\varOmega","\\mathit{\\Omega}");m("\\substack","\\begin{subarray}{c}#1\\end{subarray}");m("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");m("\\boxed","\\fbox{$\\displaystyle{#1}$}");m("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");m("\\implies","\\DOTSB\\;\\Longrightarrow\\;");m("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");m("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");m("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var _r={",":"\\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"},ts=new Set(["bin","rel"]);m("\\dots",function(r){var e="\\dotso",t=r.expandAfterFuture().text;return t in _r?e=_r[t]:(t.slice(0,4)==="\\not"||t in Z.math&&ts.has(Z.math[t].group))&&(e="\\dotsb"),e});var ar={")":!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};m("\\dotso",function(r){var e=r.future().text;return e in ar?"\\ldots\\,":"\\ldots"});m("\\dotsc",function(r){var e=r.future().text;return e in ar&&e!==","?"\\ldots\\,":"\\ldots"});m("\\cdots",function(r){var e=r.future().text;return e in ar?"\\@cdots\\,":"\\@cdots"});m("\\dotsb","\\cdots");m("\\dotsm","\\cdots");m("\\dotsi","\\!\\cdots");m("\\dotsx","\\ldots\\,");m("\\DOTSI","\\relax");m("\\DOTSB","\\relax");m("\\DOTSX","\\relax");m("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");m("\\,","\\tmspace+{3mu}{.1667em}");m("\\thinspace","\\,");m("\\>","\\mskip{4mu}");m("\\:","\\tmspace+{4mu}{.2222em}");m("\\medspace","\\:");m("\\;","\\tmspace+{5mu}{.2777em}");m("\\thickspace","\\;");m("\\!","\\tmspace-{3mu}{.1667em}");m("\\negthinspace","\\!");m("\\negmedspace","\\tmspace-{4mu}{.2222em}");m("\\negthickspace","\\tmspace-{5mu}{.277em}");m("\\enspace","\\kern.5em ");m("\\enskip","\\hskip.5em\\relax");m("\\quad","\\hskip1em\\relax");m("\\qquad","\\hskip2em\\relax");m("\\tag","\\@ifstar\\tag@literal\\tag@paren");m("\\tag@paren","\\tag@literal{({#1})}");m("\\tag@literal",r=>{if(r.macros.get("\\df@tag"))throw new z("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});m("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");m("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");m("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");m("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");m("\\newline","\\\\\\relax");m("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var _a=B(q0["Main-Regular"][84][1]-.7*q0["Main-Regular"][65][1]);m("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+_a+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");m("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+_a+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");m("\\hspace","\\@ifstar\\@hspacer\\@hspace");m("\\@hspace","\\hskip #1\\relax");m("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");m("\\ordinarycolon",":");m("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");m("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');m("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');m("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');m("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');m("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');m("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');m("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');m("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');m("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');m("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');m("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');m("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');m("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');m("∷","\\dblcolon");m("∹","\\eqcolon");m("≔","\\coloneqq");m("≕","\\eqqcolon");m("⩴","\\Coloneqq");m("\\ratio","\\vcentcolon");m("\\coloncolon","\\dblcolon");m("\\colonequals","\\coloneqq");m("\\coloncolonequals","\\Coloneqq");m("\\equalscolon","\\eqqcolon");m("\\equalscoloncolon","\\Eqqcolon");m("\\colonminus","\\coloneq");m("\\coloncolonminus","\\Coloneq");m("\\minuscolon","\\eqcolon");m("\\minuscoloncolon","\\Eqcolon");m("\\coloncolonapprox","\\Colonapprox");m("\\coloncolonsim","\\Colonsim");m("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");m("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");m("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");m("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");m("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");m("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");m("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");m("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");m("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");m("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");m("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");m("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");m("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");m("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");m("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");m("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");m("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");m("\\nleqq","\\html@mathml{\\@nleqq}{≰}");m("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");m("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");m("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");m("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");m("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");m("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");m("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");m("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");m("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");m("\\imath","\\html@mathml{\\@imath}{ı}");m("\\jmath","\\html@mathml{\\@jmath}{ȷ}");m("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");m("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");m("⟦","\\llbracket");m("⟧","\\rrbracket");m("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");m("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");m("⦃","\\lBrace");m("⦄","\\rBrace");m("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");m("⦵","\\minuso");m("\\darr","\\downarrow");m("\\dArr","\\Downarrow");m("\\Darr","\\Downarrow");m("\\lang","\\langle");m("\\rang","\\rangle");m("\\uarr","\\uparrow");m("\\uArr","\\Uparrow");m("\\Uarr","\\Uparrow");m("\\N","\\mathbb{N}");m("\\R","\\mathbb{R}");m("\\Z","\\mathbb{Z}");m("\\alef","\\aleph");m("\\alefsym","\\aleph");m("\\Alpha","\\mathrm{A}");m("\\Beta","\\mathrm{B}");m("\\bull","\\bullet");m("\\Chi","\\mathrm{X}");m("\\clubs","\\clubsuit");m("\\cnums","\\mathbb{C}");m("\\Complex","\\mathbb{C}");m("\\Dagger","\\ddagger");m("\\diamonds","\\diamondsuit");m("\\empty","\\emptyset");m("\\Epsilon","\\mathrm{E}");m("\\Eta","\\mathrm{H}");m("\\exist","\\exists");m("\\harr","\\leftrightarrow");m("\\hArr","\\Leftrightarrow");m("\\Harr","\\Leftrightarrow");m("\\hearts","\\heartsuit");m("\\image","\\Im");m("\\infin","\\infty");m("\\Iota","\\mathrm{I}");m("\\isin","\\in");m("\\Kappa","\\mathrm{K}");m("\\larr","\\leftarrow");m("\\lArr","\\Leftarrow");m("\\Larr","\\Leftarrow");m("\\lrarr","\\leftrightarrow");m("\\lrArr","\\Leftrightarrow");m("\\Lrarr","\\Leftrightarrow");m("\\Mu","\\mathrm{M}");m("\\natnums","\\mathbb{N}");m("\\Nu","\\mathrm{N}");m("\\Omicron","\\mathrm{O}");m("\\plusmn","\\pm");m("\\rarr","\\rightarrow");m("\\rArr","\\Rightarrow");m("\\Rarr","\\Rightarrow");m("\\real","\\Re");m("\\reals","\\mathbb{R}");m("\\Reals","\\mathbb{R}");m("\\Rho","\\mathrm{P}");m("\\sdot","\\cdot");m("\\sect","\\S");m("\\spades","\\spadesuit");m("\\sub","\\subset");m("\\sube","\\subseteq");m("\\supe","\\supseteq");m("\\Tau","\\mathrm{T}");m("\\thetasym","\\vartheta");m("\\weierp","\\wp");m("\\Zeta","\\mathrm{Z}");m("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");m("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");m("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");m("\\bra","\\mathinner{\\langle{#1}|}");m("\\ket","\\mathinner{|{#1}\\rangle}");m("\\braket","\\mathinner{\\langle{#1}\\rangle}");m("\\Bra","\\left\\langle#1\\right|");m("\\Ket","\\left|#1\\right\\rangle");var e1=r=>e=>{var t=e.consumeArg().tokens,a=e.consumeArg().tokens,n=e.consumeArg().tokens,i=e.consumeArg().tokens,o=e.macros.get("|"),u=e.macros.get("\\|");e.macros.beginGroup();var c=b=>y=>{r&&(y.macros.set("|",o),n.length&&y.macros.set("\\|",u));var w=b;if(!b&&n.length){var k=y.future();k.text==="|"&&(y.popToken(),w=!0)}return{tokens:w?n:a,numArgs:0}};e.macros.set("|",c(!1)),n.length&&e.macros.set("\\|",c(!0));var d=e.consumeArg().tokens,v=e.expandTokens([...i,...d,...t]);return e.macros.endGroup(),{tokens:v.reverse(),numArgs:0}};m("\\bra@ket",e1(!1));m("\\bra@set",e1(!0));m("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");m("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");m("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");m("\\angln","{\\angl n}");m("\\blue","\\textcolor{##6495ed}{#1}");m("\\orange","\\textcolor{##ffa500}{#1}");m("\\pink","\\textcolor{##ff00af}{#1}");m("\\red","\\textcolor{##df0030}{#1}");m("\\green","\\textcolor{##28ae7b}{#1}");m("\\gray","\\textcolor{gray}{#1}");m("\\purple","\\textcolor{##9d38bd}{#1}");m("\\blueA","\\textcolor{##ccfaff}{#1}");m("\\blueB","\\textcolor{##80f6ff}{#1}");m("\\blueC","\\textcolor{##63d9ea}{#1}");m("\\blueD","\\textcolor{##11accd}{#1}");m("\\blueE","\\textcolor{##0c7f99}{#1}");m("\\tealA","\\textcolor{##94fff5}{#1}");m("\\tealB","\\textcolor{##26edd5}{#1}");m("\\tealC","\\textcolor{##01d1c1}{#1}");m("\\tealD","\\textcolor{##01a995}{#1}");m("\\tealE","\\textcolor{##208170}{#1}");m("\\greenA","\\textcolor{##b6ffb0}{#1}");m("\\greenB","\\textcolor{##8af281}{#1}");m("\\greenC","\\textcolor{##74cf70}{#1}");m("\\greenD","\\textcolor{##1fab54}{#1}");m("\\greenE","\\textcolor{##0d923f}{#1}");m("\\goldA","\\textcolor{##ffd0a9}{#1}");m("\\goldB","\\textcolor{##ffbb71}{#1}");m("\\goldC","\\textcolor{##ff9c39}{#1}");m("\\goldD","\\textcolor{##e07d10}{#1}");m("\\goldE","\\textcolor{##a75a05}{#1}");m("\\redA","\\textcolor{##fca9a9}{#1}");m("\\redB","\\textcolor{##ff8482}{#1}");m("\\redC","\\textcolor{##f9685d}{#1}");m("\\redD","\\textcolor{##e84d39}{#1}");m("\\redE","\\textcolor{##bc2612}{#1}");m("\\maroonA","\\textcolor{##ffbde0}{#1}");m("\\maroonB","\\textcolor{##ff92c6}{#1}");m("\\maroonC","\\textcolor{##ed5fa6}{#1}");m("\\maroonD","\\textcolor{##ca337c}{#1}");m("\\maroonE","\\textcolor{##9e034e}{#1}");m("\\purpleA","\\textcolor{##ddd7ff}{#1}");m("\\purpleB","\\textcolor{##c6b9fc}{#1}");m("\\purpleC","\\textcolor{##aa87ff}{#1}");m("\\purpleD","\\textcolor{##7854ab}{#1}");m("\\purpleE","\\textcolor{##543b78}{#1}");m("\\mintA","\\textcolor{##f5f9e8}{#1}");m("\\mintB","\\textcolor{##edf2df}{#1}");m("\\mintC","\\textcolor{##e0e5cc}{#1}");m("\\grayA","\\textcolor{##f6f7f7}{#1}");m("\\grayB","\\textcolor{##f0f1f2}{#1}");m("\\grayC","\\textcolor{##e3e5e6}{#1}");m("\\grayD","\\textcolor{##d6d8da}{#1}");m("\\grayE","\\textcolor{##babec2}{#1}");m("\\grayF","\\textcolor{##888d93}{#1}");m("\\grayG","\\textcolor{##626569}{#1}");m("\\grayH","\\textcolor{##3b3e40}{#1}");m("\\grayI","\\textcolor{##21242c}{#1}");m("\\kaBlue","\\textcolor{##314453}{#1}");m("\\kaGreen","\\textcolor{##71B307}{#1}");var t1={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class rs{constructor(e,t,a){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=t,this.expansionCount=0,this.feed(e),this.macros=new _i(es,t.macros),this.mode=a,this.stack=[]}feed(e){this.lexer=new Jr(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 t,a,n;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken();var i=this.consumeArg(["]"]);n=i.tokens,a=i.end}else{var o=this.consumeArg();n=o.tokens,t=o.start,a=o.end}return this.pushToken(new f0("EOF",a.loc)),this.pushTokens(n),new f0("",m0.range(t,a))}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var t=[],a=e&&e.length>0;a||this.consumeSpaces();var n=this.future(),i,o=0,u=0;do{if(i=this.popToken(),t.push(i),i.text==="{")++o;else if(i.text==="}"){if(--o,o===-1)throw new z("Extra }",i)}else if(i.text==="EOF")throw new z("Unexpected end of input in a macro argument, expected '"+(e&&a?e[u]:"}")+"'",i);if(e&&a)if((o===0||o===1&&e[u]==="{")&&i.text===e[u]){if(++u,u===e.length){t.splice(-u,u);break}}else u=0}while(o!==0||a);return n.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:n,end:i}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new z("The length of delimiters doesn't match the number of args!");for(var a=t[0],n=0;n<a.length;n++){var i=this.popToken();if(a[n]!==i.text)throw new z("Use of the macro doesn't match its definition",i)}}for(var o=[],u=0;u<e;u++)o.push(this.consumeArg(t&&t[u+1]).tokens);return o}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new z("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),a=t.text,n=t.noexpand?null:this._getExpansion(a);if(n==null||e&&n.unexpandable){if(e&&n==null&&a[0]==="\\"&&!this.isDefined(a))throw new z("Undefined control sequence: "+a);return this.pushToken(t),!1}this.countExpansion(1);var i=n.tokens,o=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){i=i.slice();for(var u=i.length-1;u>=0;--u){var c=i[u];if(c.text==="#"){if(u===0)throw new z("Incomplete placeholder at end of macro body",c);if(c=i[--u],c.text==="#")i.splice(u+1,1);else if(/^[1-9]$/.test(c.text))i.splice(u,2,...o[+c.text-1]);else throw new z("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 f0(e)]):void 0}expandTokens(e){var t=[],a=this.stack.length;for(this.pushTokens(e);this.stack.length>a;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(a=>a.text).join("")}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var a=this.lexer.catcodes[e];if(a!=null&&a!==13)return}var n=typeof t=="function"?t(this):t;if(typeof n=="string"){var i=0;if(n.includes("#"))for(var o=n.replace(/##/g,"");o.includes("#"+(i+1));)++i;for(var u=new Jr(n,this.settings),c=[],d=u.lex();d.text!=="EOF";)c.push(d),d=u.lex();c.reverse();var v={tokens:c,numArgs:i};return v}return n}isDefined(e){return this.macros.has(e)||Object.prototype.hasOwnProperty.call(G0,e)||Object.prototype.hasOwnProperty.call(Z.math,e)||Object.prototype.hasOwnProperty.call(Z.text,e)||Object.prototype.hasOwnProperty.call(t1,e)}isExpandable(e){var t=this.macros.get(e);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Object.prototype.hasOwnProperty.call(G0,e)&&!G0[e].primitive}}var ea=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Oe=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),yt={"́":{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"}},ta={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class et{constructor(e,t){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 rs(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(e,t){if(t===void 0&&(t=!0),this.fetch().text!==e)throw new z("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&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 t=this.nextToken;this.consume(),this.gullet.pushToken(new f0("}")),this.gullet.pushTokens(e);var a=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,a}parseExpression(e,t){for(var a=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(et.endOfExpression.has(n.text)||t&&n.text===t||e&&G0[n.text]&&G0[n.text].infix)break;var i=this.parseAtom(t);if(i){if(i.type==="internal")continue}else break;a.push(i)}return this.mode==="text"&&this.formLigatures(a),this.handleInfixNodes(a)}handleInfixNodes(e){for(var t=-1,a,n=0;n<e.length;n++){var i=e[n];if(i.type==="infix"){if(t!==-1)throw new z("only one infix operator per group",i.token);t=n,a=i.replaceWith}}if(t!==-1&&a){var o,u,c=e.slice(0,t),d=e.slice(t+1);c.length===1&&c[0].type==="ordgroup"?o=c[0]:o={type:"ordgroup",mode:this.mode,body:c},d.length===1&&d[0].type==="ordgroup"?u=d[0]:u={type:"ordgroup",mode:this.mode,body:d};var v;return a==="\\\\abovefrac"?v=this.callFunction(a,[o,e[t],u],[]):v=this.callFunction(a,[o,u],[]),[v]}else return e}handleSupSubscript(e){var t=this.fetch(),a=t.text;this.consume(),this.consumeSpaces();var n;do{var i;n=this.parseGroup(e)}while(((i=n)==null?void 0:i.type)==="internal");if(!n)throw new z("Expected group after '"+a+"'",t);return n}formatUnsupportedCmd(e){for(var t=[],a=0;a<e.length;a++)t.push({type:"textord",mode:"text",text:e[a]});var n={type:"text",mode:this.mode,body:t},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]};return i}parseAtom(e){var t=this.parseGroup("atom",e);if(t?.type==="internal"||this.mode==="text")return t;for(var a,n;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(t&&t.type==="op")t.limits=i.text==="\\limits",t.alwaysHandleSupSub=!0;else if(t&&t.type==="operatorname")t.alwaysHandleSupSub&&(t.limits=i.text==="\\limits");else throw new z("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(a)throw new z("Double superscript",i);a=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(n)throw new z("Double subscript",i);n=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(a)throw new z("Double superscript",i);var o={type:"textord",mode:this.mode,text:"\\prime"},u=[o];for(this.consume();this.fetch().text==="'";)u.push(o),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),a={type:"ordgroup",mode:this.mode,body:u}}else if(Oe[i.text]){var c=ea.test(i.text),d=[];for(d.push(new f0(Oe[i.text])),this.consume();;){var v=this.fetch().text;if(!Oe[v]||ea.test(v)!==c)break;d.unshift(new f0(Oe[v])),this.consume()}var b=this.subparse(d);c?n={type:"ordgroup",mode:"math",body:b}:a={type:"ordgroup",mode:"math",body:b}}else break}return a&&n?{type:"supsub",mode:this.mode,base:t,sup:a,sub:n}:a?{type:"supsub",mode:this.mode,base:t,sup:a}:n?{type:"supsub",mode:this.mode,base:t,sub:n}:t}parseFunction(e,t){var a=this.fetch(),n=a.text,i=G0[n];if(!i)return null;if(this.consume(),t&&t!=="atom"&&!i.allowedInArgument)throw new z("Got function '"+n+"' with no arguments"+(t?" as "+t:""),a);if(this.mode==="text"&&!i.allowedInText)throw new z("Can't use function '"+n+"' in text mode",a);if(this.mode==="math"&&i.allowedInMath===!1)throw new z("Can't use function '"+n+"' in math mode",a);var o=this.parseArguments(n,i),u=o.args,c=o.optArgs;return this.callFunction(n,u,c,a,e)}callFunction(e,t,a,n,i){var o={funcName:e,parser:this,token:n,breakOnTokenText:i},u=G0[e];if(u&&u.handler)return u.handler(o,t,a);throw new z("No function handler for "+e)}parseArguments(e,t){var a,n=(a=t.numOptionalArgs)!=null?a:0,i=t.numArgs+n;if(i===0)return{args:[],optArgs:[]};for(var o=[],u=[],c=0;c<i;c++){var d,v=(d=t.argTypes)==null?void 0:d[c],b=c<n;("primitive"in t&&t.primitive&&v==null||t.type==="sqrt"&&c===1&&u[0]==null)&&(v="primitive");var y=this.parseGroupOfType("argument to '"+e+"'",v,b);if(b)u.push(y);else if(y!=null)o.push(y);else throw new z("Null argument, please report this as a bug")}return{args:o,optArgs:u}}parseGroupOfType(e,t,a){switch(t){case"color":return this.parseColorGroup(a);case"size":return this.parseSizeGroup(a);case"url":return this.parseUrlGroup(a);case"math":case"text":return this.parseArgumentGroup(a,t);case"hbox":{var n=this.parseArgumentGroup(a,"text");return n!=null?{type:"styling",mode:n.mode,body:[n],style:"text",resetFont:!0}:null}case"raw":{var i=this.parseStringGroup(a);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(a)throw new z("A primitive argument cannot be optional");var o=this.parseGroup(e);if(o==null)throw new z("Expected group as "+e,this.fetch());return o}case"original":case void 0:return this.parseArgumentGroup(a);default:throw new z("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e){var t=this.gullet.scanArgument(e);if(t==null)return null;for(var a="",n;(n=this.fetch()).text!=="EOF";)a+=n.text,this.consume();return this.consume(),t.text=a,t}parseRegexGroup(e,t){for(var a=this.fetch(),n=a,i="",o;(o=this.fetch()).text!=="EOF"&&e.test(i+o.text);)n=o,i+=n.text,this.consume();if(i==="")throw new z("Invalid "+t+": '"+a.text+"'",a);return a.range(n,i)}parseColorGroup(e){var t=this.parseStringGroup(e);if(t==null)return null;var a=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!a)throw new z("Invalid color: '"+t.text+"'",t);var n=a[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}}parseSizeGroup(e){var t,a=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?t=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):t=this.parseStringGroup(e),!t)return null;!e&&t.text.length===0&&(t.text="0pt",a=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new z("Invalid size: '"+t.text+"'",t);var i={number:+(n[1]+n[2]),unit:n[3]};if(!va(i))throw new z("Invalid unit: '"+i.unit+"'",t);return{type:"size",mode:this.mode,value:i,isBlank:a}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup(e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),t==null)return null;var a=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:a}}parseArgumentGroup(e,t){var a=this.gullet.scanArgument(e);if(a==null)return null;var n=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:a.loc,body:i};return t&&this.switchMode(n),o}parseGroup(e,t){var a=this.fetch(),n=a.text,i;if(n==="{"||n==="\\begingroup"){this.consume();var o=n==="{"?"}":"\\endgroup";this.gullet.beginGroup();var u=this.parseExpression(!1,o),c=this.fetch();this.expect(o),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:m0.range(a,c),body:u,semisimple:n==="\\begingroup"||void 0}}else if(i=this.parseFunction(t,e)||this.parseSymbol(),i==null&&n[0]==="\\"&&!Object.prototype.hasOwnProperty.call(t1,n)){if(this.settings.throwOnError)throw new z("Undefined control sequence: "+n,a);i=this.formatUnsupportedCmd(n),this.consume()}return i}formLigatures(e){for(var t=e.length-1,a=0;a<t;++a){var n=e[a];if(n.type==="textord"){var i=n.text,o=e[a+1];if(!(!o||o.type!=="textord")){if(i==="-"&&o.text==="-"){var u=e[a+2];a+1<t&&u&&u.type==="textord"&&u.text==="-"?(e.splice(a,3,{type:"textord",mode:"text",loc:m0.range(n,u),text:"---"}),t-=2):(e.splice(a,2,{type:"textord",mode:"text",loc:m0.range(n,o),text:"--"}),t-=1)}(i==="'"||i==="`")&&o.text===i&&(e.splice(a,2,{type:"textord",mode:"text",loc:m0.range(n,o),text:i+i}),t-=1)}}}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var a=t.slice(5),n=a.charAt(0)==="*";if(n&&(a=a.slice(1)),a.length<2||a.charAt(0)!==a.slice(-1))throw new z(`\\verb assertion failed --
|
|
267
|
-
please report what input caused this bug`);return a=a.slice(1,-1),{type:"verb",mode:"text",body:a,star:n}}Object.prototype.hasOwnProperty.call(ta,t[0])&&!Z[this.mode][t[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=ta[t[0]]+t.slice(1));var i=Ji.exec(t);i&&(t=t.substring(0,i.index),t==="i"?t="ı":t==="j"&&(t="ȷ"));var o;if(Z[this.mode][t]){this.settings.strict&&this.mode==="math"&&Tt.includes(t)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var u=Z[this.mode][t].group,c=m0.range(e),d;oi(u)?d={type:"atom",mode:this.mode,family:u,loc:c,text:t}:d={type:u,mode:this.mode,loc:c,text:t},o=d}else if(t.charCodeAt(0)>=128)this.settings.strict&&(pa(t.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0)+")"),e)),o={type:"textord",mode:"text",loc:m0.range(e),text:t};else return null;if(this.consume(),i)for(var v=0;v<i[0].length;v++){var b=i[0][v];if(!yt[b])throw new z("Unknown accent ' "+b+"'",e);var y=yt[b][this.mode]||yt[b].text;if(!y)throw new z("Accent "+b+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:m0.range(e),label:y,isStretchy:!1,isShifty:!0,base:o}}return o}}et.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var as=function(e,t){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var a=new et(e,t);delete a.gullet.macros.current["\\df@tag"];var n=a.parse();if(delete a.gullet.macros.current["\\current@color"],delete a.gullet.macros.current["\\color"],a.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new z("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:a.subparse([new f0("\\df@tag")])}]}return n};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.");var ns=function(e,t){var a=ss(e,t).toMarkup();return a},is=function(e,t,a){if(a.throwOnError||!(e instanceof z))throw e;var n=M(["katex-error"],[new b0(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+a.errorColor),n},ss=function(e,t){var a=new ln(t);try{var n=as(e,a);return _n(n,e,a)}catch(i){return is(i,e,a)}};function r1({display:r=!1,source:e}){const t=G.useMemo(()=>ns(e,{displayMode:r,output:"htmlAndMathml",strict:"ignore",throwOnError:!1,trust:!1}),[r,e]),a=r?"div":"span";return C.jsx(a,{className:r?"markdown-math-block":"markdown-math-inline",dangerouslySetInnerHTML:{__html:t}})}const ls=new Set([".avif",".gif",".ico",".jpeg",".jpg",".png",".svg",".webp"]);function a1({checked:r,inline:e=!1}){return C.jsx("input",{"aria-label":r?"Checked item":"Unchecked item",checked:r,className:`markdown-checkbox ${e?"inline":""}`,disabled:!0,readOnly:!0,type:"checkbox"})}function se(r,e){const t=[];let a=0,n=0;const i=o=>{o>n&&t.push(r.slice(n,o))};for(;a<r.length;){const o=r[a];if(o==="`"){const x=r.indexOf("`",a+1);if(x>a+1){const D=r.slice(a+1,x),q=e.onOpenFileInSidebar&&hs(D,r,a,x+1)?Ge(D,{workspaceRootPath:e.workspaceRootPath}):null;i(a),t.push(q?jt(q.displayPath,q.path,q.displayPath,e,t.length):C.jsx("code",{children:D},t.length)),a=x+1,n=a;continue}}const u=os(r,a);if(u){i(a),t.push(C.jsx(r1,{source:u.content},t.length)),a=u.end,n=a;continue}const c=o==="<"||r.startsWith("!<img",a)?vs(r,a):null;if(c){const x=Ut(c.src,e);if(x){i(a),t.push(ra(c.alt,x,e,t.length)),a=c.end,n=a;continue}}const d=o==="<"?bs(r,a):null;if(d){i(a),t.push(fe(d.label,d.href,e,t.length)),a=d.end,n=a;continue}const v=o==="<"?ys(r,a):null;if(v){i(a),t.push(fe(v.href,v.href,e,t.length)),a=v.end,n=a;continue}const b=o==="["?gs(r,a):null;if(b){i(a),t.push(C.jsx(a1,{checked:b.checked,inline:!0},t.length)),a=b.end,n=a;continue}const y=r.startsWith("![",a)?fs(r,a):null;if(y){const x=Ut(y.href,e);i(a),t.push(x?ra(y.label,x,e,t.length):fe(y.label||y.href,y.href,e,t.length)),a=y.end,n=a;continue}const w=o==="["?ps(r,a):null;if(w){i(a),t.push(fe(w.label,w.href,e,t.length)),a=w.end,n=a;continue}const k=us(r,a);if(k){i(a),t.push(fe(k.href,k.href,e,t.length)),a=k.end,n=a;continue}const T=e.onOpenFileInSidebar?H1(r,a,{workspaceRootPath:e.workspaceRootPath}):null;if(T){i(a),t.push(jt(T.displayPath,T.path,T.displayPath,e,t.length)),a=T.end,n=a;continue}if(r.startsWith("**",a)){const x=r.indexOf("**",a+2);if(x>a+2){i(a),t.push(C.jsx("strong",{children:r.slice(a+2,x)},t.length)),a=x+2,n=a;continue}}if(r.startsWith("__",a)){const x=r.indexOf("__",a+2);if(x>a+2){i(a),t.push(C.jsx("strong",{children:r.slice(a+2,x)},t.length)),a=x+2,n=a;continue}}a+=1}return i(r.length),t}function os(r,e){if(r.startsWith("\\(",e)){const a=r.indexOf("\\)",e+2);return a<=e+2?null:{content:r.slice(e+2,a),end:a+2}}if(r[e]!=="$"||r[e+1]==="$"||/\s/.test(r[e+1]??""))return null;let t=e+1;for(;(t=r.indexOf("$",t+1))>=0;)if(r[t-1]!=="\\"&&!(r[t+1]==="$"||/\s/.test(r[t-1]??"")))return{content:r.slice(e+1,t),end:t+1};return null}function us(r,e){const t=e>0?r[e-1]:"";if(t&&!/[\s([{<]/.test(t))return null;const a=r.slice(e),n=/^(?:https?:\/\/|www\.)[^\s<>()]+(?:\([^\s<>()]*\)[^\s<>()]*)*/i.exec(a);if(!n)return null;let i=n[0];for(;/[.,;:!?]$/.test(i);)i=i.slice(0,-1);return i?{href:/^www\./i.test(i)?`https://${i}`:i,end:e+i.length}:null}function hs(r,e,t,a){return cs(r)?!0:!e.slice(0,t).trim()&&!e.slice(a).trim()}function cs(r){return/^(?:workspace|sandbox):file:/i.test(r.trim())}function fe(r,e,t,a){const n=s1(e),i=Ut(n,t),o=/^https?:\/\//i.test(n),u=i?.kind==="url"?i.src:i?.src??n,c=t.onOpenFileInSidebar?Ge(n,{workspaceRootPath:t.workspaceRootPath}):null;return!i&&c?jt(r,c.path,c.displayPath,t,a):C.jsx("a",{href:o||i?u:"#",className:i?"markdown-image-link":void 0,onBlur:()=>{i&&t.onPreviewImage(null)},onClick:d=>{if(i){d.preventDefault(),Ts(i,t),t.onPreviewImage(null);return}if(o&&t.onOpenBrowserLink){d.preventDefault(),t.onOpenBrowserLink(u);return}o||d.preventDefault()},onContextMenu:d=>{d.preventDefault(),t.onPreviewImage(null),t.onOpenLinkMenu(Cs(u,n,d.clientX,d.clientY))},onFocus:d=>{i&&aa(i,t,d.currentTarget)},onMouseEnter:d=>{i&&aa(i,t,d.currentTarget)},onMouseLeave:()=>{i&&t.onPreviewImage(null)},rel:o?"noreferrer":void 0,target:o?"_blank":void 0,title:n,children:r},a)}function ra(r,e,t,a){return C.jsx(ms,{context:t,image:e,label:r},a)}function ms({context:r,image:e,label:t}){const a=ia(r.connection,e.kind==="workspace"?e.appId:null,e.kind==="workspace"?e.path:null),n=oa(r.connection,e.kind==="local"?e.path:null),i=e.kind==="url"?e.src:e.kind==="local"?n:a,o=t.trim()||e.title;return C.jsx("button",{type:"button",className:`markdown-inline-image ${i?"ready":"loading"}`,onClick:()=>{if(e.kind==="url"){r.onOpenImage({src:e.src,title:o});return}if(i){r.onOpenImage({src:i,title:o});return}e.kind!=="local"&&r.onOpenWorkspaceImage({appId:e.appId,path:e.path,title:o})},title:o,children:i?C.jsx("img",{alt:o,decoding:"async",loading:"lazy",src:i}):C.jsx("span",{"aria-hidden":"true"})})}function jt(r,e,t,a,n){const i=ks(e,t,a);return i?C.jsx(ds,{context:a,displayPath:t,image:i,label:r,path:e},n):C.jsx(n1,{context:a,displayPath:t,label:r,path:e},n)}function n1({context:r,displayPath:e,label:t,path:a}){return C.jsx("a",{href:"#",className:"markdown-file-link",onClick:n=>{n.preventDefault(),r.onOpenFileInSidebar?.(a)},onContextMenu:n=>{n.preventDefault(),r.onPreviewImage(null),r.onOpenLinkMenu(Bs(a,e,n.clientX,n.clientY))},title:e,children:t})}function ds({context:r,displayPath:e,image:t,label:a,path:n}){const i=ia(r.connection,t.kind==="workspace"?t.appId:null,t.kind==="workspace"?t.path:null),o=oa(r.connection,t.kind==="local"?t.path:null),u=t.kind==="url"?t.src:t.kind==="local"?o:i,c=t.title||e;return C.jsxs("span",{className:"markdown-file-image-reference",children:[C.jsx(n1,{context:r,displayPath:e,label:a,path:n}),C.jsx("button",{type:"button",className:`markdown-file-image-preview ${u?"ready":"loading"}`,onClick:()=>{if(t.kind==="url"){r.onOpenImage({src:t.src,title:c});return}if(u){r.onOpenImage({src:u,title:c});return}t.kind!=="local"&&r.onOpenWorkspaceImage({appId:t.appId,path:t.path,title:c})},title:c,children:u?C.jsx("img",{alt:c,decoding:"async",loading:"lazy",src:u}):C.jsx("span",{"aria-hidden":"true"})})]})}function fs(r,e){if(!r.startsWith("![",e))return null;const t=e+2,a=r.indexOf("]",t);if(a<t||r[a+1]!=="(")return null;const n=i1(r,a+2);return n?{label:r.slice(t,a),href:n.href,end:n.end}:null}function ps(r,e){const t=r.indexOf("]",e+1);if(t<=e+1||r[t+1]!=="(")return null;const a=i1(r,t+2);return a?{label:r.slice(e+1,t),href:a.href,end:a.end}:null}function i1(r,e){if(r[e]==="<"){const a=r.indexOf(">",e+1);return a<0||r[a+1]!==")"?null:{href:r.slice(e+1,a),end:a+2}}let t=0;for(let a=e;a<r.length;a+=1){const n=r[a];if(n==="\\"){a+=1;continue}if(n==="("){t+=1;continue}if(n===")"){if(t===0)return{href:r.slice(e,a),end:a+1};t-=1}}return null}function vs(r,e){const t=r[e]==="!"?e+1:e;if(!/^<img\b/i.test(r.slice(t)))return null;const a=r.indexOf(">",t+4);if(a<0)return null;const n=r.slice(t,a+1),i=wt(n,"src");return i?{src:i,alt:wt(n,"alt")??wt(n,"title")??"",end:a+1}:null}function gs(r,e){const t=r.slice(e,e+3);return t==="[ ]"?{checked:!1,end:e+3}:t==="[x]"||t==="[X]"?{checked:!0,end:e+3}:null}function bs(r,e){const t=r.slice(e),a=/^<a\s+[^>]*href\s*=\s*(["'])(.*?)\1[^>]*>(.*?)<\/a>/i.exec(t);return a?{href:a[2]??"",label:ws(a[3]??""),end:e+a[0].length}:null}function ys(r,e){const t=r.indexOf(">",e+1);if(t<=e+1)return null;const a=r.slice(e+1,t).trim();return xs(a)?{href:a,end:t+1}:null}function ws(r){return r.replace(/<[^>]+>/g,"").trim()||r}function wt(r,e){const a=new RegExp(`\\s${e}\\s*=\\s*(?:"([^"]*)"|'([^']*)'|([^\\s>]+))`,"i").exec(r);return a?.[1]??a?.[2]??a?.[3]??null}function xs(r){return/^(https?:\/\/|file:\/\/|(?:workspace|sandbox):file:|\/|\.{1,2}\/)/i.test(r)}function Ut(r,e){const t=s1(r);if(!t)return null;if(/^https?:\/\//i.test(t))try{const o=new URL(t),u=As(o,e);return u||(zs(o,e.connection)?{kind:"url",src:t,title:M0(o.searchParams.get("path")??o.pathname)}:null)}catch{return null}const a=Ms(t),n=$t(a??t,e.workspaceRootPath);if(n)return{kind:"url",src:n,title:M0(a??t)};if(!a||!z0(a)||!e.connection)return null;if(tt(a))return{kind:"local",path:a,src:e.localImageUrls.getUrl(a),title:M0(a)};if(!e.activeWorkspaceAppId)return null;const i=rt(a,e.workspaceRootPath);return!i||!z0(i)?null:{kind:"workspace",appId:e.activeWorkspaceAppId,path:i,src:e.workspaceImageUrls.getUrl(e.activeWorkspaceAppId,i),title:M0(i)}}function ks(r,e,t){const a=$t(r,t.workspaceRootPath)??$t(e,t.workspaceRootPath);if(a)return{kind:"url",src:a,title:M0(e)};if(!z0(r)||!t.connection)return null;if(tt(r))return{kind:"local",path:r,src:t.localImageUrls.getUrl(r),title:M0(r)};if(!t.activeWorkspaceAppId)return null;const n=rt(r,t.workspaceRootPath);return!n||!z0(n)?null:{kind:"workspace",appId:t.activeWorkspaceAppId,path:n,src:t.workspaceImageUrls.getUrl(t.activeWorkspaceAppId,n),title:M0(n)}}function $t(r,e){const t=rt(r,e),a="apps/web/public/";if(!t?.startsWith(a))return null;const n=t.slice(a.length);return!n||!Ss(n)?null:b1(n.split("/").map(encodeURIComponent).join("/"))}function Ss(r){const e=r.split("?")[0]?.split("#")[0]??r,t=e.lastIndexOf(".");return t<0?!1:ls.has(e.slice(t).toLowerCase())}function s1(r){return r.trim().replace(/^['"`]+|['"`]+$/g,"")}function Ms(r){let e=r.trim();if(!e)return null;if(e.startsWith("file://"))try{return decodeURIComponent(new URL(e).pathname)}catch{return e.replace(/^file:\/\//,"")}if(tt(e))return e;const t=e.indexOf("#");t>=0&&(e=e.slice(0,t));const a=e.indexOf("?");return a>=0&&(e=e.slice(0,a)),e}function tt(r){return/^file:\/\//i.test(r)||/^\//.test(r)||/^[A-Za-z]:[\\/]/.test(r)}function rt(r,e){let t=r.trim().replace(/^['"`]+|['"`]+$/g,"");if(!t)return null;if(t.startsWith("file://"))try{t=decodeURIComponent(new URL(t).pathname)}catch{t=t.replace(/^file:\/\//,"")}if(t=t.replace(/\\/g,"/"),tt(t)){const n=e?.trim().replace(/\\/g,"/").replace(/\/+$/,"");if(!n||!t.startsWith(`${n}/`))return null;t=t.slice(n.length+1)}t=t.replace(/^\.\/+/,"");const a=t.split("/").filter(Boolean);return a.length===0||a.some(n=>n==="."||n===".."||n===".git")?null:a.join("/")}function zs(r,e){if(e){const a=new URL(e.serverUrl);if(r.origin===a.origin){if(r.pathname==="/v1/local-image"||/\/v1\/workspaces\/[^/]+\/file-image$/.test(r.pathname))return!1;if(r.pathname==="/v1/assets/workspace-image"||r.pathname==="/v1/assets/chat-attachment-image")return!0}}if(z0(r.pathname))return!0;const t=r.searchParams.get("path");return!!(t&&z0(t))}function As(r,e){if(!e.connection)return null;const t=new URL(e.connection.serverUrl);if(r.origin!==t.origin)return null;const a=r.pathname==="/v1/assets/workspace-image"?r.searchParams.get("path"):null;if(a&&z0(a))return{kind:"url",src:r.toString(),title:M0(a)};const n=r.pathname==="/v1/assets/chat-attachment-image"?r.searchParams.get("storageName"):null;if(n&&z0(n))return{kind:"url",src:r.toString(),title:M0(n)};const i=/^\/v1\/workspaces\/([^/]+)\/file-image$/.exec(r.pathname),o=i?r.searchParams.get("path"):null;if(!i||!o||!z0(o))return null;const u=decodeURIComponent(i[1]),c=rt(o,e.workspaceRootPath);return!c||!z0(c)?null:{kind:"workspace",appId:u,path:c,src:e.workspaceImageUrls.getUrl(u,c),title:M0(c)}}function Ts(r,e){if(r.kind==="url"){e.onOpenImage(r);return}if(r.kind==="local"){r.src&&e.onOpenImage({src:r.src,title:r.title});return}if(r.src){e.onOpenImage({src:r.src,title:r.title});return}e.onOpenWorkspaceImage({appId:r.appId,path:r.path,title:r.title})}function aa(r,e,t){if(r.kind==="url"){e.onPreviewImage(pe(r,t));return}if(r.kind==="local"){if(r.src){e.onPreviewImage(pe({src:r.src,title:r.title},t));return}e.localImageUrls.loadUrl(r.path).then(a=>{a&&t.matches(":hover")&&e.onPreviewImage(pe({src:a,title:r.title},t))});return}if(r.src){e.onPreviewImage(pe({src:r.src,title:r.title},t));return}e.workspaceImageUrls.loadUrl(r.appId,r.path).then(a=>{a&&t.matches(":hover")&&e.onPreviewImage(pe({src:a,title:r.title},t))})}function pe(r,e){const t=e.getBoundingClientRect(),a=236,n=172,i=12,o=Math.max(i,Math.min(t.left,window.innerWidth-a-i)),u=t.bottom+8,c=u+n<=window.innerHeight-i?u:Math.max(i,t.top-n-8);return{...r,x:o,y:c}}function Cs(r,e,t,a){return{kind:"browser",browserHref:r,displayHref:e,x:Math.max(8,Math.min(t,window.innerWidth-220-8)),y:Math.max(8,Math.min(a,window.innerHeight-142-8))}}function Bs(r,e,t,a){return{kind:"file",path:r,displayPath:e,x:Math.max(8,Math.min(t,window.innerWidth-220-8)),y:Math.max(8,Math.min(a,window.innerHeight-72-8))}}async function Ds(r){const e=r.trim();if(!e)return!1;const t=window.openpond?.files;if(!t)return!1;try{return(await t.reveal({path:e})).ok}catch{return!1}}async function Ys(r,e){const t=r.trim(),a=window.openpond?.files;if(!t||!a?.saveAs)return{ok:!1,canceled:!1,path:null};try{const n=await a.saveAs({path:t,suggestedName:e});return{ok:n.ok,canceled:n.canceled,path:n.path??null}}catch{return{ok:!1,canceled:!1,path:null}}}const Is={bash:"Bash",css:"CSS",html:"HTML",javascript:"JavaScript",js:"JavaScript",json:"JSON",jsx:"JSX",markdown:"Markdown",md:"Markdown",python:"Python",py:"Python",sh:"Shell",shell:"Shell",sql:"SQL",ts:"TypeScript",tsx:"TSX",typescript:"TypeScript",yaml:"YAML",yml:"YAML"},Ns=G.memo(function({content:e,language:t}){const[a,n]=G.useState(!1),[i,o]=G.useState(!1),u=qs(t);return G.useEffect(()=>{if(!a)return;const c=window.setTimeout(()=>n(!1),1800);return()=>window.clearTimeout(c)},[a]),C.jsxs("section",{className:`markdown-code-block${i?" wrap-lines":""}`,"aria-label":`${u} code block`,children:[C.jsxs("header",{className:"markdown-code-header",children:[C.jsxs("span",{className:"markdown-code-language",children:[C.jsx(M1,{"aria-hidden":!0,size:15,strokeWidth:1.8}),C.jsx("span",{children:u})]}),C.jsxs("span",{className:"markdown-code-actions",children:[C.jsx("button",{"aria-label":i?"Stop wrapping code":"Wrap code","aria-pressed":i,className:"markdown-code-action",title:i?"Stop wrapping":"Wrap lines",type:"button",onClick:()=>o(c=>!c),children:C.jsx(N1,{"aria-hidden":!0,size:15})}),C.jsx("button",{"aria-label":a?"Code copied":"Copy code",className:"markdown-code-action",title:a?"Copied":"Copy code",type:"button",onClick:()=>{kt(e).then(c=>{c&&n(!0)})},children:a?C.jsx(y1,{"aria-hidden":!0,size:15}):C.jsx(A1,{"aria-hidden":!0,size:15})})]})]}),C.jsx("pre",{className:"markdown-code-content",children:C.jsx("code",{children:e})})]})});function qs(r){const e=r?.trim().toLowerCase();return e?Is[e]??e.charAt(0).toUpperCase()+e.slice(1):"Code"}function Zs({activeWorkspaceAppId:r=null,connection:e=null,content:t,finalizedContent:a,mutableContent:n,onOpenBrowserLink:i,onOpenFileInSidebar:o,workspaceRootPath:u=null}){const c=a!==void 0||n!==void 0,d=G.useMemo(()=>c?[]:Fe(t),[t,c]),v=G.useMemo(()=>c&&a?Fe(a):[],[a,c]),b=G.useMemo(()=>c&&n?Fe(n):[],[n,c]),[y,w]=G.useState(null),[k,T]=G.useState(null),[x,D]=G.useState(null),q=ua(e),E=sa(e),H=G.useCallback(R=>{E.loadUrl(R.appId,R.path).then(F=>{F&&w({src:F,title:R.title})})},[E]),j=G.useMemo(()=>({activeWorkspaceAppId:r,connection:e,onOpenBrowserLink:i,onOpenFileInSidebar:o,onOpenLinkMenu:D,onOpenImage:w,onOpenWorkspaceImage:H,onPreviewImage:T,localImageUrls:q,workspaceImageUrls:E,workspaceRootPath:u}),[r,e,H,q,i,o,E,u]);return G.useEffect(()=>{if(!x)return;const R=()=>D(null),F=$=>{$.key==="Escape"&&R()};return window.addEventListener("click",R),window.addEventListener("keydown",F),window.addEventListener("scroll",R,!0),()=>{window.removeEventListener("click",R),window.removeEventListener("keydown",F),window.removeEventListener("scroll",R,!0)}},[x]),C.jsxs("div",{className:"markdown-message",children:[c?C.jsxs(C.Fragment,{children:[C.jsx(xt,{blocks:v,context:j,keyPrefix:"finalized",workspaceRootPath:u}),C.jsx(xt,{blocks:b,context:j,keyPrefix:"mutable",workspaceRootPath:u})]}):C.jsx(xt,{blocks:d,context:j,keyPrefix:"block",workspaceRootPath:u}),k&&C.jsx(Rs,{preview:k}),x&&C.jsx(Ls,{menu:x,onClose:()=>D(null),onOpenBrowserLink:i,onOpenFileInSidebar:o}),C.jsx(q1,{open:!!y,src:y?.src??null,title:y?.title??"",onClose:()=>w(null)})]})}const xt=G.memo(function({blocks:e,context:t,keyPrefix:a,workspaceRootPath:n}){return l1(e,t,n,a)});function l1(r,e,t,a="block"){return r.map((n,i)=>{const o=`${a}-${i}`;if(n.type==="blockquote")return C.jsx("blockquote",{className:"markdown-blockquote",children:l1(Fe(n.content),e,t,`${o}-quote`)},o);if(n.type==="code"){const u=Es(n.content,t);return u?C.jsx("div",{className:"markdown-file-reference-block",children:u.map((c,d)=>C.jsx("div",{className:"markdown-file-reference-line",children:se(c,e)},d))},o):C.jsx(Ns,{content:n.content,language:n.language},o)}if(n.type==="math")return C.jsx(r1,{display:!0,source:n.content},o);if(n.type==="list"){const u=n.items.map((c,d)=>C.jsxs("li",{className:c.checked===null?void 0:"markdown-task-list-item",value:n.ordered?c.ordinal??void 0:void 0,children:[c.checked===null?null:C.jsx(a1,{checked:c.checked}),C.jsx("span",{children:se(c.content,e)})]},d));return n.ordered?C.jsx("ol",{className:"markdown-list",start:n.start,children:u},o):C.jsx("ul",{className:"markdown-list",children:u},o)}if(n.type==="heading"){const u=n.level===1?"h1":n.level===2?"h2":n.level===3?"h3":"h4";return C.jsx(u,{className:"markdown-heading",children:se(n.content,e)},o)}return n.type==="table"?C.jsx("div",{className:"markdown-table-wrap",children:C.jsxs("table",{className:"markdown-table",children:[C.jsx("thead",{children:C.jsx("tr",{children:n.headers.map((u,c)=>C.jsx("th",{children:se(u,e)},c))})}),C.jsx("tbody",{children:n.rows.map((u,c)=>C.jsx("tr",{children:n.headers.map((d,v)=>C.jsx("td",{children:se(u[v]??"",e)},v))},c))})]})},o):C.jsx("p",{className:"markdown-paragraph",children:se(n.content,e)},o)})}function Es(r,e){const t=r.split(`
|
|
268
|
-
`),a=[];for(const n of t){const i=n.trim();if(!i)continue;const u=i.replace(/^(?:[-*]|\d+[.)])\s+/,"").trim().replace(/^`+|`+$/g,"").trim();if(!u||!
|
|
265
|
+
?)[ \r ]*`,jt="[̀-ͯ]",ss=new RegExp(jt+"+$"),ls="("+_a+"+)|"+(is+"|")+"([!-\\[\\]-‧-豈-]"+(jt+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(jt+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+ns)+("|"+as+")");class _r{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(ls,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new f0("EOF",new m0(this,t,t));var a=this.tokenRegex.exec(e);if(a===null||a.index!==t)throw new A("Unexpected character: '"+e[t]+"'",new f0(e[t],new m0(this,t,t+1)));var n=a[6]||a[3]||(a[2]?"\\ ":" ");if(this.catcodes[n]===14){var i=e.indexOf(`
|
|
266
|
+
`,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 f0(n,new m0(this,t,this.tokenRegex.lastIndex))}}class os{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new A("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t of Object.keys(e))e[t]===void 0?delete this.current[t]:this.current[t]=e[t]}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return Object.prototype.hasOwnProperty.call(this.current,e)||Object.prototype.hasOwnProperty.call(this.builtins,e)}get(e){return Object.prototype.hasOwnProperty.call(this.current,e)?this.current[e]:Object.prototype.hasOwnProperty.call(this.builtins,e)?this.builtins[e]:void 0}set(e,t,a){if(a===void 0&&(a=!1),a){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!Object.prototype.hasOwnProperty.call(i,e)&&(i[e]=Object.prototype.hasOwnProperty.call(this.current,e)?this.current[e]:void 0)}t==null?delete this.current[e]:this.current[e]=t}}var us=$a;m("\\noexpand",function(r){var e=r.popToken();return r.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});m("\\expandafter",function(r){var e=r.popToken();return r.expandOnce(!0),{tokens:[e],numArgs:0}});m("\\@firstoftwo",function(r){var e=r.consumeArgs(2);return{tokens:e[0],numArgs:0}});m("\\@secondoftwo",function(r){var e=r.consumeArgs(2);return{tokens:e[1],numArgs:0}});m("\\@ifnextchar",function(r){var e=r.consumeArgs(3);r.consumeSpaces();var t=r.future();return e[0].length===1&&e[0][0].text===t.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});m("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");m("\\TextOrMath",function(r){var e=r.consumeArgs(2);return r.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var ea={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};m("\\char",function(r){var e=r.popToken(),t,a=0;if(e.text==="'")t=8,e=r.popToken();else if(e.text==='"')t=16,e=r.popToken();else if(e.text==="`")if(e=r.popToken(),e.text[0]==="\\")a=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new A("\\char` missing argument");a=e.text.charCodeAt(0)}else t=10;if(t){if(a=ea[e.text],a==null||a>=t)throw new A("Invalid base-"+t+" digit "+e.text);for(var n;(n=ea[r.future().text])!=null&&n<t;)a*=t,a+=n,r.popToken()}return"\\@char{"+a+"}"});var ar=(r,e,t,a)=>{var n=r.consumeArg().tokens;if(n.length!==1)throw new A("\\newcommand's first argument must be a macro name");var i=n[0].text,o=r.isDefined(i);if(o&&!e)throw new A("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!o&&!t)throw new A("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var u=0;if(n=r.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var c="",d=r.expandNextToken();d.text!=="]"&&d.text!=="EOF";)c+=d.text,d=r.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new A("Invalid number of arguments: "+c);u=parseInt(c),n=r.consumeArg().tokens}return o&&a||r.macros.set(i,{tokens:n,numArgs:u}),""};m("\\newcommand",r=>ar(r,!1,!0,!1));m("\\renewcommand",r=>ar(r,!0,!1,!1));m("\\providecommand",r=>ar(r,!0,!0,!0));m("\\message",r=>{var e=r.consumeArgs(1)[0];return console.log(e.reverse().map(t=>t.text).join("")),""});m("\\errmessage",r=>{var e=r.consumeArgs(1)[0];return console.error(e.reverse().map(t=>t.text).join("")),""});m("\\show",r=>{var e=r.popToken(),t=e.text;return console.log(e,r.macros.get(t),W0[t],Z.math[t],Z.text[t]),""});m("\\bgroup","{");m("\\egroup","}");m("~","\\nobreakspace");m("\\lq","`");m("\\rq","'");m("\\aa","\\r a");m("\\AA","\\r A");m("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");m("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");m("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");m("ℬ","\\mathscr{B}");m("ℰ","\\mathscr{E}");m("ℱ","\\mathscr{F}");m("ℋ","\\mathscr{H}");m("ℐ","\\mathscr{I}");m("ℒ","\\mathscr{L}");m("ℳ","\\mathscr{M}");m("ℛ","\\mathscr{R}");m("ℭ","\\mathfrak{C}");m("ℌ","\\mathfrak{H}");m("ℨ","\\mathfrak{Z}");m("\\Bbbk","\\Bbb{k}");m("\\llap","\\mathllap{\\textrm{#1}}");m("\\rlap","\\mathrlap{\\textrm{#1}}");m("\\clap","\\mathclap{\\textrm{#1}}");m("\\mathstrut","\\vphantom{(}");m("\\underbar","\\underline{\\text{#1}}");m("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');m("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");m("\\ne","\\neq");m("≠","\\neq");m("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");m("∉","\\notin");m("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");m("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");m("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");m("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");m("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");m("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");m("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");m("⟂","\\perp");m("‼","\\mathclose{!\\mkern-0.8mu!}");m("∌","\\notni");m("⌜","\\ulcorner");m("⌝","\\urcorner");m("⌞","\\llcorner");m("⌟","\\lrcorner");m("©","\\copyright");m("®","\\textregistered");m("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');m("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');m("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');m("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');m("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");m("⋮","\\vdots");m("\\varGamma","\\mathit{\\Gamma}");m("\\varDelta","\\mathit{\\Delta}");m("\\varTheta","\\mathit{\\Theta}");m("\\varLambda","\\mathit{\\Lambda}");m("\\varXi","\\mathit{\\Xi}");m("\\varPi","\\mathit{\\Pi}");m("\\varSigma","\\mathit{\\Sigma}");m("\\varUpsilon","\\mathit{\\Upsilon}");m("\\varPhi","\\mathit{\\Phi}");m("\\varPsi","\\mathit{\\Psi}");m("\\varOmega","\\mathit{\\Omega}");m("\\substack","\\begin{subarray}{c}#1\\end{subarray}");m("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");m("\\boxed","\\fbox{$\\displaystyle{#1}$}");m("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");m("\\implies","\\DOTSB\\;\\Longrightarrow\\;");m("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");m("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");m("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var ta={",":"\\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"},hs=new Set(["bin","rel"]);m("\\dots",function(r){var e="\\dotso",t=r.expandAfterFuture().text;return t in ta?e=ta[t]:(t.slice(0,4)==="\\not"||t in Z.math&&hs.has(Z.math[t].group))&&(e="\\dotsb"),e});var nr={")":!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};m("\\dotso",function(r){var e=r.future().text;return e in nr?"\\ldots\\,":"\\ldots"});m("\\dotsc",function(r){var e=r.future().text;return e in nr&&e!==","?"\\ldots\\,":"\\ldots"});m("\\cdots",function(r){var e=r.future().text;return e in nr?"\\@cdots\\,":"\\@cdots"});m("\\dotsb","\\cdots");m("\\dotsm","\\cdots");m("\\dotsi","\\!\\cdots");m("\\dotsx","\\ldots\\,");m("\\DOTSI","\\relax");m("\\DOTSB","\\relax");m("\\DOTSX","\\relax");m("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");m("\\,","\\tmspace+{3mu}{.1667em}");m("\\thinspace","\\,");m("\\>","\\mskip{4mu}");m("\\:","\\tmspace+{4mu}{.2222em}");m("\\medspace","\\:");m("\\;","\\tmspace+{5mu}{.2777em}");m("\\thickspace","\\;");m("\\!","\\tmspace-{3mu}{.1667em}");m("\\negthinspace","\\!");m("\\negmedspace","\\tmspace-{4mu}{.2222em}");m("\\negthickspace","\\tmspace-{5mu}{.277em}");m("\\enspace","\\kern.5em ");m("\\enskip","\\hskip.5em\\relax");m("\\quad","\\hskip1em\\relax");m("\\qquad","\\hskip2em\\relax");m("\\tag","\\@ifstar\\tag@literal\\tag@paren");m("\\tag@paren","\\tag@literal{({#1})}");m("\\tag@literal",r=>{if(r.macros.get("\\df@tag"))throw new A("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});m("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");m("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");m("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");m("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");m("\\newline","\\\\\\relax");m("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var en=I(q0["Main-Regular"][84][1]-.7*q0["Main-Regular"][65][1]);m("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+en+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");m("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+en+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");m("\\hspace","\\@ifstar\\@hspacer\\@hspace");m("\\@hspace","\\hskip #1\\relax");m("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");m("\\ordinarycolon",":");m("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");m("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');m("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');m("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');m("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');m("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');m("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');m("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');m("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');m("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');m("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');m("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');m("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');m("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');m("∷","\\dblcolon");m("∹","\\eqcolon");m("≔","\\coloneqq");m("≕","\\eqqcolon");m("⩴","\\Coloneqq");m("\\ratio","\\vcentcolon");m("\\coloncolon","\\dblcolon");m("\\colonequals","\\coloneqq");m("\\coloncolonequals","\\Coloneqq");m("\\equalscolon","\\eqqcolon");m("\\equalscoloncolon","\\Eqqcolon");m("\\colonminus","\\coloneq");m("\\coloncolonminus","\\Coloneq");m("\\minuscolon","\\eqcolon");m("\\minuscoloncolon","\\Eqcolon");m("\\coloncolonapprox","\\Colonapprox");m("\\coloncolonsim","\\Colonsim");m("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");m("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");m("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");m("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");m("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");m("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");m("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");m("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");m("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");m("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");m("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");m("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");m("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");m("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");m("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");m("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");m("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");m("\\nleqq","\\html@mathml{\\@nleqq}{≰}");m("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");m("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");m("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");m("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");m("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");m("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");m("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");m("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");m("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");m("\\imath","\\html@mathml{\\@imath}{ı}");m("\\jmath","\\html@mathml{\\@jmath}{ȷ}");m("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");m("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");m("⟦","\\llbracket");m("⟧","\\rrbracket");m("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");m("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");m("⦃","\\lBrace");m("⦄","\\rBrace");m("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");m("⦵","\\minuso");m("\\darr","\\downarrow");m("\\dArr","\\Downarrow");m("\\Darr","\\Downarrow");m("\\lang","\\langle");m("\\rang","\\rangle");m("\\uarr","\\uparrow");m("\\uArr","\\Uparrow");m("\\Uarr","\\Uparrow");m("\\N","\\mathbb{N}");m("\\R","\\mathbb{R}");m("\\Z","\\mathbb{Z}");m("\\alef","\\aleph");m("\\alefsym","\\aleph");m("\\Alpha","\\mathrm{A}");m("\\Beta","\\mathrm{B}");m("\\bull","\\bullet");m("\\Chi","\\mathrm{X}");m("\\clubs","\\clubsuit");m("\\cnums","\\mathbb{C}");m("\\Complex","\\mathbb{C}");m("\\Dagger","\\ddagger");m("\\diamonds","\\diamondsuit");m("\\empty","\\emptyset");m("\\Epsilon","\\mathrm{E}");m("\\Eta","\\mathrm{H}");m("\\exist","\\exists");m("\\harr","\\leftrightarrow");m("\\hArr","\\Leftrightarrow");m("\\Harr","\\Leftrightarrow");m("\\hearts","\\heartsuit");m("\\image","\\Im");m("\\infin","\\infty");m("\\Iota","\\mathrm{I}");m("\\isin","\\in");m("\\Kappa","\\mathrm{K}");m("\\larr","\\leftarrow");m("\\lArr","\\Leftarrow");m("\\Larr","\\Leftarrow");m("\\lrarr","\\leftrightarrow");m("\\lrArr","\\Leftrightarrow");m("\\Lrarr","\\Leftrightarrow");m("\\Mu","\\mathrm{M}");m("\\natnums","\\mathbb{N}");m("\\Nu","\\mathrm{N}");m("\\Omicron","\\mathrm{O}");m("\\plusmn","\\pm");m("\\rarr","\\rightarrow");m("\\rArr","\\Rightarrow");m("\\Rarr","\\Rightarrow");m("\\real","\\Re");m("\\reals","\\mathbb{R}");m("\\Reals","\\mathbb{R}");m("\\Rho","\\mathrm{P}");m("\\sdot","\\cdot");m("\\sect","\\S");m("\\spades","\\spadesuit");m("\\sub","\\subset");m("\\sube","\\subseteq");m("\\supe","\\supseteq");m("\\Tau","\\mathrm{T}");m("\\thetasym","\\vartheta");m("\\weierp","\\wp");m("\\Zeta","\\mathrm{Z}");m("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");m("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");m("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");m("\\bra","\\mathinner{\\langle{#1}|}");m("\\ket","\\mathinner{|{#1}\\rangle}");m("\\braket","\\mathinner{\\langle{#1}\\rangle}");m("\\Bra","\\left\\langle#1\\right|");m("\\Ket","\\left|#1\\right\\rangle");var tn=r=>e=>{var t=e.consumeArg().tokens,a=e.consumeArg().tokens,n=e.consumeArg().tokens,i=e.consumeArg().tokens,o=e.macros.get("|"),u=e.macros.get("\\|");e.macros.beginGroup();var c=b=>y=>{r&&(y.macros.set("|",o),n.length&&y.macros.set("\\|",u));var w=b;if(!b&&n.length){var x=y.future();x.text==="|"&&(y.popToken(),w=!0)}return{tokens:w?n:a,numArgs:0}};e.macros.set("|",c(!1)),n.length&&e.macros.set("\\|",c(!0));var d=e.consumeArg().tokens,v=e.expandTokens([...i,...d,...t]);return e.macros.endGroup(),{tokens:v.reverse(),numArgs:0}};m("\\bra@ket",tn(!1));m("\\bra@set",tn(!0));m("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");m("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");m("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");m("\\angln","{\\angl n}");m("\\blue","\\textcolor{##6495ed}{#1}");m("\\orange","\\textcolor{##ffa500}{#1}");m("\\pink","\\textcolor{##ff00af}{#1}");m("\\red","\\textcolor{##df0030}{#1}");m("\\green","\\textcolor{##28ae7b}{#1}");m("\\gray","\\textcolor{gray}{#1}");m("\\purple","\\textcolor{##9d38bd}{#1}");m("\\blueA","\\textcolor{##ccfaff}{#1}");m("\\blueB","\\textcolor{##80f6ff}{#1}");m("\\blueC","\\textcolor{##63d9ea}{#1}");m("\\blueD","\\textcolor{##11accd}{#1}");m("\\blueE","\\textcolor{##0c7f99}{#1}");m("\\tealA","\\textcolor{##94fff5}{#1}");m("\\tealB","\\textcolor{##26edd5}{#1}");m("\\tealC","\\textcolor{##01d1c1}{#1}");m("\\tealD","\\textcolor{##01a995}{#1}");m("\\tealE","\\textcolor{##208170}{#1}");m("\\greenA","\\textcolor{##b6ffb0}{#1}");m("\\greenB","\\textcolor{##8af281}{#1}");m("\\greenC","\\textcolor{##74cf70}{#1}");m("\\greenD","\\textcolor{##1fab54}{#1}");m("\\greenE","\\textcolor{##0d923f}{#1}");m("\\goldA","\\textcolor{##ffd0a9}{#1}");m("\\goldB","\\textcolor{##ffbb71}{#1}");m("\\goldC","\\textcolor{##ff9c39}{#1}");m("\\goldD","\\textcolor{##e07d10}{#1}");m("\\goldE","\\textcolor{##a75a05}{#1}");m("\\redA","\\textcolor{##fca9a9}{#1}");m("\\redB","\\textcolor{##ff8482}{#1}");m("\\redC","\\textcolor{##f9685d}{#1}");m("\\redD","\\textcolor{##e84d39}{#1}");m("\\redE","\\textcolor{##bc2612}{#1}");m("\\maroonA","\\textcolor{##ffbde0}{#1}");m("\\maroonB","\\textcolor{##ff92c6}{#1}");m("\\maroonC","\\textcolor{##ed5fa6}{#1}");m("\\maroonD","\\textcolor{##ca337c}{#1}");m("\\maroonE","\\textcolor{##9e034e}{#1}");m("\\purpleA","\\textcolor{##ddd7ff}{#1}");m("\\purpleB","\\textcolor{##c6b9fc}{#1}");m("\\purpleC","\\textcolor{##aa87ff}{#1}");m("\\purpleD","\\textcolor{##7854ab}{#1}");m("\\purpleE","\\textcolor{##543b78}{#1}");m("\\mintA","\\textcolor{##f5f9e8}{#1}");m("\\mintB","\\textcolor{##edf2df}{#1}");m("\\mintC","\\textcolor{##e0e5cc}{#1}");m("\\grayA","\\textcolor{##f6f7f7}{#1}");m("\\grayB","\\textcolor{##f0f1f2}{#1}");m("\\grayC","\\textcolor{##e3e5e6}{#1}");m("\\grayD","\\textcolor{##d6d8da}{#1}");m("\\grayE","\\textcolor{##babec2}{#1}");m("\\grayF","\\textcolor{##888d93}{#1}");m("\\grayG","\\textcolor{##626569}{#1}");m("\\grayH","\\textcolor{##3b3e40}{#1}");m("\\grayI","\\textcolor{##21242c}{#1}");m("\\kaBlue","\\textcolor{##314453}{#1}");m("\\kaGreen","\\textcolor{##71B307}{#1}");var rn={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class cs{constructor(e,t,a){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=t,this.expansionCount=0,this.feed(e),this.macros=new os(us,t.macros),this.mode=a,this.stack=[]}feed(e){this.lexer=new _r(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 t,a,n;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken();var i=this.consumeArg(["]"]);n=i.tokens,a=i.end}else{var o=this.consumeArg();n=o.tokens,t=o.start,a=o.end}return this.pushToken(new f0("EOF",a.loc)),this.pushTokens(n),new f0("",m0.range(t,a))}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var t=[],a=e&&e.length>0;a||this.consumeSpaces();var n=this.future(),i,o=0,u=0;do{if(i=this.popToken(),t.push(i),i.text==="{")++o;else if(i.text==="}"){if(--o,o===-1)throw new A("Extra }",i)}else if(i.text==="EOF")throw new A("Unexpected end of input in a macro argument, expected '"+(e&&a?e[u]:"}")+"'",i);if(e&&a)if((o===0||o===1&&e[u]==="{")&&i.text===e[u]){if(++u,u===e.length){t.splice(-u,u);break}}else u=0}while(o!==0||a);return n.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:n,end:i}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new A("The length of delimiters doesn't match the number of args!");for(var a=t[0],n=0;n<a.length;n++){var i=this.popToken();if(a[n]!==i.text)throw new A("Use of the macro doesn't match its definition",i)}}for(var o=[],u=0;u<e;u++)o.push(this.consumeArg(t&&t[u+1]).tokens);return o}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new A("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),a=t.text,n=t.noexpand?null:this._getExpansion(a);if(n==null||e&&n.unexpandable){if(e&&n==null&&a[0]==="\\"&&!this.isDefined(a))throw new A("Undefined control sequence: "+a);return this.pushToken(t),!1}this.countExpansion(1);var i=n.tokens,o=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){i=i.slice();for(var u=i.length-1;u>=0;--u){var c=i[u];if(c.text==="#"){if(u===0)throw new A("Incomplete placeholder at end of macro body",c);if(c=i[--u],c.text==="#")i.splice(u+1,1);else if(/^[1-9]$/.test(c.text))i.splice(u,2,...o[+c.text-1]);else throw new A("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 f0(e)]):void 0}expandTokens(e){var t=[],a=this.stack.length;for(this.pushTokens(e);this.stack.length>a;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(a=>a.text).join("")}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var a=this.lexer.catcodes[e];if(a!=null&&a!==13)return}var n=typeof t=="function"?t(this):t;if(typeof n=="string"){var i=0;if(n.includes("#"))for(var o=n.replace(/##/g,"");o.includes("#"+(i+1));)++i;for(var u=new _r(n,this.settings),c=[],d=u.lex();d.text!=="EOF";)c.push(d),d=u.lex();c.reverse();var v={tokens:c,numArgs:i};return v}return n}isDefined(e){return this.macros.has(e)||Object.prototype.hasOwnProperty.call(W0,e)||Object.prototype.hasOwnProperty.call(Z.math,e)||Object.prototype.hasOwnProperty.call(Z.text,e)||Object.prototype.hasOwnProperty.call(rn,e)}isExpandable(e){var t=this.macros.get(e);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Object.prototype.hasOwnProperty.call(W0,e)&&!W0[e].primitive}}var ra=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Fe=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),wt={"́":{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"}},aa={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class tt{constructor(e,t){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 cs(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(e,t){if(t===void 0&&(t=!0),this.fetch().text!==e)throw new A("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&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 t=this.nextToken;this.consume(),this.gullet.pushToken(new f0("}")),this.gullet.pushTokens(e);var a=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,a}parseExpression(e,t){for(var a=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(tt.endOfExpression.has(n.text)||t&&n.text===t||e&&W0[n.text]&&W0[n.text].infix)break;var i=this.parseAtom(t);if(i){if(i.type==="internal")continue}else break;a.push(i)}return this.mode==="text"&&this.formLigatures(a),this.handleInfixNodes(a)}handleInfixNodes(e){for(var t=-1,a,n=0;n<e.length;n++){var i=e[n];if(i.type==="infix"){if(t!==-1)throw new A("only one infix operator per group",i.token);t=n,a=i.replaceWith}}if(t!==-1&&a){var o,u,c=e.slice(0,t),d=e.slice(t+1);c.length===1&&c[0].type==="ordgroup"?o=c[0]:o={type:"ordgroup",mode:this.mode,body:c},d.length===1&&d[0].type==="ordgroup"?u=d[0]:u={type:"ordgroup",mode:this.mode,body:d};var v;return a==="\\\\abovefrac"?v=this.callFunction(a,[o,e[t],u],[]):v=this.callFunction(a,[o,u],[]),[v]}else return e}handleSupSubscript(e){var t=this.fetch(),a=t.text;this.consume(),this.consumeSpaces();var n;do{var i;n=this.parseGroup(e)}while(((i=n)==null?void 0:i.type)==="internal");if(!n)throw new A("Expected group after '"+a+"'",t);return n}formatUnsupportedCmd(e){for(var t=[],a=0;a<e.length;a++)t.push({type:"textord",mode:"text",text:e[a]});var n={type:"text",mode:this.mode,body:t},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]};return i}parseAtom(e){var t=this.parseGroup("atom",e);if(t?.type==="internal"||this.mode==="text")return t;for(var a,n;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(t&&t.type==="op")t.limits=i.text==="\\limits",t.alwaysHandleSupSub=!0;else if(t&&t.type==="operatorname")t.alwaysHandleSupSub&&(t.limits=i.text==="\\limits");else throw new A("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(a)throw new A("Double superscript",i);a=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(n)throw new A("Double subscript",i);n=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(a)throw new A("Double superscript",i);var o={type:"textord",mode:this.mode,text:"\\prime"},u=[o];for(this.consume();this.fetch().text==="'";)u.push(o),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),a={type:"ordgroup",mode:this.mode,body:u}}else if(Fe[i.text]){var c=ra.test(i.text),d=[];for(d.push(new f0(Fe[i.text])),this.consume();;){var v=this.fetch().text;if(!Fe[v]||ra.test(v)!==c)break;d.unshift(new f0(Fe[v])),this.consume()}var b=this.subparse(d);c?n={type:"ordgroup",mode:"math",body:b}:a={type:"ordgroup",mode:"math",body:b}}else break}return a&&n?{type:"supsub",mode:this.mode,base:t,sup:a,sub:n}:a?{type:"supsub",mode:this.mode,base:t,sup:a}:n?{type:"supsub",mode:this.mode,base:t,sub:n}:t}parseFunction(e,t){var a=this.fetch(),n=a.text,i=W0[n];if(!i)return null;if(this.consume(),t&&t!=="atom"&&!i.allowedInArgument)throw new A("Got function '"+n+"' with no arguments"+(t?" as "+t:""),a);if(this.mode==="text"&&!i.allowedInText)throw new A("Can't use function '"+n+"' in text mode",a);if(this.mode==="math"&&i.allowedInMath===!1)throw new A("Can't use function '"+n+"' in math mode",a);var o=this.parseArguments(n,i),u=o.args,c=o.optArgs;return this.callFunction(n,u,c,a,e)}callFunction(e,t,a,n,i){var o={funcName:e,parser:this,token:n,breakOnTokenText:i},u=W0[e];if(u&&u.handler)return u.handler(o,t,a);throw new A("No function handler for "+e)}parseArguments(e,t){var a,n=(a=t.numOptionalArgs)!=null?a:0,i=t.numArgs+n;if(i===0)return{args:[],optArgs:[]};for(var o=[],u=[],c=0;c<i;c++){var d,v=(d=t.argTypes)==null?void 0:d[c],b=c<n;("primitive"in t&&t.primitive&&v==null||t.type==="sqrt"&&c===1&&u[0]==null)&&(v="primitive");var y=this.parseGroupOfType("argument to '"+e+"'",v,b);if(b)u.push(y);else if(y!=null)o.push(y);else throw new A("Null argument, please report this as a bug")}return{args:o,optArgs:u}}parseGroupOfType(e,t,a){switch(t){case"color":return this.parseColorGroup(a);case"size":return this.parseSizeGroup(a);case"url":return this.parseUrlGroup(a);case"math":case"text":return this.parseArgumentGroup(a,t);case"hbox":{var n=this.parseArgumentGroup(a,"text");return n!=null?{type:"styling",mode:n.mode,body:[n],style:"text",resetFont:!0}:null}case"raw":{var i=this.parseStringGroup(a);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(a)throw new A("A primitive argument cannot be optional");var o=this.parseGroup(e);if(o==null)throw new A("Expected group as "+e,this.fetch());return o}case"original":case void 0:return this.parseArgumentGroup(a);default:throw new A("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e){var t=this.gullet.scanArgument(e);if(t==null)return null;for(var a="",n;(n=this.fetch()).text!=="EOF";)a+=n.text,this.consume();return this.consume(),t.text=a,t}parseRegexGroup(e,t){for(var a=this.fetch(),n=a,i="",o;(o=this.fetch()).text!=="EOF"&&e.test(i+o.text);)n=o,i+=n.text,this.consume();if(i==="")throw new A("Invalid "+t+": '"+a.text+"'",a);return a.range(n,i)}parseColorGroup(e){var t=this.parseStringGroup(e);if(t==null)return null;var a=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!a)throw new A("Invalid color: '"+t.text+"'",t);var n=a[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}}parseSizeGroup(e){var t,a=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?t=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):t=this.parseStringGroup(e),!t)return null;!e&&t.text.length===0&&(t.text="0pt",a=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new A("Invalid size: '"+t.text+"'",t);var i={number:+(n[1]+n[2]),unit:n[3]};if(!ga(i))throw new A("Invalid unit: '"+i.unit+"'",t);return{type:"size",mode:this.mode,value:i,isBlank:a}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup(e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),t==null)return null;var a=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:a}}parseArgumentGroup(e,t){var a=this.gullet.scanArgument(e);if(a==null)return null;var n=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:a.loc,body:i};return t&&this.switchMode(n),o}parseGroup(e,t){var a=this.fetch(),n=a.text,i;if(n==="{"||n==="\\begingroup"){this.consume();var o=n==="{"?"}":"\\endgroup";this.gullet.beginGroup();var u=this.parseExpression(!1,o),c=this.fetch();this.expect(o),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:m0.range(a,c),body:u,semisimple:n==="\\begingroup"||void 0}}else if(i=this.parseFunction(t,e)||this.parseSymbol(),i==null&&n[0]==="\\"&&!Object.prototype.hasOwnProperty.call(rn,n)){if(this.settings.throwOnError)throw new A("Undefined control sequence: "+n,a);i=this.formatUnsupportedCmd(n),this.consume()}return i}formLigatures(e){for(var t=e.length-1,a=0;a<t;++a){var n=e[a];if(n.type==="textord"){var i=n.text,o=e[a+1];if(!(!o||o.type!=="textord")){if(i==="-"&&o.text==="-"){var u=e[a+2];a+1<t&&u&&u.type==="textord"&&u.text==="-"?(e.splice(a,3,{type:"textord",mode:"text",loc:m0.range(n,u),text:"---"}),t-=2):(e.splice(a,2,{type:"textord",mode:"text",loc:m0.range(n,o),text:"--"}),t-=1)}(i==="'"||i==="`")&&o.text===i&&(e.splice(a,2,{type:"textord",mode:"text",loc:m0.range(n,o),text:i+i}),t-=1)}}}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var a=t.slice(5),n=a.charAt(0)==="*";if(n&&(a=a.slice(1)),a.length<2||a.charAt(0)!==a.slice(-1))throw new A(`\\verb assertion failed --
|
|
267
|
+
please report what input caused this bug`);return a=a.slice(1,-1),{type:"verb",mode:"text",body:a,star:n}}Object.prototype.hasOwnProperty.call(aa,t[0])&&!Z[this.mode][t[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=aa[t[0]]+t.slice(1));var i=ss.exec(t);i&&(t=t.substring(0,i.index),t==="i"?t="ı":t==="j"&&(t="ȷ"));var o;if(Z[this.mode][t]){this.settings.strict&&this.mode==="math"&&Ct.includes(t)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var u=Z[this.mode][t].group,c=m0.range(e),d;gi(u)?d={type:"atom",mode:this.mode,family:u,loc:c,text:t}:d={type:u,mode:this.mode,loc:c,text:t},o=d}else if(t.charCodeAt(0)>=128)this.settings.strict&&(va(t.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0)+")"),e)),o={type:"textord",mode:"text",loc:m0.range(e),text:t};else return null;if(this.consume(),i)for(var v=0;v<i[0].length;v++){var b=i[0][v];if(!wt[b])throw new A("Unknown accent ' "+b+"'",e);var y=wt[b][this.mode]||wt[b].text;if(!y)throw new A("Accent "+b+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:m0.range(e),label:y,isStretchy:!1,isShifty:!0,base:o}}return o}}tt.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var ms=function(e,t){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var a=new tt(e,t);delete a.gullet.macros.current["\\df@tag"];var n=a.parse();if(delete a.gullet.macros.current["\\current@color"],delete a.gullet.macros.current["\\color"],a.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new A("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:a.subparse([new f0("\\df@tag")])}]}return n};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.");var ds=function(e,t){var a=ps(e,t).toMarkup();return a},fs=function(e,t,a){if(a.throwOnError||!(e instanceof A))throw e;var n=M(["katex-error"],[new b0(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+a.errorColor),n},ps=function(e,t){var a=new v1(t);try{var n=ms(e,a);return oi(n,e,a)}catch(i){return fs(i,e,a)}};function an({display:r=!1,source:e}){const t=U.useMemo(()=>ds(e,{displayMode:r,output:"htmlAndMathml",strict:"ignore",throwOnError:!1,trust:!1}),[r,e]),a=r?"div":"span";return B.jsx(a,{className:r?"markdown-math-block":"markdown-math-inline",dangerouslySetInnerHTML:{__html:t}})}const vs=new Set([".avif",".gif",".ico",".jpeg",".jpg",".png",".svg",".webp"]);function nn({checked:r,inline:e=!1}){return B.jsx("input",{"aria-label":r?"Checked item":"Unchecked item",checked:r,className:`markdown-checkbox ${e?"inline":""}`,disabled:!0,readOnly:!0,type:"checkbox"})}function G0(r,e){const t=[];let a=0,n=0,i=null;const o=u=>{u>n&&t.push(r.slice(n,u))};for(;a<r.length;){const u=r[a];if(u==="`"){const C=r.indexOf("`",a+1);if(C>a+1){const E=r.slice(a+1,C),q=i&&i.path.lastIndexOf("/")>0&&/^(?:\s*(?:\.\.\.|…)\s*)$/.test(r.slice(i.end,a))&&!/[\/]/.test(E)?i.path.slice(0,i.path.lastIndexOf("/")):null,R=e.onOpenFileInSidebar?We(E,{workspaceRootPath:e.workspaceRootPath,fileBasePath:q||e.fileBasePath}):null;o(a),t.push(R?Ut(R.displayPath,R.path,R.displayPath,e,t.length):B.jsx("code",{children:E},t.length)),i=R?{path:R.path,end:C+1}:null,a=C+1,n=a;continue}}const c=gs(r,a);if(c){o(a),t.push(B.jsx(an,{source:c.content},t.length)),a=c.end,n=a;continue}const d=u==="<"||r.startsWith("!<img",a)?Ss(r,a):null;if(d){const C=$t(d.src,e);if(C){o(a),t.push(na(d.alt,C,e,t.length)),a=d.end,n=a;continue}}const v=u==="<"?zs(r,a):null;if(v){o(a),t.push(pe(v.label,v.href,e,t.length)),a=v.end,n=a;continue}const b=u==="<"?As(r,a):null;if(b){o(a),t.push(pe(b.href,b.href,e,t.length)),a=b.end,n=a;continue}const y=u==="["?Ms(r,a):null;if(y){o(a),t.push(B.jsx(nn,{checked:y.checked,inline:!0},t.length)),a=y.end,n=a;continue}const w=r.startsWith("![",a)?xs(r,a):null;if(w){const C=$t(w.href,e);o(a),t.push(C?na(w.label,C,e,t.length):pe(w.label||w.href,w.href,e,t.length)),a=w.end,n=a;continue}const x=u==="["?ks(r,a):null;if(x){o(a),t.push(pe(x.label,x.href,e,t.length)),a=x.end,n=a;continue}const z=bs(r,a);if(z){o(a),t.push(pe(z.href,z.href,e,t.length)),a=z.end,n=a;continue}const S=e.onOpenFileInSidebar?Vn(r,a,{workspaceRootPath:e.workspaceRootPath,fileBasePath:e.fileBasePath}):null;if(S){o(a),t.push(Ut(S.displayPath,S.path,S.displayPath,e,t.length)),a=S.end,n=a;continue}if(r.startsWith("**",a)){const C=r.indexOf("**",a+2);if(C>a+2){o(a),t.push(B.jsx("strong",{children:G0(r.slice(a+2,C),e)},t.length)),a=C+2,n=a;continue}}if(r.startsWith("__",a)){const C=r.indexOf("__",a+2);if(C>a+2){o(a),t.push(B.jsx("strong",{children:G0(r.slice(a+2,C),e)},t.length)),a=C+2,n=a;continue}}a+=1}return o(r.length),t}function gs(r,e){if(r.startsWith("\\(",e)){const a=r.indexOf("\\)",e+2);return a<=e+2?null:{content:r.slice(e+2,a),end:a+2}}if(r[e]!=="$"||r[e+1]==="$"||/\s/.test(r[e+1]??""))return null;let t=e+1;for(;(t=r.indexOf("$",t+1))>=0;)if(r[t-1]!=="\\"&&!(r[t+1]==="$"||/\s/.test(r[t-1]??"")))return{content:r.slice(e+1,t),end:t+1};return null}function bs(r,e){const t=e>0?r[e-1]:"";if(t&&!/[\s([{<]/.test(t))return null;const a=r.slice(e),n=/^(?:https?:\/\/|www\.)[^\s<>()]+(?:\([^\s<>()]*\)[^\s<>()]*)*/i.exec(a);if(!n)return null;let i=n[0];for(;/[.,;:!?]$/.test(i);)i=i.slice(0,-1);return i?{href:/^www\./i.test(i)?`https://${i}`:i,end:e+i.length}:null}function pe(r,e,t,a){const n=on(e),i=$t(n,t),o=/^https?:\/\//i.test(n),u=i?.kind==="url"?i.src:i?.src??n,c=t.onOpenFileInSidebar?We(n,{workspaceRootPath:t.workspaceRootPath,fileBasePath:t.fileBasePath}):null;return!i&&c?Ut(r,c.path,c.displayPath,t,a):B.jsx("a",{href:o||i?u:"#",className:i?"markdown-image-link":void 0,onBlur:()=>{i&&t.onPreviewImage(null)},onClick:d=>{if(i){d.preventDefault(),qs(i,t),t.onPreviewImage(null);return}if(o&&t.onOpenBrowserLink){d.preventDefault(),t.onOpenBrowserLink(u);return}o||d.preventDefault()},onContextMenu:d=>{d.preventDefault(),t.onPreviewImage(null),t.onOpenLinkMenu(Rs(u,n,d.clientX,d.clientY))},onFocus:d=>{i&&ia(i,t,d.currentTarget)},onMouseEnter:d=>{i&&ia(i,t,d.currentTarget)},onMouseLeave:()=>{i&&t.onPreviewImage(null)},rel:o?"noreferrer":void 0,target:o?"_blank":void 0,title:n,children:r},a)}function na(r,e,t,a){return B.jsx(ys,{context:t,image:e,label:r},a)}function ys({context:r,image:e,label:t}){const a=On(r.connection,e.kind==="workspace"?e.appId:null,e.kind==="workspace"?e.path:null),n=_n(r.connection,e.kind==="local"?e.path:null),i=e.kind==="url"?e.src:e.kind==="local"?n:a,o=t.trim()||e.title;return B.jsx("button",{type:"button",className:`markdown-inline-image ${i?"ready":"loading"}`,onClick:()=>{if(e.kind==="url"){r.onOpenImage({src:e.src,title:o});return}if(i){r.onOpenImage({src:i,title:o});return}e.kind!=="local"&&r.onOpenWorkspaceImage({appId:e.appId,path:e.path,title:o})},title:o,children:i?B.jsx("img",{alt:o,decoding:"async",loading:"lazy",src:i}):B.jsx("span",{"aria-hidden":"true"})})}function Ut(r,e,t,a,n){const i=Bs(e,t,a);return i?B.jsx(ws,{context:a,displayPath:t,image:i,label:r,path:e},n):B.jsx(sn,{context:a,displayPath:t,label:r,path:e},n)}function sn({context:r,displayPath:e,label:t,path:a}){return B.jsx("a",{href:"#",className:"markdown-file-link",onClick:n=>{n.preventDefault(),r.onOpenFileInSidebar?.(a)},onContextMenu:n=>{n.preventDefault(),r.onPreviewImage(null),r.onOpenLinkMenu(Ls(a,e,n.clientX,n.clientY))},title:a,children:t})}function ws({context:r,displayPath:e,image:t,label:a,path:n}){const i=oa(r.connection,t.kind==="workspace"?t.appId:null,t.kind==="workspace"?t.path:null),o=ha(r.connection,t.kind==="local"?t.path:null),u=t.kind==="local"?o:i,c=t.kind==="url"?t.src:u.url,[d,v]=U.useState(null),b=!!(c&&d===c)||t.kind!=="url"&&u.status==="error",y=t.title||e;return B.jsxs("span",{className:"markdown-file-image-reference",children:[B.jsx(sn,{context:r,displayPath:e,label:a,path:n}),B.jsx("button",{type:"button",className:`markdown-file-image-preview ${b?"error":c?"ready":"loading"}`,onClick:()=>{if(b){v(null),t.kind!=="url"&&u.retry();return}if(t.kind==="url"){r.onOpenImage({src:t.src,title:y});return}if(c){r.onOpenImage({src:c,title:y});return}t.kind!=="local"&&r.onOpenWorkspaceImage({appId:t.appId,path:t.path,title:y})},title:y,"aria-label":b?`Retry preview for ${y}`:`Preview ${y}`,children:b?B.jsx("span",{children:"Preview unavailable · Retry"}):c?B.jsx("img",{alt:y,decoding:"async",loading:"lazy",src:c,onError:()=>v(c)}):B.jsx("span",{children:"Loading preview…"})})]})}function xs(r,e){if(!r.startsWith("![",e))return null;const t=e+2,a=r.indexOf("]",t);if(a<t||r[a+1]!=="(")return null;const n=ln(r,a+2);return n?{label:r.slice(t,a),href:n.href,end:n.end}:null}function ks(r,e){const t=r.indexOf("]",e+1);if(t<=e+1||r[t+1]!=="(")return null;const a=ln(r,t+2);return a?{label:r.slice(e+1,t),href:a.href,end:a.end}:null}function ln(r,e){if(r[e]==="<"){const a=r.indexOf(">",e+1);return a<0||r[a+1]!==")"?null:{href:r.slice(e+1,a),end:a+2}}let t=0;for(let a=e;a<r.length;a+=1){const n=r[a];if(n==="\\"){a+=1;continue}if(n==="("){t+=1;continue}if(n===")"){if(t===0)return{href:r.slice(e,a),end:a+1};t-=1}}return null}function Ss(r,e){const t=r[e]==="!"?e+1:e;if(!/^<img\b/i.test(r.slice(t)))return null;const a=r.indexOf(">",t+4);if(a<0)return null;const n=r.slice(t,a+1),i=xt(n,"src");return i?{src:i,alt:xt(n,"alt")??xt(n,"title")??"",end:a+1}:null}function Ms(r,e){const t=r.slice(e,e+3);return t==="[ ]"?{checked:!1,end:e+3}:t==="[x]"||t==="[X]"?{checked:!0,end:e+3}:null}function zs(r,e){const t=r.slice(e),a=/^<a\s+[^>]*href\s*=\s*(["'])(.*?)\1[^>]*>(.*?)<\/a>/i.exec(t);return a?{href:a[2]??"",label:Ts(a[3]??""),end:e+a[0].length}:null}function As(r,e){const t=r.indexOf(">",e+1);if(t<=e+1)return null;const a=r.slice(e+1,t).trim();return Cs(a)?{href:a,end:t+1}:null}function Ts(r){return r.replace(/<[^>]+>/g,"").trim()||r}function xt(r,e){const a=new RegExp(`\\s${e}\\s*=\\s*(?:"([^"]*)"|'([^']*)'|([^\\s>]+))`,"i").exec(r);return a?.[1]??a?.[2]??a?.[3]??null}function Cs(r){return/^(https?:\/\/|file:\/\/|(?:workspace|sandbox):file:|\/|\.{1,2}\/)/i.test(r)}function $t(r,e){const t=on(r);if(!t)return null;if(/^https?:\/\//i.test(t))try{const o=new URL(t),u=Es(o,e);return u||(Ns(o,e.connection)?{kind:"url",src:t,title:z0(o.searchParams.get("path")??o.pathname)}:null)}catch{return null}const a=Ds(t),n=Gt(a??t,e.workspaceRootPath);if(n)return{kind:"url",src:n,title:z0(a??t)};if(!a||!A0(a)||!e.connection)return null;if(rt(a))return{kind:"local",path:a,src:e.localImageUrls.getUrl(a),title:z0(a)};if(!e.activeWorkspaceAppId)return null;const i=at(a,e.workspaceRootPath);return!i||!A0(i)?null:{kind:"workspace",appId:e.activeWorkspaceAppId,path:i,src:e.workspaceImageUrls.getUrl(e.activeWorkspaceAppId,i),title:z0(i)}}function Bs(r,e,t){const a=Gt(r,t.workspaceRootPath)??Gt(e,t.workspaceRootPath);if(a)return{kind:"url",src:a,title:z0(e)};if(!A0(r)||!t.connection)return null;if(rt(r))return{kind:"local",path:r,src:t.localImageUrls.getUrl(r),title:z0(r)};if(!t.activeWorkspaceAppId)return null;const n=at(r,t.workspaceRootPath);return!n||!A0(n)?null:{kind:"workspace",appId:t.activeWorkspaceAppId,path:n,src:t.workspaceImageUrls.getUrl(t.activeWorkspaceAppId,n),title:z0(n)}}function Gt(r,e){const t=at(r,e),a="apps/web/public/";if(!t?.startsWith(a))return null;const n=t.slice(a.length);return!n||!Is(n)?null:kn(n.split("/").map(encodeURIComponent).join("/"))}function Is(r){const e=r.split("?")[0]?.split("#")[0]??r,t=e.lastIndexOf(".");return t<0?!1:vs.has(e.slice(t).toLowerCase())}function on(r){return r.trim().replace(/^['"`]+|['"`]+$/g,"")}function Ds(r){let e=r.trim();if(!e)return null;if(e.startsWith("file://"))try{return decodeURIComponent(new URL(e).pathname)}catch{return e.replace(/^file:\/\//,"")}if(rt(e))return e;const t=e.indexOf("#");t>=0&&(e=e.slice(0,t));const a=e.indexOf("?");return a>=0&&(e=e.slice(0,a)),e}function rt(r){return/^file:\/\//i.test(r)||/^(?:\/|~\/)/.test(r)||/^[A-Za-z]:[\\/]/.test(r)}function at(r,e){let t=r.trim().replace(/^['"`]+|['"`]+$/g,"");if(!t)return null;if(t.startsWith("file://"))try{t=decodeURIComponent(new URL(t).pathname)}catch{t=t.replace(/^file:\/\//,"")}if(t=t.replace(/\\/g,"/"),rt(t)){const n=e?.trim().replace(/\\/g,"/").replace(/\/+$/,"");if(!n||!t.startsWith(`${n}/`))return null;t=t.slice(n.length+1)}t=t.replace(/^\.\/+/,"");const a=t.split("/").filter(Boolean);return a.length===0||a.some(n=>n==="."||n===".."||n===".git")?null:a.join("/")}function Ns(r,e){if(e){const a=new URL(e.serverUrl);if(r.origin===a.origin){if(r.pathname==="/v1/local-image"||/\/v1\/workspaces\/[^/]+\/file-image$/.test(r.pathname))return!1;if(r.pathname==="/v1/assets/workspace-image"||r.pathname==="/v1/assets/chat-attachment-image")return!0}}if(A0(r.pathname))return!0;const t=r.searchParams.get("path");return!!(t&&A0(t))}function Es(r,e){if(!e.connection)return null;const t=new URL(e.connection.serverUrl);if(r.origin!==t.origin)return null;const a=r.pathname==="/v1/assets/workspace-image"?r.searchParams.get("path"):null;if(a&&A0(a))return{kind:"url",src:r.toString(),title:z0(a)};const n=r.pathname==="/v1/assets/chat-attachment-image"?r.searchParams.get("storageName"):null;if(n&&A0(n))return{kind:"url",src:r.toString(),title:z0(n)};const i=/^\/v1\/workspaces\/([^/]+)\/file-image$/.exec(r.pathname),o=i?r.searchParams.get("path"):null;if(!i||!o||!A0(o))return null;const u=decodeURIComponent(i[1]),c=at(o,e.workspaceRootPath);return!c||!A0(c)?null:{kind:"workspace",appId:u,path:c,src:e.workspaceImageUrls.getUrl(u,c),title:z0(c)}}function qs(r,e){if(r.kind==="url"){e.onOpenImage(r);return}if(r.kind==="local"){r.src&&e.onOpenImage({src:r.src,title:r.title});return}if(r.src){e.onOpenImage({src:r.src,title:r.title});return}e.onOpenWorkspaceImage({appId:r.appId,path:r.path,title:r.title})}function ia(r,e,t){if(r.kind==="url"){e.onPreviewImage(ve(r,t));return}if(r.kind==="local"){if(r.src){e.onPreviewImage(ve({src:r.src,title:r.title},t));return}e.localImageUrls.loadUrl(r.path).then(a=>{a&&t.matches(":hover")&&e.onPreviewImage(ve({src:a,title:r.title},t))});return}if(r.src){e.onPreviewImage(ve({src:r.src,title:r.title},t));return}e.workspaceImageUrls.loadUrl(r.appId,r.path).then(a=>{a&&t.matches(":hover")&&e.onPreviewImage(ve({src:a,title:r.title},t))})}function ve(r,e){const t=e.getBoundingClientRect(),a=236,n=172,i=12,o=Math.max(i,Math.min(t.left,window.innerWidth-a-i)),u=t.bottom+8,c=u+n<=window.innerHeight-i?u:Math.max(i,t.top-n-8);return{...r,x:o,y:c}}function Rs(r,e,t,a){return{kind:"browser",browserHref:r,displayHref:e,x:Math.max(8,Math.min(t,window.innerWidth-220-8)),y:Math.max(8,Math.min(a,window.innerHeight-142-8))}}function Ls(r,e,t,a){return{kind:"file",path:r,displayPath:e,x:Math.max(8,Math.min(t,window.innerWidth-220-8)),y:Math.max(8,Math.min(a,window.innerHeight-72-8))}}async function Os(r){const e=r.trim();if(!e)return!1;const t=window.openpond?.files;if(!t)return!1;try{return(await t.reveal({path:e})).ok}catch{return!1}}async function al(r,e){const t=r.trim(),a=window.openpond?.files;if(!t||!a?.saveAs)return{ok:!1,canceled:!1,path:null};try{const n=await a.saveAs({path:t,suggestedName:e});return{ok:n.ok,canceled:n.canceled,path:n.path??null}}catch{return{ok:!1,canceled:!1,path:null}}}const Fs={bash:"Bash",css:"CSS",html:"HTML",javascript:"JavaScript",js:"JavaScript",json:"JSON",jsx:"JSX",markdown:"Markdown",md:"Markdown",python:"Python",py:"Python",sh:"Shell",shell:"Shell",sql:"SQL",ts:"TypeScript",tsx:"TSX",typescript:"TypeScript",yaml:"YAML",yml:"YAML"},Ps=U.memo(function({content:e,language:t}){const[a,n]=U.useState(!1),[i,o]=U.useState(!1),u=Hs(t);return U.useEffect(()=>{if(!a)return;const c=window.setTimeout(()=>n(!1),1800);return()=>window.clearTimeout(c)},[a]),B.jsxs("section",{className:`markdown-code-block${i?" wrap-lines":""}`,"aria-label":`${u} code block`,children:[B.jsxs("header",{className:"markdown-code-header",children:[B.jsxs("span",{className:"markdown-code-language",children:[B.jsx(Cn,{"aria-hidden":!0,size:15,strokeWidth:1.8}),B.jsx("span",{children:u})]}),B.jsxs("span",{className:"markdown-code-actions",children:[B.jsx("button",{"aria-label":i?"Stop wrapping code":"Wrap code","aria-pressed":i,className:"markdown-code-action",title:i?"Stop wrapping":"Wrap lines",type:"button",onClick:()=>o(c=>!c),children:B.jsx(Ln,{"aria-hidden":!0,size:15})}),B.jsx("button",{"aria-label":a?"Code copied":"Copy code",className:"markdown-code-action",title:a?"Copied":"Copy code",type:"button",onClick:()=>{St(e).then(c=>{c&&n(!0)})},children:a?B.jsx(Sn,{"aria-hidden":!0,size:15}):B.jsx(In,{"aria-hidden":!0,size:15})})]})]}),B.jsx("pre",{className:"markdown-code-content",children:B.jsx("code",{children:e})})]})});function Hs(r){const e=r?.trim().toLowerCase();return e?Fs[e]??e.charAt(0).toUpperCase()+e.slice(1):"Code"}function nl({activeWorkspaceAppId:r=null,connection:e=null,content:t,finalizedContent:a,mutableContent:n,onOpenBrowserLink:i,onOpenFileInSidebar:o,workspaceRootPath:u=null}){const c=a!==void 0||n!==void 0,d=U.useMemo(()=>c?[]:Pe(t),[t,c]),v=U.useMemo(()=>c&&a?Pe(a):[],[a,c]),b=U.useMemo(()=>c&&n?Pe(n):[],[n,c]),[y,w]=U.useState(null),[x,z]=U.useState(null),[S,C]=U.useState(null),E=e1(e),q=Fn(e),R=U.useCallback(L=>{q.loadUrl(L.appId,L.path).then(P=>{P&&w({src:P,title:L.title})})},[q]),j=U.useMemo(()=>({activeWorkspaceAppId:r,connection:e,onOpenBrowserLink:i,onOpenFileInSidebar:o,onOpenLinkMenu:C,onOpenImage:w,onOpenWorkspaceImage:R,onPreviewImage:z,localImageUrls:E,workspaceImageUrls:q,workspaceRootPath:u}),[r,e,R,E,i,o,q,u]);return U.useEffect(()=>{if(!S)return;const L=()=>C(null),P=G=>{G.key==="Escape"&&L()};return window.addEventListener("click",L),window.addEventListener("keydown",P),window.addEventListener("scroll",L,!0),()=>{window.removeEventListener("click",L),window.removeEventListener("keydown",P),window.removeEventListener("scroll",L,!0)}},[S]),B.jsxs("div",{className:"markdown-message",children:[c?B.jsxs(B.Fragment,{children:[B.jsx(kt,{blocks:v,context:j,keyPrefix:"finalized",workspaceRootPath:u}),B.jsx(kt,{blocks:b,context:{...j,fileBasePath:v.reduce(un,null)},keyPrefix:"mutable",workspaceRootPath:u})]}):B.jsx(kt,{blocks:d,context:j,keyPrefix:"block",workspaceRootPath:u}),x&&B.jsx(Us,{preview:x}),S&&B.jsx($s,{menu:S,onClose:()=>C(null),onOpenBrowserLink:i,onOpenFileInSidebar:o}),B.jsx(Hn,{open:!!y,src:y?.src??null,title:y?.title??"",onClose:()=>w(null)})]})}const kt=U.memo(function({blocks:e,context:t,keyPrefix:a,workspaceRootPath:n}){return hn(e,t,n,a)});function un(r,e){return e.type==="list"?r:"content"in e&&typeof e.content=="string"&&e.type!=="code"?Qn(e.content):null}function hn(r,e,t,a="block"){let n=e.fileBasePath??null;return r.map((i,o)=>{n=un(n,i);const u={...e,fileBasePath:n},c=`${a}-${o}`;if(i.type==="blockquote")return B.jsx("blockquote",{className:"markdown-blockquote",children:hn(Pe(i.content),e,t,`${c}-quote`)},c);if(i.type==="code"){const d=js(i.content,t);return d?B.jsx("div",{className:"markdown-file-reference-block",children:d.map((v,b)=>B.jsx("div",{className:"markdown-file-reference-line",children:G0(v,u)},b))},c):B.jsx(Ps,{content:i.content,language:i.language},c)}if(i.type==="math")return B.jsx(an,{display:!0,source:i.content},c);if(i.type==="list"){const d=i.items.map((v,b)=>B.jsxs("li",{className:v.checked===null?void 0:"markdown-task-list-item",value:i.ordered?v.ordinal??void 0:void 0,children:[v.checked===null?null:B.jsx(nn,{checked:v.checked}),B.jsx("span",{children:G0(v.content,u)})]},b));return i.ordered?B.jsx("ol",{className:"markdown-list",start:i.start,children:d},c):B.jsx("ul",{className:"markdown-list",children:d},c)}if(i.type==="heading"){const d=i.level===1?"h1":i.level===2?"h2":i.level===3?"h3":"h4";return B.jsx(d,{className:"markdown-heading",children:G0(i.content,u)},c)}return i.type==="table"?B.jsx("div",{className:"markdown-table-wrap",children:B.jsxs("table",{className:"markdown-table",children:[B.jsx("thead",{children:B.jsx("tr",{children:i.headers.map((d,v)=>B.jsx("th",{children:G0(d,u)},v))})}),B.jsx("tbody",{children:i.rows.map((d,v)=>B.jsx("tr",{children:i.headers.map((b,y)=>B.jsx("td",{children:G0(d[y]??"",e)},y))},v))})]})},c):B.jsx("p",{className:"markdown-paragraph",children:G0(i.content,u)},c)})}function js(r,e){const t=r.split(`
|
|
268
|
+
`),a=[];for(const n of t){const i=n.trim();if(!i)continue;const u=i.replace(/^(?:[-*]|\d+[.)])\s+/,"").trim().replace(/^`+|`+$/g,"").trim();if(!u||!We(u,{workspaceRootPath:e}))return null;a.push(u)}return a.length>0?a:null}function Us({preview:r}){const[e,t]=U.useState(!1);return U.useEffect(()=>{t(!1)},[r.src]),B.jsxs("div",{className:`markdown-image-hover-preview ${e?"unavailable":""}`,style:{left:r.x,top:r.y},children:[e?B.jsx("span",{children:"Preview unavailable"}):B.jsx("img",{alt:"",src:r.src,onError:()=>t(!0)}),B.jsx("span",{children:r.title})]})}function $s({menu:r,onClose:e,onOpenBrowserLink:t,onOpenFileInSidebar:a}){return r.kind==="file"?B.jsxs("div",{className:"markdown-link-menu",role:"menu",style:{left:r.x,top:r.y},onClick:n=>n.stopPropagation(),children:[B.jsx("button",{type:"button",role:"menuitem",onClick:()=>{a?.(r.path),e()},children:/[\\/]$/.test(r.path)?"Open folder":fr(r.path)?"Open in browser":"Open in sidebar"}),fr(r.path)&&B.jsx("button",{type:"button",role:"menuitem",onClick:()=>{a?.(r.path,{source:!0}),e()},children:"View source"}),B.jsx("button",{type:"button",role:"menuitem",onClick:()=>{Os(r.path),e()},children:"Open externally"}),B.jsx("button",{type:"button",role:"menuitem",onClick:()=>{St(r.displayPath),e()},children:"Copy path"})]}):B.jsxs("div",{className:"markdown-link-menu",role:"menu",style:{left:r.x,top:r.y},onClick:n=>n.stopPropagation(),children:[B.jsx("button",{type:"button",role:"menuitem",onClick:()=>{t?t(r.browserHref):window.open(r.browserHref,"_blank","noopener,noreferrer"),e()},children:"Open in sidebar"}),B.jsx("button",{type:"button",role:"menuitem",onClick:()=>{t?t(r.browserHref,{newTab:!0}):window.open(r.browserHref,"_blank","noopener,noreferrer"),e()},children:"Open in new tab"}),B.jsx("button",{type:"button",role:"menuitem",onClick:()=>{window.open(r.browserHref,"_blank","noopener,noreferrer"),e()},children:"Open externally"}),B.jsx("button",{type:"button",role:"menuitem",onClick:()=>{St(r.displayHref),e()},children:"Copy link"})]})}export{Vs as A,Cn as C,Zs as F,Hn as I,nl as M,Ks as P,Js as T,Qs as W,Xs as a,In as b,St as c,rl as d,On as e,Ys as f,tl as g,_s as h,fr as i,el as j,We as n,Os as r,al as s,_n as u};
|