@puddle-code/cli 0.0.51 → 0.0.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.
Files changed (28) hide show
  1. package/CHANGELOG.md +3 -4
  2. package/dist/index.js +13 -3
  3. package/dist/public/assets/{Dashboard-BVhpOZWL.js → Dashboard-Dq6RrWk7.js} +1 -1
  4. package/dist/public/assets/{EditorTabClose-BBeGhcin.js → EditorTabClose-BS5aHxh5.js} +1 -1
  5. package/dist/public/assets/{LazyTerminal-dobHNDnL.js → LazyTerminal-CbtFuzQP.js} +2 -2
  6. package/dist/public/assets/{ModelRefcount-Bh-Gx_um.js → ModelRefcount-ChfPx0UZ.js} +1 -1
  7. package/dist/public/assets/{PaneEditorBody-DeInskNr.js → PaneEditorBody-8lazO4kO.js} +7 -7
  8. package/dist/public/assets/{SettingsDialog-B-y1ZE4i.js → SettingsDialog-BpsUZQB5.js} +1 -1
  9. package/dist/public/assets/{Terminal-ChnHAaOZ.js → Terminal-Bexn0tqa.js} +2 -2
  10. package/dist/public/assets/Workspace-BE_QOMyH.js +7 -0
  11. package/dist/public/assets/{buffer-store-CtR80J8K.js → buffer-store-BTEgWcpZ.js} +3 -3
  12. package/dist/public/assets/{context-menu-D2IgAJf3.js → context-menu-BIqiOFyY.js} +1 -1
  13. package/dist/public/assets/{cssMode-D0_hzalo.js → cssMode-BH6iLDEP.js} +1 -1
  14. package/dist/public/assets/editor-context-BZHPtUDq.js +1 -0
  15. package/dist/public/assets/{editor-sync-DoqKyrPU.js → editor-sync-DcvE_QhK.js} +1 -1
  16. package/dist/public/assets/{file-links-Cv4u-85W.js → file-links-BUb_sQYr.js} +1 -1
  17. package/dist/public/assets/{hotkeys-uS50-PkH.js → hotkeys-BApA7bsN.js} +1 -1
  18. package/dist/public/assets/{htmlMode-CfxGDG5X.js → htmlMode-VynBD_99.js} +1 -1
  19. package/dist/public/assets/index-DMiHDm9d.js +10 -0
  20. package/dist/public/assets/{jsonMode-BJ8glT_6.js → jsonMode-BkDE2aQc.js} +1 -1
  21. package/dist/public/assets/{session-seed-BXfZcX7t.js → session-seed-DJUa6_Hr.js} +1 -1
  22. package/dist/public/assets/{tsMode-QThqdAds.js → tsMode-Bc49vc2n.js} +1 -1
  23. package/dist/public/assets/{use-find-controls-XCU2T3Mk.js → use-find-controls-BiId78Q6.js} +1 -1
  24. package/dist/public/index.html +3 -3
  25. package/package.json +1 -1
  26. package/dist/public/assets/Workspace-DdkhBJEw.js +0 -7
  27. package/dist/public/assets/editor-context-ZCl2hgXk.js +0 -1
  28. package/dist/public/assets/index-V87RMkBD.js +0 -10
@@ -1,9 +1,9 @@
1
- import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{t}from"./react-CZI7_Jkm.js";import{a as n}from"./x-BJOrp_m5.js";import{Kt as r,L as i,St as a,Vt as o,bt as s,c,p as l,v as u}from"./hotkeys-uS50-PkH.js";import{D as d,E as f,M as p,N as m,P as h,S as g,a as _,d as v,f as y,g as b,j as x,k as S,m as C,n as ee,o as te,p as ne,v as re,w as ie,z as ae}from"./editor-context-ZCl2hgXk.js";import{t as oe}from"./preload-helper-Czpn1I53.js";import{a as se,n as ce,r as le,t as ue}from"./use-find-controls-XCU2T3Mk.js";import{F as de,I as w,J as fe,N as pe,P as me,X as he,Y as ge,a as _e,ft as ve}from"./index-V87RMkBD.js";import{c as ye,i as be,p as T,r as xe}from"./editor.api2-4X9Vh9Zw.js";import{a as Se,c as Ce,d as we,f as Te,i as Ee,l as De,n as Oe,o as ke,r as Ae,s as je,t as Me,u as Ne}from"./buffer-store-CtR80J8K.js";import{a as Pe,c as Fe,i as Ie,l as Le,n as Re,o as ze,r as Be,s as Ve}from"./editor-sync-DoqKyrPU.js";import{r as He}from"./buffer-logic-BrpRsL1b.js";var E=e(t(),1),Ue=new Map,We=new Map,Ge=1;function Ke(e){for(let t of We.get(e)??[])t()}function qe(e,t){Ue.set(e,t),Ke(e)}function Je(e){let t={phase:`unresolved`,revision:Ge++};return qe(e,t),t}function Ye(e){let t=Ue.get(e);return!t||t.phase!==`unresolved`&&t.phase!==`load-error`?null:(qe(e,{phase:`loading`,revision:t.revision}),t.revision)}function Xe(e,t,n,r){let i=Ue.get(e);return!i||i.phase!==`loading`||i.revision!==t?!1:(qe(e,{phase:`opening`,revision:t,content:n,mtimeMs:r}),!0)}function Ze(e,t){let n=Ue.get(e);return!n||n.phase!==`opening`||n.revision!==t?!1:(qe(e,{...n,phase:`comparing`}),!0)}function Qe(e,t,n){let r=Ue.get(e);return!r||r.phase!==`loading`||r.revision!==t?!1:(qe(e,{phase:`load-error`,revision:t,message:n}),!0)}function $e(e,t){return t&&e?.phase===`unresolved`}function et(e){return e?.phase===`comparing`?e.mtimeMs:void 0}function tt(e){return e?.phase===`loading`||e?.phase===`load-error`||e?.phase===`opening`}function nt(e){return e.phase===`opening`||e.phase===`comparing`}function rt(e){Ue.delete(e)&&Ke(e)}function it(e){return Ue.get(e)??null}function at(e,t){let n=We.get(e);return n||(n=new Set,We.set(e,n)),n.add(t),()=>n.delete(t)}var D=n();function ot({session:e,path:t,conflict:n,model:r,onTakeDisk:i,onKeepMine:a,onSave:o,onReady:s}){let c=he(),l=(0,E.useId)(),u=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]),d=(0,E.useRef)(o);d.current=o;let f=(0,E.useRef)(null),p=()=>{let e=f.current;if(!e)return;let t=e.getModel();e.setModel(null),t?.original.dispose(),f.current=null},m=(0,E.useRef)(p);return m.current=p,(0,E.useEffect)(()=>()=>m.current(),[]),(0,D.jsxs)(`div`,{className:`flex h-full flex-col bg-ground`,children:[(0,D.jsxs)(`div`,{className:`flex items-center gap-3 bg-elevated px-3 py-1.5 text-xs text-fg-secondary`,children:[(0,D.jsx)(`span`,{children:`This file changed on disk. Yours is on the right — merge what you want, then save.`}),(0,D.jsx)(`button`,{type:`button`,onClick:i,className:`ml-auto shrink-0 text-fg-muted transition-colors hover:text-fg`,children:`Take the disk version`}),(0,D.jsx)(`button`,{type:`button`,onClick:a,disabled:n.phase!==`comparing`,className:`shrink-0 text-fg-muted transition-colors hover:text-fg`,children:`Keep mine`})]}),(0,D.jsx)(`div`,{className:`min-h-0 flex-1`,children:(0,D.jsx)(Te,{modifiedModelPath:r.uri.toString(),originalModelPath:`puddle-disk://${encodeURIComponent(e)}/${n.mtimeMs}/${encodeURIComponent(l)}/${t.split(`/`).map(encodeURIComponent).join(`/`)}`,original:n.content,language:r.getLanguageId(),theme:Ne,keepCurrentModifiedModel:!0,loading:(0,D.jsx)(`div`,{className:`p-3 text-xs text-fg-muted`,children:`…`}),onMount:e=>{f.current=e,e.onDidDispose(()=>{f.current=null}),e.getModifiedEditor().addCommand(be.CtrlCmd|xe.KeyS,()=>d.current()),s?.(n.revision)},options:{readOnly:n.phase!==`comparing`,originalEditable:!1,renderSideBySide:!0,automaticLayout:!0,fontFamily:u,fontSize:c.editorFontSize,wordWrap:c.editorWordWrap?`on`:`off`,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}})})]})}function st({session:e,path:t,buffer:n,focused:r}){let i=n.conflict;return!i||i.phase===`unresolved`?null:nt(i)&&n.model?(0,D.jsx)(ot,{session:e,path:t,conflict:i,model:n.model,onTakeDisk:n.takeDisk,onKeepMine:n.keepMine,onSave:n.save,onReady:r?n.comparisonReady:void 0}):i.phase===`load-error`?(0,D.jsxs)(`div`,{className:`flex h-full flex-col items-center justify-center gap-3 bg-ground px-4 text-center text-sm text-fg-muted`,children:[(0,D.jsx)(`span`,{children:`The disk version could not be loaded.`}),(0,D.jsx)(`span`,{className:`max-w-lg text-xs text-fg-secondary`,children:i.message}),(0,D.jsx)(`button`,{type:`button`,onClick:n.compare,className:`rounded-md bg-elevated px-3 py-1.5 text-xs text-fg-secondary transition-colors hover:bg-border hover:text-fg`,children:`Retry compare`})]}):(0,D.jsx)(`div`,{className:`flex h-full items-center justify-center bg-ground text-sm text-fg-muted`,children:`Loading the disk version…`})}function ct(e){return Number.isFinite(e)?Math.min(1,Math.max(0,e)):0}function lt(e,t,n){return ct(e/Math.max(1,t-n))}function ut(e,t,n){return ct(e)*Math.max(0,t-n)}function dt(e,t){return JSON.stringify([e,t.session,t.root??null,t.path])}var O=new class{positions=new Map;listeners=new Map;revision=0;publish(e,t,n){let r={ratio:ct(n),revision:++this.revision},i=dt(e,t);this.positions.set(i,r);for(let e of this.listeners.get(i)??[])e(r);return r}get(e,t){return this.positions.get(dt(e,t))}subscribe(e,t,n){let r=dt(e,t),i=this.listeners.get(r);i||(i=new Set,this.listeners.set(r,i)),i.add(n);let a=this.positions.get(r);return a&&n(a),()=>{i?.delete(n),i?.size===0&&this.listeners.delete(r)}}};function ft(e){let t=null;return{schedule:()=>{t===null&&(t=requestAnimationFrame(()=>{t=null,e()}))},dispose:()=>{t!==null&&cancelAnimationFrame(t),t=null}}}function pt(e,t){if(t.driver&&t.receiver)throw Error(`a preview scroll surface cannot be both driver and receiver`);let n=t.store??O,r,i=()=>void 0,a,o=t=>{r=t,e.scrollTop=ut(t.ratio,e.scrollHeight,e.clientHeight)};t.receiver?i=n.subscribe(t.channel,t.target,o):t.driver&&(a=ft(()=>{n.publish(t.channel,t.target,lt(e.scrollTop,e.scrollHeight,e.clientHeight))}),e.addEventListener(`scroll`,a.schedule,{passive:!0}),a.schedule());let s=new ResizeObserver(()=>{t.receiver&&r?o(r):t.driver&&a?.schedule()});for(let e of t.resizeElements??[])s.observe(e);return()=>{t.driver&&a&&e.removeEventListener(`scroll`,a.schedule),i(),s.disconnect(),a?.dispose()}}function mt(e,t,n){if(t.driver&&t.receiver)throw Error(`a Monaco scroll surface cannot be both driver and receiver`);let r=t.store??O,i=[],a,o=()=>void 0,s,c=()=>e.getLayoutInfo().height,l=t=>{a=t,e.setScrollTop(ut(t.ratio,e.getScrollHeight(),c()),n)};return t.receiver?(o=r.subscribe(t.channel,t.target,l),i.push(e.onDidChangeModel(()=>a&&l(a))),i.push(e.onDidLayoutChange(()=>a&&l(a)))):t.driver&&(s=ft(()=>{r.publish(t.channel,t.target,lt(e.getScrollTop(),e.getScrollHeight(),c()))}),i.push(e.onDidScrollChange(s.schedule)),i.push(e.onDidChangeModel(s.schedule)),i.push(e.onDidLayoutChange(s.schedule)),s.schedule()),()=>{o();for(let e of i)e.dispose();s?.dispose()}}function ht(e){return!e}function gt(e){let t=e.split(`+`),n=t.pop()??``,r=0;for(let e of t)e===`meta`?r|=be.CtrlCmd:e===`ctrl`?r|=be.WinCtrl:e===`alt`?r|=be.Alt:e===`shift`&&(r|=be.Shift);let i=xe[/^Key[A-Z]$/.test(n)?`Key${n.slice(3)}`:/^Digit[0-9]$/.test(n)?`Digit${n.slice(5)}`:n];return typeof i==`number`?r|i:null}function _t(e,t){let n=gt(c(`editor.save`));n!==null&&e.addCommand(n,()=>t.onSave());let r=gt(c(`editor.wordWrap`));e.addAction({id:`puddle.toggleWordWrap`,label:`Toggle Word Wrap`,keybindings:r===null?[]:[r],run:()=>ge({editorWordWrap:ht(fe().editorWordWrap)})})}function vt(e){return`file-conflict:${e}`}function yt(e,t,n,r,i){let a=i?.passive===!0,c=i?.focused??!0,l=Me(e,t,r),u=h(e,t,{root:r,live:i?.live}),d=p(e,r),[f,m]=(0,E.useState)(null),[g,_]=(0,E.useState)(!1),v=(0,E.useRef)(!1),y=(0,E.useRef)(null),x=(0,E.useRef)(null),S=(0,E.useRef)(n);S.current=n;let C=(0,E.useRef)(!1),ee=(0,E.useCallback)((e,t)=>{x.current?.cancel(),C.current=!0;try{ke(l,e,t)}finally{C.current=!1}},[l]),te=(0,E.useSyncExternalStore)((0,E.useCallback)(e=>De(l,e),[l]),()=>Ae(l)),ne=(0,E.useSyncExternalStore)((0,E.useCallback)(e=>ze(l,e),[l]),()=>Pe(l)),ie=(0,E.useSyncExternalStore)((0,E.useCallback)(e=>at(l,e),[l]),()=>it(l));(0,E.useEffect)(()=>{let n=u.data;if(!n||n.binary||n.content===null||v.current)return;v.current=!0;let i=Ce(l)!==void 0,a=Oe(e,t,n.content,n.mtime_ms,r);m(a),!i&&Le(e,t,r).then(e=>{e&&(e.base_mtime_ms===n.mtime_ms?He(a,e.content)&&_(!0):o(`This file has an unsaved draft from an earlier version.`,{description:`The file changed on disk since the draft was saved.`,duration:12e3,action:{label:`Restore draft`,onClick:()=>{He(a,e.content)&&_(!0)}}}))})},[u.data,l,e,t,r]),(0,E.useEffect)(()=>{if(!f||a)return;let n=Fe(e,t,r);x.current=n;let i=f.onDidChangeContent(()=>{C.current||(n(f.getValue(),Ce(l)??0),Re(e,t,r))});return()=>{n.flush(),i.dispose(),x.current=null}},[f,l,e,t,r,a]),(0,E.useEffect)(()=>{!f||!ne.savedElsewhere||Ae(l)||u.refetch().then(e=>{Ae(l)||(e.data&&e.data.content!==null&&ee(e.data.content,e.data.mtime_ms),Ie(l))})},[ne.savedElsewhere,f,l]),(0,E.useEffect)(()=>{let e=u.data;!f||!e||e.content===null||!Ae(l)&&e.mtime_ms!==Ce(l)&&ee(e.content,e.mtime_ms)},[u.data,f,l]);let ae=(0,E.useCallback)((n,i)=>{Ee(l,n,i),x.current?.cancel(),Ve(e,t,r),Be(e,t,i,r),_(!1),rt(l)},[l,e,t,r]),oe=(0,E.useCallback)(()=>{let e=Ye(l);e!==null&&(o.dismiss(vt(l)),u.refetch({throwOnError:!0}).then(t=>{let n=t.data;if(!n)throw Error(`The disk version did not load.`);if(n.content===null)throw Error(`The file on disk is binary and cannot be compared as text.`);Xe(l,e,n.content,n.mtime_ms)}).catch(t=>{Qe(l,e,t instanceof Error?t.message:`The disk version did not load.`)}))},[u,l]),se=(0,E.useRef)(oe);se.current=oe,(0,E.useEffect)(()=>{if(!$e(ie,c))return;let e=vt(l);return o(`File changed on disk`,{id:e,description:`Nothing was written — your unsaved version is intact.`,duration:1/0,closeButton:!0,action:{label:`Compare`,onClick:()=>se.current()}}),()=>{o.dismiss(e)}},[ie,c,l]);let ce=(0,E.useCallback)(()=>{u.refetch().then(n=>{n.data&&n.data.content!==null&&ee(n.data.content,n.data.mtime_ms),Ve(e,t,r),_(!1),rt(l)})},[l,e,t,ee]),le=(0,E.useCallback)((e,n)=>{d.mutate({path:t,content:e},{onSuccess:e=>ae(n,e.mtime_ms),onError:e=>o.error(e instanceof Error?e.message:`Overwrite failed`)})},[d,t,ae]),ue=(0,E.useCallback)(()=>{if(!f||!Ae(l))return;let e=f.getValue(),n=f.getAlternativeVersionId();if(tt(it(l)))return;let r=et(it(l))??Ce(l);d.mutate({path:t,content:e,expected_mtime_ms:r},{onSuccess:e=>ae(n,e.mtime_ms),onError:e=>{e instanceof s&&e.status===409&&e.code===`stale_file`?Je(l):o.error(e instanceof Error?e.message:`Save failed`)}})},[f,l,d,t,ae]),de=(0,E.useRef)(ue);de.current=ue,(0,E.useEffect)(()=>b(re(e,t,r),()=>de.current()),[e,t,r]);let w=(0,E.useCallback)(()=>{let n=y.current,i=S.current;r===void 0&&(!n||!i||i.session!==e||i.path!==t||(n.revealLineInCenter(i.line),n.setPosition({lineNumber:i.line,column:i.column??1}),n.focus()))},[e,t,r]),fe=(0,E.useCallback)(e=>{y.current=e,_t(e,{onSave:()=>de.current()}),w()},[w]);(0,E.useEffect)(()=>{w()},[n,f,w]);let pe=(0,E.useCallback)(()=>{ce()},[ce]),me=(0,E.useCallback)(()=>{!f||it(l)?.phase!==`comparing`||le(f.getValue(),f.getAlternativeVersionId())},[f,l,le]),he=(0,E.useCallback)(e=>{Ze(l,e)},[l]),ge,_e=null;u.data?.binary?ge=`binary`:u.error?u.error instanceof s&&u.error.status===413?ge=`too-large`:(ge=`error`,_e=u.error instanceof Error?u.error.message:`Failed to load file`):ge=f?`ready`:`loading`;let ve=te&&ne.savedElsewhere?`saved-elsewhere`:te&&ne.dirtyElsewhere?`dirty-elsewhere`:null;return{status:ge,errorMessage:_e,model:f,dirty:te,restoredNotice:g,discardRestore:pe,peerBadge:ve,conflict:ie,takeDisk:ce,keepMine:me,compare:oe,comparisonReady:he,save:ue,onMount:fe}}function bt(e,t,n,r){for(let i of e)if(Tt([i],n).some(e=>(r===void 0||e.kind===r)&&t>=e.startLineNumber&&t<=e.endLineNumber))return i;return null}function xt(e,t){return Ct(e.modifiedStartLineNumber,e.modifiedEndLineNumber)>0?Math.min(t,e.modifiedEndLineNumber):Math.max(0,Math.min(t,e.modifiedStartLineNumber-1))}function St(e){let t=Ct(e.originalStartLineNumber,e.originalEndLineNumber),n=Ct(e.modifiedStartLineNumber,e.modifiedEndLineNumber);return Math.max(5,Math.min(14,t+n+4))}function Ct(e,t){return t===0?0:Math.max(0,t-e+1)}function wt(e,t){if(e>t)return{startLineNumber:Math.max(1,t),endLineNumber:Math.max(1,t),kind:`deleted-after`};let n=Math.max(1,e);return{startLineNumber:n,endLineNumber:n,kind:`deleted-before`}}function Tt(e,t){let n=[];for(let r of e){let e=Ct(r.originalStartLineNumber,r.originalEndLineNumber),i=Ct(r.modifiedStartLineNumber,r.modifiedEndLineNumber);if(e===0&&i>0){n.push({startLineNumber:r.modifiedStartLineNumber,endLineNumber:r.modifiedEndLineNumber,kind:`added`});continue}if(i===0&&e>0){n.push(wt(r.modifiedStartLineNumber,t));continue}let a=Math.min(e,i);a>0&&n.push({startLineNumber:r.modifiedStartLineNumber,endLineNumber:r.modifiedStartLineNumber+a-1,kind:`modified`}),i>a&&n.push({startLineNumber:r.modifiedStartLineNumber+a,endLineNumber:r.modifiedEndLineNumber,kind:`added`}),e>a&&n.push(wt(r.modifiedStartLineNumber+i,t))}return n}var Et=28,Dt=[[`puddle-dirty-added`,`added`],[`puddle-dirty-modified`,`modified`],[`puddle-dirty-deleted-before`,`deleted-before`],[`puddle-dirty-deleted-after`,`deleted-after`]];function Ot(e){if(e){for(let[t,n]of Dt)if(e.classList.contains(t)||e.closest(`.${t}`))return n}}function kt({editor:e,original:t,modified:n,path:r}){let i=[],a=null,o=!1,s=t=>{try{e.changeViewZones(e=>e.removeZone(t))}catch{}},c=()=>{let e=a;e&&(a=null,e.frame!==null&&cancelAnimationFrame(e.frame),e.diffEditor&&(e.diffEditor.setModel(null),e.diffEditor.dispose()),s(e.zoneId))},l=e=>{let t=e.diffEditor;if(!t)return;let r=Math.max(1,Math.min(n.getLineCount(),e.change.modifiedStartLineNumber));t.getModifiedEditor().revealLineInCenter(r,T.ScrollType.Immediate)},u=(i,s)=>{if(a?.anchorLine===i){c();return}c();let u=e.getOption(T.EditorOption.lineHeight),d=document.createElement(`div`);d.className=`puddle-dirty-peek`;let f=document.createElement(`div`);f.className=`puddle-dirty-peek-header`;let p=document.createElement(`span`);p.className=`puddle-dirty-peek-title`,p.textContent=`${r.split(`/`).pop()??r} · Local changes against HEAD`;let m=document.createElement(`button`);m.type=`button`,m.className=`puddle-dirty-peek-close`,m.setAttribute(`aria-label`,`Close inline change`),m.title=`Close inline change`,m.textContent=`×`,m.addEventListener(`pointerdown`,e=>{e.preventDefault(),e.stopPropagation(),c()}),m.addEventListener(`click`,e=>{e.preventDefault(),e.stopPropagation(),c()});let h=document.createElement(`div`);h.className=`puddle-dirty-peek-editor`,f.append(p,m),d.append(f,h);let g=document.createElement(`div`);g.className=`puddle-dirty-peek-margin`;let _={afterLineNumber:xt(s,n.getLineCount()),heightInPx:Et+St(s)*u,domNode:d,marginDomNode:g,suppressMouseDown:!1},v=``;e.changeViewZones(e=>{v=e.addZone(_)});let y={anchorLine:i,change:s,zone:_,zoneId:v,frame:null,diffEditor:null};a=y,y.frame=requestAnimationFrame(()=>{if(y.frame=null,o||a!==y)return;let r=T.createDiffEditor(h,{readOnly:!0,domReadOnly:!0,originalEditable:!1,renderSideBySide:!1,renderMarginRevertIcon:!1,renderOverviewRuler:!1,enableSplitViewResizing:!1,isInEmbeddedEditor:!0,automaticLayout:!0,fontFamily:e.getOption(T.EditorOption.fontFamily),fontSize:e.getOption(T.EditorOption.fontSize),lineHeight:u,minimap:{enabled:!1},glyphMargin:!1,folding:!1,scrollBeyondLastLine:!1,fixedOverflowWidgets:!0,hideUnchangedRegions:{enabled:!0,minimumLineCount:0,contextLineCount:2,revealLineCount:3}});y.diffEditor=r,r.setModel({original:t,modified:n}),r.onDidUpdateDiff(()=>l(y)),l(y)}),e.revealLineInCenter(Math.max(1,Math.min(n.getLineCount(),s.modifiedStartLineNumber)))},d=e.onMouseDown(e=>{if(!e.event.leftButton||e.target.type!==T.MouseTargetType.GUTTER_LINE_DECORATIONS||e.target.position===null)return;let t=e.target.position.lineNumber,r=bt(i,t,n.getLineCount(),Ot(e.target.element));r&&(e.event.preventDefault(),e.event.stopPropagation(),u(t,r))});return{update(t){if(i=t,!a)return;let r=a,o=bt(t,r.anchorLine,n.getLineCount());if(!o){c();return}r.change=o,r.zone.afterLineNumber=xt(o,n.getLineCount()),r.zone.heightInPx=Et+St(o)*e.getOption(T.EditorOption.lineHeight);try{e.changeViewZones(e=>e.layoutZone(r.zoneId))}catch{c();return}l(r)},dispose(){o=!0,d.dispose(),c()}}}var At={added:`puddle-dirty-added`,modified:`puddle-dirty-modified`,"deleted-before":`puddle-dirty-deleted-before`,"deleted-after":`puddle-dirty-deleted-after`};function jt(e,t,n,r){let a=i(),o=S(e,t,{root:n,enabled:a.data!==void 0&&ve(a.data.protocol)&&r!==null}),[s,c]=(0,E.useState)(null),l=(0,E.useCallback)(e=>{c(e)},[]);return(0,E.useEffect)(()=>{let e=o.data;if(!s||!r||!e||e.repository===null||e.ignored||e.binary)return;let n=document.createElement(`div`);n.className=`puddle-hidden-diff-controller`,document.body.appendChild(n);let i=T.createModel(e.exists?e.content??``:``,r.getLanguageId()),a=T.createDiffEditor(n,{readOnly:!0,automaticLayout:!1,renderSideBySide:!1,minimap:{enabled:!1}}),c=s.createDecorationsCollection();a.setModel({original:i,modified:r});let l=kt({editor:s,original:i,modified:r,path:t}),u=()=>{let e=a.getLineChanges();e&&(l.update(e),c.set(Tt(e,r.getLineCount()).map(e=>({range:new ye(e.startLineNumber,1,e.endLineNumber,1),options:{isWholeLine:!0,linesDecorationsClassName:At[e.kind]}}))))},d=a.onDidUpdateDiff(u);return u(),()=>{d.dispose(),l.dispose(),c.clear(),a.setModel(null),a.dispose(),i.dispose(),n.remove()}},[s,r,o.data]),l}function Mt({message:e,session:t,path:n,root:r,download:i}){return(0,D.jsxs)(`div`,{className:`flex h-full flex-col items-center justify-center gap-3 bg-ground text-sm text-fg-muted`,children:[(0,D.jsx)(`span`,{children:e}),i&&(0,D.jsxs)(`button`,{type:`button`,onClick:()=>void g(t,n,r).catch(e=>o.error(e instanceof Error?e.message:`Download failed`)),className:`flex items-center gap-1.5 text-fg-secondary transition-colors hover:text-fg`,children:[(0,D.jsx)(ae,{className:`size-4`}),`Download`]})]})}function Nt({session:e,path:t,reveal:n,root:r,focused:i=!0,scrollDriver:a=!1,scrollReceiver:o=!1,scrollChannel:s=`profile`}){let c=he(),l=yt(e,t,n,r,{focused:i}),u=jt(e,t,r,l.model),d=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]),[f,p]=(0,E.useState)(null),m=(0,E.useMemo)(()=>({session:e,path:t,root:r}),[e,t,r]),h=l.conflict!==null&&l.conflict.phase!==`unresolved`;if((0,E.useEffect)(()=>{if(!(!f||!l.model||h))return mt(f,{channel:s,target:m,driver:a,receiver:o},T.ScrollType.Immediate)},[f,l.model,h,s,m,a,o]),l.conflict&&l.conflict.phase!==`unresolved`)return(0,D.jsx)(st,{session:e,path:t,buffer:l,focused:i});if(l.status===`binary`)return(0,D.jsx)(Mt,{message:`Binary file — use Download`,session:e,path:t,root:r,download:!0});if(l.status===`too-large`)return(0,D.jsx)(Mt,{message:`File too large to edit — use Download`,session:e,path:t,root:r,download:!0});if(l.status===`error`)return(0,D.jsx)(Mt,{message:l.errorMessage??`Failed to load file`,session:e,path:t,root:r});let g=l.peerBadge===`saved-elsewhere`?`Saved in another window`:l.peerBadge===`dirty-elsewhere`?`Also being edited in another window`:null;return(0,D.jsxs)(`div`,{className:`flex h-full flex-col bg-ground`,children:[l.restoredNotice&&(0,D.jsxs)(`div`,{className:`flex items-center gap-3 bg-elevated px-3 py-1.5 text-xs text-fg-secondary`,children:[(0,D.jsx)(`span`,{children:`Restored unsaved changes`}),(0,D.jsx)(`button`,{type:`button`,onClick:l.discardRestore,className:`text-fg-muted transition-colors hover:text-fg`,children:`Discard`})]}),g&&(0,D.jsx)(`div`,{className:`bg-surface px-3 py-1 text-xs text-fg-muted`,children:g}),(0,D.jsx)(`div`,{className:`min-h-0 flex-1`,children:l.model&&(0,D.jsx)(we,{path:l.model.uri.toString(),defaultValue:l.model.getValue(),theme:`puddle`,keepCurrentModel:!0,onMount:e=>{l.onMount(e),u(e),p(e)},loading:(0,D.jsx)(`div`,{className:`p-3 text-xs text-fg-muted`,children:`…`}),options:{automaticLayout:!0,fontFamily:d,fontSize:c.editorFontSize,tabSize:c.editorTabSize,wordWrap:c.editorWordWrap?`on`:`off`,minimap:{enabled:!1},glyphMargin:!1,lineDecorationsWidth:10,fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}})})]})}function k({children:e}){return(0,D.jsx)(`div`,{className:`flex h-full items-center justify-center px-4 text-xs text-fg-muted`,children:e})}function Pt(e,t){let n=(0,E.useRef)(t);n.current=t,(0,E.useEffect)(()=>(je(e),()=>{n.current?.(),Se(e)}),[e])}function Ft(e,t,n,r){let i=r.split(`/`).map(encodeURIComponent).join(`/`);return`${e}://${encodeURIComponent(t)}/${encodeURIComponent(n)}/${i}`}function It({session:e,refName:t,path:n,content:r}){let i=he(),a=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]);return(0,D.jsx)(we,{path:Ft(`puddle-view`,e,t,n),defaultValue:r,theme:Ne,loading:(0,D.jsx)(k,{children:`…`}),options:{readOnly:!0,automaticLayout:!0,fontFamily:a,fontSize:i.editorFontSize,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}})}function Lt({session:e,against:t,path:n,root:r,indexBase:i=!1}){let a=d(e,t,n,{root:r,enabled:!i}),o=x(e,n,{root:r,enabled:i}),s=i?o:a;return s.isPending?(0,D.jsx)(k,{children:`…`}):s.error?(0,D.jsx)(k,{children:s.error instanceof Error?s.error.message:`Failed to load`}):s.data.binary?(0,D.jsx)(k,{children:`Binary file — deleted`}):(0,D.jsxs)(`div`,{className:`flex h-full flex-col`,children:[(0,D.jsx)(`div`,{className:`bg-surface px-4 py-1 text-xs text-fg-muted`,children:`Deleted`}),(0,D.jsx)(`div`,{className:`min-h-0 flex-1`,children:(0,D.jsx)(It,{session:e,refName:`${t}:${r??``}`,path:n,content:s.data.content??``})})]})}function Rt({session:e,against:t,path:n,basePath:r,root:i,indexBase:a=!1,focused:o=!0}){let c=he(),l=yt(e,n,null,i,{focused:o}),u=d(e,t,r,{root:i,enabled:!a}),f=x(e,r,{root:i,enabled:a}),p=a?f:u,m=(0,E.useRef)(null);Pt(Me(e,n,i),()=>{let e=m.current;if(!e)return;let t=e.getModel();e.setModel(null),t?.original.dispose(),m.current=null});let h=(0,E.useRef)(l.save);h.current=l.save;let g=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]),_=p.error instanceof s&&p.error.status===404;return l.conflict&&l.conflict.phase!==`unresolved`?(0,D.jsx)(st,{session:e,path:n,buffer:l,focused:o}):l.status===`binary`||p.data?.binary?(0,D.jsx)(k,{children:`Binary file`}):l.status===`too-large`?(0,D.jsx)(k,{children:`File too large to show`}):l.status===`error`?(0,D.jsx)(k,{children:l.errorMessage??`Failed to load file`}):_||a&&f.data&&!f.data.exists?(0,D.jsx)(Nt,{session:e,path:n,reveal:null,root:i,focused:o}):p.isPending||!l.model?(0,D.jsx)(k,{children:`…`}):p.error?(0,D.jsx)(k,{children:p.error instanceof Error?p.error.message:`Failed to load base`}):(0,D.jsx)(Te,{modifiedModelPath:l.model.uri.toString(),originalModelPath:Ft(`puddle-base`,e,`${t}:${i??``}`,r),original:p.data.content??``,language:l.model.getLanguageId(),theme:Ne,keepCurrentModifiedModel:!0,loading:(0,D.jsx)(k,{children:`…`}),onMount:e=>{m.current=e,e.onDidDispose(()=>{m.current=null}),e.getModifiedEditor().addCommand(be.CtrlCmd|xe.KeyS,()=>h.current())},options:{readOnly:!1,originalEditable:!1,renderSideBySide:!0,automaticLayout:!0,fontFamily:g,fontSize:c.editorFontSize,wordWrap:c.editorWordWrap?`on`:`off`,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}})}function zt({session:e,against:t,entry:n,root:r}){let i=he(),a=n.old_path??n.path,o=d(e,t,a,{root:r,enabled:n.status!==`added`}),s=x(e,n.path,{root:r,enabled:n.status!==`deleted`}),c=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]);if(n.status===`deleted`)return(0,D.jsx)(Lt,{session:e,against:t,path:a,root:r});if(s.isPending||n.status!==`added`&&o.isPending)return(0,D.jsx)(k,{children:`…`});if(s.error||o.error){let e=s.error??o.error;return(0,D.jsx)(k,{children:e instanceof Error?e.message:`Failed to load staged content`})}return s.data.binary||o.data?.binary?(0,D.jsx)(k,{children:`Binary file`}):n.status===`added`?(0,D.jsx)(It,{session:e,refName:`index:${r??``}`,path:n.path,content:s.data.content??``}):o.data?(0,D.jsx)(Te,{originalModelPath:Ft(`puddle-head`,e,`${t}:${r??``}`,a),modifiedModelPath:Ft(`puddle-index`,e,`${t}:${r??``}`,n.path),original:o.data.content??``,modified:s.data.content??``,theme:Ne,loading:(0,D.jsx)(k,{children:`…`}),options:{readOnly:!0,originalEditable:!1,renderSideBySide:!0,automaticLayout:!0,fontFamily:c,fontSize:i.editorFontSize,wordWrap:i.editorWordWrap?`on`:`off`,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}}):(0,D.jsx)(k,{children:`Failed to load HEAD content`})}function Bt({session:e,path:t,root:n,focused:r}){return Pt(Me(e,t,n)),(0,D.jsx)(Nt,{session:e,path:t,reveal:null,root:n,focused:r})}function Vt({session:e,against:t,entry:n,root:r,area:i,focused:a=!0}){if(i===`staged`)return(0,D.jsx)(zt,{session:e,against:t,entry:n,root:r});switch(n.status){case`added`:return(0,D.jsx)(Bt,{session:e,path:n.path,root:r,focused:a});case`deleted`:return(0,D.jsx)(Lt,{session:e,against:t,path:n.path,root:r,indexBase:i===`unstaged`});case`modified`:case`renamed`:return(0,D.jsx)(Rt,{session:e,against:t,path:n.path,basePath:n.old_path??n.path,root:r,indexBase:i===`unstaged`,focused:a});default:return null}}function Ht({session:e,sha:t,path:n,root:r}){let i=d(e,t,n,{root:r});return i.isPending?(0,D.jsx)(k,{children:`…`}):i.error?(0,D.jsx)(k,{children:i.error instanceof Error?i.error.message:`Failed to load file`}):i.data.binary?(0,D.jsx)(k,{children:`Binary file`}):(0,D.jsx)(It,{session:e,refName:`${t}:${r??``}`,path:n,content:i.data.content??``})}function Ut({session:e,originalRef:t,originalPath:n,originalContent:r,modifiedRef:i,modifiedPath:a,modifiedContent:o,root:s}){let c=he(),l=(0,E.useRef)(null),u=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]);return(0,E.useEffect)(()=>()=>{let e=l.current;if(!e)return;let t=e.getModel();e.setModel(null),t?.original.dispose(),t?.modified.dispose(),l.current=null},[]),(0,D.jsx)(Te,{originalModelPath:Ft(`puddle-hist-orig`,e,`${t}:${s??``}`,n),modifiedModelPath:Ft(`puddle-hist-mod`,e,`${i}:${s??``}`,a),original:r,modified:o,theme:Ne,keepCurrentOriginalModel:!0,keepCurrentModifiedModel:!0,loading:(0,D.jsx)(k,{children:`…`}),onMount:e=>{l.current=e,e.onDidDispose(()=>{l.current=null})},options:{readOnly:!0,originalEditable:!1,renderSideBySide:!0,automaticLayout:!0,fontFamily:u,fontSize:c.editorFontSize,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}})}function Wt({session:e,sha:t,path:n,basePath:r,root:i}){let a=d(e,`${t}^`,r,{root:i}),o=d(e,t,n,{root:i});return a.error instanceof s&&a.error.status===404?(0,D.jsx)(Ht,{session:e,sha:t,path:n,root:i}):a.isPending||o.isPending?(0,D.jsx)(k,{children:`…`}):a.error?(0,D.jsx)(k,{children:a.error instanceof Error?a.error.message:`Failed to load original`}):o.error?(0,D.jsx)(k,{children:o.error instanceof Error?o.error.message:`Failed to load file`}):a.data.binary||o.data.binary?(0,D.jsx)(k,{children:`Binary file`}):(0,D.jsx)(Ut,{session:e,originalRef:`${t}^`,originalPath:r,originalContent:a.data.content??``,modifiedRef:t,modifiedPath:n,modifiedContent:o.data.content??``,root:i})}function Gt({session:e,sha:t,entry:n,isRootCommit:r,root:i}){switch(C(n.status,r)){case`added`:return(0,D.jsx)(Ht,{session:e,sha:t,path:n.path,root:i});case`deleted`:return(0,D.jsx)(Lt,{session:e,against:`${t}^`,path:n.path,root:i});case`modified`:case`renamed`:return(0,D.jsx)(Wt,{session:e,sha:t,path:n.path,basePath:n.old_path??n.path,root:i});default:return null}}function Kt({session:e,sha:t,path:n,root:r}){let i=f(e,t,r);if(i.isPending)return(0,D.jsx)(`div`,{className:`px-4 py-3 text-xs text-fg-muted`,children:`Loading commit…`});if(i.error)return(0,D.jsx)(`div`,{className:`px-4 py-3 text-xs text-fg-muted`,children:i.error instanceof Error?i.error.message:`Failed to load commit`});let a=i.data.files.find(e=>e.path===n);return a?(0,D.jsx)(`div`,{className:`h-full`,children:(0,D.jsx)(Gt,{session:e,sha:t,entry:a,isRootCommit:i.data.parents.length===0,root:r})}):(0,D.jsxs)(`div`,{className:`flex h-full items-center justify-center px-4 text-center text-xs text-fg-muted`,children:[(0,D.jsx)(`span`,{className:`text-fg-secondary`,children:n}),` is not part of`,` `,(0,D.jsx)(`span`,{className:`font-mono`,children:t.slice(0,7)}),`.`]})}function qt({session:e,path:t,root:n,area:r,focused:i=!0}){let a=m(e,{root:n,against:r===void 0?`base`:`head`,area:r});if(a.isPending)return(0,D.jsx)(`div`,{className:`px-4 py-3 text-xs text-fg-muted`,children:`Loading diff…`});if(a.error)return(0,D.jsx)(`div`,{className:`px-4 py-3 text-xs text-fg-muted`,children:a.error instanceof Error?a.error.message:`Failed to load diff`});let o=a.data.entries.find(e=>e.path===t);return o?(0,D.jsx)(`div`,{className:`h-full`,children:(0,D.jsx)(Vt,{session:e,against:a.data.against,entry:o,root:n,area:r,focused:i})}):(0,D.jsxs)(`div`,{className:`flex h-full items-center justify-center px-4 text-center text-xs text-fg-muted`,children:[`No changes to `,(0,D.jsx)(`span`,{className:`mx-1 text-fg-secondary`,children:t}),` against the base.`]})}var Jt=800;function Yt({name:e}){let t=he(),n=u(),i=ne(n,e),a=r(),s=l(`editor.save`),c=(0,E.useRef)(null),d=(0,E.useRef)(null),f=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]);if((0,E.useEffect)(()=>{if(n===null)return;let t=_e(t=>{v(n,e,t).catch(e=>o.error(e instanceof Error?e.message:`Draft not saved`))},Jt);return d.current=t,()=>{t.flush(),d.current=null}},[n,e]),n===null)return null;if(i.error)return(0,D.jsx)(`div`,{className:`flex h-full items-center justify-center bg-ground text-sm text-fg-muted`,children:i.error instanceof Error?i.error.message:`Failed to load the draft`});if(i.data===void 0)return(0,D.jsx)(`div`,{className:`p-3 text-xs text-fg-muted`,children:`…`});let p=()=>{let t=c.current;t&&(d.current?.flush(),te({name:e,content:t.getValue()}))};return(0,D.jsxs)(`div`,{className:`flex h-full flex-col bg-ground`,children:[(0,D.jsxs)(`div`,{className:`bg-surface px-3 py-1 text-xs text-fg-muted`,children:[`Draft — not in any worktree; `,s,` saves it into one`]}),(0,D.jsx)(`div`,{className:`min-h-0 flex-1`,children:(0,D.jsx)(we,{path:`puddle-untitled://${n}/${e}`,defaultValue:i.data.content,theme:Ne,keepCurrentModel:!1,loading:(0,D.jsx)(`div`,{className:`p-3 text-xs text-fg-muted`,children:`…`}),onMount:t=>{c.current=t,_(e,t.getValue()),_t(t,{onSave:p})},onChange:t=>{let r=t??``;_(e,r),y(a,n,e,r),d.current?.(r)},options:{automaticLayout:!0,fontFamily:f,fontSize:t.editorFontSize,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1,wordWrap:t.editorWordWrap?`on`:`off`}})})]})}function Xt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Zt(e){if(Array.isArray(e))return e}function Qt(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function $t(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function en(e,t){return Zt(e)||Qt(e,t)||tn(e,t)||$t()}function tn(e,t){if(e){if(typeof e==`string`)return Xt(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xt(e,t):void 0}}var nn=Object.entries,rn=Object.setPrototypeOf,an=Object.isFrozen,on=Object.getPrototypeOf,sn=Object.getOwnPropertyDescriptor,cn=Object.freeze,ln=Object.seal,un=Object.create,dn=typeof Reflect<`u`&&Reflect,fn=dn.apply,pn=dn.construct;cn||=function(e){return e},ln||=function(e){return e},fn||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},pn||=function(e){return new e(...[...arguments].slice(1))};var mn=Pn(Array.prototype.forEach),hn=Pn(Array.prototype.lastIndexOf),gn=Pn(Array.prototype.pop),_n=Pn(Array.prototype.push),vn=Pn(Array.prototype.splice),yn=Array.isArray,bn=Pn(String.prototype.toLowerCase),xn=Pn(String.prototype.toString),Sn=Pn(String.prototype.match),Cn=Pn(String.prototype.replace),wn=Pn(String.prototype.indexOf),Tn=Pn(String.prototype.trim),En=Pn(Number.prototype.toString),Dn=Pn(Boolean.prototype.toString),On=typeof BigInt>`u`?null:Pn(BigInt.prototype.toString),kn=typeof Symbol>`u`?null:Pn(Symbol.prototype.toString),An=Pn(Object.prototype.hasOwnProperty),jn=Pn(Object.prototype.toString),Mn=Pn(RegExp.prototype.test),Nn=Fn(TypeError);function Pn(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return fn(e,t,n)}}function Fn(e){return function(){return pn(e,[...arguments])}}function A(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bn;if(rn&&rn(e,null),!yn(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(an(t)||(t[r]=e),i=e)}e[i]=!0}return e}function In(e){for(let t=0;t<e.length;t++)An(e,t)||(e[t]=null);return e}function Ln(e){let t=un(null);for(let r of nn(e)){var n=en(r,2);let i=n[0],a=n[1];An(e,i)&&(yn(a)?t[i]=In(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=Ln(a):t[i]=a)}return t}function Rn(e){switch(typeof e){case`string`:return e;case`number`:return En(e);case`boolean`:return Dn(e);case`bigint`:return On?On(e):`0`;case`symbol`:return kn?kn(e):`Symbol()`;case`undefined`:return jn(e);case`function`:case`object`:{if(e===null)return jn(e);let t=e,n=zn(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:jn(e)}return jn(e)}default:return jn(e)}}function zn(e,t){for(;e!==null;){let n=sn(e,t);if(n){if(n.get)return Pn(n.get);if(typeof n.value==`function`)return Pn(n.value)}e=on(e)}function n(){return null}return n}function Bn(e){try{return Mn(e,``),!0}catch{return!1}}var Vn=cn(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),Hn=cn(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),Un=cn([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),Wn=cn([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),Gn=cn(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),Kn=cn([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),qn=cn([`#text`]),Jn=cn(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),Yn=cn(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),Xn=cn(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),Zn=cn([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Qn=ln(/{{[\w\W]*|^[\w\W]*}}/g),$n=ln(/<%[\w\W]*|^[\w\W]*%>/g),er=ln(/\${[\w\W]*/g),tr=ln(/^data-[\-\w.\u00B7-\uFFFF]+$/),nr=ln(/^aria-[\-\w]+$/),rr=ln(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ir=ln(/^(?:\w+script|data):/i),ar=ln(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),or=ln(/^html$/i),sr=ln(/^[a-z][.\w]*(-[.\w]+)+$/i),cr=ln(/<[/\w!]/g),lr=ln(/<[/\w]/g),ur=ln(/<\/no(script|embed|frames)/i),dr=ln(/\/>/i),fr={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},pr=function(){return typeof window>`u`?null:window},mr=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},hr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},gr=function(e,t,n,r){return An(e,t)&&yn(e[t])?A(r.base?Ln(r.base):{},e[t],r.transform):n};function _r(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pr(),t=e=>_r(e);if(t.version=`3.4.12`,t.removed=[],!e||!e.document||e.document.nodeType!==fr.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=zn(d,`cloneNode`),p=zn(d,`remove`),m=zn(d,`nextSibling`),h=zn(d,`childNodes`),g=zn(d,`parentNode`),_=zn(d,`shadowRoot`),v=zn(d,`attributes`),y=o&&o.prototype?zn(o.prototype,`nodeType`):null,b=o&&o.prototype?zn(o.prototype,`nodeName`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let x,S=``,C,ee=!1,te=0,ne=function(){if(te>0)throw Nn(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},re=function(e){ne(),te++;try{return x.createHTML(e)}finally{te--}},ie=function(e){ne(),te++;try{return x.createScriptURL(e)}finally{te--}},ae=function(){return ee||=(C=mr(u,i),!0),C},oe=n,se=oe.implementation,ce=oe.createNodeIterator,le=oe.createDocumentFragment,ue=oe.getElementsByTagName,de=r.importNode,w=hr();t.isSupported=typeof nn==`function`&&typeof g==`function`&&se&&se.createHTMLDocument!==void 0;let fe=Qn,pe=$n,me=er,he=tr,ge=nr,_e=ir,ve=ar,ye=sr,be=rr,T=null,xe=A({},[...Vn,...Hn,...Un,...Gn,...qn]),Se=null,Ce=A({},[...Jn,...Yn,...Xn,...Zn]),we=Object.seal(un(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Te=null,Ee=null,De=Object.seal(un(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Oe=!0,ke=!0,Ae=!1,je=!0,Me=!1,Ne=!0,Pe=!1,Fe=!1,Ie=null,Le=null,Re=!1,ze=!1,Be=!1,Ve=!1,He=!0,E=!1,Ue=`user-content-`,We=!0,Ge=!1,Ke={},qe=null,Je=A({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),Ye=null,Xe=A({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Ze=null,Qe=A({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),$e=`http://www.w3.org/1998/Math/MathML`,et=`http://www.w3.org/2000/svg`,tt=`http://www.w3.org/1999/xhtml`,nt=tt,rt=!1,it=null,at=A({},[$e,et,tt],xn),D=cn([`mi`,`mo`,`mn`,`ms`,`mtext`]),ot=A({},D),st=cn([`annotation-xml`]),ct=A({},st),lt=A({},[`title`,`style`,`font`,`a`,`script`]),ut=null,dt=[`application/xhtml+xml`,`text/html`],O=null,ft=null,pt=n.createElement(`form`),mt=function(e){return e instanceof RegExp||e instanceof Function},ht=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ft&&ft===e)return;(!e||typeof e!=`object`)&&(e={}),e=Ln(e),ut=dt.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,O=ut===`application/xhtml+xml`?xn:bn,T=gr(e,`ALLOWED_TAGS`,xe,{transform:O}),Se=gr(e,`ALLOWED_ATTR`,Ce,{transform:O}),it=gr(e,`ALLOWED_NAMESPACES`,at,{transform:xn}),Ze=gr(e,`ADD_URI_SAFE_ATTR`,Qe,{transform:O,base:Qe}),Ye=gr(e,`ADD_DATA_URI_TAGS`,Xe,{transform:O,base:Xe}),qe=gr(e,`FORBID_CONTENTS`,Je,{transform:O}),Te=gr(e,`FORBID_TAGS`,Ln({}),{transform:O}),Ee=gr(e,`FORBID_ATTR`,Ln({}),{transform:O}),Ke=An(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?Ln(e.USE_PROFILES):e.USE_PROFILES:!1,Oe=e.ALLOW_ARIA_ATTR!==!1,ke=e.ALLOW_DATA_ATTR!==!1,Ae=e.ALLOW_UNKNOWN_PROTOCOLS||!1,je=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Me=e.SAFE_FOR_TEMPLATES||!1,Ne=e.SAFE_FOR_XML!==!1,Pe=e.WHOLE_DOCUMENT||!1,ze=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,Ve=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,He=e.SANITIZE_DOM!==!1,E=e.SANITIZE_NAMED_PROPS||!1,We=e.KEEP_CONTENT!==!1,Ge=e.IN_PLACE||!1,be=Bn(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:rr,nt=typeof e.NAMESPACE==`string`?e.NAMESPACE:tt,ot=An(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?Ln(e.MATHML_TEXT_INTEGRATION_POINTS):A({},D),ct=An(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?Ln(e.HTML_INTEGRATION_POINTS):A({},st);let t=An(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?Ln(e.CUSTOM_ELEMENT_HANDLING):un(null);if(we=un(null),An(t,`tagNameCheck`)&&mt(t.tagNameCheck)&&(we.tagNameCheck=t.tagNameCheck),An(t,`attributeNameCheck`)&&mt(t.attributeNameCheck)&&(we.attributeNameCheck=t.attributeNameCheck),An(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(we.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),ln(we),Me&&(ke=!1),Be&&(ze=!0),Ke&&(T=A({},qn),Se=un(null),Ke.html===!0&&(A(T,Vn),A(Se,Jn)),Ke.svg===!0&&(A(T,Hn),A(Se,Yn),A(Se,Zn)),Ke.svgFilters===!0&&(A(T,Un),A(Se,Yn),A(Se,Zn)),Ke.mathMl===!0&&(A(T,Gn),A(Se,Xn),A(Se,Zn))),De.tagCheck=null,De.attributeCheck=null,An(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?De.tagCheck=e.ADD_TAGS:yn(e.ADD_TAGS)&&(T===xe&&(T=Ln(T)),A(T,e.ADD_TAGS,O))),An(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?De.attributeCheck=e.ADD_ATTR:yn(e.ADD_ATTR)&&(Se===Ce&&(Se=Ln(Se)),A(Se,e.ADD_ATTR,O))),An(e,`ADD_URI_SAFE_ATTR`)&&yn(e.ADD_URI_SAFE_ATTR)&&A(Ze,e.ADD_URI_SAFE_ATTR,O),An(e,`FORBID_CONTENTS`)&&yn(e.FORBID_CONTENTS)&&(qe===Je&&(qe=Ln(qe)),A(qe,e.FORBID_CONTENTS,O)),An(e,`ADD_FORBID_CONTENTS`)&&yn(e.ADD_FORBID_CONTENTS)&&(qe===Je&&(qe=Ln(qe)),A(qe,e.ADD_FORBID_CONTENTS,O)),We&&(T[`#text`]=!0),Pe&&A(T,[`html`,`head`,`body`]),T.table&&(A(T,[`tbody`]),delete Te.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Nn(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Nn(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=x;x=e.TRUSTED_TYPES_POLICY;try{S=re(``)}catch(e){throw x=t,e}}else e.TRUSTED_TYPES_POLICY===null?(x=void 0,S=``):(x===void 0&&(x=ae()),x&&typeof S==`string`&&(S=re(``)));cn&&cn(e),ft=e},gt=A({},[...Hn,...Un,...Wn]),_t=A({},[...Gn,...Kn]),vt=function(e,t,n){return t.namespaceURI===tt?e===`svg`:t.namespaceURI===$e?e===`svg`&&(n===`annotation-xml`||ot[n]):!!gt[e]},yt=function(e,t,n){return t.namespaceURI===tt?e===`math`:t.namespaceURI===et?e===`math`&&ct[n]:!!_t[e]},bt=function(e,t,n){return t.namespaceURI===et&&!ct[n]||t.namespaceURI===$e&&!ot[n]?!1:!_t[e]&&(lt[e]||!gt[e])},xt=function(e){let t=g(e);(!t||!t.tagName)&&(t={namespaceURI:nt,tagName:`template`});let n=bn(e.tagName),r=bn(t.tagName);return it[e.namespaceURI]?e.namespaceURI===et?vt(n,t,r):e.namespaceURI===$e?yt(n,t,r):e.namespaceURI===tt?bt(n,t,r):!!(ut===`application/xhtml+xml`&&it[e.namespaceURI]):!1},St=function(e){_n(t.removed,{element:e});try{g(e).removeChild(e)}catch{if(p(e),!g(e))throw Nn(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},Ct=function(e){Et(e);let t=h(e);if(t){let e=[];mn(t,t=>{_n(e,t)}),mn(e,e=>{try{p(e)}catch{}})}let n=v(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;if(typeof i==`string`)try{e.removeAttribute(i)}catch{}}},wt=function(e,n){try{_n(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{_n(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(ze||Be)try{St(n)}catch{}else try{n.setAttribute(e,``)}catch{}},Tt=function(e){let t=v(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;if(!(typeof i!=`string`||Se[O(i)]))try{e.removeAttribute(i)}catch{}}},Et=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(y?y(e):e.nodeType)===fr.element&&Tt(e);let n=h(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},Dt=function(e){if(!Ne)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=y?y(e):e.nodeType;if(n===fr.processingInstruction||n===fr.comment&&Mn(lr,e.data)){try{p(e)}catch{}continue}if(n===fr.element){let t=e,n=O(b?b(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&n!==`label`&&n!==`output`&&t.removeAttribute(`for`)}catch{}}let r=h(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},Ot=function(e){let t=null,r=null;if(Re)e=`<remove></remove>`+e;else{let t=Sn(e,/^[\r\n\t ]+/);r=t&&t[0]}ut===`application/xhtml+xml`&&nt===tt&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=x?re(e):e;if(nt===tt)try{t=new l().parseFromString(i,ut)}catch{}if(!t||!t.documentElement){t=se.createDocument(nt,`template`,null);try{t.documentElement.innerHTML=rt?S:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),nt===tt?ue.call(t,Pe?`html`:`body`)[0]:Pe?t.documentElement:a},kt=function(e){return ce.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},At=function(e){return e=Cn(e,fe,` `),e=Cn(e,pe,` `),e=Cn(e,me,` `),e},jt=function(e){e.normalize();let t=ce.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),n=t.nextNode();for(;n;)n.data=At(n.data),n=t.nextNode();let r=e.querySelectorAll?.call(e,`template`);r&&mn(r,e=>{Nt(e.content)&&jt(e.content)})},Mt=function(e){let t=b?b(e):null;return typeof t!=`string`||O(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==v(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==y(e)||e.childNodes!==h(e)},Nt=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return y(e)===fr.documentFragment}catch{return!1}},k=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return typeof y(e)==`number`}catch{return!1}};function Pt(e,n,r){e.length!==0&&mn(e,e=>{e.call(t,n,r,ft)})}let Ft=function(e,t){return!!(Ne&&e.hasChildNodes()&&!k(e.firstElementChild)&&Mn(cr,e.textContent)&&Mn(cr,e.innerHTML)||Ne&&e.namespaceURI===tt&&t===`style`&&k(e.firstElementChild)||e.nodeType===fr.processingInstruction||Ne&&e.nodeType===fr.comment&&Mn(lr,e.data))},It=function(e,t){if(!Te[t]&&Bt(t)&&(we.tagNameCheck instanceof RegExp&&Mn(we.tagNameCheck,t)||we.tagNameCheck instanceof Function&&we.tagNameCheck(t)))return!1;if(We&&!qe[t]){let t=g(e),n=h(e);if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=Ge?n[i]:f(n[i],!0);t.insertBefore(r,m(e))}}}return St(e),!0},Lt=function(e,n){if(Pt(w.beforeSanitizeElements,e,null),e!==n&&g(e)===null)return!0;if(Mt(e))return St(e),!0;let r=O(b?b(e):e.nodeName);if(Pt(w.uponSanitizeElement,e,{tagName:r,allowedTags:T}),e!==n&&g(e)===null)return!0;if(Ft(e,r))return St(e),!0;if(Te[r]||!(De.tagCheck instanceof Function&&De.tagCheck(r))&&!T[r]){let t=It(e,r);return t===!1&&Pt(w.afterSanitizeElements,e,null),t}if((y?y(e):e.nodeType)===fr.element&&!xt(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&Mn(ur,e.innerHTML))return St(e),!0;if(Me&&e.nodeType===fr.text){let n=At(e.textContent);e.textContent!==n&&(_n(t.removed,{element:e.cloneNode()}),e.textContent=n)}return Pt(w.afterSanitizeElements,e,null),!1},Rt=function(e,t,r){if(Ee[t]||Ne&&t===`patchsrc`||Ne&&t===`for`&&e!==`label`&&e!==`output`||He&&(t===`id`||t===`name`)&&(r in n||r in pt))return!1;let i=Se[t]||De.attributeCheck instanceof Function&&De.attributeCheck(t,e);if(!(ke&&Mn(he,t))&&!(Oe&&Mn(ge,t))){if(!i){if(!(Bt(e)&&(we.tagNameCheck instanceof RegExp&&Mn(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&Mn(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t,e))||t===`is`&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&Mn(we.tagNameCheck,r)||we.tagNameCheck instanceof Function&&we.tagNameCheck(r))))return!1}else if(!Ze[t]&&!Mn(be,Cn(r,ve,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&wn(r,`data:`)===0&&Ye[e])&&!(Ae&&!Mn(_e,Cn(r,ve,``)))&&r)return!1}return!0},zt=A({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Bt=function(e){return!zt[bn(e)]&&Mn(ye,e)},Vt=function(e,t,n,r){if(x&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return re(r);case`TrustedScriptURL`:return ie(r)}return r},Ht=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),Mt(e)?St(e):gn(t.removed)}catch{wt(n,e)}},Ut=function(e){Pt(w.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||Mt(e))return;let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0},r=t.length,i=O(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=O(o),u=c,d=o===`value`?u:Tn(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,Pt(w.uponSanitizeAttribute,e,n),d=n.attrValue,E&&(l===`id`||l===`name`)&&wn(d,Ue)!==0&&(wt(o,e),d=Ue+d),Ne&&Mn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){wt(o,e);continue}if(l===`attributename`&&Sn(d,`href`)){wt(o,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){wt(o,e);continue}if(!je&&Mn(dr,d)){wt(o,e);continue}if(Me&&(d=At(d)),!Rt(i,l,d)){wt(o,e);continue}d=Vt(i,l,s,d),d!==u&&Ht(e,o,s,d)}}Pt(w.afterSanitizeAttributes,e,null)},Wt=function(e){let t=null,n=kt(e);for(Pt(w.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Pt(w.uponSanitizeShadowNode,t,null),Lt(t,e),Ut(t),Nt(t.content)&&Wt(t.content),(y?y(t):t.nodeType)===fr.element){let e=_(t);Nt(e)&&(Gt(e),Wt(e))}Pt(w.afterSanitizeShadowDOM,e,null)},Gt=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Wt(e.shadow);continue}let n=e.node,r=(y?y(n):n.nodeType)===fr.element,i=h(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=b?b(n):null;if(typeof e==`string`&&O(e)===`template`){let e=n.content;Nt(e)&&t.push({node:e,shadow:null})}}if(r){let e=_(n);Nt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(rt=!e,rt&&(e=`<!-->`),typeof e!=`string`&&!k(e)&&(e=Rn(e),typeof e!=`string`))throw Nn(`dirty is not a string, aborting`);if(!t.isSupported)return e;Fe?(T=Ie,Se=Le):ht(n),(w.uponSanitizeElement.length>0||w.uponSanitizeAttribute.length>0)&&(T=Ln(T)),w.uponSanitizeAttribute.length>0&&(Se=Ln(Se)),t.removed=[];let c=Ge&&typeof e!=`string`&&k(e);if(c){Dt(e);let t=b?b(e):e.nodeName;if(typeof t==`string`){let n=O(t);if(!T[n]||Te[n])throw Ct(e),Nn(`root node is forbidden and cannot be sanitized in-place`)}if(Mt(e))throw Ct(e),Nn(`root node is clobbered and cannot be sanitized in-place`);try{Gt(e)}catch(t){throw Ct(e),t}}else if(k(e))i=Ot(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===fr.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Gt(a);else{if(!ze&&!Me&&!Pe&&e.indexOf(`<`)===-1)return x&&Ve?re(e):e;if(i=Ot(e),!i)return ze?null:Ve?S:``}i&&Re&&St(i.firstChild);let l=c?e:i,u=kt(l);try{for(;o=u.nextNode();)Lt(o,l),Ut(o),Nt(o.content)&&Wt(o.content)}catch(n){throw c&&(Ct(e),mn(t.removed,e=>{e.element&&Et(e.element)})),n}if(c)return mn(t.removed,e=>{e.element&&Et(e.element)}),Me&&jt(e),e;if(ze){if(Me&&jt(i),Be)for(s=le.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(Se.shadowroot||Se.shadowrootmode)&&(s=de.call(r,s,!0)),s}let d=Pe?i.outerHTML:i.innerHTML;return Pe&&T[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&Mn(or,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
3
- `+d),Me&&(d=At(d)),x&&Ve?re(d):d},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ht(e),Fe=!0,Ie=T,Le=Se},t.clearConfig=function(){ft=null,Fe=!1,Ie=null,Le=null,x=C,S=``},t.isValidAttribute=function(e,t,n){ft||ht({});let r=O(e),i=O(t);return Rt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&An(w,e)&&_n(w[e],t)},t.removeHook=function(e,t){if(An(w,e)){if(t!==void 0){let n=hn(w[e],t);return n===-1?void 0:vn(w[e],n,1)[0]}return gn(w[e])}},t.removeHooks=function(e){An(w,e)&&(w[e]=[])},t.removeAllHooks=function(){w=hr()},t}var vr=_r(),yr=0;function br(e){let t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode(e){let t=e.parentElement;return!e.textContent||t?.closest(`script, style, noscript, [hidden], [aria-hidden="true"]`)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),n=[],r=``,i;for(;i=t.nextNode();){let e=i.textContent??``,t=r.length;r+=e,n.push({node:i,start:t,end:r.length})}return{text:r,nodes:n}}function xr(e,t){let n=t.find(t=>t.end>e.start),r=t.findLast(t=>t.start<e.end);if(!n||!r)return null;let i=document.createRange();return i.setStart(n.node,e.start-n.start),i.setEnd(r.node,e.end-r.start),i}var Sr=class{root;matchName=`puddle-find-${++yr}-match`;activeName=`puddle-find-${yr}-active`;style;signature=``;ranges=[];index=-1;limited=!1;constructor(e){this.root=e,this.style=document.createElement(`style`),this.style.textContent=`
1
+ import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{t}from"./react-CZI7_Jkm.js";import{a as n}from"./x-BJOrp_m5.js";import{Kt as r,L as i,St as a,Vt as o,bt as s,c,p as l,v as u}from"./hotkeys-BApA7bsN.js";import{A as d,B as f,D as p,F as m,M as h,N as g,O as _,P as v,S as y,a as b,d as x,f as S,g as ee,m as te,n as ne,o as re,p as ie,v as ae,w as oe}from"./editor-context-BZHPtUDq.js";import{t as se}from"./preload-helper-Czpn1I53.js";import{a as ce,n as le,r as ue,t as de}from"./use-find-controls-BiId78Q6.js";import{F as fe,I as C,J as pe,N as me,P as he,X as ge,Y as _e,a as ve,pt as ye}from"./index-DMiHDm9d.js";import{c as be,i as xe,p as w,r as Se}from"./editor.api2-4X9Vh9Zw.js";import{a as Ce,c as we,d as T,f as Te,i as Ee,l as De,n as Oe,o as ke,r as Ae,s as je,t as Me,u as Ne}from"./buffer-store-BTEgWcpZ.js";import{a as Pe,c as Fe,i as Ie,l as Le,n as Re,o as ze,r as Be,s as Ve}from"./editor-sync-DcvE_QhK.js";import{r as He}from"./buffer-logic-BrpRsL1b.js";var E=e(t(),1),Ue=new Map,We=new Map,Ge=1;function Ke(e){for(let t of We.get(e)??[])t()}function qe(e,t){Ue.set(e,t),Ke(e)}function Je(e){let t={phase:`unresolved`,revision:Ge++};return qe(e,t),t}function Ye(e){let t=Ue.get(e);return!t||t.phase!==`unresolved`&&t.phase!==`load-error`?null:(qe(e,{phase:`loading`,revision:t.revision}),t.revision)}function Xe(e,t,n,r){let i=Ue.get(e);return!i||i.phase!==`loading`||i.revision!==t?!1:(qe(e,{phase:`opening`,revision:t,content:n,mtimeMs:r}),!0)}function Ze(e,t){let n=Ue.get(e);return!n||n.phase!==`opening`||n.revision!==t?!1:(qe(e,{...n,phase:`comparing`}),!0)}function Qe(e,t,n){let r=Ue.get(e);return!r||r.phase!==`loading`||r.revision!==t?!1:(qe(e,{phase:`load-error`,revision:t,message:n}),!0)}function $e(e,t){return t&&e?.phase===`unresolved`}function et(e){return e?.phase===`comparing`?e.mtimeMs:void 0}function tt(e){return e?.phase===`loading`||e?.phase===`load-error`||e?.phase===`opening`}function nt(e){return e.phase===`opening`||e.phase===`comparing`}function rt(e){Ue.delete(e)&&Ke(e)}function it(e){return Ue.get(e)??null}function at(e,t){let n=We.get(e);return n||(n=new Set,We.set(e,n)),n.add(t),()=>n.delete(t)}var D=n();function ot({session:e,path:t,conflict:n,model:r,onTakeDisk:i,onKeepMine:a,onSave:o,onReady:s}){let c=ge(),l=(0,E.useId)(),u=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]),d=(0,E.useRef)(o);d.current=o;let f=(0,E.useRef)(null),p=()=>{let e=f.current;if(!e)return;let t=e.getModel();e.setModel(null),t?.original.dispose(),f.current=null},m=(0,E.useRef)(p);return m.current=p,(0,E.useEffect)(()=>()=>m.current(),[]),(0,D.jsxs)(`div`,{className:`flex h-full flex-col bg-ground`,children:[(0,D.jsxs)(`div`,{className:`flex items-center gap-3 bg-elevated px-3 py-1.5 text-xs text-fg-secondary`,children:[(0,D.jsx)(`span`,{children:`This file changed on disk. Yours is on the right — merge what you want, then save.`}),(0,D.jsx)(`button`,{type:`button`,onClick:i,className:`ml-auto shrink-0 text-fg-muted transition-colors hover:text-fg`,children:`Take the disk version`}),(0,D.jsx)(`button`,{type:`button`,onClick:a,disabled:n.phase!==`comparing`,className:`shrink-0 text-fg-muted transition-colors hover:text-fg`,children:`Keep mine`})]}),(0,D.jsx)(`div`,{className:`min-h-0 flex-1`,children:(0,D.jsx)(Te,{modifiedModelPath:r.uri.toString(),originalModelPath:`puddle-disk://${encodeURIComponent(e)}/${n.mtimeMs}/${encodeURIComponent(l)}/${t.split(`/`).map(encodeURIComponent).join(`/`)}`,original:n.content,language:r.getLanguageId(),theme:Ne,keepCurrentModifiedModel:!0,loading:(0,D.jsx)(`div`,{className:`p-3 text-xs text-fg-muted`,children:`…`}),onMount:e=>{f.current=e,e.onDidDispose(()=>{f.current=null}),e.getModifiedEditor().addCommand(xe.CtrlCmd|Se.KeyS,()=>d.current()),s?.(n.revision)},options:{readOnly:n.phase!==`comparing`,originalEditable:!1,renderSideBySide:!0,automaticLayout:!0,fontFamily:u,fontSize:c.editorFontSize,wordWrap:c.editorWordWrap?`on`:`off`,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}})})]})}function st({session:e,path:t,buffer:n,focused:r}){let i=n.conflict;return!i||i.phase===`unresolved`?null:nt(i)&&n.model?(0,D.jsx)(ot,{session:e,path:t,conflict:i,model:n.model,onTakeDisk:n.takeDisk,onKeepMine:n.keepMine,onSave:n.save,onReady:r?n.comparisonReady:void 0}):i.phase===`load-error`?(0,D.jsxs)(`div`,{className:`flex h-full flex-col items-center justify-center gap-3 bg-ground px-4 text-center text-sm text-fg-muted`,children:[(0,D.jsx)(`span`,{children:`The disk version could not be loaded.`}),(0,D.jsx)(`span`,{className:`max-w-lg text-xs text-fg-secondary`,children:i.message}),(0,D.jsx)(`button`,{type:`button`,onClick:n.compare,className:`rounded-md bg-elevated px-3 py-1.5 text-xs text-fg-secondary transition-colors hover:bg-border hover:text-fg`,children:`Retry compare`})]}):(0,D.jsx)(`div`,{className:`flex h-full items-center justify-center bg-ground text-sm text-fg-muted`,children:`Loading the disk version…`})}function ct(e){return Number.isFinite(e)?Math.min(1,Math.max(0,e)):0}function lt(e,t,n){return ct(e/Math.max(1,t-n))}function ut(e,t,n){return ct(e)*Math.max(0,t-n)}function dt(e,t){return JSON.stringify([e,t.session,t.root??null,t.path])}var O=new class{positions=new Map;listeners=new Map;revision=0;publish(e,t,n){let r={ratio:ct(n),revision:++this.revision},i=dt(e,t);this.positions.set(i,r);for(let e of this.listeners.get(i)??[])e(r);return r}get(e,t){return this.positions.get(dt(e,t))}subscribe(e,t,n){let r=dt(e,t),i=this.listeners.get(r);i||(i=new Set,this.listeners.set(r,i)),i.add(n);let a=this.positions.get(r);return a&&n(a),()=>{i?.delete(n),i?.size===0&&this.listeners.delete(r)}}};function ft(e){let t=null;return{schedule:()=>{t===null&&(t=requestAnimationFrame(()=>{t=null,e()}))},dispose:()=>{t!==null&&cancelAnimationFrame(t),t=null}}}function pt(e,t){if(t.driver&&t.receiver)throw Error(`a preview scroll surface cannot be both driver and receiver`);let n=t.store??O,r,i=()=>void 0,a,o=t=>{r=t,e.scrollTop=ut(t.ratio,e.scrollHeight,e.clientHeight)};t.receiver?i=n.subscribe(t.channel,t.target,o):t.driver&&(a=ft(()=>{n.publish(t.channel,t.target,lt(e.scrollTop,e.scrollHeight,e.clientHeight))}),e.addEventListener(`scroll`,a.schedule,{passive:!0}),a.schedule());let s=new ResizeObserver(()=>{t.receiver&&r?o(r):t.driver&&a?.schedule()});for(let e of t.resizeElements??[])s.observe(e);return()=>{t.driver&&a&&e.removeEventListener(`scroll`,a.schedule),i(),s.disconnect(),a?.dispose()}}function mt(e,t,n){if(t.driver&&t.receiver)throw Error(`a Monaco scroll surface cannot be both driver and receiver`);let r=t.store??O,i=[],a,o=()=>void 0,s,c=()=>e.getLayoutInfo().height,l=t=>{a=t,e.setScrollTop(ut(t.ratio,e.getScrollHeight(),c()),n)};return t.receiver?(o=r.subscribe(t.channel,t.target,l),i.push(e.onDidChangeModel(()=>a&&l(a))),i.push(e.onDidLayoutChange(()=>a&&l(a)))):t.driver&&(s=ft(()=>{r.publish(t.channel,t.target,lt(e.getScrollTop(),e.getScrollHeight(),c()))}),i.push(e.onDidScrollChange(s.schedule)),i.push(e.onDidChangeModel(s.schedule)),i.push(e.onDidLayoutChange(s.schedule)),s.schedule()),()=>{o();for(let e of i)e.dispose();s?.dispose()}}function ht(e){return!e}function gt(e){let t=e.split(`+`),n=t.pop()??``,r=0;for(let e of t)e===`meta`?r|=xe.CtrlCmd:e===`ctrl`?r|=xe.WinCtrl:e===`alt`?r|=xe.Alt:e===`shift`&&(r|=xe.Shift);let i=Se[/^Key[A-Z]$/.test(n)?`Key${n.slice(3)}`:/^Digit[0-9]$/.test(n)?`Digit${n.slice(5)}`:n];return typeof i==`number`?r|i:null}function _t(e,t){let n=gt(c(`editor.save`));n!==null&&e.addCommand(n,()=>t.onSave());let r=gt(c(`editor.wordWrap`));e.addAction({id:`puddle.toggleWordWrap`,label:`Toggle Word Wrap`,keybindings:r===null?[]:[r],run:()=>_e({editorWordWrap:ht(pe().editorWordWrap)})})}function vt(e){return`file-conflict:${e}`}function yt(e,t,n,r,i){let a=i?.passive===!0,c=i?.focused??!0,l=Me(e,t,r),u=m(e,t,{root:r,live:i?.live}),d=g(e,r),[f,p]=(0,E.useState)(null),[h,_]=(0,E.useState)(!1),v=(0,E.useRef)(!1),y=(0,E.useRef)(null),b=(0,E.useRef)(null),x=(0,E.useRef)(n);x.current=n;let S=(0,E.useRef)(!1),te=(0,E.useCallback)((e,t)=>{b.current?.cancel(),S.current=!0;try{ke(l,e,t)}finally{S.current=!1}},[l]),ne=(0,E.useSyncExternalStore)((0,E.useCallback)(e=>De(l,e),[l]),()=>Ae(l)),re=(0,E.useSyncExternalStore)((0,E.useCallback)(e=>ze(l,e),[l]),()=>Pe(l)),ie=(0,E.useSyncExternalStore)((0,E.useCallback)(e=>at(l,e),[l]),()=>it(l));(0,E.useEffect)(()=>{let n=u.data;if(!n||n.binary||n.content===null||v.current)return;v.current=!0;let i=we(l)!==void 0,a=Oe(e,t,n.content,n.mtime_ms,r);p(a),!i&&Le(e,t,r).then(e=>{e&&(e.base_mtime_ms===n.mtime_ms?He(a,e.content)&&_(!0):o(`This file has an unsaved draft from an earlier version.`,{description:`The file changed on disk since the draft was saved.`,duration:12e3,action:{label:`Restore draft`,onClick:()=>{He(a,e.content)&&_(!0)}}}))})},[u.data,l,e,t,r]),(0,E.useEffect)(()=>{if(!f||a)return;let n=Fe(e,t,r);b.current=n;let i=f.onDidChangeContent(()=>{S.current||(n(f.getValue(),we(l)??0),Re(e,t,r))});return()=>{n.flush(),i.dispose(),b.current=null}},[f,l,e,t,r,a]),(0,E.useEffect)(()=>{!f||!re.savedElsewhere||Ae(l)||u.refetch().then(e=>{Ae(l)||(e.data&&e.data.content!==null&&te(e.data.content,e.data.mtime_ms),Ie(l))})},[re.savedElsewhere,f,l]),(0,E.useEffect)(()=>{let e=u.data;!f||!e||e.content===null||!Ae(l)&&e.mtime_ms!==we(l)&&te(e.content,e.mtime_ms)},[u.data,f,l]);let oe=(0,E.useCallback)((n,i)=>{Ee(l,n,i),b.current?.cancel(),Ve(e,t,r),Be(e,t,i,r),_(!1),rt(l)},[l,e,t,r]),se=(0,E.useCallback)(()=>{let e=Ye(l);e!==null&&(o.dismiss(vt(l)),u.refetch({throwOnError:!0}).then(t=>{let n=t.data;if(!n)throw Error(`The disk version did not load.`);if(n.content===null)throw Error(`The file on disk is binary and cannot be compared as text.`);Xe(l,e,n.content,n.mtime_ms)}).catch(t=>{Qe(l,e,t instanceof Error?t.message:`The disk version did not load.`)}))},[u,l]),ce=(0,E.useRef)(se);ce.current=se,(0,E.useEffect)(()=>{if(!$e(ie,c))return;let e=vt(l);return o(`File changed on disk`,{id:e,description:`Nothing was written — your unsaved version is intact.`,duration:1/0,closeButton:!0,action:{label:`Compare`,onClick:()=>ce.current()}}),()=>{o.dismiss(e)}},[ie,c,l]);let le=(0,E.useCallback)(()=>{u.refetch().then(n=>{n.data&&n.data.content!==null&&te(n.data.content,n.data.mtime_ms),Ve(e,t,r),_(!1),rt(l)})},[l,e,t,te]),ue=(0,E.useCallback)((e,n)=>{d.mutate({path:t,content:e},{onSuccess:e=>oe(n,e.mtime_ms),onError:e=>o.error(e instanceof Error?e.message:`Overwrite failed`)})},[d,t,oe]),de=(0,E.useCallback)(()=>{if(!f||!Ae(l))return;let e=f.getValue(),n=f.getAlternativeVersionId();if(tt(it(l)))return;let r=et(it(l))??we(l);d.mutate({path:t,content:e,expected_mtime_ms:r},{onSuccess:e=>oe(n,e.mtime_ms),onError:e=>{e instanceof s&&e.status===409&&e.code===`stale_file`?Je(l):o.error(e instanceof Error?e.message:`Save failed`)}})},[f,l,d,t,oe]),fe=(0,E.useRef)(de);fe.current=de,(0,E.useEffect)(()=>ee(ae(e,t,r),()=>fe.current()),[e,t,r]);let C=(0,E.useCallback)(()=>{let n=y.current,i=x.current;r===void 0&&(!n||!i||i.session!==e||i.path!==t||(n.revealLineInCenter(i.line),n.setPosition({lineNumber:i.line,column:i.column??1}),n.focus()))},[e,t,r]),pe=(0,E.useCallback)(e=>{y.current=e,_t(e,{onSave:()=>fe.current()}),C()},[C]);(0,E.useEffect)(()=>{C()},[n,f,C]);let me=(0,E.useCallback)(()=>{le()},[le]),he=(0,E.useCallback)(()=>{!f||it(l)?.phase!==`comparing`||ue(f.getValue(),f.getAlternativeVersionId())},[f,l,ue]),ge=(0,E.useCallback)(e=>{Ze(l,e)},[l]),_e,ve=null;u.data?.binary?_e=`binary`:u.error?u.error instanceof s&&u.error.status===413?_e=`too-large`:(_e=`error`,ve=u.error instanceof Error?u.error.message:`Failed to load file`):_e=f?`ready`:`loading`;let ye=ne&&re.savedElsewhere?`saved-elsewhere`:ne&&re.dirtyElsewhere?`dirty-elsewhere`:null;return{status:_e,errorMessage:ve,model:f,dirty:ne,restoredNotice:h,discardRestore:me,peerBadge:ye,conflict:ie,takeDisk:le,keepMine:he,compare:se,comparisonReady:ge,save:de,onMount:pe}}function bt(e,t,n,r){for(let i of e)if(Tt([i],n).some(e=>(r===void 0||e.kind===r)&&t>=e.startLineNumber&&t<=e.endLineNumber))return i;return null}function xt(e,t){return Ct(e.modifiedStartLineNumber,e.modifiedEndLineNumber)>0?Math.min(t,e.modifiedEndLineNumber):Math.max(0,Math.min(t,e.modifiedStartLineNumber-1))}function St(e){let t=Ct(e.originalStartLineNumber,e.originalEndLineNumber),n=Ct(e.modifiedStartLineNumber,e.modifiedEndLineNumber);return Math.max(5,Math.min(14,t+n+4))}function Ct(e,t){return t===0?0:Math.max(0,t-e+1)}function wt(e,t){if(e>t)return{startLineNumber:Math.max(1,t),endLineNumber:Math.max(1,t),kind:`deleted-after`};let n=Math.max(1,e);return{startLineNumber:n,endLineNumber:n,kind:`deleted-before`}}function Tt(e,t){let n=[];for(let r of e){let e=Ct(r.originalStartLineNumber,r.originalEndLineNumber),i=Ct(r.modifiedStartLineNumber,r.modifiedEndLineNumber);if(e===0&&i>0){n.push({startLineNumber:r.modifiedStartLineNumber,endLineNumber:r.modifiedEndLineNumber,kind:`added`});continue}if(i===0&&e>0){n.push(wt(r.modifiedStartLineNumber,t));continue}let a=Math.min(e,i);a>0&&n.push({startLineNumber:r.modifiedStartLineNumber,endLineNumber:r.modifiedStartLineNumber+a-1,kind:`modified`}),i>a&&n.push({startLineNumber:r.modifiedStartLineNumber+a,endLineNumber:r.modifiedEndLineNumber,kind:`added`}),e>a&&n.push(wt(r.modifiedStartLineNumber+i,t))}return n}var Et=28,Dt=[[`puddle-dirty-added`,`added`],[`puddle-dirty-modified`,`modified`],[`puddle-dirty-deleted-before`,`deleted-before`],[`puddle-dirty-deleted-after`,`deleted-after`]];function Ot(e){if(e){for(let[t,n]of Dt)if(e.classList.contains(t)||e.closest(`.${t}`))return n}}function kt({editor:e,original:t,modified:n,path:r}){let i=[],a=null,o=!1,s=t=>{try{e.changeViewZones(e=>e.removeZone(t))}catch{}},c=()=>{let e=a;e&&(a=null,e.frame!==null&&cancelAnimationFrame(e.frame),e.diffEditor&&(e.diffEditor.setModel(null),e.diffEditor.dispose()),s(e.zoneId))},l=e=>{let t=e.diffEditor;if(!t)return;let r=Math.max(1,Math.min(n.getLineCount(),e.change.modifiedStartLineNumber));t.getModifiedEditor().revealLineInCenter(r,w.ScrollType.Immediate)},u=(i,s)=>{if(a?.anchorLine===i){c();return}c();let u=e.getOption(w.EditorOption.lineHeight),d=document.createElement(`div`);d.className=`puddle-dirty-peek`;let f=document.createElement(`div`);f.className=`puddle-dirty-peek-header`;let p=document.createElement(`span`);p.className=`puddle-dirty-peek-title`,p.textContent=`${r.split(`/`).pop()??r} · Local changes against HEAD`;let m=document.createElement(`button`);m.type=`button`,m.className=`puddle-dirty-peek-close`,m.setAttribute(`aria-label`,`Close inline change`),m.title=`Close inline change`,m.textContent=`×`,m.addEventListener(`pointerdown`,e=>{e.preventDefault(),e.stopPropagation(),c()}),m.addEventListener(`click`,e=>{e.preventDefault(),e.stopPropagation(),c()});let h=document.createElement(`div`);h.className=`puddle-dirty-peek-editor`,f.append(p,m),d.append(f,h);let g=document.createElement(`div`);g.className=`puddle-dirty-peek-margin`;let _={afterLineNumber:xt(s,n.getLineCount()),heightInPx:Et+St(s)*u,domNode:d,marginDomNode:g,suppressMouseDown:!1},v=``;e.changeViewZones(e=>{v=e.addZone(_)});let y={anchorLine:i,change:s,zone:_,zoneId:v,frame:null,diffEditor:null};a=y,y.frame=requestAnimationFrame(()=>{if(y.frame=null,o||a!==y)return;let r=w.createDiffEditor(h,{readOnly:!0,domReadOnly:!0,originalEditable:!1,renderSideBySide:!1,renderMarginRevertIcon:!1,renderOverviewRuler:!1,enableSplitViewResizing:!1,isInEmbeddedEditor:!0,automaticLayout:!0,fontFamily:e.getOption(w.EditorOption.fontFamily),fontSize:e.getOption(w.EditorOption.fontSize),lineHeight:u,minimap:{enabled:!1},glyphMargin:!1,folding:!1,scrollBeyondLastLine:!1,fixedOverflowWidgets:!0,hideUnchangedRegions:{enabled:!0,minimumLineCount:0,contextLineCount:2,revealLineCount:3}});y.diffEditor=r,r.setModel({original:t,modified:n}),r.onDidUpdateDiff(()=>l(y)),l(y)}),e.revealLineInCenter(Math.max(1,Math.min(n.getLineCount(),s.modifiedStartLineNumber)))},d=e.onMouseDown(e=>{if(!e.event.leftButton||e.target.type!==w.MouseTargetType.GUTTER_LINE_DECORATIONS||e.target.position===null)return;let t=e.target.position.lineNumber,r=bt(i,t,n.getLineCount(),Ot(e.target.element));r&&(e.event.preventDefault(),e.event.stopPropagation(),u(t,r))});return{update(t){if(i=t,!a)return;let r=a,o=bt(t,r.anchorLine,n.getLineCount());if(!o){c();return}r.change=o,r.zone.afterLineNumber=xt(o,n.getLineCount()),r.zone.heightInPx=Et+St(o)*e.getOption(w.EditorOption.lineHeight);try{e.changeViewZones(e=>e.layoutZone(r.zoneId))}catch{c();return}l(r)},dispose(){o=!0,d.dispose(),c()}}}var At={added:`puddle-dirty-added`,modified:`puddle-dirty-modified`,"deleted-before":`puddle-dirty-deleted-before`,"deleted-after":`puddle-dirty-deleted-after`};function jt(e,t,n,r){let a=i(),o=d(e,t,{root:n,enabled:a.data!==void 0&&ye(a.data.protocol)&&r!==null}),[s,c]=(0,E.useState)(null),l=(0,E.useCallback)(e=>{c(e)},[]);return(0,E.useEffect)(()=>{let e=o.data;if(!s||!r||!e||e.repository===null||e.ignored||e.binary)return;let n=document.createElement(`div`);n.className=`puddle-hidden-diff-controller`,document.body.appendChild(n);let i=w.createModel(e.exists?e.content??``:``,r.getLanguageId()),a=w.createDiffEditor(n,{readOnly:!0,automaticLayout:!1,renderSideBySide:!1,minimap:{enabled:!1}}),c=s.createDecorationsCollection();a.setModel({original:i,modified:r});let l=kt({editor:s,original:i,modified:r,path:t}),u=()=>{let e=a.getLineChanges();e&&(l.update(e),c.set(Tt(e,r.getLineCount()).map(e=>({range:new be(e.startLineNumber,1,e.endLineNumber,1),options:{isWholeLine:!0,linesDecorationsClassName:At[e.kind]}}))))},d=a.onDidUpdateDiff(u);return u(),()=>{d.dispose(),l.dispose(),c.clear(),a.setModel(null),a.dispose(),i.dispose(),n.remove()}},[s,r,o.data]),l}function Mt({message:e,session:t,path:n,root:r,download:i}){return(0,D.jsxs)(`div`,{className:`flex h-full flex-col items-center justify-center gap-3 bg-ground text-sm text-fg-muted`,children:[(0,D.jsx)(`span`,{children:e}),i&&(0,D.jsxs)(`button`,{type:`button`,onClick:()=>void y(t,n,r).catch(e=>o.error(e instanceof Error?e.message:`Download failed`)),className:`flex items-center gap-1.5 text-fg-secondary transition-colors hover:text-fg`,children:[(0,D.jsx)(f,{className:`size-4`}),`Download`]})]})}function Nt({session:e,path:t,reveal:n,root:r,focused:i=!0,scrollDriver:a=!1,scrollReceiver:o=!1,scrollChannel:s=`profile`}){let c=ge(),l=yt(e,t,n,r,{focused:i}),u=jt(e,t,r,l.model),d=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]),[f,p]=(0,E.useState)(null),m=(0,E.useMemo)(()=>({session:e,path:t,root:r}),[e,t,r]),h=l.conflict!==null&&l.conflict.phase!==`unresolved`;if((0,E.useEffect)(()=>{if(!(!f||!l.model||h))return mt(f,{channel:s,target:m,driver:a,receiver:o},w.ScrollType.Immediate)},[f,l.model,h,s,m,a,o]),l.conflict&&l.conflict.phase!==`unresolved`)return(0,D.jsx)(st,{session:e,path:t,buffer:l,focused:i});if(l.status===`binary`)return(0,D.jsx)(Mt,{message:`Binary file — use Download`,session:e,path:t,root:r,download:!0});if(l.status===`too-large`)return(0,D.jsx)(Mt,{message:`File too large to edit — use Download`,session:e,path:t,root:r,download:!0});if(l.status===`error`)return(0,D.jsx)(Mt,{message:l.errorMessage??`Failed to load file`,session:e,path:t,root:r});let g=l.peerBadge===`saved-elsewhere`?`Saved in another window`:l.peerBadge===`dirty-elsewhere`?`Also being edited in another window`:null;return(0,D.jsxs)(`div`,{className:`flex h-full flex-col bg-ground`,children:[l.restoredNotice&&(0,D.jsxs)(`div`,{className:`flex items-center gap-3 bg-elevated px-3 py-1.5 text-xs text-fg-secondary`,children:[(0,D.jsx)(`span`,{children:`Restored unsaved changes`}),(0,D.jsx)(`button`,{type:`button`,onClick:l.discardRestore,className:`text-fg-muted transition-colors hover:text-fg`,children:`Discard`})]}),g&&(0,D.jsx)(`div`,{className:`bg-surface px-3 py-1 text-xs text-fg-muted`,children:g}),(0,D.jsx)(`div`,{className:`min-h-0 flex-1`,children:l.model&&(0,D.jsx)(T,{path:l.model.uri.toString(),defaultValue:l.model.getValue(),theme:`puddle`,keepCurrentModel:!0,onMount:e=>{l.onMount(e),u(e),p(e)},loading:(0,D.jsx)(`div`,{className:`p-3 text-xs text-fg-muted`,children:`…`}),options:{automaticLayout:!0,fontFamily:d,fontSize:c.editorFontSize,tabSize:c.editorTabSize,wordWrap:c.editorWordWrap?`on`:`off`,minimap:{enabled:!1},glyphMargin:!1,lineDecorationsWidth:10,fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}})})]})}function k({children:e}){return(0,D.jsx)(`div`,{className:`flex h-full items-center justify-center px-4 text-xs text-fg-muted`,children:e})}function Pt(e,t){let n=(0,E.useRef)(t);n.current=t,(0,E.useEffect)(()=>(je(e),()=>{n.current?.(),Ce(e)}),[e])}function Ft(e,t,n,r){let i=r.split(`/`).map(encodeURIComponent).join(`/`);return`${e}://${encodeURIComponent(t)}/${encodeURIComponent(n)}/${i}`}function It({session:e,refName:t,path:n,content:r}){let i=ge(),a=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]);return(0,D.jsx)(T,{path:Ft(`puddle-view`,e,t,n),defaultValue:r,theme:Ne,loading:(0,D.jsx)(k,{children:`…`}),options:{readOnly:!0,automaticLayout:!0,fontFamily:a,fontSize:i.editorFontSize,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}})}function Lt({session:e,against:t,path:n,root:r,indexBase:i=!1}){let a=_(e,t,n,{root:r,enabled:!i}),o=h(e,n,{root:r,enabled:i}),s=i?o:a;return s.isPending?(0,D.jsx)(k,{children:`…`}):s.error?(0,D.jsx)(k,{children:s.error instanceof Error?s.error.message:`Failed to load`}):s.data.binary?(0,D.jsx)(k,{children:`Binary file — deleted`}):(0,D.jsxs)(`div`,{className:`flex h-full flex-col`,children:[(0,D.jsx)(`div`,{className:`bg-surface px-4 py-1 text-xs text-fg-muted`,children:`Deleted`}),(0,D.jsx)(`div`,{className:`min-h-0 flex-1`,children:(0,D.jsx)(It,{session:e,refName:`${t}:${r??``}`,path:n,content:s.data.content??``})})]})}function Rt({session:e,against:t,path:n,basePath:r,root:i,indexBase:a=!1,focused:o=!0}){let c=ge(),l=yt(e,n,null,i,{focused:o}),u=_(e,t,r,{root:i,enabled:!a}),d=h(e,r,{root:i,enabled:a}),f=a?d:u,p=(0,E.useRef)(null);Pt(Me(e,n,i),()=>{let e=p.current;if(!e)return;let t=e.getModel();e.setModel(null),t?.original.dispose(),p.current=null});let m=(0,E.useRef)(l.save);m.current=l.save;let g=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]),v=f.error instanceof s&&f.error.status===404;return l.conflict&&l.conflict.phase!==`unresolved`?(0,D.jsx)(st,{session:e,path:n,buffer:l,focused:o}):l.status===`binary`||f.data?.binary?(0,D.jsx)(k,{children:`Binary file`}):l.status===`too-large`?(0,D.jsx)(k,{children:`File too large to show`}):l.status===`error`?(0,D.jsx)(k,{children:l.errorMessage??`Failed to load file`}):v||a&&d.data&&!d.data.exists?(0,D.jsx)(Nt,{session:e,path:n,reveal:null,root:i,focused:o}):f.isPending||!l.model?(0,D.jsx)(k,{children:`…`}):f.error?(0,D.jsx)(k,{children:f.error instanceof Error?f.error.message:`Failed to load base`}):(0,D.jsx)(Te,{modifiedModelPath:l.model.uri.toString(),originalModelPath:Ft(`puddle-base`,e,`${t}:${i??``}`,r),original:f.data.content??``,language:l.model.getLanguageId(),theme:Ne,keepCurrentModifiedModel:!0,loading:(0,D.jsx)(k,{children:`…`}),onMount:e=>{p.current=e,e.onDidDispose(()=>{p.current=null}),e.getModifiedEditor().addCommand(xe.CtrlCmd|Se.KeyS,()=>m.current())},options:{readOnly:!1,originalEditable:!1,renderSideBySide:!0,automaticLayout:!0,fontFamily:g,fontSize:c.editorFontSize,wordWrap:c.editorWordWrap?`on`:`off`,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}})}function zt({session:e,against:t,entry:n,root:r}){let i=ge(),a=n.old_path??n.path,o=_(e,t,a,{root:r,enabled:n.status!==`added`}),s=h(e,n.path,{root:r,enabled:n.status!==`deleted`}),c=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]);if(n.status===`deleted`)return(0,D.jsx)(Lt,{session:e,against:t,path:a,root:r});if(s.isPending||n.status!==`added`&&o.isPending)return(0,D.jsx)(k,{children:`…`});if(s.error||o.error){let e=s.error??o.error;return(0,D.jsx)(k,{children:e instanceof Error?e.message:`Failed to load staged content`})}return s.data.binary||o.data?.binary?(0,D.jsx)(k,{children:`Binary file`}):n.status===`added`?(0,D.jsx)(It,{session:e,refName:`index:${r??``}`,path:n.path,content:s.data.content??``}):o.data?(0,D.jsx)(Te,{originalModelPath:Ft(`puddle-head`,e,`${t}:${r??``}`,a),modifiedModelPath:Ft(`puddle-index`,e,`${t}:${r??``}`,n.path),original:o.data.content??``,modified:s.data.content??``,theme:Ne,loading:(0,D.jsx)(k,{children:`…`}),options:{readOnly:!0,originalEditable:!1,renderSideBySide:!0,automaticLayout:!0,fontFamily:c,fontSize:i.editorFontSize,wordWrap:i.editorWordWrap?`on`:`off`,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}}):(0,D.jsx)(k,{children:`Failed to load HEAD content`})}function Bt({session:e,path:t,root:n,focused:r}){return Pt(Me(e,t,n)),(0,D.jsx)(Nt,{session:e,path:t,reveal:null,root:n,focused:r})}function Vt({session:e,against:t,entry:n,root:r,area:i,focused:a=!0}){if(i===`staged`)return(0,D.jsx)(zt,{session:e,against:t,entry:n,root:r});switch(n.status){case`added`:return(0,D.jsx)(Bt,{session:e,path:n.path,root:r,focused:a});case`deleted`:return(0,D.jsx)(Lt,{session:e,against:t,path:n.path,root:r,indexBase:i===`unstaged`});case`modified`:case`renamed`:return(0,D.jsx)(Rt,{session:e,against:t,path:n.path,basePath:n.old_path??n.path,root:r,indexBase:i===`unstaged`,focused:a});default:return null}}function Ht({session:e,sha:t,path:n,root:r}){let i=_(e,t,n,{root:r});return i.isPending?(0,D.jsx)(k,{children:`…`}):i.error?(0,D.jsx)(k,{children:i.error instanceof Error?i.error.message:`Failed to load file`}):i.data.binary?(0,D.jsx)(k,{children:`Binary file`}):(0,D.jsx)(It,{session:e,refName:`${t}:${r??``}`,path:n,content:i.data.content??``})}function Ut({session:e,originalRef:t,originalPath:n,originalContent:r,modifiedRef:i,modifiedPath:a,modifiedContent:o,root:s}){let c=ge(),l=(0,E.useRef)(null),u=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]);return(0,E.useEffect)(()=>()=>{let e=l.current;if(!e)return;let t=e.getModel();e.setModel(null),t?.original.dispose(),t?.modified.dispose(),l.current=null},[]),(0,D.jsx)(Te,{originalModelPath:Ft(`puddle-hist-orig`,e,`${t}:${s??``}`,n),modifiedModelPath:Ft(`puddle-hist-mod`,e,`${i}:${s??``}`,a),original:r,modified:o,theme:Ne,keepCurrentOriginalModel:!0,keepCurrentModifiedModel:!0,loading:(0,D.jsx)(k,{children:`…`}),onMount:e=>{l.current=e,e.onDidDispose(()=>{l.current=null})},options:{readOnly:!0,originalEditable:!1,renderSideBySide:!0,automaticLayout:!0,fontFamily:u,fontSize:c.editorFontSize,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1}})}function Wt({session:e,sha:t,path:n,basePath:r,root:i}){let a=_(e,`${t}^`,r,{root:i}),o=_(e,t,n,{root:i});return a.error instanceof s&&a.error.status===404?(0,D.jsx)(Ht,{session:e,sha:t,path:n,root:i}):a.isPending||o.isPending?(0,D.jsx)(k,{children:`…`}):a.error?(0,D.jsx)(k,{children:a.error instanceof Error?a.error.message:`Failed to load original`}):o.error?(0,D.jsx)(k,{children:o.error instanceof Error?o.error.message:`Failed to load file`}):a.data.binary||o.data.binary?(0,D.jsx)(k,{children:`Binary file`}):(0,D.jsx)(Ut,{session:e,originalRef:`${t}^`,originalPath:r,originalContent:a.data.content??``,modifiedRef:t,modifiedPath:n,modifiedContent:o.data.content??``,root:i})}function Gt({session:e,sha:t,entry:n,isRootCommit:r,root:i}){switch(te(n.status,r)){case`added`:return(0,D.jsx)(Ht,{session:e,sha:t,path:n.path,root:i});case`deleted`:return(0,D.jsx)(Lt,{session:e,against:`${t}^`,path:n.path,root:i});case`modified`:case`renamed`:return(0,D.jsx)(Wt,{session:e,sha:t,path:n.path,basePath:n.old_path??n.path,root:i});default:return null}}function Kt({session:e,sha:t,path:n,root:r}){let i=p(e,t,r);if(i.isPending)return(0,D.jsx)(`div`,{className:`px-4 py-3 text-xs text-fg-muted`,children:`Loading commit…`});if(i.error)return(0,D.jsx)(`div`,{className:`px-4 py-3 text-xs text-fg-muted`,children:i.error instanceof Error?i.error.message:`Failed to load commit`});let a=i.data.files.find(e=>e.path===n);return a?(0,D.jsx)(`div`,{className:`h-full`,children:(0,D.jsx)(Gt,{session:e,sha:t,entry:a,isRootCommit:i.data.parents.length===0,root:r})}):(0,D.jsxs)(`div`,{className:`flex h-full items-center justify-center px-4 text-center text-xs text-fg-muted`,children:[(0,D.jsx)(`span`,{className:`text-fg-secondary`,children:n}),` is not part of`,` `,(0,D.jsx)(`span`,{className:`font-mono`,children:t.slice(0,7)}),`.`]})}function qt({session:e,path:t,root:n,area:r,focused:i=!0}){let a=v(e,{root:n,against:r===void 0?`base`:`head`,area:r});if(a.isPending)return(0,D.jsx)(`div`,{className:`px-4 py-3 text-xs text-fg-muted`,children:`Loading diff…`});if(a.error)return(0,D.jsx)(`div`,{className:`px-4 py-3 text-xs text-fg-muted`,children:a.error instanceof Error?a.error.message:`Failed to load diff`});let o=a.data.entries.find(e=>e.path===t);return o?(0,D.jsx)(`div`,{className:`h-full`,children:(0,D.jsx)(Vt,{session:e,against:a.data.against,entry:o,root:n,area:r,focused:i})}):(0,D.jsxs)(`div`,{className:`flex h-full items-center justify-center px-4 text-center text-xs text-fg-muted`,children:[`No changes to `,(0,D.jsx)(`span`,{className:`mx-1 text-fg-secondary`,children:t}),` against the base.`]})}var Jt=800;function Yt({name:e}){let t=ge(),n=u(),i=ie(n,e),a=r(),s=l(`editor.save`),c=(0,E.useRef)(null),d=(0,E.useRef)(null),f=(0,E.useMemo)(()=>getComputedStyle(document.documentElement).getPropertyValue(`--font-mono`).trim()||void 0,[]);if((0,E.useEffect)(()=>{if(n===null)return;let t=ve(t=>{x(n,e,t).catch(e=>o.error(e instanceof Error?e.message:`Draft not saved`))},Jt);return d.current=t,()=>{t.flush(),d.current=null}},[n,e]),n===null)return null;if(i.error)return(0,D.jsx)(`div`,{className:`flex h-full items-center justify-center bg-ground text-sm text-fg-muted`,children:i.error instanceof Error?i.error.message:`Failed to load the draft`});if(i.data===void 0)return(0,D.jsx)(`div`,{className:`p-3 text-xs text-fg-muted`,children:`…`});let p=()=>{let t=c.current;t&&(d.current?.flush(),re({name:e,content:t.getValue()}))};return(0,D.jsxs)(`div`,{className:`flex h-full flex-col bg-ground`,children:[(0,D.jsxs)(`div`,{className:`bg-surface px-3 py-1 text-xs text-fg-muted`,children:[`Draft — not in any worktree; `,s,` saves it into one`]}),(0,D.jsx)(`div`,{className:`min-h-0 flex-1`,children:(0,D.jsx)(T,{path:`puddle-untitled://${n}/${e}`,defaultValue:i.data.content,theme:Ne,keepCurrentModel:!1,loading:(0,D.jsx)(`div`,{className:`p-3 text-xs text-fg-muted`,children:`…`}),onMount:t=>{c.current=t,b(e,t.getValue()),_t(t,{onSave:p})},onChange:t=>{let r=t??``;b(e,r),S(a,n,e,r),d.current?.(r)},options:{automaticLayout:!0,fontFamily:f,fontSize:t.editorFontSize,minimap:{enabled:!1},fixedOverflowWidgets:!0,scrollBeyondLastLine:!1,wordWrap:t.editorWordWrap?`on`:`off`}})})]})}function Xt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Zt(e){if(Array.isArray(e))return e}function Qt(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function $t(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function en(e,t){return Zt(e)||Qt(e,t)||tn(e,t)||$t()}function tn(e,t){if(e){if(typeof e==`string`)return Xt(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xt(e,t):void 0}}var nn=Object.entries,rn=Object.setPrototypeOf,an=Object.isFrozen,on=Object.getPrototypeOf,sn=Object.getOwnPropertyDescriptor,cn=Object.freeze,ln=Object.seal,un=Object.create,dn=typeof Reflect<`u`&&Reflect,fn=dn.apply,pn=dn.construct;cn||=function(e){return e},ln||=function(e){return e},fn||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},pn||=function(e){return new e(...[...arguments].slice(1))};var mn=Pn(Array.prototype.forEach),hn=Pn(Array.prototype.lastIndexOf),gn=Pn(Array.prototype.pop),_n=Pn(Array.prototype.push),vn=Pn(Array.prototype.splice),yn=Array.isArray,bn=Pn(String.prototype.toLowerCase),xn=Pn(String.prototype.toString),Sn=Pn(String.prototype.match),Cn=Pn(String.prototype.replace),wn=Pn(String.prototype.indexOf),Tn=Pn(String.prototype.trim),En=Pn(Number.prototype.toString),Dn=Pn(Boolean.prototype.toString),On=typeof BigInt>`u`?null:Pn(BigInt.prototype.toString),kn=typeof Symbol>`u`?null:Pn(Symbol.prototype.toString),An=Pn(Object.prototype.hasOwnProperty),jn=Pn(Object.prototype.toString),Mn=Pn(RegExp.prototype.test),Nn=Fn(TypeError);function Pn(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return fn(e,t,n)}}function Fn(e){return function(){return pn(e,[...arguments])}}function A(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bn;if(rn&&rn(e,null),!yn(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(an(t)||(t[r]=e),i=e)}e[i]=!0}return e}function In(e){for(let t=0;t<e.length;t++)An(e,t)||(e[t]=null);return e}function Ln(e){let t=un(null);for(let r of nn(e)){var n=en(r,2);let i=n[0],a=n[1];An(e,i)&&(yn(a)?t[i]=In(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=Ln(a):t[i]=a)}return t}function Rn(e){switch(typeof e){case`string`:return e;case`number`:return En(e);case`boolean`:return Dn(e);case`bigint`:return On?On(e):`0`;case`symbol`:return kn?kn(e):`Symbol()`;case`undefined`:return jn(e);case`function`:case`object`:{if(e===null)return jn(e);let t=e,n=zn(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:jn(e)}return jn(e)}default:return jn(e)}}function zn(e,t){for(;e!==null;){let n=sn(e,t);if(n){if(n.get)return Pn(n.get);if(typeof n.value==`function`)return Pn(n.value)}e=on(e)}function n(){return null}return n}function Bn(e){try{return Mn(e,``),!0}catch{return!1}}var Vn=cn(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),Hn=cn(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),Un=cn([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),Wn=cn([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),Gn=cn(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),Kn=cn([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),qn=cn([`#text`]),Jn=cn(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),Yn=cn(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),Xn=cn(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),Zn=cn([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Qn=ln(/{{[\w\W]*|^[\w\W]*}}/g),$n=ln(/<%[\w\W]*|^[\w\W]*%>/g),er=ln(/\${[\w\W]*/g),tr=ln(/^data-[\-\w.\u00B7-\uFFFF]+$/),nr=ln(/^aria-[\-\w]+$/),rr=ln(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ir=ln(/^(?:\w+script|data):/i),ar=ln(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),or=ln(/^html$/i),sr=ln(/^[a-z][.\w]*(-[.\w]+)+$/i),cr=ln(/<[/\w!]/g),lr=ln(/<[/\w]/g),ur=ln(/<\/no(script|embed|frames)/i),dr=ln(/\/>/i),fr={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},pr=function(){return typeof window>`u`?null:window},mr=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},hr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},gr=function(e,t,n,r){return An(e,t)&&yn(e[t])?A(r.base?Ln(r.base):{},e[t],r.transform):n};function _r(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pr(),t=e=>_r(e);if(t.version=`3.4.12`,t.removed=[],!e||!e.document||e.document.nodeType!==fr.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=zn(d,`cloneNode`),p=zn(d,`remove`),m=zn(d,`nextSibling`),h=zn(d,`childNodes`),g=zn(d,`parentNode`),_=zn(d,`shadowRoot`),v=zn(d,`attributes`),y=o&&o.prototype?zn(o.prototype,`nodeType`):null,b=o&&o.prototype?zn(o.prototype,`nodeName`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let x,S=``,ee,te=!1,ne=0,re=function(){if(ne>0)throw Nn(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},ie=function(e){re(),ne++;try{return x.createHTML(e)}finally{ne--}},ae=function(e){re(),ne++;try{return x.createScriptURL(e)}finally{ne--}},oe=function(){return te||=(ee=mr(u,i),!0),ee},se=n,ce=se.implementation,le=se.createNodeIterator,ue=se.createDocumentFragment,de=se.getElementsByTagName,fe=r.importNode,C=hr();t.isSupported=typeof nn==`function`&&typeof g==`function`&&ce&&ce.createHTMLDocument!==void 0;let pe=Qn,me=$n,he=er,ge=tr,_e=nr,ve=ir,ye=ar,be=sr,xe=rr,w=null,Se=A({},[...Vn,...Hn,...Un,...Gn,...qn]),Ce=null,we=A({},[...Jn,...Yn,...Xn,...Zn]),T=Object.seal(un(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Te=null,Ee=null,De=Object.seal(un(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Oe=!0,ke=!0,Ae=!1,je=!0,Me=!1,Ne=!0,Pe=!1,Fe=!1,Ie=null,Le=null,Re=!1,ze=!1,Be=!1,Ve=!1,He=!0,E=!1,Ue=`user-content-`,We=!0,Ge=!1,Ke={},qe=null,Je=A({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),Ye=null,Xe=A({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Ze=null,Qe=A({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),$e=`http://www.w3.org/1998/Math/MathML`,et=`http://www.w3.org/2000/svg`,tt=`http://www.w3.org/1999/xhtml`,nt=tt,rt=!1,it=null,at=A({},[$e,et,tt],xn),D=cn([`mi`,`mo`,`mn`,`ms`,`mtext`]),ot=A({},D),st=cn([`annotation-xml`]),ct=A({},st),lt=A({},[`title`,`style`,`font`,`a`,`script`]),ut=null,dt=[`application/xhtml+xml`,`text/html`],O=null,ft=null,pt=n.createElement(`form`),mt=function(e){return e instanceof RegExp||e instanceof Function},ht=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ft&&ft===e)return;(!e||typeof e!=`object`)&&(e={}),e=Ln(e),ut=dt.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,O=ut===`application/xhtml+xml`?xn:bn,w=gr(e,`ALLOWED_TAGS`,Se,{transform:O}),Ce=gr(e,`ALLOWED_ATTR`,we,{transform:O}),it=gr(e,`ALLOWED_NAMESPACES`,at,{transform:xn}),Ze=gr(e,`ADD_URI_SAFE_ATTR`,Qe,{transform:O,base:Qe}),Ye=gr(e,`ADD_DATA_URI_TAGS`,Xe,{transform:O,base:Xe}),qe=gr(e,`FORBID_CONTENTS`,Je,{transform:O}),Te=gr(e,`FORBID_TAGS`,Ln({}),{transform:O}),Ee=gr(e,`FORBID_ATTR`,Ln({}),{transform:O}),Ke=An(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?Ln(e.USE_PROFILES):e.USE_PROFILES:!1,Oe=e.ALLOW_ARIA_ATTR!==!1,ke=e.ALLOW_DATA_ATTR!==!1,Ae=e.ALLOW_UNKNOWN_PROTOCOLS||!1,je=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Me=e.SAFE_FOR_TEMPLATES||!1,Ne=e.SAFE_FOR_XML!==!1,Pe=e.WHOLE_DOCUMENT||!1,ze=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,Ve=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,He=e.SANITIZE_DOM!==!1,E=e.SANITIZE_NAMED_PROPS||!1,We=e.KEEP_CONTENT!==!1,Ge=e.IN_PLACE||!1,xe=Bn(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:rr,nt=typeof e.NAMESPACE==`string`?e.NAMESPACE:tt,ot=An(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?Ln(e.MATHML_TEXT_INTEGRATION_POINTS):A({},D),ct=An(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?Ln(e.HTML_INTEGRATION_POINTS):A({},st);let t=An(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?Ln(e.CUSTOM_ELEMENT_HANDLING):un(null);if(T=un(null),An(t,`tagNameCheck`)&&mt(t.tagNameCheck)&&(T.tagNameCheck=t.tagNameCheck),An(t,`attributeNameCheck`)&&mt(t.attributeNameCheck)&&(T.attributeNameCheck=t.attributeNameCheck),An(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(T.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),ln(T),Me&&(ke=!1),Be&&(ze=!0),Ke&&(w=A({},qn),Ce=un(null),Ke.html===!0&&(A(w,Vn),A(Ce,Jn)),Ke.svg===!0&&(A(w,Hn),A(Ce,Yn),A(Ce,Zn)),Ke.svgFilters===!0&&(A(w,Un),A(Ce,Yn),A(Ce,Zn)),Ke.mathMl===!0&&(A(w,Gn),A(Ce,Xn),A(Ce,Zn))),De.tagCheck=null,De.attributeCheck=null,An(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?De.tagCheck=e.ADD_TAGS:yn(e.ADD_TAGS)&&(w===Se&&(w=Ln(w)),A(w,e.ADD_TAGS,O))),An(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?De.attributeCheck=e.ADD_ATTR:yn(e.ADD_ATTR)&&(Ce===we&&(Ce=Ln(Ce)),A(Ce,e.ADD_ATTR,O))),An(e,`ADD_URI_SAFE_ATTR`)&&yn(e.ADD_URI_SAFE_ATTR)&&A(Ze,e.ADD_URI_SAFE_ATTR,O),An(e,`FORBID_CONTENTS`)&&yn(e.FORBID_CONTENTS)&&(qe===Je&&(qe=Ln(qe)),A(qe,e.FORBID_CONTENTS,O)),An(e,`ADD_FORBID_CONTENTS`)&&yn(e.ADD_FORBID_CONTENTS)&&(qe===Je&&(qe=Ln(qe)),A(qe,e.ADD_FORBID_CONTENTS,O)),We&&(w[`#text`]=!0),Pe&&A(w,[`html`,`head`,`body`]),w.table&&(A(w,[`tbody`]),delete Te.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Nn(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Nn(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=x;x=e.TRUSTED_TYPES_POLICY;try{S=ie(``)}catch(e){throw x=t,e}}else e.TRUSTED_TYPES_POLICY===null?(x=void 0,S=``):(x===void 0&&(x=oe()),x&&typeof S==`string`&&(S=ie(``)));cn&&cn(e),ft=e},gt=A({},[...Hn,...Un,...Wn]),_t=A({},[...Gn,...Kn]),vt=function(e,t,n){return t.namespaceURI===tt?e===`svg`:t.namespaceURI===$e?e===`svg`&&(n===`annotation-xml`||ot[n]):!!gt[e]},yt=function(e,t,n){return t.namespaceURI===tt?e===`math`:t.namespaceURI===et?e===`math`&&ct[n]:!!_t[e]},bt=function(e,t,n){return t.namespaceURI===et&&!ct[n]||t.namespaceURI===$e&&!ot[n]?!1:!_t[e]&&(lt[e]||!gt[e])},xt=function(e){let t=g(e);(!t||!t.tagName)&&(t={namespaceURI:nt,tagName:`template`});let n=bn(e.tagName),r=bn(t.tagName);return it[e.namespaceURI]?e.namespaceURI===et?vt(n,t,r):e.namespaceURI===$e?yt(n,t,r):e.namespaceURI===tt?bt(n,t,r):!!(ut===`application/xhtml+xml`&&it[e.namespaceURI]):!1},St=function(e){_n(t.removed,{element:e});try{g(e).removeChild(e)}catch{if(p(e),!g(e))throw Nn(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},Ct=function(e){Et(e);let t=h(e);if(t){let e=[];mn(t,t=>{_n(e,t)}),mn(e,e=>{try{p(e)}catch{}})}let n=v(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;if(typeof i==`string`)try{e.removeAttribute(i)}catch{}}},wt=function(e,n){try{_n(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{_n(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(ze||Be)try{St(n)}catch{}else try{n.setAttribute(e,``)}catch{}},Tt=function(e){let t=v(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;if(!(typeof i!=`string`||Ce[O(i)]))try{e.removeAttribute(i)}catch{}}},Et=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(y?y(e):e.nodeType)===fr.element&&Tt(e);let n=h(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},Dt=function(e){if(!Ne)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=y?y(e):e.nodeType;if(n===fr.processingInstruction||n===fr.comment&&Mn(lr,e.data)){try{p(e)}catch{}continue}if(n===fr.element){let t=e,n=O(b?b(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&n!==`label`&&n!==`output`&&t.removeAttribute(`for`)}catch{}}let r=h(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},Ot=function(e){let t=null,r=null;if(Re)e=`<remove></remove>`+e;else{let t=Sn(e,/^[\r\n\t ]+/);r=t&&t[0]}ut===`application/xhtml+xml`&&nt===tt&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=x?ie(e):e;if(nt===tt)try{t=new l().parseFromString(i,ut)}catch{}if(!t||!t.documentElement){t=ce.createDocument(nt,`template`,null);try{t.documentElement.innerHTML=rt?S:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),nt===tt?de.call(t,Pe?`html`:`body`)[0]:Pe?t.documentElement:a},kt=function(e){return le.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},At=function(e){return e=Cn(e,pe,` `),e=Cn(e,me,` `),e=Cn(e,he,` `),e},jt=function(e){e.normalize();let t=le.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),n=t.nextNode();for(;n;)n.data=At(n.data),n=t.nextNode();let r=e.querySelectorAll?.call(e,`template`);r&&mn(r,e=>{Nt(e.content)&&jt(e.content)})},Mt=function(e){let t=b?b(e):null;return typeof t!=`string`||O(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==v(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==y(e)||e.childNodes!==h(e)},Nt=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return y(e)===fr.documentFragment}catch{return!1}},k=function(e){if(!y||typeof e!=`object`||!e)return!1;try{return typeof y(e)==`number`}catch{return!1}};function Pt(e,n,r){e.length!==0&&mn(e,e=>{e.call(t,n,r,ft)})}let Ft=function(e,t){return!!(Ne&&e.hasChildNodes()&&!k(e.firstElementChild)&&Mn(cr,e.textContent)&&Mn(cr,e.innerHTML)||Ne&&e.namespaceURI===tt&&t===`style`&&k(e.firstElementChild)||e.nodeType===fr.processingInstruction||Ne&&e.nodeType===fr.comment&&Mn(lr,e.data))},It=function(e,t){if(!Te[t]&&Bt(t)&&(T.tagNameCheck instanceof RegExp&&Mn(T.tagNameCheck,t)||T.tagNameCheck instanceof Function&&T.tagNameCheck(t)))return!1;if(We&&!qe[t]){let t=g(e),n=h(e);if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=Ge?n[i]:f(n[i],!0);t.insertBefore(r,m(e))}}}return St(e),!0},Lt=function(e,n){if(Pt(C.beforeSanitizeElements,e,null),e!==n&&g(e)===null)return!0;if(Mt(e))return St(e),!0;let r=O(b?b(e):e.nodeName);if(Pt(C.uponSanitizeElement,e,{tagName:r,allowedTags:w}),e!==n&&g(e)===null)return!0;if(Ft(e,r))return St(e),!0;if(Te[r]||!(De.tagCheck instanceof Function&&De.tagCheck(r))&&!w[r]){let t=It(e,r);return t===!1&&Pt(C.afterSanitizeElements,e,null),t}if((y?y(e):e.nodeType)===fr.element&&!xt(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&Mn(ur,e.innerHTML))return St(e),!0;if(Me&&e.nodeType===fr.text){let n=At(e.textContent);e.textContent!==n&&(_n(t.removed,{element:e.cloneNode()}),e.textContent=n)}return Pt(C.afterSanitizeElements,e,null),!1},Rt=function(e,t,r){if(Ee[t]||Ne&&t===`patchsrc`||Ne&&t===`for`&&e!==`label`&&e!==`output`||He&&(t===`id`||t===`name`)&&(r in n||r in pt))return!1;let i=Ce[t]||De.attributeCheck instanceof Function&&De.attributeCheck(t,e);if(!(ke&&Mn(ge,t))&&!(Oe&&Mn(_e,t))){if(!i){if(!(Bt(e)&&(T.tagNameCheck instanceof RegExp&&Mn(T.tagNameCheck,e)||T.tagNameCheck instanceof Function&&T.tagNameCheck(e))&&(T.attributeNameCheck instanceof RegExp&&Mn(T.attributeNameCheck,t)||T.attributeNameCheck instanceof Function&&T.attributeNameCheck(t,e))||t===`is`&&T.allowCustomizedBuiltInElements&&(T.tagNameCheck instanceof RegExp&&Mn(T.tagNameCheck,r)||T.tagNameCheck instanceof Function&&T.tagNameCheck(r))))return!1}else if(!Ze[t]&&!Mn(xe,Cn(r,ye,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&wn(r,`data:`)===0&&Ye[e])&&!(Ae&&!Mn(ve,Cn(r,ye,``)))&&r)return!1}return!0},zt=A({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Bt=function(e){return!zt[bn(e)]&&Mn(be,e)},Vt=function(e,t,n,r){if(x&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return ie(r);case`TrustedScriptURL`:return ae(r)}return r},Ht=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),Mt(e)?St(e):gn(t.removed)}catch{wt(n,e)}},Ut=function(e){Pt(C.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||Mt(e))return;let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:Ce,forceKeepAttr:void 0},r=t.length,i=O(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=O(o),u=c,d=o===`value`?u:Tn(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,Pt(C.uponSanitizeAttribute,e,n),d=n.attrValue,E&&(l===`id`||l===`name`)&&wn(d,Ue)!==0&&(wt(o,e),d=Ue+d),Ne&&Mn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){wt(o,e);continue}if(l===`attributename`&&Sn(d,`href`)){wt(o,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){wt(o,e);continue}if(!je&&Mn(dr,d)){wt(o,e);continue}if(Me&&(d=At(d)),!Rt(i,l,d)){wt(o,e);continue}d=Vt(i,l,s,d),d!==u&&Ht(e,o,s,d)}}Pt(C.afterSanitizeAttributes,e,null)},Wt=function(e){let t=null,n=kt(e);for(Pt(C.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Pt(C.uponSanitizeShadowNode,t,null),Lt(t,e),Ut(t),Nt(t.content)&&Wt(t.content),(y?y(t):t.nodeType)===fr.element){let e=_(t);Nt(e)&&(Gt(e),Wt(e))}Pt(C.afterSanitizeShadowDOM,e,null)},Gt=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Wt(e.shadow);continue}let n=e.node,r=(y?y(n):n.nodeType)===fr.element,i=h(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=b?b(n):null;if(typeof e==`string`&&O(e)===`template`){let e=n.content;Nt(e)&&t.push({node:e,shadow:null})}}if(r){let e=_(n);Nt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(rt=!e,rt&&(e=`<!-->`),typeof e!=`string`&&!k(e)&&(e=Rn(e),typeof e!=`string`))throw Nn(`dirty is not a string, aborting`);if(!t.isSupported)return e;Fe?(w=Ie,Ce=Le):ht(n),(C.uponSanitizeElement.length>0||C.uponSanitizeAttribute.length>0)&&(w=Ln(w)),C.uponSanitizeAttribute.length>0&&(Ce=Ln(Ce)),t.removed=[];let c=Ge&&typeof e!=`string`&&k(e);if(c){Dt(e);let t=b?b(e):e.nodeName;if(typeof t==`string`){let n=O(t);if(!w[n]||Te[n])throw Ct(e),Nn(`root node is forbidden and cannot be sanitized in-place`)}if(Mt(e))throw Ct(e),Nn(`root node is clobbered and cannot be sanitized in-place`);try{Gt(e)}catch(t){throw Ct(e),t}}else if(k(e))i=Ot(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===fr.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Gt(a);else{if(!ze&&!Me&&!Pe&&e.indexOf(`<`)===-1)return x&&Ve?ie(e):e;if(i=Ot(e),!i)return ze?null:Ve?S:``}i&&Re&&St(i.firstChild);let l=c?e:i,u=kt(l);try{for(;o=u.nextNode();)Lt(o,l),Ut(o),Nt(o.content)&&Wt(o.content)}catch(n){throw c&&(Ct(e),mn(t.removed,e=>{e.element&&Et(e.element)})),n}if(c)return mn(t.removed,e=>{e.element&&Et(e.element)}),Me&&jt(e),e;if(ze){if(Me&&jt(i),Be)for(s=ue.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(Ce.shadowroot||Ce.shadowrootmode)&&(s=fe.call(r,s,!0)),s}let d=Pe?i.outerHTML:i.innerHTML;return Pe&&w[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&Mn(or,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
3
+ `+d),Me&&(d=At(d)),x&&Ve?ie(d):d},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ht(e),Fe=!0,Ie=w,Le=Ce},t.clearConfig=function(){ft=null,Fe=!1,Ie=null,Le=null,x=ee,S=``},t.isValidAttribute=function(e,t,n){ft||ht({});let r=O(e),i=O(t);return Rt(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&An(C,e)&&_n(C[e],t)},t.removeHook=function(e,t){if(An(C,e)){if(t!==void 0){let n=hn(C[e],t);return n===-1?void 0:vn(C[e],n,1)[0]}return gn(C[e])}},t.removeHooks=function(e){An(C,e)&&(C[e]=[])},t.removeAllHooks=function(){C=hr()},t}var vr=_r(),yr=0;function br(e){let t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode(e){let t=e.parentElement;return!e.textContent||t?.closest(`script, style, noscript, [hidden], [aria-hidden="true"]`)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),n=[],r=``,i;for(;i=t.nextNode();){let e=i.textContent??``,t=r.length;r+=e,n.push({node:i,start:t,end:r.length})}return{text:r,nodes:n}}function xr(e,t){let n=t.find(t=>t.end>e.start),r=t.findLast(t=>t.start<e.end);if(!n||!r)return null;let i=document.createRange();return i.setStart(n.node,e.start-n.start),i.setEnd(r.node,e.end-r.start),i}var Sr=class{root;matchName=`puddle-find-${++yr}-match`;activeName=`puddle-find-${yr}-active`;style;signature=``;ranges=[];index=-1;limited=!1;constructor(e){this.root=e,this.style=document.createElement(`style`),this.style.textContent=`
4
4
  ::highlight(${this.matchName}) { background: var(--selection); }
5
5
  ::highlight(${this.activeName}) { background: var(--accent); color: var(--action-ink); }
6
- `,document.head.appendChild(this.style)}find(e,t,n){let r=JSON.stringify([e,t]);if(r!==this.signature||n===`reset`){this.signature=r;let n=br(this.root),i=se(n.text,e,t);if(this.ranges=i.matches.map(e=>xr(e,n.nodes)).filter(e=>e!==null),this.limited=i.limited,this.index=this.ranges.length>0?0:-1,i.invalid)return this.clearHighlights(),{index:-1,count:0,invalid:!0}}else this.ranges.length>0&&(this.index=n===`previous`?(this.index-1+this.ranges.length)%this.ranges.length:(this.index+1)%this.ranges.length);return this.paint(),{index:this.index,count:this.ranges.length,limited:this.limited}}clear(){this.signature=``,this.ranges=[],this.index=-1,this.limited=!1,this.clearHighlights()}dispose(){this.clear(),this.style.remove()}clearHighlights(){CSS.highlights.delete(this.matchName),CSS.highlights.delete(this.activeName)}paint(){if(this.clearHighlights(),this.ranges.length===0)return;CSS.highlights.set(this.matchName,new Highlight(...this.ranges));let e=this.ranges[this.index];e&&(CSS.highlights.set(this.activeName,new Highlight(e)),e.startContainer.parentElement?.scrollIntoView({block:`center`,inline:`nearest`}))}};function Cr(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var wr=Cr();function Tr(e){wr=e}var Er={exec:()=>null};function Dr(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),i=t[r];return i||(i=e(r),t[r]=i),i}}function j(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(kr.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var Or=((e=``)=>{try{return!!RegExp(`(?<=1)(?<!1)`+e)}catch{return!1}})(),kr={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Dr(e=>RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Dr(e=>RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:Dr(e=>RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),headingBeginRegex:Dr(e=>RegExp(`^ {0,${e}}#`)),htmlBeginRegex:Dr(e=>RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`,`i`)),blockquoteBeginRegex:Dr(e=>RegExp(`^ {0,${e}}>`))},Ar=/^(?:[ \t]*(?:\n|$))+/,jr=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Mr=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Nr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Pr=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Fr=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Ir=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Lr=j(Ir).replace(/bull/g,Fr).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),Rr=j(Ir).replace(/bull/g,Fr).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),zr=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,Br=/^[^\n]+/,Vr=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Hr=j(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,Vr).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ur=j(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,Fr).getRegex(),Wr=`address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,Gr=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Kr=j(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,Gr).replace(`tag`,Wr).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),qr=e=>j(zr).replace(`hr`,Nr).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace(`list`,e).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,Wr).getRegex(),Jr=qr(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),Yr=qr(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),Xr={blockquote:j(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,Yr).getRegex(),code:jr,def:Hr,fences:Mr,heading:Pr,hr:Nr,html:Kr,lheading:Lr,list:Ur,newline:Ar,paragraph:Jr,table:Er,text:Br},Zr=j(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,Nr).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,Wr).getRegex(),Qr={...Xr,lheading:Rr,table:Zr,paragraph:j(zr).replace(`hr`,Nr).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,Zr).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,Wr).getRegex()},$r={...Xr,html:j(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,Gr).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Er,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:j(zr).replace(`hr`,Nr).replace(`heading`,` *#{1,6} *[^
6
+ `,document.head.appendChild(this.style)}find(e,t,n){let r=JSON.stringify([e,t]);if(r!==this.signature||n===`reset`){this.signature=r;let n=br(this.root),i=ce(n.text,e,t);if(this.ranges=i.matches.map(e=>xr(e,n.nodes)).filter(e=>e!==null),this.limited=i.limited,this.index=this.ranges.length>0?0:-1,i.invalid)return this.clearHighlights(),{index:-1,count:0,invalid:!0}}else this.ranges.length>0&&(this.index=n===`previous`?(this.index-1+this.ranges.length)%this.ranges.length:(this.index+1)%this.ranges.length);return this.paint(),{index:this.index,count:this.ranges.length,limited:this.limited}}clear(){this.signature=``,this.ranges=[],this.index=-1,this.limited=!1,this.clearHighlights()}dispose(){this.clear(),this.style.remove()}clearHighlights(){CSS.highlights.delete(this.matchName),CSS.highlights.delete(this.activeName)}paint(){if(this.clearHighlights(),this.ranges.length===0)return;CSS.highlights.set(this.matchName,new Highlight(...this.ranges));let e=this.ranges[this.index];e&&(CSS.highlights.set(this.activeName,new Highlight(e)),e.startContainer.parentElement?.scrollIntoView({block:`center`,inline:`nearest`}))}};function Cr(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var wr=Cr();function Tr(e){wr=e}var Er={exec:()=>null};function Dr(e){let t=[];return n=>{let r=Math.max(0,Math.min(3,n-1)),i=t[r];return i||(i=e(r),t[r]=i),i}}function j(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(kr.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var Or=((e=``)=>{try{return!!RegExp(`(?<=1)(?<!1)`+e)}catch{return!1}})(),kr={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:Dr(e=>RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),hrRegex:Dr(e=>RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),fencesBeginRegex:Dr(e=>RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),headingBeginRegex:Dr(e=>RegExp(`^ {0,${e}}#`)),htmlBeginRegex:Dr(e=>RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`,`i`)),blockquoteBeginRegex:Dr(e=>RegExp(`^ {0,${e}}>`))},Ar=/^(?:[ \t]*(?:\n|$))+/,jr=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Mr=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Nr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Pr=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Fr=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Ir=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,Lr=j(Ir).replace(/bull/g,Fr).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),Rr=j(Ir).replace(/bull/g,Fr).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}(?:\s|$)/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),zr=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \t]+\n)[^\n]+)*)/,Br=/^[^\n]+/,Vr=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Hr=j(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,Vr).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Ur=j(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g,Fr).getRegex(),Wr=`address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,Gr=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Kr=j(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n*|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n*|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,Gr).replace(`tag`,Wr).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),qr=e=>j(zr).replace(`hr`,Nr).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace(`list`,e).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,Wr).getRegex(),Jr=qr(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/),Yr=qr(/ {0,3}(?:[*+-]|\d{1,9}[.)])(?:[ \t]|\n|$)/),Xr={blockquote:j(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,Yr).getRegex(),code:jr,def:Hr,fences:Mr,heading:Pr,hr:Nr,html:Kr,lheading:Lr,list:Ur,newline:Ar,paragraph:Jr,table:Er,text:Br},Zr=j(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,Nr).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,Wr).getRegex(),Qr={...Xr,lheading:Rr,table:Zr,paragraph:j(zr).replace(`hr`,Nr).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,Zr).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~~~)[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]`).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,Wr).getRegex()},$r={...Xr,html:j(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,Gr).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Er,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:j(zr).replace(`hr`,Nr).replace(`heading`,` *#{1,6} *[^
7
7
  ]`).replace(`lheading`,Lr).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},ei=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ti=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,ni=/^( {2,}|\\)\n(?!\s*$)/,ri=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,ii=/[\p{P}\p{S}]/u,ai=/[\s\p{P}\p{S}]/u,oi=/[^\s\p{P}\p{S}]/u,si=j(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,ai).getRegex(),ci=/(?!~)[\p{P}\p{S}]/u,li=/(?!~)[\s\p{P}\p{S}]/u,ui=/(?:[^\s\p{P}\p{S}]|~)/u,di=j(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,Or?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),fi=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,pi=j(fi,`u`).replace(/punct/g,ii).getRegex(),mi=j(fi,`u`).replace(/punct/g,ci).getRegex(),hi=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,gi=j(hi,`gu`).replace(/notPunctSpace/g,oi).replace(/punctSpace/g,ai).replace(/punct/g,ii).getRegex(),_i=j(hi,`gu`).replace(/notPunctSpace/g,ui).replace(/punctSpace/g,li).replace(/punct/g,ci).getRegex(),vi=j(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,oi).replace(/punctSpace/g,ai).replace(/punct/g,ii).getRegex(),yi=j(/^~~?(?:((?!~)punct)|[^\s~])/,`u`).replace(/punct/g,ii).getRegex(),bi=j(`^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)`,`gu`).replace(/notPunctSpace/g,oi).replace(/punctSpace/g,ai).replace(/punct/g,ii).getRegex(),xi=j(/\\(punct)/,`gu`).replace(/punct/g,ii).getRegex(),Si=j(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ci=j(Gr).replace(`(?:-->|$)`,`-->`).getRegex(),wi=j(`^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,Ci).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ti=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,Ei=j(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace(`label`,Ti).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Di=j(/^!?\[(label)\]\[(ref)\]/).replace(`label`,Ti).replace(`ref`,Vr).getRegex(),Oi=j(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,Vr).getRegex(),ki=j(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,Di).replace(`nolink`,Oi).getRegex(),Ai=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ji={_backpedal:Er,anyPunctuation:xi,autolink:Si,blockSkip:di,br:ni,code:ti,del:Er,delLDelim:Er,delRDelim:Er,emStrongLDelim:pi,emStrongRDelimAst:gi,emStrongRDelimUnd:vi,escape:ei,link:Ei,nolink:Oi,punctuation:si,reflink:Di,reflinkSearch:ki,tag:wi,text:ri,url:Er},Mi={...ji,link:j(/^!?\[(label)\]\((.*?)\)/).replace(`label`,Ti).getRegex(),reflink:j(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,Ti).getRegex()},Ni={...ji,emStrongRDelimAst:_i,emStrongLDelim:mi,delLDelim:yi,delRDelim:bi,url:j(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`protocol`,Ai).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:j(/^(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace(`protocol`,Ai).getRegex()},Pi={...Ni,br:j(ni).replace(`{2,}`,`*`).getRegex(),text:j(Ni.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},Fi={normal:Xr,gfm:Qr,pedantic:$r},Ii={normal:ji,gfm:Ni,breaks:Pi,pedantic:Mi},Li={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`,"'":`&#39;`},Ri=e=>Li[e];function zi(e,t){if(t){if(kr.escapeTest.test(e))return e.replace(kr.escapeReplace,Ri)}else if(kr.escapeTestNoEncode.test(e))return e.replace(kr.escapeReplaceNoEncode,Ri);return e}function Bi(e){try{e=encodeURI(e).replace(kr.percentDecode,`%`)}catch{return null}return e}function Vi(e,t){let n=e.replace(kr.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(kr.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``);for(;r<n.length;r++)n[r]=n[r].trim().replace(kr.slashPipe,`|`);return n}function Hi(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function Ui(e){let t=e.split(`
8
8
  `),n=t.length-1;for(;n>=0&&kr.blankLine.test(t[n]);)n--;return t.length-n<=2?e:t.slice(0,n+1).join(`
9
9
  `)}function Wi(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]===`\\`)r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function Gi(e,t=0){let n=t,r=``;for(let t of e)if(t===` `){let e=4-n%4;r+=` `.repeat(e),n+=e}else r+=t,n++;return r}function Ki(e,t,n,r,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,`$1`);r.state.inLink=!0;let c={type:e[0].charAt(0)===`!`?`image`:`link`,raw:n,href:a,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,c}function qi(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
@@ -316,8 +316,8 @@ 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
316
316
  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
317
317
  c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
318
318
  l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
319
- -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw Error(`Unknown stretchy delimiter.`)}};function Ya(e){return`toText`in e}var Xa=class{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(Ya(e))return e.toText();throw Error(`Expected MathDomNode with toText, got `+e.constructor.name)}).join(``)}},Za={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},Qa={ex:!0,em:!0,mu:!0},$a=function(e){return typeof e!=`string`&&(e=e.unit),e in Za||e in Qa||e===`ex`},eo=function(e,t){var n;if(e.unit in Za)n=Za[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit===`mu`)n=t.fontMetrics().cssEmPerMu;else{var r=t.style.isTight()?t.havingStyle(t.style.text()):t;if(e.unit===`ex`)n=r.fontMetrics().xHeight;else if(e.unit===`em`)n=r.fontMetrics().quad;else throw new N(`Invalid unit: '`+e.unit+`'`);r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},F=function(e){return+e.toFixed(4)+`em`},to=function(e){return e.filter(e=>e).join(` `)},no=function(e){var t=``;for(var n of Object.keys(e)){var r=e[n];r!==void 0&&(t+=ra(n)+`:`+r+`;`)}return t},ro=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push(`mtight`);var r=t.getColor();r&&(this.style.color=r)}},io=function(e){var t=document.createElement(e);t.className=to(this.classes),Object.assign(t.style,this.style);for(var n of Object.keys(this.attributes))t.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},ao=/[\s"'>/=\x00-\x1f]/,oo=function(e){var t=`<`+e;this.classes.length&&(t+=` class="`+oa(to(this.classes))+`"`);var n=no(this.style);n&&(t+=` style="`+oa(n)+`"`);for(var r of Object.keys(this.attributes)){if(ao.test(r))throw new N(`Invalid attribute name '`+r+`'`);t+=` `+r+`="`+oa(this.attributes[r])+`"`}t+=`>`;for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+=`</`+e+`>`,t},so=class{constructor(e,t,n,r){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,ro.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return io.call(this,`span`)}toMarkup(){return oo.call(this,`span`)}},co=class{constructor(e,t,n,r){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,ro.call(this,t,r),this.children=n||[],this.setAttribute(`href`,e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return io.call(this,`a`)}toMarkup(){return oo.call(this,`a`)}},lo=class{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=[`mord`],this.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement(`img`);return e.src=this.src,e.alt=this.alt,e.className=`mord`,Object.assign(e.style,this.style),e}toMarkup(){var e=`<img src="`+oa(this.src)+`"`+(` alt="`+oa(this.alt)+`"`),t=no(this.style);return t&&(e+=` style="`+oa(t)+`"`),e+=`'/>`,e}},uo={î:`ı̂`,ï:`ı̈`,í:`ı́`,ì:`ı̀`},fo=class{constructor(e,t,n,r,i,a,o,s){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=n||0,this.italic=r||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var c=Na(this.text.charCodeAt(0));c&&this.classes.push(c+`_fallback`),/[îïíì]/.test(this.text)&&(this.text=uo[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=F(this.italic)),this.classes.length>0&&(t||=document.createElement(`span`),t.className=to(this.classes)),Object.keys(this.style).length>0&&(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+=oa(to(this.classes)),t+=`"`);var n=``;this.italic>0&&(n+=`margin-right:`+F(this.italic)+`;`),n+=no(this.style),n&&(e=!0,t+=` style="`+oa(n)+`"`);var r=oa(this.text);return e?(t+=`>`,t+=r,t+=`</span>`,t):r}},po=class{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){var e=`<svg xmlns="http://www.w3.org/2000/svg"`;for(var t of Object.keys(this.attributes))e+=` `+t+`="`+oa(this.attributes[t])+`"`;e+=`>`;for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+=`</svg>`,e}},mo=class{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return this.alternate?e.setAttribute(`d`,this.alternate):e.setAttribute(`d`,qa[this.pathName]),e}toMarkup(){return this.alternate?`<path d="`+oa(this.alternate)+`"/>`:`<path d="`+oa(qa[this.pathName])+`"/>`}},ho=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`line`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e=`<line`;for(var t of Object.keys(this.attributes))e+=` `+t+`="`+oa(this.attributes[t])+`"`;return e+=`/>`,e}};function go(e){if(e instanceof fo)return e;throw Error(`Expected symbolNode but got `+String(e)+`.`)}function _o(e){if(e instanceof so)return e;throw Error(`Expected span<HtmlDomNode> but got `+String(e)+`.`)}var vo=e=>e instanceof so||e instanceof co||e instanceof Xa,yo={"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]}},bo={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]},xo={Å:`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 So(e,t){yo[e]=t}function Co(e,t,n){if(!yo[t])throw Error(`Font metrics not found for font: `+t+`.`);var r=e.charCodeAt(0),i=yo[t][r];if(!i&&e[0]in xo&&(r=xo[e[0]].charCodeAt(0),i=yo[t][r]),!i&&n===`text`&&Fa(r)&&(i=yo[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var wo={};function To(e){var t=e>=5?0:e>=3?1:2;if(!wo[t]){var n=wo[t]={cssEmPerMu:bo.quad[t]/18};for(var r of Object.keys(bo))n[r]=bo[r][t]}return wo[t]}var Eo={math:{},text:{}};function I(e,t,n,r,i,a){Eo[e][i]={font:t,group:n,replace:r},a&&r&&(Eo[e][r]=Eo[e][i])}var L=`math`,R=`text`,z=`main`,B=`ams`,Do=`accent-token`,V=`bin`,Oo=`close`,ko=`inner`,H=`mathord`,Ao=`op-token`,jo=`open`,Mo=`punct`,U=`rel`,No=`spacing`,W=`textord`;I(L,z,U,`≡`,`\\equiv`,!0),I(L,z,U,`≺`,`\\prec`,!0),I(L,z,U,`≻`,`\\succ`,!0),I(L,z,U,`∼`,`\\sim`,!0),I(L,z,U,`⊥`,`\\perp`),I(L,z,U,`⪯`,`\\preceq`,!0),I(L,z,U,`⪰`,`\\succeq`,!0),I(L,z,U,`≃`,`\\simeq`,!0),I(L,z,U,`∣`,`\\mid`,!0),I(L,z,U,`≪`,`\\ll`,!0),I(L,z,U,`≫`,`\\gg`,!0),I(L,z,U,`≍`,`\\asymp`,!0),I(L,z,U,`∥`,`\\parallel`),I(L,z,U,`⋈`,`\\bowtie`,!0),I(L,z,U,`⌣`,`\\smile`,!0),I(L,z,U,`⊑`,`\\sqsubseteq`,!0),I(L,z,U,`⊒`,`\\sqsupseteq`,!0),I(L,z,U,`≐`,`\\doteq`,!0),I(L,z,U,`⌢`,`\\frown`,!0),I(L,z,U,`∋`,`\\ni`,!0),I(L,z,U,`∝`,`\\propto`,!0),I(L,z,U,`⊢`,`\\vdash`,!0),I(L,z,U,`⊣`,`\\dashv`,!0),I(L,z,U,`∋`,`\\owns`),I(L,z,Mo,`.`,`\\ldotp`),I(L,z,Mo,`⋅`,`\\cdotp`),I(L,z,Mo,`⋅`,`·`),I(R,z,W,`⋅`,`·`),I(L,z,W,`#`,`\\#`),I(R,z,W,`#`,`\\#`),I(L,z,W,`&`,`\\&`),I(R,z,W,`&`,`\\&`),I(L,z,W,`ℵ`,`\\aleph`,!0),I(L,z,W,`∀`,`\\forall`,!0),I(L,z,W,`ℏ`,`\\hbar`,!0),I(L,z,W,`∃`,`\\exists`,!0),I(L,z,W,`∇`,`\\nabla`,!0),I(L,z,W,`♭`,`\\flat`,!0),I(L,z,W,`ℓ`,`\\ell`,!0),I(L,z,W,`♮`,`\\natural`,!0),I(L,z,W,`♣`,`\\clubsuit`,!0),I(L,z,W,`℘`,`\\wp`,!0),I(L,z,W,`♯`,`\\sharp`,!0),I(L,z,W,`♢`,`\\diamondsuit`,!0),I(L,z,W,`ℜ`,`\\Re`,!0),I(L,z,W,`♡`,`\\heartsuit`,!0),I(L,z,W,`ℑ`,`\\Im`,!0),I(L,z,W,`♠`,`\\spadesuit`,!0),I(L,z,W,`§`,`\\S`,!0),I(R,z,W,`§`,`\\S`),I(L,z,W,`¶`,`\\P`,!0),I(R,z,W,`¶`,`\\P`),I(L,z,W,`†`,`\\dag`),I(R,z,W,`†`,`\\dag`),I(R,z,W,`†`,`\\textdagger`),I(L,z,W,`‡`,`\\ddag`),I(R,z,W,`‡`,`\\ddag`),I(R,z,W,`‡`,`\\textdaggerdbl`),I(L,z,Oo,`⎱`,`\\rmoustache`,!0),I(L,z,jo,`⎰`,`\\lmoustache`,!0),I(L,z,Oo,`⟯`,`\\rgroup`,!0),I(L,z,jo,`⟮`,`\\lgroup`,!0),I(L,z,V,`∓`,`\\mp`,!0),I(L,z,V,`⊖`,`\\ominus`,!0),I(L,z,V,`⊎`,`\\uplus`,!0),I(L,z,V,`⊓`,`\\sqcap`,!0),I(L,z,V,`∗`,`\\ast`),I(L,z,V,`⊔`,`\\sqcup`,!0),I(L,z,V,`◯`,`\\bigcirc`,!0),I(L,z,V,`∙`,`\\bullet`,!0),I(L,z,V,`‡`,`\\ddagger`),I(L,z,V,`≀`,`\\wr`,!0),I(L,z,V,`⨿`,`\\amalg`),I(L,z,V,`&`,`\\And`),I(L,z,U,`⟵`,`\\longleftarrow`,!0),I(L,z,U,`⇐`,`\\Leftarrow`,!0),I(L,z,U,`⟸`,`\\Longleftarrow`,!0),I(L,z,U,`⟶`,`\\longrightarrow`,!0),I(L,z,U,`⇒`,`\\Rightarrow`,!0),I(L,z,U,`⟹`,`\\Longrightarrow`,!0),I(L,z,U,`↔`,`\\leftrightarrow`,!0),I(L,z,U,`⟷`,`\\longleftrightarrow`,!0),I(L,z,U,`⇔`,`\\Leftrightarrow`,!0),I(L,z,U,`⟺`,`\\Longleftrightarrow`,!0),I(L,z,U,`↦`,`\\mapsto`,!0),I(L,z,U,`⟼`,`\\longmapsto`,!0),I(L,z,U,`↗`,`\\nearrow`,!0),I(L,z,U,`↩`,`\\hookleftarrow`,!0),I(L,z,U,`↪`,`\\hookrightarrow`,!0),I(L,z,U,`↘`,`\\searrow`,!0),I(L,z,U,`↼`,`\\leftharpoonup`,!0),I(L,z,U,`⇀`,`\\rightharpoonup`,!0),I(L,z,U,`↙`,`\\swarrow`,!0),I(L,z,U,`↽`,`\\leftharpoondown`,!0),I(L,z,U,`⇁`,`\\rightharpoondown`,!0),I(L,z,U,`↖`,`\\nwarrow`,!0),I(L,z,U,`⇌`,`\\rightleftharpoons`,!0),I(L,B,U,`≮`,`\\nless`,!0),I(L,B,U,``,`\\@nleqslant`),I(L,B,U,``,`\\@nleqq`),I(L,B,U,`⪇`,`\\lneq`,!0),I(L,B,U,`≨`,`\\lneqq`,!0),I(L,B,U,``,`\\@lvertneqq`),I(L,B,U,`⋦`,`\\lnsim`,!0),I(L,B,U,`⪉`,`\\lnapprox`,!0),I(L,B,U,`⊀`,`\\nprec`,!0),I(L,B,U,`⋠`,`\\npreceq`,!0),I(L,B,U,`⋨`,`\\precnsim`,!0),I(L,B,U,`⪹`,`\\precnapprox`,!0),I(L,B,U,`≁`,`\\nsim`,!0),I(L,B,U,``,`\\@nshortmid`),I(L,B,U,`∤`,`\\nmid`,!0),I(L,B,U,`⊬`,`\\nvdash`,!0),I(L,B,U,`⊭`,`\\nvDash`,!0),I(L,B,U,`⋪`,`\\ntriangleleft`),I(L,B,U,`⋬`,`\\ntrianglelefteq`,!0),I(L,B,U,`⊊`,`\\subsetneq`,!0),I(L,B,U,``,`\\@varsubsetneq`),I(L,B,U,`⫋`,`\\subsetneqq`,!0),I(L,B,U,``,`\\@varsubsetneqq`),I(L,B,U,`≯`,`\\ngtr`,!0),I(L,B,U,``,`\\@ngeqslant`),I(L,B,U,``,`\\@ngeqq`),I(L,B,U,`⪈`,`\\gneq`,!0),I(L,B,U,`≩`,`\\gneqq`,!0),I(L,B,U,``,`\\@gvertneqq`),I(L,B,U,`⋧`,`\\gnsim`,!0),I(L,B,U,`⪊`,`\\gnapprox`,!0),I(L,B,U,`⊁`,`\\nsucc`,!0),I(L,B,U,`⋡`,`\\nsucceq`,!0),I(L,B,U,`⋩`,`\\succnsim`,!0),I(L,B,U,`⪺`,`\\succnapprox`,!0),I(L,B,U,`≆`,`\\ncong`,!0),I(L,B,U,``,`\\@nshortparallel`),I(L,B,U,`∦`,`\\nparallel`,!0),I(L,B,U,`⊯`,`\\nVDash`,!0),I(L,B,U,`⋫`,`\\ntriangleright`),I(L,B,U,`⋭`,`\\ntrianglerighteq`,!0),I(L,B,U,``,`\\@nsupseteqq`),I(L,B,U,`⊋`,`\\supsetneq`,!0),I(L,B,U,``,`\\@varsupsetneq`),I(L,B,U,`⫌`,`\\supsetneqq`,!0),I(L,B,U,``,`\\@varsupsetneqq`),I(L,B,U,`⊮`,`\\nVdash`,!0),I(L,B,U,`⪵`,`\\precneqq`,!0),I(L,B,U,`⪶`,`\\succneqq`,!0),I(L,B,U,``,`\\@nsubseteqq`),I(L,B,V,`⊴`,`\\unlhd`),I(L,B,V,`⊵`,`\\unrhd`),I(L,B,U,`↚`,`\\nleftarrow`,!0),I(L,B,U,`↛`,`\\nrightarrow`,!0),I(L,B,U,`⇍`,`\\nLeftarrow`,!0),I(L,B,U,`⇏`,`\\nRightarrow`,!0),I(L,B,U,`↮`,`\\nleftrightarrow`,!0),I(L,B,U,`⇎`,`\\nLeftrightarrow`,!0),I(L,B,U,`△`,`\\vartriangle`),I(L,B,W,`ℏ`,`\\hslash`),I(L,B,W,`▽`,`\\triangledown`),I(L,B,W,`◊`,`\\lozenge`),I(L,B,W,`Ⓢ`,`\\circledS`),I(L,B,W,`®`,`\\circledR`),I(R,B,W,`®`,`\\circledR`),I(L,B,W,`∡`,`\\measuredangle`,!0),I(L,B,W,`∄`,`\\nexists`),I(L,B,W,`℧`,`\\mho`),I(L,B,W,`Ⅎ`,`\\Finv`,!0),I(L,B,W,`⅁`,`\\Game`,!0),I(L,B,W,`‵`,`\\backprime`),I(L,B,W,`▲`,`\\blacktriangle`),I(L,B,W,`▼`,`\\blacktriangledown`),I(L,B,W,`■`,`\\blacksquare`),I(L,B,W,`⧫`,`\\blacklozenge`),I(L,B,W,`★`,`\\bigstar`),I(L,B,W,`∢`,`\\sphericalangle`,!0),I(L,B,W,`∁`,`\\complement`,!0),I(L,B,W,`ð`,`\\eth`,!0),I(R,z,W,`ð`,`ð`),I(L,B,W,`╱`,`\\diagup`),I(L,B,W,`╲`,`\\diagdown`),I(L,B,W,`□`,`\\square`),I(L,B,W,`□`,`\\Box`),I(L,B,W,`◊`,`\\Diamond`),I(L,B,W,`¥`,`\\yen`,!0),I(R,B,W,`¥`,`\\yen`,!0),I(L,B,W,`✓`,`\\checkmark`,!0),I(R,B,W,`✓`,`\\checkmark`),I(L,B,W,`ℶ`,`\\beth`,!0),I(L,B,W,`ℸ`,`\\daleth`,!0),I(L,B,W,`ℷ`,`\\gimel`,!0),I(L,B,W,`ϝ`,`\\digamma`,!0),I(L,B,W,`ϰ`,`\\varkappa`),I(L,B,jo,`┌`,`\\@ulcorner`,!0),I(L,B,Oo,`┐`,`\\@urcorner`,!0),I(L,B,jo,`└`,`\\@llcorner`,!0),I(L,B,Oo,`┘`,`\\@lrcorner`,!0),I(L,B,U,`≦`,`\\leqq`,!0),I(L,B,U,`⩽`,`\\leqslant`,!0),I(L,B,U,`⪕`,`\\eqslantless`,!0),I(L,B,U,`≲`,`\\lesssim`,!0),I(L,B,U,`⪅`,`\\lessapprox`,!0),I(L,B,U,`≊`,`\\approxeq`,!0),I(L,B,V,`⋖`,`\\lessdot`),I(L,B,U,`⋘`,`\\lll`,!0),I(L,B,U,`≶`,`\\lessgtr`,!0),I(L,B,U,`⋚`,`\\lesseqgtr`,!0),I(L,B,U,`⪋`,`\\lesseqqgtr`,!0),I(L,B,U,`≑`,`\\doteqdot`),I(L,B,U,`≓`,`\\risingdotseq`,!0),I(L,B,U,`≒`,`\\fallingdotseq`,!0),I(L,B,U,`∽`,`\\backsim`,!0),I(L,B,U,`⋍`,`\\backsimeq`,!0),I(L,B,U,`⫅`,`\\subseteqq`,!0),I(L,B,U,`⋐`,`\\Subset`,!0),I(L,B,U,`⊏`,`\\sqsubset`,!0),I(L,B,U,`≼`,`\\preccurlyeq`,!0),I(L,B,U,`⋞`,`\\curlyeqprec`,!0),I(L,B,U,`≾`,`\\precsim`,!0),I(L,B,U,`⪷`,`\\precapprox`,!0),I(L,B,U,`⊲`,`\\vartriangleleft`),I(L,B,U,`⊴`,`\\trianglelefteq`),I(L,B,U,`⊨`,`\\vDash`,!0),I(L,B,U,`⊪`,`\\Vvdash`,!0),I(L,B,U,`⌣`,`\\smallsmile`),I(L,B,U,`⌢`,`\\smallfrown`),I(L,B,U,`≏`,`\\bumpeq`,!0),I(L,B,U,`≎`,`\\Bumpeq`,!0),I(L,B,U,`≧`,`\\geqq`,!0),I(L,B,U,`⩾`,`\\geqslant`,!0),I(L,B,U,`⪖`,`\\eqslantgtr`,!0),I(L,B,U,`≳`,`\\gtrsim`,!0),I(L,B,U,`⪆`,`\\gtrapprox`,!0),I(L,B,V,`⋗`,`\\gtrdot`),I(L,B,U,`⋙`,`\\ggg`,!0),I(L,B,U,`≷`,`\\gtrless`,!0),I(L,B,U,`⋛`,`\\gtreqless`,!0),I(L,B,U,`⪌`,`\\gtreqqless`,!0),I(L,B,U,`≖`,`\\eqcirc`,!0),I(L,B,U,`≗`,`\\circeq`,!0),I(L,B,U,`≜`,`\\triangleq`,!0),I(L,B,U,`∼`,`\\thicksim`),I(L,B,U,`≈`,`\\thickapprox`),I(L,B,U,`⫆`,`\\supseteqq`,!0),I(L,B,U,`⋑`,`\\Supset`,!0),I(L,B,U,`⊐`,`\\sqsupset`,!0),I(L,B,U,`≽`,`\\succcurlyeq`,!0),I(L,B,U,`⋟`,`\\curlyeqsucc`,!0),I(L,B,U,`≿`,`\\succsim`,!0),I(L,B,U,`⪸`,`\\succapprox`,!0),I(L,B,U,`⊳`,`\\vartriangleright`),I(L,B,U,`⊵`,`\\trianglerighteq`),I(L,B,U,`⊩`,`\\Vdash`,!0),I(L,B,U,`∣`,`\\shortmid`),I(L,B,U,`∥`,`\\shortparallel`),I(L,B,U,`≬`,`\\between`,!0),I(L,B,U,`⋔`,`\\pitchfork`,!0),I(L,B,U,`∝`,`\\varpropto`),I(L,B,U,`◀`,`\\blacktriangleleft`),I(L,B,U,`∴`,`\\therefore`,!0),I(L,B,U,`∍`,`\\backepsilon`),I(L,B,U,`▶`,`\\blacktriangleright`),I(L,B,U,`∵`,`\\because`,!0),I(L,B,U,`⋘`,`\\llless`),I(L,B,U,`⋙`,`\\gggtr`),I(L,B,V,`⊲`,`\\lhd`),I(L,B,V,`⊳`,`\\rhd`),I(L,B,U,`≂`,`\\eqsim`,!0),I(L,z,U,`⋈`,`\\Join`),I(L,B,U,`≑`,`\\Doteq`,!0),I(L,B,V,`∔`,`\\dotplus`,!0),I(L,B,V,`∖`,`\\smallsetminus`),I(L,B,V,`⋒`,`\\Cap`,!0),I(L,B,V,`⋓`,`\\Cup`,!0),I(L,B,V,`⩞`,`\\doublebarwedge`,!0),I(L,B,V,`⊟`,`\\boxminus`,!0),I(L,B,V,`⊞`,`\\boxplus`,!0),I(L,B,V,`⋇`,`\\divideontimes`,!0),I(L,B,V,`⋉`,`\\ltimes`,!0),I(L,B,V,`⋊`,`\\rtimes`,!0),I(L,B,V,`⋋`,`\\leftthreetimes`,!0),I(L,B,V,`⋌`,`\\rightthreetimes`,!0),I(L,B,V,`⋏`,`\\curlywedge`,!0),I(L,B,V,`⋎`,`\\curlyvee`,!0),I(L,B,V,`⊝`,`\\circleddash`,!0),I(L,B,V,`⊛`,`\\circledast`,!0),I(L,B,V,`⋅`,`\\centerdot`),I(L,B,V,`⊺`,`\\intercal`,!0),I(L,B,V,`⋒`,`\\doublecap`),I(L,B,V,`⋓`,`\\doublecup`),I(L,B,V,`⊠`,`\\boxtimes`,!0),I(L,B,U,`⇢`,`\\dashrightarrow`,!0),I(L,B,U,`⇠`,`\\dashleftarrow`,!0),I(L,B,U,`⇇`,`\\leftleftarrows`,!0),I(L,B,U,`⇆`,`\\leftrightarrows`,!0),I(L,B,U,`⇚`,`\\Lleftarrow`,!0),I(L,B,U,`↞`,`\\twoheadleftarrow`,!0),I(L,B,U,`↢`,`\\leftarrowtail`,!0),I(L,B,U,`↫`,`\\looparrowleft`,!0),I(L,B,U,`⇋`,`\\leftrightharpoons`,!0),I(L,B,U,`↶`,`\\curvearrowleft`,!0),I(L,B,U,`↺`,`\\circlearrowleft`,!0),I(L,B,U,`↰`,`\\Lsh`,!0),I(L,B,U,`⇈`,`\\upuparrows`,!0),I(L,B,U,`↿`,`\\upharpoonleft`,!0),I(L,B,U,`⇃`,`\\downharpoonleft`,!0),I(L,z,U,`⊶`,`\\origof`,!0),I(L,z,U,`⊷`,`\\imageof`,!0),I(L,B,U,`⊸`,`\\multimap`,!0),I(L,B,U,`↭`,`\\leftrightsquigarrow`,!0),I(L,B,U,`⇉`,`\\rightrightarrows`,!0),I(L,B,U,`⇄`,`\\rightleftarrows`,!0),I(L,B,U,`↠`,`\\twoheadrightarrow`,!0),I(L,B,U,`↣`,`\\rightarrowtail`,!0),I(L,B,U,`↬`,`\\looparrowright`,!0),I(L,B,U,`↷`,`\\curvearrowright`,!0),I(L,B,U,`↻`,`\\circlearrowright`,!0),I(L,B,U,`↱`,`\\Rsh`,!0),I(L,B,U,`⇊`,`\\downdownarrows`,!0),I(L,B,U,`↾`,`\\upharpoonright`,!0),I(L,B,U,`⇂`,`\\downharpoonright`,!0),I(L,B,U,`⇝`,`\\rightsquigarrow`,!0),I(L,B,U,`⇝`,`\\leadsto`),I(L,B,U,`⇛`,`\\Rrightarrow`,!0),I(L,B,U,`↾`,`\\restriction`),I(L,z,W,`‘`,"`"),I(L,z,W,`$`,`\\$`),I(R,z,W,`$`,`\\$`),I(R,z,W,`$`,`\\textdollar`),I(L,z,W,`%`,`\\%`),I(R,z,W,`%`,`\\%`),I(L,z,W,`_`,`\\_`),I(R,z,W,`_`,`\\_`),I(R,z,W,`_`,`\\textunderscore`),I(L,z,W,`∠`,`\\angle`,!0),I(L,z,W,`∞`,`\\infty`,!0),I(L,z,W,`′`,`\\prime`),I(L,z,W,`△`,`\\triangle`),I(L,z,W,`Γ`,`\\Gamma`,!0),I(L,z,W,`Δ`,`\\Delta`,!0),I(L,z,W,`Θ`,`\\Theta`,!0),I(L,z,W,`Λ`,`\\Lambda`,!0),I(L,z,W,`Ξ`,`\\Xi`,!0),I(L,z,W,`Π`,`\\Pi`,!0),I(L,z,W,`Σ`,`\\Sigma`,!0),I(L,z,W,`Υ`,`\\Upsilon`,!0),I(L,z,W,`Φ`,`\\Phi`,!0),I(L,z,W,`Ψ`,`\\Psi`,!0),I(L,z,W,`Ω`,`\\Omega`,!0),I(L,z,W,`A`,`Α`),I(L,z,W,`B`,`Β`),I(L,z,W,`E`,`Ε`),I(L,z,W,`Z`,`Ζ`),I(L,z,W,`H`,`Η`),I(L,z,W,`I`,`Ι`),I(L,z,W,`K`,`Κ`),I(L,z,W,`M`,`Μ`),I(L,z,W,`N`,`Ν`),I(L,z,W,`O`,`Ο`),I(L,z,W,`P`,`Ρ`),I(L,z,W,`T`,`Τ`),I(L,z,W,`X`,`Χ`),I(L,z,W,`¬`,`\\neg`,!0),I(L,z,W,`¬`,`\\lnot`),I(L,z,W,`⊤`,`\\top`),I(L,z,W,`⊥`,`\\bot`),I(L,z,W,`∅`,`\\emptyset`),I(L,B,W,`∅`,`\\varnothing`),I(L,z,H,`α`,`\\alpha`,!0),I(L,z,H,`β`,`\\beta`,!0),I(L,z,H,`γ`,`\\gamma`,!0),I(L,z,H,`δ`,`\\delta`,!0),I(L,z,H,`ϵ`,`\\epsilon`,!0),I(L,z,H,`ζ`,`\\zeta`,!0),I(L,z,H,`η`,`\\eta`,!0),I(L,z,H,`θ`,`\\theta`,!0),I(L,z,H,`ι`,`\\iota`,!0),I(L,z,H,`κ`,`\\kappa`,!0),I(L,z,H,`λ`,`\\lambda`,!0),I(L,z,H,`μ`,`\\mu`,!0),I(L,z,H,`ν`,`\\nu`,!0),I(L,z,H,`ξ`,`\\xi`,!0),I(L,z,H,`ο`,`\\omicron`,!0),I(L,z,H,`π`,`\\pi`,!0),I(L,z,H,`ρ`,`\\rho`,!0),I(L,z,H,`σ`,`\\sigma`,!0),I(L,z,H,`τ`,`\\tau`,!0),I(L,z,H,`υ`,`\\upsilon`,!0),I(L,z,H,`ϕ`,`\\phi`,!0),I(L,z,H,`χ`,`\\chi`,!0),I(L,z,H,`ψ`,`\\psi`,!0),I(L,z,H,`ω`,`\\omega`,!0),I(L,z,H,`ε`,`\\varepsilon`,!0),I(L,z,H,`ϑ`,`\\vartheta`,!0),I(L,z,H,`ϖ`,`\\varpi`,!0),I(L,z,H,`ϱ`,`\\varrho`,!0),I(L,z,H,`ς`,`\\varsigma`,!0),I(L,z,H,`φ`,`\\varphi`,!0),I(L,z,V,`∗`,`*`,!0),I(L,z,V,`+`,`+`),I(L,z,V,`−`,`-`,!0),I(L,z,V,`⋅`,`\\cdot`,!0),I(L,z,V,`∘`,`\\circ`,!0),I(L,z,V,`÷`,`\\div`,!0),I(L,z,V,`±`,`\\pm`,!0),I(L,z,V,`×`,`\\times`,!0),I(L,z,V,`∩`,`\\cap`,!0),I(L,z,V,`∪`,`\\cup`,!0),I(L,z,V,`∖`,`\\setminus`,!0),I(L,z,V,`∧`,`\\land`),I(L,z,V,`∨`,`\\lor`),I(L,z,V,`∧`,`\\wedge`,!0),I(L,z,V,`∨`,`\\vee`,!0),I(L,z,W,`√`,`\\surd`),I(L,z,jo,`⟨`,`\\langle`,!0),I(L,z,jo,`∣`,`\\lvert`),I(L,z,jo,`∥`,`\\lVert`),I(L,z,Oo,`?`,`?`),I(L,z,Oo,`!`,`!`),I(L,z,Oo,`⟩`,`\\rangle`,!0),I(L,z,Oo,`∣`,`\\rvert`),I(L,z,Oo,`∥`,`\\rVert`),I(L,z,U,`=`,`=`),I(L,z,U,`:`,`:`),I(L,z,U,`≈`,`\\approx`,!0),I(L,z,U,`≅`,`\\cong`,!0),I(L,z,U,`≥`,`\\ge`),I(L,z,U,`≥`,`\\geq`,!0),I(L,z,U,`←`,`\\gets`),I(L,z,U,`>`,`\\gt`,!0),I(L,z,U,`∈`,`\\in`,!0),I(L,z,U,``,`\\@not`),I(L,z,U,`⊂`,`\\subset`,!0),I(L,z,U,`⊃`,`\\supset`,!0),I(L,z,U,`⊆`,`\\subseteq`,!0),I(L,z,U,`⊇`,`\\supseteq`,!0),I(L,B,U,`⊈`,`\\nsubseteq`,!0),I(L,B,U,`⊉`,`\\nsupseteq`,!0),I(L,z,U,`⊨`,`\\models`),I(L,z,U,`←`,`\\leftarrow`,!0),I(L,z,U,`≤`,`\\le`),I(L,z,U,`≤`,`\\leq`,!0),I(L,z,U,`<`,`\\lt`,!0),I(L,z,U,`→`,`\\rightarrow`,!0),I(L,z,U,`→`,`\\to`),I(L,B,U,`≱`,`\\ngeq`,!0),I(L,B,U,`≰`,`\\nleq`,!0),I(L,z,No,`\xA0`,`\\ `),I(L,z,No,`\xA0`,`\\space`),I(L,z,No,`\xA0`,`\\nobreakspace`),I(R,z,No,`\xA0`,`\\ `),I(R,z,No,`\xA0`,` `),I(R,z,No,`\xA0`,`\\space`),I(R,z,No,`\xA0`,`\\nobreakspace`),I(L,z,No,``,`\\nobreak`),I(L,z,No,``,`\\allowbreak`),I(L,z,Mo,`,`,`,`),I(L,z,Mo,`;`,`;`),I(L,B,V,`⊼`,`\\barwedge`,!0),I(L,B,V,`⊻`,`\\veebar`,!0),I(L,z,V,`⊙`,`\\odot`,!0),I(L,z,V,`⊕`,`\\oplus`,!0),I(L,z,V,`⊗`,`\\otimes`,!0),I(L,z,W,`∂`,`\\partial`,!0),I(L,z,V,`⊘`,`\\oslash`,!0),I(L,B,V,`⊚`,`\\circledcirc`,!0),I(L,B,V,`⊡`,`\\boxdot`,!0),I(L,z,V,`△`,`\\bigtriangleup`),I(L,z,V,`▽`,`\\bigtriangledown`),I(L,z,V,`†`,`\\dagger`),I(L,z,V,`⋄`,`\\diamond`),I(L,z,V,`⋆`,`\\star`),I(L,z,V,`◃`,`\\triangleleft`),I(L,z,V,`▹`,`\\triangleright`),I(L,z,jo,`{`,`\\{`),I(R,z,W,`{`,`\\{`),I(R,z,W,`{`,`\\textbraceleft`),I(L,z,Oo,`}`,`\\}`),I(R,z,W,`}`,`\\}`),I(R,z,W,`}`,`\\textbraceright`),I(L,z,jo,`{`,`\\lbrace`),I(L,z,Oo,`}`,`\\rbrace`),I(L,z,jo,`[`,`\\lbrack`,!0),I(R,z,W,`[`,`\\lbrack`,!0),I(L,z,Oo,`]`,`\\rbrack`,!0),I(R,z,W,`]`,`\\rbrack`,!0),I(L,z,jo,`(`,`\\lparen`,!0),I(L,z,Oo,`)`,`\\rparen`,!0),I(R,z,W,`<`,`\\textless`,!0),I(R,z,W,`>`,`\\textgreater`,!0),I(L,z,jo,`⌊`,`\\lfloor`,!0),I(L,z,Oo,`⌋`,`\\rfloor`,!0),I(L,z,jo,`⌈`,`\\lceil`,!0),I(L,z,Oo,`⌉`,`\\rceil`,!0),I(L,z,W,`\\`,`\\backslash`),I(L,z,W,`∣`,`|`),I(L,z,W,`∣`,`\\vert`),I(R,z,W,`|`,`\\textbar`,!0),I(L,z,W,`∥`,`\\|`),I(L,z,W,`∥`,`\\Vert`),I(R,z,W,`∥`,`\\textbardbl`),I(R,z,W,`~`,`\\textasciitilde`),I(R,z,W,`\\`,`\\textbackslash`),I(R,z,W,`^`,`\\textasciicircum`),I(L,z,U,`↑`,`\\uparrow`,!0),I(L,z,U,`⇑`,`\\Uparrow`,!0),I(L,z,U,`↓`,`\\downarrow`,!0),I(L,z,U,`⇓`,`\\Downarrow`,!0),I(L,z,U,`↕`,`\\updownarrow`,!0),I(L,z,U,`⇕`,`\\Updownarrow`,!0),I(L,z,Ao,`∐`,`\\coprod`),I(L,z,Ao,`⋁`,`\\bigvee`),I(L,z,Ao,`⋀`,`\\bigwedge`),I(L,z,Ao,`⨄`,`\\biguplus`),I(L,z,Ao,`⋂`,`\\bigcap`),I(L,z,Ao,`⋃`,`\\bigcup`),I(L,z,Ao,`∫`,`\\int`),I(L,z,Ao,`∫`,`\\intop`),I(L,z,Ao,`∬`,`\\iint`),I(L,z,Ao,`∭`,`\\iiint`),I(L,z,Ao,`∏`,`\\prod`),I(L,z,Ao,`∑`,`\\sum`),I(L,z,Ao,`⨂`,`\\bigotimes`),I(L,z,Ao,`⨁`,`\\bigoplus`),I(L,z,Ao,`⨀`,`\\bigodot`),I(L,z,Ao,`∮`,`\\oint`),I(L,z,Ao,`∯`,`\\oiint`),I(L,z,Ao,`∰`,`\\oiiint`),I(L,z,Ao,`⨆`,`\\bigsqcup`),I(L,z,Ao,`∫`,`\\smallint`),I(R,z,ko,`…`,`\\textellipsis`),I(L,z,ko,`…`,`\\mathellipsis`),I(R,z,ko,`…`,`\\ldots`,!0),I(L,z,ko,`…`,`\\ldots`,!0),I(L,z,ko,`⋯`,`\\@cdots`,!0),I(L,z,ko,`⋱`,`\\ddots`,!0),I(L,z,W,`⋮`,`\\varvdots`),I(R,z,W,`⋮`,`\\varvdots`),I(L,z,Do,`ˊ`,`\\acute`),I(L,z,Do,`ˋ`,`\\grave`),I(L,z,Do,`¨`,`\\ddot`),I(L,z,Do,`~`,`\\tilde`),I(L,z,Do,`ˉ`,`\\bar`),I(L,z,Do,`˘`,`\\breve`),I(L,z,Do,`ˇ`,`\\check`),I(L,z,Do,`^`,`\\hat`),I(L,z,Do,`⃗`,`\\vec`),I(L,z,Do,`˙`,`\\dot`),I(L,z,Do,`˚`,`\\mathring`),I(L,z,H,``,`\\@imath`),I(L,z,H,``,`\\@jmath`),I(L,z,W,`ı`,`ı`),I(L,z,W,`ȷ`,`ȷ`),I(R,z,W,`ı`,`\\i`,!0),I(R,z,W,`ȷ`,`\\j`,!0),I(R,z,W,`ß`,`\\ss`,!0),I(R,z,W,`æ`,`\\ae`,!0),I(R,z,W,`œ`,`\\oe`,!0),I(R,z,W,`ø`,`\\o`,!0),I(R,z,W,`Æ`,`\\AE`,!0),I(R,z,W,`Œ`,`\\OE`,!0),I(R,z,W,`Ø`,`\\O`,!0),I(R,z,Do,`ˊ`,`\\'`),I(R,z,Do,`ˋ`,"\\`"),I(R,z,Do,`ˆ`,`\\^`),I(R,z,Do,`˜`,`\\~`),I(R,z,Do,`ˉ`,`\\=`),I(R,z,Do,`˘`,`\\u`),I(R,z,Do,`˙`,`\\.`),I(R,z,Do,`¸`,`\\c`),I(R,z,Do,`˚`,`\\r`),I(R,z,Do,`ˇ`,`\\v`),I(R,z,Do,`¨`,`\\"`),I(R,z,Do,`˝`,`\\H`),I(R,z,Do,`◯`,`\\textcircled`);var Po={"--":!0,"---":!0,"``":!0,"''":!0};I(R,z,W,`–`,`--`,!0),I(R,z,W,`–`,`\\textendash`),I(R,z,W,`—`,`---`,!0),I(R,z,W,`—`,`\\textemdash`),I(R,z,W,`‘`,"`",!0),I(R,z,W,`‘`,`\\textquoteleft`),I(R,z,W,`’`,`'`,!0),I(R,z,W,`’`,`\\textquoteright`),I(R,z,W,`“`,"``",!0),I(R,z,W,`“`,`\\textquotedblleft`),I(R,z,W,`”`,`''`,!0),I(R,z,W,`”`,`\\textquotedblright`),I(L,z,W,`°`,`\\degree`,!0),I(R,z,W,`°`,`\\degree`),I(R,z,W,`°`,`\\textdegree`,!0),I(L,z,W,`£`,`\\pounds`),I(L,z,W,`£`,`\\mathsterling`,!0),I(R,z,W,`£`,`\\pounds`),I(R,z,W,`£`,`\\textsterling`,!0),I(L,B,W,`✠`,`\\maltese`),I(R,B,W,`✠`,`\\maltese`);for(var Fo=`0123456789/@."`,Io=0;Io<Fo.length;Io++){var Lo=Fo.charAt(Io);I(L,z,W,Lo,Lo)}for(var Ro=`0123456789!@*()-=+";:?/.,`,zo=0;zo<Ro.length;zo++){var Bo=Ro.charAt(zo);I(R,z,W,Bo,Bo)}for(var Vo=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`,Ho=0;Ho<Vo.length;Ho++){var Uo=Vo.charAt(Ho);I(L,z,H,Uo,Uo),I(R,z,W,Uo,Uo)}I(L,B,W,`C`,`ℂ`),I(R,B,W,`C`,`ℂ`),I(L,B,W,`H`,`ℍ`),I(R,B,W,`H`,`ℍ`),I(L,B,W,`N`,`ℕ`),I(R,B,W,`N`,`ℕ`),I(L,B,W,`P`,`ℙ`),I(R,B,W,`P`,`ℙ`),I(L,B,W,`Q`,`ℚ`),I(R,B,W,`Q`,`ℚ`),I(L,B,W,`R`,`ℝ`),I(R,B,W,`R`,`ℝ`),I(L,B,W,`Z`,`ℤ`),I(R,B,W,`Z`,`ℤ`),I(L,z,H,`h`,`ℎ`),I(R,z,H,`h`,`ℎ`);for(var G,Wo=0;Wo<Vo.length;Wo++){var Go=Vo.charAt(Wo);G=String.fromCharCode(55349,56320+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56372+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56424+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56580+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56684+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56736+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56788+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56840+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56944+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),Wo<26&&(G=String.fromCharCode(55349,56632+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56476+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G))}G=String.fromCharCode(55349,56668),I(L,z,H,`k`,G),I(R,z,W,`k`,G);for(var Ko=0;Ko<10;Ko++){var qo=Ko.toString();G=String.fromCharCode(55349,57294+Ko),I(L,z,H,qo,G),I(R,z,W,qo,G),G=String.fromCharCode(55349,57314+Ko),I(L,z,H,qo,G),I(R,z,W,qo,G),G=String.fromCharCode(55349,57324+Ko),I(L,z,H,qo,G),I(R,z,W,qo,G),G=String.fromCharCode(55349,57334+Ko),I(L,z,H,qo,G),I(R,z,W,qo,G)}for(var Jo=`ÐÞþ`,Yo=0;Yo<Jo.length;Yo++){var Xo=Jo.charAt(Yo);I(L,z,H,Xo,Xo),I(R,z,W,Xo,Xo)}var Zo={mathClass:`mathbf`,textClass:`textbf`,font:`Main-Bold`},Qo={mathClass:`mathnormal`,textClass:`textit`,font:`Math-Italic`},$o={mathClass:`boldsymbol`,textClass:`boldsymbol`,font:`Main-BoldItalic`},es={mathClass:`mathscr`,textClass:`textscr`,font:`Script-Regular`},ts={mathClass:``,textClass:``,font:``},ns={mathClass:`mathfrak`,textClass:`textfrak`,font:`Fraktur-Regular`},rs={mathClass:`mathbb`,textClass:`textbb`,font:`AMS-Regular`},is={mathClass:`mathboldfrak`,textClass:`textboldfrak`,font:`Fraktur-Regular`},as={mathClass:`mathsf`,textClass:`textsf`,font:`SansSerif-Regular`},os={mathClass:`mathboldsf`,textClass:`textboldsf`,font:`SansSerif-Bold`},ss={mathClass:`mathitsf`,textClass:`textitsf`,font:`SansSerif-Italic`},cs={mathClass:`mathtt`,textClass:`texttt`,font:`Typewriter-Regular`},ls=[Zo,Zo,Qo,Qo,$o,$o,es,ts,ts,ts,ns,ns,rs,rs,is,is,as,as,os,os,ss,ss,ts,ts,cs,cs],us=[Zo,ts,as,os,cs],ds=e=>{var t=e.charCodeAt(0),n=e.charCodeAt(1),r=(t-55296)*1024+(n-56320)+65536;if(119808<=r&&r<120484)return ls[Math.floor((r-119808)/26)];if(120782<=r&&r<=120831)return us[Math.floor((r-120782)/10)];if(r===120485||r===120486)return ls[0];if(120486<r&&r<120782)return ts;throw new N(`Unsupported character: `+e)},fs=function(e,t,n){if(Eo[n][e]){var r=Eo[n][e].replace;r&&(e=r)}return{value:e,metrics:Co(e,t,n)}},ps=function(e,t,n,r,i){var a=fs(e,t,n),o=a.metrics;e=a.value;var s;if(o){var c=o.italic;(n===`text`||r&&r.font===`mathit`)&&(c=0),s=new fo(e,o.height,o.depth,c,o.skew,o.width,i)}else typeof console<`u`&&console.warn(`No character metrics `+(`for '`+e+`' in style '`+t+`' and mode '`+n+`'`)),s=new fo(e,0,0,0,0,0,i);if(r){s.maxFontSize=r.sizeMultiplier,r.style.isTight()&&s.classes.push(`mtight`);var l=r.getColor();l&&(s.style.color=l)}return s},ms=function(e,t,n,r){return r===void 0&&(r=[]),n.font===`boldsymbol`&&fs(e,`Main-Bold`,t).metrics?ps(e,`Main-Bold`,t,n,r.concat([`mathbf`])):e===`\\`||Eo[t][e].font===`main`?ps(e,`Main-Regular`,t,n,r):ps(e,`AMS-Regular`,t,n,r.concat([`amsrm`]))},hs=function(e,t,n){return n!==`textord`&&fs(e,`Math-BoldItalic`,t).metrics?{fontName:`Math-BoldItalic`,fontClass:`boldsymbol`}:{fontName:`Main-Bold`,fontClass:`mathbf`}},gs=function(e,t){var n=e.type===`mathord`?`mathord`:`textord`,r=e.mode,i=e.text,a=[`mord`],o=t.font,s=t.fontFamily,c=t.fontWeight,l=t.fontShape,u=r===`math`||r===`text`&&!!o,d=u?o:s,f=``,p=``;if(i.charCodeAt(0)===55349){var m=ds(i);f=m.font,p=m[r+`Class`]}if(f)return ps(i,f,r,t,a.concat(p));if(d){var h,g;if(d===`boldsymbol`){var _=hs(i,r,n);h=_.fontName,g=[_.fontClass]}else u?(h=Os[o].fontName,g=[o]):(h=Ds(s,c,l),g=[s,c,l]);if(fs(i,h,r).metrics)return ps(i,h,r,t,a.concat(g));if(Object.prototype.hasOwnProperty.call(Po,i)&&h.slice(0,10)===`Typewriter`){for(var v=[],y=0;y<i.length;y++)v.push(ps(i[y],h,r,t,a.concat(g)));return Cs(v)}}if(n===`mathord`)return ps(i,`Math-Italic`,r,t,a.concat([`mathnormal`]));if(n===`textord`){var b=Eo[r][i]&&Eo[r][i].font;if(b===`ams`)return ps(i,Ds(`amsrm`,c,l),r,t,a.concat(`amsrm`,c,l));if(b===`main`||!b)return ps(i,Ds(`textrm`,c,l),r,t,a.concat(c,l));var x=Ds(b,c,l);return ps(i,x,r,t,a.concat(x,c,l))}else throw Error(`unexpected type: `+n+` in makeOrd`)},_s=(e,t)=>{if(to(e.classes)!==to(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass(`mathnormal`))return!1;if(e.classes.length===1){var n=e.classes[0];if(n===`mbin`||n===`mord`)return!1}for(var r of Object.keys(e.style))if(e.style[r]!==t.style[r])return!1;for(var i of Object.keys(t.style))if(e.style[i]!==t.style[i])return!1;return!0},vs=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof fo&&r instanceof fo&&_s(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},ys=function(e){for(var t=0,n=0,r=0,i=0;i<e.children.length;i++){var a=e.children[i];a.height>t&&(t=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>r&&(r=a.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},K=function(e,t,n,r){var i=new so(e,t,n,r);return ys(i),i},bs=(e,t,n,r)=>new so(e,t,n,r),xs=function(e,t,n){var r=K([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=F(r.height),r.maxFontSize=1,r},Ss=function(e,t,n,r){var i=new co(e,t,n,r);return ys(i),i},Cs=function(e){var t=new Xa(e);return ys(t),t},ws=function(e,t){return e instanceof Xa?K([],[e],t):e},Ts=function(e){if(e.positionType===`individualShift`){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,a=1;a<t.length;a++){var o=-t[a].shift-i-t[a].elem.depth,s=o-(t[a-1].elem.height+t[a-1].elem.depth);i+=o,n.push({type:`kern`,size:s}),n.push(t[a])}return{children:n,depth:r}}var c;if(e.positionType===`top`){for(var l=e.positionData,u=0;u<e.children.length;u++){var d=e.children[u];l-=d.type===`kern`?d.size:d.elem.height+d.elem.depth}c=l}else if(e.positionType===`bottom`)c=-e.positionData;else{var f=e.children[0];if(f.type!==`elem`)throw Error(`First child must have type "elem".`);if(e.positionType===`shift`)c=-f.elem.depth-e.positionData;else if(e.positionType===`firstBaseline`)c=-f.elem.depth;else throw Error(`Invalid positionType `+e.positionType+`.`)}return{children:e.children,depth:c}},q=function(e,t){for(var n=Ts(e),r=n.children,i=n.depth,a=0,o=0;o<r.length;o++){var s=r[o];if(s.type===`elem`){var c=s.elem;a=Math.max(a,c.maxFontSize,c.height)}}a+=2;var l=K([`pstrut`],[]);l.style.height=F(a);for(var u=[],d=i,f=i,p=i,m=0;m<r.length;m++){var h=r[m];if(h.type===`kern`)p+=h.size;else{var g=h.elem,_=h.wrapperClasses||[],v=h.wrapperStyle||{},y=K(_,[l,g],void 0,v);y.style.top=F(-a-p-g.depth),h.marginLeft&&(y.style.marginLeft=h.marginLeft),h.marginRight&&(y.style.marginRight=h.marginRight),u.push(y),p+=g.height+g.depth}d=Math.min(d,p),f=Math.max(f,p)}var b=K([`vlist`],u);b.style.height=F(f);var x;if(d<0){var S=K([`vlist`],[K([],[])]);S.style.height=F(-d),x=[K([`vlist-r`],[b,K([`vlist-s`],[new fo(`​`)])]),K([`vlist-r`],[S])]}else x=[K([`vlist-r`],[b])];var C=K([`vlist-t`],x);return x.length===2&&C.classes.push(`vlist-t2`),C.height=f,C.depth=-d,C},Es=(e,t)=>{var n=K([`mspace`],[],t),r=eo(e,t);return n.style.marginRight=F(r),n},Ds=(e,t,n)=>{var r,i;switch(e){case`amsrm`:r=`AMS`;break;case`textrm`:r=`Main`;break;case`textsf`:r=`SansSerif`;break;case`texttt`:r=`Typewriter`;break;default:r=e}return i=t===`textbf`&&n===`textit`?`BoldItalic`:t===`textbf`?`Bold`:n===`textit`?`Italic`:`Regular`,r+`-`+i},Os={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`}},ks={vec:[`vec`,.471,.714],oiintSize1:[`oiintSize1`,.957,.499],oiintSize2:[`oiintSize2`,1.472,.659],oiiintSize1:[`oiiintSize1`,1.304,.499],oiiintSize2:[`oiiintSize2`,1.98,.659]},As=function(e,t){var n=ks[e],r=n[0],i=n[1],a=n[2],o=bs([`katex-overlay`],[new po([new mo(r)],{width:F(i),height:F(a),style:`width:`+F(i),viewBox:`0 0 `+1e3*i+` `+1e3*a,preserveAspectRatio:`xMinYMin`})],t);return o.height=a,o.style.height=F(a),o.style.width=F(i),o},js={number:3,unit:`mu`},Ms={number:4,unit:`mu`},Ns={number:5,unit:`mu`},Ps={mord:{mop:js,mbin:Ms,mrel:Ns,minner:js},mop:{mord:js,mop:js,mrel:Ns,minner:js},mbin:{mord:Ms,mop:Ms,mopen:Ms,minner:Ms},mrel:{mord:Ns,mop:Ns,mopen:Ns,minner:Ns},mopen:{},mclose:{mop:js,mbin:Ms,mrel:Ns,minner:js},mpunct:{mord:js,mop:js,mrel:Ns,mopen:js,mclose:js,mpunct:js,minner:js},minner:{mord:js,mop:js,mbin:Ms,mrel:Ns,mopen:js,mpunct:js,minner:js}},Fs={mord:{mop:js},mop:{mord:js,mop:js},mbin:{},mrel:{},mopen:{},mclose:{mop:js},mpunct:{},minner:{mop:js}},Is={},Ls={},Rs={};function J(e){for(var t=e.type,n=e.names,r=e.htmlBuilder,i=e.mathmlBuilder,a=0;a<n.length;++a)Is[n[a]]=e;t&&(r&&(Ls[t]=r),i&&(Rs[t]=i))}function zs(e){var t=e.type,n=e.htmlBuilder,r=e.mathmlBuilder;n&&(Ls[t]=n),r&&(Rs[t]=r)}var Bs=function(e){return e.type===`ordgroup`&&e.body.length===1?e.body[0]:e},Vs=function(e){return e.type===`ordgroup`?e.body:[e]},Hs=new Set([`leftmost`,`mbin`,`mopen`,`mrel`,`mop`,`mpunct`]),Us=new Set([`rightmost`,`mrel`,`mclose`,`mpunct`]),Ws={display:P.DISPLAY,text:P.TEXT,script:P.SCRIPT,scriptscript:P.SCRIPTSCRIPT},Gs={mord:`mord`,mop:`mop`,mbin:`mbin`,mrel:`mrel`,mopen:`mopen`,mclose:`mclose`,mpunct:`mpunct`,minner:`minner`},Ks=function(e,t,n,r){r===void 0&&(r=[null,null]);for(var i=[],a=0;a<e.length;a++){var o=Y(e[a],t);if(o instanceof Xa){var s=o.children;i.push(...s)}else i.push(o)}if(vs(i),!n)return i;var c=t;if(e.length===1){var l=e[0];l.type===`sizing`?c=t.havingSize(l.size):l.type===`styling`&&(c=t.havingStyle(Ws[l.style]))}var u=K([r[0]||`leftmost`],[],t),d=K([r[1]||`rightmost`],[],t),f=n===`root`;return qs(i,(e,t)=>{var n=t.classes[0],r=e.classes[0];n===`mbin`&&Us.has(r)?t.classes[0]=`mord`:r===`mbin`&&Hs.has(n)&&(e.classes[0]=`mord`)},{node:u},d,f),qs(i,(e,t)=>{var n=Xs(t),r=Xs(e),i=n&&r?e.hasClass(`mtight`)?Fs[n]?.[r]:Ps[n]?.[r]:null;if(i)return Es(i,c)},{node:u},d,f),i},qs=function(e,t,n,r,i){r&&e.push(r);for(var a=0;a<e.length;a++){var o=e[a],s=Js(o);if(s){qs(s.children,t,n,null,i);continue}var c=!o.hasClass(`mspace`);if(c){var l=t(o,n.node);l&&(n.insertAfter?n.insertAfter(l):(e.unshift(l),a++))}c?n.node=o:i&&o.hasClass(`katex-newline`)&&(n.node=K([`leftmost`])),n.insertAfter=(t=>n=>{e.splice(t+1,0,n),a++})(a)}r&&e.pop()},Js=function(e){return e instanceof Xa||e instanceof co||e instanceof so&&e.hasClass(`enclosing`)?e:null},Ys=function(e,t){var n=Js(e);if(n){var r=n.children;if(r.length){if(t===`right`)return Ys(r[r.length-1],`right`);if(t===`left`)return Ys(r[0],`left`)}}return e},Xs=function(e,t){return e?(t&&(e=Ys(e,t)),Gs[e.classes[0]]||null):null},Zs=function(e,t){var n=[`nulldelimiter`].concat(e.baseSizingClasses());return K(t.concat(n))},Y=function(e,t,n){if(!e)return K();if(Ls[e.type]){var r=Ls[e.type](e,t);if(n&&t.size!==n.size){r=K(t.sizingClasses(n),[r],t);var i=t.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}else throw new N(`Got group of unknown type: '`+e.type+`'`)};function Qs(e,t){var n=K([`katex-base`],e,t),r=K([`katex-strut`]);return r.style.height=F(n.height+n.depth),n.depth&&(r.style.verticalAlign=F(-n.depth)),n.children.unshift(r),n}function $s(e,t){var n=null;e.length===1&&e[0].type===`tag`&&(n=e[0].tag,e=e[0].body);var r=Ks(e,t,`root`),i;r.length===2&&r[1].hasClass(`katex-tag`)&&(i=r.pop());for(var a=[],o=[],s=0;s<r.length;s++)if(o.push(r[s]),r[s].hasClass(`mbin`)||r[s].hasClass(`mrel`)||r[s].hasClass(`allowbreak`)){for(var c=!1;s<r.length-1&&r[s+1].hasClass(`mspace`)&&!r[s+1].hasClass(`katex-newline`);)s++,o.push(r[s]),r[s].hasClass(`nobreak`)&&(c=!0);c||(a.push(Qs(o,t)),o=[])}else r[s].hasClass(`katex-newline`)&&(o.pop(),o.length>0&&(a.push(Qs(o,t)),o=[]),a.push(r[s]));o.length>0&&a.push(Qs(o,t));var l;n?(l=Qs(Ks(n,t,!0),t),l.classes=[`katex-tag`],a.push(l)):i&&a.push(i);var u=K([`katex-html`],a);if(u.setAttribute(`aria-hidden`,`true`),l){var d=l.children[0];d.style.height=F(u.height+u.depth),u.depth&&(d.style.verticalAlign=F(-u.depth))}return u}function ec(e){return new Xa(e)}var X=class{constructor(e,t,n){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=n||[]}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 n=t[0],r=t[1];e.setAttribute(n,r)}this.classes.length>0&&(e.className=to(this.classes));for(var i=0;i<this.children.length;i++)if(this.children[i]instanceof tc&&this.children[i+1]instanceof tc){for(var a=this.children[i].toText()+this.children[++i].toText();this.children[i+1]instanceof tc;)a+=this.children[++i].toText();e.appendChild(new tc(a).toNode())}else e.appendChild(this.children[i].toNode());return e}toMarkup(){var e=`<`+this.type;for(var t of Object.entries(this.attributes)){var n=t[0],r=t[1];e+=` `+n+`="`,e+=oa(r),e+=`"`}this.classes.length>0&&(e+=` class ="`+oa(to(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(``)}},tc=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return oa(this.toText())}toText(){return this.text}},nc=class{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`,F(this.width)),e}toMarkup(){return this.character?`<mtext>`+this.character+`</mtext>`:`<mspace width="`+F(this.width)+`"/>`}toText(){return this.character?this.character:` `}},rc=new Set([`\\imath`,`\\jmath`]),ic=new Set([`mrow`,`mtable`]),ac=function(e,t,n){var r,i;return Eo[t][e]&&Eo[t][e].replace&&e.charCodeAt(0)!==55349&&!(Object.prototype.hasOwnProperty.call(Po,e)&&((n==null||(r=n.fontFamily)==null?void 0:r.slice(4,6))===`tt`||(n==null||(i=n.font)==null?void 0:i.slice(4,6))===`tt`))&&(e=Eo[t][e].replace),new tc(e)},oc=function(e){return e.length===1?e[0]:new X(`mrow`,e)},sc={mathit:`italic`,boldsymbol:e=>e.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`},cc=(e,t)=>{if(e.mode===`text`){if(t.fontFamily===`texttt`)return`monospace`;if(t.fontFamily===`textsf`)return t.fontShape===`textit`&&t.fontWeight===`textbf`?`sans-serif-bold-italic`:t.fontShape===`textit`?`sans-serif-italic`:t.fontWeight===`textbf`?`bold-sans-serif`:`sans-serif`;if(t.fontShape===`textit`&&t.fontWeight===`textbf`)return`bold-italic`;if(t.fontShape===`textit`)return`italic`;if(t.fontWeight===`textbf`)return`bold`}var n=t.font;if(!n||n===`mathnormal`)return null;var r=e.mode,i=sc[n];if(i)return typeof i==`function`?i(e):i;var a=e.text;if(rc.has(a))return null;if(Eo[r][a]){var o=Eo[r][a].replace;o&&(a=o)}var s=Os[n].fontName;return Co(a,s,r)?Os[n].variant:null};function lc(e){if(!e)return!1;if(e.type===`mi`&&e.children.length===1){var t=e.children[0];return t instanceof tc&&t.text===`.`}else if(e.type===`mo`&&e.children.length===1&&e.getAttribute(`separator`)===`true`&&e.getAttribute(`lspace`)===`0em`&&e.getAttribute(`rspace`)===`0em`){var n=e.children[0];return n instanceof tc&&n.text===`,`}else return!1}var uc=function(e,t,n){if(e.length===1){var r=Z(e[0],t);return n&&r instanceof X&&r.type===`mo`&&(r.setAttribute(`lspace`,`0em`),r.setAttribute(`rspace`,`0em`)),[r]}for(var i=[],a,o=0;o<e.length;o++){var s=Z(e[o],t);if(s instanceof X&&a instanceof X){if(s.type===`mtext`&&a.type===`mtext`&&s.getAttribute(`mathvariant`)===a.getAttribute(`mathvariant`)){a.children.push(...s.children);continue}else if(s.type===`mn`&&a.type===`mn`){a.children.push(...s.children);continue}else if(lc(s)&&a.type===`mn`){a.children.push(...s.children);continue}else if(s.type===`mn`&&lc(a))s.children=[...a.children,...s.children],i.pop();else if((s.type===`msup`||s.type===`msub`)&&s.children.length>=1&&(a.type===`mn`||lc(a))){var c=s.children[0];c instanceof X&&c.type===`mn`&&(c.children=[...a.children,...c.children],i.pop())}else if(a.type===`mi`&&a.children.length===1){var l=a.children[0];if(l instanceof tc&&l.text===`̸`&&(s.type===`mo`||s.type===`mi`||s.type===`mn`)){var u=s.children[0];u instanceof tc&&u.text.length>0&&(u.text=u.text.slice(0,1)+`̸`+u.text.slice(1),i.pop())}}}i.push(s),a=s}return i},dc=function(e,t,n){return oc(uc(e,t,n))},Z=function(e,t){if(!e)return new X(`mrow`);if(Rs[e.type])return Rs[e.type](e,t);throw new N(`Got group of unknown type: '`+e.type+`'`)};function fc(e,t,n,r,i){var a=uc(e,n),o=a.length===1&&a[0]instanceof X&&ic.has(a[0].type)?a[0]:new X(`mrow`,a),s=new X(`annotation`,[new tc(t)]);s.setAttribute(`encoding`,`application/x-tex`);var c=new X(`math`,[new X(`semantics`,[o,s])]);return c.setAttribute(`xmlns`,`http://www.w3.org/1998/Math/MathML`),r&&c.setAttribute(`display`,`block`),K([i?`katex`:`katex-mathml`],[c])}var pc=[[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]],mc=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],hc=function(e,t){return t.size<2?e:pc[e-1][t.size-1]},gc=class e{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||``,this.fontFamily=t.fontFamily||``,this.fontWeight=t.fontWeight||``,this.fontShape=t.fontShape||``,this.sizeMultiplier=mc[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={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(n,t),new e(n)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:hc(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:mc[e-1]})}havingBaseStyle(t){t||=this.style.text();var n=hc(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}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===e.BASESIZE?[]:[`katex-sizing`,`reset-size`+this.size,`size`+e.BASESIZE]}fontMetrics(){return this._fontMetrics||=To(this.size),this._fontMetrics}getColor(){return this.phantom?`transparent`:this.color}};gc.BASESIZE=6;var _c=function(e){return new gc({style:e.displayMode?P.DISPLAY:P.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},vc=function(e,t){if(t.displayMode){var n=[`katex-display`];t.leqno&&n.push(`leqno`),t.fleqn&&n.push(`fleqn`),e=K(n,[e])}return e},yc=function(e,t,n){var r=_c(n),i;return n.output===`mathml`?fc(e,t,r,n.displayMode,!0):(i=n.output===`html`?K([`katex`],[$s(e,r)]):K([`katex`],[fc(e,t,r,n.displayMode,!1),$s(e,r)]),vc(i,n))},bc=function(e,t,n){return vc(K([`katex`],[$s(e,_c(n))]),n)},xc={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":`=`},Sc=function(e){var t=new X(`mo`,[new tc(xc[e.replace(/^\\/,``)])]);return t.setAttribute(`stretchy`,`true`),t},Cc={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]},wc=new Set([`widehat`,`widecheck`,`widetilde`,`utilde`]),Tc=function(e,t){function n(){var n=4e5,r=e.label.slice(1);if(wc.has(r)&&`base`in e){var i=e.base.type===`ordgroup`?e.base.body.length:1,a,o,s;if(i>5)r===`widehat`||r===`widecheck`?(a=420,n=2364,s=.42,o=r+`4`):(a=312,n=2340,s=.34,o=`tilde4`);else{var c=[1,1,2,2,3,3][i];r===`widehat`||r===`widecheck`?(n=[0,1062,2364,2364,2364][c],a=[0,239,300,360,420][c],s=[0,.24,.3,.3,.36,.42][c],o=r+c):(n=[0,600,1033,2339,2340][c],a=[0,260,286,306,312][c],s=[0,.26,.286,.3,.306,.34][c],o=`tilde`+c)}return{span:bs([],[new po([new mo(o)],{width:`100%`,height:F(s),viewBox:`0 0 `+n+` `+a,preserveAspectRatio:`none`})],t),minWidth:0,height:s}}else{var l=[],u=Cc[r];if(!u)throw Error(`No SVG data for "`+r+`".`);var d=u[0],f=u[1],p=u[2],m=p/1e3,h=d.length,g,_;if(h===1){if(u.length!==4)throw Error(`Expected 4-tuple for single-path SVG data "`+r+`".`);g=[`hide-tail`],_=[u[3]]}else if(h===2)g=[`halfarrow-left`,`halfarrow-right`],_=[`xMinYMin`,`xMaxYMin`];else if(h===3)g=[`brace-left`,`brace-center`,`brace-right`],_=[`xMinYMin`,`xMidYMin`,`xMaxYMin`];else throw Error(`Correct katexImagesData or update code here to support
320
- `+h+` children.`);for(var v=0;v<h;v++){var y=new po([new mo(d[v])],{width:`400em`,height:F(m),viewBox:`0 0 `+n+` `+p,preserveAspectRatio:_[v]+` slice`}),b=bs([g[v]],[y],t);if(h===1)return{span:b,minWidth:f,height:m};b.style.height=F(m),l.push(b)}return{span:K([`katex-stretchy`],l,t),minWidth:f,height:m}}}var r=n(),i=r.span,a=r.minWidth,o=r.height;return i.height=o,i.style.height=F(o),a>0&&(i.style.minWidth=F(a)),i},Ec=function(e,t,n,r,i){var a,o=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(a=K([`katex-stretchy`,t],[],i),t===`fbox`){var s=i.color&&i.getColor();s&&(a.style.borderColor=s)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new ho({x1:`0`,y1:`0`,x2:`100%`,y2:`100%`,"stroke-width":`0.046em`})),/^x?cancel$/.test(t)&&c.push(new ho({x1:`0`,y1:`100%`,x2:`100%`,y2:`0`,"stroke-width":`0.046em`})),a=bs([],[new po(c,{width:`100%`,height:F(o)})],i)}return a.height=o,a.style.height=F(o),a},Dc=[`bin`,`close`,`inner`,`open`,`punct`,`rel`],Oc=[`accent-token`,`mathord`,`op-token`,`spacing`,`textord`],kc=new Set(Dc),Ac=new Set(Oc);function jc(e){return kc.has(e)}function Q(e,t){if(!e||e.type!==t)throw Error(`Expected node of type `+t+`, but got `+(e?`node of type `+e.type:String(e)));return e}function Mc(e){var t=Nc(e);if(!t)throw Error(`Expected node of symbol group type, but got `+(e?`node of type `+e.type:String(e)));return t}function Nc(e){return e.type===`atom`||Ac.has(e.type)?e:null}var Pc=e=>{if(e instanceof fo)return e;if(vo(e)&&e.children.length===1)return Pc(e.children[0])},Fc=(e,t)=>{var n,r,i;e&&e.type===`supsub`?(r=Q(e.base,`accent`),n=r.base,e.base=n,i=_o(Y(e,t)),e.base=r):(r=Q(e,`accent`),n=r.base);var a=Y(n,t.havingCrampedStyle()),o=r.isShifty&&la(n),s=0;o&&(s=Pc(a)?.skew??0);var c=r.label===`\\c`,l=c?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),u;if(r.isStretchy)u=Tc(r,t),u=q({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`elem`,elem:u,wrapperClasses:[`svg-align`],wrapperStyle:s>0?{width:`calc(100% - `+F(2*s)+`)`,marginLeft:F(2*s)}:void 0}]});else{var d,f;r.label===`\\vec`?(d=As(`vec`,t),f=ks.vec[1]):(d=gs({type:`textord`,mode:r.mode,text:r.label},t),d=go(d),d.italic=0,f=d.width,c&&(l+=d.depth)),u=K([`accent-body`],[d]);var p=r.label===`\\textcircled`;p&&(u.classes.push(`accent-full`),l=a.height);var m=s;p||(m-=f/2),u.style.left=F(m),r.label===`\\textcircled`&&(u.style.top=`.2em`),u=q({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:-l},{type:`elem`,elem:u}]})}var h=K([`mord`,`katex-accent`],[u],t);return i?(i.children[0]=h,i.height=Math.max(h.height,i.height),i.classes[0]=`mord`,i):h},Ic=(e,t)=>{var n=e.isStretchy?Sc(e.label):new X(`mo`,[ac(e.label,e.mode)]),r=new X(`mover`,[Z(e.base,t),n]);return r.setAttribute(`accent`,`true`),r},Lc=new RegExp([`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`].map(e=>`\\`+e).join(`|`));J({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:(e,t)=>{var n=Bs(t[0]),r=!Lc.test(e.funcName),i=!r||e.funcName===`\\widehat`||e.funcName===`\\widetilde`||e.funcName===`\\widecheck`;return{type:`accent`,mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Fc,mathmlBuilder:Ic}),J({type:`accent`,names:[`\\'`,"\\`",`\\^`,`\\~`,`\\=`,`\\u`,`\\.`,`\\"`,`\\c`,`\\r`,`\\H`,`\\v`,`\\textcircled`],numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`primitive`],handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r===`math`&&(e.parser.settings.reportNonstrict(`mathVsTextAccents`,`LaTeX's accent `+e.funcName+` works only in text mode`),r=`text`),{type:`accent`,mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}}}),J({type:`accentUnder`,names:[`\\underleftarrow`,`\\underrightarrow`,`\\underleftrightarrow`,`\\undergroup`,`\\underlinesegment`,`\\utilde`],numArgs:1,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=t[0];return{type:`accentUnder`,mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=Y(e.base,t),r=Tc(e,t),i=e.label===`\\utilde`?.12:0;return K([`mord`,`accentunder`],[q({positionType:`top`,positionData:n.height,children:[{type:`elem`,elem:r,wrapperClasses:[`svg-align`]},{type:`kern`,size:i},{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=Sc(e.label),r=new X(`munder`,[Z(e.base,t),n]);return r.setAttribute(`accentunder`,`true`),r}});var Rc=e=>{var t=new X(`mpadded`,e?[e]:[]);return t.setAttribute(`width`,`+0.6em`),t.setAttribute(`lspace`,`0.3em`),t};J({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(e,t,n){var r=e.parser,i=e.funcName;return{type:`xArrow`,mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=ws(Y(e.body,r,t),t),a=e.label.slice(0,2)===`\\x`?`x`:`cd`;i.classes.push(a+`-arrow-pad`);var o;e.below&&(r=t.havingStyle(n.sub()),o=ws(Y(e.below,r,t),t),o.classes.push(a+`-arrow-pad`));var s=Tc(e,t),c=-t.fontMetrics().axisHeight+.5*s.height,l=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label===`\\xleftequilibrium`)&&(l-=i.depth);var u;if(o){var d=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;u=q({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c,wrapperClasses:[`svg-align`]},{type:`elem`,elem:o,shift:d}]})}else u=q({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c,wrapperClasses:[`svg-align`]}]});return K([`mrel`,`x-arrow`],[u],t)},mathmlBuilder(e,t){var n=Sc(e.label);n.setAttribute(`minsize`,e.label.charAt(0)===`x`?`1.75em`:`3.0em`);var r;if(e.body){var i=Rc(Z(e.body,t));r=e.below?new X(`munderover`,[n,Rc(Z(e.below,t)),i]):new X(`mover`,[n,i])}else e.below?r=new X(`munder`,[n,Rc(Z(e.below,t))]):(r=Rc(),r=new X(`mover`,[n,r]));return r}});function zc(e,t){var n=Ks(e.body,t,!0);return K([e.mclass],n,t)}function Bc(e,t){var n,r=uc(e.body,t);return e.mclass===`minner`?n=new X(`mpadded`,r):e.mclass===`mord`?e.isCharacterBox?(n=r[0],n.type=`mi`):n=new X(`mi`,r):(e.isCharacterBox?(n=r[0],n.type=`mo`):n=new X(`mo`,r),e.mclass===`mbin`?(n.attributes.lspace=`0.22em`,n.attributes.rspace=`0.22em`):e.mclass===`mpunct`?(n.attributes.lspace=`0em`,n.attributes.rspace=`0.17em`):(e.mclass===`mopen`||e.mclass===`mclose`)&&(n.attributes.lspace=`0em`,n.attributes.rspace=`0em`)),n}J({type:`mclass`,names:[`\\mathord`,`\\mathbin`,`\\mathrel`,`\\mathopen`,`\\mathclose`,`\\mathpunct`,`\\mathinner`],numArgs:1,primitive:!0,handler(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:`mclass`,mode:n.mode,mclass:`m`+r.slice(5),body:Vs(i),isCharacterBox:la(i)}},htmlBuilder:zc,mathmlBuilder:Bc});var Vc=e=>{var t=e.type===`ordgroup`&&e.body.length?e.body[0]:e;return t.type===`atom`&&(t.family===`bin`||t.family===`rel`)?`m`+t.family:`mord`};J({type:`mclass`,names:[`\\@binrel`],numArgs:2,handler(e,t){return{type:`mclass`,mode:e.parser.mode,mclass:Vc(t[0]),body:Vs(t[1]),isCharacterBox:la(t[1])}}}),J({type:`mclass`,names:[`\\stackrel`,`\\overset`,`\\underset`],numArgs:2,handler(e,t){var n=e.parser,r=e.funcName,i=t[1],a=t[0],o=r===`\\stackrel`?`mrel`:Vc(i),s={type:`op`,mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!==`\\stackrel`,body:Vs(i)},c=r===`\\underset`?{type:`supsub`,mode:a.mode,base:s,sub:a}:{type:`supsub`,mode:a.mode,base:s,sup:a};return{type:`mclass`,mode:n.mode,mclass:o,body:[c],isCharacterBox:la(c)}}}),J({type:`pmb`,names:[`\\pmb`],numArgs:1,allowedInText:!0,handler(e,t){return{type:`pmb`,mode:e.parser.mode,mclass:Vc(t[0]),body:Vs(t[0])}},htmlBuilder(e,t){var n=Ks(e.body,t,!0),r=K([e.mclass],n,t);return r.style.textShadow=`0.02em 0.01em 0.04px`,r},mathmlBuilder(e,t){var n=new X(`mstyle`,uc(e.body,t));return n.setAttribute(`style`,`text-shadow: 0.02em 0.01em 0.04px`),n}});var Hc={">":`\\\\cdrightarrow`,"<":`\\\\cdleftarrow`,"=":`\\\\cdlongequal`,A:`\\uparrow`,V:`\\downarrow`,"|":`\\Vert`,".":`no arrow`},Uc=()=>({type:`styling`,body:[],mode:`math`,style:`display`,resetFont:!0}),Wc=e=>e.type===`textord`&&e.text===`@`,Gc=(e,t)=>(e.type===`mathord`||e.type===`atom`)&&e.text===t;function Kc(e,t,n){var r=Hc[e];switch(r){case`\\\\cdrightarrow`:case`\\\\cdleftarrow`:return n.callFunction(r,[t[0]],[t[1]]);case`\\uparrow`:case`\\downarrow`:var i=n.callFunction(`\\\\cdleft`,[t[0]],[]),a={type:`atom`,text:r,mode:`math`,family:`rel`},o={type:`ordgroup`,mode:`math`,body:[i,n.callFunction(`\\Big`,[a],[]),n.callFunction(`\\\\cdright`,[t[1]],[])]};return n.callFunction(`\\\\cdparent`,[o],[]);case`\\\\cdlongequal`:return n.callFunction(`\\\\cdlongequal`,[],[]);case`\\Vert`:return n.callFunction(`\\Big`,[{type:`textord`,text:`\\Vert`,mode:`math`}],[]);default:return{type:`textord`,text:` `,mode:`math`}}}function qc(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set(`\\cr`,`\\\\\\relax`),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,`\\\\`)),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n===`&`||n===`\\\\`)e.consume();else if(n===`\\end`){t[t.length-1].length===0&&t.pop();break}else throw new N(`Expected \\\\ or \\cr or \\end`,e.nextToken)}for(var r=[],i=[r],a=0;a<t.length;a++){for(var o=t[a],s=Uc(),c=0;c<o.length;c++)if(!Wc(o[c]))s.body.push(o[c]);else{r.push(s),c+=1;var l=Mc(o[c]).text,u=[,,];if(u[0]={type:`ordgroup`,mode:`math`,body:[]},u[1]={type:`ordgroup`,mode:`math`,body:[]},!`=|.`.includes(l))if(`<>AV`.includes(l))for(var d=0;d<2;d++){for(var f=!0,p=c+1;p<o.length;p++){if(Gc(o[p],l)){f=!1,c=p;break}if(Wc(o[p]))throw new N(`Missing a `+l+` character to complete a CD arrow.`,o[p]);u[d].body.push(o[p])}if(f)throw new N(`Missing a `+l+` character to complete a CD arrow.`,o[c])}else throw new N(`Expected one of "<>AV=|." after @`,o[c]);var m={type:`styling`,body:[Kc(l,u,e)],mode:`math`,style:`display`,resetFont:!0};r.push(m),s=Uc()}a%2==0?r.push(s):r.shift(),r=[],i.push(r)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:`array`,mode:`math`,body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:Array(i[0].length).fill({type:`align`,align:`c`,pregap:.25,postgap:.25}),colSeparationType:`CD`,hLinesBeforeRow:Array(i.length+1).fill([])}}J({type:`cdlabel`,names:[`\\\\cdleft`,`\\\\cdright`],numArgs:1,handler(e,t){var n=e.parser,r=e.funcName;return{type:`cdlabel`,mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=ws(Y(e.label,n,t),t);return r.classes.push(`cd-label-`+e.side),r.style.bottom=F(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new X(`mrow`,[Z(e.label,t)]);return n=new X(`mpadded`,[n]),n.setAttribute(`width`,`0`),e.side===`left`&&n.setAttribute(`lspace`,`-1width`),n.setAttribute(`voffset`,`0.7em`),n=new X(`mstyle`,[n]),n.setAttribute(`displaystyle`,`false`),n.setAttribute(`scriptlevel`,`1`),n}}),J({type:`cdlabelparent`,names:[`\\\\cdparent`],numArgs:1,handler(e,t){return{type:`cdlabelparent`,mode:e.parser.mode,fragment:t[0]}},htmlBuilder(e,t){var n=ws(Y(e.fragment,t),t);return n.classes.push(`cd-vert-arrow`),n},mathmlBuilder(e,t){return new X(`mrow`,[Z(e.fragment,t)])}}),J({type:`textord`,names:[`\\@char`],numArgs:1,allowedInText:!0,handler(e,t){for(var n=e.parser,r=Q(t[0],`ordgroup`).body,i=``,a=0;a<r.length;a++){var o=Q(r[a],`textord`);i+=o.text}var s=parseInt(i),c;if(isNaN(s))throw new N(`\\@char has non-numeric argument `+i);if(s<0||s>=1114111)throw new N(`\\@char with invalid code point `+i);return s<=65535?c=String.fromCharCode(s):(s-=65536,c=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:`textord`,mode:n.mode,text:c}}}),J({type:`color`,names:[`\\textcolor`],numArgs:2,allowedInText:!0,argTypes:[`color`,`original`],handler(e,t){var n=e.parser,r=Q(t[0],`color-token`).color,i=t[1];return{type:`color`,mode:n.mode,color:r,body:Vs(i)}},htmlBuilder:(e,t)=>Cs(Ks(e.body,t.withColor(e.color),!1)),mathmlBuilder:(e,t)=>{var n=new X(`mstyle`,uc(e.body,t.withColor(e.color)));return n.setAttribute(`mathcolor`,e.color),n}}),J({type:`color`,names:[`\\color`],numArgs:1,allowedInText:!0,argTypes:[`color`],handler(e,t){var n=e.parser,r=e.breakOnTokenText,i=Q(t[0],`color-token`).color;n.gullet.macros.set(`\\current@color`,i);var a=n.parseExpression(!0,r);return{type:`color`,mode:n.mode,color:i,body:a}}}),J({type:`cr`,names:[`\\\\`],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(e,t,n){var r=e.parser,i=r.gullet.future().text===`[`?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior(`newLineInDisplayMode`,`In LaTeX, \\\\ or \\newline does nothing in display mode`);return{type:`cr`,mode:r.mode,newLine:a,size:i&&Q(i,`size`).value}},htmlBuilder(e,t){var n=K([`mspace`],[],t);return e.newLine&&(n.classes.push(`katex-newline`),e.size&&(n.style.marginTop=F(eo(e.size,t)))),n},mathmlBuilder(e,t){var n=new X(`mspace`);return e.newLine&&(n.setAttribute(`linebreak`,`newline`),e.size&&n.setAttribute(`height`,F(eo(e.size,t)))),n}});var Jc={"\\global":`\\global`,"\\long":`\\\\globallong`,"\\\\globallong":`\\\\globallong`,"\\def":`\\gdef`,"\\gdef":`\\gdef`,"\\edef":`\\xdef`,"\\xdef":`\\xdef`,"\\let":`\\\\globallet`,"\\futurelet":`\\\\globalfuture`},Yc=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new N(`Expected a control sequence`,e);return t},Xc=e=>{var t=e.gullet.popToken();return t.text===`=`&&(t=e.gullet.popToken(),t.text===` `&&(t=e.gullet.popToken())),t},Zc=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i??=(n.noexpand=!0,{tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};J({type:`internal`,names:[`\\global`,`\\long`,`\\\\globallong`],numArgs:0,allowedInText:!0,handler(e){var t=e.parser,n=e.funcName;t.consumeSpaces();var r=t.fetch();if(Jc[r.text])return(n===`\\global`||n===`\\\\globallong`)&&(r.text=Jc[r.text]),Q(t.parseFunction(),`internal`);throw new N(`Invalid token after macro prefix`,r)}}),J({type:`internal`,names:[`\\def`,`\\gdef`,`\\edef`,`\\xdef`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var t=e.parser,n=e.funcName,r=t.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new N(`Expected a control sequence`,r);for(var a=0,o,s=[[]];t.gullet.future().text!==`{`;)if(r=t.gullet.popToken(),r.text===`#`){if(t.gullet.future().text===`{`){o=t.gullet.future(),s[a].push(`{`);break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new N(`Invalid argument number "`+r.text+`"`);if(parseInt(r.text)!==a+1)throw new N(`Argument number "`+r.text+`" out of order`);a++,s.push([])}else if(r.text===`EOF`)throw new N(`Expected a macro definition`);else s[a].push(r.text);var c=t.gullet.consumeArg().tokens;return o&&c.unshift(o),(n===`\\edef`||n===`\\xdef`)&&(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(i,{tokens:c,numArgs:a,delimiters:s},n===Jc[n]),{type:`internal`,mode:t.mode}}}),J({type:`internal`,names:[`\\let`,`\\\\globallet`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var t=e.parser,n=e.funcName,r=Yc(t.gullet.popToken());return t.gullet.consumeSpaces(),Zc(t,r,Xc(t),n===`\\\\globallet`),{type:`internal`,mode:t.mode}}}),J({type:`internal`,names:[`\\futurelet`,`\\\\globalfuture`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var t=e.parser,n=e.funcName,r=Yc(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return Zc(t,r,a,n===`\\\\globalfuture`),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:`internal`,mode:t.mode}}});var Qc=function(e,t,n){var r=Co(Eo.math[e]&&Eo.math[e].replace||e,t,n);if(!r)throw Error(`Unsupported symbol `+e+` and font size `+t+`.`);return r},$c=function(e,t,n,r){var i=n.havingBaseStyle(t),a=K(r.concat(i.sizingClasses(n)),[e],n),o=i.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},el=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push(`delimcenter`),e.style.top=F(i),e.height-=i,e.depth+=i},tl=function(e,t,n,r,i,a){var o=$c(ps(e,`Main-Regular`,i,r),t,r,a);return n&&el(o,r,t),o},nl=function(e,t,n,r){return ps(e,`Size`+t+`-Regular`,n,r)},rl=function(e,t,n,r,i,a){var o=nl(e,t,i,r),s=$c(K([`delimsizing`,`size`+t],[o],r),P.TEXT,r,a);return n&&el(s,r,P.TEXT),s},il=function(e,t,n){return{type:`elem`,elem:K([`delimsizinginner`,t===`Size1-Regular`?`delim-size1`:`delim-size4`],[K([],[ps(e,t,n)])])}},al=function(e,t,n){var r=yo[`Size4-Regular`][e.charCodeAt(0)]?yo[`Size4-Regular`][e.charCodeAt(0)][4]:yo[`Size1-Regular`][e.charCodeAt(0)][4],i=bs([],[new po([new mo(`inner`,Ka(e,Math.round(1e3*t)))],{width:F(r),height:F(t),style:`width:`+F(r),viewBox:`0 0 `+1e3*r+` `+Math.round(1e3*t),preserveAspectRatio:`xMinYMin`})],n);return i.height=t,i.style.height=F(t),i.style.width=F(r),{type:`elem`,elem:i}},ol=.008,sl={type:`kern`,size:-1*ol},cl=new Set([`|`,`\\lvert`,`\\rvert`,`\\vert`]),ll=new Set([`\\|`,`\\lVert`,`\\rVert`,`\\Vert`]),ul=function(e,t,n,r,i,a){var o,s,c,l,u=``,d=0;o=c=l=e,s=null;var f=`Size1-Regular`;e===`\\uparrow`?c=l=`⏐`:e===`\\Uparrow`?c=l=`‖`:e===`\\downarrow`?o=c=`⏐`:e===`\\Downarrow`?o=c=`‖`:e===`\\updownarrow`?(o=`\\uparrow`,c=`⏐`,l=`\\downarrow`):e===`\\Updownarrow`?(o=`\\Uparrow`,c=`‖`,l=`\\Downarrow`):cl.has(e)?(c=`∣`,u=`vert`,d=333):ll.has(e)?(c=`∥`,u=`doublevert`,d=556):e===`[`||e===`\\lbrack`?(o=`⎡`,c=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lbrack`,d=667):e===`]`||e===`\\rbrack`?(o=`⎤`,c=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rbrack`,d=667):e===`\\lfloor`||e===`⌊`?(c=o=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lfloor`,d=667):e===`\\lceil`||e===`⌈`?(o=`⎡`,c=l=`⎢`,f=`Size4-Regular`,u=`lceil`,d=667):e===`\\rfloor`||e===`⌋`?(c=o=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rfloor`,d=667):e===`\\rceil`||e===`⌉`?(o=`⎤`,c=l=`⎥`,f=`Size4-Regular`,u=`rceil`,d=667):e===`(`||e===`\\lparen`?(o=`⎛`,c=`⎜`,l=`⎝`,f=`Size4-Regular`,u=`lparen`,d=875):e===`)`||e===`\\rparen`?(o=`⎞`,c=`⎟`,l=`⎠`,f=`Size4-Regular`,u=`rparen`,d=875):e===`\\{`||e===`\\lbrace`?(o=`⎧`,s=`⎨`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\}`||e===`\\rbrace`?(o=`⎫`,s=`⎬`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lgroup`||e===`⟮`?(o=`⎧`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\rgroup`||e===`⟯`?(o=`⎫`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lmoustache`||e===`⎰`?(o=`⎧`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):(e===`\\rmoustache`||e===`⎱`)&&(o=`⎫`,l=`⎩`,c=`⎪`,f=`Size4-Regular`);var p=Qc(o,f,i),m=p.height+p.depth,h=Qc(c,f,i),g=h.height+h.depth,_=Qc(l,f,i),v=_.height+_.depth,y=0,b=1;if(s!==null){var x=Qc(s,f,i);y=x.height+x.depth,b=2}var S=m+v+y,C=S+Math.max(0,Math.ceil((t-S)/(b*g)))*b*g,ee=r.fontMetrics().axisHeight;n&&(ee*=r.sizeMultiplier);var te=C/2-ee,ne=[];if(u.length>0){var re=C-m-v,ie=Math.round(C*1e3),ae=Ja(u,Math.round(re*1e3)),oe=new mo(u,ae),se=F(d/1e3),ce=F(ie/1e3),le=bs([],[new po([oe],{width:se,height:ce,viewBox:`0 0 `+d+` `+ie})],r);le.height=ie/1e3,le.style.width=se,le.style.height=ce,ne.push({type:`elem`,elem:le})}else{if(ne.push(il(l,f,i)),ne.push(sl),s===null){var ue=C-m-v+2*ol;ne.push(al(c,ue,r))}else{var de=(C-m-v-y)/2+2*ol;ne.push(al(c,de,r)),ne.push(sl),ne.push(il(s,f,i)),ne.push(sl),ne.push(al(c,de,r))}ne.push(sl),ne.push(il(o,f,i))}var w=r.havingBaseStyle(P.TEXT);return $c(K([`delimsizing`,`mult`],[q({positionType:`bottom`,positionData:te,children:ne})],w),P.TEXT,r,a)},dl=80,fl=.08,pl=function(e,t,n,r,i){return bs([`hide-tail`],[new po([new mo(e,Ga(e,r,n))],{width:`400em`,height:F(t),viewBox:`0 0 400000 `+n,preserveAspectRatio:`xMinYMin slice`})],i)},ml=function(e,t){var n=t.havingBaseSizing(),r=wl(`\\surd`,e*n.sizeMultiplier,Sl,n),i=n.sizeMultiplier,a=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),o,s,c,l,u;return r.type===`small`?(l=1e3+1e3*a+dl,e<1?i=1:e<1.4&&(i=.7),s=(1+a+fl)/i,c=(1+a)/i,o=pl(`sqrtMain`,s,l,a,t),o.style.minWidth=`0.853em`,u=.833/i):r.type===`large`?(l=(1e3+dl)*vl[r.size],c=(vl[r.size]+a)/i,s=(vl[r.size]+a+fl)/i,o=pl(`sqrtSize`+r.size,s,l,a,t),o.style.minWidth=`1.02em`,u=1/i):(s=e+a+fl,c=e+a,l=Math.floor(1e3*e+a)+dl,o=pl(`sqrtTall`,s,l,a,t),o.style.minWidth=`0.742em`,u=1.056),o.height=c,o.style.height=F(s),{span:o,advanceWidth:u,ruleWidth:(t.fontMetrics().sqrtRuleThickness+a)*i}},hl=new Set([`(`,`\\lparen`,`)`,`\\rparen`,`[`,`\\lbrack`,`]`,`\\rbrack`,`\\{`,`\\lbrace`,`\\}`,`\\rbrace`,`\\lfloor`,`\\rfloor`,`⌊`,`⌋`,`\\lceil`,`\\rceil`,`⌈`,`⌉`,`\\surd`]),gl=new Set([`\\uparrow`,`\\downarrow`,`\\updownarrow`,`\\Uparrow`,`\\Downarrow`,`\\Updownarrow`,`|`,`\\|`,`\\vert`,`\\Vert`,`\\lvert`,`\\rvert`,`\\lVert`,`\\rVert`,`\\lgroup`,`\\rgroup`,`⟮`,`⟯`,`\\lmoustache`,`\\rmoustache`,`⎰`,`⎱`]),_l=new Set([`<`,`>`,`\\langle`,`\\rangle`,`/`,`\\backslash`,`\\lt`,`\\gt`]),vl=[0,1.2,1.8,2.4,3],yl=function(e,t,n,r,i){if(e===`<`||e===`\\lt`||e===`⟨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`⟩`)&&(e=`\\rangle`),hl.has(e)||_l.has(e))return rl(e,t,!1,n,r,i);if(gl.has(e))return ul(e,vl[t],!1,n,r,i);throw new N(`Illegal delimiter: '`+e+`'`)},bl=[{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}],xl=[{type:`small`,style:P.SCRIPTSCRIPT},{type:`small`,style:P.SCRIPT},{type:`small`,style:P.TEXT},{type:`stack`}],Sl=[{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`}],Cl=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 Error(`Add support for delim type '`+t+`' here.`)},wl=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size);i<n.length;i++){var a=n[i];if(a.type===`stack`)break;var o=Qc(e,Cl(a),`math`),s=o.height+o.depth;if(a.type===`small`){var c=r.havingBaseStyle(a.style);s*=c.sizeMultiplier}if(s>t)return a}return n[n.length-1]},Tl=function(e,t,n,r,i,a){e===`<`||e===`\\lt`||e===`⟨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`⟩`)&&(e=`\\rangle`);var o=_l.has(e)?bl:hl.has(e)?Sl:xl,s=wl(e,t,o,r);return s.type===`small`?tl(e,s.style,n,r,i,a):s.type===`large`?rl(e,s.size,n,r,i,a):ul(e,t,n,r,i,a)},El=function(e,t,n,r,i,a){var o=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,c=5/r.fontMetrics().ptPerEm,l=Math.max(t-o,n+o);return Tl(e,Math.max(l/500*s,2*l-c),!0,r,i,a)},Dl={"\\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}},Ol=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,.`.split(`,`));function kl(e){return`isMiddle`in e}function Al(e,t){var n=Nc(e);if(n&&Ol.has(n.text))return n;throw n?new N(`Invalid delimiter '`+n.text+`' after '`+t.funcName+`'`,e):new N(`Invalid delimiter type '`+e.type+`'`,e)}J({type:`delimsizing`,names:[`\\bigl`,`\\Bigl`,`\\biggl`,`\\Biggl`,`\\bigr`,`\\Bigr`,`\\biggr`,`\\Biggr`,`\\bigm`,`\\Bigm`,`\\biggm`,`\\Biggm`,`\\big`,`\\Big`,`\\bigg`,`\\Bigg`],numArgs:1,argTypes:[`primitive`],handler:(e,t)=>{var n=Al(t[0],e);return{type:`delimsizing`,mode:e.parser.mode,size:Dl[e.funcName].size,mclass:Dl[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim===`.`?K([e.mclass]):yl(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!==`.`&&t.push(ac(e.delim,e.mode));var n=new X(`mo`,t);e.mclass===`mopen`||e.mclass===`mclose`?n.setAttribute(`fence`,`true`):n.setAttribute(`fence`,`false`),n.setAttribute(`stretchy`,`true`);var r=F(vl[e.size]);return n.setAttribute(`minsize`,r),n.setAttribute(`maxsize`,r),n}});function jl(e){if(!e.body)throw Error(`Bug: The leftright ParseNode wasn't fully parsed.`)}J({type:`leftright-right`,names:[`\\right`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=e.parser.gullet.macros.get(`\\current@color`);if(n&&typeof n!=`string`)throw new N(`\\current@color set to non-string in \\right`);return{type:`leftright-right`,mode:e.parser.mode,delim:Al(t[0],e).text,color:n}}}),J({type:`leftright`,names:[`\\left`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=Al(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect(`\\right`,!1);var a=Q(r.parseFunction(),`leftright-right`);return{type:`leftright`,mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{jl(e);for(var n=Ks(e.body,t,!0,[`mopen`,`mclose`]),r=0,i=0,a=!1,o=0;o<n.length;o++){var s=n[o];kl(s)?a=!0:(r=Math.max(n[o].height,r),i=Math.max(n[o].depth,i))}r*=t.sizeMultiplier,i*=t.sizeMultiplier;var c=e.left===`.`?Zs(t,[`mopen`]):El(e.left,r,i,t,e.mode,[`mopen`]);if(n.unshift(c),a)for(var l=1;l<n.length;l++){var u=n[l];if(kl(u)){var d=u.isMiddle;n[l]=El(d.delim,r,i,d.options,e.mode,[])}}var f;if(e.right===`.`)f=Zs(t,[`mclose`]);else{var p=e.rightColor?t.withColor(e.rightColor):t;f=El(e.right,r,i,p,e.mode,[`mclose`])}return n.push(f),K([`minner`],n,t)},mathmlBuilder:(e,t)=>{jl(e);var n=uc(e.body,t);if(e.left!==`.`){var r=new X(`mo`,[ac(e.left,e.mode)]);r.setAttribute(`fence`,`true`),n.unshift(r)}if(e.right!==`.`){var i=new X(`mo`,[ac(e.right,e.mode)]);i.setAttribute(`fence`,`true`),e.rightColor&&i.setAttribute(`mathcolor`,e.rightColor),n.push(i)}return oc(n)}}),J({type:`middle`,names:[`\\middle`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=Al(t[0],e);if(!e.parser.leftrightDepth)throw new N(`\\middle without preceding \\left`,n);return{type:`middle`,mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;return e.delim===`.`?n=Zs(t,[]):(n=yl(e.delim,1,t,e.mode,[]),n.isMiddle={delim:e.delim,options:t}),n},mathmlBuilder:(e,t)=>{var n=new X(`mo`,[e.delim===`\\vert`||e.delim===`|`?ac(`|`,`text`):ac(e.delim,e.mode)]);return n.setAttribute(`fence`,`true`),n.setAttribute(`lspace`,`0.05em`),n.setAttribute(`rspace`,`0.05em`),n}}),J({type:`enclose`,names:[`\\colorbox`],numArgs:2,allowedInText:!0,argTypes:[`color`,`hbox`],handler(e,t,n){var r=e.parser,i=e.funcName,a=Q(t[0],`color-token`).color,o=t[1];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:(e,t)=>{var n=ws(Y(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o,s=la(e.body);if(r===`sout`)a=K([`katex-stretchy`,`katex-sout`]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r===`phase`){var c=eo({number:.6,unit:`pt`},t),l=eo({number:.35,unit:`ex`},t),u=t.havingBaseSizing();i/=u.sizeMultiplier;var d=n.height+n.depth+c+l;n.style.paddingLeft=F(d/2+c);var f=Math.floor(1e3*d*i);a=bs([`hide-tail`],[new po([new mo(`phase`,Ua(f))],{width:`400em`,height:F(f/1e3),viewBox:`0 0 400000 `+f,preserveAspectRatio:`xMinYMin slice`})],t),a.style.height=F(d),o=n.depth+c+l}else{/cancel/.test(r)?s||n.classes.push(`cancel-pad`):r===`angl`?n.classes.push(`anglpad`):n.classes.push(`boxpad`);var p,m,h=0;/box/.test(r)?(h=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),p=t.fontMetrics().fboxsep+(r===`colorbox`?0:h),m=p):r===`angl`?(h=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),p=4*h,m=Math.max(0,.25-n.depth)):(p=s?.2:0,m=p),a=Ec(n,r,p,m,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle=`solid`,a.style.borderWidth=F(h)):r===`angl`&&h!==.049&&(a.style.borderTopWidth=F(h),a.style.borderRightWidth=F(h)),o=n.depth+m,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var g;if(e.backgroundColor)g=q({positionType:`individualShift`,children:[{type:`elem`,elem:a,shift:o},{type:`elem`,elem:n,shift:0}]});else{var _=/cancel|phase/.test(r)?[`svg-align`]:[];g=q({positionType:`individualShift`,children:[{type:`elem`,elem:n,shift:0},{type:`elem`,elem:a,shift:o,wrapperClasses:_}]})}return/cancel/.test(r)&&(g.height=n.height,g.depth=n.depth),/cancel/.test(r)&&!s?K([`mord`,`cancel-lap`],[g],t):K([`mord`],[g],t)},mathmlBuilder:(e,t)=>{var n,r=new X(e.label.includes(`colorbox`)?`mpadded`:`menclose`,[Z(e.body,t)]);switch(e.label){case`\\cancel`:r.setAttribute(`notation`,`updiagonalstrike`);break;case`\\bcancel`:r.setAttribute(`notation`,`downdiagonalstrike`);break;case`\\phase`:r.setAttribute(`notation`,`phasorangle`);break;case`\\sout`:r.setAttribute(`notation`,`horizontalstrike`);break;case`\\fbox`:r.setAttribute(`notation`,`box`);break;case`\\angl`:r.setAttribute(`notation`,`actuarial`);break;case`\\fcolorbox`:case`\\colorbox`:if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute(`width`,`+`+2*n+`pt`),r.setAttribute(`height`,`+`+2*n+`pt`),r.setAttribute(`lspace`,n+`pt`),r.setAttribute(`voffset`,n+`pt`),e.label===`\\fcolorbox`){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute(`style`,`border: `+F(i)+` solid `+e.borderColor)}break;case`\\xcancel`:r.setAttribute(`notation`,`updiagonalstrike downdiagonalstrike`);break}return e.backgroundColor&&r.setAttribute(`mathbackground`,e.backgroundColor),r}}),J({type:`enclose`,names:[`\\fcolorbox`],numArgs:3,allowedInText:!0,argTypes:[`color`,`color`,`hbox`],handler(e,t,n){var r=e.parser,i=e.funcName,a=Q(t[0],`color-token`).color,o=Q(t[1],`color-token`).color,s=t[2];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}}}),J({type:`enclose`,names:[`\\fbox`],numArgs:1,argTypes:[`hbox`],allowedInText:!0,handler(e,t){return{type:`enclose`,mode:e.parser.mode,label:`\\fbox`,body:t[0]}}}),J({type:`enclose`,names:[`\\cancel`,`\\bcancel`,`\\xcancel`,`\\phase`],numArgs:1,handler(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}}}),J({type:`enclose`,names:[`\\sout`],numArgs:1,allowedInText:!0,handler(e,t){var n=e.parser,r=e.funcName;n.mode===`math`&&n.settings.reportNonstrict(`mathVsSout`,`LaTeX's \\sout works only in text mode`);var i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}}}),J({type:`enclose`,names:[`\\angl`],numArgs:1,argTypes:[`hbox`],allowedInText:!1,handler(e,t){return{type:`enclose`,mode:e.parser.mode,label:`\\angl`,body:t[0]}}});var Ml={};function Nl(e){for(var t=e.type,n=e.names,r=e.props,i=e.handler,a=e.htmlBuilder,o=e.mathmlBuilder,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},c=0;c<n.length;++c)Ml[n[c]]=s;a&&(Ls[t]=a),o&&(Rs[t]=o)}var Pl={};function $(e,t){Pl[e]=t}var Fl=class e{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new e(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}},Il=class e{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(t,n){return new e(n,Fl.range(this,t))}};function Ll(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n===`\\relax`&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n===`\\hline`||n===`\\hdashline`;)e.consume(),t.push(n===`\\hdashline`),e.consumeSpaces(),n=e.fetch().text;return t}var Rl=e=>{if(!e.parser.settings.displayMode)throw new N(`{`+e.envName+`} can be used only in display mode.`)},zl=new Set([`gather`,`gather*`]);function Bl(e){if(!e.includes(`ed`))return!e.includes(`*`)}function Vl(e,t,n){var r=t.hskipBeforeAndAfter,i=t.addJot,a=t.cols,o=t.arraystretch,s=t.colSeparationType,c=t.autoTag,l=t.singleRow,u=t.emptySingleRow,d=t.maxNumCols,f=t.leqno;if(e.gullet.beginGroup(),l||e.gullet.macros.set(`\\cr`,`\\\\\\relax`),!o){var p=e.gullet.expandMacroAsText(`\\arraystretch`);if(p==null)o=1;else if(o=parseFloat(p),!o||o<0)throw new N(`Invalid \\arraystretch: `+p)}e.gullet.beginGroup();var m=[],h=[m],g=[],_=[],v=c==null?void 0:[];function y(){c&&e.gullet.macros.set(`\\@eqnsw`,`1`,!0)}function b(){v&&(e.gullet.macros.get(`\\df@tag`)?(v.push(e.subparse([new Il(`\\df@tag`)])),e.gullet.macros.set(`\\df@tag`,void 0,!0)):v.push(!!c&&e.gullet.macros.get(`\\@eqnsw`)===`1`))}for(y(),_.push(Ll(e));;){var x=e.parseExpression(!1,l?`\\end`:`\\\\`);e.gullet.endGroup(),e.gullet.beginGroup();var S={type:`ordgroup`,mode:e.mode,body:x};n&&(S={type:`styling`,mode:e.mode,style:n,resetFont:!0,body:[S]}),m.push(S);var C=e.fetch().text;if(C===`&`){if(d&&m.length===d){if(l||s)throw new N(`Too many tab characters: &`,e.nextToken);e.settings.reportNonstrict(`textEnv`,`Too few columns specified in the {array} column argument.`)}e.consume()}else if(C===`\\end`){b(),m.length===1&&S.type===`styling`&&S.body.length===1&&S.body[0].type===`ordgroup`&&S.body[0].body.length===0&&(h.length>1||!u)&&h.pop(),_.length<h.length+1&&_.push([]);break}else if(C===`\\\\`){e.consume();var ee=void 0;e.gullet.future().text!==` `&&(ee=e.parseSizeGroup(!0)),g.push(ee?ee.value:null),b(),_.push(Ll(e)),m=[],h.push(m),y()}else throw new N(`Expected & or \\\\ or \\cr or \\end`,e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:`array`,mode:e.mode,addJot:i,arraystretch:o,body:h,cols:a,rowGaps:g,hskipBeforeAndAfter:r,hLinesBeforeRow:_,colSeparationType:s,tags:v,leqno:f}}function Hl(e){return e.slice(0,1)===`d`?`display`:`text`}var Ul=function(e,t){var n,r,i=e.body.length,a=e.hLinesBeforeRow,o=0,s=Array(i),c=[],l=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),u=1/t.fontMetrics().ptPerEm,d=5*u;e.colSeparationType&&e.colSeparationType===`small`&&(d=.2778*(t.havingStyle(P.SCRIPT).sizeMultiplier/t.sizeMultiplier));var f=e.colSeparationType===`CD`?eo({number:3,unit:`ex`},t):12*u,p=3*u,m=e.arraystretch*f,h=.7*m,g=.3*m,_=0;function v(e){for(var t=0;t<e.length;++t)t>0&&(_+=.25),c.push({pos:_,isDashed:e[t]})}for(v(a[0]),n=0;n<e.body.length;++n){var y=e.body[n],b=h,x=g;o<y.length&&(o=y.length);var S={cells:Array(y.length),height:0,depth:0,pos:0};for(r=0;r<y.length;++r){var C=Y(y[r],t);x<C.depth&&(x=C.depth),b<C.height&&(b=C.height),S.cells[r]=C}var ee=e.rowGaps[n],te=0;ee&&(te=eo(ee,t),te>0&&(te+=g,x<te&&(x=te),te=0)),e.addJot&&n<e.body.length-1&&(x+=p),S.height=b,S.depth=x,_+=b,S.pos=_,_+=x+te,s[n]=S,v(a[n+1])}var ne=_/2+t.fontMetrics().axisHeight,re=e.cols||[],ie=[],ae,oe,se=[];if(e.tags&&e.tags.some(e=>e))for(n=0;n<i;++n){var ce=s[n],le=ce.pos-ne,ue=e.tags[n],de=void 0;de=ue===!0?K([`eqn-num`],[],t):ue===!1?K([],[],t):K([],Ks(ue,t,!0),t),de.depth=ce.depth,de.height=ce.height,se.push({type:`elem`,elem:de,shift:le})}for(r=0,oe=0;r<o||oe<re.length;++r,++oe){for(var w=re[oe],fe=!0;(pe=w)?.type===`separator`;){var pe;if(fe||(ae=K([`arraycolsep`],[]),ae.style.width=F(t.fontMetrics().doubleRuleSep),ie.push(ae)),w.separator===`|`||w.separator===`:`){var me=w.separator===`|`?`solid`:`dashed`,he=K([`vertical-separator`],[],t);he.style.height=F(_),he.style.borderRightWidth=F(l),he.style.borderRightStyle=me,he.style.margin=`0 `+F(-l/2);var ge=_-ne;ge&&(he.style.verticalAlign=F(-ge)),ie.push(he)}else throw new N(`Invalid separator type: `+w.separator);oe++,w=re[oe],fe=!1}if(!(r>=o)){var _e=void 0;(r>0||e.hskipBeforeAndAfter)&&(_e=w?.pregap??d,_e!==0&&(ae=K([`arraycolsep`],[]),ae.style.width=F(_e),ie.push(ae)));var ve=[];for(n=0;n<i;++n){var ye=s[n],be=ye.cells[r];if(be){var T=ye.pos-ne;be.depth=ye.depth,be.height=ye.height,ve.push({type:`elem`,elem:be,shift:T})}}var xe=q({positionType:`individualShift`,children:ve}),Se=K([`col-align-`+(w?.align||`c`)],[xe]);ie.push(Se),(r<o-1||e.hskipBeforeAndAfter)&&(_e=w?.postgap??d,_e!==0&&(ae=K([`arraycolsep`],[]),ae.style.width=F(_e),ie.push(ae)))}}var Ce=K([`mtable`],ie);if(c.length>0){for(var we=xs(`katex-hline`,t,l),Te=xs(`katex-hdashline`,t,l),Ee=[{type:`elem`,elem:Ce,shift:0}];c.length>0;){var De=c.pop(),Oe=De.pos-ne;De.isDashed?Ee.push({type:`elem`,elem:Te,shift:Oe}):Ee.push({type:`elem`,elem:we,shift:Oe})}Ce=q({positionType:`individualShift`,children:Ee})}if(se.length===0)return K([`mord`],[Ce],t);var ke=K([`katex-tag`],[q({positionType:`individualShift`,children:se})],t);return Cs([Ce,ke])},Wl={c:`center `,l:`left `,r:`right `},Gl=function(e,t){for(var n=[],r=new X(`mtd`,[],[`mtr-glue`]),i=new X(`mtd`,[],[`mml-eqn-num`]),a=0;a<e.body.length;a++){for(var o=e.body[a],s=[],c=0;c<o.length;c++)s.push(new X(`mtd`,[Z(o[c],t)]));e.tags&&e.tags[a]&&(s.unshift(r),s.push(r),e.leqno?s.unshift(i):s.push(i)),n.push(new X(`mtr`,s))}var l=new X(`mtable`,n),u=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);l.setAttribute(`rowspacing`,F(u));var d=``,f=``;if(e.cols&&e.cols.length>0){var p=e.cols,m=``,h=!1,g=0,_=p.length;p[0].type===`separator`&&(d+=`top `,g=1),p[p.length-1].type===`separator`&&(d+=`bottom `,--_);for(var v=g;v<_;v++){var y=p[v];y.type===`align`?(f+=Wl[y.align],h&&(m+=`none `),h=!0):y.type===`separator`&&(h&&=(m+=y.separator===`|`?`solid `:`dashed `,!1))}l.setAttribute(`columnalign`,f.trim()),/[sd]/.test(m)&&l.setAttribute(`columnlines`,m.trim())}if(e.colSeparationType===`align`){for(var b=e.cols||[],x=``,S=1;S<b.length;S++)x+=S%2?`0em `:`1em `;l.setAttribute(`columnspacing`,x.trim())}else e.colSeparationType===`alignat`||e.colSeparationType===`gather`?l.setAttribute(`columnspacing`,`0em`):e.colSeparationType===`small`?l.setAttribute(`columnspacing`,`0.2778em`):e.colSeparationType===`CD`?l.setAttribute(`columnspacing`,`0.5em`):l.setAttribute(`columnspacing`,`1em`);var C=``,ee=e.hLinesBeforeRow;d+=ee[0].length>0?`left `:``,d+=ee[ee.length-1].length>0?`right `:``;for(var te=1;te<ee.length-1;te++)C+=ee[te].length===0?`none `:ee[te][0]?`dashed `:`solid `;return/[sd]/.test(C)&&l.setAttribute(`rowlines`,C.trim()),d!==``&&(l=new X(`menclose`,[l]),l.setAttribute(`notation`,d.trim())),e.arraystretch&&e.arraystretch<1&&(l=new X(`mstyle`,[l]),l.setAttribute(`scriptlevel`,`1`)),l},Kl=function(e,t){e.envName.includes(`ed`)||Rl(e);var n=[],r=e.envName===`split`,i=Vl(e.parser,{cols:n,addJot:!0,autoTag:r?void 0:Bl(e.envName),emptySingleRow:!0,colSeparationType:e.envName.includes(`at`)?`alignat`:`align`,maxNumCols:r?2:void 0,leqno:e.parser.settings.leqno},`display`),a=0,o=0,s={type:`ordgroup`,mode:e.mode,body:[]};if(t[0]&&t[0].type===`ordgroup`){for(var c=``,l=0;l<t[0].body.length;l++){var u=Q(t[0].body[l],`textord`);c+=u.text}a=Number(c),o=a*2}var d=!o;i.body.forEach(function(e){for(var t=1;t<e.length;t+=2)Q(Q(e[t],`styling`).body[0],`ordgroup`).body.unshift(s);if(d)o<e.length&&(o=e.length);else{var n=e.length/2;if(a<n)throw new N(`Too many math in a row: `+(`expected `+a+`, but got `+n),e[0])}});for(var f=0;f<o;++f){var p=`r`,m=0;f%2==1?p=`l`:f>0&&d&&(m=1),n[f]={type:`align`,align:p,pregap:m,postgap:0}}return i.colSeparationType=d?`align`:`alignat`,i};Nl({type:`array`,names:[`array`,`darray`],props:{numArgs:1},handler(e,t){var n=(Nc(t[0])?[t[0]]:Q(t[0],`ordgroup`).body).map(function(e){var t=Mc(e).text;if(`lcr`.includes(t))return{type:`align`,align:t};if(t===`|`)return{type:`separator`,separator:`|`};if(t===`:`)return{type:`separator`,separator:`:`};throw new N(`Unknown column alignment: `+t,e)}),r={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Vl(e.parser,r,Hl(e.envName))},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`matrix`,`pmatrix`,`bmatrix`,`Bmatrix`,`vmatrix`,`Vmatrix`,`matrix*`,`pmatrix*`,`bmatrix*`,`Bmatrix*`,`vmatrix*`,`Vmatrix*`],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:[`(`,`)`],bmatrix:[`[`,`]`],Bmatrix:[`\\{`,`\\}`],vmatrix:[`|`,`|`],Vmatrix:[`\\Vert`,`\\Vert`]}[e.envName.replace(`*`,``)],n=`c`,r={hskipBeforeAndAfter:!1,cols:[{type:`align`,align:n}]};if(e.envName.charAt(e.envName.length-1)===`*`){var i=e.parser;if(i.consumeSpaces(),i.fetch().text===`[`){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,!`lcr`.includes(n))throw new N(`Expected l or c or r`,i.nextToken);i.consume(),i.consumeSpaces(),i.expect(`]`),i.consume(),r.cols=[{type:`align`,align:n}]}}var a=Vl(e.parser,r,Hl(e.envName)),o=Math.max(0,...a.body.map(e=>e.length));return a.cols=Array(o).fill({type:`align`,align:n}),t?{type:`leftright`,mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`smallmatrix`],props:{numArgs:0},handler(e){var t=Vl(e.parser,{arraystretch:.5},`script`);return t.colSeparationType=`small`,t},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`subarray`],props:{numArgs:1},handler(e,t){var n=(Nc(t[0])?[t[0]]:Q(t[0],`ordgroup`).body).map(function(e){var t=Mc(e).text;if(`lc`.includes(t))return{type:`align`,align:t};throw new N(`Unknown column alignment: `+t,e)});if(n.length>1)throw new N(`{subarray} can contain only one column`);var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5},i=Vl(e.parser,r,`script`);if(i.body.length>0&&i.body[0].length>1)throw new N(`{subarray} can contain only one column`);return i},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`cases`,`dcases`,`rcases`,`drcases`],props:{numArgs:0},handler(e){var t=Vl(e.parser,{arraystretch:1.2,cols:[{type:`align`,align:`l`,pregap:0,postgap:1},{type:`align`,align:`l`,pregap:0,postgap:0}]},Hl(e.envName));return{type:`leftright`,mode:e.mode,body:[t],left:e.envName.includes(`r`)?`.`:`\\{`,right:e.envName.includes(`r`)?`\\}`:`.`,rightColor:void 0}},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`align`,`align*`,`aligned`,`split`],props:{numArgs:0},handler:Kl,htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`gathered`,`gather`,`gather*`],props:{numArgs:0},handler(e){zl.has(e.envName)&&Rl(e);var t={cols:[{type:`align`,align:`c`}],addJot:!0,colSeparationType:`gather`,autoTag:Bl(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Vl(e.parser,t,`display`)},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`alignat`,`alignat*`,`alignedat`],props:{numArgs:1},handler:Kl,htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`equation`,`equation*`],props:{numArgs:0},handler(e){Rl(e);var t={autoTag:Bl(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Vl(e.parser,t,`display`)},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`CD`],props:{numArgs:0},handler(e){return Rl(e),qc(e.parser)},htmlBuilder:Ul,mathmlBuilder:Gl}),$(`\\nonumber`,`\\gdef\\@eqnsw{0}`),$(`\\notag`,`\\nonumber`),J({type:`text`,names:[`\\hline`,`\\hdashline`],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(e,t){throw new N(e.funcName+` valid only within array environment`)}});var ql=Ml;J({type:`environment`,names:[`\\begin`,`\\end`],numArgs:1,argTypes:[`text`],handler(e,t){var n=e.parser,r=e.funcName,i=t[0];if(i.type!==`ordgroup`)throw new N(`Invalid environment name`,i);for(var a=``,o=0;o<i.body.length;++o)a+=Q(i.body[o],`textord`).text;if(r===`\\begin`){if(!Object.prototype.hasOwnProperty.call(ql,a))throw new N(`No such environment: `+a,i);var s=ql[a],c=n.parseArguments(`\\begin{`+a+`}`,s),l=c.args,u=c.optArgs,d={mode:n.mode,envName:a,parser:n},f=s.handler(d,l,u);n.expect(`\\end`,!1);var p=n.nextToken,m=Q(n.parseFunction(),`environment`);if(m.name!==a)throw new N(`Mismatch: \\begin{`+a+`} matched by \\end{`+m.name+`}`,p);return f}return{type:`environment`,mode:n.mode,name:a,nameGroup:i}}});var Jl=(e,t)=>{var n=e.font,r=t.withFont(n);return Y(e.body,r)},Yl=(e,t)=>{var n=e.font,r=t.withFont(n);return Z(e.body,r)},Xl={"\\Bbb":`\\mathbb`,"\\bold":`\\mathbf`,"\\frak":`\\mathfrak`};J({type:`font`,names:[`\\mathrm`,`\\mathit`,`\\mathbf`,`\\mathnormal`,`\\mathsfit`,`\\mathbb`,`\\mathcal`,`\\mathfrak`,`\\mathscr`,`\\mathsf`,`\\mathtt`,`\\Bbb`,`\\bold`,`\\frak`],numArgs:1,allowedInArgument:!0,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=Bs(t[0]),a=r in Xl?Xl[r]:r;return{type:`font`,mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:Jl,mathmlBuilder:Yl}),J({type:`mclass`,names:[`\\boldsymbol`,`\\bm`],numArgs:1,handler:(e,t)=>{var n=e.parser,r=t[0];return{type:`mclass`,mode:n.mode,mclass:Vc(r),body:[{type:`font`,mode:n.mode,font:`boldsymbol`,body:r}],isCharacterBox:la(r)}}}),J({type:`font`,names:[`\\rm`,`\\sf`,`\\tt`,`\\bf`,`\\it`,`\\cal`],numArgs:0,allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=e.breakOnTokenText,a=n.mode,o=n.parseExpression(!0,i);return{type:`font`,mode:a,font:`math`+r.slice(1),body:{type:`ordgroup`,mode:n.mode,body:o}}}});var Zl=(e,t)=>{var n=t.style,r=n.fracNum(),i=n.fracDen(),a=t.havingStyle(r),o=Y(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;o.height=o.height<s?s:o.height,o.depth=o.depth<c?c:o.depth}a=t.havingStyle(i);var l=Y(e.denom,a,t),u,d,f;e.hasBarLine?(e.barSize?(d=eo(e.barSize,t),u=xs(`frac-line`,t,d)):u=xs(`frac-line`,t),d=u.height,f=u.height):(u=null,d=0,f=t.fontMetrics().defaultRuleThickness);var p,m,h;n.size===P.DISPLAY.size?(p=t.fontMetrics().num1,m=d>0?3*f:7*f,h=t.fontMetrics().denom1):(d>0?(p=t.fontMetrics().num2,m=f):(p=t.fontMetrics().num3,m=3*f),h=t.fontMetrics().denom2);var g;if(u){var _=t.fontMetrics().axisHeight;p-o.depth-(_+.5*d)<m&&(p+=m-(p-o.depth-(_+.5*d))),_-.5*d-(l.height-h)<m&&(h+=m-(_-.5*d-(l.height-h)));var v=-(_-.5*d);g=q({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:u,shift:v},{type:`elem`,elem:o,shift:-p}]})}else{var y=p-o.depth-(l.height-h);y<m&&(p+=.5*(m-y),h+=.5*(m-y)),g=q({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:o,shift:-p}]})}a=t.havingStyle(n),g.height*=a.sizeMultiplier/t.sizeMultiplier,g.depth*=a.sizeMultiplier/t.sizeMultiplier;var b=n.size===P.DISPLAY.size?t.fontMetrics().delim1:n.size===P.SCRIPTSCRIPT.size?t.havingStyle(P.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,x=e.leftDelim==null?Zs(t,[`mopen`]):Tl(e.leftDelim,b,!0,t.havingStyle(n),e.mode,[`mopen`]),S=e.continued?K([]):e.rightDelim==null?Zs(t,[`mclose`]):Tl(e.rightDelim,b,!0,t.havingStyle(n),e.mode,[`mclose`]);return K([`mord`].concat(a.sizingClasses(t)),[x,K([`mfrac`],[g]),S],t)},Ql=(e,t)=>{var n=new X(`mfrac`,[Z(e.numer,t),Z(e.denom,t)]);if(!e.hasBarLine)n.setAttribute(`linethickness`,`0px`);else if(e.barSize){var r=eo(e.barSize,t);n.setAttribute(`linethickness`,F(r))}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var a=new X(`mo`,[new tc(e.leftDelim.replace(`\\`,``))]);a.setAttribute(`fence`,`true`),i.push(a)}if(i.push(n),e.rightDelim!=null){var o=new X(`mo`,[new tc(e.rightDelim.replace(`\\`,``))]);o.setAttribute(`fence`,`true`),i.push(o)}return oc(i)}return n},$l=(e,t)=>t?{type:`styling`,mode:e.mode,style:t,body:[e]}:e;J({type:`genfrac`,names:[`\\cfrac`,`\\dfrac`,`\\frac`,`\\tfrac`,`\\dbinom`,`\\binom`,`\\tbinom`,`\\\\atopfrac`,`\\\\bracefrac`,`\\\\brackfrac`],numArgs:2,allowedInArgument:!0,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=t[0],a=t[1],o,s=null,c=null;switch(r){case`\\cfrac`:case`\\dfrac`:case`\\frac`:case`\\tfrac`:o=!0;break;case`\\\\atopfrac`:o=!1;break;case`\\dbinom`:case`\\binom`:case`\\tbinom`:o=!1,s=`(`,c=`)`;break;case`\\\\bracefrac`:o=!1,s=`\\{`,c=`\\}`;break;case`\\\\brackfrac`:o=!1,s=`[`,c=`]`;break;default:throw Error(`Unrecognized genfrac command`)}var l=r===`\\cfrac`,u=null;return l||r.startsWith(`\\d`)?u=`display`:r.startsWith(`\\t`)&&(u=`text`),$l({type:`genfrac`,mode:n.mode,numer:i,denom:a,continued:l,hasBarLine:o,leftDelim:s,rightDelim:c,barSize:null},u)},htmlBuilder:Zl,mathmlBuilder:Ql}),J({type:`infix`,names:[`\\over`,`\\choose`,`\\atop`,`\\brace`,`\\brack`],numArgs:0,infix:!0,handler(e){var t=e.parser,n=e.funcName,r=e.token,i;switch(n){case`\\over`:i=`\\frac`;break;case`\\choose`:i=`\\binom`;break;case`\\atop`:i=`\\\\atopfrac`;break;case`\\brace`:i=`\\\\bracefrac`;break;case`\\brack`:i=`\\\\brackfrac`;break;default:throw Error(`Unrecognized infix genfrac command`)}return{type:`infix`,mode:t.mode,replaceWith:i,token:r}}});var eu=[`display`,`text`,`script`,`scriptscript`],tu=function(e){var t=null;return e.length>0&&(t=e,t=t===`.`?null:t),t};J({type:`genfrac`,names:[`\\genfrac`],numArgs:6,allowedInArgument:!0,argTypes:[`math`,`math`,`size`,`text`,`math`,`math`],handler(e,t){var n=e.parser,r=t[4],i=t[5],a=Bs(t[0]),o=a.type===`atom`&&a.family===`open`?tu(a.text):null,s=Bs(t[1]),c=s.type===`atom`&&s.family===`close`?tu(s.text):null,l=Q(t[2],`size`),u,d=null;l.isBlank?u=!0:(d=l.value,u=d.number>0);var f=null,p=t[3];if(p.type===`ordgroup`){if(p.body.length>0){var m=Q(p.body[0],`textord`);f=eu[Number(m.text)]}}else p=Q(p,`textord`),f=eu[Number(p.text)];return $l({type:`genfrac`,mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:c},f)}}),J({type:`infix`,names:[`\\above`],numArgs:1,argTypes:[`size`],infix:!0,handler(e,t){var n=e.parser;e.funcName;var r=e.token;return{type:`infix`,mode:n.mode,replaceWith:`\\\\abovefrac`,size:Q(t[0],`size`).value,token:r}}}),J({type:`genfrac`,names:[`\\\\abovefrac`],numArgs:3,argTypes:[`math`,`size`,`math`],handler:(e,t)=>{var n=e.parser;e.funcName;var r=t[0],i=Q(t[1],`infix`).size;if(!i)throw Error(`\\\\abovefrac expected size, but got `+String(i));var a=t[2],o=i.number>0;return{type:`genfrac`,mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null}}});var nu=(e,t)=>{var n=t.style,r,i;e.type===`supsub`?(r=e.sup?Y(e.sup,t.havingStyle(n.sup()),t):Y(e.sub,t.havingStyle(n.sub()),t),i=Q(e.base,`horizBrace`)):i=Q(e,`horizBrace`);var a=Y(i.base,t.havingBaseStyle(P.DISPLAY)),o=Tc(i,t),s=i.isOver?q({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:.1},{type:`elem`,elem:o,wrapperClasses:[`svg-align`]}]}):q({positionType:`bottom`,positionData:a.depth+.1+o.height,children:[{type:`elem`,elem:o,wrapperClasses:[`svg-align`]},{type:`kern`,size:.1},{type:`elem`,elem:a}]});if(r){var c=K([`minner`,i.isOver?`mover`:`munder`],[s],t);s=i.isOver?q({positionType:`firstBaseline`,children:[{type:`elem`,elem:c},{type:`kern`,size:.2},{type:`elem`,elem:r}]}):q({positionType:`bottom`,positionData:c.depth+.2+r.height+r.depth,children:[{type:`elem`,elem:r},{type:`kern`,size:.2},{type:`elem`,elem:c}]})}return K([`minner`,i.isOver?`mover`:`munder`],[s],t)};J({type:`horizBrace`,names:[`\\overbrace`,`\\underbrace`,`\\overbracket`,`\\underbracket`],numArgs:1,handler(e,t){var n=e.parser,r=e.funcName;return{type:`horizBrace`,mode:n.mode,label:r,isOver:r.includes(`\\over`),base:t[0]}},htmlBuilder:nu,mathmlBuilder:(e,t)=>{var n=Sc(e.label);return new X(e.isOver?`mover`:`munder`,[Z(e.base,t),n])}}),J({type:`href`,names:[`\\href`],numArgs:2,argTypes:[`url`,`original`],allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=t[1],i=Q(t[0],`url`).url;return n.settings.isTrusted({command:`\\href`,url:i})?{type:`href`,mode:n.mode,href:i,body:Vs(r)}:n.formatUnsupportedCmd(`\\href`)},htmlBuilder:(e,t)=>{var n=Ks(e.body,t,!1);return Ss(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=dc(e.body,t);return n instanceof X||(n=new X(`mrow`,[n])),n.setAttribute(`href`,e.href),n}}),J({type:`href`,names:[`\\url`],numArgs:1,argTypes:[`url`],allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=Q(t[0],`url`).url;if(!n.settings.isTrusted({command:`\\url`,url:r}))return n.formatUnsupportedCmd(`\\url`);for(var i=[],a=0;a<r.length;a++){var o=r[a];o===`~`&&(o=`\\textasciitilde`),i.push({type:`textord`,mode:`text`,text:o})}var s={type:`text`,mode:n.mode,font:`\\texttt`,body:i};return{type:`href`,mode:n.mode,href:r,body:Vs(s)}}}),J({type:`hbox`,names:[`\\hbox`],numArgs:1,argTypes:[`text`],allowedInText:!0,primitive:!0,handler(e,t){return{type:`hbox`,mode:e.parser.mode,body:Vs(t[0])}},htmlBuilder(e,t){return Cs(Ks(e.body,t.withFont(``),!1))},mathmlBuilder(e,t){return new X(`mrow`,uc(e.body,t.withFont(``)))}}),J({type:`html`,names:[`\\htmlClass`,`\\htmlId`,`\\htmlStyle`,`\\htmlData`],numArgs:2,argTypes:[`raw`,`original`],allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=e.funcName;e.token;var i=Q(t[0],`raw`).string,a=t[1];n.settings.strict&&n.settings.reportNonstrict(`htmlExtension`,`HTML extension is disabled on strict mode`);var o,s={};switch(r){case`\\htmlClass`:s.class=i,o={command:`\\htmlClass`,class:i};break;case`\\htmlId`:s.id=i,o={command:`\\htmlId`,id:i};break;case`\\htmlStyle`:s.style=i,o={command:`\\htmlStyle`,style:i};break;case`\\htmlData`:for(var c=`{,}`,l=[],u=``,d=0;d<i.length;d++)i.startsWith(c,d)?(u+=`,`,d+=c.length-1):i[d]===`,`?(l.push(u),u=``):u+=i[d];l.push(u);for(var f=0;f<l.length;f++){var p=l[f],m=p.indexOf(`=`);if(m<0)throw new N(`\\htmlData key/value '`+p+`' missing equals sign`);var h=p.slice(0,m),g=p.slice(m+1);s[`data-`+h.trim()]=g}o={command:`\\htmlData`,attributes:s};break;default:throw Error(`Unrecognized html command`)}return n.settings.isTrusted(o)?{type:`html`,mode:n.mode,attributes:s,body:Vs(a)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=Ks(e.body,t,!1),r=[`enclosing`];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=K(r,n,t);for(var a of Object.entries(e.attributes)){var o=a[0],s=a[1];o!==`class`&&i.setAttribute(o,s)}return i},mathmlBuilder:(e,t)=>dc(e.body,t)}),J({type:`htmlmathml`,names:[`\\html@mathml`],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(e,t)=>({type:`htmlmathml`,mode:e.parser.mode,html:Vs(t[0]),mathml:Vs(t[1])}),htmlBuilder:(e,t)=>Cs(Ks(e.html,t,!1)),mathmlBuilder:(e,t)=>dc(e.mathml,t)});var ru=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 N(`Invalid size: '`+e+`' in \\includegraphics`);var n={number:+(t[1]+t[2]),unit:t[3]};if(!$a(n))throw new N(`Invalid unit: '`+n.unit+`' in \\includegraphics.`);return n};J({type:`includegraphics`,names:[`\\includegraphics`],numArgs:1,numOptionalArgs:1,argTypes:[`raw`,`url`],allowedInText:!1,handler:(e,t,n)=>{var r=e.parser,i={number:0,unit:`em`},a={number:.9,unit:`em`},o={number:0,unit:`em`},s=``;if(n[0])for(var c=Q(n[0],`raw`).string.split(`,`),l=0;l<c.length;l++){var u=c[l].split(`=`);if(u.length===2){var d=u[1].trim();switch(u[0].trim()){case`alt`:s=d;break;case`width`:i=ru(d);break;case`height`:a=ru(d);break;case`totalheight`:o=ru(d);break;default:throw new N(`Invalid key: '`+u[0]+`' in \\includegraphics.`)}}}var f=Q(t[0],`url`).url;return s===``&&(s=f,s=s.replace(/^.*[\\/]/,``),s=s.substring(0,s.lastIndexOf(`.`))),r.settings.isTrusted({command:`\\includegraphics`,url:f})?{type:`includegraphics`,mode:r.mode,alt:s,width:i,height:a,totalheight:o,src:f}:r.formatUnsupportedCmd(`\\includegraphics`)},htmlBuilder:(e,t)=>{var n=eo(e.height,t),r=0;e.totalheight.number>0&&(r=eo(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=eo(e.width,t));var a={height:F(n+r)};i>0&&(a.width=F(i)),r>0&&(a.verticalAlign=F(-r));var o=new lo(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new X(`mglyph`,[]);n.setAttribute(`alt`,e.alt);var r=eo(e.height,t),i=0;if(e.totalheight.number>0&&(i=eo(e.totalheight,t)-r,n.setAttribute(`valign`,F(-i))),n.setAttribute(`height`,F(r+i)),e.width.number>0){var a=eo(e.width,t);n.setAttribute(`width`,F(a))}return n.setAttribute(`src`,e.src),n}}),J({type:`kern`,names:[`\\kern`,`\\mkern`,`\\hskip`,`\\mskip`],numArgs:1,argTypes:[`size`],primitive:!0,allowedInText:!0,handler(e,t){var n=e.parser,r=e.funcName,i=Q(t[0],`size`);if(n.settings.strict){var a=r[1]===`m`,o=i.value.unit===`mu`;a?(o||n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` supports only mu units, `+(`not `+i.value.unit+` units`)),n.mode!==`math`&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` works only in math mode`)):o&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` doesn't support mu units`)}return{type:`kern`,mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return Es(e.dimension,t)},mathmlBuilder(e,t){return new nc(eo(e.dimension,t))}}),J({type:`lap`,names:[`\\mathllap`,`\\mathrlap`,`\\mathclap`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=t[0];return{type:`lap`,mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment===`clap`?(n=K([],[Y(e.body,t)]),n=K([`katex-inner`],[n],t)):n=K([`katex-inner`],[Y(e.body,t)]);var r=K([`katex-fix`],[]),i=K([e.alignment],[n,r],t),a=K([`katex-strut`]);return a.style.height=F(i.height+i.depth),i.depth&&(a.style.verticalAlign=F(-i.depth)),i.children.unshift(a),i=K([`katex-thinbox`],[i],t),K([`mord`,`katex-vbox`],[i],t)},mathmlBuilder:(e,t)=>{var n=new X(`mpadded`,[Z(e.body,t)]);if(e.alignment!==`rlap`){var r=e.alignment===`llap`?`-1`:`-0.5`;n.setAttribute(`lspace`,r+`width`)}return n.setAttribute(`width`,`0px`),n}}),J({type:`styling`,names:[`\\(`,`$`],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){var n=e.funcName,r=e.parser,i=r.mode;r.switchMode(`math`);var a=n===`\\(`?`\\)`:`$`,o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:`styling`,mode:r.mode,style:`text`,resetFont:!0,body:o}}}),J({type:`text`,names:[`\\)`,`\\]`],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){throw new N(`Mismatched `+e.funcName)}});var iu=(e,t)=>{switch(t.style.size){case P.DISPLAY.size:return e.display;case P.TEXT.size:return e.text;case P.SCRIPT.size:return e.script;case P.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};J({type:`mathchoice`,names:[`\\mathchoice`],numArgs:4,primitive:!0,handler:(e,t)=>({type:`mathchoice`,mode:e.parser.mode,display:Vs(t[0]),text:Vs(t[1]),script:Vs(t[2]),scriptscript:Vs(t[3])}),htmlBuilder:(e,t)=>Cs(Ks(iu(e,t),t,!1)),mathmlBuilder:(e,t)=>dc(iu(e,t),t)});var au=(e,t,n,r,i,a,o)=>{e=K([],[e]);var s=n&&la(n),c,l;if(t){var u=Y(t,r.havingStyle(i.sup()),r);l={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var d=Y(n,r.havingStyle(i.sub()),r);c={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}var f;if(l&&c)f=q({positionType:`bottom`,positionData:r.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+e.depth+o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:c.elem,marginLeft:F(-a)},{type:`kern`,size:c.kern},{type:`elem`,elem:e},{type:`kern`,size:l.kern},{type:`elem`,elem:l.elem,marginLeft:F(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else if(c)f=q({positionType:`top`,positionData:e.height-o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:c.elem,marginLeft:F(-a)},{type:`kern`,size:c.kern},{type:`elem`,elem:e}]});else if(l)f=q({positionType:`bottom`,positionData:e.depth+o,children:[{type:`elem`,elem:e},{type:`kern`,size:l.kern},{type:`elem`,elem:l.elem,marginLeft:F(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else return e;var p=[f];if(c&&a!==0&&!s){var m=K([`mspace`],[],r);m.style.marginRight=F(a),p.unshift(m)}return K([`mop`,`op-limits`],p,r)},ou=new Set([`\\smallint`]),su=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`op`),i=!0):a=Q(e,`op`);var o=t.style,s=!1;o.size===P.DISPLAY.size&&a.symbol&&!ou.has(a.name)&&(s=!0);var c,l;if(a.symbol){var u=s?`Size2-Regular`:`Size1-Regular`,d=``;if((a.name===`\\oiint`||a.name===`\\oiiint`)&&(d=a.name.slice(1),a.name=d===`oiint`?`\\iint`:`\\iiint`),c=ps(a.name,u,`math`,t,[`mop`,`op-symbol`,s?`large-op`:`small-op`]),l=c.italic,d.length>0){var f=As(d+`Size`+(s?`2`:`1`),t);c=q({positionType:`individualShift`,children:[{type:`elem`,elem:c,shift:0},{type:`elem`,elem:f,shift:s?.08:0}]}),a.name=`\\`+d,c.classes.unshift(`mop`),c.italic=l}}else if(a.body){var p=Ks(a.body,t,!0);p.length===1&&p[0]instanceof fo?(c=p[0],c.classes[0]=`mop`):c=K([`mop`],p,t)}else{for(var m=[],h=1;h<a.name.length;h++)m.push(ms(a.name[h],a.mode,t));c=K([`mop`],m,t)}var g=0,_=0;return(c instanceof fo||a.name===`\\oiint`||a.name===`\\oiiint`)&&!a.suppressBaseShift&&(g=(c.height-c.depth)/2-t.fontMetrics().axisHeight,_=c.italic??0),i?au(c,n,r,t,o,_,g):(g&&(c.style.position=`relative`,c.style.top=F(g)),c)},cu=(e,t)=>{var n;if(e.symbol)n=new X(`mo`,[ac(e.name,e.mode)]),ou.has(e.name)&&n.setAttribute(`largeop`,`false`);else if(e.body)n=new X(`mo`,uc(e.body,t));else{n=new X(`mi`,[new tc(e.name.slice(1))]);var r=new X(`mo`,[ac(`⁡`,`text`)]);n=e.parentIsSupSub?new X(`mrow`,[n,r]):ec([n,r])}return n},lu={"∏":`\\prod`,"∐":`\\coprod`,"∑":`\\sum`,"⋀":`\\bigwedge`,"⋁":`\\bigvee`,"⋂":`\\bigcap`,"⋃":`\\bigcup`,"⨀":`\\bigodot`,"⨁":`\\bigoplus`,"⨂":`\\bigotimes`,"⨄":`\\biguplus`,"⨆":`\\bigsqcup`};J({type:`op`,names:`\\coprod.\\bigvee.\\bigwedge.\\biguplus.\\bigcap.\\bigcup.\\intop.\\prod.\\sum.\\bigotimes.\\bigoplus.\\bigodot.\\bigsqcup.\\smallint.∏.∐.∑.⋀.⋁.⋂.⋃.⨀.⨁.⨂.⨄.⨆`.split(`.`),numArgs:0,handler:(e,t)=>{var n=e.parser,r=e.funcName;return r.length===1&&(r=lu[r]),{type:`op`,mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:su,mathmlBuilder:cu}),J({type:`op`,names:[`\\mathop`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=e.parser,r=t[0];return{type:`op`,mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Vs(r)}}});var uu={"∫":`\\int`,"∬":`\\iint`,"∭":`\\iiint`,"∮":`\\oint`,"∯":`\\oiint`,"∰":`\\oiiint`};J({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`.split(`.`),numArgs:0,handler(e){var t=e.parser,n=e.funcName;return{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}}}),J({type:`op`,names:[`\\det`,`\\gcd`,`\\inf`,`\\lim`,`\\max`,`\\min`,`\\Pr`,`\\sup`],numArgs:0,handler(e){var t=e.parser,n=e.funcName;return{type:`op`,mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}}}),J({type:`op`,names:[`\\int`,`\\iint`,`\\iiint`,`\\oint`,`\\oiint`,`\\oiiint`,`∫`,`∬`,`∭`,`∮`,`∯`,`∰`],numArgs:0,allowedInArgument:!0,handler(e){var t=e.parser,n=e.funcName;return n.length===1&&(n=uu[n]),{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}}});var du=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`operatorname`),i=!0):a=Q(e,`operatorname`);var o;if(a.body.length>0){for(var s=Ks(a.body.map(e=>{var t=`text`in e?e.text:void 0;return typeof t==`string`?{type:`textord`,mode:e.mode,text:t}:e}),t.withFont(`mathrm`),!0),c=0;c<s.length;c++){var l=s[c];l instanceof fo&&(l.text=l.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`))}o=K([`mop`],s,t)}else o=K([`mop`],[],t);return i?au(o,n,r,t,t.style,0,0):o};J({type:`operatorname`,names:[`\\operatorname@`,`\\operatornamewithlimits`],numArgs:1,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=t[0];return{type:`operatorname`,mode:n.mode,body:Vs(i),alwaysHandleSupSub:r===`\\operatornamewithlimits`,limits:!1,parentIsSupSub:!1}},htmlBuilder:du,mathmlBuilder:(e,t)=>{for(var n=uc(e.body,t.withFont(`mathrm`)),r=!0,i=0;i<n.length;i++){var a=n[i];if(!(a instanceof nc))if(a instanceof X)switch(a.type){case`mi`:case`mn`:case`mspace`:case`mtext`:break;case`mo`:var o=a.children[0];a.children.length===1&&o instanceof tc?o.text=o.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`):r=!1;break;default:r=!1}else r=!1}r&&(n=[new tc(n.map(e=>e.toText()).join(``))]);var s=new X(`mi`,n);s.setAttribute(`mathvariant`,`normal`);var c=new X(`mo`,[ac(`⁡`,`text`)]);return e.parentIsSupSub?new X(`mrow`,[s,c]):ec([s,c])}}),$(`\\operatorname`,`\\@ifstar\\operatornamewithlimits\\operatorname@`),zs({type:`ordgroup`,htmlBuilder(e,t){return e.semisimple?Cs(Ks(e.body,t,!1)):K([`mord`],Ks(e.body,t,!0),t)},mathmlBuilder(e,t){return dc(e.body,t,!0)}}),J({type:`overline`,names:[`\\overline`],numArgs:1,handler(e,t){var n=e.parser,r=t[0];return{type:`overline`,mode:n.mode,body:r}},htmlBuilder(e,t){var n=Y(e.body,t.havingCrampedStyle()),r=xs(`overline-line`,t),i=t.fontMetrics().defaultRuleThickness;return K([`mord`,`katex-overline`],[q({positionType:`firstBaseline`,children:[{type:`elem`,elem:n},{type:`kern`,size:3*i},{type:`elem`,elem:r},{type:`kern`,size:i}]})],t)},mathmlBuilder(e,t){var n=new X(`mo`,[new tc(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new X(`mover`,[Z(e.body,t),n]);return r.setAttribute(`accent`,`true`),r}}),J({type:`phantom`,names:[`\\phantom`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=t[0];return{type:`phantom`,mode:n.mode,body:Vs(r)}},htmlBuilder:(e,t)=>Cs(Ks(e.body,t.withPhantom(),!1)),mathmlBuilder:(e,t)=>new X(`mphantom`,uc(e.body,t))}),$(`\\hphantom`,`\\smash{\\phantom{#1}}`),J({type:`vphantom`,names:[`\\vphantom`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=t[0];return{type:`vphantom`,mode:n.mode,body:r}},htmlBuilder:(e,t)=>K([`mord`,`rlap`],[K([`katex-inner`],[Y(e.body,t.withPhantom())]),K([`katex-fix`],[])],t),mathmlBuilder:(e,t)=>{var n=new X(`mpadded`,[new X(`mphantom`,uc(Vs(e.body),t))]);return n.setAttribute(`width`,`0px`),n}}),J({type:`raisebox`,names:[`\\raisebox`],numArgs:2,argTypes:[`size`,`hbox`],allowedInText:!0,handler(e,t){var n=e.parser,r=Q(t[0],`size`).value,i=t[1];return{type:`raisebox`,mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=Y(e.body,t);return q({positionType:`shift`,positionData:-eo(e.dy,t),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){var n=new X(`mpadded`,[Z(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute(`voffset`,r),n}}),J({type:`internal`,names:[`\\relax`],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(e){return{type:`internal`,mode:e.parser.mode}}}),J({type:`rule`,names:[`\\rule`],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`size`,`size`,`size`],handler(e,t,n){var r=e.parser,i=n[0],a=Q(t[0],`size`),o=Q(t[1],`size`);return{type:`rule`,mode:r.mode,shift:i&&Q(i,`size`).value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=K([`mord`,`katex-rule`],[],t),r=eo(e.width,t),i=eo(e.height,t),a=e.shift?eo(e.shift,t):0;return n.style.borderRightWidth=F(r),n.style.borderTopWidth=F(i),n.style.bottom=F(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=eo(e.width,t),r=eo(e.height,t),i=e.shift?eo(e.shift,t):0,a=t.color&&t.getColor()||`black`,o=new X(`mspace`);o.setAttribute(`mathbackground`,a),o.setAttribute(`width`,F(n)),o.setAttribute(`height`,F(r));var s=new X(`mpadded`,[o]);return i>=0?s.setAttribute(`height`,F(i)):(s.setAttribute(`height`,F(i)),s.setAttribute(`depth`,F(-i))),s.setAttribute(`voffset`,F(i)),s}});function fu(e,t,n){for(var r=Ks(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var o=r[a].classes.indexOf(`katex-sizing`);o<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[o+1]===`reset-size`+t.size&&(r[a].classes[o+1]=`reset-size`+n.size),r[a].height*=i,r[a].depth*=i}return Cs(r)}var pu=[`\\tiny`,`\\sixptsize`,`\\scriptsize`,`\\footnotesize`,`\\small`,`\\normalsize`,`\\large`,`\\Large`,`\\LARGE`,`\\huge`,`\\Huge`];J({type:`sizing`,names:pu,numArgs:0,allowedInText:!0,handler:(e,t)=>{var n=e.breakOnTokenText,r=e.funcName,i=e.parser,a=i.parseExpression(!1,n);return{type:`sizing`,mode:i.mode,size:pu.indexOf(r)+1,body:a}},htmlBuilder:(e,t)=>{var n=t.havingSize(e.size);return fu(e.body,n,t)},mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=new X(`mstyle`,uc(e.body,n));return r.setAttribute(`mathsize`,F(n.sizeMultiplier)),r}}),J({type:`smash`,names:[`\\smash`],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(e,t,n)=>{var r=e.parser,i=!1,a=!1,o=n[0]&&Q(n[0],`ordgroup`);if(o)for(var s,c=0;c<o.body.length;++c){var l=o.body[c];if(s=Mc(l).text,s===`t`)i=!0;else if(s===`b`)a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var u=t[0];return{type:`smash`,mode:r.mode,body:u,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var n=K([],[Y(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return K([`mord`,`katex-smash`],[n],t);if(n.children)for(var r=0;r<n.children.length;r++)e.smashHeight&&(n.children[r].height=0),e.smashDepth&&(n.children[r].depth=0);return K([`mord`],[q({positionType:`firstBaseline`,children:[{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=new X(`mpadded`,[Z(e.body,t)]);return e.smashHeight&&n.setAttribute(`height`,`0px`),e.smashDepth&&n.setAttribute(`depth`,`0px`),n}}),J({type:`sqrt`,names:[`\\sqrt`],numArgs:1,numOptionalArgs:1,handler(e,t,n){var r=e.parser,i=n[0],a=t[0];return{type:`sqrt`,mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=Y(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=ws(n,t);var r=t.fontMetrics().defaultRuleThickness,i=r;t.style.id<P.TEXT.id&&(i=t.fontMetrics().xHeight);var a=r+i/4,o=ml(n.height+n.depth+a+r,t),s=o.span,c=o.ruleWidth,l=o.advanceWidth,u=s.height-c;u>n.height+n.depth+a&&(a=(a+u-n.height-n.depth)/2);var d=s.height-n.height-a-c;n.style.paddingLeft=F(l);var f=q({positionType:`firstBaseline`,children:[{type:`elem`,elem:n,wrapperClasses:[`svg-align`]},{type:`kern`,size:-(n.height+d)},{type:`elem`,elem:s},{type:`kern`,size:c}]});if(e.index){var p=t.havingStyle(P.SCRIPTSCRIPT),m=Y(e.index,p,t);return K([`mord`,`sqrt`],[K([`katex-root`],[q({positionType:`shift`,positionData:-(.6*(f.height-f.depth)),children:[{type:`elem`,elem:m}]})]),f],t)}else return K([`mord`,`sqrt`],[f],t)},mathmlBuilder(e,t){var n=e.body,r=e.index;return r?new X(`mroot`,[Z(n,t),Z(r,t)]):new X(`msqrt`,[Z(n,t)])}});var mu={display:P.DISPLAY,text:P.TEXT,script:P.SCRIPT,scriptscript:P.SCRIPTSCRIPT};function hu(e){return e in mu}J({type:`styling`,names:[`\\displaystyle`,`\\textstyle`,`\\scriptstyle`,`\\scriptscriptstyle`],numArgs:0,allowedInText:!0,primitive:!0,handler(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);if(!hu(o))throw Error(`Unknown style: `+o);return{type:`styling`,mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=mu[e.style],r=t.havingStyle(n);return e.resetFont&&(r=r.withFont(``)),fu(e.body,r,t)},mathmlBuilder(e,t){var n=mu[e.style],r=t.havingStyle(n);e.resetFont&&(r=r.withFont(``));var i=new X(`mstyle`,uc(e.body,r)),a={display:[`0`,`true`],text:[`0`,`false`],script:[`1`,`false`],scriptscript:[`2`,`false`]}[e.style];return i.setAttribute(`scriptlevel`,a[0]),i.setAttribute(`displaystyle`,a[1]),i}});var gu=function(e,t){var n=e.base;return n?n.type===`op`?n.limits&&(t.style.size===P.DISPLAY.size||n.alwaysHandleSupSub)?su:null:n.type===`operatorname`?n.alwaysHandleSupSub&&(t.style.size===P.DISPLAY.size||n.limits)?du:null:n.type===`accent`?la(n.base)?Fc:null:n.type===`horizBrace`&&!e.sub===n.isOver?nu:null:null};zs({type:`supsub`,htmlBuilder(e,t){var n=gu(e,t);if(n)return n(e,t);var r=e.base,i=e.sup,a=e.sub,o=Y(r,t),s,c,l=t.fontMetrics(),u=0,d=0,f=r&&la(r);if(i){var p=t.havingStyle(t.style.sup());s=Y(i,p,t),f||(u=o.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(a){var m=t.havingStyle(t.style.sub());c=Y(a,m,t),f||(d=o.depth+m.fontMetrics().subDrop*m.sizeMultiplier/t.sizeMultiplier)}var h=t.style===P.DISPLAY?l.sup1:t.style.cramped?l.sup3:l.sup2,g=t.sizeMultiplier,_=F(.5/l.ptPerEm/g),v=null;if(c){var y=e.base&&e.base.type===`op`&&e.base.name&&(e.base.name===`\\oiint`||e.base.name===`\\oiiint`);(o instanceof fo||y)&&(v=F(-(o.italic??0)))}var b;if(s&&c){u=Math.max(u,h,s.depth+.25*l.xHeight),d=Math.max(d,l.sub2);var x=4*l.defaultRuleThickness;if(u-s.depth-(c.height-d)<x){d=x-(u-s.depth)+c.height;var S=.8*l.xHeight-(u-s.depth);S>0&&(u+=S,d-=S)}b=q({positionType:`individualShift`,children:[{type:`elem`,elem:c,shift:d,marginRight:_,marginLeft:v},{type:`elem`,elem:s,shift:-u,marginRight:_}]})}else if(c)d=Math.max(d,l.sub1,c.height-.8*l.xHeight),b=q({positionType:`shift`,positionData:d,children:[{type:`elem`,elem:c,marginLeft:v,marginRight:_}]});else if(s)u=Math.max(u,h,s.depth+.25*l.xHeight),b=q({positionType:`shift`,positionData:-u,children:[{type:`elem`,elem:s,marginRight:_}]});else throw Error(`supsub must have either sup or sub.`);return K([Xs(o,`right`)||`mord`],[o,K([`msupsub`],[b])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type===`horizBrace`&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type===`op`||e.base.type===`operatorname`)&&(e.base.parentIsSupSub=!0);var a=[Z(e.base,t)];e.sub&&a.push(Z(e.sub,t)),e.sup&&a.push(Z(e.sup,t));var o;if(n)o=r?`mover`:`munder`;else if(!e.sub){var s=e.base;o=s&&s.type===`op`&&s.limits&&(t.style===P.DISPLAY||s.alwaysHandleSupSub)||s&&s.type===`operatorname`&&s.alwaysHandleSupSub&&(s.limits||t.style===P.DISPLAY)?`mover`:`msup`}else if(e.sup){var c=e.base;o=c&&c.type===`op`&&c.limits&&t.style===P.DISPLAY||c&&c.type===`operatorname`&&c.alwaysHandleSupSub&&(t.style===P.DISPLAY||c.limits)?`munderover`:`msubsup`}else{var l=e.base;o=l&&l.type===`op`&&l.limits&&(t.style===P.DISPLAY||l.alwaysHandleSupSub)||l&&l.type===`operatorname`&&l.alwaysHandleSupSub&&(l.limits||t.style===P.DISPLAY)?`munder`:`msub`}return new X(o,a)}}),zs({type:`atom`,htmlBuilder(e,t){return ms(e.text,e.mode,t,[`m`+e.family])},mathmlBuilder(e,t){var n=new X(`mo`,[ac(e.text,e.mode)]);if(e.family===`bin`){var r=cc(e,t);r===`bold-italic`&&n.setAttribute(`mathvariant`,r)}else e.family===`punct`?n.setAttribute(`separator`,`true`):(e.family===`open`||e.family===`close`)&&n.setAttribute(`stretchy`,`false`);return n}});var _u={mi:`italic`,mn:`normal`,mtext:`normal`};zs({type:`mathord`,htmlBuilder(e,t){return gs(e,t)},mathmlBuilder(e,t){var n=new X(`mi`,[ac(e.text,e.mode,t)]),r=cc(e,t)||`italic`;return r!==_u[n.type]&&n.setAttribute(`mathvariant`,r),n}}),zs({type:`textord`,htmlBuilder(e,t){return gs(e,t)},mathmlBuilder(e,t){var n=ac(e.text,e.mode,t),r=cc(e,t)||`normal`,i=e.mode===`text`?new X(`mtext`,[n]):/[0-9]/.test(e.text)?new X(`mn`,[n]):e.text===`\\prime`?new X(`mo`,[n]):new X(`mi`,[n]);return r!==_u[i.type]&&i.setAttribute(`mathvariant`,r),i}});var vu=new Map([[`\\nobreak`,`nobreak`],[`\\allowbreak`,`allowbreak`]]),yu=new Map([[` `,{}],[`\\ `,{}],[`~`,{className:`nobreak`}],[`\\space`,{}],[`\\nobreakspace`,{className:`nobreak`}]]);zs({type:`spacing`,htmlBuilder(e,t){var n=yu.get(e.text),r=vu.get(e.text);if(n){var i=n.className||``;if(e.mode===`text`){var a=gs(e,t);return a.classes.push(i),a}else return K([`mspace`,i],[ms(e.text,e.mode,t)],t)}else if(r)return K([`mspace`,r],[],t);else throw new N(`Unknown type of space "`+e.text+`"`)},mathmlBuilder(e,t){var n;if(yu.has(e.text))n=new X(`mtext`,[new tc(`\xA0`)]);else if(vu.has(e.text))return new X(`mspace`);else throw new N(`Unknown type of space "`+e.text+`"`);return n}});var bu=()=>{var e=new X(`mtd`,[]);return e.setAttribute(`width`,`50%`),e};zs({type:`tag`,mathmlBuilder(e,t){var n=new X(`mtable`,[new X(`mtr`,[bu(),new X(`mtd`,[dc(e.body,t)]),bu(),new X(`mtd`,[dc(e.tag,t)])])]);return n.setAttribute(`width`,`100%`),n}});var xu={"\\text":void 0,"\\textrm":`textrm`,"\\textsf":`textsf`,"\\texttt":`texttt`,"\\textnormal":`textrm`},Su={"\\textbf":`textbf`,"\\textmd":`textmd`},Cu={"\\textit":`textit`,"\\textup":`textup`},wu=(e,t)=>{var n=e.font;return n?xu[n]?t.withTextFontFamily(xu[n]):Su[n]?t.withTextFontWeight(Su[n]):n===`\\emph`?t.fontShape===`textit`?t.withTextFontShape(`textup`):t.withTextFontShape(`textit`):t.withTextFontShape(Cu[n]):t};J({type:`text`,names:[`\\text`,`\\textrm`,`\\textsf`,`\\texttt`,`\\textnormal`,`\\textbf`,`\\textmd`,`\\textit`,`\\textup`,`\\emph`],numArgs:1,argTypes:[`text`],allowedInArgument:!0,allowedInText:!0,handler(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:`text`,mode:n.mode,body:Vs(i),font:r}},htmlBuilder(e,t){var n=wu(e,t);return K([`mord`,`text`],Ks(e.body,n,!0),n)},mathmlBuilder(e,t){var n=wu(e,t);return dc(e.body,n)}}),J({type:`underline`,names:[`\\underline`],numArgs:1,allowedInText:!0,handler(e,t){return{type:`underline`,mode:e.parser.mode,body:t[0]}},htmlBuilder(e,t){var n=Y(e.body,t),r=xs(`underline-line`,t),i=t.fontMetrics().defaultRuleThickness;return K([`mord`,`katex-underline`],[q({positionType:`top`,positionData:n.height,children:[{type:`kern`,size:i},{type:`elem`,elem:r},{type:`kern`,size:3*i},{type:`elem`,elem:n}]})],t)},mathmlBuilder(e,t){var n=new X(`mo`,[new tc(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new X(`munder`,[Z(e.body,t),n]);return r.setAttribute(`accentunder`,`true`),r}}),J({type:`vcenter`,names:[`\\vcenter`],numArgs:1,argTypes:[`original`],allowedInText:!1,handler(e,t){return{type:`vcenter`,mode:e.parser.mode,body:t[0]}},htmlBuilder(e,t){var n=Y(e.body,t),r=t.fontMetrics().axisHeight;return q({positionType:`shift`,positionData:.5*(n.height-r-(n.depth+r)),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){return new X(`mrow`,[new X(`mpadded`,[Z(e.body,t)],[`vcenter`])])}}),J({type:`verb`,names:[`\\verb`],numArgs:0,allowedInText:!0,handler(e,t,n){throw new N(`\\verb ended by end of line instead of matching delimiter`)},htmlBuilder(e,t){for(var n=Tu(e),r=[],i=t.havingStyle(t.style.text()),a=0;a<n.length;a++){var o=n[a];o===`~`&&(o=`\\textasciitilde`),r.push(ps(o,`Typewriter-Regular`,e.mode,i,[`mord`,`texttt`]))}return K([`mord`,`text`].concat(i.sizingClasses(t)),vs(r),i)},mathmlBuilder(e,t){var n=new X(`mtext`,[new tc(Tu(e))]);return n.setAttribute(`mathvariant`,`monospace`),n}});var Tu=e=>e.body.replace(/ /g,e.star?`␣`:`\xA0`),Eu=Is,Du=`[ \r
319
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw Error(`Unknown stretchy delimiter.`)}};function Ya(e){return`toText`in e}var Xa=class{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(Ya(e))return e.toText();throw Error(`Expected MathDomNode with toText, got `+e.constructor.name)}).join(``)}},Za={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},Qa={ex:!0,em:!0,mu:!0},$a=function(e){return typeof e!=`string`&&(e=e.unit),e in Za||e in Qa||e===`ex`},eo=function(e,t){var n;if(e.unit in Za)n=Za[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit===`mu`)n=t.fontMetrics().cssEmPerMu;else{var r=t.style.isTight()?t.havingStyle(t.style.text()):t;if(e.unit===`ex`)n=r.fontMetrics().xHeight;else if(e.unit===`em`)n=r.fontMetrics().quad;else throw new N(`Invalid unit: '`+e.unit+`'`);r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},F=function(e){return+e.toFixed(4)+`em`},to=function(e){return e.filter(e=>e).join(` `)},no=function(e){var t=``;for(var n of Object.keys(e)){var r=e[n];r!==void 0&&(t+=ra(n)+`:`+r+`;`)}return t},ro=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push(`mtight`);var r=t.getColor();r&&(this.style.color=r)}},io=function(e){var t=document.createElement(e);t.className=to(this.classes),Object.assign(t.style,this.style);for(var n of Object.keys(this.attributes))t.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},ao=/[\s"'>/=\x00-\x1f]/,oo=function(e){var t=`<`+e;this.classes.length&&(t+=` class="`+oa(to(this.classes))+`"`);var n=no(this.style);n&&(t+=` style="`+oa(n)+`"`);for(var r of Object.keys(this.attributes)){if(ao.test(r))throw new N(`Invalid attribute name '`+r+`'`);t+=` `+r+`="`+oa(this.attributes[r])+`"`}t+=`>`;for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+=`</`+e+`>`,t},so=class{constructor(e,t,n,r){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,ro.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return io.call(this,`span`)}toMarkup(){return oo.call(this,`span`)}},co=class{constructor(e,t,n,r){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,ro.call(this,t,r),this.children=n||[],this.setAttribute(`href`,e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return io.call(this,`a`)}toMarkup(){return oo.call(this,`a`)}},lo=class{constructor(e,t,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=[`mord`],this.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement(`img`);return e.src=this.src,e.alt=this.alt,e.className=`mord`,Object.assign(e.style,this.style),e}toMarkup(){var e=`<img src="`+oa(this.src)+`"`+(` alt="`+oa(this.alt)+`"`),t=no(this.style);return t&&(e+=` style="`+oa(t)+`"`),e+=`'/>`,e}},uo={î:`ı̂`,ï:`ı̈`,í:`ı́`,ì:`ı̀`},fo=class{constructor(e,t,n,r,i,a,o,s){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=n||0,this.italic=r||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var c=Na(this.text.charCodeAt(0));c&&this.classes.push(c+`_fallback`),/[îïíì]/.test(this.text)&&(this.text=uo[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=F(this.italic)),this.classes.length>0&&(t||=document.createElement(`span`),t.className=to(this.classes)),Object.keys(this.style).length>0&&(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+=oa(to(this.classes)),t+=`"`);var n=``;this.italic>0&&(n+=`margin-right:`+F(this.italic)+`;`),n+=no(this.style),n&&(e=!0,t+=` style="`+oa(n)+`"`);var r=oa(this.text);return e?(t+=`>`,t+=r,t+=`</span>`,t):r}},po=class{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){var e=`<svg xmlns="http://www.w3.org/2000/svg"`;for(var t of Object.keys(this.attributes))e+=` `+t+`="`+oa(this.attributes[t])+`"`;e+=`>`;for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+=`</svg>`,e}},mo=class{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return this.alternate?e.setAttribute(`d`,this.alternate):e.setAttribute(`d`,qa[this.pathName]),e}toMarkup(){return this.alternate?`<path d="`+oa(this.alternate)+`"/>`:`<path d="`+oa(qa[this.pathName])+`"/>`}},ho=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`line`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e=`<line`;for(var t of Object.keys(this.attributes))e+=` `+t+`="`+oa(this.attributes[t])+`"`;return e+=`/>`,e}};function go(e){if(e instanceof fo)return e;throw Error(`Expected symbolNode but got `+String(e)+`.`)}function _o(e){if(e instanceof so)return e;throw Error(`Expected span<HtmlDomNode> but got `+String(e)+`.`)}var vo=e=>e instanceof so||e instanceof co||e instanceof Xa,yo={"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]}},bo={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]},xo={Å:`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 So(e,t){yo[e]=t}function Co(e,t,n){if(!yo[t])throw Error(`Font metrics not found for font: `+t+`.`);var r=e.charCodeAt(0),i=yo[t][r];if(!i&&e[0]in xo&&(r=xo[e[0]].charCodeAt(0),i=yo[t][r]),!i&&n===`text`&&Fa(r)&&(i=yo[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var wo={};function To(e){var t=e>=5?0:e>=3?1:2;if(!wo[t]){var n=wo[t]={cssEmPerMu:bo.quad[t]/18};for(var r of Object.keys(bo))n[r]=bo[r][t]}return wo[t]}var Eo={math:{},text:{}};function I(e,t,n,r,i,a){Eo[e][i]={font:t,group:n,replace:r},a&&r&&(Eo[e][r]=Eo[e][i])}var L=`math`,R=`text`,z=`main`,B=`ams`,Do=`accent-token`,V=`bin`,Oo=`close`,ko=`inner`,H=`mathord`,Ao=`op-token`,jo=`open`,Mo=`punct`,U=`rel`,No=`spacing`,W=`textord`;I(L,z,U,`≡`,`\\equiv`,!0),I(L,z,U,`≺`,`\\prec`,!0),I(L,z,U,`≻`,`\\succ`,!0),I(L,z,U,`∼`,`\\sim`,!0),I(L,z,U,`⊥`,`\\perp`),I(L,z,U,`⪯`,`\\preceq`,!0),I(L,z,U,`⪰`,`\\succeq`,!0),I(L,z,U,`≃`,`\\simeq`,!0),I(L,z,U,`∣`,`\\mid`,!0),I(L,z,U,`≪`,`\\ll`,!0),I(L,z,U,`≫`,`\\gg`,!0),I(L,z,U,`≍`,`\\asymp`,!0),I(L,z,U,`∥`,`\\parallel`),I(L,z,U,`⋈`,`\\bowtie`,!0),I(L,z,U,`⌣`,`\\smile`,!0),I(L,z,U,`⊑`,`\\sqsubseteq`,!0),I(L,z,U,`⊒`,`\\sqsupseteq`,!0),I(L,z,U,`≐`,`\\doteq`,!0),I(L,z,U,`⌢`,`\\frown`,!0),I(L,z,U,`∋`,`\\ni`,!0),I(L,z,U,`∝`,`\\propto`,!0),I(L,z,U,`⊢`,`\\vdash`,!0),I(L,z,U,`⊣`,`\\dashv`,!0),I(L,z,U,`∋`,`\\owns`),I(L,z,Mo,`.`,`\\ldotp`),I(L,z,Mo,`⋅`,`\\cdotp`),I(L,z,Mo,`⋅`,`·`),I(R,z,W,`⋅`,`·`),I(L,z,W,`#`,`\\#`),I(R,z,W,`#`,`\\#`),I(L,z,W,`&`,`\\&`),I(R,z,W,`&`,`\\&`),I(L,z,W,`ℵ`,`\\aleph`,!0),I(L,z,W,`∀`,`\\forall`,!0),I(L,z,W,`ℏ`,`\\hbar`,!0),I(L,z,W,`∃`,`\\exists`,!0),I(L,z,W,`∇`,`\\nabla`,!0),I(L,z,W,`♭`,`\\flat`,!0),I(L,z,W,`ℓ`,`\\ell`,!0),I(L,z,W,`♮`,`\\natural`,!0),I(L,z,W,`♣`,`\\clubsuit`,!0),I(L,z,W,`℘`,`\\wp`,!0),I(L,z,W,`♯`,`\\sharp`,!0),I(L,z,W,`♢`,`\\diamondsuit`,!0),I(L,z,W,`ℜ`,`\\Re`,!0),I(L,z,W,`♡`,`\\heartsuit`,!0),I(L,z,W,`ℑ`,`\\Im`,!0),I(L,z,W,`♠`,`\\spadesuit`,!0),I(L,z,W,`§`,`\\S`,!0),I(R,z,W,`§`,`\\S`),I(L,z,W,`¶`,`\\P`,!0),I(R,z,W,`¶`,`\\P`),I(L,z,W,`†`,`\\dag`),I(R,z,W,`†`,`\\dag`),I(R,z,W,`†`,`\\textdagger`),I(L,z,W,`‡`,`\\ddag`),I(R,z,W,`‡`,`\\ddag`),I(R,z,W,`‡`,`\\textdaggerdbl`),I(L,z,Oo,`⎱`,`\\rmoustache`,!0),I(L,z,jo,`⎰`,`\\lmoustache`,!0),I(L,z,Oo,`⟯`,`\\rgroup`,!0),I(L,z,jo,`⟮`,`\\lgroup`,!0),I(L,z,V,`∓`,`\\mp`,!0),I(L,z,V,`⊖`,`\\ominus`,!0),I(L,z,V,`⊎`,`\\uplus`,!0),I(L,z,V,`⊓`,`\\sqcap`,!0),I(L,z,V,`∗`,`\\ast`),I(L,z,V,`⊔`,`\\sqcup`,!0),I(L,z,V,`◯`,`\\bigcirc`,!0),I(L,z,V,`∙`,`\\bullet`,!0),I(L,z,V,`‡`,`\\ddagger`),I(L,z,V,`≀`,`\\wr`,!0),I(L,z,V,`⨿`,`\\amalg`),I(L,z,V,`&`,`\\And`),I(L,z,U,`⟵`,`\\longleftarrow`,!0),I(L,z,U,`⇐`,`\\Leftarrow`,!0),I(L,z,U,`⟸`,`\\Longleftarrow`,!0),I(L,z,U,`⟶`,`\\longrightarrow`,!0),I(L,z,U,`⇒`,`\\Rightarrow`,!0),I(L,z,U,`⟹`,`\\Longrightarrow`,!0),I(L,z,U,`↔`,`\\leftrightarrow`,!0),I(L,z,U,`⟷`,`\\longleftrightarrow`,!0),I(L,z,U,`⇔`,`\\Leftrightarrow`,!0),I(L,z,U,`⟺`,`\\Longleftrightarrow`,!0),I(L,z,U,`↦`,`\\mapsto`,!0),I(L,z,U,`⟼`,`\\longmapsto`,!0),I(L,z,U,`↗`,`\\nearrow`,!0),I(L,z,U,`↩`,`\\hookleftarrow`,!0),I(L,z,U,`↪`,`\\hookrightarrow`,!0),I(L,z,U,`↘`,`\\searrow`,!0),I(L,z,U,`↼`,`\\leftharpoonup`,!0),I(L,z,U,`⇀`,`\\rightharpoonup`,!0),I(L,z,U,`↙`,`\\swarrow`,!0),I(L,z,U,`↽`,`\\leftharpoondown`,!0),I(L,z,U,`⇁`,`\\rightharpoondown`,!0),I(L,z,U,`↖`,`\\nwarrow`,!0),I(L,z,U,`⇌`,`\\rightleftharpoons`,!0),I(L,B,U,`≮`,`\\nless`,!0),I(L,B,U,``,`\\@nleqslant`),I(L,B,U,``,`\\@nleqq`),I(L,B,U,`⪇`,`\\lneq`,!0),I(L,B,U,`≨`,`\\lneqq`,!0),I(L,B,U,``,`\\@lvertneqq`),I(L,B,U,`⋦`,`\\lnsim`,!0),I(L,B,U,`⪉`,`\\lnapprox`,!0),I(L,B,U,`⊀`,`\\nprec`,!0),I(L,B,U,`⋠`,`\\npreceq`,!0),I(L,B,U,`⋨`,`\\precnsim`,!0),I(L,B,U,`⪹`,`\\precnapprox`,!0),I(L,B,U,`≁`,`\\nsim`,!0),I(L,B,U,``,`\\@nshortmid`),I(L,B,U,`∤`,`\\nmid`,!0),I(L,B,U,`⊬`,`\\nvdash`,!0),I(L,B,U,`⊭`,`\\nvDash`,!0),I(L,B,U,`⋪`,`\\ntriangleleft`),I(L,B,U,`⋬`,`\\ntrianglelefteq`,!0),I(L,B,U,`⊊`,`\\subsetneq`,!0),I(L,B,U,``,`\\@varsubsetneq`),I(L,B,U,`⫋`,`\\subsetneqq`,!0),I(L,B,U,``,`\\@varsubsetneqq`),I(L,B,U,`≯`,`\\ngtr`,!0),I(L,B,U,``,`\\@ngeqslant`),I(L,B,U,``,`\\@ngeqq`),I(L,B,U,`⪈`,`\\gneq`,!0),I(L,B,U,`≩`,`\\gneqq`,!0),I(L,B,U,``,`\\@gvertneqq`),I(L,B,U,`⋧`,`\\gnsim`,!0),I(L,B,U,`⪊`,`\\gnapprox`,!0),I(L,B,U,`⊁`,`\\nsucc`,!0),I(L,B,U,`⋡`,`\\nsucceq`,!0),I(L,B,U,`⋩`,`\\succnsim`,!0),I(L,B,U,`⪺`,`\\succnapprox`,!0),I(L,B,U,`≆`,`\\ncong`,!0),I(L,B,U,``,`\\@nshortparallel`),I(L,B,U,`∦`,`\\nparallel`,!0),I(L,B,U,`⊯`,`\\nVDash`,!0),I(L,B,U,`⋫`,`\\ntriangleright`),I(L,B,U,`⋭`,`\\ntrianglerighteq`,!0),I(L,B,U,``,`\\@nsupseteqq`),I(L,B,U,`⊋`,`\\supsetneq`,!0),I(L,B,U,``,`\\@varsupsetneq`),I(L,B,U,`⫌`,`\\supsetneqq`,!0),I(L,B,U,``,`\\@varsupsetneqq`),I(L,B,U,`⊮`,`\\nVdash`,!0),I(L,B,U,`⪵`,`\\precneqq`,!0),I(L,B,U,`⪶`,`\\succneqq`,!0),I(L,B,U,``,`\\@nsubseteqq`),I(L,B,V,`⊴`,`\\unlhd`),I(L,B,V,`⊵`,`\\unrhd`),I(L,B,U,`↚`,`\\nleftarrow`,!0),I(L,B,U,`↛`,`\\nrightarrow`,!0),I(L,B,U,`⇍`,`\\nLeftarrow`,!0),I(L,B,U,`⇏`,`\\nRightarrow`,!0),I(L,B,U,`↮`,`\\nleftrightarrow`,!0),I(L,B,U,`⇎`,`\\nLeftrightarrow`,!0),I(L,B,U,`△`,`\\vartriangle`),I(L,B,W,`ℏ`,`\\hslash`),I(L,B,W,`▽`,`\\triangledown`),I(L,B,W,`◊`,`\\lozenge`),I(L,B,W,`Ⓢ`,`\\circledS`),I(L,B,W,`®`,`\\circledR`),I(R,B,W,`®`,`\\circledR`),I(L,B,W,`∡`,`\\measuredangle`,!0),I(L,B,W,`∄`,`\\nexists`),I(L,B,W,`℧`,`\\mho`),I(L,B,W,`Ⅎ`,`\\Finv`,!0),I(L,B,W,`⅁`,`\\Game`,!0),I(L,B,W,`‵`,`\\backprime`),I(L,B,W,`▲`,`\\blacktriangle`),I(L,B,W,`▼`,`\\blacktriangledown`),I(L,B,W,`■`,`\\blacksquare`),I(L,B,W,`⧫`,`\\blacklozenge`),I(L,B,W,`★`,`\\bigstar`),I(L,B,W,`∢`,`\\sphericalangle`,!0),I(L,B,W,`∁`,`\\complement`,!0),I(L,B,W,`ð`,`\\eth`,!0),I(R,z,W,`ð`,`ð`),I(L,B,W,`╱`,`\\diagup`),I(L,B,W,`╲`,`\\diagdown`),I(L,B,W,`□`,`\\square`),I(L,B,W,`□`,`\\Box`),I(L,B,W,`◊`,`\\Diamond`),I(L,B,W,`¥`,`\\yen`,!0),I(R,B,W,`¥`,`\\yen`,!0),I(L,B,W,`✓`,`\\checkmark`,!0),I(R,B,W,`✓`,`\\checkmark`),I(L,B,W,`ℶ`,`\\beth`,!0),I(L,B,W,`ℸ`,`\\daleth`,!0),I(L,B,W,`ℷ`,`\\gimel`,!0),I(L,B,W,`ϝ`,`\\digamma`,!0),I(L,B,W,`ϰ`,`\\varkappa`),I(L,B,jo,`┌`,`\\@ulcorner`,!0),I(L,B,Oo,`┐`,`\\@urcorner`,!0),I(L,B,jo,`└`,`\\@llcorner`,!0),I(L,B,Oo,`┘`,`\\@lrcorner`,!0),I(L,B,U,`≦`,`\\leqq`,!0),I(L,B,U,`⩽`,`\\leqslant`,!0),I(L,B,U,`⪕`,`\\eqslantless`,!0),I(L,B,U,`≲`,`\\lesssim`,!0),I(L,B,U,`⪅`,`\\lessapprox`,!0),I(L,B,U,`≊`,`\\approxeq`,!0),I(L,B,V,`⋖`,`\\lessdot`),I(L,B,U,`⋘`,`\\lll`,!0),I(L,B,U,`≶`,`\\lessgtr`,!0),I(L,B,U,`⋚`,`\\lesseqgtr`,!0),I(L,B,U,`⪋`,`\\lesseqqgtr`,!0),I(L,B,U,`≑`,`\\doteqdot`),I(L,B,U,`≓`,`\\risingdotseq`,!0),I(L,B,U,`≒`,`\\fallingdotseq`,!0),I(L,B,U,`∽`,`\\backsim`,!0),I(L,B,U,`⋍`,`\\backsimeq`,!0),I(L,B,U,`⫅`,`\\subseteqq`,!0),I(L,B,U,`⋐`,`\\Subset`,!0),I(L,B,U,`⊏`,`\\sqsubset`,!0),I(L,B,U,`≼`,`\\preccurlyeq`,!0),I(L,B,U,`⋞`,`\\curlyeqprec`,!0),I(L,B,U,`≾`,`\\precsim`,!0),I(L,B,U,`⪷`,`\\precapprox`,!0),I(L,B,U,`⊲`,`\\vartriangleleft`),I(L,B,U,`⊴`,`\\trianglelefteq`),I(L,B,U,`⊨`,`\\vDash`,!0),I(L,B,U,`⊪`,`\\Vvdash`,!0),I(L,B,U,`⌣`,`\\smallsmile`),I(L,B,U,`⌢`,`\\smallfrown`),I(L,B,U,`≏`,`\\bumpeq`,!0),I(L,B,U,`≎`,`\\Bumpeq`,!0),I(L,B,U,`≧`,`\\geqq`,!0),I(L,B,U,`⩾`,`\\geqslant`,!0),I(L,B,U,`⪖`,`\\eqslantgtr`,!0),I(L,B,U,`≳`,`\\gtrsim`,!0),I(L,B,U,`⪆`,`\\gtrapprox`,!0),I(L,B,V,`⋗`,`\\gtrdot`),I(L,B,U,`⋙`,`\\ggg`,!0),I(L,B,U,`≷`,`\\gtrless`,!0),I(L,B,U,`⋛`,`\\gtreqless`,!0),I(L,B,U,`⪌`,`\\gtreqqless`,!0),I(L,B,U,`≖`,`\\eqcirc`,!0),I(L,B,U,`≗`,`\\circeq`,!0),I(L,B,U,`≜`,`\\triangleq`,!0),I(L,B,U,`∼`,`\\thicksim`),I(L,B,U,`≈`,`\\thickapprox`),I(L,B,U,`⫆`,`\\supseteqq`,!0),I(L,B,U,`⋑`,`\\Supset`,!0),I(L,B,U,`⊐`,`\\sqsupset`,!0),I(L,B,U,`≽`,`\\succcurlyeq`,!0),I(L,B,U,`⋟`,`\\curlyeqsucc`,!0),I(L,B,U,`≿`,`\\succsim`,!0),I(L,B,U,`⪸`,`\\succapprox`,!0),I(L,B,U,`⊳`,`\\vartriangleright`),I(L,B,U,`⊵`,`\\trianglerighteq`),I(L,B,U,`⊩`,`\\Vdash`,!0),I(L,B,U,`∣`,`\\shortmid`),I(L,B,U,`∥`,`\\shortparallel`),I(L,B,U,`≬`,`\\between`,!0),I(L,B,U,`⋔`,`\\pitchfork`,!0),I(L,B,U,`∝`,`\\varpropto`),I(L,B,U,`◀`,`\\blacktriangleleft`),I(L,B,U,`∴`,`\\therefore`,!0),I(L,B,U,`∍`,`\\backepsilon`),I(L,B,U,`▶`,`\\blacktriangleright`),I(L,B,U,`∵`,`\\because`,!0),I(L,B,U,`⋘`,`\\llless`),I(L,B,U,`⋙`,`\\gggtr`),I(L,B,V,`⊲`,`\\lhd`),I(L,B,V,`⊳`,`\\rhd`),I(L,B,U,`≂`,`\\eqsim`,!0),I(L,z,U,`⋈`,`\\Join`),I(L,B,U,`≑`,`\\Doteq`,!0),I(L,B,V,`∔`,`\\dotplus`,!0),I(L,B,V,`∖`,`\\smallsetminus`),I(L,B,V,`⋒`,`\\Cap`,!0),I(L,B,V,`⋓`,`\\Cup`,!0),I(L,B,V,`⩞`,`\\doublebarwedge`,!0),I(L,B,V,`⊟`,`\\boxminus`,!0),I(L,B,V,`⊞`,`\\boxplus`,!0),I(L,B,V,`⋇`,`\\divideontimes`,!0),I(L,B,V,`⋉`,`\\ltimes`,!0),I(L,B,V,`⋊`,`\\rtimes`,!0),I(L,B,V,`⋋`,`\\leftthreetimes`,!0),I(L,B,V,`⋌`,`\\rightthreetimes`,!0),I(L,B,V,`⋏`,`\\curlywedge`,!0),I(L,B,V,`⋎`,`\\curlyvee`,!0),I(L,B,V,`⊝`,`\\circleddash`,!0),I(L,B,V,`⊛`,`\\circledast`,!0),I(L,B,V,`⋅`,`\\centerdot`),I(L,B,V,`⊺`,`\\intercal`,!0),I(L,B,V,`⋒`,`\\doublecap`),I(L,B,V,`⋓`,`\\doublecup`),I(L,B,V,`⊠`,`\\boxtimes`,!0),I(L,B,U,`⇢`,`\\dashrightarrow`,!0),I(L,B,U,`⇠`,`\\dashleftarrow`,!0),I(L,B,U,`⇇`,`\\leftleftarrows`,!0),I(L,B,U,`⇆`,`\\leftrightarrows`,!0),I(L,B,U,`⇚`,`\\Lleftarrow`,!0),I(L,B,U,`↞`,`\\twoheadleftarrow`,!0),I(L,B,U,`↢`,`\\leftarrowtail`,!0),I(L,B,U,`↫`,`\\looparrowleft`,!0),I(L,B,U,`⇋`,`\\leftrightharpoons`,!0),I(L,B,U,`↶`,`\\curvearrowleft`,!0),I(L,B,U,`↺`,`\\circlearrowleft`,!0),I(L,B,U,`↰`,`\\Lsh`,!0),I(L,B,U,`⇈`,`\\upuparrows`,!0),I(L,B,U,`↿`,`\\upharpoonleft`,!0),I(L,B,U,`⇃`,`\\downharpoonleft`,!0),I(L,z,U,`⊶`,`\\origof`,!0),I(L,z,U,`⊷`,`\\imageof`,!0),I(L,B,U,`⊸`,`\\multimap`,!0),I(L,B,U,`↭`,`\\leftrightsquigarrow`,!0),I(L,B,U,`⇉`,`\\rightrightarrows`,!0),I(L,B,U,`⇄`,`\\rightleftarrows`,!0),I(L,B,U,`↠`,`\\twoheadrightarrow`,!0),I(L,B,U,`↣`,`\\rightarrowtail`,!0),I(L,B,U,`↬`,`\\looparrowright`,!0),I(L,B,U,`↷`,`\\curvearrowright`,!0),I(L,B,U,`↻`,`\\circlearrowright`,!0),I(L,B,U,`↱`,`\\Rsh`,!0),I(L,B,U,`⇊`,`\\downdownarrows`,!0),I(L,B,U,`↾`,`\\upharpoonright`,!0),I(L,B,U,`⇂`,`\\downharpoonright`,!0),I(L,B,U,`⇝`,`\\rightsquigarrow`,!0),I(L,B,U,`⇝`,`\\leadsto`),I(L,B,U,`⇛`,`\\Rrightarrow`,!0),I(L,B,U,`↾`,`\\restriction`),I(L,z,W,`‘`,"`"),I(L,z,W,`$`,`\\$`),I(R,z,W,`$`,`\\$`),I(R,z,W,`$`,`\\textdollar`),I(L,z,W,`%`,`\\%`),I(R,z,W,`%`,`\\%`),I(L,z,W,`_`,`\\_`),I(R,z,W,`_`,`\\_`),I(R,z,W,`_`,`\\textunderscore`),I(L,z,W,`∠`,`\\angle`,!0),I(L,z,W,`∞`,`\\infty`,!0),I(L,z,W,`′`,`\\prime`),I(L,z,W,`△`,`\\triangle`),I(L,z,W,`Γ`,`\\Gamma`,!0),I(L,z,W,`Δ`,`\\Delta`,!0),I(L,z,W,`Θ`,`\\Theta`,!0),I(L,z,W,`Λ`,`\\Lambda`,!0),I(L,z,W,`Ξ`,`\\Xi`,!0),I(L,z,W,`Π`,`\\Pi`,!0),I(L,z,W,`Σ`,`\\Sigma`,!0),I(L,z,W,`Υ`,`\\Upsilon`,!0),I(L,z,W,`Φ`,`\\Phi`,!0),I(L,z,W,`Ψ`,`\\Psi`,!0),I(L,z,W,`Ω`,`\\Omega`,!0),I(L,z,W,`A`,`Α`),I(L,z,W,`B`,`Β`),I(L,z,W,`E`,`Ε`),I(L,z,W,`Z`,`Ζ`),I(L,z,W,`H`,`Η`),I(L,z,W,`I`,`Ι`),I(L,z,W,`K`,`Κ`),I(L,z,W,`M`,`Μ`),I(L,z,W,`N`,`Ν`),I(L,z,W,`O`,`Ο`),I(L,z,W,`P`,`Ρ`),I(L,z,W,`T`,`Τ`),I(L,z,W,`X`,`Χ`),I(L,z,W,`¬`,`\\neg`,!0),I(L,z,W,`¬`,`\\lnot`),I(L,z,W,`⊤`,`\\top`),I(L,z,W,`⊥`,`\\bot`),I(L,z,W,`∅`,`\\emptyset`),I(L,B,W,`∅`,`\\varnothing`),I(L,z,H,`α`,`\\alpha`,!0),I(L,z,H,`β`,`\\beta`,!0),I(L,z,H,`γ`,`\\gamma`,!0),I(L,z,H,`δ`,`\\delta`,!0),I(L,z,H,`ϵ`,`\\epsilon`,!0),I(L,z,H,`ζ`,`\\zeta`,!0),I(L,z,H,`η`,`\\eta`,!0),I(L,z,H,`θ`,`\\theta`,!0),I(L,z,H,`ι`,`\\iota`,!0),I(L,z,H,`κ`,`\\kappa`,!0),I(L,z,H,`λ`,`\\lambda`,!0),I(L,z,H,`μ`,`\\mu`,!0),I(L,z,H,`ν`,`\\nu`,!0),I(L,z,H,`ξ`,`\\xi`,!0),I(L,z,H,`ο`,`\\omicron`,!0),I(L,z,H,`π`,`\\pi`,!0),I(L,z,H,`ρ`,`\\rho`,!0),I(L,z,H,`σ`,`\\sigma`,!0),I(L,z,H,`τ`,`\\tau`,!0),I(L,z,H,`υ`,`\\upsilon`,!0),I(L,z,H,`ϕ`,`\\phi`,!0),I(L,z,H,`χ`,`\\chi`,!0),I(L,z,H,`ψ`,`\\psi`,!0),I(L,z,H,`ω`,`\\omega`,!0),I(L,z,H,`ε`,`\\varepsilon`,!0),I(L,z,H,`ϑ`,`\\vartheta`,!0),I(L,z,H,`ϖ`,`\\varpi`,!0),I(L,z,H,`ϱ`,`\\varrho`,!0),I(L,z,H,`ς`,`\\varsigma`,!0),I(L,z,H,`φ`,`\\varphi`,!0),I(L,z,V,`∗`,`*`,!0),I(L,z,V,`+`,`+`),I(L,z,V,`−`,`-`,!0),I(L,z,V,`⋅`,`\\cdot`,!0),I(L,z,V,`∘`,`\\circ`,!0),I(L,z,V,`÷`,`\\div`,!0),I(L,z,V,`±`,`\\pm`,!0),I(L,z,V,`×`,`\\times`,!0),I(L,z,V,`∩`,`\\cap`,!0),I(L,z,V,`∪`,`\\cup`,!0),I(L,z,V,`∖`,`\\setminus`,!0),I(L,z,V,`∧`,`\\land`),I(L,z,V,`∨`,`\\lor`),I(L,z,V,`∧`,`\\wedge`,!0),I(L,z,V,`∨`,`\\vee`,!0),I(L,z,W,`√`,`\\surd`),I(L,z,jo,`⟨`,`\\langle`,!0),I(L,z,jo,`∣`,`\\lvert`),I(L,z,jo,`∥`,`\\lVert`),I(L,z,Oo,`?`,`?`),I(L,z,Oo,`!`,`!`),I(L,z,Oo,`⟩`,`\\rangle`,!0),I(L,z,Oo,`∣`,`\\rvert`),I(L,z,Oo,`∥`,`\\rVert`),I(L,z,U,`=`,`=`),I(L,z,U,`:`,`:`),I(L,z,U,`≈`,`\\approx`,!0),I(L,z,U,`≅`,`\\cong`,!0),I(L,z,U,`≥`,`\\ge`),I(L,z,U,`≥`,`\\geq`,!0),I(L,z,U,`←`,`\\gets`),I(L,z,U,`>`,`\\gt`,!0),I(L,z,U,`∈`,`\\in`,!0),I(L,z,U,``,`\\@not`),I(L,z,U,`⊂`,`\\subset`,!0),I(L,z,U,`⊃`,`\\supset`,!0),I(L,z,U,`⊆`,`\\subseteq`,!0),I(L,z,U,`⊇`,`\\supseteq`,!0),I(L,B,U,`⊈`,`\\nsubseteq`,!0),I(L,B,U,`⊉`,`\\nsupseteq`,!0),I(L,z,U,`⊨`,`\\models`),I(L,z,U,`←`,`\\leftarrow`,!0),I(L,z,U,`≤`,`\\le`),I(L,z,U,`≤`,`\\leq`,!0),I(L,z,U,`<`,`\\lt`,!0),I(L,z,U,`→`,`\\rightarrow`,!0),I(L,z,U,`→`,`\\to`),I(L,B,U,`≱`,`\\ngeq`,!0),I(L,B,U,`≰`,`\\nleq`,!0),I(L,z,No,`\xA0`,`\\ `),I(L,z,No,`\xA0`,`\\space`),I(L,z,No,`\xA0`,`\\nobreakspace`),I(R,z,No,`\xA0`,`\\ `),I(R,z,No,`\xA0`,` `),I(R,z,No,`\xA0`,`\\space`),I(R,z,No,`\xA0`,`\\nobreakspace`),I(L,z,No,``,`\\nobreak`),I(L,z,No,``,`\\allowbreak`),I(L,z,Mo,`,`,`,`),I(L,z,Mo,`;`,`;`),I(L,B,V,`⊼`,`\\barwedge`,!0),I(L,B,V,`⊻`,`\\veebar`,!0),I(L,z,V,`⊙`,`\\odot`,!0),I(L,z,V,`⊕`,`\\oplus`,!0),I(L,z,V,`⊗`,`\\otimes`,!0),I(L,z,W,`∂`,`\\partial`,!0),I(L,z,V,`⊘`,`\\oslash`,!0),I(L,B,V,`⊚`,`\\circledcirc`,!0),I(L,B,V,`⊡`,`\\boxdot`,!0),I(L,z,V,`△`,`\\bigtriangleup`),I(L,z,V,`▽`,`\\bigtriangledown`),I(L,z,V,`†`,`\\dagger`),I(L,z,V,`⋄`,`\\diamond`),I(L,z,V,`⋆`,`\\star`),I(L,z,V,`◃`,`\\triangleleft`),I(L,z,V,`▹`,`\\triangleright`),I(L,z,jo,`{`,`\\{`),I(R,z,W,`{`,`\\{`),I(R,z,W,`{`,`\\textbraceleft`),I(L,z,Oo,`}`,`\\}`),I(R,z,W,`}`,`\\}`),I(R,z,W,`}`,`\\textbraceright`),I(L,z,jo,`{`,`\\lbrace`),I(L,z,Oo,`}`,`\\rbrace`),I(L,z,jo,`[`,`\\lbrack`,!0),I(R,z,W,`[`,`\\lbrack`,!0),I(L,z,Oo,`]`,`\\rbrack`,!0),I(R,z,W,`]`,`\\rbrack`,!0),I(L,z,jo,`(`,`\\lparen`,!0),I(L,z,Oo,`)`,`\\rparen`,!0),I(R,z,W,`<`,`\\textless`,!0),I(R,z,W,`>`,`\\textgreater`,!0),I(L,z,jo,`⌊`,`\\lfloor`,!0),I(L,z,Oo,`⌋`,`\\rfloor`,!0),I(L,z,jo,`⌈`,`\\lceil`,!0),I(L,z,Oo,`⌉`,`\\rceil`,!0),I(L,z,W,`\\`,`\\backslash`),I(L,z,W,`∣`,`|`),I(L,z,W,`∣`,`\\vert`),I(R,z,W,`|`,`\\textbar`,!0),I(L,z,W,`∥`,`\\|`),I(L,z,W,`∥`,`\\Vert`),I(R,z,W,`∥`,`\\textbardbl`),I(R,z,W,`~`,`\\textasciitilde`),I(R,z,W,`\\`,`\\textbackslash`),I(R,z,W,`^`,`\\textasciicircum`),I(L,z,U,`↑`,`\\uparrow`,!0),I(L,z,U,`⇑`,`\\Uparrow`,!0),I(L,z,U,`↓`,`\\downarrow`,!0),I(L,z,U,`⇓`,`\\Downarrow`,!0),I(L,z,U,`↕`,`\\updownarrow`,!0),I(L,z,U,`⇕`,`\\Updownarrow`,!0),I(L,z,Ao,`∐`,`\\coprod`),I(L,z,Ao,`⋁`,`\\bigvee`),I(L,z,Ao,`⋀`,`\\bigwedge`),I(L,z,Ao,`⨄`,`\\biguplus`),I(L,z,Ao,`⋂`,`\\bigcap`),I(L,z,Ao,`⋃`,`\\bigcup`),I(L,z,Ao,`∫`,`\\int`),I(L,z,Ao,`∫`,`\\intop`),I(L,z,Ao,`∬`,`\\iint`),I(L,z,Ao,`∭`,`\\iiint`),I(L,z,Ao,`∏`,`\\prod`),I(L,z,Ao,`∑`,`\\sum`),I(L,z,Ao,`⨂`,`\\bigotimes`),I(L,z,Ao,`⨁`,`\\bigoplus`),I(L,z,Ao,`⨀`,`\\bigodot`),I(L,z,Ao,`∮`,`\\oint`),I(L,z,Ao,`∯`,`\\oiint`),I(L,z,Ao,`∰`,`\\oiiint`),I(L,z,Ao,`⨆`,`\\bigsqcup`),I(L,z,Ao,`∫`,`\\smallint`),I(R,z,ko,`…`,`\\textellipsis`),I(L,z,ko,`…`,`\\mathellipsis`),I(R,z,ko,`…`,`\\ldots`,!0),I(L,z,ko,`…`,`\\ldots`,!0),I(L,z,ko,`⋯`,`\\@cdots`,!0),I(L,z,ko,`⋱`,`\\ddots`,!0),I(L,z,W,`⋮`,`\\varvdots`),I(R,z,W,`⋮`,`\\varvdots`),I(L,z,Do,`ˊ`,`\\acute`),I(L,z,Do,`ˋ`,`\\grave`),I(L,z,Do,`¨`,`\\ddot`),I(L,z,Do,`~`,`\\tilde`),I(L,z,Do,`ˉ`,`\\bar`),I(L,z,Do,`˘`,`\\breve`),I(L,z,Do,`ˇ`,`\\check`),I(L,z,Do,`^`,`\\hat`),I(L,z,Do,`⃗`,`\\vec`),I(L,z,Do,`˙`,`\\dot`),I(L,z,Do,`˚`,`\\mathring`),I(L,z,H,``,`\\@imath`),I(L,z,H,``,`\\@jmath`),I(L,z,W,`ı`,`ı`),I(L,z,W,`ȷ`,`ȷ`),I(R,z,W,`ı`,`\\i`,!0),I(R,z,W,`ȷ`,`\\j`,!0),I(R,z,W,`ß`,`\\ss`,!0),I(R,z,W,`æ`,`\\ae`,!0),I(R,z,W,`œ`,`\\oe`,!0),I(R,z,W,`ø`,`\\o`,!0),I(R,z,W,`Æ`,`\\AE`,!0),I(R,z,W,`Œ`,`\\OE`,!0),I(R,z,W,`Ø`,`\\O`,!0),I(R,z,Do,`ˊ`,`\\'`),I(R,z,Do,`ˋ`,"\\`"),I(R,z,Do,`ˆ`,`\\^`),I(R,z,Do,`˜`,`\\~`),I(R,z,Do,`ˉ`,`\\=`),I(R,z,Do,`˘`,`\\u`),I(R,z,Do,`˙`,`\\.`),I(R,z,Do,`¸`,`\\c`),I(R,z,Do,`˚`,`\\r`),I(R,z,Do,`ˇ`,`\\v`),I(R,z,Do,`¨`,`\\"`),I(R,z,Do,`˝`,`\\H`),I(R,z,Do,`◯`,`\\textcircled`);var Po={"--":!0,"---":!0,"``":!0,"''":!0};I(R,z,W,`–`,`--`,!0),I(R,z,W,`–`,`\\textendash`),I(R,z,W,`—`,`---`,!0),I(R,z,W,`—`,`\\textemdash`),I(R,z,W,`‘`,"`",!0),I(R,z,W,`‘`,`\\textquoteleft`),I(R,z,W,`’`,`'`,!0),I(R,z,W,`’`,`\\textquoteright`),I(R,z,W,`“`,"``",!0),I(R,z,W,`“`,`\\textquotedblleft`),I(R,z,W,`”`,`''`,!0),I(R,z,W,`”`,`\\textquotedblright`),I(L,z,W,`°`,`\\degree`,!0),I(R,z,W,`°`,`\\degree`),I(R,z,W,`°`,`\\textdegree`,!0),I(L,z,W,`£`,`\\pounds`),I(L,z,W,`£`,`\\mathsterling`,!0),I(R,z,W,`£`,`\\pounds`),I(R,z,W,`£`,`\\textsterling`,!0),I(L,B,W,`✠`,`\\maltese`),I(R,B,W,`✠`,`\\maltese`);for(var Fo=`0123456789/@."`,Io=0;Io<Fo.length;Io++){var Lo=Fo.charAt(Io);I(L,z,W,Lo,Lo)}for(var Ro=`0123456789!@*()-=+";:?/.,`,zo=0;zo<Ro.length;zo++){var Bo=Ro.charAt(zo);I(R,z,W,Bo,Bo)}for(var Vo=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`,Ho=0;Ho<Vo.length;Ho++){var Uo=Vo.charAt(Ho);I(L,z,H,Uo,Uo),I(R,z,W,Uo,Uo)}I(L,B,W,`C`,`ℂ`),I(R,B,W,`C`,`ℂ`),I(L,B,W,`H`,`ℍ`),I(R,B,W,`H`,`ℍ`),I(L,B,W,`N`,`ℕ`),I(R,B,W,`N`,`ℕ`),I(L,B,W,`P`,`ℙ`),I(R,B,W,`P`,`ℙ`),I(L,B,W,`Q`,`ℚ`),I(R,B,W,`Q`,`ℚ`),I(L,B,W,`R`,`ℝ`),I(R,B,W,`R`,`ℝ`),I(L,B,W,`Z`,`ℤ`),I(R,B,W,`Z`,`ℤ`),I(L,z,H,`h`,`ℎ`),I(R,z,H,`h`,`ℎ`);for(var G,Wo=0;Wo<Vo.length;Wo++){var Go=Vo.charAt(Wo);G=String.fromCharCode(55349,56320+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56372+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56424+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56580+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56684+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56736+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56788+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56840+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56944+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),Wo<26&&(G=String.fromCharCode(55349,56632+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G),G=String.fromCharCode(55349,56476+Wo),I(L,z,H,Go,G),I(R,z,W,Go,G))}G=String.fromCharCode(55349,56668),I(L,z,H,`k`,G),I(R,z,W,`k`,G);for(var Ko=0;Ko<10;Ko++){var qo=Ko.toString();G=String.fromCharCode(55349,57294+Ko),I(L,z,H,qo,G),I(R,z,W,qo,G),G=String.fromCharCode(55349,57314+Ko),I(L,z,H,qo,G),I(R,z,W,qo,G),G=String.fromCharCode(55349,57324+Ko),I(L,z,H,qo,G),I(R,z,W,qo,G),G=String.fromCharCode(55349,57334+Ko),I(L,z,H,qo,G),I(R,z,W,qo,G)}for(var Jo=`ÐÞþ`,Yo=0;Yo<Jo.length;Yo++){var Xo=Jo.charAt(Yo);I(L,z,H,Xo,Xo),I(R,z,W,Xo,Xo)}var Zo={mathClass:`mathbf`,textClass:`textbf`,font:`Main-Bold`},Qo={mathClass:`mathnormal`,textClass:`textit`,font:`Math-Italic`},$o={mathClass:`boldsymbol`,textClass:`boldsymbol`,font:`Main-BoldItalic`},es={mathClass:`mathscr`,textClass:`textscr`,font:`Script-Regular`},ts={mathClass:``,textClass:``,font:``},ns={mathClass:`mathfrak`,textClass:`textfrak`,font:`Fraktur-Regular`},rs={mathClass:`mathbb`,textClass:`textbb`,font:`AMS-Regular`},is={mathClass:`mathboldfrak`,textClass:`textboldfrak`,font:`Fraktur-Regular`},as={mathClass:`mathsf`,textClass:`textsf`,font:`SansSerif-Regular`},os={mathClass:`mathboldsf`,textClass:`textboldsf`,font:`SansSerif-Bold`},ss={mathClass:`mathitsf`,textClass:`textitsf`,font:`SansSerif-Italic`},cs={mathClass:`mathtt`,textClass:`texttt`,font:`Typewriter-Regular`},ls=[Zo,Zo,Qo,Qo,$o,$o,es,ts,ts,ts,ns,ns,rs,rs,is,is,as,as,os,os,ss,ss,ts,ts,cs,cs],us=[Zo,ts,as,os,cs],ds=e=>{var t=e.charCodeAt(0),n=e.charCodeAt(1),r=(t-55296)*1024+(n-56320)+65536;if(119808<=r&&r<120484)return ls[Math.floor((r-119808)/26)];if(120782<=r&&r<=120831)return us[Math.floor((r-120782)/10)];if(r===120485||r===120486)return ls[0];if(120486<r&&r<120782)return ts;throw new N(`Unsupported character: `+e)},fs=function(e,t,n){if(Eo[n][e]){var r=Eo[n][e].replace;r&&(e=r)}return{value:e,metrics:Co(e,t,n)}},ps=function(e,t,n,r,i){var a=fs(e,t,n),o=a.metrics;e=a.value;var s;if(o){var c=o.italic;(n===`text`||r&&r.font===`mathit`)&&(c=0),s=new fo(e,o.height,o.depth,c,o.skew,o.width,i)}else typeof console<`u`&&console.warn(`No character metrics `+(`for '`+e+`' in style '`+t+`' and mode '`+n+`'`)),s=new fo(e,0,0,0,0,0,i);if(r){s.maxFontSize=r.sizeMultiplier,r.style.isTight()&&s.classes.push(`mtight`);var l=r.getColor();l&&(s.style.color=l)}return s},ms=function(e,t,n,r){return r===void 0&&(r=[]),n.font===`boldsymbol`&&fs(e,`Main-Bold`,t).metrics?ps(e,`Main-Bold`,t,n,r.concat([`mathbf`])):e===`\\`||Eo[t][e].font===`main`?ps(e,`Main-Regular`,t,n,r):ps(e,`AMS-Regular`,t,n,r.concat([`amsrm`]))},hs=function(e,t,n){return n!==`textord`&&fs(e,`Math-BoldItalic`,t).metrics?{fontName:`Math-BoldItalic`,fontClass:`boldsymbol`}:{fontName:`Main-Bold`,fontClass:`mathbf`}},gs=function(e,t){var n=e.type===`mathord`?`mathord`:`textord`,r=e.mode,i=e.text,a=[`mord`],o=t.font,s=t.fontFamily,c=t.fontWeight,l=t.fontShape,u=r===`math`||r===`text`&&!!o,d=u?o:s,f=``,p=``;if(i.charCodeAt(0)===55349){var m=ds(i);f=m.font,p=m[r+`Class`]}if(f)return ps(i,f,r,t,a.concat(p));if(d){var h,g;if(d===`boldsymbol`){var _=hs(i,r,n);h=_.fontName,g=[_.fontClass]}else u?(h=Os[o].fontName,g=[o]):(h=Ds(s,c,l),g=[s,c,l]);if(fs(i,h,r).metrics)return ps(i,h,r,t,a.concat(g));if(Object.prototype.hasOwnProperty.call(Po,i)&&h.slice(0,10)===`Typewriter`){for(var v=[],y=0;y<i.length;y++)v.push(ps(i[y],h,r,t,a.concat(g)));return Cs(v)}}if(n===`mathord`)return ps(i,`Math-Italic`,r,t,a.concat([`mathnormal`]));if(n===`textord`){var b=Eo[r][i]&&Eo[r][i].font;if(b===`ams`)return ps(i,Ds(`amsrm`,c,l),r,t,a.concat(`amsrm`,c,l));if(b===`main`||!b)return ps(i,Ds(`textrm`,c,l),r,t,a.concat(c,l));var x=Ds(b,c,l);return ps(i,x,r,t,a.concat(x,c,l))}else throw Error(`unexpected type: `+n+` in makeOrd`)},_s=(e,t)=>{if(to(e.classes)!==to(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass(`mathnormal`))return!1;if(e.classes.length===1){var n=e.classes[0];if(n===`mbin`||n===`mord`)return!1}for(var r of Object.keys(e.style))if(e.style[r]!==t.style[r])return!1;for(var i of Object.keys(t.style))if(e.style[i]!==t.style[i])return!1;return!0},vs=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof fo&&r instanceof fo&&_s(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},ys=function(e){for(var t=0,n=0,r=0,i=0;i<e.children.length;i++){var a=e.children[i];a.height>t&&(t=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>r&&(r=a.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},K=function(e,t,n,r){var i=new so(e,t,n,r);return ys(i),i},bs=(e,t,n,r)=>new so(e,t,n,r),xs=function(e,t,n){var r=K([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=F(r.height),r.maxFontSize=1,r},Ss=function(e,t,n,r){var i=new co(e,t,n,r);return ys(i),i},Cs=function(e){var t=new Xa(e);return ys(t),t},ws=function(e,t){return e instanceof Xa?K([],[e],t):e},Ts=function(e){if(e.positionType===`individualShift`){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,a=1;a<t.length;a++){var o=-t[a].shift-i-t[a].elem.depth,s=o-(t[a-1].elem.height+t[a-1].elem.depth);i+=o,n.push({type:`kern`,size:s}),n.push(t[a])}return{children:n,depth:r}}var c;if(e.positionType===`top`){for(var l=e.positionData,u=0;u<e.children.length;u++){var d=e.children[u];l-=d.type===`kern`?d.size:d.elem.height+d.elem.depth}c=l}else if(e.positionType===`bottom`)c=-e.positionData;else{var f=e.children[0];if(f.type!==`elem`)throw Error(`First child must have type "elem".`);if(e.positionType===`shift`)c=-f.elem.depth-e.positionData;else if(e.positionType===`firstBaseline`)c=-f.elem.depth;else throw Error(`Invalid positionType `+e.positionType+`.`)}return{children:e.children,depth:c}},q=function(e,t){for(var n=Ts(e),r=n.children,i=n.depth,a=0,o=0;o<r.length;o++){var s=r[o];if(s.type===`elem`){var c=s.elem;a=Math.max(a,c.maxFontSize,c.height)}}a+=2;var l=K([`pstrut`],[]);l.style.height=F(a);for(var u=[],d=i,f=i,p=i,m=0;m<r.length;m++){var h=r[m];if(h.type===`kern`)p+=h.size;else{var g=h.elem,_=h.wrapperClasses||[],v=h.wrapperStyle||{},y=K(_,[l,g],void 0,v);y.style.top=F(-a-p-g.depth),h.marginLeft&&(y.style.marginLeft=h.marginLeft),h.marginRight&&(y.style.marginRight=h.marginRight),u.push(y),p+=g.height+g.depth}d=Math.min(d,p),f=Math.max(f,p)}var b=K([`vlist`],u);b.style.height=F(f);var x;if(d<0){var S=K([`vlist`],[K([],[])]);S.style.height=F(-d),x=[K([`vlist-r`],[b,K([`vlist-s`],[new fo(`​`)])]),K([`vlist-r`],[S])]}else x=[K([`vlist-r`],[b])];var ee=K([`vlist-t`],x);return x.length===2&&ee.classes.push(`vlist-t2`),ee.height=f,ee.depth=-d,ee},Es=(e,t)=>{var n=K([`mspace`],[],t),r=eo(e,t);return n.style.marginRight=F(r),n},Ds=(e,t,n)=>{var r,i;switch(e){case`amsrm`:r=`AMS`;break;case`textrm`:r=`Main`;break;case`textsf`:r=`SansSerif`;break;case`texttt`:r=`Typewriter`;break;default:r=e}return i=t===`textbf`&&n===`textit`?`BoldItalic`:t===`textbf`?`Bold`:n===`textit`?`Italic`:`Regular`,r+`-`+i},Os={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`}},ks={vec:[`vec`,.471,.714],oiintSize1:[`oiintSize1`,.957,.499],oiintSize2:[`oiintSize2`,1.472,.659],oiiintSize1:[`oiiintSize1`,1.304,.499],oiiintSize2:[`oiiintSize2`,1.98,.659]},As=function(e,t){var n=ks[e],r=n[0],i=n[1],a=n[2],o=bs([`katex-overlay`],[new po([new mo(r)],{width:F(i),height:F(a),style:`width:`+F(i),viewBox:`0 0 `+1e3*i+` `+1e3*a,preserveAspectRatio:`xMinYMin`})],t);return o.height=a,o.style.height=F(a),o.style.width=F(i),o},js={number:3,unit:`mu`},Ms={number:4,unit:`mu`},Ns={number:5,unit:`mu`},Ps={mord:{mop:js,mbin:Ms,mrel:Ns,minner:js},mop:{mord:js,mop:js,mrel:Ns,minner:js},mbin:{mord:Ms,mop:Ms,mopen:Ms,minner:Ms},mrel:{mord:Ns,mop:Ns,mopen:Ns,minner:Ns},mopen:{},mclose:{mop:js,mbin:Ms,mrel:Ns,minner:js},mpunct:{mord:js,mop:js,mrel:Ns,mopen:js,mclose:js,mpunct:js,minner:js},minner:{mord:js,mop:js,mbin:Ms,mrel:Ns,mopen:js,mpunct:js,minner:js}},Fs={mord:{mop:js},mop:{mord:js,mop:js},mbin:{},mrel:{},mopen:{},mclose:{mop:js},mpunct:{},minner:{mop:js}},Is={},Ls={},Rs={};function J(e){for(var t=e.type,n=e.names,r=e.htmlBuilder,i=e.mathmlBuilder,a=0;a<n.length;++a)Is[n[a]]=e;t&&(r&&(Ls[t]=r),i&&(Rs[t]=i))}function zs(e){var t=e.type,n=e.htmlBuilder,r=e.mathmlBuilder;n&&(Ls[t]=n),r&&(Rs[t]=r)}var Bs=function(e){return e.type===`ordgroup`&&e.body.length===1?e.body[0]:e},Vs=function(e){return e.type===`ordgroup`?e.body:[e]},Hs=new Set([`leftmost`,`mbin`,`mopen`,`mrel`,`mop`,`mpunct`]),Us=new Set([`rightmost`,`mrel`,`mclose`,`mpunct`]),Ws={display:P.DISPLAY,text:P.TEXT,script:P.SCRIPT,scriptscript:P.SCRIPTSCRIPT},Gs={mord:`mord`,mop:`mop`,mbin:`mbin`,mrel:`mrel`,mopen:`mopen`,mclose:`mclose`,mpunct:`mpunct`,minner:`minner`},Ks=function(e,t,n,r){r===void 0&&(r=[null,null]);for(var i=[],a=0;a<e.length;a++){var o=Y(e[a],t);if(o instanceof Xa){var s=o.children;i.push(...s)}else i.push(o)}if(vs(i),!n)return i;var c=t;if(e.length===1){var l=e[0];l.type===`sizing`?c=t.havingSize(l.size):l.type===`styling`&&(c=t.havingStyle(Ws[l.style]))}var u=K([r[0]||`leftmost`],[],t),d=K([r[1]||`rightmost`],[],t),f=n===`root`;return qs(i,(e,t)=>{var n=t.classes[0],r=e.classes[0];n===`mbin`&&Us.has(r)?t.classes[0]=`mord`:r===`mbin`&&Hs.has(n)&&(e.classes[0]=`mord`)},{node:u},d,f),qs(i,(e,t)=>{var n=Xs(t),r=Xs(e),i=n&&r?e.hasClass(`mtight`)?Fs[n]?.[r]:Ps[n]?.[r]:null;if(i)return Es(i,c)},{node:u},d,f),i},qs=function(e,t,n,r,i){r&&e.push(r);for(var a=0;a<e.length;a++){var o=e[a],s=Js(o);if(s){qs(s.children,t,n,null,i);continue}var c=!o.hasClass(`mspace`);if(c){var l=t(o,n.node);l&&(n.insertAfter?n.insertAfter(l):(e.unshift(l),a++))}c?n.node=o:i&&o.hasClass(`katex-newline`)&&(n.node=K([`leftmost`])),n.insertAfter=(t=>n=>{e.splice(t+1,0,n),a++})(a)}r&&e.pop()},Js=function(e){return e instanceof Xa||e instanceof co||e instanceof so&&e.hasClass(`enclosing`)?e:null},Ys=function(e,t){var n=Js(e);if(n){var r=n.children;if(r.length){if(t===`right`)return Ys(r[r.length-1],`right`);if(t===`left`)return Ys(r[0],`left`)}}return e},Xs=function(e,t){return e?(t&&(e=Ys(e,t)),Gs[e.classes[0]]||null):null},Zs=function(e,t){var n=[`nulldelimiter`].concat(e.baseSizingClasses());return K(t.concat(n))},Y=function(e,t,n){if(!e)return K();if(Ls[e.type]){var r=Ls[e.type](e,t);if(n&&t.size!==n.size){r=K(t.sizingClasses(n),[r],t);var i=t.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}else throw new N(`Got group of unknown type: '`+e.type+`'`)};function Qs(e,t){var n=K([`katex-base`],e,t),r=K([`katex-strut`]);return r.style.height=F(n.height+n.depth),n.depth&&(r.style.verticalAlign=F(-n.depth)),n.children.unshift(r),n}function $s(e,t){var n=null;e.length===1&&e[0].type===`tag`&&(n=e[0].tag,e=e[0].body);var r=Ks(e,t,`root`),i;r.length===2&&r[1].hasClass(`katex-tag`)&&(i=r.pop());for(var a=[],o=[],s=0;s<r.length;s++)if(o.push(r[s]),r[s].hasClass(`mbin`)||r[s].hasClass(`mrel`)||r[s].hasClass(`allowbreak`)){for(var c=!1;s<r.length-1&&r[s+1].hasClass(`mspace`)&&!r[s+1].hasClass(`katex-newline`);)s++,o.push(r[s]),r[s].hasClass(`nobreak`)&&(c=!0);c||(a.push(Qs(o,t)),o=[])}else r[s].hasClass(`katex-newline`)&&(o.pop(),o.length>0&&(a.push(Qs(o,t)),o=[]),a.push(r[s]));o.length>0&&a.push(Qs(o,t));var l;n?(l=Qs(Ks(n,t,!0),t),l.classes=[`katex-tag`],a.push(l)):i&&a.push(i);var u=K([`katex-html`],a);if(u.setAttribute(`aria-hidden`,`true`),l){var d=l.children[0];d.style.height=F(u.height+u.depth),u.depth&&(d.style.verticalAlign=F(-u.depth))}return u}function ec(e){return new Xa(e)}var X=class{constructor(e,t,n){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=n||[]}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 n=t[0],r=t[1];e.setAttribute(n,r)}this.classes.length>0&&(e.className=to(this.classes));for(var i=0;i<this.children.length;i++)if(this.children[i]instanceof tc&&this.children[i+1]instanceof tc){for(var a=this.children[i].toText()+this.children[++i].toText();this.children[i+1]instanceof tc;)a+=this.children[++i].toText();e.appendChild(new tc(a).toNode())}else e.appendChild(this.children[i].toNode());return e}toMarkup(){var e=`<`+this.type;for(var t of Object.entries(this.attributes)){var n=t[0],r=t[1];e+=` `+n+`="`,e+=oa(r),e+=`"`}this.classes.length>0&&(e+=` class ="`+oa(to(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(``)}},tc=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return oa(this.toText())}toText(){return this.text}},nc=class{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`,F(this.width)),e}toMarkup(){return this.character?`<mtext>`+this.character+`</mtext>`:`<mspace width="`+F(this.width)+`"/>`}toText(){return this.character?this.character:` `}},rc=new Set([`\\imath`,`\\jmath`]),ic=new Set([`mrow`,`mtable`]),ac=function(e,t,n){var r,i;return Eo[t][e]&&Eo[t][e].replace&&e.charCodeAt(0)!==55349&&!(Object.prototype.hasOwnProperty.call(Po,e)&&((n==null||(r=n.fontFamily)==null?void 0:r.slice(4,6))===`tt`||(n==null||(i=n.font)==null?void 0:i.slice(4,6))===`tt`))&&(e=Eo[t][e].replace),new tc(e)},oc=function(e){return e.length===1?e[0]:new X(`mrow`,e)},sc={mathit:`italic`,boldsymbol:e=>e.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`},cc=(e,t)=>{if(e.mode===`text`){if(t.fontFamily===`texttt`)return`monospace`;if(t.fontFamily===`textsf`)return t.fontShape===`textit`&&t.fontWeight===`textbf`?`sans-serif-bold-italic`:t.fontShape===`textit`?`sans-serif-italic`:t.fontWeight===`textbf`?`bold-sans-serif`:`sans-serif`;if(t.fontShape===`textit`&&t.fontWeight===`textbf`)return`bold-italic`;if(t.fontShape===`textit`)return`italic`;if(t.fontWeight===`textbf`)return`bold`}var n=t.font;if(!n||n===`mathnormal`)return null;var r=e.mode,i=sc[n];if(i)return typeof i==`function`?i(e):i;var a=e.text;if(rc.has(a))return null;if(Eo[r][a]){var o=Eo[r][a].replace;o&&(a=o)}var s=Os[n].fontName;return Co(a,s,r)?Os[n].variant:null};function lc(e){if(!e)return!1;if(e.type===`mi`&&e.children.length===1){var t=e.children[0];return t instanceof tc&&t.text===`.`}else if(e.type===`mo`&&e.children.length===1&&e.getAttribute(`separator`)===`true`&&e.getAttribute(`lspace`)===`0em`&&e.getAttribute(`rspace`)===`0em`){var n=e.children[0];return n instanceof tc&&n.text===`,`}else return!1}var uc=function(e,t,n){if(e.length===1){var r=Z(e[0],t);return n&&r instanceof X&&r.type===`mo`&&(r.setAttribute(`lspace`,`0em`),r.setAttribute(`rspace`,`0em`)),[r]}for(var i=[],a,o=0;o<e.length;o++){var s=Z(e[o],t);if(s instanceof X&&a instanceof X){if(s.type===`mtext`&&a.type===`mtext`&&s.getAttribute(`mathvariant`)===a.getAttribute(`mathvariant`)){a.children.push(...s.children);continue}else if(s.type===`mn`&&a.type===`mn`){a.children.push(...s.children);continue}else if(lc(s)&&a.type===`mn`){a.children.push(...s.children);continue}else if(s.type===`mn`&&lc(a))s.children=[...a.children,...s.children],i.pop();else if((s.type===`msup`||s.type===`msub`)&&s.children.length>=1&&(a.type===`mn`||lc(a))){var c=s.children[0];c instanceof X&&c.type===`mn`&&(c.children=[...a.children,...c.children],i.pop())}else if(a.type===`mi`&&a.children.length===1){var l=a.children[0];if(l instanceof tc&&l.text===`̸`&&(s.type===`mo`||s.type===`mi`||s.type===`mn`)){var u=s.children[0];u instanceof tc&&u.text.length>0&&(u.text=u.text.slice(0,1)+`̸`+u.text.slice(1),i.pop())}}}i.push(s),a=s}return i},dc=function(e,t,n){return oc(uc(e,t,n))},Z=function(e,t){if(!e)return new X(`mrow`);if(Rs[e.type])return Rs[e.type](e,t);throw new N(`Got group of unknown type: '`+e.type+`'`)};function fc(e,t,n,r,i){var a=uc(e,n),o=a.length===1&&a[0]instanceof X&&ic.has(a[0].type)?a[0]:new X(`mrow`,a),s=new X(`annotation`,[new tc(t)]);s.setAttribute(`encoding`,`application/x-tex`);var c=new X(`math`,[new X(`semantics`,[o,s])]);return c.setAttribute(`xmlns`,`http://www.w3.org/1998/Math/MathML`),r&&c.setAttribute(`display`,`block`),K([i?`katex`:`katex-mathml`],[c])}var pc=[[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]],mc=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],hc=function(e,t){return t.size<2?e:pc[e-1][t.size-1]},gc=class e{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||``,this.fontFamily=t.fontFamily||``,this.fontWeight=t.fontWeight||``,this.fontShape=t.fontShape||``,this.sizeMultiplier=mc[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={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(n,t),new e(n)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:hc(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:mc[e-1]})}havingBaseStyle(t){t||=this.style.text();var n=hc(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}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===e.BASESIZE?[]:[`katex-sizing`,`reset-size`+this.size,`size`+e.BASESIZE]}fontMetrics(){return this._fontMetrics||=To(this.size),this._fontMetrics}getColor(){return this.phantom?`transparent`:this.color}};gc.BASESIZE=6;var _c=function(e){return new gc({style:e.displayMode?P.DISPLAY:P.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},vc=function(e,t){if(t.displayMode){var n=[`katex-display`];t.leqno&&n.push(`leqno`),t.fleqn&&n.push(`fleqn`),e=K(n,[e])}return e},yc=function(e,t,n){var r=_c(n),i;return n.output===`mathml`?fc(e,t,r,n.displayMode,!0):(i=n.output===`html`?K([`katex`],[$s(e,r)]):K([`katex`],[fc(e,t,r,n.displayMode,!1),$s(e,r)]),vc(i,n))},bc=function(e,t,n){return vc(K([`katex`],[$s(e,_c(n))]),n)},xc={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":`=`},Sc=function(e){var t=new X(`mo`,[new tc(xc[e.replace(/^\\/,``)])]);return t.setAttribute(`stretchy`,`true`),t},Cc={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]},wc=new Set([`widehat`,`widecheck`,`widetilde`,`utilde`]),Tc=function(e,t){function n(){var n=4e5,r=e.label.slice(1);if(wc.has(r)&&`base`in e){var i=e.base.type===`ordgroup`?e.base.body.length:1,a,o,s;if(i>5)r===`widehat`||r===`widecheck`?(a=420,n=2364,s=.42,o=r+`4`):(a=312,n=2340,s=.34,o=`tilde4`);else{var c=[1,1,2,2,3,3][i];r===`widehat`||r===`widecheck`?(n=[0,1062,2364,2364,2364][c],a=[0,239,300,360,420][c],s=[0,.24,.3,.3,.36,.42][c],o=r+c):(n=[0,600,1033,2339,2340][c],a=[0,260,286,306,312][c],s=[0,.26,.286,.3,.306,.34][c],o=`tilde`+c)}return{span:bs([],[new po([new mo(o)],{width:`100%`,height:F(s),viewBox:`0 0 `+n+` `+a,preserveAspectRatio:`none`})],t),minWidth:0,height:s}}else{var l=[],u=Cc[r];if(!u)throw Error(`No SVG data for "`+r+`".`);var d=u[0],f=u[1],p=u[2],m=p/1e3,h=d.length,g,_;if(h===1){if(u.length!==4)throw Error(`Expected 4-tuple for single-path SVG data "`+r+`".`);g=[`hide-tail`],_=[u[3]]}else if(h===2)g=[`halfarrow-left`,`halfarrow-right`],_=[`xMinYMin`,`xMaxYMin`];else if(h===3)g=[`brace-left`,`brace-center`,`brace-right`],_=[`xMinYMin`,`xMidYMin`,`xMaxYMin`];else throw Error(`Correct katexImagesData or update code here to support
320
+ `+h+` children.`);for(var v=0;v<h;v++){var y=new po([new mo(d[v])],{width:`400em`,height:F(m),viewBox:`0 0 `+n+` `+p,preserveAspectRatio:_[v]+` slice`}),b=bs([g[v]],[y],t);if(h===1)return{span:b,minWidth:f,height:m};b.style.height=F(m),l.push(b)}return{span:K([`katex-stretchy`],l,t),minWidth:f,height:m}}}var r=n(),i=r.span,a=r.minWidth,o=r.height;return i.height=o,i.style.height=F(o),a>0&&(i.style.minWidth=F(a)),i},Ec=function(e,t,n,r,i){var a,o=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(a=K([`katex-stretchy`,t],[],i),t===`fbox`){var s=i.color&&i.getColor();s&&(a.style.borderColor=s)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new ho({x1:`0`,y1:`0`,x2:`100%`,y2:`100%`,"stroke-width":`0.046em`})),/^x?cancel$/.test(t)&&c.push(new ho({x1:`0`,y1:`100%`,x2:`100%`,y2:`0`,"stroke-width":`0.046em`})),a=bs([],[new po(c,{width:`100%`,height:F(o)})],i)}return a.height=o,a.style.height=F(o),a},Dc=[`bin`,`close`,`inner`,`open`,`punct`,`rel`],Oc=[`accent-token`,`mathord`,`op-token`,`spacing`,`textord`],kc=new Set(Dc),Ac=new Set(Oc);function jc(e){return kc.has(e)}function Q(e,t){if(!e||e.type!==t)throw Error(`Expected node of type `+t+`, but got `+(e?`node of type `+e.type:String(e)));return e}function Mc(e){var t=Nc(e);if(!t)throw Error(`Expected node of symbol group type, but got `+(e?`node of type `+e.type:String(e)));return t}function Nc(e){return e.type===`atom`||Ac.has(e.type)?e:null}var Pc=e=>{if(e instanceof fo)return e;if(vo(e)&&e.children.length===1)return Pc(e.children[0])},Fc=(e,t)=>{var n,r,i;e&&e.type===`supsub`?(r=Q(e.base,`accent`),n=r.base,e.base=n,i=_o(Y(e,t)),e.base=r):(r=Q(e,`accent`),n=r.base);var a=Y(n,t.havingCrampedStyle()),o=r.isShifty&&la(n),s=0;o&&(s=Pc(a)?.skew??0);var c=r.label===`\\c`,l=c?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),u;if(r.isStretchy)u=Tc(r,t),u=q({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`elem`,elem:u,wrapperClasses:[`svg-align`],wrapperStyle:s>0?{width:`calc(100% - `+F(2*s)+`)`,marginLeft:F(2*s)}:void 0}]});else{var d,f;r.label===`\\vec`?(d=As(`vec`,t),f=ks.vec[1]):(d=gs({type:`textord`,mode:r.mode,text:r.label},t),d=go(d),d.italic=0,f=d.width,c&&(l+=d.depth)),u=K([`accent-body`],[d]);var p=r.label===`\\textcircled`;p&&(u.classes.push(`accent-full`),l=a.height);var m=s;p||(m-=f/2),u.style.left=F(m),r.label===`\\textcircled`&&(u.style.top=`.2em`),u=q({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:-l},{type:`elem`,elem:u}]})}var h=K([`mord`,`katex-accent`],[u],t);return i?(i.children[0]=h,i.height=Math.max(h.height,i.height),i.classes[0]=`mord`,i):h},Ic=(e,t)=>{var n=e.isStretchy?Sc(e.label):new X(`mo`,[ac(e.label,e.mode)]),r=new X(`mover`,[Z(e.base,t),n]);return r.setAttribute(`accent`,`true`),r},Lc=new RegExp([`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`].map(e=>`\\`+e).join(`|`));J({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:(e,t)=>{var n=Bs(t[0]),r=!Lc.test(e.funcName),i=!r||e.funcName===`\\widehat`||e.funcName===`\\widetilde`||e.funcName===`\\widecheck`;return{type:`accent`,mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Fc,mathmlBuilder:Ic}),J({type:`accent`,names:[`\\'`,"\\`",`\\^`,`\\~`,`\\=`,`\\u`,`\\.`,`\\"`,`\\c`,`\\r`,`\\H`,`\\v`,`\\textcircled`],numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`primitive`],handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r===`math`&&(e.parser.settings.reportNonstrict(`mathVsTextAccents`,`LaTeX's accent `+e.funcName+` works only in text mode`),r=`text`),{type:`accent`,mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}}}),J({type:`accentUnder`,names:[`\\underleftarrow`,`\\underrightarrow`,`\\underleftrightarrow`,`\\undergroup`,`\\underlinesegment`,`\\utilde`],numArgs:1,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=t[0];return{type:`accentUnder`,mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=Y(e.base,t),r=Tc(e,t),i=e.label===`\\utilde`?.12:0;return K([`mord`,`accentunder`],[q({positionType:`top`,positionData:n.height,children:[{type:`elem`,elem:r,wrapperClasses:[`svg-align`]},{type:`kern`,size:i},{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=Sc(e.label),r=new X(`munder`,[Z(e.base,t),n]);return r.setAttribute(`accentunder`,`true`),r}});var Rc=e=>{var t=new X(`mpadded`,e?[e]:[]);return t.setAttribute(`width`,`+0.6em`),t.setAttribute(`lspace`,`0.3em`),t};J({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(e,t,n){var r=e.parser,i=e.funcName;return{type:`xArrow`,mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=ws(Y(e.body,r,t),t),a=e.label.slice(0,2)===`\\x`?`x`:`cd`;i.classes.push(a+`-arrow-pad`);var o;e.below&&(r=t.havingStyle(n.sub()),o=ws(Y(e.below,r,t),t),o.classes.push(a+`-arrow-pad`));var s=Tc(e,t),c=-t.fontMetrics().axisHeight+.5*s.height,l=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label===`\\xleftequilibrium`)&&(l-=i.depth);var u;if(o){var d=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;u=q({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c,wrapperClasses:[`svg-align`]},{type:`elem`,elem:o,shift:d}]})}else u=q({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c,wrapperClasses:[`svg-align`]}]});return K([`mrel`,`x-arrow`],[u],t)},mathmlBuilder(e,t){var n=Sc(e.label);n.setAttribute(`minsize`,e.label.charAt(0)===`x`?`1.75em`:`3.0em`);var r;if(e.body){var i=Rc(Z(e.body,t));r=e.below?new X(`munderover`,[n,Rc(Z(e.below,t)),i]):new X(`mover`,[n,i])}else e.below?r=new X(`munder`,[n,Rc(Z(e.below,t))]):(r=Rc(),r=new X(`mover`,[n,r]));return r}});function zc(e,t){var n=Ks(e.body,t,!0);return K([e.mclass],n,t)}function Bc(e,t){var n,r=uc(e.body,t);return e.mclass===`minner`?n=new X(`mpadded`,r):e.mclass===`mord`?e.isCharacterBox?(n=r[0],n.type=`mi`):n=new X(`mi`,r):(e.isCharacterBox?(n=r[0],n.type=`mo`):n=new X(`mo`,r),e.mclass===`mbin`?(n.attributes.lspace=`0.22em`,n.attributes.rspace=`0.22em`):e.mclass===`mpunct`?(n.attributes.lspace=`0em`,n.attributes.rspace=`0.17em`):(e.mclass===`mopen`||e.mclass===`mclose`)&&(n.attributes.lspace=`0em`,n.attributes.rspace=`0em`)),n}J({type:`mclass`,names:[`\\mathord`,`\\mathbin`,`\\mathrel`,`\\mathopen`,`\\mathclose`,`\\mathpunct`,`\\mathinner`],numArgs:1,primitive:!0,handler(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:`mclass`,mode:n.mode,mclass:`m`+r.slice(5),body:Vs(i),isCharacterBox:la(i)}},htmlBuilder:zc,mathmlBuilder:Bc});var Vc=e=>{var t=e.type===`ordgroup`&&e.body.length?e.body[0]:e;return t.type===`atom`&&(t.family===`bin`||t.family===`rel`)?`m`+t.family:`mord`};J({type:`mclass`,names:[`\\@binrel`],numArgs:2,handler(e,t){return{type:`mclass`,mode:e.parser.mode,mclass:Vc(t[0]),body:Vs(t[1]),isCharacterBox:la(t[1])}}}),J({type:`mclass`,names:[`\\stackrel`,`\\overset`,`\\underset`],numArgs:2,handler(e,t){var n=e.parser,r=e.funcName,i=t[1],a=t[0],o=r===`\\stackrel`?`mrel`:Vc(i),s={type:`op`,mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!==`\\stackrel`,body:Vs(i)},c=r===`\\underset`?{type:`supsub`,mode:a.mode,base:s,sub:a}:{type:`supsub`,mode:a.mode,base:s,sup:a};return{type:`mclass`,mode:n.mode,mclass:o,body:[c],isCharacterBox:la(c)}}}),J({type:`pmb`,names:[`\\pmb`],numArgs:1,allowedInText:!0,handler(e,t){return{type:`pmb`,mode:e.parser.mode,mclass:Vc(t[0]),body:Vs(t[0])}},htmlBuilder(e,t){var n=Ks(e.body,t,!0),r=K([e.mclass],n,t);return r.style.textShadow=`0.02em 0.01em 0.04px`,r},mathmlBuilder(e,t){var n=new X(`mstyle`,uc(e.body,t));return n.setAttribute(`style`,`text-shadow: 0.02em 0.01em 0.04px`),n}});var Hc={">":`\\\\cdrightarrow`,"<":`\\\\cdleftarrow`,"=":`\\\\cdlongequal`,A:`\\uparrow`,V:`\\downarrow`,"|":`\\Vert`,".":`no arrow`},Uc=()=>({type:`styling`,body:[],mode:`math`,style:`display`,resetFont:!0}),Wc=e=>e.type===`textord`&&e.text===`@`,Gc=(e,t)=>(e.type===`mathord`||e.type===`atom`)&&e.text===t;function Kc(e,t,n){var r=Hc[e];switch(r){case`\\\\cdrightarrow`:case`\\\\cdleftarrow`:return n.callFunction(r,[t[0]],[t[1]]);case`\\uparrow`:case`\\downarrow`:var i=n.callFunction(`\\\\cdleft`,[t[0]],[]),a={type:`atom`,text:r,mode:`math`,family:`rel`},o={type:`ordgroup`,mode:`math`,body:[i,n.callFunction(`\\Big`,[a],[]),n.callFunction(`\\\\cdright`,[t[1]],[])]};return n.callFunction(`\\\\cdparent`,[o],[]);case`\\\\cdlongequal`:return n.callFunction(`\\\\cdlongequal`,[],[]);case`\\Vert`:return n.callFunction(`\\Big`,[{type:`textord`,text:`\\Vert`,mode:`math`}],[]);default:return{type:`textord`,text:` `,mode:`math`}}}function qc(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set(`\\cr`,`\\\\\\relax`),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,`\\\\`)),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n===`&`||n===`\\\\`)e.consume();else if(n===`\\end`){t[t.length-1].length===0&&t.pop();break}else throw new N(`Expected \\\\ or \\cr or \\end`,e.nextToken)}for(var r=[],i=[r],a=0;a<t.length;a++){for(var o=t[a],s=Uc(),c=0;c<o.length;c++)if(!Wc(o[c]))s.body.push(o[c]);else{r.push(s),c+=1;var l=Mc(o[c]).text,u=[,,];if(u[0]={type:`ordgroup`,mode:`math`,body:[]},u[1]={type:`ordgroup`,mode:`math`,body:[]},!`=|.`.includes(l))if(`<>AV`.includes(l))for(var d=0;d<2;d++){for(var f=!0,p=c+1;p<o.length;p++){if(Gc(o[p],l)){f=!1,c=p;break}if(Wc(o[p]))throw new N(`Missing a `+l+` character to complete a CD arrow.`,o[p]);u[d].body.push(o[p])}if(f)throw new N(`Missing a `+l+` character to complete a CD arrow.`,o[c])}else throw new N(`Expected one of "<>AV=|." after @`,o[c]);var m={type:`styling`,body:[Kc(l,u,e)],mode:`math`,style:`display`,resetFont:!0};r.push(m),s=Uc()}a%2==0?r.push(s):r.shift(),r=[],i.push(r)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:`array`,mode:`math`,body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:Array(i[0].length).fill({type:`align`,align:`c`,pregap:.25,postgap:.25}),colSeparationType:`CD`,hLinesBeforeRow:Array(i.length+1).fill([])}}J({type:`cdlabel`,names:[`\\\\cdleft`,`\\\\cdright`],numArgs:1,handler(e,t){var n=e.parser,r=e.funcName;return{type:`cdlabel`,mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=ws(Y(e.label,n,t),t);return r.classes.push(`cd-label-`+e.side),r.style.bottom=F(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new X(`mrow`,[Z(e.label,t)]);return n=new X(`mpadded`,[n]),n.setAttribute(`width`,`0`),e.side===`left`&&n.setAttribute(`lspace`,`-1width`),n.setAttribute(`voffset`,`0.7em`),n=new X(`mstyle`,[n]),n.setAttribute(`displaystyle`,`false`),n.setAttribute(`scriptlevel`,`1`),n}}),J({type:`cdlabelparent`,names:[`\\\\cdparent`],numArgs:1,handler(e,t){return{type:`cdlabelparent`,mode:e.parser.mode,fragment:t[0]}},htmlBuilder(e,t){var n=ws(Y(e.fragment,t),t);return n.classes.push(`cd-vert-arrow`),n},mathmlBuilder(e,t){return new X(`mrow`,[Z(e.fragment,t)])}}),J({type:`textord`,names:[`\\@char`],numArgs:1,allowedInText:!0,handler(e,t){for(var n=e.parser,r=Q(t[0],`ordgroup`).body,i=``,a=0;a<r.length;a++){var o=Q(r[a],`textord`);i+=o.text}var s=parseInt(i),c;if(isNaN(s))throw new N(`\\@char has non-numeric argument `+i);if(s<0||s>=1114111)throw new N(`\\@char with invalid code point `+i);return s<=65535?c=String.fromCharCode(s):(s-=65536,c=String.fromCharCode((s>>10)+55296,(s&1023)+56320)),{type:`textord`,mode:n.mode,text:c}}}),J({type:`color`,names:[`\\textcolor`],numArgs:2,allowedInText:!0,argTypes:[`color`,`original`],handler(e,t){var n=e.parser,r=Q(t[0],`color-token`).color,i=t[1];return{type:`color`,mode:n.mode,color:r,body:Vs(i)}},htmlBuilder:(e,t)=>Cs(Ks(e.body,t.withColor(e.color),!1)),mathmlBuilder:(e,t)=>{var n=new X(`mstyle`,uc(e.body,t.withColor(e.color)));return n.setAttribute(`mathcolor`,e.color),n}}),J({type:`color`,names:[`\\color`],numArgs:1,allowedInText:!0,argTypes:[`color`],handler(e,t){var n=e.parser,r=e.breakOnTokenText,i=Q(t[0],`color-token`).color;n.gullet.macros.set(`\\current@color`,i);var a=n.parseExpression(!0,r);return{type:`color`,mode:n.mode,color:i,body:a}}}),J({type:`cr`,names:[`\\\\`],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(e,t,n){var r=e.parser,i=r.gullet.future().text===`[`?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior(`newLineInDisplayMode`,`In LaTeX, \\\\ or \\newline does nothing in display mode`);return{type:`cr`,mode:r.mode,newLine:a,size:i&&Q(i,`size`).value}},htmlBuilder(e,t){var n=K([`mspace`],[],t);return e.newLine&&(n.classes.push(`katex-newline`),e.size&&(n.style.marginTop=F(eo(e.size,t)))),n},mathmlBuilder(e,t){var n=new X(`mspace`);return e.newLine&&(n.setAttribute(`linebreak`,`newline`),e.size&&n.setAttribute(`height`,F(eo(e.size,t)))),n}});var Jc={"\\global":`\\global`,"\\long":`\\\\globallong`,"\\\\globallong":`\\\\globallong`,"\\def":`\\gdef`,"\\gdef":`\\gdef`,"\\edef":`\\xdef`,"\\xdef":`\\xdef`,"\\let":`\\\\globallet`,"\\futurelet":`\\\\globalfuture`},Yc=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new N(`Expected a control sequence`,e);return t},Xc=e=>{var t=e.gullet.popToken();return t.text===`=`&&(t=e.gullet.popToken(),t.text===` `&&(t=e.gullet.popToken())),t},Zc=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i??=(n.noexpand=!0,{tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};J({type:`internal`,names:[`\\global`,`\\long`,`\\\\globallong`],numArgs:0,allowedInText:!0,handler(e){var t=e.parser,n=e.funcName;t.consumeSpaces();var r=t.fetch();if(Jc[r.text])return(n===`\\global`||n===`\\\\globallong`)&&(r.text=Jc[r.text]),Q(t.parseFunction(),`internal`);throw new N(`Invalid token after macro prefix`,r)}}),J({type:`internal`,names:[`\\def`,`\\gdef`,`\\edef`,`\\xdef`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var t=e.parser,n=e.funcName,r=t.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new N(`Expected a control sequence`,r);for(var a=0,o,s=[[]];t.gullet.future().text!==`{`;)if(r=t.gullet.popToken(),r.text===`#`){if(t.gullet.future().text===`{`){o=t.gullet.future(),s[a].push(`{`);break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new N(`Invalid argument number "`+r.text+`"`);if(parseInt(r.text)!==a+1)throw new N(`Argument number "`+r.text+`" out of order`);a++,s.push([])}else if(r.text===`EOF`)throw new N(`Expected a macro definition`);else s[a].push(r.text);var c=t.gullet.consumeArg().tokens;return o&&c.unshift(o),(n===`\\edef`||n===`\\xdef`)&&(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(i,{tokens:c,numArgs:a,delimiters:s},n===Jc[n]),{type:`internal`,mode:t.mode}}}),J({type:`internal`,names:[`\\let`,`\\\\globallet`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var t=e.parser,n=e.funcName,r=Yc(t.gullet.popToken());return t.gullet.consumeSpaces(),Zc(t,r,Xc(t),n===`\\\\globallet`),{type:`internal`,mode:t.mode}}}),J({type:`internal`,names:[`\\futurelet`,`\\\\globalfuture`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var t=e.parser,n=e.funcName,r=Yc(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return Zc(t,r,a,n===`\\\\globalfuture`),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:`internal`,mode:t.mode}}});var Qc=function(e,t,n){var r=Co(Eo.math[e]&&Eo.math[e].replace||e,t,n);if(!r)throw Error(`Unsupported symbol `+e+` and font size `+t+`.`);return r},$c=function(e,t,n,r){var i=n.havingBaseStyle(t),a=K(r.concat(i.sizingClasses(n)),[e],n),o=i.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},el=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push(`delimcenter`),e.style.top=F(i),e.height-=i,e.depth+=i},tl=function(e,t,n,r,i,a){var o=$c(ps(e,`Main-Regular`,i,r),t,r,a);return n&&el(o,r,t),o},nl=function(e,t,n,r){return ps(e,`Size`+t+`-Regular`,n,r)},rl=function(e,t,n,r,i,a){var o=nl(e,t,i,r),s=$c(K([`delimsizing`,`size`+t],[o],r),P.TEXT,r,a);return n&&el(s,r,P.TEXT),s},il=function(e,t,n){return{type:`elem`,elem:K([`delimsizinginner`,t===`Size1-Regular`?`delim-size1`:`delim-size4`],[K([],[ps(e,t,n)])])}},al=function(e,t,n){var r=yo[`Size4-Regular`][e.charCodeAt(0)]?yo[`Size4-Regular`][e.charCodeAt(0)][4]:yo[`Size1-Regular`][e.charCodeAt(0)][4],i=bs([],[new po([new mo(`inner`,Ka(e,Math.round(1e3*t)))],{width:F(r),height:F(t),style:`width:`+F(r),viewBox:`0 0 `+1e3*r+` `+Math.round(1e3*t),preserveAspectRatio:`xMinYMin`})],n);return i.height=t,i.style.height=F(t),i.style.width=F(r),{type:`elem`,elem:i}},ol=.008,sl={type:`kern`,size:-1*ol},cl=new Set([`|`,`\\lvert`,`\\rvert`,`\\vert`]),ll=new Set([`\\|`,`\\lVert`,`\\rVert`,`\\Vert`]),ul=function(e,t,n,r,i,a){var o,s,c,l,u=``,d=0;o=c=l=e,s=null;var f=`Size1-Regular`;e===`\\uparrow`?c=l=`⏐`:e===`\\Uparrow`?c=l=`‖`:e===`\\downarrow`?o=c=`⏐`:e===`\\Downarrow`?o=c=`‖`:e===`\\updownarrow`?(o=`\\uparrow`,c=`⏐`,l=`\\downarrow`):e===`\\Updownarrow`?(o=`\\Uparrow`,c=`‖`,l=`\\Downarrow`):cl.has(e)?(c=`∣`,u=`vert`,d=333):ll.has(e)?(c=`∥`,u=`doublevert`,d=556):e===`[`||e===`\\lbrack`?(o=`⎡`,c=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lbrack`,d=667):e===`]`||e===`\\rbrack`?(o=`⎤`,c=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rbrack`,d=667):e===`\\lfloor`||e===`⌊`?(c=o=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lfloor`,d=667):e===`\\lceil`||e===`⌈`?(o=`⎡`,c=l=`⎢`,f=`Size4-Regular`,u=`lceil`,d=667):e===`\\rfloor`||e===`⌋`?(c=o=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rfloor`,d=667):e===`\\rceil`||e===`⌉`?(o=`⎤`,c=l=`⎥`,f=`Size4-Regular`,u=`rceil`,d=667):e===`(`||e===`\\lparen`?(o=`⎛`,c=`⎜`,l=`⎝`,f=`Size4-Regular`,u=`lparen`,d=875):e===`)`||e===`\\rparen`?(o=`⎞`,c=`⎟`,l=`⎠`,f=`Size4-Regular`,u=`rparen`,d=875):e===`\\{`||e===`\\lbrace`?(o=`⎧`,s=`⎨`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\}`||e===`\\rbrace`?(o=`⎫`,s=`⎬`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lgroup`||e===`⟮`?(o=`⎧`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\rgroup`||e===`⟯`?(o=`⎫`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lmoustache`||e===`⎰`?(o=`⎧`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):(e===`\\rmoustache`||e===`⎱`)&&(o=`⎫`,l=`⎩`,c=`⎪`,f=`Size4-Regular`);var p=Qc(o,f,i),m=p.height+p.depth,h=Qc(c,f,i),g=h.height+h.depth,_=Qc(l,f,i),v=_.height+_.depth,y=0,b=1;if(s!==null){var x=Qc(s,f,i);y=x.height+x.depth,b=2}var S=m+v+y,ee=S+Math.max(0,Math.ceil((t-S)/(b*g)))*b*g,te=r.fontMetrics().axisHeight;n&&(te*=r.sizeMultiplier);var ne=ee/2-te,re=[];if(u.length>0){var ie=ee-m-v,ae=Math.round(ee*1e3),oe=Ja(u,Math.round(ie*1e3)),se=new mo(u,oe),ce=F(d/1e3),le=F(ae/1e3),ue=bs([],[new po([se],{width:ce,height:le,viewBox:`0 0 `+d+` `+ae})],r);ue.height=ae/1e3,ue.style.width=ce,ue.style.height=le,re.push({type:`elem`,elem:ue})}else{if(re.push(il(l,f,i)),re.push(sl),s===null){var de=ee-m-v+2*ol;re.push(al(c,de,r))}else{var fe=(ee-m-v-y)/2+2*ol;re.push(al(c,fe,r)),re.push(sl),re.push(il(s,f,i)),re.push(sl),re.push(al(c,fe,r))}re.push(sl),re.push(il(o,f,i))}var C=r.havingBaseStyle(P.TEXT);return $c(K([`delimsizing`,`mult`],[q({positionType:`bottom`,positionData:ne,children:re})],C),P.TEXT,r,a)},dl=80,fl=.08,pl=function(e,t,n,r,i){return bs([`hide-tail`],[new po([new mo(e,Ga(e,r,n))],{width:`400em`,height:F(t),viewBox:`0 0 400000 `+n,preserveAspectRatio:`xMinYMin slice`})],i)},ml=function(e,t){var n=t.havingBaseSizing(),r=wl(`\\surd`,e*n.sizeMultiplier,Sl,n),i=n.sizeMultiplier,a=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),o,s,c,l,u;return r.type===`small`?(l=1e3+1e3*a+dl,e<1?i=1:e<1.4&&(i=.7),s=(1+a+fl)/i,c=(1+a)/i,o=pl(`sqrtMain`,s,l,a,t),o.style.minWidth=`0.853em`,u=.833/i):r.type===`large`?(l=(1e3+dl)*vl[r.size],c=(vl[r.size]+a)/i,s=(vl[r.size]+a+fl)/i,o=pl(`sqrtSize`+r.size,s,l,a,t),o.style.minWidth=`1.02em`,u=1/i):(s=e+a+fl,c=e+a,l=Math.floor(1e3*e+a)+dl,o=pl(`sqrtTall`,s,l,a,t),o.style.minWidth=`0.742em`,u=1.056),o.height=c,o.style.height=F(s),{span:o,advanceWidth:u,ruleWidth:(t.fontMetrics().sqrtRuleThickness+a)*i}},hl=new Set([`(`,`\\lparen`,`)`,`\\rparen`,`[`,`\\lbrack`,`]`,`\\rbrack`,`\\{`,`\\lbrace`,`\\}`,`\\rbrace`,`\\lfloor`,`\\rfloor`,`⌊`,`⌋`,`\\lceil`,`\\rceil`,`⌈`,`⌉`,`\\surd`]),gl=new Set([`\\uparrow`,`\\downarrow`,`\\updownarrow`,`\\Uparrow`,`\\Downarrow`,`\\Updownarrow`,`|`,`\\|`,`\\vert`,`\\Vert`,`\\lvert`,`\\rvert`,`\\lVert`,`\\rVert`,`\\lgroup`,`\\rgroup`,`⟮`,`⟯`,`\\lmoustache`,`\\rmoustache`,`⎰`,`⎱`]),_l=new Set([`<`,`>`,`\\langle`,`\\rangle`,`/`,`\\backslash`,`\\lt`,`\\gt`]),vl=[0,1.2,1.8,2.4,3],yl=function(e,t,n,r,i){if(e===`<`||e===`\\lt`||e===`⟨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`⟩`)&&(e=`\\rangle`),hl.has(e)||_l.has(e))return rl(e,t,!1,n,r,i);if(gl.has(e))return ul(e,vl[t],!1,n,r,i);throw new N(`Illegal delimiter: '`+e+`'`)},bl=[{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}],xl=[{type:`small`,style:P.SCRIPTSCRIPT},{type:`small`,style:P.SCRIPT},{type:`small`,style:P.TEXT},{type:`stack`}],Sl=[{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`}],Cl=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 Error(`Add support for delim type '`+t+`' here.`)},wl=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size);i<n.length;i++){var a=n[i];if(a.type===`stack`)break;var o=Qc(e,Cl(a),`math`),s=o.height+o.depth;if(a.type===`small`){var c=r.havingBaseStyle(a.style);s*=c.sizeMultiplier}if(s>t)return a}return n[n.length-1]},Tl=function(e,t,n,r,i,a){e===`<`||e===`\\lt`||e===`⟨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`⟩`)&&(e=`\\rangle`);var o=_l.has(e)?bl:hl.has(e)?Sl:xl,s=wl(e,t,o,r);return s.type===`small`?tl(e,s.style,n,r,i,a):s.type===`large`?rl(e,s.size,n,r,i,a):ul(e,t,n,r,i,a)},El=function(e,t,n,r,i,a){var o=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,c=5/r.fontMetrics().ptPerEm,l=Math.max(t-o,n+o);return Tl(e,Math.max(l/500*s,2*l-c),!0,r,i,a)},Dl={"\\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}},Ol=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,.`.split(`,`));function kl(e){return`isMiddle`in e}function Al(e,t){var n=Nc(e);if(n&&Ol.has(n.text))return n;throw n?new N(`Invalid delimiter '`+n.text+`' after '`+t.funcName+`'`,e):new N(`Invalid delimiter type '`+e.type+`'`,e)}J({type:`delimsizing`,names:[`\\bigl`,`\\Bigl`,`\\biggl`,`\\Biggl`,`\\bigr`,`\\Bigr`,`\\biggr`,`\\Biggr`,`\\bigm`,`\\Bigm`,`\\biggm`,`\\Biggm`,`\\big`,`\\Big`,`\\bigg`,`\\Bigg`],numArgs:1,argTypes:[`primitive`],handler:(e,t)=>{var n=Al(t[0],e);return{type:`delimsizing`,mode:e.parser.mode,size:Dl[e.funcName].size,mclass:Dl[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim===`.`?K([e.mclass]):yl(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!==`.`&&t.push(ac(e.delim,e.mode));var n=new X(`mo`,t);e.mclass===`mopen`||e.mclass===`mclose`?n.setAttribute(`fence`,`true`):n.setAttribute(`fence`,`false`),n.setAttribute(`stretchy`,`true`);var r=F(vl[e.size]);return n.setAttribute(`minsize`,r),n.setAttribute(`maxsize`,r),n}});function jl(e){if(!e.body)throw Error(`Bug: The leftright ParseNode wasn't fully parsed.`)}J({type:`leftright-right`,names:[`\\right`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=e.parser.gullet.macros.get(`\\current@color`);if(n&&typeof n!=`string`)throw new N(`\\current@color set to non-string in \\right`);return{type:`leftright-right`,mode:e.parser.mode,delim:Al(t[0],e).text,color:n}}}),J({type:`leftright`,names:[`\\left`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=Al(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect(`\\right`,!1);var a=Q(r.parseFunction(),`leftright-right`);return{type:`leftright`,mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{jl(e);for(var n=Ks(e.body,t,!0,[`mopen`,`mclose`]),r=0,i=0,a=!1,o=0;o<n.length;o++){var s=n[o];kl(s)?a=!0:(r=Math.max(n[o].height,r),i=Math.max(n[o].depth,i))}r*=t.sizeMultiplier,i*=t.sizeMultiplier;var c=e.left===`.`?Zs(t,[`mopen`]):El(e.left,r,i,t,e.mode,[`mopen`]);if(n.unshift(c),a)for(var l=1;l<n.length;l++){var u=n[l];if(kl(u)){var d=u.isMiddle;n[l]=El(d.delim,r,i,d.options,e.mode,[])}}var f;if(e.right===`.`)f=Zs(t,[`mclose`]);else{var p=e.rightColor?t.withColor(e.rightColor):t;f=El(e.right,r,i,p,e.mode,[`mclose`])}return n.push(f),K([`minner`],n,t)},mathmlBuilder:(e,t)=>{jl(e);var n=uc(e.body,t);if(e.left!==`.`){var r=new X(`mo`,[ac(e.left,e.mode)]);r.setAttribute(`fence`,`true`),n.unshift(r)}if(e.right!==`.`){var i=new X(`mo`,[ac(e.right,e.mode)]);i.setAttribute(`fence`,`true`),e.rightColor&&i.setAttribute(`mathcolor`,e.rightColor),n.push(i)}return oc(n)}}),J({type:`middle`,names:[`\\middle`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=Al(t[0],e);if(!e.parser.leftrightDepth)throw new N(`\\middle without preceding \\left`,n);return{type:`middle`,mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;return e.delim===`.`?n=Zs(t,[]):(n=yl(e.delim,1,t,e.mode,[]),n.isMiddle={delim:e.delim,options:t}),n},mathmlBuilder:(e,t)=>{var n=new X(`mo`,[e.delim===`\\vert`||e.delim===`|`?ac(`|`,`text`):ac(e.delim,e.mode)]);return n.setAttribute(`fence`,`true`),n.setAttribute(`lspace`,`0.05em`),n.setAttribute(`rspace`,`0.05em`),n}}),J({type:`enclose`,names:[`\\colorbox`],numArgs:2,allowedInText:!0,argTypes:[`color`,`hbox`],handler(e,t,n){var r=e.parser,i=e.funcName,a=Q(t[0],`color-token`).color,o=t[1];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:(e,t)=>{var n=ws(Y(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o,s=la(e.body);if(r===`sout`)a=K([`katex-stretchy`,`katex-sout`]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r===`phase`){var c=eo({number:.6,unit:`pt`},t),l=eo({number:.35,unit:`ex`},t),u=t.havingBaseSizing();i/=u.sizeMultiplier;var d=n.height+n.depth+c+l;n.style.paddingLeft=F(d/2+c);var f=Math.floor(1e3*d*i);a=bs([`hide-tail`],[new po([new mo(`phase`,Ua(f))],{width:`400em`,height:F(f/1e3),viewBox:`0 0 400000 `+f,preserveAspectRatio:`xMinYMin slice`})],t),a.style.height=F(d),o=n.depth+c+l}else{/cancel/.test(r)?s||n.classes.push(`cancel-pad`):r===`angl`?n.classes.push(`anglpad`):n.classes.push(`boxpad`);var p,m,h=0;/box/.test(r)?(h=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),p=t.fontMetrics().fboxsep+(r===`colorbox`?0:h),m=p):r===`angl`?(h=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),p=4*h,m=Math.max(0,.25-n.depth)):(p=s?.2:0,m=p),a=Ec(n,r,p,m,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle=`solid`,a.style.borderWidth=F(h)):r===`angl`&&h!==.049&&(a.style.borderTopWidth=F(h),a.style.borderRightWidth=F(h)),o=n.depth+m,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var g;if(e.backgroundColor)g=q({positionType:`individualShift`,children:[{type:`elem`,elem:a,shift:o},{type:`elem`,elem:n,shift:0}]});else{var _=/cancel|phase/.test(r)?[`svg-align`]:[];g=q({positionType:`individualShift`,children:[{type:`elem`,elem:n,shift:0},{type:`elem`,elem:a,shift:o,wrapperClasses:_}]})}return/cancel/.test(r)&&(g.height=n.height,g.depth=n.depth),/cancel/.test(r)&&!s?K([`mord`,`cancel-lap`],[g],t):K([`mord`],[g],t)},mathmlBuilder:(e,t)=>{var n,r=new X(e.label.includes(`colorbox`)?`mpadded`:`menclose`,[Z(e.body,t)]);switch(e.label){case`\\cancel`:r.setAttribute(`notation`,`updiagonalstrike`);break;case`\\bcancel`:r.setAttribute(`notation`,`downdiagonalstrike`);break;case`\\phase`:r.setAttribute(`notation`,`phasorangle`);break;case`\\sout`:r.setAttribute(`notation`,`horizontalstrike`);break;case`\\fbox`:r.setAttribute(`notation`,`box`);break;case`\\angl`:r.setAttribute(`notation`,`actuarial`);break;case`\\fcolorbox`:case`\\colorbox`:if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute(`width`,`+`+2*n+`pt`),r.setAttribute(`height`,`+`+2*n+`pt`),r.setAttribute(`lspace`,n+`pt`),r.setAttribute(`voffset`,n+`pt`),e.label===`\\fcolorbox`){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute(`style`,`border: `+F(i)+` solid `+e.borderColor)}break;case`\\xcancel`:r.setAttribute(`notation`,`updiagonalstrike downdiagonalstrike`);break}return e.backgroundColor&&r.setAttribute(`mathbackground`,e.backgroundColor),r}}),J({type:`enclose`,names:[`\\fcolorbox`],numArgs:3,allowedInText:!0,argTypes:[`color`,`color`,`hbox`],handler(e,t,n){var r=e.parser,i=e.funcName,a=Q(t[0],`color-token`).color,o=Q(t[1],`color-token`).color,s=t[2];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}}}),J({type:`enclose`,names:[`\\fbox`],numArgs:1,argTypes:[`hbox`],allowedInText:!0,handler(e,t){return{type:`enclose`,mode:e.parser.mode,label:`\\fbox`,body:t[0]}}}),J({type:`enclose`,names:[`\\cancel`,`\\bcancel`,`\\xcancel`,`\\phase`],numArgs:1,handler(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}}}),J({type:`enclose`,names:[`\\sout`],numArgs:1,allowedInText:!0,handler(e,t){var n=e.parser,r=e.funcName;n.mode===`math`&&n.settings.reportNonstrict(`mathVsSout`,`LaTeX's \\sout works only in text mode`);var i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}}}),J({type:`enclose`,names:[`\\angl`],numArgs:1,argTypes:[`hbox`],allowedInText:!1,handler(e,t){return{type:`enclose`,mode:e.parser.mode,label:`\\angl`,body:t[0]}}});var Ml={};function Nl(e){for(var t=e.type,n=e.names,r=e.props,i=e.handler,a=e.htmlBuilder,o=e.mathmlBuilder,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},c=0;c<n.length;++c)Ml[n[c]]=s;a&&(Ls[t]=a),o&&(Rs[t]=o)}var Pl={};function $(e,t){Pl[e]=t}var Fl=class e{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new e(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}},Il=class e{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(t,n){return new e(n,Fl.range(this,t))}};function Ll(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n===`\\relax`&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n===`\\hline`||n===`\\hdashline`;)e.consume(),t.push(n===`\\hdashline`),e.consumeSpaces(),n=e.fetch().text;return t}var Rl=e=>{if(!e.parser.settings.displayMode)throw new N(`{`+e.envName+`} can be used only in display mode.`)},zl=new Set([`gather`,`gather*`]);function Bl(e){if(!e.includes(`ed`))return!e.includes(`*`)}function Vl(e,t,n){var r=t.hskipBeforeAndAfter,i=t.addJot,a=t.cols,o=t.arraystretch,s=t.colSeparationType,c=t.autoTag,l=t.singleRow,u=t.emptySingleRow,d=t.maxNumCols,f=t.leqno;if(e.gullet.beginGroup(),l||e.gullet.macros.set(`\\cr`,`\\\\\\relax`),!o){var p=e.gullet.expandMacroAsText(`\\arraystretch`);if(p==null)o=1;else if(o=parseFloat(p),!o||o<0)throw new N(`Invalid \\arraystretch: `+p)}e.gullet.beginGroup();var m=[],h=[m],g=[],_=[],v=c==null?void 0:[];function y(){c&&e.gullet.macros.set(`\\@eqnsw`,`1`,!0)}function b(){v&&(e.gullet.macros.get(`\\df@tag`)?(v.push(e.subparse([new Il(`\\df@tag`)])),e.gullet.macros.set(`\\df@tag`,void 0,!0)):v.push(!!c&&e.gullet.macros.get(`\\@eqnsw`)===`1`))}for(y(),_.push(Ll(e));;){var x=e.parseExpression(!1,l?`\\end`:`\\\\`);e.gullet.endGroup(),e.gullet.beginGroup();var S={type:`ordgroup`,mode:e.mode,body:x};n&&(S={type:`styling`,mode:e.mode,style:n,resetFont:!0,body:[S]}),m.push(S);var ee=e.fetch().text;if(ee===`&`){if(d&&m.length===d){if(l||s)throw new N(`Too many tab characters: &`,e.nextToken);e.settings.reportNonstrict(`textEnv`,`Too few columns specified in the {array} column argument.`)}e.consume()}else if(ee===`\\end`){b(),m.length===1&&S.type===`styling`&&S.body.length===1&&S.body[0].type===`ordgroup`&&S.body[0].body.length===0&&(h.length>1||!u)&&h.pop(),_.length<h.length+1&&_.push([]);break}else if(ee===`\\\\`){e.consume();var te=void 0;e.gullet.future().text!==` `&&(te=e.parseSizeGroup(!0)),g.push(te?te.value:null),b(),_.push(Ll(e)),m=[],h.push(m),y()}else throw new N(`Expected & or \\\\ or \\cr or \\end`,e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:`array`,mode:e.mode,addJot:i,arraystretch:o,body:h,cols:a,rowGaps:g,hskipBeforeAndAfter:r,hLinesBeforeRow:_,colSeparationType:s,tags:v,leqno:f}}function Hl(e){return e.slice(0,1)===`d`?`display`:`text`}var Ul=function(e,t){var n,r,i=e.body.length,a=e.hLinesBeforeRow,o=0,s=Array(i),c=[],l=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),u=1/t.fontMetrics().ptPerEm,d=5*u;e.colSeparationType&&e.colSeparationType===`small`&&(d=.2778*(t.havingStyle(P.SCRIPT).sizeMultiplier/t.sizeMultiplier));var f=e.colSeparationType===`CD`?eo({number:3,unit:`ex`},t):12*u,p=3*u,m=e.arraystretch*f,h=.7*m,g=.3*m,_=0;function v(e){for(var t=0;t<e.length;++t)t>0&&(_+=.25),c.push({pos:_,isDashed:e[t]})}for(v(a[0]),n=0;n<e.body.length;++n){var y=e.body[n],b=h,x=g;o<y.length&&(o=y.length);var S={cells:Array(y.length),height:0,depth:0,pos:0};for(r=0;r<y.length;++r){var ee=Y(y[r],t);x<ee.depth&&(x=ee.depth),b<ee.height&&(b=ee.height),S.cells[r]=ee}var te=e.rowGaps[n],ne=0;te&&(ne=eo(te,t),ne>0&&(ne+=g,x<ne&&(x=ne),ne=0)),e.addJot&&n<e.body.length-1&&(x+=p),S.height=b,S.depth=x,_+=b,S.pos=_,_+=x+ne,s[n]=S,v(a[n+1])}var re=_/2+t.fontMetrics().axisHeight,ie=e.cols||[],ae=[],oe,se,ce=[];if(e.tags&&e.tags.some(e=>e))for(n=0;n<i;++n){var le=s[n],ue=le.pos-re,de=e.tags[n],fe=void 0;fe=de===!0?K([`eqn-num`],[],t):de===!1?K([],[],t):K([],Ks(de,t,!0),t),fe.depth=le.depth,fe.height=le.height,ce.push({type:`elem`,elem:fe,shift:ue})}for(r=0,se=0;r<o||se<ie.length;++r,++se){for(var C=ie[se],pe=!0;(me=C)?.type===`separator`;){var me;if(pe||(oe=K([`arraycolsep`],[]),oe.style.width=F(t.fontMetrics().doubleRuleSep),ae.push(oe)),C.separator===`|`||C.separator===`:`){var he=C.separator===`|`?`solid`:`dashed`,ge=K([`vertical-separator`],[],t);ge.style.height=F(_),ge.style.borderRightWidth=F(l),ge.style.borderRightStyle=he,ge.style.margin=`0 `+F(-l/2);var _e=_-re;_e&&(ge.style.verticalAlign=F(-_e)),ae.push(ge)}else throw new N(`Invalid separator type: `+C.separator);se++,C=ie[se],pe=!1}if(!(r>=o)){var ve=void 0;(r>0||e.hskipBeforeAndAfter)&&(ve=C?.pregap??d,ve!==0&&(oe=K([`arraycolsep`],[]),oe.style.width=F(ve),ae.push(oe)));var ye=[];for(n=0;n<i;++n){var be=s[n],xe=be.cells[r];if(xe){var w=be.pos-re;xe.depth=be.depth,xe.height=be.height,ye.push({type:`elem`,elem:xe,shift:w})}}var Se=q({positionType:`individualShift`,children:ye}),Ce=K([`col-align-`+(C?.align||`c`)],[Se]);ae.push(Ce),(r<o-1||e.hskipBeforeAndAfter)&&(ve=C?.postgap??d,ve!==0&&(oe=K([`arraycolsep`],[]),oe.style.width=F(ve),ae.push(oe)))}}var we=K([`mtable`],ae);if(c.length>0){for(var T=xs(`katex-hline`,t,l),Te=xs(`katex-hdashline`,t,l),Ee=[{type:`elem`,elem:we,shift:0}];c.length>0;){var De=c.pop(),Oe=De.pos-re;De.isDashed?Ee.push({type:`elem`,elem:Te,shift:Oe}):Ee.push({type:`elem`,elem:T,shift:Oe})}we=q({positionType:`individualShift`,children:Ee})}if(ce.length===0)return K([`mord`],[we],t);var ke=K([`katex-tag`],[q({positionType:`individualShift`,children:ce})],t);return Cs([we,ke])},Wl={c:`center `,l:`left `,r:`right `},Gl=function(e,t){for(var n=[],r=new X(`mtd`,[],[`mtr-glue`]),i=new X(`mtd`,[],[`mml-eqn-num`]),a=0;a<e.body.length;a++){for(var o=e.body[a],s=[],c=0;c<o.length;c++)s.push(new X(`mtd`,[Z(o[c],t)]));e.tags&&e.tags[a]&&(s.unshift(r),s.push(r),e.leqno?s.unshift(i):s.push(i)),n.push(new X(`mtr`,s))}var l=new X(`mtable`,n),u=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);l.setAttribute(`rowspacing`,F(u));var d=``,f=``;if(e.cols&&e.cols.length>0){var p=e.cols,m=``,h=!1,g=0,_=p.length;p[0].type===`separator`&&(d+=`top `,g=1),p[p.length-1].type===`separator`&&(d+=`bottom `,--_);for(var v=g;v<_;v++){var y=p[v];y.type===`align`?(f+=Wl[y.align],h&&(m+=`none `),h=!0):y.type===`separator`&&(h&&=(m+=y.separator===`|`?`solid `:`dashed `,!1))}l.setAttribute(`columnalign`,f.trim()),/[sd]/.test(m)&&l.setAttribute(`columnlines`,m.trim())}if(e.colSeparationType===`align`){for(var b=e.cols||[],x=``,S=1;S<b.length;S++)x+=S%2?`0em `:`1em `;l.setAttribute(`columnspacing`,x.trim())}else e.colSeparationType===`alignat`||e.colSeparationType===`gather`?l.setAttribute(`columnspacing`,`0em`):e.colSeparationType===`small`?l.setAttribute(`columnspacing`,`0.2778em`):e.colSeparationType===`CD`?l.setAttribute(`columnspacing`,`0.5em`):l.setAttribute(`columnspacing`,`1em`);var ee=``,te=e.hLinesBeforeRow;d+=te[0].length>0?`left `:``,d+=te[te.length-1].length>0?`right `:``;for(var ne=1;ne<te.length-1;ne++)ee+=te[ne].length===0?`none `:te[ne][0]?`dashed `:`solid `;return/[sd]/.test(ee)&&l.setAttribute(`rowlines`,ee.trim()),d!==``&&(l=new X(`menclose`,[l]),l.setAttribute(`notation`,d.trim())),e.arraystretch&&e.arraystretch<1&&(l=new X(`mstyle`,[l]),l.setAttribute(`scriptlevel`,`1`)),l},Kl=function(e,t){e.envName.includes(`ed`)||Rl(e);var n=[],r=e.envName===`split`,i=Vl(e.parser,{cols:n,addJot:!0,autoTag:r?void 0:Bl(e.envName),emptySingleRow:!0,colSeparationType:e.envName.includes(`at`)?`alignat`:`align`,maxNumCols:r?2:void 0,leqno:e.parser.settings.leqno},`display`),a=0,o=0,s={type:`ordgroup`,mode:e.mode,body:[]};if(t[0]&&t[0].type===`ordgroup`){for(var c=``,l=0;l<t[0].body.length;l++){var u=Q(t[0].body[l],`textord`);c+=u.text}a=Number(c),o=a*2}var d=!o;i.body.forEach(function(e){for(var t=1;t<e.length;t+=2)Q(Q(e[t],`styling`).body[0],`ordgroup`).body.unshift(s);if(d)o<e.length&&(o=e.length);else{var n=e.length/2;if(a<n)throw new N(`Too many math in a row: `+(`expected `+a+`, but got `+n),e[0])}});for(var f=0;f<o;++f){var p=`r`,m=0;f%2==1?p=`l`:f>0&&d&&(m=1),n[f]={type:`align`,align:p,pregap:m,postgap:0}}return i.colSeparationType=d?`align`:`alignat`,i};Nl({type:`array`,names:[`array`,`darray`],props:{numArgs:1},handler(e,t){var n=(Nc(t[0])?[t[0]]:Q(t[0],`ordgroup`).body).map(function(e){var t=Mc(e).text;if(`lcr`.includes(t))return{type:`align`,align:t};if(t===`|`)return{type:`separator`,separator:`|`};if(t===`:`)return{type:`separator`,separator:`:`};throw new N(`Unknown column alignment: `+t,e)}),r={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Vl(e.parser,r,Hl(e.envName))},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`matrix`,`pmatrix`,`bmatrix`,`Bmatrix`,`vmatrix`,`Vmatrix`,`matrix*`,`pmatrix*`,`bmatrix*`,`Bmatrix*`,`vmatrix*`,`Vmatrix*`],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:[`(`,`)`],bmatrix:[`[`,`]`],Bmatrix:[`\\{`,`\\}`],vmatrix:[`|`,`|`],Vmatrix:[`\\Vert`,`\\Vert`]}[e.envName.replace(`*`,``)],n=`c`,r={hskipBeforeAndAfter:!1,cols:[{type:`align`,align:n}]};if(e.envName.charAt(e.envName.length-1)===`*`){var i=e.parser;if(i.consumeSpaces(),i.fetch().text===`[`){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,!`lcr`.includes(n))throw new N(`Expected l or c or r`,i.nextToken);i.consume(),i.consumeSpaces(),i.expect(`]`),i.consume(),r.cols=[{type:`align`,align:n}]}}var a=Vl(e.parser,r,Hl(e.envName)),o=Math.max(0,...a.body.map(e=>e.length));return a.cols=Array(o).fill({type:`align`,align:n}),t?{type:`leftright`,mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`smallmatrix`],props:{numArgs:0},handler(e){var t=Vl(e.parser,{arraystretch:.5},`script`);return t.colSeparationType=`small`,t},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`subarray`],props:{numArgs:1},handler(e,t){var n=(Nc(t[0])?[t[0]]:Q(t[0],`ordgroup`).body).map(function(e){var t=Mc(e).text;if(`lc`.includes(t))return{type:`align`,align:t};throw new N(`Unknown column alignment: `+t,e)});if(n.length>1)throw new N(`{subarray} can contain only one column`);var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5},i=Vl(e.parser,r,`script`);if(i.body.length>0&&i.body[0].length>1)throw new N(`{subarray} can contain only one column`);return i},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`cases`,`dcases`,`rcases`,`drcases`],props:{numArgs:0},handler(e){var t=Vl(e.parser,{arraystretch:1.2,cols:[{type:`align`,align:`l`,pregap:0,postgap:1},{type:`align`,align:`l`,pregap:0,postgap:0}]},Hl(e.envName));return{type:`leftright`,mode:e.mode,body:[t],left:e.envName.includes(`r`)?`.`:`\\{`,right:e.envName.includes(`r`)?`\\}`:`.`,rightColor:void 0}},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`align`,`align*`,`aligned`,`split`],props:{numArgs:0},handler:Kl,htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`gathered`,`gather`,`gather*`],props:{numArgs:0},handler(e){zl.has(e.envName)&&Rl(e);var t={cols:[{type:`align`,align:`c`}],addJot:!0,colSeparationType:`gather`,autoTag:Bl(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Vl(e.parser,t,`display`)},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`alignat`,`alignat*`,`alignedat`],props:{numArgs:1},handler:Kl,htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`equation`,`equation*`],props:{numArgs:0},handler(e){Rl(e);var t={autoTag:Bl(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Vl(e.parser,t,`display`)},htmlBuilder:Ul,mathmlBuilder:Gl}),Nl({type:`array`,names:[`CD`],props:{numArgs:0},handler(e){return Rl(e),qc(e.parser)},htmlBuilder:Ul,mathmlBuilder:Gl}),$(`\\nonumber`,`\\gdef\\@eqnsw{0}`),$(`\\notag`,`\\nonumber`),J({type:`text`,names:[`\\hline`,`\\hdashline`],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(e,t){throw new N(e.funcName+` valid only within array environment`)}});var ql=Ml;J({type:`environment`,names:[`\\begin`,`\\end`],numArgs:1,argTypes:[`text`],handler(e,t){var n=e.parser,r=e.funcName,i=t[0];if(i.type!==`ordgroup`)throw new N(`Invalid environment name`,i);for(var a=``,o=0;o<i.body.length;++o)a+=Q(i.body[o],`textord`).text;if(r===`\\begin`){if(!Object.prototype.hasOwnProperty.call(ql,a))throw new N(`No such environment: `+a,i);var s=ql[a],c=n.parseArguments(`\\begin{`+a+`}`,s),l=c.args,u=c.optArgs,d={mode:n.mode,envName:a,parser:n},f=s.handler(d,l,u);n.expect(`\\end`,!1);var p=n.nextToken,m=Q(n.parseFunction(),`environment`);if(m.name!==a)throw new N(`Mismatch: \\begin{`+a+`} matched by \\end{`+m.name+`}`,p);return f}return{type:`environment`,mode:n.mode,name:a,nameGroup:i}}});var Jl=(e,t)=>{var n=e.font,r=t.withFont(n);return Y(e.body,r)},Yl=(e,t)=>{var n=e.font,r=t.withFont(n);return Z(e.body,r)},Xl={"\\Bbb":`\\mathbb`,"\\bold":`\\mathbf`,"\\frak":`\\mathfrak`};J({type:`font`,names:[`\\mathrm`,`\\mathit`,`\\mathbf`,`\\mathnormal`,`\\mathsfit`,`\\mathbb`,`\\mathcal`,`\\mathfrak`,`\\mathscr`,`\\mathsf`,`\\mathtt`,`\\Bbb`,`\\bold`,`\\frak`],numArgs:1,allowedInArgument:!0,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=Bs(t[0]),a=r in Xl?Xl[r]:r;return{type:`font`,mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:Jl,mathmlBuilder:Yl}),J({type:`mclass`,names:[`\\boldsymbol`,`\\bm`],numArgs:1,handler:(e,t)=>{var n=e.parser,r=t[0];return{type:`mclass`,mode:n.mode,mclass:Vc(r),body:[{type:`font`,mode:n.mode,font:`boldsymbol`,body:r}],isCharacterBox:la(r)}}}),J({type:`font`,names:[`\\rm`,`\\sf`,`\\tt`,`\\bf`,`\\it`,`\\cal`],numArgs:0,allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=e.breakOnTokenText,a=n.mode,o=n.parseExpression(!0,i);return{type:`font`,mode:a,font:`math`+r.slice(1),body:{type:`ordgroup`,mode:n.mode,body:o}}}});var Zl=(e,t)=>{var n=t.style,r=n.fracNum(),i=n.fracDen(),a=t.havingStyle(r),o=Y(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;o.height=o.height<s?s:o.height,o.depth=o.depth<c?c:o.depth}a=t.havingStyle(i);var l=Y(e.denom,a,t),u,d,f;e.hasBarLine?(e.barSize?(d=eo(e.barSize,t),u=xs(`frac-line`,t,d)):u=xs(`frac-line`,t),d=u.height,f=u.height):(u=null,d=0,f=t.fontMetrics().defaultRuleThickness);var p,m,h;n.size===P.DISPLAY.size?(p=t.fontMetrics().num1,m=d>0?3*f:7*f,h=t.fontMetrics().denom1):(d>0?(p=t.fontMetrics().num2,m=f):(p=t.fontMetrics().num3,m=3*f),h=t.fontMetrics().denom2);var g;if(u){var _=t.fontMetrics().axisHeight;p-o.depth-(_+.5*d)<m&&(p+=m-(p-o.depth-(_+.5*d))),_-.5*d-(l.height-h)<m&&(h+=m-(_-.5*d-(l.height-h)));var v=-(_-.5*d);g=q({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:u,shift:v},{type:`elem`,elem:o,shift:-p}]})}else{var y=p-o.depth-(l.height-h);y<m&&(p+=.5*(m-y),h+=.5*(m-y)),g=q({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:o,shift:-p}]})}a=t.havingStyle(n),g.height*=a.sizeMultiplier/t.sizeMultiplier,g.depth*=a.sizeMultiplier/t.sizeMultiplier;var b=n.size===P.DISPLAY.size?t.fontMetrics().delim1:n.size===P.SCRIPTSCRIPT.size?t.havingStyle(P.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,x=e.leftDelim==null?Zs(t,[`mopen`]):Tl(e.leftDelim,b,!0,t.havingStyle(n),e.mode,[`mopen`]),S=e.continued?K([]):e.rightDelim==null?Zs(t,[`mclose`]):Tl(e.rightDelim,b,!0,t.havingStyle(n),e.mode,[`mclose`]);return K([`mord`].concat(a.sizingClasses(t)),[x,K([`mfrac`],[g]),S],t)},Ql=(e,t)=>{var n=new X(`mfrac`,[Z(e.numer,t),Z(e.denom,t)]);if(!e.hasBarLine)n.setAttribute(`linethickness`,`0px`);else if(e.barSize){var r=eo(e.barSize,t);n.setAttribute(`linethickness`,F(r))}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var a=new X(`mo`,[new tc(e.leftDelim.replace(`\\`,``))]);a.setAttribute(`fence`,`true`),i.push(a)}if(i.push(n),e.rightDelim!=null){var o=new X(`mo`,[new tc(e.rightDelim.replace(`\\`,``))]);o.setAttribute(`fence`,`true`),i.push(o)}return oc(i)}return n},$l=(e,t)=>t?{type:`styling`,mode:e.mode,style:t,body:[e]}:e;J({type:`genfrac`,names:[`\\cfrac`,`\\dfrac`,`\\frac`,`\\tfrac`,`\\dbinom`,`\\binom`,`\\tbinom`,`\\\\atopfrac`,`\\\\bracefrac`,`\\\\brackfrac`],numArgs:2,allowedInArgument:!0,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=t[0],a=t[1],o,s=null,c=null;switch(r){case`\\cfrac`:case`\\dfrac`:case`\\frac`:case`\\tfrac`:o=!0;break;case`\\\\atopfrac`:o=!1;break;case`\\dbinom`:case`\\binom`:case`\\tbinom`:o=!1,s=`(`,c=`)`;break;case`\\\\bracefrac`:o=!1,s=`\\{`,c=`\\}`;break;case`\\\\brackfrac`:o=!1,s=`[`,c=`]`;break;default:throw Error(`Unrecognized genfrac command`)}var l=r===`\\cfrac`,u=null;return l||r.startsWith(`\\d`)?u=`display`:r.startsWith(`\\t`)&&(u=`text`),$l({type:`genfrac`,mode:n.mode,numer:i,denom:a,continued:l,hasBarLine:o,leftDelim:s,rightDelim:c,barSize:null},u)},htmlBuilder:Zl,mathmlBuilder:Ql}),J({type:`infix`,names:[`\\over`,`\\choose`,`\\atop`,`\\brace`,`\\brack`],numArgs:0,infix:!0,handler(e){var t=e.parser,n=e.funcName,r=e.token,i;switch(n){case`\\over`:i=`\\frac`;break;case`\\choose`:i=`\\binom`;break;case`\\atop`:i=`\\\\atopfrac`;break;case`\\brace`:i=`\\\\bracefrac`;break;case`\\brack`:i=`\\\\brackfrac`;break;default:throw Error(`Unrecognized infix genfrac command`)}return{type:`infix`,mode:t.mode,replaceWith:i,token:r}}});var eu=[`display`,`text`,`script`,`scriptscript`],tu=function(e){var t=null;return e.length>0&&(t=e,t=t===`.`?null:t),t};J({type:`genfrac`,names:[`\\genfrac`],numArgs:6,allowedInArgument:!0,argTypes:[`math`,`math`,`size`,`text`,`math`,`math`],handler(e,t){var n=e.parser,r=t[4],i=t[5],a=Bs(t[0]),o=a.type===`atom`&&a.family===`open`?tu(a.text):null,s=Bs(t[1]),c=s.type===`atom`&&s.family===`close`?tu(s.text):null,l=Q(t[2],`size`),u,d=null;l.isBlank?u=!0:(d=l.value,u=d.number>0);var f=null,p=t[3];if(p.type===`ordgroup`){if(p.body.length>0){var m=Q(p.body[0],`textord`);f=eu[Number(m.text)]}}else p=Q(p,`textord`),f=eu[Number(p.text)];return $l({type:`genfrac`,mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:c},f)}}),J({type:`infix`,names:[`\\above`],numArgs:1,argTypes:[`size`],infix:!0,handler(e,t){var n=e.parser;e.funcName;var r=e.token;return{type:`infix`,mode:n.mode,replaceWith:`\\\\abovefrac`,size:Q(t[0],`size`).value,token:r}}}),J({type:`genfrac`,names:[`\\\\abovefrac`],numArgs:3,argTypes:[`math`,`size`,`math`],handler:(e,t)=>{var n=e.parser;e.funcName;var r=t[0],i=Q(t[1],`infix`).size;if(!i)throw Error(`\\\\abovefrac expected size, but got `+String(i));var a=t[2],o=i.number>0;return{type:`genfrac`,mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null}}});var nu=(e,t)=>{var n=t.style,r,i;e.type===`supsub`?(r=e.sup?Y(e.sup,t.havingStyle(n.sup()),t):Y(e.sub,t.havingStyle(n.sub()),t),i=Q(e.base,`horizBrace`)):i=Q(e,`horizBrace`);var a=Y(i.base,t.havingBaseStyle(P.DISPLAY)),o=Tc(i,t),s=i.isOver?q({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:.1},{type:`elem`,elem:o,wrapperClasses:[`svg-align`]}]}):q({positionType:`bottom`,positionData:a.depth+.1+o.height,children:[{type:`elem`,elem:o,wrapperClasses:[`svg-align`]},{type:`kern`,size:.1},{type:`elem`,elem:a}]});if(r){var c=K([`minner`,i.isOver?`mover`:`munder`],[s],t);s=i.isOver?q({positionType:`firstBaseline`,children:[{type:`elem`,elem:c},{type:`kern`,size:.2},{type:`elem`,elem:r}]}):q({positionType:`bottom`,positionData:c.depth+.2+r.height+r.depth,children:[{type:`elem`,elem:r},{type:`kern`,size:.2},{type:`elem`,elem:c}]})}return K([`minner`,i.isOver?`mover`:`munder`],[s],t)};J({type:`horizBrace`,names:[`\\overbrace`,`\\underbrace`,`\\overbracket`,`\\underbracket`],numArgs:1,handler(e,t){var n=e.parser,r=e.funcName;return{type:`horizBrace`,mode:n.mode,label:r,isOver:r.includes(`\\over`),base:t[0]}},htmlBuilder:nu,mathmlBuilder:(e,t)=>{var n=Sc(e.label);return new X(e.isOver?`mover`:`munder`,[Z(e.base,t),n])}}),J({type:`href`,names:[`\\href`],numArgs:2,argTypes:[`url`,`original`],allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=t[1],i=Q(t[0],`url`).url;return n.settings.isTrusted({command:`\\href`,url:i})?{type:`href`,mode:n.mode,href:i,body:Vs(r)}:n.formatUnsupportedCmd(`\\href`)},htmlBuilder:(e,t)=>{var n=Ks(e.body,t,!1);return Ss(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=dc(e.body,t);return n instanceof X||(n=new X(`mrow`,[n])),n.setAttribute(`href`,e.href),n}}),J({type:`href`,names:[`\\url`],numArgs:1,argTypes:[`url`],allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=Q(t[0],`url`).url;if(!n.settings.isTrusted({command:`\\url`,url:r}))return n.formatUnsupportedCmd(`\\url`);for(var i=[],a=0;a<r.length;a++){var o=r[a];o===`~`&&(o=`\\textasciitilde`),i.push({type:`textord`,mode:`text`,text:o})}var s={type:`text`,mode:n.mode,font:`\\texttt`,body:i};return{type:`href`,mode:n.mode,href:r,body:Vs(s)}}}),J({type:`hbox`,names:[`\\hbox`],numArgs:1,argTypes:[`text`],allowedInText:!0,primitive:!0,handler(e,t){return{type:`hbox`,mode:e.parser.mode,body:Vs(t[0])}},htmlBuilder(e,t){return Cs(Ks(e.body,t.withFont(``),!1))},mathmlBuilder(e,t){return new X(`mrow`,uc(e.body,t.withFont(``)))}}),J({type:`html`,names:[`\\htmlClass`,`\\htmlId`,`\\htmlStyle`,`\\htmlData`],numArgs:2,argTypes:[`raw`,`original`],allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=e.funcName;e.token;var i=Q(t[0],`raw`).string,a=t[1];n.settings.strict&&n.settings.reportNonstrict(`htmlExtension`,`HTML extension is disabled on strict mode`);var o,s={};switch(r){case`\\htmlClass`:s.class=i,o={command:`\\htmlClass`,class:i};break;case`\\htmlId`:s.id=i,o={command:`\\htmlId`,id:i};break;case`\\htmlStyle`:s.style=i,o={command:`\\htmlStyle`,style:i};break;case`\\htmlData`:for(var c=`{,}`,l=[],u=``,d=0;d<i.length;d++)i.startsWith(c,d)?(u+=`,`,d+=c.length-1):i[d]===`,`?(l.push(u),u=``):u+=i[d];l.push(u);for(var f=0;f<l.length;f++){var p=l[f],m=p.indexOf(`=`);if(m<0)throw new N(`\\htmlData key/value '`+p+`' missing equals sign`);var h=p.slice(0,m),g=p.slice(m+1);s[`data-`+h.trim()]=g}o={command:`\\htmlData`,attributes:s};break;default:throw Error(`Unrecognized html command`)}return n.settings.isTrusted(o)?{type:`html`,mode:n.mode,attributes:s,body:Vs(a)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=Ks(e.body,t,!1),r=[`enclosing`];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=K(r,n,t);for(var a of Object.entries(e.attributes)){var o=a[0],s=a[1];o!==`class`&&i.setAttribute(o,s)}return i},mathmlBuilder:(e,t)=>dc(e.body,t)}),J({type:`htmlmathml`,names:[`\\html@mathml`],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(e,t)=>({type:`htmlmathml`,mode:e.parser.mode,html:Vs(t[0]),mathml:Vs(t[1])}),htmlBuilder:(e,t)=>Cs(Ks(e.html,t,!1)),mathmlBuilder:(e,t)=>dc(e.mathml,t)});var ru=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 N(`Invalid size: '`+e+`' in \\includegraphics`);var n={number:+(t[1]+t[2]),unit:t[3]};if(!$a(n))throw new N(`Invalid unit: '`+n.unit+`' in \\includegraphics.`);return n};J({type:`includegraphics`,names:[`\\includegraphics`],numArgs:1,numOptionalArgs:1,argTypes:[`raw`,`url`],allowedInText:!1,handler:(e,t,n)=>{var r=e.parser,i={number:0,unit:`em`},a={number:.9,unit:`em`},o={number:0,unit:`em`},s=``;if(n[0])for(var c=Q(n[0],`raw`).string.split(`,`),l=0;l<c.length;l++){var u=c[l].split(`=`);if(u.length===2){var d=u[1].trim();switch(u[0].trim()){case`alt`:s=d;break;case`width`:i=ru(d);break;case`height`:a=ru(d);break;case`totalheight`:o=ru(d);break;default:throw new N(`Invalid key: '`+u[0]+`' in \\includegraphics.`)}}}var f=Q(t[0],`url`).url;return s===``&&(s=f,s=s.replace(/^.*[\\/]/,``),s=s.substring(0,s.lastIndexOf(`.`))),r.settings.isTrusted({command:`\\includegraphics`,url:f})?{type:`includegraphics`,mode:r.mode,alt:s,width:i,height:a,totalheight:o,src:f}:r.formatUnsupportedCmd(`\\includegraphics`)},htmlBuilder:(e,t)=>{var n=eo(e.height,t),r=0;e.totalheight.number>0&&(r=eo(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=eo(e.width,t));var a={height:F(n+r)};i>0&&(a.width=F(i)),r>0&&(a.verticalAlign=F(-r));var o=new lo(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new X(`mglyph`,[]);n.setAttribute(`alt`,e.alt);var r=eo(e.height,t),i=0;if(e.totalheight.number>0&&(i=eo(e.totalheight,t)-r,n.setAttribute(`valign`,F(-i))),n.setAttribute(`height`,F(r+i)),e.width.number>0){var a=eo(e.width,t);n.setAttribute(`width`,F(a))}return n.setAttribute(`src`,e.src),n}}),J({type:`kern`,names:[`\\kern`,`\\mkern`,`\\hskip`,`\\mskip`],numArgs:1,argTypes:[`size`],primitive:!0,allowedInText:!0,handler(e,t){var n=e.parser,r=e.funcName,i=Q(t[0],`size`);if(n.settings.strict){var a=r[1]===`m`,o=i.value.unit===`mu`;a?(o||n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` supports only mu units, `+(`not `+i.value.unit+` units`)),n.mode!==`math`&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` works only in math mode`)):o&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` doesn't support mu units`)}return{type:`kern`,mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return Es(e.dimension,t)},mathmlBuilder(e,t){return new nc(eo(e.dimension,t))}}),J({type:`lap`,names:[`\\mathllap`,`\\mathrlap`,`\\mathclap`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=t[0];return{type:`lap`,mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment===`clap`?(n=K([],[Y(e.body,t)]),n=K([`katex-inner`],[n],t)):n=K([`katex-inner`],[Y(e.body,t)]);var r=K([`katex-fix`],[]),i=K([e.alignment],[n,r],t),a=K([`katex-strut`]);return a.style.height=F(i.height+i.depth),i.depth&&(a.style.verticalAlign=F(-i.depth)),i.children.unshift(a),i=K([`katex-thinbox`],[i],t),K([`mord`,`katex-vbox`],[i],t)},mathmlBuilder:(e,t)=>{var n=new X(`mpadded`,[Z(e.body,t)]);if(e.alignment!==`rlap`){var r=e.alignment===`llap`?`-1`:`-0.5`;n.setAttribute(`lspace`,r+`width`)}return n.setAttribute(`width`,`0px`),n}}),J({type:`styling`,names:[`\\(`,`$`],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){var n=e.funcName,r=e.parser,i=r.mode;r.switchMode(`math`);var a=n===`\\(`?`\\)`:`$`,o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:`styling`,mode:r.mode,style:`text`,resetFont:!0,body:o}}}),J({type:`text`,names:[`\\)`,`\\]`],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){throw new N(`Mismatched `+e.funcName)}});var iu=(e,t)=>{switch(t.style.size){case P.DISPLAY.size:return e.display;case P.TEXT.size:return e.text;case P.SCRIPT.size:return e.script;case P.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};J({type:`mathchoice`,names:[`\\mathchoice`],numArgs:4,primitive:!0,handler:(e,t)=>({type:`mathchoice`,mode:e.parser.mode,display:Vs(t[0]),text:Vs(t[1]),script:Vs(t[2]),scriptscript:Vs(t[3])}),htmlBuilder:(e,t)=>Cs(Ks(iu(e,t),t,!1)),mathmlBuilder:(e,t)=>dc(iu(e,t),t)});var au=(e,t,n,r,i,a,o)=>{e=K([],[e]);var s=n&&la(n),c,l;if(t){var u=Y(t,r.havingStyle(i.sup()),r);l={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var d=Y(n,r.havingStyle(i.sub()),r);c={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-d.height)}}var f;if(l&&c)f=q({positionType:`bottom`,positionData:r.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+e.depth+o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:c.elem,marginLeft:F(-a)},{type:`kern`,size:c.kern},{type:`elem`,elem:e},{type:`kern`,size:l.kern},{type:`elem`,elem:l.elem,marginLeft:F(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else if(c)f=q({positionType:`top`,positionData:e.height-o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:c.elem,marginLeft:F(-a)},{type:`kern`,size:c.kern},{type:`elem`,elem:e}]});else if(l)f=q({positionType:`bottom`,positionData:e.depth+o,children:[{type:`elem`,elem:e},{type:`kern`,size:l.kern},{type:`elem`,elem:l.elem,marginLeft:F(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else return e;var p=[f];if(c&&a!==0&&!s){var m=K([`mspace`],[],r);m.style.marginRight=F(a),p.unshift(m)}return K([`mop`,`op-limits`],p,r)},ou=new Set([`\\smallint`]),su=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`op`),i=!0):a=Q(e,`op`);var o=t.style,s=!1;o.size===P.DISPLAY.size&&a.symbol&&!ou.has(a.name)&&(s=!0);var c,l;if(a.symbol){var u=s?`Size2-Regular`:`Size1-Regular`,d=``;if((a.name===`\\oiint`||a.name===`\\oiiint`)&&(d=a.name.slice(1),a.name=d===`oiint`?`\\iint`:`\\iiint`),c=ps(a.name,u,`math`,t,[`mop`,`op-symbol`,s?`large-op`:`small-op`]),l=c.italic,d.length>0){var f=As(d+`Size`+(s?`2`:`1`),t);c=q({positionType:`individualShift`,children:[{type:`elem`,elem:c,shift:0},{type:`elem`,elem:f,shift:s?.08:0}]}),a.name=`\\`+d,c.classes.unshift(`mop`),c.italic=l}}else if(a.body){var p=Ks(a.body,t,!0);p.length===1&&p[0]instanceof fo?(c=p[0],c.classes[0]=`mop`):c=K([`mop`],p,t)}else{for(var m=[],h=1;h<a.name.length;h++)m.push(ms(a.name[h],a.mode,t));c=K([`mop`],m,t)}var g=0,_=0;return(c instanceof fo||a.name===`\\oiint`||a.name===`\\oiiint`)&&!a.suppressBaseShift&&(g=(c.height-c.depth)/2-t.fontMetrics().axisHeight,_=c.italic??0),i?au(c,n,r,t,o,_,g):(g&&(c.style.position=`relative`,c.style.top=F(g)),c)},cu=(e,t)=>{var n;if(e.symbol)n=new X(`mo`,[ac(e.name,e.mode)]),ou.has(e.name)&&n.setAttribute(`largeop`,`false`);else if(e.body)n=new X(`mo`,uc(e.body,t));else{n=new X(`mi`,[new tc(e.name.slice(1))]);var r=new X(`mo`,[ac(`⁡`,`text`)]);n=e.parentIsSupSub?new X(`mrow`,[n,r]):ec([n,r])}return n},lu={"∏":`\\prod`,"∐":`\\coprod`,"∑":`\\sum`,"⋀":`\\bigwedge`,"⋁":`\\bigvee`,"⋂":`\\bigcap`,"⋃":`\\bigcup`,"⨀":`\\bigodot`,"⨁":`\\bigoplus`,"⨂":`\\bigotimes`,"⨄":`\\biguplus`,"⨆":`\\bigsqcup`};J({type:`op`,names:`\\coprod.\\bigvee.\\bigwedge.\\biguplus.\\bigcap.\\bigcup.\\intop.\\prod.\\sum.\\bigotimes.\\bigoplus.\\bigodot.\\bigsqcup.\\smallint.∏.∐.∑.⋀.⋁.⋂.⋃.⨀.⨁.⨂.⨄.⨆`.split(`.`),numArgs:0,handler:(e,t)=>{var n=e.parser,r=e.funcName;return r.length===1&&(r=lu[r]),{type:`op`,mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:su,mathmlBuilder:cu}),J({type:`op`,names:[`\\mathop`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=e.parser,r=t[0];return{type:`op`,mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Vs(r)}}});var uu={"∫":`\\int`,"∬":`\\iint`,"∭":`\\iiint`,"∮":`\\oint`,"∯":`\\oiint`,"∰":`\\oiiint`};J({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`.split(`.`),numArgs:0,handler(e){var t=e.parser,n=e.funcName;return{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}}}),J({type:`op`,names:[`\\det`,`\\gcd`,`\\inf`,`\\lim`,`\\max`,`\\min`,`\\Pr`,`\\sup`],numArgs:0,handler(e){var t=e.parser,n=e.funcName;return{type:`op`,mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}}}),J({type:`op`,names:[`\\int`,`\\iint`,`\\iiint`,`\\oint`,`\\oiint`,`\\oiiint`,`∫`,`∬`,`∭`,`∮`,`∯`,`∰`],numArgs:0,allowedInArgument:!0,handler(e){var t=e.parser,n=e.funcName;return n.length===1&&(n=uu[n]),{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}}});var du=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`operatorname`),i=!0):a=Q(e,`operatorname`);var o;if(a.body.length>0){for(var s=Ks(a.body.map(e=>{var t=`text`in e?e.text:void 0;return typeof t==`string`?{type:`textord`,mode:e.mode,text:t}:e}),t.withFont(`mathrm`),!0),c=0;c<s.length;c++){var l=s[c];l instanceof fo&&(l.text=l.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`))}o=K([`mop`],s,t)}else o=K([`mop`],[],t);return i?au(o,n,r,t,t.style,0,0):o};J({type:`operatorname`,names:[`\\operatorname@`,`\\operatornamewithlimits`],numArgs:1,handler:(e,t)=>{var n=e.parser,r=e.funcName,i=t[0];return{type:`operatorname`,mode:n.mode,body:Vs(i),alwaysHandleSupSub:r===`\\operatornamewithlimits`,limits:!1,parentIsSupSub:!1}},htmlBuilder:du,mathmlBuilder:(e,t)=>{for(var n=uc(e.body,t.withFont(`mathrm`)),r=!0,i=0;i<n.length;i++){var a=n[i];if(!(a instanceof nc))if(a instanceof X)switch(a.type){case`mi`:case`mn`:case`mspace`:case`mtext`:break;case`mo`:var o=a.children[0];a.children.length===1&&o instanceof tc?o.text=o.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`):r=!1;break;default:r=!1}else r=!1}r&&(n=[new tc(n.map(e=>e.toText()).join(``))]);var s=new X(`mi`,n);s.setAttribute(`mathvariant`,`normal`);var c=new X(`mo`,[ac(`⁡`,`text`)]);return e.parentIsSupSub?new X(`mrow`,[s,c]):ec([s,c])}}),$(`\\operatorname`,`\\@ifstar\\operatornamewithlimits\\operatorname@`),zs({type:`ordgroup`,htmlBuilder(e,t){return e.semisimple?Cs(Ks(e.body,t,!1)):K([`mord`],Ks(e.body,t,!0),t)},mathmlBuilder(e,t){return dc(e.body,t,!0)}}),J({type:`overline`,names:[`\\overline`],numArgs:1,handler(e,t){var n=e.parser,r=t[0];return{type:`overline`,mode:n.mode,body:r}},htmlBuilder(e,t){var n=Y(e.body,t.havingCrampedStyle()),r=xs(`overline-line`,t),i=t.fontMetrics().defaultRuleThickness;return K([`mord`,`katex-overline`],[q({positionType:`firstBaseline`,children:[{type:`elem`,elem:n},{type:`kern`,size:3*i},{type:`elem`,elem:r},{type:`kern`,size:i}]})],t)},mathmlBuilder(e,t){var n=new X(`mo`,[new tc(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new X(`mover`,[Z(e.body,t),n]);return r.setAttribute(`accent`,`true`),r}}),J({type:`phantom`,names:[`\\phantom`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=t[0];return{type:`phantom`,mode:n.mode,body:Vs(r)}},htmlBuilder:(e,t)=>Cs(Ks(e.body,t.withPhantom(),!1)),mathmlBuilder:(e,t)=>new X(`mphantom`,uc(e.body,t))}),$(`\\hphantom`,`\\smash{\\phantom{#1}}`),J({type:`vphantom`,names:[`\\vphantom`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var n=e.parser,r=t[0];return{type:`vphantom`,mode:n.mode,body:r}},htmlBuilder:(e,t)=>K([`mord`,`rlap`],[K([`katex-inner`],[Y(e.body,t.withPhantom())]),K([`katex-fix`],[])],t),mathmlBuilder:(e,t)=>{var n=new X(`mpadded`,[new X(`mphantom`,uc(Vs(e.body),t))]);return n.setAttribute(`width`,`0px`),n}}),J({type:`raisebox`,names:[`\\raisebox`],numArgs:2,argTypes:[`size`,`hbox`],allowedInText:!0,handler(e,t){var n=e.parser,r=Q(t[0],`size`).value,i=t[1];return{type:`raisebox`,mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=Y(e.body,t);return q({positionType:`shift`,positionData:-eo(e.dy,t),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){var n=new X(`mpadded`,[Z(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute(`voffset`,r),n}}),J({type:`internal`,names:[`\\relax`],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(e){return{type:`internal`,mode:e.parser.mode}}}),J({type:`rule`,names:[`\\rule`],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`size`,`size`,`size`],handler(e,t,n){var r=e.parser,i=n[0],a=Q(t[0],`size`),o=Q(t[1],`size`);return{type:`rule`,mode:r.mode,shift:i&&Q(i,`size`).value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=K([`mord`,`katex-rule`],[],t),r=eo(e.width,t),i=eo(e.height,t),a=e.shift?eo(e.shift,t):0;return n.style.borderRightWidth=F(r),n.style.borderTopWidth=F(i),n.style.bottom=F(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=eo(e.width,t),r=eo(e.height,t),i=e.shift?eo(e.shift,t):0,a=t.color&&t.getColor()||`black`,o=new X(`mspace`);o.setAttribute(`mathbackground`,a),o.setAttribute(`width`,F(n)),o.setAttribute(`height`,F(r));var s=new X(`mpadded`,[o]);return i>=0?s.setAttribute(`height`,F(i)):(s.setAttribute(`height`,F(i)),s.setAttribute(`depth`,F(-i))),s.setAttribute(`voffset`,F(i)),s}});function fu(e,t,n){for(var r=Ks(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var o=r[a].classes.indexOf(`katex-sizing`);o<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[o+1]===`reset-size`+t.size&&(r[a].classes[o+1]=`reset-size`+n.size),r[a].height*=i,r[a].depth*=i}return Cs(r)}var pu=[`\\tiny`,`\\sixptsize`,`\\scriptsize`,`\\footnotesize`,`\\small`,`\\normalsize`,`\\large`,`\\Large`,`\\LARGE`,`\\huge`,`\\Huge`];J({type:`sizing`,names:pu,numArgs:0,allowedInText:!0,handler:(e,t)=>{var n=e.breakOnTokenText,r=e.funcName,i=e.parser,a=i.parseExpression(!1,n);return{type:`sizing`,mode:i.mode,size:pu.indexOf(r)+1,body:a}},htmlBuilder:(e,t)=>{var n=t.havingSize(e.size);return fu(e.body,n,t)},mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=new X(`mstyle`,uc(e.body,n));return r.setAttribute(`mathsize`,F(n.sizeMultiplier)),r}}),J({type:`smash`,names:[`\\smash`],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(e,t,n)=>{var r=e.parser,i=!1,a=!1,o=n[0]&&Q(n[0],`ordgroup`);if(o)for(var s,c=0;c<o.body.length;++c){var l=o.body[c];if(s=Mc(l).text,s===`t`)i=!0;else if(s===`b`)a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var u=t[0];return{type:`smash`,mode:r.mode,body:u,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var n=K([],[Y(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return K([`mord`,`katex-smash`],[n],t);if(n.children)for(var r=0;r<n.children.length;r++)e.smashHeight&&(n.children[r].height=0),e.smashDepth&&(n.children[r].depth=0);return K([`mord`],[q({positionType:`firstBaseline`,children:[{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=new X(`mpadded`,[Z(e.body,t)]);return e.smashHeight&&n.setAttribute(`height`,`0px`),e.smashDepth&&n.setAttribute(`depth`,`0px`),n}}),J({type:`sqrt`,names:[`\\sqrt`],numArgs:1,numOptionalArgs:1,handler(e,t,n){var r=e.parser,i=n[0],a=t[0];return{type:`sqrt`,mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=Y(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=ws(n,t);var r=t.fontMetrics().defaultRuleThickness,i=r;t.style.id<P.TEXT.id&&(i=t.fontMetrics().xHeight);var a=r+i/4,o=ml(n.height+n.depth+a+r,t),s=o.span,c=o.ruleWidth,l=o.advanceWidth,u=s.height-c;u>n.height+n.depth+a&&(a=(a+u-n.height-n.depth)/2);var d=s.height-n.height-a-c;n.style.paddingLeft=F(l);var f=q({positionType:`firstBaseline`,children:[{type:`elem`,elem:n,wrapperClasses:[`svg-align`]},{type:`kern`,size:-(n.height+d)},{type:`elem`,elem:s},{type:`kern`,size:c}]});if(e.index){var p=t.havingStyle(P.SCRIPTSCRIPT),m=Y(e.index,p,t);return K([`mord`,`sqrt`],[K([`katex-root`],[q({positionType:`shift`,positionData:-(.6*(f.height-f.depth)),children:[{type:`elem`,elem:m}]})]),f],t)}else return K([`mord`,`sqrt`],[f],t)},mathmlBuilder(e,t){var n=e.body,r=e.index;return r?new X(`mroot`,[Z(n,t),Z(r,t)]):new X(`msqrt`,[Z(n,t)])}});var mu={display:P.DISPLAY,text:P.TEXT,script:P.SCRIPT,scriptscript:P.SCRIPTSCRIPT};function hu(e){return e in mu}J({type:`styling`,names:[`\\displaystyle`,`\\textstyle`,`\\scriptstyle`,`\\scriptscriptstyle`],numArgs:0,allowedInText:!0,primitive:!0,handler(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);if(!hu(o))throw Error(`Unknown style: `+o);return{type:`styling`,mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=mu[e.style],r=t.havingStyle(n);return e.resetFont&&(r=r.withFont(``)),fu(e.body,r,t)},mathmlBuilder(e,t){var n=mu[e.style],r=t.havingStyle(n);e.resetFont&&(r=r.withFont(``));var i=new X(`mstyle`,uc(e.body,r)),a={display:[`0`,`true`],text:[`0`,`false`],script:[`1`,`false`],scriptscript:[`2`,`false`]}[e.style];return i.setAttribute(`scriptlevel`,a[0]),i.setAttribute(`displaystyle`,a[1]),i}});var gu=function(e,t){var n=e.base;return n?n.type===`op`?n.limits&&(t.style.size===P.DISPLAY.size||n.alwaysHandleSupSub)?su:null:n.type===`operatorname`?n.alwaysHandleSupSub&&(t.style.size===P.DISPLAY.size||n.limits)?du:null:n.type===`accent`?la(n.base)?Fc:null:n.type===`horizBrace`&&!e.sub===n.isOver?nu:null:null};zs({type:`supsub`,htmlBuilder(e,t){var n=gu(e,t);if(n)return n(e,t);var r=e.base,i=e.sup,a=e.sub,o=Y(r,t),s,c,l=t.fontMetrics(),u=0,d=0,f=r&&la(r);if(i){var p=t.havingStyle(t.style.sup());s=Y(i,p,t),f||(u=o.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(a){var m=t.havingStyle(t.style.sub());c=Y(a,m,t),f||(d=o.depth+m.fontMetrics().subDrop*m.sizeMultiplier/t.sizeMultiplier)}var h=t.style===P.DISPLAY?l.sup1:t.style.cramped?l.sup3:l.sup2,g=t.sizeMultiplier,_=F(.5/l.ptPerEm/g),v=null;if(c){var y=e.base&&e.base.type===`op`&&e.base.name&&(e.base.name===`\\oiint`||e.base.name===`\\oiiint`);(o instanceof fo||y)&&(v=F(-(o.italic??0)))}var b;if(s&&c){u=Math.max(u,h,s.depth+.25*l.xHeight),d=Math.max(d,l.sub2);var x=4*l.defaultRuleThickness;if(u-s.depth-(c.height-d)<x){d=x-(u-s.depth)+c.height;var S=.8*l.xHeight-(u-s.depth);S>0&&(u+=S,d-=S)}b=q({positionType:`individualShift`,children:[{type:`elem`,elem:c,shift:d,marginRight:_,marginLeft:v},{type:`elem`,elem:s,shift:-u,marginRight:_}]})}else if(c)d=Math.max(d,l.sub1,c.height-.8*l.xHeight),b=q({positionType:`shift`,positionData:d,children:[{type:`elem`,elem:c,marginLeft:v,marginRight:_}]});else if(s)u=Math.max(u,h,s.depth+.25*l.xHeight),b=q({positionType:`shift`,positionData:-u,children:[{type:`elem`,elem:s,marginRight:_}]});else throw Error(`supsub must have either sup or sub.`);return K([Xs(o,`right`)||`mord`],[o,K([`msupsub`],[b])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type===`horizBrace`&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type===`op`||e.base.type===`operatorname`)&&(e.base.parentIsSupSub=!0);var a=[Z(e.base,t)];e.sub&&a.push(Z(e.sub,t)),e.sup&&a.push(Z(e.sup,t));var o;if(n)o=r?`mover`:`munder`;else if(!e.sub){var s=e.base;o=s&&s.type===`op`&&s.limits&&(t.style===P.DISPLAY||s.alwaysHandleSupSub)||s&&s.type===`operatorname`&&s.alwaysHandleSupSub&&(s.limits||t.style===P.DISPLAY)?`mover`:`msup`}else if(e.sup){var c=e.base;o=c&&c.type===`op`&&c.limits&&t.style===P.DISPLAY||c&&c.type===`operatorname`&&c.alwaysHandleSupSub&&(t.style===P.DISPLAY||c.limits)?`munderover`:`msubsup`}else{var l=e.base;o=l&&l.type===`op`&&l.limits&&(t.style===P.DISPLAY||l.alwaysHandleSupSub)||l&&l.type===`operatorname`&&l.alwaysHandleSupSub&&(l.limits||t.style===P.DISPLAY)?`munder`:`msub`}return new X(o,a)}}),zs({type:`atom`,htmlBuilder(e,t){return ms(e.text,e.mode,t,[`m`+e.family])},mathmlBuilder(e,t){var n=new X(`mo`,[ac(e.text,e.mode)]);if(e.family===`bin`){var r=cc(e,t);r===`bold-italic`&&n.setAttribute(`mathvariant`,r)}else e.family===`punct`?n.setAttribute(`separator`,`true`):(e.family===`open`||e.family===`close`)&&n.setAttribute(`stretchy`,`false`);return n}});var _u={mi:`italic`,mn:`normal`,mtext:`normal`};zs({type:`mathord`,htmlBuilder(e,t){return gs(e,t)},mathmlBuilder(e,t){var n=new X(`mi`,[ac(e.text,e.mode,t)]),r=cc(e,t)||`italic`;return r!==_u[n.type]&&n.setAttribute(`mathvariant`,r),n}}),zs({type:`textord`,htmlBuilder(e,t){return gs(e,t)},mathmlBuilder(e,t){var n=ac(e.text,e.mode,t),r=cc(e,t)||`normal`,i=e.mode===`text`?new X(`mtext`,[n]):/[0-9]/.test(e.text)?new X(`mn`,[n]):e.text===`\\prime`?new X(`mo`,[n]):new X(`mi`,[n]);return r!==_u[i.type]&&i.setAttribute(`mathvariant`,r),i}});var vu=new Map([[`\\nobreak`,`nobreak`],[`\\allowbreak`,`allowbreak`]]),yu=new Map([[` `,{}],[`\\ `,{}],[`~`,{className:`nobreak`}],[`\\space`,{}],[`\\nobreakspace`,{className:`nobreak`}]]);zs({type:`spacing`,htmlBuilder(e,t){var n=yu.get(e.text),r=vu.get(e.text);if(n){var i=n.className||``;if(e.mode===`text`){var a=gs(e,t);return a.classes.push(i),a}else return K([`mspace`,i],[ms(e.text,e.mode,t)],t)}else if(r)return K([`mspace`,r],[],t);else throw new N(`Unknown type of space "`+e.text+`"`)},mathmlBuilder(e,t){var n;if(yu.has(e.text))n=new X(`mtext`,[new tc(`\xA0`)]);else if(vu.has(e.text))return new X(`mspace`);else throw new N(`Unknown type of space "`+e.text+`"`);return n}});var bu=()=>{var e=new X(`mtd`,[]);return e.setAttribute(`width`,`50%`),e};zs({type:`tag`,mathmlBuilder(e,t){var n=new X(`mtable`,[new X(`mtr`,[bu(),new X(`mtd`,[dc(e.body,t)]),bu(),new X(`mtd`,[dc(e.tag,t)])])]);return n.setAttribute(`width`,`100%`),n}});var xu={"\\text":void 0,"\\textrm":`textrm`,"\\textsf":`textsf`,"\\texttt":`texttt`,"\\textnormal":`textrm`},Su={"\\textbf":`textbf`,"\\textmd":`textmd`},Cu={"\\textit":`textit`,"\\textup":`textup`},wu=(e,t)=>{var n=e.font;return n?xu[n]?t.withTextFontFamily(xu[n]):Su[n]?t.withTextFontWeight(Su[n]):n===`\\emph`?t.fontShape===`textit`?t.withTextFontShape(`textup`):t.withTextFontShape(`textit`):t.withTextFontShape(Cu[n]):t};J({type:`text`,names:[`\\text`,`\\textrm`,`\\textsf`,`\\texttt`,`\\textnormal`,`\\textbf`,`\\textmd`,`\\textit`,`\\textup`,`\\emph`],numArgs:1,argTypes:[`text`],allowedInArgument:!0,allowedInText:!0,handler(e,t){var n=e.parser,r=e.funcName,i=t[0];return{type:`text`,mode:n.mode,body:Vs(i),font:r}},htmlBuilder(e,t){var n=wu(e,t);return K([`mord`,`text`],Ks(e.body,n,!0),n)},mathmlBuilder(e,t){var n=wu(e,t);return dc(e.body,n)}}),J({type:`underline`,names:[`\\underline`],numArgs:1,allowedInText:!0,handler(e,t){return{type:`underline`,mode:e.parser.mode,body:t[0]}},htmlBuilder(e,t){var n=Y(e.body,t),r=xs(`underline-line`,t),i=t.fontMetrics().defaultRuleThickness;return K([`mord`,`katex-underline`],[q({positionType:`top`,positionData:n.height,children:[{type:`kern`,size:i},{type:`elem`,elem:r},{type:`kern`,size:3*i},{type:`elem`,elem:n}]})],t)},mathmlBuilder(e,t){var n=new X(`mo`,[new tc(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new X(`munder`,[Z(e.body,t),n]);return r.setAttribute(`accentunder`,`true`),r}}),J({type:`vcenter`,names:[`\\vcenter`],numArgs:1,argTypes:[`original`],allowedInText:!1,handler(e,t){return{type:`vcenter`,mode:e.parser.mode,body:t[0]}},htmlBuilder(e,t){var n=Y(e.body,t),r=t.fontMetrics().axisHeight;return q({positionType:`shift`,positionData:.5*(n.height-r-(n.depth+r)),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){return new X(`mrow`,[new X(`mpadded`,[Z(e.body,t)],[`vcenter`])])}}),J({type:`verb`,names:[`\\verb`],numArgs:0,allowedInText:!0,handler(e,t,n){throw new N(`\\verb ended by end of line instead of matching delimiter`)},htmlBuilder(e,t){for(var n=Tu(e),r=[],i=t.havingStyle(t.style.text()),a=0;a<n.length;a++){var o=n[a];o===`~`&&(o=`\\textasciitilde`),r.push(ps(o,`Typewriter-Regular`,e.mode,i,[`mord`,`texttt`]))}return K([`mord`,`text`].concat(i.sizingClasses(t)),vs(r),i)},mathmlBuilder(e,t){var n=new X(`mtext`,[new tc(Tu(e))]);return n.setAttribute(`mathvariant`,`monospace`),n}});var Tu=e=>e.body.replace(/ /g,e.star?`␣`:`\xA0`),Eu=Is,Du=`[ \r
321
321
  ]`,Ou=`\\\\[a-zA-Z@]+`,ku=`\\\\[^\ud800-\udfff]`,Au=`(`+Ou+`)`+Du+`*`,ju=`\\\\(
322
322
  |[ \r ]+
323
323
  ?)[ \r ]*`,Mu=`[̀-ͯ]`,Nu=RegExp(Mu+`+$`),Pu=`(`+Du+`+)|`+(ju+`|`)+`([!-\\[\\]-‧‪-퟿豈-￿]`+(Mu+`*`)+`|[\ud800-\udbff][\udc00-\udfff]`+(Mu+`*`)+`|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5`+(`|`+Au)+(`|`+ku+`)`),Fu=class{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(Pu,`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 Il(`EOF`,new Fl(this,t,t));var n=this.tokenRegex.exec(e);if(n===null||n.index!==t)throw new N(`Unexpected character: '`+e[t]+`'`,new Il(e[t],new Fl(this,t,t+1)));var r=n[6]||n[3]||(n[2]?`\\ `:` `);if(this.catcodes[r]===14){var i=e.indexOf(`
@@ -512,4 +512,4 @@ l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
512
512
  else paint();
513
513
  report(invalid);
514
514
  });
515
- })();`}function Ld(e,t){let n=e.createElement(`script`);n.textContent=Id(t),(e.body??e.documentElement).appendChild(n)}function Rd({session:e,path:t,kind:n,root:r,focused:i=!0,scrollDriver:a=!1,scrollReceiver:o=!1,scrollChannel:s=`profile`}){let c=yt(e,t,null,r,{passive:!0,live:!0,focused:i}),l=c.model,u=(0,E.useSyncExternalStore)(n=>De(Me(e,t,r),n),()=>l?.getValue()??null);return c.conflict&&c.conflict.phase!==`unresolved`?(0,D.jsx)(st,{session:e,path:t,buffer:c,focused:i}):u===null?null:n===`markdown`?(0,D.jsx)(Bd,{session:e,path:t,text:u,root:r,scrollDriver:a,scrollReceiver:o,scrollChannel:s,focused:i}):(0,D.jsx)(Ud,{session:e,path:t,text:u,root:r,scrollDriver:a,scrollReceiver:o,scrollChannel:s,focused:i})}function zd({controls:e}){return e.open?(0,D.jsx)(le,{query:e.query,focusKey:e.focusKey,options:e.options,result:e.result,onQueryChange:e.setQuery,onOptionsChange:e.setOptions,onNext:e.next,onPrevious:e.previous,onClose:e.close}):null}vr.addHook(`afterSanitizeAttributes`,e=>{e.tagName===`A`&&/^https?:/i.test(e.getAttribute(`href`)??``)&&(e.setAttribute(`target`,`_blank`),e.setAttribute(`rel`,`noopener noreferrer`))});function Bd({session:e,path:t,text:n,root:r,scrollDriver:i,scrollReceiver:o,scrollChannel:s,focused:c}){let l=(0,E.useMemo)(()=>vr.sanitize(gd(n)),[n]),u=(0,E.useMemo)(()=>({__html:l}),[l]),d=(0,E.useRef)(null),f=(0,E.useRef)(null),p=(0,E.useRef)(null);(0,E.useEffect)(()=>{let e=f.current;if(!e)return;let t=new Sr(e);return p.current=t,()=>{t.dispose(),p.current=null}},[]);let m=ue({shortcutEnabled:c,onFind:(e,t,n)=>p.current?.find(e,t,n)??ce,onClear:()=>p.current?.clear(),onCloseFocus:()=>d.current?.focus({preventScroll:!0})});(0,E.useEffect)(()=>m.refresh(),[l,m.refresh]),(0,E.useEffect)(()=>{let n=d.current,a=f.current;if(!(!n||!a))return pt(n,{channel:s,target:{session:e,path:t,root:r},driver:i,receiver:o,resizeElements:[n,a]})},[l,e,t,r,s,i,o]),(0,E.useEffect)(()=>{let n=f.current;if(!n)return;let i=!1,o=[];for(let s of n.querySelectorAll(`img`)){let n=me(t,s.getAttribute(`src`)??``);n&&(s.removeAttribute(`src`),a(`GET`,`/api/worktrees/${e}/media?path=${encodeURIComponent(n)}${ie(r)}`).then(e=>e.blob()).then(e=>{if(i)return;let t=URL.createObjectURL(e);o.push(t),s.src=t}).catch(()=>void 0))}return()=>{i=!0;for(let e of o)URL.revokeObjectURL(e)}},[l,e,t,r]);let{openFile:h}=ee(),g=n=>{let i=n.target.closest(`a`);if(!i)return;let a=i.getAttribute(`href`)??``;if(/^https?:/i.test(a)||(n.preventDefault(),!n.metaKey&&!n.ctrlKey))return;let o=me(t,a);o&&h(e,o,void 0,{...pe(o)?{view:`preview`}:{},...r===void 0?{}:{root:r}})},_=he().editorFontSize;return(0,D.jsxs)(`div`,{className:`relative size-full bg-ground`,children:[(0,D.jsx)(`div`,{ref:d,tabIndex:-1,className:`h-full overflow-y-auto outline-none`,children:(0,D.jsx)(`div`,{ref:f,onClick:g,style:{fontSize:_},className:`md-preview mx-auto max-w-3xl px-6 py-5 text-fg-secondary`,dangerouslySetInnerHTML:u})}),(0,D.jsx)(zd,{controls:m})]})}var Vd=[[`img`,`src`],[`script`,`src`],[`link[rel~="stylesheet" i]`,`href`],[`link[rel~="icon" i]`,`href`],[`source`,`src`],[`video`,`src`],[`video`,`poster`],[`audio`,`src`]],Hd=20*1024*1024;function Ud({session:e,path:t,text:n,root:r,scrollDriver:i,scrollReceiver:a,scrollChannel:o,focused:s}){let[c,l]=(0,E.useState)(null),u=(0,E.useRef)(new Map),d=he().editorFontSize,f=(0,E.useRef)(null),[p]=(0,E.useState)(wd),[m]=(0,E.useState)(wd),h=ue({shortcutEnabled:s,onFind:(e,t,n)=>Pd(f.current?.contentWindow??null,m,e,t,n),onClear:()=>Fd(f.current?.contentWindow??null,m),onCloseFocus:()=>f.current?.focus()}),g=(0,E.useMemo)(()=>({session:e,path:t,root:r}),[e,t,r]);return(0,E.useEffect)(()=>{let i=!1;return Wd(e,t,n,u.current,d,r,p,m).then(e=>{i||l(e)}),()=>{i=!0}},[e,t,n,d,r,p,m]),(0,E.useEffect)(()=>{let e=e=>{let t=Nd(e,f.current?.contentWindow??null,m);t?.kind===`puddle-preview-find-open`?h.openFind():t?.kind===`puddle-preview-find-result`&&h.setResult(t)};return window.addEventListener(`message`,e),()=>window.removeEventListener(`message`,e)},[h.openFind,h.setResult,m]),(0,E.useEffect)(()=>{if(a)return O.subscribe(o,g,e=>{Ed(f.current?.contentWindow??null,p,e.ratio)})},[a,o,g,p]),(0,E.useEffect)(()=>{if(!i&&!a)return;let e=e=>{let t=Td(e,f.current?.contentWindow??null,p);if(t){if(i)O.publish(o,g,t.ratio);else if(t.layout){let e=O.get(o,g);e&&Ed(f.current?.contentWindow??null,p,e.ratio)}}};return window.addEventListener(`message`,e),()=>window.removeEventListener(`message`,e)},[i,a,o,g,p]),c===null?null:(0,D.jsxs)(`div`,{className:`relative size-full bg-paper`,children:[(0,D.jsx)(`iframe`,{ref:f,sandbox:`allow-scripts`,srcDoc:c,title:t,className:`size-full bg-paper`,onLoad:()=>{if(a){let e=O.get(o,g);e&&Ed(f.current?.contentWindow??null,p,e.ratio)}h.refresh()}}),(0,D.jsx)(zd,{controls:h})]})}async function Wd(e,t,n,r,i,a,o,s){let c=new DOMParser().parseFromString(n,`text/html`);if(i!==void 0){let e=c.createElement(`style`);e.textContent=`:where(html) { font-size: ${i}px; }`;let t=c.head??c.documentElement;t.insertBefore(e,t.firstChild)}yd(c)&&await Gd(c);let l=[];for(let[n,i]of Vd)for(let o of c.querySelectorAll(n)){let n=me(t,o.getAttribute(i)??``);n&&(o.removeAttribute(i),l.push(Kd(e,n,r,a).then(e=>{e&&o.setAttribute(i,e)})))}return await Promise.all(l),o&&Od(c,o),s&&Ld(c,s),`<!doctype html>${c.documentElement.outerHTML}`}async function Gd(e){let{default:t}=await oe(async()=>{let{default:e}=await import(`./_virtual_katex-inline-css-DN-_JSKR.js`);return{default:e}},[]),n=e.createElement(`style`);n.textContent=`${t}\n${fd}`,(e.head??e.documentElement).appendChild(n)}function Kd(e,t,n,r){let i=n.get(t);if(i)return i;let o=a(`GET`,`/api/worktrees/${e}/media?path=${encodeURIComponent(t)}${ie(r)}`).then(e=>e.blob()).then(async e=>e.size>Hd?null:`data:${qd(t,e.type)};base64,${Jd(await e.arrayBuffer())}`).catch(()=>null);return n.set(t,o),o}function qd(e,t){let n=(e.split(`/`).pop()??``).split(`.`).pop()?.toLowerCase()??``;return n===`css`?`text/css`:n===`js`||n===`mjs`?`text/javascript`:t!==``&&t!==`application/octet-stream`?t:`application/octet-stream`}function Jd(e){let t=new Uint8Array(e),n=``,r=32768;for(let e=0;e<t.length;e+=r)n+=String.fromCharCode(...t.subarray(e,e+r));return btoa(n)}var Yd={png:`image`,jpg:`image`,jpeg:`image`,gif:`image`,webp:`image`,bmp:`image`,ico:`image`,avif:`image`,svg:`image`,mp4:`video`,m4v:`video`,webm:`video`,mov:`video`,mkv:`video`,avi:`video`,mp3:`audio`,wav:`audio`,ogg:`audio`,m4a:`audio`,flac:`audio`,aac:`audio`,pdf:`pdf`};function Xd(e){let t=e.split(`/`).pop()??e,n=t.lastIndexOf(`.`);return n<=0?null:Yd[t.slice(n+1).toLowerCase()]??null}function Zd({session:e,path:t,kind:n,root:r}){let{url:i,error:a}=ef(e,t,r);return a?(0,D.jsxs)(Qd,{children:[(0,D.jsx)(`p`,{className:`text-sm text-fg-secondary`,children:`Couldn’t load this file.`}),(0,D.jsx)($d,{session:e,path:t})]}):i?n===`image`?(0,D.jsx)(Qd,{children:(0,D.jsx)(`img`,{src:i,alt:t,className:`max-h-full max-w-full object-contain`})}):n===`video`?(0,D.jsx)(Qd,{children:(0,D.jsx)(`video`,{src:i,controls:!0,className:`max-h-full max-w-full`})}):n===`audio`?(0,D.jsx)(Qd,{children:(0,D.jsx)(`audio`,{src:i,controls:!0,className:`w-full max-w-xl`})}):(0,D.jsx)(`iframe`,{src:i,title:t,className:`h-full w-full border-0 bg-ground`}):(0,D.jsx)(Qd,{children:(0,D.jsx)(`span`,{className:`text-xs text-fg-muted`,children:`…`})})}function Qd({children:e}){return(0,D.jsx)(`div`,{className:`flex h-full w-full flex-col items-center justify-center gap-3 overflow-auto bg-ground p-4`,children:e})}function $d({session:e,path:t}){return(0,D.jsx)(`button`,{type:`button`,onClick:()=>void g(e,t).catch(e=>o.error(e instanceof Error?e.message:`Download failed`)),className:`rounded-md bg-elevated px-3 py-1.5 text-sm text-fg transition-colors hover:bg-border/70`,children:`Download`})}function ef(e,t,n){let[r,i]=(0,E.useState)(null),[o,s]=(0,E.useState)(!1);return(0,E.useEffect)(()=>{let r=null,o=!1;return i(null),s(!1),a(`GET`,`/api/worktrees/${e}/media?path=${encodeURIComponent(t)}${ie(n)}`).then(e=>e.blob()).then(e=>{o||(r=URL.createObjectURL(e),i(r))}).catch(()=>{o||s(!0)}),()=>{o=!0,r&&URL.revokeObjectURL(r)}},[e,t,n]),{url:r,error:o}}function tf({tab:e,reveal:t,focused:n,scrollDriver:r,scrollReceiver:i,scrollChannel:a}){let o=w(e),s=e.view===`preview`||e.view===`linked`||e.view===`locked`,c=e.view===`linked`||e.view===`locked`?`${e.view}:${e.session}:${e.root??``}:${e.path}`:de(e);if(o===`diff`)return(0,D.jsx)(qt,{session:e.session,path:e.path,root:e.root,area:e.git_area,focused:n},de(e));if(o===`commit`&&e.sha)return(0,D.jsx)(Kt,{session:e.session,sha:e.sha,path:e.path,root:e.root},de(e));if(o===`external`&&e.root!==void 0){let o=Xd(e.path);if(o)return(0,D.jsx)(Zd,{session:e.session,path:e.path,kind:o,root:e.root},de(e));let l=s?pe(e.path):null;return l?(0,D.jsx)(Rd,{session:e.session,path:e.path,kind:l,root:e.root,focused:n,scrollDriver:r,scrollReceiver:i,scrollChannel:a},c):(0,D.jsx)(Nt,{session:e.session,path:e.path,reveal:t,root:e.root,focused:n,scrollDriver:r,scrollReceiver:i,scrollChannel:a},de(e))}if(o===`untitled`)return(0,D.jsx)(Yt,{name:e.path},de(e));let l=Xd(e.path);if(l)return(0,D.jsx)(Zd,{session:e.session,path:e.path,kind:l},de(e));let u=s?pe(e.path):null;return u?(0,D.jsx)(Rd,{session:e.session,path:e.path,kind:u,focused:n,scrollDriver:r,scrollReceiver:i,scrollChannel:a},c):(0,D.jsx)(Nt,{session:e.session,path:e.path,reveal:t,focused:n,scrollDriver:r,scrollReceiver:i,scrollChannel:a},de(e))}export{tf as PaneEditorBody};
515
+ })();`}function Ld(e,t){let n=e.createElement(`script`);n.textContent=Id(t),(e.body??e.documentElement).appendChild(n)}function Rd({session:e,path:t,kind:n,root:r,focused:i=!0,scrollDriver:a=!1,scrollReceiver:o=!1,scrollChannel:s=`profile`}){let c=yt(e,t,null,r,{passive:!0,live:!0,focused:i}),l=c.model,u=(0,E.useSyncExternalStore)(n=>De(Me(e,t,r),n),()=>l?.getValue()??null);return c.conflict&&c.conflict.phase!==`unresolved`?(0,D.jsx)(st,{session:e,path:t,buffer:c,focused:i}):u===null?null:n===`markdown`?(0,D.jsx)(Bd,{session:e,path:t,text:u,root:r,scrollDriver:a,scrollReceiver:o,scrollChannel:s,focused:i}):(0,D.jsx)(Ud,{session:e,path:t,text:u,root:r,scrollDriver:a,scrollReceiver:o,scrollChannel:s,focused:i})}function zd({controls:e}){return e.open?(0,D.jsx)(ue,{query:e.query,focusKey:e.focusKey,options:e.options,result:e.result,onQueryChange:e.setQuery,onOptionsChange:e.setOptions,onNext:e.next,onPrevious:e.previous,onClose:e.close}):null}vr.addHook(`afterSanitizeAttributes`,e=>{e.tagName===`A`&&/^https?:/i.test(e.getAttribute(`href`)??``)&&(e.setAttribute(`target`,`_blank`),e.setAttribute(`rel`,`noopener noreferrer`))});function Bd({session:e,path:t,text:n,root:r,scrollDriver:i,scrollReceiver:o,scrollChannel:s,focused:c}){let l=(0,E.useMemo)(()=>vr.sanitize(gd(n)),[n]),u=(0,E.useMemo)(()=>({__html:l}),[l]),d=(0,E.useRef)(null),f=(0,E.useRef)(null),p=(0,E.useRef)(null);(0,E.useEffect)(()=>{let e=f.current;if(!e)return;let t=new Sr(e);return p.current=t,()=>{t.dispose(),p.current=null}},[]);let m=de({shortcutEnabled:c,onFind:(e,t,n)=>p.current?.find(e,t,n)??le,onClear:()=>p.current?.clear(),onCloseFocus:()=>d.current?.focus({preventScroll:!0})});(0,E.useEffect)(()=>m.refresh(),[l,m.refresh]),(0,E.useEffect)(()=>{let n=d.current,a=f.current;if(!(!n||!a))return pt(n,{channel:s,target:{session:e,path:t,root:r},driver:i,receiver:o,resizeElements:[n,a]})},[l,e,t,r,s,i,o]),(0,E.useEffect)(()=>{let n=f.current;if(!n)return;let i=!1,o=[];for(let s of n.querySelectorAll(`img`)){let n=he(t,s.getAttribute(`src`)??``);n&&(s.removeAttribute(`src`),a(`GET`,`/api/worktrees/${e}/media?path=${encodeURIComponent(n)}${oe(r)}`).then(e=>e.blob()).then(e=>{if(i)return;let t=URL.createObjectURL(e);o.push(t),s.src=t}).catch(()=>void 0))}return()=>{i=!0;for(let e of o)URL.revokeObjectURL(e)}},[l,e,t,r]);let{openFile:h}=ne(),g=n=>{let i=n.target.closest(`a`);if(!i)return;let a=i.getAttribute(`href`)??``;if(/^https?:/i.test(a)||(n.preventDefault(),!n.metaKey&&!n.ctrlKey))return;let o=he(t,a);o&&h(e,o,void 0,{...me(o)?{view:`preview`}:{},...r===void 0?{}:{root:r}})},_=ge().editorFontSize;return(0,D.jsxs)(`div`,{className:`relative size-full bg-ground`,children:[(0,D.jsx)(`div`,{ref:d,tabIndex:-1,className:`h-full overflow-y-auto outline-none`,children:(0,D.jsx)(`div`,{ref:f,onClick:g,style:{fontSize:_},className:`md-preview mx-auto max-w-3xl px-6 py-5 text-fg-secondary`,dangerouslySetInnerHTML:u})}),(0,D.jsx)(zd,{controls:m})]})}var Vd=[[`img`,`src`],[`script`,`src`],[`link[rel~="stylesheet" i]`,`href`],[`link[rel~="icon" i]`,`href`],[`source`,`src`],[`video`,`src`],[`video`,`poster`],[`audio`,`src`]],Hd=20*1024*1024;function Ud({session:e,path:t,text:n,root:r,scrollDriver:i,scrollReceiver:a,scrollChannel:o,focused:s}){let[c,l]=(0,E.useState)(null),u=(0,E.useRef)(new Map),d=ge().editorFontSize,f=(0,E.useRef)(null),[p]=(0,E.useState)(wd),[m]=(0,E.useState)(wd),h=de({shortcutEnabled:s,onFind:(e,t,n)=>Pd(f.current?.contentWindow??null,m,e,t,n),onClear:()=>Fd(f.current?.contentWindow??null,m),onCloseFocus:()=>f.current?.focus()}),g=(0,E.useMemo)(()=>({session:e,path:t,root:r}),[e,t,r]);return(0,E.useEffect)(()=>{let i=!1;return Wd(e,t,n,u.current,d,r,p,m).then(e=>{i||l(e)}),()=>{i=!0}},[e,t,n,d,r,p,m]),(0,E.useEffect)(()=>{let e=e=>{let t=Nd(e,f.current?.contentWindow??null,m);t?.kind===`puddle-preview-find-open`?h.openFind():t?.kind===`puddle-preview-find-result`&&h.setResult(t)};return window.addEventListener(`message`,e),()=>window.removeEventListener(`message`,e)},[h.openFind,h.setResult,m]),(0,E.useEffect)(()=>{if(a)return O.subscribe(o,g,e=>{Ed(f.current?.contentWindow??null,p,e.ratio)})},[a,o,g,p]),(0,E.useEffect)(()=>{if(!i&&!a)return;let e=e=>{let t=Td(e,f.current?.contentWindow??null,p);if(t){if(i)O.publish(o,g,t.ratio);else if(t.layout){let e=O.get(o,g);e&&Ed(f.current?.contentWindow??null,p,e.ratio)}}};return window.addEventListener(`message`,e),()=>window.removeEventListener(`message`,e)},[i,a,o,g,p]),c===null?null:(0,D.jsxs)(`div`,{className:`relative size-full bg-paper`,children:[(0,D.jsx)(`iframe`,{ref:f,sandbox:`allow-scripts`,srcDoc:c,title:t,className:`size-full bg-paper`,onLoad:()=>{if(a){let e=O.get(o,g);e&&Ed(f.current?.contentWindow??null,p,e.ratio)}h.refresh()}}),(0,D.jsx)(zd,{controls:h})]})}async function Wd(e,t,n,r,i,a,o,s){let c=new DOMParser().parseFromString(n,`text/html`);if(i!==void 0){let e=c.createElement(`style`);e.textContent=`:where(html) { font-size: ${i}px; }`;let t=c.head??c.documentElement;t.insertBefore(e,t.firstChild)}yd(c)&&await Gd(c);let l=[];for(let[n,i]of Vd)for(let o of c.querySelectorAll(n)){let n=he(t,o.getAttribute(i)??``);n&&(o.removeAttribute(i),l.push(Kd(e,n,r,a).then(e=>{e&&o.setAttribute(i,e)})))}return await Promise.all(l),o&&Od(c,o),s&&Ld(c,s),`<!doctype html>${c.documentElement.outerHTML}`}async function Gd(e){let{default:t}=await se(async()=>{let{default:e}=await import(`./_virtual_katex-inline-css-DN-_JSKR.js`);return{default:e}},[]),n=e.createElement(`style`);n.textContent=`${t}\n${fd}`,(e.head??e.documentElement).appendChild(n)}function Kd(e,t,n,r){let i=n.get(t);if(i)return i;let o=a(`GET`,`/api/worktrees/${e}/media?path=${encodeURIComponent(t)}${oe(r)}`).then(e=>e.blob()).then(async e=>e.size>Hd?null:`data:${qd(t,e.type)};base64,${Jd(await e.arrayBuffer())}`).catch(()=>null);return n.set(t,o),o}function qd(e,t){let n=(e.split(`/`).pop()??``).split(`.`).pop()?.toLowerCase()??``;return n===`css`?`text/css`:n===`js`||n===`mjs`?`text/javascript`:t!==``&&t!==`application/octet-stream`?t:`application/octet-stream`}function Jd(e){let t=new Uint8Array(e),n=``,r=32768;for(let e=0;e<t.length;e+=r)n+=String.fromCharCode(...t.subarray(e,e+r));return btoa(n)}var Yd={png:`image`,jpg:`image`,jpeg:`image`,gif:`image`,webp:`image`,bmp:`image`,ico:`image`,avif:`image`,svg:`image`,mp4:`video`,m4v:`video`,webm:`video`,mov:`video`,mkv:`video`,avi:`video`,mp3:`audio`,wav:`audio`,ogg:`audio`,m4a:`audio`,flac:`audio`,aac:`audio`,pdf:`pdf`};function Xd(e){let t=e.split(`/`).pop()??e,n=t.lastIndexOf(`.`);return n<=0?null:Yd[t.slice(n+1).toLowerCase()]??null}function Zd({session:e,path:t,kind:n,root:r}){let{url:i,error:a}=ef(e,t,r);return a?(0,D.jsxs)(Qd,{children:[(0,D.jsx)(`p`,{className:`text-sm text-fg-secondary`,children:`Couldn’t load this file.`}),(0,D.jsx)($d,{session:e,path:t})]}):i?n===`image`?(0,D.jsx)(Qd,{children:(0,D.jsx)(`img`,{src:i,alt:t,className:`max-h-full max-w-full object-contain`})}):n===`video`?(0,D.jsx)(Qd,{children:(0,D.jsx)(`video`,{src:i,controls:!0,className:`max-h-full max-w-full`})}):n===`audio`?(0,D.jsx)(Qd,{children:(0,D.jsx)(`audio`,{src:i,controls:!0,className:`w-full max-w-xl`})}):(0,D.jsx)(`iframe`,{src:i,title:t,className:`h-full w-full border-0 bg-ground`}):(0,D.jsx)(Qd,{children:(0,D.jsx)(`span`,{className:`text-xs text-fg-muted`,children:`…`})})}function Qd({children:e}){return(0,D.jsx)(`div`,{className:`flex h-full w-full flex-col items-center justify-center gap-3 overflow-auto bg-ground p-4`,children:e})}function $d({session:e,path:t}){return(0,D.jsx)(`button`,{type:`button`,onClick:()=>void y(e,t).catch(e=>o.error(e instanceof Error?e.message:`Download failed`)),className:`rounded-md bg-elevated px-3 py-1.5 text-sm text-fg transition-colors hover:bg-border/70`,children:`Download`})}function ef(e,t,n){let[r,i]=(0,E.useState)(null),[o,s]=(0,E.useState)(!1);return(0,E.useEffect)(()=>{let r=null,o=!1;return i(null),s(!1),a(`GET`,`/api/worktrees/${e}/media?path=${encodeURIComponent(t)}${oe(n)}`).then(e=>e.blob()).then(e=>{o||(r=URL.createObjectURL(e),i(r))}).catch(()=>{o||s(!0)}),()=>{o=!0,r&&URL.revokeObjectURL(r)}},[e,t,n]),{url:r,error:o}}function tf({tab:e,reveal:t,focused:n,scrollDriver:r,scrollReceiver:i,scrollChannel:a}){let o=C(e),s=e.view===`preview`||e.view===`linked`||e.view===`locked`,c=e.view===`linked`||e.view===`locked`?`${e.view}:${e.session}:${e.root??``}:${e.path}`:fe(e);if(o===`diff`)return(0,D.jsx)(qt,{session:e.session,path:e.path,root:e.root,area:e.git_area,focused:n},fe(e));if(o===`commit`&&e.sha)return(0,D.jsx)(Kt,{session:e.session,sha:e.sha,path:e.path,root:e.root},fe(e));if(o===`external`&&e.root!==void 0){let o=Xd(e.path);if(o)return(0,D.jsx)(Zd,{session:e.session,path:e.path,kind:o,root:e.root},fe(e));let l=s?me(e.path):null;return l?(0,D.jsx)(Rd,{session:e.session,path:e.path,kind:l,root:e.root,focused:n,scrollDriver:r,scrollReceiver:i,scrollChannel:a},c):(0,D.jsx)(Nt,{session:e.session,path:e.path,reveal:t,root:e.root,focused:n,scrollDriver:r,scrollReceiver:i,scrollChannel:a},fe(e))}if(o===`untitled`)return(0,D.jsx)(Yt,{name:e.path},fe(e));let l=Xd(e.path);if(l)return(0,D.jsx)(Zd,{session:e.session,path:e.path,kind:l},fe(e));let u=s?me(e.path):null;return u?(0,D.jsx)(Rd,{session:e.session,path:e.path,kind:u,focused:n,scrollDriver:r,scrollReceiver:i,scrollChannel:a},c):(0,D.jsx)(Nt,{session:e.session,path:e.path,reveal:t,focused:n,scrollDriver:r,scrollReceiver:i,scrollChannel:a},fe(e))}export{tf as PaneEditorBody};