var Purs_EntryPoints_Vinai_RecLetters=(()=>{var JQ=Object.create;var um=Object.defineProperty,XQ=Object.defineProperties,YQ=Object.getOwnPropertyDescriptor,ZQ=Object.getOwnPropertyDescriptors,QQ=Object.getOwnPropertyNames,x8=Object.getOwnPropertySymbols,KQ=Object.getPrototypeOf,T8=Object.prototype.hasOwnProperty,eK=Object.prototype.propertyIsEnumerable;var E8=(e,t,n)=>t in e?um(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zt=(e,t)=>{for(var n in t||(t={}))T8.call(t,n)&&E8(e,n,t[n]);if(x8)for(var n of x8(t))eK.call(t,n)&&E8(e,n,t[n]);return e},hr=(e,t)=>XQ(e,ZQ(t)),F8=e=>um(e,"__esModule",{value:!0});var tK=(e,t)=>()=>(e&&(t=e(e=0)),t);var fe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Hh=(e,t)=>{F8(e);for(var n in t)um(e,n,{get:t[n],enumerable:!0})},nK=(e,t,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of QQ(t))!T8.call(e,r)&&r!=="default"&&um(e,r,{get:()=>t[r],enumerable:!(n=YQ(t,r))||n.enumerable});return e},Gt=e=>nK(F8(um(e!=null?JQ(KQ(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var q4={};Hh(q4,{Children:()=>as,Component:()=>os,Fragment:()=>z4,Suspense:()=>vne,cloneElement:()=>zm,createContext:()=>W4,createElement:()=>Kt,createRef:()=>O1,default:()=>Dt,forwardRef:()=>no,isValidElement:()=>G4,lazy:()=>mne,useCallback:()=>Gm,useContext:()=>hne,useEffect:()=>Cn,useImperativeHandle:()=>Gu,useLayoutEffect:()=>qm,useMemo:()=>$m,useReducer:()=>gne,useRef:()=>Yt,useState:()=>yi});var Dt,as,zm,os,W4,Kt,O1,no,z4,G4,mne,vne,Gm,hne,Cn,Gu,qm,$m,gne,Yt,yi,xt=tK(()=>{Dt=window.React,{Children:as,cloneElement:zm,Component:os,createContext:W4,createElement:Kt,createRef:O1,forwardRef:no,Fragment:z4,isValidElement:G4,lazy:mne,Suspense:vne,useCallback:Gm,useContext:hne,useEffect:Cn,useImperativeHandle:Gu,useLayoutEffect:qm,useMemo:$m,useReducer:gne,useRef:Yt,useState:yi}=window.React});var q1=fe((Uqe,MF)=>{"use strict";var FF=Object.getOwnPropertySymbols,Ane=Object.prototype.hasOwnProperty,Lne=Object.prototype.propertyIsEnumerable;function Pne(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function jne(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(r.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(o){a[o]=o}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}MF.exports=jne()?Object.assign:function(e,t){for(var n,r=Pne(e),a,o=1;o{"use strict";var K4=q1(),ld=60103,SF=60106;nn.Fragment=60107;nn.StrictMode=60108;nn.Profiler=60114;var IF=60109,AF=60110,LF=60112;nn.Suspense=60113;var PF=60115,jF=60116;typeof Symbol=="function"&&Symbol.for&&(Ro=Symbol.for,ld=Ro("react.element"),SF=Ro("react.portal"),nn.Fragment=Ro("react.fragment"),nn.StrictMode=Ro("react.strict_mode"),nn.Profiler=Ro("react.profiler"),IF=Ro("react.provider"),AF=Ro("react.context"),LF=Ro("react.forward_ref"),nn.Suspense=Ro("react.suspense"),PF=Ro("react.memo"),jF=Ro("react.lazy"));var Ro,NF=typeof Symbol=="function"&&Symbol.iterator;function Nne(e){return e===null||typeof e!="object"?null:(e=NF&&e[NF]||e["@@iterator"],typeof e=="function"?e:null)}function Ym(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n{"use strict";$F.exports=qF()});var vM=fe(sd=>{"use strict";var Di=q1(),$u=xo();function Jn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nKm;Km++)$r[Km]=Km+1;var $r,Km;$r[15]=0;var zne=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,KF=Object.prototype.hasOwnProperty,eM={},tM={};function nM(e){return KF.call(tM,e)?!0:KF.call(eM,e)?!1:zne.test(e)?tM[e]=!0:(eM[e]=!0,!1)}function Gne(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function qne(e,t,n,r){if(t===null||typeof t=="undefined"||Gne(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ba(e,t,n,r,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var Vr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Vr[e]=new ba(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Vr[t]=new ba(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Vr[e]=new ba(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Vr[e]=new ba(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Vr[e]=new ba(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Vr[e]=new ba(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Vr[e]=new ba(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Vr[e]=new ba(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Vr[e]=new ba(e,5,!1,e.toLowerCase(),null,!1,!1)});var pw=/[\-:]([a-z])/g;function mw(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(pw,mw);Vr[t]=new ba(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(pw,mw);Vr[t]=new ba(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(pw,mw);Vr[t]=new ba(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Vr[e]=new ba(e,1,!1,e.toLowerCase(),null,!1,!1)});Vr.xlinkHref=new ba("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Vr[e]=new ba(e,1,!1,e.toLowerCase(),null,!0,!0)});var $ne=/["'&<>]/;function cs(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=$ne.exec(e);if(t){var n="",r,a=0;for(r=t.index;rK1))throw Error(Jn(301));if(e===Ki)if(Q1=!0,e={action:n,next:null},Nl===null&&(Nl=new Map),n=Nl.get(t),n===void 0)Nl.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function hw(){}var fs=null,Zne={readContext:function(e){var t=fs.threadID;return Qm(e,t),e[t]},useContext:function(e){ss();var t=fs.threadID;return Qm(e,t),e[t]},useMemo:lM,useReducer:uM,useRef:function(e){Ki=ss(),Fn=vw();var t=Fn.memoizedState;return t===null?(e={current:e},Fn.memoizedState=e):t},useState:function(e){return uM(iM,e)},useLayoutEffect:function(){},useCallback:function(e,t){return lM(function(){return e},t)},useImperativeHandle:hw,useEffect:hw,useDebugValue:hw,useDeferredValue:function(e){return ss(),e},useTransition:function(){return ss(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(fs.identifierPrefix||"")+"R:"+(fs.uniqueID++).toString(36)},useMutableSource:function(e,t){return ss(),t(e._source)}},cM={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function sM(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var fM={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Qne=Di({menuitem:!0},fM),tv={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Kne=["Webkit","ms","Moz","O"];Object.keys(tv).forEach(function(e){Kne.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),tv[t]=tv[e]})});var ere=/([A-Z])/g,tre=/^ms-/,kl=$u.Children.toArray,gw=Bne.ReactCurrentDispatcher,nre={listing:!0,pre:!0,textarea:!0},rre=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,dM={},_w={};function are(e){if(e==null)return e;var t="";return $u.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}var ore=Object.prototype.hasOwnProperty,ire={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function pM(e,t){if(e===void 0)throw Error(Jn(152,Zm(t)||"Component"))}function ure(e,t,n){function r(i,u){var l=u.prototype&&u.prototype.isReactComponent,c=Wne(u,t,n,l),s=[],f=!1,d={isMounted:function(){return!1},enqueueForceUpdate:function(){if(s===null)return null},enqueueReplaceState:function(F,I){f=!0,s=[I]},enqueueSetState:function(F,I){if(s===null)return null;s.push(I)}};if(l){if(l=new u(i.props,c,d),typeof u.getDerivedStateFromProps=="function"){var p=u.getDerivedStateFromProps.call(null,i.props,l.state);p!=null&&(l.state=Di({},l.state,p))}}else if(Ki={},l=u(i.props,c,d),l=aM(u,i.props,l,c),l==null||l.render==null){e=l,pM(e,u);return}if(l.props=i.props,l.context=c,l.updater=d,d=l.state,d===void 0&&(l.state=d=null),typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")if(typeof l.componentWillMount=="function"&&typeof u.getDerivedStateFromProps!="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&typeof u.getDerivedStateFromProps!="function"&&l.UNSAFE_componentWillMount(),s.length){d=s;var v=f;if(s=null,f=!1,v&&d.length===1)l.state=d[0];else{p=v?d[0]:l.state;var b=!0;for(v=v?1:0;v=u))throw Error(Jn(304));var l=new Uint16Array(u);for(l.set(i),$r=l,$r[0]=o+1,i=o;i=l.children.length){var c=l.footer;if(c!==""&&(this.previousWasTextNode=!1),this.stack.pop(),l.type==="select")this.currentSelectValue=null;else if(l.type!=null&&l.type.type!=null&&l.type.type.$$typeof===X1)this.popProvider(l.type);else if(l.type===Y1){this.suspenseDepth--;var s=o.pop();if(i){i=!1;var f=l.fallbackFrame;if(!f)throw Error(Jn(303));this.stack.push(f),o[this.suspenseDepth]+="";continue}else o[this.suspenseDepth]+=s}o[this.suspenseDepth]+=c}else{var d=l.children[l.childIndex++],p="";try{p+=this.render(d,l.context,l.domNamespace)}catch(v){throw v!=null&&typeof v.then=="function"?Error(Jn(294)):v}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=p}}return o[0]}finally{gw.current=a,fs=r,oM()}},t.render=function(n,r,a){if(typeof n=="string"||typeof n=="number")return a=""+n,a===""?"":this.makeStaticMarkup?cs(a):this.previousWasTextNode?""+cs(a):(this.previousWasTextNode=!0,cs(a));if(r=ure(n,r,this.threadID),n=r.child,r=r.context,n===null||n===!1)return"";if(!$u.isValidElement(n)){if(n!=null&&n.$$typeof!=null)throw a=n.$$typeof,Error(a===ow?Jn(257):Jn(258,a.toString()));return n=kl(n),this.stack.push({type:null,domNamespace:a,children:n,childIndex:0,context:r,footer:""}),""}var o=n.type;if(typeof o=="string")return this.renderDOM(n,r,a);switch(o){case ZF:case YF:case iw:case uw:case sw:case J1:return n=kl(n.props.children),this.stack.push({type:null,domNamespace:a,children:n,childIndex:0,context:r,footer:""}),"";case Y1:throw Error(Jn(294));case XF:throw Error(Jn(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case cw:Ki={};var i=o.render(n.props,n.ref);return i=aM(o.render,n.props,i,n.ref),i=kl(i),this.stack.push({type:null,domNamespace:a,children:i,childIndex:0,context:r,footer:""}),"";case fw:return n=[$u.createElement(o.type,Di({ref:n.ref},n.props))],this.stack.push({type:null,domNamespace:a,children:n,childIndex:0,context:r,footer:""}),"";case X1:return o=kl(n.props.children),a={type:n,domNamespace:a,children:o,childIndex:0,context:r,footer:""},this.pushProvider(n),this.stack.push(a),"";case lw:o=n.type,i=n.props;var u=this.threadID;return Qm(o,u),o=kl(i.children(o[u])),this.stack.push({type:n,domNamespace:a,children:o,childIndex:0,context:r,footer:""}),"";case JF:throw Error(Jn(338));case dw:return o=n.type,i=o._init,o=i(o._payload),n=[$u.createElement(o,Di({ref:n.ref},n.props))],this.stack.push({type:null,domNamespace:a,children:n,childIndex:0,context:r,footer:""}),""}throw Error(Jn(130,o==null?o:typeof o,""))},t.renderDOM=function(n,r,a){var o=n.type.toLowerCase();if(a===cM.html&&sM(o),!dM.hasOwnProperty(o)){if(!rre.test(o))throw Error(Jn(65,o));dM[o]=!0}var i=n.props;if(o==="input")i=Di({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:i.value!=null?i.value:i.defaultValue,checked:i.checked!=null?i.checked:i.defaultChecked});else if(o==="textarea"){var u=i.value;if(u==null){u=i.defaultValue;var l=i.children;if(l!=null){if(u!=null)throw Error(Jn(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(Jn(93));l=l[0]}u=""+l}u==null&&(u="")}i=Di({},i,{value:void 0,children:""+u})}else if(o==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=Di({},i,{value:void 0});else if(o==="option"){l=this.currentSelectValue;var c=are(i.children);if(l!=null){var s=i.value!=null?i.value+"":c;if(u=!1,Array.isArray(l)){for(var f=0;f":(I+=">",u="");e:{if(l=i.dangerouslySetInnerHTML,l!=null){if(l.__html!=null){l=l.__html;break e}}else if(l=i.children,typeof l=="string"||typeof l=="number"){l=cs(l);break e}l=null}return l!=null?(i=[],nre.hasOwnProperty(o)&&l.charAt(0)===` `&&(I+=` `),I+=l):i=kl(i.children),n=n.type,a=a==null||a==="http://www.w3.org/1999/xhtml"?sM(n):a==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":a,this.stack.push({domNamespace:a,type:o,children:i,childIndex:0,context:r,footer:u}),this.previousWasTextNode=!1,I},e}();sd.renderToNodeStream=function(){throw Error(Jn(207))};sd.renderToStaticMarkup=function(e,t){e=new mM(e,!0,t);try{return e.read(1/0)}finally{e.destroy()}};sd.renderToStaticNodeStream=function(){throw Error(Jn(208))};sd.renderToString=function(e,t){e=new mM(e,!1,t);try{return e.read(1/0)}finally{e.destroy()}};sd.version="17.0.2"});var gM=fe((zqe,hM)=>{"use strict";hM.exports=vM()});var eS=fe((ng,Mw)=>{(function(t,n){typeof ng=="object"&&typeof Mw=="object"?Mw.exports=n():typeof define=="function"&&define.amd?define([],n):typeof ng=="object"?ng.Pusher=n():t.Pusher=n()})(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(r,a,o){n.o(r,a)||Object.defineProperty(r,a,{enumerable:!0,get:o})},n.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,a){if(a&1&&(r=n(r)),a&8||a&4&&typeof r=="object"&&r&&r.__esModule)return r;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),a&2&&typeof r!="string")for(var i in r)n.d(o,i,function(u){return r[u]}.bind(null,i));return o},n.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(a,"a",a),a},n.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)},n.p="",n(n.s=2)}([function(e,t,n){"use strict";var r=this&&this.__extends||function(){var p=function(v,b){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,D){y.__proto__=D}||function(y,D){for(var C in D)D.hasOwnProperty(C)&&(y[C]=D[C])},p(v,b)};return function(v,b){p(v,b);function y(){this.constructor=v}v.prototype=b===null?Object.create(b):(y.prototype=b.prototype,new y)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=256,o=function(){function p(v){v===void 0&&(v="="),this._paddingCharacter=v}return p.prototype.encodedLength=function(v){return this._paddingCharacter?(v+2)/3*4|0:(v*8+5)/6|0},p.prototype.encode=function(v){for(var b="",y=0;y>>3*6&63),b+=this._encodeByte(D>>>2*6&63),b+=this._encodeByte(D>>>1*6&63),b+=this._encodeByte(D>>>0*6&63)}var C=v.length-y;if(C>0){var D=v[y]<<16|(C===2?v[y+1]<<8:0);b+=this._encodeByte(D>>>3*6&63),b+=this._encodeByte(D>>>2*6&63),C===2?b+=this._encodeByte(D>>>1*6&63):b+=this._paddingCharacter||"",b+=this._paddingCharacter||""}return b},p.prototype.maxDecodedLength=function(v){return this._paddingCharacter?v/4*3|0:(v*6+7)/8|0},p.prototype.decodedLength=function(v){return this.maxDecodedLength(v.length-this._getPaddingLength(v))},p.prototype.decode=function(v){if(v.length===0)return new Uint8Array(0);for(var b=this._getPaddingLength(v),y=v.length-b,D=new Uint8Array(this.maxDecodedLength(y)),C=0,F=0,I=0,L=0,S=0,z=0,Y=0;F>>4,D[C++]=S<<4|z>>>2,D[C++]=z<<6|Y,I|=L&a,I|=S&a,I|=z&a,I|=Y&a;if(F>>4,I|=L&a,I|=S&a),F>>2,I|=z&a),F>>8&0-65-26+97,b+=51-v>>>8&26-97-52+48,b+=61-v>>>8&52-48-62+43,b+=62-v>>>8&62-43-63+47,String.fromCharCode(b)},p.prototype._decodeChar=function(v){var b=a;return b+=(42-v&v-44)>>>8&-a+v-43+62,b+=(46-v&v-48)>>>8&-a+v-47+63,b+=(47-v&v-58)>>>8&-a+v-48+52,b+=(64-v&v-91)>>>8&-a+v-65+0,b+=(96-v&v-123)>>>8&-a+v-97+26,b},p.prototype._getPaddingLength=function(v){var b=0;if(this._paddingCharacter){for(var y=v.length-1;y>=0&&v[y]===this._paddingCharacter;y--)b++;if(v.length<4||b>2)throw new Error("Base64Coder: incorrect padding")}return b},p}();t.Coder=o;var i=new o;function u(p){return i.encode(p)}t.encode=u;function l(p){return i.decode(p)}t.decode=l;var c=function(p){r(v,p);function v(){return p!==null&&p.apply(this,arguments)||this}return v.prototype._encodeByte=function(b){var y=b;return y+=65,y+=25-b>>>8&0-65-26+97,y+=51-b>>>8&26-97-52+48,y+=61-b>>>8&52-48-62+45,y+=62-b>>>8&62-45-63+95,String.fromCharCode(y)},v.prototype._decodeChar=function(b){var y=a;return y+=(44-b&b-46)>>>8&-a+b-45+62,y+=(94-b&b-96)>>>8&-a+b-95+63,y+=(47-b&b-58)>>>8&-a+b-48+52,y+=(64-b&b-91)>>>8&-a+b-65+0,y+=(96-b&b-123)>>>8&-a+b-97+26,y},v}(o);t.URLSafeCoder=c;var s=new c;function f(p){return s.encode(p)}t.encodeURLSafe=f;function d(p){return s.decode(p)}t.decodeURLSafe=d,t.encodedLength=function(p){return i.encodedLength(p)},t.maxDecodedLength=function(p){return i.maxDecodedLength(p)},t.decodedLength=function(p){return i.decodedLength(p)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="utf8: invalid string",a="utf8: invalid source encoding";function o(l){for(var c=new Uint8Array(i(l)),s=0,f=0;f>6,c[s++]=128|d&63):d<55296?(c[s++]=224|d>>12,c[s++]=128|d>>6&63,c[s++]=128|d&63):(f++,d=(d&1023)<<10,d|=l.charCodeAt(f)&1023,d+=65536,c[s++]=240|d>>18,c[s++]=128|d>>12&63,c[s++]=128|d>>6&63,c[s++]=128|d&63)}return c}t.encode=o;function i(l){for(var c=0,s=0;s=l.length-1)throw new Error(r);s++,c+=4}else throw new Error(r)}return c}t.encodedLength=i;function u(l){for(var c=[],s=0;s=l.length)throw new Error(a);var p=l[++s];if((p&192)!=128)throw new Error(a);f=(f&31)<<6|p&63,d=128}else if(f<240){if(s>=l.length-1)throw new Error(a);var p=l[++s],v=l[++s];if((p&192)!=128||(v&192)!=128)throw new Error(a);f=(f&15)<<12|(p&63)<<6|v&63,d=2048}else if(f<248){if(s>=l.length-2)throw new Error(a);var p=l[++s],v=l[++s],b=l[++s];if((p&192)!=128||(v&192)!=128||(b&192)!=128)throw new Error(a);f=(f&15)<<18|(p&63)<<12|(v&63)<<6|b&63,d=65536}else throw new Error(a);if(f=55296&&f<=57343)throw new Error(a);if(f>=65536){if(f>1114111)throw new Error(a);f-=65536,c.push(String.fromCharCode(55296|f>>10)),f=56320|f&1023}}c.push(String.fromCharCode(f))}return c.join("")}t.decode=u},function(e,t,n){e.exports=n(3).default},function(e,t,n){"use strict";n.r(t);var r=function(){function h(m,_){this.lastId=0,this.prefix=m,this.name=_}return h.prototype.create=function(m){this.lastId++;var _=this.lastId,R=this.prefix+_,T=this.name+"["+_+"]",H=!1,se=function(){H||(m.apply(null,arguments),H=!0)};return this[_]=se,{number:_,id:R,name:T,callback:se}},h.prototype.remove=function(m){delete this[m.number]},h}(),a=new r("_pusher_script_","Pusher.ScriptReceivers"),o={VERSION:"6.0.3",PROTOCOL:7,wsPort:80,wssPort:443,wsPath:"",httpHost:"sockjs.pusher.com",httpPort:80,httpsPort:443,httpPath:"/pusher",stats_host:"stats.pusher.com",authEndpoint:"/pusher/auth",authTransport:"ajax",activityTimeout:12e4,pongTimeout:3e4,unavailableTimeout:1e4,cluster:"mt1",cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""},i=o,u=function(){function h(m){this.options=m,this.receivers=m.receivers||a,this.loading={}}return h.prototype.load=function(m,_,R){var T=this;if(T.loading[m]&&T.loading[m].length>0)T.loading[m].push(R);else{T.loading[m]=[R];var H=Ot.createScriptRequest(T.getPath(m,_)),se=T.receivers.create(function(je){if(T.receivers.remove(se),T.loading[m]){var vt=T.loading[m];delete T.loading[m];for(var cn=function(_a){_a||H.cleanup()},wr=0;wr>>6)+d(128|m&63):d(224|m>>>12&15)+d(128|m>>>6&63)+d(128|m&63)},C=function(h){return h.replace(/[^\x00-\x7F]/g,D)},F=function(h){var m=[0,2,1][h.length%3],_=h.charCodeAt(0)<<16|(h.length>1?h.charCodeAt(1):0)<<8|(h.length>2?h.charCodeAt(2):0),R=[p.charAt(_>>>18),p.charAt(_>>>12&63),m>=2?"=":p.charAt(_>>>6&63),m>=1?"=":p.charAt(_&63)];return R.join("")},I=window.btoa||function(h){return h.replace(/[\s\S]{1,3}/g,F)},L=function(){function h(m,_,R,T){var H=this;this.clear=_,this.timer=m(function(){H.timer&&(H.timer=T(H.timer))},R)}return h.prototype.isRunning=function(){return this.timer!==null},h.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},h}(),S=L,z=function(){var h=function(m,_){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,T){R.__proto__=T}||function(R,T){for(var H in T)T.hasOwnProperty(H)&&(R[H]=T[H])},h(m,_)};return function(m,_){h(m,_);function R(){this.constructor=m}m.prototype=_===null?Object.create(_):(R.prototype=_.prototype,new R)}}();function Y(h){window.clearTimeout(h)}function X(h){window.clearInterval(h)}var ee=function(h){z(m,h);function m(_,R){return h.call(this,setTimeout,Y,_,function(T){return R(),null})||this}return m}(S),W=function(h){z(m,h);function m(_,R){return h.call(this,setInterval,X,_,function(T){return R(),T})||this}return m}(S),te={now:function(){return Date.now?Date.now():new Date().valueOf()},defer:function(h){return new ee(0,h)},method:function(h){for(var m=[],_=1;_0)for(var T=0;T=1002&&h.code<=1004?"backoff":null:h.code===4e3?"tls_only":h.code<4100?"refused":h.code<4200?"backoff":h.code<4300?"retry":"refused"},getCloseError:function(h){return h.code!==1e3&&h.code!==1001?{type:"PusherError",data:{code:h.code,message:h.reason||h.message}}:null}},Uc=a8,lZ=function(){var h=function(m,_){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,T){R.__proto__=T}||function(R,T){for(var H in T)T.hasOwnProperty(H)&&(R[H]=T[H])},h(m,_)};return function(m,_){h(m,_);function R(){this.constructor=m}m.prototype=_===null?Object.create(_):(R.prototype=_.prototype,new R)}}(),cZ=function(h){lZ(m,h);function m(_,R){var T=h.call(this)||this;return T.id=_,T.transport=R,T.activityTimeout=R.activityTimeout,T.bindListeners(),T}return m.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},m.prototype.send=function(_){return this.transport.send(_)},m.prototype.send_event=function(_,R,T){var H={event:_,data:R};return T&&(H.channel=T),ce.debug("Event sent",H),this.send(Uc.encodeMessage(H))},m.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},m.prototype.close=function(){this.transport.close()},m.prototype.bindListeners=function(){var _=this,R={message:function(H){var se;try{se=Uc.decodeMessage(H)}catch(je){_.emit("error",{type:"MessageParseError",error:je,data:H.data})}if(se!==void 0){switch(ce.debug("Event recd",se),se.event){case"pusher:error":_.emit("error",{type:"PusherError",data:se.data});break;case"pusher:ping":_.emit("ping");break;case"pusher:pong":_.emit("pong");break}_.emit("message",se)}},activity:function(){_.emit("activity")},error:function(H){_.emit("error",{type:"WebSocketError",error:H})},closed:function(H){T(),H&&H.code&&_.handleCloseEvent(H),_.transport=null,_.emit("closed")}},T=function(){ne(R,function(H,se){_.transport.unbind(se,H)})};ne(R,function(H,se){_.transport.bind(se,H)})},m.prototype.handleCloseEvent=function(_){var R=Uc.getCloseAction(_),T=Uc.getCloseError(_);T&&this.emit("error",T),R&&this.emit(R,{action:R,error:T})},m}(mn),sZ=cZ,fZ=function(){function h(m,_){this.transport=m,this.callback=_,this.bindListeners()}return h.prototype.close=function(){this.unbindListeners(),this.transport.close()},h.prototype.bindListeners=function(){var m=this;this.onMessage=function(_){m.unbindListeners();var R;try{R=Uc.processHandshake(_)}catch(T){m.finish("error",{error:T}),m.transport.close();return}R.action==="connected"?m.finish("connected",{connection:new sZ(R.id,m.transport),activityTimeout:R.activityTimeout}):(m.finish(R.action,{error:R.error}),m.transport.close())},this.onClosed=function(_){m.unbindListeners();var R=Uc.getCloseAction(_)||"backoff",T=Uc.getCloseError(_);m.finish(R,{error:T})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},h.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},h.prototype.finish=function(m,_){this.callback(Q({transport:this.transport,action:m},_))},h}(),dZ=fZ,pZ=function(){function h(m,_){this.channel=m;var R=_.authTransport;if(typeof Ot.getAuthorizers()[R]=="undefined")throw"'"+R+"' is not a recognized auth transport";this.type=R,this.options=_,this.authOptions=_.auth||{}}return h.prototype.composeQuery=function(m){var _="socket_id="+encodeURIComponent(m)+"&channel_name="+encodeURIComponent(this.channel.name);for(var R in this.authOptions.params)_+="&"+encodeURIComponent(R)+"="+encodeURIComponent(this.authOptions.params[R]);return _},h.prototype.authorize=function(m,_){h.authorizers=h.authorizers||Ot.getAuthorizers(),h.authorizers[this.type].call(this,Ot,m,_)},h}(),mZ=pZ,vZ=function(){function h(m,_){this.timeline=m,this.options=_||{}}return h.prototype.send=function(m,_){this.timeline.isEmpty()||this.timeline.send(Ot.TimelineTransport.getAgent(this,m),_)},h}(),hZ=vZ,Hc=function(){var h=function(m,_){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,T){R.__proto__=T}||function(R,T){for(var H in T)T.hasOwnProperty(H)&&(R[H]=T[H])},h(m,_)};return function(m,_){h(m,_);function R(){this.constructor=m}m.prototype=_===null?Object.create(_):(R.prototype=_.prototype,new R)}}(),gZ=function(h){Hc(m,h);function m(_){var R=this.constructor,T=h.call(this,_)||this;return Object.setPrototypeOf(T,R.prototype),T}return m}(Error),_Z=function(h){Hc(m,h);function m(_){var R=this.constructor,T=h.call(this,_)||this;return Object.setPrototypeOf(T,R.prototype),T}return m}(Error),yZ=function(h){Hc(m,h);function m(_){var R=this.constructor,T=h.call(this,_)||this;return Object.setPrototypeOf(T,R.prototype),T}return m}(Error),DZ=function(h){Hc(m,h);function m(_){var R=this.constructor,T=h.call(this,_)||this;return Object.setPrototypeOf(T,R.prototype),T}return m}(Error),o8=function(h){Hc(m,h);function m(_){var R=this.constructor,T=h.call(this,_)||this;return Object.setPrototypeOf(T,R.prototype),T}return m}(Error),bZ=function(h){Hc(m,h);function m(_){var R=this.constructor,T=h.call(this,_)||this;return Object.setPrototypeOf(T,R.prototype),T}return m}(Error),i8=function(h){Hc(m,h);function m(_){var R=this.constructor,T=h.call(this,_)||this;return Object.setPrototypeOf(T,R.prototype),T}return m}(Error),wZ=function(){var h=function(m,_){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,T){R.__proto__=T}||function(R,T){for(var H in T)T.hasOwnProperty(H)&&(R[H]=T[H])},h(m,_)};return function(m,_){h(m,_);function R(){this.constructor=m}m.prototype=_===null?Object.create(_):(R.prototype=_.prototype,new R)}}(),CZ=function(h){wZ(m,h);function m(_,R){var T=h.call(this,function(H,se){ce.debug("No callbacks on "+_+" for "+H)})||this;return T.name=_,T.pusher=R,T.subscribed=!1,T.subscriptionPending=!1,T.subscriptionCancelled=!1,T}return m.prototype.authorize=function(_,R){return R(!1,{auth:""})},m.prototype.trigger=function(_,R){if(_.indexOf("client-")!==0)throw new gZ("Event '"+_+"' does not start with 'client-'");if(!this.subscribed){var T=Ge.buildLogSuffix("triggeringClientEvents");ce.warn("Client event triggered before channel 'subscription_succeeded' event . "+T)}return this.pusher.send_event(_,R,this.name)},m.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},m.prototype.handleEvent=function(_){var R=_.event,T=_.data;if(R==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(_);else if(R.indexOf("pusher_internal:")!==0){var H={};this.emit(R,T,H)}},m.prototype.handleSubscriptionSucceededEvent=function(_){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",_.data)},m.prototype.subscribe=function(){var _=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(R,T){R?(ce.error(T),_.emit("pusher:subscription_error",T)):(T=T,_.pusher.send_event("pusher:subscribe",{auth:T.auth,channel_data:T.channel_data,channel:_.name}))}))},m.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},m.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},m.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},m}(mn),u8=CZ,RZ=function(){var h=function(m,_){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,T){R.__proto__=T}||function(R,T){for(var H in T)T.hasOwnProperty(H)&&(R[H]=T[H])},h(m,_)};return function(m,_){h(m,_);function R(){this.constructor=m}m.prototype=_===null?Object.create(_):(R.prototype=_.prototype,new R)}}(),xZ=function(h){RZ(m,h);function m(){return h!==null&&h.apply(this,arguments)||this}return m.prototype.authorize=function(_,R){var T=Bi.createAuthorizer(this,this.pusher.config);return T.authorize(_,R)},m}(u8),Cb=xZ,TZ=function(){function h(){this.reset()}return h.prototype.get=function(m){return Object.prototype.hasOwnProperty.call(this.members,m)?{id:m,info:this.members[m]}:null},h.prototype.each=function(m){var _=this;ne(this.members,function(R,T){m(_.get(T))})},h.prototype.setMyID=function(m){this.myID=m},h.prototype.onSubscription=function(m){this.members=m.presence.hash,this.count=m.presence.count,this.me=this.get(this.myID)},h.prototype.addMember=function(m){return this.get(m.user_id)===null&&this.count++,this.members[m.user_id]=m.user_info,this.get(m.user_id)},h.prototype.removeMember=function(m){var _=this.get(m.user_id);return _&&(delete this.members[m.user_id],this.count--),_},h.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},h}(),EZ=TZ,FZ=function(){var h=function(m,_){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,T){R.__proto__=T}||function(R,T){for(var H in T)T.hasOwnProperty(H)&&(R[H]=T[H])},h(m,_)};return function(m,_){h(m,_);function R(){this.constructor=m}m.prototype=_===null?Object.create(_):(R.prototype=_.prototype,new R)}}(),MZ=function(h){FZ(m,h);function m(_,R){var T=h.call(this,_,R)||this;return T.members=new EZ,T}return m.prototype.authorize=function(_,R){var T=this;h.prototype.authorize.call(this,_,function(H,se){if(!H){if(se=se,se.channel_data===void 0){var je=Ge.buildLogSuffix("authenticationEndpoint");ce.error("Invalid auth response for channel '"+T.name+"',"+("expected 'channel_data' field. "+je)),R("Invalid auth response");return}var vt=JSON.parse(se.channel_data);T.members.setMyID(vt.user_id)}R(H,se)})},m.prototype.handleEvent=function(_){var R=_.event;if(R.indexOf("pusher_internal:")===0)this.handleInternalEvent(_);else{var T=_.data,H={};_.user_id&&(H.user_id=_.user_id),this.emit(R,T,H)}},m.prototype.handleInternalEvent=function(_){var R=_.event,T=_.data;switch(R){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(_);break;case"pusher_internal:member_added":var H=this.members.addMember(T);this.emit("pusher:member_added",H);break;case"pusher_internal:member_removed":var se=this.members.removeMember(T);se&&this.emit("pusher:member_removed",se);break}},m.prototype.handleSubscriptionSucceededEvent=function(_){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(_.data),this.emit("pusher:subscription_succeeded",this.members))},m.prototype.disconnect=function(){this.members.reset(),h.prototype.disconnect.call(this)},m}(Cb),SZ=MZ,l8=n(1),Rb=n(0),IZ=function(){var h=function(m,_){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,T){R.__proto__=T}||function(R,T){for(var H in T)T.hasOwnProperty(H)&&(R[H]=T[H])},h(m,_)};return function(m,_){h(m,_);function R(){this.constructor=m}m.prototype=_===null?Object.create(_):(R.prototype=_.prototype,new R)}}(),AZ=function(h){IZ(m,h);function m(_,R,T){var H=h.call(this,_,R)||this;return H.key=null,H.nacl=T,H}return m.prototype.authorize=function(_,R){var T=this;h.prototype.authorize.call(this,_,function(H,se){if(H){R(!0,se);return}var je=se.shared_secret;if(!je){var vt="No shared_secret key in auth payload for encrypted channel: "+T.name;R(!0,vt);return}T.key=Object(Rb.decode)(je),delete se.shared_secret,R(!1,se)})},m.prototype.trigger=function(_,R){throw new o8("Client events are not currently supported for encrypted channels")},m.prototype.handleEvent=function(_){var R=_.event,T=_.data;if(R.indexOf("pusher_internal:")===0||R.indexOf("pusher:")===0){h.prototype.handleEvent.call(this,_);return}this.handleEncryptedEvent(R,T)},m.prototype.handleEncryptedEvent=function(_,R){var T=this;if(!this.key){ce.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!R.ciphertext||!R.nonce){ce.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+R);return}var H=Object(Rb.decode)(R.ciphertext);if(H.length0&&this.emit("connecting_in",Math.round(_/1e3)),this.retryTimer=new ee(_||0,function(){R.disconnectInternally(),R.connect()})},m.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},m.prototype.setUnavailableTimer=function(){var _=this;this.unavailableTimer=new ee(this.options.unavailableTimeout,function(){_.updateState("unavailable")})},m.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},m.prototype.sendActivityCheck=function(){var _=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new ee(this.options.pongTimeout,function(){_.timeline.error({pong_timed_out:_.options.pongTimeout}),_.retryIn(0)})},m.prototype.resetActivityCheck=function(){var _=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new ee(this.activityTimeout,function(){_.sendActivityCheck()}))},m.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},m.prototype.buildConnectionCallbacks=function(_){var R=this;return Q({},_,{message:function(T){R.resetActivityCheck(),R.emit("message",T)},ping:function(){R.send_event("pusher:pong",{})},activity:function(){R.resetActivityCheck()},error:function(T){R.emit("error",{type:"WebSocketError",error:T})},closed:function(){R.abandonConnection(),R.shouldRetry()&&R.retryIn(1e3)}})},m.prototype.buildHandshakeCallbacks=function(_){var R=this;return Q({},_,{connected:function(T){R.activityTimeout=Math.min(R.options.activityTimeout,T.activityTimeout,T.connection.activityTimeout||1/0),R.clearUnavailableTimer(),R.setConnection(T.connection),R.socket_id=R.connection.id,R.updateState("connected",{socket_id:R.socket_id})}})},m.prototype.buildErrorCallbacks=function(){var _=this,R=function(T){return function(H){H.error&&_.emit("error",{type:"WebSocketError",error:H.error}),T(H)}};return{tls_only:R(function(){_.usingTLS=!0,_.updateStrategy(),_.retryIn(0)}),refused:R(function(){_.disconnect()}),backoff:R(function(){_.retryIn(1e3)}),retry:R(function(){_.retryIn(0)})}},m.prototype.setConnection=function(_){this.connection=_;for(var R in this.connectionCallbacks)this.connection.bind(R,this.connectionCallbacks[R]);this.resetActivityCheck()},m.prototype.abandonConnection=function(){if(!!this.connection){this.stopActivityCheck();for(var _ in this.connectionCallbacks)this.connection.unbind(_,this.connectionCallbacks[_]);var R=this.connection;return this.connection=null,R}},m.prototype.updateState=function(_,R){var T=this.state;if(this.state=_,T!==_){var H=_;H==="connected"&&(H+=" with new socket ID "+R.socket_id),ce.debug("State changed",T+" -> "+H),this.timeline.info({state:_,params:R}),this.emit("state_change",{previous:T,current:_}),this.emit(_,R)}},m.prototype.shouldRetry=function(){return this.state==="connecting"||this.state==="connected"},m}(mn),NZ=jZ,kZ=function(){function h(){this.channels={}}return h.prototype.add=function(m,_){return this.channels[m]||(this.channels[m]=UZ(m,_)),this.channels[m]},h.prototype.all=function(){return Ce(this.channels)},h.prototype.find=function(m){return this.channels[m]},h.prototype.remove=function(m){var _=this.channels[m];return delete this.channels[m],_},h.prototype.disconnect=function(){ne(this.channels,function(m){m.disconnect()})},h}(),OZ=kZ;function UZ(h,m){if(h.indexOf("private-encrypted-")===0){if(m.config.nacl)return Bi.createEncryptedChannel(h,m,m.config.nacl);var _="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",R=Ge.buildLogSuffix("encryptedChannelSupport");throw new o8(_+". "+R)}else return h.indexOf("private-")===0?Bi.createPrivateChannel(h,m):h.indexOf("presence-")===0?Bi.createPresenceChannel(h,m):Bi.createChannel(h,m)}var HZ={createChannels:function(){return new OZ},createConnectionManager:function(h,m){return new NZ(h,m)},createChannel:function(h,m){return new u8(h,m)},createPrivateChannel:function(h,m){return new Cb(h,m)},createPresenceChannel:function(h,m){return new SZ(h,m)},createEncryptedChannel:function(h,m,_){return new LZ(h,m,_)},createTimelineSender:function(h,m){return new hZ(h,m)},createAuthorizer:function(h,m){return m.authorizer?m.authorizer(h,m):new mZ(h,m)},createHandshake:function(h,m){return new dZ(h,m)},createAssistantToTheTransportManager:function(h,m,_){return new uZ(h,m,_)}},Bi=HZ,BZ=function(){function h(m){this.options=m||{},this.livesLeft=this.options.lives||1/0}return h.prototype.getAssistant=function(m){return Bi.createAssistantToTheTransportManager(this,m,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},h.prototype.isAlive=function(){return this.livesLeft>0},h.prototype.reportDeath=function(){this.livesLeft-=1},h}(),c8=BZ,WZ=function(){function h(m,_){this.strategies=m,this.loop=Boolean(_.loop),this.failFast=Boolean(_.failFast),this.timeout=_.timeout,this.timeoutLimit=_.timeoutLimit}return h.prototype.isSupported=function(){return A(this.strategies,J.method("isSupported"))},h.prototype.connect=function(m,_){var R=this,T=this.strategies,H=0,se=this.timeout,je=null,vt=function(cn,wr){wr?_(null,wr):(H=H+1,R.loop&&(H=H%T.length),H0&&(H=new ee(R.timeout,function(){se.abort(),T(!0)})),se=m.connect(_,function(je,vt){je&&H&&H.isRunning()&&!R.failFast||(H&&H.ensureAborted(),T(je,vt))}),{abort:function(){H&&H.ensureAborted(),se.abort()},forceMinPriority:function(je){se.forceMinPriority(je)}}},h}(),Bc=WZ,zZ=function(){function h(m){this.strategies=m}return h.prototype.isSupported=function(){return A(this.strategies,J.method("isSupported"))},h.prototype.connect=function(m,_){return GZ(this.strategies,m,function(R,T){return function(H,se){if(T[R].error=H,H){qZ(T)&&_(!0);return}Ee(T,function(je){je.forceMinPriority(se.transport.priority)}),_(null,se)}})},h}(),xb=zZ;function GZ(h,m,_){var R=P(h,function(T,H,se,je){return T.connect(m,_(H,je))});return{abort:function(){Ee(R,$Z)},forceMinPriority:function(T){Ee(R,function(H){H.forceMinPriority(T)})}}}function qZ(h){return V(h,function(m){return Boolean(m.error)})}function $Z(h){!h.error&&!h.aborted&&(h.abort(),h.aborted=!0)}var VZ=function(){function h(m,_,R){this.strategy=m,this.transports=_,this.ttl=R.ttl||1800*1e3,this.usingTLS=R.useTLS,this.timeline=R.timeline}return h.prototype.isSupported=function(){return this.strategy.isSupported()},h.prototype.connect=function(m,_){var R=this.usingTLS,T=XZ(R),H=[this.strategy];if(T&&T.timestamp+this.ttl>=J.now()){var se=this.transports[T.transport];se&&(this.timeline.info({cached:!0,transport:T.transport,latency:T.latency}),H.push(new Bc([se],{timeout:T.latency*2+1e3,failFast:!0})))}var je=J.now(),vt=H.pop().connect(m,function cn(wr,_a){wr?(s8(R),H.length>0?(je=J.now(),vt=H.pop().connect(m,cn)):_(wr)):(YZ(R,_a.transport.name,J.now()-je),_(null,_a))});return{abort:function(){vt.abort()},forceMinPriority:function(cn){m=cn,vt&&vt.forceMinPriority(cn)}}},h}(),JZ=VZ;function Tb(h){return"pusherTransport"+(h?"TLS":"NonTLS")}function XZ(h){var m=Ot.getLocalStorage();if(m)try{var _=m[Tb(h)];if(_)return JSON.parse(_)}catch{s8(h)}return null}function YZ(h,m,_){var R=Ot.getLocalStorage();if(R)try{R[Tb(h)]=pe({timestamp:J.now(),transport:m,latency:_})}catch{}}function s8(h){var m=Ot.getLocalStorage();if(m)try{delete m[Tb(h)]}catch{}}var ZZ=function(){function h(m,_){var R=_.delay;this.strategy=m,this.options={delay:R}}return h.prototype.isSupported=function(){return this.strategy.isSupported()},h.prototype.connect=function(m,_){var R=this.strategy,T,H=new ee(this.options.delay,function(){T=R.connect(m,_)});return{abort:function(){H.ensureAborted(),T&&T.abort()},forceMinPriority:function(se){m=se,T&&T.forceMinPriority(se)}}},h}(),Oh=ZZ,QZ=function(){function h(m,_,R){this.test=m,this.trueBranch=_,this.falseBranch=R}return h.prototype.isSupported=function(){var m=this.test()?this.trueBranch:this.falseBranch;return m.isSupported()},h.prototype.connect=function(m,_){var R=this.test()?this.trueBranch:this.falseBranch;return R.connect(m,_)},h}(),om=QZ,KZ=function(){function h(m){this.strategy=m}return h.prototype.isSupported=function(){return this.strategy.isSupported()},h.prototype.connect=function(m,_){var R=this.strategy.connect(m,function(T,H){H&&R.abort(),_(T,H)});return R},h}(),eQ=KZ;function im(h){return function(){return h.isSupported()}}var tQ=function(h,m,_){var R={};function T(C8,GQ,qQ,$Q,VQ){var R8=_(h,C8,GQ,qQ,$Q,VQ);return R[C8]=R8,R8}var H=Object.assign({},m,{hostNonTLS:h.wsHost+":"+h.wsPort,hostTLS:h.wsHost+":"+h.wssPort,httpPath:h.wsPath}),se=Object.assign({},H,{useTLS:!0}),je=Object.assign({},m,{hostNonTLS:h.httpHost+":"+h.httpPort,hostTLS:h.httpHost+":"+h.httpsPort,httpPath:h.httpPath}),vt={loop:!0,timeout:15e3,timeoutLimit:6e4},cn=new c8({lives:2,minPingDelay:1e4,maxPingDelay:h.activityTimeout}),wr=new c8({lives:2,minPingDelay:1e4,maxPingDelay:h.activityTimeout}),_a=T("ws","ws",3,H,cn),Wi=T("wss","ws",3,se,cn),UQ=T("sockjs","sockjs",1,je),g8=T("xhr_streaming","xhr_streaming",1,je,wr),HQ=T("xdr_streaming","xdr_streaming",1,je,wr),_8=T("xhr_polling","xhr_polling",1,je),BQ=T("xdr_polling","xdr_polling",1,je),y8=new Bc([_a],vt),WQ=new Bc([Wi],vt),zQ=new Bc([UQ],vt),D8=new Bc([new om(im(g8),g8,HQ)],vt),b8=new Bc([new om(im(_8),_8,BQ)],vt),w8=new Bc([new om(im(D8),new xb([D8,new Oh(b8,{delay:4e3})]),b8)],vt),Sb=new om(im(w8),w8,zQ),Ib;return m.useTLS?Ib=new xb([y8,new Oh(Sb,{delay:2e3})]):Ib=new xb([y8,new Oh(WQ,{delay:2e3}),new Oh(Sb,{delay:5e3})]),new JZ(new eQ(new om(im(_a),Ib,Sb)),R,{ttl:18e5,timeline:m.timeline,useTLS:m.useTLS})},nQ=tQ,rQ=function(){var h=this;h.timeline.info(h.buildTimelineMessage({transport:h.name+(h.options.useTLS?"s":"")})),h.hooks.isInitialized()?h.changeState("initialized"):h.hooks.file?(h.changeState("initializing"),s.load(h.hooks.file,{useTLS:h.options.useTLS},function(m,_){h.hooks.isInitialized()?(h.changeState("initialized"),_(!0)):(m&&h.onError(m),h.onClose(),_(!1))})):h.onClose()},aQ={getRequest:function(h){var m=new window.XDomainRequest;return m.ontimeout=function(){h.emit("error",new _Z),h.close()},m.onerror=function(_){h.emit("error",_),h.close()},m.onprogress=function(){m.responseText&&m.responseText.length>0&&h.onChunk(200,m.responseText)},m.onload=function(){m.responseText&&m.responseText.length>0&&h.onChunk(200,m.responseText),h.emit("finished",200),h.close()},m},abortRequest:function(h){h.ontimeout=h.onerror=h.onprogress=h.onload=null,h.abort()}},oQ=aQ,iQ=function(){var h=function(m,_){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,T){R.__proto__=T}||function(R,T){for(var H in T)T.hasOwnProperty(H)&&(R[H]=T[H])},h(m,_)};return function(m,_){h(m,_);function R(){this.constructor=m}m.prototype=_===null?Object.create(_):(R.prototype=_.prototype,new R)}}(),uQ=256*1024,lQ=function(h){iQ(m,h);function m(_,R,T){var H=h.call(this)||this;return H.hooks=_,H.method=R,H.url=T,H}return m.prototype.start=function(_){var R=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){R.close()},Ot.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(_)},m.prototype.close=function(){this.unloader&&(Ot.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},m.prototype.onChunk=function(_,R){for(;;){var T=this.advanceBuffer(R);if(T)this.emit("chunk",{status:_,data:T});else break}this.isBufferTooLong(R)&&this.emit("buffer_too_long")},m.prototype.advanceBuffer=function(_){var R=_.slice(this.position),T=R.indexOf(` `);return T!==-1?(this.position+=T+1,R.slice(0,T)):null},m.prototype.isBufferTooLong=function(_){return this.position===_.length&&_.length>uQ},m}(mn),cQ=lQ,Eb;(function(h){h[h.CONNECTING=0]="CONNECTING",h[h.OPEN=1]="OPEN",h[h.CLOSED=3]="CLOSED"})(Eb||(Eb={}));var Wc=Eb,sQ=1,fQ=function(){function h(m,_){this.hooks=m,this.session=d8(1e3)+"/"+vQ(8),this.location=dQ(_),this.readyState=Wc.CONNECTING,this.openStream()}return h.prototype.send=function(m){return this.sendRaw(JSON.stringify([m]))},h.prototype.ping=function(){this.hooks.sendHeartbeat(this)},h.prototype.close=function(m,_){this.onClose(m,_,!0)},h.prototype.sendRaw=function(m){if(this.readyState===Wc.OPEN)try{return Ot.createSocketRequest("POST",f8(pQ(this.location,this.session))).start(m),!0}catch{return!1}else return!1},h.prototype.reconnect=function(){this.closeStream(),this.openStream()},h.prototype.onClose=function(m,_,R){this.closeStream(),this.readyState=Wc.CLOSED,this.onclose&&this.onclose({code:m,reason:_,wasClean:R})},h.prototype.onChunk=function(m){if(m.status===200){this.readyState===Wc.OPEN&&this.onActivity();var _,R=m.data.slice(0,1);switch(R){case"o":_=JSON.parse(m.data.slice(1)||"{}"),this.onOpen(_);break;case"a":_=JSON.parse(m.data.slice(1)||"[]");for(var T=0;T<_.length;T++)this.onEvent(_[T]);break;case"m":_=JSON.parse(m.data.slice(1)||"null"),this.onEvent(_);break;case"h":this.hooks.onHeartbeat(this);break;case"c":_=JSON.parse(m.data.slice(1)||"[]"),this.onClose(_[0],_[1],!0);break}}},h.prototype.onOpen=function(m){this.readyState===Wc.CONNECTING?(m&&m.hostname&&(this.location.base=mQ(this.location.base,m.hostname)),this.readyState=Wc.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)},h.prototype.onEvent=function(m){this.readyState===Wc.OPEN&&this.onmessage&&this.onmessage({data:m})},h.prototype.onActivity=function(){this.onactivity&&this.onactivity()},h.prototype.onError=function(m){this.onerror&&this.onerror(m)},h.prototype.openStream=function(){var m=this;this.stream=Ot.createSocketRequest("POST",f8(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",function(_){m.onChunk(_)}),this.stream.bind("finished",function(_){m.hooks.onFinished(m,_)}),this.stream.bind("buffer_too_long",function(){m.reconnect()});try{this.stream.start()}catch(_){J.defer(function(){m.onError(_),m.onClose(1006,"Could not start streaming",!1)})}},h.prototype.closeStream=function(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)},h}();function dQ(h){var m=/([^\?]*)\/*(\??.*)/.exec(h);return{base:m[1],queryString:m[2]}}function pQ(h,m){return h.base+"/"+m+"/xhr_send"}function f8(h){var m=h.indexOf("?")===-1?"?":"&";return h+m+"t="+ +new Date+"&n="+sQ++}function mQ(h,m){var _=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(h);return _[1]+m+_[3]}function d8(h){return Math.floor(Math.random()*h)}function vQ(h){for(var m=[],_=0;_0&&h.onChunk(_.status,_.responseText);break;case 4:_.responseText&&_.responseText.length>0&&h.onChunk(_.status,_.responseText),h.emit("finished",_.status),h.close();break}},_},abortRequest:function(h){h.onreadystatechange=null,h.abort()}},wQ=bQ,CQ={createStreamingSocket:function(h){return this.createSocket(_Q,h)},createPollingSocket:function(h){return this.createSocket(DQ,h)},createSocket:function(h,m){return new hQ(h,m)},createXHR:function(h,m){return this.createRequest(wQ,h,m)},createRequest:function(h,m,_){return new cQ(h,m,_)}},p8=CQ;p8.createXDR=function(h,m){return this.createRequest(oQ,h,m)};var RQ=p8,xQ={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:a,DependenciesReceivers:c,getDefaultStrategy:nQ,Transports:nZ,transportConnectionInitializer:rQ,HTTPFactory:RQ,TimelineTransport:re,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(h){var m=this;window.Pusher=h;var _=function(){m.onDocumentBody(h.ready)};window.JSON?_():s.load("json2",{},_)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:qe,jsonp:Ie}},onDocumentBody:function(h){var m=this;document.body?h():setTimeout(function(){m.onDocumentBody(h)},0)},createJSONPRequest:function(h,m){return new xe(h,m)},createScriptRequest:function(h){return new $e(h)},getLocalStorage:function(){try{return window.localStorage}catch{return}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){var h=this.getXHRAPI();return new h},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return oZ},createWebSocket:function(h){var m=this.getWebSocketAPI();return new m(h)},createSocketRequest:function(h,m){if(this.isXHRSupported())return this.HTTPFactory.createXHR(h,m);if(this.isXDRSupported(m.indexOf("https:")===0))return this.HTTPFactory.createXDR(h,m);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var h=this.getXHRAPI();return Boolean(h)&&new h().withCredentials!==void 0},isXDRSupported:function(h){var m=h?"https:":"http:",_=this.getProtocol();return Boolean(window.XDomainRequest)&&_===m},addUnloadListener:function(h){window.addEventListener!==void 0?window.addEventListener("unload",h,!1):window.attachEvent!==void 0&&window.attachEvent("onunload",h)},removeUnloadListener:function(h){window.addEventListener!==void 0?window.removeEventListener("unload",h,!1):window.detachEvent!==void 0&&window.detachEvent("onunload",h)}},Ot=xQ,Fb;(function(h){h[h.ERROR=3]="ERROR",h[h.INFO=6]="INFO",h[h.DEBUG=7]="DEBUG"})(Fb||(Fb={}));var Uh=Fb,TQ=function(){function h(m,_,R){this.key=m,this.session=_,this.events=[],this.options=R||{},this.sent=0,this.uniqueID=0}return h.prototype.log=function(m,_){m<=this.options.level&&(this.events.push(Q({},_,{timestamp:J.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},h.prototype.error=function(m){this.log(Uh.ERROR,m)},h.prototype.info=function(m){this.log(Uh.INFO,m)},h.prototype.debug=function(m){this.log(Uh.DEBUG,m)},h.prototype.isEmpty=function(){return this.events.length===0},h.prototype.send=function(m,_){var R=this,T=Q({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],m(T,function(H,se){H||R.sent++,_&&_(H,se)}),!0},h.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},h}(),EQ=TQ,FQ=function(){function h(m,_,R,T){this.name=m,this.priority=_,this.transport=R,this.options=T||{}}return h.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},h.prototype.connect=function(m,_){var R=this;if(this.isSupported()){if(this.priority{"use strict";var Cd,fv,_g,Zw;typeof performance=="object"&&typeof performance.now=="function"?(nI=performance,dn.unstable_now=function(){return nI.now()}):(Qw=Date,rI=Qw.now(),dn.unstable_now=function(){return Qw.now()-rI});var nI,Qw,rI;typeof window=="undefined"||typeof MessageChannel!="function"?(Rd=null,Kw=null,e3=function(){if(Rd!==null)try{var e=dn.unstable_now();Rd(!0,e),Rd=null}catch(t){throw setTimeout(e3,0),t}},Cd=function(e){Rd!==null?setTimeout(Cd,0,e):(Rd=e,setTimeout(e3,0))},fv=function(e,t){Kw=setTimeout(e,t)},_g=function(){clearTimeout(Kw)},dn.unstable_shouldYield=function(){return!1},Zw=dn.unstable_forceFrameRate=function(){}):(aI=window.setTimeout,oI=window.clearTimeout,typeof console!="undefined"&&(iI=window.cancelAnimationFrame,typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof iI!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")),dv=!1,pv=null,yg=-1,t3=5,n3=0,dn.unstable_shouldYield=function(){return dn.unstable_now()>=n3},Zw=function(){},dn.unstable_forceFrameRate=function(e){0>e||125>>1,a=e[r];if(a!==void 0&&0wg(i,n))l!==void 0&&0>wg(l,i)?(e[r]=l,e[u]=n,r=u):(e[r]=i,e[o]=n,r=o);else if(l!==void 0&&0>wg(l,n))e[r]=l,e[u]=n,r=u;else break e}}return t}return null}function wg(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}var uu=[],ql=[],Jae=1,Eo=null,ua=3,Cg=!1,Ds=!1,mv=!1;function o3(e){for(var t=wi(ql);t!==null;){if(t.callback===null)bg(ql);else if(t.startTime<=e)bg(ql),t.sortIndex=t.expirationTime,a3(uu,t);else break;t=wi(ql)}}function i3(e){if(mv=!1,o3(e),!Ds)if(wi(uu)!==null)Ds=!0,Cd(u3);else{var t=wi(ql);t!==null&&fv(i3,t.startTime-e)}}function u3(e,t){Ds=!1,mv&&(mv=!1,_g()),Cg=!0;var n=ua;try{for(o3(t),Eo=wi(uu);Eo!==null&&(!(Eo.expirationTime>t)||e&&!dn.unstable_shouldYield());){var r=Eo.callback;if(typeof r=="function"){Eo.callback=null,ua=Eo.priorityLevel;var a=r(Eo.expirationTime<=t);t=dn.unstable_now(),typeof a=="function"?Eo.callback=a:Eo===wi(uu)&&bg(uu),o3(t)}else bg(uu);Eo=wi(uu)}if(Eo!==null)var o=!0;else{var i=wi(ql);i!==null&&fv(i3,i.startTime-t),o=!1}return o}finally{Eo=null,ua=n,Cg=!1}}var Xae=Zw;dn.unstable_IdlePriority=5;dn.unstable_ImmediatePriority=1;dn.unstable_LowPriority=4;dn.unstable_NormalPriority=3;dn.unstable_Profiling=null;dn.unstable_UserBlockingPriority=2;dn.unstable_cancelCallback=function(e){e.callback=null};dn.unstable_continueExecution=function(){Ds||Cg||(Ds=!0,Cd(u3))};dn.unstable_getCurrentPriorityLevel=function(){return ua};dn.unstable_getFirstCallbackNode=function(){return wi(uu)};dn.unstable_next=function(e){switch(ua){case 1:case 2:case 3:var t=3;break;default:t=ua}var n=ua;ua=t;try{return e()}finally{ua=n}};dn.unstable_pauseExecution=function(){};dn.unstable_requestPaint=Xae;dn.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=ua;ua=e;try{return t()}finally{ua=n}};dn.unstable_scheduleCallback=function(e,t,n){var r=dn.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0r?(e.sortIndex=n,a3(ql,e),wi(uu)===null&&e===wi(ql)&&(mv?_g():mv=!0,fv(i3,n-r))):(e.sortIndex=a,a3(uu,e),Ds||Cg||(Ds=!0,Cd(u3))),e};dn.unstable_wrapCallback=function(e){var t=ua;return function(){var n=ua;ua=t;try{return e.apply(this,arguments)}finally{ua=n}}}});var cI=fe((PDt,lI)=>{"use strict";lI.exports=uI()});var XL=fe(Lo=>{"use strict";var Rg=xo(),Hn=q1(),Ur=cI();function Te(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function Ca(e,t,n,r,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var Zr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Zr[e]=new Ca(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Zr[t]=new Ca(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Zr[e]=new Ca(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Zr[e]=new Ca(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Zr[e]=new Ca(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Zr[e]=new Ca(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Zr[e]=new Ca(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Zr[e]=new Ca(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Zr[e]=new Ca(e,5,!1,e.toLowerCase(),null,!1,!1)});var l3=/[\-:]([a-z])/g;function c3(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(l3,c3);Zr[t]=new Ca(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(l3,c3);Zr[t]=new Ca(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(l3,c3);Zr[t]=new Ca(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Zr[e]=new Ca(e,1,!1,e.toLowerCase(),null,!1,!1)});Zr.xlinkHref=new Ca("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Zr[e]=new Ca(e,1,!1,e.toLowerCase(),null,!0,!0)});function s3(e,t,n,r){var a=Zr.hasOwnProperty(t)?Zr[t]:null,o=a!==null?a.type===0:r?!1:!(!(2u||a[i]!==o[u])return` `+a[i].replace(" at new "," at ");while(1<=i&&0<=u);break}}}finally{D3=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Dv(e):""}function eoe(e){switch(e.tag){case 5:return Dv(e.type);case 16:return Dv("Lazy");case 13:return Dv("Suspense");case 19:return Dv("SuspenseList");case 0:case 2:case 15:return e=Fg(e.type,!1),e;case 11:return e=Fg(e.type.render,!1),e;case 22:return e=Fg(e.type._render,!1),e;case 1:return e=Fg(e.type,!0),e;default:return""}}function Td(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $l:return"Fragment";case Cs:return"Portal";case gv:return"Profiler";case f3:return"StrictMode";case _v:return"Suspense";case Tg:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case p3:return(e.displayName||"Context")+".Consumer";case d3:return(e._context.displayName||"Context")+".Provider";case xg:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Eg:return Td(e.type);case v3:return Td(e._render);case m3:t=e._payload,e=e._init;try{return Td(e(t))}catch{}}return null}function Vl(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function hI(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function toe(e){var t=hI(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Mg(e){e._valueTracker||(e._valueTracker=toe(e))}function gI(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=hI(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Sg(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function b3(e,t){var n=t.checked;return Hn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function _I(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Vl(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function yI(e,t){t=t.checked,t!=null&&s3(e,"checked",t,!1)}function w3(e,t){yI(e,t);var n=Vl(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?C3(e,t.type,n):t.hasOwnProperty("defaultValue")&&C3(e,t.type,Vl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function DI(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function C3(e,t,n){(t!=="number"||Sg(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function noe(e){var t="";return Rg.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function R3(e,t){return e=Hn({children:void 0},t),(t=noe(t.children))&&(e.children=t),e}function Ed(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a=n.length))throw Error(Te(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Vl(n)}}function wI(e,t){var n=Vl(t.value),r=Vl(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function CI(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var T3={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function RI(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function E3(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?RI(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ig,xI=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,a){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,a)})}:e}(function(e,t){if(e.namespaceURI!==T3.svg||"innerHTML"in e)e.innerHTML=t;else{for(Ig=Ig||document.createElement("div"),Ig.innerHTML=""+t.valueOf().toString()+"",t=Ig.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function bv(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var wv={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},roe=["Webkit","ms","Moz","O"];Object.keys(wv).forEach(function(e){roe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),wv[t]=wv[e]})});function TI(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||wv.hasOwnProperty(e)&&wv[e]?(""+t).trim():t+"px"}function EI(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=TI(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var aoe=Hn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function F3(e,t){if(t){if(aoe[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Te(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Te(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(Te(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Te(62))}}function M3(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function S3(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var I3=null,Fd=null,Md=null;function FI(e){if(e=Hv(e)){if(typeof I3!="function")throw Error(Te(280));var t=e.stateNode;t&&(t=Qg(t),I3(e.stateNode,e.type,t))}}function MI(e){Fd?Md?Md.push(e):Md=[e]:Fd=e}function SI(){if(Fd){var e=Fd,t=Md;if(Md=Fd=null,FI(e),t)for(e=0;er?0:1<n;n++)t.push(e);return t}function Og(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-Zl(t),e[t]=n}var Zl=Math.clz32?Math.clz32:Doe,_oe=Math.log,yoe=Math.LN2;function Doe(e){return e===0?32:31-(_oe(e)/yoe|0)|0}var boe=Ur.unstable_UserBlockingPriority,woe=Ur.unstable_runWithPriority,Ug=!0;function Coe(e,t,n,r){Rs||L3();var a=q3,o=Rs;Rs=!0;try{II(a,e,t,n,r)}finally{(Rs=o)||j3()}}function Roe(e,t,n,r){woe(boe,q3.bind(null,e,t,n,r))}function q3(e,t,n,r){if(Ug){var a;if((a=(t&4)==0)&&0=Lv),rA=String.fromCharCode(32),aA=!1;function oA(e,t){switch(e){case"keyup":return Voe.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function iA(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jd=!1;function Xoe(e,t){switch(e){case"compositionend":return iA(t);case"keypress":return t.which!==32?null:(aA=!0,rA);case"textInput":return e=t.data,e===rA&&aA?null:e;default:return null}}function Yoe(e,t){if(jd)return e==="compositionend"||!K3&&oA(e,t)?(e=ZI(),Hg=V3=Ql=null,jd=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=dA(n)}}function mA(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mA(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function vA(){for(var e=window,t=Sg();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Sg(e.document)}return t}function tC(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var iie=Yu&&"documentMode"in document&&11>=document.documentMode,Nd=null,nC=null,kv=null,rC=!1;function hA(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;rC||Nd==null||Nd!==Sg(r)||(r=Nd,"selectionStart"in r&&tC(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),kv&&Nv(kv,r)||(kv=r,r=Jg(nC,"onSelect"),0Bd||(e.current=sC[Bd],sC[Bd]=null,Bd--)}function or(e,t){Bd++,sC[Bd]=e.current,e.current=t}var tc={},la=ec(tc),Na=ec(!1),Es=tc;function Wd(e,t){var n=e.type.contextTypes;if(!n)return tc;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in n)a[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function ka(e){return e=e.childContextTypes,e!=null}function Kg(){Ln(Na),Ln(la)}function IA(e,t,n){if(la.current!==tc)throw Error(Te(168));or(la,t),or(Na,n)}function AA(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in e))throw Error(Te(108,Td(t)||"Unknown",a));return Hn({},n,r)}function e_(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||tc,Es=la.current,or(la,e),or(Na,Na.current),!0}function LA(e,t,n){var r=e.stateNode;if(!r)throw Error(Te(169));n?(e=AA(e,t,Es),r.__reactInternalMemoizedMergedChildContext=e,Ln(Na),Ln(la),or(la,e)):Ln(Na),or(Na,n)}var fC=null,Fs=null,cie=Ur.unstable_runWithPriority,dC=Ur.unstable_scheduleCallback,pC=Ur.unstable_cancelCallback,sie=Ur.unstable_shouldYield,PA=Ur.unstable_requestPaint,mC=Ur.unstable_now,fie=Ur.unstable_getCurrentPriorityLevel,t_=Ur.unstable_ImmediatePriority,jA=Ur.unstable_UserBlockingPriority,NA=Ur.unstable_NormalPriority,kA=Ur.unstable_LowPriority,OA=Ur.unstable_IdlePriority,vC={},die=PA!==void 0?PA:function(){},Zu=null,n_=null,hC=!1,UA=mC(),ca=1e4>UA?mC:function(){return mC()-UA};function zd(){switch(fie()){case t_:return 99;case jA:return 98;case NA:return 97;case kA:return 96;case OA:return 95;default:throw Error(Te(332))}}function HA(e){switch(e){case 99:return t_;case 98:return jA;case 97:return NA;case 96:return kA;case 95:return OA;default:throw Error(Te(332))}}function Ms(e,t){return e=HA(e),cie(e,t)}function Bv(e,t,n){return e=HA(e),dC(e,t,n)}function cu(){if(n_!==null){var e=n_;n_=null,pC(e)}BA()}function BA(){if(!hC&&Zu!==null){hC=!0;var e=0;try{var t=Zu;Ms(99,function(){for(;ez?(Y=S,S=null):Y=S.sibling;var X=d(y,S,C[z],F);if(X===null){S===null&&(S=Y);break}e&&S&&X.alternate===null&&t(y,S),D=o(X,D,z),L===null?I=X:L.sibling=X,L=X,S=Y}if(z===C.length)return n(y,S),I;if(S===null){for(;zz?(Y=S,S=null):Y=S.sibling;var ee=d(y,S,X.value,F);if(ee===null){S===null&&(S=Y);break}e&&S&&ee.alternate===null&&t(y,S),D=o(ee,D,z),L===null?I=ee:L.sibling=ee,L=ee,S=Y}if(X.done)return n(y,S),I;if(S===null){for(;!X.done;z++,X=C.next())X=f(y,X.value,F),X!==null&&(D=o(X,D,z),L===null?I=X:L.sibling=X,L=X);return I}for(S=r(y,S);!X.done;z++,X=C.next())X=p(S,y,z,X.value,F),X!==null&&(e&&X.alternate!==null&&S.delete(X.key===null?z:X.key),D=o(X,D,z),L===null?I=X:L.sibling=X,L=X);return e&&S.forEach(function(W){return t(y,W)}),I}return function(y,D,C,F){var I=typeof C=="object"&&C!==null&&C.type===$l&&C.key===null;I&&(C=C.props.children);var L=typeof C=="object"&&C!==null;if(L)switch(C.$$typeof){case hv:e:{for(L=C.key,I=D;I!==null;){if(I.key===L){switch(I.tag){case 7:if(C.type===$l){n(y,I.sibling),D=a(I,C.props.children),D.return=y,y=D;break e}break;default:if(I.elementType===C.type){n(y,I.sibling),D=a(I,C.props),D.ref=zv(y,I,C),D.return=y,y=D;break e}}n(y,I);break}else t(y,I);I=I.sibling}C.type===$l?(D=Kd(C.props.children,y.mode,F,C.key),D.return=y,y=D):(F=E_(C.type,C.key,C.props,null,y.mode,F),F.ref=zv(y,D,C),F.return=y,y=F)}return i(y);case Cs:e:{for(I=C.key;D!==null;){if(D.key===I)if(D.tag===4&&D.stateNode.containerInfo===C.containerInfo&&D.stateNode.implementation===C.implementation){n(y,D.sibling),D=a(D,C.children||[]),D.return=y,y=D;break e}else{n(y,D);break}else t(y,D);D=D.sibling}D=r7(C,y.mode,F),D.return=y,y=D}return i(y)}if(typeof C=="string"||typeof C=="number")return C=""+C,D!==null&&D.tag===6?(n(y,D.sibling),D=a(D,C),D.return=y,y=D):(n(y,D),D=n7(C,y.mode,F),D.return=y,y=D),i(y);if(l_(C))return v(y,D,C,F);if(yv(C))return b(y,D,C,F);if(L&&c_(y,C),typeof C=="undefined"&&!I)switch(y.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Te(152,Td(y.type)||"Component"))}return n(y,D)}}var s_=YA(!0),ZA=YA(!1),Gv={},su=ec(Gv),qv=ec(Gv),$v=ec(Gv);function Ss(e){if(e===Gv)throw Error(Te(174));return e}function bC(e,t){switch(or($v,t),or(qv,e),or(su,Gv),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:E3(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=E3(t,e)}Ln(su),or(su,t)}function $d(){Ln(su),Ln(qv),Ln($v)}function QA(e){Ss($v.current);var t=Ss(su.current),n=E3(t,e.type);t!==n&&(or(qv,e),or(su,n))}function wC(e){qv.current===e&&(Ln(su),Ln(qv))}var ir=ec(0);function f_(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!=0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Qu=null,oc=null,fu=!1;function KA(e,t){var n=Ao(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function eL(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function CC(e){if(fu){var t=oc;if(t){var n=t;if(!eL(e,t)){if(t=Od(n.nextSibling),!t||!eL(e,t)){e.flags=e.flags&-1025|2,fu=!1,Qu=e;return}KA(Qu,n)}Qu=e,oc=Od(t.firstChild)}else e.flags=e.flags&-1025|2,fu=!1,Qu=e}}function tL(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Qu=e}function d_(e){if(e!==Qu)return!1;if(!fu)return tL(e),fu=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!uC(t,e.memoizedProps))for(t=oc;t;)KA(e,t),t=Od(t.nextSibling);if(tL(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Te(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){oc=Od(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}oc=null}}else oc=Qu?Od(e.stateNode.nextSibling):null;return!0}function RC(){oc=Qu=null,fu=!1}var Vd=[];function xC(){for(var e=0;eo))throw Error(Te(301));o+=1,Qr=sa=null,t.updateQueue=null,Vv.current=gie,e=n(r,a)}while(Xv)}if(Vv.current=g_,t=sa!==null&&sa.next!==null,Jv=0,Qr=sa=fr=null,p_=!1,t)throw Error(Te(300));return e}function Is(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qr===null?fr.memoizedState=Qr=e:Qr=Qr.next=e,Qr}function As(){if(sa===null){var e=fr.alternate;e=e!==null?e.memoizedState:null}else e=sa.next;var t=Qr===null?fr.memoizedState:Qr.next;if(t!==null)Qr=t,sa=e;else{if(e===null)throw Error(Te(310));sa=e,e={memoizedState:sa.memoizedState,baseState:sa.baseState,baseQueue:sa.baseQueue,queue:sa.queue,next:null},Qr===null?fr.memoizedState=Qr=e:Qr=Qr.next=e}return Qr}function du(e,t){return typeof t=="function"?t(e):t}function Yv(e){var t=As(),n=t.queue;if(n===null)throw Error(Te(311));n.lastRenderedReducer=e;var r=sa,a=r.baseQueue,o=n.pending;if(o!==null){if(a!==null){var i=a.next;a.next=o.next,o.next=i}r.baseQueue=a=o,n.pending=null}if(a!==null){a=a.next,r=r.baseState;var u=i=o=null,l=a;do{var c=l.lane;if((Jv&c)===c)u!==null&&(u=u.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===e?l.eagerState:e(r,l.action);else{var s={lane:c,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};u===null?(i=u=s,o=r):u=u.next=s,fr.lanes|=c,e0|=c}l=l.next}while(l!==null&&l!==a);u===null?o=r:u.next=i,Fo(r,t.memoizedState)||(Ri=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Zv(e){var t=As(),n=t.queue;if(n===null)throw Error(Te(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a);Fo(o,t.memoizedState)||(Ri=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function nL(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(a!==null?e=a===r:(e=e.mutableReadLanes,(e=(Jv&e)===e)&&(t._workInProgressVersionPrimary=r,Vd.push(t))),e)return n(t._source);throw Vd.push(t),Error(Te(350))}function rL(e,t,n,r){var a=Ra;if(a===null)throw Error(Te(349));var o=t._getVersion,i=o(t._source),u=Vv.current,l=u.useState(function(){return nL(a,t,n)}),c=l[1],s=l[0];l=Qr;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,v=f.source;f=f.subscribe;var b=fr;return e.memoizedState={refs:d,source:t,subscribe:r},u.useEffect(function(){d.getSnapshot=n,d.setSnapshot=c;var y=o(t._source);if(!Fo(i,y)){y=n(t._source),Fo(s,y)||(c(y),y=uc(b),a.mutableReadLanes|=y&a.pendingLanes),y=a.mutableReadLanes,a.entangledLanes|=y;for(var D=a.entanglements,C=y;0n?98:n,function(){e(!0)}),Ms(97<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Kl]=t,e[Zg]=r,RL(e,t,!1,!1),t.stateNode=e,i=M3(n,r),n){case"dialog":An("cancel",e),An("close",e),a=r;break;case"iframe":case"object":case"embed":An("load",e),a=r;break;case"video":case"audio":for(a=0;aVC&&(t.flags|=64,o=!0,Kv(r,!1),t.lanes=33554432)}else{if(!o)if(e=f_(i),e!==null){if(t.flags|=64,o=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Kv(r,!0),r.tail===null&&r.tailMode==="hidden"&&!i.alternate&&!fu)return t=t.lastEffect=r.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*ca()-r.renderingStartTime>VC&&n!==1073741824&&(t.flags|=64,o=!0,Kv(r,!1),t.lanes=33554432);r.isBackwards?(i.sibling=t.child,t.child=i):(n=r.last,n!==null?n.sibling=i:t.child=i,r.last=i)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=ca(),n.sibling=null,t=ir.current,or(ir,o?t&1|2:t&1),n):null;case 23:case 24:return KC(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&r.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(Te(156,t.tag))}function Die(e){switch(e.tag){case 1:ka(e.type)&&Kg();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if($d(),Ln(Na),Ln(la),xC(),t=e.flags,(t&64)!=0)throw Error(Te(285));return e.flags=t&-4097|64,e;case 5:return wC(e),null;case 13:return Ln(ir),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Ln(ir),null;case 4:return $d(),null;case 10:return _C(e),null;case 23:case 24:return KC(),null;default:return null}}function kC(e,t){try{var n="",r=t;do n+=eoe(r),r=r.return;while(r);var a=n}catch(o){a=` Error generating stack: `+o.message+` `+o.stack}return{value:e,source:t,stack:a}}function OC(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var bie=typeof WeakMap=="function"?WeakMap:Map;function EL(e,t,n){n=rc(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){b_||(b_=!0,JC=r),OC(e,t)},n}function FL(e,t,n){n=rc(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var a=t.value;n.payload=function(){return OC(e,t),r(a)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(pu===null?pu=new Set([this]):pu.add(this),OC(e,t));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}var wie=typeof WeakSet=="function"?WeakSet:Set;function ML(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(n){sc(e,n)}else t.current=null}function Cie(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:Ci(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&lC(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(Te(163))}function Rie(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)==3){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var a=e;r=a.next,a=a.tag,(a&4)!=0&&(a&1)!=0&&(GL(n,e),Aie(n,e)),e=r}while(e!==t)}return;case 1:e=n.stateNode,n.flags&4&&(t===null?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Ci(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,t!==null&&qA(n,t,e);return;case 3:if(t=n.updateQueue,t!==null){if(e=null,n.child!==null)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}qA(n,t,e)}return;case 5:e=n.stateNode,t===null&&n.flags&4&&TA(n.type,n.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:n.memoizedState===null&&(n=n.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&zI(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(Te(163))}function SL(e,t){for(var n=e;;){if(n.tag===5){var r=n.stateNode;if(t)r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=a!=null&&a.hasOwnProperty("display")?a.display:null,r.style.display=TI("display",a)}}else if(n.tag===6)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((n.tag!==23&&n.tag!==24||n.memoizedState===null||n===e)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function IL(e,t){if(Fs&&typeof Fs.onCommitFiberUnmount=="function")try{Fs.onCommitFiberUnmount(fC,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,a!==void 0)if((r&4)!=0)GL(t,n);else{r=t;try{a()}catch(o){sc(r,o)}}n=n.next}while(n!==e)}break;case 1:if(ML(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){sc(t,o)}break;case 5:ML(t);break;case 4:jL(e,t)}}function AL(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function LL(e){return e.tag===5||e.tag===3||e.tag===4}function PL(e){e:{for(var t=e.return;t!==null;){if(LL(t))break e;t=t.return}throw Error(Te(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(Te(161))}n.flags&16&&(bv(t,""),n.flags&=-17);e:t:for(n=e;;){for(;n.sibling===null;){if(n.return===null||LL(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2)){n=n.stateNode;break e}}r?UC(e,n,t):HC(e,n,t)}function UC(e,t,n){var r=e.tag,a=r===5||r===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Xg));else if(r!==4&&(e=e.child,e!==null))for(UC(e,t,n),e=e.sibling;e!==null;)UC(e,t,n),e=e.sibling}function HC(e,t,n){var r=e.tag,a=r===5||r===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(HC(e,t,n),e=e.sibling;e!==null;)HC(e,t,n),e=e.sibling}function jL(e,t){for(var n=t,r=!1,a,o;;){if(!r){r=n.return;e:for(;;){if(r===null)throw Error(Te(160));switch(a=r.stateNode,r.tag){case 5:o=!1;break e;case 3:a=a.containerInfo,o=!0;break e;case 4:a=a.containerInfo,o=!0;break e}r=r.return}r=!0}if(n.tag===5||n.tag===6){e:for(var i=e,u=n,l=u;;)if(IL(i,l),l.child!==null&&l.tag!==4)l.child.return=l,l=l.child;else{if(l===u)break e;for(;l.sibling===null;){if(l.return===null||l.return===u)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o?(i=a,u=n.stateNode,i.nodeType===8?i.parentNode.removeChild(u):i.removeChild(u)):a.removeChild(n.stateNode)}else if(n.tag===4){if(n.child!==null){a=n.stateNode.containerInfo,o=!0,n.child.return=n,n=n.child;continue}}else if(IL(e,n),n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return,n.tag===4&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function BC(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do(r.tag&3)==3&&(e=r.destroy,r.destroy=void 0,e!==void 0&&e()),r=r.next;while(r!==n)}return;case 1:return;case 5:if(n=t.stateNode,n!=null){r=t.memoizedProps;var a=e!==null?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(n[Zg]=r,e==="input"&&r.type==="radio"&&r.name!=null&&yI(n,r),M3(e,a),t=M3(e,r),a=0;aa&&(a=i),n&=~o}if(n=a,n=ca()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Tie(n/1960))-n,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}Kr!==5&&(Kr=2),l=kC(l,u),d=i;do{switch(d.tag){case 3:o=l,d.flags|=4096,t&=-t,d.lanes|=t;var L=EL(d,o,t);GA(d,L);break e;case 1:o=l;var S=d.type,z=d.stateNode;if((d.flags&64)==0&&(typeof S.getDerivedStateFromError=="function"||z!==null&&typeof z.componentDidCatch=="function"&&(pu===null||!pu.has(z)))){d.flags|=4096,t&=-t,d.lanes|=t;var Y=FL(d,o,t);GA(d,Y);break e}}d=d.return}while(d!==null)}zL(n)}catch(X){t=X,Fr===n&&n!==null&&(Fr=n=n.return);continue}break}while(1)}function BL(){var e=y_.current;return y_.current=g_,e===null?g_:e}function o0(e,t){var n=bt;bt|=16;var r=BL();Ra===e&&fa===t||Qd(e,t);do try{Fie();break}catch(a){HL(e,a)}while(1);if(gC(),bt=n,y_.current=r,Fr!==null)throw Error(Te(261));return Ra=null,fa=0,Kr}function Fie(){for(;Fr!==null;)WL(Fr)}function Mie(){for(;Fr!==null&&!sie();)WL(Fr)}function WL(e){var t=$L(e.alternate,e,Ls);e.memoizedProps=e.pendingProps,t===null?zL(e):Fr=t,WC.current=null}function zL(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&2048)==0){if(n=yie(n,t,Ls),n!==null){Fr=n;return}if(n=t,n.tag!==24&&n.tag!==23||n.memoizedState===null||(Ls&1073741824)!=0||(n.mode&4)==0){for(var r=0,a=n.child;a!==null;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}e!==null&&(e.flags&2048)==0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1i&&(u=i,i=L,L=u),u=pA(C,L),o=pA(C,i),u&&o&&(I.rangeCount!==1||I.anchorNode!==u.node||I.anchorOffset!==u.offset||I.focusNode!==o.node||I.focusOffset!==o.offset)&&(F=F.createRange(),F.setStart(u.node,u.offset),I.removeAllRanges(),L>i?(I.addRange(F),I.extend(o.node,o.offset)):(F.setEnd(o.node,o.offset),I.addRange(F)))))),F=[],I=C;I=I.parentNode;)I.nodeType===1&&F.push({element:I,left:I.scrollLeft,top:I.scrollTop});for(typeof C.focus=="function"&&C.focus(),C=0;Cca()-$C?Qd(e,0):GC|=n),Io(e,t)}function jie(e,t){var n=e.stateNode;n!==null&&n.delete(t),t=0,t===0&&(t=e.mode,(t&2)==0?t=1:(t&4)==0?t=zd()===99?1:2:(tl===0&&(tl=Jd),t=Ld(62914560&~tl),t===0&&(t=4194304))),n=uo(),e=x_(e,t),e!==null&&(Og(e,t,n),Io(e,n))}var $L;$L=function(e,t,n){var r=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||Na.current)Ri=!0;else if((n&r)!=0)Ri=(e.flags&16384)!=0;else{switch(Ri=!1,t.tag){case 3:gL(t),RC();break;case 5:QA(t);break;case 1:ka(t.type)&&e_(t);break;case 4:bC(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var a=t.type._context;or(r_,a._currentValue),a._currentValue=r;break;case 13:if(t.memoizedState!==null)return(n&t.child.childLanes)!=0?_L(e,t,n):(or(ir,ir.current&1),t=Ku(e,t,n),t!==null?t.sibling:null);or(ir,ir.current&1);break;case 19:if(r=(n&t.childLanes)!=0,(e.flags&64)!=0){if(r)return CL(e,t,n);t.flags|=64}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),or(ir,ir.current),r)break;return null;case 23:case 24:return t.lanes=0,AC(e,t,n)}return Ku(e,t,n)}else Ri=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=Wd(t,la.current),qd(t,n),a=EC(null,t,r,e,a,n),t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ka(r)){var o=!0;e_(t)}else o=!1;t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,yC(t);var i=r.getDerivedStateFromProps;typeof i=="function"&&i_(t,r,i,e),a.updater=u_,t.stateNode=a,a._reactInternals=t,DC(t,r,e,n),t=PC(null,t,r,!0,o,n)}else t.tag=0,Ua(null,t,a,n),t=t.child;return t;case 16:a=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=a._init,a=o(a._payload),t.type=a,o=t.tag=kie(a),e=Ci(a,e),o){case 0:t=LC(null,t,a,e,n);break e;case 1:t=hL(null,t,a,e,n);break e;case 11:t=dL(null,t,a,e,n);break e;case 14:t=pL(null,t,a,Ci(a.type,e),r,n);break e}throw Error(Te(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ci(r,a),LC(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ci(r,a),hL(e,t,r,a,n);case 3:if(gL(t),r=t.updateQueue,e===null||r===null)throw Error(Te(282));if(r=t.pendingProps,a=t.memoizedState,a=a!==null?a.element:null,zA(e,t),Wv(t,r,null,n),r=t.memoizedState.element,r===a)RC(),t=Ku(e,t,n);else{if(a=t.stateNode,(o=a.hydrate)&&(oc=Od(t.stateNode.containerInfo.firstChild),Qu=t,o=fu=!0),o){if(e=a.mutableSourceEagerHydrationData,e!=null)for(a=0;a{"use strict";function YL(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(YL)}catch(e){console.error(e)}}YL(),ZL.exports=XL()});var KL=fe((ODt,QL)=>{"use strict";var Gie="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";QL.exports=Gie});var rP=fe((UDt,nP)=>{"use strict";var qie=KL();function eP(){}function tP(){}tP.resetWarningCache=eP;nP.exports=function(){function e(r,a,o,i,u,l){if(l!==qie){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:tP,resetWarningCache:eP};return n.PropTypes=n,n}});var S_=fe((WDt,aP)=>{aP.exports=rP()();var HDt,BDt});var s0=fe(s7=>{"use strict";Object.defineProperty(s7,"__esModule",{value:!0});var l7=Object.assign||function(e){for(var t=1;t=0||!Object.prototype.hasOwnProperty.call(e,r)||(n[r]=e[r]);return n}function Jie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xie(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function Yie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var lP={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},Zie=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],Qie=function(t){return Zie.forEach(function(n){return delete t[n]}),t},cP=function(t,n){n.style.fontSize=t.fontSize,n.style.fontFamily=t.fontFamily,n.style.fontWeight=t.fontWeight,n.style.fontStyle=t.fontStyle,n.style.letterSpacing=t.letterSpacing,n.style.textTransform=t.textTransform},sP=typeof window!="undefined"&&window.navigator?/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent):!1,fP=function(){return sP?"_"+Math.random().toString(36).substr(2,12):void 0},c7=function(e){Yie(t,e),oP(t,null,[{key:"getDerivedStateFromProps",value:function(r,a){var o=r.id;return o!==a.prevId?{inputId:o||fP(),prevId:o}:null}}]);function t(n){Jie(this,t);var r=Xie(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return r.inputRef=function(a){r.input=a,typeof r.props.inputRef=="function"&&r.props.inputRef(a)},r.placeHolderSizerRef=function(a){r.placeHolderSizer=a},r.sizerRef=function(a){r.sizer=a},r.state={inputWidth:n.minWidth,inputId:n.id||fP(),prevId:n.id},r}return oP(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(r,a){a.inputWidth!==this.state.inputWidth&&typeof this.props.onAutosize=="function"&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(!(!this.mounted||!window.getComputedStyle)){var r=this.input&&window.getComputedStyle(this.input);!r||(cP(r,this.sizer),this.placeHolderSizer&&cP(r,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(!(!this.mounted||!this.sizer||typeof this.sizer.scrollWidth=="undefined")){var r=void 0;this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?r=Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:r=this.sizer.scrollWidth+2;var a=this.props.type==="number"&&this.props.extraWidth===void 0?16:parseInt(this.props.extraWidth)||0;r+=a,r{(function(e,t){if(typeof define=="function"&&define.amd)define("react-list",["prop-types","react"],t);else if(typeof w7!="undefined")t(S_(),(xt(),q4));else{var n={exports:{}};t(e.PropTypes,e.React),e.ReactList=n.exports}})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:w7,function(e,t){"use strict";e=i(e),t=o(t);var n,r;function a(){if(typeof WeakMap!="function")return null;var E=new WeakMap;return a=function(){return E},E}function o(E){if(E&&E.__esModule)return E;if(E===null||u(E)!=="object"&&typeof E!="function")return{default:E};var U=a();if(U&&U.has(E))return U.get(E);var $={},Z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in E)if(Object.prototype.hasOwnProperty.call(E,A)){var V=Z?Object.getOwnPropertyDescriptor(E,A):null;V&&(V.get||V.set)?Object.defineProperty($,A,V):$[A]=E[A]}return $.default=E,U&&U.set(E,$),$}function i(E){return E&&E.__esModule?E:{default:E}}function u(E){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function($){return typeof $}:u=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},u(E)}function l(E,U){if(!(E instanceof U))throw new TypeError("Cannot call a class as a function")}function c(E,U){for(var $=0;$Z&&(le=Z),k=V==="simple"||!k?0:Math.max(Math.min(k,Z-le),0),(pe=k%oe)&&(k-=pe,le+=pe),k===$.from&&le==$.size?$:F(F({},$),{},{from:k,size:le})};Sj.exports=(r=n=function(E){f($,E);var U=p($);s($,null,[{key:"getDerivedStateFromProps",value:function(A,V){var k=P(A,V);return k===V?null:k}}]);function $(Z){var A;return l(this,$),A=U.call(this,Z),A.state=P(Z,{itemsPerRow:1,from:Z.initialIndex,size:0}),A.cache={},A.cachedScrollPosition=null,A.prevPrevState={},A.unstable=!1,A.updateCounter=0,A}return s($,[{key:"componentDidMount",value:function(){this.updateFrameAndClearCache=this.updateFrameAndClearCache.bind(this),window.addEventListener("resize",this.updateFrameAndClearCache),this.updateFrame(this.scrollTo.bind(this,this.props.initialIndex))}},{key:"componentDidUpdate",value:function(A){var V=this;if(this.props.axis!==A.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>ne)return this.unstable=!0,console.error(G);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){V.updateCounter=0,delete V.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(A,V){if(de(this.state,A))return V();this.setState(A,V)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,ie),this.scrollParent.removeEventListener("mousewheel",Q,ie)}},{key:"getOffset",value:function(A){var V=this.props.axis,k=A[S[V]]||0,le=X[V];do k+=A[le]||0;while(A=A.offsetParent);return k}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var A=this.scrollParent,V=this.props.axis,k=te[V],le=A===window?document.body[k]||document.documentElement[k]:A[k],oe=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),pe=Math.max(0,Math.min(le,oe)),he=this.getEl();return this.cachedScrollPosition=this.getOffset(A)+pe-this.getOffset(he),this.cachedScrollPosition}},{key:"setScroll",value:function(A){var V=this.scrollParent,k=this.props.axis;if(A+=this.getOffset(this.getEl()),V===window)return window.scrollTo(0,A);A-=this.getOffset(this.scrollParent),V[te[k]]=A}},{key:"getScrollSize",value:function(){var A=this.scrollParent,V=document,k=V.body,le=V.documentElement,oe=W[this.props.axis];return A===window?Math.max(k[oe],le[oe]):A[oe]}},{key:"hasDeterminateSize",value:function(){var A=this.props,V=A.itemSizeGetter,k=A.type;return k==="uniform"||V}},{key:"getStartAndEnd",value:function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,V=this.getScrollPosition(),k=Math.max(0,V-A),le=V+this.props.scrollParentViewportSizeGetter(this)+A;return this.hasDeterminateSize()&&(le=Math.min(le,this.getSpaceBefore(this.props.length))),{start:k,end:le}}},{key:"getItemSizeAndItemsPerRow",value:function(){var A=this.props,V=A.axis,k=A.useStaticSize,le=this.state,oe=le.itemSize,pe=le.itemsPerRow;if(k&&oe&&pe)return{itemSize:oe,itemsPerRow:pe};var he=this.items.children;if(!he.length)return{};var ce=he[0],Me=ce[Y[V]],Re=Math.abs(Me-oe);if((isNaN(Re)||Re>=1)&&(oe=Me),!oe)return{};var Ge=X[V],Fe=ce[Ge];pe=1;for(var qe=he[pe];qe&&qe[Ge]===Fe;qe=he[pe])++pe;return{itemSize:oe,itemsPerRow:pe}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(A){return this.clearSizeCache(),this.updateFrame(A)}},{key:"updateFrame",value:function(A){switch(this.updateScrollParent(),typeof A!="function"&&(A=Q),this.props.type){case"simple":return this.updateSimpleFrame(A);case"variable":return this.updateVariableFrame(A);case"uniform":return this.updateUniformFrame(A)}}},{key:"updateScrollParent",value:function(){var A=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),A!==this.scrollParent&&(A&&(A.removeEventListener("scroll",this.updateFrameAndClearCache),A.removeEventListener("mousewheel",Q)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,ie),this.scrollParent.addEventListener("mousewheel",Q,ie))}},{key:"updateSimpleFrame",value:function(A){var V=this.getStartAndEnd(),k=V.end,le=this.items.children,oe=0;if(le.length){var pe=this.props.axis,he=le[0],ce=le[le.length-1];oe=this.getOffset(ce)+ce[Y[pe]]-this.getOffset(he)}if(oe>k)return A();var Me=this.props,Re=Me.pageSize,Ge=Me.length,Fe=Math.min(this.state.size+Re,Ge);this.maybeSetState({size:Fe},A)}},{key:"updateVariableFrame",value:function(A){this.props.itemSizeGetter||this.cacheSizes();for(var V=this.getStartAndEnd(),k=V.start,le=V.end,oe=this.props,pe=oe.length,he=oe.pageSize,ce=0,Me=0,Re=0,Ge=pe-1;Mek)break;ce+=Fe,++Me}for(var qe=pe-Me;Re1&&arguments[1]!==void 0?arguments[1]:{};if(V[A]!=null)return V[A];var k=this.state,le=k.itemSize,oe=k.itemsPerRow;if(le)return V[A]=Math.floor(A/oe)*le;for(var pe=A;pe>0&&V[--pe]==null;);for(var he=V[pe]||0,ce=pe;ce=Re&&Ape)return this.setScroll(pe)}},{key:"getVisibleRange",value:function(){for(var A=this.state,V=A.from,k=A.size,le=this.getStartAndEnd(0),oe=le.start,pe=le.end,he={},ce,Me,Re=V;Reoe&&(ce=Re),ce!=null&&Ge{"use strict";var Hr=typeof Symbol=="function"&&Symbol.for,P7=Hr?Symbol.for("react.element"):60103,j7=Hr?Symbol.for("react.portal"):60106,$_=Hr?Symbol.for("react.fragment"):60107,V_=Hr?Symbol.for("react.strict_mode"):60108,J_=Hr?Symbol.for("react.profiler"):60114,X_=Hr?Symbol.for("react.provider"):60109,Y_=Hr?Symbol.for("react.context"):60110,N7=Hr?Symbol.for("react.async_mode"):60111,Z_=Hr?Symbol.for("react.concurrent_mode"):60111,Q_=Hr?Symbol.for("react.forward_ref"):60112,K_=Hr?Symbol.for("react.suspense"):60113,wce=Hr?Symbol.for("react.suspense_list"):60120,ey=Hr?Symbol.for("react.memo"):60115,ty=Hr?Symbol.for("react.lazy"):60116,Cce=Hr?Symbol.for("react.block"):60121,Rce=Hr?Symbol.for("react.fundamental"):60117,xce=Hr?Symbol.for("react.responder"):60118,Tce=Hr?Symbol.for("react.scope"):60119;function co(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case P7:switch(e=e.type,e){case N7:case Z_:case $_:case J_:case V_:case K_:return e;default:switch(e=e&&e.$$typeof,e){case Y_:case Q_:case ty:case ey:case X_:return e;default:return t}}case j7:return t}}}function eN(e){return co(e)===Z_}_n.AsyncMode=N7;_n.ConcurrentMode=Z_;_n.ContextConsumer=Y_;_n.ContextProvider=X_;_n.Element=P7;_n.ForwardRef=Q_;_n.Fragment=$_;_n.Lazy=ty;_n.Memo=ey;_n.Portal=j7;_n.Profiler=J_;_n.StrictMode=V_;_n.Suspense=K_;_n.isAsyncMode=function(e){return eN(e)||co(e)===N7};_n.isConcurrentMode=eN;_n.isContextConsumer=function(e){return co(e)===Y_};_n.isContextProvider=function(e){return co(e)===X_};_n.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===P7};_n.isForwardRef=function(e){return co(e)===Q_};_n.isFragment=function(e){return co(e)===$_};_n.isLazy=function(e){return co(e)===ty};_n.isMemo=function(e){return co(e)===ey};_n.isPortal=function(e){return co(e)===j7};_n.isProfiler=function(e){return co(e)===J_};_n.isStrictMode=function(e){return co(e)===V_};_n.isSuspense=function(e){return co(e)===K_};_n.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===$_||e===Z_||e===J_||e===V_||e===K_||e===wce||typeof e=="object"&&e!==null&&(e.$$typeof===ty||e.$$typeof===ey||e.$$typeof===X_||e.$$typeof===Y_||e.$$typeof===Q_||e.$$typeof===Rce||e.$$typeof===xce||e.$$typeof===Tce||e.$$typeof===Cce)};_n.typeOf=co});var rN=fe((n6t,nN)=>{"use strict";nN.exports=tN()});var Os=fe((h6t,ay)=>{(function(){"use strict";var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r{function dse(){this.__data__=[],this.size=0}JN.exports=dse});var nR=fe((X5t,YN)=>{function pse(e,t){return e===t||e!==e&&t!==t}YN.exports=pse});var C0=fe((Y5t,ZN)=>{var mse=nR();function vse(e,t){for(var n=e.length;n--;)if(mse(e[n][0],t))return n;return-1}ZN.exports=vse});var KN=fe((Z5t,QN)=>{var hse=C0(),gse=Array.prototype,_se=gse.splice;function yse(e){var t=this.__data__,n=hse(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():_se.call(t,n,1),--this.size,!0}QN.exports=yse});var tk=fe((Q5t,ek)=>{var Dse=C0();function bse(e){var t=this.__data__,n=Dse(t,e);return n<0?void 0:t[n][1]}ek.exports=bse});var rk=fe((K5t,nk)=>{var wse=C0();function Cse(e){return wse(this.__data__,e)>-1}nk.exports=Cse});var ok=fe((eTt,ak)=>{var Rse=C0();function xse(e,t){var n=this.__data__,r=Rse(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}ak.exports=xse});var R0=fe((tTt,ik)=>{var Tse=XN(),Ese=KN(),Fse=tk(),Mse=rk(),Sse=ok();function up(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{var Ise=R0();function Ase(){this.__data__=new Ise,this.size=0}uk.exports=Ase});var sk=fe((rTt,ck)=>{function Lse(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}ck.exports=Lse});var dk=fe((aTt,fk)=>{function Pse(e){return this.__data__.get(e)}fk.exports=Pse});var mk=fe((oTt,pk)=>{function jse(e){return this.__data__.has(e)}pk.exports=jse});var rR=fe((iTt,vk)=>{var Nse=typeof global=="object"&&global&&global.Object===Object&&global;vk.exports=Nse});var hu=fe((uTt,hk)=>{var kse=rR(),Ose=typeof self=="object"&&self&&self.Object===Object&&self,Use=kse||Ose||Function("return this")();hk.exports=Use});var xy=fe((lTt,gk)=>{var Hse=hu(),Bse=Hse.Symbol;gk.exports=Bse});var bk=fe((cTt,Dk)=>{var _k=xy(),yk=Object.prototype,Wse=yk.hasOwnProperty,zse=yk.toString,x0=_k?_k.toStringTag:void 0;function Gse(e){var t=Wse.call(e,x0),n=e[x0];try{e[x0]=void 0;var r=!0}catch{}var a=zse.call(e);return r&&(t?e[x0]=n:delete e[x0]),a}Dk.exports=Gse});var Ck=fe((sTt,wk)=>{var qse=Object.prototype,$se=qse.toString;function Vse(e){return $se.call(e)}wk.exports=Vse});var T0=fe((fTt,Tk)=>{var Rk=xy(),Jse=bk(),Xse=Ck(),Yse="[object Null]",Zse="[object Undefined]",xk=Rk?Rk.toStringTag:void 0;function Qse(e){return e==null?e===void 0?Zse:Yse:xk&&xk in Object(e)?Jse(e):Xse(e)}Tk.exports=Qse});var aR=fe((dTt,Ek)=>{function Kse(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Ek.exports=Kse});var oR=fe((pTt,Fk)=>{var efe=T0(),tfe=aR(),nfe="[object AsyncFunction]",rfe="[object Function]",afe="[object GeneratorFunction]",ofe="[object Proxy]";function ife(e){if(!tfe(e))return!1;var t=efe(e);return t==rfe||t==afe||t==nfe||t==ofe}Fk.exports=ife});var Sk=fe((mTt,Mk)=>{var ufe=hu(),lfe=ufe["__core-js_shared__"];Mk.exports=lfe});var Lk=fe((vTt,Ak)=>{var iR=Sk(),Ik=function(){var e=/[^.]+$/.exec(iR&&iR.keys&&iR.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function cfe(e){return!!Ik&&Ik in e}Ak.exports=cfe});var uR=fe((hTt,Pk)=>{var sfe=Function.prototype,ffe=sfe.toString;function dfe(e){if(e!=null){try{return ffe.call(e)}catch{}try{return e+""}catch{}}return""}Pk.exports=dfe});var Nk=fe((gTt,jk)=>{var pfe=oR(),mfe=Lk(),vfe=aR(),hfe=uR(),gfe=/[\\^$.*+?()[\]{}|]/g,_fe=/^\[object .+?Constructor\]$/,yfe=Function.prototype,Dfe=Object.prototype,bfe=yfe.toString,wfe=Dfe.hasOwnProperty,Cfe=RegExp("^"+bfe.call(wfe).replace(gfe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Rfe(e){if(!vfe(e)||mfe(e))return!1;var t=pfe(e)?Cfe:_fe;return t.test(hfe(e))}jk.exports=Rfe});var Ok=fe((_Tt,kk)=>{function xfe(e,t){return e==null?void 0:e[t]}kk.exports=xfe});var Hs=fe((yTt,Uk)=>{var Tfe=Nk(),Efe=Ok();function Ffe(e,t){var n=Efe(e,t);return Tfe(n)?n:void 0}Uk.exports=Ffe});var Ty=fe((DTt,Hk)=>{var Mfe=Hs(),Sfe=hu(),Ife=Mfe(Sfe,"Map");Hk.exports=Ife});var E0=fe((bTt,Bk)=>{var Afe=Hs(),Lfe=Afe(Object,"create");Bk.exports=Lfe});var Gk=fe((wTt,zk)=>{var Wk=E0();function Pfe(){this.__data__=Wk?Wk(null):{},this.size=0}zk.exports=Pfe});var $k=fe((CTt,qk)=>{function jfe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}qk.exports=jfe});var Jk=fe((RTt,Vk)=>{var Nfe=E0(),kfe="__lodash_hash_undefined__",Ofe=Object.prototype,Ufe=Ofe.hasOwnProperty;function Hfe(e){var t=this.__data__;if(Nfe){var n=t[e];return n===kfe?void 0:n}return Ufe.call(t,e)?t[e]:void 0}Vk.exports=Hfe});var Yk=fe((xTt,Xk)=>{var Bfe=E0(),Wfe=Object.prototype,zfe=Wfe.hasOwnProperty;function Gfe(e){var t=this.__data__;return Bfe?t[e]!==void 0:zfe.call(t,e)}Xk.exports=Gfe});var Qk=fe((TTt,Zk)=>{var qfe=E0(),$fe="__lodash_hash_undefined__";function Vfe(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=qfe&&t===void 0?$fe:t,this}Zk.exports=Vfe});var eO=fe((ETt,Kk)=>{var Jfe=Gk(),Xfe=$k(),Yfe=Jk(),Zfe=Yk(),Qfe=Qk();function lp(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{var tO=eO(),Kfe=R0(),ede=Ty();function tde(){this.size=0,this.__data__={hash:new tO,map:new(ede||Kfe),string:new tO}}nO.exports=tde});var oO=fe((MTt,aO)=>{function nde(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}aO.exports=nde});var F0=fe((STt,iO)=>{var rde=oO();function ade(e,t){var n=e.__data__;return rde(t)?n[typeof t=="string"?"string":"hash"]:n.map}iO.exports=ade});var lO=fe((ITt,uO)=>{var ode=F0();function ide(e){var t=ode(this,e).delete(e);return this.size-=t?1:0,t}uO.exports=ide});var sO=fe((ATt,cO)=>{var ude=F0();function lde(e){return ude(this,e).get(e)}cO.exports=lde});var dO=fe((LTt,fO)=>{var cde=F0();function sde(e){return cde(this,e).has(e)}fO.exports=sde});var mO=fe((PTt,pO)=>{var fde=F0();function dde(e,t){var n=fde(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}pO.exports=dde});var lR=fe((jTt,vO)=>{var pde=rO(),mde=lO(),vde=sO(),hde=dO(),gde=mO();function cp(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{var _de=R0(),yde=Ty(),Dde=lR(),bde=200;function wde(e,t){var n=this.__data__;if(n instanceof _de){var r=n.__data__;if(!yde||r.length{var Cde=R0(),Rde=lk(),xde=sk(),Tde=dk(),Ede=mk(),Fde=gO();function sp(e){var t=this.__data__=new Cde(e);this.size=t.size}sp.prototype.clear=Rde;sp.prototype.delete=xde;sp.prototype.get=Tde;sp.prototype.has=Ede;sp.prototype.set=Fde;_O.exports=sp});var bO=fe((OTt,DO)=>{var Mde="__lodash_hash_undefined__";function Sde(e){return this.__data__.set(e,Mde),this}DO.exports=Sde});var CO=fe((UTt,wO)=>{function Ide(e){return this.__data__.has(e)}wO.exports=Ide});var xO=fe((HTt,RO)=>{var Ade=lR(),Lde=bO(),Pde=CO();function Ey(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Ade;++t{function jde(e,t){for(var n=-1,r=e==null?0:e.length;++n{function Nde(e,t){return e.has(t)}FO.exports=Nde});var cR=fe((zTt,SO)=>{var kde=xO(),Ode=EO(),Ude=MO(),Hde=1,Bde=2;function Wde(e,t,n,r,a,o){var i=n&Hde,u=e.length,l=t.length;if(u!=l&&!(i&&l>u))return!1;var c=o.get(e),s=o.get(t);if(c&&s)return c==t&&s==e;var f=-1,d=!0,p=n&Bde?new kde:void 0;for(o.set(e,t),o.set(t,e);++f{var zde=hu(),Gde=zde.Uint8Array;IO.exports=Gde});var PO=fe((qTt,LO)=>{function qde(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}LO.exports=qde});var NO=fe(($Tt,jO)=>{function $de(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}jO.exports=$de});var BO=fe((VTt,HO)=>{var kO=xy(),OO=AO(),Vde=nR(),Jde=cR(),Xde=PO(),Yde=NO(),Zde=1,Qde=2,Kde="[object Boolean]",epe="[object Date]",tpe="[object Error]",npe="[object Map]",rpe="[object Number]",ape="[object RegExp]",ope="[object Set]",ipe="[object String]",upe="[object Symbol]",lpe="[object ArrayBuffer]",cpe="[object DataView]",UO=kO?kO.prototype:void 0,sR=UO?UO.valueOf:void 0;function spe(e,t,n,r,a,o,i){switch(n){case cpe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case lpe:return!(e.byteLength!=t.byteLength||!o(new OO(e),new OO(t)));case Kde:case epe:case rpe:return Vde(+e,+t);case tpe:return e.name==t.name&&e.message==t.message;case ape:case ipe:return e==t+"";case npe:var u=Xde;case ope:var l=r&Zde;if(u||(u=Yde),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;r|=Qde,i.set(e,t);var s=Jde(u(e),u(t),r,a,o,i);return i.delete(e),s;case upe:if(sR)return sR.call(e)==sR.call(t)}return!1}HO.exports=spe});var zO=fe((JTt,WO)=>{function fpe(e,t){for(var n=-1,r=t.length,a=e.length;++n{var dpe=Array.isArray;GO.exports=dpe});var $O=fe((YTt,qO)=>{var ppe=zO(),mpe=Fy();function vpe(e,t,n){var r=t(e);return mpe(e)?r:ppe(r,n(e))}qO.exports=vpe});var JO=fe((ZTt,VO)=>{function hpe(e,t){for(var n=-1,r=e==null?0:e.length,a=0,o=[];++n{function gpe(){return[]}XO.exports=gpe});var KO=fe((KTt,QO)=>{var _pe=JO(),ype=YO(),Dpe=Object.prototype,bpe=Dpe.propertyIsEnumerable,ZO=Object.getOwnPropertySymbols,wpe=ZO?function(e){return e==null?[]:(e=Object(e),_pe(ZO(e),function(t){return bpe.call(e,t)}))}:ype;QO.exports=wpe});var tU=fe((e8t,eU)=>{function Cpe(e,t){for(var n=-1,r=Array(e);++n{function Rpe(e){return e!=null&&typeof e=="object"}nU.exports=Rpe});var aU=fe((n8t,rU)=>{var xpe=T0(),Tpe=M0(),Epe="[object Arguments]";function Fpe(e){return Tpe(e)&&xpe(e)==Epe}rU.exports=Fpe});var lU=fe((r8t,uU)=>{var oU=aU(),Mpe=M0(),iU=Object.prototype,Spe=iU.hasOwnProperty,Ipe=iU.propertyIsEnumerable,Ape=oU(function(){return arguments}())?oU:function(e){return Mpe(e)&&Spe.call(e,"callee")&&!Ipe.call(e,"callee")};uU.exports=Ape});var sU=fe((a8t,cU)=>{function Lpe(){return!1}cU.exports=Lpe});var fR=fe((S0,fp)=>{var Ppe=hu(),jpe=sU(),fU=typeof S0=="object"&&S0&&!S0.nodeType&&S0,dU=fU&&typeof fp=="object"&&fp&&!fp.nodeType&&fp,Npe=dU&&dU.exports===fU,pU=Npe?Ppe.Buffer:void 0,kpe=pU?pU.isBuffer:void 0,Ope=kpe||jpe;fp.exports=Ope});var vU=fe((o8t,mU)=>{var Upe=9007199254740991,Hpe=/^(?:0|[1-9]\d*)$/;function Bpe(e,t){var n=typeof e;return t=t==null?Upe:t,!!t&&(n=="number"||n!="symbol"&&Hpe.test(e))&&e>-1&&e%1==0&&e{var Wpe=9007199254740991;function zpe(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Wpe}hU.exports=zpe});var _U=fe((u8t,gU)=>{var Gpe=T0(),qpe=dR(),$pe=M0(),Vpe="[object Arguments]",Jpe="[object Array]",Xpe="[object Boolean]",Ype="[object Date]",Zpe="[object Error]",Qpe="[object Function]",Kpe="[object Map]",eme="[object Number]",tme="[object Object]",nme="[object RegExp]",rme="[object Set]",ame="[object String]",ome="[object WeakMap]",ime="[object ArrayBuffer]",ume="[object DataView]",lme="[object Float32Array]",cme="[object Float64Array]",sme="[object Int8Array]",fme="[object Int16Array]",dme="[object Int32Array]",pme="[object Uint8Array]",mme="[object Uint8ClampedArray]",vme="[object Uint16Array]",hme="[object Uint32Array]",Pn={};Pn[lme]=Pn[cme]=Pn[sme]=Pn[fme]=Pn[dme]=Pn[pme]=Pn[mme]=Pn[vme]=Pn[hme]=!0;Pn[Vpe]=Pn[Jpe]=Pn[ime]=Pn[Xpe]=Pn[ume]=Pn[Ype]=Pn[Zpe]=Pn[Qpe]=Pn[Kpe]=Pn[eme]=Pn[tme]=Pn[nme]=Pn[rme]=Pn[ame]=Pn[ome]=!1;function gme(e){return $pe(e)&&qpe(e.length)&&!!Pn[Gpe(e)]}gU.exports=gme});var DU=fe((l8t,yU)=>{function _me(e){return function(t){return e(t)}}yU.exports=_me});var wU=fe((A0,dp)=>{var yme=rR(),bU=typeof A0=="object"&&A0&&!A0.nodeType&&A0,I0=bU&&typeof dp=="object"&&dp&&!dp.nodeType&&dp,Dme=I0&&I0.exports===bU,pR=Dme&&yme.process,bme=function(){try{var e=I0&&I0.require&&I0.require("util").types;return e||pR&&pR.binding&&pR.binding("util")}catch{}}();dp.exports=bme});var mR=fe((c8t,xU)=>{var wme=_U(),Cme=DU(),CU=wU(),RU=CU&&CU.isTypedArray,Rme=RU?Cme(RU):wme;xU.exports=Rme});var EU=fe((s8t,TU)=>{var xme=tU(),Tme=lU(),Eme=Fy(),Fme=fR(),Mme=vU(),Sme=mR(),Ime=Object.prototype,Ame=Ime.hasOwnProperty;function Lme(e,t){var n=Eme(e),r=!n&&Tme(e),a=!n&&!r&&Fme(e),o=!n&&!r&&!a&&Sme(e),i=n||r||a||o,u=i?xme(e.length,String):[],l=u.length;for(var c in e)(t||Ame.call(e,c))&&!(i&&(c=="length"||a&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Mme(c,l)))&&u.push(c);return u}TU.exports=Lme});var MU=fe((f8t,FU)=>{var Pme=Object.prototype;function jme(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Pme;return e===n}FU.exports=jme});var IU=fe((d8t,SU)=>{function Nme(e,t){return function(n){return e(t(n))}}SU.exports=Nme});var LU=fe((p8t,AU)=>{var kme=IU(),Ome=kme(Object.keys,Object);AU.exports=Ome});var jU=fe((m8t,PU)=>{var Ume=MU(),Hme=LU(),Bme=Object.prototype,Wme=Bme.hasOwnProperty;function zme(e){if(!Ume(e))return Hme(e);var t=[];for(var n in Object(e))Wme.call(e,n)&&n!="constructor"&&t.push(n);return t}PU.exports=zme});var kU=fe((v8t,NU)=>{var Gme=oR(),qme=dR();function $me(e){return e!=null&&qme(e.length)&&!Gme(e)}NU.exports=$me});var UU=fe((h8t,OU)=>{var Vme=EU(),Jme=jU(),Xme=kU();function Yme(e){return Xme(e)?Vme(e):Jme(e)}OU.exports=Yme});var BU=fe((g8t,HU)=>{var Zme=$O(),Qme=KO(),Kme=UU();function eve(e){return Zme(e,Kme,Qme)}HU.exports=eve});var GU=fe((_8t,zU)=>{var WU=BU(),tve=1,nve=Object.prototype,rve=nve.hasOwnProperty;function ave(e,t,n,r,a,o){var i=n&tve,u=WU(e),l=u.length,c=WU(t),s=c.length;if(l!=s&&!i)return!1;for(var f=l;f--;){var d=u[f];if(!(i?d in t:rve.call(t,d)))return!1}var p=o.get(e),v=o.get(t);if(p&&v)return p==t&&v==e;var b=!0;o.set(e,t),o.set(t,e);for(var y=i;++f{var ove=Hs(),ive=hu(),uve=ove(ive,"DataView");qU.exports=uve});var JU=fe((D8t,VU)=>{var lve=Hs(),cve=hu(),sve=lve(cve,"Promise");VU.exports=sve});var YU=fe((b8t,XU)=>{var fve=Hs(),dve=hu(),pve=fve(dve,"Set");XU.exports=pve});var QU=fe((w8t,ZU)=>{var mve=Hs(),vve=hu(),hve=mve(vve,"WeakMap");ZU.exports=hve});var iH=fe((C8t,oH)=>{var vR=$U(),hR=Ty(),gR=JU(),_R=YU(),yR=QU(),KU=T0(),pp=uR(),eH="[object Map]",gve="[object Object]",tH="[object Promise]",nH="[object Set]",rH="[object WeakMap]",aH="[object DataView]",_ve=pp(vR),yve=pp(hR),Dve=pp(gR),bve=pp(_R),wve=pp(yR),Bs=KU;(vR&&Bs(new vR(new ArrayBuffer(1)))!=aH||hR&&Bs(new hR)!=eH||gR&&Bs(gR.resolve())!=tH||_R&&Bs(new _R)!=nH||yR&&Bs(new yR)!=rH)&&(Bs=function(e){var t=KU(e),n=t==gve?e.constructor:void 0,r=n?pp(n):"";if(r)switch(r){case _ve:return aH;case yve:return eH;case Dve:return tH;case bve:return nH;case wve:return rH}return t});oH.exports=Bs});var mH=fe((R8t,pH)=>{var DR=yO(),Cve=cR(),Rve=BO(),xve=GU(),uH=iH(),lH=Fy(),cH=fR(),Tve=mR(),Eve=1,sH="[object Arguments]",fH="[object Array]",My="[object Object]",Fve=Object.prototype,dH=Fve.hasOwnProperty;function Mve(e,t,n,r,a,o){var i=lH(e),u=lH(t),l=i?fH:uH(e),c=u?fH:uH(t);l=l==sH?My:l,c=c==sH?My:c;var s=l==My,f=c==My,d=l==c;if(d&&cH(e)){if(!cH(t))return!1;i=!0,s=!1}if(d&&!s)return o||(o=new DR),i||Tve(e)?Cve(e,t,n,r,a,o):Rve(e,t,l,n,r,a,o);if(!(n&Eve)){var p=s&&dH.call(e,"__wrapped__"),v=f&&dH.call(t,"__wrapped__");if(p||v){var b=p?e.value():e,y=v?t.value():t;return o||(o=new DR),a(b,y,n,r,o)}}return d?(o||(o=new DR),xve(e,t,n,r,a,o)):!1}pH.exports=Mve});var _H=fe((x8t,gH)=>{var Sve=mH(),vH=M0();function hH(e,t,n,r,a){return e===t?!0:e==null||t==null||!vH(e)&&!vH(t)?e!==e&&t!==t:Sve(e,t,n,r,hH,a)}gH.exports=hH});var DH=fe((T8t,yH)=>{var Ive=_H();function Ave(e,t){return Ive(e,t)}yH.exports=Ave});var tB=fe((y9t,i0e)=>{i0e.exports=`.rc-tooltip.rc-tooltip-zoom-appear, .rc-tooltip.rc-tooltip-zoom-enter { opacity: 0; } .rc-tooltip.rc-tooltip-zoom-enter, .rc-tooltip.rc-tooltip-zoom-leave { display: block; } .rc-tooltip-zoom-enter, .rc-tooltip-zoom-appear { opacity: 0; animation-duration: 0.3s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28); animation-play-state: paused; } .rc-tooltip-zoom-leave { animation-duration: 0.3s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.6, -0.3, 0.74, 0.05); animation-play-state: paused; } .rc-tooltip-zoom-enter.rc-tooltip-zoom-enter-active, .rc-tooltip-zoom-appear.rc-tooltip-zoom-appear-active { animation-name: rcToolTipZoomIn; animation-play-state: running; } .rc-tooltip-zoom-leave.rc-tooltip-zoom-leave-active { animation-name: rcToolTipZoomOut; animation-play-state: running; } @keyframes rcToolTipZoomIn { 0% { opacity: 0; transform-origin: 50% 50%; transform: scale(0, 0); } 100% { opacity: 1; transform-origin: 50% 50%; transform: scale(1, 1); } } @keyframes rcToolTipZoomOut { 0% { opacity: 1; transform-origin: 50% 50%; transform: scale(1, 1); } 100% { opacity: 0; transform-origin: 50% 50%; transform: scale(0, 0); } } .rc-tooltip { position: absolute; z-index: 1070; display: block; visibility: visible; line-height: 1.5; font-size: 12px; background-color: rgba(0, 0, 0, 0.05); padding: 1px; opacity: 0.9; } .rc-tooltip-hidden { display: none; } .rc-tooltip-inner { padding: 8px 10px; color: #333333; text-align: left; text-decoration: none; background-color: #ffffff; border-radius: 3px; min-height: 34px; border: 1px solid #b1b1b1; } .rc-tooltip-arrow, .rc-tooltip-arrow-inner { position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; } .rc-tooltip-placement-top .rc-tooltip-arrow, .rc-tooltip-placement-topLeft .rc-tooltip-arrow, .rc-tooltip-placement-topRight .rc-tooltip-arrow { bottom: -5px; margin-left: -6px; border-width: 6px 6px 0; border-top-color: #b1b1b1; } .rc-tooltip-placement-top .rc-tooltip-arrow-inner, .rc-tooltip-placement-topLeft .rc-tooltip-arrow-inner, .rc-tooltip-placement-topRight .rc-tooltip-arrow-inner { bottom: 1px; margin-left: -6px; border-width: 6px 6px 0; border-top-color: #ffffff; } .rc-tooltip-placement-top .rc-tooltip-arrow { left: 50%; } .rc-tooltip-placement-topLeft .rc-tooltip-arrow { left: 15%; } .rc-tooltip-placement-topRight .rc-tooltip-arrow { right: 15%; } .rc-tooltip-placement-right .rc-tooltip-arrow, .rc-tooltip-placement-rightTop .rc-tooltip-arrow, .rc-tooltip-placement-rightBottom .rc-tooltip-arrow { left: -5px; margin-top: -6px; border-width: 6px 6px 6px 0; border-right-color: #b1b1b1; } .rc-tooltip-placement-right .rc-tooltip-arrow-inner, .rc-tooltip-placement-rightTop .rc-tooltip-arrow-inner, .rc-tooltip-placement-rightBottom .rc-tooltip-arrow-inner { left: 1px; margin-top: -6px; border-width: 6px 6px 6px 0; border-right-color: #ffffff; } .rc-tooltip-placement-right .rc-tooltip-arrow { top: 50%; } .rc-tooltip-placement-rightTop .rc-tooltip-arrow { top: 15%; margin-top: 0; } .rc-tooltip-placement-rightBottom .rc-tooltip-arrow { bottom: 15%; } .rc-tooltip-placement-left .rc-tooltip-arrow, .rc-tooltip-placement-leftTop .rc-tooltip-arrow, .rc-tooltip-placement-leftBottom .rc-tooltip-arrow { right: -5px; margin-top: -6px; border-width: 6px 0 6px 6px; border-left-color: #b1b1b1; } .rc-tooltip-placement-left .rc-tooltip-arrow-inner, .rc-tooltip-placement-leftTop .rc-tooltip-arrow-inner, .rc-tooltip-placement-leftBottom .rc-tooltip-arrow-inner { right: 1px; margin-top: -6px; border-width: 6px 0 6px 6px; border-left-color: #ffffff; } .rc-tooltip-placement-left .rc-tooltip-arrow { top: 50%; } .rc-tooltip-placement-leftTop .rc-tooltip-arrow { top: 15%; margin-top: 0; } .rc-tooltip-placement-leftBottom .rc-tooltip-arrow { bottom: 15%; } .rc-tooltip-placement-bottom .rc-tooltip-arrow, .rc-tooltip-placement-bottomLeft .rc-tooltip-arrow, .rc-tooltip-placement-bottomRight .rc-tooltip-arrow { top: -5px; margin-left: -6px; border-width: 0 6px 6px; border-bottom-color: #b1b1b1; } .rc-tooltip-placement-bottom .rc-tooltip-arrow-inner, .rc-tooltip-placement-bottomLeft .rc-tooltip-arrow-inner, .rc-tooltip-placement-bottomRight .rc-tooltip-arrow-inner { top: 1px; margin-left: -6px; border-width: 0 6px 6px; border-bottom-color: #ffffff; } .rc-tooltip-placement-bottom .rc-tooltip-arrow { left: 50%; } .rc-tooltip-placement-bottomLeft .rc-tooltip-arrow { left: 15%; } .rc-tooltip-placement-bottomRight .rc-tooltip-arrow { right: 15%; } `});var bx=fe((jzt,sz)=>{sz.exports=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}});var xz=fe((rGt,Rz)=>{"use strict";var sD=Object.prototype.hasOwnProperty,gz=Object.prototype.toString,_z=Object.defineProperty,yz=Object.getOwnPropertyDescriptor,Dz=function(t){return typeof Array.isArray=="function"?Array.isArray(t):gz.call(t)==="[object Array]"},bz=function(t){if(!t||gz.call(t)!=="[object Object]")return!1;var n=sD.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&sD.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var a;for(a in t);return typeof a=="undefined"||sD.call(t,a)},wz=function(t,n){_z&&n.name==="__proto__"?_z(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Cz=function(t,n){if(n==="__proto__")if(sD.call(t,n)){if(yz)return yz(t,n).value}else return;return t[n]};Rz.exports=function e(){var t,n,r,a,o,i,u=arguments[0],l=1,c=arguments.length,s=!1;for(typeof u=="boolean"&&(s=u,u=arguments[1]||{},l=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});l{"use strict";var l6=Symbol.for("react.element"),c6=Symbol.for("react.portal"),ND=Symbol.for("react.fragment"),kD=Symbol.for("react.strict_mode"),OD=Symbol.for("react.profiler"),UD=Symbol.for("react.provider"),HD=Symbol.for("react.context"),Iye=Symbol.for("react.server_context"),BD=Symbol.for("react.forward_ref"),WD=Symbol.for("react.suspense"),zD=Symbol.for("react.suspense_list"),GD=Symbol.for("react.memo"),qD=Symbol.for("react.lazy"),Aye=Symbol.for("react.offscreen"),qG;qG=Symbol.for("react.module.reference");function Yo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case l6:switch(e=e.type,e){case ND:case OD:case kD:case WD:case zD:return e;default:switch(e=e&&e.$$typeof,e){case Iye:case HD:case BD:case qD:case GD:case UD:return e;default:return t}}case c6:return t}}}yn.ContextConsumer=HD;yn.ContextProvider=UD;yn.Element=l6;yn.ForwardRef=BD;yn.Fragment=ND;yn.Lazy=qD;yn.Memo=GD;yn.Portal=c6;yn.Profiler=OD;yn.StrictMode=kD;yn.Suspense=WD;yn.SuspenseList=zD;yn.isAsyncMode=function(){return!1};yn.isConcurrentMode=function(){return!1};yn.isContextConsumer=function(e){return Yo(e)===HD};yn.isContextProvider=function(e){return Yo(e)===UD};yn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===l6};yn.isForwardRef=function(e){return Yo(e)===BD};yn.isFragment=function(e){return Yo(e)===ND};yn.isLazy=function(e){return Yo(e)===qD};yn.isMemo=function(e){return Yo(e)===GD};yn.isPortal=function(e){return Yo(e)===c6};yn.isProfiler=function(e){return Yo(e)===OD};yn.isStrictMode=function(e){return Yo(e)===kD};yn.isSuspense=function(e){return Yo(e)===WD};yn.isSuspenseList=function(e){return Yo(e)===zD};yn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ND||e===OD||e===kD||e===WD||e===zD||e===Aye||typeof e=="object"&&e!==null&&(e.$$typeof===qD||e.$$typeof===GD||e.$$typeof===UD||e.$$typeof===HD||e.$$typeof===BD||e.$$typeof===qG||e.getModuleId!==void 0)};yn.typeOf=Yo});var JG=fe((hYt,VG)=>{"use strict";VG.exports=$G()});var rq=fe((DYt,nq)=>{var QG=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Lye=/\n/g,Pye=/^\s*/,jye=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Nye=/^:\s*/,kye=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Oye=/^[;\s]*/,Uye=/^\s+|\s+$/g,Hye=` `,KG="/",eq="*",sf="",Bye="comment",Wye="declaration";nq.exports=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function a(b){var y=b.match(Lye);y&&(n+=y.length);var D=b.lastIndexOf(Hye);r=~D?b.length-D:r+b.length}function o(){var b={line:n,column:r};return function(y){return y.position=new i(b),s(),y}}function i(b){this.start=b,this.end={line:n,column:r},this.source=t.source}i.prototype.content=e;var u=[];function l(b){var y=new Error(t.source+":"+n+":"+r+": "+b);if(y.reason=b,y.filename=t.source,y.line=n,y.column=r,y.source=e,t.silent)u.push(y);else throw y}function c(b){var y=b.exec(e);if(!!y){var D=y[0];return a(D),e=e.slice(D.length),y}}function s(){c(Pye)}function f(b){var y;for(b=b||[];y=d();)y!==!1&&b.push(y);return b}function d(){var b=o();if(!(KG!=e.charAt(0)||eq!=e.charAt(1))){for(var y=2;sf!=e.charAt(y)&&(eq!=e.charAt(y)||KG!=e.charAt(y+1));)++y;if(y+=2,sf===e.charAt(y-1))return l("End of comment missing");var D=e.slice(2,y-2);return r+=2,a(D),e=e.slice(y),r+=2,b({type:Bye,comment:D})}}function p(){var b=o(),y=c(jye);if(!!y){if(d(),!c(Nye))return l("property missing ':'");var D=c(kye),C=b({type:Wye,property:tq(y[0].replace(QG,sf)),value:D?tq(D[0].replace(QG,sf)):sf});return c(Oye),C}}function v(){var b=[];f(b);for(var y;y=p();)y!==!1&&(b.push(y),f(b));return b}return s(),v()};function tq(e){return e?e.replace(Uye,sf):sf}});var oq=fe((bYt,d6)=>{var zye=rq();function aq(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,a=zye(e),o=typeof t=="function",i,u,l=0,c=a.length;lP7e});var M8=function(e){return function(t){for(var n=e.length,r=t.length,a=new Array(n*r),o=0,i=0;i="0"&&e[a]<="9"?"\\&":"";return"\\"+n.charCodeAt(0).toString(10)+o})+'"'};var Sa={show:J8};var vn={show:V8};var Ae=function(e){return e.show};var hn=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Tt=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var Ar=function(){function e(){}return e.value=new e,e}(),$h=function(e){return e};var Vh=function(e){return e.to};var Bb=function(e){return e.from};var wK=Ve(Je),B=function(){function e(){}return e.value=new e,e}(),j=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var Pt=function(e){return function(t){return function(n){if(n instanceof B)return e;if(n instanceof j)return t(n.value0);throw new Error("Failed pattern match at Data.Maybe (line 237, column 1 - line 237, column 51): "+[e.constructor.name,t.constructor.name,n.constructor.name])}}},Wr=Pt(!0)(Qe(!1)),gr=Pt(!1)(Qe(!0));var Ke={map:function(e){return function(t){return t instanceof j?new j(e(t.value0)):B.value}}},CK=ae(Ke);var at=function(e){return Pt(e)(wK)},zn=function(){return function(e){if(e instanceof j)return e.value0;throw new Error("Failed pattern match at Data.Maybe (line 288, column 1 - line 288, column 46): "+[e.constructor.name])}};var Lr=function(e){var t=Le(e);return{eq:function(n){return function(r){return n instanceof B&&r instanceof B?!0:n instanceof j&&r instanceof j?t(n.value0)(r.value0):!1}}}},zi=function(e){var t=tt(e),n=Lr(e.Eq0());return{compare:function(r){return function(a){if(r instanceof B&&a instanceof B)return it.value;if(r instanceof B)return Ne.value;if(a instanceof B)return Pe.value;if(r instanceof j&&a instanceof j)return t(r.value0)(a.value0);throw new Error("Failed pattern match at Data.Maybe (line 0, column 0 - line 0, column 0): "+[r.constructor.name,a.constructor.name])}},Eq0:function(){return n}}};var fi={apply:function(e){return function(t){if(e instanceof j)return CK(e.value0)(t);if(e instanceof B)return B.value;throw new Error("Failed pattern match at Data.Maybe (line 67, column 1 - line 69, column 30): "+[e.constructor.name,t.constructor.name])}},Functor0:function(){return Ke}};var Bt={bind:function(e){return function(t){if(e instanceof j)return t(e.value0);if(e instanceof B)return B.value;throw new Error("Failed pattern match at Data.Maybe (line 125, column 1 - line 127, column 28): "+[e.constructor.name,t.constructor.name])}},Apply0:function(){return fi}};var bn=function(){return{pure:j.create,Apply0:function(){return fi}}}();var X8={alt:function(e){return function(t){return e instanceof B?t:e}},Functor0:function(){return Ke}},RK=function(){return{empty:B.value,Alt0:function(){return X8}}}(),Jh={Applicative0:function(){return bn},Plus1:function(){return RK}};var Wb=null;function Y8(e,t,n){return e==null?t:n(e)}function zb(e){return e}var Gi=Pt(Wb)(zb),yt=function(e){return Y8(e,B.value,j.create)};function Z8(e){return typeof e=="string"}function Q8(e){return typeof e=="number"}function K8(e){return typeof e=="boolean"}function eE(e){return e instanceof Object}function tE(e){return e instanceof Function}function vm(e){return e===null?"":e===void 0?"":e instanceof Date?e.toString():typeof Blob!="undefined"&&e instanceof Blob?"file["+e.name+"]":JSON.stringify(e)}var xK=function(e,t){if(e<1)return[];var n=new Array(e);return n.fill(t)},TK=function(e,t){for(var n=[],r=0,a=0;a=n.length?t:e(n[r])};var oE=function(e,t,n,r){for(var a=0,o=r.length;a=a.length)return t;var o=a.slice();return o[n]=r,e(o)};var uE=function(e,t){return t.filter(e)};var lE=function(){function e(t,n,r,a,o,i){var u,l,c,s,f,d,p;for(u=o+(i-o>>1),u-o>1&&e(t,n,a,r,o,u),i-u>1&&e(t,n,a,r,u,i),l=o,c=u,s=o;l0?(r[s++]=d,++c):(r[s++]=f,++l);for(;l0?Math.floor(e/t):-Math.floor(e/-t)}},DE=function(e){return function(t){if(t===0)return 0;var n=Math.abs(t);return(e%n+n)%n}};var bE={Ring0:function(){return zh}};var $i={degree:_E,div:yE,mod:DE,CommutativeRing0:function(){return bE}},Vi=function(e){return e.div};var Gb={mempty:ye,Semigroup0:function(){return fm}},Pr={mempty:"",Semigroup0:function(){return Nb}};var qt=function(e){return e.mempty};var qb=function(e){return function(){return e}},CE=function(e){return function(t){return function(){return t(e())()}}};var $b=function(e){return function(t){return function(){for(var n=0,r=e.length;n>1),u-o>1&&e(t,n,a,r,o,u),i-u>1&&e(t,n,a,r,u,i),l=o,c=u,s=o;l0?(r[s++]=d,++c):(r[s++]=f,++l);for(;l=0;o--)r=e(n[o])(r);return r}}},qE=function(e){return function(t){return function(n){for(var r=t,a=n.length,o=0;o=wo(v9))return v9;if(e<=wo(h9))return h9;if(ut)return at(0)(Im(e));throw new Error("Failed pattern match at Data.Int (line 72, column 1 - line 72, column 29): "+[e.constructor.name])},_1=function(e){return vte(h1(e))};var g9=function(e){return(e&1)==0};function y1(e){return Object.prototype.toString.call(e).slice(8,-1)}function D1(e){return e===null}function Yf(e){return e===void 0}var b1=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function mi(e){return new Error(e)}function Zf(e){return e.message}function w1(e){return function(){throw e}}var y9=function(e){return w1(mi(e))};var Nr=function(e){return e.throwError};var eo=function(e){return e.catchError};var Xc=function(e){var t=eo(e),n=e.MonadThrow0().Monad0(),r=ae(n.Bind1().Apply0().Functor0()),a=ue(n.Applicative0());return function(o){return t(r(He.create)(o))(function(i){return a(Oe.create(i))})}};var Zi=function(e){return e.tell};var Ll={liftEffect:Ve(Je),Monad0:function(){return Fl}},jt=function(e){return e.liftEffect};var hte=ae(na);var x4=function(e){return e};var C1=function(e){return e};var R1=function(e){return function(t){return e(t)}},T4=function(e){var t=ae(e);return{map:function(n){return R1(t(hte(n)))}}};var E4=function(e){return{Applicative0:function(){return Kf(e)},Bind1:function(){return F4(e)}}},F4=function(e){var t=ge(e.Bind1()),n=ue(e.Applicative0());return{bind:function(r){return function(a){return t(r)(qn(function(o){return n(Oe.create(o))})(function(o){var i=a(o);return i}))}},Apply0:function(){return D9(e)}}},D9=function(e){var t=T4(e.Bind1().Apply0().Functor0());return{apply:Do(E4(e)),Functor0:function(){return t}}},Kf=function(e){return{pure:function(){var t=ue(e.Applicative0());return function(n){return x4(t(He.create(n)))}}(),Apply0:function(){return D9(e)}}};var b9=function(e){var t=E4(e);return{throwError:function(){var n=ue(e.Applicative0());return function(r){return x4(n(Oe.create(r)))}}(),Monad0:function(){return t}}};var M4=function(e){var t=We(e);return function(n){var r=n.Bind1(),a=ge(r),o=ue(n.Applicative0()),i=T4(r.Apply0().Functor0());return{alt:function(u){return function(l){return a(u)(function(c){if(c instanceof He)return o(new He(c.value0));if(c instanceof Oe)return a(l)(function(s){if(s instanceof He)return o(new He(s.value0));if(s instanceof Oe)return o(new Oe(t(c.value0)(s.value0)));throw new Error("Failed pattern match at Control.Monad.Except.Trans (line 86, column 9 - line 88, column 49): "+[s.constructor.name])});throw new Error("Failed pattern match at Control.Monad.Except.Trans (line 82, column 5 - line 88, column 49): "+[c.constructor.name])})}},Functor0:function(){return i}}}};var Pl=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}();var x1=function(e){var t=Da(e);return function(n){return new Pl(n,t)}};var rr=function(){function e(){}return e.value=new e,e}(),tn=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),I4=function(e){return e},Mte=function(e){return new tn(e.value0,e.value1)};var Ste=function(e){var t=function(n){return function(r){var a=n,o=!1,i;function u(l,c){if(c instanceof tn&&c.value1 instanceof tn&&c.value1.value1 instanceof tn){a=new tn(c,l),r=c.value1.value1.value1;return}var s=function(d){return d instanceof tn&&d.value1 instanceof tn&&d.value1.value1 instanceof rr?new tn(e(d.value0),new tn(e(d.value1.value0),rr.value)):d instanceof tn&&d.value1 instanceof rr?new tn(e(d.value0),rr.value):rr.value},f=function(d){return function(p){var v=d,b=!1,y;function D(C,F){if(C instanceof tn&&C.value0 instanceof tn&&C.value0.value1 instanceof tn&&C.value0.value1.value1 instanceof tn){v=C.value1,p=new tn(e(C.value0.value0),new tn(e(C.value0.value1.value0),new tn(e(C.value0.value1.value1.value0),F)));return}return b=!0,F}for(;!b;)y=D(v,p);return y}};return o=!0,f(l)(s(c))}for(;!o;)i=u(a,r);return i}};return t(rr.value)},Ite={map:Ste};var Qc={foldr:function(e){return function(t){var n=function(){var a=function(o){return function(i){var u=o,l=!1,c;function s(f,d){if(d instanceof rr)return l=!0,f;if(d instanceof tn){u=new tn(d.value0,f),i=d.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 107, column 7 - line 107, column 23): "+[f.constructor.name,d.constructor.name])}for(;!l;)c=s(u,i);return c}};return a(rr.value)}(),r=Vn(Qc)(Ut(e))(t);return function(a){return r(n(a))}}},foldl:function(e){var t=function(n){return function(r){var a=n,o=!1,i;function u(l,c){if(c instanceof rr)return o=!0,l;if(c instanceof tn){a=e(l)(c.value0),r=c.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 111, column 12 - line 113, column 30): "+[c.constructor.name])}for(;!o;)i=u(a,r);return i}};return t},foldMap:function(e){var t=We(e.Semigroup0()),n=qt(e);return function(r){return Vn(Qc)(function(a){var o=t(a);return function(i){return o(r(i))}})(n)}}};var Ate=$n(Qc);var A4={append:function(e){return function(t){return Ate(tn.create)(t)(e)}}},R9=We(A4);var L4={append:function(e){return function(t){return new Pl(e.value0,R9(e.value1)(Mte(t)))}}};var Lte={alt:R9,Functor0:function(){return Ite}},x9=function(){return{empty:rr.value,Alt0:function(){return Lte}}}();var T1=function(e){return $n(e)(tn.create)(rr.value)};var M9=function(e){return e()};var S9=function(e){throw new Error(e)};var I9=function(){return S9};var kte=I9(),Ote=M9,Kc=function(e){return Ote(function(){return kte(e)})};var P4=function(){var e=x1(x9);return function(t){return I4(e(t))}}();var L9=function(e){return e.value0};var ed=function(e){return e.length};var P9=function(e){return function(t){return function(n){return function(r){var a=r.indexOf(n);return a===-1?t:e(a)}}}};var j4=function(e){return function(t){return{before:t.substring(0,e),after:t.substring(e)}}};var vi=function(e){return function(t){var n=j4(ed(e))(t),r=n.before===e;return r?new j(n.after):B.value}};var U9=function(){return P9(j.create)(B.value)}();var F1=function(e){var t=U9(e);return function(n){return gr(t(n))}};var zte=Ae(Sa),Gte=Ae(vn);var M1=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),H9=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),qte=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),$te=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),Aa=we,td=we;var jm=function(e){if(e instanceof M1)return e.value0;if(e instanceof qte)return"Error at array index "+(Gte(e.value0)+(": "+jm(e.value1)));if(e instanceof $te)return"Error at property "+(zte(e.value0)+(": "+jm(e.value1)));if(e instanceof H9)return"Type mismatch: expected "+(e.value0+(", found "+e.value1));throw new Error("Failed pattern match at Foreign (line 78, column 1 - line 78, column 45): "+[e.constructor.name])};var S1=function(e){var t=Nr(b9(e));return function(n){return t(P4(n))}};var I1=function(e){var t=ue(Kf(e)),n=S1(e);return function(r){return function(a){if(y1(a)===r)return t(td(a));if(ut)return n(new H9(r,y1(a)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[r.constructor.name,a.constructor.name])}}};function B9(e){return function(){var t={};for(var n in e)hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}var A1={};function Nm(e){return e()}function W9(e,t,n,r){return n in r?t(r[n]):e}function O4(e){return function(t){var n=[];for(var r in t)hasOwnProperty.call(t,r)&&n.push(e(r)(t[r]));return n}}var Vte=Object.keys||O4(function(e){return function(){return e}});var L1=function(){return{}};function km(e){return function(t){return function(n){return function(){return n[e]=t,n}}}}var Qte=En(hm);var Kte=Nn(jf);var ene=B9,U4=function(e){return function(t){return Nm(Qte(km(e)(t))(L1))}};var tne=function(e){return function(t){return Nm(function(){var r=ene(t)();return e(r)(),r})}};var Um=function(){return zf(W9)(B.value)(j.create)}();var $9=function(e){return function(t){return tne(km(e)(t))}};var H4=function(){return we};var V9=function(e){var t=y4(e);return function(n){return Nm(function(){var a=L1();return e1(t(n))(function(o){return Kte(km(o.value0)(o.value1)(a))})(),a})}};var J9=Of(Gr),nne=Nu(J9),rne=f9(Sm),ane=Ae(vn),one=Yi(Pr),Co=function(){function e(){}return e.value=new e,e}(),hi=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),ar={validateJsRecord:function(e){return Co.value}},B4={validateForeignType:function(e){return Co.value}};var P1=function(e){return function(t){return function(n){var r=t(n);return r?Co.value:new hi({path:"",got:n,expected:e})}}};var oa={validateForeignType:P1("Boolean")(K8)},X9={validateForeignType:P1("Function")(tE)};var Y9={validateForeignType:P1("Int")(Gc(J9)(Q8)(function(e){return gr(Im(td(e)))}))};var Et={validateForeignType:P1("String")(Z8)},Z9=function(e){return e.validateJsRecord},to=function(){return function(e){var t=Z9(e);return{validateForeignType:function(n){if(eE(n))return t(n);if(ut)return new hi({path:"",expected:"Object",got:n});throw new Error("Failed pattern match at Elmish.Foreign (line 209, column 1 - line 212, column 69): "+[n.constructor.name])}}}},Hm=function(e){return e.validateForeignType},Wu=function(e){var t=Hm(e);return{validateForeignType:function(n){if(nne(b1)(n))return new hi({path:"",expected:"Array",got:n});if(ut){var r=function(o){return function(i){var u=t(i);if(u instanceof Co)return B.value;if(u instanceof hi)return new j({idx:o,invalid:u.value0});throw new Error("Failed pattern match at Elmish.Foreign (line 186, column 29 - line 188, column 51): "+[u.constructor.name])}},a=rne(r)(td(n));if(a instanceof B)return Co.value;if(a instanceof j)return new hi({expected:a.value0.invalid.expected,got:a.value0.invalid.got,path:"["+(ane(a.value0.idx)+("]"+a.value0.invalid.path))});throw new Error("Failed pattern match at Elmish.Foreign (line 182, column 21 - line 184, column 101): "+[a.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 179, column 6 - line 188, column 51): "+[n.constructor.name])}}},gi=function(e){var t=Hm(e);return{validateForeignType:function(n){if(D1(n)||Yf(n))return Co.value;if(ut){var r=t(n);if(r instanceof Co)return Co.value;if(r instanceof hi)return new hi({path:r.value0.path,got:r.value0.got,expected:"Nullable "+r.value0.expected});throw new Error("Failed pattern match at Elmish.Foreign (line 196, column 11 - line 198, column 82): "+[r.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 192, column 1 - line 198, column 82): "+[n.constructor.name])}}};var nt=function(e){var t=ta(e);return function(n){var r=Hm(n);return function(a){var o=Z9(a);return{validateJsRecord:function(i){var u=t(lr.value),l=ci(u)(td(i)),c=r(l);if(c instanceof hi)return new hi({expected:c.value0.expected,got:c.value0.got,path:"."+(u+c.value0.path)});if(c instanceof Co)return o(i);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[c.constructor.name])}}}}},zu=function(e){var t=Hm(e);return function(n){var r=t(n);if(r instanceof Co)return new He(td(n));if(r instanceof hi)return new Oe(one([r.value0.path,function(){var a=r.value0.path==="";return a?"Expected ":": expected "}(),r.value0.expected," but got: ",vm(r.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[r.constructor.name])}},es=function(e){var t=zu(e);return function(n){return qi(t(n))}};var ine={info:"info",warning:"warn",error:"error"},ts=e=>t=>n=>r=>{let a=ine[e];if(typeof console!="undefined"&&console[a]&&console[a](t,n),typeof window!="undefined"){let o=new Error(t);typeof window.Sentry!="undefined"&&window.Sentry.captureException(o,{extra:n})}return r()},Q9=(e,t)=>(t.__sentryFingerprint=e,t);var K9=function(e){return pi(Q9)(e)};var nd="error";var j1={parseOrPanic:function(e){return function(t){var n=e.parse(t);if(n instanceof He)return n.value0;if(n instanceof Oe)return ts(nd)("Failed to parse "+e.diagnosticName)({error:n.value0,value:t})(function(r){return e.default});throw new Error("Failed pattern match at Utils.Parse (line 49, column 5 - line 57, column 24): "+[n.constructor.name])}}},rd=function(e){return e.parseOrPanic},une=rd(j1),Qi=function(e){var t=rd(e);return function(n){var r=ae(n);return function(a){return t({parse:function(o){return r(j.create)(a.parse(o))},default:B.value,diagnosticName:a.diagnosticName})}}},lne=Qi(j1)(na),eF=function(e){var t=zu(e);return function(n){return lne({parse:t,diagnosticName:n})}},_i={parseOrPanic:function(e){return une({default:e.default,diagnosticName:e.diagnosticName,parse:function(){var t=Pt(new Oe(""))(He.create);return function(n){return t(e.parse(n))}}()})}};var N1=ue(bn),ns=function(){function e(){}return e.value=new e,e}(),rs=function(){function e(){}return e.value=new e,e}(),Bm=function(){function e(){}return e.value=new e,e}(),Wm=function(){function e(){}return e.value=new e,e}();var tF={eq:function(e){return function(t){return e instanceof ns&&t instanceof ns||e instanceof rs&&t instanceof rs||e instanceof Bm&&t instanceof Bm||e instanceof Wm&&t instanceof Wm}}},nF=Cr,ad=Et,cne=Qi(_i)(Ke)({parse:function(e){return e==="accepted"?N1(ns.value):e==="pending"?N1(rs.value):e==="rejected"?N1(Bm.value):e==="removed"?N1(Wm.value):B.value},diagnosticName:"CounselorConnection.Status"}),od=function(e){return{email:e.email,hasLetterGenerated:e.hasLetterGenerated,hasCompleteBragSheet:e.hasCompleteBragSheet,connectionSlug:yt(e.connectionSlug),fullName:yt(e.fullName),status:cne(e.status)}};var k1=function(e){return function(){console.error(e)}};var uF=function(e){var t=jt(e);return function(n){return t(k1(n))}};xt();var lF=function(){let e={};return function(t,n){let r=e[t]||(e[t]=fF(t));return n(r)}}();function cF(e){return e(fF())}var sF=Dt.createElement;function fF(e){class t extends Dt.Component{constructor(r){super(r);r.init&&r.init(this)()}render(){return this.props.render(this)()}componentDidMount(){this.props.componentDidMount(this)()}componentWillUnmount(){this.props.componentWillUnmount(this)()}}return t.displayName=e?"Elmish_"+e:"ElmishRoot",t}var U1=typeof module=="undefined"?void 0:module.require,bBe=function(){try{return U1===void 0?void 0:U1("util")}catch{return}}();var wBe=function(){var e;if(typeof performance!="undefined")e=performance;else if(U1)try{e=U1("perf_hooks").performance}catch{}return function(){return(e||Date).now()}}();var La=function(){var e={},t="Pure",n="Throw",r="Catch",a="Sync",o="Async",i="Bind",u="Bracket",l="Fork",c="Sequential",s="Map",f="Apply",d="Alt",p="Cons",v="Resume",b="Release",y="Finalizer",D="Finalized",C="Forked",F="Fiber",I="Thunk";function L(U,$,Z,A){this.tag=U,this._1=$,this._2=Z,this._3=A}function S(U){var $=function(Z,A,V){return new L(U,Z,A,V)};return $.tag=U,$}function z(U){return new L(t,void 0)}function Y(U){try{U()}catch($){setTimeout(function(){throw $},0)}}function X(U,$,Z){try{return $(Z())}catch(A){return U(A)}}function ee(U,$,Z){try{return $(Z)()}catch(A){return Z(U(A))(),z}}var W=function(){var U=1024,$=0,Z=0,A=new Array(U),V=!1;function k(){var le;for(V=!0;$!==0;)$--,le=A[Z],A[Z]=void 0,Z=(Z+1)%U,le();V=!1}return{isDraining:function(){return V},enqueue:function(le){var oe,pe;$===U&&(pe=V,k(),V=pe),A[(Z+$)%U]=le,$++,V||k()}}}();function te(U){var $={},Z=0,A=0;return{register:function(V){var k=Z++;V.onComplete({rethrow:!0,handler:function(le){return function(){A--,delete $[k]}}})(),$[k]=V,A++},isEmpty:function(){return A===0},killAll:function(V,k){return function(){if(A===0)return k();var le=0,oe={};function pe(ce){oe[ce]=$[ce].kill(V,function(Me){return function(){delete oe[ce],le--,U.isLeft(Me)&&U.fromLeft(Me)&&setTimeout(function(){throw U.fromLeft(Me)},0),le===0&&k()}})()}for(var he in $)$.hasOwnProperty(he)&&(le++,pe(he));return $={},Z=0,A=0,function(ce){return new L(a,function(){for(var Me in oe)oe.hasOwnProperty(Me)&&oe[Me]()})}}}}}var J=0,Q=1,ie=2,G=3,ne=4,de=5,Ce=6;function Ee(U,$,Z){var A=0,V=J,k=Z,le=null,oe=null,pe=null,he=null,ce=null,Me=0,Re=0,Ge=null,Fe=!0;function qe($e){for(var Ue,xe,et;;)switch(Ue=null,xe=null,et=null,V){case ie:V=Q;try{k=pe(k),he===null?pe=null:(pe=he._1,he=he._2)}catch(re){V=de,le=U.left(re),k=null}break;case G:U.isLeft(k)?(V=de,le=k,k=null):pe===null?V=de:(V=ie,k=U.fromRight(k));break;case Q:switch(k.tag){case i:pe&&(he=new L(p,pe,he)),pe=k._2,V=Q,k=k._1;break;case t:pe===null?(V=de,k=U.right(k._1)):(V=ie,k=k._1);break;case a:V=G,k=X(U.left,U.right,k._1);break;case o:V=ne,k=ee(U.left,k._1,function(re){return function(){A===$e&&(A++,W.enqueue(function(){A===$e+1&&(V=G,k=re,qe(A))}))}});return;case n:V=de,le=U.left(k._1),k=null;break;case r:pe===null?ce=new L(p,k,ce,oe):ce=new L(p,k,new L(p,new L(v,pe,he),ce,oe),oe),pe=null,he=null,V=Q,k=k._1;break;case u:Me++,pe===null?ce=new L(p,k,ce,oe):ce=new L(p,k,new L(p,new L(v,pe,he),ce,oe),oe),pe=null,he=null,V=Q,k=k._1;break;case l:V=G,Ue=Ee(U,$,k._2),$&&$.register(Ue),k._1&&Ue.run(),k=U.right(Ue);break;case c:V=Q,k=E(U,$,k._1);break}break;case de:if(pe=null,he=null,ce===null)V=Ce,k=oe||le||k;else switch(Ue=ce._3,et=ce._1,ce=ce._2,et.tag){case r:oe&&oe!==Ue&&Me===0?V=de:le&&(V=Q,k=et._2(U.fromLeft(le)),le=null);break;case v:oe&&oe!==Ue&&Me===0||le?V=de:(pe=et._1,he=et._2,V=ie,k=U.fromRight(k));break;case u:Me--,le===null&&(xe=U.fromRight(k),ce=new L(p,new L(b,et._2,xe),ce,Ue),(oe===Ue||Me>0)&&(V=Q,k=et._3(xe)));break;case b:ce=new L(p,new L(D,k,le),ce,oe),V=Q,oe&&oe!==Ue&&Me===0?k=et._1.killed(U.fromLeft(oe))(et._2):le?k=et._1.failed(U.fromLeft(le))(et._2):k=et._1.completed(U.fromRight(k))(et._2),le=null,Me++;break;case y:Me++,ce=new L(p,new L(D,k,le),ce,oe),V=Q,k=et._1;break;case D:Me--,V=de,k=et._1,le=et._2;break}break;case Ce:for(var en in Ge)Ge.hasOwnProperty(en)&&(Fe=Fe&&Ge[en].rethrow,Y(Ge[en].handler(k)));Ge=null,oe&&le?setTimeout(function(){throw U.fromLeft(le)},0):U.isLeft(k)&&Fe&&setTimeout(function(){if(Fe)throw U.fromLeft(k)},0);return;case J:V=Q;break;case ne:return}}function ot($e){return function(){if(V===Ce)return Fe=Fe&&$e.rethrow,$e.handler(k)(),function(){};var Ue=Re++;return Ge=Ge||{},Ge[Ue]=$e,function(){Ge!==null&&delete Ge[Ue]}}}function Ie($e,Ue){return function(){if(V===Ce)return Ue(U.right(void 0))(),function(){};var xe=ot({rethrow:!1,handler:function(){return Ue(U.right(void 0))}})();switch(V){case J:oe=U.left($e),V=Ce,k=oe,qe(A);break;case ne:oe===null&&(oe=U.left($e)),Me===0&&(V===ne&&(ce=new L(p,new L(y,k($e)),ce,oe)),V=de,k=null,le=null,qe(++A));break;default:oe===null&&(oe=U.left($e)),Me===0&&(V=de,k=null,le=null)}return xe}}function st($e){return function(){var Ue=ot({rethrow:!1,handler:$e})();return V===J&&qe(A),Ue}}return{kill:Ie,join:st,onComplete:ot,isSuspended:function(){return V===J},run:function(){V===J&&(W.isDraining()?qe(A):W.enqueue(function(){qe(A)}))}}}function P(U,$,Z,A){var V=0,k={},le=0,oe={},pe=new Error("[ParAff] Early exit"),he=null,ce=e;function Me(ot,Ie,st){var $e=Ie,Ue=null,xe=null,et=0,en={},re,ve;e:for(;;)switch(re=null,$e.tag){case C:if($e._3===e&&(re=k[$e._1],en[et++]=re.kill(ot,function(ft){return function(){et--,et===0&&st(ft)()}})),Ue===null)break e;$e=Ue._2,xe===null?Ue=null:(Ue=xe._1,xe=xe._2);break;case s:$e=$e._2;break;case f:case d:Ue&&(xe=new L(p,Ue,xe)),Ue=$e,$e=$e._1;break}if(et===0)st(U.right(void 0))();else for(ve=0,re=et;ve""),lre=ro.unmountComponentAtNode;function CM(e,t,n){return Dt.createElement.apply(null,[e,cre(e,t)].concat(n))}function cre(e,t){if(typeof e!="string"||t._data==null)return t;var n={_data:void 0};for(var r in t._data){var a=t._data[r];n["data-"+r]=a}return Object.assign({},t,n)}var RM=(e,t)=>t[e],xM=(e,t,n)=>n[e]=t;var ds=function(t){return function(n){return t(n)()}};var fd=function(t){return function(n){return function(){return t(n)}}},Ol=function(t){return function(n){return function(r){return function(){return t(n,r)}}}},dd=function(t){return function(n){return function(r){return function(a){return function(){return t(n,r,a)}}}}};var Rre=Ht(Rt);var lt={asReactChildren:function(e){return[e]}},kt={asReactChildren:function(e){return[e]}},Ft={asReactChildren:Ve(Je)};var bw=dd(yM),FM=function(){return dd(xM)},MM=Ol(bM),SM=Ol(wM),IM=fd(_M),ww=function(e){var t=es(e);return function(n){return function(r){return Rre(function(){return RM(n,r)})(t)}}},AM=Ol(DM),LM=function(e){return e.asReactChildren},Vu=function(){return function(e){var t=LM(e);return function(n){return function(r){return function(a){return CM(n,r,t(a))}}}}},xre=Vu()(Ft),eu=function(){return function(e){return function(t){return xre(e)(t)([])}}};var Cw=ae(Rt),Tre=ue($t),PM=function(e){return{initialize:function(t){return AM(t)(e.initialState)},getState:function(t){return function(){var r=Cw(yt)(IM(t))();return at(e.initialState)(r)}},setState:bw}},jM=function(){var e=function(t){return function(n){return{initialize:function(r){return ju(new j(n.initialState))(t)},getState:function(r){return Cw(at(n.initialState))(Pu(t))},setState:function(r){return function(a){return function(o){return function(){return ju(new j(a))(t)(),bw(r)(a)(Tre(ye))(),o()}}}}}}};return Cw(e)(Ml(B.value))}();var NM=Ht(Qt),kM=We(Rr);var Fre=ue($t),OM=FM(),Mre=ww(oa),UM=ae(Rt),Sre=ww(Wu(X9)),Ire=Gn(wn),Are=En(jr),Lre=c4($t)(Vt),Pre=Ire(sr),HM=jt(Ll),jre=mE(Fl),Nre=We(kb(Kh(fm))),BM=function(e){return e},ps=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),kre={map:function(e){return function(t){return new ps(e(t.value0),t.value1)}}},WM=function(e){return{bimap:function(t){return function(n){return function(r){return new ps(n(r.value0),NM(r.value1)(function(a){return function(o){return a({dispatch:function(i){return o.dispatch(t(i))},onStop:o.onStop})}}))}}}}},zM={apply:function(e){return function(t){return new ps(e.value0(t.value0),kM(e.value1)(t.value1))}},Functor0:function(){return kre}},tu={bind:function(e){return function(t){var n=t(e.value0);return new ps(n.value0,kM(e.value1)(n.value1))}},Apply0:function(){return zM}},xr={pure:function(e){return new ps(e,[])},Apply0:function(){return zM}};var Ore=function(e){var t=ge(e);return function(n){var r=jt(n);return function(a){return function(o){return new ps(a,NM(o)(function(i){return function(u){return t(i)(function(l){return r(u.dispatch(l))})}}))}}}};var pd=function(e){return new ps(ye,[e])},Ju=function(e){return pd(Qe(e))},eg=function(e){var t=ge(e.Monad0().Bind1()),n=jt(e);return function(r){return pd(function(a){return t(r)(function(o){return n(Pt(Fre(ye))(a.dispatch)(o))})})}},ms=function(e){var t=Ore(e.Monad0().Bind1())(e);return function(n){return t(ye)([n])}},GM=function(e){return function(t){return function(n){var r=n({initialState:t.init.value0}),a=OM("__unmounted"),o=OM("__subscriptions"),i=function(){var p=UM(at(!1)),v=Mre("__unmounted");return function(b){return p(v(b))}}(),u=function(){var p=UM(at([])),v=Sre("__subscriptions");return function(b){return p(v(b))}}(),l=function(p){return function(){return Are(Lre)(u(p))(),o([])(p)()}},c=function(p){return function(v){return function(){var y=u(p)();return o(p1(ls(v))(y))(p)()}}},s=function(p){return function(v){var b=function(y){return ls(Pre(ud(0))(function(){return y({dispatch:function(){var D=f(v);return function(C){return HM(D(C))}}(),onStop:c(v)})}))};return $b(p)(b)}},f=function(p){return function(v){return jre(i(p))(function(){var y=r.getState(p)(),D=t.update(y)(v);return r.setState(p)(D.value0)(s(D.value1)(p))()})}},d=function(p){return function(){var b=r.getState(p)();return t.view(b)(f(p))}};return sF(e,{init:r.initialize,render:d,componentDidMount:s(t.init.value1),componentWillUnmount:Nre(a(!0))(l)})}}},qM=function(e){return function(){var n=HM(jM)();return cF(function(r){return GM(r)(e)(n)})}},md=function(e){return function(t){return lF(e,function(n){return function(r){return GM(n)(t(r))(PM)}})}};function $M(e){return function(t){return function(){return t.getElementById(e)}}}var Ure=ae(Rt),Rw=function(e){var t=Ure(yt),n=$M(e);return function(r){return t(n(r))}};var ao=function(){return window};var xw=we;var nv=function(e){var t=ue(e.Applicative0()),n=Da(e.Plus1());return function(r){if(r)return t(ye);if(!r)return n;throw new Error("Failed pattern match at Control.Alternative (line 48, column 1 - line 48, column 54): "+[r.constructor.name])}};var Jt=function(e){return e.toEnum};var Nt=function(e){return e.fromEnum};function tg(e){return function(){return e.document}}function Ul(e){return function(){return e.localStorage}}var qre=ue($t),JM=ge(jr),$re=ae(Rt),Vre=uF(Ll),XM=function(e){var t=function(r){var a=e(r);return Dw(a.view(a.init.value0)(Qe(qre(ye))))},n=function(r){return function(a){return function(o){return function(){var u=JM(JM(ao)(function(){var c=$re(xw);return function(s){return c(tg(s))}}()))(Rw(a))();if(u instanceof B)return Vre("Element #"+(a+" not found"))();if(u instanceof j){var l=qM(e(o))();return r(l)(u.value0)()}throw new Error("Failed pattern match at Elmish.Boot (line 117, column 11 - line 122, column 21): "+[u.constructor.name])}}}};return{mount:n(MM),renderToString:t,hydrate:n(SM)}};var YM=Gt(xo()),ZM=YM.Fragment;var xn=we,rn=Vu()(Ft)(ZM)({}),gn=!1;var Jre=rd(j1),Xre=ge(Tl),QM=ue(xr),KM=function(e){var t=zu(e);return function(n){return XM(Jre({parse:function(r){return Xre(t(r))(function(a){return Pt(new Oe("Component construction failed"))(He.create)(n.def(a))})},diagnosticName:"Props for "+n.diagnosticName,default:{init:QM(ye),update:function(r){return function(a){return QM(ye)}},view:function(r){return function(a){return gn}}}}))}};xt();var tS=Gt(eS()),nu=typeof CV!="undefined"&&CV.pusherConfig||typeof global!="undefined"&&global.CV&&global.CV.pusherConfig,{acquireConnection:Yre,releaseConnection:Zre}=(()=>{let e=null,t=0,n=()=>{if(!nu||!nu.key)return nu||console.error("Pusher config is missing in global context"),new Qre;let r={auth:{headers:{"X-CSRF-Token":nu.authToken}},authEndpoint:nu.authPath,cluster:nu.cluster};return nu.dev&&Object.assign(r,{wsHost:nu.dev.wsHost,wsPort:nu.dev.wsPort,enabledTransports:["ws"],forceTLS:!1,disableStats:!0}),new tS.default(nu.key,r)};return{acquireConnection:()=>(e||(e=n(),t=0),t++,e),releaseConnection:()=>{--t<=0&&(e.disconnect(),e=null)}}})(),nS=e=>{let t=Yre().subscribe(e.channel);return t.bind(e.event,e.handler),()=>{t.unbind(e.event,e.handler),Zre()}};function Qre(){typeof document!="undefined"&&(document.mockPusher=this),this.localObject={},this.channels=[],this.disconnect=function(){document.mockPusher=null},this.subscribe=function(e){let t=this.channels.find(r=>r.name===e);if(t)return t;let n=new Kre(e);return this.channels.push(n),n},this.channelNames=function(){return this.channels.map(e=>e.name)}}function Kre(e){this.name=e,this.handlers={},this.triggered=[],this.disconnect=()=>{},this.bind=function(t,n){this.handlers[t]=n},this.unbind=function(t,n){this.handlers[t]===n&&(this.handlers[t]=null)},this.trigger=function(t,n){this.triggered.push({eventName:t,eventData:n})}}var eae=Yi(Pr),tae=Qa($t)(Ji);var nae={show:function(e){return e}},rae=Ae(nae),Sw=Et,rS=function(e){var t=eF(e);return function(n){return function(r){return function(a){var o=eae(["Pusher event ",r," over channel ",rae(n)]),i=function(u){return tae(t(o)(u))(a)()};return function(){return nS({channel:n,event:r,handler:i})}}}}};var aae=function(){function e(){}return e.value=new e,e}(),Iw=function(){function e(){}return e.value=new e,e}(),oae=function(){function e(){}return e.value=new e,e}(),iae=function(){function e(){}return e.value=new e,e}(),aS=function(e){if(e instanceof aae)return"modal-sm";if(e instanceof Iw)return"";if(e instanceof oae)return"modal-lg";if(e instanceof iae)return"modal-xl";throw new Error("Failed pattern match at Bootstrap.Modal.Size (line 14, column 13 - line 18, column 27): "+[e.constructor.name])};var Hl=function(e){return function(t){return t.split(e)}},av=function(e){return e.toLowerCase()};var To=function(e){return function(t){return t.join(e)}};var ag=function(e){return e===""};var Aw=void 0;var oS=we;var cae=we,Lw=function(e){return Yf(e)};var iS=function(e){return function(t){var n=Lw(t);return n?Aw:cae(e(oS(t)))}},vs=function(e){var t=Lw(e);return t?B.value:new j(oS(e))};var Wt=function(e){return function(t){var n=Lw(e);return n?t:e}};var Jr=function(){return we};var uS=ue($t),lS=Ou(),cS=function(e){return{handleMaybe:function(t){return function(n){return ds(function(){var r=Pt(uS(ye))(t);return function(a){return r(lS(n(a)))}}())}}}},sS=function(e){return{handleMaybe:function(t){return function(n){return function(r){return Pt(uS(ye))(t)(lS(n))()}}}}},Bl={handle:function(e){return function(t){return function(n){return e(t(n))()}}}},vd={handleEffect:function(e){return ds(e)}},wa={handleEffect:function(e){return ds(Qe(e))}},ru={handle:function(e){return function(t){return function(n){return e(t)()}}}},og=function(e){return e.handleMaybe},Tr=function(e){return e.handleEffect},Xr=function(e){return e.handle};function ig(e,t){var n={};for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r]);for(var a in e)({}).hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}var fS=function(){return function(){return function(e){return function(t){return ig(e,t)}}}};var dS=eu(),pS=Vu(),mS=fS()();var ug=we,vS=function(e){return function(t){return dS(ug(e))(t)}};var bi=function(e){var t=pS(e);return function(n){return function(r){return function(a){return t(ug(n))(mS(a)({className:r}))}}}},hd=function(e){return function(t){return function(n){return dS(ug(e))(mS(n)({className:t}))}}};var Pa=function(e){return function(t){var n=pS(t);return function(r){return function(a){return n(ug(e))({className:r})(a)}}}};var sn=we;var hS=function(e){var t=bi(e);return function(){return function(){return t("ul")}}},gS=function(e){return Pa("ul")(e)};var Wl=function(){return function(){return hd("textarea")}};var _S=function(e){var t=bi(e);return function(){return function(){return t("svg")}}};var yS=function(e){return Pa("strong")(e)};var Yr=function(e){return Pa("span")(e)};var DS=function(e){return Pa("small")(e)};var au=function(e){return Pa("p")(e)};var bS=function(e){var t=bi(e);return function(){return function(){return t("li")}}},wS=function(e){return Pa("li")(e)};var gd=function(e){var t=bi(e);return function(){return function(){return t("label")}}},lg=function(e){return Pa("label")(e)};var ja=function(){return function(){return hd("input")}};var CS=function(){return function(){return hd("img")}};var RS=function(e){return Pa("h6")(e)};var xS=function(e){return Pa("h5")(e)};var cg=function(e){return Pa("h3")(e)};var _d=function(e){return Pa("h2")(e)},TS=function(e){var t=bi(e);return function(){return function(){return t("h1")}}},ES=function(e){return Pa("h1")(e)},FS=function(e){var t=bi(e);return function(){return function(){return t("form")}}};var ia=function(e){var t=bi(e);return function(){return function(){return t("div")}}},St=function(e){return Pa("div")(e)};var _r=function(e){var t=bi(e);return function(){return function(){return t("button")}}};var yd=function(e){var t=bi(e);return function(){return function(){return t("a")}}};xt();var sae=["selectionchange","visibilitychange","keyup","keydown"],fae=["resize","mouseup","mousemove","hashchange","popstate","message"],Pw=class extends Dt.Component{constructor(){super();let t=n=>{let r={};return n.forEach(a=>{r[a]=o=>{let i=this.props[a];i&&i(o)}}),r};this.handleWindow=t(fae),this.handleDocument=t(sae)}componentDidMount(){let t=(n,r)=>Object.keys(r).forEach(a=>n.addEventListener(a,r[a]));t(window,this.handleWindow),t(document,this.handleDocument)}componentWillUnmount(){let t=(n,r)=>Object.keys(r).forEach(a=>n.removeEventListener(a,r[a]));t(window,this.handleWindow),t(document,this.handleDocument)}render(){return null}};var dae=eu(),MS=function(){return function(){return dae(Pw)}};var SS=function(){return function(){return vS("br")}};var sg=function(e){return function(t){return function(){return t[e]}}},pae=sg("children"),mae=sg("firstElementChild"),vae=sg("lastElementChild"),hae=sg("childElementCount");var gae=ae(Qt);var _ae=SS()();var AS=at(gn),ou=Ut(Pt(gn));var yae=function(e){return function(t){if(e)return gn;if(ut)return t(ye);throw new Error("Failed pattern match at Utils.HTML (line 107, column 1 - line 107, column 65): "+[e.constructor.name,t.constructor.name])}},LS=function(e){return function(t){return yae(e)(Qe(t))}};var Dae=function(e){return function(t){if(e)return t(ye);if(ut)return gn;throw new Error("Failed pattern match at Utils.HTML (line 94, column 1 - line 94, column 61): "+[e.constructor.name,t.constructor.name])}},hs=function(e){return function(t){return Dae(e)(Qe(t))}};var PS=function(e){return rn(g4(_ae({}))(gae(xn)(Hl(` `)(e))))};var fg=function(){return we};var gs=St(kt),jw=Jr(),jS=St(Ft),bae=_r(lt)()(),wae=Tr(wa),Cae=cr($t),NS=fg(),Rae=MS()(),xae=Tr(vd),lv=function(){return function(e){var t=gs("modal-backdrop fade show")(gn),n=jw(e),r=vs(n.footer),a=vs(n.header),o=Wt(n.size)(Iw.value),i=To(" ")([function(){var l=Wt(n.scrollable)(!0);return l?"modal-dialog-scrollable":""}(),function(){var l=Wt(n.centered)(!0);return l?"modal-dialog-centered":""}(),aS(o),Wt(n.dialogClass)("")]),u=gs("modal fade show d-block")(gs("modal-dialog "+i)(jS("modal-content "+Wt(n.contentClass)(""))([ou(a)(gs("modal-header "+Wt(n.headerClass)(""))),gs("modal-body "+Wt(n.bodyClass)(""))(n.body),ou(r)(gs("modal-footer "+Wt(n.footerClass)("")))])));return rn([u,t])}},kS=lv(),zl=function(){return function(e){var t=jw(e),n=jS("d-flex w-100 justify-content-between align-items-center")([gs("mr-4")(Wt(t.title)(gn)),bae("btn btn-link text-body large mr-n3 py-0 fe fe-x t--close "+Wt(t.dismissButtonClass)(""))({type:"button",onClick:wae(t.onDismiss)})("")]),r=function(a){return Cae(a.key==="Escape")(t.onDismiss)};return rn([function(){var a=Wt(t.bodyScrollable)(!1);return kS(a?function(){var o=jw(NS(t));return{body:o.body,bodyClass:o.bodyClass,centered:o.centered,contentClass:o.contentClass,dialogClass:o.dialogClass,footer:o.footer,footerClass:o.footerClass,headerClass:o.headerClass,scrollable:o.scrollable,size:o.size,header:n}}():NS({bodyClass:t.bodyClass,bodyScrollable:t.bodyScrollable,centered:t.centered,contentClass:t.contentClass,dialogClass:t.dialogClass,dismissButtonClass:t.dismissButtonClass,footer:t.footer,footerClass:t.footerClass,headerClass:t.headerClass,onDismiss:t.onDismiss,scrollable:t.scrollable,size:t.size,title:t.title,body:rn([n,t.body])}))}(),Rae({keyup:xae(r)})])}};var OS=function(){return function(){return hd("circle")}};var Nw=OS()(),kw=_S(Ft)()()("")({style:sn({height:40,width:40})})([Nw("blink")({cx:10,cy:20,r:3,style:sn({fill:"grey"})}),Nw("blink")({cx:20,cy:20,r:3,style:sn({fill:"grey",animationDelay:"250ms"})}),Nw("blink")({cx:30,cy:20,r:3,style:sn({fill:"grey",animationDelay:"500ms"})})]);xt();function Ow(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o=0)&&(n[a]=e[a]);return n}function yr(e,t){if(e==null)return{};var n=Ow(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Xe(){return Xe=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);npe)&&(Ie=(xe=xe.replace(" ",":")).length),0Z&&(Z=(U=U.trim()).charCodeAt(0)),Z){case 38:return U.replace(D,"$1"+E.trim());case 58:return E.trim()+U.replace(D,"$1"+E.trim());default:if(0<1*$&&0k.charCodeAt(8))break;case 115:A=A.replace(k,"-webkit-"+k)+";"+A;break;case 207:case 102:A=A.replace(k,"-webkit-"+(102$.charCodeAt(0)&&($=$.trim()),P=$,$=[P],0=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var WS=kae;var Oae={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},zS=Oae;function Uae(e){var t={};return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var GS=Uae;var Hae=/[A-Z]|^ms/g,Bae=/_EMO_([^_]+?)_([^]*?)_EMO_/g,qS=function(t){return t.charCodeAt(1)===45},$S=function(t){return t!=null&&typeof t!="boolean"},Xw=GS(function(e){return qS(e)?e:e.replace(Hae,"-$&").toLowerCase()}),VS=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Bae,function(r,a,o){return iu={name:a,styles:o,next:iu},a})}return zS[t]!==1&&!qS(t)&&typeof n=="number"&&n!==0?n+"px":n};function sv(e,t,n,r){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return iu={name:n.name,styles:n.styles,next:iu},n.name;if(n.styles!==void 0){var a=n.next;if(a!==void 0)for(;a!==void 0;)iu={name:a.name,styles:a.styles,next:iu},a=a.next;var o=n.styles+";";return o}return Wae(e,t,n)}case"function":{if(e!==void 0){var i=iu,u=n(e);return iu=i,sv(e,t,u,r)}break}case"string":if(!1)var l,c;break}if(t==null)return n;var s=t[n];return s!==void 0&&!r?s:n}function Wae(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a-1}function hP(e){return I_(e)?window.pageYOffset:e.scrollTop}function A_(e,t){if(I_(e)){window.scrollTo(0,t);return}e.scrollTop=t}function eue(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/,a=document.documentElement;if(t.position==="fixed")return a;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return a}function tue(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function L_(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f7,a=hP(e),o=t-a,i=10,u=0;function l(){u+=i;var c=tue(u,a,o,n);A_(e,c),un.bottom?A_(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a=b)return{placement:"bottom",maxHeight:t};if(ee>=b&&!i)return o&&L_(c,W,J),{placement:"bottom",maxHeight:t};if(!i&&ee>=r||i&&Y>=r){o&&L_(c,W,J);var Q=i?Y-L:ee-L;return{placement:"bottom",maxHeight:Q}}if(a==="auto"||i){var ie=t,G=i?z:X;return G>=r&&(ie=Math.min(G-L-l.controlHeight,t)),{placement:"top",maxHeight:ie}}if(a==="bottom")return A_(c,W),{placement:"bottom",maxHeight:t};break;case"top":if(z>=b)return{placement:"top",maxHeight:t};if(X>=b&&!i)return o&&L_(c,te,J),{placement:"top",maxHeight:t};if(!i&&X>=r||i&&z>=r){var ne=t;return(!i&&X>=r||i&&z>=r)&&(ne=i?z-S:X-S),o&&L_(c,te,J),{placement:"top",maxHeight:ne}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return s}function oue(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var p7=function(t){return t==="auto"?"bottom":t},wP=function(t){var n,r=t.placement,a=t.theme,o=a.borderRadius,i=a.spacing,u=a.colors;return n={label:"menu"},Xt(n,oue(r),"100%"),Xt(n,"backgroundColor",u.neutral0),Xt(n,"borderRadius",o),Xt(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Xt(n,"marginBottom",i.menuGutter),Xt(n,"marginTop",i.menuGutter),Xt(n,"position","absolute"),Xt(n,"width","100%"),Xt(n,"zIndex",1),n},CP=(0,f0.createContext)({getPortalPlacement:null}),m7=function(e){Zn(n,e);var t=bP(n);function n(){var r;Xn(this,n);for(var a=arguments.length,o=new Array(a),i=0;i-1}};var Nue={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},kue=function(t){return ht("span",Xe({css:Nue},t))};function Oue(e){var t=e.in,n=e.out,r=e.onExited,a=e.appear,o=e.enter,i=e.exit,u=e.innerRef,l=e.emotion,c=yr(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return ht("input",Xe({ref:u},c,{css:ys({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}function Uue(e){var t=Hue();return function(){var r=fn(e),a;if(t){var o=fn(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return Or(this,a)}}function Hue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var vj=function(e){Zn(n,e);var t=Uue(n);function n(){return Xn(this,n),t.apply(this,arguments)}return Yn(n,[{key:"componentDidMount",value:function(){this.props.innerRef((0,sj.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(It.Component),hj=["boxSizing","height","overflow","paddingRight","position"],gj={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function _j(e){e.preventDefault()}function yj(e){e.stopPropagation()}function Dj(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function bj(){return"ontouchstart"in window||navigator.maxTouchPoints}function Bue(e){var t=Wue();return function(){var r=fn(e),a;if(t){var o=fn(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return Or(this,a)}}function Wue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var wj=!!(window.document&&window.document.createElement),d0=0,Cj=function(e){Zn(n,e);var t=Bue(n);function n(){var r;Xn(this,n);for(var a=arguments.length,o=new Array(a),i=0;i0,I=y-D-b,L=!1;I>l&&r.isBottom&&(f&&f(u),r.isBottom=!1),F&&r.isTop&&(p&&p(u),r.isTop=!1),F&&l>I?(s&&!r.isBottom&&s(u),C.scrollTop=y,L=!0,r.isBottom=!0):!F&&-l>b&&(d&&!r.isTop&&d(u),C.scrollTop=0,L=!0,r.isTop=!0),L&&r.cancelScroll(u)},r.onWheel=function(u){r.handleEventDelta(u,u.deltaY)},r.onTouchStart=function(u){r.touchStart=u.changedTouches[0].clientY},r.onTouchMove=function(u){var l=r.touchStart-u.changedTouches[0].clientY;r.handleEventDelta(u,l)},r.getScrollTarget=function(u){r.scrollTarget=u},r}return Yn(n,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(a){!a||(typeof a.addEventListener=="function"&&a.addEventListener("wheel",this.onWheel,!1),typeof a.addEventListener=="function"&&a.addEventListener("touchstart",this.onTouchStart,!1),typeof a.addEventListener=="function"&&a.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(a){!a||(typeof a.removeEventListener=="function"&&a.removeEventListener("wheel",this.onWheel,!1),typeof a.removeEventListener=="function"&&a.removeEventListener("touchstart",this.onTouchStart,!1),typeof a.removeEventListener=="function"&&a.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return It.default.createElement(vj,{innerRef:this.getScrollTarget},this.props.children)}}]),n}(It.Component);function Yue(e){var t=e.isEnabled,n=t===void 0?!0:t,r=yr(e,["isEnabled"]);return n?It.default.createElement(Xue,r):r.children}var Zue=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.isSearchable,a=n.isMulti,o=n.label,i=n.isDisabled,u=n.tabSelectsValue;switch(t){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(u?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(o||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(a?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},Que=function(t,n){var r=n.value,a=n.isDisabled;if(!!r)switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"select-option":return a?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.")}},Kue=function(t){var n=t.focusedValue,r=t.getOptionLabel,a=t.selectValue;return"value ".concat(r(n)," focused, ").concat(a.indexOf(n)+1," of ").concat(a.length,".")},ele=function(t){var n=t.focusedOption,r=t.getOptionLabel,a=t.options;return"option ".concat(r(n)," focused").concat(n.isDisabled?" disabled":"",", ").concat(a.indexOf(n)+1," of ").concat(a.length,".")},tle=function(t){var n=t.inputValue,r=t.screenReaderMessage;return"".concat(r).concat(n?" for search term "+n:"",".")},nle=function(t){return t.label},rle=function(t){return t.label},ale=function(t){return t.value},Rj=function(t){return!!t.isDisabled};var ole={clearIndicator:WP,container:PP,control:$P,dropdownIndicator:BP,group:JP,groupHeading:XP,indicatorsContainer:NP,indicatorSeparator:zP,input:ZP,loadingIndicator:GP,loadingMessage:EP,menu:wP,menuList:RP,menuPortal:SP,multiValue:KP,multiValueLabel:ej,multiValueRemove:tj,noOptionsMessage:TP,option:aj,placeholder:oj,singleValue:ij,valueContainer:jP};var ile={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},ule=4,xj=4,lle=38,cle=xj*2,sle={baseUnit:xj,controlHeight:lle,menuGutter:cle},D7={borderRadius:ule,colors:ile,spacing:sle};function Tj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function np(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"set-value",s=arguments.length>2?arguments[2]:void 0,f=a.props,d=f.closeMenuOnSelect,p=f.isMulti;a.onInputChange("",{action:"set-value"}),d&&(a.inputIsHiddenAfterUpdate=!p,a.onMenuClose()),a.clearFocusValueOnUpdate=!0,a.onChange(l,{action:c,option:s})},a.selectOption=function(l){var c=a.props,s=c.blurInputOnSelect,f=c.isMulti,d=a.state.selectValue;if(f)if(a.isOptionSelected(l,d)){var p=a.getOptionValue(l);a.setValue(d.filter(function(v){return a.getOptionValue(v)!==p}),"deselect-option",l),a.announceAriaLiveSelection({event:"deselect-option",context:{value:a.getOptionLabel(l)}})}else a.isOptionDisabled(l,d)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(l),isDisabled:!0}}):(a.setValue([].concat(_s(d),[l]),"select-option",l),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(l)}}));else a.isOptionDisabled(l,d)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(l),isDisabled:!0}}):(a.setValue(l,"select-option"),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(l)}}));s&&a.blurInput()},a.removeValue=function(l){var c=a.state.selectValue,s=a.getOptionValue(l),f=c.filter(function(d){return a.getOptionValue(d)!==s});a.onChange(f.length?f:null,{action:"remove-value",removedValue:l}),a.announceAriaLiveSelection({event:"remove-value",context:{value:l?a.getOptionLabel(l):""}}),a.focusInput()},a.clearValue=function(){a.onChange(null,{action:"clear"})},a.popValue=function(){var l=a.state.selectValue,c=l[l.length-1],s=l.slice(0,l.length-1);a.announceAriaLiveSelection({event:"pop-value",context:{value:c?a.getOptionLabel(c):""}}),a.onChange(s.length?s:null,{action:"pop-value",removedValue:c})},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var l=arguments.length,c=new Array(l),s=0;sp||d>p}},a.onTouchEnd=function(l){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(l.target)&&a.menuListRef&&!a.menuListRef.contains(l.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(l){a.userIsDragging||a.onControlMouseDown(l)},a.onClearIndicatorTouchEnd=function(l){a.userIsDragging||a.onClearIndicatorMouseDown(l)},a.onDropdownIndicatorTouchEnd=function(l){a.userIsDragging||a.onDropdownIndicatorMouseDown(l)},a.handleInputChange=function(l){var c=l.currentTarget.value;a.inputIsHiddenAfterUpdate=!1,a.onInputChange(c,{action:"input-change"}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(l){var c=a.props,s=c.isSearchable,f=c.isMulti;a.props.onFocus&&a.props.onFocus(l),a.inputIsHiddenAfterUpdate=!1,a.announceAriaLiveContext({event:"input",context:{isSearchable:s,isMulti:f}}),a.setState({isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(l){if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(l),a.onInputChange("",{action:"input-blur"}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(l){a.blockOptionHover||a.state.focusedOption===l||a.setState({focusedOption:l})},a.shouldHideSelectedOptions=function(){var l=a.props,c=l.hideSelectedOptions,s=l.isMulti;return c===void 0?s:c},a.onKeyDown=function(l){var c=a.props,s=c.isMulti,f=c.backspaceRemovesValue,d=c.escapeClearsValue,p=c.inputValue,v=c.isClearable,b=c.isDisabled,y=c.menuIsOpen,D=c.onKeyDown,C=c.tabSelectsValue,F=c.openMenuOnFocus,I=a.state,L=I.focusedOption,S=I.focusedValue,z=I.selectValue;if(!b&&!(typeof D=="function"&&(D(l),l.defaultPrevented))){switch(a.blockOptionHover=!0,l.key){case"ArrowLeft":if(!s||p)return;a.focusValue("previous");break;case"ArrowRight":if(!s||p)return;a.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(S)a.removeValue(S);else{if(!f)return;s?a.popValue():v&&a.clearValue()}break;case"Tab":if(a.isComposing||l.shiftKey||!y||!C||!L||F&&a.isOptionSelected(L,z))return;a.selectOption(L);break;case"Enter":if(l.keyCode===229)break;if(y){if(!L||a.isComposing)return;a.selectOption(L);break}return;case"Escape":y?(a.inputIsHiddenAfterUpdate=!1,a.onInputChange("",{action:"menu-close"}),a.onMenuClose()):v&&d&&a.clearValue();break;case" ":if(p)return;if(!y){a.openMenu("first");break}if(!L)return;a.selectOption(L);break;case"ArrowUp":y?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":y?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!y)return;a.focusOption("pageup");break;case"PageDown":if(!y)return;a.focusOption("pagedown");break;case"Home":if(!y)return;a.focusOption("first");break;case"End":if(!y)return;a.focusOption("last");break;default:return}l.preventDefault()}},a.buildMenuOptions=function(l,c){var s=l.inputValue,f=s===void 0?"":s,d=l.options,p=function(b,y){var D=a.isOptionDisabled(b,c),C=a.isOptionSelected(b,c),F=a.getOptionLabel(b),I=a.getOptionValue(b);if(!(a.shouldHideSelectedOptions()&&C||!a.filterOption({label:F,value:I,data:b},f))){var L=D?void 0:function(){return a.onOptionHover(b)},S=D?void 0:function(){return a.selectOption(b)},z="".concat(a.getElementId("option"),"-").concat(y);return{innerProps:{id:z,onClick:S,onMouseMove:L,onMouseOver:L,tabIndex:-1},data:b,isDisabled:D,isSelected:C,key:z,label:F,type:"option",value:I}}};return d.reduce(function(v,b,y){if(b.options){a.hasGroups||(a.hasGroups=!0);var D=b.options,C=D.map(function(L,S){var z=p(L,"".concat(y,"-").concat(S));return z&&v.focusable.push(L),z}).filter(Boolean);if(C.length){var F="".concat(a.getElementId("group"),"-").concat(y);v.render.push({type:"group",key:F,data:b,options:C})}}else{var I=p(b,"".concat(y));I&&(v.render.push(I),v.focusable.push(b))}return v},{render:[],focusable:[]})};var o=r.value;a.cacheComponents=qw(a.cacheComponents,LP).bind(Gl(a)),a.cacheComponents(r.components),a.instancePrefix="react-select-"+(a.props.instanceId||++mle);var i=tp(o);a.buildMenuOptions=qw(a.buildMenuOptions,function(l,c){var s=l,f=an(s,2),d=f[0],p=f[1],v=c,b=an(v,2),y=b[0],D=b[1];return p===D&&d.inputValue===y.inputValue&&d.options===y.options}).bind(Gl(a));var u=r.menuIsOpen?a.buildMenuOptions(r,i):{render:[],focusable:[]};return a.state.menuOptions=u,a.state.selectValue=i,a}return Yn(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(a){var o=this.props,i=o.options,u=o.value,l=o.menuIsOpen,c=o.inputValue;if(this.cacheComponents(a.components),a.value!==u||a.options!==i||a.menuIsOpen!==l||a.inputValue!==c){var s=tp(a.value),f=a.menuIsOpen?this.buildMenuOptions(a,s):{render:[],focusable:[]},d=this.getNextFocusedValue(s),p=this.getNextFocusedOption(f.focusable);this.setState({menuOptions:f,selectValue:s,focusedOption:p,focusedValue:d})}this.inputIsHiddenAfterUpdate!=null&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(a){var o=this.props,i=o.isDisabled,u=o.menuIsOpen,l=this.state.isFocused;(l&&!i&&a.isDisabled||l&&u&&!a.menuIsOpen)&&this.focusInput(),l&&i&&!a.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(gP(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var a=this.props,o=a.isSearchable,i=a.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:o,isMulti:i}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(a,o){this.props.onInputChange(a,o)}},{key:"focusInput",value:function(){!this.inputRef||this.inputRef.focus()}},{key:"blurInput",value:function(){!this.inputRef||this.inputRef.blur()}},{key:"openMenu",value:function(a){var o=this,i=this.state,u=i.selectValue,l=i.isFocused,c=this.buildMenuOptions(this.props,u),s=this.props,f=s.isMulti,d=s.tabSelectsValue,p=a==="first"?0:c.focusable.length-1;if(!f){var v=c.focusable.indexOf(u[0]);v>-1&&(p=v)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:c,focusedValue:null,focusedOption:c.focusable[p]},function(){o.onMenuOpen(),o.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:d}})})}},{key:"focusValue",value:function(a){var o=this.props,i=o.isMulti,u=o.isSearchable,l=this.state,c=l.selectValue,s=l.focusedValue;if(!!i){this.setState({focusedOption:null});var f=c.indexOf(s);s||(f=-1,this.announceAriaLiveContext({event:"value"}));var d=c.length-1,p=-1;if(!!c.length){switch(a){case"previous":f===0?p=0:f===-1?p=d:p=f-1;break;case"next":f>-1&&f0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props,i=o.pageSize,u=o.tabSelectsValue,l=this.state,c=l.focusedOption,s=l.menuOptions,f=s.focusable;if(!!f.length){var d=0,p=f.indexOf(c);c||(p=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})),a==="up"?d=p>0?p-1:f.length-1:a==="down"?d=(p+1)%f.length:a==="pageup"?(d=p-i,d<0&&(d=0)):a==="pagedown"?(d=p+i,d>f.length-1&&(d=f.length-1)):a==="last"&&(d=f.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:f[d],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Rj(f[d]),tabSelectsValue:u}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(D7):np(np({},D7),this.props.theme):D7}},{key:"getCommonProps",value:function(){var a=this.clearValue,o=this.cx,i=this.getStyles,u=this.getValue,l=this.setValue,c=this.selectOption,s=this.props,f=s.isMulti,d=s.isRtl,p=s.options,v=this.hasValue();return{cx:o,clearValue:a,getStyles:i,getValue:u,hasValue:v,isMulti:f,isRtl:d,options:p,selectOption:c,setValue:l,selectProps:s,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(a){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var o=this.state,i=o.focusedValue,u=o.selectValue,l=u.indexOf(i);if(l>-1){var c=a.indexOf(i);if(c>-1)return i;if(l-1?o:a[0]}},{key:"hasValue",value:function(){var a=this.state.selectValue;return a.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var a=this.props,o=a.isClearable,i=a.isMulti;return o===void 0?i:o}},{key:"isOptionDisabled",value:function(a,o){return typeof this.props.isOptionDisabled=="function"?this.props.isOptionDisabled(a,o):!1}},{key:"isOptionSelected",value:function(a,o){var i=this;if(o.indexOf(a)>-1)return!0;if(typeof this.props.isOptionSelected=="function")return this.props.isOptionSelected(a,o);var u=this.getOptionValue(a);return o.some(function(l){return i.getOptionValue(l)===u})}},{key:"filterOption",value:function(a,o){return this.props.filterOption?this.props.filterOption(a,o):!0}},{key:"formatOptionLabel",value:function(a,o){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(a,{context:o,inputValue:i,selectValue:u})}else return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"constructAriaLiveMessage",value:function(){var a=this.state,o=a.ariaLiveContext,i=a.selectValue,u=a.focusedValue,l=a.focusedOption,c=this.props,s=c.options,f=c.menuIsOpen,d=c.inputValue,p=c.screenReaderStatus,v=u?Kue({focusedValue:u,getOptionLabel:this.getOptionLabel,selectValue:i}):"",b=l&&f?ele({focusedOption:l,getOptionLabel:this.getOptionLabel,options:s}):"",y=tle({inputValue:d,screenReaderMessage:p({count:this.countOptions()})});return"".concat(v," ").concat(b," ").concat(y," ").concat(o)}},{key:"renderInput",value:function(){var a=this.props,o=a.isDisabled,i=a.isSearchable,u=a.inputId,l=a.inputValue,c=a.tabIndex,s=a.form,f=this.components.Input,d=this.state.inputIsHidden,p=u||this.getElementId("input"),v={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!i)return It.default.createElement(Oue,Xe({id:p,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:f7,onFocus:this.onInputFocus,readOnly:!0,disabled:o,tabIndex:c,form:s,value:""},v));var b=this.commonProps,y=b.cx,D=b.theme,C=b.selectProps;return It.default.createElement(f,Xe({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:y,getStyles:this.getStyles,id:p,innerRef:this.getInputRef,isDisabled:o,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:C,spellCheck:"false",tabIndex:c,form:s,theme:D,type:"text",value:l},v))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,o=this.components,i=o.MultiValue,u=o.MultiValueContainer,l=o.MultiValueLabel,c=o.MultiValueRemove,s=o.SingleValue,f=o.Placeholder,d=this.commonProps,p=this.props,v=p.controlShouldRenderValue,b=p.isDisabled,y=p.isMulti,D=p.inputValue,C=p.placeholder,F=this.state,I=F.selectValue,L=F.focusedValue,S=F.isFocused;if(!this.hasValue()||!v)return D?null:It.default.createElement(f,Xe({},d,{key:"placeholder",isDisabled:b,isFocused:S}),C);if(y){var z=I.map(function(X,ee){var W=X===L;return It.default.createElement(i,Xe({},d,{components:{Container:u,Label:l,Remove:c},isFocused:W,isDisabled:b,key:"".concat(a.getOptionValue(X)).concat(ee),index:ee,removeProps:{onClick:function(){return a.removeValue(X)},onTouchEnd:function(){return a.removeValue(X)},onMouseDown:function(J){J.preventDefault(),J.stopPropagation()}},data:X}),a.formatOptionLabel(X,"value"))});return z}if(D)return null;var Y=I[0];return It.default.createElement(s,Xe({},d,{data:Y,isDisabled:b}),this.formatOptionLabel(Y,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.components.ClearIndicator,o=this.commonProps,i=this.props,u=i.isDisabled,l=i.isLoading,c=this.state.isFocused;if(!this.isClearable()||!a||u||!this.hasValue()||l)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return It.default.createElement(a,Xe({},o,{innerProps:s,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var a=this.components.LoadingIndicator,o=this.commonProps,i=this.props,u=i.isDisabled,l=i.isLoading,c=this.state.isFocused;if(!a||!l)return null;var s={"aria-hidden":"true"};return It.default.createElement(a,Xe({},o,{innerProps:s,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.components,o=a.DropdownIndicator,i=a.IndicatorSeparator;if(!o||!i)return null;var u=this.commonProps,l=this.props.isDisabled,c=this.state.isFocused;return It.default.createElement(i,Xe({},u,{isDisabled:l,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var a=this.components.DropdownIndicator;if(!a)return null;var o=this.commonProps,i=this.props.isDisabled,u=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return It.default.createElement(a,Xe({},o,{innerProps:l,isDisabled:i,isFocused:u}))}},{key:"renderMenu",value:function(){var a=this,o=this.components,i=o.Group,u=o.GroupHeading,l=o.Menu,c=o.MenuList,s=o.MenuPortal,f=o.LoadingMessage,d=o.NoOptionsMessage,p=o.Option,v=this.commonProps,b=this.state,y=b.focusedOption,D=b.menuOptions,C=this.props,F=C.captureMenuScroll,I=C.inputValue,L=C.isLoading,S=C.loadingMessage,z=C.minMenuHeight,Y=C.maxMenuHeight,X=C.menuIsOpen,ee=C.menuPlacement,W=C.menuPosition,te=C.menuPortalTarget,J=C.menuShouldBlockScroll,Q=C.menuShouldScrollIntoView,ie=C.noOptionsMessage,G=C.onMenuScrollToTop,ne=C.onMenuScrollToBottom;if(!X)return null;var de=function(Z){var A=y===Z.data;return Z.innerRef=A?a.getFocusedOptionRef:void 0,It.default.createElement(p,Xe({},v,Z,{isFocused:A}),a.formatOptionLabel(Z.data,"menu"))},Ce;if(this.hasOptions())Ce=D.render.map(function($){if($.type==="group"){var Z=$.type,A=yr($,["type"]),V="".concat($.key,"-heading");return It.default.createElement(i,Xe({},v,A,{Heading:u,headingProps:{id:V,data:$.data},label:a.formatGroupLabel($.data)}),$.options.map(function(k){return de(k)}))}else if($.type==="option")return de($)});else if(L){var Ee=S({inputValue:I});if(Ee===null)return null;Ce=It.default.createElement(f,v,Ee)}else{var P=ie({inputValue:I});if(P===null)return null;Ce=It.default.createElement(d,v,P)}var E={minMenuHeight:z,maxMenuHeight:Y,menuPlacement:ee,menuPosition:W,menuShouldScrollIntoView:Q},U=It.default.createElement(m7,Xe({},v,E),function($){var Z=$.ref,A=$.placerProps,V=A.placement,k=A.maxHeight;return It.default.createElement(l,Xe({},v,E,{innerRef:Z,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove},isLoading:L,placement:V}),It.default.createElement(Yue,{isEnabled:F,onTopArrive:G,onBottomArrive:ne},It.default.createElement($ue,{isEnabled:J},It.default.createElement(c,Xe({},v,{innerRef:a.getMenuListRef,isLoading:L,maxHeight:k}),Ce))))});return te||W==="fixed"?It.default.createElement(s,Xe({},v,{appendTo:te,controlElement:this.controlRef,menuPlacement:ee,menuPosition:W}),U):U}},{key:"renderFormField",value:function(){var a=this,o=this.props,i=o.delimiter,u=o.isDisabled,l=o.isMulti,c=o.name,s=this.state.selectValue;if(!(!c||u))if(l)if(i){var f=s.map(function(v){return a.getOptionValue(v)}).join(i);return It.default.createElement("input",{name:c,type:"hidden",value:f})}else{var d=s.length>0?s.map(function(v,b){return It.default.createElement("input",{key:"i-".concat(b),name:c,type:"hidden",value:a.getOptionValue(v)})}):It.default.createElement("input",{name:c,type:"hidden"});return It.default.createElement("div",null,d)}else{var p=s[0]?this.getOptionValue(s[0]):"";return It.default.createElement("input",{name:c,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?It.default.createElement(kue,{"aria-live":"polite"},It.default.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),It.default.createElement("span",{id:"aria-context"},"\xA0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var a=this.components,o=a.Control,i=a.IndicatorsContainer,u=a.SelectContainer,l=a.ValueContainer,c=this.props,s=c.className,f=c.id,d=c.isDisabled,p=c.menuIsOpen,v=this.state.isFocused,b=this.commonProps=this.getCommonProps();return It.default.createElement(u,Xe({},b,{className:s,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:d,isFocused:v}),this.renderLiveRegion(),It.default.createElement(o,Xe({},b,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:d,isFocused:v,menuIsOpen:p}),It.default.createElement(l,Xe({},b,{isDisabled:d}),this.renderPlaceholderOrValue(),this.renderInput()),It.default.createElement(i,Xe({},b,{isDisabled:d}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),n}(It.Component);js.defaultProps=ple;var G2t=Gt(s0());var k_=Gt(xo());function vle(e){var t=hle();return function(){var r=fn(e),a;if(t){var o=fn(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return Or(this,a)}}function hle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var gle={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},rp=function(t){var n,r;return r=n=function(a){Zn(i,a);var o=vle(i);function i(){var u;Xn(this,i);for(var l=arguments.length,c=new Array(l),s=0;s1?s-1:0),d=1;d0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=String(t).toLowerCase(),a=String(n.value).toLowerCase(),o=String(n.label).toLowerCase();return a===r||o===r},wle={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r){return!(!t||n.some(function(a){return Mj(t,a)})||r.some(function(a){return Mj(t,a)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}},Cle=ble({allowCreateWhileLoading:!1,createOptionPosition:"last"},wle),Rle=function(t){var n,r;return r=n=function(a){Zn(i,a);var o=yle(i);function i(u){var l;Xn(this,i),l=o.call(this,u),l.select=void 0,l.onChange=function(s,f){var d=l.props,p=d.getNewOptionData,v=d.inputValue,b=d.isMulti,y=d.onChange,D=d.onCreateOption,C=d.value,F=d.name;if(f.action!=="select-option")return y(s,f);var I=l.state.newOption,L=Array.isArray(s)?s:[s];if(L[L.length-1]===I){if(D)D(v);else{var S=p(v,v),z={action:"create-option",name:F};y(b?[].concat(_s(tp(C)),[S]):S,z)}return}y(s,f)};var c=u.options||[];return l.state={newOption:void 0,options:c},l}return Yn(i,[{key:"UNSAFE_componentWillReceiveProps",value:function(l){var c=l.allowCreateWhileLoading,s=l.createOptionPosition,f=l.formatCreateLabel,d=l.getNewOptionData,p=l.inputValue,v=l.isLoading,b=l.isValidNewOption,y=l.value,D=l.options||[],C=this.state.newOption;b(p,tp(y),D)?C=d(p,f(p)):C=void 0,this.setState({newOption:C,options:(c||!v)&&C?s==="first"?[C].concat(_s(D)):[].concat(_s(D),[C]):D})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var l=this,c=this.state.options;return U_.default.createElement(t,Xe({},this.props,{ref:function(f){l.select=f},options:c,onChange:this.onChange}))}}]),i}(U_.Component),n.defaultProps=Cle,r},xle=Rle(js),Tle=rp(xle),b7=Tle;var H_=Gt(xo());var Ebt=Gt(ep());var Lbt=Gt(s0());function Ele(e){var t=Fle();return function(){var r=fn(e),a;if(t){var o=fn(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return Or(this,a)}}function Fle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var Mle={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},Sle=function(t){var n,r;return r=n=function(a){Zn(i,a);var o=Ele(i);function i(u){var l;return Xn(this,i),l=o.call(this),l.select=void 0,l.lastRequest=void 0,l.mounted=!1,l.optionsCache={},l.handleInputChange=function(c,s){var f=l.props,d=f.cacheOptions,p=f.onInputChange,v=vP(c,s,p);if(!v){delete l.lastRequest,l.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});return}if(d&&l.optionsCache[v])l.setState({inputValue:v,loadedInputValue:v,loadedOptions:l.optionsCache[v],isLoading:!1,passEmptyOptions:!1});else{var b=l.lastRequest={};l.setState({inputValue:v,isLoading:!0,passEmptyOptions:!l.state.loadedInputValue},function(){l.loadOptions(v,function(y){!l.mounted||(y&&(l.optionsCache[v]=y),b===l.lastRequest&&(delete l.lastRequest,l.setState({isLoading:!1,loadedInputValue:v,loadedOptions:y||[],passEmptyOptions:!1})))})})}return v},l.state={defaultOptions:Array.isArray(u.defaultOptions)?u.defaultOptions:void 0,inputValue:typeof u.inputValue!="undefined"?u.inputValue:"",isLoading:u.defaultOptions===!0,loadedOptions:[],passEmptyOptions:!1},l}return Yn(i,[{key:"componentDidMount",value:function(){var l=this;this.mounted=!0;var c=this.props.defaultOptions,s=this.state.inputValue;c===!0&&this.loadOptions(s,function(f){if(!!l.mounted){var d=!!l.lastRequest;l.setState({defaultOptions:f||[],isLoading:d})}})}},{key:"UNSAFE_componentWillReceiveProps",value:function(l){l.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),l.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(l.defaultOptions)?l.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(l,c){var s=this.props.loadOptions;if(!s)return c();var f=s(l,c);f&&typeof f.then=="function"&&f.then(c,function(){return c()})}},{key:"render",value:function(){var l=this,c=this.props,s=c.loadOptions,f=c.isLoading,d=yr(c,["loadOptions","isLoading"]),p=this.state,v=p.defaultOptions,b=p.inputValue,y=p.isLoading,D=p.loadedInputValue,C=p.loadedOptions,F=p.passEmptyOptions,I=F?[]:b&&D?C:v||[];return H_.default.createElement(t,Xe({},d,{ref:function(S){l.select=S},options:I,isLoading:y||f,onInputChange:this.handleInputChange}))}}]),i}(H_.Component),n.defaultProps=Mle,r},Ile=rp(js),Ale=Sle(Ile),B_=Ale;var Aj=Gt(Ij()),p0=({baseClass:e,isMulti:t})=>n=>{let r=(i,u)=>Object.assign({},i,u),a=i=>u=>r(u,i),o=!Ole&&typeof document!="undefined";return Dt.createElement(e,hr(Zt({},n),{isMulti:t,components:{MenuList:Lle},menuPortalTarget:n.useMenuPortal&&o?document.body:void 0,options:Pj(n.options),value:Pj(n.value),getOptionLabel:C7(n.getOptionLabel),getOptionValue:C7(n.getOptionValue),formatOptionLabel:C7(n.formatOptionLabel),loadOptions:n.loadOptions&&((...i)=>n.loadOptions(...i).then(ap)),onChange:(i,{action:u})=>{switch(u){case"select-option":i.__isNew__?n.onCreate&&n.onCreate(i.label):n.onSelect&&n.onSelect(ap(i));break;case"clear":n.onClear&&n.onClear();break;case"remove-value":n.onSelect&&n.onSelect(ap(i||[]));break;case"create-option":n.onCreate&&n.onCreate(i.label);break}},isOptionDisabled:n.isOptionDisabled&&(i=>!i.__isNew__&&n.isOptionDisabled(ap(i))),styles:{indicatorsContainer:a(n.indicatorsContainerStyle),control:a(n.controlStyle),menuList:a(n.menuListStyle),placeholder:a({color:"#B1C2D9"}),menu:a(r({zIndex:1e3},n.menuStyle)),menuPortal:a({zIndex:1e4}),option:(i,u)=>r(i,u.isFocused?n.focusedOptionStyle:{})}}))},Lle=e=>{let t=Array.isArray(e.children)?e.children:[e.children],n=[];return e.selectProps.footerOption&&e.selectProps.options&&(n=[Dt.createElement("hr",{className:"py-0 my-0"}),e.selectProps.footerOption({inputValue:e.selectProps.inputValue,options:ap(e.selectProps.options)})]),Dt.createElement("div",{className:"overflow-y-auto overflow-x-hidden",style:Object.assign({},{maxHeight:e.selectProps.maxMenuHeight},e.selectProps.menuListStyle)},Dt.createElement(Aj.default,{length:t.length,itemRenderer:(r,a)=>Dt.createElement("div",{key:a},t[r])}),...n)};O_.displayName="ReactSelect";b7.displayName="ReactSelectCreatable";B_.displayName="ReactSelectAsync";var Lj=p0({baseClass:O_,isMulti:!1}),Ple=p0({baseClass:b7,isMulti:!1}),jle=p0({baseClass:O_,isMulti:!0}),Nle=p0({baseClass:B_,isMulti:!1}),kle=p0({baseClass:B_,isMulti:!0}),Ole=0;var Pj=e=>e instanceof Array?typeof e[0]=="object"?e:e.map(t=>({__wrap:t})):typeof e=="undefined"||typeof e=="object"?e:{__wrap:e},ap=e=>{let t=n=>n&&typeof n=="object"&&"__wrap"in n;return e instanceof Array?t(e[0])?e.map(n=>n.__wrap):e:t(e)?e.__wrap:e},C7=e=>e&&(t=>e(ap(t)));var Twt=function(){function e(){this.head=null,this.last=null,this.size=0}function t(s,f){this.queue=s,this.value=f,this.next=null,this.prev=null}function n(s){this.draining=!1,this.error=null,this.value=s,this.takes=new e,this.reads=new e,this.puts=new e}var r={};function a(s){try{s()}catch(f){setTimeout(function(){throw f},0)}}function o(s,f){var d=new t(s,f);switch(s.size){case 0:s.head=d;break;case 1:d.prev=s.head,s.head.next=d,s.last=d;break;default:d.prev=s.last,s.last.next=d,s.last=d}return s.size++,d}function i(s){var f;switch(s.size){case 0:return null;case 1:f=s.head,s.head=null;break;case 2:f=s.last,s.head.next=null,s.last=null;break;default:f=s.last,s.last=f.prev,s.last.next=null}return f.prev=null,f.queue=null,s.size--,f.value}function u(s){var f;switch(s.size){case 0:return null;case 1:f=s.head,s.head=null;break;case 2:f=s.head,s.last.prev=null,s.head=s.last,s.last=null;break;default:f=s.head,s.head=f.next,s.head.prev=null}return f.next=null,f.queue=null,s.size--,f.value}function l(s){if(s.queue!==null){if(s.queue.last===s){i(s.queue);return}if(s.queue.head===s){u(s.queue);return}s.prev&&(s.prev.next=s.next),s.next&&(s.next.prev=s.prev),s.queue.size--,s.queue=null,s.value=null,s.next=null,s.prev=null}}function c(s,f){if(!f.draining){var d=f.puts,p=f.takes,v=f.reads,b,y,D,C,F;for(f.draining=!0;;){if(b=null,y=null,D=null,C=f.value,F=v.size,f.error!==null){for(C=s.left(f.error);b=u(d);)a(b.cb(C));for(;y=u(v);)a(y(C));for(;D=u(p);)a(D(C));break}if(C===r&&(b=u(d))&&(f.value=C=b.value),C!==r){for(D=u(p);F--&&(y=u(v));)a(y(s.right(C)));D!==null&&(f.value=r,a(D(s.right(C))))}if(b!==null&&a(b.cb(s.right(void 0))),f.value===r&&d.size===0||f.value!==r&&p.size===0)break}f.draining=!1}}return n.EMPTY=r,n.putLast=o,n.takeLast=i,n.takeHead=u,n.deleteCell=l,n.drainVar=c,n}();var Xle=function(){function e(i){this.fn=i}var t={},n=function(i,u){this.head=i,this.tail=u};function r(i){return new n(i,t)}function a(i){return function(u){return new n(i,u)}}function o(i){for(var u=[],l=i;l!==t;)u.push(l.head),l=l.tail;return u}return function(i,u,l){var c=function(f,d){return i(u(a)(l(f)))(d)},s=function(f,d,p){if(d===0)return f;var v=p[d-1];return new e(function(){var b=s(c(v,f),d-1,p);return b})};return function(f){for(var d=u(r)(l(f[f.length-1])),p=s(d,f.length-1,f);p instanceof e;)p=p.fn();return u(o)(p)}}}();var Oj=function(e){return e},Uj=i1;var Hj=Vt;var ece=zn();var E7=Oj;var m0=function(e){return e};var F7=function(e){return function(t){return E7(Rm(m0(e))(t))}},W_=function(e){return E7(xm(e))};var tce=function(e){return function(t){return ece(e(m0(t)))}},z_=tce(s1);var Bj=function(e){return function(t){return e(m0(t))}};var Wj=Bj(Xf);var nce=function(e){var t=Bj(e);return function(n){return E7(t(n))}};var M7=function(e){var t=h4(e);return function(n){return nce(t(n))}};var fce=On();var I7=function(e){return fce(C1(e))};var G_=Ou(),pce=es(to()(nt({reflectSymbol:function(){return"inputValue"}})(Et)(ar)));var mce=ae(Ke),vce=eu(),hce=Jr();var gce=function(e){return e};var Vj=function(e){return G_(function(t){return ou(pce(t))(e)})};var Jj=function(e){return function(t){return Gi(e({inputValue:yt(t.inputValue),options:t.options}))}};var _ce=function(e){var t={};for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.value=iS(function(r){return Gi(mce(gce)(r))})(e.value),t},yce=G_,Dce=G_;var bce=G_;var q_=function(){var e=vce(Lj);return function(t){return e(yce(_ce(Dce(bce(hce(t))))))}};xt();function Xj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function gt(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:1;Qj+=1;var n=Qj;function r(a){if(a===0)Kj(n),e();else{var o=Yj(function(){r(a-1)});L7.set(n,o)}}return r(t),n}lo.cancel=function(e){var t=L7.get(e);return Kj(t),Zj(t)};function ks(e,t){return e?e.contains(t):!1}function v0(e){return e instanceof HTMLElement?e:ro.findDOMNode(e)}var aN=Gt(rN());xt();function k7(e,t){typeof e=="function"?e(t):Qn(e)==="object"&&e&&"current"in e&&(e.current=t)}function ny(){for(var e=arguments.length,t=new Array(e),n=0;n1&&arguments[1]!==void 0?arguments[1]:2;t();var o=lo(function(){a<=1?r({isCanceled:function(){return o!==e.current}}):n(r,a-1)});e.current=o}return Cn(function(){return function(){t()}},[]),[n,t]};xt();var Ice=mu()?qm:Cn,ly=Ice;var hN=[Po,nl,mc,uy],W7=!1,gN=!0;function cy(e){return e===mc||e===uy}var _N=function(e,t){var n=rl(B7),r=an(n,2),a=r[0],o=r[1],i=vN(),u=an(i,2),l=u[0],c=u[1];function s(){o(Po,!0)}return ly(function(){if(a!==B7&&a!==uy){var f=hN.indexOf(a),d=hN[f+1],p=t(a);p===W7?o(d,!0):l(function(v){function b(){v.isCanceled()||o(d,!0)}p===!0?b():Promise.resolve(p).then(b)})}},[e,a]),Cn(function(){return function(){c()}},[]),[s,a]};xt();xt();var yN=function(e){var t=Yt(),n=Yt(e);n.current=e;var r=Gm(function(i){n.current(i)},[]);function a(i){i&&(i.removeEventListener(U7,r),i.removeEventListener(O7,r))}function o(i){t.current&&t.current!==i&&a(t.current),i&&i!==t.current&&(i.addEventListener(U7,r),i.addEventListener(O7,r),t.current=i)}return Cn(function(){return function(){a(t.current)}},[]),[o,a]};function z7(e,t,n,r){var a=r.motionEnter,o=a===void 0?!0:a,i=r.motionAppear,u=i===void 0?!0:i,l=r.motionLeave,c=l===void 0?!0:l,s=r.motionDeadline,f=r.motionLeaveImmediately,d=r.onAppearPrepare,p=r.onEnterPrepare,v=r.onLeavePrepare,b=r.onAppearStart,y=r.onEnterStart,D=r.onLeaveStart,C=r.onAppearActive,F=r.onEnterActive,I=r.onLeaveActive,L=r.onAppearEnd,S=r.onEnterEnd,z=r.onLeaveEnd,Y=r.onVisibleChanged,X=rl(),ee=an(X,2),W=ee[0],te=ee[1],J=rl(pc),Q=an(J,2),ie=Q[0],G=Q[1],ne=rl(null),de=an(ne,2),Ce=de[0],Ee=de[1],P=Yt(!1),E=Yt(null);function U(){return n()}var $=Yt(!1);function Z(Fe){var qe=U();if(!(Fe&&!Fe.deadline&&Fe.target!==qe)){var ot=$.current,Ie;ie===h0&&ot?Ie=L==null?void 0:L(qe,Fe):ie===g0&&ot?Ie=S==null?void 0:S(qe,Fe):ie===_0&&ot&&(Ie=z==null?void 0:z(qe,Fe)),ie!==pc&&ot&&Ie!==!1&&(G(pc,!0),Ee(null,!0))}}var A=yN(Z),V=an(A,1),k=V[0],le=$m(function(){var Fe,qe,ot;switch(ie){case h0:return Fe={},Xt(Fe,Po,d),Xt(Fe,nl,b),Xt(Fe,mc,C),Fe;case g0:return qe={},Xt(qe,Po,p),Xt(qe,nl,y),Xt(qe,mc,F),qe;case _0:return ot={},Xt(ot,Po,v),Xt(ot,nl,D),Xt(ot,mc,I),ot;default:return{}}},[ie]),oe=_N(ie,function(Fe){if(Fe===Po){var qe=le[Po];return qe?qe(U()):W7}if(ce in le){var ot;Ee(((ot=le[ce])===null||ot===void 0?void 0:ot.call(le,U(),null))||null)}return ce===mc&&(k(U()),s>0&&(clearTimeout(E.current),E.current=setTimeout(function(){Z({deadline:!0})},s))),gN}),pe=an(oe,2),he=pe[0],ce=pe[1],Me=cy(ce);$.current=Me,ly(function(){te(t);var Fe=P.current;if(P.current=!0,!!e){var qe;!Fe&&t&&u&&(qe=h0),Fe&&t&&o&&(qe=g0),(Fe&&!t&&c||!Fe&&f&&!t&&c)&&(qe=_0),qe&&(G(qe),he())}},[t]),Cn(function(){(ie===h0&&!u||ie===g0&&!o||ie===_0&&!c)&&G(pc)},[u,o,c]),Cn(function(){return function(){P.current=!1,clearTimeout(E.current)}},[]);var Re=Yt(!1);Cn(function(){W&&(Re.current=!0),W!==void 0&&ie===pc&&((Re.current||W)&&(Y==null||Y(W)),Re.current=!0)},[W,ie]);var Ge=Ce;return le[Po]&&ce===nl&&(Ge=gt({transition:"none"},Ge)),[ie,ce,Ge,W!=null?W:t]}xt();var Ace=function(e){Zn(n,e);var t=Ns(n);function n(){return Xn(this,n),t.apply(this,arguments)}return Yn(n,[{key:"render",value:function(){return this.props.children}}]),n}(os),DN=Ace;function Lce(e){var t=e;Qn(e)==="object"&&(t=e.transitionSupport);function n(a){return!!(a.motionName&&t)}var r=no(function(a,o){var i=a.visible,u=i===void 0?!0:i,l=a.removeOnLeave,c=l===void 0?!0:l,s=a.forceRender,f=a.children,d=a.motionName,p=a.leavedClassName,v=a.eventProps,b=n(a),y=Yt(),D=Yt();function C(){try{return y.current instanceof HTMLElement?y.current:v0(D.current)}catch{return null}}var F=z7(b,u,C,a),I=an(F,4),L=I[0],S=I[1],z=I[2],Y=I[3],X=Yt(Y);Y&&(X.current=!0);var ee=Gm(function(ne){y.current=ne,k7(o,ne)},[o]),W,te=gt(gt({},v),{},{visible:u});if(!f)W=null;else if(L===pc||!n(a))Y?W=f(gt({},te),ee):!c&&X.current?W=f(gt(gt({},te),{},{className:p}),ee):s?W=f(gt(gt({},te),{},{style:{display:"none"}}),ee):W=null;else{var J,Q;S===Po?Q="prepare":cy(S)?Q="active":S===nl&&(Q="start"),W=f(gt(gt({},te),{},{className:(0,bN.default)(H7(d,L),(J={},Xt(J,H7(d,"".concat(L,"-").concat(Q)),Q),Xt(J,d,typeof d=="string"),J)),style:z}),ee)}if(G4(W)&&ry(W)){var ie=W,G=ie.ref;G||(W=zm(W,{ref:ee}))}return Kt(DN,{ref:D},W)});return r.displayName="CSSMotion",r}var sy=Lce(iy);xt();var fy="add",dy="keep",py="remove",my="removed";function Pce(e){var t;return e&&Qn(e)==="object"&&"key"in e?t=e:t={key:e},gt(gt({},t),{},{key:String(t.key)})}function vy(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(Pce)}function wN(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,a=t.length,o=vy(e),i=vy(t);o.forEach(function(c){for(var s=!1,f=r;f1});return l.forEach(function(c){n=n.filter(function(s){var f=s.key,d=s.status;return f!==c||d!==py}),n.forEach(function(s){s.key===c&&(s.status=dy)})}),n}var jce=["component","children","onVisibleChanged","onAllRemoved"],Nce=["status"],kce=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Oce(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:sy,n=function(r){Zn(o,r);var a=Ns(o);function o(){var i;Xn(this,o);for(var u=arguments.length,l=new Array(u),c=0;c=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function lse(e,t,n,r){var a=Ct.clone(e),o={width:t.width,height:t.height};return r.adjustX&&a.left=n.left&&a.left+o.width>n.right&&(o.width-=a.left+o.width-n.right),r.adjustX&&a.left+o.width>n.right&&(a.left=Math.max(n.right-o.width,n.left)),r.adjustY&&a.top=n.top&&a.top+o.height>n.bottom&&(o.height-=a.top+o.height-n.bottom),r.adjustY&&a.top+o.height>n.bottom&&(a.top=Math.max(n.bottom-o.height,n.top)),Ct.mix(a,o)}function tR(e){var t,n,r;if(!Ct.isWindow(e)&&e.nodeType!==9)t=Ct.offset(e),n=Ct.outerWidth(e),r=Ct.outerHeight(e);else{var a=Ct.getWindow(e);t={left:Ct.getWindowScrollLeft(a),top:Ct.getWindowScrollTop(a)},n=Ct.viewportWidth(a),r=Ct.viewportHeight(a)}return t.width=n,t.height=r,t}function BN(e,t){var n=t.charAt(0),r=t.charAt(1),a=e.width,o=e.height,i=e.left,u=e.top;return n==="c"?u+=o/2:n==="b"&&(u+=o),r==="c"?i+=a/2:r==="r"&&(i+=a),{left:i,top:u}}function by(e,t,n,r,a){var o=BN(t,n[1]),i=BN(e,n[0]),u=[i.left-o.left,i.top-o.top];return{left:Math.round(e.left-u[0]+r[0]-a[0]),top:Math.round(e.top-u[1]+r[1]-a[1])}}function WN(e,t,n){return e.leftn.right}function zN(e,t,n){return e.topn.bottom}function cse(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||r.top>=n.bottom}function Ry(e,t,n){var r=n.target||t,a=tR(r),o=!fse(r,n.overflow&&n.overflow.alwaysByViewport);return $N(e,a,n,o)}Ry.__getOffsetParent=K7;Ry.__getVisibleRectForElement=eR;function VN(e,t,n){var r,a,o=Ct.getDocument(e),i=o.defaultView||o.parentWindow,u=Ct.getWindowScrollLeft(i),l=Ct.getWindowScrollTop(i),c=Ct.viewportWidth(i),s=Ct.viewportHeight(i);"pageX"in t?r=t.pageX:r=u+t.clientX,"pageY"in t?a=t.pageY:a=l+t.clientY;var f={left:r,top:a,width:0,height:0},d=r>=0&&r<=u+c&&a>=0&&a<=l+s,p=[n.points[0],"cc"];return $N(e,f,TN(TN({},n),{},{points:p}),d)}var IH=Gt(DH());var bH=function(){if(typeof Map!="undefined")return Map;function e(t,n){var r=-1;return t.some(function(a,o){return a[0]===n?(r=o,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},t.prototype.set=function(n,r){var a=e(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,a=e(r,n);~a&&r.splice(a,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,o=this.__entries__;a0},e.prototype.connect_=function(){!bR||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ove?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!bR||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,a=kve.some(function(o){return!!~r.indexOf(o)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),wH=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),xH=typeof WeakMap!="undefined"?new WeakMap:new bH,TH=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=Uve.getInstance(),r=new Xve(t,n,this);xH.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){TH.prototype[e]=function(){var t;return(t=xH.get(this))[e].apply(t,arguments)}});var Yve=function(){return typeof Sy.ResizeObserver!="undefined"?Sy.ResizeObserver:TH}(),EH=Yve;function FH(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function MH(e,t){e!==document.activeElement&&ks(t,e)&&typeof e.focus=="function"&&e.focus()}function wR(e,t){var n=null,r=null;function a(i){var u=an(i,1),l=u[0].target;if(!!document.documentElement.contains(l)){var c=l.getBoundingClientRect(),s=c.width,f=c.height,d=Math.floor(s),p=Math.floor(f);(n!==d||r!==p)&&Promise.resolve().then(function(){t({width:d,height:p})}),n=d,r=p}}var o=new EH(a);return e&&o.observe(e),function(){o.disconnect()}}xt();var SH=function(e,t){var n=Dt.useRef(!1),r=Dt.useRef(null);function a(){window.clearTimeout(r.current)}function o(i){if(a(),!n.current||i===!0){if(e()===!1)return;n.current=!0,r.current=window.setTimeout(function(){n.current=!1},t)}else r.current=window.setTimeout(function(){n.current=!1,o()},t)}return[o,function(){n.current=!1,a()}]};function AH(e){return typeof e!="function"?null:e()}function LH(e){return Qn(e)!=="object"||!e?null:e}var Zve=function(t,n){var r=t.children,a=t.disabled,o=t.target,i=t.align,u=t.onAlign,l=t.monitorWindowResize,c=t.monitorBufferTime,s=c===void 0?0:c,f=Dt.useRef({}),d=Dt.useRef(),p=Dt.Children.only(r),v=Dt.useRef({});v.current.disabled=a,v.current.target=o,v.current.align=i,v.current.onAlign=u;var b=SH(function(){var S=v.current,z=S.disabled,Y=S.target,X=S.align,ee=S.onAlign;if(!z&&Y){var W=d.current,te,J=AH(Y),Q=LH(Y);f.current.element=J,f.current.point=Q,f.current.align=X;var ie=document,G=ie.activeElement;return J&&RN(J)?te=Ry(W,J,X):Q&&(te=VN(W,Q,X)),MH(G,W),ee&&te&&ee(W,te),!0}return!1},s),y=an(b,2),D=y[0],C=y[1],F=Dt.useRef({cancel:function(){}}),I=Dt.useRef({cancel:function(){}});Dt.useEffect(function(){var S=AH(o),z=LH(o);d.current!==I.current.element&&(I.current.cancel(),I.current.element=d.current,I.current.cancel=wR(d.current,D)),(f.current.element!==S||!FH(f.current.point,z)||!(0,IH.default)(f.current.align,i))&&(D(),F.current.element!==S&&(F.current.cancel(),F.current.element=S,F.current.cancel=wR(S,D)))}),Dt.useEffect(function(){a?C():D()},[a]);var L=Dt.useRef(null);return Dt.useEffect(function(){l?L.current||(L.current=dc(window,"resize",D)):L.current&&(L.current.remove(),L.current=null)},[l]),Dt.useEffect(function(){return function(){F.current.cancel(),I.current.cancel(),L.current&&L.current.remove(),C()}},[]),Dt.useImperativeHandle(n,function(){return{forceAlign:function(){return D(!0)}}}),Dt.isValidElement(p)&&(p=Dt.cloneElement(p,{ref:ny(p.ref,d)})),p},PH=Dt.forwardRef(Zve);PH.displayName="Align";var jH=PH;var NH=jH;xt();var Qve=mu()?qm:Cn,CR=Qve;var BH=Gt(Os());function L0(){"use strict";L0=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=typeof Symbol=="function"?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function u(ee,W,te){return Object.defineProperty(ee,W,{value:te,enumerable:!0,configurable:!0,writable:!0}),ee[W]}try{u({},"")}catch{u=function(te,J,Q){return te[J]=Q}}function l(ee,W,te,J){var Q=W&&W.prototype instanceof f?W:f,ie=Object.create(Q.prototype),G=new z(J||[]);return ie._invoke=function(ne,de,Ce){var Ee="suspendedStart";return function(P,E){if(Ee==="executing")throw new Error("Generator is already running");if(Ee==="completed"){if(P==="throw")throw E;return X()}for(Ce.method=P,Ce.arg=E;;){var U=Ce.delegate;if(U){var $=I(U,Ce);if($){if($===s)continue;return $}}if(Ce.method==="next")Ce.sent=Ce._sent=Ce.arg;else if(Ce.method==="throw"){if(Ee==="suspendedStart")throw Ee="completed",Ce.arg;Ce.dispatchException(Ce.arg)}else Ce.method==="return"&&Ce.abrupt("return",Ce.arg);Ee="executing";var Z=c(ne,de,Ce);if(Z.type==="normal"){if(Ee=Ce.done?"completed":"suspendedYield",Z.arg===s)continue;return{value:Z.arg,done:Ce.done}}Z.type==="throw"&&(Ee="completed",Ce.method="throw",Ce.arg=Z.arg)}}}(ee,te,G),ie}function c(ee,W,te){try{return{type:"normal",arg:ee.call(W,te)}}catch(J){return{type:"throw",arg:J}}}e.wrap=l;var s={};function f(){}function d(){}function p(){}var v={};u(v,a,function(){return this});var b=Object.getPrototypeOf,y=b&&b(b(Y([])));y&&y!==t&&n.call(y,a)&&(v=y);var D=p.prototype=f.prototype=Object.create(v);function C(ee){["next","throw","return"].forEach(function(W){u(ee,W,function(te){return this._invoke(W,te)})})}function F(ee,W){function te(Q,ie,G,ne){var de=c(ee[Q],ee,ie);if(de.type!=="throw"){var Ce=de.arg,Ee=Ce.value;return Ee&&Qn(Ee)=="object"&&n.call(Ee,"__await")?W.resolve(Ee.__await).then(function(P){te("next",P,G,ne)},function(P){te("throw",P,G,ne)}):W.resolve(Ee).then(function(P){Ce.value=P,G(Ce)},function(P){return te("throw",P,G,ne)})}ne(de.arg)}var J;this._invoke=function(Q,ie){function G(){return new W(function(ne,de){te(Q,ie,ne,de)})}return J=J?J.then(G,G):G()}}function I(ee,W){var te=ee.iterator[W.method];if(te===void 0){if(W.delegate=null,W.method==="throw"){if(ee.iterator.return&&(W.method="return",W.arg=void 0,I(ee,W),W.method==="throw"))return s;W.method="throw",W.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var J=c(te,ee.iterator,W.arg);if(J.type==="throw")return W.method="throw",W.arg=J.arg,W.delegate=null,s;var Q=J.arg;return Q?Q.done?(W[ee.resultName]=Q.value,W.next=ee.nextLoc,W.method!=="return"&&(W.method="next",W.arg=void 0),W.delegate=null,s):Q:(W.method="throw",W.arg=new TypeError("iterator result is not an object"),W.delegate=null,s)}function L(ee){var W={tryLoc:ee[0]};1 in ee&&(W.catchLoc=ee[1]),2 in ee&&(W.finallyLoc=ee[2],W.afterLoc=ee[3]),this.tryEntries.push(W)}function S(ee){var W=ee.completion||{};W.type="normal",delete W.arg,ee.completion=W}function z(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach(L,this),this.reset(!0)}function Y(ee){if(ee){var W=ee[a];if(W)return W.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var te=-1,J=function Q(){for(;++te=0;--Q){var ie=this.tryEntries[Q],G=ie.completion;if(ie.tryLoc==="root")return J("end");if(ie.tryLoc<=this.prev){var ne=n.call(ie,"catchLoc"),de=n.call(ie,"finallyLoc");if(ne&&de){if(this.prev=0;--J){var Q=this.tryEntries[J];if(Q.tryLoc<=this.prev&&n.call(Q,"finallyLoc")&&this.prev=0;--te){var J=this.tryEntries[te];if(J.finallyLoc===W)return this.complete(J.completion,J.afterLoc),S(J),s}},catch:function(W){for(var te=this.tryEntries.length-1;te>=0;--te){var J=this.tryEntries[te];if(J.tryLoc===W){var Q=J.completion;if(Q.type==="throw"){var ie=Q.arg;S(J)}return ie}}throw new Error("illegal catch attempt")},delegateYield:function(W,te,J){return this.delegate={iterator:Y(W),resultName:te,nextLoc:J},this.method==="next"&&(this.arg=void 0),s}},e}function kH(e,t,n,r,a,o,i){try{var u=e[o](i),l=u.value}catch(c){n(c);return}u.done?t(l):Promise.resolve(l).then(r,a)}function RR(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(l){kH(o,r,a,i,u,"next",l)}function u(l){kH(o,r,a,i,u,"throw",l)}i(void 0)})}}xt();var OH=["measure","alignPre","align",null,"motion"],UH=function(e,t){var n=rl(null),r=an(n,2),a=r[0],o=r[1],i=Yt();function u(s){o(s,!0)}function l(){lo.cancel(i.current)}function c(s){l(),i.current=lo(function(){u(function(f){switch(a){case"align":return"motion";case"motion":return"stable";default:}return f}),s==null||s()})}return Cn(function(){u("measure")},[e]),Cn(function(){switch(a){case"measure":t();break;default:}a&&(i.current=lo(RR(L0().mark(function s(){var f,d;return L0().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:f=OH.indexOf(a),d=OH[f+1],d&&f!==-1&&u(d);case 3:case"end":return v.stop()}},s)}))))},[a]),Cn(function(){return function(){l()}},[]),[a,c]};xt();var HH=function(e){var t=yi({width:0,height:0}),n=an(t,2),r=n[0],a=n[1];function o(u){a({width:u.offsetWidth,height:u.offsetHeight})}var i=$m(function(){var u={};if(e){var l=r.width,c=r.height;e.indexOf("height")!==-1&&c?u.height=c:e.indexOf("minHeight")!==-1&&c&&(u.minHeight=c),e.indexOf("width")!==-1&&l?u.width=l:e.indexOf("minWidth")!==-1&&l&&(u.minWidth=l)}return u},[e,r]);return[i,o]};var WH=no(function(e,t){var n=e.visible,r=e.prefixCls,a=e.className,o=e.style,i=e.children,u=e.zIndex,l=e.stretch,c=e.destroyPopupOnHide,s=e.forceRender,f=e.align,d=e.point,p=e.getRootDomNode,v=e.getClassNameFromAlign,b=e.onAlign,y=e.onMouseEnter,D=e.onMouseLeave,C=e.onMouseDown,F=e.onTouchStart,I=e.onClick,L=Yt(),S=Yt(),z=yi(),Y=an(z,2),X=Y[0],ee=Y[1],W=HH(l),te=an(W,2),J=te[0],Q=te[1];function ie(){l&&Q(p())}var G=UH(n,ie),ne=an(G,2),de=ne[0],Ce=ne[1],Ee=yi(0),P=an(Ee,2),E=P[0],U=P[1],$=Yt();CR(function(){de==="alignPre"&&U(0)},[de]);function Z(){return d||p}function A(){var ce;(ce=L.current)===null||ce===void 0||ce.forceAlign()}function V(ce,Me){var Re=v(Me);X!==Re&&ee(Re),U(function(Ge){return Ge+1}),de==="align"&&(b==null||b(ce,Me))}CR(function(){de==="align"&&(E<2?A():Ce(function(){var ce;(ce=$.current)===null||ce===void 0||ce.call($)}))},[E]);var k=gt({},hy(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(ce){var Me=k[ce];k[ce]=function(Re,Ge){return Ce(),Me==null?void 0:Me(Re,Ge)}});function le(){return new Promise(function(ce){$.current=ce})}Cn(function(){!k.motionName&&de==="motion"&&Ce()},[k.motionName,de]),Gu(t,function(){return{forceAlign:A,getElement:function(){return S.current}}});var oe=gt(gt({},J),{},{zIndex:u,opacity:de==="motion"||de==="stable"||!n?void 0:0,pointerEvents:!n&&de!=="stable"?"none":void 0},o),pe=!0;(f==null?void 0:f.points)&&(de==="align"||de==="stable")&&(pe=!1);var he=i;return as.count(i)>1&&(he=Kt("div",{className:"".concat(r,"-content")},i)),Kt(op,Xe({visible:n,ref:S,leavedClassName:"".concat(r,"-hidden")},k,{onAppearPrepare:le,onEnterPrepare:le,removeOnLeave:c,forceRender:s}),function(ce,Me){var Re=ce.className,Ge=ce.style,Fe=(0,BH.default)(r,a,X,Re);return Kt(NH,{target:Z(),key:"popup",ref:L,monitorWindowResize:!0,disabled:pe,align:f,onAlign:V},Kt("div",{ref:Me,className:Fe,onMouseEnter:y,onMouseLeave:D,onMouseDownCapture:C,onTouchStartCapture:F,onClick:I,style:gt(gt({},Ge),oe)},he))})});WH.displayName="PopupInner";var zH=WH;xt();var GH=Gt(Os()),qH=no(function(e,t){var n=e.prefixCls,r=e.visible,a=e.zIndex,o=e.children,i=e.mobile;i=i===void 0?{}:i;var u=i.popupClassName,l=i.popupStyle,c=i.popupMotion,s=c===void 0?{}:c,f=i.popupRender,d=e.onClick,p=Yt();Gu(t,function(){return{forceAlign:function(){},getElement:function(){return p.current}}});var v=gt({zIndex:a},l),b=o;return as.count(o)>1&&(b=Kt("div",{className:"".concat(n,"-content")},o)),f&&(b=f(b)),Kt(op,Xe({visible:r,ref:p,removeOnLeave:!0},s),function(y,D){var C=y.className,F=y.style,I=(0,GH.default)(n,u,C);return Kt("div",{ref:D,className:I,onClick:d,style:gt(gt({},F),v)},b)})});qH.displayName="MobilePopupInner";var $H=qH;var Kve=["visible","mobile"],VH=no(function(e,t){var n=e.visible,r=e.mobile,a=yr(e,Kve),o=yi(n),i=an(o,2),u=i[0],l=i[1],c=yi(!1),s=an(c,2),f=s[0],d=s[1],p=gt(gt({},a),{},{visible:u});Cn(function(){l(n),n&&r&&d(lN())},[n,r]);var v=f?Kt($H,Xe({},p,{mobile:r,ref:t})):Kt(zH,Xe({},p,{ref:t}));return Kt("div",null,Kt(G7,p),v)});VH.displayName="Popup";var JH=VH;xt();var e0e=W4(null),xR=e0e;function TR(){}function t0e(){return""}function n0e(e){return e?e.ownerDocument:window.document}var r0e=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function a0e(e){var t=function(n){Zn(a,n);var r=Ns(a);function a(o){var i;Xn(this,a),i=r.call(this,o),i.popupRef=O1(),i.triggerRef=O1(),i.portalContainer=void 0,i.attachId=void 0,i.clickOutsideHandler=void 0,i.touchOutsideHandler=void 0,i.contextMenuOutsideHandler1=void 0,i.contextMenuOutsideHandler2=void 0,i.mouseDownTimeout=void 0,i.focusTime=void 0,i.preClickTime=void 0,i.preTouchTime=void 0,i.delayTimer=void 0,i.hasPopupMouseDown=void 0,i.onMouseEnter=function(l){var c=i.props.mouseEnterDelay;i.fireEvents("onMouseEnter",l),i.delaySetPopupVisible(!0,c,c?null:l)},i.onMouseMove=function(l){i.fireEvents("onMouseMove",l),i.setPoint(l)},i.onMouseLeave=function(l){i.fireEvents("onMouseLeave",l),i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onPopupMouseEnter=function(){i.clearDelayTimer()},i.onPopupMouseLeave=function(l){var c;l.relatedTarget&&!l.relatedTarget.setTimeout&&ks((c=i.popupRef.current)===null||c===void 0?void 0:c.getElement(),l.relatedTarget)||i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onFocus=function(l){i.fireEvents("onFocus",l),i.clearDelayTimer(),i.isFocusToShow()&&(i.focusTime=Date.now(),i.delaySetPopupVisible(!0,i.props.focusDelay))},i.onMouseDown=function(l){i.fireEvents("onMouseDown",l),i.preClickTime=Date.now()},i.onTouchStart=function(l){i.fireEvents("onTouchStart",l),i.preTouchTime=Date.now()},i.onBlur=function(l){i.fireEvents("onBlur",l),i.clearDelayTimer(),i.isBlurToHide()&&i.delaySetPopupVisible(!1,i.props.blurDelay)},i.onContextMenu=function(l){l.preventDefault(),i.fireEvents("onContextMenu",l),i.setPopupVisible(!0,l)},i.onContextMenuClose=function(){i.isContextMenuToShow()&&i.close()},i.onClick=function(l){if(i.fireEvents("onClick",l),i.focusTime){var c;if(i.preClickTime&&i.preTouchTime?c=Math.min(i.preClickTime,i.preTouchTime):i.preClickTime?c=i.preClickTime:i.preTouchTime&&(c=i.preTouchTime),Math.abs(c-i.focusTime)<20)return;i.focusTime=0}i.preClickTime=0,i.preTouchTime=0,i.isClickToShow()&&(i.isClickToHide()||i.isBlurToHide())&&l&&l.preventDefault&&l.preventDefault();var s=!i.state.popupVisible;(i.isClickToHide()&&!s||s&&i.isClickToShow())&&i.setPopupVisible(!i.state.popupVisible,l)},i.onPopupMouseDown=function(){if(i.hasPopupMouseDown=!0,clearTimeout(i.mouseDownTimeout),i.mouseDownTimeout=window.setTimeout(function(){i.hasPopupMouseDown=!1},0),i.context){var l;(l=i.context).onPopupMouseDown.apply(l,arguments)}},i.onDocumentClick=function(l){if(!(i.props.mask&&!i.props.maskClosable)){var c=l.target,s=i.getRootDomNode(),f=i.getPopupDomNode();(!ks(s,c)||i.isContextMenuOnly())&&!ks(f,c)&&!i.hasPopupMouseDown&&i.close()}},i.getRootDomNode=function(){var l=i.props.getTriggerDOMNode;if(l)return l(i.triggerRef.current);try{var c=v0(i.triggerRef.current);if(c)return c}catch{}return ro.findDOMNode(Gl(i))},i.getPopupClassNameFromAlign=function(l){var c=[],s=i.props,f=s.popupPlacement,d=s.builtinPlacements,p=s.prefixCls,v=s.alignPoint,b=s.getPopupClassNameFromAlign;return f&&d&&c.push(uN(d,p,l,v)),b&&c.push(b(l)),c.join(" ")},i.getComponent=function(){var l=i.props,c=l.prefixCls,s=l.destroyPopupOnHide,f=l.popupClassName,d=l.onPopupAlign,p=l.popupMotion,v=l.popupAnimation,b=l.popupTransitionName,y=l.popupStyle,D=l.mask,C=l.maskAnimation,F=l.maskTransitionName,I=l.maskMotion,L=l.zIndex,S=l.popup,z=l.stretch,Y=l.alignPoint,X=l.mobile,ee=l.forceRender,W=l.onPopupClick,te=i.state,J=te.popupVisible,Q=te.point,ie=i.getPopupAlign(),G={};return i.isMouseEnterToShow()&&(G.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(G.onMouseLeave=i.onPopupMouseLeave),G.onMouseDown=i.onPopupMouseDown,G.onTouchStart=i.onPopupMouseDown,Kt(JH,Xe({prefixCls:c,destroyPopupOnHide:s,visible:J,point:Y&&Q,className:f,align:ie,onAlign:d,animation:v,getClassNameFromAlign:i.getPopupClassNameFromAlign},G,{stretch:z,getRootDomNode:i.getRootDomNode,style:y,mask:D,zIndex:L,transitionName:b,maskAnimation:C,maskTransitionName:F,maskMotion:I,ref:i.popupRef,motion:p,mobile:X,forceRender:ee,onClick:W}),typeof S=="function"?S():S)},i.attachParent=function(l){lo.cancel(i.attachId);var c=i.props,s=c.getPopupContainer,f=c.getDocument,d=i.getRootDomNode(),p;s?(d||s.length===0)&&(p=s(d)):p=f(i.getRootDomNode()).body,p?p.appendChild(l):i.attachId=lo(function(){i.attachParent(l)})},i.getContainer=function(){if(!i.portalContainer){var l=i.props.getDocument,c=l(i.getRootDomNode()).createElement("div");c.style.position="absolute",c.style.top="0",c.style.left="0",c.style.width="100%",i.portalContainer=c}return i.attachParent(i.portalContainer),i.portalContainer},i.setPoint=function(l){var c=i.props.alignPoint;!c||!l||i.setState({point:{pageX:l.pageX,pageY:l.pageY}})},i.handlePortalUpdate=function(){i.state.prevPopupVisible!==i.state.popupVisible&&i.props.afterPopupVisibleChange(i.state.popupVisible)},i.triggerContextValue={onPopupMouseDown:i.onPopupMouseDown};var u;return"popupVisible"in o?u=!!o.popupVisible:u=!!o.defaultPopupVisible,i.state={prevPopupVisible:u,popupVisible:u},r0e.forEach(function(l){i["fire".concat(l)]=function(c){i.fireEvents(l,c)}}),i}return Yn(a,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var i=this.props,u=this.state;if(u.popupVisible){var l;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(l=i.getDocument(this.getRootDomNode()),this.clickOutsideHandler=dc(l,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(l=l||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=dc(l,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(l=l||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=dc(l,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=dc(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),lo.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var i;return((i=this.popupRef.current)===null||i===void 0?void 0:i.getElement())||null}},{key:"getPopupAlign",value:function(){var i=this.props,u=i.popupPlacement,l=i.popupAlign,c=i.builtinPlacements;return u&&c?iN(c,u,l):l}},{key:"setPopupVisible",value:function(i,u){var l=this.props.alignPoint,c=this.state.popupVisible;this.clearDelayTimer(),c!==i&&("popupVisible"in this.props||this.setState({popupVisible:i,prevPopupVisible:c}),this.props.onPopupVisibleChange(i)),l&&u&&i&&this.setPoint(u)}},{key:"delaySetPopupVisible",value:function(i,u,l){var c=this,s=u*1e3;if(this.clearDelayTimer(),s){var f=l?{pageX:l.pageX,pageY:l.pageY}:null;this.delayTimer=window.setTimeout(function(){c.setPopupVisible(i,f),c.clearDelayTimer()},s)}else this.setPopupVisible(i,l)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(i){var u=this.props.children.props,l=this.props;return u[i]&&l[i]?this["fire".concat(i)]:u[i]||l[i]}},{key:"isClickToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("click")!==-1||l.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var i=this.props.action;return i==="contextMenu"||i.length===1&&i[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("contextMenu")!==-1||l.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("click")!==-1||l.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("hover")!==-1||l.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("hover")!==-1||l.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("focus")!==-1||l.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("focus")!==-1||l.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var i;(i=this.popupRef.current)===null||i===void 0||i.forceAlign()}}},{key:"fireEvents",value:function(i,u){var l=this.props.children.props[i];l&&l(u);var c=this.props[i];c&&c(u)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var i=this.state.popupVisible,u=this.props,l=u.children,c=u.forceRender,s=u.alignPoint,f=u.className,d=u.autoDestroy,p=as.only(l),v={key:"trigger"};this.isContextMenuToShow()?v.onContextMenu=this.onContextMenu:v.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(v.onClick=this.onClick,v.onMouseDown=this.onMouseDown,v.onTouchStart=this.onTouchStart):(v.onClick=this.createTwoChains("onClick"),v.onMouseDown=this.createTwoChains("onMouseDown"),v.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(v.onMouseEnter=this.onMouseEnter,s&&(v.onMouseMove=this.onMouseMove)):v.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?v.onMouseLeave=this.onMouseLeave:v.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(v.onFocus=this.onFocus,v.onBlur=this.onBlur):(v.onFocus=this.createTwoChains("onFocus"),v.onBlur=this.createTwoChains("onBlur"));var b=(0,XH.default)(p&&p.props&&p.props.className,f);b&&(v.className=b);var y=gt({},v);ry(p)&&(y.ref=ny(this.triggerRef,p.ref));var D=zm(p,y),C;return(i||this.popupRef.current||c)&&(C=Kt(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&d&&(C=null),Kt(xR.Provider,{value:this.triggerContextValue},D,C)}}],[{key:"getDerivedStateFromProps",value:function(i,u){var l=i.popupVisible,c={};return l!==void 0&&u.popupVisible!==l&&(c.popupVisible=l,c.prevPopupVisible=u.popupVisible),c}}]),a}(os);return t.contextType=xR,t.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:t0e,getDocument:n0e,onPopupVisibleChange:TR,afterPopupVisibleChange:TR,onPopupAlign:TR,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},t}var YH=a0e(oN);var jo={adjustX:1,adjustY:1},No=[0,0],ZH={left:{points:["cr","cl"],overflow:jo,offset:[-4,0],targetOffset:No},right:{points:["cl","cr"],overflow:jo,offset:[4,0],targetOffset:No},top:{points:["bc","tc"],overflow:jo,offset:[0,-4],targetOffset:No},bottom:{points:["tc","bc"],overflow:jo,offset:[0,4],targetOffset:No},topLeft:{points:["bl","tl"],overflow:jo,offset:[0,-4],targetOffset:No},leftTop:{points:["tr","tl"],overflow:jo,offset:[-4,0],targetOffset:No},topRight:{points:["br","tr"],overflow:jo,offset:[0,-4],targetOffset:No},rightTop:{points:["tl","tr"],overflow:jo,offset:[4,0],targetOffset:No},bottomRight:{points:["tr","br"],overflow:jo,offset:[0,4],targetOffset:No},rightBottom:{points:["bl","br"],overflow:jo,offset:[4,0],targetOffset:No},bottomLeft:{points:["tl","bl"],overflow:jo,offset:[0,4],targetOffset:No},leftBottom:{points:["br","bl"],overflow:jo,offset:[-4,0],targetOffset:No}};xt();var QH=Gt(Os());function Ly(e){var t=e.showArrow,n=e.arrowContent,r=e.children,a=e.prefixCls,o=e.id,i=e.overlayInnerStyle,u=e.className,l=e.style;return Kt("div",{className:(0,QH.default)("".concat(a,"-content"),u),style:l},t!==!1&&Kt("div",{className:"".concat(a,"-arrow"),key:"arrow"},n),Kt("div",{className:"".concat(a,"-inner"),id:o,role:"tooltip",style:i},typeof r=="function"?r():r))}var o0e=function(t,n){var r=t.overlayClassName,a=t.trigger,o=a===void 0?["hover"]:a,i=t.mouseEnterDelay,u=i===void 0?0:i,l=t.mouseLeaveDelay,c=l===void 0?.1:l,s=t.overlayStyle,f=t.prefixCls,d=f===void 0?"rc-tooltip":f,p=t.children,v=t.onVisibleChange,b=t.afterVisibleChange,y=t.transitionName,D=t.animation,C=t.motion,F=t.placement,I=F===void 0?"right":F,L=t.align,S=L===void 0?{}:L,z=t.destroyTooltipOnHide,Y=z===void 0?!1:z,X=t.defaultVisible,ee=t.getTooltipContainer,W=t.overlayInnerStyle,te=t.arrowContent,J=t.overlay,Q=t.id,ie=t.showArrow,G=yr(t,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),ne=Yt(null);Gu(n,function(){return ne.current});var de=gt({},G);"visible"in t&&(de.popupVisible=t.visible);var Ce=function(){return Kt(Ly,{showArrow:ie,arrowContent:te,key:"content",prefixCls:d,id:Q,overlayInnerStyle:W},J)},Ee=!1,P=!1;if(typeof Y=="boolean")Ee=Y;else if(Y&&Qn(Y)==="object"){var E=Y.keepParent;Ee=E===!0,P=E===!1}return Kt(YH,Xe({popupClassName:r,prefixCls:d,popup:Ce,action:o,builtinPlacements:ZH,popupPlacement:I,ref:ne,popupAlign:S,getPopupContainer:ee,onPopupVisibleChange:v,afterPopupVisibleChange:b,popupTransitionName:y,popupAnimation:D,popupMotion:C,defaultPopupVisible:X,destroyPopupOnHide:Ee,autoDestroy:P,mouseLeaveDelay:c,popupStyle:s,mouseEnterDelay:u},de),p)},KH=no(o0e);var eB=KH;var nB=e=>Dt.createElement(eB,Object.assign({},e,{overlayClassName:`cv-tooltip ${e.overlayClassName}`,getTooltipContainer:e.tooltipContainerSelector?()=>document.querySelector(e.tooltipContainerSelector)||document.body:void 0}));if(typeof window!="undefined"&&typeof global=="undefined")try{Promise.resolve().then(()=>Gt(tB())).then(e=>{let t=e.default,n=document.createElement("style");n.type="text/css",n.appendChild(document.createTextNode(t)),document.head.appendChild(n)})}catch(e){window.Sentry&&window.Sentry.captureException(e)}var P0="";function rB(e){var t=e.split(` `);return t.reduce(function(n,r){var a=c0e(r)||f0e(r)||m0e(r)||_0e(r)||h0e(r);return a&&n.push(a),n},[])}var u0e=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,l0e=/\((\S*)(?::(\d+))(?::(\d+))\)/;function c0e(e){var t=u0e.exec(e);if(!t)return null;var n=t[2]&&t[2].indexOf("native")===0,r=t[2]&&t[2].indexOf("eval")===0,a=l0e.exec(t[2]);return r&&a!=null&&(t[2]=a[1],t[3]=a[2],t[4]=a[3]),{file:n?null:t[2],methodName:t[1]||P0,arguments:n?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}var s0e=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function f0e(e){var t=s0e.exec(e);return t?{file:t[2],methodName:t[1]||P0,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var d0e=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,p0e=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function m0e(e){var t=d0e.exec(e);if(!t)return null;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=p0e.exec(t[3]);return n&&r!=null&&(t[3]=r[1],t[4]=r[2],t[5]=null),{file:t[3],methodName:t[1]||P0,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}var v0e=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function h0e(e){var t=v0e.exec(e);return t?{file:t[3],methodName:t[1]||P0,arguments:[],lineNumber:+t[4],column:t[5]?+t[5]:null}:null}var g0e=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function _0e(e){var t=g0e.exec(e);return t?{file:t[2],methodName:t[1]||P0,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}function aB({skipFrames:e,prefix:t}){let n=new Error().stack,a=rB(n)[e],o=oB(a.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=oB(a.methodName);return`${t}_${o}_${i}_${a.lineNumber}_${a.column}`}var oB=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");var y0e=ue(xr),D0e=Ve(Je),Py=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),b0e={map:function(e){return function(t){return new Py(function(n){return t.value0(function(r){return n(e(r))})})}}},w0e=ae(b0e);var iB=function(e){return BM(aB(e))},gu=function(e){return new Py(function(t){return t(e)})},jy=function(e){return function(t){return new Py(function(n){return md(e)(t)(n)})}},uB=function(e){return function(t){return md(e)(function(n){return{init:y0e(ye),update:Qe(sm),view:Qe(Qe(t.value0(D0e)))}})(ye)}};var j0=function(e){var t=iB({skipFrames:3,prefix:"WithHookCurried"});return function(n){return uB(t)(w0e(_m(n))(e))}},vc=function(e){var t=iB({skipFrames:3,prefix:"HooksComponent"});return uB(t)(e)},xi=function(){return function(e){return function(t){return new Py(function(n){return e.value0(function(r){var a=t(r);return a.value0(n)})})}}},C0e=xi(),vp=function(e){return function(){return C0e}};xt();var lB=class extends Dt.Component{componentDidUpdate(t){this.props.componentDidUpdate(t.deps)}render(){return this.props.children}},cB=lB;var R0e=zn();var sB=function(e){return"ref:"+ta(e)(lr.value)},fB=function(e){var t=sB(e);return function(n){return R0e(Um(t)(n))}},dB=function(e){var t=sB(e);return function(n){return U4(t)(n)}};var T0e=Vu(),pB=Gn(wn)(tu),mB=ue(xr),E0e=og(cS(H1)),vB={reflectSymbol:function(){return"deps"}},F0e=fB(vB),M0e=dB(vB),hB=Ve(Je);var S0e=function(e){var t=T0e(e);return function(){return function(){return t(cB)}}},I0e=S0e(kt)()(),gB=function(e){var t=Rl(e);return function(n){return function(r){return function(a){return function(o){return jy(n)(function(i){return r({init:pB(Ju(o(a)))(function(){return mB(a)}),update:function(u){return function(l){return pB(Ju(o(l)))(function(){return mB(l)})}},view:function(u){return function(l){return I0e({componentDidUpdate:E0e(l)(function(c){var s=t(F0e(c))(a);return s?new j(a):B.value}),deps:M0e(a)})(i(ye))}}})})}}}}},A0e=gB(jb),_B=function(e){var t=gB(e);return function(n){return function(r){return t("UseEffectPrime")(hB)(n)(r)}}},Ny=function(e){return A0e("UseEffect")(hB)(ye)(Qe(e))};var yB=ue(xr),L0e=Ve(Je);var P0e=function(e){return function(t){return function(n){return jy(e)(function(r){return t({init:yB(n),update:function(a){return function(o){return yB(o)}},view:ym(r)})})}}},dr=function(e){return P0e("UseState")(L0e)(e)};function DB(e){return function(t){return function(){return t.getItem(e)}}}function hp(e){return function(t){return function(n){return function(){n.setItem(e,t)}}}}var j0e=ae(Rt);var gp=function(e){var t=j0e(yt),n=DB(e);return function(r){return t(n(r))}};var N0e=xi(),k0e=vp(wn)(),O0e=jt(Un),_p=En(jr),U0e=function(e){return function(t){return function(n){return N0e(dr(B.value))(function(r){return k0e(Ny(O0e(function(){var o=_p(gp(t))(_p(e)(ao))();if(o instanceof j)return r.value1(new j(o.value0))();if(o instanceof B)return r.value1(new j(n))(),_p(hp(t)(n))(_p(e)(ao))();throw new Error("Failed pattern match at Utils.UseStorage (line 43, column 5 - line 48, column 56): "+[o.constructor.name])})))(function(){return gu(new Ze(r.value0,function(a){return function(){return r.value1(new j(a))(),_p(hp(t)(a))(_p(e)(ao))()}}))})})}}};var ER=U0e(Ul);var H0e=Vu();var bB="top",ky=function(e){var t=H0e(e);return function(){return function(){return t(nB)}}};var wB="right";var N0="bottom";var Ws=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),k0=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var zs=function(){return{"genericTop'":Ar.value}}();var FR=function(e){return e["genericTop'"]},Gs=function(e){return{"genericTop'":FR(e)}};var qs=function(){return{"genericBottom'":Ar.value}}();var O0=function(e){return e["genericBottom'"]},$s=function(e){return{"genericBottom'":O0(e)}};var Vs=function(e){return{"genericBottom'":new hn(O0(e))}},CB=function(e){var t=Vh(e);return function(n){return t(O0(n))}};var hc=ae(Ke),Oy=On();var MR=function(e){return e["genericToEnum'"]};var Uy=function(e){return e["genericSucc'"]},RB=function(e){var t=Vh(e),n=Bb(e);return function(r){var a=hc(t),o=Uy(r);return function(i){return a(o(n(i)))}}},SR=function(e){return e["genericPred'"]};var IR=function(e){return e["genericFromEnum'"]};var Js=function(e){var t=SR(e),n=Uy(e);return function(r){var a=FR(r);return function(o){var i=SR(o),u=Uy(o);return function(l){var c=O0(l);return{"genericPred'":function(s){if(s instanceof hn)return hc(hn.create)(t(s.value0));if(s instanceof Tt){var f=i(s.value0);if(f instanceof B)return new j(new hn(a));if(f instanceof j)return new j(new Tt(f.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 30, column 14 - line 32, column 31): "+[f.constructor.name])}throw new Error("Failed pattern match at Data.Enum.Generic (line 28, column 18 - line 32, column 31): "+[s.constructor.name])},"genericSucc'":function(s){if(s instanceof hn){var f=n(s.value0);if(f instanceof B)return new j(new Tt(c));if(f instanceof j)return new j(new hn(f.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 34, column 14 - line 36, column 31): "+[f.constructor.name])}if(s instanceof Tt)return hc(Tt.create)(u(s.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 33, column 18 - line 37, column 36): "+[s.constructor.name])}}}}}};var Xs={"genericPred'":function(e){return B.value},"genericSucc'":function(e){return B.value}},Ys=function(e){var t=SR(e),n=Uy(e);return{"genericPred'":function(r){return hc($h)(t(r))},"genericSucc'":function(r){return hc($h)(n(r))}}};var AR=function(e){return e["genericCardinality'"]};var Zs=function(e){var t=AR(e),n=MR(e),r=IR(e);return function(a){var o=MR(a),i=IR(a);return{"genericCardinality'":Oy(t)+Oy(AR(a))|0,"genericToEnum'":function(u){var l=function(c){if(u>=0&&u=0&&e<100&&u.setUTCFullYear(e),u.getTime()};function rW(e,t){var n=nW(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond),r=nW(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return n-r}var Mhe=function(e,t,n){var r=new Date(Date.UTC(e,t,n));return e>=0&&e<100&&r.setUTCFullYear(e),r};function aW(e,t,n,r){var a=Mhe(t,n-1,r);return e(a.getUTCFullYear())(a.getUTCMonth()+1)(a.getUTCDate())}var YR=function(e,t,n){var r=0,a;return function(o){if(r===2)return a;if(r===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+t+", line "+o+")",t,o);return r=1,a=n(),r=2,a}};var so=function(){function e(){}return e.value=new e,e}(),ko=function(){function e(){}return e.value=new e,e}(),Oo=function(){function e(){}return e.value=new e,e}(),Uo=function(){function e(){}return e.value=new e,e}(),Ho=function(){function e(){}return e.value=new e,e}(),Bo=function(){function e(){}return e.value=new e,e}(),Wo=function(){function e(){}return e.value=new e,e}(),zo=function(){function e(){}return e.value=new e,e}(),Go=function(){function e(){}return e.value=new e,e}(),qo=function(){function e(){}return e.value=new e,e}(),$o=function(){function e(){}return e.value=new e,e}(),Ti=function(){function e(){}return e.value=new e,e}();var Xy=Dn,Yy=Dn,oW=Va;var ZR={eq:function(e){return function(t){return e instanceof so&&t instanceof so||e instanceof ko&&t instanceof ko||e instanceof Oo&&t instanceof Oo||e instanceof Uo&&t instanceof Uo||e instanceof Ho&&t instanceof Ho||e instanceof Bo&&t instanceof Bo||e instanceof Wo&&t instanceof Wo||e instanceof zo&&t instanceof zo||e instanceof Go&&t instanceof Go||e instanceof qo&&t instanceof qo||e instanceof $o&&t instanceof $o||e instanceof Ti&&t instanceof Ti}}},Zy={compare:function(e){return function(t){if(e instanceof so&&t instanceof so)return it.value;if(e instanceof so)return Ne.value;if(t instanceof so)return Pe.value;if(e instanceof ko&&t instanceof ko)return it.value;if(e instanceof ko)return Ne.value;if(t instanceof ko)return Pe.value;if(e instanceof Oo&&t instanceof Oo)return it.value;if(e instanceof Oo)return Ne.value;if(t instanceof Oo)return Pe.value;if(e instanceof Uo&&t instanceof Uo)return it.value;if(e instanceof Uo)return Ne.value;if(t instanceof Uo)return Pe.value;if(e instanceof Ho&&t instanceof Ho)return it.value;if(e instanceof Ho)return Ne.value;if(t instanceof Ho)return Pe.value;if(e instanceof Bo&&t instanceof Bo)return it.value;if(e instanceof Bo)return Ne.value;if(t instanceof Bo)return Pe.value;if(e instanceof Wo&&t instanceof Wo)return it.value;if(e instanceof Wo)return Ne.value;if(t instanceof Wo)return Pe.value;if(e instanceof zo&&t instanceof zo)return it.value;if(e instanceof zo)return Ne.value;if(t instanceof zo)return Pe.value;if(e instanceof Go&&t instanceof Go)return it.value;if(e instanceof Go)return Ne.value;if(t instanceof Go)return Pe.value;if(e instanceof qo&&t instanceof qo)return it.value;if(e instanceof qo)return Ne.value;if(t instanceof qo)return Pe.value;if(e instanceof $o&&t instanceof $o)return it.value;if(e instanceof $o)return Ne.value;if(t instanceof $o)return Pe.value;if(e instanceof Ti&&t instanceof Ti)return it.value;throw new Error("Failed pattern match at Data.Date.Component (line 0, column 0 - line 0, column 0): "+[e.constructor.name,t.constructor.name])}},Eq0:function(){return ZR}},iW=Va,uW=function(){return{bottom:-271820|0,top:275759,Ord0:function(){return Xy}}}();var lW=function(){return{bottom:so.value,top:Ti.value,Ord0:function(){return Zy}}}(),fo={cardinality:547580,toEnum:function(e){if(e>=(-271820|0)&&e<=275759)return new j(e);if(ut)return B.value;throw new Error("Failed pattern match at Data.Date.Component (line 35, column 1 - line 40, column 24): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return uW},Enum1:function(){return She(0)}},She=YR("enumYear","Data.Date.Component",function(){return{succ:function(){var e=Jt(fo),t=Nt(fo);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Jt(fo),t=Nt(fo);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return Xy}}});var da={cardinality:12,toEnum:function(e){return e===1?new j(so.value):e===2?new j(ko.value):e===3?new j(Oo.value):e===4?new j(Uo.value):e===5?new j(Ho.value):e===6?new j(Bo.value):e===7?new j(Wo.value):e===8?new j(zo.value):e===9?new j(Go.value):e===10?new j(qo.value):e===11?new j($o.value):e===12?new j(Ti.value):B.value},fromEnum:function(e){if(e instanceof so)return 1;if(e instanceof ko)return 2;if(e instanceof Oo)return 3;if(e instanceof Uo)return 4;if(e instanceof Ho)return 5;if(e instanceof Bo)return 6;if(e instanceof Wo)return 7;if(e instanceof zo)return 8;if(e instanceof Go)return 9;if(e instanceof qo)return 10;if(e instanceof $o)return 11;if(e instanceof Ti)return 12;throw new Error("Failed pattern match at Data.Date.Component (line 87, column 14 - line 99, column 19): "+[e.constructor.name])},Bounded0:function(){return lW},Enum1:function(){return Ihe(0)}},Ihe=YR("enumMonth","Data.Date.Component",function(){return{succ:function(){var e=Jt(da),t=Nt(da);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Jt(da),t=Nt(da);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return Zy}}});var cW={bottom:1,top:31,Ord0:function(){return Yy}},Ei={cardinality:31,toEnum:function(e){if(e>=1&&e<=31)return new j(e);if(ut)return B.value;throw new Error("Failed pattern match at Data.Date.Component (line 133, column 1 - line 138, column 23): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return cW},Enum1:function(){return Ahe(0)}},Ahe=YR("enumDay","Data.Date.Component",function(){return{succ:function(){var e=Jt(Ei),t=Nt(Ei);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Jt(Ei),t=Nt(Ei);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return Yy}}});var jhe=Nt(da),Nhe=zn();var khe=Le(oW),Ohe=Le(ZR),Uhe=Le(iW),Hhe=tt(Xy),Bhe=tt(Zy),Whe=tt(Yy);var zhe=Jt(da);var Ghe=function(){function e(t,n,r){this.value0=t,this.value1=n,this.value2=r}return e.create=function(t){return function(n){return function(r){return new e(t,n,r)}}},e}(),gc=function(e){return e.value0};var _c=function(e){return e.value1};var QR={eq:function(e){return function(t){return khe(e.value0)(t.value0)&&Ohe(e.value1)(t.value1)&&Uhe(e.value2)(t.value2)}}};var _W={compare:function(e){return function(t){var n=Hhe(e.value0)(t.value0);if(n instanceof Ne)return Ne.value;if(n instanceof Pe)return Pe.value;var r=Bhe(e.value1)(t.value1);return r instanceof Ne?Ne.value:r instanceof Pe?Pe.value:Whe(e.value2)(t.value2)}},Eq0:function(){return QR}};var Cp=function(e){return e.value2},U0=function(e){return function(t){return function(n){var r=function(a){return function(o){return function(i){return new Ghe(a,Nhe(zhe(o)),i)}}};return aW(r,e,jhe(t),n)}}};var Qy=function(e,t,n){var r=0,a;return function(o){if(r===2)return a;if(r===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+t+", line "+o+")",t,o);return r=1,a=n(),r=2,a}};var Ky=Dn,eD=Dn,tD=Dn,nD=Dn,yW=Va,DW=Va,bW=Va,wW=Va,KR={bottom:0,top:59,Ord0:function(){return Ky}},ex={bottom:0,top:59,Ord0:function(){return eD}},tx={bottom:0,top:999,Ord0:function(){return tD}},nx={bottom:0,top:23,Ord0:function(){return nD}},Fi={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new j(e);if(ut)return B.value;throw new Error("Failed pattern match at Data.Time.Component (line 90, column 1 - line 95, column 26): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return KR},Enum1:function(){return qhe(0)}},qhe=Qy("enumSecond","Data.Time.Component",function(){return{succ:function(){var e=Jt(Fi),t=Nt(Fi);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Jt(Fi),t=Nt(Fi);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return Ky}}});var Mi={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new j(e);if(ut)return B.value;throw new Error("Failed pattern match at Data.Time.Component (line 61, column 1 - line 66, column 26): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return ex},Enum1:function(){return $he(0)}},$he=Qy("enumMinute","Data.Time.Component",function(){return{succ:function(){var e=Jt(Mi),t=Nt(Mi);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Jt(Mi),t=Nt(Mi);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return eD}}});var Si={cardinality:1e3,toEnum:function(e){if(e>=0&&e<=999)return new j(e);if(ut)return B.value;throw new Error("Failed pattern match at Data.Time.Component (line 120, column 1 - line 125, column 31): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return tx},Enum1:function(){return Vhe(0)}},Vhe=Qy("enumMillisecond","Data.Time.Component",function(){return{succ:function(){var e=Jt(Si),t=Nt(Si);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Jt(Si),t=Nt(Si);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return tD}}});var Ii={cardinality:24,toEnum:function(e){if(e>=0&&e<=23)return new j(e);if(ut)return B.value;throw new Error("Failed pattern match at Data.Time.Component (line 32, column 1 - line 37, column 24): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return nx},Enum1:function(){return Jhe(0)}},Jhe=Qy("enumHour","Data.Time.Component",function(){return{succ:function(){var e=Jt(Ii),t=Nt(Ii);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Jt(Ii),t=Nt(Ii);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return nD}}});var Khe=Le(wW),e1e=Le(DW),t1e=Le(yW),n1e=Le(bW),r1e=tt(nD),a1e=tt(eD),o1e=tt(Ky),i1e=tt(tD);var Rp=function(){function e(t,n,r,a){this.value0=t,this.value1=n,this.value2=r,this.value3=a}return e.create=function(t){return function(n){return function(r){return function(a){return new e(t,n,r,a)}}}},e}();var xp=function(e){return e.value2},Tp=function(e){return e.value1},Ep=function(e){return e.value3};var Fp=function(e){return e.value0};var rx={eq:function(e){return function(t){return Khe(e.value0)(t.value0)&&e1e(e.value1)(t.value1)&&t1e(e.value2)(t.value2)&&n1e(e.value3)(t.value3)}}},RW={compare:function(e){return function(t){var n=r1e(e.value0)(t.value0);if(n instanceof Ne)return Ne.value;if(n instanceof Pe)return Pe.value;var r=a1e(e.value1)(t.value1);if(r instanceof Ne)return Ne.value;if(r instanceof Pe)return Pe.value;var a=o1e(e.value2)(t.value2);return a instanceof Ne?Ne.value:a instanceof Pe?Pe.value:i1e(e.value3)(t.value3)}},Eq0:function(){return rx}};var c1e=Nt(fo),s1e=Nt(da),f1e=Nt(Ei),d1e=Nt(Ii),p1e=Nt(Mi),m1e=Nt(Fi),v1e=Nt(Si);var h1e=Le(QR),g1e=Le(rx),_1e=tt(_W),y1e=tt(RW);var aD=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),xW=function(e){return{year:c1e(gc(e.value0)),month:s1e(_c(e.value0)),day:f1e(Cp(e.value0)),hour:d1e(Fp(e.value1)),minute:p1e(Tp(e.value1)),second:m1e(xp(e.value1)),millisecond:v1e(Ep(e.value1))}};var TW={eq:function(e){return function(t){return h1e(e.value0)(t.value0)&&g1e(e.value1)(t.value1)}}},ax={compare:function(e){return function(t){var n=_1e(e.value0)(t.value0);return n instanceof Ne?Ne.value:n instanceof Pe?Pe.value:y1e(e.value1)(t.value1)}},Eq0:function(){return TW}},EW=function(e){var t=id(e);return function(n){return function(r){return t(rW(xW(n),xW(r)))}}},H0=function(e){return e.value0};var FW=function(e,t,n){var r=0,a;return function(o){if(r===2)return a;if(r===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+t+", line "+o+")",t,o);return r=1,a=n(),r=2,a}};var Sr=function(){function e(){}return e.value=new e,e}(),Dr=function(){function e(t,n,r,a,o,i){this.value0=t,this.value1=n,this.value2=r,this.value3=a,this.value4=o,this.value5=i}return e.create=function(t){return function(n){return function(r){return function(a){return function(o){return function(i){return new e(t,n,r,a,o,i)}}}}}},e}(),MW=function(){function e(){}return e.value=new e,e}(),ox=function(){function e(t,n,r){this.value0=t,this.value1=n,this.value2=r}return e.create=function(t){return function(n){return function(r){return new e(t,n,r)}}},e}(),ix=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}();var oD=function(){function e(t,n,r){this.value0=t,this.value1=n,this.value2=r}return e.create=function(t){return function(n){return function(r){return new e(t,n,r)}}},e}();var Vo=function(e,t,n,r){if(n instanceof Sr){if(r instanceof Sr)return new Dr(1,1,e,t,n,r);if(r instanceof Dr)return new Dr(1+r.value0|0,1+r.value1|0,e,t,n,r);throw new Error("Failed pattern match at Data.Map.Internal (line 680, column 5 - line 684, column 39): "+[r.constructor.name])}if(n instanceof Dr){if(r instanceof Sr)return new Dr(1+n.value0|0,1+n.value1|0,e,t,n,r);if(r instanceof Dr)return new Dr(1+function(){var a=n.value0>r.value0;return a?n.value0:r.value0}()|0,(1+n.value1|0)+r.value1|0,e,t,n,r);throw new Error("Failed pattern match at Data.Map.Internal (line 686, column 5 - line 690, column 68): "+[r.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 678, column 32 - line 690, column 68): "+[n.constructor.name])},b1e=function(){return Ut(ix.create)(MW.value)}(),w1e=function(e){return function(t){return function(n){var r=function(a){var o=!1,i;function u(l){if(l instanceof MW)return o=!0,n(ye);if(l instanceof ox)return o=!0,t(l.value0,l.value1,l.value2);if(l instanceof ix){a=e(l.value1)(l.value0);return}throw new Error("Failed pattern match at Data.Map.Internal (line 918, column 8 - line 924, column 20): "+[l.constructor.name])}for(;!o;)i=u(a);return i};return r}}};var iD=function(e){return function(t){return new Dr(1,1,e,t,Sr.value,Sr.value)}},Mp=function(){var e=function(r){if(r instanceof Sr)return 0;if(r instanceof Dr)return r.value0;throw new Error("Failed pattern match at Data.Map.Internal (line 735, column 12 - line 737, column 26): "+[r.constructor.name])},t=function(r,a,o,i,u,l,c){return l instanceof Dr&&l.value0>e(c)?Vo(l.value2,l.value3,Vo(r,a,o,l.value4),Vo(i,u,l.value5,c)):Vo(i,u,Vo(r,a,o,l),c)},n=function(r,a,o,i,u,l,c){return l instanceof Dr&&e(u)<=l.value0?Vo(l.value2,l.value3,Vo(o,i,u,l.value4),Vo(r,a,l.value5,c)):Vo(o,i,u,Vo(r,a,l,c))};return function(r,a,o,i){if(o instanceof Sr)return i instanceof Sr?iD(r)(a):i instanceof Dr&&i.value0>1?t(r,a,o,i.value2,i.value3,i.value4,i.value5):Vo(r,a,o,i);if(o instanceof Dr){if(i instanceof Dr){if(i.value0>(o.value0+1|0))return t(r,a,o,i.value2,i.value3,i.value4,i.value5);if(o.value0>(i.value0+1|0))return n(r,a,o.value2,o.value3,o.value4,o.value5,i)}return i instanceof Sr&&o.value0>1?n(r,a,o.value2,o.value3,o.value4,o.value5,i):Vo(r,a,o,i)}throw new Error("Failed pattern match at Data.Map.Internal (line 695, column 40 - line 716, column 34): "+[o.constructor.name])}}(),ux=FW("unsafeSplit","Data.Map.Internal",function(){return function(e,t,n){if(n instanceof Sr)return new oD(B.value,Sr.value,Sr.value);if(n instanceof Dr){var r=e(t)(n.value2);if(r instanceof Ne){var a=ux(771)(e,t,n.value4);return new oD(a.value0,a.value1,Mp(n.value2,n.value3,a.value2,n.value5))}if(r instanceof Pe){var a=ux(774)(e,t,n.value5);return new oD(a.value0,Mp(n.value2,n.value3,n.value4,a.value1),a.value2)}if(r instanceof it)return new oD(new j(n.value3),n.value4,n.value5);throw new Error("Failed pattern match at Data.Map.Internal (line 769, column 5 - line 777, column 30): "+[r.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 765, column 34 - line 777, column 30): "+[n.constructor.name])}}),C1e=ux(764);var lx=FW("unsafeUnionWith","Data.Map.Internal",function(){return function(e,t,n,r){if(n instanceof Sr)return r;if(r instanceof Sr)return n;if(r instanceof Dr){var a=C1e(e,r.value2,n),o=lx(787)(e,t,a.value1,r.value4),i=lx(788)(e,t,a.value2,r.value5);if(a.value0 instanceof j)return Mp(r.value2,t(a.value0.value0)(r.value3),o,i);if(a.value0 instanceof B)return Mp(r.value2,r.value3,o,i);throw new Error("Failed pattern match at Data.Map.Internal (line 789, column 5 - line 793, column 46): "+[a.value0.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 782, column 42 - line 793, column 46): "+[n.constructor.name,r.constructor.name])}}),R1e=lx(781),x1e=function(e){var t=tt(e);return function(n){return function(r){return function(a){return R1e(t,n,r,a)}}}},SW=function(e){return x1e(e)(Qe)};var IW=function(e){var t=tt(e);return function(n){var r=function(a){var o=!1,i;function u(l){if(l instanceof Sr)return o=!0,B.value;if(l instanceof Dr){var c=t(n)(l.value2);if(c instanceof Ne){a=l.value4;return}if(c instanceof Pe){a=l.value5;return}if(c instanceof it)return o=!0,new j(l.value3);throw new Error("Failed pattern match at Data.Map.Internal (line 281, column 7 - line 284, column 22): "+[c.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 278, column 8 - line 284, column 22): "+[l.constructor.name])}for(;!o;)i=u(a);return i};return r}};var T1e=function(){var e=function(t){return function(n){var r=t,a=!1,o;function i(u,l){if(l instanceof Sr)return a=!0,u;if(l instanceof Dr){if(l.value5 instanceof Sr){r=new ox(l.value2,l.value3,u),n=l.value4;return}r=new ox(l.value2,l.value3,new ix(l.value5,u)),n=l.value4;return}throw new Error("Failed pattern match at Data.Map.Internal (line 929, column 13 - line 936, column 48): "+[l.constructor.name])}for(;!a;)o=i(r,n);return o}};return e}(),E1e=w1e(T1e);var F1e=function(){var e=function(t,n,r){return new j(new Ze(new Ze(t,n),r))};return E1e(e)(function(t){return B.value})}(),AW=function(e){var t=Hu(e)(F1e);return function(n){return t(b1e(n))}};var cx=function(e){var t=tt(e);return function(n){return function(r){var a=function(o){if(o instanceof Sr)return iD(n)(r);if(o instanceof Dr){var i=t(n)(o.value2);if(i instanceof Ne)return Mp(o.value2,o.value3,a(o.value4),o.value5);if(i instanceof Pe)return Mp(o.value2,o.value3,o.value4,a(o.value5));if(i instanceof it)return new Dr(o.value0,o.value1,n,r,o.value4,o.value5);throw new Error("Failed pattern match at Data.Map.Internal (line 469, column 7 - line 472, column 35): "+[i.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 466, column 8 - line 472, column 35): "+[o.constructor.name])};return a}}};var B0=function(){return Sr.value}(),LW=function(e){var t=cx(e);return function(n){return Vn(n)(function(r){return function(a){return t(a.value0)(a.value1)(r)}})(B0)}};var sx=typeof CV!="undefined"&&CV.assetsRoot||typeof global!="undefined"&&global.CV&&global.CV.assetsRoot||"/";var PW=ku(Of(Gr)),M1e=Ve(Je),S1e=CS()(),fx=function(e){var t=vi(e);return function(n){return gr(t(n))}},I1e=function(e){if(PW(fx("http://"))(PW(fx("https://"))(fx("//")))(e))return e;if(ut)return sx+at(e)(vi("/")(e));throw new Error("Failed pattern match at Utils.AppAssets (line 47, column 1 - line 47, column 30): "+[e.constructor.name])},W0=function(){return function(){return function(e){return function(t){var n=function(a){return M1e},r=n(t)($9("src")(I1e(t.src))(t));return S1e(e)(r)}}}},A1e=W0()(),jW=function(e){return function(t){return A1e(e)({src:t})}};var NW=({just:e,nothing:t})=>n=>{try{let r=new Date(n);return isNaN(r.getTime())?t:e(r)}catch{return t}},dx=e=>({year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),kW=()=>new Date,OW=(()=>{let e=new Date;return typeof window!="undefined"?()=>e:()=>{let t=new Date;return t-e>1e3&&(e=t),e}})();var L1e=(()=>{let e=new Date().toString(),t=(e.match(/\(([\w\s]+)\)$/)||[])[1];return t?/\s/.test(t)?(t.match(/\b(\w)/g)||[]).join(""):t:(t=(e.match(/(\w{3,4})\s\d{4}$/)||[])[1],t||(t=(e.match(/(UTC[\+\-]\d+)/)||[])[1],t)||(t=(e.match(/(GMT[\+\-]\d+)/)||[])[1],t)?t:"")})();var rkt=typeof Array.from=="function",akt=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",okt=typeof String.prototype.fromCodePoint=="function",ikt=typeof String.prototype.codePointAt=="function";var pge=ge(jr);var yc=ge(Bt),mge=Jt(fo),vge=Jt(da),hge=Jt(Ei),gge=Jt(Ii),_ge=Jt(Mi),yge=Jt(Fi),Dge=Jt(Si),bge=ue(bn),YW=ue($t),ZW=En(jr),wge=Ht(Ke);var Cge=function(){return Jm(Ml(B.value))}();var QW=function(e){return yc(mge(e.year))(function(t){return yc(vge(e.month+1|0))(function(n){return yc(hge(e.day))(function(r){return yc(gge(e.hour))(function(a){return yc(_ge(e.minute))(function(o){return yc(yge(e.second))(function(i){return yc(Dge(e.millisecond))(function(u){return bge(new aD(U0(t)(n)(r),new Rp(a,o,i,u)))})})})})})})})},KW=function(e){var t=y9("Failed to obtain current time. This should never happen.");return Pt(t)(YW)(QW(dx(e)))},_x=ZW(KW)(kW),ez=function(e){return Jm(pge(Pu(Cge))(Pt(ZW(KW)(OW))(YW)))},V0=function(e){return yc(wge(NW({just:j.create,nothing:B.value})(e))(dx))(QW)};var cD=ue(xr),Rge=Jr(),xge=Gn(wn)(tu),Tge=ms(Un),Ege=Ht(jl),Fge=Xc(Xm),Mge=_r(kt)()(),tz=St(lt),nz=Xr(ru),yx=function(){function e(){}return e.value=new e,e}(),rz=function(){function e(){}return e.value=new e,e}(),az=function(){function e(){}return e.value=new e,e}(),Dx=function(){function e(){}return e.value=new e,e}(),oz=function(){function e(){}return e.value=new e,e}(),iz=function(){function e(){}return e.value=new e,e}(),uz=function(){var e=function(t){var n=cD(yx.value),r=Rge(t),a=function(i){return function(u){if(u instanceof Dx)return xge(Tge(Ege(Fge(r.onClick))(qn(Qe(iz.value))(Qe(oz.value)))))(function(){return cD(rz.value)});if(u instanceof oz)return cD(yx.value);if(u instanceof iz)return cD(az.value);throw new Error("Failed pattern match at Utils.EffectButton (line 70, column 9 - line 72, column 24): "+[i.constructor.name,u.constructor.name])}},o=function(i){return function(u){var l=function(s){return Mge(Wt(r.buttonClass)("btn btn-primary px-4"))({onClick:s,disabled:Wt(r.disabled)(!1)})(Wt(r.buttonContent)(xn("Submit")))},c=Wt(r.render)({idle:l,inFlight:function(s){return tz("spinner spinner-border text-primary")("")},erroredOut:function(s){return rn([l(s),tz("invalid-feedback d-block")("Something went wrong. Try refreshing the page.")])}});if(i instanceof yx)return c.idle(nz(u)(Dx.value));if(i instanceof rz)return c.inFlight(ye);if(i instanceof az)return c.erroredOut(nz(u)(Dx.value));throw new Error("Failed pattern match at Utils.EffectButton (line 51, column 11 - line 54, column 65): "+[i.constructor.name])}};return{init:n,view:o,update:a}};return md("EffectButton")(e)};var lz=["http","https","mailto","tel"];function cz(e){let t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;let r=t.indexOf(":");if(r===-1)return t;let a=-1;for(;++aa||(a=t.indexOf("#"),a!==-1&&r>a)?t:"javascript:void(0)"}xt();var vz=Gt(bx());function Dc(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?fz(e.position):"start"in e||"end"in e?fz(e):"line"in e||"column"in e?wx(e):""}function wx(e){return dz(e&&e.line)+":"+dz(e&&e.column)}function fz(e){return wx(e&&e.start)+"-"+wx(e&&e.end)}function dz(e){return e&&typeof e=="number"?e:1}var xa=class extends Error{constructor(t,n,r){let a=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};super();if(typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){let i=r.indexOf(":");i===-1?a[1]=r:(a[0]=r.slice(0,i),a[1]=r.slice(i+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=Dc(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=a[0],this.ruleId=a[1],this.file,this.actual,this.expected,this.url,this.note}};xa.prototype.file="";xa.prototype.name="";xa.prototype.reason="";xa.prototype.message="";xa.prototype.stack="";xa.prototype.fatal=null;xa.prototype.column=null;xa.prototype.line=null;xa.prototype.source=null;xa.prototype.ruleId=null;xa.prototype.position=null;var Ai={basename:Sge,dirname:Ige,extname:Age,join:Lge,sep:"/"};function Sge(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');J0(e);let n=0,r=-1,a=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.charCodeAt(a)===47){if(o){n=a+1;break}}else r<0&&(o=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let i=-1,u=t.length-1;for(;a--;)if(e.charCodeAt(a)===47){if(o){n=a+1;break}}else i<0&&(o=!0,i=a+1),u>-1&&(e.charCodeAt(a)===t.charCodeAt(u--)?u<0&&(r=a):(u=-1,r=i));return n===r?r=i:r<0&&(r=e.length),e.slice(n,r)}function Ige(e){if(J0(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function Age(e){J0(e);let t=e.length,n=-1,r=0,a=-1,o=0,i;for(;t--;){let u=e.charCodeAt(t);if(u===47){if(i){r=t+1;break}continue}n<0&&(i=!0,n=t+1),u===46?a<0?a=t:o!==1&&(o=1):a>-1&&(o=-1)}return a<0||n<0||o===0||o===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function Lge(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function jge(e,t){let n="",r=0,a=-1,o=0,i=-1,u,l;for(;++i<=e.length;){if(i2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),a=i,o=0;continue}}else if(n.length>0){n="",r=0,a=i,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,i):n=e.slice(a+1,i),r=i-a-1;a=i,o=0}else u===46&&o>-1?o++:o=-1}return n}function J0(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var pz={cwd:Nge};function Nge(){return"/"}function Sp(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function mz(e){if(typeof e=="string")e=new URL(e);else if(!Sp(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return kge(e)}function kge(e){if(e.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let t=e.pathname,n=-1;for(;++ni.length,l;u&&i.push(a);try{l=e.apply(this,i)}catch(c){let s=c;if(u&&n)throw s;return a(s)}u||(l instanceof Promise?l.then(o,a):l instanceof Error?a(l):o(l))}function a(i,...u){n||(n=!0,t(i,...u))}function o(i){a(null,i)}}var Fx=Mz().freeze(),Fz={}.hasOwnProperty;function Mz(){let e=Tz(),t=[],n={},r,a=-1;return o.data=i,o.Parser=void 0,o.Compiler=void 0,o.freeze=u,o.attachers=t,o.use=l,o.parse=c,o.stringify=s,o.run=f,o.runSync=d,o.process=p,o.processSync=v,o;function o(){let b=Mz(),y=-1;for(;++y{if(S||!z||!Y)L(S);else{let X=o.stringify(z,Y);X==null||(Wge(X)?Y.value=X:Y.result=X),L(S,Y)}});function L(S,z){S||!z?F(S):C?C(z):y(null,z)}}}function v(b){let y;o.freeze(),Mx("processSync",o.Parser),Sx("processSync",o.Compiler);let D=Y0(b);return o.process(D,C),Az("processSync","process",y),D;function C(F){y=!0,Tx(F)}}}function Sz(e,t){return typeof e=="function"&&e.prototype&&(Hge(e.prototype)||t in e.prototype)}function Hge(e){let t;for(t in e)if(Fz.call(e,t))return!0;return!1}function Mx(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Sx(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Ix(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Iz(e){if(!X0(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Az(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Y0(e){return Bge(e)?e:new Ip(e)}function Bge(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Wge(e){return typeof e=="string"||(0,Ez.default)(e)}function Ax(e,t){let n=(t||{}).includeImageAlt;return Lz(e,typeof n=="boolean"?n:!0)}function Lz(e,t){return zge(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&Pz(e.children,t))||Array.isArray(e)&&Pz(e,t)||""}function Pz(e,t){let n=[],r=-1;for(;++ra?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),[].splice.apply(e,i);else for(n&&[].splice.apply(e,[t,n]);o0?(pr(e,e.length,0,t),e):t}var jz={}.hasOwnProperty;function fD(e){let t={},n=-1;for(;++ni))return;let z=t.events.length,Y=z,X,ee;for(;Y--;)if(t.events[Y][0]==="exit"&&t.events[Y][1].type==="chunkFlow"){if(X){ee=t.events[Y][1].end;break}X=!0}for(D(r),S=z;SF;){let L=n[I];t.containerState=L[1],L[0].exit.call(t,e)}n.length=F}function C(){a.write([null]),o=void 0,a=void 0,t.containerState._closeFlow=void 0}}function Jge(e,t,n){return dt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ap(e){if(e===null||un(e)||nf(e))return 1;if(rf(e))return 2}function Cc(e,t,n){let r=[],a=-1;for(;++a1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let f=Object.assign({},e[r][1].end),d=Object.assign({},e[n][1].start);Wz(f,-l),Wz(d,l),i={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},u={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a={type:l>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},u.end)},e[r][1].end=Object.assign({},i.start),e[n][1].start=Object.assign({},u.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Ta(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Ta(c,[["enter",a,t],["enter",i,t],["exit",i,t],["enter",o,t]]),c=Ta(c,Cc(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Ta(c,[["exit",o,t],["enter",u,t],["exit",u,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(s=2,c=Ta(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):s=0,pr(e,r-1,n-r+3,c),n=r+c.length-s-2;break}}for(n=-1;++n=4?i(c):n(c)}function i(c){return c===null?l(c):ke(c)?e.attempt(o_e,i,l)(c):(e.enter("codeFlowValue"),u(c))}function u(c){return c===null||ke(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),u)}function l(c){return e.exit("codeIndented"),t(c)}}function u_e(e,t,n){let r=this;return a;function a(i){return r.parser.lazy[r.now().line]?n(i):ke(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a):dt(e,o,"linePrefix",4+1)(i)}function o(i){let u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(i):ke(i)?a(i):n(i)}}var jx={name:"codeText",tokenize:s_e,resolve:l_e,previous:c_e};function l_e(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function gD(e,t,n,r,a,o,i,u,l){let c=l||Number.POSITIVE_INFINITY,s=0;return f;function f(D){return D===60?(e.enter(r),e.enter(a),e.enter(o),e.consume(D),e.exit(o),d):D===null||D===41||bc(D)?n(D):(e.enter(r),e.enter(i),e.enter(u),e.enter("chunkString",{contentType:"string"}),b(D))}function d(D){return D===62?(e.enter(o),e.consume(D),e.exit(o),e.exit(a),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(D))}function p(D){return D===62?(e.exit("chunkString"),e.exit(u),d(D)):D===null||D===60||ke(D)?n(D):(e.consume(D),D===92?v:p)}function v(D){return D===60||D===62||D===92?(e.consume(D),p):p(D)}function b(D){return D===40?++s>c?n(D):(e.consume(D),b):D===41?s--?(e.consume(D),b):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(r),t(D)):D===null||un(D)?s?n(D):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(r),t(D)):bc(D)?n(D):(e.consume(D),D===92?y:b)}function y(D){return D===40||D===41||D===92?(e.consume(D),b):b(D)}}function _D(e,t,n,r,a,o){let i=this,u=0,l;return c;function c(p){return e.enter(r),e.enter(a),e.consume(p),e.exit(a),e.enter(o),s}function s(p){return p===null||p===91||p===93&&!l||p===94&&!u&&"_hiddenFootnoteSupport"in i.parser.constructs||u>999?n(p):p===93?(e.exit(o),e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):ke(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||ke(p)||u++>999?(e.exit("chunkString"),s(p)):(e.consume(p),l=l||!zt(p),p===92?d:f)}function d(p){return p===91||p===92||p===93?(e.consume(p),u++,f):f(p)}}function yD(e,t,n,r,a,o){let i;return u;function u(d){return e.enter(r),e.enter(a),e.consume(d),e.exit(a),i=d===40?41:d,l}function l(d){return d===i?(e.enter(a),e.consume(d),e.exit(a),e.exit(r),t):(e.enter(o),c(d))}function c(d){return d===i?(e.exit(o),l(i)):d===null?n(d):ke(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),dt(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(d))}function s(d){return d===i||d===null||ke(d)?(e.exit("chunkString"),c(d)):(e.consume(d),d===92?f:s)}function f(d){return d===i||d===92?(e.consume(d),s):s(d)}}function af(e,t){let n;return r;function r(a){return ke(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):zt(a)?dt(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}function ma(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var kx={name:"definition",tokenize:g_e},h_e={tokenize:__e,partial:!0};function g_e(e,t,n){let r=this,a;return o;function o(l){return e.enter("definition"),_D.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function i(l){return a=ma(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),af(e,gD(e,e.attempt(h_e,dt(e,u,"whitespace"),dt(e,u,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(l)}function u(l){return l===null||ke(l)?(e.exit("definition"),r.parser.defined.includes(a)||r.parser.defined.push(a),t(l)):n(l)}}function __e(e,t,n){return r;function r(i){return un(i)?af(e,a)(i):n(i)}function a(i){return i===34||i===39||i===40?yD(e,dt(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(i):n(i)}function o(i){return i===null||ke(i)?t(i):n(i)}}var Ox={name:"hardBreakEscape",tokenize:y_e};function y_e(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),a}function a(o){return ke(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):n(o)}}var Ux={name:"headingAtx",tokenize:b_e,resolve:D_e};function D_e(e,t){let n=e.length-2,r=3,a,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},pr(e,r,n-r+1,[["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t]])),e}function b_e(e,t,n){let r=this,a=0;return o;function o(s){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(s)}function i(s){return s===35&&a++<6?(e.consume(s),i):s===null||un(s)?(e.exit("atxHeadingSequence"),r.interrupt?t(s):u(s)):n(s)}function u(s){return s===35?(e.enter("atxHeadingSequence"),l(s)):s===null||ke(s)?(e.exit("atxHeading"),t(s)):zt(s)?dt(e,u,"whitespace")(s):(e.enter("atxHeadingText"),c(s))}function l(s){return s===35?(e.consume(s),l):(e.exit("atxHeadingSequence"),u(s))}function c(s){return s===null||s===35||un(s)?(e.exit("atxHeadingText"),u(s)):(e.consume(s),c)}}var Gz=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Hx=["pre","script","style","textarea"];var Bx={name:"htmlFlow",tokenize:R_e,resolveTo:C_e,concrete:!0},w_e={tokenize:x_e,partial:!0};function C_e(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function R_e(e,t,n){let r=this,a,o,i,u,l;return c;function c(E){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(E),s}function s(E){return E===33?(e.consume(E),f):E===47?(e.consume(E),v):E===63?(e.consume(E),a=3,r.interrupt?t:Ce):pa(E)?(e.consume(E),i=String.fromCharCode(E),o=!0,b):n(E)}function f(E){return E===45?(e.consume(E),a=2,d):E===91?(e.consume(E),a=5,i="CDATA[",u=0,p):pa(E)?(e.consume(E),a=4,r.interrupt?t:Ce):n(E)}function d(E){return E===45?(e.consume(E),r.interrupt?t:Ce):n(E)}function p(E){return E===i.charCodeAt(u++)?(e.consume(E),u===i.length?r.interrupt?t:W:p):n(E)}function v(E){return pa(E)?(e.consume(E),i=String.fromCharCode(E),b):n(E)}function b(E){return E===null||E===47||E===62||un(E)?E!==47&&o&&Hx.includes(i.toLowerCase())?(a=1,r.interrupt?t(E):W(E)):Gz.includes(i.toLowerCase())?(a=6,E===47?(e.consume(E),y):r.interrupt?t(E):W(E)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(E):o?C(E):D(E)):E===45||mr(E)?(e.consume(E),i+=String.fromCharCode(E),b):n(E)}function y(E){return E===62?(e.consume(E),r.interrupt?t:W):n(E)}function D(E){return zt(E)?(e.consume(E),D):X(E)}function C(E){return E===47?(e.consume(E),X):E===58||E===95||pa(E)?(e.consume(E),F):zt(E)?(e.consume(E),C):X(E)}function F(E){return E===45||E===46||E===58||E===95||mr(E)?(e.consume(E),F):I(E)}function I(E){return E===61?(e.consume(E),L):zt(E)?(e.consume(E),I):C(E)}function L(E){return E===null||E===60||E===61||E===62||E===96?n(E):E===34||E===39?(e.consume(E),l=E,S):zt(E)?(e.consume(E),L):(l=null,z(E))}function S(E){return E===null||ke(E)?n(E):E===l?(e.consume(E),Y):(e.consume(E),S)}function z(E){return E===null||E===34||E===39||E===60||E===61||E===62||E===96||un(E)?I(E):(e.consume(E),z)}function Y(E){return E===47||E===62||zt(E)?C(E):n(E)}function X(E){return E===62?(e.consume(E),ee):n(E)}function ee(E){return zt(E)?(e.consume(E),ee):E===null||ke(E)?W(E):n(E)}function W(E){return E===45&&a===2?(e.consume(E),ie):E===60&&a===1?(e.consume(E),G):E===62&&a===4?(e.consume(E),Ee):E===63&&a===3?(e.consume(E),Ce):E===93&&a===5?(e.consume(E),de):ke(E)&&(a===6||a===7)?e.check(w_e,Ee,te)(E):E===null||ke(E)?te(E):(e.consume(E),W)}function te(E){return e.exit("htmlFlowData"),J(E)}function J(E){return E===null?P(E):ke(E)?e.attempt({tokenize:Q,partial:!0},J,P)(E):(e.enter("htmlFlowData"),W(E))}function Q(E,U,$){return Z;function Z(V){return E.enter("lineEnding"),E.consume(V),E.exit("lineEnding"),A}function A(V){return r.parser.lazy[r.now().line]?$(V):U(V)}}function ie(E){return E===45?(e.consume(E),Ce):W(E)}function G(E){return E===47?(e.consume(E),i="",ne):W(E)}function ne(E){return E===62&&Hx.includes(i.toLowerCase())?(e.consume(E),Ee):pa(E)&&i.length<8?(e.consume(E),i+=String.fromCharCode(E),ne):W(E)}function de(E){return E===93?(e.consume(E),Ce):W(E)}function Ce(E){return E===62?(e.consume(E),Ee):E===45&&a===2?(e.consume(E),Ce):W(E)}function Ee(E){return E===null||ke(E)?(e.exit("htmlFlowData"),P(E)):(e.consume(E),Ee)}function P(E){return e.exit("htmlFlow"),t(E)}}function x_e(e,t,n){return r;function r(a){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),e.attempt(_u,t,n)}}var Wx={name:"htmlText",tokenize:T_e};function T_e(e,t,n){let r=this,a,o,i,u;return l;function l(P){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(P),c}function c(P){return P===33?(e.consume(P),s):P===47?(e.consume(P),z):P===63?(e.consume(P),L):pa(P)?(e.consume(P),ee):n(P)}function s(P){return P===45?(e.consume(P),f):P===91?(e.consume(P),o="CDATA[",i=0,y):pa(P)?(e.consume(P),I):n(P)}function f(P){return P===45?(e.consume(P),d):n(P)}function d(P){return P===null||P===62?n(P):P===45?(e.consume(P),p):v(P)}function p(P){return P===null||P===62?n(P):v(P)}function v(P){return P===null?n(P):P===45?(e.consume(P),b):ke(P)?(u=v,de(P)):(e.consume(P),v)}function b(P){return P===45?(e.consume(P),Ee):v(P)}function y(P){return P===o.charCodeAt(i++)?(e.consume(P),i===o.length?D:y):n(P)}function D(P){return P===null?n(P):P===93?(e.consume(P),C):ke(P)?(u=D,de(P)):(e.consume(P),D)}function C(P){return P===93?(e.consume(P),F):D(P)}function F(P){return P===62?Ee(P):P===93?(e.consume(P),F):D(P)}function I(P){return P===null||P===62?Ee(P):ke(P)?(u=I,de(P)):(e.consume(P),I)}function L(P){return P===null?n(P):P===63?(e.consume(P),S):ke(P)?(u=L,de(P)):(e.consume(P),L)}function S(P){return P===62?Ee(P):L(P)}function z(P){return pa(P)?(e.consume(P),Y):n(P)}function Y(P){return P===45||mr(P)?(e.consume(P),Y):X(P)}function X(P){return ke(P)?(u=X,de(P)):zt(P)?(e.consume(P),X):Ee(P)}function ee(P){return P===45||mr(P)?(e.consume(P),ee):P===47||P===62||un(P)?W(P):n(P)}function W(P){return P===47?(e.consume(P),Ee):P===58||P===95||pa(P)?(e.consume(P),te):ke(P)?(u=W,de(P)):zt(P)?(e.consume(P),W):Ee(P)}function te(P){return P===45||P===46||P===58||P===95||mr(P)?(e.consume(P),te):J(P)}function J(P){return P===61?(e.consume(P),Q):ke(P)?(u=J,de(P)):zt(P)?(e.consume(P),J):W(P)}function Q(P){return P===null||P===60||P===61||P===62||P===96?n(P):P===34||P===39?(e.consume(P),a=P,ie):ke(P)?(u=Q,de(P)):zt(P)?(e.consume(P),Q):(e.consume(P),a=void 0,ne)}function ie(P){return P===a?(e.consume(P),G):P===null?n(P):ke(P)?(u=ie,de(P)):(e.consume(P),ie)}function G(P){return P===62||P===47||un(P)?W(P):n(P)}function ne(P){return P===null||P===34||P===39||P===60||P===61||P===96?n(P):P===62||un(P)?W(P):(e.consume(P),ne)}function de(P){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),dt(e,Ce,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ce(P){return e.enter("htmlTextData"),u(P)}function Ee(P){return P===62?(e.consume(P),e.exit("htmlTextData"),e.exit("htmlText"),t):n(P)}}var of={name:"labelEnd",tokenize:A_e,resolveTo:I_e,resolveAll:S_e},E_e={tokenize:L_e},F_e={tokenize:P_e},M_e={tokenize:j_e};function S_e(e){let t=-1,n;for(;++t-1&&(i[0]=i[0].slice(r)),o>0&&i.push(e[a].slice(0,o))),i}function Q_e(e,t){let n=-1,r=[],a;for(;++niye,contentInitial:()=>eye,disable:()=>uye,document:()=>K_e,flow:()=>nye,flowInitial:()=>tye,insideSpan:()=>oye,string:()=>rye,text:()=>aye});var K_e={[42]:va,[43]:va,[45]:va,[48]:va,[49]:va,[50]:va,[51]:va,[52]:va,[53]:va,[54]:va,[55]:va,[56]:va,[57]:va,[62]:dD},eye={[91]:kx},tye={[-2]:Q0,[-1]:Q0,[32]:Q0},nye={[35]:Ux,[42]:uf,[45]:[DD,uf],[60]:Bx,[61]:DD,[95]:uf,[96]:vD,[126]:vD},rye={[38]:mD,[92]:pD},aye={[-5]:K0,[-4]:K0,[-3]:K0,[33]:zx,[38]:mD,[42]:Z0,[60]:[Px,Wx],[91]:Gx,[92]:[Ox,pD],[93]:of,[95]:Z0,[96]:jx},oye={null:[Z0,$z]},iye={null:[42,95]},uye={null:[]};function Qz(e={}){let t=fD([qx].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:r(Uz),document:r(Hz),flow:r(qz),string:r(Vz),text:r(Jz)};return n;function r(a){return o;function o(i){return Zz(n,a,i)}}}var Kz=/[\0\t\n\r]/g;function eG(){let e=1,t="",n=!0,r;return a;function a(o,i,u){let l=[],c,s,f,d,p;for(o=t+o.toString(i),f=0,t="",n&&(o.charCodeAt(0)===65279&&f++,n=void 0);f13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?"\uFFFD":String.fromCharCode(n)}var lye=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function wD(e){return e.replace(lye,cye)}function cye(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let a=n.charCodeAt(1),o=a===120||a===88;return bD(n.slice(o?2:1),o?16:10)}return Lp(n)||e}var nG={}.hasOwnProperty,$x=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),sye(n)(tG(Qz(n).document().write(eG()(e,t,!0))))};function sye(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Ie),autolinkProtocol:W,autolinkEmail:W,atxHeading:u(Ge),blockQuote:u(pe),characterEscape:W,characterReference:W,codeFenced:u(he),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(he,l),codeText:u(ce,l),codeTextData:W,data:W,codeFlowValue:W,definition:u(Me),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(Re),hardBreakEscape:u(Fe),hardBreakTrailing:u(Fe),htmlFlow:u(qe,l),htmlFlowData:W,htmlText:u(qe,l),htmlTextData:W,image:u(ot),label:l,link:u(Ie),listItem:u($e),listItemValue:v,listOrdered:u(st,p),listUnordered:u(st),paragraph:u(Ue),reference:Z,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(Ge),strong:u(xe),thematicBreak:u(en)},exit:{atxHeading:s(),atxHeadingSequence:z,autolink:s(),autolinkEmail:oe,autolinkProtocol:le,blockQuote:s(),characterEscapeValue:te,characterReferenceMarkerHexadecimal:V,characterReferenceMarkerNumeric:V,characterReferenceValue:k,codeFenced:s(C),codeFencedFence:D,codeFencedFenceInfo:b,codeFencedFenceMeta:y,codeFlowValue:te,codeIndented:s(F),codeText:s(ne),codeTextData:te,data:te,definition:s(),definitionDestinationString:S,definitionLabelString:I,definitionTitleString:L,emphasis:s(),hardBreakEscape:s(Q),hardBreakTrailing:s(Q),htmlFlow:s(ie),htmlFlowData:te,htmlText:s(G),htmlTextData:te,image:s(Ce),label:P,labelText:Ee,lineEnding:J,link:s(de),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:A,resourceDestinationString:E,resourceTitleString:U,resource:$,setextHeading:s(ee),setextHeadingLineSequence:X,setextHeadingText:Y,strong:s(),thematicBreak:s()}};rG(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(re){let ve={type:"root",children:[]},ft={stack:[ve],tokenStack:[],config:t,enter:c,exit:f,buffer:l,resume:d,setData:o,getData:i},ln=[],pn=-1;for(;++pn0){let $a=ft.tokenStack[ft.tokenStack.length-1];($a[1]||aG).call(ft,void 0,$a[0])}for(ve.position={start:Rc(re.length>0?re[0][1].start:{line:1,column:1,offset:0}),end:Rc(re.length>0?re[re.length-2][1].end:{line:1,column:1,offset:0})},pn=-1;++pn{let r=this.data("settings");return $x(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function oG(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function iG(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` `}]}function uG(e,t){let n=t.value?t.value+` `:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,a={};r&&(a.className=["language-"+r]);let o={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function lG(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function cG(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Jo(e){let t=[],n=-1,r=0,a=0;for(;++n55295&&o<57344){let u=e.charCodeAt(n+1);o<56320&&u>56319&&u<57344?(i=String.fromCharCode(o,u),a=1):i="\uFFFD"}else i=String.fromCharCode(o);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function RD(e,t){let n=String(t.identifier).toUpperCase(),r=Jo(n.toLowerCase()),a=e.footnoteOrder.indexOf(n),o;a===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=a+1);let i=e.footnoteCounts[n],u={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,u);let l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,l),e.applyData(t,l)}function sG(e,t){let n=e.footnoteById,r=1;for(;r in n;)r++;let a=String(r);return n[a]={type:"footnoteDefinition",identifier:a,children:[{type:"paragraph",children:t.children}],position:t.position},RD(e,{type:"footnoteReference",identifier:a,position:t.position})}function fG(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function dG(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function xD(e,t){let n=t.referenceType,r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};let a=e.all(t),o=a[0];o&&o.type==="text"?o.value="["+o.value:a.unshift({type:"text",value:"["});let i=a[a.length-1];return i&&i.type==="text"?i.value+=r:a.push({type:"text",value:r}),a}function pG(e,t){let n=e.definition(t.identifier);if(!n)return xD(e,t);let r={src:Jo(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);let a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)}function mG(e,t){let n={src:Jo(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function vG(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function hG(e,t){let n=e.definition(t.identifier);if(!n)return xD(e,t);let r={href:Jo(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);let a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function gG(e,t){let n={href:Jo(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function _G(e,t,n){let r=e.all(t),a=n?dye(n):yG(t),o={},i=[];if(typeof t.checked=="boolean"){let s=r[0],f;s&&s.type==="element"&&s.tagName==="p"?f=s:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let u=-1;for(;++u1:t}function DG(e,t){let n={},r=e.all(t),a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a-1?r.offset:null}}}function xG(e,t){let n=e.all(t),r=n.shift(),a=[];if(r){let i={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],i),a.push(i)}if(n.length>0){let i={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=Pp(t.children[1]),l=jp(t.children[t.children.length-1]);u.line&&l.line&&(i.position={start:u,end:l}),a.push(i)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,o),e.applyData(t,o)}function TG(e,t,n){let r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",i=n&&n.type==="table"?n.align:void 0,u=i?i.length:t.children.length,l=-1,c=[];for(;++l0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return o.push(IG(t.slice(a),a>0,!1)),o.join("")}function IG(e,t,n){let r=0,a=e.length;if(t){let o=e.codePointAt(r);for(;o===FG||o===MG;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(a-1);for(;o===FG||o===MG;)a--,o=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function AG(e,t){let n={type:"text",value:SG(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function LG(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var PG={blockquote:oG,break:iG,code:uG,delete:lG,emphasis:cG,footnoteReference:RD,footnote:sG,heading:fG,html:dG,imageReference:pG,image:mG,inlineCode:vG,linkReference:hG,link:gG,listItem:_G,list:DG,paragraph:bG,root:wG,strong:CG,table:xG,tableCell:EG,tableRow:TG,text:AG,thematicBreak:LG,toml:TD,yaml:TD,definition:TD,footnoteDefinition:TD};function TD(){return null}var eh=function(e){if(e==null)return hye;if(typeof e=="string")return vye(e);if(typeof e=="object")return Array.isArray(e)?pye(e):mye(e);if(typeof e=="function")return ED(e);throw new Error("Expected function, string, or object as test")};function pye(e){let t=[],n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],p,v,b;if((!t||a(u,l,c[c.length-1]||null))&&(d=gye(n(u,c)),d[0]===FD))return d;if(u.children&&d[0]!==Xx)for(v=(r?u.children.length:-1)+o,b=c.concat(u);v>-1&&v{let a=kG(r.identifier);a&&!NG.call(t,a)&&(t[a]=r)}),n;function n(r){let a=kG(r);return a&&NG.call(t,a)?t[a]:null}}function kG(e){return String(e||"").toUpperCase()}var MD={}.hasOwnProperty;function OG(e,t){let n=t||{},r=n.allowDangerousHtml||!1,a={};return i.dangerous=r,i.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,i.footnoteLabel=n.footnoteLabel||"Footnotes",i.footnoteLabelTagName=n.footnoteLabelTagName||"h2",i.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},i.footnoteBackLabel=n.footnoteBackLabel||"Back to content",i.unknownHandler=n.unknownHandler,i.passThrough=n.passThrough,i.handlers=Zt(Zt({},PG),n.handlers),i.definition=Zx(e),i.footnoteById=a,i.footnoteOrder=[],i.footnoteCounts={},i.patch=_ye,i.applyData=yye,i.one=u,i.all=l,i.wrap=bye,i.augment=o,lf(e,"footnoteDefinition",c=>{let s=String(c.identifier).toUpperCase();MD.call(a,s)||(a[s]=c)}),i;function o(c,s){if(c&&"data"in c&&c.data){let f=c.data;f.hName&&(s.type!=="element"&&(s={type:"element",tagName:"",properties:{},children:[]}),s.tagName=f.hName),s.type==="element"&&f.hProperties&&(s.properties=Zt(Zt({},s.properties),f.hProperties)),"children"in s&&s.children&&f.hChildren&&(s.children=f.hChildren)}if(c){let f="type"in c?c:{position:c};Yx(f)||(s.position={start:Pp(f),end:jp(f)})}return s}function i(c,s,f,d){return Array.isArray(f)&&(d=f,f={}),o(c,{type:"element",tagName:s,properties:f||{},children:d||[]})}function u(c,s){return UG(i,c,s)}function l(c){return Qx(i,c)}}function _ye(e,t){e.position&&(t.position=Vx(e))}function yye(e,t){let n=t;if(e&&e.data){let r=e.data.hName,a=e.data.hChildren,o=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties=Zt(Zt({},n.properties),o)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function UG(e,t,n){let r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return MD.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?hr(Zt({},t),{children:Qx(e,t)}):t:e.unknownHandler?e.unknownHandler(e,t,n):Dye(e,t)}function Qx(e,t){let n=[];if("children"in t){let r=t.children,a=-1;for(;++a0&&n.push({type:"text",value:` `}),n}function HG(e){let t=[],n=-1;for(;++n1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};u>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(f)}let c=a[a.length-1];if(c&&c.type==="element"&&c.tagName==="p"){let f=c.children[c.children.length-1];f&&f.type==="text"?f.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else a.push(...l);let s={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(a,!0)};e.patch(r,s),t.push(s)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:hr(Zt({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:` `}]}}function SD(e,t){let n=OG(e,t),r=n.one(e,null),a=HG(n);return a&&r.children.push({type:"text",value:` `},a),Array.isArray(r)?{type:"root",children:r}:r}var wye=function(e,t){return e&&"run"in e?Cye(e,t):Rye(e||t)},Kx=wye;function Cye(e,t){return(n,r,a)=>{e.run(SD(n,t),r,o=>{a(o)})}}function Rye(e){return t=>SD(t,e)}var wt=Gt(S_());var xc=class{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};xc.prototype.property={};xc.prototype.normal={};xc.prototype.space=null;function e6(e,t){let n={},r={},a=-1;for(;++aMt,booleanish:()=>ur,commaOrSpaceSeparated:()=>Ha,commaSeparated:()=>Tc,number:()=>De,overloadedBoolean:()=>t6,spaceSeparated:()=>Rn});var xye=0,Mt=cf(),ur=cf(),t6=cf(),De=cf(),Rn=cf(),Tc=cf(),Ha=cf();function cf(){return 2**++xye}var n6=Object.keys(nh),Np=class extends Ea{constructor(t,n,r,a){let o=-1;super(t,n);if(BG(this,"space",a),typeof r=="number")for(;++o4&&n.slice(0,4)==="data"&&Eye.test(t)){if(t.charAt(4)==="-"){let o=t.slice(5).replace(GG,Sye);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=t.slice(4);if(!GG.test(o)){let i=o.replace(Fye,Mye);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}a=Np}return new a(r,t)}function Mye(e){return"-"+e.toLowerCase()}function Sye(e){return e.charAt(1).toUpperCase()}var LD={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var PD=e6([a6,r6,o6,i6,WG],"html"),jD=e6([a6,r6,o6,i6,zG],"svg");function u6(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{lf(t,"element",(n,r,a)=>{let o=a,i;if(e.allowedElements?i=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(n.tagName)),!i&&e.allowElement&&typeof r=="number"&&(i=!e.allowElement(n,r,o)),i&&typeof r=="number")return e.unwrapDisallowed&&n.children?o.children.splice(r,1,...n.children):o.children.splice(r,1),r})}}xt();var lq=Gt(JG());function XG(e){let t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function s6(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function YG(e){return e.join(" ").trim()}function f6(e){let t=[],n=String(e||""),r=n.indexOf(","),a=0,o=!1;for(;!o;){r===-1&&(r=n.length,o=!0);let i=n.slice(a,r).trim();(i||!o)&&t.push(i),a=r+1,r=n.indexOf(",",a)}return t}function ZG(e,t){let n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var iq=Gt(oq()),uq=iq.default;var p6={}.hasOwnProperty,Gye=new Set(["table","thead","tbody","tfoot","tr"]);function m6(e,t){let n=[],r=-1,a;for(;++r0?Dt.createElement(p,l,f):Dt.createElement(p,l)}function $ye(e){let t=-1;for(;++t for more info)`),delete $D[o]}let t=Fx().use(CD).use(e.remarkPlugins||[]).use(Kx,hr(Zt({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(u6,e),n=new Ip;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let a=Dt.createElement(Dt.Fragment,{},m6({options:e,schema:PD,listDepth:0},r));return e.className&&(a=Dt.createElement("div",{className:e.className},a)),a}VD.propTypes={children:wt.default.string,className:wt.default.string,allowElement:wt.default.func,allowedElements:wt.default.arrayOf(wt.default.string),disallowedElements:wt.default.arrayOf(wt.default.string),unwrapDisallowed:wt.default.bool,remarkPlugins:wt.default.arrayOf(wt.default.oneOfType([wt.default.object,wt.default.func,wt.default.arrayOf(wt.default.oneOfType([wt.default.bool,wt.default.string,wt.default.object,wt.default.func,wt.default.arrayOf(wt.default.any)]))])),rehypePlugins:wt.default.arrayOf(wt.default.oneOfType([wt.default.object,wt.default.func,wt.default.arrayOf(wt.default.oneOfType([wt.default.bool,wt.default.string,wt.default.object,wt.default.func,wt.default.arrayOf(wt.default.any)]))])),sourcePos:wt.default.bool,rawSourcePos:wt.default.bool,skipHtml:wt.default.bool,includeElementIndex:wt.default.bool,transformLinkUri:wt.default.oneOfType([wt.default.func,wt.default.bool]),linkTarget:wt.default.oneOfType([wt.default.func,wt.default.string]),transformImageUri:wt.default.func,components:wt.default.object};var sq=/[#.]/g;function h6(e,t){let n=e||"",r={},a=0,o,i;for(;al&&(l=c):c&&(l!==void 0&&l>-1&&u.push(` `.repeat(l)||" "),l=-1,u.push(c))}return u.join("")}function wq(e,t,n){return e.type==="element"?bDe(e,t,n):e.type==="text"?n.whitespace==="normal"?Cq(e,n):wDe(e):[]}function bDe(e,t,n){let r=Rq(e,n),a=e.children||[],o=-1,i=[];if(DDe(e))return i;let u,l;for(R6(e)||Dq(e)&&ZD(t,e,Dq)?l=` `:yDe(e)?(u=2,l=2):bq(e)&&(u=1,l=1);++o15?c="\u2026"+u.slice(a-15,a):c=u.slice(0,a);var s;o+15":">","<":"<",'"':""","'":"'"},ADe=/[&><"']/g;function LDe(e){return String(e).replace(ADe,t=>IDe[t])}var xq=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},PDe=function(t){var n=xq(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},jDe=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},NDe=function(t){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},ct={contains:EDe,deflt:FDe,escape:LDe,hyphenate:SDe,getBaseElem:xq,isCharacterBox:PDe,protocolFromUrl:NDe},QD={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 "},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 ",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 ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",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 ",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 ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function kDe(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var KD=class{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var n in QD)if(QD.hasOwnProperty(n)){var r=QD[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:kDe(r)}}reportNonstrict(t,n,r){var a=this.strict;if(typeof a=="function"&&(a=a(t,n,r)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new be("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);a==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var a=this.strict;if(typeof a=="function")try{a=a(t,n,r)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var n=ct.protocolFromUrl(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return Boolean(r)}},sl=class{constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return yu[ODe[this.id]]}sub(){return yu[UDe[this.id]]}fracNum(){return yu[HDe[this.id]]}fracDen(){return yu[BDe[this.id]]}cramp(){return yu[WDe[this.id]]}text(){return yu[zDe[this.id]]}isTight(){return this.size>=2}},T6=0,e2=1,kp=2,fl=3,ah=4,Zo=5,Op=6,Fa=7,yu=[new sl(T6,0,!1),new sl(e2,0,!0),new sl(kp,1,!1),new sl(fl,1,!0),new sl(ah,2,!1),new sl(Zo,2,!0),new sl(Op,3,!1),new sl(Fa,3,!0)],ODe=[ah,Zo,ah,Zo,Op,Fa,Op,Fa],UDe=[Zo,Zo,Zo,Zo,Fa,Fa,Fa,Fa],HDe=[kp,fl,ah,Zo,Op,Fa,Op,Fa],BDe=[fl,fl,Zo,Zo,Fa,Fa,Fa,Fa],WDe=[e2,e2,fl,fl,Zo,Zo,Fa,Fa],zDe=[T6,e2,kp,fl,kp,fl,kp,fl],pt={DISPLAY:yu[T6],TEXT:yu[kp],SCRIPT:yu[ah],SCRIPTSCRIPT:yu[Op]},E6=[{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 GDe(e){for(var t=0;t=a[0]&&e<=a[1])return n.name}return null}var t2=[];E6.forEach(e=>e.blocks.forEach(t=>t2.push(...t)));function Tq(e){for(var t=0;t=t2[t]&&e<=t2[t+1])return!0;return!1}var Up=80,qDe=function(t,n){return"M95,"+(622+t+n)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 c69,-144,104.5,-217.7,106.5,-221 l`+t/2.075+" -"+t+` c5.3,-9.3,12,-14,20,-14 H400000v`+(40+t)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},$De=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+t/2.084+" -"+t+` c4.7,-7.3,11,-11,19,-11 H40000v`+(40+t)+`H1012.3 s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},VDe=function(t,n){return"M983 "+(10+t+n)+` l`+t/3.13+" -"+t+` c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},JDe=function(t,n){return"M424,"+(2398+t+n)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000 v`+(40+t)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+` h400000v`+(40+t)+"h-400000z"},XDe=function(t,n){return"M473,"+(2713+t+n)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},YDe=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},ZDe=function(t,n,r){var a=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+` H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},QDe=function(t,n,r){n=1e3*n;var a="";switch(t){case"sqrtMain":a=qDe(n,Up);break;case"sqrtSize1":a=$De(n,Up);break;case"sqrtSize2":a=VDe(n,Up);break;case"sqrtSize3":a=JDe(n,Up);break;case"sqrtSize4":a=XDe(n,Up);break;case"sqrtTall":a=ZDe(n,Up,r)}return a},KDe=function(t,n){switch(t){case"\u239C":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"\u2223":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"\u2225":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"\u239F":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"\u23A2":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"\u23A5":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"\u23AA":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"\u23D0":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"\u2016":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},Eq={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 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 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 c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l -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 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 -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 -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 -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 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 -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 c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 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 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 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 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 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 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 435 0h399565z`,leftgroupunder:`M400000 262 H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 -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 -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 -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 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 -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 -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 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 -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 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 -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 -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 -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 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 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-70-101l-7-8h399905v-40H95l7-8 c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 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 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 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 -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 -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 -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 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 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 -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 -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 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l -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 s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 -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 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 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 -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 -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 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 -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 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 m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 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 -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 -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 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 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 -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 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 -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 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 -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 -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 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 -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 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 c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 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 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 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 -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 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 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 -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 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 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 -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 -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 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 -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 -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 -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 -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 -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, -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, -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, -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, -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 c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-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 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 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-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 -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 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -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 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -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 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},e2e=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z M347 1759 V0 h-84 V1759 v`+n+" 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 c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, -36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, -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, 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+` c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},Hp=class{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return ct.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),n=0;nn.toText();return this.children.map(t).join("")}},Du={"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]}},n2={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]},Fq={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function t2e(e,t){Du[e]=t}function F6(e,t,n){if(!Du[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),a=Du[t][r];if(!a&&e[0]in Fq&&(r=Fq[e[0]].charCodeAt(0),a=Du[t][r]),!a&&n==="text"&&Tq(r)&&(a=Du[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var M6={};function n2e(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!M6[t]){var n=M6[t]={cssEmPerMu:n2.quad[t]/18};for(var r in n2)n2.hasOwnProperty(r)&&(n[r]=n2[r][t])}return M6[t]}var r2e=[[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]],Mq=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Sq=function(t,n){return n.size<2?t:r2e[t-1][n.size-1]},bu=class{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||bu.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=Mq[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new bu(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Sq(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:Mq[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=Sq(bu.BASESIZE,t);return this.size===n&&this.textSize===bu.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==bu.BASESIZE?["sizing","reset-size"+this.size,"size"+bu.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=n2e(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};bu.BASESIZE=6;var S6={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},a2e={ex:!0,em:!0,mu:!0},Iq=function(t){return typeof t!="string"&&(t=t.unit),t in S6||t in a2e||t==="ex"},Kn=function(t,n){var r;if(t.unit in S6)r=S6[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var a;if(n.style.isTight()?a=n.havingStyle(n.style.text()):a=n,t.unit==="ex")r=a.fontMetrics().xHeight;else if(t.unit==="em")r=a.fontMetrics().quad;else throw new be("Invalid unit: '"+t.unit+"'");a!==n&&(r*=a.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Se=function(t){return+t.toFixed(4)+"em"},Ec=function(t){return t.filter(n=>n).join(" ")},Aq=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var a=n.getColor();a&&(this.style.color=a)}},Lq=function(t){var n=document.createElement(t);n.className=Ec(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&n.setAttribute(a,this.attributes[a]);for(var o=0;o",n},Bp=class{constructor(t,n,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Aq.call(this,t,r,a),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return ct.contains(this.classes,t)}toNode(){return Lq.call(this,"span")}toMarkup(){return Pq.call(this,"span")}},r2=class{constructor(t,n,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Aq.call(this,n,a),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return ct.contains(this.classes,t)}toNode(){return Lq.call(this,"a")}toMarkup(){return Pq.call(this,"a")}},jq=class{constructor(t,n,r){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=n,this.src=t,this.classes=["mord"],this.style=r}hasClass(t){return ct.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t}toMarkup(){var t=''+ct.escape(this.alt)+'0&&(n=document.createElement("span"),n.style.marginRight=Se(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Ec(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="0&&(r+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=ct.hyphenate(a)+":"+this.style[a]+";");r&&(t=!0,n+=' style="'+ct.escape(r)+'"');var o=ct.escape(this.text);return t?(n+=">",n+=o,n+="",n):o}},wu=class{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var a=0;a':''}},a2=class{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t=" but got "+String(e)+".")}var u2e={bin:1,close:1,inner:1,open:1,punct:1,rel:1},l2e={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Sn={math:{},text:{}};function g(e,t,n,r,a,o){Sn[e][a]={font:t,group:n,replace:r},o&&r&&(Sn[e][r]=Sn[e][a])}var w="math",me="text",x="main",N="ams",Bn="accent-token",ze="bin",Ma="close",Wp="inner",mt="mathord",br="op-token",vo="open",o2="punct",O="rel",pl="spacing",q="textord";g(w,x,O,"\u2261","\\equiv",!0);g(w,x,O,"\u227A","\\prec",!0);g(w,x,O,"\u227B","\\succ",!0);g(w,x,O,"\u223C","\\sim",!0);g(w,x,O,"\u22A5","\\perp");g(w,x,O,"\u2AAF","\\preceq",!0);g(w,x,O,"\u2AB0","\\succeq",!0);g(w,x,O,"\u2243","\\simeq",!0);g(w,x,O,"\u2223","\\mid",!0);g(w,x,O,"\u226A","\\ll",!0);g(w,x,O,"\u226B","\\gg",!0);g(w,x,O,"\u224D","\\asymp",!0);g(w,x,O,"\u2225","\\parallel");g(w,x,O,"\u22C8","\\bowtie",!0);g(w,x,O,"\u2323","\\smile",!0);g(w,x,O,"\u2291","\\sqsubseteq",!0);g(w,x,O,"\u2292","\\sqsupseteq",!0);g(w,x,O,"\u2250","\\doteq",!0);g(w,x,O,"\u2322","\\frown",!0);g(w,x,O,"\u220B","\\ni",!0);g(w,x,O,"\u221D","\\propto",!0);g(w,x,O,"\u22A2","\\vdash",!0);g(w,x,O,"\u22A3","\\dashv",!0);g(w,x,O,"\u220B","\\owns");g(w,x,o2,".","\\ldotp");g(w,x,o2,"\u22C5","\\cdotp");g(w,x,q,"#","\\#");g(me,x,q,"#","\\#");g(w,x,q,"&","\\&");g(me,x,q,"&","\\&");g(w,x,q,"\u2135","\\aleph",!0);g(w,x,q,"\u2200","\\forall",!0);g(w,x,q,"\u210F","\\hbar",!0);g(w,x,q,"\u2203","\\exists",!0);g(w,x,q,"\u2207","\\nabla",!0);g(w,x,q,"\u266D","\\flat",!0);g(w,x,q,"\u2113","\\ell",!0);g(w,x,q,"\u266E","\\natural",!0);g(w,x,q,"\u2663","\\clubsuit",!0);g(w,x,q,"\u2118","\\wp",!0);g(w,x,q,"\u266F","\\sharp",!0);g(w,x,q,"\u2662","\\diamondsuit",!0);g(w,x,q,"\u211C","\\Re",!0);g(w,x,q,"\u2661","\\heartsuit",!0);g(w,x,q,"\u2111","\\Im",!0);g(w,x,q,"\u2660","\\spadesuit",!0);g(w,x,q,"\xA7","\\S",!0);g(me,x,q,"\xA7","\\S");g(w,x,q,"\xB6","\\P",!0);g(me,x,q,"\xB6","\\P");g(w,x,q,"\u2020","\\dag");g(me,x,q,"\u2020","\\dag");g(me,x,q,"\u2020","\\textdagger");g(w,x,q,"\u2021","\\ddag");g(me,x,q,"\u2021","\\ddag");g(me,x,q,"\u2021","\\textdaggerdbl");g(w,x,Ma,"\u23B1","\\rmoustache",!0);g(w,x,vo,"\u23B0","\\lmoustache",!0);g(w,x,Ma,"\u27EF","\\rgroup",!0);g(w,x,vo,"\u27EE","\\lgroup",!0);g(w,x,ze,"\u2213","\\mp",!0);g(w,x,ze,"\u2296","\\ominus",!0);g(w,x,ze,"\u228E","\\uplus",!0);g(w,x,ze,"\u2293","\\sqcap",!0);g(w,x,ze,"\u2217","\\ast");g(w,x,ze,"\u2294","\\sqcup",!0);g(w,x,ze,"\u25EF","\\bigcirc",!0);g(w,x,ze,"\u2219","\\bullet",!0);g(w,x,ze,"\u2021","\\ddagger");g(w,x,ze,"\u2240","\\wr",!0);g(w,x,ze,"\u2A3F","\\amalg");g(w,x,ze,"&","\\And");g(w,x,O,"\u27F5","\\longleftarrow",!0);g(w,x,O,"\u21D0","\\Leftarrow",!0);g(w,x,O,"\u27F8","\\Longleftarrow",!0);g(w,x,O,"\u27F6","\\longrightarrow",!0);g(w,x,O,"\u21D2","\\Rightarrow",!0);g(w,x,O,"\u27F9","\\Longrightarrow",!0);g(w,x,O,"\u2194","\\leftrightarrow",!0);g(w,x,O,"\u27F7","\\longleftrightarrow",!0);g(w,x,O,"\u21D4","\\Leftrightarrow",!0);g(w,x,O,"\u27FA","\\Longleftrightarrow",!0);g(w,x,O,"\u21A6","\\mapsto",!0);g(w,x,O,"\u27FC","\\longmapsto",!0);g(w,x,O,"\u2197","\\nearrow",!0);g(w,x,O,"\u21A9","\\hookleftarrow",!0);g(w,x,O,"\u21AA","\\hookrightarrow",!0);g(w,x,O,"\u2198","\\searrow",!0);g(w,x,O,"\u21BC","\\leftharpoonup",!0);g(w,x,O,"\u21C0","\\rightharpoonup",!0);g(w,x,O,"\u2199","\\swarrow",!0);g(w,x,O,"\u21BD","\\leftharpoondown",!0);g(w,x,O,"\u21C1","\\rightharpoondown",!0);g(w,x,O,"\u2196","\\nwarrow",!0);g(w,x,O,"\u21CC","\\rightleftharpoons",!0);g(w,N,O,"\u226E","\\nless",!0);g(w,N,O,"\uE010","\\@nleqslant");g(w,N,O,"\uE011","\\@nleqq");g(w,N,O,"\u2A87","\\lneq",!0);g(w,N,O,"\u2268","\\lneqq",!0);g(w,N,O,"\uE00C","\\@lvertneqq");g(w,N,O,"\u22E6","\\lnsim",!0);g(w,N,O,"\u2A89","\\lnapprox",!0);g(w,N,O,"\u2280","\\nprec",!0);g(w,N,O,"\u22E0","\\npreceq",!0);g(w,N,O,"\u22E8","\\precnsim",!0);g(w,N,O,"\u2AB9","\\precnapprox",!0);g(w,N,O,"\u2241","\\nsim",!0);g(w,N,O,"\uE006","\\@nshortmid");g(w,N,O,"\u2224","\\nmid",!0);g(w,N,O,"\u22AC","\\nvdash",!0);g(w,N,O,"\u22AD","\\nvDash",!0);g(w,N,O,"\u22EA","\\ntriangleleft");g(w,N,O,"\u22EC","\\ntrianglelefteq",!0);g(w,N,O,"\u228A","\\subsetneq",!0);g(w,N,O,"\uE01A","\\@varsubsetneq");g(w,N,O,"\u2ACB","\\subsetneqq",!0);g(w,N,O,"\uE017","\\@varsubsetneqq");g(w,N,O,"\u226F","\\ngtr",!0);g(w,N,O,"\uE00F","\\@ngeqslant");g(w,N,O,"\uE00E","\\@ngeqq");g(w,N,O,"\u2A88","\\gneq",!0);g(w,N,O,"\u2269","\\gneqq",!0);g(w,N,O,"\uE00D","\\@gvertneqq");g(w,N,O,"\u22E7","\\gnsim",!0);g(w,N,O,"\u2A8A","\\gnapprox",!0);g(w,N,O,"\u2281","\\nsucc",!0);g(w,N,O,"\u22E1","\\nsucceq",!0);g(w,N,O,"\u22E9","\\succnsim",!0);g(w,N,O,"\u2ABA","\\succnapprox",!0);g(w,N,O,"\u2246","\\ncong",!0);g(w,N,O,"\uE007","\\@nshortparallel");g(w,N,O,"\u2226","\\nparallel",!0);g(w,N,O,"\u22AF","\\nVDash",!0);g(w,N,O,"\u22EB","\\ntriangleright");g(w,N,O,"\u22ED","\\ntrianglerighteq",!0);g(w,N,O,"\uE018","\\@nsupseteqq");g(w,N,O,"\u228B","\\supsetneq",!0);g(w,N,O,"\uE01B","\\@varsupsetneq");g(w,N,O,"\u2ACC","\\supsetneqq",!0);g(w,N,O,"\uE019","\\@varsupsetneqq");g(w,N,O,"\u22AE","\\nVdash",!0);g(w,N,O,"\u2AB5","\\precneqq",!0);g(w,N,O,"\u2AB6","\\succneqq",!0);g(w,N,O,"\uE016","\\@nsubseteqq");g(w,N,ze,"\u22B4","\\unlhd");g(w,N,ze,"\u22B5","\\unrhd");g(w,N,O,"\u219A","\\nleftarrow",!0);g(w,N,O,"\u219B","\\nrightarrow",!0);g(w,N,O,"\u21CD","\\nLeftarrow",!0);g(w,N,O,"\u21CF","\\nRightarrow",!0);g(w,N,O,"\u21AE","\\nleftrightarrow",!0);g(w,N,O,"\u21CE","\\nLeftrightarrow",!0);g(w,N,O,"\u25B3","\\vartriangle");g(w,N,q,"\u210F","\\hslash");g(w,N,q,"\u25BD","\\triangledown");g(w,N,q,"\u25CA","\\lozenge");g(w,N,q,"\u24C8","\\circledS");g(w,N,q,"\xAE","\\circledR");g(me,N,q,"\xAE","\\circledR");g(w,N,q,"\u2221","\\measuredangle",!0);g(w,N,q,"\u2204","\\nexists");g(w,N,q,"\u2127","\\mho");g(w,N,q,"\u2132","\\Finv",!0);g(w,N,q,"\u2141","\\Game",!0);g(w,N,q,"\u2035","\\backprime");g(w,N,q,"\u25B2","\\blacktriangle");g(w,N,q,"\u25BC","\\blacktriangledown");g(w,N,q,"\u25A0","\\blacksquare");g(w,N,q,"\u29EB","\\blacklozenge");g(w,N,q,"\u2605","\\bigstar");g(w,N,q,"\u2222","\\sphericalangle",!0);g(w,N,q,"\u2201","\\complement",!0);g(w,N,q,"\xF0","\\eth",!0);g(me,x,q,"\xF0","\xF0");g(w,N,q,"\u2571","\\diagup");g(w,N,q,"\u2572","\\diagdown");g(w,N,q,"\u25A1","\\square");g(w,N,q,"\u25A1","\\Box");g(w,N,q,"\u25CA","\\Diamond");g(w,N,q,"\xA5","\\yen",!0);g(me,N,q,"\xA5","\\yen",!0);g(w,N,q,"\u2713","\\checkmark",!0);g(me,N,q,"\u2713","\\checkmark");g(w,N,q,"\u2136","\\beth",!0);g(w,N,q,"\u2138","\\daleth",!0);g(w,N,q,"\u2137","\\gimel",!0);g(w,N,q,"\u03DD","\\digamma",!0);g(w,N,q,"\u03F0","\\varkappa");g(w,N,vo,"\u250C","\\@ulcorner",!0);g(w,N,Ma,"\u2510","\\@urcorner",!0);g(w,N,vo,"\u2514","\\@llcorner",!0);g(w,N,Ma,"\u2518","\\@lrcorner",!0);g(w,N,O,"\u2266","\\leqq",!0);g(w,N,O,"\u2A7D","\\leqslant",!0);g(w,N,O,"\u2A95","\\eqslantless",!0);g(w,N,O,"\u2272","\\lesssim",!0);g(w,N,O,"\u2A85","\\lessapprox",!0);g(w,N,O,"\u224A","\\approxeq",!0);g(w,N,ze,"\u22D6","\\lessdot");g(w,N,O,"\u22D8","\\lll",!0);g(w,N,O,"\u2276","\\lessgtr",!0);g(w,N,O,"\u22DA","\\lesseqgtr",!0);g(w,N,O,"\u2A8B","\\lesseqqgtr",!0);g(w,N,O,"\u2251","\\doteqdot");g(w,N,O,"\u2253","\\risingdotseq",!0);g(w,N,O,"\u2252","\\fallingdotseq",!0);g(w,N,O,"\u223D","\\backsim",!0);g(w,N,O,"\u22CD","\\backsimeq",!0);g(w,N,O,"\u2AC5","\\subseteqq",!0);g(w,N,O,"\u22D0","\\Subset",!0);g(w,N,O,"\u228F","\\sqsubset",!0);g(w,N,O,"\u227C","\\preccurlyeq",!0);g(w,N,O,"\u22DE","\\curlyeqprec",!0);g(w,N,O,"\u227E","\\precsim",!0);g(w,N,O,"\u2AB7","\\precapprox",!0);g(w,N,O,"\u22B2","\\vartriangleleft");g(w,N,O,"\u22B4","\\trianglelefteq");g(w,N,O,"\u22A8","\\vDash",!0);g(w,N,O,"\u22AA","\\Vvdash",!0);g(w,N,O,"\u2323","\\smallsmile");g(w,N,O,"\u2322","\\smallfrown");g(w,N,O,"\u224F","\\bumpeq",!0);g(w,N,O,"\u224E","\\Bumpeq",!0);g(w,N,O,"\u2267","\\geqq",!0);g(w,N,O,"\u2A7E","\\geqslant",!0);g(w,N,O,"\u2A96","\\eqslantgtr",!0);g(w,N,O,"\u2273","\\gtrsim",!0);g(w,N,O,"\u2A86","\\gtrapprox",!0);g(w,N,ze,"\u22D7","\\gtrdot");g(w,N,O,"\u22D9","\\ggg",!0);g(w,N,O,"\u2277","\\gtrless",!0);g(w,N,O,"\u22DB","\\gtreqless",!0);g(w,N,O,"\u2A8C","\\gtreqqless",!0);g(w,N,O,"\u2256","\\eqcirc",!0);g(w,N,O,"\u2257","\\circeq",!0);g(w,N,O,"\u225C","\\triangleq",!0);g(w,N,O,"\u223C","\\thicksim");g(w,N,O,"\u2248","\\thickapprox");g(w,N,O,"\u2AC6","\\supseteqq",!0);g(w,N,O,"\u22D1","\\Supset",!0);g(w,N,O,"\u2290","\\sqsupset",!0);g(w,N,O,"\u227D","\\succcurlyeq",!0);g(w,N,O,"\u22DF","\\curlyeqsucc",!0);g(w,N,O,"\u227F","\\succsim",!0);g(w,N,O,"\u2AB8","\\succapprox",!0);g(w,N,O,"\u22B3","\\vartriangleright");g(w,N,O,"\u22B5","\\trianglerighteq");g(w,N,O,"\u22A9","\\Vdash",!0);g(w,N,O,"\u2223","\\shortmid");g(w,N,O,"\u2225","\\shortparallel");g(w,N,O,"\u226C","\\between",!0);g(w,N,O,"\u22D4","\\pitchfork",!0);g(w,N,O,"\u221D","\\varpropto");g(w,N,O,"\u25C0","\\blacktriangleleft");g(w,N,O,"\u2234","\\therefore",!0);g(w,N,O,"\u220D","\\backepsilon");g(w,N,O,"\u25B6","\\blacktriangleright");g(w,N,O,"\u2235","\\because",!0);g(w,N,O,"\u22D8","\\llless");g(w,N,O,"\u22D9","\\gggtr");g(w,N,ze,"\u22B2","\\lhd");g(w,N,ze,"\u22B3","\\rhd");g(w,N,O,"\u2242","\\eqsim",!0);g(w,x,O,"\u22C8","\\Join");g(w,N,O,"\u2251","\\Doteq",!0);g(w,N,ze,"\u2214","\\dotplus",!0);g(w,N,ze,"\u2216","\\smallsetminus");g(w,N,ze,"\u22D2","\\Cap",!0);g(w,N,ze,"\u22D3","\\Cup",!0);g(w,N,ze,"\u2A5E","\\doublebarwedge",!0);g(w,N,ze,"\u229F","\\boxminus",!0);g(w,N,ze,"\u229E","\\boxplus",!0);g(w,N,ze,"\u22C7","\\divideontimes",!0);g(w,N,ze,"\u22C9","\\ltimes",!0);g(w,N,ze,"\u22CA","\\rtimes",!0);g(w,N,ze,"\u22CB","\\leftthreetimes",!0);g(w,N,ze,"\u22CC","\\rightthreetimes",!0);g(w,N,ze,"\u22CF","\\curlywedge",!0);g(w,N,ze,"\u22CE","\\curlyvee",!0);g(w,N,ze,"\u229D","\\circleddash",!0);g(w,N,ze,"\u229B","\\circledast",!0);g(w,N,ze,"\u22C5","\\centerdot");g(w,N,ze,"\u22BA","\\intercal",!0);g(w,N,ze,"\u22D2","\\doublecap");g(w,N,ze,"\u22D3","\\doublecup");g(w,N,ze,"\u22A0","\\boxtimes",!0);g(w,N,O,"\u21E2","\\dashrightarrow",!0);g(w,N,O,"\u21E0","\\dashleftarrow",!0);g(w,N,O,"\u21C7","\\leftleftarrows",!0);g(w,N,O,"\u21C6","\\leftrightarrows",!0);g(w,N,O,"\u21DA","\\Lleftarrow",!0);g(w,N,O,"\u219E","\\twoheadleftarrow",!0);g(w,N,O,"\u21A2","\\leftarrowtail",!0);g(w,N,O,"\u21AB","\\looparrowleft",!0);g(w,N,O,"\u21CB","\\leftrightharpoons",!0);g(w,N,O,"\u21B6","\\curvearrowleft",!0);g(w,N,O,"\u21BA","\\circlearrowleft",!0);g(w,N,O,"\u21B0","\\Lsh",!0);g(w,N,O,"\u21C8","\\upuparrows",!0);g(w,N,O,"\u21BF","\\upharpoonleft",!0);g(w,N,O,"\u21C3","\\downharpoonleft",!0);g(w,x,O,"\u22B6","\\origof",!0);g(w,x,O,"\u22B7","\\imageof",!0);g(w,N,O,"\u22B8","\\multimap",!0);g(w,N,O,"\u21AD","\\leftrightsquigarrow",!0);g(w,N,O,"\u21C9","\\rightrightarrows",!0);g(w,N,O,"\u21C4","\\rightleftarrows",!0);g(w,N,O,"\u21A0","\\twoheadrightarrow",!0);g(w,N,O,"\u21A3","\\rightarrowtail",!0);g(w,N,O,"\u21AC","\\looparrowright",!0);g(w,N,O,"\u21B7","\\curvearrowright",!0);g(w,N,O,"\u21BB","\\circlearrowright",!0);g(w,N,O,"\u21B1","\\Rsh",!0);g(w,N,O,"\u21CA","\\downdownarrows",!0);g(w,N,O,"\u21BE","\\upharpoonright",!0);g(w,N,O,"\u21C2","\\downharpoonright",!0);g(w,N,O,"\u21DD","\\rightsquigarrow",!0);g(w,N,O,"\u21DD","\\leadsto");g(w,N,O,"\u21DB","\\Rrightarrow",!0);g(w,N,O,"\u21BE","\\restriction");g(w,x,q,"\u2018","`");g(w,x,q,"$","\\$");g(me,x,q,"$","\\$");g(me,x,q,"$","\\textdollar");g(w,x,q,"%","\\%");g(me,x,q,"%","\\%");g(w,x,q,"_","\\_");g(me,x,q,"_","\\_");g(me,x,q,"_","\\textunderscore");g(w,x,q,"\u2220","\\angle",!0);g(w,x,q,"\u221E","\\infty",!0);g(w,x,q,"\u2032","\\prime");g(w,x,q,"\u25B3","\\triangle");g(w,x,q,"\u0393","\\Gamma",!0);g(w,x,q,"\u0394","\\Delta",!0);g(w,x,q,"\u0398","\\Theta",!0);g(w,x,q,"\u039B","\\Lambda",!0);g(w,x,q,"\u039E","\\Xi",!0);g(w,x,q,"\u03A0","\\Pi",!0);g(w,x,q,"\u03A3","\\Sigma",!0);g(w,x,q,"\u03A5","\\Upsilon",!0);g(w,x,q,"\u03A6","\\Phi",!0);g(w,x,q,"\u03A8","\\Psi",!0);g(w,x,q,"\u03A9","\\Omega",!0);g(w,x,q,"A","\u0391");g(w,x,q,"B","\u0392");g(w,x,q,"E","\u0395");g(w,x,q,"Z","\u0396");g(w,x,q,"H","\u0397");g(w,x,q,"I","\u0399");g(w,x,q,"K","\u039A");g(w,x,q,"M","\u039C");g(w,x,q,"N","\u039D");g(w,x,q,"O","\u039F");g(w,x,q,"P","\u03A1");g(w,x,q,"T","\u03A4");g(w,x,q,"X","\u03A7");g(w,x,q,"\xAC","\\neg",!0);g(w,x,q,"\xAC","\\lnot");g(w,x,q,"\u22A4","\\top");g(w,x,q,"\u22A5","\\bot");g(w,x,q,"\u2205","\\emptyset");g(w,N,q,"\u2205","\\varnothing");g(w,x,mt,"\u03B1","\\alpha",!0);g(w,x,mt,"\u03B2","\\beta",!0);g(w,x,mt,"\u03B3","\\gamma",!0);g(w,x,mt,"\u03B4","\\delta",!0);g(w,x,mt,"\u03F5","\\epsilon",!0);g(w,x,mt,"\u03B6","\\zeta",!0);g(w,x,mt,"\u03B7","\\eta",!0);g(w,x,mt,"\u03B8","\\theta",!0);g(w,x,mt,"\u03B9","\\iota",!0);g(w,x,mt,"\u03BA","\\kappa",!0);g(w,x,mt,"\u03BB","\\lambda",!0);g(w,x,mt,"\u03BC","\\mu",!0);g(w,x,mt,"\u03BD","\\nu",!0);g(w,x,mt,"\u03BE","\\xi",!0);g(w,x,mt,"\u03BF","\\omicron",!0);g(w,x,mt,"\u03C0","\\pi",!0);g(w,x,mt,"\u03C1","\\rho",!0);g(w,x,mt,"\u03C3","\\sigma",!0);g(w,x,mt,"\u03C4","\\tau",!0);g(w,x,mt,"\u03C5","\\upsilon",!0);g(w,x,mt,"\u03D5","\\phi",!0);g(w,x,mt,"\u03C7","\\chi",!0);g(w,x,mt,"\u03C8","\\psi",!0);g(w,x,mt,"\u03C9","\\omega",!0);g(w,x,mt,"\u03B5","\\varepsilon",!0);g(w,x,mt,"\u03D1","\\vartheta",!0);g(w,x,mt,"\u03D6","\\varpi",!0);g(w,x,mt,"\u03F1","\\varrho",!0);g(w,x,mt,"\u03C2","\\varsigma",!0);g(w,x,mt,"\u03C6","\\varphi",!0);g(w,x,ze,"\u2217","*",!0);g(w,x,ze,"+","+");g(w,x,ze,"\u2212","-",!0);g(w,x,ze,"\u22C5","\\cdot",!0);g(w,x,ze,"\u2218","\\circ",!0);g(w,x,ze,"\xF7","\\div",!0);g(w,x,ze,"\xB1","\\pm",!0);g(w,x,ze,"\xD7","\\times",!0);g(w,x,ze,"\u2229","\\cap",!0);g(w,x,ze,"\u222A","\\cup",!0);g(w,x,ze,"\u2216","\\setminus",!0);g(w,x,ze,"\u2227","\\land");g(w,x,ze,"\u2228","\\lor");g(w,x,ze,"\u2227","\\wedge",!0);g(w,x,ze,"\u2228","\\vee",!0);g(w,x,q,"\u221A","\\surd");g(w,x,vo,"\u27E8","\\langle",!0);g(w,x,vo,"\u2223","\\lvert");g(w,x,vo,"\u2225","\\lVert");g(w,x,Ma,"?","?");g(w,x,Ma,"!","!");g(w,x,Ma,"\u27E9","\\rangle",!0);g(w,x,Ma,"\u2223","\\rvert");g(w,x,Ma,"\u2225","\\rVert");g(w,x,O,"=","=");g(w,x,O,":",":");g(w,x,O,"\u2248","\\approx",!0);g(w,x,O,"\u2245","\\cong",!0);g(w,x,O,"\u2265","\\ge");g(w,x,O,"\u2265","\\geq",!0);g(w,x,O,"\u2190","\\gets");g(w,x,O,">","\\gt",!0);g(w,x,O,"\u2208","\\in",!0);g(w,x,O,"\uE020","\\@not");g(w,x,O,"\u2282","\\subset",!0);g(w,x,O,"\u2283","\\supset",!0);g(w,x,O,"\u2286","\\subseteq",!0);g(w,x,O,"\u2287","\\supseteq",!0);g(w,N,O,"\u2288","\\nsubseteq",!0);g(w,N,O,"\u2289","\\nsupseteq",!0);g(w,x,O,"\u22A8","\\models");g(w,x,O,"\u2190","\\leftarrow",!0);g(w,x,O,"\u2264","\\le");g(w,x,O,"\u2264","\\leq",!0);g(w,x,O,"<","\\lt",!0);g(w,x,O,"\u2192","\\rightarrow",!0);g(w,x,O,"\u2192","\\to");g(w,N,O,"\u2271","\\ngeq",!0);g(w,N,O,"\u2270","\\nleq",!0);g(w,x,pl,"\xA0","\\ ");g(w,x,pl,"\xA0","\\space");g(w,x,pl,"\xA0","\\nobreakspace");g(me,x,pl,"\xA0","\\ ");g(me,x,pl,"\xA0"," ");g(me,x,pl,"\xA0","\\space");g(me,x,pl,"\xA0","\\nobreakspace");g(w,x,pl,null,"\\nobreak");g(w,x,pl,null,"\\allowbreak");g(w,x,o2,",",",");g(w,x,o2,";",";");g(w,N,ze,"\u22BC","\\barwedge",!0);g(w,N,ze,"\u22BB","\\veebar",!0);g(w,x,ze,"\u2299","\\odot",!0);g(w,x,ze,"\u2295","\\oplus",!0);g(w,x,ze,"\u2297","\\otimes",!0);g(w,x,q,"\u2202","\\partial",!0);g(w,x,ze,"\u2298","\\oslash",!0);g(w,N,ze,"\u229A","\\circledcirc",!0);g(w,N,ze,"\u22A1","\\boxdot",!0);g(w,x,ze,"\u25B3","\\bigtriangleup");g(w,x,ze,"\u25BD","\\bigtriangledown");g(w,x,ze,"\u2020","\\dagger");g(w,x,ze,"\u22C4","\\diamond");g(w,x,ze,"\u22C6","\\star");g(w,x,ze,"\u25C3","\\triangleleft");g(w,x,ze,"\u25B9","\\triangleright");g(w,x,vo,"{","\\{");g(me,x,q,"{","\\{");g(me,x,q,"{","\\textbraceleft");g(w,x,Ma,"}","\\}");g(me,x,q,"}","\\}");g(me,x,q,"}","\\textbraceright");g(w,x,vo,"{","\\lbrace");g(w,x,Ma,"}","\\rbrace");g(w,x,vo,"[","\\lbrack",!0);g(me,x,q,"[","\\lbrack",!0);g(w,x,Ma,"]","\\rbrack",!0);g(me,x,q,"]","\\rbrack",!0);g(w,x,vo,"(","\\lparen",!0);g(w,x,Ma,")","\\rparen",!0);g(me,x,q,"<","\\textless",!0);g(me,x,q,">","\\textgreater",!0);g(w,x,vo,"\u230A","\\lfloor",!0);g(w,x,Ma,"\u230B","\\rfloor",!0);g(w,x,vo,"\u2308","\\lceil",!0);g(w,x,Ma,"\u2309","\\rceil",!0);g(w,x,q,"\\","\\backslash");g(w,x,q,"\u2223","|");g(w,x,q,"\u2223","\\vert");g(me,x,q,"|","\\textbar",!0);g(w,x,q,"\u2225","\\|");g(w,x,q,"\u2225","\\Vert");g(me,x,q,"\u2225","\\textbardbl");g(me,x,q,"~","\\textasciitilde");g(me,x,q,"\\","\\textbackslash");g(me,x,q,"^","\\textasciicircum");g(w,x,O,"\u2191","\\uparrow",!0);g(w,x,O,"\u21D1","\\Uparrow",!0);g(w,x,O,"\u2193","\\downarrow",!0);g(w,x,O,"\u21D3","\\Downarrow",!0);g(w,x,O,"\u2195","\\updownarrow",!0);g(w,x,O,"\u21D5","\\Updownarrow",!0);g(w,x,br,"\u2210","\\coprod");g(w,x,br,"\u22C1","\\bigvee");g(w,x,br,"\u22C0","\\bigwedge");g(w,x,br,"\u2A04","\\biguplus");g(w,x,br,"\u22C2","\\bigcap");g(w,x,br,"\u22C3","\\bigcup");g(w,x,br,"\u222B","\\int");g(w,x,br,"\u222B","\\intop");g(w,x,br,"\u222C","\\iint");g(w,x,br,"\u222D","\\iiint");g(w,x,br,"\u220F","\\prod");g(w,x,br,"\u2211","\\sum");g(w,x,br,"\u2A02","\\bigotimes");g(w,x,br,"\u2A01","\\bigoplus");g(w,x,br,"\u2A00","\\bigodot");g(w,x,br,"\u222E","\\oint");g(w,x,br,"\u222F","\\oiint");g(w,x,br,"\u2230","\\oiiint");g(w,x,br,"\u2A06","\\bigsqcup");g(w,x,br,"\u222B","\\smallint");g(me,x,Wp,"\u2026","\\textellipsis");g(w,x,Wp,"\u2026","\\mathellipsis");g(me,x,Wp,"\u2026","\\ldots",!0);g(w,x,Wp,"\u2026","\\ldots",!0);g(w,x,Wp,"\u22EF","\\@cdots",!0);g(w,x,Wp,"\u22F1","\\ddots",!0);g(w,x,q,"\u22EE","\\varvdots");g(w,x,Bn,"\u02CA","\\acute");g(w,x,Bn,"\u02CB","\\grave");g(w,x,Bn,"\xA8","\\ddot");g(w,x,Bn,"~","\\tilde");g(w,x,Bn,"\u02C9","\\bar");g(w,x,Bn,"\u02D8","\\breve");g(w,x,Bn,"\u02C7","\\check");g(w,x,Bn,"^","\\hat");g(w,x,Bn,"\u20D7","\\vec");g(w,x,Bn,"\u02D9","\\dot");g(w,x,Bn,"\u02DA","\\mathring");g(w,x,mt,"\uE131","\\@imath");g(w,x,mt,"\uE237","\\@jmath");g(w,x,q,"\u0131","\u0131");g(w,x,q,"\u0237","\u0237");g(me,x,q,"\u0131","\\i",!0);g(me,x,q,"\u0237","\\j",!0);g(me,x,q,"\xDF","\\ss",!0);g(me,x,q,"\xE6","\\ae",!0);g(me,x,q,"\u0153","\\oe",!0);g(me,x,q,"\xF8","\\o",!0);g(me,x,q,"\xC6","\\AE",!0);g(me,x,q,"\u0152","\\OE",!0);g(me,x,q,"\xD8","\\O",!0);g(me,x,Bn,"\u02CA","\\'");g(me,x,Bn,"\u02CB","\\`");g(me,x,Bn,"\u02C6","\\^");g(me,x,Bn,"\u02DC","\\~");g(me,x,Bn,"\u02C9","\\=");g(me,x,Bn,"\u02D8","\\u");g(me,x,Bn,"\u02D9","\\.");g(me,x,Bn,"\xB8","\\c");g(me,x,Bn,"\u02DA","\\r");g(me,x,Bn,"\u02C7","\\v");g(me,x,Bn,"\xA8",'\\"');g(me,x,Bn,"\u02DD","\\H");g(me,x,Bn,"\u25EF","\\textcircled");var kq={"--":!0,"---":!0,"``":!0,"''":!0};g(me,x,q,"\u2013","--",!0);g(me,x,q,"\u2013","\\textendash");g(me,x,q,"\u2014","---",!0);g(me,x,q,"\u2014","\\textemdash");g(me,x,q,"\u2018","`",!0);g(me,x,q,"\u2018","\\textquoteleft");g(me,x,q,"\u2019","'",!0);g(me,x,q,"\u2019","\\textquoteright");g(me,x,q,"\u201C","``",!0);g(me,x,q,"\u201C","\\textquotedblleft");g(me,x,q,"\u201D","''",!0);g(me,x,q,"\u201D","\\textquotedblright");g(w,x,q,"\xB0","\\degree",!0);g(me,x,q,"\xB0","\\degree");g(me,x,q,"\xB0","\\textdegree",!0);g(w,x,q,"\xA3","\\pounds");g(w,x,q,"\xA3","\\mathsterling",!0);g(me,x,q,"\xA3","\\pounds");g(me,x,q,"\xA3","\\textsterling",!0);g(w,N,q,"\u2720","\\maltese");g(me,N,q,"\u2720","\\maltese");var Oq='0123456789/@."';for(i2=0;i20)return Li(o,c,a,n,i.concat(s));if(l){var f,d;if(l==="boldsymbol"){var p=f2e(o,a,n,i,r);f=p.fontName,d=[p.fontClass]}else u?(f=zq[l].fontName,d=[l]):(f=p2(l,n.fontWeight,n.fontShape),d=[l,n.fontWeight,n.fontShape]);if(d2(o,f,a).metrics)return Li(o,f,a,n,i.concat(d));if(kq.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var v=[],b=0;b{if(Ec(e.classes)!==Ec(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},m2e=e=>{for(var t=0;tn&&(n=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=a},Wa=function(t,n,r,a){var o=new Bp(t,n,r,a);return P6(o),o},Bq=(e,t,n,r)=>new Bp(e,t,n,r),v2e=function(t,n,r){var a=Wa([t],[],n);return a.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),a.style.borderBottomWidth=Se(a.height),a.maxFontSize=1,a},h2e=function(t,n,r,a){var o=new r2(t,n,r,a);return P6(o),o},Wq=function(t){var n=new Hp(t);return P6(n),n},g2e=function(t,n){return t instanceof Hp?Wa([],[t],n):t},_2e=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],a=-n[0].shift-n[0].elem.depth,o=a,i=1;i{var n=Wa(["mspace"],[],t),r=Kn(e,t);return n.style.marginRight=Se(r),n},p2=function(t,n,r){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var o;return n==="textbf"&&r==="textit"?o="BoldItalic":n==="textbf"?o="Bold":n==="textit"?o="Italic":o="Regular",a+"-"+o},zq={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Gq={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},b2e=function(t,n){var[r,a,o]=Gq[t],i=new dl(r),u=new wu([i],{width:Se(a),height:Se(o),style:"width:"+Se(a),viewBox:"0 0 "+1e3*a+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=Bq(["overlay"],[u],n);return l.height=o,l.style.height=Se(o),l.style.width=Se(a),l},K={fontMap:zq,makeSymbol:Li,mathsym:s2e,makeSpan:Wa,makeSvgSpan:Bq,makeLineSpan:v2e,makeAnchor:h2e,makeFragment:Wq,wrapFragment:g2e,makeVList:y2e,makeOrd:d2e,makeGlue:D2e,staticSvg:b2e,svgData:Gq,tryCombineChars:m2e},tr={number:3,unit:"mu"},ff={number:4,unit:"mu"},vl={number:5,unit:"mu"},w2e={mord:{mop:tr,mbin:ff,mrel:vl,minner:tr},mop:{mord:tr,mop:tr,mrel:vl,minner:tr},mbin:{mord:ff,mop:ff,mopen:ff,minner:ff},mrel:{mord:vl,mop:vl,mopen:vl,minner:vl},mopen:{},mclose:{mop:tr,mbin:ff,mrel:vl,minner:tr},mpunct:{mord:tr,mop:tr,mrel:vl,mopen:tr,mclose:tr,mpunct:tr,minner:tr},minner:{mord:tr,mop:tr,mbin:ff,mrel:vl,mopen:tr,mpunct:tr,minner:tr}},C2e={mord:{mop:tr},mop:{mord:tr,mop:tr},mbin:{},mrel:{},mopen:{},mclose:{mop:tr},mpunct:{},minner:{mop:tr}},qq={},m2={},v2={};function Be(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:o,mathmlBuilder:i}=e,u={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:a},l=0;l{var y=b.classes[0],D=v.classes[0];y==="mbin"&&ct.contains(x2e,D)?b.classes[0]="mord":D==="mbin"&&ct.contains(R2e,y)&&(v.classes[0]="mord")},{node:f},d,p),$q(o,(v,b)=>{var y=j6(b),D=j6(v),C=y&&D?v.hasClass("mtight")?C2e[y][D]:w2e[y][D]:null;if(C)return K.makeGlue(C,c)},{node:f},d,p),o},$q=function e(t,n,r,a,o){a&&t.push(a);for(var i=0;id=>{t.splice(f+1,0,d),i++})(i)}a&&t.pop()},Vq=function(t){return t instanceof Hp||t instanceof r2||t instanceof Bp&&t.hasClass("enclosing")?t:null},F2e=function e(t,n){var r=Vq(t);if(r){var a=r.children;if(a.length){if(n==="right")return e(a[a.length-1],"right");if(n==="left")return e(a[0],"left")}}return t},j6=function(t,n){return t?(n&&(t=F2e(t,n)),E2e[t.classes[0]]||null):null},uh=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return hl(n.concat(r))},on=function(t,n,r){if(!t)return hl();if(m2[t.type]){var a=m2[t.type](t,n);if(r&&n.size!==r.size){a=hl(n.sizingClasses(r),[a],n);var o=n.sizeMultiplier/r.sizeMultiplier;a.height*=o,a.depth*=o}return a}else throw new be("Got group of unknown type: '"+t.type+"'")};function g2(e,t){var n=hl(["base"],e,t),r=hl(["strut"]);return r.style.height=Se(n.height+n.depth),n.depth&&(r.style.verticalAlign=Se(-n.depth)),n.children.unshift(r),n}function N6(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=Ir(e,t,"root"),a;r.length===2&&r[1].hasClass("tag")&&(a=r.pop());for(var o=[],i=[],u=0;u0&&(o.push(g2(i,t)),i=[]),o.push(r[u]));i.length>0&&o.push(g2(i,t));var c;n?(c=g2(Ir(n,t,!0)),c.classes=["tag"],o.push(c)):a&&o.push(a);var s=hl(["katex-html"],o);if(s.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Se(s.height+s.depth),s.depth&&(f.style.verticalAlign=Se(-s.depth))}return s}function Jq(e){return new Hp(e)}var ho=class{constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=Ec(this.classes));for(var r=0;r0&&(t+=' class ="'+ct.escape(Ec(this.classes))+'"'),t+=">";for(var r=0;r",t}toText(){return this.children.map(t=>t.toText()).join("")}},zp=class{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return ct.escape(this.toText())}toText(){return this.text}},Xq=class{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character="\u200A":t>=.1666&&t<=.1667?this.character="\u2009":t>=.2222&&t<=.2223?this.character="\u2005":t>=.2777&&t<=.2778?this.character="\u2005\u200A":t>=-.05556&&t<=-.05555?this.character="\u200A\u2063":t>=-.1667&&t<=-.1666?this.character="\u2009\u2063":t>=-.2223&&t<=-.2222?this.character="\u205F\u2063":t>=-.2778&&t<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",Se(this.width)),t}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},_e={MathNode:ho,TextNode:zp,SpaceNode:Xq,newDocumentFragment:Jq},Qo=function(t,n,r){return Sn[n][t]&&Sn[n][t].replace&&t.charCodeAt(0)!==55349&&!(kq.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=Sn[n][t].replace),new _e.TextNode(t)},k6=function(t){return t.length===1?t[0]:new _e.MathNode("mrow",t)},O6=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var a=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var o=t.text;if(ct.contains(["\\imath","\\jmath"],o))return null;Sn[a][o]&&Sn[a][o].replace&&(o=Sn[a][o].replace);var i=K.fontMap[r].fontName;return F6(o,i,a)?K.fontMap[r].variant:null},za=function(t,n,r){if(t.length===1){var a=Tn(t[0],n);return r&&a instanceof ho&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var o=[],i,u=0;u0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),i=l}return o},Mc=function(t,n,r){return k6(za(t,n,r))},Tn=function(t,n){if(!t)return new _e.MathNode("mrow");if(v2[t.type]){var r=v2[t.type](t,n);return r}else throw new be("Got group of unknown type: '"+t.type+"'")};function Yq(e,t,n,r,a){var o=za(e,n),i;o.length===1&&o[0]instanceof ho&&ct.contains(["mrow","mtable"],o[0].type)?i=o[0]:i=new _e.MathNode("mrow",o);var u=new _e.MathNode("annotation",[new _e.TextNode(t)]);u.setAttribute("encoding","application/x-tex");var l=new _e.MathNode("semantics",[i,u]),c=new _e.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var s=a?"katex":"katex-mathml";return K.makeSpan([s],[c])}var Zq=function(t){return new bu({style:t.displayMode?pt.DISPLAY:pt.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Qq=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=K.makeSpan(r,[t])}return t},M2e=function(t,n,r){var a=Zq(r),o;if(r.output==="mathml")return Yq(t,n,a,r.displayMode,!0);if(r.output==="html"){var i=N6(t,a);o=K.makeSpan(["katex"],[i])}else{var u=Yq(t,n,a,r.displayMode,!1),l=N6(t,a);o=K.makeSpan(["katex"],[u,l])}return Qq(o,r)},S2e=function(t,n,r){var a=Zq(r),o=N6(t,a),i=K.makeSpan(["katex"],[o]);return Qq(i,r)},I2e={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},A2e=function(t){var n=new _e.MathNode("mo",[new _e.TextNode(I2e[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},L2e={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},P2e=function(t){return t.type==="ordgroup"?t.body.length:1},j2e=function(t,n){function r(){var u=4e5,l=t.label.slice(1);if(ct.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=t,s=P2e(c.base),f,d,p;if(s>5)l==="widehat"||l==="widecheck"?(f=420,u=2364,p=.42,d=l+"4"):(f=312,u=2340,p=.34,d="tilde4");else{var v=[1,1,2,2,3,3][s];l==="widehat"||l==="widecheck"?(u=[0,1062,2364,2364,2364][v],f=[0,239,300,360,420][v],p=[0,.24,.3,.3,.36,.42][v],d=l+v):(u=[0,600,1033,2339,2340][v],f=[0,260,286,306,312][v],p=[0,.26,.286,.3,.306,.34][v],d="tilde"+v)}var b=new dl(d),y=new wu([b],{width:"100%",height:Se(p),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:K.makeSvgSpan([],[y],n),minWidth:0,height:p}}else{var D=[],C=L2e[l],[F,I,L]=C,S=L/1e3,z=F.length,Y,X;if(z===1){var ee=C[3];Y=["hide-tail"],X=[ee]}else if(z===2)Y=["halfarrow-left","halfarrow-right"],X=["xMinYMin","xMaxYMin"];else if(z===3)Y=["brace-left","brace-center","brace-right"],X=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+z+" children.");for(var W=0;W0&&(a.style.minWidth=Se(o)),a},N2e=function(t,n,r,a,o){var i,u=t.height+t.depth+r+a;if(/fbox|color|angl/.test(n)){if(i=K.makeSpan(["stretchy",n],[],o),n==="fbox"){var l=o.color&&o.getColor();l&&(i.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(n)&&c.push(new a2({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&c.push(new a2({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var s=new wu(c,{width:"100%",height:Se(u)});i=K.makeSvgSpan([],[s],o)}return i.height=u,i.style.height=Se(u),i},gl={encloseSpan:N2e,mathMLnode:A2e,svgSpan:j2e};function At(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function U6(e){var t=_2(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function _2(e){return e&&(e.type==="atom"||l2e.hasOwnProperty(e.type))?e:null}var H6=(e,t)=>{var n,r,a;e&&e.type==="supsub"?(r=At(e.base,"accent"),n=r.base,e.base=n,a=i2e(on(e,t)),e.base=r):(r=At(e,"accent"),n=r.base);var o=on(n,t.havingCrampedStyle()),i=r.isShifty&&ct.isCharacterBox(n),u=0;if(i){var l=ct.getBaseElem(n),c=on(l,t.havingCrampedStyle());u=Nq(c).skew}var s=r.label==="\\c",f=s?o.height+o.depth:Math.min(o.height,t.fontMetrics().xHeight),d;if(r.isStretchy)d=gl.svgSpan(r,t),d=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+Se(2*u)+")",marginLeft:Se(2*u)}:void 0}]},t);else{var p,v;r.label==="\\vec"?(p=K.staticSvg("vec",t),v=K.svgData.vec[1]):(p=K.makeOrd({mode:r.mode,text:r.label},t,"textord"),p=Nq(p),p.italic=0,v=p.width,s&&(f+=p.depth)),d=K.makeSpan(["accent-body"],[p]);var b=r.label==="\\textcircled";b&&(d.classes.push("accent-full"),f=o.height);var y=u;b||(y-=v/2),d.style.left=Se(y),r.label==="\\textcircled"&&(d.style.top=".2em"),d=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]},t)}var D=K.makeSpan(["mord","accent"],[d],t);return a?(a.children[0]=D,a.height=Math.max(D.height,a.height),a.classes[0]="mord",a):D},Kq=(e,t)=>{var n=e.isStretchy?gl.mathMLnode(e.label):new _e.MathNode("mo",[Qo(e.label,e.mode)]),r=new _e.MathNode("mover",[Tn(e.base,t),n]);return r.setAttribute("accent","true"),r},k2e=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Be({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var n=h2(t[0]),r=!k2e.test(e.funcName),a=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:a,base:n}},htmlBuilder:H6,mathmlBuilder:Kq});Be({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{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}},htmlBuilder:H6,mathmlBuilder:Kq});Be({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:a}},htmlBuilder:(e,t)=>{var n=on(e.base,t),r=gl.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,o=K.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]},t);return K.makeSpan(["mord","accentunder"],[o],t)},mathmlBuilder:(e,t)=>{var n=gl.mathMLnode(e.label),r=new _e.MathNode("munder",[Tn(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var y2=e=>{var t=new _e.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Be({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:a}=e;return{type:"xArrow",mode:r.mode,label:a,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),a=K.wrapFragment(on(e.body,r,t),t),o=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(o+"-arrow-pad");var i;e.below&&(r=t.havingStyle(n.sub()),i=K.wrapFragment(on(e.below,r,t),t),i.classes.push(o+"-arrow-pad"));var u=gl.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*u.height,c=-t.fontMetrics().axisHeight-.5*u.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(c-=a.depth);var s;if(i){var f=-t.fontMetrics().axisHeight+i.height+.5*u.height+.111;s=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:c},{type:"elem",elem:u,shift:l},{type:"elem",elem:i,shift:f}]},t)}else s=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:c},{type:"elem",elem:u,shift:l}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),K.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var n=gl.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var a=y2(Tn(e.body,t));if(e.below){var o=y2(Tn(e.below,t));r=new _e.MathNode("munderover",[n,o,a])}else r=new _e.MathNode("mover",[n,a])}else if(e.below){var i=y2(Tn(e.below,t));r=new _e.MathNode("munder",[n,i])}else r=y2(),r=new _e.MathNode("mover",[n,r]);return r}});var O2e=K.makeSpan;function e$(e,t){var n=Ir(e.body,t,!0);return O2e([e.mclass],n,t)}function t$(e,t){var n,r=za(e.body,t);return e.mclass==="minner"?n=new _e.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new _e.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new _e.MathNode("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"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Be({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:vr(a),isCharacterBox:ct.isCharacterBox(a)}},htmlBuilder:e$,mathmlBuilder:t$});var D2=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"};Be({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:D2(t[0]),body:vr(t[1]),isCharacterBox:ct.isCharacterBox(t[1])}}});Be({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,a=t[1],o=t[0],i;r!=="\\stackrel"?i=D2(a):i="mrel";var u={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:vr(a)},l={type:"supsub",mode:o.mode,base:u,sup:r==="\\underset"?null:o,sub:r==="\\underset"?o:null};return{type:"mclass",mode:n.mode,mclass:i,body:[l],isCharacterBox:ct.isCharacterBox(l)}},htmlBuilder:e$,mathmlBuilder:t$});Be({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:D2(t[0]),body:vr(t[0])}},htmlBuilder(e,t){var n=Ir(e.body,t,!0),r=K.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=za(e.body,t),r=new _e.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var U2e={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},n$=()=>({type:"styling",body:[],mode:"math",style:"display"}),r$=e=>e.type==="textord"&&e.text==="@",H2e=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function B2e(e,t,n){var r=U2e[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=n.callFunction("\\\\cdleft",[t[0]],[]),o={type:"atom",text:r,mode:"math",family:"rel"},i=n.callFunction("\\Big",[o],[]),u=n.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[a,i,u]};return n.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function W2e(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 be("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],a=[r],o=0;o-1))if("<>AV".indexOf(c)>-1)for(var f=0;f<2;f++){for(var d=!0,p=l+1;pAV=|." after @',i[l]);var v=B2e(c,s,e),b={type:"styling",body:[v],mode:"math",style:"display"};r.push(b),u=n$()}o%2==0?r.push(u):r.shift(),r=[],a.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var y=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:y,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}Be({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{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=K.wrapFragment(on(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Se(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new _e.MathNode("mrow",[Tn(e.label,t)]);return n=new _e.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new _e.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});Be({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=K.wrapFragment(on(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new _e.MathNode("mrow",[Tn(e.fragment,t)])}});Be({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=At(t[0],"ordgroup"),a=r.body,o="",i=0;i=1114111)throw new be("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:n.mode,text:c}}});var a$=(e,t)=>{var n=Ir(e.body,t.withColor(e.color),!1);return K.makeFragment(n)},o$=(e,t)=>{var n=za(e.body,t.withColor(e.color)),r=new _e.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Be({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=At(t[0],"color-token").color,a=t[1];return{type:"color",mode:n.mode,color:r,body:vr(a)}},htmlBuilder:a$,mathmlBuilder:o$});Be({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,a=At(t[0],"color-token").color;n.gullet.macros.set("\\current@color",a);var o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:a,body:o}},htmlBuilder:a$,mathmlBuilder:o$});Be({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,a=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,o=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:o,size:a&&At(a,"size").value}},htmlBuilder(e,t){var n=K.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Se(Kn(e.size,t)))),n},mathmlBuilder(e,t){var n=new _e.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Se(Kn(e.size,t)))),n}});var B6={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},i$=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new be("Expected a control sequence",e);return t},z2e=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},u$=(e,t,n,r)=>{var a=e.gullet.macros.get(n.text);a==null&&(n.noexpand=!0,a={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,a,r)};Be({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(B6[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=B6[r.text]),At(t.parseFunction(),"internal");throw new be("Invalid token after macro prefix",r)}});Be({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),a=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new be("Expected a control sequence",r);for(var o=0,i,u=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){i=t.gullet.future(),u[o].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new be('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==o+1)throw new be('Argument number "'+r.text+'" out of order');o++,u.push([])}else{if(r.text==="EOF")throw new be("Expected a macro definition");u[o].push(r.text)}var{tokens:l}=t.gullet.consumeArg();return i&&l.unshift(i),(n==="\\edef"||n==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(a,{tokens:l,numArgs:o,delimiters:u},n===B6[n]),{type:"internal",mode:t.mode}}});Be({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=i$(t.gullet.popToken());t.gullet.consumeSpaces();var a=z2e(t);return u$(t,r,a,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});Be({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=i$(t.gullet.popToken()),a=t.gullet.popToken(),o=t.gullet.popToken();return u$(t,r,o,n==="\\\\globalfuture"),t.gullet.pushToken(o),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var lh=function(t,n,r){var a=Sn.math[t]&&Sn.math[t].replace,o=F6(a||t,n,r);if(!o)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return o},W6=function(t,n,r,a){var o=r.havingBaseStyle(n),i=K.makeSpan(a.concat(o.sizingClasses(r)),[t],r),u=o.sizeMultiplier/r.sizeMultiplier;return i.height*=u,i.depth*=u,i.maxFontSize=o.sizeMultiplier,i},l$=function(t,n,r){var a=n.havingBaseStyle(r),o=(1-n.sizeMultiplier/a.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Se(o),t.height-=o,t.depth+=o},G2e=function(t,n,r,a,o,i){var u=K.makeSymbol(t,"Main-Regular",o,a),l=W6(u,n,a,i);return r&&l$(l,a,n),l},q2e=function(t,n,r,a){return K.makeSymbol(t,"Size"+n+"-Regular",r,a)},c$=function(t,n,r,a,o,i){var u=q2e(t,n,o,a),l=W6(K.makeSpan(["delimsizing","size"+n],[u],a),pt.TEXT,a,i);return r&&l$(l,a,pt.TEXT),l},z6=function(t,n,r){var a;n==="Size1-Regular"?a="delim-size1":a="delim-size4";var o=K.makeSpan(["delimsizinginner",a],[K.makeSpan([],[K.makeSymbol(t,n,r)])]);return{type:"elem",elem:o}},G6=function(t,n,r){var a=Du["Size4-Regular"][t.charCodeAt(0)]?Du["Size4-Regular"][t.charCodeAt(0)][4]:Du["Size1-Regular"][t.charCodeAt(0)][4],o=new dl("inner",KDe(t,Math.round(1e3*n))),i=new wu([o],{width:Se(a),height:Se(n),style:"width:"+Se(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),u=K.makeSvgSpan([],[i],r);return u.height=n,u.style.height=Se(n),u.style.width=Se(a),{type:"elem",elem:u}},q6=.008,b2={type:"kern",size:-1*q6},$2e=["|","\\lvert","\\rvert","\\vert"],V2e=["\\|","\\lVert","\\rVert","\\Vert"],s$=function(t,n,r,a,o,i){var u,l,c,s,f="",d=0;u=c=s=t,l=null;var p="Size1-Regular";t==="\\uparrow"?c=s="\u23D0":t==="\\Uparrow"?c=s="\u2016":t==="\\downarrow"?u=c="\u23D0":t==="\\Downarrow"?u=c="\u2016":t==="\\updownarrow"?(u="\\uparrow",c="\u23D0",s="\\downarrow"):t==="\\Updownarrow"?(u="\\Uparrow",c="\u2016",s="\\Downarrow"):ct.contains($2e,t)?(c="\u2223",f="vert",d=333):ct.contains(V2e,t)?(c="\u2225",f="doublevert",d=556):t==="["||t==="\\lbrack"?(u="\u23A1",c="\u23A2",s="\u23A3",p="Size4-Regular",f="lbrack",d=667):t==="]"||t==="\\rbrack"?(u="\u23A4",c="\u23A5",s="\u23A6",p="Size4-Regular",f="rbrack",d=667):t==="\\lfloor"||t==="\u230A"?(c=u="\u23A2",s="\u23A3",p="Size4-Regular",f="lfloor",d=667):t==="\\lceil"||t==="\u2308"?(u="\u23A1",c=s="\u23A2",p="Size4-Regular",f="lceil",d=667):t==="\\rfloor"||t==="\u230B"?(c=u="\u23A5",s="\u23A6",p="Size4-Regular",f="rfloor",d=667):t==="\\rceil"||t==="\u2309"?(u="\u23A4",c=s="\u23A5",p="Size4-Regular",f="rceil",d=667):t==="("||t==="\\lparen"?(u="\u239B",c="\u239C",s="\u239D",p="Size4-Regular",f="lparen",d=875):t===")"||t==="\\rparen"?(u="\u239E",c="\u239F",s="\u23A0",p="Size4-Regular",f="rparen",d=875):t==="\\{"||t==="\\lbrace"?(u="\u23A7",l="\u23A8",s="\u23A9",c="\u23AA",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(u="\u23AB",l="\u23AC",s="\u23AD",c="\u23AA",p="Size4-Regular"):t==="\\lgroup"||t==="\u27EE"?(u="\u23A7",s="\u23A9",c="\u23AA",p="Size4-Regular"):t==="\\rgroup"||t==="\u27EF"?(u="\u23AB",s="\u23AD",c="\u23AA",p="Size4-Regular"):t==="\\lmoustache"||t==="\u23B0"?(u="\u23A7",s="\u23AD",c="\u23AA",p="Size4-Regular"):(t==="\\rmoustache"||t==="\u23B1")&&(u="\u23AB",s="\u23A9",c="\u23AA",p="Size4-Regular");var v=lh(u,p,o),b=v.height+v.depth,y=lh(c,p,o),D=y.height+y.depth,C=lh(s,p,o),F=C.height+C.depth,I=0,L=1;if(l!==null){var S=lh(l,p,o);I=S.height+S.depth,L=2}var z=b+F+I,Y=Math.max(0,Math.ceil((n-z)/(L*D))),X=z+Y*L*D,ee=a.fontMetrics().axisHeight;r&&(ee*=a.sizeMultiplier);var W=X/2-ee,te=[];if(f.length>0){var J=X-b-F,Q=Math.round(X*1e3),ie=e2e(f,Math.round(J*1e3)),G=new dl(f,ie),ne=(d/1e3).toFixed(3)+"em",de=(Q/1e3).toFixed(3)+"em",Ce=new wu([G],{width:ne,height:de,viewBox:"0 0 "+d+" "+Q}),Ee=K.makeSvgSpan([],[Ce],a);Ee.height=Q/1e3,Ee.style.width=ne,Ee.style.height=de,te.push({type:"elem",elem:Ee})}else{if(te.push(z6(s,p,o)),te.push(b2),l===null){var P=X-b-F+2*q6;te.push(G6(c,P,a))}else{var E=(X-b-F-I)/2+2*q6;te.push(G6(c,E,a)),te.push(b2),te.push(z6(l,p,o)),te.push(b2),te.push(G6(c,E,a))}te.push(b2),te.push(z6(u,p,o))}var U=a.havingBaseStyle(pt.TEXT),$=K.makeVList({positionType:"bottom",positionData:W,children:te},U);return W6(K.makeSpan(["delimsizing","mult"],[$],U),pt.TEXT,a,i)},$6=80,V6=.08,J6=function(t,n,r,a,o){var i=QDe(t,a,r),u=new dl(t,i),l=new wu([u],{width:"400em",height:Se(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return K.makeSvgSpan(["hide-tail"],[l],o)},J2e=function(t,n){var r=n.havingBaseSizing(),a=m$("\\surd",t*r.sizeMultiplier,p$,r),o=r.sizeMultiplier,i=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),u,l=0,c=0,s=0,f;return a.type==="small"?(s=1e3+1e3*i+$6,t<1?o=1:t<1.4&&(o=.7),l=(1+i+V6)/o,c=(1+i)/o,u=J6("sqrtMain",l,s,i,n),u.style.minWidth="0.853em",f=.833/o):a.type==="large"?(s=(1e3+$6)*ch[a.size],c=(ch[a.size]+i)/o,l=(ch[a.size]+i+V6)/o,u=J6("sqrtSize"+a.size,l,s,i,n),u.style.minWidth="1.02em",f=1/o):(l=t+i+V6,c=t+i,s=Math.floor(1e3*t+i)+$6,u=J6("sqrtTall",l,s,i,n),u.style.minWidth="0.742em",f=1.056),u.height=c,u.style.height=Se(l),{span:u,advanceWidth:f,ruleWidth:(n.fontMetrics().sqrtRuleThickness+i)*o}},f$=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],X2e=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],d$=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ch=[0,1.2,1.8,2.4,3],Y2e=function(t,n,r,a,o){if(t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle"),ct.contains(f$,t)||ct.contains(d$,t))return c$(t,n,!1,r,a,o);if(ct.contains(X2e,t))return s$(t,ch[n],!1,r,a,o);throw new be("Illegal delimiter: '"+t+"'")},Z2e=[{type:"small",style:pt.SCRIPTSCRIPT},{type:"small",style:pt.SCRIPT},{type:"small",style:pt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Q2e=[{type:"small",style:pt.SCRIPTSCRIPT},{type:"small",style:pt.SCRIPT},{type:"small",style:pt.TEXT},{type:"stack"}],p$=[{type:"small",style:pt.SCRIPTSCRIPT},{type:"small",style:pt.SCRIPT},{type:"small",style:pt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],K2e=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},m$=function(t,n,r,a){for(var o=Math.min(2,3-a.style.size),i=o;in)return r[i]}return r[r.length-1]},v$=function(t,n,r,a,o,i){t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle");var u;ct.contains(d$,t)?u=Z2e:ct.contains(f$,t)?u=p$:u=Q2e;var l=m$(t,n,u,a);return l.type==="small"?G2e(t,l.style,r,a,o,i):l.type==="large"?c$(t,l.size,r,a,o,i):s$(t,n,r,a,o,i)},ebe=function(t,n,r,a,o,i){var u=a.fontMetrics().axisHeight*a.sizeMultiplier,l=901,c=5/a.fontMetrics().ptPerEm,s=Math.max(n-u,r+u),f=Math.max(s/500*l,2*s-c);return v$(t,f,!0,a,o,i)},_l={sqrtImage:J2e,sizedDelim:Y2e,sizeToMaxHeight:ch,customSizedDelim:v$,leftRightDelim:ebe},h$={"\\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}},tbe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function w2(e,t){var n=_2(e);if(n&&ct.contains(tbe,n.text))return n;throw n?new be("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new be("Invalid delimiter type '"+e.type+"'",e)}Be({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var n=w2(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:h$[e.funcName].size,mclass:h$[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?K.makeSpan([e.mclass]):_l.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Qo(e.delim,e.mode));var n=new _e.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Se(_l.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function g$(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Be({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new be("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:w2(t[0],e).text,color:n}}});Be({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=w2(t[0],e),r=e.parser;++r.leftrightDepth;var a=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var o=At(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:a,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,t)=>{g$(e);for(var n=Ir(e.body,t,!0,["mopen","mclose"]),r=0,a=0,o=!1,i=0;i{g$(e);var n=za(e.body,t);if(e.left!=="."){var r=new _e.MathNode("mo",[Qo(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var a=new _e.MathNode("mo",[Qo(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return k6(n)}});Be({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=w2(t[0],e);if(!e.parser.leftrightDepth)throw new be("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=uh(t,[]);else{n=_l.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?Qo("|","text"):Qo(e.delim,e.mode),r=new _e.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var X6=(e,t)=>{var n=K.wrapFragment(on(e.body,t),t),r=e.label.slice(1),a=t.sizeMultiplier,o,i=0,u=ct.isCharacterBox(e.body);if(r==="sout")o=K.makeSpan(["stretchy","sout"]),o.height=t.fontMetrics().defaultRuleThickness/a,i=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var l=Kn({number:.6,unit:"pt"},t),c=Kn({number:.35,unit:"ex"},t),s=t.havingBaseSizing();a=a/s.sizeMultiplier;var f=n.height+n.depth+l+c;n.style.paddingLeft=Se(f/2+l);var d=Math.floor(1e3*f*a),p=YDe(d),v=new wu([new dl("phase",p)],{width:"400em",height:Se(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=K.makeSvgSpan(["hide-tail"],[v],t),o.style.height=Se(f),i=n.depth+l+c}else{/cancel/.test(r)?u||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var b=0,y=0,D=0;/box/.test(r)?(D=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),b=t.fontMetrics().fboxsep+(r==="colorbox"?0:D),y=b):r==="angl"?(D=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),b=4*D,y=Math.max(0,.25-n.depth)):(b=u?.2:0,y=b),o=gl.encloseSpan(n,r,b,y,t),/fbox|boxed|fcolorbox/.test(r)?(o.style.borderStyle="solid",o.style.borderWidth=Se(D)):r==="angl"&&D!==.049&&(o.style.borderTopWidth=Se(D),o.style.borderRightWidth=Se(D)),i=n.depth+y,e.backgroundColor&&(o.style.backgroundColor=e.backgroundColor,e.borderColor&&(o.style.borderColor=e.borderColor))}var C;if(e.backgroundColor)C=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:i},{type:"elem",elem:n,shift:0}]},t);else{var F=/cancel|phase/.test(r)?["svg-align"]:[];C=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:o,shift:i,wrapperClasses:F}]},t)}return/cancel/.test(r)&&(C.height=n.height,C.depth=n.depth),/cancel/.test(r)&&!u?K.makeSpan(["mord","cancel-lap"],[C],t):K.makeSpan(["mord"],[C],t)},Y6=(e,t)=>{var n=0,r=new _e.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Tn(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 a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Be({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,o=At(t[0],"color-token").color,i=t[1];return{type:"enclose",mode:r.mode,label:a,backgroundColor:o,body:i}},htmlBuilder:X6,mathmlBuilder:Y6});Be({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,o=At(t[0],"color-token").color,i=At(t[1],"color-token").color,u=t[2];return{type:"enclose",mode:r.mode,label:a,backgroundColor:i,borderColor:o,body:u}},htmlBuilder:X6,mathmlBuilder:Y6});Be({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}});Be({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"enclose",mode:n.mode,label:r,body:a}},htmlBuilder:X6,mathmlBuilder:Y6});Be({type:"enclose",names:["\\angl"],props:{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 _$={};function Cu(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:o,mathmlBuilder:i}=e,u={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},l=0;l{var t=e.parser.settings;if(!t.displayMode)throw new be("{"+e.envName+"} can be used only in display mode.")};function Z6(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Sc(e,t,n){var{hskipBeforeAndAfter:r,addJot:a,cols:o,arraystretch:i,colSeparationType:u,autoTag:l,singleRow:c,emptySingleRow:s,maxNumCols:f,leqno:d}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!i){var p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)i=1;else if(i=parseFloat(p),!i||i<0)throw new be("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var v=[],b=[v],y=[],D=[],C=l!=null?[]:void 0;function F(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function I(){C&&(e.gullet.macros.get("\\df@tag")?(C.push(e.subparse([new po("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):C.push(Boolean(l)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(F(),D.push(D$(e));;){var L=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),L={type:"ordgroup",mode:e.mode,body:L},n&&(L={type:"styling",mode:e.mode,style:n,body:[L]}),v.push(L);var S=e.fetch().text;if(S==="&"){if(f&&v.length===f){if(c||u)throw new be("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(S==="\\end"){I(),v.length===1&&L.type==="styling"&&L.body[0].body.length===0&&(b.length>1||!s)&&b.pop(),D.length0&&(F+=.25),c.push({pos:F,isDashed:qe[ot]})}for(I(i[0]),r=0;r0&&(W+=C,zqe))for(r=0;r=u)){var V=void 0;(a>0||t.hskipBeforeAndAfter)&&(V=ct.deflt(E.pregap,d),V!==0&&(ie=K.makeSpan(["arraycolsep"],[]),ie.style.width=Se(V),Q.push(ie)));var k=[];for(r=0;r0){for(var he=K.makeLineSpan("hline",n,s),ce=K.makeLineSpan("hdashline",n,s),Me=[{type:"elem",elem:l,shift:0}];c.length>0;){var Re=c.pop(),Ge=Re.pos-te;Re.isDashed?Me.push({type:"elem",elem:ce,shift:Ge}):Me.push({type:"elem",elem:he,shift:Ge})}l=K.makeVList({positionType:"individualShift",children:Me},n)}if(ne.length===0)return K.makeSpan(["mord"],[l],n);var Fe=K.makeVList({positionType:"individualShift",children:ne},n);return Fe=K.makeSpan(["tag"],[Fe],n),K.makeFragment([l,Fe])},nbe={c:"center ",l:"left ",r:"right "},xu=function(t,n){for(var r=[],a=new _e.MathNode("mtd",[],["mtr-glue"]),o=new _e.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var v=t.cols,b="",y=!1,D=0,C=v.length;v[0].type==="separator"&&(d+="top ",D=1),v[v.length-1].type==="separator"&&(d+="bottom ",C-=1);for(var F=D;F0?"left ":"",d+=Y[Y.length-1].length>0?"right ":"";for(var X=1;X-1?"alignat":"align",o=t.envName==="split",i=Sc(t.parser,{cols:r,addJot:!0,autoTag:o?void 0:Z6(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:o?2:void 0,leqno:t.parser.settings.leqno},"display"),u,l=0,c={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var s="",f=0;f0&&p&&(y=1),r[v]={type:"align",align:b,pregap:y,postgap:0}}return i.colSeparationType=p?"align":"alignat",i};Cu({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=_2(t[0]),r=n?[t[0]]:At(t[0],"ordgroup").body,a=r.map(function(i){var u=U6(i),l=u.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new be("Unknown column alignment: "+l,i)}),o={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return Sc(e.parser,o,Q6(e.envName))},htmlBuilder:Ru,mathmlBuilder:xu});Cu({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 a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),n=a.fetch().text,"lcr".indexOf(n)===-1)throw new be("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),r.cols=[{type:"align",align:n}]}}var o=Sc(e.parser,r,Q6(e.envName)),i=Math.max(0,...o.body.map(u=>u.length));return o.cols=new Array(i).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:Ru,mathmlBuilder:xu});Cu({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=Sc(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Ru,mathmlBuilder:xu});Cu({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=_2(t[0]),r=n?[t[0]]:At(t[0],"ordgroup").body,a=r.map(function(i){var u=U6(i),l=u.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new be("Unknown column alignment: "+l,i)});if(a.length>1)throw new be("{subarray} can contain only one column");var o={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Sc(e.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new be("{subarray} can contain only one column");return o},htmlBuilder:Ru,mathmlBuilder:xu});Cu({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Sc(e.parser,t,Q6(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Ru,mathmlBuilder:xu});Cu({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:b$,htmlBuilder:Ru,mathmlBuilder:xu});Cu({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){ct.contains(["gather","gather*"],e.envName)&&C2(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Z6(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Sc(e.parser,t,"display")},htmlBuilder:Ru,mathmlBuilder:xu});Cu({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:b$,htmlBuilder:Ru,mathmlBuilder:xu});Cu({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){C2(e);var t={autoTag:Z6(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Sc(e.parser,t,"display")},htmlBuilder:Ru,mathmlBuilder:xu});Cu({type:"array",names:["CD"],props:{numArgs:0},handler(e){return C2(e),W2e(e.parser)},htmlBuilder:Ru,mathmlBuilder:xu});M("\\nonumber","\\gdef\\@eqnsw{0}");M("\\notag","\\nonumber");Be({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new be(e.funcName+" valid only within array environment")}});var w$=_$;Be({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];if(a.type!=="ordgroup")throw new be("Invalid environment name",a);for(var o="",i=0;i{var n=e.font,r=t.withFont(n);return on(e.body,r)},R$=(e,t)=>{var n=e.font,r=t.withFont(n);return Tn(e.body,r)},x$={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Be({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=h2(t[0]),o=r;return o in x$&&(o=x$[o]),{type:"font",mode:n.mode,font:o.slice(1),body:a}},htmlBuilder:C$,mathmlBuilder:R$});Be({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],a=ct.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:D2(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:a}}});Be({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:a}=e,{mode:o}=n,i=n.parseExpression(!0,a),u="math"+r.slice(1);return{type:"font",mode:o,font:u,body:{type:"ordgroup",mode:n.mode,body:i}}},htmlBuilder:C$,mathmlBuilder:R$});var T$=(e,t)=>{var n=t;return e==="display"?n=n.id>=pt.SCRIPT.id?n.text():pt.DISPLAY:e==="text"&&n.size===pt.DISPLAY.size?n=pt.TEXT:e==="script"?n=pt.SCRIPT:e==="scriptscript"&&(n=pt.SCRIPTSCRIPT),n},K6=(e,t)=>{var n=T$(e.size,t.style),r=n.fracNum(),a=n.fracDen(),o;o=t.havingStyle(r);var i=on(e.numer,o,t);if(e.continued){var u=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;i.height=i.height0?v=3*d:v=7*d,b=t.fontMetrics().denom1):(f>0?(p=t.fontMetrics().num2,v=d):(p=t.fontMetrics().num3,v=3*d),b=t.fontMetrics().denom2);var y;if(s){var C=t.fontMetrics().axisHeight;p-i.depth-(C+.5*f){var n=new _e.MathNode("mfrac",[Tn(e.numer,t),Tn(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=Kn(e.barSize,t);n.setAttribute("linethickness",Se(r))}var a=T$(e.size,t.style);if(a.size!==t.style.size){n=new _e.MathNode("mstyle",[n]);var o=a.size===pt.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",o),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var u=new _e.MathNode("mo",[new _e.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}if(i.push(n),e.rightDelim!=null){var l=new _e.MathNode("mo",[new _e.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}return k6(i)}return n};Be({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],o=t[1],i,u=null,l=null,c="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,u="(",l=")";break;case"\\\\bracefrac":i=!1,u="\\{",l="\\}";break;case"\\\\brackfrac":i=!1,u="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:a,denom:o,hasBarLine:i,leftDelim:u,rightDelim:l,size:c,barSize:null}},htmlBuilder:K6,mathmlBuilder:e5});Be({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],o=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:a,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Be({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,a;switch(n){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:r}}});var E$=["display","text","script","scriptscript"],F$=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};Be({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],a=t[5],o=h2(t[0]),i=o.type==="atom"&&o.family==="open"?F$(o.text):null,u=h2(t[1]),l=u.type==="atom"&&u.family==="close"?F$(u.text):null,c=At(t[2],"size"),s,f=null;c.isBlank?s=!0:(f=c.value,s=f.number>0);var d="auto",p=t[3];if(p.type==="ordgroup"){if(p.body.length>0){var v=At(p.body[0],"textord");d=E$[Number(v.text)]}}else p=At(p,"textord"),d=E$[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:s,barSize:f,leftDelim:i,rightDelim:l,size:d}},htmlBuilder:K6,mathmlBuilder:e5});Be({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:a}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:At(t[0],"size").value,token:a}}});Be({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],o=jDe(At(t[1],"infix").size),i=t[2],u=o.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:i,continued:!1,hasBarLine:u,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:K6,mathmlBuilder:e5});var M$=(e,t)=>{var n=t.style,r,a;e.type==="supsub"?(r=e.sup?on(e.sup,t.havingStyle(n.sup()),t):on(e.sub,t.havingStyle(n.sub()),t),a=At(e.base,"horizBrace")):a=At(e,"horizBrace");var o=on(a.base,t.havingBaseStyle(pt.DISPLAY)),i=gl.svgSpan(a,t),u;if(a.isOver?(u=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:i}]},t),u.children[0].children[0].children[1].classes.push("svg-align")):(u=K.makeVList({positionType:"bottom",positionData:o.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o}]},t),u.children[0].children[0].children[0].classes.push("svg-align")),r){var l=K.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t);a.isOver?u=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):u=K.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return K.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t)},rbe=(e,t)=>{var n=gl.mathMLnode(e.label);return new _e.MathNode(e.isOver?"mover":"munder",[Tn(e.base,t),n])};Be({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:M$,mathmlBuilder:rbe});Be({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],a=At(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:n.mode,href:a,body:vr(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Ir(e.body,t,!1);return K.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=Mc(e.body,t);return n instanceof ho||(n=new ho("mrow",[n])),n.setAttribute("href",e.href),n}});Be({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=At(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var a=[],o=0;o{var{parser:n,funcName:r,token:a}=e,o=At(t[0],"raw").string,i=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,l={};switch(r){case"\\htmlClass":l.class=o,u={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,u={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,u={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),s=0;s{var n=Ir(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var a=K.makeSpan(r,n,t);for(var o in e.attributes)o!=="class"&&e.attributes.hasOwnProperty(o)&&a.setAttribute(o,e.attributes[o]);return a},mathmlBuilder:(e,t)=>Mc(e.body,t)});Be({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:vr(t[0]),mathml:vr(t[1])}},htmlBuilder:(e,t)=>{var n=Ir(e.html,t,!1);return K.makeFragment(n)},mathmlBuilder:(e,t)=>Mc(e.mathml,t)});var t5=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new be("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!Iq(r))throw new be("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};Be({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,a={number:0,unit:"em"},o={number:.9,unit:"em"},i={number:0,unit:"em"},u="";if(n[0])for(var l=At(n[0],"raw").string,c=l.split(","),s=0;s{var n=Kn(e.height,t),r=0;e.totalheight.number>0&&(r=Kn(e.totalheight,t)-n);var a=0;e.width.number>0&&(a=Kn(e.width,t));var o={height:Se(n+r)};a>0&&(o.width=Se(a)),r>0&&(o.verticalAlign=Se(-r));var i=new jq(e.src,e.alt,o);return i.height=n,i.depth=r,i},mathmlBuilder:(e,t)=>{var n=new _e.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=Kn(e.height,t),a=0;if(e.totalheight.number>0&&(a=Kn(e.totalheight,t)-r,n.setAttribute("valign",Se(-a))),n.setAttribute("height",Se(r+a)),e.width.number>0){var o=Kn(e.width,t);n.setAttribute("width",Se(o))}return n.setAttribute("src",e.src),n}});Be({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=At(t[0],"size");if(n.settings.strict){var o=r[1]==="m",i=a.value.unit==="mu";o?(i||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+a.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):i&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:a.value}},htmlBuilder(e,t){return K.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=Kn(e.dimension,t);return new _e.SpaceNode(n)}});Be({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:a}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=K.makeSpan([],[on(e.body,t)]),n=K.makeSpan(["inner"],[n],t)):n=K.makeSpan(["inner"],[on(e.body,t)]);var r=K.makeSpan(["fix"],[]),a=K.makeSpan([e.alignment],[n,r],t),o=K.makeSpan(["strut"]);return o.style.height=Se(a.height+a.depth),a.depth&&(o.style.verticalAlign=Se(-a.depth)),a.children.unshift(o),a=K.makeSpan(["thinbox"],[a],t),K.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var n=new _e.MathNode("mpadded",[Tn(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}});Be({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,a=r.mode;r.switchMode("math");var o=n==="\\("?"\\)":"$",i=r.parseExpression(!1,o);return r.expect(o),r.switchMode(a),{type:"styling",mode:r.mode,style:"text",body:i}}});Be({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new be("Mismatched "+e.funcName)}});var S$=(e,t)=>{switch(t.style.size){case pt.DISPLAY.size:return e.display;case pt.TEXT.size:return e.text;case pt.SCRIPT.size:return e.script;case pt.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Be({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:vr(t[0]),text:vr(t[1]),script:vr(t[2]),scriptscript:vr(t[3])}},htmlBuilder:(e,t)=>{var n=S$(e,t),r=Ir(n,t,!1);return K.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=S$(e,t);return Mc(n,t)}});var I$=(e,t,n,r,a,o,i)=>{e=K.makeSpan([],[e]);var u=n&&ct.isCharacterBox(n),l,c;if(t){var s=on(t,r.havingStyle(a.sup()),r);c={elem:s,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-s.depth)}}if(n){var f=on(n,r.havingStyle(a.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}var d;if(c&&l){var p=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+i;d=K.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Se(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Se(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var v=e.height-i;d=K.makeVList({positionType:"top",positionData:v,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Se(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else if(c){var b=e.depth+i;d=K.makeVList({positionType:"bottom",positionData:b,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Se(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var y=[d];if(l&&o!==0&&!u){var D=K.makeSpan(["mspace"],[],r);D.style.marginRight=Se(o),y.unshift(D)}return K.makeSpan(["mop","op-limits"],y,r)},A$=["\\smallint"],Gp=(e,t)=>{var n,r,a=!1,o;e.type==="supsub"?(n=e.sup,r=e.sub,o=At(e.base,"op"),a=!0):o=At(e,"op");var i=t.style,u=!1;i.size===pt.DISPLAY.size&&o.symbol&&!ct.contains(A$,o.name)&&(u=!0);var l;if(o.symbol){var c=u?"Size2-Regular":"Size1-Regular",s="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(s=o.name.slice(1),o.name=s==="oiint"?"\\iint":"\\iiint"),l=K.makeSymbol(o.name,c,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),s.length>0){var f=l.italic,d=K.staticSvg(s+"Size"+(u?"2":"1"),t);l=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:u?.08:0}]},t),o.name="\\"+s,l.classes.unshift("mop"),l.italic=f}}else if(o.body){var p=Ir(o.body,t,!0);p.length===1&&p[0]instanceof mo?(l=p[0],l.classes[0]="mop"):l=K.makeSpan(["mop"],p,t)}else{for(var v=[],b=1;b{var n;if(e.symbol)n=new ho("mo",[Qo(e.name,e.mode)]),ct.contains(A$,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new ho("mo",za(e.body,t));else{n=new ho("mi",[new zp(e.name.slice(1))]);var r=new ho("mo",[Qo("\u2061","text")]);e.parentIsSupSub?n=new ho("mrow",[n,r]):n=Jq([n,r])}return n},abe={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Be({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=r;return a.length===1&&(a=abe[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Gp,mathmlBuilder:sh});Be({type:"op",names:["\\mathop"],props:{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:vr(r)}},htmlBuilder:Gp,mathmlBuilder:sh});var obe={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Be({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Gp,mathmlBuilder:sh});Be({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Gp,mathmlBuilder:sh});Be({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=obe[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Gp,mathmlBuilder:sh});var L$=(e,t)=>{var n,r,a=!1,o;e.type==="supsub"?(n=e.sup,r=e.sub,o=At(e.base,"operatorname"),a=!0):o=At(e,"operatorname");var i;if(o.body.length>0){for(var u=o.body.map(f=>{var d=f.text;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),l=Ir(u,t.withFont("mathrm"),!0),c=0;c{for(var n=za(e.body,t.withFont("mathrm")),r=!0,a=0;as.toText()).join("");n=[new _e.TextNode(u)]}var l=new _e.MathNode("mi",n);l.setAttribute("mathvariant","normal");var c=new _e.MathNode("mo",[Qo("\u2061","text")]);return e.parentIsSupSub?new _e.MathNode("mrow",[l,c]):_e.newDocumentFragment([l,c])};Be({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"operatorname",mode:n.mode,body:vr(a),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:L$,mathmlBuilder:ibe});M("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");df({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?K.makeFragment(Ir(e.body,t,!1)):K.makeSpan(["mord"],Ir(e.body,t,!0),t)},mathmlBuilder(e,t){return Mc(e.body,t,!0)}});Be({type:"overline",names:["\\overline"],props:{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=on(e.body,t.havingCrampedStyle()),r=K.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,o=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r},{type:"kern",size:a}]},t);return K.makeSpan(["mord","overline"],[o],t)},mathmlBuilder(e,t){var n=new _e.MathNode("mo",[new _e.TextNode("\u203E")]);n.setAttribute("stretchy","true");var r=new _e.MathNode("mover",[Tn(e.body,t),n]);return r.setAttribute("accent","true"),r}});Be({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:vr(r)}},htmlBuilder:(e,t)=>{var n=Ir(e.body,t.withPhantom(),!1);return K.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=za(e.body,t);return new _e.MathNode("mphantom",n)}});Be({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=K.makeSpan([],[on(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r{var n=za(vr(e.body),t),r=new _e.MathNode("mphantom",n),a=new _e.MathNode("mpadded",[r]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});Be({type:"vphantom",names:["\\vphantom"],props:{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)=>{var n=K.makeSpan(["inner"],[on(e.body,t.withPhantom())]),r=K.makeSpan(["fix"],[]);return K.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=za(vr(e.body),t),r=new _e.MathNode("mphantom",n),a=new _e.MathNode("mpadded",[r]);return a.setAttribute("width","0px"),a}});Be({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=At(t[0],"size").value,a=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:a}},htmlBuilder(e,t){var n=on(e.body,t),r=Kn(e.dy,t);return K.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new _e.MathNode("mpadded",[Tn(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});Be({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Be({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,a=n[0],o=At(t[0],"size"),i=At(t[1],"size");return{type:"rule",mode:r.mode,shift:a&&At(a,"size").value,width:o.value,height:i.value}},htmlBuilder(e,t){var n=K.makeSpan(["mord","rule"],[],t),r=Kn(e.width,t),a=Kn(e.height,t),o=e.shift?Kn(e.shift,t):0;return n.style.borderRightWidth=Se(r),n.style.borderTopWidth=Se(a),n.style.bottom=Se(o),n.width=r,n.height=a+o,n.depth=-o,n.maxFontSize=a*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=Kn(e.width,t),r=Kn(e.height,t),a=e.shift?Kn(e.shift,t):0,o=t.color&&t.getColor()||"black",i=new _e.MathNode("mspace");i.setAttribute("mathbackground",o),i.setAttribute("width",Se(n)),i.setAttribute("height",Se(r));var u=new _e.MathNode("mpadded",[i]);return a>=0?u.setAttribute("height",Se(a)):(u.setAttribute("height",Se(a)),u.setAttribute("depth",Se(-a))),u.setAttribute("voffset",Se(a)),u}});function P$(e,t,n){for(var r=Ir(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,o=0;o{var n=t.havingSize(e.size);return P$(e.body,n,t)};Be({type:"sizing",names:j$,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:a}=e,o=a.parseExpression(!1,n);return{type:"sizing",mode:a.mode,size:j$.indexOf(r)+1,body:o}},htmlBuilder:ube,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=za(e.body,n),a=new _e.MathNode("mstyle",r);return a.setAttribute("mathsize",Se(n.sizeMultiplier)),a}});Be({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,a=!1,o=!1,i=n[0]&&At(n[0],"ordgroup");if(i)for(var u="",l=0;l{var n=K.makeSpan([],[on(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r{var n=new _e.MathNode("mpadded",[Tn(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});Be({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,a=n[0],o=t[0];return{type:"sqrt",mode:r.mode,body:o,index:a}},htmlBuilder(e,t){var n=on(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=K.wrapFragment(n,t);var r=t.fontMetrics(),a=r.defaultRuleThickness,o=a;t.style.idn.height+n.depth+i&&(i=(i+f-n.height-n.depth)/2);var d=l.height-n.height-i-c;n.style.paddingLeft=Se(s);var p=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:l},{type:"kern",size:c}]},t);if(e.index){var v=t.havingStyle(pt.SCRIPTSCRIPT),b=on(e.index,v,t),y=.6*(p.height-p.depth),D=K.makeVList({positionType:"shift",positionData:-y,children:[{type:"elem",elem:b}]},t),C=K.makeSpan(["root"],[D]);return K.makeSpan(["mord","sqrt"],[C,p],t)}else return K.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new _e.MathNode("mroot",[Tn(n,t),Tn(r,t)]):new _e.MathNode("msqrt",[Tn(n,t)])}});var N$={display:pt.DISPLAY,text:pt.TEXT,script:pt.SCRIPT,scriptscript:pt.SCRIPTSCRIPT};Be({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:a}=e,o=a.parseExpression(!0,n),i=r.slice(1,r.length-5);return{type:"styling",mode:a.mode,style:i,body:o}},htmlBuilder(e,t){var n=N$[e.style],r=t.havingStyle(n).withFont("");return P$(e.body,r,t)},mathmlBuilder(e,t){var n=N$[e.style],r=t.havingStyle(n),a=za(e.body,r),o=new _e.MathNode("mstyle",a),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=i[e.style];return o.setAttribute("scriptlevel",u[0]),o.setAttribute("displaystyle",u[1]),o}});var lbe=function(t,n){var r=t.base;if(r)if(r.type==="op"){var a=r.limits&&(n.style.size===pt.DISPLAY.size||r.alwaysHandleSupSub);return a?Gp:null}else if(r.type==="operatorname"){var o=r.alwaysHandleSupSub&&(n.style.size===pt.DISPLAY.size||r.limits);return o?L$:null}else{if(r.type==="accent")return ct.isCharacterBox(r.base)?H6:null;if(r.type==="horizBrace"){var i=!t.sub;return i===r.isOver?M$:null}else return null}else return null};df({type:"supsub",htmlBuilder(e,t){var n=lbe(e,t);if(n)return n(e,t);var{base:r,sup:a,sub:o}=e,i=on(r,t),u,l,c=t.fontMetrics(),s=0,f=0,d=r&&ct.isCharacterBox(r);if(a){var p=t.havingStyle(t.style.sup());u=on(a,p,t),d||(s=i.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(o){var v=t.havingStyle(t.style.sub());l=on(o,v,t),d||(f=i.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}var b;t.style===pt.DISPLAY?b=c.sup1:t.style.cramped?b=c.sup3:b=c.sup2;var y=t.sizeMultiplier,D=Se(.5/c.ptPerEm/y),C=null;if(l){var F=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof mo||F)&&(C=Se(-i.italic))}var I;if(u&&l){s=Math.max(s,b,u.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var L=c.defaultRuleThickness,S=4*L;if(s-u.depth-(l.height-f)0&&(s+=z,f-=z)}var Y=[{type:"elem",elem:l,shift:f,marginRight:D,marginLeft:C},{type:"elem",elem:u,shift:-s,marginRight:D}];I=K.makeVList({positionType:"individualShift",children:Y},t)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var X=[{type:"elem",elem:l,marginLeft:C,marginRight:D}];I=K.makeVList({positionType:"shift",positionData:f,children:X},t)}else if(u)s=Math.max(s,b,u.depth+.25*c.xHeight),I=K.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:u,marginRight:D}]},t);else throw new Error("supsub must have either sup or sub.");var ee=j6(i,"right")||"mord";return K.makeSpan([ee],[i,K.makeSpan(["msupsub"],[I])],t)},mathmlBuilder(e,t){var n=!1,r,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var o=[Tn(e.base,t)];e.sub&&o.push(Tn(e.sub,t)),e.sup&&o.push(Tn(e.sup,t));var i;if(n)i=r?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;c&&c.type==="op"&&c.limits&&t.style===pt.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(t.style===pt.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===pt.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===pt.DISPLAY)?i="munder":i="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===pt.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===pt.DISPLAY)?i="mover":i="msup"}return new _e.MathNode(i,o)}});df({type:"atom",htmlBuilder(e,t){return K.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new _e.MathNode("mo",[Qo(e.text,e.mode)]);if(e.family==="bin"){var r=O6(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 k$={mi:"italic",mn:"normal",mtext:"normal"};df({type:"mathord",htmlBuilder(e,t){return K.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new _e.MathNode("mi",[Qo(e.text,e.mode,t)]),r=O6(e,t)||"italic";return r!==k$[n.type]&&n.setAttribute("mathvariant",r),n}});df({type:"textord",htmlBuilder(e,t){return K.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=Qo(e.text,e.mode,t),r=O6(e,t)||"normal",a;return e.mode==="text"?a=new _e.MathNode("mtext",[n]):/[0-9]/.test(e.text)?a=new _e.MathNode("mn",[n]):e.text==="\\prime"?a=new _e.MathNode("mo",[n]):a=new _e.MathNode("mi",[n]),r!==k$[a.type]&&a.setAttribute("mathvariant",r),a}});var n5={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},r5={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};df({type:"spacing",htmlBuilder(e,t){if(r5.hasOwnProperty(e.text)){var n=r5[e.text].className||"";if(e.mode==="text"){var r=K.makeOrd(e,t,"textord");return r.classes.push(n),r}else return K.makeSpan(["mspace",n],[K.mathsym(e.text,e.mode,t)],t)}else{if(n5.hasOwnProperty(e.text))return K.makeSpan(["mspace",n5[e.text]],[],t);throw new be('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(r5.hasOwnProperty(e.text))n=new _e.MathNode("mtext",[new _e.TextNode("\xA0")]);else{if(n5.hasOwnProperty(e.text))return new _e.MathNode("mspace");throw new be('Unknown type of space "'+e.text+'"')}return n}});var O$=()=>{var e=new _e.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};df({type:"tag",mathmlBuilder(e,t){var n=new _e.MathNode("mtable",[new _e.MathNode("mtr",[O$(),new _e.MathNode("mtd",[Mc(e.body,t)]),O$(),new _e.MathNode("mtd",[Mc(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var U$={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},H$={"\\textbf":"textbf","\\textmd":"textmd"},cbe={"\\textit":"textit","\\textup":"textup"},B$=(e,t)=>{var n=e.font;return n?U$[n]?t.withTextFontFamily(U$[n]):H$[n]?t.withTextFontWeight(H$[n]):t.withTextFontShape(cbe[n]):t};Be({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"text",mode:n.mode,body:vr(a),font:r}},htmlBuilder(e,t){var n=B$(e,t),r=Ir(e.body,n,!0);return K.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=B$(e,t);return Mc(e.body,n)}});Be({type:"underline",names:["\\underline"],props:{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=on(e.body,t),r=K.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,o=K.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:a},{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n}]},t);return K.makeSpan(["mord","underline"],[o],t)},mathmlBuilder(e,t){var n=new _e.MathNode("mo",[new _e.TextNode("\u203E")]);n.setAttribute("stretchy","true");var r=new _e.MathNode("munder",[Tn(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});Be({type:"vcenter",names:["\\vcenter"],props:{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=on(e.body,t),r=t.fontMetrics().axisHeight,a=.5*(n.height-r-(n.depth+r));return K.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new _e.MathNode("mpadded",[Tn(e.body,t)],["vcenter"])}});Be({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new be("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=W$(e),r=[],a=t.havingStyle(t.style.text()),o=0;oe.body.replace(/ /g,e.star?"\u2423":"\xA0"),Ic=qq,z$=`[ \r ]`,sbe="\\\\[a-zA-Z@]+",fbe="\\\\[^\uD800-\uDFFF]",dbe="("+sbe+")"+z$+"*",pbe=`\\\\( |[ \r ]+ ?)[ \r ]*`,a5="[\u0300-\u036F]",mbe=new RegExp(a5+"+$"),vbe="("+z$+"+)|"+(pbe+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(a5+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(a5+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+dbe)+("|"+fbe+")"),o5=class{constructor(t,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp(vbe,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new po("EOF",new Ba(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new be("Unexpected character: '"+t[n]+"'",new po(t[n],new Ba(this,n,n+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[a]===14){var o=t.indexOf(` `,this.tokenRegex.lastIndex);return o===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new po(a,new Ba(this,n,this.tokenRegex.lastIndex))}},G$=class{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new be("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(t)&&(o[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}},hbe=y$;M("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});M("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});M("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});M("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});M("\\@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}});M("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");M("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var q$={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};M("\\char",function(e){var t=e.popToken(),n,r="";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 be("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=q$[t.text],r==null||r>=n)throw new be("Invalid base-"+n+" digit "+t.text);for(var a;(a=q$[e.future().text])!=null&&a{var r=e.consumeArg().tokens;if(r.length!==1)throw new be("\\newcommand's first argument must be a macro name");var a=r[0].text,o=e.isDefined(a);if(o&&!t)throw new be("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!o&&!n)throw new be("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var i=0;if(r=e.consumeArg().tokens,r.length===1&&r[0].text==="["){for(var u="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)u+=l.text,l=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new be("Invalid number of arguments: "+u);i=parseInt(u),r=e.consumeArg().tokens}return e.macros.set(a,{tokens:r,numArgs:i}),""};M("\\newcommand",e=>i5(e,!1,!0));M("\\renewcommand",e=>i5(e,!0,!1));M("\\providecommand",e=>i5(e,!0,!0));M("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});M("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});M("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Ic[n],Sn.math[n],Sn.text[n]),""});M("\\bgroup","{");M("\\egroup","}");M("~","\\nobreakspace");M("\\lq","`");M("\\rq","'");M("\\aa","\\r a");M("\\AA","\\r A");M("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");M("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");M("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");M("\u212C","\\mathscr{B}");M("\u2130","\\mathscr{E}");M("\u2131","\\mathscr{F}");M("\u210B","\\mathscr{H}");M("\u2110","\\mathscr{I}");M("\u2112","\\mathscr{L}");M("\u2133","\\mathscr{M}");M("\u211B","\\mathscr{R}");M("\u212D","\\mathfrak{C}");M("\u210C","\\mathfrak{H}");M("\u2128","\\mathfrak{Z}");M("\\Bbbk","\\Bbb{k}");M("\xB7","\\cdotp");M("\\llap","\\mathllap{\\textrm{#1}}");M("\\rlap","\\mathrlap{\\textrm{#1}}");M("\\clap","\\mathclap{\\textrm{#1}}");M("\\mathstrut","\\vphantom{(}");M("\\underbar","\\underline{\\text{#1}}");M("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');M("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");M("\\ne","\\neq");M("\u2260","\\neq");M("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");M("\u2209","\\notin");M("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");M("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");M("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");M("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");M("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");M("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");M("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");M("\u27C2","\\perp");M("\u203C","\\mathclose{!\\mkern-0.8mu!}");M("\u220C","\\notni");M("\u231C","\\ulcorner");M("\u231D","\\urcorner");M("\u231E","\\llcorner");M("\u231F","\\lrcorner");M("\xA9","\\copyright");M("\xAE","\\textregistered");M("\uFE0F","\\textregistered");M("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');M("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');M("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');M("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');M("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");M("\u22EE","\\vdots");M("\\varGamma","\\mathit{\\Gamma}");M("\\varDelta","\\mathit{\\Delta}");M("\\varTheta","\\mathit{\\Theta}");M("\\varLambda","\\mathit{\\Lambda}");M("\\varXi","\\mathit{\\Xi}");M("\\varPi","\\mathit{\\Pi}");M("\\varSigma","\\mathit{\\Sigma}");M("\\varUpsilon","\\mathit{\\Upsilon}");M("\\varPhi","\\mathit{\\Phi}");M("\\varPsi","\\mathit{\\Psi}");M("\\varOmega","\\mathit{\\Omega}");M("\\substack","\\begin{subarray}{c}#1\\end{subarray}");M("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");M("\\boxed","\\fbox{$\\displaystyle{#1}$}");M("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");M("\\implies","\\DOTSB\\;\\Longrightarrow\\;");M("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var $$={",":"\\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"};M("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in $$?t=$$[n]:(n.slice(0,4)==="\\not"||n in Sn.math&&ct.contains(["bin","rel"],Sn.math[n].group))&&(t="\\dotsb"),t});var u5={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};M("\\dotso",function(e){var t=e.future().text;return t in u5?"\\ldots\\,":"\\ldots"});M("\\dotsc",function(e){var t=e.future().text;return t in u5&&t!==","?"\\ldots\\,":"\\ldots"});M("\\cdots",function(e){var t=e.future().text;return t in u5?"\\@cdots\\,":"\\@cdots"});M("\\dotsb","\\cdots");M("\\dotsm","\\cdots");M("\\dotsi","\\!\\cdots");M("\\dotsx","\\ldots\\,");M("\\DOTSI","\\relax");M("\\DOTSB","\\relax");M("\\DOTSX","\\relax");M("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");M("\\,","\\tmspace+{3mu}{.1667em}");M("\\thinspace","\\,");M("\\>","\\mskip{4mu}");M("\\:","\\tmspace+{4mu}{.2222em}");M("\\medspace","\\:");M("\\;","\\tmspace+{5mu}{.2777em}");M("\\thickspace","\\;");M("\\!","\\tmspace-{3mu}{.1667em}");M("\\negthinspace","\\!");M("\\negmedspace","\\tmspace-{4mu}{.2222em}");M("\\negthickspace","\\tmspace-{5mu}{.277em}");M("\\enspace","\\kern.5em ");M("\\enskip","\\hskip.5em\\relax");M("\\quad","\\hskip1em\\relax");M("\\qquad","\\hskip2em\\relax");M("\\tag","\\@ifstar\\tag@literal\\tag@paren");M("\\tag@paren","\\tag@literal{({#1})}");M("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new be("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});M("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");M("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");M("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");M("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");M("\\newline","\\\\\\relax");M("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var V$=Se(Du["Main-Regular"]["T".charCodeAt(0)][1]-.7*Du["Main-Regular"]["A".charCodeAt(0)][1]);M("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+V$+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");M("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+V$+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");M("\\hspace","\\@ifstar\\@hspacer\\@hspace");M("\\@hspace","\\hskip #1\\relax");M("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");M("\\ordinarycolon",":");M("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");M("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');M("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');M("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');M("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');M("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');M("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');M("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');M("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');M("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');M("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');M("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');M("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');M("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');M("\u2237","\\dblcolon");M("\u2239","\\eqcolon");M("\u2254","\\coloneqq");M("\u2255","\\eqqcolon");M("\u2A74","\\Coloneqq");M("\\ratio","\\vcentcolon");M("\\coloncolon","\\dblcolon");M("\\colonequals","\\coloneqq");M("\\coloncolonequals","\\Coloneqq");M("\\equalscolon","\\eqqcolon");M("\\equalscoloncolon","\\Eqqcolon");M("\\colonminus","\\coloneq");M("\\coloncolonminus","\\Coloneq");M("\\minuscolon","\\eqcolon");M("\\minuscoloncolon","\\Eqcolon");M("\\coloncolonapprox","\\Colonapprox");M("\\coloncolonsim","\\Colonsim");M("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");M("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");M("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");M("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");M("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");M("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");M("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");M("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");M("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");M("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");M("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");M("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");M("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");M("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");M("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");M("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");M("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");M("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");M("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");M("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");M("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");M("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");M("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");M("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");M("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");M("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");M("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");M("\\imath","\\html@mathml{\\@imath}{\u0131}");M("\\jmath","\\html@mathml{\\@jmath}{\u0237}");M("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");M("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");M("\u27E6","\\llbracket");M("\u27E7","\\rrbracket");M("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");M("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");M("\u2983","\\lBrace");M("\u2984","\\rBrace");M("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");M("\u29B5","\\minuso");M("\\darr","\\downarrow");M("\\dArr","\\Downarrow");M("\\Darr","\\Downarrow");M("\\lang","\\langle");M("\\rang","\\rangle");M("\\uarr","\\uparrow");M("\\uArr","\\Uparrow");M("\\Uarr","\\Uparrow");M("\\N","\\mathbb{N}");M("\\R","\\mathbb{R}");M("\\Z","\\mathbb{Z}");M("\\alef","\\aleph");M("\\alefsym","\\aleph");M("\\Alpha","\\mathrm{A}");M("\\Beta","\\mathrm{B}");M("\\bull","\\bullet");M("\\Chi","\\mathrm{X}");M("\\clubs","\\clubsuit");M("\\cnums","\\mathbb{C}");M("\\Complex","\\mathbb{C}");M("\\Dagger","\\ddagger");M("\\diamonds","\\diamondsuit");M("\\empty","\\emptyset");M("\\Epsilon","\\mathrm{E}");M("\\Eta","\\mathrm{H}");M("\\exist","\\exists");M("\\harr","\\leftrightarrow");M("\\hArr","\\Leftrightarrow");M("\\Harr","\\Leftrightarrow");M("\\hearts","\\heartsuit");M("\\image","\\Im");M("\\infin","\\infty");M("\\Iota","\\mathrm{I}");M("\\isin","\\in");M("\\Kappa","\\mathrm{K}");M("\\larr","\\leftarrow");M("\\lArr","\\Leftarrow");M("\\Larr","\\Leftarrow");M("\\lrarr","\\leftrightarrow");M("\\lrArr","\\Leftrightarrow");M("\\Lrarr","\\Leftrightarrow");M("\\Mu","\\mathrm{M}");M("\\natnums","\\mathbb{N}");M("\\Nu","\\mathrm{N}");M("\\Omicron","\\mathrm{O}");M("\\plusmn","\\pm");M("\\rarr","\\rightarrow");M("\\rArr","\\Rightarrow");M("\\Rarr","\\Rightarrow");M("\\real","\\Re");M("\\reals","\\mathbb{R}");M("\\Reals","\\mathbb{R}");M("\\Rho","\\mathrm{P}");M("\\sdot","\\cdot");M("\\sect","\\S");M("\\spades","\\spadesuit");M("\\sub","\\subset");M("\\sube","\\subseteq");M("\\supe","\\supseteq");M("\\Tau","\\mathrm{T}");M("\\thetasym","\\vartheta");M("\\weierp","\\wp");M("\\Zeta","\\mathrm{Z}");M("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");M("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");M("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");M("\\bra","\\mathinner{\\langle{#1}|}");M("\\ket","\\mathinner{|{#1}\\rangle}");M("\\braket","\\mathinner{\\langle{#1}\\rangle}");M("\\Bra","\\left\\langle#1\\right|");M("\\Ket","\\left|#1\\right\\rangle");var J$=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.consumeArg().tokens,i=t.macros.get("|"),u=t.macros.get("\\|");t.macros.beginGroup();var l=f=>d=>{e&&(d.macros.set("|",i),a.length&&d.macros.set("\\|",u));var p=f;if(!f&&a.length){var v=d.future();v.text==="|"&&(d.popToken(),p=!0)}return{tokens:p?a:r,numArgs:0}};t.macros.set("|",l(!1)),a.length&&t.macros.set("\\|",l(!0));var c=t.consumeArg().tokens,s=t.expandTokens([...o,...c,...n]);return t.macros.endGroup(),{tokens:s.reverse(),numArgs:0}};M("\\bra@ket",J$(!1));M("\\bra@set",J$(!0));M("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");M("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");M("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");M("\\angln","{\\angl n}");M("\\blue","\\textcolor{##6495ed}{#1}");M("\\orange","\\textcolor{##ffa500}{#1}");M("\\pink","\\textcolor{##ff00af}{#1}");M("\\red","\\textcolor{##df0030}{#1}");M("\\green","\\textcolor{##28ae7b}{#1}");M("\\gray","\\textcolor{gray}{#1}");M("\\purple","\\textcolor{##9d38bd}{#1}");M("\\blueA","\\textcolor{##ccfaff}{#1}");M("\\blueB","\\textcolor{##80f6ff}{#1}");M("\\blueC","\\textcolor{##63d9ea}{#1}");M("\\blueD","\\textcolor{##11accd}{#1}");M("\\blueE","\\textcolor{##0c7f99}{#1}");M("\\tealA","\\textcolor{##94fff5}{#1}");M("\\tealB","\\textcolor{##26edd5}{#1}");M("\\tealC","\\textcolor{##01d1c1}{#1}");M("\\tealD","\\textcolor{##01a995}{#1}");M("\\tealE","\\textcolor{##208170}{#1}");M("\\greenA","\\textcolor{##b6ffb0}{#1}");M("\\greenB","\\textcolor{##8af281}{#1}");M("\\greenC","\\textcolor{##74cf70}{#1}");M("\\greenD","\\textcolor{##1fab54}{#1}");M("\\greenE","\\textcolor{##0d923f}{#1}");M("\\goldA","\\textcolor{##ffd0a9}{#1}");M("\\goldB","\\textcolor{##ffbb71}{#1}");M("\\goldC","\\textcolor{##ff9c39}{#1}");M("\\goldD","\\textcolor{##e07d10}{#1}");M("\\goldE","\\textcolor{##a75a05}{#1}");M("\\redA","\\textcolor{##fca9a9}{#1}");M("\\redB","\\textcolor{##ff8482}{#1}");M("\\redC","\\textcolor{##f9685d}{#1}");M("\\redD","\\textcolor{##e84d39}{#1}");M("\\redE","\\textcolor{##bc2612}{#1}");M("\\maroonA","\\textcolor{##ffbde0}{#1}");M("\\maroonB","\\textcolor{##ff92c6}{#1}");M("\\maroonC","\\textcolor{##ed5fa6}{#1}");M("\\maroonD","\\textcolor{##ca337c}{#1}");M("\\maroonE","\\textcolor{##9e034e}{#1}");M("\\purpleA","\\textcolor{##ddd7ff}{#1}");M("\\purpleB","\\textcolor{##c6b9fc}{#1}");M("\\purpleC","\\textcolor{##aa87ff}{#1}");M("\\purpleD","\\textcolor{##7854ab}{#1}");M("\\purpleE","\\textcolor{##543b78}{#1}");M("\\mintA","\\textcolor{##f5f9e8}{#1}");M("\\mintB","\\textcolor{##edf2df}{#1}");M("\\mintC","\\textcolor{##e0e5cc}{#1}");M("\\grayA","\\textcolor{##f6f7f7}{#1}");M("\\grayB","\\textcolor{##f0f1f2}{#1}");M("\\grayC","\\textcolor{##e3e5e6}{#1}");M("\\grayD","\\textcolor{##d6d8da}{#1}");M("\\grayE","\\textcolor{##babec2}{#1}");M("\\grayF","\\textcolor{##888d93}{#1}");M("\\grayG","\\textcolor{##626569}{#1}");M("\\grayH","\\textcolor{##3b3e40}{#1}");M("\\grayI","\\textcolor{##21242c}{#1}");M("\\kaBlue","\\textcolor{##314453}{#1}");M("\\kaGreen","\\textcolor{##71B307}{#1}");var X$={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Y$=class{constructor(t,n,r){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=n,this.expansionCount=0,this.feed(t),this.macros=new G$(hbe,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new o5(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:n,end:r}=this.consumeArg());return this.pushToken(new po("EOF",r.loc)),this.pushTokens(a),n.range(r,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var a=this.future(),o,i=0,u=0;do{if(o=this.popToken(),n.push(o),o.text==="{")++i;else if(o.text==="}"){if(--i,i===-1)throw new be("Extra }",o)}else if(o.text==="EOF")throw new be("Unexpected end of input in a macro argument, expected '"+(t&&r?t[u]:"}")+"'",o);if(t&&r)if((i===0||i===1&&t[u]==="{")&&o.text===t[u]){if(++u,u===t.length){n.splice(-u,u);break}}else u=0}while(i!==0||r);return a.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:a,end:o}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new be("The length of delimiters doesn't match the number of args!");for(var r=n[0],a=0;athis.settings.maxExpand)throw new be("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),r=n.text,a=n.noexpand?null:this._getExpansion(r);if(a==null||t&&a.unexpandable){if(t&&a==null&&r[0]==="\\"&&!this.isDefined(r))throw new be("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var o=a.tokens,i=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){o=o.slice();for(var u=o.length-1;u>=0;--u){var l=o[u];if(l.text==="#"){if(u===0)throw new be("Incomplete placeholder at end of macro body",l);if(l=o[--u],l.text==="#")o.splice(u+1,1);else if(/^[1-9]$/.test(l.text))o.splice(u,2,...i[+l.text-1]);else throw new be("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new po(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),n.push(a)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];if(r!=null&&r!==13)return}var a=typeof n=="function"?n(this):n;if(typeof a=="string"){var o=0;if(a.indexOf("#")!==-1)for(var i=a.replace(/##/g,"");i.indexOf("#"+(o+1))!==-1;)++o;for(var u=new o5(a,this.settings),l=[],c=u.lex();c.text!=="EOF";)l.push(c),c=u.lex();l.reverse();var s={tokens:l,numArgs:o};return s}return a}isDefined(t){return this.macros.has(t)||Ic.hasOwnProperty(t)||Sn.math.hasOwnProperty(t)||Sn.text.hasOwnProperty(t)||X$.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Ic.hasOwnProperty(t)&&!Ic[t].primitive}},Z$=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,R2=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),l5={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},Q$={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},fh=class{constructor(t,n){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 Y$(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new be("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new po("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(fh.endOfExpression.indexOf(a.text)!==-1||n&&a.text===n||t&&Ic[a.text]&&Ic[a.text].infix)break;var o=this.parseAtom(n);if(o){if(o.type==="internal")continue}else break;r.push(o)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,a=0;a=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var u=Sn[this.mode][n].group,l=Ba.range(t),c;if(u2e.hasOwnProperty(u)){var s=u;c={type:"atom",mode:this.mode,family:s,loc:l,text:n}}else c={type:u,mode:this.mode,loc:l,text:n};i=c}else if(n.charCodeAt(0)>=128)this.settings.strict&&(Tq(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),i={type:"textord",mode:"text",loc:Ba.range(t),text:n};else return null;if(this.consume(),o)for(var f=0;f":""))+")"})}return d;function d(){let p=nV,v,b,y;if((!t||o(l,c,s[s.length-1]||void 0))&&(p=xbe(n(l,s)),p[0]===d5))return p;if("children"in l&&l.children){let D=l;if(D.children&&p[0]!==E2)for(b=(r?D.children.length:-1)+i,y=s.concat(D);b>-1&&b0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var kbe={tokenize:Gbe,partial:!0};function _5(){return{document:{[91]:{tokenize:Bbe,continuation:{tokenize:Wbe},exit:zbe}},text:{[91]:{tokenize:Hbe},[93]:{add:"after",tokenize:Obe,resolveTo:Ube}}}}function Obe(e,t,n){let r=this,a=r.events.length,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),i;for(;a--;){let l=r.events[a][1];if(l.type==="labelImage"){i=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return u;function u(l){if(!i||!i._balanced)return n(l);let c=ma(r.sliceSerialize({start:i.end,end:r.now()}));return c.charCodeAt(0)!==94||!o.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function Ube(e,t){let n=e.length,r;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let a={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},l=[e[n+1],e[n+2],["enter",a,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",u,t],["exit",u,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",a,t]];return e.splice(n,e.length-n+1,...l),e}function Hbe(e,t,n){let r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o=0,i;return u;function u(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){let p;return d===null||d===91||o++>999?n(d):d===93?i?(e.exit("chunkString"),p=e.exit("gfmFootnoteCallString"),a.includes(ma(r.sliceSerialize(p)))?f(d):n(d)):n(d):(e.consume(d),un(d)||(i=!0),d===92?s:c)}function s(d){return d===91||d===92||d===93?(e.consume(d),o++,c):c(d)}function f(d){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}}function Bbe(e,t,n){let r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o,i=0,u;return l;function l(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),s):n(b)}function s(b){let y;return b===null||b===91||i>999?n(b):b===93?u?(y=e.exit("gfmFootnoteDefinitionLabelString"),o=ma(r.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p):n(b):ke(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),i++,s):(e.enter("chunkString").contentType="string",f(b))}function f(b){return b===null||ke(b)||b===91||b===93||i>999?(e.exit("chunkString"),s(b)):(un(b)||(u=!0),i++,e.consume(b),b===92?d:f)}function d(b){return b===91||b===92||b===93?(e.consume(b),i++,f):f(b)}function p(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),dt(e,v,"gfmFootnoteDefinitionWhitespace")):n(b)}function v(b){return a.includes(o)||a.push(o),t(b)}}function Wbe(e,t,n){return e.check(_u,t,e.attempt(kbe,t,n))}function zbe(e){e.exit("gfmFootnoteDefinition")}function Gbe(e,t,n){let r=this;return dt(e,a,"gfmFootnoteDefinitionIndent",4+1);function a(o){let i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?t(o):n(o)}}function y5(e={}){let t=e.singleTilde,n={tokenize:a,resolveAll:r};return t==null&&(t=!0),{text:{[126]:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(o,i){let u=-1;for(;++u1?u(p):(o.consume(p),s++,d);if(s<2&&!t)return u(p);let b=o.exit("strikethroughSequenceTemporary"),y=Ap(p);return b._open=!y||y===2&&Boolean(v),b._close=!v||v===2&&Boolean(y),i(p)}}}var D5={flow:{null:{tokenize:$be,resolve:qbe}}},pV={tokenize:Vbe,partial:!0};function qbe(e,t){let n=-1,r,a,o,i,u,l,c;for(;++n=4?de(P):(r._gfmTableDynamicInterruptHack=!0,G.check(r.parser.constructs.flow,function(U){return r._gfmTableDynamicInterruptHack=!1,de(U)},function(U){return r._gfmTableDynamicInterruptHack=!1,ne(U)})(P))}}}function Vbe(e,t,n){let r=0;return a;function a(i){return e.enter("check"),e.consume(i),o}function o(i){return i===-1||i===32?(e.consume(i),r++,r===4?t:o):i===null||un(i)?t(i):n(i)}}var Jbe={tokenize:Xbe},b5={text:{[91]:Jbe}};function Xbe(e,t,n){let r=this;return a;function a(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),o)}function o(u){return un(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),i):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),i):n(u)}function i(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:Ybe},t,n)):n(u)}}function Ybe(e,t,n){let r=this;return dt(e,a,"whitespace");function a(o){let i=r.events[r.events.length-1];return(i&&i[1].type==="whitespace"||ke(o))&&o!==null?t(o):n(o)}}function mV(e){return fD([m5,_5(),y5(e),D5,b5])}function w5(e,t){let n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}function C5(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Zbe={}.hasOwnProperty,R5=function(e,t,n,r){let a,o;typeof t=="string"||t instanceof RegExp?(o=[[t,n]],a=r):(o=t,a=n),a||(a={});let i=eh(a.ignore||[]),u=Qbe(o),l=-1;for(;++l0?{type:"text",value:z}:void 0),z!==!1&&(y!==I&&F.push({type:"text",value:f.value.slice(y,I)}),Array.isArray(z)?F.push(...z):z&&F.push(z),y=I+L[0].length,C=!0),!v.global)break;L=v.exec(f.value)}return C?(ye}var x5="phrasing",T5=["autolink","link","image","label"],E5={transforms:[a4e],enter:{literalAutolink:Kbe,literalAutolinkEmail:M5,literalAutolinkHttp:M5,literalAutolinkWww:M5},exit:{literalAutolink:r4e,literalAutolinkEmail:n4e,literalAutolinkHttp:e4e,literalAutolinkWww:t4e}},F5={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:x5,notInConstruct:T5},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:x5,notInConstruct:T5},{character:":",before:"[ps]",after:"\\/",inConstruct:x5,notInConstruct:T5}]};function Kbe(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function M5(e){this.config.enter.autolinkProtocol.call(this,e)}function e4e(e){this.config.exit.autolinkProtocol.call(this,e)}function t4e(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function n4e(e){this.config.exit.autolinkEmail.call(this,e)}function r4e(e){this.exit(e)}function a4e(e){R5(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,o4e],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,i4e]],{ignore:["link","linkReference"]})}function o4e(e,t,n,r,a){let o="";if(!gV(a)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!u4e(n)))return!1;let i=l4e(n+r);if(!i[0])return!1;let u={type:"link",title:null,url:o+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[u,{type:"text",value:i[1]}]:u}function i4e(e,t,n,r){return!gV(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function u4e(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function l4e(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),a=w5(e,"("),o=w5(e,")");for(;r!==-1&&a>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function gV(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||nf(n)||rf(n))&&(!t||n!==47)}function S5(e){return e.label||!e.identifier?e.label||"":wD(e.identifier)}function _V(e,t,n){let r=t.indexStack,a=e.children||[],o=t.createTracker(n),i=[],u=-1;for(r.push(-1);++u `}return` `}var s4e=/\r?\n|\r/g;function yV(e,t){let n=[],r=0,a=0,o;for(;o=s4e.exec(e);)i(e.slice(r,o.index)),n.push(o[0]),r=o.index+o[0].length,a++;return i(e.slice(r)),n.join("");function i(u){n.push(t(u,a,!u))}}function M2(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function DV(e,t){return bV(e,t.inConstruct,!0)&&!bV(e,t.notInConstruct,!1)}function bV(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r=c||s+10?" ":"")),a.shift(4),o+=a.move(yV(_V(e,n,a.current()),w4e)),i(),o}function w4e(e,t,n){return t===0?e:(n?"":" ")+e}function S2(e,t,n){let r=t.indexStack,a=e.children||[],o=[],i=-1,u=n.before;r.push(-1);let l=t.createTracker(n);for(;++i0&&(u==="\r"||u===` `)&&c.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),u=" ",l=t.createTracker(n),l.move(o.join(""))),o.push(l.move(t.handle(c,e,t,hr(Zt({},l.current()),{before:u,after:s})))),u=o[o.length-1].slice(-1)}return r.pop(),o.join("")}var C4e=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];xV.peek=T4e;var P5={canContainEols:["delete"],enter:{strikethrough:R4e},exit:{strikethrough:x4e}},j5={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:C4e}],handlers:{delete:xV}};function R4e(e){this.enter({type:"delete",children:[]},e)}function x4e(e){this.exit(e)}function xV(e,t,n,r){let a=mf(r),o=n.enter("strikethrough"),i=a.move("~~");return i+=S2(e,n,hr(Zt({},a.current()),{before:i,after:"~"})),i+=a.move("~~"),o(),i}function T4e(){return"~"}N5.peek=E4e;function N5(e,t,n){let r=e.value||"",a="`",o=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++ol&&(l=e[c].length);++yu[y])&&(u[y]=C)}v.push(D)}o[c]=v,i[c]=b}let s=-1;if(typeof n=="object"&&"length"in n)for(;++su[s]&&(u[s]=D),d[s]=D),f[s]=C}o.splice(1,0,f),i.splice(1,0,d),c=-1;let p=[];for(;++cn==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function I4e(e){this.exit(e),this.setData("inTable")}function A4e(e){this.enter({type:"tableRow",children:[]},e)}function O5(e){this.exit(e)}function FV(e){this.enter({type:"tableCell",children:[]},e)}function L4e(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,P4e));let n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function P4e(e,t){return t==="|"?t:e}function U5(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:i,tableRow:u,tableCell:l,inlineCode:d}};function i(p,v,b,y){return c(s(p,b,y),p.align)}function u(p,v,b,y){let D=f(p,b,y),C=c([D]);return C.slice(0,C.indexOf(` `))}function l(p,v,b,y){let D=b.enter("tableCell"),C=b.enter("phrasing"),F=S2(p,b,hr(Zt({},y),{before:o,after:o}));return C(),D(),F}function c(p,v){return TV(p,{align:v,alignDelimiters:r,padding:n,stringLength:a})}function s(p,v,b){let y=p.children,D=-1,C=[],F=v.enter("table");for(;++D-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let i=o.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(i=Math.ceil(i/4)*4);let u=n.createTracker(r);u.move(o+" ".repeat(i-o.length)),u.shift(i);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,u.current()),s);return l(),c;function s(f,d,p){return d?(p?"":" ".repeat(i))+f:(p?o:o+" ".repeat(i-o.length))+f}}var H5={exit:{taskListCheckValueChecked:AV,taskListCheckValueUnchecked:AV,paragraph:j4e}},B5={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:N4e}};function AV(e){let t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function j4e(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let n=this.stack[this.stack.length-1],r=n.children[0];if(r&&r.type==="text"){let a=t.children,o=-1,i;for(;++oi&&(i=o):o=1,a=r+t.length,r=n.indexOf(t,a);return i}function G5(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:o},exit:{mathFlow:a,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:u,mathText:i,mathTextData:u}};function e(l){let c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function t(){this.buffer()}function n(){let l=this.resume(),c=this.stack[this.stack.length-1];$p(c.type==="math"),c.meta=l}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(l){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s=this.stack[this.stack.length-1];$p(s.type==="math"),this.exit(l),s.value=c;let f=s.data.hChildren[0];$p(f.type==="element"),$p(f.tagName==="code"),f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function i(l){let c=this.resume(),s=this.stack[this.stack.length-1];$p(s.type==="inlineMath"),this.exit(l),s.value=c,s.data.hChildren.push({type:"text",value:c})}function u(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function q5(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(o,i,u,l){let c=o.value||"",s=u.createTracker(l),f="$".repeat(Math.max(LV(c,"$")+1,2)),d=u.enter("mathFlow"),p=s.move(f);if(o.meta){let v=u.enter("mathFlowMeta");p+=s.move(u.safe(o.meta,Zt({after:` `,before:p,encode:["$"]},s.current()))),v()}return p+=s.move(` `),c&&(p+=s.move(c+` `)),p+=s.move(f),d(),p}function r(o,i,u){let l=o.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;let s="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f-1&&e.test(String.fromCharCode(n))}}function dh(e,t,n,r){let a=r?r-1:Number.POSITIVE_INFINITY,o=0;return i;function i(l){return $5(l)?(e.enter(n),u(l)):t(l)}function u(l){return $5(l)&&o++React.createElement("table",{className:"table table-bordered table-sm",children:e.children}),OV=[A2,{singleDollarTextMath:!1}],UV=[F2,{throwOnError:!1}],HV=e=>{try{return VD(e)}catch{return e.fallback}};xt();var BV=class extends Dt.Component{constructor(t){super(t);this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,n){this.props.componentDidCatch(t,n)}render(){return this.props.render(this.state)}},WV=BV;var W4e=eu(),z4e=ue($t);var G4e=function(){return function(){return W4e(WV)}},q4e=G4e()(),zV=function(e){return q4e({render:function(t){return e({hasError:gr(yt(t.error))})},componentDidCatch:function(t,n){return ts(nd)("Error within error boundary")({error:t,componentStack:n.componentStack})(function(r){return z4e(ye)})()}})};var $4e=eu(),J5=function(e){var t=PS(e);return zV(function(n){return n.hasError?t:$4e(HV)({children:e,rehypePlugins:[UV],remarkPlugins:[I2,OV],components:{table:kV},fallback:t})})};var J4e=zn();var X4e=J4e(qi(ol("s$")(UR))),GV=function(e){if(Gy(X4e)(e))return e+"\u2019";if(ut)return e+"\u2019s";throw new Error("Failed pattern match at Utils.Name (line 113, column 1 - line 113, column 31): "+[e.constructor.name])};var Y4e=On();var Z4e=function(e){return Y4e(B1(e))};var qV=function(e){return ra(Z4e(e))};var Q4e=SW(ya),K4e=AW(Cm),ewe=ge(jr),$V=jt(Ll),VV=ue($t),twe=wm($t)(Uu),nwe=rS(B4),rwe=Ve(Je),awe=Yi(Jb(Gb)),owe=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),ph=function(){function e(){}return e.value=new e,e}(),mh=function(){function e(){}return e.value=new e,e}();var L2={append:function(e){return function(t){return Q4e(t)(e)}}},iwe={mempty:B0,Semigroup0:function(){return L2}},uwe=Zi(W1(iwe)(Ia));var X5=function(e){return function(t){var n=qV(t),r=K4e(n);return function(){var o=$V(Ml(VV(ye)))(),i=twe(r)(function(l){return nwe(e)(l.value0)(function(c){return function(){var f=l.value1(c)();if(f instanceof ph)return ye;if(f instanceof mh)return ewe(Pu(o))(rwe)();throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 77, column 23 - line 79, column 66): "+[f.constructor.name])}})})(),u=awe(i);return $V(ju(u)(o))(),new owe({disconnect:u})}}},vh=function(e){var t=zu(e);return function(n){return function(r){return uwe(iD(n)(function(a){var o=t(a);if(o instanceof He)return r(o.value0);if(o instanceof Oe)return ts(nd)("Error parsing Pusher event")({error:o.value0,event:n,value:a})(function(i){return VV(ph.value)});throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 39, column 65 - line 41, column 122): "+[o.constructor.name])}))}}};var JV=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function XV(e,t){let n=typeof CV!="undefined"&&CV.apiEndpoint||typeof global!="undefined"&&global.CV&&global.CV.apiEndpoint;return n||console.error("Missing `CV.apiEndpoint` function"),n&&n(e,t)}function YV(e,t,n,r,a){return function(o,i){var u=e.newXHR(),l=e.fixupUrl(a.url,u);if(u.open(a.method||"GET",l,!0,a.username,a.password),a.headers)try{for(var c=0,s;(s=a.headers[c])!=null;c++)u.setRequestHeader(s.field,s.value)}catch(d){o(d)}var f=function(d){return function(){o(new Error(d))}};return u.onerror=f(n),u.ontimeout=f(t),u.onload=function(){i({status:u.status,statusText:u.statusText,headers:u.getAllResponseHeaders().split(`\r `).filter(function(d){return d.length>0}).map(function(d){var p=d.indexOf(":");return r(d.substring(0,p))(d.substring(p+2))}),body:u.response})},u.responseType=a.responseType,u.withCredentials=a.withCredentials,u.timeout=a.timeout,u.send(a.content),function(d,p,v){try{u.abort()}catch(b){return p(b)}return v()}}}var P2="application/json",ZV="application/x-www-form-urlencoded";var QV=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),KV=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),eJ=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),tJ=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),nJ=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Y5=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),j2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),rJ=function(e){return e instanceof Y5?new j(ZV):e instanceof j2?new j(P2):B.value};var aJ=function(){return j2.create}();var oJ=On();var N2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),k2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Vp=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),iJ=function(e){if(e instanceof N2||e instanceof k2)return oJ(e.value0);if(e instanceof Vp)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var Z5=function(e){if(e instanceof N2)return"Accept";if(e instanceof k2)return"Content-Type";if(e instanceof Vp)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var uJ=Ve(Je),Q5=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),K5=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),eT=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),O2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),U2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),H2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),lJ=function(e){if(e instanceof Q5)return"arraybuffer";if(e instanceof K5)return"blob";if(e instanceof eT)return"document";if(e instanceof O2||e instanceof U2)return"text";if(e instanceof H2)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},cJ=function(e){return e instanceof O2?new j(P2):B.value},sJ=function(){return new U2(uJ)}();var fJ=function(){return new H2(uJ)}();var dJ=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}();function Pi(e){return e}function tT(e){return JSON.stringify(e)}var pJ=Pi(A1);function mJ(e,t,n){try{return t(JSON.parse(n))}catch(r){return e(r.message)}}var B2=function(e){return mJ(Oe.create,He.create,e)};var lwe=Lt(fi),vJ=ae(Ke),cwe=Ka(Uu)(bn);var swe=function(e){return e};var hJ=function(){var e=function(r){if(r.value1 instanceof B)return qy(r.value0);if(r.value1 instanceof j)return lwe(vJ(function(a){return function(o){return a+("="+o)}})(qy(r.value0)))(qy(r.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[r.constructor.name])},t=vJ(To("&")),n=cwe(e);return function(r){return t(n(swe(r)))}}();var nT=function(){function e(){}return e.value=new e,e}(),vf=function(){function e(){}return e.value=new e,e}(),rT=function(){function e(){}return e.value=new e,e}(),Jp=function(){function e(){}return e.value=new e,e}(),W2=function(){function e(){}return e.value=new e,e}(),hh=function(){function e(){}return e.value=new e,e}(),aT=function(){function e(){}return e.value=new e,e}(),oT=function(){function e(){}return e.value=new e,e}(),iT=function(){function e(){}return e.value=new e,e}(),uT=function(){function e(){}return e.value=new e,e}(),lT=function(){function e(){}return e.value=new e,e}(),cT=function(){function e(){}return e.value=new e,e}(),sT=function(){function e(){}return e.value=new e,e}(),fT=function(){function e(){}return e.value=new e,e}(),dT=function(){function e(){}return e.value=new e,e}(),z2=function(){function e(){}return e.value=new e,e}();var fwe=function(e){return e},dwe={show:function(e){if(e instanceof nT)return"OPTIONS";if(e instanceof vf)return"GET";if(e instanceof rT)return"HEAD";if(e instanceof Jp)return"POST";if(e instanceof W2)return"PUT";if(e instanceof hh)return"DELETE";if(e instanceof aT)return"TRACE";if(e instanceof oT)return"CONNECT";if(e instanceof iT)return"PROPFIND";if(e instanceof uT)return"PROPPATCH";if(e instanceof lT)return"MKCOL";if(e instanceof cT)return"COPY";if(e instanceof sT)return"MOVE";if(e instanceof fT)return"LOCK";if(e instanceof dT)return"UNLOCK";if(e instanceof z2)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var gJ=qn(Ae(dwe))(fwe);var _J={eq:function(e){return function(t){return e instanceof nT&&t instanceof nT||e instanceof vf&&t instanceof vf||e instanceof rT&&t instanceof rT||e instanceof Jp&&t instanceof Jp||e instanceof W2&&t instanceof W2||e instanceof hh&&t instanceof hh||e instanceof aT&&t instanceof aT||e instanceof oT&&t instanceof oT||e instanceof iT&&t instanceof iT||e instanceof uT&&t instanceof uT||e instanceof lT&&t instanceof lT||e instanceof cT&&t instanceof cT||e instanceof sT&&t instanceof sT||e instanceof fT&&t instanceof fT||e instanceof dT&&t instanceof dT||e instanceof z2&&t instanceof z2}}};var yJ=function(e){return is(function(t){return function(){var r=e(function(a){return t(Oe.create(a))()},function(a){return t(He.create(a))()});return function(a){return is(function(o){return function(){return r(a,function(u){return o(Oe.create(u))()},function(u){return o(He.create(u))()}),EF}})}}})};var pT=ue(Kf(Ia)),pwe=S1(Ia),hf=I1(Ia),DJ=kn(M4(L4)(Ia)),mwe=Yh(F4(Ia)),G2=ae(Ke),vwe=Xi(Vt)(Gr),hwe=Le(Cr),gwe=En(Bt),_we=ae(Qt),ywe=Ht(jl),Dwe=Xc(Xm),bwe=ue(kr);var q2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),$2=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),V2=function(){function e(){}return e.value=new e,e}(),J2=function(){function e(){}return e.value=new e,e}(),X2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),bJ=function(e){return function(t){var n=function(s){return s===""?pT(pJ):qn(function(f){return pwe(M1.create(f))})(pT)(B2(s))},r=function(){if(t.responseFormat instanceof Q5)return hf("ArrayBuffer");if(t.responseFormat instanceof K5)return hf("Blob");if(t.responseFormat instanceof eT)return function(s){return DJ(hf("Document")(s))(DJ(hf("XMLDocument")(s))(hf("HTMLDocument")(s)))};if(t.responseFormat instanceof O2)return mwe(function(s){return t.responseFormat.value0(n(s))})(hf("String"));if(t.responseFormat instanceof U2)return hf("String");if(t.responseFormat instanceof H2)return Qe(t.responseFormat.value0(pT(ye)));throw new Error("Failed pattern match at Affjax (line 274, column 18 - line 283, column 57): "+[t.responseFormat.constructor.name])}(),a=function(s){if(s instanceof QV)return new He(s.value0(Aa));if(s instanceof KV)return new He(Aa(s.value0));if(s instanceof eJ)return new He(Aa(s.value0));if(s instanceof tJ)return new He(Aa(s.value0));if(s instanceof nJ)return new He(Aa(s.value0));if(s instanceof Y5)return Zh("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(G2(Aa)(hJ(s.value0)));if(s instanceof j2)return new He(Aa(tT(s.value0)));throw new Error("Failed pattern match at Affjax (line 235, column 20 - line 250, column 69): "+[s.constructor.name])},o=function(s){return function(f){return s instanceof j&&!vwe(Lb(hwe)(Z5)(s.value0))(f)?Rm(f)(s.value0):f}},i=function(s){return o(G2(k2.create)(gwe(rJ)(s)))(o(G2(N2.create)(cJ(t.responseFormat)))(t.headers))},u=function(s){return{method:gJ(t.method),url:t.url,headers:_we(function(f){return{field:Z5(f),value:iJ(f)}})(i(t.content)),content:s,responseType:lJ(t.responseFormat),username:Gi(t.username),password:Gi(t.password),withCredentials:t.withCredentials,timeout:at(0)(G2(function(f){return f})(t.timeout))}},l=function(s){return ywe(Dwe(yJ(YV(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",dJ.create,u(s)))))(function(f){if(f instanceof He){var d=I7(r(f.value0.body));if(d instanceof Oe)return new Oe(new $2(L9(d.value0),f.value0));if(d instanceof He)return new He({headers:f.value0.headers,status:f.value0.status,statusText:f.value0.statusText,body:d.value0});throw new Error("Failed pattern match at Affjax (line 209, column 9 - line 211, column 52): "+[d.constructor.name])}if(f instanceof Oe)return new Oe(function(){var p=Zf(f.value0),v=p==="AffjaxTimeoutErrorMessageIdent";if(v)return V2.value;var b=p==="AffjaxRequestFailedMessageIdent";return b?J2.value:new X2(f.value0)}());throw new Error("Failed pattern match at Affjax (line 207, column 144 - line 219, column 28): "+[f.constructor.name])})};if(t.content instanceof B)return l(Gi(B.value));if(t.content instanceof j){var c=a(t.content.value0);if(c instanceof He)return l(Gi(new j(c.value0)));if(c instanceof Oe)return bwe(new Oe(new q2(c.value0)));throw new Error("Failed pattern match at Affjax (line 199, column 7 - line 203, column 48): "+[c.constructor.name])}throw new Error("Failed pattern match at Affjax (line 195, column 3 - line 203, column 48): "+[t.content.constructor.name])}};var Xp=function(){return{method:new Oe(vf.value),url:"/",headers:[],content:B.value,username:B.value,password:B.value,withCredentials:!1,responseFormat:fJ,timeout:B.value}}();var wJ={eq:function(e){return function(t){return e===t}}};var mT={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var CJ=bJ(mT);function RJ(e){return Buffer.from(e).toString("base64")}function xJ(e,t,n){let r;try{r=t(btoa(n))}catch(a){r=e(a)}return r}var vT=typeof btoa=="function";function TJ(e){let t=32768,n=[];for(let r=0;r()=>{try{navigator.clipboard.writeText(e)}catch(t){Z3e(t),Y3e(e)}},Y3e=e=>{var t=document.createElement("textarea");document.body.appendChild(t),t.value=e,t.select(),document.execCommand("copy"),document.body.removeChild(t)},Z3e=e=>{if(typeof window!="undefined"){let t=new Error("Unable to write text to clipboard using Clipboard API. Falling back to execCommand.");typeof window.Sentry!="undefined"&&window.Sentry.captureException(t,{extra:e})}};var Th=xi(),Q3e=Yi(Pr),K3e=vp(wn)(),eCe=_B(If),tCe=cr(kr),nCe=Gn(wn),NX=nCe(sr),TT=jt(Un),rCe=zl(),aCe=cg(lt),oCe=hS(Ft)()(),kX=bS(kt)()(),sb=_r(lt)()(),ET=Xr(ru),OX=ia(Ft)()(),Kp=St(lt),iCe=ja()(),uCe=ky(kt)()(),lCe=ia(kt)()(),cCe=St(Ft),sCe=Yr(kt),fCe=au(lt),UX=Wl()(),HX=Tr(vd),dCe=Tr(wa),pCe=En(sr),BX=function(){function e(){}return e.value=new e,e}(),WX=function(){function e(){}return e.value=new e,e}(),em=function(){function e(){}return e.value=new e,e}(),Eh=function(){function e(){}return e.value=new e,e}(),mCe={eq:function(e){return function(t){return e instanceof em&&t instanceof em||e instanceof Eh&&t instanceof Eh}}},vCe=Le(mCe),zX=function(e){var t=function(n){return function(r){return"btn btn-link rounded-0 nav-link "+function(){var a=vCe(n)(r);return a?"active":""}()}};return vc(Th(dr(em.value))(function(n){return Th(dr(""))(function(r){return Th(dr(WX.value))(function(a){return Th(dr(!1))(function(o){return Th(dr(Q3e([`Hey there, `,"Your counselor, ",e.user.name,", is requesting you complete a brag sheet in order to receive ","a letter of recommendation. Complete your brag sheet here: ",e.inviteUrl])))(function(i){return K3e(eCe(o.value0)(function(u){return tCe(u)(NX(TT(xT(e.inviteUrl)))(function(){return NX(ud(2e3))(function(){return TT(o.value1(!1))})}))}))(function(){return gu(rCe({body:rn([aCe("")("Share brag sheet"),oCe("nav nav-tabs mb-4")({role:"tablist"})([kX("nav-item text-nowrap")({role:"tab"})(sb(t(n.value0)(em.value))({onClick:ET(n.value1)(em.value)})("Share link")),kX("nav-item text-nowrap")({role:"tab"})(sb(t(n.value0)(Eh.value))({onClick:ET(n.value1)(Eh.value)})("Email"))]),function(){if(n.value0 instanceof em)return OX("tab-content")({role:"tablist"})([Kp("text-secondary mb-4")("Use one link to share your brag sheet. Great for an email or your class website."),iCe("form-control bg-white py-4 mb-3")({value:e.inviteUrl,readOnly:!0}),uCe({placement:bB,overlay:xn("Link copied!"),visible:o.value0})(sb("btn btn-primary px-5")({onClick:ET(o.value1)(!0)})("Copy link"))]);if(n.value0 instanceof Eh){if(a.value0 instanceof BX)return lCe("tab-content container")({role:"tablist"})(cCe("text-center")([sCe("display-1 fe fe-check-circle text-success")(gn),Kp("h1")("Invite sent!"),fCe("lead")("You\u2019ve successfully invited them to join!")]));if(a.value0 instanceof WX)return OX("tab-content container")({role:"tablist"})([Kp("row text-secondary mb-4")("Add your students to keep track of completions and send reminders."),Kp("row mb-2")("Email"),Kp("row mb-1 text-secondary")("Separate multiple with a comma or line break"),UX("row form-control mb-3")({name:"email",placeholder:"name@email.edu, name@email.edu, name@email.edu...",value:r.value0,onChange:HX(function(u){return r.value1(il(u))}),rows:4}),Kp("row mb-2")("Message"),UX("row form-control mb-3")({name:"message",value:i.value0,rows:5,onChange:HX(function(u){return i.value1(il(u))})}),sb("row col-auto btn btn-primary px-5")({disabled:r.value0===""||i.value0==="",onClick:dCe(function(){return ls(pCe(function(l){return TT(e.onShare(l))})(zJ({emails:r.value0,message:i.value0})))(),a.value1(BX.value)()})})("Send invitations")]);throw new Error("Failed pattern match at Vinai.RecLetters.ShareBragSheetModal (line 92, column 17 - line 127, column 24): "+[a.value0.constructor.name])}throw new Error("Failed pattern match at Vinai.RecLetters.ShareBragSheetModal (line 77, column 13 - line 127, column 24): "+[n.value0.constructor.name])}()]),onDismiss:e.onDismiss}))})})})})})}))};var GX=lg(Ft),qX=St(lt),hCe=ja()(),gCe=Xr(Bl),_Ce=q_(),yCe=Tr(vd),DCe=St(kt),bCe=ia(lt)()(),wCe=Tr(wa),$X=function(e){var t=function(n){return GX("form-label mt-3 mb-0 w-100")([qX("mb-2")(n),hCe("form-control t--student-name")({onChange:gCe(e.setStudentName)(ul),placeholder:"Enter student name",value:e.studentName,maxLength:100})])};if(e.anonymous)return t("Student you\u2019re recommending");if(!e.anonymous&&e.studentPendingInvite)return t("Student name");if(!e.anonymous)return gn;throw new Error("Failed pattern match at Vinai.RecLetters.StudentInput (line 75, column 3 - line 78, column 24): "+[e.anonymous.constructor.name,e.studentPendingInvite.constructor.name])},VX=function(e){return j0(dr(!1))(function(t){return function(n){return GX("form-label w-100 t--student-dropdown-label")([qX("mb-2")("Student you\u2019re recommending"),_Ce({options:e.allStudents,getOptionLabel:xX,getOptionValue:function(){var r=at("");return function(a){return r(RX(a))}}(),onSelect:yCe(function(r){return function(){return n(!1)(),e.setStudent(new j(r))()}}),value:e.student,noOptionsMessage:Vj(function(r){return r.inputValue===""?xn("No invited students"):xn("No invited students match your search")}),placeholder:"Type to search student",useMenuPortal:!0,footerOption:Jj(function(r){if(r.inputValue instanceof B)return B.value;if(r.inputValue instanceof j&&r.inputValue.value0==="")return B.value;if(r.inputValue instanceof j)return new j(DCe("text-primary px-3 pb-3")(bCe("cursor-pointer pt-2 t--continue-with-guest-option")({onClick:wCe(function(){return n(!1)(),e.setStudent(new j(new ti({name:r.inputValue.value0})))()})})("Continue with Guest Student \u2018"+(r.inputValue.value0+"\u2019"))));throw new Error("Failed pattern match at Vinai.RecLetters.StudentInput (line 47, column 64 - line 57, column 66): "+[r.inputValue.constructor.name])}),isClearable:!0,onClear:e.setStudent(B.value),onBlur:n(!1),onFocus:n(!0),menuIsOpen:t})])}})};var CCe=LB(Qp),RCe=ia(kt)()(),xCe=St(kt),TCe=_r(lt)()(),ECe=Tr(wa),FCe=ue($t),FT=function(e){return function(t){return e.shouldShow?CCe(e.state)(e.dispatch)({step:e.step,content:RCe("text-white mb-3")({style:sn({fontSize:"1rem"})})(function(){if(e.step instanceof ji)return xn("Add student details to generate a rec letter");if(e.step instanceof Ni)return gn;if(e.step instanceof Ko)return xn(` Instead of typing, have your students fill out brag sheets on CollegeVine to generate better letters faster. `);if(e.step instanceof ki)return gn;if(e.step instanceof ei)return gn;throw new Error("Failed pattern match at Vinai.RecLetters.TourTooltip (line 35, column 74 - line 43, column 45): "+[e.step.constructor.name])}()),button:function(n){return xCe("")(TCe("btn btn-white rounded-pill px-4")({onClick:ECe(n.onNext)})(function(){if(e.step instanceof ji)return"Got it";if(e.step instanceof Ni)return"";if(e.step instanceof Ko)return"Try an example brag sheet";if(e.step instanceof ki||e.step instanceof ei)return"";throw new Error("Failed pattern match at Vinai.RecLetters.TourTooltip (line 47, column 13 - line 52, column 42): "+[e.step.constructor.name])}()))},overlayStyle:sn({maxWidth:"325px"}),overlayClassName:"brag-sheet-preview-tooltip",contentClassName:"p-3",tooltipPlacement:function(){if(e.step instanceof ji)return wB;if(e.step instanceof Ni)return N0;if(e.step instanceof Ko)return N0;if(e.step instanceof ki)return N0;if(e.step instanceof ei)return N0;throw new Error("Failed pattern match at Vinai.RecLetters.TourTooltip (line 57, column 11 - line 62, column 52): "+[e.step.constructor.name])}()})(t):t({onNext:FCe(ye)})}},JX="Mia Jones",XX="Example: Mia Jones\u2019 brag sheet",YX=function(){return[{questionId:0,question:"What majors or careers are you considering and why?",answer:new j("Computer Science, I took an introductory coding class and participated in a hackathon.")},{questionId:1,question:"What extracurriculars have been the most meaningful to you and why?",answer:new j("Being part of the school's environmental club has been the most meaningful to me. It's given me a platform to act on my passion for sustainability and environmental conservation. Organizing local clean-up events and leading an initiative to reduce plastic use in our cafeteria showed me the impact collective action can have on our community.")},{questionId:2,question:"Do you believe your academic record is an accurate reflection of your ability? If not, please explain why.",answer:new j("I believe my academic record, while strong, does not fully capture all my abilities and efforts. I faced some personal challenges during my sophomore year, which briefly impacted my performance. However, I was able to overcome these obstacles, and my grades improved significantly afterwards. This experience taught me valuable lessons in resilience and time management, which are not reflected in my transcript but are essential skills I have developed.")}]}();var ZX="/legal/terms";var QX="/legal/privacy";var MT=xi(),MCe=Le(Lr(Cr)),SCe=lv(),KX=St(lt),ICe=au(lt),ACe=gS(Ft),ST=wS(Ft),IT=Yr(lt),AT=yS(lt),eY=St(Ft),LCe=ja()(),PCe=Xr(ru),jCe=gd(Ft)()(),fb=yd(lt)()(),NCe=_r(lt)()(),kCe=Tr(wa),tY=cr($t),OCe=wp(Un)(),LT="rec-letters-welcome-modal-dismissed",db=function(e){return vc(MT(ER(LT)("false"))(function(t){return MT(dr(!1))(function(n){return MT(dr(!1))(function(r){return gu(hs(MCe(t.value0)(new j("false")))(SCe({body:rn([KX("h1")("Welcome to CollegeVine\u2019s Rec Letter Assistant!"),ICe("")(` CollegeVine Rec Letter Assistant helps busy counselors save time by drafting highly personalized letters of recommendation for their students in minutes. `),ACe("list-unstyled")([ST("")([IT("mr-2")("\u{1F551}"),AT("")("Write an Amazing First Draft in Seconds:"),xn(" Fully editable")]),ST("my-2")([IT("mr-2")("\u{1F64D}"),AT("")("Personalized to Each Student:"),xn(" Based on your students\u2019 brag sheets, profile, and more.")]),ST("")([IT("mr-2")("\u270D\uFE0F"),AT("")("Custom to Your Writing Style:"),xn(" Upload examples of rec letters you\u2019ve written in the past and our app will produce letters in your unique voice.")])]),eY("form-check")([LCe("form-check-input t--agree-to-terms")({checked:n.value0,id:"agree-to-terms",onChange:PCe(n.value1)(!n.value0),type:"checkbox"}),jCe("form-check-label")({htmlFor:"agree-to-terms"})([xn("By checking this box I agree to the "),fb("")({href:ZX,target:"_blank"})("Terms of service"),xn(" and "),fb("")({href:QX,target:"_blank"})("Privacy policy")])]),hs(r.value0)(KX("text-danger")("You must agree above before proceeding.")),eY("text-center mt-3")([function(){return e.isAnonymous?fb("mr-3")({href:"/"})("Back home"):fb("mr-3")({href:"dashboard"})("Back to dashboard")}(),NCe("btn btn-dark"+function(){return n.value0?"":" cursor-default"}())({onClick:kCe(function(){return tY(!n.value0)(r.value1(!0))(),tY(n.value0)(function(){return r.value1(!1)(),ls(OCe("Rec Letter - Agreed to terms")({}))(),t.value1("true")(),e.onDismiss()})()})})("Get started")])]),header:jW("")("/img/vinai/rec-letters/welcome.gif"),headerClass:"p-0 d-flex justify-content-center bg-spearmint"})))})})}))};var nY=zn(),UCe=We(OR),HCe=Yi(Pr),PT=Ae(vn),BCe=Lf(Bt),WCe=ge(Bt),zCe=Jr(),GCe=St(Ft),qCe=Wl()(),$Ce=Xr(Bl),VCe=St(lt),rY=function(){var e=nY(qi(ol("\\s+")(UCe(Dp)(UB)))),t=f1(function(r){return r!==""}),n=kR(e);return function(r){return zr(t(n(r)))}}(),JCe=function(e){return function(t){var n=rY(t);return HCe([PT(n),"/",PT(e)," words"])}},XCe=function(e){return function(t){var n=function(i){return nY(qi(ol("^(?:[\\w-]+[^\\w-]+){"+(PT(i)+"}[\\w-]+"))(OB)))},r=function(i){return function(u){var l=BCe(WCe(HR(n(i-1|0))(u))(Ut(Wj)(0)));return at(u)(l)}},a=il(t),o=rY(a) * @license MIT */ /*! * Pusher JavaScript Library v6.0.3 * https://pusher.com/ * * Copyright 2020, Pusher * Released under the MIT licence. */ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ /** * @license React * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v0.20.2 * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react-dom-server.browser.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */