1import{n as e}from"./Dd_uD5pT.js";import{n as t}from"./N1Cph_AR.js";import{$n as n,B as r,D as i,E as a,Ht as o,J as s,L as c,Lt as l,Nt as u,On as d,Pt as f,Rt as p,Tn as m,Ut as h,Zn as g,_,b as v,bt as y,ct as b,d as x,er as S,et as C,ft as w,g as T,gn as E,gt as D,it as ee,k as O,mt as k,o as te,pn as ne,qt as A,tr as re,tt as ie,u as ae,un as oe,v as j,vn as M,w as se,wn as ce,wt as le,xt as N,y as ue,z as de}from"./B8D2lM98.js";import{C as fe,w as pe}from"./BC7yJqS7.js";import{r as me,t as he}from"./Lp6xwrgb.js";import{f as ge,p as _e}from"./Cj7V13jz.js";import{r as ve,t as ye}from"./C3UWfLB7.js";import{g as be,i as xe,l as Se,o as Ce,s as we,t as Te,u as Ee}from"./4ebgJPc6.js";import{t as De}from"./DWEoD8ZB.js";import{t as Oe}from"./Bng2rRDf.js";import{t as ke}from"./DHihWhf5.js";import{g as Ae,k as je}from"./V8Zio8u0.js";import{g as Me,i as Ne,u as P,v as Pe}from"./D4fMXGp2.js";import{t as Fe}from"./BIKWJofD.js";import{t as Ie}from"./0bKJd-oL.js";import{a as Le,i as Re,t as ze}from"./C72AmYbB.js";import{t as Be}from"./DBmeF563.js";import{t as Ve}from"./CDHmy1bX.js";import{t as He}from"./DRm9y01v.js";import{n as Ue,t as We}from"./DLfWUKu3.js";import{t as Ge}from"./DxtgJyps.js";import{t as Ke}from"./Cz2S0Adx.js";import{a as qe,i as Je,o as Ye,r as Xe,t as Ze}from"./CNkBxop3.js";import{n as Qe,t as $e}from"./gres4AdK.js";import{t as et}from"./h5GSOs99.js";import{n as tt}from"./CM0YNHo3.js";import{s as nt}from"./C0EZwNKA.js";import{s as rt}from"./2lngBEtA.js";import{t as it}from"./Dx52t-vJ.js";import{t as at}from"./sC9MtHEb.js";import{t as ot}from"./C7uqGOTz.js";import{r as st,t as ct}from"./DaAWpbaH.js";import{n as lt}from"./BK7VW6VA.js";import{n as ut}from"./DMXwi7wC.js";import{n as dt}from"./cFji51Bs.js";import{n as ft}from"./CR-bl79G.js";import{n as pt}from"./BHrsfYqL.js";import{t as mt}from"./DIQcxL6g.js";import{l as ht}from"./D-c-AHc4.js";import{n as gt}from"./jR3As6hR.js";import{Q as _t,X as vt,h as yt,nt as bt}from"#entry";import{i as xt,n as St,r as Ct}from"./CITfs4As.js";import{n as wt}from"./Cld3bAmf.js";import{t as Tt}from"./D_FBY34Y.js";import{C as Et,S as Dt,_ as Ot,a as kt,b as At,c as jt,d as Mt,f as Nt,g as Pt,h as Ft,i as It,m as Lt,n as Rt,o as zt,p as Bt,s as Vt,t as Ht,u as Ut,v as Wt,x as Gt,y as Kt}from"./uXi-DWHi.js";import{i as qt,n as Jt,r as Yt,s as Xt,t as Zt}from"./DbBJvep1.js";import{t as Qt}from"./CWOZzZ3o.js";import{t as $t}from"./ByamXf1h.js";import{i as en,n as tn,r as nn,t as rn}from"./HNv7GQl5.js";import{t as an}from"./DYXYRHVl.js";import{c as on,n as sn}from"./2T6uS2lc.js";function cn(e,t=-1/0,n=1/0){return Math.min(n,Math.max(t,e))}function ln(e){let t=me({nonce:M()});return T(()=>e?.value||t.nonce?.value)}var un=[` `,`Enter`,`ArrowUp`,`ArrowDown`],dn=[` `,`Enter`];function fn(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(e=>pn(e,t,n)):pn(e,t,n)}function pn(e,t,n){return e===void 0||t===void 0?!1:typeof e==`string`?e===t:typeof n==`function`?n(e,t):typeof n==`string`?e?.[n]===t?.[n]:ye(e,t)}function mn(e){return e==null||e===``||Array.isArray(e)&&e.length===0}var hn=[`value`],[gn,_n]=be(`SelectRoot`),vn=O({inheritAttrs:!1,__name:`SelectRoot`,props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},nullableValue:{type:String,required:!1,default:``},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`,`update:open`],setup(e,{emit:t}){let n=e,r=t,{required:i,disabled:a,multiple:o,dir:s}=m(n),c=Pe(n,`modelValue`,r,{defaultValue:n.defaultValue??(o.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),l=Pe(n,`open`,r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),u=M(),f=M(),p=M({x:0,y:0}),h=T(()=>o.value&&Array.isArray(c.value)?c.value?.length===0:ke(c.value));nt({isProvider:!0});let g=Be(s),_=Ue(u),b=M(new Set),x=T(()=>Array.from(b.value).map(e=>e.value).join(`;`));function S(e){if(o.value){let t=Array.isArray(c.value)?[...c.value]:[],r=t.findIndex(t=>pn(t,e,n.by));r===-1?t.push(e):t.splice(r,1),c.value=[...t]}else c.value=e}function w(e){return Array.from(b.value).find(t=>fn(e,t.value,n.by))}return _n({triggerElement:u,onTriggerChange:e=>{u.value=e},valueElement:f,onValueElementChange:e=>{f.value=e},contentId:``,modelValue:c,onValueChange:S,by:n.by,open:l,multiple:o,required:i,onOpenChange:e=>{l.value=e},dir:g,triggerPointerDownPosRef:p,disabled:a,isEmptyModelValue:h,optionsSet:b,onOptionAdd:e=>{let t=w(e.value);t&&b.value.delete(t),b.value.add(e)},onOptionRemove:e=>{let t=w(e.value);t&&b.value.delete(t)}}),(e,t)=>(k(),j(d(qe),null,{default:A(()=>[N(e.$slots,`default`,{modelValue:d(c),open:d(l)}),d(_)&&e.name?(k(),j(yn,{key:x.value,"aria-hidden":`true`,tabindex:`-1`,multiple:d(o),required:d(i),name:e.name,autocomplete:e.autocomplete,disabled:d(a),value:d(c)},{default:A(()=>[d(ke)(d(c))?(k(),v(`option`,{key:0,value:e.nullableValue},null,8,hn)):ue(`v-if`,!0),(k(!0),v(te,null,y(Array.from(b.value),e=>(k(),v(`option`,C({key:e.value??``},{ref_for:!0},e),null,16))),128))]),_:1},8,[`multiple`,`required`,`name`,`autocomplete`,`disabled`,`value`])):ue(`v-if`,!0)]),_:3}))}}),yn=O({__name:`BubbleSelect`,props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(e){let t=e,n=M(),r=gn();o(()=>t.value,(e,t)=>{let r=window.HTMLSelectElement.prototype,i=Object.getOwnPropertyDescriptor(r,`value`).set;if(e!==t&&i&&n.value){let t=new Event(`change`,{bubbles:!0});i.call(n.value,e),n.value.dispatchEvent(t)}});function i(e){r.onValueChange(e.target.value)}return(e,r)=>(k(),j(d(at),{"as-child":``},{default:A(()=>[_(`select`,C({ref_key:`selectElement`,ref:n},t,{onInput:i}),[N(e.$slots,`default`)],16)]),_:3}))}}),bn=O({__name:`SelectPopperPosition`,props:{memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:`start`},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:10},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=Ke(e);return(e,n)=>(k(),j(d(Xe),C(d(t),{style:{boxSizing:`border-box`,"--reka-select-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-select-content-available-width":`var(--reka-popper-available-width)`,"--reka-select-content-available-height":`var(--reka-popper-available-height)`,"--reka-select-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-select-trigger-height":`var(--reka-popper-anchor-height)`}}),{default:A(()=>[N(e.$slots,`default`)]),_:3},16))}}),xn={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Sn,Cn]=be(`SelectContent`),wn=O({__name:`SelectContentImpl`,props:{position:{type:String,required:!1,default:`item-aligned`},bodyLock:{type:Boolean,required:!1,default:!0},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:`start`},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let n=e,r=t,a=gn();He(),Le(n.bodyLock);let{CollectionSlot:s,getItems:c}=nt(),l=M();Re(l);let{search:u,handleTypeaheadSearch:f}=tt(),p=M(),m=M(),g=M(),_=M(!1),v=M(!1),y=M(!1);function b(){m.value&&l.value&&rt([m.value,l.value])}o(_,()=>{b()});let{onOpenChange:x,triggerPointerDownPosRef:S}=a;h(e=>{if(!l.value)return;let t={x:0,y:0},n=e=>{t={x:Math.abs(Math.round(e.pageX)-(S.value?.x??0)),y:Math.abs(Math.round(e.pageY)-(S.value?.y??0))}},r=e=>{e.pointerType!==`touch`&&(t.x<=10&&t.y<=10?e.preventDefault():l.value?.contains(e.target)||x(!1),document.removeEventListener(`pointermove`,n),S.value=null)};S.value!==null&&(document.addEventListener(`pointermove`,n),document.addEventListener(`pointerup`,r,{capture:!0,once:!0})),e(()=>{document.removeEventListener(`pointermove`,n),document.removeEventListener(`pointerup`,r,{capture:!0})})});function w(e){let t=e.ctrlKey||e.altKey||e.metaKey;if(e.key===`Tab`&&e.preventDefault(),!t&&e.key.length===1&&f(e.key,c()),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.ke
1y)){let t=[...c().map(e=>e.ref)];if([`ArrowUp`,`End`].includes(e.key)&&(t=t.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>rt(t)),e.preventDefault()}}let E=T(()=>n.position===`popper`?n:{}),D=Ke(E.value);return Cn({content:l,viewport:p,onViewportChange:e=>{p.value=e},itemRefCallback:(e,t,n)=>{let r=!v.value&&!n,i=fn(a.modelValue.value,t,a.by);if(a.multiple.value){if(y.value)return;(i||r)&&(m.value=e,i&&(y.value=!0))}else(i||r)&&(m.value=e);r&&(v.value=!0)},selectedItem:m,selectedItemText:g,onItemLeave:()=>{l.value?.focus()},itemTextRefCallback:(e,t,n)=>{let r=!v.value&&!n;(fn(a.modelValue.value,t,a.by)||r)&&(g.value=e)},focusSelectedItem:b,position:n.position,isPositioned:_,searchRef:u}),(e,t)=>(k(),j(d(s),null,{default:A(()=>[i(d(ze),{"as-child":``,onMountAutoFocus:t[6]||=pe(()=>{},[`prevent`]),onUnmountAutoFocus:t[7]||=e=>{r(`closeAutoFocus`,e),!e.defaultPrevented&&(d(a).triggerElement.value?.focus({preventScroll:!0}),e.preventDefault())}},{default:A(()=>[i(d(Ie),{"as-child":``,"disable-outside-pointer-events":e.disableOutsidePointerEvents,onFocusOutside:t[2]||=pe(()=>{},[`prevent`]),onDismiss:t[3]||=e=>d(a).onOpenChange(!1),onEscapeKeyDown:t[4]||=e=>r(`escapeKeyDown`,e),onPointerDownOutside:t[5]||=e=>r(`pointerDownOutside`,e)},{default:A(()=>[(k(),j(le(e.position===`popper`?bn:Dn),C({...e.$attrs,...d(D)},{id:d(a).contentId,ref:e=>{if(!e)return;let t=d(Ne)(e);t?.hasAttribute(`data-reka-popper-content-wrapper`)?l.value=t.firstElementChild:l.value=t},role:`listbox`,"data-state":d(a).open.value?`open`:`closed`,dir:d(a).dir.value,style:{display:`flex`,flexDirection:`column`,outline:`none`},onContextmenu:t[0]||=pe(()=>{},[`prevent`]),onPlaced:t[1]||=e=>_.value=!0,onKeydown:w}),{default:A(()=>[N(e.$slots,`default`)]),_:3},16,[`id`,`data-state`,`dir`,`onKeydown`]))]),_:3},8,[`disable-outside-pointer-events`])]),_:3})]),_:3}))}}),[Tn,En]=be(`SelectItemAlignedPosition`),Dn=O({inheritAttrs:!1,__name:`SelectItemAlignedPosition`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`placed`],setup(e,{emit:t}){let n=e,r=t,{getItems:a}=nt(),o=gn(),s=Sn(),c=M(!1),l=M(!0),u=M(),{forwardRef:f,currentElement:p}=Ge(),{viewport:m,selectedItem:h,selectedItemText:g,focusSelectedItem:_}=s;function y(){if(o.triggerElement.value&&o.valueElement.value&&u.value&&p.value&&m?.value&&h?.value&&g?.value){let e=o.triggerElement.value.getBoundingClientRect(),t=p.value.getBoundingClientRect(),n=o.valueElement.value.getBoundingClientRect(),i=g.value.getBoundingClientRect();if(o.dir.value!==`rtl`){let r=i.left-t.left,a=n.left-r,o=e.left-a,s=e.width+o,c=Math.max(s,t.width),l=window.innerWidth-10,d=cn(a,10,Math.max(10,l-c));u.value.style.minWidth=`${s}px`,u.value.style.left=`${d}px`}else{let r=t.right-i.right,a=window.innerWidth-n.right-r,o=window.innerWidth-e.right-a,s=e.width+o,c=Math.max(s,t.width),l=window.innerWidth-10,d=cn(a,10,Math.max(10,l-c));u.value.style.minWidth=`${s}px`,u.value.style.right=`${d}px`}let s=a().map(e=>e.ref),l=window.innerHeight-20,d=m.value.scrollHeight,f=window.getComputedStyle(p.value),_=Number.parseInt(f.borderTopWidth,10),v=Number.parseInt(f.paddingTop,10),y=Number.parseInt(f.borderBottomWidth,10),b=Number.parseInt(f.paddingBottom,10),x=_+v+d+b+y,S=Math.min(h.value.offsetHeight*5,x),C=window.getComputedStyle(m.value),w=Number.parseInt(C.paddingTop,10),T=Number.parseInt(C.paddingBottom,10),E=e.top+e.height/2-10,D=l-E,ee=h.value.offsetHeight/2,O=h.value.offsetTop+ee,k=_+v+O,te=x-k;if(k<=E){let e=h.value===s.at(-1);u.value.style.bottom=`0px`;let t=p.value.clientHeight-m.value.offsetTop-m.value.offsetHeight,n=k+Math.max(D,ee+(e?T:0)+t+y);u.value.style.height=`${n}px`}else{let e=h.value===s[0];u.value.style.top=`0px`;let t=Math.max(E,_+m.value.offsetTop+(e?w:0)+ee)+te;u.value.style.height=`${t}px`,m.value.scrollTop=k-E+m.value.offsetTop}u.value.style.margin=`10px 0`,u.value.style.minHeight=`${S}px`,u.value.style.maxHeight=`${l}px`,r(`placed`),requestAnimationFrame(()=>c.value=!0)}}let x=M(``);b(async()=>{await ie(),y(),p.value&&(x.value=window.getComputedStyle(p.value).zIndex)});function w(e){e&&l.value===!0&&(y(),_?.(),l.value=!1)}return Me(o.triggerElement,()=>{y()}),En({contentWrapper:u,shouldExpandOnScrollRef:c,onScrollButtonChange:w}),(e,t)=>(k(),v(`div`,{ref_key:`contentWrapperElement`,ref:u,style:S({display:`flex`,flexDirection:`column`,position:`fixed`,zIndex:x.value})},[i(d(Fe),C({ref:d(f),style:{boxSizing:`border-box`,maxHeight:`100%`}},{...e.$attrs,...n}),{default:A(()=>[N(e.$slots,`default`)]),_:3},16)],4))}}),On=O({__name:`SelectArrow`,props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`svg`}},setup(e){let t=e,r=Sn(xn);return(e,i)=>d(r).position===`popper`?(k(),j(d(Ze),n(C({key:0},t)),{default:A(()=>[N(e.$slots,`default`)]),_:3},16)):ue(`v-if`,!0)}}),kn=O({inheritAttrs:!1,__name:`SelectProvider`,props:{context:{type:Object,required:!0}},setup(e){return _n(e.context),Cn(xn),(e,t)=>N(e.$slots,`default`)}}),An={key:1},jn=O({inheritAttrs:!1,__name:`SelectContent`,props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let r=e,a=Ye(r,t),s=gn(),c=M();b(()=>{c.value=new DocumentFragment});let l=M(),u=T(()=>r.forceMount||s.open.value),f=M(u.value),p;function m(){p&&=(clearTimeout(p),void 0)}return o(u,(e,t,n)=>{m(),p=setTimeout(()=>{f.value=u.value,p=void 0}),n(m)}),w(m),(e,t)=>u.value||f.value||l.value?.present?(k(),j(d(et),{key:0,ref_key:`presenceRef`,ref:l,present:u.value},{default:A(()=>[i(wn,n(de({...d(a),...e.$attrs})),{default:A(()=>[N(e.$slots,`default`)]),_:3},16)]),_:3},8,[`present`])):c.value?(k(),v(`div`,An,[(k(),j(ae,{to:c.value},[i(kn,{context:d(s)},{default:A(()=>[N(e.$slots,`default`)]),_:3},8,[`context`])],8,[`to`]))])):ue(`v-if`,!0)}}),[Mn,Nn]=be(`SelectGroup`),Pn=O({__name:`SelectGroup`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=he(void 0,`reka-select-group`);return Nn({id:n}),(e,r)=>(k(),j(d(Fe),C({role:`group`},t,{"aria-labelledby":d(n)}),{default:A(()=>[N(e.$slots,`default`)]),_:3},16,[`aria-labelledby`]))}}),[Fn,In]=be(`SelectItem`),Ln=O({__name:`SelectItem`,props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,{disabled:a}=m(n),o=gn(),s=Sn(),{forwardRef:c,currentElement:l}=Ge(),{CollectionItem:u}=nt(),f=T(()=>fn(o.modelValue?.value,n.value,o.by)),p=M(!1),h=M(n.textValue??``),g=he(void 0,`reka-select-item-text`);async function _(e){if(e.defaultPrevented)return;let t={originalEvent:e,value:n.value};Oe(`select.select`,v,t)}async function v(e){await ie(),r(`select`,e),!e.defaultPrevented&&(a.value||(o.onValueChange(n.value),o.multiple.value||o.onOpenChange(!1)))}async function y(e){await ie(),!e.defaultPrevented&&(a.value?s.onItemLeave?.():e.currentTarget?.focus({preventScroll:!0}))}async function x(e){await ie(),!e.defaultPrevented&&e.currentTarget===De()&&s.onItemLeave?.()}async function S(e){await ie(),!e.defaultPrevented&&(s.searchRef?.value===``||e.key!==` `)&&(dn.includes(e.ke
1y)&&_(e),e.key===` `&&e.preventDefault())}if(n.value===``)throw Error(`A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.`);return b(()=>{l.value&&s.itemRefCallback(l.value,n.value,n.disabled)}),In({value:n.value,disabled:a,textId:g,isSelected:f,onItemTextChange:e=>{h.value=((h.value||e?.textContent)??``).trim()}}),(e,t)=>(k(),j(d(u),{value:{textValue:h.value}},{default:A(()=>[i(d(Fe),{ref:d(c),role:`option`,"aria-labelledby":d(g),"data-highlighted":p.value?``:void 0,"aria-selected":f.value,"data-state":f.value?`checked`:`unchecked`,"aria-disabled":d(a)||void 0,"data-disabled":d(a)?``:void 0,tabindex:d(a)?void 0:-1,as:e.as,"as-child":e.asChild,onFocus:t[0]||=e=>p.value=!0,onBlur:t[1]||=e=>p.value=!1,onPointerup:_,onPointerdown:t[2]||=e=>{e.currentTarget.focus({preventScroll:!0})},onTouchend:t[3]||=pe(()=>{},[`prevent`,`stop`]),onPointermove:y,onPointerleave:x,onKeydown:S},{default:A(()=>[N(e.$slots,`default`)]),_:3},8,[`aria-labelledby`,`data-highlighted`,`aria-selected`,`data-state`,`aria-disabled`,`data-disabled`,`tabindex`,`as`,`as-child`])]),_:3},8,[`value`]))}}),Rn=O({__name:`SelectItemIndicator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,n=Fn();return(e,r)=>d(n).isSelected.value?(k(),j(d(Fe),C({key:0,"aria-hidden":`true`},t),{default:A(()=>[N(e.$slots,`default`)]),_:3},16)):ue(`v-if`,!0)}}),zn=O({inheritAttrs:!1,__name:`SelectItemText`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,n=gn(),r=Sn(),i=Fn(),{forwardRef:a,currentElement:o}=Ge(),s=T(()=>({value:i.value,disabled:i.disabled.value,textContent:o.value?.textContent??i.value?.toString()??``}));return b(()=>{o.value&&(i.onItemTextChange(o.value),r.itemTextRefCallback(o.value,i.value,i.disabled.value),n.onOptionAdd(s.value))}),w(()=>{n.onOptionRemove(s.value)}),(e,n)=>(k(),j(d(Fe),C({id:d(i).textId,ref:d(a)},{...t,...e.$attrs}),{default:A(()=>[N(e.$slots,`default`)]),_:3},16,[`id`]))}}),Bn=O({__name:`SelectLabel`,props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`div`}},setup(e){let t=e,n=Mn({id:``});return(e,r)=>(k(),j(d(Fe),C(t,{id:d(n).id}),{default:A(()=>[N(e.$slots,`default`)]),_:3},16,[`id`]))}}),Vn=O({__name:`SelectPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,r)=>(k(),j(d(it),n(de(t)),{default:A(()=>[N(e.$slots,`default`)]),_:3},16))}}),Hn=O({__name:`SelectSeparator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return(e,n)=>(k(),j(d(Fe),C({"aria-hidden":`true`},t),{default:A(()=>[N(e.$slots,`default`)]),_:3},16))}}),Un=O({__name:`SelectTrigger`,props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,n=gn(),{forwardRef:r,currentElement:a}=Ge(),o=T(()=>n.disabled?.value||t.disabled);n.contentId||=he(void 0,`reka-select-content`),b(()=>{n.onTriggerChange(a.value)});let{getItems:s}=nt(),{search:c,handleTypeaheadSearch:l,resetTypeahead:u}=tt();function f(){o.value||(n.onOpenChange(!0),u())}function p(e){f(),n.triggerPointerDownPosRef.value={x:Math.round(e.pageX),y:Math.round(e.pageY)}}function m(e){return e.button===0&&e.ctrlKey===!1}let h=!1;function g(e){if(e.pointerType===`touch`)return e.preventDefault();let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),m(e)&&(p(e),h=!0)}function _(e){m(e)&&e.preventDefault()}function v(e){h||e.currentTarget?.focus(),h=!1}return(e,t)=>(k(),j(d(Je),{"as-child":``,reference:e.reference},{default:A(()=>[i(d(Fe),{ref:d(r),role:`combobox`,type:e.as===`button`?`button`:void 0,"aria-controls":d(n).open.value?d(n).contentId:void 0,"aria-expanded":d(n).open.value||!1,"aria-required":d(n).required?.value,"aria-autocomplete":`none`,disabled:o.value,dir:d(n)?.dir.value,"data-state":d(n)?.open.value?`open`:`closed`,"data-disabled":o.value?``:void 0,"data-placeholder":d(mn)(d(n).modelValue?.value)?``:void 0,"as-child":e.asChild,as:e.as,onClick:v,onPointerdown:g,onMousedown:_,onPointerup:t[0]||=pe(e=>{e.pointerType===`touch`&&p(e)},[`prevent`]),onKeydown:t[1]||=e=>{let t=d(c)!==``;(e.ctrlKey||e.altKey||e.metaKey||e.key.length!==1||!t||e.key!==` `)&&(d(l)(e.key,d(s)()),d(un).includes(e.ke
1y)&&(f(),e.preventDefault()))}},{default:A(()=>[N(e.$slots,`default`)]),_:3},8,[`type`,`aria-controls`,`aria-expanded`,`aria-required`,`disabled`,`dir`,`data-state`,`data-disabled`,`data-placeholder`,`as-child`,`as`])]),_:3},8,[`reference`]))}}),Wn=O({__name:`SelectValue`,props:{placeholder:{type:String,required:!1,default:``},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,{forwardRef:n,currentElement:r}=Ge(),i=gn();b(()=>{i.valueElement=r});let o=T(()=>{let e=[],t=Array.from(i.optionsSet.value),n=e=>t.find(t=>fn(e,t.value,i.by));return e=Array.isArray(i.modelValue.value)?i.modelValue.value.map(e=>n(e)?.textContent??``):[n(i.modelValue.value)?.textContent??``],e.filter(Boolean)}),s=T(()=>o.value.length?o.value.join(`, `):t.placeholder);return(e,r)=>(k(),j(d(Fe),{ref:d(n),as:e.as,"as-child":e.asChild,style:{pointerEvents:`none`},"data-placeholder":o.value.length?void 0:t.placeholder},{default:A(()=>[N(e.$slots,`default`,{selectedLabel:o.value,modelValue:d(i).modelValue.value},()=>[a(re(s.value),1)])]),_:3},8,[`as`,`as-child`,`data-placeholder`]))}}),Gn=O({__name:`SelectViewport`,props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{nonce:n}=m(t),r=ln(n),o=Sn(),s=o.position===`item-aligned`?Tn():void 0,{forwardRef:c,currentElement:l}=Ge();b(()=>{o?.onViewportChange(l.value)});let u=M(0);function f(e){let t=e.currentTarget,{shouldExpandOnScrollRef:n,contentWrapper:r}=s??{};if(n?.value&&r?.value){let e=Math.abs(u.value-t.scrollTop);if(e>0){let n=window.innerHeight-20,i=Number.parseFloat(r.value.style.minHeight),a=Number.parseFloat(r.value.style.height),o=Math.max(i,a);if(o<n){let i=o+e,a=Math.min(n,i),s=i-a;r.value.style.height=`${a}px`,r.value.style.bottom===`0px`&&(t.scrollTop=s>0?s:0,r.value.style.justifyContent=`flex-end`)}}}u.value=t.scrollTop}return(e,n)=>(k(),v(te,null,[i(d(Fe),C({ref:d(c),"data-reka-select-viewport":``,role:`presentation`},{...e.$attrs,...t},{style:{position:`relative`,flex:1,overflow:`hidden auto`},onScroll:f}),{default:A(()=>[N(e.$slots,`default`)]),_:3},16),i(d(Fe),{as:`style`,nonce:d(r)},{default:A(()=>n[0]||=[a(` /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } `)]),_:1,__:[0]},8,[`nonce`])],64))}}),[Kn,qn]=be(`SwitchRoot`),Jn=O({inheritAttrs:!1,__name:`SwitchRoot`,props:{defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},disabled:{type:Boolean,required:!1},id:{type:String,required:!1},value:{type:String,required:!1,default:`on`},trueValue:{type:null,required:!1,default:()=>!0},falseValue:{type:null,required:!1,default:()=>!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,{disabled:a}=m(n),o=Pe(n,`modelValue`,r,{defaultValue:n.defaultValue??n.falseValue,passive:n.modelValue===void 0}),s=T(()=>o.value===n.trueValue);function c(){a.value||(o.value=s.value?n.falseValue:n.trueValue)}let{forwardRef:l,currentElement:u}=Ge(),f=Ue(u),p=Qe(),h=T(()=>n.id&&u.value?document.querySelector(`[for="${n.id}"]`)?.innerText:void 0);return qn({checked:s,toggleCheck:c,disabled:a}),(e,t)=>(k(),v(te,null,[i(d(Fe),C({id:e.id,ref:d(l),role:`switch`,type:e.as===`button`?`button`:void 0,value:e.value,"aria-label":e.$attrs[`aria-label`]||h.value,"aria-checked":s.value,"aria-required":e.required,"data-state":s.value?`checked`:`unchecked`,"data-disabled":d(a)?``:void 0,"as-child":e.asChild,as:e.as,disabled:d(a)},{...d(p),...e.$attrs},{onClick:c,onKeydown:fe(pe(c,[`prevent`]),[`enter`])}),{default:A(()=>[N(e.$slots,`default`,{modelValue:d(o),checked:s.value})]),_:3},16,[`id`,`type`,`value`,`aria-label`,`aria-checked`,`aria-required`,`data-state`,`data-disabled`,`as-child`,`as`,`disabled`,`onKeydown`]),d(f)&&e.name?(k(),j(d(We),C({key:0,type:`checkbox`,name:e.name,disabled:d(a),required:e.required,value:e.value,checked:s.value},d(p)),null,16,[`name`,`disabled`,`required`,`value`,`checked`])):ue(`v-if`,!0)],64))}}),Yn=O({__name:`SwitchThumb`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=Kn();return Ge(),(e,n)=>(k(),j(d(Fe),{"data-state":d(t).checked.value?`checked`:`unchecked`,"data-disabled":d(t).disabled.value?``:void 0,"as-child":e.asChild,as:e.as},{default:A(()=>[N(e.$slots,`default`)]),_:3},8,[`data-state`,`data-disabled`,`as-child`,`as`]))}}),Xn={slots:{base:[`relative group rounded-md inline-flex items-center disabled:cursor-not-allowed disabled:opacity-75`,`transition-colors`],leading:`absolute inset-y-0 start-0 flex items-center`,leadingIcon:`shrink-0 text-dimmed`,leadingAvatar:`shrink-0`,leadingAvatarSize:``,trailing:`absolute inset-y-0 end-0 flex items-center`,trailingIcon:`shrink-0 text-dimmed`,value:`truncate pointer-events-none`,placeholder:`truncate text-dimmed`,arrow:`fill-bg stroke-default`,content:`max-h-[min(15rem,var(--reka-select-content-available-height,15rem))] w-(--reka-select-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden origin-(--reka-select-content-transform-origin) pointer-events-auto flex flex-col`,viewport:`relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1`,group:`p-1 isolate`,empty:`text-center text-muted`,label:`font-semibold text-highlighted`,separator:`-mx-1 my-1 h-px bg-border`,item:[`group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50`,`transition-colors before:transition-colors`],itemLeadingIcon:[`shrink-0 text-dimmed group-data-highlighted:not-group-data-disabled:text-default`,`transition-colors`],itemLeadingAvatar:`shrink-0`,itemLeadingAvatarSize:``,itemLeadingChip:`shrink-0`,itemLeadingChipSize:``,itemTrailing:`ms-auto inline-flex gap-1.5 items-center`,itemTrailingIcon:`shrink-0`,itemWrapper:`flex-1 flex flex-col min-w-0`,itemLabel:`truncate`,itemDescription:`truncate text-muted`},variants:{fieldGroup:{horizontal:`not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]`,vertical:`not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]`},size:{xs:{base:`px-2 py-1 text-sm/4 gap-1`,leading:`ps-2`,trailing:`pe-2`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`,label:`p-1 text-[10px]/3 gap-1`,item:`p-1 text-xs gap-1`,itemLeadingIcon:`size-4`,itemLeadingAvatarSize:`3xs`,itemLeadingChip:`size-4`,itemLeadingChipSize:`sm`,itemTrailingIcon:`size-4`,empty:`p-2 text-xs`},sm:{base:`px-2.5 py-1.5 text-sm/4 gap-1.5`,leading:`ps-2.5`,trailing:`pe-2.5`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`,label:`p-1.5 text-[10px]/3 gap-1.5`,item:`p-1.5 text-xs gap-1.5`,itemLeadingIcon:`size-4`,itemLeadingAvatarSize:`3xs`,itemLeadingChip:`size-4`,itemLeadingChipSize:`sm`,itemTrailingIcon:`size-4`,empty:`p-2.5 text-xs`},md:{base:`px-2.5 py-1.5 text-base/5 gap-1.5`,leading:`ps-2.5`,trailing:`pe-2.5`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`,label:`p-1.5 text-xs gap-1.5`,item:`p-1.5 text-sm gap-1.5`,itemLeadingIcon:`size-5`,itemLeadingAvatarSize:`2xs`,itemLeadingChip:`size-5`,itemLeadingChipSize:`md`,itemTrailingIcon:`size-5`,empty:`p-2.5 text-sm`},lg:{base:`px-3 py-2 text-base/5 gap-2`,leading:`ps-3`,trailing:`pe-3`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`,label:`p-2 text-xs gap-2`,item:`p-2 text-sm gap-2`,itemLeadingIcon:`size-5`,itemLeadingAvatarSize:`2xs`,itemLeadingChip:`size-5`,itemLeadingChipSize:`md`,itemTrailingIcon:`size-5`,empty:`p-3 text-sm`},xl:{base:`px-3 py-2 text-base gap-2`,leading:`ps-3`,trailing:`pe-3`,leadingIcon:`size-6`,leadingAvatarSize:`xs`,trailingIcon:`size-6`,label:`p-2 text-sm gap-2`,item:`p-2 text-base gap-2`,itemLeadingIcon:`size-6`,itemLeadingAvatarSize:`xs`,itemLeadingChip:`size-6`,itemLeadingChipSize:`lg`,itemTrailingIcon:`size-6`,empty:`p-3 text-base`}},variant:{outline:`text-highlighted bg-default ring ring-inset ring-accented hover:bg-elevated disabled:bg-default`,soft:`text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50`,subtle:`text-highlighted bg-elevated ring ring-inset ring-accented hover:bg-accented/75 disabled:bg-elevated`,ghost:`text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent`,none:`text-highlighted bg-transparent focus:outline-none`},color:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``},leading:{true:``},trailing:{true:``},loading:{true:``},highlight:{true:``},fixed:{false:``},type:{file:`file:me-1.5 file:font-medium file:text-muted file:outline-none`},position:{popper:{content:`data-[state=open]:animate-[scale-in_100ms_var(--ease-out)] data-[state=closed]:animate-[scale-out_100ms_var(--ease-out)]`},"item-aligned":{content:``}},multiple:{true:``}},compoundVariants:[{color:`primary`,variant:[`outline`,`subtle`],class:`outline-primary/25 focus-visible:outline-3 focus-visible:ring-primary`},{color:`secondary`,variant:[`outline`,`subtle`],class:`outline-secondary/25 focus-visible:outline-3 focus-visible:ring-secondary`},{color:`success`,variant:[`outline`,`subtle`],class:`outline-success/25 focus-visible:outline-3 focus-visible:ring-success`},{color:`info`,variant:[`outline`,`subtle`],class:`outline-info/25 focus-visible:outline-3 focus-visible:ring-info`},{color:`warning`,variant:[`outline`,`subtle`],class:`outline-warning/25 focus-visible:outline-3 focus-visible:ring-warning`},{color:`error`,variant:[`outline`,`subtle`],class:`outline-error/25 focus-visible:outline-3 focus-visible:ring-error`},{color:`primary`,variant:[`soft`,`ghost`],class:`outline-primary/25 focus-visible:outline-3`},{color:`secondary`,variant:[`soft`,`ghost`],class:`outline-secondary/25 focus-visible:outline-3`},{color:`success`,variant:[`soft`,`ghost`],class:`outline-success/25 focus-visible:outline-3`},{color:`info`,variant:[`soft`,`ghost`],class:`outline-info/25 focus-visible:outline-3`},{color:`warning`,variant:[`soft`,`ghost`],class:`outline-warning/25 focus-visible:outline-3`},{color:`error`,variant:[`soft`,`ghost`],class:`outline-error/25 focus-visible:outline-3`},{color:`primary`,highlight:!0,class:`ring ring-inset ring-primary`},{color:`secondary`,highlight:!0,class:`ring ring-inset ring-secondary`},{color:`success`,highlight:!0,class:`ring ring-inset ring-success`},{color:`info`,highlight:!0,class:`ring ring-inset ring-info`},{color:`warning`,highlight:!0,class:`ring ring-inset ring-warning`},{color:`error`,highlight:!0,class:`ring ring-inset ring-error`},{color:`neutral`,variant:[`outline`,`subtle`],class:`outline-inverted/25 focus-visible:outline-3 focus-visible:ring-inverted`},{color:`neutral`,variant:[`soft`,`ghost`],class:`outline-inverted/25 focus-visible:outline-3`},{color:`neutral`,highlight:!0,class:`ring ring-inset ring-inverted`},{leading:!0,size:`xs`,class:`ps-7`},{leading:!0,size:`sm`,class:`ps-8`},{leading:!0,size:`md`,class:`ps-9`},{leading:!0,size:`lg`,class:`ps-10`},{leading:!0,size:`xl`,class:`ps-11`},{trailing:!0,size:`xs`,class:`pe-7`},{trailing:!0,size:`sm`,class:`pe-8`},{trailing:!0,size:`md`,class:`pe-9`},{trailing:!0,size:`lg`,class:`pe-10`},{trailing:!0,size:`xl`,class:`pe-11`},{loading:!0,leading:!0,class:{leadingIcon:`animate-spin`}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:`animate-spin`}},{fixed:!1,size:`xs`,class:`md:text-xs`},{fixed:!1,size:`sm`,class:`md:text-xs`},{fixed:!1,size:`md`,class:`md:text-sm`},{fixed:!1,size:`lg`,class:`md:text-sm`}],defaultVariants:{size:`md`,color:`primary`,variant:`outline`,position:`popper`}},Zn=Object.assign({inheritAttrs:!1},{__name:`USelect`,props:{id:{type:String,required:!1},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},trailingIcon:{type:null,required:!1},selectedIcon:{type:null,required:!1},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},valueKey:{type:null,required:!1,default:`value`},labelKey:{type:null,required:!1,default:`label`},descriptionKey:{type:null,required:!1,default:`description`},items:{type:null,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},modelModifiers:{type:null,required:!1},multiple:{type:Boolean,required:!1},highlight:{type:Boolean,required:!1},fixed:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},class:{type:null,required:!1},ui:{type:Object,required:!1},open:{type:Boolean,required:!1},defaultOpen:{type:Boolean,required:!1},nullableValue:{type:String,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:[`change`,`blur`,`focus`,`update:modelValue`,`update:open`],setup(e,{expose:r,emit:o}){let s=e,c=o,u=l(),f=xe(`select`,s),m=ve(),h=Ve(Ae(f,`open`,`defaultOpen`,`disabled`,`autocomplete`,`required`,`multiple`,`nullableValue`),c),x=ut(ce(()=>f.portal)),S=T(()=>f.content?.position??m.ui?.select?.defaultVariants?.position??Xn.defaultVariants?.position),w=ce(()=>t(f.content,{side:`bottom`,sideOffset:8,collisionPadding:8,position:S.value})),E=ce(()=>t(f.arrow,{rounded:!0})),{emitFormChange:D,emitFormInput:ee,emitFormBlur:O,emitFormFocus:ie,size:ae,color:oe,id:M,name:se,highlight:fe,disabled:pe,ariaAttrs:me}=ht(s),{orientation:he,size:ge}=st(s),{isLeading:_e,isTrailing:ye,leadingIconName:be,trailingIconName:De}=mt(T(()=>({icon:f.icon,leading:f.leading,leadingIcon:f.leadingIcon,trailing:f.trailing,trailingIcon:f.trailingIcon??m.ui.icons.chevronDown,loading:f.loading,loadingIcon:f.loadingIcon}))),Oe=T(()=>oe.value??f.color),ke=T(()=>fe.value??f.highlight),je=T(()=>ge.value??ae.value??f.size),Me=T(()=>pe.value??f.disabled),Ne=T(()=>S.value===`item-aligned`),P=T(()=>Te({extend:Xn,...m.ui?.select||{}})({color:Oe.value,variant:f.variant,size:je.value,loading:f.loading,highlight:ke.value,fixed:f.fixed,leading:_e.value||!!f.avatar||!!u.leading,trailing:ye.value||!!u.trailing,fieldGroup:he.value,position:S.value,multiple:f.multiple})),Pe=T(()=>f.items?.length?Se(f.items)?f.items:[f.items]:[]),Fe=T(()=>Pe.value.flatMap(e=>e));function Ie(e){if(f.multiple&&Array.isArray(e)){let t=e.map(e=>we(Fe.value,e,{labelKey:f.labelKey,valueKey:f.valueKey})).filter(e=>e!=null&&e!==``);return t.length>0?t.join(`, `):void 0}return we(Fe.value,e,{labelKey:f.labelKey,valueKey:f.valueKey})}let Le=p(`triggerRef`);function Re(){f.autofocus&&Le.value?.$el?.focus({focusVisible:!0})}let ze;b(()=>{ze=setTimeout(()=>{Re()},f.autofocusDelay)}),ne(()=>clearTimeout(ze));function Be(e){f.modelModifiers?.trim&&(typeof e==`string`||e==null)&&(e=e?.trim()??null),f.modelModifiers?.number&&(e=Ee(e)),f.modelModifiers?.nullable&&(e??=null),f.modelModifiers?.optional&&!f.modelModifiers?.nullable&&e!==null&&(e??=void 0);let t=new Event(`change`,{target:{value:e}});c(`change`,t),D(),ee()}
1function He(e){if(e){let e=new FocusEvent(`focus`);c(`focus`,e),ie()}else{let e=new FocusEvent(`blur`);c(`blur`,e),O()}}function Ue(e){return typeof e==`object`&&!!e}function We(e){e||Le.value?.$el?.dispatchEvent(new PointerEvent(`pointerdown`,{bubbles:!0,button:0}))}let Ge=p(`viewportRef`);return r({triggerRef:ce(()=>Le.value?.$el),viewportRef:ce(()=>{let e=Ge.value;return e&&typeof e==`object`&&`$el`in e?e.$el:e})}),(t,r)=>(k(),j(d(vn),C({name:d(se)},d(h),{autocomplete:d(f).autocomplete,disabled:Me.value,"default-value":d(f).defaultValue,"model-value":e.modelValue,"onUpdate:modelValue":Be,"onUpdate:open":He}),{default:A(({modelValue:e,open:r})=>[i(d(Un),C({id:d(M),ref_key:`triggerRef`,ref:Le,"data-slot":`base`,class:P.value.base({class:[d(f).ui?.base,d(f).class]})},{...t.$attrs,...d(me)},{onClick:e=>We(r)}),{default:A(()=>[d(_e)||d(f).avatar||u.leading?(k(),v(`span`,{key:0,"data-slot":`leading`,class:g(P.value.leading({class:d(f).ui?.leading}))},[N(t.$slots,`leading`,{modelValue:e,open:r,ui:P.value},()=>[d(_e)&&d(be)?(k(),j(ft,{key:0,name:d(be),"data-slot":`leadingIcon`,class:g(P.value.leadingIcon({class:d(f).ui?.leadingIcon}))},null,8,[`name`,`class`])):d(f).avatar?(k(),j(pt,C({key:1,size:d(f).ui?.itemLeadingAvatarSize||P.value.itemLeadingAvatarSize()},d(f).avatar,{"data-slot":`itemLeadingAvatar`,class:P.value.itemLeadingAvatar({class:d(f).ui?.itemLeadingAvatar})}),null,16,[`size`,`class`])):ue(``,!0)])],2)):ue(``,!0),(k(!0),v(te,null,y([Ie(e)],n=>(k(),j(d(Wn),{key:n,"data-slot":n==null?`placeholder`:`value`,class:g(n==null?P.value.placeholder({class:d(f).ui?.placeholder}):P.value.value({class:d(f).ui?.value}))},{default:A(()=>[N(t.$slots,`default`,{modelValue:e,open:r,ui:P.value},()=>[a(re(n??d(f).placeholder??`\xA0`),1)])]),_:2},1032,[`data-slot`,`class`]))),128)),d(ye)||u.trailing?(k(),v(`span`,{key:1,"data-slot":`trailing`,class:g(P.value.trailing({class:d(f).ui?.trailing}))},[N(t.$slots,`trailing`,{modelValue:e,open:r,ui:P.value},()=>[d(De)?(k(),j(ft,{key:0,name:d(De),"data-slot":`trailingIcon`,class:g(P.value.trailingIcon({class:d(f).ui?.trailingIcon}))},null,8,[`name`,`class`])):ue(``,!0)])],2)):ue(``,!0)]),_:2},1040,[`id`,`class`,`onClick`]),i(d(Vn),n(de(d(x))),{default:A(()=>[i(d(ct),null,{default:A(()=>[i(d(jn),C({"data-slot":`content`,class:P.value.content({class:d(f).ui?.content})},w.value),{default:A(()=>[N(t.$slots,`content-top`),(k(),j(le(Ne.value?d(Gn):`div`),{ref_key:`viewportRef`,ref:Ge,role:`presentation`,"data-slot":`viewport`,class:g(P.value.viewport({class:d(f).ui?.viewport}))},{default:A(()=>[(k(!0),v(te,null,y(Pe.value,(e,n)=>(k(),j(d(Pn),{key:`group-${n}`,"data-slot":`group`,class:g(P.value.group({class:d(f).ui?.group}))},{default:A(()=>[(k(!0),v(te,null,y(e,(e,r)=>(k(),v(te,{key:`group-${n}-${r}`},[Ue(e)&&e.type===`label`?(k(),j(d(Bn),{key:0,"data-slot":`label`,class:g(P.value.label({class:[d(f).ui?.label,e.ui?.label,e.class]}))},{default:A(()=>[a(re(d(Ce)(e,d(f).labelKey)),1)]),_:2},1032,[`class`])):Ue(e)&&e.type===`separator`?(k(),j(d(Hn),{key:1,"data-slot":`separator`,class:g(P.value.separator({class:[d(f).ui?.separator,e.ui?.separator,e.class]}))},null,8,[`class`])):(k(),j(d(Ln),{key:2,"data-slot":`item`,class:g(P.value.item({class:[d(f).ui?.item,Ue(e)&&e.ui?.item,Ue(e)&&e.class]})),disabled:Ue(e)&&e.disabled,value:Ue(e)?d(Ce)(e,d(f).valueKey):e,onSelect:t=>Ue(e)&&e.onSelect?.(t)},{default:A(()=>[N(t.$slots,`item`,{item:e,index:r,ui:P.value},()=>[N(t.$slots,`item-leading`,{item:e,index:r,ui:P.value},()=>[Ue(e)&&e.icon?(k(),j(ft,{key:0,name:e.icon,"data-slot":`itemLeadingIcon`,class:g(P.value.itemLeadingIcon({class:[d(f).ui?.itemLeadingIcon,e.ui?.itemLeadingIcon]}))},null,8,[`name`,`class`])):Ue(e)&&e.avatar?(k(),j(pt,C({key:1,size:e.ui?.itemLeadingAvatarSize||d(f).ui?.itemLeadingAvatarSize||P.value.itemLeadingAvatarSize()},{ref_for:!0},e.avatar,{"data-slot":`itemLeadingAvatar`,class:P.value.itemLeadingAvatar({class:[d(f).ui?.itemLeadingAvatar,e.ui?.itemLeadingAvatar]})}),null,16,[`size`,`class`])):Ue(e)&&e.chip?(k(),j(dt,C({key:2,size:e.ui?.itemLeadingChipSize||d(f).ui?.itemLeadingChipSize||P.value.itemLeadingChipSize(),inset:``,standalone:``},{ref_for:!0},e.chip,{"data-slot":`itemLeadingChip`,class:P.value.itemLeadingChip({class:[d(f).ui?.itemLeadingChip,e.ui?.itemLeadingChip]})}),null,16,[`size`,`class`])):ue(``,!0)]),_(`span`,{"data-slot":`itemWrapper`,class:g(P.value.itemWrapper({class:[d(f).ui?.itemWrapper,Ue(e)&&e.ui?.itemWrapper]}))},[i(d(zn),{"data-slot":`itemLabel`,class:g(P.value.itemLabel({class:[d(f).ui?.itemLabel,Ue(e)&&e.ui?.itemLabel]}))},{default:A(()=>[N(t.$slots,`item-label`,{item:e,index:r},()=>[a(re(Ue(e)?d(Ce)(e,d(f).labelKey):e),1)])]),_:2},1032,[`class`]),Ue(e)&&(d(Ce)(e,d(f).descriptionKey)||u[`item-description`])?(k(),v(`span`,{key:0,"data-slot":`itemDescription`,class:g(P.value.itemDescription({class:[d(f).ui?.itemDescription,Ue(e)&&e.ui?.itemDescription]}))},[N(t.$slots,`item-description`,{item:e,index:r},()=>
1[a(re(d(Ce)(e,d(f).descriptionKey)),1)])],2)):ue(``,!0)],2),_(`span`,{"data-slot":`itemTrailing`,class:g(P.value.itemTrailing({class:[d(f).ui?.itemTrailing,Ue(e)&&e.ui?.itemTrailing]}))},[N(t.$slots,`item-trailing`,{item:e,index:r,ui:P.value}),i(d(Rn),{"as-child":``},{default:A(()=>[i(ft,{name:d(f).selectedIcon||d(m).ui.icons.check,"data-slot":`itemTrailingIcon`,class:g(P.value.itemTrailingIcon({class:[d(f).ui?.itemTrailingIcon,Ue(e)&&e.ui?.itemTrailingIcon]}))},null,8,[`name`,`class`])]),_:2},1024)],2)])]),_:2},1032,[`class`,`disabled`,`value`,`onSelect`]))],64))),128))]),_:2},1032,[`class`]))),128))]),_:3},8,[`class`])),N(t.$slots,`content-bottom`),d(f).arrow?(k(),j(d(On),C({key:0},E.value,{"data-slot":`arrow`,class:P.value.arrow({class:d(f).ui?.arrow})}),null,16,[`class`])):ue(``,!0)]),_:3},16,[`class`])]),_:3})]),_:3},16)]),_:3},16,[`name`,`autocomplete`,`disabled`,`default-value`,`model-value`]))}}),Qn={slots:{root:`relative flex items-start`,base:[`inline-flex items-center shrink-0 rounded-full border-2 border-transparent focus-visible:outline-3 data-[state=unchecked]:bg-accented`,`transition-[background] duration-200 ease-out`],container:`flex items-center`,thumb:`group pointer-events-none rounded-full bg-default shadow-lg ring-0 transition-transform duration-200 ease-out motion-reduce:transition-none data-[state=unchecked]:translate-x-0 data-[state=unchecked]:rtl:-translate-x-0 flex items-center justify-center`,icon:[`absolute shrink-0 group-data-[state=unchecked]:text-dimmed opacity-0 size-10/12`,`transition-[color,opacity] duration-200 ease-out`],wrapper:`ms-2`,label:`block font-medium text-default`,description:`text-muted`},variants:{color:{primary:{base:`data-[state=checked]:bg-primary outline-primary/25`,icon:`group-data-[state=checked]:text-primary`},secondary:{base:`data-[state=checked]:bg-secondary outline-secondary/25`,icon:`group-data-[state=checked]:text-secondary`},success:{base:`data-[state=checked]:bg-success outline-success/25`,icon:`group-data-[state=checked]:text-success`},info:{base:`data-[state=checked]:bg-info outline-info/25`,icon:`group-data-[state=checked]:text-info`},warning:{base:`data-[state=checked]:bg-warning outline-warning/25`,icon:`group-data-[state=checked]:text-warning`},error:{base:`data-[state=checked]:bg-error outline-error/25`,icon:`group-data-[state=checked]:text-error`},neutral:{base:`data-[state=checked]:bg-inverted outline-inverted/25`,icon:`group-data-[state=checked]:text-highlighted`}},size:{xs:{base:`w-7`,container:`h-4`,thumb:`size-3 data-[state=checked]:translate-x-3 data-[state=checked]:rtl:-translate-x-3`,wrapper:`text-xs`},sm:{base:`w-8`,container:`h-4`,thumb:`size-3.5 data-[state=checked]:translate-x-3.5 data-[state=checked]:rtl:-translate-x-3.5`,wrapper:`text-xs`},md:{base:`w-9`,container:`h-5`,thumb:`size-4 data-[state=checked]:translate-x-4 data-[state=checked]:rtl:-translate-x-4`,wrapper:`text-sm`},lg:{base:`w-10`,container:`h-5`,thumb:`size-4.5 data-[state=checked]:translate-x-4.5 data-[state=checked]:rtl:-translate-x-4.5`,wrapper:`text-sm`},xl:{base:`w-11`,container:`h-6`,thumb:`size-5 data-[state=checked]:translate-x-5 data-[state=checked]:rtl:-translate-x-5`,wrapper:`text-base`}},checked:{true:{icon:`group-data-[state=checked]:opacity-100`}},unchecked:{true:{icon:`group-data-[state=unchecked]:opacity-100`}},loading:{true:{icon:`animate-spin`}},highlight:{true:``},required:{true:{label:`after:content-['*'] after:ms-0.5 after:text-error`}},disabled:{true:{root:`opacity-75`,base:`cursor-not-allowed`,label:`cursor-not-allowed`,description:`cursor-not-allowed`}}},compoundVariants:[{color:`primary`,highlight:!0,class:{base:`ring ring-primary`}},{color:`secondary`,highlight:!0,class:{base:`ring ring-secondary`}},{color:`success`,highlight:!0,class:{base:`ring ring-success`}},{color:`info`,highlight:!0,class:{base:`ring ring-info`}},{color:`warning`,highlight:!0,class:{base:`ring ring-warning`}},{color:`error`,highlight:!0,class:{base:`ring ring-error`}},{color:`neutral`,highlight:!0,class:{base:`ring ring-inverted`}}],defaultVariants:{color:`primary`,size:`md`}},$n=Object.assign({inheritAttrs:!1},{__name:`USwitch`,props:{as:{type:null,required:!1},color:{type:null,required:!1},size:{type:null,required:!1},highlight:{type:Boolean,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1},checkedIcon:{type:null,required:!1},uncheckedIcon:{type:null,required:!1},label:{type:String,required:!1},description:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},disabled:{type:Boolean,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},value:{type:String,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},trueValue:{type:null,required:!1},falseValue:{type:null,required:!1}},emits:[`change`,`update:modelValue`],setup(e,{emit:t}){let n=e,r=l(),o=t,s=xe(`switch`,n),c=ve(),p=Ve(Ae(s,`required`,`value`,`defaultValue`,`modelValue`,`trueValue`,`falseValue`),o),{id:m,emitFormChange:h,emitFormInput:y,size:b,color:x,highlight:S,name:w,disabled:E,ariaAttrs:D}=ht(n),ee=m.value??f(),O=T(()=>x.value??s.color),ne=T(()=>S.value??s.highlight),ie=T(()=>b.value??s.size),ae=T(()=>E.value??s.disabled),oe=u(),M=T(()=>{let{"data-state":e,...t}=oe;return t}),se=T(()=>Te({extend:Qn,...c.ui?.switch||{}})({size:ie.value,color:O.value,highlight:ne.value,required:s.required,loading:s.loading,disabled:ae.value||s.loading}));function ce(e){let t=new Event(`change`,{target:{value:e}});o(`change`,t),h(),y()}return(e,t)=>(k(),j(d(Fe),{as:d(s).as,"data-slot":e.$attrs[`data-slot`]??`root`,class:g(se.value.root({class:[d(s).ui?.root,d(s).class]}))},{default:A(()=>[_(`div`,{"data-slot":`container`,class:g(se.value.container({class:d(s).ui?.container}))},[i(d(Jn),C({id:d(ee)},{...d(p),...M.value,...d(D)},{name:d(w),disabled:ae.value||d(s).loading,"data-slot":`base`,class:se.value.base({class:d(s).ui?.base}),"onUpdate:modelValue":ce}),{default:A(()=>[i(d(Yn),{"data-slot":`thumb`,class:g(se.value.thumb({class:d(s).ui?.thumb}))},{default:A(()=>[d(s).loading?(k(),j(ft,{key:0,name:d(s).loadingIcon||d(c).ui.icons.loading,"data-slot":`icon`,class:g(se.value.icon({class:d(s).ui?.icon,checked:!0,unchecked:!0}))},null,8,[`name`,`class`])):(k(),v(te,{key:1},[d(s).checkedIcon?(k(),j(ft,{key:0,name:d(s).checkedIcon,"data-slot":`icon`,class:g(se.value.icon({class:d(s).ui?.icon,checked:!0}))},null,8,[`name`,`class`])):ue(``,!0),d(s).uncheckedIcon?(k(),j(ft,{key:1,name:d(s).uncheckedIcon,"data-slot":`icon`,class:g(se.value.icon({class:d(s).ui?.icon,unchecked:!0}))},null,8,[`name`,`class`])):ue(``,!0)],64))]),_:1},8,[`class`])]),_:1},16,[`id`,`name`,`disabled`,`class`])],2),d(s).label||r.label||d(s).description||r.description?(k(),v(`div`,{key:0,"data-slot":`wrapper`,class:g(se.value.wrapper({class:d(s).ui?.wrapper}))},[d(s).label||r.label?(k(),j(d($e),{key:0,for:d(ee),"data-slot":`label`,class:g(se.value.label({class:d(s).ui?.label}))},{default:A(()=>[N(e.$slots,`label`,{label:d(s).label},()=>[a(re(d(s).label),1)])]),_:3},8,[`for`,`class`])):ue(``,!0),d(s).description||r.description?(k(),v(`p`,{key:1,"data-slot":`description`,class:g(se.value.description({class:d(s).ui?.description}))}
1,[N(e.$slots,`description`,{description:d(s).description},()=>[a(re(d(s).description),1)])],2)):ue(``,!0)],2)):ue(``,!0)]),_:3},8,[`as`,`data-slot`,`class`]))}});function er(e={}){return O({name:e.name??`MarkdownDocumentComponent`,props:Rt,setup(t,{slots:n}){let i=T(()=>({...e.components,...t.components}));return()=>{let a=e.extends||Ht;return r(a,{...t,components:i.value,class:e.class},{default:n.default})}}})}function tr(e,t,n){let r=e.pos,i=e.posMax;if(r+1>=i||e.src.charCodeAt(r)!==36||e.src.charCodeAt(r+1)!==36)return!1;let a=r+2;for(;a+1<i;){if(e.src.charCodeAt(a)===10)return!1;if(e.src.charCodeAt(a)===36&&e.src.charCodeAt(a+1)===36){let n=e.src.slice(r+2,a);if(!t){let t=e.push(`math_inline`,`math`,0);t.content=n,t.markup=`$$`,t.meta={display:!0}}return e.pos=a+2,!0}a++}return!1}function nr(e,t,n){let r=e.pos,i=e.posMax;if(e.src.charCodeAt(r)!==36||r+1<i&&e.src.charCodeAt(r+1)===36)return!1;let a=r+1,o=!1;for(;a<i;){let t=e.src.charCodeAt(a);if(t===10)return!1;if(t===36){let t=a>r+1,n=a===r+1||e.src.charCodeAt(a-1)!==92,s=a===r+1||e.src.charCodeAt(a-1)!==36,c=a+1>=i||e.src.charCodeAt(a+1)!==36;if(t&&n&&s&&c){o=!0;break}}a++}if(!o)return!1;let s=e.src.slice(r+1,a);if(/^\d/.test(s))return!1;if(!t){let t=e.push(`math_inline`,`math`,0);t.content=s,t.markup=`$`}return e.pos=a+1,!0}function rr(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(i+2>a||e.src.charCodeAt(i)!==36||e.src.charCodeAt(i+1)!==36)return!1;let o=e.src.slice(i,i+2),s=i+2,c=e.src.slice(s,a),l=c.indexOf(`$$`);if(l!==-1){if(r)return!0;let n=c.slice(0,l),i=e.push(`math_block`,`div`,0);return i.content=n,i.markup=o,i.block=!0,i.map=[t,t+1],e.line=t+1,!0}let u=t,d=!1;for(;u<n&&(u++,!(u>=n));){let t=e.bMarks[u]+e.tShift[u],n=e.eMarks[u];if(t<n&&e.sCount[u]<e.blkIndent)break;let r=e.src.slice(t,n);if(r.trim()===`$$`){d=!0;break}if(r.includes(`$$`)){d=!0;break}}if(!d)return!1;if(r)return!0;let f=[];for(let n=t+1;n<u;n++){let t=e.bMarks[n]+e.tShift[n],r=e.eMarks[n];f.push(e.src.slice(t,r))}let p=f.join(` 2`),m=e.push(`math_block`,`div`,0);return m.content=p,m.markup=o,m.block=!0,m.map=[t,u+1],e.line=u+1,!0}function ir(e,t={}){e.inline.ruler.before(`escape`,`math_inline_display`,(e,n)=>tr(e,n,t)),e.inline.ruler.before(`escape`,`math_inline`,(e,n)=>nr(e,n,t)),e.block.ruler.before(`fence`,`math_block`,rr,{alt:[`paragraph`,`reference`,`blockquote`,`list`]})}var ar=Xt((e={})=>({name:`math`,markdownItPlugins:[(t=>ir(t,e))]})),F=class e extends Error{constructor(t,n){var r=`KaTeX parse error: `+t,i,a,o=n&&n.loc;if(o&&o.start<=o.end){var s=o.lexer.input;i=o.start,a=o.end,i===s.length?r+=` at end of input: `:r+=` at position `+(i+1)+`: `;var c=s.slice(i,a).replace(/[^]/g,`$&̲`),l=i>15?`â¦`+s.slice(i-15,i):s.slice(0,i),u=a+15<s.length?s.slice(a,a+15)+`â¦`:s.slice(a);r+=l+c+u}super(r),this.name=`ParseError`,this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,e.prototype),this.position=i,i!=null&&a!=null&&(this.length=a-i),this.rawMessage=t}},or=/([A-Z])/g,sr=e=>e.replace(or,`-$1`).toLowerCase(),cr={"&":`&`,">":`>`,"<":`<`,'"':`"`,"'":`'`},lr=/[&><"']/g,ur=e=>String(e).replace(lr,e=>cr[e]),dr=e=>e.type===`ordgroup`||e.type===`color`?e.body.length===1?dr(e.body[0]):e:e.type===`font`?dr(e.body):e,fr=new Set([`mathord`,`textord`,`atom`]),pr=e=>fr.has(dr(e).type),mr=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==`:`||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():`_relative`},hr={displayMode:{type:`boolean`,description:`Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.`,cli:`-d, --display-mode`},output:{type:{enum:[`htmlAndMathml`,`html`,`mathml`]},description:`Determines the markup language of the output.`,cli:`-F, --format <type>`},leqno:{type:`boolean`,description:`Render display math in leqno style (left-justified tags).`},fleqn:{type:`boolean`,description:`Render display math flush left.`},throwOnError:{type:`boolean`,default:!0,cli:`-t, --no-throw-on-error`,cliDescription:`Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error.`},errorColor:{type:`string`,default:`#cc0000`,cli:`-c, --error-color <color>`,cliDescription:`A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.`,cliProcessor:e=>`#`+e},macros:{type:`object`,cli:`-m, --macro <def>`,cliDescription:`Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).`,cliDefault:[],cliProcessor:(e,t)=>
vendor: 4,661 bytes, line 2
2(t.push(e),t)},minRuleThickness:{type:`number`,description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:`--min-rule-thickness <size>`,cliProcessor:parseFloat},colorIsTextColor:{type:`boolean`,description:`Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.`,cli:`-b, --color-is-text-color`},strict:{type:[{enum:[`warn`,`ignore`,`error`]},`boolean`,`function`],description:`Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.`,cli:`-S, --strict`,cliDefault:!1},trust:{type:[`boolean`,`function`],description:`Trust the input, enabling all HTML features such as \\url.`,cli:`-T, --trust`},maxSize:{type:`number`,default:1/0,description:`If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large`,processor:e=>Math.max(0,e),cli:`-s, --max-size <n>`,cliProcessor:parseInt},maxExpand:{type:`number`,default:1e3,description:`Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.`,processor:e=>Math.max(0,e),cli:`-e, --max-expand <n>`,cliProcessor:e=>e===`Infinity`?1/0:parseInt(e)},globalGroup:{type:`boolean`,cli:!1}};function gr(e){if(typeof e!=`string`)return e.enum[0];switch(e){case`boolean`:return!1;case`string`:return``;case`number`:return 0;case`object`:return{};default:throw Error(`Unexpected schema type; settings must declare an explicit default.`)}}function _r(e){return e.default===void 0?gr(Array.isArray(e.type)?e.type[0]:e.type):e.default}function vr(e,t,n,r){var i=n[t];e[t]=i===void 0?_r(r):r.processor?r.processor(i):i}var yr=class{constructor(e){e===void 0&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e||={};for(var t of Object.keys(hr)){var n=hr[t];n&&vr(this,t,e,n)}}reportNonstrict(e,t,n){var r=this.strict;if(typeof r==`function`&&(r=r(e,t,n)),r&&r!==`ignore`){if(r===!0||r===`error`)throw new F(`LaTeX-incompatible input and strict mode is set to 'error': `+(t+` [`+e+`]`),n);r===`warn`?typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)):typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`))}}useStrictBehavior(e,t,n){var r=this.strict;if(typeof r==`function`)try{r=r(e,t,n)}catch{r=`error`}return!r||r===`ignore`?!1:r===!0||r===`error`?!0:r===`warn`?(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to 'warn': `+(t+` [`+e+`]`)),!1):(typeof console<`u`&&console.warn(`LaTeX-incompatible input and strict mode is set to `+(`unrecognized '`+r+`': `+t+` [`+e+`]`)),!1)}isTrusted(e){if(`url`in e&&e.url&&!e.protocol){var t=mr(e.url);if(t==null)return!1;e.protocol=t}return!!(typeof this.trust==`function`?this.trust(e):this.trust)}},br=class{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return kr[Ar[this.id]]}sub(){return kr[jr[this.id]]}fracNum(){return kr[Mr[this.id]]}fracDen(){return kr[Nr[this.id]]}cramp(){return kr[Pr[this.id]]}text(){return kr[Fr[this.id]]}isTight(){return this.size>=2}},xr=0,Sr=1,Cr=2,wr=3,Tr=4,Er=5,Dr=6,Or=7,kr=[new br(xr,0,!1),new br(Sr,0,!0),new br(Cr,1,!1),new br(wr,1,!0),new br(Tr,2,!1),new br(Er,2,!0),new br(Dr,3,!1),new br(Or,3,!0)],Ar=[Tr,Er,Tr,Er,Dr,Or,Dr,Or],jr=[Er,Er,Er,Er,Or,Or,Or,Or],Mr=[Cr,wr,Tr,Er,Dr,Or,Dr,Or],Nr=[wr,wr,Er,Er,Or,Or,Or,Or],Pr=[Sr,Sr,wr,wr,Er,Er,Or,Or],Fr=[xr,Sr,Cr,wr,Cr,wr,Cr,wr],I={DISPLAY:kr[xr],TEXT:kr[Cr],SCRIPT:kr[Tr],SCRIPTSCRIPT:kr[Dr]},Ir=[{name:`latin`,blocks:[[256,591],[768,879]]},{name:`cyrillic`,blocks:[[1024,1279]]},{name:`armenian`,blocks:[[1328,1423]]},{name:`brahmic`,blocks:[[2304,4255]]},{name:`georgian`,blocks:[[4256,4351]]},{name:`cjk`,blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:`hangul`,blocks:[[44032,55215]]}];function Lr(e){for(var t=0;t<Ir.length;t++)for(var n=Ir[t],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(e>=i[0]&&e<=i[1])return n.name}return null}var Rr=[];
vendor: 7,448 bytes, lines 2-93
2Ir.forEach(e=>e.blocks.forEach(e=>Rr.push(...e)));function zr(e){for(var t=0;t<Rr.length;t+=2)if(e>=Rr[t]&&e<=Rr[t+1])return!0;return!1}var Br=e=>e+` `+e,Vr=80,Hr=function(e,t){return`M95,`+(622+e+t)+` 3c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 4c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 5c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 6s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 7c69,-144,104.5,-217.7,106.5,-221 8l`+e/2.075+` -`+e+` 9c5.3,-9.3,12,-14,20,-14 10H400000v`+(40+e)+`H845.2724 11s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 12c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z 13M`+(834+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},Ur=function(e,t){return`M263,`+(601+e+t)+`c0.7,0,18,39.7,52,119 14c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 15c340,-704.7,510.7,-1060.3,512,-1067 16l`+e/2.084+` -`+e+` 17c4.7,-7.3,11,-11,19,-11 18H40000v`+(40+e)+`H1012.3 19s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 20c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 21s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 22c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z 23M`+(1001+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},Wr=function(e,t){return`M983 `+(10+e+t)+` 24l`+e/3.13+` -`+e+` 25c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+` 26H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 27s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 28c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 29c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 30c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 31c53.7,-170.3,84.5,-266.8,92.5,-289.5z 32M`+(1001+e)+` `+t+`h400000v`+(40+e)+`h-400000z`},Gr=function(e,t){return`M424,`+(2398+e+t)+` 33c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 34c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 35s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 36s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 37l`+e/4.223+` -`+e+`c4,-6.7,10,-10,18,-10 H400000 38v`+(40+e)+`H1014.6 39s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 40c-2,6,-10,9,-24,9 41c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+` `+t+` 42h400000v`+(40+e)+`h-400000z`},Kr=function(e,t){return`M473,`+(2713+e+t)+` 43c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+` -`+e+` 44c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7 45s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 46c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 47c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 48s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 49606zM`+(1001+e)+` `+t+`h400000v`+(40+e)+`H1017.7z`},qr=function(e){var t=e/2;return`M400000 `+e+` H0 L`+t+` 0 l65 45 L145 `+(e-80)+` H400000z`},Jr=function(e,t,n){var r=n-54-t-e;return`M702 `+(e+t)+`H400000`+(40+e)+` 50H742v`+r+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 51h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 52c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 53219 661 l218 661zM702 `+t+`H400000v`+(40+e)+`H742z`},Yr=function(e,t,n){t=1e3*t;var r=``;switch(e){case`sqrtMain`:r=Hr(t,Vr);break;case`sqrtSize1`:r=Ur(t,Vr);break;case`sqrtSize2`:r=Wr(t,Vr);break;case`sqrtSize3`:r=Gr(t,Vr);break;case`sqrtSize4`:r=Kr(t,Vr);break;case`sqrtTall`:r=Jr(t,Vr,n)}return r},Xr=function(e,t){switch(e){case`â`:return Br(`M291 0 H417 V`+t+` H291z`);case`â£`:return Br(`M145 0 H188 V`+t+` H145z`);case`â¥`:return Br(`M145 0 H188 V`+t+` H145z`)+Br(`M367 0 H410 V`+t+` H367z`);case`â`:return Br(`M457 0 H583 V`+t+` H457z`);case`â¢`:return Br(`M319 0 H403 V`+t+` H319z`);case`â¥`:return Br(`M263 0 H347 V`+t+` H263z`);case`âª`:return Br(`M384 0 H504 V`+t+` H384z`);case`â`:return Br(`M312 0 H355 V`+t+` H312z`);case`â`:return Br(`M257 0 H300 V`+t+` H257z`)+Br(`M478 0 H521 V`+t+` H478z`);default:return``}},Zr={doubleleftarrow:`M262 157 54l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 55 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 56 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 57c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 58 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 59-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 60-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z 61m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l 62-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 63 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 64-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 65-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 66-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 67c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 68-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 69 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 70-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 71c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 72 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 73 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 74 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 75-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 76 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 77 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 78 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 79-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 80H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 81 435 0h399565z`,leftgroupunder:`M400000 262 82H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 83 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 84-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 85-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 86-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 87 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 88-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 89-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z 90m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 91 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 92 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 93-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2
9311s5.3 5.3 12 94 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 95-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 96v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 97-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 98-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 99 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:Br(`M40 281 V428 H0 V94 H40 V241 H400000 v40z`),leftbracketunder:Br(`M0 0 h120 V290 H399995 v120 H0z`),leftbracketover:Br(`M0 440 h120 V150 H399995 v-120 H0z`),leftmapsto:Br(`M40 281 V448H0V74H40V241H400000v40z`),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 100-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 101c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 102 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:Br(`M0 50 h400000 v40H0z m0 194h40000v40H0z`),midbrace:`M200428 334 103c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 104-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 105 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 106 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 107c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 108 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 109 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 110-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 111-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z 112m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 11360.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 114-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z 115m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 116c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 117-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z 118m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 11985.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 120-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z 121m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 122c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 123-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 124 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 125 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 126-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 127-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 128 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l 129-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 130s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 131c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 132 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 133-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 134 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 135 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 136-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 137-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 138 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 139-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 140 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z 141m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 142 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
143-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 144-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 145 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 146 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 147-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z 148m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 149 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 150-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 151 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:Br(`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`),rightbracketunder:Br(`M399995 0 h-120 V290 H0 v120 H400000z`),rightbracketover:Br(`M399995 440 h-120 V150 H0 v-120 H399995z`)
vendor: 6,574 bytes, lines 151-224
151,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 152 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 153-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 154-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 155 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 156-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 157-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 158-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 159 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 160c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 161 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 162 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 163-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 164 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 165-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 166 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 167 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 168-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 169-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 170 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 171c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 172 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 173-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 174 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 175 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 176 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 177-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 178 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 179 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 180 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 1813.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 18210.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 183-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 184-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 185H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 186c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 187c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 188-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 189-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 190-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, 191-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 192-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 193-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 194-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 195c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 196c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 197s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 198121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 199s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 200c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z 201M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 202-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 20313.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 204-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 205-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 206-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 207151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 208c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 209c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 210c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 211c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z 212M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 213c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 214-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 215c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z 216M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 217c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 2181c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, 219-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z 220M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 221c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 222-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 223c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z 224M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
vendor: 9,309 bytes, lines 224-252
224Qr=function(e,t){switch(e){case`lbrack`:return`M403 1759 V84 H666 V0 H319 V1759 v`+t+` v1759 v84 h347 v-84 225H403z M403 1759 V0 H319 V1759 v`+t+` v1759 v84 h84z`;case`rbrack`:return`M347 1759 V0 H0 V84 H263 V1759 v`+t+` v1759 H0 v84 H347z 226M347 1759 V0 H263 V1759 v`+t+` v1759 h84z`;case`vert`:return`M145 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15 227c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 228c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z`;case`doublevert`:return`M145 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15 229c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 230c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z 231M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15 232c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 233c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+` v585 h43z`;case`lfloor`:return`M319 602 V0 H403 V602 v`+t+` v1715 h263 v84 H319z 234MM319 602 V0 H403 V602 v`+t+` v1715 H319z`;case`rfloor`:return`M319 602 V0 H403 V602 v`+t+` v1799 H0 v-84 H319z 235MM319 602 V0 H403 V602 v`+t+` v1715 H319z`;case`lceil`:return`M403 1759 V84 H666 V0 H319 V1759 v`+t+` v602 h84z 236M403 1759 V0 H319 V1759 v`+t+` v602 h84z`;case`rceil`:return`M347 1759 V0 H0 V84 H263 V1759 v`+t+` v602 h84z 237M347 1759 V0 h-84 V1759 v`+t+` v602 h84z`;case`lparen`:return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 238c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, 239-36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 240949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 241c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, 242-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 243l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, 244-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case`rparen`:return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, 24563,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 246c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+` 247c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 248c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 249c0,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 250c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 251l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, 252-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 $r(e){return`toText`in e}var ei=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($r(e))return e.toText();throw Error(`Expected MathDomNode with toText, got `+e.constructor.name)}).join(``)}},ti={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},ni={ex:!0,em:!0,mu:!0},ri=function(e){return typeof e!=`string`&&(e=e.unit),e in ti||e in ni||e===`ex`},ii=function(e,t){var n;if(e.unit in ti)n=ti[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 F(`Invalid unit: '`+e.unit+`'`);r!==t&&(n*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},L=function(e){return+e.toFixed(4)+`em`},ai=function(e){return e.filter(e=>e).join(` `)},oi=function(e){var t=``;for(var n of Object.keys(e)){var r=e[n];r!==void 0&&(t+=sr(n)+`:`+r+`;`)}return t},si=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)}},ci=function(e){var t=document.createElement(e);t.className=ai(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},li=/[\s"'>/=\x00-\x1f]/,ui=function(e){var t=`<`+e;this.classes.length&&(t+=` class="`+ur(ai(this.classes))+`"`);var n=oi(this.style);n&&(t+=` style="`+ur(n)+`"`);for(var r of Object.keys(this.attributes)){if(li.test(r))throw new F(`Invalid attribute name '`+r+`'`);t+=` `+r+`="`+ur(this.attributes[r])+`"`}t+=`>`;for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+=`</`+e+`>`,t},di=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,si.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return ci.call(this,`span`)}toMarkup(){return ui.call(this,`span`)}},fi=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,si.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 ci.call(this,`a`)}toMarkup(){return ui.call(this,`a`)}},pi=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="`+ur(this.src)+`"`+(` alt="`+ur(this.alt)+`"`),t=oi(this.style);return t&&(e+=` style="`+ur(t)+`"`),e+=`'/>`,e}},mi={î:`ıÌ`,ï:`ıÌ`,Ã:`ıÌ`,ì:`ıÌ`},hi=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=Lr(this.text.charCodeAt(0));c&&this.classes.push(c+`_fallback`),/[îïÃì]/.test(this.text)&&(this.text=mi[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=L(this.italic)),this.classes.length>0&&(t||=document.createElement(`span`),t.className=ai(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+=ur(ai(this.classes)),t+=`"`);var n=``;this.italic>0&&(n+=`margin-right:`+L(this.italic)+`;`),n+=oi(this.style),n&&(e=!0,t+=` style="`+ur(n)+`"`);var r=ur(this.text);return e?(t+=`>`,t+=r,t+=`</span>`,t):r}},gi=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+`="`+ur(this.attributes[t])+`"`;e+=`>`;for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+=`</svg>`,e}},_i=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`,Zr[this.pathName]),e}toMarkup(){return this.alternate?`<path d="`+ur(this.alternate)+`"/>`:`<path d="`+ur(Zr[this.pathName])+`"/>`}},vi=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+`="`+ur(this.attributes[t])+`"`;return e+=`/>`,e}};function yi(e){if(e instanceof hi)return e;throw Error(`Expected symbolNode but got `+String(e)+`.`)}function bi(e){if(e instanceof di)return e;throw Error(`Expected span<HtmlDomNode> but got `+String(e)+`.`)}var xi=e=>e instanceof di||e instanceof fi||e instanceof ei,Si
vendor: 57,629 bytes, line 252
252={"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]}},
vendor: 6,753 bytes, line 252
252Ci={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]},wi={Ã
:`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 Ti(e,t){Si[e]=t}function Ei(e,t,n){if(!Si[t])throw Error(`Font metrics not found for font: `+t+`.`);var r=e.charCodeAt(0),i=Si[t][r];if(!i&&e[0]in wi&&(r=wi[e[0]].charCodeAt(0),i=Si[t][r]),!i&&n===`text`&&zr(r)&&(i=Si[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Di={};function Oi(e){var t=e>=5?0:e>=3?1:2;if(!Di[t]){var n=Di[t]={cssEmPerMu:Ci.quad[t]/18};for(var r in Ci)Ci.hasOwnProperty(r)&&(n[r]=Ci[r][t])}return Di[t]}var ki={math:{},text:{}};function R(e,t,n,r,i,a){ki[e][i]={font:t,group:n,replace:r},a&&r&&(ki[e][r]=ki[e][i])}var z=`math`,B=`text`,V=`main`,H=`ams`,Ai=`accent-token`,U=`bin`,ji=`close`,Mi=`inner`,W=`mathord`,Ni=`op-token`,Pi=`open`,Fi=`punct`,G=`rel`,Ii=`spacing`,K=`textord`;R(z,V,G,`â¡`,`\\equiv`,!0),R(z,V,G,`âº`,`\\prec`,!0),R(z,V,G,`â»`,`\\succ`,!0),R(z,V,G,`â¼`,`\\sim`,!0),R(z,V,G,`â¥`,`\\perp`),R(z,V,G,`⪯`,`\\preceq`,!0),R(z,V,G,`⪰`,`\\succeq`,!0),R(z,V,G,`â`,`\\simeq`,!0),R(z,V,G,`â£`,`\\mid`,!0),R(z,V,G,`âª`,`\\ll`,!0),R(z,V,G,`â«`,`\\gg`,!0),R(z,V,G,`â`,`\\asymp`,!0),R(z,V,G,`â¥`,`\\parallel`),R(z,V,G,`â`,`\\bowtie`,!0),R(z,V,G,`â£`,`\\smile`,!0),R(z,V,G,`â`,`\\sqsubseteq`,!0),R(z,V,G,`â`,`\\sqsupseteq`,!0),R(z,V,G,`â`,`\\doteq`,!0),R(z,V,G,`â¢`,`\\frown`,!0),R(z,V,G,`â`,`\\ni`,!0),R(z,V,G,`â`,`\\propto`,!0),R(z,V,G,`â¢`,`\\vdash`,!0),R(z,V,G,`â£`,`\\dashv`,!0),R(z,V,G,`â`,`\\owns`),R(z,V,Fi,`.`,`\\ldotp`),R(z,V,Fi,`â
`,`\\cdotp`),R(z,V,Fi,`â
`,`·`),R(B,V,K,`â
`,`·`),R(z,V,K,`#`,`\\#`),R(B,V,K,`#`,`\\#`),R(z,V,K,`&`,`\\&`),R(B,V,K,`&`,`\\&`),R(z,V,K,`âµ`,`\\aleph`,!0),R(z,V,K,`â`,`\\forall`,!0),R(z,V,K,`â`,`\\hbar`,!0),R(z,V,K,`â`,`\\exists`,!0),R(z,V,K,`â`,`\\nabla`,!0),R(z,V,K,`â`,`\\flat`,!0),R(z,V,K,`â`,`\\ell`,!0),R(z,V,K,`â®`,`\\natural`,!0),R(z,V,K,`â£`,`\\clubsuit`,!0),R(z,V,K,`â`,`\\wp`,!0),R(z,V,K,`â¯`,`\\sharp`,!0),R(z,V,K,`â¢`,`\\diamondsuit`,!0),R(z,V,K,`â`,`\\Re`,!0),R(z,V,K,`â¡`,`\\heartsuit`,!0),R(z,V,K,`â`,`\\Im`,!0),R(z,V,K,`â `,`\\spadesuit`,!0),R(z,V,K,`§`,`\\S`,!0),R(B,V,K,`§`,`\\S`),R(z,V,K,`¶`,`\\P`,!0),R(B,V,K,`¶`,`\\P`),R(z,V,K,`â `,`\\dag`),R(B,V,K,`â `,`\\dag`),R(B,V,K,`â `,`\\textdagger`),R(z,V,K,`â¡`,`\\ddag`),R(B,V,K,`â¡`,`\\ddag`),R(B,V,K,`â¡`,`\\textdaggerdbl`),R(z,V,ji,`â±`,`\\rmoustache`,!0),R(z,V,Pi,`â°`,`\\lmoustache`,!0),R(z,V,ji,`â¯`,`\\rgroup`,!0),R(z,V,Pi,`â®`,`\\lgroup`,!0),R(z,V,U,`â`,`\\mp`,!0),R(z,V,U,`â`,`\\ominus`,!0),R(z,V,U,`â`,`\\uplus`,!0),R(z,V,U,`â`,`\\sqcap`,!0),R(z,V,U,`â`,`\\ast`),R(z,V,U,`â`,`\\sqcup`,!0),R(z,V,U,`â¯`,`\\bigcirc`,!0),R(z,V,U,`â`,`\\bullet`,!0),R(z,V,U,`â¡`,`\\ddagger`),R(z,V,U,`â`,`\\wr`,!0),R(z,V,U,`⨿`,`\\amalg`),R(z,V,U,`&`,`\\And`),R(z,V,G,`âµ`,`\\longleftarrow`,!0),R(z,V,G,`â`,`\\Leftarrow`,!0),R(z,V,G,`â¸`,`\\Longleftarrow`,!0),R(z,V,G,`â¶`,`\\longrightarrow`,!0),R(z,V,G,`â`,`\\Rightarrow`,!0),R(z,V,G,`â¹`,`\\Longrightarrow`,!0),R(z,V,G,`â`,`\\leftrightarrow`,!0),R(z,V,G,`â·`,`\\longleftrightarrow`,!0),R(z,V,G,`â`,`\\Leftrightarrow`,!0),R(z,V,G,`âº`,`\\Longleftrightarrow`,!0),R(z,V,G,`â¦`,`\\mapsto`,!0),R(z,V,G,`â¼`,`\\longmapsto`,!0),R(z,V,G,`â`,`\\nearrow`,!0),R(z,V,G,`â©`,`\\hookleftarrow`,!0),R(z,V,G,`âª`,`\\hookrightarrow`,!0),R(z,V,G,`â`,`\\searrow`,!0),R(z,V,G,`â¼`,`\\leftharpoonup`,!0),R(z,V,G,`â`,`\\rightharpoonup`,!0),R(z,V,G,`â`,`\\swarrow`,!0),R(z,V,G,`â½`,`\\leftharpoondown`,!0),R(z,V,G,`â`,`\\rightharpoondown`,!0),R(z,V,G,`â`,`\\nwarrow`,!0),R(z,V,G,`â`,`\\rightleftharpoons`,!0),R(z,H,G,`â®`,`\\nless`,!0),R(z,H,G,`î`,`\\@nleqslant`),R(z,H,G,`î`,`\\@nleqq`),R(z,H,G,`âª`,`\\lneq`,!0),R(z,H,G,`â¨`,`\\lneqq`,!0),R(z,H,G,`î`,`\\@lvertneqq`),R(z,H,G,`â¦`,`\\lnsim`,!0),R(z,H,G,`âª`,`\\lnapprox`,!0),R(z,H,G,`â`,`\\nprec`,!0),R(z,H,G,`â `,`\\npreceq`,!0),R(z,H,G,`â¨`,`\\precnsim`,!0),R(z,H,G,`⪹`,`\\precnapprox`,!0),R(z,H,G,`â`,`\\nsim`,!0),R(z,H,G,`î`,`\\@nshortmid`),R(z,H,G,`â¤`,`\\nmid`,!0),R(z,H,G,`â¬`,`\\nvdash`,!0),R(z,H,G,`â`,`\\nvDash`,!0),R(z,H,G,`âª`,`\\ntriangleleft`),R(z,H,G,`â¬`,`\\ntrianglelefteq`,!0),R(z,H,G,`â`,`\\subsetneq`,!0),R(z,H,G,`î`,`\\@varsubsetneq`),R(z,H,G,`â«`,`\\subsetneqq`,!0),R(z,H,G,`î`,`\\@varsubsetneqq`),R(z,H,G,`â¯`,`\\ngtr`,!0),R(z,H,G,`î`,`\\@ngeqslant`),R(z,H,G,`î`,`\\@ngeqq`),R(z,H,G,`âª`,`\\gneq`,!0),R(z,H,G,`â©`,`\\gneqq`,!0),R(z,H,G,`î`,`\\@gvertneqq`),R(z,H,G,`â§`,`\\gnsim`,!0),R(z,H,G,`âª`,`\\gnapprox`,!0),R(z,H,G,`â`,`\\nsucc`,!0),R(z,H,G,`â¡`,`\\nsucceq`,!0),R(z,H,G,`â©`,`\\succnsim`,!0),R(z,H,G,`⪺`,`\\succnapprox`,!0),R(z,H,G,`â`,`\\ncong`,!0),R(z,H,G,`î`,`\\@nshortparallel`),R(z,H,G,`â¦`,`\\nparallel`,!0),R(z,H,G,`â¯`,`\\nVDash`,!0),R(z,H,G,`â«`,`\\ntriangleright`),R(z,H,G,`â`,`\\ntrianglerighteq`,!0),R(z,H,G,`î`,`\\@nsupseteqq`),R(z,H,G,`â`,`\\supsetneq`,!0),R(z,H,G,`î`,`\\@varsupsetneq`),R(z,H,G,`â«`,`\\supsetneqq`,!0),R(z,H,G,`î`,`\\@varsupsetneqq`),R(z,H,G,`â®`,`\\nVdash`,!0),R(z,H,G,`⪵`,`\\precneqq`,!0),R(z,H,G,`⪶`,`\\succneqq`,!0),R(z,H,G,`î`,`\\@nsubseteqq`),R(z,H,U,`â´`,`\\unlhd`),R(z,H,U,`âµ`,`\\unrhd`),R(z,H,G,`â`,`\\nleftarrow`,!0),R(z,H,G,`â`,`\\nrightarrow`,!0),R(z,H,G,`â`,`\\nLeftarrow`,!0),R(z,H,G,`â`,`\\nRightarrow`,!0),R(z,H,G,`â®`,`\\nleftrightarrow`,!0),R(z,H,G,`â`,`\\nLeftrightarrow`,!0),R(z,H,G,`â³`,`\\vartriangle`),R(z,H,K,`â`,`\\hslash`),R(z,H,K,`â½`,`\\triangledown`),R(z,H,K,`â`,`\\lozenge`),R(z,H,K,`â`,`\\cir
252cledS`),R(z,H,K,`®`,`\\circledR`),R(B,H,K,`®`,`\\circledR`),R(z,H,K,`â¡`,`\\measuredangle`,!0),R(z,H,K,`â`,`\\nexists`),R(z,H,K,`â§`,`\\mho`),R(z,H,K,`â²`,`\\Finv`,!0),R(z,H,K,`â
`,`\\Game`,!0),R(z,H,K,`âµ`,`\\backprime`),R(z,H,K,`â²`,`\\blacktriangle`),R(z,H,K,`â¼`,`\\blacktriangledown`),R(z,H,K,`â `,`\\blacksquare`),R(z,H,K,`â§«`,`\\blacklozenge`),R(z,H,K,`â
`,`\\bigstar`),R(z,H,K,`â¢`,`\\sphericalangle`,!0),R(z,H,K,`â`,`\\complement`,!0),R(z,H,K,`ð`,`\\eth`,!0),R(B,V,K,`ð`,`ð`),R(z,H,K,`â±`,`\\diagup`),R(z,H,K,`â²`,`\\diagdown`),R(z,H,K,`â¡`,`\\square`),R(z,H,K,`â¡`,`\\Box`),R(z,H,K,`â`,`\\Diamond`),R(z,H,K,`Â¥`,`\\yen`,!0),R(B,H,K,`Â¥`,`\\yen`,!0),R(z,H,K,`â`,`\\checkmark`,!0),R(B,H,K,`â`,`\\checkmark`),R(z,H,K,`â¶`,`\\beth`,!0),R(z,H,K,`â¸`,`\\daleth`,!0),R(z,H,K,`â·`,`\\gimel`,!0),R(z,H,K,`Ï`,`\\digamma`,!0),R(z,H,K,`ϰ`,`\\varkappa`),R(z,H,Pi,`â`,`\\@ulcorner`,!0),R(z,H,ji,`â`,`\\@urcorner`,!0),R(z,H,Pi,`â`,`\\@llcorner`,!0),R(z,H,ji,`â`,`\\@lrcorner`,!0),R(z,H,G,`â¦`,`\\leqq`,!0),R(z,H,G,`⩽`,`\\leqslant`,!0),R(z,H,G,`âª`,`\\eqslantless`,!0),R(z,H,G,`â²`,`\\lesssim`,!0),R(z,H,G,`âª
`,`\\lessapprox`,!0),R(z,H,G,`â`,`\\approxeq`,!0),R(z,H,U,`â`,`\\lessdot`),R(z,H,G,`â`,`\\lll`,!0),R(z,H,G,`â¶`,`\\lessgtr`,!0),R(z,H,G,`â`,`\\lesseqgtr`,!0),R(z,H,G,`âª`,`\\lesseqqgtr`,!0),R(z,H,G,`â`,`\\doteqdot`),R(z,H,G,`â`,`\\risingdotseq`,!0),R(z,H,G,`â`,`\\fallingdotseq`,!0),R(z,H,G,`â½`,`\\backsim`,!0),R(z,H,G,`â`,`\\backsimeq`,!0),R(z,H,G,`â«
`,`\\subseteqq`,!0),R(z,H,G,`â`,`\\Subset`,!0),R(z,H,G,`â`,`\\sqsubset`,!0),R(z,H,G,`â¼`,`\\preccurlyeq`,!0),R(z,H,G,`â`,`\\curlyeqprec`,!0),R(z,H,G,`â¾`,`\\precsim`,!0),R(z,H,G,`⪷`,`\\precapprox`,!0),R(z,H,G,`â²`,`\\vartriangleleft`),R(z,H,G,`â´`,`\\trianglelefteq`),R(z,H,G,`â¨`,`\\vDash`,!0),R(z,H,G,`âª`,`\\Vvdash`,!0),R(z,H,G,`â£`,`\\smallsmile`),R(z,H,G,`â¢`,`\\smallfrown`),R(z,H,G,`â`,`\\bumpeq`,!0),R(z,H,G,`â`,`\\Bumpeq`,!0),R(z,H,G,`â§`,`\\geqq`,!0),R(z,H,G,`⩾`,`\\geqslant`,!0),R(z,H,G,`âª`,`\\eqslantgtr`,!0),R(z,H,G,`â³`,`\\gtrsim`,!0),R(z,H,G,`âª`,`\\gtrapprox`,!0),R(z,H,U,`â`,`\\gtrdot`),R(z,H,G,`â`,`\\ggg`,!0),R(z,H,G,`â·`,`\\gtrless`,!0),R(z,H,G,`â`,`\\gtreqless`,!0),R(z,H,G,`âª`,`\\gtreqqless`,!0),R(z,H,G,`â`,`\\eqcirc`,!0),R(z,H,G,`â`,`\\circeq`,!0),R(z,H,G,`â`,`\\triangleq`,!0),R(z,H,G,`â¼`,`\\thicksim`),R(z,H,G,`â`,`\\thickapprox`),R(z,H,G,`â«`,`\\supseteqq`,!0),R(z,H,G,`â`,`\\Supset`,!0),R(z,H,G,`â`,`\\sqsupset`,!0),R(z,H,G,`â½`,`\\succcurlyeq`,!0),R(z,H,G,`â`,`\\curlyeqsucc`,!0),R(z,H,G,`â¿`,`\\succsim`,!0),R(z,H,G,`⪸`,`\\succapprox`,!0),R(z,H,G,`â³`,`\\vartriangleright`),R(z,H,G,`âµ`,`\\trianglerighteq`),R(z,H,G,`â©`,`\\Vdash`,!0),R(z,H,G,`â£`,`\\shortmid`),R(z,H,G,`â¥`,`\\shortparallel`),R(z,H,G,`â¬`,`\\between`,!0),R(z,H,G,`â`,`\\pitchfork`,!0),R(z,H,G,`â`,`\\varpropto`),R(z,H,G,`â`,`\\blacktriangleleft`),R(z,H,G,`â´`,`\\therefore`,!0),R(z,H,G,`â`,`\\backepsilon`),R(z,H,G,`â¶`,`\\blacktriangleright`),R(z,H,G,`âµ`,`\\because`,!0),R(z,H,G,`â`,`\\llless`),R(z,H,G,`â`,`\\gggtr`),R(z,H,U,`â²`,`\\lhd`),R(z,H,U,`â³`,`\\rhd`),R(z,H,G,`â`,`\\eqsim`,!0),R(z,V,G,`â`,`\\Join`),R(z,H,G,`â`,`\\Doteq`,!0),R(z,H,U,`â`,`\\dotplus`,!0),R(z,H,U,`â`,`\\smallsetminus`),R(z,H,U,`â`,`\\Cap`,!0),R(z,H,U,`â`,`\\Cup`,!0),R(z,H,U,`â©`,`\\doublebarwedge`,!0),R(z,H,U,`â`,`\\boxminus`,!0),R(z,H,U,`â`,`\\boxplus`,!0),R(z,H,U,`â`,`\\divideontimes`,!0),R(z,H,U,`â`,`\\ltimes`,!0),R(z,H,U,`â`,`\\rtimes`,!0),R(z,H,U,`â`,`\\leftthreetimes`,!0),R(z,H,U,`â`,`\\rightthreetimes`,!0),R(z,H,U,`â`,`\\curlywedge`,!0),R(z,H,U,`â`,`\\curlyvee`,!0),R(z,H,U,`â`,`\\cir
252cleddash`,!0),R(z,H,U,`â`,`\\circledast`,!0),R(z,H,U,`â
`,`\\centerdot`),R(z,H,U,`âº`,`\\intercal`,!0),R(z,H,U,`â`,`\\doublecap`),R(z,H,U,`â`,`\\doublecup`),R(z,H,U,`â `,`\\boxtimes`,!0),R(z,H,G,`â¢`,`\\dashrightarrow`,!0),R(z,H,G,`â `,`\\dashleftarrow`,!0),R(z,H,G,`â`,`\\leftleftarrows`,!0),R(z,H,G,`â`,`\\leftrightarrows`,!0),R(z,H,G,`â`,`\\Lleftarrow`,!0),R(z,H,G,`â`,`\\twoheadleftarrow`,!0),R(z,H,G,`â¢`,`\\leftarrowtail`,!0),R(z,H,G,`â«`,`\\looparrowleft`,!0),R(z,H,G,`â`,`\\leftrightharpoons`,!0),R(z,H,G,`â¶`,`\\curvearrowleft`,!0),R(z,H,G,`âº`,`\\circlearrowleft`,!0),R(z,H,G,`â°`,`\\Lsh`,!0),R(z,H,G,`â`,`\\upuparrows`,!0),R(z,H,G,`â¿`,`\\upharpoonleft`,!0),R(z,H,G,`â`,`\\downharpoonleft`,!0),R(z,V,G,`â¶`,`\\origof`,!0),R(z,V,G,`â·`,`\\imageof`,!0),R(z,H,G,`â¸`,`\\multimap`,!0),R(z,H,G,`â`,`\\leftrightsquigarrow`,!0),R(z,H,G,`â`,`\\rightrightarrows`,!0),R(z,H,G,`â`,`\\rightleftarrows`,!0),R(z,H,G,`â `,`\\twoheadrightarrow`,!0),R(z,H,G,`â£`,`\\rightarrowtail`,!0),R(z,H,G,`â¬`,`\\looparrowright`,!0),R(z,H,G,`â·`,`\\curvearrowright`,!0),R(z,H,G,`â»`,`\\circlearrowright`,!0),R(z,H,G,`â±`,`\\Rsh`,!0),R(z,H,G,`â`,`\\downdownarrows`,!0),R(z,H,G,`â¾`,`\\upharpoonright`,!0),R(z,H,G,`â`,`\\downharpoonright`,!0),R(z,H,G,`â`,`\\rightsquigarrow`,!0),R(z,H,G,`â`,`\\leadsto`),R(z,H,G,`â`,`\\Rrightarrow`,!0),R(z,H,G,`â¾`,`\\restriction`),R(z,V,K,`â`,"`"),R(z,V,K,`$`,`\\$`),R(B,V,K,`$`,`\\$`),R(B,V,K,`$`,`\\textdollar`),R(z,V,K,`%`,`\\%`),R(B,V,K,`%`,`\\%`),R(z,V,K,`_`,`\\_`),R(B,V,K,`_`,`\\_`),R(B,V,K,`_`,`\\textunderscore`),R(z,V,K,`â `,`\\angle`,!0),R(z,V,K,`â`,`\\infty`,!0),R(z,V,K,`â²`,`\\prime`),R(z,V,K,`â³`,`\\triangle`),R(z,V,K,`Î`,`\\Gamma`,!0),R(z,V,K,`Î`,`\\Delta`,!0),R(z,V,K,`Î`,`\\Theta`,!0),R(z,V,K,`Î`,`\\Lambda`,!0),R(z,V,K,`Î`,`\\Xi`,!0),R(z,V,K,`Î `,`\\Pi`,!0),R(z,V,K,`Σ`,`\\Sigma`,!0),R(z,V,K,`Î¥`,`\\Upsilon`,!0),R(z,V,K,`Φ`,`\\Phi`,!0),R(z,V,K,`Ψ`,`\\Psi`,!0),R(z,V,K,`Ω`,`\\Omega`,!0),R(z,V,K,`A`,`Î`),R(z,V,K,`B`,`Î`),R(z,V,K,`E`,`Î`),R(z,V,K,`Z`,`Î`),R(z,V,K,`H`,`Î`),R(z,V,K,`I`,`Î`),R(z,V,K,`K`,`Î`),R(z,V,K,`M`,`Î`),R(z,V,K,`N`,`Î`),R(z,V,K,`O`,`Î`),R(z,V,K,`P`,`Ρ`),R(z,V,K,`T`,`Τ`),R(z,V,K,`X`,`Χ`),R(z,V,K,`¬`,`\\neg`,!0),R(z,V,K,`¬`,`\\lnot`),R(z,V,K,`â¤`,`\\top`),R(z,V,K,`â¥`,`\\bot`),R(z,V,K,`â
`,`\\emptyset`),R(z,H,K,`â
`,`\\varnothing`),R(z,V,W,`α`,`\\alpha`,!0),R(z,V,W,`β`,`\\beta`,!0),R(z,V,W,`γ`,`\\gamma`,!0),R(z,V,W,`δ`,`\\delta`,!0),R(z,V,W,`ϵ`,`\\epsilon`,!0),R(z,V,W,`ζ`,`\\zeta`,!0),R(z,V,W,`η`,`\\eta`,!0),R(z,V,W,`θ`,`\\theta`,!0),R(z,V,W,`ι`,`\\iota`,!0),R(z,V,W,`κ`,`\\kappa`,!0),R(z,V,W,`λ`,`\\lambda`,!0),R(z,V,W,`μ`,`\\mu`,!0),R(z,V,W,`ν`,`\\nu`,!0),R(z,V,W,`ξ`,`\\xi`,!0),R(z,V,W,`ο`,`\\omicron`,!0),R(z,V,W,`Ï`,`\\pi`,!0),R(z,V,W,`Ï`,`\\rho`,!0),R(z,V,W,`Ï`,`\\sigma`,!0),R(z,V,W,`Ï`,`\\tau`,!0),R(z,V,W,`Ï
`,`\\upsilon`,!0),R(z,V,W,`Ï`,`\\phi`,!0),R(z,V,W,`Ï`,`\\chi`,!0),R(z,V,W,`Ï`,`\\psi`,!0),R(z,V,W,`Ï`,`\\omega`,!0),R(z,V,W,`ε`,`\\varepsilon`,!0),R(z,V,W,`Ï`,`\\vartheta`,!0),R(z,V,W,`Ï`,`\\varpi`,!0),R(z,V,W,`ϱ`,`\\varrho`,!0),R(z,V,W,`Ï`,`\\varsigma`,!0),R(z,V,W,`Ï`,`\\varphi`,!0),R(z,V,U,`â`,`*`,!0),R(z,V,U,`+`,`+`),R(z,V,U,`â`,`-`,!0),R(z,V,U,`â
`,`\\cdot`,!0),R(z,V,U,`â`,`\\circ`,!0),R(z,V,U,`÷`,`\\div`,!0),R(z,V,U,`±`,`\\pm`,!0),R(z,V,U,`Ã`,`\\times`,!0),R(z,V,U,`â©`,`\\cap`,!0),R(z,V,U,`âª`,`\\cup`,!0),R(z,V,U,`â`,`\\setminus`,!0),R(z,V,U,`â§`,`\\land`),R(z,V,U,`â¨`,`\\lor`),R(z,V,U,`â§`,`\\wedge`,!0),R(z,V,U,`â¨`,`\\vee`,!0),R(z,V,K,`â`,`\\surd`),R(z,V,Pi,`â¨`,`\\langle`,!0),R(z,V,Pi,`â£`,`\\lvert`),R(z,V,Pi,`â¥`,`\\lVert`),R(z,V,ji,`?`,`?`),R(z,V,ji,`!`,`!`),R(z,V,ji,`â©`,`\\rangle`,!0),R(z,V,ji,`â£`,`\\rvert`),R(z,V,ji,`â¥`,`\\rVert`),R(z,V,G,`=`,`=`),R(z,V,G,`:`,`:`),R(z,V,G,`â`,`\\approx`,!0),R(z,V,G,`â
`,`\\cong`,!0),R(z,V,G,`â¥`,`\\ge`),R(z,V,G,`â¥`,`\\geq`,!0),R(z,V,G,`â`,`\\gets`),R(z,V,G,`>`,`\\gt`,!0),R(z,V,G,`â`,`\\in`,!0),R(z,V,G,`î `,`\\@not`),R(z,V,G,`â`,`\\subset`,!0),R(z,V,G,`â`,`\\supset`,!0),R(z,V,G,`â`,`\\subseteq`,!0),R(z,V,G,`â`,`\\supseteq`,!0),R(z,H,G,`â`,`\\nsubseteq`,!0),R(z,H,G,`â`,`\\nsupseteq`,!0),R(z,V,G,`â¨`,`\\models`),R(z,V,G,`â`,`\\leftarrow`,!0),R(z,V,G,`â¤`,`\\le`),R(z,V,G,`â¤`,`\\leq`,!0),R(z,V,G,`<`,`\\lt`,!0),R(z,V,G,`â`,`\\rightarrow`,!0),R(z,V,G,`â`,`\\to`),R(z,H,G,`â±`,`\\ngeq`,!0),R(z,H,G,`â°`,`\\nleq`,!0),R(z,V,Ii,`\xA0`,`\\ `),R(z,V,Ii,`\xA0`,`\\space`),R(z,V,Ii,`\xA0`,`\\nobreakspace`),R(B,V,Ii,`\xA0`,`\\ `),R(B,V,Ii,`\xA0`,` `),R(B,V,Ii,`\xA0`,`\\space`),R(B,V,Ii,`\xA0`,`\\nobreakspace`),R(z,V,Ii,``,`\\nobreak`),R(z,V,Ii,``,`\\allowbreak`),R(z,V,Fi,`,`,`,`),R(z,V,Fi,`;`,`;`),R(z,H,U,`â¼`,`\\barwedge`,!0),R(z,H,U,`â»`,`\\veebar`,!0),R(z,V,U,`â`,`\\odot`,!0),R(z,V,U,`â`,`\\oplus`,!0),R(z,V,U,`â`,`\\otimes`,!0),R(z,V,K,`â`,`\\partial`,!0),R(z,V,U,`â`,`\\oslash`,!0),R(z,H,U,`â`,`\\circledcirc`,!0),R(z,H,U,`â¡`,`\\boxdot`,!0),R(z,V,U,`â³`,`\\bigtri
252angleup`),R(z,V,U,`â½`,`\\bigtriangledown`),R(z,V,U,`â `,`\\dagger`),R(z,V,U,`â`,`\\diamond`),R(z,V,U,`â`,`\\star`),R(z,V,U,`â`,`\\triangleleft`),R(z,V,U,`â¹`,`\\triangleright`),R(z,V,Pi,`{`,`\\{`),R(B,V,K,`{`,`\\{`),R(B,V,K,`{`,`\\textbraceleft`),R(z,V,ji,`}`,`\\}`),R(B,V,K,`}`,`\\}`),R(B,V,K,`}`,`\\textbraceright`),R(z,V,Pi,`{`,`\\lbrace`),R(z,V,ji,`}`,`\\rbrace`),R(z,V,Pi,`[`,`\\lbrack`,!0),R(B,V,K,`[`,`\\lbrack`,!0),R(z,V,ji,`]`,`\\rbrack`,!0),R(B,V,K,`]`,`\\rbrack`,!0),R(z,V,Pi,`(`,`\\lparen`,!0),R(z,V,ji,`)`,`\\rparen`,!0),R(B,V,K,`<`,`\\textless`,!0),R(B,V,K,`>`,`\\textgreater`,!0),R(z,V,Pi,`â`,`\\lfloor`,!0),R(z,V,ji,`â`,`\\rfloor`,!0),R(z,V,Pi,`â`,`\\lceil`,!0),R(z,V,ji,`â`,`\\rceil`,!0),R(z,V,K,`\\`,`\\backslash`),R(z,V,K,`â£`,`|`),R(z,V,K,`â£`,`\\vert`),R(B,V,K,`|`,`\\textbar`,!0),R(z,V,K,`â¥`,`\\|`),R(z,V,K,`â¥`,`\\Vert`),R(B,V,K,`â¥`,`\\textbardbl`),R(B,V,K,`~`,`\\textasciitilde`),R(B,V,K,`\\`,`\\textbackslash`),R(B,V,K,`^`,`\\textasciicircum`),R(z,V,G,`â`,`\\uparrow`,!0),R(z,V,G,`â`,`\\Uparrow`,!0),R(z,V,G,`â`,`\\downarrow`,!0),R(z,V,G,`â`,`\\Downarrow`,!0),R(z,V,G,`â`,`\\updownarrow`,!0),R(z,V,G,`â`,`\\Updownarrow`,!0),R(z,V,Ni,`â`,`\\coprod`),R(z,V,Ni,`â`,`\\bigvee`),R(z,V,Ni,`â`,`\\bigwedge`),R(z,V,Ni,`â¨`,`\\biguplus`),R(z,V,Ni,`â`,`\\bigcap`),R(z,V,Ni,`â`,`\\bigcup`),R(z,V,Ni,`â«`,`\\int`),R(z,V,Ni,`â«`,`\\intop`),R(z,V,Ni,`â¬`,`\\iint`),R(z,V,Ni,`â`,`\\iiint`),R(z,V,Ni,`â`,`\\prod`),R(z,V,Ni,`â`,`\\sum`),R(z,V,Ni,`â¨`,`\\bigotimes`),R(z,V,Ni,`â¨`,`\\bigoplus`),R(z,V,Ni,`â¨`,`\\bigodot`),R(z,V,Ni,`â®`,`\\oint`),R(z,V,Ni,`â¯`,`\\oiint`),R(z,V,Ni,`â°`,`\\oiiint`),R(z,V,Ni,`â¨`,`\\bigsqcup`),R(z,V,Ni,`â«`,`\\smallint`),R(B,V,Mi,`â¦`,`\\textellipsis`),R(z,V,Mi,`â¦`,`\\mathellipsis`),R(B,V,Mi,`â¦`,`\\ldots`,!0),R(z,V,Mi,`â¦`,`\\ldots`,!0),R(z,V,Mi,`â¯`,`\\@cdots`,!0),R(z,V,Mi,`â±`,`\\ddots`,!0),R(z,V,K,`â®`,`\\varvdots`),R(B,V,K,`â®`,`\\varvdots`),R(z,V,Ai,`Ë`,`\\acute`),R(z,V,Ai,`Ë`,`\\grave`),R(z,V,Ai,`¨`,`\\ddot`),R(z,V,Ai,`~`,`\\tilde`),R(z,V,Ai,`Ë`,`\\bar`),R(z,V,Ai,`Ë`,`\\breve`),R(z,V,Ai,`Ë`,`\\check`),R(z,V,Ai,`^`,`\\hat`),R(z,V,Ai,`â`,`\\vec`),R(z,V,Ai,`Ë`,`\\dot`),R(z,V,Ai,`Ë`,`\\mathring`),R(z,V,W,`î±`,`\\@imath`),R(z,V,W,`î·`,`\\@jmath`),R(z,V,K,`ı`,`ı`),R(z,V,K,`È·`,`È·`),R(B,V,K,`ı`,`\\i`,!0),R(B,V,K,`È·`,`\\j`,!0),R(B,V,K,`Ã`,`\\ss`,!0),R(B,V,K,`æ`,`\\ae`,!0),R(B,V,K,`Å`,`\\oe`,!0),R(B,V,K,`ø`,`\\o`,!0),R(B,V,K,`Ã`,`\\AE`,!0),R(B,V,K,`Å`,`\\OE`,!0),R(B,V,K,`Ã`,`\\O`,!0),R(B,V,Ai,`Ë`,`\\'`),R(B,V,Ai,`Ë`,"\\`"),R(B,V,Ai,`Ë`,`\\^`),R(B,V,Ai,`Ë`,`\\~`),R(B,V,Ai,`Ë`,`\\=`),R(B,V,Ai,`Ë`,`\\u`),R(B,V,Ai,`Ë`,`\\.`),R(B,V,Ai,`¸`,`\\c`),R(B,V,Ai,`Ë`,`\\r`),R(B,V,Ai,`Ë`,`\\v`),R(B,V,Ai,`¨`,`\\"`),R(B,V,Ai,`Ë`,`\\H`),R(B,V,Ai,`â¯`,`\\textcircled`);var Li={"--":!0,"---":!0,"``":!0,"''":!0};R(B,V,K,`â`,`--`,!0),R(B,V,K,`â`,`\\textendash`),R(B,V,K,`â`,`---`,!0),R(B,V,K,`â`,`\\textemdash`),R(B,V,K,`â`,"`",!0),R(B,V,K,`â`,`\\textquoteleft`),R(B,V,K,`â`,`'`,!0),R(B,V,K,`â`,`\\textquoteright`),R(B,V,K,`â`,"``",!0),R(B,V,K,`â`,`\\textquotedblleft`),R(B,V,K,`â`,`''`,!0),R(B,V,K,`â`,`\\textquotedblright`),R(z,V,K,`°`,`\\degree`,!0),R(B,V,K,`°`,`\\degree`),R(B,V,K,`°`,`\\textdegree`,!0),R(z,V,K,`£`,`\\pounds`),R(z,V,K,`£`,`\\mathsterling`,!0),R(B,V,K,`£`,`\\pounds`),R(B,V,K,`£`,`\\textsterling`,!0),R(z,H,K,`â `,`\\maltese`),R(B,H,K,`â `,`\\maltese`);for(var Ri=`0123456789/@."`,zi=0;zi<Ri.length;zi++){var Bi=Ri.charAt(zi);R(z,V,K,Bi,Bi)}for(var Vi=`0123456789!@*()-=+";:?/.,`,Hi=0;Hi<Vi.length;Hi++){var Ui=Vi.charAt(Hi);R(B,V,K,Ui,Ui)}for(var Wi=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`,Gi=0;Gi<Wi.length;Gi++){var Ki=Wi.charAt(Gi);R(z,V,W,Ki,Ki),R(B,V,K,Ki,Ki)}R(z,H,K,`C`,`â`),R(B,H,K,`C`,`â`),R(z,H,K,`H`,`â`),R(B,H,K,`H`,`â`),R(z,H,K,`N`,`â`),R(B,H,K,`N`,`â`),R(z,H,K,`P`,`â`),R(B,H,K,`P`,`â`),R(z,H,K,`Q`,`â`),R(B,H,K,`Q`,`â`),R(z,H,K,`R`,`â`),R(B,H,K,`R`,`â`),R(z,H,K,`Z`,`â¤`),R(B,H,K,`Z`,`â¤`),R(z,V,W,`h`,`â`),R(B,V,W,`h`,`â`);for(var q,qi=0;qi<Wi.length;qi++){var Ji=Wi.charAt(qi);q=String.fromCharCode(55349,56320+qi),R(z,V,W,Ji,q),R(B,V,K,Ji,q),q=String.fromCharCode(55349,56372+qi),R(z,V,W,Ji,q),R(B,V,K,Ji,q),q=String.fromCharCode(55349,56424+qi),R(z,V,W,Ji,q),R(B,V,K,Ji,q),q=String.fromCharCode(55349,56580+qi),R(z,V,W,Ji,q),R(B,V,K,Ji,q),q=String.fromCharCode(55349,56684+qi),R(z,V,W,Ji,q),R(B,V,K,Ji,q),q=String.fromCharCode(55349,56736+qi),R(z,V,W,Ji,q),R(B,V,K,Ji,q),q=String.fromCharCode(55349,56788+qi),R(z,V,W,Ji,q),R(B,V,K,Ji,q),q=String.fromCharCode(55349,56840+qi),R(z,V,W,Ji,q),R(B,V,K,Ji,q),q=String.fromCharCode(55349,56944+qi),R(z,V,W,Ji,q),R(B,V,K,Ji,q),qi<26&&(q=String.fromCharCode(55349,56632+qi),R(z,V,W,Ji,q),R(B,V,K,Ji,q),q=String.fromCharCode(55349,56476+qi),R(z,V,W,Ji,q),R(B,V,K,Ji,q))}q=String.fromCharCode(55349,56668),R(z,V,W,`k`,q),R(B,V,K,`k`,q);for(var Yi=0;Yi<10;Yi++){var Xi=Yi.toString();q=String.fromCharCode(55349,57294+Yi),R(z,V,W,Xi,q),R(B,V,K,Xi,q),q=String.fromCharCode(55349,57314+Yi),R(z,V,W,Xi,q),R(B,V,K,Xi,q),q=String.fromCharCode(55349,57324+Yi),R(z,V,W,Xi,q),R(B,V,K,Xi,q),q=String.fromCharCode(55349,57334+Yi),R(z,V,W,Xi,q),R(B,V,K,Xi,q)}for(var Zi=`ÃÃþ`,Qi=0;Qi<Zi.length;Qi++){var $i=Zi.charAt(Qi);R(z,V,W,$i,$i),R(B,V,K,$i,$i)}var ea={mathClass:`mathbf`,textClass:`textbf`,font:`Main-Bold`},ta={mathClass:`mathnormal`,textClass:`textit`,font:`Math-Italic`},na={mathClass:`boldsymbol`,textClass:`boldsymbol`,font:`Main-BoldItalic`},ra={mathClass:`mathscr`,textClass:`textscr`,font:`Script-Regular`},ia={mathClass:``,textClass:``,font:``},aa={mathClass:`mathfrak`,textClass:`textfrak`,font:`Fraktur-Regular`},oa={mathClass:`mathbb`,textClass:`textbb`,font:`AMS-Regular`},sa={mathClass:`mathboldfrak`,textClass:`textboldfrak`,font:`Fraktur-Regular`},ca={mathClass:`mathsf`,textClass:`textsf`,font:`SansSerif-Regular`},la={mathClass:`mathboldsf`,textClass:`textboldsf`,font:`SansSerif-Bold`},ua={mathClass:`mathitsf`,textClass:`textitsf`,font:`SansSerif-Italic`},da={mathClass:`mathtt`,textClass:`texttt`,font:`Typewriter-Regular`},fa=[ea,ea,ta,ta,na,na,ra,ia,ia,ia,aa,aa,oa,oa,sa,sa,ca,ca,la,la,ua,ua,ia,ia,da,da],pa=[ea,ia,ca,la,da],ma=e=>{var t=e.charCodeAt(0),n=e.charCodeAt(1),r=(t-55296)*1024+(n-56320)+65536;if(119808<=r&&r<120484)return fa[Math.floor((r-119808)/26)];if(120782<=r&&r<=120831)return pa[Math.floor((r-120782)/10)];if(r===120485||r===120486)return fa[0];if(120486<r&&r<120782)return ia;throw new F(`Unsupported character: `+e)},ha=function(e,t,n){if(ki[n][e]){var r=ki[n][e].replace;r&&(e=r)}return{value:e,metrics:Ei(e,t,n)}},ga=function(e,t,n,r,i){var a=ha(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 hi(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 hi(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},_a=function(e,t,n,r){return r===void 0&&(r=[]),n.font===`boldsymbol`&&ha(e,`Main-Bold`,t).metrics?ga(e,`Main-Bold`,t,n,r.concat([`mathbf`])):e===`\\`||ki[t][e].font===`main`?ga(e,`Main-Regular`,t,n,r):ga(e,`AMS-Regular`,t,n,r.concat([`amsrm`]))},va=function(e,t,n){return n!==`textord`&&ha(e,`Math-BoldItalic`,t).metrics?{fontName:`Math-BoldItalic`,fontClass:`boldsymbol`}:{fontName:`Main-Bold`,fontClass:`mathbf`}},ya=function(e,t){var n=e.type===`mathord`?`mathord`:`textord`,r=e.mode,i=e.text,a=[`mord`],{font:o,fontFamily:s,fontWeight:c,fontShape:l}=t,u=r===`math`||r===`text`&&!!o,d=u?o:s,f=``,p=``;if(i.charCodeAt(0)===55349){var m=ma(i);f=m.font,p=m[r+`Class`]}if(f)return ga(i,f,r,t,a.concat(p));if(d){var h,g;
vendor: 15,252 bytes, line 252
252if(d===`boldsymbol`){var _=va(i,r,n);h=_.fontName,g=[_.fontClass]}else u?(h=Ma[o].fontName,g=[o]):(h=ja(s,c,l),g=[s,c,l]);if(ha(i,h,r).metrics)return ga(i,h,r,t,a.concat(g));if(Li.hasOwnProperty(i)&&h.slice(0,10)===`Typewriter`){for(var v=[],y=0;y<i.length;y++)v.push(ga(i[y],h,r,t,a.concat(g)));return Ea(v)}}if(n===`mathord`)return ga(i,`Math-Italic`,r,t,a.concat([`mathnormal`]));if(n===`textord`){var b=ki[r][i]&&ki[r][i].font;if(b===`ams`)return ga(i,ja(`amsrm`,c,l),r,t,a.concat(`amsrm`,c,l));if(b===`main`||!b)return ga(i,ja(`textrm`,c,l),r,t,a.concat(c,l));var x=ja(b,c,l);return ga(i,x,r,t,a.concat(x,c,l))}throw Error(`unexpected type: `+n+` in makeOrd`)},ba=(e,t)=>{if(ai(e.classes)!==ai(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},xa=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof hi&&r instanceof hi&&ba(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},Sa=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},J=function(e,t,n,r){var i=new di(e,t,n,r);return Sa(i),i},Ca=(e,t,n,r)=>new di(e,t,n,r),wa=function(e,t,n){var r=J([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=L(r.height),r.maxFontSize=1,r},Ta=function(e,t,n,r){var i=new fi(e,t,n,r);return Sa(i),i},Ea=function(e){var t=new ei(e);return Sa(t),t},Da=function(e,t){return e instanceof ei?J([],[e],t):e},Oa=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}},ka=function(e,t){for(var{children:n,depth:r}=Oa(e),i=0,a=0;a<n.length;a++){var o=n[a];if(o.type===`elem`){var s=o.elem;i=Math.max(i,s.maxFontSize,s.height)}}i+=2;var c=J([`pstrut`],[]);c.style.height=L(i);for(var l=[],u=r,d=r,f=r,p=0;p<n.length;p++){var m=n[p];if(m.type===`kern`)f+=m.size;else{var h=m.elem,g=m.wrapperClasses||[],_=m.wrapperStyle||{},v=J(g,[c,h],void 0,_);v.style.top=L(-i-f-h.depth),m.marginLeft&&(v.style.marginLeft=m.marginLeft),m.marginRight&&(v.style.marginRight=m.marginRight),l.push(v),f+=h.height+h.depth}u=Math.min(u,f),d=Math.max(d,f)}var y=J([`vlist`],l);y.style.height=L(d);var b;if(u<0){var x=J([`vlist`],[J([],[])]);x.style.height=L(-u),b=[J([`vlist-r`],[y,J([`vlist-s`],[new hi(`â`)])]),J([`vlist-r`],[x])]}else b=[J([`vlist-r`],[y])];var S=J([`vlist-t`],b);return b.length===2&&S.classes.push(`vlist-t2`),S.height=d,S.depth=-u,S},Aa=(e,t)=>{var n=J([`mspace`],[],t),r=ii(e,t);return n.style.marginRight=L(r),n},ja=(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},Ma={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`}},Na={vec:[`vec`,.471,.714],oiintSize1:[`oiintSize1`,.957,.499],oiintSize2:[`oiintSize2`,1.472,.659],oiiintSize1:[`oiiintSize1`,1.304,.499],oiiintSize2:[`oiiintSize2`,1.98,.659]},Pa=function(e,t){var[n,r,i]=Na[e],a=Ca([`overlay`],[new gi([new _i(n)],{width:L(r),height:L(i),style:`width:`+L(r),viewBox:`0 0 `+1e3*r+` `+1e3*i,preserveAspectRatio:`xMinYMin`})],t);return a.height=i,a.style.height=L(i),a.style.width=L(r),a},Fa={number:3,unit:`mu`},Ia={number:4,unit:`mu`},La={number:5,unit:`mu`},Ra={mord:{mop:Fa,mbin:Ia,mrel:La,minner:Fa},mop:{mord:Fa,mop:Fa,mrel:La,minner:Fa},mbin:{mord:Ia,mop:Ia,mopen:Ia,minner:Ia},mrel:{mord:La,mop:La,mopen:La,minner:La},mopen:{},mclose:{mop:Fa,mbin:Ia,mrel:La,minner:Fa},mpunct:{mord:Fa,mop:Fa,mrel:La,mopen:Fa,mclose:Fa,mpunct:Fa,minner:Fa},minner:{mord:Fa,mop:Fa,mbin:Ia,mrel:La,mopen:Fa,mpunct:Fa,minner:Fa}},za={mord:{mop:Fa},mop:{mord:Fa,mop:Fa},mbin:{},mrel:{},mopen:{},mclose:{mop:Fa},mpunct:{},minner:{mop:Fa}},Ba={},Va={},Ha={};function Y(e){for(var{type:t,names:n,htmlBuilder:r,mathmlBuilder:i}=e,a=0;a<n.length;++a)Ba[n[a]]=e;t&&(r&&(Va[t]=r),i&&(Ha[t]=i))}function Ua(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;n&&(Va[t]=n),r&&(Ha[t]=r)}var Wa=function(e){return e.type===`ordgroup`&&e.body.length===1?e.body[0]:e},Ga=function(e){return e.type===`ordgroup`?e.body:[e]},Ka=new Set([`leftmost`,`mbin`,`mopen`,`mrel`,`mop`,`mpunct`]),qa=new Set([`rightmost`,`mrel`,`mclose`,`mpunct`]),Ja={display:I.DISPLAY,text:I.TEXT,script:I.SCRIPT,scriptscript:I.SCRIPTSCRIPT},Ya={mord:`mord`,mop:`mop`,mbin:`mbin`,mrel:`mrel`,mopen:`mopen`,mclose:`mclose`,mpunct:`mpunct`,minner:`minner`},Xa=function(e,t,n,r){r===void 0&&(r=[null,null]);for(var i=[],a=0;a<e.length;a++){var o=no(e[a],t);if(o instanceof ei){var s=o.children;i.push(...s)}else i.push(o)}if(xa(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(Ja[l.style]))}var u=J([r[0]||`leftmost`],[],t),d=J([r[1]||`rightmost`],[],t),f=n===`root`;return Za(i,(e,t)=>{var n=t.classes[0],r=e.classes[0];n===`mbin`&&qa.has(r)?t.classes[0]=`mord`:r===`mbin`&&Ka.has(n)&&(e.classes[0]=`mord`)},{node:u},d,f),Za(i,(e,t)=>{var n=eo(t),r=eo(e),i=n&&r?e.hasClass(`mtight`)?za[n]?.[r]:Ra[n]?.[r]:null;if(i)return Aa(i,c)},{node:u},d,f),i},Za=function(e,t,n,r,i){r&&e.push(r);for(var a=0;a<e.length;a++){var o=e[a],s=Qa(o);if(s){Za(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(`newline`)&&(n.node=J([`leftmost`])),n.insertAfter=(t=>n=>{e.splice(t+1,0,n),a++})(a)}r&&e.pop()},Qa=function(e){return e instanceof ei||e instanceof fi||e instanceof di&&e.hasClass(`enclosing`)?e:null},$a=function(e,t){var n=Qa(e);if(n){var r=n.children;if(r.length){if(t===`right`)return $a(r[r.length-1],`right`);if(t===`left`)return $a(r[0],`left`)}}return e},eo=function(e,t){return e?(t&&(e=$a(e,t)),Ya[e.classes[0]]||null):null},to=function(e,t){var n=[`nulldelimiter`].concat(e.baseSizingClasses());return J(t.concat(n))},no=function(e,t,n){if(!e)return J();if(Va[e.type]){var r=Va[e.type](e,t);if(n&&t.size!==n.size){r=J(t.sizingClasses(n),[r],t);var i=t.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}throw new F(`Got group of unknown type: '`+e.type+`'`)};function ro(e,t){var n=J([`base`],e,t),r=J([`strut`]);return r.style.height=L(n.height+n.depth),n.depth&&(r.style.verticalAlign=L(-n.depth)),n.children.unshift(r),n}function io(e,t){var n=null;e.length===1&&e[0].type===`tag`&&(n=e[0].tag,e=e[0].body);var r=Xa(e,t,`root`),i;r.length===2&&r[1].hasClass(`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(`newline`);)s++,o.push(r[s]),r[s].hasClass(`nobreak`)&&(c=!0);c||(a.push(ro(o,t)),o=[])}else r[s].hasClass(`newline`)&&(o.pop(),o.length>0&&(a.push(ro(o,t)),o=[]),a.push(r[s]));o.length>0&&a.push(ro(o,t));var l;n?(l=ro(Xa(n,t,!0),t),l.classes=[`tag`],a.push(l)):i&&a.push(i);var u=J([`katex-html`],a);if(u.setAttribute(`aria-hidden`,`true`),l){var d=l.children[0];d.style.height=L(u.height+u.depth),u.depth&&(d.style.verticalAlign=L(-u.depth))}return u}function ao(e){return new ei(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 in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=ai(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof oo&&this.children[n+1]instanceof oo){for(var r=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof oo;)r+=this.children[++n].toText();e.appendChild(new oo(r).toNode())}else e.appendChild(this.children[n].toNode());return e}toMarkup(){var e=`<`+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=` `+t+`="`,e+=ur(this.attributes[t]),e+=`"`);this.classes.length>0&&(e+=` class ="`+ur(ai(this.classes))+`"`),e+=`>`;for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+=`</`+this.type+`>`,e}toText(){return this.children.map(e=>e.toText()).join(``)}},oo=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return ur(this.toText())}toText(){return this.text}},so=class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?`â`:e>=.1666&&e<=.1667?`â`:e>=.2222&&e<=.2223?`â
`:e>=.2777&&e<=.2778?`â
â`:e>=-.05556&&e<=-.05555?`ââ£`:e>=-.1667&&e<=-.1666?`ââ£`:e>=-.2223&&e<=-.2222?`ââ£`:e>=-.2778&&e<=-.2777?`â
â£`: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`,L(this.width)),e}toMarkup(){return this.character?`<mtext>`+this.character+`</mtext>`:`<mspace width="`+L(this.width)+`"/>`}toText(){return this.character?this.character:` `}},co=new Set([`\\imath`,`\\jmath`]),lo=new Set([`mrow`,`mtable`]),uo=function(e,t,n){return ki[t][e]&&ki[t][e].replace&&e.charCodeAt(0)!==55349&&!(Li.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)===`tt`||n.font&&n.font.slice(4,6)===`tt`))&&(e=ki[t][e].replace),new oo(e)},fo=function(e){return e.length===1?e[0]:new X(`mrow`,e)},po={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`},mo=(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=po[n];if(i)return typeof i==`function`?i(e):i;var a=e.text;if(co.has(a))return null;if(ki[r][a]){var o=ki[r][a].replace;o&&(a=o)}var s=Ma[n].fontName;return Ei(a,s,r)?Ma[n].variant:null};function ho(e){if(!e)return!1;if(e.type===`mi`&&e.children.length===1){var t=e.children[0];return t instanceof oo&&t.text===`.`}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 oo&&n.text===`,`}return!1}var go=function(e,t,n){if(e.length===1){var r=vo(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=vo(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}if(s.type===`mn`&&a.type===`mn`){a.children.push(...s.children);continue}if(ho(s)&&a.type===`mn`){a.children.push(...s.children);continue}if(s.type===`mn`&&ho(a))s.children=[...a.children,...s.children],i.pop();else if((s.type===`msup`||s.type===`msub`)&&s.children.length>=1&&(a.type===`mn`||ho(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 oo&&l.text===`̸`&&(s.type===`mo`||s.type===`mi`||s.type===`mn`)){var u=s.children[0];u instanceof oo&&u.text.length>0&&(u.text=u.text.slice(0,1)+`̸`+u.text.slice(1),i.pop())}}}i.push(s),a=s}return i},_o=function(e,t,n){return fo(go(e,t,n))},vo=function(e,t){if(!e)return new X(`mrow`);if(Ha[e.type])return Ha[e.type](e,t);throw new F(`Got group of unknown type: '`+e.type+`'`)};function yo(e,t,n,r,i){var a=go(e,n),o=a.length===1&&a[0]instanceof X&&lo.has(a[0].type)?a[0]:new X(`mrow`,a),s=new X(`annotation`,[new oo(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`),J([i?`katex`:`katex-mathml`],[c])}var bo=[[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]],xo=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],So=function(e,t){return t.size<2?e:bo[e-1][t.size-1]},Co=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=xo[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,ph
vendor: 4,297 bytes, line 252
252antom: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:So(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:xo[e-1]})}havingBaseStyle(t){t||=this.style.text();var n=So(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?[]:[`sizing`,`reset-size`+e.size,`size`+this.size]}baseSizingClasses(){return this.size===e.BASESIZE?[]:[`sizing`,`reset-size`+this.size,`size`+e.BASESIZE]}fontMetrics(){return this._fontMetrics||=Oi(this.size),this._fontMetrics}getColor(){return this.phantom?`transparent`:this.color}};Co.BASESIZE=6;var wo=function(e){return new Co({style:e.displayMode?I.DISPLAY:I.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},To=function(e,t){if(t.displayMode){var n=[`katex-display`];t.leqno&&n.push(`leqno`),t.fleqn&&n.push(`fleqn`),e=J(n,[e])}return e},Eo=function(e,t,n){var r=wo(n),i;return n.output===`mathml`?yo(e,t,r,n.displayMode,!0):(i=n.output===`html`?J([`katex`],[io(e,r)]):J([`katex`],[yo(e,t,r,n.displayMode,!1),io(e,r)]),To(i,n))},Do=function(e,t,n){return To(J([`katex`],[io(e,wo(n))]),n)},Oo={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":`=`},ko=function(e){var t=new X(`mo`,[new oo(Oo[e.replace(/^\\/,``)])]);return t.setAttribute(`stretchy`,`true`),t},Ao={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`,`r
252ightbraceunder`],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]},jo=new Set([`widehat`,`widecheck`,`widetilde`,`utilde`]),Mo=function(e,t){function n(){var n=4e5,r=e.label.slice(1);if(jo.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:Ca([],[new gi([new _i(o)],{width:`100%`,height:L(s),viewBox:`0 0 `+n+` `+a,preserveAspectRatio:`none`})],t),minWidth:0,height:s}}var l=[],u=Ao[r];if(!u)throw Error(`No SVG data for "`+r+`".`);var[d,f,p]=u,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 253 `+h+` children.`);for(var v=0;v<h;v++){var y=new gi([new _i(d[v])],{width:`400em`,height:L(m),viewBox:`0 0 `+n+` `+p,preserveAspectRatio:_[v]+` slice`}),b=Ca([g[v]],[y],t);if(h===1)return{span:b,minWidth:f,height:m};b.style.height=L(m),l.push(b)}return{span:J([`stretchy`],l,t),minWidth:f,height:m}}
vendor: 20,490 bytes, line 253
253var{span:r,minWidth:i,height:a}=n();return r.height=a,r.style.height=L(a),i>0&&(r.style.minWidth=L(i)),r},No=function(e,t,n,r,i){var a,o=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(a=J([`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 vi({x1:`0`,y1:`0`,x2:`100%`,y2:`100%`,"stroke-width":`0.046em`})),/^x?cancel$/.test(t)&&c.push(new vi({x1:`0`,y1:`100%`,x2:`100%`,y2:`0`,"stroke-width":`0.046em`})),a=Ca([],[new gi(c,{width:`100%`,height:L(o)})],i)}return a.height=o,a.style.height=L(o),a},Po={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Fo={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function Io(e){return e in Po}function Z(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 Lo(e){var t=Ro(e);if(!t)throw Error(`Expected node of symbol group type, but got `+(e?`node of type `+e.type:String(e)));return t}function Ro(e){return e&&(e.type===`atom`||Fo.hasOwnProperty(e.type))?e:null}var zo=e=>{if(e instanceof hi)return e;if(xi(e)&&e.children.length===1)return zo(e.children[0])},Bo=(e,t)=>{var n,r,i;e&&e.type===`supsub`?(r=Z(e.base,`accent`),n=r.base,e.base=n,i=bi(no(e,t)),e.base=r):(r=Z(e,`accent`),n=r.base);var a=no(n,t.havingCrampedStyle()),o=r.isShifty&&pr(n),s=0;o&&(s=zo(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=Mo(r,t),u=ka({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`elem`,elem:u,wrapperClasses:[`svg-align`],wrapperStyle:s>0?{width:`calc(100% - `+L(2*s)+`)`,marginLeft:L(2*s)}:void 0}]});else{var d,f;r.label===`\\vec`?(d=Pa(`vec`,t),f=Na.vec[1]):(d=ya({type:`textord`,mode:r.mode,text:r.label},t),d=yi(d),d.italic=0,f=d.width,c&&(l+=d.depth)),u=J([`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=L(m),r.label===`\\textcircled`&&(u.style.top=`.2em`),u=ka({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:-l},{type:`elem`,elem:u}]})}var h=J([`mord`,`accent`],[u],t);return i?(i.children[0]=h,i.height=Math.max(h.height,i.height),i.classes[0]=`mord`,i):h},Vo=(e,t)=>{var n=e.isStretchy?ko(e.label):new X(`mo`,[uo(e.label,e.mode)]),r=new X(`mover`,[vo(e.base,t),n]);return r.setAttribute(`accent`,`true`),r},Ho=new RegExp([`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`].map(e=>`\\`+e).join(`|`));Y({type:`accent`,names:[`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`,`\\widecheck`,`\\widehat`,`\\widetilde`,`\\overrightarrow`,`\\overleftarrow`,`\\Overrightarrow`,`\\overleftrightarrow`,`\\overgroup`,`\\overlinesegment`,`\\overleftharpoon`,`\\overrightharpoon`],numArgs:1,handler:(e,t)=>{var n=Wa(t[0]),r=!Ho.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:Bo,mathmlBuilder:Vo}),Y({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}}}),Y({type:`accentUnder`,names:[`\\underleftarrow`,`\\underrightarrow`,`\\underleftrightarrow`,`\\undergroup`,`\\underlinesegment`,`\\utilde`],numArgs:1,handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`accentUnder`,mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=no(e.base,t),r=Mo(e,t),i=e.label===`\\utilde`?.12:0;return J([`mord`,`accentunder`],[ka({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=ko(e.label),r=new X(`munder`,[vo(e.base,t),n]);return r.setAttribute(`accentunder`,`true`),r}});var Uo=e=>{var t=new X(`mpadded`,e?[e]:[]);return t.setAttribute(`width`,`+0.6em`),t.setAttribute(`lspace`,`0.3em`),t};Y({type:`xArrow`,names:[`\\xleftarrow`,`\\xrightarrow`,`\\xLeftarrow`,`\\xRightarrow`,`\\xleftrightarrow`,`\\xLeftrightarrow`,`\\xhookleftarrow`,`\\xhookrightarrow`,`\\xmapsto`,`\\xrightharpoondown`,`\\xrightharpoonup`,`\\xleftharpoondown`,`\\xleftharpoonup`,`\\xrightleftharpoons`,`\\xleftrightharpoons`,`\\xlongequal`,`\\xtwoheadrightarrow`,`\\xtwoheadleftarrow`,`\\xtofrom`,`\\xrightleftarrows`,`\\xrightequilibrium`,`\\xleftequilibrium`,`\\\\cdrightarrow`,`\\\\cdleftarrow`,`\\\\cdlongequal`],numArgs:1,numOptionalArgs:1,handler(e,t,n){var{parser:r,funcName:i}=e;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=Da(no(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=Da(no(e.below,r,t),t),o.classes.push(a+`-arrow-pad`));var s=Mo(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=ka({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=ka({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c,wrapperClasses:[`svg-align`]}]});return J([`mrel`,`x-arrow`],[u],t)},mathmlBuilder(e,t){var n=ko(e.label);n.setAttribute(`minsize`,e.label.charAt(0)===`x`?`1.75em`:`3.0em`);var r;if(e.body){var i=Uo(vo(e.body,t));r=e.below?new X(`munderover`,[n,Uo(vo(e.below,t)),i]):new X(`mover`,[n,i])}else e.below?r=new X(`munder`,[n,Uo(vo(e.below,t))]):(r=Uo(),r=new X(`mover`,[n,r]));return r}});function Wo(e,t){var n=Xa(e.body,t,!0);return J([e.mclass],n,t)}function Go(e,t){var n,r=go(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}Y({type:`mclass`,names:[`\\mathord`,`\\mathbin`,`\\mathrel`,`\\mathopen`,`\\mathclose`,`\\mathpunct`,`\\mathinner`],numArgs:1,primitive:!0,handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`mclass`,mode:n.mode,mclass:`m`+r.slice(5),body:Ga(i),isCharacterBox:pr(i)}},htmlBuilder:Wo,mathmlBuilder:Go});var Ko=e=>{var t=e.type===`ordgroup`&&e.body.length?e.body[0]:e;return t.type===`atom`&&(t.family===`bin`||t.family===`rel`)?`m`+t.family:`mord`};Y({type:`mclass`,names:[`\\@binrel`],numArgs:2,handler(e,t){var{parser:n}=e;return{type:`mclass`,mode:n.mode,mclass:Ko(t[0]),body:Ga(t[1]),isCharacterBox:pr(t[1])}}}),Y({type:`mclass`,names:[`\\stackrel`,`\\overset`,`\\underset`],numArgs:2,handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],o=r===`\\stackrel`?`mrel`:Ko(i),s={type:`op`,mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!==`\\stackrel`,body:Ga(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:pr(c)}}}),Y({type:`pmb`,names:[`\\pmb`],numArgs:1,allowedInText:!0,handler(e,t){var{parser:n}=e;return{type:`pmb`,mode:n.mode,mclass:Ko(t[0]),body:Ga(t[0])}},htmlBuilder(e,t){var n=Xa(e.body,t,!0),r=J([e.mclass],n,t);return r.style.textShadow=`0.02em 0.01em 0.04px`,r},mathmlBuilder(e,t){var n=new X(`mstyle`,go(e.body,t));return n.setAttribute(`style`,`text-shadow: 0.02em 0.01em 0.04px`),n}});var qo={">":`\\\\cdrightarrow`,"<":`\\\\cdleftarrow`,"=":`\\\\cdlongequal`,A:`\\uparrow`,V:`\\downarrow`,"|":`\\Vert`,".":`no arrow`},Jo=()=>({type:`styling`,body:[],mode:`math`,style:`display`,resetFont:!0}),Yo=e=>e.type===`textord`&&e.text===`@`,Xo=(e,t)=>(e.type===`mathord`||e.type===`atom`)&&e.text===t;function Zo(e,t,n){var r=qo[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 Qo(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 F(`Expected \\\\ or \\cr or \\end`,e.nextToken)}for(var r=[],i=[r],a=0;a<t.length;a++){for(var o=t[a],s=Jo(),c=0;c<o.length;c++)if(!Yo(o[c]))s.body.push(o[c]);else{r.push(s),c+=1;var l=Lo(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(Xo(o[p],l)){f=!1,c=p;break}if(Yo(o[p]))throw new F(`Missing a `+l+` character to complete a CD arrow.`,o[p]);u[d].body.push(o[p])}if(f)throw new F(`Missing a `+l+` character to complete a CD arrow.`,o[c])}else throw new F(`Expected one of "<>AV=|." after @`,o[c])}var m={type:`styling`,body:[Zo(l,u,e)],mode:`math`,style:`display`,resetFont:!0};r.push(m),s=Jo()}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([])}}Y({type:`cdlabel`,names:[`\\\\cdleft`,`\\\\cdright`],numArgs:1,handler(e,t){var{parser:n,funcName:r}=e;return{type:`cdlabel`,mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=Da(no(e.label,n,t),t);return r.classes.push(`cd-label-`+e.side),r.style.bottom=L(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new X(`mrow`,[vo(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}}),Y({type:`cdlabelparent`,names:[`\\\\cdparent`],numArgs:1,handler(e,t){var{parser:n}=e;return{type:`cdlabelparent`,mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=Da(no(e.fragment,t),t);return n.classes.push(`cd-vert-arrow`),n},mathmlBuilder(e,t){return new X(`mrow`,[vo(e.fragment,t)])}}),Y({type:`textord`,names:[`\\@char`],numArgs:1,allowedInText:!0,handler(e,t){for(var{parser:n}=e,r=Z(t[0],`ordgroup`).body,i=``,a=0;a<r.length;a++){var o=Z(r[a],`textord`);i+=o.text}var s=parseInt(i),c;if(isNaN(s))throw new F(`\\@char has non-numeric argument `+i);if(s<0||s>=1114111)throw new F(`\\@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}}}),Y({type:`color`,names:[`\\textcolor`],numArgs:2,allowedInText:!0,argTypes:[`color`,`original`],handler(e,t){var{parser:n}=e,r=Z(t[0],`color-token`).color,i=t[1];return{type:`color`,mode:n.mode,color:r,body:Ga(i)}},htmlBuilder:(e,t)=>Ea(Xa(e.body,t.withColor(e.color),!1)),mathmlBuilder:(e,t)=>{var n=new X(`mstyle`,go(e.body,t.withColor(e.color)));return n.setAttribute(`mathcolor`,e.color),n}}),Y({type:`color`,names:[`\\color`],numArgs:1,allowedInText:!0,argTypes:[`color`],handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=Z(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}}}),Y({type:`cr`,names:[`\\\\`],numArgs:0,numOptionalArgs:0,allowedInText:!0,handler(e,t,n){var{parser:r}=e,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&&Z(i,`size`).value}},htmlBuilder(e,t){var n=J([`mspace`],[],t);return e.newLine&&(n.classes.push(`newline`),e.size&&(n.style.marginTop=L(ii(e.size,t)))),n},mathmlBuilder(e,t){var n=new X(`mspace`);return e.newLine&&(n.setAttribute(`linebreak`,`newline`),e.size&&n.setAttribute(`height`,L(ii(e.size,t)))),n}});var $o={"\\global":`\\global`,"\\long":`\\\\globallong`,"\\\\globallong":`\\\\globallong`,"\\def":`\\gdef`,"\\gdef":`\\gdef`,"\\edef":`\\xdef`,"\\xdef":`\\xdef`,"\\let":`\\\\globallet`,"\\futurelet":`\\\\globalfuture`},es=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new F(`Expected a control sequence`,e);return t},ts=e=>{var t=e.gullet.popToken();return t.text===`=`&&(t=e.gullet.popToken(),t.text===` `&&(t=e.gullet.popToken())),t},ns=(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)};Y({type:`internal`,names:[`\\global`,`\\long`,`\\\\globallong`],numArgs:0,allowedInText:!0,handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if($o[r.text])return(n===`\\global`||n===`\\\\globallong`)&&(r.text=$o[r.text]),Z(t.parseFunction(),`internal`);throw new F(`Invalid token after macro prefix`,r)}}),Y({type:`internal`,names:[`\\def`,`\\gdef`,`\\edef`,`\\xdef`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new F(`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 F(`Invalid argument number "`+r.text+`"`);if(parseInt(r.text)!==a+1)throw new F(`Argument number "`+r.text+`" out of order`);a++,s.push([])}else if(r.text===`EOF`)throw new F(`Expected a macro definition`);else s[a].push(r.text);var{tokens:c}=t.gullet.consumeArg();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===$o[n]),{type:`internal`,mode:t.mode}}}),Y({type:`internal`,names:[`\\let`,`\\\\globallet`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var{parser:t,funcName:n}=e,r=es(t.gullet.popToken());return t.gullet.consumeSpaces(),ns(t,r,ts(t),n===`\\\\globallet`),{type:`internal`,mode:t.mode}}}),Y({type:`internal`,names:[`\\futurelet`,`\\\\globalfuture`],numArgs:0,allowedInText:!0,primitive:!0,handler(e){var{parser:t,funcName:n}=e,r=es(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return ns(t,r,a,n===`\\\\globalfuture`),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:`internal`,mode:t.mode}}});var rs=function(e,t,n){var r=Ei(ki.math[e]&&ki.math[e].replace||e,t,n);if(!r)throw Error(`Unsupported symbol `+e+` and font size `+t+`.`);return r},is=function(e,t,n,r){var i=n.havingBaseStyle(t),a=J(r.concat(i.sizingClasses(n)),[e],n),o=i.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},as=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=L(i),e.height-=i,e.depth+=i},os=function(e,t,n,r,i,a){var o=is(ga(e,`Main-Regular`,i,r),t,r,a);return n&&as(o,r,t),o},ss=function(e,t,n,r){return ga(e,`Size`+t+`-Regular`,n,r)},cs=function(e,t,n,r,i,a){var o=ss(e,t,i,r),s=is(J([`delimsizing`,`size`+t],[o],r),I.TEXT,r,a);return n&&as(s,r,I.TEXT),s},ls=function(e,t,n){return{type:`elem`,elem:J([`delimsizinginner`,t===`Size1-Regular`?`delim-size1`:`delim-size4`],[J([],[ga(e,t,n)])])}},us=function(e,t,n){var r=Si[`Size4-Regular`][e.charCodeAt(0)]?Si[`Size4-Regular`][e.charCodeAt(0)][4]:Si[`Size1-Regular`][e.charCodeAt(0)][4],i=Ca([],[new gi([new _i(`inner`,Xr(e,Math.round(1e3*t)))],{width:L(r),height:L(t),style:`width:`+L(r),viewBox:`0 0 `+1e3*r+` `+Math.round(1e3*t),preserveAspectRatio:`xMinYMin`})],n);return i.height=t,i.style.height=L(t),i.style.width=L(r),{type:`elem`,elem:i}},ds=.008,fs={type:`kern`,size:-1*ds},ps=new Set([`|`,`\\lvert`,`\\rvert`,`\\vert`]),ms=new Set([`\\|`,`\\lVert`,`\\rVert`,`\\Vert`]),hs=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`):ps.has(e)?(c=`â£`,u=`vert`,d=333):ms.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=rs(o,f,i),m=p.height+p.depth,h=rs(c,f,i),g=h.height+h.depth,_=rs(l,f,i),v=_.height+_.depth,y=0,b=1;if(s!==null){var x=rs(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,w=r.fontMetrics().axisHeight;n&&(w*=r.sizeMultiplier);var T=C/2-w,E=[];if(u.length>0){var D=C-m-v,ee=Math.round(C*1e3),O=Qr(u,Math.round(D*1e3)),k=new _i(u,O),te=L(d/1e3),ne=L(ee/1e3),A=Ca([],[new gi([k],{width:te,height:ne,viewBox:`0 0 `+d+` `+ee})],r);A.height=ee/1e3,A.style.width=te,A.style.height=ne,E.push({type:`elem`,elem:A})}else{if(E.push(ls(l,f,i)),E.push(fs),s===null){var re=C-m-v+2*ds;E.push(us(c,re,r))}else{var ie=(C-m-v-y)/2+2*ds;E.push(us(c,ie,r)),E.push(fs),E.push(ls(s,f,i)),E.push(fs),E.push(us(c,ie,r))}E.push(fs),E.push(ls(o,f,i))}var ae=r.havingBaseStyle(I.TEXT);return is(J([`delimsizing`,`mult`],[ka({positionType:`bottom`,positionData:T,children:E})],ae),I.TEXT,r,a)},gs=80,_s=.08,vs=function(e,t,n,r,i){return Ca([`hide-tail`],[new gi([new _i(e,Yr(e,r,n))],{width:`400em`,height:L(t),viewBox:`0 0 400000 `+n,preserveAspectRatio:`xMinYMin slice`})],i)},ys=function(e,t){var n=t.havingBaseSizing(),r=ks(`\\surd`,e*n.sizeMultiplier,Ds,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+gs,e<1?i=1:e<1.4&&(i=.7),s=(1+a+_s)/i,c=(1+a)/i,o=vs(`sqrtMain`,s,l,a,t),o.style.minWidth=`0.853em`,u=.833/i):r.type===`large`?(l=(1e3+gs)*Cs[r.size],c=(Cs[r.size]+a)/i,s=(Cs[r.size]+a+_s)/i,o=vs(`sqrtSize`+r.size,s,l,a,t),o.style.minWidth=`1.02em`,u=1/i):(s=e+a+_s,c=e+a,l=Math.floor(1e3*e+a)+gs,o=vs(`sqrtTall`,s,l,a,t),o.style.minWidth=`0.742em`,u=1.056),o.height=c,o.style.height=L(s),{span:o,advanceWidth:u,ruleWidth:(t.fontMetrics().sqrtRuleThickness+a)*i}},bs=new Set([`(`,`\\lparen`,`)`,`\\rparen`,`[`,`\\lbrack`,`]`,`\\rbrack`,`\\{`,`\\lbrace`,`\\}
253`,`\\rbrace`,`\\lfloor`,`\\rfloor`,`â`,`â`,`\\lceil`,`\\rceil`,`â`,`â`,`\\surd`]),xs=new Set([`\\uparrow`,`\\downarrow`,`\\updownarrow`,`\\Uparrow`,`\\Downarrow`,`\\Updownarrow`,`|`,`\\|`,`\\vert`,`\\Vert`,`\\lvert`,`\\rvert`,`\\lVert`,`\\rVert`,`\\lgroup`,`\\rgroup`,`â®`,`â¯`,`\\lmoustache`,`\\rmoustache`,`â°`,`â±`]),Ss=new Set([`<`,`>`,`\\langle`,`\\rangle`,`/`,`\\backslash`,`\\lt`,`\\gt`]),Cs=[0,1.2,1.8,2.4,3],ws=function(e,t,n,r,i){if(e===`<`||e===`\\lt`||e===`â¨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`â©`)&&(e=`\\rangle`),bs.has(e)||Ss.has(e))return cs(e,t,!1,n,r,i);if(xs.has(e))return hs(e,Cs[t],!1,n,r,i);throw new F(`Illegal delimiter: '`+e+`'`)},Ts=[{type:`small`,style:I.SCRIPTSCRIPT},{type:`small`,style:I.SCRIPT},{type:`small`,style:I.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4}],Es=[{type:`small`,style:I.SCRIPTSCRIPT},{type:`small`,style:I.SCRIPT},{type:`small`,style:I.TEXT},{type:`stack`}],Ds=[{type:`small`,style:I.SCRIPTSCRIPT},{type:`small`,style:I.SCRIPT},{type:`small`,style:I.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4},{type:`stack`}],Os=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.`)},ks=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=rs(e,Os(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]},As=function(e,t,n,r,i,a){e===`<`||e===`\\lt`||e===`â¨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`â©`)&&(e=`\\rangle`);var o=Ss.has(e)?Ts:bs.has(e)?Ds:Es,s=ks(e,t,o,r);return s.type===`small`?os(e,s.style,n,r,i,a):s.type===`large`?cs(e,s.size,n,r,i,a):hs(e,t,n,r,i,a)},js=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 As(e,Math.max(l/500*s,2*l-c),!0,r,i,a)},Ms={"\\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}},Ns=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 Ps(e){return`isMiddle`in e}function Fs(e,t){var n=Ro(e);if(n&&Ns.has(n.text))return n;throw n?new F(`Invalid delimiter '`+n.text+`' after '`+t.funcName+`'`,e):new F(`Invalid delimiter type '`+e.type+`'`,e)}Y({type:`delimsizing`,names:[`\\bigl`,`\\Bigl`,`\\biggl`,`\\Biggl`,`\\bigr`,`\\Bigr`,`\\biggr`,`\\Biggr`,`\\bigm`,`\\Bigm`,`\\biggm`,`\\Biggm`,`\\big`,`\\Big`,`\\bigg`,`\\Bigg`],numArgs:1,argTypes:[`primitive`],handler:(e,t)=>{var n=Fs(t[0],e);return{type:`delimsizing`,mode:e.parser.mode,size:Ms[e.funcName].size,mclass:Ms[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim===`.`?J([e.mclass]):ws(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!==`.`&&t.push(uo(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=L(Cs[e.size]);return n.setAttribute(`minsize`,r),n.setAttribute(`maxsize`,r),n}});function Is(e){if(!e.body)throw Error(`Bug: The leftright ParseNode wasn't fully parsed.`)}Y({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 F(`\\current@color set to non-string in \\right`);return{type:`leftright-right`,mode:e.parser.mode,delim:Fs(t[0],e).text,color:n}}}),Y({type:`leftright`,names:[`\\left`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=Fs(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect(`\\right`,!1);var a=Z(r.parseFunction(),`leftright-right`);return{type:`leftright`,mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Is(e);for(var n=Xa(e.body,t,!0,[`mopen`,`mclose`]),r=0,i=0,a=!1,o=0;o<n.length;o++){var s=n[o];Ps(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===`.`?to(t,[`mopen`]):js(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(Ps(u)){var d=u.isMiddle;n[l]=js(d.delim,r,i,d.options,e.mode,[])}}var f;if(e.right===`.`)f=to(t,[`mclose`]);else{var p=e.rightColor?t.withColor(e.rightColor):t;f=js(e.right,r,i,p,e.mode,[`mclose`])}return n.push(f),J([`minner`],n,t)},mathmlBuilder:(e,t)=>{Is(e);var n=go(e.body,t);if(e.left!==`.`){var r=new X(`mo`,[uo(e.left,e.mode)]);r.setAttribute(`fence`,`true`),n.unshift(r)}if(e.right!==`.`){var i=new X(`mo`,[uo(e.right,e.mode)]);i.setAttribute(`fence`,`true`),e.rightColor&&i.setAttribute(`mathcolor`,e.rightColor),n.push(i)}return fo(n)}}),Y({type:`middle`,names:[`\\middle`],numArgs:1,primitive:!0,handler:(e,t)=>{var n=Fs(t[0],e);if(!e.parser.leftrightDepth)throw new F(`\\middle without preceding \\left`,n);return{type:`middle`,mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;return e.delim===`.`?n=to(t,[]):(n=ws(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===`|`?uo(`|`,`text`):uo(e.delim,e.mode)]);return n.setAttribute(`fence`,`true`),n.setAttribute(`lspace`,`0.05em`),n.setAttribute(`rspace`,`0.05em`),n}}),Y({type:`enclose`,names:[`\\colorbox`],numArgs:2,allowedInText:!0,argTypes:[`color`,`hbox`],handler(e,t,n){var{parser:r,funcName:i}=e,a=Z(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=Da(no(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o,s=pr(e.body);if(r===`sout`)a=J([`stretchy`,`sout`]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r===`phase`){var c=ii({number:.6,unit:`pt`},t),l=ii({number:.35,unit:`ex`},t),u=t.havingBaseSizing();i/=u.sizeMultiplier;var d=n.height+n.depth+c+l;n.style.paddingLeft=L(d/2+c);var f=Math.floor(1e3*d*i);a=Ca([`hide-tail`],[new gi([new _i(`phase`,qr(f))],{width:`400em`,height:L(f/1e3),viewBox:`0 0 400000 `+f,preserveAspectRatio:`xMinYMin slice`})],t),a.style.height=L(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=No(n,r,p,m,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle=`solid`,a.style.borderWidth=L(h)):r===`angl`&&h!==.049&&(a.style.borderTopWidth=L(h),a.style.borderRightWidth=L(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=ka({positionType:`individualShift`,children:[{type:`elem`,elem:a,shift:o},{type:`elem`,elem:n,shift:0}]});
vendor: 31,786 bytes, line 253
253else{var _=/cancel|phase/.test(r)?[`svg-align`]:[];g=ka({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?J([`mord`,`cancel-lap`],[g],t):J([`mord`],[g],t)},mathmlBuilder:(e,t)=>{var n,r=new X(e.label.includes(`colorbox`)?`mpadded`:`menclose`,[vo(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: `+L(i)+` solid `+e.borderColor)}break;case`\\xcancel`:r.setAttribute(`notation`,`updiagonalstrike downdiagonalstrike`)}return e.backgroundColor&&r.setAttribute(`mathbackground`,e.backgroundColor),r}}),Y({type:`enclose`,names:[`\\fcolorbox`],numArgs:3,allowedInText:!0,argTypes:[`color`,`color`,`hbox`],handler(e,t,n){var{parser:r,funcName:i}=e,a=Z(t[0],`color-token`).color,o=Z(t[1],`color-token`).color,s=t[2];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}}}),Y({type:`enclose`,names:[`\\fbox`],numArgs:1,argTypes:[`hbox`],allowedInText:!0,handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\fbox`,body:t[0]}}}),Y({type:`enclose`,names:[`\\cancel`,`\\bcancel`,`\\xcancel`,`\\phase`],numArgs:1,handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}}}),Y({type:`enclose`,names:[`\\sout`],numArgs:1,allowedInText:!0,handler(e,t){var{parser:n,funcName:r}=e;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}}}),Y({type:`enclose`,names:[`\\angl`],numArgs:1,argTypes:[`hbox`],allowedInText:!1,handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\angl`,body:t[0]}}});var Ls={};function Rs(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},c=0;c<n.length;++c)Ls[n[c]]=s;a&&(Va[t]=a),o&&(Ha[t]=o)}var zs={};function Q(e,t){zs[e]=t}var Bs=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}},Vs=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,Bs.range(this,t))}};function Hs(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 Us=e=>{if(!e.parser.settings.displayMode)throw new F(`{`+e.envName+`} can be used only in display mode.`)},Ws=new Set([`gather`,`gather*`]);function Gs(e){if(!e.includes(`ed`))return!e.includes(`*`)}function Ks(e,t,n){var{hskipBeforeAndAfter:r,addJot:i,cols:a,arraystretch:o,colSeparationType:s,autoTag:c,singleRow:l,emptySingleRow:u,maxNumCols:d,leqno:f}=t;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 F(`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 Vs(`\\df@tag`)])),e.gullet.macros.set(`\\df@tag`,void 0,!0)):v.push(!!c&&e.gullet.macros.get(`\\@eqnsw`)===`1`))}for(y(),_.push(Hs(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 F(`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 w=void 0;e.gullet.future().text!==` `&&(w=e.parseSizeGroup(!0)),g.push(w?w.value:null),b(),_.push(Hs(e)),m=[],h.push(m),y()}else throw new F(`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 qs(e){return e.slice(0,1)===`d`?`display`:`text`}var Js=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(I.SCRIPT).sizeMultiplier/t.sizeMultiplier));var f=e.colSeparationType===`CD`?ii({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=no(y[r],t);x<C.depth&&(x=C.depth),b<C.height&&(b=C.height),S.cells[r]=C}var w=e.rowGaps[n],T=0;w&&(T=ii(w,t),T>0&&(T+=g,x<T&&(x=T),T=0)),e.addJot&&n<e.body.length-1&&(x+=p),S.height=b,S.depth=x,_+=b,S.pos=_,_+=x+T,s[n]=S,v(a[n+1])}var E=_/2+t.fontMetrics().axisHeight,D=e.cols||[],ee=[],O,k,te=[];if(e.tags&&e.tags.some(e=>e))for(n=0;n<i;++n){var ne=s[n],A=ne.pos-E,re=e.tags[n],ie=void 0;ie=re===!0?J([`eqn-num`],[],t):re===!1?J([],[],t):J([],Xa(re,t,!0),t),ie.depth=ne.depth,ie.height=ne.height,te.push({type:`elem`,elem:ie,shift:A})}for(r=0,k=0;r<o||k<D.length;++r,++k){for(var ae=D[k],oe=!0;(j=ae)?.type===`separator`;){var j;if(oe||(O=J([`arraycolsep`],[]),O.style.width=L(t.fontMetrics().doubleRuleSep),ee.push(O)),ae.separator===`|`||ae.separator===`:`){var M=ae.separator===`|`?`solid`:`dashed`,se=J([`vertical-separator`],[],t);se.style.height=L(_),se.style.borderRightWidth=L(l),se.style.borderRightStyle=M,se.style.margin=`0 `+L(-l/2);var ce=_-E;ce&&(se.style.verticalAlign=L(-ce)),ee.push(se)}else throw new F(`Invalid separator type: `+ae.separator);k++,ae=D[k],oe=!1}if(!(r>=o)){var le=void 0;(r>0||e.hskipBeforeAndAfter)&&(le=ae?.pregap??d,le!==0&&(O=J([`arraycolsep`],[]),O.style.width=L(le),ee.push(O)));var N=[];for(n=0;n<i;++n){var ue=s[n],de=ue.cells[r];if(de){var fe=ue.pos-E;de.depth=ue.depth,de.height=ue.height,N.push({type:`elem`,elem:de,shift:fe})}}var pe=ka({positionType:`individualShift`,children:N}),me=J([`col-align-`+(ae?.align||`c`)],[pe]);ee.push(me),(r<o-1||e.hskipBeforeAndAfter)&&(le=ae?.postgap??d,le!==0&&(O=J([`arraycolsep`],[]),O.style.width=L(le),ee.push(O)))}}var he=J([`mtable`],ee);if(c.length>0){for(var ge=wa(`hline`,t,l),_e=wa(`hdashline`,t,l),ve=[{type:`elem`,elem:he,shift:0}];c.length>0;){var ye=c.pop(),be=ye.pos-E;ye.isDashed?ve.push({type:`elem`,elem:_e,shift:be}):ve.push({type:`elem`,elem:ge,shift:be})}he=ka({positionType:`individualShift`,children:ve})}if(te.length===0)return J([`mord`],[he],t);var xe=J([`tag`],[ka({positionType:`individualShift`,children:te})],t);return Ea([he,xe])},Ys={c:`center `,l:`left `,r:`right `},Xs=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`,[vo(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`,L(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+=Ys[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=``,w=e.hLinesBeforeRow;d+=w[0].length>0?`left `:``,d+=w[w.length-1].length>0?`right `:``;for(var T=1;T<w.length-1;T++)C+=w[T].length===0?`none `:w[T][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},Zs=function(e,t){e.envName.includes(`ed`)||Us(e);var n=[],r=e.envName===`split`,i=Ks(e.parser,{cols:n,addJot:!0,autoTag:r?void 0:Gs(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=Z(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)Z(Z(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 F(`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};Rs({type:`array`,names:[`array`,`darray`],props:{numArgs:1},handler(e,t){var n=(Ro(t[0])?[t[0]]:Z(t[0],`ordgroup`).body).map(function(e){var t=Lo(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 F(`Unknown column alignment: `+t,e)}),r={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return Ks(e.parser,r,qs(e.envName))},htmlBuilder:Js,mathmlBuilder:Xs}),Rs({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 F(`Expected l or c or r`,i.nextToken);i.consume(),i.consumeSpaces(),i.expect(`]`),i.consume(),r.cols=[{type:`align`,align:n}]}}var a=Ks(e.parser,r,qs(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:Js,mathmlBuilder:Xs}),Rs({type:`array`,names:[`smallmatrix`],props:{numArgs:0},handler(e){var t=Ks(e.parser,{arraystretch:.5},`script`);return t.colSeparationType=`small`,t},htmlBuilder:Js,mathmlBuilder:Xs}),Rs({type:`array`,names:[`subarray`],props:{numArgs:1},handler(e,t){var n=(Ro(t[0])?[t[0]]:Z(t[0],`ordgroup`).body).map(function(e){var t=Lo(e).text;if(`lc`.includes(t))return{type:`align`,align:t};throw new F(`Unknown column alignment: `+t,e)});if(n.length>1)throw new F(`{subarray} can contain only one column`);var r={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5},i=Ks(e.parser,r,`script`);if(i.body.length>0&&i.body[0].length>1)throw new F(`{subarray} can contain only one column`);return i},htmlBuilder:Js,mathmlBuilder:Xs}),Rs({type:`array`,names:[`cases`,`dcases`,`rcases`,`drcases`],props:{numArgs:0},handler(e){var t=Ks(e.parser,{arraystretch:1.2,cols:[{type:`align`,align:`l`,pregap:0,postgap:1},{type:`align`,align:`l`,pregap:0,postgap:0}]},qs(e.envName));return{type:`leftright`,mode:e.mode,body:[t],left:e.envName.includes(`r`)?`.`:`\\{`,right:e.envName.includes(`r`)?`\\}`:`.`,rightColor:void 0}},htmlBuilder:Js,mathmlBuilder:Xs}),Rs({type:`array`,names:[`align`,`align*`,`aligned`,`split`],props:{numArgs:0},handler:Zs,htmlBuilder:Js,mathmlBuilder:Xs}),Rs({type:`array`,names:[`gathered`,`gather`,`gather*`],props:{numArgs:0},handler(e){Ws.has(e.envName)&&Us(e);var t={cols:[{type:`align`,align:`c`}],addJot:!0,colSeparationType:`gather`,autoTag:Gs(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Ks(e.parser,t,`display`)},htmlBuilder:Js,mathmlBuilder:Xs}),Rs({type:`array`,names:[`alignat`,`alignat*`,`alignedat`],props:{numArgs:1},handler:Zs,htmlBuilder:Js,mathmlBuilder:Xs}),Rs({type:`array`,names:[`equation`,`equation*`],props:{numArgs:0},handler(e){Us(e);var t={autoTag:Gs(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Ks(e.parser,t,`display`)},htmlBuilder:Js,mathmlBuilder:Xs}),Rs({type:`array`,names:[`CD`],props:{numArgs:0},handler(e){return Us(e),Qo(e.parser)},htmlBuilder:Js,mathmlBuilder:Xs}),Q(`\\nonumber`,`\\gdef\\@eqnsw{0}`),Q(`\\notag`,`\\nonumber`),Y({type:`text`,names:[`\\hline`,`\\hdashline`],numArgs:0,allowedInText:!0,allowedInMath:!0,handler(e,t){throw new F(e.funcName+` valid only within array environment`)}});var Qs=Ls;Y({type:`environment`,names:[`\\begin`,`\\end`],numArgs:1,argTypes:[`text`],handler(e,t){var{parser:n,funcName:r}=e,i=t[0];if(i.type!==`ordgroup`)throw new F(`Invalid environment name`,i);for(var a=``,o=0;o<i.body.length;++o)a+=Z(i.body[o],`textord`).text;if(r===`\\begin`){if(!Qs.hasOwnProperty(a))throw new F(`No such environment: `+a,i);var s=Qs[a],{args:c,optArgs:l}=n.parseArguments(`\\begin{`+a+`}`,s),u={mode:n.mode,envName:a,parser:n},d=s.handler(u,c,l);n.expect(`\\end`,!1);var f=n.nextToken,p=Z(n.parseFunction(),`environment`);if(p.name!==a)throw new F(`Mismatch: \\begin{`+a+`} matched by \\end{`+p.name+`}`,f);return d}return{type:`environment`,mode:n.mode,name:a,nameGroup:i}}});var $s=(e,t)=>{var n=e.font,r=t.withFont(n);return no(e.body,r)},ec=(e,t)=>{var n=e.font,r=t.withFont(n);return vo(e.body,r)},tc={"\\Bbb":`\\mathbb`,"\\bold":`\\mathbf`,"\\frak":`\\mathfrak`};Y({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{parser:n,funcName:r}=e,i=Wa(t[0]),a=r in tc?tc[r]:r;return{type:`font`,mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:$s,mathmlBuilder:ec}),Y({type:`mclass`,names:[`\\boldsymbol`,`\\bm`],numArgs:1,handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`mclass`,mode:n.mode,mclass:Ko(r),body:[{type:`font`,mode:n.mode,font:`boldsymbol`,body:r}],isCharacterBox:pr(r)}}}),Y({type:`font`,names:[`\\rm`,`\\sf`,`\\tt`,`\\bf`,`\\it`,`\\cal`],numArgs:0,allowedInText:!0,handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,o=n.parseExpression(!0,i);return{type:`font`,mode:a,font:`math`+r.slice(1),body:{type:`ordgroup`,mode:n.mode,body:o}}}});var nc=(e,t)=>{var n=t.style,r=n.fracNum(),i=n.fracDen(),a=t.havingStyle(r),o=no(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=no(e.denom,a,t),u,d,f;e.hasBarLine?(e.barSize?(d=ii(e.barSize,t),u=wa(`frac-line`,t,d)):u=wa(`frac-line`,t),d=u.height,f=u.height):(u=null,d=0,f=t.fontMetrics().defaultRuleThickness);var p,m,h;n.size===I.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=ka({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=ka({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===I.DISPLAY.size?t.fontMetrics().delim1:n.size===I.SCRIPTSCRIPT.size?t.havingStyle(I.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,x=e.leftDelim==null?to(t,[`mopen`]):As(e.leftDelim,b,!0,t.havingStyle(n),e.mode,[`mopen`]),S=e.continued?J([]):e.rightDelim==null?to(t,[`mclose`]):As(e.rightDelim,b,!0,t.havingStyle(n),e.mode,[`mclose`]);return J([`mord`].concat(a.sizingClasses(t)),[x,J([`mfrac`],[g]),S],t)},rc=(e,t)=>{var n=new X(`mfrac`,[vo(e.numer,t),vo(e.denom,t)]);if(!e.hasBarLine)n.setAttribute(`linethickness`,`0px`);else if(e.barSize){var r=ii(e.barSize,t);n.setAttribute(`linethickness`,L(r))}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var a=new X(`mo`,[new oo(e.leftDelim.replace(`\\`,``))]);a.setAttribute(`fence`,`true`),i.push(a)}if(i.push(n),e.rightDelim!=null){var o=new X(`mo`,[new oo(e.rightDelim.replace(`\\`,``))]);o.setAttribute(`fence`,`true`),i.push(o)}return fo(i)}return n},ic=(e,t)=>t?{type:`styling`,mode:e.mode,style:t,body:[e]}:e;Y({type:`genfrac`,names:[`\\cfrac`,`\\dfrac`,`\\frac`,`\\tfrac`,`\\dbinom`,`\\binom`,`\\tbinom`,`\\\\atopfrac`,`\\\\bracefrac`,`\\\\brackfrac`],numArgs:2,allowedInArgument:!0,handler:(e,t)=>{var{parser:n,funcName:r}=e,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`),ic({type:`genfrac`,mode:n.mode,numer:i,denom:a,continued:l,hasBarLine:o,leftDelim:s,rightDelim:c,barSize:null},u)},htmlBuilder:nc,mathmlBuilder:rc}),Y({type:`infix`,names:[`\\over`,`\\choose`,`\\atop`,`\\brace`,`\\brack`],numArgs:0,infix:!0,handler(e){var{parser:t,funcName:n,token:r}=e,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 ac=[`display`,`text`,`script`,`scriptscript`],oc=function(e){var t=null;return e.length>0&&(t=e,t=t===`.`?null:t),t};Y({type:`genfrac`,names:[`\\genfrac`],numArgs:6,allowedInArgument:!0,argTypes:[`math`,`math`,`size`,`text`,`math`,`math`],handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=Wa(t[0]),o=a.type===`atom`&&a.family===`open`?oc(a.text):null,s=Wa(t[1]),c=s.type===`atom`&&s.family===`close`?oc(s.text):null,l=Z(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=Z(p.body[0],`textord`);f=ac[Number(m.text)]}}else p=Z(p,`textord`),f=ac[Number(p.text)];return ic({type:`genfrac`,mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:c},f)}}),Y({type:`infix`,names:[`\\above`],numArgs:1,argTypes:[`size`],infix:!0,handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:`infix`,mode:n.mode,replaceWith:`\\\\abovefrac`,size:Z(t[0],`size`).value,token:i}}}),Y({type:`genfrac`,names:[`\\\\abovefrac`],numArgs:3,argTypes:[`math`,`size`,`math`],handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=Z(t[1],`infix`).size;if(!a)throw Error(`\\\\abovefrac expected size, but got `+String(a));var o=t[2],s=a.number>0;return{type:`genfrac`,mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null}}});var sc=(e,t)=>{var n=t.style,r,i;e.type===`supsub`?(r=e.sup?no(e.sup,t.havingStyle(n.sup()),t):no(e.sub,t.havingStyle(n.sub()),t),i=Z(e.base,`horizBrace`)):i=Z(e,`horizBrace`);var a=no(i.base,t.havingBaseStyle(I.DISPLAY)),o=Mo(i,t),s=i.isOver?ka({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:.1},{type:`elem`,elem:o,wrapperClasses:[`svg-align`]}]}):ka({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=J([`minner`,i.isOver?`mover`:`munder`],[s],t);s=i.isOver?ka({positionType:`firstBaseline`,children:[{type:`elem`,elem:c},{type:`kern`,size:.2},{type:`elem`,elem:r}]}):ka({positionType:`bottom`,positionData:c.depth+.2+r.height+r.depth,children:[{type:`elem`,elem:r},{type:`kern`,size:.2},{type:`elem`,elem:c}]})}return J([`minner`,i.isOver?`mover`:`munder`],[s],t)};Y({type:`horizBrace`,names:[`\\overbrace`,`\\underbrace`,`\\overbracket`,`\\underbracket`],numArgs:1,handler(e,t){var{parser:n,funcName:r}=e;return{type:`horizBrace`,mode:n.mode,label:r,isOver:r.includes(`\\over`),base:t[0]}},htmlBuilder:sc,mathmlBuilder:(e,t)=>{var n=ko(e.label);return new X(e.isOver?`mover`:`munder`,[vo(e.base,t),n])}}),Y({type:`href`,names:[`\\href`],numArgs:2,argTypes:[`url`,`original`],allowedInText:!0,handler:(e,t)=>{var{parser:n}=e,r=t[1],i=Z(t[0],`url`).url;return n.settings.isTrusted({command:`\\href`,url:i})?{type:`href`,mode:n.mode,href:i,body:Ga(r)}:n.formatUnsupportedCmd(`\\href`)},htmlBuilder:(e,t)=>{var n=Xa(e.body,t,!1);return Ta(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=_o(e.body,t);return n instanceof X||(n=new X(`mrow`,[n])),n.setAttribute(`href`,e.href),n}}),Y({type:`href`,names:[`\\url`],numArgs:1,argTypes:[`url`],allowedInText:!0,handler:(e,t)=>{var{parser:n}=e,r=Z(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:Ga(s)}}}),Y({type:`hbox`,names:[`\\hbox`],numArgs:1,argTypes:[`text`],allowedInText:!0,primitive:!0,handler(e,t){var{parser:n}=e;return{type:`hbox`,mode:n.mode,body:Ga(t[0])}},htmlBuilder(e,t){return Ea(Xa(e.body,t.withFont(``),!1))},mathmlBuilder(e,t){return new X(`mrow`,go(e.body,t.withFont(``)))}}),Y({type:`html`,names:[`\\htmlClass`,`\\htmlId`,`\\htmlStyle`,`\\htmlData`],numArgs:2,argTypes:[`raw`,`original`],allowedInText:!0,handler:(e,t)=>{var{parser:n,funcName:r,token:i}=e,a=Z(t[0],`raw`).string,o=t[1];n.settings.strict&&n.settings.reportNonstrict(`htmlExtension`,`HTML extension is disabled on strict mode`);var s,c={};switch(r){case`\\htmlClass`:c.class=a,s={command:`\\htmlClass`,class:a};break;case`\\htmlId`:c.id=a,s={command:`\\htmlId`,id:a};break;case`\\htmlStyle`:c.style=a,s={command:`\\htmlStyle`,style:a};break;case`\\htmlData`:for(var l=a.split(`,`),u=0;u<l.length;u++){var d=l[u],f=d.indexOf(`=`);if(f<0)throw new F(`\\htmlData key/value '`+d+`' missing equals sign`);var p=d.slice(0,f),m=d.slice(f+1);c[`data-`+p.trim()]=m}s={command:`\\htmlData`,attributes:c};break;default:throw Error(`Unrecognized html command`)}return n.settings.isTrusted(s)?{type:`html`,mode:n.mode,attributes:c,body:Ga(o)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=Xa(e.body,t,!1),r=[`enclosing`];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=J(r,n,t);for(var a in e.attributes)a!==`class`&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>_o(e.body,t)}),Y({type:`htmlmathml`,names:[`\\html@mathml`],numArgs:2,allowedInArgument:!0,allowedInText:!0,handler:(e,t)=>{var{parser:n}=e;return{type:`htmlmathml`,mode:n.mode,html:Ga(t[0]),mathml:Ga(t[1])}},htmlBuilder:(e,t)=>Ea(Xa(e.html,t,!1)),mathmlBuilder:(e,t)=>_o(e.mathml,t)});var cc=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 F(`Invalid size: '`+e+`' in \\includegraphics`);var n={number:+(t[1]+t[2]),unit:t[3]};if(!ri(n))throw new F(`Invalid unit: '`+n.unit+`' in \\includegraphics.`);return n};Y({type:`includegraphics`,names:[`\\includegraphics`],numArgs:1,numOptionalArgs:1,argTypes:[`raw`,`url`],allowedInText:!1,handler:(e,t,n)=>{var{parser:r}=e,i={number:0,unit:`em`},a={number:.9,unit:`em`},o={number:0,unit:`em`},s=``;if(n[0])for(var c=Z(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=cc(d);break;case`height`:a=cc(d);break;case`totalheight`:o=cc(d);break;default:throw new F(`Invalid key: '`+u[0]+`' in \\includegraphics.`)}}}var f=Z(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=ii(e.height,t),r=0;e.totalheight.number>0&&(r=ii(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=ii(e.width,t));var a={height:L(n+r)};i>0&&(a.width=L(i)),r>0&&(a.verticalAlign=L(-r));var o=new pi(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=ii(e.height,t),i=0;if(e.totalheight.number>0&&(i=ii(e.totalheight,t)-r,n.setAttribute(`valign`,L(-i))),n.setAttribute(`height`,L(r+i)),e.width.number>0){var a=ii(e.width,t);n.setAttribute(`width`,L(a))}return n.setAttribute(`src`,e.src),n}}),Y({type:`kern`,names:[`\\kern`,`\\mkern`,`\\hskip`,`\\mskip`],numArgs:1,argTypes:[`size`],primitive:!0,allowedInText:!0,handler(e,t){var{parser:n,funcName:r}=e,i=Z(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 Aa(e.dimension,t)},mathmlBuilder(e,t){return new so(ii(e.dimension,t))}}),Y({type:`lap`,names:[`\\mathllap`,`\\mathrlap`,`\\mathclap`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`lap`,mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment===`clap`?(n=J([],[no(e.body,t)]),n=J([`inner`],[n],t)):n=J([`inner`],[no(e.body,t)]);var r=J([`fix`],[]),i=J([e.alignment],[n,r],t),a=J([`strut`]);return a.style.height=L(i.height+i.depth),i.depth&&(a.style.verticalAlign=L(-i.depth)),i.children.unshift(a),i=J([`thinbox`],[i],t),J([`mord`,`vbox`],[i],t)},mathmlBuilder:(e,t)=>{var n=new X(`mpadded`,[vo(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}}),Y({type:`styling`,names:[`\\(`,`$`],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){var{funcName:n,parser:r}=e,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}}}),Y({type:`text`,names:[`\\)`,`\\]`],numArgs:0,allowedInText:!0,allowedInMath:!1,handler(e,t){throw new F(`Mismatched `+e.funcName)}});var lc=(e,t)=>{switch(t.style.size){case I.DISPLAY.size:return e.display;case I.TEXT.size:return e.text;case I.SCRIPT.size:return e.script;case I.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Y({type:`mathchoice`,names:[`\\mathchoice`],numArgs:4,primitive:!0,handler:(e,t)=>{var{parser:n}=e;return{type:`mathchoice`,mode:n.mode,display:Ga(t[0]),text:Ga(t[1]),script:Ga(t[2]),scriptscript:Ga(t[3])}},htmlBuilder:(e,t)=>Ea(Xa(lc(e,t),t,!1)),mathmlBuilder:(e,t)=>_o(lc(e,t),t)});var uc=(e,t,n,r,i,a,o)=>{e=J([],[e]);var s=n&&pr(n),c,l;if(t){var u=no(t,r.havingStyle(i.sup()),r);l={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-u.depth)}}if(n){var d=no(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=ka({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:L(-a)},{type:`kern`,size:c.kern},{type:`elem`,elem:e},{type:`kern`,size:l.kern},{type:`elem`,elem:l.elem,marginLeft:L(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else if(c)f=ka({positionType:`top`,positionData:e.height-o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:c.elem,marginLeft:L(-a)},{type:`kern`,size:c.kern},{type:`elem`,elem:e}]});else if(l)f=ka({positionType:`bottom`,positionData:e.depth+o,children:[{type:`elem`,elem:e},{type:`kern`,size:l.kern},{type:`elem`,elem:l.elem,marginLeft:L(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else return e;var p=[f];if(c&&a!==0&&!s){var m=J([`mspace`],[],r);m.style.marginRight=L(a),p.unshift(m)}return J([`mop`,`op-limits`],p,r)},dc=new Set([`\\smallint`]),fc=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Z(e.base,`op`),i=!0):a=Z(e,`op`);var o=t.style,s=!1;o.size===I.DISPLAY.size&&a.symbol&&!dc.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=ga(a.name,u,`math`,t,[`mop`,`op-symbol`,s?`large-op`:`small-op`]),l=c.italic,d.length>0){var f=Pa(d+`Size`+(s?`2`:`1`),t);c=ka({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=Xa(a.body,t,!0);p.length===1&&p[0]instanceof hi?(c=p[0],c.classes[0]=`mop`):c=J([`mop`],p,t)}else{for(var m=[],h=1;h<a.name.length;h++)m.push(_a(a.name[h],a.mode,t));c=J([`mop`],m,t)}var g=0,_=0;return(c instanceof hi||a.name===`\\oiint`||a.name===`\\oiiint`)&&!a.suppressBaseShift&&(g=(c.height-c.depth)/2-t.fontMetrics().axisHeight,_=c.italic??0),i?uc(c,n,r,t,o,_,g):(g&&(c.style.position=`relative`,c.style.top=L(g)),c)},pc=(e,t)=>{var n;if(e.symbol)n=new X(`mo`,[uo(e.name,e.mode)]),dc.has(e.name)&&n.setAttribute(`largeop`,`false`);else if(e.body)n=new X(`mo`,go(e.body,t));else{n=new X(`mi`,[new oo(e.name.slice(1))]);var r=new X(`mo`,[uo(`â¡`,`text`)]);
vendor: 4,429 bytes, line 253
253n=e.parentIsSupSub?new X(`mrow`,[n,r]):ao([n,r])}return n},mc={"â":`\\prod`,"â":`\\coprod`,"â":`\\sum`,"â":`\\bigwedge`,"â":`\\bigvee`,"â":`\\bigcap`,"â":`\\bigcup`,"â¨":`\\bigodot`,"â¨":`\\bigoplus`,"â¨":`\\bigotimes`,"â¨":`\\biguplus`,"â¨":`\\bigsqcup`};Y({type:`op`,names:`\\coprod.\\bigvee.\\bigwedge.\\biguplus.\\bigcap.\\bigcup.\\intop.\\prod.\\sum.\\bigotimes.\\bigoplus.\\bigodot.\\bigsqcup.\\smallint.â.â.â.â.â.â.â.â¨.â¨.â¨.â¨.â¨`.split(`.`),numArgs:0,handler:(e,t)=>{var{parser:n,funcName:r}=e,i=r;return i.length===1&&(i=mc[i]),{type:`op`,mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:fc,mathmlBuilder:pc}),Y({type:`op`,names:[`\\mathop`],numArgs:1,primitive:!0,handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`op`,mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ga(r)}}});var hc={"â«":`\\int`,"â¬":`\\iint`,"â":`\\iiint`,"â®":`\\oint`,"â¯":`\\oiint`,"â°":`\\oiiint`};Y({type:`op`,names:`\\arcsin.\\arccos.\\arctan.\\arctg.\\arcctg.\\arg.\\ch.\\cos.\\cosec.\\cosh.\\cot.\\cotg.\\coth.\\csc.\\ctg.\\cth.\\deg.\\dim.\\exp.\\hom.\\ker.\\lg.\\ln.\\log.\\sec.\\sin.\\sinh.\\sh.\\tan.\\tanh.\\tg.\\th`.split(`.`),numArgs:0,handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}}}),Y({type:`op`,names:[`\\det`,`\\gcd`,`\\inf`,`\\lim`,`\\max`,`\\min`,`\\Pr`,`\\sup`],numArgs:0,handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}}}),Y({type:`op`,names:[`\\int`,`\\iint`,`\\iiint`,`\\oint`,`\\oiint`,`\\oiiint`,`â«`,`â¬`,`â`,`â®`,`â¯`,`â°`],numArgs:0,allowedInArgument:!0,handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=hc[r]),{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}}});var gc=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Z(e.base,`operatorname`),i=!0):a=Z(e,`operatorname`);var o;if(a.body.length>0){for(var s=Xa(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 hi&&(l.text=l.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`))}o=J([`mop`],s,t)}else o=J([`mop`],[],t);return i?uc(o,n,r,t,t.style,0,0):o};Y({type:`operatorname`,names:[`\\operatorname@`,`\\operatornamewithlimits`],numArgs:1,handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`operatorname`,mode:n.mode,body:Ga(i),alwaysHandleSupSub:r===`\\operatornamewithlimits`,limits:!1,parentIsSupSub:!1}},htmlBuilder:gc,mathmlBuilder:(e,t)=>{for(var n=go(e.body,t.withFont(`mathrm`)),r=!0,i=0;i<n.length;i++){var a=n[i];if(!(a instanceof so)){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 oo?o.text=o.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`):r=!1;break;default:r=!1}else r=!1}}r&&(n=[new oo(n.map(e=>e.toText()).join(``))]);var s=new X(`mi`,n);s.setAttribute(`mathvariant`,`normal`);var c=new X(`mo`,[uo(`â¡`,`text`)]);return e.parentIsSupSub?new X(`mrow`,[s,c]):ao([s,c])}}),Q(`\\operatorname`,`\\@ifstar\\operatornamewithlimits\\operatorname@`),Ua({type:`ordgroup`,htmlBuilder(e,t){return e.semisimple?Ea(Xa(e.body,t,!1)):J([`mord`],Xa(e.body,t,!0),t)},mathmlBuilder(e,t){return _o(e.body,t,!0)}}),Y({type:`overline`,names:[`\\overline`],numArgs:1,handler(e,t){var{parser:n}=e,r=t[0];return{type:`overline`,mode:n.mode,body:r}},htmlBuilder(e,t){var n=no(e.body,t.havingCrampedStyle()),r=wa(`overline-line`,t),i=t.fontMetrics().defaultRuleThickness;return J([`mord`,`overline`],[ka({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 oo(`â¾`)]);n.setAttribute(`stretchy`,`true`);var r=new X(`mover`,[vo(e.body,t),n]);return r.setAttribute(`accent`,`true`),r}}),Y({type:`phantom`,names:[`\\phantom`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`phantom`,mode:n.mode,body:Ga(r)}},htmlBuilder:(e,t)=>Ea(Xa(e.body,t.withPhantom(),!1)),mathmlBuilder:(e,t)=>new X(`mphantom`,go(e.body,t))}),Q(`\\hphantom`,`\\smash{\\phantom{#1}}`),Y({type:`vphantom`,names:[`\\vphantom`],numArgs:1,allowedInText:!0,handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`vphantom`,mode:n.mode,body:r}},htmlBuilder:(e,t)=>
vendor: 10,599 bytes, line 253
253J([`mord`,`rlap`],[J([`inner`],[no(e.body,t.withPhantom())]),J([`fix`],[])],t),mathmlBuilder:(e,t)=>{var n=new X(`mpadded`,[new X(`mphantom`,go(Ga(e.body),t))]);return n.setAttribute(`width`,`0px`),n}}),Y({type:`raisebox`,names:[`\\raisebox`],numArgs:2,argTypes:[`size`,`hbox`],allowedInText:!0,handler(e,t){var{parser:n}=e,r=Z(t[0],`size`).value,i=t[1];return{type:`raisebox`,mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=no(e.body,t);return ka({positionType:`shift`,positionData:-ii(e.dy,t),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){var n=new X(`mpadded`,[vo(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute(`voffset`,r),n}}),Y({type:`internal`,names:[`\\relax`],numArgs:0,allowedInText:!0,allowedInArgument:!0,handler(e){var{parser:t}=e;return{type:`internal`,mode:t.mode}}}),Y({type:`rule`,names:[`\\rule`],numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`size`,`size`,`size`],handler(e,t,n){var{parser:r}=e,i=n[0],a=Z(t[0],`size`),o=Z(t[1],`size`);return{type:`rule`,mode:r.mode,shift:i&&Z(i,`size`).value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=J([`mord`,`rule`],[],t),r=ii(e.width,t),i=ii(e.height,t),a=e.shift?ii(e.shift,t):0;return n.style.borderRightWidth=L(r),n.style.borderTopWidth=L(i),n.style.bottom=L(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=ii(e.width,t),r=ii(e.height,t),i=e.shift?ii(e.shift,t):0,a=t.color&&t.getColor()||`black`,o=new X(`mspace`);o.setAttribute(`mathbackground`,a),o.setAttribute(`width`,L(n)),o.setAttribute(`height`,L(r));var s=new X(`mpadded`,[o]);return i>=0?s.setAttribute(`height`,L(i)):(s.setAttribute(`height`,L(i)),s.setAttribute(`depth`,L(-i))),s.setAttribute(`voffset`,L(i)),s}});function _c(e,t,n){for(var r=Xa(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var o=r[a].classes.indexOf(`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 Ea(r)}var vc=[`\\tiny`,`\\sixptsize`,`\\scriptsize`,`\\footnotesize`,`\\small`,`\\normalsize`,`\\large`,`\\Large`,`\\LARGE`,`\\huge`,`\\Huge`];Y({type:`sizing`,names:vc,numArgs:0,allowedInText:!0,handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:`sizing`,mode:i.mode,size:vc.indexOf(r)+1,body:a}},htmlBuilder:(e,t)=>{var n=t.havingSize(e.size);return _c(e.body,n,t)},mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=new X(`mstyle`,go(e.body,n));return r.setAttribute(`mathsize`,L(n.sizeMultiplier)),r}}),Y({type:`smash`,names:[`\\smash`],numArgs:1,numOptionalArgs:1,allowedInText:!0,handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,o=n[0]&&Z(n[0],`ordgroup`);if(o)for(var s,c=0;c<o.body.length;++c){var l=o.body[c];if(s=Lo(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=J([],[no(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 J([`mord`,`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 J([`mord`],[ka({positionType:`firstBaseline`,children:[{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=new X(`mpadded`,[vo(e.body,t)]);return e.smashHeight&&n.setAttribute(`height`,`0px`),e.smashDepth&&n.setAttribute(`depth`,`0px`),n}}),Y({type:`sqrt`,names:[`\\sqrt`],numArgs:1,numOptionalArgs:1,handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:`sqrt`,mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=no(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=Da(n,t);var r=t.fontMetrics().defaultRuleThickness,i=r;t.style.id<I.TEXT.id&&(i=t.fontMetrics().xHeight);var a=r+i/4,{span:o,ruleWidth:s,advanceWidth:c}=ys(n.height+n.depth+a+r,t),l=o.height-s;l>n.height+n.depth+a&&(a=(a+l-n.height-n.depth)/2);var u=o.height-n.height-a-s;n.style.paddingLeft=L(c);var d=ka({positionType:`firstBaseline`,children:[{type:`elem`,elem:n,wrapperClasses:[`svg-align`]},{type:`kern`,size:-(n.height+u)},{type:`elem`,elem:o},{type:`kern`,size:s}]});if(e.index){var f=t.havingStyle(I.SCRIPTSCRIPT),p=no(e.index,f,t);return J([`mord`,`sqrt`],[J([`root`],[ka({positionType:`shift`,positionData:-(.6*(d.height-d.depth)),children:[{type:`elem`,elem:p}]})]),d],t)}return J([`mord`,`sqrt`],[d],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new X(`mroot`,[vo(n,t),vo(r,t)]):new X(`msqrt`,[vo(n,t)])}});var yc={display:I.DISPLAY,text:I.TEXT,script:I.SCRIPT,scriptscript:I.SCRIPTSCRIPT};function bc(e){return e in yc}Y({type:`styling`,names:[`\\displaystyle`,`\\textstyle`,`\\scriptstyle`,`\\scriptscriptstyle`],numArgs:0,allowedInText:!0,primitive:!0,handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);if(!bc(o))throw Error(`Unknown style: `+o);return{type:`styling`,mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=yc[e.style],r=t.havingStyle(n);return e.resetFont&&(r=r.withFont(``)),_c(e.body,r,t)},mathmlBuilder(e,t){var n=yc[e.style],r=t.havingStyle(n);e.resetFont&&(r=r.withFont(``));var i=new X(`mstyle`,go(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 xc=function(e,t){var n=e.base;return n?n.type===`op`?n.limits&&(t.style.size===I.DISPLAY.size||n.alwaysHandleSupSub)?fc:null:n.type===`operatorname`?n.alwaysHandleSupSub&&(t.style.size===I.DISPLAY.size||n.limits)?gc:null:n.type===`accent`?pr(n.base)?Bo:null:n.type===`horizBrace`&&!e.sub===n.isOver?sc:null:null};Ua({type:`supsub`,htmlBuilder(e,t){var n=xc(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,o=no(r,t),s,c,l=t.fontMetrics(),u=0,d=0,f=r&&pr(r);if(i){var p=t.havingStyle(t.style.sup());s=no(i,p,t),f||(u=o.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(a){var m=t.havingStyle(t.style.sub());c=no(a,m,t),f||(d=o.depth+m.fontMetrics().subDrop*m.sizeMultiplier/t.sizeMultiplier)}var h=t.style===I.DISPLAY?l.sup1:t.style.cramped?l.sup3:l.sup2,g=t.sizeMultiplier,_=L(.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 hi||y)&&(v=L(-(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=ka({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=ka({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=ka({positionType:`shift`,positionData:-u,children:[{type:`elem`,elem:s,marginRight:_}]});else throw Error(`supsub must have either sup or sub.`);return J([eo(o,`right`)||`mord`],[o,J([`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=[vo(e.base,t)];e.sub&&a.push(vo(e.sub,t)),e.sup&&a.push(vo(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===I.DISPLAY||s.alwaysHandleSupSub)||s&&s.type===`operatorname`&&s.alwaysHandleSupSub&&(s.limits||t.style===I.DISPLAY)?`mover`:`msup`}else if(e.sup){var c=e.base;o=c&&c.type===`op`&&c.limits&&t.style===I.DISPLAY||c&&c.type===`operatorname`&&c.alwaysHandleSupSub&&(t.style===I.DISPLAY||c.limits)?`munderover`:`msubsup`}else{var l=e.base;o=l&&l.type===`op`&&l.limits&&(t.style===I.DISPLAY||l.alwaysHandleSupSub)||l&&l.type===`operatorname`&&l.alwaysHandleSupSub&&(l.limits||t.style===I.DISPLAY)?`munder`:`msub`}return new X(o,a)}}),Ua({type:`atom`,htmlBuilder(e,t){return _a(e.text,e.mode,t,[`m`+e.family])},mathmlBuilder(e,t){var n=new X(`mo`,[uo(e.text,e.mode)]);if(e.family===`bin`){var r=mo(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 Sc={mi:`italic`,mn:`normal`,mtext:`normal`};Ua({type:`mathord`,htmlBuilder(e,t){return ya(e,t)},mathmlBuilder(e,t){var n=new X(`mi`,[uo(e.text,e.mode,t)]),r=mo(e,t)||`italic`;return r!==Sc[n.type]&&n.setAttribute(`mathvariant`,r),n}}),Ua({type:`textord`,htmlBuilder(e,t){return ya(e,t)},mathmlBuilder(e,t){var n=uo(e.text,e.mode,t),r=mo(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!==Sc[i.type]&&i.setAttribute(`mathvariant`,r),i}});var Cc={"\\nobreak":`nobreak`,"\\allowbreak":`allowbreak`},wc={" ":{},"\\ ":{},"~":{className:`nobreak`},"\\space":{},"\\nobreakspace":{className:`nobreak`}};Ua({type:`spacing`,htmlBuilder(e,t){if(wc.hasOwnProperty(e.text)){var n=wc[e.text].className||``;if(e.mode===`text`){var r=ya(e,t);return r.classes.push(n),r}return J([`mspace`,n],[_a(e.text,e.mode,t)],t)}if(Cc.hasOwnProperty(e.text))return J([`mspace`,Cc[e.text]],[],t);throw new F(`Unknown type of space "`+e.text+`"`)},mathmlBuilder(e,t){var n;if(wc.hasOwnProperty(e.text))n=new X(`mtext`,[new oo(`\xA0`)]);else if(Cc.hasOwnProperty(e.text))return new X(`mspace`);else throw new F(`Unknown type of space "`+e.text+`"`);return n}});var Tc=()=>{var e=new X(`mtd`,[]);return e.setAttribute(`width`,`50%`),e};Ua({type:`tag`,mathmlBuilder(e,t){var n=new X(`mtable`,[new X(`mtr`,[Tc(),new X(`mtd`,[_o(e.body,t)]),Tc(),new X(`mtd`,[_o(e.tag,t)])])]);return n.setAttribute(`width`,`100%`),n}});var Ec={"\\text":void 0,"\\textrm":`textrm`,"\\textsf":`textsf`,"\\texttt":`texttt`,"\\textnormal":`textrm`},Dc={"\\textbf":`textbf`,"\\textmd":`textmd`},Oc={"\\textit":`textit`,"\\textup":`textup`},kc=(e,t)=>{var n=e.font;return n?Ec[n]?t.withTextFontFamily(Ec[n]):Dc[n]?t.withTextFontWeight(Dc[n]):n===`\\emph`?t.fontShape===`textit`?t.withTextFontShape(`textup`):t.withTextFontShape(`textit`):t.withTextFontShape(Oc[n]):t};Y({type:`text`,names:[`\\text`,`\\textrm`,`\\textsf`,`\\texttt`,`\\textnormal`,`\\textbf`,`\\textmd`,`\\textit`,`\\textup`,`\\emp
253h`],numArgs:1,argTypes:[`text`],allowedInArgument:!0,allowedInText:!0,handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`text`,mode:n.mode,body:Ga(i),font:r}},htmlBuilder(e,t){var n=kc(e,t);return J([`mord`,`text`],Xa(e.body,n,!0),n)},mathmlBuilder(e,t){var n=kc(e,t);return _o(e.body,n)}}),Y({type:`underline`,names:[`\\underline`],numArgs:1,allowedInText:!0,handler(e,t){var{parser:n}=e;return{type:`underline`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=no(e.body,t),r=wa(`underline-line`,t),i=t.fontMetrics().defaultRuleThickness;return J([`mord`,`underline`],[ka({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 oo(`â¾`)]);n.setAttribute(`stretchy`,`true`);var r=new X(`munder`,[vo(e.body,t),n]);return r.setAttribute(`accentunder`,`true`),r}}),Y({type:`vcenter`,names:[`\\vcenter`],numArgs:1,argTypes:[`original`],allowedInText:!1,handler(e,t){var{parser:n}=e;return{type:`vcenter`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=no(e.body,t),r=t.fontMetrics().axisHeight;return ka({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`,[vo(e.body,t)],[`vcenter`])])}}),Y({type:`verb`,names:[`\\verb`],numArgs:0,allowedInText:!0,handler(e,t,n){throw new F(`\\verb ended by end of line instead of matching delimiter`)},htmlBuilder(e,t){for(var n=Ac(e),r=[],i=t.havingStyle(t.style.text()),a=0;a<n.length;a++){var o=n[a];o===`~`&&(o=`\\textasciitilde`),r.push(ga(o,`Typewriter-Regular`,e.mode,i,[`mord`,`texttt`]))}return J([`mord`,`text`].concat(i.sizingClasses(t)),xa(r),i)},mathmlBuilder(e,t){var n=new X(`mtext`,[new oo(Ac(e))]);return n.setAttribute(`mathvariant`,`monospace`),n}});var Ac=e=>e.body.replace(/ /g,e.star?`â£`:`\xA0`),jc=Ba,Mc=`[ \r 254 ]`,Nc=`\\\\[a-zA-Z@]+`,Pc=`\\\\[^\ud800-\udfff]`,Fc=`(`+Nc+`)`+Mc+`*`,Ic=`\\\\( 255|[ \r ]+ 256?)[ \r ]*`,Lc=`[Ì-ͯ]`,Rc=RegExp(Lc+`+$`),zc=`(`+Mc+`+)|`+(Ic+`|`)+`([!-\\[\\]-â§âª-í¿ï¤-ï¿¿]`+(Lc+`*`)+`|[\ud800-\udbff][\udc00-\udfff]`+(Lc+`*`)+`|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5`+(`|`+Fc)+(`|`+Pc+`)`),Bc=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(zc,`g`),this.catcodes={"%":14,"~":13}}
vendor: 5,032 bytes, lines 256-257
256setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new Vs(`EOF`,new Bs(this,t,t));var n=this.tokenRegex.exec(e);if(n===null||n.index!==t)throw new F(`Unexpected character: '`+e[t]+`'`,new Vs(e[t],new Bs(this,t,t+1)));var r=n[6]||n[3]||(n[2]?`\\ `:` `);if(this.catcodes[r]===14){var i=e.indexOf(` 257`,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict(`commentAtEnd`,`% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)`)):this.tokenRegex.lastIndex=i+1,this.lex()}return new Vs(r,new Bs(this,t,this.tokenRegex.lastIndex))}},Vc=class{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new F(`Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug`);var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(e[t]==null?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(n===void 0&&(n=!1),n){for(var r=0;r<this.undefStack.length;r++)delete this.undefStack[r][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}},Hc=zs;Q(`\\noexpand`,function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),Q(`\\expandafter`,function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),Q(`\\@firstoftwo`,function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),Q(`\\@secondoftwo`,function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),Q(`\\@ifnextchar`,function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),Q(`\\@ifstar`,`\\@ifnextchar *{\\@firstoftwo{#1}}`),Q(`\\TextOrMath`,function(e){var t=e.consumeArgs(2);return e.mode===`text`?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Uc={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Q(`\\char`,function(e){var t=e.popToken(),n,r=0;if(t.text===`'`)n=8,t=e.popToken();else if(t.text===`"`)n=16,t=e.popToken();else if(t.text==="`"){if(t=e.popToken(),t.text[0]===`\\`)r=t.text.charCodeAt(1);else if(t.text===`EOF`)throw new F("\\char` missing argument");else r=t.text.charCodeAt(0)}else n=10;if(n){if(r=Uc[t.text],r==null||r>=n)throw new F(`Invalid base-`+n+` digit `+t.text);for(var i;(i=Uc[e.future().text])!=null&&i<n;)r*=n,r+=i,e.popToken()}return`\\@char{`+r+`}`});var Wc=(e,t,n,r)=>{var i=e.consumeArg().tokens;if(i.length!==1)throw new F(`\\newcommand's first argument must be a macro name`);var a=i[0].text,o=e.isDefined(a);if(o&&!t)throw new F(`\\newcommand{`+a+`} attempting to redefine `+(a+`; use \\renewcommand`));if(!o&&!n)throw new F(`\\renewcommand{`+a+`} when command `+a+` does not yet exist; use \\newcommand`);var s=0;if(i=e.consumeArg().tokens,i.length===1&&i[0].text===`[`){for(var c=``,l=e.expandNextToken();l.text!==`]`&&l.text!==`EOF`;)c+=l.text,l=e.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new F(`Invalid number of arguments: `+c);s=parseInt(c),i=e.consumeArg().tokens}return o&&r||e.macros.set(a,{tokens:i,numArgs:s}),``};Q(`\\newcommand`,e=>Wc(e,!1,!0,!1)),Q(`\\renewcommand`,e=>Wc(e,!0,!1,!1)),Q(`\\providecommand`,e=>Wc(e,!0,!0,!0)),Q(`\\message`,e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join(``)),``}),Q(`\\errmessage`,e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join(``)),``}),Q(`\\show`,e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),jc[n],ki.math[n],ki.text[n]),``}),Q(`\\bgroup`,`{`),Q(`\\egroup`,`}`),Q(`~`,`\\nobreakspace`),Q(`\\lq`,"`"),Q(`\\rq`,`'`),Q(`\\aa`,`\\r a`),Q(`\\AA`,`\\r A`),Q(`\\textcopyright`,"\\html@mathml{\\textcircled{c}}{\\char`©}"),Q(`\\copyright`,`\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}`),Q(`\\textregistered`,"\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Q(`â¬`,`\\mathscr{B}`),Q(`â°`,`\\mathscr{E}`),Q(`â±`,`\\mathscr{F}`),Q(`â`,`\\mathscr{H}`),Q(`â`,`\\mathscr{I}`),Q(`â`,`\\mathscr{L}`),Q(`â³`,`\\mathscr{M}`),Q(`â`,`\\mathscr{R}`),Q(`â`,`\\mathfrak{C}`),Q(`â`,`\\mathfrak{H}`),Q(`â¨`,`\\mathfrak{Z}`),Q(`\\Bbbk`,`\\Bbb{k}`),Q(`\\llap`,`\\mathllap{\\textrm{#1}}`),Q(`\\rlap`,`\\mathrlap{\\textrm{#1}}`),Q(`\\clap`,`\\mathclap{\\textrm{#1}}`),Q(`\\mathstrut`,`\\vphantom{(}`),Q(`\\underbar`,`\\underline{\\text{#1}}
257`),Q(`\\not`,`\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}`),Q(`\\neq`,"\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`â }}"),Q(`\\ne`,`\\neq`),Q(`â `,`\\neq`),Q(`\\notin`,"\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`â}}"),Q(`â`,`\\notin`),Q(`â`,"\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`â}}"),Q(`â`,"\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`â}}"),Q(`â`,"\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`â}}"),Q(`â`,"\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`â}}"),Q(`â`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`â}}"),Q(`â`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`â}}"),Q(`â`,"\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`â}}"),Q(`â`,`\\perp`),Q(`â¼`,`\\mathclose{!\\mkern-0.8mu!}`),Q(`â`,`\\notni`),Q(`â`,`\\ulcorner`),Q(`â`,`\\urcorner`),Q(`â`,`\\llcorner`),Q(`â`,`\\lrcorner`),Q(`©`,`\\copyright`),Q(`®`,`\\textregistered`),Q(`\\ulcorner`,`\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}`),Q(`\\urcorner`,`\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}`),Q(`\\llcorner`,`\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}`),Q(`\\lrcorner`,`\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}`),Q(`\\vdots`,`{\\varvdots\\rule{0pt}{15pt}}`),Q(`â®`,`\\vdots`),Q(`\\varGamma`,`\\mathit{\\Gamma}`),Q(`\\varDelta`,`\\mathit{\\Delta}`),Q(`\\varTheta`,`\\mathit{\\Theta}`),Q(`\\varLambda`,`\\mathit{\\Lambda}`),Q(`\\varXi`,`\\mathit{\\Xi}`),Q(`\\varPi`,`\\mathit{\\Pi}`),Q(`\\varSigma`,`\\mathit{\\Sigma}`),Q(`\\varUpsilon`,`\\mathit{\\Upsilon}`),Q(`\\varPhi`,`\\mathit{\\Phi}`),Q(`\\varPsi`,`\\mathit{\\Psi}`),Q(`\\varOmega`,`\\mathit{\\Omega}`),Q(`\\substack`,`\\begin{subarray}{c}#1\\end{subarray}`),Q(`\\colon`,`\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax`),Q(`\\boxed`,`\\fbox{$\\displaystyle{#1}$}`),Q(`\\iff`,`\\DOTSB\\;\\Longleftrightarrow\\;`),Q(`\\implies`,`\\DOTSB\\;\\Longrightarrow\\;`),Q(`\\impliedby`,`\\DOTSB\\;\\Longleftarrow\\;`),Q(`\\dddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}`),Q(`\\ddddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}`);var Gc={",":`\\dotsc`,"\\not":`\\dotsb`,"+":`\\dotsb`,"=":`\\dotsb`,"<":`\\dotsb`,">":`\\dotsb`,"-":`\\dotsb`,"*":`\\dotsb`,":":`\\dotsb`,"\\DOTSB":`\\dotsb`,"\\coprod":`\\dotsb`,"\\bigvee":`\\dotsb`,"\\bigwedge":`\\dotsb`,"\\biguplus":`\\dotsb`,"\\bigcap":`\\dotsb`,"\\bigcup":`\\dotsb`,"\\prod":`\\dotsb`,"\\sum":`\\dotsb`,"\\bigotimes":`\\dotsb`,"\\bigoplus":`\\dotsb`,"\\bigodot":`\\dotsb`,"\\bigsqcup":`\\dotsb`,"\\And":`\\dotsb`,"\\longrightarrow":`\\dotsb`,"\\Longrightarrow":`\\dotsb`,"\\longleftarrow":`\\dotsb`,"\\Longleftarrow":`\\dotsb`,"\\longleftrightarrow":`\\dotsb`,"\\Longleftrightarrow":`\\dotsb`,"\\mapsto":`\\dotsb`,"\\longmapsto":`\\dotsb`,"\\hookrightarrow":`\\dotsb`,"\\doteq":`\\dotsb`,"\\mathbin":`\\dotsb`,"\\mathrel":`\\dotsb`,"\\relbar":`\\dotsb`,"\\Relbar":`\\dotsb`,"\\xrightarrow":`\\dotsb`,"\\xleftarrow":`\\dotsb`,"\\DOTSI":`\\dotsi`,"\\int":`\\dotsi`,"\\oint":`\\dotsi`,"\\iint":`\\dotsi`,"\\iiint":`\\dotsi`,"\\iiiint":`\\dotsi`,"\\idotsint":`\\dotsi`,"\\DOTSX":`\\dotsx`},Kc=new Set([`bin`,`rel`]);Q(`\\dots`,function(e){var t=`\\dotso`,n=e.expandAfterFuture().text;return n in Gc?t=Gc[n]:(n.slice(0,4)===`\\not`||n in ki.math&&Kc.has(ki.math[n].group))&&(t=`\\dotsb`),t});var qc={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Q(`\\dotso`,function(e){return e.future().text in qc?`\\ldots\\,`:`\\ldots`}),Q(`\\dotsc`,function(e){var t=e.future().text;return t in qc&&t!==`,`?`\\ldots\\,`:`\\ldots`}),Q(`\\cdots`,function(e){return e.future().text in qc?`\\@cdots\\,`:`\\@cdots`}),Q(`\\dotsb`,`\\cdots`),Q(`\\dotsm`,`\\cdots`),Q(`\\dotsi`,`\\!\\cdots`),Q(`\\dotsx`,`\\ldots\\,`),Q(`\\DOTSI`,`\\relax`),Q(`\\DOTSB`,`\\relax`),Q(`\\DOTSX`,`\\relax`),Q(`\\tmspace`,`\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax`),Q(`\\,`,`\\tmspace+{3mu}{.1667em}`),Q(`\\thinspace`,`\\,`),Q(`\\>`,`\\mskip{4mu}`),Q(`\\:`,`\\tmspace+{4mu}{.2222em}`),Q(`\\medspace`,`\\:`),Q(`\\;`,`\\tmspace+{5mu}{.2777em}`),Q(`\\thickspace`,`\\;`),Q(`\\!`,`\\tmspace-{3mu}{.1667em}`),Q(`\\negthinspace`,`\\!`),Q(`\\negmedspace`,`\\tmspace-{4mu}{.2222em}`),Q(`\\negthickspace`,`\\tmspace-{5mu}{.277em}`),Q(`\\enspace`,`\\kern.5em `),Q(`\\enskip`,`\\hskip.5em\\relax`),Q(`\\quad`,`\\hskip1em\\relax`),Q(`\\qquad`,`\\hskip2em\\relax`),Q(`\\tag`,`\\@ifstar\\tag@literal\\tag@paren`),Q(`\\tag@paren`,`\\tag@literal{({#1})}`),Q(`\\tag@literal`,e=>{if(e.macros.get(`\\df@tag`))throw new F(`Multiple \\tag`);return`\\gdef\\df@tag{\\text{#1}}`}),Q(`\\bmod`,`\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}`),Q(`\\pod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)`),Q(`\\pmod`,`\\pod{{\\rm mod}\\mkern6mu#1}`),Q(`\\mod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1`),Q(`\\newline`,`\\\\\\relax`),Q(`\\TeX`,`\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}`);var Jc=L(Si[`Main-Regular`][84][1]-.7*Si[`Main-Regular`][65][1]);Q(`\\LaTeX`,`\\textrm{\\html@mathml{`+(`L\\kern-.36em\\raisebox{`+Jc+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{LaTeX}}`),Q(`\\KaTeX`,`\\textrm{\\html@mathml{`+(`K\\kern-.17em\\raisebox{`+Jc+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{KaTeX}}`),Q(`\\hspace`,`\\@ifstar\\@hspacer\\@hspace`),Q(`\\@hspace`,`\\hskip #1\\relax`),Q(`\\@hspacer`,`\\rule{0pt}{0pt}\\hskip #1\\relax`),Q(`\\ordinarycolon`,`:`),Q(`\\vcentcolon`,`\\mathrel{\\mathop\\ordinarycolon}`),Q(`\\dblcolon`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}`),Q(`\\coloneqq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}`),Q(`\\Coloneqq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}`),Q(`\\coloneq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}`),Q(`\\Coloneq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}`),Q(`\\eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}`),Q(`\\Eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}`),Q(`\\eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}`),Q(`\\Eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}`),Q(`\\colonapprox`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}`),Q(`\\Colonapprox`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}`),Q(`\\colonsim`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}`),Q(`\\Colonsim`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}`),Q(`â·`,`\\dblcolon`),Q(`â¹`,`\\eqcolon`),Q(`â`,`\\coloneqq`),Q(`â`,`\\eqqcolon`),Q(`â©´`,`\\Coloneqq`),Q(`\\ratio`,`\\vcentcolon`),Q(`\\coloncolon`,`\\dblcolon`),Q(`\\colonequals`,`\\coloneqq`),Q(`\\coloncolonequals`,`\\Coloneqq`),Q(`\\equalscolon`,`\\eqqcolon`),Q(`\\equalscoloncolon`,`\\Eqqcolon`),Q(`\\colonminus`,`\\coloneq`),Q(`\\coloncolonminus`,`\\Coloneq`),Q(`\\minuscolon`,`\\eqcolon`),Q(`\\minuscoloncolon`,`\\Eqcolon`),Q(`\\coloncolonapprox`,`\\Colonapprox`),Q(`\\coloncolonsim`,`\\Colonsim`),Q(`\\simcolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),Q(`\\simcoloncolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}`),Q(`\\approxcolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),Q(`\\approxcoloncolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}
257`),Q(`\\notni`,"\\html@mathml{\\not\\ni}{\\mathrel{\\char`â}}"),Q(`\\limsup`,`\\DOTSB\\operatorname*{lim\\,sup}`),Q(`\\liminf`,`\\DOTSB\\operatorname*{lim\\,inf}`),Q(`\\injlim`,`\\DOTSB\\operatorname*{inj\\,lim}`),Q(`\\projlim`,`\\DOTSB\\operatorname*{proj\\,lim}`),Q(`\\varlimsup`,`\\DOTSB\\operatorname*{\\overline{lim}}`),Q(`\\varliminf`,`\\DOTSB\\operatorname*{\\underline{lim}}`),Q(`\\varinjlim`,`\\DOTSB\\operatorname*{\\underrightarrow{lim}}`),Q(`\\varprojlim`,`\\DOTSB\\operatorname*{\\underleftarrow{lim}}`),Q(`\\gvertneqq`,`\\html@mathml{\\@gvertneqq}{â©}`),Q(`\\lvertneqq`,`\\html@mathml{\\@lvertneqq}{â¨}`),Q(`\\ngeqq`,`\\html@mathml{\\@ngeqq}{â±}`),Q(`\\ngeqslant`,`\\html@mathml{\\@ngeqslant}{â±}`),Q(`\\nleqq`,`\\html@mathml{\\@nleqq}{â°}`),Q(`\\nleqslant`,`\\html@mathml{\\@nleqslant}{â°}`),Q(`\\nshortmid`,`\\html@mathml{\\@nshortmid}{â¤}`),Q(`\\nshortparallel`,`\\html@mathml{\\@nshortparallel}{â¦}`),Q(`\\nsubseteqq`,`\\html@mathml{\\@nsubseteqq}{â}`),Q(`\\nsupseteqq`,`\\html@mathml{\\@nsupseteqq}{â}`),Q(`\\varsubsetneq`,`\\html@mathml{\\@varsubsetneq}{â}`),Q(`\\varsubsetneqq`,`\\html@mathml{\\@varsubsetneqq}{â«}`),Q(`\\varsupsetneq`,`\\html@mathml{\\@varsupsetneq}{â}`),Q(`\\varsupsetneqq`,`\\html@mathml{\\@varsupsetneqq}{â«}`),Q(`\\imath`,`\\html@mathml{\\@imath}{ı}`),Q(`\\jmath`,`\\html@mathml{\\@jmath}{È·}`),Q(`\\llbracket`,"\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`â¦}}"),Q(`\\rrbracket`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`â§}}"),Q(`â¦`,`\\llbracket`),Q(`â§`,`\\rrbracket`),Q(`\\lBrace`,"\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`â¦}}"),Q(`\\rBrace`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`â¦}}"),Q(`â¦`,`\\lBrace`),Q(`â¦`,`\\rBrace`),Q(`\\minuso`,"\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Q(`⦵`,`\\minuso`),Q(`\\darr`,`\\downarrow`),Q(`\\dArr`,`\\Downarrow`),Q(`\\Darr`,`\\Downarrow`),Q(`\\lang`,`\\langle`),Q(`\\rang`,`\\rangle`),Q(`\\uarr`,`\\uparrow`),Q(`\\uArr`,`\\Uparrow`),Q(`\\Uarr`,`\\Uparrow`),Q(`\\N`,`\\mathbb{N}`),Q(`\\R`,`\\mathbb{R}`),Q(`\\Z`,`\\mathbb{Z}`),Q(`\\alef`,`\\aleph`),Q(`\\alefsym`,`\\aleph`),Q(`\\Alpha`,`\\mathrm{A}`),Q(`\\Beta`,`\\mathrm{B}`),Q(`\\bull`,`\\bullet`),Q(`\\Chi`,`\\mathrm{X}`),Q(`\\clubs`,`\\clubsuit`),Q(`\\cnums`,`\\mathbb{C}`),Q(`\\Complex`,`\\mathbb{C}`),Q(`\\Dagger`,`\\ddagger`),Q(`\\diamonds`,`\\diamondsuit`),Q(`\\empty`,`\\emptyset`),Q(`\\Epsilon`,`\\mathrm{E}`),Q(`\\Eta`,`\\mathrm{H}`),Q(`\\exist`,`\\exists`),Q(`\\harr`,`\\leftrightarrow`),Q(`\\hArr`,`\\Leftrightarrow`),Q(`\\Harr`,`\\Leftrightarrow`),Q(`\\hearts`,`\\heartsuit`),Q(`\\image`,`\\Im`),Q(`\\infin`,`\\infty`),Q(`\\Iota`,`\\mathrm{I}`),Q(`\\isin`,`\\in`),Q(`\\Kappa`,`\\mathrm{K}`),Q(`\\larr`,`\\leftarrow`),Q(`\\lArr`,`\\Leftarrow`),Q(`\\Larr`,`\\Leftarrow`),Q(`\\lrarr`,`\\leftrightarrow`),Q(`\\lrArr`,`\\Leftrightarrow`),Q(`\\Lrarr`,`\\Leftrightarrow`),Q(`\\Mu`,`\\mathrm{M}`),Q(`\\natnums`,`\\mathbb{N}`),Q(`\\Nu`,`\\mathrm{N}`),Q(`\\Omicron`,`\\mathrm{O}`),Q(`\\plusmn`,`\\pm`),Q(`\\rarr`,`\\rightarrow`),Q(`\\rArr`,`\\Rightarrow`),Q(`\\Rarr`,`\\Rightarrow`),Q(`\\real`,`\\Re`),Q(`\\reals`,`\\mathbb{R}`),Q(`\\Reals`,`\\mathbb{R}`),Q(`\\Rho`,`\\mathrm{P}`),Q(`\\sdot`,`\\cdot`),Q(`\\sect`,`\\S`),Q(`\\spades`,`\\spadesuit`),Q(`\\sub`,`\\subset`),Q(`\\sube`,`\\subseteq`),Q(`\\supe`,`\\supseteq`),Q(`\\Tau`,`\\mathrm{T}`),Q(`\\thetasym`,`\\vartheta`),Q(`\\weierp`,`\\wp`),Q(`\\Zeta`,`\\mathrm{Z}`),Q(`\\argmin`,`\\DOTSB\\operatorname*{arg\\,min}`),Q(`\\argmax`,`\\DOTSB\\operatorname*{arg\\,max}`),Q(`\\plim`,`\\DOTSB\\mathop{\\operatorname{plim}}\\limits`),Q(`\\bra`,`\\mathinner{\\langle{#1}|}`),Q(`\\ket`,`\\mathinner{|{#1}\\rangle}`),Q(`\\braket`,`\\mathinner{\\langle{#1}\\rangle}`),Q(`\\Bra`,`\\left\\langle#1\\right|`),Q(`\\Ket`,`\\left|#1\\right\\rangle`);var Yc=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get(`|`),s=t.macros.get(`\\|`);t.macros.beginGroup();var c=t=>n=>{e&&(n.macros.set(`|`,o),i.length&&n.macros.set(`\\|`,s));var a=t;return!t&&i.length&&n.future().text===`|`&&(n.popToken(),a=!0),{tokens:a?i:r,numArgs:0}};t.macros.set(`|`,c(!1)),i.length&&t.macros.set(`\\|`,c(!0));var l=t.consumeArg().tokens,u=t.expandTokens([...a,...l,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};Q(`\\bra@ket`,Yc(!1)),Q(`\\bra@set`,Yc(!0)),Q(`\\Braket`,`\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}`),Q(`\\Set`,`\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}`),Q(`\\set`,`\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}`),Q(`\\angln`,`{\\angl n}`),Q(`\\blue`,`\\textcolor{##6495ed}{#1}`),Q(`\\orange`,`\\textcolor{##ffa500}{#1}`),Q(`\\pink`,`\\textcolor{##ff00af}{#1}`),Q(`\\red`,`\\textcolor{##df0030}{#1}`),Q(`\\green`,`\\textcolor{##28ae7b}{#1}`),Q(`\\gray`,`\\textcolor{gray}{#1}`),Q(`\\purple`,`\\textcolor{##9d38bd}{#1}`),Q(`\\blueA`,`\\textcolor{##ccfaff}{#1}`),Q(`\\blueB`,`\\textcolor{##80f6ff}{#1}`),Q(`\\blueC`,`\\textcolor{##63d9ea}{#1}`),Q(`\\blueD`,`\\textcolor{##11accd}{#1}`),Q(`\\blueE`,`\\textcolor{##0c7f99}{#1}`),Q(`\\tealA`,`\\textcolor{##94fff5}{#1}`),Q(`\\tealB`,`\\textcolor{##26edd5}{#1}`),Q(`\\tealC`,`\\textcolor{##01d1c1}{#1}`),Q(`\\tealD`,`\\textcolor{##01a995}{#1}`),Q(`\\tealE`,`\\textcolor{##208170}{#1}`),Q(`\\greenA`,`\\textcolor{##b6ffb0}{#1}`),Q(`\\greenB`,`\\textcolor{##8af281}{#1}`),Q(`\\greenC`,`\\textcolor{##74cf70}{#1}`),Q(`\\greenD`,`\\textcolor{##1fab54}{#1}`),Q(`\\greenE`,`\\textcolor{##0d923f}{#1}`),Q(`\\goldA`,`\\textcolor{##ffd0a9}{#1}`),Q(`\\goldB`,`\\textcolor{##ffbb71}{#1}`),Q(`\\goldC`,`\\textcolor{##ff9c39}{#1}`),Q(`\\goldD`,`\\textcolor{##e07d10}{#1}`),Q(`\\goldE`,`\\textcolor{##a75a05}{#1}`),Q(`\\redA`,`\\textcolor{##fca9a9}{#1}`),Q(`\\redB`,`\\textcolor{##ff8482}{#1}`),Q(`\\redC`,`\\textcolor{##f9685d}{#1}`),Q(`\\redD`,`\\textcolor{##e84d39}{#1}
257`),Q(`\\redE`,`\\textcolor{##bc2612}{#1}`),Q(`\\maroonA`,`\\textcolor{##ffbde0}{#1}`),Q(`\\maroonB`,`\\textcolor{##ff92c6}{#1}`),Q(`\\maroonC`,`\\textcolor{##ed5fa6}{#1}`),Q(`\\maroonD`,`\\textcolor{##ca337c}{#1}`),Q(`\\maroonE`,`\\textcolor{##9e034e}{#1}`),Q(`\\purpleA`,`\\textcolor{##ddd7ff}{#1}`),Q(`\\purpleB`,`\\textcolor{##c6b9fc}{#1}`),Q(`\\purpleC`,`\\textcolor{##aa87ff}{#1}`),Q(`\\purpleD`,`\\textcolor{##7854ab}{#1}`),Q(`\\purpleE`,`\\textcolor{##543b78}{#1}`),Q(`\\mintA`,`\\textcolor{##f5f9e8}{#1}`),Q(`\\mintB`,`\\textcolor{##edf2df}{#1}`),Q(`\\mintC`,`\\textcolor{##e0e5cc}{#1}`),Q(`\\grayA`,`\\textcolor{##f6f7f7}{#1}`),Q(`\\grayB`,`\\textcolor{##f0f1f2}{#1}`),Q(`\\grayC`,`\\textcolor{##e3e5e6}{#1}`),Q(`\\grayD`,`\\textcolor{##d6d8da}{#1}`),Q(`\\grayE`,`\\textcolor{##babec2}{#1}`),Q(`\\grayF`,`\\textcolor{##888d93}{#1}`),Q(`\\grayG`,`\\textcolor{##626569}{#1}`),Q(`\\grayH`,`\\textcolor{##3b3e40}{#1}`),Q(`\\grayI`,`\\textcolor{##21242c}{#1}`),Q(`\\kaBlue`,`\\textcolor{##314453}{#1}`),Q(`\\kaGreen`,`\\textcolor{##71B307}{#1}`);var Xc={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Zc=class{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Vc(Hc,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Bc(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,n,r;if(e){if(this.consumeSpaces(),this.future().text!==`[`)return null;t=this.popToken(),{tokens:r,end:n}=this.consumeArg([`]`])}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new Vs(`EOF`,n.loc)),this.pushTokens(r),new Vs(``,Bs.range(t,n))}consumeSpaces(){for(;this.future().text===` `;)this.stack.pop()}consumeArg(e){var t=[],n=e&&e.length>0;n||this.consumeSpaces();var r=this.future(),i,a=0,o=0;do{if(i=this.popToken(),t.push(i),i.text===`{`)++a;else if(i.text===`}`){if(--a,a===-1)throw new F(`Extra }`,i)}else if(i.text===`EOF`)throw new F(`Unexpected end of input in a macro argument, expected '`+(e&&n?e[o]:`}`)+`'`,i);if(e&&n){if((a===0||a===1&&e[o]===`{`)&&i.text===e[o]){if(++o,o===e.length){t.splice(-o,o);break}}else o=0}}while(a!==0||n);return r.text===`{`&&t[t.length-1].text===`}`&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:r,end:i}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new F(`The length of delimiters doesn't match the number of args!`);for(var n=t[0],r=0;r<n.length;r++){var i=this.popToken();if(n[r]!==i.text)throw new F(`Use of the macro doesn't match its definition`,i)}}for(var a=[],o=0;o<e;o++)a.push(this.consumeArg(t&&t[o+1]).tokens);return a}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new F(`Too many expansions: infinite loop or need to increase maxExpand setting`)}expandOnce(e){var t=this.popToken(),n=t.text,r=t.noexpand?null:this._getExpansion(n);if(r==null||e&&r.unexpandable){if(e&&r==null&&n[0]===`\\`&&!this.isDefined(n))throw new F(`Undefined control sequence: `+n);return this.pushToken(t),!1}this.countExpansion(1);var i=r.tokens,a=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var s=i[o];if(s.text===`#`){if(o===0)throw new F(`Incomplete placeholder at end of macro body`,s);if(s=i[--o],s.text===`#`)i.splice(o+1,1);else if(/^[1-9]$/.test(s.text))i.splice(o,2,...a[s.text-1]);else throw new F(`Not a valid argument number`,s)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text=`\\relax`),e}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Vs(e)]):void 0}expandTokens(e){var t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var r=this.stack.pop();r.treatAsRelax&&=(r.noexpand=!1,!1),t.push(r)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(e=>e.text).join(``)}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var r=typeof t==`function`?t(this):t;if(typeof r==`string`){var i=0;if(r.includes(`#`))for(var a=r.replace(/##/g,``);a.includes(`#`+(i+1));)++i;for(var o=new Bc(r,this.settings),s=[],c=o.lex();c.text!==`EOF`;)s.push(c),c=o.lex();return s.reverse(),{tokens:s,numArgs:i}}return r}isDefined(e){return this.macros.has(e)||jc.hasOwnProperty(e)||ki.math.hasOwnProperty(e)||ki.text.hasOwnProperty(e)||Xc.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t==null?jc.hasOwnProperty(e)&&!jc[e].primitive:typeof t==`string`||typeof t==`function`||!t.unexpandable}},Qc=/^[âââââââââââ
âââââââᵢⱼââââââáµ£ââᵤᵥâᵦᵧᵨᵩᵪ]/,$c=Object.freeze({"â":`+`,"â":`-`,"â":`=`,"â":`(`,"â":`)`,"â":`0`,"â":`1`,"â":`2`,"â":`3`,"â
257":`4`,"â
":`5`,"â":`6`,"â":`7`,"â":`8`,"â":`9`,â:`a`,â:`e`,â:`h`,áµ¢:`i`,â±¼:`j`,â:`k`,â:`l`,â:`m`,â:`n`,â:`o`,â:`p`,áµ£:`r`,â:`s`,â:`t`,ᵤ:`u`,áµ¥:`v`,â:`x`,ᵦ:`β`,áµ§:`γ`,ᵨ:`Ï`,ᵩ:`Ï`,ᵪ:`Ï`,"âº":`+`,"â»":`-`,"â¼":`=`,"â½":`(`,"â¾":`)`,"â°":`0`,"¹":`1`,"²":`2`,"³":`3`,"â´":`4`,"âµ":`5`,"â¶":`6`,"â·":`7`,"â¸":`8`,"â¹":`9`,á´¬:`A`,á´®:`B`,á´°:`D`,á´±:`E`,á´³:`G`,á´´:`H`,á´µ:`I`,á´¶:`J`,á´·:`K`,á´¸:`L`,á´¹:`M`,á´º:`N`,á´¼:`O`,á´¾:`P`,á´¿:`R`,áµ:`T`,áµ:`U`,â±½:`V`,áµ:`W`,áµ:`a`,áµ:`b`,á¶:`c`,áµ:`d`,áµ:`e`,á¶ :`f`,áµ:`g`,ʰ:`h`,â±:`i`,ʲ:`j`,áµ:`k`,Ë¡:`l`,áµ:`m`,â¿:`n`,áµ:`o`,áµ:`p`,ʳ:`r`,Ë¢:`s`,áµ:`t`,áµ:`u`,áµ:`v`,Ê·:`w`,Ë£:`x`,ʸ:`y`,á¶»:`z`,áµ:`β`,áµ:`γ`,áµ:`δ`,áµ :`Ï`,ᵡ:`Ï`,á¶¿:`θ`}),el={"Ì":{text:`\\'`,math:`\\acute`},"Ì":{text:"\\`",math:`\\grave`},"Ì":{text:`\\"`,math:`\\ddot`},"Ì":{text:`\\~`,math:`\\tilde`},"Ì":{text:`\\=`,math:`\\bar`},"Ì":{text:`\\u`,math:`\\breve`},"Ì":{text:`\\v`,math:`\\check`},"Ì":{text:`\\^`,math:`\\hat`},"Ì":{text:`\\.`,math:`\\dot`},"Ì":{text:`\\r`,math:`\\mathring`},"Ì":{text:`\\H`},"̧":{text:`\\c`}},tl={á:`aÌ`,à :`aÌ`,ä:`aÌ`,Ç:`aÌÌ`,ã:`aÌ`,Ä:`aÌ`,Ä:`aÌ`,ắ:`aÌÌ`,ằ:`aÌÌ`,ẵ:`aÌÌ`,Ç:`aÌ`,â:`aÌ`,ấ:`aÌÌ`,ầ:`aÌÌ`,ẫ:`aÌÌ`,ȧ:`aÌ`,Ç¡:`aÌÌ`,Ã¥:`aÌ`,Ç»:`aÌÌ`,á¸:`bÌ`,Ä:`cÌ`,á¸:`çÌ`,Ä:`cÌ`,Ä:`cÌ`,Ä:`cÌ`,ç:`ç`,Ä:`dÌ`,á¸:`dÌ`,á¸:`ḑ`,é:`eÌ`,è:`eÌ`,ë:`eÌ`,ẽ:`eÌ`,Ä:`eÌ`,á¸:`eÌÌ`,á¸:`eÌÌ`,Ä:`eÌ`,á¸:`ȩÌ`,Ä:`eÌ`,ê:`eÌ`,ế:`eÌÌ`,á»:`eÌÌ`,á»
:`eÌÌ`,Ä:`eÌ`,È©:`ȩ`,á¸:`fÌ`,ǵ:`gÌ`,ḡ:`gÌ`,Ä:`gÌ`,ǧ:`gÌ`,Ä:`gÌ`,Ä¡:`gÌ`,Ä£:`ģ`,ḧ:`hÌ`,È:`hÌ`,Ä¥:`hÌ`,ḣ:`hÌ`,ḩ:`ḩ`,Ã:`iÌ`,ì:`iÌ`,ï:`iÌ`,ḯ:`iÌÌ`,Ä©:`iÌ`,Ä«:`iÌ`,Ä:`iÌ`,Ç:`iÌ`,î:`iÌ`,ǰ:`jÌ`,ĵ:`jÌ`,ḱ:`kÌ`,Ç©:`kÌ`,Ä·:`ķ`,ĺ:`lÌ`,ľ:`lÌ`,ļ:`ļ`,ḿ:`mÌ`,á¹:`mÌ`,Å:`nÌ`,ǹ:`nÌ`,ñ:`nÌ`,Å:`nÌ`,á¹
:`nÌ`,Å:`ņ`,ó:`oÌ`,ò:`oÌ`,ö:`oÌ`,È«:`oÌÌ`,õ:`oÌ`,á¹:`oÌÌ`,á¹:`oÌÌ`,È:`oÌÌ`,Å:`oÌ`,á¹:`oÌÌ`,á¹:`oÌÌ`,Å:`oÌ`,Ç:`oÌ`,ô:`oÌ`,á»:`oÌÌ`,á»:`oÌÌ`,á»:`oÌÌ`,ȯ:`oÌ`,ȱ:`oÌÌ`,Å:`oÌ`,á¹:`pÌ`,á¹:`pÌ`,Å:`rÌ`,Å:`rÌ`,á¹:`rÌ`,Å:`ŗ`,Å:`sÌ`,á¹¥:`sÌÌ`,Å¡:`sÌ`,á¹§:`sÌÌ`,Å:`sÌ`,ṡ:`sÌ`,Å:`ş`,áº:`tÌ`,Å¥:`tÌ`,ṫ:`tÌ`,Å£:`ţ`,ú:`uÌ`,ù:`uÌ`,ü:`uÌ`,Ç:`uÌÌ`,Ç:`uÌÌ`,Ç:`uÌÌ`,Ç:`uÌÌ`,Å©:`uÌ`,á¹¹:`uÌÌ`,Å«:`uÌ`,á¹»:`uÌÌ`,Å:`uÌ`,Ç:`uÌ`,û:`uÌ`,ů:`uÌ`,ű:`uÌ`,á¹½:`vÌ`,áº:`wÌ`,áº:`wÌ`,áº
:`wÌ`,ŵ:`wÌ`,áº:`wÌ`,áº:`wÌ`,áº:`xÌ`,áº:`xÌ`,ý:`yÌ`,ỳ:`yÌ`,ÿ:`yÌ`,ỹ:`yÌ`,ȳ:`yÌ`,Å·:`yÌ`,áº:`yÌ`,áº:`yÌ`,ź:`zÌ`,ž:`zÌ`,áº:`zÌ`,ż:`zÌ`,Ã:`AÌ`,Ã:`AÌ`,Ã:`AÌ`,Ç:`AÌÌ`,Ã:`AÌ`,Ä:`AÌ`,Ä:`AÌ`,Ắ:`AÌÌ`,Ằ:`AÌÌ`,Ẵ:`AÌÌ`,Ç:`AÌ`,Ã:`AÌ`,Ấ:`AÌÌ`,Ầ:`AÌÌ`,Ẫ:`AÌÌ`,Ȧ:`AÌ`,Ç :`AÌÌ`,Ã
:`AÌ`,Ǻ:`AÌÌ`,á¸:`BÌ`,Ä:`CÌ`,á¸:`ÇÌ`,Ä:`CÌ`,Ä:`CÌ`,Ä:`CÌ`,Ã:`Ç`,Ä:`DÌ`,á¸:`DÌ`,á¸:`Ḑ`,Ã:`EÌ`,Ã:`EÌ`,Ã:`EÌ`,Ẽ:`EÌ`,Ä:`EÌ`,á¸:`EÌÌ`,á¸:`EÌÌ`,Ä:`EÌ`,á¸:`ȨÌ`,Ä:`EÌ`,Ã:`EÌ`,Ế:`EÌÌ`,á»:`EÌÌ`,á»:`EÌÌ`,Ä:`EÌ`,Ȩ:`Ȩ`,á¸:`FÌ`,Ç´:`GÌ`,Ḡ:`GÌ`,Ä:`GÌ`,Ǧ:`GÌ`,Ä:`GÌ`,Ä :`GÌ`,Ä¢:`Ģ`,Ḧ:`HÌ`,È:`HÌ`,Ĥ:`HÌ`,Ḣ:`HÌ`,Ḩ:`Ḩ`,Ã:`IÌ`,Ã:`IÌ`,Ã:`IÌ`,Ḯ:`IÌÌ`,Ĩ:`IÌ`,Ī:`IÌ`,Ĭ:`IÌ`,Ç:`IÌ`,Ã:`IÌ`,İ:`IÌ`,Ä´:`JÌ`,Ḱ:`KÌ`,Ǩ:`KÌ`,Ķ:`Ķ`,Ĺ:`LÌ`,Ľ:`LÌ`,Ä»:`Ļ`,Ḿ:`MÌ`,á¹:`MÌ`,Å:`NÌ`,Ǹ:`NÌ`,Ã:`NÌ`,Å:`NÌ`,á¹:`NÌ`,Å
:`Ņ`,Ã:`OÌ`,Ã:`OÌ`,Ã:`OÌ`,Ȫ:`OÌÌ`,Ã:`OÌ`,á¹:`OÌÌ`,á¹:`OÌÌ`,Ȭ:`OÌÌ`,Å:`OÌ`,á¹:`OÌÌ`,á¹:`OÌÌ`,Å:`OÌ`,Ç:`OÌ`,Ã:`OÌ`,á»:`OÌÌ`,á»:`OÌÌ`,á»:`OÌÌ`,È®:`OÌ`,Ȱ:`OÌÌ`,Å:`OÌ`,á¹:`PÌ`,á¹:`PÌ`,Å:`RÌ`,Å:`RÌ`,á¹:`RÌ`,Å:`Ŗ`,Å:`SÌ`,Ṥ:`SÌÌ`,Å :`SÌ`,Ṧ:`SÌÌ`,Å:`SÌ`,á¹ :`SÌ`,Å:`Ş`,Ť:`TÌ`,Ṫ:`TÌ`,Å¢:`Ţ`,Ã:`UÌ`,Ã:`UÌ`,Ã:`UÌ`,Ç:`UÌÌ`,Ç:`UÌÌ`,Ç:`UÌÌ`,Ç:`UÌÌ`,Ũ:`UÌ`,Ṹ:`UÌÌ`,Ū:`UÌ`,Ṻ:`UÌÌ`,Ŭ:`UÌ`,Ç:`UÌ`,Ã:`UÌ`,Å®:`UÌ`,Ű:`UÌ`,á¹¼:`VÌ`,áº:`WÌ`,áº:`WÌ`,áº:`WÌ`,Å´:`WÌ`,áº:`WÌ`,áº:`XÌ`,áº:`XÌ`,Ã:`YÌ`,Ỳ:`YÌ`,Ÿ:`YÌ`,Ỹ:`YÌ`,Ȳ:`YÌ`,Ŷ:`YÌ`,áº:`YÌ`,Ź:`ZÌ`,Ž:`ZÌ`,áº:`ZÌ`,Å»:`ZÌ`,ά:`αÌ`,á½°:`αÌ`,á¾±:`αÌ`,á¾°:`αÌ`,Î:`εÌ`,á½²:`εÌ`,ή:`ηÌ`,á½´:`ηÌ`,ί:`ιÌ`,á½¶:`ιÌ`,Ï:`ιÌ`,Î:`ιÌÌ`,á¿:`ιÌÌ`,á¿:`ιÌ`,á¿:`ιÌ`,Ï:`οÌ`,ὸ:`οÌ`,Ï:`Ï
Ì`,ὺ:`Ï
Ì`,Ï:`Ï
Ì`,ΰ:`Ï
ÌÌ`,á¿¢:`Ï
ÌÌ`,á¿¡:`Ï
Ì`,á¿ :`Ï
Ì`,Ï:`ÏÌ`,á½¼:`ÏÌ`,Î:`Î¥Ì`,Ὺ:`Î¥Ì`,Ϋ:`Î¥Ì`,á¿©:`Î¥Ì`,Ῠ:`Î¥Ì`,Î:`ΩÌ`,Ὼ:`ΩÌ`},nl=class e{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode=`math`,this.gullet=new Zc(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(e,t){if(t===void 0&&(t=!0),this.fetch().text!==e)throw new F(`Expected '`+e+`', got '`+this.fetch().text+`'`,this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken??=this.gullet.expandNextToken(),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set(`\\color`,`\\textcolor`);try{var e=this.parseExpression(!1);return this.expect(`EOF`),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Vs(`}`)),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect(`}`),this.nextToken=t,n}parseExpression(t,n){for(var r=[];;){this.mode===`math`&&this.consumeSpaces();var i=this.fetch();if(e.endOfExpression.has(i.text)||n&&i.text===n||t&&jc[i.text]&&jc[i.text].infix)break;var a=this.parseAtom(n);if(!a)break;a.type!==`internal`&&r.push(a)}return this.mode===`text`&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t=-1,n,r=0;r<e.length;r++){var i=e[r];if(i.type===`infix`){if(t!==-1)throw new F(`only one infix operator per group`,i.token);t=r,n=i.replaceWith}}if(t!==-1&&n){var a,o,s=e.slice(0,t),c=e.slice(t+1);return a=s.length===1&&s[0].type===`ordgroup`?s[0]:{type:`ordgroup`,mode:this.mode,body:s}
vendor: 5,486 bytes, line 257
257,o=c.length===1&&c[0].type===`ordgroup`?c[0]:{type:`ordgroup`,mode:this.mode,body:c},[n===`\\\\abovefrac`?this.callFunction(n,[a,e[t],o],[]):this.callFunction(n,[a,o],[])]}return e}handleSupSubscript(e){var t=this.fetch(),n=t.text;this.consume(),this.consumeSpaces();var r;do r=this.parseGroup(e);while(r?.type===`internal`);if(!r)throw new F(`Expected group after '`+n+`'`,t);return r}formatUnsupportedCmd(e){for(var t=[],n=0;n<e.length;n++)t.push({type:`textord`,mode:`text`,text:e[n]});var r={type:`text`,mode:this.mode,body:t};return{type:`color`,mode:this.mode,color:this.settings.errorColor,body:[r]}}parseAtom(e){var t=this.parseGroup(`atom`,e);if(t?.type===`internal`||this.mode===`text`)return t;for(var n,r;;){this.consumeSpaces();var i=this.fetch();if(i.text===`\\limits`||i.text===`\\nolimits`){if(t&&t.type===`op`)t.limits=i.text===`\\limits`,t.alwaysHandleSupSub=!0;else if(t&&t.type===`operatorname`)t.alwaysHandleSupSub&&(t.limits=i.text===`\\limits`);else throw new F(`Limit controls must follow a math operator`,i);this.consume()}else if(i.text===`^`){if(n)throw new F(`Double superscript`,i);n=this.handleSupSubscript(`superscript`)}else if(i.text===`_`){if(r)throw new F(`Double subscript`,i);r=this.handleSupSubscript(`subscript`)}else if(i.text===`'`){if(n)throw new F(`Double superscript`,i);var a={type:`textord`,mode:this.mode,text:`\\prime`},o=[a];for(this.consume();this.fetch().text===`'`;)o.push(a),this.consume();this.fetch().text===`^`&&o.push(this.handleSupSubscript(`superscript`)),n={type:`ordgroup`,mode:this.mode,body:o}}else if($c[i.text]){var s=Qc.test(i.text),c=[];for(c.push(new Vs($c[i.text])),this.consume();;){var l=this.fetch().text;if(!$c[l]||Qc.test(l)!==s)break;c.unshift(new Vs($c[l])),this.consume()}var u=this.subparse(c);s?r={type:`ordgroup`,mode:`math`,body:u}:n={type:`ordgroup`,mode:`math`,body:u}}else break}return n&&r?{type:`supsub`,mode:this.mode,base:t,sup:n,sub:r}:n?{type:`supsub`,mode:this.mode,base:t,sup:n}:r?{type:`supsub`,mode:this.mode,base:t,sub:r}:t}parseFunction(e,t){var n=this.fetch(),r=n.text,i=jc[r];if(!i)return null;if(this.consume(),t&&t!==`atom`&&!i.allowedInArgument)throw new F(`Got function '`+r+`' with no arguments`+(t?` as `+t:``),n);if(this.mode===`text`&&!i.allowedInText)throw new F(`Can't use function '`+r+`' in text mode`,n);if(this.mode===`math`&&i.allowedInMath===!1)throw new F(`Can't use function '`+r+`' in math mode`,n);var{args:a,optArgs:o}=this.parseArguments(r,i);return this.callFunction(r,a,o,n,e)}callFunction(e,t,n,r,i){var a={funcName:e,parser:this,token:r,breakOnTokenText:i},o=jc[e];if(o&&o.handler)return o.handler(a,t,n);throw new F(`No function handler for `+e)}parseArguments(e,t){var n=t.numOptionalArgs??0,r=t.numArgs+n;if(r===0)return{args:[],optArgs:[]};for(var i=[],a=[],o=0;o<r;o++){var s=t.argTypes?.[o],c=o<n;(`primitive`in t&&t.primitive&&s==null||t.type===`sqrt`&&o===1&&a[0]==null)&&(s=`primitive`);var l=this.parseGroupOfType(`argument to '`+e+`'`,s,c);if(c)a.push(l);else if(l!=null)i.push(l);else throw new F(`Null argument, please report this as a bug`)}return{args:i,optArgs:a}}parseGroupOfType(e,t,n){switch(t){case`color`:return this.parseColorGroup(n);case`size`:return this.parseSizeGroup(n);case`url`:return this.parseUrlGroup(n);case`math`:case`text`:return this.parseArgumentGroup(n,t);case`hbox`:var r=this.parseArgumentGroup(n,`text`);return r==null?null:{type:`styling`,mode:r.mode,body:[r],style:`text`,resetFont:!0};case`raw`:var i=this.parseStringGroup(n);return i==null?null:{type:`raw`,mode:`text`,string:i.text};case`primitive`:if(n)throw new F(`A primitive argument cannot be optional`);var a=this.parseGroup(e);if(a==null)throw new F(`Expected group as `+e,this.fetch());return a;case`original`:case void 0:return this.parseArgumentGroup(n);default:throw new F(`Unknown group type as `+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===` `;)this.consume()}parseStringGroup(e){var t=this.gullet.scanArgument(e);if(t==null)return null;for(var n=``,r;(r=this.fetch()).text!==`EOF`;)n+=r.text,this.consume();return this.consume(),t.text=n,t}parseRegexGroup(e,t){for(var n=this.fetch(),r=n,i=``,a;(a=this.fetch()).text!==`EOF`&&e.test(i+a.text);)r=a,i+=r.text,this.consume();if(i===``)throw new F(`Invalid `+t+`: '`+n.text+`'`,n);return n.range(r,i)}parseColorGroup(e){var t=this.parseStringGroup(e);if(t==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new F(`Invalid color: '`+t.text+`'`,t);var r=n[0];return/^[0-9a-f]{6}$/i.test(r)&&(r=`#`+r),{type:`color-token`,mode:this.mode,color:r}}parseSizeGroup(e){var t,n=!1;if(this.gullet.consumeSpaces(),t=!e&&this.gullet.future().text!==`{`?this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,`size`):this.parseStringGroup(e),!t)return null;!e&&t.text.length===0&&(t.text=`0pt`,n=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new F(`Invalid size: '`+t.text+`'`,t);var i={number:+(r[1]+r[2]),unit:r[3]};if(!ri(i))throw new F(`Invalid unit: '`+i.unit+`'`,t);return{type:`size`,mode:this.mode,value:i,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode(`%`,13),this.gullet.lexer.setCatcode(`~`,12);var t=this.parseStringGroup(e);if(this.gullet.lexer.setCatcode(`%`,14),this.gullet.lexer.setCatcode(`~`,13),t==null)return null;var n=t.text.replace(/\\([#$%&~_^{}])/g,`$1`);return{type:`url`,mode:this.mode,url:n}}parseArgumentGroup(e,t){var n=this.gullet.scanArgument(e);
vendor: 4,279 bytes, lines 257-258
257if(n==null)return null;var r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var i=this.parseExpression(!1,`EOF`);this.expect(`EOF`),this.gullet.endGroup();var a={type:`ordgroup`,mode:this.mode,loc:n.loc,body:i};return t&&this.switchMode(r),a}parseGroup(e,t){var n=this.fetch(),r=n.text,i;if(r===`{`||r===`\\begingroup`){this.consume();var a=r===`{`?`}`:`\\endgroup`;this.gullet.beginGroup();var o=this.parseExpression(!1,a),s=this.fetch();this.expect(a),this.gullet.endGroup(),i={type:`ordgroup`,mode:this.mode,loc:Bs.range(n,s),body:o,semisimple:r===`\\begingroup`||void 0}}else if(i=this.parseFunction(t,e)||this.parseSymbol(),i==null&&r[0]===`\\`&&!Xc.hasOwnProperty(r)){if(this.settings.throwOnError)throw new F(`Undefined control sequence: `+r,n);i=this.formatUnsupportedCmd(r),this.consume()}return i}formLigatures(e){for(var t=e.length-1,n=0;n<t;++n){var r=e[n];if(r.type===`textord`){var i=r.text,a=e[n+1];if(a&&a.type===`textord`){if(i===`-`&&a.text===`-`){var o=e[n+2];n+1<t&&o&&o.type===`textord`&&o.text===`-`?(e.splice(n,3,{type:`textord`,mode:`text`,loc:Bs.range(r,o),text:`---`}),t-=2):(e.splice(n,2,{type:`textord`,mode:`text`,loc:Bs.range(r,a),text:`--`}),--t)}(i===`'`||i==="`")&&a.text===i&&(e.splice(n,2,{type:`textord`,mode:`text`,loc:Bs.range(r,a),text:i+i}),--t)}}}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var n=t.slice(5),r=n.charAt(0)===`*`;if(r&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new F(`\\verb assertion failed -- 258 please report what input caused this bug`);return n=n.slice(1,-1),{type:`verb`,mode:`text`,body:n,star:r}}tl.hasOwnProperty(t[0])&&!ki[this.mode][t[0]]&&(this.settings.strict&&this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Accented Unicode text character "`+t[0]+`" used in math mode`,e),t=tl[t[0]]+t.slice(1));var i=Rc.exec(t);i&&(t=t.substring(0,i.index),t===`i`?t=`ı`:t===`j`&&(t=`ȷ`));var a;if(ki[this.mode][t]){this.settings.strict&&this.mode===`math`&&Zi.includes(t)&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Latin-1/Unicode text character "`+t[0]+`" used in math mode`,e);var o=ki[this.mode][t].group,s=Bs.range(e);a=Io(o)?{type:`atom`,mode:this.mode,family:o,loc:s,text:t}:{type:o,mode:this.mode,loc:s,text:t}}else if(t.charCodeAt(0)>=128)this.settings.strict&&(zr(t.charCodeAt(0))?this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Unicode text character "`+t[0]+`" used in math mode`,e):this.settings.reportNonstrict(`unknownSymbol`,`Unrecognized Unicode character "`+t[0]+`"`+(` (`+t.charCodeAt(0)+`)`),e)),a={type:`textord`,mode:`text`,loc:Bs.range(e),text:t};else return null;if(this.consume(),i)for(var c=0;c<i[0].length;c++){var l=i[0][c];if(!el[l])throw new F(`Unknown accent ' `+l+`'`,e);var u=el[l][this.mode]||el[l].text;if(!u)throw new F(`Accent `+l+` unsupported in `+this.mode+` mode`,e);a={type:`accent`,mode:this.mode,loc:Bs.range(e),label:u,isStretchy:!1,isShifty:!0,base:a}}return a}};nl.endOfExpression=new Set([`}`,`\\endgroup`,`\\end`,`\\right`,`&`]);var rl=function(e,t){if(!(typeof e==`string`||e instanceof String))throw TypeError(`KaTeX can only parse string typed expression`);var n=new nl(e,t);delete n.gullet.macros.current[`\\df@tag`];var r=n.parse();if(delete n.gullet.macros.current[`\\current@color`],delete n.gullet.macros.current[`\\color`],n.gullet.macros.get(`\\df@tag`)){if(!t.displayMode)throw new F(`\\tag works only in display equations`);r=[{type:`tag`,mode:`text`,body:r,tag:n.subparse([new Vs(`\\df@tag`)])}]}return r},il=function(e,t,n){t.textContent=``;var r=cl(e,n).toNode();t.appendChild(r)};typeof document<`u`&&document.compatMode!==`CSS1Compat`&&(typeof console<`u`&&console.warn(`Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.`),il=function(){throw new F(`KaTeX doesn't work in quirks mode.`)});var al=function(e,t){return cl(e,t).toMarkup()},ol=function(e,t){return rl(e,new yr(t))},sl=function(e,t,n){if(n.throwOnError||!(e instanceof F))throw e;var r=J([`katex-error`],[new hi(t)]);return r.setAttribute(`title`,e.toString()),r.setAttribute(`style`,`color:`+n.errorColor),r},cl=function(e,t){var n=new yr(t);try{return Eo(rl(e,n),e,n)}catch(t){return sl(t,e,n)}}
258,ll={version:`0.17.0`,render:il,renderToString:al,ParseError:F,SETTINGS_SCHEMA:hr,__parse:ol,__renderToDomTree:cl,__renderToHTMLTree:function(e,t){var n=new yr(t);try{return Do(rl(e,n),e,n)}catch(t){return sl(t,e,n)}},__setFontMetrics:Ti,__defineSymbol:R,__defineFunction:Y,__defineMacro:Q,__domTree:{Span:di,Anchor:fi,SymbolNode:hi,SvgNode:gi,PathNode:_i,LineNode:vi}},ul=O({name:`Math`,props:{content:{type:String,required:!0},class:{type:String,default:``},__node:{type:Object,default:()=>({})}},setup(e){let t=T(()=>e.class?.includes(`inline`)),n=M(`...`);return o(()=>e.content,()=>{try{n.value=ll.renderToString(e.content,{throwOnError:!0,displayMode:!t.value})}catch{}},{immediate:!0}),t.value?()=>r(`span`,{class:`math inline`,innerHTML:n.value}):()=>r(`div`,{class:`math block`,innerHTML:n.value})}});function dl(e,t){e.core.ruler.after(`block`,`replace-pre`,e=>{for(let n of e.tokens)if(n.type===`fence`&&n.info?.startsWith(`mermaid`)){let e=n.info.substring(7).trim(),r=[],i=e.indexOf(`{`);if(i!==-1){let t=fl(e.substring(i));t&&(r=t.props,e=e.substring(t.index))}n.type=`mermaid`,n.tag=`mermaid`;for(let e of r)n.attrJoin(e[0],e[1]);t?.theme&&n.attrSet(`theme`,t.theme),t?.themeDark&&n.attrSet(`theme-dark`,t.themeDark),n.info=e,n.attrSet(`content`,n.content)}})}function fl(e,t=0){let n={"[":`]`,"{":`}`,"(":`)`},r={"'":`'`,'"':`"`,"`":"`"};if(e[t]!==`{`)throw Error(`Invalid props, expected \`{\` but got '${e[t]}'`);let i=[];if(e[t+1]===`{`)return;for(t+=1;t<e.length;)if(e[t]===`\\`)t+=2;else if(e[t]===`}`){t+=1;break}else if(e[t]===` `)t+=1;else if(e[t]===`.`)t+=1,i.push([`class`,a(` #.}`)]);else if(e[t]===`#`)t+=1,i.push([`id`,a(` #.}`)]);else{let n=t;for(;t<e.length&&(t+=1,!` }=`.includes(e[t])););let r=e[t];if(n!==t){let a=e.slice(n,t).trim();r===`=`?(t+=1,i.push([a,o()])):i.push([a,`true`])}}function a(n){let r=t;for(;t<e.length&&(t+=1,e[t]===`\\`&&(t+=2),!n.includes(e[t])););return e.slice(r,t)}function o(){let i=t;return e[t]in n?(s(n[e[t]]),t+=1,e.slice(i,t)):e[t]in r?(c(r[e[t]]),t+=1,e.slice(i,t)):a(` }`)}function s(i){for(;t<e.length;)if(t++,e[t]in r)c(r[e[t]]);else if(e[t]in n)s(n[e[t]]);else if(e[t]===i)return}function c(e){return a(e)}return i.forEach(e=>{e[1].match(/^(['"`]).*\1$/)&&(e[1]=e[1].slice(1,-1))}),{props:i,index:t}}var pl=Xt((e={})=>({name:`mermaid`,markdownItPlugins:[(t=>dl(t,e))]})),ml=(e,t={})=>{let n=t.tag||`binding`;e.inline.ruler.after(`entity`,`mdc_inline_binding`,(e,t)=>{let r=e.pos;if(e.src[r]!==`{`||e.src[r+1]!==`{`)return!1;let i=r+2;for(;i<e.posMax-1&&(e.src[i]!==`}`||e.src[i+1]!==`}`);)i+=1;if(i>=e.posMax-1)return!1;let a=e.src.slice(r+2,i).trim();if(!a)return!1;let o=a.indexOf(`||`),s=o===-1?a:a.slice(0,o).trim(),c=o===-1?``:a.slice(o+2).trim();if(!s)return!1;if(e.pos=i+2,t)return!0;let l=e.push(`mdc_inline_component`,n,0);return l.attrSet(`:value`,s),c&&l.attrSet(`defaultValue`,c),!0})},hl=Xt((e={})=>({name:`binding`,markdownItPlugins:[(t=>ml(t,e))]})),gl=O({name:`Binding`,props:{value:{type:[String,Number,Boolean,Object,Array],default:void 0},defaultValue:{type:String,default:void 0}},setup(e){let t=T(()=>e.value!==void 0&&e.value!==null?typeof e.value==`object`?JSON.stringify(e.value):String(e.value):e.defaultValue??``);return()=>r(x,t.value)}}),_l=er({name:`ComarkPlaygroundRenderer`,components:{Math:ul,Mermaid:Qt,Binding:gl}}),vl={slots:{root:`relative outline-primary/25 focus-visible:outline-3`,viewport:`relative flex`,item:``},variants:{orientation:{vertical:{root:`overflow-y-auto overflow-x-hidden`,viewport:`flex-col`,item:``},horizontal:{root:`overflow-x-auto overflow-y-hidden`,viewport:`flex-row`,item:``}},externalScroll:{true:{root:`overflow-visible`}}}},yl=[`data-index`],bl={__name:`UScrollArea`,props:{as:{type:null,required:!1},orientation:{type:null,required:!1,default:`vertical`},items:{type:Array,required:!1},virtualize:{type:[Boolean,Object],required:!1,default:!1},shadow:{type:[Boolean,Object],required:!1,default:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},emits:[`scroll`],setup(e,{expose:n,emit:r}){let i=e,a=r,s=xe(`scrollArea`,i),{dir:c}=lt(),l=ve(),u=T(()=>typeof s.virtualize==`object`&&!!s.virtualize.getScrollElement),f=T(()=>Te({extend:vl,...l.ui?.scrollArea||{}})({orientation:s.orientation,externalScroll:u.value})),m=p(`rootRef`),h=s.shadow?$t(T(()=>m.value?.$el),{orientation:()=>s.orientation??`vertical`,size:typeof s.shadow==`object`?s.shadow.size:void 0}).style:void 0,_=T(()=>c.value===`rtl`),b=T(()=>s.orientation===`horizontal`),x=T(()=>!b.value),C=()=>(u.value?E.value.getScrollElement?.():m.value?.$el)??null,E=ce(()=>{let e=typeof s.virtualize==`boolean`?{}:s.virtualize;return t(e,{estimateSize:100,overscan:12,gap:0,paddingStart:0,paddingEnd:0,scrollMargin:0})}),D=T(()=>{let e=E.value.lanes;return typeof e==`number`?e:void 0}),ee=T(()=>typeof s.virtualize==`object`&&s.virtualize.skipMeasurement===!0),O=!!s.virtualize&&ot({...E.value,get overscan(){return E.value.overscan},get gap(){return E.value.gap},get paddingStart(){return E.value.paddingStart},get paddingEnd(){return E.value.paddingEnd},get scrollMargin(){return E.value.scrollMargin},get lanes(){return D.value},get isRtl(){return _.value},get count(){return s.items?.length||0},getScrollElement:C,get horizontal(){return b.value},estimateSize:e=>{let t=E.value.estimateSize;return typeof t==`function`?t(e):t}}),ne=T(()=>O?O.value.getVirtualItems():[]),re=T(()=>O?O.value.getTotalSize():0),ie=T(()=>({position:`relative`,inlineSize:b.value?`${re.value}px`:`100%`,blockSize:x.value?`${re.value}px`:`100%`}));function ae(e){let t=D.value!==void 0&&D.value>1,n=e.lane,r=E.value.gap??0,i=e.start-E.value.scrollMargin,a=t?`calc((100% - ${(D.value-1)*r}px) / ${D.value})`:`100%`,o=t&&n!==void 0?`calc(${n} * ((100% - ${(D.value-1)*r}px) / ${D.value} + ${r}px))`:0;return{position:`absolute`,insetBlockStart:b.value&&t?o:0,insetInlineStart:x.value&&t?o:0,blockSize:b.value?t?a:`100%`:void 0,inlineSize:x.value?t?a:`100%`:void 0,transform:b.value?`translateX(${_.value?-i:i}px)`:`translateY(${i}px)`}}let oe=null,M=null;o(C,e=>{oe?.disconnect(),oe=null,O&&e&&(oe=new ResizeObserver(()=>{M===null&&(M=requestAnimationFrame(()=>{M=null,O.value.measure()}))}),oe.observe(e))},{immediate:!0}),w(()=>{M!==null&&(cancelAnimationFrame(M),M=null),oe?.disconnect()});function se(e){if(e&&O&&!ee.value){let t=e instanceof Element?e:e.$el;O.value.measureElement(t)}}o(()=>O?O.value.isScrolling:!1,e=>a(`scroll`,e));function le(e,t){return E.value.getItemKey?E.value.getItemKey(t):e&&typeof e==`object`&&`id`in e?e.id:t}return n({get $el(){return m.value?.$el},virtualizer:O||void 0}),(e,t)=>(k(),j(d(Fe),{ref_key:`rootRef`,ref:m,as:d(s).as,"data-slot":`root`,"data-orientation":d(s).orientation,class:g(f.value.root({class:[d(s).ui?.root,d(s).class]})),style:S(d(h))},{default:A(()=>[d(O)?(k(),v(`div`,{key:0,"data-slot":`viewport`,class:g(f.value.viewport({class:d(s).ui?.viewport})),style:S(ie.value)},[(k(!0),v(te,null,y(ne.value,t=>(k(),v(`div`,{key:String(t.key),ref_for:!0,ref:se,"data-index":t.index,"data-slot":`item`,class:g(f.value.item({class:d(s).ui?.item})),style:S(ae(t))},[N(e.$slots,`default`,{item:d(s).items?.[t.index],index:t.index,virtualItem:t})],14,yl))),128))],6)):(k(),v(`div`,{key:1,"data-slot":`viewport`,class:g(f.value.viewport({class:d(s).ui?.viewport}))},[d(s).items?(k(!0),v(te,{key:0},y(d(s).items,(t,n)=>(k(),v(`div`,{key:le(t,n),"data-slot":`item`,class:g(f.value.item({class:d(s).ui?.item}))},[N(e.$slots,`default`,{item:t,index:n})],2))),128)):N(e.$slots,`default`,{item:{},index:0},void 0,void 0,1)],2))]),_:3},8,[`as`,`data-orientation`,`class`,`style`]))}},xl=`[a-z$][\\w$-]*`,Sl=`\\{(?:[^{}'"]|'[^']*'|"[^"]*")*\\}`,Cl=`\\[[^\\]]*\\]`,wl=[[/^\{|\}$/g,`oper`],[/[.#][^\s.#}='"]+/g,`class`],[/=\s*("[^"]*"?|'[^']*'?|`[^`]*`?|[^\s}]+)/g,`str`,[[/^=/g,`oper`]]],[/[:@]?[a-z_$][\w$-]*/gi,`var`]],Tl=[[/:+/g,`oper`],[RegExp(`(?<=:)${xl}`,`gi`),`class`],[RegExp(Sl,`g`),void 0,wl],[RegExp(Cl,`g`),void 0,[[/^\[|\]$/g,`oper`]]]],El=/^---[ \t]*\r?\n[^]*?\r?\n---[ \t]*(?=\r?\n|$)/,Dl={lastIndex:0,exec(e){if(this.lastIndex>0)return null;let t=El.exec(e);return t?(this.lastIndex=t[0].length,t):null}};function Ol(e){let t=e==="`"?"`":`~`;return[RegExp(`^(${t}{3,})(.*)\\n[^]*?^\\1[ \\t]*$`,`gm`),void 0,e=>[void 0,`kwd`,[[RegExp(`\\n[^]*(?=^${t}+[ \\t]*$)`,`gm`),void 0,e.split(` 259`)[0]?.match(RegExp(`^${t}+\\s*(\\S*)`))?.[1]]]]]}var kl=[[Dl,void 0,[[/^---[ \t]*$/gm,`oper`],[/[^]+(?=\r?\n---)/g,void 0,`yaml`]]],[/(?<=^[ \t]*:{2,}[^\n]*\n)---[ \t]*\n[^]*?\n---[ \t]*$/gm,void 0,[[/^---[ \t]*$/gm,`oper`],[/[^]+(?=\r?\n---)/g,void 0,`yaml`]]],[RegExp(`^[ \\t]*:{2,}${xl}(?:${Sl})?(?:${Cl})?(?:${Sl})?[ \\t]*$`,`gim`),void 0,Tl],[/^[ \t]*:{2,}[ \t]*$/gm,`oper`],[/^[ \t]*#[\w$-]+[ \t]*$/gm,`var`],[RegExp(`(?<=^|[\\s*_[(]):${xl}(?:${Sl})?(?:${Cl})?(?:${Sl})?(?![\\w$:-])`,`gim`),void 0,Tl],[RegExp(`${Cl}${Sl}`,`g`),void 0,[[RegExp(`^${Cl}`,`g`),`oper`],[RegExp(Sl,`g`),void 0,wl]]],[/\{\{[^{}]*\}\}/g,`oper`,[[/\|\|/g,`oper`],[/(?<=\|\|)[^]+(?=\}\}$)/g,`str`],[/(?<=^\{\{)[^|}]+/g,`var`]]],[RegExp(`^ {0,3}#{1,6}[ \\t]+[^\\n{]*${Sl}[ \\t]*$`,`gm`),`section`,[[RegExp(`${Sl}[ \\t]*$`,`g`),void 0,wl]]],[/^[ \t]{0,3}>[ \t]*\[![a-z]+\][ \t]*$/gim,`cmnt`,[[/\[![a-z]+\]/gi,`kwd`]]],[/(?<=^[ \t]*[*+-][ \t]+)\[[ xX]\]/gm,`bool`],[/^[ \t]*[-+](?=[ \t])/gm,`kwd`],[/<!--[^]*?-->/g,`cmnt`],[/(?<![\w:]):[a-z\d_+-]+:(?![\w:])/g,`esc`],[/^ {0,3}(?:#{1,6}(?:[ \t]+.*)?|.+\n {0,3}(?:=+|-+)[ \t]*)$/gm,`section`],[/^>.*|^(=|-)\1+$/gm,`cmnt`],[/\*\*.*?\*\*/g,`class`],Ol("`"),Ol(`~`),[/`[^`]*`/g,`str`],[/~~.*?~~/g,`var`],[/\b_\S([^\n]*?\S)?_\b|\*\S([^\n]*?\S)?\*/g,`kwd`],[/^\s*(\*|\d+\.)\s/gm,`kwd`],[/\[[^\]]*]\([^)]*\)|<[^>]*>/g,`func`,[[/^\[[^\]]*]/g,`oper`]]],[RegExp(Sl,`g`),void 0,wl]],Al={comark:kl,mdc:kl,md:kl,markdown:kl},jl=new Set(Object.keys(Jt));function Ml(e){return e&&e.trim().toLowerCase()||`plain`}function Nl(e){return e?{...Al,...e}:Al}function Pl(e,t,n){return Zt(e,{lang:t,languages:Nl(n)})}function Fl(e,t){return t&&Object.prototype.hasOwnProperty.call(t,e)||Object.prototype.hasOwnProperty.call(Al,e)?!0:jl.has(e)}function Il(e,t,n,r){if(!n)return Pl(e,t,r);let i=Pl(n+e,t,r),a=n.length,o=[];for(let e=0;e<i.length;e++){let t=i[e];if(a<=0){o.push(t);continue}if(t.text.length<=a){a-=t.text.length;continue}let n=t.text.slice(a);o.push(t.type?{type:t.type,text:n}:{text:n}),a=0}return o}function Ll(e){return!!e.light&&!!e.dark}function Rl(e,t){if(e&&t)return e.tokens?.[t]||e.fg}function zl(e,t,n,r){if(!e||!t&&!n)return;let i=Rl(t,e),a=Rl(n,e),o=[];return i&&o.push(`color:${i}`),r&&a&&o.push(`--shiki-dark:${a}`),!t&&a&&o.push(`color:${a}`),o.length?o.join(`;`):void 0}function Bl(e,t){let n=[[]],r=(e,r)=>{if(!e)return;let i=n[n.length-1];if(!r){let t=i[i.length-1];typeof t==`string`?i[i.length-1]=t+e:i.push(e);return}let a={class:`shj-syn-${r} shj-${r}`},o=zl(r,t.light,t.dark,t.dual);o&&(a.style=o),i.push([`span`,a,e])};for(let t of e){let e=t.text.split(` 260`);for(let i=0;i<e.length;i++)i>0&&n.push([]),r(e[i],t.type)}return n}function Vl(e,t,n){let r=Array.isArray(t)&&t.length>0?new Set(t):null,i=[];for(let t=0;t<e.length;t++){let a=e[t],o=t+1,s=r!==null&&r.has(o);if(n){let e=s?`line highlight`:`line`,t=Array(a.length+2);t[0]=`span`,t[1]={class:e,style:s?`display: inline-block`:`display: inline`};for(let e=0;e<a.length;e++)t[e+2]=a[e];i.push(t)}else a.length===0||(a.length===1?i.push(a[0]):i.push(...a));t<e.length-1&&i.push(` 261`)}return i}function Hl(e,t,n){if(!e&&!t)return;let r=[],i=e||t;return i.bg&&r.push(`background-color:${i.bg}`),i.fg&&r.push(`color:${i.fg}`),n&&t&&(t.bg&&r.push(`--shiki-dark-bg:${t.bg}`),t.fg&&r.push(`--shiki-dark:${t.fg}`)),r.length?r.join(`;`):void 0}async function Ul(e,t={}){let{lineNumbers:n=!1,classPrefix:r=`shj`,languages:i,theme:a,preStyles:o=!1,inl
261ineCode:s}=t,c=s!==!1,l,u,d=!1,f=a||{light:Yt,dark:qt};return Ll(f)?(l=f.light,u=f.dark,d=l.name!==u.name):f.scheme===`dark`?(u=f,l=f):(l=f,u=f),await Bt(e,e=>Array.isArray(e)&&e[0]===`pre`&&Array.isArray(e[2])&&e[2][0]===`code`&&typeof e[2][2]==`string`,async e=>{let t=e,a=t[1]||{},s=t[2],c=s[2],f=Ml(a.language),p;try{let e=Bl(Pl(c,f,i),{light:l,dark:u,dual:d}),t=Array.isArray(a.highlights)&&a.highlights.length>0;p=Vl(e,a.highlights,n||t)}catch{p=[c]}let m=typeof a.class==`string`?a.class.trim():``,h=`${r} shiki shj-lang-${f}`,g=m?`${h} . ${m}`:h,_={...a,class:g};if(o){let e=Hl(l,u,d);e&&(_.style=e)}let v=Array(p.length+2);v[0]=`code`,v[1]=s[1]||{};for(let e=0;e<p.length;e++)v[e+2]=p[e];return[`pre`,_,v]}),c&&await Bt(e,e=>{if(!Array.isArray(e)||e[0]!==`code`||e.length!==3||typeof e[2]!=`string`)return!1;let t=e[1]||{};return t?.$?.html!==1&&!!en(t)},async e=>{let t=e,n=t[1]||{},a=t[2],o=en(n),s=nn.get(o.toLowerCase()),c=Ml(s?.lang??o);if(!Fl(c,i))return;let f;try{f=Vl(Bl(Il(a,c,s?.grammarContextCode,i),{light:l,dark:u,dual:d}),void 0,!1),f.length===0&&(f=[a])}catch{f=[a]}let p=typeof n.class==`string`?n.class.trim():``,m=`${r} shiki shj-lang-${c}`,h=p?`${m} . ${p}`:m,g=Array(f.length+2);g[0]=`code`,g[1]={...n,class:h};for(let e=0;e<f.length;e++)g[e+2]=f[e];return g}),e}var Wl=Dt((e={})=>({name:`rangi`,async post(t){t.tree=await Ul(t.tree,e)}})),Gl=new Map([[`grinning`,`ð`],[`smiley`,`ð`],[`smile`,`ð`],[`grin`,`ð`],[`laughing`,`ð`],[`satisfied`,`ð`],[`sweat_smile`,`ð
`],[`joy`,`ð`],[`wink`,`ð`],[`blush`,`ð`],[`innocent`,`ð`],[`heart_eyes`,`ð`],[`kissing_heart`,`ð`],[`kissing`,`ð`],[`kissing_closed_eyes`,`ð`],[`kissing_smiling_eyes`,`ð`],[`yum`,`ð`],[`stuck_out_tongue`,`ð`],[`stuck_out_tongue_winking_eye`,`ð`],[`stuck_out_tongue_closed_eyes`,`ð`],[`neutral_face`,`ð`],[`expressionless`,`ð`],[`no_mouth`,`ð¶`],[`smirk`,`ð`],[`unamused`,`ð`],[`relieved`,`ð`],[`pensive`,`ð`],[`sleepy`,`ðª`],[`sleeping`,`ð´`],[`mask`,`ð·`],[`dizzy_face`,`ðµ`],[`sunglasses`,`ð`],[`confused`,`ð`],[`worried`,`ð`],[`open_mouth`,`ð®`],[`hushed`,`ð¯`],[`astonished`,`ð²`],[`flushed`,`ð³`],[`frowning`,`ð¦`],[`anguished`,`ð§`],[`fearful`,`ð¨`],[`cold_sweat`,`ð°`],[`disappointed_relieved`,`ð¥`],[`cry`,`ð¢`],[`sob`,`ð`],[`scream`,`ð±`],[`confounded`,`ð`],[`persevere`,`ð£`],[`disappointed`,`ð`],[`sweat`,`ð`],[`weary`,`ð©`],[`tired_face`,`ð«`],[`triumph`,`ð¤`],[`rage`,`ð¡`],[`angry`,`ð `],[`smiling_imp`,`ð`],[`imp`,`ð¿`],[`skull`,`ð`],[`eyes`,`ð`],[`eye`,`ðï¸`],[`nose`,`ð`],[`lips`,`ð`],[`tongue`,`ð
`],[`heart`,`â¤ï¸`],[`yellow_heart`,`ð`],[`green_heart`,`ð`],[`blue_heart`,`ð`],[`purple_heart`,`ð`],[`broken_heart`,`ð`],[`thumbsup`,`ð`],[`+1`,`ð`],[`thumbsdown`,`ð`],[`-1`,`ð`],[`ok_hand`,`ð`],[`facepunch`,`ð`],[`punch`,`ð`],[`fist`,`â`],[`v`,`âï¸`],[`wave`,`ð`],[`hand`,`â`],[`raised_hand`,`â`],[`clap`,`ð`],[`pray`,`ð`],[`point_up`,`âï¸`],[`point_down`,`ð`],[`point_left`,`ð`],[`point_right`,`ð`],[`raised_hands`,`ð`],[`muscle`,`ðª`],[`writing_hand`,`âï¸`],[`nail_care`,`ð
`],[`selfie`,`ð¤³`],[`fire`,`ð¥`],[`sparkles`,`â¨`],[`star`,`â`],[`star2`,`ð`],[`zap`,`â¡`],[`boom`,`ð¥`],[`collision`,`ð¥`],[`100`,`ð¯`],[`tada`,`ð`],[`confetti_ball`,`ð`],[`balloon`,`ð`],[`gift`,`ð`],[`birthday`,`ð`],[`cake`,`ð°`],[`rocket`,`ð`],[`helicopter`,`ð`],[`airplane`,`âï¸`],[`boat`,`âµ`],[`ship`,`ð¢`],[`train`,`ð`],[`bus`,`ð`],[`taxi`,`ð`],[`car`,`ð`],[`bike`,`ð²`],[`checkered_flag`,`ð`],[`medal`,`ð
`],[`trophy`,`ð`],[`medal_sports`,`ð
`],[`medal_military`,`ðï¸`],[`soccer`,`â½`],[`basketball`,`ð`],[`football`,`ð`],[`baseball`,`â¾`],[`tennis`,`ð¾`],[`bowling`,`ð³`],[`golf`,`â³`],[`dart`,`ð¯`],[`beer`,`ðº`],[`beers`,`ð»`],[`wine_glass`,`ð·`],[`cocktail`,`ð¸`],[`coffee`,`â`],[`pizza`,`ð`],[`hamburger`,`ð`],[`fries`,`ð`],[`apple`,`ð`],[`banana`,`ð`],[`watermelon`,`ð`],[`grapes`,`ð`],[`strawberry`,`ð`],[`cherries`,`ð`],[`lemon`,`ð`],[`peach`,`ð`],[`pear`,`ð`],[`pineapple`,`ð`],[`tomato`,`ð
`],[`eggplant`,`ð`],[`hot_pepper`,`ð¶ï¸`],[`corn`,`ð½`],[`bread`,`ð`],[`croissant`,`ð¥`],[`baguette_bread`,`ð¥`],[`cheese`,`ð§`],[`egg`,`ð¥`],[`poultry_leg`,`ð`],[`meat_on_bone`,`ð`],[`doughnut`,`ð©`],[`cookie`,`ðª`],[`chocolate_bar`,`ð«`],[`candy`,`ð¬`],[`lollipop`,`ð`],[`ice_cream`,`ð¦`],[`icecream`,`ð¨`],[`shaved_ice`,`ð§`],[`tea`,`
261ðµ`],[`sake`,`ð¶`],[`champagne`,`ð¾`],[`tropical_drink`,`ð¹`],[`sunny`,`âï¸`],[`cloud`,`âï¸`],[`umbrella`,`âï¸`],[`snowflake`,`âï¸`],[`snowman`,`â`],[`rainbow`,`ð`],[`ocean`,`ð`],[`droplet`,`ð§`],[`moon`,`ð`],[`partly_sunny`,`â
`],[`thunder_cloud_and_rain`,`âï¸`],[`wind_face`,`ð¬ï¸`],[`fog`,`ð«ï¸`],[`dog`,`ð¶`],[`cat`,`ð±`],[`mouse`,`ð`],[`rabbit`,`ð°`],[`fox_face`,`ð¦`],[`bear`,`ð»`],[`panda_face`,`ð¼`],[`koala`,`ð¨`],[`tiger`,`ð¯`],[`lion`,`ð¦`],[`cow`,`ð®`],[`pig`,`ð·`],[`frog`,`ð¸`],[`monkey_face`,`ðµ`],[`see_no_evil`,`ð`],[`hear_no_evil`,`ð`],[`speak_no_evil`,`ð`],[`chicken`,`ð`],[`penguin`,`ð§`],[`bird`,`ð¦`],[`baby_chick`,`ð¤`],[`bee`,`ð`],[`bug`,`ð`],[`butterfly`,`ð¦`],[`snail`,`ð`],[`turtle`,`ð¢`],[`snake`,`ð`],[`lizard`,`ð¦`],[`dragon`,`ð`],[`whale`,`ð³`],[`dolphin`,`ð¬`],[`fish`,`ð`],[`octopus`,`ð`],[`shell`,`ð`],[`crab`,`ð¦`],[`tree`,`ð²`],[`evergreen_tree`,`ð²`],[`deciduous_tree`,`ð³`],[`palm_tree`,`ð´`],[`cactus`,`ðµ`],[`herb`,`ð¿`],[`shamrock`,`âï¸`],[`four_leaf_clover`,`ð`],[`maple_leaf`,`ð`],[`fallen_leaf`,`ð`],[`leaves`,`ð`],[`mushroom`,`ð`],[`cherry_blossom`,`ð¸`],[`rose`,`ð¹`],[`hibiscus`,`ðº`],[`sunflower`,`ð»`],[`blossom`,`ð¼`],[`bouquet`,`ð`],[`seedling`,`ð±`],[`christmas_tree`,`ð`],[`santa`,`ð
`],[`gift_heart`,`ð`],[`ring`,`ð`],[`gem`,`ð`],[`bulb`,`ð¡`],[`book`,`ð`],[`pencil`,`ð`],[`memo`,`ð`],[`email`,`âï¸`],[`envelope`,`âï¸`],[`phone`,`âï¸`],[`telephone`,`âï¸`],[`iphone`,`ð±`],[`camera`,`ð·`],[`video_camera`,`ð¹`],[`tv`,`ðº`],[`computer`,`ð»`],[`keyboard`,`â¨ï¸`],[`desktop_computer`,`ð¥ï¸`],[`printer`,`ð¨ï¸`],[`computer_mouse`,`ð±ï¸`],[`trackball`,`ð²ï¸`],[`joystick`,`ð¹ï¸`],[`watch`,`â`],[`alarm_clock`,`â°`],[`stopwatch`,`â±ï¸`],[`timer_clock`,`â²ï¸`],[`hourglass`,`â`],[`hourglass_flowing_sand`,`â³`],[`satellite_antenna`,`ð¡`],[`battery`,`ð`],[`electric_plug`,`ð`],[`lock`,`ð`],[`unlock`,`ð`],[`key`,`ð`],[`mag`,`ð`],[`mag_right`,`ð`],[`bell`,`ð`],[`no_bell`,`ð`],[`bookmark`,`ð`],[`link`,`ð`],[`wrench`,`ð§`],[`hammer`,`ð¨`],[`nut_and_bolt`,`ð©`],[`thinking`,`ð¤`],[`thinking_face`,`ð¤`],[`question`,`â`],[`grey_question`,`â`],[`exclamation`,`â`],[`grey_exclamation`,`â`],[`warning`,`â ï¸`],[`x`,`â`],[`o`,`â`],[`white_check_mark`,`â
`],[`heavy_check_mark`,`âï¸`],[`accept`,`ð`],[`satellite`,`ð¡`],[`arrow_up`,`â¬ï¸`],[`arrow_down`,`â¬ï¸`],[`arrow_left`,`â¬
ï¸`],[`arrow_right`,`â¡ï¸`],[`arrow_upper_right`,`âï¸`],[`arrow_lower_right`,`âï¸`],[`arrow_lower_left`,`âï¸`],[`arrow_upper_left`,`âï¸`],[`arrow_up_down`,`âï¸`],[`left_right_arrow`,`âï¸`],[`arrows_counterclockwise`,`ð`],[`back`,`ð`],[`end`,`ð`],[`on`,`ð`],[`so
261on`,`ð`],[`top`,`ð`],[`red_circle`,`ð´`],[`blue_circle`,`ðµ`],[`white_circle`,`âª`],[`black_circle`,`â«`],[`red_square`,`ð¥`],[`blue_square`,`ð¦`],[`white_square`,`â¬`],[`black_square`,`â¬`],[`orange_square`,`ð§`],[`yellow_square`,`ð¨`],[`green_square`,`ð©`],[`purple_square`,`ðª`],[`brown_square`,`ð«`],[`diamond_shape_with_a_dot_inside`,`ð `],[`radio_button`,`ð`],[`white_square_button`,`ð³`],[`black_square_button`,`ð²`],[`scissors`,`âï¸`],[`paperclip`,`ð`],[`pushpin`,`ð`],[`round_pushpin`,`ð`],[`triangular_flag_on_post`,`ð©`],[`closed_book`,`ð`],[`open_book`,`ð`],[`green_book`,`ð`],[`blue_book`,`ð`],[`orange_book`,`ð`],[`notebook`,`ð`],[`ledger`,`ð`],[`page_with_curl`,`ð`],[`scroll`,`ð`],[`page_facing_up`,`ð`],[`newspaper`,`ð°`],[`bookmark_tabs`,`ð`],[`bar_chart`,`ð`],[`chart_with_upwards_trend`,`ð`],[`chart_with_downwards_trend`,`ð`],[`calendar`,`ð `],[`date`,`ð`],[`clipboard`,`ð`],[`file_folder`,`ð`],[`open_file_folder`,`ð`],[`briefcase`,`ð¼`],[`package`,`ð¦`],[`inbox_tray`,`ð¥`],[`outbox_tray`,`ð¤`],[`musical_note`,`ðµ`],[`notes`,`ð¶`],[`microphone`,`ð¤`],[`headphones`,`ð§`],[`guitar`,`ð¸`],[`trumpet`,`ðº`],[`saxophone`,`ð·`],[`violin`,`ð»`],[`drum`,`ð¥`],[`clapper`,`ð¬`],[`art`,`ð¨`],[`performing_arts`,`ð`],[`game_die`,`ð²`],[`slot_machine`,`ð°`]]),Kl=e=>(t,n)=>{let r=t.posMax,i=t.pos;if(t.src.charCodeAt(i)!==58)return!1;let a=i+1;for(;a<r;){let r=t.src.charCodeAt(a);if(r===58){let r=t.src.slice(i+1,a),o=e.get(r);if(o){if(!n){let e=t.push(`emoji`,``,0);e.markup=r,e.content=o}return t.pos=a+1,!0}return!1}if(r>=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57||r===95||r===45||r===43){a++;continue}return!1}return!1},ql=Dt(e=>{let t=e?.extend?new Map([...Gl,...Object.entries(e.extend)]):Gl;return{name:`emoji`,markdownItPlugins:[e=>{e.inline.ruler.before(`emphasis`,`emoji`,Kl(t))}]}}),Jl=1e4,Yl=100;function Xl(e){e.root||(e={root:`template`,elements:{template:e}});let t=e,n=t.elements[t.root];return Zl(n,t.elements,0,{nodes:0})}function Zl(e,t,n,r){if(n>Yl||++r.nodes>Jl)throw Error(`json-render spec exceeds the expansion budget`);if(e.type===`Text`)return String(e.props.content);let i=e.children?.map(e=>t[e]).filter(Boolean)||[];return[e.type,e.props,...i.map(e=>Zl(e,t,n+1,r))]}var Ql=Dt((e={})=>({name:`json-render`,post:async e=>{Nt(e.tree,e=>e[0]===`pre`&&(e[1].language===`json-render`||e[1].language===`yaml-render`),e=>{let t=e[1].language;try{let n;if(t===`json-render`?n=JSON.parse(Mt(e)):t===`yaml-render`&&(n=Gt(Mt(e))),n)return Xl(n)}catch{}})}})),$l=/^\[\^([^\s\]]+)\]:[ \t]?(.*)$/gm;function eu(e){return e.replace(/[^a-zA-Z0-9_-]/g,e=>`-${e.charCodeAt(0).toString(16)}-`)}function tu(e){return Array.isArray(e)&&e[0]===`span`&&e.length===3&&typeof e[2]==`string`}function nu(e){let t=e[1];for(let e in t)if(e!==`$`)return null;let n=e[2];if(n.charCodeAt(0)!==94||n.length<2)return null;for(let e=1;e<n.length;e++){let t=n.charCodeAt(e);if(t===32||t===9||t===10||t===13)return null}return n.slice(1)}var ru=Dt((e={})=>{let{label:t=`Footnotes`,hr:n=!0,backRef:r=`â©`}=e;return{name:`footnotes`,pre(e){let t=new Map;e.markdown=e.markdown.replace($l,(e,n,r)=>(t.set(n,r.trim()),``)),e.footnote=t},post(e){let i=e.footnote;if(!i||i.size===0)return;let a=new Map;Nt(e.tree,tu,e=>{let t=nu(e);if(!t||!i.has(t))return;a.has(t)||a.set(t,a.size+1);let n=a.get(t),r=eu(t);return[`sup`,{class:`footnote-ref`},[`a`,{href:`#fn-${r}`,id:`fnref-${r}`},`[${n}]`]]});let o=e.tree.nodes;if(o=o.filter(e=>{if(!Array.isArray(e)||e[0]!==`p`)return!0;for(let t=2;t<e.length;t++){let n=e[t];if(typeof n==`string`){if(n.trim().length>0)return!0}else if(Array.isArray(n)&&n[0]!=null)return!0}return!1}),a.size===0){e.tree.nodes=o;return}let s=[];for(let[e]of a){let t=i.get(e),n=eu(e);s.push([`li`,{id:`fn-${n}`},t,` `,[`a`,{href:`#fnref-${n}`,class:`footnote-backref`},r]])}let c=[];n&&c.push([`hr`,{}]),t&&c.push([`h2`,{id:`footnotes`},t]),c.push([`ol`,{class:`footnotes-list`},...s]),o.push([`section`,{class:`footnotes`},...c]),e.tree.nodes=o}}}),iu=`ââââ`,au=new Set([`code`,`pre`,`math`,`script`,`style`,`kbd`]);function ou(e){return e===` `||e===` `||e===` 262`||e===`\r`||e===`(`||e===`[`||e===`{`}function su(e){return e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`}function cu(e,t,n,r,i,a,o,s,c,l){let u=e.length,d=``,f=0;for(let p=0;p<u;p++){let m=e[p];if(r&&m===`.`&&p+1<u&&e[p+1]===`.`){let t=p+2;for(;t<u&&e[t]===`.`;)t++;let n=p>0?e[p-1]:``;d+=n===`?`||n===`!`?e.slice(f,p)+`..`:e.slice(f,p)+`â¦`,p=t-1,f=p+1;continue}if(n&&m===`-`&&p+1<u&&e[p+1]===`-`){p+2<u&&e[p+2]===`-`?(d+=e.slice(f,p)+`â`,p+=2):(d+=e.slice(f,p)+`â`,p+=1),f=p+1;continue}if(i&&m===`(`){let t=u-p;if(t>=3&&e[p+2]===`)`){let t=e[p+1];if(t===`c`||t===`C`){d+=e.slice(f,p)+`©`,p+=2,f=p+1;continue}if(t===`r`||t===`R`){d+=e.slice(f,p)+`®`,p+=2,f=p+1;continue}}if(t>=4&&e[p+3]===`)`){let t=e[p+1],n=e[p+2];if((t===`t`||t===`T`)&&(n===`m`||n===`M`)){d+=e.slice(f,p)+`â¢`,p+=3,f=p+1;continue}}}if(i&&m===`+`&&p+1<u&&e[p+1]===`-`){d+=e.slice(f,p)+`±`,p+=1,f=p+1;continue}if(a){if(m===`?`||m===`!`){let t=p+1;for(;t<u&&e[t]===m;)t++;if(t-p>=4){d+=e.slice(f,p)+m+m+m,p=t-1,f=p+1;continue}}if(m===`,`&&p+1<u&&e[p+1]===`,`){let t=p+2;for(;t<u&&e[t]===`,`;)t++;d+=e.slice(f,p)+`,`,p=t-1,f=p+1;continue}}if(t){if(m===`"`){let t=p>0?e[p-1]:` `;d+=e.slice(f,p)+(ou(t)||p===0?o:s),f=p+1;continue}if(m===`'`){let t=p>0?e[p-1]:` `,n=p+1<u?e[p+1]:``;d+=e.slice(f,p),su(t)&&su(n)?d+=l:d+=ou(t)||p===0?c:l,f=p+1;continue}}}return f===0?e:d+e.slice(f)}var lu=Dt((e={})=>{let{quotes:t=!0,dashes:n=!0,ellipsis:r=!0,symbols:i=!0,normalize:a=!0}=e,o,s,c,l,u;return t===!1?(o=!1,s=c=l=u=``):Array.isArray(t)||typeof t==`string`?(o=!0,s=t[0],c=t[1],l=t[2],u=t[3]):(o=!0,s=iu[0],c=iu[1],l=iu[2],u=iu[3]),{name:`punctuation`,post(e){function t(e,d,f){for(let p=d;p<e.length;p++){let d=e[p];if(typeof d==`string`){f||(e[p]=cu(d,o,n,r,i,a,s,c,l,u));continue}Array.isArray(d)&&d[0]!=null&&t(d,2,f||au.has(d[0]))}}t(e.tree.nodes,0,!1)}}}),uu=new Set([`pre`,`code`,`math`,`script`,`style`,`textarea`]),du=Dt(()=>({name:`breaks`,post(e){Nt(e.tree,e=>Array.isArray(e)&&e.length>2&&!uu.has(e[0]),e=>{let t=e,n=[t[0],t[1]],r=!1;for(let e=2;e<t.length;e++){let i=t[e];if(typeof i==`string`&&i.includes(` 263`)){r=!0;let e=i.split(` 264`);e.forEach((t,r)=>{t.length>0&&n.push(t),r<e.length-1&&n.push([`br`,{}])})}else n.push(i)}r&&(t.length=0,t.push(...n))})}}));function fu(e){return Array.isArray(e)&&e.length>=1?e[0]:null}function pu(e){return Array.isArray(e)&&e.length>2?e.slice(2):[]}function mu(e){return typeof e==`string`?e:Array.isArray(e)?pu(e).reduce((e,t)=>
264e+mu(t),``):``}var hu=Dt((e={})=>{let{titleTag:t=`h1`,descriptionTag:n=`p`,remove:r=!1}=e;return{name:`headings`,post(e){let i=e.tree.nodes,a=i.filter(e=>Array.isArray(e)&&fu(e)!==`hr`),o=-1,s=-1,c=0;if(t!==!1){let n=a[0];n&&fu(n)===t&&(o=i.indexOf(n),e.tree.meta.title=mu(n),c=1)}if(n!==!1){let t=a[c];t&&fu(t)===n&&(s=i.indexOf(t),e.tree.meta.description=mu(t))}if(r){let e=[o,s].filter(e=>e!==-1).sort((e,t)=>t-e);for(let t of e)i.splice(t,1)}}}}),gu=[`h2`,`h3`,`h4`,`h5`,`h6`],_u=gu.reduce((e,t)=>(e[t]=Number(t.charAt(t.length-1)),e),{});function vu(e){return Array.isArray(e)&&e.length>=1?e[0]:null}function yu(e){return Array.isArray(e)&&e.length>=2&&typeof e[1]==`object`&&!Array.isArray(e[1])?e[1]:{}}function bu(e){return Array.isArray(e)&&e.length>2?e.slice(2):[]}function xu(e){let t=vu(e);return t&&_u[t]||0}function Su(e){return(e<1||e>5)&&(console.warn(`\`toc.depth\` is set to ${e}. It should be a number between 1 and 5. `),e=1),gu.slice(0,e)}function Cu(e){return typeof e==`string`?e:Array.isArray(e)?bu(e).reduce((e,t)=>e+Cu(t),``):``}function wu(e,t,n=0){if(n>=t)return e;let r=[];for(let i of e)if(r.push(i),Array.isArray(i)){let e=bu(i);e.length>0&&r.push(...wu(e,t,n+1))}return r}function Tu(e){if(e.length<=1)return e;let t=[],n;return e.forEach(e=>{!n||e.depth<=n.depth?(e.children=[],n=e,t.push(e)):n.children.push(e)}),t.forEach(e=>{e.children?.length?e.children=Tu(e.children):delete e.children}),t}function Eu(e,t){let{searchDepth:n,depth:r,title:i=``}=t,a=Su(r);return{title:i,searchDepth:n,depth:r,links:wu(e.nodes,n).filter(e=>{let t=vu(e);return t!==null&&a.includes(t)}).map(e=>({id:yu(e).id||``,depth:xu(e),text:Cu(e)}))}}var Du=Dt((e={})=>{let{title:t=``,depth:n=2,searchDepth:r=2,links:i=[]}=e;return{name:`toc`,post(e){let a=Eu(e.tree,{title:t,depth:n,searchDepth:r,links:i});a.links=Tu(a.links),e.tree.meta.toc=a}}}),Ou=Dt((e={})=>{let{delimiter:t=`<!-- more -->`}=e;return{name:`summary`,post(e){let n,r=e.tokens.findIndex(e=>e.type===`html_block`&&e.content?.includes(t));if(r!==-1){let t=e.tokens.slice(0,r);n=kt(t),e.options.autoUnwrap&&(n=n?.map(e=>Et(e))),n&&(e.tree.meta.summary=n)}}}}),ku=Dt((e={})=>{let{blockedTags:t=[],allowedTags:n=[],tagFallback:r=void 0,allowedLinkPrefixes:i,allowedImagePrefixes:a,allowedProtocols:o,defaultOrigin:s,allowDataImages:c}=e,l=new Set(t.map(e=>e.toLowerCase())),u=new Set(n.map(e=>e.toLowerCase())),d={allowedLinkPrefixes:i,allowedImagePrefixes:a,allowedProtocols:o,defaultOrigin:s,allowDataImages:c};return{name:`security`,async post(e){await Bt(e.tree,e=>typeof e!=`string`&&e[0]!==null,async e=>{let t=e,n=t[0].toLowerCase(),i=l.has(n);if(u.size>0&&!u.has(n)||i)return typeof r==`function`&&await r(t);let a=t[1].as;if(typeof a==`string`){let e=a.toLowerCase();(l.has(e)||u.size>0&&!u.has(e))&&(console.warn(`[comark/plugins/security] removing unsafe attribute: as="${a}"`),delete t[1].as)}Object.keys(t[1]).length&&(t[1]=At(t[0],t[1],d))})}}});function Au(e,t){let[n,r]=e,i=Wt(`code`,r),a=Object.keys(i).length>0?Lt(i):``,o=Mt(e),s=o.includes("`")?"``":"`";return`${s}${o}${s}${a}`}function ju(e,t){let[n,r,...i]=e,a=i[0]?.[1]?.class,o=r.language||a?.split(` `).find(e=>e.startsWith(`language-`))?.slice(9)||``,s=r.filename?` [`+String(r.filename).split(`]`).join(`\\\\]`)+`]`:``,c=r.highlights?` {`+Mu(r.highlights)+`}`:``,l=r.meta?` `+r.meta:``,u=String(e[1]?.code||Mt(e)).trimEnd(),d=Kt(u),f=d+o+s+c+l+` 265`+u+` 266`+d,p=Lt(Wt(`pre`,r));return p?`::pre${p}\n${f}\n::`+t.context.blockSeparator:f+t.context.blockSeparator}function Mu(e){if(e.length===0)return``;let t=[...e].sort((e,t)=>e-t),n=[],r=t[0],i=t[0];for(let e=1;e<=t.length;e++)e<t.length&&t[e]===i+1?i=t[e]:(r===i?n.push(String(r)):n.push(r+`-`+i),e<t.length&&(r=t[e],i=t[e]));return n.join(`,`)}function Nu(e,t,n){return n?.[0]===`p`?`:hr`:`---`+t.context.blockSeparator}async function Pu(e,t){let[n]=e,r=Number(n.slice(1)),i=await t.flow(e,t),{id:a,...o}=e[1],s=Lt(o),c=s?` ${s}`:``;return`#`.repeat(r)+` `+i+c+t.context.blockSeparator}async function Fu(e,t,n){let r=e.slice(2),i=``;for(let n of r)i+=await t.one(n,t,e,i===``||i.endsWith(` 267`));let a=Lt(e[1]);return a&&(i=`${i.replace(/[ \t]+$/,``)} ${a}`),n?.[0]===`li`?i:i+t.context.blockSeparator}async function Iu(e,t){let[n,r]=e,{href:i,...a}=r,o=Object.keys(a).length>0?Lt(a):``,s=await t.flow(e,t);return s===i&&!o?`<${i}>`:`[${s}](${i})${o}`}async function Lu(e,t){let n=e.slice(2),r=t.applyContext({list:!0,order:!1,listIndent:2}),i=``;for(let e of n)i+=await t.one(e,t);i=i.trim(),t.applyContext(r);let a=Lt(Wt(`ul`,e[1]));return a?r.list?` 268`+jt(`::ul${a}\n${i}\n::`,{width:r.listIndent||2}):`::ul${a}\n${i}\n::`+t.context.blockSeparator:(r.list?i=` 269`+jt(i,{width:r.listIndent||2}):i+=t.context.blockSeparator,i)}async function Ru(e,t){let n=e.slice(2),r=Number(e[1].start),i=Number.isInteger(r)&&r>=1?r:1,a=t.applyContext({list:!0,order:i,listIndent:3}),o=``;for(let e of n)o+=await t.one(e,t);o=o.trim(),t.applyContext(a);
269let s=Lt(Wt(`ol`,e[1]));return s?a.list?` 270`+jt(`::ol${s}\n${o}\n::`,{width:a.listIndent||2}):`::ol${s}\n${o}\n::`+t.context.blockSeparator:(a.list?o=` 271`+jt(o,{width:a.listIndent||2}):o+=t.context.blockSeparator,o)}var zu=new Set([`pre`,`blockquote`,`table`]);async function Bu(e,t){let n=e.slice(2),r=t.context.order,i=r?`${r}. `:`- `;if((e[1].className&&Array.isArray(e[1].className)?e[1].className.join(` `):String(e[1].className||e[1].class)).includes(`task-list-item`)){let e=n.shift();i+=e[1].checked||e[1][`:checked`]?`[x] `:`[ ] `}let a=i.length,o=n.some(e=>typeof e==`string`),s=``;for(let r of n){if(Array.isArray(r)){let n=r[0];if(s&&zu.has(n)){let n=jt(await t.one(r,t,e),{width:a});s=s.trimEnd()+` 272`+n.trimEnd()+` 273`;continue}if(s&&n===`p`){let n=jt(await t.one(r,t,e),{width:a});s=s.trimEnd()+` 274 275`+n.trimEnd()+` 276`;continue}if(!o&&!(n in t.handlers)){let e=jt(await t.one(r,t),{width:a,ignoreFirstLine:!s});s=s?s.trimEnd()+` 277`+e.trimEnd()+` 278`:e.trimEnd()+` 279`;continue}}s+=await t.one(r,t,e,s===``||s.endsWith(` 280`))}s=s.trim();let c=Lt(Wt(`li`,e[1])),l=c?` ${c}`:``;return r&&t.applyContext({order:r+1}),`${i}${s}${l}\n`}var Vu=new Set([`p`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`li`,`td`,`th`]),Hu=new Set([`br`,`hr`,`img`,`input`,`link`,`meta`,`source`,`track`,`wbr`]),Uu=new Set([`strong`,`em`,`del`,`code`,`a`,`br`,`span`,`img`]),Wu=new Set([`p`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`li`,`ul`,`ol`,`blockquote`,`hr`,`table`,`td`,`th`]);async function Gu(e,t,n){let[r,i,...a]=e,{$:o={},...s}=i,c=Object.keys(s).length>0,l=t.context.html&&c?t.renderData.props:s,u=a.every(e=>typeof e==`string`||Uu.has(String(e?.[0]))),d=a.some(e=>typeof e==`string`),f=Vu.has(String(r)),p=Uu.has(String(r))&&o.block===0,m=f&&u;!m&&Uu.has(String(r))&&u&&(m=!0),r===`pre`&&(m=!0),(n?.[0]===`p`||t.context.inline)&&(m=!0),o.block===0&&(m=!0);let h=Hu.has(String(r)),g=t.applyContext({inline:m}),_=[];for(let n of a)_.push(await t.one(n,t,e));let v=t.context.html?t.context.blockSeparator:m?``:` 281`,y=``,b=!0;for(let e=0;e<a.length;e++){let t=_[e],n=a[e],r=typeof n!=`string`&&(Wu.has(String(n?.[0]))||!Uu.has(String(n?.[0]))&&!d);e>0&&!b&&r&&(y+=v),y+=t,b=r,r&&e<a.length-1&&(y+=v)}g&&t.applyContext(g);let x=Object.keys(l).length>0?` ${Pt(l)}`:``;return h?`<${r}${x}>`+(!n&&!p?t.context.blockSeparator:``):(!m&&y&&(y=` 282`+qu(y,t,String(r)).trimEnd()+` 283`),`<${r}${x}>${y}</${r}>`+(!n&&!p?t.context.blockSeparator:``))}var Ku=new Set([`code`,`kbd`,`pre`,`samp`,`script`,`style`,`textarea`,`var`]);function qu(e,t,n){return t.context.html?Ku.has(n.toLowerCase())?e:jt(e):(e.trim().startsWith(`<`),``+e+(e.trim().endsWith(`>`),``))}async function Ju(e,t){let[n,r,...i]=e,a=``;for(let n of i)a+=await t.one(n,t,e);a=a.trim();let o=Object.keys(r).length>0?Lt(r):``;return`**${a}**${o}`}async function Yu(e,t){let[n,r,...i]=e,a=``;for(let n of i)a+=await t.one(n,t,e);a=a.trim();let o=Object.keys(r).length>0?Lt(r):``;return`*${a}*${o}`}async function Xu(e,t){let n=e.slice(2),r=``;for(let i of n)r+=await t.one(i,t,e,r===``||r.endsWith(` 284`));let i=Wt(`blockquote`,e[1]),a=Lt(i),o=n.some(e=>Array.isArray(e));if(a&&o)return`::blockquote${a}\n${r.trim().split(` 285`).map(e=>e?`> ${e}`:`>`).join(` 286`)}\n::`+t.context.blockSeparator;a&&(r=`${r.replace(/[ \t]+$/,``)} ${a}`);let s=r.trim().split(` 287`).map(e=>e?`> ${e}`:`>`).join(` 288`);return e[1].as?`> [!${String(e[1].as).toUpperCase()}]\n`+s+t.context.blockSeparator:s+t.context.blockSeparator}function Zu(e,t){let[n,r]=e,{title:i,src:a,alt:o=``,...s}=r,c=Object.keys(s).length>0?Lt(s):``;return`${i?``:``}${c}`}async function Qu(e,t){let[n,r,...i]=e,a=``;for(let n of i)a+=await t.one(n,t,e);a=a.trim();let o=Object.keys(r).length>0?Lt(r):``;return`~~${a}~~${o}`}var $u=new Set([`a`,`strong`,`em`,`span`]);async function ed(e,t,n){let[r,i,...a]=e,{$:o,...s}=i;if(r===`table`)return Gu(e,t);let c=Object.entries(s),l=c.some(([,e])=>typeof e==`object`),u=n?.some((e,t)=>t>1&&typeof e==`string`)??!1,d=n!==void 0&&$u.has(String(n[0])),f=u||d||t.context.inline===!0;l&&(f=!1);let p=f?t.applyContext({inline:!0}):void 0,m=``,h={...t,nodeDepthInTree:(t.nodeDepthInTree||0)+1};for(let n of a)m+=await t.one(n,h,e);m=m.trimEnd(),p&&t.applyContext(p);let g=c.length>0?Lt(s):``;if(r===`span`)return!g&&n?.[0]==`a`&&(g||=`{}`),`[${m}]${g}`+(f?``:t.context.blockSeparator);let _=`:`.repeat((t.nodeDepthInTree||0)+2),v=`:${r}${m&&`[${m}]`}${g}`+(n?``:t.context.blockSeparator);if(!f){let e=t.context.maxInlineAttributes??3;v=l||e===0||c.length>e?`${_}${r}\n${Ft(s,t.context.blockAttributesStyle)}${m?`\n${m}`:``}\n${_}`+t.context.blockSeparator:`${_}${r}${g}${m?`\n${m}`:``}\n${_}`+t.context.blockSeparator}return f?v:jt(v,{level:+!!n})}function td(e,t){return` 289`}
289async function nd(e,t,n){let[r,i]=e,a=(await t.flow(e,t)).trimEnd();if(i.name==="default"&&(n?n.slice(2):[]).filter(e=>Array.isArray(e)&&e[0]===`template`).length===1)return a+t.context.blockSeparator;let{name:o,$:s,...c}=i,l=Lt(c);return`#${i.name}${l}\n${a}`+t.context.blockSeparator}function rd(e){let t=e.style;if(typeof t!=`string`)return null;let n=t.toLowerCase().split(` `).join(``).split(` `).join(``);return n.includes(`text-align:left`)?`left`:n.includes(`text-align:center`)?`center`:n.includes(`text-align:right`)?`right`:null}async function id(e,t){if(typeof e==`string`)return ad(e);let[,,...n]=e,r=``;for(let i of n)r+=typeof i==`string`?i:await t.one(i,t,e);return ad(r.trim())}function ad(e){return e.split(` 290`).join(` `).split(`|`).join(`\\|`)}function od(e){if(typeof e==`string`)return[];let[t,,...n]=e;return t===`tr`?[e]:t===`thead`||t===`tbody`?n.filter(e=>typeof e!=`string`&&e[0]===`tr`):[]}function sd(e){let[,,...t]=e;return t.filter(e=>typeof e!=`string`&&(e[0]===`th`||e[0]===`td`))}async function cd(e,t){let[,,...n]=e,r=[],i=[];for(let e of n){if(typeof e==`string`)continue;let[t]=e;if(t===`thead`)r=od(e);else if(t===`tbody`)i=od(e);else if(t===`tr`){let t=sd(e);t.length>0&&t[0][0]===`th`?r.push(e):i.push(e)}}if(r.length===0&&i.length>0){let e=i[0];r=[[`tr`,{},...sd(e).map((e,t)=>[`th`,{},`Column ${t+1}`])]]}if(r.length===0)return``;let a=r[0],o=sd(a),s=[];for(let e of o)s.push(await id(e,t));let c=o.map(e=>{let[,t]=e;return rd(t)}),l=s.map(e=>Math.max(3,e.length));for(let e of i){let n=sd(e);for(let e=0;e<n.length;e++)if(e<l.length){let r=await id(n[e],t);l[e]=Math.max(l[e],r.length)}}let u=`| `;u+=s.map((e,t)=>e.padEnd(l[t])).join(` | `),u+=` | 291`,u+=`| `,u+=l.map((e,t)=>{let n=c[t];return n===`left`?`:`+`-`.repeat(e-1):n===`center`?`:`+`-`.repeat(e-2)+`:`:n===`right`?`-`.repeat(e-1)+`:`:`-`.repeat(e)}).join(` | `),u+=` | 292`;for(let e of i){let n=sd(e),r=[];for(let e=0;e<n.length;e++){let i=await id(n[e],t);r.push(i.padEnd(l[e]||0))}for(;r.length<l.length;)r.push(``.padEnd(l[r.length]));u+=`| `+r.join(` | `)+` | 293`}let d=Lt(Wt(`table`,e[1]));return d?`::table${d}\n${u.trimEnd()}\n::\n\n`:u+` 294`}function ld(e,t){return``}function ud(e,t){return``}function dd(e,t){return``}function fd(e,t){return``}function pd(e,t){return``}function md(e,t){return e[0]===null?`<!--${e[2]}-->`+t.context.blockSeparator:``}function hd(e,t,n){let r=Mt(e),i=e[1].class,a=typeof i==`string`?i.split(` `):[],o=a.includes(`inline`),s=a.includes(`block`),c=n?.some((e,t)=>t>1&&typeof e==`string`)??!1;return o||!s&&c?`$${r}$`:`$$\n${r}\n$$${t.context.blockSeparator}`}function gd(e,t){let[n,r]=e,{content:i,...a}=r,o=Lt(a),s=String(i??``).replace(/\n$/,``),c=Kt(s);return`${c}mermaid${o?` ${o}`:``}\n${s}\n${c}${t.context.blockSeparator}`}var _d={code:Au,pre:ju,hr:Nu,br:td,h1:Pu,h2:Pu,h3:Pu,h4:Pu,h5:Pu,h6:Pu,p:Fu,a:Iu,ul:Lu,ol:Ru,li:Bu,html:Gu,strong:Ju,em:Yu,blockquote:Xu,img:Zu,del:Qu,mdc:ed,template:nd,table:cd,thead:ld,tbody:ud,tr:dd,th:fd,td:pd,comment:md,math:hd,mermaid:gd};function vd(e,t){let n=t[0],r=(Object.hasOwn(e.handlers,n)?e.handlers[n]:void 0)||(Object.hasOwn(e.handlers,Ut(n))?e.handlers[Ut(n)]:void 0);if(typeof r==`function`)return r;for(let n of e.conditionalHandlers)if(n?.match(t))return n.handler;return r}async function yd(e,t,n,r=!1){if(typeof e==`string`)return t.context.html?Vt(e,{"&":void 0,'"':void 0}):n?.[1].$?.html===1&&n[1].$?.block===1?e:wd(e,r);if(e[0]===null)return await t.handlers.comment(e,t);let i=t.renderData;if(t.renderData&&e[1]){let n=Ot(e[1],i);Object.keys(n).length>0&&(t.renderData={...i,props:n})}try{let r=vd(t.context,e);if(r)return await r(e,t,n);if(t.context.html||e[1].$?.html===1)return await t.handlers.html(e,t,n);let i=e[0],a=Object.hasOwn(t.handlers,i)?t.handlers[i]:void 0;return a?await a(e,t,n):t.context.format===`markdown/comark`?await t.handlers.mdc(e,t,n):await t.handlers.html(e,t,n)}finally{t.renderData=i}}async function bd(e,t,n){let r=e.slice(2),i=``;for(let a of r)i+=await yd(a,t,n||e);return i}function xd(e={}){let t=[],n={};for(let[r,i]of Object.entries(e.handlers||{}))typeof i==`function`?n[r]=i:t.push(i);let r={...e,blockSeparator:e.blockSeparator||` 295 296`,format:e.format||`markdown/comark`,handlers:n,conditionalHandlers:t,blockAttributesStyle:e.blockAttributesStyle||`codeblock`,html:e.format===`text/html`},i=e.tree,a={frontmatter:i?.frontmatter||{},meta:i?.meta||{},data:e.data||{},props:{}},o={handlers:_d,context:r,one:yd,flow:bd,data:e.data||{},renderData:a,render:async e=>{if(Array.isArray(e)&&typeof e[0]==`string`&&e.length>1)return o.one(e,o);let t=``;for(let n of e)t+=await o.one(n,o,void 0,t===``||t.endsWith(` 297`));return t},applyContext:e=>{let t={};for(let[n,i]of Object.entries(e))t[n]=r[n],r[n]=i;return t}};return o}var Sd=/[\\`*_<&~[\]{:]/g,Cd=new Set([` `,` `,` 298`,`*`,`_`,`[`,`]`,`}`,`)`,`>`]);function wd(e,t=!1){let n=Dd(e);return!t&&!n.includes(` 299`)?n:n.split(` 300`).map((e,n)=>n>0||t?Od(e):e).join(` 301`)}function Td(e){return e!==void 0&&/[a-zA-Z0-9]/.test(e)}function Ed(e,t){let n=new Int32Array(e.length+1),r=-1;n[e.length]=-1;for(let i=e.length-1;i>=0;i--)e.charCodeAt(i)===t&&(r=i),n[i]=r;return n}function Dd(e){let t;return e.replace(Sd,(e,n,r)=>{if(e===`_`&&Td(r[n-1])&&Td(r[n+1]))return e;if(e===`<`){let i=r.charCodeAt(n+1);return!(i>=65&&i<=90||i>=97&&i<=122||i===33||i===63||i===47)||(t??=Ed(r,62),t[n+1]===-1)?e:`\\${e}`}if(e===`&`&&!/^&#?[a-zA-Z0-9]+;/.test(r.slice(n)))return e;if(e===`:`){let t=r[n-1],i=t===void 0||Cd.has(t),a=r[n+1];return i&&a!==void 0&&/[a-zA-Z$]/.test(a)?`\\${e}`:e}if(e===`{`){let t=r[n-1];return t===`{`||t===`$`?e:/^\{[ \t]{0,3}[.#:a-zA-Z_]/.test(r.slice(n,n+6))?`\\${e}`:e}return`\\${e}`})}function Od(e){if(/^#{1,6}([ \t]|$)/.test(e)||e[0]===`>`)return`\\${e}`;let t=/^(\d{1,9})[.)]([ \t]|$)/.exec(e);return t?`${t[1]}\\${e.slice(t[1].length)}`:/^-([ \t-]|$)/.test(e)||/^\+([ \t]|$)/.test(e)||/^=+[ \t]*$/.test(e)||e[0]===`:`?`\\${e}`:e}async function kd(e,t={}){let n=xd({...t,tree:e,handlers:t.components}),r=``;for(let t of e.nodes)r+=await yd(t,n);return r.trim()+` 302`}async function Ad(e,t){let n=await kd(e,{format:`markdown/comark`,...t});return zt(e.frontmatter||{},n,t?.frontmatterOptions)}var jd=Object.assign({inheritAttrs:!1},{__name:`splitpanes`,props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1},keyboardStep:{type:Number,default:5}},emits:[`ready`,`resize`,`resized`,`pane-click`,`pane-maximize`,`pane-add`,`pane-remove`,`splitter-click`,`splitter-dblclick`,`direction-changed`],setup(e,{emit:t}){let n=t,i=e,a=u(),s=l(),c=M([]),d=T(()=>c.value.reduce((e,t)=>
302(e[~~t.id]=t)&&e,{})),f=T(()=>c.value.length),p=M(null),m=M(!1),h=M({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),g=M({splitter:null,timeoutId:null}),_=T(()=>({[`splitpanes splitpanes--${i.horizontal?`horizontal`:`vertical`}`]:!0,"splitpanes--dragging":h.value.dragging,"splitpanes--ready":m.value})),v=()=>{document.addEventListener(`mousemove`,S,{passive:!1}),document.addEventListener(`mouseup`,C),`ontouchstart`in window&&(document.addEventListener(`touchmove`,S,{passive:!1}),document.addEventListener(`touchend`,C))},y=()=>{document.removeEventListener(`mousemove`,S,{passive:!1}),document.removeEventListener(`mouseup`,C),`ontouchstart`in window&&(document.removeEventListener(`touchmove`,S,{passive:!1}),document.removeEventListener(`touchend`,C))},x=(e,t)=>{let n=e.target.closest(`.splitpanes__splitter`);if(n){let{left:t,top:r}=n.getBoundingClientRect(),{clientX:a,clientY:o}=`ontouchstart`in window&&e.touches?e.touches[0]:e;h.value.cursorOffset=i.horizontal?o-r:a-t}v(),h.value.mouseDown=!0,h.value.activeSplitter=t,document.documentElement.style.cursor=i.horizontal?`row-resize`:`col-resize`},S=e=>{h.value.mouseDown&&(e.preventDefault(),h.value.dragging||(window.getSelection()?.removeAllRanges(),h.value.dragging=!0),requestAnimationFrame(()=>{re(ne(e)),we(`resize`,{event:e},!0)}))},C=e=>{h.value.dragging&&(window.getSelection()?.removeAllRanges(),we(`resized`,{event:e},!0)),h.value.mouseDown=!1,h.value.activeSplitter=null,setTimeout(()=>{h.value.dragging=!1,y(),document.documentElement.style.cursor=``},100)},w=(e,t)=>{`ontouchstart`in window&&(e.preventDefault(),g.value.splitter===t?(clearTimeout(g.value.timeoutId),g.value.timeoutId=null,E(e,t),g.value.splitter=null):(g.value.splitter=t,g.value.timeoutId=setTimeout(()=>g.value.splitter=null,500))),h.value.dragging||we(`splitter-click`,{event:e,index:t},!0)},E=(e,t)=>{if(we(`splitter-dblclick`,{event:e,index:t},!0),i.maximizePanes){let n=0;c.value=c.value.map((e,r)=>(e.size=r===t?e.max:e.min,r!==t&&(n+=e.min),e)),c.value[t].size-=n,we(`pane-maximize`,{event:e,index:t,pane:c.value[t]}),we(`resized`,{event:e,index:t},!0)}},O=(e,t)=>{if(!i.keyboardStep)return;let n=i.horizontal?e.key===`ArrowDown`:e.key===`ArrowRight`,r=i.horizontal?e.key===`ArrowUp`:e.key===`ArrowLeft`;if(!n&&!r)return;e.preventDefault(),h.value.activeSplitter=t;let a=(n?1:-1)*(i.rtl&&!i.horizontal?-1:1),o=se(t)+c.value[t].size;ae(Math.min(Math.max(o+a*i.keyboardStep,0),100)),we(`resize`,{event:e},!0),we(`resized`,{event:e},!0),h.value.activeSplitter=null},te=(e,t)=>{let n=d.value[t];n&&we(`pane-click`,{event:e,index:n.index,pane:n})},ne=e=>{let t=p.value.getBoundingClientRect(),{clientX:n,clientY:r}=`ontouchstart`in window&&e.touches?e.touches[0]:e;return{x:n-(i.horizontal?0:h.value.cursorOffset)-t.left,y:r-(i.horizontal?h.value.cursorOffset:0)-t.top}},A=e=>{e=e[i.horizontal?`y`:`x`];let t=p.value[i.horizontal?`clientHeight`:`clientWidth`];return i.rtl&&!i.horizontal&&(e=t-e),e*100/t},re=e=>{ae(A(e))},ae=e=>{let t=h.value.activeSplitter;if(t===null||t>=c.value.length-1)return;let n={prevPanesSize:se(t),nextPanesSize:ce(t),prevReachedMinPanes:0,nextReachedMinPanes:0},r=0+(i.pushOtherPanes?0:n.prevPanesSize),a=100-(i.pushOtherPanes?0:n.nextPanesSize);e=Math.max(Math.min(e,a),r);let o=[t,t+1],s=c.value[o[0]]||null,l=c.value[o[1]]||null,u=s!==null&&s.max<100&&e>=s.max+n.prevPanesSize,d=l!==null&&l.max<100&&e<=100-(l.max+ce(t+1));if(u||d){u?(s.size=s.max,l.size=Math.min(Math.max(100-s.max-n.prevPanesSize-n.nextPanesSize,l.min),l.max)):(s.size=Math.min(Math.max(100-l.max-n.prevPanesSize-ce(t+1),s.min),s.max),l.size=l.max);return}if(i.pushOtherPanes){let t=oe(n,e);if(!t)return;({sums:n,panesToResize:o}=t),s=c.value[o[0]]||null,l=c.value[o[1]]||null}s!==null&&(s.size=Math.min(Math.max(e-n.prevPanesSize-n.prevReachedMinPanes,s.min),s.max)),l!==null&&(l.size=Math.min(Math.max(100-e-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.max))},oe=(e,t)=>{let n=h.value.activeSplitter,r=[n,n+1];if(t<e.prevPanesSize+c.value[r[0]].min){if(r[0]=N(n).index,e.prevReachedMinPanes=0,r[0]<n&&c.value.forEach((t,i)=>{i>r[0]&&i<=n&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),r[0]===void 0)return e.prevReachedMinPanes=0,c.value[0].size=c.value[0].min,c.value.forEach((t,r)=>{r>0&&r<=n&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),c.value[r[1]].size=100-e.prevReachedMinPanes-c.value[0].min-e.prevPanesSize-e.nextPanesSize,null;e.prevPanesSize=se(r[0])}return t>100-e.nextPanesSize-c.value[r[1]].min&&(r[1]=ue(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&c.value.forEach((t,i)=>{i>n&&i<r[1]&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),e.nextPanesSize=r[1]===void 0?0:ce(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,c.value.forEach((t,r)=>{r>=n+1&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),r[0]!==void 0&&(c.value[r[0]].size=100-e.prevPanesSize-ce(r[0]-1)),null):{sums:e,panesToResize:r}},se=e=>c.value.reduce((t,n,r)=>t+(r<e?n.size:0),0),ce=e=>c.value.reduce((t,n,r)=>t+(r>e+1?n.size:0),0),N=e=>[...c.value].reverse().find(t=>t.index<e&&t.size>t.min)||{},ue=e=>c.value.find(t=>t.index>e+1&&t.size>t.min)||{},de=()=>{let e=Array.from(p.value?.children||[]);for(let t of e){let e=t.classList.contains(`splitpanes__pane`),n=t.classList.contains(`splitpanes__splitter`);!e&&!n&&(t.remove(),console.warn(`Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.`))}},fe=(e,t,n=!1)=>{let r=e-1,a=document.createElement(`div`);a.classList.add(`splitpanes__splitter`),n||(a.onmousedown=e=>x(e,r),typeof window<`u`&&`ontouchstart`in window&&(a.ontouchstart=e=>x(e,r)),a.onclick=e=>w(e,r+1),i.keyboardStep&&(a.setAttribute(`tabindex`,`0`),a.setAttribute(`role`,`separator`),a.setAttribute(`aria-orientation`,i.horizontal?`horizontal`:`vertical`),a.onkeydown=e=>O(e,r))),a.ondblclick=e=>E(e,r+1),t.parentNode.insertBefore(a,t)},pe=e=>{e.onmousedown=null,e.onclick=null,e.ondblclick=null,e.onkeydown=null,e.remove()},me=()=>{let e=Array.from(p.value?.children||[]);for(let t of e)t.className.includes(`splitpanes__splitter`)&&pe(t);let t=0;for(let n of e)n.className.includes(`splitpanes__pane`)&&(!t&&i.firstSplitter?fe(t,n,!0):t&&fe(t,n),t++)}
302,he=({uid:e,...t})=>{let n=d.value[e];for(let[e,r]of Object.entries(t))n[e]=r},ge=!1,_e=e=>{let t=-1;Array.from(p.value?.children||[]).some(n=>(n.className.includes(`splitpanes__pane`)&&t++,n.isSameNode(e.el))),c.value.splice(t,0,{...e,index:t}),c.value.forEach((e,t)=>e.index=t),m.value&&!ge&&(ge=!0,ie(()=>{me(),ye({addedPane:c.value[t]}),we(`pane-add`,{pane:c.value[t]}),ge=!1}))},ve=e=>{let t=c.value.findIndex(t=>t.id===e);c.value[t].el=null;let n=c.value.splice(t,1)[0];c.value.forEach((e,t)=>e.index=t),ie(()=>{me(),we(`pane-remove`,{pane:n}),ye({removedPane:{...n,index:t}})})},ye=(e={})=>{!e.addedPane&&!e.removedPane?xe():c.value.some(e=>e.givenSize!==null||e.min||e.max<100)?Se(e):be(),m.value&&we(`resized`)},be=()=>{let e=100/f.value,t=100,n=[],r=[];for(let i of c.value)i.size=Math.max(Math.min(e,i.max),i.min),t-=i.size,i.size>=i.max&&n.push(i.id),i.size<=i.min&&r.push(i.id);Math.abs(t)>.1&&Ce(t,n,r)},xe=()=>{let e=100,t=[],n=[],r=0;for(let i of c.value)e-=i.size,i.givenSize!==null&&r++,i.size>=i.max&&t.push(i.id),i.size<=i.min&&n.push(i.id);let i=100;if(e>.1){for(let t of c.value)t.givenSize===null&&(t.size=Math.max(Math.min(e/(f.value-r),t.max),t.min)),i-=t.size;i>.1&&Ce(i,t,n)}},Se=({addedPane:e,removedPane:t}={})=>{let n=c.value.reduce((e,t)=>e+(t.givenSize===null?0:t.givenSize),0),r=c.value.filter(e=>e.givenSize===null).length,i=r>0?(100-n)/r:0,a=0,o=[],s=[];for(let e of c.value)a-=e.size,e.size>=e.max&&o.push(e.id),e.size<=e.min&&s.push(e.id);if(!(Math.abs(a)<.1)){a=100;for(let e of c.value)e.givenSize===null&&(e.size=Math.max(Math.min(i,e.max),e.min)),a-=e.size,e.size>=e.max&&o.push(e.id),e.size<=e.min&&s.push(e.id);Math.abs(a)>.1&&Ce(a,o,s)}},Ce=(e,t,n)=>{let r;r=e>0?e/(f.value-t.length):e/(f.value-n.length),c.value.forEach((i,a)=>{if(e>0&&!t.includes(i.id)){let t=Math.max(Math.min(i.size+r,i.max),i.min),n=t-i.size;e-=n,i.size=t}else if(!n.includes(i.id)){let t=Math.max(Math.min(i.size+r,i.max),i.min),n=t-i.size;e-=n,i.size=t}}),Math.abs(e)>.1&&m.value&&console.warn(`Splitpanes: Could not resize panes correctly due to their constraints.`)},we=(e,t=void 0,r=!1)=>{let a=t?.index??h.value.activeSplitter??null;n(e,{...t,...a!==null&&{index:a},...r&&a!==null&&{prevPane:c.value[a-+!!i.firstSplitter],nextPane:c.value[a+ +!i.firstSplitter]},panes:c.value.map(e=>({min:e.min,max:e.max,size:e.size}))})};o(()=>i.firstSplitter,()=>me()),o(()=>i.horizontal,e=>ie(()=>{n(`direction-changed`,{horizontal:e,panes:c.value.map(e=>({min:e.min,max:e.max,size:e.size}))})})),b(()=>{de(),me(),ye(),we(`ready`),m.value=!0}),ee(()=>m.value=!1);let Te=()=>{let{class:e,...t}=a;return r(`div`,{ref:p,class:[_.value,e],...t},s.default?.())};return D(`panes`,c),D(`indexedPanes`,d),D(`horizontal`,T(()=>i.horizontal)),D(`requestUpdate`,he),D(`onPaneAdd`,_e),D(`onPaneRemove`,ve),D(`onPaneClick`,te),(e,t)=>(k(),j(le(Te)))}}),Md={__name:`pane`,props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(e){let t=e,n=s(`requestUpdate`),r=s(`onPaneAdd`),i=s(`horizontal`),a=s(`onPaneRemove`),l=s(`onPaneClick`),u=c()?.uid,f=s(`indexedPanes`),p=T(()=>f.value[u]),m=M(null),h=T(()=>{let e=isNaN(t.size)||t.size===void 0?0:parseFloat(t.size);return Math.max(Math.min(e,_.value),g.value)}),g=T(()=>{let e=parseFloat(t.minSize);return isNaN(e)?0:e}),_=T(()=>{let e=parseFloat(t.maxSize);return isNaN(e)?100:e}),y=T(()=>{let e=p.value?.size??(t.size===void 0?void 0:h.value);return e===void 0?``:`${i.value?`height`:`width`}: ${e}%`});return o(()=>h.value,e=>n({uid:u,size:e})),o(()=>g.value,e=>n({uid:u,min:e})),o(()=>_.value,e=>n({uid:u,max:e})),b(()=>{r({id:u,el:m.value,min:g.value,max:_.value,givenSize:t.size===void 0?null:h.value,size:h.value})}),ee(()=>a(u)),(e,t)=>(k(),v(`div`,{ref_key:`paneEl`,ref:m,class:`splitpanes__pane`,onClick:t[0]||=t=>d(l)(t,e._.uid),style:S(y.value)},[N(e.$slots,`default`)],4))}},Nd=Object.assign(O({__name:`PromptInput`,props:{isGenerating:{type:Boolean},prompt:{},floating:{type:Boolean}},emits:[`submit`],setup(e,{emit:t}){let n=e,r=t,a=M(``),s=p(`formRef`);function c(){let e=s.value?.querySelector(`input`);e&&(e.focus(),ie(()=>e.select()))}o(()=>n.prompt,()=>{a.value=``});function l(e){a.value||=n.prompt??``;let t=e.target;ie(()=>t.select())}function u(){a.value.trim()&&!n.isGenerating&&(r(`submit`,a.value.trim()),a.value=``)}return(t,n)=>{let r=ft,o=gt,f=an;return k(),v(`div`,{class:g(e.floating?`pointer-events-none absolute inset-x-0 bottom-6 z-10 px-4 flex justify-center`:`flex-1`),onClick:c},[_(`form`,{ref_key:`formRef`,ref:s,class:g(e.floating?`pointer-events-auto w-full max-w-96`:`flex-1 flex items-center gap-1`),onSubmit:pe(u,[`prevent`])},[i(f,{modelValue:d(a),"onUpdate:modelValue":n[0]||=e=>oe(a)?a.value=e:null,placeholder:`Generate your own version and stream it with AI...`,size:e.floating?`lg`:`sm`,maxlength:`1000`,disabled:e.isGenerating,class:g(!e.floating&&`flex-1`),ui:e.floating?{root:`group w-full! min-w-0 transition-all duration-300 ease-out [@media(hover:hover)]:hover:scale-105 [@media(hover:hover)]:focus-within:scale-105`,base:`bg-default shadow-lg rounded-xl text-base`,trailing:`pe-2`}:{},onFocus:l,onKeydown:fe(pe(u,[`exact`,`prevent`]),[`enter`])},se({_:2},[e.floating?{name:`trailing`,fn:A(()=>[i(o,{type:`submit`,color:`primary`,size:`xs`,disabled:!d(a).trim()||e.isGenerating},{leading:A(()=>[i(r,{name:e.isGenerating?`i-lucide-loader-circle`:`i-lucide-arrow-up`,class:g(e.isGenerating?`animate-spin`:``)},null,8,[`name`,`class`])]),_:1},8,[`disabled`])]),key:`0`}:void 0]),1032,[`modelValue`,`size`,`disabled`,`class`,`ui`,`onKeydown`]),e.floating?ue(``,!0):(k(),j(o,{key:0,t
302ype:`submit`,color:`primary`,disabled:!d(a).trim()||e.isGenerating},{default:A(()=>[i(r,{name:e.isGenerating?`i-lucide-loader-circle`:`i-lucide-arrow-up`,class:g(e.isGenerating?`animate-spin`:``)},null,8,[`name`,`class`])]),_:1},8,[`disabled`]))],34)],2)}}}),{__name:`PlaygroundPromptInput`}),Pd={class:`absolute inset-0 flex flex-col items-center justify-center gap-4 text-muted`},Fd=4,Id=2,Ld=Object.assign(O({__name:`GeneratingIndicator`,setup(e){let t=[[[0],[1],[2],[3],[7],[11],[15],[14],[13],[12],[8],[4],[5],[6],[10],[9]],[[0,4,8,12],[1,5,9,13],[2,6,10,14],[3,7,11,15]],[[5,6,9,10],[1,4,7,8,11,14],[0,3,12,15],[1,4,7,8,11,14],[5,6,9,10]],[[0],[1,4],[2,5,8],[3,6,9,12],[7,10,13],[11,14],[15]]],n=M(new Set),r=0,i=0;function a(){let e=t[r];e&&(n.value=new Set(e[i]),i++,i>=e.length&&(i=0,r=(r+1)%t.length))}let o;return b(()=>{a(),o=on(a,120)}),w(()=>{clearInterval(o)}),(e,t)=>(k(),v(`div`,Pd,[_(`div`,{class:`shrink-0 grid size-4`,style:S({gridTemplateColumns:`repeat(${Fd}, 1fr)`,gap:`${Id}px`})},[(k(),v(te,null,y(16,e=>_(`span`,{key:e,class:g([`rounded-sm bg-current transition-opacity duration-100`,d(n).has(e-1)?`opacity-100`:`opacity-20`])},null,2)),64))],4),t[0]||=_(`span`,{class:`text-sm`},`Generating your pageâ¦`,-1)]))}}),{__name:`PlaygroundGeneratingIndicator`}),Rd={207:(e,t,n)=>{e.exports=n(452)},452:e=>{var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,i=typeof Symbol==`function`?Symbol:{},a=i.iterator||`@@iterator`,o=i.asyncIterator||`@@asyncIterator`,s=i.toStringTag||`@@toStringTag`;function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},``)}catch{c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype);return a._invoke=function(e,t,n){var r=d;return function(i,a){if(r===p)throw Error(`Generator is already running`);if(r===m){if(i===`throw`)throw a;return k()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=T(o,n);if(s){if(s===h)continue;return s}}if(n.method===`next`)n.sent=n._sent=n.arg;else if(n.method===`throw`){if(r===d)throw r=m,n.arg;n.dispatchException(n.arg)}else n.method===`return`&&n.abrupt(`return`,n.arg);r=p;var c=u(e,t,n);if(c.type===`normal`){if(r=n.done?m:f,c.arg===h)continue;return{value:c.arg,done:n.done}}c.type===`throw`&&(r=m,n.method=`throw`,n.arg=c.arg)}}}(e,n,new ee(r||[])),a}function u(e,t,n){try{return{type:`normal`,arg:e.call(t,n)}}catch(e){return{type:`throw`,arg:e}}}e.wrap=l;var d=`suspendedStart`,f=`suspendedYield`,p=`executing`,m=`completed`,h={};function g(){}function _(){}function v(){}var y={};c(y,a,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(O([])));x&&x!==n&&r.call(x,a)&&(y=x);var S=v.prototype=g.prototype=Object.create(y);function C(e){[`next`,`throw`,`return`].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(i,a,o,s){var c=u(e[i],e,a);if(c.type!==`throw`){var l=c.arg,d=l.value;return d&&typeof d==`object`&&r.call(d,`__await`)?t.resolve(d.__await).then((function(e){n(`next`,e,o,s)}),(function(e){n(`throw`,e,o,s)})):t.resolve(d).then((function(e){l.value=e,o(l)}),(function(e){return n(`throw`,e,o,s)}))}s(c.arg)}var i;this._invoke=function(e,r){function a(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(a,a):a()}}function T(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,n.method===`throw`){if(e.iterator.return&&(n.method=`return`,n.arg=t,T(e,n),n.method===`throw`))return h;n.method=`throw`,n.arg=TypeError(`The iterator does not provide a 'throw' method`)}return h}var i=u(r,e.iterator,n.arg);if(i.type===`throw`)return n.method=`throw`,n.arg=i.arg,n.delegate=null,h;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,n.method!==`return`&&(n.method=`next`,n.arg=t),n.delegate=null,h):a:(n.method=`throw`,n.arg=TypeError(`iterator result is not an object`),n.delegate=null,h)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function D(e){var t=e.completion||{};t.type=`normal`,delete t.arg,e.completion=t}function ee(e){this.tryEntries=[{tryLoc:`root`}],e.forEach(E,this),this.reset(!0)}function O(e){if(e){var n=e[a];if(n)return n.call(e);
302if(typeof e.next==`function`)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:k}}function k(){return{value:t,done:!0}}return _.prototype=v,c(S,`constructor`,v),c(v,`constructor`,_),_.displayName=c(v,s,`GeneratorFunction`),e.isGeneratorFunction=function(e){var t=typeof e==`function`&&e.constructor;return!!t&&(t===_||(t.displayName||t.name)===`GeneratorFunction`)},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,s,`GeneratorFunction`)),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},C(w.prototype),c(w.prototype,o,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,i,a){a===void 0&&(a=Promise);var o=new w(l(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},C(S),c(S,s,`Generator`),c(S,a,(function(){return this})),c(S,`toString`,(function(){return`[object Generator]`})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,ee.prototype={constructor:ee,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method=`next`,this.arg=t,this.tryEntries.forEach(D),!e)for(var n in this)n.charAt(0)===`t`&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(e.type===`throw`)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type=`throw`,s.arg=e,n.next=r,i&&(n.method=`next`,n.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if(o.tryLoc===`root`)return i(`end`);if(o.tryLoc<=this.prev){var c=r.call(o,`catchLoc`),l=r.call(o,`finallyLoc`);if(c&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw Error(`try statement without catch or finally`);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,`finallyLoc`)&&this.prev<i.finallyLoc){var a=i;break}}a&&(e===`break`||e===`continue`)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method=`next`,this.next=a.finallyLoc,h):this.complete(o)},complete:function(e,t){if(e.type===`throw`)throw e.arg;return e.type===`break`||e.type===`continue`?this.next=e.arg:e.type===`return`?(this.rval=this.arg=e.arg,this.method=`return`,this.next=`end`):e.type===`normal`&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),D(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(r.type===`throw`){var i=r.arg;D(n)}return i}}throw Error(`illegal catch attempt`)},delegateYield:function(e,n,r){return this.delegate={iterator:O(e),resultName:n,nextLoc:r},this.method===`next`&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis==`object`?globalThis.regeneratorRuntime=t:Function(`r`,`regeneratorRuntime = r`)(t)}}},zd={};function Bd(e){var t=zd[e];if(t!==void 0)return t.exports;var n=zd[e]={exports:{}};return Rd[e](n,n.exports,Bd),n.exports}Bd.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Bd.d(t,{a:t}),t},Bd.d=(e,t)=>{for(var n in t)Bd.o(t,n)&&!Bd.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},Bd.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var Vd={};function Hd(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 Ud(e,t){if(e){if(typeof e==`string`)return Hd(e,t);var n=Object.prototype.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)?Hd(e,t):void 0}}function Wd(e){return function(e){if(Array.isArray(e))return Hd(e)}(e)||function(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}(e)||Ud(e)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance. 303In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Gd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Bd.d(Vd,{A:()=>ff});var $=(Yd={Fragment:()=>te,computed:()=>T,createTextVNode:()=>a,createVNode:()=>i,defineComponent:()=>O,nextTick:()=>ie,reactive:()=>E,ref:()=>M,watch:()=>o,watchEffect:()=>h},Xd={},Bd.d(Xd,Yd),Xd),Kd=(0,$.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var e=this.data,t=this.onClick;return(0,$.createVNode)(`span`,{class:`vjs-tree-brackets`,onClick:t},[e])}}),qd=(0,$.defineComponent)({emits:[`change`,`update:modelValue`],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(e,t){var n=t.emit;return{uiType:(0,$.computed)((function(){return e.isMultiple?`checkbox`:`radio`})),model:(0,$.computed)({get:function(){return e.checked},set:function(e){return n(`update:modelValue`,e)}})}},render:function(){var e=this.uiType,t=this.model,n=this.$emit;return(0,$.createVNode)(`label`,{class:[`vjs-check-controller`,t?`is-checked`:``],onClick:function(e){return e.stopPropagation()}},[(0,$.createVNode)(`span`,{class:`vjs-check-controller-inner is-${e}`},null),(0,$.createVNode)(`input`,{checked:t,class:`vjs-check-controller-original is-${e}`,type:e,onChange:function(){return n(`change`,t)}},null)])}}),Jd=(0,$.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var e=this.nodeType,t=this.onClick,n=e===`objectStart`||e===`arrayStart`;return n||e===`objectCollapsed`||e===`arrayCollapsed`?(0,$.createVNode)(`span`,{class:`vjs-carets vjs-carets-${n?`open`:`close`}`,onClick:t}
303,[(0,$.createVNode)(`svg`,{viewBox:`0 0 1024 1024`,focusable:`false`,"data-icon":`caret-down`,width:`1em`,height:`1em`,fill:`currentColor`,"aria-hidden":`true`},[(0,$.createVNode)(`path`,{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`},null)])]):null}}),Yd,Xd;function Zd(e){return Zd=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},Zd(e)}function Qd(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function $d(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`root`,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=(arguments.length>3?arguments[3]:void 0)||{},i=r.key,a=r.index,o=r.type,s=o===void 0?`content`:o,c=r.showComma,l=c!==void 0&&c,u=r.length,d=u===void 0?1:u,f=Qd(e);if(f===`array`){var p=ef(e.map((function(e,r,i){return $d(e,`${t}[${r}]`,n+1,{index:r,showComma:r!==i.length-1,length:d,type:s})})));return[$d(`[`,t,n,{showComma:!1,key:i,length:e.length,type:`arrayStart`})[0]].concat(p,$d(`]`,t,n,{showComma:l,length:e.length,type:`arrayEnd`})[0])}if(f===`object`){var m=Object.keys(e),h=ef(m.map((function(r,i,a){return $d(e[r],/^[a-zA-Z_]\w*$/.test(r)?`${t}.${r}`:`${t}["${r}"]`,n+1,{key:r,showComma:i!==a.length-1,length:d,type:s})})));return[$d(`{`,t,n,{showComma:!1,key:i,index:a,length:m.length,type:`objectStart`})[0]].concat(h,$d(`}`,t,n,{showComma:l,length:m.length,type:`objectEnd`})[0])}return[{content:e,level:n,key:i,index:a,path:t,showComma:l,length:d,type:s}]}function ef(e){if(typeof Array.prototype.flat==`function`)return e.flat();for(var t=Wd(e),n=[];t.length;){var r=t.shift();Array.isArray(r)?t.unshift.apply(t,Wd(r)):n.push(r)}return n}function tf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e==null)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(Zd(e)!==`object`)return e;if(t.get(e))return t.get(e);if(Array.isArray(e)){var n=e.map((function(e){return tf(e,t)}));return t.set(e,n),n}var r={};for(var i in e)r[i]=tf(e[i],t);return t.set(e,r),r}function nf(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}var rf=Bd(207),af=Bd.n(rf);function of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sf(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?of(Object(n),!0).forEach((function(t){Gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):of(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var cf={data:{type:[String,Number,Boolean,Array,Object],default:null},rootPath:{type:String,default:`root`},indent:{type:Number,default:2},showLength:{type:Boolean,default:!1},showDoubleQuotes:{type:Boolean,default:!0},renderNodeKey:Function,renderNodeValue:Function,renderNodeActions:{type:[Boolean,Function],default:void 0},selectableType:String,showSelectController:{type:Boolean,default:!1},showLine:{type:Boolean,default:!0},showLineNumber:{type:Boolean,default:!1},selectOnClickNode:{type:Boolean,default:!0},nodeSelectable:{type:Function,default:function(){return!0}},highlightSelectedNode:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!1},theme:{type:String,default:`light`},showKeyValueSpace:{type:Boolean,default:!0},editable:{type:Boolean,default:!1},editableTrigger:{type:String,default:`click`},onNodeClick:{type:Function},onNodeMouseover:{type:Function},onBracketsClick:{type:Function},onIconClick:{type:Function},onValueChange:{type:Function}},lf=(0,$.defineComponent)({name:`TreeNode`,props:sf(sf({},cf),{},{node:{type:Object,required:!0},collapsed:Boolean,checked:Boolean,style:Object,onSelectedChange:{type:Function}}),emits:[`nodeClick`,`nodeMouseover`,`bracketsClick`,`iconClick`,`selectedChange`,`valueChange`],setup:function(e,t){var n=t.emit,r=(0,$.computed)((function(){return Qd(e.node.content)})),i=(0,$.computed)((function(){return`vjs-value vjs-value-${r.value}`})),a=(0,$.computed)((function(){return e.showDoubleQuotes?`"${e.node.key}"`:e.node.key})),o=(0,$.computed)((function(){return e.selectableType===`multiple`})),s=(0,$.computed)((function(){return e.selectableType===`single`}
303)),c=(0,$.computed)((function(){return e.nodeSelectable(e.node)&&(o.value||s.value)})),l=(0,$.reactive)({editing:!1}),u=function(t){var r;n(`valueChange`,(r=t.target?.value)===`null`?null:r===`undefined`?void 0:r===`true`||r!==`false`&&(r[0]+r[r.length-1]===`""`||r[0]+r[r.length-1]===`''`?r.slice(1,-1):typeof Number(r)==`number`&&!isNaN(Number(r))||r===`NaN`?Number(r):r),e.node.path)},d=(0,$.computed)((function(){var t=e.node?.content;return t===null?t=`null`:t===void 0&&(t=`undefined`),r.value===`string`?`"${t}"`:t+``})),f=function(){var t=e.renderNodeValue;return t?t({node:e.node,defaultValue:d.value}):d.value},p=function(){n(`bracketsClick`,!e.collapsed,e.node)},m=function(){n(`iconClick`,!e.collapsed,e.node)},h=function(){n(`selectedChange`,e.node)},g=function(){n(`nodeClick`,e.node),c.value&&e.selectOnClickNode&&n(`selectedChange`,e.node)},_=function(){n(`nodeMouseover`,e.node)},v=function(t){if(e.editable&&!l.editing){l.editing=!0;var n=function e(n){n.target!==t.target&&n.target?.parentElement!==t.target&&(l.editing=!1,document.removeEventListener(`click`,e))};document.removeEventListener(`click`,n),document.addEventListener(`click`,n)}},y=function(){var e=(0,$.ref)(!1);return{copy:function(){var t,n=(t=af().mark((function t(n){return af().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,navigator.clipboard.writeText(n);case 3:e.value=!0,setTimeout((function(){e.value=!1}),300),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error(`[vue-json-pretty] Copy failed: `,t.t0);case 10:case`end`:return t.stop()}}),t,null,[[0,7]])})),function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function o(e){nf(a,r,i,o,s,`next`,e)}function s(e){nf(a,r,i,o,s,`throw`,e)}o(void 0)}))});return function(e){return n.apply(this,arguments)}}()}}().copy,b=function(){var t=e.node,n=t.key,r=t.path,i=e.rootPath,a=Function(`data`,`return data${r.slice(i.length)}`)(e.data);y(JSON.stringify(n?Gd({},n,a):a,null,2))},x=function(){var t=e.renderNodeActions;if(!t)return null;var n={copy:b};return typeof t==`function`?t({node:e.node,defaultActions:n}):(0,$.createVNode)(`span`,{onClick:b,class:`vjs-tree-node-actions-item`},[(0,$.createTextVNode)(`copy`)])};return function(){var t,n=e.node;return(0,$.createVNode)(`div`,{class:{"vjs-tree-node":!0,"has-selector":e.showSelectController,"has-carets":e.showIcon,"is-highlight":e.highlightSelectedNode&&e.checked,dark:e.theme===`dark`},onClick:g,onMouseover:_,style:e.style},[e.showLineNumber&&(0,$.createVNode)(`span`,{class:`vjs-node-index`},[n.id+1]),e.showSelectController&&c.value&&n.type!==`objectEnd`&&n.type!==`arrayEnd`&&(0,$.createVNode)(qd,{isMultiple:o.value,checked:e.checked,onChange:h},null),(0,$.createVNode)(`div`,{class:`vjs-indent`},[Array.from(Array(n.level)).map((function(t,n){return(0,$.createVNode)(`div`,{key:n,class:{"vjs-indent-unit":!0,"has-line":e.showLine}},[Array.from(Array(e.indent)).map((function(){return(0,$.createVNode)($.Fragment,null,[(0,$.createTextVNode)(`\xA0`)])}))])})),e.showIcon&&(0,$.createVNode)(Jd,{nodeType:n.type,onClick:m},null)]),n.key&&(0,$.createVNode)(`span`,{class:`vjs-key`},[(t=e.renderNodeKey,t?t({node:e.node,defaultKey:a.value||``}):a.value),(0,$.createVNode)(`span`,{class:`vjs-colon`},[`:${e.showKeyValueSpace?` `:``}`])]),(0,$.createVNode)(`span`,null,[n.type!==`content`&&n.content?(0,$.createVNode)(Kd,{data:n.content.toString(),onClick:p},null):(0,$.createVNode)(`span`,{class:i.value,onClick:!e.editable||e.editableTrigger&&e.editableTrigger!==`click`?void 0:v,onDblclick:e.editable&&e.editableTrigger===`dblclick`?v:void 0},[e.editable&&l.editing?(0,$.createVNode)(`input`,{value:d.value,onChange:u,style:{padding:`3px 8px`,border:`1px solid #eee`,boxShadow:`none`,boxSizing:`border-box`,borderRadius:5,fontFamily:`inherit`}},null):f()]),n.showComma&&(0,$.createVNode)(`span`,null,[`,`]),e.showLength&&e.collapsed&&(0,$.createVNode)(`span`,{class:`vjs-comment`},[(0,$.createTextVNode)(` // `),n.length,(0,$.createTextVNode)(` items `)])]),e.renderNodeActions&&(0,$.createVNode)(`span`,{class:`vjs-tree-node-actions`},[x()])])}}});function uf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function df(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];
303t%2?uf(Object(n),!0).forEach((function(t){Gd(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uf(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ff=(0,$.defineComponent)({name:`Tree`,props:df(df({},cf),{},{collapsedNodeLength:{type:Number,default:1/0},deep:{type:Number,default:1/0},pathCollapsible:{type:Function,default:function(){return!1}},virtual:{type:Boolean,default:!1},height:{type:Number,default:400},itemHeight:{type:Number,default:20},dynamicHeight:{type:Boolean,default:!0},selectedValue:{type:[String,Array],default:function(){return``}},collapsedOnClickBrackets:{type:Boolean,default:!0},style:Object,onSelectedChange:{type:Function},theme:{type:String,default:`light`}}),slots:[`renderNodeKey`,`renderNodeValue`,`renderNodeActions`],emits:[`nodeClick`,`nodeMouseover`,`bracketsClick`,`iconClick`,`selectedChange`,`update:selectedValue`,`update:data`],setup:function(e,t){var n=t.emit,r=t.slots,i=(0,$.ref)(),a=(0,$.computed)((function(){return $d(e.data,e.rootPath)})),o=function(t,n){return a.value.reduce((function(r,i){var a=i.level>=t||i.length>=n,o=e.pathCollapsible?.call(e,i);return i.type!==`objectStart`&&i.type!==`arrayStart`||!a&&!o?r:df(df({},r),{},Gd({},i.path,1))}),{})},s=(0,$.reactive)({translateY:0,visibleData:null,hiddenPaths:o(e.deep,e.collapsedNodeLength),startIndex:0,endIndex:0}),c=[],l=[],u=0,d={},f=function(t){c=Array(t).fill(0).map((function(){return e.itemHeight||20})),(l=Array(t+1))[0]=0;for(var n=0;n<t;n++)l[n+1]=l[n]+c[n];u=l[t]||0},p=function(e){var t=c.length;e<0&&(e=0),e>t&&(e=t);for(var n=e;n<t;n++)l[n+1]=l[n]+c[n];u=l[t]||0},m=function(e,t){for(var n=0,r=e.length-1;n<r;){var i=n+r>>>1;e[i]<t?n=i+1:r=i}return n},h=(0,$.computed)((function(){for(var e=null,t=[],n=a.value.length,r=0;r<n;r++){var i=df(df({},a.value[r]),{},{id:r}),o=s.hiddenPaths[i.path];if(e&&e.path===i.path){var c=e.type===`objectStart`,l=df(df(df({},i),e),{},{showComma:i.showComma,content:c?`{...}`:`[...]`,type:c?`objectCollapsed`:`arrayCollapsed`});e=null,t.push(l)}else{if(o&&!e){e=i;continue}if(e)continue;t.push(i)}}return t})),g=(0,$.computed)((function(){var t=e.selectedValue;return t&&e.selectableType===`multiple`&&Array.isArray(t)?t:[t]})),_=(0,$.computed)((function(){return!e.selectableType||e.selectOnClickNode||e.showSelectController?``:`When selectableType is not null, selectOnClickNode and showSelectController cannot be false at the same time, because this will cause the selection to fail.`})),v=(0,$.computed)((function(){return e.dynamicHeight?u||0:h.value.length*e.itemHeight})),y=function t(){var n=h.value;if(n){if(e.virtual){var r=i.value?.scrollTop||0;if(e.dynamicHeight){c.length!==n.length&&f(n.length);var a=function(e){var t=m(l,e+1e-4);return Math.max(0,Math.min(t-1,c.length-1))}(r),o=function(e,t){var n=m(l,e+t);return Math.max(0,Math.min(n+1,c.length))}(r,e.height),u=Math.max(0,a-5),g=Math.min(n.length,o+5);s.startIndex=u,s.endIndex=g,s.translateY=l[u]||0,s.visibleData=n.slice(u,g),(0,$.nextTick)().then((function(){for(var e=!1,n=s.startIndex;n<s.endIndex;n++){var r=d[n];if(r){var i=r.offsetHeight;i&&c[n]!==i&&(c[n]=i,l[n+1]=l[n]+c[n],p(n+1),e=!0)}}e&&t()}))}else{var _=e.height/e.itemHeight,v=Math.floor(r/e.itemHeight),y=v<0?0:v+_>n.length?n.length-_:v;y<0&&(y=0);var b=y+_;s.translateY=y*e.itemHeight,s.startIndex=y,s.endIndex=b,s.visibleData=n.slice(y,b)}}else s.translateY=0,s.startIndex=0,s.endIndex=n.length,s.visibleData=n}},b=null,x=function(){b&&cancelAnimationFrame(b),b=requestAnimationFrame((function(){y()}))},S=function(t){var r,i,a=t.path,o=e.selectableType;if(o===`multiple`){var s=g.value.findIndex((function(e){return e===a})),c=Wd(g.value);s===-1?c.push(a):c.splice(s,1),n(`update:selectedValue`,c),n(`selectedChange`,c,Wd(g.value))}else if(o===`single`&&g.value[0]!==a){var l=(r=g.value,i=1,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||n.return==null||n.return()}finally{if(s)throw i}}return a}}(r,i)||Ud(r,i)||function(){throw TypeError(`Invalid attempt to de
303structure non-iterable instance. 304In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],u=a;n(`update:selectedValue`,u),n(`selectedChange`,u,l)}},C=function(e){n(`nodeClick`,e)},w=function(e){n(`nodeMouseover`,e)},T=function(e,t){if(e)s.hiddenPaths=df(df({},s.hiddenPaths),{},Gd({},t,1));else{var n=df({},s.hiddenPaths);delete n[t],s.hiddenPaths=n}},E=function(t,r){e.collapsedOnClickBrackets&&T(t,r.path),n(`bracketsClick`,t,r)},D=function(e,t){T(e,t.path),n(`iconClick`,e,t)},ee=function(t,r){var i=tf(e.data),a=e.rootPath;Function(`data`,`val`,`data${r.slice(a.length)}=val`)(i,t),n(`update:data`,i)};return(0,$.watchEffect)((function(){_.value&&function(e){throw Error(`[VueJSONPretty] ${e}`)}(_.value)})),(0,$.watchEffect)((function(){h.value&&(e.virtual&&e.dynamicHeight&&c.length!==h.value.length&&f(h.value.length),y())})),(0,$.watch)((function(){return[e.dynamicHeight,e.itemHeight,a.value.length]}),(function(){e.virtual&&e.dynamicHeight&&(f(h.value.length),(0,$.nextTick)(y))})),(0,$.watch)((function(){return e.deep}),(function(t){t&&(s.hiddenPaths=o(t,e.collapsedNodeLength))})),(0,$.watch)((function(){return e.collapsedNodeLength}),(function(t){t&&(s.hiddenPaths=o(e.deep,t))})),function(){var t,n=e.renderNodeKey??r.renderNodeKey,o=e.renderNodeValue??r.renderNodeValue,c=(t=e.renderNodeActions??r.renderNodeActions)!=null&&t,l=s.visibleData?.map((function(t,r){var i=s.startIndex+r;return(0,$.createVNode)(`div`,{key:t.id,ref:function(e){return function(e,t){t?d[e]=t:delete d[e]}(i,e||null)}},[(0,$.createVNode)(lf,{data:e.data,rootPath:e.rootPath,indent:e.indent,node:t,collapsed:!!s.hiddenPaths[t.path],theme:e.theme,showDoubleQuotes:e.showDoubleQuotes,showLength:e.showLength,checked:g.value.includes(t.path),selectableType:e.selectableType,showLine:e.showLine,showLineNumber:e.showLineNumber,showSelectController:e.showSelectController,selectOnClickNode:e.selectOnClickNode,nodeSelectable:e.nodeSelectable,highlightSelectedNode:e.highlightSelectedNode,editable:e.editable,editableTrigger:e.editableTrigger,showIcon:e.showIcon,showKeyValueSpace:e.showKeyValueSpace,renderNodeKey:n,renderNodeValue:o,renderNodeActions:c,onNodeClick:C,onNodeMouseover:w,onBracketsClick:E,onIconClick:D,onSelectedChange:S,onValueChange:ee,class:e.dynamicHeight?`dynamic-height`:void 0,style:e.dynamicHeight?{}:e.itemHeight&&e.itemHeight!==20?{lineHeight:`${e.itemHeight}px`}:{}},null)])}));return(0,$.createVNode)(`div`,{ref:i,class:{"vjs-tree":!0,"is-virtual":e.virtual,dark:e.theme===`dark`},onScroll:e.virtual?x:void 0,style:e.showLineNumber?df({paddingLeft:`${12*Number(a.value.length.toString().length)}px`},e.style):e.style},[e.virtual?(0,$.createVNode)(`div`,{class:`vjs-tree-list`,style:{height:`${e.height}px`}},[(0,$.createVNode)(`div`,{class:`vjs-tree-list-holder`,style:{height:`${v.value}px`}},[(0,$.createVNode)(`div`,{class:`vjs-tree-list-holder-inner`,style:{transform:`translateY(${s.translateY}px)`}},[l])])]):l])}}}),pf=Vd.A,mf={class:`relative overflow-hidden h-[calc(100vh-64px)]`},hf={class:`h-full flex flex-col`},gf={class:`shrink-0 flex items-center gap-2 px-3 h-9 border-b border-default bg-default`},_f={class:`w-72`},vf={class:`px-1 pb-1.5`},yf=[`onClick`],bf={class:`flex-1 text-left truncate`},xf={class:`px-1 pb-2`},Sf=[`onClick`],Cf={class:`flex-1 text-left`},wf={class:`relative flex-1 min-h-0`},Tf={key:0,class:`absolute inset-0 flex flex-col items-center justify-center gap-3 text-muted bg-white dark:bg-[#0a0a0a]`},Ef={key:1,class:`absolute inset-x-0 bottom-24 z-20 px-4 flex justify-center`},Df={class:`relative h-full flex flex-col`},Of={class:`shrink-0 flex items-center px-3 h-9 border-b border-default bg-default`},kf={key:0,class:`flex-1 flex items-center gap-1.5`},Af={class:`flex items-center gap-1.5 text-xs text-muted cursor-default`},jf={key:1,class:`flex-1`},Mf={key:0,class:`flex-1 min-h-0 relative overflow-hidden bg-white dark:bg-neutral-900`},Nf={key:1,class:`absolute inset-0 flex flex-col items-center justify-center gap-3 text-muted`},Pf={key:2,class:`absolute inset-0 flex flex-col items-center justify-center gap-3 text-muted`},Ff={key:1,class:`max-w-none`},If={key:2,class:`flex-1 min-h-0`},Lf={class:`shrink-0 flex items-center gap-4 px-4 h-7 border-t border-default bg-default`},Rf={class:`flex items-center gap-1 text-xs text-muted`},zf={class:`flex items-center gap-1 text-xs text-muted`},Bf={class:`flex items-center gap-1 text-xs text-muted`},Vf=O({__name:`Playground`,setup(e){let t=_e(),n=ge(),r=Ct.map(e=>e.value),s=T({get:()=>r.includes(n.query.example)?n.query.example:r[0],set:e=>{r.includes(e)&&t.push({query:{example:e}})}}),c=T(()=>Ct.find(e=>e.value===s.value)??Ct[0]);o(()=>n.query.example,e=>{e!==s.value&&t.replace({query:{...n.query,example:s.value}})},{immediate:!0});let l=M(c.value.content.trim()),u=M(null),f=M(0),m=M(0),x=M(null),S=M(null),C=M(!1),w=yt(),E=T(()=>w.value===`dark`),D=P(`comark-playground-plugins`,{shiki:!0,rangi:!1,math:!0,emoji:!0,mermaid:!0,jsonRender:!0,footnotes:!0,punctuation:!1,breaks:!1,binding:!0,headings:!1,toc:!1,summary:!1,security:!1},{mergeDefaults:!0}),ee=P(`comark-playground-parse-options`,{autoUnwrap:!0,autoClose:!0,linkify:!0},{mergeDefaults:!0}),O=[{key:`emoji`,label:`Emoji`,icon:`i-lucide-smile`,factory:()=>ql()},{key:`shiki`,label:`Shiki Syntax Highlighting`,icon:`i-lucide-code`,factory:()=>tn()},{key:`rangi`,label:`Rangi Syntax Highlighting`,icon:`i-lucide-gauge`,factory:()=>Wl()},{key:`mermaid`,label:`Mermaid Diagrams`,icon:`i-simple-icons:mermaid`,factory:()=>pl()},{key:`math`,label:`Mathematics (KaTeX)`,icon:`i-lucide-calculator`,factory:()=>ar()},{key:`jsonRender`,label:`JSON Render`,icon:`i-lucide-braces`,factory:()=>Ql()},{key:`footnotes`,label:`Footnotes`,icon:`i-lucide-footprints`,factory:()=>ru()},{key:`punctuation`,label:`Punctuation`,icon:`i-lucide-quote`,factory:()=>lu()},{key:`binding`,label:`Binding`,icon:`i-lucide-link`,factory:()=>hl()},{key:`breaks`,label:`Breaks`,icon:`i-lucide-corner-down-left`,factory:()=>du()},{key:`headings`,label:`Headings`,icon:`i-lucide-heading`,factory:()=>hu()},{key:`toc`,label:`Table of Contents`,icon:`i-lucide-list-tree`,factory:()=>Du()},{key:`summary`,label:`Summary`,icon:`i-lucide-text-quote`,factory:()=>Ou()},{key:`security`,label:`Security`,icon:`i-lucide-shield`,factory:()=>ku()}];function ne(e,t){t&&e===`shiki`&&(D.value.rangi=!1),t&&e===`rangi`&&(D.value.shiki=!1),D.value[e]=t}let ae=[{key:`autoUnwrap`,label:`Auto Unwrap`,icon:`i-lucide-ungroup`},{key:`autoClose`,label:`Auto Close`,icon:`i-lucide-shield-check`},{key:`linkify`,label:`Auto Convert urls to links`,icon:`i-lucide-link`}],se=T(()=>O.filter(e=>D.value[e.key]).map(e=>e.factory())),ce=T(()=>
304Object.values(D.value).filter(Boolean).length),le=M(`preview`),N=[{label:`Preview`,value:`preview`,icon:`i-lucide-eye`},{label:`AST`,value:`ast`,icon:`i-lucide-git-branch`},{label:`Formatted`,value:`formatted`,icon:`i-lucide-code`}],de=T(()=>le.value);function fe(e){let t=0;for(let n of e)if(t++,Array.isArray(n)&&n.length>2)for(let e=2;e<n.length;e++)Array.isArray(n[e])?t+=fe([n[e]]):typeof n[e]==`string`&&t++;return t}async function me(){if(!l.value.trim()){u.value=null,f.value=0,m.value=0,x.value=null;return}C.value=!0;let e=performance.now();try{let t=await It(l.value,{plugins:se.value,autoUnwrap:ee.value.autoUnwrap,autoClose:ee.value.autoClose,linkify:ee.value.linkify??!0});u.value=t,f.value=Math.round((performance.now()-e)*10)/10,m.value=fe(t.nodes),x.value=null}catch(e){x.value=e.message||`Failed to parse markdown`,console.error(`[Comark] Parse error:`,e)}finally{C.value=!1}}je(l,me,{debounce:300}),je([se,ee],me,{deep:!0,debounce:300}),b(()=>{ie(()=>me())}),o(s,()=>{l.value=c.value.content.trim()});function he(){l.value=c.value.content.trim()}let ve=M(``);h(async()=>{ve.value=u.value?await Ad(u.value):``});let ye=T({get:()=>ve.value,set:()=>{}}),be=T(()=>!!ve.value&&ve.value.trim()===l.value.trim()),xe=p(`markdownEditor`);function Se(){ie(()=>xe.value?.scrollToBottom())}let Ce=M(!1),{completion:we,complete:Te}=sn({api:`/api/generate-page`,streamProtocol:`data`,onError:()=>{S.value=St,l.value=Ee},onFinish:async()=>{await me(),Se()}});o(we,async e=>{if(e){l.value=e;try{let t=await It(e,{plugins:se.value,autoUnwrap:ee.value.autoUnwrap,autoClose:!0});u.value=t}catch{}Se()}});let Ee=``;async function De(e){let t=c.value;if(t.mode){Ee=l.value,l.value=``,u.value=null,x.value=null,S.value=null,Ce.value=!0;try{await Te(e,{body:{mode:t.mode,structure:t.content}})}finally{Ce.value=!1}}}return(e,t)=>{let n=Zn,r=gt,o=vt,p=_t,h=ft,b=$n,w=bt,T=xt,ie=wt,M=Tt,se=_l,fe=bl;return k(),v(`div`,mf,[i(d(jd),{class:`h-full`},{default:A(()=>[i(d(Md),{size:50,"min-size":20},{default:A(()=>[_(`div`,hf,[_(`div`,gf,[i(n,{modelValue:d(s),"onUpdate:modelValue":t[0]||=e=>oe(s)?s.value=e:null,items:d(Ct),size:`xs`,color:`neutral`,variant:`ghost`,class:`w-32`},null,8,[`modelValue`,`items`]),d(l)===d(c).content.trim()?ue(``,!0):(k(),j(o,{key:0,text:`Reset to example`},{default:A(()=>[i(r,{size:`xs`,color:`neutral`,variant:`ghost`,icon:`i-lucide-rotate-ccw`,label:`Reset`,onClick:he})]),_:1})),t[10]||=_(`div`,{class:`flex-1`},null,-1),i(w,{ui:{content:`p-0`}},{content:A(()=>[_(`div`,_f,[t[7]||=_(`div`,{class:`px-3 pt-3 pb-1.5`},[_(`p`,{class:`text-xs font-semibold text-muted uppercase tracking-wider`},`Plugins`)],-1),_(`div`,vf,[(k(),v(te,null,y(O,e=>_(`button`,{key:e.key,class:`flex items-center gap-2.5 w-full px-2 py-1.5 rounded-md text-sm hover:bg-elevated transition-colors`,onClick:t=>ne(e.key,!d(D)[e.key])},[i(h,{name:e.icon,class:`size-4 text-muted shrink-0`},null,8,[`name`]),_(`span`,bf,re(e.label),1),i(b,{"model-value":d(D)[e.key],size:`xs`,tabindex:`-1`,onClick:t[1]||=pe(()=>{},[`stop`]),"onUpdate:modelValue":t=>ne(e.key,t)},null,8,[`model-value`,`onUpdate:modelValue`])],8,yf)),64))]),t[8]||=_(`div`,{class:`border-t border-default`},null,-1),t[9]||=_(`div`,{class:`px-3 pt-2.5 pb-1.5`},[_(`p`,{class:`text-xs font-semibold text-muted uppercase tracking-wider`},`Parse Options`)],-1),_(`div`,xf,[(k(),v(te,null,y(ae,e=>_(`button`,{key:e.key,class:`flex items-center gap-2.5 w-full px-2 py-1.5 rounded-md text-sm hover:bg-elevated transition-colors`,onClick:t=>d(ee)[e.key]=!d(ee)[e.key]},[i(h,{name:e.icon,class:`size-4 text-muted shrink-0`},null,8,[`name`]),_(`span`,Cf,re(e.label),1),i(b,{"model-value":d(ee)[e.key],size:`xs`,tabindex:`-1`,onClick:t[2]||=pe(()=>{},[`stop`]),"onUpdate:modelValue":t=>d(ee)[e.key]=t},null,8,[`model-value`,`onUpdate:modelValue`])],8,Sf)),64))])])]),default:A(()=>[i(r,{size:`xs`,color:`neutral`,variant:`ghost`,icon:`i-lucide-settings-2`},{trailing:A(()=>[i(p,{size:`xs`,color:`neutral`,variant:`subtle`,label:`${d(ce)}/${O.length}`},null,8,[`label`])]),_:1})]),_:1})]),_(`div`,wf,[i(T,{ref_key:`markdownEditor`,ref:xe,modelValue:d(l),"onUpdate:modelValue":t[3]||=e=>oe(l)?l.value=e:null},null,8,[`modelValue`]),d(Ce)&&!d(l)?(k(),v(`div`,Tf,[i(h,{name:`i-lucide-loader-circle`,class:`size-6 animate-spin text-primary`}),t[11]||=_(`span`,{class:`text-sm`},`Generating...`,-1)])):ue(``,!0),d(S)?(k(),v(`div`,Ef,[i(ie,{color:`error`,variant:`soft`,icon:`i-lucide-circle-alert`,description:d(S),close:``,class:`w-full max-w-96 shadow-lg`,ui:{description:`text-xs`},"onUpdate:open":t[4]||=e=>S.value=null},null,8,[`description`])])):ue(``,!0),d(c).mode?(k(),j(Nd,{key:2,"is-generating":d(Ce),prompt:d(c).prompt,floating:``,onSubmit:De},null,8,[`is-generating`,`prompt`])):ue(``,!0)])])]),_:1}),i(d(Md),{size:50,"min-size":20},{default:A(()=>[_(`div`,Df,[_(`div`,Of,[d(u)&&d(le)===`formatted`?(k(),v(`div`,kf,[i(o,{text:d(be)?`Stringify output matches source`:`Stringify output differs from source`},{default:A(()=>
304[_(`span`,Af,[_(`span`,{class:g([`size-2 rounded-full`,d(be)?`bg-success`:`bg-error`])},null,2),a(` `+re(d(be)?`Roundtrip match`:`Roundtrip mismatch`),1)])]),_:1},8,[`text`])])):(k(),v(`div`,jf)),i(M,{modelValue:d(le),"onUpdate:modelValue":t[5]||=e=>oe(le)?le.value=e:null,content:!1,items:N,color:`neutral`,variant:`link`,size:`xs`,class:`h-full`,ui:{list:`h-full p-0 border-b-0`}},null,8,[`modelValue`])]),d(de)===`preview`?(k(),v(`div`,Mf,[d(Ce)&&!d(u)?(k(),j(Ld,{key:0})):d(C)&&!d(u)?(k(),v(`div`,Nf,[i(h,{name:`i-lucide-loader-circle`,class:`size-6 animate-spin text-primary`}),t[12]||=_(`span`,{class:`text-sm`},`Rendering preview...`,-1)])):!d(u)&&!d(x)?(k(),v(`div`,Pf,[i(h,{name:`i-lucide-eye-off`,class:`size-8 opacity-40`}),t[13]||=_(`p`,{class:`text-sm font-medium`},`Nothing to preview`,-1)])):(k(),j(fe,{key:3,class:`h-full`,ui:{viewport:`p-4 sm:p-6`}},{default:A(()=>[d(x)?(k(),j(ie,{key:0,color:`error`,variant:`soft`,icon:`i-lucide-circle-alert`,title:d(x)},null,8,[`title`])):d(u)?(k(),v(`div`,Ff,[i(se,{value:d(u),"components-manifest":d(rn)},null,8,[`value`,`components-manifest`])])):ue(``,!0)]),_:1}))])):d(de)===`ast`?(k(),j(fe,{key:1,class:`flex-1 min-h-0`,ui:{viewport:`p-4`}},{default:A(()=>[d(u)?(k(),j(d(pf),{key:0,data:d(u),theme:d(E)?`dark`:`light`,deep:6,"show-line":``},null,8,[`data`,`theme`])):ue(``,!0)]),_:1})):d(de)===`formatted`?(k(),v(`div`,If,[i(T,{modelValue:d(ye),"onUpdate:modelValue":t[6]||=e=>oe(ye)?ye.value=e:null,language:`mdc`,"read-only":!0},null,8,[`modelValue`])])):ue(``,!0),_(`div`,Lf,[_(`span`,Rf,[i(h,{name:`i-lucide-git-branch`,class:`size-3`}),a(` `+re(d(m))+` nodes `,1)]),_(`span`,zf,[i(h,{name:`i-lucide-timer`,class:`size-3`}),a(` `+re(d(f))+`ms `,1)]),_(`span`,Bf,[i(h,{name:`i-lucide-puzzle`,class:`size-3`}),a(` `+re(d(ce))+` plugins `,1)])])])]),_:1})]),_:1})])}}}),Hf=e({default:()=>Uf}),Uf=Object.assign(Vf,{__name:`Playground`});export{Hf as n,Uf as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.